Lines Matching defs:pause
3 var r;r=function(e){e.version="1.2.2";var t=function(){for(var e=0,t=new Array(256),r=0;256!=r;++r)e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=r)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1,t[r]=e;return"undefined"!=typeof Int32Array?new Int32Array(t):t}(),r=function(e){var t=0,r=0,n=0,i="undefined"!=typeof Int32Array?new Int32Array(4096):new Array(4096);for(n=0;256!=n;++n)i[n]=e[n];for(n=0;256!=n;++n)for(r=e[n],t=256+n;t<4096;t+=256)r=i[t]=r>>>8^e[255&r];var a=[];for(n=1;16!=n;++n)a[n-1]="undefined"!=typeof Int32Array?i.subarray(256*n,256*n+256):i.slice(256*n,256*n+256);return a}(t),n=r[0],i=r[1],a=r[2],o=r[3],s=r[4],c=r[5],l=r[6],u=r[7],d=r[8],p=r[9],f=r[10],m=r[11],g=r[12],_=r[13],h=r[14];e.table=t,e.bstr=function(e,r){for(var n=~r,i=0,a=e.length;i<a;)n=n>>>8^t[255&(n^e.charCodeAt(i++))];return~n},e.buf=function(e,r){for(var y=~r,v=e.length-15,b=0;b<v;)y=h[e[b++]^255&y]^_[e[b++]^y>>8&255]^g[e[b++]^y>>16&255]^m[e[b++]^y>>>24]^f[e[b++]]^p[e[b++]]^d[e[b++]]^u[e[b++]]^l[e[b++]]^c[e[b++]]^s[e[b++]]^o[e[b++]]^a[e[b++]]^i[e[b++]]^n[e[b++]]^t[e[b++]];for(v+=15;b<v;)y=y>>>8^t[255&(y^e[b++])];return~y},e.str=function(e,r){for(var n=~r,i=0,a=e.length,o=0,s=0;i<a;)(o=e.charCodeAt(i++))<128?n=n>>>8^t[255&(n^o)]:o<2048?n=(n=n>>>8^t[255&(n^(192|o>>6&31))])>>>8^t[255&(n^(128|63&o))]:o>=55296&&o<57344?(o=64+(1023&o),s=1023&e.charCodeAt(i++),n=(n=(n=(n=n>>>8^t[255&(n^(240|o>>8&7))])>>>8^t[255&(n^(128|o>>2&63))])>>>8^t[255&(n^(128|s>>6&15|(3&o)<<4))])>>>8^t[255&(n^(128|63&s))]):n=(n=(n=n>>>8^t[255&(n^(224|o>>12&15))])>>>8^t[255&(n^(128|o>>6&63))])>>>8^t[255&(n^(128|63&o))];return~n}},"undefined"==typeof DO_NOT_EXPORT_CRC?r(t):r({})},74353:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,r=36e5,n="millisecond",i="second",a="minute",o="hour",s="day",c="week",l="month",u="quarter",d="year",p="date",f="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"}},h=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},y={s:h,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+h(n,2,"0")+":"+h(i,2,"0")},m:function e(t,r){if(t.date()<r.date())return-e(r,t);var n=12*(r.year()-t.year())+(r.month()-t.month()),i=t.clone().add(n,l),a=r-i<0,o=t.clone().add(n+(a?-1:1),l);return+(-(n+(r-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:p,h:o,m:a,s:i,ms:n,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},v="en",b={};b[v]=_;var k="$isDayjsObject",x=function(e){return e instanceof w||!(!e||!e[k])},E=function e(t,r,n){var i;if(!t)return v;if("string"==typeof t){var a=t.toLowerCase();b[a]&&(i=a),r&&(b[a]=r,i=a);var o=t.split("-");if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!n&&i&&(v=i),i||!n&&v},S=function(e,t){if(x(e))return e.clone();var r="object"==typeof t?t:{};return r.date=e,r.args=arguments,new w(r)},D=y;D.l=E,D.i=x,D.w=function(e,t){return S(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var w=function(){function _(e){this.$L=E(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[k]=!0}var h=_.prototype;return h.parse=function(e){this.$d=function(e){var t=e.date,r=e.utc;if(null===t)return new Date(NaN);if(D.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var n=t.match(m);if(n){var i=n[2]-1||0,a=(n[7]||"0").substring(0,3);return r?new Date(Date.UTC(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)):new Date(n[1],i,n[3]||1,n[4]||0,n[5]||0,n[6]||0,a)}}return new Date(t)}(e),this.init()},h.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},h.$utils=function(){return D},h.isValid=function(){return!(this.$d.toString()===f)},h.isSame=function(e,t){var r=S(e);return this.startOf(t)<=r&&r<=this.endOf(t)},h.isAfter=function(e,t){return S(e)<this.startOf(t)},h.isBefore=function(e,t){return this.endOf(t)<S(e)},h.$g=function(e,t,r){return D.u(e)?this[t]:this.set(r,e)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(e,t){var r=this,n=!!D.u(t)||t,u=D.p(e),f=function(e,t){var i=D.w(r.$u?Date.UTC(r.$y,t,e):new Date(r.$y,t,e),r);return n?i:i.endOf(s)},m=function(e,t){return D.w(r.toDate()[e].apply(r.toDate("s"),(n?[0,0,0,0]:[23,59,59,999]).slice(t)),r)},g=this.$W,_=this.$M,h=this.$D,y="set"+(this.$u?"UTC":"");switch(u){case d:return n?f(1,0):f(31,11);case l:return n?f(1,_):f(0,_+1);case c:var v=this.$locale().weekStart||0,b=(g<v?g+7:g)-v;return f(n?h-b:h+(6-b),_);case s:case p:return m(y+"Hours",0);case o:return m(y+"Minutes",1);case a:return m(y+"Seconds",2);case i:return m(y+"Milliseconds",3);default:return this.clone()}},h.endOf=function(e){return this.startOf(e,!1)},h.$set=function(e,t){var r,c=D.p(e),u="set"+(this.$u?"UTC":""),f=(r={},r[s]=u+"Date",r[p]=u+"Date",r[l]=u+"Month",r[d]=u+"FullYear",r[o]=u+"Hours",r[a]=u+"Minutes",r[i]=u+"Seconds",r[n]=u+"Milliseconds",r)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var g=this.clone().set(p,1);g.$d[f](m),g.init(),this.$d=g.set(p,Math.min(this.$D,g.daysInMonth())).$d}else f&&this.$d[f](m);return this.init(),this},h.set=function(e,t){return this.clone().$set(e,t)},h.get=function(e){return this[D.p(e)]()},h.add=function(n,u){var p,f=this;n=Number(n);var m=D.p(u),g=function(e){var t=S(f);return D.w(t.date(t.date()+Math.round(e*n)),f)};if(m===l)return this.set(l,this.$M+n);if(m===d)return this.set(d,this.$y+n);if(m===s)return g(1);if(m===c)return g(7);var _=(p={},p[a]=t,p[o]=r,p[i]=e,p)[m]||1,h=this.$d.getTime()+n*_;return D.w(h,this)},h.subtract=function(e,t){return this.add(-1*e,t)},h.format=function(e){var t=this,r=this.$locale();if(!this.isValid())return r.invalidDate||f;var n=e||"YYYY-MM-DDTHH:mm:ssZ",i=D.z(this),a=this.$H,o=this.$m,s=this.$M,c=r.weekdays,l=r.months,u=r.meridiem,d=function(e,r,i,a){return e&&(e[r]||e(t,n))||i[r].slice(0,a)},p=function(e){return D.s(a%12||12,e,"0")},m=u||function(e,t,r){var n=e<12?"AM":"PM";return r?n.toLowerCase():n};return n.replace(g,(function(e,n){return n||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return D.s(t.$y,4,"0");case"M":return s+1;case"MM":return D.s(s+1,2,"0");case"MMM":return d(r.monthsShort,s,l,3);case"MMMM":return d(l,s);case"D":return t.$D;case"DD":return D.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(r.weekdaysMin,t.$W,c,2);case"ddd":return d(r.weekdaysShort,t.$W,c,3);case"dddd":return c[t.$W];case"H":return String(a);case"HH":return D.s(a,2,"0");case"h":return p(1);case"hh":return p(2);case"a":return m(a,o,!0);case"A":return m(a,o,!1);case"m":return String(o);case"mm":return D.s(o,2,"0");case"s":return String(t.$s);case"ss":return D.s(t.$s,2,"0");case"SSS":return D.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")}))},h.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},h.diff=function(n,p,f){var m,g=this,_=D.p(p),h=S(n),y=(h.utcOffset()-this.utcOffset())*t,v=this-h,b=function(){return D.m(g,h)};switch(_){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(v-y)/6048e5;break;case s:m=(v-y)/864e5;break;case o:m=v/r;break;case a:m=v/t;break;case i:m=v/e;break;default:m=v}return f?m:D.a(m)},h.daysInMonth=function(){return this.endOf(l).$D},h.$locale=function(){return b[this.$L]},h.locale=function(e,t){if(!e)return this.$L;var r=this.clone(),n=E(e,t,!0);return n&&(r.$L=n),r},h.clone=function(){return D.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},_}(),T=w.prototype;return S.prototype=T,[["$ms",n],["$s",i],["$m",a],["$H",o],["$W",s],["$M",l],["$y",d],["$D",p]].forEach((function(e){T[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),S.extend=function(e,t){return e.$i||(e(t,w,S),e.$i=!0),S},S.locale=E,S.isDayjs=x,S.unix=function(e){return S(1e3*e)},S.en=b[v],S.Ls=b,S.p={},S}()},90445:function(e){e.exports=function(){"use strict";var e={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,r=/\d\d/,n=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,a={},o=function(e){return(e=+e)+(e>68?1900:2e3)},s=function(e){return function(t){this[e]=+t}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||(this.zone={})).offset=function(e){if(!e)return 0;if("Z"===e)return 0;var t=e.match(/([+-]|\d\d)/g),r=60*t[1]+(+t[2]||0);return 0===r?0:"+"===t[0]?-r:r}(e)}],l=function(e){var t=a[e];return t&&(t.indexOf?t:t.s.concat(t.f))},u=function(e,t){var r,n=a.meridiem;if(n){for(var i=1;i<=24;i+=1)if(e.indexOf(n(i,0,t))>-1){r=i>12;break}}else r=e===(t?"pm":"PM");return r},d={A:[i,function(e){this.afternoon=u(e,!1)}],a:[i,function(e){this.afternoon=u(e,!0)}],S:[/\d/,function(e){this.milliseconds=100*+e}],SS:[r,function(e){this.milliseconds=10*+e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[n,s("seconds")],ss:[n,s("seconds")],m:[n,s("minutes")],mm:[n,s("minutes")],H:[n,s("hours")],h:[n,s("hours")],HH:[n,s("hours")],hh:[n,s("hours")],D:[n,s("day")],DD:[r,s("day")],Do:[i,function(e){var t=a.ordinal,r=e.match(/\d+/);if(this.day=r[0],t)for(var n=1;n<=31;n+=1)t(n).replace(/\[|\]/g,"")===e&&(this.day=n)}],M:[n,s("month")],MM:[r,s("month")],MMM:[i,function(e){var t=l("months"),r=(l("monthsShort")||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(r<1)throw new Error;this.month=r%12||r}],MMMM:[i,function(e){var t=l("months").indexOf(e)+1;if(t<1)throw new Error;this.month=t%12||t}],Y:[/[+-]?\d+/,s("year")],YY:[r,function(e){this.year=o(e)}],YYYY:[/\d{4}/,s("year")],Z:c,ZZ:c};function p(r){var n,i;n=r,i=a&&a.formats;for(var o=(r=n.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,r,n){var a=n&&n.toUpperCase();return r||i[n]||e[n]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,r){return t||r.slice(1)}))}))).match(t),s=o.length,c=0;c<s;c+=1){var l=o[c],u=d[l],p=u&&u[0],f=u&&u[1];o[c]=f?{regex:p,parser:f}:l.replace(/^\[|\]$/g,"")}return function(e){for(var t={},r=0,n=0;r<s;r+=1){var i=o[r];if("string"==typeof i)n+=i.length;else{var a=i.regex,c=i.parser,l=e.slice(n),u=a.exec(l)[0];c.call(t,u),e=e.replace(u,"")}}return function(e){var t=e.afternoon;if(void 0!==t){var r=e.hours;t?r<12&&(e.hours+=12):12===r&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,r){r.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(o=e.parseTwoDigitYear);var n=t.prototype,i=n.parse;n.parse=function(e){var t=e.date,n=e.utc,o=e.args;this.$u=n;var s=o[1];if("string"==typeof s){var c=!0===o[2],l=!0===o[3],u=c||l,d=o[2];l&&(d=o[2]),a=this.$locale(),!c&&d&&(a=r.Ls[d]),this.$d=function(e,t,r){try{if(["x","X"].indexOf(t)>-1)return new Date(("X"===t?1e3:1)*e);var n=p(t)(e),i=n.year,a=n.month,o=n.day,s=n.hours,c=n.minutes,l=n.seconds,u=n.milliseconds,d=n.zone,f=new Date,m=o||(i||a?1:f.getDate()),g=i||f.getFullYear(),_=0;i&&!a||(_=a>0?a-1:f.getMonth());var h=s||0,y=c||0,v=l||0,b=u||0;return d?new Date(Date.UTC(g,_,m,h,y,v,b+60*d.offset*1e3)):r?new Date(Date.UTC(g,_,m,h,y,v,b)):new Date(g,_,m,h,y,v,b)}catch(e){return new Date("")}}(t,s,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date("")),a={}}else if(s instanceof Array)for(var f=s.length,m=1;m<=f;m+=1){o[1]=s[m-1];var g=r.apply(this,o);if(g.isValid()){this.$d=g.$d,this.$L=g.$L,this.init();break}m===f&&(this.$d=new Date(""))}else i.call(this,e)}}}()},83826:function(e){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(n,i,a){var o=i.prototype;a.utc=function(e){return new i({date:e,utc:!0,args:arguments})},o.utc=function(t){var r=a(this.toDate(),{locale:this.$L,utc:!0});return t?r.add(this.utcOffset(),e):r},o.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var s=o.parse;o.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var c=o.init;o.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else c.call(this)};var l=o.utcOffset;o.utcOffset=function(n,i){var a=this.$utils().u;if(a(n))return this.$u?0:a(this.$offset)?l.call(this):this.$offset;if("string"==typeof n&&(n=function(e){void 0===e&&(e="");var n=e.match(t);if(!n)return null;var i=(""+n[0]).match(r)||["-",0,0],a=i[0],o=60*+i[1]+ +i[2];return 0===o?0:"+"===a?o:-o}(n),null===n))return this;var o=Math.abs(n)<=16?60*n:n,s=this;if(i)return s.$offset=o,s.$u=0===n,s;if(0!==n){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(s=this.local().add(o+c,e)).$offset=o,s.$x.$localOffset=c}else s=this.utc();return s};var u=o.format;o.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,t)},o.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},o.isUTC=function(){return!!this.$u},o.toISOString=function(){return this.toDate().toISOString()},o.toString=function(){return this.toDate().toUTCString()};var d=o.toDate;o.toDate=function(e){return"s"===e&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var p=o.diff;o.diff=function(e,t,r){if(e&&this.$u===e.$u)return p.call(this,e,t,r);var n=this.local(),i=a(e).local();return p.call(n,i,t,r)}}}()},87450:(e,t,r)=>{"use strict";var n=r(35053);function i(e,t,r){void 0===r&&(r=t,t=e,e=null),n.Duplex.call(this,e),"function"!=typeof r.read&&(r=new n.Readable(e).wrap(r)),this._writable=t,this._readable=r,this._waiting=!1;var i=this;t.once("finish",(function(){i.end()})),this.once("finish",(function(){t.end()})),r.on("readable",(function(){i._waiting&&(i._waiting=!1,i._read())})),r.once("end",(function(){i.push(null)})),e&&void 0!==e.bubbleErrors&&!e.bubbleErrors||(t.on("error",(function(e){i.emit("error",e)})),r.on("error",(function(e){i.emit("error",e)})))}i.prototype=Object.create(n.Duplex.prototype,{constructor:{value:i}}),i.prototype._write=function(e,t,r){this._writable.write(e,t,r)},i.prototype._read=function(){for(var e,t=0;null!==(e=this._readable.read());)this.push(e),t++;0===t&&(this._waiting=!0)},e.exports=function(e,t,r){return new i(e,t,r)},e.exports.DuplexWrapper=i},44849:(e,t,r)=>{"use strict";var n=r(33225),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=d;var a=Object.create(r(15622));a.inherits=r(72017);var o=r(5335),s=r(75675);a.inherits(d,o);for(var c=i(s.prototype),l=0;l<c.length;l++){var u=c[l];d.prototype[u]||(d.prototype[u]=s.prototype[u])}function d(e){if(!(this instanceof d))return new d(e);o.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",p)}function p(){this.allowHalfOpen||this._writableState.ended||n.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),d.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},11557:(e,t,r)=>{"use strict";e.exports=a;var n=r(31719),i=Object.create(r(15622));function a(e){if(!(this instanceof a))return new a(e);n.call(this,e)}i.inherits=r(72017),i.inherits(a,n),a.prototype._transform=function(e,t,r){r(null,e)}},5335:(e,t,r)=>{"use strict";var n=r(33225);e.exports=y;var i,a=r(64634);y.ReadableState=h;r(24434).EventEmitter;var o=function(e,t){return e.listeners(t).length},s=r(13961),c=r(92861).Buffer,l=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u=Object.create(r(15622));u.inherits=r(72017);var d=r(39023),p=void 0;p=d&&d.debuglog?d.debuglog("stream"):function(){};var f,m=r(46631),g=r(72351);u.inherits(y,s);var _=["error","close","destroy","pause","resume"];function h(e,t){e=e||{};var n=t instanceof(i=i||r(44849));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var a=e.highWaterMark,o=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=a||0===a?a:n&&(o||0===o)?o:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=r(83141).I),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function y(e){if(i=i||r(44849),!(this instanceof y))return new y(e);this._readableState=new h(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function v(e,t,r,n,i){var a,o=e._readableState;null===t?(o.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,E(e)}(e,o)):(i||(a=function(e,t){var r;n=t,c.isBuffer(n)||n instanceof l||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(o,t)),a?e.emit("error",a):o.objectMode||t&&t.length>0?("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),n?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):b(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||0!==t.length?b(e,o,t,!1):D(e,o)):b(e,o,t,!1))):n||(o.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(o)}function b(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&E(e)),D(e,t)}Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),y.prototype.destroy=g.destroy,y.prototype._undestroy=g.undestroy,y.prototype._destroy=function(e,t){this.push(null),t(e)},y.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=c.from(e,t),t=""),r=!0),v(this,e,t,!1,r)},y.prototype.unshift=function(e){return v(this,e,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(e){return f||(f=r(83141).I),this._readableState.decoder=new f(e),this._readableState.encoding=e,this};var k=8388608;function x(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=k?e=k:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function E(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(p("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?n.nextTick(S,e):S(e))}function S(e){p("emit readable"),e.emit("readable"),A(e)}function D(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(w,e,t))}function w(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(p("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function T(e){p("readable nexttick read 0"),e.read(0)}function C(e,t){t.reading||(p("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),A(e),t.flowing&&!t.reading&&e.read(0)}function A(e){var t=e._readableState;for(p("flow",t.flowing);t.flowing&&null!==e.read(););}function N(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,i=r.data;e-=i.length;for(;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),0===(e-=o)){o===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=c.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var a=n.data,o=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,o),0===(e-=o)){o===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(o));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function P(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,n.nextTick(I,t,e))}function I(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function F(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}y.prototype.read=function(e){p("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return p("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?P(this):E(this),null;if(0===(e=x(e,t))&&t.ended)return 0===t.length&&P(this),null;var n,i=t.needReadable;return p("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&p("length less than watermark",i=!0),t.ended||t.reading?p("reading or ended",i=!1):i&&(p("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=x(r,t))),null===(n=e>0?N(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&P(this)),null!==n&&this.emit("data",n),n},y.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,p("pipe count=%d opts=%j",i.pipesCount,t);var s=(!t||!1!==t.end)&&e!==process.stdout&&e!==process.stderr?l:y;function c(t,n){p("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,p("cleanup"),e.removeListener("close",_),e.removeListener("finish",h),e.removeListener("drain",u),e.removeListener("error",g),e.removeListener("unpipe",c),r.removeListener("end",l),r.removeListener("end",y),r.removeListener("data",m),d=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function l(){p("onend"),e.end()}i.endEmitted?n.nextTick(s):r.once("end",s),e.on("unpipe",c);var u=function(e){return function(){var t=e._readableState;p("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,A(e))}}(r);e.on("drain",u);var d=!1;var f=!1;function m(t){p("ondata"),f=!1,!1!==e.write(t)||f||((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==F(i.pipes,e))&&!d&&(p("false write response, pause",i.awaitDrain),i.awaitDrain++,f=!0),r.pause())}function g(t){p("onerror",t),y(),e.removeListener("error",g),0===o(e,"error")&&e.emit("error",t)}function _(){e.removeListener("finish",h),y()}function h(){p("onfinish"),e.removeListener("close",_),y()}function y(){p("unpipe"),r.unpipe(e)}return r.on("data",m),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",g),e.once("close",_),e.once("finish",h),e.emit("pipe",r),i.flowing||(p("pipe resume"),r.resume()),e},y.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=F(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},y.prototype.on=function(e,t){var r=s.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var i=this._readableState;i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.emittedReadable=!1,i.reading?i.length&&E(this):n.nextTick(T,this))}return r},y.prototype.addListener=y.prototype.on,y.prototype.resume=function(){var e=this._readableState;return e.flowing||(p("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(C,e,t))}(this,e)),this},y.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this},y.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(p("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(p("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<_.length;a++)e.on(_[a],this.emit.bind(this,_[a]));return this._read=function(t){p("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),y._fromList=N},31719:(e,t,r)=>{"use strict";e.exports=o;var n=r(44849),i=Object.create(r(15622));function a(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);n.call(this,e),this._transformState={afterTransform:a.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"==typeof this._flush?this._flush((function(t,r){c(e,t,r)})):c(this,null,null)}function c(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=r(72017),i.inherits(o,n),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},o.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,(function(e){t(e),r.emit("close")}))}},75675:(e,t,r)=>{"use strict";var n=r(33225);function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}e.exports=_;var a,o=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:n.nextTick;_.WritableState=g;var s=Object.create(r(15622));s.inherits=r(72017);var c={deprecate:r(27983)},l=r(13961),u=r(92861).Buffer,d=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var p,f=r(72351);function m(){}function g(e,t){a=a||r(44849),e=e||{};var s=t instanceof a;this.objectMode=!!e.objectMode,s&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var c=e.highWaterMark,l=e.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=c||0===c?c:s&&(l||0===l)?l:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var d=!1===e.decodeStrings;this.decodeStrings=!d,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,i=r.sync,a=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,i,a){--t.pendingcb,r?(n.nextTick(a,i),n.nextTick(x,e,t),e._writableState.errorEmitted=!0,e.emit("error",i)):(a(i),e._writableState.errorEmitted=!0,e.emit("error",i),x(e,t))}(e,r,i,t,a);else{var s=b(r);s||r.corked||r.bufferProcessing||!r.bufferedRequest||v(e,r),i?o(y,e,r,s,a):y(e,r,s,a)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function _(e){if(a=a||r(44849),!(p.call(_,this)||this instanceof a))return new _(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),l.call(this)}function h(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function y(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),x(e,t)}function v(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,a=new Array(n),o=t.corkedRequestsFree;o.entry=r;for(var s=0,c=!0;r;)a[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;a.allBuffers=c,h(e,t,!0,t.length,a,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,u=r.encoding,d=r.callback;if(h(e,t,!1,t.objectMode?1:l.length,l,u,d),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function b(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),x(e,t)}))}function x(e,t){var r=b(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,n.nextTick(k,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}s.inherits(_,l),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(_,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===_&&(e&&e._writableState instanceof g)}})):p=function(e){return e instanceof this},_.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},_.prototype.write=function(e,t,r){var i,a=this._writableState,o=!1,s=!a.objectMode&&(i=e,u.isBuffer(i)||i instanceof d);return s&&!u.isBuffer(e)&&(e=function(e){return u.from(e)}(e)),"function"==typeof t&&(r=t,t=null),s?t="buffer":t||(t=a.defaultEncoding),"function"!=typeof r&&(r=m),a.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),n.nextTick(t,r)}(this,r):(s||function(e,t,r,i){var a=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),n.nextTick(i,o),a=!1),a}(this,a,e,r))&&(a.pendingcb++,o=function(e,t,r,n,i,a){if(!r){var o=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=u.from(t,r));return t}(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=t.objectMode?1:n.length;t.length+=s;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else h(e,t,!1,s,n,i,a);return c}(this,a,s,e,t,r)),o},_.prototype.cork=function(){this._writableState.corked++},_.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||v(this,e))},_.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(_.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),_.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},_.prototype._writev=null,_.prototype.end=function(e,t,r){var i=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,r){t.ending=!0,x(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,i,r)},Object.defineProperty(_.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),_.prototype.destroy=f.destroy,_.prototype._undestroy=f.undestroy,_.prototype._destroy=function(e,t){this.end(),t(e)}},46631:(e,t,r)=>{"use strict";var n=r(92861).Buffer,i=r(39023);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);for(var t,r,i,a=n.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,r=a,i=s,t.copy(r,i),s+=o.data.length,o=o.next;return a},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},72351:(e,t,r)=>{"use strict";var n=r(33225);function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,a=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return a||o?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(i,this,e)):n.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,n.nextTick(i,r,e)):n.nextTick(i,r,e):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},13961:(e,t,r)=>{e.exports=r(2203)},35053:(e,t,r)=>{var n=r(2203);"disable"===process.env.READABLE_STREAM&&n?(e.exports=n,(t=e.exports=n.Readable).Readable=n.Readable,t.Writable=n.Writable,t.Duplex=n.Duplex,t.Transform=n.Transform,t.PassThrough=n.PassThrough,t.Stream=n):((t=e.exports=r(5335)).Stream=n||t,t.Readable=t,t.Writable=r(75675),t.Duplex=r(44849),t.Transform=r(31719),t.PassThrough=r(11557))},26611:(e,t,r)=>{var n=r(83519),i=function(){},a=function(e,t,r){if("function"==typeof t)return a(e,null,t);t||(t={}),r=n(r||i);var o=e._writableState,s=e._readableState,c=t.readable||!1!==t.readable&&e.readable,l=t.writable||!1!==t.writable&&e.writable,u=!1,d=function(){e.writable||p()},p=function(){l=!1,c||r.call(e)},f=function(){c=!1,l||r.call(e)},m=function(t){r.call(e,t?new Error("exited with error code: "+t):null)},g=function(t){r.call(e,t)},_=function(){process.nextTick(h)},h=function(){if(!u)return(!c||s&&s.ended&&!s.destroyed)&&(!l||o&&o.ended&&!o.destroyed)?void 0:r.call(e,new Error("premature close"))},y=function(){e.req.on("finish",p)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(e)?l&&!o&&(e.on("end",d),e.on("close",d)):(e.on("complete",p),e.on("abort",_),e.req?y():e.on("request",y)),function(e){return e.stdio&&Array.isArray(e.stdio)&&3===e.stdio.length}(e)&&e.on("exit",m),e.on("end",f),e.on("finish",p),!1!==t.error&&e.on("error",g),e.on("close",_),function(){u=!0,e.removeListener("complete",p),e.removeListener("abort",_),e.removeListener("request",y),e.req&&e.req.removeListener("finish",p),e.removeListener("end",d),e.removeListener("close",d),e.removeListener("finish",p),e.removeListener("exit",m),e.removeListener("end",f),e.removeListener("error",g),e.removeListener("close",_)}};e.exports=a},6752:(e,t,r)=>{if(parseInt(process.versions.node.split(".")[0],10)<10)throw new Error("For node versions older than 10, please use the ES5 Import: https://github.com/exceljs/exceljs#es5-imports");e.exports=r(25046)},75772:(e,t,r)=>{const n=r(79896),i=r(67808),a=r(90445),o=r(83826),s=r(74353).extend(a).extend(o),c=r(87137),{fs:{exists:l}}=r(67032),u={true:!0,false:!1,"#N/A":{error:"#N/A"},"#REF!":{error:"#REF!"},"#NAME?":{error:"#NAME?"},"#DIV/0!":{error:"#DIV/0!"},"#NULL!":{error:"#NULL!"},"#VALUE!":{error:"#VALUE!"},"#NUM!":{error:"#NUM!"}};e.exports=class{constructor(e){this.workbook=e,this.worksheet=null}async readFile(e,t){if(t=t||{},!await l(e))throw new Error(`File not found: ${e}`);const r=n.createReadStream(e),i=await this.read(r,t);return r.close(),i}read(e,t){return t=t||{},new Promise(((r,n)=>{const a=this.workbook.addWorksheet(t.sheetName),o=t.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],c=t.map||function(e){if(""===e)return null;const t=Number(e);if(!Number.isNaN(t)&&t!==1/0)return t;const r=o.reduce(((t,r)=>{if(t)return t;const n=s(e,r,!0);return n.isValid()?n:null}),null);if(r)return new Date(r.valueOf());const n=u[e];return void 0!==n?n:e},l=i.parse(t.parserOptions).on("data",(e=>{a.addRow(e.map(c))})).on("end",(()=>{l.emit("worksheet",a)}));l.on("worksheet",r).on("error",n),e.pipe(l)}))}createInputStream(){throw new Error("`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}write(e,t){return new Promise(((r,n)=>{t=t||{};const a=this.workbook.getWorksheet(t.sheetName||t.sheetId),o=i.format(t.formatterOptions);e.on("finish",(()=>{r()})),o.on("error",n),o.pipe(e);const{dateFormat:c,dateUTC:l}=t,u=t.map||(e=>{if(e){if(e.text||e.hyperlink)return e.hyperlink||e.text||"";if(e.formula||e.result)return e.result||"";if(e instanceof Date)return c?l?s.utc(e).format(c):s(e).format(c):l?s.utc(e).format():s(e).format();if(e.error)return e.error;if("object"==typeof e)return JSON.stringify(e)}return e}),d=void 0===t.includeEmptyRows||t.includeEmptyRows;let p=1;a&&a.eachRow(((e,t)=>{if(d)for(;p++<t-1;)o.write([]);const{values:r}=e;r.shift(),o.write(r.map(u)),p=t})),o.end()}))}writeFile(e,t){const r={encoding:(t=t||{}).encoding||"utf8"},i=n.createWriteStream(e,r);return this.write(i,t)}async writeBuffer(e){const t=new c;return await this.write(t,e),t.read()}}},14917:(e,t,r)=>{"use strict";const n=r(29428);class i{constructor(e,t,r=0){if(this.worksheet=e,t)if("string"==typeof t){const e=n.decodeAddress(t);this.nativeCol=e.col+r,this.nativeColOff=0,this.nativeRow=e.row+r,this.nativeRowOff=0}else void 0!==t.nativeCol?(this.nativeCol=t.nativeCol||0,this.nativeColOff=t.nativeColOff||0,this.nativeRow=t.nativeRow||0,this.nativeRowOff=t.nativeRowOff||0):void 0!==t.col?(this.col=t.col+r,this.row=t.row+r):(this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0);else this.nativeCol=0,this.nativeColOff=0,this.nativeRow=0,this.nativeRowOff=0}static asInstance(e){return e instanceof i||null==e?e:new i(e)}get col(){return this.nativeCol+Math.min(this.colWidth-1,this.nativeColOff)/this.colWidth}set col(e){this.nativeCol=Math.floor(e),this.nativeColOff=Math.floor((e-this.nativeCol)*this.colWidth)}get row(){return this.nativeRow+Math.min(this.rowHeight-1,this.nativeRowOff)/this.rowHeight}set row(e){this.nativeRow=Math.floor(e),this.nativeRowOff=Math.floor((e-this.nativeRow)*this.rowHeight)}get colWidth(){return this.worksheet&&this.worksheet.getColumn(this.nativeCol+1)&&this.worksheet.getColumn(this.nativeCol+1).isCustomWidth?Math.floor(1e4*this.worksheet.getColumn(this.nativeCol+1).width):64e4}get rowHeight(){return this.worksheet&&this.worksheet.getRow(this.nativeRow+1)&&this.worksheet.getRow(this.nativeRow+1).height?Math.floor(1e4*this.worksheet.getRow(this.nativeRow+1).height):18e4}get model(){return{nativeCol:this.nativeCol,nativeColOff:this.nativeColOff,nativeRow:this.nativeRow,nativeRowOff:this.nativeRowOff}}set model(e){this.nativeCol=e.nativeCol,this.nativeColOff=e.nativeColOff,this.nativeRow=e.nativeRow,this.nativeRowOff=e.nativeRowOff}}e.exports=i},88732:(e,t,r)=>{const n=r(29428),i=r(67984),a=r(70880),{slideFormula:o}=r(34667),s=r(87952);class c{constructor(e,t,r){if(!e||!t)throw new Error("A Cell needs a Row");this._row=e,this._column=t,n.validateAddress(r),this._address=r,this._value=l.create(c.Types.Null,this),this.style=this._mergeStyle(e.style,t.style,{}),this._mergeCount=0}get worksheet(){return this._row.worksheet}get workbook(){return this._row.worksheet.workbook}destroy(){delete this.style,delete this._value,delete this._row,delete this._column,delete this._address}get numFmt(){return this.style.numFmt}set numFmt(e){this.style.numFmt=e}get font(){return this.style.font}set font(e){this.style.font=e}get alignment(){return this.style.alignment}set alignment(e){this.style.alignment=e}get border(){return this.style.border}set border(e){this.style.border=e}get fill(){return this.style.fill}set fill(e){this.style.fill=e}get protection(){return this.style.protection}set protection(e){this.style.protection=e}_mergeStyle(e,t,r){const n=e&&e.numFmt||t&&t.numFmt;n&&(r.numFmt=n);const i=e&&e.font||t&&t.font;i&&(r.font=i);const a=e&&e.alignment||t&&t.alignment;a&&(r.alignment=a);const o=e&&e.border||t&&t.border;o&&(r.border=o);const s=e&&e.fill||t&&t.fill;s&&(r.fill=s);const c=e&&e.protection||t&&t.protection;return c&&(r.protection=c),r}get address(){return this._address}get row(){return this._row.number}get col(){return this._column.number}get $col$row(){return`$${this._column.letter}$${this.row}`}get type(){return this._value.type}get effectiveType(){return this._value.effectiveType}toCsvString(){return this._value.toCsvString()}addMergeRef(){this._mergeCount++}releaseMergeRef(){this._mergeCount--}get isMerged(){return this._mergeCount>0||this.type===c.Types.Merge}merge(e,t){this._value.release(),this._value=l.create(c.Types.Merge,this,e),t||(this.style=e.style)}unmerge(){this.type===c.Types.Merge&&(this._value.release(),this._value=l.create(c.Types.Null,this),this.style=this._mergeStyle(this._row.style,this._column.style,{}))}isMergedTo(e){return this._value.type===c.Types.Merge&&this._value.isMergedTo(e)}get master(){return this.type===c.Types.Merge?this._value.master:this}get isHyperlink(){return this._value.type===c.Types.Hyperlink}get hyperlink(){return this._value.hyperlink}get value(){return this._value.value}set value(e){this.type!==c.Types.Merge?(this._value.release(),this._value=l.create(l.getType(e),this,e)):this._value.master.value=e}get note(){return this._comment&&this._comment.note}set note(e){this._comment=new s(e)}get text(){return this._value.toString()}get html(){return i.escapeHtml(this.text)}toString(){return this.text}_upgradeToHyperlink(e){this.type===c.Types.String&&(this._value=l.create(c.Types.Hyperlink,this,{text:this._value.value,hyperlink:e}))}get formula(){return this._value.formula}get result(){return this._value.result}get formulaType(){return this._value.formulaType}get fullAddress(){const{worksheet:e}=this._row;return{sheetName:e.name,address:this.address,row:this.row,col:this.col}}get name(){return this.names[0]}set name(e){this.names=[e]}get names(){return this.workbook.definedNames.getNamesEx(this.fullAddress)}set names(e){const{definedNames:t}=this.workbook;t.removeAllNames(this.fullAddress),e.forEach((e=>{t.addEx(this.fullAddress,e)}))}addName(e){this.workbook.definedNames.addEx(this.fullAddress,e)}removeName(e){this.workbook.definedNames.removeEx(this.fullAddress,e)}removeAllNames(){this.workbook.definedNames.removeAllNames(this.fullAddress)}get _dataValidations(){return this.worksheet.dataValidations}get dataValidation(){return this._dataValidations.find(this.address)}set dataValidation(e){this._dataValidations.add(this.address,e)}get model(){const{model:e}=this._value;return e.style=this.style,this._comment&&(e.comment=this._comment.model),e}set model(e){if(this._value.release(),this._value=l.create(e.type,this),this._value.model=e,e.comment&&"note"===e.comment.type)this._comment=s.fromModel(e.comment);e.style?this.style=e.style:this.style={}}}c.Types=a.ValueType;const l={getType:e=>null==e?c.Types.Null:e instanceof String||"string"==typeof e?c.Types.String:"number"==typeof e?c.Types.Number:"boolean"==typeof e?c.Types.Boolean:e instanceof Date?c.Types.Date:e.text&&e.hyperlink?c.Types.Hyperlink:e.formula||e.sharedFormula?c.Types.Formula:e.richText?c.Types.RichText:e.sharedString?c.Types.SharedString:e.error?c.Types.Error:c.Types.JSON,types:[{t:c.Types.Null,f:class{constructor(e){this.model={address:e.address,type:c.Types.Null}}get value(){return null}set value(e){}get type(){return c.Types.Null}get effectiveType(){return c.Types.Null}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return""}release(){}toString(){return""}}},{t:c.Types.Number,f:class{constructor(e,t){this.model={address:e.address,type:c.Types.Number,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return c.Types.Number}get effectiveType(){return c.Types.Number}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}},{t:c.Types.String,f:class{constructor(e,t){this.model={address:e.address,type:c.Types.String,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return c.Types.String}get effectiveType(){return c.Types.String}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return`"${this.model.value.replace(/"/g,'""')}"`}release(){}toString(){return this.model.value}}},{t:c.Types.Date,f:class{constructor(e,t){this.model={address:e.address,type:c.Types.Date,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return c.Types.Date}get effectiveType(){return c.Types.Date}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value.toISOString()}release(){}toString(){return this.model.value.toString()}}},{t:c.Types.Hyperlink,f:class{constructor(e,t){this.model={address:e.address,type:c.Types.Hyperlink,text:t?t.text:void 0,hyperlink:t?t.hyperlink:void 0},t&&t.tooltip&&(this.model.tooltip=t.tooltip)}get value(){const e={text:this.model.text,hyperlink:this.model.hyperlink};return this.model.tooltip&&(e.tooltip=this.model.tooltip),e}set value(e){this.model={text:e.text,hyperlink:e.hyperlink},e.tooltip&&(this.model.tooltip=e.tooltip)}get text(){return this.model.text}set text(e){this.model.text=e}get hyperlink(){return this.model.hyperlink}set hyperlink(e){this.model.hyperlink=e}get type(){return c.Types.Hyperlink}get effectiveType(){return c.Types.Hyperlink}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.hyperlink}release(){}toString(){return this.model.text}}},{t:c.Types.Formula,f:class{constructor(e,t){this.cell=e,this.model={address:e.address,type:c.Types.Formula,shareType:t?t.shareType:void 0,ref:t?t.ref:void 0,formula:t?t.formula:void 0,sharedFormula:t?t.sharedFormula:void 0,result:t?t.result:void 0}}_copyModel(e){const t={},r=r=>{const n=e[r];n&&(t[r]=n)};return r("formula"),r("result"),r("ref"),r("shareType"),r("sharedFormula"),t}get value(){return this._copyModel(this.model)}set value(e){this.model=this._copyModel(e)}validate(e){switch(l.getType(e)){case c.Types.Null:case c.Types.String:case c.Types.Number:case c.Types.Date:break;case c.Types.Hyperlink:case c.Types.Formula:default:throw new Error("Cannot process that type of result value")}}get dependencies(){return{ranges:this.formula.match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g),cells:this.formula.replace(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}:[A-Z]{1,3}\d{1,4}/g,"").match(/([a-zA-Z0-9]+!)?[A-Z]{1,3}\d{1,4}/g)}}get formula(){return this.model.formula||this._getTranslatedFormula()}set formula(e){this.model.formula=e}get formulaType(){return this.model.formula?a.FormulaType.Master:this.model.sharedFormula?a.FormulaType.Shared:a.FormulaType.None}get result(){return this.model.result}set result(e){this.model.result=e}get type(){return c.Types.Formula}get effectiveType(){const e=this.model.result;return null==e?a.ValueType.Null:e instanceof String||"string"==typeof e?a.ValueType.String:"number"==typeof e?a.ValueType.Number:e instanceof Date?a.ValueType.Date:e.text&&e.hyperlink?a.ValueType.Hyperlink:e.formula?a.ValueType.Formula:a.ValueType.Null}get address(){return this.model.address}set address(e){this.model.address=e}_getTranslatedFormula(){if(!this._translatedFormula&&this.model.sharedFormula){const{worksheet:e}=this.cell,t=e.findCell(this.model.sharedFormula);this._translatedFormula=t&&o(t.formula,t.address,this.model.address)}return this._translatedFormula}toCsvString(){return`${this.model.result||""}`}release(){}toString(){return this.model.result?this.model.result.toString():""}}},{t:c.Types.Merge,f:class{constructor(e,t){this.model={address:e.address,type:c.Types.Merge,master:t?t.address:void 0},this._master=t,t&&t.addMergeRef()}get value(){return this._master.value}set value(e){e instanceof c?(this._master&&this._master.releaseMergeRef(),e.addMergeRef(),this._master=e):this._master.value=e}isMergedTo(e){return e===this._master}get master(){return this._master}get type(){return c.Types.Merge}get effectiveType(){return this._master.effectiveType}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return""}release(){this._master.releaseMergeRef()}toString(){return this.value.toString()}}},{t:c.Types.JSON,f:class{constructor(e,t){this.model={address:e.address,type:c.Types.String,value:JSON.stringify(t),rawValue:t}}get value(){return this.model.rawValue}set value(e){this.model.rawValue=e,this.model.value=JSON.stringify(e)}get type(){return c.Types.String}get effectiveType(){return c.Types.String}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value}release(){}toString(){return this.model.value}}},{t:c.Types.SharedString,f:class{constructor(e,t){this.model={address:e.address,type:c.Types.SharedString,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return c.Types.SharedString}get effectiveType(){return c.Types.SharedString}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value.toString()}release(){}toString(){return this.model.value.toString()}}},{t:c.Types.RichText,f:class{constructor(e,t){this.model={address:e.address,type:c.Types.String,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}toString(){return this.model.value.richText.map((e=>e.text)).join("")}get type(){return c.Types.RichText}get effectiveType(){return c.Types.RichText}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return`"${this.text.replace(/"/g,'""')}"`}release(){}}},{t:c.Types.Boolean,f:class{constructor(e,t){this.model={address:e.address,type:c.Types.Boolean,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return c.Types.Boolean}get effectiveType(){return c.Types.Boolean}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.model.value?1:0}release(){}toString(){return this.model.value.toString()}}},{t:c.Types.Error,f:class{constructor(e,t){this.model={address:e.address,type:c.Types.Error,value:t}}get value(){return this.model.value}set value(e){this.model.value=e}get type(){return c.Types.Error}get effectiveType(){return c.Types.Error}get address(){return this.model.address}set address(e){this.model.address=e}toCsvString(){return this.toString()}release(){}toString(){return this.model.value.error.toString()}}}].reduce(((e,t)=>(e[t.t]=t.f,e)),[]),create(e,t,r){const n=this.types[e];if(!n)throw new Error(`Could not create Value of type ${e}`);return new n(t,r)}};e.exports=c},93362:(e,t,r)=>{"use strict";const n=r(67984),i=r(70880),a=r(29428);class o{constructor(e,t,r){this._worksheet=e,this._number=t,!1!==r&&(this.defn=r)}get number(){return this._number}get worksheet(){return this._worksheet}get letter(){return a.n2l(this._number)}get isCustomWidth(){return void 0!==this.width&&9!==this.width}get defn(){return{header:this._header,key:this.key,width:this.width,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel}}set defn(e){e?(this.key=e.key,this.width=void 0!==e.width?e.width:9,this.outlineLevel=e.outlineLevel,e.style?this.style=e.style:this.style={},this.header=e.header,this._hidden=!!e.hidden):(delete this._header,delete this._key,delete this.width,this.style={},this.outlineLevel=0)}get headers(){return this._header&&this._header instanceof Array?this._header:[this._header]}get header(){return this._header}set header(e){void 0!==e?(this._header=e,this.headers.forEach(((e,t)=>{this._worksheet.getCell(t+1,this.number).value=e}))):this._header=void 0}get key(){return this._key}set key(e){(this._key&&this._worksheet.getColumnKey(this._key))===this&&this._worksheet.deleteColumnKey(this._key),this._key=e,e&&this._worksheet.setColumnKey(this._key,this)}get hidden(){return!!this._hidden}set hidden(e){this._hidden=e}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(e){this._outlineLevel=e}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelCol)}toString(){return JSON.stringify({key:this.key,width:this.width,headers:this.headers.length?this.headers:void 0})}equivalentTo(e){return this.width===e.width&&this.hidden===e.hidden&&this.outlineLevel===e.outlineLevel&&n.isEqual(this.style,e.style)}get isDefault(){if(this.isCustomWidth)return!1;if(this.hidden)return!1;if(this.outlineLevel)return!1;const e=this.style;return!e||!(e.font||e.numFmt||e.alignment||e.border||e.fill||e.protection)}get headerCount(){return this.headers.length}eachCell(e,t){const r=this.number;t||(t=e,e=null),this._worksheet.eachRow(e,((e,n)=>{t(e.getCell(r),n)}))}get values(){const e=[];return this.eachCell(((t,r)=>{t&&t.type!==i.ValueType.Null&&(e[r]=t.value)})),e}set values(e){if(!e)return;const t=this.number;let r=0;e.hasOwnProperty("0")&&(r=1),e.forEach(((e,n)=>{this._worksheet.getCell(n+r,t).value=e}))}_applyStyle(e,t){return this.style[e]=t,this.eachCell((r=>{r[e]=t})),t}get numFmt(){return this.style.numFmt}set numFmt(e){this._applyStyle("numFmt",e)}get font(){return this.style.font}set font(e){this._applyStyle("font",e)}get alignment(){return this.style.alignment}set alignment(e){this._applyStyle("alignment",e)}get protection(){return this.style.protection}set protection(e){this._applyStyle("protection",e)}get border(){return this.style.border}set border(e){this._applyStyle("border",e)}get fill(){return this.style.fill}set fill(e){this._applyStyle("fill",e)}static toModel(e){const t=[];let r=null;return e&&e.forEach(((e,n)=>{e.isDefault?r&&(r=null):r&&e.equivalentTo(r)?r.max=n+1:(r={min:n+1,max:n+1,width:void 0!==e.width?e.width:9,style:e.style,isCustomWidth:e.isCustomWidth,hidden:e.hidden,outlineLevel:e.outlineLevel,collapsed:e.collapsed},t.push(r))})),t.length?t:void 0}static fromModel(e,t){const r=[];let n=1,i=0;for(t=(t=t||[]).sort((function(e,t){return e.min-t.min}));i<t.length;){const a=t[i++];for(;n<a.min;)r.push(new o(e,n++));for(;n<=a.max;)r.push(new o(e,n++,a))}return r.length?r:null}}e.exports=o},88561:e=>{e.exports=class{constructor(e){this.model=e||{}}add(e,t){return this.model[e]=t}find(e){return this.model[e]}remove(e){this.model[e]=void 0}}},13522:(e,t,r)=>{"use strict";const n=r(67984),i=r(29428),a=r(38583),o=r(69311),s=/[$](\w+)[$](\d+)(:[$](\w+)[$](\d+))?/;e.exports=class{constructor(){this.matrixMap={}}getMatrix(e){return this.matrixMap[e]||(this.matrixMap[e]=new a)}add(e,t){const r=i.decodeEx(e);this.addEx(r,t)}addEx(e,t){const r=this.getMatrix(t);if(e.top)for(let t=e.left;t<=e.right;t++)for(let n=e.top;n<=e.bottom;n++){const a={sheetName:e.sheetName,address:i.n2l(t)+n,row:n,col:t};r.addCellEx(a)}else r.addCellEx(e)}remove(e,t){const r=i.decodeEx(e);this.removeEx(r,t)}removeEx(e,t){this.getMatrix(t).removeCellEx(e)}removeAllNames(e){n.each(this.matrixMap,(t=>{t.removeCellEx(e)}))}forEach(e){n.each(this.matrixMap,((t,r)=>{t.forEach((t=>{e(r,t)}))}))}getNames(e){return this.getNamesEx(i.decodeEx(e))}getNamesEx(e){return n.map(this.matrixMap,((t,r)=>t.findCellEx(e)&&r)).filter(Boolean)}_explore(e,t){t.mark=!1;const{sheetName:r}=t,n=new o(t.row,t.col,t.row,t.col,r);let i,a;function s(i,a){const o=e.findCellAt(r,i,t.col);return!(!o||!o.mark)&&(n[a]=i,o.mark=!1,!0)}for(a=t.row-1;s(a,"top");a--);for(a=t.row+1;s(a,"bottom");a++);function c(t,i){const o=[];for(a=n.top;a<=n.bottom;a++){const n=e.findCellAt(r,a,t);if(!n||!n.mark)return!1;o.push(n)}n[i]=t;for(let e=0;e<o.length;e++)o[e].mark=!1;return!0}for(i=t.col-1;c(i,"left");i--);for(i=t.col+1;c(i,"right");i++);return n}getRanges(e,t){if(!(t=t||this.matrixMap[e]))return{name:e,ranges:[]};t.forEach((e=>{e.mark=!0}));return{name:e,ranges:t.map((e=>e.mark&&this._explore(t,e))).filter(Boolean).map((e=>e.$shortRange))}}normaliseMatrix(e,t){e.forEachInSheet(t,((e,t,r)=>{e&&(e.row===t&&e.col===r||(e.row=t,e.col=r,e.address=i.n2l(r)+t))}))}spliceRows(e,t,r,i){n.each(this.matrixMap,(n=>{n.spliceRows(e,t,r,i),this.normaliseMatrix(n,e)}))}spliceColumns(e,t,r,i){n.each(this.matrixMap,(n=>{n.spliceColumns(e,t,r,i),this.normaliseMatrix(n,e)}))}get model(){return n.map(this.matrixMap,((e,t)=>this.getRanges(t,e))).filter((e=>e.ranges.length))}set model(e){const t=this.matrixMap={};e.forEach((e=>{const r=t[e.name]=new a;e.ranges.forEach((e=>{s.test(e.split("!").pop()||"")&&r.addCell(e)}))}))}}},70880:e=>{"use strict";e.exports={ValueType:{Null:0,Merge:1,Number:2,String:3,Date:4,Hyperlink:5,Formula:6,SharedString:7,RichText:8,Boolean:9,Error:10},FormulaType:{None:0,Master:1,Shared:2},RelationshipType:{None:0,OfficeDocument:1,Worksheet:2,CalcChain:3,SharedStrings:4,Styles:5,Theme:6,Hyperlink:7},DocumentType:{Xlsx:1},ReadingOrder:{LeftToRight:1,RightToLeft:2},ErrorValue:{NotApplicable:"#N/A",Ref:"#REF!",Name:"#NAME?",DivZero:"#DIV/0!",Null:"#NULL!",Value:"#VALUE!",Num:"#NUM!"}}},90239:(e,t,r)=>{const n=r(29428),i=r(14917);e.exports=class{constructor(e,t){this.worksheet=e,this.model=t}get model(){switch(this.type){case"background":return{type:this.type,imageId:this.imageId};case"image":return{type:this.type,imageId:this.imageId,hyperlinks:this.range.hyperlinks,range:{tl:this.range.tl.model,br:this.range.br&&this.range.br.model,ext:this.range.ext,editAs:this.range.editAs}};default:throw new Error("Invalid Image Type")}}set model({type:e,imageId:t,range:r,hyperlinks:a}){if(this.type=e,this.imageId=t,"image"===e)if("string"==typeof r){const e=n.decode(r);this.range={tl:new i(this.worksheet,{col:e.left,row:e.top},-1),br:new i(this.worksheet,{col:e.right,row:e.bottom},0),editAs:"oneCell"}}else this.range={tl:new i(this.worksheet,r.tl,0),br:r.br&&new i(this.worksheet,r.br,0),ext:r.ext,editAs:r.editAs,hyperlinks:a||r.hyperlinks}}}},98236:(e,t,r)=>{"use strict";const n=r(59276);e.exports=class{constructor(e){this.model=e}get xlsx(){return this._xlsx||(this._xlsx=new n(this)),this._xlsx}}},87952:(e,t,r)=>{const n=r(67984);class i{constructor(e){this.note=e}get model(){let e=null;if("string"==typeof this.note)e={type:"note",note:{texts:[{text:this.note}]}};else e={type:"note",note:this.note};return n.deepMerge({},i.DEFAULT_CONFIGS,e)}set model(e){const{note:t}=e,{texts:r}=t;1===r.length&&1===Object.keys(r[0]).length?this.note=r[0].text:this.note=t}static fromModel(e){const t=new i;return t.model=e,t}}i.DEFAULT_CONFIGS={note:{margins:{insetmode:"auto",inset:[.13,.13,.25,.25]},protection:{locked:"True",lockText:"True"},editAs:"absolute"}},e.exports=i},69311:(e,t,r)=>{const n=r(29428);class i{constructor(){this.decode(arguments)}setTLBR(e,t,r,i,a){if(arguments.length<4){const i=n.decodeAddress(e),o=n.decodeAddress(t);this.model={top:Math.min(i.row,o.row),left:Math.min(i.col,o.col),bottom:Math.max(i.row,o.row),right:Math.max(i.col,o.col),sheetName:r},this.setTLBR(i.row,i.col,o.row,o.col,a)}else this.model={top:Math.min(e,r),left:Math.min(t,i),bottom:Math.max(e,r),right:Math.max(t,i),sheetName:a}}decode(e){switch(e.length){case 5:this.setTLBR(e[0],e[1],e[2],e[3],e[4]);break;case 4:this.setTLBR(e[0],e[1],e[2],e[3]);break;case 3:this.setTLBR(e[0],e[1],e[2]);break;case 2:this.setTLBR(e[0],e[1]);break;case 1:{const t=e[0];if(t instanceof i)this.model={top:t.model.top,left:t.model.left,bottom:t.model.bottom,right:t.model.right,sheetName:t.sheetName};else if(t instanceof Array)this.decode(t);else if(t.top&&t.left&&t.bottom&&t.right)this.model={top:t.top,left:t.left,bottom:t.bottom,right:t.right,sheetName:t.sheetName};else{const e=n.decodeEx(t);e.top?this.model={top:e.top,left:e.left,bottom:e.bottom,right:e.right,sheetName:e.sheetName}:this.model={top:e.row,left:e.col,bottom:e.row,right:e.col,sheetName:e.sheetName}}break}case 0:this.model={top:0,left:0,bottom:0,right:0};break;default:throw new Error(`Invalid number of arguments to _getDimensions() - ${e.length}`)}}get top(){return this.model.top||1}set top(e){this.model.top=e}get left(){return this.model.left||1}set left(e){this.model.left=e}get bottom(){return this.model.bottom||1}set bottom(e){this.model.bottom=e}get right(){return this.model.right||1}set right(e){this.model.right=e}get sheetName(){return this.model.sheetName}set sheetName(e){this.model.sheetName=e}get _serialisedSheetName(){const{sheetName:e}=this.model;return e?/^[a-zA-Z0-9]*$/.test(e)?`${e}!`:`'${e}'!`:""}expand(e,t,r,n){(!this.model.top||e<this.top)&&(this.top=e),(!this.model.left||t<this.left)&&(this.left=t),(!this.model.bottom||r>this.bottom)&&(this.bottom=r),(!this.model.right||n>this.right)&&(this.right=n)}expandRow(e){if(e){const{dimensions:t,number:r}=e;t&&this.expand(r,t.min,r,t.max)}}expandToAddress(e){const t=n.decodeEx(e);this.expand(t.row,t.col,t.row,t.col)}get tl(){return n.n2l(this.left)+this.top}get $t$l(){return`$${n.n2l(this.left)}$${this.top}`}get br(){return n.n2l(this.right)+this.bottom}get $b$r(){return`$${n.n2l(this.right)}$${this.bottom}`}get range(){return`${this._serialisedSheetName+this.tl}:${this.br}`}get $range(){return`${this._serialisedSheetName+this.$t$l}:${this.$b$r}`}get shortRange(){return this.count>1?this.range:this._serialisedSheetName+this.tl}get $shortRange(){return this.count>1?this.$range:this._serialisedSheetName+this.$t$l}get count(){return(1+this.bottom-this.top)*(1+this.right-this.left)}toString(){return this.range}intersects(e){return(!e.sheetName||!this.sheetName||e.sheetName===this.sheetName)&&(!(e.bottom<this.top)&&(!(e.top>this.bottom)&&(!(e.right<this.left)&&!(e.left>this.right))))}contains(e){const t=n.decodeEx(e);return this.containsEx(t)}containsEx(e){return(!e.sheetName||!this.sheetName||e.sheetName===this.sheetName)&&(e.row>=this.top&&e.row<=this.bottom&&e.col>=this.left&&e.col<=this.right)}forEachAddress(e){for(let t=this.left;t<=this.right;t++)for(let r=this.top;r<=this.bottom;r++)e(n.encodeAddress(r,t),r,t)}}e.exports=i},5842:(e,t,r)=>{"use strict";const n=r(67984),i=r(70880),a=r(29428),o=r(88732);e.exports=class{constructor(e,t){this._worksheet=e,this._number=t,this._cells=[],this.style={},this.outlineLevel=0}get number(){return this._number}get worksheet(){return this._worksheet}commit(){this._worksheet._commitRow(this)}destroy(){delete this._worksheet,delete this._cells,delete this.style}findCell(e){return this._cells[e-1]}getCellEx(e){let t=this._cells[e.col-1];if(!t){const r=this._worksheet.getColumn(e.col);t=new o(this,r,e.address),this._cells[e.col-1]=t}return t}getCell(e){if("string"==typeof e){const t=this._worksheet.getColumnKey(e);e=t?t.number:a.l2n(e)}return this._cells[e-1]||this.getCellEx({address:a.encodeAddress(this._number,e),row:this._number,col:e})}splice(e,t,...r){const n=e+t,i=r.length-t,a=this._cells.length;let o,s,c;if(i<0)for(o=e+r.length;o<=a;o++)c=this._cells[o-1],s=this._cells[o-i-1],s?(c=this.getCell(o),c.value=s.value,c.style=s.style,c._comment=s._comment):c&&(c.value=null,c.style={},c._comment=void 0);else if(i>0)for(o=a;o>=n;o--)s=this._cells[o-1],s?(c=this.getCell(o+i),c.value=s.value,c.style=s.style,c._comment=s._comment):this._cells[o+i-1]=void 0;for(o=0;o<r.length;o++)c=this.getCell(e+o),c.value=r[o],c.style={},c._comment=void 0}eachCell(e,t){if(t||(t=e,e=null),e&&e.includeEmpty){const e=this._cells.length;for(let r=1;r<=e;r++)t(this.getCell(r),r)}else this._cells.forEach(((e,r)=>{e&&e.type!==i.ValueType.Null&&t(e,r+1)}))}addPageBreak(e,t){const r=this._worksheet,n=Math.max(0,e-1)||0,i=Math.max(0,t-1)||16838,a={id:this._number,max:i,man:1};n&&(a.min=n),r.rowBreaks.push(a)}get values(){const e=[];return this._cells.forEach((t=>{t&&t.type!==i.ValueType.Null&&(e[t.col]=t.value)})),e}set values(e){if(this._cells=[],e)if(e instanceof Array){let t=0;e.hasOwnProperty("0")&&(t=1),e.forEach(((e,r)=>{void 0!==e&&(this.getCellEx({address:a.encodeAddress(this._number,r+t),row:this._number,col:r+t}).value=e)}))}else this._worksheet.eachColumnKey(((t,r)=>{void 0!==e[r]&&(this.getCellEx({address:a.encodeAddress(this._number,t.number),row:this._number,col:t.number}).value=e[r])}));else;}get hasValues(){return n.some(this._cells,(e=>e&&e.type!==i.ValueType.Null))}get cellCount(){return this._cells.length}get actualCellCount(){let e=0;return this.eachCell((()=>{e++})),e}get dimensions(){let e=0,t=0;return this._cells.forEach((r=>{r&&r.type!==i.ValueType.Null&&((!e||e>r.col)&&(e=r.col),t<r.col&&(t=r.col))})),e>0?{min:e,max:t}:null}_applyStyle(e,t){return this.style[e]=t,this._cells.forEach((r=>{r&&(r[e]=t)})),t}get numFmt(){return this.style.numFmt}set numFmt(e){this._applyStyle("numFmt",e)}get font(){return this.style.font}set font(e){this._applyStyle("font",e)}get alignment(){return this.style.alignment}set alignment(e){this._applyStyle("alignment",e)}get protection(){return this.style.protection}set protection(e){this._applyStyle("protection",e)}get border(){return this.style.border}set border(e){this._applyStyle("border",e)}get fill(){return this.style.fill}set fill(e){this._applyStyle("fill",e)}get hidden(){return!!this._hidden}set hidden(e){this._hidden=e}get outlineLevel(){return this._outlineLevel||0}set outlineLevel(e){this._outlineLevel=e}get collapsed(){return!!(this._outlineLevel&&this._outlineLevel>=this._worksheet.properties.outlineLevelRow)}get model(){const e=[];let t=0,r=0;return this._cells.forEach((n=>{if(n){const i=n.model;i&&((!t||t>n.col)&&(t=n.col),r<n.col&&(r=n.col),e.push(i))}})),this.height||e.length?{cells:e,number:this.number,min:t,max:r,height:this.height,style:this.style,hidden:this.hidden,outlineLevel:this.outlineLevel,collapsed:this.collapsed}:null}set model(e){if(e.number!==this._number)throw new Error("Invalid row number in model");let t;this._cells=[],e.cells.forEach((e=>{switch(e.type){case o.Types.Merge:break;default:{let r;if(e.address)r=a.decodeAddress(e.address);else if(t){const{row:e}=t,n=t.col+1;r={row:e,col:n,address:a.encodeAddress(e,n),$col$row:`$${a.n2l(n)}$${e}`}}t=r;this.getCellEx(r).model=e;break}}})),e.height?this.height=e.height:delete this.height,this.hidden=e.hidden,this.outlineLevel=e.outlineLevel||0,this.style=e.style&&JSON.parse(JSON.stringify(e.style))||{}}}},7694:(e,t,r)=>{const n=r(29428);class i{constructor(e,t,r){this.table=e,this.column=t,this.index=r}_set(e,t){this.table.cacheState(),this.column[e]=t}get name(){return this.column.name}set name(e){this._set("name",e)}get filterButton(){return this.column.filterButton}set filterButton(e){this.column.filterButton=e}get style(){return this.column.style}set style(e){this.column.style=e}get totalsRowLabel(){return this.column.totalsRowLabel}set totalsRowLabel(e){this._set("totalsRowLabel",e)}get totalsRowFunction(){return this.column.totalsRowFunction}set totalsRowFunction(e){this._set("totalsRowFunction",e)}get totalsRowResult(){return this.column.totalsRowResult}set totalsRowResult(e){this._set("totalsRowResult",e)}get totalsRowFormula(){return this.column.totalsRowFormula}set totalsRowFormula(e){this._set("totalsRowFormula",e)}}e.exports=class{constructor(e,t){this.worksheet=e,t&&(this.table=t,this.validate(),this.store())}getFormula(e){switch(e.totalsRowFunction){case"none":return null;case"average":return`SUBTOTAL(101,${this.table.name}[${e.name}])`;case"countNums":return`SUBTOTAL(102,${this.table.name}[${e.name}])`;case"count":return`SUBTOTAL(103,${this.table.name}[${e.name}])`;case"max":return`SUBTOTAL(104,${this.table.name}[${e.name}])`;case"min":return`SUBTOTAL(105,${this.table.name}[${e.name}])`;case"stdDev":return`SUBTOTAL(106,${this.table.name}[${e.name}])`;case"var":return`SUBTOTAL(107,${this.table.name}[${e.name}])`;case"sum":return`SUBTOTAL(109,${this.table.name}[${e.name}])`;case"custom":return e.totalsRowFormula;default:throw new Error(`Invalid Totals Row Function: ${e.totalsRowFunction}`)}}get width(){return this.table.columns.length}get height(){return this.table.rows.length}get filterHeight(){return this.height+(this.table.headerRow?1:0)}get tableHeight(){return this.filterHeight+(this.table.totalsRow?1:0)}validate(){const{table:e}=this,t=(e,t,r)=>{void 0===e[t]&&(e[t]=r)};t(e,"headerRow",!0),t(e,"totalsRow",!1),t(e,"style",{}),t(e.style,"theme","TableStyleMedium2"),t(e.style,"showFirstColumn",!1),t(e.style,"showLastColumn",!1),t(e.style,"showRowStripes",!1),t(e.style,"showColumnStripes",!1);const r=(e,t)=>{if(!e)throw new Error(t)};r(e.ref,"Table must have ref"),r(e.columns,"Table must have column definitions"),r(e.rows,"Table must have row definitions"),e.tl=n.decodeAddress(e.ref);const{row:i,col:a}=e.tl;r(i>0,"Table must be on valid row"),r(a>0,"Table must be on valid col");const{width:o,filterHeight:s,tableHeight:c}=this;e.autoFilterRef=n.encode(i,a,i+s-1,a+o-1),e.tableRef=n.encode(i,a,i+c-1,a+o-1),e.columns.forEach(((e,n)=>{r(e.name,`Column ${n} must have a name`),0===n?t(e,"totalsRowLabel","Total"):(t(e,"totalsRowFunction","none"),e.totalsRowFormula=this.getFormula(e))}))}store(){const e=(e,t)=>{t&&Object.keys(t).forEach((r=>{e[r]=t[r]}))},{worksheet:t,table:r}=this,{row:n,col:i}=r.tl;let a=0;if(r.headerRow){const o=t.getRow(n+a++);r.columns.forEach(((t,r)=>{const{style:n,name:a}=t,s=o.getCell(i+r);s.value=a,e(s,n)}))}if(r.rows.forEach((o=>{const s=t.getRow(n+a++);o.forEach(((t,n)=>{const a=s.getCell(i+n);a.value=t,e(a,r.columns[n].style)}))})),r.totalsRow){const o=t.getRow(n+a++);r.columns.forEach(((t,r)=>{const n=o.getCell(i+r);if(0===r)n.value=t.totalsRowLabel;else{const e=this.getFormula(t);n.value=e?{formula:t.totalsRowFormula,result:t.totalsRowResult}:null}e(n,t.style)}))}}load(e){const{table:t}=this,{row:r,col:n}=t.tl;let i=0;if(t.headerRow){const a=e.getRow(r+i++);t.columns.forEach(((e,t)=>{a.getCell(n+t).value=e.name}))}if(t.rows.forEach((t=>{const a=e.getRow(r+i++);t.forEach(((e,t)=>{a.getCell(n+t).value=e}))})),t.totalsRow){const a=e.getRow(r+i++);t.columns.forEach(((e,t)=>{const r=a.getCell(n+t);if(0===t)r.value=e.totalsRowLabel;else{this.getFormula(e)&&(r.value={formula:e.totalsRowFormula,result:e.totalsRowResult})}}))}}get model(){return this.table}set model(e){this.table=e}cacheState(){this._cache||(this._cache={ref:this.ref,width:this.width,tableHeight:this.tableHeight})}commit(){if(!this._cache)return;this.validate();const e=n.decodeAddress(this._cache.ref);if(this.ref!==this._cache.ref)for(let t=0;t<this._cache.tableHeight;t++){const r=this.worksheet.getRow(e.row+t);for(let t=0;t<this._cache.width;t++){r.getCell(e.col+t).value=null}}else{for(let t=this.tableHeight;t<this._cache.tableHeight;t++){const r=this.worksheet.getRow(e.row+t);for(let t=0;t<this._cache.width;t++){r.getCell(e.col+t).value=null}}for(let t=0;t<this.tableHeight;t++){const r=this.worksheet.getRow(e.row+t);for(let t=this.width;t<this._cache.width;t++){r.getCell(e.col+t).value=null}}}this.store()}addRow(e,t){this.cacheState(),void 0===t?this.table.rows.push(e):this.table.rows.splice(t,0,e)}removeRows(e,t=1){this.cacheState(),this.table.rows.splice(e,t)}getColumn(e){const t=this.table.columns[e];return new i(this,t,e)}addColumn(e,t,r){this.cacheState(),void 0===r?(this.table.columns.push(e),this.table.rows.forEach(((e,r)=>{e.push(t[r])}))):(this.table.columns.splice(r,0,e),this.table.rows.forEach(((e,n)=>{e.splice(r,0,t[n])})))}removeColumns(e,t=1){this.cacheState(),this.table.columns.splice(e,t),this.table.rows.forEach((r=>{r.splice(e,t)}))}_assign(e,t,r){this.cacheState(),e[t]=r}get ref(){return this.table.ref}set ref(e){this._assign(this.table,"ref",e)}get name(){return this.table.name}set name(e){this.table.name=e}get displayName(){return this.table.displyName||this.table.name}set displayNamename(e){this.table.displayName=e}get headerRow(){return this.table.headerRow}set headerRow(e){this._assign(this.table,"headerRow",e)}get totalsRow(){return this.table.totalsRow}set totalsRow(e){this._assign(this.table,"totalsRow",e)}get theme(){return this.table.style.name}set theme(e){this.table.style.name=e}get showFirstColumn(){return this.table.style.showFirstColumn}set showFirstColumn(e){this.table.style.showFirstColumn=e}get showLastColumn(){return this.table.style.showLastColumn}set showLastColumn(e){this.table.style.showLastColumn=e}get showRowStripes(){return this.table.style.showRowStripes}set showRowStripes(e){this.table.style.showRowStripes=e}get showColumnStripes(){return this.table.style.showColumnStripes}set showColumnStripes(e){this.table.style.showColumnStripes=e}}},12432:(e,t,r)=>{"use strict";const n=r(82346),i=r(13522),a=r(59276),o=r(75772);e.exports=class{constructor(){this.category="",this.company="",this.created=new Date,this.description="",this.keywords="",this.manager="",this.modified=this.created,this.properties={},this.calcProperties={},this._worksheets=[],this.subject="",this.title="",this.views=[],this.media=[],this._definedNames=new i}get xlsx(){return this._xlsx||(this._xlsx=new a(this)),this._xlsx}get csv(){return this._csv||(this._csv=new o(this)),this._csv}get nextId(){for(let e=1;e<this._worksheets.length;e++)if(!this._worksheets[e])return e;return this._worksheets.length||1}addWorksheet(e,t){const r=this.nextId;t&&("string"==typeof t?(console.trace('tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { argb: "rbg value" } }'),t={properties:{tabColor:{argb:t}}}):(t.argb||t.theme||t.indexed)&&(console.trace("tabColor argument is now deprecated. Please use workbook.addWorksheet(name, {properties: { tabColor: { ... } }"),t={properties:{tabColor:t}}));const i=this._worksheets.reduce(((e,t)=>(t&&t.orderNo)>e?t.orderNo:e),0),a=Object.assign({},t,{id:r,name:e,orderNo:i+1,workbook:this}),o=new n(a);return this._worksheets[r]=o,o}removeWorksheetEx(e){delete this._worksheets[e.id]}removeWorksheet(e){const t=this.getWorksheet(e);t&&t.destroy()}getWorksheet(e){return void 0===e?this._worksheets.find(Boolean):"number"==typeof e?this._worksheets[e]:"string"==typeof e?this._worksheets.find((t=>t&&t.name===e)):void 0}get worksheets(){return this._worksheets.slice(1).sort(((e,t)=>e.orderNo-t.orderNo)).filter(Boolean)}eachSheet(e){this.worksheets.forEach((t=>{e(t,t.id)}))}get definedNames(){return this._definedNames}clearThemes(){this._themes=void 0}addImage(e){const t=this.media.length;return this.media.push(Object.assign({},e,{type:"image"})),t}getImage(e){return this.media[e]}get model(){return{creator:this.creator||"Unknown",lastModifiedBy:this.lastModifiedBy||"Unknown",lastPrinted:this.lastPrinted,created:this.created,modified:this.modified,properties:this.properties,worksheets:this.worksheets.map((e=>e.model)),sheets:this.worksheets.map((e=>e.model)).filter(Boolean),definedNames:this._definedNames.model,views:this.views,company:this.company,manager:this.manager,title:this.title,subject:this.subject,keywords:this.keywords,category:this.category,description:this.description,language:this.language,revision:this.revision,contentStatus:this.contentStatus,themes:this._themes,media:this.media,calcProperties:this.calcProperties}}set model(e){this.creator=e.creator,this.lastModifiedBy=e.lastModifiedBy,this.lastPrinted=e.lastPrinted,this.created=e.created,this.modified=e.modified,this.company=e.company,this.manager=e.manager,this.title=e.title,this.subject=e.subject,this.keywords=e.keywords,this.category=e.category,this.description=e.description,this.language=e.language,this.revision=e.revision,this.contentStatus=e.contentStatus,this.properties=e.properties,this.calcProperties=e.calcProperties,this._worksheets=[],e.worksheets.forEach((t=>{const{id:r,name:i,state:a}=t,o=e.sheets&&e.sheets.findIndex((e=>e.id===r));(this._worksheets[r]=new n({id:r,name:i,orderNo:o,state:a,workbook:this})).model=t})),this._definedNames.model=e.definedNames,this.views=e.views,this._themes=e.themes,this.media=e.media||[]}}},82346:(e,t,r)=>{const n=r(67984),i=r(29428),a=r(69311),o=r(5842),s=r(93362),c=r(70880),l=r(90239),u=r(7694),d=r(88561),p=r(7257),{copyStyle:f}=r(76172);e.exports=class{constructor(e){e=e||{},this._workbook=e.workbook,this.id=e.id,this.orderNo=e.orderNo,this.name=e.name,this.state=e.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges={},this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},e.properties),this.pageSetup=Object.assign({},{margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!(!e.pageSetup||!e.pageSetup.fitToWidth&&!e.pageSetup.fitToHeight||e.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,firstPageNumber:void 0,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},e.pageSetup),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},e.headerFooter),this.dataValidations=new d,this.views=e.views||[],this.autoFilter=e.autoFilter||null,this._media=[],this.sheetProtection=null,this.tables={},this.conditionalFormattings=[]}get name(){return this._name}set name(e){if(void 0===e&&(e=`sheet${this.id}`),this._name!==e){if("string"!=typeof e)throw new Error("The name has to be a string.");if(""===e)throw new Error("The name can't be empty.");if("History"===e)throw new Error('The name "History" is protected. Please use a different name.');if(/[*?:/\\[\]]/.test(e))throw new Error(`Worksheet name ${e} cannot include any of the following characters: * ? : \\ / [ ]`);if(/(^')|('$)/.test(e))throw new Error(`The first or last character of worksheet name cannot be a single quotation mark: ${e}`);if(e&&e.length>31&&(console.warn(`Worksheet name ${e} exceeds 31 chars. This will be truncated`),e=e.substring(0,31)),this._workbook._worksheets.find((t=>t&&t.name.toLowerCase()===e.toLowerCase())))throw new Error(`Worksheet name already exists: ${e}`);this._name=e}}get workbook(){return this._workbook}destroy(){this._workbook.removeWorksheetEx(this)}get dimensions(){const e=new a;return this._rows.forEach((t=>{if(t){const r=t.dimensions;r&&e.expand(t.number,r.min,t.number,r.max)}})),e}get columns(){return this._columns}set columns(e){this._headerRowCount=e.reduce(((e,t)=>{const r=(t.header?1:t.headers&&t.headers.length)||0;return Math.max(e,r)}),0);let t=1;const r=this._columns=[];e.forEach((e=>{const n=new s(this,t++,!1);r.push(n),n.defn=e}))}getColumnKey(e){return this._keys[e]}setColumnKey(e,t){this._keys[e]=t}deleteColumnKey(e){delete this._keys[e]}eachColumnKey(e){n.each(this._keys,e)}getColumn(e){if("string"==typeof e){const t=this._keys[e];if(t)return t;e=i.l2n(e)}if(this._columns||(this._columns=[]),e>this._columns.length){let t=this._columns.length+1;for(;t<=e;)this._columns.push(new s(this,t++))}return this._columns[e-1]}spliceColumns(e,t,...r){const n=this._rows.length;if(r.length>0)for(let i=0;i<n;i++){const n=[e,t];r.forEach((e=>{n.push(e[i]||null)}));const a=this.getRow(i+1);a.splice.apply(a,n)}else this._rows.forEach((r=>{r&&r.splice(e,t)}));const i=r.length-t,a=e+t,o=this._columns.length;if(i<0)for(let t=e+r.length;t<=o;t++)this.getColumn(t).defn=this.getColumn(t-i).defn;else if(i>0)for(let e=o;e>=a;e--)this.getColumn(e+i).defn=this.getColumn(e).defn;for(let t=e;t<e+r.length;t++)this.getColumn(t).defn=null;this.workbook.definedNames.spliceColumns(this.name,e,t,r.length)}get lastColumn(){return this.getColumn(this.columnCount)}get columnCount(){let e=0;return this.eachRow((t=>{e=Math.max(e,t.cellCount)})),e}get actualColumnCount(){const e=[];let t=0;return this.eachRow((r=>{r.eachCell((({col:r})=>{e[r]||(e[r]=!0,t++)}))})),t}_commitRow(){}get _lastRowNumber(){const e=this._rows;let t=e.length;for(;t>0&&void 0===e[t-1];)t--;return t}get _nextRow(){return this._lastRowNumber+1}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1]}findRow(e){return this._rows[e-1]}findRows(e,t){return this._rows.slice(e-1,e-1+t)}get rowCount(){return this._lastRowNumber}get actualRowCount(){let e=0;return this.eachRow((()=>{e++})),e}getRow(e){let t=this._rows[e-1];return t||(t=this._rows[e-1]=new o(this,e)),t}getRows(e,t){if(t<1)return;const r=[];for(let n=e;n<e+t;n++)r.push(this.getRow(n));return r}addRow(e,t="n"){const r=this._nextRow,n=this.getRow(r);return n.values=e,this._setStyleOption(r,"i"===t[0]?t:"n"),n}addRows(e,t="n"){const r=[];return e.forEach((e=>{r.push(this.addRow(e,t))})),r}insertRow(e,t,r="n"){return this.spliceRows(e,0,t),this._setStyleOption(e,r),this.getRow(e)}insertRows(e,t,r="n"){if(this.spliceRows(e,0,...t),"n"!==r)for(let n=0;n<t.length;n++)"o"===r[0]&&void 0!==this.findRow(t.length+e+n)?this._copyStyle(t.length+e+n,e+n,"+"===r[1]):"i"===r[0]&&void 0!==this.findRow(e-1)&&this._copyStyle(e-1,e+n,"+"===r[1]);return this.getRows(e,t.length)}_setStyleOption(e,t="n"){"o"===t[0]&&void 0!==this.findRow(e+1)?this._copyStyle(e+1,e,"+"===t[1]):"i"===t[0]&&void 0!==this.findRow(e-1)&&this._copyStyle(e-1,e,"+"===t[1])}_copyStyle(e,t,r=!1){const n=this.getRow(e),i=this.getRow(t);i.style=f(n.style),n.eachCell({includeEmpty:r},((e,t)=>{i.getCell(t).style=f(e.style)})),i.height=n.height}duplicateRow(e,t,r=!1){const n=this._rows[e-1],i=new Array(t).fill(n.values);this.spliceRows(e+1,r?0:t,...i);for(let r=0;r<t;r++){const t=this._rows[e+r];t.style=n.style,t.height=n.height,n.eachCell({includeEmpty:!0},((e,r)=>{t.getCell(r).style=e.style}))}}spliceRows(e,t,...r){const n=e+t,i=r.length,a=i-t,o=this._rows.length;let s,c;if(a<0)for(e===o&&(this._rows[o-1]=void 0),s=n;s<=o;s++)if(c=this._rows[s-1],c){const e=this.getRow(s+a);e.values=c.values,e.style=c.style,e.height=c.height,c.eachCell({includeEmpty:!0},((t,r)=>{e.getCell(r).style=t.style})),this._rows[s-1]=void 0}else this._rows[s+a-1]=void 0;else if(a>0)for(s=o;s>=n;s--)if(c=this._rows[s-1],c){const e=this.getRow(s+a);e.values=c.values,e.style=c.style,e.height=c.height,c.eachCell({includeEmpty:!0},((t,r)=>{if(e.getCell(r).style=t.style,"MergeValue"===t._value.constructor.name){const e=this.getRow(t._row._number+i).getCell(r),n=t._value._master,a=this.getRow(n._row._number+i).getCell(n._column._number);e.merge(a)}}))}else this._rows[s+a-1]=void 0;for(s=0;s<i;s++){const t=this.getRow(e+s);t.style={},t.values=r[s]}this.workbook.definedNames.spliceRows(this.name,e,t,i)}eachRow(e,t){if(t||(t=e,e=void 0),e&&e.includeEmpty){const e=this._rows.length;for(let r=1;r<=e;r++)t(this.getRow(r),r)}else this._rows.forEach((e=>{e&&e.hasValues&&t(e,e.number)}))}getSheetValues(){const e=[];return this._rows.forEach((t=>{t&&(e[t.number]=t.values)})),e}findCell(e,t){const r=i.getAddress(e,t),n=this._rows[r.row-1];return n?n.findCell(r.col):void 0}getCell(e,t){const r=i.getAddress(e,t);return this.getRow(r.row).getCellEx(r)}mergeCells(...e){const t=new a(e);this._mergeCellsInternal(t)}mergeCellsWithoutStyle(...e){const t=new a(e);this._mergeCellsInternal(t,!0)}_mergeCellsInternal(e,t){n.each(this._merges,(t=>{if(t.intersects(e))throw new Error("Cannot merge already merged cells")}));const r=this.getCell(e.top,e.left);for(let n=e.top;n<=e.bottom;n++)for(let i=e.left;i<=e.right;i++)(n>e.top||i>e.left)&&this.getCell(n,i).merge(r,t);this._merges[r.address]=e}_unMergeMaster(e){const t=this._merges[e.address];if(t){for(let e=t.top;e<=t.bottom;e++)for(let r=t.left;r<=t.right;r++)this.getCell(e,r).unmerge();delete this._merges[e.address]}}get hasMerges(){return n.some(this._merges,Boolean)}unMergeCells(...e){const t=new a(e);for(let e=t.top;e<=t.bottom;e++)for(let r=t.left;r<=t.right;r++){const t=this.findCell(e,r);t&&(t.type===c.ValueType.Merge?this._unMergeMaster(t.master):this._merges[t.address]&&this._unMergeMaster(t))}}fillFormula(e,t,r,n="shared"){const a=i.decode(e),{top:o,left:s,bottom:c,right:l}=a,u=l-s+1,d=i.encodeAddress(o,s),p="shared"===n;let f;f="function"==typeof r?r:Array.isArray(r)?Array.isArray(r[0])?(e,t)=>r[e-o][t-s]:(e,t)=>r[(e-o)*u+(t-s)]:()=>{};let m=!0;for(let r=o;r<=c;r++)for(let i=s;i<=l;i++)m?(this.getCell(r,i).value={shareType:n,formula:t,ref:e,result:f(r,i)},m=!1):this.getCell(r,i).value=p?{sharedFormula:d,result:f(r,i)}:f(r,i)}addImage(e,t){const r={type:"image",imageId:e,range:t};this._media.push(new l(this,r))}getImages(){return this._media.filter((e=>"image"===e.type))}addBackgroundImage(e){const t={type:"background",imageId:e};this._media.push(new l(this,t))}getBackgroundImageId(){const e=this._media.find((e=>"background"===e.type));return e&&e.imageId}protect(e,t){return new Promise((r=>{this.sheetProtection={sheet:!0},t&&"spinCount"in t&&(t.spinCount=Number.isFinite(t.spinCount)?Math.round(Math.max(0,t.spinCount)):1e5),e&&(this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=p.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=t&&"spinCount"in t?t.spinCount:1e5,this.sheetProtection.hashValue=p.convertPasswordToHash(e,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount)),t&&(this.sheetProtection=Object.assign(this.sheetProtection,t),!e&&"spinCount"in t&&delete this.sheetProtection.spinCount),r()}))}unprotect(){this.sheetProtection=null}addTable(e){const t=new u(this,e);return this.tables[e.name]=t,t}getTable(e){return this.tables[e]}removeTable(e){delete this.tables[e]}getTables(){return Object.values(this.tables)}addConditionalFormatting(e){this.conditionalFormattings.push(e)}removeConditionalFormatting(e){"number"==typeof e?this.conditionalFormattings.splice(e,1):this.conditionalFormattings=e instanceof Function?this.conditionalFormattings.filter(e):[]}get tabColor(){return console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor}set tabColor(e){console.trace("worksheet.tabColor property is now deprecated. Please use worksheet.properties.tabColor"),this.properties.tabColor=e}get model(){const e={id:this.id,name:this.name,dataValidations:this.dataValidations.model,properties:this.properties,state:this.state,pageSetup:this.pageSetup,headerFooter:this.headerFooter,rowBreaks:this.rowBreaks,views:this.views,autoFilter:this.autoFilter,media:this._media.map((e=>e.model)),sheetProtection:this.sheetProtection,tables:Object.values(this.tables).map((e=>e.model)),conditionalFormattings:this.conditionalFormattings};e.cols=s.toModel(this.columns);const t=e.rows=[],r=e.dimensions=new a;return this._rows.forEach((e=>{const n=e&&e.model;n&&(r.expand(n.number,n.min,n.number,n.max),t.push(n))})),e.merges=[],n.each(this._merges,(t=>{e.merges.push(t.range)})),e}_parseRows(e){this._rows=[],e.rows.forEach((e=>{const t=new o(this,e.number);this._rows[t.number-1]=t,t.model=e}))}_parseMergeCells(e){n.each(e.mergeCells,(e=>{this.mergeCellsWithoutStyle(e)}))}set model(e){this.name=e.name,this._columns=s.fromModel(this,e.cols),this._parseRows(e),this._parseMergeCells(e),this.dataValidations=new d(e.dataValidations),this.properties=e.properties,this.pageSetup=e.pageSetup,this.headerFooter=e.headerFooter,this.views=e.views,this.autoFilter=e.autoFilter,this._media=e.media.map((e=>new l(this,e))),this.sheetProtection=e.sheetProtection,this.tables=e.tables.reduce(((e,t)=>{const r=new u;return r.model=t,e[t.name]=r,e}),{}),this.conditionalFormattings=e.conditionalFormattings}}},25046:(e,t,r)=>{const n={Workbook:r(12432),ModelContainer:r(98236),stream:{xlsx:{WorkbookWriter:r(3682),WorkbookReader:r(34114)}}};Object.assign(n,r(70880)),e.exports=n},31090:(e,t,r)=>{const{EventEmitter:n}=r(24434),i=r(37043),a=r(70880),o=r(71745);e.exports=class extends n{constructor({workbook:e,id:t,iterator:r,options:n}){super(),this.workbook=e,this.id=t,this.iterator=r,this.options=n}get count(){return this.hyperlinks&&this.hyperlinks.length||0}each(e){return this.hyperlinks.forEach(e)}async read(){const{iterator:e,options:t}=this;let r=!1,n=null;switch(t.hyperlinks){case"emit":r=!0;break;case"cache":this.hyperlinks=n={}}if(r||n)try{for await(const t of i(e))for(const{eventType:e,value:i}of t)if("opentag"===e){const e=i;if("Relationship"===e.name){const t=e.attributes.Id;if(e.attributes.Type===o.Hyperlink){const i={type:a.RelationshipType.Styles,rId:t,target:e.attributes.Target,targetMode:e.attributes.TargetMode};r?this.emit("hyperlink",i):n[i.rId]=i}}}this.emit("finished")}catch(e){this.emit("error",e)}else this.emit("finished")}}},95234:(e,t,r)=>{const n=r(12141),i=r(71745),a=r(29428),o=r(41710),s=r(23712);e.exports=class{constructor(e,t,r){this.id=r.id,this.count=0,this._worksheet=e,this._workbook=r.workbook,this._sheetRelsWriter=t}get commentsStream(){return this._commentsStream||(this._commentsStream=this._workbook._openStream(`/xl/comments${this.id}.xml`)),this._commentsStream}get vmlStream(){return this._vmlStream||(this._vmlStream=this._workbook._openStream(`xl/drawings/vmlDrawing${this.id}.vml`)),this._vmlStream}_addRelationships(){const e={Type:i.Comments,Target:`../comments${this.id}.xml`};this._sheetRelsWriter.addRelationship(e);const t={Type:i.VmlDrawing,Target:`../drawings/vmlDrawing${this.id}.vml`};this.vmlRelId=this._sheetRelsWriter.addRelationship(t)}_addCommentRefs(){this._workbook.commentRefs.push({commentName:`comments${this.id}`,vmlDrawing:`vmlDrawing${this.id}`})}_writeOpen(){this.commentsStream.write('<?xml version="1.0" encoding="UTF-8" standalone="yes"?><comments xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><authors><author>Author</author></authors><commentList>'),this.vmlStream.write('<?xml version="1.0" encoding="UTF-8"?><xml xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:x="urn:schemas-microsoft-com:office:excel"><o:shapelayout v:ext="edit"><o:idmap v:ext="edit" data="1" /></o:shapelayout><v:shapetype id="_x0000_t202" coordsize="21600,21600" o:spt="202" path="m,l,21600r21600,l21600,xe"><v:stroke joinstyle="miter" /><v:path gradientshapeok="t" o:connecttype="rect" /></v:shapetype>')}_writeComment(e,t){const r=new o,i=new n;r.render(i,e),this.commentsStream.write(i.xml);const a=new s,c=new n;a.render(c,e,t),this.vmlStream.write(c.xml)}_writeClose(){this.commentsStream.write("</commentList></comments>"),this.vmlStream.write("</xml>")}addComments(e){e&&e.length&&(this.startedData||(this._worksheet.comments=[],this._writeOpen(),this._addRelationships(),this._addCommentRefs(),this.startedData=!0),e.forEach((e=>{e.refAddress=a.decodeAddress(e.ref)})),e.forEach((e=>{this._writeComment(e,this.count),this.count+=1})))}commit(){this.count&&(this._writeClose(),this.commentsStream.end(),this.vmlStream.end())}}},72404:(e,t,r)=>{const n=r(67032),i=r(71745);class a{constructor(e){this.writer=e}push(e){this.writer.addHyperlink(e)}}e.exports=class{constructor(e){this.id=e.id,this.count=0,this._hyperlinks=[],this._workbook=e.workbook}get stream(){return this._stream||(this._stream=this._workbook._openStream(`/xl/worksheets/_rels/sheet${this.id}.xml.rels`)),this._stream}get length(){return this._hyperlinks.length}each(e){return this._hyperlinks.forEach(e)}get hyperlinksProxy(){return this._hyperlinksProxy||(this._hyperlinksProxy=new a(this))}addHyperlink(e){const t={Target:e.target,Type:i.Hyperlink,TargetMode:"External"},r=this._writeRelationship(t);this._hyperlinks.push({rId:r,address:e.address})}addMedia(e){return this._writeRelationship(e)}addRelationship(e){return this._writeRelationship(e)}commit(){this.count&&(this._writeClose(),this.stream.end())}_writeOpen(){this.stream.write('<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n <Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">')}_writeRelationship(e){this.count||this._writeOpen();const t="rId"+ ++this.count;return e.TargetMode?this.stream.write(`<Relationship Id="${t}" Type="${e.Type}" Target="${n.xmlEncode(e.Target)}" TargetMode="${e.TargetMode}"/>`):this.stream.write(`<Relationship Id="${t}" Type="${e.Type}" Target="${e.Target}"/>`),t}_writeClose(){this.stream.write("</Relationships>")}}},34114:(e,t,r)=>{const n=r(79896),{EventEmitter:i}=r(24434),{PassThrough:a,Readable:o}=r(34198),s=r(2203),c=r(14490),l=r(35083),u=r(83676),d=r(37043),p=r(17647),f=r(22519),m=r(61724),g=r(51648),_=r(31090);l.setGracefulCleanup();class h extends i{constructor(e,t={}){super(),this.input=e,this.options={worksheets:"emit",sharedStrings:"cache",hyperlinks:"ignore",styles:"ignore",entries:"ignore",...t},this.styles=new p,this.styles.init()}_getStream(e){if(e instanceof s.Readable||e instanceof o)return e;if("string"==typeof e)return n.createReadStream(e);throw new Error(`Could not recognise input: ${e}`)}async read(e,t){try{for await(const{eventType:r,value:n}of this.parse(e,t))switch(r){case"shared-strings":case"hyperlinks":this.emit(r,n);break;case"worksheet":this.emit(r,n),await n.read()}this.emit("end"),this.emit("finished")}catch(e){this.emit("error",e)}}async*[Symbol.asyncIterator](){for await(const{eventType:e,value:t}of this.parse())"worksheet"===e&&(yield t)}async*parse(e,t){t&&(this.options=t);const r=this.stream=this._getStream(e||this.input),i=c.Parse({forceStream:!0});r.pipe(i);const o=[];for await(const e of u(i)){let t,r;switch(e.path){case"_rels/.rels":break;case"xl/_rels/workbook.xml.rels":await this._parseRels(e);break;case"xl/workbook.xml":await this._parseWorkbook(e);break;case"xl/sharedStrings.xml":yield*this._parseSharedStrings(e);break;case"xl/styles.xml":await this._parseStyles(e);break;default:e.path.match(/xl\/worksheets\/sheet\d+[.]xml/)?(t=e.path.match(/xl\/worksheets\/sheet(\d+)[.]xml/),r=t[1],this.sharedStrings&&this.workbookRels?yield*this._parseWorksheet(u(e),r):await new Promise(((t,i)=>{l.file(((a,s,c,l)=>{if(a)return i(a);o.push({sheetNo:r,path:s,tempFileCleanupCallback:l});const u=n.createWriteStream(s);return u.on("error",i),e.pipe(u),u.on("finish",(()=>t()))}))}))):e.path.match(/xl\/worksheets\/_rels\/sheet\d+[.]xml.rels/)&&(t=e.path.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/),r=t[1],yield*this._parseHyperlinks(u(e),r))}e.autodrain()}for(const{sheetNo:e,path:t,tempFileCleanupCallback:r}of o){let i=n.createReadStream(t);i[Symbol.asyncIterator]||(i=i.pipe(new a)),yield*this._parseWorksheet(i,e),r()}}_emitEntry(e){"emit"===this.options.entries&&this.emit("entry",e)}async _parseRels(e){const t=new m;this.workbookRels=await t.parseStream(u(e))}async _parseWorkbook(e){this._emitEntry({type:"workbook"});const t=new f;await t.parseStream(u(e)),this.properties=t.map.workbookPr,this.model=t.model}async*_parseSharedStrings(e){switch(this._emitEntry({type:"shared-strings"}),this.options.sharedStrings){case"cache":this.sharedStrings=[];break;case"emit":break;default:return}let t=null,r=[],n=0,i=null;for await(const a of d(u(e)))for(const{eventType:e,value:o}of a)if("opentag"===e){const e=o;switch(e.name){case"b":i=i||{},i.bold=!0;break;case"charset":i=i||{},i.charset=parseInt(e.attributes.charset,10);break;case"color":i=i||{},i.color={},e.attributes.rgb&&(i.color.argb=e.attributes.argb),e.attributes.val&&(i.color.argb=e.attributes.val),e.attributes.theme&&(i.color.theme=e.attributes.theme);break;case"family":i=i||{},i.family=parseInt(e.attributes.val,10);break;case"i":i=i||{},i.italic=!0;break;case"outline":i=i||{},i.outline=!0;break;case"rFont":i=i||{},i.name=e.value;break;case"si":i=null,r=[],t=null;break;case"sz":i=i||{},i.size=parseInt(e.attributes.val,10);break;case"strike":break;case"t":t=null;break;case"u":i=i||{},i.underline=!0;break;case"vertAlign":i=i||{},i.vertAlign=e.attributes.val}}else if("text"===e)t=t?t+o:o;else if("closetag"===e){switch(o.name){case"r":r.push({font:i,text:t}),i=null,t=null;break;case"si":"cache"===this.options.sharedStrings?this.sharedStrings.push(r.length?{richText:r}:t):"emit"===this.options.sharedStrings&&(yield{index:n++,text:r.length?{richText:r}:t}),r=[],i=null,t=null}}}async _parseStyles(e){this._emitEntry({type:"styles"}),"cache"===this.options.styles&&(this.styles=new p,await this.styles.parseStream(u(e)))}*_parseWorksheet(e,t){this._emitEntry({type:"worksheet",id:t});const r=new g({workbook:this,id:t,iterator:e,options:this.options}),n=(this.workbookRels||[]).find((e=>e.Target===`worksheets/sheet${t}.xml`)),i=n&&(this.model.sheets||[]).find((e=>e.rId===n.Id));i&&(r.id=i.id,r.name=i.name,r.state=i.state),"emit"===this.options.worksheets&&(yield{eventType:"worksheet",value:r})}*_parseHyperlinks(e,t){this._emitEntry({type:"hyperlinks",id:t});const r=new _({workbook:this,id:t,iterator:e,options:this.options});"emit"===this.options.hyperlinks&&(yield{eventType:"hyperlinks",value:r})}}h.Options={worksheets:["emit","ignore"],sharedStrings:["cache","emit","ignore"],hyperlinks:["cache","emit","ignore"],styles:["cache","ignore"],entries:["emit","ignore"]},e.exports=h},3682:(e,t,r)=>{const n=r(79896),i=r(10711),a=r(87137),o=r(71745),s=r(17647),c=r(92391),l=r(13522),u=r(1298),d=r(61724),p=r(40814),f=r(15888),m=r(22519),g=r(96242),_=r(58444),h=r(46046);e.exports=class{constructor(e){e=e||{},this.created=e.created||new Date,this.modified=e.modified||this.created,this.creator=e.creator||"ExcelJS",this.lastModifiedBy=e.lastModifiedBy||"ExcelJS",this.lastPrinted=e.lastPrinted,this.useSharedStrings=e.useSharedStrings||!1,this.sharedStrings=new c,this.styles=e.useStyles?new s(!0):new s.Mock(!0),this._definedNames=new l,this._worksheets=[],this.views=[],this.zipOptions=e.zip,this.media=[],this.commentRefs=[],this.zip=i("zip",this.zipOptions),e.stream?this.stream=e.stream:e.filename?this.stream=n.createWriteStream(e.filename):this.stream=new a,this.zip.pipe(this.stream),this.promise=Promise.all([this.addThemes(),this.addOfficeRels()])}get definedNames(){return this._definedNames}_openStream(e){const t=new a({bufSize:65536,batch:!0});return this.zip.append(t,{name:e}),t.on("finish",(()=>{t.emit("zipped")})),t}_commitWorksheets(){const e=this._worksheets.map((function(e){return e.committed?Promise.resolve():new Promise((t=>{e.stream.on("zipped",(()=>{t()})),e.commit()}))}));return e.length?Promise.all(e):Promise.resolve()}async commit(){return await this.promise,await this.addMedia(),await this._commitWorksheets(),await Promise.all([this.addContentTypes(),this.addApp(),this.addCore(),this.addSharedStrings(),this.addStyles(),this.addWorkbookRels()]),await this.addWorkbook(),this._finalize()}get nextId(){let e;for(e=1;e<this._worksheets.length;e++)if(!this._worksheets[e])return e;return this._worksheets.length||1}addImage(e){const t=this.media.length,r=Object.assign({},e,{type:"image",name:`image${t}.${e.extension}`});return this.media.push(r),t}getImage(e){return this.media[e]}addWorksheet(e,t){const r=void 0!==(t=t||{}).useSharedStrings?t.useSharedStrings:this.useSharedStrings;t.tabColor&&(console.trace("tabColor option has moved to { properties: tabColor: {...} }"),t.properties=Object.assign({tabColor:t.tabColor},t.properties));const n=this.nextId,i=new _({id:n,name:e=e||`sheet${n}`,workbook:this,useSharedStrings:r,properties:t.properties,state:t.state,pageSetup:t.pageSetup,views:t.views,autoFilter:t.autoFilter,headerFooter:t.headerFooter});return this._worksheets[n]=i,i}getWorksheet(e){return void 0===e?this._worksheets.find((()=>!0)):"number"==typeof e?this._worksheets[e]:"string"==typeof e?this._worksheets.find((t=>t&&t.name===e)):void 0}addStyles(){return new Promise((e=>{this.zip.append(this.styles.xml,{name:"xl/styles.xml"}),e()}))}addThemes(){return new Promise((e=>{this.zip.append(h,{name:"xl/theme/theme1.xml"}),e()}))}addOfficeRels(){return new Promise((e=>{const t=(new d).toXml([{Id:"rId1",Type:o.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:o.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:o.ExtenderProperties,Target:"docProps/app.xml"}]);this.zip.append(t,{name:"/_rels/.rels"}),e()}))}addContentTypes(){return new Promise((e=>{const t={worksheets:this._worksheets.filter(Boolean),sharedStrings:this.sharedStrings,commentRefs:this.commentRefs,media:this.media},r=(new p).toXml(t);this.zip.append(r,{name:"[Content_Types].xml"}),e()}))}addMedia(){return Promise.all(this.media.map((e=>{if("image"===e.type){const t=`xl/media/${e.name}`;if(e.filename)return this.zip.file(e.filename,{name:t});if(e.buffer)return this.zip.append(e.buffer,{name:t});if(e.base64){const r=e.base64,n=r.substring(r.indexOf(",")+1);return this.zip.append(n,{name:t,base64:!0})}}throw new Error("Unsupported media")})))}addApp(){return new Promise((e=>{const t={worksheets:this._worksheets.filter(Boolean)},r=(new f).toXml(t);this.zip.append(r,{name:"docProps/app.xml"}),e()}))}addCore(){return new Promise((e=>{const t=(new u).toXml(this);this.zip.append(t,{name:"docProps/core.xml"}),e()}))}addSharedStrings(){return this.sharedStrings.count?new Promise((e=>{const t=(new g).toXml(this.sharedStrings);this.zip.append(t,{name:"/xl/sharedStrings.xml"}),e()})):Promise.resolve()}addWorkbookRels(){let e=1;const t=[{Id:"rId"+e++,Type:o.Styles,Target:"styles.xml"},{Id:"rId"+e++,Type:o.Theme,Target:"theme/theme1.xml"}];return this.sharedStrings.count&&t.push({Id:"rId"+e++,Type:o.SharedStrings,Target:"sharedStrings.xml"}),this._worksheets.forEach((r=>{r&&(r.rId="rId"+e++,t.push({Id:r.rId,Type:o.Worksheet,Target:`worksheets/sheet${r.id}.xml`}))})),new Promise((e=>{const r=(new d).toXml(t);this.zip.append(r,{name:"/xl/_rels/workbook.xml.rels"}),e()}))}addWorkbook(){const{zip:e}=this,t={worksheets:this._worksheets.filter(Boolean),definedNames:this._definedNames.model,views:this.views,properties:{},calcProperties:{}};return new Promise((r=>{const n=new m;n.prepare(t),e.append(n.toXml(t),{name:"/xl/workbook.xml"}),r()}))}_finalize(){return new Promise(((e,t)=>{this.stream.on("error",t),this.stream.on("finish",(()=>{e(this)})),this.zip.on("error",t),this.zip.finalize()}))}}},51648:(e,t,r)=>{const{EventEmitter:n}=r(24434),i=r(37043),a=r(67984),o=r(67032),s=r(29428),c=r(69311),l=r(5842),u=r(93362);class d extends n{constructor({workbook:e,id:t,iterator:r,options:n}){super(),this.workbook=e,this.id=t,this.iterator=r,this.options=n||{},this.name=`Sheet${this.id}`,this._columns=null,this._keys={},this._dimensions=new c}destroy(){throw new Error("Invalid Operation: destroy")}get dimensions(){return this._dimensions}get columns(){return this._columns}getColumn(e){if("string"==typeof e){const t=this._keys[e];if(t)return t;e=s.l2n(e)}if(this._columns||(this._columns=[]),e>this._columns.length){let t=this._columns.length+1;for(;t<=e;)this._columns.push(new u(this,t++))}return this._columns[e-1]}getColumnKey(e){return this._keys[e]}setColumnKey(e,t){this._keys[e]=t}deleteColumnKey(e){delete this._keys[e]}eachColumnKey(e){a.each(this._keys,e)}async read(){try{for await(const e of this.parse())for(const{eventType:t,value:r}of e)this.emit(t,r);this.emit("finished")}catch(e){this.emit("error",e)}}async*[Symbol.asyncIterator](){for await(const e of this.parse())for(const{eventType:t,value:r}of e)"row"===t&&(yield r)}async*parse(){const{iterator:e,options:t}=this;let r=!1,n=!1,a=null;if("emit"===t.worksheets)r=!0;switch(t.hyperlinks){case"emit":n=!0;break;case"cache":this.hyperlinks=a={}}if(!r&&!n&&!a)return;const{sharedStrings:c,styles:d,properties:p}=this.workbook;let f=!1,m=!1,g=!1,_=null,h=null,y=null,v=null;for await(const t of i(e)){const e=[];for(const{eventType:i,value:b}of t)if("opentag"===i){const t=b;if(r)switch(t.name){case"cols":f=!0,_=[];break;case"sheetData":m=!0;break;case"col":f&&_.push({min:parseInt(t.attributes.min,10),max:parseInt(t.attributes.max,10),width:parseFloat(t.attributes.width),styleId:parseInt(t.attributes.style||"0",10)});break;case"row":if(m){const e=parseInt(t.attributes.r,10);if(h=new l(this,e),t.attributes.ht&&(h.height=parseFloat(t.attributes.ht)),t.attributes.s){const e=parseInt(t.attributes.s,10),r=d.getStyleModel(e);r&&(h.style=r)}}break;case"c":h&&(y={ref:t.attributes.r,s:parseInt(t.attributes.s,10),t:t.attributes.t});break;case"f":y&&(v=y.f={text:""});break;case"v":case"is":case"t":y&&(v=y.v={text:""})}if(n||a)switch(t.name){case"hyperlinks":g=!0;break;case"hyperlink":if(g){const r={ref:t.attributes.ref,rId:t.attributes["r:id"]};n?e.push({eventType:"hyperlink",value:r}):a[r.ref]=r}}}else if("text"===i)r&&v&&(v.text+=b);else if("closetag"===i){const t=b;if(r)switch(t.name){case"cols":f=!1,this._columns=u.fromModel(_);break;case"sheetData":m=!1;break;case"row":this._dimensions.expandRow(h),e.push({eventType:"row",value:h}),h=null;break;case"c":if(h&&y){const e=s.decodeAddress(y.ref),t=h.getCell(e.col);if(y.s){const e=d.getStyleModel(y.s);e&&(t.style=e)}if(y.f){const e={formula:y.f.text};y.v&&("str"===y.t?e.result=o.xmlDecode(y.v.text):e.result=parseFloat(y.v.text)),t.value=e}else if(y.v)switch(y.t){case"s":{const e=parseInt(y.v.text,10);t.value=c?c[e]:{sharedString:e};break}case"inlineStr":case"str":t.value=o.xmlDecode(y.v.text);break;case"e":t.value={error:y.v.text};break;case"b":t.value=0!==parseInt(y.v.text,10);break;default:o.isDateFmt(t.numFmt)?t.value=o.excelToDate(parseFloat(y.v.text),p.model&&p.model.date1904):t.value=parseFloat(y.v.text)}if(a){const e=a[y.ref];e&&(t.text=t.value,t.value=void 0,t.hyperlink=e)}y=null}}if((n||a)&&"hyperlinks"===t.name)g=!1}e.length>0&&(yield e)}}}e.exports=d},58444:(e,t,r)=>{const n=r(67984),i=r(71745),a=r(29428),o=r(7257),s=r(69311),c=r(40524),l=r(5842),u=r(93362),d=r(72404),p=r(95234),f=r(88561),m=new c,g=r(62447),_=r(27210),h=r(93236),y=r(35772),v=r(8599),b=r(80981),k=r(76591),x=r(27832),E=r(94482),S=r(97802),D=r(64892),w=r(47749),T=r(74711),C=r(12700),A=r(87182),N=r(9668),P={dataValidations:new _,sheetProperties:new h,sheetFormatProperties:new y,columns:new g({tag:"cols",length:!1,childXform:new v}),row:new b,hyperlinks:new g({tag:"hyperlinks",length:!1,childXform:new k}),sheetViews:new g({tag:"sheetViews",length:!1,childXform:new x}),sheetProtection:new E,pageMargins:new S,pageSeteup:new D,autoFilter:new w,picture:new T,conditionalFormattings:new C,headerFooter:new A,rowBreaks:new N};e.exports=class{constructor(e){this.id=e.id,this.name=e.name||`Sheet${this.id}`,this.state=e.state||"visible",this._rows=[],this._columns=null,this._keys={},this._merges=[],this._merges.add=function(){},this._sheetRelsWriter=new d(e),this._sheetCommentsWriter=new p(this,this._sheetRelsWriter,e),this._dimensions=new s,this._rowZero=1,this.committed=!1,this.dataValidations=new f,this._formulae={},this._siFormulae=0,this.conditionalFormatting=[],this.rowBreaks=[],this.properties=Object.assign({},{defaultRowHeight:15,dyDescent:55,outlineLevelCol:0,outlineLevelRow:0},e.properties),this.headerFooter=Object.assign({},{differentFirst:!1,differentOddEven:!1,oddHeader:null,oddFooter:null,evenHeader:null,evenFooter:null,firstHeader:null,firstFooter:null},e.headerFooter),this.pageSetup=Object.assign({},{margins:{left:.7,right:.7,top:.75,bottom:.75,header:.3,footer:.3},orientation:"portrait",horizontalDpi:4294967295,verticalDpi:4294967295,fitToPage:!(!e.pageSetup||!e.pageSetup.fitToWidth&&!e.pageSetup.fitToHeight||e.pageSetup.scale),pageOrder:"downThenOver",blackAndWhite:!1,draft:!1,cellComments:"None",errors:"displayed",scale:100,fitToWidth:1,fitToHeight:1,paperSize:void 0,showRowColHeaders:!1,showGridLines:!1,horizontalCentered:!1,verticalCentered:!1,rowBreaks:null,colBreaks:null},e.pageSetup),this.useSharedStrings=e.useSharedStrings||!1,this._workbook=e.workbook,this.hasComments=!1,this._views=e.views||[],this.autoFilter=e.autoFilter||null,this._media=[],this.sheetProtection=null,this._writeOpenWorksheet(),this.startedData=!1}get workbook(){return this._workbook}get stream(){return this._stream||(this._stream=this._workbook._openStream(`/xl/worksheets/sheet${this.id}.xml`),this._stream.pause()),this._stream}destroy(){throw new Error("Invalid Operation: destroy")}commit(){this.committed||(this._rows.forEach((e=>{e&&this._writeRow(e)})),this._rows=null,this.startedData||this._writeOpenSheetData(),this._writeCloseSheetData(),this._writeAutoFilter(),this._writeMergeCells(),this._writeHyperlinks(),this._writeConditionalFormatting(),this._writeDataValidations(),this._writeSheetProtection(),this._writePageMargins(),this._writePageSetup(),this._writeBackground(),this._writeHeaderFooter(),this._writeRowBreaks(),this._writeLegacyData(),this._writeCloseWorksheet(),this.stream.end(),this._sheetCommentsWriter.commit(),this._sheetRelsWriter.commit(),this.committed=!0)}get dimensions(){return this._dimensions}get views(){return this._views}get columns(){return this._columns}set columns(e){this._headerRowCount=e.reduce(((e,t)=>{const r=(t.header?1:t.headers&&t.headers.length)||0;return Math.max(e,r)}),0);let t=1;const r=this._columns=[];e.forEach((e=>{const n=new u(this,t++,!1);r.push(n),n.defn=e}))}getColumnKey(e){return this._keys[e]}setColumnKey(e,t){this._keys[e]=t}deleteColumnKey(e){delete this._keys[e]}eachColumnKey(e){n.each(this._keys,e)}getColumn(e){if("string"==typeof e){const t=this._keys[e];if(t)return t;e=a.l2n(e)}if(this._columns||(this._columns=[]),e>this._columns.length){let t=this._columns.length+1;for(;t<=e;)this._columns.push(new u(this,t++))}return this._columns[e-1]}get _nextRow(){return this._rowZero+this._rows.length}eachRow(e,t){if(t||(t=e,e=void 0),e&&e.includeEmpty){const e=this._nextRow;for(let r=this._rowZero;r<e;r++)t(this.getRow(r),r)}else this._rows.forEach((e=>{e.hasValues&&t(e,e.number)}))}_commitRow(e){let t=!1;for(;this._rows.length&&!t;){const r=this._rows.shift();this._rowZero++,r&&(this._writeRow(r),t=r.number===e.number,this._rowZero=r.number+1)}}get lastRow(){if(this._rows.length)return this._rows[this._rows.length-1]}findRow(e){const t=e-this._rowZero;return this._rows[t]}getRow(e){const t=e-this._rowZero;if(t<0)throw new Error("Out of bounds: this row has been committed");let r=this._rows[t];return r||(this._rows[t]=r=new l(this,e)),r}addRow(e){const t=new l(this,this._nextRow);return this._rows[t.number-this._rowZero]=t,t.values=e,t}findCell(e,t){const r=a.getAddress(e,t),n=this.findRow(r.row);return n?n.findCell(r.column):void 0}getCell(e,t){const r=a.getAddress(e,t);return this.getRow(r.row).getCellEx(r)}mergeCells(...e){const t=new s(e);this._merges.forEach((e=>{if(e.intersects(t))throw new Error("Cannot merge already merged cells")}));const r=this.getCell(t.top,t.left);for(let e=t.top;e<=t.bottom;e++)for(let n=t.left;n<=t.right;n++)(e>t.top||n>t.left)&&this.getCell(e,n).merge(r);this._merges.push(t)}addConditionalFormatting(e){this.conditionalFormatting.push(e)}removeConditionalFormatting(e){"number"==typeof e?this.conditionalFormatting.splice(e,1):this.conditionalFormatting=e instanceof Function?this.conditionalFormatting.filter(e):[]}addBackgroundImage(e){this._background={imageId:e}}getBackgroundImageId(){return this._background&&this._background.imageId}protect(e,t){return new Promise((r=>{this.sheetProtection={sheet:!0},t&&"spinCount"in t&&(t.spinCount=Number.isFinite(t.spinCount)?Math.round(Math.max(0,t.spinCount)):1e5),e&&(this.sheetProtection.algorithmName="SHA-512",this.sheetProtection.saltValue=o.randomBytes(16).toString("base64"),this.sheetProtection.spinCount=t&&"spinCount"in t?t.spinCount:1e5,this.sheetProtection.hashValue=o.convertPasswordToHash(e,"SHA512",this.sheetProtection.saltValue,this.sheetProtection.spinCount)),t&&(this.sheetProtection=Object.assign(this.sheetProtection,t),!e&&"spinCount"in t&&delete this.sheetProtection.spinCount),r()}))}unprotect(){this.sheetProtection=null}_write(e){m.reset(),m.addText(e),this.stream.write(m)}_writeSheetProperties(e,t,r){const n={outlineProperties:t&&t.outlineProperties,tabColor:t&&t.tabColor,pageSetup:r&&r.fitToPage?{fitToPage:r.fitToPage}:void 0};e.addText(P.sheetProperties.toXml(n))}_writeSheetFormatProperties(e,t){const r=t?{defaultRowHeight:t.defaultRowHeight,dyDescent:t.dyDescent,outlineLevelCol:t.outlineLevelCol,outlineLevelRow:t.outlineLevelRow}:void 0;t.defaultColWidth&&(r.defaultColWidth=t.defaultColWidth),e.addText(P.sheetFormatProperties.toXml(r))}_writeOpenWorksheet(){m.reset(),m.addText('<?xml version="1.0" encoding="UTF-8" standalone="yes"?>'),m.addText('<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac">'),this._writeSheetProperties(m,this.properties,this.pageSetup),m.addText(P.sheetViews.toXml(this.views)),this._writeSheetFormatProperties(m,this.properties),this.stream.write(m)}_writeColumns(){const e=u.toModel(this.columns);e&&(P.columns.prepare(e,{styles:this._workbook.styles}),this.stream.write(P.columns.toXml(e)))}_writeOpenSheetData(){this._write("<sheetData>")}_writeRow(e){if(this.startedData||(this._writeColumns(),this._writeOpenSheetData(),this.startedData=!0),e.hasValues||e.height){const{model:t}=e,r={styles:this._workbook.styles,sharedStrings:this.useSharedStrings?this._workbook.sharedStrings:void 0,hyperlinks:this._sheetRelsWriter.hyperlinksProxy,merges:this._merges,formulae:this._formulae,siFormulae:this._siFormulae,comments:[]};P.row.prepare(t,r),this.stream.write(P.row.toXml(t)),r.comments.length&&(this.hasComments=!0,this._sheetCommentsWriter.addComments(r.comments))}}_writeCloseSheetData(){this._write("</sheetData>")}_writeMergeCells(){this._merges.length&&(m.reset(),m.addText(`<mergeCells count="${this._merges.length}">`),this._merges.forEach((e=>{m.addText(`<mergeCell ref="${e}"/>`)})),m.addText("</mergeCells>"),this.stream.write(m))}_writeHyperlinks(){this.stream.write(P.hyperlinks.toXml(this._sheetRelsWriter._hyperlinks))}_writeConditionalFormatting(){const e={styles:this._workbook.styles};P.conditionalFormattings.prepare(this.conditionalFormatting,e),this.stream.write(P.conditionalFormattings.toXml(this.conditionalFormatting))}_writeRowBreaks(){this.stream.write(P.rowBreaks.toXml(this.rowBreaks))}_writeDataValidations(){this.stream.write(P.dataValidations.toXml(this.dataValidations.model))}_writeSheetProtection(){this.stream.write(P.sheetProtection.toXml(this.sheetProtection))}_writePageMargins(){this.stream.write(P.pageMargins.toXml(this.pageSetup.margins))}_writePageSetup(){this.stream.write(P.pageSeteup.toXml(this.pageSetup))}_writeHeaderFooter(){this.stream.write(P.headerFooter.toXml(this.headerFooter))}_writeAutoFilter(){this.stream.write(P.autoFilter.toXml(this.autoFilter))}_writeBackground(){if(this._background){if(void 0!==this._background.imageId){const e=this._workbook.getImage(this._background.imageId),t=this._sheetRelsWriter.addMedia({Target:`../media/${e.name}`,Type:i.Image});this._background={...this._background,rId:t}}this.stream.write(P.picture.toXml({rId:this._background.rId}))}}_writeLegacyData(){this.hasComments&&(m.reset(),m.addText(`<legacyDrawing r:id="${this._sheetCommentsWriter.vmlRelId}"/>`),this.stream.write(m))}_writeDimensions(){}_writeCloseWorksheet(){this._write("</worksheet>")}}},50323:(e,t)=>{const r="undefined"==typeof TextDecoder?null:new TextDecoder("utf-8");t.bufferToString=function(e){return"string"==typeof e?e:r?r.decode(e):e.toString()}},24463:(e,t,r)=>{const n="undefined"==typeof TextEncoder?null:new TextEncoder("utf-8"),{Buffer:i}=r(20181);t.stringToBuffer=function(e){return"string"!=typeof e?e:n?i.from(n.encode(e).buffer):i.from(e)}},38583:(e,t,r)=>{const n=r(67984),i=r(29428);e.exports=class{constructor(e){this.template=e,this.sheets={}}addCell(e){this.addCellEx(i.decodeEx(e))}getCell(e){return this.findCellEx(i.decodeEx(e),!0)}findCell(e){return this.findCellEx(i.decodeEx(e),!1)}findCellAt(e,t,r){const n=this.sheets[e],i=n&&n[t];return i&&i[r]}addCellEx(e){if(e.top)for(let t=e.top;t<=e.bottom;t++)for(let r=e.left;r<=e.right;r++)this.getCellAt(e.sheetName,t,r);else this.findCellEx(e,!0)}getCellEx(e){return this.findCellEx(e,!0)}findCellEx(e,t){const r=this.findSheet(e,t),n=this.findSheetRow(r,e,t);return this.findRowCell(n,e,t)}getCellAt(e,t,r){const n=this.sheets[e]||(this.sheets[e]=[]),a=n[t]||(n[t]=[]);return a[r]||(a[r]={sheetName:e,address:i.n2l(r)+t,row:t,col:r})}removeCellEx(e){const t=this.findSheet(e);if(!t)return;const r=this.findSheetRow(t,e);r&&delete r[e.col]}forEachInSheet(e,t){const r=this.sheets[e];r&&r.forEach(((e,r)=>{e&&e.forEach(((e,n)=>{e&&t(e,r,n)}))}))}forEach(e){n.each(this.sheets,((t,r)=>{this.forEachInSheet(r,e)}))}map(e){const t=[];return this.forEach((r=>{t.push(e(r))})),t}findSheet(e,t){const r=e.sheetName;return this.sheets[r]?this.sheets[r]:t?this.sheets[r]=[]:void 0}findSheetRow(e,t,r){const{row:n}=t;return e&&e[n]?e[n]:r?e[n]=[]:void 0}findRowCell(e,t,r){const{col:n}=t;return e&&e[n]?e[n]:r?e[n]=this.template?Object.assign(t,JSON.parse(JSON.stringify(this.template))):t:void 0}spliceRows(e,t,r,n){const i=this.sheets[e];if(i){const e=[];for(let t=0;t<n;t++)e.push([]);i.splice(t,r,...e)}}spliceColumns(e,t,r,i){const a=this.sheets[e];if(a){const e=[];for(let t=0;t<i;t++)e.push(null);n.each(a,(n=>{n.splice(t,r,...e)}))}}}},29428:e=>{const t=/^[A-Z]+\d+$/,r={_dictionary:["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],_l2nFill:0,_l2n:{},_n2l:[],_level:e=>e<=26?1:e<=676?2:3,_fill(e){let t,r,n,i,a,o=1;if(e>=4)throw new Error("Out of bounds. Excel supports columns from 1 to 16384");if(this._l2nFill<1&&e>=1){for(;o<=26;)t=this._dictionary[o-1],this._n2l[o]=t,this._l2n[t]=o,o++;this._l2nFill=1}if(this._l2nFill<2&&e>=2){for(o=27;o<=702;)r=o-27,n=r%26,i=Math.floor(r/26),t=this._dictionary[i]+this._dictionary[n],this._n2l[o]=t,this._l2n[t]=o,o++;this._l2nFill=2}if(this._l2nFill<3&&e>=3){for(o=703;o<=16384;)r=o-703,n=r%26,i=Math.floor(r/26)%26,a=Math.floor(r/676),t=this._dictionary[a]+this._dictionary[i]+this._dictionary[n],this._n2l[o]=t,this._l2n[t]=o,o++;this._l2nFill=3}},l2n(e){if(this._l2n[e]||this._fill(e.length),!this._l2n[e])throw new Error(`Out of bounds. Invalid column letter: ${e}`);return this._l2n[e]},n2l(e){if(e<1||e>16384)throw new Error(`${e} is out of bounds. Excel supports columns from 1 to 16384`);return this._n2l[e]||this._fill(this._level(e)),this._n2l[e]},_hash:{},validateAddress(e){if(!t.test(e))throw new Error(`Invalid Address: ${e}`);return!0},decodeAddress(e){const t=e.length<5&&this._hash[e];if(t)return t;let r=!1,n="",i=0,a=!1,o="",s=0;for(let t,c=0;c<e.length;c++)if(t=e.charCodeAt(c),!a&&t>=65&&t<=90)r=!0,n+=e[c],i=26*i+t-64;else if(t>=48&&t<=57)a=!0,o+=e[c],s=10*s+t-48;else if(a&&r&&36!==t)break;if(r){if(i>16384)throw new Error(`Out of bounds. Invalid column letter: ${n}`)}else i=void 0;a||(s=void 0);const c={address:e=n+o,col:i,row:s,$col$row:`$${n}$${o}`};return i<=100&&s<=100&&(this._hash[e]=c,this._hash[c.$col$row]=c),c},getAddress(e,t){if(t){const r=this.n2l(t)+e;return this.decodeAddress(r)}return this.decodeAddress(e)},decode(e){const t=e.split(":");if(2===t.length){const e=this.decodeAddress(t[0]),r=this.decodeAddress(t[1]),n={top:Math.min(e.row,r.row),left:Math.min(e.col,r.col),bottom:Math.max(e.row,r.row),right:Math.max(e.col,r.col)};return n.tl=this.n2l(n.left)+n.top,n.br=this.n2l(n.right)+n.bottom,n.dimensions=`${n.tl}:${n.br}`,n}return this.decodeAddress(e)},decodeEx(e){const t=e.match(/(?:(?:(?:'((?:[^']|'')*)')|([^'^ !]*))!)?(.*)/),r=t[1]||t[2],n=t[3],i=n.split(":");if(i.length>1){let e=this.decodeAddress(i[0]),t=this.decodeAddress(i[1]);const n=Math.min(e.row,t.row),a=Math.min(e.col,t.col),o=Math.max(e.row,t.row),s=Math.max(e.col,t.col);return e=this.n2l(a)+n,t=this.n2l(s)+o,{top:n,left:a,bottom:o,right:s,sheetName:r,tl:{address:e,col:a,row:n,$col$row:`$${this.n2l(a)}$${n}`,sheetName:r},br:{address:t,col:s,row:o,$col$row:`$${this.n2l(s)}$${o}`,sheetName:r},dimensions:`${e}:${t}`}}if(n.startsWith("#"))return r?{sheetName:r,error:n}:{error:n};const a=this.decodeAddress(n);return r?{sheetName:r,...a}:a},encodeAddress:(e,t)=>r.n2l(t)+e,encode(){switch(arguments.length){case 2:return r.encodeAddress(arguments[0],arguments[1]);case 4:return`${r.encodeAddress(arguments[0],arguments[1])}:${r.encodeAddress(arguments[2],arguments[3])}`;default:throw new Error("Can only encode with 2 or 4 arguments")}},inRange(e,t){const[r,n,,i,a]=e,[o,s]=t;return o>=r&&o<=i&&s>=n&&s<=a}};e.exports=r},76172:(e,t)=>{const r=(e,t)=>({...e,...t.reduce(((t,r)=>(e[r]&&(t[r]={...e[r]}),t)),{})}),n=(e,t,n,i=[])=>{e[n]&&(t[n]=r(e[n],i))};t.copyStyle=e=>{if(!e)return e;if(t=e,0===Object.keys(t).length)return{};var t;const i={...e};return n(e,i,"font",["color"]),n(e,i,"alignment"),n(e,i,"protection"),e.border&&(n(e,i,"border"),n(e.border,i.border,"top",["color"]),n(e.border,i.border,"left",["color"]),n(e.border,i.border,"bottom",["color"]),n(e.border,i.border,"right",["color"]),n(e.border,i.border,"diagonal",["color"])),e.fill&&(n(e,i,"fill",["fgColor","bgColor","center"]),e.fill.stops&&(i.fill.stops=e.fill.stops.map((e=>r(e,["color"]))))),i}},7257:(e,t,r)=>{"use strict";const n=r(76982),i={hash(e,...t){const r=n.createHash(e);return r.update(Buffer.concat(t)),r.digest()},convertPasswordToHash(e,t,r,i){t=t.toLowerCase();if(n.getHashes().indexOf(t)<0)throw new Error(`Hash algorithm '${t}' not supported!`);const a=Buffer.from(e,"utf16le");let o=this.hash(t,Buffer.from(r,"base64"),a);for(let e=0;e<i;e++){const r=Buffer.alloc(4);r.writeUInt32LE(e,0),o=this.hash(t,o,r)}return o.toString("base64")},randomBytes:e=>n.randomBytes(e)};e.exports=i},83676:e=>{function t(e,t){return new Promise((r=>{let n=!1;const i=()=>{n||(n=!0,e.removeListener(t,i),r())};e.addListener(t,i)}))}e.exports=async function*(e){const r=[];let n;e.on("data",(e=>r.push(e)));const i=new Promise((e=>n=e));let a=!1;e.on("end",(()=>{a=!0,n()}));let o=!1;for(e.on("error",(e=>{o=e,n()}));!a||r.length>0;){if(0===r.length)e.resume(),await Promise.race([t(e,"data"),i]);else{e.pause();const t=r.shift();yield t}if(o)throw o}n()}},37043:(e,t,r)=>{const{SaxesParser:n}=r(38223),{PassThrough:i}=r(34198),{bufferToString:a}=r(50323);e.exports=async function*(e){e.pipe&&!e[Symbol.asyncIterator]&&(e=e.pipe(new i));const t=new n;let r;t.on("error",(e=>{r=e}));let o=[];t.on("opentag",(e=>o.push({eventType:"opentag",value:e}))),t.on("text",(e=>o.push({eventType:"text",value:e}))),t.on("closetag",(e=>o.push({eventType:"closetag",value:e})));for await(const n of e){if(t.write(a(n)),r)throw r;yield o,o=[]}}},34667:(e,t,r)=>{const n=r(29428),i=/(([a-z_\-0-9]*)!)?([a-z0-9_$]{2,})([(])?/gi,a=/^([$])?([a-z]+)([$])?([1-9][0-9]*)$/i;e.exports={slideFormula:function(e,t,r){const o=n.decode(t),s=n.decode(r);return e.replace(i,((e,t,r,i,c)=>{if(c)return e;const l=a.exec(i);if(l){const r=l[1],i=l[2].toUpperCase(),a=l[3],c=l[4];if(i.length>3||3===i.length&&i>"XFD")return e;let u=n.l2n(i),d=parseInt(c,10);r||(u+=s.col-o.col),a||(d+=s.row-o.row);return(t||"")+(r||"")+n.n2l(u)+(a||"")+d}return e}))}}},92391:e=>{e.exports=class{constructor(){this._values=[],this._totalRefs=0,this._hash=Object.create(null)}get count(){return this._values.length}get values(){return this._values}get totalRefs(){return this._totalRefs}getString(e){return this._values[e]}add(e){let t=this._hash[e];return void 0===t&&(t=this._hash[e]=this._values.length,this._values.push(e)),this._totalRefs++,t}}},87137:(e,t,r)=>{const n=r(34198),i=r(67032),a=r(40524);class o{constructor(e,t){this._data=e,this._encoding=t}get length(){return this.toBuffer().length}copy(e,t,r,n){return this.toBuffer().copy(e,t,r,n)}toBuffer(){return this._buffer||(this._buffer=Buffer.from(this._data,this._encoding)),this._buffer}}class s{constructor(e){this._data=e}get length(){return this._data.length}copy(e,t,r,n){return this._data._buf.copy(e,t,r,n)}toBuffer(){return this._data.toBuffer()}}class c{constructor(e){this._data=e}get length(){return this._data.length}copy(e,t,r,n){this._data.copy(e,t,r,n)}toBuffer(){return this._data}}class l{constructor(e){this.size=e,this.buffer=Buffer.alloc(e),this.iRead=0,this.iWrite=0}toBuffer(){if(0===this.iRead&&this.iWrite===this.size)return this.buffer;const e=Buffer.alloc(this.iWrite-this.iRead);return this.buffer.copy(e,0,this.iRead,this.iWrite),e}get length(){return this.iWrite-this.iRead}get eod(){return this.iRead===this.iWrite}get full(){return this.iWrite===this.size}read(e){let t;return 0===e?null:void 0===e||e>=this.length?(t=this.toBuffer(),this.iRead=this.iWrite,t):(t=Buffer.alloc(e),this.buffer.copy(t,0,this.iRead,e),this.iRead+=e,t)}write(e,t,r){const n=Math.min(r,this.size-this.iWrite);return e.copy(this.buffer,this.iWrite,t,t+n),this.iWrite+=n,n}}const u=function(e){e=e||{},this.bufSize=e.bufSize||1048576,this.buffers=[],this.batch=e.batch||!1,this.corked=!1,this.inPos=0,this.outPos=0,this.pipes=[],this.paused=!1,this.encoding=null};i.inherits(u,n.Duplex,{toBuffer(){switch(this.buffers.length){case 0:return null;case 1:return this.buffers[0].toBuffer();default:return Buffer.concat(this.buffers.map((e=>e.toBuffer())))}},_getWritableBuffer(){if(this.buffers.length){const e=this.buffers[this.buffers.length-1];if(!e.full)return e}const e=new l(this.bufSize);return this.buffers.push(e),e},async _pipe(e){await Promise.all(this.pipes.map((function(t){return new Promise((r=>{t.write(e.toBuffer(),(()=>{r()}))}))})))},_writeToBuffers(e){let t=0;const r=e.length;for(;t<r;){t+=this._getWritableBuffer().write(e,t,r-t)}},async write(e,t,r){let n;if(t instanceof Function&&(r=t,t="utf8"),r=r||i.nop,e instanceof a)n=new s(e);else if(e instanceof Buffer)n=new c(e);else{if(!("string"==typeof e||e instanceof String||e instanceof ArrayBuffer))throw new Error("Chunk must be one of type String, Buffer or StringBuf.");n=new o(e,t)}if(this.pipes.length)if(this.batch)for(this._writeToBuffers(n);!this.corked&&this.buffers.length>1;)this._pipe(this.buffers.shift());else this.corked?(this._writeToBuffers(n),process.nextTick(r)):(await this._pipe(n),r());else this.paused||this.emit("data",n.toBuffer()),this._writeToBuffers(n),this.emit("readable");return!0},cork(){this.corked=!0},_flush(){if(this.pipes.length)for(;this.buffers.length;)this._pipe(this.buffers.shift())},uncork(){this.corked=!1,this._flush()},end(e,t,r){const n=e=>{e?r(e):(this._flush(),this.pipes.forEach((e=>{e.end()})),this.emit("finish"))};e?this.write(e,t,n):n()},read(e){let t;if(e){for(t=[];e&&this.buffers.length&&!this.buffers[0].eod;){const r=this.buffers[0],n=r.read(e);e-=n.length,t.push(n),r.eod&&r.full&&this.buffers.shift()}return Buffer.concat(t)}return t=this.buffers.map((e=>e.toBuffer())).filter(Boolean),this.buffers=[],Buffer.concat(t)},setEncoding(e){this.encoding=e},pause(){this.paused=!0},resume(){this.paused=!1},isPaused(){return!!this.paused},pipe(e){this.pipes.push(e),!this.paused&&this.buffers.length&&this.end()},unpipe(e){this.pipes=this.pipes.filter((t=>t!==e))},unshift(){throw new Error("Not Implemented")},wrap(){throw new Error("Not Implemented")}}),e.exports=u},40524:e=>{e.exports=class{constructor(e){this._buf=Buffer.alloc(e&&e.size||16384),this._encoding=e&&e.encoding||"utf8",this._inPos=0,this._buffer=void 0}get length(){return this._inPos}get capacity(){return this._buf.length}get buffer(){return this._buf}toBuffer(){return this._buffer||(this._buffer=Buffer.alloc(this.length),this._buf.copy(this._buffer,0,0,this.length)),this._buffer}reset(e){e=e||0,this._buffer=void 0,this._inPos=e}_grow(e){let t=2*this._buf.length;for(;t<e;)t*=2;const r=Buffer.alloc(t);this._buf.copy(r,0),this._buf=r}addText(e){this._buffer=void 0;let t=this._inPos+this._buf.write(e,this._inPos,this._encoding);for(;t>=this._buf.length-4;)this._grow(this._inPos+e.length),t=this._inPos+this._buf.write(e,this._inPos,this._encoding);this._inPos=t}addStringBuf(e){e.length&&(this._buffer=void 0,this.length+e.length>this.capacity&&this._grow(this.length+e.length),e._buf.copy(this._buf,this._inPos,0,e.length),this._inPos+=e.length)}}},67984:e=>{const{toString:t}=Object.prototype,r=/["&<>]/,n={each:function(e,t){e&&(Array.isArray(e)?e.forEach(t):Object.keys(e).forEach((r=>{t(e[r],r)})))},some:function(e,t){return!!e&&(Array.isArray(e)?e.some(t):Object.keys(e).some((r=>t(e[r],r))))},every:function(e,t){return!e||(Array.isArray(e)?e.every(t):Object.keys(e).every((r=>t(e[r],r))))},map:function(e,t){return e?Array.isArray(e)?e.map(t):Object.keys(e).map((r=>t(e[r],r))):[]},keyBy:(e,t)=>e.reduce(((e,r)=>(e[r[t]]=r,e)),{}),isEqual:function(e,t){const r=typeof e,i=typeof t,a=Array.isArray(e),o=Array.isArray(t);let s;if(r!==i)return!1;if("object"==typeof e){if(a||o)return!(!a||!o)&&(e.length===t.length&&e.every(((e,r)=>{const i=t[r];return n.isEqual(e,i)})));if(null===e||null===t)return e===t;if(s=Object.keys(e),Object.keys(t).length!==s.length)return!1;for(const e of s)if(!t.hasOwnProperty(e))return!1;return n.every(e,((e,r)=>{const i=t[r];return n.isEqual(e,i)}))}return e===t},escapeHtml(e){const t=r.exec(e);if(!t)return e;let n="",i="",a=0,o=t.index;for(;o<e.length;o++){switch(e.charAt(o)){case'"':i=""";break;case"&":i="&";break;case"'":i="'";break;case"<":i="<";break;case">":i=">";break;default:continue}a!==o&&(n+=e.substring(a,o)),a=o+1,n+=i}return a!==o?n+e.substring(a,o):n},strcmp:(e,t)=>e<t?-1:e>t?1:0,isUndefined:e=>"[object Undefined]"===t.call(e),isObject:e=>"[object Object]"===t.call(e),deepMerge(){const e=arguments[0]||{},{length:t}=arguments;let r,i,a;function o(t,o){r=e[o],a=Array.isArray(t),n.isObject(t)||a?(a?(a=!1,i=r&&Array.isArray(r)?r:[]):i=r&&n.isObject(r)?r:{},e[o]=n.deepMerge(i,t)):n.isUndefined(t)||(e[o]=t)}for(let e=0;e<t;e++)n.each(arguments[e],o);return e}};e.exports=n},67032:(e,t,r)=>{const n=r(79896),i=/[<>&'"\x7F\x00-\x08\x0B-\x0C\x0E-\x1F]/,a={nop(){},promiseImmediate:e=>new Promise((t=>{global.setImmediate?setImmediate((()=>{t(e)})):setTimeout((()=>{t(e)}),1)})),inherits:function(e,t,r,n){e.super_=t,n||(n=r,r=null),r&&Object.keys(r).forEach((t=>{Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}));const i={constructor:{value:e,enumerable:!1,writable:!1,configurable:!0}};n&&Object.keys(n).forEach((e=>{i[e]=Object.getOwnPropertyDescriptor(n,e)})),e.prototype=Object.create(t.prototype,i)},dateToExcel:(e,t)=>25569+e.getTime()/864e5-(t?1462:0),excelToDate(e,t){const r=Math.round(24*(e-25569+(t?1462:0))*3600*1e3);return new Date(r)},parsePath(e){const t=e.lastIndexOf("/");return{path:e.substring(0,t),name:e.substring(t+1)}},getRelsPath(e){const t=a.parsePath(e);return`${t.path}/_rels/${t.name}.rels`},xmlEncode(e){const t=i.exec(e);if(!t)return e;let r="",n="",a=0,o=t.index;for(;o<e.length;o++){const t=e.charCodeAt(o);switch(t){case 34:n=""";break;case 38:n="&";break;case 39:n="'";break;case 60:n="<";break;case 62:n=">";break;case 127:n="";break;default:if(t<=31&&(t<=8||t>=11&&13!==t)){n="";break}continue}a!==o&&(r+=e.substring(a,o)),a=o+1,n&&(r+=n)}return a!==o?r+e.substring(a,o):r},xmlDecode:e=>e.replace(/&([a-z]*);/g,(e=>{switch(e){case"<":return"<";case">":return">";case"&":return"&";case"'":return"'";case""":return'"';default:return e}})),validInt(e){const t=parseInt(e,10);return Number.isNaN(t)?0:t},isDateFmt(e){if(!e)return!1;return null!==(e=(e=e.replace(/\[[^\]]*]/g,"")).replace(/"[^"]*"/g,"")).match(/[ymdhMsb]+/)},fs:{exists:e=>new Promise((t=>{n.access(e,n.constants.F_OK,(e=>{t(!e)}))}))},toIsoDateString:e=>e.toIsoString().subsstr(0,10),parseBoolean:e=>!0===e||"true"===e||1===e||"1"===e};e.exports=a},12141:(e,t,r)=>{const n=r(67984),i=r(67032),a=">";function o(e,t,r){e.push(` ${t}="${i.xmlEncode(r.toString())}"`)}function s(e,t){if(t){const r=[];n.each(t,((e,t)=>{void 0!==e&&o(r,t,e)})),e.push(r.join(""))}}class c{constructor(){this._xml=[],this._stack=[],this._rollbacks=[]}get tos(){return this._stack.length?this._stack[this._stack.length-1]:void 0}get cursor(){return this._xml.length}openXml(e){const t=this._xml;t.push("<?xml"),s(t,e),t.push("?>\n")}openNode(e,t){const r=this.tos,n=this._xml;r&&this.open&&n.push(a),this._stack.push(e),n.push("<"),n.push(e),s(n,t),this.leaf=!0,this.open=!0}addAttribute(e,t){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");void 0!==t&&o(this._xml,e,t)}addAttributes(e){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");s(this._xml,e)}writeText(e){const t=this._xml;this.open&&(t.push(a),this.open=!1),this.leaf=!1,t.push(i.xmlEncode(e.toString()))}writeXml(e){this.open&&(this._xml.push(a),this.open=!1),this.leaf=!1,this._xml.push(e)}closeNode(){const e=this._stack.pop(),t=this._xml;this.leaf?t.push("/>"):(t.push("</"),t.push(e),t.push(a)),this.open=!1,this.leaf=!1}leafNode(e,t,r){this.openNode(e,t),void 0!==r&&this.writeText(r),this.closeNode()}closeAll(){for(;this._stack.length;)this.closeNode()}addRollback(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}commit(){this._rollbacks.pop()}rollback(){const e=this._rollbacks.pop();this._xml.length>e.xml&&this._xml.splice(e.xml,this._xml.length-e.xml),this._stack.length>e.stack&&this._stack.splice(e.stack,this._stack.length-e.stack),this.leaf=e.leaf,this.open=e.open}get xml(){return this.closeAll(),this._xml.join("")}}c.StdDocAttributes={version:"1.0",encoding:"UTF-8",standalone:"yes"},e.exports=c},1495:(e,t,r)=>{const n=r(24434),i=r(58833),a=r(87137),{stringToBuffer:o}=r(24463);class s extends n.EventEmitter{constructor(e){super(),this.options=Object.assign({type:"nodebuffer",compression:"DEFLATE"},e),this.zip=new i,this.stream=new a}append(e,t){t.hasOwnProperty("base64")&&t.base64?this.zip.file(t.name,e,{base64:!0}):(process.browser&&"string"==typeof e&&(e=o(e)),this.zip.file(t.name,e))}async finalize(){const e=await this.zip.generateAsync(this.options);this.stream.end(e),this.emit("finish")}read(e){return this.stream.read(e)}setEncoding(e){return this.stream.setEncoding(e)}pause(){return this.stream.pause()}resume(){return this.stream.resume()}isPaused(){return this.stream.isPaused()}pipe(e,t){return this.stream.pipe(e,t)}unpipe(e){return this.stream.unpipe(e)}unshift(e){return this.stream.unshift(e)}wrap(e){return this.stream.wrap(e)}}e.exports={ZipWriter:s}},77118:e=>{e.exports={0:{f:"General"},1:{f:"0"},2:{f:"0.00"},3:{f:"#,##0"},4:{f:"#,##0.00"},9:{f:"0%"},10:{f:"0.00%"},11:{f:"0.00E+00"},12:{f:"# ?/?"},13:{f:"# ??/??"},14:{f:"mm-dd-yy"},15:{f:"d-mmm-yy"},16:{f:"d-mmm"},17:{f:"mmm-yy"},18:{f:"h:mm AM/PM"},19:{f:"h:mm:ss AM/PM"},20:{f:"h:mm"},21:{f:"h:mm:ss"},22:{f:'m/d/yy "h":mm'},27:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},28:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},29:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},30:{"zh-tw":"m/d/yy ","zh-cn":"m-d-yy","ja-jp":"m/d/yy","ko-kr":"mm-dd-yy"},31:{"zh-tw":'yyyy"年"m"月"d"日"',"zh-cn":'yyyy"年"m"月"d"日"',"ja-jp":'yyyy"年"m"月"d"日"',"ko-kr":'yyyy"년" mm"월" dd"일"'},32:{"zh-tw":'hh"時"mm"分"',"zh-cn":'h"时"mm"分"',"ja-jp":'h"時"mm"分"',"ko-kr":'h"시" mm"분"'},33:{"zh-tw":'hh"時"mm"分"ss"秒"',"zh-cn":'h"时"mm"分"ss"秒"',"ja-jp":'h"時"mm"分"ss"秒"',"ko-kr":'h"시" mm"분" ss"초"'},34:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},35:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},36:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},37:{f:"#,##0 ;(#,##0)"},38:{f:"#,##0 ;[Red](#,##0)"},39:{f:"#,##0.00 ;(#,##0.00)"},40:{f:"#,##0.00 ;[Red](#,##0.00)"},45:{f:"mm:ss"},46:{f:"[h]:mm:ss"},47:{f:"mmss.0"},48:{f:"##0.0E+0"},49:{f:"@"},50:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},51:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},52:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'yyyy"年"m"月"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},53:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'m"月"d"日"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},54:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},55:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},56:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},57:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},58:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},59:{"th-th":"t0"},60:{"th-th":"t0.00"},61:{"th-th":"t#,##0"},62:{"th-th":"t#,##0.00"},67:{"th-th":"t0%"},68:{"th-th":"t0.00%"},69:{"th-th":"t# ?/?"},70:{"th-th":"t# ??/??"},81:{"th-th":"d/m/bb"}}},71745:e=>{"use strict";e.exports={OfficeDocument:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",Worksheet:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet",CalcChain:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/calcChain",SharedStrings:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",Styles:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",Theme:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",Hyperlink:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",Image:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",CoreProperties:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",ExtenderProperties:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",Comments:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",VmlDrawing:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",Table:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/table"}},87242:(e,t,r)=>{const n=r(37043),i=r(12141);class a{prepare(){}render(){}parseOpen(e){}parseText(e){}parseClose(e){}reconcile(e,t){}reset(){this.model=null,this.map&&Object.values(this.map).forEach((e=>{e instanceof a?e.reset():e.xform&&e.xform.reset()}))}mergeModel(e){this.model=Object.assign(this.model||{},e)}async parse(e){for await(const t of e)for(const{eventType:e,value:r}of t)if("opentag"===e)this.parseOpen(r);else if("text"===e)this.parseText(r);else if("closetag"===e&&!this.parseClose(r.name))return this.model;return this.model}async parseStream(e){return this.parse(n(e))}get xml(){return this.toXml(this.model)}toXml(e){const t=new i;return this.render(t,e),t.xml}static toAttribute(e,t,r=!1){if(void 0===e){if(r)return t}else if(r||e!==t)return e.toString()}static toStringAttribute(e,t,r=!1){return a.toAttribute(e,t,r)}static toStringValue(e,t){return void 0===e?t:e}static toBoolAttribute(e,t,r=!1){if(void 0===e){if(r)return t}else if(r||e!==t)return e?"1":"0"}static toBoolValue(e,t){return void 0===e?t:"1"===e}static toIntAttribute(e,t,r=!1){return a.toAttribute(e,t,r)}static toIntValue(e,t){return void 0===e?t:parseInt(e,10)}static toFloatAttribute(e,t,r=!1){return a.toAttribute(e,t,r)}static toFloatValue(e,t){return void 0===e?t:parseFloat(e)}}e.exports=a},78788:(e,t,r)=>{const n=r(87242),i=r(29428);function a(e){try{return i.decodeEx(e),!0}catch(e){return!1}}function o(e){const t=[];let r=!1,n="";return e.split(",").forEach((e=>{if(!e)return;const i=(e.match(/'/g)||[]).length;if(!i)return void(r?n+=`${e},`:a(e)&&t.push(e));const o=i%2==0;!r&&o&&a(e)?t.push(e):r&&!o?(r=!1,a(n+e)&&t.push(n+e),n=""):(r=!0,n+=`${e},`)})),t}e.exports=class extends n{render(e,t){e.openNode("definedName",{name:t.name,localSheetId:t.localSheetId}),e.writeText(t.ranges.join(",")),e.closeNode()}parseOpen(e){return"definedName"===e.name&&(this._parsedName=e.attributes.name,this._parsedLocalSheetId=e.attributes.localSheetId,this._parsedText=[],!0)}parseText(e){this._parsedText.push(e)}parseClose(){return this.model={name:this._parsedName,ranges:o(this._parsedText.join(""))},void 0!==this._parsedLocalSheetId&&(this.model.localSheetId=parseInt(this._parsedLocalSheetId,10)),!1}}},63722:(e,t,r)=>{const n=r(67032),i=r(87242);e.exports=class extends i{render(e,t){e.leafNode("sheet",{sheetId:t.id,name:t.name,state:t.state,"r:id":t.rId})}parseOpen(e){return"sheet"===e.name&&(this.model={name:n.xmlDecode(e.attributes.name),id:parseInt(e.attributes.sheetId,10),state:e.attributes.state,rId:e.attributes["r:id"]},!0)}parseText(){}parseClose(){return!1}}},58655:(e,t,r)=>{const n=r(87242);e.exports=class extends n{render(e,t){e.leafNode("calcPr",{calcId:171027,fullCalcOnLoad:t.fullCalcOnLoad?1:void 0})}parseOpen(e){return"calcPr"===e.name&&(this.model={},!0)}parseText(){}parseClose(){return!1}}},22403:(e,t,r)=>{const n=r(87242);e.exports=class extends n{render(e,t){e.leafNode("workbookPr",{date1904:t.date1904?1:void 0,defaultThemeVersion:164011,filterPrivacy:1})}parseOpen(e){return"workbookPr"===e.name&&(this.model={date1904:"1"===e.attributes.date1904},!0)}parseText(){}parseClose(){return!1}}},41711:(e,t,r)=>{const n=r(87242);e.exports=class extends n{render(e,t){const r={xWindow:t.x||0,yWindow:t.y||0,windowWidth:t.width||12e3,windowHeight:t.height||24e3,firstSheet:t.firstSheet,activeTab:t.activeTab};t.visibility&&"visible"!==t.visibility&&(r.visibility=t.visibility),e.leafNode("workbookView",r)}parseOpen(e){if("workbookView"===e.name){const t=this.model={},r=function(e,r,n){const i=void 0!==r?t[e]=r:n;void 0!==i&&(t[e]=i)},n=function(e,r,n){const i=void 0!==r?t[e]=parseInt(r,10):n;void 0!==i&&(t[e]=i)};return n("x",e.attributes.xWindow,0),n("y",e.attributes.yWindow,0),n("width",e.attributes.windowWidth,25e3),n("height",e.attributes.windowHeight,1e4),r("visibility",e.attributes.visibility,"visible"),n("activeTab",e.attributes.activeTab,void 0),n("firstSheet",e.attributes.firstSheet,void 0),!0}return!1}parseText(){}parseClose(){return!1}}},22519:(e,t,r)=>{const n=r(67984),i=r(29428),a=r(12141),o=r(87242),s=r(52789),c=r(62447),l=r(78788),u=r(63722),d=r(41711),p=r(22403),f=r(58655);class m extends o{constructor(){super(),this.map={fileVersion:m.STATIC_XFORMS.fileVersion,workbookPr:new p,bookViews:new c({tag:"bookViews",count:!1,childXform:new d}),sheets:new c({tag:"sheets",count:!1,childXform:new u}),definedNames:new c({tag:"definedNames",count:!1,childXform:new l}),calcPr:new f}}prepare(e){e.sheets=e.worksheets;const t=[];let r=0;e.sheets.forEach((e=>{if(e.pageSetup&&e.pageSetup.printArea&&e.pageSetup.printArea.split("&&").forEach((n=>{const i=n.split(":"),a={name:"_xlnm.Print_Area",ranges:[`'${e.name}'!$${i[0]}:$${i[1]}`],localSheetId:r};t.push(a)})),e.pageSetup&&(e.pageSetup.printTitlesRow||e.pageSetup.printTitlesColumn)){const n=[];if(e.pageSetup.printTitlesColumn){const t=e.pageSetup.printTitlesColumn.split(":");n.push(`'${e.name}'!$${t[0]}:$${t[1]}`)}if(e.pageSetup.printTitlesRow){const t=e.pageSetup.printTitlesRow.split(":");n.push(`'${e.name}'!$${t[0]}:$${t[1]}`)}const i={name:"_xlnm.Print_Titles",ranges:n,localSheetId:r};t.push(i)}r++})),t.length&&(e.definedNames=e.definedNames.concat(t)),(e.media||[]).forEach(((e,t)=>{e.name=e.type+(t+1)}))}render(e,t){e.openXml(a.StdDocAttributes),e.openNode("workbook",m.WORKBOOK_ATTRIBUTES),this.map.fileVersion.render(e),this.map.workbookPr.render(e,t.properties),this.map.bookViews.render(e,t.views),this.map.sheets.render(e,t.sheets),this.map.definedNames.render(e,t.definedNames),this.map.calcPr.render(e,t.calcProperties),e.closeNode()}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):("workbook"===e.name||(this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e)),!0)}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):"workbook"!==e||(this.model={sheets:this.map.sheets.model,properties:this.map.workbookPr.model||{},views:this.map.bookViews.model,calcProperties:{}},this.map.definedNames.model&&(this.model.definedNames=this.map.definedNames.model),!1)}reconcile(e){const t=(e.workbookRels||[]).reduce(((e,t)=>(e[t.Id]=t,e)),{}),r=[];let a,o=0;(e.sheets||[]).forEach((n=>{const i=t[n.rId];i&&(a=e.worksheetHash[`xl/${i.Target.replace(/^(\s|\/xl\/)+/,"")}`],a&&(a.name=n.name,a.id=n.id,a.state=n.state,r[o++]=a))}));const s=[];n.each(e.definedNames,(e=>{if("_xlnm.Print_Area"===e.name){if(a=r[e.localSheetId],a){a.pageSetup||(a.pageSetup={});const t=i.decodeEx(e.ranges[0]);a.pageSetup.printArea=a.pageSetup.printArea?`${a.pageSetup.printArea}&&${t.dimensions}`:t.dimensions}}else if("_xlnm.Print_Titles"===e.name){if(a=r[e.localSheetId],a){a.pageSetup||(a.pageSetup={});const t=e.ranges.join(","),r=/\$/g,n=/\$\d+:\$\d+/,i=t.match(n);if(i&&i.length){const e=i[0];a.pageSetup.printTitlesRow=e.replace(r,"")}const o=/\$[A-Z]+:\$[A-Z]+/,s=t.match(o);if(s&&s.length){const e=s[0];a.pageSetup.printTitlesColumn=e.replace(r,"")}}}else s.push(e)})),e.definedNames=s,e.media.forEach(((e,t)=>{e.index=t}))}}m.WORKBOOK_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x15","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},m.STATIC_XFORMS={fileVersion:new s({tag:"fileVersion",$:{appName:"xl",lastEdited:5,lowestEdited:5,rupBuild:9303}})},e.exports=m},41710:(e,t,r)=>{const n=r(95814),i=r(67032),a=r(87242),o=e.exports=function(e){this.model=e};i.inherits(o,a,{get tag(){return"r"},get richTextXform(){return this._richTextXform||(this._richTextXform=new n),this._richTextXform},render(e,t){t=t||this.model,e.openNode("comment",{ref:t.ref,authorId:0}),e.openNode("text"),t&&t.note&&t.note.texts&&t.note.texts.forEach((t=>{this.richTextXform.render(e,t)})),e.closeNode(),e.closeNode()},parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"comment":return this.model={type:"note",note:{texts:[]},...e.attributes},!0;case"r":return this.parser=this.richTextXform,this.parser.parseOpen(e),!0;default:return!1}},parseText(e){this.parser&&this.parser.parseText(e)},parseClose(e){switch(e){case"comment":return!1;case"r":return this.model.note.texts.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(e),!0}}})},10959:(e,t,r)=>{const n=r(12141),i=r(67032),a=r(87242),o=r(41710),s=e.exports=function(){this.map={comment:new o}};i.inherits(s,a,{COMMENTS_ATTRIBUTES:{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main"}},{render(e,t){t=t||this.model,e.openXml(n.StdDocAttributes),e.openNode("comments",s.COMMENTS_ATTRIBUTES),e.openNode("authors"),e.leafNode("author",null,"Author"),e.closeNode(),e.openNode("commentList"),t.comments.forEach((t=>{this.map.comment.render(e,t)})),e.closeNode(),e.closeNode()},parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"commentList":return this.model={comments:[]},!0;case"comment":return this.parser=this.map.comment,this.parser.parseOpen(e),!0;default:return!1}},parseText(e){this.parser&&this.parser.parseText(e)},parseClose(e){switch(e){case"commentList":return!1;case"comment":return this.model.comments.push(this.parser.model),this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(e),!0}}})},57190:(e,t,r)=>{const n=r(87242);e.exports=class extends n{constructor(e){super(),this._model=e}get tag(){return this._model&&this._model.tag}render(e,t,r){(t===r[2]||"x:SizeWithCells"===this.tag&&t===r[1])&&e.leafNode(this.tag)}parseOpen(e){return e.name===this.tag&&(this.model={},this.model[this.tag]=!0,!0)}parseText(){}parseClose(){return!1}}},59718:(e,t,r)=>{const n=r(87242);e.exports=class extends n{constructor(e){super(),this._model=e}get tag(){return this._model&&this._model.tag}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(e){return e.name===this.tag&&(this.text="",!0)}parseText(e){this.text=e}parseClose(){return!1}}},44110:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"x:Anchor"}getAnchorRect(e){const t=Math.floor(e.left),r=Math.floor(68*(e.left-t)),n=Math.floor(e.top),i=Math.floor(18*(e.top-n)),a=Math.floor(e.right),o=Math.floor(68*(e.right-a)),s=Math.floor(e.bottom);return[t,r,n,i,a,o,s,Math.floor(18*(e.bottom-s))]}getDefaultRect(e){const t=e.col,r=Math.max(e.row-2,0);return[t,6,r,14,t+2,2,r+4,16]}render(e,t){const r=t.anchor?this.getAnchorRect(t.anchor):this.getDefaultRect(t.refAddress);e.leafNode("x:Anchor",null,r.join(", "))}parseOpen(e){return e.name===this.tag&&(this.text="",!0)}parseText(e){this.text=e}parseClose(){return!1}}},59887:(e,t,r)=>{const n=r(87242),i=r(44110),a=r(59718),o=r(57190),s=["twoCells","oneCells","absolute"];e.exports=class extends n{constructor(){super(),this.map={"x:Anchor":new i,"x:Locked":new a({tag:"x:Locked"}),"x:LockText":new a({tag:"x:LockText"}),"x:SizeWithCells":new o({tag:"x:SizeWithCells"}),"x:MoveWithCells":new o({tag:"x:MoveWithCells"})}}get tag(){return"x:ClientData"}render(e,t){const{protection:r,editAs:n}=t.note;e.openNode(this.tag,{ObjectType:"Note"}),this.map["x:MoveWithCells"].render(e,n,s),this.map["x:SizeWithCells"].render(e,n,s),this.map["x:Anchor"].render(e,t),this.map["x:Locked"].render(e,r.locked),e.leafNode("x:AutoFill",null,"False"),this.map["x:LockText"].render(e,r.lockText),e.leafNode("x:Row",null,t.refAddress.row-1),e.leafNode("x:Column",null,t.refAddress.col-1),e.closeNode()}parseOpen(e){if(e.name===this.tag)this.reset(),this.model={anchor:[],protection:{},editAs:""};else this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):e!==this.tag||(this.normalizeModel(),!1)}normalizeModel(){const e=Object.assign({},this.map["x:MoveWithCells"].model,this.map["x:SizeWithCells"].model),t=Object.keys(e).length;this.model.editAs=s[t],this.model.anchor=this.map["x:Anchor"].text,this.model.protection.locked=this.map["x:Locked"].text,this.model.protection.lockText=this.map["x:LockText"].text}}},43316:(e,t,r)=>{const n=r(12141),i=r(87242),a=r(23712);class o extends i{constructor(){super(),this.map={"v:shape":new a}}get tag(){return"xml"}render(e,t){e.openXml(n.StdDocAttributes),e.openNode(this.tag,o.DRAWING_ATTRIBUTES),e.openNode("o:shapelayout",{"v:ext":"edit"}),e.leafNode("o:idmap",{"v:ext":"edit",data:1}),e.closeNode(),e.openNode("v:shapetype",{id:"_x0000_t202",coordsize:"21600,21600","o:spt":202,path:"m,l,21600r21600,l21600,xe"}),e.leafNode("v:stroke",{joinstyle:"miter"}),e.leafNode("v:path",{gradientshapeok:"t","o:connecttype":"rect"}),e.closeNode(),t.comments.forEach(((t,r)=>{this.map["v:shape"].render(e,t,r)})),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;if(e.name===this.tag)this.reset(),this.model={comments:[]};else this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.model.comments.push(this.parser.model),this.parser=void 0),!0):e!==this.tag}reconcile(e,t){e.anchors.forEach((e=>{e.br?this.map["xdr:twoCellAnchor"].reconcile(e,t):this.map["xdr:oneCellAnchor"].reconcile(e,t)}))}}o.DRAWING_ATTRIBUTES={"xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:x":"urn:schemas-microsoft-com:office:excel"},e.exports=o},23712:(e,t,r)=>{const n=r(87242),i=r(81905),a=r(59887);class o extends n{constructor(){super(),this.map={"v:textbox":new i,"x:ClientData":new a}}get tag(){return"v:shape"}render(e,t,r){e.openNode("v:shape",o.V_SHAPE_ATTRIBUTES(t,r)),e.leafNode("v:fill",{color2:"infoBackground [80]"}),e.leafNode("v:shadow",{color:"none [81]",obscured:"t"}),e.leafNode("v:path",{"o:connecttype":"none"}),this.map["v:textbox"].render(e,t),this.map["x:ClientData"].render(e,t),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;if(e.name===this.tag)this.reset(),this.model={margins:{insetmode:e.attributes["o:insetmode"]},anchor:"",editAs:"",protection:{}};else this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):e!==this.tag||(this.model.margins.inset=this.map["v:textbox"].model&&this.map["v:textbox"].model.inset,this.model.protection=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.protection,this.model.anchor=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.anchor,this.model.editAs=this.map["x:ClientData"].model&&this.map["x:ClientData"].model.editAs,!1)}}o.V_SHAPE_ATTRIBUTES=(e,t)=>({id:`_x0000_s${1025+t}`,type:"#_x0000_t202",style:"position:absolute; margin-left:105.3pt;margin-top:10.5pt;width:97.8pt;height:59.1pt;z-index:1;visibility:hidden",fillcolor:"infoBackground [80]",strokecolor:"none [81]","o:insetmode":e.note.margins&&e.note.margins.insetmode}),e.exports=o},81905:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"v:textbox"}conversionUnit(e,t,r){return`${parseFloat(e)*t.toFixed(2)}${r}`}reverseConversionUnit(e){return(e||"").split(",").map((e=>Number(parseFloat(this.conversionUnit(parseFloat(e),.1,"")).toFixed(2))))}render(e,t){const r={style:"mso-direction-alt:auto"};if(t&&t.note){let{inset:e}=t.note&&t.note.margins;Array.isArray(e)&&(e=e.map((e=>this.conversionUnit(e,10,"mm"))).join(",")),e&&(r.inset=e)}e.openNode("v:textbox",r),e.leafNode("div",{style:"text-align:left"}),e.closeNode()}parseOpen(e){return e.name!==this.tag||(this.model={inset:this.reverseConversionUnit(e.attributes.inset)},!0)}parseText(){}parseClose(e){return e!==this.tag}}},60554:(e,t,r)=>{const n=r(87242);e.exports=class extends n{createNewModel(e){return{}}parseOpen(e){return this.parser=this.parser||this.map[e.name],this.parser?(this.parser.parseOpen(e),!0):e.name===this.tag&&(this.model=this.createNewModel(e),!0)}parseText(e){this.parser&&this.parser.parseText(e)}onParserClose(e,t){this.model[e]=t.model}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.onParserClose(e,this.parser),this.parser=void 0),!0):e!==this.tag}}},38955:(e,t,r)=>{const n=r(87242);e.exports=class extends n{render(e,t){e.openNode("HeadingPairs"),e.openNode("vt:vector",{size:2,baseType:"variant"}),e.openNode("vt:variant"),e.leafNode("vt:lpstr",void 0,"Worksheets"),e.closeNode(),e.openNode("vt:variant"),e.leafNode("vt:i4",void 0,t.length),e.closeNode(),e.closeNode(),e.closeNode()}parseOpen(e){return"HeadingPairs"===e.name}parseText(){}parseClose(e){return"HeadingPairs"!==e}}},30449:(e,t,r)=>{const n=r(87242);e.exports=class extends n{render(e,t){e.openNode("TitlesOfParts"),e.openNode("vt:vector",{size:t.length,baseType:"lpstr"}),t.forEach((t=>{e.leafNode("vt:lpstr",void 0,t.name)})),e.closeNode(),e.closeNode()}parseOpen(e){return"TitlesOfParts"===e.name}parseText(){}parseClose(e){return"TitlesOfParts"!==e}}},15888:(e,t,r)=>{const n=r(12141),i=r(87242),a=r(71207),o=r(38955),s=r(30449);class c extends i{constructor(){super(),this.map={Company:new a({tag:"Company"}),Manager:new a({tag:"Manager"}),HeadingPairs:new o,TitleOfParts:new s}}render(e,t){e.openXml(n.StdDocAttributes),e.openNode("Properties",c.PROPERTY_ATTRIBUTES),e.leafNode("Application",void 0,"Microsoft Excel"),e.leafNode("DocSecurity",void 0,"0"),e.leafNode("ScaleCrop",void 0,"false"),this.map.HeadingPairs.render(e,t.worksheets),this.map.TitleOfParts.render(e,t.worksheets),this.map.Company.render(e,t.company||""),this.map.Manager.render(e,t.manager),e.leafNode("LinksUpToDate",void 0,"false"),e.leafNode("SharedDoc",void 0,"false"),e.leafNode("HyperlinksChanged",void 0,"false"),e.leafNode("AppVersion",void 0,"16.0300"),e.closeNode()}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):"Properties"===e.name||(this.parser=this.map[e.name],!!this.parser&&(this.parser.parseOpen(e),!0))}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):"Properties"!==e||(this.model={worksheets:this.map.TitleOfParts.model,company:this.map.Company.model,manager:this.map.Manager.model},!1)}}c.DateFormat=function(e){return e.toISOString().replace(/[.]\d{3,6}/,"")},c.DateAttrs={"xsi:type":"dcterms:W3CDTF"},c.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties","xmlns:vt":"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"},e.exports=c},40814:(e,t,r)=>{const n=r(12141),i=r(87242);class a extends i{render(e,t){e.openXml(n.StdDocAttributes),e.openNode("Types",a.PROPERTY_ATTRIBUTES);const r={};(t.media||[]).forEach((t=>{if("image"===t.type){const n=t.extension;r[n]||(r[n]=!0,e.leafNode("Default",{Extension:n,ContentType:`image/${n}`}))}})),e.leafNode("Default",{Extension:"rels",ContentType:"application/vnd.openxmlformats-package.relationships+xml"}),e.leafNode("Default",{Extension:"xml",ContentType:"application/xml"}),e.leafNode("Override",{PartName:"/xl/workbook.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"}),t.worksheets.forEach((t=>{const r=`/xl/worksheets/sheet${t.id}.xml`;e.leafNode("Override",{PartName:r,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"})})),e.leafNode("Override",{PartName:"/xl/theme/theme1.xml",ContentType:"application/vnd.openxmlformats-officedocument.theme+xml"}),e.leafNode("Override",{PartName:"/xl/styles.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"});t.sharedStrings&&t.sharedStrings.count&&e.leafNode("Override",{PartName:"/xl/sharedStrings.xml",ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"}),t.tables&&t.tables.forEach((t=>{e.leafNode("Override",{PartName:`/xl/tables/${t.target}`,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml"})})),t.drawings&&t.drawings.forEach((t=>{e.leafNode("Override",{PartName:`/xl/drawings/${t.name}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.drawing+xml"})})),t.commentRefs&&(e.leafNode("Default",{Extension:"vml",ContentType:"application/vnd.openxmlformats-officedocument.vmlDrawing"}),t.commentRefs.forEach((({commentName:t})=>{e.leafNode("Override",{PartName:`/xl/${t}.xml`,ContentType:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml"})}))),e.leafNode("Override",{PartName:"/docProps/core.xml",ContentType:"application/vnd.openxmlformats-package.core-properties+xml"}),e.leafNode("Override",{PartName:"/docProps/app.xml",ContentType:"application/vnd.openxmlformats-officedocument.extended-properties+xml"}),e.closeNode()}parseOpen(){return!1}parseText(){}parseClose(){return!1}}a.PROPERTY_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"},e.exports=a},1298:(e,t,r)=>{const n=r(12141),i=r(87242),a=r(59874),o=r(71207),s=r(65208);class c extends i{constructor(){super(),this.map={"dc:creator":new o({tag:"dc:creator"}),"dc:title":new o({tag:"dc:title"}),"dc:subject":new o({tag:"dc:subject"}),"dc:description":new o({tag:"dc:description"}),"dc:identifier":new o({tag:"dc:identifier"}),"dc:language":new o({tag:"dc:language"}),"cp:keywords":new o({tag:"cp:keywords"}),"cp:category":new o({tag:"cp:category"}),"cp:lastModifiedBy":new o({tag:"cp:lastModifiedBy"}),"cp:lastPrinted":new a({tag:"cp:lastPrinted",format:c.DateFormat}),"cp:revision":new s({tag:"cp:revision"}),"cp:version":new o({tag:"cp:version"}),"cp:contentStatus":new o({tag:"cp:contentStatus"}),"cp:contentType":new o({tag:"cp:contentType"}),"dcterms:created":new a({tag:"dcterms:created",attrs:c.DateAttrs,format:c.DateFormat}),"dcterms:modified":new a({tag:"dcterms:modified",attrs:c.DateAttrs,format:c.DateFormat})}}render(e,t){e.openXml(n.StdDocAttributes),e.openNode("cp:coreProperties",c.CORE_PROPERTY_ATTRIBUTES),this.map["dc:creator"].render(e,t.creator),this.map["dc:title"].render(e,t.title),this.map["dc:subject"].render(e,t.subject),this.map["dc:description"].render(e,t.description),this.map["dc:identifier"].render(e,t.identifier),this.map["dc:language"].render(e,t.language),this.map["cp:keywords"].render(e,t.keywords),this.map["cp:category"].render(e,t.category),this.map["cp:lastModifiedBy"].render(e,t.lastModifiedBy),this.map["cp:lastPrinted"].render(e,t.lastPrinted),this.map["cp:revision"].render(e,t.revision),this.map["cp:version"].render(e,t.version),this.map["cp:contentStatus"].render(e,t.contentStatus),this.map["cp:contentType"].render(e,t.contentType),this.map["dcterms:created"].render(e,t.created),this.map["dcterms:modified"].render(e,t.modified),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"cp:coreProperties":case"coreProperties":return!0;default:if(this.parser=this.map[e.name],this.parser)return this.parser.parseOpen(e),!0;throw new Error(`Unexpected xml node in parseOpen: ${JSON.stringify(e)}`)}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;switch(e){case"cp:coreProperties":case"coreProperties":return this.model={creator:this.map["dc:creator"].model,title:this.map["dc:title"].model,subject:this.map["dc:subject"].model,description:this.map["dc:description"].model,identifier:this.map["dc:identifier"].model,language:this.map["dc:language"].model,keywords:this.map["cp:keywords"].model,category:this.map["cp:category"].model,lastModifiedBy:this.map["cp:lastModifiedBy"].model,lastPrinted:this.map["cp:lastPrinted"].model,revision:this.map["cp:revision"].model,contentStatus:this.map["cp:contentStatus"].model,contentType:this.map["cp:contentType"].model,created:this.map["dcterms:created"].model,modified:this.map["dcterms:modified"].model},!1;default:throw new Error(`Unexpected xml node in parseClose: ${e}`)}}}c.DateFormat=function(e){return e.toISOString().replace(/[.]\d{3}/,"")},c.DateAttrs={"xsi:type":"dcterms:W3CDTF"},c.CORE_PROPERTY_ATTRIBUTES={"xmlns:cp":"http://schemas.openxmlformats.org/package/2006/metadata/core-properties","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:dcterms":"http://purl.org/dc/terms/","xmlns:dcmitype":"http://purl.org/dc/dcmitype/","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance"},e.exports=c},7431:(e,t,r)=>{const n=r(87242);e.exports=class extends n{render(e,t){e.leafNode("Relationship",t)}parseOpen(e){return"Relationship"===e.name&&(this.model=e.attributes,!0)}parseText(){}parseClose(){return!1}}},61724:(e,t,r)=>{const n=r(12141),i=r(87242),a=r(7431);class o extends i{constructor(){super(),this.map={Relationship:new a}}render(e,t){t=t||this._values,e.openXml(n.StdDocAttributes),e.openNode("Relationships",o.RELATIONSHIPS_ATTRIBUTES),t.forEach((t=>{this.map.Relationship.render(e,t)})),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;if("Relationships"===e.name)return this.model=[],!0;if(this.parser=this.map[e.name],this.parser)return this.parser.parseOpen(e),!0;throw new Error(`Unexpected xml node in parseOpen: ${JSON.stringify(e)}`)}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.model.push(this.parser.model),this.parser=void 0),!0;if("Relationships"===e)return!1;throw new Error(`Unexpected xml node in parseClose: ${e}`)}}o.RELATIONSHIPS_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"},e.exports=o},36662:(e,t,r)=>{const n=r(87242);e.exports=class extends n{parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;if(e.name===this.tag)this.reset(),this.model={range:{editAs:e.attributes.editAs||"oneCell"}};else this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);return!0}parseText(e){this.parser&&this.parser.parseText(e)}reconcilePicture(e,t){if(e&&e.rId){const r=t.rels[e.rId].Target.match(/.*\/media\/(.+[.][a-zA-Z]{3,4})/);if(r){const e=r[1],n=t.mediaIndex[e];return t.media[n]}}}}},78631:(e,t,r)=>{const n=r(87242),i=r(92539);e.exports=class extends n{constructor(){super(),this.map={"a:blip":new i}}get tag(){return"xdr:blipFill"}render(e,t){e.openNode(this.tag),this.map["a:blip"].render(e,t),e.openNode("a:stretch"),e.leafNode("a:fillRect"),e.closeNode(),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;if(e.name===this.tag)this.reset();else this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);return!0}parseText(){}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):e!==this.tag||(this.model=this.map["a:blip"].model,!1)}}},92539:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"a:blip"}render(e,t){e.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:embed":t.rId,cstate:"print"})}parseOpen(e){return e.name!==this.tag||(this.model={rId:e.attributes["r:embed"]},!0)}parseText(){}parseClose(e){return e!==this.tag}}},250:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"xdr:cNvPicPr"}render(e){e.openNode(this.tag),e.leafNode("a:picLocks",{noChangeAspect:"1"}),e.closeNode()}parseOpen(e){return e.name,this.tag,!0}parseText(){}parseClose(e){return e!==this.tag}}},57289:(e,t,r)=>{const n=r(87242),i=r(68749),a=r(84625);e.exports=class extends n{constructor(){super(),this.map={"a:hlinkClick":new i,"a:extLst":new a}}get tag(){return"xdr:cNvPr"}render(e,t){e.openNode(this.tag,{id:t.index,name:`Picture ${t.index}`}),this.map["a:hlinkClick"].render(e,t),this.map["a:extLst"].render(e,t),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;if(e.name===this.tag)this.reset();else this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);return!0}parseText(){}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):e!==this.tag||(this.model=this.map["a:hlinkClick"].model,!1)}}},76244:(e,t,r)=>{const n=r(87242),i=r(65208);e.exports=class extends n{constructor(e){super(),this.tag=e.tag,this.map={"xdr:col":new i({tag:"xdr:col",zero:!0}),"xdr:colOff":new i({tag:"xdr:colOff",zero:!0}),"xdr:row":new i({tag:"xdr:row",zero:!0}),"xdr:rowOff":new i({tag:"xdr:rowOff",zero:!0})}}render(e,t){e.openNode(this.tag),this.map["xdr:col"].render(e,t.nativeCol),this.map["xdr:colOff"].render(e,t.nativeColOff),this.map["xdr:row"].render(e,t.nativeRow),this.map["xdr:rowOff"].render(e,t.nativeRowOff),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;if(e.name===this.tag)this.reset();else this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):e!==this.tag||(this.model={nativeCol:this.map["xdr:col"].model,nativeColOff:this.map["xdr:colOff"].model,nativeRow:this.map["xdr:row"].model,nativeRowOff:this.map["xdr:rowOff"].model},!1)}}},66386:(e,t,r)=>{const n=r(29428),i=r(12141),a=r(87242),o=r(43285),s=r(80715);class c extends a{constructor(){super(),this.map={"xdr:twoCellAnchor":new o,"xdr:oneCellAnchor":new s}}prepare(e){e.anchors.forEach(((e,t)=>{e.anchorType=function(e){return("string"==typeof e.range?n.decode(e.range):e.range).br?"xdr:twoCellAnchor":"xdr:oneCellAnchor"}(e);this.map[e.anchorType].prepare(e,{index:t})}))}get tag(){return"xdr:wsDr"}render(e,t){e.openXml(i.StdDocAttributes),e.openNode(this.tag,c.DRAWING_ATTRIBUTES),t.anchors.forEach((t=>{this.map[t.anchorType].render(e,t)})),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;if(e.name===this.tag)this.reset(),this.model={anchors:[]};else this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.model.anchors.push(this.parser.model),this.parser=void 0),!0):e!==this.tag}reconcile(e,t){e.anchors.forEach((e=>{e.br?this.map["xdr:twoCellAnchor"].reconcile(e,t):this.map["xdr:oneCellAnchor"].reconcile(e,t)}))}}c.DRAWING_ATTRIBUTES={"xmlns:xdr":"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing","xmlns:a":"http://schemas.openxmlformats.org/drawingml/2006/main"},e.exports=c},84625:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"a:extLst"}render(e){e.openNode(this.tag),e.openNode("a:ext",{uri:"{FF2B5EF4-FFF2-40B4-BE49-F238E27FC236}"}),e.leafNode("a16:creationId",{"xmlns:a16":"http://schemas.microsoft.com/office/drawing/2014/main",id:"{00000000-0008-0000-0000-000002000000}"}),e.closeNode(),e.closeNode()}parseOpen(e){return e.name,this.tag,!0}parseText(){}parseClose(e){return e!==this.tag}}},44183:(e,t,r)=>{const n=r(87242),i=9525;e.exports=class extends n{constructor(e){super(),this.tag=e.tag,this.map={}}render(e,t){e.openNode(this.tag);const r=Math.floor(t.width*i),n=Math.floor(t.height*i);e.addAttribute("cx",r),e.addAttribute("cy",n),e.closeNode()}parseOpen(e){return e.name===this.tag&&(this.model={width:parseInt(e.attributes.cx||"0",10)/i,height:parseInt(e.attributes.cy||"0",10)/i},!0)}parseText(){}parseClose(){return!1}}},68749:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"a:hlinkClick"}render(e,t){t.hyperlinks&&t.hyperlinks.rId&&e.leafNode(this.tag,{"xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","r:id":t.hyperlinks.rId,tooltip:t.hyperlinks.tooltip})}parseOpen(e){return e.name!==this.tag||(this.model={hyperlinks:{rId:e.attributes["r:id"],tooltip:e.attributes.tooltip}},!0)}parseText(){}parseClose(){return!1}}},30246:(e,t,r)=>{const n=r(87242),i=r(57289),a=r(250);e.exports=class extends n{constructor(){super(),this.map={"xdr:cNvPr":new i,"xdr:cNvPicPr":new a}}get tag(){return"xdr:nvPicPr"}render(e,t){e.openNode(this.tag),this.map["xdr:cNvPr"].render(e,t),this.map["xdr:cNvPicPr"].render(e,t),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;if(e.name===this.tag)this.reset();else this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);return!0}parseText(){}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):e!==this.tag||(this.model=this.map["xdr:cNvPr"].model,!1)}}},80715:(e,t,r)=>{const n=r(36662),i=r(52789),a=r(76244),o=r(44183),s=r(11932);e.exports=class extends n{constructor(){super(),this.map={"xdr:from":new a({tag:"xdr:from"}),"xdr:ext":new o({tag:"xdr:ext"}),"xdr:pic":new s,"xdr:clientData":new i({tag:"xdr:clientData"})}}get tag(){return"xdr:oneCellAnchor"}prepare(e,t){this.map["xdr:pic"].prepare(e.picture,t)}render(e,t){e.openNode(this.tag,{editAs:t.range.editAs||"oneCell"}),this.map["xdr:from"].render(e,t.range.tl),this.map["xdr:ext"].render(e,t.range.ext),this.map["xdr:pic"].render(e,t.picture),this.map["xdr:clientData"].render(e,{}),e.closeNode()}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):e!==this.tag||(this.model.range.tl=this.map["xdr:from"].model,this.model.range.ext=this.map["xdr:ext"].model,this.model.picture=this.map["xdr:pic"].model,!1)}reconcile(e,t){e.medium=this.reconcilePicture(e.picture,t)}}},11932:(e,t,r)=>{const n=r(87242),i=r(52789),a=r(78631),o=r(30246),s=r(27299);e.exports=class extends n{constructor(){super(),this.map={"xdr:nvPicPr":new o,"xdr:blipFill":new a,"xdr:spPr":new i(s)}}get tag(){return"xdr:pic"}prepare(e,t){e.index=t.index+1}render(e,t){e.openNode(this.tag),this.map["xdr:nvPicPr"].render(e,t),this.map["xdr:blipFill"].render(e,t),this.map["xdr:spPr"].render(e,t),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;if(e.name===this.tag)this.reset();else this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);return!0}parseText(){}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.mergeModel(this.parser.model),this.parser=void 0),!0):e!==this.tag}}},27299:e=>{e.exports={tag:"xdr:spPr",c:[{tag:"a:xfrm",c:[{tag:"a:off",$:{x:"0",y:"0"}},{tag:"a:ext",$:{cx:"0",cy:"0"}}]},{tag:"a:prstGeom",$:{prst:"rect"},c:[{tag:"a:avLst"}]}]}},43285:(e,t,r)=>{const n=r(36662),i=r(52789),a=r(76244),o=r(11932);e.exports=class extends n{constructor(){super(),this.map={"xdr:from":new a({tag:"xdr:from"}),"xdr:to":new a({tag:"xdr:to"}),"xdr:pic":new o,"xdr:clientData":new i({tag:"xdr:clientData"})}}get tag(){return"xdr:twoCellAnchor"}prepare(e,t){this.map["xdr:pic"].prepare(e.picture,t)}render(e,t){e.openNode(this.tag,{editAs:t.range.editAs||"oneCell"}),this.map["xdr:from"].render(e,t.range.tl),this.map["xdr:to"].render(e,t.range.br),this.map["xdr:pic"].render(e,t.picture),this.map["xdr:clientData"].render(e,{}),e.closeNode()}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):e!==this.tag||(this.model.range.tl=this.map["xdr:from"].model,this.model.range.br=this.map["xdr:to"].model,this.model.picture=this.map["xdr:pic"].model,!1)}reconcile(e,t){e.medium=this.reconcilePicture(e.picture,t)}}},62447:(e,t,r)=>{const n=r(87242);e.exports=class extends n{constructor(e){super(),this.tag=e.tag,this.always=!!e.always,this.count=e.count,this.empty=e.empty,this.$count=e.$count||"count",this.$=e.$,this.childXform=e.childXform,this.maxItems=e.maxItems}prepare(e,t){const{childXform:r}=this;e&&e.forEach(((e,n)=>{t.index=n,r.prepare(e,t)}))}render(e,t){if(this.always||t&&t.length){e.openNode(this.tag,this.$),this.count&&e.addAttribute(this.$count,t&&t.length||0);const{childXform:r}=this;(t||[]).forEach(((t,n)=>{r.render(e,t,n)})),e.closeNode()}else this.empty&&e.leafNode(this.tag)}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):e.name===this.tag?(this.model=[],!0):!!this.childXform.parseOpen(e)&&(this.parser=this.childXform,!0)}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser){if(!this.parser.parseClose(e)&&(this.model.push(this.parser.model),this.parser=void 0,this.maxItems&&this.model.length>this.maxItems))throw new Error(`Max ${this.childXform.tag} count (${this.maxItems}) exceeded`);return!0}return!1}reconcile(e,t){if(e){const{childXform:r}=this;e.forEach((e=>{r.reconcile(e,t)}))}}}},47749:(e,t,r)=>{const n=r(29428),i=r(87242);e.exports=class extends i{get tag(){return"autoFilter"}render(e,t){if(t)if("string"==typeof t)e.leafNode("autoFilter",{ref:t});else{const r=function(e){return"string"==typeof e?e:n.getAddress(e.row,e.column).address},i=r(t.from),a=r(t.to);i&&a&&e.leafNode("autoFilter",{ref:`${i}:${a}`})}}parseOpen(e){"autoFilter"===e.name&&(this.model=e.attributes.ref)}}},57963:(e,t,r)=>{const n=r(67032),i=r(87242),a=r(69311),o=r(70880),s=r(95814);function c(e){if(null==e)return o.ValueType.Null;if(e instanceof String||"string"==typeof e)return o.ValueType.String;if("number"==typeof e)return o.ValueType.Number;if("boolean"==typeof e)return o.ValueType.Boolean;if(e instanceof Date)return o.ValueType.Date;if(e.text&&e.hyperlink)return o.ValueType.Hyperlink;if(e.formula)return o.ValueType.Formula;if(e.error)return o.ValueType.Error;throw new Error("I could not understand type of value")}e.exports=class extends i{constructor(){super(),this.richTextXForm=new s}get tag(){return"c"}prepare(e,t){const r=t.styles.addStyleModel(e.style||{},(n=e).type===o.ValueType.Formula?c(n.result):n.type);var n;switch(r&&(e.styleId=r),e.comment&&t.comments.push({...e.comment,ref:e.address}),e.type){case o.ValueType.String:case o.ValueType.RichText:t.sharedStrings&&(e.ssId=t.sharedStrings.add(e.value));break;case o.ValueType.Date:t.date1904&&(e.date1904=!0);break;case o.ValueType.Hyperlink:t.sharedStrings&&void 0!==e.text&&null!==e.text&&(e.ssId=t.sharedStrings.add(e.text)),t.hyperlinks.push({address:e.address,target:e.hyperlink,tooltip:e.tooltip});break;case o.ValueType.Merge:t.merges.add(e);break;case o.ValueType.Formula:if(t.date1904&&(e.date1904=!0),"shared"===e.shareType&&(e.si=t.siFormulae++),e.formula)t.formulae[e.address]=e;else if(e.sharedFormula){const r=t.formulae[e.sharedFormula];if(!r)throw new Error(`Shared Formula master must exist above and or left of clone for cell ${e.address}`);void 0===r.si?(r.shareType="shared",r.si=t.siFormulae++,r.range=new a(r.address,e.address)):r.range&&r.range.expandToAddress(e.address),e.si=r.si}}}renderFormula(e,t){let r=null;switch(t.shareType){case"shared":r={t:"shared",ref:t.ref||t.range.range,si:t.si};break;case"array":r={t:"array",ref:t.ref};break;default:void 0!==t.si&&(r={t:"shared",si:t.si})}switch(c(t.result)){case o.ValueType.Null:e.leafNode("f",r,t.formula);break;case o.ValueType.String:e.addAttribute("t","str"),e.leafNode("f",r,t.formula),e.leafNode("v",null,t.result);break;case o.ValueType.Number:e.leafNode("f",r,t.formula),e.leafNode("v",null,t.result);break;case o.ValueType.Boolean:e.addAttribute("t","b"),e.leafNode("f",r,t.formula),e.leafNode("v",null,t.result?1:0);break;case o.ValueType.Error:e.addAttribute("t","e"),e.leafNode("f",r,t.formula),e.leafNode("v",null,t.result.error);break;case o.ValueType.Date:e.leafNode("f",r,t.formula),e.leafNode("v",null,n.dateToExcel(t.result,t.date1904));break;default:throw new Error("I could not understand type of value")}}render(e,t){if(t.type!==o.ValueType.Null||t.styleId){switch(e.openNode("c"),e.addAttribute("r",t.address),t.styleId&&e.addAttribute("s",t.styleId),t.type){case o.ValueType.Null:break;case o.ValueType.Number:e.leafNode("v",null,t.value);break;case o.ValueType.Boolean:e.addAttribute("t","b"),e.leafNode("v",null,t.value?"1":"0");break;case o.ValueType.Error:e.addAttribute("t","e"),e.leafNode("v",null,t.value.error);break;case o.ValueType.String:case o.ValueType.RichText:void 0!==t.ssId?(e.addAttribute("t","s"),e.leafNode("v",null,t.ssId)):t.value&&t.value.richText?(e.addAttribute("t","inlineStr"),e.openNode("is"),t.value.richText.forEach((t=>{this.richTextXForm.render(e,t)})),e.closeNode("is")):(e.addAttribute("t","str"),e.leafNode("v",null,t.value));break;case o.ValueType.Date:e.leafNode("v",null,n.dateToExcel(t.value,t.date1904));break;case o.ValueType.Hyperlink:void 0!==t.ssId?(e.addAttribute("t","s"),e.leafNode("v",null,t.ssId)):(e.addAttribute("t","str"),e.leafNode("v",null,t.text));break;case o.ValueType.Formula:this.renderFormula(e,t);case o.ValueType.Merge:}e.closeNode()}}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"c":return this.model={address:e.attributes.r},this.t=e.attributes.t,e.attributes.s&&(this.model.styleId=parseInt(e.attributes.s,10)),!0;case"f":return this.currentNode="f",this.model.si=e.attributes.si,this.model.shareType=e.attributes.t,this.model.ref=e.attributes.ref,!0;case"v":return this.currentNode="v",!0;case"t":return this.currentNode="t",!0;case"r":return this.parser=this.richTextXForm,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){if(this.parser)this.parser.parseText(e);else switch(this.currentNode){case"f":this.model.formula=this.model.formula?this.model.formula+e:e;break;case"v":case"t":this.model.value&&this.model.value.richText?this.model.value.richText.text=this.model.value.richText.text?this.model.value.richText.text+e:e:this.model.value=this.model.value?this.model.value+e:e}}parseClose(e){switch(e){case"c":{const{model:e}=this;if(e.formula||e.shareType)e.type=o.ValueType.Formula,e.value&&("str"===this.t?e.result=n.xmlDecode(e.value):"b"===this.t?e.result=0!==parseInt(e.value,10):"e"===this.t?e.result={error:e.value}:e.result=parseFloat(e.value),e.value=void 0);else if(void 0!==e.value)switch(this.t){case"s":e.type=o.ValueType.String,e.value=parseInt(e.value,10);break;case"str":e.type=o.ValueType.String,e.value=n.xmlDecode(e.value);break;case"inlineStr":e.type=o.ValueType.String;break;case"b":e.type=o.ValueType.Boolean,e.value=0!==parseInt(e.value,10);break;case"e":e.type=o.ValueType.Error,e.value={error:e.value};break;default:e.type=o.ValueType.Number,e.value=parseFloat(e.value)}else e.styleId?e.type=o.ValueType.Null:e.type=o.ValueType.Merge;return!1}case"f":case"v":case"is":return this.currentNode=void 0,!0;case"t":return this.parser?(this.parser.parseClose(e),!0):(this.currentNode=void 0,!0);case"r":return this.model.value=this.model.value||{},this.model.value.richText=this.model.value.richText||[],this.model.value.richText.push(this.parser.model),this.parser=void 0,this.currentNode=void 0,!0;default:return!!this.parser&&(this.parser.parseClose(e),!0)}}reconcile(e,t){const r=e.styleId&&t.styles&&t.styles.getStyleModel(e.styleId);switch(r&&(e.style=r),void 0!==e.styleId&&(e.styleId=void 0),e.type){case o.ValueType.String:"number"==typeof e.value&&t.sharedStrings&&(e.value=t.sharedStrings.getString(e.value)),e.value.richText&&(e.type=o.ValueType.RichText);break;case o.ValueType.Number:r&&n.isDateFmt(r.numFmt)&&(e.type=o.ValueType.Date,e.value=n.excelToDate(e.value,t.date1904));break;case o.ValueType.Formula:void 0!==e.result&&r&&n.isDateFmt(r.numFmt)&&(e.result=n.excelToDate(e.result,t.date1904)),"shared"===e.shareType&&(e.ref?t.formulae[e.si]=e.address:(e.sharedFormula=t.formulae[e.si],delete e.shareType),delete e.si)}const i=t.hyperlinkMap[e.address];i&&(e.type===o.ValueType.Formula?(e.text=e.result,e.result=void 0):(e.text=e.value,e.value=void 0),e.type=o.ValueType.Hyperlink,e.hyperlink=i);const a=t.commentsMap&&t.commentsMap[e.address];a&&(e.comment=a)}}},95996:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"x14:cfIcon"}render(e,t){e.leafNode(this.tag,{iconSet:t.iconSet,iconId:t.iconId})}parseOpen({attributes:e}){this.model={iconSet:e.iconSet,iconId:n.toIntValue(e.iconId)}}parseClose(e){return e!==this.tag}}},86827:(e,t,r)=>{const{v4:n}=r(22587),i=r(87242),a=r(60554),o=r(55092),s=r(82507),c={"3Triangles":!0,"3Stars":!0,"5Boxes":!0};class l extends a{constructor(){super(),this.map={"x14:dataBar":this.databarXform=new o,"x14:iconSet":this.iconSetXform=new s}}get tag(){return"x14:cfRule"}static isExt(e){return"dataBar"===e.type?o.isExt(e):!("iconSet"!==e.type||!e.custom&&!c[e.iconSet])}prepare(e){l.isExt(e)&&(e.x14Id=`{${n()}}`.toUpperCase())}render(e,t){if(l.isExt(t))switch(t.type){case"dataBar":this.renderDataBar(e,t);break;case"iconSet":this.renderIconSet(e,t)}}renderDataBar(e,t){e.openNode(this.tag,{type:"dataBar",id:t.x14Id}),this.databarXform.render(e,t),e.closeNode()}renderIconSet(e,t){e.openNode(this.tag,{type:"iconSet",priority:t.priority,id:t.x14Id||`{${n()}}`}),this.iconSetXform.render(e,t),e.closeNode()}createNewModel({attributes:e}){return{type:e.type,x14Id:e.id,priority:i.toIntValue(e.priority)}}onParserClose(e,t){Object.assign(this.model,t.model)}}e.exports=l},76721:(e,t,r)=>{const n=r(60554),i=r(60999);e.exports=class extends n{constructor(){super(),this.map={"xm:f":this.fExtXform=new i}}get tag(){return"x14:cfvo"}render(e,t){e.openNode(this.tag,{type:t.type}),void 0!==t.value&&this.fExtXform.render(e,t.value),e.closeNode()}createNewModel(e){return{type:e.attributes.type}}onParserClose(e,t){if("xm:f"===e)this.model.value=t.model?parseFloat(t.model):0}}},99215:(e,t,r)=>{const n=r(60554),i=r(91848),a=r(86827);e.exports=class extends n{constructor(){super(),this.map={"xm:sqref":this.sqRef=new i,"x14:cfRule":this.cfRule=new a}}get tag(){return"x14:conditionalFormatting"}prepare(e,t){e.rules.forEach((e=>{this.cfRule.prepare(e,t)}))}render(e,t){t.rules.some(a.isExt)&&(e.openNode(this.tag,{"xmlns:xm":"http://schemas.microsoft.com/office/excel/2006/main"}),t.rules.filter(a.isExt).forEach((t=>this.cfRule.render(e,t))),this.sqRef.render(e,t.ref),e.closeNode())}createNewModel(){return{rules:[]}}onParserClose(e,t){switch(e){case"xm:sqref":this.model.ref=t.model;break;case"x14:cfRule":this.model.rules.push(t.model)}}}},76672:(e,t,r)=>{const n=r(60554),i=r(86827),a=r(99215);e.exports=class extends n{constructor(){super(),this.map={"x14:conditionalFormatting":this.cfXform=new a}}get tag(){return"x14:conditionalFormattings"}hasContent(e){return void 0===e.hasExtContent&&(e.hasExtContent=e.some((e=>e.rules.some(i.isExt)))),e.hasExtContent}prepare(e,t){e.forEach((e=>{this.cfXform.prepare(e,t)}))}render(e,t){this.hasContent(t)&&(e.openNode(this.tag),t.forEach((t=>this.cfXform.render(e,t))),e.closeNode())}createNewModel(){return[]}onParserClose(e,t){this.model.push(t.model)}}},55092:(e,t,r)=>{const n=r(87242),i=r(60554),a=r(42720),o=r(76721);e.exports=class extends i{constructor(){super(),this.map={"x14:cfvo":this.cfvoXform=new o,"x14:borderColor":this.borderColorXform=new a("x14:borderColor"),"x14:negativeBorderColor":this.negativeBorderColorXform=new a("x14:negativeBorderColor"),"x14:negativeFillColor":this.negativeFillColorXform=new a("x14:negativeFillColor"),"x14:axisColor":this.axisColorXform=new a("x14:axisColor")}}static isExt(e){return!e.gradient}get tag(){return"x14:dataBar"}render(e,t){e.openNode(this.tag,{minLength:n.toIntAttribute(t.minLength,0,!0),maxLength:n.toIntAttribute(t.maxLength,100,!0),border:n.toBoolAttribute(t.border,!1),gradient:n.toBoolAttribute(t.gradient,!0),negativeBarColorSameAsPositive:n.toBoolAttribute(t.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:n.toBoolAttribute(t.negativeBarBorderColorSameAsPositive,!0),axisPosition:n.toAttribute(t.axisPosition,"auto"),direction:n.toAttribute(t.direction,"leftToRight")}),t.cfvo.forEach((t=>{this.cfvoXform.render(e,t)})),this.borderColorXform.render(e,t.borderColor),this.negativeBorderColorXform.render(e,t.negativeBorderColor),this.negativeFillColorXform.render(e,t.negativeFillColor),this.axisColorXform.render(e,t.axisColor),e.closeNode()}createNewModel({attributes:e}){return{cfvo:[],minLength:n.toIntValue(e.minLength,0),maxLength:n.toIntValue(e.maxLength,100),border:n.toBoolValue(e.border,!1),gradient:n.toBoolValue(e.gradient,!0),negativeBarColorSameAsPositive:n.toBoolValue(e.negativeBarColorSameAsPositive,!0),negativeBarBorderColorSameAsPositive:n.toBoolValue(e.negativeBarBorderColorSameAsPositive,!0),axisPosition:n.toStringValue(e.axisPosition,"auto"),direction:n.toStringValue(e.direction,"leftToRight")}}onParserClose(e,t){const[,r]=e.split(":");if("cfvo"===r)this.model.cfvo.push(t.model);else this.model[r]=t.model}}},60999:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"xm:f"}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(){this.model=""}parseText(e){this.model+=e}parseClose(e){return e!==this.tag}}},82507:(e,t,r)=>{const n=r(87242),i=r(60554),a=r(76721),o=r(95996);e.exports=class extends i{constructor(){super(),this.map={"x14:cfvo":this.cfvoXform=new a,"x14:cfIcon":this.cfIconXform=new o}}get tag(){return"x14:iconSet"}render(e,t){e.openNode(this.tag,{iconSet:n.toStringAttribute(t.iconSet),reverse:n.toBoolAttribute(t.reverse,!1),showValue:n.toBoolAttribute(t.showValue,!0),custom:n.toBoolAttribute(t.icons,!1)}),t.cfvo.forEach((t=>{this.cfvoXform.render(e,t)})),t.icons&&t.icons.forEach(((t,r)=>{t.iconId=r,this.cfIconXform.render(e,t)})),e.closeNode()}createNewModel({attributes:e}){return{cfvo:[],iconSet:n.toStringValue(e.iconSet,"3TrafficLights"),reverse:n.toBoolValue(e.reverse,!1),showValue:n.toBoolValue(e.showValue,!0)}}onParserClose(e,t){const[,r]=e.split(":");switch(r){case"cfvo":this.model.cfvo.push(t.model);break;case"cfIcon":this.model.icons||(this.model.icons=[]),this.model.icons.push(t.model);break;default:this.model[r]=t.model}}}},91848:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"xm:sqref"}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(){this.model=""}parseText(e){this.model+=e}parseClose(e){return e!==this.tag}}},49115:(e,t,r)=>{const n=r(87242),i=r(60554),a=r(69311),o=r(89676),s=r(44200),c=r(93459),l=r(93937),u=r(65515),d={"3Triangles":!0,"3Stars":!0,"5Boxes":!0},p=e=>{const{type:t,operator:r}=e;switch(t){case"containsText":case"containsBlanks":case"notContainsBlanks":case"containsErrors":case"notContainsErrors":return{type:"containsText",operator:t};default:return{type:t,operator:r}}};class f extends i{constructor(){super(),this.map={dataBar:this.databarXform=new o,extLst:this.extLstRefXform=new s,formula:this.formulaXform=new c,colorScale:this.colorScaleXform=new l,iconSet:this.iconSetXform=new u}}get tag(){return"cfRule"}static isPrimitive(e){return"iconSet"!==e.type||!e.custom&&!d[e.iconSet]}render(e,t){switch(t.type){case"expression":this.renderExpression(e,t);break;case"cellIs":this.renderCellIs(e,t);break;case"top10":this.renderTop10(e,t);break;case"aboveAverage":this.renderAboveAverage(e,t);break;case"dataBar":this.renderDataBar(e,t);break;case"colorScale":this.renderColorScale(e,t);break;case"iconSet":this.renderIconSet(e,t);break;case"containsText":this.renderText(e,t);break;case"timePeriod":this.renderTimePeriod(e,t)}}renderExpression(e,t){e.openNode(this.tag,{type:"expression",dxfId:t.dxfId,priority:t.priority}),this.formulaXform.render(e,t.formulae[0]),e.closeNode()}renderCellIs(e,t){e.openNode(this.tag,{type:"cellIs",dxfId:t.dxfId,priority:t.priority,operator:t.operator}),t.formulae.forEach((t=>{this.formulaXform.render(e,t)})),e.closeNode()}renderTop10(e,t){e.leafNode(this.tag,{type:"top10",dxfId:t.dxfId,priority:t.priority,percent:n.toBoolAttribute(t.percent,!1),bottom:n.toBoolAttribute(t.bottom,!1),rank:n.toIntValue(t.rank,10,!0)})}renderAboveAverage(e,t){e.leafNode(this.tag,{type:"aboveAverage",dxfId:t.dxfId,priority:t.priority,aboveAverage:n.toBoolAttribute(t.aboveAverage,!0)})}renderDataBar(e,t){e.openNode(this.tag,{type:"dataBar",priority:t.priority}),this.databarXform.render(e,t),this.extLstRefXform.render(e,t),e.closeNode()}renderColorScale(e,t){e.openNode(this.tag,{type:"colorScale",priority:t.priority}),this.colorScaleXform.render(e,t),e.closeNode()}renderIconSet(e,t){f.isPrimitive(t)&&(e.openNode(this.tag,{type:"iconSet",priority:t.priority}),this.iconSetXform.render(e,t),e.closeNode())}renderText(e,t){e.openNode(this.tag,{type:t.operator,dxfId:t.dxfId,priority:t.priority,operator:n.toStringAttribute(t.operator,"containsText")});const r=(e=>{if(e.formulae&&e.formulae[0])return e.formulae[0];const t=new a(e.ref),{tl:r}=t;switch(e.operator){case"containsText":return`NOT(ISERROR(SEARCH("${e.text}",${r})))`;case"containsBlanks":return`LEN(TRIM(${r}))=0`;case"notContainsBlanks":return`LEN(TRIM(${r}))>0`;case"containsErrors":return`ISERROR(${r})`;case"notContainsErrors":return`NOT(ISERROR(${r}))`;default:return}})(t);r&&this.formulaXform.render(e,r),e.closeNode()}renderTimePeriod(e,t){e.openNode(this.tag,{type:"timePeriod",dxfId:t.dxfId,priority:t.priority,timePeriod:t.timePeriod});const r=(e=>{if(e.formulae&&e.formulae[0])return e.formulae[0];const t=new a(e.ref),{tl:r}=t;switch(e.timePeriod){case"thisWeek":return`AND(TODAY()-ROUNDDOWN(${r},0)<=WEEKDAY(TODAY())-1,ROUNDDOWN(${r},0)-TODAY()<=7-WEEKDAY(TODAY()))`;case"lastWeek":return`AND(TODAY()-ROUNDDOWN(${r},0)>=(WEEKDAY(TODAY())),TODAY()-ROUNDDOWN(${r},0)<(WEEKDAY(TODAY())+7))`;case"nextWeek":return`AND(ROUNDDOWN(${r},0)-TODAY()>(7-WEEKDAY(TODAY())),ROUNDDOWN(${r},0)-TODAY()<(15-WEEKDAY(TODAY())))`;case"yesterday":return`FLOOR(${r},1)=TODAY()-1`;case"today":return`FLOOR(${r},1)=TODAY()`;case"tomorrow":return`FLOOR(${r},1)=TODAY()+1`;case"last7Days":return`AND(TODAY()-FLOOR(${r},1)<=6,FLOOR(${r},1)<=TODAY())`;case"lastMonth":return`AND(MONTH(${r})=MONTH(EDATE(TODAY(),0-1)),YEAR(${r})=YEAR(EDATE(TODAY(),0-1)))`;case"thisMonth":return`AND(MONTH(${r})=MONTH(TODAY()),YEAR(${r})=YEAR(TODAY()))`;case"nextMonth":return`AND(MONTH(${r})=MONTH(EDATE(TODAY(),0+1)),YEAR(${r})=YEAR(EDATE(TODAY(),0+1)))`;default:return}})(t);r&&this.formulaXform.render(e,r),e.closeNode()}createNewModel({attributes:e}){return{...p(e),dxfId:n.toIntValue(e.dxfId),priority:n.toIntValue(e.priority),timePeriod:e.timePeriod,percent:n.toBoolValue(e.percent),bottom:n.toBoolValue(e.bottom),rank:n.toIntValue(e.rank),aboveAverage:n.toBoolValue(e.aboveAverage)}}onParserClose(e,t){switch(e){case"dataBar":case"extLst":case"colorScale":case"iconSet":Object.assign(this.model,t.model);break;case"formula":this.model.formulae=this.model.formulae||[],this.model.formulae.push(t.model)}}}e.exports=f},78929:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"cfvo"}render(e,t){e.leafNode(this.tag,{type:t.type,val:t.value})}parseOpen(e){this.model={type:e.attributes.type,value:n.toFloatValue(e.attributes.val)}}parseClose(e){return e!==this.tag}}},93937:(e,t,r)=>{const n=r(60554),i=r(42720),a=r(78929);e.exports=class extends n{constructor(){super(),this.map={cfvo:this.cfvoXform=new a,color:this.colorXform=new i}}get tag(){return"colorScale"}render(e,t){e.openNode(this.tag),t.cfvo.forEach((t=>{this.cfvoXform.render(e,t)})),t.color.forEach((t=>{this.colorXform.render(e,t)})),e.closeNode()}createNewModel(e){return{cfvo:[],color:[]}}onParserClose(e,t){this.model[e].push(t.model)}}},59975:(e,t,r)=>{const n=r(60554),i=r(49115);e.exports=class extends n{constructor(){super(),this.map={cfRule:new i}}get tag(){return"conditionalFormatting"}render(e,t){t.rules.some(i.isPrimitive)&&(e.openNode(this.tag,{sqref:t.ref}),t.rules.forEach((r=>{i.isPrimitive(r)&&(r.ref=t.ref,this.map.cfRule.render(e,r))})),e.closeNode())}createNewModel({attributes:e}){return{ref:e.sqref,rules:[]}}onParserClose(e,t){this.model.rules.push(t.model)}}},12700:(e,t,r)=>{const n=r(87242),i=r(59975);e.exports=class extends n{constructor(){super(),this.cfXform=new i}get tag(){return"conditionalFormatting"}reset(){this.model=[]}prepare(e,t){let r=e.reduce(((e,t)=>Math.max(e,...t.rules.map((e=>e.priority||0)))),1);e.forEach((e=>{e.rules.forEach((e=>{e.priority||(e.priority=r++),e.style&&(e.dxfId=t.styles.addDxfStyle(e.style))}))}))}render(e,t){t.forEach((t=>{this.cfXform.render(e,t)}))}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):"conditionalFormatting"===e.name&&(this.parser=this.cfXform,this.parser.parseOpen(e),!0)}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return!!this.parser&&(!!this.parser.parseClose(e)||(this.model.push(this.parser.model),this.parser=void 0,!1))}reconcile(e,t){e.forEach((e=>{e.rules.forEach((e=>{void 0!==e.dxfId&&(e.style=t.styles.getDxfStyle(e.dxfId),delete e.dxfId)}))}))}}},89676:(e,t,r)=>{const n=r(60554),i=r(42720),a=r(78929);e.exports=class extends n{constructor(){super(),this.map={cfvo:this.cfvoXform=new a,color:this.colorXform=new i}}get tag(){return"dataBar"}render(e,t){e.openNode(this.tag),t.cfvo.forEach((t=>{this.cfvoXform.render(e,t)})),this.colorXform.render(e,t.color),e.closeNode()}createNewModel(){return{cfvo:[]}}onParserClose(e,t){switch(e){case"cfvo":this.model.cfvo.push(t.model);break;case"color":this.model.color=t.model}}}},44200:(e,t,r)=>{const n=r(87242),i=r(60554);class a extends n{get tag(){return"x14:id"}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(){this.model=""}parseText(e){this.model+=e}parseClose(e){return e!==this.tag}}class o extends i{constructor(){super(),this.map={"x14:id":this.idXform=new a}}get tag(){return"ext"}render(e,t){e.openNode(this.tag,{uri:"{B025F937-C7B1-47D3-B67F-A62EFF666E3E}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.idXform.render(e,t.x14Id),e.closeNode()}createNewModel(){return{}}onParserClose(e,t){this.model.x14Id=t.model}}e.exports=class extends i{constructor(){super(),this.map={ext:new o}}get tag(){return"extLst"}render(e,t){e.openNode(this.tag),this.map.ext.render(e,t),e.closeNode()}createNewModel(){return{}}onParserClose(e,t){Object.assign(this.model,t.model)}}},93459:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"formula"}render(e,t){e.leafNode(this.tag,null,t)}parseOpen(){this.model=""}parseText(e){this.model+=e}parseClose(e){return e!==this.tag}}},65515:(e,t,r)=>{const n=r(87242),i=r(60554),a=r(78929);e.exports=class extends i{constructor(){super(),this.map={cfvo:this.cfvoXform=new a}}get tag(){return"iconSet"}render(e,t){e.openNode(this.tag,{iconSet:n.toStringAttribute(t.iconSet,"3TrafficLights"),reverse:n.toBoolAttribute(t.reverse,!1),showValue:n.toBoolAttribute(t.showValue,!0)}),t.cfvo.forEach((t=>{this.cfvoXform.render(e,t)})),e.closeNode()}createNewModel({attributes:e}){return{iconSet:n.toStringValue(e.iconSet,"3TrafficLights"),reverse:n.toBoolValue(e.reverse),showValue:n.toBoolValue(e.showValue),cfvo:[]}}onParserClose(e,t){this.model[e].push(t.model)}}},8599:(e,t,r)=>{const n=r(67032),i=r(87242);e.exports=class extends i{get tag(){return"col"}prepare(e,t){const r=t.styles.addStyleModel(e.style||{});r&&(e.styleId=r)}render(e,t){e.openNode("col"),e.addAttribute("min",t.min),e.addAttribute("max",t.max),t.width&&e.addAttribute("width",t.width),t.styleId&&e.addAttribute("style",t.styleId),t.hidden&&e.addAttribute("hidden","1"),t.bestFit&&e.addAttribute("bestFit","1"),t.outlineLevel&&e.addAttribute("outlineLevel",t.outlineLevel),t.collapsed&&e.addAttribute("collapsed","1"),e.addAttribute("customWidth","1"),e.closeNode()}parseOpen(e){if("col"===e.name){const t=this.model={min:parseInt(e.attributes.min||"0",10),max:parseInt(e.attributes.max||"0",10),width:void 0===e.attributes.width?void 0:parseFloat(e.attributes.width||"0")};return e.attributes.style&&(t.styleId=parseInt(e.attributes.style,10)),n.parseBoolean(e.attributes.hidden)&&(t.hidden=!0),n.parseBoolean(e.attributes.bestFit)&&(t.bestFit=!0),e.attributes.outlineLevel&&(t.outlineLevel=parseInt(e.attributes.outlineLevel,10)),n.parseBoolean(e.attributes.collapsed)&&(t.collapsed=!0),!0}return!1}parseText(){}parseClose(){return!1}reconcile(e,t){e.styleId&&(e.style=t.styles.getStyleModel(e.styleId))}}},27210:(e,t,r)=>{const n=r(67984),i=r(67032),a=r(29428),o=r(87242),s=r(69311);function c(e,t,r,n){const i=t[r];void 0!==i?e[r]=i:void 0!==n&&(e[r]=n)}function l(e,t,r,n){const a=t[r];void 0!==a?e[r]=i.parseBoolean(a):void 0!==n&&(e[r]=n)}e.exports=class extends o{get tag(){return"dataValidations"}render(e,t){const r=function(e){const t=n.map(e,((e,t)=>({address:t,dataValidation:e,marked:!1}))).sort(((e,t)=>n.strcmp(e.address,t.address))),r=n.keyBy(t,"address"),i=(t,r,i)=>{for(let o=0;o<r;o++){const r=a.encodeAddress(t.row+o,i);if(!e[r]||!n.isEqual(e[t.address],e[r]))return!1}return!0};return t.map((t=>{if(!t.marked){const o=a.decodeEx(t.address);if(o.dimensions)return r[o.dimensions].marked=!0,{...t.dataValidation,sqref:t.address};let s=1,c=a.encodeAddress(o.row+s,o.col);for(;e[c]&&n.isEqual(t.dataValidation,e[c]);)s++,c=a.encodeAddress(o.row+s,o.col);let l=1;for(;i(o,s,o.col+l);)l++;for(let e=0;e<s;e++)for(let t=0;t<l;t++)c=a.encodeAddress(o.row+e,o.col+t),r[c].marked=!0;if(s>1||l>1){const e=o.row+(s-1),r=o.col+(l-1);return{...t.dataValidation,sqref:`${t.address}:${a.encodeAddress(e,r)}`}}return{...t.dataValidation,sqref:t.address}}return null})).filter(Boolean)}(t);r.length&&(e.openNode("dataValidations",{count:r.length}),r.forEach((t=>{e.openNode("dataValidation"),"any"!==t.type&&(e.addAttribute("type",t.type),t.operator&&"list"!==t.type&&"between"!==t.operator&&e.addAttribute("operator",t.operator),t.allowBlank&&e.addAttribute("allowBlank","1")),t.showInputMessage&&e.addAttribute("showInputMessage","1"),t.promptTitle&&e.addAttribute("promptTitle",t.promptTitle),t.prompt&&e.addAttribute("prompt",t.prompt),t.showErrorMessage&&e.addAttribute("showErrorMessage","1"),t.errorStyle&&e.addAttribute("errorStyle",t.errorStyle),t.errorTitle&&e.addAttribute("errorTitle",t.errorTitle),t.error&&e.addAttribute("error",t.error),e.addAttribute("sqref",t.sqref),(t.formulae||[]).forEach(((r,n)=>{e.openNode(`formula${n+1}`),"date"===t.type?e.writeText(i.dateToExcel(new Date(r))):e.writeText(r),e.closeNode()})),e.closeNode()})),e.closeNode())}parseOpen(e){switch(e.name){case"dataValidations":return this.model={},!0;case"dataValidation":{this._address=e.attributes.sqref;const t={type:e.attributes.type||"any",formulae:[]};switch(e.attributes.type&&l(t,e.attributes,"allowBlank"),l(t,e.attributes,"showInputMessage"),l(t,e.attributes,"showErrorMessage"),t.type){case"any":case"list":case"custom":break;default:c(t,e.attributes,"operator","between")}return c(t,e.attributes,"promptTitle"),c(t,e.attributes,"prompt"),c(t,e.attributes,"errorStyle"),c(t,e.attributes,"errorTitle"),c(t,e.attributes,"error"),this._dataValidation=t,!0}case"formula1":case"formula2":return this._formula=[],!0;default:return!1}}parseText(e){this._formula&&this._formula.push(e)}parseClose(e){switch(e){case"dataValidations":return!1;case"dataValidation":this._dataValidation.formulae&&this._dataValidation.formulae.length||(delete this._dataValidation.formulae,delete this._dataValidation.operator);return(this._address.split(/\s+/g)||[]).forEach((e=>{if(e.includes(":")){new s(e).forEachAddress((e=>{this.model[e]=this._dataValidation}))}else this.model[e]=this._dataValidation})),!0;case"formula1":case"formula2":{let e=this._formula.join("");switch(this._dataValidation.type){case"whole":case"textLength":e=parseInt(e,10);break;case"decimal":e=parseFloat(e);break;case"date":e=i.excelToDate(parseFloat(e))}return this._dataValidation.formulae.push(e),this._formula=void 0,!0}default:return!0}}}},2601:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"dimension"}render(e,t){t&&e.leafNode("dimension",{ref:t})}parseOpen(e){return"dimension"===e.name&&(this.model=e.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},81099:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"drawing"}render(e,t){t&&e.leafNode(this.tag,{"r:id":t.rId})}parseOpen(e){return e.name===this.tag&&(this.model={rId:e.attributes["r:id"]},!0)}parseText(){}parseClose(){return!1}}},17100:(e,t,r)=>{const n=r(60554),i=r(76672);class a extends n{constructor(){super(),this.map={"x14:conditionalFormattings":this.conditionalFormattings=new i}}get tag(){return"ext"}hasContent(e){return this.conditionalFormattings.hasContent(e.conditionalFormattings)}prepare(e,t){this.conditionalFormattings.prepare(e.conditionalFormattings,t)}render(e,t){e.openNode("ext",{uri:"{78C0D931-6437-407d-A8EE-F0AAD7539E65}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"}),this.conditionalFormattings.render(e,t.conditionalFormattings),e.closeNode()}createNewModel(){return{}}onParserClose(e,t){this.model[e]=t.model}}e.exports=class extends n{constructor(){super(),this.map={ext:this.ext=new a}}get tag(){return"extLst"}prepare(e,t){this.ext.prepare(e,t)}hasContent(e){return this.ext.hasContent(e)}render(e,t){this.hasContent(t)&&(e.openNode("extLst"),this.ext.render(e,t),e.closeNode())}createNewModel(){return{}}onParserClose(e,t){Object.assign(this.model,t.model)}}},87182:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"headerFooter"}render(e,t){if(t){e.addRollback();let r=!1;e.openNode("headerFooter"),t.differentFirst&&(e.addAttribute("differentFirst","1"),r=!0),t.differentOddEven&&(e.addAttribute("differentOddEven","1"),r=!0),t.oddHeader&&"string"==typeof t.oddHeader&&(e.leafNode("oddHeader",null,t.oddHeader),r=!0),t.oddFooter&&"string"==typeof t.oddFooter&&(e.leafNode("oddFooter",null,t.oddFooter),r=!0),t.evenHeader&&"string"==typeof t.evenHeader&&(e.leafNode("evenHeader",null,t.evenHeader),r=!0),t.evenFooter&&"string"==typeof t.evenFooter&&(e.leafNode("evenFooter",null,t.evenFooter),r=!0),t.firstHeader&&"string"==typeof t.firstHeader&&(e.leafNode("firstHeader",null,t.firstHeader),r=!0),t.firstFooter&&"string"==typeof t.firstFooter&&(e.leafNode("firstFooter",null,t.firstFooter),r=!0),r?(e.closeNode(),e.commit()):e.rollback()}}parseOpen(e){switch(e.name){case"headerFooter":return this.model={},e.attributes.differentFirst&&(this.model.differentFirst=1===parseInt(e.attributes.differentFirst,0)),e.attributes.differentOddEven&&(this.model.differentOddEven=1===parseInt(e.attributes.differentOddEven,0)),!0;case"oddHeader":return this.currentNode="oddHeader",!0;case"oddFooter":return this.currentNode="oddFooter",!0;case"evenHeader":return this.currentNode="evenHeader",!0;case"evenFooter":return this.currentNode="evenFooter",!0;case"firstHeader":return this.currentNode="firstHeader",!0;case"firstFooter":return this.currentNode="firstFooter",!0;default:return!1}}parseText(e){switch(this.currentNode){case"oddHeader":this.model.oddHeader=e;break;case"oddFooter":this.model.oddFooter=e;break;case"evenHeader":this.model.evenHeader=e;break;case"evenFooter":this.model.evenFooter=e;break;case"firstHeader":this.model.firstHeader=e;break;case"firstFooter":this.model.firstFooter=e}}parseClose(){switch(this.currentNode){case"oddHeader":case"oddFooter":case"evenHeader":case"evenFooter":case"firstHeader":case"firstFooter":return this.currentNode=void 0,!0;default:return!1}}}},76591:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"hyperlink"}render(e,t){this.isInternalLink(t)?e.leafNode("hyperlink",{ref:t.address,"r:id":t.rId,tooltip:t.tooltip,location:t.target}):e.leafNode("hyperlink",{ref:t.address,"r:id":t.rId,tooltip:t.tooltip})}parseOpen(e){return"hyperlink"===e.name&&(this.model={address:e.attributes.ref,rId:e.attributes["r:id"],tooltip:e.attributes.tooltip},e.attributes.location&&(this.model.target=e.attributes.location),!0)}parseText(){}parseClose(){return!1}isInternalLink(e){return e.target&&/^[^!]+![a-zA-Z]+[\d]+$/.test(e.target)}}},49012:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"mergeCell"}render(e,t){e.leafNode("mergeCell",{ref:t})}parseOpen(e){return"mergeCell"===e.name&&(this.model=e.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},96209:(e,t,r)=>{const n=r(67984),i=r(69311),a=r(29428),o=r(70880);e.exports=class{constructor(){this.merges={}}add(e){if(this.merges[e.master])this.merges[e.master].expandToAddress(e.address);else{const t=`${e.master}:${e.address}`;this.merges[e.master]=new i(t)}}get mergeCells(){return n.map(this.merges,(e=>e.range))}reconcile(e,t){n.each(e,(e=>{const r=a.decode(e);for(let e=r.top;e<=r.bottom;e++){const n=t[e-1];for(let t=r.left;t<=r.right;t++){const i=n.cells[t-1];i?i.type===o.ValueType.Merge&&(i.master=r.tl):n.cells[t]={type:o.ValueType.Null,address:a.encodeAddress(e,t)}}}}))}getMasterAddress(e){const t=this.hash[e];return t&&t.tl}}},48223:(e,t,r)=>{const n=r(87242),i=e=>void 0!==e;e.exports=class extends n{get tag(){return"outlinePr"}render(e,t){return!(!t||!i(t.summaryBelow)&&!i(t.summaryRight))&&(e.leafNode(this.tag,{summaryBelow:i(t.summaryBelow)?Number(t.summaryBelow):void 0,summaryRight:i(t.summaryRight)?Number(t.summaryRight):void 0}),!0)}parseOpen(e){return e.name===this.tag&&(this.model={summaryBelow:i(e.attributes.summaryBelow)?Boolean(Number(e.attributes.summaryBelow)):void 0,summaryRight:i(e.attributes.summaryRight)?Boolean(Number(e.attributes.summaryRight)):void 0},!0)}parseText(){}parseClose(){return!1}}},67735:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"brk"}render(e,t){e.leafNode("brk",t)}parseOpen(e){return"brk"===e.name&&(this.model=e.attributes.ref,!0)}parseText(){}parseClose(){return!1}}},97802:(e,t,r)=>{const n=r(67984),i=r(87242);e.exports=class extends i{get tag(){return"pageMargins"}render(e,t){if(t){const r={left:t.left,right:t.right,top:t.top,bottom:t.bottom,header:t.header,footer:t.footer};n.some(r,(e=>void 0!==e))&&e.leafNode(this.tag,r)}}parseOpen(e){return e.name===this.tag&&(this.model={left:parseFloat(e.attributes.left||.7),right:parseFloat(e.attributes.right||.7),top:parseFloat(e.attributes.top||.75),bottom:parseFloat(e.attributes.bottom||.75),header:parseFloat(e.attributes.header||.3),footer:parseFloat(e.attributes.footer||.3)},!0)}parseText(){}parseClose(){return!1}}},87610:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"pageSetUpPr"}render(e,t){return!(!t||!t.fitToPage)&&(e.leafNode(this.tag,{fitToPage:t.fitToPage?"1":void 0}),!0)}parseOpen(e){return e.name===this.tag&&(this.model={fitToPage:"1"===e.attributes.fitToPage},!0)}parseText(){}parseClose(){return!1}}},64892:(e,t,r)=>{const n=r(67984),i=r(87242);function a(e){return e?"1":void 0}function o(e){if("overThenDown"===e)return e}function s(e){switch(e){case"atEnd":case"asDisplyed":return e;default:return}}function c(e){switch(e){case"dash":case"blank":case"NA":return e;default:return}}e.exports=class extends i{get tag(){return"pageSetup"}render(e,t){if(t){const r={paperSize:t.paperSize,orientation:t.orientation,horizontalDpi:t.horizontalDpi,verticalDpi:t.verticalDpi,pageOrder:o(t.pageOrder),blackAndWhite:a(t.blackAndWhite),draft:a(t.draft),cellComments:s(t.cellComments),errors:c(t.errors),scale:t.scale,fitToWidth:t.fitToWidth,fitToHeight:t.fitToHeight,firstPageNumber:t.firstPageNumber,useFirstPageNumber:a(t.firstPageNumber),usePrinterDefaults:a(t.usePrinterDefaults),copies:t.copies};n.some(r,(e=>void 0!==e))&&e.leafNode(this.tag,r)}}parseOpen(e){return e.name===this.tag&&(this.model={paperSize:(t=e.attributes.paperSize,void 0!==t?parseInt(t,10):void 0),orientation:e.attributes.orientation||"portrait",horizontalDpi:parseInt(e.attributes.horizontalDpi||"4294967295",10),verticalDpi:parseInt(e.attributes.verticalDpi||"4294967295",10),pageOrder:e.attributes.pageOrder||"downThenOver",blackAndWhite:"1"===e.attributes.blackAndWhite,draft:"1"===e.attributes.draft,cellComments:e.attributes.cellComments||"None",errors:e.attributes.errors||"displayed",scale:parseInt(e.attributes.scale||"100",10),fitToWidth:parseInt(e.attributes.fitToWidth||"1",10),fitToHeight:parseInt(e.attributes.fitToHeight||"1",10),firstPageNumber:parseInt(e.attributes.firstPageNumber||"1",10),useFirstPageNumber:"1"===e.attributes.useFirstPageNumber,usePrinterDefaults:"1"===e.attributes.usePrinterDefaults,copies:parseInt(e.attributes.copies||"1",10)},!0);var t}parseText(){}parseClose(){return!1}}},74711:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"picture"}render(e,t){t&&e.leafNode(this.tag,{"r:id":t.rId})}parseOpen(e){return e.name===this.tag&&(this.model={rId:e.attributes["r:id"]},!0)}parseText(){}parseClose(){return!1}}},4505:(e,t,r)=>{const n=r(67984),i=r(87242);function a(e){return e?"1":void 0}e.exports=class extends i{get tag(){return"printOptions"}render(e,t){if(t){const r={headings:a(t.showRowColHeaders),gridLines:a(t.showGridLines),horizontalCentered:a(t.horizontalCentered),verticalCentered:a(t.verticalCentered)};n.some(r,(e=>void 0!==e))&&e.leafNode(this.tag,r)}}parseOpen(e){return e.name===this.tag&&(this.model={showRowColHeaders:"1"===e.attributes.headings,showGridLines:"1"===e.attributes.gridLines,horizontalCentered:"1"===e.attributes.horizontalCentered,verticalCentered:"1"===e.attributes.verticalCentered},!0)}parseText(){}parseClose(){return!1}}},9668:(e,t,r)=>{"use strict";const n=r(67735),i=r(62447);e.exports=class extends i{constructor(){super({tag:"rowBreaks",count:!0,childXform:new n})}render(e,t){if(t&&t.length){e.openNode(this.tag,this.$),this.count&&(e.addAttribute(this.$count,t.length),e.addAttribute("manualBreakCount",t.length));const{childXform:r}=this;t.forEach((t=>{r.render(e,t)})),e.closeNode()}else this.empty&&e.leafNode(this.tag)}}},80981:(e,t,r)=>{const n=r(87242),i=r(67032),a=r(57963);e.exports=class extends n{constructor(e){super(),this.maxItems=e&&e.maxItems,this.map={c:new a}}get tag(){return"row"}prepare(e,t){const r=t.styles.addStyleModel(e.style);r&&(e.styleId=r);const n=this.map.c;e.cells.forEach((e=>{n.prepare(e,t)}))}render(e,t,r){e.openNode("row"),e.addAttribute("r",t.number),t.height&&(e.addAttribute("ht",t.height),e.addAttribute("customHeight","1")),t.hidden&&e.addAttribute("hidden","1"),t.min>0&&t.max>0&&t.min<=t.max&&e.addAttribute("spans",`${t.min}:${t.max}`),t.styleId&&(e.addAttribute("s",t.styleId),e.addAttribute("customFormat","1")),e.addAttribute("x14ac:dyDescent","0.25"),t.outlineLevel&&e.addAttribute("outlineLevel",t.outlineLevel),t.collapsed&&e.addAttribute("collapsed","1");const n=this.map.c;t.cells.forEach((t=>{n.render(e,t,r)})),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;if("row"===e.name){this.numRowsSeen+=1;const t=e.attributes.spans?e.attributes.spans.split(":").map((e=>parseInt(e,10))):[void 0,void 0],r=this.model={number:parseInt(e.attributes.r,10),min:t[0],max:t[1],cells:[]};return e.attributes.s&&(r.styleId=parseInt(e.attributes.s,10)),i.parseBoolean(e.attributes.hidden)&&(r.hidden=!0),i.parseBoolean(e.attributes.bestFit)&&(r.bestFit=!0),e.attributes.ht&&(r.height=parseFloat(e.attributes.ht)),e.attributes.outlineLevel&&(r.outlineLevel=parseInt(e.attributes.outlineLevel,10)),i.parseBoolean(e.attributes.collapsed)&&(r.collapsed=!0),!0}return this.parser=this.map[e.name],!!this.parser&&(this.parser.parseOpen(e),!0)}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser){if(!this.parser.parseClose(e)){if(this.model.cells.push(this.parser.model),this.maxItems&&this.model.cells.length>this.maxItems)throw new Error(`Max column count (${this.maxItems}) exceeded`);this.parser=void 0}return!0}return!1}reconcile(e,t){e.style=e.styleId?t.styles.getStyleModel(e.styleId):{},void 0!==e.styleId&&(e.styleId=void 0);const r=this.map.c;e.cells.forEach((e=>{r.reconcile(e,t)}))}}},35772:(e,t,r)=>{const n=r(67984),i=r(87242);e.exports=class extends i{get tag(){return"sheetFormatPr"}render(e,t){if(t){const r={defaultRowHeight:t.defaultRowHeight,outlineLevelRow:t.outlineLevelRow,outlineLevelCol:t.outlineLevelCol,"x14ac:dyDescent":t.dyDescent};t.defaultColWidth&&(r.defaultColWidth=t.defaultColWidth),t.defaultRowHeight&&15===t.defaultRowHeight||(r.customHeight="1"),n.some(r,(e=>void 0!==e))&&e.leafNode("sheetFormatPr",r)}}parseOpen(e){return"sheetFormatPr"===e.name&&(this.model={defaultRowHeight:parseFloat(e.attributes.defaultRowHeight||"0"),dyDescent:parseFloat(e.attributes["x14ac:dyDescent"]||"0"),outlineLevelRow:parseInt(e.attributes.outlineLevelRow||"0",10),outlineLevelCol:parseInt(e.attributes.outlineLevelCol||"0",10)},e.attributes.defaultColWidth&&(this.model.defaultColWidth=parseFloat(e.attributes.defaultColWidth)),!0)}parseText(){}parseClose(){return!1}}},93236:(e,t,r)=>{const n=r(87242),i=r(42720),a=r(87610),o=r(48223);e.exports=class extends n{constructor(){super(),this.map={tabColor:new i("tabColor"),pageSetUpPr:new a,outlinePr:new o}}get tag(){return"sheetPr"}render(e,t){if(t){e.addRollback(),e.openNode("sheetPr");let r=!1;r=this.map.tabColor.render(e,t.tabColor)||r,r=this.map.pageSetUpPr.render(e,t.pageSetup)||r,r=this.map.outlinePr.render(e,t.outlineProperties)||r,r?(e.closeNode(),e.commit()):e.rollback()}}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):e.name===this.tag?(this.reset(),!0):!!this.map[e.name]&&(this.parser=this.map[e.name],this.parser.parseOpen(e),!0)}parseText(e){return!!this.parser&&(this.parser.parseText(e),!0)}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):(this.map.tabColor.model||this.map.pageSetUpPr.model||this.map.outlinePr.model?(this.model={},this.map.tabColor.model&&(this.model.tabColor=this.map.tabColor.model),this.map.pageSetUpPr.model&&(this.model.pageSetup=this.map.pageSetUpPr.model),this.map.outlinePr.model&&(this.model.outlineProperties=this.map.outlinePr.model)):this.model=null,!1)}}},94482:(e,t,r)=>{const n=r(67984),i=r(87242);function a(e,t){return e?t:void 0}function o(e,t){return e===t||void 0}e.exports=class extends i{get tag(){return"sheetProtection"}render(e,t){if(t){const r={sheet:a(t.sheet,"1"),selectLockedCells:!1===t.selectLockedCells?"1":void 0,selectUnlockedCells:!1===t.selectUnlockedCells?"1":void 0,formatCells:a(t.formatCells,"0"),formatColumns:a(t.formatColumns,"0"),formatRows:a(t.formatRows,"0"),insertColumns:a(t.insertColumns,"0"),insertRows:a(t.insertRows,"0"),insertHyperlinks:a(t.insertHyperlinks,"0"),deleteColumns:a(t.deleteColumns,"0"),deleteRows:a(t.deleteRows,"0"),sort:a(t.sort,"0"),autoFilter:a(t.autoFilter,"0"),pivotTables:a(t.pivotTables,"0")};t.sheet&&(r.algorithmName=t.algorithmName,r.hashValue=t.hashValue,r.saltValue=t.saltValue,r.spinCount=t.spinCount,r.objects=a(!1===t.objects,"1"),r.scenarios=a(!1===t.scenarios,"1")),n.some(r,(e=>void 0!==e))&&e.leafNode(this.tag,r)}}parseOpen(e){return e.name===this.tag&&(this.model={sheet:o(e.attributes.sheet,"1"),objects:"1"!==e.attributes.objects&&void 0,scenarios:"1"!==e.attributes.scenarios&&void 0,selectLockedCells:"1"!==e.attributes.selectLockedCells&&void 0,selectUnlockedCells:"1"!==e.attributes.selectUnlockedCells&&void 0,formatCells:o(e.attributes.formatCells,"0"),formatColumns:o(e.attributes.formatColumns,"0"),formatRows:o(e.attributes.formatRows,"0"),insertColumns:o(e.attributes.insertColumns,"0"),insertRows:o(e.attributes.insertRows,"0"),insertHyperlinks:o(e.attributes.insertHyperlinks,"0"),deleteColumns:o(e.attributes.deleteColumns,"0"),deleteRows:o(e.attributes.deleteRows,"0"),sort:o(e.attributes.sort,"0"),autoFilter:o(e.attributes.autoFilter,"0"),pivotTables:o(e.attributes.pivotTables,"0")},e.attributes.algorithmName&&(this.model.algorithmName=e.attributes.algorithmName,this.model.hashValue=e.attributes.hashValue,this.model.saltValue=e.attributes.saltValue,this.model.spinCount=parseInt(e.attributes.spinCount,10)),!0)}parseText(){}parseClose(){return!1}}},27832:(e,t,r)=>{const n=r(29428),i=r(87242),a={frozen:"frozen",frozenSplit:"frozen",split:"split"};e.exports=class extends i{get tag(){return"sheetView"}prepare(e){switch(e.state){case"frozen":case"split":break;default:e.state="normal"}}render(e,t){e.openNode("sheetView",{workbookViewId:t.workbookViewId||0});const r=function(t,r,n){n&&e.addAttribute(t,r)};let i,a,o,s;switch(r("rightToLeft","1",!0===t.rightToLeft),r("tabSelected","1",t.tabSelected),r("showRuler","0",!1===t.showRuler),r("showRowColHeaders","0",!1===t.showRowColHeaders),r("showGridLines","0",!1===t.showGridLines),r("zoomScale",t.zoomScale,t.zoomScale),r("zoomScaleNormal",t.zoomScaleNormal,t.zoomScaleNormal),r("view",t.style,t.style),t.state){case"frozen":a=t.xSplit||0,o=t.ySplit||0,i=t.topLeftCell||n.getAddress(o+1,a+1).address,s=(t.xSplit&&t.ySplit?"bottomRight":t.xSplit&&"topRight")||"bottomLeft",e.leafNode("pane",{xSplit:t.xSplit||void 0,ySplit:t.ySplit||void 0,topLeftCell:i,activePane:s,state:"frozen"}),e.leafNode("selection",{pane:s,activeCell:t.activeCell,sqref:t.activeCell});break;case"split":"topLeft"===t.activePane&&(t.activePane=void 0),e.leafNode("pane",{xSplit:t.xSplit||void 0,ySplit:t.ySplit||void 0,topLeftCell:t.topLeftCell,activePane:t.activePane}),e.leafNode("selection",{pane:t.activePane,activeCell:t.activeCell,sqref:t.activeCell});break;case"normal":t.activeCell&&e.leafNode("selection",{activeCell:t.activeCell,sqref:t.activeCell})}e.closeNode()}parseOpen(e){switch(e.name){case"sheetView":return this.sheetView={workbookViewId:parseInt(e.attributes.workbookViewId,10),rightToLeft:"1"===e.attributes.rightToLeft,tabSelected:"1"===e.attributes.tabSelected,showRuler:!("0"===e.attributes.showRuler),showRowColHeaders:!("0"===e.attributes.showRowColHeaders),showGridLines:!("0"===e.attributes.showGridLines),zoomScale:parseInt(e.attributes.zoomScale||"100",10),zoomScaleNormal:parseInt(e.attributes.zoomScaleNormal||"100",10),style:e.attributes.view},this.pane=void 0,this.selections={},!0;case"pane":return this.pane={xSplit:parseInt(e.attributes.xSplit||"0",10),ySplit:parseInt(e.attributes.ySplit||"0",10),topLeftCell:e.attributes.topLeftCell,activePane:e.attributes.activePane||"topLeft",state:e.attributes.state},!0;case"selection":{const t=e.attributes.pane||"topLeft";return this.selections[t]={pane:t,activeCell:e.attributes.activeCell},!0}default:return!1}}parseText(){}parseClose(e){let t,r;return"sheetView"!==e||(this.sheetView&&this.pane?(t=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:a[this.pane.state]||"split",xSplit:this.pane.xSplit,ySplit:this.pane.ySplit,topLeftCell:this.pane.topLeftCell,showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},"split"===this.model.state&&(t.activePane=this.pane.activePane),r=this.selections[this.pane.activePane],r&&r.activeCell&&(t.activeCell=r.activeCell),this.sheetView.style&&(t.style=this.sheetView.style)):(t=this.model={workbookViewId:this.sheetView.workbookViewId,rightToLeft:this.sheetView.rightToLeft,state:"normal",showRuler:this.sheetView.showRuler,showRowColHeaders:this.sheetView.showRowColHeaders,showGridLines:this.sheetView.showGridLines,zoomScale:this.sheetView.zoomScale,zoomScaleNormal:this.sheetView.zoomScaleNormal},r=this.selections.topLeft,r&&r.activeCell&&(t.activeCell=r.activeCell),this.sheetView.style&&(t.style=this.sheetView.style)),!1)}reconcile(){}}},57985:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"tablePart"}render(e,t){t&&e.leafNode(this.tag,{"r:id":t.rId})}parseOpen(e){return e.name===this.tag&&(this.model={rId:e.attributes["r:id"]},!0)}parseText(){}parseClose(){return!1}}},59629:(e,t,r)=>{const n=r(67984),i=r(29428),a=r(12141),o=r(71745),s=r(96209),c=r(87242),l=r(62447),u=r(80981),d=r(8599),p=r(2601),f=r(76591),m=r(49012),g=r(27210),_=r(93236),h=r(35772),y=r(27832),v=r(94482),b=r(97802),k=r(64892),x=r(4505),E=r(47749),S=r(74711),D=r(81099),w=r(57985),T=r(9668),C=r(87182),A=r(12700),N=r(17100),P=(e,t)=>{if(!t||!t.length)return e;if(!e||!e.length)return t;const r={},n={};return e.forEach((e=>{r[e.ref]=e,e.rules.forEach((e=>{const{x14Id:t}=e;t&&(n[t]=e)}))})),t.forEach((t=>{t.rules.forEach((i=>{const a=n[i.x14Id];a?((e,t)=>{Object.keys(t).forEach((r=>{const n=e[r],i=t[r];void 0===n&&void 0!==i&&(e[r]=i)}))})(a,i):r[t.ref]?r[t.ref].rules.push(i):e.push({ref:t.ref,rules:[i]})}))})),e};class I extends c{constructor(e){super();const{maxRows:t,maxCols:r,ignoreNodes:n}=e||{};this.ignoreNodes=n||[],this.map={sheetPr:new _,dimension:new p,sheetViews:new l({tag:"sheetViews",count:!1,childXform:new y}),sheetFormatPr:new h,cols:new l({tag:"cols",count:!1,childXform:new d}),sheetData:new l({tag:"sheetData",count:!1,empty:!0,childXform:new u({maxItems:r}),maxItems:t}),autoFilter:new E,mergeCells:new l({tag:"mergeCells",count:!0,childXform:new m}),rowBreaks:new T,hyperlinks:new l({tag:"hyperlinks",count:!1,childXform:new f}),pageMargins:new b,dataValidations:new g,pageSetup:new k,headerFooter:new C,printOptions:new x,picture:new S,drawing:new D,sheetProtection:new v,tableParts:new l({tag:"tableParts",count:!0,childXform:new w}),conditionalFormatting:new A,extLst:new N}}prepare(e,t){t.merges=new s,e.hyperlinks=t.hyperlinks=[],e.comments=t.comments=[],t.formulae={},t.siFormulae=0,this.map.cols.prepare(e.cols,t),this.map.sheetData.prepare(e.rows,t),this.map.conditionalFormatting.prepare(e.conditionalFormattings,t),e.mergeCells=t.merges.mergeCells;const r=e.rels=[];function n(e){return`rId${e.length+1}`}if(e.hyperlinks.forEach((e=>{const t=n(r);e.rId=t,r.push({Id:t,Type:o.Hyperlink,Target:e.target,TargetMode:"External"})})),e.comments.length>0){const a={Id:n(r),Type:o.Comments,Target:`../comments${e.id}.xml`};r.push(a);const s={Id:n(r),Type:o.VmlDrawing,Target:`../drawings/vmlDrawing${e.id}.vml`};r.push(s),e.comments.forEach((e=>{e.refAddress=i.decodeAddress(e.ref)})),t.commentRefs.push({commentName:`comments${e.id}`,vmlDrawing:`vmlDrawing${e.id}`})}const a=[];let c;e.media.forEach((i=>{if("background"===i.type){const a=n(r);c=t.media[i.imageId],r.push({Id:a,Type:o.Image,Target:`../media/${c.name}.${c.extension}`}),e.background={rId:a},e.image=t.media[i.imageId]}else if("image"===i.type){let{drawing:s}=e;c=t.media[i.imageId],s||(s=e.drawing={rId:n(r),name:"drawing"+ ++t.drawingsCount,anchors:[],rels:[]},t.drawings.push(s),r.push({Id:s.rId,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",Target:`../drawings/${s.name}.xml`}));let l=this.preImageId===i.imageId?a[i.imageId]:a[s.rels.length];l||(l=n(s.rels),a[s.rels.length]=l,s.rels.push({Id:l,Type:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",Target:`../media/${c.name}.${c.extension}`}));const u={picture:{rId:l},range:i.range};if(i.hyperlinks&&i.hyperlinks.hyperlink){const e=n(s.rels);a[s.rels.length]=e,u.picture.hyperlinks={tooltip:i.hyperlinks.tooltip,rId:e},s.rels.push({Id:e,Type:o.Hyperlink,Target:i.hyperlinks.hyperlink,TargetMode:"External"})}this.preImageId=i.imageId,s.anchors.push(u)}})),e.tables.forEach((e=>{const i=n(r);e.rId=i,r.push({Id:i,Type:o.Table,Target:`../tables/${e.target}`}),e.columns.forEach((e=>{const{style:r}=e;r&&(e.dxfId=t.styles.addDxfStyle(r))}))})),this.map.extLst.prepare(e,t)}render(e,t){e.openXml(a.StdDocAttributes),e.openNode("worksheet",I.WORKSHEET_ATTRIBUTES);const r=t.properties?{defaultRowHeight:t.properties.defaultRowHeight,dyDescent:t.properties.dyDescent,outlineLevelCol:t.properties.outlineLevelCol,outlineLevelRow:t.properties.outlineLevelRow}:void 0;t.properties&&t.properties.defaultColWidth&&(r.defaultColWidth=t.properties.defaultColWidth);const n={outlineProperties:t.properties&&t.properties.outlineProperties,tabColor:t.properties&&t.properties.tabColor,pageSetup:t.pageSetup&&t.pageSetup.fitToPage?{fitToPage:t.pageSetup.fitToPage}:void 0},i=t.pageSetup&&t.pageSetup.margins,s={showRowColHeaders:t.pageSetup&&t.pageSetup.showRowColHeaders,showGridLines:t.pageSetup&&t.pageSetup.showGridLines,horizontalCentered:t.pageSetup&&t.pageSetup.horizontalCentered,verticalCentered:t.pageSetup&&t.pageSetup.verticalCentered},c=t.sheetProtection;this.map.sheetPr.render(e,n),this.map.dimension.render(e,t.dimensions),this.map.sheetViews.render(e,t.views),this.map.sheetFormatPr.render(e,r),this.map.cols.render(e,t.cols),this.map.sheetData.render(e,t.rows),this.map.sheetProtection.render(e,c),this.map.autoFilter.render(e,t.autoFilter),this.map.mergeCells.render(e,t.mergeCells),this.map.conditionalFormatting.render(e,t.conditionalFormattings),this.map.dataValidations.render(e,t.dataValidations),this.map.hyperlinks.render(e,t.hyperlinks),this.map.printOptions.render(e,s),this.map.pageMargins.render(e,i),this.map.pageSetup.render(e,t.pageSetup),this.map.headerFooter.render(e,t.headerFooter),this.map.rowBreaks.render(e,t.rowBreaks),this.map.drawing.render(e,t.drawing),this.map.picture.render(e,t.background),this.map.tableParts.render(e,t.tables),this.map.extLst.render(e,t),t.rels&&t.rels.forEach((t=>{t.Type===o.VmlDrawing&&e.leafNode("legacyDrawing",{"r:id":t.Id})})),e.closeNode()}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):"worksheet"===e.name?(n.each(this.map,(e=>{e.reset()})),!0):(this.map[e.name]&&!this.ignoreNodes.includes(e.name)&&(this.parser=this.map[e.name],this.parser.parseOpen(e)),!0)}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;if("worksheet"===e){const e=this.map.sheetFormatPr.model||{};this.map.sheetPr.model&&this.map.sheetPr.model.tabColor&&(e.tabColor=this.map.sheetPr.model.tabColor),this.map.sheetPr.model&&this.map.sheetPr.model.outlineProperties&&(e.outlineProperties=this.map.sheetPr.model.outlineProperties);const t={fitToPage:this.map.sheetPr.model&&this.map.sheetPr.model.pageSetup&&this.map.sheetPr.model.pageSetup.fitToPage||!1,margins:this.map.pageMargins.model},r=Object.assign(t,this.map.pageSetup.model,this.map.printOptions.model),n=P(this.map.conditionalFormatting.model,this.map.extLst.model&&this.map.extLst.model["x14:conditionalFormattings"]);return this.model={dimensions:this.map.dimension.model,cols:this.map.cols.model,rows:this.map.sheetData.model,mergeCells:this.map.mergeCells.model,hyperlinks:this.map.hyperlinks.model,dataValidations:this.map.dataValidations.model,properties:e,views:this.map.sheetViews.model,pageSetup:r,headerFooter:this.map.headerFooter.model,background:this.map.picture.model,drawing:this.map.drawing.model,tables:this.map.tableParts.model,conditionalFormattings:n},this.map.autoFilter.model&&(this.model.autoFilter=this.map.autoFilter.model),this.map.sheetProtection.model&&(this.model.sheetProtection=this.map.sheetProtection.model),!1}return!0}reconcile(e,t){const r=(e.relationships||[]).reduce(((r,n)=>{if(r[n.Id]=n,n.Type===o.Comments&&(e.comments=t.comments[n.Target].comments),n.Type===o.VmlDrawing&&e.comments&&e.comments.length){const r=t.vmlDrawings[n.Target].comments;e.comments.forEach(((e,t)=>{e.note=Object.assign({},e.note,r[t])}))}return r}),{});if(t.commentsMap=(e.comments||[]).reduce(((e,t)=>(t.ref&&(e[t.ref]=t),e)),{}),t.hyperlinkMap=(e.hyperlinks||[]).reduce(((e,t)=>(t.rId&&(e[t.address]=r[t.rId].Target),e)),{}),t.formulae={},e.rows=e.rows&&e.rows.filter(Boolean)||[],e.rows.forEach((e=>{e.cells=e.cells&&e.cells.filter(Boolean)||[]})),this.map.cols.reconcile(e.cols,t),this.map.sheetData.reconcile(e.rows,t),this.map.conditionalFormatting.reconcile(e.conditionalFormattings,t),e.media=[],e.drawing){const n=r[e.drawing.rId].Target.match(/\/drawings\/([a-zA-Z0-9]+)[.][a-zA-Z]{3,4}$/);if(n){const r=n[1];t.drawings[r].anchors.forEach((t=>{if(t.medium){const r={type:"image",imageId:t.medium.index,range:t.range,hyperlinks:t.picture.hyperlinks};e.media.push(r)}}))}}const n=e.background&&r[e.background.rId];if(n){const r=n.Target.split("/media/")[1],i=t.mediaIndex&&t.mediaIndex[r];void 0!==i&&e.media.push({type:"background",imageId:i})}e.tables=(e.tables||[]).map((e=>{const n=r[e.rId];return t.tables[n.Target]})),delete e.relationships,delete e.hyperlinks,delete e.comments}}I.WORKSHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"},e.exports=I},36006:(e,t,r)=>{const n=r(87242);e.exports=class extends n{constructor(e){super(),this.tag=e.tag,this.attr=e.attr}render(e,t){t&&(e.openNode(this.tag),e.closeNode())}parseOpen(e){e.name===this.tag&&(this.model=!0)}parseText(){}parseClose(){return!1}}},59874:(e,t,r)=>{const n=r(87242);e.exports=class extends n{constructor(e){super(),this.tag=e.tag,this.attr=e.attr,this.attrs=e.attrs,this._format=e.format||function(e){try{return Number.isNaN(e.getTime())?"":e.toISOString()}catch(e){return""}},this._parse=e.parse||function(e){return new Date(e)}}render(e,t){t&&(e.openNode(this.tag),this.attrs&&e.addAttributes(this.attrs),this.attr?e.addAttribute(this.attr,this._format(t)):e.writeText(this._format(t)),e.closeNode())}parseOpen(e){e.name===this.tag&&(this.attr?this.model=this._parse(e.attributes[this.attr]):this.text=[])}parseText(e){this.attr||this.text.push(e)}parseClose(){return this.attr||(this.model=this._parse(this.text.join(""))),!1}}},65208:(e,t,r)=>{const n=r(87242);e.exports=class extends n{constructor(e){super(),this.tag=e.tag,this.attr=e.attr,this.attrs=e.attrs,this.zero=e.zero}render(e,t){(t||this.zero)&&(e.openNode(this.tag),this.attrs&&e.addAttributes(this.attrs),this.attr?e.addAttribute(this.attr,t):e.writeText(t),e.closeNode())}parseOpen(e){return e.name===this.tag&&(this.attr?this.model=parseInt(e.attributes[this.attr],10):this.text=[],!0)}parseText(e){this.attr||this.text.push(e)}parseClose(){return this.attr||(this.model=parseInt(this.text.join("")||0,10)),!1}}},71207:(e,t,r)=>{const n=r(87242);e.exports=class extends n{constructor(e){super(),this.tag=e.tag,this.attr=e.attr,this.attrs=e.attrs}render(e,t){void 0!==t&&(e.openNode(this.tag),this.attrs&&e.addAttributes(this.attrs),this.attr?e.addAttribute(this.attr,t):e.writeText(t),e.closeNode())}parseOpen(e){e.name===this.tag&&(this.attr?this.model=e.attributes[this.attr]:this.text=[])}parseText(e){this.attr||this.text.push(e)}parseClose(){return this.attr||(this.model=this.text.join("")),!1}}},52789:(e,t,r)=>{const n=r(87242),i=r(12141);function a(e,t){e.openNode(t.tag,t.$),t.c&&t.c.forEach((t=>{a(e,t)})),t.t&&e.writeText(t.t),e.closeNode()}e.exports=class extends n{constructor(e){super(),this._model=e}render(e){if(!this._xml){const e=new i;a(e,this._model),this._xml=e.xml}e.writeXml(this._xml)}parseOpen(){return!0}parseText(){}parseClose(e){return e!==this._model.tag}}},428:(e,t,r)=>{const n=r(67403),i=r(95814),a=r(87242);e.exports=class extends a{constructor(){super(),this.map={r:new i,t:new n}}get tag(){return"rPh"}render(e,t){if(e.openNode(this.tag,{sb:t.sb||0,eb:t.eb||0}),t&&t.hasOwnProperty("richText")&&t.richText){const{r}=this.map;t.richText.forEach((t=>{r.render(e,t)}))}else t&&this.map.t.render(e,t.text);e.closeNode()}parseOpen(e){const{name:t}=e;return this.parser?(this.parser.parseOpen(e),!0):t===this.tag?(this.model={sb:parseInt(e.attributes.sb,10),eb:parseInt(e.attributes.eb,10)},!0):(this.parser=this.map[t],!!this.parser&&(this.parser.parseOpen(e),!0))}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser){if(!this.parser.parseClose(e)){switch(e){case"r":{let e=this.model.richText;e||(e=this.model.richText=[]),e.push(this.parser.model);break}case"t":this.model.text=this.parser.model}this.parser=void 0}return!0}return e!==this.tag}}},95814:(e,t,r)=>{const n=r(67403),i=r(73784),a=r(87242);class o extends a{constructor(e){super(),this.model=e}get tag(){return"r"}get textXform(){return this._textXform||(this._textXform=new n)}get fontXform(){return this._fontXform||(this._fontXform=new i(o.FONT_OPTIONS))}render(e,t){t=t||this.model,e.openNode("r"),t.font&&this.fontXform.render(e,t.font),this.textXform.render(e,t.text),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"r":return this.model={},!0;case"t":return this.parser=this.textXform,this.parser.parseOpen(e),!0;case"rPr":return this.parser=this.fontXform,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){switch(e){case"r":return!1;case"t":return this.model.text=this.parser.model,this.parser=void 0,!0;case"rPr":return this.model.font=this.parser.model,this.parser=void 0,!0;default:return this.parser&&this.parser.parseClose(e),!0}}}o.FONT_OPTIONS={tagName:"rPr",fontNameTag:"rFont"},e.exports=o},52765:(e,t,r)=>{const n=r(67403),i=r(95814),a=r(428),o=r(87242);e.exports=class extends o{constructor(e){super(),this.model=e,this.map={r:new i,t:new n,rPh:new a}}get tag(){return"si"}render(e,t){e.openNode(this.tag),t&&t.hasOwnProperty("richText")&&t.richText?t.richText.length?t.richText.forEach((t=>{this.map.r.render(e,t)})):this.map.t.render(e,""):null!=t&&this.map.t.render(e,t),e.closeNode()}parseOpen(e){const{name:t}=e;return this.parser?(this.parser.parseOpen(e),!0):t===this.tag?(this.model={},!0):(this.parser=this.map[t],!!this.parser&&(this.parser.parseOpen(e),!0))}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser){if(!this.parser.parseClose(e)){switch(e){case"r":{let e=this.model.richText;e||(e=this.model.richText=[]),e.push(this.parser.model);break}case"t":this.model=this.parser.model}this.parser=void 0}return!0}return e!==this.tag}}},96242:(e,t,r)=>{const n=r(12141),i=r(87242),a=r(52765);e.exports=class extends i{constructor(e){super(),this.model=e||{values:[],count:0},this.hash=Object.create(null),this.rich=Object.create(null)}get sharedStringXform(){return this._sharedStringXform||(this._sharedStringXform=new a)}get values(){return this.model.values}get uniqueCount(){return this.model.values.length}get count(){return this.model.count}getString(e){return this.model.values[e]}add(e){return e.richText?this.addRichText(e):this.addText(e)}addText(e){let t=this.hash[e];return void 0===t&&(t=this.hash[e]=this.model.values.length,this.model.values.push(e)),this.model.count++,t}addRichText(e){const t=this.sharedStringXform.toXml(e);let r=this.rich[t];return void 0===r&&(r=this.rich[t]=this.model.values.length,this.model.values.push(e)),this.model.count++,r}render(e,t){t=t||this._values,e.openXml(n.StdDocAttributes),e.openNode("sst",{xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main",count:t.count,uniqueCount:t.values.length});const r=this.sharedStringXform;t.values.forEach((t=>{r.render(e,t)})),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"sst":return!0;case"si":return this.parser=this.sharedStringXform,this.parser.parseOpen(e),!0;default:throw new Error(`Unexpected xml node in parseOpen: ${JSON.stringify(e)}`)}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.model.values.push(this.parser.model),this.model.count++,this.parser=void 0),!0;if("sst"===e)return!1;throw new Error(`Unexpected xml node in parseClose: ${e}`)}}},67403:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"t"}render(e,t){e.openNode("t"),/^\s|\n|\s$/.test(t)&&e.addAttribute("xml:space","preserve"),e.writeText(t),e.closeNode()}get model(){return this._text.join("").replace(/_x([0-9A-F]{4})_/g,((e,t)=>String.fromCharCode(parseInt(t,16))))}parseOpen(e){return"t"===e.name&&(this._text=[],!0)}parseText(e){this._text.push(e)}parseClose(){return!1}}},15542:(e,t,r)=>{const n=r(70880),i=r(67032),a=r(87242),o={horizontalValues:["left","center","right","fill","centerContinuous","distributed","justify"].reduce(((e,t)=>(e[t]=!0,e)),{}),horizontal(e){return this.horizontalValues[e]?e:void 0},verticalValues:["top","middle","bottom","distributed","justify"].reduce(((e,t)=>(e[t]=!0,e)),{}),vertical(e){return"middle"===e?"center":this.verticalValues[e]?e:void 0},wrapText:e=>!!e||void 0,shrinkToFit:e=>!!e||void 0,textRotation:e=>"vertical"===e||(e=i.validInt(e))>=-90&&e<=90?e:void 0,indent:e=>(e=i.validInt(e),Math.max(0,e)),readingOrder(e){switch(e){case"ltr":return n.ReadingOrder.LeftToRight;case"rtl":return n.ReadingOrder.RightToLeft;default:return}}},s={toXml(e){if(e=o.textRotation(e)){if("vertical"===e)return 255;const t=Math.round(e);if(t>=0&&t<=90)return t;if(t<0&&t>=-90)return 90-t}},toModel(e){const t=i.validInt(e);if(void 0!==t){if(255===t)return"vertical";if(t>=0&&t<=90)return t;if(t>90&&t<=180)return 90-t}}};e.exports=class extends a{get tag(){return"alignment"}render(e,t){e.addRollback(),e.openNode("alignment");let r=!1;function n(t,n){n&&(e.addAttribute(t,n),r=!0)}n("horizontal",o.horizontal(t.horizontal)),n("vertical",o.vertical(t.vertical)),n("wrapText",!!o.wrapText(t.wrapText)&&"1"),n("shrinkToFit",!!o.shrinkToFit(t.shrinkToFit)&&"1"),n("indent",o.indent(t.indent)),n("textRotation",s.toXml(t.textRotation)),n("readingOrder",o.readingOrder(t.readingOrder)),e.closeNode(),r?e.commit():e.rollback()}parseOpen(e){const t={};let r=!1;function n(e,n,i){e&&(t[n]=i,r=!0)}n(e.attributes.horizontal,"horizontal",e.attributes.horizontal),n(e.attributes.vertical,"vertical","center"===e.attributes.vertical?"middle":e.attributes.vertical),n(e.attributes.wrapText,"wrapText",i.parseBoolean(e.attributes.wrapText)),n(e.attributes.shrinkToFit,"shrinkToFit",i.parseBoolean(e.attributes.shrinkToFit)),n(e.attributes.indent,"indent",parseInt(e.attributes.indent,10)),n(e.attributes.textRotation,"textRotation",s.toModel(e.attributes.textRotation)),n(e.attributes.readingOrder,"readingOrder","2"===e.attributes.readingOrder?"rtl":"ltr"),this.model=r?t:null}parseText(){}parseClose(){return!1}}},46503:(e,t,r)=>{const n=r(87242),i=r(67032),a=r(42720);class o extends n{constructor(e){super(),this.name=e,this.map={color:new a}}get tag(){return this.name}render(e,t,r){const n=t&&t.color||r||this.defaultColor;e.openNode(this.name),t&&t.style&&(e.addAttribute("style",t.style),n&&this.map.color.render(e,n)),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case this.name:{const{style:t}=e.attributes;return this.model=t?{style:t}:void 0,!0}case"color":return this.parser=this.map.color,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):(e===this.name&&this.map.color.model&&(this.model||(this.model={}),this.model.color=this.map.color.model),!1)}validStyle(e){return o.validStyleValues[e]}}o.validStyleValues=["thin","dashed","dotted","dashDot","hair","dashDotDot","slantDashDot","mediumDashed","mediumDashDotDot","mediumDashDot","medium","double","thick"].reduce(((e,t)=>(e[t]=!0,e)),{});e.exports=class extends n{constructor(){super(),this.map={top:new o("top"),left:new o("left"),bottom:new o("bottom"),right:new o("right"),diagonal:new o("diagonal")}}render(e,t){const{color:r}=t;function n(n,i){n&&!n.color&&t.color&&(n={...n,color:t.color}),i.render(e,n,r)}e.openNode("border"),t.diagonal&&t.diagonal.style&&(t.diagonal.up&&e.addAttribute("diagonalUp","1"),t.diagonal.down&&e.addAttribute("diagonalDown","1")),n(t.left,this.map.left),n(t.right,this.map.right),n(t.top,this.map.top),n(t.bottom,this.map.bottom),n(t.diagonal,this.map.diagonal),e.closeNode()}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):"border"===e.name?(this.reset(),this.diagonalUp=i.parseBoolean(e.attributes.diagonalUp),this.diagonalDown=i.parseBoolean(e.attributes.diagonalDown),!0):(this.parser=this.map[e.name],!!this.parser&&(this.parser.parseOpen(e),!0))}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;if("border"===e){const e=this.model={},t=function(t,r,n){r&&(n&&Object.assign(r,n),e[t]=r)};t("left",this.map.left.model),t("right",this.map.right.model),t("top",this.map.top.model),t("bottom",this.map.bottom.model),t("diagonal",this.map.diagonal.model,{up:this.diagonalUp,down:this.diagonalDown})}return!1}}},42720:(e,t,r)=>{const n=r(87242);e.exports=class extends n{constructor(e){super(),this.name=e||"color"}get tag(){return this.name}render(e,t){return!!t&&(e.openNode(this.name),t.argb?e.addAttribute("rgb",t.argb):void 0!==t.theme?(e.addAttribute("theme",t.theme),void 0!==t.tint&&e.addAttribute("tint",t.tint)):void 0!==t.indexed?e.addAttribute("indexed",t.indexed):e.addAttribute("auto","1"),e.closeNode(),!0)}parseOpen(e){return e.name===this.name&&(e.attributes.rgb?this.model={argb:e.attributes.rgb}:e.attributes.theme?(this.model={theme:parseInt(e.attributes.theme,10)},e.attributes.tint&&(this.model.tint=parseFloat(e.attributes.tint))):e.attributes.indexed?this.model={indexed:parseInt(e.attributes.indexed,10)}:this.model=void 0,!0)}parseText(){}parseClose(){return!1}}},64621:(e,t,r)=>{const n=r(87242),i=r(15542),a=r(46503),o=r(96112),s=r(73784),c=r(81198),l=r(84330);e.exports=class extends n{constructor(){super(),this.map={alignment:new i,border:new a,fill:new o,font:new s,numFmt:new c,protection:new l}}get tag(){return"dxf"}render(e,t){if(e.openNode(this.tag),t.font&&this.map.font.render(e,t.font),t.numFmt&&t.numFmtId){const r={id:t.numFmtId,formatCode:t.numFmt};this.map.numFmt.render(e,r)}t.fill&&this.map.fill.render(e,t.fill),t.alignment&&this.map.alignment.render(e,t.alignment),t.border&&this.map.border.render(e,t.border),t.protection&&this.map.protection.render(e,t.protection),e.closeNode()}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):e.name===this.tag?(this.reset(),!0):(this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e),!0)}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):e!==this.tag||(this.model={alignment:this.map.alignment.model,border:this.map.border.model,fill:this.map.fill.model,font:this.map.font.model,numFmt:this.map.numFmt.model,protection:this.map.protection.model},!1)}}},96112:(e,t,r)=>{const n=r(87242),i=r(42720);class a extends n{constructor(){super(),this.map={color:new i}}get tag(){return"stop"}render(e,t){e.openNode("stop"),e.addAttribute("position",t.position),this.map.color.render(e,t.color),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"stop":return this.model={position:parseFloat(e.attributes.position)},!0;case"color":return this.parser=this.map.color,this.parser.parseOpen(e),!0;default:return!1}}parseText(){}parseClose(e){return!!this.parser&&(this.parser.parseClose(e)||(this.model.color=this.parser.model,this.parser=void 0),!0)}}class o extends n{constructor(){super(),this.map={fgColor:new i("fgColor"),bgColor:new i("bgColor")}}get name(){return"pattern"}get tag(){return"patternFill"}render(e,t){e.openNode("patternFill"),e.addAttribute("patternType",t.pattern),t.fgColor&&this.map.fgColor.render(e,t.fgColor),t.bgColor&&this.map.bgColor.render(e,t.bgColor),e.closeNode()}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):"patternFill"===e.name?(this.model={type:"pattern",pattern:e.attributes.patternType},!0):(this.parser=this.map[e.name],!!this.parser&&(this.parser.parseOpen(e),!0))}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return!!this.parser&&(this.parser.parseClose(e)||(this.parser.model&&(this.model[e]=this.parser.model),this.parser=void 0),!0)}}class s extends n{constructor(){super(),this.map={stop:new a}}get name(){return"gradient"}get tag(){return"gradientFill"}render(e,t){switch(e.openNode("gradientFill"),t.gradient){case"angle":e.addAttribute("degree",t.degree);break;case"path":e.addAttribute("type","path"),t.center.left&&(e.addAttribute("left",t.center.left),void 0===t.center.right&&e.addAttribute("right",t.center.left)),t.center.right&&e.addAttribute("right",t.center.right),t.center.top&&(e.addAttribute("top",t.center.top),void 0===t.center.bottom&&e.addAttribute("bottom",t.center.top)),t.center.bottom&&e.addAttribute("bottom",t.center.bottom)}const r=this.map.stop;t.stops.forEach((t=>{r.render(e,t)})),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"gradientFill":{const t=this.model={stops:[]};return e.attributes.degree?(t.gradient="angle",t.degree=parseInt(e.attributes.degree,10)):"path"===e.attributes.type&&(t.gradient="path",t.center={left:e.attributes.left?parseFloat(e.attributes.left):0,top:e.attributes.top?parseFloat(e.attributes.top):0},e.attributes.right!==e.attributes.left&&(t.center.right=e.attributes.right?parseFloat(e.attributes.right):0),e.attributes.bottom!==e.attributes.top&&(t.center.bottom=e.attributes.bottom?parseFloat(e.attributes.bottom):0)),!0}case"stop":return this.parser=this.map.stop,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return!!this.parser&&(this.parser.parseClose(e)||(this.model.stops.push(this.parser.model),this.parser=void 0),!0)}}class c extends n{constructor(){super(),this.map={patternFill:new o,gradientFill:new s}}get tag(){return"fill"}render(e,t){switch(e.addRollback(),e.openNode("fill"),t.type){case"pattern":this.map.patternFill.render(e,t);break;case"gradient":this.map.gradientFill.render(e,t);break;default:return void e.rollback()}e.closeNode(),e.commit()}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):"fill"===e.name?(this.model={},!0):(this.parser=this.map[e.name],!!this.parser&&(this.parser.parseOpen(e),!0))}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return!!this.parser&&(this.parser.parseClose(e)||(this.model=this.parser.model,this.model.type=this.parser.name,this.parser=void 0),!0)}validStyle(e){return c.validPatternValues[e]}}c.validPatternValues=["none","solid","darkVertical","darkGray","mediumGray","lightGray","gray125","gray0625","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","lightGrid"].reduce(((e,t)=>(e[t]=!0,e)),{}),c.StopXform=a,c.PatternFillXform=o,c.GradientFillXform=s,e.exports=c},73784:(e,t,r)=>{"use strict";const n=r(42720),i=r(36006),a=r(65208),o=r(71207),s=r(15631),c=r(67984),l=r(87242);class u extends l{constructor(e){super(),this.options=e||u.OPTIONS,this.map={b:{prop:"bold",xform:new i({tag:"b",attr:"val"})},i:{prop:"italic",xform:new i({tag:"i",attr:"val"})},u:{prop:"underline",xform:new s},charset:{prop:"charset",xform:new a({tag:"charset",attr:"val"})},color:{prop:"color",xform:new n},condense:{prop:"condense",xform:new i({tag:"condense",attr:"val"})},extend:{prop:"extend",xform:new i({tag:"extend",attr:"val"})},family:{prop:"family",xform:new a({tag:"family",attr:"val"})},outline:{prop:"outline",xform:new i({tag:"outline",attr:"val"})},vertAlign:{prop:"vertAlign",xform:new o({tag:"vertAlign",attr:"val"})},scheme:{prop:"scheme",xform:new o({tag:"scheme",attr:"val"})},shadow:{prop:"shadow",xform:new i({tag:"shadow",attr:"val"})},strike:{prop:"strike",xform:new i({tag:"strike",attr:"val"})},sz:{prop:"size",xform:new a({tag:"sz",attr:"val"})}},this.map[this.options.fontNameTag]={prop:"name",xform:new o({tag:this.options.fontNameTag,attr:"val"})}}get tag(){return this.options.tagName}render(e,t){const{map:r}=this;e.openNode(this.options.tagName),c.each(this.map,((n,i)=>{r[i].xform.render(e,t[n.prop])})),e.closeNode()}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):this.map[e.name]?(this.parser=this.map[e.name].xform,this.parser.parseOpen(e)):e.name===this.options.tagName&&(this.model={},!0)}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser&&!this.parser.parseClose(e)){const t=this.map[e];return this.parser.model&&(this.model[t.prop]=this.parser.model),this.parser=void 0,!0}return e!==this.options.tagName}}u.OPTIONS={tagName:"font",fontNameTag:"name"},e.exports=u},81198:(e,t,r)=>{const n=r(67984),i=r(77118),a=r(87242);const o=function(){const e={};return n.each(i,((t,r)=>{t.f&&(e[t.f]=parseInt(r,10))})),e}();class s extends a{constructor(e,t){super(),this.id=e,this.formatCode=t}get tag(){return"numFmt"}render(e,t){e.leafNode("numFmt",{numFmtId:t.id,formatCode:t.formatCode})}parseOpen(e){return"numFmt"===e.name&&(this.model={id:parseInt(e.attributes.numFmtId,10),formatCode:e.attributes.formatCode.replace(/[\\](.)/g,"$1")},!0)}parseText(){}parseClose(){return!1}}s.getDefaultFmtId=function(e){return o[e]},s.getDefaultFmtCode=function(e){return i[e]&&i[e].f},e.exports=s},84330:(e,t,r)=>{const n=r(87242),i={boolean:(e,t)=>void 0===e?t:e};e.exports=class extends n{get tag(){return"protection"}render(e,t){e.addRollback(),e.openNode("protection");let r=!1;function n(t,n){void 0!==n&&(e.addAttribute(t,n),r=!0)}n("locked",i.boolean(t.locked,!0)?void 0:"0"),n("hidden",i.boolean(t.hidden,!1)?"1":void 0),e.closeNode(),r?e.commit():e.rollback()}parseOpen(e){const t={locked:!("0"===e.attributes.locked),hidden:"1"===e.attributes.hidden},r=!t.locked||t.hidden;this.model=r?t:null}parseText(){}parseClose(){return!1}}},51566:(e,t,r)=>{const n=r(87242),i=r(15542),a=r(84330);e.exports=class extends n{constructor(e){super(),this.xfId=!(!e||!e.xfId),this.map={alignment:new i,protection:new a}}get tag(){return"xf"}render(e,t){e.openNode("xf",{numFmtId:t.numFmtId||0,fontId:t.fontId||0,fillId:t.fillId||0,borderId:t.borderId||0}),this.xfId&&e.addAttribute("xfId",t.xfId||0),t.numFmtId&&e.addAttribute("applyNumberFormat","1"),t.fontId&&e.addAttribute("applyFont","1"),t.fillId&&e.addAttribute("applyFill","1"),t.borderId&&e.addAttribute("applyBorder","1"),t.alignment&&e.addAttribute("applyAlignment","1"),t.protection&&e.addAttribute("applyProtection","1"),t.alignment&&this.map.alignment.render(e,t.alignment),t.protection&&this.map.protection.render(e,t.protection),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;switch(e.name){case"xf":return this.model={numFmtId:parseInt(e.attributes.numFmtId,10),fontId:parseInt(e.attributes.fontId,10),fillId:parseInt(e.attributes.fillId,10),borderId:parseInt(e.attributes.borderId,10)},this.xfId&&(this.model.xfId=parseInt(e.attributes.xfId,10)),!0;case"alignment":return this.parser=this.map.alignment,this.parser.parseOpen(e),!0;case"protection":return this.parser=this.map.protection,this.parser.parseOpen(e),!0;default:return!1}}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.map.protection===this.parser?this.model.protection=this.parser.model:this.model.alignment=this.parser.model,this.parser=void 0),!0):"xf"!==e}}},17647:(e,t,r)=>{const n=r(70880),i=r(12141),a=r(87242),o=r(52789),s=r(62447),c=r(73784),l=r(96112),u=r(46503),d=r(81198),p=r(51566),f=r(64621);class m extends a{constructor(e){super(),this.map={numFmts:new s({tag:"numFmts",count:!0,childXform:new d}),fonts:new s({tag:"fonts",count:!0,childXform:new c,$:{"x14ac:knownFonts":1}}),fills:new s({tag:"fills",count:!0,childXform:new l}),borders:new s({tag:"borders",count:!0,childXform:new u}),cellStyleXfs:new s({tag:"cellStyleXfs",count:!0,childXform:new p}),cellXfs:new s({tag:"cellXfs",count:!0,childXform:new p({xfId:!0})}),dxfs:new s({tag:"dxfs",always:!0,count:!0,childXform:new f}),numFmt:new d,font:new c,fill:new l,border:new u,style:new p({xfId:!0}),cellStyles:m.STATIC_XFORMS.cellStyles,tableStyles:m.STATIC_XFORMS.tableStyles,extLst:m.STATIC_XFORMS.extLst},e&&this.init()}initIndex(){this.index={style:{},numFmt:{},numFmtNextId:164,font:{},border:{},fill:{}}}init(){this.model={styles:[],numFmts:[],fonts:[],borders:[],fills:[],dxfs:[]},this.initIndex(),this._addBorder({}),this._addStyle({numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}),this._addFill({type:"pattern",pattern:"none"}),this._addFill({type:"pattern",pattern:"gray125"}),this.weakMap=new WeakMap}render(e,t){t=t||this.model,e.openXml(i.StdDocAttributes),e.openNode("styleSheet",m.STYLESHEET_ATTRIBUTES),this.index?(t.numFmts&&t.numFmts.length&&(e.openNode("numFmts",{count:t.numFmts.length}),t.numFmts.forEach((t=>{e.writeXml(t)})),e.closeNode()),t.fonts.length||this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}),e.openNode("fonts",{count:t.fonts.length,"x14ac:knownFonts":1}),t.fonts.forEach((t=>{e.writeXml(t)})),e.closeNode(),e.openNode("fills",{count:t.fills.length}),t.fills.forEach((t=>{e.writeXml(t)})),e.closeNode(),e.openNode("borders",{count:t.borders.length}),t.borders.forEach((t=>{e.writeXml(t)})),e.closeNode(),this.map.cellStyleXfs.render(e,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),e.openNode("cellXfs",{count:t.styles.length}),t.styles.forEach((t=>{e.writeXml(t)})),e.closeNode()):(this.map.numFmts.render(e,t.numFmts),this.map.fonts.render(e,t.fonts),this.map.fills.render(e,t.fills),this.map.borders.render(e,t.borders),this.map.cellStyleXfs.render(e,[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}]),this.map.cellXfs.render(e,t.styles)),m.STATIC_XFORMS.cellStyles.render(e),this.map.dxfs.render(e,t.dxfs),m.STATIC_XFORMS.tableStyles.render(e),m.STATIC_XFORMS.extLst.render(e),e.closeNode()}parseOpen(e){return this.parser?(this.parser.parseOpen(e),!0):"styleSheet"===e.name?(this.initIndex(),!0):(this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e),!0)}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.parser=void 0),!0;if("styleSheet"===e){this.model={};const e=(e,t)=>{t.model&&t.model.length&&(this.model[e]=t.model)};if(e("numFmts",this.map.numFmts),e("fonts",this.map.fonts),e("fills",this.map.fills),e("borders",this.map.borders),e("styles",this.map.cellXfs),e("dxfs",this.map.dxfs),this.index={model:[],numFmt:[]},this.model.numFmts){const e=this.index.numFmt;this.model.numFmts.forEach((t=>{e[t.id]=t.formatCode}))}return!1}return!0}addStyleModel(e,t){if(!e)return 0;if(this.model.fonts.length||this._addFont({size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}),this.weakMap&&this.weakMap.has(e))return this.weakMap.get(e);const r={};if(t=t||n.ValueType.Number,e.numFmt)r.numFmtId=this._addNumFmtStr(e.numFmt);else switch(t){case n.ValueType.Number:r.numFmtId=this._addNumFmtStr("General");break;case n.ValueType.Date:r.numFmtId=this._addNumFmtStr("mm-dd-yy")}e.font&&(r.fontId=this._addFont(e.font)),e.border&&(r.borderId=this._addBorder(e.border)),e.fill&&(r.fillId=this._addFill(e.fill)),e.alignment&&(r.alignment=e.alignment),e.protection&&(r.protection=e.protection);const i=this._addStyle(r);return this.weakMap&&this.weakMap.set(e,i),i}getStyleModel(e){const t=this.model.styles[e];if(!t)return null;let r=this.index.model[e];if(r)return r;if(r=this.index.model[e]={},t.numFmtId){const e=this.index.numFmt[t.numFmtId]||d.getDefaultFmtCode(t.numFmtId);e&&(r.numFmt=e)}function n(e,t,n){if(n||0===n){const i=t[n];i&&(r[e]=i)}}return n("font",this.model.fonts,t.fontId),n("border",this.model.borders,t.borderId),n("fill",this.model.fills,t.fillId),t.alignment&&(r.alignment=t.alignment),t.protection&&(r.protection=t.protection),r}addDxfStyle(e){return e.numFmt&&(e.numFmtId=this._addNumFmtStr(e.numFmt)),this.model.dxfs.push(e),this.model.dxfs.length-1}getDxfStyle(e){return this.model.dxfs[e]}_addStyle(e){const t=this.map.style.toXml(e);let r=this.index.style[t];return void 0===r&&(r=this.index.style[t]=this.model.styles.length,this.model.styles.push(t)),r}_addNumFmtStr(e){let t=d.getDefaultFmtId(e);if(void 0!==t)return t;if(t=this.index.numFmt[e],void 0!==t)return t;t=this.index.numFmt[e]=164+this.model.numFmts.length;const r=this.map.numFmt.toXml({id:t,formatCode:e});return this.model.numFmts.push(r),t}_addFont(e){const t=this.map.font.toXml(e);let r=this.index.font[t];return void 0===r&&(r=this.index.font[t]=this.model.fonts.length,this.model.fonts.push(t)),r}_addBorder(e){const t=this.map.border.toXml(e);let r=this.index.border[t];return void 0===r&&(r=this.index.border[t]=this.model.borders.length,this.model.borders.push(t)),r}_addFill(e){const t=this.map.fill.toXml(e);let r=this.index.fill[t];return void 0===r&&(r=this.index.fill[t]=this.model.fills.length,this.model.fills.push(t)),r}}m.STYLESHEET_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"x14ac x16r2","xmlns:x14ac":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac","xmlns:x16r2":"http://schemas.microsoft.com/office/spreadsheetml/2015/02/main"},m.STATIC_XFORMS={cellStyles:new o({tag:"cellStyles",$:{count:1},c:[{tag:"cellStyle",$:{name:"Normal",xfId:0,builtinId:0}}]}),dxfs:new o({tag:"dxfs",$:{count:0}}),tableStyles:new o({tag:"tableStyles",$:{count:0,defaultTableStyle:"TableStyleMedium2",defaultPivotStyle:"PivotStyleLight16"}}),extLst:new o({tag:"extLst",c:[{tag:"ext",$:{uri:"{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}","xmlns:x14":"http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"},c:[{tag:"x14:slicerStyles",$:{defaultSlicerStyle:"SlicerStyleLight1"}}]},{tag:"ext",$:{uri:"{9260A510-F301-46a8-8635-F512D64BE5F5}","xmlns:x15":"http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"},c:[{tag:"x15:timelineStyles",$:{defaultTimelineStyle:"TimeSlicerStyleLight1"}}]}]})};m.Mock=class extends m{constructor(){super(),this.model={styles:[{numFmtId:0,fontId:0,fillId:0,borderId:0,xfId:0}],numFmts:[],fonts:[{size:11,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}],borders:[{}],fills:[{type:"pattern",pattern:"none"},{type:"pattern",pattern:"gray125"}]}}parseStream(e){return e.autodrain(),Promise.resolve()}addStyleModel(e,t){return t===n.ValueType.Date?this.dateStyleId:0}get dateStyleId(){if(!this._dateStyleId){const e={numFmtId:d.getDefaultFmtId("mm-dd-yy")};this._dateStyleId=this.model.styles.length,this.model.styles.push(e)}return this._dateStyleId}getStyleModel(){return{}}},e.exports=m},15631:(e,t,r)=>{const n=r(87242);class i extends n{constructor(e){super(),this.model=e}get tag(){return"u"}render(e,t){if(!0===(t=t||this.model))e.leafNode("u");else{const r=i.Attributes[t];r&&e.leafNode("u",r)}}parseOpen(e){"u"===e.name&&(this.model=e.attributes.val||!0)}parseText(){}parseClose(){return!1}}i.Attributes={single:{},double:{val:"double"},singleAccounting:{val:"singleAccounting"},doubleAccounting:{val:"doubleAccounting"}},e.exports=i},90290:(e,t,r)=>{const n=r(87242),i=r(24089);e.exports=class extends n{constructor(){super(),this.map={filterColumn:new i}}get tag(){return"autoFilter"}prepare(e){e.columns.forEach(((e,t)=>{this.map.filterColumn.prepare(e,{index:t})}))}render(e,t){return e.openNode(this.tag,{ref:t.autoFilterRef}),t.columns.forEach((t=>{this.map.filterColumn.render(e,t)})),e.closeNode(),!0}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;if(e.name===this.tag)return this.model={autoFilterRef:e.attributes.ref,columns:[]},!0;if(this.parser=this.map[e.name],this.parser)return this.parseOpen(e),!0;throw new Error(`Unexpected xml node in parseOpen: ${JSON.stringify(e)}`)}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){if(this.parser)return this.parser.parseClose(e)||(this.model.columns.push(this.parser.model),this.parser=void 0),!0;if(e===this.tag)return!1;throw new Error(`Unexpected xml node in parseClose: ${e}`)}}},61238:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"customFilter"}render(e,t){e.leafNode(this.tag,{val:t.val,operator:t.operator})}parseOpen(e){return e.name===this.tag&&(this.model={val:e.attributes.val,operator:e.attributes.operator},!0)}parseText(){}parseClose(){return!1}}},24089:(e,t,r)=>{const n=r(87242),i=r(62447),a=r(61238),o=r(59644);e.exports=class extends n{constructor(){super(),this.map={customFilters:new i({tag:"customFilters",count:!1,empty:!0,childXform:new a}),filters:new i({tag:"filters",count:!1,empty:!0,childXform:new o})}}get tag(){return"filterColumn"}prepare(e,t){e.colId=t.index.toString()}render(e,t){return t.customFilters?(e.openNode(this.tag,{colId:t.colId,hiddenButton:t.filterButton?"0":"1"}),this.map.customFilters.render(e,t.customFilters),e.closeNode(),!0):(e.leafNode(this.tag,{colId:t.colId,hiddenButton:t.filterButton?"0":"1"}),!0)}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;const{attributes:t}=e;if(e.name===this.tag)return this.model={filterButton:"0"===t.hiddenButton},!0;if(this.parser=this.map[e.name],this.parser)return this.parseOpen(e),!0;throw new Error(`Unexpected xml node in parseOpen: ${JSON.stringify(e)}`)}parseText(){}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):e!==this.tag||(this.model.customFilters=this.map.customFilters.model,!1)}}},59644:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"filter"}render(e,t){e.leafNode(this.tag,{val:t.val})}parseOpen(e){return e.name===this.tag&&(this.model={val:e.attributes.val},!0)}parseText(){}parseClose(){return!1}}},57715:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"tableColumn"}prepare(e,t){e.id=t.index+1}render(e,t){return e.leafNode(this.tag,{id:t.id.toString(),name:t.name,totalsRowLabel:t.totalsRowLabel,totalsRowFunction:t.totalsRowFunction,dxfId:t.dxfId}),!0}parseOpen(e){if(e.name===this.tag){const{attributes:t}=e;return this.model={name:t.name,totalsRowLabel:t.totalsRowLabel,totalsRowFunction:t.totalsRowFunction,dxfId:t.dxfId},!0}return!1}parseText(){}parseClose(){return!1}}},16949:(e,t,r)=>{const n=r(87242);e.exports=class extends n{get tag(){return"tableStyleInfo"}render(e,t){return e.leafNode(this.tag,{name:t.theme?t.theme:void 0,showFirstColumn:t.showFirstColumn?"1":"0",showLastColumn:t.showLastColumn?"1":"0",showRowStripes:t.showRowStripes?"1":"0",showColumnStripes:t.showColumnStripes?"1":"0"}),!0}parseOpen(e){if(e.name===this.tag){const{attributes:t}=e;return this.model={theme:t.name?t.name:null,showFirstColumn:"1"===t.showFirstColumn,showLastColumn:"1"===t.showLastColumn,showRowStripes:"1"===t.showRowStripes,showColumnStripes:"1"===t.showColumnStripes},!0}return!1}parseText(){}parseClose(){return!1}}},71998:(e,t,r)=>{const n=r(12141),i=r(87242),a=r(62447),o=r(90290),s=r(57715),c=r(16949);class l extends i{constructor(){super(),this.map={autoFilter:new o,tableColumns:new a({tag:"tableColumns",count:!0,empty:!0,childXform:new s}),tableStyleInfo:new c}}prepare(e,t){this.map.autoFilter.prepare(e),this.map.tableColumns.prepare(e.columns,t)}get tag(){return"table"}render(e,t){e.openXml(n.StdDocAttributes),e.openNode(this.tag,{...l.TABLE_ATTRIBUTES,id:t.id,name:t.name,displayName:t.displayName||t.name,ref:t.tableRef,totalsRowCount:t.totalsRow?"1":void 0,totalsRowShown:t.totalsRow?void 0:"1",headerRowCount:t.headerRow?"1":"0"}),this.map.autoFilter.render(e,t),this.map.tableColumns.render(e,t.columns),this.map.tableStyleInfo.render(e,t.style),e.closeNode()}parseOpen(e){if(this.parser)return this.parser.parseOpen(e),!0;const{name:t,attributes:r}=e;if(t===this.tag)this.reset(),this.model={name:r.name,displayName:r.displayName||r.name,tableRef:r.ref,totalsRow:"1"===r.totalsRowCount,headerRow:"1"===r.headerRowCount};else this.parser=this.map[e.name],this.parser&&this.parser.parseOpen(e);return!0}parseText(e){this.parser&&this.parser.parseText(e)}parseClose(e){return this.parser?(this.parser.parseClose(e)||(this.parser=void 0),!0):e!==this.tag||(this.model.columns=this.map.tableColumns.model,this.map.autoFilter.model&&(this.model.autoFilterRef=this.map.autoFilter.model.autoFilterRef,this.map.autoFilter.model.columns.forEach(((e,t)=>{this.model.columns[t].filterButton=e.filterButton}))),this.model.style=this.map.tableStyleInfo.model,!1)}reconcile(e,t){e.columns.forEach((e=>{void 0!==e.dxfId&&(e.style=t.styles.getDxfStyle(e.dxfId))}))}}l.TABLE_ATTRIBUTES={xmlns:"http://schemas.openxmlformats.org/spreadsheetml/2006/main","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","mc:Ignorable":"xr xr3","xmlns:xr":"http://schemas.microsoft.com/office/spreadsheetml/2014/revision","xmlns:xr3":"http://schemas.microsoft.com/office/spreadsheetml/2016/revision3"},e.exports=l},59276:(e,t,r)=>{const n=r(79896),i=r(58833),{PassThrough:a}=r(34198),o=r(1495),s=r(87137),c=r(67032),l=r(12141),{bufferToString:u}=r(50323),d=r(17647),p=r(1298),f=r(96242),m=r(61724),g=r(40814),_=r(15888),h=r(22519),y=r(59629),v=r(66386),b=r(71998),k=r(10959),x=r(43316),E=r(46046);class S{constructor(e){this.workbook=e}async readFile(e,t){if(!await c.fs.exists(e))throw new Error(`File not found: ${e}`);const r=n.createReadStream(e);try{const e=await this.read(r,t);return r.close(),e}catch(e){throw r.close(),e}}parseRels(e){return(new m).parseStream(e)}parseWorkbook(e){return(new h).parseStream(e)}parseSharedStrings(e){return(new f).parseStream(e)}reconcile(e,t){const r=new h,n=new y(t),i=new v,a=new b;r.reconcile(e);const o={media:e.media,mediaIndex:e.mediaIndex};Object.keys(e.drawings).forEach((t=>{const r=e.drawings[t],n=e.drawingRels[t];n&&(o.rels=n.reduce(((e,t)=>(e[t.Id]=t,e)),{}),(r.anchors||[]).forEach((e=>{const t=e.picture&&e.picture.hyperlinks;t&&o.rels[t.rId]&&(t.hyperlink=o.rels[t.rId].Target,delete t.rId)})),i.reconcile(r,o))}));const s={styles:e.styles};Object.values(e.tables).forEach((e=>{a.reconcile(e,s)}));const c={styles:e.styles,sharedStrings:e.sharedStrings,media:e.media,mediaIndex:e.mediaIndex,date1904:e.properties&&e.properties.date1904,drawings:e.drawings,comments:e.comments,tables:e.tables,vmlDrawings:e.vmlDrawings};e.worksheets.forEach((t=>{t.relationships=e.worksheetRels[t.sheetNo],n.reconcile(t,c)})),delete e.worksheetHash,delete e.worksheetRels,delete e.globalRels,delete e.sharedStrings,delete e.workbookRels,delete e.sheetDefs,delete e.styles,delete e.mediaIndex,delete e.drawings,delete e.drawingRels,delete e.vmlDrawings}async _processWorksheetEntry(e,t,r,n,i){const a=new y(n),o=await a.parseStream(e);o.sheetNo=r,t.worksheetHash[i]=o,t.worksheets.push(o)}async _processCommentEntry(e,t,r){const n=new k,i=await n.parseStream(e);t.comments[`../${r}.xml`]=i}async _processTableEntry(e,t,r){const n=new b,i=await n.parseStream(e);t.tables[`../tables/${r}.xml`]=i}async _processWorksheetRelsEntry(e,t,r){const n=new m,i=await n.parseStream(e);t.worksheetRels[r]=i}async _processMediaEntry(e,t,r){const n=r.lastIndexOf(".");if(n>=1){const i=r.substr(n+1),a=r.substr(0,n);await new Promise(((n,o)=>{const c=new s;c.on("finish",(()=>{t.mediaIndex[r]=t.media.length,t.mediaIndex[a]=t.media.length;const e={type:"image",name:a,extension:i,buffer:c.toBuffer()};t.media.push(e),n()})),e.on("error",(e=>{o(e)})),e.pipe(c)}))}}async _processDrawingEntry(e,t,r){const n=new v,i=await n.parseStream(e);t.drawings[r]=i}async _processDrawingRelsEntry(e,t,r){const n=new m,i=await n.parseStream(e);t.drawingRels[r]=i}async _processVmlDrawingEntry(e,t,r){const n=new x,i=await n.parseStream(e);t.vmlDrawings[`../drawings/${r}.vml`]=i}async _processThemeEntry(e,t,r){await new Promise(((n,i)=>{const a=new s;e.on("error",i),a.on("error",i),a.on("finish",(()=>{t.themes[r]=a.read().toString(),n()})),e.pipe(a)}))}createInputStream(){throw new Error("`XLSX#createInputStream` is deprecated. You should use `XLSX#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}async read(e,t){!e[Symbol.asyncIterator]&&e.pipe&&(e=e.pipe(new a));const r=[];for await(const t of e)r.push(t);return this.load(Buffer.concat(r),t)}async load(e,t){let r;r=t&&t.base64?Buffer.from(e.toString(),"base64"):e;const n={worksheets:[],worksheetHash:{},worksheetRels:[],themes:{},media:[],mediaIndex:{},drawings:{},drawingRels:{},comments:{},tables:{},vmlDrawings:{}},o=await i.loadAsync(r);for(const e of Object.values(o.files))if(!e.dir){let r,i=e.name;if("/"===i[0]&&(i=i.substr(1)),i.match(/xl\/media\//)||i.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/))r=new a,r.write(await e.async("nodebuffer"));else{let t;r=new a({writableObjectMode:!0,readableObjectMode:!0}),t=process.browser?u(await e.async("nodebuffer")):await e.async("string");const n=16384;for(let e=0;e<t.length;e+=n)r.write(t.substring(e,e+n))}switch(r.end(),i){case"_rels/.rels":n.globalRels=await this.parseRels(r);break;case"xl/workbook.xml":{const e=await this.parseWorkbook(r);n.sheets=e.sheets,n.definedNames=e.definedNames,n.views=e.views,n.properties=e.properties,n.calcProperties=e.calcProperties;break}case"xl/_rels/workbook.xml.rels":n.workbookRels=await this.parseRels(r);break;case"xl/sharedStrings.xml":n.sharedStrings=new f,await n.sharedStrings.parseStream(r);break;case"xl/styles.xml":n.styles=new d,await n.styles.parseStream(r);break;case"docProps/app.xml":{const e=new _,t=await e.parseStream(r);n.company=t.company,n.manager=t.manager;break}case"docProps/core.xml":{const e=new p,t=await e.parseStream(r);Object.assign(n,t);break}default:{let e=i.match(/xl\/worksheets\/sheet(\d+)[.]xml/);if(e){await this._processWorksheetEntry(r,n,e[1],t,i);break}if(e=i.match(/xl\/worksheets\/_rels\/sheet(\d+)[.]xml.rels/),e){await this._processWorksheetRelsEntry(r,n,e[1]);break}if(e=i.match(/xl\/theme\/([a-zA-Z0-9]+)[.]xml/),e){await this._processThemeEntry(r,n,e[1]);break}if(e=i.match(/xl\/media\/([a-zA-Z0-9]+[.][a-zA-Z0-9]{3,4})$/),e){await this._processMediaEntry(r,n,e[1]);break}if(e=i.match(/xl\/drawings\/([a-zA-Z0-9]+)[.]xml/),e){await this._processDrawingEntry(r,n,e[1]);break}if(e=i.match(/xl\/(comments\d+)[.]xml/),e){await this._processCommentEntry(r,n,e[1]);break}if(e=i.match(/xl\/tables\/(table\d+)[.]xml/),e){await this._processTableEntry(r,n,e[1]);break}if(e=i.match(/xl\/drawings\/_rels\/([a-zA-Z0-9]+)[.]xml[.]rels/),e){await this._processDrawingRelsEntry(r,n,e[1]);break}if(e=i.match(/xl\/drawings\/(vmlDrawing\d+)[.]vml/),e){await this._processVmlDrawingEntry(r,n,e[1]);break}}}}return this.reconcile(n,t),this.workbook.model=n,this.workbook}async addMedia(e,t){await Promise.all(t.media.map((async t=>{if("image"===t.type){const r=`xl/media/${t.name}.${t.extension}`;if(t.filename){const i=await function(e,t){return new Promise(((r,i)=>{n.readFile(e,t,((e,t)=>{e?i(e):r(t)}))}))}(t.filename);return e.append(i,{name:r})}if(t.buffer)return e.append(t.buffer,{name:r});if(t.base64){const n=t.base64,i=n.substring(n.indexOf(",")+1);return e.append(i,{name:r,base64:!0})}}throw new Error("Unsupported media")})))}addDrawings(e,t){const r=new v,n=new m;t.worksheets.forEach((t=>{const{drawing:i}=t;if(i){r.prepare(i,{});let t=r.toXml(i);e.append(t,{name:`xl/drawings/${i.name}.xml`}),t=n.toXml(i.rels),e.append(t,{name:`xl/drawings/_rels/${i.name}.xml.rels`})}}))}addTables(e,t){const r=new b;t.worksheets.forEach((t=>{const{tables:n}=t;n.forEach((t=>{r.prepare(t,{});const n=r.toXml(t);e.append(n,{name:`xl/tables/${t.target}`})}))}))}async addContentTypes(e,t){const r=(new g).toXml(t);e.append(r,{name:"[Content_Types].xml"})}async addApp(e,t){const r=(new _).toXml(t);e.append(r,{name:"docProps/app.xml"})}async addCore(e,t){const r=new p;e.append(r.toXml(t),{name:"docProps/core.xml"})}async addThemes(e,t){const r=t.themes||{theme1:E};Object.keys(r).forEach((t=>{const n=r[t],i=`xl/theme/${t}.xml`;e.append(n,{name:i})}))}async addOfficeRels(e){const t=(new m).toXml([{Id:"rId1",Type:S.RelType.OfficeDocument,Target:"xl/workbook.xml"},{Id:"rId2",Type:S.RelType.CoreProperties,Target:"docProps/core.xml"},{Id:"rId3",Type:S.RelType.ExtenderProperties,Target:"docProps/app.xml"}]);e.append(t,{name:"_rels/.rels"})}async addWorkbookRels(e,t){let r=1;const n=[{Id:"rId"+r++,Type:S.RelType.Styles,Target:"styles.xml"},{Id:"rId"+r++,Type:S.RelType.Theme,Target:"theme/theme1.xml"}];t.sharedStrings.count&&n.push({Id:"rId"+r++,Type:S.RelType.SharedStrings,Target:"sharedStrings.xml"}),t.worksheets.forEach((e=>{e.rId="rId"+r++,n.push({Id:e.rId,Type:S.RelType.Worksheet,Target:`worksheets/sheet${e.id}.xml`})}));const i=(new m).toXml(n);e.append(i,{name:"xl/_rels/workbook.xml.rels"})}async addSharedStrings(e,t){t.sharedStrings&&t.sharedStrings.count&&e.append(t.sharedStrings.xml,{name:"xl/sharedStrings.xml"})}async addStyles(e,t){const{xml:r}=t.styles;r&&e.append(r,{name:"xl/styles.xml"})}async addWorkbook(e,t){const r=new h;e.append(r.toXml(t),{name:"xl/workbook.xml"})}async addWorksheets(e,t){const r=new y,n=new m,i=new k,a=new x;t.worksheets.forEach((t=>{let o=new l;r.render(o,t),e.append(o.xml,{name:`xl/worksheets/sheet${t.id}.xml`}),t.rels&&t.rels.length&&(o=new l,n.render(o,t.rels),e.append(o.xml,{name:`xl/worksheets/_rels/sheet${t.id}.xml.rels`})),t.comments.length>0&&(o=new l,i.render(o,t),e.append(o.xml,{name:`xl/comments${t.id}.xml`}),o=new l,a.render(o,t),e.append(o.xml,{name:`xl/drawings/vmlDrawing${t.id}.vml`}))}))}_finalize(e){return new Promise(((t,r)=>{e.on("finish",(()=>{t(this)})),e.on("error",r),e.finalize()}))}prepareModel(e,t){e.creator=e.creator||"ExcelJS",e.lastModifiedBy=e.lastModifiedBy||"ExcelJS",e.created=e.created||new Date,e.modified=e.modified||new Date,e.useSharedStrings=void 0===t.useSharedStrings||t.useSharedStrings,e.useStyles=void 0===t.useStyles||t.useStyles,e.sharedStrings=new f,e.styles=e.useStyles?new d(!0):new d.Mock;const r=new h,n=new y;r.prepare(e);const i={sharedStrings:e.sharedStrings,styles:e.styles,date1904:e.properties.date1904,drawingsCount:0,media:e.media};i.drawings=e.drawings=[],i.commentRefs=e.commentRefs=[];let a=0;e.tables=[],e.worksheets.forEach((t=>{t.tables.forEach((t=>{a++,t.target=`table${a}.xml`,t.id=a,e.tables.push(t)})),n.prepare(t,i)}))}async write(e,t){t=t||{};const{model:r}=this.workbook,n=new o.ZipWriter(t.zip);return n.pipe(e),this.prepareModel(r,t),await this.addContentTypes(n,r),await this.addOfficeRels(n,r),await this.addWorkbookRels(n,r),await this.addWorksheets(n,r),await this.addSharedStrings(n,r),await this.addDrawings(n,r),await this.addTables(n,r),await Promise.all([this.addThemes(n,r),this.addStyles(n,r)]),await this.addMedia(n,r),await Promise.all([this.addApp(n,r),this.addCore(n,r)]),await this.addWorkbook(n,r),this._finalize(n)}writeFile(e,t){const r=n.createWriteStream(e);return new Promise(((e,n)=>{r.on("finish",(()=>{e()})),r.on("error",(e=>{n(e)})),this.write(r,t).then((()=>{r.end()})).catch((e=>{n(e)}))}))}async writeBuffer(e){const t=new s;return await this.write(t,e),t.read()}}S.RelType=r(71745),e.exports=S},46046:e=>{e.exports='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\n<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"> <a:themeElements> <a:clrScheme name="Office"> <a:dk1> <a:sysClr val="windowText" lastClr="000000"/> </a:dk1> <a:lt1> <a:sysClr val="window" lastClr="FFFFFF"/> </a:lt1> <a:dk2> <a:srgbClr val="1F497D"/> </a:dk2> <a:lt2> <a:srgbClr val="EEECE1"/> </a:lt2> <a:accent1> <a:srgbClr val="4F81BD"/> </a:accent1> <a:accent2> <a:srgbClr val="C0504D"/> </a:accent2> <a:accent3> <a:srgbClr val="9BBB59"/> </a:accent3> <a:accent4> <a:srgbClr val="8064A2"/> </a:accent4> <a:accent5> <a:srgbClr val="4BACC6"/> </a:accent5> <a:accent6> <a:srgbClr val="F79646"/> </a:accent6> <a:hlink> <a:srgbClr val="0000FF"/> </a:hlink> <a:folHlink> <a:srgbClr val="800080"/> </a:folHlink> </a:clrScheme> <a:fontScheme name="Office"> <a:majorFont> <a:latin typeface="Cambria"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Times New Roman"/> <a:font script="Hebr" typeface="Times New Roman"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="MoolBoran"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Times New Roman"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:majorFont> <a:minorFont> <a:latin typeface="Calibri"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface="MS Pゴシック"/> <a:font script="Hang" typeface="맑은 고딕"/> <a:font script="Hans" typeface="宋体"/> <a:font script="Hant" typeface="新細明體"/> <a:font script="Arab" typeface="Arial"/> <a:font script="Hebr" typeface="Arial"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="DaunPenh"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Arial"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:minorFont> </a:fontScheme> <a:fmtScheme name="Office"> <a:fillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="35000"> <a:schemeClr val="phClr"> <a:tint val="37000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="15000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="1"/> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="100000"/> <a:shade val="100000"/> <a:satMod val="130000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:shade val="100000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:lin ang="16200000" scaled="0"/> </a:gradFill> </a:fillStyleLst> <a:lnStyleLst> <a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"> <a:shade val="95000"/> <a:satMod val="105000"/> </a:schemeClr> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> <a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:prstDash val="solid"/> </a:ln> </a:lnStyleLst> <a:effectStyleLst> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="38000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> </a:effectStyle> <a:effectStyle> <a:effectLst> <a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"> <a:srgbClr val="000000"> <a:alpha val="35000"/> </a:srgbClr> </a:outerShdw> </a:effectLst> <a:scene3d> <a:camera prst="orthographicFront"> <a:rot lat="0" lon="0" rev="0"/> </a:camera> <a:lightRig rig="threePt" dir="t"> <a:rot lat="0" lon="0" rev="1200000"/> </a:lightRig> </a:scene3d> <a:sp3d> <a:bevelT w="63500" h="25400"/> </a:sp3d> </a:effectStyle> </a:effectStyleLst> <a:bgFillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="40000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="40000"> <a:schemeClr val="phClr"> <a:tint val="45000"/> <a:shade val="99000"/> <a:satMod val="350000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="20000"/> <a:satMod val="255000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="-80000" r="50000" b="180000"/> </a:path> </a:gradFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="80000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="100000"> <a:schemeClr val="phClr"> <a:shade val="30000"/> <a:satMod val="200000"/> </a:schemeClr> </a:gs> </a:gsLst> <a:path path="circle"> <a:fillToRect l="50000" t="50000" r="50000" b="50000"/> </a:path> </a:gradFill> </a:bgFillStyleLst> </a:fmtScheme> </a:themeElements> <a:objectDefaults> <a:spDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="1"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="3"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="2"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="lt1"/> </a:fontRef> </a:style> </a:spDef> <a:lnDef> <a:spPr/> <a:bodyPr/> <a:lstStyle/> <a:style> <a:lnRef idx="2"> <a:schemeClr val="accent1"/> </a:lnRef> <a:fillRef idx="0"> <a:schemeClr val="accent1"/> </a:fillRef> <a:effectRef idx="1"> <a:schemeClr val="accent1"/> </a:effectRef> <a:fontRef idx="minor"> <a:schemeClr val="tx1"/> </a:fontRef> </a:style> </a:lnDef> </a:objectDefaults> <a:extraClrSchemeLst/> </a:theme>'},67017:(e,t,r)=>{var n=r(63735),i=r(16928),a=r(16308),o=r(40209),s=r(9897),c=r(79001),l=r(53577),u=e.exports={},d=/[\/\\]/g;u.exists=function(){var e=i.join.apply(i,arguments);return n.existsSync(e)},u.expand=function(...e){var t=c(e[0])?e.shift():{},r=Array.isArray(e[0])?e[0]:e;if(0===r.length)return[];var u=function(e,t){var r=[];return a(e).forEach((function(e){var n=0===e.indexOf("!");n&&(e=e.slice(1));var i=t(e);r=n?o(r,i):s(r,i)})),r}(r,(function(e){return l.sync(e,t)}));return t.filter&&(u=u.filter((function(e){e=i.join(t.cwd||"",e);try{return"function"==typeof t.filter?t.filter(e):n.statSync(e)[t.filter]()}catch(e){return!1}}))),u},u.expandMapping=function(e,t,r){r=Object.assign({rename:function(e,t){return i.join(e||"",t)}},r);var n=[],a={};return u.expand(r,e).forEach((function(e){var o=e;r.flatten&&(o=i.basename(o)),r.ext&&(o=o.replace(/(\.[^\/]*)?$/,r.ext));var s=r.rename(t,o,r);r.cwd&&(e=i.join(r.cwd,e)),s=s.replace(d,"/"),e=e.replace(d,"/"),a[s]?a[s].src.push(e):(n.push({src:[e],dest:s}),a[s]=n[n.length-1])})),n},u.normalizeFilesArray=function(e){var t=[];return e.forEach((function(e){("src"in e||"dest"in e)&&t.push(e)})),0===t.length?[]:t=_(t).chain().forEach((function(e){"src"in e&&e.src&&(Array.isArray(e.src)?e.src=a(e.src):e.src=[e.src])})).map((function(e){var t=Object.assign({},e);if(delete t.src,delete t.dest,e.expand)return u.expandMapping(e.src,e.dest,t).map((function(t){var r=Object.assign({},e);return r.orig=Object.assign({},e),r.src=t.src,r.dest=t.dest,["expand","cwd","flatten","rename","ext"].forEach((function(e){delete r[e]})),r}));var r=Object.assign({},e);return r.orig=Object.assign({},e),"src"in r&&Object.defineProperty(r,"src",{enumerable:!0,get:function r(){var n;return"result"in r||(n=e.src,n=Array.isArray(n)?a(n):[n],r.result=u.expand(t,n)),r.result}}),"dest"in r&&(r.dest=e.dest),r})).flatten().value()}},5955:(e,t,r)=>{var n=r(63735),i=r(16928),a=(r(39023),r(85)),o=r(14100),s=r(71676),c=r(2203).Stream,l=r(85756).PassThrough,u=e.exports={};u.file=r(67017),u.collectStream=function(e,t){var r=[],n=0;e.on("error",t),e.on("data",(function(e){r.push(e),n+=e.length})),e.on("end",(function(){var e=new Buffer(n),i=0;r.forEach((function(t){t.copy(e,i),i+=t.length})),t(null,e)}))},u.dateify=function(e){return(e=e||new Date)instanceof Date||(e="string"==typeof e?new Date(e):new Date),e},u.defaults=function(e,t,r){var n=arguments;return n[0]=n[0]||{},s(...n)},u.isStream=function(e){return e instanceof c},u.lazyReadStream=function(e){return new a.Readable((function(){return n.createReadStream(e)}))},u.normalizeInputSource=function(e){if(null===e)return new Buffer(0);if("string"==typeof e)return new Buffer(e);if(u.isStream(e)&&!e._readableState){var t=new l;return e.pipe(t),t}return e},u.sanitizePath=function(e){return o(e,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")},u.trailingSlashIt=function(e){return"/"!==e.slice(-1)?e+"/":e},u.unixifyPath=function(e){return o(e,!1).replace(/^\w+:/,"")},u.walkdir=function(e,t,r){var a=[];"function"==typeof t&&(r=t,t=e),n.readdir(e,(function(o,s){var c,l,d=0;if(o)return r(o);!function o(){if(!(c=s[d++]))return r(null,a);l=i.join(e,c),n.stat(l,(function(e,r){a.push({path:l,relative:i.relative(t,l).replace(/\\/g,"/"),stats:r}),r&&r.isDirectory()?u.walkdir(l,t,(function(e,t){t.forEach((function(e){a.push(e)})),o()})):o()}))}()}))}},89196:(e,t,r)=>{"use strict";var n=r(33225),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=d;var a=Object.create(r(15622));a.inherits=r(72017);var o=r(14418),s=r(43462);a.inherits(d,o);for(var c=i(s.prototype),l=0;l<c.length;l++){var u=c[l];d.prototype[u]||(d.prototype[u]=s.prototype[u])}function d(e){if(!(this instanceof d))return new d(e);o.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",p)}function p(){this.allowHalfOpen||this._writableState.ended||n.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),d.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},61526:(e,t,r)=>{"use strict";e.exports=a;var n=r(42540),i=Object.create(r(15622));function a(e){if(!(this instanceof a))return new a(e);n.call(this,e)}i.inherits=r(72017),i.inherits(a,n),a.prototype._transform=function(e,t,r){r(null,e)}},14418:(e,t,r)=>{"use strict";var n=r(33225);e.exports=y;var i,a=r(64634);y.ReadableState=h;r(24434).EventEmitter;var o=function(e,t){return e.listeners(t).length},s=r(15426),c=r(92861).Buffer,l=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u=Object.create(r(15622));u.inherits=r(72017);var d=r(39023),p=void 0;p=d&&d.debuglog?d.debuglog("stream"):function(){};var f,m=r(78740),g=r(99426);u.inherits(y,s);var _=["error","close","destroy","pause","resume"];function h(e,t){e=e||{};var n=t instanceof(i=i||r(89196));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var a=e.highWaterMark,o=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=a||0===a?a:n&&(o||0===o)?o:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=r(83141).I),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function y(e){if(i=i||r(89196),!(this instanceof y))return new y(e);this._readableState=new h(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function v(e,t,r,n,i){var a,o=e._readableState;null===t?(o.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,E(e)}(e,o)):(i||(a=function(e,t){var r;n=t,c.isBuffer(n)||n instanceof l||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(o,t)),a?e.emit("error",a):o.objectMode||t&&t.length>0?("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),n?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):b(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||0!==t.length?b(e,o,t,!1):D(e,o)):b(e,o,t,!1))):n||(o.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(o)}function b(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&E(e)),D(e,t)}Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),y.prototype.destroy=g.destroy,y.prototype._undestroy=g.undestroy,y.prototype._destroy=function(e,t){this.push(null),t(e)},y.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=c.from(e,t),t=""),r=!0),v(this,e,t,!1,r)},y.prototype.unshift=function(e){return v(this,e,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(e){return f||(f=r(83141).I),this._readableState.decoder=new f(e),this._readableState.encoding=e,this};var k=8388608;function x(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=k?e=k:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function E(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(p("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?n.nextTick(S,e):S(e))}function S(e){p("emit readable"),e.emit("readable"),A(e)}function D(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(w,e,t))}function w(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(p("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function T(e){p("readable nexttick read 0"),e.read(0)}function C(e,t){t.reading||(p("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),A(e),t.flowing&&!t.reading&&e.read(0)}function A(e){var t=e._readableState;for(p("flow",t.flowing);t.flowing&&null!==e.read(););}function N(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,i=r.data;e-=i.length;for(;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),0===(e-=o)){o===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=c.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var a=n.data,o=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,o),0===(e-=o)){o===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(o));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function P(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,n.nextTick(I,t,e))}function I(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function F(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}y.prototype.read=function(e){p("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return p("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?P(this):E(this),null;if(0===(e=x(e,t))&&t.ended)return 0===t.length&&P(this),null;var n,i=t.needReadable;return p("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&p("length less than watermark",i=!0),t.ended||t.reading?p("reading or ended",i=!1):i&&(p("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=x(r,t))),null===(n=e>0?N(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&P(this)),null!==n&&this.emit("data",n),n},y.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,p("pipe count=%d opts=%j",i.pipesCount,t);var s=(!t||!1!==t.end)&&e!==process.stdout&&e!==process.stderr?l:y;function c(t,n){p("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,p("cleanup"),e.removeListener("close",_),e.removeListener("finish",h),e.removeListener("drain",u),e.removeListener("error",g),e.removeListener("unpipe",c),r.removeListener("end",l),r.removeListener("end",y),r.removeListener("data",m),d=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function l(){p("onend"),e.end()}i.endEmitted?n.nextTick(s):r.once("end",s),e.on("unpipe",c);var u=function(e){return function(){var t=e._readableState;p("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,A(e))}}(r);e.on("drain",u);var d=!1;var f=!1;function m(t){p("ondata"),f=!1,!1!==e.write(t)||f||((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==F(i.pipes,e))&&!d&&(p("false write response, pause",i.awaitDrain),i.awaitDrain++,f=!0),r.pause())}function g(t){p("onerror",t),y(),e.removeListener("error",g),0===o(e,"error")&&e.emit("error",t)}function _(){e.removeListener("finish",h),y()}function h(){p("onfinish"),e.removeListener("close",_),y()}function y(){p("unpipe"),r.unpipe(e)}return r.on("data",m),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",g),e.once("close",_),e.once("finish",h),e.emit("pipe",r),i.flowing||(p("pipe resume"),r.resume()),e},y.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=F(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},y.prototype.on=function(e,t){var r=s.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var i=this._readableState;i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.emittedReadable=!1,i.reading?i.length&&E(this):n.nextTick(T,this))}return r},y.prototype.addListener=y.prototype.on,y.prototype.resume=function(){var e=this._readableState;return e.flowing||(p("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(C,e,t))}(this,e)),this},y.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this},y.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(p("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(p("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<_.length;a++)e.on(_[a],this.emit.bind(this,_[a]));return this._read=function(t){p("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),y._fromList=N},42540:(e,t,r)=>{"use strict";e.exports=o;var n=r(89196),i=Object.create(r(15622));function a(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);n.call(this,e),this._transformState={afterTransform:a.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"==typeof this._flush?this._flush((function(t,r){c(e,t,r)})):c(this,null,null)}function c(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=r(72017),i.inherits(o,n),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},o.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,(function(e){t(e),r.emit("close")}))}},43462:(e,t,r)=>{"use strict";var n=r(33225);function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}e.exports=_;var a,o=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:n.nextTick;_.WritableState=g;var s=Object.create(r(15622));s.inherits=r(72017);var c={deprecate:r(27983)},l=r(15426),u=r(92861).Buffer,d=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var p,f=r(99426);function m(){}function g(e,t){a=a||r(89196),e=e||{};var s=t instanceof a;this.objectMode=!!e.objectMode,s&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var c=e.highWaterMark,l=e.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=c||0===c?c:s&&(l||0===l)?l:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var d=!1===e.decodeStrings;this.decodeStrings=!d,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,i=r.sync,a=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,i,a){--t.pendingcb,r?(n.nextTick(a,i),n.nextTick(x,e,t),e._writableState.errorEmitted=!0,e.emit("error",i)):(a(i),e._writableState.errorEmitted=!0,e.emit("error",i),x(e,t))}(e,r,i,t,a);else{var s=b(r);s||r.corked||r.bufferProcessing||!r.bufferedRequest||v(e,r),i?o(y,e,r,s,a):y(e,r,s,a)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function _(e){if(a=a||r(89196),!(p.call(_,this)||this instanceof a))return new _(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),l.call(this)}function h(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function y(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),x(e,t)}function v(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,a=new Array(n),o=t.corkedRequestsFree;o.entry=r;for(var s=0,c=!0;r;)a[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;a.allBuffers=c,h(e,t,!0,t.length,a,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,u=r.encoding,d=r.callback;if(h(e,t,!1,t.objectMode?1:l.length,l,u,d),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function b(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),x(e,t)}))}function x(e,t){var r=b(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,n.nextTick(k,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}s.inherits(_,l),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(_,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===_&&(e&&e._writableState instanceof g)}})):p=function(e){return e instanceof this},_.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},_.prototype.write=function(e,t,r){var i,a=this._writableState,o=!1,s=!a.objectMode&&(i=e,u.isBuffer(i)||i instanceof d);return s&&!u.isBuffer(e)&&(e=function(e){return u.from(e)}(e)),"function"==typeof t&&(r=t,t=null),s?t="buffer":t||(t=a.defaultEncoding),"function"!=typeof r&&(r=m),a.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),n.nextTick(t,r)}(this,r):(s||function(e,t,r,i){var a=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),n.nextTick(i,o),a=!1),a}(this,a,e,r))&&(a.pendingcb++,o=function(e,t,r,n,i,a){if(!r){var o=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=u.from(t,r));return t}(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=t.objectMode?1:n.length;t.length+=s;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else h(e,t,!1,s,n,i,a);return c}(this,a,s,e,t,r)),o},_.prototype.cork=function(){this._writableState.corked++},_.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||v(this,e))},_.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(_.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),_.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},_.prototype._writev=null,_.prototype.end=function(e,t,r){var i=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,r){t.ending=!0,x(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,i,r)},Object.defineProperty(_.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),_.prototype.destroy=f.destroy,_.prototype._undestroy=f.undestroy,_.prototype._destroy=function(e,t){this.end(),t(e)}},78740:(e,t,r)=>{"use strict";var n=r(92861).Buffer,i=r(39023);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);for(var t,r,i,a=n.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,r=a,i=s,t.copy(r,i),s+=o.data.length,o=o.next;return a},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},99426:(e,t,r)=>{"use strict";var n=r(33225);function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,a=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return a||o?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(i,this,e)):n.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,n.nextTick(i,r,e)):n.nextTick(i,r,e):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},15426:(e,t,r)=>{e.exports=r(2203)},85756:(e,t,r)=>{var n=r(2203);"disable"===process.env.READABLE_STREAM&&n?(e.exports=n,(t=e.exports=n.Readable).Readable=n.Readable,t.Writable=n.Writable,t.Duplex=n.Duplex,t.Transform=n.Transform,t.PassThrough=n.PassThrough,t.Stream=n):((t=e.exports=r(14418)).Stream=n||t,t.Readable=t,t.Writable=r(43462),t.Duplex=r(89196),t.Transform=r(42540),t.PassThrough=r(61526))},10711:(e,t,r)=>{
19 var n=r(79896),i=r(76965),a=r(22268),o=r(16928),s=r(5955),c=r(39023).inherits,l=r(3253),u=r(34198).Transform,d="win32"===process.platform,p=function(e,t){if(!(this instanceof p))return new p(e,t);"string"!=typeof e&&(t=e,e="zip"),t=this.options=s.defaults(t,{highWaterMark:1048576,statConcurrency:4}),u.call(this,t),this._format=!1,this._module=!1,this._pending=0,this._pointer=0,this._entriesCount=0,this._entriesProcessedCount=0,this._fsEntriesTotalBytes=0,this._fsEntriesProcessedBytes=0,this._queue=a.queue(this._onQueueTask.bind(this),1),this._queue.drain(this._onQueueDrain.bind(this)),this._statQueue=a.queue(this._onStatQueueTask.bind(this),t.statConcurrency),this._statQueue.drain(this._onQueueDrain.bind(this)),this._state={aborted:!1,finalize:!1,finalizing:!1,finalized:!1,modulePiped:!1},this._streams=[]};c(p,u),p.prototype._abort=function(){this._state.aborted=!0,this._queue.kill(),this._statQueue.kill(),this._queue.idle()&&this._shutdown()},p.prototype._append=function(e,t){var r={source:null,filepath:e};(t=t||{}).name||(t.name=e),t.sourcePath=e,r.data=t,this._entriesCount++,t.stats&&t.stats instanceof n.Stats?(r=this._updateQueueTaskWithStats(r,t.stats))&&(t.stats.size&&(this._fsEntriesTotalBytes+=t.stats.size),this._queue.push(r)):this._statQueue.push(r)},p.prototype._finalize=function(){this._state.finalizing||this._state.finalized||this._state.aborted||(this._state.finalizing=!0,this._moduleFinalize(),this._state.finalizing=!1,this._state.finalized=!0)},p.prototype._maybeFinalize=function(){return!(this._state.finalizing||this._state.finalized||this._state.aborted)&&(!!(this._state.finalize&&0===this._pending&&this._queue.idle()&&this._statQueue.idle())&&(this._finalize(),!0))},p.prototype._moduleAppend=function(e,t,r){this._state.aborted?r():this._module.append(e,t,function(e){if(this._task=null,this._state.aborted)this._shutdown();else{if(e)return this.emit("error",e),void setImmediate(r);this.emit("entry",t),this._entriesProcessedCount++,t.stats&&t.stats.size&&(this._fsEntriesProcessedBytes+=t.stats.size),this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}}),setImmediate(r)}}.bind(this))},p.prototype._moduleFinalize=function(){"function"==typeof this._module.finalize?this._module.finalize():"function"==typeof this._module.end?this._module.end():this.emit("error",new l("NOENDMETHOD"))},p.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this)),this._module.pipe(this),this._state.modulePiped=!0},p.prototype._moduleSupports=function(e){return!(!this._module.supports||!this._module.supports[e])&&this._module.supports[e]},p.prototype._moduleUnpipe=function(){this._module.unpipe(this),this._state.modulePiped=!1},p.prototype._normalizeEntryData=function(e,t){e=s.defaults(e,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:!1}),t&&!1===e.stats&&(e.stats=t);var r="directory"===e.type;return e.name&&("string"==typeof e.prefix&&""!==e.prefix&&(e.name=e.prefix+"/"+e.name,e.prefix=null),e.name=s.sanitizePath(e.name),"symlink"!==e.type&&"/"===e.name.slice(-1)?(r=!0,e.type="directory"):r&&(e.name+="/")),"number"==typeof e.mode?e.mode&=d?511:4095:e.stats&&null===e.mode?(e.mode=d?511&e.stats.mode:4095&e.stats.mode,d&&r&&(e.mode=493)):null===e.mode&&(e.mode=r?493:420),e.stats&&null===e.date?e.date=e.stats.mtime:e.date=s.dateify(e.date),e},p.prototype._onModuleError=function(e){this.emit("error",e)},p.prototype._onQueueDrain=function(){this._state.finalizing||this._state.finalized||this._state.aborted||this._state.finalize&&0===this._pending&&this._queue.idle()&&this._statQueue.idle()&&this._finalize()},p.prototype._onQueueTask=function(e,t){var r=()=>{e.data.callback&&e.data.callback(),t()};this._state.finalizing||this._state.finalized||this._state.aborted?r():(this._task=e,this._moduleAppend(e.source,e.data,r))},p.prototype._onStatQueueTask=function(e,t){this._state.finalizing||this._state.finalized||this._state.aborted?t():n.lstat(e.filepath,function(r,n){if(this._state.aborted)setImmediate(t);else{if(r)return this._entriesCount--,this.emit("warning",r),void setImmediate(t);(e=this._updateQueueTaskWithStats(e,n))&&(n.size&&(this._fsEntriesTotalBytes+=n.size),this._queue.push(e)),setImmediate(t)}}.bind(this))},p.prototype._shutdown=function(){this._moduleUnpipe(),this.end()},p.prototype._transform=function(e,t,r){e&&(this._pointer+=e.length),r(null,e)},p.prototype._updateQueueTaskWithStats=function(e,t){if(t.isFile())e.data.type="file",e.data.sourceType="stream",e.source=s.lazyReadStream(e.filepath);else if(t.isDirectory()&&this._moduleSupports("directory"))e.data.name=s.trailingSlashIt(e.data.name),e.data.type="directory",e.data.sourcePath=s.trailingSlashIt(e.filepath),e.data.sourceType="buffer",e.source=Buffer.concat([]);else{if(!t.isSymbolicLink()||!this._moduleSupports("symlink"))return t.isDirectory()?this.emit("warning",new l("DIRECTORYNOTSUPPORTED",e.data)):t.isSymbolicLink()?this.emit("warning",new l("SYMLINKNOTSUPPORTED",e.data)):this.emit("warning",new l("ENTRYNOTSUPPORTED",e.data)),null;var r=n.readlinkSync(e.filepath),i=o.dirname(e.filepath);e.data.type="symlink",e.data.linkname=o.relative(i,o.resolve(i,r)),e.data.sourceType="buffer",e.source=Buffer.concat([])}return e.data=this._normalizeEntryData(e.data,t),e},p.prototype.abort=function(){return this._state.aborted||this._state.finalized||this._abort(),this},p.prototype.append=function(e,t){if(this._state.finalize||this._state.aborted)return this.emit("error",new l("QUEUECLOSED")),this;if("string"!=typeof(t=this._normalizeEntryData(t)).name||0===t.name.length)return this.emit("error",new l("ENTRYNAMEREQUIRED")),this;if("directory"===t.type&&!this._moduleSupports("directory"))return this.emit("error",new l("DIRECTORYNOTSUPPORTED",{name:t.name})),this;if(e=s.normalizeInputSource(e),Buffer.isBuffer(e))t.sourceType="buffer";else{if(!s.isStream(e))return this.emit("error",new l("INPUTSTEAMBUFFERREQUIRED",{name:t.name})),this;t.sourceType="stream"}return this._entriesCount++,this._queue.push({data:t,source:e}),this},p.prototype.directory=function(e,t,r){if(this._state.finalize||this._state.aborted)return this.emit("error",new l("QUEUECLOSED")),this;if("string"!=typeof e||0===e.length)return this.emit("error",new l("DIRECTORYDIRPATHREQUIRED")),this;this._pending++,!1===t?t="":"string"!=typeof t&&(t=e);var n=!1;"function"==typeof r?(n=r,r={}):"object"!=typeof r&&(r={});var a=i(e,{stat:!0,dot:!0});return a.on("error",function(e){this.emit("error",e)}.bind(this)),a.on("match",function(i){a.pause();var o=!1,s=Object.assign({},r);s.name=i.relative,s.prefix=t,s.stats=i.stat,s.callback=a.resume.bind(a);try{if(n)if(!1===(s=n(s)))o=!0;else if("object"!=typeof s)throw new l("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:e})}catch(e){return void this.emit("error",e)}o?a.resume():this._append(i.absolute,s)}.bind(this)),a.on("end",function(){this._pending--,this._maybeFinalize()}.bind(this)),this},p.prototype.file=function(e,t){return this._state.finalize||this._state.aborted?(this.emit("error",new l("QUEUECLOSED")),this):"string"!=typeof e||0===e.length?(this.emit("error",new l("FILEFILEPATHREQUIRED")),this):(this._append(e,t),this)},p.prototype.glob=function(e,t,r){this._pending++,t=s.defaults(t,{stat:!0,pattern:e});var n=i(t.cwd||".",t);return n.on("error",function(e){this.emit("error",e)}.bind(this)),n.on("match",function(e){n.pause();var t=Object.assign({},r);t.callback=n.resume.bind(n),t.stats=e.stat,t.name=e.relative,this._append(e.absolute,t)}.bind(this)),n.on("end",function(){this._pending--,this._maybeFinalize()}.bind(this)),this},p.prototype.finalize=function(){if(this._state.aborted){var e=new l("ABORTED");return this.emit("error",e),Promise.reject(e)}if(this._state.finalize){var t=new l("FINALIZING");return this.emit("error",t),Promise.reject(t)}this._state.finalize=!0,0===this._pending&&this._queue.idle()&&this._statQueue.idle()&&this._finalize();var r=this;return new Promise((function(e,t){var n;r._module.on("end",(function(){n||e()})),r._module.on("error",(function(e){n=!0,t(e)}))}))},p.prototype.setFormat=function(e){return this._format?(this.emit("error",new l("FORMATSET")),this):(this._format=e,this)},p.prototype.setModule=function(e){return this._state.aborted?(this.emit("error",new l("ABORTED")),this):this._state.module?(this.emit("error",new l("MODULESET")),this):(this._module=e,this._modulePipe(),this)},p.prototype.symlink=function(e,t,r){if(this._state.finalize||this._state.aborted)return this.emit("error",new l("QUEUECLOSED")),this;if("string"!=typeof e||0===e.length)return this.emit("error",new l("SYMLINKFILEPATHREQUIRED")),this;if("string"!=typeof t||0===t.length)return this.emit("error",new l("SYMLINKTARGETREQUIRED",{filepath:e})),this;if(!this._moduleSupports("symlink"))return this.emit("error",new l("SYMLINKNOTSUPPORTED",{filepath:e})),this;var n={type:"symlink"};return n.name=e.replace(/\\/g,"/"),n.linkname=t.replace(/\\/g,"/"),n.sourceType="buffer","number"==typeof r&&(n.mode=r),this._entriesCount++,this._queue.push({data:n,source:Buffer.concat([])}),this},p.prototype.pointer=function(){return this._pointer},p.prototype.use=function(e){return this._streams.push(e),this},e.exports=p},3253:(e,t,r)=>{
59 var n=r(39023).inherits,i=r(95305).ZipArchiveOutputStream,a=r(95305).ZipArchiveEntry,o=r(43029),s=e.exports=function(e){if(!(this instanceof s))return new s(e);(e=this.options=e||{}).zlib=e.zlib||{},i.call(this,e),"number"==typeof e.level&&e.level>=0&&(e.zlib.level=e.level,delete e.level),e.forceZip64||"number"!=typeof e.zlib.level||0!==e.zlib.level||(e.store=!0),e.namePrependSlash=e.namePrependSlash||!1,e.comment&&e.comment.length>0&&this.setComment(e.comment)};n(s,i),s.prototype._normalizeFileData=function(e){var t="directory"===(e=o.defaults(e,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""})).type,r="symlink"===e.type;return e.name&&(e.name=o.sanitizePath(e.name),r||"/"!==e.name.slice(-1)?t&&(e.name+="/"):(t=!0,e.type="directory")),(t||r)&&(e.store=!0),e.date=o.dateify(e.date),e},s.prototype.entry=function(e,t,r){if("function"!=typeof r&&(r=this._emitErrorCallback.bind(this)),"file"===(t=this._normalizeFileData(t)).type||"directory"===t.type||"symlink"===t.type)if("string"==typeof t.name&&0!==t.name.length){if("symlink"!==t.type||"string"==typeof t.linkname){var n=new a(t.name);return n.setTime(t.date,this.options.forceLocalTime),t.namePrependSlash&&n.setName(t.name,!0),t.store&&n.setMethod(0),t.comment.length>0&&n.setComment(t.comment),"symlink"===t.type&&"number"!=typeof t.mode&&(t.mode=40960),"number"==typeof t.mode&&("symlink"===t.type&&(t.mode|=40960),n.setUnixMode(t.mode)),"symlink"===t.type&&"string"==typeof t.linkname&&(e=Buffer.from(t.linkname)),i.prototype.entry.call(this,n,e,r)}r(new Error("entry linkname must be a non-empty string value when type equals symlink"))}else r(new Error("entry name must be a non-empty string value"));else r(new Error(t.type+" entries not currently supported"))},s.prototype.finalize=function(){this.finish()}},81695:(e,t,r)=>{var n=r(63735),i=r(16928),a=r(16308),o=r(40209),s=r(9897),c=r(79001),l=r(53577),u=e.exports={},d=/[\/\\]/g;u.exists=function(){var e=i.join.apply(i,arguments);return n.existsSync(e)},u.expand=function(...e){var t=c(e[0])?e.shift():{},r=Array.isArray(e[0])?e[0]:e;if(0===r.length)return[];var u=function(e,t){var r=[];return a(e).forEach((function(e){var n=0===e.indexOf("!");n&&(e=e.slice(1));var i=t(e);r=n?o(r,i):s(r,i)})),r}(r,(function(e){return l.sync(e,t)}));return t.filter&&(u=u.filter((function(e){e=i.join(t.cwd||"",e);try{return"function"==typeof t.filter?t.filter(e):n.statSync(e)[t.filter]()}catch(e){return!1}}))),u},u.expandMapping=function(e,t,r){r=Object.assign({rename:function(e,t){return i.join(e||"",t)}},r);var n=[],a={};return u.expand(r,e).forEach((function(e){var o=e;r.flatten&&(o=i.basename(o)),r.ext&&(o=o.replace(/(\.[^\/]*)?$/,r.ext));var s=r.rename(t,o,r);r.cwd&&(e=i.join(r.cwd,e)),s=s.replace(d,"/"),e=e.replace(d,"/"),a[s]?a[s].src.push(e):(n.push({src:[e],dest:s}),a[s]=n[n.length-1])})),n},u.normalizeFilesArray=function(e){var t=[];return e.forEach((function(e){("src"in e||"dest"in e)&&t.push(e)})),0===t.length?[]:t=_(t).chain().forEach((function(e){"src"in e&&e.src&&(Array.isArray(e.src)?e.src=a(e.src):e.src=[e.src])})).map((function(e){var t=Object.assign({},e);if(delete t.src,delete t.dest,e.expand)return u.expandMapping(e.src,e.dest,t).map((function(t){var r=Object.assign({},e);return r.orig=Object.assign({},e),r.src=t.src,r.dest=t.dest,["expand","cwd","flatten","rename","ext"].forEach((function(e){delete r[e]})),r}));var r=Object.assign({},e);return r.orig=Object.assign({},e),"src"in r&&Object.defineProperty(r,"src",{enumerable:!0,get:function r(){var n;return"result"in r||(n=e.src,n=Array.isArray(n)?a(n):[n],r.result=u.expand(t,n)),r.result}}),"dest"in r&&(r.dest=e.dest),r})).flatten().value()}},43029:(e,t,r)=>{var n=r(63735),i=r(16928),a=r(85),o=r(14100),s=r(71676),c=r(2203).Stream,l=r(34198).PassThrough,u=e.exports={};u.file=r(81695),u.collectStream=function(e,t){var r=[],n=0;e.on("error",t),e.on("data",(function(e){r.push(e),n+=e.length})),e.on("end",(function(){var e=Buffer.alloc(n),i=0;r.forEach((function(t){t.copy(e,i),i+=t.length})),t(null,e)}))},u.dateify=function(e){return(e=e||new Date)instanceof Date||(e="string"==typeof e?new Date(e):new Date),e},u.defaults=function(e,t,r){var n=arguments;return n[0]=n[0]||{},s(...n)},u.isStream=function(e){return e instanceof c},u.lazyReadStream=function(e){return new a.Readable((function(){return n.createReadStream(e)}))},u.normalizeInputSource=function(e){return null===e?Buffer.alloc(0):"string"==typeof e?Buffer.from(e):u.isStream(e)?e.pipe(new l):e},u.sanitizePath=function(e){return o(e,!1).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")},u.trailingSlashIt=function(e){return"/"!==e.slice(-1)?e+"/":e},u.unixifyPath=function(e){return o(e,!1).replace(/^\w+:/,"")},u.walkdir=function(e,t,r){var a=[];"function"==typeof t&&(r=t,t=e),n.readdir(e,(function(o,s){var c,l,d=0;if(o)return r(o);!function o(){if(!(c=s[d++]))return r(null,a);l=i.join(e,c),n.stat(l,(function(e,r){a.push({path:l,relative:i.relative(t,l).replace(/\\/g,"/"),stats:r}),r&&r.isDirectory()?u.walkdir(l,t,(function(e,t){t.forEach((function(e){a.push(e)})),o()})):o()}))}()}))}},67808:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CsvParserStream=t.ParserOptions=t.parseFile=t.parseStream=t.parseString=t.parse=t.FormatterOptions=t.CsvFormatterStream=t.writeToPath=t.writeToString=t.writeToBuffer=t.writeToStream=t.write=t.format=void 0;var n=r(1696);Object.defineProperty(t,"format",{enumerable:!0,get:function(){return n.format}}),Object.defineProperty(t,"write",{enumerable:!0,get:function(){return n.write}}),Object.defineProperty(t,"writeToStream",{enumerable:!0,get:function(){return n.writeToStream}}),Object.defineProperty(t,"writeToBuffer",{enumerable:!0,get:function(){return n.writeToBuffer}}),Object.defineProperty(t,"writeToString",{enumerable:!0,get:function(){return n.writeToString}}),Object.defineProperty(t,"writeToPath",{enumerable:!0,get:function(){return n.writeToPath}}),Object.defineProperty(t,"CsvFormatterStream",{enumerable:!0,get:function(){return n.CsvFormatterStream}}),Object.defineProperty(t,"FormatterOptions",{enumerable:!0,get:function(){return n.FormatterOptions}});var i=r(77190);Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return i.parse}}),Object.defineProperty(t,"parseString",{enumerable:!0,get:function(){return i.parseString}}),Object.defineProperty(t,"parseStream",{enumerable:!0,get:function(){return i.parseStream}}),Object.defineProperty(t,"parseFile",{enumerable:!0,get:function(){return i.parseFile}}),Object.defineProperty(t,"ParserOptions",{enumerable:!0,get:function(){return i.ParserOptions}}),Object.defineProperty(t,"CsvParserStream",{enumerable:!0,get:function(){return i.CsvParserStream}})},72170:(e,t,r)=>{e.exports=r(79896).constants||r(49140)},61455:(e,t,r)=>{e.exports=u,u.realpath=u,u.sync=d,u.realpathSync=d,u.monkeypatch=function(){n.realpath=u,n.realpathSync=d},u.unmonkeypatch=function(){n.realpath=i,n.realpathSync=a};var n=r(79896),i=n.realpath,a=n.realpathSync,o=process.version,s=/^v[0-5]\./.test(o),c=r(46674);function l(e){return e&&"realpath"===e.syscall&&("ELOOP"===e.code||"ENOMEM"===e.code||"ENAMETOOLONG"===e.code)}function u(e,t,r){if(s)return i(e,t,r);"function"==typeof t&&(r=t,t=null),i(e,t,(function(n,i){l(n)?c.realpath(e,t,r):r(n,i)}))}function d(e,t){if(s)return a(e,t);try{return a(e,t)}catch(r){if(l(r))return c.realpathSync(e,t);throw r}}},46674:(e,t,r)=>{var n=r(16928),i="win32"===process.platform,a=r(79896),o=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function s(e){return"function"==typeof e?e:function(){var e;if(o){var t=new Error;e=function(e){e&&(t.message=e.message,r(e=t))}}else e=r;return e;function r(e){if(e){if(process.throwDeprecation)throw e;if(!process.noDeprecation){var t="fs: missing callback "+(e.stack||e.message);process.traceDeprecation?console.trace(t):console.error(t)}}}}()}n.normalize;if(i)var c=/(.*?)(?:[\/\\]+|$)/g;else c=/(.*?)(?:[\/]+|$)/g;if(i)var l=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else l=/^[\/]*/;t.realpathSync=function(e,t){if(e=n.resolve(e),t&&Object.prototype.hasOwnProperty.call(t,e))return t[e];var r,o,s,u,d=e,p={},f={};function m(){var t=l.exec(e);r=t[0].length,o=t[0],s=t[0],u="",i&&!f[s]&&(a.lstatSync(s),f[s]=!0)}for(m();r<e.length;){c.lastIndex=r;var g=c.exec(e);if(u=o,o+=g[0],s=u+g[1],r=c.lastIndex,!(f[s]||t&&t[s]===s)){var _;if(t&&Object.prototype.hasOwnProperty.call(t,s))_=t[s];else{var h=a.lstatSync(s);if(!h.isSymbolicLink()){f[s]=!0,t&&(t[s]=s);continue}var y=null;if(!i){var v=h.dev.toString(32)+":"+h.ino.toString(32);p.hasOwnProperty(v)&&(y=p[v])}null===y&&(a.statSync(s),y=a.readlinkSync(s)),_=n.resolve(u,y),t&&(t[s]=_),i||(p[v]=y)}e=n.resolve(_,e.slice(r)),m()}}return t&&(t[d]=e),e},t.realpath=function(e,t,r){if("function"!=typeof r&&(r=s(t),t=null),e=n.resolve(e),t&&Object.prototype.hasOwnProperty.call(t,e))return process.nextTick(r.bind(null,null,t[e]));var o,u,d,p,f=e,m={},g={};function _(){var t=l.exec(e);o=t[0].length,u=t[0],d=t[0],p="",i&&!g[d]?a.lstat(d,(function(e){if(e)return r(e);g[d]=!0,h()})):process.nextTick(h)}function h(){if(o>=e.length)return t&&(t[f]=e),r(null,e);c.lastIndex=o;var n=c.exec(e);return p=u,u+=n[0],d=p+n[1],o=c.lastIndex,g[d]||t&&t[d]===d?process.nextTick(h):t&&Object.prototype.hasOwnProperty.call(t,d)?b(t[d]):a.lstat(d,y)}function y(e,n){if(e)return r(e);if(!n.isSymbolicLink())return g[d]=!0,t&&(t[d]=d),process.nextTick(h);if(!i){var o=n.dev.toString(32)+":"+n.ino.toString(32);if(m.hasOwnProperty(o))return v(null,m[o],d)}a.stat(d,(function(e){if(e)return r(e);a.readlink(d,(function(e,t){i||(m[o]=t),v(e,t)}))}))}function v(e,i,a){if(e)return r(e);var o=n.resolve(p,i);t&&(t[a]=o),b(o)}function b(t){e=n.resolve(t,e.slice(o)),_()}_()}},41723:(e,t,r)=>{r(40983),r(13942),t.Writer=r(89510),t.ZH={Reader:r(64315),Writer:r(37291)},t.ig={Reader:r(61468),Writer:r(75064)},t.N_={Reader:r(65657),Writer:r(55509)},t.by={Reader:r(58349),Writer:r(67225)},t.ig.Reader,t.ZH.Reader,t.N_.Reader,t.by.Reader,t.Writer.Dir=t.ig.Writer,t.Writer.File=t.ZH.Writer,t.Writer.Link=t.N_.Writer,t.Writer.Proxy=t.by.Writer,r(65243)},40983:(e,t,r)=>{e.exports=i;var n=r(2203).Stream;function i(){n.call(this)}function a(e,t,r){return e instanceof Error||(e=new Error(e)),e.code=e.code||t,e.path=e.path||r.path,e.fstream_type=e.fstream_type||r.type,e.fstream_path=e.fstream_path||r.path,r._path!==r.path&&(e.fstream_unc_path=e.fstream_unc_path||r._path),r.linkpath&&(e.fstream_linkpath=e.fstream_linkpath||r.linkpath),e.fstream_class=e.fstream_class||r.constructor.name,e.fstream_stack=e.fstream_stack||(new Error).stack.split(/\n/).slice(3).map((function(e){return e.replace(/^ {4}at /,"")})),e}r(72017)(i,n),i.prototype.on=function(e,t){return"ready"===e&&this.ready?process.nextTick(t.bind(this)):n.prototype.on.call(this,e,t),this},i.prototype.abort=function(){this._aborted=!0,this.emit("abort")},i.prototype.destroy=function(){},i.prototype.warn=function(e,t){var r=this,n=a(e,t,r);r.listeners("warn")?r.emit("warn",n):console.error("%s %s\npath = %s\nsyscall = %s\nfstream_type = %s\nfstream_path = %s\nfstream_unc_path = %s\nfstream_class = %s\nfstream_stack =\n%s\n",t||"UNKNOWN",n.stack,n.path,n.syscall,n.fstream_type,n.fstream_path,n.fstream_unc_path,n.fstream_class,n.fstream_stack.join("\n"))},i.prototype.info=function(e,t){this.emit("info",e,t)},i.prototype.error=function(e,t,r){var n=a(e,t,this);if(r)throw n;this.emit("error",n)}},65243:e=>{e.exports=function e(t){if(t._collected)return;if(t._paused)return t.on("resume",e.bind(null,t));t._collected=!0,t.pause(),t.on("data",n),t.on("end",n);var r=[];function n(e){"string"==typeof e&&(e=new Buffer(e)),Buffer.isBuffer(e)&&!e.length||r.push(e)}t.on("entry",a);var i=[];function a(t){e(t),i.push(t)}t.on("proxy",(function(e){e.pause()})),t.pipe=(o=t.pipe,function(e){var s=0;return function c(){var l=i[s++];if(!l)return t.removeListener("entry",a),t.removeListener("data",n),t.removeListener("end",n),t.pipe=o,e&&t.pipe(e),r.forEach((function(e){e?t.emit("data",e):t.emit("end")})),void t.resume();l.on("end",c),e?e.add(l):t.emit("entry",l)}(),e});var o}},61468:(e,t,r)=>{e.exports=c;var n=r(63735),i=r(72017),a=r(16928),o=r(13942),s=r(42613).ok;function c(e){var t=this;if(!(t instanceof c))throw new Error("DirReader must be called as constructor.");if("Directory"!==e.type||!e.Directory)throw new Error("Non-directory type "+e.type);t.entries=null,t._index=-1,t._paused=!1,t._length=-1,e.sort&&(this.sort=e.sort),o.call(this,e)}i(c,o),c.prototype._getEntries=function(){var e=this;e._gotEntries||(e._gotEntries=!0,n.readdir(e._path,(function(t,r){if(t)return e.error(t);function n(){e._length=e.entries.length,"function"==typeof e.sort&&(e.entries=e.entries.sort(e.sort.bind(e))),e._read()}e.entries=r,e.emit("entries",r),e._paused?e.once("resume",n):n()})))},c.prototype._read=function(){var e=this;if(!e.entries)return e._getEntries();if(!(e._paused||e._currentEntry||e._aborted))if(e._index++,e._index>=e.entries.length)e._ended||(e._ended=!0,e.emit("end"),e.emit("close"));else{var t=a.resolve(e._path,e.entries[e._index]);s(t!==e._path),s(e.entries[e._index]),e._currentEntry=t,n[e.props.follow?"stat":"lstat"](t,(function(r,n){if(r)return e.error(r);var i=e._proxy||e;n.path=t,n.basename=a.basename(t),n.dirname=a.dirname(t);var s=e.getChildProps.call(i,n);s.path=t,s.basename=a.basename(t),s.dirname=a.dirname(t);var c=o(s,n);e._currentEntry=c,c.on("pause",(function(t){e._paused||c._disowned||e.pause(t)})),c.on("resume",(function(t){e._paused&&!c._disowned&&e.resume(t)})),c.on("stat",(function(t){e.emit("_entryStat",c,t),c._aborted||(c._paused?c.once("resume",(function(){e.emit("entryStat",c,t)})):e.emit("entryStat",c,t))})),c.on("ready",(function t(){if(e._paused)return c.pause(e),e.once("resume",t);"Socket"===c.type?e.emit("socket",c):e.emitEntry(c)}));var l=!1;function u(){l||(l=!0,e.emit("childEnd",c),e.emit("entryEnd",c),e._currentEntry=null,e._paused||e._read())}c.on("close",u),c.on("disown",u),c.on("error",(function(t){c._swallowErrors?(e.warn(t),c.emit("end"),c.emit("close")):e.emit("error",t)})),["child","childEnd","warn"].forEach((function(t){c.on(t,e.emit.bind(e,t))}))}))}},c.prototype.disown=function(e){e.emit("beforeDisown"),e._disowned=!0,e.parent=e.root=null,e===this._currentEntry&&(this._currentEntry=null),e.emit("disown")},c.prototype.getChildProps=function(){return{depth:this.depth+1,root:this.root||this,parent:this,follow:this.follow,filter:this.filter,sort:this.props.sort,hardlinks:this.props.hardlinks}},c.prototype.pause=function(e){var t=this;t._paused||(e=e||t,t._paused=!0,t._currentEntry&&t._currentEntry.pause&&t._currentEntry.pause(e),t.emit("pause",e))},c.prototype.resume=function(e){var t=this;t._paused&&(e=e||t,t._paused=!1,t.emit("resume",e),t._paused||(t._currentEntry?t._currentEntry.resume&&t._currentEntry.resume(e):t._read()))},c.prototype.emitEntry=function(e){this.emit("entry",e),this.emit("child",e)}},75064:(e,t,r)=>{e.exports=c;var n=r(89510),i=r(72017),a=r(43480),o=r(16928),s=r(65243);function c(e){var t=this;t instanceof c||t.error("DirWriter must be called as constructor.",null,!0),"Directory"===e.type&&e.Directory||t.error("Non-directory type "+e.type+" "+JSON.stringify(e),null,!0),n.call(this,e)}i(c,n),c.prototype._create=function(){var e=this;a(e._path,n.dirmode,(function(t){if(t)return e.error(t);e.ready=!0,e.emit("ready"),e._process()}))},c.prototype.write=function(){return!0},c.prototype.end=function(){this._ended=!0,this._process()},c.prototype.add=function(e){var t=this;return s(e),!t.ready||t._currentEntry?(t._buffer.push(e),!1):t._ended?t.error("add after end"):(t._buffer.push(e),t._process(),0===this._buffer.length)},c.prototype._process=function(){var e=this;if(!e._processing){var t=e._buffer.shift();if(!t)return e.emit("drain"),void(e._ended&&e._finish());e._processing=!0,e.emit("entry",t);var r,i=t;do{if((r=i._path||i.path)===e.root._path||r===e._path||r&&0===r.indexOf(e._path))return e._processing=!1,t._collected&&t.pipe(),e._process();i=i.parent}while(i);var a={parent:e,root:e.root||e,type:t.type,depth:e.depth+1};r=t._path||t.path||t.props.path,t.parent&&(r=r.substr(t.parent._path.length+1)),a.path=o.join(e.path,o.join("/",r)),a.filter=e.filter,Object.keys(t.props).forEach((function(e){a.hasOwnProperty(e)||(a[e]=t.props[e])}));var s=e._currentChild=new n(a);s.on("ready",(function(){t.pipe(s),t.resume()})),s.on("error",(function(t){s._swallowErrors?(e.warn(t),s.emit("end"),s.emit("close")):e.emit("error",t)})),s.on("close",(function(){if(c)return;c=!0,e._currentChild=null,e._processing=!1,e._process()}));var c=!1}}},64315:(e,t,r)=>{e.exports=c;var n=r(63735),i=r(72017),a=r(13942),o={EOF:!0},s={CLOSE:!0};function c(e){var t=this;if(!(t instanceof c))throw new Error("FileReader must be called as constructor.");if(!("Link"===e.type&&e.Link||"File"===e.type&&e.File))throw new Error("Non-file type "+e.type);t._buffer=[],t._bytesEmitted=0,a.call(t,e)}i(c,a),c.prototype._getStream=function(){var e=this,t=e._stream=n.createReadStream(e._path,e.props);e.props.blksize&&(t.bufferSize=e.props.blksize),t.on("open",e.emit.bind(e,"open")),t.on("data",(function(t){e._bytesEmitted+=t.length,t.length&&(e._paused||e._buffer.length?(e._buffer.push(t),e._read()):e.emit("data",t))})),t.on("end",(function(){e._paused||e._buffer.length?(e._buffer.push(o),e._read()):e.emit("end"),e._bytesEmitted!==e.props.size&&e.error("Didn't get expected byte count\nexpect: "+e.props.size+"\nactual: "+e._bytesEmitted)})),t.on("close",(function(){e._paused||e._buffer.length?(e._buffer.push(s),e._read()):e.emit("close")})),t.on("error",(function(t){e.emit("error",t)})),e._read()},c.prototype._read=function(){var e=this;if(!e._paused){if(!e._stream)return e._getStream();if(e._buffer.length){for(var t=e._buffer,r=0,n=t.length;r<n;r++){var i=t[r];if(i===o?e.emit("end"):i===s?e.emit("close"):e.emit("data",i),e._paused)return void(e._buffer=t.slice(r))}e._buffer.length=0}}},c.prototype.pause=function(e){var t=this;t._paused||(e=e||t,t._paused=!0,t._stream&&t._stream.pause(),t.emit("pause",e))},c.prototype.resume=function(e){var t=this;t._paused&&(e=e||t,t.emit("resume",e),t._paused=!1,t._stream&&t._stream.resume(),t._read())}},37291:(e,t,r)=>{e.exports=s;var n=r(63735),i=r(89510),a=r(72017),o={};function s(e){var t=this;if(!(t instanceof s))throw new Error("FileWriter must be called as constructor.");if("File"!==e.type||!e.File)throw new Error("Non-file type "+e.type);t._buffer=[],t._bytesWritten=0,i.call(this,e)}a(s,i),s.prototype._create=function(){var e=this;if(!e._stream){var t={};e.props.flags&&(t.flags=e.props.flags),t.mode=i.filemode,e._old&&e._old.blksize&&(t.bufferSize=e._old.blksize),e._stream=n.createWriteStream(e._path,t),e._stream.on("open",(function(){e.ready=!0,e._buffer.forEach((function(t){t===o?e._stream.end():e._stream.write(t)})),e.emit("ready"),e.emit("drain")})),e._stream.on("error",(function(t){e.emit("error",t)})),e._stream.on("drain",(function(){e.emit("drain")})),e._stream.on("close",(function(){e._finish()}))}},s.prototype.write=function(e){var t=this;if(t._bytesWritten+=e.length,!t.ready){if(!Buffer.isBuffer(e)&&"string"!=typeof e)throw new Error("invalid write data");return t._buffer.push(e),!1}var r=t._stream.write(e);return!1===r&&t._stream._queue?t._stream._queue.length<=2:r},s.prototype.end=function(e){var t=this;return e&&t.write(e),t.ready?t._stream.end():(t._buffer.push(o),!1)},s.prototype._finish=function(){var e=this;"number"==typeof e.size&&e._bytesWritten!==e.size&&e.error("Did not get expected byte count.\nexpect: "+e.size+"\nactual: "+e._bytesWritten),i.prototype._finish.call(e)}},54186:e=>{e.exports=function(e){var t,r=["Directory","File","SymbolicLink","Link","BlockDevice","CharacterDevice","FIFO","Socket"];if(e.type&&-1!==r.indexOf(e.type))return e[e.type]=!0,e.type;for(var n=0,i=r.length;n<i;n++){var a=e[t=r[n]]||e["is"+t];if("function"==typeof a&&(a=a.call(e)),a)return e[t]=!0,e.type=t,t}return null}},65657:(e,t,r)=>{e.exports=o;var n=r(63735),i=r(72017),a=r(13942);function o(e){if(!(this instanceof o))throw new Error("LinkReader must be called as constructor.");if(!("Link"===e.type&&e.Link||"SymbolicLink"===e.type&&e.SymbolicLink))throw new Error("Non-link type "+e.type);a.call(this,e)}i(o,a),o.prototype._stat=function(e){var t=this;n.readlink(t._path,(function(r,n){if(r)return t.error(r);t.linkpath=t.props.linkpath=n,t.emit("linkpath",n),a.prototype._stat.call(t,e)}))},o.prototype._read=function(){var e=this;e._paused||e._ended||(e.emit("end"),e.emit("close"),e._ended=!0)}},55509:(e,t,r)=>{e.exports=c;var n=r(63735),i=r(89510),a=r(72017),o=r(16928),s=r(4239);function c(e){if(!(this instanceof c))throw new Error("LinkWriter must be called as constructor.");if(!("Link"===e.type&&e.Link||"SymbolicLink"===e.type&&e.SymbolicLink))throw new Error("Non-link type "+e.type);""===e.linkpath&&(e.linkpath="."),e.linkpath||this.error("Need linkpath property to create "+e.type),i.call(this,e)}function l(e,t,r){s(e._path,(function(i){if(i)return e.error(i);!function(e,t,r){n[r](t,e._path,(function(t){if(t){if("ENOENT"!==t.code&&"EACCES"!==t.code&&"EPERM"!==t.code||"win32"!==process.platform)return e.error(t);e.ready=!0,e.emit("ready"),e.emit("end"),e.emit("close"),e.end=e._finish=function(){}}u(e)}))}(e,t,r)}))}function u(e){e.ready=!0,e.emit("ready"),e._ended&&!e._finished&&e._finish()}a(c,i),c.prototype._create=function(){var e=this,t="Link"===e.type||"win32"===process.platform,r=t?"link":"symlink",i=t?o.resolve(e.dirname,e.linkpath):e.linkpath;if(t)return l(e,i,r);n.readlink(e._path,(function(t,n){if(n&&n===i)return u(e);l(e,i,r)}))},c.prototype.end=function(){this._ended=!0,this.ready&&(this._finished=!0,this._finish())}},58349:(e,t,r)=>{e.exports=s;var n=r(13942),i=r(54186),a=r(72017),o=r(63735);function s(e){var t=this;if(!(t instanceof s))throw new Error("ProxyReader must be called as constructor.");t.props=e,t._buffer=[],t.ready=!1,n.call(t,e)}a(s,n),s.prototype._stat=function(){var e=this,t=e.props,r=t.follow?"stat":"lstat";o[r](t.path,(function(r,a){var o;o=r||!a?"File":i(a),t[o]=!0,t.type=e.type=o,e._old=a,e._addProxy(n(t,a))}))},s.prototype._addProxy=function(e){var t=this;if(t._proxyTarget)return t.error("proxy already set");t._proxyTarget=e,e._proxy=t,["error","data","end","close","linkpath","entry","entryEnd","child","childEnd","warn","stat"].forEach((function(r){e.on(r,t.emit.bind(t,r))})),t.emit("proxy",e),e.on("ready",(function(){t.ready=!0,t.emit("ready")}));var r=t._buffer;t._buffer.length=0,r.forEach((function(t){e[t[0]].apply(e,t[1])}))},s.prototype.pause=function(){return!!this._proxyTarget&&this._proxyTarget.pause()},s.prototype.resume=function(){return!!this._proxyTarget&&this._proxyTarget.resume()}},67225:(e,t,r)=>{e.exports=c;var n=r(89510),i=r(54186),a=r(72017),o=r(65243),s=r(79896);function c(e){var t=this;if(!(t instanceof c))throw new Error("ProxyWriter must be called as constructor.");t.props=e,t._needDrain=!1,n.call(t,e)}a(c,n),c.prototype._stat=function(){var e=this,t=e.props,r=t.follow?"stat":"lstat";s[r](t.path,(function(r,a){var o;o=r||!a?"File":i(a),t[o]=!0,t.type=e.type=o,e._old=a,e._addProxy(n(t,a))}))},c.prototype._addProxy=function(e){var t=this;if(t._proxy)return t.error("proxy already set");t._proxy=e,["ready","error","close","pipe","drain","warn"].forEach((function(r){e.on(r,t.emit.bind(t,r))})),t.emit("proxy",e),t._buffer.forEach((function(t){e[t[0]].apply(e,t[1])})),t._buffer.length=0,t._needsDrain&&t.emit("drain")},c.prototype.add=function(e){return o(e),this._proxy?this._proxy.add(e):(this._buffer.push(["add",[e]]),this._needDrain=!0,!1)},c.prototype.write=function(e){return this._proxy?this._proxy.write(e):(this._buffer.push(["write",[e]]),this._needDrain=!0,!1)},c.prototype.end=function(e){return this._proxy?this._proxy.end(e):(this._buffer.push(["end",[e]]),!1)}},13942:(e,t,r)=>{e.exports=d;var n=r(63735),i=r(2203).Stream,a=r(72017),o=r(16928),s=r(54186),c=d.hardLinks={},l=r(40983);a(d,l);var u=r(65657);function d(e,t){var n,i,a=this;if(!(a instanceof d))return new d(e,t);switch("string"==typeof e&&(e={path:e}),e.type&&"function"==typeof e.type?i=n=e.type:(n=s(e),i=d),t&&!n&&(e[n=s(t)]=!0,e.type=n),n){case"Directory":i=r(61468);break;case"Link":case"File":i=r(64315);break;case"SymbolicLink":i=u;break;case"Socket":i=r(36206);break;case null:i=r(58349)}if(!(a instanceof i))return new i(e);l.call(a),e.path||a.error("Must provide a path",null,!0),a.readable=!0,a.writable=!1,a.type=n,a.props=e,a.depth=e.depth=e.depth||0,a.parent=e.parent||null,a.root=e.root||e.parent&&e.parent.root||a,a._path=a.path=o.resolve(e.path),"win32"===process.platform&&(a.path=a._path=a.path.replace(/\?/g,"_"),a._path.length>=260&&(a._swallowErrors=!0,a._path="\\\\?\\"+a.path.replace(/\//g,"\\"))),a.basename=e.basename=o.basename(a.path),a.dirname=e.dirname=o.dirname(a.path),e.parent=e.root=null,a.size=e.size,a.filter="function"==typeof e.filter?e.filter:null,"alpha"===e.sort&&(e.sort=p),a._stat(t)}function p(e,t){return e===t?0:e.toLowerCase()>t.toLowerCase()?1:e.toLowerCase()<t.toLowerCase()?-1:e>t?1:-1}d.prototype._stat=function(e){var t=this,r=t.props,i=r.follow?"stat":"lstat";function a(e,n){if(e)return t.error(e);if(Object.keys(n).forEach((function(e){r[e]=n[e]})),void 0!==t.size&&r.size!==t.size)return t.error("incorrect size");t.size=r.size;var i=s(r);if(!1!==r.hardlinks&&"Directory"!==i&&r.nlink&&r.nlink>1){var a=r.dev+":"+r.ino;c[a]!==t._path&&c[a]?(i=t.type=t.props.type="Link",t.Link=t.props.Link=!0,t.linkpath=t.props.linkpath=c[a],t._stat=t._read=u.prototype._read):c[a]=t._path}if(t.type&&t.type!==i&&t.error("Unexpected type: "+i),t.filter){var o=t._proxy||t;if(!t.filter.call(o,o,r))return void(t._disowned||(t.abort(),t.emit("end"),t.emit("close")))}var l=["_stat","stat","ready"],d=0;!function e(){if(t._aborted)return t.emit("end"),void t.emit("close");if(t._paused&&"Directory"!==t.type)t.once("resume",e);else{var n=l[d++];if(!n)return t._read();t.emit(n,r),e()}}()}e?process.nextTick(a.bind(null,null,e)):n[i](t._path,a)},d.prototype.pipe=function(e){var t=this;return"function"==typeof e.add&&t.on("entry",(function(r){!1===e.add(r)&&t.pause()})),i.prototype.pipe.apply(this,arguments)},d.prototype.pause=function(e){this._paused=!0,e=e||this,this.emit("pause",e),this._stream&&this._stream.pause(e)},d.prototype.resume=function(e){this._paused=!1,e=e||this,this.emit("resume",e),this._stream&&this._stream.resume(e),this._read()},d.prototype._read=function(){this.error("Cannot read unknown type: "+this.type)}},36206:(e,t,r)=>{e.exports=a;var n=r(72017),i=r(13942);function a(e){if(!(this instanceof a))throw new Error("SocketReader must be called as constructor.");if("Socket"!==e.type||!e.Socket)throw new Error("Non-socket type "+e.type);i.call(this,e)}n(a,i),a.prototype._read=function(){var e=this;e._paused||e._ended||(e.emit("end"),e.emit("close"),e._ended=!0)}},89510:(e,t,r)=>{e.exports=g;var n=r(63735),i=r(72017),a=r(4239),o=r(43480),s=r(16928),c="win32"===process.platform?0:process.umask(),l=r(54186),u=r(40983);i(g,u),g.dirmode=parseInt("0777",8)&~c,g.filemode=parseInt("0666",8)&~c;var d=r(75064),p=r(55509),f=r(37291),m=r(67225);function g(e,t){var r=this;"string"==typeof e&&(e={path:e});var n=g;switch(l(e)){case"Directory":n=d;break;case"File":n=f;break;case"Link":case"SymbolicLink":n=p;break;default:n=m}if(!(r instanceof n))return new n(e);u.call(r),e.path||r.error("Must provide a path",null,!0),r.type=e.type,r.props=e,r.depth=e.depth||0,r.clobber=!1!==e.clobber||e.clobber,r.parent=e.parent||null,r.root=e.root||e.parent&&e.parent.root||r,r._path=r.path=s.resolve(e.path),"win32"===process.platform&&(r.path=r._path=r.path.replace(/\?/g,"_"),r._path.length>=260&&(r._swallowErrors=!0,r._path="\\\\?\\"+r.path.replace(/\//g,"\\"))),r.basename=s.basename(e.path),r.dirname=s.dirname(e.path),r.linkpath=e.linkpath||null,e.parent=e.root=null,r.size=e.size,"string"==typeof e.mode&&(e.mode=parseInt(e.mode,8)),r.readable=!1,r.writable=!0,r._buffer=[],r.ready=!1,r.filter="function"==typeof e.filter?e.filter:null,r._stat(t)}function _(e){o(s.dirname(e._path),g.dirmode,(function(t,r){return t?e.error(t):(e._madeDir=r,e._create())}))}function h(e,t,r,i,a){var o=t.mode,s=t.follow||"SymbolicLink"!==e.type?"chmod":"lchmod";if(!n[s])return a();if("number"!=typeof o)return a();var c=r.mode&parseInt("0777",8);if((o&=parseInt("0777",8))===c)return a();n[s](i,o,a)}function y(e,t,r,i,a){if("win32"===process.platform)return a();if(!process.getuid||0!==process.getuid())return a();if("number"!=typeof t.uid&&"number"!=typeof t.gid)return a();if(r.uid===t.uid&&r.gid===t.gid)return a();var o=e.props.follow||"SymbolicLink"!==e.type?"chown":"lchown";if(!n[o])return a();"number"!=typeof t.uid&&(t.uid=r.uid),"number"!=typeof t.gid&&(t.gid=r.gid),n[o](i,t.uid,t.gid,a)}function v(e,t,r,i,a){if(!n.utimes||"win32"===process.platform)return a();var o=t.follow||"SymbolicLink"!==e.type?"utimes":"lutimes";if("lutimes"!==o||n[o]||(o="utimes"),!n[o])return a();var s=r.atime,c=r.mtime,l=t.atime,u=t.mtime;if(void 0===l&&(l=s),void 0===u&&(u=c),k(l)||(l=new Date(l)),k(u)||(l=new Date(u)),l.getTime()===s.getTime()&&u.getTime()===c.getTime())return a();n[o](i,l,u,a)}function b(e,t,r){var i=e._madeDir,a=s.dirname(t);!function(e,t,r){var i={};Object.keys(e.props).forEach((function(t){i[t]=e.props[t],"mode"===t&&"Directory"!==e.type&&(i[t]=i[t]|parseInt("0111",8))}));var a=3,o=null;function s(e){if(!o)return e?r(o=e):0==--a?r():void 0}n.stat(t,(function(n,a){if(n)return r(o=n);h(e,i,a,t,s),y(e,i,a,t,s),v(e,i,a,t,s)}))}(e,a,(function(t){return t?r(t):a===i?r():void b(e,a,r)}))}function k(e){return"object"==typeof e&&"[object Date]"===function(e){return Object.prototype.toString.call(e)}(e)}g.prototype._create=function(){var e=this;n[e.props.follow?"stat":"lstat"](e._path,(function(t){if(t)return e.warn("Cannot create "+e._path+"\nUnsupported type: "+e.type,"ENOTSUP");e._finish()}))},g.prototype._stat=function(e){var t=this,r=t.props.follow?"stat":"lstat",i=t._proxy||t;function o(e,r){return t.filter&&!t.filter.call(i,i,r)?(t._aborted=!0,t.emit("end"),void t.emit("close")):e||!r?_(t):(t._old=r,l(r)!==t.type||"File"===t.type&&r.nlink>1?a(t._path,(function(e){if(e)return t.error(e);t._old=null,_(t)})):void _(t))}e?o(null,e):n[r](t._path,o)},g.prototype._finish=function(){var e=this;if(e._finishing);else{e._finishing=!0;var t=0,r=null,i=!1;if(e._old)e._old.atime=new Date(0),e._old.mtime=new Date(0),o(e._old);else{var a=e.props.follow?"stat":"lstat";n[a](e._path,(function(t,r){if(t)return"ENOENT"!==t.code||"Link"!==e.type&&"SymbolicLink"!==e.type||"win32"!==process.platform?e.error(t):(e.ready=!0,e.emit("ready"),e.emit("end"),e.emit("close"),void(e.end=e._finish=function(){}));o(e._old=r)}))}}function o(r){t+=3,h(e,e.props,r,e._path,s("chmod")),y(e,e.props,r,e._path,s("chown")),v(e,e.props,r,e._path,s("utimes"))}function s(n){return function(a){if(!r){if(a)return a.fstream_finish_call=n,e.error(r=a);if(!(--t>0||i)){if(i=!0,!e._madeDir)return o();b(e,e._path,o)}}function o(t){if(t)return t.fstream_finish_call="setupMadeDir",e.error(t);e.emit("end"),e.emit("close")}}}},g.prototype.pipe=function(){this.error("Can't pipe from writable stream")},g.prototype.add=function(){this.error("Can't add to non-Directory type")},g.prototype.write=function(){return!0}},61198:(e,t,r)=>{function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.setopts=function(e,t,r){r||(r={});if(r.matchBase&&-1===t.indexOf("/")){if(r.noglobstar)throw new Error("base matching requires globstar");t="**/"+t}e.silent=!!r.silent,e.pattern=t,e.strict=!1!==r.strict,e.realpath=!!r.realpath,e.realpathCache=r.realpathCache||Object.create(null),e.follow=!!r.follow,e.dot=!!r.dot,e.mark=!!r.mark,e.nodir=!!r.nodir,e.nodir&&(e.mark=!0);e.sync=!!r.sync,e.nounique=!!r.nounique,e.nonull=!!r.nonull,e.nosort=!!r.nosort,e.nocase=!!r.nocase,e.stat=!!r.stat,e.noprocess=!!r.noprocess,e.absolute=!!r.absolute,e.fs=r.fs||i,e.maxLength=r.maxLength||1/0,e.cache=r.cache||Object.create(null),e.statCache=r.statCache||Object.create(null),e.symlinks=r.symlinks||Object.create(null),function(e,t){e.ignore=t.ignore||[],Array.isArray(e.ignore)||(e.ignore=[e.ignore]);e.ignore.length&&(e.ignore=e.ignore.map(u))}(e,r),e.changedCwd=!1;var o=process.cwd();n(r,"cwd")?(e.cwd=a.resolve(r.cwd),e.changedCwd=e.cwd!==o):e.cwd=o;e.root=r.root||a.resolve(e.cwd,"/"),e.root=a.resolve(e.root),"win32"===process.platform&&(e.root=e.root.replace(/\\/g,"/"));e.cwdAbs=s(e.cwd)?e.cwd:d(e,e.cwd),"win32"===process.platform&&(e.cwdAbs=e.cwdAbs.replace(/\\/g,"/"));e.nomount=!!r.nomount,r.nonegate=!0,r.nocomment=!0,r.allowWindowsEscape=!1,e.minimatch=new c(t,r),e.options=e.minimatch.options},t.ownProp=n,t.makeAbs=d,t.finish=function(e){for(var t=e.nounique,r=t?[]:Object.create(null),n=0,i=e.matches.length;n<i;n++){var a=e.matches[n];if(a&&0!==Object.keys(a).length){var o=Object.keys(a);t?r.push.apply(r,o):o.forEach((function(e){r[e]=!0}))}else if(e.nonull){var s=e.minimatch.globSet[n];t?r.push(s):r[s]=!0}}t||(r=Object.keys(r));e.nosort||(r=r.sort(l));if(e.mark){for(n=0;n<r.length;n++)r[n]=e._mark(r[n]);e.nodir&&(r=r.filter((function(t){var r=!/\/$/.test(t),n=e.cache[t]||e.cache[d(e,t)];return r&&n&&(r="DIR"!==n&&!Array.isArray(n)),r})))}e.ignore.length&&(r=r.filter((function(t){return!p(e,t)})));e.found=r},t.mark=function(e,t){var r=d(e,t),n=e.cache[r],i=t;if(n){var a="DIR"===n||Array.isArray(n),o="/"===t.slice(-1);if(a&&!o?i+="/":!a&&o&&(i=i.slice(0,-1)),i!==t){var s=d(e,i);e.statCache[s]=e.statCache[r],e.cache[s]=e.cache[r]}}return i},t.isIgnored=p,t.childrenIgnored=function(e,t){return!!e.ignore.length&&e.ignore.some((function(e){return!(!e.gmatcher||!e.gmatcher.match(t))}))};var i=r(79896),a=r(16928),o=r(94027),s=r(52641),c=o.Minimatch;function l(e,t){return e.localeCompare(t,"en")}function u(e){var t=null;if("/**"===e.slice(-3)){var r=e.replace(/(\/\*\*)+$/,"");t=new c(r,{dot:!0})}return{matcher:new c(e,{dot:!0}),gmatcher:t}}function d(e,t){var r=t;return r="/"===t.charAt(0)?a.join(e.root,t):s(t)||""===t?t:e.changedCwd?a.resolve(e.cwd,t):a.resolve(t),"win32"===process.platform&&(r=r.replace(/\\/g,"/")),r}function p(e,t){return!!e.ignore.length&&e.ignore.some((function(e){return e.matcher.match(t)||!(!e.gmatcher||!e.gmatcher.match(t))}))}},53577:(e,t,r)=>{e.exports=y;var n=r(61455),i=r(94027),a=(i.Minimatch,r(72017)),o=r(24434).EventEmitter,s=r(16928),c=r(42613),l=r(52641),u=r(34700),d=r(61198),p=d.setopts,f=d.ownProp,m=r(53423),g=(r(39023),d.childrenIgnored),_=d.isIgnored,h=r(83519);function y(e,t,r){if("function"==typeof t&&(r=t,t={}),t||(t={}),t.sync){if(r)throw new TypeError("callback provided to sync glob");return u(e,t)}return new b(e,t,r)}y.sync=u;var v=y.GlobSync=u.GlobSync;function b(e,t,r){if("function"==typeof t&&(r=t,t=null),t&&t.sync){if(r)throw new TypeError("callback provided to sync glob");return new v(e,t)}if(!(this instanceof b))return new b(e,t,r);p(this,e,t),this._didRealPath=!1;var n=this.minimatch.set.length;this.matches=new Array(n),"function"==typeof r&&(r=h(r),this.on("error",r),this.on("end",(function(e){r(null,e)})));var i=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===n)return s();for(var a=!0,o=0;o<n;o++)this._process(this.minimatch.set[o],o,!1,s);function s(){--i._processing,i._processing<=0&&(a?process.nextTick((function(){i._finish()})):i._finish())}a=!1}y.glob=y,y.hasMagic=function(e,t){var r=function(e,t){if(null===t||"object"!=typeof t)return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}({},t);r.noprocess=!0;var n=new b(e,r).minimatch.set;if(!e)return!1;if(n.length>1)return!0;for(var i=0;i<n[0].length;i++)if("string"!=typeof n[0][i])return!0;return!1},y.Glob=b,a(b,o),b.prototype._finish=function(){if(c(this instanceof b),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();d.finish(this),this.emit("end",this.found)}},b.prototype._realpath=function(){if(!this._didRealpath){this._didRealpath=!0;var e=this.matches.length;if(0===e)return this._finish();for(var t=this,r=0;r<this.matches.length;r++)this._realpathSet(r,n)}function n(){0==--e&&t._finish()}},b.prototype._realpathSet=function(e,t){var r=this.matches[e];if(!r)return t();var i=Object.keys(r),a=this,o=i.length;if(0===o)return t();var s=this.matches[e]=Object.create(null);i.forEach((function(r,i){r=a._makeAbs(r),n.realpath(r,a.realpathCache,(function(n,i){n?"stat"===n.syscall?s[r]=!0:a.emit("error",n):s[i]=!0,0==--o&&(a.matches[e]=s,t())}))}))},b.prototype._mark=function(e){return d.mark(this,e)},b.prototype._makeAbs=function(e){return d.makeAbs(this,e)},b.prototype.abort=function(){this.aborted=!0,this.emit("abort")},b.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))},b.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var e=this._emitQueue.slice(0);this._emitQueue.length=0;for(var t=0;t<e.length;t++){var r=e[t];this._emitMatch(r[0],r[1])}}if(this._processQueue.length){var n=this._processQueue.slice(0);this._processQueue.length=0;for(t=0;t<n.length;t++){var i=n[t];this._processing--,this._process(i[0],i[1],i[2],i[3])}}}},b.prototype._process=function(e,t,r,n){if(c(this instanceof b),c("function"==typeof n),!this.aborted)if(this._processing++,this.paused)this._processQueue.push([e,t,r,n]);else{for(var a,o=0;"string"==typeof e[o];)o++;switch(o){case e.length:return void this._processSimple(e.join("/"),t,n);case 0:a=null;break;default:a=e.slice(0,o).join("/")}var s,u=e.slice(o);null===a?s=".":l(a)||l(e.map((function(e){return"string"==typeof e?e:"[*]"})).join("/"))?(a&&l(a)||(a="/"+a),s=a):s=a;var d=this._makeAbs(s);if(g(this,s))return n();u[0]===i.GLOBSTAR?this._processGlobStar(a,s,d,u,t,r,n):this._processReaddir(a,s,d,u,t,r,n)}},b.prototype._processReaddir=function(e,t,r,n,i,a,o){var s=this;this._readdir(r,a,(function(c,l){return s._processReaddir2(e,t,r,n,i,a,l,o)}))},b.prototype._processReaddir2=function(e,t,r,n,i,a,o,c){if(!o)return c();for(var l=n[0],u=!!this.minimatch.negate,d=l._glob,p=this.dot||"."===d.charAt(0),f=[],m=0;m<o.length;m++){if("."!==(_=o[m]).charAt(0)||p)(u&&!e?!_.match(l):_.match(l))&&f.push(_)}var g=f.length;if(0===g)return c();if(1===n.length&&!this.mark&&!this.stat){this.matches[i]||(this.matches[i]=Object.create(null));for(m=0;m<g;m++){var _=f[m];e&&(_="/"!==e?e+"/"+_:e+_),"/"!==_.charAt(0)||this.nomount||(_=s.join(this.root,_)),this._emitMatch(i,_)}return c()}n.shift();for(m=0;m<g;m++){_=f[m];e&&(_="/"!==e?e+"/"+_:e+_),this._process([_].concat(n),i,a,c)}c()},b.prototype._emitMatch=function(e,t){if(!this.aborted&&!_(this,t))if(this.paused)this._emitQueue.push([e,t]);else{var r=l(t)?t:this._makeAbs(t);if(this.mark&&(t=this._mark(t)),this.absolute&&(t=r),!this.matches[e][t]){if(this.nodir){var n=this.cache[r];if("DIR"===n||Array.isArray(n))return}this.matches[e][t]=!0;var i=this.statCache[r];i&&this.emit("stat",t,i),this.emit("match",t)}}},b.prototype._readdirInGlobStar=function(e,t){if(!this.aborted){if(this.follow)return this._readdir(e,!1,t);var r=this,n=m("lstat\0"+e,(function(n,i){if(n&&"ENOENT"===n.code)return t();var a=i&&i.isSymbolicLink();r.symlinks[e]=a,a||!i||i.isDirectory()?r._readdir(e,!1,t):(r.cache[e]="FILE",t())}));n&&r.fs.lstat(e,n)}},b.prototype._readdir=function(e,t,r){if(!this.aborted&&(r=m("readdir\0"+e+"\0"+t,r))){if(t&&!f(this.symlinks,e))return this._readdirInGlobStar(e,r);if(f(this.cache,e)){var n=this.cache[e];if(!n||"FILE"===n)return r();if(Array.isArray(n))return r(null,n)}this.fs.readdir(e,function(e,t,r){return function(n,i){n?e._readdirError(t,n,r):e._readdirEntries(t,i,r)}}(this,e,r))}},b.prototype._readdirEntries=function(e,t,r){if(!this.aborted){if(!this.mark&&!this.stat)for(var n=0;n<t.length;n++){var i=t[n];i="/"===e?e+i:e+"/"+i,this.cache[i]=!0}return this.cache[e]=t,r(null,t)}},b.prototype._readdirError=function(e,t,r){if(!this.aborted){switch(t.code){case"ENOTSUP":case"ENOTDIR":var n=this._makeAbs(e);if(this.cache[n]="FILE",n===this.cwdAbs){var i=new Error(t.code+" invalid cwd "+this.cwd);i.path=this.cwd,i.code=t.code,this.emit("error",i),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=!1;break;default:this.cache[this._makeAbs(e)]=!1,this.strict&&(this.emit("error",t),this.abort()),this.silent||console.error("glob error",t)}return r()}},b.prototype._processGlobStar=function(e,t,r,n,i,a,o){var s=this;this._readdir(r,a,(function(c,l){s._processGlobStar2(e,t,r,n,i,a,l,o)}))},b.prototype._processGlobStar2=function(e,t,r,n,i,a,o,s){if(!o)return s();var c=n.slice(1),l=e?[e]:[],u=l.concat(c);this._process(u,i,!1,s);var d=this.symlinks[r],p=o.length;if(d&&a)return s();for(var f=0;f<p;f++){if("."!==o[f].charAt(0)||this.dot){var m=l.concat(o[f],c);this._process(m,i,!0,s);var g=l.concat(o[f],n);this._process(g,i,!0,s)}}s()},b.prototype._processSimple=function(e,t,r){var n=this;this._stat(e,(function(i,a){n._processSimple2(e,t,i,a,r)}))},b.prototype._processSimple2=function(e,t,r,n,i){if(this.matches[t]||(this.matches[t]=Object.create(null)),!n)return i();if(e&&l(e)&&!this.nomount){var a=/[\/\\]$/.test(e);"/"===e.charAt(0)?e=s.join(this.root,e):(e=s.resolve(this.root,e),a&&(e+="/"))}"win32"===process.platform&&(e=e.replace(/\\/g,"/")),this._emitMatch(t,e),i()},b.prototype._stat=function(e,t){var r=this._makeAbs(e),n="/"===e.slice(-1);if(e.length>this.maxLength)return t();if(!this.stat&&f(this.cache,r)){var i=this.cache[r];if(Array.isArray(i)&&(i="DIR"),!n||"DIR"===i)return t(null,i);if(n&&"FILE"===i)return t()}var a=this.statCache[r];if(void 0!==a){if(!1===a)return t(null,a);var o=a.isDirectory()?"DIR":"FILE";return n&&"FILE"===o?t():t(null,o,a)}var s=this,c=m("stat\0"+r,(function(n,i){if(i&&i.isSymbolicLink())return s.fs.stat(r,(function(n,a){n?s._stat2(e,r,null,i,t):s._stat2(e,r,n,a,t)}));s._stat2(e,r,n,i,t)}));c&&s.fs.lstat(r,c)},b.prototype._stat2=function(e,t,r,n,i){if(r&&("ENOENT"===r.code||"ENOTDIR"===r.code))return this.statCache[t]=!1,i();var a="/"===e.slice(-1);if(this.statCache[t]=n,"/"===t.slice(-1)&&n&&!n.isDirectory())return i(null,!1,n);var o=!0;return n&&(o=n.isDirectory()?"DIR":"FILE"),this.cache[t]=this.cache[t]||o,a&&"FILE"===o?i():i(null,o,n)}},34700:(e,t,r)=>{e.exports=f,f.GlobSync=m;var n=r(61455),i=r(94027),a=(i.Minimatch,r(53577).Glob,r(39023),r(16928)),o=r(42613),s=r(52641),c=r(61198),l=c.setopts,u=c.ownProp,d=c.childrenIgnored,p=c.isIgnored;function f(e,t){if("function"==typeof t||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");return new m(e,t).found}function m(e,t){if(!e)throw new Error("must provide pattern");if("function"==typeof t||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof m))return new m(e,t);if(l(this,e,t),this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var n=0;n<r;n++)this._process(this.minimatch.set[n],n,!1);this._finish()}m.prototype._finish=function(){if(o.ok(this instanceof m),this.realpath){var e=this;this.matches.forEach((function(t,r){var i=e.matches[r]=Object.create(null);for(var a in t)try{a=e._makeAbs(a),i[n.realpathSync(a,e.realpathCache)]=!0}catch(t){if("stat"!==t.syscall)throw t;i[e._makeAbs(a)]=!0}}))}c.finish(this)},m.prototype._process=function(e,t,r){o.ok(this instanceof m);for(var n,a=0;"string"==typeof e[a];)a++;switch(a){case e.length:return void this._processSimple(e.join("/"),t);case 0:n=null;break;default:n=e.slice(0,a).join("/")}var c,l=e.slice(a);null===n?c=".":s(n)||s(e.map((function(e){return"string"==typeof e?e:"[*]"})).join("/"))?(n&&s(n)||(n="/"+n),c=n):c=n;var u=this._makeAbs(c);d(this,c)||(l[0]===i.GLOBSTAR?this._processGlobStar(n,c,u,l,t,r):this._processReaddir(n,c,u,l,t,r))},m.prototype._processReaddir=function(e,t,r,n,i,o){var s=this._readdir(r,o);if(s){for(var c=n[0],l=!!this.minimatch.negate,u=c._glob,d=this.dot||"."===u.charAt(0),p=[],f=0;f<s.length;f++){if("."!==(_=s[f]).charAt(0)||d)(l&&!e?!_.match(c):_.match(c))&&p.push(_)}var m=p.length;if(0!==m)if(1!==n.length||this.mark||this.stat){n.shift();for(f=0;f<m;f++){var g;_=p[f];g=e?[e,_]:[_],this._process(g.concat(n),i,o)}}else{this.matches[i]||(this.matches[i]=Object.create(null));for(var f=0;f<m;f++){var _=p[f];e&&(_="/"!==e.slice(-1)?e+"/"+_:e+_),"/"!==_.charAt(0)||this.nomount||(_=a.join(this.root,_)),this._emitMatch(i,_)}}}},m.prototype._emitMatch=function(e,t){if(!p(this,t)){var r=this._makeAbs(t);if(this.mark&&(t=this._mark(t)),this.absolute&&(t=r),!this.matches[e][t]){if(this.nodir){var n=this.cache[r];if("DIR"===n||Array.isArray(n))return}this.matches[e][t]=!0,this.stat&&this._stat(t)}}},m.prototype._readdirInGlobStar=function(e){if(this.follow)return this._readdir(e,!1);var t,r;try{r=this.fs.lstatSync(e)}catch(e){if("ENOENT"===e.code)return null}var n=r&&r.isSymbolicLink();return this.symlinks[e]=n,n||!r||r.isDirectory()?t=this._readdir(e,!1):this.cache[e]="FILE",t},m.prototype._readdir=function(e,t){if(t&&!u(this.symlinks,e))return this._readdirInGlobStar(e);if(u(this.cache,e)){var r=this.cache[e];if(!r||"FILE"===r)return null;if(Array.isArray(r))return r}try{return this._readdirEntries(e,this.fs.readdirSync(e))}catch(t){return this._readdirError(e,t),null}},m.prototype._readdirEntries=function(e,t){if(!this.mark&&!this.stat)for(var r=0;r<t.length;r++){var n=t[r];n="/"===e?e+n:e+"/"+n,this.cache[n]=!0}return this.cache[e]=t,t},m.prototype._readdirError=function(e,t){switch(t.code){case"ENOTSUP":case"ENOTDIR":var r=this._makeAbs(e);if(this.cache[r]="FILE",r===this.cwdAbs){var n=new Error(t.code+" invalid cwd "+this.cwd);throw n.path=this.cwd,n.code=t.code,n}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(e)]=!1;break;default:if(this.cache[this._makeAbs(e)]=!1,this.strict)throw t;this.silent||console.error("glob error",t)}},m.prototype._processGlobStar=function(e,t,r,n,i,a){var o=this._readdir(r,a);if(o){var s=n.slice(1),c=e?[e]:[],l=c.concat(s);this._process(l,i,!1);var u=o.length;if(!this.symlinks[r]||!a)for(var d=0;d<u;d++){if("."!==o[d].charAt(0)||this.dot){var p=c.concat(o[d],s);this._process(p,i,!0);var f=c.concat(o[d],n);this._process(f,i,!0)}}}},m.prototype._processSimple=function(e,t){var r=this._stat(e);if(this.matches[t]||(this.matches[t]=Object.create(null)),r){if(e&&s(e)&&!this.nomount){var n=/[\/\\]$/.test(e);"/"===e.charAt(0)?e=a.join(this.root,e):(e=a.resolve(this.root,e),n&&(e+="/"))}"win32"===process.platform&&(e=e.replace(/\\/g,"/")),this._emitMatch(t,e)}},m.prototype._stat=function(e){var t=this._makeAbs(e),r="/"===e.slice(-1);if(e.length>this.maxLength)return!1;if(!this.stat&&u(this.cache,t)){var n=this.cache[t];if(Array.isArray(n)&&(n="DIR"),!r||"DIR"===n)return n;if(r&&"FILE"===n)return!1}var i=this.statCache[t];if(!i){var a;try{a=this.fs.lstatSync(t)}catch(e){if(e&&("ENOENT"===e.code||"ENOTDIR"===e.code))return this.statCache[t]=!1,!1}if(a&&a.isSymbolicLink())try{i=this.fs.statSync(t)}catch(e){i=a}else i=a}this.statCache[t]=i;n=!0;return i&&(n=i.isDirectory()?"DIR":"FILE"),this.cache[t]=this.cache[t]||n,(!r||"FILE"!==n)&&n},m.prototype._mark=function(e){return c.mark(this,e)},m.prototype._makeAbs=function(e){return c.makeAbs(this,e)}},1283:e=>{"use strict";e.exports=function(e){if(null===e||"object"!=typeof e)return e;if(e instanceof Object)var r={__proto__:t(e)};else r=Object.create(null);return Object.getOwnPropertyNames(e).forEach((function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))})),r};var t=Object.getPrototypeOf||function(e){return e.__proto__}},63735:(e,t,r)=>{var n,i,a=r(79896),o=r(69106),s=r(11995),c=r(1283),l=r(39023);function u(e,t){Object.defineProperty(e,n,{get:function(){return t}})}"function"==typeof Symbol&&"function"==typeof Symbol.for?(n=Symbol.for("graceful-fs.queue"),i=Symbol.for("graceful-fs.previous")):(n="___graceful-fs.queue",i="___graceful-fs.previous");var d,p=function(){};if(l.debuglog?p=l.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(p=function(){var e=l.format.apply(l,arguments);e="GFS4: "+e.split(/\n/).join("\nGFS4: "),console.error(e)}),!a[n]){var f=global[n]||[];u(a,f),a.close=function(e){function t(t,r){return e.call(a,t,(function(e){e||_(),"function"==typeof r&&r.apply(this,arguments)}))}return Object.defineProperty(t,i,{value:e}),t}(a.close),a.closeSync=function(e){function t(t){e.apply(a,arguments),_()}return Object.defineProperty(t,i,{value:e}),t}(a.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",(function(){p(a[n]),r(42613).equal(a[n].length,0)}))}function m(e){o(e),e.gracefulify=m,e.createReadStream=function(t,r){return new e.ReadStream(t,r)},e.createWriteStream=function(t,r){return new e.WriteStream(t,r)};var t=e.readFile;e.readFile=function(e,r,n){"function"==typeof r&&(n=r,r=null);return function e(r,n,i,a){return t(r,n,(function(t){!t||"EMFILE"!==t.code&&"ENFILE"!==t.code?"function"==typeof i&&i.apply(this,arguments):g([e,[r,n,i],t,a||Date.now(),Date.now()])}))}(e,r,n)};var r=e.writeFile;e.writeFile=function(e,t,n,i){"function"==typeof n&&(i=n,n=null);return function e(t,n,i,a,o){return r(t,n,i,(function(r){!r||"EMFILE"!==r.code&&"ENFILE"!==r.code?"function"==typeof a&&a.apply(this,arguments):g([e,[t,n,i,a],r,o||Date.now(),Date.now()])}))}(e,t,n,i)};var n=e.appendFile;n&&(e.appendFile=function(e,t,r,i){"function"==typeof r&&(i=r,r=null);return function e(t,r,i,a,o){return n(t,r,i,(function(n){!n||"EMFILE"!==n.code&&"ENFILE"!==n.code?"function"==typeof a&&a.apply(this,arguments):g([e,[t,r,i,a],n,o||Date.now(),Date.now()])}))}(e,t,r,i)});var i=e.copyFile;i&&(e.copyFile=function(e,t,r,n){"function"==typeof r&&(n=r,r=0);return function e(t,r,n,a,o){return i(t,r,n,(function(i){!i||"EMFILE"!==i.code&&"ENFILE"!==i.code?"function"==typeof a&&a.apply(this,arguments):g([e,[t,r,n,a],i,o||Date.now(),Date.now()])}))}(e,t,r,n)});var a=e.readdir;e.readdir=function(e,t,r){"function"==typeof t&&(r=t,t=null);var n=c.test(process.version)?function(e,t,r,n){return a(e,i(e,t,r,n))}:function(e,t,r,n){return a(e,t,i(e,t,r,n))};return n(e,t,r);function i(e,t,r,i){return function(a,o){!a||"EMFILE"!==a.code&&"ENFILE"!==a.code?(o&&o.sort&&o.sort(),"function"==typeof r&&r.call(this,a,o)):g([n,[e,t,r],a,i||Date.now(),Date.now()])}}};var c=/^v[0-5]\./;if("v0.8"===process.version.substr(0,4)){var l=s(e);_=l.ReadStream,h=l.WriteStream}var u=e.ReadStream;u&&(_.prototype=Object.create(u.prototype),_.prototype.open=function(){var e=this;v(e.path,e.flags,e.mode,(function(t,r){t?(e.autoClose&&e.destroy(),e.emit("error",t)):(e.fd=r,e.emit("open",r),e.read())}))});var d=e.WriteStream;d&&(h.prototype=Object.create(d.prototype),h.prototype.open=function(){var e=this;v(e.path,e.flags,e.mode,(function(t,r){t?(e.destroy(),e.emit("error",t)):(e.fd=r,e.emit("open",r))}))}),Object.defineProperty(e,"ReadStream",{get:function(){return _},set:function(e){_=e},enumerable:!0,configurable:!0}),Object.defineProperty(e,"WriteStream",{get:function(){return h},set:function(e){h=e},enumerable:!0,configurable:!0});var p=_;Object.defineProperty(e,"FileReadStream",{get:function(){return p},set:function(e){p=e},enumerable:!0,configurable:!0});var f=h;function _(e,t){return this instanceof _?(u.apply(this,arguments),this):_.apply(Object.create(_.prototype),arguments)}function h(e,t){return this instanceof h?(d.apply(this,arguments),this):h.apply(Object.create(h.prototype),arguments)}Object.defineProperty(e,"FileWriteStream",{get:function(){return f},set:function(e){f=e},enumerable:!0,configurable:!0});var y=e.open;function v(e,t,r,n){return"function"==typeof r&&(n=r,r=null),function e(t,r,n,i,a){return y(t,r,n,(function(o,s){!o||"EMFILE"!==o.code&&"ENFILE"!==o.code?"function"==typeof i&&i.apply(this,arguments):g([e,[t,r,n,i],o,a||Date.now(),Date.now()])}))}(e,t,r,n)}return e.open=v,e}function g(e){p("ENQUEUE",e[0].name,e[1]),a[n].push(e),h()}function _(){for(var e=Date.now(),t=0;t<a[n].length;++t)a[n][t].length>2&&(a[n][t][3]=e,a[n][t][4]=e);h()}function h(){if(clearTimeout(d),d=void 0,0!==a[n].length){var e=a[n].shift(),t=e[0],r=e[1],i=e[2],o=e[3],s=e[4];if(void 0===o)p("RETRY",t.name,r),t.apply(null,r);else if(Date.now()-o>=6e4){p("TIMEOUT",t.name,r);var c=r.pop();"function"==typeof c&&c.call(null,i)}else{var l=Date.now()-s,u=Math.max(s-o,1);l>=Math.min(1.2*u,100)?(p("RETRY",t.name,r),t.apply(null,r.concat([o]))):a[n].push(e)}void 0===d&&(d=setTimeout(h,0))}}global[n]||u(global,a[n]),e.exports=m(c(a)),process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!a.__patched&&(e.exports=m(a),a.__patched=!0)},11995:(e,t,r)=>{var n=r(2203).Stream;e.exports=function(e){return{ReadStream:function t(r,i){if(!(this instanceof t))return new t(r,i);n.call(this);var a=this;this.path=r,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=65536,i=i||{};for(var o=Object.keys(i),s=0,c=o.length;s<c;s++){var l=o[s];this[l]=i[l]}this.encoding&&this.setEncoding(this.encoding);if(void 0!==this.start){if("number"!=typeof this.start)throw TypeError("start must be a Number");if(void 0===this.end)this.end=1/0;else if("number"!=typeof this.end)throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(null!==this.fd)return void process.nextTick((function(){a._read()}));e.open(this.path,this.flags,this.mode,(function(e,t){if(e)return a.emit("error",e),void(a.readable=!1);a.fd=t,a.emit("open",t),a._read()}))},WriteStream:function t(r,i){if(!(this instanceof t))return new t(r,i);n.call(this),this.path=r,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,i=i||{};for(var a=Object.keys(i),o=0,s=a.length;o<s;o++){var c=a[o];this[c]=i[c]}if(void 0!==this.start){if("number"!=typeof this.start)throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],null===this.fd&&(this._open=e.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}}},69106:(e,t,r)=>{var n=r(49140),i=process.cwd,a=null,o=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return a||(a=i.call(process)),a};try{process.cwd()}catch(e){}if("function"==typeof process.chdir){var s=process.chdir;process.chdir=function(e){a=null,s.call(process,e)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,s)}e.exports=function(e){n.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&function(e){e.lchmod=function(t,r,i){e.open(t,n.O_WRONLY|n.O_SYMLINK,r,(function(t,n){t?i&&i(t):e.fchmod(n,r,(function(t){e.close(n,(function(e){i&&i(t||e)}))}))}))},e.lchmodSync=function(t,r){var i,a=e.openSync(t,n.O_WRONLY|n.O_SYMLINK,r),o=!0;try{i=e.fchmodSync(a,r),o=!1}finally{if(o)try{e.closeSync(a)}catch(e){}else e.closeSync(a)}return i}}(e);e.lutimes||function(e){n.hasOwnProperty("O_SYMLINK")&&e.futimes?(e.lutimes=function(t,r,i,a){e.open(t,n.O_SYMLINK,(function(t,n){t?a&&a(t):e.futimes(n,r,i,(function(t){e.close(n,(function(e){a&&a(t||e)}))}))}))},e.lutimesSync=function(t,r,i){var a,o=e.openSync(t,n.O_SYMLINK),s=!0;try{a=e.futimesSync(o,r,i),s=!1}finally{if(s)try{e.closeSync(o)}catch(e){}else e.closeSync(o)}return a}):e.futimes&&(e.lutimes=function(e,t,r,n){n&&process.nextTick(n)},e.lutimesSync=function(){})}(e);e.chown=i(e.chown),e.fchown=i(e.fchown),e.lchown=i(e.lchown),e.chmod=t(e.chmod),e.fchmod=t(e.fchmod),e.lchmod=t(e.lchmod),e.chownSync=a(e.chownSync),e.fchownSync=a(e.fchownSync),e.lchownSync=a(e.lchownSync),e.chmodSync=r(e.chmodSync),e.fchmodSync=r(e.fchmodSync),e.lchmodSync=r(e.lchmodSync),e.stat=s(e.stat),e.fstat=s(e.fstat),e.lstat=s(e.lstat),e.statSync=c(e.statSync),e.fstatSync=c(e.fstatSync),e.lstatSync=c(e.lstatSync),e.chmod&&!e.lchmod&&(e.lchmod=function(e,t,r){r&&process.nextTick(r)},e.lchmodSync=function(){});e.chown&&!e.lchown&&(e.lchown=function(e,t,r,n){n&&process.nextTick(n)},e.lchownSync=function(){});"win32"===o&&(e.rename="function"!=typeof e.rename?e.rename:function(t){function r(r,n,i){var a=Date.now(),o=0;t(r,n,(function s(c){if(c&&("EACCES"===c.code||"EPERM"===c.code||"EBUSY"===c.code)&&Date.now()-a<6e4)return setTimeout((function(){e.stat(n,(function(e,a){e&&"ENOENT"===e.code?t(r,n,s):i(c)}))}),o),void(o<100&&(o+=10));i&&i(c)}))}return Object.setPrototypeOf&&Object.setPrototypeOf(r,t),r}(e.rename));function t(t){return t?function(r,n,i){return t.call(e,r,n,(function(e){l(e)&&(e=null),i&&i.apply(this,arguments)}))}:t}function r(t){return t?function(r,n){try{return t.call(e,r,n)}catch(e){if(!l(e))throw e}}:t}function i(t){return t?function(r,n,i,a){return t.call(e,r,n,i,(function(e){l(e)&&(e=null),a&&a.apply(this,arguments)}))}:t}function a(t){return t?function(r,n,i){try{return t.call(e,r,n,i)}catch(e){if(!l(e))throw e}}:t}function s(t){return t?function(r,n,i){function a(e,t){t&&(t.uid<0&&(t.uid+=4294967296),t.gid<0&&(t.gid+=4294967296)),i&&i.apply(this,arguments)}return"function"==typeof n&&(i=n,n=null),n?t.call(e,r,n,a):t.call(e,r,a)}:t}function c(t){return t?function(r,n){var i=n?t.call(e,r,n):t.call(e,r);return i&&(i.uid<0&&(i.uid+=4294967296),i.gid<0&&(i.gid+=4294967296)),i}:t}function l(e){return!e||("ENOSYS"===e.code||!(process.getuid&&0===process.getuid()||"EINVAL"!==e.code&&"EPERM"!==e.code))}e.read="function"!=typeof e.read?e.read:function(t){function r(r,n,i,a,o,s){var c;if(s&&"function"==typeof s){var l=0;c=function(u,d,p){if(u&&"EAGAIN"===u.code&&l<10)return l++,t.call(e,r,n,i,a,o,c);s.apply(this,arguments)}}return t.call(e,r,n,i,a,o,c)}return Object.setPrototypeOf&&Object.setPrototypeOf(r,t),r}(e.read),e.readSync="function"!=typeof e.readSync?e.readSync:(u=e.readSync,function(t,r,n,i,a){for(var o=0;;)try{return u.call(e,t,r,n,i,a)}catch(e){if("EAGAIN"===e.code&&o<10){o++;continue}throw e}});var u}},90874:e=>{"use strict";var t,r,n=global.MutationObserver||global.WebKitMutationObserver;if(process.browser)if(n){var i=0,a=new n(l),o=global.document.createTextNode("");a.observe(o,{characterData:!0}),t=function(){o.data=i=++i%2}}else if(global.setImmediate||void 0===global.MessageChannel)t="document"in global&&"onreadystatechange"in global.document.createElement("script")?function(){var e=global.document.createElement("script");e.onreadystatechange=function(){l(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},global.document.documentElement.appendChild(e)}:function(){setTimeout(l,0)};else{var s=new global.MessageChannel;s.port1.onmessage=l,t=function(){s.port2.postMessage(0)}}else t=function(){process.nextTick(l)};var c=[];function l(){var e,t;r=!0;for(var n=c.length;n;){for(t=c,c=[],e=-1;++e<n;)t[e]();n=c.length}r=!1}e.exports=function(e){1!==c.push(e)||r||t()}},53423:(e,t,r)=>{var n=r(86587),i=Object.create(null),a=r(83519);e.exports=n((function(e,t){return i[e]?(i[e].push(t),null):(i[e]=[t],function(e){return a((function t(){var r=i[e],n=r.length,a=function(e){for(var t=e.length,r=[],n=0;n<t;n++)r[n]=e[n];return r}(arguments);try{for(var o=0;o<n;o++)r[o].apply(null,a)}finally{r.length>n?(r.splice(0,n),process.nextTick((function(){t.apply(null,a)}))):delete i[e]}}))}(e))}))},72017:(e,t,r)=>{try{var n=r(39023);if("function"!=typeof n.inherits)throw"";e.exports=n.inherits}catch(t){e.exports=r(56698)}},56698: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}}},64634:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},32678:(e,t,r)=>{"use strict";var n=r(11132),i=r(76954),a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";t.encode=function(e){for(var t,r,i,o,s,c,l,u=[],d=0,p=e.length,f=p,m="string"!==n.getTypeOf(e);d<e.length;)f=p-d,m?(t=e[d++],r=d<p?e[d++]:0,i=d<p?e[d++]:0):(t=e.charCodeAt(d++),r=d<p?e.charCodeAt(d++):0,i=d<p?e.charCodeAt(d++):0),o=t>>2,s=(3&t)<<4|r>>4,c=f>1?(15&r)<<2|i>>6:64,l=f>2?63&i:64,u.push(a.charAt(o)+a.charAt(s)+a.charAt(c)+a.charAt(l));return u.join("")},t.decode=function(e){var t,r,n,o,s,c,l=0,u=0,d="data:";if(e.substr(0,5)===d)throw new Error("Invalid base64 input, it looks like a data url.");var p,f=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===a.charAt(64)&&f--,e.charAt(e.length-2)===a.charAt(64)&&f--,f%1!=0)throw new Error("Invalid base64 input, bad content length.");for(p=i.uint8array?new Uint8Array(0|f):new Array(0|f);l<e.length;)t=a.indexOf(e.charAt(l++))<<2|(o=a.indexOf(e.charAt(l++)))>>4,r=(15&o)<<4|(s=a.indexOf(e.charAt(l++)))>>2,n=(3&s)<<6|(c=a.indexOf(e.charAt(l++))),p[u++]=t,64!==s&&(p[u++]=r),64!==c&&(p[u++]=n);return p}},18807:(e,t,r)=>{"use strict";var n=r(37882),i=r(4982),a=r(71919),o=r(88432);function s(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}s.prototype={getContentWorker:function(){var e=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(e,t,r){return e.pipe(new a).pipe(new o("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new o("compressedSize")).withStreamInfo("compression",t)},e.exports=s},63078:(e,t,r)=>{"use strict";var n=r(80193);t.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},t.DEFLATE=r(32039)},88786:(e,t,r)=>{"use strict";var n=r(11132);var i=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();e.exports=function(e,t){return void 0!==e&&e.length?"string"!==n.getTypeOf(e)?function(e,t,r,n){var a=i,o=n+r;e=~e;for(var s=n;s<o;s++)e=e>>>8^a[255&(e^t[s])];return~e}(0|t,e,e.length,0):function(e,t,r,n){var a=i,o=n+r;e=~e;for(var s=n;s<o;s++)e=e>>>8^a[255&(e^t.charCodeAt(s))];return~e}(0|t,e,e.length,0):0}},75051:(e,t)=>{"use strict";t.base64=!1,t.binary=!1,t.dir=!1,t.createFolders=!0,t.date=null,t.compression=null,t.compressionOptions=null,t.comment=null,t.unixPermissions=null,t.dosPermissions=null},37882:(e,t,r)=>{"use strict";var n=null;n="undefined"!=typeof Promise?Promise:r(39977),e.exports={Promise:n}},32039:(e,t,r)=>{"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=r(51668),a=r(11132),o=r(80193),s=n?"uint8array":"array";function c(e,t){o.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}t.magic="\b\0",a.inherits(c,o),c.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(a.transformTo(s,e.data),!1)},c.prototype.flush=function(){o.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},t.compressWorker=function(e){return new c("Deflate",e)},t.uncompressWorker=function(){return new c("Inflate",{})}},33890:(e,t,r)=>{"use strict";var n=r(11132),i=r(80193),a=r(8222),o=r(88786),s=r(6407),c=function(e,t){var r,n="";for(r=0;r<t;r++)n+=String.fromCharCode(255&e),e>>>=8;return n},l=function(e,t,r,i,l,u){var d,p,f=e.file,m=e.compression,g=u!==a.utf8encode,_=n.transformTo("string",u(f.name)),h=n.transformTo("string",a.utf8encode(f.name)),y=f.comment,v=n.transformTo("string",u(y)),b=n.transformTo("string",a.utf8encode(y)),k=h.length!==f.name.length,x=b.length!==y.length,E="",S="",D="",w=f.dir,T=f.date,C={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(C.crc32=e.crc32,C.compressedSize=e.compressedSize,C.uncompressedSize=e.uncompressedSize);var A=0;t&&(A|=8),g||!k&&!x||(A|=2048);var N,P,I,F=0,O=0;w&&(F|=16),"UNIX"===l?(O=798,F|=(N=f.unixPermissions,P=w,I=N,N||(I=P?16893:33204),(65535&I)<<16)):(O=20,F|=63&(f.dosPermissions||0)),d=T.getUTCHours(),d<<=6,d|=T.getUTCMinutes(),d<<=5,d|=T.getUTCSeconds()/2,p=T.getUTCFullYear()-1980,p<<=4,p|=T.getUTCMonth()+1,p<<=5,p|=T.getUTCDate(),k&&(S=c(1,1)+c(o(_),4)+h,E+="up"+c(S.length,2)+S),x&&(D=c(1,1)+c(o(v),4)+b,E+="uc"+c(D.length,2)+D);var R="";return R+="\n\0",R+=c(A,2),R+=m.magic,R+=c(d,2),R+=c(p,2),R+=c(C.crc32,4),R+=c(C.compressedSize,4),R+=c(C.uncompressedSize,4),R+=c(_.length,2),R+=c(E.length,2),{fileRecord:s.LOCAL_FILE_HEADER+R+_+E,dirRecord:s.CENTRAL_FILE_HEADER+c(O,2)+R+c(v.length,2)+"\0\0\0\0"+c(F,4)+c(i,4)+_+E+v}},u=function(e){return s.DATA_DESCRIPTOR+c(e.crc32,4)+c(e.compressedSize,4)+c(e.uncompressedSize,4)};function d(e,t,r,n){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(d,i),d.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,i.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},d.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=l(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},d.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=l(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:u(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},d.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r=this.bytesWritten-e,i=function(e,t,r,i,a){var o=n.transformTo("string",a(i));return s.CENTRAL_DIRECTORY_END+"\0\0\0\0"+c(e,2)+c(e,2)+c(t,4)+c(r,4)+c(o.length,2)+o}(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},d.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},d.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},d.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},d.prototype.error=function(e){var t=this._sources;if(!i.prototype.error.call(this,e))return!1;for(var r=0;r<t.length;r++)try{t[r].error(e)}catch(e){}return!0},d.prototype.lock=function(){i.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},e.exports=d},41269:(e,t,r)=>{"use strict";var n=r(63078),i=r(33890);t.generateWorker=function(e,t,r){var a=new i(t.streamFiles,r,t.platform,t.encodeFileName),o=0;try{e.forEach((function(e,r){o++;var i=function(e,t){var r=e||t,i=n[r];if(!i)throw new Error(r+" is not a valid compression method !");return i}(r.options.compression,t.compression),s=r.options.compressionOptions||t.compressionOptions||{},c=r.dir,l=r.date;r._compressWorker(i,s).withStreamInfo("file",{name:e,dir:c,date:l,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(a)})),a.entriesCount=o}catch(e){a.error(e)}return a}},58833:(e,t,r)=>{"use strict";function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new n;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}n.prototype=r(98442),n.prototype.loadAsync=r(80629),n.support=r(76954),n.defaults=r(75051),n.version="3.10.1",n.loadAsync=function(e,t){return(new n).loadAsync(e,t)},n.external=r(37882),e.exports=n},80629:(e,t,r)=>{"use strict";var n=r(11132),i=r(37882),a=r(8222),o=r(47548),s=r(71919),c=r(50417);function l(e){return new i.Promise((function(t,r){var n=e.decompressed.getContentWorker().pipe(new s);n.on("error",(function(e){r(e)})).on("end",(function(){n.streamInfo.crc32!==e.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}e.exports=function(e,t){var r=this;return t=n.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:a.utf8decode}),c.isNode&&c.isStream(e)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var r=new o(t);return r.load(e),r})).then((function(e){var r=[i.Promise.resolve(e)],n=e.files;if(t.checkCRC32)for(var a=0;a<n.length;a++)r.push(l(n[a]));return i.Promise.all(r)})).then((function(e){for(var i=e.shift(),a=i.files,o=0;o<a.length;o++){var s=a[o],c=s.fileNameStr,l=n.resolve(s.fileNameStr);r.file(l,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders}),s.dir||(r.file(l).unsafeOriginalName=c)}return i.zipComment.length&&(r.comment=i.zipComment),r}))}},50417:e=>{"use strict";e.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},60905:(e,t,r)=>{"use strict";var n=r(11132),i=r(80193);function a(e,t){i.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}n.inherits(a,i),a.prototype._bindStream=function(e){var t=this;this._stream=e,e.pause(),e.on("data",(function(e){t.push({data:e,meta:{percent:0}})})).on("error",(function(e){t.isPaused?this.generatedError=e:t.error(e)})).on("end",(function(){t.isPaused?t._upstreamEnded=!0:t.end()}))},a.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=a},54644:(e,t,r)=>{"use strict";var n=r(30186).Readable;function i(e,t,r){n.call(this,t),this._helper=e;var i=this;e.on("data",(function(e,t){i.push(e)||i._helper.pause(),r&&r(t)})).on("error",(function(e){i.emit("error",e)})).on("end",(function(){i.push(null)}))}r(11132).inherits(i,n),i.prototype._read=function(){this._helper.resume()},e.exports=i},98442:(e,t,r)=>{"use strict";var n=r(8222),i=r(11132),a=r(80193),o=r(88648),s=r(75051),c=r(18807),l=r(89985),u=r(41269),d=r(50417),p=r(60905),f=function(e,t,r){var n,o=i.getTypeOf(t),u=i.extend(r||{},s);u.date=u.date||new Date,null!==u.compression&&(u.compression=u.compression.toUpperCase()),"string"==typeof u.unixPermissions&&(u.unixPermissions=parseInt(u.unixPermissions,8)),u.unixPermissions&&16384&u.unixPermissions&&(u.dir=!0),u.dosPermissions&&16&u.dosPermissions&&(u.dir=!0),u.dir&&(e=g(e)),u.createFolders&&(n=m(e))&&_.call(this,n,!0);var f="string"===o&&!1===u.binary&&!1===u.base64;r&&void 0!==r.binary||(u.binary=!f),(t instanceof c&&0===t.uncompressedSize||u.dir||!t||0===t.length)&&(u.base64=!1,u.binary=!0,t="",u.compression="STORE",o="string");var h=null;h=t instanceof c||t instanceof a?t:d.isNode&&d.isStream(t)?new p(e,t):i.prepareContent(e,t,u.binary,u.optimizedBinaryString,u.base64);var y=new l(e,h,u);this.files[e]=y},m=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return t>0?e.substring(0,t):""},g=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},_=function(e,t){return t=void 0!==t?t:s.createFolders,e=g(e),this.files[e]||f.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function h(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var y={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,n;for(t in this.files)n=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,n)},filter:function(e){var t=[];return this.forEach((function(r,n){e(r,n)&&t.push(n)})),t},file:function(e,t,r){if(1===arguments.length){if(h(e)){var n=e;return this.filter((function(e,t){return!t.dir&&n.test(e)}))}var i=this.files[this.root+e];return i&&!i.dir?i:null}return e=this.root+e,f.call(this,e,t,r),this},folder:function(e){if(!e)return this;if(h(e))return this.filter((function(t,r){return r.dir&&e.test(t)}));var t=this.root+e,r=_.call(this,t),n=this.clone();return n.root=r.name,n},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var r=this.filter((function(t,r){return r.name.slice(0,e.length)===e})),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r={};try{if((r=i.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:n.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");i.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var s=r.comment||this.comment||"";t=u.generateWorker(this,r,s)}catch(e){(t=new a("error")).error(e)}return new o(t,r.type||"string",r.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};e.exports=y},41191:(e,t,r)=>{"use strict";var n=r(15074);function i(e){n.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}r(11132).inherits(i,n),i.prototype.byteAt=function(e){return this.data[this.zero+e]},i.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),a=this.length-4;a>=0;--a)if(this.data[a]===t&&this.data[a+1]===r&&this.data[a+2]===n&&this.data[a+3]===i)return a-this.zero;return-1},i.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),n=e.charCodeAt(2),i=e.charCodeAt(3),a=this.readData(4);return t===a[0]&&r===a[1]&&n===a[2]&&i===a[3]},i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},e.exports=i},15074:(e,t,r)=>{"use strict";var n=r(11132);function i(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return n.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},e.exports=i},32916:(e,t,r)=>{"use strict";var n=r(77959);function i(e){n.call(this,e)}r(11132).inherits(i,n),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},e.exports=i},69663:(e,t,r)=>{"use strict";var n=r(15074);function i(e){n.call(this,e)}r(11132).inherits(i,n),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},e.exports=i},77959:(e,t,r)=>{"use strict";var n=r(41191);function i(e){n.call(this,e)}r(11132).inherits(i,n),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},e.exports=i},69483:(e,t,r)=>{"use strict";var n=r(11132),i=r(76954),a=r(41191),o=r(69663),s=r(32916),c=r(77959);e.exports=function(e){var t=n.getTypeOf(e);return n.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new s(e):i.uint8array?new c(n.transformTo("uint8array",e)):new a(n.transformTo("array",e)):new o(e)}},6407:(e,t)=>{"use strict";t.LOCAL_FILE_HEADER="PK",t.CENTRAL_FILE_HEADER="PK",t.CENTRAL_DIRECTORY_END="PK",t.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",t.ZIP64_CENTRAL_DIRECTORY_END="PK",t.DATA_DESCRIPTOR="PK\b"},81019:(e,t,r)=>{"use strict";var n=r(80193),i=r(11132);function a(e){n.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(a,n),a.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},e.exports=a},71919:(e,t,r)=>{"use strict";var n=r(80193),i=r(88786);function a(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}r(11132).inherits(a,n),a.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},e.exports=a},88432:(e,t,r)=>{"use strict";var n=r(11132),i=r(80193);function a(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}n.inherits(a,i),a.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},e.exports=a},4982:(e,t,r)=>{"use strict";var n=r(11132),i=r(80193);function a(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=n.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}n.inherits(a,i),a.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=a},80193:e=>{"use strict";function t(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}t.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},e.exports=t},88648:(e,t,r)=>{"use strict";var n=r(11132),i=r(81019),a=r(80193),o=r(32678),s=r(76954),c=r(37882),l=null;if(s.nodestream)try{l=r(54644)}catch(e){}function u(e,t){return new c.Promise((function(r,i){var a=[],s=e._internalType,c=e._outputType,l=e._mimeType;e.on("data",(function(e,r){a.push(e),t&&t(r)})).on("error",(function(e){a=[],i(e)})).on("end",(function(){try{var e=function(e,t,r){switch(e){case"blob":return n.newBlob(n.transformTo("arraybuffer",t),r);case"base64":return o.encode(t);default:return n.transformTo(e,t)}}(c,function(e,t){var r,n=0,i=null,a=0;for(r=0;r<t.length;r++)a+=t[r].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(i=new Uint8Array(a),r=0;r<t.length;r++)i.set(t[r],n),n+=t[r].length;return i;case"nodebuffer":return Buffer.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}(s,a),l);r(e)}catch(e){i(e)}a=[]})).resume()}))}function d(e,t,r){var o=t;switch(t){case"blob":case"arraybuffer":o="uint8array";break;case"base64":o="string"}try{this._internalType=o,this._outputType=t,this._mimeType=r,n.checkSupport(o),this._worker=e.pipe(new i(o)),e.lock()}catch(e){this._worker=new a("error"),this._worker.error(e)}}d.prototype={accumulate:function(e){return u(this,e)},on:function(e,t){var r=this;return"data"===e?this._worker.on(e,(function(e){t.call(r,e.data,e.meta)})):this._worker.on(e,(function(){n.delay(t,arguments,r)})),this},resume:function(){return n.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(n.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new l(this,{objectMode:"nodebuffer"!==this._outputType},e)}},e.exports=d},76954:(e,t,r)=>{"use strict";if(t.base64=!0,t.array=!0,t.string=!0,t.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,t.nodebuffer="undefined"!=typeof Buffer,t.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)t.blob=!1;else{var n=new ArrayBuffer(0);try{t.blob=0===new Blob([n],{type:"application/zip"}).size}catch(e){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(n),t.blob=0===i.getBlob("application/zip").size}catch(e){t.blob=!1}}}try{t.nodestream=!!r(30186).Readable}catch(e){t.nodestream=!1}},8222:(e,t,r)=>{"use strict";for(var n=r(11132),i=r(76954),a=r(50417),o=r(80193),s=new Array(256),c=0;c<256;c++)s[c]=c>=252?6:c>=248?5:c>=240?4:c>=224?3:c>=192?2:1;s[254]=s[254]=1;function l(){o.call(this,"utf-8 decode"),this.leftOver=null}function u(){o.call(this,"utf-8 encode")}t.utf8encode=function(e){return i.nodebuffer?a.newBufferFrom(e,"utf-8"):function(e){var t,r,n,a,o,s=e.length,c=0;for(a=0;a<s;a++)55296==(64512&(r=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(n=e.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(n-56320),a++),c+=r<128?1:r<2048?2:r<65536?3:4;for(t=i.uint8array?new Uint8Array(c):new Array(c),o=0,a=0;o<c;a++)55296==(64512&(r=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(n=e.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(n-56320),a++),r<128?t[o++]=r:r<2048?(t[o++]=192|r>>>6,t[o++]=128|63&r):r<65536?(t[o++]=224|r>>>12,t[o++]=128|r>>>6&63,t[o++]=128|63&r):(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63,t[o++]=128|r>>>6&63,t[o++]=128|63&r);return t}(e)},t.utf8decode=function(e){return i.nodebuffer?n.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,r,i,a,o=e.length,c=new Array(2*o);for(r=0,t=0;t<o;)if((i=e[t++])<128)c[r++]=i;else if((a=s[i])>4)c[r++]=65533,t+=a-1;else{for(i&=2===a?31:3===a?15:7;a>1&&t<o;)i=i<<6|63&e[t++],a--;a>1?c[r++]=65533:i<65536?c[r++]=i:(i-=65536,c[r++]=55296|i>>10&1023,c[r++]=56320|1023&i)}return c.length!==r&&(c.subarray?c=c.subarray(0,r):c.length=r),n.applyFromCharCode(c)}(e=n.transformTo(i.uint8array?"uint8array":"array",e))},n.inherits(l,o),l.prototype.processChunk=function(e){var r=n.transformTo(i.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var a=r;(r=new Uint8Array(a.length+this.leftOver.length)).set(this.leftOver,0),r.set(a,this.leftOver.length)}else r=this.leftOver.concat(r);this.leftOver=null}var o=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+s[e[r]]>t?r:t}(r),c=r;o!==r.length&&(i.uint8array?(c=r.subarray(0,o),this.leftOver=r.subarray(o,r.length)):(c=r.slice(0,o),this.leftOver=r.slice(o,r.length))),this.push({data:t.utf8decode(c),meta:e.meta})},l.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:t.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},t.Utf8DecodeWorker=l,n.inherits(u,o),u.prototype.processChunk=function(e){this.push({data:t.utf8encode(e.data),meta:e.meta})},t.Utf8EncodeWorker=u},11132:(e,t,r)=>{"use strict";var n=r(76954),i=r(32678),a=r(50417),o=r(37882);function s(e){return e}function c(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}r(42791),t.newBlob=function(e,r){t.checkSupport("blob");try{return new Blob([e],{type:r})}catch(t){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(e),n.getBlob(r)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var l={stringifyByChunk:function(e,t,r){var n=[],i=0,a=e.length;if(a<=r)return String.fromCharCode.apply(null,e);for(;i<a;)"array"===t||"nodebuffer"===t?n.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+r,a)))):n.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+r,a)))),i+=r;return n.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return n.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return n.nodebuffer&&1===String.fromCharCode.apply(null,a.allocBuffer(1)).length}catch(e){return!1}}()}};function u(e){var r=65536,n=t.getTypeOf(e),i=!0;if("uint8array"===n?i=l.applyCanBeUsed.uint8array:"nodebuffer"===n&&(i=l.applyCanBeUsed.nodebuffer),i)for(;r>1;)try{return l.stringifyByChunk(e,n,r)}catch(e){r=Math.floor(r/2)}return l.stringifyByChar(e)}function d(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}t.applyFromCharCode=u;var p={};p.string={string:s,array:function(e){return c(e,new Array(e.length))},arraybuffer:function(e){return p.string.uint8array(e).buffer},uint8array:function(e){return c(e,new Uint8Array(e.length))},nodebuffer:function(e){return c(e,a.allocBuffer(e.length))}},p.array={string:u,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(e)}},p.arraybuffer={string:function(e){return u(new Uint8Array(e))},array:function(e){return d(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return a.newBufferFrom(new Uint8Array(e))}},p.uint8array={string:u,array:function(e){return d(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return a.newBufferFrom(e)}},p.nodebuffer={string:u,array:function(e){return d(e,new Array(e.length))},arraybuffer:function(e){return p.nodebuffer.uint8array(e).buffer},uint8array:function(e){return d(e,new Uint8Array(e.length))},nodebuffer:s},t.transformTo=function(e,r){if(r||(r=""),!e)return r;t.checkSupport(e);var n=t.getTypeOf(r);return p[n][e](r)},t.resolve=function(e){for(var t=e.split("/"),r=[],n=0;n<t.length;n++){var i=t[n];"."===i||""===i&&0!==n&&n!==t.length-1||(".."===i?r.pop():r.push(i))}return r.join("/")},t.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":n.nodebuffer&&a.isBuffer(e)?"nodebuffer":n.uint8array&&e instanceof Uint8Array?"uint8array":n.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},t.checkSupport=function(e){if(!n[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},t.MAX_VALUE_16BITS=65535,t.MAX_VALUE_32BITS=-1,t.pretty=function(e){var t,r,n="";for(r=0;r<(e||"").length;r++)n+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return n},t.delay=function(e,t,r){setImmediate((function(){e.apply(r||null,t||[])}))},t.inherits=function(e,t){var r=function(){};r.prototype=t.prototype,e.prototype=new r},t.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===r[t]&&(r[t]=arguments[e][t]);return r},t.prepareContent=function(e,r,a,s,l){return o.Promise.resolve(r).then((function(e){return n.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new o.Promise((function(t,r){var n=new FileReader;n.onload=function(e){t(e.target.result)},n.onerror=function(e){r(e.target.error)},n.readAsArrayBuffer(e)})):e})).then((function(r){var u,d=t.getTypeOf(r);return d?("arraybuffer"===d?r=t.transformTo("uint8array",r):"string"===d&&(l?r=i.decode(r):a&&!0!==s&&(r=c(u=r,n.uint8array?new Uint8Array(u.length):new Array(u.length)))),r):o.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},47548:(e,t,r)=>{"use strict";var n=r(69483),i=r(11132),a=r(6407),o=r(17404),s=r(76954);function c(e){this.files=[],this.loadOptions=e}c.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(t)+", expected "+i.pretty(e)+")")}},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var n=this.reader.readString(4)===t;return this.reader.setIndex(r),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=s.uint8array?"uint8array":"array",r=i.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,r,n=this.zip64EndOfCentralSize-44;0<n;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(a.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);)(e=new o({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);if(e<0)throw!this.isSignature(0,a.LOCAL_FILE_HEADER)?new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"):new Error("Corrupted zip: can't find end of central directory");this.reader.setIndex(e);var t=e;if(this.checkSignature(a.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=t-r;if(n>0)this.isSignature(t,a.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(e){this.reader=n(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=c},17404:(e,t,r)=>{"use strict";var n=r(69483),i=r(11132),a=r(18807),o=r(88786),s=r(8222),c=r(63078),l=r(76954);function u(e,t){this.options=e,this.loadOptions=t}u.prototype={isEncrypted:function(){return!(1&~this.bitFlag)},useUTF8:function(){return!(2048&~this.bitFlag)},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in c)if(Object.prototype.hasOwnProperty.call(c,t)&&c[t].magic===e)return c[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new a(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===e&&(this.dosPermissions=63&this.externalFileAttributes),3===e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,r,n,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<i;)t=e.readInt(2),r=e.readInt(2),n=e.readData(r),this.extraFields[t]={id:t,length:r,value:n};e.setIndex(i)},handleUTF8:function(){var e=l.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=i.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var a=i.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=n(e.value);return 1!==t.readInt(1)||o(this.fileName)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=n(e.value);return 1!==t.readInt(1)||o(this.fileComment)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null}},e.exports=u},89985:(e,t,r)=>{"use strict";var n=r(88648),i=r(4982),a=r(8222),o=r(18807),s=r(80193),c=function(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}};c.prototype={internalStream:function(e){var t=null,r="string";try{if(!e)throw new Error("No output type specified.");var i="string"===(r=e.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),t=this._decompressWorker();var o=!this._dataBinary;o&&!i&&(t=t.pipe(new a.Utf8EncodeWorker)),!o&&i&&(t=t.pipe(new a.Utf8DecodeWorker))}catch(e){(t=new s("error")).error(e)}return new n(t,r,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof o&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new a.Utf8EncodeWorker)),o.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof o?this._data.getContentWorker():this._data instanceof s?this._data:new i(this._data)}};for(var l=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},d=0;d<l.length;d++)c.prototype[l[d]]=u;e.exports=c},61538:(e,t,r)=>{"use strict";var n=r(33225),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=d;var a=Object.create(r(15622));a.inherits=r(72017);var o=r(92672),s=r(39744);a.inherits(d,o);for(var c=i(s.prototype),l=0;l<c.length;l++){var u=c[l];d.prototype[u]||(d.prototype[u]=s.prototype[u])}function d(e){if(!(this instanceof d))return new d(e);o.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",p)}function p(){this.allowHalfOpen||this._writableState.ended||n.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),d.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},82564:(e,t,r)=>{"use strict";e.exports=a;var n=r(97294),i=Object.create(r(15622));function a(e){if(!(this instanceof a))return new a(e);n.call(this,e)}i.inherits=r(72017),i.inherits(a,n),a.prototype._transform=function(e,t,r){r(null,e)}},92672:(e,t,r)=>{"use strict";var n=r(33225);e.exports=y;var i,a=r(64634);y.ReadableState=h;r(24434).EventEmitter;var o=function(e,t){return e.listeners(t).length},s=r(7964),c=r(92861).Buffer,l=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u=Object.create(r(15622));u.inherits=r(72017);var d=r(39023),p=void 0;p=d&&d.debuglog?d.debuglog("stream"):function(){};var f,m=r(49026),g=r(20332);u.inherits(y,s);var _=["error","close","destroy","pause","resume"];function h(e,t){e=e||{};var n=t instanceof(i=i||r(61538));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var a=e.highWaterMark,o=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=a||0===a?a:n&&(o||0===o)?o:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=r(83141).I),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function y(e){if(i=i||r(61538),!(this instanceof y))return new y(e);this._readableState=new h(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function v(e,t,r,n,i){var a,o=e._readableState;null===t?(o.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,E(e)}(e,o)):(i||(a=function(e,t){var r;n=t,c.isBuffer(n)||n instanceof l||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(o,t)),a?e.emit("error",a):o.objectMode||t&&t.length>0?("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),n?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):b(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||0!==t.length?b(e,o,t,!1):D(e,o)):b(e,o,t,!1))):n||(o.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(o)}function b(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&E(e)),D(e,t)}Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),y.prototype.destroy=g.destroy,y.prototype._undestroy=g.undestroy,y.prototype._destroy=function(e,t){this.push(null),t(e)},y.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=c.from(e,t),t=""),r=!0),v(this,e,t,!1,r)},y.prototype.unshift=function(e){return v(this,e,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(e){return f||(f=r(83141).I),this._readableState.decoder=new f(e),this._readableState.encoding=e,this};var k=8388608;function x(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=k?e=k:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function E(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(p("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?n.nextTick(S,e):S(e))}function S(e){p("emit readable"),e.emit("readable"),A(e)}function D(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(w,e,t))}function w(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(p("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function T(e){p("readable nexttick read 0"),e.read(0)}function C(e,t){t.reading||(p("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),A(e),t.flowing&&!t.reading&&e.read(0)}function A(e){var t=e._readableState;for(p("flow",t.flowing);t.flowing&&null!==e.read(););}function N(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,i=r.data;e-=i.length;for(;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),0===(e-=o)){o===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=c.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var a=n.data,o=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,o),0===(e-=o)){o===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(o));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function P(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,n.nextTick(I,t,e))}function I(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function F(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}y.prototype.read=function(e){p("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return p("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?P(this):E(this),null;if(0===(e=x(e,t))&&t.ended)return 0===t.length&&P(this),null;var n,i=t.needReadable;return p("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&p("length less than watermark",i=!0),t.ended||t.reading?p("reading or ended",i=!1):i&&(p("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=x(r,t))),null===(n=e>0?N(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&P(this)),null!==n&&this.emit("data",n),n},y.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,p("pipe count=%d opts=%j",i.pipesCount,t);var s=(!t||!1!==t.end)&&e!==process.stdout&&e!==process.stderr?l:y;function c(t,n){p("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,p("cleanup"),e.removeListener("close",_),e.removeListener("finish",h),e.removeListener("drain",u),e.removeListener("error",g),e.removeListener("unpipe",c),r.removeListener("end",l),r.removeListener("end",y),r.removeListener("data",m),d=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function l(){p("onend"),e.end()}i.endEmitted?n.nextTick(s):r.once("end",s),e.on("unpipe",c);var u=function(e){return function(){var t=e._readableState;p("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,A(e))}}(r);e.on("drain",u);var d=!1;var f=!1;function m(t){p("ondata"),f=!1,!1!==e.write(t)||f||((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==F(i.pipes,e))&&!d&&(p("false write response, pause",i.awaitDrain),i.awaitDrain++,f=!0),r.pause())}function g(t){p("onerror",t),y(),e.removeListener("error",g),0===o(e,"error")&&e.emit("error",t)}function _(){e.removeListener("finish",h),y()}function h(){p("onfinish"),e.removeListener("close",_),y()}function y(){p("unpipe"),r.unpipe(e)}return r.on("data",m),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",g),e.once("close",_),e.once("finish",h),e.emit("pipe",r),i.flowing||(p("pipe resume"),r.resume()),e},y.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=F(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},y.prototype.on=function(e,t){var r=s.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var i=this._readableState;i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.emittedReadable=!1,i.reading?i.length&&E(this):n.nextTick(T,this))}return r},y.prototype.addListener=y.prototype.on,y.prototype.resume=function(){var e=this._readableState;return e.flowing||(p("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(C,e,t))}(this,e)),this},y.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this},y.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(p("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(p("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<_.length;a++)e.on(_[a],this.emit.bind(this,_[a]));return this._read=function(t){p("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),y._fromList=N},97294:(e,t,r)=>{"use strict";e.exports=o;var n=r(61538),i=Object.create(r(15622));function a(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);n.call(this,e),this._transformState={afterTransform:a.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"==typeof this._flush?this._flush((function(t,r){c(e,t,r)})):c(this,null,null)}function c(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=r(72017),i.inherits(o,n),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},o.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,(function(e){t(e),r.emit("close")}))}},39744:(e,t,r)=>{"use strict";var n=r(33225);function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}e.exports=_;var a,o=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:n.nextTick;_.WritableState=g;var s=Object.create(r(15622));s.inherits=r(72017);var c={deprecate:r(27983)},l=r(7964),u=r(92861).Buffer,d=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var p,f=r(20332);function m(){}function g(e,t){a=a||r(61538),e=e||{};var s=t instanceof a;this.objectMode=!!e.objectMode,s&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var c=e.highWaterMark,l=e.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=c||0===c?c:s&&(l||0===l)?l:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var d=!1===e.decodeStrings;this.decodeStrings=!d,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,i=r.sync,a=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,i,a){--t.pendingcb,r?(n.nextTick(a,i),n.nextTick(x,e,t),e._writableState.errorEmitted=!0,e.emit("error",i)):(a(i),e._writableState.errorEmitted=!0,e.emit("error",i),x(e,t))}(e,r,i,t,a);else{var s=b(r);s||r.corked||r.bufferProcessing||!r.bufferedRequest||v(e,r),i?o(y,e,r,s,a):y(e,r,s,a)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function _(e){if(a=a||r(61538),!(p.call(_,this)||this instanceof a))return new _(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),l.call(this)}function h(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function y(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),x(e,t)}function v(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,a=new Array(n),o=t.corkedRequestsFree;o.entry=r;for(var s=0,c=!0;r;)a[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;a.allBuffers=c,h(e,t,!0,t.length,a,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,u=r.encoding,d=r.callback;if(h(e,t,!1,t.objectMode?1:l.length,l,u,d),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function b(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),x(e,t)}))}function x(e,t){var r=b(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,n.nextTick(k,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}s.inherits(_,l),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(_,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===_&&(e&&e._writableState instanceof g)}})):p=function(e){return e instanceof this},_.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},_.prototype.write=function(e,t,r){var i,a=this._writableState,o=!1,s=!a.objectMode&&(i=e,u.isBuffer(i)||i instanceof d);return s&&!u.isBuffer(e)&&(e=function(e){return u.from(e)}(e)),"function"==typeof t&&(r=t,t=null),s?t="buffer":t||(t=a.defaultEncoding),"function"!=typeof r&&(r=m),a.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),n.nextTick(t,r)}(this,r):(s||function(e,t,r,i){var a=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),n.nextTick(i,o),a=!1),a}(this,a,e,r))&&(a.pendingcb++,o=function(e,t,r,n,i,a){if(!r){var o=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=u.from(t,r));return t}(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=t.objectMode?1:n.length;t.length+=s;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else h(e,t,!1,s,n,i,a);return c}(this,a,s,e,t,r)),o},_.prototype.cork=function(){this._writableState.corked++},_.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||v(this,e))},_.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(_.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),_.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},_.prototype._writev=null,_.prototype.end=function(e,t,r){var i=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,r){t.ending=!0,x(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,i,r)},Object.defineProperty(_.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),_.prototype.destroy=f.destroy,_.prototype._undestroy=f.undestroy,_.prototype._destroy=function(e,t){this.end(),t(e)}},49026:(e,t,r)=>{"use strict";var n=r(92861).Buffer,i=r(39023);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);for(var t,r,i,a=n.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,r=a,i=s,t.copy(r,i),s+=o.data.length,o=o.next;return a},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},20332:(e,t,r)=>{"use strict";var n=r(33225);function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,a=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return a||o?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(i,this,e)):n.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,n.nextTick(i,r,e)):n.nextTick(i,r,e):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},7964:(e,t,r)=>{e.exports=r(2203)},30186:(e,t,r)=>{var n=r(2203);"disable"===process.env.READABLE_STREAM&&n?(e.exports=n,(t=e.exports=n.Readable).Readable=n.Readable,t.Writable=n.Writable,t.Duplex=n.Duplex,t.Transform=n.Transform,t.PassThrough=n.PassThrough,t.Stream=n):((t=e.exports=r(92672)).Stream=n||t,t.Readable=t,t.Writable=r(39744),t.Duplex=r(61538),t.Transform=r(97294),t.PassThrough=r(82564))},85:(e,t,r)=>{var n=r(39023),i=r(28768);function a(e,t,r){e[t]=function(){return delete e[t],r.apply(this,arguments),this[t].apply(this,arguments)}}function o(e,t){if(!(this instanceof o))return new o(e,t);i.call(this,t),a(this,"_read",(function(){var r=e.call(this,t),n=this.emit.bind(this,"error");r.on("error",n),r.pipe(this)})),this.emit("readable")}function s(e,t){if(!(this instanceof s))return new s(e,t);i.call(this,t),a(this,"_write",(function(){var r=e.call(this,t),n=this.emit.bind(this,"error");r.on("error",n),this.pipe(r)})),this.emit("writable")}e.exports={Readable:o,Writable:s},n.inherits(o,i),n.inherits(s,i)},42676:(e,t,r)=>{"use strict";var n=r(33225),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=d;var a=Object.create(r(15622));a.inherits=r(72017);var o=r(82922),s=r(34734);a.inherits(d,o);for(var c=i(s.prototype),l=0;l<c.length;l++){var u=c[l];d.prototype[u]||(d.prototype[u]=s.prototype[u])}function d(e){if(!(this instanceof d))return new d(e);o.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",p)}function p(){this.allowHalfOpen||this._writableState.ended||n.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),d.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},86462:(e,t,r)=>{"use strict";e.exports=a;var n=r(75828),i=Object.create(r(15622));function a(e){if(!(this instanceof a))return new a(e);n.call(this,e)}i.inherits=r(72017),i.inherits(a,n),a.prototype._transform=function(e,t,r){r(null,e)}},82922:(e,t,r)=>{"use strict";var n=r(33225);e.exports=y;var i,a=r(64634);y.ReadableState=h;r(24434).EventEmitter;var o=function(e,t){return e.listeners(t).length},s=r(57354),c=r(92861).Buffer,l=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u=Object.create(r(15622));u.inherits=r(72017);var d=r(39023),p=void 0;p=d&&d.debuglog?d.debuglog("stream"):function(){};var f,m=r(14156),g=r(18762);u.inherits(y,s);var _=["error","close","destroy","pause","resume"];function h(e,t){e=e||{};var n=t instanceof(i=i||r(42676));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var a=e.highWaterMark,o=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=a||0===a?a:n&&(o||0===o)?o:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=r(83141).I),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function y(e){if(i=i||r(42676),!(this instanceof y))return new y(e);this._readableState=new h(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function v(e,t,r,n,i){var a,o=e._readableState;null===t?(o.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,E(e)}(e,o)):(i||(a=function(e,t){var r;n=t,c.isBuffer(n)||n instanceof l||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(o,t)),a?e.emit("error",a):o.objectMode||t&&t.length>0?("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),n?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):b(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||0!==t.length?b(e,o,t,!1):D(e,o)):b(e,o,t,!1))):n||(o.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(o)}function b(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&E(e)),D(e,t)}Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),y.prototype.destroy=g.destroy,y.prototype._undestroy=g.undestroy,y.prototype._destroy=function(e,t){this.push(null),t(e)},y.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=c.from(e,t),t=""),r=!0),v(this,e,t,!1,r)},y.prototype.unshift=function(e){return v(this,e,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(e){return f||(f=r(83141).I),this._readableState.decoder=new f(e),this._readableState.encoding=e,this};var k=8388608;function x(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=k?e=k:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function E(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(p("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?n.nextTick(S,e):S(e))}function S(e){p("emit readable"),e.emit("readable"),A(e)}function D(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(w,e,t))}function w(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(p("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function T(e){p("readable nexttick read 0"),e.read(0)}function C(e,t){t.reading||(p("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),A(e),t.flowing&&!t.reading&&e.read(0)}function A(e){var t=e._readableState;for(p("flow",t.flowing);t.flowing&&null!==e.read(););}function N(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,i=r.data;e-=i.length;for(;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),0===(e-=o)){o===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=c.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var a=n.data,o=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,o),0===(e-=o)){o===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(o));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function P(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,n.nextTick(I,t,e))}function I(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function F(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}y.prototype.read=function(e){p("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return p("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?P(this):E(this),null;if(0===(e=x(e,t))&&t.ended)return 0===t.length&&P(this),null;var n,i=t.needReadable;return p("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&p("length less than watermark",i=!0),t.ended||t.reading?p("reading or ended",i=!1):i&&(p("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=x(r,t))),null===(n=e>0?N(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&P(this)),null!==n&&this.emit("data",n),n},y.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,p("pipe count=%d opts=%j",i.pipesCount,t);var s=(!t||!1!==t.end)&&e!==process.stdout&&e!==process.stderr?l:y;function c(t,n){p("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,p("cleanup"),e.removeListener("close",_),e.removeListener("finish",h),e.removeListener("drain",u),e.removeListener("error",g),e.removeListener("unpipe",c),r.removeListener("end",l),r.removeListener("end",y),r.removeListener("data",m),d=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function l(){p("onend"),e.end()}i.endEmitted?n.nextTick(s):r.once("end",s),e.on("unpipe",c);var u=function(e){return function(){var t=e._readableState;p("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,A(e))}}(r);e.on("drain",u);var d=!1;var f=!1;function m(t){p("ondata"),f=!1,!1!==e.write(t)||f||((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==F(i.pipes,e))&&!d&&(p("false write response, pause",i.awaitDrain),i.awaitDrain++,f=!0),r.pause())}function g(t){p("onerror",t),y(),e.removeListener("error",g),0===o(e,"error")&&e.emit("error",t)}function _(){e.removeListener("finish",h),y()}function h(){p("onfinish"),e.removeListener("close",_),y()}function y(){p("unpipe"),r.unpipe(e)}return r.on("data",m),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",g),e.once("close",_),e.once("finish",h),e.emit("pipe",r),i.flowing||(p("pipe resume"),r.resume()),e},y.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=F(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},y.prototype.on=function(e,t){var r=s.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var i=this._readableState;i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.emittedReadable=!1,i.reading?i.length&&E(this):n.nextTick(T,this))}return r},y.prototype.addListener=y.prototype.on,y.prototype.resume=function(){var e=this._readableState;return e.flowing||(p("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(C,e,t))}(this,e)),this},y.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this},y.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(p("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(p("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<_.length;a++)e.on(_[a],this.emit.bind(this,_[a]));return this._read=function(t){p("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),y._fromList=N},75828:(e,t,r)=>{"use strict";e.exports=o;var n=r(42676),i=Object.create(r(15622));function a(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);n.call(this,e),this._transformState={afterTransform:a.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"==typeof this._flush?this._flush((function(t,r){c(e,t,r)})):c(this,null,null)}function c(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=r(72017),i.inherits(o,n),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},o.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,(function(e){t(e),r.emit("close")}))}},34734:(e,t,r)=>{"use strict";var n=r(33225);function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}e.exports=_;var a,o=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:n.nextTick;_.WritableState=g;var s=Object.create(r(15622));s.inherits=r(72017);var c={deprecate:r(27983)},l=r(57354),u=r(92861).Buffer,d=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var p,f=r(18762);function m(){}function g(e,t){a=a||r(42676),e=e||{};var s=t instanceof a;this.objectMode=!!e.objectMode,s&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var c=e.highWaterMark,l=e.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=c||0===c?c:s&&(l||0===l)?l:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var d=!1===e.decodeStrings;this.decodeStrings=!d,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,i=r.sync,a=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,i,a){--t.pendingcb,r?(n.nextTick(a,i),n.nextTick(x,e,t),e._writableState.errorEmitted=!0,e.emit("error",i)):(a(i),e._writableState.errorEmitted=!0,e.emit("error",i),x(e,t))}(e,r,i,t,a);else{var s=b(r);s||r.corked||r.bufferProcessing||!r.bufferedRequest||v(e,r),i?o(y,e,r,s,a):y(e,r,s,a)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function _(e){if(a=a||r(42676),!(p.call(_,this)||this instanceof a))return new _(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),l.call(this)}function h(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function y(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),x(e,t)}function v(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,a=new Array(n),o=t.corkedRequestsFree;o.entry=r;for(var s=0,c=!0;r;)a[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;a.allBuffers=c,h(e,t,!0,t.length,a,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,u=r.encoding,d=r.callback;if(h(e,t,!1,t.objectMode?1:l.length,l,u,d),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function b(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),x(e,t)}))}function x(e,t){var r=b(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,n.nextTick(k,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}s.inherits(_,l),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(_,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===_&&(e&&e._writableState instanceof g)}})):p=function(e){return e instanceof this},_.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},_.prototype.write=function(e,t,r){var i,a=this._writableState,o=!1,s=!a.objectMode&&(i=e,u.isBuffer(i)||i instanceof d);return s&&!u.isBuffer(e)&&(e=function(e){return u.from(e)}(e)),"function"==typeof t&&(r=t,t=null),s?t="buffer":t||(t=a.defaultEncoding),"function"!=typeof r&&(r=m),a.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),n.nextTick(t,r)}(this,r):(s||function(e,t,r,i){var a=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),n.nextTick(i,o),a=!1),a}(this,a,e,r))&&(a.pendingcb++,o=function(e,t,r,n,i,a){if(!r){var o=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=u.from(t,r));return t}(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=t.objectMode?1:n.length;t.length+=s;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else h(e,t,!1,s,n,i,a);return c}(this,a,s,e,t,r)),o},_.prototype.cork=function(){this._writableState.corked++},_.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||v(this,e))},_.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(_.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),_.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},_.prototype._writev=null,_.prototype.end=function(e,t,r){var i=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,r){t.ending=!0,x(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,i,r)},Object.defineProperty(_.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),_.prototype.destroy=f.destroy,_.prototype._undestroy=f.undestroy,_.prototype._destroy=function(e,t){this.end(),t(e)}},14156:(e,t,r)=>{"use strict";var n=r(92861).Buffer,i=r(39023);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);for(var t,r,i,a=n.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,r=a,i=s,t.copy(r,i),s+=o.data.length,o=o.next;return a},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},18762:(e,t,r)=>{"use strict";var n=r(33225);function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,a=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return a||o?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(i,this,e)):n.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,n.nextTick(i,r,e)):n.nextTick(i,r,e):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},57354:(e,t,r)=>{e.exports=r(2203)},28768:(e,t,r)=>{e.exports=r(13940).PassThrough},13940:(e,t,r)=>{var n=r(2203);"disable"===process.env.READABLE_STREAM&&n?(e.exports=n,(t=e.exports=n.Readable).Readable=n.Readable,t.Writable=n.Writable,t.Duplex=n.Duplex,t.Transform=n.Transform,t.PassThrough=n.PassThrough,t.Stream=n):((t=e.exports=r(82922)).Stream=n||t,t.Readable=t,t.Writable=r(34734),t.Duplex=r(42676),t.Transform=r(75828),t.PassThrough=r(86462))},39977:(e,t,r)=>{"use strict";var n=r(90874);function i(){}var a={},o=["REJECTED"],s=["FULFILLED"],c=["PENDING"];if(!process.browser)var l=["UNHANDLED"];function u(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void 0,process.browser||(this.handled=l),e!==i&&m(this,e)}function d(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function p(e,t,r){n((function(){var n;try{n=t(r)}catch(t){return a.reject(e,t)}n===e?a.reject(e,new TypeError("Cannot resolve promise with itself")):a.resolve(e,n)}))}function f(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function m(e,t){var r=!1;function n(t){r||(r=!0,a.reject(e,t))}function i(t){r||(r=!0,a.resolve(e,t))}var o=g((function(){t(i,n)}));"error"===o.status&&n(o.value)}function g(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}e.exports=u,u.prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){throw r}))}))},u.prototype.catch=function(e){return this.then(null,e)},u.prototype.then=function(e,t){if("function"!=typeof e&&this.state===s||"function"!=typeof t&&this.state===o)return this;var r=new this.constructor(i);(process.browser||this.handled===l&&(this.handled=null),this.state!==c)?p(r,this.state===s?e:t,this.outcome):this.queue.push(new d(r,e,t));return r},d.prototype.callFulfilled=function(e){a.resolve(this.promise,e)},d.prototype.otherCallFulfilled=function(e){p(this.promise,this.onFulfilled,e)},d.prototype.callRejected=function(e){a.reject(this.promise,e)},d.prototype.otherCallRejected=function(e){p(this.promise,this.onRejected,e)},a.resolve=function(e,t){var r=g(f,t);if("error"===r.status)return a.reject(e,r.value);var n=r.value;if(n)m(e,n);else{e.state=s,e.outcome=t;for(var i=-1,o=e.queue.length;++i<o;)e.queue[i].callFulfilled(t)}return e},a.reject=function(e,t){e.state=o,e.outcome=t,process.browser||e.handled===l&&n((function(){e.handled===l&&process.emit("unhandledRejection",t,e)}));for(var r=-1,i=e.queue.length;++r<i;)e.queue[r].callRejected(t);return e},u.resolve=function(e){if(e instanceof this)return e;return a.resolve(new this(i),e)},u.reject=function(e){var t=new this(i);return a.reject(t,e)},u.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);var o=new Array(r),s=0,c=-1,l=new this(i);for(;++c<r;)u(e[c],c);return l;function u(e,i){t.resolve(e).then((function(e){o[i]=e,++s!==r||n||(n=!0,a.resolve(l,o))}),(function(e){n||(n=!0,a.reject(l,e))}))}},u.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,n=!1;if(!r)return this.resolve([]);var o=-1,s=new this(i);for(;++o<r;)c=e[o],t.resolve(c).then((function(e){n||(n=!0,a.resolve(s,e))}),(function(e){n||(n=!0,a.reject(s,e))}));var c;return s}},1528:(e,t,r)=>{"use strict";var n=r(24434).listenerCount;n=n||function(e,t){var r=e&&e._events&&e._events[t];return Array.isArray(r)?r.length:"function"==typeof r?1:0},e.exports=n},71676:e=>{var t=9007199254740991,r="[object Arguments]",n="[object Function]",i="[object GeneratorFunction]",a=/^(?:0|[1-9]\d*)$/;function o(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}var s=Object.prototype,c=s.hasOwnProperty,l=s.toString,u=s.propertyIsEnumerable,d=Math.max;function p(e,t){var n=v(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&b(e)}(e)&&c.call(e,"callee")&&(!u.call(e,"callee")||l.call(e)==r)}(e)?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],i=n.length,a=!!i;for(var o in e)!t&&!c.call(e,o)||a&&("length"==o||h(o,i))||n.push(o);return n}function f(e,t,r,n){return void 0===e||y(e,s[r])&&!c.call(n,r)?t:e}function m(e,t,r){var n=e[t];c.call(e,t)&&y(n,r)&&(void 0!==r||t in e)||(e[t]=r)}function g(e){if(!k(e))return function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}(e);var t,r,n,i=(r=(t=e)&&t.constructor,n="function"==typeof r&&r.prototype||s,t===n),a=[];for(var o in e)("constructor"!=o||!i&&c.call(e,o))&&a.push(o);return a}function _(e,t){return t=d(void 0===t?e.length-1:t,0),function(){for(var r=arguments,n=-1,i=d(r.length-t,0),a=Array(i);++n<i;)a[n]=r[t+n];n=-1;for(var s=Array(t+1);++n<t;)s[n]=r[n];return s[t]=a,o(e,this,s)}}function h(e,r){return!!(r=null==r?t:r)&&("number"==typeof e||a.test(e))&&e>-1&&e%1==0&&e<r}function y(e,t){return e===t||e!=e&&t!=t}var v=Array.isArray;function b(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=t}(e.length)&&!function(e){var t=k(e)?l.call(e):"";return t==n||t==i}(e)}function k(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var x,E=(x=function(e,t,r,n){!function(e,t,r,n){r||(r={});for(var i=-1,a=t.length;++i<a;){var o=t[i],s=n?n(r[o],e[o],o,r,e):void 0;m(r,o,void 0===s?e[o]:s)}}(t,function(e){return b(e)?p(e,!0):g(e)}(t),e,n)},_((function(e,t){var r=-1,n=t.length,i=n>1?t[n-1]:void 0,a=n>2?t[2]:void 0;for(i=x.length>3&&"function"==typeof i?(n--,i):void 0,a&&function(e,t,r){if(!k(r))return!1;var n=typeof t;return!!("number"==n?b(r)&&h(t,r.length):"string"==n&&t in r)&&y(r[t],e)}(t[0],t[1],a)&&(i=n<3?void 0:i,n=1),e=Object(e);++r<n;){var o=t[r];o&&x(e,o,r,i)}return e}))),S=_((function(e){return e.push(void 0,f),o(E,void 0,e)}));e.exports=S},40209:e=>{var t="__lodash_hash_undefined__",r=9007199254740991,n="[object Arguments]",i="[object Function]",a="[object GeneratorFunction]",o=/^\[object .+?Constructor\]$/,s="object"==typeof global&&global&&global.Object===Object&&global,c="object"==typeof self&&self&&self.Object===Object&&self,l=s||c||Function("return this")();function u(e,t){return!!(e?e.length:0)&&function(e,t,r){if(t!=t)return function(e,t,r,n){var i=e.length,a=r+(n?1:-1);for(;n?a--:++a<i;)if(t(e[a],a,e))return a;return-1}(e,f,r);var n=r-1,i=e.length;for(;++n<i;)if(e[n]===t)return n;return-1}(e,t,0)>-1}function d(e,t,r){for(var n=-1,i=e?e.length:0;++n<i;)if(r(t,e[n]))return!0;return!1}function p(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}function f(e){return e!=e}function m(e,t){return e.has(t)}var g,_=Array.prototype,h=Function.prototype,y=Object.prototype,v=l["__core-js_shared__"],b=(g=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||""))?"Symbol(src)_1."+g:"",k=h.toString,x=y.hasOwnProperty,E=y.toString,S=RegExp("^"+k.call(x).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),D=l.Symbol,w=y.propertyIsEnumerable,T=_.splice,C=D?D.isConcatSpreadable:void 0,A=Math.max,N=U(l,"Map"),P=U(Object,"create");function I(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function F(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function O(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function R(e){var t=-1,r=e?e.length:0;for(this.__data__=new O;++t<r;)this.add(e[t])}function M(e,t){for(var r,n,i=e.length;i--;)if((r=e[i][0])===(n=t)||r!=r&&n!=n)return i;return-1}function L(e,t,r,n){var i,a=-1,o=u,s=!0,c=e.length,l=[],p=t.length;if(!c)return l;r&&(t=function(e,t){for(var r=-1,n=e?e.length:0,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}(t,(i=r,function(e){return i(e)}))),n?(o=d,s=!1):t.length>=200&&(o=m,s=!1,t=new R(t));e:for(;++a<c;){var f=e[a],g=r?r(f):f;if(f=n||0!==f?f:0,s&&g==g){for(var _=p;_--;)if(t[_]===g)continue e;l.push(f)}else o(t,g,n)||l.push(f)}return l}function j(e,t,r,n,i){var a=-1,o=e.length;for(r||(r=q),i||(i=[]);++a<o;){var s=e[a];t>0&&r(s)?t>1?j(s,t-1,r,n,i):p(i,s):n||(i[i.length]=s)}return i}function B(e){if(!Y(e)||(t=e,b&&b in t))return!1;var t,r=$(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?S:o;return r.test(function(e){if(null!=e){try{return k.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function z(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function U(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return B(r)?r:void 0}function q(e){return K(e)||function(e){return G(e)&&x.call(e,"callee")&&(!w.call(e,"callee")||E.call(e)==n)}(e)||!!(C&&e&&e[C])}I.prototype.clear=function(){this.__data__=P?P(null):{}},I.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},I.prototype.get=function(e){var r=this.__data__;if(P){var n=r[e];return n===t?void 0:n}return x.call(r,e)?r[e]:void 0},I.prototype.has=function(e){var t=this.__data__;return P?void 0!==t[e]:x.call(t,e)},I.prototype.set=function(e,r){return this.__data__[e]=P&&void 0===r?t:r,this},F.prototype.clear=function(){this.__data__=[]},F.prototype.delete=function(e){var t=this.__data__,r=M(t,e);return!(r<0)&&(r==t.length-1?t.pop():T.call(t,r,1),!0)},F.prototype.get=function(e){var t=this.__data__,r=M(t,e);return r<0?void 0:t[r][1]},F.prototype.has=function(e){return M(this.__data__,e)>-1},F.prototype.set=function(e,t){var r=this.__data__,n=M(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},O.prototype.clear=function(){this.__data__={hash:new I,map:new(N||F),string:new I}},O.prototype.delete=function(e){return z(this,e).delete(e)},O.prototype.get=function(e){return z(this,e).get(e)},O.prototype.has=function(e){return z(this,e).has(e)},O.prototype.set=function(e,t){return z(this,e).set(e,t),this},R.prototype.add=R.prototype.push=function(e){return this.__data__.set(e,t),this},R.prototype.has=function(e){return this.__data__.has(e)};var J,V,H=(J=function(e,t){return G(e)?L(e,j(t,1,G,!0)):[]},V=A(void 0===V?J.length-1:V,0),function(){for(var e=arguments,t=-1,r=A(e.length-V,0),n=Array(r);++t<r;)n[t]=e[V+t];t=-1;for(var i=Array(V+1);++t<V;)i[t]=e[t];return i[V]=n,function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}(J,this,i)});var K=Array.isArray;function W(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}(e.length)&&!$(e)}function G(e){return function(e){return!!e&&"object"==typeof e}(e)&&W(e)}function $(e){var t=Y(e)?E.call(e):"";return t==i||t==a}function Y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=H},10912:e=>{var t=1/0,r="[object Symbol]",n=/[\\^$.*+?()[\]{}|]/g,i=RegExp(n.source),a="object"==typeof global&&global&&global.Object===Object&&global,o="object"==typeof self&&self&&self.Object===Object&&self,s=a||o||Function("return this")(),c=Object.prototype.toString,l=s.Symbol,u=l?l.prototype:void 0,d=u?u.toString:void 0;function p(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&c.call(e)==r}(e))return d?d.call(e):"";var n=e+"";return"0"==n&&1/e==-t?"-0":n}e.exports=function(e){var t;return(e=null==(t=e)?"":p(t))&&i.test(e)?e.replace(n,"\\$&"):e}},16308:e=>{var t=9007199254740991,r="[object Arguments]",n="[object Function]",i="[object GeneratorFunction]",a="object"==typeof global&&global&&global.Object===Object&&global,o="object"==typeof self&&self&&self.Object===Object&&self,s=a||o||Function("return this")();function c(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var l=Object.prototype,u=l.hasOwnProperty,d=l.toString,p=s.Symbol,f=l.propertyIsEnumerable,m=p?p.isConcatSpreadable:void 0;function g(e,t,r,n,i){var a=-1,o=e.length;for(r||(r=_),i||(i=[]);++a<o;){var s=e[a];t>0&&r(s)?t>1?g(s,t-1,r,n,i):c(i,s):n||(i[i.length]=s)}return i}function _(e){return h(e)||function(e){return function(e){return function(e){return!!e&&"object"==typeof e}(e)&&function(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=t}(e.length)&&!function(e){var t=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}(e)?d.call(e):"";return t==n||t==i}(e)}(e)}(e)&&u.call(e,"callee")&&(!f.call(e,"callee")||d.call(e)==r)}(e)||!!(m&&e&&e[m])}var h=Array.isArray;e.exports=function(e){return(e?e.length:0)?g(e,1):[]}},31324:(e,t,r)=>{e=r.nmd(e);var n="__lodash_hash_undefined__",i=1,a=2,o=1/0,s=9007199254740991,c="[object Arguments]",l="[object Array]",u="[object Boolean]",d="[object Date]",p="[object Error]",f="[object Function]",m="[object GeneratorFunction]",g="[object Map]",_="[object Number]",h="[object Object]",y="[object Promise]",v="[object RegExp]",b="[object Set]",k="[object String]",x="[object Symbol]",E="[object WeakMap]",S="[object ArrayBuffer]",D="[object DataView]",w=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,T=/^\w*$/,C=/^\./,A=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,N=/\\(\\)?/g,P=/^\[object .+?Constructor\]$/,I=/^(?:0|[1-9]\d*)$/,F={};F["[object Float32Array]"]=F["[object Float64Array]"]=F["[object Int8Array]"]=F["[object Int16Array]"]=F["[object Int32Array]"]=F["[object Uint8Array]"]=F["[object Uint8ClampedArray]"]=F["[object Uint16Array]"]=F["[object Uint32Array]"]=!0,F[c]=F[l]=F[S]=F[u]=F[D]=F[d]=F[p]=F[f]=F[g]=F[_]=F[h]=F[v]=F[b]=F[k]=F[E]=!1;var O="object"==typeof global&&global&&global.Object===Object&&global,R="object"==typeof self&&self&&self.Object===Object&&self,M=O||R||Function("return this")(),L=t&&!t.nodeType&&t,j=L&&e&&!e.nodeType&&e,B=j&&j.exports===L&&O.process,z=function(){try{return B&&B.binding("util")}catch(e){}}(),U=z&&z.isTypedArray;function q(e,t,r,n){for(var i=-1,a=e?e.length:0;++i<a;){var o=e[i];t(n,o,r(o),e)}return n}function J(e,t){for(var r=-1,n=e?e.length:0;++r<n;)if(t(e[r],r,e))return!0;return!1}function V(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function H(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function K(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}var W,G,$,Y=Array.prototype,X=Function.prototype,Q=Object.prototype,Z=M["__core-js_shared__"],ee=(W=/[^.]+$/.exec(Z&&Z.keys&&Z.keys.IE_PROTO||""))?"Symbol(src)_1."+W:"",te=X.toString,re=Q.hasOwnProperty,ne=Q.toString,ie=RegExp("^"+te.call(re).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ae=M.Symbol,oe=M.Uint8Array,se=Q.propertyIsEnumerable,ce=Y.splice,le=(G=Object.keys,$=Object,function(e){return G($(e))}),ue=He(M,"DataView"),de=He(M,"Map"),pe=He(M,"Promise"),fe=He(M,"Set"),me=He(M,"WeakMap"),ge=He(Object,"create"),_e=Ze(ue),he=Ze(de),ye=Ze(pe),ve=Ze(fe),be=Ze(me),ke=ae?ae.prototype:void 0,xe=ke?ke.valueOf:void 0,Ee=ke?ke.toString:void 0;function Se(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function De(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function we(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Te(e){var t=-1,r=e?e.length:0;for(this.__data__=new we;++t<r;)this.add(e[t])}function Ce(e){this.__data__=new De(e)}function Ae(e,t){var r=ot(e)||at(e)?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],n=r.length,i=!!n;for(var a in e)!t&&!re.call(e,a)||i&&("length"==a||We(a,n))||r.push(a);return r}function Ne(e,t){for(var r=e.length;r--;)if(it(e[r][0],t))return r;return-1}function Pe(e,t,r,n){return Oe(e,(function(e,i,a){t(n,e,r(e),a)})),n}Se.prototype.clear=function(){this.__data__=ge?ge(null):{}},Se.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Se.prototype.get=function(e){var t=this.__data__;if(ge){var r=t[e];return r===n?void 0:r}return re.call(t,e)?t[e]:void 0},Se.prototype.has=function(e){var t=this.__data__;return ge?void 0!==t[e]:re.call(t,e)},Se.prototype.set=function(e,t){return this.__data__[e]=ge&&void 0===t?n:t,this},De.prototype.clear=function(){this.__data__=[]},De.prototype.delete=function(e){var t=this.__data__,r=Ne(t,e);return!(r<0)&&(r==t.length-1?t.pop():ce.call(t,r,1),!0)},De.prototype.get=function(e){var t=this.__data__,r=Ne(t,e);return r<0?void 0:t[r][1]},De.prototype.has=function(e){return Ne(this.__data__,e)>-1},De.prototype.set=function(e,t){var r=this.__data__,n=Ne(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},we.prototype.clear=function(){this.__data__={hash:new Se,map:new(de||De),string:new Se}},we.prototype.delete=function(e){return Ve(this,e).delete(e)},we.prototype.get=function(e){return Ve(this,e).get(e)},we.prototype.has=function(e){return Ve(this,e).has(e)},we.prototype.set=function(e,t){return Ve(this,e).set(e,t),this},Te.prototype.add=Te.prototype.push=function(e){return this.__data__.set(e,n),this},Te.prototype.has=function(e){return this.__data__.has(e)},Ce.prototype.clear=function(){this.__data__=new De},Ce.prototype.delete=function(e){return this.__data__.delete(e)},Ce.prototype.get=function(e){return this.__data__.get(e)},Ce.prototype.has=function(e){return this.__data__.has(e)},Ce.prototype.set=function(e,t){var r=this.__data__;if(r instanceof De){var n=r.__data__;if(!de||n.length<199)return n.push([e,t]),this;r=this.__data__=new we(n)}return r.set(e,t),this};var Ie,Fe,Oe=(Ie=function(e,t){return e&&Re(e,t,mt)},function(e,t){if(null==e)return e;if(!st(e))return Ie(e,t);for(var r=e.length,n=Fe?r:-1,i=Object(e);(Fe?n--:++n<r)&&!1!==t(i[n],n,i););return e}),Re=function(e){return function(t,r,n){for(var i=-1,a=Object(t),o=n(t),s=o.length;s--;){var c=o[e?s:++i];if(!1===r(a[c],c,a))break}return t}}();function Me(e,t){for(var r=0,n=(t=Ge(t,e)?[t]:qe(t)).length;null!=e&&r<n;)e=e[Qe(t[r++])];return r&&r==n?e:void 0}function Le(e,t){return null!=e&&t in Object(e)}function je(e,t,r,n,o){return e===t||(null==e||null==t||!ut(e)&&!dt(t)?e!=e&&t!=t:function(e,t,r,n,o,s){var f=ot(e),m=ot(t),y=l,E=l;f||(y=(y=Ke(e))==c?h:y);m||(E=(E=Ke(t))==c?h:E);var w=y==h&&!V(e),T=E==h&&!V(t),C=y==E;if(C&&!w)return s||(s=new Ce),f||ft(e)?Je(e,t,r,n,o,s):function(e,t,r,n,o,s,c){switch(r){case D:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case S:return!(e.byteLength!=t.byteLength||!n(new oe(e),new oe(t)));case u:case d:case _:return it(+e,+t);case p:return e.name==t.name&&e.message==t.message;case v:case k:return e==t+"";case g:var l=H;case b:var f=s&a;if(l||(l=K),e.size!=t.size&&!f)return!1;var m=c.get(e);if(m)return m==t;s|=i,c.set(e,t);var h=Je(l(e),l(t),n,o,s,c);return c.delete(e),h;case x:if(xe)return xe.call(e)==xe.call(t)}return!1}(e,t,y,r,n,o,s);if(!(o&a)){var A=w&&re.call(e,"__wrapped__"),N=T&&re.call(t,"__wrapped__");if(A||N){var P=A?e.value():e,I=N?t.value():t;return s||(s=new Ce),r(P,I,n,o,s)}}if(!C)return!1;return s||(s=new Ce),function(e,t,r,n,i,o){var s=i&a,c=mt(e),l=c.length,u=mt(t),d=u.length;if(l!=d&&!s)return!1;var p=l;for(;p--;){var f=c[p];if(!(s?f in t:re.call(t,f)))return!1}var m=o.get(e);if(m&&o.get(t))return m==t;var g=!0;o.set(e,t),o.set(t,e);var _=s;for(;++p<l;){var h=e[f=c[p]],y=t[f];if(n)var v=s?n(y,h,f,t,e,o):n(h,y,f,e,t,o);if(!(void 0===v?h===y||r(h,y,n,i,o):v)){g=!1;break}_||(_="constructor"==f)}if(g&&!_){var b=e.constructor,k=t.constructor;b==k||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof k&&k instanceof k||(g=!1)}return o.delete(e),o.delete(t),g}(e,t,r,n,o,s)}(e,t,je,r,n,o))}function Be(e){return!(!ut(e)||function(e){return!!ee&&ee in e}(e))&&(ct(e)||V(e)?ie:P).test(Ze(e))}function ze(e){return"function"==typeof e?e:null==e?gt:"object"==typeof e?ot(e)?function(e,t){if(Ge(e)&&$e(t))return Ye(Qe(e),t);return function(r){var n=function(e,t,r){var n=null==e?void 0:Me(e,t);return void 0===n?r:n}(r,e);return void 0===n&&n===t?function(e,t){return null!=e&&function(e,t,r){t=Ge(t,e)?[t]:qe(t);var n,i=-1,a=t.length;for(;++i<a;){var o=Qe(t[i]);if(!(n=null!=e&&r(e,o)))break;e=e[o]}if(n)return n;a=e?e.length:0;return!!a&<(a)&&We(o,a)&&(ot(e)||at(e))}(e,t,Le)}(r,e):je(t,n,void 0,i|a)}}(e[0],e[1]):function(e){var t=function(e){var t=mt(e),r=t.length;for(;r--;){var n=t[r],i=e[n];t[r]=[n,i,$e(i)]}return t}(e);if(1==t.length&&t[0][2])return Ye(t[0][0],t[0][1]);return function(r){return r===e||function(e,t,r,n){var o=r.length,s=o,c=!n;if(null==e)return!s;for(e=Object(e);o--;){var l=r[o];if(c&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++o<s;){var u=(l=r[o])[0],d=e[u],p=l[1];if(c&&l[2]){if(void 0===d&&!(u in e))return!1}else{var f=new Ce;if(n)var m=n(d,p,u,e,t,f);if(!(void 0===m?je(p,d,n,i|a,f):m))return!1}}return!0}(r,e,t)}}(e):Ge(t=e)?(r=Qe(t),function(e){return null==e?void 0:e[r]}):function(e){return function(t){return Me(t,e)}}(t);var t,r}function Ue(e){if(r=(t=e)&&t.constructor,n="function"==typeof r&&r.prototype||Q,t!==n)return le(e);var t,r,n,i=[];for(var a in Object(e))re.call(e,a)&&"constructor"!=a&&i.push(a);return i}function qe(e){return ot(e)?e:Xe(e)}function Je(e,t,r,n,o,s){var c=o&a,l=e.length,u=t.length;if(l!=u&&!(c&&u>l))return!1;var d=s.get(e);if(d&&s.get(t))return d==t;var p=-1,f=!0,m=o&i?new Te:void 0;for(s.set(e,t),s.set(t,e);++p<l;){var g=e[p],_=t[p];if(n)var h=c?n(_,g,p,t,e,s):n(g,_,p,e,t,s);if(void 0!==h){if(h)continue;f=!1;break}if(m){if(!J(t,(function(e,t){if(!m.has(t)&&(g===e||r(g,e,n,o,s)))return m.add(t)}))){f=!1;break}}else if(g!==_&&!r(g,_,n,o,s)){f=!1;break}}return s.delete(e),s.delete(t),f}function Ve(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function He(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return Be(r)?r:void 0}var Ke=function(e){return ne.call(e)};function We(e,t){return!!(t=null==t?s:t)&&("number"==typeof e||I.test(e))&&e>-1&&e%1==0&&e<t}function Ge(e,t){if(ot(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!pt(e))||(T.test(e)||!w.test(e)||null!=t&&e in Object(t))}function $e(e){return e==e&&!ut(e)}function Ye(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}(ue&&Ke(new ue(new ArrayBuffer(1)))!=D||de&&Ke(new de)!=g||pe&&Ke(pe.resolve())!=y||fe&&Ke(new fe)!=b||me&&Ke(new me)!=E)&&(Ke=function(e){var t=ne.call(e),r=t==h?e.constructor:void 0,n=r?Ze(r):void 0;if(n)switch(n){case _e:return D;case he:return g;case ye:return y;case ve:return b;case be:return E}return t});var Xe=nt((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(pt(e))return Ee?Ee.call(e):"";var t=e+"";return"0"==t&&1/e==-o?"-0":t}(t);var r=[];return C.test(e)&&r.push(""),e.replace(A,(function(e,t,n,i){r.push(n?i.replace(N,"$1"):t||e)})),r}));function Qe(e){if("string"==typeof e||pt(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}function Ze(e){if(null!=e){try{return te.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var et,tt,rt=(et=function(e,t,r){re.call(e,r)?e[r].push(t):e[r]=[t]},function(e,t){var r=ot(e)?q:Pe,n=tt?tt():{};return r(e,et,ze(t),n)});function nt(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o),o};return r.cache=new(nt.Cache||we),r}function it(e,t){return e===t||e!=e&&t!=t}function at(e){return function(e){return dt(e)&&st(e)}(e)&&re.call(e,"callee")&&(!se.call(e,"callee")||ne.call(e)==c)}nt.Cache=we;var ot=Array.isArray;function st(e){return null!=e&<(e.length)&&!ct(e)}function ct(e){var t=ut(e)?ne.call(e):"";return t==f||t==m}function lt(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=s}function ut(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function dt(e){return!!e&&"object"==typeof e}function pt(e){return"symbol"==typeof e||dt(e)&&ne.call(e)==x}var ft=U?function(e){return function(t){return e(t)}}(U):function(e){return dt(e)&<(e.length)&&!!F[ne.call(e)]};function mt(e){return st(e)?Ae(e):Ue(e)}function gt(e){return e}e.exports=rt},87914:e=>{var t=Object.prototype.toString;e.exports=function(e){return!0===e||!1===e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Boolean]"==t.call(e)}},8142:(e,t,r)=>{e=r.nmd(e);var n="__lodash_hash_undefined__",i=1,a=2,o=9007199254740991,s="[object Arguments]",c="[object Array]",l="[object AsyncFunction]",u="[object Boolean]",d="[object Date]",p="[object Error]",f="[object Function]",m="[object GeneratorFunction]",g="[object Map]",_="[object Number]",h="[object Null]",y="[object Object]",v="[object Promise]",b="[object Proxy]",k="[object RegExp]",x="[object Set]",E="[object String]",S="[object Symbol]",D="[object Undefined]",w="[object WeakMap]",T="[object ArrayBuffer]",C="[object DataView]",A=/^\[object .+?Constructor\]$/,N=/^(?:0|[1-9]\d*)$/,P={};P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P[s]=P[c]=P[T]=P[u]=P[C]=P[d]=P[p]=P[f]=P[g]=P[_]=P[y]=P[k]=P[x]=P[E]=P[w]=!1;var I="object"==typeof global&&global&&global.Object===Object&&global,F="object"==typeof self&&self&&self.Object===Object&&self,O=I||F||Function("return this")(),R=t&&!t.nodeType&&t,M=R&&e&&!e.nodeType&&e,L=M&&M.exports===R,j=L&&I.process,B=function(){try{return j&&j.binding&&j.binding("util")}catch(e){}}(),z=B&&B.isTypedArray;function U(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function q(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function J(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}var V,H,K,W=Array.prototype,G=Function.prototype,$=Object.prototype,Y=O["__core-js_shared__"],X=G.toString,Q=$.hasOwnProperty,Z=(V=/[^.]+$/.exec(Y&&Y.keys&&Y.keys.IE_PROTO||""))?"Symbol(src)_1."+V:"",ee=$.toString,te=RegExp("^"+X.call(Q).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),re=L?O.Buffer:void 0,ne=O.Symbol,ie=O.Uint8Array,ae=$.propertyIsEnumerable,oe=W.splice,se=ne?ne.toStringTag:void 0,ce=Object.getOwnPropertySymbols,le=re?re.isBuffer:void 0,ue=(H=Object.keys,K=Object,function(e){return H(K(e))}),de=Be(O,"DataView"),pe=Be(O,"Map"),fe=Be(O,"Promise"),me=Be(O,"Set"),ge=Be(O,"WeakMap"),_e=Be(Object,"create"),he=Je(de),ye=Je(pe),ve=Je(fe),be=Je(me),ke=Je(ge),xe=ne?ne.prototype:void 0,Ee=xe?xe.valueOf:void 0;function Se(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function De(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function we(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Te(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new we;++t<r;)this.add(e[t])}function Ce(e){var t=this.__data__=new De(e);this.size=t.size}function Ae(e,t){var r=Ke(e),n=!r&&He(e),i=!r&&!n&&We(e),a=!r&&!n&&!i&&Qe(e),o=r||n||i||a,s=o?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],c=s.length;for(var l in e)!t&&!Q.call(e,l)||o&&("length"==l||i&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||qe(l,c))||s.push(l);return s}function Ne(e,t){for(var r=e.length;r--;)if(Ve(e[r][0],t))return r;return-1}function Pe(e){return null==e?void 0===e?D:h:se&&se in Object(e)?function(e){var t=Q.call(e,se),r=e[se];try{e[se]=void 0;var n=!0}catch(e){}var i=ee.call(e);n&&(t?e[se]=r:delete e[se]);return i}(e):function(e){return ee.call(e)}(e)}function Ie(e){return Xe(e)&&Pe(e)==s}function Fe(e,t,r,n,o){return e===t||(null==e||null==t||!Xe(e)&&!Xe(t)?e!=e&&t!=t:function(e,t,r,n,o,l){var f=Ke(e),m=Ke(t),h=f?c:Ue(e),v=m?c:Ue(t),b=(h=h==s?y:h)==y,D=(v=v==s?y:v)==y,w=h==v;if(w&&We(e)){if(!We(t))return!1;f=!0,b=!1}if(w&&!b)return l||(l=new Ce),f||Qe(e)?Me(e,t,r,n,o,l):function(e,t,r,n,o,s,c){switch(r){case C:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case T:return!(e.byteLength!=t.byteLength||!s(new ie(e),new ie(t)));case u:case d:case _:return Ve(+e,+t);case p:return e.name==t.name&&e.message==t.message;case k:case E:return e==t+"";case g:var l=q;case x:var f=n&i;if(l||(l=J),e.size!=t.size&&!f)return!1;var m=c.get(e);if(m)return m==t;n|=a,c.set(e,t);var h=Me(l(e),l(t),n,o,s,c);return c.delete(e),h;case S:if(Ee)return Ee.call(e)==Ee.call(t)}return!1}(e,t,h,r,n,o,l);if(!(r&i)){var A=b&&Q.call(e,"__wrapped__"),N=D&&Q.call(t,"__wrapped__");if(A||N){var P=A?e.value():e,I=N?t.value():t;return l||(l=new Ce),o(P,I,r,n,l)}}if(!w)return!1;return l||(l=new Ce),function(e,t,r,n,a,o){var s=r&i,c=Le(e),l=c.length,u=Le(t),d=u.length;if(l!=d&&!s)return!1;var p=l;for(;p--;){var f=c[p];if(!(s?f in t:Q.call(t,f)))return!1}var m=o.get(e);if(m&&o.get(t))return m==t;var g=!0;o.set(e,t),o.set(t,e);var _=s;for(;++p<l;){var h=e[f=c[p]],y=t[f];if(n)var v=s?n(y,h,f,t,e,o):n(h,y,f,e,t,o);if(!(void 0===v?h===y||a(h,y,r,n,o):v)){g=!1;break}_||(_="constructor"==f)}if(g&&!_){var b=e.constructor,k=t.constructor;b==k||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof k&&k instanceof k||(g=!1)}return o.delete(e),o.delete(t),g}(e,t,r,n,o,l)}(e,t,r,n,Fe,o))}function Oe(e){return!(!Ye(e)||function(e){return!!Z&&Z in e}(e))&&(Ge(e)?te:A).test(Je(e))}function Re(e){if(r=(t=e)&&t.constructor,n="function"==typeof r&&r.prototype||$,t!==n)return ue(e);var t,r,n,i=[];for(var a in Object(e))Q.call(e,a)&&"constructor"!=a&&i.push(a);return i}function Me(e,t,r,n,o,s){var c=r&i,l=e.length,u=t.length;if(l!=u&&!(c&&u>l))return!1;var d=s.get(e);if(d&&s.get(t))return d==t;var p=-1,f=!0,m=r&a?new Te:void 0;for(s.set(e,t),s.set(t,e);++p<l;){var g=e[p],_=t[p];if(n)var h=c?n(_,g,p,t,e,s):n(g,_,p,e,t,s);if(void 0!==h){if(h)continue;f=!1;break}if(m){if(!U(t,(function(e,t){if(i=t,!m.has(i)&&(g===e||o(g,e,r,n,s)))return m.push(t);var i}))){f=!1;break}}else if(g!==_&&!o(g,_,r,n,s)){f=!1;break}}return s.delete(e),s.delete(t),f}function Le(e){return function(e,t,r){var n=t(e);return Ke(e)?n:function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}(n,r(e))}(e,Ze,ze)}function je(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function Be(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return Oe(r)?r:void 0}Se.prototype.clear=function(){this.__data__=_e?_e(null):{},this.size=0},Se.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Se.prototype.get=function(e){var t=this.__data__;if(_e){var r=t[e];return r===n?void 0:r}return Q.call(t,e)?t[e]:void 0},Se.prototype.has=function(e){var t=this.__data__;return _e?void 0!==t[e]:Q.call(t,e)},Se.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=_e&&void 0===t?n:t,this},De.prototype.clear=function(){this.__data__=[],this.size=0},De.prototype.delete=function(e){var t=this.__data__,r=Ne(t,e);return!(r<0)&&(r==t.length-1?t.pop():oe.call(t,r,1),--this.size,!0)},De.prototype.get=function(e){var t=this.__data__,r=Ne(t,e);return r<0?void 0:t[r][1]},De.prototype.has=function(e){return Ne(this.__data__,e)>-1},De.prototype.set=function(e,t){var r=this.__data__,n=Ne(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},we.prototype.clear=function(){this.size=0,this.__data__={hash:new Se,map:new(pe||De),string:new Se}},we.prototype.delete=function(e){var t=je(this,e).delete(e);return this.size-=t?1:0,t},we.prototype.get=function(e){return je(this,e).get(e)},we.prototype.has=function(e){return je(this,e).has(e)},we.prototype.set=function(e,t){var r=je(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Te.prototype.add=Te.prototype.push=function(e){return this.__data__.set(e,n),this},Te.prototype.has=function(e){return this.__data__.has(e)},Ce.prototype.clear=function(){this.__data__=new De,this.size=0},Ce.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Ce.prototype.get=function(e){return this.__data__.get(e)},Ce.prototype.has=function(e){return this.__data__.has(e)},Ce.prototype.set=function(e,t){var r=this.__data__;if(r instanceof De){var n=r.__data__;if(!pe||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new we(n)}return r.set(e,t),this.size=r.size,this};var ze=ce?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,a=[];++r<n;){var o=e[r];t(o,r,e)&&(a[i++]=o)}return a}(ce(e),(function(t){return ae.call(e,t)})))}:function(){return[]},Ue=Pe;function qe(e,t){return!!(t=null==t?o:t)&&("number"==typeof e||N.test(e))&&e>-1&&e%1==0&&e<t}function Je(e){if(null!=e){try{return X.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ve(e,t){return e===t||e!=e&&t!=t}(de&&Ue(new de(new ArrayBuffer(1)))!=C||pe&&Ue(new pe)!=g||fe&&Ue(fe.resolve())!=v||me&&Ue(new me)!=x||ge&&Ue(new ge)!=w)&&(Ue=function(e){var t=Pe(e),r=t==y?e.constructor:void 0,n=r?Je(r):"";if(n)switch(n){case he:return C;case ye:return g;case ve:return v;case be:return x;case ke:return w}return t});var He=Ie(function(){return arguments}())?Ie:function(e){return Xe(e)&&Q.call(e,"callee")&&!ae.call(e,"callee")},Ke=Array.isArray;var We=le||function(){return!1};function Ge(e){if(!Ye(e))return!1;var t=Pe(e);return t==f||t==m||t==l||t==b}function $e(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function Ye(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Xe(e){return null!=e&&"object"==typeof e}var Qe=z?function(e){return function(t){return e(t)}}(z):function(e){return Xe(e)&&$e(e.length)&&!!P[Pe(e)]};function Ze(e){return null!=(t=e)&&$e(t.length)&&!Ge(t)?Ae(e):Re(e);var t}e.exports=function(e,t){return Fe(e,t)}},85710:e=>{var t="[object Null]",r="[object Undefined]",n="object"==typeof global&&global&&global.Object===Object&&global,i="object"==typeof self&&self&&self.Object===Object&&self,a=n||i||Function("return this")(),o=Object.prototype,s=o.hasOwnProperty,c=o.toString,l=a.Symbol,u=l?l.toStringTag:void 0;function d(e){return null==e?void 0===e?r:t:u&&u in Object(e)?function(e){var t=s.call(e,u),r=e[u];try{e[u]=void 0;var n=!0}catch(e){}var i=c.call(e);n&&(t?e[u]=r:delete e[u]);return i}(e):function(e){return c.call(e)}(e)}e.exports=function(e){if(!function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}(e))return!1;var t=d(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},74733:e=>{e.exports=function(e){return null==e}},79001:e=>{var t,r,n=Function.prototype,i=Object.prototype,a=n.toString,o=i.hasOwnProperty,s=a.call(Object),c=i.toString,l=(t=Object.getPrototypeOf,r=Object,function(e){return t(r(e))});e.exports=function(e){if(!function(e){return!!e&&"object"==typeof e}(e)||"[object Object]"!=c.call(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e))return!1;var t=l(e);if(null===t)return!0;var r=o.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&a.call(r)==s}},58254:e=>{e.exports=function(e){return void 0===e}},9897:e=>{var t="__lodash_hash_undefined__",r=9007199254740991,n="[object Arguments]",i="[object Function]",a="[object GeneratorFunction]",o=/^\[object .+?Constructor\]$/,s="object"==typeof global&&global&&global.Object===Object&&global,c="object"==typeof self&&self&&self.Object===Object&&self,l=s||c||Function("return this")();function u(e,t){return!!(e?e.length:0)&&function(e,t,r){if(t!=t)return function(e,t,r,n){var i=e.length,a=r+(n?1:-1);for(;n?a--:++a<i;)if(t(e[a],a,e))return a;return-1}(e,f,r);var n=r-1,i=e.length;for(;++n<i;)if(e[n]===t)return n;return-1}(e,t,0)>-1}function d(e,t,r){for(var n=-1,i=e?e.length:0;++n<i;)if(r(t,e[n]))return!0;return!1}function p(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}function f(e){return e!=e}function m(e,t){return e.has(t)}function g(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}var _,h=Array.prototype,y=Function.prototype,v=Object.prototype,b=l["__core-js_shared__"],k=(_=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||""))?"Symbol(src)_1."+_:"",x=y.toString,E=v.hasOwnProperty,S=v.toString,D=RegExp("^"+x.call(E).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),w=l.Symbol,T=v.propertyIsEnumerable,C=h.splice,A=w?w.isConcatSpreadable:void 0,N=Math.max,P=J(l,"Map"),I=J(l,"Set"),F=J(Object,"create");function O(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function R(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function M(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function L(e){var t=-1,r=e?e.length:0;for(this.__data__=new M;++t<r;)this.add(e[t])}function j(e,t){for(var r,n,i=e.length;i--;)if((r=e[i][0])===(n=t)||r!=r&&n!=n)return i;return-1}function B(e,t,r,n,i){var a=-1,o=e.length;for(r||(r=V),i||(i=[]);++a<o;){var s=e[a];t>0&&r(s)?t>1?B(s,t-1,r,n,i):p(i,s):n||(i[i.length]=s)}return i}function z(e){if(!Q(e)||(t=e,k&&k in t))return!1;var t,r=X(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?D:o;return r.test(function(e){if(null!=e){try{return x.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}O.prototype.clear=function(){this.__data__=F?F(null):{}},O.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},O.prototype.get=function(e){var r=this.__data__;if(F){var n=r[e];return n===t?void 0:n}return E.call(r,e)?r[e]:void 0},O.prototype.has=function(e){var t=this.__data__;return F?void 0!==t[e]:E.call(t,e)},O.prototype.set=function(e,r){return this.__data__[e]=F&&void 0===r?t:r,this},R.prototype.clear=function(){this.__data__=[]},R.prototype.delete=function(e){var t=this.__data__,r=j(t,e);return!(r<0)&&(r==t.length-1?t.pop():C.call(t,r,1),!0)},R.prototype.get=function(e){var t=this.__data__,r=j(t,e);return r<0?void 0:t[r][1]},R.prototype.has=function(e){return j(this.__data__,e)>-1},R.prototype.set=function(e,t){var r=this.__data__,n=j(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},M.prototype.clear=function(){this.__data__={hash:new O,map:new(P||R),string:new O}},M.prototype.delete=function(e){return q(this,e).delete(e)},M.prototype.get=function(e){return q(this,e).get(e)},M.prototype.has=function(e){return q(this,e).has(e)},M.prototype.set=function(e,t){return q(this,e).set(e,t),this},L.prototype.add=L.prototype.push=function(e){return this.__data__.set(e,t),this},L.prototype.has=function(e){return this.__data__.has(e)};var U=I&&1/g(new I([,-0]))[1]==1/0?function(e){return new I(e)}:function(){};function q(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function J(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return z(r)?r:void 0}function V(e){return G(e)||function(e){return Y(e)&&E.call(e,"callee")&&(!T.call(e,"callee")||S.call(e)==n)}(e)||!!(A&&e&&e[A])}var H,K,W=(H=function(e){return function(e,t,r){var n=-1,i=u,a=e.length,o=!0,s=[],c=s;if(r)o=!1,i=d;else if(a>=200){var l=t?null:U(e);if(l)return g(l);o=!1,i=m,c=new L}else c=t?[]:s;e:for(;++n<a;){var p=e[n],f=t?t(p):p;if(p=r||0!==p?p:0,o&&f==f){for(var _=c.length;_--;)if(c[_]===f)continue e;t&&c.push(f),s.push(p)}else i(c,f,r)||(c!==s&&c.push(f),s.push(p))}return s}(B(e,1,Y,!0))},K=N(void 0===K?H.length-1:K,0),function(){for(var e=arguments,t=-1,r=N(e.length-K,0),n=Array(r);++t<r;)n[t]=e[K+t];t=-1;for(var i=Array(K+1);++t<K;)i[t]=e[t];return i[K]=n,function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}(H,this,i)});var G=Array.isArray;function $(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}(e.length)&&!X(e)}function Y(e){return function(e){return!!e&&"object"==typeof e}(e)&&$(e)}function X(e){var t=Q(e)?S.call(e):"";return t==i||t==a}function Q(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=W},90879:e=>{var t=200,r="__lodash_hash_undefined__",n="[object Function]",i="[object GeneratorFunction]",a=/^\[object .+?Constructor\]$/,o="object"==typeof global&&global&&global.Object===Object&&global,s="object"==typeof self&&self&&self.Object===Object&&self,c=o||s||Function("return this")();function l(e,t){return!!(e?e.length:0)&&function(e,t,r){if(t!=t)return function(e,t,r,n){var i=e.length,a=r+(n?1:-1);for(;n?a--:++a<i;)if(t(e[a],a,e))return a;return-1}(e,d,r);var n=r-1,i=e.length;for(;++n<i;)if(e[n]===t)return n;return-1}(e,t,0)>-1}function u(e,t,r){for(var n=-1,i=e?e.length:0;++n<i;)if(r(t,e[n]))return!0;return!1}function d(e){return e!=e}function p(e,t){return e.has(t)}function f(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}var m,g=Array.prototype,_=Function.prototype,h=Object.prototype,y=c["__core-js_shared__"],v=(m=/[^.]+$/.exec(y&&y.keys&&y.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"",b=_.toString,k=h.hasOwnProperty,x=h.toString,E=RegExp("^"+b.call(k).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),S=g.splice,D=M(c,"Map"),w=M(c,"Set"),T=M(Object,"create");function C(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function A(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function N(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function P(e){var t=-1,r=e?e.length:0;for(this.__data__=new N;++t<r;)this.add(e[t])}function I(e,t){for(var r,n,i=e.length;i--;)if((r=e[i][0])===(n=t)||r!=r&&n!=n)return i;return-1}function F(e){if(!L(e)||(t=e,v&&v in t))return!1;var t,r=function(e){var t=L(e)?x.call(e):"";return t==n||t==i}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?E:a;return r.test(function(e){if(null!=e){try{return b.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}C.prototype.clear=function(){this.__data__=T?T(null):{}},C.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},C.prototype.get=function(e){var t=this.__data__;if(T){var n=t[e];return n===r?void 0:n}return k.call(t,e)?t[e]:void 0},C.prototype.has=function(e){var t=this.__data__;return T?void 0!==t[e]:k.call(t,e)},C.prototype.set=function(e,t){return this.__data__[e]=T&&void 0===t?r:t,this},A.prototype.clear=function(){this.__data__=[]},A.prototype.delete=function(e){var t=this.__data__,r=I(t,e);return!(r<0)&&(r==t.length-1?t.pop():S.call(t,r,1),!0)},A.prototype.get=function(e){var t=this.__data__,r=I(t,e);return r<0?void 0:t[r][1]},A.prototype.has=function(e){return I(this.__data__,e)>-1},A.prototype.set=function(e,t){var r=this.__data__,n=I(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},N.prototype.clear=function(){this.__data__={hash:new C,map:new(D||A),string:new C}},N.prototype.delete=function(e){return R(this,e).delete(e)},N.prototype.get=function(e){return R(this,e).get(e)},N.prototype.has=function(e){return R(this,e).has(e)},N.prototype.set=function(e,t){return R(this,e).set(e,t),this},P.prototype.add=P.prototype.push=function(e){return this.__data__.set(e,r),this},P.prototype.has=function(e){return this.__data__.has(e)};var O=w&&1/f(new w([,-0]))[1]==1/0?function(e){return new w(e)}:function(){};function R(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function M(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return F(r)?r:void 0}function L(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=function(e){return e&&e.length?function(e,r,n){var i=-1,a=l,o=e.length,s=!0,c=[],d=c;if(n)s=!1,a=u;else if(o>=t){var m=r?null:O(e);if(m)return f(m);s=!1,a=p,d=new P}else d=r?[]:c;e:for(;++i<o;){var g=e[i],_=r?r(g):g;if(g=n||0!==g?g:0,s&&_==_){for(var h=d.length;h--;)if(d[h]===_)continue e;r&&d.push(_),c.push(g)}else a(d,_,n)||(d!==c&&d.push(_),c.push(g))}return c}(e):[]}},2543:function(e,t,r){var n;
74 e.exports=function(e,t){if("string"!=typeof e)throw new TypeError("expected path to be a string");if("\\"===e||"/"===e)return"/";var r=e.length;if(r<=1)return e;var n="";if(r>4&&"\\"===e[3]){var i=e[2];"?"!==i&&"."!==i||"\\\\"!==e.slice(0,2)||(e=e.slice(2),n="//")}var a=e.split(/[/\\]+/);return!1!==t&&""===a[a.length-1]&&a.pop(),n+a.join("/")}},83519:(e,t,r)=>{var n=r(86587);function i(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function a(e){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)},r=e.name||"Function wrapped with `once`";return t.onceError=r+" shouldn't be called more than once",t.called=!1,t}e.exports=n(i),e.exports.strict=n(a),i.proto=i((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return i(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return a(this)},configurable:!0})}))},51668:(e,t,r)=>{"use strict";var n={};(0,r(9805).assign)(n,r(63303),r(87083),r(19681)),e.exports=n},63303:(e,t,r)=>{"use strict";var n=r(58411),i=r(9805),a=r(41996),o=r(54674),s=r(44442),c=Object.prototype.toString,l=0,u=-1,d=0,p=8;function f(e){if(!(this instanceof f))return new f(e);this.options=i.assign({level:u,method:p,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:""},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var r=n.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==l)throw new Error(o[r]);if(t.header&&n.deflateSetHeader(this.strm,t.header),t.dictionary){var m;if(m="string"==typeof t.dictionary?a.string2buf(t.dictionary):"[object ArrayBuffer]"===c.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(r=n.deflateSetDictionary(this.strm,m))!==l)throw new Error(o[r]);this._dict_set=!0}}function m(e,t){var r=new f(t);if(r.push(e,!0),r.err)throw r.msg||o[r.err];return r.result}f.prototype.push=function(e,t){var r,o,s=this.strm,u=this.options.chunkSize;if(this.ended)return!1;o=t===~~t?t:!0===t?4:0,"string"==typeof e?s.input=a.string2buf(e):"[object ArrayBuffer]"===c.call(e)?s.input=new Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(u),s.next_out=0,s.avail_out=u),1!==(r=n.deflate(s,o))&&r!==l)return this.onEnd(r),this.ended=!0,!1;0!==s.avail_out&&(0!==s.avail_in||4!==o&&2!==o)||("string"===this.options.to?this.onData(a.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&1!==r);return 4===o?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===l):2!==o||(this.onEnd(l),s.avail_out=0,!0)},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===l&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Deflate=f,t.deflate=m,t.deflateRaw=function(e,t){return(t=t||{}).raw=!0,m(e,t)},t.gzip=function(e,t){return(t=t||{}).gzip=!0,m(e,t)}},87083:(e,t,r)=>{"use strict";var n=r(71447),i=r(9805),a=r(41996),o=r(19681),s=r(54674),c=r(44442),l=r(37414),u=Object.prototype.toString;function d(e){if(!(this instanceof d))return new d(e);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(15&t.windowBits||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,t.windowBits);if(r!==o.Z_OK)throw new Error(s[r]);if(this.header=new l,n.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=a.string2buf(t.dictionary):"[object ArrayBuffer]"===u.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(r=n.inflateSetDictionary(this.strm,t.dictionary))!==o.Z_OK))throw new Error(s[r])}function p(e,t){var r=new d(t);if(r.push(e,!0),r.err)throw r.msg||s[r.err];return r.result}d.prototype.push=function(e,t){var r,s,c,l,d,p=this.strm,f=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?o.Z_FINISH:o.Z_NO_FLUSH,"string"==typeof e?p.input=a.binstring2buf(e):"[object ArrayBuffer]"===u.call(e)?p.input=new Uint8Array(e):p.input=e,p.next_in=0,p.avail_in=p.input.length;do{if(0===p.avail_out&&(p.output=new i.Buf8(f),p.next_out=0,p.avail_out=f),(r=n.inflate(p,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&m&&(r=n.inflateSetDictionary(this.strm,m)),r===o.Z_BUF_ERROR&&!0===g&&(r=o.Z_OK,g=!1),r!==o.Z_STREAM_END&&r!==o.Z_OK)return this.onEnd(r),this.ended=!0,!1;p.next_out&&(0!==p.avail_out&&r!==o.Z_STREAM_END&&(0!==p.avail_in||s!==o.Z_FINISH&&s!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(c=a.utf8border(p.output,p.next_out),l=p.next_out-c,d=a.buf2string(p.output,c),p.next_out=l,p.avail_out=f-l,l&&i.arraySet(p.output,p.output,c,l,0),this.onData(d)):this.onData(i.shrinkBuf(p.output,p.next_out)))),0===p.avail_in&&0===p.avail_out&&(g=!0)}while((p.avail_in>0||0===p.avail_out)&&r!==o.Z_STREAM_END);return r===o.Z_STREAM_END&&(s=o.Z_FINISH),s===o.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===o.Z_OK):s!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),p.avail_out=0,!0)},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===o.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=d,t.inflate=p,t.inflateRaw=function(e,t){return(t=t||{}).raw=!0,p(e,t)},t.ungzip=p},9805:(e,t)=>{"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var i in r)n(r,i)&&(e[i]=r[i])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var i={arraySet:function(e,t,r,n,i){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+n),i);else for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){var t,r,n,i,a,o;for(n=0,t=0,r=e.length;t<r;t++)n+=e[t].length;for(o=new Uint8Array(n),i=0,t=0,r=e.length;t<r;t++)a=e[t],o.set(a,i),i+=a.length;return o}},a={arraySet:function(e,t,r,n,i){for(var a=0;a<n;a++)e[i+a]=t[r+a]},flattenChunks:function(e){return[].concat.apply([],e)}};t.setTyped=function(e){e?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,i)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,a))},t.setTyped(r)},41996:(e,t,r)=>{"use strict";var n=r(9805),i=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(e){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){a=!1}for(var o=new n.Buf8(256),s=0;s<256;s++)o[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function c(e,t){if(t<65534&&(e.subarray&&a||!e.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(e,t));for(var r="",o=0;o<t;o++)r+=String.fromCharCode(e[o]);return r}o[254]=o[254]=1,t.string2buf=function(e){var t,r,i,a,o,s=e.length,c=0;for(a=0;a<s;a++)55296==(64512&(r=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(i=e.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(i-56320),a++),c+=r<128?1:r<2048?2:r<65536?3:4;for(t=new n.Buf8(c),o=0,a=0;o<c;a++)55296==(64512&(r=e.charCodeAt(a)))&&a+1<s&&56320==(64512&(i=e.charCodeAt(a+1)))&&(r=65536+(r-55296<<10)+(i-56320),a++),r<128?t[o++]=r:r<2048?(t[o++]=192|r>>>6,t[o++]=128|63&r):r<65536?(t[o++]=224|r>>>12,t[o++]=128|r>>>6&63,t[o++]=128|63&r):(t[o++]=240|r>>>18,t[o++]=128|r>>>12&63,t[o++]=128|r>>>6&63,t[o++]=128|63&r);return t},t.buf2binstring=function(e){return c(e,e.length)},t.binstring2buf=function(e){for(var t=new n.Buf8(e.length),r=0,i=t.length;r<i;r++)t[r]=e.charCodeAt(r);return t},t.buf2string=function(e,t){var r,n,i,a,s=t||e.length,l=new Array(2*s);for(n=0,r=0;r<s;)if((i=e[r++])<128)l[n++]=i;else if((a=o[i])>4)l[n++]=65533,r+=a-1;else{for(i&=2===a?31:3===a?15:7;a>1&&r<s;)i=i<<6|63&e[r++],a--;a>1?l[n++]=65533:i<65536?l[n++]=i:(i-=65536,l[n++]=55296|i>>10&1023,l[n++]=56320|1023&i)}return c(l,n)},t.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;r>=0&&128==(192&e[r]);)r--;return r<0||0===r?t:r+o[e[r]]>t?r:t}},53269:e=>{"use strict";e.exports=function(e,t,r,n){for(var i=65535&e,a=e>>>16&65535,o=0;0!==r;){r-=o=r>2e3?2e3:r;do{a=a+(i=i+t[n++]|0)|0}while(--o);i%=65521,a%=65521}return i|a<<16}},19681:e=>{"use strict";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},14823:e=>{"use strict";var t=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();e.exports=function(e,r,n,i){var a=t,o=i+n;e^=-1;for(var s=i;s<o;s++)e=e>>>8^a[255&(e^r[s])];return~e}},58411:(e,t,r)=>{"use strict";var n,i=r(9805),a=r(23665),o=r(53269),s=r(14823),c=r(54674),l=0,u=4,d=0,p=-2,f=-1,m=4,g=2,_=8,h=9,y=286,v=30,b=19,k=2*y+1,x=15,E=3,S=258,D=S+E+1,w=42,T=103,C=113,A=666,N=1,P=2,I=3,F=4;function O(e,t){return e.msg=c[t],t}function R(e){return(e<<1)-(e>4?9:0)}function M(e){for(var t=e.length;--t>=0;)e[t]=0}function L(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(i.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function j(e,t){a._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,L(e.strm)}function B(e,t){e.pending_buf[e.pending++]=t}function z(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function U(e,t){var r,n,i=e.max_chain_length,a=e.strstart,o=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-D?e.strstart-(e.w_size-D):0,l=e.window,u=e.w_mask,d=e.prev,p=e.strstart+S,f=l[a+o-1],m=l[a+o];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(l[(r=t)+o]===m&&l[r+o-1]===f&&l[r]===l[a]&&l[++r]===l[a+1]){a+=2,r++;do{}while(l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&l[++a]===l[++r]&&a<p);if(n=S-(p-a),a=p-S,n>o){if(e.match_start=t,o=n,n>=s)break;f=l[a+o-1],m=l[a+o]}}}while((t=d[t&u])>c&&0!=--i);return o<=e.lookahead?o:e.lookahead}function q(e){var t,r,n,a,c,l,u,d,p,f,m=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=m+(m-D)){i.arraySet(e.window,e.window,m,m,0),e.match_start-=m,e.strstart-=m,e.block_start-=m,t=r=e.hash_size;do{n=e.head[--t],e.head[t]=n>=m?n-m:0}while(--r);t=r=m;do{n=e.prev[--t],e.prev[t]=n>=m?n-m:0}while(--r);a+=m}if(0===e.strm.avail_in)break;if(l=e.strm,u=e.window,d=e.strstart+e.lookahead,p=a,f=void 0,(f=l.avail_in)>p&&(f=p),r=0===f?0:(l.avail_in-=f,i.arraySet(u,l.input,l.next_in,f,d),1===l.state.wrap?l.adler=o(l.adler,u,f,d):2===l.state.wrap&&(l.adler=s(l.adler,u,f,d)),l.next_in+=f,l.total_in+=f,f),e.lookahead+=r,e.lookahead+e.insert>=E)for(c=e.strstart-e.insert,e.ins_h=e.window[c],e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[c+E-1])&e.hash_mask,e.prev[c&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=c,c++,e.insert--,!(e.lookahead+e.insert<E)););}while(e.lookahead<D&&0!==e.strm.avail_in)}function J(e,t){for(var r,n;;){if(e.lookahead<D){if(q(e),e.lookahead<D&&t===l)return N;if(0===e.lookahead)break}if(r=0,e.lookahead>=E&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+E-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-D&&(e.match_length=U(e,r)),e.match_length>=E)if(n=a._tr_tally(e,e.strstart-e.match_start,e.match_length-E),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=E){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+E-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else n=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(j(e,!1),0===e.strm.avail_out))return N}return e.insert=e.strstart<E-1?e.strstart:E-1,t===u?(j(e,!0),0===e.strm.avail_out?I:F):e.last_lit&&(j(e,!1),0===e.strm.avail_out)?N:P}function V(e,t){for(var r,n,i;;){if(e.lookahead<D){if(q(e),e.lookahead<D&&t===l)return N;if(0===e.lookahead)break}if(r=0,e.lookahead>=E&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+E-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=E-1,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-D&&(e.match_length=U(e,r),e.match_length<=5&&(1===e.strategy||e.match_length===E&&e.strstart-e.match_start>4096)&&(e.match_length=E-1)),e.prev_length>=E&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-E,n=a._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-E),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+E-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=E-1,e.strstart++,n&&(j(e,!1),0===e.strm.avail_out))return N}else if(e.match_available){if((n=a._tr_tally(e,0,e.window[e.strstart-1]))&&j(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return N}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=a._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<E-1?e.strstart:E-1,t===u?(j(e,!0),0===e.strm.avail_out?I:F):e.last_lit&&(j(e,!1),0===e.strm.avail_out)?N:P}function H(e,t,r,n,i){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=n,this.func=i}function K(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=_,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(2*k),this.dyn_dtree=new i.Buf16(2*(2*v+1)),this.bl_tree=new i.Buf16(2*(2*b+1)),M(this.dyn_ltree),M(this.dyn_dtree),M(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(x+1),this.heap=new i.Buf16(2*y+1),M(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(2*y+1),M(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function W(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=g,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?w:C,e.adler=2===t.wrap?0:1,t.last_flush=l,a._tr_init(t),d):O(e,p)}function G(e){var t,r=W(e);return r===d&&((t=e.state).window_size=2*t.w_size,M(t.head),t.max_lazy_match=n[t.level].max_lazy,t.good_match=n[t.level].good_length,t.nice_match=n[t.level].nice_length,t.max_chain_length=n[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=E-1,t.match_available=0,t.ins_h=0),r}function $(e,t,r,n,a,o){if(!e)return p;var s=1;if(t===f&&(t=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),a<1||a>h||r!==_||n<8||n>15||t<0||t>9||o<0||o>m)return O(e,p);8===n&&(n=9);var c=new K;return e.state=c,c.strm=e,c.wrap=s,c.gzhead=null,c.w_bits=n,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=a+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+E-1)/E),c.window=new i.Buf8(2*c.w_size),c.head=new i.Buf16(c.hash_size),c.prev=new i.Buf16(c.w_size),c.lit_bufsize=1<<a+6,c.pending_buf_size=4*c.lit_bufsize,c.pending_buf=new i.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=t,c.strategy=o,c.method=r,G(e)}n=[new H(0,0,0,0,(function(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(q(e),0===e.lookahead&&t===l)return N;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,j(e,!1),0===e.strm.avail_out))return N;if(e.strstart-e.block_start>=e.w_size-D&&(j(e,!1),0===e.strm.avail_out))return N}return e.insert=0,t===u?(j(e,!0),0===e.strm.avail_out?I:F):(e.strstart>e.block_start&&(j(e,!1),e.strm.avail_out),N)})),new H(4,4,8,4,J),new H(4,5,16,8,J),new H(4,6,32,32,J),new H(4,4,16,16,V),new H(8,16,32,32,V),new H(8,16,128,128,V),new H(8,32,128,256,V),new H(32,128,258,1024,V),new H(32,258,258,4096,V)],t.deflateInit=function(e,t){return $(e,t,_,15,8,0)},t.deflateInit2=$,t.deflateReset=G,t.deflateResetKeep=W,t.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?p:(e.state.gzhead=t,d):p},t.deflate=function(e,t){var r,i,o,c;if(!e||!e.state||t>5||t<0)return e?O(e,p):p;if(i=e.state,!e.output||!e.input&&0!==e.avail_in||i.status===A&&t!==u)return O(e,0===e.avail_out?-5:p);if(i.strm=e,r=i.last_flush,i.last_flush=t,i.status===w)if(2===i.wrap)e.adler=0,B(i,31),B(i,139),B(i,8),i.gzhead?(B(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),B(i,255&i.gzhead.time),B(i,i.gzhead.time>>8&255),B(i,i.gzhead.time>>16&255),B(i,i.gzhead.time>>24&255),B(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),B(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(B(i,255&i.gzhead.extra.length),B(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(e.adler=s(e.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(B(i,0),B(i,0),B(i,0),B(i,0),B(i,0),B(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),B(i,3),i.status=C);else{var f=_+(i.w_bits-8<<4)<<8;f|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(f|=32),f+=31-f%31,i.status=C,z(i,f),0!==i.strstart&&(z(i,e.adler>>>16),z(i,65535&e.adler)),e.adler=1}if(69===i.status)if(i.gzhead.extra){for(o=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),L(e),o=i.pending,i.pending!==i.pending_buf_size));)B(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),L(e),o=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,B(i,c)}while(0!==c);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===c&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),L(e),o=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,B(i,c)}while(0!==c);i.gzhead.hcrc&&i.pending>o&&(e.adler=s(e.adler,i.pending_buf,i.pending-o,o)),0===c&&(i.status=T)}else i.status=T;if(i.status===T&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&L(e),i.pending+2<=i.pending_buf_size&&(B(i,255&e.adler),B(i,e.adler>>8&255),e.adler=0,i.status=C)):i.status=C),0!==i.pending){if(L(e),0===e.avail_out)return i.last_flush=-1,d}else if(0===e.avail_in&&R(t)<=R(r)&&t!==u)return O(e,-5);if(i.status===A&&0!==e.avail_in)return O(e,-5);if(0!==e.avail_in||0!==i.lookahead||t!==l&&i.status!==A){var m=2===i.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(q(e),0===e.lookahead)){if(t===l)return N;break}if(e.match_length=0,r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(j(e,!1),0===e.strm.avail_out))return N}return e.insert=0,t===u?(j(e,!0),0===e.strm.avail_out?I:F):e.last_lit&&(j(e,!1),0===e.strm.avail_out)?N:P}(i,t):3===i.strategy?function(e,t){for(var r,n,i,o,s=e.window;;){if(e.lookahead<=S){if(q(e),e.lookahead<=S&&t===l)return N;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=E&&e.strstart>0&&(n=s[i=e.strstart-1])===s[++i]&&n===s[++i]&&n===s[++i]){o=e.strstart+S;do{}while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<o);e.match_length=S-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=E?(r=a._tr_tally(e,1,e.match_length-E),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=a._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(j(e,!1),0===e.strm.avail_out))return N}return e.insert=0,t===u?(j(e,!0),0===e.strm.avail_out?I:F):e.last_lit&&(j(e,!1),0===e.strm.avail_out)?N:P}(i,t):n[i.level].func(i,t);if(m!==I&&m!==F||(i.status=A),m===N||m===I)return 0===e.avail_out&&(i.last_flush=-1),d;if(m===P&&(1===t?a._tr_align(i):5!==t&&(a._tr_stored_block(i,0,0,!1),3===t&&(M(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),L(e),0===e.avail_out))return i.last_flush=-1,d}return t!==u?d:i.wrap<=0?1:(2===i.wrap?(B(i,255&e.adler),B(i,e.adler>>8&255),B(i,e.adler>>16&255),B(i,e.adler>>24&255),B(i,255&e.total_in),B(i,e.total_in>>8&255),B(i,e.total_in>>16&255),B(i,e.total_in>>24&255)):(z(i,e.adler>>>16),z(i,65535&e.adler)),L(e),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?d:1)},t.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==w&&69!==t&&73!==t&&91!==t&&t!==T&&t!==C&&t!==A?O(e,p):(e.state=null,t===C?O(e,-3):d):p},t.deflateSetDictionary=function(e,t){var r,n,a,s,c,l,u,f,m=t.length;if(!e||!e.state)return p;if(2===(s=(r=e.state).wrap)||1===s&&r.status!==w||r.lookahead)return p;for(1===s&&(e.adler=o(e.adler,t,m,0)),r.wrap=0,m>=r.w_size&&(0===s&&(M(r.head),r.strstart=0,r.block_start=0,r.insert=0),f=new i.Buf8(r.w_size),i.arraySet(f,t,m-r.w_size,r.w_size,0),t=f,m=r.w_size),c=e.avail_in,l=e.next_in,u=e.input,e.avail_in=m,e.next_in=0,e.input=t,q(r);r.lookahead>=E;){n=r.strstart,a=r.lookahead-(E-1);do{r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+E-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++}while(--a);r.strstart=n,r.lookahead=E-1,q(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=E-1,r.match_available=0,e.next_in=l,e.input=u,e.avail_in=c,r.wrap=s,d},t.deflateInfo="pako deflate (from Nodeca project)"},37414:e=>{"use strict";e.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},47293:e=>{"use strict";e.exports=function(e,t){var r,n,i,a,o,s,c,l,u,d,p,f,m,g,_,h,y,v,b,k,x,E,S,D,w;r=e.state,n=e.next_in,D=e.input,i=n+(e.avail_in-5),a=e.next_out,w=e.output,o=a-(t-e.avail_out),s=a+(e.avail_out-257),c=r.dmax,l=r.wsize,u=r.whave,d=r.wnext,p=r.window,f=r.hold,m=r.bits,g=r.lencode,_=r.distcode,h=(1<<r.lenbits)-1,y=(1<<r.distbits)-1;e:do{m<15&&(f+=D[n++]<<m,m+=8,f+=D[n++]<<m,m+=8),v=g[f&h];t:for(;;){if(f>>>=b=v>>>24,m-=b,0===(b=v>>>16&255))w[a++]=65535&v;else{if(!(16&b)){if(64&b){if(32&b){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}v=g[(65535&v)+(f&(1<<b)-1)];continue t}for(k=65535&v,(b&=15)&&(m<b&&(f+=D[n++]<<m,m+=8),k+=f&(1<<b)-1,f>>>=b,m-=b),m<15&&(f+=D[n++]<<m,m+=8,f+=D[n++]<<m,m+=8),v=_[f&y];;){if(f>>>=b=v>>>24,m-=b,16&(b=v>>>16&255)){if(x=65535&v,m<(b&=15)&&(f+=D[n++]<<m,(m+=8)<b&&(f+=D[n++]<<m,m+=8)),(x+=f&(1<<b)-1)>c){e.msg="invalid distance too far back",r.mode=30;break e}if(f>>>=b,m-=b,x>(b=a-o)){if((b=x-b)>u&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(E=0,S=p,0===d){if(E+=l-b,b<k){k-=b;do{w[a++]=p[E++]}while(--b);E=a-x,S=w}}else if(d<b){if(E+=l+d-b,(b-=d)<k){k-=b;do{w[a++]=p[E++]}while(--b);if(E=0,d<k){k-=b=d;do{w[a++]=p[E++]}while(--b);E=a-x,S=w}}}else if(E+=d-b,b<k){k-=b;do{w[a++]=p[E++]}while(--b);E=a-x,S=w}for(;k>2;)w[a++]=S[E++],w[a++]=S[E++],w[a++]=S[E++],k-=3;k&&(w[a++]=S[E++],k>1&&(w[a++]=S[E++]))}else{E=a-x;do{w[a++]=w[E++],w[a++]=w[E++],w[a++]=w[E++],k-=3}while(k>2);k&&(w[a++]=w[E++],k>1&&(w[a++]=w[E++]))}break}if(64&b){e.msg="invalid distance code",r.mode=30;break e}v=_[(65535&v)+(f&(1<<b)-1)]}}break}}while(n<i&&a<s);n-=k=m>>3,f&=(1<<(m-=k<<3))-1,e.next_in=n,e.next_out=a,e.avail_in=n<i?i-n+5:5-(n-i),e.avail_out=a<s?s-a+257:257-(a-s),r.hold=f,r.bits=m}},71447:(e,t,r)=>{"use strict";var n=r(9805),i=r(53269),a=r(14823),o=r(47293),s=r(21998),c=1,l=2,u=0,d=-2,p=1,f=12,m=30,g=852,_=592;function h(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function y(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function v(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=p,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new n.Buf32(g),t.distcode=t.distdyn=new n.Buf32(_),t.sane=1,t.back=-1,u):d}function b(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,v(e)):d}function k(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?d:(null!==n.window&&n.wbits!==t&&(n.window=null),n.wrap=r,n.wbits=t,b(e))):d}function x(e,t){var r,n;return e?(n=new y,e.state=n,n.window=null,(r=k(e,t))!==u&&(e.state=null),r):d}var E,S,D=!0;function w(e){if(D){var t;for(E=new n.Buf32(512),S=new n.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(c,e.lens,0,288,E,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(l,e.lens,0,32,S,0,e.work,{bits:5}),D=!1}e.lencode=E,e.lenbits=9,e.distcode=S,e.distbits=5}function T(e,t,r,i){var a,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new n.Buf8(o.wsize)),i>=o.wsize?(n.arraySet(o.window,t,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((a=o.wsize-o.wnext)>i&&(a=i),n.arraySet(o.window,t,r-i,a,o.wnext),(i-=a)?(n.arraySet(o.window,t,r-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=a))),0}t.inflateReset=b,t.inflateReset2=k,t.inflateResetKeep=v,t.inflateInit=function(e){return x(e,15)},t.inflateInit2=x,t.inflate=function(e,t){var r,g,_,y,v,b,k,x,E,S,D,C,A,N,P,I,F,O,R,M,L,j,B,z,U=0,q=new n.Buf8(4),J=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return d;(r=e.state).mode===f&&(r.mode=13),v=e.next_out,_=e.output,k=e.avail_out,y=e.next_in,g=e.input,b=e.avail_in,x=r.hold,E=r.bits,S=b,D=k,j=u;e:for(;;)switch(r.mode){case p:if(0===r.wrap){r.mode=13;break}for(;E<16;){if(0===b)break e;b--,x+=g[y++]<<E,E+=8}if(2&r.wrap&&35615===x){r.check=0,q[0]=255&x,q[1]=x>>>8&255,r.check=a(r.check,q,2,0),x=0,E=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&x)<<8)+(x>>8))%31){e.msg="incorrect header check",r.mode=m;break}if(8!=(15&x)){e.msg="unknown compression method",r.mode=m;break}if(E-=4,L=8+(15&(x>>>=4)),0===r.wbits)r.wbits=L;else if(L>r.wbits){e.msg="invalid window size",r.mode=m;break}r.dmax=1<<L,e.adler=r.check=1,r.mode=512&x?10:f,x=0,E=0;break;case 2:for(;E<16;){if(0===b)break e;b--,x+=g[y++]<<E,E+=8}if(r.flags=x,8!=(255&r.flags)){e.msg="unknown compression method",r.mode=m;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=m;break}r.head&&(r.head.text=x>>8&1),512&r.flags&&(q[0]=255&x,q[1]=x>>>8&255,r.check=a(r.check,q,2,0)),x=0,E=0,r.mode=3;case 3:for(;E<32;){if(0===b)break e;b--,x+=g[y++]<<E,E+=8}r.head&&(r.head.time=x),512&r.flags&&(q[0]=255&x,q[1]=x>>>8&255,q[2]=x>>>16&255,q[3]=x>>>24&255,r.check=a(r.check,q,4,0)),x=0,E=0,r.mode=4;case 4:for(;E<16;){if(0===b)break e;b--,x+=g[y++]<<E,E+=8}r.head&&(r.head.xflags=255&x,r.head.os=x>>8),512&r.flags&&(q[0]=255&x,q[1]=x>>>8&255,r.check=a(r.check,q,2,0)),x=0,E=0,r.mode=5;case 5:if(1024&r.flags){for(;E<16;){if(0===b)break e;b--,x+=g[y++]<<E,E+=8}r.length=x,r.head&&(r.head.extra_len=x),512&r.flags&&(q[0]=255&x,q[1]=x>>>8&255,r.check=a(r.check,q,2,0)),x=0,E=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((C=r.length)>b&&(C=b),C&&(r.head&&(L=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,g,y,C,L)),512&r.flags&&(r.check=a(r.check,g,C,y)),b-=C,y+=C,r.length-=C),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===b)break e;C=0;do{L=g[y+C++],r.head&&L&&r.length<65536&&(r.head.name+=String.fromCharCode(L))}while(L&&C<b);if(512&r.flags&&(r.check=a(r.check,g,C,y)),b-=C,y+=C,L)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===b)break e;C=0;do{L=g[y+C++],r.head&&L&&r.length<65536&&(r.head.comment+=String.fromCharCode(L))}while(L&&C<b);if(512&r.flags&&(r.check=a(r.check,g,C,y)),b-=C,y+=C,L)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;E<16;){if(0===b)break e;b--,x+=g[y++]<<E,E+=8}if(x!==(65535&r.check)){e.msg="header crc mismatch",r.mode=m;break}x=0,E=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=f;break;case 10:for(;E<32;){if(0===b)break e;b--,x+=g[y++]<<E,E+=8}e.adler=r.check=h(x),x=0,E=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=v,e.avail_out=k,e.next_in=y,e.avail_in=b,r.hold=x,r.bits=E,2;e.adler=r.check=1,r.mode=f;case f:if(5===t||6===t)break e;case 13:if(r.last){x>>>=7&E,E-=7&E,r.mode=27;break}for(;E<3;){if(0===b)break e;b--,x+=g[y++]<<E,E+=8}switch(r.last=1&x,E-=1,3&(x>>>=1)){case 0:r.mode=14;break;case 1:if(w(r),r.mode=20,6===t){x>>>=2,E-=2;break e}break;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=m}x>>>=2,E-=2;break;case 14:for(x>>>=7&E,E-=7&E;E<32;){if(0===b)break e;b--,x+=g[y++]<<E,E+=8}if((65535&x)!=(x>>>16^65535)){e.msg="invalid stored block lengths",r.mode=m;break}if(r.length=65535&x,x=0,E=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(C=r.length){if(C>b&&(C=b),C>k&&(C=k),0===C)break e;n.arraySet(_,g,y,C,v),b-=C,y+=C,k-=C,v+=C,r.length-=C;break}r.mode=f;break;case 17:for(;E<14;){if(0===b)break e;b--,x+=g[y++]<<E,E+=8}if(r.nlen=257+(31&x),x>>>=5,E-=5,r.ndist=1+(31&x),x>>>=5,E-=5,r.ncode=4+(15&x),x>>>=4,E-=4,r.nlen>286||r.ndist>30){e.msg="too many length or distance symbols",r.mode=m;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;E<3;){if(0===b)break e;b--,x+=g[y++]<<E,E+=8}r.lens[J[r.have++]]=7&x,x>>>=3,E-=3}for(;r.have<19;)r.lens[J[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,B={bits:r.lenbits},j=s(0,r.lens,0,19,r.lencode,0,r.work,B),r.lenbits=B.bits,j){e.msg="invalid code lengths set",r.mode=m;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;I=(U=r.lencode[x&(1<<r.lenbits)-1])>>>16&255,F=65535&U,!((P=U>>>24)<=E);){if(0===b)break e;b--,x+=g[y++]<<E,E+=8}if(F<16)x>>>=P,E-=P,r.lens[r.have++]=F;else{if(16===F){for(z=P+2;E<z;){if(0===b)break e;b--,x+=g[y++]<<E,E+=8}if(x>>>=P,E-=P,0===r.have){e.msg="invalid bit length repeat",r.mode=m;break}L=r.lens[r.have-1],C=3+(3&x),x>>>=2,E-=2}else if(17===F){for(z=P+3;E<z;){if(0===b)break e;b--,x+=g[y++]<<E,E+=8}E-=P,L=0,C=3+(7&(x>>>=P)),x>>>=3,E-=3}else{for(z=P+7;E<z;){if(0===b)break e;b--,x+=g[y++]<<E,E+=8}E-=P,L=0,C=11+(127&(x>>>=P)),x>>>=7,E-=7}if(r.have+C>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=m;break}for(;C--;)r.lens[r.have++]=L}}if(r.mode===m)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=m;break}if(r.lenbits=9,B={bits:r.lenbits},j=s(c,r.lens,0,r.nlen,r.lencode,0,r.work,B),r.lenbits=B.bits,j){e.msg="invalid literal/lengths set",r.mode=m;break}if(r.distbits=6,r.distcode=r.distdyn,B={bits:r.distbits},j=s(l,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,B),r.distbits=B.bits,j){e.msg="invalid distances set",r.mode=m;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(b>=6&&k>=258){e.next_out=v,e.avail_out=k,e.next_in=y,e.avail_in=b,r.hold=x,r.bits=E,o(e,D),v=e.next_out,_=e.output,k=e.avail_out,y=e.next_in,g=e.input,b=e.avail_in,x=r.hold,E=r.bits,r.mode===f&&(r.back=-1);break}for(r.back=0;I=(U=r.lencode[x&(1<<r.lenbits)-1])>>>16&255,F=65535&U,!((P=U>>>24)<=E);){if(0===b)break e;b--,x+=g[y++]<<E,E+=8}if(I&&!(240&I)){for(O=P,R=I,M=F;I=(U=r.lencode[M+((x&(1<<O+R)-1)>>O)])>>>16&255,F=65535&U,!(O+(P=U>>>24)<=E);){if(0===b)break e;b--,x+=g[y++]<<E,E+=8}x>>>=O,E-=O,r.back+=O}if(x>>>=P,E-=P,r.back+=P,r.length=F,0===I){r.mode=26;break}if(32&I){r.back=-1,r.mode=f;break}if(64&I){e.msg="invalid literal/length code",r.mode=m;break}r.extra=15&I,r.mode=22;case 22:if(r.extra){for(z=r.extra;E<z;){if(0===b)break e;b--,x+=g[y++]<<E,E+=8}r.length+=x&(1<<r.extra)-1,x>>>=r.extra,E-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;I=(U=r.distcode[x&(1<<r.distbits)-1])>>>16&255,F=65535&U,!((P=U>>>24)<=E);){if(0===b)break e;b--,x+=g[y++]<<E,E+=8}if(!(240&I)){for(O=P,R=I,M=F;I=(U=r.distcode[M+((x&(1<<O+R)-1)>>O)])>>>16&255,F=65535&U,!(O+(P=U>>>24)<=E);){if(0===b)break e;b--,x+=g[y++]<<E,E+=8}x>>>=O,E-=O,r.back+=O}if(x>>>=P,E-=P,r.back+=P,64&I){e.msg="invalid distance code",r.mode=m;break}r.offset=F,r.extra=15&I,r.mode=24;case 24:if(r.extra){for(z=r.extra;E<z;){if(0===b)break e;b--,x+=g[y++]<<E,E+=8}r.offset+=x&(1<<r.extra)-1,x>>>=r.extra,E-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=m;break}r.mode=25;case 25:if(0===k)break e;if(C=D-k,r.offset>C){if((C=r.offset-C)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=m;break}C>r.wnext?(C-=r.wnext,A=r.wsize-C):A=r.wnext-C,C>r.length&&(C=r.length),N=r.window}else N=_,A=v-r.offset,C=r.length;C>k&&(C=k),k-=C,r.length-=C;do{_[v++]=N[A++]}while(--C);0===r.length&&(r.mode=21);break;case 26:if(0===k)break e;_[v++]=r.length,k--,r.mode=21;break;case 27:if(r.wrap){for(;E<32;){if(0===b)break e;b--,x|=g[y++]<<E,E+=8}if(D-=k,e.total_out+=D,r.total+=D,D&&(e.adler=r.check=r.flags?a(r.check,_,D,v-D):i(r.check,_,D,v-D)),D=k,(r.flags?x:h(x))!==r.check){e.msg="incorrect data check",r.mode=m;break}x=0,E=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;E<32;){if(0===b)break e;b--,x+=g[y++]<<E,E+=8}if(x!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=m;break}x=0,E=0}r.mode=29;case 29:j=1;break e;case m:j=-3;break e;case 31:return-4;default:return d}return e.next_out=v,e.avail_out=k,e.next_in=y,e.avail_in=b,r.hold=x,r.bits=E,(r.wsize||D!==e.avail_out&&r.mode<m&&(r.mode<27||4!==t))&&T(e,e.output,e.next_out,D-e.avail_out)?(r.mode=31,-4):(S-=e.avail_in,D-=e.avail_out,e.total_in+=S,e.total_out+=D,r.total+=D,r.wrap&&D&&(e.adler=r.check=r.flags?a(r.check,_,D,e.next_out-D):i(r.check,_,D,e.next_out-D)),e.data_type=r.bits+(r.last?64:0)+(r.mode===f?128:0)+(20===r.mode||15===r.mode?256:0),(0===S&&0===D||4===t)&&j===u&&(j=-5),j)},t.inflateEnd=function(e){if(!e||!e.state)return d;var t=e.state;return t.window&&(t.window=null),e.state=null,u},t.inflateGetHeader=function(e,t){var r;return e&&e.state&&2&(r=e.state).wrap?(r.head=t,t.done=!1,u):d},t.inflateSetDictionary=function(e,t){var r,n=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?d:11===r.mode&&i(1,t,n,0)!==r.check?-3:T(e,t,n,n)?(r.mode=31,-4):(r.havedict=1,u):d},t.inflateInfo="pako inflate (from Nodeca project)"},21998:(e,t,r)=>{"use strict";var n=r(9805),i=15,a=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],s=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],c=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(e,t,r,l,u,d,p,f){var m,g,_,h,y,v,b,k,x,E=f.bits,S=0,D=0,w=0,T=0,C=0,A=0,N=0,P=0,I=0,F=0,O=null,R=0,M=new n.Buf16(16),L=new n.Buf16(16),j=null,B=0;for(S=0;S<=i;S++)M[S]=0;for(D=0;D<l;D++)M[t[r+D]]++;for(C=E,T=i;T>=1&&0===M[T];T--);if(C>T&&(C=T),0===T)return u[d++]=20971520,u[d++]=20971520,f.bits=1,0;for(w=1;w<T&&0===M[w];w++);for(C<w&&(C=w),P=1,S=1;S<=i;S++)if(P<<=1,(P-=M[S])<0)return-1;if(P>0&&(0===e||1!==T))return-1;for(L[1]=0,S=1;S<i;S++)L[S+1]=L[S]+M[S];for(D=0;D<l;D++)0!==t[r+D]&&(p[L[t[r+D]]++]=D);if(0===e?(O=j=p,v=19):1===e?(O=a,R-=257,j=o,B-=257,v=256):(O=s,j=c,v=-1),F=0,D=0,S=w,y=d,A=C,N=0,_=-1,h=(I=1<<C)-1,1===e&&I>852||2===e&&I>592)return 1;for(;;){b=S-N,p[D]<v?(k=0,x=p[D]):p[D]>v?(k=j[B+p[D]],x=O[R+p[D]]):(k=96,x=0),m=1<<S-N,w=g=1<<A;do{u[y+(F>>N)+(g-=m)]=b<<24|k<<16|x}while(0!==g);for(m=1<<S-1;F&m;)m>>=1;if(0!==m?(F&=m-1,F+=m):F=0,D++,0==--M[S]){if(S===T)break;S=t[r+p[D]]}if(S>C&&(F&h)!==_){for(0===N&&(N=C),y+=w,P=1<<(A=S-N);A+N<T&&!((P-=M[A+N])<=0);)A++,P<<=1;if(I+=1<<A,1===e&&I>852||2===e&&I>592)return 1;u[_=F&h]=C<<24|A<<16|y-d}}return 0!==F&&(u[y+F]=S-N<<24|64<<16),f.bits=C,0}},54674:e=>{"use strict";e.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},23665:(e,t,r)=>{"use strict";var n=r(9805),i=0,a=1;function o(e){for(var t=e.length;--t>=0;)e[t]=0}var s=0,c=29,l=256,u=l+1+c,d=30,p=19,f=2*u+1,m=15,g=16,_=7,h=256,y=16,v=17,b=18,k=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],x=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],E=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],S=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],D=new Array(2*(u+2));o(D);var w=new Array(2*d);o(w);var T=new Array(512);o(T);var C=new Array(256);o(C);var A=new Array(c);o(A);var N,P,I,F=new Array(d);function O(e,t,r,n,i){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}function R(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function M(e){return e<256?T[e]:T[256+(e>>>7)]}function L(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function j(e,t,r){e.bi_valid>g-r?(e.bi_buf|=t<<e.bi_valid&65535,L(e,e.bi_buf),e.bi_buf=t>>g-e.bi_valid,e.bi_valid+=r-g):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function B(e,t,r){j(e,r[2*t],r[2*t+1])}function z(e,t){var r=0;do{r|=1&e,e>>>=1,r<<=1}while(--t>0);return r>>>1}function U(e,t,r){var n,i,a=new Array(m+1),o=0;for(n=1;n<=m;n++)a[n]=o=o+r[n-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=z(a[s]++,s))}}function q(e){var t;for(t=0;t<u;t++)e.dyn_ltree[2*t]=0;for(t=0;t<d;t++)e.dyn_dtree[2*t]=0;for(t=0;t<p;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*h]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function J(e){e.bi_valid>8?L(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function V(e,t,r,n){var i=2*t,a=2*r;return e[i]<e[a]||e[i]===e[a]&&n[t]<=n[r]}function H(e,t,r){for(var n=e.heap[r],i=r<<1;i<=e.heap_len&&(i<e.heap_len&&V(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!V(t,n,e.heap[i],e.depth));)e.heap[r]=e.heap[i],r=i,i<<=1;e.heap[r]=n}function K(e,t,r){var n,i,a,o,s=0;if(0!==e.last_lit)do{n=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],i=e.pending_buf[e.l_buf+s],s++,0===n?B(e,i,t):(B(e,(a=C[i])+l+1,t),0!==(o=k[a])&&j(e,i-=A[a],o),B(e,a=M(--n),r),0!==(o=x[a])&&j(e,n-=F[a],o))}while(s<e.last_lit);B(e,h,t)}function W(e,t){var r,n,i,a=t.dyn_tree,o=t.stat_desc.static_tree,s=t.stat_desc.has_stree,c=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=f,r=0;r<c;r++)0!==a[2*r]?(e.heap[++e.heap_len]=l=r,e.depth[r]=0):a[2*r+1]=0;for(;e.heap_len<2;)a[2*(i=e.heap[++e.heap_len]=l<2?++l:0)]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=o[2*i+1]);for(t.max_code=l,r=e.heap_len>>1;r>=1;r--)H(e,a,r);i=c;do{r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],H(e,a,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,a[2*i]=a[2*r]+a[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,a[2*r+1]=a[2*n+1]=i,e.heap[1]=i++,H(e,a,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,a,o,s,c=t.dyn_tree,l=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,p=t.stat_desc.extra_bits,g=t.stat_desc.extra_base,_=t.stat_desc.max_length,h=0;for(a=0;a<=m;a++)e.bl_count[a]=0;for(c[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<f;r++)(a=c[2*c[2*(n=e.heap[r])+1]+1]+1)>_&&(a=_,h++),c[2*n+1]=a,n>l||(e.bl_count[a]++,o=0,n>=g&&(o=p[n-g]),s=c[2*n],e.opt_len+=s*(a+o),d&&(e.static_len+=s*(u[2*n+1]+o)));if(0!==h){do{for(a=_-1;0===e.bl_count[a];)a--;e.bl_count[a]--,e.bl_count[a+1]+=2,e.bl_count[_]--,h-=2}while(h>0);for(a=_;0!==a;a--)for(n=e.bl_count[a];0!==n;)(i=e.heap[--r])>l||(c[2*i+1]!==a&&(e.opt_len+=(a-c[2*i+1])*c[2*i],c[2*i+1]=a),n--)}}(e,t),U(a,l,e.bl_count)}function G(e,t,r){var n,i,a=-1,o=t[1],s=0,c=7,l=4;for(0===o&&(c=138,l=3),t[2*(r+1)+1]=65535,n=0;n<=r;n++)i=o,o=t[2*(n+1)+1],++s<c&&i===o||(s<l?e.bl_tree[2*i]+=s:0!==i?(i!==a&&e.bl_tree[2*i]++,e.bl_tree[2*y]++):s<=10?e.bl_tree[2*v]++:e.bl_tree[2*b]++,s=0,a=i,0===o?(c=138,l=3):i===o?(c=6,l=3):(c=7,l=4))}function $(e,t,r){var n,i,a=-1,o=t[1],s=0,c=7,l=4;for(0===o&&(c=138,l=3),n=0;n<=r;n++)if(i=o,o=t[2*(n+1)+1],!(++s<c&&i===o)){if(s<l)do{B(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==a&&(B(e,i,e.bl_tree),s--),B(e,y,e.bl_tree),j(e,s-3,2)):s<=10?(B(e,v,e.bl_tree),j(e,s-3,3)):(B(e,b,e.bl_tree),j(e,s-11,7));s=0,a=i,0===o?(c=138,l=3):i===o?(c=6,l=3):(c=7,l=4)}}o(F);var Y=!1;function X(e,t,r,i){j(e,(s<<1)+(i?1:0),3),function(e,t,r,i){J(e),i&&(L(e,r),L(e,~r)),n.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}(e,t,r,!0)}t._tr_init=function(e){Y||(!function(){var e,t,r,n,i,a=new Array(m+1);for(r=0,n=0;n<c-1;n++)for(A[n]=r,e=0;e<1<<k[n];e++)C[r++]=n;for(C[r-1]=n,i=0,n=0;n<16;n++)for(F[n]=i,e=0;e<1<<x[n];e++)T[i++]=n;for(i>>=7;n<d;n++)for(F[n]=i<<7,e=0;e<1<<x[n]-7;e++)T[256+i++]=n;for(t=0;t<=m;t++)a[t]=0;for(e=0;e<=143;)D[2*e+1]=8,e++,a[8]++;for(;e<=255;)D[2*e+1]=9,e++,a[9]++;for(;e<=279;)D[2*e+1]=7,e++,a[7]++;for(;e<=287;)D[2*e+1]=8,e++,a[8]++;for(U(D,u+1,a),e=0;e<d;e++)w[2*e+1]=5,w[2*e]=z(e,5);N=new O(D,k,l+1,u,m),P=new O(w,x,0,d,m),I=new O(new Array(0),E,0,p,_)}(),Y=!0),e.l_desc=new R(e.dyn_ltree,N),e.d_desc=new R(e.dyn_dtree,P),e.bl_desc=new R(e.bl_tree,I),e.bi_buf=0,e.bi_valid=0,q(e)},t._tr_stored_block=X,t._tr_flush_block=function(e,t,r,n){var o,s,c=0;e.level>0?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return i;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return a;for(t=32;t<l;t++)if(0!==e.dyn_ltree[2*t])return a;return i}(e)),W(e,e.l_desc),W(e,e.d_desc),c=function(e){var t;for(G(e,e.dyn_ltree,e.l_desc.max_code),G(e,e.dyn_dtree,e.d_desc.max_code),W(e,e.bl_desc),t=p-1;t>=3&&0===e.bl_tree[2*S[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),o=e.opt_len+3+7>>>3,(s=e.static_len+3+7>>>3)<=o&&(o=s)):o=s=r+5,r+4<=o&&-1!==t?X(e,t,r,n):4===e.strategy||s===o?(j(e,2+(n?1:0),3),K(e,D,w)):(j(e,4+(n?1:0),3),function(e,t,r,n){var i;for(j(e,t-257,5),j(e,r-1,5),j(e,n-4,4),i=0;i<n;i++)j(e,e.bl_tree[2*S[i]+1],3);$(e,e.dyn_ltree,t-1),$(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,c+1),K(e,e.dyn_ltree,e.dyn_dtree)),q(e),n&&J(e)},t._tr_tally=function(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(C[r]+l+1)]++,e.dyn_dtree[2*M(t)]++),e.last_lit===e.lit_bufsize-1},t._tr_align=function(e){j(e,2,3),B(e,h,D),function(e){16===e.bi_valid?(L(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},44442:e=>{"use strict";e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},52641:e=>{"use strict";function t(e){return"/"===e.charAt(0)}function r(e){var t=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(e),r=t[1]||"",n=Boolean(r&&":"!==r.charAt(1));return Boolean(t[2]||n)}e.exports="win32"===process.platform?r:t,e.exports.posix=t,e.exports.win32=r},33225:e=>{"use strict";"undefined"==typeof process||!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?e.exports={nextTick:function(e,t,r,n){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var i,a,o=arguments.length;switch(o){case 0:case 1:return process.nextTick(e);case 2:return process.nextTick((function(){e.call(null,t)}));case 3:return process.nextTick((function(){e.call(null,t,r)}));case 4:return process.nextTick((function(){e.call(null,t,r,n)}));default:for(i=new Array(o-1),a=0;a<i.length;)i[a++]=arguments[a];return process.nextTick((function(){e.apply(null,i)}))}}}:e.exports=process},30113:e=>{"use strict";const t={};function r(e,r,n){n||(n=Error);class i extends n{constructor(e,t,n){super(function(e,t,n){return"string"==typeof r?r:r(e,t,n)}(e,t,n))}}i.prototype.name=n.name,i.prototype.code=e,t[e]=i}function n(e,t){if(Array.isArray(e)){const r=e.length;return e=e.map((e=>String(e))),r>2?`one of ${t} ${e.slice(0,r-1).join(", ")}, or `+e[r-1]:2===r?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}return`of ${t} ${String(e)}`}r("ERR_INVALID_OPT_VALUE",(function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'}),TypeError),r("ERR_INVALID_ARG_TYPE",(function(e,t,r){let i;var a,o;let s;if("string"==typeof t&&(a="not ",t.substr(!o||o<0?0:+o,a.length)===a)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))s=`The ${e} ${i} ${n(t,"type")}`;else{const r=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";s=`The "${e}" ${r} ${i} ${n(t,"type")}`}return s+=". Received type "+typeof r,s}),TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",(function(e){return"The "+e+" method is not implemented"})),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",(function(e){return"Cannot call "+e+" after a stream was destroyed"})),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",(function(e){return"Unknown encoding: "+e}),TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.F=t},25382:(e,t,r)=>{"use strict";var n=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=l;var i=r(45412),a=r(16708);r(72017)(l,i);for(var o=n(a.prototype),s=0;s<o.length;s++){var c=o[s];l.prototype[c]||(l.prototype[c]=a.prototype[c])}function l(e){if(!(this instanceof l))return new l(e);i.call(this,e),a.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",u)))}function u(){this._writableState.ended||process.nextTick(d,this)}function d(e){e.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},63600:(e,t,r)=>{"use strict";e.exports=i;var n=r(74610);function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}r(72017)(i,n),i.prototype._transform=function(e,t,r){r(null,e)}},45412:(e,t,r)=>{"use strict";var n;e.exports=S,S.ReadableState=E;r(24434).EventEmitter;var i=function(e,t){return e.listeners(t).length},a=r(81416),o=r(20181).Buffer,s=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var c,l=r(39023);c=l&&l.debuglog?l.debuglog("stream"):function(){};var u,d,p,f=r(80345),m=r(75896),g=r(65291).getHighWaterMark,_=r(30113).F,h=_.ERR_INVALID_ARG_TYPE,y=_.ERR_STREAM_PUSH_AFTER_EOF,v=_.ERR_METHOD_NOT_IMPLEMENTED,b=_.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(72017)(S,a);var k=m.errorOrDestroy,x=["error","close","destroy","pause","resume"];function E(e,t,i){n=n||r(25382),e=e||{},"boolean"!=typeof i&&(i=t instanceof n),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=g(this,e,"readableHighWaterMark",i),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(u||(u=r(83141).I),this.decoder=new u(e.encoding),this.encoding=e.encoding)}function S(e){if(n=n||r(25382),!(this instanceof S))return new S(e);var t=this instanceof n;this._readableState=new E(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),a.call(this)}function D(e,t,r,n,i){c("readableAddChunk",t);var a,l=e._readableState;if(null===t)l.reading=!1,function(e,t){if(c("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?A(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,N(e)))}(e,l);else if(i||(a=function(e,t){var r;n=t,o.isBuffer(n)||n instanceof s||"string"==typeof t||void 0===t||e.objectMode||(r=new h("chunk",["string","Buffer","Uint8Array"],t));var n;return r}(l,t)),a)k(e,a);else if(l.objectMode||t&&t.length>0)if("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===o.prototype||(t=function(e){return o.from(e)}(t)),n)l.endEmitted?k(e,new b):w(e,l,t,!0);else if(l.ended)k(e,new y);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!r?(t=l.decoder.write(t),l.objectMode||0!==t.length?w(e,l,t,!1):P(e,l)):w(e,l,t,!1)}else n||(l.reading=!1,P(e,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function w(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&A(e)),P(e,t)}Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),S.prototype.destroy=m.destroy,S.prototype._undestroy=m.undestroy,S.prototype._destroy=function(e,t){t(e)},S.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=o.from(e,t),t=""),r=!0),D(this,e,t,!1,r)},S.prototype.unshift=function(e){return D(this,e,null,!0,!1)},S.prototype.isPaused=function(){return!1===this._readableState.flowing},S.prototype.setEncoding=function(e){u||(u=r(83141).I);var t=new u(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,i="";null!==n;)i+=t.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var T=1073741824;function C(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=T?e=T:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function A(e){var t=e._readableState;c("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(c("emitReadable",t.flowing),t.emittedReadable=!0,process.nextTick(N,e))}function N(e){var t=e._readableState;c("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,M(e)}function P(e,t){t.readingMore||(t.readingMore=!0,process.nextTick(I,e,t))}function I(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(c("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function F(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function O(e){c("readable nexttick read 0"),e.read(0)}function R(e,t){c("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),M(e),t.flowing&&!t.reading&&e.read(0)}function M(e){var t=e._readableState;for(c("flow",t.flowing);t.flowing&&null!==e.read(););}function L(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function j(e){var t=e._readableState;c("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,process.nextTick(B,t,e))}function B(e,t){if(c("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function z(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}S.prototype.read=function(e){c("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return c("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?j(this):A(this),null;if(0===(e=C(e,t))&&t.ended)return 0===t.length&&j(this),null;var n,i=t.needReadable;return c("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&c("length less than watermark",i=!0),t.ended||t.reading?c("reading or ended",i=!1):i&&(c("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=C(r,t))),null===(n=e>0?L(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&j(this)),null!==n&&this.emit("data",n),n},S.prototype._read=function(e){k(this,new v("_read()"))},S.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1,c("pipe count=%d opts=%j",n.pipesCount,t);var a=(!t||!1!==t.end)&&e!==process.stdout&&e!==process.stderr?s:g;function o(t,i){c("onunpipe"),t===r&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,c("cleanup"),e.removeListener("close",f),e.removeListener("finish",m),e.removeListener("drain",l),e.removeListener("error",p),e.removeListener("unpipe",o),r.removeListener("end",s),r.removeListener("end",g),r.removeListener("data",d),u=!0,!n.awaitDrain||e._writableState&&!e._writableState.needDrain||l())}function s(){c("onend"),e.end()}n.endEmitted?process.nextTick(a):r.once("end",a),e.on("unpipe",o);var l=function(e){return function(){var t=e._readableState;c("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&i(e,"data")&&(t.flowing=!0,M(e))}}(r);e.on("drain",l);var u=!1;function d(t){c("ondata");var i=e.write(t);c("dest.write",i),!1===i&&((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==z(n.pipes,e))&&!u&&(c("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function p(t){c("onerror",t),g(),e.removeListener("error",p),0===i(e,"error")&&k(e,t)}function f(){e.removeListener("finish",m),g()}function m(){c("onfinish"),e.removeListener("close",f),g()}function g(){c("unpipe"),r.unpipe(e)}return r.on("data",d),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",p),e.once("close",f),e.once("finish",m),e.emit("pipe",r),n.flowing||(c("pipe resume"),r.resume()),e},S.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=z(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},S.prototype.on=function(e,t){var r=a.prototype.on.call(this,e,t),n=this._readableState;return"data"===e?(n.readableListening=this.listenerCount("readable")>0,!1!==n.flowing&&this.resume()):"readable"===e&&(n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,c("on readable",n.length,n.reading),n.length?A(this):n.reading||process.nextTick(O,this))),r},S.prototype.addListener=S.prototype.on,S.prototype.removeListener=function(e,t){var r=a.prototype.removeListener.call(this,e,t);return"readable"===e&&process.nextTick(F,this),r},S.prototype.removeAllListeners=function(e){var t=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||process.nextTick(F,this),t},S.prototype.resume=function(){var e=this._readableState;return e.flowing||(c("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,process.nextTick(R,e,t))}(this,e)),e.paused=!1,this},S.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},S.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(c("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(c("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<x.length;a++)e.on(x[a],this.emit.bind(this,x[a]));return this._read=function(t){c("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(S.prototype[Symbol.asyncIterator]=function(){return void 0===d&&(d=r(2955)),d(this)}),Object.defineProperty(S.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(S.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(S.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),S._fromList=L,Object.defineProperty(S.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(S.from=function(e,t){return void 0===p&&(p=r(96532)),p(S,e,t)})},74610:(e,t,r)=>{"use strict";e.exports=u;var n=r(30113).F,i=n.ERR_METHOD_NOT_IMPLEMENTED,a=n.ERR_MULTIPLE_CALLBACK,o=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,c=r(25382);function l(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new a);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function u(e){if(!(this instanceof u))return new u(e);c.call(this,e),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?p(this,null,null):this._flush((function(t,r){p(e,t,r)}))}function p(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new s;if(e._transformState.transforming)throw new o;return e.push(null)}r(72017)(u,c),u.prototype.push=function(e,t){return this._transformState.needTransform=!1,c.prototype.push.call(this,e,t)},u.prototype._transform=function(e,t,r){r(new i("_transform()"))},u.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},u.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},u.prototype._destroy=function(e,t){c.prototype._destroy.call(this,e,(function(e){t(e)}))}},16708:(e,t,r)=>{"use strict";function n(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}var i;e.exports=S,S.WritableState=E;var a={deprecate:r(27983)},o=r(81416),s=r(20181).Buffer,c=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var l,u=r(75896),d=r(65291).getHighWaterMark,p=r(30113).F,f=p.ERR_INVALID_ARG_TYPE,m=p.ERR_METHOD_NOT_IMPLEMENTED,g=p.ERR_MULTIPLE_CALLBACK,_=p.ERR_STREAM_CANNOT_PIPE,h=p.ERR_STREAM_DESTROYED,y=p.ERR_STREAM_NULL_VALUES,v=p.ERR_STREAM_WRITE_AFTER_END,b=p.ERR_UNKNOWN_ENCODING,k=u.errorOrDestroy;function x(){}function E(e,t,a){i=i||r(25382),e=e||{},"boolean"!=typeof a&&(a=t instanceof i),this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=d(this,e,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var o=!1===e.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if("function"!=typeof i)throw new g;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?(process.nextTick(i,n),process.nextTick(N,e,t),e._writableState.errorEmitted=!0,k(e,n)):(i(n),e._writableState.errorEmitted=!0,k(e,n),N(e,t))}(e,r,n,t,i);else{var a=C(r)||e.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||T(e,r),n?process.nextTick(w,e,r,a,i):w(e,r,a,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new n(this)}function S(e){var t=this instanceof(i=i||r(25382));if(!t&&!l.call(S,this))return new S(e);this._writableState=new E(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),o.call(this)}function D(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new h("write")):r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function w(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),N(e,t)}function T(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=t.bufferedRequestCount,a=new Array(i),o=t.corkedRequestsFree;o.entry=r;for(var s=0,c=!0;r;)a[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;a.allBuffers=c,D(e,t,!0,t.length,a,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new n(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,u=r.encoding,d=r.callback;if(D(e,t,!1,t.objectMode?1:l.length,l,u,d),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function C(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function A(e,t){e._final((function(r){t.pendingcb--,r&&k(e,r),t.prefinished=!0,e.emit("prefinish"),N(e,t)}))}function N(e,t){var r=C(t);if(r&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,process.nextTick(A,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}r(72017)(S,o),E.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(E.prototype,"buffer",{get:a.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(S,Symbol.hasInstance,{value:function(e){return!!l.call(this,e)||this===S&&(e&&e._writableState instanceof E)}})):l=function(e){return e instanceof this},S.prototype.pipe=function(){k(this,new _)},S.prototype.write=function(e,t,r){var n,i=this._writableState,a=!1,o=!i.objectMode&&(n=e,s.isBuffer(n)||n instanceof c);return o&&!s.isBuffer(e)&&(e=function(e){return s.from(e)}(e)),"function"==typeof t&&(r=t,t=null),o?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof r&&(r=x),i.ending?function(e,t){var r=new v;k(e,r),process.nextTick(t,r)}(this,r):(o||function(e,t,r,n){var i;return null===r?i=new y:"string"==typeof r||t.objectMode||(i=new f("chunk",["string","Buffer"],r)),!i||(k(e,i),process.nextTick(n,i),!1)}(this,i,e,r))&&(i.pendingcb++,a=function(e,t,r,n,i,a){if(!r){var o=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=s.from(t,r));return t}(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var c=t.objectMode?1:n.length;t.length+=c;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);if(t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else D(e,t,!1,c,n,i,a);return l}(this,i,o,e,t,r)),a},S.prototype.cork=function(){this._writableState.corked++},S.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||T(this,e))},S.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new b(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(S.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(S.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),S.prototype._write=function(e,t,r){r(new m("_write()"))},S.prototype._writev=null,S.prototype.end=function(e,t,r){var n=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||function(e,t,r){t.ending=!0,N(e,t),r&&(t.finished?process.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r),this},Object.defineProperty(S.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(S.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),S.prototype.destroy=u.destroy,S.prototype._undestroy=u.undestroy,S.prototype._destroy=function(e,t){t(e)}},2955:(e,t,r)=>{"use strict";var n;function i(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(86238),o=Symbol("lastResolve"),s=Symbol("lastReject"),c=Symbol("error"),l=Symbol("ended"),u=Symbol("lastPromise"),d=Symbol("handlePromise"),p=Symbol("stream");function f(e,t){return{value:e,done:t}}function m(e){var t=e[o];if(null!==t){var r=e[p].read();null!==r&&(e[u]=null,e[o]=null,e[s]=null,t(f(r,!1)))}}function g(e){process.nextTick(m,e)}var _=Object.getPrototypeOf((function(){})),h=Object.setPrototypeOf((i(n={get stream(){return this[p]},next:function(){var e=this,t=this[c];if(null!==t)return Promise.reject(t);if(this[l])return Promise.resolve(f(void 0,!0));if(this[p].destroyed)return new Promise((function(t,r){process.nextTick((function(){e[c]?r(e[c]):t(f(void 0,!0))}))}));var r,n=this[u];if(n)r=new Promise(function(e,t){return function(r,n){e.then((function(){t[l]?r(f(void 0,!0)):t[d](r,n)}),n)}}(n,this));else{var i=this[p].read();if(null!==i)return Promise.resolve(f(i,!1));r=new Promise(this[d])}return this[u]=r,r}},Symbol.asyncIterator,(function(){return this})),i(n,"return",(function(){var e=this;return new Promise((function(t,r){e[p].destroy(null,(function(e){e?r(e):t(f(void 0,!0))}))}))})),n),_);e.exports=function(e){var t,r=Object.create(h,(i(t={},p,{value:e,writable:!0}),i(t,o,{value:null,writable:!0}),i(t,s,{value:null,writable:!0}),i(t,c,{value:null,writable:!0}),i(t,l,{value:e._readableState.endEmitted,writable:!0}),i(t,d,{value:function(e,t){var n=r[p].read();n?(r[u]=null,r[o]=null,r[s]=null,e(f(n,!1))):(r[o]=e,r[s]=t)},writable:!0}),t));return r[u]=null,a(e,(function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[s];return null!==t&&(r[u]=null,r[o]=null,r[s]=null,t(e)),void(r[c]=e)}var n=r[o];null!==n&&(r[u]=null,r[o]=null,r[s]=null,n(f(void 0,!0))),r[l]=!0})),e.on("readable",g.bind(null,r)),r}},80345:(e,t,r)=>{"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function a(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(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,s(n.key),n)}}function s(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var c=r(20181).Buffer,l=r(39023).inspect,u=l&&l.custom||"inspect";e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,r,n;return t=e,(r=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return c.alloc(0);for(var t,r,n,i=c.allocUnsafe(e>>>0),a=this.head,o=0;a;)t=a.data,r=i,n=o,c.prototype.copy.call(t,r,n),o+=a.data.length,a=a.next;return i}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var i=t.data,a=e>i.length?i.length:e;if(a===i.length?n+=i:n+=i.slice(0,e),0==(e-=a)){a===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(a));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=c.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,a=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,a),0==(e-=a)){a===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(a));break}++n}return this.length-=n,t}},{key:u,value:function(e,t){return l(this,i(i({},t),{},{depth:0,customInspect:!1}))}}])&&o(t.prototype,r),n&&o(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()},75896:e=>{"use strict";function t(e,t){n(e,t),r(e)}function r(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function n(e,t){e.emit("error",t)}e.exports={destroy:function(e,i){var a=this,o=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return o||s?(i?i(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(n,this,e)):process.nextTick(n,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!i&&e?a._writableState?a._writableState.errorEmitted?process.nextTick(r,a):(a._writableState.errorEmitted=!0,process.nextTick(t,a,e)):process.nextTick(t,a,e):i?(process.nextTick(r,a),i(e)):process.nextTick(r,a)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}},86238:(e,t,r)=>{"use strict";var n=r(30113).F.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,r,a){if("function"==typeof r)return e(t,null,r);r||(r={}),a=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}(a||i);var o=r.readable||!1!==r.readable&&t.readable,s=r.writable||!1!==r.writable&&t.writable,c=function(){t.writable||u()},l=t._writableState&&t._writableState.finished,u=function(){s=!1,l=!0,o||a.call(t)},d=t._readableState&&t._readableState.endEmitted,p=function(){o=!1,d=!0,s||a.call(t)},f=function(e){a.call(t,e)},m=function(){var e;return o&&!d?(t._readableState&&t._readableState.ended||(e=new n),a.call(t,e)):s&&!l?(t._writableState&&t._writableState.ended||(e=new n),a.call(t,e)):void 0},g=function(){t.req.on("finish",u)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?s&&!t._writableState&&(t.on("end",c),t.on("close",c)):(t.on("complete",u),t.on("abort",m),t.req?g():t.on("request",g)),t.on("end",p),t.on("finish",u),!1!==r.error&&t.on("error",f),t.on("close",m),function(){t.removeListener("complete",u),t.removeListener("abort",m),t.removeListener("request",g),t.req&&t.req.removeListener("finish",u),t.removeListener("end",c),t.removeListener("close",c),t.removeListener("finish",u),t.removeListener("end",p),t.removeListener("error",f),t.removeListener("close",m)}}},96532:(e,t,r)=>{"use strict";function n(e,t,r,n,i,a,o){try{var s=e[a](o),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,i)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var o=r(30113).F.ERR_INVALID_ARG_TYPE;e.exports=function(e,t,r){var s;if(t&&"function"==typeof t.next)s=t;else if(t&&t[Symbol.asyncIterator])s=t[Symbol.asyncIterator]();else{if(!t||!t[Symbol.iterator])throw new o("iterable",["Iterable"],t);s=t[Symbol.iterator]()}var c=new e(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({objectMode:!0},r)),l=!1;function u(){return d.apply(this,arguments)}function d(){var e;return e=function*(){try{var e=yield s.next(),t=e.value;e.done?c.push(null):c.push(yield t)?u():l=!1}catch(e){c.destroy(e)}},d=function(){var t=this,r=arguments;return new Promise((function(i,a){var o=e.apply(t,r);function s(e){n(o,i,a,s,c,"next",e)}function c(e){n(o,i,a,s,c,"throw",e)}s(void 0)}))},d.apply(this,arguments)}return c._read=function(){l||(l=!0,u())},c}},57758:(e,t,r)=>{"use strict";var n;var i=r(30113).F,a=i.ERR_MISSING_ARGS,o=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function c(e){e()}function l(e,t){return e.pipe(t)}e.exports=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var u,d=function(e){return e.length?"function"!=typeof e[e.length-1]?s:e.pop():s}(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new a("streams");var p=t.map((function(e,i){var a=i<t.length-1;return function(e,t,i,a){a=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(a);var s=!1;e.on("close",(function(){s=!0})),void 0===n&&(n=r(86238)),n(e,{readable:t,writable:i},(function(e){if(e)return a(e);s=!0,a()}));var c=!1;return function(t){if(!s&&!c)return c=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void a(t||new o("pipe"))}}(e,a,i>0,(function(e){u||(u=e),e&&p.forEach(c),a||(p.forEach(c),d(u))}))}));return t.reduce(l)}},65291:(e,t,r)=>{"use strict";var n=r(30113).F.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,r,i){var a=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,i,r);if(null!=a){if(!isFinite(a)||Math.floor(a)!==a||a<0)throw new n(i?r:"highWaterMark",a);return Math.floor(a)}return e.objectMode?16:16384}}},81416:(e,t,r)=>{e.exports=r(2203)},34198:(e,t,r)=>{var n=r(2203);"disable"===process.env.READABLE_STREAM&&n?(e.exports=n.Readable,Object.assign(e.exports,n),e.exports.Stream=n):((t=e.exports=r(45412)).Stream=n||t,t.Readable=t,t.Writable=r(16708),t.Duplex=r(25382),t.Transform=r(74610),t.PassThrough=r(63600),t.finished=r(86238),t.pipeline=r(57758))},76965:(e,t,r)=>{e.exports=u;const n=r(79896),{EventEmitter:i}=r(24434),{Minimatch:a}=r(25835),{resolve:o}=r(16928);function s(e,t){return new Promise(((r,i)=>{(t?n.stat:n.lstat)(e,((n,i)=>{if(n)if("ENOENT"===n.code)r(t?s(e,!1):null);else r(null);else r(i)}))}))}async function*c(e,t,r,i,a,o){let l=await function(e,t){return new Promise(((r,i)=>{n.readdir(e,{withFileTypes:!0},((e,n)=>{if(e)switch(e.code){case"ENOTDIR":t?i(e):r([]);break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":r([]);break;default:i(e)}else r(n)}))}))}(t+e,o);for(const n of l){let o=n.name;void 0===o&&(o=n,i=!0);const l=e+"/"+o,u=l.slice(1),d=t+"/"+u;let p=null;(i||r)&&(p=await s(d,r)),p||void 0===n.name||(p=n),null===p&&(p={isDirectory:()=>!1}),p.isDirectory()?a(u)||(yield{relative:u,absolute:d,stats:p},yield*c(l,t,r,i,a,!1)):yield{relative:u,absolute:d,stats:p}}}class l extends i{constructor(e,t,r){if(super(),"function"==typeof t&&(r=t,t=null),this.options=function(e){return{pattern:e.pattern,dot:!!e.dot,noglobstar:!!e.noglobstar,matchBase:!!e.matchBase,nocase:!!e.nocase,ignore:e.ignore,skip:e.skip,follow:!!e.follow,stat:!!e.stat,nodir:!!e.nodir,mark:!!e.mark,silent:!!e.silent,absolute:!!e.absolute}}(t||{}),this.matchers=[],this.options.pattern){const e=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=e.map((e=>new a(e,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase})))}if(this.ignoreMatchers=[],this.options.ignore){const e=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=e.map((e=>new a(e,{dot:!0})))}if(this.skipMatchers=[],this.options.skip){const e=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=e.map((e=>new a(e,{dot:!0})))}this.iterator=async function*(e,t,r,n){yield*c("",e,t,r,n,!0)}(o(e||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this)),this.paused=!1,this.inactive=!1,this.aborted=!1,r&&(this._matches=[],this.on("match",(e=>this._matches.push(this.options.absolute?e.absolute:e.relative))),this.on("error",(e=>r(e))),this.on("end",(()=>r(null,this._matches)))),setTimeout((()=>this._next()),0)}_shouldSkipDirectory(e){return this.skipMatchers.some((t=>t.match(e)))}_fileMatches(e,t){const r=e+(t?"/":"");return(0===this.matchers.length||this.matchers.some((e=>e.match(r))))&&!this.ignoreMatchers.some((e=>e.match(r)))&&(!this.options.nodir||!t)}_next(){this.paused||this.aborted?this.inactive=!0:this.iterator.next().then((e=>{if(e.done)this.emit("end");else{const t=e.value.stats.isDirectory();if(this._fileMatches(e.value.relative,t)){let r=e.value.relative,n=e.value.absolute;this.options.mark&&t&&(r+="/",n+="/"),this.options.stat?this.emit("match",{relative:r,absolute:n,stat:e.value.stats}):this.emit("match",{relative:r,absolute:n})}this._next(this.iterator)}})).catch((e=>{this.abort(),this.emit("error",e),e.code||this.options.silent||console.error(e)}))}abort(){this.aborted=!0}pause(){this.paused=!0}resume(){this.paused=!1,this.inactive&&(this.inactive=!1,this._next())}}function u(e,t,r){return new l(e,t,r)}u.ReaddirGlob=l},84928:(e,t,r)=>{var n=r(8505);e.exports=function(e){if(!e)return[];"{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2));return _(function(e){return e.split("\\\\").join(i).split("\\{").join(a).split("\\}").join(o).split("\\,").join(s).split("\\.").join(c)}(e),!0).map(u)};var i="\0SLASH"+Math.random()+"\0",a="\0OPEN"+Math.random()+"\0",o="\0CLOSE"+Math.random()+"\0",s="\0COMMA"+Math.random()+"\0",c="\0PERIOD"+Math.random()+"\0";function l(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function u(e){return e.split(i).join("\\").split(a).join("{").split(o).join("}").split(s).join(",").split(c).join(".")}function d(e){if(!e)return[""];var t=[],r=n("{","}",e);if(!r)return e.split(",");var i=r.pre,a=r.body,o=r.post,s=i.split(",");s[s.length-1]+="{"+a+"}";var c=d(o);return o.length&&(s[s.length-1]+=c.shift(),s.push.apply(s,c)),t.push.apply(t,s),t}function p(e){return"{"+e+"}"}function f(e){return/^-?0\d/.test(e)}function m(e,t){return e<=t}function g(e,t){return e>=t}function _(e,t){var r=[],i=n("{","}",e);if(!i)return[e];var a=i.pre,s=i.post.length?_(i.post,!1):[""];if(/\$$/.test(i.pre))for(var c=0;c<s.length;c++){var u=a+"{"+i.body+"}"+s[c];r.push(u)}else{var h,y,v=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body),b=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(i.body),k=v||b,x=i.body.indexOf(",")>=0;if(!k&&!x)return i.post.match(/,.*\}/)?_(e=i.pre+"{"+i.body+o+i.post):[e];if(k)h=i.body.split(/\.\./);else if(1===(h=d(i.body)).length&&1===(h=_(h[0],!1).map(p)).length)return s.map((function(e){return i.pre+h[0]+e}));if(k){var E=l(h[0]),S=l(h[1]),D=Math.max(h[0].length,h[1].length),w=3==h.length?Math.abs(l(h[2])):1,T=m;S<E&&(w*=-1,T=g);var C=h.some(f);y=[];for(var A=E;T(A,S);A+=w){var N;if(b)"\\"===(N=String.fromCharCode(A))&&(N="");else if(N=String(A),C){var P=D-N.length;if(P>0){var I=new Array(P+1).join("0");N=A<0?"-"+I+N.slice(1):I+N}}y.push(N)}}else{y=[];for(var F=0;F<h.length;F++)y.push.apply(y,_(h[F],!1))}for(F=0;F<y.length;F++)for(c=0;c<s.length;c++){u=a+y[F]+s[c];(!t||k||u)&&r.push(u)}}return r}},88664:e=>{const t="object"==typeof process&&process&&"win32"===process.platform;e.exports=t?{sep:"\\"}:{sep:"/"}},25835:(e,t,r)=>{const n=e.exports=(e,t,r={})=>(_(t),!(!r.nocomment&&"#"===t.charAt(0))&&new v(t,r).match(e));e.exports=n;const i=r(88664);n.sep=i.sep;const a=Symbol("globstar **");n.GLOBSTAR=a;const o=r(84928),s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},c="[^/]",l=c+"*?",u=e=>e.split("").reduce(((e,t)=>(e[t]=!0,e)),{}),d=u("().*{}+?[]^$\\!"),p=u("[.("),f=/\/+/;n.filter=(e,t={})=>(r,i,a)=>n(r,e,t);const m=(e,t={})=>{const r={};return Object.keys(e).forEach((t=>r[t]=e[t])),Object.keys(t).forEach((e=>r[e]=t[e])),r};n.defaults=e=>{if(!e||"object"!=typeof e||!Object.keys(e).length)return n;const t=n,r=(r,n,i)=>t(r,n,m(e,i));return(r.Minimatch=class extends t.Minimatch{constructor(t,r){super(t,m(e,r))}}).defaults=r=>t.defaults(m(e,r)).Minimatch,r.filter=(r,n)=>t.filter(r,m(e,n)),r.defaults=r=>t.defaults(m(e,r)),r.makeRe=(r,n)=>t.makeRe(r,m(e,n)),r.braceExpand=(r,n)=>t.braceExpand(r,m(e,n)),r.match=(r,n,i)=>t.match(r,n,m(e,i)),r},n.braceExpand=(e,t)=>g(e,t);const g=(e,t={})=>(_(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:o(e)),_=e=>{if("string"!=typeof e)throw new TypeError("invalid pattern");if(e.length>65536)throw new TypeError("pattern is too long")},h=Symbol("subparse");n.makeRe=(e,t)=>new v(e,t||{}).makeRe(),n.match=(e,t,r={})=>{const n=new v(t,r);return e=e.filter((e=>n.match(e))),n.options.nonull&&!e.length&&e.push(t),e};const y=e=>e.replace(/[[\]\\]/g,"\\$&");class v{constructor(e,t){_(e),t||(t={}),this.options=t,this.set=[],this.pattern=e,this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||!1===t.allowWindowsEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.make()}debug(){}make(){const e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();let r=this.globSet=this.braceExpand();t.debug&&(this.debug=(...e)=>console.error(...e)),this.debug(this.pattern,r),r=this.globParts=r.map((e=>e.split(f))),this.debug(this.pattern,r),r=r.map(((e,t,r)=>e.map(this.parse,this))),this.debug(this.pattern,r),r=r.filter((e=>-1===e.indexOf(!1))),this.debug(this.pattern,r),this.set=r}parseNegate(){if(this.options.nonegate)return;const e=this.pattern;let t=!1,r=0;for(let n=0;n<e.length&&"!"===e.charAt(n);n++)t=!t,r++;r&&(this.pattern=e.slice(r)),this.negate=t}matchOne(e,t,r){var n=this.options;this.debug("matchOne",{this:this,file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var i=0,o=0,s=e.length,c=t.length;i<s&&o<c;i++,o++){this.debug("matchOne loop");var l,u=t[o],d=e[i];if(this.debug(t,u,d),!1===u)return!1;if(u===a){this.debug("GLOBSTAR",[t,u,d]);var p=i,f=o+1;if(f===c){for(this.debug("** at the end");i<s;i++)if("."===e[i]||".."===e[i]||!n.dot&&"."===e[i].charAt(0))return!1;return!0}for(;p<s;){var m=e[p];if(this.debug("\nglobstar while",e,p,t,f,m),this.matchOne(e.slice(p),t.slice(f),r))return this.debug("globstar found match!",p,s,m),!0;if("."===m||".."===m||!n.dot&&"."===m.charAt(0)){this.debug("dot detected!",e,p,t,f);break}this.debug("globstar swallow a segment, and continue"),p++}return!(!r||(this.debug("\n>>> no match, partial?",e,p,t,f),p!==s))}if("string"==typeof u?(l=d===u,this.debug("string match",u,d,l)):(l=d.match(u),this.debug("pattern match",u,d,l)),!l)return!1}if(i===s&&o===c)return!0;if(i===s)return r;if(o===c)return i===s-1&&""===e[i];throw new Error("wtf?")}braceExpand(){return g(this.pattern,this.options)}parse(e,t){_(e);const r=this.options;if("**"===e){if(!r.noglobstar)return a;e="*"}if(""===e)return"";let n="",i=!1,o=!1;const u=[],f=[];let m,g,v,b,k=!1,x=-1,E=-1,S="."===e.charAt(0),D=r.dot||S;const w=e=>"."===e.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",T=()=>{if(m){switch(m){case"*":n+=l,i=!0;break;case"?":n+=c,i=!0;break;default:n+="\\"+m}this.debug("clearStateChar %j %j",m,n),m=!1}};for(let t,a=0;a<e.length&&(t=e.charAt(a));a++)if(this.debug("%s\t%s %s %j",e,a,n,t),o){if("/"===t)return!1;d[t]&&(n+="\\"),n+=t,o=!1}else switch(t){case"/":return!1;case"\\":if(k&&"-"===e.charAt(a+1)){n+=t;continue}T(),o=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,a,n,t),k){this.debug(" in class"),"!"===t&&a===E+1&&(t="^"),n+=t;continue}this.debug("call clearStateChar %j",m),T(),m=t,r.noext&&T();continue;case"(":{if(k){n+="(";continue}if(!m){n+="\\(";continue}const t={type:m,start:a-1,reStart:n.length,open:s[m].open,close:s[m].close};this.debug(this.pattern,"\t",t),u.push(t),n+=t.open,0===t.start&&"!"!==t.type&&(S=!0,n+=w(e.slice(a+1))),this.debug("plType %j %j",m,n),m=!1;continue}case")":{const e=u[u.length-1];if(k||!e){n+="\\)";continue}u.pop(),T(),i=!0,v=e,n+=v.close,"!"===v.type&&f.push(Object.assign(v,{reEnd:n.length}));continue}case"|":{const t=u[u.length-1];if(k||!t){n+="\\|";continue}T(),n+="|",0===t.start&&"!"!==t.type&&(S=!0,n+=w(e.slice(a+1)));continue}case"[":if(T(),k){n+="\\"+t;continue}k=!0,E=a,x=n.length,n+=t;continue;case"]":if(a===E+1||!k){n+="\\"+t;continue}g=e.substring(E+1,a);try{RegExp("["+y(g.replace(/\\([^-\]])/g,"$1"))+"]"),n+=t}catch(e){n=n.substring(0,x)+"(?:$.)"}i=!0,k=!1;continue;default:T(),!d[t]||"^"===t&&k||(n+="\\"),n+=t}for(k&&(g=e.slice(E+1),b=this.parse(g,h),n=n.substring(0,x)+"\\["+b[0],i=i||b[1]),v=u.pop();v;v=u.pop()){let e;e=n.slice(v.reStart+v.open.length),this.debug("setting tail",n,v),e=e.replace(/((?:\\{2}){0,64})(\\?)\|/g,((e,t,r)=>(r||(r="\\"),t+t+r+"|"))),this.debug("tail=%j\n %s",e,e,v,n);const t="*"===v.type?l:"?"===v.type?c:"\\"+v.type;i=!0,n=n.slice(0,v.reStart)+t+"\\("+e}T(),o&&(n+="\\\\");const C=p[n.charAt(0)];for(let e=f.length-1;e>-1;e--){const r=f[e],i=n.slice(0,r.reStart),a=n.slice(r.reStart,r.reEnd-8);let o=n.slice(r.reEnd);const s=n.slice(r.reEnd-8,r.reEnd)+o,c=i.split(")").length,l=i.split("(").length-c;let u=o;for(let e=0;e<l;e++)u=u.replace(/\)[+*?]?/,"");o=u;n=i+a+o+(""===o&&t!==h?"(?:$|\\/)":"")+s}if(""!==n&&i&&(n="(?=.)"+n),C&&(n=(S?"":D?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)")+n),t===h)return[n,i];if(r.nocase&&!i&&(i=e.toUpperCase()!==e.toLowerCase()),!i)return(e=>e.replace(/\\(.)/g,"$1"))(e);const A=r.nocase?"i":"";try{return Object.assign(new RegExp("^"+n+"$",A),{_glob:e,_src:n})}catch(e){return new RegExp("$.")}}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;const e=this.set;if(!e.length)return this.regexp=!1,this.regexp;const t=this.options,r=t.noglobstar?l:t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",n=t.nocase?"i":"";let i=e.map((e=>(e=e.map((e=>"string"==typeof e?e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):e===a?a:e._src)).reduce(((e,t)=>(e[e.length-1]===a&&t===a||e.push(t),e)),[]),e.forEach(((t,n)=>{t===a&&e[n-1]!==a&&(0===n?e.length>1?e[n+1]="(?:\\/|"+r+"\\/)?"+e[n+1]:e[n]=r:n===e.length-1?e[n-1]+="(?:\\/|"+r+")?":(e[n-1]+="(?:\\/|\\/"+r+"\\/)"+e[n+1],e[n+1]=a))})),e.filter((e=>e!==a)).join("/")))).join("|");i="^(?:"+i+")$",this.negate&&(i="^(?!"+i+").*$");try{this.regexp=new RegExp(i,n)}catch(e){this.regexp=!1}return this.regexp}match(e,t=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;const r=this.options;"/"!==i.sep&&(e=e.split(i.sep).join("/")),e=e.split(f),this.debug(this.pattern,"split",e);const n=this.set;let a;this.debug(this.pattern,"set",n);for(let t=e.length-1;t>=0&&(a=e[t],!a);t--);for(let i=0;i<n.length;i++){const o=n[i];let s=e;r.matchBase&&1===o.length&&(s=[a]);if(this.matchOne(s,o,t))return!!r.flipNegate||!this.negate}return!r.flipNegate&&this.negate}static defaults(e){return n.defaults(e).Minimatch}}n.Minimatch=v},4239:(e,t,r)=>{e.exports=p,p.sync=h;var n=r(42613),i=r(16928),a=r(79896),o=void 0;try{o=r(53577)}catch(e){}var s=parseInt("666",8),c={nosort:!0,silent:!0},l=0,u="win32"===process.platform;function d(e){if(["unlink","chmod","stat","lstat","rmdir","readdir"].forEach((function(t){e[t]=e[t]||a[t],e[t+="Sync"]=e[t]||a[t]})),e.maxBusyTries=e.maxBusyTries||3,e.emfileWait=e.emfileWait||1e3,!1===e.glob&&(e.disableGlob=!0),!0!==e.disableGlob&&void 0===o)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");e.disableGlob=e.disableGlob||!1,e.glob=e.glob||c}function p(e,t,r){"function"==typeof t&&(r=t,t={}),n(e,"rimraf: missing path"),n.equal(typeof e,"string","rimraf: path should be a string"),n.equal(typeof r,"function","rimraf: callback function required"),n(t,"rimraf: invalid options argument provided"),n.equal(typeof t,"object","rimraf: options should be object"),d(t);var i=0,a=null,s=0;if(t.disableGlob||!o.hasMagic(e))return c(null,[e]);function c(e,n){return e?r(e):0===(s=n.length)?r():void n.forEach((function(e){f(e,t,(function n(o){if(o){if(("EBUSY"===o.code||"ENOTEMPTY"===o.code||"EPERM"===o.code)&&i<t.maxBusyTries)return i++,setTimeout((function(){f(e,t,n)}),100*i);if("EMFILE"===o.code&&l<t.emfileWait)return setTimeout((function(){f(e,t,n)}),l++);"ENOENT"===o.code&&(o=null)}l=0,function(e){a=a||e,0==--s&&r(a)}(o)}))}))}t.lstat(e,(function(r,n){if(!r)return c(null,[e]);o(e,t.glob,c)}))}function f(e,t,r){n(e),n(t),n("function"==typeof r),t.lstat(e,(function(n,i){return n&&"ENOENT"===n.code?r(null):(n&&"EPERM"===n.code&&u&&m(e,t,n,r),i&&i.isDirectory()?_(e,t,n,r):void t.unlink(e,(function(n){if(n){if("ENOENT"===n.code)return r(null);if("EPERM"===n.code)return u?m(e,t,n,r):_(e,t,n,r);if("EISDIR"===n.code)return _(e,t,n,r)}return r(n)})))}))}function m(e,t,r,i){n(e),n(t),n("function"==typeof i),r&&n(r instanceof Error),t.chmod(e,s,(function(n){n?i("ENOENT"===n.code?null:r):t.stat(e,(function(n,a){n?i("ENOENT"===n.code?null:r):a.isDirectory()?_(e,t,r,i):t.unlink(e,i)}))}))}function g(e,t,r){n(e),n(t),r&&n(r instanceof Error);try{t.chmodSync(e,s)}catch(e){if("ENOENT"===e.code)return;throw r}try{var i=t.statSync(e)}catch(e){if("ENOENT"===e.code)return;throw r}i.isDirectory()?y(e,t,r):t.unlinkSync(e)}function _(e,t,r,a){n(e),n(t),r&&n(r instanceof Error),n("function"==typeof a),t.rmdir(e,(function(o){!o||"ENOTEMPTY"!==o.code&&"EEXIST"!==o.code&&"EPERM"!==o.code?o&&"ENOTDIR"===o.code?a(r):a(o):function(e,t,r){n(e),n(t),n("function"==typeof r),t.readdir(e,(function(n,a){if(n)return r(n);var o,s=a.length;if(0===s)return t.rmdir(e,r);a.forEach((function(n){p(i.join(e,n),t,(function(n){if(!o)return n?r(o=n):void(0==--s&&t.rmdir(e,r))}))}))}))}(e,t,a)}))}function h(e,t){var r;if(d(t=t||{}),n(e,"rimraf: missing path"),n.equal(typeof e,"string","rimraf: path should be a string"),n(t,"rimraf: missing options"),n.equal(typeof t,"object","rimraf: options should be object"),t.disableGlob||!o.hasMagic(e))r=[e];else try{t.lstatSync(e),r=[e]}catch(n){r=o.sync(e,t.glob)}if(r.length)for(var i=0;i<r.length;i++){e=r[i];try{var a=t.lstatSync(e)}catch(r){if("ENOENT"===r.code)return;"EPERM"===r.code&&u&&g(e,t,r)}try{a&&a.isDirectory()?y(e,t,null):t.unlinkSync(e)}catch(r){if("ENOENT"===r.code)return;if("EPERM"===r.code)return u?g(e,t,r):y(e,t,r);if("EISDIR"!==r.code)throw r;y(e,t,r)}}}function y(e,t,r){n(e),n(t),r&&n(r instanceof Error);try{t.rmdirSync(e)}catch(a){if("ENOENT"===a.code)return;if("ENOTDIR"===a.code)throw r;"ENOTEMPTY"!==a.code&&"EEXIST"!==a.code&&"EPERM"!==a.code||function(e,t){n(e),n(t),t.readdirSync(e).forEach((function(r){h(i.join(e,r),t)}));var r=u?100:1,a=0;for(;;){var o=!0;try{var s=t.rmdirSync(e,t);return o=!1,s}finally{if(++a<r&&o)continue}}}(e,t)}}},92861:(e,t,r)=>{var n=r(20181),i=n.Buffer;function a(e,t){for(var r in e)t[r]=e[r]}function o(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(a(n,t),t.Buffer=o),a(i,o),o.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},o.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},o.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},o.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},38223:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(31487),i=r(84797),a=r(60446);var o=n.isS,s=n.isChar,c=n.isNameStartChar,l=n.isNameChar,u=n.S_LIST,d=n.NAME_RE,p=i.isChar,f=a.isNCNameStartChar,m=a.isNCNameChar,g=a.NC_NAME_RE;const _="http://www.w3.org/XML/1998/namespace",h="http://www.w3.org/2000/xmlns/",y={__proto__:null,xml:_,xmlns:h},v={__proto__:null,amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},b=-1,k=-2,x=13,E=33,S=10,D=60,w=61,T=62,C=63,A=93,N=e=>34===e||39===e,P=[34,39],I=[...P,91,T],F=[...P,D,A],O=[w,C,...u],R=[...u,T,38,D];function M(e,t,r){switch(t){case"xml":r!==_&&e.fail(`xml prefix must be bound to ${_}.`);break;case"xmlns":r!==h&&e.fail(`xmlns prefix must be bound to ${h}.`)}switch(r){case h:e.fail(""===t?`the default namespace may not be set to ${r}.`:`may not assign a prefix (even "xmlns") to the URI ${h}.`);break;case _:switch(t){case"xml":break;case"":e.fail(`the default namespace may not be set to ${r}.`);break;default:e.fail("may not assign the xml namespace to another prefix.")}}}const L=e=>g.test(e),j=e=>d.test(e);t.EVENTS=["xmldecl","text","processinginstruction","doctype","comment","opentagstart","attribute","opentag","closetag","cdata","error","end","ready"];const B={xmldecl:"xmldeclHandler",text:"textHandler",processinginstruction:"piHandler",doctype:"doctypeHandler",comment:"commentHandler",opentagstart:"openTagStartHandler",attribute:"attributeHandler",opentag:"openTagHandler",closetag:"closeTagHandler",cdata:"cdataHandler",error:"errorHandler",end:"endHandler",ready:"readyHandler"};t.SaxesParser=class{constructor(e){this.opt=null!=e?e:{},this.fragmentOpt=!!this.opt.fragment;const t=this.xmlnsOpt=!!this.opt.xmlns;if(this.trackPosition=!1!==this.opt.position,this.fileName=this.opt.fileName,t){this.nameStartCheck=f,this.nameCheck=m,this.isName=L,this.processAttribs=this.processAttribsNS,this.pushAttrib=this.pushAttribNS,this.ns=Object.assign({__proto__:null},y);const e=this.opt.additionalNamespaces;null!=e&&(!function(e,t){for(const r of Object.keys(t))M(e,r,t[r])}(this,e),Object.assign(this.ns,e))}else this.nameStartCheck=c,this.nameCheck=l,this.isName=j,this.processAttribs=this.processAttribsPlain,this.pushAttrib=this.pushAttribPlain;this.stateTable=[this.sBegin,this.sBeginWhitespace,this.sDoctype,this.sDoctypeQuote,this.sDTD,this.sDTDQuoted,this.sDTDOpenWaka,this.sDTDOpenWakaBang,this.sDTDComment,this.sDTDCommentEnding,this.sDTDCommentEnded,this.sDTDPI,this.sDTDPIEnding,this.sText,this.sEntity,this.sOpenWaka,this.sOpenWakaBang,this.sComment,this.sCommentEnding,this.sCommentEnded,this.sCData,this.sCDataEnding,this.sCDataEnding2,this.sPIFirstChar,this.sPIRest,this.sPIBody,this.sPIEnding,this.sXMLDeclNameStart,this.sXMLDeclName,this.sXMLDeclEq,this.sXMLDeclValueStart,this.sXMLDeclValue,this.sXMLDeclSeparator,this.sXMLDeclEnding,this.sOpenTag,this.sOpenTagSlash,this.sAttrib,this.sAttribName,this.sAttribNameSawWhite,this.sAttribValue,this.sAttribValueQuoted,this.sAttribValueClosed,this.sAttribValueUnquoted,this.sCloseTag,this.sCloseTagSawWhite],this._init()}get closed(){return this._closed}_init(){var e;this.openWakaBang="",this.text="",this.name="",this.piTarget="",this.entity="",this.q=null,this.tags=[],this.tag=null,this.topNS=null,this.chunk="",this.chunkPosition=0,this.i=0,this.prevI=0,this.carriedFromPrevious=void 0,this.forbiddenState=0,this.attribList=[];const{fragmentOpt:t}=this;this.state=t?x:0,this.reportedTextBeforeRoot=this.reportedTextAfterRoot=this.closedRoot=this.sawRoot=t,this.xmlDeclPossible=!t,this.xmlDeclExpects=["version"],this.entityReturnState=void 0;let{defaultXMLVersion:r}=this.opt;if(void 0===r){if(!0===this.opt.forceXMLVersion)throw new Error("forceXMLVersion set but defaultXMLVersion is not set");r="1.0"}this.setXMLVersion(r),this.positionAtNewLine=0,this.doctype=!1,this._closed=!1,this.xmlDecl={version:void 0,encoding:void 0,standalone:void 0},this.line=1,this.column=0,this.ENTITIES=Object.create(v),null===(e=this.readyHandler)||void 0===e||e.call(this)}get position(){return this.chunkPosition+this.i}get columnIndex(){return this.position-this.positionAtNewLine}on(e,t){this[B[e]]=t}off(e){this[B[e]]=void 0}makeError(e){var t;let r=null!==(t=this.fileName)&&void 0!==t?t:"";return this.trackPosition&&(r.length>0&&(r+=":"),r+=`${this.line}:${this.column}`),r.length>0&&(r+=": "),new Error(r+e)}fail(e){const t=this.makeError(e),r=this.errorHandler;if(void 0===r)throw t;return r(t),this}write(e){if(this.closed)return this.fail("cannot write after close; assign an onready handler.");let t=!1;null===e?(t=!0,e=""):"object"==typeof e&&(e=e.toString()),void 0!==this.carriedFromPrevious&&(e=`${this.carriedFromPrevious}${e}`,this.carriedFromPrevious=void 0);let r=e.length;const n=e.charCodeAt(r-1);!t&&(13===n||n>=55296&&n<=56319)&&(this.carriedFromPrevious=e[r-1],r--,e=e.slice(0,r));const{stateTable:i}=this;for(this.chunk=e,this.i=0;this.i<r;)i[this.state].call(this);return this.chunkPosition+=r,t?this.end():this}close(){return this.write(null)}getCode10(){const{chunk:e,i:t}=this;if(this.prevI=t,this.i=t+1,t>=e.length)return b;const r=e.charCodeAt(t);if(this.column++,r<55296){if(r>=32||9===r)return r;switch(r){case S:return this.line++,this.column=0,this.positionAtNewLine=this.position,S;case 13:return e.charCodeAt(t+1)===S&&(this.i=t+2),this.line++,this.column=0,this.positionAtNewLine=this.position,k;default:return this.fail("disallowed character."),r}}if(r>56319)return r>=57344&&r<=65533||this.fail("disallowed character."),r;const n=65536+1024*(r-55296)+(e.charCodeAt(t+1)-56320);return this.i=t+2,n>1114111&&this.fail("disallowed character."),n}getCode11(){const{chunk:e,i:t}=this;if(this.prevI=t,this.i=t+1,t>=e.length)return b;const r=e.charCodeAt(t);if(this.column++,r<55296){if(r>31&&r<127||r>159&&8232!==r||9===r)return r;switch(r){case S:return this.line++,this.column=0,this.positionAtNewLine=this.position,S;case 13:{const r=e.charCodeAt(t+1);r!==S&&133!==r||(this.i=t+2)}case 133:case 8232:return this.line++,this.column=0,this.positionAtNewLine=this.position,k;default:return this.fail("disallowed character."),r}}if(r>56319)return r>=57344&&r<=65533||this.fail("disallowed character."),r;const n=65536+1024*(r-55296)+(e.charCodeAt(t+1)-56320);return this.i=t+2,n>1114111&&this.fail("disallowed character."),n}getCodeNorm(){const e=this.getCode();return e===k?S:e}unget(){this.i=this.prevI,this.column--}captureTo(e){let{i:t}=this;const{chunk:r}=this;for(;;){const n=this.getCode(),i=n===k,a=i?S:n;if(a===b||e.includes(a))return this.text+=r.slice(t,this.prevI),a;i&&(this.text+=`${r.slice(t,this.prevI)}\n`,t=this.i)}}captureToChar(e){let{i:t}=this;const{chunk:r}=this;for(;;){let n=this.getCode();switch(n){case k:this.text+=`${r.slice(t,this.prevI)}\n`,t=this.i,n=S;break;case b:return this.text+=r.slice(t),!1}if(n===e)return this.text+=r.slice(t,this.prevI),!0}}captureNameChars(){const{chunk:e,i:t}=this;for(;;){const r=this.getCode();if(r===b)return this.name+=e.slice(t),b;if(!l(r))return this.name+=e.slice(t,this.prevI),r===k?S:r}}skipSpaces(){for(;;){const e=this.getCodeNorm();if(e===b||!o(e))return e}}setXMLVersion(e){this.currentXMLVersion=e,"1.0"===e?(this.isChar=s,this.getCode=this.getCode10):(this.isChar=p,this.getCode=this.getCode11)}sBegin(){65279===this.chunk.charCodeAt(0)&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){const e=this.i,t=this.skipSpaces();switch(this.prevI!==e&&(this.xmlDeclPossible=!1),t){case D:if(this.state=15,0!==this.text.length)throw new Error("no-empty text at start");break;case b:break;default:this.unget(),this.state=x,this.xmlDeclPossible=!1}}sDoctype(){var e;const t=this.captureTo(I);switch(t){case T:null===(e=this.doctypeHandler)||void 0===e||e.call(this,this.text),this.text="",this.state=x,this.doctype=!0;break;case b:break;default:this.text+=String.fromCodePoint(t),91===t?this.state=4:N(t)&&(this.state=3,this.q=t)}}sDoctypeQuote(){const e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.q=null,this.state=2)}sDTD(){const e=this.captureTo(F);e!==b&&(this.text+=String.fromCodePoint(e),e===A?this.state=2:e===D?this.state=6:N(e)&&(this.state=5,this.q=e))}sDTDQuoted(){const e=this.q;this.captureToChar(e)&&(this.text+=String.fromCodePoint(e),this.state=4,this.q=null)}sDTDOpenWaka(){const e=this.getCodeNorm();switch(this.text+=String.fromCodePoint(e),e){case 33:this.state=7,this.openWakaBang="";break;case C:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){const e=String.fromCodePoint(this.getCodeNorm()),t=this.openWakaBang+=e;this.text+=e,"-"!==t&&(this.state="--"===t?8:4,this.openWakaBang="")}sDTDComment(){this.captureToChar(45)&&(this.text+="-",this.state=9)}sDTDCommentEnding(){const e=this.getCodeNorm();this.text+=String.fromCodePoint(e),this.state=45===e?10:8}sDTDCommentEnded(){const e=this.getCodeNorm();this.text+=String.fromCodePoint(e),e===T?this.state=4:(this.fail("malformed comment."),this.state=8)}sDTDPI(){this.captureToChar(C)&&(this.text+="?",this.state=12)}sDTDPIEnding(){const e=this.getCodeNorm();this.text+=String.fromCodePoint(e),e===T&&(this.state=4)}sText(){0!==this.tags.length?this.handleTextInRoot():this.handleTextOutsideRoot()}sEntity(){let{i:e}=this;const{chunk:t}=this;e:for(;;)switch(this.getCode()){case k:this.entity+=`${t.slice(e,this.prevI)}\n`,e=this.i;break;case 59:{const{entityReturnState:r}=this,n=this.entity+t.slice(e,this.prevI);let i;this.state=r,""===n?(this.fail("empty entity name."),i="&;"):(i=this.parseEntity(n),this.entity=""),r===x&&void 0===this.textHandler||(this.text+=i);break e}case b:this.entity+=t.slice(e);break e}}sOpenWaka(){const e=this.getCode();if(c(e))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(e){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang="",this.xmlDeclPossible=!1;break;case C:this.state=23;break;default:this.fail("disallowed character in tag name"),this.state=x,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang="";break;case"--":this.state=17,this.openWakaBang="";break;case"DOCTYPE":this.state=2,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){var e;const t=this.getCodeNorm();45===t?(this.state=19,null===(e=this.commentHandler)||void 0===e||e.call(this,this.text),this.text=""):(this.text+=`-${String.fromCodePoint(t)}`,this.state=17)}sCommentEnded(){const e=this.getCodeNorm();e!==T?(this.fail("malformed comment."),this.text+=`--${String.fromCodePoint(e)}`,this.state=17):this.state=x}sCData(){this.captureToChar(A)&&(this.state=21)}sCDataEnding(){const e=this.getCodeNorm();e===A?this.state=22:(this.text+=`]${String.fromCodePoint(e)}`,this.state=20)}sCDataEnding2(){var e;const t=this.getCodeNorm();switch(t){case T:null===(e=this.cdataHandler)||void 0===e||e.call(this,this.text),this.text="",this.state=x;break;case A:this.text+="]";break;default:this.text+=`]]${String.fromCodePoint(t)}`,this.state=20}}sPIFirstChar(){const e=this.getCodeNorm();this.nameStartCheck(e)?(this.piTarget+=String.fromCodePoint(e),this.state=24):e===C||o(e)?(this.fail("processing instruction without a target."),this.state=e===C?26:25):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(e),this.state=24)}sPIRest(){const{chunk:e,i:t}=this;for(;;){const r=this.getCodeNorm();if(r===b)return void(this.piTarget+=e.slice(t));if(!this.nameCheck(r)){this.piTarget+=e.slice(t,this.prevI);const n=r===C;n||o(r)?"xml"===this.piTarget?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=n?E:27):this.state=n?26:25:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(r));break}}}sPIBody(){if(0===this.text.length){const e=this.getCodeNorm();e===C?this.state=26:o(e)||(this.text=String.fromCodePoint(e))}else this.captureToChar(C)&&(this.state=26)}sPIEnding(){var e;const t=this.getCodeNorm();if(t===T){const{piTarget:t}=this;"xml"===t.toLowerCase()&&this.fail("the XML declaration must appear at the start of the document."),null===(e=this.piHandler)||void 0===e||e.call(this,{target:t,body:this.text}),this.piTarget=this.text="",this.state=x}else t===C?this.text+="?":(this.text+=`?${String.fromCodePoint(t)}`,this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){const e=this.skipSpaces();e!==C?e!==b&&(this.state=28,this.name=String.fromCodePoint(e)):this.state=E}sXMLDeclName(){const e=this.captureTo(O);if(e===C)return this.state=E,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(o(e)||e===w){if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`)}this.state=e===w?30:29}}sXMLDeclEq(){const e=this.getCodeNorm();if(e===C)return this.state=E,void this.fail("XML declaration is incomplete.");o(e)||(e!==w&&this.fail("value required."),this.state=30)}sXMLDeclValueStart(){const e=this.getCodeNorm();if(e===C)return this.state=E,void this.fail("XML declaration is incomplete.");o(e)||(N(e)?this.q=e:(this.fail("value must be quoted."),this.q=32),this.state=31)}sXMLDeclValue(){const e=this.captureTo([this.q,C]);if(e===C)return this.state=E,this.text="",void this.fail("XML declaration is incomplete.");if(e===b)return;const t=this.text;switch(this.text="",this.name){case"version":{this.xmlDeclExpects=["encoding","standalone"];const e=t;this.xmlDecl.version=e,/^1\.[0-9]+$/.test(e)?this.opt.forceXMLVersion||this.setXMLVersion(e):this.fail("version number must match /^1\\.[0-9]+$/.");break}case"encoding":/^[A-Za-z][A-Za-z0-9._-]*$/.test(t)||this.fail("encoding value must match /^[A-Za-z0-9][A-Za-z0-9._-]*$/."),this.xmlDeclExpects=["standalone"],this.xmlDecl.encoding=t;break;case"standalone":"yes"!==t&&"no"!==t&&this.fail('standalone value must match "yes" or "no".'),this.xmlDeclExpects=[],this.xmlDecl.standalone=t}this.name="",this.state=32}sXMLDeclSeparator(){const e=this.getCodeNorm();e!==C?(o(e)||(this.fail("whitespace required."),this.unget()),this.state=27):this.state=E}sXMLDeclEnding(){var e;this.getCodeNorm()===T?("xml"!==this.piTarget?this.fail("processing instructions are not allowed before root."):"version"!==this.name&&this.xmlDeclExpects.includes("version")&&this.fail("XML declaration must contain a version."),null===(e=this.xmldeclHandler)||void 0===e||e.call(this,this.xmlDecl),this.name="",this.piTarget=this.text="",this.state=x):this.fail("The character ? is disallowed anywhere in XML declarations."),this.xmlDeclPossible=!1}sOpenTag(){var e;const t=this.captureNameChars();if(t===b)return;const r=this.tag={name:this.name,attributes:Object.create(null)};switch(this.name="",this.xmlnsOpt&&(this.topNS=r.ns=Object.create(null)),null===(e=this.openTagStartHandler)||void 0===e||e.call(this,r),this.sawRoot=!0,!this.fragmentOpt&&this.closedRoot&&this.fail("documents may contain only one root."),t){case T:this.openTag();break;case 47:this.state=35;break;default:o(t)||this.fail("disallowed character in tag name."),this.state=36}}sOpenTagSlash(){this.getCode()===T?this.openSelfClosingTag():(this.fail("forward-slash in opening tag not followed by >."),this.state=36)}sAttrib(){const e=this.skipSpaces();e!==b&&(c(e)?(this.unget(),this.state=37):e===T?this.openTag():47===e?this.state=35:this.fail("disallowed character in attribute name."))}sAttribName(){const e=this.captureNameChars();e===w?this.state=39:o(e)?this.state=38:e===T?(this.fail("attribute without value."),this.pushAttrib(this.name,this.name),this.name=this.text="",this.openTag()):e!==b&&this.fail("disallowed character in attribute name.")}sAttribNameSawWhite(){const e=this.skipSpaces();switch(e){case b:return;case w:this.state=39;break;default:this.fail("attribute without value."),this.text="",this.name="",e===T?this.openTag():c(e)?(this.unget(),this.state=37):(this.fail("disallowed character in attribute name."),this.state=36)}}sAttribValue(){const e=this.getCodeNorm();N(e)?(this.q=e,this.state=40):o(e)||(this.fail("unquoted attribute value."),this.state=42,this.unget())}sAttribValueQuoted(){const{q:e,chunk:t}=this;let{i:r}=this;for(;;)switch(this.getCode()){case e:return this.pushAttrib(this.name,this.text+t.slice(r,this.prevI)),this.name=this.text="",this.q=null,void(this.state=41);case 38:return this.text+=t.slice(r,this.prevI),this.state=14,void(this.entityReturnState=40);case S:case k:case 9:this.text+=`${t.slice(r,this.prevI)} `,r=this.i;break;case D:return this.text+=t.slice(r,this.prevI),void this.fail("disallowed character.");case b:return void(this.text+=t.slice(r))}}sAttribValueClosed(){const e=this.getCodeNorm();o(e)?this.state=36:e===T?this.openTag():47===e?this.state=35:c(e)?(this.fail("no whitespace between attributes."),this.unget(),this.state=37):this.fail("disallowed character in attribute name.")}sAttribValueUnquoted(){const e=this.captureTo(R);switch(e){case 38:this.state=14,this.entityReturnState=42;break;case D:this.fail("disallowed character.");break;case b:break;default:this.text.includes("]]>")&&this.fail('the string "]]>" is disallowed in char data.'),this.pushAttrib(this.name,this.text),this.name=this.text="",e===T?this.openTag():this.state=36}}sCloseTag(){const e=this.captureNameChars();e===T?this.closeTag():o(e)?this.state=44:e!==b&&this.fail("disallowed character in closing tag.")}sCloseTagSawWhite(){switch(this.skipSpaces()){case T:this.closeTag();break;case b:break;default:this.fail("disallowed character in closing tag.")}}handleTextInRoot(){let{i:e,forbiddenState:t}=this;const{chunk:r,textHandler:n}=this;e:for(;;)switch(this.getCode()){case D:if(this.state=15,void 0!==n){const{text:t}=this,i=r.slice(e,this.prevI);0!==t.length?(n(t+i),this.text=""):0!==i.length&&n(i)}t=0;break e;case 38:this.state=14,this.entityReturnState=x,void 0!==n&&(this.text+=r.slice(e,this.prevI)),t=0;break e;case A:switch(t){case 0:t=1;break;case 1:t=2;break;case 2:break;default:throw new Error("impossible state")}break;case T:2===t&&this.fail('the string "]]>" is disallowed in char data.'),t=0;break;case k:void 0!==n&&(this.text+=`${r.slice(e,this.prevI)}\n`),e=this.i,t=0;break;case b:void 0!==n&&(this.text+=r.slice(e));break e;default:t=0}this.forbiddenState=t}handleTextOutsideRoot(){let{i:e}=this;const{chunk:t,textHandler:r}=this;let n=!1;e:for(;;){const i=this.getCode();switch(i){case D:if(this.state=15,void 0!==r){const{text:n}=this,i=t.slice(e,this.prevI);0!==n.length?(r(n+i),this.text=""):0!==i.length&&r(i)}break e;case 38:this.state=14,this.entityReturnState=x,void 0!==r&&(this.text+=t.slice(e,this.prevI)),n=!0;break e;case k:void 0!==r&&(this.text+=`${t.slice(e,this.prevI)}\n`),e=this.i;break;case b:void 0!==r&&(this.text+=t.slice(e));break e;default:o(i)||(n=!0)}}n&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}pushAttribNS(e,t){var r;const{prefix:n,local:i}=this.qname(e),a={name:e,prefix:n,local:i,value:t};if(this.attribList.push(a),null===(r=this.attributeHandler)||void 0===r||r.call(this,a),"xmlns"===n){const e=t.trim();"1.0"===this.currentXMLVersion&&""===e&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[i]=e,M(this,i,e)}else if("xmlns"===e){const e=t.trim();this.topNS[""]=e,M(this,"",e)}}pushAttribPlain(e,t){var r;const n={name:e,value:t};this.attribList.push(n),null===(r=this.attributeHandler)||void 0===r||r.call(this,n)}end(){var e,t;this.sawRoot||this.fail("document must contain a root element.");const{tags:r}=this;for(;r.length>0;){const e=r.pop();this.fail(`unclosed tag: ${e.name}`)}0!==this.state&&this.state!==x&&this.fail("unexpected end.");const{text:n}=this;return 0!==n.length&&(null===(e=this.textHandler)||void 0===e||e.call(this,n),this.text=""),this._closed=!0,null===(t=this.endHandler)||void 0===t||t.call(this),this._init(),this}resolve(e){var t,r;let n=this.topNS[e];if(void 0!==n)return n;const{tags:i}=this;for(let t=i.length-1;t>=0;t--)if(n=i[t].ns[e],void 0!==n)return n;return n=this.ns[e],void 0!==n?n:null===(r=(t=this.opt).resolvePrefix)||void 0===r?void 0:r.call(t,e)}qname(e){const t=e.indexOf(":");if(-1===t)return{prefix:"",local:e};const r=e.slice(t+1),n=e.slice(0,t);return(""===n||""===r||r.includes(":"))&&this.fail(`malformed name: ${e}.`),{prefix:n,local:r}}processAttribsNS(){var e;const{attribList:t}=this,r=this.tag;{const{prefix:t,local:n}=this.qname(r.name);r.prefix=t,r.local=n;const i=r.uri=null!==(e=this.resolve(t))&&void 0!==e?e:"";""!==t&&("xmlns"===t&&this.fail('tags may not have "xmlns" as prefix.'),""===i&&(this.fail(`unbound namespace prefix: ${JSON.stringify(t)}.`),r.uri=t))}if(0===t.length)return;const{attributes:n}=r,i=new Set;for(const e of t){const{name:t,prefix:r,local:a}=e;let o,s;""===r?(o="xmlns"===t?h:"",s=t):(o=this.resolve(r),void 0===o&&(this.fail(`unbound namespace prefix: ${JSON.stringify(r)}.`),o=r),s=`{${o}}${a}`),i.has(s)&&this.fail(`duplicate attribute: ${s}.`),i.add(s),e.uri=o,n[t]=e}this.attribList=[]}processAttribsPlain(){const{attribList:e}=this,t=this.tag.attributes;for(const{name:r,value:n}of e)void 0!==t[r]&&this.fail(`duplicate attribute: ${r}.`),t[r]=n;this.attribList=[]}openTag(){var e;this.processAttribs();const{tags:t}=this,r=this.tag;r.isSelfClosing=!1,null===(e=this.openTagHandler)||void 0===e||e.call(this,r),t.push(r),this.state=x,this.name=""}openSelfClosingTag(){var e,t,r;this.processAttribs();const{tags:n}=this,i=this.tag;i.isSelfClosing=!0,null===(e=this.openTagHandler)||void 0===e||e.call(this,i),null===(t=this.closeTagHandler)||void 0===t||t.call(this,i);null===(this.tag=null!==(r=n[n.length-1])&&void 0!==r?r:null)&&(this.closedRoot=!0),this.state=x,this.name=""}closeTag(){const{tags:e,name:t}=this;if(this.state=x,this.name="",""===t)return this.fail("weird empty close tag."),void(this.text+="</>");const r=this.closeTagHandler;let n=e.length;for(;n-- >0;){const n=this.tag=e.pop();if(this.topNS=n.ns,null==r||r(n),n.name===t)break;this.fail("unexpected close tag.")}0===n?this.closedRoot=!0:n<0&&(this.fail(`unmatched closing tag: ${t}.`),this.text+=`</${t}>`)}parseEntity(e){if("#"!==e[0]){const t=this.ENTITIES[e];return void 0!==t?t:(this.fail(this.isName(e)?"undefined entity.":"disallowed character in entity name."),`&${e};`)}let t=NaN;return"x"===e[1]&&/^#x[0-9a-f]+$/i.test(e)?t=parseInt(e.slice(2),16):/^#[0-9]+$/.test(e)&&(t=parseInt(e.slice(1),10)),this.isChar(t)?String.fromCodePoint(t):(this.fail("malformed character entity."),`&${e};`)}}},42791:function(){!function(e,t){"use strict";if(!e.setImmediate){var r,n,i,a,o,s=1,c={},l=!1,u=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?r=function(e){process.nextTick((function(){f(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){f(e.data)},r=function(e){i.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(n=u.documentElement,r=function(e){var t=u.createElement("script");t.onreadystatechange=function(){f(e),t.onreadystatechange=null,n.removeChild(t),t=null},n.appendChild(t)}):r=function(e){setTimeout(f,0,e)}:(a="setImmediate$"+Math.random()+"$",o=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&f(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",o,!1):e.attachEvent("onmessage",o),r=function(t){e.postMessage(a+t,"*")}),d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var i={callback:e,args:t};return c[s]=i,r(s),s++},d.clearImmediate=p}function p(e){delete c[e]}function f(e){if(l)setTimeout(f,0,e);else{var r=c[e];if(r){l=!0;try{!function(e){var r=e.callback,n=e.args;switch(n.length){case 0:r();break;case 1:r(n[0]);break;case 2:r(n[0],n[1]);break;case 3:r(n[0],n[1],n[2]);break;default:r.apply(t,n)}}(r)}finally{p(e),l=!1}}}}}("undefined"==typeof self?"undefined"==typeof global?this:global:self)},92345:(e,t,r)=>{e=r.nmd(e);var n,i=r(19665).SourceMapConsumer,a=r(16928);try{(n=r(79896)).existsSync&&n.readFileSync||(n=null)}catch(e){}var o=r(42746);function s(e,t){return e.require(t)}var c=!1,l=!1,u=!1,d="auto",p={},f={},m=/^data:application\/json[^,]+base64,/,g=[],_=[];function h(){return"browser"===d||"node"!==d&&("undefined"!=typeof window&&"function"==typeof XMLHttpRequest&&!(window.require&&window.module&&window.process&&"renderer"===window.process.type))}function y(e){return function(t){for(var r=0;r<e.length;r++){var n=e[r](t);if(n)return n}return null}}var v=y(g);function b(e,t){if(!e)return t;var r=a.dirname(e),n=/^\w+:\/\/[^\/]*/.exec(r),i=n?n[0]:"",o=r.slice(i.length);return i&&/^\/\w\:/.test(o)?(i+="/")+a.resolve(r.slice(i.length),t).replace(/\\/g,"/"):i+a.resolve(r.slice(i.length),t)}g.push((function(e){if(e=e.trim(),/^file:/.test(e)&&(e=e.replace(/file:\/\/\/(\w:)?/,(function(e,t){return t?"":"/"}))),e in p)return p[e];var t="";try{if(n)n.existsSync(e)&&(t=n.readFileSync(e,"utf8"));else{var r=new XMLHttpRequest;r.open("GET",e,!1),r.send(null),4===r.readyState&&200===r.status&&(t=r.responseText)}}catch(e){}return p[e]=t}));var k=y(_);function x(e){var t=f[e.source];if(!t){var r=k(e.source);r?(t=f[e.source]={url:r.url,map:new i(r.map)}).map.sourcesContent&&t.map.sources.forEach((function(e,r){var n=t.map.sourcesContent[r];if(n){var i=b(t.url,e);p[i]=n}})):t=f[e.source]={url:null,map:null}}if(t&&t.map&&"function"==typeof t.map.originalPositionFor){var n=t.map.originalPositionFor(e);if(null!==n.source)return n.source=b(t.url,n.source),n}return e}function E(e){var t=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(e);if(t){var r=x({source:t[2],line:+t[3],column:t[4]-1});return"eval at "+t[1]+" ("+r.source+":"+r.line+":"+(r.column+1)+")"}return(t=/^eval at ([^(]+) \((.+)\)$/.exec(e))?"eval at "+t[1]+" ("+E(t[2])+")":e}function S(){var e,t="";if(this.isNative())t="native";else{!(e=this.getScriptNameOrSourceURL())&&this.isEval()&&(t=this.getEvalOrigin(),t+=", "),t+=e||"<anonymous>";var r=this.getLineNumber();if(null!=r){t+=":"+r;var n=this.getColumnNumber();n&&(t+=":"+n)}}var i="",a=this.getFunctionName(),o=!0,s=this.isConstructor();if(!(this.isToplevel()||s)){var c=this.getTypeName();"[object Object]"===c&&(c="null");var l=this.getMethodName();a?(c&&0!=a.indexOf(c)&&(i+=c+"."),i+=a,l&&a.indexOf("."+l)!=a.length-l.length-1&&(i+=" [as "+l+"]")):i+=c+"."+(l||"<anonymous>")}else s?i+="new "+(a||"<anonymous>"):a?i+=a:(i+=t,o=!1);return o&&(i+=" ("+t+")"),i}function D(e){var t={};return Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(r){t[r]=/^(?:is|get)/.test(r)?function(){return e[r].call(e)}:e[r]})),t.toString=S,t}function w(e,t){if(void 0===t&&(t={nextPosition:null,curPosition:null}),e.isNative())return t.curPosition=null,e;var r=e.getFileName()||e.getScriptNameOrSourceURL();if(r){var n=e.getLineNumber(),i=e.getColumnNumber()-1,a=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/.test("object"==typeof process&&null!==process?process.version:"")?0:62;1===n&&i>a&&!h()&&!e.isEval()&&(i-=a);var o=x({source:r,line:n,column:i});t.curPosition=o;var s=(e=D(e)).getFunctionName;return e.getFunctionName=function(){return null==t.nextPosition?s():t.nextPosition.name||s()},e.getFileName=function(){return o.source},e.getLineNumber=function(){return o.line},e.getColumnNumber=function(){return o.column+1},e.getScriptNameOrSourceURL=function(){return o.source},e}var c=e.isEval()&&e.getEvalOrigin();return c?(c=E(c),(e=D(e)).getEvalOrigin=function(){return c},e):e}function T(e,t){u&&(p={},f={});for(var r=(e.name||"Error")+": "+(e.message||""),n={nextPosition:null,curPosition:null},i=[],a=t.length-1;a>=0;a--)i.push("\n at "+w(t[a],n)),n.nextPosition=n.curPosition;return n.curPosition=n.nextPosition=null,r+i.reverse().join("")}function C(e){var t=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(e.stack);if(t){var r=t[1],i=+t[2],a=+t[3],o=p[r];if(!o&&n&&n.existsSync(r))try{o=n.readFileSync(r,"utf8")}catch(e){o=""}if(o){var s=o.split(/(?:\r\n|\r|\n)/)[i-1];if(s)return r+":"+i+"\n"+s+"\n"+new Array(a).join(" ")+"^"}}return null}function A(e){var t=C(e),r=function(){if("object"==typeof process&&null!==process)return process.stderr}();r&&r._handle&&r._handle.setBlocking&&r._handle.setBlocking(!0),t&&(console.error(),console.error(t)),console.error(e.stack),function(e){if("object"==typeof process&&null!==process&&"function"==typeof process.exit)process.exit(e)}(1)}_.push((function(e){var t,r=function(e){var t;if(h())try{var r=new XMLHttpRequest;r.open("GET",e,!1),r.send(null),t=4===r.readyState?r.responseText:null;var n=r.getResponseHeader("SourceMap")||r.getResponseHeader("X-SourceMap");if(n)return n}catch(e){}t=v(e);for(var i,a,o=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/gm;a=o.exec(t);)i=a;return i?i[1]:null}(e);if(!r)return null;if(m.test(r)){var n=r.slice(r.indexOf(",")+1);t=o(n,"base64").toString(),r=e}else r=b(e,r),t=v(r);return t?{url:r,map:t}:null}));var N=g.slice(0),P=_.slice(0);t.wrapCallSite=w,t.getErrorSource=C,t.mapSourcePosition=x,t.retrieveSourceMap=k,t.install=function(t){if((t=t||{}).environment&&(d=t.environment,-1===["node","browser","auto"].indexOf(d)))throw new Error("environment "+d+" was unknown. Available options are {auto, browser, node}");if(t.retrieveFile&&(t.overrideRetrieveFile&&(g.length=0),g.unshift(t.retrieveFile)),t.retrieveSourceMap&&(t.overrideRetrieveSourceMap&&(_.length=0),_.unshift(t.retrieveSourceMap)),t.hookRequire&&!h()){var r=s(e,"module"),n=r.prototype._compile;n.__sourceMapSupport||(r.prototype._compile=function(e,t){return p[t]=e,f[t]=void 0,n.call(this,e,t)},r.prototype._compile.__sourceMapSupport=!0)}if(u||(u="emptyCacheBetweenOperations"in t&&t.emptyCacheBetweenOperations),c||(c=!0,Error.prepareStackTrace=T),!l){var i=!("handleUncaughtExceptions"in t)||t.handleUncaughtExceptions;try{!1===s(e,"worker_threads").isMainThread&&(i=!1)}catch(e){}i&&"object"==typeof process&&null!==process&&"function"==typeof process.on&&(l=!0,a=process.emit,process.emit=function(e){if("uncaughtException"===e){var t=arguments[1]&&arguments[1].stack,r=this.listeners(e).length>0;if(t&&!r)return A(arguments[1])}return a.apply(this,arguments)})}var a},t.resetRetrieveHandlers=function(){g.length=0,_.length=0,g=N.slice(0),_=P.slice(0),k=y(_),v=y(g)}},80735:(e,t,r)=>{var n=r(90251),i=Object.prototype.hasOwnProperty,a="undefined"!=typeof Map;function o(){this._array=[],this._set=a?new Map:Object.create(null)}o.fromArray=function(e,t){for(var r=new o,n=0,i=e.length;n<i;n++)r.add(e[n],t);return r},o.prototype.size=function(){return a?this._set.size:Object.getOwnPropertyNames(this._set).length},o.prototype.add=function(e,t){var r=a?e:n.toSetString(e),o=a?this.has(e):i.call(this._set,r),s=this._array.length;o&&!t||this._array.push(e),o||(a?this._set.set(e,s):this._set[r]=s)},o.prototype.has=function(e){if(a)return this._set.has(e);var t=n.toSetString(e);return i.call(this._set,t)},o.prototype.indexOf=function(e){if(a){var t=this._set.get(e);if(t>=0)return t}else{var r=n.toSetString(e);if(i.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')},o.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},o.prototype.toArray=function(){return this._array.slice()},t.C=o},17092:(e,t,r)=>{var n=r(32364);t.encode=function(e){var t,r="",i=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&i,(i>>>=5)>0&&(t|=32),r+=n.encode(t)}while(i>0);return r},t.decode=function(e,t,r){var i,a,o,s,c=e.length,l=0,u=0;do{if(t>=c)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(a=n.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));i=!!(32&a),l+=(a&=31)<<u,u+=5}while(i);r.value=(s=(o=l)>>1,1&~o?s:-s),r.rest=t}},32364:(e,t)=>{var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<r.length)return r[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},41163:(e,t)=>{function r(e,n,i,a,o,s){var c=Math.floor((n-e)/2)+e,l=o(i,a[c],!0);return 0===l?c:l>0?n-c>1?r(c,n,i,a,o,s):s==t.LEAST_UPPER_BOUND?n<a.length?n:-1:c:c-e>1?r(e,c,i,a,o,s):s==t.LEAST_UPPER_BOUND?c:e<0?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,n,i,a){if(0===n.length)return-1;var o=r(-1,n.length,e,n,i,a||t.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&0===i(n[o],n[o-1],!0);)--o;return o}},43302:(e,t,r)=>{var n=r(90251);function i(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}i.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},i.prototype.add=function(e){var t,r,i,a,o,s;t=this._last,r=e,i=t.generatedLine,a=r.generatedLine,o=t.generatedColumn,s=r.generatedColumn,a>i||a==i&&s>=o||n.compareByGeneratedPositionsInflated(t,r)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},i.prototype.toArray=function(){return this._sorted||(this._array.sort(n.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.P=i},43801:(e,t)=>{function r(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function n(e,t,i,a){if(i<a){var o=i-1;r(e,(u=i,d=a,Math.round(u+Math.random()*(d-u))),a);for(var s=e[a],c=i;c<a;c++)t(e[c],s)<=0&&r(e,o+=1,c);r(e,o+1,c);var l=o+1;n(e,t,i,l-1),n(e,t,l+1,a)}var u,d}t.g=function(e,t){n(e,t,0,e.length-1)}},47446:(e,t,r)=>{var n=r(90251),i=r(41163),a=r(80735).C,o=r(17092),s=r(43801).g;function c(e,t){var r=e;return"string"==typeof e&&(r=n.parseSourceMapInput(e)),null!=r.sections?new d(r,t):new l(r,t)}function l(e,t){var r=e;"string"==typeof e&&(r=n.parseSourceMapInput(e));var i=n.getArg(r,"version"),o=n.getArg(r,"sources"),s=n.getArg(r,"names",[]),c=n.getArg(r,"sourceRoot",null),l=n.getArg(r,"sourcesContent",null),u=n.getArg(r,"mappings"),d=n.getArg(r,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);c&&(c=n.normalize(c)),o=o.map(String).map(n.normalize).map((function(e){return c&&n.isAbsolute(c)&&n.isAbsolute(e)?n.relative(c,e):e})),this._names=a.fromArray(s.map(String),!0),this._sources=a.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map((function(e){return n.computeSourceURL(c,e,t)})),this.sourceRoot=c,this.sourcesContent=l,this._mappings=u,this._sourceMapURL=t,this.file=d}function u(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function d(e,t){var r=e;"string"==typeof e&&(r=n.parseSourceMapInput(e));var i=n.getArg(r,"version"),o=n.getArg(r,"sections");if(i!=this._version)throw new Error("Unsupported version: "+i);this._sources=new a,this._names=new a;var s={line:-1,column:0};this._sections=o.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var r=n.getArg(e,"offset"),i=n.getArg(r,"line"),a=n.getArg(r,"column");if(i<s.line||i===s.line&&a<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=r,{generatedOffset:{generatedLine:i+1,generatedColumn:a+1},consumer:new c(n.getArg(e,"map"),t)}}))}c.fromSourceMap=function(e,t){return l.fromSourceMap(e,t)},c.prototype._version=3,c.prototype.__generatedMappings=null,Object.defineProperty(c.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),c.prototype.__originalMappings=null,Object.defineProperty(c.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),c.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return";"===r||","===r},c.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},c.GENERATED_ORDER=1,c.ORIGINAL_ORDER=2,c.GREATEST_LOWER_BOUND=1,c.LEAST_UPPER_BOUND=2,c.prototype.eachMapping=function(e,t,r){var i,a=t||null;switch(r||c.GENERATED_ORDER){case c.GENERATED_ORDER:i=this._generatedMappings;break;case c.ORIGINAL_ORDER:i=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var o=this.sourceRoot;i.map((function(e){var t=null===e.source?null:this._sources.at(e.source);return{source:t=n.computeSourceURL(o,t,this._sourceMapURL),generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}}),this).forEach(e,a)},c.prototype.allGeneratedPositionsFor=function(e){var t=n.getArg(e,"line"),r={source:n.getArg(e,"source"),originalLine:t,originalColumn:n.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var a=[],o=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",n.compareByOriginalPositions,i.LEAST_UPPER_BOUND);if(o>=0){var s=this._originalMappings[o];if(void 0===e.column)for(var c=s.originalLine;s&&s.originalLine===c;)a.push({line:n.getArg(s,"generatedLine",null),column:n.getArg(s,"generatedColumn",null),lastColumn:n.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++o];else for(var l=s.originalColumn;s&&s.originalLine===t&&s.originalColumn==l;)a.push({line:n.getArg(s,"generatedLine",null),column:n.getArg(s,"generatedColumn",null),lastColumn:n.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++o]}return a},t.SourceMapConsumer=c,l.prototype=Object.create(c.prototype),l.prototype.consumer=c,l.prototype._findSourceIndex=function(e){var t,r=e;if(null!=this.sourceRoot&&(r=n.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},l.fromSourceMap=function(e,t){var r=Object.create(l.prototype),i=r._names=a.fromArray(e._names.toArray(),!0),o=r._sources=a.fromArray(e._sources.toArray(),!0);r.sourceRoot=e._sourceRoot,r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=e._file,r._sourceMapURL=t,r._absoluteSources=r._sources.toArray().map((function(e){return n.computeSourceURL(r.sourceRoot,e,t)}));for(var c=e._mappings.toArray().slice(),d=r.__generatedMappings=[],p=r.__originalMappings=[],f=0,m=c.length;f<m;f++){var g=c[f],_=new u;_.generatedLine=g.generatedLine,_.generatedColumn=g.generatedColumn,g.source&&(_.source=o.indexOf(g.source),_.originalLine=g.originalLine,_.originalColumn=g.originalColumn,g.name&&(_.name=i.indexOf(g.name)),p.push(_)),d.push(_)}return s(r.__originalMappings,n.compareByOriginalPositions),r},l.prototype._version=3,Object.defineProperty(l.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),l.prototype._parseMappings=function(e,t){for(var r,i,a,c,l,d=1,p=0,f=0,m=0,g=0,_=0,h=e.length,y=0,v={},b={},k=[],x=[];y<h;)if(";"===e.charAt(y))d++,y++,p=0;else if(","===e.charAt(y))y++;else{for((r=new u).generatedLine=d,c=y;c<h&&!this._charIsMappingSeparator(e,c);c++);if(a=v[i=e.slice(y,c)])y+=i.length;else{for(a=[];y<c;)o.decode(e,y,b),l=b.value,y=b.rest,a.push(l);if(2===a.length)throw new Error("Found a source, but no line and column");if(3===a.length)throw new Error("Found a source and line, but no column");v[i]=a}r.generatedColumn=p+a[0],p=r.generatedColumn,a.length>1&&(r.source=g+a[1],g+=a[1],r.originalLine=f+a[2],f=r.originalLine,r.originalLine+=1,r.originalColumn=m+a[3],m=r.originalColumn,a.length>4&&(r.name=_+a[4],_+=a[4])),x.push(r),"number"==typeof r.originalLine&&k.push(r)}s(x,n.compareByGeneratedPositionsDeflated),this.__generatedMappings=x,s(k,n.compareByOriginalPositions),this.__originalMappings=k},l.prototype._findMapping=function(e,t,r,n,a,o){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[n]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[n]);return i.search(e,t,a,o)},l.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(t.generatedLine===r.generatedLine){t.lastGeneratedColumn=r.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},l.prototype.originalPositionFor=function(e){var t={generatedLine:n.getArg(e,"line"),generatedColumn:n.getArg(e,"column")},r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",n.compareByGeneratedPositionsDeflated,n.getArg(e,"bias",c.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===t.generatedLine){var a=n.getArg(i,"source",null);null!==a&&(a=this._sources.at(a),a=n.computeSourceURL(this.sourceRoot,a,this._sourceMapURL));var o=n.getArg(i,"name",null);return null!==o&&(o=this._names.at(o)),{source:a,line:n.getArg(i,"originalLine",null),column:n.getArg(i,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e})))},l.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var i,a=e;if(null!=this.sourceRoot&&(a=n.relative(this.sourceRoot,a)),null!=this.sourceRoot&&(i=n.urlParse(this.sourceRoot))){var o=a.replace(/^file:\/\//,"");if("file"==i.scheme&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!i.path||"/"==i.path)&&this._sources.has("/"+a))return this.sourcesContent[this._sources.indexOf("/"+a)]}if(t)return null;throw new Error('"'+a+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(e){var t=n.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var r={source:t,originalLine:n.getArg(e,"line"),originalColumn:n.getArg(e,"column")},i=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",n.compareByOriginalPositions,n.getArg(e,"bias",c.GREATEST_LOWER_BOUND));if(i>=0){var a=this._originalMappings[i];if(a.source===r.source)return{line:n.getArg(a,"generatedLine",null),column:n.getArg(a,"generatedColumn",null),lastColumn:n.getArg(a,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},d.prototype=Object.create(c.prototype),d.prototype.constructor=c,d.prototype._version=3,Object.defineProperty(d.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var r=0;r<this._sections[t].consumer.sources.length;r++)e.push(this._sections[t].consumer.sources[r]);return e}}),d.prototype.originalPositionFor=function(e){var t={generatedLine:n.getArg(e,"line"),generatedColumn:n.getArg(e,"column")},r=i.search(t,this._sections,(function(e,t){var r=e.generatedLine-t.generatedOffset.generatedLine;return r||e.generatedColumn-t.generatedOffset.generatedColumn})),a=this._sections[r];return a?a.consumer.originalPositionFor({line:t.generatedLine-(a.generatedOffset.generatedLine-1),column:t.generatedColumn-(a.generatedOffset.generatedLine===t.generatedLine?a.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},d.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},d.prototype.sourceContentFor=function(e,t){for(var r=0;r<this._sections.length;r++){var n=this._sections[r].consumer.sourceContentFor(e,!0);if(n)return n}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},d.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(-1!==r.consumer._findSourceIndex(n.getArg(e,"source"))){var i=r.consumer.generatedPositionFor(e);if(i)return{line:i.line+(r.generatedOffset.generatedLine-1),column:i.column+(r.generatedOffset.generatedLine===i.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},d.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var i=this._sections[r],a=i.consumer._generatedMappings,o=0;o<a.length;o++){var c=a[o],l=i.consumer._sources.at(c.source);l=n.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var u=null;c.name&&(u=i.consumer._names.at(c.name),this._names.add(u),u=this._names.indexOf(u));var d={source:l,generatedLine:c.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(i.generatedOffset.generatedLine===c.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:u};this.__generatedMappings.push(d),"number"==typeof d.originalLine&&this.__originalMappings.push(d)}s(this.__generatedMappings,n.compareByGeneratedPositionsDeflated),s(this.__originalMappings,n.compareByOriginalPositions)}},54041:(e,t,r)=>{var n=r(17092),i=r(90251),a=r(80735).C,o=r(43302).P;function s(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._skipValidation=i.getArg(e,"skipValidation",!1),this._sources=new a,this._names=new a,this._mappings=new o,this._sourcesContents=null}s.prototype._version=3,s.fromSourceMap=function(e){var t=e.sourceRoot,r=new s({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(n.source=e.source,null!=t&&(n.source=i.relative(t,n.source)),n.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(n.name=e.name)),r.addMapping(n)})),e.sources.forEach((function(n){var a=n;null!==t&&(a=i.relative(t,n)),r._sources.has(a)||r._sources.add(a);var o=e.sourceContentFor(n);null!=o&&r.setSourceContent(n,o)})),r},s.prototype.addMapping=function(e){var t=i.getArg(e,"generated"),r=i.getArg(e,"original",null),n=i.getArg(e,"source",null),a=i.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,n,a),null!=n&&(n=String(n),this._sources.has(n)||this._sources.add(n)),null!=a&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:n,name:a})},s.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=i.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[i.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[i.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},s.prototype.applySourceMap=function(e,t,r){var n=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');n=e.file}var o=this._sourceRoot;null!=o&&(n=i.relative(o,n));var s=new a,c=new a;this._mappings.unsortedForEach((function(t){if(t.source===n&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=r&&(t.source=i.join(r,t.source)),null!=o&&(t.source=i.relative(o,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var l=t.source;null==l||s.has(l)||s.add(l);var u=t.name;null==u||c.has(u)||c.add(u)}),this),this._sources=s,this._names=c,e.sources.forEach((function(t){var n=e.sourceContentFor(t);null!=n&&(null!=r&&(t=i.join(r,t)),null!=o&&(t=i.relative(o,t)),this.setSourceContent(t,n))}),this)},s.prototype._validateMapping=function(e,t,r,n){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||r||n)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:n}))},s.prototype._serializeMappings=function(){for(var e,t,r,a,o=0,s=1,c=0,l=0,u=0,d=0,p="",f=this._mappings.toArray(),m=0,g=f.length;m<g;m++){if(e="",(t=f[m]).generatedLine!==s)for(o=0;t.generatedLine!==s;)e+=";",s++;else if(m>0){if(!i.compareByGeneratedPositionsInflated(t,f[m-1]))continue;e+=","}e+=n.encode(t.generatedColumn-o),o=t.generatedColumn,null!=t.source&&(a=this._sources.indexOf(t.source),e+=n.encode(a-d),d=a,e+=n.encode(t.originalLine-1-l),l=t.originalLine-1,e+=n.encode(t.originalColumn-c),c=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=n.encode(r-u),u=r)),p+=e}return p},s.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=i.relative(t,e));var r=i.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)},s.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},s.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.x=s},1683:(e,t,r)=>{var n=r(54041).x,i=r(90251),a=/(\r?\n)/,o="$$$isSourceNode$$$";function s(e,t,r,n,i){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==r?null:r,this.name=null==i?null:i,this[o]=!0,null!=n&&this.add(n)}s.fromStringWithSourceMap=function(e,t,r){var n=new s,o=e.split(a),c=0,l=function(){return e()+(e()||"");function e(){return c<o.length?o[c++]:void 0}},u=1,d=0,p=null;return t.eachMapping((function(e){if(null!==p){if(!(u<e.generatedLine)){var t=(r=o[c]||"").substr(0,e.generatedColumn-d);return o[c]=r.substr(e.generatedColumn-d),d=e.generatedColumn,f(p,t),void(p=e)}f(p,l()),u++,d=0}for(;u<e.generatedLine;)n.add(l()),u++;if(d<e.generatedColumn){var r=o[c]||"";n.add(r.substr(0,e.generatedColumn)),o[c]=r.substr(e.generatedColumn),d=e.generatedColumn}p=e}),this),c<o.length&&(p&&f(p,l()),n.add(o.splice(c).join(""))),t.sources.forEach((function(e){var a=t.sourceContentFor(e);null!=a&&(null!=r&&(e=i.join(r,e)),n.setSourceContent(e,a))})),n;function f(e,t){if(null===e||void 0===e.source)n.add(t);else{var a=r?i.join(r,e.source):e.source;n.add(new s(e.originalLine,e.originalColumn,a,t,e.name))}}},s.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[o]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},s.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[o]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},s.prototype.walk=function(e){for(var t,r=0,n=this.children.length;r<n;r++)(t=this.children[r])[o]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},s.prototype.join=function(e){var t,r,n=this.children.length;if(n>0){for(t=[],r=0;r<n-1;r++)t.push(this.children[r]),t.push(e);t.push(this.children[r]),this.children=t}return this},s.prototype.replaceRight=function(e,t){var r=this.children[this.children.length-1];return r[o]?r.replaceRight(e,t):"string"==typeof r?this.children[this.children.length-1]=r.replace(e,t):this.children.push("".replace(e,t)),this},s.prototype.setSourceContent=function(e,t){this.sourceContents[i.toSetString(e)]=t},s.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][o]&&this.children[t].walkSourceContents(e);var n=Object.keys(this.sourceContents);for(t=0,r=n.length;t<r;t++)e(i.fromSetString(n[t]),this.sourceContents[n[t]])},s.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},s.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},r=new n(e),i=!1,a=null,o=null,s=null,c=null;return this.walk((function(e,n){t.code+=e,null!==n.source&&null!==n.line&&null!==n.column?(a===n.source&&o===n.line&&s===n.column&&c===n.name||r.addMapping({source:n.source,original:{line:n.line,column:n.column},generated:{line:t.line,column:t.column},name:n.name}),a=n.source,o=n.line,s=n.column,c=n.name,i=!0):i&&(r.addMapping({generated:{line:t.line,column:t.column}}),a=null,i=!1);for(var l=0,u=e.length;l<u;l++)10===e.charCodeAt(l)?(t.line++,t.column=0,l+1===u?(a=null,i=!1):i&&r.addMapping({source:n.source,original:{line:n.line,column:n.column},generated:{line:t.line,column:t.column},name:n.name})):t.column++})),this.walkSourceContents((function(e,t){r.setSourceContent(e,t)})),{code:t.code,map:r}}},90251:(e,t)=>{t.getArg=function(e,t,r){if(t in e)return e[t];if(3===arguments.length)return r;throw new Error('"'+t+'" is a required argument.')};var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function i(e){var t=e.match(r);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function a(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function o(e){var r=e,n=i(e);if(n){if(!n.path)return e;r=n.path}for(var o,s=t.isAbsolute(r),c=r.split(/\/+/),l=0,u=c.length-1;u>=0;u--)"."===(o=c[u])?c.splice(u,1):".."===o?l++:l>0&&(""===o?(c.splice(u+1,l),l=0):(c.splice(u,2),l--));return""===(r=c.join("/"))&&(r=s?"/":"."),n?(n.path=r,a(n)):r}function s(e,t){""===e&&(e="."),""===t&&(t=".");var r=i(t),s=i(e);if(s&&(e=s.path||"/"),r&&!r.scheme)return s&&(r.scheme=s.scheme),a(r);if(r||t.match(n))return t;if(s&&!s.host&&!s.path)return s.host=t,a(s);var c="/"===t.charAt(0)?t:o(e.replace(/\/+$/,"")+"/"+t);return s?(s.path=c,a(s)):c}t.urlParse=i,t.urlGenerate=a,t.normalize=o,t.join=s,t.isAbsolute=function(e){return"/"===e.charAt(0)||r.test(e)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==t.indexOf(e+"/");){var n=e.lastIndexOf("/");if(n<0)return t;if((e=e.slice(0,n)).match(/^([^\/]+:\/)?\/*$/))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)};var c=!("__proto__"in Object.create(null));function l(e){return e}function u(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var r=t-10;r>=0;r--)if(36!==e.charCodeAt(r))return!1;return!0}function d(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=c?l:function(e){return u(e)?"$"+e:e},t.fromSetString=c?l:function(e){return u(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,r){var n=d(e.source,t.source);return 0!==n||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)||r||0!==(n=e.generatedColumn-t.generatedColumn)||0!==(n=e.generatedLine-t.generatedLine)?n:d(e.name,t.name)},t.compareByGeneratedPositionsDeflated=function(e,t,r){var n=e.generatedLine-t.generatedLine;return 0!==n||0!==(n=e.generatedColumn-t.generatedColumn)||r||0!==(n=d(e.source,t.source))||0!==(n=e.originalLine-t.originalLine)||0!==(n=e.originalColumn-t.originalColumn)?n:d(e.name,t.name)},t.compareByGeneratedPositionsInflated=function(e,t){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=d(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:d(e.name,t.name)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},t.computeSourceURL=function(e,t,r){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),r){var n=i(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var c=n.path.lastIndexOf("/");c>=0&&(n.path=n.path.substring(0,c+1))}t=s(a(n),t)}return o(t)}},19665:(e,t,r)=>{r(54041).x,t.SourceMapConsumer=r(47446).SourceMapConsumer,r(1683)},83141:(e,t,r)=>{"use strict";var n=r(92861).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function a(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=l,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=u,this.end=d,t=3;break;default:return this.write=p,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function l(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function u(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function p(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}t.I=a,a.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},a.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},a.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=o(t[n]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--n<r||-2===i)return 0;if(i=o(t[n]),i>=0)return i>0&&(e.lastNeed=i-2),i;if(--n<r||-2===i)return 0;if(i=o(t[n]),i>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},35083:(e,t,r)=>{
97 ***************************************************************************** */var n,i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e},a=this&&this.__assign||function(){return a=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},a.apply(this,arguments)},o=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},s=this&&this.__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=o.trys,(i=i.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])}}},c=this&&this.__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=this&&this.__extends||(n=function(e,t){return n=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])},n(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}n(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 l(e,t){for(var r=e.head;r;)(r=i(r))&&t(r.value,r.key)}function u(e,t){if(e)for(var r=e.next();!r.done;r=e.next())t(r.value)}function d(e,t){return{current:e.head,selector:t}}function p(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}}!function(e){e.createMapShim=function(e){var r=function(){function e(e,t){this._data=d(e,t)}return e.prototype.next=function(){return p(this._data)},e}();return function(){function n(r){var n=this;this._mapData=t(),u(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){l(this._mapData,e)},n}()},e.createSetShim=function(e){var r=function(){function e(e,t){this._data=d(e,t)}return e.prototype.next=function(){return p(this._data)},e}();return function(){function n(r){var n=this;this._mapData=t(),u(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){l(this._mapData,e)},n}()}}(e.ShimCollections||(e.ShimCollections={}))}(d||(d={})),function(e){e.versionMajorMinor="4.2",e.version="4.2.3",function(e){e[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan"}(e.Comparison||(e.Comparison={})),function(e){e.tryGetNativeMap=function(){return"undefined"!=typeof Map&&"entries"in Map.prototype&&1===new Map([[0,0]]).size?Map:void 0},e.tryGetNativeSet=function(){return"undefined"!=typeof Set&&"entries"in Set.prototype&&1===new Set([0]).size?Set:void 0}}(e.NativeCollections||(e.NativeCollections={}))}(d||(d={})),function(e){function t(t,n,i){var a,o=null!==(a=e.NativeCollections[n]())&&void 0!==a?a:null===e.ShimCollections||void 0===e.ShimCollections?void 0:e.ShimCollections[i](r);if(o)return o;throw new Error("TypeScript requires an environment that provides a compatible native "+t+" implementation.")}function r(t){if(t){if(C(t))return g(t);if(t instanceof e.Map)return t.entries();if(t instanceof e.Set)return t.values();throw new Error("Iteration not supported.")}}function n(e,t,r){if(void 0===r&&(r=O),e)for(var n=0,i=e;n<i.length;n++){if(r(i[n],t))return!0}return!1}function a(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 o(e,t){return a(t)?a(e)?i(i([],e),t):t:e}function s(e,t){return t}function c(e){return e.map(s)}function l(e,t){return void 0===t?e:void 0===e?[t]:(e.push(t),e)}function u(e,t){return t<0?e.length+t:t}function d(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:u(t,r),n=void 0===n?t.length:u(t,n);for(var i=r;i<n&&i<t.length;i++)void 0!==t[i]&&e.push(t[i]);return e}function p(e,t,r){return!n(e,t,r)&&(e.push(t),!0)}function f(e,t,r){t.sort((function(t,n){return r(e[t],e[n])||M(t,n)}))}function m(e,t){return 0===e.length?e:e.slice().sort(t)}function g(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 h(e,r(t),r,n,i)}function h(e,t,r,n,i){if(!a(e))return-1;for(var o=i||0,s=e.length-1;o<=s;){var c=o+(s-o>>1);switch(n(r(e[c],c),t)){case-1:o=c+1;break;case 0:return c;case 1:s=c-1}}return~o}function y(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.Map=t("Map","tryGetNativeMap","createMapShim"),e.Set=t("Set","tryGetNativeSet","createSetShim"),e.getIterator=r,e.emptyArray=[],e.emptyMap=new e.Map,e.emptySet=new e.Set,e.createMap=function(){return new e.Map},e.createMapFromTemplate=function(t){var r=new e.Map;for(var n in t)v.call(t,n)&&r.set(n,t[n]);return r},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=n,e.arraysEqual=function(e,t,r){return void 0===r&&(r=O),e.length===t.length&&e.every((function(e,n){return r(e,t[n])}))},e.indexOfAnyCharCode=function(e,t,r){for(var i=r||0;i<e.length;i++)if(n(t,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&&(C(i)?d(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=C(a)?d(n,a):l(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&&(C(i)?d(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:C(n)?g(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||C(a))&&(r||(r=e.slice(0,n)),C(a)?d(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 l=r(e.slice(s,c),a,s,c);l&&n.push(l),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=a,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=o,e.indicesOf=c,e.deduplicate=function(e,t,r){return 0===e.length?[]:1===e.length?e.slice():r?function(e,t,r){var n=c(e);f(e,n,r);for(var i=e[n[0]],a=[n[0]],o=1;o<n.length;o++){var s=n[o],l=e[s];t(i,l)||(a.push(s),i=l)}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++)p(r,i[n],t);return r}(e,t)},e.insertSorted=function(e,t,r){if(0!==e.length){var n=_(e,t,N,r);n<0&&e.splice(~n,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}(m(t,r),n||r||j)},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=O),!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=l,e.combine=function(e,t){return void 0===e?t:void 0===t?e:C(e)?C(t)?o(e,t):l(e,t):C(t)?l(t,e):[e,t]},e.addRange=d,e.pushIfUnique=p,e.appendIfUnique=function(e,t,r){return e?(p(e,t,r),e):[t]},e.sort=m,e.arrayIterator=g,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=c(e);return f(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=u(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=h,e.reduceLeft=y;var v=Object.prototype.hasOwnProperty;function b(e,t){return v.call(e,t)}function k(e){var t=[];for(var r in e)v.call(e,r)&&t.push(r);return t}e.hasProperty=b,e.getProperty=function(e,t){return v.call(e,t)?e[t]:void 0},e.getOwnKeys=k,e.getAllKeys=function(e){var t=[];do{for(var r=0,n=Object.getOwnPropertyNames(e);r<n.length;r++){p(t,n[r])}}while(e=Object.getPrototypeOf(e));return t},e.getOwnValues=function(e){var t=[];for(var r in e)v.call(e,r)&&t.push(e[r]);return t};var x=Object.entries||function(e){for(var t=k(e),r=Array(t.length),n=0;n<t.length;n++)r[n]=[t[n],e[t[n]]];return r};function E(e,t){for(var r=[],n=e.next();!n.done;n=e.next())r.push(t?t(n.value):n.value);return r}function S(e,t,r){void 0===r&&(r=N);for(var n=D(),i=0,a=e;i<a.length;i++){var o=a[i];n.add(t(o),r(o))}return n}function D(){var t=new e.Map;return t.add=w,t.remove=T,t}function w(e,t){var r=this.get(e);return r?r.push(t):this.set(e,r=[t]),r}function T(e,t){var r=this.get(e);r&&(K(r,t),r.length||this.delete(e))}function C(e){return Array.isArray?Array.isArray(e):e instanceof Array}function A(e){}function N(e){return e}function P(e){return e.toLowerCase()}e.getEntries=function(e){return e?x(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=E,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)b(a,o)&&(e[o]=a[o])}return e},e.equalOwnProperties=function(e,t,r){if(void 0===r&&(r=O),e===t)return!0;if(!e||!t)return!1;for(var n in e)if(v.call(e,n)){if(!v.call(t,n))return!1;if(!r(e[n],t[n]))return!1}for(var n in t)if(v.call(t,n)&&!v.call(e,n))return!1;return!0},e.arrayToMap=function(t,r,n){void 0===n&&(n=N);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=N);for(var n=[],i=0,a=e;i<a.length;i++){var o=a[i];n[t(o)]=r(o)}return n},e.arrayToMultiMap=S,e.group=function(e,t,r){return void 0===r&&(r=N),E(S(e,t).values(),r)},e.clone=function(e){var t={};for(var r in e)v.call(e,r)&&(t[r]=e[r]);return t},e.extend=function(e,t){var r={};for(var n in t)v.call(t,n)&&(r[n]=t[n]);for(var n in e)v.call(e,n)&&(r[n]=e[n]);return r},e.copyProperties=function(e,t){for(var r in t)v.call(t,r)&&(e[r]=t[r])},e.maybeBind=function(e,t){return t?t.bind(e):void 0},e.createMultiMap=D,e.createUnderscoreEscapedMultiMap=function(){return D()},e.isArray=C,e.toArray=function(e){return C(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 "+t+" did not pass the test '"+e.Debug.getFunctionName(r)+"'.")},e.noop=A,e.returnFalse=function(){return!1},e.returnTrue=function(){return!0},e.returnUndefined=function(){},e.identity=N,e.toLowerCase=P;var I=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_\. ]+/g;function F(e){return I.test(e)?e.replace(I,P):e}function O(e,t){return e===t}function R(e,t){return e===t?0:void 0===e?-1:void 0===t?1:e<t?-1:1}function M(e,t){return R(e,t)}function L(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 j(e,t){return R(e,t)}e.toFileNameLowerCase=F,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=typeof e+":"+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 y(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}},function(e){e[e.None=0]="None",e[e.Normal=1]="Normal",e[e.Aggressive=2]="Aggressive",e[e.VeryAggressive=3]="VeryAggressive"}(e.AssertionLevel||(e.AssertionLevel={})),e.equateValues=O,e.equateStringsCaseInsensitive=function(e,t){return e===t||void 0!==e&&void 0!==t&&e.toUpperCase()===t.toUpperCase()},e.equateStringsCaseSensitive=function(e,t){return O(e,t)},e.compareValues=M,e.compareTextSpans=function(e,t){return M(null==e?void 0:e.start,null==t?void 0:t.start)||M(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=L,e.compareStringsCaseSensitive=j,e.getStringComparer=function(e){return e?L:j};var B,z,U=function(){var e,t,r=function(){if("object"==typeof Intl&&"function"==typeof Intl.Collator)return i;if("function"==typeof String.prototype.localeCompare&&"function"==typeof String.prototype.toLocaleUpperCase&&"a".localeCompare("B")<0)return a;return 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 q(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),l=Math.floor(t.length>r+o?r+o:t.length);i[0]=o;for(var u=o,d=1;d<c;d++)i[d]=a;for(d=c;d<=l;d++){var p=e[o-1].toLowerCase()===t[d-1].toLowerCase()?n[d-1]+.1:n[d-1]+2,f=s===t.charCodeAt(d-1)?n[d-1]:Math.min(n[d]+1,i[d-1]+1,p);i[d]=f,u=Math.min(u,f)}for(d=l+1;d<=t.length;d++)i[d]=a;if(u>r)return;var m=n;n=i,i=m}var g=n[t.length];return g>r?void 0:g}function J(e,t){var r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}function V(e,t){for(var r=t;r<e.length-1;r++)e[r]=e[r+1];e.pop()}function H(e,t){e[t]=e[e.length-1],e.pop()}function K(e,t){return function(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return H(e,r),!0;return!1}(e,(function(e){return e===t}))}function W(e,t){return 0===e.lastIndexOf(t,0)}function G(e,t){var r=e.prefix,n=e.suffix;return t.length>=r.length+n.length&&W(t,r)&&J(t,n)}function $(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):$(e,t,s,n+1)}}e.getUILocale=function(){return z},e.setUILocale=function(e){z!==e&&(z=e,B=void 0)},e.compareStringsCaseSensitiveUI=function(e,t){return(B||(B=U(z)))(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 M(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 l=c[s],u=n(l);if(void 0!==u&&Math.abs(u.length-t.length)<=a){if(u===t)continue;if(u.length<3&&u.toLowerCase()!==t.toLowerCase())continue;var d=q(t,u,o-.1);if(void 0===d)continue;e.Debug.assert(d<o),o=d,i=l}}return i},e.endsWith=J,e.removeSuffix=function(e,t){return J(e,t)?e.slice(0,e.length-t.length):e},e.tryRemoveSuffix=function(e,t){return J(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){var t=/[.-]((min)|(\d+(\.\d+)*))$/;return e.replace(t,"").replace(t,"")},e.orderedRemoveItem=function(e,t){for(var r=0;r<e.length;r++)if(e[r]===t)return V(e,r),!0;return!1},e.orderedRemoveItemAt=V,e.unorderedRemoveItemAt=H,e.unorderedRemoveItem=K,e.createGetCanonicalFileName=function(e){return e?N:F},e.patternText=function(e){return e.prefix+"*"+e.suffix},e.matchedText=function(t,r){return e.Debug.assert(G(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);G(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=N),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||A;for(var o=0,s=0,c=e.length,l=t.length,u=!1;o<c&&s<l;){var d=e[o],p=t[s],f=r(d,p);-1===f?(n(d),o++,u=!0):1===f?(i(p),s++,u=!0):(a(p,d),o++,s++)}for(;o<c;)n(e[o++]),u=!0;for(;s<l;)i(t[s++]),u=!0;return u},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 $(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)}}(d||(d={})),function(e){var t;!function(e){e[e.Off=0]="Off",e[e.Error=1]="Error",e[e.Warning=2]="Warning",e[e.Info=3]="Info",e[e.Verbose=4]="Verbose"}(t=e.LogLevel||(e.LogLevel={})),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 l(e){c(t.Info,e)}r.currentLogLevel=t.Warning,r.isDebugging=!1,r.getTypeScriptVersion=o,r.shouldLog=s,r.log=l,(i=l=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 u={};function d(e){return a>=e}function p(t,n){return!!d(t)||(u[n]={level:t,assertion:r[n]},r[n]=e.noop,!1)}function f(e,t){var r=new Error(e?"Debug Failure. "+e:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(r,t||f),r}function m(e,t,r,n){e||(t=t?"False expression: "+t:"False expression.",r&&(t+="\r\nVerbose Debug Information: "+("string"==typeof r?r:r())),f(t,n||m))}function g(e,t,r){null==e&&f(t,r||g)}function _(e,t,r){return g(e,t,r||_),e}function h(e,t,r){for(var n=0,i=e;n<i.length;n++){g(i[n],t,r||h)}}function y(e,t,r){return h(e,t,r||y),e}function v(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 b(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 l=c[s],u=l[0],d=l[1];if(u>t)break;0!==u&&u&t&&(a=a+(a?"|":"")+d,o&=~u)}if(0===o)return a}else for(var p=0,f=i;p<f.length;p++){var m=f[p];u=m[0],d=m[1];if(u===t)return d}return t.toString()}function k(t){return b(t,e.SyntaxKind,!1)}function x(t){return b(t,e.NodeFlags,!0)}function E(t){return b(t,e.ModifierFlags,!0)}function S(t){return b(t,e.TransformFlags,!0)}function D(t){return b(t,e.EmitFlags,!0)}function w(t){return b(t,e.SymbolFlags,!0)}function T(t){return b(t,e.TypeFlags,!0)}function C(t){return b(t,e.SignatureFlags,!0)}function A(t){return b(t,e.ObjectFlags,!0)}function N(t){return b(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(u);i<o.length;i++){var s=o[i],c=u[s];void 0!==c&&r[s]!==c.assertion&&t>=c.level&&(r[s]=c,u[s]=void 0)}},r.shouldAssert=d,r.fail=f,r.failBadSyntaxKind=function e(t,r,n){return f((r||"Unexpected node.")+"\r\nNode "+k(t.kind)+" was unexpected.",n||e)},r.assert=m,r.assertEqual=function e(t,r,n,i,a){t!==r&&f("Expected "+t+" === "+r+". "+(n?i?n+" "+i:n:""),a||e)},r.assertLessThan=function e(t,r,n,i){t>=r&&f("Expected "+t+" < "+r+". "+(n||""),i||e)},r.assertLessThanOrEqual=function e(t,r,n){t>r&&f("Expected "+t+" <= "+r,n||e)},r.assertGreaterThanOrEqual=function e(t,r,n){t<r&&f("Expected "+t+" >= "+r,n||e)},r.assertIsDefined=g,r.checkDefined=_,r.assertDefined=_,r.assertEachIsDefined=h,r.checkEachDefined=y,r.assertEachDefined=y,r.assertNever=function t(r,n,i){return void 0===n&&(n="Illegal value:"),f(n+" "+("object"==typeof r&&e.hasProperty(r,"kind")&&e.hasProperty(r,"pos")&&k?"SyntaxKind: "+k(r.kind):JSON.stringify(r)),i||t)},r.assertEachNode=function t(r,n,i,a){p(1,"assertEachNode")&&m(void 0===n||e.every(r,n),i||"Unexpected node.",(function(){return"Node array did not pass test '"+v(n)+"'."}),a||t)},r.assertNode=function e(t,r,n,i){p(1,"assertNode")&&m(void 0!==t&&(void 0===r||r(t)),n||"Unexpected node.",(function(){return"Node "+k(t.kind)+" did not pass test '"+v(r)+"'."}),i||e)},r.assertNotNode=function e(t,r,n,i){p(1,"assertNotNode")&&m(void 0===t||void 0===r||!r(t),n||"Unexpected node.",(function(){return"Node "+k(t.kind)+" should not have passed test '"+v(r)+"'."}),i||e)},r.assertOptionalNode=function e(t,r,n,i){p(1,"assertOptionalNode")&&m(void 0===r||void 0===t||r(t),n||"Unexpected node.",(function(){return"Node "+k(t.kind)+" did not pass test '"+v(r)+"'."}),i||e)},r.assertOptionalToken=function e(t,r,n,i){p(1,"assertOptionalToken")&&m(void 0===r||void 0===t||t.kind===r,n||"Unexpected node.",(function(){return"Node "+k(t.kind)+" was not a '"+k(r)+"' token."}),i||e)},r.assertMissingNode=function e(t,r,n){p(1,"assertMissingNode")&&m(void 0===t,r||"Unexpected node.",(function(){return"Node "+k(t.kind)+" was unexpected'."}),n||e)},r.getFunctionName=v,r.formatSymbol=function(t){return"{ name: "+e.unescapeLeadingUnderscores(t.escapedName)+"; flags: "+w(t.flags)+"; declarations: "+e.map(t.declarations,(function(e){return k(e.kind)}))+" }"},r.formatEnum=b,r.formatSyntaxKind=k,r.formatNodeFlags=x,r.formatModifierFlags=E,r.formatTransformFlags=S,r.formatEmitFlags=D,r.formatSymbolFlags=w,r.formatTypeFlags=T,r.formatSignatureFlags=C,r.formatObjectFlags=A,r.formatFlowFlags=N;var P,I,F,O=!1;function R(e){return function(){if(j(),!P)throw new Error("Debugging helpers could not be loaded.");return P}().formatControlFlowGraph(e)}function M(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 e+(t?" ("+N(t)+")":"")}},__debugFlowFlags:{get:function(){return b(this.flags,e.FlowFlags,!0)}},__debugToString:{value:function(){return R(this)}}})}function L(e){"__tsDebuggerDisplay"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value:function(e){return"NodeArray "+(e=String(e).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]"))}}})}function j(){if(!O){var t,r;Object.defineProperties(e.objectAllocator.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value:function(){var t=33554432&this.flags?"TransientSymbol":"Symbol",r=-33554433&this.flags;return t+" '"+e.symbolName(this)+"'"+(r?" ("+w(r)+")":"")}},__debugFlags:{get:function(){return w(this.flags)}}}),Object.defineProperties(e.objectAllocator.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value:function(){var t=98304&this.flags?"NullableType":384&this.flags?"LiteralType "+JSON.stringify(this.value):2048&this.flags?"LiteralType "+(this.value.negative?"-":"")+this.value.base10Value+"n":8192&this.flags?"UniqueESSymbolType":32&this.flags?"EnumType":67359327&this.flags?"IntrinsicType "+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":2048&this.objectFlags?"ReverseMappedType":256&this.objectFlags?"EvolvingArrayType":"ObjectType":"Type",r=524288&this.flags?-2368&this.objectFlags:0;return t+(this.symbol?" '"+e.symbolName(this.symbol)+"'":"")+(r?" ("+A(r)+")":"")}},__debugFlags:{get:function(){return T(this.flags)}},__debugObjectFlags:{get:function(){return 524288&this.flags?A(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 C(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(){return(e.isGeneratedIdentifier(this)?"GeneratedIdentifier":e.isIdentifier(this)?"Identifier '"+e.idText(this)+"'":e.isPrivateIdentifier(this)?"PrivateIdentifier '"+e.idText(this)+"'":e.isStringLiteral(this)?"StringLiteral "+JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"..."):e.isNumericLiteral(this)?"NumericLiteral "+this.text:e.isBigIntLiteral(this)?"BigIntLiteral "+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":k(this.kind))+(this.flags?" ("+x(this.flags)+")":"")}},__debugKind:{get:function(){return k(this.kind)}},__debugNodeFlags:{get:function(){return x(this.flags)}},__debugModifierFlags:{get:function(){return E(e.getEffectiveModifierFlagsNoCache(this))}},__debugTransformFlags:{get:function(){return S(this.transformFlags)}},__debugIsParseTreeNode:{get:function(){return e.isParseTreeNode(this)}},__debugEmitFlags:{get:function(){return D(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}}})}try{if(e.sys&&e.sys.require){var o=e.getDirectoryPath(e.resolvePath(e.sys.getExecutingFilePath())),s=e.sys.require(o,"./compiler-debug");s.error||(s.module.init(e),P=s.module)}}catch(e){}O=!0}}function B(t,r,n,i,a){var o=r?"DeprecationError: ":"DeprecationWarning: ";return o+="'"+t+"' ",o+=i?"has been deprecated since v"+i:"is deprecated",o+=r?" and can no longer be used.":n?" and will no longer be usable after v"+n+".":".",o+=a?" "+e.formatStringFromArgs(a,[t],0):""}function z(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,u="string"==typeof r.since?new e.Version(r.since):null!==(i=r.since)&&void 0!==i?i:c,d=r.error||s&&a.compareTo(s)<=0,p=!c||a.compareTo(c)>=0;return d?function(e,t,r,n){var i=B(e,!0,t,r,n);return function(){throw new TypeError(i)}}(t,s,u,r.message):p?function(e,t,r,n){var i=!1;return function(){i||(l.warn(B(e,!1,t,r,n)),i=!0)}}(t,s,u,r.message):e.noop}r.printControlFlowGraph=function(e){return console.log(R(e))},r.formatControlFlowGraph=R,r.attachFlowNodeDebugInfo=function(e){O&&("function"==typeof Object.setPrototypeOf?(I||M(I=Object.create(Object.prototype)),Object.setPrototypeOf(e,I)):M(e))},r.attachNodeArrayDebugInfo=function(e){O&&("function"==typeof Object.setPrototypeOf?(F||L(F=Object.create(Array.prototype)),Object.setPrototypeOf(e,F)):L(e))},r.enableDebugInfo=j,r.deprecate=function(e,t){return function(e,t){return function(){return e(),t.apply(this,arguments)}}(z(v(e),t),e)}}(e.Debug||(e.Debug={}))}(d||(d={})),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 l=e.Debug.checkDefined(o(t),"Invalid version");t=l.major,i=l.minor,a=l.patch,s=l.prerelease,c=l.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),l=i.test(s);if(c||l){if(c!==l)return c?-1:1;if(u=e.compareValues(+o,+s))return u}else{var u;if(u=e.compareStringsCaseSensitive(o,s))return u}}}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=this.major+"."+this.minor+"."+this.patch;return e.some(this.prerelease)&&(t+="-"+this.prerelease.join(".")),e.some(this.build)&&(t+="+"+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],l=void 0===c?"0":c,u=i[4],d=void 0===u?"":u,p=i[5],f=void 0===p?"":p;if((!d||r.test(d))&&(!f||n.test(f)))return{major:parseInt(a,10),minor:parseInt(s,10),patch:parseInt(l,10),prerelease:d,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 t=this._alternatives,e.map(t,k).join(" || ")||"*";var t},t}();e.VersionRange=s;var c=/\s*\|\|\s*/g,l=/\s+/g,u=/^([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,d=/^\s*([a-z0-9-+.*]+)\s+-\s+([a-z0-9-+.*]+)\s*$/i,p=/^\s*(~|\^|<|<=|>|>=|=)?\s*([a-z0-9-+.*]+)$/i;function f(e){for(var t=[],r=0,n=e.trim().split(c);r<n.length;r++){var i=n[r];if(i){var a=[],o=d.exec(i);if(o){if(!g(o[1],o[2],a))return}else for(var s=0,u=i.split(l);s<u.length;s++){var f=u[s],m=p.exec(f);if(!m||!_(m[1],m[2],a))return}t.push(a)}}return t}function m(e){var t=u.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],l=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,l),major:r,minor:i,patch:s}}}function g(e,t,r){var n=m(e);if(!n)return!1;var i=m(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 _(e,t,r){var n=m(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(!b(e,i.operator,i.operand))return!1}return!0}function b(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 k(t){return e.map(t,x).join(" ")}function x(e){return""+e.operator+e.operand}}(d||(d={})),function(e){function t(e,t){return"object"==typeof e&&"number"==typeof e.timeOrigin&&"function"==typeof e.mark&&"function"==typeof e.measure&&"function"==typeof e.now&&"function"==typeof t}var n=function(){if("object"==typeof performance&&"function"==typeof PerformanceObserver&&t(performance,PerformanceObserver))return{shouldWriteNativeEvents:!0,performance,PerformanceObserver}}()||function(){if("undefined"!=typeof process&&process.nextTick&&!process.browser)try{var n,i=r(82987),a=i.performance,o=i.PerformanceObserver;if(t(a,o)){n=a;var s=new e.Version(process.versions.node);return new e.VersionRange("<12.16.3 || 13 <13.13").test(s)&&(n={get timeOrigin(){return a.timeOrigin},now:function(){return a.now()},mark:function(e){return a.mark(e)},measure:function(e,t,r){void 0===t&&(t="nodeStart"),void 0===r&&(r="__performance.measure-fix__",a.mark(r)),a.measure(e,t,r),"__performance.measure-fix__"===r&&a.clearMarks("__performance.measure-fix__")}}),{shouldWriteNativeEvents:!1,performance:n,PerformanceObserver:o}}}catch(e){}}(),i=null==n?void 0:n.performance;e.tryGetNativePerformanceHooks=function(){return n},e.timestamp=i?function(){return i.now()}:Date.now?Date.now:function(){return+new Date}}(d||(d={})),function(e){!function(t){var r,n;function i(t,r,n){var i=0;return{enter:function(){1==++i&&u(r)},exit:function(){0==--i?(u(n),d(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,l=new e.Map;function u(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 d(t,r,i){var c,u;if(a){var d=null!==(c=void 0!==i?s.get(i):void 0)&&void 0!==c?c:e.timestamp(),p=null!==(u=void 0!==r?s.get(r):void 0)&&void 0!==u?u:o,f=l.get(t)||0;l.set(t,f+(d-p)),null==n||n.measure(t,r,i)}}t.mark=u,t.measure=d,t.getCount=function(e){return c.get(e)||0},t.getDuration=function(e){return l.get(e)||0},t.forEachMeasure=function(e){l.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(),l.clear(),n=void 0,a=!1)}}(e.performance||(e.performance={}))}(d||(d={})),function(e){var t,n,i={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{var a=null!==(t=process.env.TS_ETW_MODULE_PATH)&&void 0!==t?t:"./node_modules/@microsoft/typescript-etw";n=r(89387)(a)}catch(e){n=void 0}e.perfLogger=n&&n.logEvent?n:i}(d||(d={})),d||(d={}),function(e){!function(t){var n;!function(e){e[e.Project=0]="Project",e[e.Build=1]="Build",e[e.Server=2]="Server"}(t.Mode||(t.Mode={}));var i,o,s=0,c=0,l=[];t.startTracing=function(u,d,p){if(e.Debug.assert(!e.tracing,"Tracing already started"),void 0===n)try{n=r(79896)}catch(e){throw new Error("tracing requires having fs\n(original error: "+(e.message||e)+")")}i=u,void 0===o&&(o=e.combinePaths(d,"legend.json")),n.existsSync(d)||n.mkdirSync(d,{recursive:!0});var f=1===i?"."+process.pid+"-"+ ++s:2===i?"."+process.pid:"",m=e.combinePaths(d,"trace"+f+".json"),g=e.combinePaths(d,"types"+f+".json");l.push({configFilePath:p,tracePath:m,typesPath:g}),c=n.openSync(m,"w"),e.tracing=t;var _={cat:"__metadata",ph:"M",ts:1e3*e.timestamp(),pid:1,tid:1};n.writeSync(c,"[\n"+[a({name:"process_name",args:{name:"tsc"}},_),a({name:"thread_name",args:{name:"Main"}},_),a(a({name:"TracingStartedInBrowser"},_),{cat:"disabled-by-default-devtools.timeline"})].map((function(e){return JSON.stringify(e)})).join(",\n"))},t.stopTracing=function(t){e.Debug.assert(e.tracing,"Tracing is not in progress"),e.Debug.assert(!!t==(2!==i)),n.writeSync(c,"\n]\n"),n.closeSync(c),e.tracing=void 0,t?function(t){var r,i,o,s,c,u,d,p,f,g,_,h,y,v,b,k;e.performance.mark("beginDumpTypes");var x=l[l.length-1].typesPath,E=n.openSync(x,"w"),S=new e.Map;n.writeSync(E,"[");for(var D=t.length,w=0;w<D;w++){var T=t[w],C=T.objectFlags,A=null!==(r=T.aliasSymbol)&&void 0!==r?r:T.symbol,N=null===(i=null==A?void 0:A.declarations)||void 0===i?void 0:i[0],P=N&&e.getSourceFileOfNode(N),I=void 0;if(16&C|2944&T.flags)try{I=null===(o=T.checker)||void 0===o?void 0:o.typeToString(T)}catch(e){I=void 0}var F={};if(8388608&T.flags){var O=T;F={indexedAccessObjectType:null===(s=O.objectType)||void 0===s?void 0:s.id,indexedAccessIndexType:null===(c=O.indexType)||void 0===c?void 0:c.id}}var R={};if(4&C){var M=T;R={instantiatedType:null===(u=M.target)||void 0===u?void 0:u.id,typeArguments:null===(d=M.resolvedTypeArguments)||void 0===d?void 0:d.map((function(e){return e.id}))}}var L={};if(16777216&T.flags){var j=T;L={conditionalCheckType:null===(p=j.checkType)||void 0===p?void 0:p.id,conditionalExtendsType:null===(f=j.extendsType)||void 0===f?void 0:f.id,conditionalTrueType:null!==(_=null===(g=j.resolvedTrueType)||void 0===g?void 0:g.id)&&void 0!==_?_:-1,conditionalFalseType:null!==(y=null===(h=j.resolvedFalseType)||void 0===h?void 0:h.id)&&void 0!==y?y:-1}}var B=void 0,z=T.checker.getRecursionIdentity(T);z&&((B=S.get(z))||(B=S.size,S.set(z,B)));var U=a(a(a(a({id:T.id,intrinsicName:T.intrinsicName,symbolName:(null==A?void 0:A.escapedName)&&e.unescapeLeadingUnderscores(A.escapedName),recursionId:B,unionTypes:1048576&T.flags?null===(v=T.types)||void 0===v?void 0:v.map((function(e){return e.id})):void 0,intersectionTypes:2097152&T.flags?T.types.map((function(e){return e.id})):void 0,aliasTypeArguments:null===(b=T.aliasTypeArguments)||void 0===b?void 0:b.map((function(e){return e.id})),keyofType:4194304&T.flags?null===(k=T.type)||void 0===k?void 0:k.id:void 0},F),R),L),{firstDeclaration:N&&{path:P.path,start:m(e.getLineAndCharacterOfPosition(P,N.pos)),end:m(e.getLineAndCharacterOfPosition(e.getSourceFileOfNode(N),N.end))},flags:e.Debug.formatTypeFlags(T.flags).split("|"),display:I});n.writeSync(E,JSON.stringify(U)),w<D-1&&n.writeSync(E,",\n")}n.writeSync(E,"]\n"),n.closeSync(E),e.performance.mark("endDumpTypes"),e.performance.measure("Dump types","beginDumpTypes","endDumpTypes")}(t):l[l.length-1].typesPath=void 0},function(e){e.Parse="parse",e.Program="program",e.Bind="bind",e.Check="check",e.CheckTypes="checkTypes",e.Emit="emit",e.Session="session"}(t.Phase||(t.Phase={})),t.instant=function(e,t,r){f("I",e,t,r,'"s":"g"')};var u=[];t.push=function(t,r,n,i){void 0===i&&(i=!1),i&&f("B",t,r,n),u.push({phase:t,name:r,args:n,time:1e3*e.timestamp(),separateBeginAndEnd:i})},t.pop=function(){e.Debug.assert(u.length>0),p(u.length-1,1e3*e.timestamp()),u.length--},t.popAll=function(){for(var t=1e3*e.timestamp(),r=u.length-1;r>=0;r--)p(r,t);u.length=0};var d=1e4;function p(e,t){var r=u[e],n=r.phase,i=r.name,a=r.args,o=r.time;r.separateBeginAndEnd?f("E",n,i,a,void 0,t):d-o%d<=t-o&&f("X",n,i,a,'"dur":'+(t-o),o)}function f(t,r,a,o,s,l){void 0===l&&(l=1e3*e.timestamp()),2===i&&"checkTypes"===r||(e.performance.mark("beginTracing"),n.writeSync(c,',\n{"pid":1,"tid":1,"ph":"'+t+'","cat":"'+r+'","ts":'+l+',"name":"'+a+'"'),s&&n.writeSync(c,","+s),o&&n.writeSync(c,',"args":'+JSON.stringify(o)),n.writeSync(c,"}"),e.performance.mark("endTracing"),e.performance.measure("Tracing","beginTracing","endTracing"))}function m(e){return{line:e.line+1,character:e.character+1}}t.dumpLegend=function(){o&&n.writeFileSync(o,JSON.stringify(l))}}(e.tracingEnabled||(e.tracingEnabled={}))}(d||(d={})),function(e){e.startTracing=e.tracingEnabled.startTracing}(d||(d={})),function(e){!function(e){e[e.Unknown=0]="Unknown",e[e.EndOfFileToken=1]="EndOfFileToken",e[e.SingleLineCommentTrivia=2]="SingleLineCommentTrivia",e[e.MultiLineCommentTrivia=3]="MultiLineCommentTrivia",e[e.NewLineTrivia=4]="NewLineTrivia",e[e.WhitespaceTrivia=5]="WhitespaceTrivia",e[e.ShebangTrivia=6]="ShebangTrivia",e[e.ConflictMarkerTrivia=7]="ConflictMarkerTrivia",e[e.NumericLiteral=8]="NumericLiteral",e[e.BigIntLiteral=9]="BigIntLiteral",e[e.StringLiteral=10]="StringLiteral",e[e.JsxText=11]="JsxText",e[e.JsxTextAllWhiteSpaces=12]="JsxTextAllWhiteSpaces",e[e.RegularExpressionLiteral=13]="RegularExpressionLiteral",e[e.NoSubstitutionTemplateLiteral=14]="NoSubstitutionTemplateLiteral",e[e.TemplateHead=15]="TemplateHead",e[e.TemplateMiddle=16]="TemplateMiddle",e[e.TemplateTail=17]="TemplateTail",e[e.OpenBraceToken=18]="OpenBraceToken",e[e.CloseBraceToken=19]="CloseBraceToken",e[e.OpenParenToken=20]="OpenParenToken",e[e.CloseParenToken=21]="CloseParenToken",e[e.OpenBracketToken=22]="OpenBracketToken",e[e.CloseBracketToken=23]="CloseBracketToken",e[e.DotToken=24]="DotToken",e[e.DotDotDotToken=25]="DotDotDotToken",e[e.SemicolonToken=26]="SemicolonToken",e[e.CommaToken=27]="CommaToken",e[e.QuestionDotToken=28]="QuestionDotToken",e[e.LessThanToken=29]="LessThanToken",e[e.LessThanSlashToken=30]="LessThanSlashToken",e[e.GreaterThanToken=31]="GreaterThanToken",e[e.LessThanEqualsToken=32]="LessThanEqualsToken",e[e.GreaterThanEqualsToken=33]="GreaterThanEqualsToken",e[e.EqualsEqualsToken=34]="EqualsEqualsToken",e[e.ExclamationEqualsToken=35]="ExclamationEqualsToken",e[e.EqualsEqualsEqualsToken=36]="EqualsEqualsEqualsToken",e[e.ExclamationEqualsEqualsToken=37]="ExclamationEqualsEqualsToken",e[e.EqualsGreaterThanToken=38]="EqualsGreaterThanToken",e[e.PlusToken=39]="PlusToken",e[e.MinusToken=40]="MinusToken",e[e.AsteriskToken=41]="AsteriskToken",e[e.AsteriskAsteriskToken=42]="AsteriskAsteriskToken",e[e.SlashToken=43]="SlashToken",e[e.PercentToken=44]="PercentToken",e[e.PlusPlusToken=45]="PlusPlusToken",e[e.MinusMinusToken=46]="MinusMinusToken",e[e.LessThanLessThanToken=47]="LessThanLessThanToken",e[e.GreaterThanGreaterThanToken=48]="GreaterThanGreaterThanToken",e[e.GreaterThanGreaterThanGreaterThanToken=49]="GreaterThanGreaterThanGreaterThanToken",e[e.AmpersandToken=50]="AmpersandToken",e[e.BarToken=51]="BarToken",e[e.CaretToken=52]="CaretToken",e[e.ExclamationToken=53]="ExclamationToken",e[e.TildeToken=54]="TildeToken",e[e.AmpersandAmpersandToken=55]="AmpersandAmpersandToken",e[e.BarBarToken=56]="BarBarToken",e[e.QuestionToken=57]="QuestionToken",e[e.ColonToken=58]="ColonToken",e[e.AtToken=59]="AtToken",e[e.QuestionQuestionToken=60]="QuestionQuestionToken",e[e.BacktickToken=61]="BacktickToken",e[e.EqualsToken=62]="EqualsToken",e[e.PlusEqualsToken=63]="PlusEqualsToken",e[e.MinusEqualsToken=64]="MinusEqualsToken",e[e.AsteriskEqualsToken=65]="AsteriskEqualsToken",e[e.AsteriskAsteriskEqualsToken=66]="AsteriskAsteriskEqualsToken",e[e.SlashEqualsToken=67]="SlashEqualsToken",e[e.PercentEqualsToken=68]="PercentEqualsToken",e[e.LessThanLessThanEqualsToken=69]="LessThanLessThanEqualsToken",e[e.GreaterThanGreaterThanEqualsToken=70]="GreaterThanGreaterThanEqualsToken",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=71]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e.AmpersandEqualsToken=72]="AmpersandEqualsToken",e[e.BarEqualsToken=73]="BarEqualsToken",e[e.BarBarEqualsToken=74]="BarBarEqualsToken",e[e.AmpersandAmpersandEqualsToken=75]="AmpersandAmpersandEqualsToken",e[e.QuestionQuestionEqualsToken=76]="QuestionQuestionEqualsToken",e[e.CaretEqualsToken=77]="CaretEqualsToken",e[e.Identifier=78]="Identifier",e[e.PrivateIdentifier=79]="PrivateIdentifier",e[e.BreakKeyword=80]="BreakKeyword",e[e.CaseKeyword=81]="CaseKeyword",e[e.CatchKeyword=82]="CatchKeyword",e[e.ClassKeyword=83]="ClassKeyword",e[e.StructKeyword=84]="StructKeyword",e[e.ConstKeyword=85]="ConstKeyword",e[e.ContinueKeyword=86]="ContinueKeyword",e[e.DebuggerKeyword=87]="DebuggerKeyword",e[e.DefaultKeyword=88]="DefaultKeyword",e[e.DeleteKeyword=89]="DeleteKeyword",e[e.DoKeyword=90]="DoKeyword",e[e.ElseKeyword=91]="ElseKeyword",e[e.EnumKeyword=92]="EnumKeyword",e[e.ExportKeyword=93]="ExportKeyword",e[e.ExtendsKeyword=94]="ExtendsKeyword",e[e.FalseKeyword=95]="FalseKeyword",e[e.FinallyKeyword=96]="FinallyKeyword",e[e.ForKeyword=97]="ForKeyword",e[e.FunctionKeyword=98]="FunctionKeyword",e[e.IfKeyword=99]="IfKeyword",e[e.ImportKeyword=100]="ImportKeyword",e[e.InKeyword=101]="InKeyword",e[e.InstanceOfKeyword=102]="InstanceOfKeyword",e[e.NewKeyword=103]="NewKeyword",e[e.NullKeyword=104]="NullKeyword",e[e.ReturnKeyword=105]="ReturnKeyword",e[e.SuperKeyword=106]="SuperKeyword",e[e.SwitchKeyword=107]="SwitchKeyword",e[e.ThisKeyword=108]="ThisKeyword",e[e.ThrowKeyword=109]="ThrowKeyword",e[e.TrueKeyword=110]="TrueKeyword",e[e.TryKeyword=111]="TryKeyword",e[e.TypeOfKeyword=112]="TypeOfKeyword",e[e.VarKeyword=113]="VarKeyword",e[e.VoidKeyword=114]="VoidKeyword",e[e.WhileKeyword=115]="WhileKeyword",e[e.WithKeyword=116]="WithKeyword",e[e.ImplementsKeyword=117]="ImplementsKeyword",e[e.InterfaceKeyword=118]="InterfaceKeyword",e[e.LetKeyword=119]="LetKeyword",e[e.PackageKeyword=120]="PackageKeyword",e[e.PrivateKeyword=121]="PrivateKeyword",e[e.ProtectedKeyword=122]="ProtectedKeyword",e[e.PublicKeyword=123]="PublicKeyword",e[e.StaticKeyword=124]="StaticKeyword",e[e.YieldKeyword=125]="YieldKeyword",e[e.AbstractKeyword=126]="AbstractKeyword",e[e.AsKeyword=127]="AsKeyword",e[e.AssertsKeyword=128]="AssertsKeyword",e[e.AnyKeyword=129]="AnyKeyword",e[e.AsyncKeyword=130]="AsyncKeyword",e[e.AwaitKeyword=131]="AwaitKeyword",e[e.BooleanKeyword=132]="BooleanKeyword",e[e.ConstructorKeyword=133]="ConstructorKeyword",e[e.DeclareKeyword=134]="DeclareKeyword",e[e.GetKeyword=135]="GetKeyword",e[e.InferKeyword=136]="InferKeyword",e[e.IntrinsicKeyword=137]="IntrinsicKeyword",e[e.IsKeyword=138]="IsKeyword",e[e.KeyOfKeyword=139]="KeyOfKeyword",e[e.ModuleKeyword=140]="ModuleKeyword",e[e.NamespaceKeyword=141]="NamespaceKeyword",e[e.NeverKeyword=142]="NeverKeyword",e[e.ReadonlyKeyword=143]="ReadonlyKeyword",e[e.RequireKeyword=144]="RequireKeyword",e[e.NumberKeyword=145]="NumberKeyword",e[e.ObjectKeyword=146]="ObjectKeyword",e[e.SetKeyword=147]="SetKeyword",e[e.StringKeyword=148]="StringKeyword",e[e.SymbolKeyword=149]="SymbolKeyword",e[e.TypeKeyword=150]="TypeKeyword",e[e.UndefinedKeyword=151]="UndefinedKeyword",e[e.UniqueKeyword=152]="UniqueKeyword",e[e.UnknownKeyword=153]="UnknownKeyword",e[e.FromKeyword=154]="FromKeyword",e[e.GlobalKeyword=155]="GlobalKeyword",e[e.BigIntKeyword=156]="BigIntKeyword",e[e.OfKeyword=157]="OfKeyword",e[e.QualifiedName=158]="QualifiedName",e[e.ComputedPropertyName=159]="ComputedPropertyName",e[e.TypeParameter=160]="TypeParameter",e[e.Parameter=161]="Parameter",e[e.Decorator=162]="Decorator",e[e.PropertySignature=163]="PropertySignature",e[e.PropertyDeclaration=164]="PropertyDeclaration",e[e.MethodSignature=165]="MethodSignature",e[e.MethodDeclaration=166]="MethodDeclaration",e[e.Constructor=167]="Constructor",e[e.GetAccessor=168]="GetAccessor",e[e.SetAccessor=169]="SetAccessor",e[e.CallSignature=170]="CallSignature",e[e.ConstructSignature=171]="ConstructSignature",e[e.IndexSignature=172]="IndexSignature",e[e.TypePredicate=173]="TypePredicate",e[e.TypeReference=174]="TypeReference",e[e.FunctionType=175]="FunctionType",e[e.ConstructorType=176]="ConstructorType",e[e.TypeQuery=177]="TypeQuery",e[e.TypeLiteral=178]="TypeLiteral",e[e.ArrayType=179]="ArrayType",e[e.TupleType=180]="TupleType",e[e.OptionalType=181]="OptionalType",e[e.RestType=182]="RestType",e[e.UnionType=183]="UnionType",e[e.IntersectionType=184]="IntersectionType",e[e.ConditionalType=185]="ConditionalType",e[e.InferType=186]="InferType",e[e.ParenthesizedType=187]="ParenthesizedType",e[e.ThisType=188]="ThisType",e[e.TypeOperator=189]="TypeOperator",e[e.IndexedAccessType=190]="IndexedAccessType",e[e.MappedType=191]="MappedType",e[e.LiteralType=192]="LiteralType",e[e.NamedTupleMember=193]="NamedTupleMember",e[e.TemplateLiteralType=194]="TemplateLiteralType",e[e.TemplateLiteralTypeSpan=195]="TemplateLiteralTypeSpan",e[e.ImportType=196]="ImportType",e[e.ObjectBindingPattern=197]="ObjectBindingPattern",e[e.ArrayBindingPattern=198]="ArrayBindingPattern",e[e.BindingElement=199]="BindingElement",e[e.ArrayLiteralExpression=200]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=201]="ObjectLiteralExpression",e[e.PropertyAccessExpression=202]="PropertyAccessExpression",e[e.ElementAccessExpression=203]="ElementAccessExpression",e[e.CallExpression=204]="CallExpression",e[e.NewExpression=205]="NewExpression",e[e.TaggedTemplateExpression=206]="TaggedTemplateExpression",e[e.TypeAssertionExpression=207]="TypeAssertionExpression",e[e.ParenthesizedExpression=208]="ParenthesizedExpression",e[e.FunctionExpression=209]="FunctionExpression",e[e.ArrowFunction=210]="ArrowFunction",e[e.EtsComponentExpression=211]="EtsComponentExpression",e[e.DeleteExpression=212]="DeleteExpression",e[e.TypeOfExpression=213]="TypeOfExpression",e[e.VoidExpression=214]="VoidExpression",e[e.AwaitExpression=215]="AwaitExpression",e[e.PrefixUnaryExpression=216]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=217]="PostfixUnaryExpression",e[e.BinaryExpression=218]="BinaryExpression",e[e.ConditionalExpression=219]="ConditionalExpression",e[e.TemplateExpression=220]="TemplateExpression",e[e.YieldExpression=221]="YieldExpression",e[e.SpreadElement=222]="SpreadElement",e[e.ClassExpression=223]="ClassExpression",e[e.OmittedExpression=224]="OmittedExpression",e[e.ExpressionWithTypeArguments=225]="ExpressionWithTypeArguments",e[e.AsExpression=226]="AsExpression",e[e.NonNullExpression=227]="NonNullExpression",e[e.MetaProperty=228]="MetaProperty",e[e.SyntheticExpression=229]="SyntheticExpression",e[e.TemplateSpan=230]="TemplateSpan",e[e.SemicolonClassElement=231]="SemicolonClassElement",e[e.Block=232]="Block",e[e.EmptyStatement=233]="EmptyStatement",e[e.VariableStatement=234]="VariableStatement",e[e.ExpressionStatement=235]="ExpressionStatement",e[e.IfStatement=236]="IfStatement",e[e.DoStatement=237]="DoStatement",e[e.WhileStatement=238]="WhileStatement",e[e.ForStatement=239]="ForStatement",e[e.ForInStatement=240]="ForInStatement",e[e.ForOfStatement=241]="ForOfStatement",e[e.ContinueStatement=242]="ContinueStatement",e[e.BreakStatement=243]="BreakStatement",e[e.ReturnStatement=244]="ReturnStatement",e[e.WithStatement=245]="WithStatement",e[e.SwitchStatement=246]="SwitchStatement",e[e.LabeledStatement=247]="LabeledStatement",e[e.ThrowStatement=248]="ThrowStatement",e[e.TryStatement=249]="TryStatement",e[e.DebuggerStatement=250]="DebuggerStatement",e[e.VariableDeclaration=251]="VariableDeclaration",e[e.VariableDeclarationList=252]="VariableDeclarationList",e[e.FunctionDeclaration=253]="FunctionDeclaration",e[e.ClassDeclaration=254]="ClassDeclaration",e[e.StructDeclaration=255]="StructDeclaration",e[e.InterfaceDeclaration=256]="InterfaceDeclaration",e[e.TypeAliasDeclaration=257]="TypeAliasDeclaration",e[e.EnumDeclaration=258]="EnumDeclaration",e[e.ModuleDeclaration=259]="ModuleDeclaration",e[e.ModuleBlock=260]="ModuleBlock",e[e.CaseBlock=261]="CaseBlock",e[e.NamespaceExportDeclaration=262]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=263]="ImportEqualsDeclaration",e[e.ImportDeclaration=264]="ImportDeclaration",e[e.ImportClause=265]="ImportClause",e[e.NamespaceImport=266]="NamespaceImport",e[e.NamedImports=267]="NamedImports",e[e.ImportSpecifier=268]="ImportSpecifier",e[e.ExportAssignment=269]="ExportAssignment",e[e.ExportDeclaration=270]="ExportDeclaration",e[e.NamedExports=271]="NamedExports",e[e.NamespaceExport=272]="NamespaceExport",e[e.ExportSpecifier=273]="ExportSpecifier",e[e.MissingDeclaration=274]="MissingDeclaration",e[e.ExternalModuleReference=275]="ExternalModuleReference",e[e.JsxElement=276]="JsxElement",e[e.JsxSelfClosingElement=277]="JsxSelfClosingElement",e[e.JsxOpeningElement=278]="JsxOpeningElement",e[e.JsxClosingElement=279]="JsxClosingElement",e[e.JsxFragment=280]="JsxFragment",e[e.JsxOpeningFragment=281]="JsxOpeningFragment",e[e.JsxClosingFragment=282]="JsxClosingFragment",e[e.JsxAttribute=283]="JsxAttribute",e[e.JsxAttributes=284]="JsxAttributes",e[e.JsxSpreadAttribute=285]="JsxSpreadAttribute",e[e.JsxExpression=286]="JsxExpression",e[e.CaseClause=287]="CaseClause",e[e.DefaultClause=288]="DefaultClause",e[e.HeritageClause=289]="HeritageClause",e[e.CatchClause=290]="CatchClause",e[e.PropertyAssignment=291]="PropertyAssignment",e[e.ShorthandPropertyAssignment=292]="ShorthandPropertyAssignment",e[e.SpreadAssignment=293]="SpreadAssignment",e[e.EnumMember=294]="EnumMember",e[e.UnparsedPrologue=295]="UnparsedPrologue",e[e.UnparsedPrepend=296]="UnparsedPrepend",e[e.UnparsedText=297]="UnparsedText",e[e.UnparsedInternalText=298]="UnparsedInternalText",e[e.UnparsedSyntheticReference=299]="UnparsedSyntheticReference",e[e.SourceFile=300]="SourceFile",e[e.Bundle=301]="Bundle",e[e.UnparsedSource=302]="UnparsedSource",e[e.InputFiles=303]="InputFiles",e[e.JSDocTypeExpression=304]="JSDocTypeExpression",e[e.JSDocNameReference=305]="JSDocNameReference",e[e.JSDocAllType=306]="JSDocAllType",e[e.JSDocUnknownType=307]="JSDocUnknownType",e[e.JSDocNullableType=308]="JSDocNullableType",e[e.JSDocNonNullableType=309]="JSDocNonNullableType",e[e.JSDocOptionalType=310]="JSDocOptionalType",e[e.JSDocFunctionType=311]="JSDocFunctionType",e[e.JSDocVariadicType=312]="JSDocVariadicType",e[e.JSDocNamepathType=313]="JSDocNamepathType",e[e.JSDocComment=314]="JSDocComment",e[e.JSDocTypeLiteral=315]="JSDocTypeLiteral",e[e.JSDocSignature=316]="JSDocSignature",e[e.JSDocTag=317]="JSDocTag",e[e.JSDocAugmentsTag=318]="JSDocAugmentsTag",e[e.JSDocImplementsTag=319]="JSDocImplementsTag",e[e.JSDocAuthorTag=320]="JSDocAuthorTag",e[e.JSDocDeprecatedTag=321]="JSDocDeprecatedTag",e[e.JSDocClassTag=322]="JSDocClassTag",e[e.JSDocPublicTag=323]="JSDocPublicTag",e[e.JSDocPrivateTag=324]="JSDocPrivateTag",e[e.JSDocProtectedTag=325]="JSDocProtectedTag",e[e.JSDocReadonlyTag=326]="JSDocReadonlyTag",e[e.JSDocCallbackTag=327]="JSDocCallbackTag",e[e.JSDocEnumTag=328]="JSDocEnumTag",e[e.JSDocParameterTag=329]="JSDocParameterTag",e[e.JSDocReturnTag=330]="JSDocReturnTag",e[e.JSDocThisTag=331]="JSDocThisTag",e[e.JSDocTypeTag=332]="JSDocTypeTag",e[e.JSDocTemplateTag=333]="JSDocTemplateTag",e[e.JSDocTypedefTag=334]="JSDocTypedefTag",e[e.JSDocSeeTag=335]="JSDocSeeTag",e[e.JSDocPropertyTag=336]="JSDocPropertyTag",e[e.SyntaxList=337]="SyntaxList",e[e.NotEmittedStatement=338]="NotEmittedStatement",e[e.PartiallyEmittedExpression=339]="PartiallyEmittedExpression",e[e.CommaListExpression=340]="CommaListExpression",e[e.MergeDeclarationMarker=341]="MergeDeclarationMarker",e[e.EndOfDeclarationMarker=342]="EndOfDeclarationMarker",e[e.SyntheticReferenceExpression=343]="SyntheticReferenceExpression",e[e.Count=344]="Count",e[e.FirstAssignment=62]="FirstAssignment",e[e.LastAssignment=77]="LastAssignment",e[e.FirstCompoundAssignment=63]="FirstCompoundAssignment",e[e.LastCompoundAssignment=77]="LastCompoundAssignment",e[e.FirstReservedWord=80]="FirstReservedWord",e[e.LastReservedWord=116]="LastReservedWord",e[e.FirstKeyword=80]="FirstKeyword",e[e.LastKeyword=157]="LastKeyword",e[e.FirstFutureReservedWord=117]="FirstFutureReservedWord",e[e.LastFutureReservedWord=125]="LastFutureReservedWord",e[e.FirstTypeNode=173]="FirstTypeNode",e[e.LastTypeNode=196]="LastTypeNode",e[e.FirstPunctuation=18]="FirstPunctuation",e[e.LastPunctuation=77]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=157]="LastToken",e[e.FirstTriviaToken=2]="FirstTriviaToken",e[e.LastTriviaToken=7]="LastTriviaToken",e[e.FirstLiteralToken=8]="FirstLiteralToken",e[e.LastLiteralToken=14]="LastLiteralToken",e[e.FirstTemplateToken=14]="FirstTemplateToken",e[e.LastTemplateToken=17]="LastTemplateToken",e[e.FirstBinaryOperator=29]="FirstBinaryOperator",e[e.LastBinaryOperator=77]="LastBinaryOperator",e[e.FirstStatement=234]="FirstStatement",e[e.LastStatement=250]="LastStatement",e[e.FirstNode=158]="FirstNode",e[e.FirstJSDocNode=304]="FirstJSDocNode",e[e.LastJSDocNode=336]="LastJSDocNode",e[e.FirstJSDocTagNode=317]="FirstJSDocTagNode",e[e.LastJSDocTagNode=336]="LastJSDocTagNode",e[e.FirstContextualKeyword=126]="FirstContextualKeyword",e[e.LastContextualKeyword=157]="LastContextualKeyword"}(e.SyntaxKind||(e.SyntaxKind={})),function(e){e[e.None=0]="None",e[e.Let=1]="Let",e[e.Const=2]="Const",e[e.NestedNamespace=4]="NestedNamespace",e[e.Synthesized=8]="Synthesized",e[e.Namespace=16]="Namespace",e[e.OptionalChain=32]="OptionalChain",e[e.ExportContext=64]="ExportContext",e[e.ContainsThis=128]="ContainsThis",e[e.HasImplicitReturn=256]="HasImplicitReturn",e[e.HasExplicitReturn=512]="HasExplicitReturn",e[e.GlobalAugmentation=1024]="GlobalAugmentation",e[e.HasAsyncFunctions=2048]="HasAsyncFunctions",e[e.DisallowInContext=4096]="DisallowInContext",e[e.YieldContext=8192]="YieldContext",e[e.DecoratorContext=16384]="DecoratorContext",e[e.AwaitContext=32768]="AwaitContext",e[e.ThisNodeHasError=65536]="ThisNodeHasError",e[e.JavaScriptFile=131072]="JavaScriptFile",e[e.ThisNodeOrAnySubNodesHasError=262144]="ThisNodeOrAnySubNodesHasError",e[e.HasAggregatedChildData=524288]="HasAggregatedChildData",e[e.PossiblyContainsDynamicImport=1048576]="PossiblyContainsDynamicImport",e[e.PossiblyContainsImportMeta=2097152]="PossiblyContainsImportMeta",e[e.JSDoc=4194304]="JSDoc",e[e.Ambient=8388608]="Ambient",e[e.InWithStatement=16777216]="InWithStatement",e[e.JsonFile=33554432]="JsonFile",e[e.TypeCached=67108864]="TypeCached",e[e.Deprecated=134217728]="Deprecated",e[e.EtsContext=1073741824]="EtsContext",e[e.BlockScoped=3]="BlockScoped",e[e.ReachabilityCheckFlags=768]="ReachabilityCheckFlags",e[e.ReachabilityAndEmitFlags=2816]="ReachabilityAndEmitFlags",e[e.ContextFlags=1099100160]="ContextFlags",e[e.TypeExcludesFlags=40960]="TypeExcludesFlags",e[e.PermanentlySetIncrementalFlags=3145728]="PermanentlySetIncrementalFlags"}(e.NodeFlags||(e.NodeFlags={})),function(e){e[e.None=0]="None",e[e.StructContext=2]="StructContext",e[e.EtsExtendComponentsContext=4]="EtsExtendComponentsContext",e[e.EtsStylesComponentsContext=8]="EtsStylesComponentsContext",e[e.EtsBuildContext=16]="EtsBuildContext",e[e.EtsBuilderContext=32]="EtsBuilderContext",e[e.EtsStateStylesContext=64]="EtsStateStylesContext",e[e.EtsComponentsContext=128]="EtsComponentsContext",e[e.EtsNewExpressionContext=256]="EtsNewExpressionContext"}(e.EtsFlags||(e.EtsFlags={})),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.HasComputedFlags=536870912]="HasComputedFlags",e[e.AccessibilityModifier=28]="AccessibilityModifier",e[e.ParameterPropertyModifier=92]="ParameterPropertyModifier",e[e.NonPublicAccessibilityModifier=24]="NonPublicAccessibilityModifier",e[e.TypeScriptModifier=2270]="TypeScriptModifier",e[e.ExportDefault=513]="ExportDefault",e[e.All=11263]="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 t,r=function(){};e.OperationCanceledException=r,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.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.AllowQualifedNameInPlaceOfIdentifier=65536]="AllowQualifedNameInPlaceOfIdentifier",e[e.AllowAnonymousIdentifier=131072]="AllowAnonymousIdentifier",e[e.AllowEmptyUnionOrIntersection=262144]="AllowEmptyUnionOrIntersection",e[e.AllowEmptyTuple=524288]="AllowEmptyTuple",e[e.AllowUniqueESSymbolType=1048576]="AllowUniqueESSymbolType",e[e.AllowEmptyIndexInfoType=2097152]="AllowEmptyIndexInfoType",e[e.AllowNodeModulesRelativePaths=67108864]="AllowNodeModulesRelativePaths",e[e.DoNotIncludeSymbolChain=134217728]="DoNotIncludeSymbolChain",e[e.IgnoreErrors=70221824]="IgnoreErrors",e[e.InObjectTypeLiteral=4194304]="InObjectTypeLiteral",e[e.InTypeAlias=8388608]="InTypeAlias",e[e.InInitialEntityName=16777216]="InInitialEntityName",e[e.InReverseMappedType=33554432]="InReverseMappedType"}(e.NodeBuilderFlags||(e.NodeBuilderFlags={})),function(e){e[e.None=0]="None",e[e.NoTruncation=1]="NoTruncation",e[e.WriteArrayAsGenericType=2]="WriteArrayAsGenericType",e[e.UseStructuralFallback=8]="UseStructuralFallback",e[e.WriteTypeArgumentsOfSignature=32]="WriteTypeArgumentsOfSignature",e[e.UseFullyQualifiedType=64]="UseFullyQualifiedType",e[e.SuppressAnyReturnType=256]="SuppressAnyReturnType",e[e.MultilineObjectLiterals=1024]="MultilineObjectLiterals",e[e.WriteClassExpressionAsTypeLiteral=2048]="WriteClassExpressionAsTypeLiteral",e[e.UseTypeOfFunction=4096]="UseTypeOfFunction",e[e.OmitParameterModifiers=8192]="OmitParameterModifiers",e[e.UseAliasDefinedOutsideCurrentScope=16384]="UseAliasDefinedOutsideCurrentScope",e[e.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.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.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.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.Substructure=469237760]="Substructure",e[e.Narrowable=536624127]="Narrowable",e[e.NotPrimitiveUnion=468598819]="NotPrimitiveUnion",e[e.IncludesMask=205258751]="IncludesMask",e[e.IncludesStructuredOrInstantiable=262144]="IncludesStructuredOrInstantiable",e[e.IncludesNonWideningType=4194304]="IncludesNonWideningType",e[e.IncludesWildcard=8388608]="IncludesWildcard",e[e.IncludesEmptyObject=16777216]="IncludesEmptyObject"}(e.TypeFlags||(e.TypeFlags={})),function(e){e[e.Class=1]="Class",e[e.Interface=2]="Interface",e[e.Reference=4]="Reference",e[e.Tuple=8]="Tuple",e[e.Anonymous=16]="Anonymous",e[e.Mapped=32]="Mapped",e[e.Instantiated=64]="Instantiated",e[e.ObjectLiteral=128]="ObjectLiteral",e[e.EvolvingArray=256]="EvolvingArray",e[e.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",e[e.ContainsSpread=1024]="ContainsSpread",e[e.ReverseMapped=2048]="ReverseMapped",e[e.JsxAttributes=4096]="JsxAttributes",e[e.MarkerType=8192]="MarkerType",e[e.JSLiteral=16384]="JSLiteral",e[e.FreshLiteral=32768]="FreshLiteral",e[e.ArrayLiteral=65536]="ArrayLiteral",e[e.ObjectRestType=131072]="ObjectRestType",e[e.PrimitiveUnion=262144]="PrimitiveUnion",e[e.ContainsWideningType=524288]="ContainsWideningType",e[e.ContainsObjectOrArrayLiteral=1048576]="ContainsObjectOrArrayLiteral",e[e.NonInferrableType=2097152]="NonInferrableType",e[e.IsGenericObjectTypeComputed=4194304]="IsGenericObjectTypeComputed",e[e.IsGenericObjectType=8388608]="IsGenericObjectType",e[e.IsGenericIndexTypeComputed=16777216]="IsGenericIndexTypeComputed",e[e.IsGenericIndexType=33554432]="IsGenericIndexType",e[e.CouldContainTypeVariablesComputed=67108864]="CouldContainTypeVariablesComputed",e[e.CouldContainTypeVariables=134217728]="CouldContainTypeVariables",e[e.ContainsIntersections=268435456]="ContainsIntersections",e[e.IsNeverIntersectionComputed=268435456]="IsNeverIntersectionComputed",e[e.IsNeverIntersection=536870912]="IsNeverIntersection",e[e.IsClassInstanceClone=1073741824]="IsClassInstanceClone",e[e.ClassOrInterface=3]="ClassOrInterface",e[e.RequiresWidening=1572864]="RequiresWidening",e[e.PropagatingFlags=3670016]="PropagatingFlags",e[e.ObjectTypeKindMask=2367]="ObjectTypeKindMask"}(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.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.HomomorphicMappedType=4]="HomomorphicMappedType",e[e.PartialHomomorphicMappedType=8]="PartialHomomorphicMappedType",e[e.MappedTypeConstraint=16]="MappedTypeConstraint",e[e.ContravariantConditional=32]="ContravariantConditional",e[e.ReturnType=64]="ReturnType",e[e.LiteralKeyof=128]="LiteralKeyof",e[e.NoConstraints=256]="NoConstraints",e[e.AlwaysStrict=512]="AlwaysStrict",e[e.MaxValue=1024]="MaxValue",e[e.PriorityImpliesCombination=208]="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"}(t=e.DiagnosticCategory||(e.DiagnosticCategory={})),e.diagnosticCategoryName=function(e,r){void 0===r&&(r=!0);var n=t[e.category];return r?n.toLowerCase():n},function(e){e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs"}(e.ModuleResolutionKind||(e.ModuleResolutionKind={})),function(e){e[e.FixedPollingInterval=0]="FixedPollingInterval",e[e.PriorityPollingInterval=1]="PriorityPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling",e[e.UseFsEvents=3]="UseFsEvents",e[e.UseFsEventsOnParentDirectory=4]="UseFsEventsOnParentDirectory"}(e.WatchFileKind||(e.WatchFileKind={})),function(e){e[e.UseFsEvents=0]="UseFsEvents",e[e.FixedPollingInterval=1]="FixedPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling"}(e.WatchDirectoryKind||(e.WatchDirectoryKind={})),function(e){e[e.FixedInterval=0]="FixedInterval",e[e.PriorityInterval=1]="PriorityInterval",e[e.DynamicPriority=2]="DynamicPriority"}(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.ESNext=99]="ESNext"}(e.ModuleKind||(e.ModuleKind={})),function(e){e[e.None=0]="None",e[e.Preserve=1]="Preserve",e[e.React=2]="React",e[e.ReactNative=3]="ReactNative",e[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[e.ETS=8]="ETS"}(e.ScriptKind||(e.ScriptKind={})),function(e){e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest"}(e.ScriptTarget||(e.ScriptTarget={})),function(e){e[e.Standard=0]="Standard",e[e.JSX=1]="JSX"}(e.LanguageVariant||(e.LanguageVariant={})),function(e){e[e.None=0]="None",e[e.Recursive=1]="Recursive"}(e.WatchDirectoryFlags||(e.WatchDirectoryFlags={})),function(e){e[e.nullCharacter=0]="nullCharacter",e[e.maxAsciiCharacter=127]="maxAsciiCharacter",e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.lineSeparator=8232]="lineSeparator",e[e.paragraphSeparator=8233]="paragraphSeparator",e[e.nextLine=133]="nextLine",e[e.space=32]="space",e[e.nonBreakingSpace=160]="nonBreakingSpace",e[e.enQuad=8192]="enQuad",e[e.emQuad=8193]="emQuad",e[e.enSpace=8194]="enSpace",e[e.emSpace=8195]="emSpace",e[e.threePerEmSpace=8196]="threePerEmSpace",e[e.fourPerEmSpace=8197]="fourPerEmSpace",e[e.sixPerEmSpace=8198]="sixPerEmSpace",e[e.figureSpace=8199]="figureSpace",e[e.punctuationSpace=8200]="punctuationSpace",e[e.thinSpace=8201]="thinSpace",e[e.hairSpace=8202]="hairSpace",e[e.zeroWidthSpace=8203]="zeroWidthSpace",e[e.narrowNoBreakSpace=8239]="narrowNoBreakSpace",e[e.ideographicSpace=12288]="ideographicSpace",e[e.mathematicalSpace=8287]="mathematicalSpace",e[e.ogham=5760]="ogham",e[e._=95]="_",e[e.$=36]="$",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.ampersand=38]="ampersand",e[e.asterisk=42]="asterisk",e[e.at=64]="at",e[e.backslash=92]="backslash",e[e.backtick=96]="backtick",e[e.bar=124]="bar",e[e.caret=94]="caret",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.closeParen=41]="closeParen",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.equals=61]="equals",e[e.exclamation=33]="exclamation",e[e.greaterThan=62]="greaterThan",e[e.hash=35]="hash",e[e.lessThan=60]="lessThan",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.openParen=40]="openParen",e[e.percent=37]="percent",e[e.plus=43]="plus",e[e.question=63]="question",e[e.semicolon=59]="semicolon",e[e.singleQuote=39]="singleQuote",e[e.slash=47]="slash",e[e.tilde=126]="tilde",e[e.backspace=8]="backspace",e[e.formFeed=12]="formFeed",e[e.byteOrderMark=65279]="byteOrderMark",e[e.tab=9]="tab",e[e.verticalTab=11]="verticalTab"}(e.CharacterCodes||(e.CharacterCodes={})),function(e){e.Ts=".ts",e.Tsx=".tsx",e.Dts=".d.ts",e.Js=".js",e.Jsx=".jsx",e.Json=".json",e.TsBuildInfo=".tsbuildinfo",e.Ets=".ets",e.Dets=".d.ets"}(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.ContainsES2020=8]="ContainsES2020",e[e.ContainsES2019=16]="ContainsES2019",e[e.ContainsES2018=32]="ContainsES2018",e[e.ContainsES2017=64]="ContainsES2017",e[e.ContainsES2016=128]="ContainsES2016",e[e.ContainsES2015=256]="ContainsES2015",e[e.ContainsGenerator=512]="ContainsGenerator",e[e.ContainsDestructuringAssignment=1024]="ContainsDestructuringAssignment",e[e.ContainsTypeScriptClassSyntax=2048]="ContainsTypeScriptClassSyntax",e[e.ContainsLexicalThis=4096]="ContainsLexicalThis",e[e.ContainsRestOrSpread=8192]="ContainsRestOrSpread",e[e.ContainsObjectRestOrSpread=16384]="ContainsObjectRestOrSpread",e[e.ContainsComputedPropertyName=32768]="ContainsComputedPropertyName",e[e.ContainsBlockScopedBinding=65536]="ContainsBlockScopedBinding",e[e.ContainsBindingPattern=131072]="ContainsBindingPattern",e[e.ContainsYield=262144]="ContainsYield",e[e.ContainsAwait=524288]="ContainsAwait",e[e.ContainsHoistedDeclarationOrCompletion=1048576]="ContainsHoistedDeclarationOrCompletion",e[e.ContainsDynamicImport=2097152]="ContainsDynamicImport",e[e.ContainsClassFields=4194304]="ContainsClassFields",e[e.ContainsPossibleTopLevelAwait=8388608]="ContainsPossibleTopLevelAwait",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AssertTypeScript=1]="AssertTypeScript",e[e.AssertJsx=2]="AssertJsx",e[e.AssertESNext=4]="AssertESNext",e[e.AssertES2020=8]="AssertES2020",e[e.AssertES2019=16]="AssertES2019",e[e.AssertES2018=32]="AssertES2018",e[e.AssertES2017=64]="AssertES2017",e[e.AssertES2016=128]="AssertES2016",e[e.AssertES2015=256]="AssertES2015",e[e.AssertGenerator=512]="AssertGenerator",e[e.AssertDestructuringAssignment=1024]="AssertDestructuringAssignment",e[e.OuterExpressionExcludes=536870912]="OuterExpressionExcludes",e[e.PropertyAccessExcludes=536870912]="PropertyAccessExcludes",e[e.NodeExcludes=536870912]="NodeExcludes",e[e.ArrowFunctionExcludes=547309568]="ArrowFunctionExcludes",e[e.FunctionExcludes=547313664]="FunctionExcludes",e[e.ConstructorExcludes=547311616]="ConstructorExcludes",e[e.MethodOrAccessorExcludes=538923008]="MethodOrAccessorExcludes",e[e.PropertyExcludes=536875008]="PropertyExcludes",e[e.ClassExcludes=536905728]="ClassExcludes",e[e.ModuleExcludes=546379776]="ModuleExcludes",e[e.TypeExcludes=-2]="TypeExcludes",e[e.ObjectLiteralExcludes=536922112]="ObjectLiteralExcludes",e[e.ArrayLiteralOrCallOrNewExcludes=536879104]="ArrayLiteralOrCallOrNewExcludes",e[e.VariableDeclarationListExcludes=537018368]="VariableDeclarationListExcludes",e[e.ParameterExcludes=536870912]="ParameterExcludes",e[e.CatchClauseExcludes=536887296]="CatchClauseExcludes",e[e.BindingPatternExcludes=536879104]="BindingPatternExcludes",e[e.PropertyNamePropagatingFlags=4096]="PropertyNamePropagatingFlags"}(e.TransformFlags||(e.TransformFlags={})),function(e){e[e.None=0]="None",e[e.SingleLine=1]="SingleLine",e[e.AdviseOnEmitNode=2]="AdviseOnEmitNode",e[e.NoSubstitution=4]="NoSubstitution",e[e.CapturesThis=8]="CapturesThis",e[e.NoLeadingSourceMap=16]="NoLeadingSourceMap",e[e.NoTrailingSourceMap=32]="NoTrailingSourceMap",e[e.NoSourceMap=48]="NoSourceMap",e[e.NoNestedSourceMaps=64]="NoNestedSourceMaps",e[e.NoTokenLeadingSourceMaps=128]="NoTokenLeadingSourceMaps",e[e.NoTokenTrailingSourceMaps=256]="NoTokenTrailingSourceMaps",e[e.NoTokenSourceMaps=384]="NoTokenSourceMaps",e[e.NoLeadingComments=512]="NoLeadingComments",e[e.NoTrailingComments=1024]="NoTrailingComments",e[e.NoComments=1536]="NoComments",e[e.NoNestedComments=2048]="NoNestedComments",e[e.HelperName=4096]="HelperName",e[e.ExportName=8192]="ExportName",e[e.LocalName=16384]="LocalName",e[e.InternalName=32768]="InternalName",e[e.Indented=65536]="Indented",e[e.NoIndentation=131072]="NoIndentation",e[e.AsyncFunctionBody=262144]="AsyncFunctionBody",e[e.ReuseTempVariableScope=524288]="ReuseTempVariableScope",e[e.CustomPrologue=1048576]="CustomPrologue",e[e.NoHoisting=2097152]="NoHoisting",e[e.HasEndOfDeclarationMarker=4194304]="HasEndOfDeclarationMarker",e[e.Iterator=8388608]="Iterator",e[e.NoAsciiEscaping=16777216]="NoAsciiEscaping",e[e.TypeScriptClassWrapper=33554432]="TypeScriptClassWrapper",e[e.NeverApplyImportHelper=67108864]="NeverApplyImportHelper",e[e.IgnoreSourceNewlines=134217728]="IgnoreSourceNewlines"}(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.CreateBinding=2097152]="CreateBinding",e[e.FirstEmitHelper=1]="FirstEmitHelper",e[e.LastEmitHelper=2097152]="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.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.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}}}(d||(d={})),function(e){e.directorySeparator="/",e.altDirectorySeparator="\\";var t="://",r=/\\/g;function n(e){return 47===e||92===e}function a(e){return d(e)>0}function o(e){return 0!==d(e)}function s(e){return/^\.\.?($|[\\/])/.test(e)}function c(t,r){return t.length>r.length&&e.endsWith(t,r)}function l(e){return e.length>0&&n(e.charCodeAt(e.length-1))}function u(e){return e>=97&&e<=122||e>=65&&e<=90}function d(r){if(!r)return 0;var n=r.charCodeAt(0);if(47===n||92===n){if(r.charCodeAt(1)!==n)return 1;var i=r.indexOf(47===n?e.directorySeparator:e.altDirectorySeparator,2);return i<0?r.length:i+1}if(u(n)&&58===r.charCodeAt(1)){var a=r.charCodeAt(2);if(47===a||92===a)return 3;if(2===r.length)return 2}var o=r.indexOf(t);if(-1!==o){var s=o+t.length,c=r.indexOf(e.directorySeparator,s);if(-1!==c){var l=r.slice(0,o),d=r.slice(s,c);if("file"===l&&(""===d||"localhost"===d)&&u(r.charCodeAt(c+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}(r,c+2);if(-1!==p){if(47===r.charCodeAt(p))return~(p+1);if(p===r.length)return~p}}return~(c+1)}return~r.length}return 0}function p(e){var t=d(e);return t<0?~t:t}function f(t){var r=p(t=v(t));return r===t.length?t:(t=w(t)).slice(0,Math.max(r,t.lastIndexOf(e.directorySeparator)))}function m(t,r,n){if(p(t=v(t))===t.length)return"";var i=(t=w(t)).slice(Math.max(p(t),t.lastIndexOf(e.directorySeparator)+1)),a=void 0!==r&&void 0!==n?_(i,r,n):void 0;return a?i.slice(0,i.length-a.length):i}function g(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 _(t,r,n){if(r)return function(e,t,r){if("string"==typeof t)return g(e,t,r)||"";for(var n=0,i=t;n<i.length;n++){var a=g(e,i[n],r);if(a)return a}return""}(w(t),r,n?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive);var i=m(t),a=i.lastIndexOf(".");return a>=0?i.substring(a):""}function h(t,r){return void 0===r&&(r=""),function(t,r){var n=t.substring(0,r),a=t.substring(r).split(e.directorySeparator);return a.length&&!e.lastOrUndefined(a)&&a.pop(),i([n],a)}(t=k(r,t),p(t))}function y(t){return 0===t.length?"":(t[0]&&T(t[0]))+t.slice(1).join(e.directorySeparator)}function v(t){return t.replace(r,e.directorySeparator)}function b(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 k(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];e&&(e=v(e));for(var n=0,i=t;n<i.length;n++){var a=i[n];a&&(a=v(a),e=e&&0===p(a)?T(e)+a:a)}return e}function x(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];return D(e.some(r)?k.apply(void 0,i([t],r)):v(t))}function E(e,t){return b(h(e,t))}function S(e,t){return y(E(e,t))}function D(e){var t=y(b(h(e=v(e))));return t&&l(e)?T(t):t}function w(e){return l(e)?e.substr(0,e.length-1):e}function T(t){return l(t)?t:t+e.directorySeparator}function C(e){return o(e)||s(e)?e:"./"+e}e.isAnyDirectorySeparator=n,e.isUrl=function(e){return d(e)<0},e.isRootedDiskPath=a,e.isDiskPathRoot=function(e){var t=d(e);return t>0&&t===e.length},e.pathIsAbsolute=o,e.pathIsRelative=s,e.pathIsBareSpecifier=function(e){return!o(e)&&!s(e)},e.hasExtension=function(t){return e.stringContains(m(t),".")},e.fileExtensionIs=c,e.fileExtensionIsOneOf=function(e,t){for(var r=0,n=t;r<n.length;r++){if(c(e,n[r]))return!0}return!1},e.hasTrailingDirectorySeparator=l,e.getRootLength=p,e.getDirectoryPath=f,e.getBaseFileName=m,e.getAnyExtensionFromPath=_,e.getPathComponents=h,e.getPathFromPathComponents=y,e.normalizeSlashes=v,e.reducePathComponents=b,e.combinePaths=k,e.resolvePath=x,e.getNormalizedPathComponents=E,e.getNormalizedAbsolutePath=S,e.normalizePath=D,e.getNormalizedAbsolutePathWithoutRoot=function(t,r){return function(t){return 0===t.length?"":t.slice(1).join(e.directorySeparator)}(E(t,r))},e.toPath=function(e,t,r){return r(a(e)?D(e):S(e,t))},e.normalizePathAndParts=function(t){var r=b(h(t=v(t))),n=r[0],i=r.slice(1);if(i.length){var a=n+i.join(e.directorySeparator);return{path:l(t)?T(a):a,parts:i}}return{path:n,parts:i}},e.removeTrailingDirectorySeparator=w,e.ensureTrailingDirectorySeparator=T,e.ensurePathIsNonModuleName=C,e.changeAnyExtension=function(t,r,n,i){var a=void 0!==n&&void 0!==i?_(t,n,i):_(t);return a?t.slice(0,t.length-a.length)+(e.startsWith(r,".")?r:"."+r):t};var A=/(^|\/)\.{0,2}($|\/)/;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 l=b(h(t)),u=b(h(r)),d=Math.min(l.length,u.length),f=1;f<d;f++){var m=n(l[f],u[f]);if(0!==m)return m}return e.compareValues(l.length,u.length)}function P(t,r,n,a){var o,s=b(h(t)),c=b(h(r));for(o=0;o<s.length&&o<c.length;o++){var l=a(s[o]),u=a(c[o]);if(!(0===o?e.equateStringsCaseInsensitive:n)(l,u))break}if(0===o)return c;for(var d=c.slice(o),p=[];o<s.length;o++)p.push("..");return i(i([""],p),d)}function I(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 y(P(t,r,"boolean"==typeof n&&n?e.equateStringsCaseInsensitive:e.equateStringsCaseSensitive,i))}function F(t,r,n,i,o){var s=P(x(n,t),x(n,r),e.equateStringsCaseSensitive,i),c=s[0];if(o&&a(c)){var l=c.charAt(0)===e.directorySeparator?"file://":"file:///";s[0]=l+c}return y(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=k(n,t),r=k(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=k(n,t),r=k(n,r)):"boolean"==typeof n&&(i=n),void 0===t||void 0===r)return!1;if(t===r)return!0;var a=b(h(t)),o=b(h(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=I,e.convertToRelativePath=function(e,t,r){return a(e)?F(t,e,t,r,!1):e},e.getRelativePathFromFile=function(e,t,r){return C(I(f(e),t,r))},e.getRelativePathToDirectoryOrUrl=F,e.forEachAncestorDirectory=function(e,t){for(;;){var r=t(e);if(void 0!==r)return r;var n=f(e);if(n===e)return;e=n}},e.isNodeModulesDirectory=function(t){return e.endsWith(t,"/node_modules")},e.isOHModulesDirectory=function(t){return e.endsWith(t,"/oh_modules")}}(d||(d={})),function(e){function t(e){for(var t=5381,r=0;r<e.length;r++)t=(t<<5)+t+e.charCodeAt(r);return t.toString()}var n,i;function o(e){var t;return(t={})[i.Low]=e.Low,t[i.Medium]=e.Medium,t[i.High]=e.High,t}e.generateDjb2Hash=t,e.setStackTraceLimit=function(){Error.stackTraceLimit<100&&(Error.stackTraceLimit=100)},function(e){e[e.Created=0]="Created",e[e.Changed=1]="Changed",e[e.Deleted=2]="Deleted"}(n=e.FileWatcherEventKind||(e.FileWatcherEventKind={})),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);var s,c={Low:32,Medium:64,High:256},l=o(c);function u(t){if(t.getEnvironmentVariable){var r=function(e,t){var r=n(e);if(r)return i("Low"),i("Medium"),i("High"),!0;return!1;function i(e){t[e]=r[e]||t[e]}}("TSC_WATCH_POLLINGINTERVAL",i);l=s("TSC_WATCH_POLLINGCHUNKSIZE",c)||l,e.unchangedPollThresholds=s("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(e+"_"+r.toUpperCase())}(e,n);i&&((r||(r={}))[n]=Number(i))}}function s(e,t){var i=n(e);return(r||i)&&o(i?a(a({},t),i):t)}}function d(t){var r=[],n=[],a=c(i.Low),o=c(i.Medium),s=c(i.High);return function(t,n,i){var a={fileName:t,callback:n,unchangedPolls:0,mtime:v(t)};return r.push(a),g(a,i),{close:function(){a.isClosed=!0,e.unorderedRemoveItem(r,a)}}};function c(e){var t=[];return t.pollingInterval=e,t.pollIndex=0,t.pollScheduled=!1,t}function u(t){t.pollIndex=p(t,t.pollingInterval,t.pollIndex,l[t.pollingInterval]),t.length?y(t.pollingInterval):(e.Debug.assert(0===t.pollIndex),t.pollScheduled=!1)}function d(e){p(n,i.Low,0,n.length),u(e),!e.pollScheduled&&n.length&&y(i.Low)}function p(t,r,a,o){for(var s=t.length,c=a,l=0;l<o&&s>0;p(),s--){var u=t[a];if(u)if(u.isClosed)t[a]=void 0;else{l++;var d=m(u,v(u.fileName));u.isClosed?t[a]=void 0:d?(u.unchangedPolls=0,t!==n&&(t[a]=void 0,_(u))):u.unchangedPolls!==e.unchangedPollThresholds[r]?u.unchangedPolls++:t===n?(u.unchangedPolls=1,t[a]=void 0,g(u,i.Low)):r!==i.High&&(u.unchangedPolls++,t[a]=void 0,g(u,r===i.Low?i.Medium:i.High)),t[a]&&(c<a&&(t[c]=u,t[a]=void 0),c++)}}return a;function p(){++a===t.length&&(c<a&&(t.length=c),a=0,c=0)}}function f(e){switch(e){case i.Low:return a;case i.Medium:return o;case i.High:return s}}function g(e,t){f(t).push(e),h(t)}function _(e){n.push(e),h(i.Low)}function h(e){f(e).pollScheduled||y(e)}function y(e){f(e).pollScheduled=t.setTimeout(e===i.Low?d:u,e,f(e))}function v(r){return t.getModifiedTime(r)||e.missingFileModifiedTime}}function p(t,r){var a=e.createMultiMap(),o=new e.Map,s=e.createGetCanonicalFileName(r);return function(r,c,l,u){var d=s(r);a.add(d,c);var p=e.getDirectoryPath(d)||".",f=o.get(p)||function(r,c,l){var u=t(r,1,(function(t,i){if(e.isString(i)){var o=e.getNormalizedAbsolutePath(i,r),c=o&&a.get(s(o));if(c)for(var l=0,u=c;l<u.length;l++){(0,u[l])(o,n.Changed)}}}),!1,i.Medium,l);return u.referenceCount=0,o.set(c,u),u}(e.getDirectoryPath(r)||".",p,u);return f.referenceCount++,{close:function(){1===f.referenceCount?(f.close(),o.delete(p)):f.referenceCount--,a.remove(d,c)}}}}function f(t,r){var n=new e.Map,i=e.createMultiMap(),a=e.createGetCanonicalFileName(r);return function(r,o,s,c){var l=a(r),u=n.get(l);return u?u.refCount++:n.set(l,{watcher:t(r,(function(t,r){return e.forEach(i.get(l),(function(e){return e(t,r)}))}),s,c),refCount:1}),i.add(l,o),{close:function(){var t=e.Debug.checkDefined(n.get(l));i.remove(l,o),t.refCount--,t.refCount||(n.delete(l),e.closeFileWatcherOf(t))}}}}function m(e,t){var r=e.mtime.getTime(),n=t.getTime();return r!==n&&(e.mtime=t,e.callback(e.fileName,g(r,n)),!0)}function g(e,t){return 0===e?n.Created:0===t?n.Deleted:n.Changed}function _(t){var r,n=t.watchDirectory,i=t.useCaseSensitiveFileNames,a=t.getCurrentDirectory,o=t.getAccessibleSortedChildDirectories,s=t.directoryExists,c=t.realpath,l=t.setTimeout,u=t.clearTimeout,d=new e.Map,p=e.createMultiMap(),f=new e.Map,m=e.getStringComparer(!i),g=e.createGetCanonicalFileName(i);return function(e,t,r,i){return r?_(e,i,t):n(e,t,r,i)};function _(t,i,a){var o=g(t),c=d.get(o);c?c.refCount++:(c={watcher:n(t,(function(e){x(e,i)||((null==i?void 0:i.synchronousWatchDirectory)?(h(o,e),k(t,o,i)):function(e,t,n,i){var a=d.get(t);if(a&&s(e))return void 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&&(u(r),r=void 0);r=l(v,1e3)}(e,t,n,i);h(t,n),b(a)}(t,o,e,i))}),!1,i),refCount:1,childWatches:e.emptyArray},d.set(o,c),k(t,o,i));var m=a&&{dirName:t,callback:a};return m&&p.add(o,m),{dirName:t,close:function(){var t=e.Debug.checkDefined(d.get(o));m&&p.remove(o,m),t.refCount--,t.refCount||(d.delete(o),e.closeFileWatcherOf(t),t.childWatches.forEach(e.closeFileWatcher))}}}function h(t,r,n){var i,a;e.isString(r)?i=r:a=r,p.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 v(){r=void 0,e.sysLog("sysLog:: onTimerToUpdateChildWatches:: "+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,l=s.options,u=s.fileNames;f.delete(o);var d=k(c,o,l);h(o,n,d?void 0:u)}e.sysLog("sysLog:: invokingWatchers:: Elapsed:: "+(e.timestamp()-t)+"ms:: "+f.size),p.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 m=e.timestamp()-t;e.sysLog("sysLog:: Elapsed:: "+m+"ms:: onTimerToUpdateChildWatches:: "+f.size+" "+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(d.get(g(a.dirName)))}}}function k(t,r,n){var i,a=d.get(r);if(!a)return!1;var l=e.enumerateInsertsAndDeletes(s(t)?e.mapDefined(o(t),(function(r){var i=e.getNormalizedAbsolutePath(r,t);return x(i,n)||0!==m(i,e.normalizePath(c(i)))?void 0:i})):e.emptyArray,a.childWatches,(function(e,t){return m(e,t.dirName)}),(function(e){u(_(e,n))}),e.closeFileWatcher,u);return a.childWatches=i||e.emptyArray,l;function u(e){(i||(i=[])).push(e)}}function x(t,r){return e.some(e.ignoredPaths,(function(r){return function(t,r){return!!e.stringContains(t,r)||!i&&e.stringContains(g(t),r)}(t,r)}))||y(t,r,i,a)}}function h(e){return function(t,r){return e(r===n.Changed?"change":"rename","")}}function y(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 v(t,r,n,i,a){return function(o,s){if("rename"===o){var c=s?e.normalizePath(e.combinePaths(t,s)):t;s&&y(c,n,i,a)||r(c)}}}function b(t){var r,a,o,s=t.pollingWatchFile,c=t.getModifiedTime,l=t.setTimeout,u=t.clearTimeout,f=t.fsWatch,m=t.fileExists,g=t.useCaseSensitiveFileNames,h=t.getCurrentDirectory,y=t.fsSupportsRecursiveFsWatch,b=t.directoryExists,k=t.getAccessibleSortedChildDirectories,x=t.realpath,E=t.tscWatchFile,S=t.useNonPollingWatchers,D=t.tscWatchDirectory;return{watchFile:function(t,r,o,c){c=function(t,r){if(t&&void 0!==t.watchFile)return t;switch(E){case"PriorityPollingInterval":return{watchFile:e.WatchFileKind.PriorityPollingInterval};case"DynamicPriorityPolling":return{watchFile:e.WatchFileKind.DynamicPriorityPolling};case"UseFsEvents":return T(e.WatchFileKind.UseFsEvents,e.PollingWatchKind.PriorityInterval,t);case"UseFsEventsWithFallbackDynamicPolling":return T(e.WatchFileKind.UseFsEvents,e.PollingWatchKind.DynamicPriority,t);case"UseFsEventsOnParentDirectory":r=!0;default:return r?T(e.WatchFileKind.UseFsEventsOnParentDirectory,e.PollingWatchKind.PriorityInterval,t):{watchFile:e.WatchFileKind.FixedPollingInterval}}}(c,S);var l=e.Debug.checkDefined(c.watchFile);switch(l){case e.WatchFileKind.FixedPollingInterval:return s(t,r,i.Low,void 0);case e.WatchFileKind.PriorityPollingInterval:return s(t,r,o,void 0);case e.WatchFileKind.DynamicPriorityPolling:return w()(t,r,o,void 0);case e.WatchFileKind.UseFsEvents:return f(t,0,function(e,t,r){return function(i){t(e,"rename"===i?r(e)?n.Created:n.Deleted:n.Changed)}}(t,r,m),!1,o,e.getFallbackOptions(c));case e.WatchFileKind.UseFsEventsOnParentDirectory:return a||(a=p(f,g)),a(t,r,o,e.getFallbackOptions(c));default:e.Debug.assertNever(l)}},watchDirectory:function(t,r,n,a){if(y)return f(t,1,v(t,r,a,g,h),n,i.Medium,e.getFallbackOptions(a));o||(o=_({useCaseSensitiveFileNames:g,getCurrentDirectory:h,directoryExists:b,getAccessibleSortedChildDirectories:k,watchDirectory:C,realpath:x,setTimeout:l,clearTimeout:u}));return o(t,r,n,a)}};function w(){return r||(r=d({getModifiedTime:c,setTimeout:l}))}function T(e,t,r){var n=null==r?void 0:r.fallbackPolling;return{watchFile:e,fallbackPolling:void 0===n?t:n}}function C(t,r,n,a){e.Debug.assert(!n);var o=function(t){if(t&&void 0!==t.watchDirectory)return t;switch(D){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),c=e.Debug.checkDefined(o.watchDirectory);switch(c){case e.WatchDirectoryKind.FixedPollingInterval:return s(t,(function(){return r(t)}),i.Medium,void 0);case e.WatchDirectoryKind.DynamicPriorityPolling:return w()(t,(function(){return r(t)}),i.Medium,void 0);case e.WatchDirectoryKind.UseFsEvents:return f(t,1,v(t,r,a,g,h),n,i.Medium,e.getFallbackOptions(o));default:e.Debug.assertNever(c)}}}function k(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)}))}}function x(){if("undefined"!=typeof process){var e=process.version;if(e){var t=e.indexOf(".");if(-1!==t)return parseInt(e.substring(1,t))}}}e.unchangedPollThresholds=o(c),e.setCustomPollingValues=u,e.createDynamicPriorityPollingWatchFile=d,e.createSingleFileWatcherPerName=f,e.onWatchedFileStat=m,e.getFileWatcherEventKind=g,e.ignoredPaths=["/node_modules/.","/.git","/.#"],e.sysLog=e.noop,e.setSysLog=function(t){e.sysLog=t},e.createDirectoryWatcherSupportingRecursive=_,function(e){e[e.File=0]="File",e[e.Directory=1]="Directory"}(e.FileSystemEntryKind||(e.FileSystemEntryKind={})),e.createFileWatcherCallback=h,e.createSystemWatchFunctions=b,e.patchWriteFileEnsuringDirectory=k,e.getNodeMajorVersion=x,e.sys=("undefined"!=typeof process&&process.nextTick&&!process.browser&&(s=function(){var i,a,o,s=/^native |^\([^)]+\)$|^(internal[\\/]|[a-zA-Z0-9_\s]+(\.js)?$)/,c=r(79896),l=r(16928),u=r(70857);try{a=r(76982)}catch(e){a=void 0}var d,p="./profile.cpuprofile",m=null!==(i=c.realpathSync.native)&&void 0!==i?i:c.realpathSync,g=r(20181).Buffer,_=x()>=4,y="linux"===process.platform||"darwin"===process.platform,v=u.platform(),k="win32"!==v&&"win64"!==v&&!O((d=__filename,d.replace(/\w/g,(function(e){var t=e.toUpperCase();return e===t?e.toLowerCase():t})))),E=_&&("win32"===process.platform||"darwin"===process.platform),S=e.memoize((function(){return process.cwd()})),D=b({pollingWatchFile:f((function(e,t,r){var i;return c.watchFile(e,{persistent:!0,interval:r},a),{close:function(){return c.unwatchFile(e,a)}};function a(r,a){var o=0==+a.mtime||i===n.Deleted;if(0==+r.mtime){if(o)return;i=n.Deleted}else if(o)i=n.Created;else{if(+r.mtime==+a.mtime)return;i=n.Changed}t(e,i)}}),k),getModifiedTime:L,setTimeout,clearTimeout,fsWatch:function(t,r,i,a,o,s){var l,u,d;y&&(u=t.substr(t.lastIndexOf(e.directorySeparator)),d=u.slice(e.directorySeparator.length));var p=F(t,r)?m():_();return{close:function(){p.close(),p=void 0}};function f(r){e.sysLog("sysLog:: "+t+":: Changing watcher to "+(r===m?"Present":"Missing")+"FileSystemEntryWatcher"),i("rename",""),p&&(p.close(),p=r())}function m(){void 0===l&&(l=E?{persistent:!0,recursive:!!a}:{persistent:!0});try{var r=c.watch(t,l,y?g:i);return r.on("error",(function(){return f(_)})),r}catch(r){return e.sysLog("sysLog:: "+t+":: Changing to fsWatchFile"),w(t,h(i),o,s)}}function g(e,n){return"rename"!==e||n&&n!==d&&(-1===n.lastIndexOf(u)||n.lastIndexOf(u)!==n.length-u.length)||F(t,r)?i(e,n):f(_)}function _(){return w(t,(function(e,i){i===n.Created&&F(t,r)&&f(m)}),o,s)}},useCaseSensitiveFileNames:k,getCurrentDirectory:S,fileExists:O,fsSupportsRecursiveFsWatch:E,directoryExists:R,getAccessibleSortedChildDirectories:function(e){return I(e).directories},realpath:M,tscWatchFile:process.env.TSC_WATCHFILE,useNonPollingWatchers:process.env.TSC_NONPOLLING_WATCHER,tscWatchDirectory:process.env.TSC_WATCHDIRECTORY}),w=D.watchFile,T=D.watchDirectory,C={args:process.argv.slice(2),newLine:u.EOL,useCaseSensitiveFileNames:k,write:function(e){process.stdout.write(e)},writeOutputIsTTY:function(){return process.stdout.isTTY},readFile:function(t,r){e.perfLogger.logStartReadFile(t);var n=function(e){var t;try{t=c.readFileSync(e)}catch(e){return}var r=t.length;if(r>=2&&254===t[0]&&255===t[1]){r&=-2;for(var n=0;n<r;n+=2){var i=t[n];t[n]=t[n+1],t[n+1]=i}return t.toString("utf16le",2)}return r>=2&&255===t[0]&&254===t[1]?t.toString("utf16le",2):r>=3&&239===t[0]&&187===t[1]&&191===t[2]?t.toString("utf8",3):t.toString("utf8")}(t);return e.perfLogger.logStopReadFile(),n},writeFile:function(t,r,n){var i;e.perfLogger.logEvent("WriteFile: "+t),n&&(r="\ufeff"+r);try{i=c.openSync(t,"w"),c.writeSync(i,r,void 0,"utf8")}finally{void 0!==i&&c.closeSync(i)}},watchFile:w,watchDirectory:T,resolvePath:function(e){return l.resolve(e)},fileExists:O,directoryExists:R,createDirectory:function(e){if(!C.directoryExists(e))try{c.mkdirSync(e)}catch(e){if("EEXIST"!==e.code)throw e}},getExecutingFilePath:function(){return __filename},getCurrentDirectory:S,getDirectories:function(e){return I(e).directories.slice()},getEnvironmentVariable:function(e){return process.env[e]||""},readDirectory:function(t,r,n,i,a){return e.matchFiles(t,r,n,i,k,process.cwd(),a,I,M)},getModifiedTime:L,setModifiedTime:function(e,t){try{c.utimesSync(e,t,t)}catch(e){return}},deleteFile:function(e){try{return c.unlinkSync(e)}catch(e){return}},createHash:a?j:t,createSHA256Hash:a?j:void 0,getMemoryUsage:function(){return global.gc&&global.gc(),process.memoryUsage().heapUsed},getFileSize:function(e){try{var t=A(e);if(null==t?void 0:t.isFile())return t.size}catch(e){}return 0},exit:function(e){N((function(){return process.exit(e)}))},enableCPUProfiler:function(e,t){if(o)return t(),!1;var n=r(50264);if(!n||!n.Session)return t(),!1;var i=new n.Session;return i.connect(),i.post("Profiler.enable",(function(){i.post("Profiler.start",(function(){o=i,p=e,t()}))})),!0},disableCPUProfiler:N,cpuProfilingEnabled:function(){return!!o||e.contains(process.execArgv,"--cpu-prof")||e.contains(process.execArgv,"--prof")},realpath:M,debugMode:!!process.env.NODE_INSPECTOR_IPC||!!process.env.VSCODE_INSPECTOR_OPTIONS||e.some(process.execArgv,(function(e){return/^--(inspect|debug)(-brk)?(=\d+)?$/i.test(e)})),tryEnableSourceMapsForHost:function(){try{r(92345).install()}catch(e){}},setTimeout,clearTimeout,clearScreen:function(){process.stdout.write("c")},setBlocking:function(){process.stdout&&process.stdout._handle&&process.stdout._handle.setBlocking&&process.stdout._handle.setBlocking(!0)},bufferFrom:P,base64decode:function(e){return P(e,"base64").toString("utf8")},base64encode:function(e){return P(e).toString("base64")},require:function(t,n){try{var i=e.resolveJSModule(n,t,C);return{module:r(89387)(i),modulePath:i,error:void 0}}catch(e){return{module:void 0,modulePath:void 0,error:e}}}};return C;function A(e){return c.statSync(e,{throwIfNoEntry:!1})}function N(t){if(o&&"stopping"!==o){var r=o;return o.post("Profiler.stop",(function(n,i){var a,u=i.profile;if(!n){try{(null===(a=A(p))||void 0===a?void 0:a.isDirectory())&&(p=l.join(p,(new Date).toISOString().replace(/:/g,"-")+"+P"+process.pid+".cpuprofile"))}catch(e){}try{c.mkdirSync(l.dirname(p),{recursive:!0})}catch(e){}c.writeFileSync(p,JSON.stringify(function(t){for(var r=0,n=new e.Map,i=e.normalizeSlashes(__dirname),a="file://"+(1===e.getRootLength(i)?"":"/")+i,o=0,c=t.nodes;o<c.length;o++){var l=c[o];if(l.callFrame.url){var u=e.normalizeSlashes(l.callFrame.url);e.containsPath(a,u,k)?l.callFrame.url=e.getRelativePathToDirectoryOrUrl(a,u,a,e.createGetCanonicalFileName(k),!0):s.test(u)||(l.callFrame.url=(n.has(u)?n:n.set(u,"external"+r+".js")).get(u),r++)}}return t}(u)))}o=void 0,r.disconnect(),t()})),o="stopping",!0}return t(),!1}function P(e,t){return g.from&&g.from!==Int8Array.from?g.from(e,t):new g(e,t)}function I(t){e.perfLogger.logEvent("ReadDir: "+(t||"."));try{for(var r=c.readdirSync(t||".",{withFileTypes:!0}),n=[],i=[],a=0,o=r;a<o.length;a++){var s=o[a],l="string"==typeof s?s:s.name;if("."!==l&&".."!==l){var u=void 0;if("string"==typeof s||s.isSymbolicLink()){var d=e.combinePaths(t,l);try{if(!(u=A(d)))continue}catch(e){continue}}else u=s;u.isFile()?n.push(l):u.isDirectory()&&i.push(l)}}return n.sort(),i.sort(),{files:n,directories:i}}catch(t){return e.emptyFileSystemEntries}}function F(e,t){var r=Error.stackTraceLimit;Error.stackTraceLimit=0;try{var n=A(e);if(!n)return!1;switch(t){case 0:return n.isFile();case 1:return n.isDirectory();default:return!1}}catch(e){return!1}finally{Error.stackTraceLimit=r}}function O(e){return F(e,0)}function R(e){return F(e,1)}function M(e){try{return m(e)}catch(t){return e}}function L(e){var t;try{return null===(t=A(e))||void 0===t?void 0:t.mtime}catch(e){return}}function j(e){var t=a.createHash("sha256");return t.update(e),t.digest("hex")}}()),s&&k(s),s),e.sys&&e.sys.getEnvironmentVariable&&(u(e.sys),e.Debug.setAssertionLevel(/^development$/i.test(e.sys.getEnvironmentVariable("NODE_ENV"))?1:0)),e.sys&&e.sys.debugMode&&(e.Debug.isDebugging=!0)}(d||(d={})),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."),An_index_signature_parameter_type_must_be_either_string_or_number:t(1023,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_must_be_either_string_or_number_1023","An index signature parameter type must be either 'string' or 'number'."),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature: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_with_a_class_declaration:t(1041,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_with_a_class_declaration_1041","'{0}' modifier cannot be used with a class declaration."),_0_modifier_cannot_be_used_here:t(1042,e.DiagnosticCategory.Error,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_data_property:t(1043,e.DiagnosticCategory.Error,"_0_modifier_cannot_appear_on_a_data_property_1043","'{0}' modifier cannot appear on a data property."),_0_modifier_cannot_appear_on_a_module_or_namespace_element: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."),A_0_modifier_cannot_be_used_with_an_interface_declaration:t(1045,e.DiagnosticCategory.Error,"A_0_modifier_cannot_be_used_with_an_interface_declaration_1045","A '{0}' modifier cannot be used with an interface declaration."),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier: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."),An_async_function_or_method_must_have_a_valid_awaitable_return_type:t(1057,e.DiagnosticCategory.Error,"An_async_function_or_method_must_have_a_valid_awaitable_return_type_1057","An async function or method must have a valid awaitable return type."),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member: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."),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_in_strict_mode:t(1117,e.DiagnosticCategory.Error,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode_1117","An object literal cannot have multiple properties with the same name in strict mode."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name: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_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:t(1166,e.DiagnosticCategory.Error,"A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_1166","A computed property name in a class property declaration must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type: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."),Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode:t(1210,e.DiagnosticCategory.Error,"Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode_1210","Invalid use of '{0}'. Class definitions are automatically in strict mode."),A_class_declaration_without_the_default_modifier_must_have_a_name: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_only_available_when_targeting_ECMAScript_2015_or_higher:t(1220,e.DiagnosticCategory.Error,"Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher_1220","Generators are only available when targeting ECMAScript 2015 or higher."),Generators_are_not_allowed_in_an_ambient_context: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_can_only_be_used_in_a_module:t(1231,e.DiagnosticCategory.Error,"An_export_assignment_can_only_be_used_in_a_module_1231","An export assignment can only be used in a module."),An_import_declaration_can_only_be_used_in_a_namespace_or_module:t(1232,e.DiagnosticCategory.Error,"An_import_declaration_can_only_be_used_in_a_namespace_or_module_1232","An import declaration can only be used in a namespace or module."),An_export_declaration_can_only_be_used_in_a_module:t(1233,e.DiagnosticCategory.Error,"An_export_declaration_can_only_be_used_in_a_module_1233","An export declaration can only be used in a module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file: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_in_a_namespace_or_module:t(1235,e.DiagnosticCategory.Error,"A_namespace_declaration_is_only_allowed_in_a_namespace_or_module_1235","A namespace declaration is only allowed in a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any: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."),_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag:t(1253,e.DiagnosticCategory.Error,"_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag_1253","'{0}' tag cannot be used independently as a top level JSDoc tag."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference: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."),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."),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_esnext_commonjs_amd_system_or_umd:t(1323,e.DiagnosticCategory.Error,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'esnext', 'commonjs', 'amd', 'system', or 'umd'."),Dynamic_import_must_have_one_specifier_as_an_argument:t(1324,e.DiagnosticCategory.Error,"Dynamic_import_must_have_one_specifier_as_an_argument_1324","Dynamic import must have one specifier as an argument."),Specifier_of_dynamic_import_cannot_be_spread_element:t(1325,e.DiagnosticCategory.Error,"Specifier_of_dynamic_import_cannot_be_spread_element_1325","Specifier of dynamic import cannot be spread element."),Dynamic_import_cannot_have_type_arguments: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_type_alias_Consider_writing_0_Colon_1_Colon_2_instead:t(1336,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead_1336","An index signature parameter type cannot be a type alias. Consider writing '[{0}: {1}]: {2}' instead."),An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead:t(1337,e.DiagnosticCategory.Error,"An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead_1337","An index signature parameter type cannot be a union type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type: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_esnext_or_system:t(1343,e.DiagnosticCategory.Error,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_esnext_or_system_1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'esnext', or 'system'."),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."),Did_you_mean_to_parenthesize_this_function_type:t(1360,e.DiagnosticCategory.Error,"Did_you_mean_to_parenthesize_this_function_type_1360","Did you mean to parenthesize this function type?"),_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"),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:t(1368,e.DiagnosticCategory.Message,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_1368","Specify emit/checking behavior for imports that are only used for types"),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_esnext_or_system_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_esnext_or_system_and_t_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'esnext' or 'system', 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 `}`?"),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 `>`?"),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."),Provides_a_root_package_name_when_using_outFile_with_declarations:t(1390,e.DiagnosticCategory.Message,"Provides_a_root_package_name_when_using_outFile_with_declarations_1390","Provides a root package name when using outFile with declarations."),The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_declaration_emit:t(1391,e.DiagnosticCategory.Error,"The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_de_1391","The `bundledPackageName` option must be provided when using outFile and node module resolution with declaration emit."),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_esnext_or_system_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_esnext_or_system_and_the_1432","Top-level 'for await' loops are only allowed when the 'module' option is set to 'esnext' or 'system', and the 'target' option is set to 'es2017' or higher."),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),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."),A_class_may_only_extend_another_class:t(2311,e.DiagnosticCategory.Error,"A_class_may_only_extend_another_class_2311","A class may only extend another class."),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members: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_is_missing_in_type_0:t(2329,e.DiagnosticCategory.Error,"Index_signature_is_missing_in_type_0_2329","Index signature is missing in type '{0}'."),Index_signatures_are_incompatible:t(2330,e.DiagnosticCategory.Error,"Index_signatures_are_incompatible_2330","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}'."),An_index_expression_argument_must_be_of_type_string_number_symbol_or_any:t(2342,e.DiagnosticCategory.Error,"An_index_expression_argument_must_be_of_type_string_number_symbol_or_any_2342","An index expression argument must be of type 'string', 'number', 'symbol', or 'any'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0: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_of_type_any_string_number_or_symbol:t(2360,e.DiagnosticCategory.Error,"The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol_2360","The left-hand side of an 'in' expression must be of type 'any', 'string', 'number', or 'symbol'."),The_right_hand_side_of_an_in_expression_must_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_string_index_signature:t(2374,e.DiagnosticCategory.Error,"Duplicate_string_index_signature_2374","Duplicate string index signature."),Duplicate_number_index_signature:t(2375,e.DiagnosticCategory.Error,"Duplicate_number_index_signature_2375","Duplicate number index signature."),A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_parameter_properties_or_private_identifiers:t(2376,e.DiagnosticCategory.Error,"A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376","A 'super' call must be the first statement in the constructor when a class contains initialized properties, 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."),Getter_and_setter_accessors_do_not_agree_in_visibility:t(2379,e.DiagnosticCategory.Error,"Getter_and_setter_accessors_do_not_agree_in_visibility_2379","Getter and setter accessors do not agree in visibility."),get_and_set_accessor_must_have_the_same_type:t(2380,e.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_type_2380","'get' and 'set' accessor must have the same type."),A_signature_with_an_implementation_cannot_use_a_string_literal_type:t(2381,e.DiagnosticCategory.Error,"A_signature_with_an_implementation_cannot_use_a_string_literal_type_2381","A signature with an implementation cannot use a string literal type."),Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature:t(2382,e.DiagnosticCategory.Error,"Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature_2382","Specialized overload signature is not assignable to any non-specialized signature."),Overload_signatures_must_all_be_exported_or_non_exported: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."),Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference:t(2401,e.DiagnosticCategory.Error,"Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference_2401","Duplicate identifier '_super'. Compiler uses '_super' to capture base class reference."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference: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'."),Property_0_of_type_1_is_not_assignable_to_string_index_type_2:t(2411,e.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_string_index_type_2_2411","Property '{0}' of type '{1}' is not assignable to string index type '{2}'."),Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2:t(2412,e.DiagnosticCategory.Error,"Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2_2412","Property '{0}' of type '{1}' is not assignable to numeric index type '{2}'."),Numeric_index_type_0_is_not_assignable_to_string_index_type_1:t(2413,e.DiagnosticCategory.Error,"Numeric_index_type_0_is_not_assignable_to_string_index_type_1_2413","Numeric index type '{0}' is not assignable to string index type '{1}'."),Class_name_cannot_be_0: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:t(2446,e.DiagnosticCategory.Error,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead: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."),The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_type_arguments_explicitly:t(2453,e.DiagnosticCategory.Error,"The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_typ_2453","The type argument for type parameter '{0}' cannot be inferred from the usage. Consider specifying the type arguments explicitly."),Variable_0_is_used_before_being_assigned:t(2454,e.DiagnosticCategory.Error,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0:t(2455,e.DiagnosticCategory.Error,"Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0_2455","Type argument candidate '{1}' is not a valid type argument because it is not a supertype of candidate '{0}'."),Type_alias_0_circularly_references_itself: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'."),Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object:t(2470,e.DiagnosticCategory.Error,"Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object_2470","'Symbol' reference does not refer to the global Symbol constructor object."),A_computed_property_name_of_the_form_0_must_be_of_type_symbol:t(2471,e.DiagnosticCategory.Error,"A_computed_property_name_of_the_form_0_must_be_of_type_symbol_2471","A computed property name of the form '{0}' must be of type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher: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'."),Property_0_does_not_exist_on_const_enum_1:t(2479,e.DiagnosticCategory.Error,"Property_0_does_not_exist_on_const_enum_1_2479","Property '{0}' does not exist on 'const' enum '{1}'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations: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."),Classes_containing_abstract_methods_must_be_marked_abstract:t(2514,e.DiagnosticCategory.Error,"Classes_containing_abstract_methods_must_be_marked_abstract_2514","Classes containing abstract methods must be marked abstract."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2: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."),Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions:t(2521,e.DiagnosticCategory.Error,"Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions_2521","Expression resolves to variable declaration '{0}' that compiler uses to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method: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."),The_target_of_an_assignment_must_be_a_variable_or_a_property_access:t(2541,e.DiagnosticCategory.Error,"The_target_of_an_assignment_must_be_a_variable_or_a_property_access_2541","The target of an assignment must be a variable or a property access."),Index_signature_in_type_0_only_permits_reading: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}."),Expected_0_arguments_but_got_1_or_more:t(2556,e.DiagnosticCategory.Error,"Expected_0_arguments_but_got_1_or_more_2556","Expected {0} arguments, but got {1} or more."),Expected_at_least_0_arguments_but_got_1_or_more:t(2557,e.DiagnosticCategory.Error,"Expected_at_least_0_arguments_but_got_1_or_more_2557","Expected at least {0} arguments, but got {1} or more."),Expected_0_type_arguments_but_got_1: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."),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."),Object_is_of_type_unknown:t(2571,e.DiagnosticCategory.Error,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),Rest_signatures_are_incompatible:t(2572,e.DiagnosticCategory.Error,"Rest_signatures_are_incompatible_2572","Rest signatures are incompatible."),Property_0_is_incompatible_with_rest_element_type:t(2573,e.DiagnosticCategory.Error,"Property_0_is_incompatible_with_rest_element_type_2573","Property '{0}' is incompatible with rest element type."),A_rest_element_type_must_be_an_array_type: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."),Enum_type_0_circularly_references_itself:t(2586,e.DiagnosticCategory.Error,"Enum_type_0_circularly_references_itself_2586","Enum type '{0}' circularly references itself."),JSDoc_type_0_circularly_references_itself:t(2587,e.DiagnosticCategory.Error,"JSDoc_type_0_circularly_references_itself_2587","JSDoc type '{0}' circularly references itself."),Cannot_assign_to_0_because_it_is_a_constant: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_attributes_type_0_may_not_be_a_union_type:t(2600,e.DiagnosticCategory.Error,"JSX_element_attributes_type_0_may_not_be_a_union_type_2600","JSX element attributes type '{0}' may not be a union type."),The_return_type_of_a_JSX_element_constructor_must_return_an_object_type:t(2601,e.DiagnosticCategory.Error,"The_return_type_of_a_JSX_element_constructor_must_return_an_object_type_2601","The return type of a JSX element constructor must return an object type."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist: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."),JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements:t(2605,e.DiagnosticCategory.Error,"JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements_2605","JSX element type '{0}' is not a constructor function for JSX elements."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property: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_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}'."),Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_package_author_to_update_the_package_definition:t(2654,e.DiagnosticCategory.Error,"Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_pack_2654","Exported external package typings file cannot contain tripleslash references. Please contact the package author to update the package definition."),Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_the_package_definition:t(2656,e.DiagnosticCategory.Error,"Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_2656","Exported external package typings file '{0}' is not a module. Please contact the package author to update the package definition."),JSX_expressions_must_have_one_parent_element: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."),get_and_set_accessor_must_have_the_same_this_type:t(2682,e.DiagnosticCategory.Error,"get_and_set_accessor_must_have_the_same_this_type_2682","'get' and 'set' accessor must have the same 'this' type."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation: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_the_function_is_always_defined_Did_you_mean_to_call_it_instead:t(2774,e.DiagnosticCategory.Error,"This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it__2774","This condition will always return true since the function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation: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."),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.Warning,"Return_type_of_exported_function_has_or_is_using_private_name_0_4060","Return type of exported function has or is using private name '{0}'."),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}']."),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."),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_map_files_instead_of_generated_locations:t(6003,e.DiagnosticCategory.Message,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6003","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations: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_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_ES2020_or_ESNEXT:t(6015,e.DiagnosticCategory.Message,"Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_ES2020_or_6015","Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', or 'ESNEXT'."),Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_es2020_or_ESNext:t(6016,e.DiagnosticCategory.Message,"Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_es2020_or_ESNext_6016","Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'."),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"),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}'."),Unsupported_locale_0:t(6049,e.DiagnosticCategory.Error,"Unsupported_locale_0_6049","Unsupported locale '{0}'."),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."),Enables_experimental_support_for_ES7_async_functions:t(6068,e.DiagnosticCategory.Message,"Enables_experimental_support_for_ES7_async_functions_6068","Enables experimental support for ES7 async functions."),Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6: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_Colon_preserve_react_native_react_react_jsx_or_react_jsxdev:t(6080,e.DiagnosticCategory.Message,"Specify_JSX_code_generation_Colon_preserve_react_native_react_react_jsx_or_react_jsxdev_6080","Specify JSX code generation: 'preserve', 'react-native', 'react', 'react-jsx' or 'react-jsxdev'."),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."),Option_0_should_have_array_of_strings_as_a_value:t(6103,e.DiagnosticCategory.Error,"Option_0_should_have_array_of_strings_as_a_value_6103","Option '{0}' should have array of strings as a value."),Checking_if_0_is_the_longest_matching_prefix_for_1_2: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}'. ========"),Resolving_using_primary_search_paths:t(6117,e.DiagnosticCategory.Message,"Resolving_using_primary_search_paths_6117","Resolving using primary search paths..."),Resolving_from_node_modules_folder:t(6118,e.DiagnosticCategory.Message,"Resolving_from_node_modules_folder_6118","Resolving from node_modules folder..."),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2: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."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:t(6164,e.DiagnosticCategory.Message,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6164","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Do_not_truncate_error_messages: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"),Basic_Options:t(6172,e.DiagnosticCategory.Message,"Basic_Options_6172","Basic Options"),Strict_Type_Checking_Options:t(6173,e.DiagnosticCategory.Message,"Strict_Type_Checking_Options_6173","Strict Type-Checking Options"),Module_Resolution_Options:t(6174,e.DiagnosticCategory.Message,"Module_Resolution_Options_6174","Module Resolution Options"),Source_Map_Options:t(6175,e.DiagnosticCategory.Message,"Source_Map_Options_6175","Source Map Options"),Additional_Checks:t(6176,e.DiagnosticCategory.Message,"Additional_Checks_6176","Additional Checks"),Experimental_Options:t(6177,e.DiagnosticCategory.Message,"Experimental_Options_6177","Experimental Options"),Advanced_Options:t(6178,e.DiagnosticCategory.Message,"Advanced_Options_6178","Advanced Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3: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_to_file_1_from_old_program:t(6183,e.DiagnosticCategory.Message,"Reusing_resolution_of_module_0_to_file_1_from_old_program_6183","Reusing resolution of module '{0}' to file '{1}' from old program."),Reusing_module_resolutions_originating_in_0_since_resolutions_are_unchanged_from_old_program:t(6184,e.DiagnosticCategory.Message,"Reusing_module_resolutions_originating_in_0_since_resolutions_are_unchanged_from_old_program_6184","Reusing module resolutions originating in '{0}' since resolutions are unchanged from old program."),Disable_strict_checking_of_generic_signatures_in_function_types:t(6185,e.DiagnosticCategory.Message,"Disable_strict_checking_of_generic_signatures_in_function_types_6185","Disable strict checking of generic signatures in function types."),Enable_strict_checking_of_function_types: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_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', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling: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'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority: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'."),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:t(6228,e.DiagnosticCategory.Message,"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6228","Synchronously call callbacks and update the state of directory watchers on platforms that don't support recursive watching natively."),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"),Projects_to_reference:t(6300,e.DiagnosticCategory.Message,"Projects_to_reference_6300","Projects to reference"),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}'..."),delete_this_Project_0_is_up_to_date_because_it_was_previously_built:t(6360,e.DiagnosticCategory.Message,"delete_this_Project_0_is_up_to_date_because_it_was_previously_built_6360","delete this - Project '{0}' is up to date because it was previously built"),Project_0_is_up_to_date: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"),Enable_verbose_logging:t(6366,e.DiagnosticCategory.Message,"Enable_verbose_logging_6366","Enable verbose logging"),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')"),Build_all_projects_including_those_that_appear_to_be_up_to_date:t(6368,e.DiagnosticCategory.Message,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6368","Build all projects, including those that appear to be up to date"),Option_build_must_be_the_first_command_line_argument: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),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."),Require_undeclared_properties_from_index_signatures_to_use_element_accesses:t(6803,e.DiagnosticCategory.Error,"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6803","Require undeclared properties from index signatures to use element accesses."),Include_undefined_in_index_signature_results:t(6800,e.DiagnosticCategory.Message,"Include_undefined_in_index_signature_results_6800","Include 'undefined' in index signature results"),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."),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."),Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_class_extends_clause:t(9002,e.DiagnosticCategory.Error,"Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_clas_9002","Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clause."),class_expressions_are_not_currently_supported:t(9003,e.DiagnosticCategory.Error,"class_expressions_are_not_currently_supported_9003","'class' expressions are not currently supported."),Language_service_is_disabled:t(9004,e.DiagnosticCategory.Error,"Language_service_is_disabled_9004","Language service is disabled."),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit: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}'."),JSX_attribute_expected:t(17003,e.DiagnosticCategory.Error,"JSX_attribute_expected_17003","JSX attribute expected."),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}"),A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not:t(18001,e.DiagnosticCategory.Error,"A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not_18001","A path in an 'extends' option must be relative or rooted, but '{0}' is not."),The_files_list_in_config_file_0_is_empty: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_ES6_module:t(80001,e.DiagnosticCategory.Suggestion,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module_80001","File is a CommonJS module; it may be converted to an ES6 module."),This_constructor_function_may_be_converted_to_a_class_declaration: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_module_1:t(90013,e.DiagnosticCategory.Message,"Import_0_from_module_1_90013","Import '{0}' from module \"{1}\""),Change_0_to_1:t(90014,e.DiagnosticCategory.Message,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Add_0_to_existing_import_declaration_from_1:t(90015,e.DiagnosticCategory.Message,"Add_0_to_existing_import_declaration_from_1_90015","Add '{0}' to existing import declaration from \"{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'"),Import_default_0_from_module_1:t(90032,e.DiagnosticCategory.Message,"Import_default_0_from_module_1_90032","Import default '{0}' from module \"{1}\""),Add_default_import_0_to_existing_import_declaration_from_1:t(90033,e.DiagnosticCategory.Message,"Add_default_import_0_to_existing_import_declaration_from_1_90033","Add default import '{0}' to existing import declaration from \"{1}\""),Add_parameter_name: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}'."),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_function_0_to_class:t(95002,e.DiagnosticCategory.Message,"Convert_function_0_to_class_95002","Convert function '{0}' to 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"),Annotate_with_types_from_JSDoc:t(95010,e.DiagnosticCategory.Message,"Annotate_with_types_from_JSDoc_95010","Annotate with types 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_ES6_module:t(95017,e.DiagnosticCategory.Message,"Convert_to_ES6_module_95017","Convert to ES6 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"),Allow_accessing_UMD_globals_from_modules:t(95076,e.DiagnosticCategory.Message,"Allow_accessing_UMD_globals_from_modules_95076","Allow accessing UMD globals from modules."),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"),Add_class_tag:t(95102,e.DiagnosticCategory.Message,"Add_class_tag_95102","Add '@class' tag"),Add_this_tag:t(95103,e.DiagnosticCategory.Message,"Add_this_tag_95103","Add '@this' tag"),Add_this_parameter:t(95104,e.DiagnosticCategory.Message,"Add_this_parameter_95104","Add 'this' parameter."),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."),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."),A_method_cannot_be_named_with_a_private_identifier:t(18022,e.DiagnosticCategory.Error,"A_method_cannot_be_named_with_a_private_identifier_18022","A method cannot be named with a private identifier."),An_accessor_cannot_be_named_with_a_private_identifier:t(18023,e.DiagnosticCategory.Error,"An_accessor_cannot_be_named_with_a_private_identifier_18023","An accessor cannot be named 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."),Should_not_add_return_type_to_the_function_that_is_annotated_by_Extend:t(18036,e.DiagnosticCategory.Error,"Should_not_add_return_type_to_the_function_that_is_annotated_by_Extend_18036","Should not add return type to the function that is annotated by Extend."),Decorator_name_must_be_one_of_ETS_Components:t(18037,e.DiagnosticCategory.Error,"Decorator_name_must_be_one_of_ETS_Components_18037","Decorator name must be one of ETS Components"),A_struct_declaration_without_the_default_modifier_must_have_a_name:t(18038,e.DiagnosticCategory.Error,"A_struct_declaration_without_the_default_modifier_must_have_a_name_18038","A struct declaration without the 'default' modifier must have a name."),Should_not_add_return_type_to_the_function_that_is_annotated_by_Styles:t(18039,e.DiagnosticCategory.Error,"Should_not_add_return_type_to_the_function_that_is_annotated_by_Styles_18039","Should not add return type to the function that is annotated by Styles."),Unable_to_resolve_signature_of_function_decorator_when_decorators_are_not_valid:t(18040,e.DiagnosticCategory.Error,"Unable_to_resolve_signature_of_function_decorator_when_decorators_are_not_valid_18040","Unable to resolve signature of function decorator when decorators are not valid."),The_statement_must_be_written_use_the_function_0_under_the_if_condition:t(28e3,e.DiagnosticCategory.Warning,"The_statement_must_be_written_use_the_function_0_under_the_if_condition_28000","The statement must be written use the function '{0}' under the if condition."),The_struct_name_cannot_contain_reserved_tag_name_Colon_0:t(28001,e.DiagnosticCategory.Error,"The_struct_name_cannot_contain_reserved_tag_name_Colon_0_28001","The struct name cannot contain reserved tag name: '{0}'."),This_API_has_been_Special_Markings_exercise_caution_when_using_this_API:t(28002,e.DiagnosticCategory.Warning,"This_API_has_been_Special_Markings_exercise_caution_when_using_this_API_28002","This API has been Special Markings. exercise caution when using this API."),Looking_up_in_oh_modules_folder_initial_location_0:t(18041,e.DiagnosticCategory.Message,"Looking_up_in_oh_modules_folder_initial_location_0_18041","Looking up in 'oh_modules' folder, initial location '{0}'."),Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_oh_modules_folder:t(18042,e.DiagnosticCategory.Message,"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_oh_modul_18042","Containing file is not specified and root directory cannot be determined, skipping lookup in 'oh_modules' folder."),Loading_module_0_from_oh_modules_folder_target_file_type_1:t(18043,e.DiagnosticCategory.Message,"Loading_module_0_from_oh_modules_folder_target_file_type_1_18043","Loading module '{0}' from 'oh_modules' folder, target file type '{1}'."),Found_oh_package_json5_at_0:t(18044,e.DiagnosticCategory.Message,"Found_oh_package_json5_at_0_18044","Found 'oh-package.json5' at '{0}'."),oh_package_json5_does_not_have_a_0_field:t(18045,e.DiagnosticCategory.Message,"oh_package_json5_does_not_have_a_0_field_18045","'oh-package.json5' does not have a '{0}' field."),oh_package_json5_has_0_field_1_that_references_2:t(18046,e.DiagnosticCategory.Message,"oh_package_json5_has_0_field_1_that_references_2_18046","'oh-package.json5' has '{0}' field '{1}' that references '{2}'."),Currently_module_for_0_is_not_verified_If_you_re_importing_napi_its_verification_will_be_enabled_in_later_SDK_version_Please_make_sure_the_corresponding_d_ts_file_is_provided_and_the_napis_are_correctly_declared:t(18047,e.DiagnosticCategory.Warning,"Currently_module_for_0_is_not_verified_If_you_re_importing_napi_its_verification_will_be_enabled_in__18047","Currently module for '{0}' is not verified. If you're importing napi, its verification will be enabled in later SDK version. Please make sure the corresponding .d.ts file is provided and the napis are correctly declared."),UI_component_0_cannot_be_used_in_this_place:t(18048,e.DiagnosticCategory.Error,"UI_component_0_cannot_be_used_in_this_place_18048","UI component '{0}' cannot be used in this place."),Importing_ArkTS_files_in_JS_and_TS_files_is_about_to_be_forbidden:t(18049,e.DiagnosticCategory.Warning,"Importing_ArkTS_files_in_JS_and_TS_files_is_about_to_be_forbidden_18049","Importing ArkTS files in JS and TS files is about to be forbidden."),Importing_ArkTS_files_in_JS_and_TS_files_is_forbidden:t(18050,e.DiagnosticCategory.Error,"Importing_ArkTS_files_in_JS_and_TS_files_is_forbidden_18050","Importing ArkTS files in JS and TS files is forbidden.")}}(d||(d={})),function(e){var t;function r(e){return e>=78}e.tokenIsIdentifierOrKeyword=r,e.tokenIsIdentifierOrKeywordOrGreaterThan=function(e){return 31===e||r(e)};var n=((t={abstract:126,any:129,as:127,asserts:128,bigint:156,boolean:132,break:80,case:81,catch:82,class:83,struct:84,continue:86,const:85}).constructor=133,t.debugger=87,t.declare=134,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=154,t.function=98,t.get=135,t.if=99,t.implements=117,t.import=100,t.in=101,t.infer=136,t.instanceof=102,t.interface=118,t.intrinsic=137,t.is=138,t.keyof=139,t.let=119,t.module=140,t.namespace=141,t.never=142,t.new=103,t.null=104,t.number=145,t.object=146,t.package=120,t.private=121,t.protected=122,t.public=123,t.readonly=143,t.require=144,t.global=155,t.return=105,t.set=147,t.static=124,t.string=148,t.super=106,t.switch=107,t.symbol=149,t.this=108,t.throw=109,t.true=110,t.try=111,t.type=150,t.typeof=112,t.undefined=151,t.unique=152,t.unknown=153,t.var=113,t.void=114,t.while=115,t.with=116,t.yield=125,t.async=130,t.await=131,t.of=157,t),i=new e.Map(e.getEntries(n)),o=new e.Map(e.getEntries(a(a({},n),{"{":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,"=":62,"+=":63,"-=":64,"*=":65,"**=":66,"/=":67,"%=":68,"<<=":69,">>=":70,">>>=":71,"&=":72,"|=":73,"^=":77,"||=":74,"&&=":75,"??=":76,"@":59,"`":61}))),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,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],c=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,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],l=[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],d=[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],f=/^\s*\/\/\/?\s*@(ts-expect-error|ts-ignore)/,m=/^\s*(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/;function g(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 _(e,t){return g(e,t>=2?d:1===t?l:s)}e.isUnicodeIdentifierStart=_;var h,y=(h=[],o.forEach((function(e,t){h[e]=t})),h);function v(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&&w(i)&&(t.push(n),n=r)}}return t.push(n),t}function b(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: "+r+", lineStarts.length: "+t.length+" , line map is correct? "+(void 0!==i?e.arraysEqual(t,v(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 k(e){return e.lineMap||(e.lineMap=v(e.text))}function x(e,t){var r=E(e,t);return{line:r,character:t-e[r]}}function E(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 S(e){return D(e)||w(e)}function D(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 w(e){return 10===e||13===e||8232===e||8233===e}function T(e){return e>=48&&e<=57}function C(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 y[e]},e.stringToToken=function(e){return o.get(e)},e.computeLineStarts=v,e.getPositionOfLineAndCharacter=function(e,t,r,n){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(t,r,n):b(k(e),t,r,e.text,n)},e.computePositionOfLineAndCharacter=b,e.getLineStarts=k,e.computeLineAndCharacterOfPosition=x,e.computeLineOfPosition=E,e.getLinesBetweenPositions=function(e,t,r){if(t===r)return 0;var n=k(e),i=Math.min(t,r),a=i===r,o=a?t:r,s=E(n,i),c=E(n,o,s);return a?s-c:c-s},e.getLineAndCharacterOfPosition=function(e,t){return x(k(e),t)},e.isWhiteSpaceLike=S,e.isWhiteSpaceSingleLine=D,e.isLineBreak=w,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){if(void 0===i&&(i=!1),e.positionIsSynthesized(r))return r;for(;;){var a=t.charCodeAt(r);switch(a){case 13:10===t.charCodeAt(r+1)&&r++;case 10:if(r++,n)return r;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&&!w(t.charCodeAt(r));)r++;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++}continue}break;case 60:case 124:case 61:case 62:if(P(t,r)){r=I(t,r);continue}break;case 35:if(0===r&&O(t,r)){r=R(t,r);continue}break;default:if(a>127&&S(a)){r++;continue}}return r}};var N=7;function P(t,r){if(e.Debug.assert(r>=0),0===r||w(t.charCodeAt(r-1))){var n=t.charCodeAt(r);if(r+N<t.length){for(var i=0;i<N;i++)if(t.charCodeAt(r+i)!==n)return!1;return 61===n||32===t.charCodeAt(r+N)}}return!1}function I(t,r,n){n&&n(e.Diagnostics.Merge_conflict_marker_encountered,r,N);var i=t.charCodeAt(r),a=t.length;if(60===i||62===i)for(;r<a&&!w(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&&P(t,r))break;r++}return r}var F=/^#!.*/;function O(t,r){return e.Debug.assert(0===r),F.test(t)}function R(e,t){return t+=F.exec(e)[0].length}function M(e,t,r,n,i,a,o){var s,c,l,u,d=!1,p=n,f=o;if(0===r){p=!0;var m=z(t);m&&(r=m.length)}e:for(;r>=0&&r<t.length;){var g=t.charCodeAt(r);switch(g){case 13:10===t.charCodeAt(r+1)&&r++;case 10:if(r++,n)break e;p=!0,d&&(u=!0);continue;case 9:case 11:case 12:case 32:r++;continue;case 47:var _=t.charCodeAt(r+1),h=!1;if(47===_||42===_){var y=47===_?2:3,v=r;if(r+=2,47===_)for(;r<t.length;){if(w(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(p){if(d&&(f=i(s,c,l,u,a,f),!e&&f))return f;s=v,c=r,l=y,u=h,d=!0}continue}break e;default:if(g>127&&S(g)){d&&w(g)&&(u=!0),r++;continue}break e}}return d&&(f=i(s,c,l,u,a,f)),f}function L(e,t,r,n,i){return M(!0,e,t,!1,r,n,i)}function j(e,t,r,n,i){return M(!0,e,t,!0,r,n,i)}function B(e,t,r,n,i,a){return a||(a=[]),a.push({kind:r,pos:e,end:t,hasTrailingNewLine:n}),a}function z(e){var t=F.exec(e);if(t)return t[0]}function U(e,t){return e>=65&&e<=90||e>=97&&e<=122||36===e||95===e||e>127&&_(e,t)}function q(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 g(e,t>=2?p:1===t?u:c)}(e,t)}e.isShebangTrivia=O,e.scanShebangTrivia=R,e.forEachLeadingCommentRange=function(e,t,r,n){return M(!1,e,t,!1,r,n)},e.forEachTrailingCommentRange=function(e,t,r,n){return M(!1,e,t,!0,r,n)},e.reduceEachLeadingCommentRange=L,e.reduceEachTrailingCommentRange=j,e.getLeadingCommentRanges=function(e,t){return L(e,t,B,void 0,void 0)},e.getTrailingCommentRanges=function(e,t){return j(e,t,B,void 0,void 0)},e.getShebang=z,e.isIdentifierStart=U,e.isIdentifierPart=q,e.isIdentifierText=function(e,t,r){var n=J(e,0);if(!U(n,t))return!1;for(var i=V(n);i<e.length;i+=V(n))if(!q(n=J(e,i),t,r))return!1;return!0},e.createScanner=function(t,n,a,o,s,c,l){void 0===a&&(a=0);var u,d,p,g,_,h,y,v,b=o,k=0,x=!1;ue(b,c,l);var E={getStartPos:function(){return p},getTextPos:function(){return u},getToken:function(){return _},getTokenPos:function(){return g},getTokenText:function(){return b.substring(g,u)},getTokenValue:function(){return h},hasUnicodeEscape:function(){return!!(1024&y)},hasExtendedUnicodeEscape:function(){return!!(8&y)},hasPrecedingLineBreak:function(){return!!(1&y)},hasPrecedingJSDocComment:function(){return!!(2&y)},isIdentifier:function(){return 78===_||_>116},isReservedWord:function(){return _>=80&&_<=116},isUnterminated:function(){return!!(4&y)},getCommentDirectives:function(){return v},getNumericLiteralFlags:function(){return 1008&y},getTokenFlags:function(){return y},reScanGreaterToken:function(){if(31===_){if(62===b.charCodeAt(u))return 62===b.charCodeAt(u+1)?61===b.charCodeAt(u+2)?(u+=3,_=71):(u+=2,_=49):61===b.charCodeAt(u+1)?(u+=2,_=70):(u++,_=48);if(61===b.charCodeAt(u))return u++,_=33}return _},reScanAsteriskEqualsToken:function(){return e.Debug.assert(65===_,"'reScanAsteriskEqualsToken' should only be called on a '*='"),u=g+1,_=62},reScanSlashToken:function(){if(43===_||67===_){for(var r=g+1,n=!1,i=!1;;){if(r>=d){y|=4,N(e.Diagnostics.Unterminated_regular_expression_literal);break}var a=b.charCodeAt(r);if(w(a)){y|=4,N(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<d&&q(b.charCodeAt(r),t);)r++;u=r,h=b.substring(g,u),_=13}return _},reScanTemplateToken:function(t){return e.Debug.assert(19===_,"'reScanTemplateToken' should only be called on a '}'"),u=g,_=G(t)},reScanTemplateHeadOrNoSubstitutionTemplate:function(){return u=g,_=G(!0)},scanJsxIdentifier:function(){if(r(_)){for(var e=!1;u<d;){var t=b.charCodeAt(u);if(45!==t)if(58!==t||e){var n=u;if(h+=ee(),u===n)break}else h+=":",u++,e=!0;else h+="-",u++}":"===h.slice(-1)&&(h=h.slice(0,-1),u--)}return _},scanJsxAttributeValue:ce,reScanJsxAttributeValue:function(){return u=g=p,ce()},reScanJsxToken:function(){return u=g=p,_=se()},reScanLessThanToken:function(){if(47===_)return u=g+1,_=29;return _},reScanQuestionToken:function(){return e.Debug.assert(60===_,"'reScanQuestionToken' should only be called on a '??'"),u=g+1,_=57},reScanInvalidIdentifier:function(){e.Debug.assert(0===_,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),u=g=p,y=0;var t=J(b,u),r=ae(t,99);if(r)return _=r;return u+=V(t),_},scanJsxToken:se,scanJsDocToken:function(){if(p=g=u,y=0,u>=d)return _=1;var e=J(b,u);switch(u+=V(e),e){case 9:case 11:case 12:case 32:for(;u<d&&D(b.charCodeAt(u));)u++;return _=5;case 64:return _=59;case 13:10===b.charCodeAt(u)&&u++;case 10:return y|=1,_=4;case 42:return _=41;case 123:return _=18;case 125:return _=19;case 91:return _=22;case 93:return _=23;case 60:return _=29;case 62:return _=31;case 61:return _=62;case 44:return _=27;case 46:return _=24;case 96:return _=61;case 92:u--;var r=Z();if(r>=0&&U(r,t))return u+=3,y|=8,h=X()+ee(),_=te();var n=Q();return n>=0&&U(n,t)?(u+=6,y|=1024,h=String.fromCharCode(n)+ee(),_=te()):(u++,_=0)}if(U(e,t)){for(var i=e;u<d&&q(i=J(b,u),t)||45===b.charCodeAt(u);)u+=V(i);return h=b.substring(g,u),92===i&&(h+=ee()),_=te()}return _=0},scan:ie,getText:function(){return b},clearCommentDirectives:function(){v=void 0},setText:ue,setScriptTarget:function(e){t=e},setLanguageVariant:function(e){a=e},setOnError:function(e){s=e},setTextPos:de,setInJSDocType:function(e){k+=e?1:-1},tryScan:function(e){return le(e,!1)},lookAhead:function(e){return le(e,!0)},scanRange:function(e,t,r){var n=d,i=u,a=p,o=g,s=_,c=h,l=y,f=v;ue(b,e,t);var m=r();return d=n,u=i,p=a,g=o,_=s,h=c,y=l,v=f,m},setEtsContext:function(e){x=e}};return e.Debug.isDebugging&&Object.defineProperty(E,"__debugShowCurrentPositionInText",{get:function(){var e=E.getText();return e.slice(0,E.getStartPos())+"║"+e.slice(E.getStartPos())}}),E;function N(e,t,r){if(void 0===t&&(t=u),s){var n=u;u=t,s(e,r||0),u=n}}function F(){for(var t=u,r=!1,n=!1,i="";;){var a=b.charCodeAt(u);if(95!==a){if(!T(a))break;r=!0,n=!1,u++}else y|=512,r?(r=!1,n=!0,i+=b.substring(t,u)):N(n?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,u,1),t=++u}return 95===b.charCodeAt(u-1)&&N(e.Diagnostics.Numeric_separators_are_not_allowed_here,u-1,1),i+b.substring(t,u)}function M(){var t,r,n=u,i=F();46===b.charCodeAt(u)&&(u++,t=F());var a,o=u;if(69===b.charCodeAt(u)||101===b.charCodeAt(u)){u++,y|=16,43!==b.charCodeAt(u)&&45!==b.charCodeAt(u)||u++;var s=u,c=F();c?(r=b.substring(o,s)+c,o=u):N(e.Diagnostics.Digit_expected)}if(512&y?(a=i,t&&(a+="."+t),r&&(a+=r)):a=b.substring(n,o),void 0!==t||16&y)return L(n,void 0===t&&!!(16&y)),{type:8,value:""+ +a};h=a;var l=ne();return L(n),{type:l,value:h}}function L(r,n){if(U(J(b,u),t)){var i=u,a=ee().length;1===a&&"n"===b[i]?N(n?e.Diagnostics.A_bigint_literal_cannot_use_exponential_notation:e.Diagnostics.A_bigint_literal_must_be_an_integer,r,i-r+1):(N(e.Diagnostics.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,i,a),u=i)}}function j(){for(var e=u;A(b.charCodeAt(u));)u++;return+b.substring(e,u)}function B(e,t){var r=H(e,!1,t);return r?parseInt(r,16):-1}function z(e,t){return H(e,!0,t)}function H(t,r,n){for(var i=[],a=!1,o=!1;i.length<t||r;){var s=b.charCodeAt(u);if(n&&95===s)y|=512,a?(a=!1,o=!0):N(o?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,u,1),u++;else{if(a=n,s>=65&&s<=70)s+=32;else if(!(s>=48&&s<=57||s>=97&&s<=102))break;i.push(s),u++,o=!1}}return i.length<t&&(i=[]),95===b.charCodeAt(u-1)&&N(e.Diagnostics.Numeric_separators_are_not_allowed_here,u-1,1),String.fromCharCode.apply(String,i)}function W(t){void 0===t&&(t=!1);for(var r=b.charCodeAt(u),n="",i=++u;;){if(u>=d){n+=b.substring(i,u),y|=4,N(e.Diagnostics.Unterminated_string_literal);break}var a=b.charCodeAt(u);if(a===r){n+=b.substring(i,u),u++;break}if(92!==a||t){if(w(a)&&!t){n+=b.substring(i,u),y|=4,N(e.Diagnostics.Unterminated_string_literal);break}u++}else n+=b.substring(i,u),n+=$(),i=u}return n}function G(t){for(var r,n=96===b.charCodeAt(u),i=++u,a="";;){if(u>=d){a+=b.substring(i,u),y|=4,N(e.Diagnostics.Unterminated_template_literal),r=n?14:17;break}var o=b.charCodeAt(u);if(96===o){a+=b.substring(i,u),u++,r=n?14:17;break}if(36===o&&u+1<d&&123===b.charCodeAt(u+1)){a+=b.substring(i,u),u+=2,r=n?15:16;break}92!==o?13!==o?u++:(a+=b.substring(i,u),++u<d&&10===b.charCodeAt(u)&&u++,a+="\n",i=u):(a+=b.substring(i,u),a+=$(t),i=u)}return e.Debug.assert(void 0!==r),h=a,r}function $(t){var r=u;if(++u>=d)return N(e.Diagnostics.Unexpected_end_of_text),"";var n=b.charCodeAt(u);switch(u++,n){case 48:return t&&u<d&&T(b.charCodeAt(u))?(u++,y|=2048,b.substring(r,u)):"\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=u;i<u+4;i++)if(i<d&&!C(b.charCodeAt(i))&&123!==b.charCodeAt(i))return u=i,y|=2048,b.substring(r,u);if(u<d&&123===b.charCodeAt(u)){if(u++,t&&!C(b.charCodeAt(u)))return y|=2048,b.substring(r,u);if(t){var a=u,o=z(1,!1),s=o?parseInt(o,16):-1;if(!(s<=1114111&&125===b.charCodeAt(u)))return y|=2048,b.substring(r,u);u=a}return y|=8,X()}return y|=1024,Y(4);case 120:if(t){if(!C(b.charCodeAt(u)))return y|=2048,b.substring(r,u);if(!C(b.charCodeAt(u+1)))return u++,y|=2048,b.substring(r,u)}return Y(2);case 13:u<d&&10===b.charCodeAt(u)&&u++;case 10:case 8232:case 8233:return"";default:return String.fromCharCode(n)}}function Y(t){var r=B(t,!1);return r>=0?String.fromCharCode(r):(N(e.Diagnostics.Hexadecimal_digit_expected),"")}function X(){var t=z(1,!1),r=t?parseInt(t,16):-1,n=!1;return r<0?(N(e.Diagnostics.Hexadecimal_digit_expected),n=!0):r>1114111&&(N(e.Diagnostics.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),n=!0),u>=d?(N(e.Diagnostics.Unexpected_end_of_text),n=!0):125===b.charCodeAt(u)?u++:(N(e.Diagnostics.Unterminated_Unicode_escape_sequence),n=!0),n?"":K(r)}function Q(){if(u+5<d&&117===b.charCodeAt(u+1)){var e=u;u+=2;var t=B(4,!1);return u=e,t}return-1}function Z(){if(t>=2&&117===J(b,u+1)&&123===J(b,u+2)){var e=u;u+=3;var r=z(1,!1),n=r?parseInt(r,16):-1;return u=e,n}return-1}function ee(){for(var e="",r=u;u<d;){var n=J(b,u);if(q(n,t))u+=V(n);else{if(92!==n)break;if((n=Z())>=0&&q(n,t)){u+=3,y|=8,e+=X(),r=u;continue}if(!((n=Q())>=0&&q(n,t)))break;y|=1024,e+=b.substring(r,u),e+=K(n),r=u+=6}}return e+=b.substring(r,u)}function te(){var e=h.length;if(e>=2&&e<=12){var t=h.charCodeAt(0);if(t>=97&&t<=122){var r=i.get(h);if(void 0!==r)return _=r,84!==r||x||(_=78),_}}return _=78}function re(t){for(var r="",n=!1,i=!1;;){var a=b.charCodeAt(u);if(95!==a){if(n=!0,!T(a)||a-48>=t)break;r+=b[u],u++,i=!1}else y|=512,n?(n=!1,i=!0):N(i?e.Diagnostics.Multiple_consecutive_numeric_separators_are_not_permitted:e.Diagnostics.Numeric_separators_are_not_allowed_here,u,1),u++}return 95===b.charCodeAt(u-1)&&N(e.Diagnostics.Numeric_separators_are_not_allowed_here,u-1,1),r}function ne(){if(110===b.charCodeAt(u))return h+="n",384&y&&(h=e.parsePseudoBigInt(h)+"n"),u++,9;var t=128&y?parseInt(h.slice(2),2):256&y?parseInt(h.slice(2),8):+h;return h=""+t,8}function ie(){var r;p=u,y=0;for(var i=!1;;){if(g=u,u>=d)return _=1;var o=J(b,u);if(35===o&&0===u&&O(b,u)){if(u=R(b,u),n)continue;return _=6}switch(o){case 10:case 13:if(y|=1,n){u++;continue}return 13===o&&u+1<d&&10===b.charCodeAt(u+1)?u+=2:u++,_=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(n){u++;continue}for(;u<d&&D(b.charCodeAt(u));)u++;return _=5;case 33:return 61===b.charCodeAt(u+1)?61===b.charCodeAt(u+2)?(u+=3,_=37):(u+=2,_=35):(u++,_=53);case 34:case 39:return h=W(),_=10;case 96:return _=G(!1);case 37:return 61===b.charCodeAt(u+1)?(u+=2,_=68):(u++,_=44);case 38:return 38===b.charCodeAt(u+1)?61===b.charCodeAt(u+2)?(u+=3,_=75):(u+=2,_=55):61===b.charCodeAt(u+1)?(u+=2,_=72):(u++,_=50);case 40:return u++,_=20;case 41:return u++,_=21;case 42:if(61===b.charCodeAt(u+1))return u+=2,_=65;if(42===b.charCodeAt(u+1))return 61===b.charCodeAt(u+2)?(u+=3,_=66):(u+=2,_=42);if(u++,k&&!i&&1&y){i=!0;continue}return _=41;case 43:return 43===b.charCodeAt(u+1)?(u+=2,_=45):61===b.charCodeAt(u+1)?(u+=2,_=63):(u++,_=39);case 44:return u++,_=27;case 45:return 45===b.charCodeAt(u+1)?(u+=2,_=46):61===b.charCodeAt(u+1)?(u+=2,_=64):(u++,_=40);case 46:return T(b.charCodeAt(u+1))?(h=M().value,_=8):46===b.charCodeAt(u+1)&&46===b.charCodeAt(u+2)?(u+=3,_=25):(u++,_=24);case 47:if(47===b.charCodeAt(u+1)){for(u+=2;u<d&&!w(b.charCodeAt(u));)u++;if(v=oe(v,b.slice(g,u),f,g),n)continue;return _=2}if(42===b.charCodeAt(u+1)){u+=2,42===b.charCodeAt(u)&&47!==b.charCodeAt(u+1)&&(y|=2);for(var s=!1,c=g;u<d;){var l=b.charCodeAt(u);if(42===l&&47===b.charCodeAt(u+1)){u+=2,s=!0;break}u++,w(l)&&(c=u,y|=1)}if(v=oe(v,b.slice(c,u),m,c),s||N(e.Diagnostics.Asterisk_Slash_expected),n)continue;return s||(y|=4),_=3}return 61===b.charCodeAt(u+1)?(u+=2,_=67):(u++,_=43);case 48:if(u+2<d&&(88===b.charCodeAt(u+1)||120===b.charCodeAt(u+1)))return u+=2,(h=z(1,!0))||(N(e.Diagnostics.Hexadecimal_digit_expected),h="0"),h="0x"+h,y|=64,_=ne();if(u+2<d&&(66===b.charCodeAt(u+1)||98===b.charCodeAt(u+1)))return u+=2,(h=re(2))||(N(e.Diagnostics.Binary_digit_expected),h="0"),h="0b"+h,y|=128,_=ne();if(u+2<d&&(79===b.charCodeAt(u+1)||111===b.charCodeAt(u+1)))return u+=2,(h=re(8))||(N(e.Diagnostics.Octal_digit_expected),h="0"),h="0o"+h,y|=256,_=ne();if(u+1<d&&A(b.charCodeAt(u+1)))return h=""+j(),y|=32,_=8;case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return r=M(),_=r.type,h=r.value,_;case 58:return u++,_=58;case 59:return u++,_=26;case 60:if(P(b,u)){if(u=I(b,u,N),n)continue;return _=7}return 60===b.charCodeAt(u+1)?61===b.charCodeAt(u+2)?(u+=3,_=69):(u+=2,_=47):61===b.charCodeAt(u+1)?(u+=2,_=32):1===a&&47===b.charCodeAt(u+1)&&42!==b.charCodeAt(u+2)?(u+=2,_=30):(u++,_=29);case 61:if(P(b,u)){if(u=I(b,u,N),n)continue;return _=7}return 61===b.charCodeAt(u+1)?61===b.charCodeAt(u+2)?(u+=3,_=36):(u+=2,_=34):62===b.charCodeAt(u+1)?(u+=2,_=38):(u++,_=62);case 62:if(P(b,u)){if(u=I(b,u,N),n)continue;return _=7}return u++,_=31;case 63:return 46!==b.charCodeAt(u+1)||T(b.charCodeAt(u+2))?63===b.charCodeAt(u+1)?61===b.charCodeAt(u+2)?(u+=3,_=76):(u+=2,_=60):(u++,_=57):(u+=2,_=28);case 91:return u++,_=22;case 93:return u++,_=23;case 94:return 61===b.charCodeAt(u+1)?(u+=2,_=77):(u++,_=52);case 123:return u++,_=18;case 124:if(P(b,u)){if(u=I(b,u,N),n)continue;return _=7}return 124===b.charCodeAt(u+1)?61===b.charCodeAt(u+2)?(u+=3,_=74):(u+=2,_=56):61===b.charCodeAt(u+1)?(u+=2,_=73):(u++,_=51);case 125:return u++,_=19;case 126:return u++,_=54;case 64:return u++,_=59;case 92:var x=Z();if(x>=0&&U(x,t))return u+=3,y|=8,h=X()+ee(),_=te();var E=Q();return E>=0&&U(E,t)?(u+=6,y|=1024,h=String.fromCharCode(E)+ee(),_=te()):(N(e.Diagnostics.Invalid_character),u++,_=0);case 35:if(0!==u&&"!"===b[u+1])return N(e.Diagnostics.can_only_be_used_at_the_start_of_a_file),u++,_=0;if(u++,U(o=b.charCodeAt(u),t)){for(u++;u<d&&q(o=b.charCodeAt(u),t);)u++;h=b.substring(g,u),92===o&&(h+=ee())}else h="#",N(e.Diagnostics.Invalid_character);return _=79;default:var S=ae(o,t);if(S)return _=S;if(D(o)){u+=V(o);continue}if(w(o)){y|=1,u+=V(o);continue}return N(e.Diagnostics.Invalid_character),u+=V(o),_=0}}}function ae(e,t){var r=e;if(U(r,t)){for(u+=V(r);u<d&&q(r=J(b,u),t);)u+=V(r);return h=b.substring(g,u),92===r&&(h+=ee()),te()}}function oe(t,r,n,i){var a=function(e,t){var r=t.exec(e);if(!r)return;switch(r[1]){case"ts-expect-error":return 0;case"ts-ignore":return 1}return}(r,n);return void 0===a?t:e.append(t,{range:{pos:i,end:u},type:a})}function se(){if(p=g=u,u>=d)return _=1;var t=b.charCodeAt(u);if(60===t)return 47===b.charCodeAt(u+1)?(u+=2,_=30):(u++,_=29);if(123===t)return u++,_=18;for(var r=0,n=-1;u<d&&(D(t)||(n=u),123!==(t=b.charCodeAt(u)));){if(60===t){if(P(b,u))return u=I(b,u,N),_=7;break}62===t&&N(e.Diagnostics.Unexpected_token_Did_you_mean_or_gt,u,1),125===t&&N(e.Diagnostics.Unexpected_token_Did_you_mean_or_rbrace,u,1),n>0&&n++,w(t)&&0===r?r=-1:S(t)||(r=u),u++}var i=-1===n?u:n;return h=b.substring(p,i),-1===r?12:11}function ce(){switch(p=u,b.charCodeAt(u)){case 34:case 39:return h=W(!0),_=10;default:return ie()}}function le(e,t){var r=u,n=p,i=g,a=_,o=h,s=y,c=e();return c&&!t||(u=r,p=n,g=i,_=a,h=o,y=s),c}function ue(e,t,r){b=e||"",d=void 0===r?b.length:t+r,de(t||0)}function de(t){e.Debug.assert(t>=0),u=t,p=t,g=t,_=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 V(e){return e>=65536?2:1}var H=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 K(e){return H(e)}e.utf16EncodeAsString=K}(d||(d={})),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 l(t){return!!Y(t)&&e.every(t.elements,u)}function u(t){return!!e.isOmittedExpression(t)||l(t.name)}function d(t){for(var r=t.parent;e.isBindingElement(r.parent);)r=r.parent.parent;return r.parent}function p(t,r){e.isBindingElement(t)&&(t=d(t));var n=r(t);return 251===t.kind&&(t=t.parent),t&&252===t.kind&&(n|=r(t),t=t.parent),t&&234===t.kind&&(n|=r(t)),n}function f(e){return!(8&e.flags)}function m(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 g(e){return m(e.escapedText)}function _(t){var r=t.parent.parent;if(r){if(ae(r))return h(r);switch(r.kind){case 234:if(r.declarationList&&r.declarationList.declarations[0])return h(r.declarationList.declarations[0]);break;case 235:var n=r.expression;switch(218===n.kind&&62===n.operatorToken.kind&&(n=n.left),n.kind){case 202:return n.name;case 203:var i=n.argumentExpression;if(e.isIdentifier(i))return i}break;case 208:return h(r.expression);case 247:if(ae(r.statement)||te(r.statement))return h(r.statement)}}}function h(t){var r=k(t);return r&&e.isIdentifier(r)?r:void 0}function y(e){return e.name||_(e)}function v(e){return!!e.name}function b(t){switch(t.kind){case 78:return t;case 336:case 329:var r=t.name;if(158===r.kind)return r.right;break;case 204:case 218: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 334:return y(t);case 328:return _(t);case 269:var i=t.expression;return e.isIdentifier(i)?i:void 0;case 203:var a=t;if(e.isBindableStaticElementAccessExpression(a))return a.argumentExpression}return t.name}function k(t){if(void 0!==t)return b(t)||(e.isFunctionExpression(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 A(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=A(t.parent,r).filter(e.isJSDocParameterTag);if(i<a.length)return[a[i]]}return e.emptyArray}function S(e){return E(e,!1)}function D(t,r){var n=t.name.escapedText;return A(t.parent,r).filter((function(t){return e.isJSDocTemplateTag(t)&&t.typeParameters.some((function(e){return e.name.escapedText===n}))}))}function w(t){return P(t,e.isJSDocReturnTag)}function T(t){var r=P(t,e.isJSDocTypeTag);if(r&&r.typeExpression&&r.typeExpression.type)return r}function C(t){var r=P(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 A(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 N(e){return A(e,!1)}function P(t,r,n){return e.find(A(t,n),r)}function I(e,t){return N(e).filter(t)}function F(e){var t=e.kind;return!!(32&e.flags)&&(202===t||203===t||204===t||227===t)}function O(t){return F(t)&&!e.isNonNullExpression(t)&&!!t.questionDotToken}function R(t){return e.skipOuterExpressions(t,8)}function M(e){switch(e.kind){case 297:case 298:return!0;default:return!1}}function L(e){return e>=158}function j(e){return 8<=e&&e<=14}function B(e){return 14<=e&&e<=17}function z(t){return e.isPropertyDeclaration(t)&&e.isPrivateIdentifier(t.name)}function U(e){switch(e){case 126:case 130:case 85:case 134:case 88:case 93:case 123:case 121:case 122:case 143:case 124:return!0}return!1}function q(t){return!!(92&e.modifierToFlag(t))}function J(e){return e&&H(e.kind)}function V(e){switch(e){case 253:case 166:case 167:case 168:case 169:case 209:case 210:return!0;default:return!1}}function H(e){switch(e){case 165:case 170:case 316:case 171:case 172:case 175:case 311:case 176:return!0;default:return V(e)}}function K(e){var t=e.kind;return 167===t||164===t||166===t||168===t||169===t||172===t||231===t}function W(e){return e&&(254===e.kind||223===e.kind||255===e.kind)}function G(e){var t=e.kind;return 171===t||170===t||163===t||165===t||172===t}function $(e){var t=e.kind;return 291===t||292===t||293===t||166===t||168===t||169===t}function Y(e){if(e){var t=e.kind;return 198===t||197===t}return!1}function X(e){switch(e.kind){case 197:case 201:return!0}return!1}function Q(e){switch(e.kind){case 198:case 200:return!0}return!1}function Z(e){switch(e){case 202:case 203:case 205:case 204:case 276:case 277:case 280:case 206:case 200:case 208:case 201:case 223:case 209:case 211:case 78:case 13:case 8:case 9:case 10:case 14:case 220:case 95:case 104:case 108:case 110:case 106:case 227:case 228:case 100:return!0;default:return!1}}function ee(e){switch(e){case 216:case 217:case 212:case 213:case 214:case 215:case 207:return!0;default:return Z(e)}}function te(e){return function(e){switch(e){case 219:case 221:case 210:case 218:case 222:case 226:case 224:case 340:case 339:return!0;default:return ee(e)}}(R(e).kind)}function re(t){return e.isExportAssignment(t)||e.isExportDeclaration(t)}function ne(e){return 253===e||274===e||254===e||255===e||256===e||257===e||258===e||259===e||264===e||263===e||270===e||269===e||262===e}function ie(e){return 243===e||242===e||250===e||237===e||235===e||233===e||240===e||241===e||239===e||236===e||247===e||244===e||246===e||248===e||249===e||234===e||238===e||245===e||338===e||342===e||341===e}function ae(t){return 160===t.kind?t.parent&&333!==t.parent.kind||e.isInJSFile(t):210===(r=t.kind)||199===r||254===r||223===r||255===r||167===r||258===r||294===r||273===r||253===r||209===r||168===r||265===r||263===r||268===r||256===r||283===r||166===r||165===r||259===r||262===r||266===r||272===r||161===r||291===r||164===r||163===r||169===r||292===r||257===r||160===r||251===r||334===r||327===r||336===r;var r}function oe(e){return e.kind>=317&&e.kind<=336}e.isExternalModuleNameRelative=function(t){return e.pathIsRelative(t)||e.isRootedDiskPath(t)},e.sortAndDeduplicateDiagnostics=function(t){return e.sortAndDeduplicate(t,e.compareDiagnostics)},e.getDefaultLibFileName=function(e){switch(e.target){case 99:return"lib.esnext.full.d.ts";case 7:return"lib.es2020.full.d.ts";case 6:return"lib.es2019.full.d.ts";case 5:return"lib.es2018.full.d.ts";case 4:return"lib.es2017.full.d.ts";case 3:return"lib.es2016.full.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}},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,l=1;l<r.length;l++){var u=r[l],d=i,p=a,f=o,m=u.span.start,g=t(u.span),_=m+u.newLength;i=Math.min(d,m),a=Math.max(p,p+(g-f)),o=Math.max(_,_+(f-g))}return c(s(i,a),o-i)},e.getTypeParameterOwner=function(e){if(e&&160===e.kind)for(var t=e;t;t=t.parent)if(J(t)||W(t)||256===t.kind)return t},e.isParameterPropertyDeclaration=function(t,r){return e.hasSyntacticModifier(t,92)&&167===r.kind},e.isEmptyBindingPattern=l,e.isEmptyBindingElement=u,e.walkUpBindingElementsAndPatterns=d,e.getCombinedModifierFlags=function(t){return p(t,e.getEffectiveModifierFlags)},e.getCombinedNodeFlagsAlwaysIncludeJSDoc=function(t){return p(t,e.getEffectiveModifierFlagsAlwaysIncludeJSDoc)},e.getCombinedNodeFlags=function(e){return p(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(t){return i&&i.push(e.createCompilerDiagnostic(e.Diagnostics.Unable_to_open_file_0,s)),!1}try{e.setLocalizedDiagnosticMessages(JSON.parse(c))}catch(t){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=m,e.idText=g,e.symbolName=function(e){return e.valueDeclaration&&z(e.valueDeclaration)?g(e.valueDeclaration.name):m(e.escapedName)},e.nodeHasName=function t(r,n){return!(!v(r)||!e.isIdentifier(r.name)||g(r.name)!==g(n))||!(!e.isVariableStatement(r)||!e.some(r.declarationList.declarations,(function(e){return t(e,n)})))},e.getNameOfJSDocTypedef=y,e.isNamedDeclaration=v,e.getNonAssignedNameOfDeclaration=b,e.getNameOfDeclaration=k,e.getAssignedName=x,e.getJSDocParameterTags=S,e.getJSDocParameterTagsNoCache=function(e){return E(e,!0)},e.getJSDocTypeParameterTags=function(e){return D(e,!1)},e.getJSDocTypeParameterTagsNoCache=function(e){return D(e,!0)},e.hasJSDocParameterTags=function(t){return!!P(t,e.isJSDocParameterTag)},e.getJSDocAugmentsTag=function(t){return P(t,e.isJSDocAugmentsTag)},e.getJSDocImplementsTags=function(t){return I(t,e.isJSDocImplementsTag)},e.getJSDocClassTag=function(t){return P(t,e.isJSDocClassTag)},e.getJSDocPublicTag=function(t){return P(t,e.isJSDocPublicTag)},e.getJSDocPublicTagNoCache=function(t){return P(t,e.isJSDocPublicTag,!0)},e.getJSDocPrivateTag=function(t){return P(t,e.isJSDocPrivateTag)},e.getJSDocPrivateTagNoCache=function(t){return P(t,e.isJSDocPrivateTag,!0)},e.getJSDocProtectedTag=function(t){return P(t,e.isJSDocProtectedTag)},e.getJSDocProtectedTagNoCache=function(t){return P(t,e.isJSDocProtectedTag,!0)},e.getJSDocReadonlyTag=function(t){return P(t,e.isJSDocReadonlyTag)},e.getJSDocReadonlyTagNoCache=function(t){return P(t,e.isJSDocReadonlyTag,!0)},e.getJSDocDeprecatedTag=function(t){return P(t,e.isJSDocDeprecatedTag)},e.getJSDocDeprecatedTagNoCache=function(t){return P(t,e.isJSDocDeprecatedTag,!0)},e.getJSDocEnumTag=function(t){return P(t,e.isJSDocEnumTag)},e.getJSDocThisTag=function(t){return P(t,e.isJSDocThisTag)},e.getJSDocReturnTag=w,e.getJSDocTemplateTag=function(t){return P(t,e.isJSDocTemplateTag)},e.getJSDocTypeTag=T,e.getJSDocType=C,e.getJSDocReturnType=function(t){var r=w(t);if(r&&r.typeExpression)return r.typeExpression.type;var n=T(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=N,e.getJSDocTagsNoCache=function(e){return A(e,!0)},e.getAllJSDocTags=I,e.getAllJSDocTagsOfKind=function(e,t){return N(e).filter((function(e){return e.kind===t}))},e.getEffectiveTypeParameterDeclarations=function(t){if(e.isJSDocSignature(t))return e.emptyArray;if(e.isJSDocTypeAlias(t))return e.Debug.assert(314===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=C(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.isIdentifierOrPrivateIdentifier=function(e){return 78===e.kind||79===e.kind},e.isGetOrSetAccessorDeclaration=function(e){return 169===e.kind||168===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=F,e.isOptionalChainRoot=O,e.isExpressionOfOptionalChainRoot=function(e){return O(e.parent)&&e.parent.expression===e},e.isOutermostOptionalChain=function(e){return!F(e.parent)||O(e.parent)||e!==e.parent.expression},e.isNullishCoalesce=function(e){return 218===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=R,e.isNonNullChain=function(t){return e.isNonNullExpression(t)&&!!(32&t.flags)},e.isBreakOrContinueStatement=function(e){return 243===e.kind||242===e.kind},e.isNamedExportBindings=function(e){return 272===e.kind||271===e.kind},e.isUnparsedTextLike=M,e.isUnparsedNode=function(e){return M(e)||295===e.kind||299===e.kind},e.isJSDocPropertyLikeTag=function(e){return 336===e.kind||329===e.kind},e.isNode=function(e){return L(e.kind)},e.isNodeKind=L,e.isToken=function(e){return e.kind>=0&&e.kind<=157},e.isNodeArray=function(e){return e.hasOwnProperty("pos")&&e.hasOwnProperty("end")},e.isLiteralKind=j,e.isLiteralExpression=function(e){return j(e.kind)},e.isTemplateLiteralKind=B,e.isTemplateLiteralToken=function(e){return B(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 268:case 273:return e.parent.parent.isTypeOnly;case 266:return e.parent.isTypeOnly;case 265:case 263:return e.isTypeOnly;default:return!1}},e.isStringTextContainingNode=function(e){return 10===e.kind||B(e.kind)},e.isGeneratedIdentifier=function(t){return e.isIdentifier(t)&&(7&t.autoGenerateFlags)>0},e.isPrivateIdentifierPropertyDeclaration=z,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},e.isModifier=function(e){return U(e.kind)},e.isEntityName=function(e){var t=e.kind;return 158===t||78===t},e.isPropertyName=function(e){var t=e.kind;return 78===t||79===t||10===t||8===t||159===t},e.isBindingName=function(e){var t=e.kind;return 78===t||197===t||198===t},e.isFunctionLike=J,e.isFunctionLikeDeclaration=function(e){return e&&V(e.kind)},e.isFunctionLikeKind=H,e.isFunctionOrModuleBlock=function(t){return e.isSourceFile(t)||e.isModuleBlock(t)||e.isBlock(t)&&J(t.parent)},e.isClassElement=K,e.isClassLike=W,e.isStruct=function(e){return e&&255===e.kind},e.isAccessor=function(e){return e&&(168===e.kind||169===e.kind)},e.isMethodOrAccessor=function(e){switch(e.kind){case 166:case 168:case 169:return!0;default:return!1}},e.isTypeElement=G,e.isClassOrTypeElement=function(e){return G(e)||K(e)},e.isObjectLiteralElementLike=$,e.isTypeNode=function(t){return e.isTypeNodeKind(t.kind)},e.isFunctionOrConstructorTypeNode=function(e){switch(e.kind){case 175:case 176:return!0}return!1},e.isBindingPattern=Y,e.isAssignmentPattern=function(e){var t=e.kind;return 200===t||201===t},e.isArrayBindingElement=function(e){var t=e.kind;return 199===t||224===t},e.isDeclarationBindingElement=function(e){switch(e.kind){case 251:case 161:case 199:return!0}return!1},e.isBindingOrAssignmentPattern=function(e){return X(e)||Q(e)},e.isObjectBindingOrAssignmentPattern=X,e.isArrayBindingOrAssignmentPattern=Q,e.isPropertyAccessOrQualifiedNameOrImportTypeNode=function(e){var t=e.kind;return 202===t||158===t||196===t},e.isPropertyAccessOrQualifiedName=function(e){var t=e.kind;return 202===t||158===t},e.isCallLikeExpression=function(e){switch(e.kind){case 278:case 277:case 204:case 205:case 206:case 162:case 211:return!0;default:return!1}},e.isCallOrNewExpression=function(e){return 204===e.kind||205===e.kind},e.isTemplateLiteral=function(e){var t=e.kind;return 220===t||14===t},e.isLeftHandSideExpression=function(e){return Z(R(e).kind)},e.isUnaryExpression=function(e){return ee(R(e).kind)},e.isUnaryExpressionWithWrite=function(e){switch(e.kind){case 217:return!0;case 216:return 45===e.operator||46===e.operator;default:return!1}},e.isExpression=te,e.isAssertionExpression=function(e){var t=e.kind;return 207===t||226===t},e.isNotEmittedOrPartiallyEmittedNode=function(t){return e.isNotEmittedStatement(t)||e.isPartiallyEmittedExpression(t)},e.isIterationStatement=function e(t,r){switch(t.kind){case 239:case 240:case 241:case 237:case 238:return!0;case 247:return r&&e(t.statement,r)}return!1},e.isScopeMarker=re,e.hasScopeMarker=function(t){return e.some(t,re)},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 240===e.kind||241===e.kind},e.isConciseBody=function(t){return e.isBlock(t)||te(t)},e.isFunctionBody=function(t){return e.isBlock(t)},e.isForInitializer=function(t){return e.isVariableDeclarationList(t)||te(t)},e.isModuleBody=function(e){var t=e.kind;return 260===t||259===t||78===t},e.isNamespaceBody=function(e){var t=e.kind;return 260===t||259===t},e.isJSDocNamespaceBody=function(e){var t=e.kind;return 78===t||259===t},e.isNamedImportBindings=function(e){var t=e.kind;return 267===t||266===t},e.isModuleOrEnumDeclaration=function(e){return 259===e.kind||258===e.kind},e.isDeclaration=ae,e.isDeclarationStatement=function(e){return ne(e.kind)},e.isStatementButNotDeclaration=function(e){return ie(e.kind)},e.isStatement=function(t){var r=t.kind;return ie(r)||ne(r)||function(t){if(232!==t.kind)return!1;if(void 0!==t.parent&&(249===t.parent.kind||290===t.parent.kind))return!1;return!e.isFunctionBlock(t)}(t)},e.isStatementOrBlock=function(e){var t=e.kind;return ie(t)||ne(t)||232===t},e.isModuleReference=function(e){var t=e.kind;return 275===t||158===t||78===t},e.isJsxTagNameExpression=function(e){var t=e.kind;return 108===t||78===t||202===t},e.isJsxChild=function(e){var t=e.kind;return 276===t||286===t||277===t||11===t||280===t},e.isJsxAttributeLike=function(e){var t=e.kind;return 283===t||285===t},e.isStringLiteralOrJsxExpression=function(e){var t=e.kind;return 10===t||286===t},e.isJsxOpeningLikeElement=function(e){var t=e.kind;return 278===t||277===t},e.isCaseOrDefaultClause=function(e){var t=e.kind;return 287===t||288===t},e.isJSDocNode=function(e){return e.kind>=304&&e.kind<=336},e.isJSDocCommentContainingNode=function(t){return 314===t.kind||313===t.kind||oe(t)||e.isJSDocTypeLiteral(t)||e.isJSDocSignature(t)},e.isJSDocTag=oe,e.isSetAccessor=function(e){return 169===e.kind},e.isGetAccessor=function(e){return 168===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 251:case 161:case 199:case 163:case 164:case 291:case 294:return!0;default:return!1}},e.isObjectLiteralElement=function(e){return 283===e.kind||285===e.kind||$(e)},e.isTypeReferenceType=function(e){return 174===e.kind||225===e.kind};var se=1073741823;e.guessIndentation=function(t){for(var r=se,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===se?void 0:r},e.isStringLiteralLike=function(e){return 10===e.kind||14===e.kind}}(d||(d={})),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.createUnderscoreEscapedMap=function(){return new e.Map},e.hasEntries=function(e){return!!e&&!!e.size},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!!(33554432&e.flags)};var t,r,n=(t="",{getText:function(){return t},write:r=function(e){return t+=e},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:e.noop,reportInaccessibleThisError:e.noop,reportInaccessibleUniqueSymbolError:e.noop,reportPrivateInBaseOfClassExpression:e.noop});function o(t,r){return e.moduleResolutionOptionDeclarations.some((function(e){return!fi(Nn(t,e),Nn(r,e))}))}function s(e){return e.end-e.pos}function c(t){return function(t){if(!(524288&t.flags)){(!!(65536&t.flags)||e.forEachChild(t,c))&&(t.flags|=262144),t.flags|=524288}}(t),!!(262144&t.flags)}function l(e){for(;e&&300!==e.kind;)e=e.parent;return e}function u(t){var r=ht(t,201);return void 0!==r&&void 0!==r.parent&&e.isPropertyAssignment(r.parent)}function d(t,r){var n=[];return!(!t||!t.length)&&(t.forEach((function(t){var i,a,o=t.expression;e.isCallExpression(o)&&e.isIdentifier(o.expression)&&(null===(a=null===(i=r.ets)||void 0===i?void 0:i.extend.decorator)||void 0===a?void 0:a.includes(o.expression.escapedText.toString()))&&n.push(o.expression.escapedText.toString())})),0!==n.length)}function p(t,r){var n=[];return!(!t||!t.length)&&(t.forEach((function(t){var i,a,o=t.expression;e.isIdentifier(o)&&o.escapedText.toString()===(null===(a=null===(i=r.ets)||void 0===i?void 0:i.styles)||void 0===a?void 0:a.decorator)&&n.push(o.escapedText.toString())})),0!==n.length)}function f(t,r){var n=[];return!(!t||!t.length)&&(t.forEach((function(t){var i,a,o=t.expression;e.isIdentifier(o)&&o.escapedText.toString()===(null===(a=null===(i=r.ets)||void 0===i?void 0:i.render)||void 0===a?void 0:a.decorator)&&n.push(o.escapedText.toString())})),0!==n.length)}function m(t,r){var n=[];return!(!t||!t.length)&&(t.forEach((function(t){var i,a,o=t.expression;e.isIdentifier(o)&&o.escapedText.toString()===(null===(a=null===(i=r.ets)||void 0===i?void 0:i.concurrent)||void 0===a?void 0:a.decorator)&&n.push(o.escapedText.toString())})),0!==n.length)}function g(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 _(e){return void 0===e||!e.virtual&&(e.pos===e.end&&e.pos>=0&&1!==e.kind)}function h(e){return!_(e)}function y(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,i([n,0],t)),e}function v(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 b(e){return X(e)||!!(1048576&T(e))}function k(e,t){return 42===e.charCodeAt(t+1)&&33===e.charCodeAt(t+2)}function x(t,r,n){return _(t)?t.pos:e.isJSDocNode(t)||11===t.kind?e.skipTrivia((r||l(t)).text,t.pos,!1,!0):n&&e.hasJSDocNodes(t)?x(t.jsDoc[0],r):337===t.kind&&t._children.length>0?x(t._children[0],r,n):t.virtual?t.pos:e.skipTrivia((r||l(t)).text,t.pos)}function E(e,t,r){return void 0===r&&(r=!1),S(e.text,t,r)}function S(t,r,n){if(void 0===n&&(n=!1),_(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.replace(/(^|\r?\n|\r)\s*\*\s*/g,"$1")),i}function D(e,t){return void 0===t&&(t=!1),E(l(e),e,t)}function w(e){return e.pos}function T(e){var t=e.emitNode;return t&&t.flags||0}function C(e){var t=It(e);return 251===t.kind&&290===t.parent.kind}function A(t){return e.isModuleDeclaration(t)&&(10===t.name.kind||P(t))}function N(t){return e.isModuleDeclaration(t)||e.isIdentifier(t)}function P(e){return!!(1024&e.flags)}function I(e){return A(e)&&F(e)}function F(t){switch(t.parent.kind){case 300:return e.isExternalModule(t.parent);case 260:return A(t.parent.parent)&&e.isSourceFile(t.parent.parent.parent)&&!e.isExternalModule(t.parent.parent.parent)}return!1}function O(t,r){switch(t.kind){case 300:case 261:case 290:case 259:case 239:case 240:case 241:case 167:case 166:case 168:case 169:case 253:case 209:case 210:return!0;case 232:return!e.isFunctionLike(r)}return!1}function R(t){switch(t.kind){case 170:case 171:case 165:case 172:case 175:case 176:case 311:case 254:case 255:case 223:case 256:case 257:case 333:case 253:case 166:case 167:case 168:case 169:case 209:case 210:return!0;default:return e.assertType(t),!1}}function M(e){switch(e.kind){case 264:case 263:return!0;default:return!1}}function L(t){return M(t)||e.isExportDeclaration(t)}function j(e){return e&&e.virtual&&78===e.kind?e.escapedText.toString():e&&0!==s(e)?D(e):"(Missing)"}function B(t){switch(t.kind){case 78:case 79:return t.escapedText;case 10:case 8:case 14:return e.escapeLeadingUnderscores(t.text);case 159:return xt(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 z(t){switch(t.kind){case 108:return"this";case 79:case 78:return 0===s(t)?e.idText(t):D(t);case 158:return z(t.left)+"."+z(t.right);case 202:return e.isIdentifier(t.name)||e.isPrivateIdentifier(t.name)?z(t.expression)+"."+z(t.name):e.Debug.assertNever(t.name);default:return e.Debug.assertNever(t)}}function U(e,t,r,n,i,a,o){var s=H(e,t);return vn(e,s.start,s.length,r,n,i,a,o)}function q(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 q(e,t,r),{file:e,start:t,length:r,code:n.code,category:n.category,messageText:n.next?n:n.messageText,relatedInformation:i}}function V(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 H(t,r){var n=r;switch(r.kind){case 300:var i=e.skipTrivia(t.text,0,!1);return i===t.text.length?e.createTextSpan(0,0):V(t,i);case 251:case 199:case 254:case 223:case 255:case 256:case 259:case 258:case 294:case 253:case 209:case 166:case 168:case 169:case 257:case 164:case 163:n=r.name;break;case 210:return function(t,r){var n=e.skipTrivia(t.text,r.pos);if(r.body&&232===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,g(i,t)-n+1)}return e.createTextSpanFromBounds(n,r.end)}(t,r);case 287:case 288: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 V(t,r.pos);e.Debug.assert(!e.isJSDoc(n));var s=_(n),c=s||e.isJsxText(r)||r.virtual?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 K(e){return 6===e.scriptKind}function W(e){return!!e}function G(t){return!!(2&e.getCombinedNodeFlags(t))}function $(e){return 204===e.kind&&100===e.expression.kind}function Y(t){return e.isImportTypeNode(t)&&e.isLiteralTypeNode(t.argument)&&e.isStringLiteral(t.argument.literal)}function X(e){return 235===e.kind&&10===e.expression.kind}function Q(e){return!!(1048576&T(e))}function Z(t){return e.isIdentifier(t.name)&&!t.initializer}e.changesAffectModuleResolution=function(e,t){return e.configFilePath!==t.configFilePath||o(e,t)},e.optionsHaveModuleResolutionChanges=o,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=n.getText();try{return e(n),n.getText()}finally{n.clear(),n.writeKeyword(t)}},e.getFullWidth=s,e.getResolvedModule=function(e,t){return e&&e.resolvedModules&&e.resolvedModules.get(t)},e.setResolvedModule=function(t,r,n){t.resolvedModules||(t.resolvedModules=new e.Map),t.resolvedModules.set(r,n)},e.setResolvedTypeReferenceDirective=function(t,r,n){t.resolvedTypeReferenceDirectiveNames||(t.resolvedTypeReferenceDirectiveNames=new e.Map),t.resolvedTypeReferenceDirectiveNames.set(r,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&&(r=e.packageId,n=t.packageId,r===n||!!r&&!!n&&r.name===n.name&&r.subModuleName===n.subModuleName&&r.version===n.version);var r,n},e.packageIdToString=function(e){var t=e.name,r=e.subModuleName;return(r?t+"/"+r:t)+"@"+e.version},e.typeDirectiveIsEqualTo=function(e,t){return e.resolvedFileName===t.resolvedFileName&&e.primary===t.primary},e.hasChangesInResolutions=function(t,r,n,i){e.Debug.assert(t.length===r.length);for(var a=0;a<t.length;a++){var o=r[a],s=n&&n.get(t[a]);if(s?!o||!i(s,o):o)return!0}return!1},e.containsParseError=c,e.getSourceFileOfNode=l,e.isTokenInsideBuilder=function(e,t){var r,n,i,a=null!==(i=null===(n=null===(r=t.ets)||void 0===r?void 0:r.render)||void 0===n?void 0:n.decorator)&&void 0!==i?i:"Builder";if(!e)return!1;for(var o=0,s=e;o<s.length;o++){var c=s[o];if(78===c.expression.kind&&c.expression.escapedText===a)return!0}return!1},e.getEtsComponentExpressionInnerCallExpressionNode=function(e){for(;e&&211!==e.kind;)e=204===e.kind||202===e.kind?e.expression:void 0;return e},e.getRootEtsComponentInnerCallExpressionNode=function(t){if(t&&e.isEtsComponentExpression(t))return t;for(;t;){var r=ht(e.isCallExpression(t)?t.parent:t,204),n=yt(r);if(n&&u(t))return n;t=null!=r?r:t.parent}},e.getEtsExtendDecoratorComponentNames=function(e,t){var r,n,i=[],a=null===(n=null===(r=t.ets)||void 0===r?void 0:r.extend)||void 0===n?void 0:n.decorator;return null==e||e.forEach((function(e){if(204===e.expression.kind){var t=e.expression.expression,r=e.expression.arguments;78===t.kind&&(null==a?void 0:a.includes(t.escapedText.toString()))&&r.length&&78===r[0].kind&&i.push(r[0].escapedText)}})),i},e.getEtsStylesDecoratorComponentNames=function(e,t){var r,n,i,a=[],o=null!==(i=null===(n=null===(r=t.ets)||void 0===r?void 0:r.styles)||void 0===n?void 0:n.decorator)&&void 0!==i?i:"Styles";return null==e||e.forEach((function(e){if(78===e.expression.kind){var t=e.expression;78===t.kind&&t.escapedText===o&&a.push(t.escapedText)}})),a},e.filterEtsExtendDecoratorComponentNamesByOptions=function(t,r){var n;if(!t.length)return[];var i=[];return null===(n=r.ets)||void 0===n||n.extend.components.forEach((function(r){var n=r.name;n===e.last(t)&&i.push(n)})),i},e.hasEtsExtendDecoratorNames=d,e.hasEtsStylesDecoratorNames=p,e.hasEtsBuildDecoratorNames=function(t,r){var n=[];return!(!t||!t.length)&&(t.forEach((function(t){var i,a,o=t.expression;e.isIdentifier(o)&&-1!==(null===(a=null===(i=r.ets)||void 0===i?void 0:i.render)||void 0===a?void 0:a.method.indexOf(o.escapedText.toString()))&&n.push(o.escapedText.toString())})),0!==n.length)},e.hasEtsBuilderDecoratorNames=f,e.hasEtsConcurrentDecoratorNames=m,e.isStatementWithLocals=function(e){switch(e.kind){case 232:case 261:case 239:case 240:case 241: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 r.fileName+"("+(n.line+1)+","+(n.character+1)+")"},e.getEndLinePosition=g,e.isFileLevelUniqueName=function(e,t,r){return!(r&&r(t)||e.identifiers.has(t))},e.nodeIsMissing=_,e.nodeIsPresent=h,e.insertStatementsAfterStandardPrologue=function(e,t){return y(e,t,X)},e.insertStatementsAfterCustomPrologue=function(e,t){return y(e,t,b)},e.insertStatementAfterStandardPrologue=function(e,t){return v(e,t,X)},e.insertStatementAfterCustomPrologue=function(e,t){return v(e,t,b)},e.getEtsLibs=function(t){var r,n,i=[],a=null!==(n=null===(r=t.getCompilerOptions().ets)||void 0===r?void 0:r.libs)&&void 0!==n?n:[];return a.length&&e.forEach(a,(function(r){i.push(e.sys.resolvePath(r));var n=function(t,r){if(!r)return;for(var n=e.sys.resolvePath(r),i=0,a=t.getSourceFiles();i<a.length;i++){var o=a[i];if(o.fileName)if(e.sys.resolvePath(o.fileName)===n)return o}return}(t,r);e.forEach(null==n?void 0:n.referencedFiles,(function(t){var r=e.sys.resolvePath(e.resolveTripleslashReference(t.fileName,n.fileName));i.push(r)}))})),i},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!!(i.match(e.fullTripleSlashReferencePathRegEx)||i.match(e.fullTripleSlashAMDReferencePathRegEx)||i.match(ee)||i.match(te))}return!1},e.isPinnedComment=k,e.createCommentDirectivesMap=function(t,r){var n=new e.Map(r.map((function(r){return[""+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){e[0];return e[1]}))},markUsed:function(e){if(!n.has(""+e))return!1;return i.set(""+e,!0),!0}}},e.getTokenPosOfNode=x,e.getNonDecoratorTokenPosOfNode=function(t,r){return _(t)||!t.decorators?x(t,r):e.skipTrivia((r||l(t)).text,t.decorators.end)},e.getSourceTextOfNodeFromSourceFile=E,e.isExportNamespaceAsDefaultDeclaration=function(t){return!!(e.isExportDeclaration(t)&&t.exportClause&&e.isNamespaceExport(t.exportClause)&&"default"===t.exportClause.name.escapedText)},e.getTextOfNodeFromSourceText=S,e.getTextOfNode=D,e.indexOfNode=function(t,r){return e.binarySearch(t,r,w,e.compareValues)},e.getEmitFlags=T,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},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"]},esnext:{PromiseConstructor:["any"],String:["replaceAll"],NumberFormat:["formatToParts"]}}},function(e){e[e.None=0]="None",e[e.NeverAsciiEscape=1]="NeverAsciiEscape",e[e.JsxAttributeEscape=2]="JsxAttributeEscape",e[e.TerminateUnterminatedLiterals=4]="TerminateUnterminatedLiterals",e[e.AllowNumericSeparator=8]="AllowNumericSeparator"}(e.GetLiteralTextFlags||(e.GetLiteralTextFlags={})),e.getLiteralText=function(t,r,n){if(function(t,r){if(Ft(t)||!t.parent||4&r&&t.isUnterminated)return!1;if(e.isNumericLiteral(t)&&512&t.numericLiteralFlags)return!!(8&r);return!e.isBigIntLiteral(t)}(t,n))return E(r,t);switch(t.kind){case 10:var i=2&n?Qt:1&n||16777216&T(t)?Ht:Wt;return t.singleQuote?"'"+i(t.text,39)+"'":'"'+i(t.text,34)+'"';case 14:case 15:case 16:case 17:i=1&n||16777216&T(t)?Ht:Wt;var a=t.rawText||function(e){return e.replace(jt,"\\${")}(i(t.text,96));switch(t.kind){case 14:return"`"+a+"`";case 15:return"`"+a+"${";case 16:return"}"+a+"${";case 17:return"}"+a+"`"}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 '"+t.kind+"' not accounted for.")},e.getTextOfConstantValue=function(t){return e.isString(t)?'"'+Wt(t)+'"':""+t},e.makeIdentifierFromModuleName=function(t){return e.getBaseFileName(t).replace(/^(\d)/,"_$1").replace(/\W/g,"_")},e.isBlockOrCatchScoped=function(t){return!!(3&e.getCombinedNodeFlags(t))||C(t)},e.isCatchClauseVariableDeclarationOrBindingElement=C,e.isAmbientModule=A,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=N,e.isShorthandAmbientModuleSymbol=function(e){return(t=e.valueDeclaration)&&259===t.kind&&!t.body;var t},e.isBlockScopedContainerTopLevel=function(t){return 300===t.kind||259===t.kind||e.isFunctionLike(t)},e.isGlobalScopeAugmentation=P,e.isExternalModuleAugmentation=I,e.isModuleAugmentationExternal=F,e.getNonAugmentationDeclaration=function(t){return e.find(t.declarations,(function(t){return!(I(t)||e.isModuleDeclaration(t)&&P(t))}))},e.isEffectiveExternalModule=function(t,r){return e.isExternalModule(t)||r.isolatedModules||wn(r)===e.ModuleKind.CommonJS&&!!t.commonJsModuleIndicator},e.isEffectiveStrictModeSourceFile=function(t,r){switch(t.scriptKind){case 1:case 3:case 2:case 4:case 8:break;default:return!1}return!t.isDeclarationFile&&(!!Cn(r,"alwaysStrict")||(!!e.startsWithUseStrict(t.statements)||!(!e.isExternalModule(t)&&!r.isolatedModules)&&(wn(r)>=e.ModuleKind.ES2015||!r.noImplicitUseStrict)))},e.isBlockScope=O,e.isDeclarationWithTypeParameters=function(t){switch(t.kind){case 327:case 334:case 316:return!0;default:return e.assertType(t),R(t)}},e.isDeclarationWithTypeParameterChildren=R,e.isAnyImportSyntax=M,e.isLateVisibilityPaintedStatement=function(e){switch(e.kind){case 264:case 263:case 234:case 254:case 255:case 253:case 259:case 257:case 256:case 258:return!0;default:return!1}},e.hasPossibleExternalModuleReference=function(t){return L(t)||e.isModuleDeclaration(t)||e.isImportTypeNode(t)||$(t)},e.isAnyImportOrReExport=L,e.getEnclosingBlockScopeContainer=function(t){return e.findAncestor(t.parent,(function(e){return O(e,e.parent)}))},e.declarationNameToString=j,e.getNameFromIndexInfo=function(e){return e.declaration?j(e.declaration.parameters[0].name):void 0},e.isComputedNonLiteralName=function(e){return 159===e.kind&&!xt(e.expression)},e.getTextOfPropertyName=B,e.entityNameToString=z,e.createDiagnosticForNode=function(e,t,r,n,i,a){return U(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 vn(t,c,r.end-c,n,i,a,o,s)},e.createDiagnosticForNodeInSourceFile=U,e.createDiagnosticForNodeFromMessageChain=function(e,t,r){var n=l(e),i=H(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.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=V,e.getErrorSpanForNode=H,e.isExternalOrCommonJsModule=function(e){return void 0!==(e.externalModuleIndicator||e.commonJsModuleIndicator)},e.isJsonSourceFile=K,e.isEmitNodeModulesFiles=W,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=G,e.isLet=function(t){return!!(1&e.getCombinedNodeFlags(t))},e.isSuperCall=function(e){return 204===e.kind&&106===e.expression.kind},e.isImportCall=$,e.isImportMeta=function(t){return e.isMetaProperty(t)&&100===t.keywordToken&&"meta"===t.name.escapedText},e.isLiteralImportTypeNode=Y,e.isPrologueDirective=X,e.isCustomPrologue=Q,e.isHoistedFunction=function(t){return Q(t)&&e.isFunctionDeclaration(t)},e.isHoistedVariableStatement=function(t){return Q(t)&&e.isVariableStatement(t)&&e.every(t.declarationList.declarations,Z)},e.getJSDocCommentRanges=function(t,r){var n=161===t.kind||160===t.kind||209===t.kind||210===t.kind||208===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*)('|")(.+?)\2.*?\/>/;var ee=/^(\/\/\/\s*<reference\s+types\s*=\s*)('|")(.+?)\2.*?\/>/;e.fullTripleSlashAMDReferencePathRegEx=/^(\/\/\/\s*<amd-dependency\s+path\s*=\s*)('|")(.+?)\2.*?\/>/;var te=/^(\/\/\/\s*<reference\s+no-default-lib\s*=\s*)('|")(.+?)\2\s*\/>/;function re(t){if(173<=t.kind&&t.kind<=196)return!0;switch(t.kind){case 129:case 153:case 145:case 156:case 148:case 132:case 149:case 146:case 151:case 142:return!0;case 114:return 214!==t.parent.kind;case 225:return!Ur(t);case 160:return 191===t.parent.kind||186===t.parent.kind;case 78:(158===t.parent.kind&&t.parent.right===t||202===t.parent.kind&&t.parent.name===t)&&(t=t.parent),e.Debug.assert(78===t.kind||158===t.kind||202===t.kind,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 158:case 202:case 108:var r=t.parent;if(177===r.kind)return!1;if(196===r.kind)return!r.isTypeOf;if(173<=r.kind&&r.kind<=196)return!0;switch(r.kind){case 225:return!Ur(r);case 160:case 333:return t===r.constraint;case 164:case 163:case 161:case 251:case 253:case 209:case 210:case 167:case 166:case 165:case 168:case 169:case 170:case 171:case 172:case 207:return t===r.type;case 204:case 205:return e.contains(r.typeArguments,t);case 206:return!1}}return!1}function ne(e){if(e)switch(e.kind){case 199:case 294:case 161:case 291:case 164:case 163:case 292:case 251:return!0}return!1}function ie(e){return 252===e.parent.kind&&234===e.parent.parent.kind}function ae(e,t,r){return e.properties.filter((function(e){if(291===e.kind){var n=B(e.name);return t===n||!!r&&r===n}return!1}))}function oe(t){if(t&&t.statements.length){var r=t.statements[0].expression;return e.tryCast(r,e.isObjectLiteralExpression)}}function se(t,r){var n=oe(t);return n?ae(n,r):e.emptyArray}function ce(t){return e.findAncestor(t.parent,e.isFunctionLikeDeclaration)}function le(t){return e.findAncestor(t.parent,e.isClassLike)}function ue(t,r){for(e.Debug.assert(300!==t.kind);;){if(!(t=t.parent))return e.Debug.fail();switch(t.kind){case 159:if(e.isClassLike(t.parent.parent))return t;t=t.parent;break;case 162:161===t.parent.kind&&e.isClassElement(t.parent.parent)?t=t.parent.parent:e.isClassElement(t.parent)&&(t=t.parent);break;case 210:if(!r)continue;case 253:case 209:case 259:case 164:case 163:case 166:case 165:case 167:case 168:case 169:case 170:case 171:case 172:case 258:case 300:return t}}}function de(e){var t=e.kind;return(202===t||203===t)&&106===e.expression.kind}function pe(e){switch(e.kind){case 206:return e.tag;case 278:case 277:return e.tagName;default:return e.expression}}function fe(t,r,n,i){if(e.isNamedDeclaration(t)&&e.isPrivateIdentifier(t.name))return!1;switch(t.kind){case 254:case 255:return!0;case 164:return 254===r.kind||255===r.kind;case 168:case 169:case 166:return void 0!==t.body&&(254===r.kind||255===r.kind);case 161:return!(void 0===r.body||167!==r.kind&&166!==r.kind&&169!==r.kind||254!==n.kind&&255!==n.kind);case 253:if(i)return d(t.decorators,i)||p(t.decorators,i)||f(t.decorators,i)||m(t.decorators,i)}return!1}function me(e,t,r){return void 0!==e.decorators&&fe(e,t,r)}function ge(e,t,r){return me(e,t,r)||_e(e,t)}function _e(t,r){switch(t.kind){case 254:case 255:return e.some(t.members,(function(e){return ge(e,t,r)}));case 166:case 169:return e.some(t.parameters,(function(e){return me(e,t,r)}));default:return!1}}function he(e){var t=e.parent;return(278===t.kind||277===t.kind||279===t.kind)&&t.tagName===e}function ye(e){switch(e.kind){case 106:case 104:case 110:case 95:case 13:case 200:case 201:case 202:case 211:case 203:case 204:case 205:case 206:case 226:case 207:case 227:case 208:case 209:case 223:case 210:case 214:case 212:case 213:case 216:case 217:case 218:case 219:case 222:case 220:case 224:case 276:case 277:case 280:case 221:case 215:case 228:return!0;case 158:for(;158===e.parent.kind;)e=e.parent;return 177===e.parent.kind||he(e);case 78:if(177===e.parent.kind||he(e))return!0;case 8:case 9:case 10:case 14:case 108:return ve(e);default:return!1}}function ve(e){var t=e.parent;switch(t.kind){case 251:case 161:case 164:case 163:case 294:case 291:case 199:return t.initializer===e;case 235:case 236:case 237:case 238:case 244:case 245:case 246:case 287:case 248:return t.expression===e;case 239:var r=t;return r.initializer===e&&252!==r.initializer.kind||r.condition===e||r.incrementor===e;case 240:case 241:var n=t;return n.initializer===e&&252!==n.initializer.kind||n.expression===e;case 207:case 226:case 230:case 159:return e===t.expression;case 162:case 286:case 285:case 293:return!0;case 225:return t.expression===e&&Ur(t);case 292:return t.objectAssignmentInitializer===e;default:return ye(t)}}function be(e){for(;158===e.kind||78===e.kind;)e=e.parent;return 177===e.kind}function ke(e){return 263===e.kind&&275===e.moduleReference.kind}function xe(e){return Ee(e)}function Ee(e){return!!e&&!!(131072&e.flags)}function Se(t,r){if(204!==t.kind)return!1;var n=t,i=n.expression,a=n.arguments;if(78!==i.kind||"require"!==i.escapedText)return!1;if(1!==a.length)return!1;var o=a[0];return!r||e.isStringLiteralLike(o)}function De(t,r){return 199===t.kind&&(t=t.parent.parent),e.isVariableDeclaration(t)&&!!t.initializer&&Se(sn(t.initializer),r)}function we(t){return e.isBinaryExpression(t)||on(t)||e.isIdentifier(t)||e.isCallExpression(t)}function Te(t){return Ee(t)&&t.initializer&&e.isBinaryExpression(t.initializer)&&(56===t.initializer.operatorToken.kind||60===t.initializer.operatorToken.kind)&&t.name&&qr(t.name)&&Ae(t.name,t.initializer.left)?t.initializer.right:t.initializer}function Ce(t,r){if(e.isCallExpression(t)){var n=ct(t.expression);return 209===n.kind||210===n.kind?t:void 0}return 209===t.kind||223===t.kind||210===t.kind||e.isObjectLiteralExpression(t)&&(0===t.properties.length||r)?t:void 0}function Ae(t,r){if(Ct(t)&&Ct(r))return At(t)===At(r);if(e.isIdentifier(t)&&Me(r)&&(108===r.expression.kind||e.isIdentifier(r.expression)&&("window"===r.expression.escapedText||"self"===r.expression.escapedText||"global"===r.expression.escapedText))){var n=Ue(r);return e.isPrivateIdentifier(n)&&e.Debug.fail("Unexpected PrivateIdentifier in name expression with literal-like access."),Ae(t,n)}return!(!Me(t)||!Me(r))&&(Je(t)===Je(r)&&Ae(t.expression,r.expression))}function Ne(e){for(;zr(e,!0);)e=e.right;return e}function Pe(t){return e.isIdentifier(t)&&"exports"===t.escapedText}function Ie(t){return e.isIdentifier(t)&&"module"===t.escapedText}function Fe(t){return(e.isPropertyAccessExpression(t)||Le(t))&&Ie(t.expression)&&"exports"===Je(t)}function Oe(t){var r=function(t){if(e.isCallExpression(t)){if(!Re(t))return 0;var r=t.arguments[0];return Pe(r)||Fe(r)?8:je(r)&&"prototype"===Je(r)?9:7}if(62!==t.operatorToken.kind||!on(t.left)||(n=Ne(t),e.isVoidExpression(n)&&e.isNumericLiteral(n.expression)&&"0"===n.expression.text))return 0;var n;if(ze(t.left.expression,!0)&&"prototype"===Je(t.left)&&e.isObjectLiteralExpression(He(t)))return 6;return Ve(t.left)}(t);return 5===r||Ee(t)?r:0}function Re(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)&&xt(t.arguments[1])&&ze(t.arguments[0],!0)}function Me(t){return e.isPropertyAccessExpression(t)||Le(t)}function Le(t){return e.isElementAccessExpression(t)&&(xt(t.argumentExpression)||wt(t.argumentExpression))}function je(t,r){return e.isPropertyAccessExpression(t)&&(!r&&108===t.expression.kind||e.isIdentifier(t.name)&&ze(t.expression,!0))||Be(t,r)}function Be(e,t){return Le(e)&&(!t&&108===e.expression.kind||qr(e.expression)||je(e.expression,!0))}function ze(e,t){return qr(e)||je(e,t)}function Ue(t){return e.isPropertyAccessExpression(t)?t.name:t.argumentExpression}function qe(t){if(e.isPropertyAccessExpression(t))return t.name;var r=ct(t.argumentExpression);return e.isNumericLiteral(r)||e.isStringLiteralLike(r)?r:t}function Je(t){var r=qe(t);if(r){if(e.isIdentifier(r))return r.escapedText;if(e.isStringLiteralLike(r)||e.isNumericLiteral(r))return e.escapeLeadingUnderscores(r.text)}if(e.isElementAccessExpression(t)&&wt(t.argumentExpression))return Nt(e.idText(t.argumentExpression.name))}function Ve(t){if(108===t.expression.kind)return 4;if(Fe(t))return 2;if(ze(t.expression,!0)){if(Vr(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"===Je(r))&&je(t))return 1;if(ze(t,!0)||e.isElementAccessExpression(t)&&Dt(t))return 5}return 0}function He(t){for(;e.isBinaryExpression(t.right);)t=t.right;return t.right}function Ke(t){switch(t.parent.kind){case 264:case 270:return t.parent;case 275:return t.parent.parent;case 204:return $(t.parent)||Se(t.parent,!1)?t.parent:void 0;case 192:return e.Debug.assert(e.isStringLiteral(t)),e.tryCast(t.parent.parent,e.isImportTypeNode);default:return}}function We(t){switch(t.kind){case 264:case 270:return t.moduleSpecifier;case 263:return 275===t.moduleReference.kind?t.moduleReference.expression:void 0;case 196:return Y(t)?t.argument.literal:void 0;case 204:return t.arguments[0];case 259:return 10===t.name.kind?t.name:void 0;default:return e.Debug.assertNever(t)}}function Ge(e){return 334===e.kind||327===e.kind||328===e.kind}function $e(t){return e.isExpressionStatement(t)&&e.isBinaryExpression(t.expression)&&0!==Oe(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 Ye(e){switch(e.kind){case 234:var t=Xe(e);return t&&t.initializer;case 164:case 291:return e.initializer}}function Xe(t){return e.isVariableStatement(t)?e.firstOrUndefined(t.declarationList.declarations):void 0}function Qe(t){return e.isModuleDeclaration(t)&&t.body&&259===t.body.kind?t.body:void 0}function Ze(t){var r=t.parent;return 291===r.kind||269===r.kind||164===r.kind||235===r.kind&&202===t.kind||Qe(r)||e.isBinaryExpression(t)&&62===t.operatorToken.kind?r:r.parent&&(Xe(r.parent)===t||e.isBinaryExpression(r)&&62===r.operatorToken.kind)?r.parent:r.parent&&r.parent.parent&&(Xe(r.parent.parent)||Ye(r.parent.parent)===t||$e(r.parent.parent))?r.parent.parent:void 0}function et(t){var r=tt(t);return r&&e.isFunctionLike(r)?r:void 0}function tt(t){var r=rt(t);if(r)return $e(r)||function(t){return e.isExpressionStatement(t)&&e.isBinaryExpression(t.expression)&&62===t.expression.operatorToken.kind?Ne(t.expression):void 0}(r)||Ye(r)||Xe(r)||Qe(r)||r}function rt(t){var r=nt(t);if(r){var n=r.parent;return n&&n.jsDoc&&r===e.lastOrUndefined(n.jsDoc)?n:void 0}}function nt(t){return e.findAncestor(t.parent,e.isJSDoc)}function it(t){var r=e.isJSDocParameterTag(t)?t.typeExpression&&t.typeExpression.type:t.type;return void 0!==t.dotDotDotToken||!!r&&312===r.kind}function at(e){for(var t=e.parent;;){switch(t.kind){case 218:var r=t.operatorToken.kind;return Lr(r)&&t.left===e?62===r||Mr(r)?1:2:0;case 216:case 217:var n=t.operator;return 45===n||46===n?2:0;case 240:case 241:return t.initializer===e?1:0;case 208:case 200:case 222:case 227:e=t;break;case 292:if(t.name!==e)return 0;e=t.parent;break;case 291:if(t.name===e)return 0;e=t.parent;break;default:return 0}t=e.parent}}function ot(e,t){for(;e&&e.kind===t;)e=e.parent;return e}function st(e){return ot(e,208)}function ct(t){return e.skipOuterExpressions(t,1)}function lt(t){return qr(t)||e.isClassExpression(t)}function ut(e){return lt(dt(e))}function dt(t){return e.isExportAssignment(t)?t.expression:t.right}function pt(t){var r=ft(t);if(r&&Ee(t)){var n=e.getJSDocAugmentsTag(t);if(n)return n.class}return r}function ft(e){var t=_t(e.heritageClauses,94);return t&&t.types.length>0?t.types[0]:void 0}function mt(t){if(Ee(t))return e.getJSDocImplementsTags(t).map((function(e){return e.class}));var r=_t(t.heritageClauses,117);return null==r?void 0:r.types}function gt(e){var t=_t(e.heritageClauses,94);return t?t.types:void 0}function _t(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 ht(e,t){for(;e;){if(e.kind===t)return e;e=e.parent}}function yt(t){for(;t;){if(e.isEtsComponentExpression(t))return t;t=t.expression}}function vt(e){return 80<=e&&e<=157}function bt(e){return 126<=e&&e<=157}function kt(e){return vt(e)&&!bt(e)}function xt(t){return e.isStringLiteralLike(t)||e.isNumericLiteral(t)}function Et(t){return e.isPrefixUnaryExpression(t)&&(39===t.operator||40===t.operator)&&e.isNumericLiteral(t.operand)}function St(t){var r=e.getNameOfDeclaration(t);return!!r&&Dt(r)}function Dt(t){if(159!==t.kind&&203!==t.kind)return!1;var r=e.isElementAccessExpression(t)?ct(t.argumentExpression):t.expression;return!xt(r)&&!Et(r)&&!wt(r)}function wt(t){return e.isPropertyAccessExpression(t)&&Pt(t.expression)}function Tt(t){switch(t.kind){case 78:case 79:return t.escapedText;case 10:case 8:return e.escapeLeadingUnderscores(t.text);case 159:var r=t.expression;return wt(r)?Nt(e.idText(r.name)):xt(r)?e.escapeLeadingUnderscores(r.text):Et(r)?40===r.operator?e.tokenToString(r.operator)+r.operand.text:r.operand.text:void 0;default:return e.Debug.assertNever(t)}}function Ct(e){switch(e.kind){case 78:case 10:case 14:case 8:return!0;default:return!1}}function At(t){return e.isIdentifierOrPrivateIdentifier(t)?e.idText(t):t.text}function Nt(e){return"__@"+e}function Pt(e){return 78===e.kind&&"Symbol"===e.escapedText}function It(e){for(;199===e.kind;)e=e.parent.parent;return e}function Ft(e){return ui(e.pos)||ui(e.end)}function Ot(e,t,r){switch(e){case 205:return r?0:1;case 216:case 213:case 214:case 212:case 215:case 219:case 221:return 1;case 218:switch(t){case 42:case 62:case 63:case 64:case 66:case 65:case 67:case 68:case 69:case 70:case 71:case 72:case 77:case 73:case 74:case 75:case 76:return 1}}return 0}function Rt(e){return 218===e.kind?e.operatorToken.kind:216===e.kind||217===e.kind?e.operator:e.kind}function Mt(e,t,r){switch(e){case 340:return 0;case 222:return 1;case 221:return 2;case 219:return 4;case 218:switch(t){case 27:return 0;case 62:case 63:case 64:case 66:case 65:case 67:case 68:case 69:case 70:case 71:case 72:case 77:case 73:case 74:case 75:case 76:return 3;default:return Lt(t)}case 207:case 227:case 216:case 213:case 214:case 212:case 215:return 16;case 217:return 17;case 204:return 18;case 205:return r?19:18;case 206:case 202:case 203:return 19;case 226:return 11;case 108:case 106:case 78:case 104:case 110:case 95:case 8:case 9:case 10:case 200:case 201:case 209:case 210:case 223:case 13:case 14:case 220:case 208:case 224:case 276:case 277:case 280:return 20;default:return-1}}function Lt(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=re,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 244:return r(n);case 261:case 232:case 236:case 237:case 238:case 239:case 240:case 241:case 245:case 246:case 287:case 288:case 247:case 249:case 290:return e.forEachChild(n,t)}}(t)},e.forEachYieldExpression=function(t,r){return function t(n){switch(n.kind){case 221:r(n);var i=n.expression;return void(i&&t(i));case 258:case 256:case 259:case 257:return;default:if(e.isFunctionLike(n)){if(n.name&&159===n.name.kind)return void t(n.name.expression)}else re(n)||e.forEachChild(n,t)}}(t)},e.getRestParameterElementType=function(t){return t&&179===t.kind?t.elementType:t&&174===t.kind?e.singleOrUndefined(t.typeArguments):void 0},e.getMembersOfDeclaration=function(e){switch(e.kind){case 256:case 254:case 223:case 255:case 178:return e.members;case 201:return e.properties}},e.isVariableLike=ne,e.isVariableLikeOrAccessor=function(t){return ne(t)||e.isAccessor(t)},e.isVariableDeclarationInVariableStatement=ie,e.isValidESSymbolDeclaration=function(t){return e.isVariableDeclaration(t)?G(t)&&e.isIdentifier(t.name)&&ie(t):e.isPropertyDeclaration(t)?wr(t)&&Dr(t):e.isPropertySignature(t)&&wr(t)},e.introducesArgumentsExoticObject=function(e){switch(e.kind){case 166:case 165:case 167:case 168:case 169:case 253:case 209:return!0}return!1},e.unwrapInnermostStatementOfLabel=function(e,t){for(;;){if(t&&t(e),247!==e.statement.kind)return e.statement;e=e.statement}},e.isFunctionBlock=function(t){return t&&232===t.kind&&e.isFunctionLike(t.parent)},e.isObjectLiteralMethod=function(e){return e&&166===e.kind&&201===e.parent.kind},e.isObjectLiteralOrClassExpressionMethod=function(e){return 166===e.kind&&(201===e.parent.kind||223===e.parent.kind)},e.isIdentifierTypePredicate=function(e){return e&&1===e.kind},e.isThisTypePredicate=function(e){return e&&0===e.kind},e.getPropertyAssignment=ae,e.getPropertyArrayElementValue=function(t,r,n){return e.firstDefined(ae(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=oe,e.getTsConfigPropArrayElementValue=function(t,r,n){return e.firstDefined(se(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=se,e.getContainingFunction=function(t){return e.findAncestor(t.parent,e.isFunctionLike)},e.getContainingFunctionDeclaration=ce,e.getContainingClass=le,e.getContainingStruct=function(t){return e.findAncestor(t.parent,e.isStruct)},e.getThisContainer=ue,e.isInTopLevelContext=function(t){e.isIdentifier(t)&&(e.isClassDeclaration(t.parent)||e.isFunctionDeclaration(t.parent))&&t.parent.name===t&&(t=t.parent);var r=ue(t,!0);return e.isSourceFile(r)},e.getNewTargetContainer=function(e){var t=ue(e,!1);if(t)switch(t.kind){case 167:case 253:case 209:return t}},e.getSuperContainer=function(t,r){for(;;){if(!(t=t.parent))return t;switch(t.kind){case 159:t=t.parent;break;case 253:case 209:case 210:if(!r)continue;case 164:case 163:case 166:case 165:case 167:case 168:case 169:return t;case 162:161===t.parent.kind&&e.isClassElement(t.parent.parent)?t=t.parent.parent:e.isClassElement(t.parent)&&(t=t.parent)}}},e.getImmediatelyInvokedFunctionExpression=function(e){if(209===e.kind||210===e.kind){for(var t=e,r=e.parent;208===r.kind;)t=r,r=r.parent;if(204===r.kind&&r.expression===t)return r}},e.isSuperOrSuperProperty=function(e){return 106===e.kind||de(e)},e.isSuperProperty=de,e.isThisProperty=function(e){var t=e.kind;return(202===t||203===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.getEntityNameFromTypeNode=function(e){switch(e.kind){case 174:return e.typeName;case 225:return qr(e.expression)?e.expression:void 0;case 78:case 158:return e}},e.getInvokedExpression=pe,e.nodeCanBeDecorated=fe,e.nodeIsDecorated=me,e.nodeOrChildIsDecorated=ge,e.childIsDecorated=_e,e.isJSXTagName=he,e.isExpressionNode=ye,e.isInExpressionContext=ve,e.isPartOfTypeQuery=be,e.isExternalModuleImportEqualsDeclaration=ke,e.getExternalModuleImportEqualsDeclarationExpression=function(t){return e.Debug.assert(ke(t)),t.moduleReference.expression},e.getExternalModuleRequireArgument=function(e){return De(e,!0)&&sn(e.initializer).arguments[0]},e.isInternalModuleImportEqualsDeclaration=function(e){return 263===e.kind&&275!==e.moduleReference.kind},e.isSourceFileJS=xe,e.isSourceFileNotJS=function(e){return!Ee(e)},e.isInJSFile=Ee,e.isInJsonFile=function(e){return!!e&&!!(33554432&e.flags)},e.isSourceFileNotJson=function(e){return!K(e)},e.isInJSDoc=function(e){return!!e&&!!(4194304&e.flags)},e.isJSDocIndexSignature=function(t){return e.isTypeReferenceNode(t)&&e.isIdentifier(t.typeName)&&"Object"===t.typeName.escapedText&&t.typeArguments&&2===t.typeArguments.length&&(148===t.typeArguments[0].kind||145===t.typeArguments[0].kind)},e.isInETSFile=function(e){return!!e&&8===l(e).scriptKind},e.isInBuildOrPageTransitionContext=function(t,r){var n,i,a,o;if(!t)return!1;var s=null===(i=null===(n=r.ets)||void 0===n?void 0:n.render)||void 0===i?void 0:i.method,c=null===(o=null===(a=r.ets)||void 0===a?void 0:a.render)||void 0===o?void 0:o.decorator;if(!s&&!c)return!1;for(var l=ce(t),u=function(){if(s&&e.isMethodDeclaration(l)&&function(t){var r=le(t);return!!r&&e.isStruct(r)}(l)){var t=B(l.name).toString();if(s.some((function(e){return e===t})))return{value:!0}}if(c&&(e.isMethodDeclaration(l)||e.isFunctionDeclaration(l))&&l.decorators&&l.decorators.some((function(t){return e.isIdentifier(t.expression)&&B(t.expression).toString()===c})))return{value:!0};l=ce(l)};l;){var d=u();if("object"==typeof d)return d.value}return!1},e.isRequireCall=Se,e.isRequireVariableDeclaration=De,e.isRequireVariableStatement=function(t,r){return void 0===r&&(r=!0),e.isVariableStatement(t)&&t.declarationList.declarations.length>0&&e.every(t.declarationList.declarations,(function(e){return De(e,r)}))},e.isSingleOrDoubleQuote=function(e){return 39===e||34===e},e.isStringDoubleQuoted=function(e,t){return 34===E(t,e).charCodeAt(0)},e.isAssignmentDeclaration=we,e.getEffectiveInitializer=Te,e.getDeclaredExpandoInitializer=function(e){var t=Te(e);return t&&Ce(t,Vr(e.name))},e.getAssignedExpandoInitializer=function(t){if(t&&t.parent&&e.isBinaryExpression(t.parent)&&62===t.parent.operatorToken.kind){var r=Vr(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&&Ae(t,r.left))return i}(t.parent.left,t.parent.right,r)}if(t&&e.isCallExpression(t)&&Re(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)&&62===t.parent.operatorToken.kind?t.parent.left:void 0;return r&&Ce(t.right,Vr(r))&&qr(r)&&Ae(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(62===r.operatorToken.kind&&e.isIdentifier(r.left))return r.left}else if(e.isVariableDeclaration(t.parent))return t.parent.name},e.isSameEntityName=Ae,e.getRightMostAssignedExpression=Ne,e.isExportsIdentifier=Pe,e.isModuleIdentifier=Ie,e.isModuleExportsAccessExpression=Fe,e.getAssignmentDeclarationKind=Oe,e.isBindableObjectDefinePropertyCall=Re,e.isLiteralLikeAccess=Me,e.isLiteralLikeElementAccess=Le,e.isBindableStaticAccessExpression=je,e.isBindableStaticElementAccessExpression=Be,e.isBindableStaticNameExpression=ze,e.getNameOrArgument=Ue,e.getElementOrPropertyAccessArgumentExpressionOrName=qe,e.getElementOrPropertyAccessName=Je,e.getAssignmentDeclarationPropertyAccessKind=Ve,e.getInitializerOfBinaryExpression=He,e.isPrototypePropertyAssignment=function(t){return e.isBinaryExpression(t)&&3===Oe(t)},e.isSpecialPropertyDeclaration=function(t){return Ee(t)&&t.parent&&235===t.parent.kind&&(!e.isElementAccessExpression(t)||Le(t))&&!!e.getJSDocTypeTag(t.parent)},e.setValueDeclaration=function(e,t){var r=e.valueDeclaration;(!r||(!(8388608&t.flags)||8388608&r.flags)&&we(r)&&!we(t)||r.kind!==t.kind&&N(r))&&(e.valueDeclaration=t)},e.isFunctionSymbol=function(t){if(!t||!t.valueDeclaration)return!1;var r=t.valueDeclaration;return 253===r.kind||e.isVariableDeclaration(r)&&r.initializer&&e.isFunctionLike(r.initializer)},e.importFromModuleSpecifier=function(t){return Ke(t)||e.Debug.failBadSyntaxKind(t.parent)},e.tryGetImportFromModuleSpecifier=Ke,e.getExternalModuleName=We,e.getNamespaceDeclarationNode=function(t){switch(t.kind){case 264:return t.importClause&&e.tryCast(t.importClause.namedBindings,e.isNamespaceImport);case 263:return t;case 270:return t.exportClause&&e.tryCast(t.exportClause,e.isNamespaceExport);default:return e.Debug.assertNever(t)}},e.isDefaultImport=function(e){return 264===e.kind&&!!e.importClause&&!!e.importClause.name},e.forEachImportClauseDeclaration=function(t,r){var n;if(t.name&&(n=r(t)))return n;if(t.namedBindings&&(n=e.isNamespaceImport(t.namedBindings)?r(t.namedBindings):e.forEach(t.namedBindings.elements,r)))return n},e.hasQuestionToken=function(e){if(e)switch(e.kind){case 161:case 166:case 165:case 292:case 291:case 164:case 163: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=Ge,e.isTypeAlias=function(t){return Ge(t)||e.isTypeAliasDeclaration(t)},e.getSingleInitializerOfVariableStatementOrPropertyDeclaration=Ye,e.getSingleVariableOfVariableStatement=Xe,e.getJSDocCommentsAndTags=function(t,r){var n;ne(t)&&e.hasInitializer(t)&&e.hasJSDocNodes(t.initializer)&&(n=e.append(n,e.last(t.initializer.jsDoc)));for(var i=t;i&&i.parent;){if(e.hasJSDocNodes(i)&&(n=e.append(n,e.last(i.jsDoc))),161===i.kind){n=e.addRange(n,(r?e.getJSDocParameterTagsNoCache:e.getJSDocParameterTags)(i));break}if(160===i.kind){n=e.addRange(n,(r?e.getJSDocTypeParameterTagsNoCache:e.getJSDocTypeParameterTags)(i));break}i=Ze(i)}return n||e.emptyArray},e.getNextJSDocCommentLocation=Ze,e.getParameterSymbolFromJSDoc=function(t){if(t.symbol)return t.symbol;if(e.isIdentifier(t.name)){var r=t.name.escapedText,n=et(t);if(n){var i=e.find(n.parameters,(function(e){return 78===e.name.kind&&e.name.escapedText===r}));return i&&i.symbol}}},e.getHostSignatureFromJSDoc=et,e.getEffectiveJSDocHost=tt,e.getJSDocHost=rt,e.getJSDocRoot=nt,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&&it(r)},e.isRestParameter=it,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=at,e.isAssignmentTarget=function(e){return 0!==at(e)},e.isNodeWithPossibleHoistedDeclaration=function(e){switch(e.kind){case 232:case 234:case 245:case 236:case 246:case 261:case 287:case 288:case 247:case 239:case 240:case 241:case 237:case 238:case 249:case 290: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 ot(e,187)},e.walkUpParenthesizedExpressions=st,e.walkUpParenthesizedTypesAndGetParentAndChild=function(e){for(var t;e&&187===e.kind;)t=e,e=e.parent;return[t,e]},e.skipParentheses=ct,e.isDeleteTarget=function(e){return(202===e.kind||203===e.kind)&&((e=st(e.parent))&&212===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 78: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!==Oe(i)&&(i.left.symbol||i.symbol)&&e.getNameOfDeclaration(i)===t?i:void 0;case 79:return e.isDeclaration(r)&&r.name===t?r:void 0;default:return}},e.isLiteralComputedPropertyDeclarationName=function(t){return xt(t)&&159===t.parent.kind&&e.isDeclaration(t.parent.parent)},e.isIdentifierName=function(e){var t=e.parent;switch(t.kind){case 164:case 163:case 166:case 165:case 168:case 169:case 294:case 291:case 202:return t.name===e;case 158:return t.right===e;case 199:case 268:return t.propertyName===e;case 273:case 283:return!0}return!1},e.isAliasSymbolDeclaration=function(t){return 263===t.kind||262===t.kind||265===t.kind&&!!t.name||266===t.kind||272===t.kind||268===t.kind||273===t.kind||269===t.kind&&ut(t)||e.isBinaryExpression(t)&&2===Oe(t)&&ut(t)||e.isPropertyAccessExpression(t)&&e.isBinaryExpression(t.parent)&&t.parent.left===t&&62===t.parent.operatorToken.kind&<(t.parent.right)||292===t.kind||291===t.kind&<(t.initializer)},e.getAliasDeclarationFromName=function e(t){switch(t.parent.kind){case 265:case 268:case 266:case 273:case 269:case 263:return t.parent;case 158:do{t=t.parent}while(158===t.parent.kind);return e(t)}},e.isAliasableExpression=lt,e.exportAssignmentIsAlias=ut,e.getExportAssignmentExpression=dt,e.getPropertyAssignmentAliasLikeExpression=function(e){return 292===e.kind?e.name:291===e.kind?e.initializer:e.parent.right},e.getEffectiveBaseTypeNode=pt,e.getClassExtendsHeritageElement=ft,e.getEffectiveImplementsTypeNodes=mt,e.getAllSuperTypeNodes=function(t){return e.isInterfaceDeclaration(t)?gt(t)||e.emptyArray:e.isClassLike(t)&&e.concatenate(e.singleElementArray(pt(t)),mt(t))||e.emptyArray},e.getInterfaceBaseTypeNodes=gt,e.getHeritageClause=_t,e.getAncestor=ht,e.getRootEtsComponent=yt,e.isKeyword=vt,e.isContextualKeyword=bt,e.isNonContextualKeyword=kt,e.isFutureReservedKeyword=function(e){return 117<=e&&e<=125},e.isStringANonContextualKeyword=function(t){var r=e.stringToToken(t);return void 0!==r&&kt(r)},e.isStringAKeyword=function(t){var r=e.stringToToken(t);return void 0!==r&&vt(r)},e.isIdentifierANonContextualKeyword=function(e){var t=e.originalKeywordKind;return!!t&&!bt(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 253:case 209:case 166:e.asteriskToken&&(t|=1);case 210:Sr(e,256)&&(t|=2)}return e.body||(t|=4),t},e.isAsyncFunction=function(e){switch(e.kind){case 253:case 209:case 210:case 166:return void 0!==e.body&&void 0===e.asteriskToken&&Sr(e,256)}return!1},e.isStringOrNumericLiteralLike=xt,e.isSignedNumericLiteral=Et,e.hasDynamicName=St,e.isDynamicName=Dt,e.isWellKnownSymbolSyntactically=wt,e.getPropertyNameForPropertyNameNode=Tt,e.isPropertyNameLiteral=Ct,e.getTextOfIdentifierOrLiteral=At,e.getEscapedTextOfIdentifierOrLiteral=function(t){return e.isIdentifierOrPrivateIdentifier(t)?t.escapedText:e.escapeLeadingUnderscores(t.text)},e.getPropertyNameForUniqueESSymbol=function(t){return"__@"+e.getSymbolId(t)+"@"+t.escapedName},e.getPropertyNameForKnownSymbolName=Nt,e.getSymbolNameForPrivateIdentifier=function(t,r){return"__#"+e.getSymbolId(t)+"@"+r},e.isKnownSymbol=function(t){return e.startsWith(t.escapedName,"__@")},e.isESSymbolIdentifier=Pt,e.isPushOrUnshiftIdentifier=function(e){return"push"===e.escapedText||"unshift"===e.escapedText},e.isParameterDeclaration=function(e){return 161===It(e).kind},e.getRootDeclaration=It,e.nodeStartsNewLexicalEnvironment=function(e){var t=e.kind;return 167===t||209===t||253===t||210===t||166===t||168===t||169===t||259===t||300===t},e.nodeIsSynthesized=Ft,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=Rt(e),r=205===e.kind&&void 0!==e.arguments;return Ot(e.kind,t,r)},e.getOperatorAssociativity=Ot,e.getExpressionPrecedence=function(e){var t=Rt(e),r=205===e.kind&&void 0!==e.arguments;return Mt(e.kind,t,r)},e.getOperator=Rt,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=Mt,e.getBinaryOperatorPrecedence=Lt,e.getSemanticJsxChildren=function(t){return e.filter(t,(function(e){switch(e.kind){case 286: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,xn)},lookup:function(r){var i;i=r.file?n.get(r.file.fileName):t;if(!i)return;var a=e.binarySearch(i,r,e.identity,En);if(a>=0)return i[a];return},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)}));if(!t.length)return a;return a.unshift.apply(a,t),a}}};var jt=/\$\{/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 Bt=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,zt=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,Ut=/[\\`]/g,qt=new e.Map(e.getEntries({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029"," ":"\\u0085"}));function Jt(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}function Vt(e,t,r){if(0===e.charCodeAt(0)){var n=r.charCodeAt(t+e.length);return n>=48&&n<=57?"\\x00":"\\0"}return qt.get(e)||Jt(e.charCodeAt(0))}function Ht(e,t){var r=96===t?Ut:39===t?zt:Bt;return e.replace(r,Vt)}e.escapeString=Ht;var Kt=/[^\u0000-\u007F]/g;function Wt(e,t){return e=Ht(e,t),Kt.test(e)?e.replace(Kt,(function(e){return Jt(e.charCodeAt(0))})):e}e.escapeNonAsciiString=Wt;var Gt=/[\"\u0000-\u001f\u2028\u2029\u0085]/g,$t=/[\'\u0000-\u001f\u2028\u2029\u0085]/g,Yt=new e.Map(e.getEntries({'"':""","'":"'"}));function Xt(e){return 0===e.charCodeAt(0)?"�":Yt.get(e)||"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}function Qt(e,t){var r=39===t?$t:Gt;return e.replace(r,Xt)}e.escapeJsxAttributeString=Qt,e.stripQuotes=function(e){var t,r=e.length;return r>=2&&e.charCodeAt(0)===e.charCodeAt(r-1)&&(39===(t=e.charCodeAt(0))||34===t||96===t)?e.substring(1,r-1):e},e.isIntrinsicJsxName=function(t){var r=t.charCodeAt(0);return r>=97&&r<=122||e.stringContains(t,"-")||e.stringContains(t,":")};var Zt=[""," "];function er(e){for(var t=Zt[1],r=Zt.length;r<=e;r++)Zt.push(Zt[r-1]+t);return Zt[e]}function tr(){return Zt[1].length}function rr(e){return!!e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames()}function nr(e,t,r){return t.moduleName||ar(e,t.fileName,r&&r.fileName)}function ir(t,r){return t.getCanonicalFileName(e.getNormalizedAbsolutePath(r,t.getCurrentDirectory()))}function ar(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=oi(e.getRelativePathToDirectoryOrUrl(a,o,a,i,!1));return n?e.ensurePathIsNonModuleName(s):s}function or(t,r,n,i,a){var o=r.declarationDir||r.outDir,s=o?ur(t,o,n,i,a):t;return oi(s)+(e.fileExtensionIs(s,".ets")?".d.ets":".d.ts")}function sr(e){return e.outFile||e.out}function cr(e,t,r){return!(t.getCompilerOptions().noEmitForJsFiles&&xe(e))&&!e.isDeclarationFile&&(!t.isSourceFileFromExternalLibrary(e)||W(t.getCompilerOptions().emitNodeModulesFiles))&&!(K(e)&&t.getResolvedProjectReferenceToRedirect(e.fileName))&&(r||!t.isSourceOfProjectReferenceRedirect(e.fileName))}function lr(e,t,r){return ur(e,r,t.getCurrentDirectory(),t.getCommonSourceDirectory(),(function(e){return t.getCanonicalFileName(e)}))}function ur(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 dr(t,r,n){t.length>e.getRootLength(t)&&!n(t)&&(dr(e.getDirectoryPath(t),r,n),r(t))}function pr(t,r){return e.computeLineOfPosition(t,r)}function fr(e){if(e&&e.parameters.length>0){var t=2===e.parameters.length&&mr(e.parameters[0]);return e.parameters[t?1:0]}}function mr(e){return gr(e.name)}function gr(e){return!!e&&78===e.kind&&_r(e)}function _r(e){return 108===e.originalKeywordKind}function hr(t){if(Ee(t)||!e.isFunctionDeclaration(t)){var r=t.type;return r||!Ee(t)?r:e.isJSDocPropertyLikeTag(t)?t.typeExpression&&t.typeExpression.type:e.getJSDocType(t)}}function yr(e,t,r,n){vr(e,t,r.pos,n)}function vr(e,t,r,n){n&&n.length&&r!==n[0].pos&&pr(e,r)!==pr(e,n[0].pos)&&t.writeLine()}function br(e,t,r,n,i,a,o,s){if(n&&n.length>0){i&&r.writeSpace(" ");for(var c=!1,l=0,u=n;l<u.length;l++){var d=u[l];c&&(r.writeSpace(" "),c=!1),s(e,t,r,d.pos,d.end,o),d.hasTrailingNewLine?r.writeLine():c=!0}c&&a&&r.writeSpace(" ")}}function kr(e,t,r,n,i,a){var o=Math.min(t,a-1),s=e.substring(i,o).replace(/^\s+|\s+$/g,"");s?(r.writeComment(s),o!==t&&r.writeLine()):r.rawWrite(n)}function xr(t,r,n){for(var i=0;r<n&&e.isWhiteSpaceSingleLine(t.charCodeAt(r));r++)9===t.charCodeAt(r)?i+=tr()-i%tr():i++;return i}function Er(e,t){return!!Tr(e,t)}function Sr(e,t){return!!Cr(e,t)}function Dr(e){return Sr(e,32)}function wr(e){return Er(e,64)}function Tr(e,t){return Nr(e)&t}function Cr(e,t){return Pr(e)&t}function Ar(e,t,r){return e.kind>=0&&e.kind<=157?0:(536870912&e.modifierFlagsCache||(e.modifierFlagsCache=536870912|Fr(e)),!t||4096&e.modifierFlagsCache||!r&&!Ee(e)||!e.parent||(e.modifierFlagsCache|=4096|Ir(e)),-536875009&e.modifierFlagsCache)}function Nr(e){return Ar(e,!0)}function Pr(e){return Ar(e,!1)}function Ir(t){var r=0;return t.parent&&!e.isParameter(t)&&(Ee(t)&&(e.getJSDocPublicTagNoCache(t)&&(r|=4),e.getJSDocPrivateTagNoCache(t)&&(r|=8),e.getJSDocProtectedTagNoCache(t)&&(r|=16),e.getJSDocReadonlyTagNoCache(t)&&(r|=64)),e.getJSDocDeprecatedTagNoCache(t)&&(r|=8192)),r}function Fr(e){var t=Or(e.modifiers);return(4&e.flags||78===e.kind&&e.isInJSDocNamespace)&&(t|=1),t}function Or(e){var t=0;if(e)for(var r=0,n=e;r<n.length;r++){t|=Rr(n[r].kind)}return t}function Rr(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 134:return 2;case 85:return 2048;case 88:return 512;case 130:return 256;case 143:return 64}return 0}function Mr(e){return 74===e||75===e||76===e}function Lr(e){return e>=62&&e<=77}function jr(e){var t=Br(e);return t&&!t.isImplements?t.class:void 0}function Br(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 zr(t,r){return e.isBinaryExpression(t)&&(r?62===t.operatorToken.kind:Lr(t.operatorToken.kind))&&e.isLeftHandSideExpression(t.left)}function Ur(e){return void 0!==jr(e)}function qr(e){return 78===e.kind||Jr(e)}function Jr(t){return e.isPropertyAccessExpression(t)&&e.isIdentifier(t.name)&&qr(t.expression)}function Vr(e){return je(e)&&"prototype"===Je(e)}e.getIndentString=er,e.getIndentSize=tr,e.getTrailingSemicolonDeferringWriter=function(e){var t=!1;function r(){t&&(e.writeTrailingSemicolon(";"),t=!1)}return a(a({},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=rr,e.hostGetCanonicalFileName=function(t){return e.createGetCanonicalFileName(rr(t))},e.getResolvedExternalModuleName=nr,e.getExternalModuleNameFromDeclaration=function(t,r,n){var i=r.getExternalModuleFileFromDeclaration(n);if(i&&!i.isDeclarationFile){var a=We(n);if(!a||!e.isStringLiteralLike(a)||e.pathIsRelative(a.text)||-1!==ir(t,i.path).indexOf(ir(t,e.ensureTrailingDirectorySeparator(t.getCommonSourceDirectory()))))return nr(t,i)}},e.getExternalModuleNameFromPath=ar,e.getOwnEmitOutputFilePath=function(e,t,r){var n=t.getCompilerOptions();return(n.outDir?oi(lr(e,t,n.outDir)):oi(e))+r},e.getDeclarationEmitOutputFilePath=function(e,t){return or(e,t.getCompilerOptions(),t.getCurrentDirectory(),t.getCommonSourceDirectory(),(function(e){return t.getCanonicalFileName(e)}))},e.getDeclarationEmitOutputFilePathWorker=or,e.outFile=sr,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(sr(i)){var a=wn(i),o=i.emitDeclarationOnly||a===e.ModuleKind.AMD||a===e.ModuleKind.System;return e.filter(t.getSourceFiles(),(function(r){return(o||!e.isExternalModule(r))&&cr(r,t,n)}))}var s=void 0===r?t.getSourceFiles():[r];return e.filter(s,(function(e){return cr(e,t,n)}))},e.sourceFileMayBeEmitted=cr,e.getSourceFilePathInNewDir=lr,e.getSourceFilePathInNewDirWorker=ur,e.writeFile=function(t,r,n,i,a,o){t.writeFile(n,i,a,(function(t){r.add(bn(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(s){dr(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=pr,e.getFirstConstructorWithBody=function(t){return e.find(t.members,(function(t){return e.isConstructorDeclaration(t)&&h(t.body)}))},e.getSetAccessorValueParameter=fr,e.getSetAccessorTypeAnnotationNode=function(e){var t=fr(e);return t&&t.type},e.getThisParameter=function(t){if(t.parameters.length&&!e.isJSDocSignature(t)){var r=t.parameters[0];if(mr(r))return r}},e.parameterIsThisKeyword=mr,e.isThisIdentifier=gr,e.identifierIsThisKeyword=_r,e.getAllAccessorDeclarations=function(t,r){var n,i,a,o;return St(r)?(n=r,168===r.kind?a=r:169===r.kind?o=r:e.Debug.fail("Accessor has wrong kind")):e.forEach(t,(function(t){e.isAccessor(t)&&Sr(t,32)===Sr(r,32)&&(Tt(t.name)===Tt(r.name)&&(n?i||(i=t):n=t,168!==t.kind||a||(a=t),169!==t.kind||o||(o=t)))})),{firstAccessor:n,secondAccessor:i,getAccessor:a,setAccessor:o}},e.getEffectiveTypeAnnotationNode=hr,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||(Ee(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)&&!(314===t.parent.kind&&t.parent.tags.some(Ge))}(t)?t.typeParameters:void 0}))},e.getEffectiveSetAccessorTypeAnnotationNode=function(e){var t=fr(e);return t&&hr(t)},e.emitNewLineBeforeLeadingComments=yr,e.emitNewLineBeforeLeadingCommentsOfPosition=vr,e.emitNewLineBeforeLeadingCommentOfPosition=function(e,t,r,n){r!==n&&pr(e,r)!==pr(e,n)&&t.writeLine()},e.emitComments=br,e.emitDetachedComments=function(t,r,n,i,a,o,s){var c,l;if(s?0===a.pos&&(c=e.filter(e.getLeadingCommentRanges(t,a.pos),(function(e){return k(t,e.pos)}))):c=e.getLeadingCommentRanges(t,a.pos),c){for(var u=[],d=void 0,p=0,f=c;p<f.length;p++){var m=f[p];if(d){var g=pr(r,d.end);if(pr(r,m.pos)>=g+2)break}u.push(m),d=m}if(u.length){g=pr(r,e.last(u).end);pr(r,e.skipTrivia(t,a.pos))>=g+2&&(yr(r,n,a,c),br(t,r,n,u,!1,!0,o,i),l={nodePos:a.pos,detachedCommentEndPos:e.last(u).end})}}return l},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,l=void 0,u=i,d=s.line;u<a;d++){var p=d+1===c?t.length+1:r[d+1];if(u!==i){void 0===l&&(l=xr(t,r[s.line],i));var f=n.getIndent()*tr()-l+xr(t,u,p);if(f>0){var m=f%tr(),g=er((f-m)/tr());for(n.rawWrite(g);m;)n.rawWrite(" "),m--}else n.rawWrite("")}kr(t,a,n,o,u,p),u=p}else n.writeComment(t.substring(i,a))},e.hasEffectiveModifiers=function(e){return 0!==Nr(e)},e.hasSyntacticModifiers=function(e){return 0!==Pr(e)},e.hasEffectiveModifier=Er,e.hasSyntacticModifier=Sr,e.hasStaticModifier=Dr,e.hasEffectiveReadonlyModifier=wr,e.getSelectedEffectiveModifierFlags=Tr,e.getSelectedSyntacticModifierFlags=Cr,e.getEffectiveDecorators=function(t,r){var n,i=null===(n=r.getCompilerOptions().ets)||void 0===n?void 0:n.emitDecorators;if(i){for(var a=[],o=0,s=t;o<s.length;o++){var c=s[o],l=c.expression;if(e.isIdentifier(l))for(var u=0,d=i;u<d.length;u++){if((g=d[u]).name===l.escapedText.toString()){a.push(c);break}}else if(e.isCallExpression(l)){var p=l.expression;if(e.isIdentifier(p))for(var f=0,m=i;f<m.length;f++){var g;if((g=m[f]).name===p.escapedText.toString()){g.emitParameters||(c=e.factory.updateDecorator(c,p)),a.push(c);break}}}}return a}},e.getEffectiveModifierFlags=Nr,e.getEffectiveModifierFlagsAlwaysIncludeJSDoc=function(e){return Ar(e,!0,!0)},e.getSyntacticModifierFlags=Pr,e.getEffectiveModifierFlagsNoCache=function(e){return Fr(e)|Ir(e)},e.getSyntacticModifierFlagsNoCache=Fr,e.modifiersToFlags=Or,e.modifierToFlag=Rr,e.isLogicalOperator=function(e){return 56===e||55===e||53===e},e.isLogicalOrCoalescingAssignmentOperator=Mr,e.isLogicalOrCoalescingAssignmentExpression=function(e){return Mr(e.operatorToken.kind)},e.isAssignmentOperator=Lr,e.tryGetClassExtendingExpressionWithTypeArguments=jr,e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments=Br,e.isAssignmentExpression=zr,e.isDestructuringAssignment=function(e){if(zr(e,!0)){var t=e.left.kind;return 201===t||200===t}return!1},e.isExpressionWithTypeArgumentsInClassExtendsClause=Ur,e.isEntityNameExpression=qr,e.getFirstIdentifier=function(e){switch(e.kind){case 78:return e;case 158:do{e=e.left}while(78!==e.kind);return e;case 202:do{e=e.expression}while(78!==e.kind);return e}},e.isDottedName=function e(t){return 78===t.kind||108===t.kind||106===t.kind||202===t.kind&&e(t.expression)||208===t.kind&&e(t.expression)},e.isPropertyAccessEntityNameExpression=Jr,e.tryGetPropertyAccessOrIdentifierToString=function t(r){if(e.isPropertyAccessExpression(r)){if(void 0!==(n=t(r.expression)))return n+"."+z(r.name)}else if(e.isElementAccessExpression(r)){var n;if(void 0!==(n=t(r.expression))&&e.isPropertyName(r.argumentExpression))return n+"."+Tt(r.argumentExpression)}else if(e.isIdentifier(r))return e.unescapeLeadingUnderscores(r.escapedText)},e.isPrototypeAccess=Vr,e.isRightSideOfQualifiedNameOrPropertyAccess=function(e){return 158===e.parent.kind&&e.parent.right===e||202===e.parent.kind&&e.parent.name===e},e.isEmptyObjectLiteral=function(e){return 201===e.kind&&0===e.properties.length},e.isEmptyArrayLiteral=function(e){return 200===e.kind&&0===e.elements.length},e.getLocalSymbolForExportDefault=function(t){if(function(t){return t&&e.length(t.declarations)>0&&Sr(t.declarations[0],512)}(t))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(e.supportedTSExtensionsForExtractExtension,(function(r){return e.fileExtensionIs(t,r)}))};var Hr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Kr(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,l=s.length;c<l;)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>=l?i=a=64:c+2>=l&&(a=64),o+=Hr.charAt(r)+Hr.charAt(n)+Hr.charAt(i)+Hr.charAt(a),c+=3;return o}e.convertToBase64=Kr,e.base64encode=function(e,t){return e&&e.base64encode?e.base64encode(t):Kr(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)!==Hr.charCodeAt(64);){var a=Hr.indexOf(t[i]),o=Hr.indexOf(t[i+1]),s=Hr.indexOf(t[i+2]),c=Hr.indexOf(t[i+3]),l=(63&a)<<2|o>>4&3,u=(15&o)<<4|s>>2&15,d=(3&s)<<6|63&c;0===u&&0!==s?n.push(l):0===d&&0!==c?n.push(l,u):n.push(l,u,d),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&~i)t+=String.fromCharCode(i),r++;else{for(var a=63&i,o=e[++r];128==(192&o);)a=a<<6|63&o,o=e[++r];t+=String.fromCharCode(a)}}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(e){return{}}},e.directoryProbablyExists=function(e,t){return!t.directoryExists||t.directoryExists(e)};var Wr;function Gr(t,r){return void 0===r&&(r=t),e.Debug.assert(r>=t||-1===r),{pos:t,end:r}}function $r(e,t){return Gr(t,e.end)}function Yr(e){return e.decorators&&e.decorators.length>0?$r(e,e.decorators.end):e}function Xr(e,t,r){return Qr(Zr(e,r,!1),t.end,r)}function Qr(t,r,n){return 0===e.getLinesBetweenPositions(n,t,r)}function Zr(t,r,n){return ui(t.pos)?-1:e.skipTrivia(r.text,t.pos,!1,n)}function en(e){return void 0!==e.initializer}function tn(e){return 33554432&e.flags?e.checkFlags:0}function rn(t){var r=t.parent;if(!r)return 0;switch(r.kind){case 208:case 200:return rn(r);case 217:case 216:var n=r.operator;return 45===n||46===n?c():0;case 218:var i=r,a=i.left,o=i.operatorToken;return a===t&&Lr(o.kind)?62===o.kind?1:c():0;case 202:return r.name!==t?0:rn(r);case 291:var s=rn(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 292:return t===r.objectAssignmentInitializer?0:rn(r.parent);default:return 0}function c(){return r.parent&&235===function(e){for(;208===e.kind;)e=e.parent;return e}(r.parent).kind?1:2}}function nn(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 an(t){return e.find(t.declarations,e.isClassLike)}function on(e){return 202===e.kind||203===e.kind}function sn(e){for(;on(e);)e=e.expression;return e}function cn(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 ln(t,r){this.flags=r,(e.Debug.isDebugging||e.tracing)&&(this.checker=t)}function un(t,r){this.flags=r,e.Debug.isDebugging&&(this.checker=t)}function dn(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 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}function fn(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 mn(e,t,r){this.fileName=e,this.text=t,this.skipTrivia=r||function(e){return e}}function gn(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(t){return e.localizedDiagnosticMessages&&e.localizedDiagnosticMessages[t.key]||t.message}function hn(e){return void 0===e.file&&void 0!==e.start&&void 0!==e.length&&"string"==typeof e.fileName}function yn(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];hn(c)&&c.fileName===n?(e.Debug.assertLessThanOrEqual(c.start,i),e.Debug.assertLessThanOrEqual(c.start+c.length,i),a.relatedInformation.push(yn(c,r))):a.relatedInformation.push(c)}}return a}function vn(e,t,r,n){q(e,t,r);var i=_n(n);return arguments.length>4&&(i=gn(i,arguments,4)),{file:e,start:t,length:r,messageText:i,category:n.category,code:n.code,reportsUnnecessary:n.reportsUnnecessary,reportsDeprecated:n.reportsDeprecated}}function bn(e){var t=_n(e);return arguments.length>1&&(t=gn(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 kn(e){return e.file?e.file.path:void 0}function xn(t,r){return En(t,r)||function(t,r){if(!t.relatedInformation&&!r.relatedInformation)return 0;if(t.relatedInformation&&r.relatedInformation)return e.compareValues(t.relatedInformation.length,r.relatedInformation.length)||e.forEach(t.relatedInformation,(function(e,t){return xn(e,r.relatedInformation[t])}))||0;return t.relatedInformation?-1:1}(t,r)||0}function En(t,r){return e.compareStringsCaseSensitive(kn(t),kn(r))||e.compareValues(t.start,r.start)||e.compareValues(t.length,r.length)||e.compareValues(t.code,r.code)||Sn(t.messageText,r.messageText)||0}function Sn(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=Sn(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 Dn(e){return e.target||0}function wn(t){return"number"==typeof t.module?t.module:Dn(t)>=2?e.ModuleKind.ES2015:e.ModuleKind.CommonJS}function Tn(e){return!(!e.declaration&&!e.composite)}function Cn(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?Cn(e,t.name):e[t.name]}function Pn(e){for(var t=!1,r=0;r<e.length;r++)if(42===e.charCodeAt(r)){if(t)return!1;t=!0}return!0}function In(t,r){var n,i,a;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);vi(s)||(s=e.ensureTrailingDirectorySeparator(s),!1===o||(null==n?void 0:n.has(s))||(i||(i=e.createMultiMap())).add(e.ensureTrailingDirectorySeparator(o.realPath),a),(n||(n=new e.Map)).set(s,o))}}}function Fn(t,r,n,i,a){for(var o=e.getPathComponents(e.getNormalizedAbsolutePath(t,n)),s=e.getPathComponents(e.getNormalizedAbsolutePath(r,n)),c=!1;!On(o[o.length-2],i,a)&&!On(s[s.length-2],i,a)&&i(o[o.length-1])===i(s[s.length-1]);)o.pop(),s.pop(),c=!0;return c?[e.getPathFromPathComponents(o),e.getPathFromPathComponents(s)]:void 0}function On(t,r,n){return"node_modules"===r(t)||n&&"oh_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=Gr,e.moveRangeEnd=function(e,t){return Gr(e.pos,t)},e.moveRangePos=$r,e.moveRangePastDecorators=Yr,e.moveRangePastModifiers=function(e){return e.modifiers&&e.modifiers.length>0?$r(e,e.modifiers.end):Yr(e)},e.isCollapsedRange=function(e){return e.pos===e.end},e.createTokenRange=function(t,r){return Gr(t,t+e.tokenToString(r).length)},e.rangeIsOnSingleLine=function(e,t){return Xr(e,e,t)},e.rangeStartPositionsAreOnSameLine=function(e,t,r){return Qr(Zr(e,r,!1),Zr(t,r,!1),r)},e.rangeEndPositionsAreOnSameLine=function(e,t,r){return Qr(e.end,t.end,r)},e.rangeStartIsOnSameLineAsRangeEnd=Xr,e.rangeEndIsOnSameLineAsRangeStart=function(e,t,r){return Qr(e.end,Zr(t,r,!1),r)},e.getLinesBetweenRangeEndAndRangeStart=function(t,r,n,i){var a=Zr(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!Qr(e.pos,e.end,t)},e.positionsAreOnSameLine=Qr,e.getStartPositionOfRange=Zr,e.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter=function(t,r,n,i){var a=e.skipTrivia(n.text,t,!1,i),o=function(t,r,n){void 0===r&&(r=0);for(;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 258:case 259:return r===r.parent.name}return!1},e.getInitializedVariables=function(t){return e.filter(t.declarations,en)},e.isWatchSet=function(e){return e.watch&&e.hasOwnProperty("watch")},e.closeFileWatcher=function(e){e.close()},e.getCheckFlags=tn,e.getDeclarationModifierFlagsFromSymbol=function(t){if(t.valueDeclaration){var r=e.getCombinedModifierFlags(t.valueDeclaration);return t.parent&&32&t.parent.flags?r:-29&r}if(6&tn(t)){var n=t.checkFlags;return(1024&n?8:256&n?4:16)|(2048&n?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===rn(e)},e.isWriteAccess=function(e){return 0!==rn(e)},function(e){e[e.Read=0]="Read",e[e.Write=1]="Write",e[e.ReadWrite=2]="ReadWrite"}(Wr||(Wr={})),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=nn,e.mutateMap=function(e,t,r){nn(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=an(e);return!!t&&Sr(t,128)}return!1},e.getClassLikeDeclarationOfSymbol=an,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:D(r)},e.getLastChild=function(t){var r;return e.forEachChild(t,(function(e){h(e)&&(r=e)}),(function(e){for(var t=e.length-1;t>=0;t--)if(h(e[t])){r=e[t];break}})),r},e.addToSeen=function(e,t,r){return void 0===r&&(r=!0),t=String(t),!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>=173&&e<=196||129===e||153===e||145===e||156===e||146===e||132===e||148===e||149===e||114===e||151===e||142===e||225===e||306===e||307===e||308===e||309===e||310===e||311===e||312===e},e.isAccessExpression=on,e.getNameOfAccessExpression=function(t){return 202===t.kind?t.name:(e.Debug.assert(203===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 267===e.kind||271===e.kind},e.getLeftmostAccessExpression=sn,e.getLeftmostExpression=function(e,t){for(;;){switch(e.kind){case 217:e=e.operand;continue;case 218:e=e.left;continue;case 219:e=e.condition;continue;case 206:e=e.tag;continue;case 204:if(t)return e;case 226:case 203:case 202:case 227:case 339:e=e.expression;continue}return e}},e.objectAllocator={getNodeConstructor:function(){return dn},getTokenConstructor:function(){return pn},getIdentifierConstructor:function(){return fn},getPrivateIdentifierConstructor:function(){return dn},getSourceFileConstructor:function(){return dn},getSymbolConstructor:function(){return cn},getTypeConstructor:function(){return ln},getSignatureConstructor:function(){return un},getSourceMapSourceConstructor:function(){return mn}},e.setObjectAllocator=function(t){e.objectAllocator=t},e.formatStringFromArgs=gn,e.setLocalizedDiagnosticMessages=function(t){e.localizedDiagnosticMessages=t},e.getLocaleSpecificMessage=_n,e.createDetachedDiagnostic=function(e,t,r,n){q(void 0,t,r);var i=_n(n);return arguments.length>4&&(i=gn(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(yn(a,t))}return r},e.createFileDiagnostic=vn,e.formatMessage=function(e,t){var r=_n(t);return arguments.length>2&&(r=gn(r,arguments,2)),r},e.createCompilerDiagnostic=bn,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=gn(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=xn,e.compareDiagnosticsSkipRelatedInformation=En,e.getLanguageVariant=function(e){return 4===e||2===e||1===e||6===e?1:0},e.getEmitScriptTarget=Dn,e.getEmitModuleKind=wn,e.getEmitModuleResolutionKind=function(t){var r=t.moduleResolution;return void 0===r&&(r=wn(t)===e.ModuleKind.CommonJS?e.ModuleResolutionKind.NodeJs:e.ModuleResolutionKind.Classic),r},e.hasJsonModuleEmitEnabled=function(t){switch(wn(t)){case e.ModuleKind.CommonJS:case e.ModuleKind.AMD:case e.ModuleKind.ES2015:case e.ModuleKind.ES2020:case e.ModuleKind.ESNext: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.getAllowSyntheticDefaultImports=function(t){var r=wn(t);return void 0!==t.allowSyntheticDefaultImports?t.allowSyntheticDefaultImports:t.esModuleInterop||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=Cn,e.getAllowJSCompilerOption=An,e.compilerOptionsAffectSemanticDiagnostics=function(t,r){return r!==t&&e.semanticDiagnosticsOptionDeclarations.some((function(e){return!fi(Nn(r,e),Nn(t,e))}))},e.compilerOptionsAffectEmit=function(t,r){return r!==t&&e.affectsEmitOptionDeclarations.some((function(e){return!fi(Nn(r,e),Nn(t,e))}))},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[0]: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?e+"/"+(5===t.jsx?"jsx-dev-runtime":"jsx-runtime"):void 0},e.hasZeroOrOneAsteriskCharacter=Pn,e.createSymlinkCache=In,e.discoverProbableSymlinks=function(t,r,n,i){for(var a=In(n,r),o=0,s=e.flatten(e.mapDefined(t,(function(t){return t.resolvedModules&&e.compact(e.arrayFrom(e.mapIterator(t.resolvedModules.values(),(function(e){return e&&e.originalPath&&e.resolvedFileName!==e.originalPath?[e.resolvedFileName,e.originalPath]:void 0}))))})));o<s.length;o++){var c=s[o],l=Fn(c[0],c[1],n,r,i)||e.emptyArray,u=l[0],d=l[1];u&&d&&a.setSymlinkedDirectory(d,{real:u,realPath:e.toPath(u,n,r)})}return a},e.tryRemoveDirectoryPrefix=function(t,r,n){var i,a=e.tryRemovePrefix(t,r,n);return void 0===a?void 0:(i=a,e.isAnyDirectorySeparator(i.charCodeAt(0))?i.slice(1):void 0)};var Rn=/[^\w\s\/]/g;function Mn(e){return"\\"+e}e.regExpEscape=function(e){return e.replace(Rn,Mn)};var Ln=[42,63];e.commonPackageFolders=["node_modules","oh_modules","bower_components","jspm_packages"];var jn="(?!("+e.commonPackageFolders.join("|")+")(/|$))",Bn={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:"(/"+jn+"[^/.][^/]*)*?",replaceWildcardCharacter:function(e){return Wn(e,Bn.singleAsteriskRegexFragment)}},zn={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/"+jn+"[^/.][^/]*)*?",replaceWildcardCharacter:function(e){return Wn(e,zn.singleAsteriskRegexFragment)}},Un={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:function(e){return Wn(e,Un.singleAsteriskRegexFragment)}},qn={files:Bn,directories:zn,exclude:Un};function Jn(e,t,r){var n=Vn(e,t,r);if(n&&n.length)return"^("+n.map((function(e){return"("+e+")"})).join("|")+")"+("exclude"===r?"($|/)":"$")}function Vn(t,r,n){if(void 0!==t&&0!==t.length)return e.flatMap(t,(function(e){return e&&Kn(e,r,n,qn[n])}))}function Hn(e){return!/[.*?]/.test(e)}function Kn(t,r,n,i){var a=i.singleAsteriskRegexFragment,o=i.doubleAsteriskRegexFragment,s=i.replaceWildcardCharacter,c="",l=!1,u=e.getNormalizedPathComponents(t,r),d=e.last(u);if("exclude"===n||"**"!==d){u[0]=e.removeTrailingDirectorySeparator(u[0]),Hn(d)&&u.push("**","*");for(var p=0,f=0,m=u;f<m.length;f++){var g=m[f];if("**"===g)c+=o;else if("directories"===n&&(c+="(",p++),l&&(c+=e.directorySeparator),"exclude"!==n){var _="";42===g.charCodeAt(0)?(_+="([^./]"+a+")?",g=g.substr(1)):63===g.charCodeAt(0)&&(_+="[^./]",g=g.substr(1)),(_+=g.replace(Rn,s))!==g&&(c+=jn),c+=_}else c+=g.replace(Rn,s);l=!0}for(;p>0;)c+=")?",p--;return c}}function Wn(e,t){return"*"===e?t:"?"===e?"[^/]":"\\"+e}function Gn(t,r,n,i,a){t=e.normalizePath(t),a=e.normalizePath(a);var o=e.combinePaths(a,t);return{includeFilePatterns:e.map(Vn(n,o,"files"),(function(e){return"^"+e+"$"})),includeFilePattern:Jn(n,o,"files"),includeDirectoryPattern:Jn(n,o,"directories"),excludePattern:Jn(r,o,"exclude"),basePaths:Yn(t,n,i)}}function $n(e,t){return new RegExp(e,t?"":"i")}function Yn(t,r,n){var i=[t];if(r){for(var a=[],o=0,s=r;o<s.length;o++){var c=s[o],l=e.isRootedDiskPath(c)?c:e.normalizePath(e.combinePaths(t,c));a.push(Xn(l))}a.sort(e.getStringComparer(!n));for(var u=function(r){e.every(i,(function(i){return!e.containsPath(i,r,t,!n)}))&&i.push(r)},d=0,p=a;d<p.length;d++){u(p[d])}}return i}function Xn(t){var r=e.indexOfAnyCharCode(t,Ln);return r<0?e.hasExtension(t)?e.removeTrailingDirectorySeparator(e.getDirectoryPath(t)):t:t.substring(0,t.lastIndexOf(e.directorySeparator,r))}function Qn(e){switch(e.substr(e.lastIndexOf(".")).toLowerCase()){case".js":return 1;case".jsx":return 2;case".ts":return 3;case".tsx":return 4;case".json":return 6;case".ets":return 8;default:return 0}}e.getRegularExpressionForWildcard=Jn,e.getRegularExpressionsForWildcards=Vn,e.isImplicitGlob=Hn,e.getPatternFromSpec=function(e,t,r){var n=e&&Kn(e,t,r,qn[r]);return n&&"^("+n+")"+("exclude"===r?"($|/)":"$")},e.getFileMatcherPatterns=Gn,e.getRegexFromPattern=$n,e.matchFiles=function(t,r,n,i,a,o,s,c,l){t=e.normalizePath(t),o=e.normalizePath(o);for(var u=Gn(t,n,i,a,o),d=u.includeFilePatterns&&u.includeFilePatterns.map((function(e){return $n(e,a)})),p=u.includeDirectoryPattern&&$n(u.includeDirectoryPattern,a),f=u.excludePattern&&$n(u.excludePattern,a),m=d?d.map((function(){return[]})):[[]],g=new e.Map,_=e.createGetCanonicalFileName(a),h=0,y=u.basePaths;h<y.length;h++){var v=y[h];b(v,e.combinePaths(o,v),s)}return e.flatten(m);function b(t,n,i){var a=_(l(n));if(!g.has(a)){g.set(a,!0);for(var o=c(t),s=o.files,u=o.directories,h=function(i){var a=e.combinePaths(t,i),o=e.combinePaths(n,i);if(r&&!e.fileExtensionIsOneOf(a,r))return"continue";if(f&&f.test(o))return"continue";if(d){var s=e.findIndex(d,(function(e){return e.test(o)}));-1!==s&&m[s].push(a)}else m[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 k=0,x=e.sort(u,e.compareStringsCaseSensitive);k<x.length;k++){var E=x[k],S=e.combinePaths(t,E),D=e.combinePaths(n,E);p&&!p.test(D)||f&&f.test(D)||b(S,D,i)}}}},e.ensureScriptKind=function(e,t){return t||Qn(e)||3},e.getScriptKindFromFileName=Qn,e.supportedTSExtensions=[".ts",".tsx",".d.ts",".ets",".d.ets"],e.supportedTSExtensionsWithJson=[".ts",".tsx",".d.ts",".json",".ets",".d.ets"],e.supportedTSExtensionsForExtractExtension=[".d.ts",".ts",".tsx",".d.ets",".ets"],e.supportedJSExtensions=[".js",".jsx"],e.supportedJSAndJsonExtensions=[".js",".jsx",".json"];var Zn=i(i([],e.supportedTSExtensions),e.supportedJSExtensions),ei=i(i(i([],e.supportedTSExtensions),e.supportedJSExtensions),[".json"]);function ti(t,r){var n=t&&An(t);if(!r||0===r.length)return n?Zn:e.supportedTSExtensions;var a=i(i([],n?Zn:e.supportedTSExtensions),e.mapDefined(r,(function(e){return 7===e.scriptKind||n&&(1===(t=e.scriptKind)||2===t)?e.extension:void 0;var t})));return e.deduplicate(a,e.equateStringsCaseSensitive,e.compareStringsCaseSensitive)}function ri(t,r){return t&&t.resolveJsonModule?r===Zn?ei:r===e.supportedTSExtensions?e.supportedTSExtensionsWithJson:i(i([],r),[".json"]):r}function ni(e){var t=e.match(/\//g);return t?t.length:0}function ii(e,t){return e<2?0:e<t.length?2:t.length}e.getSupportedExtensions=ti,e.getSuppoertedExtensionsWithJsonIfResolveJsonModule=ri,e.hasJSFileExtension=function(t){return e.some(e.supportedJSExtensions,(function(r){return e.fileExtensionIs(t,r)}))},e.hasTSFileExtension=function(t){return e.some(e.supportedTSExtensions,(function(r){return e.fileExtensionIs(t,r)}))},e.isSupportedSourceFileName=function(t,r,n){if(!t)return!1;for(var i=0,a=ri(r,ti(r,n));i<a.length;i++){var o=a[i];if(e.fileExtensionIs(t,o))return!0}return!1},e.compareNumberOfDirectorySeparators=function(t,r){return e.compareValues(ni(t),ni(r))},function(e){e[e.TypeScriptFiles=0]="TypeScriptFiles",e[e.DeclarationAndJavaScriptFiles=2]="DeclarationAndJavaScriptFiles",e[e.Highest=0]="Highest",e[e.Lowest=2]="Lowest"}(e.ExtensionPriority||(e.ExtensionPriority={})),e.getExtensionPriority=function(t,r){for(var n=r.length-1;n>=0;n--)if(e.fileExtensionIs(t,r[n]))return ii(n,r);return 0},e.adjustExtensionPriority=ii,e.getNextLowestExtensionPriority=function(e,t){return e<2?2:t.length};var ai=[".d.ts",".ts",".js",".tsx",".jsx",".json",".d.ets",".ets"];function oi(e){for(var t=0,r=ai;t<r.length;t++){var n=si(e,r[t]);if(void 0!==n)return n}return e}function si(t,r){return e.fileExtensionIs(t,r)?ci(t,r):void 0}function ci(e,t){return e.substring(0,e.length-t.length)}function li(t){e.Debug.assert(Pn(t));var r=t.indexOf("*");return-1===r?void 0:{prefix:t.substr(0,r),suffix:t.substr(r+1)}}function ui(e){return!(e>=0)}function di(e){return".ts"===e||".tsx"===e||".d.ts"===e||".ets"===e||".d.ets"===e}function pi(t){return e.fileExtensionIs(t,".ets")?".ets":e.find(ai,(function(r){return e.fileExtensionIs(t,r)}))}function fi(t,r){return t===r||"object"==typeof t&&null!==t&&"object"==typeof r&&null!==r&&e.equalOwnProperties(t,r,fi)}function mi(e,t){return e.pos=t,e}function gi(e,t){return e.end=t,e}function _i(e,t,r){return gi(mi(e,t),r)}function hi(e,t){return e&&t&&(e.parent=t),e}function yi(t){return!e.isOmittedExpression(t)}function vi(t){return e.some(e.ignoredPaths,(function(r){return e.stringContains(t,r)}))}function bi(e){return"ohpm"===e}e.removeFileExtension=oi,e.tryRemoveExtension=si,e.removeExtension=ci,e.changeExtension=function(t,r){return e.changeAnyExtension(t,r,ai,!1)},e.tryParsePattern=li,e.positionIsSynthesized=ui,e.extensionIsTS=di,e.resolutionExtensionIsTSOrJson=function(e){return di(e)||".json"===e},e.extensionFromPath=function(t){var r=pi(t);return void 0!==r?r:e.Debug.fail("File "+t+" has unknown extension.")},e.isAnySupportedFileExtension=function(e){return void 0!==pi(e)},e.tryGetExtensionFromPath=pi,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(Pn(o)){var s=li(o);if(s)n.push(s);else if(o===r)return 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):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:x(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=fi,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 l=c>>>4,u=e.charCodeAt(s),d=(u<=57?u-48:10+u-(u<=70?65:97))<<(15&c);o[l]|=d;var p=d>>>16;p&&(o[l+1]|=p)}for(var f="",m=o.length-1,g=!0;g;){var _=0;g=!1;for(l=m;l>=0;l--){var h=_<<16|o[l],y=h/10|0;o[l]=y,_=h-10*y,y&&!g&&(m=l,g=!0)}f=_+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)||be(t)||function(t){if(78!==t.kind)return!1;var r=e.findAncestor(t.parent,(function(e){switch(e.kind){case 289:return!0;case 202:case 225:return!1;default:return"quit"}}));return 117===(null==r?void 0:r.token)||256===(null==r?void 0:r.parent.kind)}(t)||function(e){for(;78===e.kind||202===e.kind;)e=e.parent;if(159!==e.kind)return!1;if(Sr(e.parent,128))return!0;var t=e.parent.parent.kind;return 256===t||178===t}(t)||!ye(t)},e.typeOnlyDeclarationIsExport=function(e){return 273===e.kind},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=mi,e.setTextRangeEnd=gi,e.setTextRangePosEnd=_i,e.setTextRangePosWidth=function(e,t,r){return _i(e,t,t+r)},e.setNodeFlags=function(e,t){return e&&(e.flags=t),e},e.setParent=hi,e.setEachParent=function(e,t){if(e)for(var r=0,n=e;r<n.length;r++){hi(n[r],t)}return e},e.isPackedArrayLiteral=function(t){return e.isArrayLiteralExpression(t)&&e.every(t.elements,yi)},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=vi,e.isCalledStructDeclaration=function(e){return!!e&&e.some((function(e){return 255===e.kind}))},e.getNameOfDecorator=function(t){var r=t.expression;return e.isIdentifier(r)?r.escapedText.toString():e.isCallExpression(r)&&e.isIdentifier(r.expression)?r.expression.escapedText.toString():void 0},e.isEtsFunctionDecorators=function(e,t){var r,n,i,a,o,s,c,l;return e===(null===(n=null===(r=t.ets)||void 0===r?void 0:r.render)||void 0===n?void 0:n.decorator)||e===(null===(a=null===(i=t.ets)||void 0===i?void 0:i.styles)||void 0===a?void 0:a.decorator)||null!==(l=null===(c=null===(s=null===(o=t.ets)||void 0===o?void 0:o.extend)||void 0===s?void 0:s.decorator)||void 0===c?void 0:c.includes(e))&&void 0!==l&&l},e.isOhpm=bi,e.getModuleByPMType=function(e){return bi(e)?"oh_modules":"node_modules"},e.getPackageJsonByPMType=function(e){return bi(e)?"oh-package.json5":"package.json"},e.tryGetSignatureDeclaration=function(t,r){var n=function(t){var r=e.findAncestor(t,(function(t){return!function(t){var r;return(null===(r=e.tryCast(t.parent,e.isPropertyAccessExpression))||void 0===r?void 0:r.name)===t}(t)})),n=null==r?void 0:r.parent;return n&&e.isCallLikeExpression(n)&&pe(n)===r?n:void 0}(r),i=n&&t.tryGetResolvedSignatureWithoutCheck(n);return e.tryCast(i&&i.declaration,(function(t){return e.isFunctionLike(t)&&!e.isFunctionTypeNode(t)}))},e.getEtsComponentExpressionInnerExpressionStatementNode=function(t){for(;t&&!e.isIdentifier(t);){var r=t,n=t.expression;if(n&&e.isIdentifier(n)){t=r;break}t=n}if(t)return e.isCallExpression(t)||e.isEtsComponentExpression(t)||e.isPropertyAccessExpression(t)?t:void 0},e.getEtsExtendDecoratorsComponentNames=function(e,t){var r,n,i,a=[],o=null!==(i=null===(n=null===(r=t.ets)||void 0===r?void 0:r.extend)||void 0===n?void 0:n.decorator)&&void 0!==i?i:"Extend";return null==e||e.forEach((function(e){if(204===e.expression.kind){var t=e.expression.expression,r=e.expression.arguments;78===t.kind&&t.escapedText===o&&r.length&&78===r[0].kind&&a.push(r[0].escapedText)}})),a}}(d||(d={})),function(e){e.createObfTextSingleLineWriter=function(){var t,r,n;function i(i){var a=e.computeLineStarts(i);a.length>1?(n=t.length-i.length+e.last(a),r=n-t.length==0):r=!1}function a(e){!function(e){e&&e.length&&(r&&(r=!1),t+=e,i(e))}(e)}function o(){t="",r=!0,n=0}return o(),{write:a,rawWrite:function(e){void 0!==e&&(t+=e,i(e))},writeLiteral:function(e){e&&e.length&&a(e)},writeLine:function(e){r&&!e||(n=(t+=" ").length)},increaseIndent:e.noop,decreaseIndent:e.noop,getIndent:function(){return 0},getTextPos:function(){return t.length},getLine:function(){return 0},getColumn:function(){return r?0:t.length-n},getText:function(){return t},isAtStartOfLine:function(){return r},hasTrailingComment:function(){return!1},hasTrailingWhitespace:function(){return!!t.length&&e.isWhiteSpaceLike(t.charCodeAt(t.length-1))},clear:o,reportInaccessibleThisError:e.noop,reportPrivateInBaseOfClassExpression:e.noop,reportInaccessibleUniqueSymbolError:e.noop,trackSymbol:e.noop,writeKeyword:a,writeOperator:a,writeParameter:a,writeProperty:a,writePunctuation:a,writeSpace:a,writeStringLiteral:a,writeSymbol:function(e,t){return a(e)},writeTrailingSemicolon:a,writeComment:e.noop,getTextPosWithWriteLine:function(){return r?t.length:t.length+1}}},e.getLeadingCommentRangesOfNode=function(t,r){return 11!==t.kind?e.getLeadingCommentRanges(r.text,t.pos):void 0},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 l(t){t&&t.length&&(i&&(t=e.getIndentString(n)+t,i=!1),r+=t,c(t))}function u(e){e&&(s=!1),l(e)}function d(){r="",n=0,i=!0,a=0,o=0,s=!1}return d(),{write:u,rawWrite:function(e){void 0!==e&&(r+=e,c(e),s=!1)},writeLiteral:function(e){e&&e.length&&u(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*e.getIndentSize():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:d,reportInaccessibleThisError:e.noop,reportPrivateInBaseOfClassExpression:e.noop,reportInaccessibleUniqueSymbolError:e.noop,trackSymbol:e.noop,writeKeyword:u,writeOperator:u,writeParameter:u,writeProperty:u,writePunctuation:u,writeSpace:u,writeStringLiteral:u,writeSymbol:function(e,t){return u(e)},writeTrailingSemicolon:u,writeComment:function(e){e&&(s=!0),l(e)},getTextPosWithWriteLine:function(){return i?r.length:r.length+t.length}}},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(t,n){if(r&&t.parent===n)return"skip";e.setParent(t,n)}}}(d||(d={})),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)}}}}(d||(d={})),function(e){e.createParenthesizerRules=function(t){return{parenthesizeLeftSideOfBinary:function(e,t){return n(e,t,!0)},parenthesizeRightSideOfBinary:function(e,t,r){return n(e,r,!1,t)},parenthesizeExpressionOfComputedPropertyName:function(r){return e.isCommaSequence(r)?t.createParenthesizedExpression(r):r},parenthesizeConditionOfConditionalExpression:function(r){var n=e.getOperatorPrecedence(219,57),i=e.skipPartiallyEmittedExpressions(r),a=e.getExpressionPrecedence(i);if(1!==e.compareValues(a,n))return t.createParenthesizedExpression(r);return 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 223:case 209:i=!0}return i?t.createParenthesizedExpression(r):r},parenthesizeExpressionOfNew:function(r){var n=e.getLeftmostExpression(r,!0);switch(n.kind){case 204:return t.createParenthesizedExpression(r);case 205:return n.arguments?r:t.createParenthesizedExpression(r)}return i(r)},parenthesizeLeftSideOfAccess:i,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,a);return e.setTextRange(t.createNodeArray(n,r.hasTrailingComma),r)},parenthesizeExpressionForDisallowedComma:a,parenthesizeExpressionOfExpressionStatement:function(r){var n=e.skipPartiallyEmittedExpressions(r);if(e.isCallExpression(n)){var i=n.expression,a=e.skipPartiallyEmittedExpressions(i).kind;if(209===a||210===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;if(201===s||209===s)return e.setTextRange(t.createParenthesizedExpression(r),r);return r},parenthesizeConciseBodyOfArrowFunction:function(r){if(!e.isBlock(r)&&(e.isCommaSequence(r)||201===e.getLeftmostExpression(r,!1).kind))return e.setTextRange(t.createParenthesizedExpression(r),r);return r},parenthesizeMemberOfConditionalType:o,parenthesizeMemberOfElementType:s,parenthesizeElementTypeOfArrayType:function(e){switch(e.kind){case 177:case 189:case 186:return t.createParenthesizedType(e)}return s(e)},parenthesizeConstituentTypesOfUnionOrIntersectionType:function(r){return t.createNodeArray(e.sameMap(r,s))},parenthesizeTypeArguments:function(r){if(e.some(r))return t.createNodeArray(e.sameMap(r,c))}};function r(t){if(t=e.skipPartiallyEmittedExpressions(t),e.isLiteralKind(t.kind))return t.kind;if(218===t.kind&&39===t.operatorToken.kind){if(void 0!==t.cachedLiteralKind)return t.cachedLiteralKind;var n=r(t.left),i=e.isLiteralKind(n)&&n===r(t.right)?n:0;return t.cachedLiteralKind=i,i}return 0}function n(n,i,a,o){return 208===e.skipPartiallyEmittedExpressions(i).kind?i:function(t,n,i,a){var o=e.getOperatorPrecedence(218,t),s=e.getOperatorAssociativity(218,t),c=e.skipPartiallyEmittedExpressions(n);if(!i&&210===n.kind&&o>3)return!0;var l=e.getExpressionPrecedence(c);switch(e.compareValues(l,o)){case-1:return!(!i&&1===s&&221===n.kind);case 1:return!1;case 0:if(i)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 u=a?r(a):0;if(e.isLiteralKind(u)&&u===r(c))return!1}}return 0===e.getExpressionAssociativity(c)}}(n,i,a,o)?t.createParenthesizedExpression(i):i}function i(r){var n=e.skipPartiallyEmittedExpressions(r);return e.isLeftHandSideExpression(n)&&(205!==n.kind||n.arguments)?r:e.setTextRange(t.createParenthesizedExpression(r),r)}function a(r){var n=e.skipPartiallyEmittedExpressions(r);return e.getExpressionPrecedence(n)>e.getOperatorPrecedence(218,27)?r:e.setTextRange(t.createParenthesizedExpression(r),r)}function o(e){return 185===e.kind?t.createParenthesizedType(e):e}function s(e){switch(e.kind){case 183:case 184:case 175:case 176:return t.createParenthesizedType(e)}return o(e)}function c(r,n){return 0===n&&e.isFunctionOrConstructorTypeNode(r)&&r.typeParameters?t.createParenthesizedType(r):r}},e.nullParenthesizerRules={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)}}}(d||(d={})),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);e.setOriginalNode(n,r),e.setTextRange(n,r),e.getStartsOnNewLine(r)&&e.setStartsOnNewLine(n,!0);return 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 198:case 200:return o(e);case 197:case 201: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}}(d||(d={})),function(e){var t,r=0;function n(n,f){var m=8&n?a:o,g=e.memoize((function(){return 1&n?e.nullParenthesizerRules:e.createParenthesizerRules(C)})),_=e.memoize((function(){return 2&n?e.nullNodeConverters:e.createNodeConverters(C)})),h=e.memoizeOne((function(e){return function(t,r){return Rt(t,e,r)}})),v=e.memoizeOne((function(e){return function(t){return Ft(e,t)}})),b=e.memoizeOne((function(e){return function(t){return Ot(t,e)}})),k=e.memoizeOne((function(e){return function(){return function(e){return N(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?m(tn(e,r),t):t}(e,t,r)}})),S=e.memoizeOne((function(e){return function(t,r){return yn(e,t,r)}})),D=e.memoizeOne((function(e){return function(t,r,n){return function(e,t,r,n){void 0===r&&(r=sn(t));return t.tagName!==r||t.comment!==n?m(yn(e,r,n),t):t}(e,t,r,n)}})),w=e.memoizeOne((function(e){return function(t,r,n){return vn(e,t,r,n)}})),T=e.memoizeOne((function(e){return function(t,r,n,i){return function(e,t,r,n,i){void 0===r&&(r=sn(t));return t.tagName!==r||t.typeExpression!==n||t.comment!==i?m(vn(e,r,n,i),t):t}(e,t,r,n,i)}})),C={get parenthesizer(){return g()},get converters(){return _()},createNodeArray:A,createNumericLiteral:J,createBigIntLiteral:V,createStringLiteral:K,createStringLiteralFromNode:function(t){var r=H(e.getTextOfIdentifierOrLiteral(t),void 0);return r.textSourceNode=t,r},createRegularExpressionLiteral:W,createLiteralLikeNode:function(e,t){switch(e){case 8:return J(t,0);case 9:return V(t);case 10:return K(t,void 0);case 11:return Tn(t,!1);case 12:return Tn(t,!0);case 13:return W(t);case 14:return zt(e,t,void 0,0)}},createIdentifier:Y,updateIdentifier:function(t,r){return t.typeArguments!==r?m(Y(e.idText(t),r),t):t},createTempVariable:X,createLoopVariable:function(){return $("",2)},createUniqueName:function(t,r){void 0===r&&(r=0);return 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=f.createBasePrivateIdentifierNode(79);return r.escapedText=e.escapeLeadingUnderscores(t),r.transformFlags|=4194304,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?m(oe(t,r),e):e},createComputedPropertyName:se,updateComputedPropertyName:function(e,t){return e.expression!==t?m(se(t),e):e},createTypeParameterDeclaration:ce,updateTypeParameterDeclaration:function(e,t,r,n){return e.name!==t||e.constraint!==r||e.default!==n?m(ce(t,r,n),e):e},createParameterDeclaration:le,updateParameterDeclaration:ue,createDecorator:de,updateDecorator:function(e,t){return e.expression!==t?m(de(t),e):e},createPropertySignature:pe,updatePropertySignature:fe,createPropertyDeclaration:me,updatePropertyDeclaration:ge,createMethodSignature:_e,updateMethodSignature:he,createMethodDeclaration:ye,updateMethodDeclaration:ve,createConstructorDeclaration:be,updateConstructorDeclaration:ke,createGetAccessorDeclaration:xe,updateGetAccessorDeclaration:Ee,createSetAccessorDeclaration:Se,updateSetAccessorDeclaration:De,createCallSignature:we,updateCallSignature:function(e,t,r,n){return e.typeParameters!==t||e.parameters!==r||e.type!==n?R(we(t,r,n),e):e},createConstructSignature:Te,updateConstructSignature:function(e,t,r,n){return e.typeParameters!==t||e.parameters!==r||e.type!==n?R(Te(t,r,n),e):e},createIndexSignature:Ce,updateIndexSignature:Ae,createTemplateLiteralTypeSpan:Ne,updateTemplateLiteralTypeSpan:function(e,t,r){return e.type!==t||e.literal!==r?m(Ne(t,r),e):e},createKeywordTypeNode:function(e){return ee(e)},createTypePredicateNode:Pe,updateTypePredicateNode:function(e,t,r,n){return e.assertsModifier!==t||e.parameterName!==r||e.type!==n?m(Pe(t,r,n),e):e},createTypeReferenceNode:Ie,updateTypeReferenceNode:function(e,t,r){return e.typeName!==t||e.typeArguments!==r?m(Ie(t,r),e):e},createFunctionTypeNode:Fe,updateFunctionTypeNode:function(e,t,r,n){return e.typeParameters!==t||e.parameters!==r||e.type!==n?R(Fe(t,r,n),e):e},createConstructorTypeNode:Oe,updateConstructorTypeNode:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return 5===t.length?Le.apply(void 0,t):4===t.length?je.apply(void 0,t):e.Debug.fail("Incorrect number of arguments specified.")},createTypeQueryNode:Be,updateTypeQueryNode:function(e,t){return e.exprName!==t?m(Be(t),e):e},createTypeLiteralNode:ze,updateTypeLiteralNode:function(e,t){return e.members!==t?m(ze(t),e):e},createArrayTypeNode:Ue,updateArrayTypeNode:function(e,t){return e.elementType!==t?m(Ue(t),e):e},createTupleTypeNode:qe,updateTupleTypeNode:function(e,t){return e.elements!==t?m(qe(t),e):e},createNamedTupleMember:Je,updateNamedTupleMember:function(e,t,r,n,i){return e.dotDotDotToken!==t||e.name!==r||e.questionToken!==n||e.type!==i?m(Je(t,r,n,i),e):e},createOptionalTypeNode:Ve,updateOptionalTypeNode:function(e,t){return e.type!==t?m(Ve(t),e):e},createRestTypeNode:He,updateRestTypeNode:function(e,t){return e.type!==t?m(He(t),e):e},createUnionTypeNode:function(e){return Ke(183,e)},updateUnionTypeNode:function(e,t){return We(e,t)},createIntersectionTypeNode:function(e){return Ke(184,e)},updateIntersectionTypeNode:function(e,t){return We(e,t)},createConditionalTypeNode:Ge,updateConditionalTypeNode:function(e,t,r,n,i){return e.checkType!==t||e.extendsType!==r||e.trueType!==n||e.falseType!==i?m(Ge(t,r,n,i),e):e},createInferTypeNode:$e,updateInferTypeNode:function(e,t){return e.typeParameter!==t?m($e(t),e):e},createImportTypeNode:Xe,updateImportTypeNode:function(e,t,r,n,i){void 0===i&&(i=e.isTypeOf);return e.argument!==t||e.qualifier!==r||e.typeArguments!==n||e.isTypeOf!==i?m(Xe(t,r,n,i),e):e},createParenthesizedType:Qe,updateParenthesizedType:function(e,t){return e.type!==t?m(Qe(t),e):e},createThisTypeNode:function(){var e=N(188);return e.transformFlags=1,e},createTypeOperatorNode:Ze,updateTypeOperatorNode:function(e,t){return e.type!==t?m(Ze(e.operator,t),e):e},createIndexedAccessTypeNode:et,updateIndexedAccessTypeNode:function(e,t,r){return e.objectType!==t||e.indexType!==r?m(et(t,r),e):e},createMappedTypeNode:tt,updateMappedTypeNode:function(e,t,r,n,i,a){return e.readonlyToken!==t||e.typeParameter!==r||e.nameType!==n||e.questionToken!==i||e.type!==a?m(tt(t,r,n,i,a),e):e},createLiteralTypeNode:rt,updateLiteralTypeNode:function(e,t){return e.literal!==t?m(rt(t),e):e},createTemplateLiteralType:Ye,updateTemplateLiteralType:function(e,t,r){return e.head!==t||e.templateSpans!==r?m(Ye(t,r),e):e},createObjectBindingPattern:nt,updateObjectBindingPattern:function(e,t){return e.elements!==t?m(nt(t),e):e},createArrayBindingPattern:it,updateArrayBindingPattern:function(e,t){return e.elements!==t?m(it(t),e):e},createBindingElement:at,updateBindingElement:function(e,t,r,n,i){return e.propertyName!==r||e.dotDotDotToken!==t||e.name!==n||e.initializer!==i?m(at(t,r,n,i),e):e},createArrayLiteralExpression:st,updateArrayLiteralExpression:function(e,t){return e.elements!==t?m(st(t,e.multiLine),e):e},createObjectLiteralExpression:ct,updateObjectLiteralExpression:function(e,t){return e.properties!==t?m(ct(t,e.multiLine),e):e},createPropertyAccessExpression:4&n?function(t,r){return e.setEmitFlags(lt(t,r),131072)}:lt,updatePropertyAccessExpression:function(t,r,n){if(e.isPropertyAccessChain(t))return dt(t,r,t.questionDotToken,e.cast(n,e.isIdentifier));return t.expression!==r||t.name!==n?m(lt(r,n),t):t},createPropertyAccessChain:4&n?function(t,r,n){return e.setEmitFlags(ut(t,r,n),131072)}:ut,updatePropertyAccessChain:dt,createElementAccessExpression:pt,updateElementAccessExpression:function(t,r,n){if(e.isElementAccessChain(t))return mt(t,r,t.questionDotToken,n);return t.expression!==r||t.argumentExpression!==n?m(pt(r,n),t):t},createElementAccessChain:ft,updateElementAccessChain:mt,createCallExpression:gt,updateCallExpression:function(t,r,n,i){if(e.isCallChain(t))return ht(t,r,t.questionDotToken,n,i);return t.expression!==r||t.typeArguments!==n||t.arguments!==i?m(gt(r,n,i),t):t},createCallChain:_t,updateCallChain:ht,createNewExpression:yt,updateNewExpression:function(e,t,r,n){return e.expression!==t||e.typeArguments!==r||e.arguments!==n?m(yt(t,r,n),e):e},createTaggedTemplateExpression:vt,updateTaggedTemplateExpression:function(e,t,r,n){return e.tag!==t||e.typeArguments!==r||e.template!==n?m(vt(t,r,n),e):e},createTypeAssertion:bt,updateTypeAssertion:kt,createParenthesizedExpression:xt,updateParenthesizedExpression:Et,createFunctionExpression:St,updateFunctionExpression:Dt,createEtsComponentExpression:wt,updateEtsComponentExpression:function(e,t,r,n){return e.expression!==t||e.arguments!==r||e.body!==n?wt(t,r,n):e},createArrowFunction:Tt,updateArrowFunction:Ct,createDeleteExpression:At,updateDeleteExpression:function(e,t){return e.expression!==t?m(At(t),e):e},createTypeOfExpression:Nt,updateTypeOfExpression:function(e,t){return e.expression!==t?m(Nt(t),e):e},createVoidExpression:Pt,updateVoidExpression:function(e,t){return e.expression!==t?m(Pt(t),e):e},createAwaitExpression:It,updateAwaitExpression:function(e,t){return e.expression!==t?m(It(t),e):e},createPrefixUnaryExpression:Ft,updatePrefixUnaryExpression:function(e,t){return e.operand!==t?m(Ft(e.operator,t),e):e},createPostfixUnaryExpression:Ot,updatePostfixUnaryExpression:function(e,t){return e.operand!==t?m(Ot(t,e.operator),e):e},createBinaryExpression:Rt,updateBinaryExpression:function(e,t,r,n){return e.left!==t||e.operatorToken!==r||e.right!==n?m(Rt(t,r,n),e):e},createConditionalExpression:Lt,updateConditionalExpression:function(e,t,r,n,i,a){return e.condition!==t||e.questionToken!==r||e.whenTrue!==n||e.colonToken!==i||e.whenFalse!==a?m(Lt(t,r,n,i,a),e):e},createTemplateExpression:jt,updateTemplateExpression:function(e,t,r){return e.head!==t||e.templateSpans!==r?m(jt(t,r),e):e},createTemplateHead:function(e,t,r){return Bt(15,e,t,r)},createTemplateMiddle:function(e,t,r){return Bt(16,e,t,r)},createTemplateTail:function(e,t,r){return Bt(17,e,t,r)},createNoSubstitutionTemplateLiteral:function(e,t,r){return Bt(14,e,t,r)},createTemplateLiteralLikeNode:zt,createYieldExpression:Ut,updateYieldExpression:function(e,t,r){return e.expression!==r||e.asteriskToken!==t?m(Ut(t,r),e):e},createSpreadElement:qt,updateSpreadElement:function(e,t){return e.expression!==t?m(qt(t),e):e},createClassExpression:Jt,updateClassExpression:Vt,createOmittedExpression:function(){return ot(224)},createExpressionWithTypeArguments:Ht,updateExpressionWithTypeArguments:function(e,t,r){return e.expression!==t||e.typeArguments!==r?m(Ht(t,r),e):e},createAsExpression:Kt,updateAsExpression:Wt,createNonNullExpression:Gt,updateNonNullExpression:$t,createNonNullChain:Yt,updateNonNullChain:Xt,createMetaProperty:Qt,updateMetaProperty:function(e,t){return e.name!==t?m(Qt(e.keywordToken,t),e):e},createTemplateSpan:Zt,updateTemplateSpan:function(e,t,r){return e.expression!==t||e.literal!==r?m(Zt(t,r),e):e},createSemicolonClassElement:function(){var e=N(231);return e.transformFlags|=256,e},createBlock:er,updateBlock:function(e,t){return e.statements!==t?m(er(t,e.multiLine),e):e},createVariableStatement:tr,updateVariableStatement:rr,createEmptyStatement:nr,createExpressionStatement:ir,updateExpressionStatement:function(e,t){return e.expression!==t?m(ir(t),e):e},createIfStatement:ar,updateIfStatement:function(e,t,r,n){return e.expression!==t||e.thenStatement!==r||e.elseStatement!==n?m(ar(t,r,n),e):e},createDoStatement:or,updateDoStatement:function(e,t,r){return e.statement!==t||e.expression!==r?m(or(t,r),e):e},createWhileStatement:sr,updateWhileStatement:function(e,t,r){return e.expression!==t||e.statement!==r?m(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?m(cr(t,r,n,i),e):e},createForInStatement:lr,updateForInStatement:function(e,t,r,n){return e.initializer!==t||e.expression!==r||e.statement!==n?m(lr(t,r,n),e):e},createForOfStatement:ur,updateForOfStatement:function(e,t,r,n,i){return e.awaitModifier!==t||e.initializer!==r||e.expression!==n||e.statement!==i?m(ur(t,r,n,i),e):e},createContinueStatement:dr,updateContinueStatement:function(e,t){return e.label!==t?m(dr(t),e):e},createBreakStatement:pr,updateBreakStatement:function(e,t){return e.label!==t?m(pr(t),e):e},createReturnStatement:fr,updateReturnStatement:function(e,t){return e.expression!==t?m(fr(t),e):e},createWithStatement:mr,updateWithStatement:function(e,t,r){return e.expression!==t||e.statement!==r?m(mr(t,r),e):e},createSwitchStatement:gr,updateSwitchStatement:function(e,t,r){return e.expression!==t||e.caseBlock!==r?m(gr(t,r),e):e},createLabeledStatement:_r,updateLabeledStatement:hr,createThrowStatement:yr,updateThrowStatement:function(e,t){return e.expression!==t?m(yr(t),e):e},createTryStatement:vr,updateTryStatement:function(e,t,r,n){return e.tryBlock!==t||e.catchClause!==r||e.finallyBlock!==n?m(vr(t,r,n),e):e},createDebuggerStatement:function(){return N(250)},createVariableDeclaration:br,updateVariableDeclaration:function(e,t,r,n,i){return e.name!==t||e.type!==n||e.exclamationToken!==r||e.initializer!==i?m(br(t,r,n,i),e):e},createVariableDeclarationList:kr,updateVariableDeclarationList:function(e,t){return e.declarations!==t?m(kr(t,e.flags),e):e},createFunctionDeclaration:xr,updateFunctionDeclaration:Er,createClassDeclaration:Sr,updateClassDeclaration:Dr,createStructDeclaration:wr,updateStructDeclaration:Tr,createInterfaceDeclaration:Cr,updateInterfaceDeclaration:Ar,createTypeAliasDeclaration:Nr,updateTypeAliasDeclaration:Pr,createEnumDeclaration:Ir,updateEnumDeclaration:Fr,createModuleDeclaration:Or,updateModuleDeclaration:Rr,createModuleBlock:Mr,updateModuleBlock:function(e,t){return e.statements!==t?m(Mr(t),e):e},createCaseBlock:Lr,updateCaseBlock:function(e,t){return e.clauses!==t?m(Lr(t),e):e},createNamespaceExportDeclaration:jr,updateNamespaceExportDeclaration:function(e,t){return e.name!==t?m(jr(t),e):e},createImportEqualsDeclaration:Br,updateImportEqualsDeclaration:zr,createImportDeclaration:Ur,updateImportDeclaration:qr,createImportClause:Jr,updateImportClause:function(e,t,r,n){return e.isTypeOnly!==t||e.name!==r||e.namedBindings!==n?m(Jr(t,r,n),e):e},createNamespaceImport:Vr,updateNamespaceImport:function(e,t){return e.name!==t?m(Vr(t),e):e},createNamespaceExport:Hr,updateNamespaceExport:function(e,t){return e.name!==t?m(Hr(t),e):e},createNamedImports:Kr,updateNamedImports:function(e,t){return e.elements!==t?m(Kr(t),e):e},createImportSpecifier:Wr,updateImportSpecifier:function(e,t,r){return e.propertyName!==t||e.name!==r?m(Wr(t,r),e):e},createExportAssignment:Gr,updateExportAssignment:$r,createExportDeclaration:Yr,updateExportDeclaration:Xr,createNamedExports:Qr,updateNamedExports:function(e,t){return e.elements!==t?m(Qr(t),e):e},createExportSpecifier:Zr,updateExportSpecifier:function(e,t,r){return e.propertyName!==t||e.name!==r?m(Zr(t,r),e):e},createMissingDeclaration:function(){return P(274,void 0,void 0)},createExternalModuleReference:en,updateExternalModuleReference:function(e,t){return e.expression!==t?m(en(t),e):e},get createJSDocAllType(){return k(306)},get createJSDocUnknownType(){return k(307)},get createJSDocNonNullableType(){return x(309)},get updateJSDocNonNullableType(){return E(309)},get createJSDocNullableType(){return x(308)},get updateJSDocNullableType(){return E(308)},get createJSDocOptionalType(){return x(310)},get updateJSDocOptionalType(){return E(310)},get createJSDocVariadicType(){return x(312)},get updateJSDocVariadicType(){return E(312)},get createJSDocNamepathType(){return x(313)},get updateJSDocNamepathType(){return E(313)},createJSDocFunctionType:rn,updateJSDocFunctionType:function(e,t,r){return e.parameters!==t||e.type!==r?m(rn(t,r),e):e},createJSDocTypeLiteral:nn,updateJSDocTypeLiteral:function(e,t,r){return e.jsDocPropertyTags!==t||e.isArrayType!==r?m(nn(t,r),e):e},createJSDocTypeExpression:an,updateJSDocTypeExpression:function(e,t){return e.type!==t?m(an(t),e):e},createJSDocSignature:on,updateJSDocSignature:function(e,t,r,n){return e.typeParameters!==t||e.parameters!==r||e.type!==n?m(on(t,r,n),e):e},createJSDocTemplateTag:ln,updateJSDocTemplateTag:function(e,t,r,n,i){void 0===t&&(t=sn(e));return e.tagName!==t||e.constraint!==r||e.typeParameters!==n||e.comment!==i?m(ln(t,r,n,i),e):e},createJSDocTypedefTag:un,updateJSDocTypedefTag:function(e,t,r,n,i){void 0===t&&(t=sn(e));return e.tagName!==t||e.typeExpression!==r||e.fullName!==n||e.comment!==i?m(un(t,r,n,i),e):e},createJSDocParameterTag:dn,updateJSDocParameterTag:function(e,t,r,n,i,a,o){void 0===t&&(t=sn(e));return e.tagName!==t||e.name!==r||e.isBracketed!==n||e.typeExpression!==i||e.isNameFirst!==a||e.comment!==o?m(dn(t,r,n,i,a,o),e):e},createJSDocPropertyTag:pn,updateJSDocPropertyTag:function(e,t,r,n,i,a,o){void 0===t&&(t=sn(e));return e.tagName!==t||e.name!==r||e.isBracketed!==n||e.typeExpression!==i||e.isNameFirst!==a||e.comment!==o?m(pn(t,r,n,i,a,o),e):e},createJSDocCallbackTag:fn,updateJSDocCallbackTag:function(e,t,r,n,i){void 0===t&&(t=sn(e));return e.tagName!==t||e.typeExpression!==r||e.fullName!==n||e.comment!==i?m(fn(t,r,n,i),e):e},createJSDocAugmentsTag:mn,updateJSDocAugmentsTag:function(e,t,r,n){void 0===t&&(t=sn(e));return e.tagName!==t||e.class!==r||e.comment!==n?m(mn(t,r,n),e):e},createJSDocImplementsTag:gn,updateJSDocImplementsTag:function(e,t,r,n){void 0===t&&(t=sn(e));return e.tagName!==t||e.class!==r||e.comment!==n?m(gn(t,r,n),e):e},createJSDocSeeTag:_n,updateJSDocSeeTag:function(e,t,r,n){return e.tagName!==t||e.name!==r||e.comment!==n?m(_n(t,r,n),e):e},createJSDocNameReference:hn,updateJSDocNameReference:function(e,t){return e.name!==t?m(hn(t),e):e},get createJSDocTypeTag(){return w(332)},get updateJSDocTypeTag(){return T(332)},get createJSDocReturnTag(){return w(330)},get updateJSDocReturnTag(){return T(330)},get createJSDocThisTag(){return w(331)},get updateJSDocThisTag(){return T(331)},get createJSDocEnumTag(){return w(328)},get updateJSDocEnumTag(){return T(328)},get createJSDocAuthorTag(){return S(320)},get updateJSDocAuthorTag(){return D(320)},get createJSDocClassTag(){return S(322)},get updateJSDocClassTag(){return D(322)},get createJSDocPublicTag(){return S(323)},get updateJSDocPublicTag(){return D(323)},get createJSDocPrivateTag(){return S(324)},get updateJSDocPrivateTag(){return D(324)},get createJSDocProtectedTag(){return S(325)},get updateJSDocProtectedTag(){return D(325)},get createJSDocReadonlyTag(){return S(326)},get updateJSDocReadonlyTag(){return D(326)},get createJSDocDeprecatedTag(){return S(321)},get updateJSDocDeprecatedTag(){return D(321)},createJSDocUnknownTag:bn,updateJSDocUnknownTag:function(e,t,r){return e.tagName!==t||e.comment!==r?m(bn(t,r),e):e},createJSDocComment:kn,updateJSDocComment:function(e,t,r){return e.comment!==t||e.tags!==r?m(kn(t,r),e):e},createJsxElement:xn,updateJsxElement:function(e,t,r,n){return e.openingElement!==t||e.children!==r||e.closingElement!==n?m(xn(t,r,n),e):e},createJsxSelfClosingElement:En,updateJsxSelfClosingElement:function(e,t,r,n){return e.tagName!==t||e.typeArguments!==r||e.attributes!==n?m(En(t,r,n),e):e},createJsxOpeningElement:Sn,updateJsxOpeningElement:function(e,t,r,n){return e.tagName!==t||e.typeArguments!==r||e.attributes!==n?m(Sn(t,r,n),e):e},createJsxClosingElement:Dn,updateJsxClosingElement:function(e,t){return e.tagName!==t?m(Dn(t),e):e},createJsxFragment:wn,createJsxText:Tn,updateJsxText:function(e,t,r){return e.text!==t||e.containsOnlyTriviaWhiteSpaces!==r?m(Tn(t,r),e):e},createJsxOpeningFragment:function(){var e=N(281);return e.transformFlags|=2,e},createJsxJsxClosingFragment:function(){var e=N(282);return e.transformFlags|=2,e},updateJsxFragment:function(e,t,r,n){return e.openingFragment!==t||e.children!==r||e.closingFragment!==n?m(wn(t,r,n),e):e},createJsxAttribute:Cn,updateJsxAttribute:function(e,t,r){return e.name!==t||e.initializer!==r?m(Cn(t,r),e):e},createJsxAttributes:An,updateJsxAttributes:function(e,t){return e.properties!==t?m(An(t),e):e},createJsxSpreadAttribute:Nn,updateJsxSpreadAttribute:function(e,t){return e.expression!==t?m(Nn(t),e):e},createJsxExpression:Pn,updateJsxExpression:function(e,t){return e.expression!==t?m(Pn(e.dotDotDotToken,t),e):e},createCaseClause:In,updateCaseClause:function(e,t,r){return e.expression!==t||e.statements!==r?m(In(t,r),e):e},createDefaultClause:Fn,updateDefaultClause:function(e,t){return e.statements!==t?m(Fn(t),e):e},createHeritageClause:On,updateHeritageClause:function(e,t){return e.types!==t?m(On(e.token,t),e):e},createCatchClause:Rn,updateCatchClause:function(e,t,r){return e.variableDeclaration!==t||e.block!==r?m(Rn(t,r),e):e},createPropertyAssignment:Mn,updatePropertyAssignment:function(e,t,r){return e.name!==t||e.initializer!==r?function(e,t){t.decorators&&(e.decorators=t.decorators);t.modifiers&&(e.modifiers=t.modifiers);t.questionToken&&(e.questionToken=t.questionToken);t.exclamationToken&&(e.exclamationToken=t.exclamationToken);return m(e,t)}(Mn(t,r),e):e},createShorthandPropertyAssignment:Ln,updateShorthandPropertyAssignment:function(e,t,r){return e.name!==t||e.objectAssignmentInitializer!==r?function(e,t){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);return m(e,t)}(Ln(t,r),e):e},createSpreadAssignment:jn,updateSpreadAssignment:function(e,t){return e.expression!==t?m(jn(t),e):e},createEnumMember:Bn,updateEnumMember:function(e,t,r){return e.name!==t||e.initializer!==r?m(Bn(t,r),e):e},createSourceFile:function(e,t,r){var n=f.createBaseSourceFileNode(300);return n.statements=A(e),n.endOfFileToken=t,n.flags|=r,n.fileName="",n.text="",n.languageVersion=0,n.languageVariant=0,n.scriptKind=0,n.isDeclarationFile=!1,n.hasNoDefaultLib=!1,n.transformFlags|=d(n.statements)|u(n.endOfFileToken),n},updateSourceFile:function(t,r,n,i,a,o,s){void 0===n&&(n=t.isDeclarationFile);void 0===i&&(i=t.referencedFiles);void 0===a&&(a=t.typeReferenceDirectives);void 0===o&&(o=t.hasNoDefaultLib);void 0===s&&(s=t.libReferenceDirectives);return t.statements!==r||t.isDeclarationFile!==n||t.referencedFiles!==i||t.typeReferenceDirectives!==a||t.hasNoDefaultLib!==o||t.libReferenceDirectives!==s?m(function(t,r,n,i,a,o,s){var c=t.redirectInfo?Object.create(t.redirectInfo.redirectTarget):f.createBaseSourceFileNode(300);for(var l in t)"emitNode"!==l&&!e.hasProperty(c,l)&&e.hasProperty(t,l)&&(c[l]=t[l]);return c.flags|=t.flags,c.statements=A(r),c.endOfFileToken=t.endOfFileToken,c.isDeclarationFile=n,c.referencedFiles=i,c.typeReferenceDirectives=a,c.hasNoDefaultLib=o,c.libReferenceDirectives=s,c.transformFlags=d(c.statements)|u(c.endOfFileToken),c}(t,r,n,i,a,o,s),t):t},createBundle:zn,updateBundle:function(t,r,n){void 0===n&&(n=e.emptyArray);return t.sourceFiles!==r||t.prepends!==n?m(zn(r,n),t):t},createUnparsedSource:function(t,r,n){var i=N(302);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 Un(295,e)},createUnparsedPrepend:function(e,t){var r=Un(296,e);return r.texts=t,r},createUnparsedTextLike:function(e,t){return Un(t?298:297,e)},createUnparsedSyntheticReference:function(e){var t=N(299);return t.data=e.data,t.section=e,t},createInputFiles:function(){var e=N(303);return e.javascriptText="",e.declarationText="",e},createSyntheticExpression:function(e,t,r){void 0===t&&(t=!1);var n=N(229);return n.type=e,n.isSpread=t,n.tupleNameSource=r,n},createSyntaxList:function(e){var t=N(337);return t._children=e,t},createNotEmittedStatement:function(t){var r=N(338);return r.original=t,e.setTextRange(r,t),r},createPartiallyEmittedExpression:qn,updatePartiallyEmittedExpression:Jn,createCommaListExpression:Hn,updateCommaListExpression:function(e,t){return e.elements!==t?m(Hn(t),e):e},createEndOfDeclarationMarker:function(e){var t=N(342);return t.emitNode={},t.original=e,t},createMergeDeclarationMarker:function(e){var t=N(341);return t.emitNode={},t.original=e,t},createSyntheticReferenceExpression:Kn,updateSyntheticReferenceExpression:function(e,t,r){return e.expression!==t||e.thisArg!==r?m(Kn(t,r),e):e},cloneNode:Wn,get createComma(){return h(27)},get createAssignment(){return h(62)},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 v(39)},get createPrefixMinus(){return v(40)},get createPrefixIncrement(){return v(45)},get createPrefixDecrement(){return v(46)},get createBitwiseNot(){return v(54)},get createLogicalNot(){return v(53)},get createPostfixIncrement(){return b(45)},get createPostfixDecrement(){return b(46)},createImmediatelyInvokedFunctionExpression:function(e,t,r){return gt(St(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(Tt(void 0,void 0,t?[t]:[],void 0,void 0,er(e,!0)),void 0,r?[r]:[])},createVoidZero:Gn,createExportDefault:function(e){return Gr(void 0,void 0,!1,e)},createExternalModuleExport:function(e){return Yr(void 0,void 0,!1,Qr([Zr(void 0,e)]))},createTypeCheck:function(e,t){return"undefined"===t?C.createStrictEquality(e,Gn()):C.createStrictEquality(Nt(e),K(t))},createMethodCall:$n,createGlobalMethodCall:Yn,createFunctionBindCall:function(e,t,r){return $n(e,"bind",i([t],r))},createFunctionCallCall:function(e,t,r){return $n(e,"call",i([t],r))},createFunctionApplyCall:function(e,t,r){return $n(e,"apply",[t,r])},createArraySliceCall:function(e,t){return $n(e,"slice",void 0===t?[]:[ci(t)])},createArrayConcatCall:function(e,t){return $n(e,"concat",t)},createObjectDefinePropertyCall:function(e,t,r){return Yn("Object","defineProperty",[e,ci(t),r])},createPropertyDescriptor:function(t,r){var n=[];Xn(n,"enumerable",ci(t.enumerable)),Xn(n,"configurable",ci(t.configurable));var i=Xn(n,"writable",ci(t.writable));i=Xn(n,"value",t.value)||i;var a=Xn(n,"get",t.get);return a=Xn(n,"set",t.set)||a,e.Debug.assert(!(i&&a),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),ct(n,!r)},createCallBinding:function(t,r,n,i){void 0===i&&(i=!1);var a,o,s=e.skipOuterExpressions(t,15);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=Gn(),o=g().parenthesizeLeftSideOfAccess(s)):e.isPropertyAccessExpression(s)?Qn(s.expression,i)?(a=X(r),o=lt(e.setTextRange(C.createAssignment(a,s.expression),s.expression),s.name),e.setTextRange(o,s)):(a=s.expression,o=s):e.isElementAccessExpression(s)?Qn(s.expression,i)?(a=X(r),o=pt(e.setTextRange(C.createAssignment(a,s.expression),s.expression),s.argumentExpression),e.setTextRange(o,s)):(a=s.expression,o=s):(a=Gn(),o=g().parenthesizeLeftSideOfAccess(t));return{target:o,thisArg:a}},inlineExpressions:function(t){return t.length>10?Hn(t):e.reduceLeft(t,C.createComma)},getInternalName:function(e,t,r){return Zn(e,t,r,49152)},getLocalName:function(e,t,r){return Zn(e,t,r,16384)},getExportName:ei,getDeclarationName:function(e,t,r){return Zn(e,t,r)},getNamespaceMemberName:ti,getExternalModuleOrNamespaceExportName:function(t,r,n,i){if(t&&e.hasSyntacticModifier(r,1))return ti(t,Zn(r),n,i);return ei(r,n,i)},restoreOuterExpressions:function t(r,n,i){void 0===i&&(i=15);if(r&&e.isOuterExpression(r,i)&&(a=r,!(e.isParenthesizedExpression(a)&&e.nodeIsSynthesized(a)&&e.nodeIsSynthesized(e.getSourceMapRange(a))&&e.nodeIsSynthesized(e.getCommentRange(a)))||e.some(e.getSyntheticLeadingComments(a))||e.some(e.getSyntheticTrailingComments(a))))return function(e,t){switch(e.kind){case 208:return Et(e,t);case 207:return kt(e,e.type,t);case 226:return Wt(e,t,e.type);case 227:return $t(e,t);case 339:return Jn(e,t)}}(r,t(r.expression,n));var a;return 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);i&&i(n);return a},createUseStrictPrologue:ri,copyPrologue:function(e,t,r,n){var i=ni(e,t,r);return ii(e,t,i,n)},copyStandardPrologue:ni,copyCustomPrologue:ii,ensureUseStrict:function(t){if(!e.findUseStrictPrologue(t))return e.setTextRange(A(i([ri()],t)),t);return 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=ai(t,e.isPrologueDirective,0),a=ai(t,e.isHoistedFunction,n),o=ai(t,e.isHoistedVariableStatement,a),s=ai(r,e.isPrologueDirective,0),c=ai(r,e.isHoistedFunction,s),l=ai(r,e.isHoistedVariableStatement,c),u=ai(r,e.isCustomPrologue,l);e.Debug.assert(u===r.length,"Expected declarations to be valid standard or custom prologues");var d=e.isNodeArray(t)?t.slice():t;u>l&&d.splice.apply(d,i([o,0],r.slice(l,u)));l>c&&d.splice.apply(d,i([a,0],r.slice(c,l)));c>s&&d.splice.apply(d,i([n,0],r.slice(s,c)));if(s>0)if(0===n)d.splice.apply(d,i([0,0],r.slice(0,s)));else{for(var p=new e.Map,f=0;f<n;f++){var m=t[f];p.set(m.expression.text,!0)}for(f=s-1;f>=0;f--){var g=r[f];p.has(g.expression.text)||d.unshift(g)}}if(e.isNodeArray(t))return e.setTextRange(A(d,t.hasTrailingComma),t);return t},updateModifiers:function(t,r){var n;"number"==typeof r&&(r=ae(r));return e.isParameter(t)?ue(t,t.decorators,r,t.dotDotDotToken,t.name,t.questionToken,t.type,t.initializer):e.isPropertySignature(t)?fe(t,r,t.name,t.questionToken,t.type):e.isPropertyDeclaration(t)?ge(t,t.decorators,r,t.name,null!==(n=t.questionToken)&&void 0!==n?n:t.exclamationToken,t.type,t.initializer):e.isMethodSignature(t)?he(t,r,t.name,t.questionToken,t.typeParameters,t.parameters,t.type):e.isMethodDeclaration(t)?ve(t,t.decorators,r,t.asteriskToken,t.name,t.questionToken,t.typeParameters,t.parameters,t.type,t.body):e.isConstructorDeclaration(t)?ke(t,t.decorators,r,t.parameters,t.body):e.isGetAccessorDeclaration(t)?Ee(t,t.decorators,r,t.name,t.parameters,t.type,t.body):e.isSetAccessorDeclaration(t)?De(t,t.decorators,r,t.name,t.parameters,t.body):e.isIndexSignatureDeclaration(t)?Ae(t,t.decorators,r,t.parameters,t.type):e.isFunctionExpression(t)?Dt(t,r,t.asteriskToken,t.name,t.typeParameters,t.parameters,t.type,t.body):e.isArrowFunction(t)?Ct(t,r,t.typeParameters,t.parameters,t.type,t.equalsGreaterThanToken,t.body):e.isClassExpression(t)?Vt(t,t.decorators,r,t.name,t.typeParameters,t.heritageClauses,t.members):e.isVariableStatement(t)?rr(t,r,t.declarationList):e.isFunctionDeclaration(t)?Er(t,t.decorators,r,t.asteriskToken,t.name,t.typeParameters,t.parameters,t.type,t.body):e.isClassDeclaration(t)?Dr(t,t.decorators,r,t.name,t.typeParameters,t.heritageClauses,t.members):e.isStructDeclaration(t)?Tr(t,t.decorators,r,t.name,t.typeParameters,t.heritageClauses,t.members):e.isInterfaceDeclaration(t)?Ar(t,t.decorators,r,t.name,t.typeParameters,t.heritageClauses,t.members):e.isTypeAliasDeclaration(t)?Pr(t,t.decorators,r,t.name,t.typeParameters,t.type):e.isEnumDeclaration(t)?Fr(t,t.decorators,r,t.name,t.members):e.isModuleDeclaration(t)?Rr(t,t.decorators,r,t.name,t.body):e.isImportEqualsDeclaration(t)?zr(t,t.decorators,r,t.isTypeOnly,t.name,t.moduleReference):e.isImportDeclaration(t)?qr(t,t.decorators,r,t.importClause,t.moduleSpecifier):e.isExportAssignment(t)?$r(t,t.decorators,r,t.expression):e.isExportDeclaration(t)?Xr(t,t.decorators,r,t.isTypeOnly,t.exportClause,t.moduleSpecifier):e.Debug.assertNever(t)}};return C;function A(t,r){if(void 0===t||t===e.emptyArray)t=[];else if(e.isNodeArray(t))return void 0===t.transformFlags&&p(t),e.Debug.attachNodeArrayDebugInfo(t),t;var n=t.length,i=n>=1&&n<=4?t.slice():t;return e.setTextRangePosEnd(i,-1,-1),i.hasTrailingComma=!!r,p(i),e.Debug.attachNodeArrayDebugInfo(i),i}function N(e){return f.createBaseNode(e)}function P(e,t,r){var n=N(e);return n.decorators=oi(t),n.modifiers=oi(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 I(t,r,n,i){var a=P(t,r,n);if(i=si(i),a.name=i,i)switch(a.kind){case 166:case 168:case 169:case 164:case 291:if(e.isIdentifier(i)){a.transformFlags|=l(i);break}default:a.transformFlags|=u(i)}return a}function F(e,t,r,n,i){var a=I(e,t,r,n);return a.typeParameters=oi(i),a.transformFlags|=d(a.typeParameters),i&&(a.transformFlags|=1),a}function O(e,t,r,n,i,a,o){var s=F(e,t,r,n,i);return s.parameters=A(a),s.type=o,s.transformFlags|=d(s.parameters)|u(s.type),o&&(s.transformFlags|=1),s}function R(e,t){return t.typeArguments&&(e.typeArguments=t.typeArguments),m(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|=-8388609&u(c.body),s||(c.transformFlags|=1),c}function L(e,t){return t.exclamationToken&&(e.exclamationToken=t.exclamationToken),t.typeArguments&&(e.typeArguments=t.typeArguments),R(e,t)}function j(e,t,r,n,i,a){var o=F(e,t,r,n,i);return o.heritageClauses=oi(a),o.transformFlags|=d(o.heritageClauses),o}function B(e,t,r,n,i,a,o){var s=j(e,t,r,n,i,a);return s.members=A(o),s.transformFlags|=d(s.members),s}function z(e,t,r,n,i){var a=I(e,t,r,n);return a.initializer=i,a.transformFlags|=u(a.initializer),a}function U(e,t,r,n,i,a){var o=z(e,t,r,n,a);return o.type=i,o.transformFlags|=u(i),i&&(o.transformFlags|=1),o}function q(e,t){var r=Z(e);return r.text=t,r}function J(e,t){void 0===t&&(t=0);var r=q(8,"number"==typeof e?e+"":e);return r.numericLiteralFlags=t,384&t&&(r.transformFlags|=256),r}function V(t){var r=q(9,"string"==typeof t?t:e.pseudoBigIntToString(t)+"n");return r.transformFlags|=4,r}function H(e,t){var r=q(10,e);return r.singleQuote=t,r}function K(e,t,r){var n=H(e,t);return n.hasExtendedUnicodeEscape=r,r&&(n.transformFlags|=256),n}function W(e){return q(13,e)}function G(t,r){void 0===r&&t&&(r=e.stringToToken(t)),78===r&&(r=void 0);var n=f.createBaseIdentifierNode(78);return n.originalKeywordKind=r,n.escapedText=e.escapeLeadingUnderscores(t),n}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=A(t)),131===n.originalKeywordKind&&(n.transformFlags|=8388608),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 f.createBaseTokenNode(e)}function ee(t){e.Debug.assert(t>=0&&t<=157,"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(78!==t,"Invalid token. Use 'createIdentifier' to create identifiers");var r=Z(t),n=0;switch(t){case 130:n=96;break;case 123:case 121:case 122:case 143:case 126:case 134:case 85:case 129:case 145:case 156:case 142:case 146:case 148:case 132:case 149:case 114:case 153:case 151:n=1;break;case 124:case 106:n=256;break;case 108:n=4096}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(134)),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)),64&e&&t.push(ie(143)),256&e&&t.push(ie(130)),t}function oe(e,t){var r=N(158);return r.left=e,r.right=si(t),r.transformFlags|=u(r.left)|l(r.right),r}function se(e){var t=N(159);return t.expression=g().parenthesizeExpressionOfComputedPropertyName(e),t.transformFlags|=33024|u(t.expression),t}function ce(e,t,r){var n=I(160,void 0,void 0,e);return n.constraint=t,n.default=r,n.transformFlags=1,n}function le(t,r,n,i,a,o,s){var c=U(161,t,r,i,o,s&&g().parenthesizeExpressionForDisallowedComma(s));return c.dotDotDotToken=n,c.questionToken=a,e.isThisIdentifier(c.name)?c.transformFlags=1:(c.transformFlags|=u(c.dotDotDotToken)|u(c.questionToken),a&&(c.transformFlags|=1),92&e.modifiersToFlags(c.modifiers)&&(c.transformFlags|=2048),(s||n)&&(c.transformFlags|=256)),c}function ue(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?m(le(t,r,n,i,a,o,s),e):e}function de(e){var t=N(162);return t.expression=g().parenthesizeLeftSideOfAccess(e),t.transformFlags|=2049|u(t.expression),t}function pe(e,t,r,n){var i=I(163,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?m(pe(t,r,n,i),e):e}function me(t,r,n,i,a,o){var s=U(164,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|=u(s.questionToken)|u(s.exclamationToken)|4194304,(e.isComputedPropertyName(s.name)||e.hasStaticModifier(s)&&s.initializer)&&(s.transformFlags|=2048),(i||2&e.modifiersToFlags(s.modifiers))&&(s.transformFlags|=1),s}function ge(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?m(me(r,n,i,a,o,s),t):t}function _e(e,t,r,n,i,a){var o=O(165,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?R(_e(t,r,n,i,a,o),e):e}function ye(t,r,n,i,a,o,s,c,l){var d=M(166,t,r,i,o,s,c,l);return d.asteriskToken=n,d.questionToken=a,d.transformFlags|=u(d.asteriskToken)|u(d.questionToken)|256,a&&(d.transformFlags|=1),256&e.modifiersToFlags(d.modifiers)?d.transformFlags|=n?32:64:n&&(d.transformFlags|=512),d}function ve(e,t,r,n,i,a,o,s,c,l){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!==l?L(ye(t,r,n,i,a,o,s,c,l),e):e}function be(e,t,r,n){var i=M(167,e,t,void 0,void 0,r,void 0,n);return i.transformFlags|=256,i}function ke(e,t,r,n,i){return e.decorators!==t||e.modifiers!==r||e.parameters!==n||e.body!==i?L(be(t,r,n,i),e):e}function xe(e,t,r,n,i,a){return M(168,e,t,r,void 0,n,i,a)}function Ee(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?L(xe(t,r,n,i,a,o),e):e}function Se(e,t,r,n,i){return M(169,e,t,r,void 0,n,void 0,i)}function De(e,t,r,n,i,a){return e.decorators!==t||e.modifiers!==r||e.name!==n||e.parameters!==i||e.body!==a?L(Se(t,r,n,i,a),e):e}function we(e,t,r){var n=O(170,void 0,void 0,void 0,e,t,r);return n.transformFlags=1,n}function Te(e,t,r){var n=O(171,void 0,void 0,void 0,e,t,r);return n.transformFlags=1,n}function Ce(e,t,r,n){var i=O(172,e,t,void 0,void 0,r,n);return i.transformFlags=1,i}function Ae(e,t,r,n,i){return e.parameters!==n||e.type!==i||e.decorators!==t||e.modifiers!==r?R(Ce(t,r,n,i),e):e}function Ne(e,t){var r=N(195);return r.type=e,r.literal=t,r.transformFlags=1,r}function Pe(e,t,r){var n=N(173);return n.assertsModifier=e,n.parameterName=si(t),n.type=r,n.transformFlags=1,n}function Ie(e,t){var r=N(174);return r.typeName=si(e),r.typeArguments=t&&g().parenthesizeTypeArguments(A(t)),r.transformFlags=1,r}function Fe(e,t,r){var n=O(175,void 0,void 0,void 0,e,t,r);return n.transformFlags=1,n}function Oe(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return 4===t.length?Re.apply(void 0,t):3===t.length?Me.apply(void 0,t):e.Debug.fail("Incorrect number of arguments specified.")}function Re(e,t,r,n){var i=O(176,void 0,e,void 0,t,r,n);return i.transformFlags=1,i}function Me(e,t,r){return Re(void 0,e,t,r)}function Le(e,t,r,n,i){return e.modifiers!==t||e.typeParameters!==r||e.parameters!==n||e.type!==i?R(Oe(t,r,n,i),e):e}function je(e,t,r,n){return Le(e,e.modifiers,t,r,n)}function Be(e){var t=N(177);return t.exprName=e,t.transformFlags=1,t}function ze(e){var t=N(178);return t.members=A(e),t.transformFlags=1,t}function Ue(e){var t=N(179);return t.elementType=g().parenthesizeElementTypeOfArrayType(e),t.transformFlags=1,t}function qe(e){var t=N(180);return t.elements=A(e),t.transformFlags=1,t}function Je(e,t,r,n){var i=N(193);return i.dotDotDotToken=e,i.name=t,i.questionToken=r,i.type=n,i.transformFlags=1,i}function Ve(e){var t=N(181);return t.type=g().parenthesizeElementTypeOfArrayType(e),t.transformFlags=1,t}function He(e){var t=N(182);return t.type=e,t.transformFlags=1,t}function Ke(e,t){var r=N(e);return r.types=g().parenthesizeConstituentTypesOfUnionOrIntersectionType(t),r.transformFlags=1,r}function We(e,t){return e.types!==t?m(Ke(e.kind,t),e):e}function Ge(e,t,r,n){var i=N(185);return i.checkType=g().parenthesizeMemberOfConditionalType(e),i.extendsType=g().parenthesizeMemberOfConditionalType(t),i.trueType=r,i.falseType=n,i.transformFlags=1,i}function $e(e){var t=N(186);return t.typeParameter=e,t.transformFlags=1,t}function Ye(e,t){var r=N(194);return r.head=e,r.templateSpans=A(t),r.transformFlags=1,r}function Xe(e,t,r,n){void 0===n&&(n=!1);var i=N(196);return i.argument=e,i.qualifier=t,i.typeArguments=r&&g().parenthesizeTypeArguments(r),i.isTypeOf=n,i.transformFlags=1,i}function Qe(e){var t=N(187);return t.type=e,t.transformFlags=1,t}function Ze(e,t){var r=N(189);return r.operator=e,r.type=g().parenthesizeMemberOfElementType(t),r.transformFlags=1,r}function et(e,t){var r=N(190);return r.objectType=g().parenthesizeMemberOfElementType(e),r.indexType=t,r.transformFlags=1,r}function tt(e,t,r,n,i){var a=N(191);return a.readonlyToken=e,a.typeParameter=t,a.nameType=r,a.questionToken=n,a.type=i,a.transformFlags=1,a}function rt(e){var t=N(192);return t.literal=e,t.transformFlags=1,t}function nt(e){var t=N(197);return t.elements=A(e),t.transformFlags|=131328|d(t.elements),8192&t.transformFlags&&(t.transformFlags|=16416),t}function it(e){var t=N(198);return t.elements=A(e),t.transformFlags|=131328|d(t.elements),t}function at(t,r,n,i){var a=z(199,void 0,void 0,n,i);return a.propertyName=si(r),a.dotDotDotToken=t,a.transformFlags|=256|u(a.dotDotDotToken),a.propertyName&&(a.transformFlags|=e.isIdentifier(a.propertyName)?l(a.propertyName):u(a.propertyName)),t&&(a.transformFlags|=8192),a}function ot(e){return N(e)}function st(e,t){var r=ot(200);return r.elements=g().parenthesizeExpressionsOfCommaDelimitedList(A(e)),r.multiLine=t,r.transformFlags|=d(r.elements),r}function ct(e,t){var r=ot(201);return r.properties=A(e),r.multiLine=t,r.transformFlags|=d(r.properties),r}function lt(t,r){var n=ot(202);return n.expression=g().parenthesizeLeftSideOfAccess(t),n.name=si(r),n.transformFlags=u(n.expression)|(e.isIdentifier(n.name)?l(n.name):u(n.name)),e.isSuperKeyword(t)&&(n.transformFlags|=96),n}function ut(t,r,n){var i=ot(202);return i.flags|=32,i.expression=g().parenthesizeLeftSideOfAccess(t),i.questionDotToken=r,i.name=si(n),i.transformFlags|=8|u(i.expression)|u(i.questionDotToken)|(e.isIdentifier(i.name)?l(i.name):u(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?m(ut(r,n,i),t):t}function pt(t,r){var n=ot(203);return n.expression=g().parenthesizeLeftSideOfAccess(t),n.argumentExpression=ci(r),n.transformFlags|=u(n.expression)|u(n.argumentExpression),e.isSuperKeyword(t)&&(n.transformFlags|=96),n}function ft(e,t,r){var n=ot(203);return n.flags|=32,n.expression=g().parenthesizeLeftSideOfAccess(e),n.questionDotToken=t,n.argumentExpression=ci(r),n.transformFlags|=u(n.expression)|u(n.questionDotToken)|u(n.argumentExpression)|8,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?m(ft(r,n,i),t):t}function gt(t,r,n){var i=ot(204);return i.expression=g().parenthesizeLeftSideOfAccess(t),i.typeArguments=oi(r),i.arguments=g().parenthesizeExpressionsOfCommaDelimitedList(A(n)),i.transformFlags|=u(i.expression)|d(i.typeArguments)|d(i.arguments),i.typeArguments&&(i.transformFlags|=1),e.isImportKeyword(i.expression)?i.transformFlags|=2097152:e.isSuperProperty(i.expression)&&(i.transformFlags|=4096),i}function _t(t,r,n,i){var a=ot(204);return a.flags|=32,a.expression=g().parenthesizeLeftSideOfAccess(t),a.questionDotToken=r,a.typeArguments=oi(n),a.arguments=g().parenthesizeExpressionsOfCommaDelimitedList(A(i)),a.transformFlags|=u(a.expression)|u(a.questionDotToken)|d(a.typeArguments)|d(a.arguments)|8,a.typeArguments&&(a.transformFlags|=1),e.isSuperProperty(a.expression)&&(a.transformFlags|=4096),a}function ht(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?m(_t(r,n,i,a),t):t}function yt(e,t,r){var n=ot(205);return n.expression=g().parenthesizeExpressionOfNew(e),n.typeArguments=oi(t),n.arguments=r?g().parenthesizeExpressionsOfCommaDelimitedList(r):void 0,n.transformFlags|=u(n.expression)|d(n.typeArguments)|d(n.arguments)|8,n.typeArguments&&(n.transformFlags|=1),n}function vt(t,r,n){var i=ot(206);return i.tag=g().parenthesizeLeftSideOfAccess(t),i.typeArguments=oi(r),i.template=n,i.transformFlags|=u(i.tag)|d(i.typeArguments)|u(i.template)|256,i.typeArguments&&(i.transformFlags|=1),e.hasInvalidEscape(i.template)&&(i.transformFlags|=32),i}function bt(e,t){var r=ot(207);return r.expression=g().parenthesizeOperandOfPrefixUnary(t),r.type=e,r.transformFlags|=u(r.expression)|u(r.type)|1,r}function kt(e,t,r){return e.type!==t||e.expression!==r?m(bt(t,r),e):e}function xt(e){var t=ot(208);return t.expression=e,t.transformFlags=u(t.expression),t}function Et(e,t){return e.expression!==t?m(xt(t),e):e}function St(t,r,n,i,a,o,s){var c=M(209,void 0,t,n,i,a,o,s);return c.asteriskToken=r,c.transformFlags|=u(c.asteriskToken),c.typeParameters&&(c.transformFlags|=1),256&e.modifiersToFlags(c.modifiers)?c.asteriskToken?c.transformFlags|=32:c.transformFlags|=64:c.asteriskToken&&(c.transformFlags|=512),c}function Dt(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?L(St(t,r,n,i,a,o,s),e):e}function wt(e,t,r){var n=ot(211);return n.expression=g().parenthesizeLeftSideOfAccess(e),n.arguments=g().parenthesizeExpressionsOfCommaDelimitedList(A(t)),n.body=r,n}function Tt(t,r,n,i,a,o){var s=M(210,void 0,t,void 0,r,n,i,g().parenthesizeConciseBodyOfArrowFunction(o));return s.equalsGreaterThanToken=null!=a?a:ee(38),s.transformFlags|=256|u(s.equalsGreaterThanToken),256&e.modifiersToFlags(s.modifiers)&&(s.transformFlags|=64),s}function Ct(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?L(Tt(t,r,n,i,a,o),e):e}function At(e){var t=ot(212);return t.expression=g().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=u(t.expression),t}function Nt(e){var t=ot(213);return t.expression=g().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=u(t.expression),t}function Pt(e){var t=ot(214);return t.expression=g().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=u(t.expression),t}function It(e){var t=ot(215);return t.expression=g().parenthesizeOperandOfPrefixUnary(e),t.transformFlags|=524384|u(t.expression),t}function Ft(e,t){var r=ot(216);return r.operator=e,r.operand=g().parenthesizeOperandOfPrefixUnary(t),r.transformFlags|=u(r.operand),r}function Ot(e,t){var r=ot(217);return r.operator=t,r.operand=g().parenthesizeOperandOfPostfixUnary(e),r.transformFlags=u(r.operand),r}function Rt(t,r,n){var i,a=ot(218),o="number"==typeof(i=r)?ee(i):i,s=o.kind;return a.left=g().parenthesizeLeftSideOfBinary(s,t),a.operatorToken=o,a.right=g().parenthesizeRightSideOfBinary(s,a.left,n),a.transformFlags|=u(a.left)|u(a.operatorToken)|u(a.right),60===s?a.transformFlags|=8:62===s?e.isObjectLiteralExpression(a.left)?a.transformFlags|=1312|Mt(a.left):e.isArrayLiteralExpression(a.left)&&(a.transformFlags|=1280|Mt(a.left)):42===s||66===s?a.transformFlags|=128:e.isLogicalOrCoalescingAssignmentOperator(s)&&(a.transformFlags|=4),a}function Mt(t){if(16384&t.transformFlags)return 16384;if(32&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(16384&a.transformFlags)return 16384;if(32&a.transformFlags){var o=Mt(a);if(o)return o}}}return 0}function Lt(e,t,r,n,i){var a=ot(219);return a.condition=g().parenthesizeConditionOfConditionalExpression(e),a.questionToken=null!=t?t:ee(57),a.whenTrue=g().parenthesizeBranchOfConditionalExpression(r),a.colonToken=null!=n?n:ee(58),a.whenFalse=g().parenthesizeBranchOfConditionalExpression(i),a.transformFlags|=u(a.condition)|u(a.questionToken)|u(a.whenTrue)|u(a.colonToken)|u(a.whenFalse),a}function jt(e,t){var r=ot(220);return r.head=e,r.templateSpans=A(t),r.transformFlags|=u(r.head)|d(r.templateSpans)|256,r}function Bt(r,n,i,a){void 0===a&&(a=0),e.Debug.assert(!(-2049&a),"Unsupported template flags.");var o=void 0;if(void 0!==i&&i!==n&&(o=function(r,n){t||(t=e.createScanner(99,!1,0));switch(r){case 14:t.setText("`"+n+"`");break;case 15:t.setText("`"+n+"${");break;case 16:t.setText("}"+n+"${");break;case 17:t.setText("}"+n+"`")}var i,a=t.scan();23===a&&(a=t.reScanTemplateToken(!1));if(t.isUnterminated())return t.setText(void 0),c;switch(a){case 14:case 15:case 16:case 17:i=t.getTokenValue()}if(void 0===i||1!==t.scan())return t.setText(void 0),c;return t.setText(void 0),i}(r,i),"object"==typeof o))return e.Debug.fail("Invalid raw text");if(void 0===n){if(void 0===o)return e.Debug.fail("Arguments 'text' and 'rawText' may not both be undefined.");n=o}else void 0!==o&&e.Debug.assert(n===o,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return zt(r,n,i,a)}function zt(e,t,r,n){var i=Z(e);return i.text=t,i.rawText=r,i.templateFlags=2048&n,i.transformFlags|=256,i.templateFlags&&(i.transformFlags|=32),i}function Ut(t,r){e.Debug.assert(!t||!!r,"A `YieldExpression` with an asteriskToken must have an expression.");var n=ot(221);return n.expression=r&&g().parenthesizeExpressionForDisallowedComma(r),n.asteriskToken=t,n.transformFlags|=262432|(u(n.expression)|u(n.asteriskToken)),n}function qt(e){var t=ot(222);return t.expression=g().parenthesizeExpressionForDisallowedComma(e),t.transformFlags|=8448|u(t.expression),t}function Jt(e,t,r,n,i,a){var o=B(223,e,t,r,n,i,a);return o.transformFlags|=256,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?m(Jt(t,r,n,i,a,o),e):e}function Ht(e,t){var r=N(225);return r.expression=g().parenthesizeLeftSideOfAccess(e),r.typeArguments=t&&g().parenthesizeTypeArguments(t),r.transformFlags|=u(r.expression)|d(r.typeArguments)|256,r}function Kt(e,t){var r=ot(226);return r.expression=e,r.type=t,r.transformFlags|=u(r.expression)|u(r.type)|1,r}function Wt(e,t,r){return e.expression!==t||e.type!==r?m(Kt(t,r),e):e}function Gt(e){var t=ot(227);return t.expression=g().parenthesizeLeftSideOfAccess(e),t.transformFlags|=1|u(t.expression),t}function $t(t,r){return e.isNonNullChain(t)?Xt(t,r):t.expression!==r?m(Gt(r),t):t}function Yt(e){var t=ot(227);return t.flags|=32,t.expression=g().parenthesizeLeftSideOfAccess(e),t.transformFlags|=1|u(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?m(Yt(r),t):t}function Qt(t,r){var n=ot(228);switch(n.keywordToken=t,n.name=r,n.transformFlags|=u(n.name),t){case 103:n.transformFlags|=256;break;case 100:n.transformFlags|=4;break;default:return e.Debug.assertNever(t)}return n}function Zt(e,t){var r=N(230);return r.expression=e,r.literal=t,r.transformFlags|=u(r.expression)|u(r.literal)|256,r}function er(e,t){var r=N(232);return r.statements=A(e),r.multiLine=t,r.transformFlags|=d(r.statements),r}function tr(t,r){var n=P(234,void 0,t);return n.declarationList=e.isArray(r)?kr(r):r,n.transformFlags|=u(n.declarationList),2&e.modifiersToFlags(n.modifiers)&&(n.transformFlags=1),n}function rr(e,t,r){return e.modifiers!==t||e.declarationList!==r?m(tr(t,r),e):e}function nr(){return N(233)}function ir(e){var t=N(235);return t.expression=g().parenthesizeExpressionOfExpressionStatement(e),t.transformFlags|=u(t.expression),t}function ar(e,t,r){var n=N(236);return n.expression=e,n.thenStatement=li(t),n.elseStatement=li(r),n.transformFlags|=u(n.expression)|u(n.thenStatement)|u(n.elseStatement),n}function or(e,t){var r=N(237);return r.statement=li(e),r.expression=t,r.transformFlags|=u(r.statement)|u(r.expression),r}function sr(e,t){var r=N(238);return r.expression=e,r.statement=li(t),r.transformFlags|=u(r.expression)|u(r.statement),r}function cr(e,t,r,n){var i=N(239);return i.initializer=e,i.condition=t,i.incrementor=r,i.statement=li(n),i.transformFlags|=u(i.initializer)|u(i.condition)|u(i.incrementor)|u(i.statement),i}function lr(e,t,r){var n=N(240);return n.initializer=e,n.expression=t,n.statement=li(r),n.transformFlags|=u(n.initializer)|u(n.expression)|u(n.statement),n}function ur(e,t,r,n){var i=N(241);return i.awaitModifier=e,i.initializer=t,i.expression=g().parenthesizeExpressionForDisallowedComma(r),i.statement=li(n),i.transformFlags|=u(i.awaitModifier)|u(i.initializer)|u(i.expression)|u(i.statement)|256,e&&(i.transformFlags|=32),i}function dr(e){var t=N(242);return t.label=si(e),t.transformFlags|=1048576|u(t.label),t}function pr(e){var t=N(243);return t.label=si(e),t.transformFlags|=1048576|u(t.label),t}function fr(e){var t=N(244);return t.expression=e,t.transformFlags|=1048608|u(t.expression),t}function mr(e,t){var r=N(245);return r.expression=e,r.statement=li(t),r.transformFlags|=u(r.expression)|u(r.statement),r}function gr(e,t){var r=N(246);return r.expression=g().parenthesizeExpressionForDisallowedComma(e),r.caseBlock=t,r.transformFlags|=u(r.expression)|u(r.caseBlock),r}function _r(e,t){var r=N(247);return r.label=si(e),r.statement=li(t),r.transformFlags|=u(r.label)|u(r.statement),r}function hr(e,t,r){return e.label!==t||e.statement!==r?m(_r(t,r),e):e}function yr(e){var t=N(248);return t.expression=e,t.transformFlags|=u(t.expression),t}function vr(e,t,r){var n=N(249);return n.tryBlock=e,n.catchClause=t,n.finallyBlock=r,n.transformFlags|=u(n.tryBlock)|u(n.catchClause)|u(n.finallyBlock),n}function br(e,t,r,n){var i=U(251,void 0,void 0,e,r,n&&g().parenthesizeExpressionForDisallowedComma(n));return i.exclamationToken=t,i.transformFlags|=u(i.exclamationToken),t&&(i.transformFlags|=1),i}function kr(e,t){void 0===t&&(t=0);var r=N(252);return r.flags|=3&t,r.declarations=A(e),r.transformFlags|=1048576|d(r.declarations),3&t&&(r.transformFlags|=65792),r}function xr(t,r,n,i,a,o,s,c){var l=M(253,t,r,i,a,o,s,c);return l.asteriskToken=n,!l.body||2&e.modifiersToFlags(l.modifiers)?l.transformFlags=1:(l.transformFlags|=1048576|u(l.asteriskToken),256&e.modifiersToFlags(l.modifiers)?l.asteriskToken?l.transformFlags|=32:l.transformFlags|=64:l.asteriskToken&&(l.transformFlags|=512)),l}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?L(xr(t,r,n,i,a,o,s,c),e):e}function Sr(t,r,n,i,a,o){var s=B(254,t,r,n,i,a,o);return 2&e.modifiersToFlags(s.modifiers)?s.transformFlags=1:(s.transformFlags|=256,2048&s.transformFlags&&(s.transformFlags|=1)),s}function Dr(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?m(Sr(t,r,n,i,a,o),e):e}function wr(t,r,n,i,a,o){var s=B(255,t,r,n,i,a,o);return 2&e.modifiersToFlags(s.modifiers)?s.transformFlags=1:(s.transformFlags|=256,2048&s.transformFlags&&(s.transformFlags|=1)),s}function Tr(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?m(wr(t,r,n,i,a,o),e):e}function Cr(e,t,r,n,i,a){var o=j(256,e,t,r,n,i);return o.members=A(a),o.transformFlags=1,o}function Ar(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?m(Cr(t,r,n,i,a,o),e):e}function Nr(e,t,r,n,i){var a=F(257,e,t,r,n);return a.type=i,a.transformFlags=1,a}function Pr(e,t,r,n,i,a){return e.decorators!==t||e.modifiers!==r||e.name!==n||e.typeParameters!==i||e.type!==a?m(Nr(t,r,n,i,a),e):e}function Ir(e,t,r,n){var i=I(258,e,t,r);return i.members=A(n),i.transformFlags|=1|d(i.members),i.transformFlags&=-8388609,i}function Fr(e,t,r,n,i){return e.decorators!==t||e.modifiers!==r||e.name!==n||e.members!==i?m(Ir(t,r,n,i),e):e}function Or(t,r,n,i,a){void 0===a&&(a=0);var o=P(259,t,r);return o.flags|=1044&a,o.name=n,o.body=i,2&e.modifiersToFlags(o.modifiers)?o.transformFlags=1:o.transformFlags|=u(o.name)|u(o.body)|1,o.transformFlags&=-8388609,o}function Rr(e,t,r,n,i){return e.decorators!==t||e.modifiers!==r||e.name!==n||e.body!==i?m(Or(t,r,n,i,e.flags),e):e}function Mr(e){var t=N(260);return t.statements=A(e),t.transformFlags|=d(t.statements),t}function Lr(e){var t=N(261);return t.clauses=A(e),t.transformFlags|=d(t.clauses),t}function jr(e){var t=I(262,void 0,void 0,e);return t.transformFlags=1,t}function Br(t,r,n,i,a){var o=I(263,t,r,i);return o.isTypeOnly=n,o.moduleReference=a,o.transformFlags|=u(o.moduleReference),e.isExternalModuleReference(o.moduleReference)||(o.transformFlags|=1),o.transformFlags&=-8388609,o}function zr(e,t,r,n,i,a){return e.decorators!==t||e.modifiers!==r||e.isTypeOnly!==n||e.name!==i||e.moduleReference!==a?m(Br(t,r,n,i,a),e):e}function Ur(e,t,r,n){var i=P(264,e,t);return i.importClause=r,i.moduleSpecifier=n,i.transformFlags|=u(i.importClause)|u(i.moduleSpecifier),i.transformFlags&=-8388609,i}function qr(e,t,r,n,i){return e.decorators!==t||e.modifiers!==r||e.importClause!==n||e.moduleSpecifier!==i?m(Ur(t,r,n,i),e):e}function Jr(e,t,r){var n=N(265);return n.isTypeOnly=e,n.name=t,n.namedBindings=r,n.transformFlags|=u(n.name)|u(n.namedBindings),e&&(n.transformFlags|=1),n.transformFlags&=-8388609,n}function Vr(e){var t=N(266);return t.name=e,t.transformFlags|=u(t.name),t.transformFlags&=-8388609,t}function Hr(e){var t=N(272);return t.name=e,t.transformFlags|=4|u(t.name),t.transformFlags&=-8388609,t}function Kr(e){var t=N(267);return t.elements=A(e),t.transformFlags|=d(t.elements),t.transformFlags&=-8388609,t}function Wr(e,t){var r=N(268);return r.propertyName=e,r.name=t,r.transformFlags|=u(r.propertyName)|u(r.name),r.transformFlags&=-8388609,r}function Gr(e,t,r,n){var i=P(269,e,t);return i.isExportEquals=r,i.expression=r?g().parenthesizeRightSideOfBinary(62,void 0,n):g().parenthesizeExpressionOfExportDefault(n),i.transformFlags|=u(i.expression),i.transformFlags&=-8388609,i}function $r(e,t,r,n){return e.decorators!==t||e.modifiers!==r||e.expression!==n?m(Gr(t,r,e.isExportEquals,n),e):e}function Yr(e,t,r,n,i){var a=P(270,e,t);return a.isTypeOnly=r,a.exportClause=n,a.moduleSpecifier=i,a.transformFlags|=u(a.exportClause)|u(a.moduleSpecifier),a.transformFlags&=-8388609,a}function Xr(e,t,r,n,i,a){return e.decorators!==t||e.modifiers!==r||e.isTypeOnly!==n||e.exportClause!==i||e.moduleSpecifier!==a?m(Yr(t,r,n,i,a),e):e}function Qr(e){var t=N(271);return t.elements=A(e),t.transformFlags|=d(t.elements),t.transformFlags&=-8388609,t}function Zr(e,t){var r=N(273);return r.propertyName=si(e),r.name=si(t),r.transformFlags|=u(r.propertyName)|u(r.name),r.transformFlags&=-8388609,r}function en(e){var t=N(275);return t.expression=e,t.transformFlags|=u(t.expression),t.transformFlags&=-8388609,t}function tn(e,t){var r=N(e);return r.type=t,r}function rn(e,t){return O(311,void 0,void 0,void 0,void 0,e,t)}function nn(e,t){void 0===t&&(t=!1);var r=N(315);return r.jsDocPropertyTags=oi(e),r.isArrayType=t,r}function an(e){var t=N(304);return t.type=e,t}function on(e,t,r){var n=N(316);return n.typeParameters=oi(e),n.parameters=A(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=N(e);return n.tagName=t,n.comment=r,n}function ln(e,t,r,n){var i=cn(333,null!=e?e:Y("template"),n);return i.constraint=t,i.typeParameters=A(r),i}function un(t,r,n,i){var a=cn(334,null!=t?t:Y("typedef"),i);return a.typeExpression=r,a.fullName=n,a.name=e.getJSDocTypeAliasName(n),a}function dn(e,t,r,n,i,a){var o=cn(329,null!=e?e:Y("param"),a);return o.typeExpression=n,o.name=t,o.isNameFirst=!!i,o.isBracketed=r,o}function pn(e,t,r,n,i,a){var o=cn(336,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(327,null!=t?t:Y("callback"),i);return a.typeExpression=r,a.fullName=n,a.name=e.getJSDocTypeAliasName(n),a}function mn(e,t,r){var n=cn(318,null!=e?e:Y("augments"),r);return n.class=t,n}function gn(e,t,r){var n=cn(319,null!=e?e:Y("implements"),r);return n.class=t,n}function _n(e,t,r){var n=cn(335,null!=e?e:Y("see"),r);return n.name=t,n}function hn(e){var t=N(305);return t.name=e,t}function yn(e,t,r){return cn(e,null!=t?t:Y(s(e)),r)}function vn(e,t,r,n){var i=cn(e,null!=t?t:Y(s(e)),n);return i.typeExpression=r,i}function bn(e,t){return cn(317,e,t)}function kn(e,t){var r=N(314);return r.comment=e,r.tags=oi(t),r}function xn(e,t,r){var n=N(276);return n.openingElement=e,n.children=A(t),n.closingElement=r,n.transformFlags|=u(n.openingElement)|d(n.children)|u(n.closingElement)|2,n}function En(e,t,r){var n=N(277);return n.tagName=e,n.typeArguments=oi(t),n.attributes=r,n.transformFlags|=u(n.tagName)|d(n.typeArguments)|u(n.attributes)|2,n.typeArguments&&(n.transformFlags|=1),n}function Sn(e,t,r){var n=N(278);return n.tagName=e,n.typeArguments=oi(t),n.attributes=r,n.transformFlags|=u(n.tagName)|d(n.typeArguments)|u(n.attributes)|2,t&&(n.transformFlags|=1),n}function Dn(e){var t=N(279);return t.tagName=e,t.transformFlags|=2|u(t.tagName),t}function wn(e,t,r){var n=N(280);return n.openingFragment=e,n.children=A(t),n.closingFragment=r,n.transformFlags|=u(n.openingFragment)|d(n.children)|u(n.closingFragment)|2,n}function Tn(e,t){var r=N(11);return r.text=e,r.containsOnlyTriviaWhiteSpaces=!!t,r.transformFlags|=2,r}function Cn(e,t){var r=N(283);return r.name=e,r.initializer=t,r.transformFlags|=u(r.name)|u(r.initializer)|2,r}function An(e){var t=N(284);return t.properties=A(e),t.transformFlags|=2|d(t.properties),t}function Nn(e){var t=N(285);return t.expression=e,t.transformFlags|=2|u(t.expression),t}function Pn(e,t){var r=N(286);return r.dotDotDotToken=e,r.expression=t,r.transformFlags|=u(r.dotDotDotToken)|u(r.expression)|2,r}function In(e,t){var r=N(287);return r.expression=g().parenthesizeExpressionForDisallowedComma(e),r.statements=A(t),r.transformFlags|=u(r.expression)|d(r.statements),r}function Fn(e){var t=N(288);return t.statements=A(e),t.transformFlags=d(t.statements),t}function On(t,r){var n=N(289);switch(n.token=t,n.types=A(r),n.transformFlags|=d(n.types),t){case 94:n.transformFlags|=256;break;case 117:n.transformFlags|=1;break;default:return e.Debug.assertNever(t)}return n}function Rn(t,r){var n=N(290);return t=e.isString(t)?br(t,void 0,void 0,void 0):t,n.variableDeclaration=t,n.block=r,n.transformFlags|=u(n.variableDeclaration)|u(n.block),t||(n.transformFlags|=16),n}function Mn(e,t){var r=I(291,void 0,void 0,e);return r.initializer=g().parenthesizeExpressionForDisallowedComma(t),r.transformFlags|=u(r.name)|u(r.initializer),r}function Ln(e,t){var r=I(292,void 0,void 0,e);return r.objectAssignmentInitializer=t&&g().parenthesizeExpressionForDisallowedComma(t),r.transformFlags|=256|u(r.objectAssignmentInitializer),r}function jn(e){var t=N(293);return t.expression=g().parenthesizeExpressionForDisallowedComma(e),t.transformFlags|=16416|u(t.expression),t}function Bn(e,t){var r=N(294);return r.name=si(e),r.initializer=t&&g().parenthesizeExpressionForDisallowedComma(t),r.transformFlags|=u(r.name)|u(r.initializer)|1,r}function zn(t,r){void 0===r&&(r=e.emptyArray);var n=N(301);return n.prepends=r,n.sourceFiles=t,n}function Un(e,t){var r=N(e);return r.data=t,r}function qn(t,r){var n=N(339);return n.expression=t,n.original=r,n.transformFlags|=1|u(n.expression),e.setTextRange(n,r),n}function Jn(e,t){return e.expression!==t?m(qn(t,e.original),e):e}function Vn(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 Hn(t){var r=N(340);return r.elements=A(e.sameFlatMap(t,Vn)),r.transformFlags|=d(r.elements),r}function Kn(e,t){var r=N(343);return r.expression=e,r.thisArg=t,r.transformFlags|=u(r.expression)|u(r.thisArg),r}function Wn(t){if(void 0===t)return t;var r=e.isSourceFile(t)?f.createBaseSourceFileNode(300):e.isIdentifier(t)?f.createBaseIdentifierNode(78):e.isPrivateIdentifier(t)?f.createBasePrivateIdentifierNode(79):e.isNodeKind(t.kind)?f.createBaseNode(t.kind):f.createBaseTokenNode(t.kind);for(var n in r.flags|=-9&t.flags,r.transformFlags=t.transformFlags,y(r,t),t)!r.hasOwnProperty(n)&&t.hasOwnProperty(n)&&(r[n]=t[n]);return r}function Gn(){return Pt(J("0"))}function $n(e,t,r){return gt(lt(e,t),void 0,r)}function Yn(e,t,r){return $n(Y(e),t,r)}function Xn(e,t,r){return!!r&&(e.push(Mn(t,r)),!0)}function Qn(t,r){var n=e.skipParentheses(t);switch(n.kind){case 78:return r;case 108:case 8:case 9:case 10:return!1;case 200:return 0!==n.elements.length;case 201:return n.properties.length>0;default:return!0}}function Zn(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(Wn(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 ei(e,t,r){return Zn(e,t,r,8192)}function ti(t,r,n,i){var a=lt(t,e.nodeIsSynthesized(r)?r:Wn(r));e.setTextRange(a,r);var o=0;return i||(o|=48),n||(o|=1536),o&&e.setEmitFlags(a,o),a}function ri(){return e.startOnNewLine(ir(K("use strict")))}function ni(t,r,n){e.Debug.assert(0===r.length,"Prologue directives should be at the first statement in the target statements array");for(var i,a=!1,o=0,s=t.length;o<s;){var c=t[o];if(!e.isPrologueDirective(c))break;i=c,e.isStringLiteral(i.expression)&&"use strict"===i.expression.text&&(a=!0),r.push(c),o++}return n&&!a&&r.push(ri()),o}function ii(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 ai(e,t,r){for(var n=r;n<e.length&&t(e[n]);)n++;return n}function oi(e){return e?A(e):void 0}function si(e){return"string"==typeof e?Y(e):e}function ci(e){return"string"==typeof e?K(e):"number"==typeof e?J(e):"boolean"==typeof e?e?re():ne():e}function li(t){return t&&e.isNotEmittedStatement(t)?e.setTextRange(y(nr(),t),t):t}}function a(t,r){return t!==r&&e.setTextRange(t,r),t}function o(t,r){return t!==r&&(y(t,r),e.setTextRange(t,r)),t}function s(t){switch(t){case 332:return"type";case 330:return"returns";case 331:return"this";case 328:return"enum";case 320:return"author";case 322:return"class";case 323:return"public";case 324:return"private";case 325:return"protected";case 326:return"readonly";case 333:return"template";case 334:return"typedef";case 329:return"param";case 336:return"prop";case 327:return"callback";case 318:return"augments";case 319:return"implements";default:return e.Debug.fail("Unsupported kind: "+e.Debug.formatSyntaxKind(t))}}!function(e){e[e.None=0]="None",e[e.NoParenthesizerRules=1]="NoParenthesizerRules",e[e.NoNodeConverters=2]="NoNodeConverters",e[e.NoIndentationOnFreshPropertyAccess=4]="NoIndentationOnFreshPropertyAccess",e[e.NoOriginalNode=8]="NoOriginalNode"}(e.NodeFactoryFlags||(e.NodeFactoryFlags={})),e.createNodeFactory=n;var c={};function l(e){return-8388609&u(e)}function u(t){if(!t)return 0;var r,n=t.transformFlags&~f(t.kind);return e.isNamedDeclaration(t)&&e.isPropertyName(t.name)?(r=t.name,n|4096&r.transformFlags):n}function d(e){return e?e.transformFlags:0}function p(e){for(var t=0,r=0,n=e;r<n.length;r++){t|=u(n[r])}e.transformFlags=t}function f(e){if(e>=173&&e<=196)return-2;switch(e){case 204:case 205:case 200:case 197:case 198:return 536879104;case 259:return 546379776;case 161:case 207:case 226:case 339:case 208:case 106:case 202:case 203:default:return 536870912;case 210:return 547309568;case 209:case 253:return 547313664;case 252:return 537018368;case 254:case 223:return 536905728;case 167:return 547311616;case 164:return 536875008;case 166:case 168:case 169:return 538923008;case 129:case 145:case 156:case 142:case 148:case 146:case 132:case 149:case 114:case 160:case 163:case 165:case 170:case 171:case 172:case 256:case 257:return-2;case 201:return 536922112;case 290:return 536887296}}e.getTransformFlagsSubtreeExclusions=f;var m=e.createBaseNodeFactory();function g(e){return e.flags|=8,e}var _,h={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 y(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,l=t.constantValue,u=t.helpers,d=t.startsOnNewLine;r||(r={});i&&(r.leadingComments=e.addRange(i.slice(),r.leadingComments));a&&(r.trailingComments=e.addRange(a.slice(),r.trailingComments));n&&(r.flags=n);o&&(r.commentRange=o);s&&(r.sourceMapRange=s);c&&(r.tokenSourceMapRanges=function(e,t){t||(t=[]);for(var r in e)t[r]=e[r];return t}(c,r.tokenSourceMapRanges));void 0!==l&&(r.constantValue=l);if(u)for(var p=0,f=u;p<f.length;p++){var m=f[p];r.helpers=e.appendIfUnique(r.helpers,m)}void 0!==d&&(r.startsOnNewLine=d);return r}(n,t.emitNode))}return t}e.factory=n(4,h),e.createUnparsedSourceFile=function(t,r,n){var i,a,o,s,c,l,u,d,p,f;e.isString(t)?(o="",s=t,c=t.length,l=r,u=n):(e.Debug.assert("js"===r||"dts"===r),o=("js"===r?t.javascriptPath:t.declarationPath)||"",l="js"===r?t.javascriptMapPath:t.declarationMapPath,d=function(){return"js"===r?t.javascriptText:t.declarationText},p=function(){return"js"===r?t.javascriptMapText:t.declarationMapText},c=function(){return d().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 m=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.assertDefined(a)):function(t,r,n){for(var i,a,o,s,c,l,u,d,p=0,f=t?t.sections:e.emptyArray;p<f.length;p++){var m=f[p];switch(m.kind){case"prologue":i=e.append(i,e.setTextRange(e.factory.createUnparsedPrologue(m.data),m));break;case"emitHelpers":a=e.append(a,e.getAllUnscopedEmitHelpers().get(m.data));break;case"no-default-lib":d=!0;break;case"reference":o=e.append(o,{pos:-1,end:-1,fileName:m.data});break;case"type":s=e.append(s,m.data);break;case"lib":c=e.append(c,{pos:-1,end:-1,fileName:m.data});break;case"prepend":for(var g=void 0,_=0,h=m.texts;_<h.length;_++){var y=h[_];r&&"internal"===y.kind||(g=e.append(g,e.setTextRange(e.factory.createUnparsedTextLike(y.data,"internal"===y.kind),y)))}l=e.addRange(l,g),u=e.append(u,e.factory.createUnparsedPrepend(m.data,null!=g?g:e.emptyArray));break;case"internal":if(r){u||(u=[]);break}case"text":u=e.append(u,e.setTextRange(e.factory.createUnparsedTextLike(m.data,"internal"===m.kind),m));break;default:e.Debug.assertNever(m)}}if(!u){var v=e.factory.createUnparsedTextLike(void 0,!1);e.setTextRangePosWidth(v,0,"function"==typeof n?n():n),u=[v]}var b=e.parseNodeFactory.createUnparsedSource(null!=i?i:e.emptyArray,void 0,u);return e.setEachParent(i,b),e.setEachParent(u,b),e.setEachParent(l,b),b.hasNoDefaultLib=d,b.helpers=a,b.referencedFiles=o||e.emptyArray,b.typeReferenceDirectives=s,b.libReferenceDirectives=c||e.emptyArray,b}(a,i,c);return m.fileName=o,m.sourceMapPath=l,m.oldFileOfCurrentEmit=f,d&&p?(Object.defineProperty(m,"text",{get:d}),Object.defineProperty(m,"sourceMapText",{get:p})):(e.Debug.assert(!f),m.text=null!=s?s:"",m.sourceMapText=u),m},e.createInputFiles=function(t,r,n,i,a,o,s,c,l,u,d){var p=e.parseNodeFactory.createInputFiles();if(e.isString(t))p.javascriptText=t,p.javascriptMapPath=n,p.javascriptMapText=i,p.declarationText=r,p.declarationMapPath=a,p.declarationMapText=o,p.javascriptPath=s,p.declarationPath=c,p.buildInfoPath=l,p.buildInfo=u,p.oldFileOfCurrentEmit=d;else{var f,m=new e.Map,g=function(e){if(void 0!==e){var r=m.get(e);return void 0===r&&(r=t(e),m.set(e,void 0!==r&&r)),!1!==r?r:void 0}},_=function(e){var t=g(e);return void 0!==t?t:"/* Input file "+e+" was missing */\r\n"};p.javascriptPath=r,p.javascriptMapPath=n,p.declarationPath=e.Debug.assertDefined(i),p.declarationMapPath=a,p.buildInfoPath=o,Object.defineProperties(p,{javascriptText:{get:function(){return _(r)}},javascriptMapText:{get:function(){return g(n)}},declarationText:{get:function(){return _(e.Debug.assertDefined(i))}},declarationMapText:{get:function(){return g(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 g(o)}))}}})}return p},e.createSourceMapSource=function(t,r,n){return new(_||(_=e.objectAllocator.getSourceMapSourceConstructor()))(t,r,n)},e.setOriginalNode=y}(d||(d={})),function(e){function t(r){var n;if(!r.emitNode){if(e.isParseTreeNode(r)){if(300===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,l=0;l<o.length;l++){var u=o[l];i(u)?(c++,s.helpers=e.appendIfUnique(s.helpers,u)):c>0&&(o[l-c]=u)}c>0&&(o.length-=c)}},e.ignoreSourceNewlines=function(e){return t(e).flags|=134217728,e}}(d||(d={})),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;return{getUnscopedHelperName:n,createDecorateHelper:function(i,a,o,s){t.requestEmitHelper(e.decorateHelper);var c=[];c.push(r.createArrayLiteralExpression(i,!0)),c.push(a),o&&(c.push(o),s&&c.push(s));return r.createCallExpression(n("__decorate"),void 0,c)},createMetadataHelper:function(i,a){return t.requestEmitHelper(e.metadataHelper),r.createCallExpression(n("__metadata"),void 0,[r.createStringLiteral(i),a])},createParamHelper:function(i,a,o){return t.requestEmitHelper(e.paramHelper),e.setTextRange(r.createCallExpression(n("__param"),void 0,[r.createNumericLiteral(a+""),i]),o)},createAssignHelper:function(i){if(t.getCompilerOptions().target>=2)return r.createCallExpression(r.createPropertyAccessExpression(r.createIdentifier("Object"),"assign"),void 0,i);return t.requestEmitHelper(e.assignHelper),r.createCallExpression(n("__assign"),void 0,i)},createAwaitHelper:function(i){return t.requestEmitHelper(e.awaitHelper),r.createCallExpression(n("__await"),void 0,[i])},createAsyncGeneratorHelper:function(i,a){return t.requestEmitHelper(e.awaitHelper),t.requestEmitHelper(e.asyncGeneratorHelper),(i.emitNode||(i.emitNode={})).flags|=786432,r.createCallExpression(n("__asyncGenerator"),void 0,[a?r.createThis():r.createVoidZero(),r.createIdentifier("arguments"),i])},createAsyncDelegatorHelper:function(i){return t.requestEmitHelper(e.awaitHelper),t.requestEmitHelper(e.asyncDelegator),r.createCallExpression(n("__asyncDelegator"),void 0,[i])},createAsyncValuesHelper:function(i){return t.requestEmitHelper(e.asyncValues),r.createCallExpression(n("__asyncValues"),void 0,[i])},createRestHelper:function(i,a,o,s){t.requestEmitHelper(e.restHelper);for(var c=[],l=0,u=0;u<a.length-1;u++){var d=e.getPropertyNameOfBindingOrAssignmentElement(a[u]);if(d)if(e.isComputedPropertyName(d)){e.Debug.assertIsDefined(o,"Encountered computed property name but 'computedTempVariables' argument was not provided.");var p=o[l];l++,c.push(r.createConditionalExpression(r.createTypeCheck(p,"symbol"),void 0,p,void 0,r.createAdd(p,r.createStringLiteral(""))))}else c.push(r.createStringLiteralFromNode(d))}return r.createCallExpression(n("__rest"),void 0,[i,e.setTextRange(r.createArrayLiteralExpression(c),s)])},createAwaiterHelper:function(i,a,o,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(n("__awaiter"),void 0,[i?r.createThis():r.createVoidZero(),a?r.createIdentifier("arguments"):r.createVoidZero(),o?e.createExpressionFromEntityName(r,o):r.createVoidZero(),c])},createExtendsHelper:function(i){return t.requestEmitHelper(e.extendsHelper),r.createCallExpression(n("__extends"),void 0,[i,r.createUniqueName("_super",48)])},createTemplateObjectHelper:function(i,a){return t.requestEmitHelper(e.templateObjectHelper),r.createCallExpression(n("__makeTemplateObject"),void 0,[i,a])},createSpreadArrayHelper:function(i,a){return t.requestEmitHelper(e.spreadArrayHelper),r.createCallExpression(n("__spreadArray"),void 0,[i,a])},createValuesHelper:function(i){return t.requestEmitHelper(e.valuesHelper),r.createCallExpression(n("__values"),void 0,[i])},createReadHelper:function(i,a){return t.requestEmitHelper(e.readHelper),r.createCallExpression(n("__read"),void 0,void 0!==a?[i,r.createNumericLiteral(a+"")]:[i])},createGeneratorHelper:function(i){return t.requestEmitHelper(e.generatorHelper),r.createCallExpression(n("__generator"),void 0,[r.createThis(),i])},createCreateBindingHelper:function(a,o,s){return t.requestEmitHelper(e.createBindingHelper),r.createCallExpression(n("__createBinding"),void 0,i([r.createIdentifier("exports"),a,o],s?[s]:[]))},createImportStarHelper:function(i){return t.requestEmitHelper(e.importStarHelper),r.createCallExpression(n("__importStar"),void 0,[i])},createImportStarCallbackHelper:function(){return t.requestEmitHelper(e.importStarHelper),n("__importStar")},createImportDefaultHelper:function(i){return t.requestEmitHelper(e.importDefaultHelper),r.createCallExpression(n("__importDefault"),void 0,[i])},createExportStarHelper:function(i,a){void 0===a&&(a=r.createIdentifier("exports"));return t.requestEmitHelper(e.exportStarHelper),t.requestEmitHelper(e.createBindingHelper),r.createCallExpression(n("__exportStar"),void 0,[i,a])},createClassPrivateFieldGetHelper:function(i,a){return t.requestEmitHelper(e.classPrivateFieldGetHelper),r.createCallExpression(n("__classPrivateFieldGet"),void 0,[i,a])},createClassPrivateFieldSetHelper:function(i,a,o){return t.requestEmitHelper(e.classPrivateFieldSetHelper),r.createCallExpression(n("__classPrivateFieldSet"),void 0,[i,a,o])}};function n(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) {\n for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)\n to[j] = from[i];\n return to;\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 Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\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, privateMap) {\n if (!privateMap.has(receiver)) {\n throw new TypeError("attempted to get private field on non-instance");\n }\n return privateMap.get(receiver);\n };'},e.classPrivateFieldSetHelper={name:"typescript:classPrivateFieldSet",importName:"__classPrivateFieldSet",scoped:!1,text:'\n var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, privateMap, value) {\n if (!privateMap.has(receiver)) {\n throw new TypeError("attempted to set private field on non-instance");\n }\n privateMap.set(receiver, value);\n return value;\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.createBindingHelper,e.setModuleDefaultHelper],(function(e){return e.name})))},e.asyncSuperHelper={name:"typescript:async-super",scoped:!0,text:t(o(["\n const "," = name => super[name];"],["\n const "," = name => super[name];"]),"_superIndex")},e.advancedAsyncSuperHelper={name:"typescript:advanced-async-super",scoped:!0,text:t(o(["\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)&&4096&e.getEmitFlags(t.expression)&&t.expression.escapedText===r}}(d||(d={})),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.isIdentifier=function(e){return 78===e.kind},e.isQualifiedName=function(e){return 158===e.kind},e.isComputedPropertyName=function(e){return 159===e.kind},e.isPrivateIdentifier=function(e){return 79===e.kind},e.isSuperKeyword=function(e){return 106===e.kind},e.isImportKeyword=function(e){return 100===e.kind},e.isCommaToken=function(e){return 27===e.kind},e.isQuestionToken=function(e){return 57===e.kind},e.isExclamationToken=function(e){return 53===e.kind},e.isTypeParameterDeclaration=function(e){return 160===e.kind},e.isParameter=function(e){return 161===e.kind},e.isDecorator=function(e){return 162===e.kind},e.isPropertySignature=function(e){return 163===e.kind},e.isPropertyDeclaration=function(e){return 164===e.kind},e.isMethodSignature=function(e){return 165===e.kind},e.isMethodDeclaration=function(e){return 166===e.kind},e.isConstructorDeclaration=function(e){return 167===e.kind},e.isGetAccessorDeclaration=function(e){return 168===e.kind},e.isSetAccessorDeclaration=function(e){return 169===e.kind},e.isCallSignatureDeclaration=function(e){return 170===e.kind},e.isConstructSignatureDeclaration=function(e){return 171===e.kind},e.isIndexSignatureDeclaration=function(e){return 172===e.kind},e.isTypePredicateNode=function(e){return 173===e.kind},e.isTypeReferenceNode=function(e){return 174===e.kind},e.isFunctionTypeNode=function(e){return 175===e.kind},e.isConstructorTypeNode=function(e){return 176===e.kind},e.isTypeQueryNode=function(e){return 177===e.kind},e.isTypeLiteralNode=function(e){return 178===e.kind},e.isArrayTypeNode=function(e){return 179===e.kind},e.isTupleTypeNode=function(e){return 180===e.kind},e.isNamedTupleMember=function(e){return 193===e.kind},e.isOptionalTypeNode=function(e){return 181===e.kind},e.isRestTypeNode=function(e){return 182===e.kind},e.isUnionTypeNode=function(e){return 183===e.kind},e.isIntersectionTypeNode=function(e){return 184===e.kind},e.isConditionalTypeNode=function(e){return 185===e.kind},e.isInferTypeNode=function(e){return 186===e.kind},e.isParenthesizedTypeNode=function(e){return 187===e.kind},e.isThisTypeNode=function(e){return 188===e.kind},e.isTypeOperatorNode=function(e){return 189===e.kind},e.isIndexedAccessTypeNode=function(e){return 190===e.kind},e.isMappedTypeNode=function(e){return 191===e.kind},e.isLiteralTypeNode=function(e){return 192===e.kind},e.isImportTypeNode=function(e){return 196===e.kind},e.isTemplateLiteralTypeSpan=function(e){return 195===e.kind},e.isTemplateLiteralTypeNode=function(e){return 194===e.kind},e.isObjectBindingPattern=function(e){return 197===e.kind},e.isArrayBindingPattern=function(e){return 198===e.kind},e.isBindingElement=function(e){return 199===e.kind},e.isArrayLiteralExpression=function(e){return 200===e.kind},e.isObjectLiteralExpression=function(e){return 201===e.kind},e.isPropertyAccessExpression=function(e){return 202===e.kind},e.isElementAccessExpression=function(e){return 203===e.kind},e.isCallExpression=function(e){return 204===e.kind},e.isNewExpression=function(e){return 205===e.kind},e.isTaggedTemplateExpression=function(e){return 206===e.kind},e.isTypeAssertionExpression=function(e){return 207===e.kind},e.isParenthesizedExpression=function(e){return 208===e.kind},e.isFunctionExpression=function(e){return 209===e.kind},e.isEtsComponentExpression=function(e){return 211===e.kind},e.isArrowFunction=function(e){return 210===e.kind},e.isDeleteExpression=function(e){return 212===e.kind},e.isTypeOfExpression=function(e){return 213===e.kind},e.isVoidExpression=function(e){return 214===e.kind},e.isAwaitExpression=function(e){return 215===e.kind},e.isPrefixUnaryExpression=function(e){return 216===e.kind},e.isPostfixUnaryExpression=function(e){return 217===e.kind},e.isBinaryExpression=function(e){return 218===e.kind},e.isConditionalExpression=function(e){return 219===e.kind},e.isTemplateExpression=function(e){return 220===e.kind},e.isYieldExpression=function(e){return 221===e.kind},e.isSpreadElement=function(e){return 222===e.kind},e.isClassExpression=function(e){return 223===e.kind},e.isOmittedExpression=function(e){return 224===e.kind},e.isExpressionWithTypeArguments=function(e){return 225===e.kind},e.isAsExpression=function(e){return 226===e.kind},e.isNonNullExpression=function(e){return 227===e.kind},e.isMetaProperty=function(e){return 228===e.kind},e.isSyntheticExpression=function(e){return 229===e.kind},e.isPartiallyEmittedExpression=function(e){return 339===e.kind},e.isCommaListExpression=function(e){return 340===e.kind},e.isTemplateSpan=function(e){return 230===e.kind},e.isSemicolonClassElement=function(e){return 231===e.kind},e.isBlock=function(e){return 232===e.kind},e.isVariableStatement=function(e){return 234===e.kind},e.isEmptyStatement=function(e){return 233===e.kind},e.isExpressionStatement=function(e){return 235===e.kind},e.isIfStatement=function(e){return 236===e.kind},e.isDoStatement=function(e){return 237===e.kind},e.isWhileStatement=function(e){return 238===e.kind},e.isForStatement=function(e){return 239===e.kind},e.isForInStatement=function(e){return 240===e.kind},e.isForOfStatement=function(e){return 241===e.kind},e.isContinueStatement=function(e){return 242===e.kind},e.isBreakStatement=function(e){return 243===e.kind},e.isReturnStatement=function(e){return 244===e.kind},e.isWithStatement=function(e){return 245===e.kind},e.isSwitchStatement=function(e){return 246===e.kind},e.isLabeledStatement=function(e){return 247===e.kind},e.isThrowStatement=function(e){return 248===e.kind},e.isTryStatement=function(e){return 249===e.kind},e.isDebuggerStatement=function(e){return 250===e.kind},e.isVariableDeclaration=function(e){return 251===e.kind},e.isVariableDeclarationList=function(e){return 252===e.kind},e.isFunctionDeclaration=function(e){return 253===e.kind},e.isClassDeclaration=function(e){return 254===e.kind},e.isStructDeclaration=function(e){return 255===e.kind},e.isInterfaceDeclaration=function(e){return 256===e.kind},e.isTypeAliasDeclaration=function(e){return 257===e.kind},e.isEnumDeclaration=function(e){return 258===e.kind},e.isModuleDeclaration=function(e){return 259===e.kind},e.isModuleBlock=function(e){return 260===e.kind},e.isCaseBlock=function(e){return 261===e.kind},e.isNamespaceExportDeclaration=function(e){return 262===e.kind},e.isImportEqualsDeclaration=function(e){return 263===e.kind},e.isImportDeclaration=function(e){return 264===e.kind},e.isImportClause=function(e){return 265===e.kind},e.isNamespaceImport=function(e){return 266===e.kind},e.isNamespaceExport=function(e){return 272===e.kind},e.isNamedImports=function(e){return 267===e.kind},e.isImportSpecifier=function(e){return 268===e.kind},e.isExportAssignment=function(e){return 269===e.kind},e.isExportDeclaration=function(e){return 270===e.kind},e.isNamedExports=function(e){return 271===e.kind},e.isExportSpecifier=function(e){return 273===e.kind},e.isMissingDeclaration=function(e){return 274===e.kind},e.isNotEmittedStatement=function(e){return 338===e.kind},e.isSyntheticReference=function(e){return 343===e.kind},e.isMergeDeclarationMarker=function(e){return 341===e.kind},e.isEndOfDeclarationMarker=function(e){return 342===e.kind},e.isExternalModuleReference=function(e){return 275===e.kind},e.isJsxElement=function(e){return 276===e.kind},e.isJsxSelfClosingElement=function(e){return 277===e.kind},e.isJsxOpeningElement=function(e){return 278===e.kind},e.isJsxClosingElement=function(e){return 279===e.kind},e.isJsxFragment=function(e){return 280===e.kind},e.isJsxOpeningFragment=function(e){return 281===e.kind},e.isJsxClosingFragment=function(e){return 282===e.kind},e.isJsxAttribute=function(e){return 283===e.kind},e.isJsxAttributes=function(e){return 284===e.kind},e.isJsxSpreadAttribute=function(e){return 285===e.kind},e.isJsxExpression=function(e){return 286===e.kind},e.isCaseClause=function(e){return 287===e.kind},e.isDefaultClause=function(e){return 288===e.kind},e.isHeritageClause=function(e){return 289===e.kind},e.isCatchClause=function(e){return 290===e.kind},e.isPropertyAssignment=function(e){return 291===e.kind},e.isShorthandPropertyAssignment=function(e){return 292===e.kind},e.isSpreadAssignment=function(e){return 293===e.kind},e.isEnumMember=function(e){return 294===e.kind},e.isUnparsedPrepend=function(e){return 296===e.kind},e.isSourceFile=function(e){return 300===e.kind},e.isBundle=function(e){return 301===e.kind},e.isUnparsedSource=function(e){return 302===e.kind},e.isJSDocTypeExpression=function(e){return 304===e.kind},e.isJSDocNameReference=function(e){return 305===e.kind},e.isJSDocAllType=function(e){return 306===e.kind},e.isJSDocUnknownType=function(e){return 307===e.kind},e.isJSDocNullableType=function(e){return 308===e.kind},e.isJSDocNonNullableType=function(e){return 309===e.kind},e.isJSDocOptionalType=function(e){return 310===e.kind},e.isJSDocFunctionType=function(e){return 311===e.kind},e.isJSDocVariadicType=function(e){return 312===e.kind},e.isJSDocNamepathType=function(e){return 313===e.kind},e.isJSDoc=function(e){return 314===e.kind},e.isJSDocTypeLiteral=function(e){return 315===e.kind},e.isJSDocSignature=function(e){return 316===e.kind},e.isJSDocAugmentsTag=function(e){return 318===e.kind},e.isJSDocAuthorTag=function(e){return 320===e.kind},e.isJSDocClassTag=function(e){return 322===e.kind},e.isJSDocCallbackTag=function(e){return 327===e.kind},e.isJSDocPublicTag=function(e){return 323===e.kind},e.isJSDocPrivateTag=function(e){return 324===e.kind},e.isJSDocProtectedTag=function(e){return 325===e.kind},e.isJSDocReadonlyTag=function(e){return 326===e.kind},e.isJSDocDeprecatedTag=function(e){return 321===e.kind},e.isJSDocSeeTag=function(e){return 335===e.kind},e.isJSDocEnumTag=function(e){return 328===e.kind},e.isJSDocParameterTag=function(e){return 329===e.kind},e.isJSDocReturnTag=function(e){return 330===e.kind},e.isJSDocThisTag=function(e){return 331===e.kind},e.isJSDocTypeTag=function(e){return 332===e.kind},e.isJSDocTemplateTag=function(e){return 333===e.kind},e.isJSDocTypedefTag=function(e){return 334===e.kind},e.isJSDocUnknownTag=function(e){return 317===e.kind},e.isJSDocPropertyTag=function(e){return 336===e.kind},e.isJSDocImplementsTag=function(e){return 319===e.kind},e.isSyntaxList=function(e){return 337===e.kind}}(d||(d={})),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.isIdentifierOrPrivateIdentifier(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 a(e,t,i,a){return t?n(e,t,a):e.createPropertyAccessExpression(r(i,a),"createElement")}function o(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 s(t){return e.isStringLiteral(t.expression)&&"use strict"===t.expression.text}function c(e,t){switch(void 0===t&&(t=15),e.kind){case 208:return!!(1&t);case 207:case 226:return!!(2&t);case 227:return!!(4&t);case 339:return!!(8&t)}return!1}function l(e,t){for(void 0===t&&(t=15);c(e,t);)e=e.expression;return e}function u(t){return e.setStartsOnNewLine(t,!0)}function d(t){var r=e.getOriginalNode(t,e.isSourceFile),n=r&&r.emitNode;return n&&n.externalHelpersModuleName}function p(t,r,n,i,a){if(n.importHelpers&&e.isEffectiveExternalModule(r,n)){var o=d(r);if(o)return o;var s=e.getEmitModuleKind(n),c=(i||n.esModuleInterop&&a)&&s!==e.ModuleKind.System&&s<e.ModuleKind.ES2015;if(!c){var l=e.getEmitHelpers(r);if(l)for(var u=0,p=l;u<p.length;u++){if(!p[u].scoped){c=!0;break}}}if(c){var f=e.getOriginalNode(r,e.isSourceFile),m=e.getOrCreateEmitNode(f);return m.externalHelpersModuleName||(m.externalHelpersModuleName=t.createUniqueName(e.externalHelpersModuleNameText))}}}function f(t,r,n,i){if(r)return r.moduleName?t.createStringLiteral(r.moduleName):!r.isDeclarationFile&&e.outFile(i)?t.createStringLiteral(e.getExternalModuleNameFromPath(n,r.fileName)):void 0}function m(t){if(e.isDeclarationBindingElement(t))return t.name;if(!e.isObjectLiteralElementLike(t))return e.isAssignmentExpression(t,!0)?m(t.left):e.isSpreadElement(t)?m(t.expression):t;switch(t.kind){case 291:return m(t.initializer);case 292:return t.name;case 293:return m(t.expression)}}function g(t){switch(t.kind){case 199:if(t.propertyName){var r=t.propertyName;return e.isPrivateIdentifier(r)?e.Debug.failBadSyntaxKind(r):e.isComputedPropertyName(r)&&_(r.expression)?r.expression:r}break;case 291:if(t.name){r=t.name;return e.isPrivateIdentifier(r)?e.Debug.failBadSyntaxKind(r):e.isComputedPropertyName(r)&&_(r.expression)?r.expression:r}break;case 293:return t.name&&e.isPrivateIdentifier(t.name)?e.Debug.failBadSyntaxKind(t.name):t.name}var n=m(t);if(n&&e.isPropertyName(n))return n}function _(e){var t=e.kind;return 10===t||8===t}e.createEmptyExports=function(e){return e.createExportDeclaration(void 0,void 0,!1,e.createNamedExports([]),void 0)},e.createMemberAccessForPropertyName=t,e.createJsxFactoryExpression=a,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,l=a;c<l.length;c++){var d=l[c];u(d),s.push(d)}else s.push(a[0]);return e.setTextRange(t.createCallExpression(r,void 0,s),o)},e.createExpressionForJsxFragment=function(t,i,o,s,c,l,d){var p=[function(e,t,i,a){return t?n(e,t,a):e.createPropertyAccessExpression(r(i,a),"Fragment")}(t,o,s,l),t.createNull()];if(c&&c.length>0)if(c.length>1)for(var f=0,m=c;f<m.length;f++){var g=m[f];u(g),p.push(g)}else p.push(c[0]);return e.setTextRange(t.createCallExpression(a(t,i,s,l),void 0,p),d)},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(i([n],r.statements)),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=o,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 168:case 169:return function(t,r,n,i,a){var s=e.getAllAccessorDeclarations(r,n),c=s.firstAccessor,l=s.getAccessor,u=s.setAccessor;if(n===c)return e.setTextRange(t.createObjectDefinePropertyCall(i,o(t,n.name),t.createPropertyDescriptor({enumerable:t.createFalse(),configurable:!0,get:l&&e.setTextRange(e.setOriginalNode(t.createFunctionExpression(l.modifiers,void 0,void 0,void 0,l.parameters,void 0,l.body),l),l),set:u&&e.setTextRange(e.setOriginalNode(t.createFunctionExpression(u.modifiers,void 0,void 0,void 0,u.parameters,void 0,u.body),u),u)},!a)),c)}(r,n.properties,i,a,!!n.multiLine);case 291: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 292: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 166: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.isInternalName=function(t){return!!(32768&e.getEmitFlags(t))},e.isLocalName=function(t){return!!(16384&e.getEmitFlags(t))},e.isExportName=function(t){return!!(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(s(i))return i}},e.startsWithUseStrict=function(t){var r=e.firstOrUndefined(t);return void 0!==r&&e.isPrologueDirective(r)&&s(r)},e.isCommaSequence=function(e){return 218===e.kind&&27===e.operatorToken.kind||340===e.kind},e.isOuterExpression=c,e.skipOuterExpressions=l,e.skipAssertions=function(e){return l(e,6)},e.startOnNewLine=u,e.getExternalHelpersModuleName=d,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,l=e.getEmitModuleKind(i);if(l>=e.ModuleKind.ES2015&&l<=e.ModuleKind.ESNext){var u=e.getEmitHelpers(n);if(u){for(var d=[],f=0,m=u;f<m.length;f++){var g=m[f];if(!g.scoped){var _=g.importName;_&&e.pushIfUnique(d,_)}}if(e.some(d)){d.sort(e.compareStringsCaseSensitive),c=t.createNamedImports(e.map(d,(function(i){return e.isFileLevelUniqueName(n,i)?t.createImportSpecifier(void 0,t.createIdentifier(i)):t.createImportSpecifier(t.createIdentifier(i),r.getUnscopedHelperName(i))})));var h=e.getOriginalNode(n,e.isSourceFile);e.getOrCreateEmitNode(h).externalHelpers=!0}}}else{var y=p(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));return e.addEmitFlags(v,67108864),v}}},e.getOrCreateExternalHelpersModuleNameIfNeeded=p,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))}return 264===r.kind&&r.importClause||270===r.kind&&r.moduleSpecifier?t.getGeneratedNameForNode(r):void 0},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 f(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=f,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=m,e.getRestIndicatorOfBindingOrAssignmentElement=function(e){switch(e.kind){case 161:case 199:return e.dotDotDotToken;case 222:case 293:return e}},e.getPropertyNameOfBindingOrAssignmentElement=function(t){var r=g(t);return e.Debug.assert(!!r||e.isSpreadAssignment(t),"Invalid property name for binding element."),r},e.tryGetPropertyNameOfBindingOrAssignmentElement=g,e.getElementsOfBindingOrAssignmentPattern=function(e){switch(e.kind){case 197:case 198:case 200:return e.elements;case 201: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 161===t||163===t||164===t||165===t||166===t||167===t||168===t||169===t||172===t||209===t||210===t||223===t||234===t||253===t||254===t||255===t||256===t||257===t||258===t||259===t||263===t||264===t||269===t||270===t},e.isExportModifier=function(e){return 93===e.kind},e.isAsyncModifier=function(e){return 130===e.kind},e.isStaticModifier=function(e){return 124===e.kind}}(d||(d={})),function(e){e.setTextRange=function(t,r){return r?e.setTextRangePosEnd(t,r.pos,r.end):t}}(d||(d={})),function(e){var t,r,n,i,a,o,s,c,l,u;function d(e,t){return t&&e(t)}function p(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 f(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<=157))switch(t.kind){case 158:return d(r,t.left)||d(r,t.right);case 160:return d(r,t.name)||d(r,t.constraint)||d(r,t.default)||d(r,t.expression);case 292:return p(r,n,t.decorators)||p(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 293:case 208:case 212:case 213:case 214:case 215:case 227:case 222:case 235:case 244:case 248:case 162:case 159:case 275:case 285:case 339:return d(r,t.expression);case 161:return p(r,n,t.decorators)||p(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 164:return p(r,n,t.decorators)||p(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 163:return p(r,n,t.decorators)||p(r,n,t.modifiers)||d(r,t.name)||d(r,t.questionToken)||d(r,t.type)||d(r,t.initializer);case 291:return p(r,n,t.decorators)||p(r,n,t.modifiers)||d(r,t.name)||d(r,t.questionToken)||d(r,t.initializer);case 251:return p(r,n,t.decorators)||p(r,n,t.modifiers)||d(r,t.name)||d(r,t.exclamationToken)||d(r,t.type)||d(r,t.initializer);case 199:return p(r,n,t.decorators)||p(r,n,t.modifiers)||d(r,t.dotDotDotToken)||d(r,t.propertyName)||d(r,t.name)||d(r,t.initializer);case 175:case 176:case 170:case 171:case 172:return p(r,n,t.decorators)||p(r,n,t.modifiers)||p(r,n,t.typeParameters)||p(r,n,t.parameters)||d(r,t.type);case 211:return d(r,t.expression)||p(r,n,t.arguments)||d(r,t.body);case 166:case 165:case 167:case 168:case 169:case 209:case 253:case 210:return p(r,n,t.decorators)||p(r,n,t.modifiers)||d(r,t.asteriskToken)||d(r,t.name)||d(r,t.questionToken)||d(r,t.exclamationToken)||p(r,n,t.typeParameters)||p(r,n,t.parameters)||d(r,t.type)||d(r,t.equalsGreaterThanToken)||d(r,t.body);case 174:return d(r,t.typeName)||p(r,n,t.typeArguments);case 173:return d(r,t.assertsModifier)||d(r,t.parameterName)||d(r,t.type);case 177:return d(r,t.exprName);case 178:return p(r,n,t.members);case 179:return d(r,t.elementType);case 180:case 197:case 198:case 200:case 267:case 271:case 340:return p(r,n,t.elements);case 183:case 184:case 289:return p(r,n,t.types);case 185:return d(r,t.checkType)||d(r,t.extendsType)||d(r,t.trueType)||d(r,t.falseType);case 186:return d(r,t.typeParameter);case 196:return d(r,t.argument)||d(r,t.qualifier)||p(r,n,t.typeArguments);case 187:case 189:case 181:case 182:case 304:case 309:case 308:case 310:case 312:return d(r,t.type);case 190:return d(r,t.objectType)||d(r,t.indexType);case 191:return d(r,t.readonlyToken)||d(r,t.typeParameter)||d(r,t.nameType)||d(r,t.questionToken)||d(r,t.type);case 192:return d(r,t.literal);case 193:return d(r,t.dotDotDotToken)||d(r,t.name)||d(r,t.questionToken)||d(r,t.type);case 201:case 284:return p(r,n,t.properties);case 202:return d(r,t.expression)||d(r,t.questionDotToken)||d(r,t.name);case 203:return d(r,t.expression)||d(r,t.questionDotToken)||d(r,t.argumentExpression);case 204:case 205:return d(r,t.expression)||d(r,t.questionDotToken)||p(r,n,t.typeArguments)||p(r,n,t.arguments);case 206:return d(r,t.tag)||d(r,t.questionDotToken)||p(r,n,t.typeArguments)||d(r,t.template);case 207:return d(r,t.type)||d(r,t.expression);case 216:case 217:return d(r,t.operand);case 221:return d(r,t.asteriskToken)||d(r,t.expression);case 218:return d(r,t.left)||d(r,t.operatorToken)||d(r,t.right);case 226:return d(r,t.expression)||d(r,t.type);case 228:case 262:case 266:case 272:case 305:return d(r,t.name);case 219:return d(r,t.condition)||d(r,t.questionToken)||d(r,t.whenTrue)||d(r,t.colonToken)||d(r,t.whenFalse);case 232:case 260:case 288:return p(r,n,t.statements);case 300:return p(r,n,t.statements)||d(r,t.endOfFileToken);case 234:return p(r,n,t.decorators)||p(r,n,t.modifiers)||d(r,t.declarationList);case 252:return p(r,n,t.declarations);case 236:return d(r,t.expression)||d(r,t.thenStatement)||d(r,t.elseStatement);case 237:return d(r,t.statement)||d(r,t.expression);case 238:case 245:return d(r,t.expression)||d(r,t.statement);case 239:return d(r,t.initializer)||d(r,t.condition)||d(r,t.incrementor)||d(r,t.statement);case 240:return d(r,t.initializer)||d(r,t.expression)||d(r,t.statement);case 241:return d(r,t.awaitModifier)||d(r,t.initializer)||d(r,t.expression)||d(r,t.statement);case 242:case 243:return d(r,t.label);case 246:return d(r,t.expression)||d(r,t.caseBlock);case 261:return p(r,n,t.clauses);case 287:return d(r,t.expression)||p(r,n,t.statements);case 247:return d(r,t.label)||d(r,t.statement);case 249:return d(r,t.tryBlock)||d(r,t.catchClause)||d(r,t.finallyBlock);case 290:return d(r,t.variableDeclaration)||d(r,t.block);case 255:case 254:case 223:case 256:return p(r,n,t.decorators)||p(r,n,t.modifiers)||d(r,t.name)||p(r,n,t.typeParameters)||p(r,n,t.heritageClauses)||p(r,n,t.members);case 257:return p(r,n,t.decorators)||p(r,n,t.modifiers)||d(r,t.name)||p(r,n,t.typeParameters)||d(r,t.type);case 258:return p(r,n,t.decorators)||p(r,n,t.modifiers)||d(r,t.name)||p(r,n,t.members);case 294:case 283:return d(r,t.name)||d(r,t.initializer);case 259:return p(r,n,t.decorators)||p(r,n,t.modifiers)||d(r,t.name)||d(r,t.body);case 263:return p(r,n,t.decorators)||p(r,n,t.modifiers)||d(r,t.name)||d(r,t.moduleReference);case 264:return p(r,n,t.decorators)||p(r,n,t.modifiers)||d(r,t.importClause)||d(r,t.moduleSpecifier);case 265:return d(r,t.name)||d(r,t.namedBindings);case 270:return p(r,n,t.decorators)||p(r,n,t.modifiers)||d(r,t.exportClause)||d(r,t.moduleSpecifier);case 268:case 273:return d(r,t.propertyName)||d(r,t.name);case 269:return p(r,n,t.decorators)||p(r,n,t.modifiers)||d(r,t.expression);case 220:case 194:return d(r,t.head)||p(r,n,t.templateSpans);case 230:return d(r,t.expression)||d(r,t.literal);case 195:return d(r,t.type)||d(r,t.literal);case 225:return d(r,t.expression)||p(r,n,t.typeArguments);case 274:return p(r,n,t.decorators);case 276:return d(r,t.openingElement)||p(r,n,t.children)||d(r,t.closingElement);case 280:return d(r,t.openingFragment)||p(r,n,t.children)||d(r,t.closingFragment);case 277:case 278:return d(r,t.tagName)||p(r,n,t.typeArguments)||d(r,t.attributes);case 286:return d(r,t.dotDotDotToken)||d(r,t.expression);case 279:case 320:case 317:case 322:case 323:case 324:case 325:case 326:return d(r,t.tagName);case 311:return p(r,n,t.parameters)||d(r,t.type);case 314:return p(r,n,t.tags);case 335:return d(r,t.tagName)||d(r,t.name);case 329:case 336:return d(r,t.tagName)||(t.isNameFirst?d(r,t.name)||d(r,t.typeExpression):d(r,t.typeExpression)||d(r,t.name));case 319:case 318:return d(r,t.tagName)||d(r,t.class);case 333:return d(r,t.tagName)||d(r,t.constraint)||p(r,n,t.typeParameters);case 334:return d(r,t.tagName)||(t.typeExpression&&304===t.typeExpression.kind?d(r,t.typeExpression)||d(r,t.fullName):d(r,t.fullName)||d(r,t.typeExpression));case 327:return d(r,t.tagName)||d(r,t.fullName)||d(r,t.typeExpression);case 330:case 332:case 331:case 328:return d(r,t.tagName)||d(r,t.typeExpression);case 316:return e.forEach(t.typeParameters,r)||e.forEach(t.parameters,r)||d(r,t.type);case 315:return e.forEach(t.jsDocPropertyTags,r)}}function g(e){var t=[];return m(e,r,r),t;function r(e){t.unshift(e)}}function _(e){return void 0!==e.externalModuleIndicator}function h(t){return e.fileExtensionIs(t,".d.ts")||e.fileExtensionIs(t,".d.ets")}function y(t,r){for(var n=[],i=0,a=e.getLeadingCommentRanges(r,0)||e.emptyArray;i<a.length;i++){var o=a[i];S(n,o,r.substring(o.pos,o.end))}t.pragmas=new e.Map;for(var s=0,c=n;s<c.length;s++){var l=c[s];if(t.pragmas.has(l.name)){var u=t.pragmas.get(l.name);u instanceof Array?u.push(l.args):t.pragmas.set(l.name,[u,l.args])}else t.pragmas.set(l.name,l.args)}}function v(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,l=i.lib,u=i.path;n.arguments["no-default-lib"]?t.hasNoDefaultLib=!0:c?o.push({pos:c.pos,end:c.end,fileName:c.value}):l?s.push({pos:l.pos,end:l.end,fileName:l.value}):u?a.push({pos:u.pos,end:u.end,fileName:u.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,l=n;c<l.length;c++){var u=l[c];t.moduleName&&r(u.range.pos,u.range.end-u.range.pos,e.Diagnostics.An_AMD_module_cannot_have_multiple_name_assignments),t.moduleName=u.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")}}))}!function(e){e[e.None=0]="None",e[e.Yield=1]="Yield",e[e.Await=2]="Await",e[e.Type=4]="Type",e[e.IgnoreMissingOpenBrace=16]="IgnoreMissingOpenBrace",e[e.JSDoc=32]="JSDoc"}(t||(t={})),function(e){e[e.TryParse=0]="TryParse",e[e.Lookahead=1]="Lookahead",e[e.Reparse=2]="Reparse"}(r||(r={})),e.parseBaseNodeFactory={createBaseSourceFileNode:function(t){return new(s||(s=e.objectAllocator.getSourceFileConstructor()))(t,-1,-1)},createBaseIdentifierNode:function(t){return new(a||(a=e.objectAllocator.getIdentifierConstructor()))(t,-1,-1)},createBasePrivateIdentifierNode:function(t){return new(o||(o=e.objectAllocator.getPrivateIdentifierConstructor()))(t,-1,-1)},createBaseTokenNode:function(t){return new(i||(i=e.objectAllocator.getTokenConstructor()))(t,-1,-1)},createBaseNode:function(t){return new(n||(n=e.objectAllocator.getNodeConstructor()))(t,-1,-1)}},e.parseNodeFactory=e.createNodeFactory(1,e.parseBaseNodeFactory),e.isJSDocLikeText=f,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)if(l=n(o,s)){if("skip"===l)continue;return l}for(var c=o.length-1;c>=0;--c)i.push(o[c]),a.push(s)}else{var l;if(l=r(o,s)){if("skip"===l)continue;return l}if(o.kind>=158)for(var u=0,d=g(o);u<d.length;u++){var p=d[u];i.push(p),a.push(o)}}}},e.createSourceFile=function(t,r,n,i,a,o){var s;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"),c=null!=o?o:e.defaultInitCompilerOptions,e.perfLogger.logStartParseSourceFile(t),s=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(),s},e.parseIsolatedEntityName=function(e,t){return l.parseIsolatedEntityName(e,t)},e.parseJsonText=function(e,t){return l.parseJsonText(e,t)},e.isExternalModule=_,e.updateSourceFile=function(t,r,n,i,a){void 0===i&&(i=!1),c=null!=a?a:e.defaultInitCompilerOptions;var o=u.updateSourceFile(t,r,n,i);return o.flags|=3145728&t.flags,o},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,a,o,s=e.createScanner(99,!0),l=20480;function d(e){return A++,e}var p,g,b,k,x,E,S,D,T,C,A,N,P,I,F,O,R,M,L,j,B,z,U={createBaseSourceFileNode:function(e){return d(new o(e,0,0))},createBaseIdentifierNode:function(e){return d(new i(e,0,0))},createBasePrivateIdentifierNode:function(e){return d(new a(e,0,0))},createBaseTokenNode:function(e){return d(new n(e,0,0))},createBaseNode:function(e){return d(new r(e,0,0))}},q=e.createNodeFactory(11,U),J=!0,V=!1,H=new e.Map,K=new e.Map;function W(t,r,n,i,a){void 0===n&&(n=2),void 0===a&&(a=!1),G(t,r,n,i,6),g=R,We();var o,s,c=qe();if(1===Ve())o=mt([],c,c),s=dt();else{var l=void 0;switch(Ve()){case 22:l=ei();break;case 110:case 95:case 104:l=dt();break;case 40:l=tt((function(){return 8===We()&&58!==We()}))?An():ri();break;case 8:case 10:if(tt((function(){return 58!==We()}))){l=ar();break}default:l=ri()}var u=q.createExpressionStatement(l);gt(u,c),o=mt([u],c),s=ut(1,e.Diagnostics.Unexpected_token)}var d=ie(t,2,6,!1,o,s,g);a&&ne(d),d.nodeCount=A,d.identifierCount=I,d.identifiers=N,d.parseDiagnostics=e.attachFileToDiagnostics(S,d),D&&(d.jsDocDiagnostics=e.attachFileToDiagnostics(D,d));var p=d;return $(),p}function G(t,c,l,u,d){switch(r=e.objectAllocator.getNodeConstructor(),n=e.objectAllocator.getTokenConstructor(),i=e.objectAllocator.getIdentifierConstructor(),a=e.objectAllocator.getPrivateIdentifierConstructor(),o=e.objectAllocator.getSourceFileConstructor(),p=e.normalizePath(t),b=c,k=l,T=u,x=d,E=e.getLanguageVariant(d),S=[],F=0,N=new e.Map,P=new e.Map,I=0,A=0,g=0,J=!0,x){case 1:case 2:R=131072;break;case 6:R=33685504;break;case 8:R=1073741824;break;default:R=0}p.endsWith(".ets")&&(R=1073741824),V=!1,s.setText(b),s.setOnError(Ue),s.setScriptTarget(k),s.setLanguageVariant(E),s.setEtsContext(Ae())}function $(){s.clearCommentDirectives(),s.setText(""),s.setOnError(void 0),s.setEtsContext(!1),b=void 0,k=void 0,T=void 0,x=void 0,E=void 0,g=0,S=void 0,D=void 0,F=0,N=void 0,O=void 0,J=!0,L=void 0,j=void 0,z=void 0,H.clear(),K.clear()}function Y(t,r,n){var i=h(p);i&&(R|=8388608),g=R,We();var a=qt(0,bi);e.Debug.assert(1===Ve());var o=re(dt()),c=ie(p,t,n,i,a,o,g);return y(c,b),v(c,(function(t,r,n){S.push(e.createDetachedDiagnostic(p,t,r,n))})),c.commentDirectives=s.getCommentDirectives(),c.nodeCount=A,c.identifierCount=I,c.identifiers=N,c.parseDiagnostics=e.attachFileToDiagnostics(S,c),D&&(c.jsDocDiagnostics=e.attachFileToDiagnostics(D,c)),r&&ne(c),c}function X(e,t){return t?re(e):e}t.parseSourceFile=function(t,r,n,i,a,o){if(void 0===a&&(a=!1),6===(o=e.ensureScriptKind(t,o))){var s=W(t,r,n,i,a);return e.convertToObjectWorker(s,s.parseDiagnostics,!1,void 0,void 0),s.referencedFiles=e.emptyArray,s.typeReferenceDirectives=e.emptyArray,s.libReferenceDirectives=e.emptyArray,s.amdDependencies=e.emptyArray,s.hasNoDefaultLib=!1,s.pragmas=e.emptyMap,s}G(t,r,n,i,o);var c=Y(n,a,o);return $(),c},t.parseIsolatedEntityName=function(e,t){G("",e,t,void 0,1),We();var r=Xt(!0),n=1===Ve()&&!S.length;return $(),n?r:void 0},t.parseJsonText=W;var Q,Z,ee,te=!1;function re(t){e.Debug.assert(!t.jsDoc);var r=e.mapDefined(e.getJSDocCommentRanges(t,b),(function(e){return ee.parseJSDocComment(t,e.pos,e.end-e.pos)}));return r.length&&(t.jsDoc=r),te&&(te=!1,t.flags|=134217728),t}function ne(t){e.setParentRecursive(t,!0)}function ie(t,r,n,i,a,o,c){var l=q.createSourceFile(a,o,c);return e.setTextRangePosWidth(l,0,b.length),function(t){t.externalModuleIndicator=e.forEach(t.statements,ha)||function(e){return 2097152&e.flags?ya(e):void 0}(t)}(l),!i&&_(l)&&8388608&l.transformFlags&&(l=function(t){var r=T,n=u.createSyntaxCursor(t);T={currentNode:function(e){var t=n.currentNode(e);return J&&t&&f(t)&&(t.intersectsChange=!0),t}};var i=[],a=S;S=[];for(var o=0,c=m(t.statements,0),l=function(){var r=t.statements[o],n=t.statements[c];e.addRange(i,t.statements,o,c),o=g(t.statements,c);var l=e.findIndex(a,(function(e){return e.start>=r.pos})),u=l>=0?e.findIndex(a,(function(e){return e.start>=n.pos}),l):-1;l>=0&&e.addRange(S,a,l,u>=0?u:void 0),et((function(){var e=R;for(R|=32768,s.setTextPos(n.pos),We();1!==Ve();){var r=s.getStartPos(),a=Jt(0,bi);if(i.push(a),r===s.getStartPos()&&We(),o>=0){var c=t.statements[o];if(a.end===c.pos)break;a.end>c.pos&&(o=g(t.statements,o+1))}}R=e}),2),c=o>=0?m(t.statements,o):-1};-1!==c;)l();if(o>=0){var d=t.statements[o];e.addRange(i,t.statements,o);var p=e.findIndex(a,(function(e){return e.start>=d.pos}));p>=0&&e.addRange(S,a,p)}return T=r,q.updateSourceFile(t,e.setTextRange(q.createNodeArray(i),t.statements));function f(e){return!(32768&e.flags||!(8388608&e.transformFlags))}function m(e,t){for(var r=t;r<e.length;r++)if(f(e[r]))return r;return-1}function g(e,t){for(var r=t;r<e.length;r++)if(!f(e[r]))return r;return-1}}(l)),l.text=b,l.bindDiagnostics=[],l.bindSuggestionDiagnostics=void 0,l.languageVersion=r,l.fileName=t,l.languageVariant=e.getLanguageVariant(n),l.isDeclarationFile=i,l.scriptKind=n,l}function ae(e,t){e?R|=t:R&=~t}function oe(e,t){e?M|=t:M&=~t}function se(e){ae(e,4096)}function ce(e){ae(e,8192)}function le(e){ae(e,16384)}function ue(e){ae(e,32768)}function de(e){oe(e,2)}function pe(e){oe(e,128)}function fe(e){oe(e,256)}function me(e){oe(e,4)}function ge(e){oe(e,8)}function _e(e){oe(e,16)}function he(e){oe(e,32)}function ye(e){oe(e,64)}function ve(e,t){var r=e&R;if(r){ae(!1,r);var n=t();return ae(!0,r),n}return t()}function be(e,t){var r=e&~R;if(r){ae(!0,r);var n=t();return ae(!1,r),n}return t()}function ke(e){return ve(4096,e)}function xe(e){return be(32768,e)}function Ee(e){return!!(R&e)}function Se(e){return!!(M&e)}function De(){return Ee(8192)}function we(){return Ee(4096)}function Te(){return Ee(16384)}function Ce(){return Ee(32768)}function Ae(){return Ee(1073741824)}function Ne(){return Ae()&&Se(2)}function Pe(){return Ae()&&Se(128)}function Ie(){return Ae()&&Se(4)}function Fe(){return Ae()&&Se(8)}function Oe(){return Ae()&&Ne()&&Se(16)}function Re(){return Ae()&&Se(32)}function Me(){return Ae()&&Ne()&&Se(64)}function Le(e,t){Be(s.getTokenPos(),s.getTextPos(),e,t)}function je(t,r,n,i){var a=e.lastOrUndefined(S);a&&t===a.start||S.push(e.createDetachedDiagnostic(p,t,r,n,i)),V=!0}function Be(e,t,r,n){je(e,t-e,r,n)}function ze(e,t,r){Be(e.pos,e.end,t,r)}function Ue(e,t){je(s.getTextPos(),t,e)}function qe(){return s.getStartPos()}function Je(){return s.hasPrecedingJSDocComment()}function Ve(){return C}function He(){return C=s.scan()}function Ke(e){return We(),e()}function We(){return e.isKeyword(C)&&(s.hasUnicodeEscape()||s.hasExtendedUnicodeEscape())&&Be(s.getTokenPos(),s.getTextPos(),e.Diagnostics.Keywords_cannot_contain_escape_characters),He()}function Ge(){return C=s.scanJsDocToken()}function $e(){return C=s.reScanGreaterToken()}function Ye(){return C=s.reScanTemplateHeadOrNoSubstitutionTemplate()}function Xe(){return C=s.reScanLessThanToken()}function Qe(){return C=s.scanJsxIdentifier()}function Ze(){return C=s.scanJsxToken()}function et(t,r){var n=C,i=S.length,a=V,o=R,c=0!==r?s.lookAhead(t):s.tryScan(t);return e.Debug.assert(o===R),c&&0===r||(C=n,2!==r&&(S.length=i),V=a),c}function tt(e){return et(e,1)}function rt(e){return et(e,0)}function nt(){return 78===Ve()||Ve()>116}function it(){return 78===Ve()||(125!==Ve()||!De())&&((131!==Ve()||!Ce())&&Ve()>116)}function at(t,r,n){return void 0===n&&(n=!0),Ve()===t?(n&&We(),!0):!(Ve()===t||!z||!Me())||(r?Le(r):Le(e.Diagnostics._0_expected,e.tokenToString(t)),!1)}function ot(t){return Ve()===t?(Ge(),!0):(Le(e.Diagnostics._0_expected,e.tokenToString(t)),!1)}function st(e){return Ve()===e&&(We(),!0)}function ct(e){if(Ve()===e)return dt()}function lt(e){if(Ve()===e)return t=qe(),r=Ve(),Ge(),gt(q.createToken(r),t);var t,r}function ut(t,r,n){return ct(t)||_t(t,!1,r||e.Diagnostics._0_expected,n||e.tokenToString(t))}function dt(){var e=qe(),t=Ve();return We(),gt(q.createToken(t),e)}function pt(){return 26===Ve()||(19===Ve()||1===Ve()||s.hasPrecedingLineBreak())}function ft(){return pt()?(26===Ve()&&We(),!0):at(26)}function mt(t,r,n,i){var a=q.createNodeArray(t,i);return e.setTextRangePosEnd(a,r,null!=n?n:s.getStartPos()),a}function gt(t,r,n,i){return e.setTextRangePosEnd(t,r,null!=n?n:s.getStartPos()),R&&(t.flags|=R),V&&(V=!1,t.flags|=65536),i&&(t.virtual=!0),t}function _t(t,r,n,i){r?je(s.getStartPos(),0,n,i):n&&Le(n,i);var a=qe();return gt(78===t?q.createIdentifier("",void 0,void 0):e.isTemplateLiteralKind(t)?q.createTemplateLiteralLikeNode(t,"","",void 0):8===t?q.createNumericLiteral("",void 0):10===t?q.createStringLiteral("",void 0):274===t?q.createMissingDeclaration():q.createToken(t),a)}function ht(e){var t=N.get(e);return void 0===t&&N.set(e,t=e),t}function yt(t,r,n){if(t){I++;var i=qe(),a=Ve(),o=ht(s.getTokenValue());return He(),gt(q.createIdentifier(o,void 0,a),i)}if(79===Ve())return Le(n||e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),yt(!0);if(0===Ve()&&s.tryScan((function(){return 78===s.reScanInvalidIdentifier()})))return yt(!0);if(z&&Me()&&24===Ve()){I++;i=qe();return aa(q.createIdentifier(z+"Instance",void 0,78),i,i)}I++;var c=1===Ve(),l=s.isReservedWord(),u=s.getTokenText(),d=l?e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:e.Diagnostics.Identifier_expected;return _t(78,c,r||d,u)}function vt(e){return yt(nt(),void 0,e)}function bt(e,t){return yt(it(),e,t)}function kt(t){return yt(e.tokenIsIdentifierOrKeyword(Ve()),t)}function xt(){return e.tokenIsIdentifierOrKeyword(Ve())||10===Ve()||8===Ve()}function Et(e){if(10===Ve()||8===Ve()){var t=ar();return t.text=ht(t.text),t}return e&&22===Ve()?function(){var e=qe();at(22);var t=ke(_n);return at(23),gt(q.createComputedPropertyName(t),e)}():79===Ve()?Dt():kt()}function St(){return Et(!0)}function Dt(){var e,t,r=qe(),n=q.createPrivateIdentifier((e=s.getTokenText(),void 0===(t=P.get(e))&&P.set(e,t=e),t));return We(),gt(n,r)}function wt(e){return Ve()===e&&rt(Ct)}function Tt(){return We(),!s.hasPrecedingLineBreak()&&Pt()}function Ct(){switch(Ve()){case 85:return 92===We();case 93:return We(),88===Ve()?tt(It):150===Ve()?tt(Nt):At();case 88:return It();case 124:default:return Tt();case 135:case 147:return We(),Pt()}}function At(){return 41!==Ve()&&127!==Ve()&&18!==Ve()&&Pt()}function Nt(){return We(),At()}function Pt(){return 22===Ve()||18===Ve()||41===Ve()||25===Ve()||xt()}function It(){return We(),83===Ve()||Ae()&&84===Ve()||98===Ve()||118===Ve()||126===Ve()&&tt(fi)||130===Ve()&&tt(mi)}function Ft(t,r){if(Vt(t))return!0;switch(t){case 0:case 1:case 3:return!(26===Ve()&&r)&&yi();case 2:return 81===Ve()||88===Ve();case 4:return tt(Pr);case 5:return tt(qi)||26===Ve()&&!r;case 6:return 22===Ve()||xt();case 12:switch(Ve()){case 22:case 41:case 25:case 24:return!0;default:return xt()}case 18:return xt();case 9:return 22===Ve()||25===Ve()||xt();case 7:return 18===Ve()?tt(Ot):r?it()&&!jt():mn()&&!jt();case 8:return Ai();case 10:return 27===Ve()||25===Ve()||Ai();case 19:return it()||Fe()&&void 0!==j;case 15:switch(Ve()){case 27:case 24:return!0}case 11:return 25===Ve()||gn();case 16:return vr(!1);case 17:return vr(!0);case 20:case 21:return 27===Ve()||Yr();case 22:return ia();case 23:return e.tokenIsIdentifierOrKeyword(Ve());case 13:return e.tokenIsIdentifierOrKeyword(Ve())||18===Ve();case 14:return!0}return e.Debug.fail("Non-exhaustive case in 'isListElement'.")}function Ot(){if(e.Debug.assert(18===Ve()),19===We()){var t=We();return 27===t||18===t||94===t||117===t}return!0}function Rt(){return We(),it()}function Mt(){return We(),e.tokenIsIdentifierOrKeyword(Ve())}function Lt(){return We(),e.tokenIsIdentifierOrKeywordOrGreaterThan(Ve())}function jt(){return(117===Ve()||94===Ve())&&tt(Bt)}function Bt(){return We(),gn()}function zt(){return We(),Yr()}function Ut(e){if(1===Ve())return!0;switch(e){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:return 19===Ve();case 3:return 19===Ve()||81===Ve()||88===Ve();case 7:return 18===Ve()||94===Ve()||117===Ve();case 8:return function(){if(pt())return!0;if(wn(Ve()))return!0;if(38===Ve())return!0;return!1}();case 19:return 31===Ve()||20===Ve()||18===Ve()||94===Ve()||117===Ve();case 11:return 21===Ve()||26===Ve();case 15:case 21:case 10:return 23===Ve();case 17:case 16:case 18:return 21===Ve()||23===Ve();case 20:return 27!==Ve();case 22:return 18===Ve()||19===Ve();case 13:return 31===Ve()||43===Ve();case 14:return 29===Ve()&&tt(da);default:return!1}}function qt(e,t){var r=F;F|=1<<e;for(var n=[],i=qe();!Ut(e);)if(Ft(e,!1)){var a=Jt(e,t);n.push(a)}else if(Kt(e))break;return F=r,mt(n,i)}function Jt(e,t){var r=Vt(e);return r?Ht(r):t()}function Vt(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)&&!V){var r=T.currentNode(s.getStartPos());if(!(e.nodeIsMissing(r)||r.intersectsChange||e.containsParseError(r)))if((1099100160&r.flags)===R&&function(e,t){switch(t){case 5:return function(e){if(e)switch(e.kind){case 167:case 172:case 168:case 169:case 231:return!0;case 164:return!Ne();case 166:var t=e;return!(78===t.name.kind&&133===t.name.originalKeywordKind)}return!1}(e);case 2:return function(e){if(e)switch(e.kind){case 287:case 288:return!0}return!1}(e);case 0:case 1:case 3:return function(e){if(e)switch(e.kind){case 253:case 234:case 232:case 236:case 235:case 248:case 244:case 246:case 243:case 242:case 240:case 241:case 239:case 238:case 245:case 233:case 249:case 247:case 237:case 250:case 264:case 263:case 270:case 269:case 259:case 254:case 255:case 256:case 258:case 257:return!0}return!1}(e);case 6:return function(e){return 294===e.kind}(e);case 4:return function(e){if(e)switch(e.kind){case 171:case 165:case 172:case 163:case 170:return!0}return!1}(e);case 8:return function(e){if(251!==e.kind)return!1;var t=e;return void 0===t.initializer}(e);case 17:case 16:return function(e){if(161!==e.kind)return!1;var t=e;return void 0===t.initializer}(e)}return!1}(r,t))return r.jsDocCache&&(r.jsDocCache=void 0),r}}function Ht(e){return s.setTextPos(e.end),We(),e}function Kt(t){return function(t){switch(t){case 0:case 1:return Le(e.Diagnostics.Declaration_or_statement_expected);case 2:return Le(e.Diagnostics.case_or_default_expected);case 3:return Le(e.Diagnostics.Statement_expected);case 18:case 4:return Le(e.Diagnostics.Property_or_signature_expected);case 5:return Le(e.Diagnostics.Unexpected_token_A_constructor_method_accessor_or_property_was_expected);case 6:return Le(e.Diagnostics.Enum_member_expected);case 7:return Le(e.Diagnostics.Expression_expected);case 8:return e.isKeyword(Ve())?Le(e.Diagnostics._0_is_not_allowed_as_a_variable_declaration_name,e.tokenToString(Ve())):Le(e.Diagnostics.Variable_declaration_expected);case 9:return Le(e.Diagnostics.Property_destructuring_pattern_expected);case 10:return Le(e.Diagnostics.Array_element_destructuring_pattern_expected);case 11:return Le(e.Diagnostics.Argument_expression_expected);case 12:return Le(e.Diagnostics.Property_assignment_expected);case 15:return Le(e.Diagnostics.Expression_or_comma_expected);case 17:case 16:return Le(e.Diagnostics.Parameter_declaration_expected);case 19:return Le(e.Diagnostics.Type_parameter_declaration_expected);case 20:return Le(e.Diagnostics.Type_argument_expected);case 21:return Le(e.Diagnostics.Type_expected);case 22:return Le(e.Diagnostics.Unexpected_token_expected);case 23:case 13:case 14:return Le(e.Diagnostics.Identifier_expected);default:;}}(t),!!function(){for(var e=0;e<24;e++)if(F&1<<e&&(Ft(e,!0)||Ut(e)))return!0;return!1}()||(We(),!1)}function Wt(e,t,r){var n=F;F|=1<<e;for(var i=[],a=qe(),o=-1;;)if(Ft(e,!1)){var c=s.getStartPos();if(i.push(Jt(e,t)),o=s.getTokenPos(),st(27))continue;if(o=-1,Ut(e))break;at(27,Gt(e)),r&&26===Ve()&&!s.hasPrecedingLineBreak()&&We(),c===s.getStartPos()&&We()}else{if(Ut(e))break;if(Kt(e))break}return F=n,mt(i,a,void 0,o>=0)}function Gt(t){return 6===t?e.Diagnostics.An_enum_member_name_must_be_followed_by_a_or:void 0}function $t(){var e=mt([],qe());return e.isMissingList=!0,e}function Yt(e,t,r,n){if(at(r)){var i=Wt(e,t);return at(n),i}return $t()}function Xt(e,t){for(var r=qe(),n=e?kt(t):bt(t),i=qe();st(24);){if(29===Ve()){n.jsdocDotPos=i;break}i=qe(),n=gt(q.createQualifiedName(n,Zt(e,!1)),r)}return n}function Qt(e,t){return gt(q.createQualifiedName(e,t),e.pos)}function Zt(t,r){if(s.hasPrecedingLineBreak()&&e.tokenIsIdentifierOrKeyword(Ve())&&tt(pi))return _t(78,!0,e.Diagnostics.Identifier_expected);if(79===Ve()){var n=Dt();return r?n:_t(78,!0,e.Diagnostics.Identifier_expected)}return t?kt():bt()}function er(e){var t=qe();return gt(q.createTemplateExpression(or(e),function(e){var t,r=qe(),n=[];do{t=ir(e),n.push(t)}while(16===t.literal.kind);return mt(n,r)}(e)),t)}function tr(){var e=qe();return gt(q.createTemplateLiteralType(or(!1),function(){var e,t=qe(),r=[];do{e=rr(),r.push(e)}while(16===e.literal.kind);return mt(r,t)}()),e)}function rr(){var e=qe();return gt(q.createTemplateLiteralTypeSpan(ln(),nr(!1)),e)}function nr(t){return 19===Ve()?(function(e){C=s.reScanTemplateToken(e)}(t),r=sr(Ve()),e.Debug.assert(16===r.kind||17===r.kind,"Template fragment has wrong token kind"),r):ut(17,e.Diagnostics._0_expected,e.tokenToString(19));var r}function ir(e){var t=qe();return gt(q.createTemplateSpan(ke(_n),nr(e)),t)}function ar(){return sr(Ve())}function or(t){t&&Ye();var r=sr(Ve());return e.Debug.assert(15===r.kind,"Template head has wrong token kind"),r}function sr(t){var r=qe(),n=e.isTemplateLiteralKind(t)?q.createTemplateLiteralLikeNode(t,s.getTokenValue(),function(e){var t=14===e||17===e,r=s.getTokenText();return r.substring(1,r.length-(s.isUnterminated()?0:t?1:2))}(t),2048&s.getTokenFlags()):8===t?q.createNumericLiteral(s.getTokenValue(),s.getNumericLiteralFlags()):10===t?q.createStringLiteral(s.getTokenValue(),void 0,s.hasExtendedUnicodeEscape()):e.isLiteralKind(t)?q.createLiteralLikeNode(t,s.getTokenValue()):e.Debug.fail();return s.hasExtendedUnicodeEscape()&&(n.hasExtendedUnicodeEscape=!0),s.isUnterminated()&&(n.isUnterminated=!0),We(),gt(n,r)}function cr(){return Xt(!0,e.Diagnostics.Type_expected)}function lr(){if(!s.hasPrecedingLineBreak()&&29===Xe())return Yt(20,ln,29,31)}function ur(){var e=qe();return gt(q.createTypeReferenceNode(cr(),lr()),e)}function dr(t){switch(t.kind){case 174:return e.nodeIsMissing(t.typeName);case 175:case 176:var r=t,n=r.parameters,i=r.type;return!!n.isMissingList||dr(i);case 187:return dr(t.type);default:return!1}}function pr(){var e=qe();return We(),gt(q.createThisTypeNode(),e)}function fr(){var e,t=qe();return 108!==Ve()&&103!==Ve()||(e=kt(),at(58)),gt(q.createParameterDeclaration(void 0,void 0,void 0,e,void 0,mr(),void 0),t)}function mr(){s.setInJSDocType(!0);var e=qe();if(st(140)){var t=q.createJSDocNamepathType(void 0);e:for(;;)switch(Ve()){case 19:case 1:case 27:case 5:break e;default:Ge()}return s.setInJSDocType(!1),gt(t,e)}var r=st(25),n=sn();return s.setInJSDocType(!1),r&&(n=gt(q.createJSDocVariadicType(n),e)),62===Ve()?(We(),gt(q.createJSDocOptionalType(n),e)):n}function gr(e){var t,r,n=qe(),i=void 0!==e?function(e){I++;var t=ht(j.type);return aa(q.createIdentifier(t),e,e)}(e):bt();st(94)&&(Yr()||!gn()?t=ln():r=Nn());var a=st(62)?ln():void 0,o=q.createTypeParameterDeclaration(i,t,a);return o.expression=r,void 0!==e?aa(o,e,e):gt(o,n)}function _r(){if(29===Ve())return Yt(19,gr,29,31)}function hr(e){return mt([gr(e)],qe())}function yr(e,t){if(!(131072&R))return mt([un(e,t)],qe())}function vr(t){return 25===Ve()||Ai()||e.isModifierKind(Ve())||59===Ve()||Yr(!t)}function br(){return xr(!0)}function kr(){return xr(!1)}function xr(t){var r=qe(),n=Je();if(108===Ve())return X(gt(q.createParameterDeclaration(void 0,void 0,void 0,yt(!0),void 0,fn(),void 0),r),n);var i=t?xe(Hi):Hi(),a=J;J=!1;var o=Wi(),s=X(gt(q.createParameterDeclaration(i,o,ct(25),function(t){var r=Ni(e.Diagnostics.Private_identifiers_cannot_be_used_as_parameters);return 0===e.getFullWidth(r)&&!e.some(t)&&e.isModifierKind(Ve())&&We(),r}(o),ct(57),fn(),hn()),r),n);return J=a,s}function Er(t,r){if(function(t,r){if(38===t)return at(t),!0;if(st(58))return!0;if(r&&38===Ve())return Le(e.Diagnostics._0_expected,e.tokenToString(58)),We(),!0;return!1}(t,r))return sn()}function Sr(e){var t=De(),r=Ce();ce(!!(1&e)),ue(!!(2&e));var n=32&e?Wt(17,fr):Wt(16,r?br:kr);return ce(t),ue(r),n}function Dr(e){if(!at(20))return $t();var t=Sr(e);return at(21),t}function wr(){st(27)||ft()}function Tr(e){var t=qe(),r=Je();171===e&&at(103);var n=_r(),i=Dr(4),a=Er(58,!0);return wr(),X(gt(170===e?q.createCallSignature(n,i,a):q.createConstructSignature(n,i,a),t),r)}function Cr(){return 22===Ve()&&tt(Ar)}function Ar(){if(We(),25===Ve()||23===Ve())return!0;if(e.isModifierKind(Ve())){if(We(),it())return!0}else{if(!it())return!1;We()}return 58===Ve()||27===Ve()||57===Ve()&&(We(),58===Ve()||27===Ve()||23===Ve())}function Nr(e,t,r,n){var i=Yt(16,kr,22,23),a=fn();return wr(),X(gt(q.createIndexSignature(r,n,i,a),e),t)}function Pr(){if(20===Ve()||29===Ve())return!0;for(var t=!1;e.isModifierKind(Ve());)t=!0,We();return 22===Ve()||(xt()&&(t=!0,We()),!!t&&(20===Ve()||29===Ve()||57===Ve()||58===Ve()||27===Ve()||pt()))}function Ir(){if(20===Ve()||29===Ve())return Tr(170);if(103===Ve()&&tt(Fr))return Tr(171);var e=qe(),t=Je(),r=Wi();return Cr()?Nr(e,t,void 0,r):function(e,t,r){var n,i=St(),a=ct(57);if(20===Ve()||29===Ve()){var o=_r(),s=Dr(4),c=Er(58,!0);n=q.createMethodSignature(r,i,a,o,s,c)}else c=fn(),n=q.createPropertySignature(r,i,a,c),62===Ve()&&(n.initializer=hn());return wr(),X(gt(n,e),t)}(e,t,r)}function Fr(){return We(),20===Ve()||29===Ve()}function Or(){return 24===We()}function Rr(){switch(We()){case 20:case 29:case 24:return!0}return!1}function Mr(){var e;return at(18)?(e=qt(4,Ir),at(19)):e=$t(),e}function Lr(){return We(),39===Ve()||40===Ve()?143===We():(143===Ve()&&We(),22===Ve()&&Rt()&&101===We())}function jr(){var e,t=qe();at(18),143!==Ve()&&39!==Ve()&&40!==Ve()||143!==(e=dt()).kind&&at(143),at(22);var r,n=function(){var e=qe(),t=kt();at(101);var r=ln();return gt(q.createTypeParameterDeclaration(t,r,void 0),e)}(),i=st(127)?ln():void 0;at(23),57!==Ve()&&39!==Ve()&&40!==Ve()||57!==(r=dt()).kind&&at(57);var a=fn();return ft(),at(19),gt(q.createMappedTypeNode(e,n,i,r,a),t)}function Br(){var t=qe();if(st(25))return gt(q.createRestTypeNode(ln()),t);var r=ln();if(e.isJSDocNullableType(r)&&r.pos===r.type.pos){var n=q.createOptionalTypeNode(r.type);return e.setTextRange(n,r),n.flags=r.flags,n}return r}function zr(){return 58===We()||57===Ve()&&58===We()}function Ur(){return 25===Ve()?e.tokenIsIdentifierOrKeyword(We())&&zr():e.tokenIsIdentifierOrKeyword(Ve())&&zr()}function qr(){if(tt(Ur)){var e=qe(),t=Je(),r=ct(25),n=kt(),i=ct(57);at(58);var a=Br();return X(gt(q.createNamedTupleMember(r,n,i,a),e),t)}return Br()}function Jr(){var e=qe(),t=Je(),r=function(){var e;if(126===Ve()){var t=qe();We(),e=mt([gt(q.createToken(126),t)],t)}return e}(),n=st(103),i=_r(),a=Dr(4),o=Er(38,!1),s=n?q.createConstructorTypeNode(r,i,a,o):q.createFunctionTypeNode(i,a,o);return n||(s.modifiers=r),X(gt(s,e),t)}function Vr(){var e=dt();return 24===Ve()?void 0:e}function Hr(e){var t=qe();e&&We();var r=110===Ve()||95===Ve()||104===Ve()?dt():sr(Ve());return e&&(r=gt(q.createPrefixUnaryExpression(40,r),t)),gt(q.createLiteralTypeNode(r),t)}function Kr(){return We(),100===Ve()}function Wr(){g|=1048576;var e=qe(),t=st(112);at(100),at(20);var r=ln();at(21);var n=st(24)?cr():void 0,i=lr();return gt(q.createImportTypeNode(r,n,i,t),e)}function Gr(){return We(),8===Ve()||9===Ve()}function $r(){switch(Ve()){case 129:case 153:case 148:case 145:case 156:case 149:case 132:case 151:case 142:case 146:return rt(Vr)||ur();case 65:s.reScanAsteriskEqualsToken();case 41:return r=qe(),We(),gt(q.createJSDocAllType(),r);case 60:s.reScanQuestionToken();case 57:return function(){var e=qe();return We(),27===Ve()||19===Ve()||21===Ve()||31===Ve()||62===Ve()||51===Ve()?gt(q.createJSDocUnknownType(),e):gt(q.createJSDocNullableType(ln()),e)}();case 98:return function(){var e=qe(),t=Je();if(tt(ua)){We();var r=Dr(36),n=Er(58,!1);return X(gt(q.createJSDocFunctionType(r,n),e),t)}return gt(q.createTypeReferenceNode(kt(),void 0),e)}();case 53:return function(){var e=qe();return We(),gt(q.createJSDocNonNullableType($r()),e)}();case 14:case 10:case 8:case 9:case 110:case 95:case 104:return Hr();case 40:return tt(Gr)?Hr(!0):ur();case 114:return dt();case 108:var e=pr();return 138!==Ve()||s.hasPrecedingLineBreak()?e:(t=e,We(),gt(q.createTypePredicateNode(void 0,t,ln()),t.pos));case 112:return tt(Kr)?Wr():function(){var e=qe();return at(112),gt(q.createTypeQueryNode(Xt(!0)),e)}();case 18:return tt(Lr)?jr():function(){var e=qe();return gt(q.createTypeLiteralNode(Mr()),e)}();case 22:return function(){var e=qe();return gt(q.createTupleTypeNode(Yt(21,qr,22,23)),e)}();case 20:return function(){var e=qe();at(20);var t=ln();return at(21),gt(q.createParenthesizedType(t),e)}();case 100:return Wr();case 128:return tt(pi)?function(){var e=qe(),t=ut(128),r=108===Ve()?pr():bt(),n=st(138)?ln():void 0;return gt(q.createTypePredicateNode(t,r,n),e)}():ur();case 15:return tr();default:return ur()}var t,r}function Yr(e){switch(Ve()){case 129:case 153:case 148:case 145:case 156:case 132:case 143:case 149:case 152:case 114:case 151:case 104:case 108:case 112:case 142:case 18:case 22:case 29:case 51:case 50:case 103:case 10:case 8:case 9:case 110:case 95:case 146:case 41:case 57:case 53:case 25:case 136:case 100:case 128:case 14:case 15:return!0;case 98:return!e;case 40:return!e&&tt(Gr);case 20:return!e&&tt(Xr);default:return it()}}function Xr(){return We(),21===Ve()||vr(!1)||Yr()}function Qr(){var e=qe();return at(136),gt(q.createInferTypeNode(function(){var e=qe();return gt(q.createTypeParameterDeclaration(bt(),void 0,void 0),e)}()),e)}function Zr(){var e=Ve();switch(e){case 139:case 152:case 143:return function(e){var t=qe();return at(e),gt(q.createTypeOperatorNode(e,Zr()),t)}(e);case 136:return Qr()}return function(){for(var e=qe(),t=$r();!s.hasPrecedingLineBreak();)switch(Ve()){case 53:We(),t=gt(q.createJSDocNonNullableType(t),e);break;case 57:if(tt(zt))return t;We(),t=gt(q.createJSDocNullableType(t),e);break;case 22:if(at(22),Yr()){var r=ln();at(23),t=gt(q.createIndexedAccessTypeNode(t,r),e)}else at(23),t=gt(q.createArrayTypeNode(t),e);break;default:return t}return t}()}function en(t){if(an()){var r=Jr();return ze(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 tn(e,t,r){var n=qe(),i=51===e,a=st(e),o=a&&en(i)||t();if(Ve()===e||a){for(var s=[o];st(e);)s.push(en(i)||t());o=gt(r(mt(s,n)),n)}return o}function rn(){return tn(50,Zr,q.createIntersectionTypeNode)}function nn(){return We(),103===Ve()}function an(){return 29===Ve()||(!(20!==Ve()||!tt(on))||(103===Ve()||126===Ve()&&tt(nn)))}function on(){if(We(),21===Ve()||25===Ve())return!0;if(function(){if(e.isModifierKind(Ve())&&Wi(),it()||108===Ve())return We(),!0;if(22===Ve()||18===Ve()){var t=S.length;return Ni(),t===S.length}return!1}()){if(58===Ve()||27===Ve()||57===Ve()||62===Ve())return!0;if(21===Ve()&&(We(),38===Ve()))return!0}return!1}function sn(){var e=qe(),t=it()&&rt(cn),r=ln();return t?gt(q.createTypePredicateNode(void 0,t,r),e):r}function cn(){var e=bt();if(138===Ve()&&!s.hasPrecedingLineBreak())return We(),e}function ln(){return ve(40960,dn)}function un(e,t){var r=40960&R;if(r){ae(!1,r);var n=pn(e,t);return ae(!0,r),n}return pn(e,t)}function dn(e){if(an())return Jr();var t=qe(),r=tn(51,rn,q.createUnionTypeNode);if(!e&&!s.hasPrecedingLineBreak()&&st(94)){var n=dn(!0);at(57);var i=dn();at(58);var a=dn();return gt(q.createConditionalTypeNode(r,n,i,a),t)}return r}function pn(e,t){return aa(q.createTypeReferenceNode(aa(q.createIdentifier(t),e,e)),e,e)}function fn(){return st(58)?ln():void 0}function mn(){switch(Ve()){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 83:case 103:case 43:case 67:case 78:return!0;case 84:return Ae();case 100:return tt(Rr);default:return it()}}function gn(){if(mn())return!0;switch(Ve()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 45:case 46:case 29:case 131:case 125:case 79:return!0;case 24:return Ie()&&!!L||Fe()&&!!j;default:return!!function(){if(we()&&101===Ve())return!1;return e.getBinaryOperatorPrecedence(Ve())>0}()||it()}}function _n(){var e=Te();e&&le(!1);for(var t,r=qe(),n=yn();t=ct(27);)n=Cn(n,t,yn(),r);return e&&le(!0),n}function hn(){return st(62)?yn():void 0}function yn(){if(function(){if(125===Ve())return!!De()||tt(gi);return!1}())return function(){var e=qe();return We(),s.hasPrecedingLineBreak()||41!==Ve()&&!gn()?gt(q.createYieldExpression(void 0,void 0),e):gt(q.createYieldExpression(ct(41),yn()),e)}();var t=function(){var e=function(){if(20===Ve()||29===Ve()||130===Ve())return tt(bn);if(38===Ve())return 1;return 0}();if(0===e)return;return 1===e?En(!0):rt(kn)}()||function(){if(130===Ve()&&1===tt(xn)){var e=qe(),t=Gi();return vn(e,Dn(0),t)}return}();if(t)return t;var r=qe(),n=Dn(0);return 78===n.kind&&38===Ve()?vn(r,n,void 0):e.isLeftHandSideExpression(n)&&e.isAssignmentOperator($e())?Cn(n,dt(),yn(),r):Ae()&&e.isCallExpression(n)&&18===Ve()?function(e,t){var r=e.expression,n=oi(0);return gt(q.createEtsComponentExpression(r,e.arguments,n),t)}(n,r):function(t,r){var n,i=ct(57);if(!i)return t;return gt(q.createConditionalExpression(t,i,ve(l,yn),n=ut(58),e.nodeIsPresent(n)?yn():_t(78,!1,e.Diagnostics._0_expected,e.tokenToString(58))),r)}(n,r)}function vn(t,r,n){e.Debug.assert(38===Ve(),"parseSimpleArrowFunctionExpression should only have been called if we had a =>");var i=q.createParameterDeclaration(void 0,void 0,void 0,r,void 0,void 0,void 0);gt(i,r.pos);var a=mt([i],i.pos,i.end),o=ut(38),s=Sn(!!n);return re(gt(q.createArrowFunction(n,void 0,a,void 0,o,s),t))}function bn(){if(130===Ve()){if(We(),s.hasPrecedingLineBreak())return 0;if(20!==Ve()&&29!==Ve())return 0}var t=Ve(),r=We();if(20===t){if(21===r)switch(We()){case 38:case 58:case 18:return 1;default:return 0}if(22===r||18===r)return 2;if(25===r)return 1;if(e.isModifierKind(r)&&130!==r&&tt(Rt))return 1;if(!it()&&108!==r)return 0;switch(We()){case 58:return 1;case 57:return We(),58===Ve()||27===Ve()||62===Ve()||21===Ve()?1:0;case 27:case 62:case 21:return 2}return 0}if(e.Debug.assert(29===t),!it())return 0;if(1===E){var n=tt((function(){var e=We();if(94===e)switch(We()){case 62:case 31:return!1;default:return!0}else if(27===e)return!0;return!1}));return n?1:0}return 2}function kn(){var t=s.getTokenPos();if(!(null==O?void 0:O.has(t))){var r=En(!1);return r||(O||(O=new e.Set)).add(t),r}}function xn(){if(130===Ve()){if(We(),s.hasPrecedingLineBreak()||38===Ve())return 0;var e=Dn(0);if(!s.hasPrecedingLineBreak()&&78===e.kind&&38===Ve())return 1}return 0}function En(t){var r,n=qe(),i=Je(),a=Gi(),o=e.some(a,e.isAsyncModifier)?2:0,s=_r();if(at(20)){if(r=Sr(o),!at(21)&&!t)return}else{if(!t)return;r=$t()}var c=Er(58,!1);if(!c||t||!dr(c)){var l=c&&e.isJSDocFunctionType(c);if(t||38===Ve()||!l&&18===Ve()){var u=Ve(),d=ut(38),p=38===u||18===u?Sn(e.some(a,e.isAsyncModifier)):bt();return X(gt(q.createArrowFunction(a,s,r,c,d,p),n),i)}}}function Sn(e){if(18===Ve())return oi(e?2:0);if(26!==Ve()&&98!==Ve()&&83!==Ve()&&(!Ae()||84!==Ve())&&yi()&&(18===Ve()||98===Ve()||83===Ve()||Ae()&&84===Ve()||59===Ve()||!gn()))return oi(16|(e?2:0));var t=J;J=!1;var r=e?xe(yn):ve(32768,yn);return J=t,r}function Dn(e){var t=qe();return Tn(e,Nn(),t)}function wn(e){return 101===e||157===e}function Tn(t,r,n){for(;;){$e();var i=e.getBinaryOperatorPrecedence(Ve());if(!(42===Ve()?i>=t:i>t))break;if(101===Ve()&&we())break;if(127===Ve()){if(s.hasPrecedingLineBreak())break;We(),a=r,o=ln(),r=gt(q.createAsExpression(a,o),a.pos)}else r=Cn(r,dt(),Dn(i),n)}var a,o;return r}function Cn(e,t,r,n){return gt(q.createBinaryExpression(e,t,r),n)}function An(){var e=qe();return gt(q.createPrefixUnaryExpression(Ve(),Ke(Pn)),e)}function Nn(){if(function(){switch(Ve()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 131:return!1;case 29:if(1!==E)return!1;default:return!0}}()){var t=qe(),r=In();return 42===Ve()?Tn(e.getBinaryOperatorPrecedence(Ve()),r,t):r}var n=Ve(),i=Pn();if(42===Ve()){t=e.skipTrivia(b,i.pos);var a=i.end;207===i.kind?Be(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):Be(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 Pn(){switch(Ve()){case 39:case 40:case 54:case 53:return An();case 89:return e=qe(),gt(q.createDeleteExpression(Ke(Pn)),e);case 112:return function(){var e=qe();return gt(q.createTypeOfExpression(Ke(Pn)),e)}();case 114:return function(){var e=qe();return gt(q.createVoidExpression(Ke(Pn)),e)}();case 29:return function(){var e=qe();at(29);var t=ln();at(31);var r=Pn();return gt(q.createTypeAssertion(t,r),e)}();case 131:if(131===Ve()&&(Ce()||tt(gi)))return function(){var e=qe();return gt(q.createAwaitExpression(Ke(Pn)),e)}();default:return In()}var e}function In(){if(45===Ve()||46===Ve()){var t=qe();return gt(q.createPrefixUnaryExpression(Ve(),Ke(Fn)),t)}if(1===E&&29===Ve()&&tt(Lt))return Rn(!0);var r=Fn();if(e.Debug.assert(e.isLeftHandSideExpression(r)),(45===Ve()||46===Ve())&&!s.hasPrecedingLineBreak()){var n=Ve();return We(),gt(q.createPostfixUnaryExpression(r,n),r.pos)}return r}function Fn(){var t,r=qe();return 100===Ve()?tt(Fr)?(g|=1048576,t=dt()):tt(Or)?(We(),We(),t=gt(q.createMetaProperty(100,kt()),r),g|=2097152):t=On():t=106===Ve()?function(){var t=qe(),r=dt();if(29===Ve()){var n=qe();void 0!==rt(Yn)&&Be(n,qe(),e.Diagnostics.super_may_not_use_type_arguments)}if(20===Ve()||24===Ve()||22===Ve())return r;return ut(24,e.Diagnostics.super_must_be_followed_by_an_argument_list_or_member_access),gt(q.createPropertyAccessExpression(r,Zt(!0,!0)),t)}():On(),Gn(r,t)}function On(){var e=qe();return Hn(e,Ie()&&L&&24===Ve()?aa(q.createIdentifier(L.instance,void 0,78),e,e):Fe()&&j&&24===Ve()?aa(q.createIdentifier(j.instance,void 0,78),e,e):Me()&&z&&24===Ve()?aa(q.createIdentifier(z+"Instance",void 0,78),e,e):Xn(),!0)}function Rn(t,r){var n,i=qe(),a=function(e){var t=qe();if(at(29),31===Ve())return Ze(),gt(q.createJsxOpeningFragment(),t);var r,n=jn(),i=131072&R?void 0:na(),a=function(){var e=qe();return gt(q.createJsxAttributes(qt(13,zn)),e)}();31===Ve()?(Ze(),r=q.createJsxOpeningElement(n,i,a)):(at(43),e?at(31):(at(31,void 0,!1),Ze()),r=q.createJsxSelfClosingElement(n,i,a));return gt(r,t)}(t);if(278===a.kind){var o=Ln(a),s=function(e){var t=qe();at(30);var r=jn();e?at(31):(at(31,void 0,!1),Ze());return gt(q.createJsxClosingElement(r),t)}(t);w(a.tagName,s.tagName)||ze(s,e.Diagnostics.Expected_corresponding_JSX_closing_tag_for_0,e.getTextOfNodeFromSourceText(b,a.tagName)),n=gt(q.createJsxElement(a,o,s),i)}else 281===a.kind?n=gt(q.createJsxFragment(a,Ln(a),function(t){var r=qe();at(30),e.tokenIsIdentifierOrKeyword(Ve())&&ze(jn(),e.Diagnostics.Expected_corresponding_closing_tag_for_JSX_fragment);t?at(31):(at(31,void 0,!1),Ze());return gt(q.createJsxJsxClosingFragment(),r)}(t)),i):(e.Debug.assert(277===a.kind),n=a);if(t&&29===Ve()){var c=void 0===r?n.pos:r,l=rt((function(){return Rn(!0,c)}));if(l){var u=_t(27,!1);return e.setTextRangePosWidth(u,l.pos,0),Be(e.skipTrivia(b,c),l.end,e.Diagnostics.JSX_expressions_must_have_one_parent_element),gt(q.createBinaryExpression(n,u,l),i)}}return n}function Mn(t,r){switch(r){case 1:if(e.isJsxOpeningFragment(t))ze(t,e.Diagnostics.JSX_fragment_has_no_corresponding_closing_tag);else{var n=t.tagName;Be(e.skipTrivia(b,n.pos),n.end,e.Diagnostics.JSX_element_0_has_no_corresponding_closing_tag,e.getTextOfNodeFromSourceText(b,t.tagName))}return;case 30:case 7:return;case 11:case 12:return i=qe(),a=q.createJsxText(s.getTokenValue(),12===C),C=s.scanJsxToken(),gt(a,i);case 18:return Bn(!1);case 29:return Rn(!1);default:return e.Debug.assertNever(r)}var i,a}function Ln(e){var t=[],r=qe(),n=F;for(F|=16384;;){var i=Mn(e,C=s.reScanJsxToken());if(!i)break;t.push(i)}return F=n,mt(t,r)}function jn(){var e=qe();Qe();for(var t=108===Ve()?dt():kt();st(24);)t=gt(q.createPropertyAccessExpression(t,Zt(!0,!1)),e);return t}function Bn(e){var t,r,n=qe();if(at(18))return 19!==Ve()&&(t=ct(25),r=_n()),e?at(19):at(19,void 0,!1)&&Ze(),gt(q.createJsxExpression(t,r),n)}function zn(){if(18===Ve())return function(){var e=qe();at(18),at(25);var t=_n();return at(19),gt(q.createJsxSpreadAttribute(t),e)}();Qe();var e=qe();return gt(q.createJsxAttribute(kt(),62!==Ve()?void 0:10===(C=s.scanJsxAttributeValue())?ar():Bn(!0)),e)}function Un(){return We(),e.tokenIsIdentifierOrKeyword(Ve())||22===Ve()||Kn()}function qn(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 Jn(t,r,n){var i=Zt(!0,!0),a=n||qn(r),o=a?q.createPropertyAccessChain(r,n,i):q.createPropertyAccessExpression(r,i);return a&&e.isPrivateIdentifier(o.name)&&ze(o.name,e.Diagnostics.An_optional_chain_cannot_contain_private_identifiers),gt(o,t)}function Vn(t,r,n){var i;if(23===Ve())i=_t(78,!0,e.Diagnostics.An_element_access_expression_should_take_an_argument);else{var a=ke(_n);e.isStringOrNumericLiteralLike(a)&&(a.text=ht(a.text)),i=a}return at(23),gt(n||qn(r)?q.createElementAccessChain(r,n,i):q.createElementAccessExpression(r,i),t)}function Hn(t,r,n){for(;;){var i=void 0,a=!1;if(n&&28===Ve()&&tt(Un)?(i=ut(28),a=e.tokenIsIdentifierOrKeyword(Ve())):a=st(24),a)r=Jn(t,r,i);else if(i||53!==Ve()||s.hasPrecedingLineBreak())if(!i&&Te()||!st(22)){if(!Kn())return r;r=Wn(t,r,i,void 0)}else r=Vn(t,r,i);else We(),r=gt(q.createNonNullExpression(r),t)}}function Kn(){return 14===Ve()||15===Ve()}function Wn(e,t,r,n){var i=q.createTaggedTemplateExpression(t,n,14===Ve()?(Ye(),ar()):er(!0));return(r||32&t.flags)&&(i.flags|=32),i.questionDotToken=r,gt(i,e)}function Gn(t,r){for(var n,i,a,o,s;;){r=Hn(t,r,!0);var l=ct(28);if(131072&R||29!==Ve()&&47!==Ve()){if(20===Ve()){var u=void 0;if(((Oe()||Re())&&Ne()||Re())&&e.isPropertyAccessExpression(r)){var d=e.getRootEtsComponent(r);if(d){var p=d.expression.escapedText.toString();(s=e.getTextOfPropertyName(r.name).toString())===(null===(i=null===(n=null==c?void 0:c.ets)||void 0===n?void 0:n.styles)||void 0===i?void 0:i.property)?(ye(!0),z=p):(ye(!1),z=void 0),u=yr(t,p+"Attribute")}else Me()&&z&&(u=yr(t,z+"Attribute"))}f=$n();r=gt(l||qn(r)?q.createCallChain(r,l,u,f):q.createCallExpression(r,u,f),t);continue}}else if(u=rt(Yn)){if(Kn()){r=Wn(t,r,l,u);continue}var f=$n();r=gt(l||qn(r)?q.createCallChain(r,l,u,f):q.createCallExpression(r,u,f),t);continue}if(l){var m=_t(78,!1,e.Diagnostics.Identifier_expected);r=gt(q.createPropertyAccessChain(r,l,m),t)}break}return s===(null===(o=null===(a=null==c?void 0:c.ets)||void 0===a?void 0:a.styles)||void 0===o?void 0:o.property)&&(ye(!1),z=void 0),r}function $n(){at(20);var e=Wt(11,Zn);return at(21),e}function Yn(){if(!(131072&R)&&29===Xe()){We();var e=Wt(20,ln);if(at(31))return e&&function(){switch(Ve()){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 Xn(){switch(Ve()){case 8:case 9:case 10:case 14:return ar();case 108:case 106:case 104:case 110:case 95:return dt();case 20:return function(){var e=qe(),t=Je();at(20);var r=ke(_n);return at(21),X(gt(q.createParenthesizedExpression(r),e),t)}();case 22:return ei();case 18:return ri();case 130:if(!tt(mi))break;return ni();case 83:return Qi(qe(),Je(),void 0,void 0,223);case 98:return ni();case 103:return function(){fe(Pe());var t=qe();if(at(103),st(24)){var r=kt();return gt(q.createMetaProperty(103,r),t)}var n,i,a=qe(),o=Xn();for(;;){o=Hn(a,o,!1),n=rt(Yn),Kn()&&(e.Debug.assert(!!n,"Expected a type argument list; all plain tagged template starts should be consumed in 'parseMemberExpressionRest'"),o=Wn(a,o,void 0,n),n=void 0);break}20===Ve()?i=$n():n&&Be(t,s.getStartPos(),e.Diagnostics.A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list);return fe(!1),gt(q.createNewExpression(o,n,i),t)}();case 43:case 67:if(13===(C=s.reScanSlashToken()))return ar();break;case 15:return er(!1)}return!Pe()||!(null!==(o=null===(a=c.ets)||void 0===a?void 0:a.components)&&void 0!==o?o:[]).includes(s.getTokenText())||Ae()&&Se(256)?bt(e.Diagnostics.Expression_expected):(t=qe(),r=vt(),n=$n(),i=18===Ve()?oi(0):void 0,gt(q.createEtsComponentExpression(r,n,i),t));var t,r,n,i,a,o}function Qn(){return 25===Ve()?function(){var e=qe();at(25);var t=yn();return gt(q.createSpreadElement(t),e)}():27===Ve()?gt(q.createOmittedExpression(),qe()):yn()}function Zn(){return ve(l,Qn)}function ei(){var e=qe();at(22);var t=s.hasPrecedingLineBreak(),r=Wt(15,Qn);return at(23),gt(q.createArrayLiteralExpression(r,t),e)}function ti(){var e=qe(),t=Je();if(ct(25)){var r=yn();return X(gt(q.createSpreadAssignment(r),e),t)}var n=Hi(),i=Wi();if(wt(135))return Ui(e,t,n,i,168);if(wt(147))return Ui(e,t,n,i,169);var a,o=ct(41),s=it(),c=St(),l=ct(57),u=ct(53);if(o||20===Ve()||29===Ve())return ji(e,t,n,i,o,c,l,u);if(s&&58!==Ve()){var d=ct(62),p=d?ke(yn):void 0;(a=q.createShorthandPropertyAssignment(c,p)).equalsToken=d}else{at(58);var f=ke(yn);a=q.createPropertyAssignment(c,f)}return a.decorators=n,a.modifiers=i,a.questionToken=l,a.exclamationToken=u,X(gt(a,e),t)}function ri(){var t=qe(),r=s.getTokenPos();at(18);var n=s.hasPrecedingLineBreak(),i=Wt(12,ti,!0);if(!at(19)){var a=e.lastOrUndefined(S);a&&a.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(a,e.createDetachedDiagnostic(p,r,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}return gt(q.createObjectLiteralExpression(i,n),t)}function ni(){var t=Te();t&&le(!1);var r=qe(),n=Je(),i=Wi();at(98);var a=ct(41),o=a?1:0,s=e.some(i,e.isAsyncModifier)?2:0,c=o&&s?be(40960,ii):o?function(e){return be(8192,e)}(ii):s?xe(ii):ii(),l=_r(),u=Dr(o|s),d=Er(58,!1),p=oi(o|s);return t&&le(!0),X(gt(q.createFunctionExpression(i,a,c,l,u,d,p),r),n)}function ii(){return nt()?vt():void 0}function ai(t,r){var n=qe(),i=s.getTokenPos();if(at(18,r)||t){var a=s.hasPrecedingLineBreak(),o=qt(1,bi);if(!at(19)){var c=e.lastOrUndefined(S);c&&c.code===e.Diagnostics._0_expected.code&&e.addRelatedInfo(c,e.createDetachedDiagnostic(p,i,1,e.Diagnostics.The_parser_expected_to_find_a_to_match_the_token_here))}return gt(q.createBlock(o,a),n)}o=$t();return gt(q.createBlock(o,void 0),n)}function oi(e,t){var r=De();ce(!!(1&e));var n=Ce();ue(!!(2&e));var i=J;J=!1;var a=Te();a&&le(!1);var o=ai(!!(16&e),t);return a&&le(!0),J=i,ce(r),ue(n),o}function si(){var e=qe();at(97);var t,r,n=ct(131);if(at(20),26!==Ve()&&(t=113===Ve()||119===Ve()||85===Ve()?Fi(!0):be(4096,_n)),n?at(157):st(157)){var i=ke(yn);at(21),r=q.createForOfStatement(n,t,i,bi())}else if(st(101)){i=ke(_n);at(21),r=q.createForInStatement(t,i,bi())}else{at(26);var a=26!==Ve()&&21!==Ve()?ke(_n):void 0;at(26);var o=21!==Ve()?ke(_n):void 0;at(21),r=q.createForStatement(t,a,o,bi())}return gt(r,e)}function ci(e){var t=qe();at(243===e?80:86);var r=pt()?void 0:bt();return ft(),gt(243===e?q.createBreakStatement(r):q.createContinueStatement(r),t)}function li(){return 81===Ve()?function(){var e=qe();at(81);var t=ke(_n);at(58);var r=qt(3,bi);return gt(q.createCaseClause(t,r),e)}():function(){var e=qe();at(88),at(58);var t=qt(3,bi);return gt(q.createDefaultClause(t),e)}()}function ui(){var e=qe();at(107),at(20);var t=ke(_n);at(21);var r=function(){var e=qe();at(18);var t=qt(2,li);return at(19),gt(q.createCaseBlock(t),e)}();return gt(q.createSwitchStatement(t,r),e)}function di(){var e=qe();at(111);var t,r=ai(!1),n=82===Ve()?function(){var e,t=qe();at(82),st(20)?(e=Ii(),at(21)):e=void 0;var r=ai(!1);return gt(q.createCatchClause(e,r),t)}():void 0;return n&&96!==Ve()||(at(96),t=ai(!1)),gt(q.createTryStatement(r,n,t),e)}function pi(){return We(),e.tokenIsIdentifierOrKeyword(Ve())&&!s.hasPrecedingLineBreak()}function fi(){return We(),83===Ve()&&!s.hasPrecedingLineBreak()}function mi(){return We(),98===Ve()&&!s.hasPrecedingLineBreak()}function gi(){return We(),(e.tokenIsIdentifierOrKeyword(Ve())||8===Ve()||9===Ve()||10===Ve())&&!s.hasPrecedingLineBreak()}function _i(){for(;;)switch(Ve()){case 113:case 119:case 85:case 98:case 83:case 92:return!0;case 84:return Ae();case 118:case 150:return We(),!s.hasPrecedingLineBreak()&&it();case 140:case 141:return Di();case 126:case 130:case 134:case 121:case 122:case 123:case 143:if(We(),s.hasPrecedingLineBreak())return!1;continue;case 155:return We(),18===Ve()||78===Ve()||93===Ve();case 100:return We(),10===Ve()||41===Ve()||18===Ve()||e.tokenIsIdentifierOrKeyword(Ve());case 93:var t=We();if(150===t&&(t=tt(We)),62===t||41===t||18===t||88===t||127===t)return!0;continue;case 124:We();continue;default:return!1}}function hi(){return tt(_i)}function yi(){switch(Ve()){case 59:case 26:case 18:case 113:case 119:case 98:case 83:case 92:case 99:case 90:case 115:case 97:case 86:case 80:case 105:case 116:case 107:case 109:case 111:case 87:case 82:case 96:case 130:case 134:case 118:case 140:case 141:case 150:case 155:return!0;case 84:return Ae();case 100:return hi()||tt(Rr);case 85:case 93:return hi();case 123:case 121:case 122:case 124:case 143:return hi()||!tt(pi);default:return gn()}}function vi(){return We(),it()||18===Ve()||22===Ve()}function bi(){switch(Ve()){case 26:return t=qe(),at(26),gt(q.createEmptyStatement(),t);case 18:return ai(!1);case 113:return Ri(qe(),Je(),void 0,void 0);case 119:if(tt(vi))return Ri(qe(),Je(),void 0,void 0);break;case 98:return Mi(qe(),Je(),void 0,void 0);case 84:if(Ae())return Xi(qe(),Je(),void 0,void 0);break;case 83:return Yi(qe(),Je(),void 0,void 0);case 99:return function(){var e=qe();at(99),at(20);var t=ke(_n);at(21);var r=bi(),n=st(91)?bi():void 0;return gt(q.createIfStatement(t,r,n),e)}();case 90:return function(){var e=qe();at(90);var t=bi();at(115),at(20);var r=ke(_n);return at(21),st(26),gt(q.createDoStatement(t,r),e)}();case 115:return function(){var e=qe();at(115),at(20);var t=ke(_n);at(21);var r=bi();return gt(q.createWhileStatement(t,r),e)}();case 97:return si();case 86:return ci(242);case 80:return ci(243);case 105:return function(){var e=qe();at(105);var t=pt()?void 0:ke(_n);return ft(),gt(q.createReturnStatement(t),e)}();case 116:return function(){var e=qe();at(116),at(20);var t=ke(_n);at(21);var r=be(16777216,bi);return gt(q.createWithStatement(t,r),e)}();case 107:return ui();case 109:return function(){var e=qe();at(109);var t=s.hasPrecedingLineBreak()?void 0:ke(_n);return void 0===t&&(I++,t=gt(q.createIdentifier(""),qe())),ft(),gt(q.createThrowStatement(t),e)}();case 111:case 82:case 96:return di();case 87:return function(){var e=qe();return at(87),ft(),gt(q.createDebuggerStatement(),e)}();case 59:return xi();case 130:case 118:case 150:case 140:case 141:case 134:case 85:case 92:case 93:case 100:case 121:case 122:case 123:case 126:case 124:case 143:case 155:if(hi())return xi()}var t;return function(){var t,r=qe(),n=Je(),i=20===Ve(),a=ke(_n);return e.isIdentifier(a)&&st(58)?t=q.createLabeledStatement(a,bi()):(ft(),t=q.createExpressionStatement(a),i&&(n=!1)),X(gt(t,r),n)}()}function ki(e){return 134===e.kind}function xi(){var t,r,n=e.some(tt((function(){return Hi(),Wi()})),ki);if(n){var i=be(8388608,(function(){var e=Vt(F);if(e)return Ht(e)}));if(i)return i}var a=qe(),o=Je(),s=Hi();if(98===Ve()||93===Ve())if(e.hasEtsExtendDecoratorNames(s,c)){var l=e.getEtsExtendDecoratorComponentNames(s,c);l.length>0&&(null===(t=c.ets)||void 0===t||t.extend.components.forEach((function(t){var r=t.name,n=t.type,i=t.instance;r===e.last(l)&&(L={name:r,type:n,instance:i})}))),me(!!L)}else if(e.hasEtsStylesDecoratorNames(s,c)){e.getEtsStylesDecoratorComponentNames(s,c).length>0&&(j=null===(r=c.ets)||void 0===r?void 0:r.styles.component),ge(!!j)}else pe(e.isTokenInsideBuilder(s,c));var u=Wi();if(n){for(var d=0,p=u;d<p.length;d++){p[d].flags|=8388608}return be(8388608,(function(){return Ei(a,o,s,u)}))}return Ei(a,o,s,u)}function Ei(e,t,r,n){switch(Ve()){case 113:case 119:case 85:return Ri(e,t,r,n);case 98:return Mi(e,t,r,n);case 83:return Yi(e,t,r,n);case 84:return Ae()?Xi(e,t,r,n):Si(e,r,n);case 118:return function(e,t,r,n){at(118);var i=bt(),a=_r(),o=ea(),s=Mr(),c=q.createInterfaceDeclaration(r,n,i,a,o,s);return X(gt(c,e),t)}(e,t,r,n);case 150:return function(e,t,r,n){at(150);var i=bt(),a=_r();at(62);var o=137===Ve()&&rt(Vr)||ln();ft();var s=q.createTypeAliasDeclaration(r,n,i,a,o);return X(gt(s,e),t)}(e,t,r,n);case 92:return function(e,t,r,n){at(92);var i,a=bt();at(18)?(i=ve(40960,(function(){return Wt(6,oa)})),at(19)):i=$t();var o=q.createEnumDeclaration(r,n,a,i);return X(gt(o,e),t)}(e,t,r,n);case 155:case 140:case 141:return function(e,t,r,n){var i=0;if(155===Ve())return la(e,t,r,n);if(st(141))i|=16;else if(at(140),10===Ve())return la(e,t,r,n);return ca(e,t,r,n,i)}(e,t,r,n);case 100:return function(e,t,r,n){at(100);var i,a=s.getStartPos();it()&&(i=bt());var o,c=!1;154===Ve()||"type"!==(null==i?void 0:i.escapedText)||!it()&&41!==Ve()&&18!==Ve()||(c=!0,i=it()?bt():void 0);if(i&&27!==Ve()&&154!==Ve())return function(e,t,r,n,i,a){at(62);var o=144===Ve()&&tt(ua)?function(){var e=qe();at(144),at(20);var t=pa();return at(21),gt(q.createExternalModuleReference(t),e)}():Xt(!1);ft();var s=q.createImportEqualsDeclaration(r,n,a,i,o),c=X(gt(s,e),t);return c}(e,t,r,n,i,c);(i||41===Ve()||18===Ve())&&(o=function(e,t,r){var n;e&&!st(27)||(n=41===Ve()?function(){var e=qe();at(41),at(127);var t=bt();return gt(q.createNamespaceImport(t),e)}():fa(267));return gt(q.createImportClause(r,e,n),t)}(i,a,c),at(154));var l=pa();ft();var u=q.createImportDeclaration(r,n,o,l);return X(gt(u,e),t)}(e,t,r,n);case 93:switch(We(),Ve()){case 88:case 62:return function(e,t,r,n){var i,a=Ce();ue(!0),st(62)?i=!0:at(88);var o=yn();ft(),ue(a);var s=q.createExportAssignment(r,n,i,o);return X(gt(s,e),t)}(e,t,r,n);case 127:return function(e,t,r,n){at(127),at(141);var i=bt();ft();var a=q.createNamespaceExportDeclaration(i);return a.decorators=r,a.modifiers=n,X(gt(a,e),t)}(e,t,r,n);default:return function(e,t,r,n){var i,a,o=Ce();ue(!0);var c=st(150),l=qe();st(41)?(st(127)&&(i=function(e){return gt(q.createNamespaceExport(kt()),e)}(l)),at(154),a=pa()):(i=fa(271),(154===Ve()||10===Ve()&&!s.hasPrecedingLineBreak())&&(at(154),a=pa()));ft(),ue(o);var u=q.createExportDeclaration(r,n,c,i,a);return X(gt(u,e),t)}(e,t,r,n)}default:return Si(e,r,n)}}function Si(t,r,n){if(r||n){var i=_t(274,!0,e.Diagnostics.Declaration_expected);return e.setTextRangePos(i,t),i.decorators=r,i.modifiers=n,i}}function Di(){return We(),!s.hasPrecedingLineBreak()&&(it()||10===Ve())}function wi(e,t){if(18===Ve()||!pt())return oi(e,t);ft()}function Ti(){var e=qe();if(27===Ve())return gt(q.createOmittedExpression(),e);var t=ct(25),r=Ni(),n=hn();return gt(q.createBindingElement(t,void 0,r,n),e)}function Ci(){var e,t=qe(),r=ct(25),n=nt(),i=St();n&&58!==Ve()?(e=i,i=void 0):(at(58),e=Ni());var a=hn();return gt(q.createBindingElement(r,i,e,a),t)}function Ai(){return 18===Ve()||22===Ve()||79===Ve()||nt()}function Ni(e){return 22===Ve()?function(){var e=qe();at(22);var t=Wt(10,Ti);return at(23),gt(q.createArrayBindingPattern(t),e)}():18===Ve()?function(){var e=qe();at(18);var t=Wt(9,Ci);return at(19),gt(q.createObjectBindingPattern(t),e)}():vt(e)}function Pi(){return Ii(!0)}function Ii(t){var r,n=qe(),i=Ni(e.Diagnostics.Private_identifiers_are_not_allowed_in_variable_declarations);t&&78===i.kind&&53===Ve()&&!s.hasPrecedingLineBreak()&&(r=dt());var a=fn(),o=wn(Ve())?void 0:hn();return gt(q.createVariableDeclaration(i,r,a,o),n)}function Fi(t){var r,n=qe(),i=0;switch(Ve()){case 113:break;case 119:i|=1;break;case 85:i|=2;break;default:e.Debug.fail()}if(We(),157===Ve()&&tt(Oi))r=$t();else{var a=we();se(t),r=Wt(8,t?Ii:Pi),se(a)}return gt(q.createVariableDeclarationList(r,i),n)}function Oi(){return Rt()&&21===We()}function Ri(e,t,r,n){var i=Fi(!1);ft();var a=q.createVariableStatement(n,i);return a.decorators=r,X(gt(a,e),t)}function Mi(t,r,n,i){var a=Ce(),o=e.modifiersToFlags(i);at(98);var l=ct(41),u=512&o?ii():vt();u&&e.hasEtsStylesDecoratorNames(n,c)&&H.set(u.escapedText.toString(),253),he(e.hasEtsBuilderDecoratorNames(n,c));var d=l?1:0,p=256&o?2:0,f=Fe()&&j?hr(s.getStartPos()):_r();1&o&&ue(!0);var m=Dr(d|p),g=s.getStartPos(),_=function(){var e=Er(58,!1);!e&&L&&Ie()&&(e=aa(q.createTypeReferenceNode(aa(q.createIdentifier(L.type),g,g)),g,g));!e&&j&&Fe()&&(e=aa(q.createTypeReferenceNode(aa(q.createIdentifier(j.type),g,g)),g,g));return e}(),h=wi(d|p,e.Diagnostics.or_expected);return he(!1),me(!1),L=void 0,ge(!1),j=void 0,pe(Oe()),ue(a),X(gt(q.createFunctionDeclaration(n,i,l,u,f,m,_,h),t),r)}function Li(t,r,n,i){return rt((function(){if(133===Ve()?at(133):10===Ve()&&20===tt(We)?rt((function(){var e=ar();return"constructor"===e.text?e:void 0})):void 0){var a=_r(),o=Dr(0),s=Er(58,!1),c=wi(0,e.Diagnostics.or_expected),l=q.createConstructorDeclaration(n,i,o,c);return l.typeParameters=a,l.type=s,X(gt(l,t),r)}}))}function ji(t,r,n,i,a,o,l,u,d){var p,f,m,g,_,h=null===(p=e.getPropertyNameForPropertyNameNode(o))||void 0===p?void 0:p.toString();(_e(h===(null===(g=null===(m=null===(f=null==c?void 0:c.ets)||void 0===f?void 0:f.render)||void 0===m?void 0:m.method)||void 0===g?void 0:g.find((function(e){return"build"===e})))),he(e.hasEtsBuilderDecoratorNames(n,c)),Ne()&&e.hasEtsStylesDecoratorNames(n,c))&&(h&&B&&K.set(h,{structName:B,kind:166}),e.getEtsStylesDecoratorComponentNames(n,c).length>0&&(j=null===(_=c.ets)||void 0===_?void 0:_.styles.component),ge(!!j));pe(Ne()&&(function(e){var t,r,n,i,a=null!==(i=null===(n=null===(r=null===(t=c.ets)||void 0===t?void 0:t.render)||void 0===r?void 0:r.method)||void 0===n?void 0:n.find((function(e){return"build"===e})))&&void 0!==i?i:"build";return 78===e.kind&&e.escapedText===a}(o)||function(t){return e.isTokenInsideBuilder(t,c)}(n)||function(e){var t,r,n,i,a=null!==(i=null===(n=null===(r=null===(t=c.ets)||void 0===t?void 0:t.render)||void 0===r?void 0:r.method)||void 0===n?void 0:n.find((function(e){return"pageTransition"===e})))&&void 0!==i?i:"pageTransition";return 78===e.kind&&e.escapedText===a}(o)));var y=a?1:0,v=e.some(i,e.isAsyncModifier)?2:0,b=Fe()&&j?hr(t):_r(),k=Dr(y|v),x=s.getStartPos(),E=function(){var e=Er(58,!1);!e&&j&&Fe()&&(e=aa(q.createTypeReferenceNode(aa(q.createIdentifier(j.type),x,x)),x,x));return e}(),S=wi(y|v,d),D=q.createMethodDeclaration(n,i,a,o,l,b,k,E,S);return D.exclamationToken=u,_e(!1),he(!1),ge(!1),j=void 0,pe(!1),X(gt(D,t),r)}function Bi(e,t,r,n,i,a){var o=a||s.hasPrecedingLineBreak()?void 0:ct(53),c=fn(),l=ve(45056,hn);return ft(),X(gt(q.createPropertyDeclaration(r,n,i,a||o,c,l),e),t)}function zi(t,r,n,i){var a=ct(41),o=St(),s=ct(57);return a||20===Ve()||29===Ve()?ji(t,r,n,i,a,o,s,void 0,e.Diagnostics.or_expected):Bi(t,r,n,i,o,s)}function Ui(e,t,r,n,i){var a=St(),o=_r(),s=Dr(0),c=Er(58,!1),l=wi(0),u=168===i?q.createGetAccessorDeclaration(r,n,a,s,c,l):q.createSetAccessorDeclaration(r,n,a,s,l);return u.typeParameters=o,c&&169===u.kind&&(u.type=c),X(gt(u,e),t)}function qi(){var t;if(59===Ve())return!0;for(;e.isModifierKind(Ve());){if(t=Ve(),e.isClassMemberModifier(t))return!0;We()}if(41===Ve())return!0;if(xt()&&(t=Ve(),We()),22===Ve())return!0;if(void 0!==t){if(!e.isKeyword(t)||147===t||135===t)return!0;switch(Ve()){case 20:case 29:case 53:case 58:case 62:case 57:return!0;default:return pt()}}return!1}function Ji(){if(Ce()&&131===Ve()){var t=qe(),r=bt(e.Diagnostics.Expression_expected);return We(),Gn(t,Hn(t,r,!0))}return Fn()}function Vi(){var e=qe();if(st(59)){var t=function(e){var t,r,n,i,a,o,l=null!==(n=null===(r=null===(t=c.ets)||void 0===t?void 0:t.extend)||void 0===r?void 0:r.decorator)&&void 0!==n?n:"Extend";78===Ve()&&s.getTokenText()===l&&oe(!0,4);var u=null!==(o=null===(a=null===(i=c.ets)||void 0===i?void 0:i.styles)||void 0===a?void 0:a.decorator)&&void 0!==o?o:"Styles";return 78===Ve()&&s.getTokenText()===u&&oe(!0,8),be(16384,e)}(Ji);return gt(q.createDecorator(t),e)}}function Hi(){for(var t,r,n=qe();r=Vi();)t=e.append(t,r);return t&&mt(t,n)}function Ki(t){var r=qe(),n=Ve();if(85===Ve()&&t){if(!rt(Tt))return}else if(!e.isModifierKind(Ve())||!rt(Ct))return;return gt(q.createToken(n),r)}function Wi(t){for(var r,n,i=qe();n=Ki(t);)r=e.append(r,n);return r&&mt(r,i)}function Gi(){var e;if(130===Ve()){var t=qe();We(),e=mt([gt(q.createToken(130),t)],t)}return e}function $i(){var t=qe();if(26===Ve())return We(),gt(q.createSemicolonClassElement(),t);var r=Je(),n=Hi(),i=Wi(!0);if(wt(135))return Ui(t,r,n,i,168);if(wt(147))return Ui(t,r,n,i,169);if(133===Ve()||10===Ve()){var a=Li(t,r,n,i);if(a)return a}if(Cr())return Nr(t,r,n,i);if(e.tokenIsIdentifierOrKeyword(Ve())||10===Ve()||8===Ve()||41===Ve()||22===Ve()){if(e.some(i,ki)){for(var o=0,s=i;o<s.length;o++){s[o].flags|=8388608}return be(8388608,(function(){return zi(t,r,n,i)}))}return zi(t,r,n,i)}if(n||i){var c=_t(78,!0,e.Diagnostics.Declaration_expected);return Bi(t,r,n,i,c,void 0)}return e.Debug.fail("Should not have attempted to parse class member declaration.")}function Yi(e,t,r,n){return Qi(e,t,r,n,254)}function Xi(t,r,n,i){return function(t,r,n,i){var a,o=Ce();at(84),de(!0);var s=Zi();B=null==s?void 0:s.escapedText.toString();var l=_r();e.some(i,e.isExportModifier)&&ue(!0);var u,d=ea(),p=null===(a=c.ets)||void 0===a?void 0:a.customComponent;!d&&p&&(d=function(e){var t=qe(),r=q.createHeritageClause(94,mt([gt(q.createExpressionWithTypeArguments(gt(q.createIdentifier(e),t,void 0,!0),void 0),t)],t,void 0,!1));return mt([gt(r,t,void 0,!0)],t,void 0,!1)}(p));at(18)?(u=function(e){var t=qt(5,$i),r=[],n=[];t.forEach((function(e){if(r.push(e),164===e.kind){var t=e;n.push(aa(q.createPropertySignature(t.modifiers,t.name,q.createToken(57),t.type)))}}));var i=[];if(n.length){var a=aa(q.createTypeLiteralNode(mt(n,0,0)));i.push(aa(q.createParameterDeclaration(void 0,void 0,void 0,aa(q.createIdentifier("value")),q.createToken(57),a)))}var o=aa(q.createBlock(mt([],0,0))),s=q.createConstructorDeclaration(void 0,void 0,mt(i,0,0),o);return r.unshift(aa(s,e,e)),mt(r,t.pos)}(t),at(19)):u=$t();ue(o);var f=q.createStructDeclaration(n,i,s,l,d,u);return B=void 0,K.clear(),de(!1),X(gt(f,t),r)}(t,r,n,i)}function Qi(t,r,n,i,a){var o=Ce();at(83);var s=Zi(),c=_r();e.some(i,e.isExportModifier)&&ue(!0);var l,u=ea();return at(18)?(l=qt(5,$i),at(19)):l=$t(),ue(o),X(gt(254===a?q.createClassDeclaration(n,i,s,c,u,l):q.createClassExpression(n,i,s,c,u,l),t),r)}function Zi(){return!nt()||117===Ve()&&tt(Mt)?void 0:yt(nt())}function ea(){if(ia())return qt(22,ta)}function ta(){var t=qe(),r=Ve();e.Debug.assert(94===r||117===r),We();var n=Wt(7,ra);return gt(q.createHeritageClause(r,n),t)}function ra(){var e=qe(),t=Fn(),r=na();return gt(q.createExpressionWithTypeArguments(t,r),e)}function na(){return 29===Ve()?Yt(20,ln,29,31):void 0}function ia(){return 94===Ve()||117===Ve()}function aa(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=0),gt(e,t,r,!0)}function oa(){var e=qe(),t=Je(),r=St(),n=ke(hn);return X(gt(q.createEnumMember(r,n),e),t)}function sa(){var e,t=qe();return at(18)?(e=qt(1,bi),at(19)):e=$t(),gt(q.createModuleBlock(e),t)}function ca(e,t,r,n,i){var a=16&i,o=bt(),s=st(24)?ca(qe(),!1,void 0,void 0,4|a):sa();return X(gt(q.createModuleDeclaration(r,n,o,s,i),e),t)}function la(e,t,r,n){var i,a,o=0;return 155===Ve()?(i=bt(),o|=1024):(i=ar()).text=ht(i.text),18===Ve()?a=sa():ft(),X(gt(q.createModuleDeclaration(r,n,i,a,o),e),t)}function ua(){return 20===We()}function da(){return 43===We()}function pa(){if(10===Ve()){var e=ar();return e.text=ht(e.text),e}return _n()}function fa(e){var t=qe();return gt(267===e?q.createNamedImports(Yt(23,ga,18,19)):q.createNamedExports(Yt(23,ma,18,19)),t)}function ma(){return _a(273)}function ga(){return _a(268)}function _a(t){var r,n,i=qe(),a=e.isKeyword(Ve())&&!it(),o=s.getTokenPos(),c=s.getTextPos(),l=kt();return 127===Ve()?(r=l,at(127),a=e.isKeyword(Ve())&&!it(),o=s.getTokenPos(),c=s.getTextPos(),n=kt()):n=l,268===t&&a&&Be(o,c,e.Diagnostics.Identifier_expected),gt(268===t?q.createImportSpecifier(r,n):q.createExportSpecifier(r,n),i)}function ha(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 ya(t){return function(t){return e.isMetaProperty(t)&&100===t.keywordToken&&"meta"===t.name.escapedText}(t)?t:m(t,ya)}t.fixupParentReferences=ne,function(e){e[e.SourceElements=0]="SourceElements",e[e.BlockStatements=1]="BlockStatements",e[e.SwitchClauses=2]="SwitchClauses",e[e.SwitchClauseStatements=3]="SwitchClauseStatements",e[e.TypeMembers=4]="TypeMembers",e[e.ClassMembers=5]="ClassMembers",e[e.EnumMembers=6]="EnumMembers",e[e.HeritageClauseElement=7]="HeritageClauseElement",e[e.VariableDeclarations=8]="VariableDeclarations",e[e.ObjectBindingElements=9]="ObjectBindingElements",e[e.ArrayBindingElements=10]="ArrayBindingElements",e[e.ArgumentExpressions=11]="ArgumentExpressions",e[e.ObjectLiteralMembers=12]="ObjectLiteralMembers",e[e.JsxAttributes=13]="JsxAttributes",e[e.JsxChildren=14]="JsxChildren",e[e.ArrayLiteralMembers=15]="ArrayLiteralMembers",e[e.Parameters=16]="Parameters",e[e.JSDocParameters=17]="JSDocParameters",e[e.RestProperties=18]="RestProperties",e[e.TypeParameters=19]="TypeParameters",e[e.TypeArguments=20]="TypeArguments",e[e.TupleElementTypes=21]="TupleElementTypes",e[e.HeritageClauses=22]="HeritageClauses",e[e.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",e[e.Count=24]="Count"}(Q||(Q={})),function(e){e[e.False=0]="False",e[e.True=1]="True",e[e.Unknown=2]="Unknown"}(Z||(Z={})),function(t){function r(e){var t=qe(),r=(e?st:at)(18),n=be(4194304,mr);e&&!r||ot(19);var i=q.createJSDocTypeExpression(n);return ne(i),gt(i,t)}function n(){var e=qe(),t=st(18),r=Xt(!1);t&&ot(19);var n=q.createJSDocNameReference(r);return ne(n),gt(n,e)}var i,a;function o(t,i){void 0===t&&(t=0);var a=b,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),f(a,t)){var c,l,u,d=[];return s.scanRange(t+3,i-5,(function(){var e,r,n,i=1,p=t-(a.lastIndexOf("\n",t)+1)+4;function f(t){e||(e=p),d.push(t),p+=t.length}for(Ge();B(5););B(4)&&(i=0,p=0);e:for(;;){switch(Ve()){case 59:0===i||1===i?(g(d),E(v(p)),i=0,e=void 0):f(s.getTokenText());break;case 4:d.push(s.getTokenText()),i=0,p=0;break;case 41:var _=s.getTokenText();1===i||2===i?(i=2,f(_)):(i=1,p+=_.length);break;case 5:var h=s.getTokenText();2===i?d.push(h):void 0!==e&&p+h.length>e&&d.push(h.slice(e-p)),p+=h.length;break;case 1:break e;default:i=2,f(s.getTokenText())}Ge()}return m(d),g(d),r=d.length?d.join(""):void 0,n=c&&mt(c,l,u),gt(q.createJSDocComment(r,n),t,o)}))}function m(e){for(;e.length&&("\n"===e[0]||"\r"===e[0]);)e.shift()}function g(e){for(;e.length&&""===e[e.length-1].trim();)e.pop()}function _(){for(;;){if(Ge(),1===Ve())return!0;if(5!==Ve()&&4!==Ve())return!1}}function h(){if(5!==Ve()&&4!==Ve()||!tt(_))for(;5===Ve()||4===Ve();)Ge()}function y(){if((5===Ve()||4===Ve())&&tt(_))return"";for(var e=s.hasPrecedingLineBreak(),t=!1,r="";e&&41===Ve()||5===Ve()||4===Ve();)r+=s.getTokenText(),4===Ve()?(e=!0,t=!0,r=""):41===Ve()&&(e=!1),Ge();return t?r:""}function v(t){e.Debug.assert(59===Ve());var i=s.getTokenPos();Ge();var a,l=z(void 0),u=y();switch(l.escapedText){case"author":a=function(e,t,r,n){var i=function(){var e=[],t=!1,r=s.getToken();for(;1!==r&&4!==r;){if(29===r)t=!0;else{if(59===r&&!t)break;if(31===r&&t){e.push(s.getTokenText()),s.setTextPos(s.getTokenPos()+1);break}}e.push(s.getTokenText()),r=Ge()}return e.join("")}()+(k(e,o,r,n)||"");return gt(q.createJSDocAuthorTag(t,i||void 0),e)}(i,l,t,u);break;case"implements":a=function(e,t,r,n){var i=N(),a=qe();return gt(q.createJSDocImplementsTag(t,i,k(e,a,r,n)),e,a)}(i,l,t,u);break;case"augments":case"extends":a=function(e,t,r,n){var i=N(),a=qe();return gt(q.createJSDocAugmentsTag(t,i,k(e,a,r,n)),e,a)}(i,l,t,u);break;case"class":case"constructor":a=P(i,q.createJSDocClassTag,l,t,u);break;case"public":a=P(i,q.createJSDocPublicTag,l,t,u);break;case"private":a=P(i,q.createJSDocPrivateTag,l,t,u);break;case"protected":a=P(i,q.createJSDocProtectedTag,l,t,u);break;case"readonly":a=P(i,q.createJSDocReadonlyTag,l,t,u);break;case"deprecated":te=!0,a=P(i,q.createJSDocDeprecatedTag,l,t,u);break;case"this":a=function(e,t,n,i){var a=r(!0);h();var o=qe();return gt(q.createJSDocThisTag(t,a,k(e,o,n,i)),e,o)}(i,l,t,u);break;case"enum":a=function(e,t,n,i){var a=r(!0);h();var o=qe();return gt(q.createJSDocEnumTag(t,a,k(e,o,n,i)),e,o)}(i,l,t,u);break;case"arg":case"argument":case"param":return C(i,l,2,t);case"return":case"returns":a=function(t,r,n,i){e.some(c,e.isJSDocReturnTag)&&Be(r.pos,s.getTokenPos(),e.Diagnostics._0_tag_already_specified,r.escapedText);var a=D(),o=qe();return gt(q.createJSDocReturnTag(r,a,k(t,o,n,i)),t,o)}(i,l,t,u);break;case"template":a=function(e,t,n,i){var a=18===Ve()?r():void 0,o=function(){var e=qe(),t=[];do{h(),t.push(j()),y()}while(B(27));return mt(t,e)}(),s=qe();return gt(q.createJSDocTemplateTag(t,a,o,k(e,s,n,i)),e,s)}(i,l,t,u);break;case"type":a=A(i,l,t,u);break;case"typedef":a=function(t,r,n,i){var a,o=D();y();var s=F();h();var c,l=x(n);if(!o||T(o.type)){for(var u=void 0,d=void 0,f=void 0,m=!1;u=rt((function(){return R(n)}));)if(m=!0,332===u.kind){if(d){Le(e.Diagnostics.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);var g=e.lastOrUndefined(S);g&&e.addRelatedInfo(g,e.createDetachedDiagnostic(p,0,0,e.Diagnostics.The_tag_was_first_specified_here));break}d=u}else f=e.append(f,u);if(m){var _=o&&179===o.type.kind,v=q.createJSDocTypeLiteral(f,_);c=(o=d&&d.typeExpression&&!T(d.typeExpression.type)?d.typeExpression:gt(v,t)).end}}c=c||void 0!==l?qe():(null!==(a=null!=s?s:o)&&void 0!==a?a:r).end,l||(l=k(t,c,n,i));var b=q.createJSDocTypedefTag(r,o,s,l);return gt(b,t,c)}(i,l,t,u);break;case"callback":a=function(t,r,n,i){var a=F();h();var o=x(n),s=function(t){var r,n,i=qe();for(;r=rt((function(){return M(4,t)}));)n=e.append(n,r);return mt(n||[],i)}(n),c=rt((function(){if(B(59)){var e=v(n);if(e&&330===e.kind)return e}})),l=gt(q.createJSDocSignature(void 0,s,c),t),u=qe();o||(o=k(t,u,n,i));return gt(q.createJSDocCallbackTag(r,l,a,o),t,u)}(i,l,t,u);break;case"see":a=function(e,t,r,i){var a=n(),o=qe(),s=void 0!==r&&void 0!==i?k(e,o,r,i):void 0;return gt(q.createJSDocSeeTag(t,a,s),e,o)}(i,l,t,u);break;default:a=function(e,t,r,n){var i=qe();return gt(q.createJSDocUnknownTag(t,k(e,i,r,n)),e,i)}(i,l,t,u)}return a}function k(e,t,r,n){return n||(r+=t-e),x(r,n.slice(r))}function x(t,r){var n,i=[],a=0,o=!0;function c(e){n||(n=t),i.push(e),t+=e.length}void 0!==r&&(""!==r&&c(r),a=1);var l=Ve();e:for(;;){switch(l){case 4:a=0,i.push(s.getTokenText()),t=0;break;case 59:if(3===a||!o&&2===a){i.push(s.getTokenText());break}s.setTextPos(s.getTextPos()-1);case 1:break e;case 5:if(2===a||3===a)c(s.getTokenText());else{var u=s.getTokenText();void 0!==n&&t+u.length>n&&i.push(u.slice(n-t)),t+=u.length}break;case 18:a=2,tt((function(){return 59===Ge()&&e.tokenIsIdentifierOrKeyword(Ge())&&"link"===s.getTokenText()}))&&(c(s.getTokenText()),Ge(),c(s.getTokenText()),Ge()),c(s.getTokenText());break;case 61:a=3===a?2:3,c(s.getTokenText());break;case 41:if(0===a){a=1,t+=1;break}default:3!==a&&(a=2),c(s.getTokenText())}o=5===Ve(),l=Ge()}return m(i),g(i),0===i.length?void 0:i.join("")}function E(e){e&&(c?c.push(e):(c=[e],l=e.pos),u=e.end)}function D(){return y(),18===Ve()?r():void 0}function w(){var t=B(22);t&&h();var r,n=B(61),i=function(){var e=z();st(22)&&at(23);for(;st(24);){var t=z();st(22)&&at(23),e=Qt(e,t)}return e}();return n&&(lt(r=61)||_t(r,!1,e.Diagnostics._0_expected,e.tokenToString(r))),t&&(h(),ct(62)&&_n(),at(23)),{name:i,isBracketed:t}}function T(t){switch(t.kind){case 146:return!0;case 179:return T(t.elementType);default:return e.isTypeReferenceNode(t)&&e.isIdentifier(t.typeName)&&"Object"===t.typeName.escapedText&&!t.typeArguments}}function C(t,r,n,i){var a=D(),o=!a;y();var s=w(),c=s.name,l=s.isBracketed,u=y();o&&(a=D());var d=k(t,qe(),i,u),p=4!==n&&function(t,r,n,i){if(t&&T(t.type)){for(var a=qe(),o=void 0,s=void 0;o=rt((function(){return M(n,i,r)}));)329!==o.kind&&336!==o.kind||(s=e.append(s,o));if(s){var c=gt(q.createJSDocTypeLiteral(s,179===t.type.kind),a);return gt(q.createJSDocTypeExpression(c),a)}}}(a,c,n,i);return p&&(a=p,o=!0),gt(1===n?q.createJSDocPropertyTag(r,c,l,a,o,d):q.createJSDocParameterTag(r,c,l,a,o,d),t)}function A(t,n,i,a){e.some(c,e.isJSDocTypeTag)&&Be(n.pos,s.getTokenPos(),e.Diagnostics._0_tag_already_specified,n.escapedText);var o=r(!0),l=qe(),u=void 0!==i&&void 0!==a?k(t,l,i,a):void 0;return gt(q.createJSDocTypeTag(n,o,u),t,l)}function N(){var e=st(18),t=qe(),r=function(){var e=qe(),t=z();for(;st(24);){var r=z();t=gt(q.createPropertyAccessExpression(t,r),e)}return t}(),n=na(),i=gt(q.createExpressionWithTypeArguments(r,n),t);return e&&at(19),i}function P(e,t,r,n,i){var a=qe();return gt(t(r,k(e,a,n,i)),e,a)}function F(t){var r=s.getTokenPos();if(e.tokenIsIdentifierOrKeyword(Ve())){var n=z();if(st(24)){var i=F(!0);return gt(q.createModuleDeclaration(void 0,void 0,n,i,t?4:void 0),r)}return t&&(n.isInJSDocNamespace=!0),n}}function O(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 R(e){return M(1,e)}function M(t,r,n){for(var i=!0,a=!1;;)switch(Ge()){case 59:if(i){var o=L(t,r);return!(o&&(329===o.kind||336===o.kind)&&4!==t&&n&&(e.isIdentifier(o.name)||!O(n,o.name.left)))&&o}a=!1;break;case 4:i=!0,a=!1;break;case 41:a&&(i=!1),a=!0;break;case 78:i=!1;break;case 1:return!1}}function L(t,r){e.Debug.assert(59===Ve());var n=s.getStartPos();Ge();var i,a=z();switch(h(),a.escapedText){case"type":return 1===t&&A(n,a);case"prop":case"property":i=1;break;case"arg":case"argument":case"param":i=6;break;default:return!1}return!!(t&i)&&C(n,a,t,r)}function j(){var t=qe(),r=z(e.Diagnostics.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);return gt(q.createTypeParameterDeclaration(r,void 0,void 0),t)}function B(e){return Ve()===e&&(Ge(),!0)}function z(t){if(!e.tokenIsIdentifierOrKeyword(Ve()))return _t(78,!t,t||e.Diagnostics.Identifier_expected);I++;var r=s.getTokenPos(),n=s.getTextPos(),i=Ve(),a=ht(s.getTokenValue()),o=gt(q.createIdentifier(a,void 0,i),r,n);return Ge(),o}}t.parseJSDocTypeExpressionForTests=function(t,n,i){G("file.js",t,99,void 0,1),s.setText(t,n,i),C=s.scan();var a=r(),o=ie("file.js",99,1,!1,[],q.createToken(1),0),c=e.attachFileToDiagnostics(S,o);return D&&(o.jsDocDiagnostics=e.attachFileToDiagnostics(D,o)),$(),a?{jsDocTypeExpression:a,diagnostics:c}:void 0},t.parseJSDocTypeExpression=r,t.parseJSDocNameReference=n,t.parseIsolatedJSDocComment=function(t,r,n){G("",t,99,void 0,1);var i=be(4194304,(function(){return o(r,n)})),a={languageVariant:0,text:t},s=e.attachFileToDiagnostics(S,a);return $(),i?{jsDoc:i,diagnostics:s}:void 0},t.parseJSDocComment=function(t,r,n){var i=C,a=S.length,s=V,c=be(4194304,(function(){return o(r,n)}));return e.setParent(c,t),131072&R&&(D||(D=[]),D.push.apply(D,S)),C=i,S.length=a,V=s,c},function(e){e[e.BeginningOfLine=0]="BeginningOfLine",e[e.SawAsterisk=1]="SawAsterisk",e[e.SavingComments=2]="SavingComments",e[e.SavingBackticks=3]="SavingBackticks"}(i||(i={})),function(e){e[e.Property=1]="Property",e[e.Parameter=2]="Parameter",e[e.CallbackParameter=4]="CallbackParameter"}(a||(a={}))}(ee=t.JSDocParser||(t.JSDocParser={}))}(l||(l={})),function(t){function r(t,r,i,o,s,c){return void(r?u(t):l(t));function l(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,l,u),e.hasJSDocNodes(t))for(var d=0,p=t.jsDoc;d<p.length;d++){l(p[d])}a(t,c)}function u(t){t._children=void 0,e.setTextRangePosEnd(t,t.pos+i,t.end+i);for(var r=0,n=t;r<n.length;r++){l(n[r])}}}function n(e){switch(e.kind){case 10:case 8:case 78: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))return;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),l=r.substring(e.textSpanEnd(e.textChangeRangeNewSpan(n)),r.length);e.Debug.assert(c===l)}}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;t.updateSourceFile=function(t,n,u,d){if(s(t,n,u,d=d||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 p=t;e.Debug.assert(!p.hasBeenIncrementallyParsed),p.hasBeenIncrementallyParsed=!0,l.fixupParentReferences(p);var f=t.text,g=c(t),_=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 l=e.createTextSpanFromBounds(i,e.textSpanEnd(r.span)),u=r.newLength+(r.span.start-i);return e.createTextChangeRange(l,u)}(t,u);s(t,n,_,d),e.Debug.assert(_.span.start<=u.span.start),e.Debug.assert(e.textSpanEnd(_.span)===e.textSpanEnd(u.span)),e.Debug.assert(e.textSpanEnd(e.textChangeRangeNewSpan(_))===e.textSpanEnd(e.textChangeRangeNewSpan(u)));var h=e.textChangeRangeNewSpan(_).length-_.span.length;!function(t,n,o,s,c,l,u,d){return void p(t);function p(t){if(e.Debug.assert(t.pos<=t.end),t.pos>o)r(t,!1,c,l,u,d);else{var g=t.end;if(g>=n){if(t.intersectsChange=!0,t._children=void 0,i(t,n,o,s,c),m(t,p,f),e.hasJSDocNodes(t))for(var _=0,h=t.jsDoc;_<h.length;_++){p(h[_])}a(t,d)}else e.Debug.assert(g<n)}}function f(t){if(e.Debug.assert(t.pos<=t.end),t.pos>o)r(t,!0,c,l,u,d);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,m=t;f<m.length;f++){var g=m[f];g.virtual||p(g)}}else e.Debug.assert(a<n)}}}(p,_.span.start,e.textSpanEnd(_.span),e.textSpanEnd(e.textChangeRangeNewSpan(_)),h,f,n,d);var y=l.parseSourceFile(t.fileName,n,t.languageVersion,g,!0,t.scriptKind);return y.commentDirectives=function(t,r,n,i,a,o,s,c){if(!t)return r;for(var l,u=!1,d=0,p=t;d<p.length;d++){var f=p[d],m=f.range,g=f.type;if(m.end<n)l=e.append(l,f);else if(m.pos>i){h();var _={range:{pos:m.pos+a,end:m.end+a},type:g};l=e.append(l,_),c&&e.Debug.assert(o.substring(m.pos,m.end)===s.substring(_.range.pos,_.range.end))}}return h(),l;function h(){u||(u=!0,l?r&&l.push.apply(l,r):l=r)}}(t.commentDirectives,y.commentDirectives,_.span.start,e.textSpanEnd(_.span),h,f,n,d),y},t.createSyntaxCursor=c,function(e){e[e.Value=-1]="Value"}(u||(u={}))}(u||(u={})),e.isDeclarationFileName=h,e.processCommentPragmas=y,e.processPragmasIntoFields=v;var b=new e.Map;function k(e){if(b.has(e))return b.get(e);var t=new RegExp("(\\s"+e+"\\s*=\\s*)('|\")(.+?)\\2","im");return b.set(e,t),t}var x=/^\/\/\/\s*<(\S+)\s.*?\/>/im,E=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im;function S(t,r,n){var i=2===r.kind&&x.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,l=o.args;c<l.length;c++){var u=l[c],d=k(u.name).exec(n);if(!d&&!u.optional)return;if(d)if(u.captureSpan){var p=r.pos+d.index+d[1].length+d[2].length;s[u.name]={value:d[3],pos:p,end:p+d[3].length}}else s[u.name]=d[3]}t.push({name:a,args:{arguments:s,range:r}})}else t.push({name:a,args:{arguments:{},range:r}})}else{var f=2===r.kind&&E.exec(n);if(f)return D(t,r,2,f);if(3===r.kind)for(var m=/\s*@(\S+)\s*(.*)\s*$/gim,g=void 0;g=m.exec(n);)D(t,r,4,g)}}function D(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=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 w(e,t){return e.kind===t.kind&&(78===e.kind?e.escapedText===t.escapedText:108===e.kind||e.name.escapedText===t.name.escapedText&&w(e.expression,t.expression))}e.tagNamesAreEquivalent=w}(d||(d={})),function(e){e.compileOnSaveCommandLineOption={name:"compileOnSave",type:"boolean"};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,n,o=[["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"],["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"],["esnext.array","lib.es2019.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.esnext.string.d.ts"],["esnext.promise","lib.esnext.promise.d.ts"],["esnext.weakref","lib.esnext.weakref.d.ts"]];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 r||(r=s(e.optionDeclarations))}function l(e){return e&&void 0!==e.enableAutoDiscovery&&void 0===e.enable?{enable:e.enableAutoDiscovery,include:e.include||[],exclude:e.exclude||[]}:e}function u(t){return d(t,e.createCompilerDiagnostic)}function d(t,r){var n=e.arrayFrom(t.type.keys()).map((function(e){return"'"+e+"'"})).join(", ");return r(e.Diagnostics.Argument_for_0_option_must_be_Colon_1,"--"+t.name,n)}function p(e,t,r){return pe(e,fe(t||""),r)}function f(t,r,n){if(void 0===r&&(r=""),r=fe(r),!e.startsWith(r,"-")){if(""===r)return[];var i=r.split(",");switch(t.element.type){case"number":return e.mapDefined(i,(function(e){return de(t.element,parseInt(e),n)}));case"string":return e.mapDefined(i,(function(e){return de(t.element,e||"",n)}));default:return e.mapDefined(i,(function(e){return p(t.element,e,n)}))}}}function m(e){return e.name}function g(t,r,n,i){var a=e.getSpellingSuggestion(t,r.optionDeclarations,m);return a?n(r.unknownDidYouMeanDiagnostic,i||t,a.name):n(r.unknownOptionDiagnostic,i||t)}function _(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))l(c.slice(1));else if(45===c.charCodeAt(0)){var u=c.slice(45===c.charCodeAt(1)?2:1),d=v(t.getOptionsNameMap,u,!0);if(d)n=h(r,n,t,d,a,s);else{var p=v(I.getOptionsNameMap,u,!0);p?n=h(r,n,I,p,i||(i={}),s):s.push(g(u,t,e.createCompilerDiagnostic,c))}}else o.push(c)}}function l(t){var r=E(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 h(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]=de(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,j(i))),"null"!==t[r])switch(i.type){case"number":a[i.name]=de(i,parseInt(t[r]),o),r++;break;case"boolean":var s=t[r];a[i.name]=de(i,"false"!==s,o),"false"!==s&&"true"!==s||r++;break;case"string":a[i.name]=de(i,t[r]||"",o),r++;break;case"list":var c=f(i,t[r],o);a[i.name]=c||[],c&&r++;break;default:a[i.name]=p(i,t[r],o),r++}else a[i.name]=void 0,r++;return r}function y(e,t){return v(c,e,t)}function v(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)}e.libs=o.map((function(e){return e[0]})),e.libMap=new e.Map(o),e.optionsForWatch=[{name:"watchFile",type:new e.Map(e.getEntries({fixedpollinginterval:e.WatchFileKind.FixedPollingInterval,prioritypollinginterval:e.WatchFileKind.PriorityPollingInterval,dynamicprioritypolling:e.WatchFileKind.DynamicPriorityPolling,usefsevents:e.WatchFileKind.UseFsEvents,usefseventsonparentdirectory:e.WatchFileKind.UseFsEventsOnParentDirectory})),category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_UseFsEvents_UseFsEventsOnParentDirectory},{name:"watchDirectory",type:new e.Map(e.getEntries({usefsevents:e.WatchDirectoryKind.UseFsEvents,fixedpollinginterval:e.WatchDirectoryKind.FixedPollingInterval,dynamicprioritypolling:e.WatchDirectoryKind.DynamicPriorityPolling})),category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling},{name:"fallbackPolling",type:new e.Map(e.getEntries({fixedinterval:e.PollingWatchKind.FixedInterval,priorityinterval:e.PollingWatchKind.PriorityInterval,dynamicpriority:e.PollingWatchKind.DynamicPriority})),category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority},{name:"synchronousWatchDirectory",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively},{name:"excludeDirectories",type:"list",element:{name:"excludeDirectory",type:"string",isFilePath:!0,extraValidation:ke},category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively},{name:"excludeFiles",type:"list",element:{name:"excludeFile",type:"string",isFilePath:!0,extraValidation:ke},category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively}],e.commonOptionsWithBuild=[{name:"help",shortName:"h",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Print_this_message},{name:"help",shortName:"?",type:"boolean"},{name:"watch",shortName:"w",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Watch_input_files},{name:"preserveWatchOutput",type:"boolean",showInSimplifiedHelpView:!1,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen},{name:"listFiles",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Print_names_of_files_part_of_the_compilation},{name:"explainFiles",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Print_names_of_files_and_the_reason_they_are_part_of_the_compilation},{name:"listEmittedFiles",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Print_names_of_generated_files_part_of_the_compilation},{name:"pretty",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Stylize_errors_and_messages_using_color_and_context_experimental},{name:"traceResolution",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Enable_tracing_of_the_name_resolution_process},{name:"diagnostics",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Show_diagnostic_information},{name:"extendedDiagnostics",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Show_verbose_diagnostic_information},{name:"generateCpuProfile",type:"string",isFilePath:!0,paramType:e.Diagnostics.FILE_OR_DIRECTORY,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Generates_a_CPU_profile},{name:"generateTrace",type:"string",isFilePath:!0,isCommandLineOnly:!0,paramType:e.Diagnostics.DIRECTORY,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Generates_an_event_trace_and_a_list_of_types},{name:"incremental",shortName:"i",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Enable_incremental_compilation,transpileOptionValue:void 0},{name:"assumeChangesOnlyAffectDirectDependencies",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it},{name:"locale",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_locale_used_when_displaying_messages_to_the_user_e_g_en_us}],e.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,esnext:99})),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,paramType:e.Diagnostics.VERSION,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_ECMAScript_target_version_Colon_ES3_default_ES5_ES2015_ES2016_ES2017_ES2018_ES2019_ES2020_or_ESNEXT},e.optionDeclarations=i(i([],e.commonOptionsWithBuild),[{name:"all",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Show_all_compiler_options},{name:"version",shortName:"v",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Print_the_compiler_s_version},{name:"init",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file},{name:"project",shortName:"p",type:"string",isFilePath:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,paramType:e.Diagnostics.FILE_OR_DIRECTORY,description:e.Diagnostics.Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json},{name:"build",type:"boolean",shortName:"b",showInSimplifiedHelpView:!0,category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Build_one_or_more_projects_and_their_dependencies_if_out_of_date},{name:"showConfig",type:"boolean",category:e.Diagnostics.Command_line_Options,isCommandLineOnly:!0,description:e.Diagnostics.Print_the_final_configuration_instead_of_building},{name:"listFilesOnly",type:"boolean",category:e.Diagnostics.Command_line_Options,affectsSemanticDiagnostics:!0,affectsEmit:!0,isCommandLineOnly:!0,description:e.Diagnostics.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing},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,esnext:e.ModuleKind.ESNext})),affectsModuleResolution:!0,affectsEmit:!0,paramType:e.Diagnostics.KIND,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_module_code_generation_Colon_none_commonjs_amd_system_umd_es2015_es2020_or_ESNext},{name:"lib",type:"list",element:{name:"lib",type:e.libMap},affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_library_files_to_be_included_in_the_compilation,transpileOptionValue:void 0},{name:"allowJs",type:"boolean",affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Allow_javascript_files_to_be_compiled},{name:"checkJs",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Report_errors_in_js_files},{name:"jsx",type:t,affectsSourceFile:!0,affectsEmit:!0,affectsModuleResolution:!0,paramType:e.Diagnostics.KIND,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_JSX_code_generation_Colon_preserve_react_native_react_react_jsx_or_react_jsxdev},{name:"declaration",shortName:"d",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_corresponding_d_ts_file,transpileOptionValue:void 0},{name:"declarationMap",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_a_sourcemap_for_each_corresponding_d_ts_file,transpileOptionValue:void 0},{name:"emitDeclarationOnly",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Only_emit_d_ts_declaration_files,transpileOptionValue:void 0},{name:"sourceMap",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Generates_corresponding_map_file},{name:"outFile",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.FILE,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Concatenate_and_emit_output_to_single_file,transpileOptionValue:void 0},{name:"outDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.DIRECTORY,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Redirect_output_structure_to_the_directory},{name:"rootDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir},{name:"composite",type:"boolean",affectsEmit:!0,isTSConfigOnly:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Enable_project_compilation,transpileOptionValue:void 0},{name:"tsBuildInfoFile",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.FILE,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Specify_file_to_store_incremental_compilation_information,transpileOptionValue:void 0},{name:"removeComments",type:"boolean",affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Do_not_emit_comments_to_output},{name:"noEmit",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Do_not_emit_outputs,transpileOptionValue:void 0},{name:"importHelpers",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Import_emit_helpers_from_tslib},{name:"importsNotUsedAsValues",type:new e.Map(e.getEntries({remove:0,preserve:1,error:2})),affectsEmit:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types},{name:"downlevelIteration",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3},{name:"isolatedModules",type:"boolean",category:e.Diagnostics.Basic_Options,description:e.Diagnostics.Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule,transpileOptionValue:!0},{name:"strict",type:"boolean",showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_all_strict_type_checking_options},{name:"noImplicitAny",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Raise_error_on_expressions_and_declarations_with_an_implied_any_type},{name:"strictNullChecks",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_null_checks},{name:"strictFunctionTypes",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_checking_of_function_types},{name:"strictBindCallApply",type:"boolean",strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_bind_call_and_apply_methods_on_functions},{name:"strictPropertyInitialization",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Enable_strict_checking_of_property_initialization_in_classes},{name:"noImplicitThis",type:"boolean",affectsSemanticDiagnostics:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Raise_error_on_this_expressions_with_an_implied_any_type},{name:"alwaysStrict",type:"boolean",affectsSourceFile:!0,strictFlag:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Strict_Type_Checking_Options,description:e.Diagnostics.Parse_in_strict_mode_and_emit_use_strict_for_each_source_file},{name:"noUnusedLocals",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_on_unused_locals},{name:"noUnusedParameters",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_on_unused_parameters},{name:"noImplicitReturns",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_error_when_not_all_code_paths_in_function_return_a_value},{name:"noFallthroughCasesInSwitch",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Report_errors_for_fallthrough_cases_in_switch_statement},{name:"noUncheckedIndexedAccess",type:"boolean",affectsSemanticDiagnostics:!0,showInSimplifiedHelpView:!1,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Include_undefined_in_index_signature_results},{name:"noPropertyAccessFromIndexSignature",type:"boolean",showInSimplifiedHelpView:!1,category:e.Diagnostics.Additional_Checks,description:e.Diagnostics.Require_undeclared_properties_from_index_signatures_to_use_element_accesses},{name:"moduleResolution",type:new e.Map(e.getEntries({node:e.ModuleResolutionKind.NodeJs,classic:e.ModuleResolutionKind.Classic})),affectsModuleResolution:!0,paramType:e.Diagnostics.STRATEGY,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6},{name:"baseUrl",type:"string",affectsModuleResolution:!0,isFilePath:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Base_directory_to_resolve_non_absolute_module_names},{name:"paths",type:"object",affectsModuleResolution:!0,isTSConfigOnly:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl,transpileOptionValue:void 0},{name:"rootDirs",type:"list",isTSConfigOnly:!0,element:{name:"rootDirs",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime,transpileOptionValue:void 0},{name:"typeRoots",type:"list",element:{name:"typeRoots",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.List_of_folders_to_include_type_definitions_from},{name:"types",type:"list",element:{name:"types",type:"string"},affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Type_declaration_files_to_be_included_in_compilation,transpileOptionValue:void 0},{name:"allowSyntheticDefaultImports",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking},{name:"esModuleInterop",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,showInSimplifiedHelpView:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports},{name:"preserveSymlinks",type:"boolean",category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Do_not_resolve_the_real_path_of_symlinks},{name:"allowUmdGlobalAccess",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Module_Resolution_Options,description:e.Diagnostics.Allow_accessing_UMD_globals_from_modules},{name:"sourceRoot",type:"string",affectsEmit:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations},{name:"mapRoot",type:"string",affectsEmit:!0,paramType:e.Diagnostics.LOCATION,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations},{name:"inlineSourceMap",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file},{name:"inlineSources",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Source_Map_Options,description:e.Diagnostics.Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set},{name:"experimentalDecorators",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Experimental_Options,description:e.Diagnostics.Enables_experimental_support_for_ES7_decorators},{name:"emitDecoratorMetadata",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,category:e.Diagnostics.Experimental_Options,description:e.Diagnostics.Enables_experimental_support_for_emitting_type_metadata_for_decorators},{name:"jsxFactory",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h},{name:"jsxFragmentFactory",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment},{name:"jsxImportSource",type:"string",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react},{name:"ets",type:"object",affectsSourceFile:!0,affectsEmit:!0,affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Unknown_build_option_0},{name:"packageManagerType",type:"string",affectsSourceFile:!0,affectsEmit:!0,affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Unknown_build_option_0},{name:"emitNodeModulesFiles",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Unknown_build_option_0},{name:"resolveJsonModule",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Include_modules_imported_with_json_extension},{name:"out",type:"string",affectsEmit:!0,isFilePath:!1,category:e.Diagnostics.Advanced_Options,paramType:e.Diagnostics.FILE,description:e.Diagnostics.Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file,transpileOptionValue:void 0},{name:"reactNamespace",type:"string",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit},{name:"skipDefaultLibCheck",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files},{name:"charset",type:"string",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_character_set_of_the_input_files},{name:"emitBOM",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files},{name:"newLine",type:new e.Map(e.getEntries({crlf:0,lf:1})),affectsEmit:!0,paramType:e.Diagnostics.NEWLINE,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix},{name:"noErrorTruncation",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_truncate_error_messages},{name:"noLib",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_include_the_default_library_file_lib_d_ts,transpileOptionValue:!0},{name:"noResolve",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files,transpileOptionValue:!0},{name:"stripInternal",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_declarations_for_code_that_has_an_internal_annotation},{name:"disableSizeLimit",type:"boolean",affectsSourceFile:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_size_limitations_on_JavaScript_projects},{name:"disableSourceOfProjectReferenceRedirect",type:"boolean",isTSConfigOnly:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects},{name:"disableSolutionSearching",type:"boolean",isTSConfigOnly:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_solution_searching_for_this_project},{name:"disableReferencedProjectLoad",type:"boolean",isTSConfigOnly:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_loading_referenced_projects},{name:"noImplicitUseStrict",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_use_strict_directives_in_module_output},{name:"noEmitHelpers",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_generate_custom_helper_functions_like_extends_in_compiled_output},{name:"noEmitOnError",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_emit_outputs_if_any_errors_were_reported,transpileOptionValue:void 0},{name:"preserveConstEnums",type:"boolean",affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_erase_const_enum_declarations_in_generated_code},{name:"declarationDir",type:"string",affectsEmit:!0,isFilePath:!0,paramType:e.Diagnostics.DIRECTORY,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Output_directory_for_generated_declaration_files,transpileOptionValue:void 0},{name:"skipLibCheck",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Skip_type_checking_of_declaration_files},{name:"allowUnusedLabels",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_report_errors_on_unused_labels},{name:"allowUnreachableCode",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Do_not_report_errors_on_unreachable_code},{name:"suppressExcessPropertyErrors",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Suppress_excess_property_checks_for_object_literals},{name:"suppressImplicitAnyIndexErrors",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures},{name:"forceConsistentCasingInFileNames",type:"boolean",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disallow_inconsistently_cased_references_to_the_same_file},{name:"maxNodeModuleJsDepth",type:"number",affectsModuleResolution:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files},{name:"noStrictGenericChecks",type:"boolean",affectsSemanticDiagnostics:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Disable_strict_checking_of_generic_signatures_in_function_types},{name:"useDefineForClassFields",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Emit_class_fields_with_Define_instead_of_Set},{name:"keyofStringsOnly",type:"boolean",category:e.Diagnostics.Advanced_Options,description:e.Diagnostics.Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols},{name:"plugins",type:"list",isTSConfigOnly:!0,element:{name:"plugin",type:"object"},description:e.Diagnostics.List_of_language_service_plugins}]),e.semanticDiagnosticsOptionDeclarations=e.optionDeclarations.filter((function(e){return!!e.affectsSemanticDiagnostics})),e.affectsEmitOptionDeclarations=e.optionDeclarations.filter((function(e){return!!e.affectsEmit})),e.moduleResolutionOptionDeclarations=e.optionDeclarations.filter((function(e){return!!e.affectsModuleResolution})),e.sourceFileAffectingCompilerOptions=e.optionDeclarations.filter((function(e){return!!e.affectsSourceFile||!!e.affectsModuleResolution||!!e.affectsBindDiagnostics})),e.transpileOptionValueCompilerOptions=e.optionDeclarations.filter((function(t){return e.hasProperty(t,"transpileOptionValue")})),e.buildOpts=i(i([],e.commonOptionsWithBuild),[{name:"verbose",shortName:"v",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Enable_verbose_logging,type:"boolean"},{name:"dry",shortName:"d",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Show_what_would_be_built_or_deleted_if_specified_with_clean,type:"boolean"},{name:"force",shortName:"f",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Build_all_projects_including_those_that_appear_to_be_up_to_date,type:"boolean"},{name:"clean",category:e.Diagnostics.Command_line_Options,description:e.Diagnostics.Delete_the_outputs_of_all_projects,type:"boolean"}]),e.typeAcquisitionDeclarations=[{name:"enableAutoDiscovery",type:"boolean"},{name:"enable",type:"boolean"},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}},{name:"disableFilenameBasedTypeAcquisition",type:"boolean"}],e.createOptionNameMap=s,e.getOptionsNameMap=c,e.defaultInitCompilerOptions={module:e.ModuleKind.CommonJS,target:1,strict:!0,esModuleInterop:!0,forceConsistentCasingInFileNames:!0,skipLibCheck:!0},e.convertEnableAutoDiscoveryToEnable=l,e.createCompilerDiagnosticForInvalidCustomType=u,e.parseCustomTypeOption=p,e.parseListTypeOption=f,e.parseCommandLineWorker=_,e.compilerOptionsDidYouMeanDiagnostics={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 _(e.compilerOptionsDidYouMeanDiagnostics,t,r)},e.getOptionFromName=y;var b={getOptionsNameMap:function(){return n||(n=s(e.buildOpts))},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 k(t,r){var n=e.parseJsonText(t,r);return{config:M(n,n.parseDiagnostics),error:n.parseDiagnostics.length?n.parseDiagnostics[0]:void 0}}function x(t,r){var n=E(t,r);return e.isString(n)?e.parseJsonText(t,n):{fileName:t,parseDiagnostics:[n]}}function E(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 S(t){return e.arrayToMap(t,m)}e.parseBuildCommand=function(t){var r=_(b,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=E(t,(function(e){return n.readFile(e)}));if(e.isString(s)){var c=e.parseJsonText(t,s),l=n.getCurrentDirectory();return c.path=e.toPath(t,l,e.createGetCanonicalFileName(n.useCaseSensitiveFileNames)),c.resolvedPath=c.path,c.originalFileName=c.fileName,W(c,n,e.getNormalizedAbsolutePath(e.getDirectoryPath(t),l),r,e.getNormalizedAbsolutePath(t,l),void 0,o,i,a)}n.onUnRecoverableConfigFileDiagnostic(s)},e.readConfigFile=function(t,r){var n=E(t,r);return e.isString(n)?k(t,n):{config:{},error:n}},e.parseConfigFileTextToJson=k,e.readJsonConfigFile=x,e.tryReadFile=E;var D,w={optionDeclarations:e.typeAcquisitionDeclarations,unknownOptionDiagnostic:e.Diagnostics.Unknown_type_acquisition_option_0,unknownDidYouMeanDiagnostic:e.Diagnostics.Unknown_type_acquisition_option_0_Did_you_mean_1};function T(){return D||(D=s(e.optionsForWatch))}var C,A,N,P,I={getOptionsNameMap:T,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 F(){return C||(C=S(e.optionDeclarations))}function O(){return A||(A=S(e.optionsForWatch))}function R(){return N||(N=S(e.typeAcquisitionDeclarations))}function M(e,t){return L(e,t,!0,void 0,void 0)}function L(t,r,n,a,o){return t.statements.length?l(t.statements[0].expression,a):n?{}:void 0;function s(e){return a&&a.elementOptions===e}function c(i,a,c,d){for(var p=n?{}:void 0,f=function(i){if(291!==i.kind)return r.push(e.createDiagnosticForNodeInSourceFile(t,i,e.Diagnostics.Property_assignment_expected)),"continue";i.questionToken&&r.push(e.createDiagnosticForNodeInSourceFile(t,i.questionToken,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),u(i.name)||r.push(e.createDiagnosticForNodeInSourceFile(t,i.name,e.Diagnostics.String_literal_with_double_quotes_expected));var f=e.isComputedNonLiteralName(i.name)?void 0:e.getTextOfPropertyName(i.name),m=f&&e.unescapeLeadingUnderscores(f),_=m&&a?a.get(m):void 0;m&&c&&!_&&(a?r.push(g(m,c,(function(r,n,a){return e.createDiagnosticForNodeInSourceFile(t,i.name,r,n,a)}))):r.push(e.createDiagnosticForNodeInSourceFile(t,i.name,c.unknownOptionDiagnostic,m)));var h=l(i.initializer,_);if(void 0!==m&&(n&&(p[m]=h),o&&(d||s(a)))){var y=B(_,h);d?y&&o.onSetValidOptionKeyValueInParent(d,_,h):s(a)&&(y?o.onSetValidOptionKeyValueInRoot(m,i.name,h,i.initializer):_||o.onSetUnknownOptionKeyValueInRoot(m,i.name,h,i.initializer))}},m=0,_=i.properties;m<_.length;m++){f(_[m])}return p}function l(a,o){var s;switch(a.kind){case 110:return h(o&&"boolean"!==o.type),_(!0);case 95:return h(o&&"boolean"!==o.type),_(!1);case 104:return h(o&&"extends"===o.name),_(null);case 10:u(a)||r.push(e.createDiagnosticForNodeInSourceFile(t,a,e.Diagnostics.String_literal_with_double_quotes_expected)),h(o&&e.isString(o.type)&&"string"!==o.type);var p=a.text;if(o&&!e.isString(o.type)){var f=o;f.type.has(p.toLowerCase())||(r.push(d(f,(function(r,n,i){return e.createDiagnosticForNodeInSourceFile(t,a,r,n,i)}))),s=!0)}return _(p);case 8:return h(o&&"number"!==o.type),_(Number(a.text));case 216:if(40!==a.operator||8!==a.operand.kind)break;return h(o&&"number"!==o.type),_(-Number(a.operand.text));case 201:h(o&&"object"!==o.type);var m=a;if(o){var g=o;return _(c(m,g.elementOptions,g.extraKeyDiagnostics,g.name))}return _(c(m,void 0,void 0,void 0));case 200:return h(o&&"list"!==o.type),_(function(t,r){if(n)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)}))}(a.elements,o&&o.element))}return void(o?h(!0):r.push(e.createDiagnosticForNodeInSourceFile(t,a,e.Diagnostics.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal)));function _(n){var c;if(!s){var l=null===(c=null==o?void 0:o.extraValidation)||void 0===c?void 0:c.call(o,n);if(l)return void r.push(e.createDiagnosticForNodeInSourceFile.apply(void 0,i([t,a],l)))}return n}function h(n){n&&(r.push(e.createDiagnosticForNodeInSourceFile(t,a,e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,o.name,j(o))),s=!0)}}function u(r){return e.isStringLiteral(r)&&e.isStringDoubleQuoted(r,t)}}function j(t){return"list"===t.type?"Array":e.isString(t.type)?t.type:"string"}function B(t,r){return!!t&&(!!$(r)||("list"===t.type?e.isArray(r):typeof r===(e.isString(t.type)?t.type:"string")))}function z(t){return a({},e.arrayFrom(t.entries()).reduce((function(e,t){var r;return a(a({},e),((r={})[t[0]]=t[1],r))}),{}))}function U(t){if(e.length(t)){if(1!==e.length(t))return t;if("**/*"!==t[0])return t}}function q(e){return"string"===e.type||"number"===e.type||"boolean"===e.type||"object"===e.type?void 0:"list"===e.type?q(e.element):e.type}function J(t,r){return e.forEachEntry(r,(function(e,r){if(e===t)return r}))}function V(e,t){return H(e,c(),t)}function H(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)return"continue";var s=t[r],c=i.get(r.toLowerCase());if(c){var l=q(c);l?"list"===c.type?a.set(r,s.map((function(e){return J(e,l)}))):a.set(r,J(s,l)):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 K(e,t,r){if(e&&!$(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 W(e,t,r,n,i,a,o,s,c){return X(void 0,e,t,r,n,c,i,a,o,s)}function G(e,t){t&&Object.defineProperty(e,"configFile",{enumerable:!1,writable:!1,value:t})}function $(e){return null==e}function Y(t,r){return e.getDirectoryPath(e.getNormalizedAbsolutePath(t,r))}function X(t,r,n,i,a,o,s,c,l,u){void 0===a&&(a={}),void 0===c&&(c=[]),void 0===l&&(l=[]),e.Debug.assert(void 0===t&&void 0!==r||void 0!==t&&void 0===r);var d=[],p=te(t,r,n,i,s,c,d,u),f=p.raw,m=e.extend(a,p.options||{}),g=o&&p.watchOptions?e.extend(o,p.watchOptions):p.watchOptions||o;m.configFilePath=s&&e.normalizeSlashes(s);var _=function(){var t=b("references",(function(e){return"object"==typeof e}),"object"),n=y(v("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,l=e.firstDefined(e.getTsConfigPropArray(r,"files"),(function(e){return e.initializer})),u=l?e.createDiagnosticForNodeInSourceFile(r,l,c,o):e.createCompilerDiagnostic(c,o);d.push(u)}else k(e.Diagnostics.The_files_list_in_config_file_0_is_empty,s||"tsconfig.json")}var p,m,g=y(v("include")),_=v("exclude"),h=y(_);if("no-prop"===_&&f.compilerOptions){var x=f.compilerOptions.outDir,E=f.compilerOptions.declarationDir;(x||E)&&(h=[x,E].filter((function(e){return!!e})))}void 0===n&&void 0===g&&(g=["**/*"]);g&&(p=be(g,d,!0,r,"include"));h&&(m=be(h,d,!1,r,"exclude"));return{filesSpecs:n,includeSpecs:g,excludeSpecs:h,validatedFilesSpec:e.filter(n,e.isString),validatedIncludeSpecs:p,validatedExcludeSpecs:m}}();r&&(r.configFileSpecs=_),G(m,r);var h=e.normalizePath(s?Y(s,i):i);return{options:m,watchOptions:g,fileNames:function(e){var t=ye(_,e,m,n,l);Z(t,ee(f),c)&&d.push(Q(_,s));return t}(h),projectReferences:function(t){var r,n=b("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?k(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}(h),typeAcquisition:p.typeAcquisition||ae(),raw:f,errors:d,wildcardDirectories:xe(_,h,n.useCaseSensitiveFileNames),compileOnSave:!!f.compileOnSave};function y(t){return e.isArray(t)?t:void 0}function v(t){return b(t,e.isString,"string")}function b(t,n,i){if(e.hasProperty(f,t)&&!$(f[t])){if(e.isArray(f[t])){var a=f[t];return r||e.every(a,n)||d.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,t,i)),a}return k(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,t,"Array"),"not-array"}return"no-prop"}function k(t,n,i){r||d.push(e.createCompilerDiagnostic(t,n,i))}}function Q(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 Z(e,t,r){return 0===e.length&&t&&(!r||0===r.length)}function ee(t){return!e.hasProperty(t,"files")&&!e.hasProperty(t,"references")}function te(t,r,n,a,o,s,c,l){var u;a=e.normalizeSlashes(a);var d=e.getNormalizedAbsolutePath(o||"",a);if(s.indexOf(d)>=0)return c.push(e.createCompilerDiagnostic(e.Diagnostics.Circularity_detected_while_resolving_configuration_Colon_0,i(i([],s),[d]).join(" -> "))),{raw:t||M(r,c)};var p=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=ie(t.compilerOptions,n,a,i),c=oe(t.typeAcquisition||t.typingOptions,n,a,i),l=function(e,t,r){return se(O(),e,t,void 0,I,r)}(t.watchOptions,n,a);if(t.compileOnSave=function(t,r,n){if(!e.hasProperty(t,e.compileOnSaveCommandLineOption.name))return!1;var i=ce(e.compileOnSaveCommandLineOption,t.compileOnSave,r,n);return"boolean"==typeof i&&i}(t,n,a),t.extends)if(e.isString(t.extends)){var u=i?Y(i,n):n;o=re(t.extends,r,u,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:l,typeAcquisition:c,extendedConfigPath:o}}(t,n,a,o,c):function(t,r,n,i,a){var o,s,c,l,u=ne(i),d={onSetValidOptionKeyValueInParent:function(t,r,a){var l;switch(t){case"compilerOptions":l=u;break;case"watchOptions":l=c||(c={});break;case"typeAcquisition":l=o||(o=ae(i));break;case"typingOptions":l=s||(s=ae(i));break;default:e.Debug.fail("Unknown option")}l[r.name]=le(r,n,a)},onSetValidOptionKeyValueInRoot:function(o,s,c,u){if("extends"!==o);else{var d=i?Y(i,n):n;l=re(c,r,d,a,(function(r,n){return e.createDiagnosticForNodeInSourceFile(t,u,r,n)}))}},onSetUnknownOptionKeyValueInRoot:function(r,n,i,o){"excludes"===r&&a.push(e.createDiagnosticForNodeInSourceFile(t,n,e.Diagnostics.Unknown_option_excludes_Did_you_mean_exclude))}},p=L(t,a,!0,(void 0===P&&(P={name:void 0,type:"object",elementOptions:S([{name:"compilerOptions",type:"object",elementOptions:F(),extraKeyDiagnostics:e.compilerOptionsDidYouMeanDiagnostics},{name:"watchOptions",type:"object",elementOptions:O(),extraKeyDiagnostics:I},{name:"typingOptions",type:"object",elementOptions:R(),extraKeyDiagnostics:w},{name:"typeAcquisition",type:"object",elementOptions:R(),extraKeyDiagnostics:w},{name:"extends",type:"string"},{name:"references",type:"list",element:{name:"references",type:"object"}},{name:"files",type:"list",element:{name:"files",type:"string"}},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}},e.compileOnSaveCommandLineOption])}),P),d);o||(o=s?void 0!==s.enableAutoDiscovery?{enable:s.enableAutoDiscovery,include:s.include,exclude:s.exclude}:s:ae(i));return{raw:p,options:u,watchOptions:c,typeAcquisition:o,extendedConfigPath:l}}(r,n,a,o,c);if((null===(u=p.options)||void 0===u?void 0:u.paths)&&(p.options.pathsBasePath=a),p.extendedConfigPath){s=s.concat([d]);var f=function(t,r,n,i,a,o){var s,c,l,u,d=n.useCaseSensitiveFileNames?r:e.toFileNameLowerCase(r);o&&(c=o.get(d))?(l=c.extendedResult,u=c.extendedConfig):(l=x(r,(function(e){return n.readFile(e)})),l.parseDiagnostics.length||(u=te(void 0,l,n,e.getDirectoryPath(r),e.getBaseFileName(r),i,a,o)),o&&o.set(d,{extendedResult:l,extendedConfig:u}));t&&(t.extendedSourceFiles=[l.fileName],l.extendedSourceFiles&&(s=t.extendedSourceFiles).push.apply(s,l.extendedSourceFiles));if(l.parseDiagnostics.length)return void a.push.apply(a,l.parseDiagnostics);return u}(r,p.extendedConfigPath,n,s,c,l);if(f&&f.options){var m,g=f.raw,_=p.raw,h=function(t){!_[t]&&g[t]&&(_[t]=e.map(g[t],(function(t){return e.isRootedDiskPath(t)?t:e.combinePaths(m||(m=e.convertToRelativePath(e.getDirectoryPath(p.extendedConfigPath),a,e.createGetCanonicalFileName(n.useCaseSensitiveFileNames))),t)})))};h("include"),h("exclude"),h("files"),void 0===_.compileOnSave&&(_.compileOnSave=g.compileOnSave),p.options=e.assign({},f.options,p.options),p.watchOptions=p.watchOptions&&f.watchOptions?e.assign({},f.watchOptions,p.watchOptions):p.watchOptions||f.watchOptions}}return p}function re(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+=".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 ne(t){return t&&"jsconfig.json"===e.getBaseFileName(t)?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{}}function ie(t,r,n,i){var a=ne(i);return se(F(),t,r,a,e.compilerOptionsDidYouMeanDiagnostics,n),i&&(a.configFilePath=e.normalizeSlashes(i)),a}function ae(t){return{enable:!!t&&"jsconfig.json"===e.getBaseFileName(t),include:[],exclude:[]}}function oe(e,t,r,n){var i=ae(n),a=l(e);return se(R(),a,t,i,w,r),i}function se(t,r,n,i,a,o){if(r){for(var s in r){var c=t.get(s);c?(i||(i={}))[c.name]=ce(c,r[s],n,o):o.push(g(s,a,e.createCompilerDiagnostic))}return i}}function ce(t,r,n,i){if(B(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 ce(t.element,e,n,i)})),(function(e){return!!e}))}(t,r,n,i);if(!e.isString(a))return pe(t,r,i);var o=de(t,r,i);return $(o)?o:ue(t,n,o)}i.push(e.createCompilerDiagnostic(e.Diagnostics.Compiler_option_0_requires_a_value_of_type_1,t.name,j(t)))}function le(t,r,n){if(!$(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 le(i.element,r,e)})),(function(e){return!!e})):n}return e.isString(t.type)?ue(t,r,n):t.type.get(e.isString(n)?n.toLowerCase():n)}}function ue(t,r,n){return t.isFilePath&&""===(n=e.getNormalizedAbsolutePath(n,r))&&(n="."),n}function de(t,r,n){var i;if(!$(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 pe(e,t,r){if(!$(t)){var n=t.toLowerCase(),i=e.type.get(n);if(void 0!==i)return de(e,i,r);r.push(u(e))}}function fe(e){return"function"==typeof e.trim?e.trim():e.replace(/^[\s]+|[\s]+$/g,"")}e.convertToObject=M,e.convertToObjectWorker=L,e.convertToTSConfig=function(t,r,n){var i,o,s,c=e.createGetCanonicalFileName(n.useCaseSensitiveFileNames),l=e.map(e.filter(t.fileNames,(null===(o=null===(i=t.options.configFile)||void 0===i?void 0:i.configFileSpecs)||void 0===o?void 0:o.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);if(s)return o?function(e){return!(s.test(e)&&!o.test(e))}:function(e){return!s.test(e)};if(o)return function(e){return o.test(e)};return 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)})),u=V(t.options,{configFilePath:e.getNormalizedAbsolutePath(r,n.getCurrentDirectory()),useCaseSensitiveFileNames:n.useCaseSensitiveFileNames}),d=t.watchOptions&&H(t.watchOptions,T());return a(a({compilerOptions:a(a({},z(u)),{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:d&&z(d),references:e.map(t.projectReferences,(function(e){return a(a({},e),{path:e.originalPath?e.originalPath:"",originalPath:void 0})})),files:e.length(l)?l:void 0},(null===(s=t.options.configFile)||void 0===s?void 0:s.configFileSpecs)?{include:U(t.options.configFile.configFileSpecs.validatedIncludeSpecs),exclude:t.options.configFile.configFileSpecs.validatedExcludeSpecs}:{}),{compileOnSave:!!t.compileOnSave||void 0})},e.generateTSConfig=function(t,r,n){var i=V(e.extend(t,e.defaultInitCompilerOptions));return function(){for(var t=e.createMultiMap(),c=0,l=e.optionDeclarations;c<l.length;c++){var u=l[c],d=u.category;s(u)&&t.add(e.getLocaleSpecificMessage(d),u)}var p=0,f=0,m=[];t.forEach((function(t,r){0!==m.length&&m.push({value:""}),m.push({value:"/* "+r+" */"});for(var n=0,o=t;n<o.length;n++){var s=o[n],c=void 0;c=i.has(s.name)?'"'+s.name+'": '+JSON.stringify(i.get(s.name))+((f+=1)===i.size?"":","):'// "'+s.name+'": '+JSON.stringify(a(s))+",",m.push({value:c,description:"/* "+(s.description&&e.getLocaleSpecificMessage(s.description)||s.name)+" */"}),p=Math.max(c.length,p)}}));var g=o(2),_=[];_.push("{"),_.push(g+'"compilerOptions": {'),_.push(""+g+g+"/* "+e.getLocaleSpecificMessage(e.Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file)+" */"),_.push("");for(var h=0,y=m;h<y.length;h++){var v=y[h],b=v.value,k=v.description,x=void 0===k?"":k;_.push(b&&""+g+g+b+(x&&o(p-b.length+2)+x))}if(r.length){_.push(g+"},"),_.push(g+'"files": [');for(var E=0;E<r.length;E++)_.push(""+g+g+JSON.stringify(r[E])+(E===r.length-1?"":","));_.push(g+"]")}else _.push(g+"}");return _.push("}"),_.join(n)+n}();function a(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}}function o(e){return Array(e+1).join(" ")}function s(t){var r=t.category,n=t.name;return void 0!==r&&r!==e.Diagnostics.Command_line_Options&&(r!==e.Diagnostics.Advanced_Options||i.has(n))}},e.convertToOptionsWithAbsolutePaths=function(t,r){var n={},i=c().optionsNameMap;for(var a in t)e.hasProperty(t,a)&&(n[a]=K(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 X(e,void 0,t,r,n,c,i,a,o,s)},e.parseJsonSourceFileConfigFileContent=W,e.setConfigFileInOptions=G,e.canJsonReportNoInputFiles=ee,e.updateErrorForNoInputFiles=function(t,r,n,i,a){var o=i.length;return Z(t,a)?i.push(Q(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:ie(e,t,n,r),errors:n}},e.convertTypeAcquisitionFromJson=function(e,t,r){var n=[];return{options:oe(e,t,n,r),errors:n}},e.convertJsonOption=ce;var me=/(^|\/)\*\*\/?$/,ge=/(^|\/)\*\*\/(.*\/)?\.\.($|\/)/,_e=/\/[^/]*?[*?][^/]*\//,he=/^[^*?]*(?=\/[^/]*[*?])/;function ye(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,l=new e.Map,u=new e.Map,d=t.validatedFilesSpec,p=t.validatedIncludeSpecs,f=t.validatedExcludeSpecs,m=e.getSupportedExtensions(n,a),g=e.getSuppoertedExtensionsWithJsonIfResolveJsonModule(n,m);if(d)for(var _=0,h=d;_<h.length;_++){var y=h[_],v=e.getNormalizedAbsolutePath(y,r);c.set(s(v),v)}if(p&&p.length>0)for(var b=function(t){if(e.fileExtensionIs(t,".json")){if(!o){var n=p.filter((function(t){return e.endsWith(t,".json")})),a=e.map(e.getRegularExpressionsForWildcards(n,r,"files"),(function(e){return"^"+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 d=s(t);c.has(d)||u.has(d)||u.set(d,t)}return"continue"}if(function(t,r,n,i,a){for(var o=e.getExtensionPriority(t,i),s=e.adjustExtensionPriority(o,i),c=0;c<s;c++){var l=i[c],u=a(e.changeExtension(t,l));if(r.has(u)||n.has(u))return!0}return!1}(t,c,l,m,s))return"continue";!function(t,r,n,i){for(var a=e.getExtensionPriority(t,n),o=e.getNextLowestExtensionPriority(a,n);o<n.length;o++){var s=n[o],c=i(e.changeExtension(t,s));r.delete(c)}}(t,l,m,s);var f=s(t);c.has(f)||l.has(f)||l.set(f,t)},k=0,x=i.readDirectory(r,g,f,p,void 0);k<x.length;k++){b(v=x[k])}var E=e.arrayFrom(c.values()),S=e.arrayFrom(l.values());return E.concat(S,e.arrayFrom(u.values()))}function ve(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 be(t,r,n,i,a){return t.filter((function(t){if(!e.isString(t))return!1;var i=ke(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 ke(t,r){return r&&me.test(t)?[e.Diagnostics.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,t]:ge.test(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 xe(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 l=[],u=0,d=i;u<d.length;u++){var p=d[u],f=e.normalizePath(e.combinePaths(r,p));if(!s||!s.test(f)){var m=Ee(f,n);if(m){var g=m.key,_=m.flags,h=c[g];(void 0===h||h<_)&&(c[g]=_,1===_&&l.push(g))}}}for(var g in c)if(e.hasProperty(c,g))for(var y=0,v=l;y<v.length;y++){var b=v[y];g!==b&&e.containsPath(b,g,r,!n)&&delete c[g]}}return c}function Ee(t,r){var n=he.exec(t);return n?{key:r?n[0]:e.toFileNameLowerCase(n[0]),flags:_e.test(t)?1:0}:e.isImplicitGlob(t)?{key:r?t:e.toFileNameLowerCase(t),flags:1}:void 0}function Se(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 Se(e,n)})):"";default:return e.forEachEntry(r.type,(function(e,r){if(e===t)return r}))}}e.getFileNamesFromConfigSpecs=ye,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 l=e.createGetCanonicalFileName(i);if(o)for(var u=0,d=o;u<d.length;u++){var p=d[u];if(l(e.getNormalizedAbsolutePath(p,n))===t)return!1}return ve(t,c,i,a,n)},e.matchesExclude=function(t,r,n,i){return ve(t,e.filter(r,(function(e){return!ge.test(e)})),n,i)},e.convertCompilerOptionsForTelemetry=function(e){var t={};for(var r in e)if(e.hasOwnProperty(r)){var n=y(r);void 0!==n&&(t[r]=Se(e[r],n))}return t}}(d||(d={}));var u=r(79429);!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 o(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,l;function d(t){if(t)return e.Debug.assert(e.extensionIsTS(t.extension)),{fileName:t.path,packageId:t.packageId}}function p(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 if(a.traceEnabled){var s=e.isOhpm(a.compilerOptions.packageManagerType)?e.Diagnostics.oh_package_json5_does_not_have_a_0_field:e.Diagnostics.package_json_does_not_have_a_0_field;t(a.host,s,n)}}function m(r,n,i,a){var o=f(r,n,"string",a);if(void 0!==o){if(o){var s=e.normalizePath(e.combinePaths(i,o));if(a.traceEnabled){var c=e.isOhpm(a.compilerOptions.packageManagerType)?e.Diagnostics.oh_package_json5_has_0_field_1_that_references_2:e.Diagnostics.package_json_has_0_field_1_that_references_2;t(a.host,c,n,o,s)}return s}a.traceEnabled&&t(a.host,e.Diagnostics.package_json_had_a_falsy_0_field,n)}}function g(e,t,r){return m(e,"typings",t,r)||m(e,"types",t,r)}function _(e,t,r){return m(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){var s=o.version,c=o.paths;if("object"==typeof c)return o;n.traceEnabled&&t(n.host,e.Diagnostics.Expected_type_of_0_field_in_package_json_to_be_1_got_2,"typesVersions['"+s+"']","object",typeof c)}else n.traceEnabled&&t(n.host,e.Diagnostics.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,e.versionMajorMinor)}}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,n){var i,a=e.combinePaths(e.getModuleByPMType(n),"@types");if(!r.directoryExists)return[e.combinePaths(t,a)];return e.forEachAncestorDirectory(e.normalizePath(t),(function(t){var n=e.combinePaths(t,a);r.directoryExists(n)&&(i||(i=[])).push(n)})),i}(n,r,t.packageManagerType):void 0);var n}function b(t){var r=new e.Map,n=new e.Map;return{ownMap:r,redirectsMap:n,getOrCreateMapOfCacheRedirects:function(i){if(!i)return r;var a=i.sourceFile.path,o=n.get(a);o||(o=!t||e.optionsHaveModuleResolutionChanges(t,i.commandLine.options)?new e.Map:r,n.set(a,o));return o},clear:function(){r.clear(),n.clear()},setOwnOptions:function(e){t=e},setOwnMap:function(e){r=e}}}function k(t,r,n,i){return{getOrCreateCacheForDirectory:function(r,o){var s=e.toPath(r,n,i);return a(t,o,s,(function(){return new e.Map}))},getOrCreateCacheForModuleName:function(t,n){return e.Debug.assert(!e.isExternalModuleNameRelative(t)),a(r,n,t,o)},directoryToModuleNameMap:t,moduleNameToDirectoryMap:r};function a(e,t,r,n){var i=e.getOrCreateMapOfCacheRedirects(t),a=i.get(r);return a||(a=n(),i.set(r,a)),a}function o(){var t=new e.Map;return{get:function(r){return t.get(e.toPath(r,n,i))},set:function(r,a){var o=e.toPath(r,n,i);if(t.has(o))return;t.set(o,a);var s=a.resolvedModule&&(a.resolvedModule.originalPath||a.resolvedModule.resolvedFileName),c=s&&function(t,r){var a=e.toPath(e.getDirectoryPath(r),n,i),o=0,s=Math.min(t.length,a.length);for(;o<s&&t.charCodeAt(o)===a.charCodeAt(o);)o++;if(o===t.length&&(a.length===o||a[o]===e.directorySeparator))return t;var c=e.getRootLength(t);if(o<c)return;var l=t.lastIndexOf(e.directorySeparator,o-1);if(-1===l)return;return t.substr(0,Math.max(l,c))}(o,s),l=o;for(;l!==c;){var u=e.getDirectoryPath(l);if(u===l||t.has(u))break;t.set(u,a),l=u}}}}}function x(r,n,i,a,o){var s=function(r,n,i,a){var o=a.compilerOptions,s=o.baseUrl,c=o.paths;if(c&&!e.pathIsRelative(n)){return a.traceEnabled&&(s&&t(a.host,e.Diagnostics.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,s,n),t(a.host,e.Diagnostics.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0,n)),W(r,n,e.getPathsBasePath(a.compilerOptions,a.host),c,i,!1,a)}}(r,n,a,o);return s?s.value:e.isExternalModuleNameRelative(n)?function(r,n,i,a,o){if(!o.compilerOptions.rootDirs)return;o.traceEnabled&&t(o.host,e.Diagnostics.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0,n);for(var s,c,l=e.normalizePath(e.combinePaths(i,n)),u=0,d=o.compilerOptions.rootDirs;u<d.length;u++){var p=d[u],f=e.normalizePath(p);e.endsWith(f,e.directorySeparator)||(f+=e.directorySeparator);var m=e.startsWith(l,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,l,m),m&&(c=f,s=p)}if(c){o.traceEnabled&&t(o.host,e.Diagnostics.Longest_matching_prefix_for_0_is_1,l,c);var g=l.substr(c.length);o.traceEnabled&&t(o.host,e.Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2,g,c,l);var _=a(r,l,!e.directoryProbablyExists(i,o.host),o);if(_)return _;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((p=y[h])!==s){var v=e.combinePaths(e.normalizePath(p),g);o.traceEnabled&&t(o.host,e.Diagnostics.Loading_0_from_the_root_dir_1_candidate_location_2,g,p,v);var b=e.getDirectoryPath(v),k=a(r,v,!e.directoryProbablyExists(b,o.host),o);if(k)return k}}o.traceEnabled&&t(o.host,e.Diagnostics.Module_resolution_using_rootDirs_has_failed)}return}(r,n,i,a,o):function(r,n,i,a){var o=a.compilerOptions.baseUrl;if(!o)return;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));a.traceEnabled&&t(a.host,e.Diagnostics.Resolving_module_name_0_relative_to_base_url_1_2,n,o,s);return i(r,s,!e.directoryProbablyExists(e.getDirectoryPath(s),a.host),a)}(r,n,a,o)}e.trace=t,e.isTraceEnabled=r,function(e){e[e.TypeScript=0]="TypeScript",e[e.JavaScript=1]="JavaScript",e[e.Json=2]="Json",e[e.TSConfig=3]="TSConfig",e[e.DtsOnly=4]="DtsOnly"}(c||(c={})),e.getPackageJsonTypesVersionsPaths=y,e.getEffectiveTypeRoots=v,e.resolveTypeReferenceDirective=function(n,i,a,o,s){var l=r(a,o);s&&(a=s.commandLine.options);var u=[],p={compilerOptions:a,host:o,traceEnabled:l,failedLookupLocations:u},f=v(a,o);l&&(void 0===i?void 0===f?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,f):void 0===f?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,f),s&&t(o,e.Diagnostics.Using_compiler_options_of_project_reference_redirect_0,s.sourceFile.fileName));var m,g=function(){if(f&&f.length)return l&&t(o,e.Diagnostics.Resolving_with_primary_search_path_0,f.join(", ")),e.firstDefined(f,(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),d(B(c.DtsOnly,i,!s,p))}));l&&t(o,e.Diagnostics.Root_directory_cannot_be_determined_skipping_primary_search_paths)}(),_=!0;if(g||(g=function(){var r=i&&e.getDirectoryPath(i),s=a.packageManagerType;if(void 0!==r){if(l){var u=e.isOhpm(s)?e.Diagnostics.Looking_up_in_oh_modules_folder_initial_location_0:e.Diagnostics.Looking_up_in_node_modules_folder_initial_location_0;t(o,u,r)}var f=void 0;if(e.isExternalModuleNameRelative(n)){var m=e.normalizePathAndParts(e.combinePaths(r,n)).path;f=P(c.DtsOnly,m,!1,p,!0)}else{var g=J(c.DtsOnly,n,r,p,void 0,void 0);f=g&&g.value}var _=d(f);return!_&&l&&t(o,e.Diagnostics.Type_reference_directive_0_was_not_resolved,n),_}if(l){u=e.isOhpm(s)?e.Diagnostics.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_oh_modules_folder:e.Diagnostics.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder;t(o,u)}}(),_=!1),g){var h=g.fileName,y=g.packageId,b=a.preserveSymlinks?h:N(h,o,l);l&&(y?t(o,e.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3,n,b,e.packageIdToString(y),_):t(o,e.Diagnostics.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,n,b,_)),m={primary:_,resolvedFileName:b,packageId:y,isExternalLibraryImport:e.isOhpm(a.packageManagerType)?F(h):I(h)}}return{resolvedTypeReferenceDirective:m,failedLookupLocations:u}},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,l=r.getDirectories(s);c<l.length;c++){var d=l[c],p=e.normalizePath(d),f=e.combinePaths(s,p,e.getPackageJsonByPMType(t.packageManagerType));if(!(e.isOhpm(t.packageManagerType)?r.fileExists(f)&&null===u.parse(r.readFile(f)).typings:r.fileExists(f)&&null===e.readJson(f,r).typings)){var m=e.getBaseFileName(p);46!==m.charCodeAt(0)&&n.push(m)}}}}return n},e.createModuleResolutionCache=function(e,t,r){return k(b(r),b(r),e,t)},e.createCacheWithRedirects=b,e.createModuleResolutionCacheWithMaps=k,e.resolveModuleNameFromCache=function(t,r,n){var i=e.getDirectoryPath(r),a=n&&n.getOrCreateCacheForDirectory(i);return a&&a.get(t)},e.resolveModuleName=function(n,i,a,o,s,c){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 u=e.getDirectoryPath(i),d=s&&s.getOrCreateCacheForDirectory(u,c),p=d&&d.get(n);if(p)l&&t(o,e.Diagnostics.Resolution_for_module_0_was_found_in_cache_from_location_1,n,u);else{var f=a.moduleResolution;switch(void 0===f?(f=e.getEmitModuleKind(a)===e.ModuleKind.CommonJS?e.ModuleResolutionKind.NodeJs:e.ModuleResolutionKind.Classic,l&&t(o,e.Diagnostics.Module_resolution_kind_is_not_specified_using_0,e.ModuleResolutionKind[f])):l&&t(o,e.Diagnostics.Explicitly_specified_module_resolution_kind_Colon_0,e.ModuleResolutionKind[f]),e.perfLogger.logStartResolveModule(n),f){case e.ModuleResolutionKind.NodeJs:p=C(n,i,a,o,s,c);break;case e.ModuleResolutionKind.Classic:p=Q(n,i,a,o,s,c);break;default:return e.Debug.fail("Unexpected moduleResolution: "+f)}p&&p.resolvedModule&&e.perfLogger.logInfoEvent('Module "'+n+'" resolved to "'+p.resolvedModule.resolvedFileName+'"'),e.perfLogger.logStopResolveModule(p&&p.resolvedModule?""+p.resolvedModule.resolvedFileName:"null"),d&&(d.set(n,p),e.isExternalModuleNameRelative(n)||s.getOrCreateCacheForModuleName(n,c).set(u,p))}return l&&(p.resolvedModule?p.resolvedModule.packageId?t(o,e.Diagnostics.Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2,n,p.resolvedModule.resolvedFileName,e.packageIdToString(p.resolvedModule.packageId)):t(o,e.Diagnostics.Module_name_0_was_successfully_resolved_to_1,n,p.resolvedModule.resolvedFileName):t(o,e.Diagnostics.Module_name_0_was_not_resolved,n)),p},e.resolveJSModule=function(e,t,r){var n=T(e,t,r),i=n.resolvedModule,a=n.failedLookupLocations;if(!i)throw new Error("Could not resolve JS module '"+e+"' starting at '"+t+"'. Looked in: "+a.join(", "));return i.resolvedFileName},e.tryResolveJSModule=function(e,t,r){var n=T(e,t,r).resolvedModule;return n&&n.resolvedFileName};var E=[c.JavaScript],S=[c.TypeScript,c.JavaScript],D=i(i([],S),[c.Json]),w=[c.TSConfig];function T(t,r,n){return A(t,r,{moduleResolution:e.ModuleResolutionKind.NodeJs,allowJs:!0},n,void 0,E,void 0)}function C(t,r,n,i,a,o,s){return A(t,e.getDirectoryPath(r),n,i,a,s?w:n.resolveJsonModule?D:S,o)}function A(n,i,o,s,l,u,d){var f,m,g=r(o,s),_=[],h={compilerOptions:o,host:s,traceEnabled:g,failedLookupLocations:_},y=e.forEach(u,(function(r){return function(r){var u=function(e,t,r,n){return P(e,t,r,n,!0)},p=e.isOhpm(o.packageManagerType),f=x(r,n,i,u,h);if(f)return Z({resolved:f,isExternalLibraryImport:p?F(f.path):I(f.path)});if(e.isExternalModuleNameRelative(n)){var m=e.normalizePathAndParts(e.combinePaths(i,n)),_=m.path,y=m.parts,v=P(r,_,!1,h,!0);return v&&Z({resolved:v,isExternalLibraryImport:e.contains(y,e.getModuleByPMType(o.packageManagerType))})}if(g){var b=p?e.Diagnostics.Loading_module_0_from_oh_modules_folder_target_file_type_1:e.Diagnostics.Loading_module_0_from_node_modules_folder_target_file_type_1;t(s,b,n,c[r])}var k=J(r,n,i,h,l,d);if(!k)return;var E=k.value;if(!o.preserveSymlinks&&E&&!E.originalPath){var S=N(E.path,s,g),D=S===E.path?void 0:E.path;E=a(a({},E),{path:S,originalPath:D})}return{value:E&&{resolved:E,isExternalLibraryImport:!0}}}(r)}));return p(null===(f=null==y?void 0:y.value)||void 0===f?void 0:f.resolved,null===(m=null==y?void 0:y.value)||void 0===m?void 0:m.isExternalLibraryImport,_,h.resultFromCache)}function N(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),r+" linked to nonexistent file "+a),a}function P(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 l=e.getDirectoryPath(i);e.directoryProbablyExists(l,o.host)||(o.traceEnabled&&t(o.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,l),a=!0)}var u=M(r,i,a,o);if(u){var d=s?function(t,r){var n=e.isOhpm(r)?e.ohModulesPathPart:e.nodeModulesPathPart,i=e.normalizePath(t.path),a=i.lastIndexOf(n);if(-1===a)return;var o=a+n.length,s=O(i,o);64===i.charCodeAt(o)&&(s=O(i,s));return i.slice(0,s)}(u,o.compilerOptions.packageManagerType):void 0;return n(d?z(d,!1,o):void 0,u)}}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));return B(r,i,a,o,s)}function I(t){return e.stringContains(t,e.nodeModulesPathPart)}function F(t){return e.stringContains(t,e.ohModulesPathPart)}function O(t,r){var n=t.indexOf(e.directorySeparator,r+1);return-1===n?r:n}function R(e,t,r,n){return o(M(e,t,r,n))}function M(r,n,i,a){if(r===c.Json||r===c.TSConfig){var o=e.tryRemoveExtension(n,".json");return void 0===o&&r===c.Json?void 0:L(o||n,r,i,a)}var s=L(n,r,i,a);if(s)return s;if(e.hasJSFileExtension(n)){var l=e.removeFileExtension(n);if(a.traceEnabled){var u=n.substring(l.length);t(a.host,e.Diagnostics.File_name_0_has_a_1_extension_stripping_it,n,u)}return L(l,r,i,a)}}function L(t,r,n,i){if(!n){var a=e.getDirectoryPath(t);a&&(n=!e.directoryProbablyExists(a,i.host))}switch(r){case c.DtsOnly:return i.compilerOptions.ets&&o(".d.ets")||o(".d.ts");case c.TypeScript:return i.compilerOptions.ets?o(".ets")||o(".ts")||o(".tsx")||o(".d.ets")||o(".d.ts"):o(".ts")||o(".tsx")||o(".d.ts")||o(".ets");case c.JavaScript:return o(".js")||o(".jsx");case c.TSConfig:case c.Json:return o(".json")}function o(e){var r=j(t+e,n,i);return void 0===r?void 0:{path:r,ext:e}}}function j(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 B(e,t,r,i,a){void 0===a&&(a=!0);var o=a?z(t,r,i):void 0;return n(o,U(e,t,r,i,o&&o.packageJsonContent,o&&o.versionPaths))}function z(r,n,i){var a=i.host,o=i.traceEnabled,s=!n&&e.directoryProbablyExists(r,a),c=e.combinePaths(r,e.getPackageJsonByPMType(i.compilerOptions.packageManagerType));if(s&&a.fileExists(c)){var l=e.isOhpm(i.compilerOptions.packageManagerType),d=l?u.parse(a.readFile(c)):e.readJson(c,a);if(o)t(a,l?e.Diagnostics.Found_oh_package_json5_at_0:e.Diagnostics.Found_package_json_at_0,c);return{packageDirectory:r,packageJsonContent:d,versionPaths:h(d,i)}}s&&o&&t(a,e.Diagnostics.File_0_does_not_exist,c),i.failedLookupLocations.push(c)}function U(r,n,i,a,l,u){var d;if(l)switch(r){case c.JavaScript:case c.Json:d=_(l,n,a);break;case c.TypeScript:d=g(l,n,a)||_(l,n,a);break;case c.DtsOnly:d=g(l,n,a);break;case c.TSConfig:d=function(e,t,r){return m(e,"tsconfig",t,r)}(l,n,a);break;default:return e.Debug.assertNever(r)}var p=function(r,n,i,a){var s=j(n,i,a);if(s){var l=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||".ets"===t||".d.ets"===t;case c.DtsOnly:return".d.ts"===t||".d.ets"===t}}(t,n)?{path:r,ext:n}:void 0}(r,s);if(l)return o(l);a.traceEnabled&&t(a.host,e.Diagnostics.File_0_has_an_unsupported_extension_so_skipping_it,s)}return P(r===c.DtsOnly?c.TypeScript:r,n,i,a,!1)},f=d?!e.directoryProbablyExists(e.getDirectoryPath(d),a.host):void 0,h=i||!e.directoryProbablyExists(n,a.host),y=e.combinePaths(n,r===c.TSConfig?"tsconfig":"index");if(u&&(!d||e.containsPath(n,d))){var v=e.getRelativePathFromDirectory(n,d||y,!1);a.traceEnabled&&t(a.host,e.Diagnostics.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,u.version,e.version,v);var b=W(r,v,n,u.paths,p,f||h,a);if(b)return s(b.value)}var k=d&&s(p(r,d,f,a));return k||M(r,y,h,a)}function q(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 J(e,t,r,n,i,a){return V(e,t,r,n,!1,i,a)}function V(t,r,n,i,a,o,s){var c=o&&o.getOrCreateCacheForModuleName(r,s),l=i.compilerOptions.packageManagerType,u=e.getModuleByPMType(l);return e.forEachAncestorDirectory(e.normalizeSlashes(n),(function(n){if(e.getBaseFileName(n)!==u){var o=X(c,r,n,i);return o||Z(H(t,r,n,i,a))}}))}function H(r,n,i,a,o){var s=e.combinePaths(i,e.getModuleByPMType(a.compilerOptions.packageManagerType)),l=e.directoryProbablyExists(s,a.host);!l&&a.traceEnabled&&t(a.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,s);var u=o?void 0:K(r,n,s,l,a);if(u)return u;if(r===c.TypeScript||r===c.DtsOnly){var d=e.combinePaths(s,"@types"),p=l;return l&&!e.directoryProbablyExists(d,a.host)&&(a.traceEnabled&&t(a.host,e.Diagnostics.Directory_0_does_not_exist_skipping_all_lookups_in_it,d),p=!1),K(c.DtsOnly,function(r,n){var i=$(r);n.traceEnabled&&i!==r&&t(n.host,e.Diagnostics.Scoped_package_detected_looking_in_0,i);return i}(n,a),d,p,a)}}function K(r,i,a,s,c){var l=e.normalizePath(e.combinePaths(a,i)),u=z(l,!s,c);if(u){var d=M(r,l,!s,c);if(d)return o(d);var p=U(r,l,!s,c,u.packageJsonContent,u.versionPaths);return n(u,p)}var f=function(e,t,r,i){var a=M(e,t,r,i)||U(e,t,r,i,u&&u.packageJsonContent,u&&u.versionPaths);return n(u,a)},m=q(i),g=m.packageName,_=m.rest;if(""!==_){var h=e.combinePaths(a,g);if((u=z(h,!s,c))&&u.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,u.versionPaths.version,e.version,_);var y=s&&e.directoryProbablyExists(h,c.host),v=W(r,_,h,u.versionPaths.paths,f,!y,c);if(v)return v.value}}return f(r,l,!s,c)}function W(r,n,i,a,s,c,l){var u=e.matchPatternOrExact(e.getOwnKeys(a),n);if(u){var d=e.isString(u)?void 0:e.matchedText(u,n),p=e.isString(u)?u:e.patternText(u);return l.traceEnabled&&t(l.host,e.Diagnostics.Module_name_0_matched_pattern_1,n,p),{value:e.forEach(a[p],(function(n){var a=d?n.replace("*",d):n,u=e.normalizePath(e.combinePaths(i,a));l.traceEnabled&&t(l.host,e.Diagnostics.Trying_substitution_0_candidate_module_location_Colon_1,n,a);var p=e.tryGetExtensionFromPath(n);if(void 0!==p){var f=j(u,c,l);if(void 0!==f)return o({path:f,ext:p})}return s(r,u,c||!e.directoryProbablyExists(e.getDirectoryPath(u),l.host),l)}))}}}e.nodeModuleNameResolver=C,e.nodeModulesPathPart="/node_modules/",e.ohModulesPathPart="/oh_modules/",e.pathContainsNodeModules=I,e.pathContainsOHModules=F,e.parsePackageName=q;var G="__";function $(t){if(e.startsWith(t,"@")){var r=t.replace(e.directorySeparator,G);if(r!==t)return r.slice(1)}return t}function Y(t){return e.stringContains(t,G)?"@"+t.replace(G,e.directorySeparator):t}function X(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 Q(t,n,i,a,o,s){var l=[],u={compilerOptions:i,host:a,traceEnabled:r(i,a),failedLookupLocations:l},d=e.getDirectoryPath(n),f=m(c.TypeScript)||m(c.JavaScript);return p(f&&f.value,!1,l,u.resultFromCache);function m(r){var n=x(r,t,d,R,u);if(n)return{value:n};if(e.isExternalModuleNameRelative(t)){var i=e.normalizePath(e.combinePaths(d,t));return Z(R(r,i,!1,u))}var a=o&&o.getOrCreateCacheForModuleName(t,s),l=e.forEachAncestorDirectory(d,(function(n){var i=X(a,t,n,u);if(i)return i;var o=e.normalizePath(e.combinePaths(n,t));return Z(R(r,o,!1,u))}));return l||(r===c.TypeScript?function(e,t,r){return V(c.DtsOnly,e,t,r,!0,void 0,void 0)}(t,d,u):void 0)}}function Z(e){return void 0!==e?{value:e}:void 0}e.getTypesPackageName=function(e){return"@types/"+$(e)},e.mangleScopedPackageName=$,e.getPackageNameFromTypesPackageName=function(t){var r=e.removePrefix(t,"@types/");return r!==t?Y(r):t},e.unmangleScopedPackageName=Y,e.classicNameResolver=Q,e.loadModuleFromGlobalCache=function(n,i,a,o,s){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 u=[],d={compilerOptions:a,host:o,traceEnabled:l,failedLookupLocations:u};return p(H(c.DtsOnly,n,s,d,!1),!0,u,d.resultFromCache)}}(d||(d={})),function(e){var t;function r(t,r){return t.body&&!t.body.parent&&(e.setParent(t.body,t),e.setParentRecursive(t.body,!1)),t.body?n(t.body,r):1}function n(t,i){void 0===i&&(i=new e.Map);var a=e.getNodeId(t);if(i.has(a))return i.get(a)||0;i.set(a,void 0);var s=function(t,i){switch(t.kind){case 256:case 257:return 0;case 258:if(e.isEnumConst(t))return 2;break;case 264:case 263:if(!e.hasSyntacticModifier(t,1))return 0;break;case 270:var a=t;if(!a.moduleSpecifier&&a.exportClause&&271===a.exportClause.kind){for(var s=0,c=0,l=a.exportClause.elements;c<l.length;c++){var u=o(l[c],i);if(u>s&&(s=u),1===s)return s}return s}break;case 260:var d=0;return e.forEachChild(t,(function(t){var r=n(t,i);switch(r){case 0:return;case 2:return void(d=2);case 1:return d=1,!0;default:e.Debug.assertNever(r)}})),d;case 259:return r(t,i);case 78:if(t.isInJSDocNamespace)return 0}return 1}(t,i);return i.set(a,s),s}function o(t,r){for(var i=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 l=c[s];if(e.nodeHasName(l,i)){l.parent||(e.setParent(l,a),e.setParentRecursive(l,!1));var u=n(l,r);if((void 0===o||u>o)&&(o=u),1===o)return o}}if(void 0!==o)return o}a=a.parent}return 1}function s(t){return e.Debug.attachFlowNodeDebugInfo(t),t}!function(e){e[e.NonInstantiated=0]="NonInstantiated",e[e.Instantiated=1]="Instantiated",e[e.ConstEnumOnly=2]="ConstEnumOnly"}(e.ModuleInstanceState||(e.ModuleInstanceState={})),e.getModuleInstanceState=r,function(e){e[e.None=0]="None",e[e.IsContainer=1]="IsContainer",e[e.IsBlockScopedContainer=2]="IsBlockScopedContainer",e[e.IsControlFlowContainer=4]="IsControlFlowContainer",e[e.IsFunctionLike=8]="IsFunctionLike",e[e.IsFunctionExpression=16]="IsFunctionExpression",e[e.HasLocals=32]="HasLocals",e[e.IsInterface=64]="IsInterface",e[e.IsObjectLiteralOrClassExpressionMethod=128]="IsObjectLiteralOrClassExpressionMethod"}(t||(t={}));var c=function(){var t,n,o,c,p,f,m,g,_,h,y,v,b,k,x,E,S,D,w,T,C,A,N,P,I=!1,F=0,O={flags:1},R={flags:1};function M(r,n,i,a,o){return e.createDiagnosticForNodeInSourceFile(e.getSourceFileOfNode(r)||t,r,n,i,a,o)}return function(r,i){t=r,n=i,o=e.getEmitScriptTarget(n),A=function(t,r){return!(!e.getStrictOptionValue(r,"alwaysStrict")||t.isDeclarationFile)||!!t.externalModuleIndicator}(t,i),P=new e.Set,F=0,N=e.objectAllocator.getSymbolConstructor(),e.Debug.attachFlowNodeDebugInfo(O),e.Debug.attachFlowNodeDebugInfo(R),t.locals||(Le(t),t.symbolCount=F,t.classifiableNames=P,function(){if(_){for(var r=p,n=g,i=m,a=c,o=y,l=0,d=_;l<d.length;l++){var f=d[l],h=e.getJSDocHost(f);p=h&&e.findAncestor(h.parent,(function(e){return!!(1&Se(e))}))||t,m=h&&e.getEnclosingBlockScopeContainer(h)||t,y=s({flags:2}),c=f,Le(f.typeExpression);var v=e.getNameOfDeclaration(f);if((e.isJSDocEnumTag(f)||!f.fullName)&&v&&e.isPropertyAccessEntityNameExpression(v.parent)){var b=Qe(v.parent);if(b){Ye(t.symbol,v.parent,b,!!e.findAncestor(v,(function(t){return e.isPropertyAccessExpression(t)&&"prototype"===t.name.escapedText})),!1);var k=p;switch(e.getAssignmentDeclarationPropertyAccessKind(v.parent)){case 1:case 2:p=e.isExternalOrCommonJsModule(t)?t:void 0;break;case 4:p=v.parent.expression;break;case 3:p=v.parent.expression.name;break;case 5:p=u(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")}p&&q(f,524288,788968),p=k}}else e.isJSDocEnumTag(f)||!f.fullName||78===f.fullName.kind?(c=f.parent,Ne(f,524288,788968)):Le(f.fullName)}p=r,g=n,m=i,c=a,y=o}}()),t=void 0,n=void 0,o=void 0,c=void 0,p=void 0,f=void 0,m=void 0,g=void 0,_=void 0,h=!1,y=void 0,v=void 0,b=void 0,k=void 0,x=void 0,E=void 0,S=void 0,w=void 0,T=!1,I=!1,C=0};function L(e,t){return F++,new N(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 B(t){if(269===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":'"'+n+'"'}if(159===r.kind){var i=r.expression;return e.isStringOrNumericLiteralLike(i)?e.escapeLeadingUnderscores(i.text):e.isSignedNumericLiteral(i)?e.tokenToString(i.operator)+i.operand.text:(e.Debug.assert(e.isWellKnownSymbolSyntactically(i)),e.getPropertyNameForKnownSymbolName(e.idText(i.name)))}if(e.isWellKnownSymbolSyntactically(r))return e.getPropertyNameForKnownSymbolName(e.idText(r.name));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 167:return"__constructor";case 175:case 170:case 316:return"__call";case 176:case 171:return"__new";case 172:return"__index";case 270:return"__export";case 300:return"export=";case 218:if(2===e.getAssignmentDeclarationKind(t))return"export=";e.Debug.fail("Unknown binary declaration kind");break;case 311:return e.isJSDocConstructSignature(t)?"__new":"__call";case 161:return e.Debug.assert(311===t.parent.kind,"Impossible parameter parent kind",(function(){return"parent is: "+(e.SyntaxKind?e.SyntaxKind[t.parent.kind]:t.parent.kind)+", expected JSDocFunctionType"})),"arg"+t.parent.parameters.indexOf(t)}}function z(t){return e.isNamedDeclaration(t)?e.declarationNameToString(t.name):e.unescapeLeadingUnderscores(e.Debug.checkDefined(B(t)))}function U(r,n,a,o,s,c){e.Debug.assert(!e.hasDynamicName(a));var l,u=e.hasSyntacticModifier(a,512)||e.isExportSpecifier(a)&&"default"===a.name.escapedText,d=u&&n?"default":B(a);if(void 0===d)l=L(0,"__missing");else if(l=r.get(d),2885600&o&&P.add(d),l){if(c&&!l.isReplaceableByMethod)return l;if(l.flags&s)if(l.isReplaceableByMethod)r.set(d,l=L(0,d));else if(!(3&o&&67108864&l.flags)){e.isNamedDeclaration(a)&&e.setParent(a.name,a);var p=2&l.flags?e.Diagnostics.Cannot_redeclare_block_scoped_variable_0:e.Diagnostics.Duplicate_identifier_0,f=!0;(384&l.flags||384&o)&&(p=e.Diagnostics.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,f=!1);var m=!1;e.length(l.declarations)&&(u||l.declarations&&l.declarations.length&&269===a.kind&&!a.isExportEquals)&&(p=e.Diagnostics.A_module_cannot_have_multiple_default_exports,f=!1,m=!0);var g=[];e.isTypeAliasDeclaration(a)&&e.nodeIsMissing(a.type)&&e.hasSyntacticModifier(a,1)&&2887656&l.flags&&g.push(M(a,e.Diagnostics.Did_you_mean_0,"export type { "+e.unescapeLeadingUnderscores(a.name.escapedText)+" }"));var _=e.getNameOfDeclaration(a)||a;e.forEach(l.declarations,(function(r,n){var i=e.getNameOfDeclaration(r)||r,a=M(i,p,f?z(r):void 0);t.bindDiagnostics.push(m?e.addRelatedInfo(a,M(_,0===n?e.Diagnostics.Another_export_default_is_here:e.Diagnostics.and_here)):a),m&&g.push(M(i,e.Diagnostics.The_first_export_default_is_here))}));var h=M(_,p,f?z(a):void 0);t.bindDiagnostics.push(e.addRelatedInfo.apply(void 0,i([h],g))),l=L(0,d)}}else r.set(d,l=L(0,d)),c&&(l.isReplaceableByMethod=!0);return j(l,a,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){t.parent&&e.isModuleDeclaration(t)&&(t=t.parent);if(!e.isJSDocTypeAlias(t))return!1;if(!e.isJSDocEnumTag(t)&&t.fullName)return!0;var r=e.getNameOfDeclaration(t);return!!r&&(!(!e.isPropertyAccessEntityNameExpression(r.parent)||!Qe(r.parent))||!!(e.isDeclaration(r.parent)&&1&e.getCombinedModifierFlags(r.parent)))}(t);if(2097152&r)return 273===t.kind||263===t.kind&&i?U(p.symbol.exports,p.symbol,t,r,n):U(p.locals,void 0,t,r,n);if(e.isJSDocTypeAlias(t)&&e.Debug.assert(e.isInJSFile(t)),!e.isAmbientModule(t)&&(i||64&p.flags)){if(!p.locals||e.hasSyntacticModifier(t,512)&&!B(t))return U(p.symbol.exports,p.symbol,t,r,n);var a=111551&r?1048576:0,o=U(p.locals,void 0,t,a,n);return o.exportSymbol=U(p.symbol.exports,p.symbol,t,r,n),t.localSymbol=o,o}return U(p.locals,void 0,t,r,n)}function J(e){V(e,(function(e){return 253===e.kind?Le(e):void 0})),V(e,(function(e){return 253!==e.kind?Le(e):void 0}))}function V(t,r){void 0===r&&(r=Le),void 0!==t&&e.forEach(t,r)}function H(t){e.forEachChild(t,Le,V)}function K(t){var i=I;if(I=!1,function(t){if(!(1&y.flags))return!1;if(y===O){var i=e.isStatementButNotDeclaration(t)&&233!==t.kind||254===t.kind||259===t.kind&&function(t){var i=r(t);return 1===i||2===i&&e.shouldPreserveConstEnums(n)}(t);if(i&&(y=R,!n.allowUnreachableCode)){var a=e.unreachableCodeIsError(n)&&!(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 Me(a,t,r,e.Diagnostics.Unreachable_code_detected)}))}}return!0}(t))return H(t),je(t),void(I=i);switch(t.kind>=234&&t.kind<=250&&!n.allowUnreachableCode&&(t.flowNode=y),t.kind){case 238:!function(e){var t=me(e,Z()),r=Q(),n=Q();re(t,y),y=t,pe(e.expression,r,n),y=se(r),fe(e.statement,n,t),re(t,y),y=se(n)}(t);break;case 237:!function(e){var t=Z(),r=me(e,Q()),n=Q();re(t,y),y=t,fe(e.statement,n,r),re(r,y),y=se(r),pe(e.expression,t,n),y=se(n)}(t);break;case 239:!function(e){var t=me(e,Z()),r=Q(),n=Q();Le(e.initializer),re(t,y),y=t,pe(e.condition,r,n),y=se(r),fe(e.statement,n,t),Le(e.incrementor),re(t,y),y=se(n)}(t);break;case 240:case 241:!function(e){var t=me(e,Z()),r=Q();Le(e.expression),re(t,y),y=t,241===e.kind&&Le(e.awaitModifier);re(r,y),Le(e.initializer),252!==e.initializer.kind&&ye(e.initializer);fe(e.statement,r,t),re(t,y),y=se(r)}(t);break;case 236:!function(e){var t=Q(),r=Q(),n=Q();pe(e.expression,t,r),y=se(t),Le(e.thenStatement),re(n,y),y=se(r),Le(e.elseStatement),re(n,y),y=se(n)}(t);break;case 244:case 248:!function(e){Le(e.expression),244===e.kind&&(T=!0,k&&re(k,y));y=O}(t);break;case 243:case 242:!function(e){if(Le(e.label),e.label){var t=function(e){for(var t=w;t;t=t.next)if(t.name===e)return t;return}(e.label.escapedText);t&&(t.referenced=!0,ge(e,t.breakTarget,t.continueTarget))}else ge(e,v,b)}(t);break;case 249:!function(t){var r=k,n=S,i=Q(),a=Q(),o=Q();t.finallyBlock&&(k=a);re(o,y),S=o,Le(t.tryBlock),re(i,y),t.catchClause&&(y=se(o),re(o=Q(),y),S=o,Le(t.catchClause),re(i,y));if(k=r,S=n,t.finallyBlock){var s=Q();s.antecedents=e.concatenate(e.concatenate(i.antecedents,o.antecedents),a.antecedents),y=s,Le(t.finallyBlock),1&y.flags?y=O:(k&&a.antecedents&&re(k,ee(s,a.antecedents,y)),S&&o.antecedents&&re(S,ee(s,o.antecedents,y)),y=i.antecedents?ee(s,i.antecedents,y):O)}else y=se(i)}(t);break;case 246:!function(t){var r=Q();Le(t.expression);var n=v,i=D;v=r,D=y,Le(t.caseBlock),re(r,y);var a=e.forEach(t.caseBlock.clauses,(function(e){return 288===e.kind}));t.possiblyExhaustive=!a&&!r.antecedents,a||re(r,ie(D,t,0,0));v=n,D=i,y=se(r)}(t);break;case 261:!function(e){for(var t=e.clauses,r=W(e.parent.expression),i=O,a=0;a<t.length;a++){for(var o=a;!t[a].statements.length&&a+1<t.length;)Le(t[a]),a++;var s=Q();re(s,r?ie(D,e.parent,o,a+1):D),re(s,i),y=se(s);var c=t[a];Le(c),i=y,1&y.flags||a===t.length-1||!n.noFallthroughCasesInSwitch||(c.fallthroughFlowNode=y)}}(t);break;case 287:!function(e){var t=y;y=D,Le(e.expression),y=t,V(e.statements)}(t);break;case 235:!function(e){Le(e.expression),_e(e.expression)}(t);break;case 247:!function(t){var r=Q();w={next:w,name:t.label.escapedText,breakTarget:r,continueTarget:void 0,referenced:!1},Le(t.label),Le(t.statement),w.referenced||n.allowUnusedLabels||function(e,t,r){Me(e,t,t,r)}(e.unusedLabelIsError(n),t.label,e.Diagnostics.Unused_label);w=w.next,re(r,y),y=se(r)}(t);break;case 216:!function(e){if(53===e.operator){var t=x;x=E,E=t,H(e),E=x,x=t}else H(e),45!==e.operator&&46!==e.operator||ye(e.operand)}(t);break;case 217:!function(e){H(e),(45===e.operator||46===e.operator)&&ye(e.operand)}(t);break;case 218:if(e.isDestructuringAssignment(t))return I=i,void function(e){I?(I=!1,Le(e.operatorToken),Le(e.right),I=!0,Le(e.left)):(I=!0,Le(e.left),I=!1,Le(e.operatorToken),Le(e.right));ye(e.left)}(t);!function(t){var r={expr:[t],state:[1],inStrictMode:[void 0],parent:[void 0]},n=0;for(;n>=0;)switch(t=r.expr[n],r.state[n]){case 0:e.setParent(t,c);var i=A;ze(t);var a=c;c=t,l(1,i,a);break;case 1:if(55===(s=t.operatorToken.kind)||56===s||60===s||e.isLogicalOrCoalescingAssignmentOperator(s)){if(ue(t)){var o=Q();ve(t,o,o),y=se(o)}else ve(t,x,E);u()}else l(2),d(t.left);break;case 2:27===t.operatorToken.kind&&_e(t.left),l(3),d(t.operatorToken);break;case 3:l(4),d(t.right);break;case 4:var s=t.operatorToken.kind;if(e.isAssignmentOperator(s)&&!e.isAssignmentTarget(t))if(ye(t.left),62===s&&203===t.left.kind)X(t.left.expression)&&(y=ae(256,y,t));u();break;default:return e.Debug.fail("Invalid state "+r.state[n]+" for bindBinaryExpressionFlow")}function l(e,t,i){r.state[n]=e,void 0!==t&&(r.inStrictMode[n]=t),void 0!==i&&(r.parent[n]=i)}function u(){void 0!==r.inStrictMode[n]&&(A=r.inStrictMode[n],c=r.parent[n]),n--}function d(t){t&&e.isBinaryExpression(t)&&!e.isDestructuringAssignment(t)?(n++,r.expr[n]=t,r.state[n]=0,r.inStrictMode[n]=void 0,r.parent[n]=void 0):Le(t)}}(t);break;case 212:!function(e){H(e),202===e.expression.kind&&ye(e.expression)}(t);break;case 219:!function(e){var t=Q(),r=Q(),n=Q();pe(e.condition,t,r),y=se(t),Le(e.questionToken),Le(e.whenTrue),re(n,y),y=se(r),Le(e.colonToken),Le(e.whenFalse),re(n,y),y=se(n)}(t);break;case 251:!function(t){H(t),(t.initializer||e.isForInOrOfStatement(t.parent.parent))&&be(t)}(t);break;case 202:case 203:!function(t){e.isOptionalChain(t)?Ee(t):H(t)}(t);break;case 204:!function(t){if(e.isOptionalChain(t))Ee(t);else{var r=e.skipParentheses(t.expression);209===r.kind||210===r.kind?(V(t.typeArguments),V(t.arguments),Le(t.expression)):(H(t),106===t.expression.kind&&(y=oe(y,t)))}if(202===t.expression.kind){var n=t.expression;e.isIdentifier(n.name)&&X(n.expression)&&e.isPushOrUnshiftIdentifier(n.name)&&(y=ae(256,y,t))}}(t);break;case 227:!function(t){e.isOptionalChain(t)?Ee(t):H(t)}(t);break;case 334:case 327:case 328:!function(t){e.setParent(t.tagName,t),328!==t.kind&&t.fullName&&(e.setParent(t.fullName,t),e.setParentRecursive(t.fullName,!1))}(t);break;case 300:J(t.statements),Le(t.endOfFileToken);break;case 232:case 260:J(t.statements);break;case 199:!function(t){e.isBindingPattern(t.name)?(V(t.decorators),V(t.modifiers),Le(t.dotDotDotToken),Le(t.propertyName),Le(t.initializer),Le(t.name)):H(t)}(t);break;case 201:case 200:case 291:case 222:I=i;default:H(t)}je(t),I=i}function W(t){switch(t.kind){case 78:case 79:case 108:case 202:case 203:return $(t);case 204:return function(e){if(e.arguments)for(var t=0,r=e.arguments;t<r.length;t++){if($(r[t]))return!0}if(202===e.expression.kind&&$(e.expression.expression))return!0;return!1}(t);case 208:case 227:case 213:return W(t.expression);case 218:return function(t){switch(t.operatorToken.kind){case 62:case 74:case 75:case 76:return $(t.left);case 34:case 35:case 36:case 37:return X(t.left)||X(t.right)||Y(t.right,t.left)||Y(t.left,t.right);case 102:return X(t.left);case 101:return r=t.left,n=t.right,e.isStringLiteralLike(r)&&W(n);case 27:return W(t.right)}var r,n;return!1}(t);case 216:return 53===t.operator&&W(t.operand)}return!1}function G(t){return 78===t.kind||79===t.kind||108===t.kind||106===t.kind||(e.isPropertyAccessExpression(t)||e.isNonNullExpression(t)||e.isParenthesizedExpression(t))&&G(t.expression)||e.isBinaryExpression(t)&&27===t.operatorToken.kind&&G(t.right)||e.isElementAccessExpression(t)&&e.isStringOrNumericLiteralLike(t.argumentExpression)&&G(t.expression)||e.isAssignmentExpression(t)&&G(t.left)}function $(t){return G(t)||e.isOptionalChain(t)&&$(t.expression)}function Y(t,r){return e.isTypeOfExpression(t)&&X(t.expression)&&e.isStringLiteralLike(r)}function X(e){switch(e.kind){case 208:return X(e.expression);case 218:switch(e.operatorToken.kind){case 62:return X(e.left);case 27:return X(e.right)}}return $(e)}function Q(){return s({flags:4,antecedents:void 0})}function Z(){return s({flags:8,antecedents:void 0})}function ee(e,t,r){return s({flags:1024,target:e,antecedents:t,antecedent:r})}function te(e){e.flags|=2048&e.flags?4096:2048}function re(t,r){1&r.flags||e.contains(t.antecedents,r)||((t.antecedents||(t.antecedents=[])).push(r),te(r))}function ne(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)?W(n)?(te(r),s({flags:t,antecedent:r,node:n})):r:O:32&t?r:O}function ie(e,t,r,n){return te(e),s({flags:128,antecedent:e,switchStatement:t,clauseStart:r,clauseEnd:n})}function ae(e,t,r){te(t);var n=s({flags:e,antecedent:t,node:r});return S&&re(S,n),n}function oe(e,t){return te(e),s({flags:512,antecedent:e,node:t})}function se(e){var t=e.antecedents;return t?1===t.length?t[0]:e:O}function ce(e){for(;;)if(208===e.kind)e=e.expression;else{if(216!==e.kind||53!==e.operator)return 218===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 ue(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 236:case 238:case 237:return t.expression===e;case 239:case 219:return t.condition===e}return!1}(t)||le(t.parent)||ce(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 pe(t,r,n){de(Le,t,r,n),t&&(le(t)||ce(t)||e.isOptionalChain(t)&&e.isOutermostOptionalChain(t))||(re(r,ne(32,y,t)),re(n,ne(64,y,t)))}function fe(e,t,r){var n=v,i=b;v=t,b=r,Le(e),v=n,b=i}function me(e,t){for(var r=w;r&&247===e.parent.kind;)r.continueTarget=t,r=r.next,e=e.parent;return t}function ge(e,t,r){var n=243===e.kind?t:r;n&&(re(n,y),y=O)}function _e(t){if(204===t.kind){var r=t;e.isDottedName(r.expression)&&106!==r.expression.kind&&(y=oe(y,r))}}function he(e){218===e.kind&&62===e.operatorToken.kind?ye(e.left):ye(e)}function ye(e){if(G(e))y=ae(16,y,e);else if(200===e.kind)for(var t=0,r=e.elements;t<r.length;t++){var n=r[t];222===n.kind?ye(n.expression):he(n)}else if(201===e.kind)for(var i=0,a=e.properties;i<a.length;i++){var o=a[i];291===o.kind?he(o.initializer):292===o.kind?ye(o.name):293===o.kind&&ye(o.expression)}}function ve(t,r,n){var i=Q();55===t.operatorToken.kind||75===t.operatorToken.kind?pe(t.left,i,n):pe(t.left,r,i),y=se(i),Le(t.operatorToken),e.isLogicalOrCoalescingAssignmentOperator(t.operatorToken.kind)?(de(Le,t.right,r,n),ye(t.left),re(r,ne(32,y,t)),re(n,ne(64,y,t))):pe(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=ae(16,y,t)}function ke(e){switch(e.kind){case 202:Le(e.questionDotToken),Le(e.name);break;case 203:Le(e.questionDotToken),Le(e.argumentExpression);break;case 204:Le(e.questionDotToken),V(e.typeArguments),V(e.arguments)}}function xe(t,r,n){var i=e.isOptionalChainRoot(t)?Q():void 0;!function(t,r,n){de(Le,t,r,n),e.isOptionalChain(t)&&!e.isOutermostOptionalChain(t)||(re(r,ne(32,y,t)),re(n,ne(64,y,t)))}(t.expression,i||r,n),i&&(y=se(i)),de(ke,t,r,n),e.isOutermostOptionalChain(t)&&(re(r,ne(32,y,t)),re(n,ne(64,y,t)))}function Ee(e){if(ue(e)){var t=Q();xe(e,t,t),y=se(t)}else xe(e,x,E)}function Se(t){switch(t.kind){case 223:case 254:case 255:case 258:case 201:case 178:case 315:case 284:return 1;case 256:return 65;case 259:case 257:case 191:return 33;case 300:return 37;case 166:if(e.isObjectLiteralOrClassExpressionMethod(t))return 173;case 167:case 253:case 165:case 168:case 169:case 170:case 316:case 311:case 175:case 171:case 172:case 176:return 45;case 209:case 210:return 61;case 260:return 4;case 164:return t.initializer?4:0;case 290:case 239:case 240:case 241:case 261:return 2;case 232:return e.isFunctionLike(t.parent)?0:2}return 0}function De(e){g&&(g.nextContainer=e),g=e}function we(r,n,i){switch(p.kind){case 259:return q(r,n,i);case 300: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 223:case 254:case 255:return function(t,r,n){return e.hasSyntacticModifier(t,32)?U(p.symbol.exports,p.symbol,t,r,n):U(p.symbol.members,p.symbol,t,r,n)}(r,n,i);case 258:return U(p.symbol.exports,p.symbol,r,n,i);case 178:case 315:case 201:case 256:case 284:return U(p.symbol.members,p.symbol,r,n,i);case 175:case 176:case 170:case 171:case 316:case 172:case 166:case 165:case 167:case 168:case 169:case 253:case 209:case 210:case 311:case 334:case 327:case 257:case 191:return U(p.locals,void 0,r,n,i)}}function Te(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 Ce(e){var t=r(e),n=0!==t;return we(e,n?512:1024,n?110735:0),t}function Ae(e,t,r){var n=L(t,r);return 106508&t&&(n.parent=p.symbol),j(n,e,t),n}function Ne(t,r,n){switch(m.kind){case 259:q(t,r,n);break;case 300:if(e.isExternalOrCommonJsModule(p)){q(t,r,n);break}default:m.locals||(m.locals=e.createSymbolTable(),De(m)),U(m.locals,void 0,t,r,n)}}function Pe(r){t.parseDiagnostics.length||8388608&r.flags||4194304&r.flags||e.isIdentifierName(r)||(A&&r.originalKeywordKind>=117&&r.originalKeywordKind<=125?t.bindDiagnostics.push(M(r,function(r){if(e.getContainingClass(r))return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode;if(t.externalModuleIndicator)return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode;return e.Diagnostics.Identifier_expected_0_is_a_reserved_word_in_strict_mode}(r),e.declarationNameToString(r))):131===r.originalKeywordKind?e.isExternalModule(t)&&e.isInTopLevelContext(r)?t.bindDiagnostics.push(M(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(M(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(M(r,e.Diagnostics.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,e.declarationNameToString(r))))}function Ie(r,n){if(n&&78===n.kind){var i=n;if(o=i,e.isIdentifier(o)&&("eval"===o.escapedText||"arguments"===o.escapedText)){var a=e.getErrorSpanForNode(t,n);t.bindDiagnostics.push(e.createFileDiagnostic(t,a.start,a.length,function(r){if(e.getContainingClass(r))return e.Diagnostics.Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode;if(t.externalModuleIndicator)return e.Diagnostics.Invalid_use_of_0_Modules_are_automatically_in_strict_mode;return e.Diagnostics.Invalid_use_of_0_in_strict_mode}(r),e.idText(i)))}}var o}function Fe(e){A&&Ie(e,e.name)}function Oe(r){if(o<2&&300!==m.kind&&259!==m.kind&&!e.isFunctionLike(m)){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 Re(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 Me(r,n,i,o){!function(r,n,i){var o=e.createFileDiagnostic(t,n.pos,n.end-n.pos,i);r?t.bindDiagnostics.push(o):t.bindSuggestionDiagnostics=e.append(t.bindSuggestionDiagnostics,a(a({},o),{category:e.DiagnosticCategory.Suggestion}))}(r,{pos:e.getTokenPosOfNode(n,t),end:i.end},o)}function Le(t){if(t){e.setParent(t,c);var r=A;if(ze(t),t.kind>157){var n=c;c=t;var i=Se(t);0===i?K(t):function(t,r){var n=p,i=f,a=m;if(1&r?(210!==t.kind&&(f=p),p=m=t,32&r&&(p.locals=e.createSymbolTable()),De(p)):2&r&&((m=t).locals=void 0),4&r){var o=y,c=v,l=b,u=k,d=S,g=w,_=T,x=16&r&&!e.hasSyntacticModifier(t,256)&&!t.asteriskToken&&!!e.getImmediatelyInvokedFunctionExpression(t);x||(y=s({flags:2}),144&r&&(y.node=t)),k=x||167===t.kind||e.isInJSFile(t)&&(253===t.kind||209===t.kind)?Q():void 0,S=void 0,v=void 0,b=void 0,w=void 0,T=!1,K(t),t.flags&=-2817,!(1&y.flags)&&8&r&&e.nodeIsPresent(t.body)&&(t.flags|=256,T&&(t.flags|=512),t.endFlowNode=y),300===t.kind&&(t.flags|=C),k&&(re(k,y),y=se(k),(167===t.kind||e.isInJSFile(t)&&(253===t.kind||209===t.kind))&&(t.returnFlowNode=y)),x||(y=o),v=c,b=l,k=u,S=d,w=g,T=_}else 64&r?(h=!1,K(t),t.flags=h?128|t.flags:-129&t.flags):K(t);p=n,f=i,m=a}(t,i),c=n}else{n=c;1===t.kind&&(c=t),je(t),c=n}A=r}}function je(t){if(e.hasJSDocNodes(t))if(e.isInJSFile(t))for(var r=0,n=t.jsDoc;r<n.length;r++){Le(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 Be(r){if(!A)for(var n=0,i=r;n<i.length;n++){var a=i[n];if(!e.isPrologueDirective(a))return;if(o=a,s=void 0,'"use strict"'===(s=e.getSourceTextOfNodeFromSourceFile(t,o.expression))||"'use strict'"===s)return void(A=!0)}var o,s}function ze(r){switch(r.kind){case 78:if(r.isInJSDocNamespace){for(var i=r.parent;i&&!e.isJSDocTypeAlias(i);)i=i.parent;Ne(i,524288,788968);break}case 108:return y&&(e.isExpression(r)||292===c.kind)&&(r.flowNode=y),Pe(r);case 158:y&&177===c.kind&&(r.flowNode=y);break;case 106:r.flowNode=y;break;case 79:return function(r){"#constructor"===r.escapedText&&(t.parseDiagnostics.length||t.bindDiagnostics.push(M(r,e.Diagnostics.constructor_is_a_reserved_word,e.declarationNameToString(r))))}(r);case 202:case 203:var a=r;y&&G(a)&&(a.flowNode=y),e.isSpecialPropertyDeclaration(a)&&function(t){108===t.expression.kind?He(t):e.isBindableStaticAccessExpression(t)&&300===t.parent.parent.kind&&(e.isPrototypeAccess(t.expression)?Ge(t,t.parent):$e(t))}(a),e.isInJSFile(a)&&t.commonJsModuleIndicator&&e.isModuleExportsAccessExpression(a)&&!d(m,"module")&&U(t.locals,void 0,a.expression,134217729,111550);break;case 218:switch(e.getAssignmentDeclarationKind(r)){case 1:Je(r);break;case 2:!function(r){if(!qe(r))return;var n=e.getRightMostAssignedExpression(r.right);if(e.isEmptyObjectLiteral(n)||p===t&&u(t,n))return;if(e.isObjectLiteralExpression(n)&&e.every(n.properties,e.isShorthandPropertyAssignment))return void e.forEach(n.properties,Ve);var i=e.exportAssignmentIsAlias(r)?2097152:1049092,a=U(t.symbol.exports,t.symbol,r,67108864|i,0);e.setValueDeclaration(a,r)}(r);break;case 3:Ge(r.left,r);break;case 6:!function(t){e.setParent(t.left,t),e.setParent(t.right,t),Ze(t.left.expression,t.left,!1,!0)}(r);break;case 4:He(r);break;case 5:var o=r.left.expression;if(e.isInJSFile(r)&&e.isIdentifier(o)){var s=d(m,o.escapedText);if(e.isThisInitializedDeclaration(null==s?void 0:s.valueDeclaration)){He(r);break}}!function(r){var n,i=et(r.left.expression,p)||et(r.left.expression,m);if(!e.isInJSFile(r)&&!e.isFunctionSymbol(i))return;var a=e.getLeftmostAccessExpression(r.left);if(e.isIdentifier(a)&&2097152&(null===(n=d(p,a.escapedText))||void 0===n?void 0:n.flags))return;if(e.setParent(r.left,r),e.setParent(r.right,r),e.isIdentifier(r.left.expression)&&p===t&&u(t,r.left.expression))Je(r);else if(e.hasDynamicName(r)){Ae(r,67108868,"__computed"),We(r,Ye(i,r.left.expression,Qe(r.left),!1,!1))}else $e(e.cast(r.left,e.isBindableStaticNameExpression))}(r);break;case 0:break;default:e.Debug.fail("Unknown binary expression special property assignment kind")}return function(t){A&&e.isLeftHandSideExpression(t.left)&&e.isAssignmentOperator(t.operatorToken.kind)&&Ie(t,t.left)}(r);case 290:return function(e){A&&e.variableDeclaration&&Ie(e,e.variableDeclaration.name)}(r);case 212:return function(r){if(A&&78===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))}}(r);case 8:return function(r){A&&32&r.numericLiteralFlags&&t.bindDiagnostics.push(M(r,e.Diagnostics.Octal_literals_are_not_allowed_in_strict_mode))}(r);case 217:return function(e){A&&Ie(e,e.operand)}(r);case 216:return function(e){A&&(45!==e.operator&&46!==e.operator||Ie(e,e.operand))}(r);case 245:return function(t){A&&Re(t,e.Diagnostics.with_statements_are_not_allowed_in_strict_mode)}(r);case 247:return function(t){A&&n.target>=2&&(e.isDeclarationStatement(t.statement)||e.isVariableStatement(t.statement))&&Re(t.label,e.Diagnostics.A_label_is_not_allowed_here)}(r);case 188:return void(h=!0);case 173:break;case 160:return function(t){if(e.isJSDocTemplateTag(t.parent)){var r=e.find(t.parent.parent.tags,e.isJSDocTypeAlias)||e.getHostSignatureFromJSDoc(t.parent);r?(r.locals||(r.locals=e.createSymbolTable()),U(r.locals,void 0,t,262144,526824)):we(t,262144,526824)}else if(186===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)):Ae(t,262144,B(t))}else we(t,262144,526824)}(r);case 161:return nt(r);case 251:return rt(r);case 199:return r.flowNode=y,rt(r);case 164:case 163:return function(e){return it(e,4|(e.questionToken?16777216:0),0)}(r);case 291:case 292:return it(r,4,0);case 294:return it(r,8,900095);case 170:case 171:case 172:return we(r,131072,0);case 166:case 165:return it(r,8192|(r.questionToken?16777216:0),e.isObjectLiteralMethod(r)?0:103359);case 253:return function(r){t.isDeclarationFile||8388608&r.flags||e.isAsyncFunction(r)&&(C|=2048);Fe(r),A?(Oe(r),Ne(r,16,110991)):we(r,16,110991)}(r);case 167:return we(r,16384,0);case 168:return it(r,32768,46015);case 169:return it(r,65536,78783);case 175:case 311:case 316:case 176:return function(t){var r=L(131072,B(t));j(r,t,131072);var n=L(2048,"__type");j(n,t,2048),n.members=e.createSymbolTable(),n.members.set(r.escapedName,r)}(r);case 178:case 315:case 191:return function(e){return Ae(e,2048,"__type")}(r);case 322:return function(t){H(t);var r=e.getHostSignatureFromJSDoc(t);r&&166!==r.kind&&j(r.symbol,r,32)}(r);case 201:return function(r){var n;if(function(e){e[e.Property=1]="Property",e[e.Accessor=2]="Accessor"}(n||(n={})),A&&!e.isAssignmentTarget(r))for(var i=new e.Map,a=0,o=r.properties;a<o.length;a++){var s=o[a];if(293!==s.kind&&78===s.name.kind){var c=s.name,l=291===s.kind||292===s.kind||166===s.kind?1:2,u=i.get(c.escapedText);if(u){if(1===l&&1===u){var d=e.getErrorSpanForNode(t,c);t.bindDiagnostics.push(e.createFileDiagnostic(t,d.start,d.length,e.Diagnostics.An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode))}}else i.set(c.escapedText,l)}}return Ae(r,4096,"__object")}(r);case 209:case 210:return function(r){t.isDeclarationFile||8388608&r.flags||e.isAsyncFunction(r)&&(C|=2048);y&&(r.flowNode=y);Fe(r);var n=r.name?r.name.escapedText:"__function";return Ae(r,16,n)}(r);case 204:switch(e.getAssignmentDeclarationKind(r)){case 7:return function(e){var t=et(e.arguments[0]),r=300===e.parent.parent.kind;t=Ye(t,e.arguments[0],r,!1,!1),Xe(e,t,!1)}(r);case 8:return function(e){if(!qe(e))return;var t=tt(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)}}(r);case 9:return function(e){var t=et(e.arguments[0].expression);t&&t.valueDeclaration&&j(t,t.valueDeclaration,32);Xe(e,t,!0)}(r);case 0:break;default:return e.Debug.fail("Unknown call expression assignment declaration kind")}e.isInJSFile(r)&&function(r){!t.commonJsModuleIndicator&&e.isRequireCall(r,!1)&&qe(r)}(r);break;case 223:case 254:case 255:return A=!0,function(r){if(254===r.kind||255===r.kind)Ne(r,32,899503);else{Ae(r,32,r.name?r.name.escapedText:"__class"),r.name&&P.add(r.name.escapedText)}var n=r.symbol,i=L(4194308,"prototype"),a=n.exports.get(i.escapedName);a&&(r.name&&e.setParent(r.name,r),t.bindDiagnostics.push(M(a.declarations[0],e.Diagnostics.Duplicate_identifier_0,e.symbolName(i))));n.exports.set(i.escapedName,i),i.parent=n}(r);case 256:return Ne(r,64,788872);case 257:return Ne(r,524288,788968);case 258:return function(t){return e.isEnumConst(t)?Ne(t,128,899967):Ne(t,256,899327)}(r);case 259:return function(r){if(Te(r),e.isAmbientModule(r))if(e.hasSyntacticModifier(r,1)&&Re(r,e.Diagnostics.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible),e.isModuleAugmentationExternal(r))Ce(r);else{var n=void 0;if(10===r.name.kind){var i=r.name.text;e.hasZeroOrOneAsteriskCharacter(i)?n=e.tryParsePattern(i):Re(r.name,e.Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character,i)}var a=we(r,512,110735);t.patternAmbientModules=e.append(t.patternAmbientModules,n&&{pattern:n,symbol:a})}else{var o=Ce(r);0!==o&&((a=r.symbol).constEnumOnlyModule=!(304&a.flags)&&2===o&&!1!==a.constEnumOnlyModule)}}(r);case 284:return function(e){return Ae(e,4096,"__jsxAttributes")}(r);case 283:return function(e,t,r){return we(e,t,r)}(r,4,0);case 263:case 266:case 268:case 273:return we(r,2097152,2097152);case 262:return function(r){r.modifiers&&r.modifiers.length&&t.bindDiagnostics.push(M(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(M(r,n)):(t.symbol.globalExports=t.symbol.globalExports||e.createSymbolTable(),U(t.symbol.globalExports,t.symbol,r,2097152,2097152))}(r);case 265:return function(e){e.name&&we(e,2097152,2097152)}(r);case 270:return function(t){p.symbol&&p.symbol.exports?t.exportClause?e.isNamespaceExport(t.exportClause)&&(e.setParent(t.exportClause,t),U(p.symbol.exports,p.symbol,t.exportClause,2097152,2097152)):U(p.symbol.exports,p.symbol,t,8388608,0):Ae(t,8388608,B(t))}(r);case 269:return function(t){if(p.symbol&&p.symbol.exports){var r=e.exportAssignmentIsAlias(t)?2097152:4,n=U(p.symbol.exports,p.symbol,t,r,67108863);t.isExportEquals&&e.setValueDeclaration(n,t)}else Ae(t,2097152,B(t))}(r);case 300:return Be(r.statements),function(){if(Te(t),e.isExternalModule(t))Ue();else if(e.isJsonSourceFile(t)){Ue();var r=t.symbol;U(t.symbol.exports,t.symbol,t,4,67108863),t.symbol=r}}();case 232:if(!e.isFunctionLike(r.parent))return;case 260:return Be(r.statements);case 329:if(316===r.parent.kind)return nt(r);if(315!==r.parent.kind)break;case 336:var l=r;return we(l,l.isBracketed||l.typeExpression&&310===l.typeExpression.type.kind?16777220:4,0);case 334:case 327:case 328:return(_||(_=[])).push(r)}}function Ue(){Ae(t,512,'"'+e.removeFileExtension(t.fileName)+'"')}function qe(e){return!t.externalModuleIndicator&&(t.commonJsModuleIndicator||(t.commonJsModuleIndicator=e,Ue()),!0)}function Je(t){if(qe(t)){var r=tt(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 Ve(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 253:case 209:var n=r.symbol;if(e.isBinaryExpression(r.parent)&&62===r.parent.operatorToken.kind){var i=r.parent.left;e.isBindableStaticAccessExpression(i)&&e.isPrototypeAccess(i.expression)&&(n=et(i.expression.expression,f))}n&&n.valueDeclaration&&(n.members=n.members||e.createSymbolTable(),e.hasDynamicName(t)?Ke(t,n):U(n.members,n,t,67108868,0),j(n,n.valueDeclaration,32));break;case 167:case 164:case 166:case 168:case 169:var a=r.parent,o=e.hasSyntacticModifier(r,32)?a.symbol.exports:a.symbol.members;e.hasDynamicName(t)?Ke(t,a.symbol):U(o,a.symbol,t,67108868,0,!0);break;case 300:if(e.hasDynamicName(t))break;r.commonJsModuleIndicator?U(r.symbol.exports,r.symbol,t,1048580,0):we(t,1,111550);break;default:e.Debug.failBadSyntaxKind(r)}}}function Ke(e,t){Ae(e,4,"__computed"),We(e,t)}function We(t,r){r&&(r.assignmentDeclarationMembers||(r.assignmentDeclarationMembers=new e.Map)).set(e.getNodeId(t),t)}function Ge(t,r){var n=t.expression,i=n.expression;e.setParent(i,n),e.setParent(n,t),e.setParent(t,r),Ze(i,t,!0,!0)}function $e(t){e.Debug.assert(!e.isIdentifier(t)),e.setParent(t.expression,t),Ze(t.expression,t,!1,!1)}function Ye(r,n,i,a,o){if(2097152&(null==r?void 0:r.flags))return r;if(i&&!a){var s=67110400;r=tt(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 Xe(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 Qe(t){return e.isBinaryExpression(t.parent)?300===function(t){for(;e.isBinaryExpression(t.parent);)t=t.parent;return t.parent}(t.parent).parent.kind:300===t.parent.parent.kind}function Ze(e,t,r,n){var i=et(e,p)||et(e,m),a=Qe(t);Xe(t,i=Ye(i,t.expression,a,r,n),r)}function et(t,r){if(void 0===r&&(r=p),e.isIdentifier(t))return d(r,t.escapedText);var n=et(t.expression);return n&&n.exports&&n.exports.get(e.getElementOrPropertyAccessName(t))}function tt(r,n,i){if(u(t,r))return t.symbol;if(e.isIdentifier(r))return i(r,et(r),n);var a=tt(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 rt(t){A&&Ie(t,t.name),e.isBindingPattern(t.name)||(e.isInJSFile(t)&&e.isRequireVariableDeclaration(t,!0)&&!e.getJSDocTypeTag(t)?we(t,2097152,2097152):e.isBlockOrCatchScoped(t)?Ne(t,2,111551):e.isParameterDeclaration(t)?we(t,1,111551):we(t,1,111550))}function nt(t){if((329!==t.kind||316===p.kind)&&(!A||8388608&t.flags||Ie(t,t.name),e.isBindingPattern(t.name)?Ae(t,1,"__"+t.parent.parameters.indexOf(t)):we(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 it(r,n,i){return t.isDeclarationFile||8388608&r.flags||!e.isAsyncFunction(r)||(C|=2048),y&&e.isObjectLiteralOrClassExpressionMethod(r)&&(r.flowNode=y),e.hasDynamicName(r)?Ae(r,n,"__computed"):we(r,n,i)}}();function l(t){return!(e.isFunctionDeclaration(t)||function(t){switch(t.kind){case 256:case 257:return!0;case 259:return 1!==r(t);case 258: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 u(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){null===e.tracing||void 0===e.tracing||e.tracing.push("bind","bindSourceFile",{path:t.path},!0),e.performance.mark("beforeBind"),e.perfLogger.logStartBindFile(""+t.fileName),c(t,r),e.perfLogger.logStopBindFile(),e.performance.mark("afterBind"),e.performance.measure("Bind","beforeBind","afterBind"),null===e.tracing||void 0===e.tracing||e.tracing.pop()},e.isExportsOrModuleExportsOrAlias=u}(d||(d={})),function(e){e.createGetSymbolWalker=function(t,r,n,i,a,o,s,c,l,u,d){return function(p){void 0===p&&(p=function(){return!0});var f=[],m=[];return{walkType:function(t){try{return g(t),{visitedTypes:e.getOwnValues(f),visitedSymbols:e.getOwnValues(m)}}finally{e.clear(f),e.clear(m)}},walkSymbol:function(t){try{return y(t),{visitedTypes:e.getOwnValues(f),visitedSymbols:e.getOwnValues(m)}}finally{e.clear(f),e.clear(m)}}};function g(t){if(t&&(!f[t.id]&&(f[t.id]=t,!y(t.symbol)))){if(524288&t.flags){var r=t,n=r.objectFlags;4&n&&function(t){g(t.target),e.forEach(d(t),g)}(t),32&n&&function(e){g(e.typeParameter),g(e.constraintType),g(e.templateType),g(e.modifiersType)}(t),3&n&&(h(a=t),e.forEach(a.typeParameters,g),e.forEach(i(a),g),g(a.thisType)),24&n&&h(r)}var a;262144&t.flags&&function(e){g(l(e))}(t),3145728&t.flags&&function(t){e.forEach(t.types,g)}(t),4194304&t.flags&&function(e){g(e.type)}(t),8388608&t.flags&&function(e){g(e.objectType),g(e.indexType),g(e.constraint)}(t)}}function _(i){var a=r(i);a&&g(a.type),e.forEach(i.typeParameters,g);for(var o=0,s=i.parameters;o<s.length;o++){y(s[o])}g(t(i)),g(n(i))}function h(e){g(c(e,0)),g(c(e,1));for(var t=a(e),r=0,n=t.callSignatures;r<n.length;r++){_(n[r])}for(var i=0,o=t.constructSignatures;i<o.length;i++){_(o[i])}for(var s=0,l=t.properties;s<l.length;s++){y(l[s])}}function y(t){if(!t)return!1;var r=e.getSymbolId(t);return!m[r]&&(m[r]=t,!p(t)||(g(o(t)),t.exports&&t.exports.forEach(y),e.forEach(t.declarations,(function(e){if(e.type&&177===e.type.kind){var t=e.type;y(s(u(t.exprName)))}})),!1))}}}}(d||(d={})),function(e){var t,r,n,o,c=/^".+"$/,l="(anonymous)",u=1,d=1,p=1,f=1;!function(e){e[e.AllowsSyncIterablesFlag=1]="AllowsSyncIterablesFlag",e[e.AllowsAsyncIterablesFlag=2]="AllowsAsyncIterablesFlag",e[e.AllowsStringInputFlag=4]="AllowsStringInputFlag",e[e.ForOfFlag=8]="ForOfFlag",e[e.YieldStarFlag=16]="YieldStarFlag",e[e.SpreadFlag=32]="SpreadFlag",e[e.DestructuringFlag=64]="DestructuringFlag",e[e.PossiblyOutOfBounds=128]="PossiblyOutOfBounds",e[e.Element=1]="Element",e[e.Spread=33]="Spread",e[e.Destructuring=65]="Destructuring",e[e.ForOf=13]="ForOf",e[e.ForAwaitOf=15]="ForAwaitOf",e[e.YieldStar=17]="YieldStar",e[e.AsyncYieldStar=19]="AsyncYieldStar",e[e.GeneratorReturnType=1]="GeneratorReturnType",e[e.AsyncGeneratorReturnType=2]="AsyncGeneratorReturnType"}(t||(t={})),function(e){e[e.Yield=0]="Yield",e[e.Return=1]="Return",e[e.Next=2]="Next"}(r||(r={})),function(e){e[e.Normal=0]="Normal",e[e.FunctionReturn=1]="FunctionReturn",e[e.GeneratorNext=2]="GeneratorNext",e[e.GeneratorYield=3]="GeneratorYield"}(n||(n={})),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"}(o||(o={}));var m,g,_,h,y,v,b,k,x,E=new e.Map(e.getEntries({string:1,number:2,bigint:4,boolean:8,symbol:16,undefined:65536,object:32,function:64})),S=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.SkipEtsComponentBody=32]="SkipEtsComponentBody"}(g||(g={})),function(e){e[e.None=0]="None",e[e.NoIndexSignatures=1]="NoIndexSignatures",e[e.Writing=2]="Writing",e[e.CacheSymbol=4]="CacheSymbol",e[e.NoTupleBoundsCheck=8]="NoTupleBoundsCheck",e[e.ExpressionPosition=16]="ExpressionPosition"}(_||(_={})),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.UnionIntersectionCheck=8]="UnionIntersectionCheck",e[e.InPropertyCheck=16]="InPropertyCheck"}(y||(y={})),function(e){e[e.IncludeReadonly=1]="IncludeReadonly",e[e.ExcludeReadonly=2]="ExcludeReadonly",e[e.IncludeOptional=4]="IncludeOptional",e[e.ExcludeOptional=8]="ExcludeOptional"}(v||(v={})),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"}(k||(k={})),function(e){e[e.Local=0]="Local",e[e.Parameter=1]="Parameter"}(x||(x={}));var D,w,T,C,A=e.and(L,(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.GetOrSetAccessor=3]="GetOrSetAccessor",e[e.PropertyAssignmentOrMethod=12]="PropertyAssignmentOrMethod"}(D||(D={})),function(e){e[e.None=0]="None",e[e.ExportValue=1]="ExportValue",e[e.ExportType=2]="ExportType",e[e.ExportNamespace=4]="ExportNamespace"}(w||(w={})),function(e){e[e.None=0]="None",e[e.StrongArityForUntypedJS=1]="StrongArityForUntypedJS",e[e.VoidIsNonOptional=2]="VoidIsNonOptional"}(T||(T={})),function(e){e[e.Uppercase=0]="Uppercase",e[e.Lowercase=1]="Lowercase",e[e.Capitalize=2]="Capitalize",e[e.Uncapitalize=3]="Uncapitalize"}(C||(C={}));var N,P=new e.Map(e.getEntries({Uppercase:0,Lowercase:1,Capitalize:2,Uncapitalize:3}));function I(){}function F(){this.flags=0}function O(e){return e.id||(e.id=d,d++),e.id}function R(e){return e.id||(e.id=u,u++),e.id}function M(t,r){var n=e.getModuleInstanceState(t);return 1===n||r&&2===n}function L(e){return 253!==e.kind&&166!==e.kind||!!e.body}function j(t){switch(t.parent.kind){case 268:case 273:return e.isIdentifier(t);default:return e.isDeclarationName(t)}}function B(e){switch(e.kind){case 265:case 263:case 266:case 268:return!0;case 78:return 268===e.parent.kind;default:return!1}}function z(e){switch(e){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function U(e){return!!(1&e.flags)}function q(e){return!!(2&e.flags)}e.getNodeId=O,e.getSymbolId=R,e.isInstantiatedModule=M,e.createTypeChecker=function(t,r){var n,o,u,d,m=e.memoize((function(){var r=new e.Set;return t.getSourceFiles().forEach((function(t){t.resolvedModules&&e.forEachEntry(t.resolvedModules,(function(e){e&&e.packageId&&r.add(e.packageId.name)}))})),r})),g=e.objectAllocator.getSymbolConstructor(),_=e.objectAllocator.getTypeConstructor(),h=e.objectAllocator.getSignatureConstructor(),y=0,v=0,b=0,k=0,x=0,D=0,w=[],T=e.createSymbolTable(),C=[1],J=t.getCompilerOptions(),V=e.getEmitScriptTarget(J),H=e.getEmitModuleKind(J),K=e.getAllowSyntheticDefaultImports(J),W=e.getStrictOptionValue(J,"strictNullChecks"),G=e.getStrictOptionValue(J,"strictFunctionTypes"),$=e.getStrictOptionValue(J,"strictBindCallApply"),Y=e.getStrictOptionValue(J,"strictPropertyInitialization"),X=e.getStrictOptionValue(J,"noImplicitAny"),Q=e.getStrictOptionValue(J,"noImplicitThis"),Z=!!J.keyofStringsOnly,ee=J.suppressExcessPropertyErrors?0:32768,te=function(){var r,n=t.getResolvedTypeReferenceDirectives();n&&(r=new e.Map,n.forEach((function(e,r){if(e&&e.resolvedFileName){var n=t.getSourceFile(e.resolvedFileName);n&&a(n,r)}})));return{getReferencedExportContainer:oE,getReferencedImportDeclaration:sE,getReferencedDeclarationWithCollidingName:lE,isDeclarationWithCollidingName:uE,isValueAliasDeclaration:function(t){var r=e.getParseTreeNode(t);return!r||dE(r)},hasGlobalName:NE,isReferencedAliasDeclaration:function(t,r){var n=e.getParseTreeNode(t);return!n||gE(n,r)},isReferenced:function(t){var r=e.getParseTreeNode(t);return!!r&&function(e){var t=Ai(e);return!!(null==t?void 0:t.isReferenced)}(r)},getNodeCheckFlags:function(t){var r=e.getParseTreeNode(t);return r?kE(r):0},isTopLevelValueImportEqualsWithEntityName:pE,isDeclarationVisible:Ea,isImplementationOfOverload:_E,isRequiredInitializedParameter:hE,isOptionalUninitializedParameterProperty:yE,isExpandoFunctionDeclaration:vE,getPropertiesOfContainerFunction:bE,createTypeOfDeclaration:TE,createReturnTypeOfSignatureDeclaration:CE,createTypeOfExpression:AE,createLiteralConstValue:OE,isSymbolAccessible:ra,isEntityNameVisible:ca,getConstantValue:function(t){var r=e.getParseTreeNode(t,EE);return r?SE(r):void 0},collectLinkedAliases:Sa,getReferencedValueDeclaration:IE,getTypeReferenceSerializationKind:wE,isOptionalParameter:Tc,moduleExportsSomeValue:aE,isArgumentsLocalBinding:iE,getExternalModuleFileFromDeclaration:function(t){var r=e.getParseTreeNode(t,e.hasPossibleExternalModuleReference);return r&&LE(r)},getTypeReferenceDirectivesForEntityName:function(e){if(!r)return;var t=790504;(78===e.kind&&Nm(e)||202===e.kind&&!function(e){return e.parent&&225===e.parent.kind&&e.parent.parent&&289===e.parent.parent.kind}(e))&&(t=1160127);var n=fi(e,t,!0);return n&&n!==ke?i(n,t):void 0},getTypeReferenceDirectivesForSymbol:i,isLiteralConstDeclaration:FE,isLateBound:function(t){var r=e.getParseTreeNode(t,e.isDeclaration),n=r&&Ai(r);return!!(n&&4096&e.getCheckFlags(n))},getJsxFactoryEntity:RE,getJsxFragmentFactoryEntity:ME,getAllAccessorDeclarations:function(t){var r=169===(t=e.getParseTreeNode(t,e.isGetOrSetAccessorDeclaration)).kind?168:169,n=e.getDeclarationOfKind(Ai(t),r);return{firstAccessor:n&&n.pos<t.pos?n:t,secondAccessor:n&&n.pos<t.pos?t:n,setAccessor:169===t.kind?t:n,getAccessor:168===t.kind?t:n}},getSymbolOfExternalModuleSpecifier:function(e){return _i(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=Cn(t);return!!n&&e.contains(n.capturedBlockScopeBindings,Ai(r))}(n,i)},getDeclarationStatementsForSourceFile:function(t,r,n,i){var a=e.getParseTreeNode(t);e.Debug.assert(a&&300===a.kind,"Non-sourcefile node passed into getDeclarationsForSourceFile");var o=Ai(t);return o?o.exports?re.symbolTableToDeclarationStatements(o.exports,t,r,n,i):[]:t.locals?re.symbolTableToDeclarationStatements(t.locals,t,r,n,i):[]},isImportRequiredByAugmentation:function(t){var r=e.getSourceFileOfNode(t);if(!r.symbol)return!1;var n=LE(t);if(!n)return!1;if(n===r)return!1;for(var i=Di(r.symbol),a=0,o=e.arrayFrom(i.values());a<o.length;a++){var s=o[a];if(s.mergeId)for(var c=0,l=Ci(s).declarations;c<l.length;c++){var u=l[c];if(e.getSourceFileOfNode(u)===n)return!0}}return!1}};function i(t,n){if(r&&function(t){if(!t.declarations)return!1;var n=t;for(;;){var i=Ni(n);if(!i)break;n=i}if(n.valueDeclaration&&300===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),l=r.get(c.path);if(!l)return;(i||(i=[])).push(l)}}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,l=e.resolveTripleslashReference(c,n.fileName),u=t.getSourceFile(l);u&&a(u,i)}}}}(),re=function(){return{typeToTypeNode:function(e,t,n,i){return r(t,n,i,(function(t){return s(e,t)}))},indexInfoToIndexSignatureDeclaration:function(e,t,n,i,a){return r(n,i,a,(function(r){return p(e,t,r,void 0)}))},signatureToSignatureDeclaration:function(e,t,n,i,a){return r(n,i,a,(function(r){return f(e,t,r)}))},symbolToEntityName:function(e,t,n,i,a){return r(n,i,a,(function(r){return T(e,r,t,!1)}))},symbolToExpression:function(e,t,n,i,a){return r(n,i,a,(function(r){return C(e,r,t)}))},symbolToTypeParameterDeclarations:function(e,t,n,i){return r(t,n,i,(function(t){return b(e,t)}))},symbolToParameterDeclaration:function(e,t,n,i){return r(t,n,i,(function(t){return _(e,t)}))},typeParameterToDeclaration:function(e,t,n,i){return r(t,n,i,(function(t){return g(e,t)}))},symbolTableToDeclarationStatements:function(t,n,o,c,l){return r(n,o,c,(function(r){return function(t,r,n){var o=se(e.factory.createPropertyDeclaration,166,!0),c=se((function(t,r,n,i,a){return e.factory.createPropertySignature(r,n,i,a)}),165,!1),l=r.enclosingDeclaration,u=[],d=new e.Set,m=[],_=r;r=a(a({},_),{usedSymbolNames:new e.Set(_.usedSymbolNames),remappedSymbolNames:new e.Map,tracker:a(a({},_.tracker),{trackSymbol:function(e,t,n){if(0===ra(e,t,n,!1).accessibility){var i=v(e,r,n);4&e.flags||U(i[0])}else _.tracker&&_.tracker.trackSymbol&&_.tracker.trackSymbol(e,t,n)}})}),e.forEachEntry(t,(function(t,r){_e(t,e.unescapeLeadingUnderscores(r))}));var h=!n,y=t.get("export=");y&&t.size>1&&2097152&y.flags&&(t=e.createSymbolTable()).set("export=",y);return O(t),w(u);function b(e){return!!e&&78===e.kind}function k(t){return e.isVariableStatement(t)?e.filter(e.map(t.declarationList.declarations,e.getNameOfDeclaration),b):e.filter([e.getNameOfDeclaration(t)],b)}function x(t){var r=e.find(t,e.isExportAssignment),n=e.findIndex(t,e.isModuleDeclaration),a=-1!==n?t[n]:void 0;if(a&&r&&r.isExportEquals&&e.isIdentifier(r.expression)&&e.isIdentifier(a.name)&&e.idText(a.name)===e.idText(r.expression)&&a.body&&e.isModuleBlock(a.body)){var o=e.filter(t,(function(t){return!!(1&e.getEffectiveModifierFlags(t))})),s=a.name,c=a.body;if(e.length(o)&&(a=e.factory.updateModuleDeclaration(a,a.decorators,a.modifiers,a.name,c=e.factory.updateModuleBlock(c,e.factory.createNodeArray(i(i([],a.body.statements),[e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports(e.map(e.flatMap(o,(function(e){return k(e)})),(function(t){return e.factory.createExportSpecifier(void 0,t)}))),void 0)])))),t=i(i(i([],t.slice(0,n)),[a]),t.slice(n+1))),!e.find(t,(function(t){return t!==a&&e.nodeHasName(t,s)}))){u=[];var l=!e.some(c.statements,(function(t){return e.hasSyntacticModifier(t,1)||e.isExportAssignment(t)||e.isExportDeclaration(t)}));e.forEach(c.statements,(function(e){H(e,l?1:0)})),t=i(i([],e.filter(t,(function(e){return e!==a&&e!==r}))),u)}}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=i(i([],n),[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)])}var a=e.filter(t,(function(t){return e.isExportDeclaration(t)&&!!t.moduleSpecifier&&!!t.exportClause&&e.isNamedExports(t.exportClause)}));if(e.length(a)>1){var o=e.group(a,(function(t){return e.isStringLiteral(t.moduleSpecifier)?">"+t.moduleSpecifier.text:">"}));if(o.length!==a.length)for(var s=function(r){r.length>1&&(t=i(i([],e.filter(t,(function(e){return-1===r.indexOf(e)}))),[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)]))},c=0,l=o;c<l.length;c++){s(l[c])}}return t}function D(t){var r=e.findIndex(t,(function(t){return e.isExportDeclaration(t)&&!t.moduleSpecifier&&!!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]=N(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):e.orderedRemoveItemAt(t,r)}return t}function w(t){return t=D(t=S(t=x(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)||Vx(t)}function N(t){var r=-3&e.getEffectiveModifierFlags(t)|1;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||m.push(new e.Map),t.forEach((function(e){M(e,!1,!!n)})),r||(m[m.length-1].forEach((function(e){M(e,!0,!!n)})),m.pop())}function M(t,n,i){var o=Ci(t);if(!d.has(R(o))&&(d.add(R(o)),!n||e.length(t.declarations)&&e.some(t.declarations,(function(t){return!!e.findAncestor(t,(function(e){return e===l}))})))){var s=r;r=function(t){var r=a({},t);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));return r}(r);var c=z(t,n,i);return r=s,c}}function z(t,i,a){var o=e.unescapeLeadingUnderscores(t.escapedName),s="default"===t.escapedName;if(!i||131072&r.flags||!e.isStringANonContextualKeyword(o)||s){var c=s&&!!(-113&t.flags||16&t.flags&&e.length(Hs(_o(t))))&&!(2097152&t.flags),u=!c&&!i&&e.isStringANonContextualKeyword(o)&&!s;(c||u)&&(i=!0);var d=(i?0:1)|(s&&!c?512:0),p=1536&t.flags&&7&t.flags&&"export="!==t.escapedName,f=p&&oe(_o(t),t);if((8208&t.flags||f)&&Q(_o(t),t,_e(t,o),d),524288&t.flags&&K(t,o,d),7&t.flags&&"export="!==t.escapedName&&!(4194304&t.flags)&&!(32&t.flags)&&!f)if(a){ae(t)&&(u=!1,c=!1)}else{var m=_o(t),g=_e(t,o);if(16&t.flags||!oe(m,t)){var _=2&t.flags?jg(t)?2:1:void 0,h=!c&&4&t.flags?me(g,t):g,y=t.declarations&&e.find(t.declarations,(function(t){return e.isVariableDeclaration(t)}));y&&e.isVariableDeclarationList(y.parent)&&1===y.parent.declarations.length&&(y=y.parent.parent);var v=e.find(t.declarations,e.isPropertyAccessExpression);if(v&&e.isBinaryExpression(v.parent)&&e.isIdentifier(v.parent.right)&&m.symbol&&e.isSourceFile(m.symbol.valueDeclaration)){var b=g===v.parent.right.escapedText?void 0:v.parent.right;H(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([e.factory.createExportSpecifier(b,g)])),0),r.tracker.trackSymbol(m.symbol,r.enclosingDeclaration,111551)}else{H(e.setTextRange(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(h,void 0,L(r,m,t,l,U,n))],_)),y),h!==g?-2&d:d),h===g||i||(H(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([e.factory.createExportSpecifier(h,g)])),0),u=!1,c=!1)}}else Q(m,t,g,d)}if(384&t.flags&&X(t,o,d),32&t.flags&&(4&t.flags&&e.isBinaryExpression(t.valueDeclaration.parent)&&e.isClassExpression(t.valueDeclaration.parent.right)?ne(t,_e(t,o),d):re(t,_e(t,o),d)),(1536&t.flags&&(!p||$(t))||f)&&Y(t,o,d),64&t.flags&&!(32&t.flags)&&W(t,o,d),2097152&t.flags&&ne(t,_e(t,o),d),4&t.flags&&"export="===t.escapedName&&ae(t),8388608&t.flags)for(var k=0,x=t.declarations;k<x.length;k++){var S=x[k],D=gi(S,S.moduleSpecifier);D&&H(e.factory.createExportDeclaration(void 0,void 0,!1,void 0,e.factory.createStringLiteral(E(D,r))),0)}c?H(e.factory.createExportAssignment(void 0,void 0,!1,e.factory.createIdentifier(_e(t,o))),0):u&&H(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([e.factory.createExportSpecifier(_e(t,o),o)])),0)}else r.encounteredError=!0}function U(t){if(!e.some(t.declarations,e.isParameterDeclaration)){e.Debug.assertIsDefined(m[m.length-1]),me(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)}));m[r?0:m.length-1].set(R(t),t)}}function q(t){return e.isSourceFile(t)&&(e.isExternalOrCommonJsModule(t)||e.isJsonSourceFile(t))||e.isAmbientModule(t)&&!e.isGlobalScopeAugmentation(t)}function H(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&&(q(a)||e.isModuleDeclaration(a))&&A(t)&&(i|=1),!h||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)))}u.push(t)}function K(t,i,a){var o=Ro(t),c=Tn(t).typeParameters,l=e.map(c,(function(e){return g(e,r)})),u=e.find(t.declarations,e.isJSDocTypeAlias),d=u?u.comment||u.parent.comment:void 0,p=r.flags;r.flags|=8388608;var f=r.enclosingDeclaration;r.enclosingDeclaration=u;var m=u&&u.typeExpression&&e.isJSDocTypeExpression(u.typeExpression)&&B(r,u.typeExpression.type,U,n)||s(o,r);H(e.setSyntheticLeadingComments(e.factory.createTypeAliasDeclaration(void 0,void 0,_e(t,i),l,m),d?[{kind:3,text:"*\n * "+d.replace(/\n/g,"\n * ")+"\n ",pos:-1,end:-1,hasTrailingNewLine:!0}]:[]),a),r.flags=p,r.enclosingDeclaration=f}function W(t,n,a){var o=Oo(t),s=Eo(t),c=e.map(s,(function(e){return g(e,r)})),l=Po(o),u=e.length(l)?fu(l):void 0,d=e.flatMap(Hs(o),(function(e){return ce(e,u)})),p=le(0,o,u,170),f=le(1,o,u,171),m=ue(o,u),_=e.length(l)?[e.factory.createHeritageClause(94,e.mapDefined(l,(function(e){return pe(e,111551)})))]:void 0;H(e.factory.createInterfaceDeclaration(void 0,void 0,_e(t,n),c,_,i(i(i(i([],m),f),p),d)),a)}function G(t){return t.exports?e.filter(e.arrayFrom(t.exports.values()),ee):[]}function $(t){return e.every(G(t),(function(e){return!(111551&ii(e).flags)}))}function Y(t,n,i){var a=G(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;e.length(s)&&Z(s,u=_e(t,n),i,!!(67108880&t.flags));if(e.length(c)){var l=e.getSourceFileOfNode(r.enclosingDeclaration),u=_e(t,n),d=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=_e(n,o),c=n.declarations&&Vn(n);if(!l||(c?l===e.getSourceFileOfNode(c):e.some(n.declarations,(function(t){return e.getSourceFileOfNode(t)===l})))){var u=c&&ri(c,!0);U(u||n);var d=u?_e(u,e.unescapeLeadingUnderscores(u.escapedName)):s;return e.factory.createExportSpecifier(o===d?void 0:d,o)}null===(a=null===(i=r.tracker)||void 0===i?void 0:i.reportNonlocalAugmentation)||void 0===a||a.call(i,l,t,n)}))))]);H(e.factory.createModuleDeclaration(void 0,void 0,e.factory.createIdentifier(u),d,16),0)}}function X(t,r,n){H(e.factory.createEnumDeclaration(void 0,e.factory.createModifiersFromModifierFlags(Bv(t)?2048:0),_e(t,r),e.map(e.filter(Hs(_o(t)),(function(e){return!!(8&e.flags)})),(function(t){var r=t.declarations&&t.declarations[0]&&e.isEnumMember(t.declarations[0])?SE(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 Q(t,i,a,o){for(var s=0,c=hc(t,0);s<c.length;s++){var l=c[s],u=f(l,253,r,{name:e.factory.createIdentifier(a),privateSymbolVisitor:U,bundledImports:n});H(e.setTextRange(u,l.declaration&&e.isVariableDeclaration(l.declaration.parent)&&l.declaration.parent.parent||l.declaration),o)}1536&i.flags&&i.exports&&i.exports.size||Z(e.filter(Hs(t),ee),a,o,!0)}function Z(t,n,i,o){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 d=u;u=[];var p=h;h=!1;var f=a(a({},r),{enclosingDeclaration:c}),m=r;r=f,O(e.createSymbolTable(s),o,!0),r=m,h=p;var g=u;u=d;var _=e.map(g,(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(t.expression,e.factory.createIdentifier("default"))])):t})),y=e.every(_,(function(t){return e.hasSyntacticModifier(t,1)}))?e.map(_,I):_;H(c=e.factory.updateModuleDeclaration(c,c.decorators,c.modifiers,c.name,e.factory.createModuleBlock(y)),i)}}function ee(t){return!!(2887656&t.flags)||!(4194304&t.flags||"prototype"===t.escapedName||t.valueDeclaration&&32&e.getEffectiveModifierFlags(t.valueDeclaration)&&e.isClassLike(t.valueDeclaration.parent))}function te(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 l(void 0);var c=void 0;if(c=(i=j(o,r,U)).introducesError,o=i.node,c)return l(void 0)}return l(e.factory.createExpressionWithTypeArguments(o,e.map(t.typeArguments,(function(e){return B(r,e,U,n)||s(xd(e),r)}))));function l(e){return r.enclosingDeclaration=a,e}}));if(i.length===t.length)return i}function re(t,n,a){var s,c=e.find(t.declarations,e.isClassLike),l=r.enclosingDeclaration;r.enclosingDeclaration=c||l;var u=Eo(t),d=e.map(u,(function(e){return g(e,r)})),p=Oo(t),f=Po(p),m=c&&e.getEffectiveImplementsTypeNodes(c),_=m&&te(m)||e.mapDefined(function(t){for(var r=e.emptyArray,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 l=xd(c[s]);l!==we&&(r===e.emptyArray?r=[l]:r.push(l))}}return r}(p),fe),h=_o(t),y=!!(null===(s=h.symbol)||void 0===s?void 0:s.valueDeclaration)&&e.isClassLike(h.symbol.valueDeclaration),v=y?Ao(h):Ee,b=i(i([],e.length(f)?[e.factory.createHeritageClause(94,e.map(f,(function(e){return de(e,v,n)})))]:[]),e.length(_)?[e.factory.createHeritageClause(117,_)]:[]),k=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=Hs(ls(o[a],t.thisType));s<c.length;s++){var l=c[s],u=i.get(l.escapedName);u&&!Qp(u,l)&&i.delete(l.escapedName)}return e.arrayFrom(i.values())}(p,f,Hs(p)),x=e.filter(k,(function(t){var r=t.valueDeclaration;return r&&!(e.isNamedDeclaration(r)&&e.isPrivateIdentifier(r.name))})),E=e.some(k,(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,S=e.flatMap(x,(function(e){return o(e,!1,f[0])})),D=e.flatMap(e.filter(Hs(h),(function(e){return!(4194304&e.flags||"prototype"===e.escapedName||ee(e))})),(function(e){return o(e,!0,v)})),w=!y&&!!t.valueDeclaration&&e.isInJSFile(t.valueDeclaration)&&!e.some(hc(h,1))?[e.factory.createConstructorDeclaration(void 0,e.factory.createModifiersFromModifierFlags(8),[],void 0)]:le(1,h,v,167),T=ue(p,f[0]);r.enclosingDeclaration=l,H(e.setTextRange(e.factory.createClassDeclaration(void 0,void 0,n,d,b,i(i(i(i(i([],T),D),w),S),E)),t.declarations&&e.filter(t.declarations,(function(t){return e.isClassDeclaration(t)||e.isClassExpression(t)}))[0]),a)}function ne(t,n,i){var a,o,s,c,l,u=Vn(t);if(!u)return e.Debug.fail();var d=Ci(ri(u,!0));if(d){var p=e.unescapeLeadingUnderscores(d.escapedName);"export="===p&&(J.esModuleInterop||J.allowSyntheticDefaultImports)&&(p="default");var f=_e(d,p);switch(U(d),u.kind){case 199:if(251===(null===(o=null===(a=u.parent)||void 0===a?void 0:a.parent)||void 0===o?void 0:o.kind)){var m=E(d.parent||d,r),g=u.propertyName;H(e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,void 0,e.factory.createNamedImports([e.factory.createImportSpecifier(g&&e.isIdentifier(g)?e.factory.createIdentifier(e.idText(g)):void 0,e.factory.createIdentifier(n))])),e.factory.createStringLiteral(m)),0);break}e.Debug.failBadSyntaxKind((null===(s=u.parent)||void 0===s?void 0:s.parent)||u,"Unhandled binding element grandparent kind in declaration serialization");break;case 292:218===(null===(l=null===(c=u.parent)||void 0===c?void 0:c.parent)||void 0===l?void 0:l.kind)&&ie(e.unescapeLeadingUnderscores(t.escapedName),f);break;case 251:if(e.isPropertyAccessExpression(u.initializer)){var _=u.initializer,h=e.factory.createUniqueName(n),y=E(d.parent||d,r);H(e.factory.createImportEqualsDeclaration(void 0,void 0,!1,h,e.factory.createExternalModuleReference(e.factory.createStringLiteral(y))),0),H(e.factory.createImportEqualsDeclaration(void 0,void 0,!1,e.factory.createIdentifier(n),e.factory.createQualifiedName(h,_.name)),i);break}case 263:if("export="===d.escapedName&&e.some(d.declarations,e.isJsonSourceFile)){ae(t);break}var v=!(512&d.flags||e.isVariableDeclaration(u));H(e.factory.createImportEqualsDeclaration(void 0,void 0,!1,e.factory.createIdentifier(n),v?T(d,r,67108863,!1):e.factory.createExternalModuleReference(e.factory.createStringLiteral(E(d,r)))),v?i:0);break;case 262:H(e.factory.createNamespaceExportDeclaration(e.idText(u.name)),0);break;case 265:H(e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,e.factory.createIdentifier(n),void 0),e.factory.createStringLiteral(E(d.parent||d,r))),0);break;case 266:H(e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,void 0,e.factory.createNamespaceImport(e.factory.createIdentifier(n))),e.factory.createStringLiteral(E(d,r))),0);break;case 272:H(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamespaceExport(e.factory.createIdentifier(n)),e.factory.createStringLiteral(E(d,r))),0);break;case 268:H(e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,void 0,e.factory.createNamedImports([e.factory.createImportSpecifier(n!==p?e.factory.createIdentifier(p):void 0,e.factory.createIdentifier(n))])),e.factory.createStringLiteral(E(d.parent||d,r))),0);break;case 273:var b=u.parent.parent.moduleSpecifier;ie(e.unescapeLeadingUnderscores(t.escapedName),b?p:f,b&&e.isStringLiteralLike(b)?e.factory.createStringLiteral(b.text):void 0);break;case 269:ae(t);break;case 218:case 202:case 203:"default"===t.escapedName||"export="===t.escapedName?ae(t):ie(n,f);break;default:return e.Debug.failBadSyntaxKind(u,"Unhandled alias declaration kind in symbol serializer!")}}}function ie(t,r,n){H(e.factory.createExportDeclaration(void 0,void 0,!1,e.factory.createNamedExports([e.factory.createExportSpecifier(t!==r?r:void 0,t)]),n),0)}function ae(t){if(4194304&t.flags)return!1;var i=e.unescapeLeadingUnderscores(t.escapedName),a="export="===i,o=a||"default"===i,s=t.declarations&&Vn(t),c=s&&ri(s,!0);if(c&&e.length(c.declarations)&&e.some(c.declarations,(function(t){return e.getSourceFileOfNode(t)===e.getSourceFileOfNode(l)}))){var d=s&&(e.isExportAssignment(s)||e.isBinaryExpression(s)?e.getExportAssignmentExpression(s):e.getPropertyAssignmentAliasLikeExpression(s)),p=d&&e.isEntityNameExpression(d)?function(t){switch(t.kind){case 78:return t;case 158:do{t=t.left}while(78!==t.kind);return t;case 202:do{if(e.isModuleExportsAccessExpression(t.expression)&&!e.isPrivateIdentifier(t.name))return t.name;t=t.expression}while(78!==t.kind);return t}}(d):void 0,f=p&&fi(p,67108863,!0,!0,l);(f||c)&&U(f||c);var m=r.tracker.trackSymbol;if(r.tracker.trackSymbol=e.noop,o)u.push(e.factory.createExportAssignment(void 0,void 0,a,C(c,r,67108863)));else if(p===d&&p)ie(i,e.idText(p));else if(d&&e.isClassExpression(d))ie(i,_e(c,e.symbolName(c)));else{var g=me(i,t);H(e.factory.createImportEqualsDeclaration(void 0,void 0,!1,e.factory.createIdentifier(g),T(c,r,67108863,!1)),0),ie(i,g)}return r.tracker.trackSymbol=m,!0}g=me(i,t);var _=Hf(_o(Ci(t)));return oe(_,t)?Q(_,t,g,o?0:1):H(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(g,void 0,L(r,_,t,l,U,n))],2)),c&&4&c.flags&&"export="===c.escapedName?2:i===g?1:0),o?(u.push(e.factory.createExportAssignment(void 0,void 0,a,e.factory.createIdentifier(g))),!0):i!==g&&(ie(i,g),!0)}function oe(t,n){var i=e.getSourceFileOfNode(r.enclosingDeclaration);return 48&e.getObjectFlags(t)&&!bc(t,0)&&!bc(t,1)&&!_a(t)&&!(!e.length(e.filter(Hs(t),ee))&&!e.length(hc(t,0)))&&!e.length(hc(t,1))&&!F(n,l)&&!(t.symbol&&e.some(t.symbol.declarations,(function(t){return e.getSourceFileOfNode(t)!==i})))&&!e.some(Hs(t),(function(e){return ts(e.escapedName)}))&&!e.some(Hs(t),(function(t){return e.some(t.declarations,(function(t){return e.getSourceFileOfNode(t)!==i}))}))&&e.every(Hs(t),(function(t){return e.isIdentifierText(e.symbolName(t),V)}))}function se(t,i,a){return function(o,s,c){var u=e.getDeclarationModifierFlagsFromSymbol(o),d=!!(8&u);if(s&&2887656&o.flags)return[];if(4194304&o.flags||c&&gc(c,o.escapedName)&&Nv(gc(c,o.escapedName))===Nv(o)&&(16777216&o.flags)==(16777216&gc(c,o.escapedName).flags)&&np(_o(o),Na(c,o.escapedName)))return[];var p=-257&u|(s?32:0),m=P(o,r),g=e.find(o.declarations,e.or(e.isPropertyDeclaration,e.isAccessor,e.isVariableDeclaration,e.isPropertySignature,e.isBinaryExpression,e.isPropertyAccessExpression));if(98304&o.flags&&a){var _=[];if(65536&o.flags&&_.push(e.setTextRange(e.factory.createSetAccessorDeclaration(void 0,e.factory.createModifiersFromModifierFlags(p),m,[e.factory.createParameterDeclaration(void 0,void 0,void 0,"arg",void 0,d?void 0:L(r,_o(o),o,l,U,n))],void 0),e.find(o.declarations,e.isSetAccessor)||g)),32768&o.flags){var h=8&u;_.push(e.setTextRange(e.factory.createGetAccessorDeclaration(void 0,e.factory.createModifiersFromModifierFlags(p),m,[],h?void 0:L(r,_o(o),o,l,U,n),void 0),e.find(o.declarations,e.isGetAccessor)||g))}return _}if(98311&o.flags)return e.setTextRange(t(void 0,e.factory.createModifiersFromModifierFlags((Nv(o)?64:0)|p),m,16777216&o.flags?e.factory.createToken(57):void 0,d?void 0:L(r,_o(o),o,l,U,n),void 0),e.find(o.declarations,e.or(e.isPropertyDeclaration,e.isVariableDeclaration))||g);if(8208&o.flags){var y=hc(_o(o),0);if(8&p)return e.setTextRange(t(void 0,e.factory.createModifiersFromModifierFlags((Nv(o)?64:0)|p),m,16777216&o.flags?e.factory.createToken(57):void 0,void 0,void 0),e.find(o.declarations,e.isFunctionLikeDeclaration)||y[0]&&y[0].declaration||o.declarations[0]);for(var v=[],b=0,k=y;b<k.length;b++){var x=k[b],E=f(x,i,r,{name:m,questionToken:16777216&o.flags?e.factory.createToken(57):void 0,modifiers:p?e.factory.createModifiersFromModifierFlags(p):void 0});v.push(e.setTextRange(E,x.declaration))}return v}return e.Debug.fail("Unhandled class member kind! "+(o.__debugFlags||o.flags))}}function ce(e,t){return c(e,!1,t)}function le(t,n,i,a){var o=hc(n,t);if(1===t){if(!i&&e.every(o,(function(t){return 0===e.length(t.parameters)})))return[];if(i){var s=hc(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,l=0;l<s.length;l++)if(!ef(o[l],s[l],!1,!1,!0,ip)){c=!0;break}if(!c)return[]}}for(var u=0,d=0,p=o;d<p.length;d++){var m=p[d];m.declaration&&(u|=e.getSelectedEffectiveModifierFlags(m.declaration,24))}if(u)return[e.setTextRange(e.factory.createConstructorDeclaration(void 0,e.factory.createModifiersFromModifierFlags(u),[],void 0),o[0].declaration)]}for(var g=[],_=0,h=o;_<h.length;_++){var y=h[_],v=f(y,a,r);g.push(e.setTextRange(v,y.declaration))}return g}function ue(e,t){for(var n=[],i=0,a=[0,1];i<a.length;i++){var o=a[i],s=bc(e,o);if(s){if(t){var c=bc(t,o);if(c&&np(s.type,c.type))continue}n.push(p(s,o,r,void 0))}}return n}function de(t,n,i){var a=pe(t,111551);if(a)return a;var o=me(i+"_base");return H(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(o,void 0,s(n,r))],2)),0),e.factory.createExpressionWithTypeArguments(e.factory.createIdentifier(o),void 0)}function pe(t,n){var i,a;if(t.target&&ea(t.target.symbol,l,n)?(i=e.map(ll(t),(function(e){return s(e,r)})),a=C(t.target.symbol,r,788968)):t.symbol&&ea(t.symbol,l,n)&&(a=C(t.symbol,r,788968)),a)return e.factory.createExpressionWithTypeArguments(a,i)}function fe(t){var n=pe(t,788968);return n||(t.symbol?e.factory.createExpressionWithTypeArguments(C(t.symbol,r,788968),void 0):void 0)}function me(e,t){var n,i,a=t?R(t):void 0;if(a&&r.remappedSymbolNames.has(a))return r.remappedSymbolNames.get(a);t&&(e=ge(t,e));for(var o=0,s=e;null===(n=r.usedSymbolNames)||void 0===n?void 0:n.has(e);)e=s+"_"+ ++o;return null===(i=r.usedSymbolNames)||void 0===i||i.add(e),a&&r.remappedSymbolNames.set(a,e),e}function ge(t,n){if("default"===n||"__class"===n||"__function"===n){var i=r.flags;r.flags|=16777216;var a=xa(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"),n=e.isIdentifierText(n,V)&&!e.isStringANonContextualKeyword(n)?n:"_"+n.replace(/[^a-zA-Z0-9]/g,"_")}function _e(e,t){var n=R(e);return r.remappedSymbolNames.has(n)?r.remappedSymbolNames.get(n):(t=ge(e,t),r.remappedSymbolNames.set(n,t),t)}}(t,r,l)}))}};function r(r,n,i,a){var o,s;e.Debug.assert(void 0===r||!(8&r.flags));var c={enclosingDeclaration:r,flags:n||0,tracker:i&&i.trackSymbol?i:{trackSymbol:e.noop,moduleResolverHost:134217728&n?{getCommonSourceDirectory:t.getCommonSourceDirectory?function(){return t.getCommonSourceDirectory()}:function(){return""},getSourceFiles:function(){return t.getSourceFiles()},getCurrentDirectory:function(){return t.getCurrentDirectory()},getSymlinkCache:e.maybeBind(t,t.getSymlinkCache),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()}}:void 0},encounteredError:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0},l=a(c);return c.truncating&&1&c.flags&&(null===(s=null===(o=c.tracker)||void 0===o?void 0:o.reportTruncationError)||void 0===s||s.call(o)),c.encounteredError?void 0:l}function o(t){return t.truncating?t.truncating:t.truncating=t.approximateLength>(1&t.flags?e.noTruncationMaximumTruncationLength:e.defaultMaximumTruncationLength)}function s(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(129)):void(r.encounteredError=!0);if(536870912&r.flags||(t=uc(t)),1&t.flags)return r.approximateLength+=3,e.factory.createKeywordTypeNode(t===Ce?137:129);if(2&t.flags)return e.factory.createKeywordTypeNode(153);if(4&t.flags)return r.approximateLength+=6,e.factory.createKeywordTypeNode(148);if(8&t.flags)return r.approximateLength+=6,e.factory.createKeywordTypeNode(145);if(64&t.flags)return r.approximateLength+=6,e.factory.createKeywordTypeNode(156);if(16&t.flags)return r.approximateLength+=7,e.factory.createKeywordTypeNode(132);if(1024&t.flags&&!(1048576&t.flags)){var a=Ni(t.symbol),c=S(a,r,788968);if(Jo(a)===t)return c;var g=e.symbolName(t.symbol);return e.isIdentifierText(g,0)?V(c,e.factory.createTypeReferenceNode(g,void 0)):e.isImportTypeNode(c)?(c.isTypeOf=!0,e.factory.createIndexedAccessTypeNode(c,e.factory.createLiteralTypeNode(e.factory.createStringLiteral(g)))):e.isTypeReferenceNode(c)?e.factory.createIndexedAccessTypeNode(e.factory.createTypeQueryNode(c.typeName),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(g))):e.Debug.fail("Unhandled type node kind returned from `symbolToTypeNode`.")}if(1056&t.flags)return S(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 _=t.value;return r.approximateLength+=(""+_).length,e.factory.createLiteralTypeNode(_<0?e.factory.createPrefixUnaryExpression(40,e.factory.createNumericLiteral(-_)):e.factory.createNumericLiteral(_))}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(Zi(t.symbol,r.enclosingDeclaration))return r.approximateLength+=6,S(t.symbol,r,111551);r.tracker.reportInaccessibleUniqueSymbolError&&r.tracker.reportInaccessibleUniqueSymbolError()}return r.approximateLength+=13,e.factory.createTypeOperatorNode(152,e.factory.createKeywordTypeNode(149))}if(16384&t.flags)return r.approximateLength+=4,e.factory.createKeywordTypeNode(114);if(32768&t.flags)return r.approximateLength+=9,e.factory.createKeywordTypeNode(151);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(142);if(4096&t.flags)return r.approximateLength+=6,e.factory.createKeywordTypeNode(149);if(67108864&t.flags)return r.approximateLength+=6,e.factory.createKeywordTypeNode(146);if(Lu(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||Qi(t.aliasSymbol,r.enclosingDeclaration))){var h=d(t.aliasTypeArguments,r);return!Vi(t.aliasSymbol.escapedName)||32&t.aliasSymbol.flags?S(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?U(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(m(t,r,void 0));if(4&r.flags&&262144&t.flags&&!Qi(t.symbol,r.enclosingDeclaration)){var v=w(t,r);return r.approximateLength+=e.idText(v).length,e.factory.createTypeReferenceNode(e.factory.createIdentifier(e.idText(v)),void 0)}return t.symbol?S(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 b=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?qe:Bo(i);if(1048576&a.flags){var o=a.types.length;if(n+o<=e.length&&gd(e[n+o-1])===gd(a.types[o-1])){t.push(a),n+=o-1;continue}}}t.push(i)}}65536&r&&t.push(Fe);32768&r&&t.push(Ne);return t||e}(t.types):t.types;if(1===e.length(b))return s(b[0],r);var k=d(b,r,!0);return k&&k.length>0?1048576&t.flags?e.factory.createUnionTypeNode(k):e.factory.createIntersectionTypeNode(k):void(r.encounteredError||262144&r.flags||(r.encounteredError=!0))}if(48&y)return e.Debug.assert(!!(524288&t.flags)),z(t);if(4194304&t.flags){var x=t.type;r.approximateLength+=6;var E=s(x,r);return e.factory.createTypeOperatorNode(139,E)}if(134217728&t.flags){var D=t.texts,T=t.types,C=e.factory.createTemplateHead(D[0]),A=e.factory.createNodeArray(e.map(T,(function(t,n){return e.factory.createTemplateLiteralTypeSpan(s(t,r),(n<T.length-1?e.factory.createTemplateMiddle:e.factory.createTemplateTail)(D[n+1]))})));return r.approximateLength+=2,e.factory.createTemplateLiteralType(C,A)}if(268435456&t.flags){var N=s(t.type,r);return S(t.symbol,r,788968,[N])}if(8388608&t.flags){var P=s(t.objectType,r);E=s(t.indexType,r);return r.approximateLength+=2,e.factory.createIndexedAccessTypeNode(P,E)}if(16777216&t.flags){var I=s(t.checkType,r),F=r.inferTypeParameters;r.inferTypeParameters=t.root.inferTypeParameters;var M=s(t.extendsType,r);r.inferTypeParameters=F;var L=B(Xu(t)),j=B(Qu(t));return r.approximateLength+=15,e.factory.createConditionalTypeNode(I,M,L,j)}return 33554432&t.flags?s(t.baseType,r):e.Debug.fail("Should be unreachable.");function B(e){var t,n,i;return 1048576&e.flags?(null===(t=r.visitedTypes)||void 0===t?void 0:t.has(Zl(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)):U(e,(function(e){return s(e,r)})):s(e,r)}function z(t){var n,i=t.id,a=t.symbol;if(a){var o=_a(t)?788968:111551;if(Fy(a.valueDeclaration))return S(a,r,o);if(32&a.flags&&!po(a)&&!(223===a.valueDeclaration.kind&&2048&r.flags)||896&a.flags||function(){var t,n=!!(8192&a.flags)&&e.some(a.declarations,(function(t){return e.hasSyntacticModifier(t,32)})),o=!!(16&a.flags)&&(a.parent||e.forEach(a.declarations,(function(e){return 300===e.parent.kind||260===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)||Zi(a,r.enclosingDeclaration))}())return S(a,r,o);if(null===(n=r.visitedTypes)||void 0===n?void 0:n.has(i)){var s=function(t){if(t.symbol&&2048&t.symbol.flags){var r=e.walkUpParenthesizedTypes(t.symbol.declarations[0].parent);if(257===r.kind)return Ai(r)}return}(t);return s?S(s,r,788968):l(r)}return U(t,q)}return q(t)}function U(t,n){var i,a=t.id,o=16&e.getObjectFlags(t)&&t.symbol&&32&t.symbol.flags,s=4&e.getObjectFlags(t)&&t.node?"N"+O(t.node):t.symbol?(o?"+":"")+R(t.symbol):void 0;if(r.visitedTypes||(r.visitedTypes=new e.Set),s&&!r.symbolDepth&&(r.symbolDepth=new e.Map),s){if((i=r.symbolDepth.get(s)||0)>10)return l(r);r.symbolDepth.set(s,i+1)}r.visitedTypes.add(a);var c=n(t);return r.visitedTypes.delete(a),s&&r.symbolDepth.set(s,i),c}function q(t){if(zs(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=Rs(t)?e.factory.createTypeOperatorNode(139,s(Ms(t),r)):s(Ps(t),r);var o=m(Ns(t),r,n),c=t.declaration.nameType?s(Is(t),r):void 0,l=s(Fs(t),r),u=e.factory.createMappedTypeNode(i,o,c,a,l);return r.approximateLength+=10,e.setEmitFlags(u,1)}(t);var n=Us(t);if(!n.properties.length&&!n.stringIndexInfo&&!n.numberIndexInfo){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 f(n.callSignatures[0],175,r);if(1===n.constructSignatures.length&&!n.callSignatures.length)return f(n.constructSignatures[0],176,r)}var i=e.filter(n.constructSignatures,(function(e){return!!(4&e.flags)}));if(e.some(i)){var a=e.map(i,$c);return n.callSignatures.length+(n.constructSignatures.length-i.length)+(n.stringIndexInfo?1:0)+(n.numberIndexInfo?1:0)+(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=Wi(t.symbol,t.members,t.callSignatures,e.some(r)?r:e.emptyArray,t.stringIndexInfo,t.numberIndexInfo);return t.objectTypeWithoutAbstractConstructSignatures=n,n.objectTypeWithoutAbstractConstructSignatures=n,n}(n)),s(fu(a),r)}var c=r.flags;r.flags|=4194304;var d=function(t){if(o(r))return[e.factory.createPropertySignature(void 0,"...",void 0,void 0)];for(var n=[],i=0,a=t.callSignatures;i<a.length;i++){var s=a[i];n.push(f(s,170,r))}for(var c=0,d=t.constructSignatures;c<d.length;c++){4&(s=d[c]).flags||n.push(f(s,171,r))}if(t.stringIndexInfo){var m=void 0;m=2048&t.objectFlags?p(Qc(Ee,t.stringIndexInfo.isReadonly,t.stringIndexInfo.declaration),0,r,l(r)):p(t.stringIndexInfo,0,r,void 0),n.push(m)}t.numberIndexInfo&&n.push(p(t.numberIndexInfo,1,r,void 0));var g=t.properties;if(!g)return n;for(var _=0,h=0,y=g;h<y.length;h++){var v=y[h];if(_++,2048&r.flags){if(4194304&v.flags)continue;24&e.getDeclarationModifierFlagsFromSymbol(v)&&r.tracker.reportPrivateInBaseOfClassExpression&&r.tracker.reportPrivateInBaseOfClassExpression(e.unescapeLeadingUnderscores(v.escapedName))}if(o(r)&&_+2<g.length-1){n.push(e.factory.createPropertySignature(void 0,"... "+(g.length-_)+" more ...",void 0,void 0)),u(g[g.length-1],r,n);break}u(v,r,n)}return n.length?n:void 0}(n);r.flags=c;var g=e.factory.createTypeLiteralNode(d);return r.approximateLength+=2,e.setEmitFlags(g,1024&r.flags?0:1),g}function J(t){var n=ll(t);if(t.target===xt||t.target===Et){if(2&r.flags){var i=s(n[0],r);return e.factory.createTypeReferenceNode(t.target===xt?"Array":"ReadonlyArray",[i])}var a=s(n[0],r),o=e.factory.createArrayTypeNode(a);return t.target===xt?o:e.factory.createTypeOperatorNode(143,o)}if(!(8&t.target.objectFlags)){if(2048&r.flags&&t.symbol.valueDeclaration&&e.isClassLike(t.symbol.valueDeclaration)&&!Zi(t.symbol,r.enclosingDeclaration))return z(t);var c=t.target.outerTypeParameters,l=(x=0,void 0);if(c)for(var u=c.length;x<u;){var p=x,f=rl(c[x]);do{x++}while(x<u&&rl(c[x])===f);if(!e.rangeEquals(c,n,p,x)){var m=d(n.slice(p,x),r),g=r.flags;r.flags|=16;var _=S(f,r,788968,m);r.flags=g,l=l?V(l,_):_}}var h=void 0;if(n.length>0){var y=(t.target.typeParameters||e.emptyArray).length;h=d(n.slice(x,y),r)}E=r.flags;r.flags|=16;var v=S(t.symbol,r,788968,h);return r.flags=E,l?V(l,v):v}if(n.length>0){var b=ul(t),k=d(n.slice(0,b),r);if(k){if(t.target.labeledElementDeclarations)for(var x=0;x<k.length;x++){var E=t.target.elementFlags[x];k[x]=e.factory.createNamedTupleMember(12&E?e.factory.createToken(25):void 0,e.factory.createIdentifier(e.unescapeLeadingUnderscores(Zy(t.target.labeledElementDeclarations[x]))),2&E?e.factory.createToken(57):void 0,4&E?e.factory.createArrayTypeNode(k[x]):k[x])}else for(var x=0;x<Math.min(b,k.length);x++){var E=t.target.elementFlags[x];k[x]=12&E?e.factory.createRestTypeNode(4&E?e.factory.createArrayTypeNode(k[x]):k[x]):2&E?e.factory.createOptionalTypeNode(k[x]):k[x]}var D=e.setEmitFlags(e.factory.createTupleTypeNode(k),1);return t.target.readonly?e.factory.createTypeOperatorNode(143,D):D}}if(r.encounteredError||524288&r.flags){D=e.setEmitFlags(e.factory.createTupleTypeNode([]),1);return t.target.readonly?e.factory.createTypeOperatorNode(143,D):D}r.encounteredError=!0}function V(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=H(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 l=0,u=H(r);l<u.length;l++){s=u[l];c=e.factory.createQualifiedName(c,s)}return e.factory.updateTypeReferenceNode(t,c,n)}function H(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(129):e.factory.createTypeReferenceNode(e.factory.createIdentifier("..."),void 0)}function u(t,r,n){var i=!!(8192&e.getCheckFlags(t)),a=i&&33554432&r.flags?Ee:_o(t),o=r.enclosingDeclaration;if(r.enclosingDeclaration=void 0,r.tracker.trackSymbol&&4096&e.getCheckFlags(t)&&ts(t.escapedName)){var s=e.first(t.declarations);if(rs(s))if(e.isBinaryExpression(s)){var c=e.getNameOfDeclaration(s);c&&e.isElementAccessExpression(c)&&e.isPropertyAccessEntityNameExpression(c.argumentExpression)&&h(c.argumentExpression,o,r)}else h(s.name.expression,o,r)}r.enclosingDeclaration=o;var u=P(t,r);r.approximateLength+=e.symbolName(t).length+1;var d=16777216&t.flags?e.factory.createToken(57):void 0;if(8208&t.flags&&!qs(a).length&&!Nv(t))for(var p=0,m=hc(ug(a,(function(e){return!(32768&e.flags)})),0);p<m.length;p++){var g=f(m[p],165,r,{name:u,questionToken:d});n.push(k(g))}else{var _=r.flags;r.flags|=i?33554432:0;var y=void 0;y=i&&33554432&_?l(r):a?L(r,a,t,o):e.factory.createKeywordTypeNode(129),r.flags=_;var v=Nv(t)?[e.factory.createToken(143)]:void 0;v&&(r.approximateLength+=9);var b=e.factory.createPropertySignature(v,u,d,y);n.push(k(b))}function k(r){if(e.some(t.declarations,(function(e){return 336===e.kind}))){var n=e.find(t.declarations,(function(e){return 336===e.kind})).comment;n&&e.setSyntheticLeadingComments(r,[{kind:3,text:"*\n * "+n.replace(/\n/g,"\n * ")+"\n ",pos:-1,end:-1,hasTrailingNewLine:!0}])}else t.valueDeclaration&&e.setCommentRange(r,t.valueDeclaration);return r}}function d(t,r,n){if(e.some(t)){if(o(r)){if(!n)return[e.factory.createTypeReferenceNode("...",void 0)];if(t.length>2)return[s(t[0],r),e.factory.createTypeReferenceNode("... "+(t.length-2)+" more ...",void 0),s(t[t.length-1],r)]}for(var i=!(64&r.flags)?e.createUnderscoreEscapedMultiMap():void 0,a=[],c=0,l=0,u=t;l<u.length;l++){var d=u[l];if(c++,o(r)&&c+2<t.length-1){a.push(e.factory.createTypeReferenceNode("... "+(t.length-c)+" more ...",void 0));var p=s(t[t.length-1],r);p&&a.push(p);break}r.approximateLength+=2;var f=s(d,r);f&&(a.push(f),i&&e.isIdentifierTypeReference(f)&&i.add(f.typeName.escapedText,[d,a.length-1]))}if(i){var m=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],c=o[0],l=o[1];a[l]=s(c,r)}})),r.flags=m}return a}}function p(t,r,n,i){var a=e.getNameFromIndexInfo(t)||"x",o=e.factory.createKeywordTypeNode(0===r?148:145),c=e.factory.createParameterDeclaration(void 0,void 0,void 0,a,void 0,o,void 0);return i||(i=s(t.type||Ee,n)),t.type||2097152&n.flags||(n.encounteredError=!0),n.approximateLength+=a.length+4,e.factory.createIndexSignature(void 0,t.isReadonly?[e.factory.createToken(143)]:void 0,[c],i)}function f(t,r,n,i){var a,o,c,l,u,d,p=256&n.flags;p&&(n.flags&=-257),32&n.flags&&t.target&&t.mapper&&t.target.typeParameters?d=t.target.typeParameters.map((function(e){return s(Wd(e,t.mapper),n)})):u=t.typeParameters&&t.typeParameters.map((function(e){return g(e,n)}));var f,m=gs(t,!0)[0],h=(e.some(m,(function(t){return t!==m[m.length-1]&&!!(32768&e.getCheckFlags(t))}))?t.parameters:m).map((function(e){return _(e,n,167===r,null==i?void 0:i.privateSymbolVisitor,null==i?void 0:i.bundledImports)}));if(t.thisParameter){var y=_(t.thisParameter,n);h.unshift(y)}var v=jc(t);if(v){var b=2===v.kind||3===v.kind?e.factory.createToken(128):void 0,k=1===v.kind||3===v.kind?e.setEmitFlags(e.factory.createIdentifier(v.parameterName),16777216):e.factory.createThisTypeNode(),x=v.type&&s(v.type,n);f=e.factory.createTypePredicateNode(b,k,x)}else{var E=Bc(t);!E||p&&Pa(E)?p||(f=e.factory.createKeywordTypeNode(129)):f=function(t,r,n,i,a){if(r!==we&&t.enclosingDeclaration){var o=n.declaration&&e.getEffectiveReturnTypeNode(n.declaration);if(e.findAncestor(o,(function(e){return e===t.enclosingDeclaration}))&&o&&Wd(xd(o),n.mapper)===r&&M(o,r)){var c=B(t,o,i,a);if(c)return c}}return s(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(176===r&&4&t.flags){var D=e.modifiersToFlags(S);S=e.factory.createModifiersFromModifierFlags(128|D)}n.approximateLength+=3;var w=170===r?e.factory.createCallSignature(u,h,f):171===r?e.factory.createConstructSignature(u,h,f):165===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,u,h,f):166===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,u,h,f,void 0):167===r?e.factory.createConstructorDeclaration(void 0,S,h,void 0):168===r?e.factory.createGetAccessorDeclaration(void 0,S,null!==(c=null==i?void 0:i.name)&&void 0!==c?c:e.factory.createIdentifier(""),h,f,void 0):169===r?e.factory.createSetAccessorDeclaration(void 0,S,null!==(l=null==i?void 0:i.name)&&void 0!==l?l:e.factory.createIdentifier(""),h,void 0):172===r?e.factory.createIndexSignature(void 0,S,h,f):311===r?e.factory.createJSDocFunctionType(h,f):175===r?e.factory.createFunctionTypeNode(u,h,null!=f?f:e.factory.createTypeReferenceNode(e.factory.createIdentifier(""))):176===r?e.factory.createConstructorTypeNode(S,u,h,null!=f?f:e.factory.createTypeReferenceNode(e.factory.createIdentifier(""))):253===r?e.factory.createFunctionDeclaration(void 0,S,void 0,(null==i?void 0:i.name)?e.cast(i.name,e.isIdentifier):e.factory.createIdentifier(""),u,h,f,void 0):209===r?e.factory.createFunctionExpression(S,void 0,(null==i?void 0:i.name)?e.cast(i.name,e.isIdentifier):e.factory.createIdentifier(""),u,h,f,e.factory.createBlock([])):210===r?e.factory.createArrowFunction(S,u,h,f,void 0,e.factory.createBlock([])):e.Debug.assertNever(r);return d&&(w.typeArguments=e.factory.createNodeArray(d)),w}function m(t,r,n){var i=r.flags;r.flags&=-513;var a=w(t,r),o=nc(t),c=o&&s(o,r);return r.flags=i,e.factory.createTypeParameterDeclaration(a,n,c)}function g(e,t,r){return void 0===r&&(r=Ws(e)),m(e,t,r&&s(r,t))}function _(t,r,n,i,a){var o=e.getDeclarationOfKind(t,161);o||e.isTransientSymbol(t)||(o=e.getDeclarationOfKind(t,329));var s,c=_o(t);o&&hE(o)&&(c=Nf(c)),1073741824&r.flags&&o&&!e.isJSDocParameterTag(o)&&(s=o,W&&Tc(s)&&!s.initializer)&&(c=Hm(c,524288));var l=L(r,c,t,r.enclosingDeclaration,i,a),u=!(8192&r.flags)&&n&&o&&o.modifiers?o.modifiers.map(e.factory.cloneNode):void 0,d=o&&e.isRestParameter(o)||32768&e.getCheckFlags(t)?e.factory.createToken(25):void 0,p=o&&o.name?78===o.name.kind?e.setEmitFlags(e.factory.cloneNode(o.name),16777216):158===o.name.kind?e.setEmitFlags(e.factory.cloneNode(o.name.right),16777216):function t(n){r.tracker.trackSymbol&&e.isComputedPropertyName(n)&&es(n)&&h(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),f=o&&Tc(o)||16384&e.getCheckFlags(t)?e.factory.createToken(57):void 0,m=e.factory.createParameterDeclaration(void 0,u,d,p,f,l,void 0);return r.approximateLength+=e.symbolName(t).length+3,m}function h(t,r,n){if(n.tracker.trackSymbol){var i=e.getFirstIdentifier(t),a=Fn(i,i.escapedText,1160127,void 0,void 0,!0);a&&n.tracker.trackSymbol(a,r,111551)}}function y(e,t,r,n){return t.tracker.trackSymbol(e,t.enclosingDeclaration,r),v(e,t,r,n)}function v(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=Yi(n,r.enclosingDeclaration,a,!!(128&r.flags));if(!c||Xi(c[0],r.enclosingDeclaration,1===c.length?a:$i(a))){var l=Pi(c?c[0]:n,r.enclosingDeclaration,a);if(e.length(l)){s=l.map((function(t){return e.some(t.declarations,oa)?E(t,r):void 0}));var u=l.map((function(e,t){return t}));u.sort(g);for(var d=0,p=u.map((function(e){return l[e]}));d<p.length;d++){var f=p[d],m=t(f,$i(a),!1);if(m){if(f.exports&&f.exports.get("export=")&&Oi(f.exports.get("export="),n)){c=m;break}c=m.concat(c||[Fi(f,n)||n]);break}}}}if(c)return c;if(o||!(6144&n.flags)){if(!o&&!i&&e.forEach(n.declarations,oa))return;return[n]}function g(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}}(t,n,!0)),e.Debug.assert(a&&a.length>0)),a}function b(t,r){var n;return 524384&gx(t).flags&&(n=e.factory.createNodeArray(e.map(Eo(t),(function(e){return g(e,r)})))),n}function k(t,r,n){var i;e.Debug.assert(t&&0<=r&&r<t.length);var a=t[r],o=R(a);if(!(null===(i=n.typeParameterSymbolList)||void 0===i?void 0: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,l=t[r+1];if(1&e.getCheckFlags(l)){var u=function(t){return e.concatenate(xo(t),Eo(t))}(2097152&c.flags?ai(c):c);s=d(e.map(u,(function(e){return Cd(e,l.mapper)})),n)}else s=b(a,n)}return s}}function x(t){return e.isIndexedAccessTypeNode(t.objectType)?x(t.objectType):t}function E(t,r){var n,i=e.getDeclarationOfKind(t,300);if(!i){var o=e.firstDefined(t.declarations,(function(e){return Ii(e,t)}));o&&(i=e.getDeclarationOfKind(o,300))}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 l=0,u=s;l<u.length;l++){var d=u[l];r.tracker.trackReferencedAmbientModule(d,t)}}if(c.test(t.escapedName))return t.escapedName.substring(1,t.escapedName.length-1)}if(!r.enclosingDeclaration||!r.tracker.moduleResolverHost)return c.test(t.escapedName)?t.escapedName.substring(1,t.escapedName.length-1):e.getSourceFileOfNode(e.getNonAugmentationDeclaration(t)).fileName;var p=e.getSourceFileOfNode(e.getOriginalNode(r.enclosingDeclaration)),f=Tn(t),m=f.specifierCache&&f.specifierCache.get(p.path);if(!m){var g=!!e.outFile(J),_=r.tracker.moduleResolverHost,h=g?a(a({},J),{baseUrl:_.getCommonSourceDirectory()}):J;m=e.first(e.moduleSpecifiers.getModuleSpecifiers(t,le,h,p,_,{importModuleSpecifierPreference:g?"non-relative":"relative",importModuleSpecifierEnding:g?"minimal":void 0})),null!==(n=f.specifierCache)&&void 0!==n||(f.specifierCache=new e.Map),f.specifierCache.set(p.path,m)}return m}function S(t,r,n,i){var a=y(t,r,n,!(16384&r.flags)),o=111551===n;if(e.some(a[0].declarations,oa)){var s=a.length>1?_(a,a.length-1,1):void 0,c=i||k(a,0,r),l=E(a[0],r);67108864&r.flags||e.getEmitModuleResolutionKind(J)!==e.ModuleResolutionKind.NodeJs||!(l.indexOf("/node_modules/")>=0||e.isOhpm(J.packageManagerType)&&l.indexOf("/oh_modules/")>=0)||(r.encounteredError=!0,r.tracker.reportLikelyUnsafeImportRequiredError&&r.tracker.reportLikelyUnsafeImportRequiredError(l));var u=e.factory.createLiteralTypeNode(e.factory.createStringLiteral(l));if(r.tracker.trackExternalModuleSymbolOfImportTypeNode&&r.tracker.trackExternalModuleSymbolOfImportTypeNode(a[0]),r.approximateLength+=l.length+10,!s||e.isEntityName(s)){if(s)(m=e.isIdentifier(s)?s:s.right).typeArguments=void 0;return e.factory.createImportTypeNode(u,s,c,o)}var d=x(s),p=d.objectType.typeName;return e.factory.createIndexedAccessTypeNode(e.factory.createImportTypeNode(u,p,c,o),d.indexType)}var f=_(a,a.length-1,0);if(e.isIndexedAccessTypeNode(f))return f;if(o)return e.factory.createTypeQueryNode(f);var m,g=(m=e.isIdentifier(f)?f:f.right).typeArguments;return m.typeArguments=void 0,e.factory.createTypeReferenceNode(f,g);function _(t,n,a){var o,s=n===t.length-1?i:k(t,n,r),c=t[n],l=t[n-1];if(0===n)r.flags|=16777216,o=xa(c,r),r.approximateLength+=(o?o.length:0)+1,r.flags^=16777216;else if(l&&Si(l)){var u=Si(l);e.forEachEntry(u,(function(t,r){if(Oi(t,c)&&!ts(r)&&"export="!==r)return o=e.unescapeLeadingUnderscores(r),!0}))}if(o||(o=xa(c,r)),r.approximateLength+=o.length+1,!(16&r.flags)&&l&&ss(l)&&ss(l).get(c.escapedName)&&Oi(ss(l).get(c.escapedName),c)){var d=_(t,n-1,a);return e.isIndexedAccessTypeNode(d)?e.factory.createIndexedAccessTypeNode(d,e.factory.createLiteralTypeNode(e.factory.createStringLiteral(o))):e.factory.createIndexedAccessTypeNode(e.factory.createTypeReferenceNode(d,s),e.factory.createLiteralTypeNode(e.factory.createStringLiteral(o)))}var p=e.setEmitFlags(e.factory.createIdentifier(o,s),16777216);if(p.symbol=c,n>a){d=_(t,n-1,a);return e.isEntityName(d)?e.factory.createQualifiedName(d,p):e.Debug.fail("Impossible construct - an export of an indexed access cannot be reachable")}return p}}function D(e,t,r){var n=Fn(t.enclosingDeclaration,e,788968,void 0,e,!1);return!!n&&!(262144&n.flags&&n===r.symbol)}function w(t,r){var n;if(4&r.flags&&r.typeParameterNames){var i=r.typeParameterNames.get(Zl(t));if(i)return i}var a=T(t.symbol,r,788968,!0);if(!(78&a.kind))return e.factory.createIdentifier("(Missing type parameter)");if(4&r.flags){for(var o=a.escapedText,s=0,c=o;(null===(n=r.typeParameterNamesByText)||void 0===n?void 0:n.has(c))||D(c,r,t);)c=o+"_"+ ++s;c!==o&&(a=e.factory.createIdentifier(c,a.typeArguments)),(r.typeParameterNames||(r.typeParameterNames=new e.Map)).set(Zl(t),a),(r.typeParameterNamesByText||(r.typeParameterNamesByText=new e.Set)).add(a.escapedText)}return a}function T(t,r,n,i){var a=y(t,r,n);return!i||1===a.length||r.encounteredError||65536&r.flags||(r.encounteredError=!0),function t(n,i){var a=k(n,i,r),o=n[i];0===i&&(r.flags|=16777216);var s=xa(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 C(t,r,n){var i=y(t,r,n);return function t(n,i){var a=k(n,i,r),o=n[i];0===i&&(r.flags|=16777216);var s=xa(o,r);0===i&&(r.flags^=16777216);var c=s.charCodeAt(0);if(e.isSingleOrDoubleQuote(c)&&e.some(o.declarations,oa))return e.factory.createStringLiteral(E(o,r));var l=35===c?s.length>1&&e.isIdentifierStart(s.charCodeAt(1),V):e.isIdentifierStart(c,V);if(0===i||l){var u=e.setEmitFlags(e.factory.createIdentifier(s,a),16777216);return u.symbol=o,i>0?e.factory.createPropertyAccessExpression(t(n,i-1),u):u}91===c&&(c=(s=s.substring(1,s.length-1)).charCodeAt(0));var d=void 0;return e.isSingleOrDoubleQuote(c)?d=e.factory.createStringLiteral(s.substring(1,s.length-1).replace(/\\./g,(function(e){return e.substring(1)})),39===c):""+ +s===s&&(d=e.factory.createNumericLiteral(+s)),d||((d=e.setEmitFlags(e.factory.createIdentifier(s,a),16777216)).symbol=o),e.factory.createElementAccessExpression(t(n,i-1),d)}(i,i.length-1)}function A(t){var r=e.getNameOfDeclaration(t);return!!r&&e.isStringLiteral(r)}function N(t){var r=e.getNameOfDeclaration(t);return!!(r&&e.isStringLiteral(r)&&(r.singleQuote||!e.nodeIsSynthesized(r)&&e.startsWith(e.getTextOfNode(r,!1),"'")))}function P(t,r){var n=!!e.length(t.declarations)&&e.every(t.declarations,N),i=function(t,r,n){var i=Tn(t).nameType;if(i){if(384&i.flags){var a=""+i.value;return e.isIdentifierText(a,J.target)||R_(a)?R_(a)&&e.startsWith(a,"-")?e.factory.createComputedPropertyName(e.factory.createNumericLiteral(+a)):I(a):e.factory.createStringLiteral(a,!!n)}if(8192&i.flags)return e.factory.createComputedPropertyName(C(i.symbol,r,111551))}}(t,r,n);return i||(e.isKnownSymbol(t)?e.factory.createComputedPropertyName(e.factory.createPropertyAccessExpression(e.factory.createIdentifier("Symbol"),t.escapedName.substr(3))):I(e.unescapeLeadingUnderscores(t.escapedName),!!e.length(t.declarations)&&e.every(t.declarations,A),n))}function I(t,r,n){return e.isIdentifierText(t,J.target)?e.factory.createIdentifier(t):!r&&R_(t)&&+t>=0?e.factory.createNumericLiteral(+t):e.factory.createStringLiteral(t,!!n)}function F(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 M(t,r){return!(4&e.getObjectFlags(r))||!e.isTypeReferenceNode(t)||e.length(t.typeArguments)>=Nc(r.target.typeParameters)}function L(t,r,n,i,a,o){if(r!==we&&i){var c=F(n,i);if(c&&!e.isFunctionLikeDeclaration(c)){var l=e.getEffectiveTypeAnnotationNode(c);if(xd(l)===r&&M(l,r)){var u=B(t,l,a,o);if(u)return u}}}var d=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 p=s(r,t);return t.flags=d,p}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=fi(s,67108863,!0,!0);if(c&&(0!==ra(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 l=262144&c.flags?w(Jo(c),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 B(r,i,a,o){n&&n.throwIfCancellationRequested&&n.throwIfCancellationRequested();var c=!1,l=e.getSourceFileOfNode(i),u=e.visitNode(i,(function n(i){if(e.isJSDocAllType(i)||313===i.kind)return e.factory.createKeywordTypeNode(129);if(e.isJSDocUnknownType(i))return e.factory.createKeywordTypeNode(153);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(151)]);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=Na(xd(i),a.escapedText),c=o&&t.typeExpression&&xd(t.typeExpression.type)!==o?s(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,c||t.typeExpression&&e.visitNode(t.typeExpression.type,n)||e.factory.createKeywordTypeNode(129))})));if(e.isTypeReferenceNode(i)&&e.isIdentifier(i.typeName)&&""===i.typeName.escapedText)return e.setOriginalNode(e.factory.createKeywordTypeNode(129),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))]);if(e.isJSDocFunctionType(i)){var u;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(u=t.type):e.factory.createParameterDeclaration(void 0,void 0,g(t),_(t,r),t.questionToken,e.visitNode(t.type,n),void 0)})),e.visitNode(u||i.type,n)||e.factory.createKeywordTypeNode(129)):e.factory.createFunctionTypeNode(e.visitNodes(i.typeParameters,n),e.map(i.parameters,(function(t,r){return e.factory.createParameterDeclaration(void 0,void 0,g(t),_(t,r),t.questionToken,e.visitNode(t.type,n),void 0)})),e.visitNode(i.type,n)||e.factory.createKeywordTypeNode(129))}if(e.isTypeReferenceNode(i)&&e.isInJSDoc(i)&&(!M(i,xd(i))||xl(i)||ke===ml(fl(i),788968,!0)))return e.setOriginalNode(s(xd(i),r),i);if(e.isLiteralImportTypeNode(i)){var d=Cn(i).resolvedSymbol;return!e.isInJSDoc(i)||!d||(i.isTypeOf||788968&d.flags)&&e.length(i.typeArguments)>=Nc(Eo(d))?e.factory.updateImportTypeNode(i,e.factory.updateLiteralTypeNode(i.argument,function(n,i){if(o){if(r.tracker&&r.tracker.moduleResolverHost){var a=LE(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 l=_i(i,i,void 0);l&&r.tracker.trackExternalModuleSymbolOfImportTypeNode(l)}return i}(i,i.argument.literal)),i.qualifier,e.visitNodes(i.typeArguments,n,e.isTypeNode),i.isTypeOf):e.setOriginalNode(s(xd(i),r),i)}if(e.isEntityName(i)||e.isEntityNameExpression(i)){var p=j(i,r,a),f=p.introducesError,m=p.node;if(c=c||f,m!==i)return m}l&&e.isTupleTypeNode(i)&&e.getLineAndCharacterOfPosition(l,i.pos).line===e.getLineAndCharacterOfPosition(l,i.end).line&&e.setEmitFlags(i,1);return e.visitEachChild(i,n,e.nullTransformationContext);function g(t){return t.dotDotDotToken||(t.type&&e.isJSDocVariadicType(t.type)?e.factory.createToken(25):void 0)}function _(t,r){return t.name&&e.isIdentifier(t.name)&&"this"===t.name.escapedText?"this":g(t)?"args":"arg"+r}}));if(!c)return u===i?e.setTextRange(e.factory.cloneNode(i),i):u}}(),ne=e.createSymbolTable(),ie=yn(4,"undefined");ie.declarations=[];var ae=yn(1536,"globalThis",8);ae.exports=ne,ae.declarations=[],ne.set(ae.escapedName,ae);var oe,se=yn(4,"arguments"),ce=yn(4,"require"),le={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},getTypeCatalog:function(){return w},getTypeCount:function(){return y},getInstantiationCount:function(){return k},getRelationCacheSizes:function(){return{assignable:an.size,identity:sn.size,subtype:rn.size,strictSubtype:nn.size}},isUndefinedSymbol:function(e){return e===ie},isArgumentsSymbol:function(e){return e===se},isUnknownSymbol:function(e){return e===ke},getMergedSymbol:Ci,getDiagnostics:qx,getGlobalDiagnostics:function(){return Jx(),Qr.getGlobalDiagnostics()},getRecursionIdentity:Xp,getTypeOfSymbolAtLocation:function(t,r){var n=e.getParseTreeNode(r);return n?function(t,r){if(t=t.exportSymbol||t,78===r.kind&&(e.isRightSideOfQualifiedNameOrPropertyAccess(r)&&(r=r.parent),e.isExpressionNode(r)&&!e.isAssignmentTarget(r))){var n=ub(r);if(Ri(Cn(r).resolvedSymbol)===t)return n}return _o(t)}(t,n):we},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=Nn(n.locals,r,111551),o=Nn(ss(i.symbol),r,111551);if(a&&o)return[a,o];return e.Debug.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}(n,e.escapeLeadingUnderscores(r))},getDeclaredTypeOfSymbol:Jo,getPropertiesOfType:Hs,getPropertyOfType:function(t,r){return gc(t,e.escapeLeadingUnderscores(r))},getPrivateIdentifierPropertyOfType:function(t,r,n){var i=e.getParseTreeNode(n);if(i){var a=Sh(e.escapeLeadingUnderscores(r),i);return a?Dh(t,a):void 0}},getTypeOfPropertyOfType:function(t,r){return Na(t,e.escapeLeadingUnderscores(r))},getIndexInfoOfType:bc,getSignaturesOfType:hc,getIndexTypeOfType:kc,getBaseTypes:Po,getBaseTypeOfLiteralType:mf,getWidenedType:Hf,getTypeFromTypeNode:function(t){var r=e.getParseTreeNode(t,e.isTypeNode);return r?xd(r):we},getParameterType:nv,getPromisedTypeOfPromise:Bb,getAwaitedType:function(e){return Ub(e)},getReturnTypeOfSignature:Bc,isNullableType:mh,getNullableType:Af,getNonNullableType:Pf,getNonOptionalType:Of,getTypeArguments:ll,typeToTypeNode:re.typeToTypeNode,indexInfoToIndexSignatureDeclaration:re.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:re.signatureToSignatureDeclaration,symbolToEntityName:re.symbolToEntityName,symbolToExpression:re.symbolToExpression,symbolToTypeParameterDeclarations:re.symbolToTypeParameterDeclarations,symbolToParameterDeclaration:re.symbolToParameterDeclaration,typeParameterToDeclaration:re.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"),Sc(n);function a(){for(;t;){switch(t.locals&&!An(t)&&s(t.locals,r),t.kind){case 300:if(!e.isExternalOrCommonJsModule(t))break;case 259:s(Ai(t).exports,2623475&r);break;case 258:s(Ai(t).exports,8&r);break;case 223:t.name&&o(t.symbol,r);case 254:case 256:i||s(ss(Ai(t)),788968&r);break;case 209:t.name&&o(t.symbol,r)}e.introducesArgumentsExoticObject(t)&&o(se,r),i=e.hasSyntacticModifier(t,32),t=t.parent}s(ne,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)}))}}(n,r):[]},getSymbolAtLocation:function(t){var r=e.getParseTreeNode(t);return r?Yx(r,!0):void 0},getShorthandAssignmentValueSymbol:function(t){var r=e.getParseTreeNode(t);return r?function(e){if(e&&292===e.kind)return fi(e.name,2208703);return}(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?Qn(t.parent.parent,t):fi(t.propertyName||t.name,2998271):fi(t,2998271)}(r):void 0},getExportSymbolOfSymbol:function(e){return Ci(e.exportSymbol||e)},getTypeAtLocation:function(t){var r=e.getParseTreeNode(t);return r?Xx(r):we},tryGetTypeAtLocationWithoutCheck:function(t){var r=e.getParseTreeNode(t);return r?function(t){if(e.isSourceFile(t)&&!e.isExternalModule(t))return we;if(16777216&t.flags)return we;var r=e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(t),n=r&&Oo(Ai(r.class));if(e.isPartOfTypeNode(t)){var i=xd(t);return n?ls(i,n.thisType):i}if(e.isExpressionNode(t))return Zx(t,32);return Xx(t)}(r):we},getTypeOfAssignmentPattern:function(t){var r=e.getParseTreeNode(t,e.isAssignmentPattern);return r&&Qx(r)||we},getPropertySymbolOfDestructuringAssignment:function(t){var r=e.getParseTreeNode(t,e.isIdentifier);return r?function(t){var r=Qx(e.cast(t.parent.parent,e.isAssignmentPattern));return r&&gc(r,t.escapedText)}(r):void 0},signatureToString:function(t,r,n,i){return ua(t,e.getParseTreeNode(r),n,i)},typeToString:function(t,r,n){return da(t,e.getParseTreeNode(r),n)},symbolToString:function(t,r,n,i){return la(t,e.getParseTreeNode(r),n,i)},typePredicateToString:function(t,r,n){return ha(t,e.getParseTreeNode(r),n)},writeSignature:function(t,r,n,i,a){return ua(t,e.getParseTreeNode(r),n,i,a)},writeType:function(t,r,n,i){return da(t,e.getParseTreeNode(r),n,i)},writeSymbol:function(t,r,n,i,a){return la(t,e.getParseTreeNode(r),n,i,a)},writeTypePredicate:function(t,r,n,i){return ha(t,e.getParseTreeNode(r),n,i)},getAugmentedPropertiesOfType:rE,getRootSymbols:function t(r){var n=function(t){if(6&e.getCheckFlags(t))return e.mapDefined(Tn(t).containingType.types,(function(e){return gc(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){var t,r=e;for(;r=Tn(r).target;)t=r;return t}(t))}return}(r);return n?e.flatMap(n,t):[r]},getSymbolOfExpando:Ry,getContextualType:function(t,r){var n=e.getParseTreeNode(t,e.isExpression);if(n){var i=e.findAncestor(n,e.isCallLikeExpression),a=i&&Cn(i).resolvedSignature;if(4&r&&i){var o=n;do{Cn(o).skipDirectInference=!0,o=o.parent}while(o&&o!==i);Cn(i).resolvedSignature=void 0}var s=x_(n,r);if(4&r&&i){o=n;do{Cn(o).skipDirectInference=void 0,o=o.parent}while(o&&o!==i);Cn(i).resolvedSignature=a}return s}},getContextualTypeForObjectLiteralElement:function(t){var r=e.getParseTreeNode(t,e.isObjectLiteralElementLike);return r?m_(r):void 0},getContextualTypeForArgumentAtIndex:function(t,r){var n=e.getParseTreeNode(t,e.isCallLikeExpression);return n&&c_(n,r)},getContextualTypeForJsxAttribute:function(t){var r=e.getParseTreeNode(t,e.isJsxAttributeLike);return r&&h_(r)},isContextSensitive:Qd,getFullyQualifiedName:pi,tryGetResolvedSignatureWithoutCheck:function(e,t,r){return ue(e,t,r,32)},getResolvedSignature:function(e,t,r){return ue(e,t,r,0)},getResolvedSignatureForSignatureHelp:function(e,t,r){return ue(e,t,r,16)},getExpandedParameters:gs,hasEffectiveRestParameter:cv,getConstantValue:function(t){var r=e.getParseTreeNode(t,EE);return r?SE(r):void 0},isValidPropertyAccess:function(t,r){var n=e.getParseTreeNode(t,e.isPropertyAccessOrQualifiedNameOrImportTypeNode);return!!n&&function(e,t){switch(e.kind){case 202:return jh(e,106===e.expression.kind,t,Hf(fb(e.expression)));case 158:return jh(e,!1,t,Hf(fb(e.left)));case 196:return jh(e,!1,t,xd(e))}}(n,e.escapeLeadingUnderscores(r))},isValidPropertyAccessForCompletions:function(t,r,n){var i=e.getParseTreeNode(t,e.isPropertyAccessExpression);return!!i&&function(e,t,r){return jh(e,202===e.kind&&106===e.expression.kind,r.escapedName,t)}(i,r,n)},getSignatureFromDeclaration:function(t){var r=e.getParseTreeNode(t,e.isFunctionLike);return r?Ic(r):void 0},isImplementationOfOverload:function(t){var r=e.getParseTreeNode(t,e.isFunctionLike);return r?_E(r):void 0},getImmediateAliasedSymbol:j_,getAliasedSymbol:ai,getEmitResolver:function(e,t){return qx(e,t),te},getExportsOfModule:xi,getExportsAndPropertiesOfModule:function(t){var r=xi(t),n=vi(t);n!==t&&e.addRange(r,Hs(_o(n)));return r},getSymbolWalker:e.createGetSymbolWalker((function(e){return qc(e)||Ee}),jc,Bc,Po,Us,_o,Am,vc,Ws,e.getFirstIdentifier,ll),getAmbientModules:function(){gt||(gt=[],ne.forEach((function(e,t){c.test(t)&>.push(e)})));return gt},getJsxIntrinsicTagNamesAt:function(t){var r=W_(N.IntrinsicElements,t);return r?Hs(r):e.emptyArray},isOptionalParameter:function(t){var r=e.getParseTreeNode(t,e.isParameter);return!!r&&Tc(r)},tryGetMemberInModuleExports:function(t,r){return Ei(e.escapeLeadingUnderscores(t),r)},tryGetMemberInModuleExportsAndProperties:function(t,r){return function(t,r){var n=Ei(t,r);if(n)return n;var i=vi(r);if(i===r)return;var a=_o(i);return 131068&a.flags||1&e.getObjectFlags(a)||uf(a)?void 0:gc(a,t)}(e.escapeLeadingUnderscores(t),r)},tryFindAmbientModuleWithoutAugmentations:function(e){return wc(e,!1)},getApparentType:ac,getUnionType:ou,isTypeAssignableTo:cp,createAnonymousType:Wi,createSignature:ds,createSymbol:yn,createIndexInfo:Qc,getAnyType:function(){return Ee},getStringType:function(){return Re},getNumberType:function(){return Me},createPromiseType:_v,createArrayType:jl,getElementTypeOfArrayType:of,getBooleanType:function(){return qe},getFalseType:function(e){return e?je:Be},getTrueType:function(e){return e?ze:Ue},getVoidType:function(){return Ve},getUndefinedType:function(){return Ne},getNullType:function(){return Fe},getESSymbolType:function(){return Je},getNeverType:function(){return He},getOptionalType:function(){return Ie},isSymbolAccessible:ra,isArrayType:rf,isTupleType:vf,isArrayLikeType:sf,isTypeInvalidDueToUnionDiscriminant:function(e,t){return t.properties.some((function(t){var r=t.name&&vu(t.name),n=r&&Zo(r)?is(r):void 0,i=void 0===n?void 0:Na(e,n);return!!i&&ff(i)&&!cp(Xx(t),i)}))},getAllPossiblePropertiesOfTypes:function(t){var r=ou(t);if(!(1048576&r.flags))return rE(r);for(var n=e.createSymbolTable(),i=0,a=t;i<a.length;i++)for(var o=0,s=rE(a[i]);o<s.length;o++){var c=s[o].escapedName;if(!n.has(c)){var l=sc(r,c);l&&n.set(c,l)}}return e.arrayFrom(n.values())},getSuggestedSymbolForNonexistentProperty:Ph,getSuggestionForNonexistentProperty:Fh,getSuggestedSymbolForNonexistentJSXAttribute:Ih,getSuggestedSymbolForNonexistentSymbol:function(t,r,n){return Oh(t,e.escapeLeadingUnderscores(r),n)},getSuggestionForNonexistentSymbol:function(t,r,n){return function(t,r,n){var i=Oh(t,r,n);return i&&e.symbolName(i)}(t,e.escapeLeadingUnderscores(r),n)},getSuggestedSymbolForNonexistentModule:Rh,getSuggestionForNonexistentExport:function(t,r){var n=Rh(t,r);return n&&e.symbolName(n)},getBaseConstraintOfType:Qs,getDefaultFromTypeParameter:function(e){return e&&262144&e.flags?nc(e):void 0},resolveName:function(t,r,n,i){return Fn(r,e.escapeLeadingUnderscores(t),n,void 0,void 0,!1,i)},getJsxNamespace:function(t){return e.unescapeLeadingUnderscores(un(t))},getJsxFragmentFactory:function(t){var r=ME(t);return r&&e.unescapeLeadingUnderscores(e.getFirstIdentifier(r).escapedText)},getAccessibleSymbolChain:Yi,getTypePredicateOfSignature:jc,resolveExternalModuleName:function(t){var r=e.getParseTreeNode(t,e.isExpression);return r&&gi(r,r,!0)},resolveExternalModuleSymbol:vi,tryGetThisTypeAt:function(t,r){var n=e.getParseTreeNode(t);return n&&Yg(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)return;var n=Nb(r),i=Ws(n[r.typeArguments.indexOf(t)]);return i&&Wd(i,Td(n,Cb(r,n)))}(r)},getSuggestionDiagnostics:function(r,i){var o,s=e.getParseTreeNode(r,e.isSourceFile)||e.Debug.fail("Could not determine parsed source file.");if(e.skipTypeChecking(s,J,t)||s.isDeclarationFile&&J.needDoArkTsLinter)return e.emptyArray;try{return n=i,Bx(s),e.Debug.assert(!!(1&Cn(s).flags)),o=e.addRange(o,Zr.getDiagnostics(s.fileName)),Zb(Ux(s),(function(t,r,n){e.containsParseError(t)||zx(r,!!(8388608&t.flags))||(o||(o=[])).push(a(a({},n),{category:e.DiagnosticCategory.Suggestion}))})),o||e.emptyArray}finally{n=void 0}},runWithCancellationToken:function(e,t){try{return n=e,t(le)}finally{n=void 0}},getLocalTypeParametersOfClassOrInterfaceOrTypeAlias:Eo,isDeclarationVisible:Ea};function ue(t,r,n,i){var a=e.getParseTreeNode(t,e.isCallLikeExpression);oe=n;var o=a?Iy(a,r,i):void 0;return oe=void 0,o}var de=new e.Map,pe=new e.Map,fe=new e.Map,me=new e.Map,ge=new e.Map,_e=new e.Map,he=new e.Map,ye=new e.Map,ve=[],be=new e.Map,ke=yn(4,"unknown"),xe=yn(0,"__resolving__"),Ee=zi(1,"any"),Se=zi(1,"any"),De=zi(1,"any"),we=zi(1,"error"),Te=zi(1,"any",524288),Ce=zi(1,"intrinsic"),Ae=zi(2,"unknown"),Ne=zi(32768,"undefined"),Pe=W?Ne:zi(32768,"undefined",524288),Ie=zi(32768,"undefined"),Fe=zi(65536,"null"),Oe=W?Fe:zi(65536,"null",524288),Re=zi(4,"string"),Me=zi(8,"number"),Le=zi(64,"bigint"),je=zi(512,"false"),Be=zi(512,"false"),ze=zi(512,"true"),Ue=zi(512,"true");ze.regularType=Ue,ze.freshType=ze,Ue.regularType=Ue,Ue.freshType=ze,je.regularType=Be,je.freshType=je,Be.regularType=Be,Be.freshType=je;var qe=Ui([Be,Ue]);Ui([Be,ze]),Ui([je,Ue]),Ui([je,ze]);var Je=zi(4096,"symbol"),Ve=zi(16384,"void"),He=zi(131072,"never"),Ke=zi(131072,"never"),We=zi(131072,"never",2097152),Ge=zi(131072,"never"),$e=zi(131072,"never"),Ye=zi(67108864,"object"),Xe=ou([Re,Me,Je]),Qe=Z?Re:Xe,Ze=ou([Me,Le]),et=ou([Re,Me,qe,Le,Fe,Ne]),tt=Nd((function(e){return 262144&e.flags?(t=e).constraint===Ae?t:t.restrictiveInstantiation||(t.restrictiveInstantiation=Ji(t.symbol),t.restrictiveInstantiation.constraint=Ae,t.restrictiveInstantiation):e;var t})),rt=Nd((function(e){return 262144&e.flags?De:e})),nt=Wi(void 0,T,e.emptyArray,e.emptyArray,void 0,void 0),it=Wi(void 0,T,e.emptyArray,e.emptyArray,void 0,void 0);it.objectFlags|=4096;var at=yn(2048,"__type");at.members=e.createSymbolTable();var ot=Wi(at,T,e.emptyArray,e.emptyArray,void 0,void 0),st=Wi(void 0,T,e.emptyArray,e.emptyArray,void 0,void 0);st.instantiations=new e.Map;var ct=Wi(void 0,T,e.emptyArray,e.emptyArray,void 0,void 0);ct.objectFlags|=2097152;var lt=Wi(void 0,T,e.emptyArray,e.emptyArray,void 0,void 0),ut=Wi(void 0,T,e.emptyArray,e.emptyArray,void 0,void 0),dt=Wi(void 0,T,e.emptyArray,e.emptyArray,void 0,void 0),pt=Ji(),ft=Ji();ft.constraint=pt;var mt,gt,_t,ht,yt,vt,bt,kt,xt,Et,St,Dt,wt,Tt,Ct,At,Nt,Pt,It,Ft,Ot,Rt,Mt,Lt,jt,Bt,zt,Ut,qt,Jt,Vt,Ht,Kt,Wt,Gt,$t,Yt,Xt,Qt,Zt,er,tr,rr,nr,ir,ar,or,sr=Ji(),cr=Ac(1,"<<unresolved>>",0,Ee),lr=ds(void 0,void 0,void 0,e.emptyArray,Ee,void 0,0,0),ur=ds(void 0,void 0,void 0,e.emptyArray,we,void 0,0,0),dr=ds(void 0,void 0,void 0,e.emptyArray,Ee,void 0,0,0),pr=ds(void 0,void 0,void 0,e.emptyArray,Ke,void 0,0,0),fr=Qc(Re,!0),mr=new e.Map,gr={get yieldType(){return e.Debug.fail("Not supported")},get returnType(){return e.Debug.fail("Not supported")},get nextType(){return e.Debug.fail("Not supported")}},_r=Rk(Ee,Ee,Ee),hr=Rk(Ee,Ee,Ae),yr=Rk(He,Ee,Ne),vr={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:function(e){return Wt||(Wt=Al("AsyncIterator",3,e))||st},getGlobalIterableType:function(e){return Kt||(Kt=Al("AsyncIterable",1,e))||st},getGlobalIterableIteratorType:function(e){return Gt||(Gt=Al("AsyncIterableIterator",1,e))||st},getGlobalGeneratorType:function(e){return $t||($t=Al("AsyncGenerator",3,e))||st},resolveIterationType:Ub,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},br={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:function(e){return Ut||(Ut=Al("Iterator",3,e))||st},getGlobalIterableType:Ol,getGlobalIterableIteratorType:function(e){return qt||(qt=Al("IterableIterator",1,e))||st},getGlobalGeneratorType:function(e){return Jt||(Jt=Al("Generator",3,e))||st},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},kr=new e.Map,xr=!1,Er=new e.Map,Sr=0,Dr=0,wr=0,Tr=!1,Cr=0,Ar=hd(""),Nr=hd(0),Pr=hd({negative:!1,base10Value:"0"}),Ir=[],Fr=[],Or=[],Rr=0,Mr=10,Lr=[],jr=[],Br=[],zr=[],Ur=[],qr=[],Jr=[],Vr=[],Hr=[],Kr=[],Wr=[],Gr=[],$r=[],Yr=[],Xr=[],Qr=e.createDiagnosticCollection(),Zr=e.createDiagnosticCollection(),en=new e.Map(e.getEntries({string:Re,number:Me,bigint:Le,boolean:qe,symbol:Je,undefined:Ne})),tn=ou(e.arrayFrom(E.keys(),hd)),rn=new e.Map,nn=new e.Map,an=new e.Map,on=new e.Map,sn=new e.Map,cn=new e.Map,ln=e.createSymbolTable();return ln.set(ie.escapedName,ie),function(){for(var r=0,n=t.getSourceFiles();r<n.length;r++){var i=n[r];e.bindSourceFile(i,J)}var a;mt=new e.Map;for(var 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(c)for(var l=0,u=c.declarations;l<u.length;l++){var d=u[l];Qr.add(e.createDiagnosticForNode(d,e.Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0,"globalThis"))}Dn(ne,i.locals)}if(i.jsGlobalAugmentations&&Dn(ne,i.jsGlobalAugmentations),i.patternAmbientModules&&i.patternAmbientModules.length&&(_t=e.concatenate(_t,i.patternAmbientModules)),i.moduleAugmentations.length&&(a||(a=[])).push(i.moduleAugmentations),i.symbol&&i.symbol.globalExports)i.symbol.globalExports.forEach((function(e,t){ne.has(t)||ne.set(t,e)}))}}if(a)for(var p=0,f=a;p<f.length;p++)for(var m=0,g=f[p];m<g.length;m++){var _=g[m];e.isGlobalScopeAugmentation(_.parent)&&wn(_)}(function(t,r,n){r.forEach((function(r,i){var a=t.get(i);a?e.forEach(a.declarations,function(t,r){return function(n){return Qr.add(e.createDiagnosticForNode(n,r,t))}}(e.unescapeLeadingUnderscores(i),n)):t.set(i,r)}))})(ne,ln,e.Diagnostics.Declaration_name_conflicts_with_built_in_global_identifier_0),Tn(ie).type=Pe,Tn(se).type=Al("IArguments",0,!0),Tn(ke).type=we,Tn(ae).type=qi(16,ae),xt=Al("Array",1,!0),yt=Al("Object",0,!0),vt=Al("Function",0,!0),bt=$&&Al("CallableFunction",0,!0)||vt,kt=$&&Al("NewableFunction",0,!0)||vt,St=Al("String",0,!0),Dt=Al("Number",0,!0),wt=Al("Boolean",0,!0),Tt=Al("RegExp",0,!0),At=jl(Ee),(Nt=jl(Se))===nt&&(Nt=Wi(void 0,T,e.emptyArray,e.emptyArray,void 0,void 0));if(Et=Rl("ReadonlyArray",1)||xt,Pt=Et?Ml(Et,[Ee]):At,Ct=Rl("ThisType",1),a)for(var h=0,y=a;h<y.length;h++)for(var v=0,b=y[h];v<b.length;v++){_=b[v];e.isGlobalScopeAugmentation(_.parent)||wn(_)}mt.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++){Sn(c[s],o,r,a)}for(var l=0,u=a;l<u.length;l++){Sn(u[l],o,r,i)}}));else{var a=e.arrayFrom(i.keys()).join(", ");Qr.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))),Qr.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)))}})),mt=void 0}(),le;function un(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,V),e.visitNode(r.localJsxFragmentFactory,s),r.localJsxFragmentFactory)return r.localJsxFragmentNamespace=e.getFirstIdentifier(r.localJsxFragmentFactory).escapedText}var a=ME(t);if(a)return r.localJsxFragmentFactory=a,r.localJsxFragmentNamespace=e.getFirstIdentifier(a).escapedText}else{if(r.localJsxNamespace)return r.localJsxNamespace;var o=r.pragmas.get("jsx");if(o){i=e.isArray(o)?o[0]:o;if(r.localJsxFactory=e.parseIsolatedEntityName(i.arguments.factory,V),e.visitNode(r.localJsxFactory,s),r.localJsxFactory)return r.localJsxNamespace=e.getFirstIdentifier(r.localJsxFactory).escapedText}}}return ir||(ir="React",J.jsxFactory?(ar=e.parseIsolatedEntityName(J.jsxFactory,V),e.visitNode(ar,s),ar&&(ir=e.getFirstIdentifier(ar).escapedText)):J.reactNamespace&&(ir=e.escapeLeadingUnderscores(J.reactNamespace))),ar||(ar=e.factory.createQualifiedName(e.factory.createIdentifier(e.unescapeLeadingUnderscores(ir)),"createElement")),ir;function s(t){return e.setTextRangePosEnd(t,-1,-1),e.visitEachChild(t,s,e.nullTransformationContext)}}function dn(e,t,r,n,i,a,o){var s=pn(t,r,n,i,a,o);return s.skippedOn=e,s}function pn(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 Qr.add(s),s}function fn(t,r){t?Qr.add(r):Zr.add(a(a({},r),{category:e.DiagnosticCategory.Suggestion}))}function mn(t,r,n,i,a,o,s){if(r.pos<0||r.end<0){if(!t)return;var c=e.getSourceFileOfNode(r);fn(t,"message"in n?e.createFileDiagnostic(c,0,0,n,i,a,o,s):e.createDiagnosticForFileFromMessageChain(c,n))}else fn(t,"message"in n?e.createDiagnosticForNode(r,n,i,a,o,s):e.createDiagnosticForNodeFromMessageChain(r,n))}function gn(t,r,n,i,a,o,s){var c=pn(t,n,i,a,o,s);if(r){var l=e.createDiagnosticForNode(t,e.Diagnostics.Did_you_forget_to_use_await);e.addRelatedInfo(c,l)}return c}function _n(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)),Zr.add(r),r}function hn(t,r,n){return _n(r,e.createDiagnosticForNode(t,e.Diagnostics._0_is_deprecated,n))}function yn(e,t,r){v++;var n=new g(33554432|e,t);return n.checkFlags=r||0,n}function vn(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 bn(e,t){t.mergeId||(t.mergeId=p,p++),Lr[t.mergeId]=e}function kn(t){var r=yn(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)),bn(r,t),r}function xn(t,r,n){if(void 0===n&&(n=!1),!(t.flags&vn(r.flags))||67108864&(r.flags|t.flags)){if(r===t)return t;if(!(33554432&t.flags)){var i=ii(t);if(i===ke)return r;t=kn(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()),Dn(t.members,r.members,n)),r.exports&&(t.exports||(t.exports=e.createSymbolTable()),Dn(t.exports,r.exports,n)),n||bn(t,r)}else if(1024&t.flags)t!==ae&&pn(e.getNameOfDeclaration(r.declarations[0]),e.Diagnostics.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,la(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]),l=t.declarations&&e.getSourceFileOfNode(t.declarations[0]),u=la(r);if(c&&l&&mt&&!a&&c!==l){var d=-1===e.comparePaths(c.path,l.path)?c:l,p=d===c?l:c,f=e.getOrUpdate(mt,d.path+"|"+p.path,(function(){return{firstFile:d,secondFile:p,conflictingSymbols:new e.Map}})),m=e.getOrUpdate(f.conflictingSymbols,u,(function(){return{isBlockScoped:o,firstFileLocations:[],secondFileLocations:[]}}));g(m.firstFileLocations,r),g(m.secondFileLocations,t)}else En(r,s,u,t),En(t,s,u,r)}return t;function g(t,r){for(var n=0,i=r.declarations;n<i.length;n++){var a=i[n];e.pushIfUnique(t,a)}}}function En(t,r,n,i){e.forEach(t.declarations,(function(e){Sn(e,r,n,i.declarations)}))}function Sn(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 Qr.lookup(s)||(Qr.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,l=i||e.emptyArray;c<l.length;c++){s(l[c])}}function Dn(e,t,r){void 0===r&&(r=!1),t.forEach((function(t,n){var i=e.get(n);e.set(n,i?xn(i,t,r):t)}))}function wn(t){var r,n,i=t.parent;if(i.symbol.declarations[0]===i)if(e.isGlobalScopeAugmentation(i))Dn(ne,i.symbol.exports);else{var a=_i(t,t,8388608&t.parent.parent.flags?void 0:e.Diagnostics.Invalid_module_name_in_augmentation_module_0_cannot_be_found,!0);if(!a)return;if(1920&(a=vi(a)).flags)if(e.some(_t,(function(e){return a===e.symbol}))){var o=xn(i.symbol,a,!0);ht||(ht=new e.Map),ht.set(t.text,o)}else{if((null===(r=a.exports)||void 0===r?void 0:r.get("__export"))&&(null===(n=i.symbol.exports)||void 0===n?void 0:n.size))for(var s=os(a,"resolvedExports"),c=0,l=e.arrayFrom(i.symbol.exports.entries());c<l.length;c++){var u=l[c],d=u[0],p=u[1];s.has(d)&&!a.exports.has(d)&&xn(s.get(d),p)}xn(a,i.symbol)}else pn(t,e.Diagnostics.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,t.text)}else e.Debug.assert(i.symbol.declarations.length>1)}function Tn(e){if(33554432&e.flags)return e;var t=R(e);return jr[t]||(jr[t]=new I)}function Cn(e){var t=O(e);return Br[t]||(Br[t]=new F)}function An(t){return 300===t.kind&&!e.isExternalOrCommonJsModule(t)}function Nn(r,n,i,a){if(i){var o=Ci(r.get(n));if(o){if(e.Debug.assert(!(1&e.getCheckFlags(o)),"Should never get an instantiated symbol here."),!function(r,n){if(!n||!r.declarations||!r.declarations.length)return!0;var i=e.getEtsLibs(t),a=e.getSourceFileOfNode(n).fileName.trim();if(!a)return!0;var o=null===e.sys||void 0===e.sys?void 0:e.sys.resolvePath(a);return!(!(null==o?void 0:o.endsWith(".ets"))&&!i.includes(o)&&!r.declarations.filter((function(t){if(!e.getSourceFileOfNode(t).fileName)return!0;var r=null===e.sys||void 0===e.sys?void 0:e.sys.resolvePath(e.getSourceFileOfNode(t).fileName);return-1===i.indexOf(r)})).length)}(o,a))return;if(o.flags&i)return o;if(2097152&o.flags){var s=ai(o);if(s===ke||s.flags&i)return o}}}}function Pn(r,n){var i=e.getSourceFileOfNode(r),a=e.getSourceFileOfNode(n),o=e.getEnclosingBlockScopeContainer(r);if(i!==a){if(H&&(i.externalModuleIndicator||a.externalModuleIndicator)||!e.outFile(J)||Nm(n)||8388608&r.flags)return!0;if(l(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(199===r.kind){var c=e.getAncestor(n,199);return c?e.findAncestor(c,e.isBindingElement)!==e.findAncestor(r,e.isBindingElement)||r.pos<c.pos:Pn(e.getAncestor(r,251),n)}return 251===r.kind?!function(t,r){switch(t.parent.parent.kind){case 234:case 239:case 241:if(qn(r,t,o))return!0}var n=t.parent.parent;return e.isForInOrOfStatement(n)&&qn(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)?!u(r,n,!1):!e.isParameterPropertyDeclaration(r,r.parent)||!(99===J.target&&J.useDefineForClassFields&&e.getContainingClass(r)===e.getContainingClass(n)&&l(n,r))}return!!(273===n.parent.kind||269===n.parent.kind&&n.parent.isExportEquals)||(!(269!==n.kind||!n.isExportEquals)||(!!(4194304&n.flags||Nm(n)||e.findAncestor(n,(function(t){return e.isInterfaceDeclaration(t)||e.isTypeAliasDeclaration(t)})))||!!l(n,r)&&(99!==J.target||!J.useDefineForClassFields||!e.getContainingClass(r)||!e.isPropertyDeclaration(r)&&!e.isParameterPropertyDeclaration(r,r.parent)||!u(r,n,!0))));function l(t,r){return!!e.findAncestor(t,(function(n){if(n===o)return"quit";if(e.isFunctionLike(n))return!0;if(n.parent&&164===n.parent.kind&&n.parent.initializer===n)if(e.hasSyntacticModifier(n.parent,32)){if(166===r.kind)return!0}else if(!(164===r.kind&&!e.hasSyntacticModifier(r,32))||e.getContainingClass(t)!==e.getContainingClass(r))return!0;return!1}))}function u(t,r,n){return!(r.end>t.end)&&void 0===e.findAncestor(r,(function(r){if(r===t)return"quit";switch(r.kind){case 210:return!0;case 164:return!n||!(e.isPropertyDeclaration(t)&&r.parent===t.parent||e.isParameterPropertyDeclaration(t,t.parent)&&r.parent===t.parent.parent)||"quit";case 232:switch(r.parent.kind){case 168:case 166:case 169:return!0;default:return!1}default:return!1}}))}}function In(t,r,n){var i=e.getEmitScriptTarget(J),a=r;if(e.isParameter(n)&&a.body&&t.valueDeclaration.pos>=a.body.pos&&t.valueDeclaration.end<=a.body.end&&i>=2){var o=Cn(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 210:case 209:case 253:case 167:return!1;case 166:case 168:case 169:case 291:return s(t.name);case 164:return e.hasStaticModifier(t)?i<99||!J.useDefineForClassFields: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 Fn(e,t,r,n,i,a,o,s){return void 0===o&&(o=!1),On(e,t,r,n,i,a,o,Nn,s)}function On(t,r,n,i,a,o,s,c,l){var u,d,p,f,m,g,_=t,h=!1,y=t,v=!1;e:for(;t;){if(t.locals&&!An(t)&&(u=c(t.locals,r,n))){var b=!0;if(e.isFunctionLike(t)&&d&&d!==t.body?(n&u.flags&788968&&314!==d.kind&&(b=!!(262144&u.flags)&&(d===t.type||161===d.kind||160===d.kind)),n&u.flags&3&&(In(u,t,d)?b=!1:1&u.flags&&(b=161===d.kind||d===t.type&&!!e.findAncestor(u.valueDeclaration,e.isParameter)))):185===t.kind&&(b=d===t.trueType),b)break e;u=void 0}switch(h=h||Rn(t,d),t.kind){case 300:if(!e.isExternalOrCommonJsModule(t))break;v=!0;case 259:var k=Ai(t)&&Ai(t).exports||T;if(300===t.kind||e.isModuleDeclaration(t)&&8388608&t.flags&&!e.isGlobalScopeAugmentation(t)){if(u=k.get("default")){var x=e.getLocalSymbolForExportDefault(u);if(x&&u.flags&n&&x.escapedName===r)break e;u=void 0}var E=k.get(r);if(E&&2097152===E.flags&&(e.getDeclarationOfKind(E,273)||e.getDeclarationOfKind(E,272)))break}if("default"!==r&&(u=c(k,r,2623475&n))){if(!e.isSourceFile(t)||!t.commonJsModuleIndicator||u.declarations.some(e.isJSDocTypeAlias))break e;u=void 0}break;case 258:if(u=c(Ai(t).exports,r,8&n))break e;break;case 164:if(!e.hasSyntacticModifier(t,32)){var S=Li(t.parent);S&&S.locals&&c(S.locals,r,111551&n)&&(f=t)}break;case 254:case 223:case 256:if(u=c(Ai(t).members||T,r,788968&n)){if(!jn(u,t)){u=void 0;break}if(d&&e.hasSyntacticModifier(d,32))return void pn(y,e.Diagnostics.Static_members_cannot_reference_class_type_parameters);break e}if(223===t.kind&&32&n){var D=t.name;if(D&&r===D.escapedText){u=t.symbol;break e}}break;case 225:if(d===t.expression&&94===t.parent.token){var w=t.parent.parent;if(e.isClassLike(w)&&(u=c(Ai(w).members,r,788968&n)))return void(i&&pn(y,e.Diagnostics.Base_class_expressions_cannot_reference_class_type_parameters))}break;case 159:if(g=t.parent.parent,(e.isClassLike(g)||256===g.kind)&&(u=c(Ai(g).members,r,788968&n)))return void pn(y,e.Diagnostics.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);break;case 210:if(J.target>=2)break;case 166:case 167:case 168:case 169:case 253:if(3&n&&"arguments"===r){u=se;break e}break;case 209:if(3&n&&"arguments"===r){u=se;break e}if(16&n){var C=t.name;if(C&&r===C.escapedText){u=t.symbol;break e}}break;case 162:t.parent&&161===t.parent.kind&&(t=t.parent),t.parent&&(e.isClassElement(t.parent)||254===t.parent.kind)&&(t=t.parent);break;case 334:case 327:case 328:(O=e.getJSDocRoot(t))&&(t=O.parent);break;case 161:d&&(d===t.initializer||d===t.name&&e.isBindingPattern(d))&&(m||(m=t));break;case 199:d&&(d===t.initializer||d===t.name&&e.isBindingPattern(d))&&e.isParameterDeclaration(t)&&!m&&(m=t);break;case 186:if(262144&n){var A=t.typeParameter.name;if(A&&r===A.escapedText){u=t.typeParameter.symbol;break e}}}Mn(t)&&(p=t),d=t,t=t.parent}if(!o||!u||p&&u===p.symbol||(u.isReferenced|=n),!u){if(d&&(e.Debug.assert(300===d.kind),d.commonJsModuleIndicator&&"exports"===r&&n&d.symbol.flags))return d.symbol;s||(u=c(ne,r,n,_))}if(!u&&_&&e.isInJSFile(_)&&_.parent&&e.isRequireCall(_.parent,!1))return ce;if(u){if(i){if(f&&(99!==J.target||!J.useDefineForClassFields)){var N=f.name;return void pn(y,e.Diagnostics.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,e.declarationNameToString(N),Ln(a))}if(y&&(2&n||(32&n||384&n)&&!(111551&~n))){var P=Ri(u);(2&P.flags||32&P.flags||384&P.flags)&&function(t,r){if(e.Debug.assert(!!(2&t.flags||32&t.flags||384&t.flags)),67108881&t.flags&&32&t.flags)return;var n=e.find(t.declarations,(function(t){return e.isBlockOrCatchScoped(t)||e.isClassLike(t)||258===t.kind}));if(void 0===n)return e.Debug.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");if(!(8388608&n.flags||Pn(n,r))){var i=void 0,a=e.declarationNameToString(e.getNameOfDeclaration(n));2&t.flags?i=pn(r,e.Diagnostics.Block_scoped_variable_0_used_before_its_declaration,a):32&t.flags?i=pn(r,e.Diagnostics.Class_0_used_before_its_declaration,a):256&t.flags?i=pn(r,e.Diagnostics.Enum_0_used_before_its_declaration,a):(e.Debug.assert(!!(128&t.flags)),e.shouldPreserveConstEnums(J)&&(i=pn(r,e.Diagnostics.Enum_0_used_before_its_declaration,a))),i&&e.addRelatedInfo(i,e.createDiagnosticForNode(n,e.Diagnostics._0_is_declared_here,a))}}(P,y)}if(u&&v&&!(111551&~n)&&!(4194304&_.flags)){var I=Ci(u);e.length(I.declarations)&&e.every(I.declarations,(function(t){return e.isNamespaceExportDeclaration(t)||e.isSourceFile(t)&&!!t.symbol.globalExports}))&&mn(!J.allowUmdGlobalAccess,y,e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,e.unescapeLeadingUnderscores(r))}if(u&&m&&!h&&!(111551&~n)){var F=Ci(cs(u)),O=e.getRootDeclaration(m);F===Ai(m)?pn(y,e.Diagnostics.Parameter_0_cannot_reference_itself,e.declarationNameToString(m.name)):F.valueDeclaration&&F.valueDeclaration.pos>m.pos&&O.parent.locals&&c(O.parent.locals,F.escapedName,n)===F&&pn(y,e.Diagnostics.Parameter_0_cannot_reference_identifier_1_declared_after_it,e.declarationNameToString(m.name),e.declarationNameToString(y))}u&&y&&111551&n&&2097152&u.flags&&function(t,r,n){if(!e.isValidTypeOnlyAliasUseSite(n)){var i=ci(t);if(i){var a=e.typeOnlyDeclarationIsExport(i),o=a?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,s=a?e.Diagnostics._0_was_exported_here:e.Diagnostics._0_was_imported_here,c=e.unescapeLeadingUnderscores(r);e.addRelatedInfo(pn(n,o,c),e.createDiagnosticForNode(i,s,c))}}}(u,r,y)}return u}if(i&&!(y&&(function(t,r,n){if(!e.isIdentifier(t)||t.escapedText!==r||Hx(t)||Nm(t))return!1;var i=e.getThisContainer(t,!1),a=i;for(;a;){if(e.isClassLike(a.parent)){var o=Ai(a.parent);if(!o)break;if(gc(_o(o),r))return pn(t,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,Ln(n),la(o)),!0;if(a===i&&!e.hasSyntacticModifier(a,32))if(gc(Jo(o).thisType,r))return pn(t,e.Diagnostics.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,Ln(n)),!0}a=a.parent}return!1}(y,r,a)||Bn(y)||function(t,r,n){var i=1920|(e.isInJSFile(t)?111551:0);if(n===i){var a=ii(Fn(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(gc(Jo(a),s))return pn(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 pn(t,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,e.unescapeLeadingUnderscores(r)),!0}}return!1}(y,r,n)||function(t,r){if(Un(r)&&273===t.parent.kind)return pn(t,e.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,r),!0;return!1}(y,r)||function(t,r,n){if(111551&n){if(Un(r))return pn(t,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,e.unescapeLeadingUnderscores(r)),!0;var i=ii(Fn(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)?!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=Jo(r);return!!(1048576&i.flags)&&Lv(i,384,!0)}return!1}(t,i)?pn(t,e.Diagnostics._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,a):pn(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"):pn(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),!0}}return!1}(y,r,n)||function(t,r,n){if(111127&n){if(ii(Fn(t,r,1024,void 0,void 0,!1)))return pn(t,e.Diagnostics.Cannot_use_namespace_0_as_a_value,e.unescapeLeadingUnderscores(r)),!0}else if(788544&n){if(ii(Fn(t,r,1536,void 0,void 0,!1)))return pn(t,e.Diagnostics.Cannot_use_namespace_0_as_a_type,e.unescapeLeadingUnderscores(r)),!0}return!1}(y,r,n)||function(t,r,n){if(788584&n){var i=ii(Fn(t,r,111127,void 0,void 0,!1));if(i&&!(1920&i.flags))return pn(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}(y,r,n)))){var R=void 0;if(l&&Rr<Mr)if((R=Oh(_,r,n))&&R.valueDeclaration&&e.isAmbientModule(R.valueDeclaration)&&e.isGlobalScopeAugmentation(R.valueDeclaration)&&(R=void 0),R){var M=la(R),L=pn(y,l,Ln(a),M);R.valueDeclaration&&e.addRelatedInfo(L,e.createDiagnosticForNode(R.valueDeclaration,e.Diagnostics._0_is_declared_here,M))}if(!R&&a){var j=function(t){for(var r=Ln(t),n=e.getScriptTargetFeatures(),i=e.getOwnKeys(n),a=0,o=i;a<o.length;a++){var s=o[a],c=e.getOwnKeys(n[s]);if(void 0!==c&&e.contains(c,r))return s}}(a);j?pn(y,i,Ln(a),j):pn(y,i,Ln(a))}Rr++}}function Rn(t,r){return 210!==t.kind&&209!==t.kind?e.isTypeQueryNode(t)||(e.isFunctionLikeDeclaration(t)||164===t.kind&&!e.hasSyntacticModifier(t,32))&&(!r||r!==t.name):(!r||r!==t.name)&&(!(!t.asteriskToken&&!e.hasSyntacticModifier(t,256))||!e.getImmediatelyInvokedFunctionExpression(t))}function Mn(e){switch(e.kind){case 253:case 254:case 256:case 258:case 257:case 259:return!0;default:return!1}}function Ln(t){return e.isString(t)?e.unescapeLeadingUnderscores(t):e.declarationNameToString(t)}function jn(t,r){for(var n=0,i=t.declarations;n<i.length;n++){var a=i[n];if(160===a.kind)if((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 Bn(t){var r=zn(t);return!(!r||!fi(r,64,!0))&&(pn(t,e.Diagnostics.Cannot_extend_an_interface_0_Did_you_mean_implements,e.getTextOfNode(r)),!0)}function zn(t){switch(t.kind){case 78:case 202:return t.parent?zn(t.parent):void 0;case 225:if(e.isEntityNameExpression(t.expression))return t.expression;default:return}}function Un(e){return"any"===e||"string"===e||"number"===e||"boolean"===e||"never"===e||"unknown"===e}function qn(t,r,n){return!!r&&!!e.findAncestor(t,(function(t){return t===n||e.isFunctionLike(t)?"quit":t===r}))}function Jn(e){switch(e.kind){case 263:return e;case 265:return e.parent;case 266:return e.parent.parent;case 268:return e.parent.parent.parent;default:return}}function Vn(t){return e.find(t.declarations,Hn)}function Hn(t){return 263===t.kind||262===t.kind||265===t.kind&&!!t.name||266===t.kind||272===t.kind||268===t.kind||273===t.kind||269===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&&62===t.parent.operatorToken.kind&&Kn(t.parent.right)||292===t.kind||291===t.kind&&Kn(t.initializer)||e.isRequireVariableDeclaration(t,!0)}function Kn(t){return e.isAliasableExpression(t)||e.isFunctionExpression(t)&&Fy(t)}function Wn(t,r){var n=Zn(t);if(n){var i=e.getLeftmostAccessExpression(n.expression).arguments[0];return e.isIdentifier(n.name)?ii(gc(Mc(i),n.name.escapedText)):void 0}if(e.isVariableDeclaration(t)||275===t.moduleReference.kind){var a=gi(t,e.getExternalModuleRequireArgument(t)||e.getExternalModuleImportEqualsDeclarationExpression(t)),o=vi(a);return oi(t,a,o,!1),o}var s=di(t.moduleReference,r);return function(t,r){if(oi(t,void 0,r,!1)&&!t.isTypeOnly){var n=ci(Ai(t)),i=e.typeOnlyDeclarationIsExport(n),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(pn(t.moduleReference,a),e.createDiagnosticForNode(n,o,s))}}(t,s),s}function Gn(e,t,r,n){var i=e.exports.get("export="),a=i?gc(_o(i),t):e.exports.get(t),o=ii(a,n);return oi(r,a,o,!1),o}function $n(t){return e.isExportAssignment(t)&&!t.isExportEquals||e.hasSyntacticModifier(t,512)||e.isExportSpecifier(t)}function Yn(t,r,n){if(!K)return!1;if(!t||t.isDeclarationFile){var i=Gn(r,"default",void 0,!0);return(!i||!e.some(i.declarations,$n))&&!Gn(r,e.escapeLeadingUnderscores("__esModule"),void 0,n)}return e.isSourceFileJS(t)?!t.externalModuleIndicator&&!Gn(r,e.escapeLeadingUnderscores("__esModule"),void 0,n):ki(r)}function Xn(t,r){var n=gi(t,t.parent.moduleSpecifier);if(n){var i=void 0;i=e.isShorthandAmbientModuleSymbol(n)?n:Gn(n,"default",t,r);var a=Yn(e.find(n.declarations,e.isSourceFile),n,r);if(i||a){if(a){var o=vi(n,r)||ii(n,r);return oi(t,n,o,!1),o}}else if(ki(n)){var s=H>=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop",c=n.exports.get("export=").valueDeclaration,l=pn(t.name,e.Diagnostics.Module_0_can_only_be_default_imported_using_the_1_flag,la(n),s);e.addRelatedInfo(l,e.createDiagnosticForNode(c,e.Diagnostics.This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,s))}else!function(t,r){var n,i;if(null===(n=t.exports)||void 0===n?void 0:n.has(r.symbol.escapedName))pn(r.name,e.Diagnostics.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,la(t),la(r.symbol));else{var a=pn(r.name,e.Diagnostics.Module_0_has_no_default_export,la(t)),o=null===(i=t.exports)||void 0===i?void 0:i.get("__export");if(o){var s=e.find(o.declarations,(function(t){var r,n;return!!(e.isExportDeclaration(t)&&t.moduleSpecifier&&(null===(n=null===(r=gi(t,t.moduleSpecifier))||void 0===r?void 0:r.exports)||void 0===n?void 0:n.has("default")))}));s&&e.addRelatedInfo(a,e.createDiagnosticForNode(s,e.Diagnostics.export_Asterisk_does_not_re_export_a_default))}}}(n,t);return oi(t,i,void 0,!1),i}}function Qn(t,r,n){var a;void 0===n&&(n=!1);var o=e.getExternalModuleRequireArgument(t)||t.moduleSpecifier,s=gi(t,o),c=!e.isPropertyAccessExpression(r)&&r.propertyName||r.name;if(e.isIdentifier(c)){var l=bi(s,o,n,"default"===c.escapedText&&!(!J.allowSyntheticDefaultImports&&!J.esModuleInterop));if(l&&c.escapedText){if(e.isShorthandAmbientModuleSymbol(s))return s;var u=void 0;u=s&&s.exports&&s.exports.get("export=")?gc(_o(l),c.escapedText,!0):function(e,t){if(3&e.flags){var r=e.valueDeclaration.type;if(r)return ii(gc(xd(r),t))}}(l,c.escapedText),u=ii(u,n);var d=function(e,t,r,n){if(1536&e.flags){var i=Si(e).get(t.escapedText),a=ii(i,n);return oi(r,i,a,!1),a}}(l,c,r,n);if(void 0===d&&"default"===c.escapedText)Yn(e.find(s.declarations,e.isSourceFile),s,n)&&(d=vi(s,n)||ii(s,n));var p=d&&u&&d!==u?function(t,r){if(t===ke&&r===ke)return ke;if(790504&t.flags)return t;var n=yn(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}(u,d):d||u;if(!p){var f=pi(s,t),m=e.declarationNameToString(c),g=Rh(c,l);if(void 0!==g){var _=la(g),h=pn(c,e.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,f,m,_);g.valueDeclaration&&e.addRelatedInfo(h,e.createDiagnosticForNode(g.valueDeclaration,e.Diagnostics._0_is_declared_here,_))}else(null===(a=s.exports)||void 0===a?void 0:a.has("default"))?pn(c,e.Diagnostics.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,f,m):function(t,r,n,a,o){var s,c=null===(s=a.valueDeclaration.locals)||void 0===s?void 0:s.get(r.escapedText),l=a.exports;if(c){var u=null==l?void 0:l.get("export=");if(u)Oi(u,c)?function(t,r,n,i){if(H>=e.ModuleKind.ES2015){pn(r,J.esModuleInterop?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)}else{if(e.isInJSFile(t))pn(r,J.esModuleInterop?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);else pn(r,J.esModuleInterop?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):pn(r,e.Diagnostics.Module_0_has_no_exported_member_1,o,n);else{var d=l?e.find(Sc(l),(function(e){return!!Oi(e,c)})):void 0,p=d?pn(r,e.Diagnostics.Module_0_declares_1_locally_but_it_is_exported_as_2,o,n,la(d)):pn(r,e.Diagnostics.Module_0_declares_1_locally_but_it_is_not_exported,o,n);e.addRelatedInfo.apply(void 0,i([p],e.map(c.declarations,(function(t,r){return e.createDiagnosticForNode(t,0===r?e.Diagnostics._0_is_declared_here:e.Diagnostics.and_here,n)}))))}}else pn(r,e.Diagnostics.Module_0_has_no_exported_member_1,o,n)}(t,c,m,s,f)}return p}}}function Zn(t){if(e.isVariableDeclaration(t)&&t.initializer&&e.isPropertyAccessExpression(t.initializer))return t.initializer}function ei(e,t,r){var n=e.parent.parent.moduleSpecifier?Qn(e.parent.parent,e,r):fi(e.propertyName||e.name,t,!1,r);return oi(e,void 0,n,!1),n}function ti(t,r){if(e.isClassExpression(t))return $v(t).symbol;if(e.isEntityName(t)||e.isEntityNameExpression(t)){var n=fi(t,901119,!0,r);return n||($v(t),Cn(t).resolvedSymbol)}}function ri(t,r){switch(void 0===r&&(r=!1),t.kind){case 263:case 251:return Wn(t,r);case 265:return Xn(t,r);case 266:return function(e,t){var r=e.parent.parent.moduleSpecifier,n=gi(e,r),i=bi(n,r,t,!1);return oi(e,n,i,!1),i}(t,r);case 272:return function(e,t){var r=e.parent.moduleSpecifier,n=r&&gi(e,r),i=r&&bi(n,r,t,!1);return oi(e,n,i,!1),i}(t,r);case 268:case 199:return function(t,r){var n=e.isBindingElement(t)?e.getRootDeclaration(t):t.parent.parent.parent,i=Zn(n),a=Qn(n,i||t,r),o=t.propertyName||t.name;return i&&a&&e.isIdentifier(o)?ii(gc(_o(a),o.escapedText),r):(oi(t,void 0,a,!1),a)}(t,r);case 273:return ei(t,901119,r);case 269:case 218:return function(t,r){var n=ti(e.isExportAssignment(t)?t.expression:t.right,r);return oi(t,void 0,n,!1),n}(t,r);case 262:return function(e,t){var r=vi(e.parent.symbol,t);return oi(e,void 0,r,!1),r}(t,r);case 292:return fi(t.name,901119,!0,r);case 291:return function(e,t){return ti(e.initializer,t)}(t,r);case 203:case 202:return function(t,r){if(e.isBinaryExpression(t.parent)&&t.parent.left===t&&62===t.parent.operatorToken.kind)return ti(t.parent.right,r)}(t,r);default:return e.Debug.fail()}}function ni(e,t){return void 0===t&&(t=901119),!!e&&(2097152==(e.flags&(2097152|t))||!!(2097152&e.flags&&67108864&e.flags))}function ii(e,t){return!t&&ni(e)?ai(e):e}function ai(t){e.Debug.assert(!!(2097152&t.flags),"Should only get Alias here.");var r=Tn(t);if(r.target)r.target===xe&&(r.target=ke);else{r.target=xe;var n=Vn(t);if(!n)return e.Debug.fail();var i=ri(n);r.target===xe?r.target=i||ke:pn(n,e.Diagnostics.Circular_definition_of_import_alias_0,la(t))}return r.target}function oi(t,r,n,i){if(!t||e.isPropertyAccessExpression(t))return!1;var a=Ai(t);if(e.isTypeOnlyImportOrExportDeclaration(t))return Tn(a).typeOnlyDeclaration=t,!0;var o=Tn(a);return si(o,r,i)||si(o,n,i)}function si(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:Tn(s).typeOnlyDeclaration)&&void 0!==o&&o}return!!t.typeOnlyDeclaration}function ci(e){if(2097152&e.flags)return Tn(e).typeOnlyDeclaration||void 0}function li(e){var t=Ai(e),r=ai(t);r&&((r===ke||111551&r.flags&&!mE(r)&&!ci(t))&&ui(t))}function ui(t){var r=Tn(t);if(!r.referenced){r.referenced=!0;var n=Vn(t);if(!n)return e.Debug.fail();if(e.isInternalModuleImportEqualsDeclaration(n)){var i=ii(t);(i===ke||111551&i.flags)&&$v(n.moduleReference)}}}function di(t,r){return 78===t.kind&&e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),78===t.kind||158===t.parent.kind?fi(t,1920,!1,r):(e.Debug.assert(263===t.parent.kind),fi(t,901119,!1,r))}function pi(e,t){return e.parent?pi(e.parent,t)+"."+la(e):la(e,t,void 0,20)}function fi(t,r,n,i,a){if(!e.nodeIsMissing(t)){var o,s=1920|(e.isInJSFile(t)?111551&r:0);if(78===t.kind){var c=r===s||e.nodeIsSynthesized(t)?e.Diagnostics.Cannot_find_namespace_0:Cm(e.getFirstIdentifier(t)),l=e.isInJSFile(t)&&!e.nodeIsSynthesized(t)?function(t,r){if(bl(t.parent)){var n=function(t){if(e.findAncestor(t,(function(t){return e.isJSDocNode(t)||4194304&t.flags?e.isJSDocTypeAlias(t):"quit"})))return;var r=e.getJSDocHost(t);if(r&&e.isExpressionStatement(r)&&e.isBinaryExpression(r.expression)&&3===e.getAssignmentDeclarationKind(r.expression)){if(i=Ai(r.expression.left))return mi(i)}if(r&&(e.isObjectLiteralMethod(r)||e.isPropertyAssignment(r))&&e.isBinaryExpression(r.parent.parent)&&6===e.getAssignmentDeclarationKind(r.parent.parent)){if(i=Ai(r.parent.parent.left))return mi(i)}var n=e.getEffectiveJSDocHost(t);if(n&&e.isFunctionLike(n)){var i;return(i=Ai(n))&&i.valueDeclaration}}(t.parent);if(n)return Fn(n,t.escapedText,r,void 0,t,!0)}}(t,r):void 0;if(!(o=Ci(Fn(a||t,t.escapedText,r,n||l?void 0:c,t,!0))))return Ci(l)}else{if(158!==t.kind&&202!==t.kind)throw e.Debug.assertNever(t,"Unknown entity name kind.");var u=158===t.kind?t.left:t.expression,d=158===t.kind?t.right:t.name,p=fi(u,s,n,!1,a);if(!p||e.nodeIsMissing(d))return;if(p===ke)return p;if(e.isInJSFile(t)&&p.valueDeclaration&&e.isVariableDeclaration(p.valueDeclaration)&&p.valueDeclaration.initializer&&Ky(p.valueDeclaration.initializer)){var f=p.valueDeclaration.initializer.arguments[0],m=gi(f,f);if(m){var g=vi(m);g&&(p=g)}}if(!(o=Ci(Nn(Si(p),d.escapedText,r)))){if(!n){var _=pi(p),h=e.declarationNameToString(d),y=Rh(d,p);y?pn(d,e.Diagnostics._0_has_no_exported_member_named_1_Did_you_mean_2,_,h,la(y)):pn(d,e.Diagnostics.Namespace_0_has_no_exported_member_1,_,h)}return}}return e.Debug.assert(!(1&e.getCheckFlags(o)),"Should never get an instantiated symbol here."),!e.nodeIsSynthesized(t)&&e.isEntityName(t)&&(2097152&o.flags||269===t.parent.kind)&&oi(e.getAliasDeclarationFromName(t),o,void 0,!0),o.flags&r||i?o:ai(o)}}function mi(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 gi(t,r,n){var i=e.getEmitModuleResolutionKind(J)===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 _i(t,r,n?void 0:i)}function _i(t,r,n,i){return void 0===i&&(i=!1),e.isStringLiteralLike(r)?hi(t,r.text,n,r,i):void 0}function hi(r,n,i,a,o){(void 0===o&&(o=!1),e.startsWith(n,"@types/"))&&pn(a,h=e.Diagnostics.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,e.removePrefix(n,"@types/"),n);var s=-1!==n.lastIndexOf(".so");if(!s||e.isInETSFile(r)&&J.needDoArkTsLinter&&!J.isCompatibleVersion){var c=wc(n,!0);if(c)return c;var l=e.getSourceFileOfNode(r),u=e.getResolvedModule(l,n);if(J.needDoArkTsLinter&&l&&3===l.scriptKind&&u&&(".ets"===u.extension||".d.ets"===u.extension))pn(a,J.isCompatibleVersion?e.Diagnostics.Importing_ArkTS_files_in_JS_and_TS_files_is_about_to_be_forbidden:e.Diagnostics.Importing_ArkTS_files_in_JS_and_TS_files_is_forbidden,n);var d=u&&e.getResolutionDiagnostic(J,u),p=u&&!d&&t.getSourceFile(u.resolvedFileName);if(p)return p.symbol?(u.isExternalLibraryImport&&!e.resolutionExtensionIsTSOrJson(u.extension)&&yi(!1,a,u,n),Ci(p.symbol)):void(i&&pn(a,e.Diagnostics.File_0_is_not_a_module,p.fileName));if(_t){var f=e.findBestPatternMatch(_t,(function(e){return e.pattern}),n);if(f){var m=ht&&ht.get(n);return Ci(m?m:f.symbol)}}if(u&&!e.resolutionExtensionIsTSOrJson(u.extension)&&void 0===d||d===e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type)o?pn(a,h=e.Diagnostics.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented,n,u.resolvedFileName):yi(X&&!!i,a,u,n);else if(i){if(u){var g=t.getProjectReferenceRedirect(u.resolvedFileName);if(g)return void pn(a,e.Diagnostics.Output_file_0_has_not_been_built_from_source_file_1,g,u.resolvedFileName)}if(d)pn(a,d,n,u.resolvedFileName);else{var _=e.tryExtractTSExtension(n);if(_){var h=e.Diagnostics.An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead,y=e.removeExtension(n,_);e.getEmitModuleKind(J)>=e.ModuleKind.ES2015&&(y+=".js"),pn(a,h,_,y)}else if(!J.resolveJsonModule&&e.fileExtensionIs(n,".json")&&e.getEmitModuleResolutionKind(J)===e.ModuleResolutionKind.NodeJs&&e.hasJsonModuleEmitEnabled(J))pn(a,e.Diagnostics.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,n);else if(s){v=e.createDiagnosticForNode(a,e.Diagnostics.Currently_module_for_0_is_not_verified_If_you_re_importing_napi_its_verification_will_be_enabled_in_later_SDK_version_Please_make_sure_the_corresponding_d_ts_file_is_provided_and_the_napis_are_correctly_declared,n);Qr.add(v)}else pn(a,i,n)}}}else{var v=e.createDiagnosticForNode(a,e.Diagnostics.Currently_module_for_0_is_not_verified_If_you_re_importing_napi_its_verification_will_be_enabled_in_later_SDK_version_Please_make_sure_the_corresponding_d_ts_file_is_provided_and_the_napis_are_correctly_declared,n);Qr.add(v)}}function yi(t,r,n,i){var a,o=n.packageId,s=n.resolvedFileName,c=!e.isExternalModuleNameRelative(i)&&o?(a=o.name,m().has(e.getTypesPackageName(a))?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,o.name,e.mangleScopedPackageName(o.name)):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(o.name))):void 0;mn(t,r,e.chainDiagnosticMessages(c,e.Diagnostics.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,i,s))}function vi(t,r){if(null==t?void 0:t.exports){var n=function(t,r){if(!t||t===ke||t===r||1===r.exports.size||2097152&t.flags)return t;var n=Tn(t);if(n.cjsExportMerged)return n.cjsExportMerged;var i=33554432&t.flags?t:kn(t);i.flags=512|i.flags,void 0===i.exports&&(i.exports=e.createSymbolTable());return r.exports.forEach((function(e,t){"export="!==t&&i.exports.set(t,i.exports.has(t)?xn(i.exports.get(t),e):e)})),Tn(i).cjsExportMerged=i,n.cjsExportMerged=i}(Ci(ii(t.exports.get("export="),r)),Ci(t));return Ci(n)||t}}function bi(t,r,n,i){var a=vi(t,n);if(!n&&a){if(!(i||1539&a.flags||e.getDeclarationOfKind(a,300))){var o=H>=e.ModuleKind.ES2015?"allowSyntheticDefaultImports":"esModuleInterop";return pn(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}if(J.esModuleInterop){var s=r.parent;if(e.isImportDeclaration(s)&&e.getNamespaceDeclarationNode(s)||e.isImportCall(s)){var c=_o(a),l=_c(c,0);if(l&&l.length||(l=_c(c,1)),l&&l.length){var u=Hy(c,a,t),d=yn(a.flags,a.escapedName);d.declarations=a.declarations?a.declarations.slice():[],d.parent=a.parent,d.target=a,d.originatingImport=s,a.valueDeclaration&&(d.valueDeclaration=a.valueDeclaration),a.constEnumOnlyModule&&(d.constEnumOnlyModule=!0),a.members&&(d.members=new e.Map(a.members)),a.exports&&(d.exports=new e.Map(a.exports));var p=Us(u);return d.type=Wi(d,p.members,e.emptyArray,e.emptyArray,p.stringIndexInfo,p.numberIndexInfo),d}}}}return a}function ki(e){return void 0!==e.exports.get("export=")}function xi(e){return Sc(Di(e))}function Ei(e,t){var r=Di(t);if(r)return r.get(e)}function Si(e){return 6256&e.flags?os(e,"resolvedExports"):1536&e.flags?Di(e):e.exports||T}function Di(e){var t=Tn(e);return t.resolvedExports||(t.resolvedExports=Ti(e))}function wi(t,r,n,i){r&&r.forEach((function(r,a){if("default"!==a){var o=t.get(a);if(o){if(n&&i&&o&&ii(o)!==ii(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 Ti(t){var r=[];return function t(n){if(!(n&&n.exports&&e.pushIfUnique(r,n)))return;var i=new e.Map(n.exports),a=n.exports.get("__export");if(a){for(var o=e.createSymbolTable(),s=new e.Map,c=0,l=a.declarations;c<l.length;c++){var u=l[c],d=gi(u,u.moduleSpecifier);wi(o,t(d),s,u)}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];Qr.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)))}})),wi(i,o)}return i}(t=vi(t))||T}function Ci(e){var t;return e&&e.mergeId&&(t=Lr[e.mergeId])?t:e}function Ai(e){return Ci(e.symbol&&cs(e.symbol))}function Ni(e){return Ci(e.parent&&cs(e.parent))}function Pi(r,n,i){var a=Ni(r);if(a&&!(262144&r.flags)){var o=e.mapDefined(a.declarations,(function(e){return a&&Ii(e,a)})),s=n&&function(r,n){var i,a=e.getSourceFileOfNode(n),o=O(a),s=Tn(r);if(s.extendedContainersByFile&&(i=s.extendedContainersByFile.get(o)))return i;if(a&&a.imports){for(var c=0,l=a.imports;c<l.length;c++){var u=l[c];if(!e.nodeIsSynthesized(u)){var d=gi(n,u,!0);d&&Fi(d,r)&&(i=e.append(i,d))}}if(e.length(i))return(s.extendedContainersByFile||(s.extendedContainersByFile=new e.Map)).set(o,i),i}if(s.extendedContainers)return s.extendedContainers;for(var p=0,f=t.getSourceFiles();p<f.length;p++){var m=f[p];if(e.isExternalModule(m)){var g=Ai(m);Fi(g,r)&&(i=e.append(i,g))}}return s.extendedContainers=i||e.emptyArray}(r,n),c=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 Ai(n.parent)}(a,i);if(n&&Yi(a,n,1920,!1))return e.append(e.concatenate(e.concatenate([a],o),s),c);var l=e.append(e.append(o,a),c);return e.concatenate(l,s)}var u=e.mapDefined(r.declarations,(function(t){return!e.isAmbientModule(t)&&t.parent&&oa(t.parent)?Ai(t.parent):e.isClassExpression(t)&&e.isBinaryExpression(t.parent)&&62===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)?Ai(e.getSourceFileOfNode(t)):($v(t.parent.left.expression),Cn(t.parent.left.expression).resolvedSymbol):void 0}));if(e.length(u))return e.mapDefined(u,(function(e){return Fi(e,r)?e:void 0}))}function Ii(e,t){var r=ia(e),n=r&&r.exports&&r.exports.get("export=");return n&&Oi(n,t)?r:void 0}function Fi(t,r){if(t===Ni(r))return r;var n=t.exports&&t.exports.get("export=");if(n&&Oi(n,r))return t;var i=Si(t),a=i.get(r.escapedName);return a&&Oi(a,r)?a:e.forEachEntry(i,(function(e){if(Oi(e,r))return e}))}function Oi(e,t){if(Ci(ii(Ci(e)))===Ci(ii(Ci(t))))return e}function Ri(e){return Ci(e&&1048576&e.flags?e.exportSymbol:e)}function Mi(e){return!!(111551&e.flags||2097152&e.flags&&111551&ai(e).flags&&!ci(e))}function Li(t){for(var r=0,n=t.members;r<n.length;r++){var i=n[r];if(167===i.kind&&e.nodeIsPresent(i.body))return i}}function ji(e){var t=new _(le,e);return y++,t.id=y,w.push(t),t}function Bi(e){return new _(le,e)}function zi(e,t,r){void 0===r&&(r=0);var n=ji(e);return n.intrinsicName=t,n.objectFlags=r,n}function Ui(e){var t=ou(e);return t.flags|=16,t.intrinsicName="boolean",t}function qi(e,t){var r=ji(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.stringIndexInfo=void 0,r.numberIndexInfo=void 0,r}function Ji(e){var t=ji(262144);return e&&(t.symbol=e),t}function Vi(e){return 95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&95!==e.charCodeAt(2)&&64!==e.charCodeAt(2)&&35!==e.charCodeAt(2)}function Hi(t){var r;return t.forEach((function(e,t){!Vi(t)&&Mi(e)&&(r||(r=[])).push(e)})),r||e.emptyArray}function Ki(t,r,n,i,a,o){var s=t;return s.members=r,s.properties=e.emptyArray,s.callSignatures=n,s.constructSignatures=i,s.stringIndexInfo=a,s.numberIndexInfo=o,r!==T&&(s.properties=Hi(r)),s}function Wi(e,t,r,n,i,a){return Ki(qi(16,e),t,r,n,i,a)}function Gi(t,r){for(var n,i=function(t){if(t.locals&&!An(t)&&(n=r(t.locals)))return{value:n};switch(t.kind){case 300:if(!e.isExternalOrCommonJsModule(t))break;case 259:var i=Ai(t);if(n=r((null==i?void 0:i.exports)||T))return{value:n};break;case 254:case 223:case 256:var a;if((Ai(t).members||T).forEach((function(t,r){788968&t.flags&&(a||(a=e.createSymbolTable())).set(r,t)})),a&&(n=r(a)))return{value:n}}},a=t;a;a=a.parent){var o=i(a);if("object"==typeof o)return o.value}return r(ne)}function $i(e){return 111551===e?111551:1920}function Yi(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 164:case 166:case 168:case 169:continue;default:return!1}}return!0}return!1}(t)){var o=R(t),s=a.get(o);return s||a.set(o,s=[]),Gi(r,c)}function c(n,a){if(e.pushIfUnique(s,n)){var o=function(n,a){if(u(n.get(t.escapedName),void 0,a))return[t];var o=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))&&(a||!e.getDeclarationOfKind(n,273))){var o=d(n,ai(n),a);if(o)return o}if(n.escapedName===t.escapedName&&n.exportSymbol&&u(Ci(n.exportSymbol),void 0,a))return[t]}));return o||(n===ne?d(ae,ae,a):void 0)}(n,a);return s.pop(),o}}function l(e,t){return!Xi(e,r,t)||!!Yi(e.parent,r,$i(t),i,a)}function u(r,i,a){return(t===(i||r)||Ci(t)===Ci(i||r))&&!e.some(r.declarations,oa)&&(a||l(Ci(r),n))}function d(e,t,r){if(u(e,t,r))return[e];var i=Si(t),a=i&&c(i,!0);return a&&l(e,$i(n))?[e].concat(a):void 0}}function Xi(t,r,n){var i=!1;return Gi(r,(function(r){var a=Ci(r.get(t.escapedName));return!!a&&(a===t||!!((a=2097152&a.flags&&!e.getDeclarationOfKind(a,273)?ai(a):a).flags&n)&&(i=!0,!0))})),i}function Qi(e,t){return 0===na(e,t,788968,!1,!0).accessibility}function Zi(e,t){return 0===na(e,t,111551,!1,!0).accessibility}function ea(e,t,r){return 0===na(e,t,r,!1,!1).accessibility}function ta(t,r,n,i,a,o){if(e.length(t)){for(var s,c=!1,l=0,u=t;l<u.length;l++){var d=u[l],p=Yi(d,r,i,!1);if(p){s=d;var f=sa(p[0],a);if(f)return f}else if(o&&e.some(d.declarations,oa)){if(a){c=!0;continue}return{accessibility:0}}var m=ta(Pi(d,r,i),r,n,n===d?$i(i):i,a,o);if(m)return m}return c?{accessibility:0}:s?{accessibility:1,errorSymbolName:la(n,r,i),errorModuleName:s!==n?la(s,r,1920):void 0}:void 0}}function ra(e,t,r,n){return na(e,t,r,n,!0)}function na(t,r,n,i,a){if(t&&r){var o=ta([t],r,t,n,i,a);if(o)return o;var s=e.forEach(t.declarations,ia);if(s)if(s!==ia(r))return{accessibility:2,errorSymbolName:la(t,r,n),errorModuleName:la(s),errorNode:e.isInJSFile(r)?r:void 0};return{accessibility:1,errorSymbolName:la(t,r,n)}}return{accessibility:0}}function ia(t){var r=e.findAncestor(t,aa);return r&&Ai(r)}function aa(t){return e.isAmbientModule(t)||300===t.kind&&e.isExternalOrCommonJsModule(t)}function oa(t){return e.isModuleWithStringLiteralName(t)||300===t.kind&&e.isExternalOrCommonJsModule(t)}function sa(t,r){var n;if(e.every(e.filter(t.declarations,(function(e){return 78!==e.kind})),(function(r){var n,a;if(!Ea(r)){var o=Jn(r);return o&&!e.hasSyntacticModifier(o,1)&&Ea(o.parent)?i(r,o):e.isVariableDeclaration(r)&&e.isVariableStatement(r.parent.parent)&&!e.hasSyntacticModifier(r.parent.parent,1)&&Ea(r.parent.parent.parent)?i(r,r.parent.parent):e.isLateVisibilityPaintedStatement(r)&&!e.hasSyntacticModifier(r,1)&&Ea(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&&Ea(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&&(Cn(t).isVisible=!0,n=e.appendIfUnique(n,i)),!0}}function ca(t,r){var n;n=177===t.parent.kind||e.isExpressionWithTypeArgumentsInClassExtendsClause(t.parent)||159===t.parent.kind?1160127:158===t.kind||202===t.kind||263===t.parent.kind?1920:788968;var i=e.getFirstIdentifier(t),a=Fn(r,i.escapedText,n,void 0,void 0,!1);return a&&262144&a.flags&&788968&n?{accessibility:0}:a&&sa(a,!0)||{accessibility:1,errorSymbolName:e.getTextOfNode(i),errorNode:i}}function la(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?re.symbolToExpression:re.symbolToEntityName;return a?c(a).getText():e.usingSingleLineStringWriter(c);function c(i){var a=s(t,n,r,o),c=300===(null==r?void 0:r.kind)?e.createPrinter({removeComments:!0,neverAsciiEscape:!0}):e.createPrinter({removeComments:!0}),l=r&&e.getSourceFileOfNode(r);return c.writeNode(4,a,l,i),i}}function ua(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?176:175:1===i?171:170;var s=re.signatureToSignatureDeclaration(t,o,r,70222336|ga(n)),c=e.createPrinter({removeComments:!0,omitTrailingSemicolon:!0}),l=r&&e.getSourceFileOfNode(r);return c.writeNode(4,s,l,e.getTrailingSemicolonDeferringWriter(a)),a}}function da(t,r,n,i){void 0===n&&(n=1064960),void 0===i&&(i=e.createTextWriter(""));var a=J.noErrorTruncation||1&n,o=re.typeToTypeNode(t,r,70221824|ga(n)|(a?1:0),i);if(void 0===o)return e.Debug.fail("should always get typenode");var s=e.createPrinter({removeComments:!0}),c=r&&e.getSourceFileOfNode(r);s.writeNode(4,o,c,i);var l=i.getText(),u=a?2*e.noTruncationMaximumTruncationLength:2*e.defaultMaximumTruncationLength;return u&&l&&l.length>=u?l.substr(0,u-3)+"...":l}function pa(e,t){var r=ma(e.symbol)?da(e,e.symbol.valueDeclaration):da(e),n=ma(t.symbol)?da(t,t.symbol.valueDeclaration):da(t);return r===n&&(r=fa(e),n=fa(t)),[r,n]}function fa(e){return da(e,void 0,64)}function ma(t){return t&&t.valueDeclaration&&e.isExpression(t.valueDeclaration)&&!Qd(t.valueDeclaration)}function ga(e){return void 0===e&&(e=0),814775659&e}function _a(t){return!!(t.symbol&&32&t.symbol.flags&&(t===Oo(t.symbol)||1073741824&e.getObjectFlags(t)))}function ha(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&&re.typeToTypeNode(t.type,r,70222336|ga(n))),o=e.createPrinter({removeComments:!0}),s=r&&e.getSourceFileOfNode(r);return o.writeNode(4,a,s,i),i}}function ya(e){return 8===e?"private":16===e?"protected":"public"}function va(t){return t&&t.parent&&260===t.parent.kind&&e.isExternalModuleAugmentation(t.parent.parent)}function ba(t){return 300===t.kind||e.isAmbientModule(t)}function ka(t,r){var n=Tn(t).nameType;if(n){if(384&n.flags){var i=""+n.value;return e.isIdentifierText(i,J.target)||R_(i)?R_(i)&&e.startsWith(i,"-")?"["+i+"]":i:'"'+e.escapeString(i,34)+'"'}if(8192&n.flags)return"["+xa(n.symbol,r)+"]"}}function xa(t,r){if(r&&"default"===t.escapedName&&!(16384&r.flags)&&(!(16777216&r.flags)||!t.declarations||r.enclosingDeclaration&&e.findAncestor(t.declarations[0],ba)!==e.findAncestor(r.enclosingDeclaration,ba)))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=Tn(t).nameType;if(a&&384&a.flags){var o=ka(t,r);if(void 0!==o)return o}}return e.declarationNameToString(i)}if(n||(n=t.declarations[0]),n.parent&&251===n.parent.kind)return e.declarationNameToString(n.parent.name);switch(n.kind){case 223:case 209:case 210:return!r||r.encounteredError||131072&r.flags||(r.encounteredError=!0),223===n.kind?"(Anonymous class)":"(Anonymous function)"}}var s=ka(t,r);return void 0!==s?s:e.symbolName(t)}function Ea(t){if(t){var r=Cn(t);return void 0===r.isVisible&&(r.isVisible=!!function(){switch(t.kind){case 327:case 334:case 328:return!!(t.parent&&t.parent.parent&&t.parent.parent.parent&&e.isSourceFile(t.parent.parent.parent));case 199:return Ea(t.parent.parent);case 251:if(e.isBindingPattern(t.name)&&!t.name.elements.length)return!1;case 259:case 254:case 255:case 256:case 257:case 253:case 258:case 263:if(e.isExternalModuleAugmentation(t))return!0;var r=Aa(t);return 1&e.getCombinedModifierFlags(t)||263!==t.kind&&300!==r.kind&&8388608&r.flags?Ea(r):An(r);case 164:case 163:case 168:case 169:case 166:case 165:if(e.hasEffectiveModifier(t,24))return!1;case 167:case 171:case 170:case 172:case 161:case 260:case 175:case 176:case 178:case 174:case 179:case 180:case 183:case 184:case 187:case 193:return Ea(t.parent);case 265:case 266:case 268:return!1;case 160:case 300:case 262:return!0;default:return!1}}()),r.isVisible}return!1}function Sa(t,r){var n,i,a;return t.parent&&269===t.parent.kind?n=Fn(t,t.escapedText,2998271,void 0,t,!1):273===t.parent.kind&&(n=ei(t.parent,2998271)),n&&((a=new e.Set).add(R(n)),function t(n){e.forEach(n,(function(n){var o=Jn(n)||n;if(r?Cn(n).isVisible=!0:(i=i||[],e.pushIfUnique(i,o)),e.isInternalModuleImportEqualsDeclaration(n)){var s=n.moduleReference,c=Fn(n,e.getFirstIdentifier(s).escapedText,901119,void 0,void 0,!1);c&&a&&e.tryAddToSet(a,R(c))&&t(c.declarations)}}))}(n.declarations)),i}function Da(e,t){var r=wa(e,t);if(r>=0){for(var n=Ir.length,i=r;i<n;i++)Fr[i]=!1;return!1}return Ir.push(e),Fr.push(!0),Or.push(t),!0}function wa(e,t){for(var r=Ir.length-1;r>=0;r--){if(Ta(Ir[r],Or[r]))return-1;if(Ir[r]===e&&Or[r]===t)return r}return-1}function Ta(t,r){switch(r){case 0:return!!Tn(t).type;case 5:return!!Cn(t).resolvedEnumType;case 2:return!!Tn(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 Ca(){return Ir.pop(),Or.pop(),Fr.pop()}function Aa(t){return e.findAncestor(e.getRootDeclaration(t),(function(e){switch(e.kind){case 251:case 252:case 268:case 267:case 266:case 265:return!1;default:return!0}})).parent}function Na(e,t){var r=gc(e,t);return r?_o(r):void 0}function Pa(e){return e&&!!(1&e.flags)}function Ia(e){var t=Ai(e);return t&&Tn(t).type||Ua(e,!1)}function Fa(t,r,n){if(131072&(t=ug(t,(function(e){return!(98304&e.flags)}))).flags)return nt;if(1048576&t.flags)return pg(t,(function(e){return Fa(e,r,n)}));var i=ou(e.map(r,vu));if(Ru(t)||Mu(i)){if(131072&i.flags)return t;var a=Zt||(Zt=Cl("Omit",524288,e.Diagnostics.Cannot_find_global_type_0));return a?pl(a,[t,i]):we}for(var o=e.createSymbolTable(),s=0,c=Hs(t);s<c.length;s++){var l=c[s];cp(bu(l,8576),i)||24&e.getDeclarationModifierFlagsFromSymbol(l)||!ud(l)||o.set(l.escapedName,dd(l,!1))}var u=bc(t,0),d=bc(t,1),p=Wi(n,o,e.emptyArray,e.emptyArray,u,d);return p.objectFlags|=131072,p}function Oa(e,t){var r=Ra(e);return r?Og(r,t):t}function Ra(t){var r=function(e){var t=e.parent.parent;switch(t.kind){case 199:case 291:return Ra(t);case 200:return Ra(e.parent);case 251:return t.initializer;case 218:return t.right}}(t);if(r&&r.flowNode){var n=function(e){var t=e.parent;if(199===e.kind&&197===t.kind)return Ma(e.propertyName||e.name);if(291===e.kind||292===e.kind)return Ma(e.name);return""+t.elements.indexOf(e)}(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 Ma(e){var t=vu(e);return 384&t.flags?""+t.value:void 0}function La(t){var r,n=t.parent,i=Ia(n.parent);if(!i||Pa(i))return i;if(W&&8388608&t.flags&&e.isParameterDeclaration(t)?i=Pf(i):!W||!n.parent.initializer||65536&Vm(eg(n.parent.initializer))||(i=Hm(i,524288)),197===n.kind)if(t.dotDotDotToken){if(2&(i=uc(i)).flags||!z_(i))return pn(t,e.Diagnostics.Rest_types_may_only_be_created_from_object_types),we;for(var a=[],o=0,s=n.elements;o<s.length;o++){var c=s[o];c.dotDotDotToken||a.push(c.propertyName||c.name)}r=Fa(i,a,t.symbol)}else{var l=t.propertyName||t.name;r=Oa(t,Ug(qu(i,p=vu(l),void 0,l,void 0,void 0,16),t.name))}else{var u=Ik(65|(t.dotDotDotToken?0:128),i,Ne,n),d=n.elements.indexOf(t);if(t.dotDotDotToken)r=lg(i,vf)?pg(i,(function(e){return $l(e,d)})):jl(u);else if(sf(i)){var p=hd(d),f=N_(t)?8:0;r=Oa(t,Ug(Vu(i,p,void 0,t.name,16|f)||we,t.name))}else r=u}return t.initializer?e.getEffectiveTypeAnnotationNode(e.walkUpBindingElementsAndPatterns(t))?!W||32768&wf(Yv(t))?r:Hm(r,524288):Xv(t,ou([Hm(r,524288),Yv(t)],2)):r}function ja(t){var r=e.getJSDocType(t);if(r)return xd(r)}function Ba(t){var r=e.skipParentheses(t);return 200===r.kind&&0===r.elements.length}function za(e,t){return void 0===t&&(t=!0),W&&t?Nf(e):e}function Ua(t,r){if(e.isVariableDeclaration(t)&&240===t.parent.parent.kind){var n=Eu(gh(fb(t.parent.parent.expression)));return 4456448&n.flags?Su(n):Re}if(e.isVariableDeclaration(t)&&241===t.parent.parent.kind)return Pk(t.parent.parent)||Ee;if(e.isBindingPattern(t.parent))return La(t);var i,a,o=r&&(e.isParameter(t)&&Dc(t)||Cc(t)||!e.isBindingElement(t)&&!e.isVariableDeclaration(t)&&!!t.questionToken),s=io(t);if(s)return za(s,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&&(i=t.initializer,a=e.skipParentheses(i),104!==a.kind&&(78!==a.kind||Am(a)!==ie))))return Se;if(t.initializer&&Ba(t.initializer))return Nt}if(e.isParameter(t)){var c=t.parent;if(169===c.kind&&ns(c)){var l=e.getDeclarationOfKind(Ai(t.parent),168);if(l){var u=Ic(l),d=tS(c);return d&&t===d?(e.Debug.assert(!d.type),_o(u.thisParameter)):Bc(u)}}if(e.isInJSFile(t)){var p=e.getJSDocType(c);if(p&&e.isFunctionTypeNode(p)){var f=Ic(p),m=c.parameters.indexOf(t);return t.dotDotDotToken?av(f,m):nv(f,m)}}if(_="this"===t.symbol.escapedName?t_(c):r_(t))return za(_,o)}if(e.hasOnlyExpressionInitializer(t)&&t.initializer){if(e.isInJSFile(t)&&!e.isParameter(t)){var g=Ga(t,Ai(t),e.getDeclaredExpandoInitializer(t));if(g)return g}return za(_=Xv(t,Yv(t)),o)}if(e.isPropertyDeclaration(t)&&!e.hasStaticModifier(t)&&(X||e.isInJSFile(t))){var _,h=Li(t.parent);return(_=h?Ha(t.symbol,h):2&e.getEffectiveModifierFlags(t)?$p(t.symbol):void 0)&&za(_,o)}return e.isJsxAttribute(t)?ze:e.isBindingPattern(t.name)?eo(t.name,!1,!0):void 0}function qa(t){if(t.valueDeclaration&&e.isBinaryExpression(t.valueDeclaration)){var r=Tn(t);return void 0===r.isConstructorDeclaredProperty&&(r.isConstructorDeclaredProperty=!1,r.isConstructorDeclaredProperty=!!Va(t)&&e.every(t.declarations,(function(r){return e.isBinaryExpression(r)&&u_(r)&&(203!==r.left.kind||e.isStringOrNumericLiteralLike(r.left.argumentExpression))&&!$a(void 0,r,t,r)}))),r.isConstructorDeclaredProperty}return!1}function Ja(t){var r=t.valueDeclaration;return r&&e.isPropertyDeclaration(r)&&!e.getEffectiveTypeAnnotationNode(r)&&!r.initializer&&(X||e.isInJSFile(r))}function Va(t){for(var r=0,n=t.declarations;r<n.length;r++){var i=n[r],a=e.getThisContainer(i,!1);if(a&&(167===a.kind||Fy(a)))return a}}function Ha(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=Ka(i,t);return!X||a!==Se&&a!==Nt||pn(t.valueDeclaration,e.Diagnostics.Member_0_implicitly_has_an_1_type,la(t),da(a)),lg(a,mh)?void 0:vk(a)}function Ka(t,r){var n=r&&(!Ja(r)||2&e.getEffectiveModifierFlags(r.valueDeclaration))&&$p(r)||Ne;return Og(t,Se,n)}function Wa(t,r){var n,i=e.getAssignedExpandoInitializer(t.valueDeclaration);if(i){var a=e.getJSDocTypeTag(i);return a&&a.typeExpression?xd(a.typeExpression):Ga(t.valueDeclaration,t,i)||gf($v(i))}var o=!1,s=!1;if(qa(t)&&(n=Ha(t,Va(t))),!n){for(var c=void 0,l=void 0,u=0,d=t.declarations;u<d.length;u++){var p=d[u],f=e.isBinaryExpression(p)||e.isCallExpression(p)?p:e.isAccessExpression(p)?e.isBinaryExpression(p.parent)?p.parent:p:void 0;if(f){var m=e.isAccessExpression(f)?e.getAssignmentDeclarationPropertyAccessKind(f):e.getAssignmentDeclarationKind(f);(4===m||e.isBinaryExpression(f)&&u_(f,m))&&(Xa(f)?o=!0:s=!0),e.isCallExpression(f)||(c=$a(c,f,t,p)),c||(l||(l=[])).push(e.isBinaryExpression(f)||e.isCallExpression(f)?Ya(t,r,f,m):He)}}if(!(n=c)){if(!e.length(l))return we;var g=o?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&&Xa(a)}))}(l,t.declarations):void 0;if(s){var _=$p(t);_&&((g||(g=[])).push(_),o=!0)}n=ou(e.some(g,(function(e){return!!(-98305&e.flags)}))?g:l,2)}}var h=Hf(za(n,s&&!o));return ug(h,(function(e){return!!(-98305&e.flags)}))===He?(Gf(t.valueDeclaration,Ee),Ee):h}function Ga(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=Ai(t);(null===(i=null==s?void 0:s.exports)||void 0===i?void 0:i.size)&&Dn(o,s.exports),t=e.isBinaryExpression(t)?t.parent:t.parent.parent}var c=Ai(t);(null===(a=null==c?void 0:c.exports)||void 0===a?void 0:a.size)&&Dn(o,c.exports);var l=Wi(r,o,e.emptyArray,e.emptyArray,void 0,void 0);return l.objectFlags|=16384,l}}function $a(t,r,n,i){var a=e.getEffectiveTypeAnnotationNode(r.parent);if(a){var o=Hf(xd(a));if(!t)return o;t===we||o===we||np(t,o)||kk(void 0,t,i,o)}if(n.parent){var s=e.getEffectiveTypeAnnotationNode(n.parent.valueDeclaration);if(s)return Na(xd(s),n.escapedName)}return t}function Ya(t,r,n,i){if(e.isCallExpression(n)){if(r)return _o(r);var a=$v(n.arguments[2]),o=Na(a,"value");if(o)return o;var s=Na(a,"get");if(s){var c=Qh(s);if(c)return Bc(c)}var l=Na(a,"set");if(l){var u=Qh(l);if(u)return dv(u)}return Ee}if(function(t,r){return e.isPropertyAccessExpression(t)&&108===t.expression.kind&&e.forEachChildRecursively(r,(function(e){return Im(t,e)}))}(n.left,n.right))return Ee;var d=r?_o(r):gf($v(n.right));if(524288&d.flags&&2===i&&"export="===t.escapedName){var p=Us(d),f=e.createSymbolTable();e.copyEntries(p.members,f);var m=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(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(pn(t.valueDeclaration,e.Diagnostics.Duplicate_identifier_0,a),e.createDiagnosticForNode(o,e.Diagnostics._0_was_also_declared_here,a)),e.addRelatedInfo(pn(o,e.Diagnostics.Duplicate_identifier_0,a),e.createDiagnosticForNode(t.valueDeclaration,e.Diagnostics._0_was_also_declared_here,a))}var s=yn(t.flags|i.flags,r);s.type=ou([_o(t),_o(i)]),s.valueDeclaration=i.valueDeclaration,s.declarations=e.concatenate(i.declarations,t.declarations),f.set(r,s)}else f.set(r,xn(t,i));else f.set(r,t)}));var g=Wi(m!==f.size?void 0:p.symbol,f,p.callSignatures,p.constructSignatures,p.stringIndexInfo,p.numberIndexInfo);return g.objectFlags|=16384&e.getObjectFlags(d),g.symbol&&32&g.symbol.flags&&d===Oo(g.symbol)&&(g.objectFlags|=1073741824),g}return cf(d)?(Gf(n,At),At):d}function Xa(t){var r=e.getThisContainer(t,!1);return 167===r.kind||253===r.kind||209===r.kind&&!e.isPrototypePropertyAssignment(r.parent)}function Qa(t,r,n){return t.initializer?za(Xv(t,Yv(t,e.isBindingPattern(t.name)?eo(t.name,!0,!1):Ae))):e.isBindingPattern(t.name)?eo(t.name,r,n):(n&&!no(t)&&Gf(t,Ee),r?Te:Ee)}function Za(t,r,n){var i,a=t.elements,o=e.lastOrUndefined(a),s=o&&199===o.kind&&o.dotDotDotToken?o:void 0;if(0===a.length||1===a.length&&s)return V>=2?(i=Ee,Ml(Ol(!0),[i])):At;var c=e.map(a,(function(t){return e.isOmittedExpression(t)?Ee:Qa(t,r,n)})),l=e.findLastIndex(a,(function(t){return!(t===s||e.isOmittedExpression(t)||N_(t))}),a.length-1)+1,u=Hl(c,e.map(a,(function(e,t){return e===s?4:t>=l?2:1})));return r&&((u=sl(u)).pattern=t,u.objectFlags|=1048576),u}function eo(t,r,n){return void 0===r&&(r=!1),void 0===n&&(n=!1),197===t.kind?function(t,r,n){var i,a=e.createSymbolTable(),o=1048704;e.forEach(t.elements,(function(e){var t=e.propertyName||e.name;if(e.dotDotDotToken)i=Qc(Ee,!1);else{var s=vu(t);if(Zo(s)){var c=is(s),l=yn(4|(e.initializer?16777216:0),c);l.type=Qa(e,r,n),l.bindingElement=e,a.set(l.escapedName,l)}else o|=512}}));var s=Wi(void 0,a,e.emptyArray,e.emptyArray,i,void 0);return s.objectFlags|=o,r&&(s.pattern=t,s.objectFlags|=1048576),s}(t,r,n):Za(t,r,n)}function to(e,t){return ro(Ua(e,!0),e,t)}function ro(t,r,n){return t?(n&&$f(r,t),8192&t.flags&&(e.isBindingElement(r)||!r.type)&&t.symbol!==Ai(r)&&(t=Je),Hf(t)):(t=e.isParameter(r)&&r.dotDotDotToken?At:Ee,n&&(no(r)||Gf(r,t)),t)}function no(t){var r=e.getRootDeclaration(t);return Ob(161===r.kind?r.parent:r)}function io(t){var r=e.getEffectiveTypeAnnotationNode(t);if(r)return xd(r)}function ao(t){var r=Tn(t);if(!r.type){var n=function(t){if(4194304&t.flags)return(r=Jo(Ni(t))).typeParameters?ol(r,e.map(r.typeParameters,(function(e){return Ee}))):r;var r;if(t===ce)return Ee;if(134217728&t.flags){var n=Ai(e.getSourceFileOfNode(t.valueDeclaration)),i=yn(n.flags,"exports");i.declarations=n.declarations?n.declarations.slice():[],i.parent=t,i.target=n,n.valueDeclaration&&(i.valueDeclaration=n.valueDeclaration),n.members&&(i.members=new e.Map(n.members)),n.exports&&(i.exports=new e.Map(n.exports));var a=e.createSymbolTable();return a.set("exports",i),Wi(t,a,e.emptyArray,e.emptyArray,void 0,void 0)}var o,s=t.valueDeclaration;if(e.isCatchClauseVariableDeclarationOrBindingElement(s)){var c=s;if(!c.type)return Ee;var l=Xx(c.type);return Pa(l)||l===Ae?l:we}if(e.isSourceFile(s)&&e.isJsonSourceFile(s))return s.statements.length?Hf(gf(fb(s.statements[0].expression))):nt;if(!Da(t,0))return 512&t.flags&&!(67108864&t.flags)?fo(t):go(t);if(269===s.kind)o=ro($v(s.expression),s);else if(e.isBinaryExpression(s)||e.isInJSFile(s)&&(e.isCallExpression(s)||(e.isPropertyAccessExpression(s)||e.isBindableStaticElementAccessExpression(s))&&e.isBinaryExpression(s.parent)))o=Wa(t);else if(e.isPropertyAccessExpression(s)||e.isElementAccessExpression(s)||e.isIdentifier(s)||e.isStringLiteralLike(s)||e.isNumericLiteral(s)||e.isClassDeclaration(s)||e.isFunctionDeclaration(s)||e.isMethodDeclaration(s)&&!e.isObjectLiteralMethod(s)||e.isMethodSignature(s)||e.isSourceFile(s)){if(9136&t.flags)return fo(t);o=e.isBinaryExpression(s.parent)?Wa(t):io(s)||Ee}else if(e.isPropertyAssignment(s))o=io(s)||tb(s);else if(e.isJsxAttribute(s))o=io(s)||J_(s);else if(e.isShorthandPropertyAssignment(s))o=io(s)||eb(s.name,0);else if(e.isObjectLiteralMethod(s))o=io(s)||rb(s,0);else if(e.isParameter(s)||e.isPropertyDeclaration(s)||e.isPropertySignature(s)||e.isVariableDeclaration(s)||e.isBindingElement(s)||e.isJSDocPropertyLikeTag(s))o=to(s,!0);else if(e.isEnumDeclaration(s))o=fo(t);else if(e.isEnumMember(s))o=mo(t);else{if(!e.isAccessor(s))return e.Debug.fail("Unhandled declaration kind! "+e.Debug.formatSyntaxKind(s.kind)+" for "+e.Debug.formatSymbol(t));o=uo(t)}if(!Ca())return 512&t.flags&&!(67108864&t.flags)?fo(t):go(t);return o}(t);r.type||(r.type=n)}return r.type}function oo(t){if(t)return 168===t.kind?e.getEffectiveReturnTypeNode(t):e.getEffectiveSetAccessorTypeAnnotationNode(t)}function so(e){var t=oo(e);return t&&xd(t)}function co(e){return Lc(Ic(e))}function lo(t){var r=Tn(t);return r.type||(r.type=function(t){if(!Da(t,0))return we;var r=uo(t);if(!Ca()){if(r=Ee,X)pn(e.getDeclarationOfKind(t,168),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,la(t))}return r}(t))}function uo(t){var r=e.getDeclarationOfKind(t,168),n=e.getDeclarationOfKind(t,169);if(r&&e.isInJSFile(r)){var i=ja(r);if(i)return i}var a=so(r);if(a)return a;var o=so(n);return o||(r&&r.body?vv(r):(n?Ob(n)||mn(X,n,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,la(t)):(e.Debug.assert(!!r,"there must exist a getter as we are current checking either setter or getter in this function"),Ob(r)||mn(X,r,e.Diagnostics.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,la(t))),Ee))}function po(t){var r=Ao(Oo(t));return 8650752&r.flags?r:2097152&r.flags?e.find(r.types,(function(e){return!!(8650752&e.flags)})):void 0}function fo(t){var r=Tn(t),n=r;if(!r.type){var i=t.valueDeclaration&&Ry(t.valueDeclaration,!1);if(i){var a=Oy(t,i);a&&(t=r=a)}n.type=r.type=function(t){var r=t.valueDeclaration;if(1536&t.flags&&e.isShorthandAmbientModuleSymbol(t))return Ee;if(r&&(218===r.kind||e.isAccessExpression(r)&&218===r.parent.kind))return Wa(t);if(512&t.flags&&r&&e.isSourceFile(r)&&r.commonJsModuleIndicator){var n=vi(t);if(n!==t){if(!Da(t,0))return we;var i=Ci(t.exports.get("export=")),a=Wa(i,i===n?void 0:n);return Ca()?a:go(t)}}var o=qi(16,t);if(32&t.flags){var s=po(t);return s?fu([o,s]):o}return W&&16777216&t.flags?Nf(o):o}(t)}return r.type}function mo(e){var t=Tn(e);return t.type||(t.type=Uo(e))}function go(t){var r=t.valueDeclaration;return e.getEffectiveTypeAnnotationNode(r)?(pn(t.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,la(t)),we):(X&&(161!==r.kind||r.initializer)&&pn(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,la(t)),Ee)}function _o(t){var r=e.getCheckFlags(t);return 65536&r?function(t){var r=Tn(t);return r.type||(e.Debug.assertIsDefined(r.deferralParent),e.Debug.assertIsDefined(r.deferralConstituents),r.type=1048576&r.deferralParent.flags?ou(r.deferralConstituents):fu(r.deferralConstituents)),r.type}(t):1&r?function(e){var t=Tn(e);if(!t.type){if(!Da(e,0))return t.type=we;var r=Wd(_o(t.target),t.mapper);Ca()||(r=go(e)),t.type=r}return t.type}(t):262144&r?function(t){if(!t.type){var r=t.mappedType;if(!Da(t,0))return r.containsError=!0,we;var n=Wd(Fs(r.target||r),Md(r.mapper,Ns(r),t.keyType)),i=W&&16777216&t.flags&&!Rv(n,49152)?Nf(n):524288&t.checkFlags?Hm(n,524288):n;Ca()||(pn(d,e.Diagnostics.Type_of_property_0_circularly_references_itself_in_mapped_type_1,la(t),da(r)),i=we),t.type=i}return t.type}(t):8192&r?function(e){return um(e.propertyType,e.mappedType,e.constraintType)}(t):7&t.flags?ao(t):9136&t.flags?fo(t):8&t.flags?mo(t):98304&t.flags?lo(t):2097152&t.flags?function(e){var t=Tn(e);if(!t.type){var r=ai(e);t.type=111551&r.flags?_o(r):we}return t.type}(t):we}function ho(t,r){return void 0!==t&&void 0!==r&&!!(4&e.getObjectFlags(t))&&t.target===r}function yo(t){return 4&e.getObjectFlags(t)?t.target:t}function vo(t,r){return function t(n){if(7&e.getObjectFlags(n)){var i=yo(n);return i===r||e.some(Po(i),t)}if(2097152&n.flags)return e.some(n.types,t);return!1}(t)}function bo(t,r){for(var n=0,i=r;n<i.length;n++){var a=i[n];t=e.appendIfUnique(t,qo(Ai(a)))}return t}function ko(t,r){for(;;){if((t=t.parent)&&e.isBinaryExpression(t)){var n=e.getAssignmentDeclarationKind(t);if(6===n||3===n){var i=Ai(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 234:case 254:case 223:case 256:case 170:case 171:case 165:case 175:case 176:case 311:case 253:case 166:case 209:case 210:case 257:case 333:case 334:case 328:case 327:case 191:case 185:var a=ko(t,r);if(191===t.kind)return e.append(a,qo(Ai(t.typeParameter)));if(185===t.kind)return e.concatenate(a,Zu(t));if(234===t.kind&&!e.isInJSFile(t))break;var o=bo(a,e.getEffectiveTypeParameterDeclarations(t)),s=r&&(254===t.kind||223===t.kind||256===t.kind||Fy(t))&&Oo(Ai(t)).thisType;return s?e.append(o,s):o;case 329:var c=e.getParameterSymbolFromJSDoc(t);c&&(t=c.valueDeclaration)}}}function xo(t){var r=32&t.flags?t.valueDeclaration:e.getDeclarationOfKind(t,256);return e.Debug.assert(!!r,"Class was missing valueDeclaration -OR- non-class had no interface declarations"),ko(r)}function Eo(t){for(var r,n=0,i=t.declarations;n<i.length;n++){var a=i[n];if(256===a.kind||254===a.kind||223===a.kind||Fy(a)||e.isTypeAlias(a)){var o=a;r=bo(r,e.getEffectiveTypeParameterDeclarations(o))}}return r}function So(e){var t=hc(e,1);if(1===t.length){var r=t[0];if(!r.typeParameters&&1===r.parameters.length&&U(r)){var n=Qy(r.parameters[0]);return Pa(n)||of(n)===Ee}}return!1}function Do(e){if(hc(e,1).length>0)return!0;if(8650752&e.flags){var t=Qs(e);return!!t&&So(t)}return!1}function wo(t){return e.getEffectiveBaseTypeNode(t.symbol.valueDeclaration)}function To(t,r,n){var i=e.length(r),a=e.isInJSFile(n);return e.filter(hc(t,1),(function(t){return(a||i>=Nc(t.typeParameters))&&i<=e.length(t.typeParameters)}))}function Co(t,r,n){var i=To(t,r,n),a=e.map(r,xd);return e.sameMap(i,(function(t){return e.some(t.typeParameters)?Jc(t,a,e.isInJSFile(n)):t}))}function Ao(t){if(!t.resolvedBaseConstructorType){var r=t.symbol.valueDeclaration,n=e.getEffectiveBaseTypeNode(r),i=wo(t);if(!i)return t.resolvedBaseConstructorType=Ne;if(!Da(t,1))return we;var a=fb(i.expression);if(n&&i!==n&&(e.Debug.assert(!n.typeArguments),fb(n.expression)),2621440&a.flags&&Us(a),!Ca())return pn(t.symbol.valueDeclaration,e.Diagnostics._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,la(t.symbol)),t.resolvedBaseConstructorType=we;if(!(1&a.flags||a===Oe||Do(a))){var o=pn(i.expression,e.Diagnostics.Type_0_is_not_a_constructor_function_type,da(a));if(262144&a.flags){var s=tl(a),c=Ae;if(s){var l=hc(s,1);l[0]&&(c=Bc(l[0]))}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,la(a.symbol),da(c)))}return t.resolvedBaseConstructorType=we}t.resolvedBaseConstructorType=a}return t.resolvedBaseConstructorType}function No(t,r){pn(t,e.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,da(r,void 0,2))}function Po(t){if(!t.baseTypesResolved){if(Da(t,7)&&(8&t.objectFlags?t.resolvedBaseTypes=[Io(t)]:96&t.symbol.flags?(32&t.symbol.flags&&function(t){t.resolvedBaseTypes=e.resolvingEmptyArray;var r=ac(Ao(t));if(!(2621441&r.flags))return t.resolvedBaseTypes=e.emptyArray;var n,i=wo(t),a=r.symbol?Jo(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=ll(e);return t[r].symbol!==n[r].symbol}return!0}(a))n=dl(i,r.symbol);else if(1&r.flags)n=r;else{var o=Co(r,i.typeArguments,i);if(!o.length)return pn(i.expression,e.Diagnostics.No_base_constructor_has_the_specified_number_of_type_arguments),t.resolvedBaseTypes=e.emptyArray;n=Bc(o[0])}if(n===we)return t.resolvedBaseTypes=e.emptyArray;var s=uc(n);if(!Fo(s)){var c=mc(void 0,n),l=e.chainDiagnosticMessages(c,e.Diagnostics.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,da(s));return Qr.add(e.createDiagnosticForNodeFromMessageChain(i.expression,l)),t.resolvedBaseTypes=e.emptyArray}if(t===s||vo(s,t))return pn(t.symbol.valueDeclaration,e.Diagnostics.Type_0_recursively_references_itself_as_a_base_type,da(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){t.resolvedBaseTypes=t.resolvedBaseTypes||e.emptyArray;for(var r=0,n=t.symbol.declarations;r<n.length;r++){var i=n[r];if(256===i.kind&&e.getInterfaceBaseTypeNodes(i))for(var a=0,o=e.getInterfaceBaseTypeNodes(i);a<o.length;a++){var s=o[a],c=uc(xd(s));c!==we&&(Fo(c)?t===c||vo(c,t)?No(i,t):t.resolvedBaseTypes===e.emptyArray?t.resolvedBaseTypes=[c]:t.resolvedBaseTypes.push(c):pn(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"),!Ca()))for(var r=0,n=t.symbol.declarations;r<n.length;r++){var i=n[r];254!==i.kind&&256!==i.kind||No(i,t)}t.baseTypesResolved=!0}return t.resolvedBaseTypes}function Io(t){return jl(ou(e.sameMap(t.typeParameters,(function(e,r){return 8&t.elementFlags[r]?qu(e,Me):e}))||e.emptyArray),t.readonly)}function Fo(t){if(262144&t.flags){var r=Qs(t);if(r)return Fo(r)}return!!(67633153&t.flags&&!zs(t)||2097152&t.flags&&e.every(t.types,Fo))}function Oo(t){var r,n,i,a,o,s=Tn(t),c=s;if(!s.declaredType){var l=32&t.flags?1:2,u=Oy(t,(r=t.valueDeclaration,i=r&&Ry(r,!0),a=null===(n=null==i?void 0:i.exports)||void 0===n?void 0:n.get("prototype"),(o=(null==a?void 0:a.valueDeclaration)&&function(t){if(!t.parent)return!1;for(var r=t.parent;r&&202===r.kind;)r=r.parent;if(r&&e.isBinaryExpression(r)&&e.isPrototypeAccess(r.left)&&62===r.operatorToken.kind){var n=e.getInitializerOfBinaryExpression(r);return e.isObjectLiteralExpression(n)&&n}}(a.valueDeclaration))?Ai(o):void 0));u&&(t=s=u);var d=c.declaredType=s.declaredType=qi(l,t),p=xo(t),f=Eo(t);(p||f||1===l||!function(t){for(var r=0,n=t.declarations;r<n.length;r++){var i=n[r];if(256===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 l=fi(c.expression,788968,!0);if(!l||!(64&l.flags)||Oo(l).thisType)return!1}}}}return!0}(t))&&(d.objectFlags|=4,d.typeParameters=e.concatenate(p,f),d.outerTypeParameters=p,d.localTypeParameters=f,d.instantiations=new e.Map,d.instantiations.set(nl(d.typeParameters),d),d.target=d,d.resolvedTypeArguments=d.typeParameters,d.thisType=Ji(t),d.thisType.isThisType=!0,d.thisType.constraint=d)}return s.declaredType}function Ro(t){var r=Tn(t);if(!r.declaredType){if(!Da(t,2))return we;var n=e.Debug.checkDefined(e.find(t.declarations,e.isTypeAlias),"Type alias symbol with no valid declaration found"),i=e.isJSDocTypeAlias(n)?n.typeExpression:n.type,a=i?xd(i):we;if(Ca()){var o=Eo(t);o&&(r.typeParameters=o,r.instantiations=new e.Map,r.instantiations.set(nl(o),a))}else a=we,pn(e.isNamedDeclaration(n)?n.name:n||n,e.Diagnostics.Type_alias_0_circularly_references_itself,la(t));r.declaredType=a}return r.declaredType}function Mo(t){return!!e.isStringLiteralLike(t)||218===t.kind&&(Mo(t.left)&&Mo(t.right))}function Lo(t){var r=t.initializer;if(!r)return!(8388608&t.flags);switch(r.kind){case 10:case 8:case 14:return!0;case 216:return 40===r.operator&&8===r.operand.kind;case 78:return e.nodeIsMissing(r)||!!Ai(t.parent).exports.get(r.escapedText);case 218:return Mo(r);default:return!1}}function jo(t){var r=Tn(t);if(void 0!==r.enumKind)return r.enumKind;for(var n=!1,i=0,a=t.declarations;i<a.length;i++){var o=a[i];if(258===o.kind)for(var s=0,c=o.members;s<c.length;s++){var l=c[s];if(l.initializer&&e.isStringLiteralLike(l.initializer))return r.enumKind=1;Lo(l)||(n=!0)}}return r.enumKind=n?0:1}function Bo(e){return 1024&e.flags&&!(1048576&e.flags)?Jo(Ni(e.symbol)):e}function zo(e){var t=Tn(e);if(t.declaredType)return t.declaredType;if(1===jo(e)){b++;for(var r=[],n=0,i=e.declarations;n<i.length;n++){var a=i[n];if(258===a.kind)for(var o=0,s=a.members;o<s.length;o++){var c=s[o],l=xE(c),u=md(hd(void 0!==l?l:0,b,Ai(c)));Tn(Ai(c)).declaredType=u,r.push(gd(u))}}if(r.length){var d=ou(r,1,e,void 0);return 1048576&d.flags&&(d.flags|=1024,d.symbol=e),t.declaredType=d}}var p=ji(32);return p.symbol=e,t.declaredType=p}function Uo(e){var t=Tn(e);if(!t.declaredType){var r=zo(Ni(e));t.declaredType||(t.declaredType=r)}return t.declaredType}function qo(e){var t=Tn(e);return t.declaredType||(t.declaredType=Ji(e))}function Jo(e){return Vo(e)||we}function Vo(e){return 96&e.flags?Oo(e):524288&e.flags?Ro(e):262144&e.flags?qo(e):384&e.flags?zo(e):8&e.flags?Uo(e):2097152&e.flags?function(e){var t=Tn(e);return t.declaredType||(t.declaredType=Jo(ai(e)))}(e):void 0}function Ho(e){switch(e.kind){case 129:case 153:case 148:case 145:case 156:case 132:case 149:case 146:case 114:case 151:case 142:case 192:return!0;case 179:return Ho(e.elementType);case 174:return!e.typeArguments||e.typeArguments.every(Ho)}return!1}function Ko(t){var r=e.getEffectiveConstraintOfTypeParameter(t);return!r||Ho(r)}function Wo(t){var r=e.getEffectiveTypeAnnotationNode(t);return r?Ho(r):!e.hasInitializer(t)}function Go(t){if(t.declarations&&1===t.declarations.length){var r=t.declarations[0];if(r)switch(r.kind){case 164:case 163:return Wo(r);case 166:case 165:case 167:case 168:case 169:return n=r,i=e.getEffectiveReturnTypeNode(n),a=e.getEffectiveTypeParameterDeclarations(n),(167===n.kind||!!i&&Ho(i))&&n.parameters.every(Wo)&&a.every(Ko)}}var n,i,a;return!1}function $o(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&&Go(s)?s:Bd(s,r))}return i}function Yo(e,t){for(var r=0,n=t;r<n.length;r++){var i=n[r];e.has(i.escapedName)||Xo(i)||e.set(i.escapedName,i)}}function Xo(t){return!!t.valueDeclaration&&e.isPrivateIdentifierPropertyDeclaration(t.valueDeclaration)&&e.hasSyntacticModifier(t.valueDeclaration,32)}function Qo(t){if(!t.declaredProperties){var r=t.symbol,n=ss(r);t.declaredProperties=Hi(n),t.declaredCallSignatures=e.emptyArray,t.declaredConstructSignatures=e.emptyArray,t.declaredCallSignatures=Rc(n.get("__call")),t.declaredConstructSignatures=Rc(n.get("__new")),t.declaredStringIndexInfo=Zc(r,0),t.declaredNumberIndexInfo=Zc(r,1)}return t}function Zo(e){return!!(8576&e.flags)}function es(t){if(!e.isComputedPropertyName(t)&&!e.isElementAccessExpression(t))return!1;var r=e.isComputedPropertyName(t)?t.expression:t.argumentExpression;return e.isEntityNameExpression(r)&&Zo(e.isComputedPropertyName(t)?M_(t):$v(r))}function ts(e){return 95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&64===e.charCodeAt(2)}function rs(t){var r=e.getNameOfDeclaration(t);return!!r&&es(r)}function ns(t){return!e.hasDynamicName(t)||rs(t)}function is(t){return 8192&t.flags?t.escapedName:384&t.flags?e.escapeLeadingUnderscores(""+t.value):e.Debug.fail()}function as(t,r,n,i){e.Debug.assert(!!i.symbol,"The member is expected to have a symbol.");var a=Cn(i);if(!a.resolvedSymbol){a.resolvedSymbol=i.symbol;var o=e.isBinaryExpression(i)?i.left:i.name,s=e.isElementAccessExpression(o)?$v(o.argumentExpression):M_(o);if(Zo(s)){var c=is(s),l=i.symbol.flags,u=n.get(c);u||n.set(c,u=yn(0,c,4096));var d=r&&r.get(c);if(u.flags&vn(l)||d){var p=d?e.concatenate(d.declarations,u.declarations):u.declarations,f=!(8192&s.flags)&&e.unescapeLeadingUnderscores(c)||e.declarationNameToString(o);e.forEach(p,(function(t){return pn(e.getNameOfDeclaration(t)||t,e.Diagnostics.Property_0_was_also_declared_here,f)})),pn(o||i,e.Diagnostics.Duplicate_property_0,f),u=yn(0,c,4096)}return u.nameType=s,function(t,r,n){e.Debug.assert(!!(4096&e.getCheckFlags(t)),"Expected a late-bound symbol."),t.flags|=n,Tn(r.symbol).lateSymbol=t,t.declarations?t.declarations.push(r):t.declarations=[r],111551&n&&(t.valueDeclaration&&t.valueDeclaration.kind===r.kind||(t.valueDeclaration=r))}(u,i,l),u.parent?e.Debug.assert(u.parent===t,"Existing symbol parent should match new one"):u.parent=t,a.resolvedSymbol=u}}return a.resolvedSymbol}function os(t,r){var n=Tn(t);if(!n[r]){var i="resolvedExports"===r,a=i?1536&t.flags?Ti(t):t.exports:t.members;n[r]=a||T;for(var o=e.createSymbolTable(),s=0,c=t.declarations||e.emptyArray;s<c.length;s++){var l=c[s],u=e.getMembersOfDeclaration(l);if(u)for(var d=0,p=u;d<p.length;d++){var f=p[d];i===e.hasStaticModifier(f)&&rs(f)&&as(t,a,o,f)}}var m=t.assignmentDeclarationMembers;if(m)for(var g=0,_=e.arrayFrom(m.values());g<_.length;g++){f=_[g];var h=e.getAssignmentDeclarationKind(f);i===!(3===h||e.isBinaryExpression(f)&&u_(f,h)||9===h||6===h)&&rs(f)&&as(t,a,o,f)}n[r]=function(t,r){if(!(null==t?void 0:t.size))return r;if(!(null==r?void 0:r.size))return t;var n=e.createSymbolTable();return Dn(n,t),Dn(n,r),n}(a,o)||T}return n[r]}function ss(e){return 6256&e.flags?os(e,"resolvedMembers"):e.members||T}function cs(t){if(106500&t.flags&&"__computed"===t.escapedName){var r=Tn(t);if(!r.lateSymbol&&e.some(t.declarations,rs)){var n=Ci(t.parent);e.some(t.declarations,e.hasStaticModifier)?Si(n):ss(n)}return r.lateSymbol||(r.lateSymbol=t)}return t}function ls(t,r,n){if(4&e.getObjectFlags(t)){var i=t.target,a=ll(t);if(e.length(i.typeParameters)===e.length(a)){var o=ol(i,e.concatenate(a,[r||i.thisType]));return n?ac(o):o}}else if(2097152&t.flags){var s=e.sameMap(t.types,(function(e){return ls(e,r,n)}));return s!==t.types?fu(s):t}return n?ac(t):t}function us(t,r,n,i){var a,o,s,c,l,u;e.rangeEquals(n,i,0,n.length)?(o=r.symbol?ss(r.symbol):e.createSymbolTable(r.declaredProperties),s=r.declaredCallSignatures,c=r.declaredConstructSignatures,l=r.declaredStringIndexInfo,u=r.declaredNumberIndexInfo):(a=Td(n,i),o=$o(r.declaredProperties,a,1===n.length),s=wd(r.declaredCallSignatures,a),c=wd(r.declaredConstructSignatures,a),l=Xd(r.declaredStringIndexInfo,a),u=Xd(r.declaredNumberIndexInfo,a));var d=Po(r);if(d.length){r.symbol&&o===ss(r.symbol)&&(o=e.createSymbolTable(r.declaredProperties)),Ki(t,o,s,c,l,u);for(var p=e.lastOrUndefined(i),f=0,m=d;f<m.length;f++){var g=m[f],_=p?ls(Wd(g,a),p):g;Yo(o,Hs(_)),s=e.concatenate(s,hc(_,0)),c=e.concatenate(c,hc(_,1)),l||(l=_===Ee?Qc(Ee,!1):bc(_,0)),u=u||bc(_,1)}}Ki(t,o,s,c,l,u)}function ds(e,t,r,n,i,a,o,s){var c=new h(le,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.unionSignatures=void 0,c}function ps(e){var t=ds(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.unionSignatures=e.unionSignatures,t}function fs(e,t){var r=ps(e);return r.unionSignatures=t,r.target=void 0,r.mapper=void 0,r}function ms(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=ps(t);return n.flags|=r,n}(t,r))}function gs(t,r){if(U(t)){var n=t.parameters.length-1,i=_o(t.parameters[n]);if(vf(i))return[a(i,n)];if(!r&&1048576&i.flags&&e.every(i.types,vf))return e.map(i.types,(function(e){return a(e,n)}))}return[t.parameters];function a(r,n){var i=ll(r),a=r.target.labeledElementDeclarations,o=e.map(i,(function(e,i){var o=!!a&&Zy(a[i])||ev(t,n+i,r),s=r.target.elementFlags[i],c=yn(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 _s(e,t,r,n,i){for(var a=0,o=e;a<o.length;a++){var s=o[a];if(ef(s,t,r,n,i,r?op:ip))return s}}function hs(t,r,n){if(r.typeParameters){if(n>0)return;for(var i=1;i<t.length;i++)if(!_s(t[i],r,!1,!1,!1))return;return[r]}var a;for(i=0;i<t.length;i++){var o=i===n?r:_s(t[i],r,!0,!1,!0);if(!o)return;a=e.appendIfUnique(a,o)}return a}function ys(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||!_s(r,s,!1,!1,!0)){var c=hs(t,s,i);if(c){var l=s;if(c.length>1){var u=s.thisParameter,d=e.forEach(c,(function(e){return e.thisParameter}));if(d)u=jf(d,fu(e.mapDefined(c,(function(e){return e.thisParameter&&_o(e.thisParameter)}))));(l=fs(s,c)).thisParameter=u}(r||(r=[])).push(l)}}}}if(!e.length(r)&&-1!==n){for(var p=t[void 0!==n?n:0],f=p.slice(),m=function(t){if(t!==p){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&&!function(e,t){if(e.length!==t.length)return!1;for(var r=Td(t,e),n=0;n<e.length;n++){var i=e[n],a=t[n];if(i!==a&&!np(tl(i)||Ae,Wd(tl(a)||Ae,r)))return!1}return!0}(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=Td(r.typeParameters,t.typeParameters));var a=t.declaration,o=function(e,t,r){for(var n=ov(e),i=ov(t),a=n>=i?e:t,o=a===e?t:e,s=a===e?n:i,c=cv(e)||cv(t),l=c&&!cv(a),u=new Array(s+(l?1:0)),d=0;d<s;d++){var p=iv(a,d);a===t&&(p=Wd(p,r));var f=iv(o,d)||Ae;o===t&&(f=Wd(f,r));var m=fu([p,f]),g=c&&!l&&d===s-1,_=d>=sv(a)&&d>=sv(o),h=d>=n?void 0:ev(e,d),y=d>=i?void 0:ev(t,d),v=yn(1|(_&&!g?16777216:0),(h===y?h:h?y?void 0:h:y)||"arg"+d);v.type=g?jl(m):m,u[d]=v}if(l){var b=yn(1,"args");b.type=jl(nv(o,s)),o===t&&(b.type=Wd(b.type,r)),u[s]=b}return u}(t,r,n),s=function(e,t,r){if(!e||!t)return e||t;var n=fu([_o(e),Wd(_o(t),r)]);return jf(e,n)}(t.thisParameter,r.thisParameter,n),c=Math.max(t.minArgumentCount,r.minArgumentCount),l=ds(a,i,s,o,void 0,void 0,c,39&(t.flags|r.flags));l.unionSignatures=e.concatenate(t.unionSignatures||[t],[r]),n&&(l.mapper=t.mapper&&t.unionSignatures?Fd(t.mapper,n):n);return l}(t,r)})),!f)return"break"}},g=0,_=t;g<_.length;g++){if("break"===m(_[g]))break}r=f}return r||e.emptyArray}function vs(e,t){for(var r=[],n=!1,i=0,a=e;i<a.length;i++){var o=bc(ac(a[i]),t);if(!o)return;r.push(o.type),n=n||o.isReadonly}return Qc(ou(r,2),n)}function bs(e,t){return e?t?fu([e,t]):e:t}function ks(e,t){return e?t?Qc(fu([e.type,t.type]),e.isReadonly&&t.isReadonly):e:t}function xs(e,t){return e&&t&&Qc(ou([e.type,t.type]),e.isReadonly||t.isReadonly)}function Es(t){var r=e.countWhere(t,(function(e){return hc(e,1).length>0})),n=e.map(t,So);if(r>0&&r===e.countWhere(n,(function(e){return e}))){var i=n.indexOf(!0);n[i]=!1}return n}function Ss(t){for(var r,n,i,a,o=t.types,s=Es(o),c=e.countWhere(s,(function(e){return e})),l=function(l){var u=t.types[l];if(!s[l]){var d=hc(u,1);d.length&&c>0&&(d=e.map(d,(function(e){var t=ps(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(Bc(hc(t[a],1)[0]));return fu(i)}(Bc(e),o,s,l),t}))),n=Ds(n,d)}r=Ds(r,hc(u,0)),i=ks(i,bc(u,0)),a=ks(a,bc(u,1))},u=0;u<o.length;u++)l(u);Ki(t,T,r||e.emptyArray,n||e.emptyArray,i,a)}function Ds(t,r){for(var n=function(r){t&&!e.every(t,(function(e){return!ef(e,r,!1,!1,!1,ip)}))||(t=e.append(t,r))},i=0,a=r;i<a.length;i++){n(a[i])}return t}function ws(t){var r=Ci(t.symbol);if(t.target)Ki(t,T,e.emptyArray,e.emptyArray,void 0,void 0),Ki(t,a=$o(qs(t.target),t.mapper,!1),n=wd(hc(t.target,0),t.mapper),i=wd(hc(t.target,1),t.mapper),o=Xd(bc(t.target,0),t.mapper),l=Xd(bc(t.target,1),t.mapper));else if(2048&r.flags){Ki(t,T,e.emptyArray,e.emptyArray,void 0,void 0);var n=Rc((a=ss(r)).get("__call")),i=Rc(a.get("__new"));Ki(t,a,n,i,o=Zc(r,0),l=Zc(r,1))}else{var a=T,o=void 0;if(r.exports&&(a=Si(r),r===ae)){var s=new e.Map;a.forEach((function(e){418&e.flags||s.set(e.escapedName,e)})),a=s}if(Ki(t,a,e.emptyArray,e.emptyArray,void 0,void 0),32&r.flags){var c=Ao(Oo(r));11272192&c.flags?Yo(a=e.createSymbolTable(Hi(a)),Hs(c)):c===Ee&&(o=Qc(Ee,!1))}var l=384&r.flags&&(32&Jo(r).flags||e.some(t.properties,(function(e){return!!(296&_o(e).flags)})))?fr:void 0;if(Ki(t,a,e.emptyArray,e.emptyArray,o,l),8208&r.flags&&(t.callSignatures=Rc(r)),32&r.flags){var u=Oo(r);i=r.members?Rc(r.members.get("__constructor")):e.emptyArray;16&r.flags&&(i=e.addRange(i.slice(),e.mapDefined(t.callSignatures,(function(e){return Fy(e.declaration)?ds(e.declaration,e.typeParameters,e.thisParameter,e.parameters,u,void 0,e.minArgumentCount,39&e.flags):void 0})))),i.length||(i=function(t){var r=hc(Ao(t),1),n=e.getClassLikeDeclarationOfSymbol(t.symbol),i=!!n&&e.hasSyntacticModifier(n,128);if(0===r.length)return[ds(void 0,t.localTypeParameters,void 0,e.emptyArray,t,void 0,0,i?4:0)];for(var a=wo(t),o=e.isInJSFile(a),s=Sl(a),c=e.length(s),l=[],u=0,d=r;u<d.length;u++){var p=d[u],f=Nc(p.typeParameters),m=e.length(p.typeParameters);if(o||c>=f&&c<=m){var g=m?Hc(p,Pc(s,p.typeParameters,f,o)):ps(p);g.typeParameters=t.localTypeParameters,g.resolvedReturnType=t,g.flags=i?4|g.flags:-5&g.flags,l.push(g)}}return l}(u)),t.constructSignatures=i}}}function Ts(t){if(4194304&t.flags){var r=ac(t.type);return bf(r)?Yl(r):Eu(r)}if(16777216&t.flags){if(t.root.isDistributive){var n=t.checkType,i=Ts(n);if(i!==n)return Kd(t,Rd(t.root.checkType,i,t.mapper))}return t}return 1048576&t.flags?pg(t,Ts):2097152&t.flags?fu(e.sameMap(t.types,Ts)):t}function Cs(t){return 4096&e.getCheckFlags(t)}function As(t){var r,n,i=e.createSymbolTable();Ki(t,T,e.emptyArray,e.emptyArray,void 0,void 0);var a=Ns(t),o=Ps(t),s=Is(t.target||t),c=Fs(t.target||t),l=ac(Ms(t)),u=Ls(t),d=Z?128:8576;if(Rs(t)){for(var p=0,f=Hs(l);p<f.length;p++){m(bu(f[p],d))}(1&l.flags||bc(l,0))&&m(Re),!Z&&bc(l,1)&&m(Me)}else cg(Ts(o),m);function m(e){cg(s?Wd(s,Md(t.mapper,a,e)):e,(function(o){return function(e,o){if(Zo(o)){var s=is(o),d=i.get(s);if(d)d.nameType=ou([d.nameType,o]),d.keyType=ou([d.keyType,e]);else{var p=Zo(e)?gc(l,is(e)):void 0,f=!!(4&u||!(8&u)&&p&&16777216&p.flags),m=!!(1&u||!(2&u)&&p&&Nv(p)),g=W&&!f&&p&&16777216&p.flags,_=yn(4|(f?16777216:0),s,262144|(p?Cs(p):0)|(m?8:0)|(g?524288:0));_.mappedType=t,_.nameType=o,_.keyType=e,p&&(_.syntheticOrigin=p,_.declarations=p.declarations),i.set(s,_)}}else if(45&o.flags){var h=Wd(c,Md(t.mapper,a,e));5&o.flags?r=Qc(r?ou([r.type,h]):h,!!(1&u)):n=Qc(n?ou([n.type,h]):h,!!(1&u))}}(e,o)}))}Ki(t,i,e.emptyArray,e.emptyArray,r,n)}function Ns(e){return e.typeParameter||(e.typeParameter=qo(Ai(e.declaration.typeParameter)))}function Ps(e){return e.constraintType||(e.constraintType=Ws(Ns(e))||we)}function Is(e){return e.declaration.nameType?e.nameType||(e.nameType=Wd(xd(e.declaration.nameType),e.mapper)):void 0}function Fs(e){return e.templateType||(e.templateType=e.declaration.type?Wd(za(xd(e.declaration.type),!!(4&Ls(e))),e.mapper):we)}function Os(t){return e.getEffectiveConstraintOfTypeParameter(t.declaration.typeParameter)}function Rs(e){var t=Os(e);return 189===t.kind&&139===t.operator}function Ms(e){if(!e.modifiersType)if(Rs(e))e.modifiersType=Wd(xd(Os(e).type),e.mapper);else{var t=Ps(Ku(e.declaration)),r=t&&262144&t.flags?Ws(t):t;e.modifiersType=r&&4194304&r.flags?Wd(r.type,e.mapper):Ae}return e.modifiersType}function Ls(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 js(e){var t=Ls(e);return 8&t?-1:4&t?1:0}function Bs(e){var t=js(e),r=Ms(e);return t||(zs(r)?js(r):0)}function zs(t){return!!(32&e.getObjectFlags(t))&&Mu(Ps(t))}function Us(t){return t.members||(524288&t.flags?4&t.objectFlags?function(t){var r=Qo(t.target),n=e.concatenate(r.typeParameters,[r.thisType]),i=ll(t);us(t,r,n,i.length===n.length?i:e.concatenate(i,[t]))}(t):3&t.objectFlags?function(t){us(t,Qo(t),e.emptyArray,e.emptyArray)}(t):2048&t.objectFlags?function(t){for(var r=bc(t.source,0),n=Ls(t.mappedType),i=!(1&n),a=4&n?0:16777216,o=r&&Qc(um(r.type,t.mappedType,t.constraintType),i&&r.isReadonly),s=e.createSymbolTable(),c=0,l=Hs(t.source);c<l.length;c++){var u=l[c],d=8192|(i&&Nv(u)?8:0),p=yn(4|u.flags&a,u.escapedName,d);p.declarations=u.declarations,p.nameType=Tn(u).nameType,p.propertyType=_o(u),p.mappedType=t.mappedType,p.constraintType=t.constraintType,s.set(u.escapedName,p)}Ki(t,s,e.emptyArray,e.emptyArray,o,void 0)}(t):16&t.objectFlags?ws(t):32&t.objectFlags&&As(t):1048576&t.flags?function(t){var r=ys(e.map(t.types,(function(e){return e===vt?[ur]:hc(e,0)}))),n=ys(e.map(t.types,(function(e){return hc(e,1)}))),i=vs(t.types,0),a=vs(t.types,1);Ki(t,T,r,n,i,a)}(t):2097152&t.flags&&Ss(t)),t}function qs(t){return 524288&t.flags?Us(t).properties:e.emptyArray}function Js(e,t){if(524288&e.flags){var r=Us(e).members.get(t);if(r&&Mi(r))return r}}function Vs(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=Hs(a);o<s.length;o++){var c=s[o];if(!r.has(c.escapedName)){var l=lc(t,c.escapedName);l&&r.set(c.escapedName,l)}}if(1048576&t.flags&&!bc(a,0)&&!bc(a,1))break}t.resolvedProperties=Hi(r)}return t.resolvedProperties}function Hs(e){return 3145728&(e=oc(e)).flags?Vs(e):qs(e)}function Ks(e){return 262144&e.flags?Ws(e):8388608&e.flags?function(e){return ec(e)?function(e){var t=Gs(e.indexType);if(t&&t!==e.indexType){var r=Vu(e.objectType,t,e.noUncheckedIndexedAccessCandidate);if(r)return r}var n=Gs(e.objectType);if(n&&n!==e.objectType)return Vu(n,e.indexType,e.noUncheckedIndexedAccessCandidate);return}(e):void 0}(e):16777216&e.flags?function(e){return ec(e)?Xs(e):void 0}(e):Qs(e)}function Ws(e){return ec(e)?tl(e):void 0}function Gs(e){var t=ju(e,!1);return t!==e?t:Ks(e)}function $s(e){if(!e.resolvedDefaultConstraint){var t=function(e){return e.resolvedInferredTrueType||(e.resolvedInferredTrueType=e.combinedMapper?Wd(xd(e.root.node.trueType),e.combinedMapper):Xu(e))}(e),r=Qu(e);e.resolvedDefaultConstraint=Pa(t)?r:Pa(r)?t:ou([t,r])}return e.resolvedDefaultConstraint}function Ys(e){if(e.root.isDistributive&&e.restrictiveInstantiation!==e){var t=ju(e.checkType,!1),r=t===e.checkType?Ks(t):t;if(r&&r!==e.checkType){var n=Kd(e,Rd(e.root.checkType,r,e.mapper));if(!(131072&n.flags))return n}}}function Xs(e){return Ys(e)||$s(e)}function Qs(e){if(464781312&e.flags){var t=tc(e);return t!==lt&&t!==ut?t:void 0}return 4194304&e.flags?Qe:void 0}function Zs(e){return Qs(e)||e}function ec(e){return tc(e)!==ut}function tc(t){if(t.resolvedBaseConstraint)return t.resolvedBaseConstraint;var r=[];return t.resolvedBaseConstraint=ls(n(t),t);function n(t){if(!t.immediateBaseConstraint){if(!Da(t,4))return ut;var n=void 0;if((r.length<10||r.length<50&&!Yp(t,r,r.length))&&(r.push(t),n=function(t){if(262144&t.flags){var r=tl(t);return t.isThisType||!r?r:i(r)}if(3145728&t.flags){for(var n=[],a=!1,o=0,s=u=t.types;o<s.length;o++){var c=s[o],l=i(c);l?(l!==c&&(a=!0),n.push(l)):a=!0}return a?1048576&t.flags&&n.length===u.length?ou(n):2097152&t.flags&&n.length?fu(n):void 0:t}if(4194304&t.flags)return Qe;if(134217728&t.flags){var u=t.types,d=e.mapDefined(u,i);return d.length===u.length?Du(t.texts,d):Re}if(268435456&t.flags){return(r=i(t.type))?Tu(t.symbol,r):Re}if(8388608&t.flags){var p=i(t.objectType),f=i(t.indexType),m=p&&f&&Vu(p,f,t.noUncheckedIndexedAccessCandidate);return m&&i(m)}if(16777216&t.flags){return(r=Xs(t))&&i(r)}if(33554432&t.flags)return i(t.substitute);return t}(ju(t,!1)),r.pop()),!Ca()){if(262144&t.flags){var a=el(t);if(a){var o=pn(a,e.Diagnostics.Type_parameter_0_has_a_circular_constraint,da(t));!d||e.isNodeDescendantOf(a,d)||e.isNodeDescendantOf(d,a)||e.addRelatedInfo(o,e.createDiagnosticForNode(d,e.Diagnostics.Circularity_originates_in_type_at_this_location))}}n=ut}t.immediateBaseConstraint=n||lt}return t.immediateBaseConstraint}function i(e){var t=n(e);return t!==lt&&t!==ut?t:void 0}}function rc(t){if(t.default)t.default===dt&&(t.default=ut);else if(t.target){var r=rc(t.target);t.default=r?Wd(r,t.mapper):lt}else{t.default=dt;var n=t.symbol&&e.forEach(t.symbol.declarations,(function(t){return e.isTypeParameterDeclaration(t)&&t.default})),i=n?xd(n):lt;t.default===dt&&(t.default=i)}return t.default}function nc(e){var t=rc(e);return t!==lt&&t!==ut?t:void 0}function ic(e){return e.resolvedApparentType||(e.resolvedApparentType=function(e){var t=Ud(e);if(t&&!e.declaration.nameType){var r=Ws(t);if(r&&(rf(r)||vf(r)))return Wd(e,Rd(t,r,e.mapper))}return e}(e))}function ac(t){var r,n=465829888&t.flags?Qs(t)||Ae:t;return 32&e.getObjectFlags(n)?ic(n):2097152&n.flags?function(e){return e.resolvedApparentType||(e.resolvedApparentType=ls(e,e,!0))}(n):402653316&n.flags?St:296&n.flags?Dt:2112&n.flags?(r=V>=7,er||(er=Al("BigInt",0,r))||nt):528&n.flags?wt:12288&n.flags?Pl(V>=2):67108864&n.flags?nt:4194304&n.flags?Qe:2&n.flags&&!W?nt:n}function oc(e){return uc(ac(uc(e)))}function sc(t,r,n){for(var i,a,o,s=1048576&t.flags,c=s?0:16777216,l=4,u=0,d=0,p=t.types;d<p.length;d++){if(!((D=ac(p[d]))===we||131072&D.flags)){var f=(S=gc(D,r,n))?e.getDeclarationModifierFlagsFromSymbol(S):0;if(S){if(s?c|=16777216&S.flags:c&=S.flags,i){if(S!==i){a||(a=new e.Map).set(R(i),i);var m=R(S);a.has(m)||a.set(m,S)}}else i=S;u|=(Nv(S)?8:0)|(24&f?0:256)|(16&f?512:0)|(8&f?1024:0)|(32&f?2048:0),uh(S)||(l=2)}else if(s){var g=!ts(r)&&(R_(r)&&bc(D,1)||bc(D,0));g?(u|=32|(g.isReadonly?8:0),o=e.append(o,vf(D)?xf(D)||Ne:g.type)):km(D)?(u|=32,o=e.append(o,Ne)):u|=16}}}if(i&&!(s&&(a||48&u)&&1536&u)){if(!(a||16&u||o))return i;for(var _,h,y,v,b=[],k=!1,x=0,E=a?e.arrayFrom(a.values()):[i];x<E.length;x++){var S=E[x];v?S.valueDeclaration&&S.valueDeclaration!==v&&(k=!0):v=S.valueDeclaration,_=e.addRange(_,S.declarations);var D=_o(S);h?D!==h&&(u|=64):(h=D,y=Tn(S).nameType),ff(D)&&(u|=128),131072&D.flags&&(u|=131072),b.push(D)}e.addRange(b,o);var w=yn(4|c,r,l|u);return w.containingType=t,!k&&v&&(w.valueDeclaration=v,v.symbol.parent&&(w.parent=v.symbol.parent)),w.declarations=_,w.nameType=y,b.length>2?(w.checkFlags|=65536,w.deferralParent=t,w.deferralConstituents=b):w.type=s?ou(b):fu(b),w}}function cc(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;o||(o=sc(t,r,n))&&(n?t.propertyCacheWithoutObjectFunctionPropertyAugment||(t.propertyCacheWithoutObjectFunctionPropertyAugment=e.createSymbolTable()):t.propertyCache||(t.propertyCache=e.createSymbolTable())).set(r,o);return o}function lc(t,r,n){var i=cc(t,r,n);return!i||16&e.getCheckFlags(i)?void 0:i}function uc(t){return 1048576&t.flags&&268435456&t.objectFlags?t.resolvedReducedType||(t.resolvedReducedType=function(t){var r=e.sameMap(t.types,uc);if(r===t.types)return t;var n=ou(r);1048576&n.flags&&(n.resolvedReducedType=n);return n}(t)):2097152&t.flags?(268435456&t.objectFlags||(t.objectFlags|=268435456|(e.some(Vs(t),dc)?536870912:0)),536870912&t.objectFlags?He:t):t}function dc(e){return pc(e)||fc(e)}function pc(t){return!(16777216&t.flags||192!=(131264&e.getCheckFlags(t))||!(131072&_o(t).flags))}function fc(t){return!t.valueDeclaration&&!!(1024&e.getCheckFlags(t))}function mc(t,r){if(536870912&e.getObjectFlags(r)){var n=e.find(Vs(r),pc);if(n)return e.chainDiagnosticMessages(t,e.Diagnostics.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,da(r,void 0,536870912),la(n));var i=e.find(Vs(r),fc);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,da(r,void 0,536870912),la(i))}return t}function gc(e,t,r){if(524288&(e=oc(e)).flags){var n=Us(e),i=n.members.get(t);if(i&&Mi(i))return i;if(r)return;var a=n===ct?vt:n.callSignatures.length?bt:n.constructSignatures.length?kt:void 0;if(a){var o=Js(a,t);if(o)return o}return Js(yt,t)}if(3145728&e.flags)return lc(e,t,r)}function _c(t,r){if(3670016&t.flags){var n=Us(t);return 0===r?n.callSignatures:n.constructSignatures}return e.emptyArray}function hc(e,t){return _c(oc(e),t)}function yc(e,t){if(3670016&e.flags){var r=Us(e);return 0===t?r.stringIndexInfo:r.numberIndexInfo}}function vc(e,t){var r=yc(e,t);return r&&r.type}function bc(e,t){return yc(oc(e),t)}function kc(e,t){return vc(oc(e),t)}function xc(t,r){if(Lf(t)){for(var n=[],i=0,a=Hs(t);i<a.length;i++){var o=a[i];(0===r||R_(o.escapedName))&&n.push(_o(o))}if(0===r&&e.append(n,kc(t,1)),n.length)return ou(n)}}function Ec(t){for(var r,n=0,i=e.getEffectiveTypeParameterDeclarations(t);n<i.length;n++){var a=i[n];r=e.appendIfUnique(r,qo(a.symbol))}return r}function Sc(e){var t=[];return e.forEach((function(e,r){Vi(r)||t.push(e)})),t}function Dc(t){return e.isInJSFile(t)&&(t.type&&310===t.type.kind||e.getJSDocParameterTags(t).some((function(e){var t=e.isBracketed,r=e.typeExpression;return t||!!r&&310===r.type.kind})))}function wc(t,r){if(!e.isExternalModuleNameRelative(t)){var n=Nn(ne,'"'+t+'"',512);return n&&r?Ci(n):n}}function Tc(t){if(e.hasQuestionToken(t)||Cc(t)||Dc(t))return!0;if(t.initializer){var r=Ic(t.parent),n=t.parent.parameters.indexOf(t);return e.Debug.assert(n>=0),n>=sv(r,3)}var i=e.getImmediatelyInvokedFunctionExpression(t.parent);return!!i&&(!t.type&&!t.dotDotDotToken&&t.parent.parameters.indexOf(t)>=i.arguments.length)}function Cc(t){if(!e.isJSDocPropertyLikeTag(t))return!1;var r=t.isBracketed,n=t.typeExpression;return r||!!n&&310===n.type.kind}function Ac(e,t,r,n){return{kind:e,parameterName:t,parameterIndex:r,type:n}}function Nc(t){var r,n=0;if(t)for(var i=0;i<t.length;i++)(r=t[i]).symbol&&e.forEach(r.symbol.declarations,(function(t){return e.isTypeParameterDeclaration(t)&&t.default}))||(n=i+1);return n}function Pc(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]=we;var l=wm(i);for(c=o;c<a;c++){var u=nc(r[c]);i&&u&&(np(u,Ae)||np(u,nt))&&(u=Ee),s[c]=u?Wd(u,Td(r,s)):l}return s.length=r.length,s}return t&&t.slice()}function Ic(t){var r,n=Cn(t);if(!n.resolvedSignature){var i=[],a=0,o=0,s=void 0,c=!1,l=e.getImmediatelyInvokedFunctionExpression(t),u=e.isJSDocConstructSignature(t);!l&&e.isInJSFile(t)&&e.isValueSignatureDeclaration(t)&&!e.hasJSDocParameterTags(t)&&!e.getJSDocType(t)&&(a|=32);for(var d=u?1:0;d<t.parameters.length;d++){var p=t.parameters[d],f=p.symbol,m=e.isJSDocParameterTag(p)?p.typeExpression&&p.typeExpression.type:p.type;if(f&&4&f.flags&&!e.isBindingPattern(p.name))f=Fn(p,f.escapedName,111551,void 0,void 0,!1);0===d&&f&&"this"===f.escapedName?(c=!0,s=p.symbol):i.push(f),m&&192===m.kind&&(a|=2),Cc(p)||p.initializer||p.questionToken||p.dotDotDotToken||l&&i.length>l.arguments.length&&!m||Dc(p)||(o=i.length)}if((168===t.kind||169===t.kind)&&ns(t)&&(!c||!s)){var g=168===t.kind?169:168,_=e.getDeclarationOfKind(Ai(t),g);_&&(s=(r=tS(_))&&r.symbol)}var h=167===t.kind?Oo(Ci(t.parent.symbol)):void 0,y=h?h.localTypeParameters:Ec(t);(e.hasRestParameter(t)||e.isInJSFile(t)&&function(t,r){if(e.isJSDocSignature(t)||!Oc(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=yn(3,"args",32768);o.type=a?jl(xd(a.type)):At,a&&r.pop();return r.push(o),!0}(t,i))&&(a|=1),(e.isConstructorTypeNode(t)&&e.hasSyntacticModifier(t,128)||e.isConstructorDeclaration(t)&&e.hasSyntacticModifier(t.parent,128))&&(a|=4),n.resolvedSignature=ds(t,y,s,i,void 0,void 0,o,a)}return n.resolvedSignature}function Fc(t){if(e.isInJSFile(t)&&e.isFunctionLikeDeclaration(t)){var r=e.getJSDocTypeTag(t),n=r&&r.typeExpression&&Qh(xd(r.typeExpression));return n&&Kc(n)}}function Oc(t){var r=Cn(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 78:return r.escapedText===se.escapedName&&Am(r)===se;case 164:case 166:case 168:case 169:return 159===r.name.kind&&t(r.name);case 202:case 203:return t(r.expression);default:return!e.nodeStartsNewLexicalEnvironment(r)&&!e.isPartOfTypeNode(r)&&!!e.forEachChild(r,t)}}(t.body)),r.containsArgumentsReference}function Rc(t){if(!t)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(Ic(i))}}return r}function Mc(e){var t=gi(e,e);if(t){var r=vi(t);if(r)return _o(r)}return Ee}function Lc(e){if(e.thisParameter)return _o(e.thisParameter)}function jc(t){if(!t.resolvedTypePredicate){if(t.target){var r=jc(t.target);t.resolvedTypePredicate=r?(o=r,s=t.mapper,Ac(o.kind,o.parameterName,o.parameterIndex,Wd(o.type,s))):cr}else if(t.unionSignatures)t.resolvedTypePredicate=function(e){for(var t,r=[],n=0,i=e;n<i.length;n++){var a=jc(i[n]);if(a&&2!==a.kind&&3!==a.kind){if(t){if(!su(t,a))return}else t=a;r.push(a.type)}}if(!t)return;var o=ou(r);return Ac(t.kind,t.parameterName,t.parameterIndex,o)}(t.unionSignatures)||cr;else{var n=t.declaration&&e.getEffectiveReturnTypeNode(t.declaration),i=void 0;if(!n&&e.isInJSFile(t.declaration)){var a=Fc(t.declaration);a&&t!==a&&(i=jc(a))}t.resolvedTypePredicate=n&&e.isTypePredicateNode(n)?function(t,r){var n=t.parameterName,i=t.type&&xd(t.type);return 188===n.kind?Ac(t.assertsModifier?2:0,void 0,void 0,i):Ac(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)}var o,s;return t.resolvedTypePredicate===cr?void 0:t.resolvedTypePredicate}function Bc(t){if(!t.resolvedReturnType){if(!Da(t,3))return we;var r=t.target?Wd(Bc(t.target),t.mapper):t.unionSignatures?Wd(ou(e.map(t.unionSignatures,Bc),2),t.mapper):zc(t.declaration)||(e.nodeIsMissing(t.declaration.body)?Ee:vv(t.declaration));if(8&t.flags?r=If(r):16&t.flags&&(r=Nf(r)),!Ca()){if(t.declaration){var n=e.getEffectiveReturnTypeNode(t.declaration);if(n)pn(n,e.Diagnostics.Return_type_annotation_circularly_references_itself);else if(X){var i=t.declaration,a=e.getNameOfDeclaration(i);a?pn(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)):pn(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=Ee}t.resolvedReturnType=r}return t.resolvedReturnType}function zc(t){if(167===t.kind)return Oo(Ci(t.parent.symbol));if(e.isJSDocConstructSignature(t))return xd(t.parameters[0].type);var r,n=e.getEffectiveReturnTypeNode(t);if(n)return xd(n);if(168===t.kind&&ns(t)){var i=e.isInJSFile(t)&&ja(t);if(i)return i;var a=so(e.getDeclarationOfKind(Ai(t),169));if(a)return a}return(r=Fc(t))&&Bc(r)}function Uc(e){return!e.resolvedReturnType&&wa(e,3)>=0}function qc(e){if(U(e)){var t=_o(e.parameters[e.parameters.length-1]),r=vf(t)?xf(t):t;return r&&kc(r,1)}}function Jc(e,t,r,n){var i=Vc(e,Pc(t,e.typeParameters,Nc(e.typeParameters),r));if(n){var a=Zh(Bc(i));if(a){var o=ps(a);o.typeParameters=n;var s=ps(i);return s.resolvedReturnType=$c(o),s}}return i}function Vc(t,r){var n=t.instantiations||(t.instantiations=new e.Map),i=nl(r),a=n.get(i);return a||n.set(i,a=Hc(t,r)),a}function Hc(e,t){return jd(e,function(e,t){return Td(e.typeParameters,t)}(e,t),!0)}function Kc(e){return e.typeParameters?e.erasedSignatureCache||(e.erasedSignatureCache=function(e){return jd(e,Id(e.typeParameters),!0)}(e)):e}function Wc(t){return t.typeParameters?t.canonicalSignatureCache||(t.canonicalSignatureCache=function(t){return Jc(t,e.map(t.typeParameters,(function(e){return e.target&&!Ws(e.target)?e.target:e})),e.isInJSFile(t.declaration))}(t)):t}function Gc(t){var r=t.typeParameters;if(r){var n=Id(r);return jd(t,Td(r,e.map(r,(function(e){return Wd(Qs(e),n)||Ae}))),!0)}return t}function $c(t){if(!t.isolatedSignatureType){var r=t.declaration?t.declaration.kind:0,n=167===r||171===r||176===r,i=qi(16);i.members=T,i.properties=e.emptyArray,i.callSignatures=n?e.emptyArray:[t],i.constructSignatures=n?[t]:e.emptyArray,t.isolatedSignatureType=i}return t.isolatedSignatureType}function Yc(e){return e.members.get("__index")}function Xc(t,r){var n=1===r?145:148,i=Yc(t);if(i)for(var a=0,o=i.declarations;a<o.length;a++){var s=o[a],c=e.cast(s,e.isIndexSignatureDeclaration);if(1===c.parameters.length){var l=c.parameters[0];if(l.type&&l.type.kind===n)return c}}}function Qc(e,t,r){return{type:e,isReadonly:t,declaration:r}}function Zc(t,r){var n=Xc(t,r);if(n)return Qc(n.type?xd(n.type):Ee,e.hasEffectiveModifier(n,64),n)}function el(t){return e.mapDefined(e.filter(t.symbol&&t.symbol.declarations,e.isTypeParameterDeclaration),e.getEffectiveConstraintOfTypeParameter)[0]}function tl(t){if(!t.constraint)if(t.target){var r=Ws(t.target);t.constraint=r?Wd(r,t.mapper):lt}else{var n=el(t);if(n){var i=xd(n);1&i.flags&&i!==we&&(i=191===n.parent.parent.kind?Qe:Ae),t.constraint=i}else t.constraint=function(t){var r;if(t.symbol)for(var n=0,i=t.symbol.declarations;n<i.length;n++){var a=i[n];if(186===a.parent.kind){var o=e.walkUpParenthesizedTypesAndGetParentAndChild(a.parent.parent),s=o[0],c=void 0===s?a.parent:s,l=o[1];if(174===l.kind){var u=l,d=Nb(u);if(d){var p=u.typeArguments.indexOf(c);if(p<d.length){var f=Ws(d[p]);if(f){var m=Wd(f,Td(d,Cb(u,d)));m!==t&&(r=e.append(r,m))}}}}else 161===l.kind&&l.dotDotDotToken||182===l.kind||193===l.kind&&l.dotDotDotToken?r=e.append(r,jl(Ae)):195===l.kind?r=e.append(r,Re):160===l.kind&&191===l.parent.kind&&(r=e.append(r,Qe))}}return r&&fu(r)}(t)||lt}return t.constraint===lt?void 0:t.constraint}function rl(t){var r=e.getDeclarationOfKind(t.symbol,160),n=e.isJSDocTemplateTag(r.parent)?e.getHostSignatureFromJSDoc(r.parent):r.parent;return n&&Ai(n)}function nl(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 il(e,t){return e?"@"+R(e)+(t?":"+nl(t):""):""}function al(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 3670016&n}function ol(e,t){var r=nl(t),n=e.instantiations.get(r);return n||(n=qi(4,e.symbol),e.instantiations.set(r,n),n.objectFlags|=t?al(t,0):0,n.target=e,n.resolvedTypeArguments=t),n}function sl(e){var t=ji(e.flags);return t.symbol=e.symbol,t.objectFlags=e.objectFlags,t.target=e.target,t.resolvedTypeArguments=e.resolvedTypeArguments,t}function cl(e,t,r,n,i){if(!n){var a=ad(n=id(t));i=r?Dd(a,r):a}var o=qi(4,e.symbol);return o.target=e,o.node=t,o.mapper=r,o.aliasSymbol=n,o.aliasTypeArguments=i,o}function ll(t){var r,n;if(!t.resolvedTypeArguments){if(!Da(t,6))return(null===(r=t.target.localTypeParameters)||void 0===r?void 0:r.map((function(){return we})))||e.emptyArray;var i=t.node,a=i?174===i.kind?e.concatenate(t.target.outerTypeParameters,Cb(i,t.target.localTypeParameters)):179===i.kind?[xd(i.elementType)]:e.map(i.elements,xd):e.emptyArray;Ca()?t.resolvedTypeArguments=t.mapper?Dd(a,t.mapper):a:(t.resolvedTypeArguments=(null===(n=t.target.localTypeParameters)||void 0===n?void 0:n.map((function(){return we})))||e.emptyArray,pn(t.node||d,t.target.symbol?e.Diagnostics.Type_arguments_for_0_circularly_reference_themselves:e.Diagnostics.Tuple_type_arguments_circularly_reference_themselves,t.target.symbol&&la(t.target.symbol)))}return t.resolvedTypeArguments}function ul(t){return e.length(t.target.typeParameters)}function dl(t,r){var n=Jo(Ci(r)),i=n.localTypeParameters;if(i){var a=e.length(t.typeArguments),o=Nc(i),s=e.isInJSFile(t);if(!(!X&&s)&&(a<o||a>i.length)){var c=s&&e.isExpressionWithTypeArguments(t)&&!e.isJSDocAugmentsTag(t.parent);if(pn(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,da(n,void 0,2),o,i.length),!s)return we}return 174===t.kind&&ql(t,e.length(t.typeArguments)!==i.length)?cl(n,t,void 0):ol(n,e.concatenate(n.outerTypeParameters,Pc(Sl(t),i,o,s)))}return kl(t,r)?n:we}function pl(t,r,n,i){var a=Jo(t);if(a===Ce&&P.has(t.escapedName)&&r&&1===r.length)return Tu(t,r[0]);var o=Tn(t),s=o.typeParameters,c=nl(r)+il(n,i),l=o.instantiations.get(c);return l||o.instantiations.set(c,l=Gd(a,Td(s,Pc(r,s,Nc(s),e.isInJSFile(t.valueDeclaration))),n,i)),l}function fl(t){switch(t.kind){case 174:return t.typeName;case 225:var r=t.expression;if(e.isEntityNameExpression(r))return r}}function ml(e,t,r){return e&&fi(e,t,r)||ke}function gl(t,r){if(r===ke)return we;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=Ai(n);if(i)return Oy(i,t)}}}(r)||r).flags)return dl(t,r);if(524288&r.flags)return function(t,r){var n=Jo(r),i=Tn(r).typeParameters;if(i){var a=e.length(t.typeArguments),o=Nc(i);if(a<o||a>i.length)return pn(t,o===i.length?e.Diagnostics.Generic_type_0_requires_1_type_argument_s:e.Diagnostics.Generic_type_0_requires_between_1_and_2_type_arguments,la(r),o,i.length),we;var s=id(t);return pl(r,Sl(t),s,ad(s))}return kl(t,r)?n:we}(t,r);var n=Vo(r);if(n)return kl(t,r)?gd(n):we;if(111551&r.flags&&bl(t)){var i=function(e,t){var r=Cn(e);if(!r.resolvedJSDocType){var n=_o(t),i=n;if(t.valueDeclaration){var a=196===e.kind&&e.qualifier;n.symbol&&n.symbol!==t&&a&&(i=gl(e,n.symbol))}r.resolvedJSDocType=i}return r.resolvedJSDocType}(t,r);return i||(ml(fl(t),788968),_o(r))}return we}function _l(e,t){if(3&t.flags||t===e)return e;var r=Zl(e)+">"+Zl(t),n=ye.get(r);if(n)return n;var i=ji(33554432);return i.baseType=e,i.substitute=t,ye.set(r,i),i}function hl(e){return 180===e.kind&&1===e.elements.length}function yl(e,t,r){return hl(t)&&hl(r)?yl(e,t.elements[0],r.elements[0]):Wu(xd(t))===e?xd(r):void 0}function vl(t,r){for(var n;r&&!e.isStatement(r)&&314!==r.kind;){var i=r.parent;if(185===i.kind&&r===i.trueType){var a=yl(t,i.checkType,i.extendsType);a&&(n=e.append(n,a))}r=i}return n?_l(t,fu(e.append(n,t))):t}function bl(e){return!!(4194304&e.flags)&&(174===e.kind||196===e.kind)}function kl(t,r){return!t.typeArguments||(pn(t,e.Diagnostics.Type_0_is_not_generic,r?la(r):t.typeName?e.declarationNameToString(t.typeName):l),!1)}function xl(t){if(e.isIdentifier(t.typeName)){var r=t.typeArguments;switch(t.typeName.escapedText){case"String":return kl(t),Re;case"Number":return kl(t),Me;case"Boolean":return kl(t),qe;case"Void":return kl(t),Ve;case"Undefined":return kl(t),Ne;case"Null":return kl(t),Fe;case"Function":case"function":return kl(t),vt;case"array":return r&&r.length||X?void 0:At;case"promise":return r&&r.length||X?void 0:_v(Ee);case"Object":if(r&&2===r.length){if(e.isJSDocIndexSignature(t)){var n=xd(r[0]),i=Qc(xd(r[1]),!1);return Wi(void 0,T,e.emptyArray,e.emptyArray,n===Re?i:void 0,n===Me?i:void 0)}return Ee}return kl(t),X?void 0:Ee}}}function El(t){var r=Cn(t);if(!r.resolvedType){if(e.isConstTypeReference(t)&&e.isAssertionExpression(t.parent))return r.resolvedSymbol=ke,r.resolvedType=$v(t.parent.expression);var n=void 0,i=void 0,a=788968;bl(t)&&((i=xl(t))||((n=ml(fl(t),a,!0))===ke?n=ml(fl(t),900095):ml(fl(t),a),i=gl(t,n))),i||(i=gl(t,n=ml(fl(t),a))),r.resolvedSymbol=n,r.resolvedType=i}return r.resolvedType}function Sl(t){return e.map(t.typeArguments,xd)}function Dl(e){var t=Cn(e);return t.resolvedType||(t.resolvedType=gd(Hf(fb(e.exprName)))),t.resolvedType}function wl(t,r){function n(e){for(var t=0,r=e.declarations;t<r.length;t++){var n=r[t];switch(n.kind){case 254:case 256:case 258:return n}}}if(!t)return r?st:nt;var i=Jo(t);return 524288&i.flags?e.length(i.typeParameters)!==r?(pn(n(t),e.Diagnostics.Global_type_0_must_have_1_type_parameter_s,e.symbolName(t),r),r?st:nt):i:(pn(n(t),e.Diagnostics.Global_type_0_must_be_a_class_or_interface_type,e.symbolName(t)),r?st:nt)}function Tl(t,r){return Cl(t,111551,r?e.Diagnostics.Cannot_find_global_value_0:void 0)}function Cl(e,t,r){return Fn(void 0,e,t,r,e,!1)}function Al(t,r,n){var i=function(t,r){return Cl(t,788968,r?e.Diagnostics.Cannot_find_global_type_0:void 0)}(t,n);return i||n?wl(i,r):void 0}function Nl(e){return Ft||(Ft=Tl("Symbol",e))}function Pl(e){return Ot||(Ot=Al("Symbol",0,e))||nt}function Il(e){return Mt||(Mt=Al("Promise",1,e))||st}function Fl(e){return jt||(jt=Tl("Promise",e))}function Ol(e){return zt||(zt=Al("Iterable",1,e))||st}function Rl(e,t){void 0===t&&(t=0);var r=Cl(e,788968,void 0);return r&&wl(r,t)}function Ml(e,t){return e!==st?ol(e,t):nt}function Ll(e){return Ml(Rt||(Rt=Al("TypedPropertyDescriptor",1,!0))||st,[e])}function jl(e,t){return Ml(t?Et:xt,[e])}function Bl(e){switch(e.kind){case 181:return 2;case 182:return zl(e);case 193:return e.questionToken?2:e.dotDotDotToken?zl(e):1;default:return 1}}function zl(e){return kd(e.type)?4:8}function Ul(t){var r=function(t){return e.isTypeOperatorNode(t)&&143===t.operator}(t.parent);return kd(t)?r?Et:xt:Kl(e.map(t.elements,Bl),r,e.some(t.elements,(function(e){return 193!==e.kind}))?void 0:t.elements)}function ql(t,r){return!!id(t)||Jl(t)&&(179===t.kind?Vl(t.elementType):180===t.kind?e.some(t.elements,Vl):r||e.some(t.typeArguments,Vl))}function Jl(e){var t=e.parent;switch(t.kind){case 187:case 193:case 174:case 183:case 184:case 190:case 185:case 189:case 179:case 180:return Jl(t);case 257:return!0}return!1}function Vl(t){switch(t.kind){case 174:return bl(t)||!!(524288&ml(t.typeName,788968).flags);case 177:return!0;case 189:return 152!==t.operator&&Vl(t.type);case 187:case 181:case 193:case 310:case 308:case 309:case 304:return Vl(t.type);case 182:return 179!==t.type.kind||Vl(t.type.elementType);case 183:case 184:return e.some(t.types,Vl);case 190:return Vl(t.objectType)||Vl(t.indexType);case 185:return Vl(t.checkType)||Vl(t.extendsType)||Vl(t.trueType)||Vl(t.falseType)}return!1}function Hl(t,r,n,i){void 0===n&&(n=!1);var a=Kl(r||e.map(t,(function(e){return 1})),n,i);return a===st?nt:t.length?Wl(a,t):a}function Kl(t,r,n){if(1===t.length&&4&t[0])return r?Et:xt;var i=e.map(t,(function(e){return 1&e?"#":2&e?"?":4&e?".":"*"})).join()+(r?"R":"")+(n&&n.length?","+e.map(n,O).join(","):""),a=de.get(i);return a||de.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 l=0;l<a;l++){var u=i[l]=Ji(),d=t[l];if(!(12&(c|=d))){var p=yn(4|(2&d?16777216:0),""+l,r?8:0);p.tupleLabelDeclaration=null==n?void 0:n[l],p.type=u,s.push(p)}}}var f=s.length,m=yn(4,"length");if(12&c)m.type=Me;else{var g=[];for(l=o;l<=a;l++)g.push(hd(l));m.type=ou(g)}s.push(m);var _=qi(12);return _.typeParameters=i,_.outerTypeParameters=void 0,_.localTypeParameters=i,_.instantiations=new e.Map,_.instantiations.set(nl(_.typeParameters),_),_.target=_,_.resolvedTypeArguments=_.typeParameters,_.thisType=Ji(),_.thisType.isThisType=!0,_.thisType.constraint=_,_.declaredProperties=s,_.declaredCallSignatures=e.emptyArray,_.declaredConstructSignatures=e.emptyArray,_.declaredStringIndexInfo=void 0,_.declaredNumberIndexInfo=void 0,_.elementFlags=t,_.minLength=o,_.fixedLength=f,_.hasRestElement=!!(12&c),_.combinedFlags=c,_.readonly=r,_.labeledElementDeclarations=n,_}(t,r,n)),a}function Wl(e,t){return 8&e.objectFlags?Gl(e,t):ol(e,t)}function Gl(t,r){var n,i,a;if(!(14&t.combinedFlags))return ol(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 gu(e.map(r,(function(e,r){return 8&t.elementFlags[r]?e:Ae})))?pg(r[o],(function(n){return Gl(t,e.replaceElement(r,o,n))})):we}for(var s=[],c=[],l=[],u=-1,p=-1,f=-1,m=function(o){var c=r[o],l=t.elementFlags[o];if(8&l)if(58982400&c.flags||zs(c))y(c,8,null===(n=t.labeledElementDeclarations)||void 0===n?void 0:n[o]);else if(vf(c)){var u=ll(c);if(u.length+s.length>=1e4)return pn(d,e.isPartOfTypeNode(d)?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:we};e.forEach(u,(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(sf(c)&&kc(c,1)||we,4,null===(i=t.labeledElementDeclarations)||void 0===i?void 0:i[o]);else y(c,l,null===(a=t.labeledElementDeclarations)||void 0===a?void 0:a[o])},g=0;g<r.length;g++){var _=m(g);if("object"==typeof _)return _.value}for(g=0;g<u;g++)2&c[g]&&(c[g]=1);p>=0&&p<f&&(s[p]=ou(e.sameMap(s.slice(p,f+1),(function(e,t){return 8&c[p+t]?qu(e,Me):e}))),s.splice(p+1,f-p),c.splice(p+1,f-p),null==l||l.splice(p+1,f-p));var h=Kl(c,t.readonly,l);return h===st?nt:c.length?ol(h,s):h;function y(e,t,r){1&t&&(u=c.length),4&t&&p<0&&(p=c.length),6&t&&(f=c.length),s.push(e),c.push(t),l&&r?l.push(r):l=void 0}}function $l(t,r,n){void 0===n&&(n=0);var i=t.target,a=ul(t)-n;return r>i.fixedLength?function(e){var t=xf(e);return t&&jl(t)}(t)||Hl(e.emptyArray):Hl(ll(t).slice(r,a),i.elementFlags.slice(r,a),!1,i.labeledElementDeclarations&&i.labeledElementDeclarations.slice(r,a))}function Yl(t){return ou(e.append(e.arrayOf(t.target.fixedLength,(function(e){return hd(""+e)})),Eu(t.target.readonly?Et:xt)))}function Xl(t,r){var n=e.findIndex(t.elementFlags,(function(e){return!(e&r)}));return n>=0?n:t.elementFlags.length}function Ql(t,r){return t.elementFlags.length-e.findLastIndex(t.elementFlags,(function(e){return!(e&r)}))-1}function Zl(e){return e.id}function eu(t,r){return e.binarySearch(t,r,Zl,e.compareValues)>=0}function tu(t,r){var n=e.binarySearch(t,r,Zl,e.compareValues);return n<0&&(t.splice(~n,0,r),!0)}function ru(t,r,n){var i=n.flags;if(1048576&i)return nu(t,r|(function(e){return!!(1048576&e.flags&&(e.aliasSymbol||e.origin))}(n)?1048576:0),n.types);if(!(131072&i))if(r|=205258751&i,469499904&i&&(r|=262144),n===De&&(r|=8388608),!W&&98304&i)524288&e.getObjectFlags(n)||(r|=4194304);else{var a=t.length,o=a&&n.id>t[a-1].id?~a:e.binarySearch(t,n,Zl,e.compareValues);o<0&&t.splice(~o,0,n)}return r}function nu(e,t,r){for(var n=0,i=r;n<i.length;n++){t=ru(e,t,i[n])}return t}function iu(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&&iu(t,o.types)}}}function au(e,t){var r=Bi(e);return r.types=t,r}function ou(t,r,n,i,a){if(void 0===r&&(r=1),0===t.length)return He;if(1===t.length)return t[0];var o=[],s=nu(o,0,t);if(0!==r){if(3&s)return 1&s?8388608&s?De:Ee:Ae;if(3&r&&((11136&s||16384&s&&32768&s)&&function(t,r,n){for(var i=t.length;i>0;){var a=t[--i],o=a.flags;(128&o&&4&r||256&o&&8&r||2048&o&&64&r||8192&o&&4096&r||n&&32768&o&&16384&r||_d(a)&&eu(t,a.regularType))&&e.orderedRemoveItemAt(t,i)}}(o,s,!!(2&r)),128&s&&134217728&s&&function(t){var r=e.filter(t,Ou);if(r.length)for(var n=t.length,i=function(){n--;var i=t[n];128&i.flags&&e.some(r,(function(e){return sp(i,e)}))&&e.orderedRemoveItemAt(t,n)};n>0;)i()}(o)),2&r&&!function(t,r){for(var n=r&&e.some(t,(function(e){return!!(524288&e.flags)&&!zs(e)&&Dp(Us(e))})),i=t.length,a=i,o=0;a>0;){var s=t[--a];if(n||469499904&s.flags)for(var c=0,l=t;c<l.length;c++){var u=l[c];if(s!==u){if(1e5===o&&o/(i-a)*i>1e6)return null===e.tracing||void 0===e.tracing||e.tracing.instant("checkTypes","removeSubtypes_DepthLimit",{typeIds:t.map((function(e){return e.id}))}),pn(d,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1;if(o++,Pp(s,u,nn)&&(!(1&e.getObjectFlags(yo(s)))||!(1&e.getObjectFlags(yo(u)))||lp(s,u))){e.orderedRemoveItemAt(t,a);break}}}}return!0}(o,!!(524288&s)))return we;if(0===o.length)return 65536&s?4194304&s?Fe:Oe:32768&s?4194304&s?Ne:Pe:He}if(!a&&1048576&s){var c=[];iu(c,t);for(var l=[],u=function(t){e.some(c,(function(e){return eu(e.types,t)}))||l.push(t)},p=0,f=o;p<f.length;p++){u(f[p])}if(!n&&1===c.length&&0===l.length)return c[0];if(e.reduceLeft(c,(function(e,t){return e+t.types.length}),0)+l.length===o.length){for(var m=0,g=c;m<g.length;m++){tu(l,g[m])}a=au(1048576,l)}}return cu(o,(468598819&s?0:262144)|(2097152&s?268435456:0),n,i,a)}function su(e,t){return e.kind===t.kind&&e.parameterIndex===t.parameterIndex}function cu(e,t,r,n,i){if(0===e.length)return He;if(1===e.length)return e[0];var a=(i?1048576&i.flags?"|"+nl(i.types):2097152&i.flags?"&"+nl(i.types):"#"+i.type.id:nl(e))+il(r,n),o=pe.get(a);return o||(o=function(e,t,r,n){var i=ji(1048576);return i.objectFlags=al(e,98304),i.types=e,i.origin=n,i.aliasSymbol=t,i.aliasTypeArguments=r,i}(e,r,n,i),o.objectFlags|=t,pe.set(a,o)),o}function lu(e,t,r){var n=r.flags;return 2097152&n?uu(e,t,r.types):(Tp(r)?16777216&t||(t|=16777216,e.set(r.id.toString(),r)):(3&n?r===De&&(t|=8388608):!W&&98304&n||e.has(r.id.toString())||(109440&r.flags&&109440&t&&(t|=67108864),e.set(r.id.toString(),r)),t|=205258751&n),t)}function uu(e,t,r){for(var n=0,i=r;n<i.length;n++){t=lu(e,t,gd(i[n]))}return t}function du(e,t){for(var r=0,n=e;r<n.length;r++){var i=n[r];if(!eu(i.types,t)){var a=128&t.flags?Re:256&t.flags?Me:2048&t.flags?Le:8192&t.flags?Je:void 0;if(!a||!eu(i.types,a))return!1}}return!0}function pu(t,r){if(e.every(t,(function(t){return!!(1048576&t.flags)&&e.some(t.types,(function(e){return!!(e.flags&r)}))}))){for(var n=0;n<t.length;n++)t[n]=ug(t[n],(function(e){return!(e.flags&r)}));return!0}return!1}function fu(t,r,n){var i=new e.Map,a=uu(i,0,t),o=e.arrayFrom(i.values());if(131072&a||W&&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)return He;if(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(sp(o[a],i)){e.orderedRemoveItemAt(t,r);break}if(Ou(i))return!0}}return!1}(o))return He;if(1&a)return 8388608&a?De:Ee;if(!W&&98304&a)return 32768&a?Ne:Fe;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,Tp)),0===o.length)return Ae;if(1===o.length)return o[0];var s=nl(o)+il(r,n),c=fe.get(s);if(!c){if(1048576&a)if(function(t){var r,n=e.findIndex(t,(function(t){return!!(262144&e.getObjectFlags(t))}));if(n<0)return!1;for(var i=n+1;i<t.length;){var a=t[i];262144&e.getObjectFlags(a)?((r||(r=[t[n]])).push(a),e.orderedRemoveItemAt(t,i)):i++}if(!r)return!1;for(var o=[],s=[],c=0,l=r;c<l.length;c++)for(var u=0,d=l[c].types;u<d.length;u++)tu(o,a=d[u])&&du(r,a)&&tu(s,a);return t[n]=cu(s,262144),!0}(o))c=fu(o,r,n);else if(pu(o,32768))c=ou([fu(o),Ne],1,r,n);else if(pu(o,65536))c=ou([fu(o),Fe],1,r,n);else{if(!gu(o))return we;var l=function(e){for(var t=mu(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 l=fu(i);131072&l.flags||r.push(l)}return r}(o);c=ou(l,1,r,n,e.some(l,(function(e){return!!(2097152&e.flags)}))?au(2097152,o):void 0)}else c=function(e,t,r){var n=ji(2097152);return n.objectFlags=al(e,98304),n.types=e,n.aliasSymbol=t,n.aliasTypeArguments=r,n}(o,r,n);fe.set(s,c)}return c}function mu(t){return e.reduceLeft(t,(function(e,t){return 1048576&t.flags?e*t.types.length:131072&t.flags?0:e}),1)}function gu(t){var r=mu(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}),pn(d,e.Diagnostics.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1)}function _u(e,t){var r=ji(4194304);return r.type=e,r.stringsOnly=t,r}function hu(e,t,r){return Wd(e,Md(t.mapper,Ns(t),r))}function yu(t){return!(!t||!(16777216&t.flags&&(!t.root.isDistributive||yu(t.checkType))||137363456&t.flags&&e.some(t.types,yu)||272629760&t.flags&&yu(t.type)||8388608&t.flags&&yu(t.indexType)||33554432&t.flags&&yu(t.substitute)))}function vu(t){return e.isPrivateIdentifier(t)?He:e.isIdentifier(t)?hd(e.unescapeLeadingUnderscores(t.escapedText)):gd(e.isComputedPropertyName(t)?M_(t):fb(t))}function bu(t,r){if(!(24&e.getDeclarationModifierFlagsFromSymbol(t))){var n=Tn(cs(t)).nameType;if(!n&&!e.isKnownSymbol(t))if("default"===t.escapedName)n=hd("default");else{var i=t.valueDeclaration&&e.getNameOfDeclaration(t.valueDeclaration);n=i&&vu(i)||hd(e.symbolName(t))}if(n&&n.flags&r)return n}return He}function ku(t,r,n){var i=n&&(7&e.getObjectFlags(t)||t.aliasSymbol)?function(e){var t=Bi(4194304);return t.type=e,t}(t):void 0;return ou(e.map(Hs(t),(function(e){return bu(e,r)})),1,void 0,void 0,i)}function xu(e){var t=bc(e,1);return t!==fr?t:void 0}function Eu(t,r,n){void 0===r&&(r=Z);var i=r===Z&&!n;return 1048576&(t=uc(t)).flags?fu(e.map(t.types,(function(e){return Eu(e,r,n)}))):2097152&t.flags?ou(e.map(t.types,(function(e){return Eu(e,r,n)}))):58982400&t.flags||bf(t)||zs(t)&&yu(Is(t))?function(e,t){return t?e.resolvedStringIndexType||(e.resolvedStringIndexType=_u(e,!0)):e.resolvedIndexType||(e.resolvedIndexType=_u(e,!1))}(t,r):32&e.getObjectFlags(t)?function(t,r){var n=ug(Ps(t),(function(e){return!(r&&5&e.flags)})),i=t.declaration.nameType&&xd(t.declaration.nameType),a=i&&lg(n,(function(e){return!!(131084&e.flags)}))&&Hs(ac(Ms(t)));return i?ou([pg(n,(function(e){return hu(i,t,e)})),pg(ou(e.map(a||e.emptyArray,(function(e){return bu(e,8576)}))),(function(e){return hu(i,t,e)}))]):n}(t,n):t===De?De:2&t.flags?He:131073&t.flags?Qe:r?!n&&bc(t,0)?Re:ku(t,128,i):!n&&bc(t,0)?ou([Re,Me,ku(t,8192,i)]):xu(t)?ou([Me,ku(t,8320,i)]):ku(t,8576,i)}function Su(t){if(Z)return t;var r=Qt||(Qt=Cl("Extract",524288,e.Diagnostics.Cannot_find_global_type_0));return r?pl(r,[t,Re]):Re}function Du(t,r){var n=e.findIndex(r,(function(e){return!!(1179648&e.flags)}));if(n>=0)return gu(r)?pg(r[n],(function(i){return Du(t,e.replaceElement(r,n,i))})):we;if(e.contains(r,De))return De;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+=wu(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(!Mu(s)&&!Fu(s))return!1;i.push(s),a.push(o),o=t[n+1]}}return!0}(t,r))return Re;if(0===i.length)return hd(o);if(a.push(o),e.every(a,(function(e){return""===e}))&&e.every(i,(function(e){return!!(4&e.flags)})))return Re;var s=nl(i)+"|"+e.map(a,(function(e){return e.length})).join(",")+"|"+a.join(""),c=_e.get(s);return c||_e.set(s,c=function(e,t){var r=ji(134217728);return r.texts=e,r.types=t,r}(a,i)),c}function wu(t){return 128&t.flags?t.value:256&t.flags?""+t.value:2048&t.flags?e.pseudoBigIntToString(t.value):512&t.flags?t.intrinsicName:65536&t.flags?"null":32768&t.flags?"undefined":void 0}function Tu(e,t){return 1179648&t.flags?pg(t,(function(t){return Tu(e,t)})):Mu(t)?function(e,t){var r=R(e)+","+Zl(t),n=he.get(r);n||he.set(r,n=function(e,t){var r=ji(268435456);return r.symbol=e,r.type=t,r}(e,t));return n}(e,t):128&t.flags?hd(function(e,t){switch(P.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 Cu(t){if(X)return!1;if(16384&e.getObjectFlags(t))return!0;if(1048576&t.flags)return e.every(t.types,Cu);if(2097152&t.flags)return e.some(t.types,Cu);if(465829888&t.flags){var r=tc(t);return r!==t&&Cu(r)}return!1}function Au(t,r){var n=r&&203===r.kind?r:void 0;return Zo(t)?is(t):n&&qh(n.argumentExpression,t,!1)?e.getPropertyNameForKnownSymbolName(e.idText(n.argumentExpression.name)):r&&e.isPropertyName(r)?e.getPropertyNameForPropertyNameNode(r):void 0}function Nu(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)&&zm(n,t):e.every(r.declarations,(function(t){return!e.isFunctionLike(t)||!!(134217728&e.getCombinedNodeFlags(t))}))}return!0}function Pu(t,r,n,i,a,o,s,c,l){var u,d=o&&203===o.kind?o:void 0,p=o&&e.isPrivateIdentifier(o)?void 0:Au(n,o);if(void 0!==p){var f=gc(r,p);if(f){if(l&&o&&134217728&lh(f)&&Nu(o,f))hn(null!==(u=null==d?void 0:d.argumentExpression)&&void 0!==u?u:e.isIndexedAccessTypeNode(o)?o.indexType:o,f.declarations,p);if(d){if(Lh(f,d,108===d.expression.kind),Pv(d,f,e.getAssignmentTargetKind(d)))return void pn(d.argumentExpression,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,la(f));if(4&s&&(Cn(o).resolvedSymbol=f),wh(d,f))return Se}var m=_o(f);return d&&1!==e.getAssignmentTargetKind(d)?Og(d,m):m}if(lg(r,vf)&&R_(p)&&+p>=0){if(o&&lg(r,(function(e){return!e.target.hasRestElement}))&&!(8&s)){var g=Iu(o);vf(r)?pn(g,e.Diagnostics.Tuple_type_0_of_length_1_has_no_element_at_index_2,da(r),ul(r),e.unescapeLeadingUnderscores(p)):pn(g,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(p),da(r))}return S(bc(r,1)),pg(r,(function(e){var t=xf(e)||Ne;return c?ou([t,Ne]):t}))}}if(!(98304&n.flags)&&Mv(n,402665900)){if(131073&r.flags)return r;var _=bc(r,0),h=Mv(n,296)&&bc(r,1)||_;if(h)return 1&s&&h===_?void(d&&pn(d,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,da(n),da(t))):o&&!Mv(n,12)?(pn(g=Iu(o),e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,da(n)),c?ou([h.type,Ne]):h.type):(S(h),c?ou([h.type,Ne]):h.type);if(131072&n.flags)return He;if(Cu(r))return Ee;if(d&&!jv(r)){if(km(r)){if(X&&384&n.flags)return Qr.add(e.createDiagnosticForNode(d,e.Diagnostics.Property_0_does_not_exist_on_type_1,n.value,da(r))),Ne;if(12&n.flags){var y=e.map(r.properties,(function(e){return _o(e)}));return ou(e.append(y,Ne))}}if(r.symbol===ae&&void 0!==p&&ae.exports.has(p)&&418&ae.exports.get(p).flags)pn(d,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(p),da(r));else if(X&&!J.suppressImplicitAnyIndexErrors&&!a)if(void 0!==p&&Nh(p,r)){var v=da(r);pn(d,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,p,v,v+"["+e.getTextOfNode(d.argumentExpression)+"]")}else if(kc(r,1))pn(d.argumentExpression,e.Diagnostics.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{var b=void 0;if(void 0!==p&&(b=Fh(p,r)))void 0!==b&&pn(d.argumentExpression,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,p,da(r),b);else{var k=function(t,r,n){function i(e){var r=Js(t,e);if(r){var i=Qh(_o(r));return!!i&&sv(i)>=1&&cp(n,nv(i,0))}return!1}var a=e.isAssignmentTarget(r)?"set":"get";if(!i(a))return;var o=e.tryGetPropertyAccessOrIdentifierToString(r.expression);void 0===o?o=a:o+="."+a;return o}(r,d,n);if(void 0!==k)pn(d,e.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,da(r),k);else{var x=void 0;if(1024&n.flags)x=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+da(n)+"]",da(r));else if(8192&n.flags){var E=pi(n.symbol,d);x=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,"["+E+"]",da(r))}else 128&n.flags||256&n.flags?x=e.chainDiagnosticMessages(void 0,e.Diagnostics.Property_0_does_not_exist_on_type_1,n.value,da(r)):12&n.flags&&(x=e.chainDiagnosticMessages(void 0,e.Diagnostics.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,da(n),da(r)));x=e.chainDiagnosticMessages(x,e.Diagnostics.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,da(i),da(r)),Qr.add(e.createDiagnosticForNodeFromMessageChain(d,x))}}}return}}if(Cu(r))return Ee;if(o){g=Iu(o);384&n.flags?pn(g,e.Diagnostics.Property_0_does_not_exist_on_type_1,""+n.value,da(r)):12&n.flags?pn(g,e.Diagnostics.Type_0_has_no_matching_index_signature_for_type_1,da(r),da(n)):pn(g,e.Diagnostics.Type_0_cannot_be_used_as_an_index_type,da(n))}return Pa(n)?n:void 0;function S(t){t&&t.isReadonly&&d&&(e.isAssignmentTarget(d)||e.isDeleteTarget(d))&&pn(d,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,da(r))}}function Iu(e){return 203===e.kind?e.argumentExpression:190===e.kind?e.indexType:159===e.kind?e.expression:e}function Fu(e){return-1!==et.types.indexOf(e)||!!(1&e.flags)}function Ou(t){return!!(134217728&t.flags)&&e.every(t.types,Fu)}function Ru(t){return 3145728&t.flags?(4194304&t.objectFlags||(t.objectFlags|=4194304|(e.some(t.types,Ru)?8388608:0)),!!(8388608&t.objectFlags)):!!(58982400&t.flags)||zs(t)||bf(t)}function Mu(t){return 3145728&t.flags?(16777216&t.objectFlags||(t.objectFlags|=16777216|(e.some(t.types,Mu)?33554432:0)),!!(33554432&t.objectFlags)):!!(465829888&t.flags)&&!Ou(t)}function Lu(e){return!!(262144&e.flags&&e.isThisType)}function ju(t,r){return 8388608&t.flags?function(t,r){var n=r?"simplifiedForWriting":"simplifiedForReading";if(t[n])return t[n]===ut?t:t[n];t[n]=ut;var i=ju(t.objectType,r),a=ju(t.indexType,r),o=function(t,r,n){if(1048576&r.flags){var i=e.map(r.types,(function(e){return ju(qu(t,e),n)}));return n?fu(i):ou(i)}}(i,a,r);if(o)return t[n]=o;if(!(465829888&a.flags)){var s=Bu(i,a,r);if(s)return t[n]=s}if(bf(i)&&296&a.flags){var c=Ef(i,8&a.flags?0:i.target.fixedLength,0,r);if(c)return t[n]=c}if(zs(i))return t[n]=pg(Uu(i,t.indexType),(function(e){return ju(e,r)}));return t[n]=t}(t,r):16777216&t.flags?function(e,t){var r=e.checkType,n=e.extendsType,i=Xu(e),a=Qu(e);if(131072&a.flags&&Wu(i)===Wu(r)){if(1&r.flags||cp(Yd(r),Yd(n)))return ju(i,t);if(zu(r,n))return He}else if(131072&i.flags&&Wu(a)===Wu(r)){if(!(1&r.flags)&&cp(Yd(r),Yd(n)))return He;if(1&r.flags||zu(r,n))return ju(a,t)}return e}(t,r):t}function Bu(t,r,n){if(3145728&t.flags){var i=e.map(t.types,(function(e){return ju(qu(e,r),n)}));return 2097152&t.flags||n?fu(i):ou(i)}}function zu(e,t){return!!(131072&ou([bs(e,t),He]).flags)}function Uu(e,t){var r=Td([Ns(e)],[t]),n=Fd(e.mapper,r);return Wd(Fs(e),n)}function qu(e,t,r,n,i,a,o){return void 0===o&&(o=0),Vu(e,t,r,n,o,i,a)||(n?we:Ae)}function Ju(e,t){return lg(e,(function(e){if(384&e.flags){var r=is(e);if(R_(r)){var n=+r;return n>=0&&n<t}}return!1}))}function Vu(e,t,r,n,i,a,o){if(void 0===i&&(i=0),e===De||t===De)return De;var s=r||!!J.noUncheckedIndexedAccess&&16==(18&i);if(!Cp(e)||98304&t.flags||!Mv(t,12)||(t=Re),Mu(t)||(n&&190!==n.kind?bf(e)&&!Ju(t,e.target.fixedLength):Ru(e)&&(!vf(e)||!Ju(t,e.target.fixedLength)))){if(3&e.flags)return e;var c=e.id+","+t.id+(s?"?":"")+il(a,o),l=ge.get(c);return l||ge.set(c,l=function(e,t,r,n,i){var a=ji(8388608);return a.objectType=e,a.indexType=t,a.aliasSymbol=r,a.aliasTypeArguments=n,a.noUncheckedIndexedAccessCandidate=i,a}(e,t,a,o,s)),l}var u=oc(e);if(1048576&t.flags&&!(16&t.flags)){for(var d=[],p=!1,f=0,m=t.types;f<m.length;f++){var g=Pu(e,u,m[f],t,p,n,i,s);if(g)d.push(g);else{if(!n)return;p=!0}}if(p)return;return 2&i?fu(d,a,o):ou(d,1,a,o)}return Pu(e,u,t,t,!1,n,4|i,s,!0)}function Hu(e){var t=Cn(e);if(!t.resolvedType){var r=xd(e.objectType),n=xd(e.indexType),i=id(e),a=qu(r,n,void 0,e,i,ad(i));t.resolvedType=8388608&a.flags&&a.objectType===r&&a.indexType===n?vl(a,e):a}return t.resolvedType}function Ku(e){var t=Cn(e);if(!t.resolvedType){var r=qi(32,e.symbol);r.declaration=e,r.aliasSymbol=id(e),r.aliasTypeArguments=ad(r.aliasSymbol),t.resolvedType=r,Ps(r)}return t.resolvedType}function Wu(e){return 33554432&e.flags?e.baseType:8388608&e.flags&&(33554432&e.objectType.flags||33554432&e.indexType.flags)?qu(Wu(e.objectType),Wu(e.indexType)):e}function Gu(t){return!t.isDistributive&&180===t.node.checkType.kind&&1===e.length(t.node.checkType.elements)&&180===t.node.extendsType.kind&&1===e.length(t.node.extendsType.elements)}function $u(e,t){return Gu(e)&&vf(t)?ll(t)[0]:t}function Yu(t,r,n,i){for(var a,o;;){var s=Gu(t),c=Wd($u(t,t.checkType),r),l=Ru(c)||Mu(c),u=Wd($u(t,t.extendsType),r);if(c===De||u===De)return De;var d=void 0;if(t.inferTypeParameters){var p=Qf(t.inferTypeParameters,void 0,0);l||ym(p.inferences,c,u,768),d=Od(r,p.mapper)}var f=d?Wd($u(t,t.extendsType),d):u;if(!l&&!Ru(f)&&!Mu(f)){if(!(3&f.flags)&&(1&c.flags&&!s||!cp($d(c),$d(f)))){1&c.flags&&!s&&(o||(o=[])).push(Wd(xd(t.node.trueType),d||r));var m=xd(t.node.falseType);if(16777216&m.flags){var g=m.root;if(g.node.parent===t.node&&(!g.isDistributive||g.checkType===t.checkType)){t=g;continue}}a=Wd(m,r);break}if(3&f.flags||cp(Yd(c),Yd(f))){a=Wd(xd(t.node.trueType),d||r);break}}(a=ji(16777216)).root=t,a.checkType=Wd(t.checkType,r),a.extendsType=Wd(t.extendsType,r),a.mapper=r,a.combinedMapper=d,a.aliasSymbol=n||t.aliasSymbol,a.aliasTypeArguments=n?i:Dd(t.aliasTypeArguments,r);break}return o?ou(e.append(o,a)):a}function Xu(e){return e.resolvedTrueType||(e.resolvedTrueType=Wd(xd(e.root.node.trueType),e.mapper))}function Qu(e){return e.resolvedFalseType||(e.resolvedFalseType=Wd(xd(e.root.node.falseType),e.mapper))}function Zu(t){var r;return t.locals&&t.locals.forEach((function(t){262144&t.flags&&(r=e.append(r,Jo(t)))})),r}function ed(t){return e.isIdentifier(t)?[t]:e.append(ed(t.left),t.right)}function td(t){var r=Cn(t);if(!r.resolvedType){if(t.isTypeOf&&t.typeArguments)return pn(t,e.Diagnostics.Type_arguments_cannot_be_used_here),r.resolvedSymbol=ke,r.resolvedType=we;if(!e.isLiteralImportTypeNode(t))return pn(t.argument,e.Diagnostics.String_literal_expected),r.resolvedSymbol=ke,r.resolvedType=we;var n=t.isTypeOf?111551:4194304&t.flags?900095:788968,i=gi(t,t.argument.literal);if(!i)return r.resolvedSymbol=ke,r.resolvedType=we;var a=vi(i,!1);if(e.nodeIsMissing(t.qualifier)){if(a.flags&n)r.resolvedType=rd(t,r,a,n);else pn(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=ke,r.resolvedType=we}else{for(var o=ed(t.qualifier),s=a,c=void 0;c=o.shift();){var l=o.length?1920:n,u=Ci(ii(s)),d=t.isTypeOf?gc(_o(u),c.escapedText):Nn(Si(u),c.escapedText,l);if(!d)return pn(c,e.Diagnostics.Namespace_0_has_no_exported_member_1,pi(s),e.declarationNameToString(c)),r.resolvedType=we;Cn(c).resolvedSymbol=d,Cn(c.parent).resolvedSymbol=d,s=d}r.resolvedType=rd(t,r,s,n)}}return r.resolvedType}function rd(e,t,r,n){var i=ii(r);return t.resolvedSymbol=i,111551===n?_o(r):gl(e,i)}function nd(t){var r=Cn(t);if(!r.resolvedType){var n=id(t);if(0!==ss(t.symbol).size||n){var i=qi(16,t.symbol);i.aliasSymbol=n,i.aliasTypeArguments=ad(n),e.isJSDocTypeLiteral(t)&&t.isArrayType&&(i=jl(i)),r.resolvedType=i}else r.resolvedType=ot}return r.resolvedType}function id(t){for(var r=t.parent;e.isParenthesizedTypeNode(r)||e.isJSDocTypeExpression(r)||e.isTypeOperatorNode(r)&&143===r.operator;)r=r.parent;return e.isTypeAlias(r)?Ai(r):void 0}function ad(e){return e?Eo(e):void 0}function od(e){return!!(524288&e.flags)&&!zs(e)}function sd(e){return wp(e)||!!(474058748&e.flags)}function cd(t,r){if(e.every(t.types,sd))return e.find(t.types,wp)||nt;var n=e.find(t.types,(function(e){return!sd(e)}));if(n&&!(n&&e.find(t.types,(function(e){return e!==n&&!sd(e)}))))return function(t){for(var n=e.createSymbolTable(),i=0,a=Hs(t);i<a.length;i++){var o=a[i];if(24&e.getDeclarationModifierFlagsFromSymbol(o));else if(ud(o)){var s=65536&o.flags&&!(32768&o.flags),c=yn(16777220,o.escapedName,Cs(o)|(r?8:0));c.type=s?Ne:ou([_o(o),Ne]),c.declarations=o.declarations,c.nameType=Tn(o).nameType,c.syntheticOrigin=o,n.set(o.escapedName,c)}}var l=Wi(t.symbol,n,e.emptyArray,e.emptyArray,bc(t,0),bc(t,1));return l.objectFlags|=1048704,l}(n)}function ld(t,r,n,i,a){if(1&t.flags||1&r.flags)return Ee;if(2&t.flags||2&r.flags)return Ae;if(131072&t.flags)return r;if(131072&r.flags)return t;var o;if(1048576&t.flags)return(o=cd(t,a))?ld(o,r,n,i,a):gu([t,r])?pg(t,(function(e){return ld(e,r,n,i,a)})):we;if(1048576&r.flags)return(o=cd(r,a))?ld(t,o,n,i,a):gu([t,r])?pg(r,(function(e){return ld(t,e,n,i,a)})):we;if(473960444&r.flags)return t;if(Ru(t)||Ru(r)){if(wp(t))return r;if(2097152&t.flags){var s=t.types,c=s[s.length-1];if(od(c)&&od(r))return fu(e.concatenate(s.slice(0,s.length-1),[ld(c,r,n,i,a)]))}return fu([t,r])}var l,u,d=e.createSymbolTable(),p=new e.Set;t===nt?(l=bc(r,0),u=bc(r,1)):(l=xs(bc(t,0),bc(r,0)),u=xs(bc(t,1),bc(r,1)));for(var f=0,m=Hs(r);f<m.length;f++){var g=m[f];24&e.getDeclarationModifierFlagsFromSymbol(g)?p.add(g.escapedName):ud(g)&&d.set(g.escapedName,dd(g,a))}for(var _=0,h=Hs(t);_<h.length;_++){var y=h[_];if(!p.has(y.escapedName)&&ud(y))if(d.has(y.escapedName)){var v=_o(g=d.get(y.escapedName));if(16777216&g.flags){var b=e.concatenate(y.declarations,g.declarations),k=yn(4|16777216&y.flags,y.escapedName);k.type=ou([_o(y),Hm(v,524288)]),k.leftSpread=y,k.rightSpread=g,k.declarations=b,k.nameType=Tn(y).nameType,d.set(y.escapedName,k)}}else d.set(y.escapedName,dd(y,a))}var x=Wi(n,d,e.emptyArray,e.emptyArray,pd(l,a),pd(u,a));return x.objectFlags|=1049728|i,x}function ud(t){return!(e.some(t.declarations,e.isPrivateIdentifierPropertyDeclaration)||106496&t.flags&&t.declarations.some((function(t){return e.isClassLike(t.parent)})))}function dd(e,t){var r=65536&e.flags&&!(32768&e.flags);if(!r&&t===Nv(e))return e;var n=yn(4|16777216&e.flags,e.escapedName,Cs(e)|(t?8:0));return n.type=r?Ne:_o(e),n.declarations=e.declarations,n.nameType=Tn(e).nameType,n.syntheticOrigin=e,n}function pd(e,t){return e&&e.isReadonly!==t?Qc(e.type,t,e.declaration):e}function fd(e,t,r){var n=ji(e);return n.symbol=r,n.value=t,n}function md(e){if(2944&e.flags){if(!e.freshType){var t=fd(e.flags,e.value,e.symbol);t.regularType=e,t.freshType=t,e.freshType=t}return e.freshType}return e}function gd(e){return 2944&e.flags?e.regularType:1048576&e.flags?e.regularType||(e.regularType=pg(e,gd)):e}function _d(e){return!!(2944&e.flags)&&e.freshType===e}function hd(t,r,n){var i=(r||"")+("number"==typeof t?"#":"string"==typeof t?"@":"n")+("object"==typeof t?e.pseudoBigIntToString(t):t),a=me.get(i);if(!a){var o=("number"==typeof t?256:"string"==typeof t?128:2048)|(r?1024:0);me.set(i,a=fd(o,t,n)),a.regularType=a}return a}function yd(t){if(e.isValidESSymbolDeclaration(t)){var r=Ai(t),n=Tn(r);return n.uniqueESSymbolType||(n.uniqueESSymbolType=function(e){var t=ji(8192);return t.symbol=e,t.escapedName="__@"+t.symbol.escapedName+"@"+R(t.symbol),t}(r))}return Je}function vd(t){var r=Cn(t);return r.resolvedType||(r.resolvedType=function(t){var r=e.getThisContainer(t,!1),n=r&&r.parent;if(n&&(e.isClassLike(n)||256===n.kind)&&!e.hasSyntacticModifier(r,32)&&(!e.isConstructorDeclaration(r)||e.isNodeDescendantOf(t,r.body)))return Oo(Ai(n)).thisType;if(n&&e.isObjectLiteralExpression(n)&&e.isBinaryExpression(n.parent)&&6===e.getAssignmentDeclarationKind(n.parent))return Oo(Ai(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)?Oo(Ai(i.parent.left).parent).thisType:Fy(r)&&e.isNodeDescendantOf(t,r.body)?Oo(Ai(r)).thisType:(pn(t,e.Diagnostics.A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface),we)}(t)),r.resolvedType}function bd(e){return xd(kd(e.type)||e.type)}function kd(e){switch(e.kind){case 187:return kd(e.type);case 180:if(1===e.elements.length&&(182===(e=e.elements[0]).kind||193===e.kind&&e.dotDotDotToken))return kd(e.type);break;case 179:return e.elementType}}function xd(e){return vl(Ed(e),e)}function Ed(t){switch(t.kind){case 129:case 306:case 307:return Ee;case 153:return Ae;case 148:return Re;case 145:return Me;case 156:return Le;case 132:return qe;case 149:return Je;case 114:return Ve;case 151:return Ne;case 104:return Fe;case 142:return He;case 146:return 131072&t.flags&&!X?Ee:Ye;case 137:return Ce;case 188:case 108:return vd(t);case 192:return function(e){if(104===e.literal.kind)return Fe;var t=Cn(e);return t.resolvedType||(t.resolvedType=gd(fb(e.literal))),t.resolvedType}(t);case 174:case 225:return El(t);case 173:return t.assertsModifier?Ve:qe;case 177:return Dl(t);case 179:case 180:return function(t){var r=Cn(t);if(!r.resolvedType){var n=Ul(t);if(n===st)r.resolvedType=nt;else if(180===t.kind&&e.some(t.elements,(function(e){return!!(8&Bl(e))}))||!ql(t)){var i=179===t.kind?[xd(t.elementType)]:e.map(t.elements,xd);r.resolvedType=Wl(n,i)}else r.resolvedType=180===t.kind&&0===t.elements.length?n:cl(n,t,void 0)}return r.resolvedType}(t);case 181:return function(e){var t=xd(e.type);return W?Nf(t):t}(t);case 183:return function(t){var r=Cn(t);if(!r.resolvedType){var n=id(t);r.resolvedType=ou(e.map(t.types,xd),1,n,ad(n))}return r.resolvedType}(t);case 184:return function(t){var r=Cn(t);if(!r.resolvedType){var n=id(t);r.resolvedType=fu(e.map(t.types,xd),n,ad(n))}return r.resolvedType}(t);case 308:return function(e){var t=xd(e.type);return W?Af(t,65536):t}(t);case 310:return za(xd(t.type));case 193:return function(e){var t=Cn(e);return t.resolvedType||(t.resolvedType=e.dotDotDotToken?bd(e):e.questionToken&&W?Nf(xd(e.type)):xd(e.type))}(t);case 187:case 309:case 304:return xd(t.type);case 182:return bd(t);case 312:return function(t){var r=xd(t.type),n=t.parent,i=t.parent.parent;if(e.isJSDocTypeExpression(t.parent)&&e.isJSDocParameterTag(i)){var a=e.getHostSignatureFromJSDoc(i);if(a){var o=e.lastOrUndefined(a.parameters),s=e.getParameterSymbolFromJSDoc(i);if(!o||s&&o.symbol===s&&e.isRestParameter(o))return jl(r)}}if(e.isParameter(n)&&e.isJSDocFunctionType(n.parent))return jl(r);return za(r)}(t);case 175:case 176:case 178:case 315:case 311:case 316:return nd(t);case 189:return function(t){var r=Cn(t);if(!r.resolvedType)switch(t.operator){case 139:r.resolvedType=Eu(xd(t.type));break;case 152:r.resolvedType=149===t.type.kind?yd(e.walkUpParenthesizedTypes(t.parent)):we;break;case 143:r.resolvedType=xd(t.type);break;default:throw e.Debug.assertNever(t.operator)}return r.resolvedType}(t);case 190:return Hu(t);case 191:return Ku(t);case 185:return function(t){var r=Cn(t);if(!r.resolvedType){var n=xd(t.checkType),i=id(t),a=ad(i),o=ko(t,!0),s=a?o:e.filter(o,(function(e){return zd(e,t)})),c={node:t,checkType:n,extendsType:xd(t.extendsType),isDistributive:!!(262144&n.flags),inferTypeParameters:Zu(t),outerTypeParameters:s,instantiations:void 0,aliasSymbol:i,aliasTypeArguments:a};r.resolvedType=Yu(c,void 0),s&&(c.instantiations=new e.Map,c.instantiations.set(nl(s),r.resolvedType))}return r.resolvedType}(t);case 186:return function(e){var t=Cn(e);return t.resolvedType||(t.resolvedType=qo(Ai(e.typeParameter))),t.resolvedType}(t);case 194:return function(t){var r=Cn(t);return r.resolvedType||(r.resolvedType=Du(i([t.head.text],e.map(t.templateSpans,(function(e){return e.literal.text}))),e.map(t.templateSpans,(function(e){return xd(e.type)})))),r.resolvedType}(t);case 196:return td(t);case 78:case 158:case 202:var r=Yx(t);return r?Jo(r):we;default:return we}}function Sd(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 Dd(e,t){return Sd(e,t,Wd)}function wd(e,t){return Sd(e,t,jd)}function Td(e,t){return 1===e.length?Ad(e[0],t?t[0]:Ee):function(e,t){return{kind:1,sources:e,targets:t}}(e,t)}function Cd(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]:Ee;return e;case 2:return t.func(e);case 3:case 4:var a=Cd(e,t.mapper1);return a!==e&&3===t.kind?Wd(a,t.mapper2):Cd(a,t.mapper2)}}function Ad(e,t){return{kind:0,source:e,target:t}}function Nd(e){return{kind:2,func:e}}function Pd(e,t,r){return{kind:e,mapper1:t,mapper2:r}}function Id(e){return Td(e,void 0)}function Fd(e,t){return e?Pd(3,e,t):t}function Od(e,t){return e?Pd(4,e,t):t}function Rd(e,t,r){return r?Pd(4,Ad(e,t),r):Ad(e,t)}function Md(e,t,r){return e?Pd(4,e,Ad(t,r)):Ad(t,r)}function Ld(e){var t=Ji(e.symbol);return t.target=e,t}function jd(t,r,n){var i;if(t.typeParameters&&!n){i=e.map(t.typeParameters,Ld),r=Fd(Td(t.typeParameters,i),r);for(var a=0,o=i;a<o.length;a++){o[a].mapper=r}}var s=ds(t.declaration,i,t.thisParameter&&Bd(t.thisParameter,r),Sd(t.parameters,r,Bd),void 0,void 0,t.minArgumentCount,39&t.flags);return s.target=t,s.mapper=r,s}function Bd(t,r){var n=Tn(t);if(n.type&&!am(n.type))return t;1&e.getCheckFlags(t)&&(t=n.target,r=Fd(n.mapper,r));var i=yn(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||232===i.kind||185===i.kind&&e.forEachChild(i.extendsType,a))return!0;return!!e.forEachChild(r,a)}return!0;function a(r){switch(r.kind){case 188:return!!t.isThisType;case 78:return!t.isThisType&&e.isPartOfTypeNode(r)&&function(e){return!(158===e.kind||174===e.parent.kind&&e.parent.typeArguments&&e===e.parent.typeName||196===e.parent.kind&&e.parent.typeArguments&&e===e.parent.qualifier)}(r)&&Ed(r)===t;case 177:return!0}return!!e.forEachChild(r,a)}}function Ud(e){var t=Ps(e);if(4194304&t.flags){var r=Wu(t.type);if(262144&r.flags)return r}}function qd(t,r,n,i){var a=Ud(t);if(a){var o=Wd(a,r);if(a!==o)return fg(uc(o),(function(n){if(61603843&n.flags&&n!==De&&n!==we){if(!t.declaration.nameType){if(rf(n))return function(e,t,r){var n=Vd(t,Me,!0,r);return n===we?we:jl(n,Jd(nf(e),Ls(t)))}(n,t,Rd(a,n,r));if(bf(n))return function(t,r,n,i){var a=t.target.elementFlags,o=e.map(ll(t),(function(e,t){var o=8&a[t]?e:4&a[t]?jl(e):Hl([e],[a[t]]);return qd(r,Rd(n,o,i))})),s=Jd(t.target.readonly,Ls(r));return Hl(o,e.map(o,(function(e){return 8})),s)}(n,t,a,r);if(vf(n))return function(t,r,n){var i=t.target.elementFlags,a=e.map(ll(t),(function(e,t){return Vd(r,hd(""+t),!!(2&i[t]),n)})),o=Ls(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=Jd(t.target.readonly,o);return e.contains(a,we)?we:Hl(a,s,c,t.target.labeledElementDeclarations)}(n,t,Rd(a,n,r))}return Hd(t,Rd(a,n,r))}return n}),n,i)}return Wd(Ps(t),r)===De?De:Hd(t,r,n,i)}function Jd(e,t){return!!(1&t)||!(2&t)&&e}function Vd(e,t,r,n){var i=Md(n,Ns(e),t),a=Wd(Fs(e.target||e),i),o=Ls(e);return W&&4&o&&!Rv(a,49152)?Nf(a):W&&8&o&&r?Hm(a,524288):a}function Hd(e,t,r,n){var i=qi(64|e.objectFlags,e.symbol);if(32&e.objectFlags){i.declaration=e.declaration;var a=Ns(e),o=Ld(a);i.typeParameter=o,t=Fd(Ad(a,o),t),o.mapper=t}return i.target=e,i.mapper=t,i.aliasSymbol=r||e.aliasSymbol,i.aliasTypeArguments=r?n:Dd(e.aliasTypeArguments,t),i}function Kd(t,r,n,i){var a=t.root;if(a.outerTypeParameters){var o=e.map(a.outerTypeParameters,(function(e){return Cd(e,r)})),s=nl(o)+il(n,i),c=a.instantiations.get(s);if(!c)c=function(e,t,r,n){if(e.isDistributive){var i=e.checkType,a=Cd(i,t);if(i!==a&&1179648&a.flags)return fg(a,(function(r){return Yu(e,Rd(i,r,t))}),r,n)}return Yu(e,t,r,n)}(a,Td(a.outerTypeParameters,o),n,i),a.instantiations.set(s,c);return c}return t}function Wd(e,t){return e&&t?Gd(e,t,void 0,void 0):e}function Gd(t,r,n,i){if(!am(t))return t;if(50===D||x>=5e6)return null===e.tracing||void 0===e.tracing||e.tracing.instant("checkTypes","instantiateType_DepthLimit",{typeId:t.id,instantiationDepth:D,instantiationCount:x}),pn(d,e.Diagnostics.Type_instantiation_is_excessively_deep_and_possibly_infinite),we;k++,x++,D++;var a=function(t,r,n,i){var a=t.flags;if(262144&a)return Cd(t,r);if(524288&a){var o=t.objectFlags;if(52&o){if(4&o&&!t.node){var s=t.resolvedTypeArguments,c=Dd(s,r);return c!==s?Wl(t.target,c):t}return function(t,r,n,i){var a=4&t.objectFlags?t.node:t.symbol.declarations[0],o=Cn(a),s=4&t.objectFlags?o.resolvedType:64&t.objectFlags?t.target:t,c=o.outerTypeParameters;if(!c){var l=ko(a,!0);if(Fy(a)){var u=Ec(a);l=e.addRange(l,u)}c=l||e.emptyArray,c=(4&s.objectFlags||2048&s.symbol.flags)&&!s.aliasTypeArguments?e.filter(c,(function(e){return zd(e,a)})):c,o.outerTypeParameters=c}if(c.length){var d=Fd(t.mapper,r),p=e.map(c,(function(e){return Cd(e,d)})),f=n||t.aliasSymbol,m=n?i:Dd(t.aliasTypeArguments,r),g=nl(p)+il(f,m);s.instantiations||(s.instantiations=new e.Map,s.instantiations.set(nl(c)+il(s.aliasSymbol,s.aliasTypeArguments),s));var _=s.instantiations.get(g);if(!_){var h=Td(c,p);_=4&s.objectFlags?cl(t.target,t.node,h,f,m):32&s.objectFlags?qd(s,h,f,m):Hd(s,h,f,m),s.instantiations.set(g,_)}return _}return t}(t,r,n,i)}return t}if(3145728&a){var l=1048576&t.flags?t.origin:void 0,u=l&&3145728&l.flags?l.types:t.types,d=Dd(u,r);if(d===u&&n===t.aliasSymbol)return t;var p=n||t.aliasSymbol,f=n?i:Dd(t.aliasTypeArguments,r);return 2097152&a||l&&2097152&l.flags?fu(d,p,f):ou(d,1,p,f)}if(4194304&a)return Eu(Wd(t.type,r));if(134217728&a)return Du(t.texts,Dd(t.types,r));if(268435456&a)return Tu(t.symbol,Wd(t.type,r));if(8388608&a){p=n||t.aliasSymbol,f=n?i:Dd(t.aliasTypeArguments,r);return qu(Wd(t.objectType,r),Wd(t.indexType,r),t.noUncheckedIndexedAccessCandidate,void 0,p,f)}if(16777216&a)return Kd(t,Fd(t.mapper,r),n,i);if(33554432&a){var m=Wd(t.baseType,r);if(8650752&m.flags)return _l(m,Wd(t.substitute,r));var g=Wd(t.substitute,r);return 3&g.flags||cp(Yd(m),Yd(g))?m:g}return t}(t,r,n,i);return D--,a}function $d(e){return 262143&e.flags?e:e.permissiveInstantiation||(e.permissiveInstantiation=Wd(e,rt))}function Yd(e){return 262143&e.flags?e:(e.restrictiveInstantiation||(e.restrictiveInstantiation=Wd(e,tt),e.restrictiveInstantiation.restrictiveInstantiation=e.restrictiveInstantiation),e.restrictiveInstantiation)}function Xd(e,t){return e&&Qc(Wd(e.type,t),e.isReadonly,e.declaration)}function Qd(t){switch(e.Debug.assert(166!==t.kind||e.isObjectLiteralMethod(t)),t.kind){case 209:case 210:case 166:case 253:return Zd(t);case 201:return e.some(t.properties,Qd);case 200:return e.some(t.elements,Qd);case 219:return Qd(t.whenTrue)||Qd(t.whenFalse);case 218:return(56===t.operatorToken.kind||60===t.operatorToken.kind)&&(Qd(t.left)||Qd(t.right));case 291:return Qd(t.initializer);case 208:return Qd(t.expression);case 284:return e.some(t.properties,Qd)||e.isJsxOpeningElement(t.parent)&&e.some(t.parent.parent.children,Qd);case 283:var r=t.initializer;return!!r&&Qd(r);case 286:var n=t.expression;return!!n&&Qd(n)}return!1}function Zd(t){return(!e.isFunctionDeclaration(t)||e.isInJSFile(t)&&!!ja(t))&&(ep(t)||function(t){return!t.typeParameters&&!e.getEffectiveReturnTypeNode(t)&&!!t.body&&232!==t.body.kind&&Qd(t.body)}(t))}function ep(t){if(!t.typeParameters){if(e.some(t.parameters,(function(t){return!e.getEffectiveTypeAnnotationNode(t)})))return!0;if(210!==t.kind){var r=e.firstOrUndefined(t.parameters);if(!r||!e.parameterIsThisKeyword(r))return!0}}return!1}function tp(t){return(e.isInJSFile(t)&&e.isFunctionDeclaration(t)||T_(t)||e.isObjectLiteralMethod(t))&&Zd(t)}function rp(t){if(524288&t.flags){var r=Us(t);if(r.constructSignatures.length||r.callSignatures.length){var n=qi(16,t.symbol);return n.members=r.members,n.properties=r.properties,n.callSignatures=e.emptyArray,n.constructSignatures=e.emptyArray,n}}else if(2097152&t.flags)return fu(e.map(t.types,rp));return t}function np(e,t){return Pp(e,t,sn)}function ip(e,t){return Pp(e,t,sn)?-1:0}function ap(e,t){return Pp(e,t,an)?-1:0}function op(e,t){return Pp(e,t,rn)?-1:0}function sp(e,t){return Pp(e,t,rn)}function cp(e,t){return Pp(e,t,an)}function lp(t,r){return 1048576&t.flags?e.every(t.types,(function(e){return lp(e,r)})):1048576&r.flags?e.some(r.types,(function(e){return lp(t,e)})):58982400&t.flags?lp(Qs(t)||Ae,r):r===yt?!!(67633152&t.flags):r===vt?!!(524288&t.flags)&&Jm(t):vo(t,yo(r))||rf(r)&&!nf(r)&&lp(t,Et)}function up(e,t){return Pp(e,t,on)}function dp(e,t){return up(e,t)||up(t,e)}function pp(e,t,r,n,i,a){return Op(e,t,an,r,n,i,a)}function fp(e,t,r,n,i,a){return mp(e,t,an,r,n,i,a,void 0)}function mp(e,t,r,n,i,a,o,s){return!!Pp(e,t,r)||(!n||!_p(i,e,t,r,a,o,s))&&Op(e,t,r,n,a,o,s)}function gp(t){return!!(16777216&t.flags||2097152&t.flags&&e.some(t.types,gp))}function _p(t,r,n,i,o,c,l){if(!t||gp(n))return!1;if(!Op(r,n,i,void 0)&&function(t,r,n,i,a,o,s){for(var c=hc(r,0),l=hc(r,1),u=0,d=[l,c];u<d.length;u++){var p=d[u];if(e.some(p,(function(e){var t=Bc(e);return!(131073&t.flags)&&Op(t,n,i,void 0)}))){var f=s||{};pp(r,n,t,a,o,f);var m=f.errors[f.errors.length-1];return e.addRelatedInfo(m,e.createDiagnosticForNode(t,p===l?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,o,c,l))return!0;switch(t.kind){case 286:case 208:return _p(t.expression,r,n,i,o,c,l);case 218:switch(t.operatorToken.kind){case 62:case 27:return _p(t.right,r,n,i,o,c,l)}break;case 201:return function(t,r,n,i,a,o){return!(131068&n.flags)&&vp(function(t){var r,n,i,a;return s(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=bu(Ai(i),8576))||131072&a.flags)return[3,7];switch(i.kind){case 169:case 168:case 166:case 292:return[3,2];case 291: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,c,l);case 200:return function(e,t,r,n,i,a){if(131068&r.flags)return!1;if(lf(t))return vp(kp(e,r),t,r,n,i,a);var o=e.contextualType;e.contextualType=r;try{var s=P_(e,1,!0);return e.contextualType=o,!!lf(s)&&vp(kp(e,r),s,r,n,i,a)}finally{e.contextualType=o}}(t,r,n,i,c,l);case 284:return function(t,r,n,i,o,c){var l,u=vp(function(t){var r,n,i;return s(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)?[3,3]:[4,{errorNode:i.name,innerExpression:i.initializer,nameType:hd(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,o,c);if(e.isJsxOpeningElement(t.parent)&&e.isJsxElement(t.parent.parent)){var d=t.parent.parent,p=Q_(Y_(t)),f=void 0===p?"children":e.unescapeLeadingUnderscores(p),m=hd(f),g=qu(n,m),_=e.getSemanticJsxChildren(d.children);if(!e.length(_))return u;var h=e.length(_)>1,y=ug(g,uf),v=ug(g,(function(e){return!uf(e)}));if(h){if(y!==He){var b=Hl(V_(d,0)),k=function(t,r){var n,i,a,o,c;return s(this,(function(s){switch(s.label){case 0:if(!e.length(t.children))return[2];n=0,i=0,s.label=1;case 1:return i<t.children.length?(a=t.children[i],o=hd(i-n),(c=bp(a,o,r))?[4,c]:[3,3]):[3,5];case 2:return s.sent(),[3,4];case 3:n++,s.label=4;case 4:return i++,[3,1];case 5:return[2]}}))}(d,S);u=vp(k,b,y,i,o,c)||u}else if(!Pp(qu(r,m),g,i)){u=!0;var x=pn(d.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,f,da(g));c&&c.skipLogging&&(c.errors||(c.errors=[])).push(x)}}else if(v!==He){var E=bp(_[0],m,S);E&&(u=vp(function(){return s(this,(function(e){switch(e.label){case 0:return[4,E];case 1:return e.sent(),[2]}}))}(),r,n,i,o,c)||u)}else if(!Pp(qu(r,m),g,i)){u=!0;x=pn(d.openingElement.tagName,e.Diagnostics.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,f,da(g));c&&c.skipLogging&&(c.errors||(c.errors=[])).push(x)}}return u;function S(){if(!l){var r=e.getTextOfNode(t.parent.tagName),i=Q_(Y_(t)),o=void 0===i?"children":e.unescapeLeadingUnderscores(i),s=qu(n,hd(o)),c=e.Diagnostics._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2;l=a(a({},c),{key:"!!ALREADY FORMATTED!!",message:e.formatMessage(void 0,c,r,o,da(s))})}return l}}(t,r,n,i,c,l);case 210:return function(t,r,n,i,a,o){if(e.isBlock(t.body))return!1;if(e.some(t.parameters,e.hasType))return!1;var s=Qh(r);if(!s)return!1;var c=hc(n,0);if(!e.length(c))return!1;var l=t.body,u=Bc(s),d=ou(e.map(c,Bc));if(!Op(u,d,i,void 0)){var p=l&&_p(l,u,d,i,void 0,a,o);if(p)return p;var f=o||{};if(Op(u,d,i,l,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)),2&e.getFunctionFlags(t)||Na(u,"then")||!Op(_v(u),d,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,c,l)}return!1}function hp(e,t,r){var n=Vu(t,r);if(n)return n;if(1048576&t.flags){var i=Mp(e,t);if(i)return Vu(i,r)}}function yp(e,t){e.contextualType=t;try{return eb(e,1,t)}finally{e.contextualType=void 0}}function vp(t,r,n,i,a,o){for(var s=!1,c=t.next();!c.done;c=t.next()){var l=c.value,u=l.errorNode,d=l.innerExpression,p=l.nameType,f=l.errorMessage,m=hp(r,n,p);if(m&&!(8388608&m.flags)){var g=Vu(r,p);if(g&&!Op(g,m,i,void 0))if(d&&_p(d,g,m,i,void 0,a,o))s=!0;else{var _=o||{},h=d?yp(d,g):g;if(Op(h,m,i,u,f,a,_)&&h!==g&&Op(g,m,i,u,f,a,_),_.errors){var y=_.errors[_.errors.length-1],v=Zo(p)?is(p):void 0,b=void 0!==v?gc(n,v):void 0,k=!1;if(!b){var x=Mv(p,296)&&bc(n,1)||bc(n,0)||void 0;x&&x.declaration&&!e.getSourceFileOfNode(x.declaration).hasNoDefaultLib&&(k=!0,e.addRelatedInfo(y,e.createDiagnosticForNode(x.declaration,e.Diagnostics.The_expected_type_comes_from_this_index_signature)))}if(!k&&(b&&e.length(b.declarations)||n.symbol&&e.length(n.symbol.declarations))){var E=b&&e.length(b.declarations)?b.declarations[0]:n.symbol.declarations[0];e.getSourceFileOfNode(E).hasNoDefaultLib||e.addRelatedInfo(y,e.createDiagnosticForNode(E,e.Diagnostics.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,!v||8192&p.flags?da(p):e.unescapeLeadingUnderscores(v),da(n)))}}s=!0}}}return s}function bp(t,r,n){switch(t.kind){case 286: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 276:case 277:case 280:return{errorNode:t,innerExpression:t,nameType:r};default:return e.Debug.assertNever(t,"Found invalid jsx child")}}function kp(t,r){var n,i,a,o;return s(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?lf(r)&&!gc(r,""+i)?[3,3]:(a=t.elements[i],e.isOmittedExpression(a)?[3,3]:(o=hd(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 xp(e,t,r,n,i){return Op(e,t,on,r,n,i)}function Ep(t,r,n,i,a,o,s,c){if(t===r)return-1;if(!(l=r).typeParameters&&(!l.thisParameter||Pa(Qy(l.thisParameter)))&&1===l.parameters.length&&U(l)&&(Qy(l.parameters[0])===At||Pa(Qy(l.parameters[0])))&&Pa(Bc(l)))return-1;var l,u=ov(r);if(!cv(r)&&(8&n?cv(t)||ov(t)>u:sv(t)>u))return 0;t.typeParameters&&t.typeParameters!==r.typeParameters&&(t=ty(t,r=Wc(r),void 0,s));var d=ov(t),p=uv(t),f=uv(r);if((p||f)&&Wd(p||f,c),p&&f&&d!==u)return 0;var m=r.declaration?r.declaration.kind:0,g=!(3&n)&&G&&166!==m&&165!==m&&167!==m,_=-1,h=Lc(t);if(h&&h!==Ve){var y=Lc(r);if(y){if(!(S=!g&&s(h,y,!1)||s(y,h,i)))return i&&a(e.Diagnostics.The_this_types_of_each_signature_are_incompatible),0;_&=S}}for(var v=p||f?Math.min(d,u):Math.max(d,u),b=p||f?v-1:-1,k=0;k<v;k++){var x=k===b?av(t,k):iv(t,k),E=k===b?av(r,k):iv(r,k);if(x&&E){var S,D=3&n?void 0:Qh(Pf(x)),w=3&n?void 0:Qh(Pf(E));if((S=D&&w&&!jc(D)&&!jc(w)&&(98304&wf(x))==(98304&wf(E))?Ep(w,D,8&n|(g?2:1),i,a,o,s,c):!(3&n)&&!g&&s(x,E,!1)||s(E,x,i))&&8&n&&k>=sv(t)&&k<sv(r)&&s(x,E,!1)&&(S=0),!S)return i&&a(e.Diagnostics.Types_of_parameters_0_and_1_are_incompatible,e.unescapeLeadingUnderscores(ev(t,k)),e.unescapeLeadingUnderscores(ev(r,k))),0;_&=S}}if(!(4&n)){var T=Uc(r)?Ee:r.declaration&&Fy(r.declaration)?Oo(Ci(r.declaration.symbol)):Bc(r);if(T===Ve)return _;var C=Uc(t)?Ee:t.declaration&&Fy(t.declaration)?Oo(Ci(t.declaration.symbol)):Bc(t),A=jc(r);if(A){var N=jc(t);if(N)_&=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,ha(t),ha(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,ha(t),ha(r))),0;var o=t.type===r.type?-1:t.type&&r.type?a(t.type,r.type,n):0;0===o&&n&&i(e.Diagnostics.Type_predicate_0_is_not_assignable_to_1,ha(t),ha(r));return o}(N,A,i,a,s);else if(e.isIdentifierTypePredicate(A))return i&&a(e.Diagnostics.Signature_0_must_be_a_type_predicate,ua(t)),0}else!(_&=1&n&&s(T,C,!1)||s(C,T,i))&&i&&o&&o(C,T)}return _}function Sp(e,t){var r=Kc(e),n=Kc(t),i=Bc(r),a=Bc(n);return!(a!==Ve&&!Pp(a,i,an)&&!Pp(i,a,an))&&0!==Ep(r,n,!0?4:0,!1,void 0,void 0,ap,void 0)}function Dp(e){return e!==ct&&0===e.properties.length&&0===e.callSignatures.length&&0===e.constructSignatures.length&&!e.stringIndexInfo&&!e.numberIndexInfo}function wp(t){return 524288&t.flags?!zs(t)&&Dp(Us(t)):!!(67108864&t.flags)||(1048576&t.flags?e.some(t.types,wp):!!(2097152&t.flags)&&e.every(t.types,wp))}function Tp(t){return!!(16&e.getObjectFlags(t)&&(t.members&&Dp(t)||t.symbol&&2048&t.symbol.flags&&0===ss(t.symbol).size))}function Cp(t){return 524288&t.flags&&!zs(t)&&0===Hs(t).length&&bc(t,0)&&!bc(t,1)||3145728&t.flags&&e.every(t.types,Cp)||!1}function Ap(t,r,n){if(t===r)return!0;var i=R(t)+","+R(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=_o(r),s=0,c=Hs(_o(t));s<c.length;s++){var l=c[s];if(8&l.flags){var u=gc(o,l.escapedName);if(!(u&&8&u.flags))return n?(n(e.Diagnostics.Property_0_is_missing_in_type_1,e.symbolName(l),da(Jo(r),void 0,64)),cn.set(i,6)):cn.set(i,2),!1}}return cn.set(i,1),!0}function Np(e,t,r,n){var i=e.flags,a=t.flags;if(3&a||131072&i||e===De)return!0;if(131072&a)return!1;if(402653316&i&&4&a)return!0;if(128&i&&1024&i&&128&a&&!(1024&a)&&e.value===t.value)return!0;if(296&i&&8&a)return!0;if(256&i&&1024&i&&256&a&&!(1024&a)&&e.value===t.value)return!0;if(2112&i&&64&a)return!0;if(528&i&&16&a)return!0;if(12288&i&&4096&a)return!0;if(32&i&&32&a&&Ap(e.symbol,t.symbol,n))return!0;if(1024&i&&1024&a){if(1048576&i&&1048576&a&&Ap(e.symbol,t.symbol,n))return!0;if(2944&i&&2944&a&&e.value===t.value&&Ap(Ni(e.symbol),Ni(t.symbol),n))return!0}if(32768&i&&(!W||49152&a))return!0;if(65536&i&&(!W||65536&a))return!0;if(524288&i&&67108864&a)return!0;if(r===an||r===on){if(1&i)return!0;if(264&i&&!(1024&i)&&(32&a||256&a&&1024&a))return!0}return!1}function Pp(e,t,r){if(_d(e)&&(e=e.regularType),_d(t)&&(t=t.regularType),e===t)return!0;if(r!==sn){if(r===on&&!(131072&t.flags)&&Np(t,e,r)||Np(e,t,r))return!0}else if(!(3145728&e.flags||3145728&t.flags||e.flags===t.flags||469237760&e.flags))return!1;if(524288&e.flags&&524288&t.flags){var n=r.get(Kp(e,t,0,r));if(void 0!==n)return!!(1&n)}return!!(469499904&e.flags||469499904&t.flags)&&Op(e,t,r,void 0)}function Ip(t,r){return 4096&e.getObjectFlags(t)&&!U_(r.escapedName)}function Fp(t,r){for(;;){var n=_d(t)?t.regularType:4&e.getObjectFlags(t)&&t.node?ol(t.target,ll(t)):3145728&t.flags?uc(t):33554432&t.flags?r?t.baseType:t.substitute:25165824&t.flags?ju(t,r):t;if(n===t)break;t=n}return t}function Op(t,r,n,a,o,s,c){var u,p,f,m,g,_,h=0,y=0,v=0,b=!1,k=0,x=[],E=!1;e.Debug.assert(n!==sn||!a,"no error reporting in identity checking");var S=j(t,r,!!a,o);if(x.length&&O(),b){null===e.tracing||void 0===e.tracing||e.tracing.instant("checkTypes","checkTypeRelatedTo_DepthLimit",{sourceId:t.id,targetId:r.id,depth:y});var D=pn(a||d,e.Diagnostics.Excessive_stack_depth_comparing_types_0_and_1,da(t),da(r));c&&(c.errors||(c.errors=[])).push(D)}else if(u){if(s){var w=s();w&&(e.concatenateDiagnosticMessageChains(w,u),u=w)}var T=void 0;if(o&&a&&!S&&t.symbol){var C=Tn(t.symbol);if(C.originatingImport&&!e.isImportCall(C.originatingImport))if(Op(_o(C.target),r,n,void 0)){var A=e.createDiagnosticForNode(C.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);T=e.append(T,A)}}D=e.createDiagnosticForNodeFromMessageChain(a,u,T);p&&e.addRelatedInfo.apply(void 0,i([D],p)),c&&(c.errors||(c.errors=[])).push(D),c&&c.skipLogging||Qr.add(D)}return a&&c&&c.skipLogging&&0===S&&e.Debug.assert(!!c.errors,"missed opportunity to interact with error."),0!==S;function P(e){u=e.errorInfo,_=e.lastSkippedInfo,x=e.incompatibleStack,k=e.overrideNextErrorInfo,p=e.relatedInfo}function I(){return{errorInfo:u,lastSkippedInfo:_,incompatibleStack:x.slice(),overrideNextErrorInfo:k,relatedInfo:p?p.slice():void 0}}function F(e,t,r,n,i){k++,_=void 0,x.push([e,t,r,n,i])}function O(){var t=x;x=[];var r=_;if(_=void 0,1===t.length)return R.apply(void 0,t[0]),void(r&&M.apply(void 0,i([void 0],r)));for(var n="",a=[];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="("+n+")");var l=""+c[0];n=0===n.length?""+l:e.isIdentifierText(l,J.target)?n+"."+l:"["===l[0]&&"]"===l[l.length-1]?""+n+l:n+"["+l+"]";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 u=s;s.code===e.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?u=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&&(u=e.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible),a.unshift([u,c[0],c[1]])}else{n=""+(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 ":"")+n+"("+(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?"":"...")+")"}break;default:return e.Debug.fail("Unhandled Diagnostic: "+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):a.shift();for(var d=0,p=a;d<p.length;d++){var f=p[d],m=(s=f[0],c=f.slice(1),s.elidedInCompatabilityPyramid);s.elidedInCompatabilityPyramid=!1,R.apply(void 0,i([s],c)),s.elidedInCompatabilityPyramid=m}r&&M.apply(void 0,i([void 0],r))}function R(t,r,n,i,o){e.Debug.assert(!!a),x.length&&O(),t.elidedInCompatabilityPyramid||(u=e.chainDiagnosticMessages(u,t,r,n,i,o))}function M(t,r,i){x.length&&O();var a=pa(r,i),o=a[0],s=a[1],c=r,l=o;if(ff(r)&&!Rp(i)&&(c=mf(r),e.Debug.assert(!cp(c,i),"generalized source shouldn't be assignable"),l=fa(c)),262144&i.flags){var u=Qs(i),d=void 0;u&&(cp(c,u)||(d=cp(r,u)))?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,da(u)):R(e.Diagnostics._0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1,s,l)}t||(t=n===on?e.Diagnostics.Type_0_is_not_comparable_to_type_1:o===s?e.Diagnostics.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:e.Diagnostics.Type_0_is_not_assignable_to_type_1),R(t,l,s)}function L(t,r,n){return vf(t)?t.target.readonly&&af(r)?(n&&R(e.Diagnostics.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,da(t),da(r)),!1):vf(r)||rf(r):nf(t)&&af(r)?(n&&R(e.Diagnostics.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,da(t),da(r)),!1):!vf(r)||rf(t)}function j(t,r,i,o,s){if(void 0===i&&(i=!1),void 0===s&&(s=0),524288&t.flags&&131068&r.flags)return Np(t,r,n,i?R:void 0)?-1:(D(t,r,0,!!(4096&e.getObjectFlags(t))),0);var c=Fp(t,!1),l=Fp(r,!0);if(c===l)return-1;if(n===sn)return function(e,t){var r=e.flags&t.flags;if(!(469237760&r))return 0;if(B(e,t),3145728&r){var n=z(e,t);return n&&(n&=z(t,e)),n}return H(e,t,!1,0)}(c,l);if(262144&c.flags&&Ks(c)===l)return-1;if(1048576&l.flags&&524288&c.flags&&l.types.length<=3&&Rv(l,98304)){var d=gg(l,-98305);if(!(1179648&d.flags)){if(c===d)return-1;l=d}}if(n===on&&!(131072&l.flags)&&Np(l,c,n)||Np(c,l,n,i?R:void 0))return-1;var p=!!(4096&e.getObjectFlags(c)),f=!(2&s)&&km(c)&&32768&e.getObjectFlags(c);if(f&&function(t,r,i){if(!sh(r)||!X&&16384&e.getObjectFlags(r))return!1;var o=!!(4096&e.getObjectFlags(t));if((n===an||n===on)&&(sg(yt,r)||!o&&wp(r)))return!1;var s,c=r;1048576&r.flags&&(c=hS(t,r,j)||function(e){if(Rv(e,67108864)){var t=ug(e,(function(e){return!(131068&e.flags)}));if(!(131072&t.flags))return t}return e}(r),s=1048576&c.flags?c.types:[c]);for(var l=function(r){if(function(e,t){return e.valueDeclaration&&t.valueDeclaration&&e.valueDeclaration.parent===t.valueDeclaration}(r,t.symbol)&&!Ip(t,r)){if(!oh(c,r.escapedName,o)){if(i){var n=ug(c,sh);if(!a)return{value:e.Debug.fail()};if(e.isJsxAttributes(a)||e.isJsxOpeningLikeElement(a)||e.isJsxOpeningLikeElement(a.parent)){r.valueDeclaration&&e.isJsxAttribute(r.valueDeclaration)&&e.getSourceFileOfNode(a)===e.getSourceFileOfNode(r.valueDeclaration.name)&&(a=r.valueDeclaration.name);var l=la(r),u=Ih(l,n);(p=u?la(u):void 0)?R(e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,l,da(n),p):R(e.Diagnostics.Property_0_does_not_exist_on_type_1,l,da(n))}else{var d=t.symbol&&e.firstOrUndefined(t.symbol.declarations),p=void 0;if(r.valueDeclaration&&e.findAncestor(r.valueDeclaration,(function(e){return e===d}))&&e.getSourceFileOfNode(d)===e.getSourceFileOfNode(a)){var f=r.valueDeclaration;e.Debug.assertNode(f,e.isObjectLiteralElementLike),a=f;var m=f.name;e.isIdentifier(m)&&(p=Fh(m,n))}void 0!==p?R(e.Diagnostics.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,la(r),da(n),p):R(e.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,la(r),da(n))}}return{value:!0}}if(s&&!j(_o(r),function(t,r){var n=function(t,n){var i=3145728&(n=ac(n)).flags?lc(n,r):Js(n,r),a=i&&_o(i)||R_(r)&&kc(n,1)||kc(n,0)||Ne;return e.append(t,a)};return ou(e.reduceLeft(t,n,void 0)||e.emptyArray)}(s,r.escapedName),i))return i&&F(e.Diagnostics.Types_of_property_0_are_incompatible,la(r)),{value:!0}}},u=0,d=Hs(t);u<d.length;u++){var p=l(d[u]);if("object"==typeof p)return p.value}return!1}(c,l,i))return i&&M(o,c,r.aliasSymbol?r:l),0;var m=n!==on&&!(2&s)&&2752508&c.flags&&c!==yt&&2621440&l.flags&&jp(l)&&(Hs(c).length>0||nE(c));if(m&&!function(e,t,r){for(var n=0,i=Hs(e);n<i.length;n++){if(oh(t,i[n].escapedName,r))return!0}return!1}(c,l,p)){if(i){var g=da(t.aliasSymbol?t:c),h=da(r.aliasSymbol?r:l),y=hc(c,0),v=hc(c,1);y.length>0&&j(Bc(y[0]),l,!1)||v.length>0&&j(Bc(v[0]),l,!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}B(c,l);var b=0,x=I();if((3145728&c.flags||3145728&l.flags)&&(b=mg(c)*mg(l)>=4?H(c,l,i,8|s):K(c,l,i,8|s)),b||1048576&c.flags||!(469499904&c.flags||469499904&l.flags)||(b=H(c,l,i,s))&&P(x),!b&&2359296&c.flags){var S=function(t,r){for(var n,i=!1,a=0,o=t;a<o.length;a++)if(465829888&(u=o[a]).flags){for(var s=Ks(u);s&&21233664&s.flags;)s=Ks(s);s&&(n=e.append(n,s),r&&(n=e.append(n,u)))}else 469892092&u.flags&&(i=!0);if(n&&(r||i)){if(i)for(var c=0,l=t;c<l.length;c++){var u;469892092&(u=l[c]).flags&&(n=e.append(n,u))}return fu(n)}}(2097152&c.flags?c.types:[c],!!(1048576&l.flags));S&&(2097152&c.flags||1048576&l.flags)&&lg(S,(function(e){return e!==c}))&&(b=j(S,l,!1,void 0,s))&&P(x)}return b&&!E&&(2097152&l.flags&&(f||m)||od(l)&&!rf(l)&&!vf(l)&&2097152&c.flags&&3670016&ac(c).flags&&!e.some(c.types,(function(t){return!!(2097152&e.getObjectFlags(t))})))&&(E=!0,b&=H(c,l,i,4),E=!1),D(c,l,b,p),b;function D(n,s,c,l){if(!c&&i){n=t.aliasSymbol?t:n,s=r.aliasSymbol?r:s;var d=k>0;if(d&&k--,524288&n.flags&&524288&s.flags){var p=u;L(n,s,i),u!==p&&(d=!!u)}if(524288&n.flags&&131068&s.flags)!function(t,r){var n=ma(t.symbol)?da(t,t.symbol.valueDeclaration):da(t),i=ma(r.symbol)?da(r,r.symbol.valueDeclaration):da(r);(St===t&&Re===r||Dt===t&&Me===r||wt===t&&qe===r||Pl(!1)===t&&Je===r)&&R(e.Diagnostics._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible,i,n)}(n,s);else if(n.symbol&&524288&n.flags&&yt===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(l&&2097152&s.flags){var f=s.types,m=W_(N.IntrinsicAttributes,a),g=W_(N.IntrinsicClassAttributes,a);if(m!==we&&g!==we&&(e.contains(f,m)||e.contains(f,g)))return c}else u=mc(u,r);if(!o&&d)return _=[n,s],c;M(o,n,s)}}}function B(t,r){if(e.tracing&&3145728&t.flags&&3145728&r.flags){var n=t,i=r;if(n.objectFlags&i.objectFlags&262144)return;var o=n.types.length,s=i.types.length;o*s>1e6&&e.tracing.instant("checkTypes","traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:t.id,sourceSize:o,targetId:r.id,targetSize:s,pos:null==a?void 0:a.pos,end:null==a?void 0:a.end})}}function z(e,t){for(var r=-1,n=0,i=e.types;n<i.length;n++){var a=U(i[n],t,!1);if(!a)return 0;r&=a}return r}function U(e,t,r){var n=t.types;if(1048576&t.flags&&eu(n,e))return-1;for(var i=0,a=n;i<a.length;i++){var o=j(e,a[i],!1);if(o)return o}r&&j(e,Mp(e,t,j)||n[n.length-1],!0);return 0}function q(e,t,r,n){var i=e.types;if(1048576&e.flags&&eu(i,t))return-1;for(var a=i.length,o=0;o<a;o++){var s=j(i[o],t,r&&o===a-1,void 0,n);if(s)return s}return 0}function V(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?gg(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 l=j(c,o.types[s%o.types.length],!1,void 0,n);if(l){i&=l;continue}}var u=j(c,t,r,void 0,n);if(!u)return 0;i&=u}return i}function H(t,r,i,a){if(b)return 0;var o=Kp(t,r,a|(E?16:0),n),s=n.get(o);if(void 0!==s&&(!(i&&2&s)||4&s)){if(or){var c=24&s;8&c&&Wd(t,Nd(G)),16&c&&Wd(t,Nd($))}return 1&s?-1:0}if(f){for(var l=0;l<h;l++)if(o===f[l])return 3;if(100===y)return b=!0,0}else f=[],m=[],g=[];var u=h;f[h]=o,h++,m[y]=t,g[y]=r,y++;var d,p=v;1&v||!Yp(t,m,y)||(v|=1),2&v||!Yp(r,g,y)||(v|=2);var _=0;or&&(d=or,or=function(e){return _|=e?16:8,d(e)}),3===v&&(null===e.tracing||void 0===e.tracing||e.tracing.instant("checkTypes","recursiveTypeRelatedTo_DepthLimit",{sourceId:t.id,sourceIdStack:m.map((function(e){return e.id})),targetId:r.id,targetIdStack:g.map((function(e){return e.id})),depth:y}));var k=3!==v?K(t,r,i,a):3;if(or&&(or=d),v=p,y--,k){if(-1===k||0===y){if(-1===k||3===k)for(l=u;l<h;l++)n.set(f[l],1|_);h=u}}else n.set(o,2|(i?4:0)|_),h=u;return k}function K(t,r,i,a){null===e.tracing||void 0===e.tracing||e.tracing.push("checkTypes","structuredTypeRelatedTo",{sourceId:t.id,targetId:r.id});var o=function(t,r,i,a){if(4&a)return ee(t,r,i,void 0,0);if(8&a)return 1048576&t.flags?n===on?q(t,r,i&&!(131068&t.flags),-9&a):V(t,r,i&&!(131068&t.flags),-9&a):1048576&r.flags?U(Bf(t),r,i&&!(131068&t.flags)&&!(131068&r.flags)):2097152&r.flags?function(e,t,r,n){for(var i=-1,a=0,o=t.types;a<o.length;a++){var s=j(e,o[a],r,void 0,n);if(!s)return 0;i&=s}return i}(Bf(t),r,i,2):q(t,r,!1,1);var o,s,c=t.flags&r.flags;if(n===sn&&!(524288&c)){if(4194304&c)return j(t.type,r.type,!1);var l=0;return 8388608&c&&(l=j(t.objectType,r.objectType,!1))&&(l&=j(t.indexType,r.indexType,!1))||16777216&c&&t.root.isDistributive===r.root.isDistributive&&(l=j(t.checkType,r.checkType,!1))&&(l&=j(t.extendsType,r.extendsType,!1))&&(l&=j(Xu(t),Xu(r),!1))&&(l&=j(Qu(t),Qu(r),!1))?l:33554432&c?j(t.substitute,r.substitute,!1):0}var d=!1,p=I();if(17301504&t.flags&&t.aliasSymbol&&t.aliasTypeArguments&&t.aliasSymbol===r.aliasSymbol&&!t.aliasTypeArgumentsContainsMarker&&!r.aliasTypeArgumentsContainsMarker){if((J=zp(t.aliasSymbol))===e.emptyArray)return 1;if(void 0!==(H=re(t.aliasTypeArguments,r.aliasTypeArguments,J,a)))return H}if(kf(t)&&!t.target.readonly&&(o=j(ll(t)[0],r))||kf(r)&&(r.target.readonly||af(Qs(t)||t))&&(o=j(t,ll(r)[0])))return o;if(262144&r.flags){if(32&e.getObjectFlags(t)&&!t.declaration.nameType&&j(Eu(r),Ps(t))&&!(4&Ls(t))){var f=Fs(t),m=qu(r,Ns(t));if(o=j(f,m,i))return o}}else if(4194304&r.flags){var g=r.type;if(4194304&t.flags&&(o=j(g,t.type,!1)))return o;if(vf(g)){if(o=j(t,Yl(g),i))return o}else if((N=Gs(g))&&-1===j(t,Eu(N,r.stringsOnly),i))return-1}else if(8388608&r.flags){if(n===an||n===on){var _=r.objectType,h=r.indexType,y=Qs(_)||_,v=Qs(h)||h;if(!Ru(y)&&!Mu(v)){var b=2|(y!==_?1:0);if((N=Vu(y,v,r.noUncheckedIndexedAccessCandidate,void 0,b))&&(o=j(t,N,i)))return o}}}else if(zs(r)&&!r.declaration.nameType){var k=Fs(r),x=Ls(r);if(!(8&x)){if(8388608&k.flags&&k.objectType===t&&k.indexType===Ns(r))return-1;if(!zs(t)){var E=Ps(r),S=Eu(t,void 0,!0),D=4&x,w=D?bs(E,S):void 0;if(D?!(131072&w.flags):j(E,S)){f=Fs(r);var T=Ns(r),C=gg(f,-98305);if(8388608&C.flags&&C.indexType===T){if(o=j(t,C.objectType,i))return o}else{m=qu(t,w?fu([w,T]):T);if(o=j(m,f,i))return o}}s=u,P(p)}}}else if(134217728&r.flags&&128&t.flags&&Ou(r)){var A=hm(t,r);if(A&&e.every(A,(function(e,t){return _m(e,r.types[t])})))return-1}if(8650752&t.flags){if(8388608&t.flags&&8388608&r.flags){if((o=j(t.objectType,r.objectType,i))&&(o&=j(t.indexType,r.indexType,i)),o)return P(p),o}else if(!(N=Ks(t))||262144&t.flags&&1&N.flags){if(o=j(nt,gg(r,-67108865)))return P(p),o}else{if(o=j(N,r,!1,void 0,a))return P(p),o;if(o=j(ls(N,t),r,i,void 0,a))return P(p),o}}else if(4194304&t.flags){if(o=j(Qe,r,i))return P(p),o}else if(134217728&t.flags){if(134217728&r.flags&&t.texts.length===r.texts.length&&t.types.length===r.types.length&&e.every(t.texts,(function(e,t){return e===r.texts[t]}))&&e.every(Wd(t,Nd($)).types,(function(e,t){return!!(5&r.types[t].flags)||!!j(e,r.types[t],!1)})))return-1;if((N=Qs(t))&&N!==t&&(o=j(N,r,i)))return P(p),o}else if(268435456&t.flags){var N;if(268435456&r.flags&&t.symbol===r.symbol){if(o=j(t.type,r.type,i))return P(p),o}else if((N=Qs(t))&&(o=j(N,r,i)))return P(p),o}else if(16777216&t.flags){if(16777216&r.flags){var F=t.root.inferTypeParameters,O=t.extendsType,R=void 0;if(F){var M=Qf(F,void 0,0,j);ym(M.inferences,r.extendsType,O,768),O=Wd(O,M.mapper),R=M.mapper}if(np(O,r.extendsType)&&(j(t.checkType,r.checkType)||j(r.checkType,t.checkType))&&((o=j(Wd(Xu(t),R),Xu(r),i))&&(o&=j(Qu(t),Qu(r),i)),o))return P(p),o}else{var L=Ys(t);if(L&&(o=j(L,r,i)))return P(p),o}var B=$s(t);if(B&&(o=j(B,r,i)))return P(p),o}else{if(n!==rn&&n!==nn&&(Z=r,32&e.getObjectFlags(Z)&&4&Ls(Z))&&wp(t))return-1;if(zs(r))return zs(t)&&(o=function(e,t,r){var i=n===on||(n===sn?Ls(e)===Ls(t):Bs(e)<=Bs(t));if(i){var a;if(a=j(Ps(t),Wd(Ps(e),Nd(Bs(e)<0?G:$)),r)){var o=Td([Ns(e)],[Ns(t)]);if(Wd(Is(e),o)===Wd(Is(t),o))return a&j(Wd(Fs(e),o),Fs(t),r)}}return 0}(t,r,i))?(P(p),o):0;var z=!!(131068&t.flags);if(n!==sn)t=ac(t);else if(zs(t))return 0;if(4&e.getObjectFlags(t)&&4&e.getObjectFlags(r)&&t.target===r.target&&!(8192&e.getObjectFlags(t)||8192&e.getObjectFlags(r))){var J,H;if((J=qp(t.target))===e.emptyArray)return 1;if(void 0!==(H=re(ll(t),ll(r),J,a)))return H}else{if(nf(r)?rf(t)||vf(t):rf(r)&&vf(t)&&!t.target.readonly)return n!==sn?j(kc(t,1)||Ee,kc(r,1)||Ee,i):0;if((n===rn||n===nn)&&wp(r)&&32768&e.getObjectFlags(r)&&!wp(t))return 0}if(2621440&t.flags&&524288&r.flags){var K=i&&u===p.errorInfo&&!z;if((o=ee(t,r,K,void 0,a))&&(o&=te(t,r,0,K))&&(o&=te(t,r,1,K))&&(o&=oe(t,r,0,z,K,a))&&(o&=oe(t,r,1,z,K,a)),d&&o)u=s||u||p.errorInfo;else if(o)return o}if(2621440&t.flags&&1048576&r.flags){var Y=gg(r,36175872);if(1048576&Y.flags){var X=function(t,r){var i=Hs(t),a=jm(i,r);if(!a)return 0;for(var o=1,s=0,c=a;s<c.length;s++){if((o*=dg(_o(p=c[s])))>25)return null===e.tracing||void 0===e.tracing||e.tracing.instant("checkTypes","typeRelatedToDiscriminatedType_DepthLimit",{sourceId:t.id,targetId:r.id,numCombinations:o}),0}for(var l=new Array(a.length),u=new e.Set,d=0;d<a.length;d++){var p,f=_o(p=a[d]);l[d]=1048576&f.flags?f.types:[f],u.add(p.escapedName)}for(var m=e.cartesianProduct(l),g=[],_=function(i){var o=!1;e:for(var s=0,c=r.types;s<c.length;s++){for(var l=c[s],u=function(e){var o=a[e],s=gc(l,o.escapedName);return s?o===s?"continue":Q(t,r,o,s,(function(t){return i[e]}),!1,0,W||n===on)?void 0:"continue-outer":"continue-outer"},d=0;d<a.length;d++){if("continue-outer"===u(d))continue e}e.pushIfUnique(g,l,e.equateValues),o=!0}if(!o)return{value:0}},h=0,y=m;h<y.length;h++){var v=_(y[h]);if("object"==typeof v)return v.value}for(var b=-1,k=0,x=g;k<x.length;k++){var E=x[k];if((b&=ee(t,E,!1,u,0))&&(b&=te(t,E,0,!1))&&(b&=te(t,E,1,!1))&&(!(b&=oe(t,E,0,!1,!1,0))||vf(t)&&vf(E)||(b&=oe(t,E,1,!1,!1,0))),!b)return b}return b}(t,Y);if(X)return X}}}var Z;return 0;function re(t,r,a,c){if(o=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,l=0;l<s;l++){var u=l<i.length?i[l]:1,d=7&u;if(4!==d){var p=t[l],f=r[l],m=-1;if(8&u?m=n===sn?j(p,f,!1):ip(p,f):1===d?m=j(p,f,a,void 0,o):2===d?m=j(f,p,a,void 0,o):3===d?(m=j(f,p,!1))||(m=j(p,f,a,void 0,o)):(m=j(p,f,a,void 0,o))&&(m&=j(f,p,a,void 0,o)),!m)return 0;c&=m}}return c}(t,r,a,i,c))return o;if(e.some(a,(function(e){return!!(24&e)})))return s=void 0,void P(p);var l=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(d=!l,a!==e.emptyArray&&!l){if(d&&(!i||!e.some(a,(function(e){return!(7&e)}))))return 0;s=u,P(p)}}}(t,r,i,a);return null===e.tracing||void 0===e.tracing||e.tracing.pop(),o}function G(e){return!or||e!==pt&&e!==ft&&e!==sr||or(!1),e}function $(e){return!or||e!==pt&&e!==ft&&e!==sr||or(!0),e}function Y(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 Q(t,r,n,i,a,o,s,c){var l=e.getDeclarationModifierFlagsFromSymbol(n),u=e.getDeclarationModifierFlagsFromSymbol(i);if(8&l||8&u){if(n.valueDeclaration!==i.valueDeclaration)return o&&(8&l&&8&u?R(e.Diagnostics.Types_have_separate_declarations_of_a_private_property_0,la(i)):R(e.Diagnostics.Property_0_is_private_in_type_1_but_not_in_type_2,la(i),da(8&l?t:r),da(8&l?r:t))),0}else if(16&u){if(!function(t,r){return!Wp(r,(function(r){return!!(16&e.getDeclarationModifierFlagsFromSymbol(r))&&(n=t,i=Gp(r),!Wp(n,(function(e){var t=Gp(e);return!!t&&vo(t,i)})));var n,i}))}(n,i))return o&&R(e.Diagnostics.Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2,la(i),da(Gp(n)||t),da(Gp(i)||r)),0}else if(16&l)return o&&R(e.Diagnostics.Property_0_is_protected_in_type_1_but_public_in_type_2,la(i),da(t),da(r)),0;var d=function(t,r,n,i,a){var o=W&&!!(48&e.getCheckFlags(r)),s=n(t);if(65536&e.getCheckFlags(r)&&!Tn(r).type){var c=Tn(r);e.Debug.assertIsDefined(c.deferralParent),e.Debug.assertIsDefined(c.deferralConstituents);for(var l=!!(1048576&c.deferralParent.flags),u=l?0:-1,d=0,p=c.deferralConstituents;d<p.length;d++){var f=j(s,p[d],!1,void 0,l?0:2);if(l){if(f)return f}else{if(!f)return j(s,za(_o(r),o),i);u&=f}}return l&&!u&&o&&(u=j(s,Ne)),l&&!u&&i?j(s,za(_o(r),o),i):u}return j(s,za(_o(r),o),i,void 0,a)}(n,i,a,o,s);return d?c||!(16777216&n.flags)||16777216&i.flags?d:(o&&R(e.Diagnostics.Property_0_is_optional_in_type_1_but_required_in_type_2,la(i),da(t),da(r)),0):(o&&F(e.Diagnostics.Types_of_property_0_are_incompatible,la(i)),0)}function Z(t,r,n,a){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,d=e.getSymbolNameForPrivateIdentifier(t.symbol,c);if(d&&gc(t,d)){var f=e.factory.getDeclarationName(t.symbol.valueDeclaration),m=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,Ln(c),Ln(""===f.escapedText?l:f),Ln(""===m.escapedText?l:m))}}var g,_=e.arrayFrom(dm(t,r,a,!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===_.length){var h=la(n);R.apply(void 0,i([e.Diagnostics.Property_0_is_missing_in_type_1_but_required_in_type_2,h],pa(t,r))),e.length(n.declarations)&&(g=e.createDiagnosticForNode(n.declarations[0],e.Diagnostics._0_is_declared_here,h),e.Debug.assert(!!u),p?p.push(g):p=[g]),s&&u&&k++}else L(t,r,!1)&&(_.length>5?R(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,da(t),da(r),e.map(_.slice(0,4),(function(e){return la(e)})).join(", "),_.length-4):R(e.Diagnostics.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,da(t),da(r),e.map(_,(function(e){return la(e)})).join(", ")),s&&u&&k++)}function ee(t,r,i,a,o){if(n===sn)return function(e,t,r){if(!(524288&e.flags&&524288&t.flags))return 0;var n=Y(qs(e),r),i=Y(qs(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],l=Js(t,c.escapedName);if(!l)return 0;var u=Zp(c,l,j);if(!u)return 0;a&=u}return a}(t,r,a);var s=-1;if(vf(r)){if(rf(t)||vf(t)){if(!r.target.readonly&&(nf(t)||vf(t)&&t.target.readonly))return 0;var c=ul(t),l=ul(r),u=vf(t)?4&t.target.combinedFlags:4,d=4&r.target.combinedFlags,p=vf(t)?t.target.minLength:0,f=r.target.minLength;if(!u&&c<f)return i&&R(e.Diagnostics.Source_has_0_element_s_but_target_requires_1,c,f),0;if(!d&&l<p)return i&&R(e.Diagnostics.Source_has_0_element_s_but_target_allows_only_1,p,l),0;if(!d&&u)return i&&(p<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,l)),0;for(var m=ll(t),g=ll(r),_=Math.min(vf(t)?Xl(t.target,11):0,Xl(r.target,11)),h=Math.min(vf(t)?Ql(t.target,11):0,d?Ql(r.target,11):0),y=!!a,v=0;v<l;v++){var b=v<l-h?v:v+c-l,k=vf(t)&&(v<_||v>=l-h)?t.target.elementFlags[b]:4,x=r.target.elementFlags[v];if(8&x&&!(8&k))return i&&R(e.Diagnostics.Source_provides_no_match_for_variadic_element_at_position_0_in_target,v),0;if(8&k&&!(12&x))return i&&R(e.Diagnostics.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,b,v),0;if(1&x&&!(1&k))return i&&R(e.Diagnostics.Source_provides_no_match_for_required_element_at_position_0_in_target,v),0;if(!(y&&((12&k||12&x)&&(y=!1),y&&(null==a?void 0:a.has(""+v))))){var E=vf(t)?v<_||v>=l-h?m[b]:Ef(t,_,h)||He:m[0],S=g[v];if(!(B=j(E,8&k&&4&x?jl(S):S,i,void 0,o)))return i&&(v<_||v>=l-h||c-_-h==1?F(e.Diagnostics.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,b,v):F(e.Diagnostics.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,_,c-h-1,v)),0;s&=B}}return s}if(12&r.target.combinedFlags)return 0}var D=!(n!==rn&&n!==nn||km(t)||cf(t)||vf(t)),w=pm(t,r,D,!1);if(w)return i&&Z(t,r,w,D),0;if(km(r))for(var T=0,C=Y(Hs(t),a);T<C.length;T++){if(!Js(r,(O=C[T]).escapedName))if((E=_o(O))!==Ne&&E!==Pe&&E!==Ie)return i&&R(e.Diagnostics.Property_0_does_not_exist_on_type_1,la(O),da(r)),0}for(var A=Hs(r),N=vf(t)&&vf(r),P=0,I=Y(A,a);P<I.length;P++){var O,M=I[P],L=M.escapedName;if(!(4194304&M.flags)&&(!N||R_(L)||"length"===L))if((O=gc(t,L))&&O!==M){var B;if(!(B=Q(t,r,O,M,_o,i,o,n===on)))return 0;s&=B}}return s}function te(t,r,i,a){var o,s;if(n===sn)return function(e,t,r){var n=hc(e,r),i=hc(t,r);if(n.length!==i.length)return 0;for(var a=-1,o=0;o<n.length;o++){var s=ef(n[o],i[o],!1,!1,!1,j);if(!s)return 0;a&=s}return a}(t,r,i);if(r===ct||t===ct)return-1;var c=t.symbol&&Fy(t.symbol.valueDeclaration),l=r.symbol&&Fy(r.symbol.valueDeclaration),u=hc(t,c&&1===i?0:i),d=hc(r,l&&1===i?0:i);if(1===i&&u.length&&d.length){var p=!!(4&u[0].flags),f=!!(4&d[0].flags);if(p&&!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);if(8===a)return!0;if(16===a&&8!==i)return!0;if(16!==a&&!i)return!0;n&&R(e.Diagnostics.Cannot_assign_a_0_constructor_type_to_a_1_constructor_type,ya(i),ya(a));return!1}(u[0],d[0],a))return 0}var m=-1,g=I(),_=1===i?ne:re,h=e.getObjectFlags(t),y=e.getObjectFlags(r);if(64&h&&64&y&&t.symbol===r.symbol)for(var v=0;v<d.length;v++){if(!(N=ie(u[v],d[v],!0,a,_(u[v],d[v]))))return 0;m&=N}else if(1===u.length&&1===d.length){var b=n===on||!!J.noStrictGenericChecks,k=e.first(u),x=e.first(d);if(!(m=ie(k,x,b,a,_(k,x)))&&a&&1===i&&h&y&&(167===(null===(o=x.declaration)||void 0===o?void 0:o.kind)||167===(null===(s=k.declaration)||void 0===s?void 0:s.kind))){var E=function(e){return ua(e,void 0,262144,i)};return R(e.Diagnostics.Type_0_is_not_assignable_to_type_1,E(k),E(x)),R(e.Diagnostics.Types_of_construct_signatures_are_incompatible),m}}else e:for(var S=0,D=d;S<D.length;S++){for(var w=D[S],T=a,C=0,A=u;C<A.length;C++){var N,F=A[C];if(N=ie(F,w,!0,T,_(F,w))){m&=N,P(g);continue e}T=!1}return T&&R(e.Diagnostics.Type_0_provides_no_match_for_the_signature_1,da(t),ua(w,void 0,void 0,i)),0}return m}function re(t,r){return 0===t.parameters.length&&0===r.parameters.length?function(t,r){return F(e.Diagnostics.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,da(t),da(r))}:function(t,r){return F(e.Diagnostics.Call_signature_return_types_0_and_1_are_incompatible,da(t),da(r))}}function ne(t,r){return 0===t.parameters.length&&0===r.parameters.length?function(t,r){return F(e.Diagnostics.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,da(t),da(r))}:function(t,r){return F(e.Diagnostics.Construct_signature_return_types_0_and_1_are_incompatible,da(t),da(r))}}function ie(e,t,r,i,a){return Ep(r?Kc(e):e,r?Kc(t):t,n===nn?8:0,i,R,a,j,Nd($))}function ae(t,r,n){var i=j(t,r,n);return!i&&n&&R(e.Diagnostics.Index_signatures_are_incompatible),i}function oe(t,r,i,a,o,s){if(n===sn)return function(e,t,r){var n=bc(t,r),i=bc(e,r);if(!i&&!n)return-1;if(i&&n&&i.isReadonly===n.isReadonly)return j(i.type,n.type);return 0}(t,r,i);var c=kc(r,i);if(!c||1&c.flags&&!a)return-1;if(zs(t))return kc(r,0)?j(Fs(t),c,o):0;var l=kc(t,i)||1===i&&kc(t,0);if(l)return ae(l,c,o);if(!(1&s)&&Lf(t)){var u=function(t,r,n,i){for(var a=-1,o=0,s=2097152&t.flags?Vs(t):qs(t);o<s.length;o++){var c=s[o];if(!Ip(t,c)){var l=Tn(c).nameType;if(!(l&&8192&l.flags)&&(0===n||R_(c.escapedName))){var u=_o(c),d=j(32768&u.flags||!(0===n&&16777216&c.flags)?u:Hm(u,524288),r,i);if(!d)return i&&R(e.Diagnostics.Property_0_is_incompatible_with_index_signature,la(c)),0;a&=d}}}return a}(t,c,i,o);if(u&&0===i){var d=kc(t,1);d&&(u&=ae(d,c,o))}return u}return o&&R(e.Diagnostics.Index_signature_is_missing_in_type_0,da(t)),0}}function Rp(t){if(16&t.flags)return!1;if(3145728&t.flags)return!!e.forEach(t.types,Rp);if(465829888&t.flags){var r=Ks(t);if(r&&r!==t)return Rp(r)}return pf(t)||!!(134217728&t.flags)}function Mp(t,r,n){return void 0===n&&(n=ap),hS(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,sf))return e.find(r.types,(function(e){return!sf(e)}))}(t,r)||function(t,r){var n=0,i=hc(t,n).length>0||hc(t,n=1).length>0;if(i)return e.find(r.types,(function(e){return hc(e,n).length>0}))}(t,r)||function(t,r){for(var n,i=0,a=0,o=r.types;a<o.length;a++){var s=o[a],c=fu([Eu(t),Eu(s)]);if(4194304&c.flags)n=s,i=1/0;else if(1048576&c.flags){var l=e.length(e.filter(c.types,pf));l>=i&&(n=s,i=l)}else pf(c)&&1>=i&&(n=s,i=1)}return n}(t,r)}function Lp(t,r,n,i,a){for(var o=t.types.map((function(e){})),s=0,c=r;s<c.length;s++){var l=c[s],u=l[0],d=l[1],p=cc(t,d);if(!(a&&p&&16&e.getCheckFlags(p)))for(var f=0,m=0,g=t.types;m<g.length;m++){var _=Na(g[m],d);_&&n(u(),_)?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(!np(t.types[h],t.types[y]))return i;y=o.indexOf(!0,y+1)}return t.types[h]}function jp(t){if(524288&t.flags){var r=Us(t);return 0===r.callSignatures.length&&0===r.constructSignatures.length&&!r.stringIndexInfo&&!r.numberIndexInfo&&r.properties.length>0&&e.every(r.properties,(function(e){return!!(16777216&e.flags)}))}return!!(2097152&t.flags)&&e.every(t.types,jp)}function Bp(t,r,n){var i=ol(t,e.map(t.typeParameters,(function(e){return e===r?n:e})));return i.objectFlags|=8192,i}function zp(e){var t=Tn(e);return Up(t.typeParameters,t,(function(r,n,i){var a=pl(e,Dd(t.typeParameters,Ad(n,i)));return a.aliasTypeArgumentsContainsMarker=!0,a}))}function Up(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=or;or=function(e){return e?i=!0:t=!0};var o=n(r,e,pt),c=n(r,e,ft),l=(cp(c,o)?1:0)|(cp(o,c)?2:0);3===l&&cp(n(r,e,sr),o)&&(l=4),or=a,(t||i)&&(t&&(l|=8),i&&(l|=16)),s.push(l)},l=0,u=t;l<u.length;l++){c(u[l])}r.variances=s,null===e.tracing||void 0===e.tracing||e.tracing.pop()}return s}function qp(e){return e===xt||e===Et||8&e.objectFlags?C:Up(e.typeParameters,e,Bp)}function Jp(e){return 262144&e.flags&&!Ws(e)}function Vp(t){return function(t){return!!(4&e.getObjectFlags(t))&&!t.node}(t)&&e.some(ll(t),(function(e){return Jp(e)||Vp(e)}))}function Hp(e,t,r){void 0===r&&(r=0);for(var n=""+e.target.id,i=0,a=ll(e);i<a.length;i++){var o=a[i];if(Jp(o)){var s=t.indexOf(o);s<0&&(s=t.length,t.push(o)),n+="="+s}else r<4&&Vp(o)?n+="<"+Hp(o,t,r+1)+">":n+="-"+o.id}return n}function Kp(e,t,r,n){if(n===sn&&e.id>t.id){var i=e;e=t,t=i}var a=r?":"+r:"";if(Vp(e)&&Vp(t)){var o=[];return Hp(e,o)+","+Hp(t,o)+a}return e.id+","+t.id+a}function Wp(t,r){if(!(6&e.getCheckFlags(t)))return r(t);for(var n=0,i=t.containingType.types;n<i.length;n++){var a=gc(i[n],t.escapedName),o=a&&Wp(a,r);if(o)return o}}function Gp(e){return e.parent&&32&e.parent.flags?Jo(Ni(e)):void 0}function $p(e){var t=Gp(e),r=t&&Po(t)[0];return r&&Na(r,e.escapedName)}function Yp(e,t,r){if(r>=5){var n=Xp(e);if(n)for(var i=0,a=0;a<r;a++)if(Xp(t[a])===n&&++i>=5)return!0}return!1}function Xp(t){if(524288&t.flags&&!xm(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(vf(t))return t.target}if(8388608&t.flags){do{t=t.objectType}while(8388608&t.flags);return t}if(16777216&t.flags)return t.root}function Qp(e,t){return 0!==Zp(e,t,ip)}function Zp(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(gx(t)!==gx(r))return 0}else if((16777216&t.flags)!=(16777216&r.flags))return 0;return Nv(t)!==Nv(r)?0:n(_o(t),_o(r))}function ef(t,r,n,i,a,o){if(t===r)return-1;if(!function(e,t,r){var n=ov(e),i=ov(t),a=sv(e),o=sv(t),s=cv(e),c=cv(t);return n===i&&a===o&&s===c||!!(r&&a<=o)}(t,r,n))return 0;if(e.length(t.typeParameters)!==e.length(r.typeParameters))return 0;if(r.typeParameters){for(var s=Td(t.typeParameters,r.typeParameters),c=0;c<r.typeParameters.length;c++){if(!((g=t.typeParameters[c])===(f=r.typeParameters[c])||o(Wd(tl(g),s)||Ae,tl(f)||Ae)&&o(Wd(nc(g),s)||Ae,nc(f)||Ae)))return 0}t=jd(t,s,!0)}var l=-1;if(!i){var u=Lc(t);if(u){var d=Lc(r);if(d){if(!(m=o(u,d)))return 0;l&=m}}}var p=ov(r);for(c=0;c<p;c++){var f,m,g=nv(t,c);if(!(m=o(f=nv(r,c),g)))return 0;l&=m}if(!a){var _=jc(t),h=jc(r);l&=_||h?function(e,t,r){return e&&t&&su(e,t)?e.type===t.type?-1:e.type&&t.type?r(e.type,t.type):0:0}(_,h,o):o(Bc(t),Bc(r))}return l}function tf(t){return function(e){for(var t,r=0,n=e;r<n.length;r++){var i=n[r],a=mf(i);if(t||(t=a),a===i||a!==t)return!1}return!0}(t)?ou(t):e.reduceLeft(t,(function(e,t){return sp(e,t)?t:e}))}function rf(t){return!!(4&e.getObjectFlags(t))&&(t.target===xt||t.target===Et)}function nf(t){return!!(4&e.getObjectFlags(t))&&t.target===Et}function af(e){return rf(e)&&!nf(e)||vf(e)&&!e.target.readonly}function of(e){return rf(e)?ll(e)[0]:void 0}function sf(e){return rf(e)||!(98304&e.flags)&&cp(e,Pt)}function cf(e){var t=rf(e)?ll(e)[0]:void 0;return t===Pe||t===Ge}function lf(e){return vf(e)||!!gc(e,"0")}function uf(e){return sf(e)||lf(e)}function df(e){return!(240512&e.flags)}function pf(e){return!!(109440&e.flags)}function ff(t){return!!(16&t.flags)||(1048576&t.flags?!!(1024&t.flags)||e.every(t.types,pf):pf(t))}function mf(e){return 1024&e.flags?Bo(e):128&e.flags?Re:256&e.flags?Me:2048&e.flags?Le:512&e.flags?qe:1048576&e.flags?pg(e,mf):e}function gf(e){return 1024&e.flags&&_d(e)?Bo(e):128&e.flags&&_d(e)?Re:256&e.flags&&_d(e)?Me:2048&e.flags&&_d(e)?Le:512&e.flags&&_d(e)?qe:1048576&e.flags?pg(e,gf):e}function _f(e){return 8192&e.flags?Je:1048576&e.flags?pg(e,_f):e}function hf(e,t){return Qv(e,t)||(e=_f(gf(e))),e}function yf(e,t,r,n){e&&pf(e)&&(e=hf(e,t?tx(r,t,n):void 0));return e}function vf(t){return!!(4&e.getObjectFlags(t)&&8&t.target.objectFlags)}function bf(e){return vf(e)&&!!(8&e.target.combinedFlags)}function kf(e){return bf(e)&&1===e.target.elementFlags.length}function xf(e){return Ef(e,e.target.fixedLength)}function Ef(e,t,r,n){void 0===r&&(r=0),void 0===n&&(n=!1);var i=ul(e)-r;if(t<i){for(var a=ll(e),o=[],s=t;s<i;s++){var c=a[s];o.push(8&e.target.elementFlags[s]?qu(c,Me):c)}return n?fu(o):ou(o)}}function Sf(e){return"0"===e.value.base10Value}function Df(e){for(var t=0,r=0,n=e;r<n.length;r++){t|=wf(n[r])}return t}function wf(e){return 1048576&e.flags?Df(e.types):128&e.flags?""===e.value?128:0:256&e.flags?0===e.value?256:0:2048&e.flags?Sf(e)?2048:0:512&e.flags?e===je||e===Be?512:0:117724&e.flags}function Tf(e){return 117632&wf(e)?ug(e,(function(e){return!(117632&wf(e))})):e}function Cf(e){return 4&e.flags?Ar:8&e.flags?Nr:64&e.flags?Pr:e===Be||e===je||114691&e.flags||128&e.flags&&""===e.value||256&e.flags&&0===e.value||2048&e.flags&&Sf(e)?e:He}function Af(e,t){var r=t&~e.flags&98304;return 0===r?e:ou(32768===r?[e,Ne]:65536===r?[e,Fe]:[e,Ne,Fe])}function Nf(t){return e.Debug.assert(W),32768&t.flags?t:ou([t,Ne])}function Pf(e){return W?function(e){return It||(It=Cl("NonNullable",524288,void 0)||ke),It!==ke?pl(It,[e]):Hm(e,2097152)}(e):e}function If(e){return W?ou([e,Ie]):e}function Ff(e){return e!==Ie}function Of(e){return W?ug(e,Ff):e}function Rf(t,r,n){return n?e.isOutermostOptionalChain(r)?Nf(t):If(t):t}function Mf(t,r){return e.isExpressionOfOptionalChainRoot(r)?Pf(t):e.isOptionalChain(r)?Of(t):t}function Lf(t){return 2097152&t.flags?e.every(t.types,Lf):!(!(t.symbol&&7040&t.symbol.flags)||nE(t))||!!(2048&e.getObjectFlags(t)&&Lf(t.source))}function jf(t,r){var n=yn(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=Tn(t).nameType;return i&&(n.nameType=i),n}function Bf(t){if(!(km(t)&&32768&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=qs(t);i<a.length;i++){var o=a[i],s=_o(o),c=r(s);n.set(o.escapedName,c===s?o:jf(o,c))}return n}(t,Bf),a=Wi(n.symbol,i,n.callSignatures,n.constructSignatures,n.stringIndexInfo,n.numberIndexInfo);return a.flags=n.flags,a.objectFlags|=-32769&n.objectFlags,t.regularType=a,a}function zf(e,t,r){return{parent:e,propertyName:t,siblings:r,resolvedProperties:void 0}}function Uf(e){if(!e.siblings){for(var t=[],r=0,n=Uf(e.parent);r<n.length;r++){var i=n[r];if(km(i)){var a=Js(i,e.propertyName);a&&cg(_o(a),(function(e){t.push(e)}))}}e.siblings=t}return e.siblings}function qf(t){if(!t.resolvedProperties){for(var r=new e.Map,n=0,i=Uf(t);n<i.length;n++){var a=i[n];if(km(a)&&!(1024&e.getObjectFlags(a)))for(var o=0,s=Hs(a);o<s.length;o++){var c=s[o];r.set(c.escapedName,c)}}t.resolvedProperties=e.arrayFrom(r.values())}return t.resolvedProperties}function Jf(e,t){if(!(4&e.flags))return e;var r=_o(e),n=Kf(r,t&&zf(t,e.escapedName,void 0));return n===r?e:jf(e,n)}function Vf(e){var t=be.get(e.escapedName);if(t)return t;var r=jf(e,Ne);return r.flags|=16777216,be.set(e.escapedName,r),r}function Hf(e){return Kf(e,void 0)}function Kf(t,r){if(1572864&e.getObjectFlags(t)){if(void 0===r&&t.widened)return t.widened;var n=void 0;if(98305&t.flags)n=Ee;else if(km(t))n=function(t,r){for(var n=e.createSymbolTable(),i=0,a=qs(t);i<a.length;i++){var o=a[i];n.set(o.escapedName,Jf(o,r))}if(r)for(var s=0,c=qf(r);s<c.length;s++)o=c[s],n.has(o.escapedName)||n.set(o.escapedName,Vf(o));var l=bc(t,0),u=bc(t,1),d=Wi(t.symbol,n,e.emptyArray,e.emptyArray,l&&Qc(Hf(l.type),l.isReadonly),u&&Qc(Hf(u.type),u.isReadonly));return d.objectFlags|=2113536&e.getObjectFlags(t),d}(t,r);else if(1048576&t.flags){var i=r||zf(void 0,void 0,t.types),a=e.sameMap(t.types,(function(e){return 98304&e.flags?e:Kf(e,i)}));n=ou(a,e.some(a,wp)?2:1)}else 2097152&t.flags?n=fu(e.sameMap(t.types,Hf)):(rf(t)||vf(t))&&(n=ol(t.target,e.sameMap(ll(t),Hf)));return n&&void 0===r&&(t.widened=n),n||t}return t}function Wf(t){var r=!1;if(524288&e.getObjectFlags(t)){if(1048576&t.flags)if(e.some(t.types,wp))r=!0;else for(var n=0,i=t.types;n<i.length;n++){Wf(u=i[n])&&(r=!0)}if(rf(t)||vf(t))for(var a=0,o=ll(t);a<o.length;a++){Wf(u=o[a])&&(r=!0)}if(km(t))for(var s=0,c=qs(t);s<c.length;s++){var l=c[s],u=_o(l);524288&e.getObjectFlags(u)&&(Wf(u)||pn(l.valueDeclaration,e.Diagnostics.Object_literal_s_property_0_implicitly_has_an_1_type,la(l),da(Hf(u))),r=!0)}}return r}function Gf(t,r,n){var i=da(Hf(r));if(!e.isInJSFile(t)||e.isCheckJsEnabledForFile(e.getSourceFileOfNode(t),J)){var a;switch(t.kind){case 218:case 164:case 163: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 161: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&&(Fn(o,o.name.escapedText,788968,void 0,o.name.escapedText,!0)||o.name.originalKeywordKind&&e.isTypeNodeKind(o.name.originalKeywordKind))){var s="arg"+o.parent.parameters.indexOf(o);return void mn(X,t,e.Diagnostics.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,s,e.declarationNameToString(o.name))}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 199:if(a=e.Diagnostics.Binding_element_0_implicitly_has_an_1_type,!X)return;break;case 311:return void pn(t,e.Diagnostics.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,i);case 253:case 166:case 165:case 168:case 169:case 209:case 210:if(X&&!t.name)return void pn(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 191:return void(X&&pn(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}mn(X,t,a,e.declarationNameToString(e.getNameOfDeclaration(t)),i)}}function $f(t,n,i){!(r&&X&&524288&e.getObjectFlags(n))||i&&C_(t)||Wf(n)||Gf(t,n,i)}function Yf(e,t,r){var n=ov(e),i=ov(t),a=lv(e),o=lv(t),s=o?i-1:i,c=a?s:Math.min(n,s),l=Lc(e);if(l){var u=Lc(t);u&&r(l,u)}for(var d=0;d<c;d++)r(nv(e,d),nv(t,d));o&&r(av(e,c),o)}function Xf(e,t,r){var n=jc(e),i=jc(t);n&&i&&su(n,i)&&n.type&&i.type?r(n.type,i.type):r(Bc(e),Bc(t))}function Qf(e,t,r,n){return Zf(e.map(rm),t,r,n||ap)}function Zf(e,t,r,n){var i={inferences:e,signature:t,flags:r,compareTypes:n,mapper:Nd((function(e){return em(i,e,!0)})),nonFixingMapper:Nd((function(e){return em(i,e,!1)}))};return i}function em(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&&(tm(n),a.isFixed=!0),Dm(e,i)}return t}function tm(e){for(var t=0,r=e;t<r.length;t++){var n=r[t];n.isFixed||(n.inferredType=void 0)}}function rm(e){return{typeParameter:e,candidates:void 0,contraCandidates:void 0,inferredType:void 0,priority:void 0,topLevel:!0,isFixed:!1,impliedArity:void 0}}function nm(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 im(e){return e&&e.mapper}function am(t){var r=e.getObjectFlags(t);if(67108864&r)return!!(134217728&r);var n=!!(465829888&t.flags||524288&t.flags&&!om(t)&&(4&r&&(t.node||e.forEach(ll(t),am))||16&r&&t.symbol&&14384&t.symbol.flags&&t.symbol.declarations||131104&r)||3145728&t.flags&&!(1024&t.flags)&&!om(t)&&e.some(t.types,am));return 3899393&t.flags&&(t.objectFlags|=67108864|(n?134217728:0)),n}function om(t){if(t.aliasSymbol&&!t.aliasTypeArguments){var r=e.getDeclarationOfKind(t.aliasSymbol,257);return!(!r||!e.findAncestor(r.parent,(function(e){return 300===e.kind||259!==e.kind&&"quit"})))}return!1}function sm(t,r){return!!(t===r||3145728&t.flags&&e.some(t.types,(function(e){return sm(e,r)}))||16777216&t.flags&&(Xu(t)===r||Qu(t)===r))}function cm(t,r,n){if(!xr){var i=t.id+","+r.id+","+n.id;if(kr.has(i))return kr.get(i);xr=!0;var a=function(t,r,n){if(!(bc(t,0)||0!==Hs(t).length&&lm(t)))return;if(rf(t))return jl(um(ll(t)[0],r,n),nf(t));if(vf(t)){return Hl(e.map(ll(t),(function(e){return um(e,r,n)})),4&Ls(r)?e.sameMap(t.target.elementFlags,(function(e){return 2&e?1:e})):t.target.elementFlags,t.target.readonly,t.target.labeledElementDeclarations)}var i=qi(2064,void 0);return i.source=t,i.mappedType=r,i.constraintType=n,i}(t,r,n);return xr=!1,kr.set(i,a),a}}function lm(t){return!(2097152&e.getObjectFlags(t))||km(t)&&e.some(Hs(t),(function(e){return lm(_o(e))}))||vf(t)&&e.some(ll(t),lm)}function um(e,t,r){var n=qu(r.type,Ns(t)),i=Fs(t),a=rm(n);return ym([a],e,i),fm(a)||Ae}function dm(t,r,n,i){var a,o,c,l,u,d,p;return s(this,(function(s){switch(s.label){case 0:a=Hs(r),o=0,c=a,s.label=1;case 1:return o<c.length?Xo(l=c[o])||!n&&(16777216&l.flags||48&e.getCheckFlags(l))?[3,5]:(u=gc(t,l.escapedName))?[3,3]:[4,l]:[3,6];case 2:return s.sent(),[3,5];case 3:return i&&109440&(d=_o(l)).flags?1&(p=_o(u)).flags||gd(p)===gd(d)?[3,5]:[4,l]:[3,5];case 4:s.sent(),s.label=5;case 5:return o++,[3,1];case 6:return[2]}}))}function pm(e,t,r,n){var i=dm(e,t,r,n).next();if(!i.done)return i.value}function fm(e){return e.candidates?ou(e.candidates,2):e.contraCandidates?fu(e.contraCandidates):void 0}function mm(e){return!!Cn(e).skipDirectInference}function gm(t){return!(!t.symbol||!e.some(t.symbol.declarations,mm))}function _m(t,r){if(1048576&r.flags)return!!cg(r,(function(e){return _m(t,e)}));switch(r){case Re:return!0;case Me:return""!==t.value&&isFinite(+t.value);case Le:return""!==t.value&&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)}(t.value);case ze:return"true"===t.value;case je:return"false"===t.value;case Ne:return"undefined"===t.value;case Fe:return"null"===t.value;default:return!!(1&r.flags)}}function hm(e,t){var r=e.value,n=t.texts,i=n.length-1,a=n[0],o=n[i];if(r.startsWith(a)&&r.slice(a.length).endsWith(o)){for(var s=[],c=r.slice(a.length,r.length-o.length),l=0,u=1;u<i;u++){var d=n[u],p=d.length>0?c.indexOf(d,l):l<c.length?l+1:-1;if(p<0)return;s.push(hd(c.slice(l,p))),l=p+d.length}return s.push(hd(c.slice(l))),s}}function ym(t,r,n,i,a){void 0===i&&(i=0),void 0===a&&(a=!1);var o,s,c,l,u=!1,d=1024,p=!0,f=0;function m(r,s){if(am(s)){if(r===De){var c=o;return o=r,m(s,s),void(o=c)}if(r.aliasSymbol&&r.aliasTypeArguments&&r.aliasSymbol===s.aliasSymbol)y(r.aliasTypeArguments,s.aliasTypeArguments,zp(r.aliasSymbol));else if(r===s&&3145728&r.flags)for(var l=0,f=r.types;l<f.length;l++){var v=f[l];m(v,v)}else{if(1048576&s.flags){var x=h(1048576&r.flags?r.types:[r],s.types,vm),D=h(x[0],x[1],bm),w=D[0];if(0===(C=D[1]).length)return;if(s=ou(C),0===w.length)return void g(r,s,1);r=ou(w)}else if(2097152&s.flags&&e.some(s.types,(function(e){return!!b(e)||zs(e)&&!!b(Ud(e)||He)}))){if(!(1048576&r.flags)){var T=h(2097152&r.flags?r.types:[r],s.types,np),C=(w=T[0],T[1]);if(0===w.length||0===C.length)return;r=fu(w),s=fu(C)}}else 41943040&s.flags&&(s=Wu(s));if(8650752&s.flags){if(2097152&e.getObjectFlags(r)||r===Te||r===Ke||64&i&&(r===Se||r===Nt)||gm(r))return;var A=b(s);if(A){if(!A.isFixed){if((void 0===A.priority||i<A.priority)&&(A.candidates=void 0,A.contraCandidates=void 0,A.topLevel=!0,A.priority=i),i===A.priority){var N=o||r;a&&!u?e.contains(A.contraCandidates,N)||(A.contraCandidates=e.append(A.contraCandidates,N),tm(t)):e.contains(A.candidates,N)||(A.candidates=e.append(A.candidates,N),tm(t))}!(64&i)&&262144&s.flags&&A.topLevel&&!sm(n,s)&&(A.topLevel=!1,tm(t))}return void(d=Math.min(d,i))}var P=ju(s,!1);if(P!==s)_(r,P,m);else if(8388608&s.flags){var I=ju(s.indexType,!1);if(465829888&I.flags){var F=Bu(ju(s.objectType,!1),I,!1);F&&F!==s&&_(r,F,m)}}}if(!(4&e.getObjectFlags(r)&&4&e.getObjectFlags(s)&&(r.target===s.target||rf(r)&&rf(s)))||r.node&&s.node)if(4194304&r.flags&&4194304&s.flags)a=!a,m(r.type,s.type),a=!a;else if((ff(r)||4&r.flags)&&4194304&s.flags){var O=function(t){var r=e.createSymbolTable();cg(t,(function(t){if(128&t.flags){var n=e.escapeLeadingUnderscores(t.value),i=yn(4,n);i.type=Ee,t.symbol&&(i.declarations=t.symbol.declarations,i.valueDeclaration=t.symbol.valueDeclaration),r.set(n,i)}}));var n=4&t.flags?Qc(nt,!1):void 0;return Wi(void 0,r,e.emptyArray,e.emptyArray,n,void 0)}(r);a=!a,g(O,s.type,128),a=!a}else if(8388608&r.flags&&8388608&s.flags)m(r.objectType,s.objectType),m(r.indexType,s.indexType);else if(268435456&r.flags&&268435456&s.flags)r.symbol===s.symbol&&m(r.type,s.type);else if(16777216&s.flags)_(r,s,E);else if(3145728&s.flags)k(r,s.types,s.flags);else if(1048576&r.flags)for(var R=0,M=r.types;R<M.length;R++){m(M[R],s)}else if(134217728&s.flags)!function(t,r){for(var n=128&t.flags?hm(t,r):134217728&t.flags&&e.arraysEqual(t.texts,r.texts)?t.types:void 0,i=r.types,a=0;a<i.length;a++)m(n?n[a]:He,i[a])}(r,s);else{if(r=uc(r),!(256&i&&467927040&r.flags)){var L=ac(r);if(L!==r&&p&&!(2621440&L.flags))return p=!1,m(L,s);r=L}2621440&r.flags&&_(r,s,S)}else y(ll(r),ll(s),qp(r.target))}}}function g(e,t,r){var n=i;i|=r,m(e,t),i=n}function _(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=d;d=1024;var u=f,p=Xp(t)||t,m=Xp(r)||r;p&&e.contains(c,p)&&(f|=1),m&&e.contains(l,m)&&(f|=2),3!==f?(p&&(c||(c=[])).push(p),m&&(l||(l=[])).push(m),n(t,r),m&&l.pop(),p&&c.pop()):d=-1,f=u,s.set(i,d),d=Math.min(d,o)}else d=Math.min(d,a)}function h(t,r,n){for(var i,a,o=0,s=r;o<s.length;o++)for(var c=s[o],l=0,u=t;l<u.length;l++){var d=u[l];n(d,c)&&(m(d,c),i=e.appendIfUnique(i,d),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]):m(e[i],t[i])}function v(e,t){G||512&i?(a=!a,m(e,t),a=!a):m(e,t)}function b(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 k(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),l=!1,u=0,p=r;u<p.length;u++){if(b(S=p[u]))o=S,a++;else for(var f=0;f<s.length;f++){var _=d;d=1024,m(s[f],S),d===i&&(c[f]=!0),l=l||-1===d,d=Math.min(d,_)}}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!!b(e)}));if(!o||r&&o!==r)return;r=o}return r}(r);return void(h&&g(t,h,1))}if(1===a&&!l){var y=e.flatMap(s,(function(e,t){return c[t]?void 0:e}));if(y.length)return void m(ou(y),o)}}else for(var v=0,k=r;v<k.length;v++){b(S=k[v])?a++:m(t,S)}if(2097152&n?1===a:a>0)for(var x=0,E=r;x<E.length;x++){var S;b(S=E[x])&&g(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=b(n.type);if(s&&!s.isFixed&&!gm(t)){var c=cm(t,r,n);c&&g(c,s.typeParameter,2097152&e.getObjectFlags(t)?8:4)}return!0}if(262144&n.flags){g(Eu(t),n,16);var l=Ks(n);if(l&&x(t,r,l))return!0;var u=e.map(Hs(t),_o),d=kc(t,0),p=xu(t),f=p&&p.type;return m(ou(e.append(e.append(u,d),f)),Fs(r)),!0}return!1}function E(e,t){if(16777216&e.flags)m(e.checkType,t.checkType),m(e.extendsType,t.extendsType),m(Xu(e),Xu(t)),m(Qu(e),Qu(t));else{var r=i;i|=a?32:0,k(e,[Xu(t),Qu(t)],t.flags),i=r}}function S(t,r){if(4&e.getObjectFlags(t)&&4&e.getObjectFlags(r)&&(t.target===r.target||rf(t)&&rf(r)))y(ll(t),ll(r),qp(t.target));else{if(zs(t)&&zs(r)){m(Ps(t),Ps(r)),m(Fs(t),Fs(r));var n=Is(t),i=Is(r);n&&i&&m(n,i)}var a,o;if(32&e.getObjectFlags(r)&&!r.declaration.nameType)if(x(t,r,Ps(r)))return;if(!function(e,t){return vf(e)&&vf(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):!!pm(e,t,!1,!0)&&!!pm(t,e,!1,!1)}(t,r)){if(rf(t)||vf(t)){if(vf(r)){var s=ul(t),c=ul(r),l=ll(r),u=r.target.elementFlags;if(vf(t)&&(o=r,ul(a=t)===ul(o)&&e.every(a.target.elementFlags,(function(e,t){return(12&e)==(12&o.target.elementFlags[t])})))){for(var d=0;d<c;d++)m(ll(t)[d],l[d]);return}var p=vf(t)?Math.min(t.target.fixedLength,r.target.fixedLength):0,f=Math.min(vf(t)?Ql(t.target,3):0,r.target.hasRestElement?Ql(r.target,3):0);for(d=0;d<p;d++)m(ll(t)[d],l[d]);if(!vf(t)||s-p-f==1&&4&t.target.elementFlags[p]){var _=ll(t)[p];for(d=p;d<c-f;d++)m(8&u[d]?jl(_):_,l[d])}else{var h=c-p-f;if(2===h&&u[p]&u[p+1]&8&&vf(t)){var v=b(l[p]);v&&void 0!==v.impliedArity&&(m($l(t,p,f+s-v.impliedArity),l[p]),m($l(t,p+v.impliedArity,f),l[p+1]))}else if(1===h&&8&u[p]){var k=2&r.target.elementFlags[c-1];g(vf(t)?$l(t,p,f):jl(ll(t)[0]),l[p],k?2:0)}else if(1===h&&4&u[p]){(_=vf(t)?Ef(t,p,f):ll(t)[0])&&m(_,l[p])}}for(d=0;d<f;d++)m(ll(t)[s-d-1],l[c-d-1]);return}if(rf(r))return void T(t,r)}!function(e,t){for(var r=qs(t),n=0,i=r;n<i.length;n++){var a=i[n],o=gc(e,a.escapedName);o&&m(_o(o),_o(a))}}(t,r),D(t,r,0),D(t,r,1),T(t,r)}}}function D(t,r,n){for(var i=hc(t,n),a=hc(r,n),o=i.length,s=a.length,c=o<s?o:s,l=!!(2097152&e.getObjectFlags(t)),u=0;u<c;u++)w(Gc(i[o-c+u]),Kc(a[s-c+u]),l)}function w(e,t,r){if(!r){var n=u,i=t.declaration?t.declaration.kind:0;u=u||166===i||165===i||167===i,Yf(e,t,v),u=n}Xf(e,t,m)}function T(e,t){var r=kc(t,0);r&&((n=kc(e,0)||xc(e,0))&&m(n,r));var n,i=kc(t,1);i&&((n=kc(e,1)||kc(e,0)||xc(e,1))&&m(n,i))}m(r,n)}function vm(e,t){return np(e,t)||!!(4&t.flags&&128&e.flags||8&t.flags&&256&e.flags)}function bm(e,t){return!!(524288&e.flags&&524288&t.flags&&e.symbol&&e.symbol===t.symbol||e.aliasSymbol&&e.aliasTypeArguments&&e.aliasSymbol===t.aliasSymbol)}function km(t){return!!(128&e.getObjectFlags(t))}function xm(t){return!!(65664&e.getObjectFlags(t))}function Em(t){return 208&t.priority?fu(t.contraCandidates):(r=t.contraCandidates,e.reduceLeft(r,(function(e,t){return sp(t,e)?t:e})));var r}function Sm(t,r){var n,i,a=function(t){if(t.length>1){var r=e.filter(t,xm);if(r.length){var n=ou(r,2);return e.concatenate(e.filter(t,(function(e){return!xm(e)})),[n])}}return t}(t.candidates),o=(n=t.typeParameter,!!(i=Ws(n))&&Rv(16777216&i.flags?$s(i):i,406978556)),s=!o&&t.topLevel&&(t.isFixed||!sm(Bc(r),t.typeParameter)),c=o?e.sameMap(a,gd):s?e.sameMap(a,gf):a;return Hf(208&t.priority?ou(c,2):function(t){if(!W)return tf(t);var r=e.filter(t,(function(e){return!(98304&e.flags)}));return r.length?Af(tf(r),98304&Df(t)):ou(t,2)}(c))}function Dm(t,r){var n=t.inferences[r];if(!n.inferredType){var i=void 0,a=t.signature;if(a){var o=n.candidates?Sm(n,a):void 0;if(n.contraCandidates){var s=Em(n);i=!o||131072&o.flags||!sp(o,s)?s:o}else if(o)i=o;else if(1&t.flags)i=Ke;else{var c=nc(n.typeParameter);c&&(i=Wd(c,Od(function(t,r){return Nd((function(n){return e.findIndex(t.inferences,(function(e){return e.typeParameter===n}))>=r?Ae:n}))}(t,r),t.nonFixingMapper)))}}else i=fm(n);n.inferredType=i||wm(!!(2&t.flags));var l=Ws(n.typeParameter);if(l){var u=Wd(l,t.nonFixingMapper);i&&t.compareTypes(i,ls(u,i))||(n.inferredType=i=u)}}return n.inferredType}function wm(e){return e?Ee:Ae}function Tm(e){for(var t=[],r=0;r<e.inferences.length;r++)t.push(Dm(e,r));return t}function Cm(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 J.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 J.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 J.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;default:return 292===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 Am(t){var r=Cn(t);return r.resolvedSymbol||(r.resolvedSymbol=!e.nodeIsMissing(t)&&Fn(t,t.escapedText,1160127,Cm(t),t,!e.isWriteOnlyAccess(t),!1,e.Diagnostics.Cannot_find_name_0_Did_you_mean_1)||ke),r.resolvedSymbol}function Nm(t){return!!e.findAncestor(t,(function(e){return 177===e.kind||78!==e.kind&&158!==e.kind&&"quit"}))}function Pm(e,t,r,n){switch(e.kind){case 78:var i=Am(e);return i!==ke?(n?O(n):"-1")+"|"+Zl(t)+"|"+Zl(r)+"|"+(Bg(e)?"@":"")+R(i):void 0;case 108:return"0|"+(n?O(n):"-1")+"|"+Zl(t)+"|"+Zl(r);case 227:case 208:return Pm(e.expression,t,r,n);case 202:case 203:var a=Om(e);if(void 0!==a){var o=Pm(e.expression,t,r,n);return o&&o+"."+a}}}function Im(t,r){switch(r.kind){case 208:case 227:return Im(t,r.expression);case 218:return e.isAssignmentExpression(r)&&Im(t,r.left)||e.isBinaryExpression(r)&&27===r.operatorToken.kind&&Im(t,r.right)}switch(t.kind){case 78:case 79:return 78===r.kind&&Am(t)===Am(r)||(251===r.kind||199===r.kind)&&Ri(Am(t))===Ai(r);case 108:return 108===r.kind;case 106:return 106===r.kind;case 227:case 208:return Im(t.expression,r);case 202:case 203:return e.isAccessExpression(r)&&Om(t)===Om(r)&&Im(t.expression,r.expression);case 158:return e.isAccessExpression(r)&&t.right.escapedText===Om(r)&&Im(t.left,r.expression);case 218:return e.isBinaryExpression(t)&&27===t.operatorToken.kind&&Im(t.right,r)}return!1}function Fm(e,t){return Im(e,t)||218===t.kind&&55===t.operatorToken.kind&&(Fm(e,t.left)||Fm(e,t.right))}function Om(t){return 202===t.kind?t.name.escapedText:e.isStringOrNumericLiteralLike(t.argumentExpression)?e.escapeLeadingUnderscores(t.argumentExpression.text):void 0}function Rm(t,r){for(;e.isAccessExpression(t);)if(Im(t=t.expression,r))return!0;return!1}function Mm(t,r){for(;e.isOptionalChain(t);)if(Im(t=t.expression,r))return!0;return!1}function Lm(t,r){if(t&&1048576&t.flags){var n=cc(t,r);if(n&&2&e.getCheckFlags(n))return void 0===n.isDiscriminantProperty&&(n.isDiscriminantProperty=!(192&~n.checkFlags||Rv(_o(n),465829888))),!!n.isDiscriminantProperty}return!1}function jm(e,t){for(var r,n=0,i=e;n<i.length;n++){var a=i[n];if(Lm(t,a.escapedName)){if(r){r.push(a);continue}r=[a]}}return r}function Bm(e,t){return Im(e,t)||Rm(e,t)}function zm(e,t){if(e.arguments)for(var r=0,n=e.arguments;r<n.length;r++){if(Bm(t,n[r]))return!0}return!(202!==e.expression.kind||!Bm(t,e.expression.expression))}function Um(e){return(!e.id||e.id<0)&&(e.id=f,f++),e.id}function qm(e,t){if(e!==t){if(131072&t.flags)return t;var r=ug(e,(function(e){return function(e,t){if(!(1048576&e.flags))return cp(e,t);for(var r=0,n=e.types;r<n.length;r++)if(cp(n[r],t))return!0;return!1}(t,e)}));if(512&t.flags&&_d(t)&&(r=pg(r,md)),cp(t,r))return r}return e}function Jm(e){var t=Us(e);return!!(t.callSignatures.length||t.constructSignatures.length||t.members.get("bind")&&sp(e,vt))}function Vm(t){var r=t.flags;if(4&r)return W?16317953:16776705;if(128&r){var n=""===t.value;return W?n?12123649:7929345:n?12582401:16776705}if(40&r)return W?16317698:16776450;if(256&r){var i=0===t.value;return W?i?12123394:7929090:i?12582146:16776450}if(64&r)return W?16317188:16775940;if(2048&r){i=Sf(t);return W?i?12122884:7928580:i?12581636:16775940}return 16&r?W?16316168:16774920:528&r?W?t===je||t===Be?12121864:7927560:t===je||t===Be?12580616:16774920:524288&r?16&e.getObjectFlags(t)&&wp(t)?W?16318463:16777215:Jm(t)?W?7880640:16728e3:W?7888800:16736160:49152&r?9830144:65536&r?9363232:12288&r?W?7925520:16772880:67108864&r?W?7888800:16736160:131072&r?0:465829888&r?Ou(t)?W?7929345:16776705:Vm(Qs(t)||Ae):3145728&r?function(e){for(var t=0,r=0,n=e;r<n.length;r++)t|=Vm(n[r]);return t}(t.types):16777215}function Hm(e,t){return ug(e,(function(e){return!!(Vm(e)&t)}))}function Km(e,t){if(t){var r=ub(t);return ou([Hm(e,524288),r])}return e}function Wm(e,t){var r=vu(t);if(!Zo(r))return we;var n=is(r);return Ug(Na(e,n),t)||R_(n)&&$m(kc(e,1))||$m(kc(e,0))||we}function Gm(e,t){return lg(e,lf)&&function(e,t){var r=Na(e,""+t);return r||(lg(e,vf)?pg(e,(function(e){return xf(e)||Ne})):void 0)}(e,t)||$m(Ik(65,e,Ne,void 0))||we}function $m(e){return e&&J.noUncheckedIndexedAccess?ou([e,Ne]):e}function Ym(e){return jl(Ik(65,e,Ne,void 0)||we)}function Xm(e){return 218===e.parent.kind&&e.parent.left===e||241===e.parent.kind&&e.parent.initializer===e}function Qm(e){return Wm(Zm(e.parent),e.name)}function Zm(e){var t=e.parent;switch(t.kind){case 240:return Re;case 241:return Pk(t)||we;case 218:return function(e){return 200===e.parent.kind&&Xm(e.parent)||291===e.parent.kind&&Xm(e.parent.parent)?Km(Zm(e),e.right):ub(e.right)}(t);case 212:return Ne;case 200:return function(e,t){return Gm(Zm(e),e.elements.indexOf(t))}(t,e);case 222:return function(e){return Ym(Zm(e.parent))}(t);case 291:return Qm(t);case 292:return function(e){return Km(Qm(e),e.objectAssignmentInitializer)}(t)}return we}function eg(e){return Cn(e).resolvedType||ub(e)}function tg(e){return 251===e.kind?function(e){return e.initializer?eg(e.initializer):240===e.parent.parent.kind?Re:241===e.parent.parent.kind&&Pk(e.parent.parent)||we}(e):function(e){var t=e.parent,r=tg(t.parent);return Km(197===t.kind?Wm(r,e.propertyName||e.name):e.dotDotDotToken?Ym(r):Gm(r,t.elements.indexOf(e)),e.initializer)}(e)}function rg(e){switch(e.kind){case 208:return rg(e.expression);case 218:switch(e.operatorToken.kind){case 62:case 74:case 75:case 76:return rg(e.left);case 27:return rg(e.right)}}return e}function ng(e){var t=e.parent;return 208===t.kind||218===t.kind&&62===t.operatorToken.kind&&t.left===e||218===t.kind&&27===t.operatorToken.kind&&t.right===e?ng(t):e}function ig(e){return 287===e.kind?gd(ub(e.expression)):He}function ag(e){var t=Cn(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(ig(i))}}return t.switchTypes}function og(t,r){for(var n=[],i=0,a=t.caseBlock.clauses;i<a.length;i++){var o=a[i];if(287===o.kind){if(e.isStringLiteralLike(o.expression)){n.push(o.expression.text);continue}return e.emptyArray}r&&n.push(void 0)}return n}function sg(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(!eu(t.types,i))return!1}return!0}if(1024&e.flags&&Bo(e)===t)return!0;return eu(t.types,e)}(e,t)}function cg(t,r){return 1048576&t.flags?e.forEach(t.types,r):r(t)}function lg(t,r){return 1048576&t.flags?e.every(t.types,r):r(t)}function ug(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=au(1048576,c)}}return cu(i,t.objectFlags,void 0,void 0,o)}return 131072&t.flags||r(t)?t:He}function dg(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],l=1048576&c.flags?pg(c,t,r):t(c);a||(a=c!==l),l&&(n?n.push(l):n=[l])}return a?n&&ou(n,r?0:1):e}function fg(t,r,n,i){return 1048576&t.flags&&n?ou(e.map(t.types,r),1,n,i):pg(t,r)}function mg(e){return 3145728&e.flags?e.types.length:1}function gg(e,t){return ug(e,(function(e){return!!(e.flags&t)}))}function _g(e,t){return sg(Re,e)&&Rv(t,128)||sg(Me,e)&&Rv(t,256)||sg(Le,e)&&Rv(t,2048)?pg(e,(function(e){return 4&e.flags?gg(t,132):8&e.flags?gg(t,264):64&e.flags?gg(t,2112):e})):e}function hg(e){return 0===e.flags}function yg(e){return 0===e.flags?e.type:e}function vg(e,t){return t?{flags:0,type:131072&e.flags?Ke:e}:e}function bg(e){return ve[e.id]||(ve[e.id]=function(e){var t=qi(256);return t.elementType=e,t}(e))}function kg(e,t){var r=Bf(mf(pb(t)));return sg(r,e.elementType)?e:bg(ou([e.elementType,r]))}function xg(e){return e.finalArrayType||(e.finalArrayType=131072&(t=e.elementType).flags?Nt:jl(1048576&t.flags?ou(t.types,2):t));var t}function Eg(t){return 256&e.getObjectFlags(t)?xg(t):t}function Sg(t){return 256&e.getObjectFlags(t)?t.elementType:He}function Dg(t){var r=ng(t),n=r.parent,i=e.isPropertyAccessExpression(n)&&("length"===n.name.escapedText||204===n.parent.kind&&e.isIdentifier(n.name)&&e.isPushOrUnshiftIdentifier(n.name)),a=203===n.kind&&n.expression===r&&218===n.parent.kind&&62===n.parent.operatorToken.kind&&n.parent.left===n&&!e.isAssignmentTarget(n.parent)&&Mv(ub(n.argumentExpression),296);return i||a}function wg(t,r){if(8752&t.flags)return _o(t);if(7&t.flags){if(262144&e.getCheckFlags(t)){var n=t.syntheticOrigin;if(n&&wg(n))return _o(t)}var i=t.valueDeclaration;if(i){if(function(t){return(251===t.kind||161===t.kind||164===t.kind||163===t.kind)&&!!e.getEffectiveTypeAnnotationNode(t)}(i))return _o(t);if(e.isVariableDeclaration(i)&&241===i.parent.parent.kind){var a=i.parent.parent,o=Tg(a.expression,void 0);if(o)return Ik(a.awaitModifier?15:13,o,Ne,void 0)}r&&e.addRelatedInfo(r,e.createDiagnosticForNode(i,e.Diagnostics._0_needs_an_explicit_type_annotation,la(t)))}}}function Tg(t,r){if(!(16777216&t.flags))switch(t.kind){case 78:var n=Ri(Am(t));return wg(2097152&n.flags?ai(n):n,r);case 108:return function(t){var r=e.getThisContainer(t,!1);if(e.isFunctionLike(r)){var n=Ic(r);if(n.thisParameter)return wg(n.thisParameter)}if(e.isClassLike(r.parent)){var i=Ai(r.parent);return e.hasSyntacticModifier(r,32)?_o(i):Jo(i).thisType}}(t);case 106:return Qg(t);case 202:var i=Tg(t.expression,r);if(i){var a=t.name,o=void 0;if(e.isPrivateIdentifier(a)){if(!i.symbol)return;o=gc(i,e.getSymbolNameForPrivateIdentifier(i.symbol,a.escapedText))}else o=gc(i,a.escapedText);return o&&wg(o,r)}return;case 208:return Tg(t.expression,r)}}function Cg(t){var r=Cn(t),n=r.effectsSignature;if(void 0===n){var i=void 0;235===t.parent.kind?i=Tg(t.expression,void 0):106!==t.expression.kind&&(i=e.isOptionalChain(t)?vh(Mf(fb(t.expression),t.expression),t.expression):fh(t.expression));var a=hc(i&&ac(i)||Ae,0),o=1!==a.length||a[0].typeParameters?e.some(a,Ag)?Iy(t):void 0:a[0];n=r.effectsSignature=o&&Ag(o)?o:ur}return n===ur?void 0:n}function Ag(e){return!!(jc(e)||e.declaration&&131072&(zc(e.declaration)||Ae).flags)}function Ng(e){var t=Ig(e,!1);return tr=e,rr=t,t}function Pg(t){var r=e.skipParentheses(t);return 95===r.kind||218===r.kind&&(55===r.operatorToken.kind&&(Pg(r.left)||Pg(r.right))||56===r.operatorToken.kind&&Pg(r.left)&&Pg(r.right))}function Ig(t,r){for(;;){if(t===tr)return rr;var n=t.flags;if(4096&n){if(!r){var i=Um(t),a=Kr[i];return void 0!==a?a:Kr[i]=Ig(t,!0)}r=!1}if(368&n)t=t.antecedent;else if(512&n){var o=Cg(t.node);if(o){var s=jc(o);if(s&&3===s.kind&&!s.type){var c=t.node.arguments[s.parameterIndex];if(c&&Pg(c))return!1}if(131072&Bc(o).flags)return!1}t=t.antecedent}else{if(4&n)return e.some(t.antecedents,(function(e){return Ig(e,!1)}));if(8&n){var l=t.antecedents;if(void 0===l||0===l.length)return!1;t=l[0]}else{if(!(128&n)){if(1024&n){tr=void 0;var u=t.target,d=u.antecedents;u.antecedents=t.antecedents;var p=Ig(t.antecedent,!1);return u.antecedents=d,p}return!(1&n)}if(t.clauseStart===t.clauseEnd&&Ev(t.switchStatement))return!1;t=t.antecedent}}}}function Fg(t,r){for(;;){var n=t.flags;if(4096&n){if(!r){var i=Um(t),a=Wr[i];return void 0!==a?a:Wr[i]=Fg(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 Fg(e,!1)}));if(!(8&n)){if(1024&n){var o=t.target,s=o.antecedents;o.antecedents=t.antecedents;var c=Fg(t.antecedent,!1);return o.antecedents=s,c}return!!(1&n)}t=t.antecedents[0]}}}function Og(t,r,n,i,a){var o;void 0===n&&(n=r);var s=!1,c=0;if(Tr)return we;if(!t.flowNode||!a&&!(536624127&r.flags))return r;Cr++;var l=wr,u=yg(f(t.flowNode));wr=l;var d=256&e.getObjectFlags(u)&&Dg(t)?Nt:Eg(u);return d===$e||t.parent&&227===t.parent.kind&&131072&Hm(d,2097152).flags?r:d;function p(){return s?o:(s=!0,o=Pm(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}),Tr=!0,o=t,s=e.findAncestor(o,e.isFunctionOrModuleBlock),u=e.getSourceFileOfNode(o),d=e.getSpanOfTokenAtPosition(u,s.statements.pos),Qr.add(e.createFileDiagnostic(u,d.start,d.length,e.Diagnostics.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis)),we;var o,s,u,d,p;for(c++;;){var m=a.flags;if(4096&m){for(var _=l;_<wr;_++)if(Vr[_]===a)return c--,Hr[_];p=a}var E=void 0;if(16&m){if(!(E=g(a))){a=a.antecedent;continue}}else if(512&m){if(!(E=h(a))){a=a.antecedent;continue}}else if(96&m)E=v(a);else if(128&m)E=b(a);else if(12&m){if(1===a.antecedents.length){a=a.antecedents[0];continue}E=4&m?k(a):x(a)}else if(256&m){if(!(E=y(a))){a=a.antecedent;continue}}else if(1024&m){var S=a.target,D=S.antecedents;S.antecedents=a.antecedents,E=f(a.antecedent),S.antecedents=D}else if(2&m){var w=a.node;if(w&&w!==i&&202!==t.kind&&203!==t.kind&&108!==t.kind){a=w.flowNode;continue}E=n}else E=vk(r);return p&&(Vr[wr]=p,Hr[wr]=E,wr++),c--,E}}function m(e){var r=e.node;return Ug(251===r.kind||199===r.kind?tg(r):Zm(r),t)}function g(n){var i=n.node;if(Im(t,i)){if(!Ng(n))return $e;if(2===e.getAssignmentTargetKind(i)){var a=f(n.antecedent);return vg(mf(yg(a)),hg(a))}if(r===Se||r===Nt){if(function(e){return 251===e.kind&&e.initializer&&Ba(e.initializer)||199!==e.kind&&218===e.parent.kind&&Ba(e.parent.right)}(i))return bg(He);var o=gf(m(n));return cp(o,r)?o:At}return 1048576&r.flags?qm(r,m(n)):r}if(Rm(t,i)){if(!Ng(n))return $e;if(e.isVariableDeclaration(i)&&(e.isInJSFile(i)||e.isVarConst(i))){var s=e.getDeclaredExpandoInitializer(i);if(s&&(209===s.kind||210===s.kind))return f(n.antecedent)}return r}if(e.isVariableDeclaration(i)&&240===i.parent.parent.kind&&Im(t,i.parent.parent.expression))return gh(yg(f(n.antecedent)))}function _(t,r){var n=e.skipParentheses(r);if(95===n.kind)return $e;if(218===n.kind){if(55===n.operatorToken.kind)return _(_(t,n.left),n.right);if(56===n.operatorToken.kind)return ou([_(t,n.left),_(t,n.right)])}return q(t,n,!0)}function h(e){var t=Cg(e.node);if(t){var r=jc(t);if(r&&(2===r.kind||3===r.kind)){var n=f(e.antecedent),i=Eg(yg(n)),a=r.type?U(i,r,e.node,!0):3===r.kind&&r.parameterIndex>=0&&r.parameterIndex<e.node.arguments.length?_(i,e.node.arguments[r.parameterIndex]):i;return a===i?n:vg(a,hg(n))}if(131072&Bc(t).flags)return $e}}function y(n){if(r===Se||r===Nt){var i=n.node,a=204===i.kind?i.expression.expression:i.left.expression;if(Im(t,rg(a))){var o=f(n.antecedent),s=yg(o);if(256&e.getObjectFlags(s)){var c=s;if(204===i.kind)for(var l=0,u=i.arguments;l<u.length;l++){c=kg(c,u[l])}else Mv(pb(i.left.argumentExpression),296)&&(c=kg(c,i.right));return c===s?o:vg(c,hg(o))}return o}}}function v(e){var t=f(e.antecedent),r=yg(t);if(131072&r.flags)return t;var n=!!(32&e.flags),i=Eg(r),a=q(i,e.node,n);return a===i?t:vg(a,hg(t))}function b(r){var n=r.switchStatement.expression,i=f(r.antecedent),a=yg(i);return Im(t,n)?a=R(a,r.switchStatement,r.clauseStart,r.clauseEnd):213===n.kind&&Im(t,n.expression)?a=function(t,r,n,i){var a=og(r,!0);if(!a.length)return t;var o,s,c=e.findIndex(a,(function(e){return void 0===e})),l=n===i||c>=n&&c<i;if(c>-1){var u=a.filter((function(e){return void 0!==e})),d=c<n?n-1:n,p=c<i?i-1:i;o=u.slice(d,p),s=xv(d,p,u,l)}else o=a.slice(n,i),s=xv(n,i,a,l);if(l)return ug(t,(function(e){return(Vm(e)&s)===s}));var f=Hm(ou(o.map((function(e){return M(t,e)||t}))),s);return Hm(pg(t,L(f)),s)}(a,r.switchStatement,r.clauseStart,r.clauseEnd):(W&&(Mm(n,t)?a=O(a,r.switchStatement,r.clauseStart,r.clauseEnd,(function(e){return!(163840&e.flags)})):213===n.kind&&Mm(n.expression,t)&&(a=O(a,r.switchStatement,r.clauseStart,r.clauseEnd,(function(e){return!(131072&e.flags||128&e.flags&&"undefined"===e.value)})))),w(n,a)&&(a=T(a,n,(function(e){return R(e,r.switchStatement,r.clauseStart,r.clauseEnd)})))),vg(a,hg(i))}function k(t){for(var i,a=[],o=!1,s=!1,c=0,l=t.antecedents;c<l.length;c++){var u=l[c];if(!i&&128&u.flags&&u.clauseStart===u.clauseEnd)i=u;else{if((p=yg(d=f(u)))===r&&r===n)return p;e.pushIfUnique(a,p),sg(p,r)||(o=!0),hg(d)&&(s=!0)}}if(i){var d,p=yg(d=f(i));if(!e.contains(a,p)&&!Ev(i.switchStatement)){if(p===r&&r===n)return p;a.push(p),sg(p,r)||(o=!0),hg(d)&&(s=!0)}}return vg(D(a,o?2:1),s)}function x(t){var n=Um(t),i=zr[n]||(zr[n]=new e.Map),a=p();if(!a)return r;var o=i.get(a);if(o)return o;for(var s=Sr;s<Dr;s++)if(Ur[s]===t&&qr[s]===a&&Jr[s].length)return vg(D(Jr[s],1),!0);for(var c,l=[],u=!1,d=0,m=t.antecedents;d<m.length;d++){var g=m[d],_=void 0;if(c){Ur[Dr]=t,qr[Dr]=a,Jr[Dr]=l,Dr++;var h=nr;nr=void 0,_=f(g),nr=h,Dr--;var y=i.get(a);if(y)return y}else _=c=f(g);var v=yg(_);if(e.pushIfUnique(l,v),sg(v,r)||(u=!0),v===r)break}var b=D(l,u?2:1);return hg(c)?vg(b,!0):(i.set(a,b),b)}function D(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 bg(ou(e.map(t,Sg)));var i=ou(e.sameMap(t,Eg),n);return i!==r&&i.flags&r.flags&1048576&&e.arraysEqual(i.types,r.types)?r:i}function w(n,i){var a=1048576&r.flags?r:i;if(!(1048576&a.flags&&e.isAccessExpression(n)))return!1;var o=Om(n);return void 0!==o&&(Im(t,n.expression)&&Lm(a,o))}function T(t,r,n){var i=Om(r);if(void 0===i)return t;var a=W&&Rv(t,98304)&&e.isOptionalChain(r),o=Na(a?Hm(t,2097152):t,i);if(!o)return t;var s=n(o=a?Nf(o):o);return ug(t,(function(e){var t=function(e,t){return Na(e,t)||R_(t)&&kc(e,1)||kc(e,0)||Ae}(e,i);return!(131072&t.flags)&&up(t,s)}))}function C(e,r,n){return Im(t,r)?Hm(e,n?4194304:8388608):(W&&n&&Mm(r,t)&&(e=Hm(e,2097152)),w(r,e)?T(e,r,(function(e){return Hm(e,n?4194304:8388608)})):e)}function A(t,r,n){if(1572864&t.flags||Lu(t)||2097152&t.flags&&e.every(t.types,(function(e){return e.symbol!==ae}))){var i=e.escapeLeadingUnderscores(r.text);return ug(t,(function(e){return function(e,t,r){if(bc(e,0))return!0;var n=gc(e,t);return n?!!(16777216&n.flags)||r:!r}(e,i,n)}))}return t}function N(r,n,i){switch(n.operatorToken.kind){case 62:case 74:case 75:case 76:return C(q(r,n.right,i),n.left,i);case 34:case 35:case 36:case 37:var a=n.operatorToken.kind,o=rg(n.left),s=rg(n.right);if(213===o.kind&&e.isStringLiteralLike(s))return F(r,o,a,s,i);if(213===s.kind&&e.isStringLiteralLike(o))return F(r,s,a,o,i);if(Im(t,o))return I(r,a,s,i);if(Im(t,s))return I(r,a,o,i);if(W&&(Mm(o,t)?r=P(r,a,s,i):Mm(s,t)&&(r=P(r,a,o,i))),w(o,r))return T(r,o,(function(e){return I(e,a,s,i)}));if(w(s,r))return T(r,s,(function(e){return I(e,a,o,i)}));if(j(o))return B(r,a,s,i);if(j(s))return B(r,a,o,i);break;case 102:return function(r,n,i){var a=rg(n.left);if(!Im(t,a))return i&&W&&Mm(a,t)?Hm(r,2097152):r;var o,s=ub(n.right);if(!lp(s,vt))return r;var c=gc(s,"prototype");if(c){var l=_o(c);Pa(l)||(o=l)}if(Pa(r)&&(o===yt||o===vt))return r;if(!o){var u=hc(s,1);o=u.length?ou(e.map(u,(function(e){return Bc(Kc(e))}))):nt}if(!i&&1048576&s.flags){if(!e.find(s.types,(function(e){return!Do(e)})))return r}return z(r,o,i,lp)}(r,n,i);case 101:var c=rg(n.right);if(e.isStringLiteralLike(n.left)&&Im(t,c))return A(r,n.left,i);break;case 27:return q(r,n.right,i)}return r}function P(e,t,r,n){var i=34===t||36===t,a=34===t||35===t?98304:32768,o=ub(r);return i!==n&&lg(o,(function(e){return!!(e.flags&a)}))||i===n&&lg(o,(function(e){return!(e.flags&(3|a))}))?Hm(e,2097152):e}function I(e,t,r,n){if(1&e.flags)return e;35!==t&&37!==t||(n=!n);var i=ub(r);if(2&e.flags&&n&&(36===t||37===t))return 67239932&i.flags?i:524288&i.flags?Ye:e;if(98304&i.flags)return W?Hm(e,34===t||35===t?n?262144:2097152:65536&i.flags?n?131072:1048576:n?65536:524288):e;if(n)return _g(ug(e,34===t?function(e){return dp(e,i)||(t=i,!!(524&e.flags)&&!!(28&t.flags));var t}:function(e){return dp(e,i)}),i);if(pf(i)){var a=gd(i);return ug(e,(function(e){return pf(e)?!dp(e,i):gd(e)!==a}))}return e}function F(e,r,n,i,a){35!==n&&37!==n||(a=!a);var o=rg(r.expression);if(!Im(t,o))return W&&Mm(o,t)&&a===("undefined"!==i.text)?Hm(e,2097152):e;if(1&e.flags&&"function"===i.text)return e;if(a&&2&e.flags&&"object"===i.text){if(218===r.parent.parent.kind){var s=r.parent.parent;if(55===s.operatorToken.kind&&s.right===r.parent&&Fm(t,s.left))return Ye}return ou([Ye,Fe])}var c=a?E.get(i.text)||128:S.get(i.text)||32768,l=M(e,i.text);return Hm(a&&l?pg(e,L(l)):e,c)}function O(t,r,n,i,a){return n!==i&&e.every(ag(r).slice(n,i),a)?Hm(t,2097152):t}function R(t,r,n,i){var a=ag(r);if(!a.length)return t;var o=a.slice(n,i),s=n===i||e.contains(o,He);if(2&t.flags&&!s){for(var c=void 0,l=0;l<o.length;l+=1){var u=o[l];if(67239932&u.flags)void 0!==c&&c.push(u);else{if(!(524288&u.flags))return t;void 0===c&&(c=o.slice(0,l)),c.push(Ye)}}return ou(void 0===c?o:c)}var d=ou(o),p=131072&d.flags?He:_g(ug(t,(function(e){return dp(d,e)})),d);if(!s)return p;var f=ug(t,(function(t){return!(pf(t)&&e.contains(a,gd(t)))}));return 131072&p.flags?f:ou([p,f])}function M(e,t){switch(t){case"function":return 1&e.flags?e:vt;case"object":return 2&e.flags?ou([Ye,Fe]):e;default:return en.get(t)}}function L(e){return function(t){if(sp(t,e))return t;if(sp(e,t))return e;if(465829888&t.flags){var r=Qs(t)||Ee;if(sp(e,r))return fu([t,e])}return t}}function j(r){return(e.isPropertyAccessExpression(r)&&"constructor"===e.idText(r.name)||e.isElementAccessExpression(r)&&e.isStringLiteralLike(r.argumentExpression)&&"constructor"===r.argumentExpression.text)&&Im(t,r.expression)}function B(t,r,n,i){if(i?34!==r&&36!==r:35!==r&&37!==r)return t;var a=ub(n);if(!DE(a)&&!Do(a))return t;var o=gc(a,"prototype");if(!o)return t;var s=_o(o),c=Pa(s)?void 0:s;return c&&c!==yt&&c!==vt?Pa(t)?c:ug(t,(function(t){return function(t,r){if(524288&t.flags&&1&e.getObjectFlags(t)||524288&r.flags&&1&e.getObjectFlags(r))return t.symbol===r.symbol;return sp(t,r)}(t,c)})):t}function z(e,t,r,n){if(!r)return ug(e,(function(e){return!n(e,t)}));if(1048576&e.flags){var i=ug(e,(function(e){return n(e,t)}));if(!(131072&i.flags))return i}return sp(t,e)?t:cp(e,t)?e:cp(t,e)?t:fu([e,t])}function U(r,n,i,a){if(n.type&&(!Pa(r)||n.type!==yt&&n.type!==vt)){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(Im(t,o))return z(r,n.type,a,sp);if(W&&a&&Mm(o,t)&&!(65536&Vm(n.type))&&(r=Hm(r,2097152)),w(o,r))return T(r,o,(function(e){return z(e,n.type,a,sp)}))}}return r}function q(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(Im(t,r))return Hm(e,n?2097152:262144);if(w(r,e))return T(e,r,(function(e){return Hm(e,n?2097152:262144)}));return e}(r,n,i);switch(n.kind){case 78:case 108:case 106:case 202:case 203:return C(r,n,i);case 204:return function(r,n,i){if(zm(n,t)){var a=i||!e.isCallChain(n)?Cg(n):void 0,o=a&&jc(a);if(o&&(0===o.kind||1===o.kind))return U(r,o,n,i)}return r}(r,n,i);case 208:case 227:return q(r,n.expression,i);case 218:return N(r,n,i);case 216:if(53===n.operator)return q(r,n.operand,!i)}return r}}function Rg(t){return e.findAncestor(t.parent,(function(t){return e.isFunctionLike(t)&&!e.getImmediatelyInvokedFunctionExpression(t)||260===t.kind||300===t.kind||164===t.kind}))}function Mg(t){var r,n=e.getRootDeclaration(t.valueDeclaration).parent,i=Cn(n);return 8388608&i.flags||(i.flags|=8388608,r=n,e.findAncestor(r.parent,(function(t){return e.isFunctionLike(t)&&!!(8388608&Cn(t).flags)}))||Lg(n)),t.isAssigned||!1}function Lg(t){if(78===t.kind){if(e.isAssignmentTarget(t)){var r=Am(t);r.valueDeclaration&&161===e.getRootDeclaration(r.valueDeclaration).kind&&(r.isAssigned=!0)}}else e.forEachChild(t,Lg)}function jg(e){return 3&e.flags&&!!(2&lh(e))&&_o(e)!==Nt}function Bg(e){var t=e.parent;return 202===t.kind||204===t.kind&&t.expression===e||203===t.kind&&t.expression===e||199===t.kind&&t.name===e&&!!t.initializer}function zg(e){return 58982400&e.flags&&Rv(Qs(e)||Ae,98304)}function Ug(e,t){return e&&Bg(t)&&cg(e,zg)?pg(Hf(e),Zs):e}function qg(t){return!!e.findAncestor(t,(function(t){return t.parent&&e.isExportAssignment(t.parent)&&t.parent.expression===t&&e.isEntityNameExpression(t)}))}function Jg(t,r){if(ni(t,111551)&&!Nm(r)&&!ci(t)){var n=ai(t);111551&n.flags&&(J.isolatedModules||e.shouldPreserveConstEnums(J)&&qg(r)||!mE(n)?ui(t):function(e){var t=Tn(e);t.constEnumReferenced||(t.constEnumReferenced=!0)}(t))}}function Vg(r){var n=Am(r);if(n===ke)return we;if(function(r,n){if(r.virtual||!t.getTagNameNeededCheckByFile)return;var i=e.getSourceFileOfNode(r);if(!n||!n.valueDeclaration)return;var a=e.getSourceFileOfNode(n.valueDeclaration);if(!a)return;var o=t.getTagNameNeededCheckByFile(i.fileName,a.fileName);if(!o.needCheck)return;jy(n.getJsDocTags(),r,i,o.checkConfig)}(r,n),n===se){var i=e.getContainingFunction(r);return V<2&&(210===i.kind?pn(r,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)&&pn(r,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)),Cn(i).flags|=8192,_o(n)}r.parent&&e.isPropertyAccessExpression(r.parent)&&r.parent.expression===r||Jg(n,r);var a=Ri(n),o=2097152&a.flags?ai(a):a;134217728&lh(o)&&Nu(r,o)&&hn(r,o.declarations,r.escapedText);var s=a.valueDeclaration;if(32&a.flags)if(254===s.kind&&e.nodeIsDecorated(s))for(i=e.getContainingClass(r);void 0!==i;){if(i===s&&i.name!==r){Cn(s).flags|=16777216,Cn(r).flags|=33554432;break}i=e.getContainingClass(i)}else if(223===s.kind)for(i=e.getThisContainer(r,!1);300!==i.kind;){if(i.parent===s){164===i.kind&&e.hasSyntacticModifier(i,32)&&(Cn(s).flags|=16777216,Cn(r).flags|=33554432);break}i=e.getThisContainer(i,!1)}!function(t,r){if(V>=2||!(34&r.flags)||e.isSourceFile(r.valueDeclaration)||290===r.valueDeclaration.parent.kind)return;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,n),a=n,o=!1;for(;a&&!e.nodeStartsNewLexicalEnvironment(a);){if(e.isIterationStatement(a,!1)){o=!0;break}a=a.parent}if(o){if(i){var s=!0;if(e.isForStatement(n))if((d=e.getAncestor(r.valueDeclaration,252))&&d.parent===n){var c=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(c){var l=Cn(c);l.flags|=131072;var u=l.capturedBlockScopeBindings||(l.capturedBlockScopeBindings=[]);e.pushIfUnique(u,r),c===n.initializer&&(s=!1)}}s&&(Cn(a).flags|=65536)}var d;if(e.isForStatement(n))(d=e.getAncestor(r.valueDeclaration,252))&&d.parent===n&&function(t,r){var n=t;for(;208===n.parent.kind;)n=n.parent;var i=!1;if(e.isAssignmentTarget(n))i=!0;else if(216===n.parent.kind||217===n.parent.kind){var a=n.parent;i=45===a.operator||46===a.operator}if(!i)return!1;return!!e.findAncestor(n,(function(e){return e===r?"quit":e===r.statement}))}(t,n)&&(Cn(r.valueDeclaration).flags|=4194304);Cn(r.valueDeclaration).flags|=524288}i&&(Cn(r.valueDeclaration).flags|=262144)}(r,n);var c=Ug(_o(a),r),l=e.getAssignmentTargetKind(r);if(l){if(!(3&a.flags||e.isInJSFile(r)&&512&a.flags))return pn(r,e.Diagnostics.Cannot_assign_to_0_because_it_is_not_a_variable,la(n)),we;if(Nv(a))return 3&a.flags?pn(r,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_constant,la(n)):pn(r,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,la(n)),we}var u=2097152&a.flags;if(3&a.flags){if(1===l)return c}else{if(!u)return c;s=e.find(n.declarations,B)}if(!s)return c;for(var d=161===e.getRootDeclaration(s).kind,p=Rg(s),f=Rg(r),m=f!==p,g=r.parent&&r.parent.parent&&e.isSpreadAssignment(r.parent)&&Xm(r.parent.parent),_=134217728&n.flags;f!==p&&(209===f.kind||210===f.kind||e.isObjectLiteralOrClassExpressionMethod(f))&&(jg(a)||d&&!Mg(a));)f=Rg(f);var h=d||u||m||g||_||e.isBindingElement(s)||c!==Se&&c!==Nt&&(!W||!!(16387&c.flags)||Nm(r)||273===r.parent.kind)||227===r.parent.kind||251===s.kind&&s.exclamationToken||8388608&s.flags,y=h?d?function(e,t){if(Da(t.symbol,2)){var r=W&&161===t.kind&&t.initializer&&32768&wf(e)&&!(32768&wf(fb(t.initializer)));return Ca(),r?Hm(e,524288):e}return go(t.symbol),e}(c,s):c:c===Se||c===Nt?Ne:Nf(c),v=Og(r,c,y,f,!h);if(Dg(r)||c!==Se&&c!==Nt){if(!h&&!(32768&wf(c))&&32768&wf(v))return pn(r,e.Diagnostics.Variable_0_is_used_before_being_assigned,la(n)),c}else if(v===Se||v===Nt)return X&&(pn(e.getNameOfDeclaration(s),e.Diagnostics.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,la(n),da(v)),pn(r,e.Diagnostics.Variable_0_implicitly_has_an_1_type,la(n),da(v))),vk(v);return l?mf(v):v}function Hg(e,t){(Cn(e).flags|=2,164===t.kind||167===t.kind)?Cn(t.parent).flags|=4:Cn(t).flags|=4}function Kg(t){return e.isSuperCall(t)?t:e.isFunctionLike(t)?void 0:e.forEachChild(t,Kg)}function Wg(e){return Ao(Jo(Ai(e)))===Oe}function Gg(t,r,n){var i=r.parent;e.getClassExtendsHeritageElement(i)&&!Wg(i)&&t.flowNode&&!Fg(t.flowNode,!1)&&pn(t,n)}function $g(t){var r=e.getThisContainer(t,!0),n=!1;switch(167===r.kind&&Gg(t,r,e.Diagnostics.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class),210===r.kind&&(r=e.getThisContainer(r,!1),n=!0),r.kind){case 259:pn(t,e.Diagnostics.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 258:pn(t,e.Diagnostics.this_cannot_be_referenced_in_current_location);break;case 167:Xg(t,r)&&pn(t,e.Diagnostics.this_cannot_be_referenced_in_constructor_arguments);break;case 164:case 163:!e.hasSyntacticModifier(r,32)||99===J.target&&J.useDefineForClassFields||pn(t,e.Diagnostics.this_cannot_be_referenced_in_a_static_property_initializer);break;case 159:pn(t,e.Diagnostics.this_cannot_be_referenced_in_a_computed_property_name)}n&&V<2&&Hg(t,r);var i=Yg(t,!0,r);if(Q){var a=_o(ae);if(i===a&&n)pn(t,e.Diagnostics.The_containing_arrow_function_captures_the_global_value_of_this);else if(!i){var o=pn(t,e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!e.isSourceFile(r)){var s=Yg(r);s&&s!==a&&e.addRelatedInfo(o,e.createDiagnosticForNode(r,e.Diagnostics.An_outer_value_of_this_is_shadowed_by_this_container))}}}return i||Ee}function Yg(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)&&(!i_(t)||e.getThisParameter(n))){var a=co(n)||i&&function(t){var r=e.getJSDocType(t);if(r&&311===r.kind){var n=r;if(n.parameters.length>0&&n.parameters[0].name&&"this"===n.parameters[0].name.escapedText)return xd(n.parameters[0].type)}var i=e.getJSDocThisTag(t);if(i&&i.typeExpression)return xd(i.typeExpression)}(n);if(!a){var o=function(t){if(209===t.kind&&e.isBinaryExpression(t.parent)&&3===e.getAssignmentDeclarationKind(t.parent))return t.parent.left.expression.expression;if(166===t.kind&&201===t.parent.kind&&e.isBinaryExpression(t.parent.parent)&&6===e.getAssignmentDeclarationKind(t.parent.parent))return t.parent.parent.left.expression;if(209===t.kind&&291===t.parent.kind&&201===t.parent.parent.kind&&e.isBinaryExpression(t.parent.parent.parent)&&6===e.getAssignmentDeclarationKind(t.parent.parent.parent))return t.parent.parent.parent.left.expression;if(209===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))return t.parent.parent.parent.arguments[0].expression;if(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))return t.parent.parent.arguments[0].expression}(n);if(i&&o){var s=fb(o).symbol;s&&s.members&&16&s.flags&&(a=Jo(s).thisType)}else Fy(n)&&(a=Jo(Ci(n.symbol)).thisType);a||(a=t_(n))}if(a)return Og(t,a)}if(e.isClassLike(n.parent)){var c=Ai(n.parent);return Og(t,e.hasSyntacticModifier(n,32)?_o(c):Jo(c).thisType)}if(e.isSourceFile(n)){if(n.commonJsModuleIndicator){var l=Ai(n);return l&&_o(l)}if(n.externalModuleIndicator)return Ne;if(r)return _o(ae)}}function Xg(t,r){return!!e.findAncestor(t,(function(t){return e.isFunctionLikeDeclaration(t)?"quit":161===t.kind&&t.parent===r}))}function Qg(t){var r=204===t.parent.kind&&t.parent.expression===t,n=e.getSuperContainer(t,!0),i=n,a=!1;if(!r)for(;i&&210===i.kind;)i=e.getSuperContainer(i,!0),a=V<2;var o=function(t){if(!t)return!1;if(r)return 167===t.kind;if(e.isClassLike(t.parent)||201===t.parent.kind)return e.hasSyntacticModifier(t,32)?166===t.kind||165===t.kind||168===t.kind||169===t.kind:166===t.kind||165===t.kind||168===t.kind||169===t.kind||164===t.kind||163===t.kind||167===t.kind;return!1}(i),s=0;if(!o){var c=e.findAncestor(t,(function(e){return e===i?"quit":159===e.kind}));return c&&159===c.kind?pn(t,e.Diagnostics.super_cannot_be_referenced_in_a_computed_property_name):r?pn(t,e.Diagnostics.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):i&&i.parent&&(e.isClassLike(i.parent)||201===i.parent.kind)?pn(t,e.Diagnostics.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class):pn(t,e.Diagnostics.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions),we}if(r||167!==n.kind||Gg(t,i,e.Diagnostics.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),s=e.hasSyntacticModifier(i,32)||r?512:256,Cn(t).flags|=s,166===i.kind&&e.hasSyntacticModifier(i,256)&&(e.isSuperProperty(t.parent)&&e.isAssignmentTarget(t.parent)?Cn(i).flags|=4096:Cn(i).flags|=2048),a&&Hg(t.parent,i),201===i.parent.kind)return V<2?(pn(t,e.Diagnostics.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),we):Ee;var l=i.parent;if(!e.getClassExtendsHeritageElement(l))return pn(t,e.Diagnostics.super_can_only_be_referenced_in_a_derived_class),we;var u=Jo(Ai(l)),d=u&&Po(u)[0];return d?167===i.kind&&Xg(t,i)?(pn(t,e.Diagnostics.super_cannot_be_referenced_in_constructor_arguments),we):512===s?Ao(u):ls(d,u.thisType):we}function Zg(t){return 4&e.getObjectFlags(t)&&t.target===Ct?ll(t)[0]:void 0}function e_(t){return pg(t,(function(t){return 2097152&t.flags?e.forEach(t.types,Zg):Zg(t)}))}function t_(t){if(210!==t.kind){if(tp(t)){var r=A_(t);if(r){var n=r.thisParameter;if(n)return _o(n)}}var i=e.isInJSFile(t);if(Q||i){var a=function(e){return 166!==e.kind&&168!==e.kind&&169!==e.kind||201!==e.parent.kind?209===e.kind&&291===e.parent.kind?e.parent.parent:void 0:e.parent}(t);if(a){for(var o=v_(a),s=a,c=o;c;){var l=e_(c);if(l)return Wd(l,im(E_(a)));if(291!==s.parent.kind)break;c=v_(s=s.parent.parent)}return Hf(o?Pf(o):$v(a))}var u=e.walkUpParenthesizedExpressions(t.parent);if(218===u.kind&&62===u.operatorToken.kind){var d=u.left;if(e.isAccessExpression(d)){var p=d.expression;if(i&&e.isIdentifier(p)){var f=e.getSourceFileOfNode(u);if(f.commonJsModuleIndicator&&Am(p)===f.symbol)return}return Hf($v(p))}}}}}function r_(t){var r=t.parent;if(tp(r)){var n=e.getImmediatelyInvokedFunctionExpression(r);if(n&&n.arguments){var i=dy(n),a=r.parameters.indexOf(t);if(t.dotDotDotToken)return ay(i,a,i.length,Ee,void 0,0);var o=Cn(n),s=o.resolvedSignature;o.resolvedSignature=lr;var c=a<i.length?gf(fb(i[a])):t.initializer?void 0:Pe;return o.resolvedSignature=s,c}var l=A_(r);if(l){var u=r.parameters.indexOf(t)-(e.getThisParameter(r)?1:0);return t.dotDotDotToken&&e.lastOrUndefined(r.parameters)===t?av(l,u):iv(l,u)}}}function n_(t){var r=e.getEffectiveTypeAnnotationNode(t);if(r)return xd(r);switch(t.kind){case 161:return r_(t);case 199:return function(t){var r=t.parent.parent,n=t.propertyName||t.name,i=n_(r)||199!==r.kind&&r.initializer&&Yv(r);if(!i||e.isBindingPattern(n)||e.isComputedNonLiteralName(n))return;if(198===r.name.kind){var a=e.indexOfNode(t.parent.elements,t);if(a<0)return;return g_(i,a)}var o=vu(n);if(Zo(o)){return Na(i,is(o))}}(t);case 164:if(e.hasSyntacticModifier(t,32))return function(t){var r=e.isExpression(t.parent)&&x_(t.parent);return r?p_(r,Ai(t).escapedName):void 0}(t)}}function i_(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 a_(t,r){var n=!!(2&e.getFunctionFlags(r)),i=o_(r);if(i)return tx(t,i,n)||void 0}function o_(e){var t=zc(e);if(t)return t;var r=C_(e);return r&&!Uc(r)?Bc(r):void 0}function s_(e,t){var r=dy(e).indexOf(t);return-1===r?void 0:c_(e,r)}function c_(t,r){var n=Cn(t).resolvedSignature===dr?dr:Iy(t);return e.isJsxOpeningLikeElement(t)&&0===r?S_(n,t):nv(n,r)}function l_(t,r){var n=t.parent,i=n.left,a=n.operatorToken,o=n.right;switch(a.kind){case 62:case 75:case 74:case 76:return t===o?function(t){var r=e.getAssignmentDeclarationKind(t);switch(r){case 0:return ub(t.left);case 5:case 1:case 6:case 3:if(u_(t,r))return d_(t,r);if(t.left.symbol){var n=t.left.symbol.valueDeclaration;if(!n)return;var i=e.cast(t.left,e.isAccessExpression),a=e.getEffectiveTypeAnnotationNode(n);if(a)return xd(a);if(e.isIdentifier(i.expression)){var o=i.expression,s=Fn(o,o.escapedText,111551,void 0,o.escapedText,!0);if(s){var c=s.valueDeclaration&&e.getEffectiveTypeAnnotationNode(s.valueDeclaration);if(c){var l=e.getElementOrPropertyAccessName(i);if(void 0!==l)return p_(xd(c),l)}return}}return e.isInJSFile(n)?void 0:ub(t.left)}return ub(t.left);case 2:case 4:return d_(t,r);case 7:case 8:case 9:return e.Debug.fail("Does not apply");default:return e.Debug.assertNever(r)}}(n):void 0;case 56:case 60:var s=x_(n,r);return t===o&&(s&&s.pattern||!s&&!e.isDefaultedExpandoInitializer(n))?ub(i):s;case 55:case 27:return t===o?x_(n,r):void 0;default:return}}function u_(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=Fn(t.left,n,111551,void 0,void 0,!0,!0);return e.isThisInitializedDeclaration(null==i?void 0:i.valueDeclaration)}function d_(t,r){if(!t.symbol)return ub(t.left);if(t.symbol.valueDeclaration){var n=e.getEffectiveTypeAnnotationNode(t.symbol.valueDeclaration);if(n){var i=xd(n);if(i)return i}}if(2!==r){var a=e.cast(t.left,e.isAccessExpression);if(e.isObjectLiteralMethod(e.getThisContainer(a.expression,!1))){var o=$g(a.expression),s=e.getElementOrPropertyAccessName(a);return void 0!==s&&p_(o,s)||void 0}}}function p_(t,r){return pg(t,(function(t){if(zs(t)){var n=Ps(t),i=Qs(n)||n,a=hd(e.unescapeLeadingUnderscores(r));if(cp(a,i))return Uu(t,a)}else if(3670016&t.flags){var o=gc(t,r);if(o)return c=o,262144&e.getCheckFlags(c)&&!c.type&&wa(c,0)>=0?void 0:_o(o);if(vf(t)){var s=xf(t);if(s&&R_(r)&&+r>=0)return s}return R_(r)&&f_(t,1)||f_(t,0)}var c}),!0)}function f_(e,t){return pg(e,(function(e){return vc(e,t)}),!0)}function m_(e,t){var r=v_(e.parent,t);if(r){if(ns(e)){var n=p_(r,Ai(e).escapedName);if(n)return n}return F_(e.name)&&f_(r,1)||f_(r,0)}}function g_(e,t){return e&&(p_(e,""+t)||pg(e,(function(e){return Fk(1,e,Ne,void 0,!1)}),!0))}function __(t){var r=t.parent;return e.isJsxAttributeLike(r)?x_(t):e.isJsxElement(r)?function(t,r){var n=v_(t.openingElement.tagName),i=Q_(Y_(t));if(n&&!Pa(n)&&i&&""!==i){var a=e.getSemanticJsxChildren(t.children),o=a.indexOf(r),s=p_(n,i);return s&&(1===a.length?s:pg(s,(function(e){return sf(e)?qu(e,hd(o)):e}),!0))}}(r,t):void 0}function h_(t){if(e.isJsxAttribute(t)){var r=v_(t.parent);if(!r||Pa(r))return;return p_(r,t.name.escapedText)}return x_(t.parent)}function y_(e){switch(e.kind){case 10:case 8:case 9:case 14:case 110:case 95:case 104:case 78:case 151:return!0;case 202:case 208:return y_(e.expression);case 286:return!e.expression||y_(e.expression)}return!1}function v_(t,r){var n=b_(e.isObjectLiteralMethod(t)?function(t,r){if(e.Debug.assert(e.isObjectLiteralMethod(t)),!(16777216&t.flags))return m_(t,r)}(t,r):x_(t,r),t,r);if(n&&!(r&&2&r&&8650752&n.flags)){var i=pg(n,ac,!0);if(1048576&i.flags){if(e.isObjectLiteralExpression(t))return function(t,r){return Lp(r,e.map(e.filter(t.properties,(function(e){return!!e.symbol&&291===e.kind&&y_(e.initializer)&&Lm(r,e.symbol.escapedName)})),(function(e){return[function(){return fb(e.initializer)},e.symbol.escapedName]})),cp,r)}(t,i);if(e.isJsxAttributes(t))return function(t,r){return Lp(r,e.map(e.filter(t.properties,(function(e){return!!e.symbol&&283===e.kind&&Lm(r,e.symbol.escapedName)&&(!e.initializer||y_(e.initializer))})),(function(e){return[e.initializer?function(){return fb(e.initializer)}:function(){return ze},e.symbol.escapedName]})),cp,r)}(t,i)}return i}}function b_(t,r,n){if(t&&Rv(t,465829888)){var i=E_(r);if(i&&e.some(i.inferences,ab)){if(n&&1&n)return k_(t,i.nonFixingMapper);if(i.returnMapper)return k_(t,i.returnMapper)}}return t}function k_(t,r){return 465829888&t.flags?Wd(t,r):1048576&t.flags?ou(e.map(t.types,(function(e){return k_(e,r)})),0):2097152&t.flags?fu(e.map(t.types,(function(e){return k_(e,r)}))):t}function x_(t,r){if(16777216&t.flags);else{if(t.contextualType)return t.contextualType;var n=t.parent;switch(n.kind){case 251:case 161:case 164:case 163:case 199:return function(t,r){var n=t.parent;if(e.hasInitializer(n)&&t===n.initializer){var i=n_(n);if(i)return i;if(!(8&r)&&e.isBindingPattern(n.name))return eo(n.name,!0,!1)}}(t,r);case 210:case 244:return function(t){var r=e.getContainingFunction(t);if(r){var n=o_(r);if(n){var i=e.getFunctionFlags(r);if(1&i){var a=Bk(n,2&i?2:1,void 0);if(!a)return;n=a.returnType}if(2&i){var o=pg(n,Ub);return o&&ou([o,hv(o)])}return n}}}(t);case 221:return function(t){var r=e.getContainingFunction(t);if(r){var n=e.getFunctionFlags(r),i=o_(r);if(i)return t.asteriskToken?i:tx(0,i,!!(2&n))}}(n);case 215:return function(e,t){var r=x_(e,t);if(r){var n=Ub(r);return n&&ou([n,hv(n)])}}(n,r);case 204:case 211:if(100===n.expression.kind)return Re;case 205:return s_(n,t);case 207:case 226:return e.isConstTypeReference(n.type)?function(e){return x_(e)}(n):xd(n.type);case 218:return l_(t,r);case 291:case 292:return m_(n,r);case 293:return v_(n.parent,r);case 200:var i=n;return g_(v_(i,r),e.indexOfNode(i.elements,t));case 219:return function(e,t){var r=e.parent;return e===r.whenTrue||e===r.whenFalse?x_(r,t):void 0}(t,r);case 230:return e.Debug.assert(220===n.parent.kind),function(e,t){if(206===e.parent.kind)return s_(e.parent,t)}(n.parent,t);case 208:var a=e.isInJSFile(n)?e.getJSDocTypeTag(n):void 0;return a?xd(a.typeExpression.type):x_(n,r);case 227:return x_(n,r);case 286:return __(n);case 283:case 285:return h_(n);case 278:case 277:return function(t,r){if(e.isJsxOpeningElement(t)&&t.parent.contextualType&&4!==r)return t.parent.contextualType;return c_(t,0)}(n,r)}}}function E_(t){var r=e.findAncestor(t,(function(e){return!!e.inferenceContext}));return r&&r.inferenceContext}function S_(t,r){return 0!==sy(r)?function(e,t){var r=pv(e,Ae);r=D_(t,Y_(t),r);var n=W_(N.IntrinsicAttributes,t);n!==we&&(r=bs(n,r));return r}(t,r):function(t,r){var n=Y_(r),i=(o=n,X_(N.ElementAttributesPropertyNameContainer,o)),a=void 0===i?pv(t,Ae):""===i?Bc(t):function(e,t){if(e.unionSignatures){for(var r=[],n=0,i=e.unionSignatures;n<i.length;n++){var a=Bc(i[n]);if(Pa(a))return a;var o=Na(a,t);if(!o)return;r.push(o)}return fu(r)}var s=Bc(e);return Pa(s)?s:Na(s,t)}(t,i);var o;if(!a)return i&&e.length(r.attributes.properties)&&pn(r,e.Diagnostics.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,e.unescapeLeadingUnderscores(i)),Ae;if(Pa(a=D_(r,n,a)))return a;var s=a,c=W_(N.IntrinsicClassAttributes,r);if(c!==we){var l=Eo(c.symbol),u=Bc(t);s=bs(l?ol(c,Pc([u],l,Nc(l),e.isInJSFile(r))):c,s)}var d=W_(N.IntrinsicAttributes,r);return d!==we&&(s=bs(d,s)),s}(t,r)}function D_(t,r,n){var i,a=(i=r)&&Nn(i.exports,N.LibraryManagedAttributes,788968);if(a){var o=Jo(a),s=function(e){if(q_(e.tagName))return $c(Ay(e,t=th(e)));var t,r=$v(e.tagName);return 128&r.flags?(t=eh(r,e))?$c(Ay(e,t)):we:r}(t);if(524288&a.flags){var c=Tn(a).typeParameters;if(e.length(c)>=2)return pl(a,Pc([s,n],c,2,e.isInJSFile(t)))}if(e.length(o.typeParameters)>=2)return ol(o,Pc([s,n],o.typeParameters,2,e.isInJSFile(t)))}return n}function w_(t,r){var n=hc(t,0);if(1===n.length){var i=n[0];if(!function(t,r){for(var n=0;n<r.parameters.length;n++){var i=r.parameters[n];if(i.initializer||i.questionToken||i.dotDotDotToken||Dc(i))break}r.parameters.length&&e.parameterIsThisKeyword(r.parameters[0])&&n--;return!cv(t)&&ov(t)<n}(i,r))return i}}function T_(e){return 209===e.kind||210===e.kind}function C_(t){return T_(t)||e.isObjectLiteralMethod(t)?A_(t):void 0}function A_(t){e.Debug.assert(166!==t.kind||e.isObjectLiteralMethod(t));var r=Fc(t);if(r)return r;var n=v_(t,1);if(n){if(!(1048576&n.flags))return w_(n,t);for(var i,a=0,o=n.types;a<o.length;a++){var s=w_(o[a],t);if(s)if(i){if(!ef(i[0],s,!1,!0,!0,ip))return;i.push(s)}else i=[s]}return i?1===i.length?i[0]:fs(i[0],i):void 0}}function N_(e){return 199===e.kind&&!!e.initializer||218===e.kind&&62===e.operatorToken.kind}function P_(t,r,n){for(var i=t.elements,a=i.length,o=[],s=[],c=v_(t),l=e.isAssignmentTarget(t),u=Zv(t),d=0;d<a;d++){var p=i[d];if(222===p.kind){V<2&&jE(p,J.downlevelIteration?1536:1024);var f=fb(p.expression,r,n);if(sf(f))o.push(f),s.push(8);else if(l){var m=kc(f,1)||Fk(65,f,Ne,void 0,!1)||Ae;o.push(m),s.push(4)}else o.push(Ik(33,f,Ne,p.expression)),s.push(4)}else{var g=eb(p,r,g_(c,o.length),n);o.push(g),s.push(1)}}return l?Hl(o,s):n||u||c&&cg(c,lf)?I_(Hl(o,s,u)):I_(jl(o.length?ou(e.sameMap(o,(function(e,t){return 8&s[t]?Vu(e,Me)||Ee:e})),2):W?Ge:Pe,u))}function I_(t){if(!(4&e.getObjectFlags(t)))return t;var r=t.literalType;return r||((r=t.literalType=sl(t)).objectFlags|=1114112),r}function F_(e){switch(e.kind){case 159:return function(e){return Mv(M_(e),296)}(e);case 78:return R_(e.escapedText);case 8:case 10:return R_(e.text);default:return!1}}function O_(e){return"Infinity"===e||"-Infinity"===e||"NaN"===e}function R_(e){return(+e).toString()===e}function M_(t){var r=Cn(t.expression);return r.resolvedType||(r.resolvedType=fb(t.expression),98304&r.resolvedType.flags||!Mv(r.resolvedType,402665900)&&!cp(r.resolvedType,Xe)?pn(t,e.Diagnostics.A_computed_property_name_must_be_of_type_string_number_symbol_or_any):qh(t.expression,r.resolvedType,!0)),r.resolvedType}function L_(t,r,n,i){for(var a,o,s,c=[],l=r;l<n.length;l++)(0===i||(a=n[l],o=void 0,s=void 0,s=null===(o=a.declarations)||void 0===o?void 0:o[0],R_(a.escapedName)||s&&e.isNamedDeclaration(s)&&F_(s.name)))&&c.push(_o(n[l]));return Qc(c.length?ou(c,2):Ne,Zv(t))}function j_(t){e.Debug.assert(!!(2097152&t.flags),"Should only get Alias here.");var r=Tn(t);if(!r.immediateTarget){var n=Vn(t);if(!n)return e.Debug.fail();r.immediateTarget=ri(n,!0)}return r.immediateTarget}function B_(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(293!==o.kind){var s=o.name;if(159===s.kind&&YE(s),292===o.kind&&!r&&o.objectAssignmentInitializer)return fS(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);if(79===s.kind)return fS(s,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies);if(o.modifiers)for(var c=0,l=o.modifiers;c<l.length;c++){var u=l[c];130===u.kind&&166===o.kind||fS(u,e.Diagnostics._0_modifier_cannot_be_used_here,e.getTextOfNode(u))}var d=void 0;switch(o.kind){case 292:ZE(o.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context);case 291:QE(o.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional),8===s.kind&&_S(s),d=4;break;case 166:d=8;break;case 168:d=1;break;case 169:d=2;break;default:throw e.Debug.assertNever(o,"Unexpected syntax kind:"+o.kind)}if(!r){var p=e.getPropertyNameForPropertyNameNode(s);if(void 0===p)continue;var f=n.get(p);if(f)if(12&d&&12&f)fS(s,e.Diagnostics.Duplicate_identifier_0,e.getTextOfNode(s));else{if(!(3&d&&3&f))return fS(s,e.Diagnostics.An_object_literal_cannot_have_property_and_accessor_with_the_same_name);if(3===f||d===f)return fS(s,e.Diagnostics.An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name);n.set(p,d|f)}else n.set(p,d)}}else if(r){var m=e.skipParentheses(o.expression);if(e.isArrayLiteralExpression(m)||e.isObjectLiteralExpression(m))return fS(o.expression,e.Diagnostics.A_rest_element_cannot_contain_a_binding_pattern)}}}(t,n);for(var i=W?e.createSymbolTable():void 0,a=e.createSymbolTable(),o=[],s=nt,c=v_(t),l=c&&c.pattern&&(197===c.pattern.kind||201===c.pattern.kind),u=Zv(t),d=u?8:0,p=e.isInJSFile(t)&&!e.isInJsonFile(t),f=e.getJSDocEnumTag(t),m=!c&&p&&!f,g=ee,_=!1,h=!1,y=!1,v=0,b=t.properties;v<b.length;v++){var k=b[v];k.name&&e.isComputedPropertyName(k.name)&&!e.isWellKnownSymbolSyntactically(k.name)&&M_(k.name)}for(var x=0,E=0,S=t.properties;E<S.length;E++){var D=S[E],w=Ai(D),T=D.name&&159===D.name.kind&&!e.isWellKnownSymbolSyntactically(D.name.expression)?M_(D.name):void 0;if(291===D.kind||292===D.kind||e.isObjectLiteralMethod(D)){var C=291===D.kind?tb(D,r):292===D.kind?eb(!n&&D.objectAssignmentInitializer?D.objectAssignmentInitializer:D.name,r):rb(D,r);if(p){var A=ja(D);A?(pp(C,A,D),C=A):f&&f.typeExpression&&pp(C,xd(f.typeExpression),D)}g|=3670016&e.getObjectFlags(C);var N=T&&Zo(T)?T:void 0,P=N?yn(4|w.flags,is(N),4096|d):yn(4|w.flags,w.escapedName,d);if(N&&(P.nameType=N),n)(291===D.kind&&N_(D.initializer)||292===D.kind&&D.objectAssignmentInitializer)&&(P.flags|=16777216);else if(l&&!(512&e.getObjectFlags(c))){var I=gc(c,w.escapedName);I?P.flags|=16777216&I.flags:J.suppressExcessPropertyErrors||bc(c,0)||pn(D.name,e.Diagnostics.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,la(w),da(c))}P.declarations=w.declarations,P.parent=w.parent,w.valueDeclaration&&(P.valueDeclaration=w.valueDeclaration),P.type=C,P.target=w,w=P,null==i||i.set(P.escapedName,P)}else{if(293===D.kind){if(V<2&&jE(D,2),o.length>0&&(s=ld(s,R(),t.symbol,g,u),o=[],a=e.createSymbolTable(),h=!1,y=!1),!z_(C=uc(fb(D.expression))))return pn(D,e.Diagnostics.Spread_types_may_only_be_created_from_object_types),we;i&&H_(C,i,D),s=ld(s,C,t.symbol,g,u),x=o.length;continue}e.Debug.assert(168===D.kind||169===D.kind),Lx(D)}!T||8576&T.flags?a.set(w.escapedName,w):cp(T,Xe)&&(cp(T,Me)?y=!0:h=!0,n&&(_=!0)),o.push(w)}if(l&&293!==t.parent.kind)for(var F=0,O=Hs(c);F<O.length;F++){P=O[F];a.get(P.escapedName)||gc(s,P.escapedName)||(16777216&P.flags||pn(P.valueDeclaration||P.bindingElement,e.Diagnostics.Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value),a.set(P.escapedName,P),o.push(P))}return s!==nt?(o.length>0&&(s=ld(s,R(),t.symbol,g,u),o=[],a=e.createSymbolTable(),h=!1,y=!1),pg(s,(function(e){return e===nt?R():e}))):R();function R(){var r=h?L_(t,x,o,0):void 0,i=y?L_(t,x,o,1):void 0,s=Wi(t.symbol,a,e.emptyArray,e.emptyArray,r,i);return s.objectFlags|=1048704|g,m&&(s.objectFlags|=16384),_&&(s.objectFlags|=512),n&&(s.pattern=t),s}}function z_(t){if(465829888&t.flags){var r=Qs(t);if(void 0!==r)return z_(r)}return!!(126615553&t.flags||117632&wf(t)&&z_(Tf(t))||3145728&t.flags&&e.every(t.types,z_))}function U_(t){return!e.stringContains(t,"-")}function q_(t){return 78===t.kind&&e.isIntrinsicJsxName(t.escapedText)}function J_(e,t){return e.initializer?eb(e.initializer,t):ze}function V_(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(Re);else{if(286===a.kind&&!a.expression)continue;r.push(eb(a,t))}}return r}function H_(t,r,n){for(var i=0,a=Hs(t);i<a.length;i++){var o=a[i],s=r.get(o.escapedName),c=_o(o);if(s&&!Rv(c,98304)&&!(Rv(c,3)&&16777216&o.flags)){var l=pn(s.valueDeclaration,e.Diagnostics._0_is_specified_more_than_once_so_this_usage_will_be_overwritten,e.unescapeLeadingUnderscores(s.escapedName));e.addRelatedInfo(l,e.createDiagnosticForNode(n,e.Diagnostics.This_spread_always_overwrites_this_property))}}}function K_(t,r){return function(t,r){for(var n,i=t.attributes,a=W?e.createSymbolTable():void 0,o=e.createSymbolTable(),s=it,c=!1,l=!1,u=4096,d=Q_(Y_(t)),p=0,f=i.properties;p<f.length;p++){var m=f[p],g=m.symbol;if(e.isJsxAttribute(m)){var _=J_(m,r);u|=3670016&e.getObjectFlags(_);var h=yn(4|g.flags,g.escapedName);h.declarations=g.declarations,h.parent=g.parent,g.valueDeclaration&&(h.valueDeclaration=g.valueDeclaration),h.type=_,h.target=g,o.set(h.escapedName,h),null==a||a.set(h.escapedName,h),m.name.escapedText===d&&(l=!0)}else e.Debug.assert(285===m.kind),o.size>0&&(s=ld(s,S(),i.symbol,u,!1),o=e.createSymbolTable()),Pa(_=uc($v(m.expression,r)))&&(c=!0),z_(_)?(s=ld(s,_,i.symbol,u,!1),a&&H_(_,a,m)):n=n?fu([n,_]):_}c||o.size>0&&(s=ld(s,S(),i.symbol,u,!1));var y=276===t.parent.kind?t.parent:void 0;if(y&&y.openingElement===t&&y.children.length>0){var v=V_(y,r);if(!c&&d&&""!==d){l&&pn(i,e.Diagnostics._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,e.unescapeLeadingUnderscores(d));var b=v_(t.attributes),k=b&&p_(b,d),x=yn(4,d);x.type=1===v.length?v[0]:k&&cg(k,lf)?Hl(v):jl(ou(v)),x.valueDeclaration=e.factory.createPropertySignature(void 0,e.unescapeLeadingUnderscores(d),void 0,void 0),e.setParent(x.valueDeclaration,i),x.valueDeclaration.symbol=x;var E=e.createSymbolTable();E.set(d,x),s=ld(s,Wi(i.symbol,E,e.emptyArray,e.emptyArray,void 0,void 0),i.symbol,u,!1)}}return c?Ee:n&&s!==it?fu([n,s]):n||(s===it?S():s);function S(){u|=ee;var t=Wi(i.symbol,o,e.emptyArray,e.emptyArray,void 0,void 0);return t.objectFlags|=1048704|u,t}}(t.parent,r)}function W_(e,t){var r=Y_(t),n=r&&Si(r),i=n&&Nn(n,e,788968);return i?Jo(i):we}function G_(t){var r=Cn(t);if(!r.resolvedSymbol){var n=W_(N.IntrinsicElements,t);if(n!==we){if(!e.isIdentifier(t.tagName))return e.Debug.fail();var i=gc(n,t.tagName.escapedText);return i?(r.jsxFlags|=1,r.resolvedSymbol=i):kc(n,0)?(r.jsxFlags|=2,r.resolvedSymbol=n.symbol):(pn(t,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.idText(t.tagName),"JSX."+N.IntrinsicElements),r.resolvedSymbol=ke)}return X&&pn(t,e.Diagnostics.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists,e.unescapeLeadingUnderscores(N.IntrinsicElements)),r.resolvedSymbol=ke}return r.resolvedSymbol}function $_(t){var r=t&&e.getSourceFileOfNode(t),n=r&&Cn(r);if(!n||!1!==n.jsxImplicitImportContainer){if(n&&n.jsxImplicitImportContainer)return n.jsxImplicitImportContainer;var i=e.getJSXRuntimeImport(e.getJSXImplicitImportBase(J,r),J);if(i){var a=hi(t,i,e.getEmitModuleResolutionKind(J)===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!==ke?Ci(ii(a)):void 0;return n&&(n.jsxImplicitImportContainer=o||!1),o}}}function Y_(e){var t=e&&Cn(e);if(t&&t.jsxNamespace)return t.jsxNamespace;if(!t||!1!==t.jsxNamespace){var r=$_(e);if(!r||r===ke){var n=un(e);r=Fn(e,n,1920,void 0,n,!1)}if(r){var i=ii(Nn(Si(ii(r)),N.JSX,1920));if(i&&i!==ke)return t&&(t.jsxNamespace=i),i}t&&(t.jsxNamespace=!1)}var a=ii(Cl(N.JSX,1920,void 0));return a!==ke?a:void 0}function X_(t,r){var n=r&&Nn(r.exports,t,788968),i=n&&Jo(n),a=i&&Hs(i);if(a){if(0===a.length)return"";if(1===a.length)return a[0].escapedName;a.length>1&&pn(n.declarations[0],e.Diagnostics.The_global_type_JSX_0_may_not_have_more_than_one_property,e.unescapeLeadingUnderscores(t))}}function Q_(e){return X_(N.ElementChildrenAttributeNameContainer,e)}function Z_(t,r){if(4&t.flags)return[lr];if(128&t.flags){var n=eh(t,r);return n?[Ay(r,n)]:(pn(r,e.Diagnostics.Property_0_does_not_exist_on_type_1,t.value,"JSX."+N.IntrinsicElements),e.emptyArray)}var i=ac(t),a=hc(i,1);return 0===a.length&&(a=hc(i,0)),0===a.length&&1048576&i.flags&&(a=ys(e.map(i.types,(function(e){return Z_(e,r)})))),a}function eh(t,r){var n=W_(N.IntrinsicElements,r);if(n!==we){var i=t.value,a=gc(n,e.escapeLeadingUnderscores(i));if(a)return _o(a);var o=kc(n,0);return o||void 0}return Ee}function th(t){e.Debug.assert(q_(t.tagName));var r=Cn(t);if(!r.resolvedJsxElementAttributesType){var n=G_(t);return 1&r.jsxFlags?r.resolvedJsxElementAttributesType=_o(n):2&r.jsxFlags?r.resolvedJsxElementAttributesType=kc(Jo(n),0):r.resolvedJsxElementAttributesType=we}return r.resolvedJsxElementAttributesType}function rh(e){var t=W_(N.ElementClass,e);if(t!==we)return t}function nh(e){return W_(N.Element,e)}function ih(e){var t=nh(e);if(t)return ou([t,Fe])}function ah(t){var r,n=e.isJsxOpeningLikeElement(t);if(n&&function(t){KE(t,t.typeArguments);for(var r=new e.Map,n=0,i=t.attributes.properties;n<i.length;n++){var a=i[n];if(285!==a.kind){var o=a.name,s=a.initializer;if(r.get(o.escapedText))return fS(o,e.Diagnostics.JSX_elements_cannot_have_multiple_attributes_with_the_same_name);if(r.set(o.escapedText,!0),s&&286===s.kind&&!s.expression)return fS(s,e.Diagnostics.JSX_attributes_must_only_be_assigned_a_non_empty_expression)}}}(t),r=t,0===(J.jsx||0)&&pn(r,e.Diagnostics.Cannot_use_JSX_unless_the_jsx_flag_is_provided),void 0===nh(r)&&X&&pn(r,e.Diagnostics.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist),!$_(t)){var i=Qr&&2===J.jsx?e.Diagnostics.Cannot_find_name_0:void 0,a=un(t),o=n?t.tagName:t,s=void 0;e.isJsxOpeningFragment(t)&&"null"===a||(s=Fn(o,a,111551,i,a,!0)),s&&(s.isReferenced=67108863,2097152&s.flags&&!ci(s)&&ui(s))}if(n){var c=t,l=Iy(c);Uy(l,t),function(t,r,n){if(1===t)(i=ih(n))&&Op(r,i,an,n.tagName,e.Diagnostics.Its_return_type_0_is_not_a_valid_JSX_element,o);else if(0===t)(a=rh(n))&&Op(r,a,an,n.tagName,e.Diagnostics.Its_instance_type_0_is_not_a_valid_JSX_element,o);else{var i=ih(n),a=rh(n);if(!i||!a)return;Op(r,ou([i,a]),an,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)}}(sy(c),Bc(l),c)}}function oh(e,t,r){if(524288&e.flags){var n=Us(e);if(n.stringIndexInfo||n.numberIndexInfo&&R_(t)||Js(e,t)||r&&!U_(t))return!0}else if(3145728&e.flags&&sh(e))for(var i=0,a=e.types;i<a.length;i++){if(oh(a[i],t,r))return!0}return!1}function sh(t){return!!(524288&t.flags&&!(512&e.getObjectFlags(t))||67108864&t.flags||1048576&t.flags&&e.some(t.types,sh)||2097152&t.flags&&e.every(t.types,sh))}function ch(t,r){if(function(t){if(t.expression&&e.isCommaSequence(t.expression))fS(t.expression,e.Diagnostics.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array)}(t),t.expression){var n=fb(t.expression,r);return t.dotDotDotToken&&n!==Ee&&!rf(n)&&pn(t,e.Diagnostics.JSX_spread_child_must_be_an_array_type),n}return we}function lh(t){return t.valueDeclaration?e.getCombinedNodeFlags(t.valueDeclaration):0}function uh(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 dh(t,r,n,i){var a,o=e.getDeclarationModifierFlagsFromSymbol(i),s=158===t.kind?t.right:196===t.kind?t:t.name;if(r){if(V<2&&ph(i))return pn(s,e.Diagnostics.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword),!1;if(128&o)return pn(s,e.Diagnostics.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,la(i),da(Gp(i))),!1}if(128&o&&e.isThisProperty(t)&&ph(i)&&((a=e.getClassLikeDeclarationOfSymbol(Ni(i)))&&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 pn(s,e.Diagnostics.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,la(i),e.getTextOfIdentifierOrLiteral(a.name)),!1;if(e.isPropertyAccessExpression(t)&&e.isPrivateIdentifier(t.name))return!!e.getContainingClass(t)||(pn(s,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),!1);if(!(24&o))return!0;if(8&o)return!!Wx(t,a=e.getClassLikeDeclarationOfSymbol(Ni(i)))||(pn(s,e.Diagnostics.Property_0_is_private_and_only_accessible_within_class_1,la(i),da(Gp(i))),!1);if(r)return!0;var c=Kx(t,(function(t){var r=Jo(Ai(t));return function(t,r){return Wp(r,(function(r){return!!(16&e.getDeclarationModifierFlagsFromSymbol(r))&&!vo(t,Gp(r))}))?void 0:t}(r,i)?r:void 0}));if(!c){var l=void 0;if(32&o||!(l=function(t){var r=e.getThisContainer(t,!1);return r&&e.isFunctionLike(r)?e.getThisParameter(r):void 0}(t))||!l.type)return pn(s,e.Diagnostics.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,la(i),da(Gp(i)||n)),!1;var u=xd(l.type);c=(262144&u.flags?Ws(u):u).target}return!!(32&o)||(262144&n.flags&&(n=n.isThisType?Ws(n):Qs(n)),!(!n||!vo(n,c))||(pn(s,e.Diagnostics.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1,la(i),da(c)),!1))}function ph(e){return!!Wp(e,(function(e){return!(8192&e.flags)}))}function fh(e,t){return vh(fb(e,t),e)}function mh(e){return!!(98304&(W?wf(e):e.flags))}function gh(e){return mh(e)?Pf(e):e}function _h(t,r){pn(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 hh(t,r){pn(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 yh(t,r,n){if(W&&2&t.flags)return pn(r,e.Diagnostics.Object_is_of_type_unknown),we;var i=98304&(W?wf(t):t.flags);if(i){n(r,i);var a=Pf(t);return 229376&a.flags?we:a}return t}function vh(e,t){return yh(e,t,_h)}function bh(t,r){var n=vh(t,r);return n!==we&&16384&n.flags&&pn(r,e.Diagnostics.Object_is_possibly_undefined),n}function kh(r,n){return 32!==n&&function(r){if(!t.getTagNameNeededCheckByFile)return;var n=e.getSourceFileOfNode(r),i=function(t){var r,n=t.name,i=fh(t.expression),a=e.getAssignmentTargetKind(t),o=ac(0!==a||Eh(t)?Hf(i):i);if(e.isPrivateIdentifier(n)){var s=Sh(n.escapedText,n);r=s?Dh(i,s):void 0}else if(!(r=gc(o,n.escapedText))){var c=e.getEtsComponentExpressionInnerExpressionStatementNode(t)||e.getRootEtsComponentInnerCallExpressionNode(t);c&&(r=function(t,r,n){var i,a,o,s,c,l=e.getSourceFileOfNode(t).locals;if(null==l?void 0:l.has(n.escapedText)){var u=null==l?void 0:l.get(n.escapedText),d=e.isIdentifier(r)?r.escapedText:e.isIdentifier(t.expression)?t.expression.escapedText:void 0;e.getEtsExtendDecoratorsComponentNames(null===(i=null==u?void 0:u.valueDeclaration)||void 0===i?void 0:i.decorators,J).find((function(e){return e===d}))&&(c=u),e.hasEtsStylesDecoratorNames(null===(a=null==u?void 0:u.valueDeclaration)||void 0===a?void 0:a.decorators,J)&&(c=u)}var p=null===(o=e.getContainingStruct(t))||void 0===o?void 0:o.symbol.members;if(null==p?void 0:p.has(n.escapedText)){var f=null==p?void 0:p.get(n.escapedText);e.hasEtsStylesDecoratorNames(null===(s=null==f?void 0:f.valueDeclaration)||void 0===s?void 0:s.decorators,J)&&(c=f)}return c}(t,c,n))}return r}(r);if(!i||!i.valueDeclaration)return;var a=e.getSourceFileOfNode(i.valueDeclaration);if(!a)return;var o=t.getTagNameNeededCheckByFile(n.fileName,a.fileName);if(!o.needCheck)return;e.isIdentifier(r.name)&&jy(i.getJsDocTags(),r.name,n,o.checkConfig)}(r),32&r.flags?function(e,t){var r=fb(e.expression,t),n=Mf(r,e.expression);return Rf(Th(e,e.expression,vh(n,e.expression),e.name),e,n!==r)}(r,n):Th(r,r.expression,fh(r.expression,n),r.name)}function xh(e){return Th(e,e.left,fh(e.left),e.right)}function Eh(t){for(;208===t.parent.kind;)t=t.parent;return e.isCallOrNewExpression(t.parent)&&t.parent.expression===t}function Sh(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 Dh(e,t){return gc(e,t.escapedName)}function wh(t,r){return(qa(r)||e.isThisProperty(t)&&Ja(r))&&e.getThisContainer(t,!0)===Va(r)}function Th(r,n,i,a){var o,s,c,u,d=Cn(n).resolvedSymbol,p=e.getAssignmentTargetKind(r),f=ac(0!==p||Eh(r)?Hf(i):i);e.isPrivateIdentifier(a)&&jE(r,524288);var m,g,_=Pa(f)||f===Ke;if(e.isPrivateIdentifier(a)){var h=Sh(a.escapedText,a);if(_){if(h)return f;if(!e.getContainingClass(a))return fS(a,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),Ee}if(!(m=h?Dh(i,h):void 0)&&function(t,r,n){var i,a=Hs(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=Ln(r);if(i){var s=i.valueDeclaration,c=e.getContainingClass(s);if(e.Debug.assert(!!c),n){var u=n.valueDeclaration,d=e.getContainingClass(u);if(e.Debug.assert(!!d),e.findAncestor(d,(function(e){return c===e}))){var p=pn(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,da(t));return e.addRelatedInfo(p,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 pn(r,e.Diagnostics.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,o,Ln(c.name||l)),!0}return!1}(i,a,h))return we}else{if(_)return e.isIdentifier(n)&&d&&Jg(d,r),f;if(!(m=gc(f,a.escapedText))){var y=e.getEtsComponentExpressionInnerCallExpressionNode(r)||e.getRootEtsComponentInnerCallExpressionNode(r),v=e.getSourceFileOfNode(r).locals;if(y&&(null==v?void 0:v.has(a.escapedText))){var b=null==v?void 0:v.get(a.escapedText),k=78===y.expression.kind?y.expression.escapedText:void 0;e.getEtsExtendDecoratorComponentNames(null===(o=null==b?void 0:b.valueDeclaration)||void 0===o?void 0:o.decorators,J).find((function(e){return e===k}))&&(m=b),e.hasEtsStylesDecoratorNames(null===(s=null==b?void 0:b.valueDeclaration)||void 0===s?void 0:s.decorators,J)&&(m=b)}var x=null===(c=e.getContainingStruct(r))||void 0===c?void 0:c.symbol.members;if(y&&(null==x?void 0:x.has(a.escapedText))){var E=null==x?void 0:x.get(a.escapedText);e.hasEtsStylesDecoratorNames(null===(u=null==E?void 0:E.valueDeclaration)||void 0===u?void 0:u.decorators,J)&&(m=E)}}}if(e.isIdentifier(n)&&d&&(J.isolatedModules||!m||!mE(m)||e.shouldPreserveConstEnums(J)&&qg(r))&&Jg(d,r),m){if(134217728&lh(m)&&Nu(r,m)&&hn(a,m.declarations,a.escapedText),function(r,n,i){var a,o,s=r.valueDeclaration;if(!s||e.getSourceFileOfNode(n).isDeclarationFile)return;var c=e.idText(i);if(!function(t){return!!e.findAncestor(t,(function(t){switch(t.kind){case 164:return!0;case 291:case 166:case 168:case 169:case 293:case 159:case 230:case 286:case 283:case 284:case 285:case 278:case 225:case 289:return!1;default:return!e.isExpressionNode(t)&&"quit"}}))}(n)||e.isAccessExpression(n)&&e.isAccessExpression(n.expression)||Pn(s,i)||function(e){if(!(32&e.parent.flags))return!1;var t=_o(e.parent);for(;;){if(!(t=t.symbol&&Ah(t)))return!1;var r=gc(t,e.escapedName);if(r&&r.valueDeclaration)return!0}}(r))254!==s.kind||174===n.parent.kind||8388608&s.flags||Pn(s,i)||(o=pn(i,e.Diagnostics.Class_0_used_before_its_declaration,c));else{var l=!1;(null==r?void 0:r.valueDeclaration.decorators)&&(l=null===(a=t.getCompilerOptions().ets)||void 0===a?void 0:a.propertyDecorators.some((function(t){var n;return null===(n=null==r?void 0:r.valueDeclaration.decorators)||void 0===n?void 0:n.some((function(r){return!(!e.isIdentifier(r.expression)||t.name!==r.expression.escapedText.toString()||t.needInitialization)}))}))),l||(o=pn(i,e.Diagnostics.Property_0_is_used_before_its_initialization,c))}o&&e.addRelatedInfo(o,e.createDiagnosticForNode(s,e.Diagnostics._0_is_declared_here,c))}(m,r,a),Lh(m,r,108===n.kind),Cn(r).resolvedSymbol=m,dh(r,106===n.kind,f,m),Pv(r,m,p))return pn(a,e.Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property,e.idText(a)),we;g=wh(r,m)?Se:Ug(_o(m),r)}else{var S=e.isPrivateIdentifier(a)||0!==p&&Ru(i)&&!Lu(i)?void 0:bc(f,0);if(!S||!S.type)return Cu(i)?Ee:i.symbol===ae?(ae.exports.has(a.escapedText)&&418&ae.exports.get(a.escapedText).flags?pn(a,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.unescapeLeadingUnderscores(a.escapedText),da(i)):X&&pn(a,e.Diagnostics.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,da(i)),Ee):(a.escapedText&&!Bn(r)&&function(t,r){var n,i;if(!e.isPrivateIdentifier(t)&&1048576&r.flags&&!(131068&r.flags))for(var a=0,o=r.types;a<o.length;a++){var s=o[a];if(!gc(s,t.escapedText)&&!bc(s,0)){n=e.chainDiagnosticMessages(n,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.declarationNameToString(t),da(s));break}}if(Nh(t.escapedText,r)){var c=e.declarationNameToString(t),l=da(r);n=e.chainDiagnosticMessages(n,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,c,l,l+"."+c)}else{var u=Bb(r);if(u&&gc(u,t.escapedText))n=e.chainDiagnosticMessages(n,e.Diagnostics.Property_0_does_not_exist_on_type_1,e.declarationNameToString(t),da(r)),i=e.createDiagnosticForNode(t,e.Diagnostics.Did_you_forget_to_use_await);else{var d=e.declarationNameToString(t),p=da(r),f=function(t,r){var n=ac(r).symbol;if(!n)return;for(var i=e.getScriptTargetFeatures(),a=e.getOwnKeys(i),o=0,s=a;o<s.length;o++){var c=s[o],l=i[c][e.symbolName(n)];if(void 0!==l&&e.contains(l,t))return c}}(d,r);if(void 0!==f)n=e.chainDiagnosticMessages(n,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,p,f);else{var m=Ph(t,r);if(void 0!==m){var g=e.symbolName(m);n=e.chainDiagnosticMessages(n,e.Diagnostics.Property_0_does_not_exist_on_type_1_Did_you_mean_2,d,p,g),i=m.valueDeclaration&&e.createDiagnosticForNode(m.valueDeclaration,e.Diagnostics._0_is_declared_here,g)}else n=e.chainDiagnosticMessages(mc(n,r),e.Diagnostics.Property_0_does_not_exist_on_type_1,d,p)}}}var _=e.createDiagnosticForNodeFromMessageChain(t,n);i&&e.addRelatedInfo(_,i);Qr.add(_)}(a,Lu(i)?f:i),we);S.isReadonly&&(e.isAssignmentTarget(r)||e.isDeleteTarget(r))&&pn(r,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,da(f)),g=J.noUncheckedIndexedAccess&&!e.isAssignmentTarget(r)?ou([S.type,Ne]):S.type,J.noPropertyAccessFromIndexSignature&&e.isPropertyAccessExpression(r)&&pn(a,e.Diagnostics.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0,e.unescapeLeadingUnderscores(a.escapedText))}return Ch(r,m,g,a)}function Ch(t,r,n,i){var a=e.getAssignmentTargetKind(t);if(1===a||r&&!(98311&r.flags)&&!(8192&r.flags&&1048576&n.flags))return n;if(n===Se)return Ka(t,r);var o=!1;if(W&&Y&&e.isAccessExpression(t)&&108===t.expression.kind){var s=r&&r.valueDeclaration;if(s&&_x(s)){var c=Rg(t);167!==c.kind||c.parent!==s.parent||8388608&s.flags||(o=!0)}}else W&&r&&r.valueDeclaration&&e.isPropertyAccessExpression(r.valueDeclaration)&&e.getAssignmentDeclarationPropertyAccessKind(r.valueDeclaration)&&Rg(t)===Rg(r.valueDeclaration)&&(o=!0);var l=Og(t,n,o?Nf(n):n);return o&&!(32768&wf(n))&&32768&wf(l)?(pn(i,e.Diagnostics.Property_0_is_used_before_being_assigned,la(r)),n):a?mf(l):l}function Ah(e){var t=Po(e);if(0!==t.length)return fu(t)}function Nh(t,r){var n=r.symbol&&gc(_o(r.symbol),t);return void 0!==n&&n.valueDeclaration&&e.hasSyntacticModifier(n.valueDeclaration,32)}function Ph(t,r){return Mh(e.isString(t)?t:e.idText(t),Hs(r),111551)}function Ih(t,r){var n=e.isString(t)?t:e.idText(t),i=Hs(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:Mh(n,i,111551)}function Fh(t,r){var n=Ph(t,r);return n&&e.symbolName(n)}function Oh(t,r,n){e.Debug.assert(void 0!==r,"outername should always be defined");var i=On(t,r,n,void 0,r,!1,!1,(function(t,n,i,a){return e.Debug.assertEqual(r,n,"name should equal outerName"),Nn(t,n,i,a)||Mh(e.unescapeLeadingUnderscores(n),e.arrayFrom(t.values()),i)}));return i}function Rh(t,r){return r.exports&&Mh(e.idText(t),xi(r),2623475)}function Mh(t,r,n){return e.getSpellingSuggestion(t,r,(function(t){var r=e.symbolName(t);if(e.startsWith(r,'"'))return;if(t.flags&n)return r;if(2097152&t.flags){var i=function(e){if(Tn(e).target!==xe)return ai(e)}(t);if(i&&i.flags&n)return r}return}))}function Lh(t,r,n){var i=t&&106500&t.flags&&t.valueDeclaration;if(i){var a=e.hasEffectiveModifier(i,8),o=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)?Tn(t).target:t).isReferenced=67108863}}}function jh(t,r,n,i){if(i===we||Pa(i))return!0;var a=gc(i,n);if(a){if(e.isPropertyAccessExpression(t)&&a.valueDeclaration&&e.isPrivateIdentifierPropertyDeclaration(a.valueDeclaration)){var o=e.getContainingClass(a.valueDeclaration);return!e.isOptionalChain(t)&&!!e.findAncestor(t,(function(e){return e===o}))}return dh(t,r,i,a)}return e.isInJSFile(t)&&!!(1048576&i.flags)&&i.types.some((function(e){return jh(t,r,n,e)}))}function Bh(t){var r=t.initializer;if(252===r.kind){var n=r.declarations[0];if(n&&!e.isBindingPattern(n.name))return Ai(n)}else if(78===r.kind)return Am(r)}function zh(e){return 32&e.flags?function(e){var t=fb(e.expression),r=Mf(t,e.expression);return Rf(Uh(e,vh(r,e.expression)),e,r!==t)}(e):Uh(e,fh(e.expression))}function Uh(t,r){var n=0!==e.getAssignmentTargetKind(t)||Eh(t)?Hf(r):r,i=t.argumentExpression,a=fb(i);if(n===we||n===Ke)return n;if(jv(n)&&!e.isStringLiteralLike(i))return pn(i,e.Diagnostics.A_const_enum_member_can_only_be_accessed_using_a_string_literal),we;var o=function(t){var r,n=e.skipParentheses(t);if(78===n.kind){var i=Am(n);if(3&i.flags)for(var a=t,o=t.parent;o;){if(240===o.kind&&a===o.statement&&Bh(o)===i&&kc(r=ub(o.expression),1)&&!kc(r,0))return!0;a=o,o=o.parent}}return!1}(i)?Me:a,s=Vu(n,o,void 0,t,16|(e.isAssignmentTarget(t)?2|(Ru(n)&&!Lu(n)?1:0):0))||we;return Ib(Ch(t,s.symbol,s,i),t)}function qh(t,r,n){if(r===we)return!1;if(!e.isWellKnownSymbolSyntactically(t))return!1;if(!(12288&r.flags))return n&&pn(t,e.Diagnostics.A_computed_property_name_of_the_form_0_must_be_of_type_symbol,e.getTextOfNode(t)),!1;var i=t.expression,a=Am(i);if(!a)return!1;var o=Nl(!0);return!!o&&(a===o||(n&&pn(i,e.Diagnostics.Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object),!1))}function Jh(t){return e.isCallOrNewExpression(t)||e.isTaggedTemplateExpression(t)||e.isJsxOpeningLikeElement(t)}function Vh(t){return Jh(t)&&e.forEach(t.typeArguments,Rx),206===t.kind?fb(t.template):e.isJsxOpeningLikeElement(t)?fb(t.attributes):162!==t.kind&&e.forEach(t.arguments,(function(e){fb(e)})),lr}function Hh(e){return Vh(e),ur}function Kh(e){return!!e&&(222===e.kind||229===e.kind&&e.isSpread)}function Wh(t){return e.findIndex(t,Kh)}function Gh(e){return!!(16384&e.flags)}function $h(e){return!!(49155&e.flags)}function Yh(t,r,n,i){var a;void 0===i&&(i=!1);var o=!1,s=ov(n),c=sv(n);if(206===t.kind)if(a=r.length,220===t.template.kind){var l=e.last(t.template.templateSpans);o=e.nodeIsMissing(l.literal)||!!l.literal.isUnterminated}else{var u=t.template;e.Debug.assert(14===u.kind),o=!!u.isUnterminated}else if(162===t.kind)a=py(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(205===t.kind),0===sv(n);a=i?r.length+1:r.length,o=t.arguments.end===t.end;var d=Wh(r);if(d>=0)return d>=sv(n)&&(cv(n)||d<ov(n))}if(!cv(n)&&a>s)return!1;if(o||a>=c)return!0;for(var p=a;p<c;p++){if(131072&ug(nv(n,p),e.isInJSFile(t)&&!W?$h:Gh).flags)return!1}return!0}function Xh(t,r,n){var i=n?1:e.length(t.typeParameters),a=n?1:Nc(t.typeParameters);return!e.some(r)||r.length>=a&&r.length<=i}function Qh(e){return ey(e,0,!1)}function Zh(e){return ey(e,0,!1)||ey(e,1,!1)}function ey(e,t,r){if(524288&e.flags){var n=Us(e);if(r||0===n.properties.length&&!n.stringIndexInfo&&!n.numberIndexInfo){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 ty(t,r,n,i){var a=Qf(t.typeParameters,t,0,i),o=lv(r),s=n&&(o&&262144&o.flags?n.nonFixingMapper:n.mapper);return Yf(s?jd(r,s):r,t,(function(e,t){ym(a.inferences,e,t)})),n||Xf(r,t,(function(e,t){ym(a.inferences,e,t,64)})),Jc(t,Tm(a),e.isInJSFile(r.declaration))}function ry(t){if(!t)return Ve;var r=fb(t);return e.isOptionalChainRoot(t.parent)?Pf(r):e.isOptionalChain(t.parent)?Of(r):r}function ny(t,r,n,i,a){if(e.isJsxOpeningLikeElement(t))return function(e,t,r,n){var i=S_(t,e),a=Gv(e.attributes,i,n,r);return ym(n.inferences,a,i),Tm(n)}(t,r,i,a);if(162!==t.kind){var o=x_(t,e.every(r.typeParameters,(function(e){return!!nc(e)}))?8:0);if(o){var s=E_(t),c=im(function(t,r){return void 0===r&&(r=0),t&&Zf(e.map(t.inferences,nm),t.signature,t.flags|r,t.compareTypes)}(s,1)),l=Wd(o,c),u=Qh(l),d=u&&u.typeParameters?$c(Vc(u,u.typeParameters)):l,p=Bc(r);ym(a.inferences,d,p,64);var f=Qf(r.typeParameters,r,a.flags),m=Wd(o,s&&s.returnMapper);ym(f.inferences,m,p),a.returnMapper=e.some(f.inferences,ab)?im(function(t){var r=e.filter(t.inferences,ab);return r.length?Zf(e.map(r,nm),t.signature,t.flags,t.compareTypes):void 0}(f)):void 0}}var g=uv(r),_=g?Math.min(ov(r)-1,n.length):n.length;if(g&&262144&g.flags){var h=e.find(a.inferences,(function(e){return e.typeParameter===g}));h&&(h.impliedArity=e.findIndex(n,Kh,_)<0?n.length-_:void 0)}var y=Lc(r);if(y){var v=ly(t);ym(a.inferences,ry(v),y)}for(var b=0;b<_;b++){var k=n[b];if(224!==k.kind){var x=nv(r,b),E=Gv(k,x,a,i);ym(a.inferences,E,x)}}if(g){var S=ay(n,_,n.length,g,a,i);ym(a.inferences,S,g)}return Tm(a)}function iy(e){return 1048576&e.flags?pg(e,iy):1&e.flags||af(Qs(e)||e)?e:vf(e)?Hl(ll(e),e.target.elementFlags,!1,e.target.labeledElementDeclarations):Hl([e],[8])}function ay(t,r,n,i,a,o){if(r>=n-1&&Kh(d=t[n-1]))return iy(229===d.kind?d.type:Gv(d.expression,i,a,o));for(var s=[],c=[],l=[],u=r;u<n;u++){var d;if(Kh(d=t[u])){var p=229===d.kind?d.type:fb(d.expression);sf(p)?(s.push(p),c.push(8)):(s.push(Ik(33,p,Ne,222===d.kind?d.expression:d)),c.push(4))}else{var f=qu(i,hd(u-r)),m=Gv(d,f,a,o),g=Rv(f,406978556);s.push(g?gd(m):gf(m)),c.push(1)}229===d.kind&&d.tupleNameSource&&l.push(d.tupleNameSource)}return Hl(s,c,!1,e.length(l)===e.length(s)?l:void 0)}function oy(t,r,n,i){for(var a,o=e.isInJSFile(t.declaration),s=t.typeParameters,c=Pc(e.map(r,xd),s,Nc(s),o),l=0;l<r.length;l++){e.Debug.assert(void 0!==s[l],"Should not call checkTypeArguments with too many type arguments");var u=Ws(s[l]);if(u){var d=n&&i?function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1)}:void 0,p=i||e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1;a||(a=Td(s,c));var f=c[l];if(!pp(f,ls(Wd(u,a),f),n?r[l]:void 0,p,d))return}}return c}function sy(t){if(q_(t.tagName))return 2;var r=ac(fb(t.tagName));return e.length(hc(r,1))?0:e.length(hc(r,0))?1:2}function cy(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=S_(r,t),l=Gv(t.attributes,c,void 0,i);return function(){var r;if($_(t))return!0;var n=e.isJsxOpeningElement(t)||e.isJsxSelfClosingElement(t)&&!q_(t.tagName)?fb(t.tagName):void 0;if(!n)return!0;var i=hc(n,0);if(!e.length(i))return!0;var o=RE(t);if(!o)return!0;var c=fi(o,111551,!0,!1,t);if(!c)return!0;var l=hc(_o(c),0);if(!e.length(l))return!0;for(var u=!1,d=0,p=0,f=l;p<f.length;p++){var m=hc(nv(f[p],0),0);if(e.length(m))for(var g=0,_=m;g<_.length;g++){var h=_[g];if(u=!0,cv(h))return!0;var y=ov(h);y>d&&(d=y)}}if(!u)return!0;for(var v=1/0,b=0,k=i;b<k.length;b++){var x=sv(k[b]);x<v&&(v=x)}if(v<=d)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),d),S=null===(r=Yx(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||Qr.add(E)}return!1}()&&mp(l,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 l=Lc(n);if(l&&l!==Ve&&205!==t.kind){var u=ly(t),d=ry(u),p=o?u||t:void 0,f=e.Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1;if(!Op(d,l,i,p,f,s,c))return e.Debug.assert(!o||!!c.errors,"this parameter should have errors when reporting errors"),c.errors||e.emptyArray}for(var m=e.Diagnostics.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1,g=uv(n),_=g?Math.min(ov(n)-1,r.length):r.length,h=0;h<_;h++){var y=r[h];if(224!==y.kind){var v=nv(n,h),b=Gv(y,v,void 0,a),k=4&a?Bf(b):b;if(!mp(k,v,i,o?y:void 0,y,m,s,c))return e.Debug.assert(!o||!!c.errors,"parameter should have errors when reporting errors"),S(y,k,v),c.errors||e.emptyArray}}if(g){var x=ay(r,_,r.length,g,void 0,a),E=r.length-_;p=o?0===E?t:1===E?r[_]:e.setTextRangePosEnd(uy(t,x),r[_].pos,r[r.length-1].end):void 0;if(!Op(x,g,i,p,m,void 0,c))return e.Debug.assert(!o||!!c.errors,"rest parameter should have errors when reporting errors"),S(p,x,g),c.errors||e.emptyArray}return;function S(t,r,n){if(t&&o&&c.errors&&c.errors.length){if(jb(n))return;var a=jb(r);a&&Pp(a,n,i)&&e.addRelatedInfo(c.errors[0],e.createDiagnosticForNode(t,e.Diagnostics.Did_you_forget_to_use_await))}}}function ly(t){if(204===t.kind){var r=e.skipOuterExpressions(t.expression);if(e.isAccessExpression(r))return r.expression}}function uy(t,r,n,i){var a=e.parseNodeFactory.createSyntheticExpression(r,n,i);return e.setTextRange(a,t),e.setParent(a,t),a}function dy(t){if(206===t.kind){var r=t.template,n=[uy(r,Yt||(Yt=Al("TemplateStringsArray",0,!0))||nt)];return 220===r.kind&&e.forEach(r.templateSpans,(function(e){n.push(e.expression)})),n}if(162===t.kind)return function(t){var r=t.parent,n=t.expression;switch(r.kind){case 254:case 223:case 255:return[uy(n,_o(Ai(r)))];case 161:var i=r.parent;return[uy(n,167===r.parent.kind?_o(Ai(i)):we),uy(n,Ee),uy(n,Me)];case 164:case 166:case 168:case 169:var a=164!==r.kind&&0!==V;return[uy(n,eE(r)),uy(n,tE(r)),uy(n,a?Ll(Xx(r)):Ee)];case 253:if(e.isEtsFunctionDecorators(e.getNameOfDecorator(t),J)){var o=Ai(n);return o?[uy(n,_o(o))]:[]}return e.Debug.fail()}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=Wh(i);if(a>=0){for(var o=i.slice(0,a),s=function(t){var r=i[t],n=222===r.kind&&(Dr?fb(r.expression):$v(r.expression));n&&vf(n)?e.forEach(ll(n),(function(e,t){var i,a=n.target.elementFlags[t],s=uy(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 py(t,r){switch(t.parent.kind){case 254:case 223:case 255:return 1;case 164:return 2;case 166:case 168:case 169:return 0===V||r.parameters.length<=2?2:3;case 161:return 3;case 253:return e.isEtsFunctionDecorators(e.getNameOfDecorator(t),J)?e.isCallExpression(t.expression)?1:0:e.Debug.fail();default:return e.Debug.fail()}}function fy(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 my(t,r,n,i,a,o){if(e.isCallExpression(t)){var s=fy(t),c=s.sourceFile,l=s.start,u=s.length;return e.createFileDiagnostic(c,l,u,r,n,i,a,o)}return e.createDiagnosticForNode(t,r,n,i,a,o)}function gy(t,r,n){for(var i,a=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY,s=Number.NEGATIVE_INFINITY,c=Number.POSITIVE_INFINITY,l=n.length,u=0,d=r;u<d.length;u++){var p=d[u],f=sv(p),m=ov(p);f<l&&f>s&&(s=f),l<m&&m<c&&(c=m),f<a&&(a=f,i=p),o=Math.max(o,m)}var g,_,h=e.some(r,cv),y=h?a:a<o?a+"-"+o:a,v=Wh(n)>-1;l<=o&&v&&l--;var b=h||v?h&&v?e.Diagnostics.Expected_at_least_0_arguments_but_got_1_or_more:h?e.Diagnostics.Expected_at_least_0_arguments_but_got_1:e.Diagnostics.Expected_0_arguments_but_got_1_or_more:1===y&&0===l&&function(t){if(!e.isCallExpression(t)||!e.isIdentifier(t.expression))return!1;var r=Fn(t.expression,t.expression.escapedText,111551,void 0,void 0,!1),n=null==r?void 0:r.valueDeclaration;if(!(n&&e.isParameter(n)&&T_(n.parent)&&e.isNewExpression(n.parent.parent)&&e.isIdentifier(n.parent.parent.expression)))return!1;var i=Fl(!1);return!!i&&Yx(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(i&&sv(i)>l&&i.declaration){var k=i.declaration.parameters[i.thisParameter?l+1:l];k&&(_=e.createDiagnosticForNode(k,e.isBindingPattern(k.name)?e.Diagnostics.An_argument_matching_this_binding_pattern_was_not_provided:e.isRestParameter(k)?e.Diagnostics.Arguments_for_the_rest_parameter_0_were_not_provided:e.Diagnostics.An_argument_for_0_was_not_provided,k.name?e.isBindingPattern(k.name)?void 0:e.idText(e.getFirstIdentifier(k.name)):l))}if(a<l&&l<o)return my(t,e.Diagnostics.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments,l,s,c);if(!v&&l<a){var x=my(t,b,y,l);return _?e.addRelatedInfo(x,_):x}if(h||v){if(g=e.factory.createNodeArray(n),v&&l){var E=e.elementAt(n,Wh(n)+1)||void 0;g=e.factory.createNodeArray(n.slice(o>l&&E?n.indexOf(E):Math.min(o,n.length-1)))}}else g=e.factory.createNodeArray(n.slice(o));var S=e.first(g).pos,D=e.last(g).end;D===S&&D++,e.setTextRangePosEnd(g,S,D);var w=e.createDiagnosticForNodeArray(e.getSourceFileOfNode(t),g,b,y,l);return _?e.addRelatedInfo(w,_):w}function _y(t,n,a,o,s,c){var l,u,d=206===t.kind,p=162===t.kind,f=e.isJsxOpeningLikeElement(t),m=211===t.kind,g=!a&&r;p||(l=t.typeArguments,u=null==l?void 0:l.some((function(e){return e.virtual})),(d||f||106!==t.expression.kind)&&e.forEach(l,Rx),m&&32!==o&&Rx(t.body));var _=a||[];if(function(t,r,n){var i,a,o,s,c=0,l=-1;e.Debug.assert(!r.length);for(var u=0,d=t;u<d.length;u++){var p=d[u],f=p.declaration&&Ai(p.declaration),m=p.declaration&&p.declaration.parent;a&&f!==a?(o=c=r.length,i=m):i&&m===i?o+=1:(i=m,o=c),a=f,q(p)?(s=++l,c++):s=o,r.splice(s,0,n?ms(p,n):p)}}(n,_,s),!_.length)return g&&Qr.add(my(t,e.Diagnostics.Call_target_does_not_contain_any_signatures)),Hh(t);var h,y,v,b,k=dy(t),x=1===_.length&&!_[0].typeParameters,E=p||x||!e.some(k,Qd)?0:4,S=!!(16&o)&&204===t.kind&&t.arguments.hasTrailingComma;if(_.length>1&&(b=G(_,rn,x,S)),b||(b=G(_,an,x,S)),b)return b;if(g)if(h)if(1===h.length||h.length>3){var D,w=h[h.length-1];h.length>3&&(D=e.chainDiagnosticMessages(D,e.Diagnostics.The_last_overload_gave_the_following_error),D=e.chainDiagnosticMessages(D,e.Diagnostics.No_overload_matches_this_call));var T=cy(t,k,w,an,0,!0,(function(){return D}));if(T)for(var C=0,A=T;C<A.length;C++){var N=A[C];w.declaration&&h.length>3&&e.addRelatedInfo(N,e.createDiagnosticForNode(w.declaration,e.Diagnostics.The_last_overload_is_declared_here)),W(w,N),Qr.add(N)}else e.Debug.fail("No error for last overload signature")}else{for(var P=[],I=0,F=Number.MAX_VALUE,O=0,R=0,M=function(r){var n=cy(t,k,r,an,0,!0,(function(){return e.chainDiagnosticMessages(void 0,e.Diagnostics.Overload_0_of_1_2_gave_the_following_error,R+1,_.length,ua(r))}));n?(n.length<=F&&(F=n.length,O=R),I=Math.max(I,n.length),P.push(n)):e.Debug.fail("No error for 3 or fewer overload signatures"),R++},L=0,j=h;L<j.length;L++){M(j[L])}var B=I>1?P[O]:e.flatten(P);e.Debug.assert(B.length>0,"No errors reported for 3 or fewer overload signatures");var z=e.chainDiagnosticMessages(e.map(B,(function(e){return"string"==typeof e.messageText?e:e.messageText})),e.Diagnostics.No_overload_matches_this_call),J=i([],e.flatMap(B,(function(e){return e.relatedInformation}))),V=void 0;if(e.every(B,(function(e){return e.start===B[0].start&&e.length===B[0].length&&e.file===B[0].file}))){var H=B[0];V={file:H.file,start:H.start,length:H.length,code:z.code,category:z.category,messageText:z,relatedInformation:J}}else V=e.createDiagnosticForNodeFromMessageChain(t,z,J);W(h[0],V),Qr.add(V)}else if(y)Qr.add(gy(t,[y],k));else if(v)oy(v,t.typeArguments,!0,c);else{var K=e.filter(n,(function(e){return Xh(e,l,u)}));0===K.length?Qr.add(function(t,r,n){var i=n.length;if(1===r.length){var a=Nc((d=r[0]).typeParameters),o=e.length(d.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,l=0,u=r;l<u.length;l++){var d,p=Nc((d=u[l]).typeParameters);o=e.length(d.typeParameters),p>i?c=Math.min(c,p):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,l)):p?c&&Qr.add(my(t,c)):Qr.add(gy(t,K,k))}return function(t,r,n,i){return e.Debug.assert(r.length>0),Lx(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=ov(a);if(cv(a)||o>=t)return i;o>n&&(n=o,r=i)}return r}(r,void 0===oe?n.length:oe),a=r[i],o=a.typeParameters;if(!o)return a;var s=Jh(t)?t.typeArguments:void 0,c=s?Hc(a,function(e,t,r){var n=e.map(Xx);for(;n.length>t.length;)n.pop();for(;n.length<t.length;)n.push(Ws(t[n.length])||wm(r));return n}(s,o,e.isInJSFile(t))):function(t,r,n,i){var a=Qf(r,n,e.isInJSFile(t)?2:0),o=ny(t,n,i,12,a);return Hc(n,o)}(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=yy(n,n.map(Qy)));for(var i=e.minAndMax(t,hy),a=i.min,o=i.max,s=[],c=function(r){var n=e.mapDefined(t,(function(t){return U(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(yy(n,e.mapDefined(t,(function(e){return iv(e,r)}))))},l=0;l<o;l++)c(l);var u=e.mapDefined(t,(function(t){return U(t)?e.last(t.parameters):void 0})),d=0;if(0!==u.length){var p=jl(ou(e.mapDefined(t,qc),2));s.push(vy(u,p)),d|=1}t.some(q)&&(d|=2);return ds(t[0].declaration,void 0,r,s,fu(t.map(Bc)),void 0,a,d)}(r)}(t,_,k,!!a);function W(t,r){var n,i,a=h,o=y,s=v,c=(null===(i=null===(n=t.declaration)||void 0===n?void 0:n.symbol)||void 0===i?void 0:i.declarations)||e.emptyArray,l=c.length>1?e.find(c,(function(t){return e.isFunctionLikeDeclaration(t)&&e.nodeIsPresent(t.body)})):void 0;if(l){var u=Ic(l),d=!u.typeParameters;G([u],an,d)&&e.addRelatedInfo(r,e.createDiagnosticForNode(l,e.Diagnostics.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible))}h=a,y=o,v=s}function G(r,n,i,a){if(void 0===a&&(a=!1),h=void 0,y=void 0,v=void 0,i){var o=r[0];if(e.some(l)&&!u||!Yh(t,k,o,a))return;return cy(t,k,o,n,0,!1,void 0)?void(h=[o]):o}for(var s=0;s<r.length;s++){if(Xh(o=r[s],l,u)&&Yh(t,k,o,a)){var c=void 0,d=void 0;if(o.typeParameters){var p=void 0;if(e.some(l)){if(!(p=oy(o,l,!1))){v=o;continue}}else d=Qf(o.typeParameters,o,e.isInJSFile(t)?2:0),p=ny(t,o,k,8|E,d),E|=4&d.flags?8:0;if(c=Jc(o,p,e.isInJSFile(o.declaration),d&&d.inferredTypeParameters),uv(o)&&!Yh(t,k,c,a)){y=c;continue}}else c=o;if(!cy(t,k,c,n,E,!1,void 0)){if(E){if(E=0,d)if(c=Jc(o,p=ny(t,o,k,E,d),e.isInJSFile(o.declaration),d&&d.inferredTypeParameters),uv(o)&&!Yh(t,k,c,a)){y=c;continue}if(cy(t,k,c,n,E,!1,void 0)){(h||(h=[])).push(c);continue}}return r[s]=c,c}(h||(h=[])).push(c)}}}}function hy(e){var t=e.parameters.length;return U(e)?t-1:t}function yy(e,t){return vy(e,ou(t,2))}function vy(t,r){return jf(e.first(t),r)}function by(e){return!(!e.typeParameters||!DE(Bc(e)))}function ky(e,t,r,n){return Pa(e)||Pa(t)&&!!(262144&e.flags)||!r&&!n&&!(1179648&t.flags)&&cp(e,vt)}function xy(t,r,n){if(t.arguments&&V<1){var i=Wh(t.arguments);i>=0&&pn(t.arguments[i],e.Diagnostics.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}var a=fh(t.expression);if(a===Ke)return pr;if((a=ac(a))===we)return Hh(t);if(Pa(a))return t.typeArguments&&pn(t,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),Vh(t);var o=hc(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||167!==n.kind)return!0;var a=e.getClassLikeDeclarationOfSymbol(n.parent.symbol),o=Jo(n.parent.symbol);if(!Wx(t,a)){var s=e.getContainingClass(t);if(s&&16&i){var c=Xx(s);if(Ey(n.parent.symbol,c))return!0}return 8&i&&pn(t,e.Diagnostics.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,da(o)),16&i&&pn(t,e.Diagnostics.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,da(o)),!1}return!0}(t,o[0]))return Hh(t);if(o.some((function(e){return 4&e.flags})))return pn(t,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),Hh(t);var s=a.symbol&&e.getClassLikeDeclarationOfSymbol(a.symbol);return s&&e.hasSyntacticModifier(s,128)?(pn(t,e.Diagnostics.Cannot_create_an_instance_of_an_abstract_class),Hh(t)):_y(t,o,r,n,0)}var c=hc(a,0);if(c.length){var l=_y(t,c,r,n,0);return X||(l.declaration&&!Fy(l.declaration)&&Bc(l)!==Ve&&pn(t,e.Diagnostics.Only_a_void_function_can_be_called_with_the_new_keyword),Lc(l)===Ve&&pn(t,e.Diagnostics.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),l}return Dy(t.expression,a,1),Hh(t)}function Ey(t,r){var n=Po(r);if(!e.length(n))return!1;var i=n[0];if(2097152&i.flags){for(var a=Es(i.types),o=0,s=0,c=i.types;s<c.length;s++){var l=c[s];if(!a[o]&&3&e.getObjectFlags(l)){if(l.symbol===t)return!0;if(Ey(t,l))return!0}o++}return!1}return i.symbol===t||Ey(t,i)}function Sy(t,r,n){var i,a=0===n,o=Ub(r),s=o&&hc(o,n).length>0;if(1048576&r.flags){for(var c=!1,l=0,u=r.types;l<u.length;l++){var d=u[l];if(0!==hc(d,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,da(d)),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,da(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,da(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,da(r)))}else i=e.chainDiagnosticMessages(i,a?e.Diagnostics.Type_0_has_no_call_signatures:e.Diagnostics.Type_0_has_no_construct_signatures,da(r));var p=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=Cn(t).resolvedSymbol;f&&32768&f.flags&&(p=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,p),relatedMessage:s?e.Diagnostics.Did_you_forget_to_use_await:void 0}}function Dy(t,r,n,i){var a=Sy(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 l=fy(t.parent,!0),u=l.start,d=l.length;c.start=u,c.length=d}Qr.add(c),wy(r,n,i?e.addRelatedInfo(c,i):c)}function wy(t,r,n){if(t.symbol){var i=Tn(t.symbol).originatingImport;if(i&&!e.isImportCall(i)){var a=hc(_o(Tn(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 Ty(t){switch(t.parent.kind){case 254:case 223:case 255:return e.Diagnostics.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;case 161:return e.Diagnostics.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;case 164:return e.Diagnostics.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;case 166:case 168:case 169:return e.Diagnostics.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression;case 253:var r=e.getNameOfDecorator(t);return e.isEtsFunctionDecorators(r,J)?e.Diagnostics.Unable_to_resolve_signature_of_function_decorator_when_decorators_are_not_valid:e.Debug.fail();default:return e.Debug.fail()}}function Cy(t,r,n){var i=fb(t.expression),a=ac(i);if(a===we)return Hh(t);var o,s,c=hc(a,0),l=hc(a,1).length;if(ky(i,a,c.length,l))return Vh(t);if(o=t,(s=c).length&&e.every(s,(function(e){return 0===e.minArgumentCount&&!U(e)&&e.parameters.length<py(o,e)}))){var u=e.getTextOfNode(t.expression,!1);return pn(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,u),Hh(t)}var d=Ty(t);if(!c.length){var p=Sy(t.expression,a,0),f=e.chainDiagnosticMessages(p.messageChain,d),m=e.createDiagnosticForNodeFromMessageChain(t.expression,f);return p.relatedMessage&&e.addRelatedInfo(m,e.createDiagnosticForNode(t.expression,p.relatedMessage)),Qr.add(m),wy(a,0,m),Hh(t)}return _y(t,c,r,n,0,d)}function Ay(t,r){var n=Y_(t),i=n&&Si(n),a=i&&Nn(i,N.Element,788968),o=a&&re.symbolToEntityName(a,788968,t),s=e.factory.createFunctionTypeNode(void 0,[e.factory.createParameterDeclaration(void 0,void 0,void 0,"props",void 0,re.typeToTypeNode(r,t))],o?e.factory.createTypeReferenceNode(o,void 0):e.factory.createKeywordTypeNode(129)),c=yn(1,"props");return c.type=r,ds(s,void 0,void 0,[c],a?Jo(a):we,void 0,1,0)}function Ny(t,r,n){if(q_(t.tagName)){var i=th(t),a=Ay(t,i);return fp(Gv(t.attributes,S_(a,t),void 0,0),i,t.tagName,t.attributes),e.length(t.typeArguments)&&(e.forEach(t.typeArguments,Rx),Qr.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=fb(t.tagName),s=ac(o);if(s===we)return Hh(t);var c=Z_(o,t);return ky(o,s,c.length,0)?Vh(t):0===c.length?(pn(t.tagName,e.Diagnostics.JSX_element_type_0_does_not_have_any_construct_or_call_signatures,e.getTextOfNode(t.tagName)),Hh(t)):_y(t,c,r,n,0)}function Py(t,r,n){switch(t.kind){case 204:case 211:return function(t,r,n){var i,a;if(106===t.expression.kind){var o=Qg(t.expression);if(Pa(o)){for(var s=0,c=t.arguments;s<c.length;s++)fb(c[s]);return lr}if(o!==we){var l=e.getEffectiveBaseTypeNode(e.getContainingClass(t));if(l)return _y(t,Co(o,l.typeArguments,l),r,n,0)}return Vh(t)}var u=n;32!==n&&(u=void 0);var d=fb(t.expression,u);if(e.isCallChain(t)){var p=Mf(d,t.expression);a=p===d?0:e.isOutermostOptionalChain(t)?16:8,d=p}else a=0;if((d=yh(d,t.expression,hh))===Ke)return pr;var f=ac(d);if(f===we)return Hh(t);var m=hc(f,0),g=hc(f,1),_=g.length;if(ky(d,f,m.length,_))return d!==we&&t.typeArguments&&pn(t,e.Diagnostics.Untyped_function_calls_may_not_accept_type_arguments),Vh(t);var h=e.isCalledStructDeclaration(null===(i=f.symbol)||void 0===i?void 0:i.declarations);if(!m.length){if(_){if(h)return _y(t,g,r,n,0);pn(t,e.Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,da(d))}else{var y=void 0;if(1===t.arguments.length){var v=e.getSourceFileOfNode(t).text;e.isLineBreak(v.charCodeAt(e.skipTrivia(v,t.expression.end,!0)-1))&&(y=e.createDiagnosticForNode(t.expression,e.Diagnostics.Are_you_missing_a_semicolon))}Dy(t.expression,f,0,y)}return Hh(t)}return 8&n&&!t.typeArguments&&m.some(by)?(ib(t,n),dr):m.some((function(t){return e.isInJSFile(t.declaration)&&!!e.getJSDocClassTag(t.declaration)}))?(pn(t,e.Diagnostics.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,da(d)),Hh(t)):_y(t,m,r,n,a)}(t,r,n);case 205:return xy(t,r,n);case 206:return function(t,r,n){var i=fb(t.tag),a=ac(i);if(a===we)return Hh(t);var o=hc(a,0),s=hc(a,1).length;if(ky(i,a,o.length,s))return Vh(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 Qr.add(c),Hh(t)}return Dy(t.tag,a,0),Hh(t)}return _y(t,o,r,n,0)}(t,r,n);case 162:return Cy(t,r,n);case 278:case 277:return Ny(t,r,n)}throw e.Debug.assertNever(t,"Branch in 'resolveSignature' should be unreachable.")}function Iy(e,t,r){var n=Cn(e),i=n.resolvedSignature;if(i&&i!==dr&&!t)return i;n.resolvedSignature=dr;var a=Py(e,t,r||0);return a!==dr&&(n.resolvedSignature=Sr===Dr?a:i),a}function Fy(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=Ai(n);return!!(null===(r=null==i?void 0:i.members)||void 0===r?void 0:r.size)}return!1}function Oy(t,r){var n,i;if(r){var a=Tn(r);if(!a.inferredClassSymbol||!a.inferredClassSymbol.has(R(t))){var o=e.isTransientSymbol(t)?t:kn(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?void 0:n.size)&&Dn(o.exports,r.exports),(null===(i=r.members)||void 0===i?void 0:i.size)&&Dn(o.members,r.members),(a.inferredClassSymbol||(a.inferredClassSymbol=new e.Map)).set(R(o),o),o}return a.inferredClassSymbol.get(R(t))}}function Ry(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(62!==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)&&62===a.parent.operatorToken.kind&&(r||a.parent.right===a)&&(i=n=a.parent.left),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 Ai(i)}}function My(t,r){var n;KE(t,t.typeArguments)||WE(t.arguments);var i=Iy(t,void 0,r);if(i===dr)return We;if(Uy(i,t),106===t.expression.kind)return Ve;if(205===t.kind){var a=i.declaration;if(a&&167!==a.kind&&171!==a.kind&&176!==a.kind&&!e.isJSDocConstructSignature(a)&&!Fy(a))return X&&pn(t,e.Diagnostics.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type),Ee}if(e.isInJSFile(t)&&Ky(t))return Mc(t.arguments[0]);var o=Bc(i);if(12288&o.flags&&Jy(t))return yd(e.walkUpParenthesizedExpressions(t.parent));if(204===t.kind&&!t.questionDotToken&&235===t.parent.kind&&16384&o.flags&&jc(i))if(e.isDottedName(t.expression)){if(!Cg(t)){var s=pn(t.expression,e.Diagnostics.Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation);Tg(t.expression,s)}}else pn(t.expression,e.Diagnostics.Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name);if(e.isInJSFile(t)){var c=Ry(t,!1);if(null===(n=null==c?void 0:c.exports)||void 0===n?void 0:n.size){var l=Wi(c,c.exports,e.emptyArray,e.emptyArray,void 0,void 0);return l.objectFlags|=16384,fu([o,l])}}return e.isInETSFile(t)&&e.isIdentifier(t.expression)&&!e.isNewExpression(t)&&function(t,r){var n,i=e.getTextOfPropertyName(t).toString();if(!(null===(n=r.ets)||void 0===n?void 0:n.components.some((function(e){return e===i}))))return!1;if(!r.etsLoaderPath)return!1;var a=e.resolvePath(r.etsLoaderPath,"declarations"),o=ii(Yx(t)),s=null==o?void 0:o.declarations;if(!s||1!==s.length)return!1;var c=e.getSourceFileOfNode(s[0]),l=null==c?void 0:c.fileName;return!!(null==l?void 0:l.startsWith(a))}(t.expression,J)&&!e.isInBuildOrPageTransitionContext(t,J)&&pn(t.expression,e.Diagnostics.UI_component_0_cannot_be_used_in_this_place,Ln(t.expression)),o}function Ly(r,n,i,a){var o,s,c,l,u,d=function(e,t){var r="";return e.forEach((function(e){e.name===t&&(r=e.text?e.text:"")})),r}(n,a.tagName);if(!(o=r,s=d,c=a.specifyCheckConditionFuncName,l=Rg(o),zy(o,s,l,u={hasIfChecked:!1},c),u.hasIfChecked)&&t.getExpressionCheckedResultsByFile){if(t.getExpressionCheckedResultsByFile(i.fileName,n).valid)return;var p=e.createDiagnosticForNodeInSourceFile(i,r,e.Diagnostics.The_statement_must_be_written_use_the_function_0_under_the_if_condition,a.specifyCheckConditionFuncName);p.messageText=a.message,Zr.add(p)}}function jy(e,t,r,n){n.forEach((function(n){var i=!1;e.forEach((function(a){a.name===n.tagName&&(i=!0,!n.tagNameShouldExisted&&n.needConditionCheck?Ly(t,e,r,n):n.tagNameShouldExisted||By(r,t,n))})),n.tagNameShouldExisted&&!i&&By(r,t,n)}))}function By(t,r,n){var i=e.createDiagnosticForNodeInSourceFile(t,r,e.Diagnostics.This_API_has_been_Special_Markings_exercise_caution_when_using_this_API);i.messageText=n.message.replace("{0}",""===r.getText()?r.text:r.getText()),i.category=n.type,Qr.add(i),Zr.add(i)}function zy(t,r,n,i,a){if(!i.hasIfChecked&&t.parent!==n){if(e.isIfStatement(t.parent)){if(e.isCallExpression(t.parent.expression)&&function(t,r,n){if(e.isIdentifier(t.expression)&&1===t.arguments.length&&t.expression.escapedText.toString()===r){var i=t.arguments[0];if(e.isStringLiteral(i)&&i.text.toString()===n)return!0}return!1}(t.parent.expression,a,r))return void(i.hasIfChecked=!0);zy(t.parent,r,n,i,a)}zy(t.parent,r,n,i,a)}}function Uy(t,r){if(t.declaration&&134217728&t.declaration.flags){var n=qy(r),i=e.tryGetPropertyAccessOrIdentifierToString(e.getInvokedExpression(r));a=n,o=t.declaration,s=i,c=ua(t),_n(o,s?e.createDiagnosticForNode(a,e.Diagnostics.The_signature_0_of_1_is_deprecated,c,s):e.createDiagnosticForNode(a,e.Diagnostics._0_is_deprecated,c))}var a,o,s,c}function qy(t){switch((t=e.skipParentheses(t)).kind){case 204:case 162:case 205:return qy(t.expression);case 206:return qy(t.tag);case 278:case 277:return qy(t.tagName);case 203:return t.argumentExpression;case 202:return t.name;case 174:var r=t;return e.isQualifiedName(r.typeName)?r.typeName.right:r;default:return t}}function Jy(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===Fn(r,"Symbol",111551,void 0,void 0,!1)}function Vy(t){if(WE(t.arguments)||function(t){if(H===e.ModuleKind.ES2015)return fS(t,e.Diagnostics.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system_or_umd);if(t.typeArguments)return fS(t,e.Diagnostics.Dynamic_import_cannot_have_type_arguments);var r=t.arguments;if(1!==r.length)return fS(t,e.Diagnostics.Dynamic_import_must_have_one_specifier_as_an_argument);if(qE(r),e.isSpreadElement(r[0]))return fS(r[0],e.Diagnostics.Specifier_of_dynamic_import_cannot_be_spread_element)}(t),0===t.arguments.length)return yv(t,Ee);for(var r=t.arguments[0],n=$v(r),i=1;i<t.arguments.length;++i)$v(t.arguments[i]);(32768&n.flags||65536&n.flags||!cp(n,Re))&&pn(r,e.Diagnostics.Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0,da(n));var a=gi(t,r);if(a){var o=bi(a,r,!0,!1);if(o)return yv(t,Hy(_o(o),o,a))}return yv(t,Ee)}function Hy(t,r,n){if(K&&t&&t!==we){var i=t;if(!i.syntheticType)if(Yn(e.find(n.declarations,e.isSourceFile),n,!1)){var a=e.createSymbolTable(),o=yn(2097152,"default");o.parent=n,o.nameType=hd("default"),o.target=ii(r),a.set("default",o);var s=yn(2048,"__type"),c=Wi(s,a,e.emptyArray,e.emptyArray,void 0,void 0);s.type=c,i.syntheticType=z_(t)?ld(t,c,s,0,!1):c}else i.syntheticType=t;return i.syntheticType}return t}function Ky(t){if(!e.isRequireCall(t,!0))return!1;if(!e.isIdentifier(t.expression))return e.Debug.fail();var r=Fn(t.expression,t.expression.escapedText,111551,void 0,void 0,!0);if(r===ce)return!0;if(2097152&r.flags)return!1;var n=16&r.flags?253:3&r.flags?251:0;if(0!==n){var i=e.getDeclarationOfKind(r,n);return!!i&&!!(8388608&i.flags)}return!1}function Wy(t){(function(t){if(t.questionDotToken||32&t.flags)return fS(t.template,e.Diagnostics.Tagged_template_expressions_are_not_permitted_in_an_optional_chain);return!1})(t)||KE(t,t.typeArguments),V<2&&jE(t,262144);var r=Iy(t);return Uy(r,t),Bc(r)}function Gy(t){switch(t.kind){case 10:case 14:case 8:case 9:case 110:case 95:case 200:case 201:case 220:return!0;case 208:return Gy(t.expression);case 216:var r=t.operator,n=t.operand;return 40===r&&(8===n.kind||9===n.kind)||39===r&&8===n.kind;case 202:case 203:var i=t.expression;if(e.isIdentifier(i)){var a=Yx(i);return a&&2097152&a.flags&&(a=ai(a)),!!(a&&384&a.flags&&1===jo(a))}}return!1}function $y(t,n,i,a){var o=fb(i,a);if(e.isConstTypeReference(n))return Gy(i)||pn(i,e.Diagnostics.A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals),gd(o);Rx(n),o=Bf(mf(o));var s=xd(n);r&&s!==we&&(up(s,Hf(o))||xp(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));return s}function Yy(e){return 32&e.flags?function(e){var t=fb(e.expression),r=Mf(t,e.expression);return Rf(Pf(r),e,r!==t)}(e):Pf(fb(e.expression))}function Xy(t){return function(t){var r=t.name.escapedText;switch(t.keywordToken){case 103:if("target"!==r)return fS(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)fS(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?function(t){var r=e.getNewTargetContainer(t);return r?167===r.kind?_o(Ai(r.parent)):_o(Ai(r)):(pn(t,e.Diagnostics.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor,"new.target"),we)}(t):100===t.keywordToken?function(t){H!==e.ModuleKind.ES2020&&H!==e.ModuleKind.ESNext&&H!==e.ModuleKind.System&&pn(t,e.Diagnostics.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_esnext_or_system);var r=e.getSourceFileOfNode(t);return e.Debug.assert(!!(2097152&r.flags),"Containing file is missing import meta node flag."),e.Debug.assert(!!r.externalModuleIndicator,"Containing file should be a module."),"meta"===t.name.escapedText?function(){return Xt||(Xt=Al("ImportMeta",0,!0))||nt}():we}(t):e.Debug.assertNever(t.keywordToken)}function Qy(t){var r=_o(t);if(W){var n=t.valueDeclaration;if(n&&e.hasInitializer(n))return Nf(r)}return r}function Zy(t){return e.Debug.assert(e.isIdentifier(t.name)),t.name.escapedText}function ev(e,t,r){var n=e.parameters.length-(U(e)?1:0);if(t<n)return e.parameters[t].escapedName;var i=e.parameters[n]||ke,a=r||_o(i);if(vf(a)){var o=a.target.labeledElementDeclarations,s=t-n;return o&&Zy(o[s])||i.escapedName+"_"+s}return i.escapedName}function tv(t){return 193===t.kind||e.isParameter(t)&&t.name&&e.isIdentifier(t.name)}function rv(e,t){var r=e.parameters.length-(U(e)?1:0);if(t<r){var n=e.parameters[t].valueDeclaration;return n&&tv(n)?n:void 0}var i=e.parameters[r]||ke,a=_o(i);if(vf(a)){var o=a.target.labeledElementDeclarations;return o&&o[t-r]}return i.valueDeclaration&&tv(i.valueDeclaration)?i.valueDeclaration:void 0}function nv(e,t){return iv(e,t)||Ee}function iv(e,t){var r=e.parameters.length-(U(e)?1:0);if(t<r)return Qy(e.parameters[t]);if(U(e)){var n=_o(e.parameters[r]),i=t-r;if(!vf(n)||n.target.hasRestElement||i<n.target.fixedLength)return qu(n,hd(i))}}function av(t,r){var n=ov(t),i=sv(t),a=lv(t);if(a&&r>=n-1)return r===n-1?a:jl(qu(a,Me));for(var o=[],s=[],c=[],l=r;l<n;l++){!a||l<n-1?(o.push(nv(t,l)),s.push(l<i?1:2)):(o.push(a),s.push(8));var u=rv(t,l);u&&c.push(u)}return Hl(o,s,!1,e.length(c)===e.length(o)?c:void 0)}function ov(e){var t=e.parameters.length;if(U(e)){var r=_o(e.parameters[t-1]);if(vf(r))return t+r.target.fixedLength-(r.target.hasRestElement?0:1)}return t}function sv(t,r){var n=1&r,i=2&r;if(i||void 0===t.resolvedMinArgumentCount){var a=void 0;if(U(t)){var o=_o(t.parameters[t.parameters.length-1]);if(vf(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 l=a-1;l>=0;l--){if(131072&ug(nv(t,l),Gh).flags)break;a=l}t.resolvedMinArgumentCount=a}return t.resolvedMinArgumentCount}function cv(e){if(U(e)){var t=_o(e.parameters[e.parameters.length-1]);return!vf(t)||t.target.hasRestElement}return!1}function lv(e){if(U(e)){var t=_o(e.parameters[e.parameters.length-1]);if(!vf(t))return t;if(t.target.hasRestElement)return $l(t,t.target.fixedLength)}}function uv(e){var t=lv(e);return!t||rf(t)||Pa(t)||131072&uc(t).flags?void 0:t}function dv(e){return pv(e,He)}function pv(e,t){return e.parameters.length>0?nv(e,0):t}function fv(t,r){(t.typeParameters=r.typeParameters,r.thisParameter)&&((!(a=t.thisParameter)||a.valueDeclaration&&!a.valueDeclaration.type)&&(a||(t.thisParameter=jf(r.thisParameter,void 0)),mv(t.thisParameter,_o(r.thisParameter))));for(var n=t.parameters.length-(U(t)?1:0),i=0;i<n;i++){var a=t.parameters[i];if(!e.getEffectiveTypeAnnotationNode(a.valueDeclaration))mv(a,iv(r,i))}if(U(t)){a=e.last(t.parameters);if(e.isTransientSymbol(a)||!e.getEffectiveTypeAnnotationNode(a.valueDeclaration))mv(a,av(r,n))}}function mv(e,t){var r=Tn(e);if(!r.type){var n=e.valueDeclaration;r.type=t||to(n,!0),78!==n.name.kind&&(r.type===Ae&&(r.type=eo(n.name)),gv(n.name))}}function gv(t){for(var r=0,n=t.elements;r<n.length;r++){var i=n[r];e.isOmittedExpression(i)||(78===i.name.kind?Tn(Ai(i)).type=La(i):gv(i.name))}}function _v(e){var t=Il(!0);return t!==st?ol(t,[e=Ub(e)||Ae]):Ae}function hv(e){var t,r=(t=!0,Lt||(Lt=Al("PromiseLike",1,t))||st);return r!==st?ol(r,[e=Ub(e)||Ae]):Ae}function yv(t,r){var n=_v(r);return n===Ae?(pn(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),we):(Fl(!0)||pn(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 vv(t,r){if(!t.body)return we;var n,i,a,o=e.getFunctionFlags(t),s=!!(2&o),c=!!(1&o),l=Ve;if(232!==t.body.kind)n=$v(t.body,r&&-9&r),s&&(n=zb(n,t,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member));else if(c){var u=Dv(t,r);u?u.length>0&&(n=ou(u,2)):l=He;var d=function(t,r){var n=[],i=[],a=!!(2&e.getFunctionFlags(t));return e.forEachYieldExpression(t.body,(function(t){var o,s=t.expression?fb(t.expression,r):Pe;if(e.pushIfUnique(n,kv(t,s,Ee,a)),t.asteriskToken){var c=Bk(s,a?19:17,t.expression);o=c&&c.nextType}else o=x_(t);o&&e.pushIfUnique(i,o)})),{yieldTypes:n,nextTypes:i}}(t,r),p=d.yieldTypes,f=d.nextTypes;i=e.some(p)?ou(p,2):void 0,a=e.some(f)?fu(f):void 0}else{var m=Dv(t,r);if(!m)return 2&o?yv(t,He):He;if(0===m.length)return 2&o?yv(t,Ve):Ve;n=ou(m,2)}if(n||i||a){if(i&&$f(t,i,3),n&&$f(t,n,1),a&&$f(t,a,2),n&&pf(n)||i&&pf(i)||a&&pf(a)){var g=C_(t),_=g?g===Ic(t)?c?void 0:n:b_(Bc(g),t):void 0;c?(i=yf(i,_,0,s),n=yf(n,_,1,s),a=yf(a,_,2,s)):n=function(e,t,r){return e&&pf(e)&&(e=hf(e,t?r?Bb(t):t:void 0)),e}(n,_,s)}i&&(i=Hf(i)),n&&(n=Hf(n)),a&&(a=Hf(a))}return c?bv(i||He,n||l,a||a_(2,t)||Ae,s):s?_v(n||l):n||l}function bv(e,t,r,n){var i=n?vr:br,a=i.getGlobalGeneratorType(!1);if(e=i.resolveIterationType(e,void 0)||Ae,t=i.resolveIterationType(t,void 0)||Ae,r=i.resolveIterationType(r,void 0)||Ae,a===st){var o=i.getGlobalIterableIteratorType(!1),s=o!==st?Jk(o,i):void 0,c=s?s.returnType:Ee,l=s?s.nextType:Ne;return cp(t,c)&&cp(l,r)?o!==st?Ml(o,[e]):(i.getGlobalIterableIteratorType(!0),nt):(i.getGlobalGeneratorType(!0),nt)}return Ml(a,[e,t,r])}function kv(t,r,n,i){var a=t.expression||t,o=t.asteriskToken?Ik(i?19:17,r,n,a):r;return i?Ub(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 xv(e,t,r,n){var i=0;if(n){for(var a=t;a<r.length;a++)i|=S.get(r[a])||32768;for(a=e;a<t;a++)i&=~(S.get(r[a])||0);for(a=0;a<e;a++)i|=S.get(r[a])||32768}else{for(a=e;a<t;a++)i|=E.get(r[a])||128;for(a=0;a<e;a++)i&=~(E.get(r[a])||0)}return i}function Ev(t){var r=Cn(t);return void 0!==r.isExhaustive?r.isExhaustive:r.isExhaustive=function(t){if(213===t.expression.kind){var r=ub(t.expression.expression),n=xv(0,0,og(t,!1),!0),i=Qs(r)||r;return 3&i.flags?!(556800&~n):!!(131072&ug(i,(function(e){return(Vm(e)&n)===n})).flags)}var a=ub(t.expression);if(!ff(a))return!1;var o=ag(t);if(!o.length||e.some(o,df))return!1;return s=pg(a,gd),c=o,1048576&s.flags?!e.forEach(s.types,(function(t){return!e.contains(c,t)})):e.contains(c,s);var s,c}(t)}function Sv(e){return e.endFlowNode&&Ng(e.endFlowNode)}function Dv(t,r){var n=e.getFunctionFlags(t),i=[],a=Sv(t),o=!1;if(e.forEachReturnStatement(t.body,(function(s){var c=s.expression;if(c){var l=$v(c,r&&-9&r);2&n&&(l=zb(l,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&l.flags&&(o=!0),e.pushIfUnique(i,l)}else a=!0})),0!==i.length||a||!o&&!function(e){switch(e.kind){case 209:case 210:return!0;case 166:return 201===e.parent.kind;default:return!1}}(t))return!(W&&i.length&&a)||Fy(t)&&i.some((function(e){return e.symbol===t.symbol}))||e.pushIfUnique(i,Ne),i}function wv(t,n){var i,a,o,s;if(r){var c=e.getFunctionFlags(t),l=n&&ix(n,c);if(!l||!Rv(l,16385)){if(253===t.kind&&t.decorators&&void 0!==n){var u,d=e.getEtsExtendDecoratorComponentNames(t.decorators,J);if(0!==d.length)return null===(i=J.ets)||void 0===i||i.extend.components.forEach((function(t){var r=t.name,n=t.type;r===e.last(d)&&(u=n)})),(null===(a=null==n?void 0:n.symbol)||void 0===a?void 0:a.escapedName)===u?void 0:void pn(e.getEffectiveReturnTypeNode(t),e.Diagnostics.Should_not_add_return_type_to_the_function_that_is_annotated_by_Extend);if(e.getEtsStylesDecoratorComponentNames(t.decorators,J).length>0){var p=null===(o=J.ets)||void 0===o?void 0:o.styles.component.type;return(null===(s=null==n?void 0:n.symbol)||void 0===s?void 0:s.escapedName)===p?void 0:void pn(e.getEffectiveReturnTypeNode(t),e.Diagnostics.Should_not_add_return_type_to_the_function_that_is_annotated_by_Styles)}}if(165!==t.kind&&!e.nodeIsMissing(t.body)&&232===t.body.kind&&Sv(t)){var f=512&t.flags;if(l&&131072&l.flags)pn(e.getEffectiveReturnTypeNode(t),e.Diagnostics.A_function_returning_never_cannot_have_a_reachable_end_point);else if(!l||f||e.hasEtsStylesDecoratorNames(t.decorators,J)){if(l&&W&&!cp(Ne,l))pn(e.getEffectiveReturnTypeNode(t)||t,e.Diagnostics.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined);else if(J.noImplicitReturns){if(!l){if(!f)return;if(ax(t,Bc(Ic(t))))return}pn(e.getEffectiveReturnTypeNode(t)||t,e.Diagnostics.Not_all_code_paths_return_a_value)}}else pn(e.getEffectiveReturnTypeNode(t),e.Diagnostics.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value)}}}}function Tv(t,r){if(e.Debug.assert(166!==t.kind||e.isObjectLiteralMethod(t)),Lx(t),r&&4&r&&Qd(t)){if(!e.getEffectiveReturnTypeNode(t)&&!ep(t)){var n=A_(t);if(n&&am(Bc(n))){var i=Cn(t);if(i.contextFreeType)return i.contextFreeType;var a=vv(t,r),o=ds(void 0,void 0,void 0,e.emptyArray,a,void 0,0,0),s=Wi(t.symbol,T,[o],e.emptyArray,void 0,void 0);return s.objectFlags|=2097152,i.contextFreeType=s}}return ct}return HE(t)||209!==t.kind||XE(t),function(t,r){var n=Cn(t);if(!(1024&n.flags)){var i=A_(t);if(!(1024&n.flags)){n.flags|=1024;var a=e.firstOrUndefined(hc(_o(Ai(t)),0));if(!a)return;if(Qd(t))if(i){var o=E_(t);r&&2&r&&function(t,r,n){for(var i=t.parameters.length-(U(t)?1:0),a=0;a<i;a++){var o=t.parameters[a].valueDeclaration;if(o.type){var s=e.getEffectiveTypeAnnotationNode(o);s&&ym(n.inferences,xd(s),nv(r,a))}}var c=lv(r);if(c&&262144&c.flags){fv(t,jd(r,n.nonFixingMapper));var l=ov(r)-1;ym(n.inferences,av(t,l),c)}}(a,i,o),fv(a,o?jd(i,o.mapper):i)}else!function(e){e.thisParameter&&mv(e.thisParameter);for(var t=0,r=e.parameters;t<r.length;t++)mv(r[t])}(a);if(i&&!zc(t)&&!a.resolvedReturnType){var s=vv(t,r);a.resolvedReturnType||(a.resolvedReturnType=s)}kb(t)}}}(t,r),_o(Ai(t))}function Cv(e,t,r,n){if(void 0===n&&(n=!1),!cp(t,Ze)){var i=n&&jb(t);return gn(e,!!i&&cp(i,Ze),r),!1}return!0}function Av(t){if(!e.isCallExpression(t))return!1;if(!e.isBindableObjectDefinePropertyCall(t))return!1;var r=$v(t.arguments[2]);if(Na(r,"value")){var n=gc(r,"writable"),i=n&&_o(n);if(!i||i===je||i===Be)return!0;if(n&&n.valueDeclaration&&e.isPropertyAssignment(n.valueDeclaration)){var a=fb(n.valueDeclaration.initializer);if(a===je||a===Be)return!0}return!1}return!gc(r,"set")}function Nv(t){return!!(8&e.getCheckFlags(t)||4&t.flags&&64&e.getDeclarationModifierFlagsFromSymbol(t)||3&t.flags&&2&lh(t)||98304&t.flags&&!(65536&t.flags)||8&t.flags||e.some(t.declarations,Av))}function Pv(t,r,n){var i,a;if(0===n)return!1;if(Nv(r)){if(4&r.flags&&e.isAccessExpression(t)&&108===t.expression.kind){var o=e.getContainingFunction(t);if(!o||167!==o.kind&&!Fy(o))return!0;if(r.valueDeclaration){var s=e.isBinaryExpression(r.valueDeclaration),c=o.parent===r.valueDeclaration.parent,l=o===r.valueDeclaration.parent,u=s&&(null===(i=r.parent)||void 0===i?void 0:i.valueDeclaration)===o.parent,d=s&&(null===(a=r.parent)||void 0===a?void 0:a.valueDeclaration)===o;return!(c||l||u||d)}}return!0}if(e.isAccessExpression(t)){var p=e.skipParentheses(t.expression);if(78===p.kind){var f=Cn(p).resolvedSymbol;if(2097152&f.flags){var m=Vn(f);return!!m&&266===m.kind}}}return!1}function Iv(t,r,n){var i=e.skipOuterExpressions(t,7);return 78===i.kind||e.isAccessExpression(i)?!(32&i.flags)||(pn(t,n),!1):(pn(t,r),!1)}function Fv(t){fb(t.expression);var r=e.skipParentheses(t.expression);if(!e.isAccessExpression(r))return pn(r,e.Diagnostics.The_operand_of_a_delete_operator_must_be_a_property_reference),qe;e.isPropertyAccessExpression(r)&&e.isPrivateIdentifier(r.name)&&pn(r,e.Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_private_identifier);var n=Ri(Cn(r).resolvedSymbol);return n&&(Nv(n)&&pn(r,e.Diagnostics.The_operand_of_a_delete_operator_cannot_be_a_read_only_property),function(t,r){var n=131075;!W||r.flags&n||32768&wf(r)||pn(t,e.Diagnostics.The_operand_of_a_delete_operator_must_be_optional)}(r,_o(n))),qe}function Ov(e){return Rv(e,2112)?Mv(e,3)||Rv(e,296)?Ze:Le:Me}function Rv(e,t){if(e.flags&t)return!0;if(3145728&e.flags)for(var r=0,n=e.types;r<n.length;r++){if(Rv(n[r],t))return!0}return!1}function Mv(e,t,r){return!!(e.flags&t)||!(r&&114691&e.flags)&&(!!(296&t)&&cp(e,Me)||!!(2112&t)&&cp(e,Le)||!!(402653316&t)&&cp(e,Re)||!!(528&t)&&cp(e,qe)||!!(16384&t)&&cp(e,Ve)||!!(131072&t)&&cp(e,He)||!!(65536&t)&&cp(e,Fe)||!!(32768&t)&&cp(e,Ne)||!!(4096&t)&&cp(e,Je)||!!(67108864&t)&&cp(e,Ye))}function Lv(t,r,n){return 1048576&t.flags?e.every(t.types,(function(e){return Lv(e,r,n)})):Mv(t,r,n)}function jv(t){return!!(16&e.getObjectFlags(t))&&!!t.symbol&&Bv(t.symbol)}function Bv(e){return!!(128&e.flags)}function zv(t,r,n,i,a){void 0===a&&(a=!1);var o=t.properties,s=o[n];if(291===s.kind||292===s.kind){var c=s.name,l=vu(c);if(Zo(l)){var u=gc(r,is(l));u&&(Lh(u,s,a),dh(s,!1,r,u))}var d=Oa(s,qu(r,l,void 0,c,void 0,void 0,16));return qv(292===s.kind?s:s.initializer,d)}if(293===s.kind){if(!(n<o.length-1)){V<99&&jE(s,4);var p=[];if(i)for(var f=0,m=i;f<m.length;f++){var g=m[f];e.isSpreadAssignment(g)||p.push(g.name)}d=Fa(r,p,r.symbol);return qE(i,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),qv(s.expression,d)}pn(s,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern)}else pn(s,e.Diagnostics.Property_assignment_expected)}function Uv(t,r,n,i,a){var o=t.elements,s=o[n];if(224!==s.kind){if(222!==s.kind){var c=hd(n);if(sf(r)){var l=16|(N_(s)?8:0),u=Vu(r,c,void 0,uy(s,c),l)||we;return qv(s,Oa(s,N_(s)?Hm(u,524288):u),a)}return qv(s,i,a)}if(n<o.length-1)pn(s,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);else{var d=s.expression;if(218!==d.kind||62!==d.operatorToken.kind)return qE(t.elements,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),qv(d,lg(r,vf)?pg(r,(function(e){return $l(e,n)})):jl(i),a);pn(d.operatorToken,e.Diagnostics.A_rest_element_cannot_have_an_initializer)}}}function qv(t,r,n,i){var a;if(292===t.kind){var o=t;o.objectAssignmentInitializer&&(!W||32768&wf(fb(o.objectAssignmentInitializer))||(r=Hm(r,524288)),function(e,t,r,n,i){var a,o=t.kind;if(62===o&&(201===e.kind||200===e.kind))return qv(e,fb(r,n),n,108===r.kind);a=55===o||56===o||60===o?Ck(e,n):fb(e,n);var s=fb(r,n);Wv(e,t,r,a,s,i)}(o.name,o.equalsToken,o.objectAssignmentInitializer,n)),a=t.name}else a=t;return 218===a.kind&&62===a.operatorToken.kind&&(Hv(a,n),a=a.left),201===a.kind?function(e,t,r){var n=e.properties;if(W&&0===n.length)return vh(t,e);for(var i=0;i<n.length;i++)zv(e,t,i,n,r);return t}(a,r,i):200===a.kind?function(e,t,r){var n=e.elements;V<2&&J.downlevelIteration&&jE(e,512);for(var i=Ik(193,t,Ne,e)||we,a=J.noUncheckedIndexedAccess?void 0:i,o=0;o<n.length;o++){var s=i;222===e.elements[o].kind&&(s=a=null!=a?a:Ik(65,t,Ne,e)||we),Uv(e,t,o,s,r)}return t}(a,r,n):function(t,r,n){var i=fb(t,n),a=293===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,o=293===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;Iv(t,a,o)&&fp(r,i,t,t);e.isPrivateIdentifierPropertyAccessExpression(t)&&jE(t.parent,1048576);return r}(a,r,n)}function Jv(t){switch((t=e.skipParentheses(t)).kind){case 78:case 10:case 13:case 206:case 220:case 14:case 8:case 9:case 110:case 95:case 104:case 151:case 209:case 223:case 210:case 200:case 201:case 213:case 227:case 277:case 276:return!0;case 219:return Jv(t.whenTrue)&&Jv(t.whenFalse);case 218:return!e.isAssignmentOperator(t.operatorToken.kind)&&(Jv(t.left)&&Jv(t.right));case 216:case 217:switch(t.operator){case 53:case 39:case 40:case 54:return!0}return!1;default:return!1}}function Vv(e,t){return!!(98304&t.flags)||up(e,t)}function Hv(t,r){for(var n,i={expr:[t],state:[0],leftType:[void 0]},a=0;a>=0;)switch(t=i.expr[a],i.state[a]){case 0:if(e.isInJSFile(t)&&e.getAssignedExpandoInitializer(t)){u(fb(t.right,r));break}if(Kv(t),62===(o=t.operatorToken.kind)&&(201===t.left.kind||200===t.left.kind)){u(qv(t.left,fb(t.right,r),r,108===t.right.kind));break}d(1),p(t.left);break;case 1:var o,s=n;if(i.leftType[a]=s,55===(o=t.operatorToken.kind)||56===o||60===o){if(55===o){var c=e.walkUpParenthesizedExpressions(t.parent);wk(t.left,s,e.isIfStatement(c)?c.thenStatement:void 0)}Tk(s,t.left)}d(2),p(t.right);break;case 2:s=i.leftType[a];var l=n;u(Wv(t.left,t.operatorToken,t.right,s,l,t));break;default:return e.Debug.fail("Invalid state "+i.state[a]+" for checkBinaryExpression")}return n;function u(e){n=e,a--}function d(e){i.state[a]=e}function p(t){e.isBinaryExpression(t)?(a++,i.expr[a]=t,i.state[a]=0,i.leftType[a]=void 0):n=fb(t,r)}}function Kv(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||fS(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||fS(i,e.Diagnostics._0_and_1_operations_cannot_be_mixed_without_parentheses,e.tokenToString(i.operatorToken.kind),e.tokenToString(n.kind)))}function Wv(t,n,i,a,o,s){var c,l,u=n.kind;switch(u){case 41:case 42:case 65:case 66:case 43:case 67:case 44:case 68:case 40:case 64:case 47:case 69:case 48:case 70:case 49:case 71:case 51:case 73:case 52:case 77:case 50:case 72:if(a===Ke||o===Ke)return Ke;a=vh(a,t),o=vh(o,i);var d=void 0;if(528&a.flags&&528&o.flags&&void 0!==(d=function(e){switch(e){case 51:case 73:return 56;case 52:case 77:return 37;case 50:case 72:return 55;default:return}}(n.kind)))return pn(s||n,e.Diagnostics.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead,e.tokenToString(n.kind),e.tokenToString(d)),Me;var p,f=Cv(t,a,e.Diagnostics.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0),m=Cv(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(Mv(a,3)&&Mv(o,3)||!Rv(a,2112)&&!Rv(o,2112))p=Me;else if(S(a,o)){switch(u){case 49:case 71:C();break;case 42:case 66:V<3&&pn(s,e.Diagnostics.Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later)}p=Le}else C(S),p=we;return f&&m&&w(p),p;case 39:case 63:if(a===Ke||o===Ke)return Ke;Mv(a,402653316)||Mv(o,402653316)||(a=vh(a,t),o=vh(o,i));var g=void 0;if(Mv(a,296,!0)&&Mv(o,296,!0)?g=Me:Mv(a,2112,!0)&&Mv(o,2112,!0)?g=Le:Mv(a,402653316,!0)||Mv(o,402653316,!0)?g=Re:(Pa(a)||Pa(o))&&(g=a===we||o===we?we:Ee),g&&!D(u))return g;if(!g){var _=402655727;return C((function(e,t){return Mv(e,_)&&Mv(t,_)})),Ee}return 63===u&&w(g),g;case 29:case 31:case 32:case 33:return D(u)&&(a=mf(vh(a,t)),o=mf(vh(o,i)),T((function(e,t){return up(e,t)||up(t,e)||cp(e,Ze)&&cp(t,Ze)}))),qe;case 34:case 35:case 36:case 37:return T((function(e,t){return Vv(e,t)||Vv(t,e)})),qe;case 102:return function(t,r,n,i){return n===Ke||i===Ke?Ke:(!Pa(n)&&Lv(n,131068)&&pn(t,e.Diagnostics.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter),Pa(i)||nE(i)||sp(i,vt)||pn(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),qe)}(t,i,a,o);case 101:return function(t,r,n,i){if(n===Ke||i===Ke)return Ke;n=vh(n,t),i=vh(i,r),Lv(n,402665900)||Mv(n,407109632)||pn(t,e.Diagnostics.The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol);var a=Ks(i);return(!Lv(i,126091264)||a&&(Mv(i,3145728)&&!Lv(a,126091264)||!Rv(a,126615552)))&&pn(r,e.Diagnostics.The_right_hand_side_of_an_in_expression_must_not_be_a_primitive),qe}(t,i,a,o);case 55:case 75:var h=4194304&Vm(a)?ou([(l=W?a:mf(o),pg(l,Cf)),o]):a;return 75===u&&w(o),h;case 56:case 74:var y=8388608&Vm(a)?ou([Tf(a),o],2):a;return 74===u&&w(o),y;case 60:case 76:var v=262144&Vm(a)?ou([Pf(a),o],2):a;return 76===u&&w(o),v;case 62:var b=e.isBinaryExpression(t.parent)?e.getAssignmentDeclarationKind(t.parent):0;return function(t,r){if(2===t)for(var n=0,i=qs(r);n<i.length;n++){var a=i[n],o=_o(a);if(o.symbol&&32&o.symbol.flags){var s=a.escapedName,c=Fn(a.valueDeclaration,s,788968,void 0,s,!1);c&&c.declarations.some(e.isJSDocTypedefTag)&&(En(c,e.Diagnostics.Duplicate_identifier_0,e.unescapeLeadingUnderscores(s),a),En(a,e.Diagnostics.Duplicate_identifier_0,e.unescapeLeadingUnderscores(s),c))}}}(b,o),function(r){var n;switch(r){case 2:return!0;case 1:case 5:case 6:case 3:case 4:var a=Ai(t),o=e.getAssignedExpandoInitializer(i);return!!o&&e.isObjectLiteralExpression(o)&&!!(null===(n=null==a?void 0:a.exports)||void 0===n?void 0:n.size);default:return!1}}(b)?(524288&o.flags&&(2===b||6===b||wp(o)||Jm(o)||1&e.getObjectFlags(o))||w(o),a):(w(o),Bf(o));case 27:if(!J.allowUnreachableCode&&Jv(t)&&(78!==(c=i).kind||"eval"!==c.escapedText)){var k=e.getSourceFileOfNode(t),x=k.text,E=e.skipTrivia(x,t.pos);k.parseDiagnostics.some((function(t){return t.code===e.Diagnostics.JSX_expressions_must_have_one_parent_element.code&&e.textSpanContainsPosition(t,E)}))||pn(t,e.Diagnostics.Left_side_of_comma_operator_is_unused_and_has_no_side_effects)}return o;default:return e.Debug.fail()}function S(e,t){return Mv(e,2112)&&Mv(t,2112)}function D(r){var n=Rv(a,12288)?t:Rv(o,12288)?i:void 0;return!n||(pn(n,e.Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol,e.tokenToString(r)),!1)}function w(n){r&&e.isAssignmentOperator(u)&&(!Iv(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)||fp(n,a,t,i))}function T(e){return!e(a,o)&&(C(e),!0)}function C(t){var r,i=!1,c=s||n;if(t){var l=Ub(a),u=Ub(o);i=!(l===a&&u===o)&&!(!l||!u)&&t(l,u)}var d=a,p=o;!i&&t&&(r=function(e,t,r){var n=e,i=t,a=mf(e),o=mf(t);r(a,o)||(n=a,i=o);return[n,i]}(a,o,t),d=r[0],p=r[1]);var f=pa(d,p),m=f[0],g=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 gn(t,r,e.Diagnostics.This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap,o,i,a);return})(c,i,m,g)||gn(c,i,e.Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2,e.tokenToString(n.kind),m,g)}}function Gv(t,r,n,i){var a=function(t){return 284!==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=fb(t,1|i|(n?2:0));return Rv(c,2944)&&Qv(c,b_(r,t))?gd(c):c}finally{a.contextualType=o,a.inferenceContext=s}}function $v(e,t){var r=Cn(e);if(!r.resolvedType){if(t&&0!==t)return fb(e,t);var n=Sr,i=nr;Sr=Dr,nr=void 0,r.resolvedType=fb(e,t),nr=i,Sr=n}return r.resolvedType}function Yv(t,r){var n=e.getEffectiveInitializer(t),i=db(n)||(r?Gv(n,r,void 0,0):$v(n));return e.isParameter(t)&&198===t.name.kind&&vf(i)&&!i.target.hasRestElement&&ul(i)<t.name.elements.length?function(t,r){for(var n=r.elements,i=ll(t).slice(),a=t.target.elementFlags.slice(),o=ul(t);o<n.length;o++){var s=n[o];(o<n.length-1||199!==s.kind||!s.dotDotDotToken)&&(i.push(!e.isOmittedExpression(s)&&N_(s)?Qa(s,!1,!1):Ee),a.push(2),e.isOmittedExpression(s)||N_(s)||Gf(s,Ee))}return Hl(i,a,t.target.readonly)}(i,t.name):i}function Xv(t,r){var n=2&e.getCombinedNodeFlags(t)||e.isDeclarationReadonly(t)?r:gf(r);if(e.isInJSFile(t)){if(98304&n.flags)return Gf(t,Ee),Ee;if(cf(n))return Gf(t,At),At}return n}function Qv(t,r){if(r){if(3145728&r.flags){var n=r.types;return e.some(n,(function(e){return Qv(t,e)}))}if(58982400&r.flags){var i=Qs(r)||Ae;return Rv(i,4)&&Rv(t,128)||Rv(i,8)&&Rv(t,256)||Rv(i,64)&&Rv(t,2048)||Rv(i,4096)&&Rv(t,8192)||Qv(t,i)}return!!(406847616&r.flags&&Rv(t,128)||256&r.flags&&Rv(t,256)||2048&r.flags&&Rv(t,2048)||512&r.flags&&Rv(t,512)||8192&r.flags&&Rv(t,8192))}return!1}function Zv(t){var r=t.parent;return e.isAssertionExpression(r)&&e.isConstTypeReference(r.type)||(e.isParenthesizedExpression(r)||e.isArrayLiteralExpression(r)||e.isSpreadElement(r))&&Zv(r)||(e.isPropertyAssignment(r)||e.isShorthandPropertyAssignment(r)||e.isTemplateSpan(r))&&Zv(r.parent)}function eb(t,r,n,i){var a=fb(t,r,i);return Zv(t)?gd(a):function(t){return 207===(t=e.skipParentheses(t)).kind||226===t.kind}(t)?a:hf(a,b_(2===arguments.length?x_(t):n,t))}function tb(e,t){return 159===e.name.kind&&M_(e.name),eb(e.initializer,t)}function rb(e,t){return nS(e),159===e.name.kind&&M_(e.name),nb(e,Tv(e,t),t)}function nb(t,r,n){if(n&&10&n){var i=ey(r,0,!0),a=ey(r,1,!0),o=i||a;if(o&&o.typeParameters){var s=v_(t,2);if(s){var c=ey(Pf(s),i?0:1,!1);if(c&&!c.typeParameters){if(8&n)return ib(t,n),ct;var l=E_(t),u=l.signature&&Bc(l.signature),d=u&&Zh(u);if(d&&!d.typeParameters&&!e.every(l.inferences,ab)){var p=function(t,r){for(var n,i,a=[],o=0,s=r;o<s.length;o++){var c=(f=s[o]).symbol.escapedName;if(ob(t.inferredTypeParameters,c)||ob(a,c)){var l=Ji(yn(262144,sb(e.concatenate(t.inferredTypeParameters,a),c)));l.target=f,n=e.append(n,f),i=e.append(i,l),a.push(l)}else a.push(f)}if(i)for(var u=Td(n,i),d=0,p=i;d<p.length;d++){var f;(f=p[d]).mapper=u}return a}(l,o.typeParameters),f=Vc(o,p),m=e.map(l.inferences,(function(e){return rm(e.typeParameter)}));if(Yf(f,c,(function(e,t){ym(m,e,t,0,!0)})),e.some(m,ab)&&(Xf(f,c,(function(e,t){ym(m,e,t)})),!function(e,t){for(var r=0;r<e.length;r++)if(ab(e[r])&&ab(t[r]))return!0;return!1}(l.inferences,m)))return function(e,t){for(var r=0;r<e.length;r++)!ab(e[r])&&ab(t[r])&&(e[r]=t[r])}(l.inferences,m),l.inferredTypeParameters=e.concatenate(l.inferredTypeParameters,p),$c(f)}return $c(ty(o,c,l))}}}}return r}function ib(e,t){2&t&&(E_(e).flags|=4)}function ab(e){return!(!e.candidates&&!e.contraCandidates)}function ob(t,r){return e.some(t,(function(e){return e.symbol.escapedName===r}))}function sb(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(!ob(e,a))return a}}function cb(e){var t=Qh(e);if(t&&!t.typeParameters)return Bc(t)}function lb(e){var t=fb(e.expression),r=Mf(t,e.expression),n=cb(t);return n&&Rf(n,e,r!==t)}function ub(t,r){var n=db(t);if(n)return n;if(67108864&t.flags&&nr){var i=nr[O(t)];if(i)return i}var a=Cr,o=fb(t,r);Cr!==a&&((nr||(nr=[]))[O(t)]=o,e.setNodeFlags(t,67108864|t.flags));return o}function db(t){var r=e.skipParentheses(t);if(!e.isCallExpression(r)||106===r.expression.kind||e.isRequireCall(r,!0)||Jy(r))if(!e.isEtsComponentExpression(r)||106===r.expression.kind||e.isRequireCall(r,!0)||Jy(r)){if(e.isAssertionExpression(r)&&!e.isConstTypeReference(r.type))return xd(r.type);if(8===t.kind||10===t.kind||110===t.kind||95===t.kind)return fb(t)}else{var n;if(n=e.isCallChain(r)?lb(r):cb(fh(r.expression,32)))return n}else if(n=e.isCallChain(r)?lb(r):cb(fh(r.expression,32)))return n}function pb(e){var t=Cn(e);if(t.contextFreeType)return t.contextFreeType;var r=e.contextualType;e.contextualType=Ee;try{return t.contextFreeType=fb(e,4)}finally{e.contextualType=r}}function fb(t,r,n){null===e.tracing||void 0===e.tracing||e.tracing.push("check","checkExpression",{kind:t.kind,pos:t.pos,end:t.end});var i=d;d=t,x=0;var a=nb(t,mb(t,r,n),r);return jv(a)&&function(t,r){var n=202===t.parent.kind&&t.parent.expression===t||203===t.parent.kind&&t.parent.expression===t||(78===t.kind||158===t.kind)&&Gx(t)||177===t.parent.kind&&t.parent.exprName===t||273===t.parent.kind;n||pn(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);if(J.isolatedModules){e.Debug.assert(!!(128&r.symbol.flags)),8388608&r.symbol.valueDeclaration.flags&&pn(t,e.Diagnostics.Cannot_access_ambient_const_enums_when_the_isolatedModules_flag_is_provided)}}(t,a),d=i,null===e.tracing||void 0===e.tracing||e.tracing.pop(),a}function mb(t,i,a){var o=t.kind;if(n)switch(o){case 223:case 209:case 210:n.throwIfCancellationRequested()}switch(o){case 78:return Vg(t);case 108:return $g(t);case 106:return Qg(t);case 104:return Oe;case 14:case 10:return md(hd(t.text));case 8:return _S(t),md(hd(+t.text));case 9:return function(t){var r=e.isLiteralTypeNode(t.parent)||e.isPrefixUnaryExpression(t.parent)&&e.isLiteralTypeNode(t.parent.parent);if(!r&&V<7&&fS(t,e.Diagnostics.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020))return!0}(t),md(function(t){return hd({negative:!1,base10Value:e.parsePseudoBigInt(t.text)})}(t));case 110:return ze;case 95:return je;case 220:return function(t){for(var r=[t.head.text],n=[],i=0,a=t.templateSpans;i<a.length;i++){var o=a[i],s=fb(o.expression);Rv(s,12288)&&pn(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(cp(s,et)?s:Re)}return Zv(t)?Du(r,n):Re}(t);case 13:return Tt;case 200:return P_(t,i,a);case 201:return B_(t,i);case 202:return kh(t,i);case 158:return xh(t);case 203:return zh(t);case 204:if(100===t.expression.kind)return Vy(t);case 205:return My(t,i);case 211:var s=t;return s.body&&s.body.statements.length&&hb(s.body.statements,i),My(t,i);case 206:return Wy(t);case 208:return function(t,r){var n=e.isInJSFile(t)?e.getJSDocTypeTag(t):void 0;return n?$y(n,n.typeExpression.type,t.expression,r):fb(t.expression,r)}(t,i);case 223:return function(e){return fx(e),Lx(e),_o(Ai(e))}(t);case 209:case 210:return Tv(t,i);case 213:return function(e){return fb(e.expression),tn}(t);case 207:case 226:return function(e){return $y(e,e.type,e.expression)}(t);case 227:return Yy(t);case 228:return Xy(t);case 212:return Fv(t);case 214:return function(e){return fb(e.expression),Pe}(t);case 215:return function(t){if(r){var n;if(!(32768&t.flags))if(e.isInTopLevelContext(t)){if(!uS(n=e.getSourceFileOfNode(t))){var i=void 0;if(!e.isEffectiveExternalModule(n,J)){i||(i=e.getSpanOfTokenAtPosition(n,t.pos));var a=e.createFileDiagnostic(n,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);Qr.add(a)}(H!==e.ModuleKind.ESNext&&H!==e.ModuleKind.System||V<4)&&(i=e.getSpanOfTokenAtPosition(n,t.pos),a=e.createFileDiagnostic(n,i.start,i.length,e.Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher),Qr.add(a))}}else if(!uS(n=e.getSourceFileOfNode(t))){i=e.getSpanOfTokenAtPosition(n,t.pos),a=e.createFileDiagnostic(n,i.start,i.length,e.Diagnostics.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules);var o=e.getContainingFunction(t);if(o&&167!==o.kind&&!(2&e.getFunctionFlags(o))){var s=e.createDiagnosticForNode(o,e.Diagnostics.Did_you_mean_to_mark_this_function_as_async);e.addRelatedInfo(a,s)}Qr.add(a)}i_(t)&&pn(t,e.Diagnostics.await_expressions_cannot_be_used_in_a_parameter_initializer)}var c=fb(t.expression),l=zb(c,t,e.Diagnostics.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);return l!==c||l===we||3&c.flags||fn(!1,e.createDiagnosticForNode(t,e.Diagnostics.await_has_no_effect_on_the_type_of_this_expression)),l}(t);case 216:return function(t){var r=fb(t.operand);if(r===Ke)return Ke;switch(t.operand.kind){case 8:switch(t.operator){case 40:return md(hd(-t.operand.text));case 39:return md(hd(+t.operand.text))}break;case 9:if(40===t.operator)return md(hd({negative:!0,base10Value:e.parsePseudoBigInt(t.operand.text)}))}switch(t.operator){case 39:case 40:case 54:return vh(r,t.operand),Rv(r,12288)&&pn(t.operand,e.Diagnostics.The_0_operator_cannot_be_applied_to_type_symbol,e.tokenToString(t.operator)),39===t.operator?(Rv(r,2112)&&pn(t.operand,e.Diagnostics.Operator_0_cannot_be_applied_to_type_1,e.tokenToString(t.operator),da(mf(r))),Me):Ov(r);case 53:Ck(t.operand);var n=12582912&Vm(r);return 4194304===n?je:8388608===n?ze:qe;case 45:case 46:return Cv(t.operand,vh(r,t.operand),e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&Iv(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),Ov(r)}return we}(t);case 217:return function(t){var r=fb(t.operand);return r===Ke?Ke:(Cv(t.operand,vh(r,t.operand),e.Diagnostics.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&Iv(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),Ov(r))}(t);case 218:return Hv(t,i);case 219:return function(e,t){var r=Ck(e.condition);return wk(e.condition,r,e.whenTrue),ou([fb(e.whenTrue,t),fb(e.whenFalse,t)],2)}(t,i);case 222:return function(e,t){return V<2&&jE(e,J.downlevelIteration?1536:1024),Ik(33,fb(e.expression,t),Ne,e.expression)}(t,i);case 224:return Pe;case 221:return function(t){r&&(8192&t.flags||dS(t,e.Diagnostics.A_yield_expression_is_only_allowed_in_a_generator_body),i_(t)&&pn(t,e.Diagnostics.yield_expressions_cannot_be_used_in_a_parameter_initializer));var n=e.getContainingFunction(t);if(!n)return Ee;var i=e.getFunctionFlags(n);if(!(1&i))return Ee;var a=!!(2&i);t.asteriskToken&&(a&&V<99&&jE(t,26624),!a&&V<2&&J.downlevelIteration&&jE(t,256));var o=zc(n),s=o&&rx(o,a),c=s&&s.yieldType||Ee,l=s&&s.nextType||Ee,u=a?Ub(l)||Ee:l,d=t.expression?fb(t.expression):Pe,p=kv(t,d,u,a);if(o&&p&&fp(p,c,t.expression||t,t.expression),t.asteriskToken)return Ok(a?19:17,1,d,t.expression)||Ee;if(o)return tx(2,o,a)||Ee;var f=a_(2,n);if(!f&&(f=Ee,r&&X&&!e.expressionResultIsUnused(t))){var m=x_(t);m&&!Pa(m)||pn(t,e.Diagnostics.yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation)}return f}(t);case 229:return function(e){return e.isSpread?qu(e.type,Me):e.type}(t);case 286:return ch(t,i);case 276:case 277:return function(e){return Lx(e),nh(e)||Ee}(t);case 280:return function(t){ah(t.openingFragment);var r=e.getSourceFileOfNode(t);return!e.getJSXTransformEnabled(J)||!J.jsxFactory&&!r.pragmas.has("jsx")||J.jsxFragmentFactory||r.pragmas.has("jsxfrag")||pn(t,J.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),V_(t),nh(t)||Ee}(t);case 284:return K_(t,i);case 278:e.Debug.fail("Shouldn't ever directly check a JsxOpeningElement")}return we}function gb(t,r){_b(t,r),t.thenStatement&&e.isBlock(t.thenStatement)&&t.thenStatement.statements&&hb(t.thenStatement.statements,r),t.elseStatement&&(e.isIfStatement(t.elseStatement)&&gb(t.elseStatement,r),e.isBlock(t.elseStatement)&&t.elseStatement.statements&&hb(t.elseStatement.statements,r))}function _b(e,t){e.expression&&mb(e.expression,t),e.getChildren().forEach((function(e){return _b(e,t)}))}function hb(t,r){t.length&&t.forEach((function(t){e.isIfStatement(t)?gb(t,r):t.expression&&mb(t.expression,r)}))}function yb(t){t.expression&&dS(t.expression,e.Diagnostics.Type_expected),Rx(t.constraint),Rx(t.default);var n=qo(Ai(t));Qs(n),function(e){return rc(e)!==ut}(n)||pn(t.default,e.Diagnostics.Type_parameter_0_has_a_circular_default,da(n));var i=Ws(n),a=nc(n);i&&a&&pp(a,ls(Wd(i,Ad(n,a)),a),t.default,e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1),r&&cx(t.name,e.Diagnostics.Type_parameter_name_cannot_be_0)}function vb(t){zE(t),bk(t);var r=e.getContainingFunction(t);e.hasSyntacticModifier(t,92)&&(167===r.kind&&e.nodeIsPresent(r.body)||pn(t,e.Diagnostics.A_parameter_property_is_only_allowed_in_a_constructor_implementation),167===r.kind&&e.isIdentifier(t.name)&&"constructor"===t.name.escapedText&&pn(t.name,e.Diagnostics.constructor_cannot_be_used_as_a_parameter_property_name)),t.questionToken&&e.isBindingPattern(t.name)&&r.body&&pn(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)&&pn(t,e.Diagnostics.A_0_parameter_must_be_the_first_parameter,t.name.escapedText),167!==r.kind&&171!==r.kind&&176!==r.kind||pn(t,e.Diagnostics.A_constructor_cannot_have_a_this_parameter),210===r.kind&&pn(t,e.Diagnostics.An_arrow_function_cannot_have_a_this_parameter),168!==r.kind&&169!==r.kind||pn(t,e.Diagnostics.get_and_set_accessors_cannot_declare_this_parameters)),!t.dotDotDotToken||e.isBindingPattern(t.name)||cp(uc(_o(t.symbol)),Pt)||pn(t,e.Diagnostics.A_rest_parameter_must_be_of_an_array_type)}function bb(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(78===s.kind&&s.escapedText===n)return pn(r,e.Diagnostics.A_type_predicate_cannot_reference_element_0_in_a_binding_pattern,n),!0;if((198===s.kind||197===s.kind)&&bb(s,r,n))return!0}}}function kb(t){172===t.kind?function(t){zE(t)||function(t){var r=t.parameters[0];if(1!==t.parameters.length)return fS(r?r.name:t,e.Diagnostics.An_index_signature_must_have_exactly_one_parameter);if(qE(t.parameters,e.Diagnostics.An_index_signature_cannot_have_a_trailing_comma),r.dotDotDotToken)return fS(r.dotDotDotToken,e.Diagnostics.An_index_signature_cannot_have_a_rest_parameter);if(e.hasEffectiveModifiers(r))return fS(r.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(r.questionToken)return fS(r.questionToken,e.Diagnostics.An_index_signature_parameter_cannot_have_a_question_mark);if(r.initializer)return fS(r.name,e.Diagnostics.An_index_signature_parameter_cannot_have_an_initializer);if(!r.type)return fS(r.name,e.Diagnostics.An_index_signature_parameter_must_have_a_type_annotation);if(148!==r.type.kind&&145!==r.type.kind){var n=xd(r.type);return 4&n.flags||8&n.flags?fS(r.name,e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead,e.getTextOfNode(r.name),da(n),da(t.type?xd(t.type):Ee)):1048576&n.flags&&Lv(n,384,!0)?fS(r.name,e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead):fS(r.name,e.Diagnostics.An_index_signature_parameter_type_must_be_either_string_or_number)}if(!t.type)return fS(t,e.Diagnostics.An_index_signature_must_have_a_type_annotation)}(t)}(t):175!==t.kind&&253!==t.kind&&176!==t.kind&&170!==t.kind&&167!==t.kind&&171!==t.kind||HE(t);var n=e.getFunctionFlags(t);if(4&n||(!(3&~n)&&V<99&&jE(t,6144),2==(3&n)&&V<4&&jE(t,64),3&n&&V<2&&jE(t,128)),lx(t.typeParameters),e.forEach(t.parameters,vb),t.type&&Rx(t.type),r){!function(t){if(V>=2||!e.hasRestParameter(t)||8388608&t.flags||e.nodeIsMissing(t.body))return;e.forEach(t.parameters,(function(t){t.name&&!e.isBindingPattern(t.name)&&t.name.escapedText===se.escapedName&&dn("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 171:pn(t,e.Diagnostics.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break;case 170:pn(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=xd(i);if(o===Ve)pn(i,e.Diagnostics.A_generator_cannot_have_a_void_type_annotation);else{var s=tx(0,o,!!(2&a))||Ee;pp(bv(s,tx(1,o,!!(2&a))||s,tx(2,o,!!(2&a))||Ae,!!(2&a)),o,i)}}else 2==(3&a)&&function(t,r){var n=xd(r);if(V>=2){if(n===we)return;var i=Il(!0);if(i!==st&&!ho(n,i))return void pn(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,da(Ub(n)||Ve))}else{if(function(t){Vb(t&&e.getEntityNameFromTypeNode(t))}(r),n===we)return;var a=e.getEntityNameFromTypeNode(r);if(void 0===a)return void pn(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,da(n));var o=fi(a,111551,!0),s=o?_o(o):we;if(s===we)return void(78===a.kind&&"Promise"===a.escapedText&&yo(n)===Il(!1)?pn(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):pn(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=(d=!0,Bt||(Bt=Al("PromiseConstructorLike",0,d))||nt);if(c===nt)return void pn(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(!pp(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 l=a&&e.getFirstIdentifier(a),u=Nn(t.locals,l.escapedText,111551);if(u)return void pn(u.valueDeclaration,e.Diagnostics.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,e.idText(l),e.entityNameToString(a))}var d;zb(n,t,e.Diagnostics.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}(t,i)}172!==t.kind&&311!==t.kind&&Qb(t)}}function xb(t){for(var r=new e.Map,n=0,i=t.members;n<i.length;n++){var a=i[n];if(163===a.kind){var o=void 0,s=a.name;switch(s.kind){case 10:case 8:o=s.text;break;case 78:o=e.idText(s);break;default:continue}r.get(o)?(pn(e.getNameOfDeclaration(a.symbol.valueDeclaration),e.Diagnostics.Duplicate_identifier_0,o),pn(a.name,e.Diagnostics.Duplicate_identifier_0,o)):r.set(o,!0)}}}function Eb(t){if(256===t.kind){var r=Ai(t);if(r.declarations.length>0&&r.declarations[0]!==t)return}var n=Yc(Ai(t));if(n)for(var i=!1,a=!1,o=0,s=n.declarations;o<s.length;o++){var c=s[o];if(1===c.parameters.length&&c.parameters[0].type)switch(c.parameters[0].type.kind){case 148:a?pn(c,e.Diagnostics.Duplicate_string_index_signature):a=!0;break;case 145:i?pn(c,e.Diagnostics.Duplicate_number_index_signature):i=!0}}}function Sb(t){if(zE(t)||function(t){if(e.isClassLike(t.parent)){if(e.isStringLiteral(t.name)&&"constructor"===t.name.text)return fS(t.name,e.Diagnostics.Classes_may_not_have_a_field_named_constructor);if(rS(t.name,e.Diagnostics.A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type))return!0;if(V<2&&e.isPrivateIdentifier(t.name))return fS(t.name,e.Diagnostics.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher)}else if(256===t.parent.kind){if(rS(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 fS(t.initializer,e.Diagnostics.An_interface_property_cannot_have_an_initializer)}else if(178===t.parent.kind){if(rS(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 fS(t.initializer,e.Diagnostics.A_type_literal_property_cannot_have_an_initializer)}8388608&t.flags&&aS(t);if(e.isPropertyDeclaration(t)&&t.exclamationToken&&(!e.isClassLike(t.parent)||!t.type||t.initializer||8388608&t.flags||e.hasSyntacticModifier(t,160))){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 fS(t.exclamationToken,r)}}(t)||YE(t.name),bk(t),e.isPrivateIdentifier(t.name)&&V<99)for(var r=e.getEnclosingBlockScopeContainer(t);r;r=e.getEnclosingBlockScopeContainer(r))Cn(r).flags|=67108864}function Db(t){if(!t.virtual){kb(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 pS(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)fS(r,e.Diagnostics.Type_annotation_cannot_appear_on_a_constructor_declaration)}(t),Rx(t.body);var n=Ai(t);if(t===e.getDeclarationOfKind(n,t.kind)&&Mb(n),!e.nodeIsMissing(t.body)&&r){var i=t.parent;if(e.getClassExtendsHeritageElement(i)){Hg(t.parent,i);var a=Wg(i),o=Kg(t.body);if(o){if(a&&pn(o,e.Diagnostics.A_constructor_cannot_contain_a_super_call_when_its_class_extends_null),(99!==J.target||!J.useDefineForClassFields)&&(e.some(t.parent.members,(function(t){return!!e.isPrivateIdentifierPropertyDeclaration(t)||164===t.kind&&!e.hasSyntacticModifier(t,32)&&!!t.initializer}))||e.some(t.parameters,(function(t){return e.hasSyntacticModifier(t,92)})))){for(var s=void 0,c=0,l=t.body.statements;c<l.length;c++){var u=l[c];if(235===u.kind&&e.isSuperCall(u.expression)){s=u;break}if(!e.isPrologueDirective(u))break}s||pn(t,e.Diagnostics.A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_properties_parameter_properties_or_private_identifiers)}}else a||pn(t,e.Diagnostics.Constructors_for_derived_classes_must_contain_a_super_call)}}}}function wb(t){if(r){if(HE(t)||function(t){if(!(8388608&t.flags)){if(V<1)return fS(t.name,e.Diagnostics.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(void 0===t.body&&!e.hasSyntacticModifier(t,128))return pS(t,t.end-1,1,e.Diagnostics._0_expected,"{")}if(t.body&&e.hasSyntacticModifier(t,128))return fS(t,e.Diagnostics.An_abstract_accessor_cannot_have_an_implementation);if(t.typeParameters)return fS(t.name,e.Diagnostics.An_accessor_cannot_have_type_parameters);if(!function(e){return tS(e)||e.parameters.length===(168===e.kind?0:1)}(t))return fS(t.name,168===t.kind?e.Diagnostics.A_get_accessor_cannot_have_parameters:e.Diagnostics.A_set_accessor_must_have_exactly_one_parameter);if(169===t.kind){if(t.type)return fS(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 fS(r.dotDotDotToken,e.Diagnostics.A_set_accessor_cannot_have_rest_parameter);if(r.questionToken)return fS(r.questionToken,e.Diagnostics.A_set_accessor_cannot_have_an_optional_parameter);if(r.initializer)return fS(t.name,e.Diagnostics.A_set_accessor_parameter_cannot_have_an_initializer)}return!1}(t)||YE(t.name),$b(t),kb(t),168===t.kind&&!(8388608&t.flags)&&e.nodeIsPresent(t.body)&&256&t.flags&&(512&t.flags||pn(t.name,e.Diagnostics.A_get_accessor_must_return_a_value)),159===t.name.kind&&M_(t.name),e.isPrivateIdentifier(t.name)&&pn(t.name,e.Diagnostics.An_accessor_cannot_be_named_with_a_private_identifier),ns(t)){var n=168===t.kind?169:168,i=e.getDeclarationOfKind(Ai(t),n);if(i){var a=e.getEffectiveModifierFlags(t),o=e.getEffectiveModifierFlags(i);(28&a)!=(28&o)&&pn(t.name,e.Diagnostics.Getter_and_setter_accessors_do_not_agree_in_visibility),(128&a)!=(128&o)&&pn(t.name,e.Diagnostics.Accessors_must_both_be_abstract_or_non_abstract),Tb(t,i,so,e.Diagnostics.get_and_set_accessor_must_have_the_same_type),Tb(t,i,co,e.Diagnostics.get_and_set_accessor_must_have_the_same_this_type)}}var s=lo(Ai(t));168===t.kind&&wv(t,s)}Rx(t.body)}function Tb(e,t,r,n){var i=r(e),a=r(t);i&&a&&!np(i,a)&&pn(e,n)}function Cb(t,r){return Pc(e.map(t.typeArguments,xd),r,Nc(r),e.isInJSFile(t))}function Ab(t,r){for(var n,i,a=!0,o=0;o<r.length;o++){var s=Ws(r[o]);s&&(n||(i=Td(r,n=Cb(t,r))),a=a&&pp(n[o],Wd(s,i),t.typeArguments[o],e.Diagnostics.Type_0_does_not_satisfy_the_constraint_1))}return a}function Nb(t){var r=El(t);if(r!==we){var n=Cn(t).resolvedSymbol;if(n)return 524288&n.flags&&Tn(n).typeParameters||(4&e.getObjectFlags(r)?r.target.localTypeParameters:void 0)}}function Pb(t){KE(t,t.typeArguments),174!==t.kind||void 0===t.typeName.jsdocDotPos||e.isInJSFile(t)||e.isInJSDoc(t)||pS(t,t.typeName.jsdocDotPos,1,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments),e.forEach(t.typeArguments,Rx);var n=El(t);if(n!==we){if(t.typeArguments&&r){var i=Nb(t);i&&Ab(t,i)}var a=Cn(t).resolvedSymbol;a&&(e.some(a.declarations,(function(e){return Vx(e)&&!!(134217728&e.flags)}))&&hn(qy(t),a.declarations,a.escapedName),32&n.flags&&8&a.flags&&pn(t,e.Diagnostics.Enum_type_0_has_members_with_initializers_that_are_not_literals,da(n)))}}function Ib(t,r){if(!(8388608&t.flags))return t;var n=t.objectType,i=t.indexType;if(cp(i,Eu(n,!1)))return 203===r.kind&&e.isAssignmentTarget(r)&&32&e.getObjectFlags(n)&&1&Ls(n)&&pn(r,e.Diagnostics.Index_signature_in_type_0_only_permits_reading,da(n)),t;var a=ac(n);if(bc(a,1)&&Mv(i,296))return t;if(Ru(n)){var o=Au(i,r);if(o){var s=cg(a,(function(e){return gc(e,o)}));if(s&&24&e.getDeclarationModifierFlagsFromSymbol(s))return pn(r,e.Diagnostics.Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter,e.unescapeLeadingUnderscores(o)),we}}return pn(r,e.Diagnostics.Type_0_cannot_be_used_to_index_type_1,da(i),da(n)),we}function Fb(t){!function(t){if(152===t.operator){if(149!==t.type.kind)return fS(t.type,e.Diagnostics._0_expected,e.tokenToString(149));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 251:var n=r;if(78!==n.name.kind)return fS(t,e.Diagnostics.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!e.isVariableDeclarationInVariableStatement(n))return fS(t,e.Diagnostics.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(!(2&n.parent.flags))return fS(r.name,e.Diagnostics.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);break;case 164:if(!e.hasSyntacticModifier(r,32)||!e.hasEffectiveModifier(r,64))return fS(r.name,e.Diagnostics.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);break;case 163:if(!e.hasSyntacticModifier(r,64))return fS(r.name,e.Diagnostics.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);break;default:fS(t,e.Diagnostics.unique_symbol_types_are_not_allowed_here)}}else if(143===t.operator&&179!==t.type.kind&&180!==t.type.kind)dS(t,e.Diagnostics.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,e.tokenToString(149))}(t),Rx(t.type)}function Ob(t){return(e.hasEffectiveModifier(t,8)||e.isPrivateIdentifierPropertyDeclaration(t))&&!!(8388608&t.flags)}function Rb(t,r){var n=e.getCombinedModifierFlags(t);return 256!==t.parent.kind&&254!==t.parent.kind&&223!==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 Mb(t){if(r){for(var n,i,a,o=0,s=155,c=!1,l=!0,u=!1,d=t.declarations,p=!!(16384&t.flags),f=!1,m=!1,g=!1,_=[],h=0,y=d;h<y.length;h++){var v=y[h],b=8388608&v.flags,k=v.parent&&(256===v.parent.kind||178===v.parent.kind)||b;if(k&&(a=void 0),254!==v.kind&&223!==v.kind||b||(g=!0),253===v.kind||166===v.kind||165===v.kind||167===v.kind){_.push(v);var x=Rb(v,155);o|=x,s&=x,c=c||e.hasQuestionToken(v),l=l&&e.hasQuestionToken(v);var E=e.nodeIsPresent(v.body);E&&n?p?m=!0:f=!0:(null==a?void 0:a.parent)===v.parent&&a.end!==v.pos&&N(a),E?n||(n=v):u=!0,a=v,k||(i=v)}}if(m&&e.forEach(_,(function(t){pn(t,e.Diagnostics.Multiple_constructor_implementations_are_not_allowed)})),f&&e.forEach(_,(function(t){pn(e.getNameOfDeclaration(t)||t,e.Diagnostics.Duplicate_function_implementation)})),g&&!p&&16&t.flags&&e.forEach(d,(function(r){Sn(r,e.Diagnostics.Duplicate_identifier_0,e.symbolName(t),d)})),!i||i.body||e.hasSyntacticModifier(i,128)||i.questionToken||N(i),u&&(function(t,r,n,i,a){if(i^a){var o=Rb(A(t,r),n);e.forEach(t,(function(t){var r=Rb(t,n)^o;1&r?pn(e.getNameOfDeclaration(t),e.Diagnostics.Overload_signatures_must_all_be_exported_or_non_exported):2&r?pn(e.getNameOfDeclaration(t),e.Diagnostics.Overload_signatures_must_all_be_ambient_or_non_ambient):24&r?pn(e.getNameOfDeclaration(t)||t,e.Diagnostics.Overload_signatures_must_all_be_public_private_or_protected):128&r&&pn(e.getNameOfDeclaration(t),e.Diagnostics.Overload_signatures_must_all_be_abstract_or_non_abstract)}))}}(d,n,155,o,s),function(t,r,n,i){if(n!==i){var a=e.hasQuestionToken(A(t,r));e.forEach(t,(function(t){e.hasQuestionToken(t)!==a&&pn(e.getNameOfDeclaration(t),e.Diagnostics.Overload_signatures_must_all_be_optional_or_required)}))}}(d,n,c,l),n))for(var S=Rc(t),D=Ic(n),w=0,T=S;w<T.length;w++){var C=T[w];if(!Sp(D,C)){e.addRelatedInfo(pn(C.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 A(e,t){return void 0!==t&&t.parent===e[0].parent?t:e[0]}function N(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))){if((166===t.kind||165===t.kind)&&e.hasSyntacticModifier(t,32)!==e.hasSyntacticModifier(n,32))pn(i,e.hasSyntacticModifier(t,32)?e.Diagnostics.Function_overload_must_be_static:e.Diagnostics.Function_overload_must_not_be_static);return}if(e.nodeIsPresent(n.body))return void pn(i,e.Diagnostics.Function_implementation_name_must_be_0,e.declarationNameToString(t.name))}var o=t.name||t;p?pn(o,e.Diagnostics.Constructor_implementation_is_missing):e.hasSyntacticModifier(t,128)?pn(o,e.Diagnostics.All_declarations_of_an_abstract_method_must_be_consecutive):pn(o,e.Diagnostics.Function_implementation_is_missing_or_not_immediately_following_the_declaration)}}}function Lb(t){if(r){var n=t.localSymbol;if((n||(n=Ai(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 l=h(g=c[s]),u=Rb(g,513);1&u?512&u?o|=l:i|=l:a|=l}var d=i&a,p=o&(i|a);if(d||p)for(var f=0,m=n.declarations;f<m.length;f++){l=h(g=m[f]);var g,_=e.getNameOfDeclaration(g);l&p?pn(_,e.Diagnostics.Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead,e.declarationNameToString(_)):l&d&&pn(_,e.Diagnostics.Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local,e.declarationNameToString(_))}}}function h(t){var r=t;switch(r.kind){case 256:case 257:case 334:case 327:case 328:return 2;case 259:return e.isAmbientModule(r)||0!==e.getModuleInstanceState(r)?5:4;case 254:case 255:case 258:case 294:return 3;case 300:return 7;case 269:if(!e.isEntityNameExpression(r.expression))return 1;r=r.expression;case 263:case 266:case 265:var n=0,i=ai(Ai(r));return e.forEach(i.declarations,(function(e){n|=h(e)})),n;case 251:case 199:case 253:case 268:case 78:return 1;default:return e.Debug.failBadSyntaxKind(r)}}}function jb(e,t,r,n){var i=Bb(e,t);return i&&Ub(i,t,r,n)}function Bb(t,r){if(!Pa(t)){var n=t;if(n.promisedTypeOfPromise)return n.promisedTypeOfPromise;if(ho(t,Il(!1)))return n.promisedTypeOfPromise=ll(t)[0];var i=Na(t,"then");if(!Pa(i)){var a=i?hc(i,0):e.emptyArray;if(0!==a.length){var o=Hm(ou(e.map(a,dv)),2097152);if(!Pa(o)){var s=hc(o,0);if(0!==s.length)return n.promisedTypeOfPromise=ou(e.map(s,dv),2);r&&pn(r,e.Diagnostics.The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback)}}else r&&pn(r,e.Diagnostics.A_promise_must_have_a_then_method)}}}function zb(e,t,r,n){return Ub(e,t,r,n)||we}function Ub(e,t,r,n){if(Pa(e))return e;var i=e;return i.awaitedTypeOfType?i.awaitedTypeOfType:i.awaitedTypeOfType=pg(e,t?function(e){return qb(e,t,r,n)}:qb)}function qb(t,r,n,i){var a=t;if(a.awaitedTypeOfType)return a.awaitedTypeOfType;var o=Bb(t);if(o){if(t.id===o.id||Xr.lastIndexOf(o.id)>=0)return void(r&&pn(r,e.Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method));Xr.push(t.id);var s=Ub(o,r,n,i);if(Xr.pop(),!s)return;return a.awaitedTypeOfType=s}if(!function(e){var t=Na(e,"then");return!!t&&hc(Hm(t,2097152),0).length>0}(t))return a.awaitedTypeOfType=t;if(r){if(!n)return e.Debug.fail();pn(r,n,i)}}function Jb(t){var r=Iy(t);Uy(r,t);var n=Bc(r);if(!(1&n.flags)){var i,a,o=Ty(t);switch(t.parent.kind){case 254:case 255:i=ou([_o(Ai(t.parent)),Ve]);break;case 161:i=Ve,a=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any);break;case 164:i=Ve,a=e.chainDiagnosticMessages(void 0,e.Diagnostics.The_return_type_of_a_property_decorator_function_must_be_either_void_or_any);break;case 166:case 168:case 169:i=ou([Ll(Xx(t.parent)),Ve]);break;default:return e.Debug.fail()}pp(n,i,t,o,(function(){return a}))}}function Vb(t){if(t){var r=e.getFirstIdentifier(t),n=2097152|(78===t.kind?788968:1920),i=Fn(r,r.escapedText,n,void 0,void 0,!0);i&&2097152&i.flags&&Mi(i)&&!mE(ai(i))&&!ci(i)&&ui(i)}}function Hb(t){var r=Kb(t);r&&e.isEntityName(r)&&Vb(r)}function Kb(e){if(e)switch(e.kind){case 184:case 183:return Wb(e.types);case 185:return Wb([e.trueType,e.falseType]);case 187:case 193:return Kb(e.type);case 174:return e.typeName}}function Wb(t){for(var r,n=0,i=t;n<i.length;n++){for(var a=i[n];187===a.kind||193===a.kind;)a=a.type;if(142!==a.kind&&(W||(192!==a.kind||104!==a.literal.kind)&&151!==a.kind)){var o=Kb(a);if(!o)return;if(r){if(!e.isIdentifier(r)||!e.isIdentifier(o)||r.escapedText!==o.escapedText)return}else r=o}}return r}function Gb(t){var r=e.getEffectiveTypeAnnotationNode(t);return e.isRestParameter(t)?e.getRestParameterElementType(r):r}function $b(t){if(t.decorators&&(t.decorators.forEach((function(t){t.expression&&e.isIdentifier(t.expression)&&Vg(t.expression)})),e.nodeCanBeDecorated(t,t.parent,t.parent.parent))){J.experimentalDecorators||pn(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(jE(r,8),161===t.kind&&jE(r,32),J.emitDecoratorMetadata)switch(jE(r,16),t.kind){case 254:var n=e.getFirstConstructorWithBody(t);if(n)for(var i=0,a=n.parameters;i<a.length;i++){Hb(Gb(a[i]))}break;case 168:case 169:var o=168===t.kind?169:168,s=e.getDeclarationOfKind(Ai(t),o);Hb(oo(t)||s&&oo(s));break;case 166:for(var c=0,l=t.parameters;c<l.length;c++){Hb(Gb(l[c]))}Hb(e.getEffectiveReturnTypeNode(t));break;case 164:Hb(e.getEffectiveTypeAnnotationNode(t));break;case 161:Hb(Gb(t));for(var u=0,d=t.parent.parameters;u<d.length;u++){Hb(Gb(d[u]))}}e.forEach(t.decorators,Jb)}}function Yb(e){switch(e.kind){case 78:return e;case 202:return e.name;default:return}}function Xb(t){$b(t),kb(t);var n=e.getFunctionFlags(t);if(t.name&&159===t.name.kind&&M_(t.name),ns(t)){var i=Ai(t),a=t.localSymbol||i,o=e.find(a.declarations,(function(e){return e.kind===t.kind&&!(131072&e.flags)}));t===o&&Mb(a),i.parent&&Mb(i)}var s=165===t.kind?void 0:t.body;if(Rx(s),wv(t,zc(t)),r&&!e.getEffectiveReturnTypeNode(t)&&(e.nodeIsMissing(s)&&!Ob(t)&&Gf(t,Ee),1&n&&e.nodeIsPresent(s)&&Bc(Ic(t))),e.isInJSFile(t)){var c=e.getJSDocTypeTag(t);c&&c.typeExpression&&!w_(xd(c.typeExpression),t)&&pn(c.typeExpression.type,e.Diagnostics.The_type_of_a_function_declaration_must_match_the_function_s_signature)}}function Qb(t){if(r){var n=e.getSourceFileOfNode(t),i=Er.get(n.path);i||(i=[],Er.set(n.path,i)),i.push(t)}}function Zb(t,r){for(var n=0,i=t;n<i.length;n++){var a=i[n];switch(a.kind){case 254:case 223:case 255:rk(a,r),ik(a,r);break;case 300:case 259:case 232:case 261:case 239:case 240:case 241:lk(a,r);break;case 167:case 209:case 253:case 210:case 166:case 168:case 169:a.body&&lk(a,r),ik(a,r);break;case 165:case 170:case 171:case 175:case 176:case 257:case 256:ik(a,r);break;case 186:nk(a,r);break;default:e.Debug.assertNever(a,"Node should not have been registered for unused identifiers check")}}}function ek(t,r,n){var i=e.getNameOfDeclaration(t)||t,a=Vx(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 tk(t){return e.isIdentifier(t)&&95===e.idText(t).charCodeAt(0)}function rk(t,r){for(var n=0,i=t.members;n<i.length;n++){var a=i[n];switch(a.kind){case 166:case 164:case 168:case 169:if(169===a.kind&&32768&a.symbol.flags)break;var o=Ai(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,la(o)));break;case 167:for(var s=0,c=a.parameters;s<c.length;s++){var l=c[s];!l.symbol.isReferenced&&e.hasSyntacticModifier(l,8)&&r(l,0,e.createDiagnosticForNode(l.name,e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read,e.symbolName(l.symbol)))}break;case 172:case 231:break;default:e.Debug.fail()}}}function nk(t,r){var n=t.typeParameter;ak(n)&&r(t,1,e.createDiagnosticForNode(t,e.Diagnostics._0_is_declared_but_its_value_is_never_read,e.idText(n.name)))}function ik(t,r){if(e.last(Ai(t).declarations)===t)for(var n=e.getEffectiveTypeParameterDeclarations(t),i=new e.Set,a=0,o=n;a<o.length;a++){var s=o[a];if(ak(s)){var c=e.idText(s.name),l=s.parent;if(186!==l.kind&&l.typeParameters.every(ak)){if(e.tryAddToSet(i,l)){var u=e.getSourceFileOfNode(l),d=e.isJSDocTemplateTag(l)?e.rangeOfNode(l):e.rangeOfTypeParameters(u,l.typeParameters),p=1===l.typeParameters.length,f=p?e.Diagnostics._0_is_declared_but_its_value_is_never_read:e.Diagnostics.All_type_parameters_are_unused,m=p?c:void 0;r(s,1,e.createFileDiagnostic(u,d.pos,d.end-d.pos,f,m))}}else r(s,1,e.createDiagnosticForNode(s,e.Diagnostics._0_is_declared_but_its_value_is_never_read,c))}}}function ak(e){return!(262144&Ci(e.symbol).isReferenced||tk(e.name))}function ok(e,t,r,n){var i=String(n(t)),a=e.get(i);a?a[1].push(r):e.set(i,[t,[r]])}function sk(t){return e.tryCast(e.getRootDeclaration(t),e.isParameter)}function ck(t){return e.isBindingElement(t)?e.isObjectBindingPattern(t.parent)?!(!t.propertyName||!tk(t.name)):tk(t.name):e.isAmbientModule(t)||(e.isVariableDeclaration(t)&&e.isForInOrOfStatement(t.parent.parent)||dk(t))&&tk(t.name)}function lk(t,r){var n=new e.Map,i=new e.Map,a=new e.Map;t.locals.forEach((function(t){var o;if(!(262144&t.flags?!(3&t.flags)||3&t.isReferenced:t.isReferenced||t.exportSymbol))for(var s=0,c=t.declarations;s<c.length;s++){var l=c[s];if(!ck(l))if(dk(l))ok(n,265===(o=l).kind?o:266===o.kind?o.parent:o.parent.parent,l,O);else if(e.isBindingElement(l)&&e.isObjectBindingPattern(l.parent)){l!==e.last(l.parent.elements)&&e.last(l.parent.elements).dotDotDotToken||ok(i,l.parent,l,O)}else if(e.isVariableDeclaration(l))ok(a,l.parent,l,O);else{var u=t.valueDeclaration&&sk(t.valueDeclaration),d=t.valueDeclaration&&e.getNameOfDeclaration(t.valueDeclaration);u&&d?e.isParameterPropertyDeclaration(u,u.parent)||e.parameterIsThisKeyword(u)||tk(d)||(e.isBindingElement(l)&&e.isArrayBindingPattern(l.parent)?ok(i,l.parent,l,O):r(u,1,e.createDiagnosticForNode(d,e.Diagnostics._0_is_declared_but_its_value_is_never_read,e.symbolName(t)))):ek(l,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?266===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];ek(c,e.idText(c.name),r)}})),i.forEach((function(t){var n=t[0],i=t[1],o=sk(n.parent)?1:0;if(n.elements.length===i.length)1===i.length&&251===n.parent.kind&&252===n.parent.parent.kind?ok(a,n.parent.parent,n.parent,O):r(n,o,1===i.length?e.createDiagnosticForNode(n,e.Diagnostics._0_is_declared_but_its_value_is_never_read,uk(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 l=c[s];r(l,o,e.createDiagnosticForNode(l,e.Diagnostics._0_is_declared_but_its_value_is_never_read,uk(l.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,uk(e.first(i).name)):e.createDiagnosticForNode(234===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,uk(s.name)))}}))}function uk(t){switch(t.kind){case 78:return e.idText(t);case 198:case 197:return uk(e.cast(e.first(t.elements),e.isBindingElement).name);default:return e.Debug.assertNever(t)}}function dk(e){return 265===e.kind||268===e.kind||266===e.kind}function pk(t){if(232===t.kind&&gS(t),e.isFunctionOrModuleBlock(t)){var r=Tr;e.forEach(t.statements,Rx),Tr=r}else e.forEach(t.statements,Rx);t.locals&&Qb(t)}function fk(t,r,n){if(!r||r.escapedText!==n)return!1;if(164===t.kind||163===t.kind||166===t.kind||165===t.kind||168===t.kind||169===t.kind)return!1;if(8388608&t.flags)return!1;var i=e.getRootDeclaration(t);return 161!==i.kind||!e.nodeIsMissing(i.parent.body)}function mk(t){e.findAncestor(t,(function(r){return!!(4&kE(r))&&(78!==t.kind?pn(e.getNameOfDeclaration(t),e.Diagnostics.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):pn(t,e.Diagnostics.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0)}))}function gk(t){e.findAncestor(t,(function(r){return!!(8&kE(r))&&(78!==t.kind?pn(e.getNameOfDeclaration(t),e.Diagnostics.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):pn(t,e.Diagnostics.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0)}))}function _k(t){67108864&kE(e.getEnclosingBlockScopeContainer(t))&&dn("noEmit",t,e.Diagnostics.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,"WeakMap")}function hk(t,r){if(!(H>=e.ModuleKind.ES2015)&&(fk(t,r,"require")||fk(t,r,"exports"))&&(!e.isModuleDeclaration(t)||1===e.getModuleInstanceState(t))){var n=Aa(t);300===n.kind&&e.isExternalOrCommonJsModule(n)&&dn("noEmit",r,e.Diagnostics.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,e.declarationNameToString(r),e.declarationNameToString(r))}}function yk(t,r){if(!(V>=4)&&fk(t,r,"Promise")&&(!e.isModuleDeclaration(t)||1===e.getModuleInstanceState(t))){var n=Aa(t);300===n.kind&&e.isExternalOrCommonJsModule(n)&&2048&n.flags&&dn("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))}}function vk(e){return e===Se?Ee:e===Nt?At:e}function bk(t){var r;if($b(t),e.isBindingElement(t)||Rx(t.type),t.name){if(159===t.name.kind&&(M_(t.name),t.initializer&&$v(t.initializer)),199===t.kind){197===t.parent.kind&&V<99&&jE(t,4),t.propertyName&&159===t.propertyName.kind&&M_(t.propertyName);var n=t.parent.parent,i=Ia(n),a=t.propertyName||t.name;if(i&&!e.isBindingPattern(a)){var o=vu(a);if(Zo(o)){var s=gc(i,is(o));s&&(Lh(s,void 0,!1),dh(n,!!n.initializer&&106===n.initializer.kind,i,s))}}}if(e.isBindingPattern(t.name)&&(198===t.name.kind&&V<2&&J.downlevelIteration&&jE(t,512),e.forEach(t.name.elements,Rx)),t.initializer&&e.isParameterDeclaration(t)&&e.nodeIsMissing(e.getContainingFunction(t).body))pn(t,e.Diagnostics.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);else if(e.isBindingPattern(t.name)){var c=t.initializer&&240!==t.parent.parent.kind,l=0===t.name.elements.length;if(c||l){var u=to(t);if(c){var d=$v(t.initializer);W&&l?bh(d,t):fp(d,to(t),t,t.initializer)}l&&(e.isArrayBindingPattern(t.name)?Ik(65,u,Ne,t):W&&bh(u,t))}}else{var p=Ai(t);if(2097152&p.flags&&e.isRequireVariableDeclaration(t,!0))wx(t);else{var f=vk(_o(p));if(t===p.valueDeclaration){var m=e.getEffectiveInitializer(t);if(m)e.isInJSFile(t)&&e.isObjectLiteralExpression(m)&&(0===m.properties.length||e.isPrototypeAccess(t.name))&&!!(null===(r=p.exports)||void 0===r?void 0:r.size)||240===t.parent.parent.kind||fp($v(m),f,t,m,void 0);p.declarations.length>1&&e.some(p.declarations,(function(r){return r!==t&&e.isVariableLike(r)&&!xk(r,t)}))&&pn(t.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(t.name))}else{var g=vk(to(t));f===we||g===we||np(f,g)||67108864&p.flags||kk(p.valueDeclaration,f,t,g),t.initializer&&fp($v(t.initializer),g,t,t.initializer,void 0),xk(t,p.valueDeclaration)||pn(t.name,e.Diagnostics.All_declarations_of_0_must_have_identical_modifiers,e.declarationNameToString(t.name))}164!==t.kind&&163!==t.kind&&(Lb(t),251!==t.kind&&199!==t.kind||function(t){if(!(3&e.getCombinedNodeFlags(t)||e.isParameterDeclaration(t))&&(251!==t.kind||t.initializer)){var r=Ai(t);if(1&r.flags){if(!e.isIdentifier(t.name))return e.Debug.fail();var n=Fn(t,t.name.escapedText,3,void 0,void 0,!1);if(n&&n!==r&&2&n.flags&&3&lh(n)){var i=e.getAncestor(n.valueDeclaration,252),a=234===i.parent.kind&&i.parent.parent?i.parent.parent:void 0;if(!a||!(232===a.kind&&e.isFunctionLike(a.parent)||260===a.kind||259===a.kind||300===a.kind)){var o=la(n);pn(t,e.Diagnostics.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,o,o)}}}}}(t),hk(t,t.name),yk(t,t.name),V<99&&fk(t,t.name,"WeakMap")&&Yr.push(t))}}}}function kk(t,r,n,i){var a=e.getNameOfDeclaration(n),o=164===n.kind||163===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=pn(a,o,s,da(r),da(i));t&&e.addRelatedInfo(c,e.createDiagnosticForNode(t,e.Diagnostics._0_was_also_declared_here,s))}function xk(t,r){if(161===t.kind&&251===r.kind||251===t.kind&&161===r.kind)return!0;if(e.hasQuestionToken(t)!==e.hasQuestionToken(r))return!1;return e.getSelectedEffectiveModifierFlags(t,504)===e.getSelectedEffectiveModifierFlags(r,504)}function Ek(t){null===e.tracing||void 0===e.tracing||e.tracing.push("check","checkVariableDeclaration",{kind:t.kind,pos:t.pos,end:t.end}),function(t){if(240!==t.parent.parent.kind&&241!==t.parent.parent.kind)if(8388608&t.flags)aS(t);else if(!t.initializer){if(e.isBindingPattern(t.name)&&!e.isBindingPattern(t.parent))return fS(t,e.Diagnostics.A_destructuring_declaration_must_have_an_initializer);if(e.isVarConst(t))return fS(t,e.Diagnostics.const_declarations_must_be_initialized)}if(t.exclamationToken&&(234!==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 fS(t.exclamationToken,r)}var n=e.getEmitModuleKind(J);n<e.ModuleKind.ES2015&&n!==e.ModuleKind.System&&!(8388608&t.parent.parent.flags)&&e.hasSyntacticModifier(t.parent.parent,1)&&oS(t.name);var i=e.isLet(t)||e.isVarConst(t);i&&sS(t.name)}(t),bk(t),null===e.tracing||void 0===e.tracing||e.tracing.pop()}function Sk(t){return function(t){if(t.dotDotDotToken){var r=t.parent.elements;if(t!==e.last(r))return fS(t,e.Diagnostics.A_rest_element_must_be_last_in_a_destructuring_pattern);if(qE(r,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),t.propertyName)return fS(t.name,e.Diagnostics.A_rest_element_cannot_have_a_property_name)}if(t.dotDotDotToken&&t.initializer)pS(t,t.initializer.pos-1,1,e.Diagnostics.A_rest_element_cannot_have_an_initializer)}(t),bk(t)}function Dk(t){zE(t)||cS(t.declarationList)||function(t){if(!lS(t.parent)){if(e.isLet(t.declarationList))return fS(t,e.Diagnostics.let_declarations_can_only_be_declared_inside_a_block);if(e.isVarConst(t.declarationList))fS(t,e.Diagnostics.const_declarations_can_only_be_declared_inside_a_block)}}(t),e.forEach(t.declarationList.declarations,Rx)}function wk(t,r,n){if(W){var i=e.isBinaryExpression(t)?t.right:t,a=e.isIdentifier(i)?i:e.isPropertyAccessExpression(i)?i.name:e.isBinaryExpression(i)&&e.isIdentifier(i.right)?i.right:void 0,o=e.isPropertyAccessExpression(i)&&e.isAssertionExpression(e.skipParentheses(i.expression));if(a&&!o)if(!wf(r))if(0!==hc(r,0).length){var s=Yx(a);if(s){var 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=Yx(n);if(i&&i===r)return!0}return e.forEachChild(n,t)})))return!0;t=t.parent}return!1}(t.parent,s)||n&&function(t,r,n,i){return!!e.forEachChild(r,(function r(a){if(e.isIdentifier(a)){var o=Yx(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 Yx(s)===Yx(c);if(e.isPropertyAccessExpression(s)&&e.isPropertyAccessExpression(c)){if(Yx(s.name)!==Yx(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,s);c||pn(i,e.Diagnostics.This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it_instead)}}}}function Tk(t,r){return 16384&t.flags&&pn(r,e.Diagnostics.An_expression_of_type_void_cannot_be_tested_for_truthiness),t}function Ck(e,t){return Tk(fb(e,t),e)}function Ak(t){eS(t);var r,n=gh(fb(t.expression));if(252===t.initializer.kind){var i=t.initializer.declarations[0];i&&e.isBindingPattern(i.name)&&pn(i.name,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),Nk(t)}else{var a=t.initializer,o=fb(a);200===a.kind||201===a.kind?pn(a,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):cp(131072&(r=Su(Eu(n))).flags?Re:r,o)?Iv(a,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access):pn(a,e.Diagnostics.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}n!==He&&Mv(n,126091264)||pn(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,da(n)),Rx(t.statement),t.locals&&Qb(t)}function Nk(e){var t=e.initializer;t.declarations.length>=1&&Ek(t.declarations[0])}function Pk(e){return Ik(e.awaitModifier?15:13,fh(e.expression),Ne,e.expression)}function Ik(e,t,r,n){return Pa(t)?t:Fk(e,t,r,n,!0)||Ee}function Fk(t,r,n,i,a){var o=!!(2&t);if(r!==He){var s=V>=2,c=!s&&J.downlevelIteration,l=J.noUncheckedIndexedAccess&&!!(128&t);if(s||c||o){var u=Bk(r,t,s?i:void 0);if(a&&u){var d=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;d&&pp(n,u.nextType,i,d)}if(u||s)return l?$m(u&&u.yieldType):u&&u.yieldType}var p=r,f=!1,m=!1;if(4&t){if(1048576&p.flags){var g=r.types,_=e.filter(g,(function(e){return!(402653316&e.flags)}));_!==g&&(p=ou(_,2))}else 402653316&p.flags&&(p=He);if((m=p!==r)&&(V<1&&i&&(pn(i,e.Diagnostics.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),f=!0),131072&p.flags))return l?$m(Re):Re}if(!sf(p)){if(i&&!f){var h=Ok(t,0,r,void 0),y=4&t&&!m?c?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:h?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,!1]:[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type,!0]:c?[e.Diagnostics.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:h?[e.Diagnostics.Type_0_is_not_an_array_type_or_a_string_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators,!1]:[e.Diagnostics.Type_0_is_not_an_array_type,!0],v=y[0];gn(i,y[1]&&!!jb(p),v,da(p))}return m?l?$m(Re):Re:void 0}var b=kc(p,1);return m&&b?402653316&b.flags&&!J.noUncheckedIndexedAccess?Re:ou(l?[b,Re,Ne]:[b,Re],2):128&t?$m(b):b}Kk(i,r,o)}function Ok(e,t,r,n){if(!Pa(r)){var i=Bk(r,e,n);return i&&i[z(t)]}}function Rk(e,t,r){if(void 0===e&&(e=He),void 0===t&&(t=He),void 0===r&&(r=Ae),67359327&e.flags&&180227&t.flags&&180227&r.flags){var n=nl([e,t,r]),i=mr.get(n);return i||(i={yieldType:e,returnType:t,nextType:r},mr.set(n,i)),i}return{yieldType:e,returnType:t,nextType:r}}function Mk(t){for(var r,n,i,a=0,o=t;a<o.length;a++){var s=o[a];if(void 0!==s&&s!==gr){if(s===_r)return _r;r=e.append(r,s.yieldType),n=e.append(n,s.returnType),i=e.append(i,s.nextType)}}return r||n||i?Rk(r&&ou(r),n&&ou(n),i&&fu(i)):gr}function Lk(e,t){return e[t]}function jk(e,t,r){return e[t]=r}function Bk(t,r,n){if(Pa(t))return _r;if(!(1048576&t.flags)){var i=Uk(t,r,n);return i===gr?void(n&&Kk(n,t,!!(2&r))):i}var a,o=2&r?"iterationTypesOfAsyncIterable":"iterationTypesOfIterable",s=Lk(t,o);if(s)return s===gr?void 0:s;for(var c=0,l=t.types;c<l.length;c++){var u=Uk(l[c],r,n);if(u===gr)return n&&Kk(n,t,!!(2&r)),void jk(t,o,gr);a=e.append(a,u)}var d=a?Mk(a):gr;return jk(t,o,d),d===gr?void 0:d}function zk(e,t){if(e===gr)return gr;if(e===_r)return _r;var r=e.yieldType,n=e.returnType,i=e.nextType;return Rk(Ub(r,t)||Ee,Ub(n,t)||Ee,i)}function Uk(e,t,r){if(Pa(e))return _r;var n;if(2&t&&(n=qk(e,vr)||Vk(e,vr)))return n;if(1&t&&(n=qk(e,br)||Vk(e,br))){if(!(2&t))return n;if(n!==gr)return jk(e,"iterationTypesOfAsyncIterable",zk(n,r))}if(2&t&&(n=Hk(e,vr,r))!==gr)return n;if(1&t&&(n=Hk(e,br,r))!==gr)return 2&t?jk(e,"iterationTypesOfAsyncIterable",n?zk(n,r):gr):n;return gr}function qk(e,t){return Lk(e,t.iterableCacheKey)}function Jk(e,t){var r=qk(e,t)||Hk(e,t,void 0);return r===gr?yr:r}function Vk(e,t){var r;if(ho(e,r=t.getGlobalIterableType(!1))||ho(e,r=t.getGlobalIterableIteratorType(!1))){var n=ll(e)[0],i=Jk(r,t),a=i.returnType,o=i.nextType;return jk(e,t.iterableCacheKey,Rk(n,a,o))}if(ho(e,t.getGlobalGeneratorType(!1))){var s=ll(e);n=s[0],a=s[1],o=s[2];return jk(e,t.iterableCacheKey,Rk(n,a,o))}}function Hk(t,r,n){var i,a=gc(t,e.getPropertyNameForKnownSymbolName(r.iteratorSymbolName)),o=!a||16777216&a.flags?void 0:_o(a);if(Pa(o))return jk(t,r.iterableCacheKey,_r);var s=o?hc(o,0):void 0;if(!e.some(s))return jk(t,r.iterableCacheKey,gr);var c=null!==(i=Wk(fu(e.map(s,Bc)),r,n))&&void 0!==i?i:gr;return jk(t,r.iterableCacheKey,c)}function Kk(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;gn(t,!!jb(r),i,da(r))}function Wk(e,t,r){if(Pa(e))return _r;var n=Gk(e,t)||function(e,t){var r=t.getGlobalIterableIteratorType(!1);if(ho(e,r)){var n=ll(e)[0],i=Gk(r,t)||ex(r,t,void 0),a=i===gr?yr:i,o=a.returnType,s=a.nextType;return jk(e,t.iteratorCacheKey,Rk(n,o,s))}if(ho(e,t.getGlobalIteratorType(!1))||ho(e,t.getGlobalGeneratorType(!1))){var c=ll(e);n=c[0],o=c[1],s=c[2];return jk(e,t.iteratorCacheKey,Rk(n,o,s))}}(e,t)||ex(e,t,r);return n===gr?void 0:n}function Gk(e,t){return Lk(e,t.iteratorCacheKey)}function $k(e,t){var r=Na(e,"done")||je;return cp(0===t?je:ze,r)}function Yk(e){return $k(e,0)}function Xk(e){return $k(e,1)}function Qk(e){if(Pa(e))return _r;var t,r=Lk(e,"iterationTypesOfIteratorResult");if(r)return r;if(ho(e,(t=!1,Vt||(Vt=Al("IteratorYieldResult",1,t))||st)))return jk(e,"iterationTypesOfIteratorResult",Rk(ll(e)[0],void 0,void 0));if(ho(e,function(e){return Ht||(Ht=Al("IteratorReturnResult",1,e))||st}(!1)))return jk(e,"iterationTypesOfIteratorResult",Rk(void 0,ll(e)[0],void 0));var n=ug(e,Yk),i=n!==He?Na(n,"value"):void 0,a=ug(e,Xk),o=a!==He?Na(a,"value"):void 0;return jk(e,"iterationTypesOfIteratorResult",i||o?Rk(i,o||Ve,void 0):gr)}function Zk(t,r,n,i){var a,o,s,c,l=gc(t,n);if(l||"next"===n){var u=!l||"next"===n&&16777216&l.flags?void 0:"next"===n?_o(l):Hm(_o(l),2097152);if(Pa(u))return"next"===n?_r:hr;var d,p,f,m,g,_=u?hc(u,0):e.emptyArray;if(0===_.length){if(i)pn(i,"next"===n?r.mustHaveANextMethodDiagnostic:r.mustBeAMethodDiagnostic,n);return"next"===n?_r:void 0}if((null==u?void 0:u.symbol)&&1===_.length){var h=r.getGlobalGeneratorType(!1),y=r.getGlobalIteratorType(!1),v=(null===(o=null===(a=h.symbol)||void 0===a?void 0:a.members)||void 0===o?void 0:o.get(n))===u.symbol,b=!v&&(null===(c=null===(s=y.symbol)||void 0===s?void 0:s.members)||void 0===c?void 0:c.get(n))===u.symbol;if(v||b){var k=v?h:y,x=u.mapper;return Rk(Cd(k.typeParameters[0],x),Cd(k.typeParameters[1],x),"next"===n?Cd(k.typeParameters[2],x):void 0)}}for(var E=0,S=_;E<S.length;E++){var D=S[E];"throw"!==n&&e.some(D.parameters)&&(d=e.append(d,nv(D,0))),p=e.append(p,Bc(D))}if("throw"!==n){var w=d?ou(d):Ae;if("next"===n)m=w;else if("return"===n){var T=r.resolveIterationType(w,i)||Ee;f=e.append(f,T)}}var C=p?fu(p):He,A=Qk(r.resolveIterationType(C,i)||Ee);return A===gr?(i&&pn(i,r.mustHaveAValueDiagnostic,n),g=Ee,f=e.append(f,Ee)):(g=A.yieldType,f=e.append(f,A.returnType)),Rk(g,ou(f),m)}}function ex(e,t,r){var n=Mk([Zk(e,t,"next",r),Zk(e,t,"return",r),Zk(e,t,"throw",r)]);return jk(e,t.iteratorCacheKey,n)}function tx(e,t,r){if(!Pa(t)){var n=rx(t,r);return n&&n[z(e)]}}function rx(e,t){if(Pa(e))return _r;var r=t?vr:br;return Bk(e,t?2:1,void 0)||Wk(e,r,void 0)}function nx(t){gS(t)||function(t){var r=t;for(;r;){if(e.isFunctionLike(r))return fS(t,e.Diagnostics.Jump_target_cannot_cross_function_boundary);switch(r.kind){case 247:if(t.label&&r.label.escapedText===t.label.escapedText)return!!(242===t.kind&&!e.isIterationStatement(r.statement,!0))&&fS(t,e.Diagnostics.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement);break;case 246:if(243===t.kind&&!t.label)return!1;break;default:if(e.isIterationStatement(r,!1)&&!t.label)return!1}r=r.parent}t.label?fS(t,243===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):fS(t,243===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 ix(e,t){var r,n,i=!!(2&t);return!!(1&t)?null!==(r=tx(1,e,i))&&void 0!==r?r:we:i?null!==(n=Ub(e))&&void 0!==n?n:we:e}function ax(t,r){var n=ix(r,e.getFunctionFlags(t));return!!n&&Rv(n,16387)}function ox(t){gS(t)||e.isIdentifier(t.expression)&&!t.expression.escapedText&&function(t,r,n,i,a){var o=e.getSourceFileOfNode(t);if(!uS(o)){var s=e.getSpanOfTokenAtPosition(o,t.pos);return Qr.add(e.createFileDiagnostic(o,e.textSpanEnd(s),0,r,n,i,a)),!0}}(t,e.Diagnostics.Line_break_not_permitted_here),t.expression&&fb(t.expression)}function sx(t){var r,n=Xc(t.symbol,1),i=Xc(t.symbol,0),a=kc(t,0),o=kc(t,1);if(a||o){e.forEach(qs(t),(function(e){var r=_o(e);f(e,r,t,i,a,0),f(e,r,t,n,o,1)}));var s=t.symbol.valueDeclaration;if(1&e.getObjectFlags(t)&&e.isClassLike(s))for(var c=0,l=s.members;c<l.length;c++){var u=l[c];if(!e.hasSyntacticModifier(u,32)&&!ns(u)){var d=Ai(u),p=_o(d);f(d,p,t,i,a,0),f(d,p,t,n,o,1)}}}a&&o&&(!(r=n||i)&&2&e.getObjectFlags(t)&&(r=e.forEach(Po(t),(function(e){return kc(e,0)&&kc(e,1)}))?void 0:t.symbol.declarations[0]));function f(t,r,n,i,a,o){if(a&&!e.isKnownSymbol(t)){var s=t.valueDeclaration,c=s&&e.getNameOfDeclaration(s);if((!c||!e.isPrivateIdentifier(c))&&(1!==o||(c?F_(c):R_(t.escapedName)))){var l;if(s&&c&&(218===s.kind||159===c.kind||t.parent===n.symbol))l=s;else if(i)l=i;else if(2&e.getObjectFlags(n)){l=e.forEach(Po(n),(function(e){return Js(e,t.escapedName)&&kc(e,o)}))?void 0:n.symbol.declarations[0]}if(l&&!cp(r,a))pn(l,0===o?e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_string_index_type_2:e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2,la(t),da(r),da(a))}}}r&&!cp(o,a)&&pn(r,e.Diagnostics.Numeric_index_type_0_is_not_assignable_to_string_index_type_1,da(o),da(a))}function cx(e,t){switch(e.escapedText){case"any":case"unknown":case"number":case"bigint":case"boolean":case"string":case"symbol":case"void":case"object":pn(e,t,e.escapedText)}}function lx(t){if(t)for(var n=!1,i=0;i<t.length;i++){var a=t[i];if(yb(a),r){a.default?(n=!0,ux(a.default,t,i)):n&&pn(a,e.Diagnostics.Required_type_parameters_may_not_follow_optional_type_parameters);for(var o=0;o<i;o++)t[o].symbol===a.symbol&&pn(a.name,e.Diagnostics.Duplicate_identifier_0,e.declarationNameToString(a.name))}}}function ux(t,r,n){!function t(i){if(174===i.kind){var a=El(i);if(262144&a.flags)for(var o=n;o<r.length;o++)a.symbol===Ai(r[o])&&pn(i,e.Diagnostics.Type_parameter_defaults_can_only_reference_previously_declared_type_parameters)}e.forEachChild(i,t)}(t)}function dx(t){if(1!==t.declarations.length){var r=Tn(t);if(!r.typeParametersChecked){r.typeParametersChecked=!0;var n=function(t){return e.filter(t.declarations,(function(e){return 254===e.kind||256===e.kind}))}(t);if(n.length<=1)return;if(!function(t,r){for(var n=e.length(r),i=Nc(r),a=0,o=t;a<o.length;a++){var s=o[a],c=e.getEffectiveTypeParameterDeclarations(s),l=c.length;if(l<i||l>n)return!1;for(var u=0;u<l;u++){var d=c[u],p=r[u];if(d.name.escapedText!==p.symbol.escapedName)return!1;var f=e.getEffectiveConstraintOfTypeParameter(d),m=f&&xd(f),g=Ws(p);if(m&&g&&!np(m,g))return!1;var _=d.default&&xd(d.default),h=nc(p);if(_&&h&&!np(_,h))return!1}}return!0}(n,Jo(t).localTypeParameters))for(var i=la(t),a=0,o=n;a<o.length;a++){pn(o[a].name,e.Diagnostics.All_declarations_of_0_must_have_identical_type_parameters,i)}}}}function px(r){r.name||e.hasSyntacticModifier(r,512)||dS(r,e.Diagnostics.A_struct_declaration_without_the_default_modifier_must_have_a_name),fx(r),function(r){var n;if(t.getCompilerOptions().ets&&r.name&&e.isIdentifier(r.name)){(null===(n=t.getCompilerOptions().ets)||void 0===n?void 0:n.components).includes(r.name.escapedText.toString())&&pn(r.name,e.Diagnostics.The_struct_name_cannot_contain_reserved_tag_name_Colon_0,r.name.escapedText.toString())}}(r),e.forEach(r.members,Rx),Qb(r)}function fx(t){var n;!function(t){var r=e.getSourceFileOfNode(t);(function(t){var r=!1,n=!1;if(!zE(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 dS(o,e.Diagnostics.extends_clause_already_seen);if(n)return dS(o,e.Diagnostics.extends_clause_must_precede_implements_clause);if(o.types.length>1)return dS(o.types[1],e.Diagnostics.Classes_can_only_extend_a_single_class);r=!0}else{if(e.Debug.assert(117===o.token),n)return dS(o,e.Diagnostics.implements_clause_already_seen);n=!0}GE(o)}})(t)||JE(t.typeParameters,r)}(t),$b(t),t.name&&(cx(t.name,e.Diagnostics.Class_name_cannot_be_0),hk(t,t.name),yk(t,t.name),8388608&t.flags||(n=t.name,1===V&&"Object"===n.escapedText&&H<e.ModuleKind.ES2015&&pn(n,e.Diagnostics.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0,e.ModuleKind[H]))),lx(e.getEffectiveTypeParameterDeclarations(t)),Lb(t);var i=Ai(t),a=Jo(i),o=ls(a),s=_o(i);dx(i),Mb(i),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(167===s.kind)for(var c=0,l=s.parameters;c<l.length;c++){var u=l[c];e.isParameterPropertyDeclaration(u,s)&&!e.isBindingPattern(u.name)&&g(r,u.name,u.name.escapedText,3)}else{var d=e.hasSyntacticModifier(s,32),p=s.name;if(!p)return;var f=e.isPrivateIdentifier(p)?i:d?n:r,m=p&&e.getPropertyNameForPropertyNameNode(p);if(m)switch(s.kind){case 168:g(f,p,m,1);break;case 169:g(f,p,m,2);break;case 164:g(f,p,m,3);break;case 166:g(f,p,m,8)}}}function g(t,r,n,i){var a=t.get(n);a?8&a?8!==i&&pn(r,e.Diagnostics.Duplicate_identifier_0,e.getTextOfNode(r)):a&i?pn(r,e.Diagnostics.Duplicate_identifier_0,e.getTextOfNode(r)):t.set(n,a|i):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.hasSyntacticModifier(i,32)&&a){var o=e.getPropertyNameForPropertyNameNode(a);switch(o){case"name":case"length":case"caller":case"arguments":case"prototype":pn(a,e.Diagnostics.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1,o,xa(Ai(t)))}}}}(t);var c=e.getEffectiveBaseTypeNode(t);if(c){e.forEach(c.typeArguments,Rx),V<2&&jE(c.parent,1);var l=e.getClassExtendsHeritageElement(t);l&&l!==c&&fb(l.expression);var u=Po(a);if(u.length&&r){var d=u[0],p=Ao(a),f=ac(p);if(function(t,r){var n=hc(t,1);if(n.length){var i=n[0].declaration;if(i&&e.hasEffectiveModifier(i,8))Wx(r,e.getClassLikeDeclarationOfSymbol(t.symbol))||pn(r,e.Diagnostics.Cannot_extend_a_class_0_Class_constructor_is_marked_as_private,pi(t.symbol))}}(f,c),Rx(c.expression),e.some(c.typeArguments)){e.forEach(c.typeArguments,Rx);for(var m=0,g=To(f,c.typeArguments,c);m<g.length;m++){if(!Ab(c,g[m].typeParameters))break}}if(pp(o,x=ls(d,a.thisType),void 0)?pp(s,rp(f),t.name||t,e.Diagnostics.Class_static_side_0_incorrectly_extends_base_class_static_side_1):mx(t,o,x,e.Diagnostics.Class_0_incorrectly_extends_base_class_1),8650752&p.flags)if(So(s))hc(p,1).some((function(e){return 4&e.flags}))&&!e.hasSyntacticModifier(t,128)&&pn(t.name||t,e.Diagnostics.A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract);else pn(t.name||t,e.Diagnostics.A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any);if(!(f.symbol&&32&f.symbol.flags||8650752&p.flags)){var _=Co(f,c.typeArguments,c);e.forEach(_,(function(e){return!Fy(e.declaration)&&!np(Bc(e),d)}))&&pn(c.expression,e.Diagnostics.Base_constructors_must_all_have_the_same_return_type)}!function(t,r){var n=Hs(r);e:for(var i=0,a=n;i<a.length;i++){var o=a[i],s=gx(o);if(!(4194304&s.flags)){var c=Js(t,s.escapedName);if(c){var l=gx(c),u=e.getDeclarationModifierFlagsFromSymbol(s);if(e.Debug.assert(!!l,"derived should point to something, even if it is the base class' declaration."),l===s){var d=e.getClassLikeDeclarationOfSymbol(t.symbol);if(128&u&&(!d||!e.hasSyntacticModifier(d,128))){for(var p=0,f=Po(t);p<f.length;p++){var m=f[p];if(m!==r){var g=Js(m,s.escapedName),_=g&&gx(g);if(_&&_!==s)continue e}}223===d.kind?pn(d,e.Diagnostics.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1,la(o),da(r)):pn(d,e.Diagnostics.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2,da(t),la(o),da(r))}}else{var h=e.getDeclarationModifierFlagsFromSymbol(l);if(8&u||8&h)continue;var y=void 0,v=98308&s.flags,b=98308&l.flags;if(v&&b){if(128&u&&!(s.valueDeclaration&&e.isPropertyDeclaration(s.valueDeclaration)&&s.valueDeclaration.initializer)||s.valueDeclaration&&256===s.valueDeclaration.parent.kind||l.valueDeclaration&&e.isBinaryExpression(l.valueDeclaration))continue;var k=4!==v&&4===b;if(k||4===v&&4!==b){var x=k?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;pn(e.getNameOfDeclaration(l.valueDeclaration)||l.valueDeclaration,x,la(s),da(r),da(t))}else if(J.useDefineForClassFields){var E=e.find(l.declarations,(function(e){return 164===e.kind&&!e.initializer}));if(E&&!(33554432&l.flags)&&!(128&u)&&!(128&h)&&!l.declarations.some((function(e){return!!(8388608&e.flags)}))){var S=Li(e.getClassLikeDeclarationOfSymbol(t.symbol)),D=E.name;if(E.exclamationToken||!S||!e.isIdentifier(D)||!W||!hx(D,t,S)){var w=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;pn(e.getNameOfDeclaration(l.valueDeclaration)||l.valueDeclaration,w,la(s),da(r))}}}continue}if(uh(s)){if(uh(l)||4&l.flags)continue;e.Debug.assert(!!(98304&l.flags)),y=e.Diagnostics.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor}else y=98304&s.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;pn(e.getNameOfDeclaration(l.valueDeclaration)||l.valueDeclaration,y,da(r),la(s),da(t))}}}}}(a,d)}}var h=e.getEffectiveImplementsTypeNodes(t);if(h)for(var y=0,v=h;y<v.length;y++){var b=v[y];if(e.isEntityNameExpression(b.expression)&&!e.isOptionalChain(b.expression)||pn(b.expression,e.Diagnostics.A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments),Pb(b),r){var k=uc(xd(b));if(k!==we)if(Fo(k)){var x,E=k.symbol&&32&k.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;pp(o,x=ls(k,a.thisType),void 0)||mx(t,o,x,E)}else pn(b,e.Diagnostics.A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members)}}r&&(sx(a),Eb(t),function(t){if(!W||!Y||8388608&t.flags)return;for(var r=Li(t),n=0,i=t.members;n<i.length;n++){var a=i[n];if(!(2&e.getEffectiveModifierFlags(a))&&_x(a)){var o=a.name;if(e.isIdentifier(o)||e.isPrivateIdentifier(o)){var s=_o(Ai(a));3&s.flags||32768&wf(s)||r&&hx(o,s,r)||pn(a.name,e.Diagnostics.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor,e.declarationNameToString(o))}}}}(t))}function mx(t,r,n,i){for(var a=!1,o=function(t){if(e.hasStaticModifier(t))return"continue";var i=t.name&&Yx(t.name)||Yx(t);if(i){var o=gc(r,i.escapedName),s=gc(n,i.escapedName);if(o&&s){pp(_o(o),_o(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,la(i),da(r),da(n))}))||(a=!0)}}},s=0,c=t.members;s<c.length;s++){o(c[s])}a||pp(r,n,t.name||t,i)}function gx(t){return 1&e.getCheckFlags(t)?t.target:t}function _x(t){return 164===t.kind&&!e.hasSyntacticModifier(t,160)&&!t.exclamationToken&&!t.initializer}function hx(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&wf(Og(i,r,Nf(r))))}function yx(t){if(zE(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),dS(a,e.Diagnostics.Interface_declaration_cannot_have_implements_clause);if(r)return dS(a,e.Diagnostics.extends_clause_already_seen);r=!0,GE(a)}}(t),lx(t.typeParameters),r){cx(t.name,e.Diagnostics.Interface_name_cannot_be_0),Lb(t);var n=Ai(t);if(dx(n),t===e.getDeclarationOfKind(n,256)){var i=Jo(n),a=ls(i);if(function(t,r){var n=Po(t);if(n.length<2)return!0;var i=new e.Map;e.forEach(Qo(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],l=0,u=Hs(ls(c,t.thisType));l<u.length;l++){var d=u[l],p=i.get(d.escapedName);if(p){if(p.containingType!==t&&!Qp(p.prop,d)){a=!1;var f=da(p.containingType),m=da(c),g=e.chainDiagnosticMessages(void 0,e.Diagnostics.Named_property_0_of_types_1_and_2_are_not_identical,la(d),f,m);g=e.chainDiagnosticMessages(g,e.Diagnostics.Interface_0_cannot_simultaneously_extend_types_1_and_2,da(t),f,m),Qr.add(e.createDiagnosticForNodeFromMessageChain(r,g))}}else i.set(d.escapedName,{prop:d,containingType:c})}return a}(i,t.name)){for(var o=0,s=Po(i);o<s.length;o++){pp(a,ls(s[o],i.thisType),t.name,e.Diagnostics.Interface_0_incorrectly_extends_interface_1)}sx(i)}}xb(t)}e.forEach(e.getInterfaceBaseTypeNodes(t),(function(t){e.isEntityNameExpression(t.expression)&&!e.isOptionalChain(t.expression)||pn(t.expression,e.Diagnostics.An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments),Pb(t)})),e.forEach(t.members,Rx),r&&(Eb(t),Qb(t))}function vx(e){var t=Cn(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=bx(a,r);Cn(a).enumMemberValue=o,r="number"==typeof o?o+1:void 0}}}function bx(t,r){if(e.isComputedNonLiteralName(t.name))pn(t.name,e.Diagnostics.Computed_property_names_are_not_allowed_in_enums);else{var n=e.getTextOfPropertyName(t.name);R_(n)&&!O_(n)&&pn(t.name,e.Diagnostics.An_enum_member_cannot_have_a_numeric_name)}return t.initializer?function(t){var r=jo(Ai(t.parent)),n=e.isEnumConst(t.parent),i=t.initializer,a=1!==r||Lo(t)?s(i):void 0;if(void 0!==a)n&&"number"==typeof a&&!isFinite(a)&&pn(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 pn(i,e.Diagnostics.Computed_values_are_not_permitted_in_an_enum_with_string_valued_members),0;if(n)pn(i,e.Diagnostics.const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values);else if(8388608&t.parent.flags)pn(i,e.Diagnostics.In_ambient_enum_declarations_member_initializer_must_be_constant_expression);else{var o=fb(i);Mv(o,296)?pp(o,Jo(Ai(t.parent)),i,void 0):pn(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,da(o))}}return a;function s(r){switch(r.kind){case 216: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 218: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 _S(r),+r.text;case 208:return s(r.expression);case 78:var o=r;return O_(o.escapedText)?+o.escapedText:e.nodeIsMissing(r)?0:c(r,Ai(t.parent),o.escapedText);case 203:case 202:var l=r;if(kx(l)){var u=ub(l.expression);if(u.symbol&&384&u.symbol.flags){var d=void 0;return d=202===l.kind?l.name.escapedText:e.escapeLeadingUnderscores(e.cast(l.argumentExpression,e.isLiteralExpression).text),c(r,u.symbol,d)}}}}function c(r,n,i){var a=n.exports.get(i);if(a){var o=a.valueDeclaration;if(o!==t)return Pn(o,t)?xE(o):(pn(r,e.Diagnostics.A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums),0);pn(r,e.Diagnostics.Property_0_is_used_before_being_assigned,la(a))}}}(t):8388608&t.parent.flags&&!e.isEnumConst(t.parent)&&0===jo(Ai(t.parent))?void 0:void 0!==r?r:void pn(t.name,e.Diagnostics.Enum_member_must_have_initializer)}function kx(t){return 78===t.kind||202===t.kind&&kx(t.expression)||203===t.kind&&kx(t.expression)&&e.isStringLiteralLike(t.argumentExpression)}function xx(t){e.isPrivateIdentifier(t.name)&&pn(t,e.Diagnostics.An_enum_member_cannot_be_named_with_a_private_identifier)}function Ex(t){if(r){var n=e.isGlobalScopeAugmentation(t),i=8388608&t.flags;n&&!i&&pn(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(Nx(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_in_a_namespace_or_module))return;zE(t)||i||10!==t.name.kind||fS(t.name,e.Diagnostics.Only_ambient_modules_can_use_quoted_names),e.isIdentifier(t.name)&&(hk(t,t.name),yk(t,t.name)),Lb(t);var o=Ai(t);if(512&o.flags&&!i&&o.declarations.length>1&&M(t,e.shouldPreserveConstEnums(J))){var s=function(t){for(var r=0,n=t.declarations;r<n.length;r++){var i=n[r];if((254===i.kind||253===i.kind&&e.nodeIsPresent(i.body))&&!(8388608&i.flags))return i}}(o);s&&(e.getSourceFileOfNode(t)!==e.getSourceFileOfNode(s)?pn(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&&pn(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,254);c&&(d=t,p=c,f=e.getEnclosingBlockScopeContainer(d),m=e.getEnclosingBlockScopeContainer(p),An(f)?An(m):!An(m)&&f===m)&&(Cn(t).flags|=32768)}if(a)if(e.isExternalModuleAugmentation(t)){if((n||33554432&Ai(t).flags)&&t.body)for(var l=0,u=t.body.statements;l<u.length;l++){Sx(u[l],n)}}else An(t.parent)?n?pn(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))&&pn(t.name,e.Diagnostics.Ambient_module_declaration_cannot_specify_relative_module_name):pn(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)}var d,p,f,m;t.body&&(Rx(t.body),e.isGlobalScopeAugmentation(t)||Qb(t))}function Sx(t,r){switch(t.kind){case 234:for(var n=0,i=t.declarationList.declarations;n<i.length;n++){Sx(i[n],r)}break;case 269:case 270:dS(t,e.Diagnostics.Exports_and_export_assignments_are_not_permitted_in_module_augmentations);break;case 263:case 264:dS(t,e.Diagnostics.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module);break;case 199:case 251:var a=t.name;if(e.isBindingPattern(a)){for(var o=0,s=a.elements;o<s.length;o++){Sx(s[o],r)}break}case 254:case 258:case 253:case 256:case 259:case 257:if(r)return;var c=Ai(t);if(c){var l=!(33554432&c.flags);l||(l=!!c.parent&&e.isExternalModuleAugmentation(c.parent.declarations[0]))}}}function Dx(t){var r=e.getExternalModuleName(t);if(!r||e.nodeIsMissing(r))return!1;if(!e.isStringLiteral(r))return pn(r,e.Diagnostics.String_literal_expected),!1;var n=260===t.parent.kind&&e.isAmbientModule(t.parent.parent);return 300===t.parent.kind||n?!(n&&e.isExternalModuleNameRelative(r.text)&&!va(t))||(pn(t,e.Diagnostics.Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name),!1):(pn(r,270===t.kind?e.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace:e.Diagnostics.Import_declarations_in_a_namespace_cannot_reference_a_module),!1)}function wx(t){var r,n=Ai(t),i=ai(n);if(i!==ke){var a=(1160127&(n=Ci(n.exportSymbol||n)).flags?111551:0)|(788968&n.flags?788968:0)|(1920&n.flags?1920:0);if(i.flags&a)pn(t,273===t.kind?e.Diagnostics.Export_declaration_conflicts_with_exported_declaration_of_0:e.Diagnostics.Import_declaration_conflicts_with_local_declaration_of_0,la(n));!J.isolatedModules||273!==t.kind||t.parent.parent.isTypeOnly||111551&i.flags||8388608&t.flags||pn(t,e.Diagnostics.Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type),e.isImportSpecifier(t)&&(null===(r=i.declarations)||void 0===r?void 0:r.every((function(t){return!!(134217728&e.getCombinedNodeFlags(t))})))&&hn(t.name,i.declarations,n.escapedName)}}function Tx(t){hk(t,t.name),yk(t,t.name),wx(t),268===t.kind&&"default"===e.idText(t.propertyName||t.name)&&J.esModuleInterop&&H!==e.ModuleKind.System&&H<e.ModuleKind.ES2015&&jE(t,131072)}function Cx(t){if(!Nx(t,e.Diagnostics.An_import_declaration_can_only_be_used_in_a_namespace_or_module)&&(!zE(t)&&e.hasEffectiveModifiers(t)&&dS(t,e.Diagnostics.An_import_declaration_cannot_have_modifiers),Dx(t))){var r=t.importClause;if(r&&!function(t){if(t.isTypeOnly&&t.name&&t.namedBindings)return fS(t,e.Diagnostics.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both);return!1}(r))if(r.name&&Tx(r),r.namedBindings)if(266===r.namedBindings.kind)Tx(r.namedBindings),H!==e.ModuleKind.System&&H<e.ModuleKind.ES2015&&J.esModuleInterop&&jE(t,65536);else gi(t,t.moduleSpecifier)&&e.forEach(r.namedBindings.elements,Tx)}}function Ax(t){if(!Nx(t,e.Diagnostics.An_export_declaration_can_only_be_used_in_a_module)&&(!zE(t)&&e.hasEffectiveModifiers(t)&&dS(t,e.Diagnostics.An_export_declaration_cannot_have_modifiers),t.moduleSpecifier&&t.exportClause&&e.isNamedExports(t.exportClause)&&e.length(t.exportClause.elements)&&0===V&&jE(t,2097152),function(t){var r,n=t.isTypeOnly&&271!==(null===(r=t.exportClause)||void 0===r?void 0:r.kind);n&&fS(t,e.Diagnostics.Only_named_exports_may_use_export_type)}(t),!t.moduleSpecifier||Dx(t)))if(t.exportClause&&!e.isNamespaceExport(t.exportClause)){e.forEach(t.exportClause.elements,Fx);var r=260===t.parent.kind&&e.isAmbientModule(t.parent.parent),n=!r&&260===t.parent.kind&&!t.moduleSpecifier&&8388608&t.flags;300===t.parent.kind||r||n||pn(t,e.Diagnostics.Export_declarations_are_not_permitted_in_a_namespace)}else{var i=gi(t,t.moduleSpecifier);i&&ki(i)?pn(t.moduleSpecifier,e.Diagnostics.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,la(i)):t.exportClause&&wx(t.exportClause),H!==e.ModuleKind.System&&H<e.ModuleKind.ES2015&&(t.exportClause?J.esModuleInterop&&jE(t,65536):jE(t,32768))}}function Nx(e,t){var r=300===e.parent.kind||260===e.parent.kind||259===e.parent.kind;return r||dS(e,t),!r}function Px(t){return e.isImportDeclaration(t)&&t.importClause&&!t.importClause.isTypeOnly&&(r=t.importClause,e.forEachImportClauseDeclaration(r,(function(e){return!!Ai(e).isReferenced})))&&!gE(t.importClause,!0)&&!function(t){return e.forEachImportClauseDeclaration(t,(function(e){return!!Tn(Ai(e)).constEnumReferenced}))}(t.importClause);var r}function Ix(t){return e.isImportEqualsDeclaration(t)&&e.isExternalModuleReference(t.moduleReference)&&!t.isTypeOnly&&Ai(t).isReferenced&&!gE(t,!1)&&!Tn(Ai(t)).constEnumReferenced}function Fx(t){if(wx(t),e.getEmitDeclarations(J)&&Sa(t.propertyName||t.name,!0),t.parent.parent.moduleSpecifier)J.esModuleInterop&&H!==e.ModuleKind.System&&H<e.ModuleKind.ES2015&&"default"===e.idText(t.propertyName||t.name)&&jE(t,131072);else{var r=t.propertyName||t.name,n=Fn(r,r.escapedText,2998271,void 0,void 0,!0);if(n&&(n===ie||n===ae||An(Aa(n.declarations[0]))))pn(r,e.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,e.idText(r));else{li(t);var i=n&&(2097152&n.flags?ai(n):n);(!i||i===ke||111551&i.flags)&&$v(t.propertyName||t.name)}}}function Ox(t){var r=Ai(t),n=Tn(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=Vn(i)||i.valueDeclaration;va(a)||e.isInJSFile(a)||pn(a,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}var o=Di(r);o&&o.forEach((function(t,r){var n=t.declarations,i=t.flags;if("__export"!==r&&!(1984&i)){var a=e.countWhere(n,A);if(!(524288&i&&a<=2)&&a>1)for(var o=0,s=n;o<s.length;o++){var c=s[o];L(c)&&Qr.add(e.createDiagnosticForNode(c,e.Diagnostics.Cannot_redeclare_exported_variable_0,e.unescapeLeadingUnderscores(r)))}}})),n.exportsChecked=!0}}function Rx(t){if(t){var i=d;d=t,x=0,function(t){e.isInJSFile(t)&&e.forEach(t.jsDoc,(function(t){var r=t.tags;return e.forEach(r,Rx)}));var i=t.kind;if(n)switch(i){case 259:case 254:case 256:case 253:n.throwIfCancellationRequested()}i>=234&&i<=250&&t.flowNode&&!Ng(t.flowNode)&&mn(!1===J.allowUnreachableCode,t,e.Diagnostics.Unreachable_code_detected);switch(i){case 160:return yb(t);case 161:return vb(t);case 164:return Sb(t);case 163:return function(t){return e.isPrivateIdentifier(t.name)&&pn(t,e.Diagnostics.Private_identifiers_are_not_allowed_outside_class_bodies),Sb(t)}(t);case 176:case 175:case 170:case 171:case 172:return kb(t);case 166:case 165:return function(t){nS(t)||YE(t.name),e.isPrivateIdentifier(t.name)&&pn(t,e.Diagnostics.A_method_cannot_be_named_with_a_private_identifier),Xb(t),e.hasSyntacticModifier(t,128)&&166===t.kind&&t.body&&pn(t,e.Diagnostics.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract,e.declarationNameToString(t.name))}(t);case 167:return Db(t);case 168:case 169:return wb(t);case 174:return Pb(t);case 173:return function(t){var r=function(e){switch(e.parent.kind){case 210:case 170:case 253:case 209:case 175:case 166:case 165:var t=e.parent;if(e===t.type)return t}}(t);if(r){var n=Ic(r),i=jc(n);if(i){Rx(t.type);var a=t.parameterName;if(0===i.kind||2===i.kind)vd(a);else if(i.parameterIndex>=0)U(n)&&i.parameterIndex===n.parameters.length-1?pn(a,e.Diagnostics.A_type_predicate_cannot_reference_a_rest_parameter):i.type&&pp(i.type,_o(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 l=c[s].name;if(e.isBindingPattern(l)&&bb(l,a,i.parameterName)){o=!0;break}}o||pn(t.parameterName,e.Diagnostics.Cannot_find_parameter_0,i.parameterName)}}}else pn(t,e.Diagnostics.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods)}(t);case 177:return function(e){Dl(e)}(t);case 178:return function(t){e.forEach(t.members,Rx),r&&(sx(nd(t)),Eb(t),xb(t))}(t);case 179:return function(e){Rx(e.elementType)}(t);case 180: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(193!==c.kind&&a){fS(c,e.Diagnostics.Tuple_members_must_all_have_names_or_all_not_have_names);break}var l=Bl(c);if(8&l){var u=xd(c.type);if(!sf(u)){pn(c,e.Diagnostics.A_rest_element_type_must_be_an_array_type);break}(rf(u)||vf(u)&&4&u.target.combinedFlags)&&(i=!0)}else if(4&l){if(i){fS(c,e.Diagnostics.A_rest_element_cannot_follow_another_rest_element);break}i=!0}else if(2&l){if(i){fS(c,e.Diagnostics.An_optional_element_cannot_follow_a_rest_element);break}n=!0}else if(n){fS(c,e.Diagnostics.A_required_element_cannot_follow_an_optional_element);break}}e.forEach(t.elements,Rx),xd(t)}(t);case 183:case 184:return function(t){e.forEach(t.types,Rx),xd(t)}(t);case 187:case 181:case 182:return Rx(t.type);case 188:return function(e){vd(e)}(t);case 189:return Fb(t);case 185:return function(t){e.forEachChild(t,Rx)}(t);case 186:return function(t){e.findAncestor(t,(function(e){return e.parent&&185===e.parent.kind&&e.parent.extendsType===e}))||fS(t,e.Diagnostics.infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type),Rx(t.typeParameter),Qb(t)}(t);case 194:return function(e){for(var t=0,r=e.templateSpans;t<r.length;t++){var n=r[t];Rx(n.type),pp(xd(n.type),et,n.type)}xd(e)}(t);case 196:return function(e){Rx(e.argument),xd(e)}(t);case 193:return function(t){t.dotDotDotToken&&t.questionToken&&fS(t,e.Diagnostics.A_tuple_member_cannot_be_both_optional_and_rest),181===t.type.kind&&fS(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),182===t.type.kind&&fS(t.type,e.Diagnostics.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type),Rx(t.type),xd(t)}(t);case 318: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&&pn(n[1],e.Diagnostics.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);var i=Yb(t.class.expression),a=e.getClassExtendsHeritageElement(r);if(a){var o=Yb(a.expression);o&&i.escapedText!==o.escapedText&&pn(i,e.Diagnostics.JSDoc_0_1_does_not_match_the_extends_2_clause,e.idText(t.tagName),e.idText(i),e.idText(o))}}else pn(r,e.Diagnostics.JSDoc_0_is_not_attached_to_a_class,e.idText(t.tagName))}(t);case 319:return function(t){var r=e.getEffectiveJSDocHost(t);r&&(e.isClassDeclaration(r)||e.isClassExpression(r))||pn(r,e.Diagnostics.JSDoc_0_is_not_attached_to_a_class,e.idText(t.tagName))}(t);case 334:case 327:case 328:return function(t){t.typeExpression||pn(t.name,e.Diagnostics.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags),t.name&&cx(t.name,e.Diagnostics.Type_alias_name_cannot_be_0),Rx(t.typeExpression)}(t);case 333:return function(e){Rx(e.constraint);for(var t=0,r=e.typeParameters;t<r.length;t++)Rx(r[t])}(t);case 332:return function(e){Rx(e.typeExpression)}(t);case 329:return function(t){if(Rx(t.typeExpression),!e.getParameterSymbolFromJSDoc(t)){var r=e.getHostSignatureFromJSDoc(t);if(r){var n=e.getJSDocTags(r).filter(e.isJSDocParameterTag).indexOf(t);if(n>-1&&n<r.parameters.length&&e.isBindingPattern(r.parameters[n].name))return;Oc(r)?e.findLast(e.getJSDocTags(r),e.isJSDocParameterTag)===t&&t.typeExpression&&t.typeExpression.type&&!rf(xd(t.typeExpression.type))&&pn(t.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(158===t.name.kind?t.name.right:t.name)):e.isQualifiedName(t.name)?pn(t.name,e.Diagnostics.Qualified_name_0_is_not_allowed_without_a_leading_param_object_1,e.entityNameToString(t.name),e.entityNameToString(t.name.left)):pn(t.name,e.Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name,e.idText(t.name))}}}(t);case 336:return function(e){Rx(e.typeExpression)}(t);case 311:!function(t){!r||t.type||e.isJSDocConstructSignature(t)||Gf(t,Ee),kb(t)}(t);case 309:case 308:case 306:case 307:case 315:return Mx(t),void e.forEachChild(t,Rx);case 312:return void function(t){Mx(t),Rx(t.type);var r=t.parent;if(e.isParameter(r)&&e.isJSDocFunctionType(r.parent))return void(e.last(r.parent.parameters)!==r&&pn(t,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list));e.isJSDocTypeExpression(r)||pn(t,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);var n=t.parent.parent;if(!e.isJSDocParameterTag(n))return void pn(t,e.Diagnostics.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);var i=e.getParameterSymbolFromJSDoc(n);if(!i)return;var a=e.getHostSignatureFromJSDoc(n);a&&e.last(a.parameters).symbol===i||pn(t,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list)}(t);case 304:return Rx(t.type);case 190:return function(e){Rx(e.objectType),Rx(e.indexType),Ib(Hu(e),e)}(t);case 191:return function(t){Rx(t.typeParameter),Rx(t.nameType),Rx(t.type),t.type||Gf(t,Ee);var r=Ku(t),n=Is(r);n?pp(n,Qe,t.nameType):pp(Ps(r),Qe,e.getEffectiveConstraintOfTypeParameter(t.typeParameter))}(t);case 253:return function(e){r&&(Xb(e),XE(e),hk(e,e.name),yk(e,e.name))}(t);case 232:case 260:return pk(t);case 234:return Dk(t);case 235:return function(e){gS(e),fb(e.expression)}(t);case 236:return function(t){gS(t);var r=Ck(t.expression);wk(t.expression,r,t.thenStatement),Rx(t.thenStatement),233===t.thenStatement.kind&&pn(t.thenStatement,e.Diagnostics.The_body_of_an_if_statement_cannot_be_the_empty_statement),Rx(t.elseStatement)}(t);case 237:return function(e){gS(e),Rx(e.statement),Ck(e.expression)}(t);case 238:return function(e){gS(e),Ck(e.expression),Rx(e.statement)}(t);case 239:return function(t){gS(t)||t.initializer&&252===t.initializer.kind&&cS(t.initializer),t.initializer&&(252===t.initializer.kind?e.forEach(t.initializer.declarations,Ek):fb(t.initializer)),t.condition&&Ck(t.condition),t.incrementor&&fb(t.incrementor),Rx(t.statement),t.locals&&Qb(t)}(t);case 240:return Ak(t);case 241:return function(t){if(eS(t),t.awaitModifier?2==(6&e.getFunctionFlags(e.getContainingFunction(t)))&&V<99&&jE(t,16384):J.downlevelIteration&&V<2&&jE(t,256),252===t.initializer.kind)Nk(t);else{var r=t.initializer,n=Pk(t);if(200===r.kind||201===r.kind)qv(r,n||we);else{var i=fb(r);Iv(r,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,e.Diagnostics.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access),n&&fp(n,i,r,t.expression)}}Rx(t.statement),t.locals&&Qb(t)}(t);case 242:case 243:return nx(t);case 244:return function(t){var r;if(!gS(t)){var n=e.getContainingFunction(t);if(n){var i=Bc(Ic(n)),a=e.getFunctionFlags(n);if(W||t.expression||131072&i.flags){var o=t.expression?$v(t.expression):Ne;if(169===n.kind)t.expression&&pn(t,e.Diagnostics.Setters_cannot_return_a_value);else if(167===n.kind)t.expression&&!fp(o,i,t,t.expression)&&pn(t,e.Diagnostics.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class);else if(zc(n)){var s=null!==(r=ix(i,a))&&void 0!==r?r:i,c=2&a?zb(o,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&&fp(c,s,t,t.expression)}}else 167!==n.kind&&J.noImplicitReturns&&!ax(n,i)&&pn(t,e.Diagnostics.Not_all_code_paths_return_a_value)}else dS(t,e.Diagnostics.A_return_statement_can_only_be_used_within_a_function_body)}}(t);case 245:return function(t){gS(t)||32768&t.flags&&dS(t,e.Diagnostics.with_statements_are_not_allowed_in_an_async_function_block),fb(t.expression);var r=e.getSourceFileOfNode(t);if(!uS(r)){var n=e.getSpanOfTokenAtPosition(r,t.pos).start;pS(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 246:return function(t){var n;gS(t);var i=!1,a=fb(t.expression),o=ff(a);e.forEach(t.caseBlock.clauses,(function(t){if(288!==t.kind||i||(void 0===n?n=t:(fS(t,e.Diagnostics.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement),i=!0)),r&&287===t.kind){var s=fb(t.expression),c=ff(s),l=a;c&&o||(s=c?mf(s):s,l=mf(a)),Vv(l,s)||xp(s,l,t.expression,void 0)}e.forEach(t.statements,Rx),J.noFallthroughCasesInSwitch&&t.fallthroughFlowNode&&Ng(t.fallthroughFlowNode)&&pn(t,e.Diagnostics.Fallthrough_case_in_switch)})),t.caseBlock.locals&&Qb(t.caseBlock)}(t);case 247:return function(t){gS(t)||e.findAncestor(t.parent,(function(r){return e.isFunctionLike(r)?"quit":247===r.kind&&r.label.escapedText===t.label.escapedText&&(fS(t.label,e.Diagnostics.Duplicate_label_0,e.getTextOfNode(t.label)),!0)})),Rx(t.statement)}(t);case 248:return ox(t);case 249:return function(t){gS(t),pk(t.tryBlock);var r=t.catchClause;if(r){if(r.variableDeclaration){var n=r.variableDeclaration;if(n.type){var i=Ua(n,!1);!i||3&i.flags||dS(n.type,e.Diagnostics.Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified)}else if(n.initializer)dS(n.initializer,e.Diagnostics.Catch_clause_variable_cannot_have_an_initializer);else{var a=r.block.locals;a&&e.forEachKey(r.locals,(function(t){var r=a.get(t);r&&2&r.flags&&fS(r.valueDeclaration,e.Diagnostics.Cannot_redeclare_identifier_0_in_catch_clause,t)}))}}pk(r.block)}t.finallyBlock&&pk(t.finallyBlock)}(t);case 251:return Ek(t);case 199:return Sk(t);case 254:return function(t){t.name||e.hasSyntacticModifier(t,512)||dS(t,e.Diagnostics.A_class_declaration_without_the_default_modifier_must_have_a_name),fx(t),e.forEach(t.members,Rx),Qb(t)}(t);case 255:return px(t);case 256:return yx(t);case 257:return function(t){zE(t),cx(t.name,e.Diagnostics.Type_alias_name_cannot_be_0),Lb(t),lx(t.typeParameters),137===t.type.kind?P.has(t.name.escapedText)&&1===e.length(t.typeParameters)||pn(t.type,e.Diagnostics.The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types):(Rx(t.type),Qb(t))}(t);case 258:return function(t){if(r){zE(t),cx(t.name,e.Diagnostics.Enum_name_cannot_be_0),hk(t,t.name),yk(t,t.name),Lb(t),t.members.forEach(xx),vx(t);var n=Ai(t);if(t===e.getDeclarationOfKind(n,t.kind)){if(n.declarations.length>1){var i=e.isEnumConst(t);e.forEach(n.declarations,(function(t){e.isEnumDeclaration(t)&&e.isEnumConst(t)!==i&&pn(e.getNameOfDeclaration(t),e.Diagnostics.Enum_declarations_must_all_be_const_or_non_const)}))}var a=!1;e.forEach(n.declarations,(function(t){if(258!==t.kind)return!1;var r=t;if(!r.members.length)return!1;var n=r.members[0];n.initializer||(a?pn(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 259:return Ex(t);case 264:return Cx(t);case 263:return function(t){if(!Nx(t,e.Diagnostics.An_import_declaration_can_only_be_used_in_a_namespace_or_module)&&(zE(t),e.isInternalModuleImportEqualsDeclaration(t)||Dx(t)))if(Tx(t),e.hasSyntacticModifier(t,1)&&li(t),275!==t.moduleReference.kind){var r=ai(Ai(t));if(r!==ke){if(111551&r.flags){var n=e.getFirstIdentifier(t.moduleReference);1920&fi(n,112575).flags||pn(n,e.Diagnostics.Module_0_is_hidden_by_a_local_declaration_with_the_same_name,e.declarationNameToString(n))}788968&r.flags&&cx(t.name,e.Diagnostics.Import_name_cannot_be_0)}t.isTypeOnly&&fS(t,e.Diagnostics.An_import_alias_cannot_use_import_type)}else!(H>=e.ModuleKind.ES2015)||t.isTypeOnly||8388608&t.flags||fS(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 270:return Ax(t);case 269:return function(t){if(!Nx(t,e.Diagnostics.An_export_assignment_can_only_be_used_in_a_module)){var r=300===t.parent.kind?t.parent:t.parent.parent;if(259!==r.kind||e.isAmbientModule(r)){if(!zE(t)&&e.hasEffectiveModifiers(t)&&dS(t,e.Diagnostics.An_export_assignment_cannot_have_modifiers),78===t.expression.kind){var n=t.expression,i=fi(n,67108863,!0,!0,t);if(i){Jg(i,n);var a=2097152&i.flags?ai(i):i;(a===ke||111551&a.flags)&&$v(t.expression)}else $v(t.expression);e.getEmitDeclarations(J)&&Sa(t.expression,!0)}else $v(t.expression);Ox(r),8388608&t.flags&&!e.isEntityNameExpression(t.expression)&&fS(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||(H>=e.ModuleKind.ES2015?fS(t,e.Diagnostics.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):H===e.ModuleKind.System&&fS(t,e.Diagnostics.Export_assignment_is_not_supported_when_module_flag_is_system))}else t.isExportEquals?pn(t,e.Diagnostics.An_export_assignment_cannot_be_used_in_a_namespace):pn(t,e.Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module)}}(t);case 233:case 250:return void gS(t);case 274:(function(e){$b(e)})(t)}}(t),d=i}}function Mx(t){e.isInJSFile(t)||fS(t,e.Diagnostics.JSDoc_types_can_only_be_used_inside_documentation_comments)}function Lx(t){var r=Cn(e.getSourceFileOfNode(t));if(!(1&r.flags)){r.deferredNodes=r.deferredNodes||new e.Map;var n=O(t);r.deferredNodes.set(n,t)}}function jx(t){null===e.tracing||void 0===e.tracing||e.tracing.push("check","checkDeferredNode",{kind:t.kind,pos:t.pos,end:t.end});var r=d;switch(d=t,x=0,t.kind){case 204:case 205:case 206:case 162:case 278:Vh(t);break;case 209:case 210:case 166:case 165:!function(t){e.Debug.assert(166!==t.kind||e.isObjectLiteralMethod(t));var r=e.getFunctionFlags(t),n=zc(t);if(wv(t,n),t.body)if(e.getEffectiveReturnTypeNode(t)||Bc(Ic(t)),232===t.body.kind)Rx(t.body);else{var i=fb(t.body),a=n&&ix(n,r);a&&fp(2==(3&r)?zb(i,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 168:case 169:wb(t);break;case 223:!function(t){e.forEach(t.members,Rx),Qb(t)}(t);break;case 277:!function(e){ah(e)}(t);break;case 276:!function(e){ah(e.openingElement),q_(e.closingElement.tagName)?G_(e.closingElement):fb(e.closingElement.tagName),V_(e)}(t)}d=r,null===e.tracing||void 0===e.tracing||e.tracing.pop()}function Bx(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=Cn(r);if(!(1&n.flags)){if(e.skipTypeChecking(r,J,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)||234===i.kind)&&mS(i))return!0}}(t)}(r),e.clear(Gr),e.clear($r),e.clear(Yr),e.forEach(r.statements,Rx),Rx(r.endOfFileToken),function(e){var t=Cn(e);t.deferredNodes&&t.deferredNodes.forEach(jx)}(r),e.isExternalOrCommonJsModule(r)&&Qb(r),r.isDeclarationFile||!J.noUnusedLocals&&!J.noUnusedParameters||Zb(Ux(r),(function(t,r,n){!e.containsParseError(t)&&zx(r,!!(8388608&t.flags))&&Qr.add(n)})),2===J.importsNotUsedAsValues&&!r.isDeclarationFile&&e.isExternalModule(r)&&function(t){for(var r=0,n=t.statements;r<n.length;r++){var i=n[r];(Px(i)||Ix(i))&&pn(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)&&Ox(r),Gr.length&&(e.forEach(Gr,mk),e.clear(Gr)),$r.length&&(e.forEach($r,gk),e.clear($r)),Yr.length&&(e.forEach(Yr,_k),e.clear(Yr)),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 zx(t,r){if(r)return!1;switch(t){case 0:return!!J.noUnusedLocals;case 1:return!!J.noUnusedParameters;default:return e.Debug.assertNever(t)}}function Ux(t){return Er.get(t.path)||e.emptyArray}function qx(r,i){try{return n=i,function(r){if(Jx(),r){var n=Qr.getGlobalDiagnostics(),i=n.length;Bx(r);var a=Qr.getDiagnostics(r.fileName),o=Qr.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(),Bx),Qr.getDiagnostics()}(r)}finally{n=void 0}}function Jx(){if(!r)throw new Error("Trying to get diagnostics from a type checker that does not produce them.")}function Vx(e){switch(e.kind){case 160:case 254:case 256:case 257:case 258:case 334:case 327:case 328:return!0;case 265:return e.isTypeOnly;case 268:case 273:return e.parent.parent.isTypeOnly;default:return!1}}function Hx(e){for(;158===e.parent.kind;)e=e.parent;return 174===e.parent.kind}function Kx(t,r){for(var n;(t=e.getContainingClass(t))&&!(n=r(t)););return n}function Wx(e,t){return!!Kx(e,(function(e){return e===t}))}function Gx(e){return void 0!==function(e){for(;158===e.parent.kind;)e=e.parent;return 263===e.parent.kind?e.parent.moduleReference===e?e.parent:void 0:269===e.parent.kind&&e.parent.expression===e?e.parent:void 0}(e)}function $x(t){if(e.isDeclarationName(t))return Ai(t.parent);if(e.isInJSFile(t)&&202===t.parent.kind&&t.parent===t.parent.parent.left&&!e.isPrivateIdentifier(t)){var r=function(t){switch(e.getAssignmentDeclarationKind(t.parent.parent)){case 1:case 3:return Ai(t.parent);case 4:case 2:case 5:return Ai(t.parent.parent)}}(t);if(r)return r}if(269===t.parent.kind&&e.isEntityNameExpression(t)){var n=fi(t,2998271,!0);if(n&&n!==ke)return n}else if(!e.isPropertyAccessExpression(t)&&!e.isPrivateIdentifier(t)&&Gx(t)){var i=e.getAncestor(t,263);return e.Debug.assert(void 0!==i),di(t,!0)}if(!e.isPropertyAccessExpression(t)&&!e.isPrivateIdentifier(t)){var a=function(t){for(var r=t.parent;e.isQualifiedName(r);)t=r,r=r.parent;if(r&&196===r.kind&&r.qualifier===t)return r}(t);if(a){xd(a);var o=Cn(t).resolvedSymbol;return o===ke?void 0:o}}for(;e.isRightSideOfQualifiedNameOrPropertyAccess(t);)t=t.parent;if(function(e){for(;202===e.parent.kind;)e=e.parent;return 225===e.parent.kind}(t)){var s=0;225===t.parent.kind?(s=788968,e.isExpressionWithTypeArgumentsInClassExtendsClause(t.parent)&&(s|=111551)):s=1920,s|=2097152;var c=e.isEntityNameExpression(t)?fi(t,s):void 0;if(c)return c}if(329===t.parent.kind)return e.getParameterSymbolFromJSDoc(t.parent);if(160===t.parent.kind&&333===t.parent.parent.kind){e.Debug.assert(!e.isInJSFile(t));var l=e.getTypeParameterFromJsDoc(t.parent);return l&&l.symbol}if(e.isExpressionNode(t)){if(e.nodeIsMissing(t))return;if(78===t.kind){if(e.isJSXTagName(t)&&q_(t)){var u=G_(t.parent);return u===ke?void 0:u}return fi(t,111551,!1,!0)}if(202===t.kind||158===t.kind){var d=Cn(t);return d.resolvedSymbol||(202===t.kind?kh(t):xh(t)),d.resolvedSymbol}}else{if(Hx(t))return fi(t,s=174===t.parent.kind?788968:1920,!1,!0);if(function(e){for(;158===e.parent.kind;)e=e.parent;for(;202===e.parent.kind;)e=e.parent;return 305===e.parent.kind}(t))return fi(t,s=901119,!1,!0,e.getHostSignatureFromJSDoc(t))}return 173===t.parent.kind?fi(t,1):void 0}function Yx(t,r){if(300===t.kind)return e.isExternalModule(t)?Ci(t.symbol):void 0;var n=t.parent,i=n.parent;if(!(16777216&t.flags)){if(j(t)){var a=Ai(n);return e.isImportOrExportSpecifier(t.parent)&&t.parent.propertyName===t?j_(a):a}if(e.isLiteralComputedPropertyDeclarationName(t))return Ai(n.parent);if(78===t.kind){if(Gx(t))return $x(t);if(199===n.kind&&197===i.kind&&t===n.propertyName){var o=gc(Xx(i),t.escapedText);if(o)return o}}switch(t.kind){case 78:case 79:case 202:case 158:return $x(t);case 108:var s=e.getThisContainer(t,!1);if(e.isFunctionLike(s)){var c=Ic(s);if(c.thisParameter)return c.thisParameter}if(e.isInExpressionContext(t))return fb(t).symbol;case 188:return vd(t).symbol;case 106:return fb(t).symbol;case 133:var l=t.parent;return l&&167===l.kind?l.parent.symbol:void 0;case 10:case 14:if(e.isExternalModuleImportEqualsDeclaration(t.parent.parent)&&e.getExternalModuleImportEqualsDeclarationExpression(t.parent.parent)===t||(264===t.parent.kind||270===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 gi(t,t,r);if(e.isCallExpression(n)&&e.isBindableObjectDefinePropertyCall(n)&&n.arguments[1]===t)return Ai(n);case 8:var u=e.isElementAccessExpression(n)?n.argumentExpression===t?ub(n.expression):void 0:e.isLiteralTypeNode(n)&&e.isIndexedAccessTypeNode(i)?xd(i.objectType):void 0;return u&&gc(u,e.escapeLeadingUnderscores(t.text));case 88:case 98:case 38:case 83:return Ai(t.parent);case 196:return e.isLiteralImportTypeNode(t)?Yx(t.argument.literal,r):void 0;case 93:return e.isExportAssignment(t.parent)?e.Debug.checkDefined(t.parent.symbol):void 0;default:return}}}function Xx(t){if(e.isSourceFile(t)&&!e.isExternalModule(t))return we;if(16777216&t.flags)return we;var r,n,i=e.tryGetClassImplementingOrExtendingExpressionWithTypeArguments(t),a=i&&Oo(Ai(i.class));if(e.isPartOfTypeNode(t)){var o=xd(t);return a?ls(o,a.thisType):o}if(e.isExpressionNode(t))return Zx(t);if(a&&!i.isImplements){var s=e.firstOrUndefined(Po(a));return s?ls(s,a.thisType):we}if(Vx(t))return Jo(n=Ai(t));if(78===(r=t).kind&&Vx(r.parent)&&e.getNameOfDeclaration(r.parent)===r)return(n=Yx(t))?Jo(n):we;if(e.isDeclaration(t))return _o(n=Ai(t));if(j(t))return(n=Yx(t))?_o(n):we;if(e.isBindingPattern(t))return Ua(t.parent,!0)||we;if(Gx(t)&&(n=Yx(t))){var c=Jo(n);return c!==we?c:_o(n)}return we}function Qx(t){if(e.Debug.assert(201===t.kind||200===t.kind),241===t.parent.kind)return qv(t,Pk(t.parent)||we);if(218===t.parent.kind)return qv(t,ub(t.parent.right)||we);if(291===t.parent.kind){var r=e.cast(t.parent.parent,e.isObjectLiteralExpression);return zv(r,Qx(r)||we,e.indexOfNode(r.properties,t.parent))}var n=e.cast(t.parent,e.isArrayLiteralExpression),i=Qx(n)||we,a=Ik(65,i,Ne,t.parent)||we;return Uv(n,i,n.elements.indexOf(t),a)}function Zx(t,r){return e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent),gd(ub(t,r))}function eE(t){var r=Ai(t.parent);return e.hasSyntacticModifier(t,32)?_o(r):Jo(r)}function tE(t){var r=t.name;switch(r.kind){case 78:return hd(e.idText(r));case 8:case 10:return hd(r.text);case 159:var n=M_(r);return Mv(n,12288)?n:Re;default:return e.Debug.fail("Unsupported property name.")}}function rE(t){t=ac(t);var r=e.createSymbolTable(Hs(t)),n=hc(t,0).length?bt:hc(t,1).length?kt:void 0;return n&&e.forEach(Hs(n),(function(e){r.has(e.escapedName)||r.set(e.escapedName,e)})),Hi(r)}function nE(t){return e.typeHasCallOrConstructSignatures(t,le)}function iE(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)&&PE(r)===se)}function aE(t){var r=gi(t.parent,t);if(!r||e.isShorthandAmbientModuleSymbol(r))return!0;var n=ki(r),i=Tn(r=vi(r));return void 0===i.exportsSomeValue&&(i.exportsSomeValue=n?!!(111551&r.flags):e.forEachEntry(Di(r),(function(e){return(e=ii(e))&&!!(111551&e.flags)}))),i.exportsSomeValue}function oE(t,r){var n=e.getParseTreeNode(t,e.isIdentifier);if(n){var i=PE(n,function(t){return e.isModuleOrEnumDeclaration(t.parent)&&t===t.parent.name}(n));if(i){if(1048576&i.flags){var a=Ci(i.exportSymbol);if(!r&&944&a.flags&&!(3&a.flags))return;i=a}var o=Ni(i);if(o){if(512&o.flags&&300===o.valueDeclaration.kind){var s=o.valueDeclaration;return s!==e.getSourceFileOfNode(n)?void 0:s}return e.findAncestor(n.parent,(function(t){return e.isModuleOrEnumDeclaration(t)&&Ai(t)===o}))}}}}function sE(t){if(t.generatedImportReference)return t.generatedImportReference;var r=e.getParseTreeNode(t,e.isIdentifier);if(r){var n=PE(r);if(ni(n,111551)&&!ci(n))return Vn(n)}}function cE(t){if(418&t.flags&&!e.isSourceFile(t.valueDeclaration)){var r=Tn(t);if(void 0===r.isDeclarationWithCollidingName){var n=e.getEnclosingBlockScopeContainer(t.valueDeclaration);if(e.isStatementWithLocals(n)||function(t){return e.isBindingElement(t.valueDeclaration)&&290===e.walkUpBindingElementsAndPatterns(t.valueDeclaration).parent.kind}(t)){var i=Cn(t.valueDeclaration);if(Fn(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=232===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 lE(t){if(!e.isGeneratedIdentifier(t)){var r=e.getParseTreeNode(t,e.isIdentifier);if(r){var n=PE(r);if(n&&cE(n))return n.valueDeclaration}}}function uE(t){var r=e.getParseTreeNode(t,e.isDeclaration);if(r){var n=Ai(r);if(n)return cE(n)}return!1}function dE(t){switch(t.kind){case 263:return fE(Ai(t)||ke);case 265:case 266:case 268:case 273:var r=Ai(t)||ke;return fE(r)&&!ci(r);case 270:var n=t.exportClause;return!!n&&(e.isNamespaceExport(n)||e.some(n.elements,dE));case 269:return!t.expression||78!==t.expression.kind||fE(Ai(t)||ke)}return!1}function pE(t){var r=e.getParseTreeNode(t,e.isImportEqualsDeclaration);return!(void 0===r||300!==r.parent.kind||!e.isInternalModuleImportEqualsDeclaration(r))&&(fE(Ai(r))&&r.moduleReference&&!e.nodeIsMissing(r.moduleReference))}function fE(t){var r=ai(t);return r===ke||!!(111551&r.flags)&&(e.shouldPreserveConstEnums(J)||!mE(r))}function mE(e){return Bv(e)||!!e.constEnumOnlyModule}function gE(t,r){if(Hn(t)){var n=Ai(t),i=n&&Tn(n);if(null==i?void 0:i.referenced)return!0;var a=Tn(n).target;if(a&&1&e.getEffectiveModifierFlags(t)&&111551&a.flags&&(e.shouldPreserveConstEnums(J)||!mE(a)))return!0}return!!r&&!!e.forEachChild(t,(function(e){return gE(e,r)}))}function _E(t){if(e.nodeIsPresent(t.body)){if(e.isGetAccessor(t)||e.isSetAccessor(t))return!1;var r=Rc(Ai(t));return r.length>1||1===r.length&&r[0].declaration!==t}return!1}function hE(t){return!(!W||Tc(t)||e.isJSDocParameterTag(t)||!t.initializer||e.hasSyntacticModifier(t,92))}function yE(t){return W&&Tc(t)&&!t.initializer&&e.hasSyntacticModifier(t,92)}function vE(t){var r=e.getParseTreeNode(t,e.isFunctionDeclaration);if(!r)return!1;var n=Ai(r);return!!(n&&16&n.flags)&&!!e.forEachEntry(Si(n),(function(t){return 111551&t.flags&&t.valueDeclaration&&e.isPropertyAccessExpression(t.valueDeclaration)}))}function bE(t){var r=e.getParseTreeNode(t,e.isFunctionDeclaration);if(!r)return e.emptyArray;var n=Ai(r);return n&&Hs(_o(n))||e.emptyArray}function kE(e){return Cn(e).flags||0}function xE(e){return vx(e.parent),Cn(e).enumMemberValue}function EE(e){switch(e.kind){case 294:case 202:case 203:return!0}return!1}function SE(t){if(294===t.kind)return xE(t);var r=Cn(t).resolvedSymbol;if(r&&8&r.flags){var n=r.valueDeclaration;if(e.isEnumConst(n.parent))return xE(n)}}function DE(e){return!!(524288&e.flags)&&hc(e,0).length>0}function wE(t,r){var n,i=e.getParseTreeNode(t,e.isEntityName);if(!i)return e.TypeReferenceSerializationKind.Unknown;if(r&&!(r=e.getParseTreeNode(r)))return e.TypeReferenceSerializationKind.Unknown;var a=fi(i,111551,!0,!0,r),o=(null===(n=null==a?void 0:a.declarations)||void 0===n?void 0:n.every(e.isTypeOnlyImportOrExportDeclaration))||!1,s=a&&2097152&a.flags?ai(a):a,c=fi(i,788968,!0,!1,r);if(s&&s===c){var l=Fl(!1);if(l&&s===l)return e.TypeReferenceSerializationKind.Promise;var u=_o(s);if(u&&Do(u))return o?e.TypeReferenceSerializationKind.TypeWithCallSignature:e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue}if(!c)return o?e.TypeReferenceSerializationKind.ObjectType:e.TypeReferenceSerializationKind.Unknown;var d=Jo(c);return d===we?o?e.TypeReferenceSerializationKind.ObjectType:e.TypeReferenceSerializationKind.Unknown:3&d.flags?e.TypeReferenceSerializationKind.ObjectType:Mv(d,245760)?e.TypeReferenceSerializationKind.VoidNullableOrNeverType:Mv(d,528)?e.TypeReferenceSerializationKind.BooleanType:Mv(d,296)?e.TypeReferenceSerializationKind.NumberLikeType:Mv(d,2112)?e.TypeReferenceSerializationKind.BigIntLikeType:Mv(d,402653316)?e.TypeReferenceSerializationKind.StringLikeType:vf(d)?e.TypeReferenceSerializationKind.ArrayLikeType:Mv(d,12288)?e.TypeReferenceSerializationKind.ESSymbolType:DE(d)?e.TypeReferenceSerializationKind.TypeWithCallSignature:rf(d)?e.TypeReferenceSerializationKind.ArrayLikeType:e.TypeReferenceSerializationKind.ObjectType}function TE(t,r,n,i,a){var o=e.getParseTreeNode(t,e.isVariableLikeOrAccessor);if(!o)return e.factory.createToken(129);var s=Ai(o),c=!s||133120&s.flags?we:gf(_o(s));return 8192&c.flags&&c.symbol===s&&(n|=1048576),a&&(c=Nf(c)),re.typeToTypeNode(c,r,1024|n,i)}function CE(t,r,n,i){var a=e.getParseTreeNode(t,e.isFunctionLike);if(!a)return e.factory.createToken(129);var o=Ic(a);return re.typeToTypeNode(Bc(o),r,1024|n,i)}function AE(t,r,n,i){var a=e.getParseTreeNode(t,e.isExpression);if(!a)return e.factory.createToken(129);var o=Hf(Zx(a));return re.typeToTypeNode(o,r,1024|n,i)}function NE(t){return ne.has(e.escapeLeadingUnderscores(t))}function PE(t,r){var n=Cn(t).resolvedSymbol;if(n)return n;var i=t;if(r){var a=t.parent;e.isDeclaration(a)&&t===a.name&&(i=Aa(a))}return Fn(i,t.escapedText,3257279,void 0,void 0,!0)}function IE(t){if(!e.isGeneratedIdentifier(t)){var r=e.getParseTreeNode(t,e.isIdentifier);if(r){var n=PE(r);if(n)return Ri(n).valueDeclaration}}}function FE(t){return!!(e.isDeclarationReadonly(t)||e.isVariableDeclaration(t)&&e.isVarConst(t))&&_d(_o(Ai(t)))}function OE(t,r){return function(t,r,n){var i=1024&t.flags?re.symbolToExpression(t.symbol,111551,r,void 0,n):t===ze?e.factory.createTrue():t===je&&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)}(_o(Ai(t)),t,r)}function RE(t){return t?(un(t),e.getSourceFileOfNode(t).localJsxFactory||ar):ar}function ME(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,V),r.localJsxFragmentFactory}}if(J.jsxFragmentFactory)return e.parseIsolatedEntityName(J.jsxFragmentFactory,V)}function LE(t){var r=259===t.kind?e.tryCast(t.name,e.isStringLiteral):e.getExternalModuleName(t),n=_i(r,r,void 0);if(n)return e.getDeclarationOfKind(n,300)}function jE(t,r){if((o&r)!==r&&J.importHelpers){var n=e.getSourceFileOfNode(t);if(e.isEffectiveExternalModule(n,J)&&!(8388608&t.flags)){var i=function(t,r){u||(u=hi(t,e.externalHelpersModuleNameText,e.Diagnostics.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,r)||ke);return u}(n,t);if(i!==ke)for(var a=r&~o,s=1;s<=2097152;s<<=1)if(a&s){var c=BE(s);Nn(i.exports,e.escapeLeadingUnderscores(c),111551)||pn(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,c)}o|=r}}}function BE(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"__createBinding";default:return e.Debug.fail("Unrecognized helper")}}function zE(t){return function(t){if(!t.decorators)return!1;if(8===e.getSourceFileOfNode(t).scriptKind){if(e.isTokenInsideBuilder(t.decorators,J))return!1;var r=e.getEtsExtendDecoratorComponentNames(t.decorators,J);if(r.length){if(e.filterEtsExtendDecoratorComponentNamesByOptions(r,J).length)return!1;var n=e.getSourceFileOfNode(t),i=e.getSpanOfTokenAtPosition(n,t.pos);return Qr.add(e.createFileDiagnostic(n,i.start,i.length,e.Diagnostics.Decorator_name_must_be_one_of_ETS_Components)),!0}if(e.hasEtsStylesDecoratorNames(t.decorators,J))return!0}if(!e.nodeCanBeDecorated(t,t.parent,t.parent.parent,J))return 166!==t.kind||e.nodeIsPresent(t.body)?dS(t,e.Diagnostics.Decorators_are_not_valid_here):dS(t,e.Diagnostics.A_decorator_can_only_decorate_a_method_implementation_not_an_overload);if(168===t.kind||169===t.kind){var a=e.getAllAccessorDeclarations(t.parent.members,t);if(a.firstAccessor.decorators&&t===a.secondAccessor)return dS(t,e.Diagnostics.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}return!1}(t)||function(t){var r,n,i,a,o=function(t){return!!t.modifiers&&(function(t){switch(t.kind){case 168:case 169:case 167:case 164:case 163:case 166:case 165:case 172:case 259:case 264:case 263:case 270:case 269:case 209:case 210:case 161:return!1;default:if(260===t.parent.kind||300===t.parent.kind)return!1;switch(t.kind){case 253:return UE(t,130);case 254:case 176:return UE(t,126);case 256:case 234:case 257:return!0;case 258:return UE(t,85);default:e.Debug.fail()}}}(t)?dS(t,e.Diagnostics.Modifiers_cannot_appear_here):void 0)}(t);if(void 0!==o)return o;for(var s=0,c=0,l=t.modifiers;c<l.length;c++){var u=l[c];if(143!==u.kind){if(163===t.kind||165===t.kind)return fS(u,e.Diagnostics._0_modifier_cannot_appear_on_a_type_member,e.tokenToString(u.kind));if(172===t.kind)return fS(u,e.Diagnostics._0_modifier_cannot_appear_on_an_index_signature,e.tokenToString(u.kind))}switch(u.kind){case 85:if(258!==t.kind)return fS(t,e.Diagnostics.A_class_member_cannot_have_the_0_keyword,e.tokenToString(85));break;case 123:case 122:case 121:var d=ya(e.modifierToFlag(u.kind));if(28&s)return fS(u,e.Diagnostics.Accessibility_modifier_already_seen);if(32&s)return fS(u,e.Diagnostics._0_modifier_must_precede_1_modifier,d,"static");if(64&s)return fS(u,e.Diagnostics._0_modifier_must_precede_1_modifier,d,"readonly");if(256&s)return fS(u,e.Diagnostics._0_modifier_must_precede_1_modifier,d,"async");if(260===t.parent.kind||300===t.parent.kind)return fS(u,e.Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element,d);if(128&s)return 121===u.kind?fS(u,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,d,"abstract"):fS(u,e.Diagnostics._0_modifier_must_precede_1_modifier,d,"abstract");if(e.isPrivateIdentifierPropertyDeclaration(t))return fS(u,e.Diagnostics.An_accessibility_modifier_cannot_be_used_with_a_private_identifier);s|=e.modifierToFlag(u.kind);break;case 124:if(32&s)return fS(u,e.Diagnostics._0_modifier_already_seen,"static");if(64&s)return fS(u,e.Diagnostics._0_modifier_must_precede_1_modifier,"static","readonly");if(256&s)return fS(u,e.Diagnostics._0_modifier_must_precede_1_modifier,"static","async");if(260===t.parent.kind||300===t.parent.kind)return fS(u,e.Diagnostics._0_modifier_cannot_appear_on_a_module_or_namespace_element,"static");if(161===t.kind)return fS(u,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"static");if(128&s)return fS(u,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(e.isPrivateIdentifierPropertyDeclaration(t))return fS(u,e.Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier,"static");s|=32,r=u;break;case 143:if(64&s)return fS(u,e.Diagnostics._0_modifier_already_seen,"readonly");if(164!==t.kind&&163!==t.kind&&172!==t.kind&&161!==t.kind)return fS(u,e.Diagnostics.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature);s|=64,a=u;break;case 93:if(1&s)return fS(u,e.Diagnostics._0_modifier_already_seen,"export");if(2&s)return fS(u,e.Diagnostics._0_modifier_must_precede_1_modifier,"export","declare");if(128&s)return fS(u,e.Diagnostics._0_modifier_must_precede_1_modifier,"export","abstract");if(256&s)return fS(u,e.Diagnostics._0_modifier_must_precede_1_modifier,"export","async");if(e.isClassLike(t.parent))return fS(u,e.Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind,"export");if(161===t.kind)return fS(u,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"export");s|=1;break;case 88:var p=300===t.parent.kind?t.parent:t.parent.parent;if(259===p.kind&&!e.isAmbientModule(p))return fS(u,e.Diagnostics.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);s|=512;break;case 134:if(2&s)return fS(u,e.Diagnostics._0_modifier_already_seen,"declare");if(256&s)return fS(u,e.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(e.isClassLike(t.parent)&&!e.isPropertyDeclaration(t))return fS(u,e.Diagnostics._0_modifier_cannot_appear_on_class_elements_of_this_kind,"declare");if(161===t.kind)return fS(u,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"declare");if(8388608&t.parent.flags&&260===t.parent.kind)return fS(u,e.Diagnostics.A_declare_modifier_cannot_be_used_in_an_already_ambient_context);if(e.isPrivateIdentifierPropertyDeclaration(t))return fS(u,e.Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier,"declare");s|=2,n=u;break;case 126:if(128&s)return fS(u,e.Diagnostics._0_modifier_already_seen,"abstract");if(254!==t.kind&&176!==t.kind){if(166!==t.kind&&164!==t.kind&&168!==t.kind&&169!==t.kind)return fS(u,e.Diagnostics.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration);if(254!==t.parent.kind||!e.hasSyntacticModifier(t.parent,128))return fS(u,e.Diagnostics.Abstract_methods_can_only_appear_within_an_abstract_class);if(32&s)return fS(u,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(8&s)return fS(u,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"private","abstract");if(256&s&&i)return fS(i,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"async","abstract")}if(e.isNamedDeclaration(t)&&79===t.name.kind)return fS(u,e.Diagnostics._0_modifier_cannot_be_used_with_a_private_identifier,"abstract");s|=128;break;case 130:if(256&s)return fS(u,e.Diagnostics._0_modifier_already_seen,"async");if(2&s||8388608&t.parent.flags)return fS(u,e.Diagnostics._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(161===t.kind)return fS(u,e.Diagnostics._0_modifier_cannot_appear_on_a_parameter,"async");if(128&s)return fS(u,e.Diagnostics._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");s|=256,i=u}}if(167===t.kind)return 32&s?fS(r,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"static"):128&s?fS(r,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"abstract"):256&s?fS(i,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"async"):!!(64&s)&&fS(a,e.Diagnostics._0_modifier_cannot_appear_on_a_constructor_declaration,"readonly");if((264===t.kind||263===t.kind)&&2&s)return fS(n,e.Diagnostics.A_0_modifier_cannot_be_used_with_an_import_declaration,"declare");if(161===t.kind&&92&s&&e.isBindingPattern(t.name))return fS(t,e.Diagnostics.A_parameter_property_may_not_be_declared_using_a_binding_pattern);if(161===t.kind&&92&s&&t.dotDotDotToken)return fS(t,e.Diagnostics.A_parameter_property_cannot_be_declared_using_a_rest_parameter);if(256&s)return function(t,r){switch(t.kind){case 166:case 253:case 209:case 210:return!1}return fS(r,e.Diagnostics._0_modifier_cannot_be_used_here,"async")}(t,i);return!1}(t)}function UE(e,t){return e.modifiers.length>1||e.modifiers[0].kind!==t}function qE(t,r){return void 0===r&&(r=e.Diagnostics.Trailing_comma_not_allowed),!(!t||!t.hasTrailingComma)&&pS(t[0],t.end-1,1,r)}function JE(t,r){if(t&&0===t.length){var n=t.pos-1;return pS(r,n,e.skipTrivia(r.text,t.end)+1-n,e.Diagnostics.Type_parameter_list_cannot_be_empty)}return!1}function VE(t){if(V>=3){var r=t.body&&e.isBlock(t.body)&&e.findUseStrictPrologue(t.body.statements);if(r){var n=(o=t.parameters,e.filter(o,(function(t){return!!t.initializer||e.isBindingPattern(t.name)||e.isRestParameter(t)})));if(e.length(n)){e.forEach(n,(function(t){e.addRelatedInfo(pn(t,e.Diagnostics.This_parameter_is_not_allowed_with_use_strict_directive),e.createDiagnosticForNode(r,e.Diagnostics.use_strict_directive_used_here))}));var a=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,i([pn(r,e.Diagnostics.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],a)),!0}}}var o;return!1}function HE(t){var r=e.getSourceFileOfNode(t);return zE(t)||JE(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 fS(a.dotDotDotToken,e.Diagnostics.A_rest_parameter_must_be_last_in_a_parameter_list);if(8388608&a.flags||qE(t,e.Diagnostics.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),a.questionToken)return fS(a.questionToken,e.Diagnostics.A_rest_parameter_cannot_be_optional);if(a.initializer)return fS(a.name,e.Diagnostics.A_rest_parameter_cannot_have_an_initializer)}else if(Tc(a)){if(r=!0,a.questionToken&&a.initializer)return fS(a.name,e.Diagnostics.Parameter_cannot_have_question_mark_and_initializer)}else if(r&&!a.initializer)return fS(a.name,e.Diagnostics.A_required_parameter_cannot_follow_an_optional_parameter)}}(t.parameters)||function(t,r){if(!e.isArrowFunction(t))return!1;var n=t.equalsGreaterThanToken,i=e.getLineAndCharacterOfPosition(r,n.pos).line,a=e.getLineAndCharacterOfPosition(r,n.end).line;return i!==a&&fS(n,e.Diagnostics.Line_terminator_not_permitted_before_arrow)}(t,r)||e.isFunctionLikeDeclaration(t)&&VE(t)}function KE(t,r){return qE(r)||function(t,r){if(r&&0===r.length){var n=e.getSourceFileOfNode(t),i=r.pos-1;return pS(n,i,e.skipTrivia(n.text,r.end)+1-i,e.Diagnostics.Type_argument_list_cannot_be_empty)}return!1}(t,r)}function WE(t){return function(t){if(t)for(var r=0,n=t;r<n.length;r++){var i=n[r];if(224===i.kind)return pS(i,i.pos,0,e.Diagnostics.Argument_expression_expected)}return!1}(t)}function GE(t){var r=t.types;if(qE(r))return!0;if(r&&0===r.length){var n=e.tokenToString(t.token);return pS(t,r.pos,0,e.Diagnostics._0_list_cannot_be_empty,n)}return e.some(r,$E)}function $E(e){return KE(e,e.typeArguments)}function YE(t){if(159!==t.kind)return!1;var r=t;return 218===r.expression.kind&&27===r.expression.operatorToken.kind&&fS(r.expression,e.Diagnostics.A_comma_expression_is_not_allowed_in_a_computed_property_name)}function XE(t){if(t.asteriskToken){if(e.Debug.assert(253===t.kind||209===t.kind||166===t.kind),8388608&t.flags)return fS(t.asteriskToken,e.Diagnostics.Generators_are_not_allowed_in_an_ambient_context);if(!t.body)return fS(t.asteriskToken,e.Diagnostics.An_overload_signature_cannot_be_declared_as_a_generator)}}function QE(e,t){return!!e&&fS(e,t)}function ZE(e,t){return!!e&&fS(e,t)}function eS(t){if(gS(t))return!0;if(241===t.kind&&t.awaitModifier&&!(32768&t.flags)){var r=e.getSourceFileOfNode(t);if(e.isInTopLevelContext(t))uS(r)||(e.isEffectiveExternalModule(r,J)||Qr.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)),(H!==e.ModuleKind.ESNext&&H!==e.ModuleKind.System||V<4)&&Qr.add(e.createDiagnosticForNode(t.awaitModifier,e.Diagnostics.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_target_option_is_set_to_es2017_or_higher)));else if(!uS(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&&167!==i.kind){e.Debug.assert(!(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 Qr.add(n),!0}return!1}if(252===t.initializer.kind){var o=t.initializer;if(!cS(o)){var s=o.declarations;if(!s.length)return!1;if(s.length>1){n=240===t.kind?e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:e.Diagnostics.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return dS(o.declarations[1],n)}var c=s[0];if(c.initializer){var n=240===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 fS(c.name,n)}if(c.type)return fS(c,n=240===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 tS(t){if(t.parameters.length===(168===t.kind?1:2))return e.getThisParameter(t)}function rS(t,r){if(function(t){return e.isDynamicName(t)&&!es(t)}(t))return fS(t,r)}function nS(t){if(HE(t))return!0;if(166===t.kind){if(201===t.parent.kind){if(t.modifiers&&(1!==t.modifiers.length||130!==e.first(t.modifiers).kind))return dS(t,e.Diagnostics.Modifiers_cannot_appear_here);if(QE(t.questionToken,e.Diagnostics.An_object_member_cannot_be_declared_optional))return!0;if(ZE(t.exclamationToken,e.Diagnostics.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(void 0===t.body)return pS(t,t.end-1,1,e.Diagnostics._0_expected,"{")}if(XE(t))return!0}if(e.isClassLike(t.parent)){if(8388608&t.flags)return rS(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(166===t.kind&&!t.body)return rS(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(256===t.parent.kind)return rS(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(178===t.parent.kind)return rS(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 iS(t){return e.isStringOrNumericLiteralLike(t)||216===t.kind&&40===t.operator&&8===t.operand.kind}function aS(t){var r,n=t.initializer;if(n){var i=!(iS(n)||function(t){if((e.isPropertyAccessExpression(t)||e.isElementAccessExpression(t)&&iS(t.argumentExpression))&&e.isEntityNameExpression(t.expression))return!!(1024&$v(t).flags)}(n)||110===n.kind||95===n.kind||(r=n,9===r.kind||216===r.kind&&40===r.operator&&9===r.operand.kind)),a=e.isDeclarationReadonly(t)||e.isVariableDeclaration(t)&&e.isVarConst(t);if(!a||t.type)return fS(n,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts);if(i)return fS(n,e.Diagnostics.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference);if(!a||i)return fS(n,e.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts)}}function oS(t){if(78===t.kind){if("__esModule"===e.idText(t))return function(t,r,n,i,a,o){if(!uS(e.getSourceFileOfNode(r)))return dn(t,r,n,i,a,o),!0;return!1}("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 oS(i.name)}return!1}function sS(t){if(78===t.kind){if(119===t.originalKeywordKind)return fS(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)||sS(i.name)}return!1}function cS(t){var r=t.declarations;return!!qE(t.declarations)||!t.declarations.length&&pS(t,r.pos,r.end-r.pos,e.Diagnostics.Variable_declaration_list_cannot_be_empty)}function lS(e){switch(e.kind){case 236:case 237:case 238:case 245:case 239:case 240:case 241:return!1;case 247:return lS(e.parent)}return!0}function uS(e){return e.parseDiagnostics.length>0}function dS(t,r,n,i,a){var o=e.getSourceFileOfNode(t);if(!uS(o)){var s=e.getSpanOfTokenAtPosition(o,t.pos);return Qr.add(e.createFileDiagnostic(o,s.start,s.length,r,n,i,a)),!0}return!1}function pS(t,r,n,i,a,o,s){var c=e.getSourceFileOfNode(t);return!uS(c)&&(Qr.add(e.createFileDiagnostic(c,r,n,i,a,o,s)),!0)}function fS(t,r,n,i,a){return!uS(e.getSourceFileOfNode(t))&&(Qr.add(e.createDiagnosticForNode(t,r,n,i,a)),!0)}function mS(t){return 256!==t.kind&&257!==t.kind&&264!==t.kind&&263!==t.kind&&270!==t.kind&&269!==t.kind&&262!==t.kind&&!e.hasSyntacticModifier(t,515)&&dS(t,e.Diagnostics.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function gS(t){if(8388608&t.flags){if(!Cn(t).hasReportedStatementInAmbientContext&&(e.isFunctionLike(t.parent)||e.isAccessor(t.parent)))return Cn(t).hasReportedStatementInAmbientContext=dS(t,e.Diagnostics.An_implementation_cannot_be_declared_in_ambient_contexts);if(232===t.parent.kind||260===t.parent.kind||300===t.parent.kind){var r=Cn(t.parent);if(!r.hasReportedStatementInAmbientContext)return r.hasReportedStatementInAmbientContext=dS(t,e.Diagnostics.Statements_are_not_allowed_in_ambient_contexts)}}return!1}function _S(t){if(32&t.numericLiteralFlags){var r=void 0;if(V>=1?r=e.Diagnostics.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:e.isChildOfNodeWithKind(t,192)?r=e.Diagnostics.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:e.isChildOfNodeWithKind(t,294)&&(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 fS(n?t.parent:t,r,i)}}return function(t){if(16&t.numericLiteralFlags||t.text.length<=15||-1!==t.text.indexOf("."))return;var r=+e.getTextOfNode(t);if(r<=Math.pow(2,53)-1&&r+1>r)return;fn(!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 hS(t,r,n,i){if(1048576&r.flags&&2621440&t.flags){var a=Hs(t);if(a){var o=jm(a,r);if(o)return Lp(r,e.map(o,(function(e){return[function(){return _o(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"}(N||(N={})),e.signatureHasRestParameter=U,e.signatureHasLiteralTypes=q}(d||(d={})),function(e){var t=e.or(e.isTypeNode,e.isTypeParameterDeclaration);function r(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 n(t,r,n,i,a){if(void 0===t||void 0===r)return t;var o,s,c=t.length;(void 0===i||i<0)&&(i=0),(void 0===a||a>c-i)&&(a=c-i);var l=-1,u=-1;(i>0||a<c)&&(o=[],s=t.hasTrailingComma&&i+a===c);for(var d=0;d<a;d++){var p=t[d+i],f=void 0!==p?r(p):void 0;if((void 0!==o||void 0===f||f!==p)&&(void 0===o&&(o=t.slice(0,d),s=t.hasTrailingComma,l=t.pos,u=t.end),f))if(e.isArray(f))for(var m=0,g=f;m<g.length;m++){var _=g[m];e.Debug.assertNode(_,n),o.push(_)}else e.Debug.assertNode(f,n),o.push(f)}if(o){var h=e.factory.createNodeArray(o,s);return e.setTextRangePosEnd(h,l,u),h}return t}function i(t,r,i,a,o,s){return void 0===s&&(s=n),i.startLexicalEnvironment(),t=s(t,r,e.isStatement,a),o&&(t=i.factory.ensureUseStrict(t)),e.factory.mergeLexicalEnvironment(t,i.endLexicalEnvironment())}function a(t,r,i,a){var s;return void 0===a&&(a=n),i.startLexicalEnvironment(),t&&(i.setLexicalEnvironmentFlags(1,!0),s=a(t,r,e.isParameterDeclaration),2&i.getLexicalEnvironmentFlags()&&e.getEmitScriptTarget(i.getCompilerOptions())>=2&&(s=function(t,r){for(var n,i=0;i<t.length;i++){var a=t[i],s=o(a,r);(n||s!==a)&&(n||(n=t.slice(0,i)),n[i]=s)}if(n)return e.setTextRange(r.factory.createNodeArray(n,t.hasTrailingComma),t);return t}(s,i)),i.setLexicalEnvironmentFlags(1,!1)),i.suspendLexicalEnvironment(),s}function o(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 s(t,n,i,a){void 0===a&&(a=r),i.resumeLexicalEnvironment();var o=a(t,n,e.isConciseBody),s=i.endLexicalEnvironment();if(e.some(s)){if(!o)return i.factory.createBlock(s);var c=i.factory.converters.convertToFunctionBlock(o),l=e.factory.mergeLexicalEnvironment(c.statements,s);return i.factory.updateBlock(c,l)}return o}function c(t){return e.Debug.assert(t.length<=1,"Too many nodes written to output."),e.singleOrUndefined(t)}e.visitNode=r,e.visitNodes=n,e.visitLexicalEnvironment=i,e.visitParameterList=a,e.visitFunctionBody=s,e.visitEachChild=function(o,c,l,u,d,p){if(void 0===u&&(u=n),void 0===p&&(p=r),void 0!==o){var f=o.kind;if(f>0&&f<=157||188===f)return o;var m=l.factory;switch(f){case 78:return m.updateIdentifier(o,u(o.typeArguments,c,t));case 158:return m.updateQualifiedName(o,p(o.left,c,e.isEntityName),p(o.right,c,e.isIdentifier));case 159:return m.updateComputedPropertyName(o,p(o.expression,c,e.isExpression));case 160:return m.updateTypeParameterDeclaration(o,p(o.name,c,e.isIdentifier),p(o.constraint,c,e.isTypeNode),p(o.default,c,e.isTypeNode));case 161:return m.updateParameterDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.dotDotDotToken,d,e.isToken),p(o.name,c,e.isBindingName),p(o.questionToken,d,e.isToken),p(o.type,c,e.isTypeNode),p(o.initializer,c,e.isExpression));case 162:return m.updateDecorator(o,p(o.expression,c,e.isExpression));case 163:return m.updatePropertySignature(o,u(o.modifiers,c,e.isToken),p(o.name,c,e.isPropertyName),p(o.questionToken,d,e.isToken),p(o.type,c,e.isTypeNode));case 164:return m.updatePropertyDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isPropertyName),p(o.questionToken||o.exclamationToken,d,e.isToken),p(o.type,c,e.isTypeNode),p(o.initializer,c,e.isExpression));case 165:return m.updateMethodSignature(o,u(o.modifiers,c,e.isModifier),p(o.name,c,e.isPropertyName),p(o.questionToken,d,e.isToken),u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.parameters,c,e.isParameterDeclaration),p(o.type,c,e.isTypeNode));case 166:return m.updateMethodDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.asteriskToken,d,e.isToken),p(o.name,c,e.isPropertyName),p(o.questionToken,d,e.isToken),u(o.typeParameters,c,e.isTypeParameterDeclaration),a(o.parameters,c,l,u),p(o.type,c,e.isTypeNode),s(o.body,c,l,p));case 167:return m.updateConstructorDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),a(o.parameters,c,l,u),s(o.body,c,l,p));case 168:return m.updateGetAccessorDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isPropertyName),a(o.parameters,c,l,u),p(o.type,c,e.isTypeNode),s(o.body,c,l,p));case 169:return m.updateSetAccessorDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isPropertyName),a(o.parameters,c,l,u),s(o.body,c,l,p));case 170:return m.updateCallSignature(o,u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.parameters,c,e.isParameterDeclaration),p(o.type,c,e.isTypeNode));case 171:return m.updateConstructSignature(o,u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.parameters,c,e.isParameterDeclaration),p(o.type,c,e.isTypeNode));case 172:return m.updateIndexSignature(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),u(o.parameters,c,e.isParameterDeclaration),p(o.type,c,e.isTypeNode));case 173:return m.updateTypePredicateNode(o,p(o.assertsModifier,c),p(o.parameterName,c),p(o.type,c,e.isTypeNode));case 174:return m.updateTypeReferenceNode(o,p(o.typeName,c,e.isEntityName),u(o.typeArguments,c,e.isTypeNode));case 175:return m.updateFunctionTypeNode(o,u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.parameters,c,e.isParameterDeclaration),p(o.type,c,e.isTypeNode));case 176:return m.updateConstructorTypeNode(o,u(o.modifiers,c,e.isModifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.parameters,c,e.isParameterDeclaration),p(o.type,c,e.isTypeNode));case 177:return m.updateTypeQueryNode(o,p(o.exprName,c,e.isEntityName));case 178:return m.updateTypeLiteralNode(o,u(o.members,c,e.isTypeElement));case 179:return m.updateArrayTypeNode(o,p(o.elementType,c,e.isTypeNode));case 180:return m.updateTupleTypeNode(o,u(o.elements,c,e.isTypeNode));case 181:return m.updateOptionalTypeNode(o,p(o.type,c,e.isTypeNode));case 182:return m.updateRestTypeNode(o,p(o.type,c,e.isTypeNode));case 183:return m.updateUnionTypeNode(o,u(o.types,c,e.isTypeNode));case 184:return m.updateIntersectionTypeNode(o,u(o.types,c,e.isTypeNode));case 185:return m.updateConditionalTypeNode(o,p(o.checkType,c,e.isTypeNode),p(o.extendsType,c,e.isTypeNode),p(o.trueType,c,e.isTypeNode),p(o.falseType,c,e.isTypeNode));case 186:return m.updateInferTypeNode(o,p(o.typeParameter,c,e.isTypeParameterDeclaration));case 196:return m.updateImportTypeNode(o,p(o.argument,c,e.isTypeNode),p(o.qualifier,c,e.isEntityName),n(o.typeArguments,c,e.isTypeNode),o.isTypeOf);case 193:return m.updateNamedTupleMember(o,r(o.dotDotDotToken,c,e.isToken),r(o.name,c,e.isIdentifier),r(o.questionToken,c,e.isToken),r(o.type,c,e.isTypeNode));case 187:return m.updateParenthesizedType(o,p(o.type,c,e.isTypeNode));case 189:return m.updateTypeOperatorNode(o,p(o.type,c,e.isTypeNode));case 190:return m.updateIndexedAccessTypeNode(o,p(o.objectType,c,e.isTypeNode),p(o.indexType,c,e.isTypeNode));case 191:return m.updateMappedTypeNode(o,p(o.readonlyToken,d,e.isToken),p(o.typeParameter,c,e.isTypeParameterDeclaration),p(o.nameType,c,e.isTypeNode),p(o.questionToken,d,e.isToken),p(o.type,c,e.isTypeNode));case 192:return m.updateLiteralTypeNode(o,p(o.literal,c,e.isExpression));case 194:return m.updateTemplateLiteralType(o,p(o.head,c,e.isTemplateHead),u(o.templateSpans,c,e.isTemplateLiteralTypeSpan));case 195:return m.updateTemplateLiteralTypeSpan(o,p(o.type,c,e.isTypeNode),p(o.literal,c,e.isTemplateMiddleOrTemplateTail));case 197:return m.updateObjectBindingPattern(o,u(o.elements,c,e.isBindingElement));case 198:return m.updateArrayBindingPattern(o,u(o.elements,c,e.isArrayBindingElement));case 199:return m.updateBindingElement(o,p(o.dotDotDotToken,d,e.isToken),p(o.propertyName,c,e.isPropertyName),p(o.name,c,e.isBindingName),p(o.initializer,c,e.isExpression));case 200:return m.updateArrayLiteralExpression(o,u(o.elements,c,e.isExpression));case 201:return m.updateObjectLiteralExpression(o,u(o.properties,c,e.isObjectLiteralElementLike));case 202:return 32&o.flags?m.updatePropertyAccessChain(o,p(o.expression,c,e.isExpression),p(o.questionDotToken,d,e.isToken),p(o.name,c,e.isIdentifier)):m.updatePropertyAccessExpression(o,p(o.expression,c,e.isExpression),p(o.name,c,e.isIdentifierOrPrivateIdentifier));case 203:return 32&o.flags?m.updateElementAccessChain(o,p(o.expression,c,e.isExpression),p(o.questionDotToken,d,e.isToken),p(o.argumentExpression,c,e.isExpression)):m.updateElementAccessExpression(o,p(o.expression,c,e.isExpression),p(o.argumentExpression,c,e.isExpression));case 204:return 32&o.flags?m.updateCallChain(o,p(o.expression,c,e.isExpression),p(o.questionDotToken,d,e.isToken),u(o.typeArguments,c,e.isTypeNode),u(o.arguments,c,e.isExpression)):m.updateCallExpression(o,p(o.expression,c,e.isExpression),u(o.typeArguments,c,e.isTypeNode),u(o.arguments,c,e.isExpression));case 205:return m.updateNewExpression(o,p(o.expression,c,e.isExpression),u(o.typeArguments,c,e.isTypeNode),u(o.arguments,c,e.isExpression));case 206:return m.updateTaggedTemplateExpression(o,p(o.tag,c,e.isExpression),n(o.typeArguments,c,e.isExpression),p(o.template,c,e.isTemplateLiteral));case 207:return m.updateTypeAssertion(o,p(o.type,c,e.isTypeNode),p(o.expression,c,e.isExpression));case 208:return m.updateParenthesizedExpression(o,p(o.expression,c,e.isExpression));case 209:return m.updateFunctionExpression(o,u(o.modifiers,c,e.isModifier),p(o.asteriskToken,d,e.isToken),p(o.name,c,e.isIdentifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),a(o.parameters,c,l,u),p(o.type,c,e.isTypeNode),s(o.body,c,l,p));case 210:return m.updateArrowFunction(o,u(o.modifiers,c,e.isModifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),a(o.parameters,c,l,u),p(o.type,c,e.isTypeNode),p(o.equalsGreaterThanToken,d,e.isToken),s(o.body,c,l,p));case 212:return m.updateDeleteExpression(o,p(o.expression,c,e.isExpression));case 213:return m.updateTypeOfExpression(o,p(o.expression,c,e.isExpression));case 214:return m.updateVoidExpression(o,p(o.expression,c,e.isExpression));case 215:return m.updateAwaitExpression(o,p(o.expression,c,e.isExpression));case 216:return m.updatePrefixUnaryExpression(o,p(o.operand,c,e.isExpression));case 217:return m.updatePostfixUnaryExpression(o,p(o.operand,c,e.isExpression));case 218:return m.updateBinaryExpression(o,p(o.left,c,e.isExpression),p(o.operatorToken,d,e.isToken),p(o.right,c,e.isExpression));case 219:return m.updateConditionalExpression(o,p(o.condition,c,e.isExpression),p(o.questionToken,d,e.isToken),p(o.whenTrue,c,e.isExpression),p(o.colonToken,d,e.isToken),p(o.whenFalse,c,e.isExpression));case 220:return m.updateTemplateExpression(o,p(o.head,c,e.isTemplateHead),u(o.templateSpans,c,e.isTemplateSpan));case 221:return m.updateYieldExpression(o,p(o.asteriskToken,d,e.isToken),p(o.expression,c,e.isExpression));case 222:return m.updateSpreadElement(o,p(o.expression,c,e.isExpression));case 223:return m.updateClassExpression(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isIdentifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.heritageClauses,c,e.isHeritageClause),u(o.members,c,e.isClassElement));case 225:return m.updateExpressionWithTypeArguments(o,p(o.expression,c,e.isExpression),u(o.typeArguments,c,e.isTypeNode));case 226:return m.updateAsExpression(o,p(o.expression,c,e.isExpression),p(o.type,c,e.isTypeNode));case 227:return 32&o.flags?m.updateNonNullChain(o,p(o.expression,c,e.isExpression)):m.updateNonNullExpression(o,p(o.expression,c,e.isExpression));case 228:return m.updateMetaProperty(o,p(o.name,c,e.isIdentifier));case 230:return m.updateTemplateSpan(o,p(o.expression,c,e.isExpression),p(o.literal,c,e.isTemplateMiddleOrTemplateTail));case 232:return m.updateBlock(o,u(o.statements,c,e.isStatement));case 234:return m.updateVariableStatement(o,u(o.modifiers,c,e.isModifier),p(o.declarationList,c,e.isVariableDeclarationList));case 235:return m.updateExpressionStatement(o,p(o.expression,c,e.isExpression));case 236:return m.updateIfStatement(o,p(o.expression,c,e.isExpression),p(o.thenStatement,c,e.isStatement,m.liftToBlock),p(o.elseStatement,c,e.isStatement,m.liftToBlock));case 237:return m.updateDoStatement(o,p(o.statement,c,e.isStatement,m.liftToBlock),p(o.expression,c,e.isExpression));case 238:return m.updateWhileStatement(o,p(o.expression,c,e.isExpression),p(o.statement,c,e.isStatement,m.liftToBlock));case 239:return m.updateForStatement(o,p(o.initializer,c,e.isForInitializer),p(o.condition,c,e.isExpression),p(o.incrementor,c,e.isExpression),p(o.statement,c,e.isStatement,m.liftToBlock));case 240:return m.updateForInStatement(o,p(o.initializer,c,e.isForInitializer),p(o.expression,c,e.isExpression),p(o.statement,c,e.isStatement,m.liftToBlock));case 241:return m.updateForOfStatement(o,p(o.awaitModifier,d,e.isToken),p(o.initializer,c,e.isForInitializer),p(o.expression,c,e.isExpression),p(o.statement,c,e.isStatement,m.liftToBlock));case 242:return m.updateContinueStatement(o,p(o.label,c,e.isIdentifier));case 243:return m.updateBreakStatement(o,p(o.label,c,e.isIdentifier));case 244:return m.updateReturnStatement(o,p(o.expression,c,e.isExpression));case 245:return m.updateWithStatement(o,p(o.expression,c,e.isExpression),p(o.statement,c,e.isStatement,m.liftToBlock));case 246:return m.updateSwitchStatement(o,p(o.expression,c,e.isExpression),p(o.caseBlock,c,e.isCaseBlock));case 247:return m.updateLabeledStatement(o,p(o.label,c,e.isIdentifier),p(o.statement,c,e.isStatement,m.liftToBlock));case 248:return m.updateThrowStatement(o,p(o.expression,c,e.isExpression));case 249:return m.updateTryStatement(o,p(o.tryBlock,c,e.isBlock),p(o.catchClause,c,e.isCatchClause),p(o.finallyBlock,c,e.isBlock));case 251:return m.updateVariableDeclaration(o,p(o.name,c,e.isBindingName),p(o.exclamationToken,d,e.isToken),p(o.type,c,e.isTypeNode),p(o.initializer,c,e.isExpression));case 252:return m.updateVariableDeclarationList(o,u(o.declarations,c,e.isVariableDeclaration));case 253:return m.updateFunctionDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.asteriskToken,d,e.isToken),p(o.name,c,e.isIdentifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),a(o.parameters,c,l,u),p(o.type,c,e.isTypeNode),s(o.body,c,l,p));case 254:return m.updateClassDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isIdentifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.heritageClauses,c,e.isHeritageClause),u(o.members,c,e.isClassElement));case 255:return m.updateStructDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isIdentifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.heritageClauses,c,e.isHeritageClause),u(o.members,c,e.isClassElement));case 256:return m.updateInterfaceDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isIdentifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),u(o.heritageClauses,c,e.isHeritageClause),u(o.members,c,e.isTypeElement));case 257:return m.updateTypeAliasDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isIdentifier),u(o.typeParameters,c,e.isTypeParameterDeclaration),p(o.type,c,e.isTypeNode));case 258:return m.updateEnumDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isIdentifier),u(o.members,c,e.isEnumMember));case 259:return m.updateModuleDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.name,c,e.isIdentifier),p(o.body,c,e.isModuleBody));case 260:return m.updateModuleBlock(o,u(o.statements,c,e.isStatement));case 261:return m.updateCaseBlock(o,u(o.clauses,c,e.isCaseOrDefaultClause));case 262:return m.updateNamespaceExportDeclaration(o,p(o.name,c,e.isIdentifier));case 263:return m.updateImportEqualsDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),o.isTypeOnly,p(o.name,c,e.isIdentifier),p(o.moduleReference,c,e.isModuleReference));case 264:return m.updateImportDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.importClause,c,e.isImportClause),p(o.moduleSpecifier,c,e.isExpression));case 265:return m.updateImportClause(o,o.isTypeOnly,p(o.name,c,e.isIdentifier),p(o.namedBindings,c,e.isNamedImportBindings));case 266:return m.updateNamespaceImport(o,p(o.name,c,e.isIdentifier));case 272:return m.updateNamespaceExport(o,p(o.name,c,e.isIdentifier));case 267:return m.updateNamedImports(o,u(o.elements,c,e.isImportSpecifier));case 268:return m.updateImportSpecifier(o,p(o.propertyName,c,e.isIdentifier),p(o.name,c,e.isIdentifier));case 269:return m.updateExportAssignment(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),p(o.expression,c,e.isExpression));case 270:return m.updateExportDeclaration(o,u(o.decorators,c,e.isDecorator),u(o.modifiers,c,e.isModifier),o.isTypeOnly,p(o.exportClause,c,e.isNamedExportBindings),p(o.moduleSpecifier,c,e.isExpression));case 271:return m.updateNamedExports(o,u(o.elements,c,e.isExportSpecifier));case 273:return m.updateExportSpecifier(o,p(o.propertyName,c,e.isIdentifier),p(o.name,c,e.isIdentifier));case 275:return m.updateExternalModuleReference(o,p(o.expression,c,e.isExpression));case 276:return m.updateJsxElement(o,p(o.openingElement,c,e.isJsxOpeningElement),u(o.children,c,e.isJsxChild),p(o.closingElement,c,e.isJsxClosingElement));case 277:return m.updateJsxSelfClosingElement(o,p(o.tagName,c,e.isJsxTagNameExpression),u(o.typeArguments,c,e.isTypeNode),p(o.attributes,c,e.isJsxAttributes));case 278:return m.updateJsxOpeningElement(o,p(o.tagName,c,e.isJsxTagNameExpression),u(o.typeArguments,c,e.isTypeNode),p(o.attributes,c,e.isJsxAttributes));case 279:return m.updateJsxClosingElement(o,p(o.tagName,c,e.isJsxTagNameExpression));case 280:return m.updateJsxFragment(o,p(o.openingFragment,c,e.isJsxOpeningFragment),u(o.children,c,e.isJsxChild),p(o.closingFragment,c,e.isJsxClosingFragment));case 283:return m.updateJsxAttribute(o,p(o.name,c,e.isIdentifier),p(o.initializer,c,e.isStringLiteralOrJsxExpression));case 284:return m.updateJsxAttributes(o,u(o.properties,c,e.isJsxAttributeLike));case 285:return m.updateJsxSpreadAttribute(o,p(o.expression,c,e.isExpression));case 286:return m.updateJsxExpression(o,p(o.expression,c,e.isExpression));case 287:return m.updateCaseClause(o,p(o.expression,c,e.isExpression),u(o.statements,c,e.isStatement));case 288:return m.updateDefaultClause(o,u(o.statements,c,e.isStatement));case 289:return m.updateHeritageClause(o,u(o.types,c,e.isExpressionWithTypeArguments));case 290:return m.updateCatchClause(o,p(o.variableDeclaration,c,e.isVariableDeclaration),p(o.block,c,e.isBlock));case 291:return m.updatePropertyAssignment(o,p(o.name,c,e.isPropertyName),p(o.initializer,c,e.isExpression));case 292:return m.updateShorthandPropertyAssignment(o,p(o.name,c,e.isIdentifier),p(o.objectAssignmentInitializer,c,e.isExpression));case 293:return m.updateSpreadAssignment(o,p(o.expression,c,e.isExpression));case 294:return m.updateEnumMember(o,p(o.name,c,e.isPropertyName),p(o.initializer,c,e.isExpression));case 300:return m.updateSourceFile(o,i(o.statements,c,l));case 339:return m.updatePartiallyEmittedExpression(o,p(o.expression,c,e.isExpression));case 340:return m.updateCommaListExpression(o,u(o.elements,c,e.isExpression));default:return o}}}}(d||(d={})),function(e){e.createSourceMapGenerator=function(t,r,n,i,o){var c,l,u=o.extendedDiagnostics?e.performance.createTimer("Source Map","beforeSourcemap","afterSourcemap"):e.performance.nullTimer,d=u.enter,p=u.exit,f=[],m=[],g=new e.Map,_=[],h="",y=0,v=0,b=0,k=0,x=0,E=0,S=!1,D=0,w=0,T=0,C=0,A=0,N=0,P=!1,I=!1,F=!1;return{getSources:function(){return f},addSource:O,setSourceContent:R,addName:M,addMapping:L,appendSourceMap:function(t,r,n,i,o,s){e.Debug.assert(t>=D,"generatedLine cannot backtrack"),e.Debug.assert(r>=0,"generatedCharacter cannot be negative"),d();for(var c,l=[],u=a(n.mappings),f=u.next();!f.done;f=u.next()){var m=f.value;if(s&&(m.generatedLine>s.line||m.generatedLine===s.line&&m.generatedCharacter>s.character))break;if(!o||!(m.generatedLine<o.line||o.line===m.generatedLine&&m.generatedCharacter<o.character)){var g=void 0,_=void 0,h=void 0,y=void 0;if(void 0!==m.sourceIndex){if(void 0===(g=l[m.sourceIndex])){var v=n.sources[m.sourceIndex],b=n.sourceRoot?e.combinePaths(n.sourceRoot,v):v,k=e.combinePaths(e.getDirectoryPath(i),b);l[m.sourceIndex]=g=O(k),n.sourcesContent&&"string"==typeof n.sourcesContent[m.sourceIndex]&&R(g,n.sourcesContent[m.sourceIndex])}_=m.sourceLine,h=m.sourceCharacter,n.names&&void 0!==m.nameIndex&&(c||(c=[]),void 0===(y=c[m.nameIndex])&&(c[m.nameIndex]=y=M(n.names[m.nameIndex])))}var x=m.generatedLine-(o?o.line:0),E=x+t,S=o&&o.line===m.generatedLine?m.generatedCharacter-o.character:m.generatedCharacter;L(E,0===x?S+r:S,g,_,h,y)}}p()},toJSON:B,toString:function(){return JSON.stringify(B())}};function O(r){d();var n=e.getRelativePathToDirectoryOrUrl(i,r,t.getCurrentDirectory(),t.getCanonicalFileName,!0),a=g.get(n);return void 0===a&&(a=m.length,m.push(n),f.push(r),g.set(n,a)),p(),a}function R(e,t){if(d(),null!==t){for(c||(c=[]);c.length<e;)c.push(null);c[e]=t}p()}function M(t){d(),l||(l=new e.Map);var r=l.get(t);return void 0===r&&(r=_.length,_.push(t),l.set(t,r)),p(),r}function L(t,r,n,i,a,o){e.Debug.assert(t>=D,"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"),d(),(function(e,t){return!P||D!==e||w!==t}(t,r)||function(e,t,r){return void 0!==e&&void 0!==t&&void 0!==r&&T===e&&(C>t||C===t&&A>r)}(n,i,a))&&(j(),D=t,w=r,I=!1,F=!1,P=!0),void 0!==n&&void 0!==i&&void 0!==a&&(T=n,C=i,A=a,I=!0,void 0!==o&&(N=o,F=!0)),p()}function j(){if(P&&(!S||y!==D||v!==w||b!==T||k!==C||x!==A||E!==N)){if(d(),y<D)do{h+=";",y++,v=0}while(y<D);else e.Debug.assertEqual(y,D,"generatedLine cannot backtrack"),S&&(h+=",");h+=s(w-v),v=w,I&&(h+=s(T-b),b=T,h+=s(C-k),k=C,h+=s(A-x),x=A,F&&(h+=s(N-E),E=N)),S=!0,p()}}function B(){return j(),{version:3,file:r,sourceRoot:n,sources:m,names:_,mappings:h,sourcesContent:c}}};var t=/^\/\/[@#] source[M]appingURL=(.+)\s*$/,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,c=0,l=0;return{get pos(){return n},get error(){return t},get state(){return u(!0,!0)},next:function(){for(;!r&&n<e.length;){var t=e.charCodeAt(n);if(59!==t){if(44!==t){var p=!1,h=!1;if(a+=_(),m())return d();if(a<0)return f("Invalid generatedCharacter found");if(!g()){if(p=!0,o+=_(),m())return d();if(o<0)return f("Invalid sourceIndex found");if(g())return f("Unsupported Format: No entries after sourceIndex");if(s+=_(),m())return d();if(s<0)return f("Invalid sourceLine found");if(g())return f("Unsupported Format: No entries after sourceLine");if(c+=_(),m())return d();if(c<0)return f("Invalid sourceCharacter found");if(!g()){if(h=!0,l+=_(),m())return d();if(l<0)return f("Invalid nameIndex found");if(!g())return f("Unsupported Error Format: Entries after nameIndex")}}return{value:u(p,h),done:r}}n++}else i++,a=0,n++}return d()}};function u(e,t){return{generatedLine:i,generatedCharacter:a,sourceIndex:e?o:void 0,sourceLine:e?s:void 0,sourceCharacter:e?c:void 0,nameIndex:t?l:void 0}}function d(){return r=!0,{value:void 0,done:!0}}function p(e){void 0===t&&(t=e)}function f(e){return p(e),d()}function m(){return void 0!==t}function g(){return n===e.length||44===e.charCodeAt(n)||59===e.charCodeAt(n)}function _(){for(var t,r=!0,i=0,a=0;r;n++){if(n>=e.length)return p("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var o=(t=e.charCodeAt(n))>=65&&t<=90?t-65:t>=97&&t<=122?t-97+26:t>=48&&t<=57?t-48+52:43===t?62:47===t?63:-1;if(-1===o)return p("Invalid character in VLQ"),-1;r=!!(32&o),a|=(31&o)<<i,i+=5}return 1&a?a=-(a>>=1):a>>=1,a}}function o(e){return void 0!==e.sourceIndex&&void 0!==e.sourceLine&&void 0!==e.sourceCharacter}function s(t){t<0?t=1+(-t<<1):t<<=1;var r,n="";do{var i=31&t;(t>>=5)>0&&(i|=32),n+=String.fromCharCode((r=i)>=0&&r<26?65+r:r>=26&&r<52?97+r-26:r>=52&&r<62?48+r-52:62===r?43:63===r?47:e.Debug.fail(r+": not a base64 value"))}while(t>0);return n}function c(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 u(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 p(e){return e.sourcePosition}function f(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(e){for(var n=e.getLineCount()-1;n>=0;n--){var i=e.getLineText(n),a=t.exec(i);if(a)return a[1];if(!i.match(r))break}},e.isRawSourceMap=i,e.tryParseRawSourceMap=function(e){try{var t=JSON.parse(e);if(i(t))return t}catch(e){}},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,m,g=e.getDirectoryPath(n),_=r.sourceRoot?e.getNormalizedAbsolutePath(r.sourceRoot,g):g,h=e.getNormalizedAbsolutePath(r.file,g),y=t.getSourceFileLike(h),v=r.sources.map((function(t){return e.getNormalizedAbsolutePath(t,_)})),b=new e.Map(v.map((function(e,r){return[t.getCanonicalFileName(e),r]})));return{getSourcePosition:function(t){var r=S();if(!e.some(r))return t;var n=e.binarySearchKey(r,t.pos,f,e.compareValues);n<0&&(n=~n);var i=r[n];if(void 0===i||!c(i))return t;return{fileName:v[i.sourceIndex],pos:i.sourcePosition}},getGeneratedPosition:function(r){var n=b.get(t.getCanonicalFileName(r.fileName));if(void 0===n)return r;var i=E(n);if(!e.some(i))return r;var a=e.binarySearchKey(i,r.pos,p,e.compareValues);a<0&&(a=~a);var o=i[a];if(void 0===o||o.sourceIndex!==n)return r;return{fileName:h,pos:o.generatedPosition}}};function k(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,k);void 0!==n.error?(t.log&&t.log("Encountered error while decoding sourcemap: "+n.error),i=e.emptyArray):i=o}return i}function E(t){if(void 0===m){for(var r=[],n=0,i=x();n<i.length;n++){var a=i[n];if(c(a)){var o=r[a.sourceIndex];o||(r[a.sourceIndex]=o=[]),o.push(a)}}m=r.map((function(t){return e.sortAndDeduplicate(t,u,l)}))}return m[t]}function S(){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}},e.identitySourceMapConsumer={getSourcePosition:e.identity,getGeneratedPosition:e.identity}}(d||(d={})),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)return!1;if(!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)}e.getOriginalNodeId=t,e.chainBundle=function(t,r){return function(n){return 300===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,l){for(var u,d,p=[],f=e.createMultiMap(),m=[],g=new e.Map,_=!1,h=!1,y=!1,v=!1,b=0,k=s.statements;b<k.length;b++){var x=k[b];switch(x.kind){case 264:p.push(x),!y&&n(x)&&(y=!0),!v&&i(x)&&(v=!0);break;case 263:275===x.moduleReference.kind&&p.push(x);break;case 270:if(x.moduleSpecifier)if(x.exportClause)if(p.push(x),e.isNamedExports(x.exportClause))C(x);else{var E=x.exportClause.name;g.get(e.idText(E))||(o(m,t(x),E),g.set(e.idText(E),!0),u=e.append(u,E)),y=!0}else p.push(x),h=!0;else C(x);break;case 269:x.isExportEquals&&!d&&(d=x);break;case 234:if(e.hasSyntacticModifier(x,1))for(var S=0,D=x.declarationList.declarations;S<D.length;S++){var w=D[S];u=a(w,g,u)}break;case 253:if(e.hasSyntacticModifier(x,1))if(e.hasSyntacticModifier(x,512))_||(o(m,t(x),r.factory.getDeclarationName(x)),_=!0);else{E=x.name;g.get(e.idText(E))||(o(m,t(x),E),g.set(e.idText(E),!0),u=e.append(u,E))}break;case 254:if(e.hasSyntacticModifier(x,1))if(e.hasSyntacticModifier(x,512))_||(o(m,t(x),r.factory.getDeclarationName(x)),_=!0);else(E=x.name)&&!g.get(e.idText(E))&&(o(m,t(x),E),g.set(e.idText(E),!0),u=e.append(u,E))}}var T=e.createExternalHelpersImportDeclarationIfNeeded(r.factory,r.getEmitHelperFactory(),s,l,h,y,v);return T&&p.unshift(T),{externalImports:p,exportSpecifiers:f,exportEquals:d,hasExportStarsToExportValues:h,exportedBindings:m,exportedNames:u,externalHelpersImportDeclaration:T};function C(r){for(var n=0,i=e.cast(r.exportClause,e.isNamedExports).elements;n<i.length;n++){var a=i[n];if(!g.get(e.idText(a.name))){var s=a.propertyName||a.name;r.moduleSpecifier||f.add(e.idText(s),a);var l=c.getReferencedImportDeclaration(s)||c.getReferencedValueDeclaration(s);l&&o(m,t(l),a.name),g.set(e.idText(a.name),!0),u=e.append(u,a.name)}}}},e.isSimpleCopiableExpression=s,e.isSimpleInlineableExpression=function(t){return!e.isIdentifier(t)&&s(t)||e.isWellKnownSymbolSyntactically(t)},e.isCompoundAssignment=function(e){return e>=63&&e<=77},e.getNonAssignmentOperatorForCompoundAssignment=function(e){switch(e){case 63:return 39;case 64:return 40;case 65:return 41;case 66:return 42;case 67:return 43;case 68:return 44;case 69:return 47;case 70:return 48;case 71:return 49;case 72:return 50;case 73:return 51;case 77:return 52;case 74:return 56;case 75:return 55;case 76:return 60}},e.addPrologueDirectivesAndInitialSuperCall=function(t,r,n,i){if(r.body){var a=r.body.statements,o=t.copyPrologue(a,n,!1,i);if(o===a.length)return o;var s=e.findIndex(a,(function(t){return e.isExpressionStatement(t)&&e.isSuperCall(t.expression)}),o);if(s>-1){for(var c=o;c<=s;c++)n.push(e.visitNode(a[c],i,e.isStatement));return s+1}return o}return 0},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.isInitializedProperty=function(e){return 164===e.kind&&void 0!==e.initializer}}(d||(d={})),function(e){function t(r,n){var i=e.getTargetOfBindingOrAssignmentElement(r);return e.isBindingOrAssignmentPattern(i)?function(r,n){for(var i=e.getElementsOfBindingOrAssignmentPattern(r),a=0,o=i;a<o.length;a++){if(t(o[a],n))return!0}return!1}(i,n):!!e.isIdentifier(i)&&i.escapedText===n}function r(t){var n=e.tryGetPropertyNameOfBindingOrAssignmentElement(t);if(n&&e.isComputedPropertyName(n)&&!e.isLiteralExpression(n.expression))return!0;var i,a=e.getTargetOfBindingOrAssignmentElement(t);return!!a&&e.isBindingOrAssignmentPattern(a)&&(i=a,!!e.forEach(e.getElementsOfBindingOrAssignmentPattern(i),r))}function n(t,r,s,c,l){var u=e.getTargetOfBindingOrAssignmentElement(r);if(!l){var d=e.visitNode(e.getInitializerOfBindingOrAssignmentElement(r),t.visitor,e.isExpression);d?s?(s=function(e,t,r,n){return t=o(e,t,!0,n),e.context.factory.createConditionalExpression(e.context.factory.createTypeCheck(t,"undefined"),void 0,r,void 0,t)}(t,s,d,c),!e.isSimpleInlineableExpression(d)&&e.isBindingOrAssignmentPattern(u)&&(s=o(t,s,!0,c))):s=d:s||(s=t.context.factory.createVoidZero())}e.isObjectBindingOrAssignmentPattern(u)?function(t,r,i,s,c){var l,u,d=e.getElementsOfBindingOrAssignmentPattern(i),p=d.length;if(1!==p){s=o(t,s,!e.isDeclarationBindingElement(r)||0!==p,c)}for(var f=0;f<p;f++){var m=d[f];if(e.getRestIndicatorOfBindingOrAssignmentElement(m)){if(f===p-1){l&&(t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(l),s,c,i),l=void 0);_=t.context.getEmitHelperFactory().createRestHelper(s,d,u,i);n(t,m,_,m)}}else{var g=e.getPropertyNameOfBindingOrAssignmentElement(m);if(!(t.level>=1)||24576&m.transformFlags||24576&e.getTargetOfBindingOrAssignmentElement(m).transformFlags||e.isComputedPropertyName(g)){l&&(t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(l),s,c,i),l=void 0);var _=a(t,s,g);e.isComputedPropertyName(g)&&(u=e.append(u,_.argumentExpression)),n(t,m,_,m)}else l=e.append(l,e.visitNode(m,t.visitor))}}l&&t.emitBindingOrAssignment(t.createObjectBindingOrAssignmentPattern(l),s,c,i)}(t,r,u,s,c):e.isArrayBindingOrAssignmentPattern(u)?function(t,r,a,s,c){var l,u,d=e.getElementsOfBindingOrAssignmentPattern(a),p=d.length;if(t.level<1&&t.downlevelIteration)s=o(t,e.setTextRange(t.context.getEmitHelperFactory().createReadHelper(s,p>0&&e.getRestIndicatorOfBindingOrAssignmentElement(d[p-1])?void 0:p),c),!1,c);else if(1!==p&&(t.level<1||0===p)||e.every(d,e.isOmittedExpression)){s=o(t,s,!e.isDeclarationBindingElement(r)||0!==p,c)}for(var f=0;f<p;f++){var m=d[f];if(t.level>=1)if(16384&m.transformFlags||t.hasTransformedPriorElement&&!i(m)){t.hasTransformedPriorElement=!0;var g=t.context.factory.createTempVariable(void 0);t.hoistTempVariables&&t.context.hoistVariableDeclaration(g),u=e.append(u,[g,m]),l=e.append(l,t.createArrayBindingOrAssignmentElement(g))}else l=e.append(l,m);else{if(e.isOmittedExpression(m))continue;if(e.getRestIndicatorOfBindingOrAssignmentElement(m)){if(f===p-1){_=t.context.factory.createArraySliceCall(s,f);n(t,m,_,m)}}else{var _=t.context.factory.createElementAccessExpression(s,f);n(t,m,_,m)}}}l&&t.emitBindingOrAssignment(t.createArrayBindingOrAssignmentPattern(l),s,c,a);if(u)for(var h=0,y=u;h<y.length;h++){var v=y[h],b=v[0];n(t,m=v[1],b,m)}}(t,r,u,s,c):t.emitBindingOrAssignment(u,s,c,r)}function i(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 a=e.getInitializerOfBindingOrAssignmentElement(t);return!(a&&!e.isSimpleInlineableExpression(a))&&(e.isBindingOrAssignmentPattern(r)?e.every(e.getElementsOfBindingOrAssignmentPattern(r),i):e.isIdentifier(r))}function a(t,r,n){if(e.isComputedPropertyName(n)){var i=o(t,e.visitNode(n.expression,t.visitor),!1,n);return t.context.factory.createElementAccessExpression(r,i)}if(e.isStringOrNumericLiteralLike(n)){i=e.factory.cloneNode(n);return t.context.factory.createElementAccessExpression(r,i)}var a=t.context.factory.createIdentifier(e.idText(n));return t.context.factory.createPropertyAccessExpression(r,a)}function o(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 s(e){return e}!function(e){e[e.All=0]="All",e[e.ObjectRest=1]="ObjectRest"}(e.FlattenLevel||(e.FlattenLevel={})),e.flattenDestructuringAssignment=function(i,a,c,l,u,d){var p,f,m=i;if(e.isDestructuringAssignment(i))for(p=i.right;e.isEmptyArrayLiteral(i.left)||e.isEmptyObjectLiteral(i.left);){if(!e.isDestructuringAssignment(p))return e.visitNode(p,a,e.isExpression);m=i=p,p=i.right}var g={context:c,level:l,downlevelIteration:!!c.getCompilerOptions().downlevelIteration,hoistTempVariables:!0,emitExpression:_,emitBindingOrAssignment:function(t,r,n,i){e.Debug.assertNode(t,d?e.isIdentifier:e.isExpression);var o=d?d(t,r,n):e.setTextRange(c.factory.createAssignment(e.visitNode(t,a,e.isExpression),r),n);o.original=i,_(o)},createArrayBindingOrAssignmentPattern:function(t){return function(t,r){return t.createArrayLiteralExpression(e.map(r,t.converters.convertToArrayAssignmentElement))}(c.factory,t)},createObjectBindingOrAssignmentPattern:function(t){return function(t,r){return t.createObjectLiteralExpression(e.map(r,t.converters.convertToObjectAssignmentElement))}(c.factory,t)},createArrayBindingOrAssignmentElement:s,visitor:a};if(p&&(p=e.visitNode(p,a,e.isExpression),e.isIdentifier(p)&&t(i,p.escapedText)||r(i)?p=o(g,p,!1,m):u?p=o(g,p,!0,m):e.nodeIsSynthesized(i)&&(m=p)),n(g,i,p,m,e.isDestructuringAssignment(i)),p&&u){if(!e.some(f))return p;f.push(p)}return c.factory.inlineExpressions(f)||c.factory.createOmittedExpression();function _(t){f=e.append(f,t)}},e.flattenDestructuringBinding=function(i,a,s,c,l,u,d){var p;void 0===u&&(u=!1);var f=[],m=[],g={context:s,level:c,downlevelIteration:!!s.getCompilerOptions().downlevelIteration,hoistTempVariables:u,emitExpression:function(t){p=e.append(p,t)},emitBindingOrAssignment:C,createArrayBindingOrAssignmentPattern:function(t){return function(t,r){return e.Debug.assertEachNode(r,e.isArrayBindingElement),t.createArrayBindingPattern(r)}(s.factory,t)},createObjectBindingOrAssignmentPattern:function(t){return function(t,r){return e.Debug.assertEachNode(r,e.isBindingElement),t.createObjectBindingPattern(r)}(s.factory,t)},createArrayBindingOrAssignmentElement:function(e){return function(e,t){return e.createBindingElement(void 0,void 0,t)}(s.factory,e)},visitor:a};if(e.isVariableDeclaration(i)){var _=e.getInitializerOfBindingOrAssignmentElement(i);_&&(e.isIdentifier(_)&&t(i,_.escapedText)||r(i))&&(_=o(g,e.visitNode(_,g.visitor),!1,_),i=s.factory.updateVariableDeclaration(i,i.name,void 0,void 0,_))}if(n(g,i,l,i,d),p){var h=s.factory.createTempVariable(void 0);if(u){var y=s.factory.inlineExpressions(p);p=void 0,C(h,y,void 0,void 0)}else{s.hoistVariableDeclaration(h);var v=e.last(f);v.pendingExpressions=e.append(v.pendingExpressions,s.factory.createAssignment(h,v.value)),e.addRange(v.pendingExpressions,p),v.value=h}}for(var b=0,k=f;b<k.length;b++){var x=k[b],E=x.pendingExpressions,S=x.name,D=(y=x.value,x.location),w=x.original,T=s.factory.createVariableDeclaration(S,void 0,void 0,E?s.factory.inlineExpressions(e.append(E,y)):y);T.original=w,e.setTextRange(T,D),m.push(T)}return m;function C(t,r,n,i){e.Debug.assertNode(t,e.isBindingName),p&&(r=s.factory.inlineExpressions(e.append(p,r)),p=void 0),f.push({pendingExpressions:p,name:t,value:r,location:n,original:i})}}}(d||(d={})),function(e){var t;function r(t){return t.templateFlags?e.factory.createVoidZero():e.factory.createStringLiteral(t.text)}function n(t,r){var n=t.rawText;if(void 0===n){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)}!function(e){e[e.LiftRestriction=0]="LiftRestriction",e[e.All=1]="All"}(t=e.ProcessLevel||(e.ProcessLevel={})),e.processTaggedTemplateExpression=function(i,a,o,s,c,l){var u=e.visitNode(a.tag,o,e.isExpression),d=[void 0],p=[],f=[],m=a.template;if(l===t.LiftRestriction&&!e.hasInvalidEscape(m))return e.visitEachChild(a,o,i);if(e.isNoSubstitutionTemplateLiteral(m))p.push(r(m)),f.push(n(m,s));else{p.push(r(m.head)),f.push(n(m.head,s));for(var g=0,_=m.templateSpans;g<_.length;g++){var h=_[g];p.push(r(h.literal)),f.push(n(h.literal,s)),d.push(e.visitNode(h.expression,o,e.isExpression))}}var y=i.getEmitHelperFactory().createTemplateObjectHelper(e.factory.createArrayLiteralExpression(p),e.factory.createArrayLiteralExpression(f));if(e.isExternalModule(s)){var v=e.factory.createUniqueName("templateObject");c(v),d[0]=e.factory.createLogicalOr(v,e.factory.createAssignment(v,y))}else d[0]=y;return e.factory.createCallExpression(u,void 0,d)}}(d||(d={})),function(e){var t,r;!function(e){e[e.ClassAliases=1]="ClassAliases",e[e.NamespaceExports=2]="NamespaceExports",e[e.NonQualifiedEnumMembers=8]="NonQualifiedEnumMembers"}(t||(t={})),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"}(r||(r={})),e.transformTypeScript=function(t){var r,n,i,a,o,s,c,l,u,d,p=t.factory,f=t.getEmitHelperFactory,m=t.startLexicalEnvironment,g=t.resumeLexicalEnvironment,_=t.endLexicalEnvironment,h=t.hoistVariableDeclaration,y=t.getEmitResolver(),v=t.getCompilerOptions(),b=e.getStrictOptionValue(v,"strictNullChecks"),k=e.getEmitScriptTarget(v),x=e.getEmitModuleKind(v),E=t.onEmitNode,S=t.onSubstituteNode;return t.onEmitNode=function(t,n,i){var a=d,o=r;e.isSourceFile(n)&&(r=n);2&l&&function(t){return 259===e.getOriginalNode(t).kind}(n)&&(d|=2);8&l&&function(t){return 258===e.getOriginalNode(t).kind}(n)&&(d|=8);E(t,n,i),d=a,r=o},t.onSubstituteNode=function(t,r){if(r=S(t,r),1===t)return function(t){switch(t.kind){case 78:return function(t){return function(t){if(1&l&&33554432&y.getNodeCheckFlags(t)){var r=y.getReferencedValueDeclaration(t);if(r){var n=u[r.id];if(n){var i=p.cloneNode(n);return e.setSourceMapRange(i,t),e.setCommentRange(i,t),i}}}return}(t)||ze(t)||t}(t);case 202:case 203:return function(e){return Ue(e)}(t)}return t}(r);if(e.isShorthandPropertyAssignment(r))return function(t){if(2&l){var r=t.name,n=ze(r);if(n){if(t.objectAssignmentInitializer){var i=p.createAssignment(n,t.objectAssignmentInitializer);return e.setTextRange(p.createPropertyAssignment(r,i),t)}return e.setTextRange(p.createPropertyAssignment(r,n),t)}}return t}(r);return r},t.enableSubstitution(202),t.enableSubstitution(203),function(t){if(301===t.kind)return function(t){return p.createBundle(t.sourceFiles.map(D),e.mapDefined(t.prepends,(function(t){return 303===t.kind?e.createUnparsedSourceFile(t,"js"):t})))}(t);return D(t)};function D(n){if(n.isDeclarationFile)return n;r=n;var i=w(n,L);return e.addEmitHelpers(i,t.readEmitHelpers()),r=void 0,i}function w(t,r){var n=a,i=o,l=s,u=c;!function(t){switch(t.kind){case 300:case 261:case 260:case 232:a=t,o=void 0,s=void 0;break;case 254:case 253:if(e.hasSyntacticModifier(t,2))break;t.name?be(t):e.Debug.assert(254===t.kind||e.hasSyntacticModifier(t,512)),e.isClassDeclaration(t)&&(o=t)}}(t);var d=r(t);return a!==n&&(s=l),a=n,o=i,c=u,d}function T(e){return w(e,C)}function C(e){return 1&e.transformFlags?M(e):e}function A(e){return w(e,N)}function N(r){switch(r.kind){case 264:case 263:case 269:case 270:return function(r){var n=e.getParseTreeNode(r);if(n!==r)return 1&r.transformFlags?e.visitEachChild(r,T,t):r;switch(r.kind){case 264:return function(t){if(!t.importClause)return t;if(t.importClause.isTypeOnly)return;var r=e.visitNode(t.importClause,De,e.isImportClause);return r||1===v.importsNotUsedAsValues||2===v.importsNotUsedAsValues?p.updateImportDeclaration(t,void 0,void 0,r,t.moduleSpecifier):void 0}(r);case 263:return Ne(r);case 269:return function(r){return y.isValueAliasDeclaration(r)?e.visitEachChild(r,T,t):void 0}(r);case 270:return function(t){if(t.isTypeOnly)return;if(!t.exportClause||e.isNamespaceExport(t.exportClause))return t;if(!y.isValueAliasDeclaration(t))return;var r=e.visitNode(t.exportClause,Ce,e.isNamedExportBindings);return r?p.updateExportDeclaration(t,void 0,void 0,t.isTypeOnly,r,t.moduleSpecifier):void 0}(r);default:e.Debug.fail("Unhandled ellided statement")}}(r);default:return C(r)}}function P(e){return w(e,I)}function I(t){if(270!==t.kind&&264!==t.kind&&265!==t.kind&&(263!==t.kind||275!==t.moduleReference.kind))return 1&t.transformFlags||e.hasSyntacticModifier(t,1)?M(t):t}function F(e){return w(e,O)}function O(t){switch(t.kind){case 167:return me(t);case 164:return fe(t);case 172:case 168:case 169:case 166:return C(t);case 231:return t;default:return e.Debug.failBadSyntaxKind(t)}}function R(t){if(!(2270&e.modifierToFlag(t.kind)||n&&93===t.kind))return t}function M(o){if(e.isStatement(o)&&e.hasSyntacticModifier(o,2))return p.createNotEmittedStatement(o);switch(o.kind){case 93:case 88:return n?void 0:o;case 123:case 121:case 122:case 126:case 85:case 134:case 143:case 179:case 180:case 181:case 182:case 178:case 173:case 160:case 129:case 153:case 132:case 148:case 145:case 142:case 114:case 149:case 176:case 175:case 177:case 174:case 183:case 184:case 185:case 187:case 188:case 189:case 190:case 191:case 192:case 172:case 162:case 257:case 262:return;case 164:return fe(o);case 167:return me(o);case 256:return p.createNotEmittedStatement(o);case 254:return function(i){if(!(z(i)||n&&e.hasSyntacticModifier(i,1)))return e.visitEachChild(i,T,t);var a=e.getProperties(i,!0,!0),o=function(t,r){var n=0;e.some(r)&&(n|=1);var i=e.getEffectiveBaseTypeNode(t);i&&104!==e.skipOuterExpressions(i.expression).kind&&(n|=64);(function(t){if(t.decorators&&t.decorators.length>0)return!0;var r=e.getFirstConstructorWithBody(t);if(r)return e.forEach(r.parameters,j);return!1})(t)&&(n|=2);e.childIsDecorated(t)&&(n|=4);Pe(t)?n|=8:!function(t){return Ie(t)&&e.hasSyntacticModifier(t,512)}(t)?Fe(t)&&(n|=16):n|=32;k<=1&&7&n&&(n|=128);return n}(i,a);128&o&&t.startLexicalEnvironment();var s=i.name||(5&o?p.getGeneratedNameForNode(i):void 0),c=2&o?function(r,n){var i=e.moveRangePastDecorators(r),a=function(r){if(16777216&y.getNodeCheckFlags(r)){1&l||(l|=1,t.enableSubstitution(78),u=[]);var n=p.createUniqueName(r.name&&!e.isGeneratedIdentifier(r.name)?e.idText(r.name):"default");return u[e.getOriginalNodeId(r)]=n,h(n),n}}(r),o=p.getLocalName(r,!1,!0),s=e.visitNodes(r.heritageClauses,T,e.isHeritageClause),c=U(r),d=p.createClassExpression(void 0,void 0,n,void 0,s,c);e.setOriginalNode(d,r),e.setTextRange(d,i);var f=p.createVariableStatement(void 0,p.createVariableDeclarationList([p.createVariableDeclaration(o,void 0,void 0,a?p.createAssignment(a,d):d)],1));return e.setOriginalNode(f,r),e.setTextRange(f,i),e.setCommentRange(f,r),f}(i,s):function(t,r,n){var i=128&n?void 0:e.visitNodes(t.modifiers,R,e.isModifier),a=p.createClassDeclaration(void 0,i,r,void 0,e.visitNodes(t.heritageClauses,T,e.isHeritageClause),U(t)),o=e.getEmitFlags(t);1&n&&(o|=32);return e.setTextRange(a,t),e.setOriginalNode(a,t),e.setEmitFlags(a,o),a}(i,s,o),d=[c];if(W(d,i,!1),W(d,i,!0),function(t,r){var n=function(t){var r=function(t){var r=t.decorators,n=V(e.getFirstConstructorWithBody(t));if(!r&&!n)return;return{decorators:r,parameters:n}}(t),n=K(t,t,r);if(!n)return;var i=u&&u[e.getOriginalNodeId(t)],a=p.getLocalName(t,!1,!0),o=f().createDecorateHelper(n,a),s=p.createAssignment(a,i?p.createAssignment(i,o):o);return e.setEmitFlags(s,1536),e.setSourceMapRange(s,e.moveRangePastDecorators(t)),s}(r);n&&t.push(e.setOriginalNode(p.createExpressionStatement(n),r))}(d,i),128&o){var m=e.createTokenRange(e.skipTrivia(r.text,i.members.end),19),g=p.getInternalName(i),_=p.createPartiallyEmittedExpression(g);e.setTextRangeEnd(_,m.end),e.setEmitFlags(_,1536);var v=p.createReturnStatement(_);e.setTextRangePos(v,m.pos),e.setEmitFlags(v,1920),d.push(v),e.insertStatementsAfterStandardPrologue(d,t.endLexicalEnvironment());var b=p.createImmediatelyInvokedArrowFunction(d);e.setEmitFlags(b,33554432);var x=p.createVariableStatement(void 0,p.createVariableDeclarationList([p.createVariableDeclaration(p.getLocalName(i,!1,!1),void 0,void 0,b)]));e.setOriginalNode(x,i),e.setCommentRange(x,i),e.setSourceMapRange(x,e.moveRangePastDecorators(i)),e.startOnNewLine(x),d=[x]}8&o?Re(d,i):(128&o||2&o)&&(32&o?d.push(p.createExportDefault(p.getLocalName(i,!1,!0))):16&o&&d.push(p.createExternalModuleExport(p.getLocalName(i,!1,!0))));d.length>1&&(d.push(p.createEndOfDeclarationMarker(i)),e.setEmitFlags(c,4194304|e.getEmitFlags(c)));return e.singleOrMany(d)}(o);case 223:return function(r){if(!z(r))return e.visitEachChild(r,T,t);var n=p.createClassExpression(void 0,void 0,r.name,void 0,e.visitNodes(r.heritageClauses,T,e.isHeritageClause),U(r));return e.setOriginalNode(n,r),e.setTextRange(n,r),n}(o);case 289:return function(r){if(117===r.token)return;return e.visitEachChild(r,T,t)}(o);case 225:return function(t){return p.updateExpressionWithTypeArguments(t,e.visitNode(t.expression,T,e.isLeftHandSideExpression),void 0)}(o);case 166:return function(r){if(!pe(r))return;var n=p.updateMethodDeclaration(r,void 0,e.visitNodes(r.modifiers,R,e.isModifier),r.asteriskToken,de(r),void 0,void 0,e.visitParameterList(r.parameters,T,t),void 0,e.visitFunctionBody(r.body,T,t));n!==r&&(e.setCommentRange(n,r),e.setSourceMapRange(n,e.moveRangePastDecorators(r)));return n}(o);case 168:return function(r){if(!_e(r))return;var n=p.updateGetAccessorDeclaration(r,void 0,e.visitNodes(r.modifiers,R,e.isModifier),de(r),e.visitParameterList(r.parameters,T,t),void 0,e.visitFunctionBody(r.body,T,t)||p.createBlock([]));n!==r&&(e.setCommentRange(n,r),e.setSourceMapRange(n,e.moveRangePastDecorators(r)));return n}(o);case 169:return function(r){if(!_e(r))return;var n=p.updateSetAccessorDeclaration(r,void 0,e.visitNodes(r.modifiers,R,e.isModifier),de(r),e.visitParameterList(r.parameters,T,t),e.visitFunctionBody(r.body,T,t)||p.createBlock([]));n!==r&&(e.setCommentRange(n,r),e.setSourceMapRange(n,e.moveRangePastDecorators(r)));return n}(o);case 253:return function(r){if(!pe(r))return p.createNotEmittedStatement(r);var n=p.updateFunctionDeclaration(r,void 0,e.visitNodes(r.modifiers,R,e.isModifier),r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,T,t),void 0,e.visitFunctionBody(r.body,T,t)||p.createBlock([]));if(Pe(r)){var i=[n];return Re(i,r),i}return n}(o);case 209:return function(r){if(!pe(r))return p.createOmittedExpression();var n=p.updateFunctionExpression(r,e.visitNodes(r.modifiers,R,e.isModifier),r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,T,t),void 0,e.visitFunctionBody(r.body,T,t)||p.createBlock([]));return n}(o);case 210:return function(r){var n=p.updateArrowFunction(r,e.visitNodes(r.modifiers,R,e.isModifier),void 0,e.visitParameterList(r.parameters,T,t),void 0,r.equalsGreaterThanToken,e.visitFunctionBody(r.body,T,t));return n}(o);case 161:return function(t){if(e.parameterIsThisKeyword(t))return;var r=p.updateParameterDeclaration(t,void 0,void 0,t.dotDotDotToken,e.visitNode(t.name,T,e.isBindingName),void 0,void 0,e.visitNode(t.initializer,T,e.isExpression));r!==t&&(e.setCommentRange(r,t),e.setTextRange(r,e.moveRangePastModifiers(t)),e.setSourceMapRange(r,e.moveRangePastModifiers(t)),e.setEmitFlags(r.name,32));return r}(o);case 208:return function(n){var i=e.skipOuterExpressions(n.expression,-7);if(e.isAssertionExpression(i)){var a=e.visitNode(n.expression,T,e.isExpression);return e.length(e.getLeadingCommentRangesOfNode(a,r))?p.updateParenthesizedExpression(n,a):p.createPartiallyEmittedExpression(a,n)}return e.visitEachChild(n,T,t)}(o);case 207:case 226:return function(t){var r=e.visitNode(t.expression,T,e.isExpression);return p.createPartiallyEmittedExpression(r,t)}(o);case 204:return function(t){return p.updateCallExpression(t,e.visitNode(t.expression,T,e.isExpression),void 0,e.visitNodes(t.arguments,T,e.isExpression))}(o);case 205:return function(t){return p.updateNewExpression(t,e.visitNode(t.expression,T,e.isExpression),void 0,e.visitNodes(t.arguments,T,e.isExpression))}(o);case 206:return function(t){return p.updateTaggedTemplateExpression(t,e.visitNode(t.tag,T,e.isExpression),void 0,e.visitNode(t.template,T,e.isExpression))}(o);case 227:return function(t){var r=e.visitNode(t.expression,T,e.isLeftHandSideExpression);return p.createPartiallyEmittedExpression(r,t)}(o);case 258:return function(t){if(!function(t){return!e.isEnumConst(t)||e.shouldPreserveConstEnums(v)}(t))return p.createNotEmittedStatement(t);var n=[],o=2,s=xe(n,t);s&&(x===e.ModuleKind.System&&a===r||(o|=512));var c=je(t),l=Be(t),u=e.hasSyntacticModifier(t,1)?p.getExternalModuleOrNamespaceExportName(i,t,!1,!0):p.getLocalName(t,!1,!0),d=p.createLogicalOr(u,p.createAssignment(u,p.createObjectLiteralExpression()));if(ve(t)){var f=p.getLocalName(t,!1,!0);d=p.createAssignment(f,d)}var g=p.createExpressionStatement(p.createCallExpression(p.createFunctionExpression(void 0,void 0,void 0,void 0,[p.createParameterDeclaration(void 0,void 0,void 0,c)],void 0,function(t,r){var n=i;i=r;var a=[];m();var o=e.map(t.members,ye);return e.insertStatementsAfterStandardPrologue(a,_()),e.addRange(a,o),i=n,p.createBlock(e.setTextRange(p.createNodeArray(a),t.members),!0)}(t,l)),void 0,[d]));e.setOriginalNode(g,t),s&&(e.setSyntheticLeadingComments(g,void 0),e.setSyntheticTrailingComments(g,void 0));return e.setTextRange(g,t),e.addEmitFlags(g,o),n.push(g),n.push(p.createEndOfDeclarationMarker(t)),n}(o);case 234:return function(r){if(Pe(r)){var n=e.getInitializedVariables(r.declarationList);if(0===n.length)return;return e.setTextRange(p.createExpressionStatement(p.inlineExpressions(e.map(n,he))),r)}return e.visitEachChild(r,T,t)}(o);case 251:return function(t){return p.updateVariableDeclaration(t,e.visitNode(t.name,T,e.isBindingName),void 0,void 0,e.visitNode(t.initializer,T,e.isExpression))}(o);case 259:return Ee(o);case 263:return Ne(o);case 277:return function(t){return p.updateJsxSelfClosingElement(t,e.visitNode(t.tagName,T,e.isJsxTagNameExpression),void 0,e.visitNode(t.attributes,T,e.isJsxAttributes))}(o);case 278:return function(t){return p.updateJsxOpeningElement(t,e.visitNode(t.tagName,T,e.isJsxTagNameExpression),void 0,e.visitNode(t.attributes,T,e.isJsxAttributes))}(o);default:return e.visitEachChild(o,T,t)}}function L(r){var n=e.getStrictOptionValue(v,"alwaysStrict")&&!(e.isExternalModule(r)&&x>=e.ModuleKind.ES2015)&&!e.isJsonSourceFile(r);return p.updateSourceFile(r,e.visitLexicalEnvironment(r.statements,A,t,0,n))}function j(e){return void 0!==e.decorators&&e.decorators.length>0}function B(e){return!!(2048&e.transformFlags)}function z(t){return e.some(t.decorators)||e.some(t.typeParameters)||e.some(t.heritageClauses,B)||e.some(t.members,B)}function U(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(p.createPropertyDeclaration(void 0,void 0,s.name,void 0,void 0,void 0),s))}return e.addRange(r,e.visitNodes(t.members,F,e.isClassElement)),e.setTextRange(p.createNodeArray(r),t.members)}function q(t,r){return e.filter(t.members,r?function(e){return J(e,!0,t)}:function(e){return J(e,!1,t)})}function J(t,r,n){return e.nodeOrChildIsDecorated(t,n)&&r===e.hasSyntacticModifier(t,32)}function V(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 H(t,r){switch(r.kind){case 168:case 169:return function(t,r){if(!r.body)return;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)return;var c=s.decorators,l=V(o);if(!c&&!l)return;return{decorators:c,parameters:l}}(t,r);case 166:return function(e){if(!e.body)return;var t=e.decorators,r=V(e);if(!t&&!r)return;return{decorators:t,parameters:r}}(r);case 164:return function(e){var t=e.decorators;if(!t)return;return{decorators:t}}(r);default:return}}function K(t,r,n){if(n){var i=[];return e.addRange(i,e.map(n.decorators,$)),e.addRange(i,e.flatMap(n.parameters,Y)),function(e,t,r){(function(e,t,r){v.emitDecoratorMetadata&&(X(e)&&r.push(f().createMetadataHelper("design:type",ee(e))),Z(e)&&r.push(f().createMetadataHelper("design:paramtypes",te(e,t))),Q(e)&&r.push(f().createMetadataHelper("design:returntype",re(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=q(e,t),i=0,a=n;i<a.length;i++){var o=G(e,a[i]);o&&(r?r.push(o):r=[o])}return r}(r,n),Oe))}function G(t,r){var n=K(r,t,H(t,r));if(n){var i=function(t,r){return e.hasSyntacticModifier(r,32)?p.getDeclarationName(t):function(e){return p.createPropertyAccessExpression(p.getDeclarationName(e),"prototype")}(t)}(t,r),a=ue(r,!0),o=k>0?164===r.kind?p.createVoidZero():p.createNull():void 0,s=f().createDecorateHelper(n,i,a,o);return e.setTextRange(s,e.moveRangePastDecorators(r)),e.setEmitFlags(s,1536),s}}function $(t){return e.visitNode(t.expression,T,e.isExpression)}function Y(t,r){var n;if(t){n=[];for(var i=0,a=t;i<a.length;i++){var o=a[i],s=f().createParamHelper($(o),r);e.setTextRange(s,o.expression),e.setEmitFlags(s,1536),n.push(s)}}return n}function X(e){var t=e.kind;return 166===t||168===t||169===t||164===t}function Q(e){return 166===e.kind}function Z(t){switch(t.kind){case 254:case 223:return void 0!==e.getFirstConstructorWithBody(t);case 166:case 168:case 169:return!0}return!1}function ee(t){switch(t.kind){case 164:case 161:return ne(t.type);case 169:case 168:return ne(function(t){var r=y.getAllAccessorDeclarations(t);return r.setAccessor&&e.getSetAccessorTypeAnnotationNode(r.setAccessor)||r.getAccessor&&e.getEffectiveReturnTypeNode(r.getAccessor)}(t));case 254:case 223:case 166:return p.createIdentifier("Function");default:return p.createVoidZero()}}function te(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&&168===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(ne(e.getRestParameterElementType(c.type))):i.push(ee(c)))}return p.createArrayLiteralExpression(i)}function re(t){return e.isFunctionLike(t)&&t.type?ne(t.type):e.isAsyncFunction(t)?p.createIdentifier("Promise"):p.createVoidZero()}function ne(t){if(void 0===t)return p.createIdentifier("Object");switch(t.kind){case 114:case 151:case 142:return p.createVoidZero();case 187:return ne(t.type);case 175:case 176:return p.createIdentifier("Function");case 179:case 180:return p.createIdentifier("Array");case 173:case 132:return p.createIdentifier("Boolean");case 148:return p.createIdentifier("String");case 146:return p.createIdentifier("Object");case 192:switch(t.literal.kind){case 10:case 14:return p.createIdentifier("String");case 216:case 8:return p.createIdentifier("Number");case 9:return le();case 110:case 95:return p.createIdentifier("Boolean");case 104:return p.createVoidZero();default:return e.Debug.failBadSyntaxKind(t.literal)}case 145:return p.createIdentifier("Number");case 156:return le();case 149:return k<2?ce():p.createIdentifier("Symbol");case 174: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 p.createIdentifier("Object");var n=oe(t.typeName),i=p.createTempVariable(h);return p.createConditionalExpression(p.createTypeCheck(p.createAssignment(i,n),"function"),void 0,i,void 0,p.createIdentifier("Object"));case e.TypeReferenceSerializationKind.TypeWithConstructSignatureAndValue:return se(t.typeName);case e.TypeReferenceSerializationKind.VoidNullableOrNeverType:return p.createVoidZero();case e.TypeReferenceSerializationKind.BigIntLikeType:return le();case e.TypeReferenceSerializationKind.BooleanType:return p.createIdentifier("Boolean");case e.TypeReferenceSerializationKind.NumberLikeType:return p.createIdentifier("Number");case e.TypeReferenceSerializationKind.StringLikeType:return p.createIdentifier("String");case e.TypeReferenceSerializationKind.ArrayLikeType:return p.createIdentifier("Array");case e.TypeReferenceSerializationKind.ESSymbolType:return k<2?ce():p.createIdentifier("Symbol");case e.TypeReferenceSerializationKind.TypeWithCallSignature:return p.createIdentifier("Function");case e.TypeReferenceSerializationKind.Promise:return p.createIdentifier("Promise");case e.TypeReferenceSerializationKind.ObjectType:return p.createIdentifier("Object");default:return e.Debug.assertNever(r)}}(t);case 184:case 183:return ie(t.types);case 185:return ie([t.trueType,t.falseType]);case 189:if(143===t.operator)return ne(t.type);break;case 177:case 190:case 191:case 178:case 129:case 153:case 188:case 196:case 306:case 307:case 311:case 312:case 313:break;case 308:case 309:case 310:return ne(t.type);default:return e.Debug.failBadSyntaxKind(t)}return p.createIdentifier("Object")}function ie(t){for(var r,n=0,i=t;n<i.length;n++){for(var a=i[n];187===a.kind;)a=a.type;if(142!==a.kind&&(b||(192!==a.kind||104!==a.literal.kind)&&151!==a.kind)){var o=ne(a);if(e.isIdentifier(o)&&"Object"===o.escapedText)return o;if(r){if(!e.isIdentifier(r)||!e.isIdentifier(o)||r.escapedText!==o.escapedText)return p.createIdentifier("Object")}else r=o}}return r||p.createVoidZero()}function ae(e,t){return p.createLogicalAnd(p.createStrictInequality(p.createTypeOfExpression(e),p.createStringLiteral("undefined")),t)}function oe(e){if(78===e.kind){var t=se(e);return ae(t,t)}if(78===e.left.kind)return ae(se(e.left),se(e));var r=oe(e.left),n=p.createTempVariable(h);return p.createLogicalAnd(p.createLogicalAnd(r.left,p.createStrictInequality(p.createAssignment(n,r.right),p.createVoidZero())),p.createPropertyAccessExpression(n,e.right))}function se(t){switch(t.kind){case 78: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 158:return function(e){return p.createPropertyAccessExpression(se(e.left),e.right)}(t)}}function ce(){return p.createConditionalExpression(p.createTypeCheck(p.createIdentifier("Symbol"),"function"),void 0,p.createIdentifier("Symbol"),void 0,p.createIdentifier("Object"))}function le(){return k<99?p.createConditionalExpression(p.createTypeCheck(p.createIdentifier("BigInt"),"function"),void 0,p.createIdentifier("BigInt"),void 0,p.createIdentifier("Object")):p.createIdentifier("BigInt")}function ue(t,r){var n=t.name;return e.isPrivateIdentifier(n)?p.createIdentifier(""):e.isComputedPropertyName(n)?r&&!e.isSimpleInlineableExpression(n.expression)?p.getGeneratedNameForNode(n):n.expression:e.isIdentifier(n)?p.createStringLiteral(e.idText(n)):p.cloneNode(n)}function de(t){var r=t.name;if(e.isComputedPropertyName(r)&&(!e.hasStaticModifier(t)&&c||e.some(t.decorators))){var n=e.visitNode(r.expression,T,e.isExpression),i=e.skipPartiallyEmittedExpressions(n);if(!e.isSimpleInlineableExpression(i)){var a=p.getGeneratedNameForNode(r);return h(a),p.updateComputedPropertyName(r,p.createAssignment(a,n))}}return e.visitNode(r,T,e.isPropertyName)}function pe(t){return!e.nodeIsMissing(t.body)}function fe(t){if(!(8388608&t.flags||e.hasSyntacticModifier(t,128))){var r=p.updatePropertyDeclaration(t,void 0,e.visitNodes(t.modifiers,T,e.isModifier),de(t),void 0,void 0,e.visitNode(t.initializer,T));return r!==t&&(e.setCommentRange(r,t),e.setSourceMapRange(r,e.moveRangePastDecorators(t))),r}}function me(r){if(pe(r))return p.updateConstructorDeclaration(r,void 0,void 0,e.visitParameterList(r.parameters,T,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,T,t);var a=[],o=0;g(),o=e.addPrologueDirectivesAndInitialSuperCall(p,n,a,T),e.addRange(a,e.map(i,ge)),e.addRange(a,e.visitNodes(r.statements,T,e.isStatement,o)),a=p.mergeLexicalEnvironment(a,_());var s=p.createBlock(e.setTextRange(p.createNodeArray(a),r.statements),!0);return e.setTextRange(s,r),e.setOriginalNode(s,r),s}(r.body,r))}function ge(t){var r=t.name;if(e.isIdentifier(r)){var n=e.setParent(e.setTextRange(p.cloneNode(r),r),r.parent);e.setEmitFlags(n,1584);var i=e.setParent(e.setTextRange(p.cloneNode(r),r),r.parent);return e.setEmitFlags(i,1536),e.startOnNewLine(e.removeAllComments(e.setTextRange(e.setOriginalNode(p.createExpressionStatement(p.createAssignment(e.setTextRange(p.createPropertyAccessExpression(p.createThis(),n),t.name),i)),t),e.moveRangePos(t,-1))))}}function _e(t){return!(e.nodeIsMissing(t.body)&&e.hasSyntacticModifier(t,128))}function he(r){var n=r.name;return e.isBindingPattern(n)?e.flattenDestructuringAssignment(r,T,t,0,!1,Me):e.setTextRange(p.createAssignment(Le(n),e.visitNode(r.initializer,T,e.isExpression)),r)}function ye(r){var n=ue(r,!1),a=function(r){var n=y.getConstantValue(r);return void 0!==n?"string"==typeof n?p.createStringLiteral(n):p.createNumericLiteral(n):(8&l||(l|=8,t.enableSubstitution(78)),r.initializer?e.visitNode(r.initializer,T,e.isExpression):p.createVoidZero())}(r),o=p.createAssignment(p.createElementAccessExpression(i,n),a),s=10===a.kind?o:p.createAssignment(p.createElementAccessExpression(i,o),n);return e.setTextRange(p.createExpressionStatement(e.setTextRange(s,r)),r)}function ve(t){return Pe(t)||Ie(t)&&x!==e.ModuleKind.ES2015&&x!==e.ModuleKind.ES2020&&x!==e.ModuleKind.ESNext&&x!==e.ModuleKind.System}function be(t){s||(s=new e.Map);var r=ke(t);s.has(r)||s.set(r,t)}function ke(t){return e.Debug.assertNode(t.name,e.isIdentifier),t.name.escapedText}function xe(t,r){var n=p.createVariableStatement(e.visitNodes(r.modifiers,R,e.isModifier),p.createVariableDeclarationList([p.createVariableDeclaration(p.getLocalName(r,!1,!0))],300===a.kind?0:1));if(e.setOriginalNode(n,r),be(r),function(e){if(s){var t=ke(e);return s.get(t)===e}return!0}(r))return 258===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=p.createMergeDeclarationMarker(n);return e.setEmitFlags(i,4195840),t.push(i),!1}function Ee(o){if(!function(t){var r=e.getParseTreeNode(t,e.isModuleDeclaration);return!r||e.isInstantiatedModule(r,e.shouldPreserveConstEnums(v))}(o))return p.createNotEmittedStatement(o);e.Debug.assertNode(o.name,e.isIdentifier,"A TypeScript namespace should have an Identifier name."),2&l||(l|=2,t.enableSubstitution(78),t.enableSubstitution(292),t.enableEmitNotification(259));var c=[],u=2,d=xe(c,o);d&&(x===e.ModuleKind.System&&a===r||(u|=512));var f=je(o),g=Be(o),h=e.hasSyntacticModifier(o,1)?p.getExternalModuleOrNamespaceExportName(i,o,!1,!0):p.getLocalName(o,!1,!0),y=p.createLogicalOr(h,p.createAssignment(h,p.createObjectLiteralExpression()));if(ve(o)){var b=p.getLocalName(o,!1,!0);y=p.createAssignment(b,y)}var k=p.createExpressionStatement(p.createCallExpression(p.createFunctionExpression(void 0,void 0,void 0,void 0,[p.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 l,u,d=[];if(m(),t.body)if(260===t.body.kind)w(t.body,(function(t){return e.addRange(d,e.visitNodes(t.statements,P,e.isStatement))})),l=t.body.statements,u=t.body;else{var f=Ee(t.body);f&&(e.isArray(f)?e.addRange(d,f):d.push(f));var g=Se(t).body;l=e.moveRangePos(g.statements,-1)}e.insertStatementsAfterStandardPrologue(d,_()),i=a,n=o,s=c;var h=p.createBlock(e.setTextRange(p.createNodeArray(d),l),!0);e.setTextRange(h,u),t.body&&260===t.body.kind||e.setEmitFlags(h,1536|e.getEmitFlags(h));return h}(o,g)),void 0,[y]));return e.setOriginalNode(k,o),d&&(e.setSyntheticLeadingComments(k,void 0),e.setSyntheticTrailingComments(k,void 0)),e.setTextRange(k,o),e.addEmitFlags(k,u),c.push(k),c.push(p.createEndOfDeclarationMarker(o)),c}function Se(e){if(259===e.body.kind)return Se(e.body)||e.body}function De(t){if(!t.isTypeOnly){var r=y.isReferencedAliasDeclaration(t)?t.name:void 0,n=e.visitNode(t.namedBindings,we,e.isNamedImportBindings);return r||n?p.updateImportClause(t,!1,r,n):void 0}}function we(t){if(266===t.kind)return y.isReferencedAliasDeclaration(t)?t:void 0;var r=e.visitNodes(t.elements,Te,e.isImportSpecifier);return e.some(r)?p.updateNamedImports(t,r):void 0}function Te(e){return y.isReferencedAliasDeclaration(e)?e:void 0}function Ce(t){return e.isNamespaceExport(t)?function(t){return p.updateNamespaceExport(t,e.visitNode(t.name,T,e.isIdentifier))}(t):function(t){var r=e.visitNodes(t.elements,Ae,e.isExportSpecifier);return e.some(r)?p.updateNamedExports(t,r):void 0}(t)}function Ae(e){return y.isValueAliasDeclaration(e)?e:void 0}function Ne(n){if(!n.isTypeOnly){if(e.isExternalModuleImportEqualsDeclaration(n)){var a=y.isReferencedAliasDeclaration(n);return a||1!==v.importsNotUsedAsValues?a?e.visitEachChild(n,T,t):void 0:e.setOriginalNode(e.setTextRange(p.createImportDeclaration(void 0,void 0,void 0,n.moduleReference.expression),n),n)}if(function(t){return y.isReferencedAliasDeclaration(t)||!e.isExternalModule(r)&&y.isTopLevelValueImportEqualsWithEntityName(t)}(n)){var o,s,c,l=e.createExpressionFromEntityName(p,n.moduleReference);return e.setEmitFlags(l,3584),Fe(n)||!Pe(n)?e.setOriginalNode(e.setTextRange(p.createVariableStatement(e.visitNodes(n.modifiers,R,e.isModifier),p.createVariableDeclarationList([e.setOriginalNode(p.createVariableDeclaration(n.name,void 0,void 0,l),n)])),n),n):e.setOriginalNode((o=n.name,s=l,c=n,e.setTextRange(p.createExpressionStatement(p.createAssignment(p.getNamespaceMemberName(i,o,!1,!0),s)),c)),n)}}}function Pe(t){return void 0!==n&&e.hasSyntacticModifier(t,1)}function Ie(t){return void 0===n&&e.hasSyntacticModifier(t,1)}function Fe(t){return Ie(t)&&!e.hasSyntacticModifier(t,512)}function Oe(e){return p.createExpressionStatement(e)}function Re(t,r){var n=p.createAssignment(p.getExternalModuleOrNamespaceExportName(i,r,!1,!0),p.getLocalName(r));e.setSourceMapRange(n,e.createRange(r.name?r.name.pos:r.pos,r.end));var a=p.createExpressionStatement(n);e.setSourceMapRange(a,e.createRange(-1,r.end)),t.push(a)}function Me(t,r,n){return e.setTextRange(p.createAssignment(Le(t),r),n)}function Le(e){return p.getNamespaceMemberName(i,e,!1,!0)}function je(t){var r=p.getGeneratedNameForNode(t);return e.setSourceMapRange(r,t.name),r}function Be(e){return p.getGeneratedNameForNode(e)}function ze(t){if(l&d&&!e.isGeneratedIdentifier(t)&&!e.isLocalName(t)){var r=y.getReferencedExportContainer(t,!1);if(r&&300!==r.kind)if(2&d&&259===r.kind||8&d&&258===r.kind)return e.setTextRange(p.createPropertyAccessExpression(p.getGeneratedNameForNode(r),t),t)}}function Ue(t){var r=function(t){if(v.isolatedModules)return;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?p.createStringLiteral(r):p.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," "+a+" ")}return n}return t}},e.transformTypeExportImportAndConstEnumInTypeScript=function(t){var r,n,i=t.getEmitResolver();return function(r){if(r.isDeclarationFile)return r;return e.factory.updateSourceFile(r,e.visitLexicalEnvironment(r.statements,a,t))};function a(s){switch(s.kind){case 264:return function(t){if(!t.importClause||t.importClause.isTypeOnly)return t;d();var n=[],i=e.visitNode(t.importClause,o,e.isImportClause);i&&n.push(e.factory.updateImportDeclaration(t,void 0,void 0,i,t.moduleSpecifier));for(var a=function(){var t,n=r.name;r.namespaceImport?t=r.namespaceImport:r.namedImports.length>0&&(t=e.factory.createNamedImports(r.namedImports));var i=[];void 0!==n&&i.push(e.factory.createImportClause(!0,n,void 0));void 0!==t&&i.push(e.factory.createImportClause(!0,void 0,t));return d(),i}(),s=0,c=a;s<c.length;s++){var l=c[s];n.push(e.factory.createImportDeclaration(void 0,void 0,l,t.moduleSpecifier))}return n.length>0?n:void 0}(s);case 263:return function(t){if(t.isTypeOnly)return t;if(e.isExternalModuleImportEqualsDeclaration(t)){return i.isReferencedAliasDeclaration(t)?t:i.isReferenced(t)?e.factory.updateImportEqualsDeclaration(t,t.decorators,t.modifiers,!0,t.name,t.moduleReference):void 0}return t}(s);case 270:return function(t){if(t.isTypeOnly||!t.exportClause||e.isNamespaceExport(t.exportClause))return t;p();var r=[],i=e.visitNode(t.exportClause,l,e.isNamedExportBindings);i&&r.push(e.factory.updateExportDeclaration(t,void 0,void 0,t.isTypeOnly,i,t.moduleSpecifier));var a=function(){var t;n.namedExports.length>0&&(t=e.factory.createNamedExports(n.namedExports));return p(),t}();a&&r.push(e.factory.createExportDeclaration(void 0,void 0,!0,a,t.moduleSpecifier));return r.length>0?r:void 0}(s);case 202:case 203:return function(r){var n=i.getConstantValue(r);if(void 0!==n){return"string"==typeof n?e.factory.createStringLiteral(n):e.factory.createNumericLiteral(n)}return e.visitEachChild(r,a,t)}(s);case 294:return function(r){var n=i.getConstantValue(r);if(void 0!==n){var o="string"==typeof n?e.factory.createStringLiteral(n):e.factory.createNumericLiteral(n);return e.factory.updateEnumMember(r,r.name,o)}return e.visitEachChild(r,a,t)}(s);default:return e.visitEachChild(s,a,t)}}function o(t){if(t.isTypeOnly)return t;var n;i.isReferencedAliasDeclaration(t)?n=t.name:i.isReferenced(t)&&function(e){r.name=e.name}(t);var a=e.visitNode(t.namedBindings,s,e.isNamedImportBindings);return n||a?e.factory.updateImportClause(t,!1,n,a):void 0}function s(t){if(266===t.kind)return i.isReferencedAliasDeclaration(t)?t:void(i.isReferenced(t)&&function(e){r.namespaceImport=e}(t));var n=e.visitNodes(t.elements,c,e.isImportSpecifier);return e.some(n)?e.factory.updateNamedImports(t,n):void 0}function c(e){if(i.isReferencedAliasDeclaration(e))return e;i.isReferenced(e)&&function(e){r.namedImports.push(e)}(e)}function l(t){var r=e.visitNodes(t.elements,u,e.isExportSpecifier);return e.some(r)?e.factory.updateNamedExports(t,r):void 0}function u(e){if(i.isValueAliasDeclaration(e))return e;!function(e){n.namedExports.push(e)}(e)}function d(){r={name:void 0,namespaceImport:void 0,namedImports:[]}}function p(){n={namedExports:[]}}}}(d||(d={})),function(e){var t,r;!function(e){e[e.ClassAliases=1]="ClassAliases"}(t||(t={})),function(e){e[e.InstanceField=0]="InstanceField"}(r||(r={})),e.transformClassFields=function(t){var r,n,a,o,s=t.factory,c=t.hoistVariableDeclaration,l=t.endLexicalEnvironment,u=t.resumeLexicalEnvironment,d=t.getEmitResolver(),p=t.getCompilerOptions(),f=e.getEmitScriptTarget(p),m=f<99,g=t.onSubstituteNode;t.onSubstituteNode=function(t,i){if(i=g(t,i),1===t)return function(t){if(78===t.kind)return function(t){return function(t){if(1&r&&33554432&d.getNodeCheckFlags(t)){var i=d.getReferencedValueDeclaration(t);if(i){var a=n[i.id];if(a){var o=s.cloneNode(a);return e.setSourceMapRange(o,t),e.setCommentRange(o,t),o}}}return}(t)||t}(t);return t}(i);return i};var _,h=[];return e.chainBundle(t,(function(r){var n=t.getCompilerOptions();if(r.isDeclarationFile||n.useDefineForClassFields&&99===n.target)return r;var i=e.visitEachChild(r,y,t);return e.addEmitHelpers(i,t.readEmitHelpers()),i}));function y(l){if(!(4194304&l.transformFlags))return l;switch(l.kind){case 223:case 254:return function(i){var l=a;a=void 0,m&&(h.push(_),_=void 0);var u=e.isClassDeclaration(i)?function(r){if(!e.forEach(r.members,w))return e.visitEachChild(r,y,t);var n=e.getEffectiveBaseTypeNode(r),i=!(!n||104===e.skipOuterExpressions(n.expression).kind),o=[s.updateClassDeclaration(r,void 0,r.modifiers,r.name,void 0,e.visitNodes(r.heritageClauses,y,e.isHeritageClause),T(r,i))];e.some(a)&&o.push(s.createExpressionStatement(s.inlineExpressions(a)));var c=e.getProperties(r,!0,!0);e.some(c)&&A(o,c,s.getInternalName(r));return o}(i):e.isClassExpression(i)?function(i){if(!e.forEach(i.members,w))return e.visitEachChild(i,y,t);var l=e.isClassDeclaration(e.getOriginalNode(i)),u=e.getProperties(i,!0,!0),p=e.getEffectiveBaseTypeNode(i),f=!(!p||104===e.skipOuterExpressions(p.expression).kind),m=s.updateClassExpression(i,e.visitNodes(i.decorators,y,e.isDecorator),i.modifiers,i.name,void 0,e.visitNodes(i.heritageClauses,y,e.isHeritageClause),T(i,f));if(e.some(u)||e.some(a)){if(l)return e.Debug.assertIsDefined(o,"Decorated classes transformed by TypeScript are expected to be within a variable declaration."),o&&a&&e.some(a)&&o.push(s.createExpressionStatement(s.inlineExpressions(a))),o&&e.some(u)&&A(o,u,s.getInternalName(i)),m;var g=[],_=16777216&d.getNodeCheckFlags(i),h=s.createTempVariable(c,!!_);if(_){1&r||(r|=1,t.enableSubstitution(78),n=[]);var v=s.cloneNode(h);v.autoGenerateFlags&=-9,n[e.getOriginalNodeId(i)]=v}return e.setEmitFlags(m,65536|e.getEmitFlags(m)),g.push(e.startOnNewLine(s.createAssignment(h,m))),e.addRange(g,e.map(a,e.startOnNewLine)),e.addRange(g,function(t,r){for(var n=[],i=0,a=t;i<a.length;i++){var o=a[i],s=N(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}(u,h)),g.push(e.startOnNewLine(h)),s.inlineExpressions(g)}return m}(i):[];m&&(_=h.pop());return a=l,u}(l);case 164:return k(l);case 234:return function(r){var n=o;o=[];var a=e.visitEachChild(r,y,t),s=e.some(o)?i([a],o):a;return o=n,s}(l);case 202:return function(r){if(m&&e.isPrivateIdentifier(r.name)){var n=F(r.name);if(n)return e.setOriginalNode(x(n,r.expression),r)}return e.visitEachChild(r,y,t)}(l);case 216:return function(r){if(m&&e.isPrivateIdentifierPropertyAccessExpression(r.operand)){var n=45===r.operator?39:46===r.operator?40:void 0,i=void 0;if(n&&(i=F(r.operand.name))){var a=S(e.visitNode(r.operand.expression,y,e.isExpression)),o=a.readExpression,c=a.initializeExpression,l=s.createPrefixUnaryExpression(39,x(i,o));return e.setOriginalNode(D(i,c||o,s.createBinaryExpression(l,n,s.createNumericLiteral(1)),62),r)}}return e.visitEachChild(r,y,t)}(l);case 217:return E(l,!1);case 204:return function(r){if(m&&e.isPrivateIdentifierPropertyAccessExpression(r.expression)){var n=s.createCallBinding(r.expression,c,f),a=n.thisArg,o=n.target;return e.isCallChain(r)?s.updateCallChain(r,s.createPropertyAccessChain(e.visitNode(o,y),r.questionDotToken,"call"),void 0,void 0,i([e.visitNode(a,y,e.isExpression)],e.visitNodes(r.arguments,y,e.isExpression))):s.updateCallExpression(r,s.createPropertyAccessExpression(e.visitNode(o,y),"call"),void 0,i([e.visitNode(a,y,e.isExpression)],e.visitNodes(r.arguments,y,e.isExpression)))}return e.visitEachChild(r,y,t)}(l);case 218:return function(r){if(m){if(e.isDestructuringAssignment(r)){var n=a;a=void 0,r=s.updateBinaryExpression(r,e.visitNode(r.left,v),r.operatorToken,e.visitNode(r.right,y));var o=e.some(a)?s.inlineExpressions(e.compact(i(i([],a),[r]))):r;return a=n,o}if(e.isAssignmentExpression(r)&&e.isPrivateIdentifierPropertyAccessExpression(r.left)){var c=F(r.left.name);if(c)return e.setOriginalNode(D(c,r.left.expression,r.right,r.operatorToken.kind),r)}}return e.visitEachChild(r,y,t)}(l);case 79:return function(t){if(!m)return t;return e.setOriginalNode(s.createIdentifier(""),t)}(l);case 235:return function(r){if(e.isPostfixUnaryExpression(r.expression))return s.updateExpressionStatement(r,E(r.expression,!0));return e.visitEachChild(r,y,t)}(l);case 239:return function(r){if(r.incrementor&&e.isPostfixUnaryExpression(r.incrementor))return s.updateForStatement(r,e.visitNode(r.initializer,y,e.isForInitializer),e.visitNode(r.condition,y,e.isExpression),E(r.incrementor,!0),e.visitNode(r.statement,y,e.isStatement));return e.visitEachChild(r,y,t)}(l);case 206:return function(r){if(m&&e.isPrivateIdentifierPropertyAccessExpression(r.tag)){var n=s.createCallBinding(r.tag,c,f),i=n.thisArg,a=n.target;return s.updateTaggedTemplateExpression(r,s.createCallExpression(s.createPropertyAccessExpression(e.visitNode(a,y),"bind"),void 0,[e.visitNode(i,y,e.isExpression)]),void 0,e.visitNode(r.template,y,e.isTemplateLiteral))}return e.visitEachChild(r,y,t)}(l)}return e.visitEachChild(l,y,t)}function v(t){switch(t.kind){case 201:case 200:return function(t){return e.isArrayLiteralExpression(t)?s.updateArrayLiteralExpression(t,e.visitNodes(t.elements,R,e.isExpression)):s.updateObjectLiteralExpression(t,e.visitNodes(t.properties,M,e.isObjectLiteralElementLike))}(t);default:return y(t)}}function b(r){switch(r.kind){case 167:return;case 168:case 169:case 166:return e.visitEachChild(r,b,t);case 164:return k(r);case 159:return function(r){var n=e.visitEachChild(r,y,t);if(e.some(a)){var i=a;i.push(n.expression),a=[],n=s.updateComputedPropertyName(n,s.inlineExpressions(i))}return n}(r);case 231:return r;default:return y(r)}}function k(r){if(e.Debug.assert(!e.some(r.decorators)),!m&&e.isPrivateIdentifier(r.name))return s.updatePropertyDeclaration(r,void 0,e.visitNodes(r.modifiers,y,e.isModifier),r.name,void 0,void 0,void 0);var n=function(t,r){if(e.isComputedPropertyName(t)){var n=e.visitNode(t.expression,y,e.isExpression),i=e.skipPartiallyEmittedExpressions(n),a=e.isSimpleInlineableExpression(i);if(!(e.isAssignmentExpression(i)&&e.isGeneratedIdentifier(i.left))&&!a&&r){var o=s.getGeneratedNameForNode(t);return c(o),s.createAssignment(o,n)}return a||e.isIdentifier(i)?void 0:n}}(r.name,!!r.initializer||!!t.getCompilerOptions().useDefineForClassFields);n&&!e.isSimpleInlineableExpression(n)&&P().push(n)}function x(r,n){return n=e.visitNode(n,y,e.isExpression),0===r.placement?t.getEmitHelperFactory().createClassPrivateFieldGetHelper(e.nodeIsSynthesized(n)?n:s.cloneNode(n),r.weakMapName):e.Debug.fail("Unexpected private identifier placement")}function E(r,n){if(m&&e.isPrivateIdentifierPropertyAccessExpression(r.operand)){var i=45===r.operator?39:46===r.operator?40:void 0,a=void 0;if(i&&(a=F(r.operand.name))){var o=S(e.visitNode(r.operand.expression,y,e.isExpression)),l=o.readExpression,u=o.initializeExpression,d=s.createPrefixUnaryExpression(39,x(a,l)),p=n?void 0:s.createTempVariable(c);return e.setOriginalNode(s.inlineExpressions(e.compact([D(a,u||l,s.createBinaryExpression(p?s.createAssignment(p,d):d,i,s.createNumericLiteral(1)),62),p])),r)}}return e.visitEachChild(r,y,t)}function S(t){var r=e.nodeIsSynthesized(t)?t:s.cloneNode(t);if(e.isSimpleInlineableExpression(t))return{readExpression:r,initializeExpression:void 0};var n=s.createTempVariable(c);return{readExpression:n,initializeExpression:s.createAssignment(n,r)}}function D(r,n,i,a){return 0===r.placement?function(r,n,i,a){if(n=e.visitNode(n,y,e.isExpression),i=e.visitNode(i,y,e.isExpression),e.isCompoundAssignment(a)){var o=S(n),c=o.readExpression,l=o.initializeExpression;return t.getEmitHelperFactory().createClassPrivateFieldSetHelper(l||c,r.weakMapName,s.createBinaryExpression(t.getEmitHelperFactory().createClassPrivateFieldGetHelper(c,r.weakMapName),e.getNonAssignmentOperatorForCompoundAssignment(a),i))}return t.getEmitHelperFactory().createClassPrivateFieldSetHelper(n,r.weakMapName,i)}(r,n,i,a):e.Debug.fail("Unexpected private identifier placement")}function w(t){return e.isPropertyDeclaration(t)||m&&t.name&&e.isPrivateIdentifier(t.name)}function T(r,n){if(m)for(var i=0,a=r.members;i<a.length;i++){var o=a[i];e.isPrivateIdentifierPropertyDeclaration(o)&&I(o.name)}var c=[],d=function(r,n){var i=e.visitNode(e.getFirstConstructorWithBody(r),y,e.isConstructorDeclaration),a=r.members.filter(C);if(!e.some(a))return i;var o=e.visitParameterList(i?i.parameters:void 0,y,t),c=function(r,n,i){var a=t.getCompilerOptions().useDefineForClassFields,o=e.getProperties(r,!1,!1);a||(o=e.filter(o,(function(t){return!!t.initializer||e.isPrivateIdentifier(t.name)})));if(!n&&!e.some(o))return e.visitFunctionBody(void 0,y,t);u();var c=0,d=[];!n&&i&&d.push(s.createExpressionStatement(s.createCallExpression(s.createSuper(),void 0,[s.createSpreadElement(s.createIdentifier("arguments"))])));n&&(c=e.addPrologueDirectivesAndInitialSuperCall(s,n,d,y));if(null==n?void 0:n.body){var p=e.findIndex(n.body.statements,(function(t){return!e.isParameterPropertyDeclaration(e.getOriginalNode(t),n)}),c);-1===p&&(p=n.body.statements.length),p>c&&(a||e.addRange(d,e.visitNodes(n.body.statements,y,e.isStatement,c,p-c)),c=p)}A(d,o,s.createThis()),n&&e.addRange(d,e.visitNodes(n.body.statements,y,e.isStatement,c));return d=s.mergeLexicalEnvironment(d,l()),e.setTextRange(s.createBlock(e.setTextRange(s.createNodeArray(d),n?n.body.statements:r.members),!0),n?n.body:void 0)}(r,i,n);if(!c)return;return e.startOnNewLine(e.setOriginalNode(e.setTextRange(s.createConstructorDeclaration(void 0,void 0,null!=o?o:[],c),i||r),i))}(r,n);return d&&c.push(d),e.addRange(c,e.visitNodes(r.members,b,e.isClassElement)),e.setTextRange(s.createNodeArray(c),r.members)}function C(r){return!(!e.isPropertyDeclaration(r)||e.hasStaticModifier(r)||e.hasSyntacticModifier(e.getOriginalNode(r),128))&&(t.getCompilerOptions().useDefineForClassFields?f<99:e.isInitializedProperty(r)||m&&e.isPrivateIdentifierPropertyDeclaration(r))}function A(t,r,n){for(var i=0,a=r;i<a.length;i++){var o=a[i],c=N(o,n);if(c){var l=s.createExpressionStatement(c);e.setSourceMapRange(l,e.moveRangePastModifiers(o)),e.setCommentRange(l,o),e.setOriginalNode(l,o),t.push(l)}}}function N(r,n){var i,a=!t.getCompilerOptions().useDefineForClassFields,o=e.isComputedPropertyName(r.name)&&!e.isSimpleInlineableExpression(r.name.expression)?s.updateComputedPropertyName(r.name,s.getGeneratedNameForNode(r.name)):r.name;if(m&&e.isPrivateIdentifier(o)){var c=F(o);if(c){if(0===c.placement)return function(t,r,n){return e.factory.createCallExpression(e.factory.createPropertyAccessExpression(n,"set"),void 0,[t,r||e.factory.createVoidZero()])}(n,e.visitNode(r.initializer,y,e.isExpression),c.weakMapName)}else e.Debug.fail("Undeclared private name for property declaration.")}if((!e.isPrivateIdentifier(o)||r.initializer)&&(!e.isPrivateIdentifier(o)||r.initializer)){var l=e.getOriginalNode(r);if(!e.hasSyntacticModifier(l,128)){var u=r.initializer||a?null!==(i=e.visitNode(r.initializer,y,e.isExpression))&&void 0!==i?i:s.createVoidZero():e.isParameterPropertyDeclaration(l,l.parent)&&e.isIdentifier(o)?o:s.createVoidZero();if(a||e.isPrivateIdentifier(o)){var d=e.createMemberAccessForPropertyName(s,n,o,o);return s.createAssignment(d,u)}var p=e.isComputedPropertyName(o)?o.expression:e.isIdentifier(o)?s.createStringLiteral(e.unescapeLeadingUnderscores(o.escapedText)):o,f=s.createPropertyDescriptor({value:u,configurable:!0,writable:!0,enumerable:!0});return s.createObjectDefinePropertyCall(n,p,f)}}}function P(){return a||(a=[])}function I(t){var r=e.getTextOfPropertyName(t),n=s.createUniqueName("_"+r.substring(1),24);c(n),(_||(_=new e.Map)).set(t.escapedText,{placement:0,weakMapName:n}),P().push(s.createAssignment(n,s.createNewExpression(s.createIdentifier("WeakMap"),void 0,[])))}function F(e){if(_&&(r=_.get(e.escapedText)))return r;for(var t=h.length-1;t>=0;--t){var r,n=h[t];if(n)if(r=n.get(e.escapedText))return r}}function O(r){var n=s.getGeneratedNameForNode(r),i=F(r.name);if(!i)return e.visitEachChild(r,y,t);var a=r.expression;return(e.isThisProperty(r)||e.isSuperProperty(r)||!e.isSimpleCopiableExpression(r.expression))&&(a=s.createTempVariable(c,!0),P().push(s.createBinaryExpression(a,62,r.expression))),s.createPropertyAccessExpression(s.createParenthesizedExpression(s.createObjectLiteralExpression([s.createSetAccessorDeclaration(void 0,void 0,"value",[s.createParameterDeclaration(void 0,void 0,void 0,n,void 0,void 0,void 0)],s.createBlock([s.createExpressionStatement(D(i,a,n,62))]))])),"value")}function R(t){var r=e.getTargetOfBindingOrAssignmentElement(t);if(r&&e.isPrivateIdentifierPropertyAccessExpression(r)){var n=O(r);return e.isAssignmentExpression(t)?s.updateBinaryExpression(t,n,t.operatorToken,e.visitNode(t.right,y,e.isExpression)):e.isSpreadElement(t)?s.updateSpreadElement(t,n):n}return e.visitNode(t,v)}function M(t){if(e.isPropertyAssignment(t)){var r=e.getTargetOfBindingOrAssignmentElement(t);if(r&&e.isPrivateIdentifierPropertyAccessExpression(r)){var n=e.getInitializerOfBindingOrAssignmentElement(t),i=O(r);return s.updatePropertyAssignment(t,e.visitNode(t.name,y),n?s.createAssignment(i,e.visitNode(n,y)):i)}return s.updatePropertyAssignment(t,e.visitNode(t.name,y),e.visitNode(t.initializer,v))}return e.visitNode(t,y)}}}(d||(d={})),function(e){var t,r;function n(t,r,n,i){var a=!!(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))}!function(e){e[e.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"}(t||(t={})),function(e){e[e.NonTopLevel=1]="NonTopLevel",e[e.HasLexicalThis=2]="HasLexicalThis"}(r||(r={})),e.transformES2017=function(t){var r,a,o,s,c=t.factory,l=t.getEmitHelperFactory,u=t.resumeLexicalEnvironment,d=t.endLexicalEnvironment,p=t.hoistVariableDeclaration,f=t.getEmitResolver(),m=t.getCompilerOptions(),g=e.getEmitScriptTarget(m),_=0,h=[],y=0,v=t.onEmitNode,b=t.onSubstituteNode;return t.onEmitNode=function(t,n,i){if(1&r&&function(e){var t=e.kind;return 254===t||167===t||166===t||168===t||169===t}(n)){var a=6144&f.getNodeCheckFlags(n);if(a!==_){var o=_;return _=a,v(t,n,i),void(_=o)}}else if(r&&h[e.getNodeId(n)]){o=_;return _=0,v(t,n,i),void(_=o)}v(t,n,i)},t.onSubstituteNode=function(t,r){if(r=b(t,r),1===t&&_)return function(t){switch(t.kind){case 202:return z(t);case 203:return U(t);case 204:return function(t){var r=t.expression;if(e.isSuperProperty(r)){var n=e.isPropertyAccessExpression(r)?z(r):U(r);return c.createCallExpression(c.createPropertyAccessExpression(n,"call"),void 0,i([c.createThis()],t.arguments))}return t}(t)}return t}(r);return r},e.chainBundle(t,(function(r){if(r.isDeclarationFile)return r;k(1,!1),k(2,!e.isEffectiveStrictModeSourceFile(r,m));var n=e.visitEachChild(r,w,t);return e.addEmitHelpers(n,t.readEmitHelpers()),n}));function k(e,t){y=t?y|e:y&~e}function x(e){return!!(y&e)}function E(){return x(2)}function S(e,t,r){var n=e&~y;if(n){k(n,!0);var i=t(r);return k(n,!1),i}return t(r)}function D(r){return e.visitEachChild(r,w,t)}function w(r){if(!(64&r.transformFlags))return r;switch(r.kind){case 130:return;case 215:return function(r){if(!x(1))return e.visitEachChild(r,w,t);return e.setOriginalNode(e.setTextRange(c.createYieldExpression(void 0,e.visitNode(r.expression,w,e.isExpression)),r),r)}(r);case 166:return S(3,C,r);case 253:return S(3,A,r);case 209:return S(3,N,r);case 210:return S(1,P,r);case 202:return o&&e.isPropertyAccessExpression(r)&&106===r.expression.kind&&o.add(r.name.escapedText),e.visitEachChild(r,w,t);case 203:return o&&106===r.expression.kind&&(s=!0),e.visitEachChild(r,w,t);case 168:case 169:case 167:case 254:case 223:return S(3,D,r);default:return e.visitEachChild(r,w,t)}}function T(r){if(e.isNodeWithPossibleHoistedDeclaration(r))switch(r.kind){case 234:return function(r){if(F(r.declarationList)){var n=O(r.declarationList,!1);return n?c.createExpressionStatement(n):void 0}return e.visitEachChild(r,w,t)}(r);case 239:return function(t){var r=t.initializer;return c.updateForStatement(t,F(r)?O(r,!1):e.visitNode(t.initializer,w,e.isForInitializer),e.visitNode(t.condition,w,e.isExpression),e.visitNode(t.incrementor,w,e.isExpression),e.visitNode(t.statement,T,e.isStatement,c.liftToBlock))}(r);case 240:return function(t){return c.updateForInStatement(t,F(t.initializer)?O(t.initializer,!0):e.visitNode(t.initializer,w,e.isForInitializer),e.visitNode(t.expression,w,e.isExpression),e.visitNode(t.statement,T,e.isStatement,c.liftToBlock))}(r);case 241:return function(t){return c.updateForOfStatement(t,e.visitNode(t.awaitModifier,w,e.isToken),F(t.initializer)?O(t.initializer,!0):e.visitNode(t.initializer,w,e.isForInitializer),e.visitNode(t.expression,w,e.isExpression),e.visitNode(t.statement,T,e.isStatement,c.liftToBlock))}(r);case 290:return function(r){var n,i=new e.Set;if(I(r.variableDeclaration,i),i.forEach((function(t,r){a.has(r)&&(n||(n=new e.Set(a)),n.delete(r))})),n){var o=a;a=n;var s=e.visitEachChild(r,T,t);return a=o,s}return e.visitEachChild(r,T,t)}(r);case 232:case 246:case 261:case 287:case 288:case 249:case 237:case 238:case 236:case 245:case 247:return e.visitEachChild(r,T,t);default:return e.Debug.assertNever(r,"Unhandled node.")}return w(r)}function C(r){return c.updateMethodDeclaration(r,void 0,e.visitNodes(r.modifiers,w,e.isModifier),r.asteriskToken,r.name,void 0,void 0,e.visitParameterList(r.parameters,w,t),void 0,2&e.getFunctionFlags(r)?j(r):e.visitFunctionBody(r.body,w,t))}function A(r){return c.updateFunctionDeclaration(r,void 0,e.visitNodes(r.modifiers,w,e.isModifier),r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,w,t),void 0,2&e.getFunctionFlags(r)?j(r):e.visitFunctionBody(r.body,w,t))}function N(r){return c.updateFunctionExpression(r,e.visitNodes(r.modifiers,w,e.isModifier),r.asteriskToken,r.name,void 0,e.visitParameterList(r.parameters,w,t),void 0,2&e.getFunctionFlags(r)?j(r):e.visitFunctionBody(r.body,w,t))}function P(r){return c.updateArrowFunction(r,e.visitNodes(r.modifiers,w,e.isModifier),void 0,e.visitParameterList(r.parameters,w,t),void 0,r.equalsGreaterThanToken,2&e.getFunctionFlags(r)?j(r):e.visitFunctionBody(r.body,w,t))}function I(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)||I(o,r)}}function F(t){return!!t&&e.isVariableDeclarationList(t)&&!(3&t.flags)&&t.declarations.some(L)}function O(t,r){!function(t){e.forEach(t.declarations,R)}(t);var n=e.getInitializedVariables(t);return 0===n.length?r?e.visitNode(c.converters.convertToAssignmentElementTarget(t.declarations[0].name),w,e.isExpression):void 0:c.inlineExpressions(e.map(n,M))}function R(t){var r=t.name;if(e.isIdentifier(r))p(r);else for(var n=0,i=r.elements;n<i.length;n++){var a=i[n];e.isOmittedExpression(a)||R(a)}}function M(t){var r=e.setSourceMapRange(c.createAssignment(c.converters.convertToAssignmentElementTarget(t.name),t.initializer),t);return e.visitNode(r,w,e.isExpression)}function L(t){var r=t.name;if(e.isIdentifier(r))return a.has(r.escapedText);for(var n=0,i=r.elements;n<i.length;n++){var o=i[n];if(!e.isOmittedExpression(o)&&L(o))return!0}return!1}function j(i){u();var p=e.getOriginalNode(i,e.isFunctionLike).type,m=g<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}return}(p):void 0,_=210===i.kind,y=!!(8192&f.getNodeCheckFlags(i)),v=a;a=new e.Set;for(var b=0,k=i.parameters;b<k.length;b++){I(k[b],a)}var x,S=o,D=s;if(_||(o=new e.Set,s=!1),_){var T=l().createAwaiterHelper(E(),y,m,B(i.body)),C=d();if(e.some(C)){O=c.converters.convertToFunctionBlock(T);x=c.updateBlock(O,e.setTextRange(c.createNodeArray(e.concatenate(C,O.statements)),O.statements))}else x=T}else{var A=[],N=c.copyPrologue(i.body.statements,A,!1,w);A.push(c.createReturnStatement(l().createAwaiterHelper(E(),y,m,B(i.body,N)))),e.insertStatementsAfterStandardPrologue(A,d());var P=g>=2&&6144&f.getNodeCheckFlags(i);if(P&&(1&r||(r|=1,t.enableSubstitution(204),t.enableSubstitution(202),t.enableSubstitution(203),t.enableEmitNotification(254),t.enableEmitNotification(166),t.enableEmitNotification(168),t.enableEmitNotification(169),t.enableEmitNotification(167),t.enableEmitNotification(234)),o.size)){var F=n(c,f,i,o);h[e.getNodeId(F)]=!0,e.insertStatementsAfterStandardPrologue(A,[F])}var O=c.createBlock(A,!0);e.setTextRange(O,i.body),P&&s&&(4096&f.getNodeCheckFlags(i)?e.addEmitHelper(O,e.advancedAsyncSuperHelper):2048&f.getNodeCheckFlags(i)&&e.addEmitHelper(O,e.asyncSuperHelper)),x=O}return a=v,_||(o=S,s=D),x}function B(t,r){return e.isBlock(t)?c.updateBlock(t,e.visitNodes(t.statements,T,e.isStatement,r)):c.converters.convertToFunctionBlock(e.visitNode(t,T,e.isConciseBody))}function z(t){return 106===t.expression.kind?e.setTextRange(c.createPropertyAccessExpression(c.createUniqueName("_super",48),t.name),t):t}function U(t){return 106===t.expression.kind?(r=t.argumentExpression,n=t,4096&_?e.setTextRange(c.createPropertyAccessExpression(c.createCallExpression(c.createUniqueName("_superIndex",48),void 0,[r]),"value"),n):e.setTextRange(c.createCallExpression(c.createUniqueName("_superIndex",48),void 0,[r]),n)):t;var r,n}},e.createSuperAccessVariableStatement=n}(d||(d={})),function(e){var t,r;!function(e){e[e.AsyncMethodsWithSuper=1]="AsyncMethodsWithSuper"}(t||(t={})),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"}(r||(r={})),e.transformES2018=function(t){var r=t.factory,n=t.getEmitHelperFactory,a=t.resumeLexicalEnvironment,o=t.endLexicalEnvironment,s=t.hoistVariableDeclaration,c=t.getEmitResolver(),l=t.getCompilerOptions(),u=e.getEmitScriptTarget(l),d=t.onEmitNode;t.onEmitNode=function(t,r,n){if(1&f&&function(e){var t=e.kind;return 254===t||167===t||166===t||168===t||169===t}(r)){var i=6144&c.getNodeCheckFlags(r);if(i!==b){var a=b;return b=i,d(t,r,n),void(b=a)}}else if(f&&x[e.getNodeId(r)]){a=b;return b=0,d(t,r,n),void(b=a)}d(t,r,n)};var p=t.onSubstituteNode;t.onSubstituteNode=function(t,n){if(n=p(t,n),1===t&&b)return function(t){switch(t.kind){case 202:return K(t);case 203:return W(t);case 204:return function(t){var n=t.expression;if(e.isSuperProperty(n)){var a=e.isPropertyAccessExpression(n)?K(n):W(n);return r.createCallExpression(r.createPropertyAccessExpression(a,"call"),void 0,i([r.createThis()],t.arguments))}return t}(t)}return t}(n);return n};var f,m,g,_,h,y,v=!1,b=0,k=0,x=[];return e.chainBundle(t,(function(n){if(n.isDeclarationFile)return n;g=n;var i=function(n){var i=E(2,e.isEffectiveStrictModeSourceFile(n,l)?0:1);v=!1;var a=e.visitEachChild(n,w,t),o=e.concatenate(a.statements,_&&[r.createVariableStatement(void 0,r.createVariableDeclarationList(_))]),s=r.updateSourceFile(a,e.setTextRange(r.createNodeArray(o),n.statements));return S(i),s}(n);return e.addEmitHelpers(i,t.readEmitHelpers()),g=void 0,_=void 0,i}));function E(e,t){var r=k;return k=3&(k&~e|t),r}function S(e){k=e}function D(t){_=e.append(_,r.createVariableDeclaration(t))}function w(e){return P(e,!1)}function T(e){return P(e,!0)}function C(e){if(130!==e.kind)return e}function A(e,t,r,n){if(function(e,t){return k!==(k&~e|t)}(r,n)){var i=E(r,n),a=e(t);return S(i),a}return e(t)}function N(r){return e.visitEachChild(r,w,t)}function P(a,o){if(!(32&a.transformFlags))return a;switch(a.kind){case 215:return function(i){if(2&m&&1&m)return e.setOriginalNode(e.setTextRange(r.createYieldExpression(void 0,n().createAwaitHelper(e.visitNode(i.expression,w,e.isExpression))),i),i);return e.visitEachChild(i,w,t)}(a);case 221:return function(i){if(2&m&&1&m){if(i.asteriskToken){var a=e.visitNode(e.Debug.assertDefined(i.expression),w,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,R(i.expression?e.visitNode(i.expression,w,e.isExpression):r.createVoidZero())),i),i)}return e.visitEachChild(i,w,t)}(a);case 244:return function(n){if(2&m&&1&m)return r.updateReturnStatement(n,R(n.expression?e.visitNode(n.expression,w,e.isExpression):r.createVoidZero()));return e.visitEachChild(n,w,t)}(a);case 247:return function(n){if(2&m){var i=e.unwrapInnermostStatementOfLabel(n);return 241===i.kind&&i.awaitModifier?O(i,n):r.restoreEnclosingLabel(e.visitNode(i,w,e.isStatement,r.liftToBlock),n)}return e.visitEachChild(n,w,t)}(a);case 201:return function(i){if(16384&i.transformFlags){var a=function(t){for(var n,i=[],a=0,o=t;a<o.length;a++){var s=o[a];if(293===s.kind){n&&(i.push(r.createObjectLiteralExpression(n)),n=void 0);var c=s.expression;i.push(e.visitNode(c,w,e.isExpression))}else n=e.append(n,291===s.kind?r.createPropertyAssignment(s.name,e.visitNode(s.initializer,w,e.isExpression)):e.visitNode(s,w,e.isObjectLiteralElementLike))}n&&i.push(r.createObjectLiteralExpression(n));return i}(i.properties);a.length&&201!==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,w,t)}(a);case 218:return function(n,i){if(e.isDestructuringAssignment(n)&&16384&n.left.transformFlags)return e.flattenDestructuringAssignment(n,w,t,1,!i);if(27===n.operatorToken.kind)return r.updateBinaryExpression(n,e.visitNode(n.left,T,e.isExpression),n.operatorToken,e.visitNode(n.right,i?T:w,e.isExpression));return e.visitEachChild(n,w,t)}(a,o);case 340:return function(n,i){if(i)return e.visitEachChild(n,T,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?T:w,e.isExpression);(a||c!==s)&&(a||(a=n.elements.slice(0,o)),a.push(c))}var l=a?e.setTextRange(r.createNodeArray(a),n.elements):n.elements;return r.updateCommaListExpression(n,l)}(a,o);case 290:return function(n){if(n.variableDeclaration&&e.isBindingPattern(n.variableDeclaration.name)&&16384&n.variableDeclaration.name.transformFlags){var a=r.getGeneratedNameForNode(n.variableDeclaration.name),o=r.updateVariableDeclaration(n.variableDeclaration,n.variableDeclaration.name,void 0,void 0,a),s=e.flattenDestructuringBinding(o,w,t,1),c=e.visitNode(n.block,w,e.isBlock);return e.some(s)&&(c=r.updateBlock(c,i([r.createVariableStatement(void 0,s)],c.statements))),r.updateCatchClause(n,r.updateVariableDeclaration(n.variableDeclaration,a,void 0,void 0,void 0),c)}return e.visitEachChild(n,w,t)}(a);case 234:return function(r){if(e.hasSyntacticModifier(r,1)){var n=v;v=!0;var i=e.visitEachChild(r,w,t);return v=n,i}return e.visitEachChild(r,w,t)}(a);case 251:return function(e){if(v){var t=v;v=!1;var r=I(e,!0);return v=t,r}return I(e,!1)}(a);case 237:case 238:case 240:return A(N,a,0,2);case 241:return O(a,void 0);case 239:return A(F,a,0,2);case 214:case 235:return function(r){return e.visitEachChild(r,T,t)}(a);case 167:return A(M,a,2,1);case 166:return A(B,a,2,1);case 168:return A(L,a,2,1);case 169:return A(j,a,2,1);case 253:return A(z,a,2,1);case 209:return A(q,a,2,1);case 210:return A(U,a,2,0);case 161:return function(n){if(16384&n.transformFlags)return r.updateParameterDeclaration(n,void 0,void 0,n.dotDotDotToken,r.getGeneratedNameForNode(n),void 0,void 0,e.visitNode(n.initializer,w,e.isExpression));return e.visitEachChild(n,w,t)}(a);case 208:return function(r,n){return e.visitEachChild(r,n?T:w,t)}(a,o);case 206:return function(r){return e.processTaggedTemplateExpression(t,r,w,g,D,e.ProcessLevel.LiftRestriction)}(a);case 202:return h&&e.isPropertyAccessExpression(a)&&106===a.expression.kind&&h.add(a.name.escapedText),e.visitEachChild(a,w,t);case 203:return h&&106===a.expression.kind&&(y=!0),e.visitEachChild(a,w,t);case 254:case 223:return A(N,a,2,1);default:return e.visitEachChild(a,w,t)}}function I(r,n){return e.isBindingPattern(r.name)&&16384&r.name.transformFlags?e.flattenDestructuringBinding(r,w,t,1,void 0,n):e.visitEachChild(r,w,t)}function F(t){return r.updateForStatement(t,e.visitNode(t.initializer,T,e.isForInitializer),e.visitNode(t.condition,w,e.isExpression),e.visitNode(t.incrementor,T,e.isExpression),e.visitNode(t.statement,w,e.isStatement))}function O(i,a){var o=E(0,2);16384&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(t,i,a){var o=e.visitNode(t.expression,w,e.isExpression),c=e.isIdentifier(o)?r.getGeneratedNameForNode(o):r.createTempVariable(void 0),l=e.isIdentifier(o)?r.getGeneratedNameForNode(c):r.createTempVariable(void 0),u=r.createUniqueName("e"),d=r.getGeneratedNameForNode(u),p=r.createTempVariable(void 0),f=e.setTextRange(n().createAsyncValuesHelper(o),t.expression),m=r.createCallExpression(r.createPropertyAccessExpression(c,"next"),void 0,[]),g=r.createPropertyAccessExpression(l,"done"),_=r.createPropertyAccessExpression(l,"value"),h=r.createFunctionCallCall(p,c,[]);s(u),s(p);var y=2&a?r.inlineExpressions([r.createAssignment(u,r.createVoidZero()),f]):f,v=e.setEmitFlags(e.setTextRange(r.createForStatement(e.setEmitFlags(e.setTextRange(r.createVariableDeclarationList([e.setTextRange(r.createVariableDeclaration(c,void 0,void 0,y),t.expression),r.createVariableDeclaration(l)]),t.expression),2097152),r.createComma(r.createAssignment(l,R(m)),r.createLogicalNot(g)),void 0,function(t,n){var i,a,o=e.createForOfBindingStatement(r,t.initializer,n),s=[e.visitNode(o,w,e.isStatement)],c=e.visitNode(t.statement,w,e.isStatement);e.isBlock(c)?(e.addRange(s,c.statements),i=c,a=c.statements):s.push(c);return e.setEmitFlags(e.setTextRange(r.createBlock(e.setTextRange(r.createNodeArray(s),a),!0),i),432)}(t,_)),t),256);return r.createTryStatement(r.createBlock([r.restoreEnclosingLabel(v,i)]),r.createCatchClause(r.createVariableDeclaration(d),e.setEmitFlags(r.createBlock([r.createExpressionStatement(r.createAssignment(u,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(p,r.createPropertyAccessExpression(c,"return"))),r.createExpressionStatement(R(h))),1)]),void 0,e.setEmitFlags(r.createBlock([e.setEmitFlags(r.createIfStatement(u,r.createThrowStatement(r.createPropertyAccessExpression(u,"error"))),1)]),1))]))}(i,a,o):r.restoreEnclosingLabel(e.visitEachChild(i,w,t),a);return S(o),c}function R(e){return 1&m?r.createYieldExpression(void 0,n().createAwaitHelper(e)):r.createAwaitExpression(e)}function M(n){var i=m;m=0;var a=r.updateConstructorDeclaration(n,void 0,n.modifiers,e.visitParameterList(n.parameters,w,t),V(n));return m=i,a}function L(n){var i=m;m=0;var a=r.updateGetAccessorDeclaration(n,void 0,n.modifiers,e.visitNode(n.name,w,e.isPropertyName),e.visitParameterList(n.parameters,w,t),void 0,V(n));return m=i,a}function j(n){var i=m;m=0;var a=r.updateSetAccessorDeclaration(n,void 0,n.modifiers,e.visitNode(n.name,w,e.isPropertyName),e.visitParameterList(n.parameters,w,t),V(n));return m=i,a}function B(n){var i=m;m=e.getFunctionFlags(n);var a=r.updateMethodDeclaration(n,void 0,1&m?e.visitNodes(n.modifiers,C,e.isModifier):n.modifiers,2&m?void 0:n.asteriskToken,e.visitNode(n.name,w,e.isPropertyName),e.visitNode(void 0,w,e.isToken),void 0,e.visitParameterList(n.parameters,w,t),void 0,2&m&&1&m?J(n):V(n));return m=i,a}function z(n){var i=m;m=e.getFunctionFlags(n);var a=r.updateFunctionDeclaration(n,void 0,1&m?e.visitNodes(n.modifiers,C,e.isModifier):n.modifiers,2&m?void 0:n.asteriskToken,n.name,void 0,e.visitParameterList(n.parameters,w,t),void 0,2&m&&1&m?J(n):V(n));return m=i,a}function U(n){var i=m;m=e.getFunctionFlags(n);var a=r.updateArrowFunction(n,n.modifiers,void 0,e.visitParameterList(n.parameters,w,t),void 0,n.equalsGreaterThanToken,V(n));return m=i,a}function q(n){var i=m;m=e.getFunctionFlags(n);var a=r.updateFunctionExpression(n,1&m?e.visitNodes(n.modifiers,C,e.isModifier):n.modifiers,2&m?void 0:n.asteriskToken,n.name,void 0,e.visitParameterList(n.parameters,w,t),void 0,2&m&&1&m?J(n):V(n));return m=i,a}function J(i){a();var s=[],l=r.copyPrologue(i.body.statements,s,!1,w);H(s,i);var d=h,p=y;h=new e.Set,y=!1;var m=r.createReturnStatement(n().createAsyncGeneratorHelper(r.createFunctionExpression(void 0,r.createToken(41),i.name&&r.getGeneratedNameForNode(i.name),void 0,[],void 0,r.updateBlock(i.body,e.visitLexicalEnvironment(i.body.statements,w,t,l))),!!(1&k))),g=u>=2&&6144&c.getNodeCheckFlags(i);if(g){1&f||(f|=1,t.enableSubstitution(204),t.enableSubstitution(202),t.enableSubstitution(203),t.enableEmitNotification(254),t.enableEmitNotification(166),t.enableEmitNotification(168),t.enableEmitNotification(169),t.enableEmitNotification(167),t.enableEmitNotification(234));var _=e.createSuperAccessVariableStatement(r,c,i,h);x[e.getNodeId(_)]=!0,e.insertStatementsAfterStandardPrologue(s,[_])}s.push(m),e.insertStatementsAfterStandardPrologue(s,o());var v=r.updateBlock(i.body,s);return g&&y&&(4096&c.getNodeCheckFlags(i)?e.addEmitHelper(v,e.advancedAsyncSuperHelper):2048&c.getNodeCheckFlags(i)&&e.addEmitHelper(v,e.asyncSuperHelper)),h=d,y=p,v}function V(t){var n;a();var i=0,s=[],c=null!==(n=e.visitNode(t.body,w,e.isConciseBody))&&void 0!==n?n:r.createBlock([]);e.isBlock(c)&&(i=r.copyPrologue(c.statements,s,!1,w)),e.addRange(s,H(void 0,t));var l=o();if(i>0||e.some(s)||e.some(l)){var u=r.converters.convertToFunctionBlock(c,!0);return e.insertStatementsAfterStandardPrologue(s,l),e.addRange(s,u.statements.slice(i)),r.updateBlock(u,e.setTextRange(r.createNodeArray(s),u.statements))}return c}function H(n,i){for(var a=0,o=i.parameters;a<o.length;a++){var s=o[a];if(16384&s.transformFlags){var c=r.getGeneratedNameForNode(s),l=e.flattenDestructuringBinding(s,w,t,1,c,!1,!0);if(e.some(l)){var u=r.createVariableStatement(void 0,r.createVariableDeclarationList(l));e.setEmitFlags(u,1048576),n=e.append(n,u)}}}return n}function K(t){return 106===t.expression.kind?e.setTextRange(r.createPropertyAccessExpression(r.createUniqueName("_super",48),t.name),t):t}function W(t){return 106===t.expression.kind?(n=t.argumentExpression,i=t,4096&b?e.setTextRange(r.createPropertyAccessExpression(r.createCallExpression(r.createIdentifier("_superIndex"),void 0,[n]),"value"),i):e.setTextRange(r.createCallExpression(r.createIdentifier("_superIndex"),void 0,[n]),i)):t;var n,i}}}(d||(d={})),function(e){e.transformES2019=function(t){var r=t.factory;return e.chainBundle(t,(function(r){if(r.isDeclarationFile)return r;return e.visitEachChild(r,n,t)}));function n(i){return 16&i.transformFlags?290===i.kind?function(i){if(!i.variableDeclaration)return r.updateCatchClause(i,r.createVariableDeclaration(r.createTempVariable(void 0)),e.visitNode(i.block,n,e.isBlock));return e.visitEachChild(i,n,t)}(i):e.visitEachChild(i,n,t):i}}}(d||(d={})),function(e){e.transformES2020=function(t){var r=t.factory,n=t.hoistVariableDeclaration;return e.chainBundle(t,(function(r){if(r.isDeclarationFile)return r;return e.visitEachChild(r,i,t)}));function i(c){if(!(8&c.transformFlags))return c;switch(c.kind){case 202:case 203:case 204:if(32&c.flags){var l=o(c,!1,!1);return e.Debug.assertNotNode(l,e.isSyntheticReference),l}return e.visitEachChild(c,i,t);case 218:return 60===c.operatorToken.kind?function(t){var a=e.visitNode(t.left,i,e.isExpression),o=a;e.isSimpleCopiableExpression(a)||(o=r.createTempVariable(n),a=r.createAssignment(o,a));return e.setTextRange(r.createConditionalExpression(s(a,o),void 0,o,void 0,e.visitNode(t.right,i,e.isExpression)),t)}(c):e.visitEachChild(c,i,t);case 212:return function(t){return e.isOptionalChain(e.skipParentheses(t.expression))?e.setOriginalNode(a(t.expression,!1,!0),t):r.updateDeleteExpression(t,e.visitNode(t.expression,i,e.isExpression))}(c);default:return e.visitEachChild(c,i,t)}}function a(s,c,l){switch(s.kind){case 208:return function(t,n,i){var o=a(t.expression,n,i);return e.isSyntheticReference(o)?r.createSyntheticReferenceExpression(r.updateParenthesizedExpression(t,o.expression),o.thisArg):r.updateParenthesizedExpression(t,o)}(s,c,l);case 202:case 203:return function(t,a,s){if(e.isOptionalChain(t))return o(t,a,s);var c,l=e.visitNode(t.expression,i,e.isExpression);return e.Debug.assertNotNode(l,e.isSyntheticReference),a&&(e.isSimpleCopiableExpression(l)?c=l:(c=r.createTempVariable(n),l=r.createAssignment(c,l))),l=202===t.kind?r.updatePropertyAccessExpression(t,l,e.visitNode(t.name,i,e.isIdentifier)):r.updateElementAccessExpression(t,l,e.visitNode(t.argumentExpression,i,e.isExpression)),c?r.createSyntheticReferenceExpression(l,c):l}(s,c,l);case 204:return function(r,n){return e.isOptionalChain(r)?o(r,n,!1):e.visitEachChild(r,i,t)}(s,c);default:return e.visitNode(s,i,e.isExpression)}}function o(t,o,c){var l=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),u=l.expression,d=l.chain,p=a(u,e.isCallChain(d[0]),!1),f=e.isSyntheticReference(p)?p.thisArg:void 0,m=e.isSyntheticReference(p)?p.expression:p,g=m;e.isSimpleCopiableExpression(m)||(g=r.createTempVariable(n),m=r.createAssignment(g,m));for(var _,h=g,y=0;y<d.length;y++){var v=d[y];switch(v.kind){case 202:case 203:y===d.length-1&&o&&(e.isSimpleCopiableExpression(h)?_=h:(_=r.createTempVariable(n),h=r.createAssignment(_,h))),h=202===v.kind?r.createPropertyAccessExpression(h,e.visitNode(v.name,i,e.isIdentifier)):r.createElementAccessExpression(h,e.visitNode(v.argumentExpression,i,e.isExpression));break;case 204:h=0===y&&f?r.createFunctionCallCall(h,106===f.kind?r.createThis():f,e.visitNodes(v.arguments,i,e.isExpression)):r.createCallExpression(h,void 0,e.visitNodes(v.arguments,i,e.isExpression))}e.setOriginalNode(h,v)}var b=c?r.createConditionalExpression(s(m,g,!0),void 0,r.createTrue(),void 0,r.createDeleteExpression(h)):r.createConditionalExpression(s(m,g,!0),void 0,r.createVoidZero(),void 0,h);return e.setTextRange(b,t),_?r.createSyntheticReferenceExpression(b,_):b}function s(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()))}}}(d||(d={})),function(e){e.transformESNext=function(t){var r=t.hoistVariableDeclaration,n=t.factory;return e.chainBundle(t,(function(r){if(r.isDeclarationFile)return r;return e.visitEachChild(r,i,t)}));function i(a){if(!(4&a.transformFlags))return a;if(218===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,l=e.skipParentheses(e.visitNode(t.right,i,e.isExpression));if(e.isAccessExpression(s)){var u=e.isSimpleCopiableExpression(s.expression),d=u?s.expression:n.createTempVariable(r),p=u?s.expression:n.createAssignment(d,s.expression);if(e.isPropertyAccessExpression(s))c=n.createPropertyAccessExpression(d,s.name),s=n.createPropertyAccessExpression(p,s.name);else{var f=e.isSimpleCopiableExpression(s.argumentExpression),m=f?s.argumentExpression:n.createTempVariable(r);c=n.createElementAccessExpression(d,m),s=n.createElementAccessExpression(p,f?s.argumentExpression:n.createAssignment(m,s.argumentExpression))}}return n.createBinaryExpression(s,o,n.createParenthesizedExpression(n.createAssignment(c,l)))}(o)}return e.visitEachChild(a,i,t)}}}(d||(d={})),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,d,r);e.addEmitHelpers(o,r.readEmitHelpers());var c=o.statements;i.filenameDeclaration&&(c=e.insertStatementAfterCustomPrologue(c.slice(),a.createVariableStatement(void 0,a.createVariableDeclarationList([i.filenameDeclaration],2))));if(i.utilizedImplicitRuntimeImports)for(var l=0,u=e.arrayFrom(i.utilizedImplicitRuntimeImports.entries());l<u.length;l++){var p=u[l],f=p[0],m=p[1];if(e.isExternalModule(t)){var g=a.createImportDeclaration(void 0,void 0,a.createImportClause(!1,void 0,a.createNamedImports(e.arrayFrom(m.values()))),a.createStringLiteral(f));e.setParentRecursive(g,!1),c=e.insertStatementAfterCustomPrologue(c.slice(),g)}else if(e.isExternalOrCommonJsModule(t)){var _=a.createVariableStatement(void 0,a.createVariableDeclarationList([a.createVariableDeclaration(a.createObjectBindingPattern(e.map(e.arrayFrom(m.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(_,!1),c=e.insertStatementAfterCustomPrologue(c.slice(),_)}}c!==o.statements&&(o=a.updateSourceFile(o,c));return 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 l(e){var t=function(e){return 5===s.jsx?"jsxDEV":e>1?"jsxs":"jsx"}(e);return u(t)}function u(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=e.createMap());var l=i.utilizedImplicitRuntimeImports.get(o);l||(l=e.createMap(),i.utilizedImplicitRuntimeImports.set(o,l));var u=a.createUniqueName("_"+t,112),d=a.createImportSpecifier(a.createIdentifier(t),u);return u.generatedImportReference=d,l.set(t,d),u}function d(t){return 2&t.transformFlags?function(t){switch(t.kind){case 276:return m(t,!1);case 277:return g(t,!1);case 280:return _(t,!1);case 286:return A(t);default:return e.visitEachChild(t,d,r)}}(t):t}function p(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=w(r,t.substr(n,i-n+1))),n=-1):e.isWhiteSpaceSingleLine(o)||(i=a,-1===n&&(n=a))}return-1!==n?w(r,t.substr(n)):r}(t.text);return void 0===r?void 0:a.createStringLiteral(r)}(t);case 286:return A(t);case 276:return m(t,!0);case 277:return g(t,!0);case 280:return _(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 m(e,t){return(f(e.openingElement)?b:y)(e.openingElement,e.children,t,e)}function g(e,t){return(f(e)?b:y)(e,void 0,t,e)}function _(e,t){return(void 0===i.importSpecifier?x:k)(e.openingFragment,e.children,t,e)}function h(t){var r=e.getSemanticJsxChildren(t);if(1===e.length(r)){var n=p(r[0]);return n&&a.createObjectLiteralExpression([a.createPropertyAssignment("children",n)])}var i=e.mapDefined(t,p);return i.length?a.createObjectLiteralExpression([a.createPropertyAssignment("children",a.createArrayLiteralExpression(i))]):void 0}function y(t,r,n,i){var s=C(t),c=e.find(t.attributes.properties,(function(t){return!!t.name&&e.isIdentifier(t.name)&&"key"===t.name.escapedText})),l=c?e.filter(t.attributes.properties,(function(e){return e!==c})):t.attributes.properties,u=[];if(l.length&&(u=e.flatten(e.spanMap(l,e.isJsxSpreadAttribute,(function(t,r){return r?e.map(t,E):a.createObjectLiteralExpression(e.map(t,S))}))),e.isJsxSpreadAttribute(l[0])&&u.unshift(a.createObjectLiteralExpression())),r&&r.length){var d=h(r);d&&u.push(d)}return v(s,0===u.length?a.createObjectLiteralExpression([]):e.singleOrUndefined(u)||o().createAssignHelper(u),c,e.length(e.getSemanticJsxChildren(r||e.emptyArray)),n,i)}function v(t,r,i,o,u,d){var p=[t,r,i?D(i.initializer):a.createVoidZero()];if(5===s.jsx){var f=e.getOriginalNode(n);if(f&&e.isSourceFile(f)){p.push(o>1?a.createTrue():a.createFalse());var m=e.getLineAndCharacterOfPosition(f,d.pos);p.push(a.createObjectLiteralExpression([a.createPropertyAssignment("fileName",c()),a.createPropertyAssignment("lineNumber",a.createNumericLiteral(m.line+1)),a.createPropertyAssignment("columnNumber",a.createNumericLiteral(m.character+1))])),p.push(a.createThis())}}var g=e.setTextRange(a.createCallExpression(l(o),void 0,p),d);return u&&e.startOnNewLine(g),g}function b(t,c,l,d){var f,m=C(t),g=t.attributes.properties;if(0===g.length)f=a.createNull();else{var _=e.flatten(e.spanMap(g,e.isJsxSpreadAttribute,(function(t,r){return r?e.map(t,E):a.createObjectLiteralExpression(e.map(t,S))})));e.isJsxSpreadAttribute(g[0])&&_.unshift(a.createObjectLiteralExpression()),(f=e.singleOrUndefined(_))||(f=o().createAssignHelper(_))}var h=void 0===i.importSpecifier?e.createJsxFactoryExpression(a,r.getEmitResolver().getJsxFactoryEntity(n),s.reactNamespace,t):u("createElement"),y=e.createExpressionForJsxElement(a,h,m,f,e.mapDefined(c,p),d);return l&&e.startOnNewLine(y),y}function k(t,r,n,i){var o;if(r&&r.length){var s=h(r);s&&(o=s)}return v(u("Fragment"),o||a.createObjectLiteralExpression([]),void 0,e.length(e.getSemanticJsxChildren(r)),n,i)}function x(t,i,o,c){var l=e.createExpressionForJsxFragment(a,r.getEmitResolver().getJsxFactoryEntity(n),r.getEmitResolver().getJsxFragmentFactoryEntity(n),s.reactNamespace,e.mapDefined(i,p),t,c);return o&&e.startOnNewLine(l),l}function E(t){return e.visitNode(t.expression,d,e.isExpression)}function S(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=D(t.initializer);return a.createPropertyAssignment(r,n)}function D(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((o=t.text,((s=T(o))===o?void 0:s)||t.text),r);return e.setTextRange(i,t)}return 286===t.kind?void 0===t.expression?a.createTrue():e.visitNode(t.expression,d,e.isExpression):e.Debug.failBadSyntaxKind(t);var o,s}function w(e,t){var r=T(t);return void 0===e?r:e+" "+r}function T(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 l=t.get(c);return l?e.utf16EncodeAsString(l):r}))}function C(t){if(276===t.kind)return C(t.openingElement);var r=t.tagName;return e.isIdentifier(r)&&e.isIntrinsicJsxName(r.escapedText)?a.createStringLiteral(e.idText(r)):e.createExpressionFromEntityName(a,r)}function A(t){return e.visitNode(t.expression,d,e.isExpression)}};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}))}(d||(d={})),function(e){e.transformES2016=function(t){var r=t.factory,n=t.hoistVariableDeclaration;return e.chainBundle(t,(function(r){if(r.isDeclarationFile)return r;return e.visitEachChild(r,i,t)}));function i(a){return 128&a.transformFlags?218===a.kind?function(a){switch(a.operatorToken.kind){case 66: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 l=r.createTempVariable(n),u=r.createTempVariable(n);a=e.setTextRange(r.createElementAccessExpression(e.setTextRange(r.createAssignment(l,s.expression),s.expression),e.setTextRange(r.createAssignment(u,s.argumentExpression),s.argumentExpression)),s),o=e.setTextRange(r.createElementAccessExpression(l,u),s)}else if(e.isPropertyAccessExpression(s)){l=r.createTempVariable(n);a=e.setTextRange(r.createPropertyAccessExpression(e.setTextRange(r.createAssignment(l,s.expression),s.expression),s.name),s),o=e.setTextRange(r.createPropertyAccessExpression(l,s.name),s)}else 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):a}}}(d||(d={})),function(e){var t,r,n,a,o;!function(e){e[e.CapturedThis=1]="CapturedThis",e[e.BlockScopedBindings=2]="BlockScopedBindings"}(t||(t={})),function(e){e[e.Body=1]="Body",e[e.Initializer=2]="Initializer"}(r||(r={})),function(e){e[e.ToOriginal=0]="ToOriginal",e[e.ToOutParameter=1]="ToOutParameter"}(n||(n={})),function(e){e[e.Break=2]="Break",e[e.Continue=4]="Continue",e[e.Return=8]="Return"}(a||(a={})),function(e){e[e.None=0]="None",e[e.Function=1]="Function",e[e.ArrowFunction=2]="ArrowFunction",e[e.AsyncFunctionBody=4]="AsyncFunctionBody",e[e.NonStaticClassElement=8]="NonStaticClassElement",e[e.CapturesThis=16]="CapturesThis",e[e.ExportedVariableStatement=32]="ExportedVariableStatement",e[e.TopLevel=64]="TopLevel",e[e.Block=128]="Block",e[e.IterationStatement=256]="IterationStatement",e[e.IterationStatementBlock=512]="IterationStatementBlock",e[e.IterationContainer=1024]="IterationContainer",e[e.ForStatement=2048]="ForStatement",e[e.ForInOrForOfStatement=4096]="ForInOrForOfStatement",e[e.ConstructorWithCapturedSuper=8192]="ConstructorWithCapturedSuper",e[e.AncestorFactsMask=16383]="AncestorFactsMask",e[e.BlockScopeIncludes=0]="BlockScopeIncludes",e[e.BlockScopeExcludes=7104]="BlockScopeExcludes",e[e.SourceFileIncludes=64]="SourceFileIncludes",e[e.SourceFileExcludes=8064]="SourceFileExcludes",e[e.FunctionIncludes=65]="FunctionIncludes",e[e.FunctionExcludes=16286]="FunctionExcludes",e[e.AsyncFunctionBodyIncludes=69]="AsyncFunctionBodyIncludes",e[e.AsyncFunctionBodyExcludes=16278]="AsyncFunctionBodyExcludes",e[e.ArrowFunctionIncludes=66]="ArrowFunctionIncludes",e[e.ArrowFunctionExcludes=15232]="ArrowFunctionExcludes",e[e.ConstructorIncludes=73]="ConstructorIncludes",e[e.ConstructorExcludes=16278]="ConstructorExcludes",e[e.DoOrWhileStatementIncludes=1280]="DoOrWhileStatementIncludes",e[e.DoOrWhileStatementExcludes=0]="DoOrWhileStatementExcludes",e[e.ForStatementIncludes=3328]="ForStatementIncludes",e[e.ForStatementExcludes=5056]="ForStatementExcludes",e[e.ForInOrForOfStatementIncludes=5376]="ForInOrForOfStatementIncludes",e[e.ForInOrForOfStatementExcludes=3008]="ForInOrForOfStatementExcludes",e[e.BlockIncludes=128]="BlockIncludes",e[e.BlockExcludes=6976]="BlockExcludes",e[e.IterationStatementBlockIncludes=512]="IterationStatementBlockIncludes",e[e.IterationStatementBlockExcludes=7104]="IterationStatementBlockExcludes",e[e.NewTarget=16384]="NewTarget",e[e.CapturedLexicalThis=32768]="CapturedLexicalThis",e[e.SubtreeFactsMask=-16384]="SubtreeFactsMask",e[e.ArrowFunctionSubtreeExcludes=0]="ArrowFunctionSubtreeExcludes",e[e.FunctionSubtreeExcludes=49152]="FunctionSubtreeExcludes"}(o||(o={})),e.transformES2015=function(t){var r,n,a,o,s,c,l=t.factory,u=t.getEmitHelperFactory,d=t.startLexicalEnvironment,p=t.resumeLexicalEnvironment,f=t.endLexicalEnvironment,m=t.hoistVariableDeclaration,g=t.getCompilerOptions(),_=t.getEmitResolver(),h=t.onSubstituteNode,y=t.onEmitNode;function v(t){o=e.append(o,l.createVariableDeclaration(t))}return t.onEmitNode=function(t,r,n){if(1&c&&e.isFunctionLike(r)){var i=b(16286,8&e.getEmitFlags(r)?81:65);return y(t,r,n),void k(i,0,0)}y(t,r,n)},t.onSubstituteNode=function(t,r){if(r=h(t,r),1===t)return function(t){switch(t.kind){case 78:return function(t){if(2&c&&!e.isInternalName(t)){var r=_.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;var i=e.getEnclosingBlockScopeContainer(t);for(;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){if(1&c&&16&a)return e.setTextRange(l.createUniqueName("_this",48),t);return t}(t)}return t}(r);if(e.isIdentifier(r))return function(t){if(2&c&&!e.isInternalName(t)){var r=e.getParseTreeNode(t,e.isIdentifier);if(r&&function(e){switch(e.parent.kind){case 199:case 254:case 258:case 251:return e.parent.name===e&&_.isDeclarationWithCollidingName(e.parent)}return!1}(r))return e.setTextRange(l.getGeneratedNameForNode(r),t)}return t}(r);return r},e.chainBundle(t,(function(i){if(i.isDeclarationFile)return i;r=i,n=i.text;var s=function(t){var r=b(8064,64),n=[],i=[];d();var a=l.copyPrologue(t.statements,n,!1,S);e.addRange(i,e.visitNodes(t.statements,S,e.isStatement,a)),o&&i.push(l.createVariableStatement(void 0,l.createVariableDeclarationList(o)));return l.mergeLexicalEnvironment(n,f()),B(n,t),k(r,0,0),l.updateSourceFile(t,e.setTextRange(l.createNodeArray(e.concatenate(n,i)),t.statements))}(i);return e.addEmitHelpers(s,t.readEmitHelpers()),r=void 0,n=void 0,o=void 0,a=0,s}));function b(e,t){var r=a;return a=16383&(a&~e|t),r}function k(e,t,r){a=-16384&(a&~t|r)|e}function x(e){return!!(8192&a)&&244===e.kind&&!e.expression}function E(t){return!!(256&t.transformFlags)||void 0!==s||8192&a&&function(t){return 1048576&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)&&de(t)||!!(33554432&e.getEmitFlags(t))}function S(e){return E(e)?T(e,!1):e}function D(e){return E(e)?T(e,!0):e}function w(e){return 106===e.kind?Ne(!0):S(e)}function T(n,o){switch(n.kind){case 124:return;case 254:return function(t){var r=l.createVariableDeclaration(l.getLocalName(t,!0),void 0,void 0,N(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);4194304&o||(n.push(l.createEndOfDeclarationMarker(t)),e.setEmitFlags(i,4194304|o));return e.singleOrMany(n)}(n);case 223:return function(e){return N(e)}(n);case 161:return function(t){return t.dotDotDotToken?void 0: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 253:return function(r){var n=s;s=void 0;var i=b(16286,65),o=e.visitParameterList(r.parameters,S,t),c=W(r),u=16384&a?l.getLocalName(r):r.name;return k(i,49152,0),s=n,l.updateFunctionDeclaration(r,void 0,e.visitNodes(r.modifiers,S,e.isModifier),r.asteriskToken,u,void 0,o,void 0,c)}(n);case 210:return function(r){4096&r.transformFlags&&(a|=32768);var n=s;s=void 0;var i=b(15232,66),o=l.createFunctionExpression(void 0,void 0,void 0,void 0,e.visitParameterList(r.parameters,S,t),void 0,W(r));e.setTextRange(o,r),e.setOriginalNode(o,r),e.setEmitFlags(o,8),32768&a&&Ie();return k(i,0,0),s=n,o}(n);case 209:return function(r){var n=262144&e.getEmitFlags(r)?b(16278,69):b(16286,65),i=s;s=void 0;var o=e.visitParameterList(r.parameters,S,t),c=W(r),u=16384&a?l.getLocalName(r):r.name;return k(n,49152,0),s=i,l.updateFunctionExpression(r,void 0,r.asteriskToken,u,void 0,o,void 0,c)}(n);case 251:return Y(n);case 78:return A(n);case 252:return function(r){if(3&r.flags||131072&r.transformFlags){3&r.flags&&Pe();var n=e.flatMap(r.declarations,1&r.flags?$:Y),i=l.createVariableDeclarationList(n);return e.setOriginalNode(i,r),e.setTextRange(i,r),e.setCommentRange(i,r),131072&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,S,t)}(n);case 246:return function(r){if(void 0!==s){var n=s.allowedNonLabeledJumps;s.allowedNonLabeledJumps|=2;var i=e.visitEachChild(r,S,t);return s.allowedNonLabeledJumps=n,i}return e.visitEachChild(r,S,t)}(n);case 261:return function(r){var n=b(7104,0),i=e.visitEachChild(r,S,t);return k(n,0,0),i}(n);case 232:return function(r,n){if(n)return e.visitEachChild(r,S,t);var i=256&a?b(7104,512):b(6976,128),o=e.visitEachChild(r,S,t);return k(i,0,0),o}(n,!1);case 243:case 242:return function(r){if(s){var n=243===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?243===r.kind?(i="break-"+a.escapedText,ye(s,!0,e.idText(a),i)):(i="continue-"+a.escapedText,ye(s,!1,e.idText(a),i)):243===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,d=0;d<c.length;d++){var p=_e(c[d],1);u=0===d?p:l.createBinaryExpression(u,27,p)}o=l.createBinaryExpression(u,27,o)}return l.createReturnStatement(o)}}return e.visitEachChild(r,S,t)}(n);case 247:return function(t){s&&!s.labels&&(s.labels=new e.Map);var r=e.unwrapInnermostStatementOfLabel(t,s&&X);return e.isIterationStatement(r,!1)?function(e,t){switch(e.kind){case 237:case 238:return ee(e,t);case 239:return te(e,t);case 240:return re(e,t);case 241:return ne(e,t)}}(r,t):l.restoreEnclosingLabel(e.visitNode(r,S,e.isStatement,l.liftToBlock),t,s&&Q)}(n);case 237:case 238:return ee(n,void 0);case 239:return te(n,void 0);case 240:return re(n,void 0);case 241:return ne(n,void 0);case 235:case 214:return function(r){return e.visitEachChild(r,D,t)}(n);case 201:return function(r){for(var n=r.properties,i=-1,o=!1,s=0;s<n.length;s++){var c=n[s];if(262144&c.transformFlags&&4&a||(o=159===e.Debug.checkDefined(c.name).kind)){i=s;break}}if(i<0)return e.visitEachChild(r,S,t);var u=l.createTempVariable(m),d=[],p=l.createAssignment(u,e.setEmitFlags(l.createObjectLiteralExpression(e.visitNodes(n,S,e.isObjectLiteralElementLike,0,i),r.multiLine),o?65536:0));r.multiLine&&e.startOnNewLine(p);return d.push(p),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 168:case 169:var l=e.getAllAccessorDeclarations(r.properties,c);c===l.firstAccessor&&t.push(H(n,l,r,!!r.multiLine));break;case 166:t.push(Ee(c,n,r,r.multiLine));break;case 291:t.push(ke(c,n,r.multiLine));break;case 292:t.push(xe(c,n,r.multiLine));break;default:e.Debug.failBadSyntaxKind(r)}}}(d,r,u,i),d.push(r.multiLine?e.startOnNewLine(e.setParent(e.setTextRange(l.cloneNode(u),u),u.parent)):u),l.inlineExpressions(d)}(n);case 290:return function(r){var n,a=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,S,t,0,o),u=l.createVariableDeclarationList(c);e.setTextRange(u,r.variableDeclaration);var d=l.createVariableStatement(void 0,u);n=l.updateCatchClause(r,s,(p=r.block,f=d,m=e.visitNodes(p.statements,S,e.isStatement),l.updateBlock(p,i([f],m))))}else n=e.visitEachChild(r,S,t);var p,f,m;return k(a,0,0),n}(n);case 292:return function(t){return e.setTextRange(l.createPropertyAssignment(t.name,A(l.cloneNode(t.name))),t)}(n);case 159:case 221:return function(r){return e.visitEachChild(r,S,t)}(n);case 200:return function(r){if(e.some(r.elements,e.isSpreadElement))return De(r.elements,!0,!!r.multiLine,!!r.elements.hasTrailingComma);return e.visitEachChild(r,S,t)}(n);case 204: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,S,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],d=e.skipOuterExpressions(u.initializer),p=e.tryCast(d,e.isAssignmentExpression),f=e.cast(p?e.skipOuterExpressions(p.right):d,e.isCallExpression),m=e.cast(e.skipOuterExpressions(f.expression),e.isFunctionExpression),g=m.body.statements,_=0,h=-1,y=[];if(p){var v=e.tryCast(g[_],e.isExpressionStatement);v&&(y.push(v),_++),y.push(g[_]),_++,y.push(l.createExpressionStatement(l.createAssignment(p.left,e.cast(u.name,e.isIdentifier))))}for(;!e.isReturnStatement(e.elementAt(g,h));)h--;e.addRange(y,g,_,h),h<-1&&e.addRange(y,g,h+1);return e.addRange(y,c),e.addRange(y,o,1),l.restoreOuterExpressions(t.expression,l.restoreOuterExpressions(u.initializer,l.restoreOuterExpressions(p&&p.right,l.updateCallExpression(f,l.restoreOuterExpressions(f.expression,l.updateFunctionExpression(m,void 0,void 0,void 0,void 0,m.parameters,void 0,l.updateBlock(m.body,y))),void 0,f.arguments))))}(t);var r=e.skipOuterExpressions(t.expression);if(106===r.kind||e.isSuperProperty(r)||e.some(t.arguments,e.isSpreadElement))return Se(t,!0);return l.updateCallExpression(t,e.visitNode(t.expression,w,e.isExpression),void 0,e.visitNodes(t.arguments,S,e.isExpression))}(n);case 205:return function(r){if(e.some(r.arguments,e.isSpreadElement)){var n=l.createCallBinding(l.createPropertyAccessExpression(r.expression,"bind"),m),a=n.target,o=n.thisArg;return l.createNewExpression(l.createFunctionApplyCall(e.visitNode(a,S,e.isExpression),o,De(l.createNodeArray(i([l.createVoidZero()],r.arguments)),!1,!1,!1)),void 0,[])}return e.visitEachChild(r,S,t)}(n);case 208:return function(r,n){return e.visitEachChild(r,n?D:S,t)}(n,o);case 218:return G(n,o);case 340:return function(r,n){if(n)return e.visitEachChild(r,D,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?D:S,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){if(t.hasExtendedUnicodeEscape)return e.setTextRange(l.createStringLiteral(t.text),t);return t}(n);case 8:return function(t){if(384&t.numericLiteralFlags)return e.setTextRange(l.createNumericLiteral(t.text),t);return t}(n);case 206:return function(n){return e.processTaggedTemplateExpression(t,n,S,r,v,e.ProcessLevel.All)}(n);case 220:return function(t){var r=[];(function(t,r){if(!function(t){return e.Debug.assert(0!==t.templateSpans.length),0!==t.head.text.length||0===t.templateSpans[0].literal.text.length}(r))return;t.push(l.createStringLiteral(r.head.text))})(r,t),function(t,r){for(var n=0,i=r.templateSpans;n<i.length;n++){var a=i[n];t.push(e.visitNode(a.expression,S,e.isExpression)),0!==a.literal.text.length&&t.push(l.createStringLiteral(a.literal.text))}}(r,t);var n=e.reduceLeft(r,l.createAdd);e.nodeIsSynthesized(n)&&e.setTextRange(n,t);return n}(n);case 222:return function(t){return e.visitNode(t.expression,S,e.isExpression)}(n);case 106:return Ne(!1);case 108:return function(e){2&a&&(a|=32768);if(s)return 2&a?(s.containsLexicalThis=!0,e):s.thisName||(s.thisName=l.createUniqueName("this"));return e}(n);case 228:return function(e){if(103===e.keywordToken&&"target"===e.name.escapedText)return a|=16384,l.createUniqueName("_newTarget",48);return e}(n);case 166:return function(t){e.Debug.assert(!e.isComputedPropertyName(t.name));var r=K(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 168:case 169:return function(r){e.Debug.assert(!e.isComputedPropertyName(r.name));var n=s;s=void 0;var i,a=b(16286,65),o=e.visitParameterList(r.parameters,S,t),c=W(r);i=168===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);return k(a,49152,0),s=n,i}(n);case 234:return function(r){var n,i=b(0,e.hasSyntacticModifier(r,1)?32:0);if(!s||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))n=e.visitEachChild(r,S,t);else{for(var a=void 0,o=0,c=r.declarationList.declarations;o<c.length;o++){var u=c[o];if(fe(s,u),u.initializer){var d=void 0;e.isBindingPattern(u.name)?d=e.flattenDestructuringAssignment(u,S,t,0):(d=l.createBinaryExpression(u.name,62,e.visitNode(u.initializer,S,e.isExpression)),e.setTextRange(d,u)),a=e.append(a,d)}}n=a?e.setTextRange(l.createExpressionStatement(l.inlineExpressions(a)),r):void 0}return k(i,0,0),n}(n);case 244:return function(r){if(s)return s.nonLocalJumps|=8,x(r)&&(r=C(r)),l.createReturnStatement(l.createObjectLiteralExpression([l.createPropertyAssignment(l.createIdentifier("value"),r.expression?e.visitNode(r.expression,S,e.isExpression):l.createVoidZero())]));if(x(r))return C(r);return e.visitEachChild(r,S,t)}(n);default:return e.visitEachChild(n,S,t)}}function C(t){return e.setOriginalNode(l.createReturnStatement(l.createUniqueName("_this",48)),t)}function A(e){return s&&_.isArgumentsLocalBinding(e)?s.argumentsName||(s.argumentsName=l.createUniqueName("arguments")):e}function N(i){i.name&&Pe();var o=e.getClassExtendsHeritageElement(i),c=l.createFunctionExpression(void 0,void 0,void 0,void 0,o?[l.createParameterDeclaration(void 0,void 0,void 0,l.createUniqueName("_super",48))]:[],void 0,function(i,o){var c=[],m=l.getInternalName(i),g=e.isIdentifierANonContextualKeyword(m)?l.getGeneratedNameForNode(m):m;d(),function(t,r,n){n&&t.push(e.setTextRange(l.createExpressionStatement(u().createExtendsHelper(l.getInternalName(r))),n))}(c,i,o),function(r,n,i,o){var c=s;s=void 0;var u=b(16278,73),d=e.getFirstConstructorWithBody(n),m=function(t,r){if(!t||!r)return!1;if(e.some(t.parameters))return!1;var n=e.firstOrUndefined(t.body.statements);if(!n||!e.nodeIsSynthesized(n)||235!==n.kind)return!1;var i=n.expression;if(!e.nodeIsSynthesized(i)||204!==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)||222!==o.kind)return!1;var s=o.expression;return e.isIdentifier(s)&&"arguments"===s.escapedText}(d,void 0!==o),g=l.createFunctionDeclaration(void 0,void 0,void 0,i,void 0,function(r,n){return e.visitParameterList(r&&!n?r.parameters:void 0,S,t)||[]}(d,m),void 0,function(t,r,n,i){var o=!!n&&104!==e.skipOuterExpressions(n.expression).kind;if(!t)return function(t,r){var n=[];p(),l.mergeLexicalEnvironment(n,f()),r&&n.push(l.createReturnStatement(F()));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,o);var s=[],c=[];p();var u,d=0;i||(d=l.copyStandardPrologue(t.body.statements,s,!1));R(c,t),j(c,t,i),i||(d=l.copyCustomPrologue(t.body.statements,c,d,S));if(i)u=F();else if(o&&d<t.body.statements.length){var m=t.body.statements[d];e.isExpressionStatement(m)&&e.isSuperCall(m.expression)&&(u=function(e){return Se(e,!1)}(m.expression))}u&&(a|=8192,d++);if(e.addRange(c,e.visitNodes(t.body.statements,S,e.isStatement,d)),l.mergeLexicalEnvironment(s,f()),U(s,t,!1),o)if(!u||d!==t.body.statements.length||4096&t.body.transformFlags)z(c,t,u||I()),P(t.body)||c.push(l.createReturnStatement(l.createUniqueName("_this",48)));else{var g=e.cast(e.cast(u,e.isBinaryExpression).left,e.isCallExpression),_=l.createReturnStatement(u);e.setCommentRange(_,e.getCommentRange(g)),e.setEmitFlags(g,1536),c.push(_)}else B(s,t);var h=l.createBlock(e.setTextRange(l.createNodeArray(e.concatenate(s,c)),t.body.statements),!0);return e.setTextRange(h,t.body),h}(d,n,o,m));e.setTextRange(g,d||n),o&&e.setEmitFlags(g,8);r.push(g),k(u,49152,0),s=c}(c,i,g,o),function(t,n){for(var i=0,a=n.members;i<a.length;i++){var o=a[i];switch(o.kind){case 231:t.push(q(o));break;case 166:t.push(J(Fe(n,o),o,n));break;case 168:case 169:var s=e.getAllAccessorDeclarations(n.members,o);o===s.firstAccessor&&t.push(V(Fe(n,o),s,n));break;case 167:break;default:e.Debug.failBadSyntaxKind(o,r&&r.fileName)}}}(c,i);var _=e.createTokenRange(e.skipTrivia(n,i.members.end),19),h=l.createPartiallyEmittedExpression(g);e.setTextRangeEnd(h,_.end),e.setEmitFlags(h,1536);var y=l.createReturnStatement(h);e.setTextRangePos(y,_.pos),e.setEmitFlags(y,1920),c.push(y),e.insertStatementsAfterStandardPrologue(c,f());var v=l.createBlock(e.setTextRange(l.createNodeArray(c),i.members),!0);return e.setEmitFlags(v,1536),v}(i,o));e.setEmitFlags(c,65536&e.getEmitFlags(i)|524288);var m=l.createPartiallyEmittedExpression(c);e.setTextRangeEnd(m,i.end),e.setEmitFlags(m,1536);var g=l.createPartiallyEmittedExpression(m);e.setTextRangeEnd(g,e.skipTrivia(n,i.pos)),e.setEmitFlags(g,1536);var _=l.createParenthesizedExpression(l.createCallExpression(g,void 0,o?[e.visitNode(o.expression,S,e.isExpression)]:[]));return e.addSyntheticLeadingComment(_,3,"* @class "),_}function P(t){if(244===t.kind)return!0;if(236===t.kind){var r=t;if(r.elseStatement)return P(r.thenStatement)&&P(r.elseStatement)}else if(232===t.kind){var n=e.lastOrUndefined(t.statements);if(n&&P(n))return!0}return!1}function I(){return e.setEmitFlags(l.createThis(),4)}function F(){return l.createLogicalOr(l.createLogicalAnd(l.createStrictInequality(l.createUniqueName("_super",48),l.createNull()),l.createFunctionApplyCall(l.createUniqueName("_super",48),I(),l.createIdentifier("arguments"))),I())}function O(t){return void 0!==t.initializer||e.isBindingPattern(t.name)}function R(t,r){if(!e.some(r.parameters,O))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=M(t,o,s,c)||n:c&&(L(t,o,s,c),n=!0))}return n}function M(r,n,i,a){return i.elements.length>0?(e.insertStatementAfterCustomPrologue(r,e.setEmitFlags(l.createVariableStatement(void 0,l.createVariableDeclarationList(e.flattenDestructuringBinding(n,S,t,0,l.getGeneratedNameForNode(n)))),1048576)),!0):!!a&&(e.insertStatementAfterCustomPrologue(r,e.setEmitFlags(l.createExpressionStatement(l.createAssignment(l.getGeneratedNameForNode(n),e.visitNode(a,S,e.isExpression))),1048576)),!0)}function L(t,r,n,i){i=e.visitNode(i,S,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 j(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=78===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=78===o.name.kind?l.cloneNode(o.name):s,u=n.parameters.length-1,d=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 p=l.createForStatement(e.setTextRange(l.createVariableDeclarationList([l.createVariableDeclaration(d,void 0,void 0,l.createNumericLiteral(u))]),o),e.setTextRange(l.createLessThan(d,l.createPropertyAccessExpression(l.createIdentifier("arguments"),"length")),o),e.setTextRange(l.createPostfixIncrement(d),o),l.createBlock([e.startOnNewLine(e.setTextRange(l.createExpressionStatement(l.createAssignment(l.createElementAccessExpression(c,0===u?d:l.createSubtract(d,l.createNumericLiteral(u))),l.createElementAccessExpression(l.createIdentifier("arguments"),d))),o))]));return e.setEmitFlags(p,1048576),e.startOnNewLine(p),a.push(p),78!==o.name.kind&&a.push(e.setEmitFlags(e.setTextRange(l.createVariableStatement(void 0,l.createVariableDeclarationList(e.flattenDestructuringBinding(o,S,t,0,c))),o),1048576)),e.insertStatementsAfterCustomPrologue(r,a),!0}function B(e,t){return!!(32768&a&&210!==t.kind)&&(z(e,t,l.createThis()),!0)}function z(t,r,n){Ie();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 U(t,r,n){if(16384&a){var i=void 0;switch(r.kind){case 210:return t;case 166:case 168:case 169:i=l.createVoidZero();break;case 167:i=l.createPropertyAccessExpression(e.setEmitFlags(l.createThis(),4),"constructor");break;case 253:case 209:i=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,i)]));e.setEmitFlags(o,1050112),n&&(t=t.slice()),e.insertStatementAfterCustomPrologue(t,o)}return t}function q(t){return e.setTextRange(l.createEmptyStatement(),t)}function J(r,n,i){var a,o=e.getCommentRange(n),s=e.getSourceMapRange(n),c=K(n,n,void 0,i),u=e.visitNode(n.name,S,e.isPropertyName);if(!e.isPrivateIdentifier(u)&&t.getCompilerOptions().useDefineForClassFields){var d=e.isComputedPropertyName(u)?u.expression:e.isIdentifier(u)?l.createStringLiteral(e.unescapeLeadingUnderscores(u.escapedText)):u;a=l.createObjectDefinePropertyCall(r,d,l.createPropertyDescriptor({value:c,enumerable:!1,writable:!0,configurable:!0}))}else{var p=e.createMemberAccessForPropertyName(l,r,u,n.name);a=l.createAssignment(p,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 V(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,S,e.isPropertyName);if(e.isPrivateIdentifier(u))return e.Debug.failBadSyntaxKind(u,"Encountered unhandled private identifier while transforming ES2015.");var d=e.createExpressionForPropertyName(l,u);e.setEmitFlags(d,1552),e.setSourceMapRange(d,a.name);var p=[];if(o){var f=K(o,void 0,void 0,n);e.setSourceMapRange(f,e.getSourceMapRange(o)),e.setEmitFlags(f,512);var m=l.createPropertyAssignment("get",f);e.setCommentRange(m,e.getCommentRange(o)),p.push(m)}if(s){var g=K(s,void 0,void 0,n);e.setSourceMapRange(g,e.getSourceMapRange(s)),e.setEmitFlags(g,512);var _=l.createPropertyAssignment("set",g);e.setCommentRange(_,e.getCommentRange(s)),p.push(_)}p.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,d,l.createObjectLiteralExpression(p,!0)]);return i&&e.startOnNewLine(h),h}function K(r,n,i,o){var c=s;s=void 0;var u=o&&e.isClassLike(o)&&!e.hasSyntacticModifier(r,32)?b(16286,73):b(16286,65),d=e.visitParameterList(r.parameters,S,t),p=W(r);return 16384&a&&!i&&(253===r.kind||209===r.kind)&&(i=l.getGeneratedNameForNode(r)),k(u,49152,0),s=c,e.setOriginalNode(e.setTextRange(l.createFunctionExpression(void 0,r.asteriskToken,i,void 0,d,void 0,p),n),r)}function W(t){var n,i,a,o=!1,s=!1,c=[],u=[],d=t.body;if(p(),e.isBlock(d)&&(a=l.copyStandardPrologue(d.statements,c,!1),a=l.copyCustomPrologue(d.statements,u,a,S,e.isHoistedFunction),a=l.copyCustomPrologue(d.statements,u,a,S,e.isHoistedVariableStatement)),o=R(u,t)||o,o=j(u,t,!1)||o,e.isBlock(d))a=l.copyCustomPrologue(d.statements,u,a,S),n=d.statements,e.addRange(u,e.visitNodes(d.statements,S,e.isStatement,a)),!o&&d.multiLine&&(o=!0);else{e.Debug.assert(210===t.kind),n=e.moveRangeEnd(d,-1);var m=t.equalsGreaterThanToken;e.nodeIsSynthesized(m)||e.nodeIsSynthesized(d)||(e.rangeEndIsOnSameLineAsRangeStart(m,d,r)?s=!0:o=!0);var g=e.visitNode(d,S,e.isExpression),_=l.createReturnStatement(g);e.setTextRange(_,d),e.moveSyntheticComments(_,d),e.setEmitFlags(_,1440),u.push(_),i=d}if(l.mergeLexicalEnvironment(c,f()),U(c,t,!1),B(c,t),e.some(c)&&(o=!0),u.unshift.apply(u,c),e.isBlock(d)&&e.arrayIsEqualTo(u,d.statements))return d;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 G(r,n){return e.isDestructuringAssignment(r)?e.flattenDestructuringAssignment(r,S,t,0,!n):27===r.operatorToken.kind?l.updateBinaryExpression(r,e.visitNode(r.left,D,e.isExpression),r.operatorToken,e.visitNode(r.right,n?D:S,e.isExpression)):e.visitEachChild(r,S,t)}function $(r){var n=r.name;return e.isBindingPattern(n)?Y(r):!r.initializer&&function(e){var t=_.getNodeCheckFlags(e),r=262144&t,n=524288&t;return!(64&a||r&&n&&512&a)&&!(4096&a)&&(!_.isDeclarationWithCollidingName(e)||n&&!r&&!(6144&a))}(r)?l.updateVariableDeclaration(r,r.name,void 0,void 0,l.createVoidZero()):e.visitEachChild(r,S,t)}function Y(r){var n,i=b(32,0);return n=e.isBindingPattern(r.name)?e.flattenDestructuringBinding(r,S,t,0,void 0,!!(32&i)):e.visitEachChild(r,S,t),k(i,0,0),n}function X(t){s.labels.set(e.idText(t.label),!0)}function Q(t){s.labels.set(e.idText(t.label),!1)}function Z(r,n,i,o,c){var u=b(r,n),p=function(r,n,i,o){if(!de(r)){var c=void 0;s&&(c=s.allowedNonLabeledJumps,s.allowedNonLabeledJumps=6);var u=o?o(r,n,void 0,i):l.restoreEnclosingLabel(e.isForStatement(r)?function(t){return l.updateForStatement(t,e.visitNode(t.initializer,D,e.isForInitializer),e.visitNode(t.condition,S,e.isExpression),e.visitNode(t.incrementor,D,e.isExpression),e.visitNode(t.statement,S,e.isStatement,l.liftToBlock))}(r):e.visitEachChild(r,S,t),n,s&&Q);return s&&(s.allowedNonLabeledJumps=c),u}var p=function(t){var r;switch(t.kind){case 239:case 240:case 241:var n=t.initializer;n&&252===n.kind&&(r=n)}var i=[],a=[];if(r&&3&e.getCombinedNodeFlags(r))for(var o=le(t),c=0,l=r.declarations;c<l.length;c++){be(t,l[c],i,a,o)}var u={loopParameters:i,loopOutParameters:a};s&&(s.argumentsName&&(u.argumentsName=s.argumentsName),s.thisName&&(u.thisName=s.thisName),s.hoistedLocalVariables&&(u.hoistedLocalVariables=s.hoistedLocalVariables));return u}(r),m=[],g=s;s=p;var _,h=le(r)?function(t,r){var n=l.createUniqueName("_loop_init"),i=!!(262144&t.initializer.transformFlags),o=0;r.containsLexicalThis&&(o|=8);i&&4&a&&(o|=262144);var s=[];s.push(l.createVariableStatement(void 0,t.initializer)),he(r.loopOutParameters,2,1,s);var c=l.createVariableStatement(void 0,e.setEmitFlags(l.createVariableDeclarationList([l.createVariableDeclaration(n,void 0,void 0,e.setEmitFlags(l.createFunctionExpression(void 0,i?l.createToken(41):void 0,void 0,void 0,void 0,void 0,e.visitNode(l.createBlock(s,!0),S,e.isBlock)),o))]),2097152)),u=l.createVariableDeclarationList(e.map(r.loopOutParameters,ge));return{functionName:n,containsYield:i,functionDeclaration:c,part:u}}(r,p):void 0,y=pe(r)?function(t,r,n){var i=l.createUniqueName("_loop");d();var o=e.visitNode(t.statement,S,e.isStatement,l.liftToBlock),s=f(),c=[];(ue(t)||function(t){return e.isForStatement(t)&&!!t.incrementor&&ce(t.incrementor)}(t))&&(r.conditionVariable=l.createUniqueName("inc"),t.incrementor?c.push(l.createIfStatement(r.conditionVariable,l.createExpressionStatement(e.visitNode(t.incrementor,S,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())))),ue(t)&&c.push(l.createIfStatement(l.createPrefixUnaryExpression(53,e.visitNode(t.condition,S,e.isExpression)),e.visitNode(l.createBreakStatement(),S,e.isStatement))));e.isBlock(o)?e.addRange(c,o.statements):c.push(o);he(r.loopOutParameters,1,1,c),e.insertStatementsAfterStandardPrologue(c,s);var u=l.createBlock(c,!0);e.isBlock(o)&&e.setOriginalNode(u,o);var p=!!(262144&t.statement.transformFlags),m=524288;r.containsLexicalThis&&(m|=8);p&&4&a&&(m|=262144);var g=l.createVariableStatement(void 0,e.setEmitFlags(l.createVariableDeclarationList([l.createVariableDeclaration(i,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),m))]),2097152)),_=function(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)),he(r.loopOutParameters,1,0,a);else{var u=l.createUniqueName("state"),d=l.createVariableStatement(void 0,l.createVariableDeclarationList([l.createVariableDeclaration(u,void 0,void 0,c)]));if(a.push(d),he(r.loopOutParameters,1,0,a),8&r.nonLocalJumps){var p=void 0;n?(n.nonLocalJumps|=8,p=l.createReturnStatement(u)):p=l.createReturnStatement(l.createPropertyAccessExpression(u,"value")),a.push(l.createIfStatement(l.createTypeCheck(u,"object"),p))}if(2&r.nonLocalJumps&&a.push(l.createIfStatement(l.createStrictEquality(u,l.createStringLiteral("break")),l.createBreakStatement())),r.labeledNonLocalBreaks||r.labeledNonLocalContinues){var f=[];ve(r.labeledNonLocalBreaks,!0,u,n,f),ve(r.labeledNonLocalContinues,!1,u,n,f),a.push(l.createSwitchStatement(u,l.createCaseBlock(f)))}}return a}(i,r,n,p);return{functionName:i,containsYield:p,functionDeclaration:g,part:_}}(r,p,g):void 0;s=g,h&&m.push(h.functionDeclaration);y&&m.push(y.functionDeclaration);(function(e,t,r){var n;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"))));if(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)))})(m,p,g),h&&m.push((v=h.functionName,b=h.containsYield,k=l.createCallExpression(v,void 0,[]),x=b?l.createYieldExpression(l.createToken(41),e.setEmitFlags(k,8388608)):k,l.createExpressionStatement(x)));var v,b,k,x;if(y)if(o)_=o(r,n,y.part,i);else{var E=me(r,h,l.createBlock(y.part,!0));_=l.restoreEnclosingLabel(E,n,s&&Q)}else{var w=me(r,h,e.visitNode(r.statement,S,e.isStatement,l.liftToBlock));_=l.restoreEnclosingLabel(w,n,s&&Q)}return m.push(_),m}(i,o,u,c);return k(u,0,0),p}function ee(e,t){return Z(0,1280,e,t)}function te(e,t){return Z(5056,3328,e,t)}function re(e,t){return Z(3008,5376,e,t)}function ne(e,t){return Z(3008,5376,e,t,g.downlevelIteration?se:oe)}function ie(r,n,i){var a=[],o=r.initializer;if(e.isVariableDeclarationList(o)){3&r.initializer.flags&&Pe();var s=e.firstOrUndefined(o.declarations);if(s&&e.isBindingPattern(s.name)){var c=e.flattenDestructuringBinding(s,S,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 d=l.createAssignment(o,n);e.isDestructuringAssignment(d)?a.push(l.createExpressionStatement(G(d,!0))):(e.setTextRangeEnd(d,o.end),a.push(e.setTextRange(l.createExpressionStatement(e.visitNode(d,S,e.isExpression)),e.moveRangeEnd(o,-1))))}if(i)return ae(e.addRange(a,i));var p=e.visitNode(r.statement,S,e.isStatement,l.liftToBlock);return e.isBlock(p)?l.updateBlock(p,e.setTextRange(l.createNodeArray(e.concatenate(a,p.statements)),p.statements)):(a.push(p),ae(a))}function ae(t){return e.setEmitFlags(l.createBlock(l.createNodeArray(t),!0),432)}function oe(t,r,n){var i=e.visitNode(t.expression,S,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),ie(t,l.createElementAccessExpression(o,a),n)),t);return e.setEmitFlags(c,256),e.setTextRange(c,t),l.restoreEnclosingLabel(c,r,s&&Q)}function se(t,r,n,i){var a=e.visitNode(t.expression,S,e.isExpression),o=e.isIdentifier(a)?l.getGeneratedNameForNode(a):l.createTempVariable(void 0),c=e.isIdentifier(a)?l.getGeneratedNameForNode(o):l.createTempVariable(void 0),d=l.createUniqueName("e"),p=l.getGeneratedNameForNode(d),f=l.createTempVariable(void 0),g=e.setTextRange(u().createValuesHelper(a),t.expression),_=l.createCallExpression(l.createPropertyAccessExpression(o,"next"),void 0,[]);m(d),m(f);var h=1024&i?l.inlineExpressions([l.createAssignment(d,l.createVoidZero()),g]):g,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,_)]),t.expression),2097152),l.createLogicalNot(l.createPropertyAccessExpression(c,"done")),l.createAssignment(c,_),ie(t,l.createPropertyAccessExpression(c,"value"),n)),t),256);return l.createTryStatement(l.createBlock([l.restoreEnclosingLabel(y,r,s&&Q)]),l.createCatchClause(l.createVariableDeclaration(p),e.setEmitFlags(l.createBlock([l.createExpressionStatement(l.createAssignment(d,l.createObjectLiteralExpression([l.createPropertyAssignment("error",p)])))]),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(d,l.createThrowStatement(l.createPropertyAccessExpression(d,"error"))),1)]),1))]))}function ce(e){return!!(131072&_.getNodeCheckFlags(e))}function le(t){return e.isForStatement(t)&&!!t.initializer&&ce(t.initializer)}function ue(t){return e.isForStatement(t)&&!!t.condition&&ce(t.condition)}function de(e){return pe(e)||le(e)}function pe(e){return!!(65536&_.getNodeCheckFlags(e))}function fe(t,r){t.hoistedLocalVariables||(t.hoistedLocalVariables=[]),function r(n){if(78===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 me(t,r,n){switch(t.kind){case 239:return function(t,r,n){var i=t.condition&&ce(t.condition),a=i||t.incrementor&&ce(t.incrementor);return l.updateForStatement(t,e.visitNode(r?r.part:t.initializer,D,e.isForInitializer),e.visitNode(i?void 0:t.condition,S,e.isExpression),e.visitNode(a?void 0:t.incrementor,D,e.isExpression),n)}(t,r,n);case 240:return function(t,r){return l.updateForInStatement(t,e.visitNode(t.initializer,S,e.isForInitializer),e.visitNode(t.expression,S,e.isExpression),r)}(t,n);case 241:return function(t,r){return l.updateForOfStatement(t,void 0,e.visitNode(t.initializer,S,e.isForInitializer),e.visitNode(t.expression,S,e.isExpression),r)}(t,n);case 237:return function(t,r){return l.updateDoStatement(t,r,e.visitNode(t.expression,S,e.isExpression))}(t,n);case 238:return function(t,r){return l.updateWhileStatement(t,e.visitNode(t.expression,S,e.isExpression),r)}(t,n);default:return e.Debug.failBadSyntaxKind(t,"IterationStatement expected")}}function ge(e){return l.createVariableDeclaration(e.originalName,void 0,void 0,e.outParamName)}function _e(e,t){var r=0===t?e.outParamName:e.originalName,n=0===t?e.originalName:e.outParamName;return l.createBinaryExpression(n,62,r)}function he(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(_e(o,r)))}}function ye(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 ve(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 ye(n,t,a,e),o.push(l.createReturnStatement(r));i.push(l.createCaseClause(l.createStringLiteral(e),o))}))}function be(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)||be(t,u,n,i,a)}else{n.push(l.createParameterDeclaration(void 0,void 0,void 0,o));var d=_.getNodeCheckFlags(r);if(4194304&d||a){var p=l.createUniqueName("out_"+e.idText(o)),f=0;4194304&d&&(f|=1),e.isForStatement(t)&&t.initializer&&_.isBindingCapturedByNode(t.initializer,r)&&(f|=2),i.push({flags:f,originalName:o,outParamName:p})}}}function ke(t,r,n){var i=l.createAssignment(e.createMemberAccessForPropertyName(l,r,e.visitNode(t.name,S,e.isPropertyName)),e.visitNode(t.initializer,S,e.isExpression));return e.setTextRange(i,t),n&&e.startOnNewLine(i),i}function xe(t,r,n){var i=l.createAssignment(e.createMemberAccessForPropertyName(l,r,e.visitNode(t.name,S,e.isPropertyName)),l.cloneNode(t.name));return e.setTextRange(i,t),n&&e.startOnNewLine(i),i}function Ee(t,r,n,i){var a=l.createAssignment(e.createMemberAccessForPropertyName(l,r,e.visitNode(t.name,S,e.isPropertyName)),K(t,t,void 0,n));return e.setTextRange(a,t),i&&e.startOnNewLine(a),a}function Se(r,n){if(8192&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=8192&r.transformFlags?l.createFunctionApplyCall(e.visitNode(a,w,e.isExpression),106===r.expression.kind?o:e.visitNode(o,S,e.isExpression),De(r.arguments,!1,!1,!1)):e.setTextRange(l.createFunctionCallCall(e.visitNode(a,w,e.isExpression),106===r.expression.kind?o:e.visitNode(o,S,e.isExpression),e.visitNodes(r.arguments,S,e.isExpression)),r),106===r.expression.kind){var c=l.createLogicalOr(s,I());s=n?l.createAssignment(l.createUniqueName("_this",48),c):c}return e.setOriginalNode(s,r)}return e.visitEachChild(r,S,t)}function De(t,r,n,i){var a=t.length,o=e.flatten(e.spanMap(t,we,(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)||e.isCallToHelper(s,"___spreadArray"))return o[0]}for(var c=u(),d=e.isSpreadElement(t[0]),p=d?l.createArrayLiteralExpression():o[0],f=d?0:1;f<o.length;f++)p=c.createSpreadArrayHelper(p,g.downlevelIteration&&!e.isPackedArrayLiteral(o[f])?c.createReadHelper(o[f],void 0):o[f]);return p}function we(t){return e.isSpreadElement(t)?Te:Ce}function Te(t){return e.map(t,Ae)}function Ce(t,r,n){return l.createArrayLiteralExpression(e.visitNodes(l.createNodeArray(t,n),S,e.isExpression),r)}function Ae(t){return e.visitNode(t.expression,S,e.isExpression)}function Ne(e){return 8&a&&!e?l.createPropertyAccessExpression(l.createUniqueName("_super",48),"prototype"):l.createUniqueName("_super",48)}function Pe(){2&c||(c|=2,t.enableSubstitution(78))}function Ie(){1&c||(c|=1,t.enableSubstitution(108),t.enableEmitNotification(167),t.enableEmitNotification(166),t.enableEmitNotification(168),t.enableEmitNotification(169),t.enableEmitNotification(210),t.enableEmitNotification(209),t.enableEmitNotification(253))}function Fe(t,r){return e.hasSyntacticModifier(r,32)?l.getInternalName(t):l.createPropertyAccessExpression(l.getInternalName(t),"prototype")}}}(d||(d={})),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 278:case 279:case 277:var o=i.tagName;n[e.getOriginalNodeId(o)]=!0}r(t,i,a)},t.enableEmitNotification(278),t.enableEmitNotification(279),t.enableEmitNotification(277),n=[]);var o=t.onSubstituteNode;return t.onSubstituteNode=function(t,r){if(r.id&&n&&n[r.id])return o(t,r);if(r=o(t,r),e.isPropertyAccessExpression(r))return function(t){if(e.isPrivateIdentifier(t.name))return t;var r=s(t.name);if(r)return e.setTextRange(i.createElementAccessExpression(t.expression,r),t);return t}(r);if(e.isPropertyAssignment(r))return function(t){var r=e.isIdentifier(t.name)&&s(t.name);if(r)return i.updatePropertyAssignment(t,r,t.initializer);return t}(r);return r},t.enableSubstitution(202),t.enableSubstitution(291),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>=80&&r<=116)return e.setTextRange(i.createStringLiteralFromNode(t),t)}}}(d||(d={})),function(e){var t,r,n,a,o;!function(e){e[e.Nop=0]="Nop",e[e.Statement=1]="Statement",e[e.Assign=2]="Assign",e[e.Break=3]="Break",e[e.BreakWhenTrue=4]="BreakWhenTrue",e[e.BreakWhenFalse=5]="BreakWhenFalse",e[e.Yield=6]="Yield",e[e.YieldStar=7]="YieldStar",e[e.Return=8]="Return",e[e.Throw=9]="Throw",e[e.Endfinally=10]="Endfinally"}(t||(t={})),function(e){e[e.Open=0]="Open",e[e.Close=1]="Close"}(r||(r={})),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"}(n||(n={})),function(e){e[e.Try=0]="Try",e[e.Catch=1]="Catch",e[e.Finally=2]="Finally",e[e.Done=3]="Done"}(a||(a={})),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"}(o||(o={})),e.transformGenerators=function(t){var r,n,a,o,s,c,l,u,d,p,f=t.factory,m=t.getEmitHelperFactory,g=t.resumeLexicalEnvironment,_=t.endLexicalEnvironment,h=t.hoistFunctionDeclaration,y=t.hoistVariableDeclaration,v=t.getCompilerOptions(),b=e.getEmitScriptTarget(v),k=t.getEmitResolver(),x=t.onSubstituteNode;t.onSubstituteNode=function(t,i){if(i=x(t,i),1===t)return function(t){if(e.isIdentifier(t))return function(t){if(!e.isGeneratedIdentifier(t)&&r&&r.has(e.idText(t))){var i=e.getOriginalNode(t);if(e.isIdentifier(i)&&i.parent){var a=k.getReferencedValueDeclaration(i);if(a){var o=n[e.getOriginalNodeId(a)];if(o){var s=e.setParent(e.setTextRange(f.cloneNode(o),o),o.parent);return e.setSourceMapRange(s,t),e.setCommentRange(s,t),s}}}}return t}(t);return t}(i);return i};var E,S,D,w,T,C,A,N,P,I,F,O,R=1,M=0,L=0;return e.chainBundle(t,(function(r){if(r.isDeclarationFile||!(512&r.transformFlags))return r;var n=e.visitEachChild(r,j,t);return e.addEmitHelpers(n,t.readEmitHelpers()),n}));function j(r){var n=r.transformFlags;return o?function(r){switch(r.kind){case 237:case 238:return function(r){return o?(oe(),r=e.visitEachChild(r,j,t),ce(),r):e.visitEachChild(r,j,t)}(r);case 246:return function(r){o&&re({kind:2,isScript:!0,breakLabel:-1});r=e.visitEachChild(r,j,t),o&&le();return r}(r);case 247:return function(r){o&&re({kind:4,isScript:!0,labelText:e.idText(r.label),breakLabel:-1});r=e.visitEachChild(r,j,t),o&&ue();return r}(r);default:return B(r)}}(r):a?B(r):e.isFunctionLikeDeclaration(r)&&r.asteriskToken?function(t){switch(t.kind){case 253:return z(t);case 209:return U(t);default:return e.Debug.failBadSyntaxKind(t)}}(r):512&n?e.visitEachChild(r,j,t):r}function B(r){switch(r.kind){case 253:return z(r);case 209:return U(r);case 168:case 169:return function(r){var n=a,i=o;return a=!1,o=!1,r=e.visitEachChild(r,j,t),a=n,o=i,r}(r);case 234:return function(t){if(262144&t.transformFlags)return void G(t.declarationList);if(1048576&e.getEmitFlags(t))return t;for(var r=0,n=t.declarationList.declarations;r<n.length;r++){var i=n[r];y(i.name)}var a=e.getInitializedVariables(t.declarationList);if(0===a.length)return;return e.setSourceMapRange(f.createExpressionStatement(f.inlineExpressions(e.map(a,$))),t)}(r);case 239:return function(r){o&&oe();var n=r.initializer;if(n&&e.isVariableDeclarationList(n)){for(var i=0,a=n.declarations;i<a.length;i++){var s=a[i];y(s.name)}var c=e.getInitializedVariables(n);r=f.updateForStatement(r,c.length>0?f.inlineExpressions(e.map(c,$)):void 0,e.visitNode(r.condition,j,e.isExpression),e.visitNode(r.incrementor,j,e.isExpression),e.visitNode(r.statement,j,e.isStatement,f.liftToBlock))}else r=e.visitEachChild(r,j,t);o&&ce();return r}(r);case 240:return function(r){o&&oe();var n=r.initializer;if(e.isVariableDeclarationList(n)){for(var i=0,a=n.declarations;i<a.length;i++){var s=a[i];y(s.name)}r=f.updateForInStatement(r,n.declarations[0].name,e.visitNode(r.expression,j,e.isExpression),e.visitNode(r.statement,j,e.isStatement,f.liftToBlock))}else r=e.visitEachChild(r,j,t);o&&ce();return r}(r);case 243:return function(r){if(o){var n=ge(r.label&&e.idText(r.label));if(n>0)return ve(n,r)}return e.visitEachChild(r,j,t)}(r);case 242:return function(r){if(o){var n=_e(r.label&&e.idText(r.label));if(n>0)return ve(n,r)}return e.visitEachChild(r,j,t)}(r);case 244:return function(t){return r=e.visitNode(t.expression,j,e.isExpression),n=t,e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression(r?[ye(2),r]:[ye(2)])),n);var r,n}(r);default:return 262144&r.transformFlags?function(r){switch(r.kind){case 218:return function(r){var n=e.getExpressionAssociativity(r);switch(n){case 0:return function(r){if(Y(r.right))return e.isLogicalOperator(r.operatorToken.kind)?function(t){var r=ee(),n=Z();xe(n,e.visitNode(t.left,j,e.isExpression),t.left),55===t.operatorToken.kind?De(r,n,t.left):Se(r,n,t.left);return xe(n,e.visitNode(t.right,j,e.isExpression),t.right),te(r),n}(r):27===r.operatorToken.kind?J(r):f.updateBinaryExpression(r,Q(e.visitNode(r.left,j,e.isExpression)),r.operatorToken,e.visitNode(r.right,j,e.isExpression));return e.visitEachChild(r,j,t)}(r);case 1:return function(r){var n=r.left,i=r.right;if(Y(i)){var a=void 0;switch(n.kind){case 202:a=f.updatePropertyAccessExpression(n,Q(e.visitNode(n.expression,j,e.isLeftHandSideExpression)),n.name);break;case 203:a=f.updateElementAccessExpression(n,Q(e.visitNode(n.expression,j,e.isLeftHandSideExpression)),Q(e.visitNode(n.argumentExpression,j,e.isExpression)));break;default:a=e.visitNode(n,j,e.isExpression)}var o=r.operatorToken.kind;return e.isCompoundAssignment(o)?e.setTextRange(f.createAssignment(a,e.setTextRange(f.createBinaryExpression(Q(a),e.getNonAssignmentOperatorForCompoundAssignment(o),e.visitNode(i,j,e.isExpression)),r)),r):f.updateBinaryExpression(r,a,r.operatorToken,e.visitNode(i,j,e.isExpression))}return e.visitEachChild(r,j,t)}(r);default:return e.Debug.assertNever(n)}}(r);case 340:return function(t){for(var r=[],n=0,i=t.elements;n<i.length;n++){var a=i[n];e.isBinaryExpression(a)&&27===a.operatorToken.kind?r.push(J(a)):(Y(a)&&r.length>0&&(we(1,[f.createExpressionStatement(f.inlineExpressions(r))]),r=[]),r.push(e.visitNode(a,j,e.isExpression)))}return f.inlineExpressions(r)}(r);case 219:return function(r){if(Y(r.whenTrue)||Y(r.whenFalse)){var n=ee(),i=ee(),a=Z();return De(n,e.visitNode(r.condition,j,e.isExpression),r.condition),xe(a,e.visitNode(r.whenTrue,j,e.isExpression),r.whenTrue),Ee(i),te(n),xe(a,e.visitNode(r.whenFalse,j,e.isExpression),r.whenFalse),te(i),a}return e.visitEachChild(r,j,t)}(r);case 221:return function(t){var r=ee(),n=e.visitNode(t.expression,j,e.isExpression);if(t.asteriskToken){!function(e,t){we(7,[e],t)}(8388608&e.getEmitFlags(t.expression)?n:e.setTextRange(m().createValuesHelper(n),t),t)}else!function(e,t){we(6,[e],t)}(n,t);return te(r),function(t){return e.setTextRange(f.createCallExpression(f.createPropertyAccessExpression(w,"sent"),void 0,[]),t)}(t)}(r);case 200:return function(e){return V(e.elements,void 0,void 0,e.multiLine)}(r);case 201:return function(t){var r=t.properties,n=t.multiLine,i=X(r),a=Z();xe(a,f.createObjectLiteralExpression(e.visitNodes(r,j,e.isObjectLiteralElementLike,0,i),n));var o=e.reduceLeft(r,s,[],i);return o.push(n?e.startOnNewLine(e.setParent(e.setTextRange(f.cloneNode(a),a),a.parent)):a),f.inlineExpressions(o);function s(r,i){Y(i)&&r.length>0&&(ke(f.createExpressionStatement(f.inlineExpressions(r))),r=[]);var o=e.createExpressionForObjectLiteralElementLike(f,t,i,a),s=e.visitNode(o,j,e.isExpression);return s&&(n&&e.startOnNewLine(s),r.push(s)),r}}(r);case 203:return function(r){if(Y(r.argumentExpression))return f.updateElementAccessExpression(r,Q(e.visitNode(r.expression,j,e.isLeftHandSideExpression)),e.visitNode(r.argumentExpression,j,e.isExpression));return e.visitEachChild(r,j,t)}(r);case 204:return function(r){if(!e.isImportCall(r)&&e.forEach(r.arguments,Y)){var n=f.createCallBinding(r.expression,y,b,!0),i=n.target,a=n.thisArg;return e.setOriginalNode(e.setTextRange(f.createFunctionApplyCall(Q(e.visitNode(i,j,e.isLeftHandSideExpression)),a,V(r.arguments)),r),r)}return e.visitEachChild(r,j,t)}(r);case 205:return function(r){if(e.forEach(r.arguments,Y)){var n=f.createCallBinding(f.createPropertyAccessExpression(r.expression,"bind"),y),i=n.target,a=n.thisArg;return e.setOriginalNode(e.setTextRange(f.createNewExpression(f.createFunctionApplyCall(Q(e.visitNode(i,j,e.isExpression)),a,V(r.arguments,f.createVoidZero())),void 0,[]),r),r)}return e.visitEachChild(r,j,t)}(r);default:return e.visitEachChild(r,j,t)}}(r):1049088&r.transformFlags?e.visitEachChild(r,j,t):r}}function z(r){if(r.asteriskToken)r=e.setOriginalNode(e.setTextRange(f.createFunctionDeclaration(void 0,r.modifiers,void 0,r.name,void 0,e.visitParameterList(r.parameters,j,t),void 0,q(r.body)),r),r);else{var n=a,i=o;a=!1,o=!1,r=e.visitEachChild(r,j,t),a=n,o=i}return a?void h(r):r}function U(r){if(r.asteriskToken)r=e.setOriginalNode(e.setTextRange(f.createFunctionExpression(void 0,void 0,r.name,void 0,e.visitParameterList(r.parameters,j,t),void 0,q(r.body)),r),r);else{var n=a,i=o;a=!1,o=!1,r=e.visitEachChild(r,j,t),a=n,o=i}return r}function q(t){var r=[],n=a,i=o,m=s,h=c,y=l,v=u,b=d,k=p,x=R,T=E,C=S,A=D,N=w;a=!0,o=!1,s=void 0,c=void 0,l=void 0,u=void 0,d=void 0,p=void 0,R=1,E=void 0,S=void 0,D=void 0,w=f.createTempVariable(void 0),g();var P=f.copyPrologue(t.statements,r,!1,j);H(t.statements,P);var I=Te();return e.insertStatementsAfterStandardPrologue(r,_()),r.push(f.createReturnStatement(I)),a=n,o=i,s=m,c=h,l=y,u=v,d=b,p=k,R=x,E=T,S=C,D=A,w=N,e.setTextRange(f.createBlock(r,t.multiLine),t)}function J(t){var r=[];return n(t.left),n(t.right),f.inlineExpressions(r);function n(t){e.isBinaryExpression(t)&&27===t.operatorToken.kind?(n(t.left),n(t.right)):(Y(t)&&r.length>0&&(we(1,[f.createExpressionStatement(f.inlineExpressions(r))]),r=[]),r.push(e.visitNode(t,j,e.isExpression)))}}function V(t,r,n,a){var o,s=X(t);if(s>0){o=Z();var c=e.visitNodes(t,j,e.isExpression,0,s);xe(o,f.createArrayLiteralExpression(r?i([r],c):c)),r=void 0}var l=e.reduceLeft(t,(function(t,n){if(Y(n)&&t.length>0){var s=void 0!==o;o||(o=Z()),xe(o,s?f.createArrayConcatCall(o,[f.createArrayLiteralExpression(t,a)]):f.createArrayLiteralExpression(r?i([r],t):t,a)),r=void 0,t=[]}return t.push(e.visitNode(n,j,e.isExpression)),t}),[],s);return o?f.createArrayConcatCall(o,[f.createArrayLiteralExpression(l,a)]):e.setTextRange(f.createArrayLiteralExpression(r?i([r],l):l,a),n)}function H(e,t){void 0===t&&(t=0);for(var r=e.length,n=t;n<r;n++)W(e[n])}function K(t){e.isBlock(t)?H(t.statements):W(t)}function W(i){var a=o;o||(o=Y(i)),function(i){switch(i.kind){case 232:return function(t){Y(t)?H(t.statements):ke(e.visitNode(t,j,e.isStatement))}(i);case 235:return function(t){ke(e.visitNode(t,j,e.isStatement))}(i);case 236:return function(t){if(Y(t))if(Y(t.thenStatement)||Y(t.elseStatement)){var r=ee(),n=t.elseStatement?ee():void 0;De(t.elseStatement?n:r,e.visitNode(t.expression,j,e.isExpression),t.expression),K(t.thenStatement),t.elseStatement&&(Ee(r),te(n),K(t.elseStatement)),te(r)}else ke(e.visitNode(t,j,e.isStatement));else ke(e.visitNode(t,j,e.isStatement))}(i);case 237:return function(t){if(Y(t)){var r=ee(),n=ee();se(r),te(n),K(t.statement),te(r),Se(n,e.visitNode(t.expression,j,e.isExpression)),ce()}else ke(e.visitNode(t,j,e.isStatement))}(i);case 238:return function(t){if(Y(t)){var r=ee(),n=se(r);te(r),De(n,e.visitNode(t.expression,j,e.isExpression)),K(t.statement),Ee(r),ce()}else ke(e.visitNode(t,j,e.isStatement))}(i);case 239:return function(t){if(Y(t)){var r=ee(),n=ee(),i=se(n);if(t.initializer){var a=t.initializer;e.isVariableDeclarationList(a)?G(a):ke(e.setTextRange(f.createExpressionStatement(e.visitNode(a,j,e.isExpression)),a))}te(r),t.condition&&De(i,e.visitNode(t.condition,j,e.isExpression)),K(t.statement),te(n),t.incrementor&&ke(e.setTextRange(f.createExpressionStatement(e.visitNode(t.incrementor,j,e.isExpression)),t.incrementor)),Ee(r),ce()}else ke(e.visitNode(t,j,e.isStatement))}(i);case 240:return function(t){if(Y(t)){var r=Z(),n=Z(),i=f.createLoopVariable(),a=t.initializer;y(i),xe(r,f.createArrayLiteralExpression()),ke(f.createForInStatement(n,e.visitNode(t.expression,j,e.isExpression),f.createExpressionStatement(f.createCallExpression(f.createPropertyAccessExpression(r,"push"),void 0,[n])))),xe(i,f.createNumericLiteral(0));var o=ee(),s=ee(),c=se(s);te(o),De(c,f.createLessThan(i,f.createPropertyAccessExpression(r,"length")));var l=void 0;if(e.isVariableDeclarationList(a)){for(var u=0,d=a.declarations;u<d.length;u++){var p=d[u];y(p.name)}l=f.cloneNode(a.declarations[0].name)}else l=e.visitNode(a,j,e.isExpression),e.Debug.assert(e.isLeftHandSideExpression(l));xe(l,f.createElementAccessExpression(r,i)),K(t.statement),te(s),ke(f.createExpressionStatement(f.createPostfixIncrement(i))),Ee(o),ce()}else ke(e.visitNode(t,j,e.isStatement))}(i);case 242:return function(t){var r=_e(t.label?e.idText(t.label):void 0);r>0?Ee(r,t):ke(t)}(i);case 243:return function(t){var r=ge(t.label?e.idText(t.label):void 0);r>0?Ee(r,t):ke(t)}(i);case 244:return function(t){r=e.visitNode(t.expression,j,e.isExpression),n=t,we(8,[r],n);var r,n}(i);case 245:return function(t){Y(t)?(r=Q(e.visitNode(t.expression,j,e.isExpression)),n=ee(),i=ee(),te(n),re({kind:1,expression:r,startLabel:n,endLabel:i}),K(t.statement),e.Debug.assert(1===ae()),te(ne().endLabel)):ke(e.visitNode(t,j,e.isStatement));var r,n,i}(i);case 246:return function(t){if(Y(t.caseBlock)){for(var r=t.caseBlock,n=r.clauses.length,i=(re({kind:2,isScript:!1,breakLabel:m=ee()}),m),a=Q(e.visitNode(t.expression,j,e.isExpression)),o=[],s=-1,c=0;c<n;c++){var l=r.clauses[c];o.push(ee()),288===l.kind&&-1===s&&(s=c)}for(var u=0,d=[];u<n;){var p=0;for(c=u;c<n;c++){if(287===(l=r.clauses[c]).kind){if(Y(l.expression)&&d.length>0)break;d.push(f.createCaseClause(e.visitNode(l.expression,j,e.isExpression),[ve(o[c],l.expression)]))}else p++}d.length&&(ke(f.createSwitchStatement(a,f.createCaseBlock(d))),u+=d.length,d=[]),p>0&&(u+=p,p=0)}Ee(s>=0?o[s]:i);for(c=0;c<n;c++)te(o[c]),H(r.clauses[c].statements);le()}else ke(e.visitNode(t,j,e.isStatement));var m}(i);case 247:return function(t){Y(t)?(r=e.idText(t.label),n=ee(),re({kind:4,isScript:!1,labelText:r,breakLabel:n}),K(t.statement),ue()):ke(e.visitNode(t,j,e.isStatement));var r,n}(i);case 248:return function(t){var r;n=e.visitNode(null!==(r=t.expression)&&void 0!==r?r:f.createVoidZero(),j,e.isExpression),i=t,we(9,[n],i);var n,i}(i);case 249:return function(i){Y(i)?(a=ee(),o=ee(),te(a),re({kind:0,state:0,startLabel:a,endLabel:o}),be(),K(i.tryBlock),i.catchClause&&(!function(i){var a;if(e.Debug.assert(0===ae()),e.isGeneratedIdentifier(i.name))a=i.name,y(i.name);else{var o=e.idText(i.name);a=Z(o),r||(r=new e.Map,n=[],t.enableSubstitution(78)),r.set(o,!0),n[e.getOriginalNodeId(i)]=a}var s=ie();e.Debug.assert(s.state<1);var c=s.endLabel;Ee(c);var l=ee();te(l),s.state=1,s.catchVariable=a,s.catchLabel=l,xe(a,f.createCallExpression(f.createPropertyAccessExpression(w,"sent"),void 0,[])),be()}(i.catchClause.variableDeclaration),K(i.catchClause.block)),i.finallyBlock&&(!function(){e.Debug.assert(0===ae());var t=ie();e.Debug.assert(t.state<2);var r=t.endLabel;Ee(r);var n=ee();te(n),t.state=2,t.finallyLabel=n}(),K(i.finallyBlock)),function(){e.Debug.assert(0===ae());var t=ne(),r=t.state;r<2?Ee(t.endLabel):we(10);te(t.endLabel),be(),t.state=3}()):ke(e.visitEachChild(i,j,t));var a,o}(i);default:ke(e.visitNode(i,j,e.isStatement))}}(i),o=a}function G(t){for(var r=0,n=t.declarations;r<n.length;r++){var i=n[r],a=f.cloneNode(i.name);e.setCommentRange(a,i.name),y(a)}for(var o=e.getInitializedVariables(t),s=o.length,c=0,l=[];c<s;){for(var u=c;u<s;u++){if(Y((i=o[u]).initializer)&&l.length>0)break;l.push($(i))}l.length&&(ke(f.createExpressionStatement(f.inlineExpressions(l))),c+=l.length,l=[])}}function $(t){return e.setSourceMapRange(f.createAssignment(e.setSourceMapRange(f.cloneNode(t.name),t.name),e.visitNode(t.initializer,j,e.isExpression)),t)}function Y(e){return!!e&&!!(262144&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 r=f.createTempVariable(y);return xe(r,t,t),r}function Z(e){var t=e?f.createUniqueName(e):f.createTempVariable(void 0);return y(t),t}function ee(){d||(d=[]);var e=R;return R++,d[e]=-1,e}function te(t){e.Debug.assert(void 0!==d,"No labels were defined."),d[t]=E?E.length:0}function re(e){s||(s=[],l=[],c=[],u=[]);var t=l.length;return l[t]=0,c[t]=E?E.length:0,s[t]=e,u.push(e),t}function ne(){var t=ie();if(void 0===t)return e.Debug.fail("beginBlock was never called.");var r=l.length;return l[r]=1,c[r]=E?E.length:0,s[r]=t,u.pop(),t}function ie(){return e.lastOrUndefined(u)}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 le(){e.Debug.assert(2===ae());var t=ne(),r=t.breakLabel;t.isScript||te(r)}function ue(){e.Debug.assert(4===ae());var t=ne();t.isScript||te(t.breakLabel)}function de(e){return 2===e.kind||3===e.kind}function pe(e){return 4===e.kind}function fe(e){return 3===e.kind}function me(e,t){for(var r=t;r>=0;r--){var n=u[r];if(!pe(n))break;if(n.labelText===e)return!0}return!1}function ge(e){if(u)if(e)for(var t=u.length-1;t>=0;t--){if(pe(r=u[t])&&r.labelText===e)return r.breakLabel;if(de(r)&&me(e,t-1))return r.breakLabel}else for(t=u.length-1;t>=0;t--){var r;if(de(r=u[t]))return r.breakLabel}return 0}function _e(e){if(u)if(e)for(var t=u.length-1;t>=0;t--){if(fe(r=u[t])&&me(e,t-1))return r.continueLabel}else for(t=u.length-1;t>=0;t--){var r;if(fe(r=u[t]))return r.continueLabel}return 0}function he(e){if(void 0!==e&&e>0){void 0===p&&(p=[]);var t=f.createNumericLiteral(-1);return void 0===p[e]?p[e]=[t]:p[e].push(t),t}return f.createOmittedExpression()}function ye(t){var r=f.createNumericLiteral(t);return e.addSyntheticTrailingComment(r,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)),r}function ve(t,r){return e.Debug.assertLessThan(0,t,"Invalid label"),e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression([ye(3),he(t)])),r)}function be(){we(0)}function ke(e){e?we(1,[e]):be()}function xe(e,t,r){we(2,[e,t],r)}function Ee(e,t){we(3,[e],t)}function Se(e,t,r){we(4,[e,t],r)}function De(e,t,r){we(5,[e,t],r)}function we(e,t,r){void 0===E&&(E=[],S=[],D=[]),void 0===d&&te(ee());var n=E.length;E[n]=e,S[n]=t,D[n]=r}function Te(){M=0,L=0,T=void 0,C=!1,A=!1,N=void 0,P=void 0,I=void 0,F=void 0,O=void 0;var t=function(){if(E){for(var t=0;t<E.length;t++)Pe(t);Ce(E.length)}else Ce(0);if(N){var r=f.createPropertyAccessExpression(w,"label"),n=f.createSwitchStatement(r,f.createCaseBlock(N));return[e.startOnNewLine(n)]}if(P)return P;return[]}();return m().createGeneratorHelper(e.setEmitFlags(f.createFunctionExpression(void 0,void 0,void 0,void 0,[f.createParameterDeclaration(void 0,void 0,void 0,w)],void 0,f.createBlock(t,t.length>0)),524288))}function Ce(e){(function(e){if(!A)return!0;if(!d||!p)return!1;for(var t=0;t<d.length;t++)if(d[t]===e&&p[t])return!0;return!1})(e)&&(Ne(e),O=void 0,Fe(void 0,void 0)),P&&N&&Ae(!1),function(){if(void 0!==p&&void 0!==T)for(var e=0;e<T.length;e++){var t=T[e];if(void 0!==t)for(var r=0,n=t;r<n.length;r++){var i=n[r],a=p[i];if(void 0!==a)for(var o=0,s=a;o<s.length;o++){s[o].text=String(e)}}}}()}function Ae(e){if(N||(N=[]),P){if(O)for(var t=O.length-1;t>=0;t--){var r=O[t];P=[f.createWithStatement(r.expression,f.createBlock(P))]}if(F){var n=F.startLabel,i=F.catchLabel,a=F.finallyLabel,o=F.endLabel;P.unshift(f.createExpressionStatement(f.createCallExpression(f.createPropertyAccessExpression(f.createPropertyAccessExpression(w,"trys"),"push"),void 0,[f.createArrayLiteralExpression([he(n),he(i),he(a),he(o)])]))),F=void 0}e&&P.push(f.createExpressionStatement(f.createAssignment(f.createPropertyAccessExpression(w,"label"),f.createNumericLiteral(L+1))))}N.push(f.createCaseClause(f.createNumericLiteral(L),P||[])),P=void 0}function Ne(e){if(d)for(var t=0;t<d.length;t++)d[t]===e&&(P&&(Ae(!C),C=!1,A=!1,L++),void 0===T&&(T=[]),void 0===T[L]?T[L]=[t]:T[L].push(t))}function Pe(t){if(Ne(t),function(e){if(s)for(;M<l.length&&c[M]<=e;M++){var t=s[M],r=l[M];switch(t.kind){case 0:0===r?(I||(I=[]),P||(P=[]),I.push(F),F=t):1===r&&(F=I.pop());break;case 1:0===r?(O||(O=[]),O.push(t)):1===r&&O.pop()}}}(t),!C){C=!1,A=!1;var r=E[t];if(0!==r){if(10===r)return C=!0,void Ie(f.createReturnStatement(f.createArrayLiteralExpression([ye(7)])));var n=S[t];if(1===r)return Ie(n[0]);var i,a,o,u=D[t];switch(r){case 2:return i=n[0],a=n[1],o=u,void Ie(e.setTextRange(f.createExpressionStatement(f.createAssignment(i,a)),o));case 3:return function(t,r){C=!0,Ie(e.setEmitFlags(e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression([ye(3),he(t)])),r),384))}(n[0],u);case 4:return function(t,r,n){Ie(e.setEmitFlags(f.createIfStatement(r,e.setEmitFlags(e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression([ye(3),he(t)])),n),384)),1))}(n[0],n[1],u);case 5:return function(t,r,n){Ie(e.setEmitFlags(f.createIfStatement(f.createLogicalNot(r),e.setEmitFlags(e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression([ye(3),he(t)])),n),384)),1))}(n[0],n[1],u);case 6:return function(t,r){C=!0,Ie(e.setEmitFlags(e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression(t?[ye(4),t]:[ye(4)])),r),384))}(n[0],u);case 7:return function(t,r){C=!0,Ie(e.setEmitFlags(e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression([ye(5),t])),r),384))}(n[0],u);case 8:return Fe(n[0],u);case 9:return function(t,r){C=!0,A=!0,Ie(e.setTextRange(f.createThrowStatement(t),r))}(n[0],u)}}}}function Ie(e){e&&(P?P.push(e):P=[e])}function Fe(t,r){C=!0,A=!0,Ie(e.setEmitFlags(e.setTextRange(f.createReturnStatement(f.createArrayLiteralExpression(t?[ye(2),t]:[ye(2)])),r),384))}}}(d||(d={})),function(e){e.transformModule=function(r){var n=r.factory,a=r.getEmitHelperFactory,o=r.startLexicalEnvironment,s=r.endLexicalEnvironment,c=r.hoistVariableDeclaration,l=r.getCompilerOptions(),u=r.getEmitResolver(),d=r.getEmitHost(),p=e.getEmitScriptTarget(l),f=e.getEmitModuleKind(l),m=r.onSubstituteNode,g=r.onEmitNode;r.onSubstituteNode=function(t,r){if((r=m(t,r)).id&&y[r.id])return r;if(1===t)return function(t){switch(t.kind){case 78:return Y(t);case 218: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=X(t.left);if(r){for(var n=t,i=0,a=r;i<a.length;i++){var o=a[i];y[e.getNodeId(n)]=!0,n=G(o,n,t)}return n}}return t}(t);case 217:case 216:return function(t){if((45===t.operator||46===t.operator)&&e.isIdentifier(t.operand)&&!e.isGeneratedIdentifier(t.operand)&&!e.isLocalName(t.operand)&&!e.isDeclarationNameOfEnumOrNamespace(t.operand)){var r=X(t.operand);if(r){for(var i=217===t.kind?e.setTextRange(n.createBinaryExpression(t.operand,n.createToken(45===t.operator?63:64),n.createNumericLiteral(1)),t):t,a=0,o=r;a<o.length;a++){var s=o[a];y[e.getNodeId(i)]=!0,i=n.createParenthesizedExpression(G(s,i))}return i}}return t}(t)}return t}(r);if(e.isShorthandPropertyAssignment(r))return function(t){var r=t.name,i=Y(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);return r},r.onEmitNode=function(t,r,n){300===r.kind?(_=r,h=b[e.getOriginalNodeId(_)],y=[],g(t,r,n),_=void 0,h=void 0,y=void 0):g(t,r,n)},r.enableSubstitution(78),r.enableSubstitution(218),r.enableSubstitution(216),r.enableSubstitution(217),r.enableSubstitution(292),r.enableEmitNotification(300);var _,h,y,v,b=[],k=[];return e.chainBundle(r,(function(t){if(t.isDeclarationFile||!(e.isEffectiveExternalModule(t,l)||2097152&t.transformFlags||e.isJsonSourceFile(t)&&e.hasJsonModuleEmitEnabled(l)&&e.outFile(l)))return t;_=t,h=e.collectExternalModuleInfo(r,t,u,l),b[e.getOriginalNodeId(t)]=h;var n=function(t){switch(t){case e.ModuleKind.AMD:return S;case e.ModuleKind.UMD:return D;default:return E}}(f),i=n(t);return _=void 0,h=void 0,v=!1,i}));function x(){return!(h.exportEquals||!e.isExternalModule(_))}function E(t){o();var i=[],a=e.getStrictOptionValue(l,"alwaysStrict")||!l.noImplicitUseStrict&&e.isExternalModule(_),c=n.copyPrologue(t.statements,i,a&&!e.isJsonSourceFile(t),N);if(x()&&e.append(i,W()),e.length(h.exportedNames))for(var u=0;u<h.exportedNames.length;u+=50)e.append(i,n.createExpressionStatement(e.reduceLeft(h.exportedNames.slice(u,u+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,N,e.isStatement)),e.addRange(i,e.visitNodes(t.statements,N,e.isStatement,c)),A(i,!1),e.insertStatementsAfterStandardPrologue(i,s());var d=n.updateSourceFile(t,e.setTextRange(n.createNodeArray(i),t.statements));return e.addEmitHelpers(d,r.readEmitHelpers()),d}function S(t){var a=n.createIdentifier("define"),o=e.tryGetModuleNameFromFile(n,t,d,l),s=e.isJsonSourceFile(t)&&t,c=w(t,!0),u=c.aliasedModuleNames,p=c.unaliasedModuleNames,f=c.importAliasNames,m=n.updateSourceFile(t,e.setTextRange(n.createNodeArray([n.createExpressionStatement(n.createCallExpression(a,void 0,i(i([],o?[o]:[]),[n.createArrayLiteralExpression(s?e.emptyArray:i(i([n.createStringLiteral("require"),n.createStringLiteral("exports")],u),p)),s?s.statements.length?s.statements[0].expression:n.createObjectLiteralExpression():n.createFunctionExpression(void 0,void 0,void 0,void 0,i([n.createParameterDeclaration(void 0,void 0,void 0,"require"),n.createParameterDeclaration(void 0,void 0,void 0,"exports")],f),void 0,C(t))])))]),t.statements));return e.addEmitHelpers(m,r.readEmitHelpers()),m}function D(t){var a=w(t,!1),o=a.aliasedModuleNames,s=a.unaliasedModuleNames,c=a.importAliasNames,u=e.tryGetModuleNameFromFile(n,t,d,l),p=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,i(i([],u?[u]:[]),[n.createArrayLiteralExpression(i(i([n.createStringLiteral("require"),n.createStringLiteral("exports")],o),s)),n.createIdentifier("factory")])))])))],!0),void 0)),f=n.updateSourceFile(t,e.setTextRange(n.createNodeArray([n.createExpressionStatement(n.createCallExpression(p,void 0,[n.createFunctionExpression(void 0,void 0,void 0,void 0,i([n.createParameterDeclaration(void 0,void 0,void 0,"require"),n.createParameterDeclaration(void 0,void 0,void 0,"exports")],c),void 0,C(t))]))]),t.statements));return e.addEmitHelpers(f,r.readEmitHelpers()),f}function w(t,r){for(var i=[],a=[],o=[],s=0,c=t.amdDependencies;s<c.length;s++){var p=c[s];p.name?(i.push(n.createStringLiteral(p.path)),o.push(n.createParameterDeclaration(void 0,void 0,void 0,p.name))):a.push(n.createStringLiteral(p.path))}for(var f=0,m=h.externalImports;f<m.length;f++){var g=m[f],y=e.getExternalModuleNameLiteral(n,g,_,d,u,l),v=e.getLocalNameForExternalImport(n,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 T(t){if(!e.isImportEqualsDeclaration(t)&&!e.isExportDeclaration(t)&&e.getExternalModuleNameLiteral(n,t,_,d,u,l)){var r=e.getLocalNameForExternalImport(n,t,_),i=R(t,r);if(i!==r)return n.createExpressionStatement(n.createAssignment(r,i))}}function C(r){o();var i=[],a=n.copyPrologue(r.statements,i,!l.noImplicitUseStrict,N);x()&&e.append(i,W()),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,N,e.isStatement)),f===e.ModuleKind.AMD&&e.addRange(i,e.mapDefined(h.externalImports,T)),e.addRange(i,e.visitNodes(r.statements,N,e.isStatement,a)),A(i,!0),e.insertStatementsAfterStandardPrologue(i,s());var c=n.createBlock(i,!0);return v&&e.addEmitHelper(c,t),c}function A(t,r){if(h.exportEquals){var i=e.visitNode(h.exportEquals.expression,P);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 N(t){switch(t.kind){case 264:return function(t){var r,i=e.getNamespaceDeclarationNode(t);if(f!==e.ModuleKind.AMD){if(!t.importClause)return e.setOriginalNode(e.setTextRange(n.createExpressionStatement(M(t)),t),t);var a=[];i&&!e.isDefaultImport(t)?a.push(n.createVariableDeclaration(n.cloneNode(i.name),void 0,void 0,R(t,M(t)))):(a.push(n.createVariableDeclaration(n.getGeneratedNameForNode(t),void 0,void 0,R(t,M(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,p>=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)],p>=2?2:0))));if(B(t)){var o=e.getOriginalNodeId(t);k[o]=z(k[o],t)}else r=z(r,t);return e.singleOrMany(r)}(t);case 263:return function(t){var r;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(G(t.name,M(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,M(t))],p>=2?2:0)),t),t)):e.hasSyntacticModifier(t,1)&&(r=e.append(r,e.setOriginalNode(e.setTextRange(n.createExpressionStatement(G(n.getExportName(t),n.getLocalName(t))),t),t)));if(B(t)){var i=e.getOriginalNodeId(t);k[i]=U(k[i],t)}else r=U(r,t);return e.singleOrMany(r)}(t);case 270:return function(t){if(!t.moduleSpecifier)return;var r=n.getGeneratedNameForNode(t);if(t.exportClause&&e.isNamedExports(t.exportClause)){var i=[];f!==e.ModuleKind.AMD&&i.push(e.setOriginalNode(e.setTextRange(n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(r,void 0,void 0,M(t))])),t),t));for(var o=0,s=t.exportClause.elements;o<s.length;o++){var c=s[o];if(0===p)i.push(e.setOriginalNode(e.setTextRange(n.createExpressionStatement(a().createCreateBindingHelper(r,n.createStringLiteralFromNode(c.propertyName||c.name),c.propertyName?n.createStringLiteralFromNode(c.name):void 0)),c),c));else{var u=!(!l.esModuleInterop||67108864&e.getEmitFlags(t)||"default"!==e.idText(c.propertyName||c.name)),d=n.createPropertyAccessExpression(u?a().createImportDefaultHelper(r):r,c.propertyName||c.name);i.push(e.setOriginalNode(e.setTextRange(n.createExpressionStatement(G(n.getExportName(c),d,void 0,!0)),c),c))}}return e.singleOrMany(i)}return t.exportClause?((i=[]).push(e.setOriginalNode(e.setTextRange(n.createExpressionStatement(G(n.cloneNode(t.exportClause.name),function(t,r){if(!l.esModuleInterop||67108864&e.getEmitFlags(t))return r;if(e.getExportNeedsImportStarHelper(t))return a().createImportStarHelper(r);return r}(t,f!==e.ModuleKind.AMD?M(t):e.isExportNamespaceAsDefaultDeclaration(t)?r:n.createIdentifier(e.idText(t.exportClause.name))))),t),t)),e.singleOrMany(i)):e.setOriginalNode(e.setTextRange(n.createExpressionStatement(a().createExportStarHelper(f!==e.ModuleKind.AMD?M(t):r)),t),t)}(t);case 269:return function(t){if(t.isExportEquals)return;var r,i=t.original;if(i&&B(i)){var a=e.getOriginalNodeId(t);k[a]=K(k[a],n.createIdentifier("default"),e.visitNode(t.expression,P),t,!0)}else r=K(r,n.createIdentifier("default"),e.visitNode(t.expression,P),t,!0);return e.singleOrMany(r)}(t);case 234:return function(t){var i,a,o;if(e.hasSyntacticModifier(t,1)){for(var s=void 0,c=!1,l=0,u=t.declarationList.declarations;l<u.length;l++){var d=u[l];if(e.isIdentifier(d.name)&&e.isLocalName(d.name))s||(s=e.visitNodes(t.modifiers,$,e.isModifier)),a=e.append(a,d);else if(d.initializer)if(!e.isBindingPattern(d.name)&&(e.isArrowFunction(d.initializer)||e.isFunctionExpression(d.initializer)||e.isClassExpression(d.initializer))){var p=n.createAssignment(e.setTextRange(n.createPropertyAccessExpression(n.createIdentifier("exports"),d.name),d.name),n.createIdentifier(e.getTextOfIdentifierOrLiteral(d.name))),f=n.createVariableDeclaration(d.name,d.exclamationToken,d.type,e.visitNode(d.initializer,P));a=e.append(a,f),o=e.append(o,p),c=!0}else o=e.append(o,j(d))}if(a&&(i=e.append(i,n.updateVariableStatement(t,s,n.updateVariableDeclarationList(t.declarationList,a)))),o){var m=e.setOriginalNode(e.setTextRange(n.createExpressionStatement(n.inlineExpressions(o)),t),t);c&&e.removeAllComments(m),i=e.append(i,m)}}else i=e.append(i,e.visitEachChild(t,P,r));if(B(t)){var g=e.getOriginalNodeId(t);k[g]=q(k[g],t)}else i=q(i,t);return e.singleOrMany(i)}(t);case 253:return function(t){var i;i=e.hasSyntacticModifier(t,1)?e.append(i,e.setOriginalNode(e.setTextRange(n.createFunctionDeclaration(void 0,e.visitNodes(t.modifiers,$,e.isModifier),t.asteriskToken,n.getDeclarationName(t,!0,!0),void 0,e.visitNodes(t.parameters,P),void 0,e.visitEachChild(t.body,P,r)),t),t)):e.append(i,e.visitEachChild(t,P,r));if(B(t)){var a=e.getOriginalNodeId(t);k[a]=V(k[a],t)}else i=V(i,t);return e.singleOrMany(i)}(t);case 254:return function(t){var i;i=e.hasSyntacticModifier(t,1)?e.append(i,e.setOriginalNode(e.setTextRange(n.createClassDeclaration(void 0,e.visitNodes(t.modifiers,$,e.isModifier),n.getDeclarationName(t,!0,!0),void 0,e.visitNodes(t.heritageClauses,P),e.visitNodes(t.members,P)),t),t)):e.append(i,e.visitEachChild(t,P,r));if(B(t)){var a=e.getOriginalNodeId(t);k[a]=V(k[a],t)}else i=V(i,t);return e.singleOrMany(i)}(t);case 341:return function(t){if(B(t)&&234===t.original.kind){var r=e.getOriginalNodeId(t);k[r]=q(k[r],t.original)}return t}(t);case 342:return function(t){var r=e.getOriginalNodeId(t),n=k[r];if(n)return delete k[r],e.append(n,t);return t}(t);default:return e.visitEachChild(t,P,r)}}function P(t){return 2097152&t.transformFlags||1024&t.transformFlags?e.isImportCall(t)?function(t){var r=e.getExternalModuleNameLiteral(n,t,_,d,u,l),i=e.visitNode(e.firstOrUndefined(t.arguments),P),a=!r||i&&e.isStringLiteral(i)&&i.text===r.text?i:r,o=!!(4096&t.transformFlags);switch(l.module){case e.ModuleKind.AMD:return F(a,o);case e.ModuleKind.UMD:return function(t,r){if(v=!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,O(t,r),void 0,F(i,r))}var a=n.createTempVariable(c);return n.createComma(n.createAssignment(a,t),n.createConditionalExpression(n.createIdentifier("__syncRequire"),void 0,O(a,r),void 0,F(a,r)))}(null!=a?a:n.createVoidZero(),o);case e.ModuleKind.CommonJS:default:return O(a,o)}}(t):e.isDestructuringAssignment(t)?function(t){if(I(t.left))return e.flattenDestructuringAssignment(t,P,r,0,!1,L);return e.visitEachChild(t,P,r)}(t):e.visitEachChild(t,P,r):t}function I(t){if(e.isObjectLiteralExpression(t))for(var r=0,n=t.properties;r<n.length;r++){switch((o=n[r]).kind){case 291:if(I(o.initializer))return!0;break;case 292:if(I(o.name))return!0;break;case 293:if(I(o.expression))return!0;break;case 166:case 168:case 169: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(I(o.expression))return!0}else if(I(o))return!0}else if(e.isIdentifier(t))return e.length(X(t))>(e.isExportName(t)?1:0);return!1}function F(t,r){var i,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)],u=n.createBlock([n.createExpressionStatement(n.createCallExpression(n.createIdentifier("require"),void 0,[n.createArrayLiteralExpression([t||n.createOmittedExpression()]),o,s]))]);p>=2?i=n.createArrowFunction(void 0,void 0,c,void 0,void 0,u):(i=n.createFunctionExpression(void 0,void 0,void 0,void 0,c,void 0,u),r&&e.setEmitFlags(i,8));var d=n.createNewExpression(n.createIdentifier("Promise"),void 0,[i]);return l.esModuleInterop?n.createCallExpression(n.createPropertyAccessExpression(d,n.createIdentifier("then")),void 0,[a().createImportStarCallbackHelper()]):d}function O(t,r){var i,o=n.createCallExpression(n.createPropertyAccessExpression(n.createIdentifier("Promise"),"resolve"),void 0,[]),s=n.createCallExpression(n.createIdentifier("require"),void 0,t?[t]:[]);return l.esModuleInterop&&(s=a().createImportStarHelper(s)),p>=2?i=n.createArrowFunction(void 0,void 0,[],void 0,void 0,s):(i=n.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,n.createBlock([n.createReturnStatement(s)])),r&&e.setEmitFlags(i,8)),n.createCallExpression(n.createPropertyAccessExpression(o,"then"),void 0,[i])}function R(t,r){return!l.esModuleInterop||67108864&e.getEmitFlags(t)?r:e.getImportNeedsImportStarHelper(t)?a().createImportStarHelper(r):e.getImportNeedsImportDefaultHelper(t)?a().createImportDefaultHelper(r):r}function M(t){var r=e.getExternalModuleNameLiteral(n,t,_,d,u,l),i=[];return r&&i.push(r),n.createCallExpression(n.createIdentifier("require"),void 0,i)}function L(t,r,i){var a=X(t);if(a){for(var o=e.isExportName(t)?r:n.createAssignment(t,r),s=0,c=a;s<c.length;s++){var l=c[s];e.setEmitFlags(o,4),o=G(l,o,i)}return o}return n.createAssignment(t,r)}function j(t){return e.isBindingPattern(t.name)?e.flattenDestructuringAssignment(e.visitNode(t,P),void 0,r,0,!1,L):n.createAssignment(e.setTextRange(n.createPropertyAccessExpression(n.createIdentifier("exports"),t.name),t.name),t.initializer?e.visitNode(t.initializer,P):n.createVoidZero())}function B(t){return!!(4194304&e.getEmitFlags(t))}function z(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 266:e=H(e,n);break;case 267:for(var i=0,a=n.elements;i<a.length;i++){e=H(e,a[i],!0)}}return e}function U(e,t){return h.exportEquals?e:H(e,t)}function q(e,t){if(h.exportEquals)return e;for(var r=0,n=t.declarationList.declarations;r<n.length;r++){e=J(e,n[r])}return e}function J(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=J(t,a))}else e.isGeneratedIdentifier(r.name)||(t=H(t,r));return t}function V(t,r){if(h.exportEquals)return t;e.hasSyntacticModifier(r,1)&&(t=K(t,e.hasSyntacticModifier(r,512)?n.createIdentifier("default"):n.getDeclarationName(r),n.getLocalName(r),r));return 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 l=c[s];t=K(t,l.name,a,l.name,void 0,i)}return t}function K(t,r,i,a,o,s){return t=e.append(t,function(t,r,i,a,o){var s=e.setTextRange(n.createExpressionStatement(G(t,r,void 0,o)),i);e.startOnNewLine(s),a||e.setEmitFlags(s,1536);return s}(r,i,a,o,s)),t}function W(){var t;return t=0===p?n.createExpressionStatement(G(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 G(t,r,i,a){return e.setTextRange(a&&0!==p?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 $(e){switch(e.kind){case 93:case 88:return}return e}function Y(t){var r,i;if(4096&e.getEmitFlags(t)){var a=e.getExternalHelpersModuleName(_);return a?n.createPropertyAccessExpression(a,t):t}if((!e.isGeneratedIdentifier(t)||64&t.autoGenerateFlags)&&!e.isLocalName(t)){var o=u.getReferencedExportContainer(t,e.isExportName(t));if(o&&300===o.kind)return e.setTextRange(n.createPropertyAccessExpression(n.createIdentifier("exports"),n.cloneNode(t)),t);var s=u.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 X(t){if(!e.isGeneratedIdentifier(t)){var r=u.getReferencedImportDeclaration(t)||u.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";'}}(d||(d={})),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(),l=t.onSubstituteNode,u=t.onEmitNode;t.onSubstituteNode=function(t,n){if(function(e){return h&&e.id&&h[e.id]}(n=l(t,n)))return n;if(1===t)return function(t){switch(t.kind){case 78:return function(t){var n,i;if(4096&e.getEmitFlags(t)){var a=e.getExternalHelpersModuleName(d);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 218: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=W(t.left);if(r){for(var n=t,i=0,a=r;i<a.length;i++){n=U(a[i],G(n))}return n}}return t}(t);case 216:case 217:return function(t){if((45===t.operator||46===t.operator)&&e.isIdentifier(t.operand)&&!e.isGeneratedIdentifier(t.operand)&&!e.isLocalName(t.operand)&&!e.isDeclarationNameOfEnumOrNamespace(t.operand)){var n=W(t.operand);if(n){for(var i=217===t.kind?e.setTextRange(r.createPrefixUnaryExpression(t.operator,t.operand),t):t,a=0,o=n;a<o.length;a++){i=U(o[a],G(i))}return 217===t.kind&&(i=45===t.operator?r.createSubtract(G(i),r.createNumericLiteral(1)):r.createAdd(G(i),r.createNumericLiteral(1))),i}}return t}(t);case 228:return function(t){if(e.isImportMeta(t))return r.createPropertyAccessExpression(m,r.createIdentifier("meta"));return t}(t)}return t}(n);if(4===t)return function(t){if(292===t.kind)return 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);return t}(n);return n},t.onEmitNode=function(t,r,n){if(300===r.kind){var i=e.getOriginalNodeId(r);d=r,p=y[i],f=b[i],h=k[i],m=x[i],h&&delete k[i],u(t,r,n),d=void 0,p=void 0,f=void 0,m=void 0,h=void 0}else u(t,r,n)},t.enableSubstitution(78),t.enableSubstitution(292),t.enableSubstitution(218),t.enableSubstitution(216),t.enableSubstitution(217),t.enableSubstitution(228),t.enableEmitNotification(300);var d,p,f,m,g,_,h,y=[],v=[],b=[],k=[],x=[];return e.chainBundle(t,(function(a){if(a.isDeclarationFile||!(e.isEffectiveExternalModule(a,o)||2097152&a.transformFlags))return a;var l=e.getOriginalNodeId(a);d=a,_=a,p=y[l]=e.collectExternalModuleInfo(t,a,s,o),f=r.createUniqueName("exports"),b[l]=f,m=x[l]=r.createUniqueName("context");var u=function(t){for(var n=new e.Map,i=[],a=0,l=t;a<l.length;a++){var u=l[a],p=e.getExternalModuleNameLiteral(r,u,d,c,s,o);if(p){var f=p.text,m=n.get(f);void 0!==m?i[m].externalImports.push(u):(n.set(f,i.length),i.push({name:p,externalImports:[u]}))}}return i}(p.externalImports),v=function(t,a){var s=[];n();var c=e.getStrictOptionValue(o,"alwaysStrict")||!o.noImplicitUseStrict&&e.isExternalModule(d),l=r.copyPrologue(t.statements,s,c,D);s.push(r.createVariableStatement(void 0,r.createVariableDeclarationList([r.createVariableDeclaration("__moduleName",void 0,void 0,r.createLogicalAnd(m,r.createPropertyAccessExpression(m,"id")))]))),e.visitNode(p.externalHelpersImportDeclaration,D,e.isStatement);var u=e.visitNodes(t.statements,D,e.isStatement,l);e.addRange(s,g),e.insertStatementsAfterStandardPrologue(s,i());var f=function(e){if(!p.hasExportStarsToExportValues)return;if(!p.exportedNames&&0===p.exportSpecifiers.size){for(var t=!1,n=0,i=p.externalImports;n<i.length;n++){var a=i[n];if(270===a.kind&&a.exportClause){t=!0;break}}if(!t){var o=E(void 0);return e.push(o),o.name}}var s=[];if(p.exportedNames)for(var c=0,l=p.exportedNames;c<l.length;c++){var u=l[c];"default"!==u.escapedText&&s.push(r.createPropertyAssignment(r.createStringLiteralFromNode(u),r.createTrue()))}var d=r.createUniqueName("exportedNames");e.push(r.createVariableStatement(void 0,r.createVariableDeclarationList([r.createVariableDeclaration(d,void 0,void 0,r.createObjectLiteralExpression(s,!0))])));var f=E(d);return e.push(f),f.name}(s),_=524288&t.transformFlags?r.createModifiersFromModifierFlags(256):void 0,h=r.createObjectLiteralExpression([r.createPropertyAssignment("setters",S(f,a)),r.createPropertyAssignment("execute",r.createFunctionExpression(_,void 0,void 0,void 0,[],void 0,r.createBlock(u,!0)))],!0);return s.push(r.createReturnStatement(h)),r.createBlock(s,!0)}(a,u),w=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,m)],void 0,v),T=e.tryGetModuleNameFromFile(r,a,c,o),C=r.createArrayLiteralExpression(e.map(u,(function(e){return e.name}))),A=e.setEmitFlags(r.updateSourceFile(a,e.setTextRange(r.createNodeArray([r.createExpressionStatement(r.createCallExpression(r.createPropertyAccessExpression(r.createIdentifier("System"),"register"),void 0,T?[T,C,w]:[C,w]))]),a.statements)),1024);e.outFile(o)||e.moveEmitHelpers(A,v,(function(e){return!e.scoped}));h&&(k[l]=h,h=void 0);return d=void 0,p=void 0,f=void 0,m=void 0,g=void 0,_=void 0,A}));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,d)})),l=c?r.getGeneratedNameForNode(c):r.createUniqueName(""),u=[],p=0,m=s.externalImports;p<m.length;p++){var g=m[p],_=e.getLocalNameForExternalImport(r,g,d);switch(g.kind){case 264:if(!g.importClause)break;case 263:e.Debug.assert(void 0!==_),u.push(r.createExpressionStatement(r.createAssignment(_,l)));break;case 270:if(e.Debug.assert(void 0!==_),g.exportClause)if(e.isNamedExports(g.exportClause)){for(var h=[],y=0,v=g.exportClause.elements;y<v.length;y++){var b=v[y];h.push(r.createPropertyAssignment(r.createStringLiteral(e.idText(b.name)),r.createElementAccessExpression(l,r.createStringLiteral(e.idText(b.propertyName||b.name)))))}u.push(r.createExpressionStatement(r.createCallExpression(f,void 0,[r.createObjectLiteralExpression(h,!0)])))}else u.push(r.createExpressionStatement(r.createCallExpression(f,void 0,[r.createStringLiteral(e.idText(g.exportClause.name)),l])));else u.push(r.createExpressionStatement(r.createCallExpression(t,void 0,[l])))}}i.push(r.createFunctionExpression(void 0,void 0,void 0,void 0,[r.createParameterDeclaration(void 0,void 0,void 0,l)],void 0,r.createBlock(u,!0)))}return r.createArrayLiteralExpression(i,!0)}function D(t){switch(t.kind){case 264:return function(t){var n;t.importClause&&a(e.getLocalNameForExternalImport(r,t,d));if(I(t)){var i=e.getOriginalNodeId(t);v[i]=F(v[i],t)}else n=F(n,t);return e.singleOrMany(n)}(t);case 263: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,d)),I(t)){var i=e.getOriginalNodeId(t);v[i]=O(v[i],t)}else n=O(n,t);return e.singleOrMany(n)}(t);case 270:return function(t){return void e.Debug.assertIsDefined(t)}(t);case 269:return function(t){if(t.isExportEquals)return;var n=e.visitNode(t.expression,V,e.isExpression),i=t.original;if(!i||!I(i))return z(r.createIdentifier("default"),n,!0);var a=e.getOriginalNodeId(t);v[a]=B(v[a],r.createIdentifier("default"),n,!0)}(t);default:return q(t)}}function w(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)||w(o)}else a(r.cloneNode(t.name))}function T(t){return!(2097152&e.getEmitFlags(t)||300!==_.kind&&3&e.getOriginalNode(t).flags)}function C(r,n){var i=n?A:N;return e.isBindingPattern(r.name)?e.flattenDestructuringAssignment(r,V,t,0,!1,i):r.initializer?i(r.name,e.visitNode(r.initializer,V,e.isExpression)):r.name}function A(e,t,r){return P(e,t,r,!0)}function N(e,t,r){return P(e,t,r,!1)}function P(t,n,i,o){return a(r.cloneNode(t)),o?U(t,G(e.setTextRange(r.createAssignment(t,n),i))):G(e.setTextRange(r.createAssignment(t,n),i))}function I(t){return!!(4194304&e.getEmitFlags(t))}function F(e,t){if(p.exportEquals)return e;var r=t.importClause;if(!r)return e;r.name&&(e=j(e,r));var n=r.namedBindings;if(n)switch(n.kind){case 266:e=j(e,n);break;case 267:for(var i=0,a=n.elements;i<a.length;i++){e=j(e,a[i])}}return e}function O(e,t){return p.exportEquals?e:j(e,t)}function R(e,t,r){if(p.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(p.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=B(t,n.name,r.getLocalName(n)),c=e.idText(n.name)),t=j(t,n,c)}return t}function L(t,n){if(p.exportEquals)return t;var i;if(e.hasSyntacticModifier(n,1)){var a=e.hasSyntacticModifier(n,512)?r.createStringLiteral("default"):n.name;t=B(t,a,r.getLocalName(n)),i=e.getTextOfIdentifierOrLiteral(a)}return n.name&&(t=j(t,n,i)),t}function j(t,n,i){if(p.exportEquals)return t;var a=r.getDeclarationName(n),o=p.exportSpecifiers.get(e.idText(a));if(o)for(var s=0,c=o;s<c.length;s++){var l=c[s];l.name.escapedText!==i&&(t=B(t,l.name,a))}return t}function B(t,r,n,i){return t=e.append(t,z(r,n,i))}function z(t,n,i){var a=r.createExpressionStatement(U(t,n));return e.startOnNewLine(a),i||e.setEmitFlags(a,1536),a}function U(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 q(n){switch(n.kind){case 234:return function(t){if(!T(t.declarationList))return e.visitNode(t,V,e.isStatement);for(var n,i,a=e.hasSyntacticModifier(t,1),o=I(t),s=0,c=t.declarationList.declarations;s<c.length;s++){var l=c[s];l.initializer?n=e.append(n,C(l,a&&!o)):w(l)}if(n&&(i=e.append(i,e.setTextRange(r.createExpressionStatement(r.inlineExpressions(n)),t))),o){var u=e.getOriginalNodeId(t);v[u]=R(v[u],t,a)}else i=R(i,t,!1);return e.singleOrMany(i)}(n);case 253:return function(n){if(g=e.hasSyntacticModifier(n,1)?e.append(g,r.updateFunctionDeclaration(n,n.decorators,e.visitNodes(n.modifiers,K,e.isModifier),n.asteriskToken,r.getDeclarationName(n,!0,!0),void 0,e.visitNodes(n.parameters,V,e.isParameterDeclaration),void 0,e.visitNode(n.body,V,e.isBlock))):e.append(g,e.visitEachChild(n,V,t)),I(n)){var i=e.getOriginalNodeId(n);v[i]=L(v[i],n)}else g=L(g,n)}(n);case 254: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,V,e.isDecorator),void 0,t.name,void 0,e.visitNodes(t.heritageClauses,V,e.isHeritageClause),e.visitNodes(t.members,V,e.isClassElement)),t))),t)),I(t)){var o=e.getOriginalNodeId(t);v[o]=L(v[o],t)}else n=L(n,t);return e.singleOrMany(n)}(n);case 239:return function(t){var n=_;return _=t,t=r.updateForStatement(t,t.initializer&&J(t.initializer),e.visitNode(t.condition,V,e.isExpression),e.visitNode(t.incrementor,V,e.isExpression),e.visitNode(t.statement,q,e.isStatement)),_=n,t}(n);case 240:return function(t){var n=_;return _=t,t=r.updateForInStatement(t,J(t.initializer),e.visitNode(t.expression,V,e.isExpression),e.visitNode(t.statement,q,e.isStatement,r.liftToBlock)),_=n,t}(n);case 241:return function(t){var n=_;return _=t,t=r.updateForOfStatement(t,t.awaitModifier,J(t.initializer),e.visitNode(t.expression,V,e.isExpression),e.visitNode(t.statement,q,e.isStatement,r.liftToBlock)),_=n,t}(n);case 237:return function(t){return r.updateDoStatement(t,e.visitNode(t.statement,q,e.isStatement,r.liftToBlock),e.visitNode(t.expression,V,e.isExpression))}(n);case 238:return function(t){return r.updateWhileStatement(t,e.visitNode(t.expression,V,e.isExpression),e.visitNode(t.statement,q,e.isStatement,r.liftToBlock))}(n);case 247:return function(t){return r.updateLabeledStatement(t,t.label,e.visitNode(t.statement,q,e.isStatement,r.liftToBlock))}(n);case 245:return function(t){return r.updateWithStatement(t,e.visitNode(t.expression,V,e.isExpression),e.visitNode(t.statement,q,e.isStatement,r.liftToBlock))}(n);case 246:return function(t){return r.updateSwitchStatement(t,e.visitNode(t.expression,V,e.isExpression),e.visitNode(t.caseBlock,q,e.isCaseBlock))}(n);case 261:return function(t){var n=_;return _=t,t=r.updateCaseBlock(t,e.visitNodes(t.clauses,q,e.isCaseOrDefaultClause)),_=n,t}(n);case 287:return function(t){return r.updateCaseClause(t,e.visitNode(t.expression,V,e.isExpression),e.visitNodes(t.statements,q,e.isStatement))}(n);case 288:case 249:return function(r){return e.visitEachChild(r,q,t)}(n);case 290:return function(t){var n=_;return _=t,t=r.updateCatchClause(t,t.variableDeclaration,e.visitNode(t.block,q,e.isBlock)),_=n,t}(n);case 232:return function(r){var n=_;return _=r,r=e.visitEachChild(r,q,t),_=n,r}(n);case 341:return function(t){if(I(t)&&234===t.original.kind){var r=e.getOriginalNodeId(t),n=e.hasSyntacticModifier(t.original,1);v[r]=R(v[r],t.original,n)}return t}(n);case 342: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(j(n,i),t):t}(n);default:return V(n)}}function J(n){if(function(t){return e.isVariableDeclarationList(t)&&T(t)}(n)){for(var i=void 0,a=0,o=n.declarations;a<o.length;a++){var s=o[a];i=e.append(i,C(s,!1)),s.initializer||w(s)}return i?r.inlineExpressions(i):r.createOmittedExpression()}return e.visitEachChild(n,q,t)}function V(n){return e.isDestructuringAssignment(n)?function(r){if(H(r.left))return e.flattenDestructuringAssignment(r,V,t,0,!0);return e.visitEachChild(r,V,t)}(n):e.isImportCall(n)?function(t){var n=e.getExternalModuleNameLiteral(r,t,d,c,s,o),i=e.visitNode(e.firstOrUndefined(t.arguments),V),a=!n||i&&e.isStringLiteral(i)&&i.text===n.text?i:n;return r.createCallExpression(r.createPropertyAccessExpression(m,r.createIdentifier("import")),void 0,a?[a]:[])}(n):1024&n.transformFlags||2097152&n.transformFlags?e.visitEachChild(n,V,t):n}function H(t){if(e.isAssignmentExpression(t,!0))return H(t.left);if(e.isSpreadElement(t))return H(t.expression);if(e.isObjectLiteralExpression(t))return e.some(t.properties,H);if(e.isArrayLiteralExpression(t))return e.some(t.elements,H);if(e.isShorthandPropertyAssignment(t))return H(t.name);if(e.isPropertyAssignment(t))return H(t.initializer);if(e.isIdentifier(t)){var r=s.getReferencedExportContainer(t);return void 0!==r&&300===r.kind}return!1}function K(e){switch(e.kind){case 93:case 88:return}return e}function W(t){var n;if(!e.isGeneratedIdentifier(t)){var i=s.getReferencedImportDeclaration(t)||s.getReferencedValueDeclaration(t);if(i){var a=s.getReferencedExportContainer(t,!1);a&&300===a.kind&&(n=e.append(n,r.getDeclarationName(i))),n=e.addRange(n,p&&p.exportedBindings[e.getOriginalNodeId(i)])}}return n}function G(t){return void 0===h&&(h=[]),h[e.getNodeId(t)]=!0,t}}}(d||(d={})),function(e){e.transformECMAScriptModule=function(t){var r,n=t.factory,a=t.getEmitHelperFactory,o=t.getCompilerOptions(),s=t.onEmitNode,c=t.onSubstituteNode;return t.onEmitNode=function(t,n,i){e.isSourceFile(n)?((e.isExternalModule(n)||o.isolatedModules)&&o.importHelpers&&(r=new e.Map),s(t,n,i),r=void 0):s(t,n,i)},t.onSubstituteNode=function(t,i){if(i=c(t,i),r&&e.isIdentifier(i)&&4096&e.getEmitFlags(i))return function(t){var i=e.idText(t),a=r.get(i);a||r.set(i,a=n.createUniqueName(i,48));return a}(i);return i},t.enableEmitNotification(300),t.enableSubstitution(78),e.chainBundle(t,(function(r){if(r.isDeclarationFile)return r;if(e.isExternalModule(r)||o.isolatedModules){var s=function(r){var i=e.createExternalHelpersImportDeclarationIfNeeded(n,a(),r,o);if(i){var s=[],c=n.copyPrologue(r.statements,s);return e.append(s,i),e.addRange(s,e.visitNodes(r.statements,l,e.isStatement,c)),n.updateSourceFile(r,e.setTextRange(n.createNodeArray(s),r.statements))}return e.visitEachChild(r,l,t)}(r);return!e.isExternalModule(r)||e.some(s.statements,e.isExternalModuleIndicator)?s:n.updateSourceFile(s,e.setTextRange(n.createNodeArray(i(i([],s.statements),[e.createEmptyExports(n)])),s.statements))}return r}));function l(t){switch(t.kind){case 263:return;case 269:return function(e){return e.isExportEquals?void 0:e}(t);case 270:return function(t){if(void 0!==o.module&&o.module>e.ModuleKind.ES2015)return t;if(!t.exportClause||!e.isNamespaceExport(t.exportClause)||!t.moduleSpecifier)return t;var r=t.exportClause.name,i=n.getGeneratedNameForNode(r),a=n.createImportDeclaration(void 0,void 0,n.createImportClause(!1,void 0,n.createNamespaceImport(i)),t.moduleSpecifier);e.setOriginalNode(a,t.exportClause);var s=e.isExportNamespaceAsDefaultDeclaration(t)?n.createExportDefault(i):n.createExportDeclaration(void 0,void 0,!1,n.createNamedExports([n.createExportSpecifier(i,r)]));return e.setOriginalNode(s,t),[a,s]}(t)}return t}}}(d||(d={})),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){var n;n=169===t.kind?e.hasSyntacticModifier(t,32)?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.hasSyntacticModifier(t,32)?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;return{diagnosticMessage:n,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 171: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 170: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 172: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 166:case 165:n=e.hasSyntacticModifier(t,32)?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:254===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 253: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 167: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 171:case 176: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 170: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 172: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 166:case 165:return e.hasSyntacticModifier(t.parent,32)?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:254===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 253:case 175: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 169:case 168: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: "+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 254:r=e.Diagnostics.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 256:r=e.Diagnostics.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 191:r=e.Diagnostics.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 176:case 171:r=e.Diagnostics.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 170:r=e.Diagnostics.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 166:case 165:r=e.hasSyntacticModifier(t.parent,32)?e.Diagnostics.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:254===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 175:case 253:r=e.Diagnostics.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 257: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(){var r;r=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;return{diagnosticMessage:r,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: "+e.SyntaxKind[t.kind]);function r(r){var n=function(r){return 251===t.kind||199===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:164===t.kind||202===t.kind||163===t.kind||161===t.kind&&e.hasSyntacticModifier(t.parent,8)?e.hasSyntacticModifier(t,32)?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:254===t.parent.kind||161===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.hasSyntacticModifier(r,32)?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:254===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.hasSyntacticModifier(r,32)?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:254===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}(d||(d={})),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&&161===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 l=i&&e.getLeadingCommentRangesOfNode(i,n);return!!e.forEach(l,(function(e){return t(e,n)}))}e.getDeclarationDiagnostics=function(t,r,n){var i=t.getCompilerOptions();return e.transformNodes(r,t,e.factory,i,n?[n]:e.filter(t.getSourceFiles(),e.isSourceFileNotJson),[o],!1).diagnostics},e.isInternalDeclaration=r;var n=531469;function o(t){var o,l,u,d,p,f,m,g,_,h,y,v,b=function(){return e.Debug.fail("Diagnostic emitted without context")},k=b,x=!0,E=!1,S=!1,D=!1,w=!1,T=t.factory,C=t.getEmitHost(),A={trackSymbol:function(e,t,r){if(262144&e.flags)return;R(N.isSymbolAccessible(e,t,r,!0)),O(N.getTypeReferenceDirectivesForSymbol(e,r))},reportInaccessibleThisError:function(){m&&t.addDiagnostic(e.createDiagnosticForNode(m,e.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,e.declarationNameToString(m),"this"))},reportInaccessibleUniqueSymbolError:function(){m&&t.addDiagnostic(e.createDiagnosticForNode(m,e.Diagnostics.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,e.declarationNameToString(m),"unique symbol"))},reportCyclicStructureError:function(){m&&t.addDiagnostic(e.createDiagnosticForNode(m,e.Diagnostics.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary,e.declarationNameToString(m)))},reportPrivateInBaseOfClassExpression:function(r){(m||g)&&t.addDiagnostic(e.createDiagnosticForNode(m||g,e.Diagnostics.Property_0_of_exported_class_expression_may_not_be_private_or_protected,r))},reportLikelyUnsafeImportRequiredError:function(r){m&&t.addDiagnostic(e.createDiagnosticForNode(m,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,e.declarationNameToString(m),r))},reportTruncationError:function(){(m||g)&&t.addDiagnostic(e.createDiagnosticForNode(m||g,e.Diagnostics.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed))},moduleResolverHost:C,trackReferencedAmbientModule:function(t,r){var n=N.getTypeReferenceDirectivesForSymbol(r,67108863);if(e.length(n))return O(n);var i=e.getSourceFileOfNode(t);h.set(e.getOriginalNodeId(i),i)},trackExternalModuleSymbolOfImportTypeNode:function(e){E||(f||(f=[])).push(e)},reportNonlocalAugmentation:function(r,n,i){for(var a=e.find(n.declarations,(function(t){return e.getSourceFileOfNode(t)===r})),o=e.filter(i.declarations,(function(t){return e.getSourceFileOfNode(t)!==r})),s=0,c=o;s<c.length;s++){var l=c[s];t.addDiagnostic(e.addRelatedInfo(e.createDiagnosticForNode(l,e.Diagnostics.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized),e.createDiagnosticForNode(a,e.Diagnostics.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file)))}}},N=t.getEmitResolver(),P=t.getCompilerOptions(),I=P.noResolve,F=P.stripInternal;return function(r){if(300===r.kind&&r.isDeclarationFile)return r;if(301===r.kind){E=!0,h=new e.Map,y=new e.Map;var n=!1,s=T.createBundle(e.map(r.sourceFiles,(function(r){if(!r.isDeclarationFile){if(n=n||r.hasNoDefaultLib,_=r,o=r,u=void 0,p=!1,d=new e.Map,k=b,D=!1,w=!1,L(r,h),j(r,y),e.isExternalOrCommonJsModule(r)||e.isJsonSourceFile(r)){S=!1,x=!1;var i=e.isSourceFileJS(r)?T.createNodeArray(M(r,!0)):e.visitNodes(r.statements,re);return T.updateSourceFile(r,[T.createModuleDeclaration([],[T.createModifier(134)],T.createStringLiteral(e.getResolvedExternalModuleName(t.getEmitHost(),r)),T.createModuleBlock(e.setTextRange(T.createNodeArray(Z(i)),r.statements)))],!0,[],[],!1,[])}x=!0;var a=e.isSourceFileJS(r)?T.createNodeArray(M(r)):e.visitNodes(r.statements,re);return T.updateSourceFile(r,Z(a),!0,[],[],!1,[])}})),e.mapDefined(r.prepends,(function(t){if(303===t.kind){var r=e.createUnparsedSourceFile(t,"dts",F);return n=n||!!r.hasNoDefaultLib,L(r,h),O(r.typeReferenceDirectives),j(r,y),r}return t})));s.syntheticFileReferences=[],s.syntheticTypeReferences=U(),s.syntheticLibReferences=z(),s.hasNoDefaultLib=n;var c=e.getDirectoryPath(e.normalizeSlashes(e.getOutputPathsFor(r,C,!0).declarationFilePath)),m=J(s.syntheticFileReferences,c);return h.forEach(m),s}x=!0,D=!1,w=!1,o=r,_=r,k=b,E=!1,S=!1,p=!1,u=void 0,d=new e.Map,l=void 0,h=L(_,new e.Map),y=j(_,new e.Map);var g,A=[],N=e.getDirectoryPath(e.normalizeSlashes(e.getOutputPathsFor(r,C,!0).declarationFilePath)),I=J(A,N);if(e.isSourceFileJS(_))g=T.createNodeArray(M(r)),h.forEach(I),v=e.filter(g,e.isAnyImportSyntax);else{var R=e.visitNodes(r.statements,re);g=e.setTextRange(T.createNodeArray(Z(R)),r.statements),h.forEach(I),v=e.filter(g,e.isAnyImportSyntax),e.isExternalModule(r)&&(!S||D&&!w)&&(g=e.setTextRange(T.createNodeArray(i(i([],g),[e.createEmptyExports(T)])),g))}var B=T.updateSourceFile(r,g,!0,A,U(),r.hasNoDefaultLib,z());return B.exportedModulesFromDeclarationEmit=f,B;function z(){return e.map(e.arrayFrom(y.keys()),(function(e){return{fileName:e,pos:-1,end:-1}}))}function U(){return l?e.mapDefined(e.arrayFrom(l.keys()),q):[]}function q(t){if(v)for(var r=0,n=v;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 o;if(i.isDeclarationFile)o=i.fileName;else{if(E&&e.contains(r.sourceFiles,i))return;var s=e.getOutputPathsFor(i,C,!0);o=s.declarationFilePath||s.jsFilePath||i.fileName}if(o){var c=e.moduleSpecifiers.getModuleSpecifier(a(a({},P),{baseUrl:P.baseUrl&&e.toPath(P.baseUrl,C.getCurrentDirectory(),C.getCanonicalFileName)}),_,e.toPath(n,C.getCurrentDirectory(),C.getCanonicalFileName),e.toPath(o,C.getCurrentDirectory(),C.getCanonicalFileName),C,void 0);if(!e.pathIsRelative(c))return void O([c]);var l=e.getRelativePathToDirectoryOrUrl(n,o,C.getCurrentDirectory(),C.getCanonicalFileName,!1);if(e.startsWith(l,"./")&&e.hasExtension(l)&&(l=l.substring(2)),function(t){return e.startsWith(t,"node_modules/")||e.pathContainsNodeModules(t)}(l)||e.isOhpm(P.packageManagerType)&&function(t){return e.startsWith(t,"oh_modules/")||e.pathContainsOHModules(t)}(l))return;t.push({pos:-1,end:-1,fileName:l})}}}};function O(t){if(t){l=l||new e.Set;for(var r=0,n=t;r<n.length;r++){var i=n[r];l.add(i)}}}function R(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=k(r);o&&(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)))}}function M(t,r){var i=k;k=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 k=i,a}function L(t,r){return I||!e.isUnparsedSource(t)&&e.isSourceFileJS(t)||e.forEach(t.referencedFiles,(function(n){var i=C.getSourceFileFromReference(t,n);i&&r.set(e.getOriginalNodeId(i),i)})),r}function j(t,r){return e.forEach(t.libReferenceDirectives,(function(t){C.getLibFileFromReference(t)&&r.set(e.toFileNameLowerCase(t.fileName),!0)})),r}function B(t){return 78===t.kind?t:198===t.kind?T.updateArrayBindingPattern(t,e.visitNodes(t.elements,r)):T.updateObjectBindingPattern(t,e.visitNodes(t.elements,r));function r(e){return 224===e.kind?e:T.updateBindingElement(e,e.dotDotDotToken,e.propertyName,B(e.name),U(e)?e.initializer:void 0)}}function z(t,r,n){var i;p||(i=k,k=e.createGetSymbolAccessibilityDiagnosticForNode(t));var a=T.updateParameterDeclaration(t,void 0,function(t,r,n){return e.factory.createModifiersFromModifierFlags(s(t,r,n))}(t,r),t.dotDotDotToken,B(t.name),N.isOptionalParameter(t)?t.questionToken||T.createToken(57):void 0,J(t,n||t.type,!0),q(t));return p||(k=i),a}function U(t){return function(t){switch(t.kind){case 164:case 163:return!e.hasEffectiveModifier(t,8);case 161:case 251:return!0}return!1}(t)&&N.isLiteralConstDeclaration(e.getParseTreeNode(t))}function q(t){if(U(t))return N.createLiteralConstValue(e.getParseTreeNode(t),A)}function J(t,r,i){if((i||!e.hasEffectiveModifier(t,8))&&!(U(t)||void 0!==r&&e.isTypeReferenceNode(r)&&r.typeName.virtual)){var a,s=161===t.kind&&(N.isRequiredInitializedParameter(t)||N.isOptionalUninitializedParameterProperty(t));return r&&!s?e.visitNode(r,ee):e.getParseTreeNode(t)?169===t.kind?T.createKeywordTypeNode(129):(m=t.name,p||(a=k,k=e.createGetSymbolAccessibilityDiagnosticForNode(t)),251===t.kind||199===t.kind?c(N.createTypeOfDeclaration(t,o,n,A)):161===t.kind||164===t.kind||163===t.kind?t.initializer?c(N.createTypeOfDeclaration(t,o,n,A,s)||N.createTypeOfExpression(t.initializer,o,n,A)):c(N.createTypeOfDeclaration(t,o,n,A,s)):c(N.createReturnTypeOfSignatureDeclaration(t,o,n,A))):r?e.visitNode(r,ee):T.createKeywordTypeNode(129)}function c(e){return m=void 0,p||(k=a),e||T.createKeywordTypeNode(129)}}function V(t){switch((t=e.getParseTreeNode(t)).kind){case 253:case 259:case 256:case 254:case 255:case 257:case 258:return!N.isDeclarationVisible(t);case 251:return!H(t);case 263:case 264:case 270:case 269:return!1}return!1}function H(t){return!e.isOmittedExpression(t)&&(e.isBindingPattern(t.name)?e.some(t.name.elements,H):N.isDeclarationVisible(t))}function K(t,r,n){if(!e.hasEffectiveModifier(t,8)){var i=e.map(r,(function(e){return z(e,n)}));if(i)return T.createNodeArray(i,r.hasTrailingComma)}}function W(t,r){var n;if(!r){var i=e.getThisParameter(t);i&&(n=[z(i)])}if(e.isSetAccessorDeclaration(t)){var a=void 0;if(!r){var o=e.getSetAccessorValueParameter(t);if(o)a=z(o,void 0,ue(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.isStructDeclaration(t)||e.isInterfaceDeclaration(t)||e.isFunctionLike(t)||e.isIndexSignatureDeclaration(t)||e.isMappedTypeNode(t)}function Y(e,t){R(N.isEntityNameVisible(e,t)),O(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(S=S||259!==r.kind&&196!==r.kind,e.isStringLiteralLike(n))if(E){var i=e.getExternalModuleNameFromDeclaration(t.getEmitHost(),N,r);if(i)return T.createStringLiteral(i)}else{var a=N.getSymbolOfExternalModuleSpecifier(n);a&&(f||(f=[])).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!: "+(e.SyntaxKind?e.SyntaxKind[r.kind]:r.kind));var n=x;x=r.parent&&e.isSourceFile(r.parent)&&!(e.isExternalModule(r.parent)&&E);var i=ie(r);x=n,d.set(e.getOriginalNodeId(r),i)}return e.visitNodes(t,(function(t){if(e.isLateVisibilityPaintedStatement(t)){var r=e.getOriginalNodeId(t);if(d.has(r)){var n=d.get(r);return d.delete(r),n&&((e.isArray(n)?e.some(n,e.needsScopeMarker):e.needsScopeMarker(n))&&(D=!0),e.isSourceFile(t.parent)&&(e.isArray(n)?e.some(n,e.isExternalModuleIndicator):e.isExternalModuleIndicator(n))&&(S=!0)),n}}return t}))}function ee(r){if(!oe(r)){if(e.isDeclaration(r)){if(V(r))return;if(e.hasDynamicName(r)&&!N.isLateBound(e.getParseTreeNode(r)))return}if(!(e.isFunctionLike(r)&&N.isImplementationOfOverload(r)||e.isSemicolonClassElement(r))){var n;$(r)&&(n=o,o=r);var i=k,a=e.canProduceDiagnostics(r),s=p,c=(178===r.kind||191===r.kind)&&257!==r.parent.kind;if((e.isMethodDeclaration(r)||e.isMethodSignature(r))&&e.hasEffectiveModifier(r,8)){if(r.symbol&&r.symbol.declarations&&r.symbol.declarations[0]!==r)return;return b(T.createPropertyDeclaration(void 0,ce(r),r.name,void 0,void 0,void 0))}if(a&&!p&&(k=e.createGetSymbolAccessibilityDiagnosticForNode(r)),e.isTypeQueryNode(r)&&Y(r.exprName,o),c&&(p=!0),function(e){switch(e.kind){case 171:case 167:case 166:case 168:case 169:case 164:case 163:case 165:case 170:case 172:case 251:case 160:case 225:case 174:case 185:case 175:case 176:case 196:return!0}return!1}(r))switch(r.kind){case 225:(e.isEntityName(r.expression)||e.isEntityNameExpression(r.expression))&&Y(r.expression,o);var l=e.visitEachChild(r,ee,t);return b(T.updateExpressionWithTypeArguments(l,l.expression,l.typeArguments));case 174:Y(r.typeName,o);l=e.visitEachChild(r,ee,t);return b(T.updateTypeReferenceNode(l,l.typeName,l.typeArguments));case 171:return b(T.updateConstructSignature(r,G(r,r.typeParameters),K(r,r.parameters),J(r,r.type)));case 167:return b(T.createConstructorDeclaration(void 0,ce(r),K(r,r.parameters,0),void 0));case 166:if(e.isPrivateIdentifier(r.name))return b(void 0);var u=void 0;return 255===r.parent.kind&&(u=le(r)),b(T.createMethodDeclaration(u,ce(r),void 0,r.name,r.questionToken,te(r)?void 0:G(r,r.typeParameters),K(r,r.parameters),J(r,r.type),void 0));case 168:if(e.isPrivateIdentifier(r.name))return b(void 0);var d=ue(r,N.getAllAccessorDeclarations(r));return b(T.updateGetAccessorDeclaration(r,void 0,ce(r),r.name,W(r,e.hasEffectiveModifier(r,8)),J(r,d),void 0));case 169:return e.isPrivateIdentifier(r.name)?b(void 0):b(T.updateSetAccessorDeclaration(r,void 0,ce(r),r.name,W(r,e.hasEffectiveModifier(r,8)),void 0));case 164:return e.isPrivateIdentifier(r.name)?b(void 0):b(T.updatePropertyDeclaration(r,255===r.parent.kind?le(r):void 0,ce(r),r.name,r.questionToken,J(r,r.type),q(r)));case 163:return e.isPrivateIdentifier(r.name)?b(void 0):b(T.updatePropertySignature(r,ce(r),r.name,r.questionToken,J(r,r.type)));case 165:return e.isPrivateIdentifier(r.name)?b(void 0):b(T.updateMethodSignature(r,ce(r),r.name,r.questionToken,G(r,r.typeParameters),K(r,r.parameters),J(r,r.type)));case 170:return b(T.updateCallSignature(r,G(r,r.typeParameters),K(r,r.parameters),J(r,r.type)));case 172:return b(T.updateIndexSignature(r,void 0,ce(r),K(r,r.parameters),e.visitNode(r.type,ee)||T.createKeywordTypeNode(129)));case 251:return e.isBindingPattern(r.name)?ae(r.name):(c=!0,p=!0,b(T.updateVariableDeclaration(r,r.name,void 0,J(r,r.type),q(r))));case 160:return function(t){return 166===t.parent.kind&&e.hasEffectiveModifier(t.parent,8)}(r)&&(r.default||r.constraint)?b(T.updateTypeParameterDeclaration(r,r.name,void 0,void 0)):b(e.visitEachChild(r,ee,t));case 185:var f=e.visitNode(r.checkType,ee),g=e.visitNode(r.extendsType,ee),h=o;o=r.trueType;var y=e.visitNode(r.trueType,ee);o=h;var v=e.visitNode(r.falseType,ee);return b(T.updateConditionalTypeNode(r,f,g,y,v));case 175:return b(T.updateFunctionTypeNode(r,e.visitNodes(r.typeParameters,ee),K(r,r.parameters),e.visitNode(r.type,ee)));case 176:return b(T.updateConstructorTypeNode(r,ce(r),e.visitNodes(r.typeParameters,ee),K(r,r.parameters),e.visitNode(r.type,ee)));case 196:return e.isLiteralImportTypeNode(r)?b(T.updateImportTypeNode(r,T.updateLiteralTypeNode(r.argument,Q(r,r.argument.literal)),r.qualifier,e.visitNodes(r.typeArguments,ee,e.isTypeNode),r.isTypeOf)):b(r);default:e.Debug.assertNever(r,"Attempted to process unhandled node kind: "+e.SyntaxKind[r.kind])}return e.isTupleTypeNode(r)&&e.getLineAndCharacterOfPosition(_,r.pos).line===e.getLineAndCharacterOfPosition(_,r.end).line&&e.setEmitFlags(r,1),b(e.visitEachChild(r,ee,t))}}function b(t){return t&&a&&e.hasDynamicName(r)&&function(t){var r;p||(r=k,k=e.createGetSymbolAccessibilityDiagnosticForNodeName(t));m=t.name,e.Debug.assert(N.isLateBound(e.getParseTreeNode(t)));var n=t;Y(n.name.expression,o),p||(k=r);m=void 0}(r),$(r)&&(o=n),a&&!p&&(k=i),c&&(p=s),t===r?t:t&&e.setOriginalNode(X(t,r),r)}}function te(t){var r;if(!(null===(r=C.getCompilerOptions().ets)||void 0===r?void 0:r.styles.component)||8!==e.getSourceFileOfNode(t).scriptKind)return!1;var n=t.decorators;if(void 0===n)return!1;for(var i=0,a=n;i<a.length;i++){var o=a[i];if(e.isIdentifier(o.expression)&&"Styles"===o.expression.escapedText.toString())return!0}return!1}function re(t){if(function(e){switch(e.kind){case 253:case 259:case 263:case 256:case 254:case 255:case 257:case 258:case 234:case 264:case 270:case 269:return!0}return!1}(t)&&!oe(t)){switch(t.kind){case 270:return e.isSourceFile(t.parent)&&(S=!0),w=!0,T.updateExportDeclaration(t,void 0,t.modifiers,t.isTypeOnly,t.exportClause,Q(t,t.moduleSpecifier));case 269:if(e.isSourceFile(t.parent)&&(S=!0),w=!0,78===t.expression.kind)return t;var r=T.createUniqueName("_default",16);k=function(){return{diagnosticMessage:e.Diagnostics.Default_export_of_the_module_has_or_is_using_private_name_0,errorNode:t}},g=t;var i=T.createVariableDeclaration(r,void 0,N.createTypeOfExpression(t.expression,t,n,A),void 0);return g=void 0,[T.createVariableStatement(x?[T.createModifier(134)]:[],T.createVariableDeclarationList([i],2)),T.updateExportAssignment(t,t.decorators,t.modifiers,r)]}var a=ie(t);return d.set(e.getOriginalNodeId(t),a),t}}function ne(t){if(e.isImportEqualsDeclaration(t)||e.hasEffectiveModifier(t,512)||!e.canHaveModifiers(t))return t;var r=T.createModifiersFromModifierFlags(11262&e.getEffectiveModifierFlags(t));return T.updateModifiers(t,r)}function ie(t){if(!oe(t)){switch(t.kind){case 263:return function(t){if(N.isDeclarationVisible(t)){if(275===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=k;return k=e.createGetSymbolAccessibilityDiagnosticForNode(t),Y(t.moduleReference,o),k=n,t}}(t);case 264:return function(t){if(!t.importClause)return T.updateImportDeclaration(t,void 0,t.modifiers,t.importClause,Q(t,t.moduleSpecifier));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));if(266===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}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)):N.isImportRequiredByAugmentation(t)?T.updateImportDeclaration(t,void 0,t.modifiers,void 0,Q(t,t.moduleSpecifier)):void 0}(t)}if(!(e.isDeclaration(t)&&V(t)||e.isFunctionLike(t)&&N.isImplementationOfOverload(t))){var r;$(t)&&(r=o,o=t);var a=e.canProduceDiagnostics(t),s=k;a&&(k=e.createGetSymbolAccessibilityDiagnosticForNode(t));var c=x;switch(t.kind){case 257:return he(T.updateTypeAliasDeclaration(t,void 0,ce(t),t.name,e.visitNodes(t.typeParameters,ee,e.isTypeParameterDeclaration),e.visitNode(t.type,ee,e.isTypeNode)));case 256:return he(T.updateInterfaceDeclaration(t,void 0,ce(t),t.name,G(t,t.typeParameters),de(t.heritageClauses),e.visitNodes(t.members,ee)));case 253:var l=he(T.updateFunctionDeclaration(t,8===e.getSourceFileOfNode(t).scriptKind?le(t):void 0,ce(t),void 0,t.name,te(t)?void 0:G(t,t.typeParameters),K(t,t.parameters),J(t,t.type),void 0));if(l&&N.isExpandoFunctionDeclaration(t)){var u=N.getPropertiesOfContainerFunction(t),p=e.parseNodeFactory.createModuleDeclaration(void 0,void 0,l.name||T.createIdentifier("_default"),T.createModuleBlock([]),16);e.setParent(p,o),p.locals=e.createSymbolTable(u),p.symbol=u[0].parent;var f=[],_=e.mapDefined(u,(function(t){if(e.isPropertyAccessExpression(t.valueDeclaration)){k=e.createGetSymbolAccessibilityDiagnosticForNode(t.valueDeclaration);var r=N.createTypeOfDeclaration(t.valueDeclaration,p,n,A);k=s;var i=e.unescapeLeadingUnderscores(t.escapedName),a=e.isStringANonContextualKeyword(i),o=a?T.getGeneratedNameForNode(t.valueDeclaration):T.createIdentifier(i);a&&f.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]))}}));f.length?_.push(T.createExportDeclaration(void 0,void 0,!1,T.createNamedExports(e.map(f,(function(e){var t=e[0],r=e[1];return T.createExportSpecifier(t,r)}))))):_=e.mapDefined(_,(function(e){return T.updateModifiers(e,0)}));var h=T.createModuleDeclaration(void 0,ce(t),t.name,T.createModuleBlock(_),16);if(!e.hasEffectiveModifier(l,512))return[l,h];var y=T.createModifiersFromModifierFlags(-514&e.getEffectiveModifierFlags(l)|2),v=T.updateFunctionDeclaration(l,l.decorators,y,void 0,l.name,l.typeParameters,l.parameters,l.type,void 0),b=T.updateModuleDeclaration(h,void 0,y,h.name,h.body),E=T.createExportAssignment(void 0,void 0,!1,h.name);return e.isSourceFile(t.parent)&&(S=!0),w=!0,[v,b,E]}return l;case 259:x=!1;var C=t.body;if(C&&260===C.kind){var P=D,I=w;w=!1,D=!1;var F=Z(e.visitNodes(C.statements,re));8388608&t.flags&&(D=!1),e.isGlobalScopeAugmentation(t)||function(t){return e.some(t,se)}(F)||w||(F=D?T.createNodeArray(i(i([],F),[e.createEmptyExports(T)])):e.visitNodes(F,ne));var O=T.updateModuleBlock(C,F);x=c,D=P,w=I;var R=ce(t);return he(T.updateModuleDeclaration(t,void 0,R,e.isExternalModuleAugmentation(t)?Q(t,t.name):t.name,O))}x=c;R=ce(t);x=!1,e.visitNode(C,re);var M=e.getOriginalNodeId(C);O=d.get(M);return d.delete(M),he(T.updateModuleDeclaration(t,void 0,R,t.name,O));case 255:m=t.name,g=t;var L=le(t),j=(y=T.createNodeArray(ce(t)),G(t,t.typeParameters)),B=e.visitNodes(t.members,ee,void 0,1),z=T.createNodeArray(B);return he(T.updateStructDeclaration(t,L,y,t.name,j,void 0,z));case 254:m=t.name,g=t;y=T.createNodeArray(ce(t)),j=G(t,t.typeParameters);var U=e.getFirstConstructorWithBody(t),W=void 0;if(U){var ie=k;W=e.compact(e.flatMap(U.parameters,(function(t){if(e.hasSyntacticModifier(t,92)&&!oe(t))return k=e.createGetSymbolAccessibilityDiagnosticForNode(t),78===t.name.kind?X(T.createPropertyDeclaration(void 0,ce(t),t.name,t.questionToken,J(t,t.type),q(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,ce(t),s.name,void 0,J(s,void 0),void 0)))}return i}(t.name)}))),k=ie}var ae=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,ue=(B=e.concatenate(e.concatenate(ae,W),e.visitNodes(t.members,ee)),z=T.createNodeArray(B),e.getEffectiveBaseTypeNode(t));if(ue&&!e.isEntityNameExpression(ue.expression)&&104!==ue.expression.kind){var pe=t.name?e.unescapeLeadingUnderscores(t.name.escapedText):"default",fe=T.createUniqueName(pe+"_base",16);k=function(){return{diagnosticMessage:e.Diagnostics.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,errorNode:ue,typeName:t.name}};var me=T.createVariableDeclaration(fe,void 0,N.createTypeOfExpression(ue.expression,t,n,A),void 0),ge=T.createVariableStatement(x?[T.createModifier(134)]:[],T.createVariableDeclarationList([me],2)),_e=T.createNodeArray(e.map(t.heritageClauses,(function(t){if(94===t.token){var r=k;k=e.createGetSymbolAccessibilityDiagnosticForNode(t.types[0]);var n=T.updateHeritageClause(t,e.map(t.types,(function(t){return T.updateExpressionWithTypeArguments(t,fe,e.visitNodes(t.typeArguments,ee))})));return k=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[ge,he(T.updateClassDeclaration(t,8===e.getSourceFileOfNode(t).scriptKind?le(t):void 0,y,t.name,j,_e,z))]}_e=de(t.heritageClauses);return he(T.updateClassDeclaration(t,8===e.getSourceFileOfNode(t).scriptKind?le(t):void 0,y,t.name,j,_e,z));case 234:return he(function(t){if(!e.forEach(t.declarationList.declarations,H))return;var r=e.visitNodes(t.declarationList.declarations,ee);if(!e.length(r))return;return T.updateVariableStatement(t,T.createNodeArray(ce(t)),T.updateVariableDeclarationList(t.declarationList,r))}(t));case 258:return he(T.updateEnumDeclaration(t,void 0,T.createNodeArray(ce(t)),t.name,T.createNodeArray(e.mapDefined(t.members,(function(e){if(!oe(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: "+e.SyntaxKind[t.kind])}}function he(n){return $(t)&&(o=r),a&&(k=s),259===t.kind&&(x=c),n===t?n:(g=void 0,m=void 0,n&&e.setOriginalNode(X(n,t),t))}}function ae(t){return e.flatten(e.mapDefined(t.elements,(function(t){return function(t){if(224===t.kind)return;if(t.name){if(!H(t))return;return e.isBindingPattern(t.name)?ae(t.name):T.createVariableDeclaration(t.name,void 0,J(t,void 0),void 0)}}(t)})))}function oe(e){return!!F&&!!e&&r(e,_)}function se(t){return e.isExportAssignment(t)||e.isExportDeclaration(t)}function ce(t){var r=e.getEffectiveModifierFlags(t),n=function(t){var r=11003,n=x&&!function(e){if(256===e.kind)return!0;return!1}(t)?2:0,i=300===t.parent.kind;(!i||E&&i&&e.isExternalModule(t.parent))&&(r^=2,n=0);return s(t,r,n)}(t);return r===n?t.modifiers:T.createModifiersFromModifierFlags(n)}function le(t){if(t.decorators)return T.createNodeArray(e.getEffectiveDecorators(t.decorators,C))}function ue(t,r){var n=c(t);return n||t===r.firstAccessor||(n=c(r.firstAccessor),k=e.createGetSymbolAccessibilityDiagnosticForNode(r.firstAccessor)),!n&&r.secondAccessor&&t!==r.secondAccessor&&(n=c(r.secondAccessor),k=e.createGetSymbolAccessibilityDiagnosticForNode(r.secondAccessor)),n}function de(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 s(t,r,n){void 0===r&&(r=11259),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 c(e){if(e)return 168===e.kind?e.type:e.parameters.length>0?e.parameters[0].type:void 0}e.transformDeclarations=o}(d||(d={})),function(e){var t,r;function n(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,s)),o.push(e.transformTypeScript),o.push(e.transformClassFields),e.getJSXTransformEnabled(t)&&o.push(e.transformJsx),i<99&&o.push(e.transformESNext),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.ES2020:case e.ModuleKind.ES2015:return e.transformECMAScriptModule;case e.ModuleKind.System:return e.transformSystemModule;default:return e.transformModule}}(a)),i<1&&o.push(e.transformES5),e.addRange(o,r&&e.map(r.after,s)),o}function a(t){var r=[];return r.push(e.transformDeclarations),e.addRange(r,t&&e.map(t.afterDeclarations,c)),r}function o(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 s(t){return o(t,e.chainBundle)}function c(e){return o(e,(function(e,t){return t}))}function l(e,t){return t}function u(e,t,r){r(e,t)}!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initialized=1]="Initialized",e[e.Completed=2]="Completed",e[e.Disposed=3]="Disposed"}(t||(t={})),function(e){e[e.Substitution=1]="Substitution",e[e.EmitNotifications=2]="EmitNotifications"}(r||(r={})),e.noTransformers={scriptTransformers:e.emptyArray,declarationTransformers:e.emptyArray},e.getTransformers=function(e,t,r){return{scriptTransformers:n(e,t,r),declarationTransformers:a(t)}},e.noEmitSubstitution=l,e.noEmitNotification=u,e.transformNodes=function(t,r,n,a,o,s,c){for(var d,p,f,m,g=new Array(344),_=0,h=[],y=[],v=[],b=[],k=0,x=!1,E=l,S=u,D=0,w=[],T={factory:n,getCompilerOptions:function(){return a},getEmitResolver:function(){return t},getEmitHost:function(){return r},getEmitHelperFactory:e.memoize((function(){return e.createEmitHelperFactory(T)})),startLexicalEnvironment:function(){e.Debug.assert(D>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(D<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!x,"Lexical environment is suspended."),h[k]=d,y[k]=p,v[k]=f,b[k]=_,k++,d=void 0,p=void 0,f=void 0,_=0},suspendLexicalEnvironment:function(){e.Debug.assert(D>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(D<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!x,"Lexical environment is already suspended."),x=!0},resumeLexicalEnvironment:function(){e.Debug.assert(D>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(D<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(x,"Lexical environment is not suspended."),x=!1},endLexicalEnvironment:function(){var t;if(e.Debug.assert(D>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(D<2,"Cannot modify the lexical environment after transformation has completed."),e.Debug.assert(!x,"Lexical environment is suspended."),d||p||f){if(p&&(t=i([],p)),d){var r=n.createVariableStatement(void 0,n.createVariableDeclarationList(d));e.setEmitFlags(r,1048576),t?t.push(r):t=[r]}f&&(t=i(t?i([],t):[],f))}k--,d=h[k],p=y[k],f=v[k],_=b[k],0===k&&(h=[],y=[],v=[],b=[]);return t},setLexicalEnvironmentFlags:function(e,t){_=t?_|e:_&~e},getLexicalEnvironmentFlags:function(){return _},hoistVariableDeclaration:function(t){e.Debug.assert(D>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(D<2,"Cannot modify the lexical environment after transformation has completed.");var r=e.setEmitFlags(n.createVariableDeclaration(t),64);d?d.push(r):d=[r];1&_&&(_|=2)},hoistFunctionDeclaration:function(t){e.Debug.assert(D>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(D<2,"Cannot modify the lexical environment after transformation has completed."),e.setEmitFlags(t,1048576),p?p.push(t):p=[t]},addInitializationStatement:function(t){e.Debug.assert(D>0,"Cannot modify the lexical environment during initialization."),e.Debug.assert(D<2,"Cannot modify the lexical environment after transformation has completed."),e.setEmitFlags(t,1048576),f?f.push(t):f=[t]},requestEmitHelper:function t(r){if(e.Debug.assert(D>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(D<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++){var a=i[n];t(a)}m=e.append(m,r)},readEmitHelpers:function(){e.Debug.assert(D>0,"Cannot modify the transformation context during initialization."),e.Debug.assert(D<2,"Cannot modify the transformation context after transformation has completed.");var t=m;return m=void 0,t},enableSubstitution:function(t){e.Debug.assert(D<2,"Cannot modify the transformation context after transformation has completed."),g[t]|=1},enableEmitNotification:function(t){e.Debug.assert(D<2,"Cannot modify the transformation context after transformation has completed."),g[t]|=2},isSubstitutionEnabled:L,isEmitNotificationEnabled:j,get onSubstituteNode(){return E},set onSubstituteNode(t){e.Debug.assert(D<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(void 0!==t,"Value must not be 'undefined'"),E=t},get onEmitNode(){return S},set onEmitNode(t){e.Debug.assert(D<1,"Cannot modify transformation hooks after initialization has completed."),e.Debug.assert(void 0!==t,"Value must not be 'undefined'"),S=t},addDiagnostic:function(e){w.push(e)}},C=0,A=o;C<A.length;C++){var N=A[C];e.disposeEmitNodes(e.getSourceFileOfNode(e.getParseTreeNode(N)))}e.performance.mark("beforeTransform");var P=s.map((function(e){return e(T)})),I=function(e){for(var t=0,r=P;t<r.length;t++){e=(0,r[t])(e)}return e};D=1;for(var F=[],O=0,R=o;O<R.length;O++){N=R[O];null===e.tracing||void 0===e.tracing||e.tracing.push("emit","transformNodes",300===N.kind?{path:N.path}:{kind:N.kind,pos:N.pos,end:N.end}),F.push((c?I:M)(N)),null===e.tracing||void 0===e.tracing||e.tracing.pop()}return D=2,e.performance.mark("afterTransform"),e.performance.measure("transformTime","beforeTransform","afterTransform"),{transformed:F,substituteNode:function(t,r){return e.Debug.assert(D<3,"Cannot substitute a node after the result is disposed."),r&&L(r)&&E(t,r)||r},emitNodeWithNotification:function(t,r,n){e.Debug.assert(D<3,"Cannot invoke TransformationResult callbacks after the result is disposed."),r&&(j(r)?S(t,r,n):n(t,r))},isEmitNotificationEnabled:j,dispose:function(){if(D<3){for(var t=0,r=o;t<r.length;t++){var n=r[t];e.disposeEmitNodes(e.getSourceFileOfNode(e.getParseTreeNode(n)))}d=void 0,h=void 0,p=void 0,y=void 0,E=void 0,S=void 0,m=void 0,D=3}},diagnostics:w};function M(t){return!t||e.isSourceFile(t)&&t.isDeclarationFile?t:I(t)}function L(t){return!(!(1&g[t.kind])||4&e.getEmitFlags(t))}function j(t){return!!(2&g[t.kind])||!!(2&e.getEmitFlags(t))}},e.nullTransformationContext={get factory(){return e.factory},enableEmitNotification:e.noop,enableSubstitution:e.noop,endLexicalEnvironment:e.returnUndefined,getCompilerOptions:function(){return{}},getEmitHost:e.notImplemented,getEmitResolver:e.notImplemented,getEmitHelperFactory:e.notImplemented,setLexicalEnvironmentFlags:e.noop,getLexicalEnvironmentFlags:function(){return 0},hoistFunctionDeclaration:e.noop,hoistVariableDeclaration:e.noop,addInitializationStatement:e.noop,isEmitNotificationEnabled:e.notImplemented,isSubstitutionEnabled:e.notImplemented,onEmitNode:e.noop,onSubstituteNode:e.notImplemented,readEmitHelpers:e.notImplemented,requestEmitHelper:e.noop,resumeLexicalEnvironment:e.noop,startLexicalEnvironment:e.noop,suspendLexicalEnvironment:e.noop,addDiagnostic:e.noop}}(d||(d={})),function(e){var t,r,n=function(){var e=[];return e[1024]=["{","}"],e[2048]=["(",")"],e[4096]=["<",">"],e[8192]=["[","]"],e}(),a={pos:-1,end:-1};function o(t,r,n,i,a,o){void 0===i&&(i=!1);var c=e.isArray(n)?n:e.getSourceFilesToEmit(t,n,i),u=t.getCompilerOptions();if(e.outFile(u)){var d=t.getPrependNodes();if(c.length||d.length){var p=e.factory.createBundle(c,d);if(g=r(l(p,t,i),p))return g}}else{if(!a)for(var f=0,m=c;f<m.length;f++){var g,_=m[f];if(g=r(l(_,t,i),_))return g}if(o){var h=s(u);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&&u(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 l(t,r,n){var i=r.getCompilerOptions();if(301===t.kind)return c(i,n);var a=e.getOwnEmitOutputFilePath(t.fileName,r,d(t,i)),o=e.isJsonSourceFile(t),s=o&&0===e.comparePaths(t.fileName,a,r.getCurrentDirectory(),!r.useCaseSensitiveFileNames()),l=i.emitDeclarationOnly||s?void 0:a,p=!l||e.isJsonSourceFile(t)?void 0:u(l,i),f=n||e.getEmitDeclarations(i)&&!o?e.getDeclarationEmitOutputFilePath(t.fileName,r):void 0;return{jsFilePath:l,sourceMapFilePath:p,declarationFilePath:f,declarationMapPath:f&&e.getAreDeclarationMapsEnabled(i)?f+".map":void 0,buildInfoPath:void 0}}function u(e,t){return t.sourceMap&&!t.inlineSourceMap?e+".map":void 0}function d(t,r){if(e.isJsonSourceFile(t))return".json";if(1===r.jsx)if(e.isSourceFileJS(t)){if(e.fileExtensionIs(t.fileName,".jsx"))return".jsx"}else if(1===t.languageVariant)return".jsx";return".js"}function p(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.Debug.assert(!e.isDeclarationFileName(t)&&!e.fileExtensionIs(t,".json")),e.changeExtension(p(t,r,n,r.options.declarationDir||r.options.outDir,i),e.fileExtensionIs(t,".ets")?".d.ets":".d.ts")}function m(t,r,n,i){if(!r.options.emitDeclarationOnly){var a=e.fileExtensionIs(t,".json"),o=e.changeExtension(p(t,r,n,r.options.outDir,i),a?".json":1===r.options.jsx&&(e.fileExtensionIs(t,".tsx")||e.fileExtensionIs(t,".jsx"))?".jsx":".js");return a&&0===e.comparePaths(t,o,e.Debug.checkDefined(r.options.configFilePath),n)?void 0:o}}function g(){var t;return{addOutput:function(e){e&&(t||(t=[])).push(e)},getOutputs:function(){return t||e.emptyArray}}}function _(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.isDeclarationFileName(r)){var o=m(r,t,n,a);if(i(o),!e.fileExtensionIs(r,".json")&&(o&&t.options.sourceMap&&i(o+".map"),e.getEmitDeclarations(t.options))){var s=f(r,t,n,a);i(s),t.options.declarationMap&&i(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.supportedJSExtensions)||e.isDeclarationFileName(t))}))}),e.getDirectoryPath(e.normalizeSlashes(e.Debug.checkDefined(n.configFilePath))),e.createGetCanonicalFileName(!r))}function b(t,r,n,i,a,s,c){var l,u,d=i.scriptTransformers,p=i.declarationTransformers,f=r.getCompilerOptions(),m=f.sourceMap||f.inlineSourceMap||e.getAreDeclarationMapsEnabled(f)?[]:void 0,g=f.listEmittedFiles?[]:void 0,_=e.createDiagnosticCollection(),h=e.getNewLineCharacter(f,(function(){return r.getNewLine()})),y=e.createTextWriter(h),v=e.performance.createTimer("printTime","beforePrint","afterPrint"),b=v.enter,x=v.exit,S=!1;return b(),o(r,(function(i,o){var s,m=i.jsFilePath,h=i.sourceMapFilePath,y=i.declarationFilePath,v=i.declarationMapPath,b=i.buildInfoPath;b&&o&&e.isBundle(o)&&(s=e.getDirectoryPath(e.getNormalizedAbsolutePath(b,r.getCurrentDirectory())),l={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:m}),function(n,i,o,s){if(!n||a||!i)return;if(i&&r.isEmitBlocked(i)||f.noEmit)return void(S=!0);var c=e.transformNodes(t,r,e.factory,f,[n],d,!1),u=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:!!l,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"),w(i,o,c.transformed[0],u,f),c.dispose(),l&&(l.js=u.bundleFileInfo)}(o,m,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)return;if(!i)return void((a||f.emitDeclarationOnly)&&(S=!0));var d=e.isSourceFile(n)?[n]:n.sourceFiles,m=c?d:e.filter(d,e.isSourceFileNotJson),g=e.outFile(f)?[e.factory.createBundle(m,e.isSourceFile(n)?void 0:n.prepends)]:m;a&&!e.getEmitDeclarations(f)&&m.forEach(D);var h=e.transformNodes(t,r,e.factory,f,g,p,!1);if(e.length(h.diagnostics))for(var y=0,v=h.diagnostics;y<v.length;y++){var b=v[y];_.add(b)}var k=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:!!l,recordInternalSection:!!l,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"),w(i,o,h.transformed[0],k,{sourceMap:f.declarationMap,sourceRoot:f.sourceRoot,mapRoot:f.mapRoot,extendedDiagnostics:f.extendedDiagnostics}),c&&300===h.transformed[0].kind)){var T=h.transformed[0];u=T.exportedModulesFromDeclarationEmit}h.dispose(),l&&(l.dts=k.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:b}),function(t,i){if(!i||n||S)return;var a=r.getProgramBuildInfo();if(r.isEmitBlocked(i))return void(S=!0);var o=e.version;e.writeFile(r,_,i,k({bundle:t,program:a,version:o}),!1)}(l,b),null===e.tracing||void 0===e.tracing||e.tracing.pop(),!S&&g&&(a||(m&&g.push(m),h&&g.push(h),b&&g.push(b)),y&&g.push(y),v&&g.push(v));function x(t){return e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(s,t,r.getCanonicalFileName))}}),e.getSourceFilesToEmit(r,n,c),c,s,!n),x(),{emitSkipped:S,diagnostics:_.getDiagnostics(),emittedFiles:g,sourceMaps:m,exportedModulesFromDeclarationEmit:u};function D(r){e.isExportAssignment(r)?78===r.expression.kind&&t.collectLinkedAliases(r.expression,!0):e.isExportSpecifier(r)?t.collectLinkedAliases(r.propertyName||r.name,!0):e.forEachChild(r,D)}function w(t,n,i,a,o){var s,c=301===i.kind?i:void 0,l=300===i.kind?i:void 0,u=c?c.sourceFiles:[l];if(function(t,r){return(t.sourceMap||t.inlineSourceMap)&&(300!==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):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,l),o)),c?a.writeBundle(c,y,s):a.writeFile(l,y,s),s){m&&m.push({inputSourceFileNames:s.getSources(),sourceMap:s.toJSON()});var d=function(t,n,i,a,o){if(t.inlineSourceMap){var s=n.toString();return"data:application/json;base64,"+e.base64encode(e.sys,s)}var c=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,c),r.getCurrentDirectory(),r.getCanonicalFileName,!0))):encodeURI(e.combinePaths(l,c))}return encodeURI(c)}(o,s,t,n,l);if(d&&(y.isAtStartOfLine()||y.rawWrite(h),y.writeComment("//# sourceMappingURL="+d)),n){var p=s.toString();e.writeFile(r,_,n,p,!1,u)}}else y.writeLine();e.writeFile(r,_,t,y.getText(),!!f.emitBOM,u),y.clear()}}function k(e){return JSON.stringify(e,void 0,2)}function x(e){return JSON.parse(e)}function E(t,r){void 0===t&&(t={}),void 0===r&&(r={});var i,o,s,c,l,u,d,p,f,m,g,_,h,y,v,b,k,x,E,S=r.hasGlobalName,D=r.onEmitNode,w=void 0===D?e.noEmitNotification:D,T=r.isEmitNotificationEnabled,C=r.substituteNode,A=void 0===C?e.noEmitSubstitution:C,N=r.onBeforeEmitNodeArray,P=r.onAfterEmitNodeArray,I=r.onBeforeEmitToken,F=r.onAfterEmitToken,O=!!t.extendedDiagnostics,R=e.getNewLineCharacter(t),M=e.getEmitModuleKind(t),L=new e.Map,j=t.preserveSourceNewlines,B=function(e){m.write(e)},z=t.writeBundleFileInfo?{sections:[]}:void 0,U=z?e.Debug.checkDefined(t.relativeToBuildInfo):void 0,q=t.recordInternalSection,J=0,V="text",H=!0,K=-1,W=-1,G=-1,$=-1,Y=-1,X=!1,Q=!!t.removeComments,Z=e.performance.createTimerIf(O,"commentTime","beforeComment","afterComment"),ee=Z.enter,te=Z.exit;return ye(),{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 300:return ne(r);case 301:return re(r);case 302:return function(e,t){var r=m;he(t,void 0),ge(4,e,void 0),ye(),m=r}(r,fe()),me()}return ie(t,r,n,fe()),me()},printList:function(e,t,r){return ae(e,t,r,fe()),me()},printFile:ne,printBundle:re,writeNode:ie,writeList:ae,writeFile:pe,writeBundle:de,bundleFileInfo:z};function re(e){return de(e,fe(),void 0),me()}function ne(e){return pe(e,fe(),void 0),me()}function ie(e,t,r,n){var i=m;he(n,void 0),ge(e,t,r),ye(),m=i}function ae(e,t,r,n){var i=m;he(n,void 0),r&&_e(r),Et(a,t,e),ye(),m=i}function oe(){return m.getTextPosWithWriteLine?m.getTextPosWithWriteLine():m.getTextPos()}function se(t,r,n){var i=e.lastOrUndefined(z.sections);i&&i.kind===n?i.end=r:z.sections.push({pos:t,end:r,kind:n})}function ce(t){if(q&&z&&i&&(e.isDeclaration(t)||e.isVariableStatement(t))&&e.isInternalDeclaration(t,i)&&"internal"!==V){var r=V;return ue(m.getTextPos()),J=oe(),V="internal",r}}function le(e){e&&(ue(m.getTextPos()),J=oe(),V=e)}function ue(e){return J<e&&(se(J,e,V),!0)}function de(r,n,i){var a;_=!1;var o=m;he(n,i),ut(r),lt(r),Ne(r),function(t){at(!!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++){be(o[a]),Mt()}}}(r);for(var s=0,c=r.prepends;s<c.length;s++){var l=c[s];Mt();var u=m.getTextPos(),d=z&&z.sections;if(d&&(z.sections=[]),ge(4,l,void 0),z){var p=z.sections;z.sections=d,l.oldFileOfCurrentEmit?(a=z.sections).push.apply(a,p):(p.forEach((function(t){return e.Debug.assert(e.isBundleFileTextLike(t))})),z.sections.push({pos:u,end:m.getTextPos(),kind:"prepend",data:U(l.fileName),texts:p}))}}J=oe();for(var f=0,g=r.sourceFiles;f<g.length;f++){var h=g[f];ge(0,h,h)}if(z&&r.sourceFiles.length&&ue(m.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,l=a.statements;c<l.length;c++){var u=l[c];if(!e.isPrologueDirective(u))break;n.has(u.expression.text)||(n.add(u.expression.text),(o||(o=[])).push({pos:u.pos,end:u.end,expression:{pos:u.expression.pos,end:u.expression.end,text:u.expression.text}}),s=s<u.end?u.end:s)}o&&(r||(r=[])).push({file:i,text:a.text.substring(0,s),directives:o})}return r}(r);y&&(z.sources||(z.sources={}),z.sources.prologues=y);var v=function(r){var n;if(M===e.ModuleKind.None||t.noEmitHelpers)return;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),l=Pe(s);if(l)for(var u=0,d=l;u<d.length;u++){var p=d[u];p.scoped||c||i.get(p.name)||(i.set(p.name,!0),(n||(n=[])).push(p.name))}}return n}(r);v&&(z.sources||(z.sources={}),z.sources.helpers=v)}ye(),m=o}function pe(e,t,r){_=!0;var n=m;he(t,r),ut(e),lt(e),ge(0,e,e),ye(),m=n}function fe(){return g||(g=e.createTextWriter(R))}function me(){var e=g.getText();return g.clear(),e}function ge(e,t,r){r&&_e(r),Se(e,t)}function _e(e){i=e,b=void 0,k=void 0,e&&zr(e)}function he(r,n){r&&t.omitTrailingSemicolon&&(r=e.getTrailingSemicolonDeferringWriter(r)),h=n,H=!(m=r)||!h}function ye(){o=[],s=[],c=new e.Set,l=[],u=0,d=[],i=void 0,b=void 0,k=void 0,x=void 0,E=void 0,he(void 0,void 0)}function ve(){return b||(b=e.getLineStarts(i))}function be(e){if(void 0!==e){var t=ce(e),r=Se(4,e);return le(t),r}}function ke(e){if(void 0!==e)return Se(2,e)}function xe(e){if(void 0!==e)return Se(1,e)}function Ee(t){return Se(e.isStringLiteral(t)?6:4,t)}function Se(t,r){var n=x,i=E,a=j;x=r,E=void 0,j&&134217728&e.getEmitFlags(r)&&(j=!1),De(0,t,r)(t,r),e.Debug.assert(x===r);var o=E;return x=n,E=i,j=a,o||r}function De(t,r,n){switch(t){case 0:if(w!==e.noEmitNotification&&(!T||T(n)))return Te;case 1:if(A!==e.noEmitSubstitution&&(E=A(r,n))!==n)return Ae;case 2:if(!Q&&300!==n.kind)return hr;case 3:if(!H&&300!==n.kind&&!e.isInJsonFile(n))return Mr;case 4:return Ce;default:return e.Debug.assertNever(t)}}function we(e,t,r){return De(e+1,t,r)}function Te(t,r){e.Debug.assert(x===r);var n=we(0,t,r);w(t,r,n),e.Debug.assert(x===r)}function Ce(t,r){if(e.Debug.assert(x===r||E===r),0===t)return function(t){Mt();var r=t.statements;if(kr){if(0===r.length||!e.isPrologueDirective(r[0])||e.nodeIsSynthesized(r[0]))return void kr(t,r,ot)}ot(t)}(e.cast(r,e.isSourceFile));if(2===t)return Oe(e.cast(r,e.isIdentifier));if(6===t)return Ie(e.cast(r,e.isStringLiteral),!0);if(3===t)return function(e){be(e.name),Ot(),Nt("in"),Ot(),be(e.constraint)}(e.cast(r,e.isTypeParameterDeclaration));if(5===t)return e.Debug.assertNode(r,e.isEmptyStatement),Le(!0);if(4===t){if(e.isKeyword(r.kind))return zt(r,Nt);switch(r.kind){case 15:case 16:case 17:return Ie(r,!1);case 302:case 296:return function(e){for(var t=0,r=e.texts;t<r.length;t++){var n=r[t];Mt(),be(n)}}(r);case 295:return Fe(r);case 297:case 298:return o=r,s=oe(),Fe(o),void(z&&se(s,m.getTextPos(),297===o.kind?"text":"internal"));case 299:return function(t){var r=oe();if(Fe(t),z){var n=e.clone(t.section);n.pos=r,n.end=m.getTextPos(),z.sections.push(n)}}(r);case 78:return Oe(r);case 79:return function(e){var t=e.symbol?Tt:B;t(rr(e,!1),e.symbol)}(r);case 158:return function(e){(function(e){78===e.kind?xe(e):be(e)})(e.left),Ct("."),be(e.right)}(r);case 159:return function(e){Ct("["),xe(e.expression),Ct("]")}(r);case 160:return function(e){be(e.name),e.constraint&&(Ot(),Nt("extends"),Ot(),be(e.constraint));e.default&&(Ot(),Pt("="),Ot(),be(e.default))}(r);case 161:return function(e){yt(e,e.decorators),pt(e,e.modifiers),be(e.dotDotDotToken),dt(e.name,It),be(e.questionToken),e.parent&&311===e.parent.kind&&!e.name?be(e.type):ft(e.type);mt(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)}(r);case 162:return a=r,Ct("@"),void xe(a.expression);case 163:return function(e){yt(e,e.decorators),pt(e,e.modifiers),dt(e.name,Rt),be(e.questionToken),ft(e.type),At()}(r);case 164:return function(e){yt(e,e.decorators),pt(e,e.modifiers),be(e.name),be(e.questionToken),be(e.exclamationToken),ft(e.type),mt(e.initializer,e.type?e.type.end:e.questionToken?e.questionToken.end:e.name.end,e),At()}(r);case 165:return function(e){ir(e),yt(e,e.decorators),pt(e,e.modifiers),be(e.name),be(e.questionToken),bt(e,e.typeParameters),kt(e,e.parameters),ft(e.type),At(),ar(e)}(r);case 166:return function(e){yt(e,e.decorators),pt(e,e.modifiers),be(e.asteriskToken),be(e.name),be(e.questionToken),Je(e,Ve)}(r);case 167:return function(e){pt(e,e.modifiers),Nt("constructor"),Je(e,Ve)}(r);case 168:case 169:return function(e){yt(e,e.decorators),pt(e,e.modifiers),Nt(168===e.kind?"get":"set"),Ot(),be(e.name),Je(e,Ve)}(r);case 170:return function(e){ir(e),yt(e,e.decorators),pt(e,e.modifiers),bt(e,e.typeParameters),kt(e,e.parameters),ft(e.type),At(),ar(e)}(r);case 171:return function(e){ir(e),yt(e,e.decorators),pt(e,e.modifiers),Nt("new"),Ot(),bt(e,e.typeParameters),kt(e,e.parameters),ft(e.type),At(),ar(e)}(r);case 172:return function(e){yt(e,e.decorators),pt(e,e.modifiers),t=e,r=e.parameters,Et(t,r,8848),ft(e.type),At();var t,r}(r);case 195:return function(e){be(e.type),be(e.literal)}(r);case 173:return function(e){e.assertsModifier&&(be(e.assertsModifier),Ot());be(e.parameterName),e.type&&(Ot(),Nt("is"),Ot(),be(e.type))}(r);case 174:return function(e){be(e.typeName),vt(e,e.typeArguments)}(r);case 175:return function(e){ir(e),bt(e,e.typeParameters),xt(e,e.parameters),Ot(),Ct("=>"),Ot(),be(e.type),ar(e)}(r);case 311:return function(e){Nt("function"),kt(e,e.parameters),Ct(":"),be(e.type)}(r);case 176:return function(e){ir(e),pt(e,e.modifiers),Nt("new"),Ot(),bt(e,e.typeParameters),kt(e,e.parameters),Ot(),Ct("=>"),Ot(),be(e.type),ar(e)}(r);case 177:return function(e){Nt("typeof"),Ot(),be(e.exprName)}(r);case 178:return function(t){Ct("{");var r=1&e.getEmitFlags(t)?768:32897;Et(t,t.members,524288|r),Ct("}")}(r);case 179:return function(e){be(e.elementType),Ct("["),Ct("]")}(r);case 180:return function(t){ze(22,t.pos,Ct,t);var r=1&e.getEmitFlags(t)?528:657;Et(t,t.elements,524288|r),ze(23,t.elements.end,Ct,t)}(r);case 181:return function(e){be(e.type),Ct("?")}(r);case 183:return function(e){Et(e,e.types,516)}(r);case 184:return function(e){Et(e,e.types,520)}(r);case 185:return function(e){be(e.checkType),Ot(),Nt("extends"),Ot(),be(e.extendsType),Ot(),Ct("?"),Ot(),be(e.trueType),Ot(),Ct(":"),Ot(),be(e.falseType)}(r);case 186:return function(e){Nt("infer"),Ot(),be(e.typeParameter)}(r);case 187:return function(e){Ct("("),be(e.type),Ct(")")}(r);case 225:return function(e){xe(e.expression),vt(e,e.typeArguments)}(r);case 188:return void Nt("this");case 189:return function(e){Ut(e.operator,Nt),Ot(),be(e.type)}(r);case 190:return function(e){be(e.objectType),Ct("["),be(e.indexType),Ct("]")}(r);case 191:return function(t){var r=e.getEmitFlags(t);Ct("{"),1&r?Ot():(Mt(),Lt());t.readonlyToken&&(be(t.readonlyToken),143!==t.readonlyToken.kind&&Nt("readonly"),Ot());Ct("["),Se(3,t.typeParameter),t.nameType&&(Ot(),Nt("as"),Ot(),be(t.nameType));Ct("]"),t.questionToken&&(be(t.questionToken),57!==t.questionToken.kind&&Ct("?"));Ct(":"),Ot(),be(t.type),At(),1&r?Ot():(Mt(),jt());Ct("}")}(r);case 192:return function(e){xe(e.literal)}(r);case 194:return function(e){be(e.head),Et(e,e.templateSpans,262144)}(r);case 196:return function(e){e.isTypeOf&&(Nt("typeof"),Ot());Nt("import"),Ct("("),be(e.argument),Ct(")"),e.qualifier&&(Ct("."),be(e.qualifier));vt(e,e.typeArguments)}(r);case 306:return void Ct("*");case 307:return void Ct("?");case 308:return function(e){Ct("?"),be(e.type)}(r);case 309:return function(e){Ct("!"),be(e.type)}(r);case 310:return function(e){be(e.type),Ct("=")}(r);case 182:case 312:return function(e){Ct("..."),be(e.type)}(r);case 193:return function(e){be(e.dotDotDotToken),be(e.name),be(e.questionToken),ze(58,e.name.end,Ct,e),Ot(),be(e.type)}(r);case 197:return function(e){Ct("{"),Et(e,e.elements,525136),Ct("}")}(r);case 198:return function(e){Ct("["),Et(e,e.elements,524880),Ct("]")}(r);case 199:return function(e){be(e.dotDotDotToken),e.propertyName&&(be(e.propertyName),Ct(":"),Ot());be(e.name),mt(e.initializer,e.name.end,e)}(r);case 230:return function(e){xe(e.expression),be(e.literal)}(r);case 231:return void At();case 232:return function(e){Me(e,!e.multiLine&&er(e))}(r);case 234:return function(e){pt(e,e.modifiers),be(e.declarationList),At()}(r);case 233:return Le(!1);case 235:return function(t){xe(t.expression),(!e.isJsonSourceFile(i)||e.nodeIsSynthesized(t.expression))&&At()}(r);case 236:return function(e){var t=ze(99,e.pos,Nt,e);Ot(),ze(20,t,Ct,e),xe(e.expression),ze(21,e.expression.end,Ct,e),ht(e,e.thenStatement),e.elseStatement&&(qt(e,e.thenStatement,e.elseStatement),ze(91,e.thenStatement.end,Nt,e),236===e.elseStatement.kind?(Ot(),be(e.elseStatement)):ht(e,e.elseStatement))}(r);case 237:return function(t){ze(90,t.pos,Nt,t),ht(t,t.statement),e.isBlock(t.statement)&&!j?Ot():qt(t,t.statement,t.expression);je(t,t.statement.end),At()}(r);case 238:return function(e){je(e,e.pos),ht(e,e.statement)}(r);case 239:return function(e){var t=ze(97,e.pos,Nt,e);Ot();var r=ze(20,t,Ct,e);Be(e.initializer),r=ze(26,e.initializer?e.initializer.end:r,Ct,e),_t(e.condition),r=ze(26,e.condition?e.condition.end:r,Ct,e),_t(e.incrementor),ze(21,e.incrementor?e.incrementor.end:r,Ct,e),ht(e,e.statement)}(r);case 240:return function(e){var t=ze(97,e.pos,Nt,e);Ot(),ze(20,t,Ct,e),Be(e.initializer),Ot(),ze(101,e.initializer.end,Nt,e),Ot(),xe(e.expression),ze(21,e.expression.end,Ct,e),ht(e,e.statement)}(r);case 241:return function(e){var t=ze(97,e.pos,Nt,e);Ot(),function(e){e&&(be(e),Ot())}(e.awaitModifier),ze(20,t,Ct,e),Be(e.initializer),Ot(),ze(157,e.initializer.end,Nt,e),Ot(),xe(e.expression),ze(21,e.expression.end,Ct,e),ht(e,e.statement)}(r);case 242:return function(e){ze(86,e.pos,Nt,e),gt(e.label),At()}(r);case 243:return function(e){ze(80,e.pos,Nt,e),gt(e.label),At()}(r);case 244:return function(e){ze(105,e.pos,Nt,e),_t(e.expression),At()}(r);case 245:return function(e){var t=ze(116,e.pos,Nt,e);Ot(),ze(20,t,Ct,e),xe(e.expression),ze(21,e.expression.end,Ct,e),ht(e,e.statement)}(r);case 246:return function(e){var t=ze(107,e.pos,Nt,e);Ot(),ze(20,t,Ct,e),xe(e.expression),ze(21,e.expression.end,Ct,e),Ot(),be(e.caseBlock)}(r);case 247:return function(e){be(e.label),ze(58,e.label.end,Ct,e),Ot(),be(e.statement)}(r);case 248:return function(e){ze(109,e.pos,Nt,e),_t(e.expression),At()}(r);case 249:return function(e){ze(111,e.pos,Nt,e),Ot(),be(e.tryBlock),e.catchClause&&(qt(e,e.tryBlock,e.catchClause),be(e.catchClause));e.finallyBlock&&(qt(e,e.catchClause||e.tryBlock,e.finallyBlock),ze(96,(e.catchClause||e.tryBlock).end,Nt,e),Ot(),be(e.finallyBlock))}(r);case 250:return function(e){Bt(87,e.pos,Nt),At()}(r);case 251:return function(e){be(e.name),be(e.exclamationToken),ft(e.type),mt(e.initializer,e.type?e.type.end:e.name.end,e)}(r);case 252:return function(t){Nt(e.isLet(t)?"let":e.isVarConst(t)?"const":"var"),Ot(),Et(t,t.declarations,528)}(r);case 253:return function(e){Ue(e)}(r);case 254:case 255:return Ge(r);case 256:return function(e){yt(e,e.decorators),pt(e,e.modifiers),Nt("interface"),Ot(),be(e.name),bt(e,e.typeParameters),Et(e,e.heritageClauses,512),Ot(),Ct("{"),Et(e,e.members,129),Ct("}")}(r);case 257:return function(e){yt(e,e.decorators),pt(e,e.modifiers),Nt("type"),Ot(),be(e.name),bt(e,e.typeParameters),Ot(),Ct("="),Ot(),be(e.type),At()}(r);case 258:return function(e){pt(e,e.modifiers),Nt("enum"),Ot(),be(e.name),Ot(),Ct("{"),Et(e,e.members,145),Ct("}")}(r);case 259:return function(e){pt(e,e.modifiers),1024&~e.flags&&(Nt(16&e.flags?"namespace":"module"),Ot());be(e.name);var t=e.body;if(!t)return At();for(;259===t.kind;)Ct("."),be(t.name),t=t.body;Ot(),be(t)}(r);case 260:return function(t){ir(t),e.forEach(t.statements,sr),Me(t,er(t)),ar(t)}(r);case 261:return function(e){ze(18,e.pos,Ct,e),Et(e,e.clauses,129),ze(19,e.clauses.end,Ct,e,!0)}(r);case 262:return function(e){var t=ze(93,e.pos,Nt,e);Ot(),t=ze(127,t,Nt,e),Ot(),t=ze(141,t,Nt,e),Ot(),be(e.name),At()}(r);case 263:return function(e){pt(e,e.modifiers),ze(100,e.modifiers?e.modifiers.end:e.pos,Nt,e),Ot(),e.isTypeOnly&&(ze(150,e.pos,Nt,e),Ot());be(e.name),Ot(),ze(62,e.name.end,Ct,e),Ot(),function(e){78===e.kind?xe(e):be(e)}(e.moduleReference),At()}(r);case 264:return function(e){pt(e,e.modifiers),ze(100,e.modifiers?e.modifiers.end:e.pos,Nt,e),Ot(),e.importClause&&(be(e.importClause),Ot(),ze(154,e.importClause.end,Nt,e),Ot());xe(e.moduleSpecifier),At()}(r);case 265:return function(e){e.isTypeOnly&&(ze(150,e.pos,Nt,e),Ot());be(e.name),e.name&&e.namedBindings&&(ze(27,e.name.end,Ct,e),Ot());be(e.namedBindings)}(r);case 266:return function(e){var t=ze(41,e.pos,Ct,e);Ot(),ze(127,t,Nt,e),Ot(),be(e.name)}(r);case 272:return function(e){var t=ze(41,e.pos,Ct,e);Ot(),ze(127,t,Nt,e),Ot(),be(e.name)}(r);case 267:case 271:return function(e){Ye(e)}(r);case 268:case 273:return function(e){Xe(e)}(r);case 269:return function(e){var t=ze(93,e.pos,Nt,e);Ot(),e.isExportEquals?ze(62,t,Pt,e):ze(88,t,Nt,e);Ot(),xe(e.expression),At()}(r);case 270:return function(e){var t=ze(93,e.pos,Nt,e);Ot(),e.isTypeOnly&&(t=ze(150,t,Nt,e),Ot());e.exportClause?be(e.exportClause):t=ze(41,t,Ct,e);if(e.moduleSpecifier){Ot(),ze(154,e.exportClause?e.exportClause.end:t,Nt,e),Ot(),xe(e.moduleSpecifier)}At()}(r);case 274:return;case 275:return function(e){Nt("require"),Ct("("),xe(e.expression),Ct(")")}(r);case 11:return function(e){m.writeLiteral(e.text)}(r);case 278:case 281:return function(t){if(Ct("<"),e.isJsxOpeningElement(t)){var r=Yt(t.tagName,t);Qe(t.tagName),vt(t,t.typeArguments),t.attributes.properties&&t.attributes.properties.length>0&&Ot(),be(t.attributes),Xt(t.attributes,t),Ht(r)}Ct(">")}(r);case 279:case 282:return function(t){Ct("</"),e.isJsxClosingElement(t)&&Qe(t.tagName);Ct(">")}(r);case 283:return function(e){be(e.name),function(e,t,r,n){r&&(t(e),n(r))}("=",Ct,e.initializer,Ee)}(r);case 284:return function(e){Et(e,e.properties,262656)}(r);case 285:return function(e){Ct("{..."),xe(e.expression),Ct("}")}(r);case 286:return function(t){var r;if(t.expression||!Q&&!e.nodeIsSynthesized(t)&&function(t){return function(t){var r=!1;return e.forEachTrailingCommentRange((null==i?void 0:i.text)||"",t+1,(function(){return r=!0})),r}(t)||function(t){var r=!1;return e.forEachLeadingCommentRange((null==i?void 0:i.text)||"",t+1,(function(){return r=!0})),r}(t)}(t.pos)){var n=i&&!e.nodeIsSynthesized(t)&&e.getLineAndCharacterOfPosition(i,t.pos).line!==e.getLineAndCharacterOfPosition(i,t.end).line;n&&m.increaseIndent();var a=ze(18,t.pos,Ct,t);be(t.dotDotDotToken),xe(t.expression),ze(19,(null===(r=t.expression)||void 0===r?void 0:r.end)||a,Ct,t),n&&m.decreaseIndent()}}(r);case 287:return function(e){ze(81,e.pos,Nt,e),Ot(),xe(e.expression),Ze(e,e.statements,e.expression.end)}(r);case 288:return function(e){var t=ze(88,e.pos,Nt,e);Ze(e,e.statements,t)}(r);case 289:return function(e){Ot(),Ut(e.token,Nt),Ot(),Et(e,e.types,528)}(r);case 290:return function(e){var t=ze(82,e.pos,Nt,e);Ot(),e.variableDeclaration&&(ze(20,t,Ct,e),be(e.variableDeclaration),ze(21,e.variableDeclaration.end,Ct,e),Ot());be(e.block)}(r);case 291:return function(t){be(t.name),Ct(":"),Ot();var r=t.initializer;if(!(512&e.getEmitFlags(r))){Ar(e.getCommentRange(r).pos)}xe(r)}(r);case 292:return function(e){be(e.name),e.objectAssignmentInitializer&&(Ot(),Ct("="),Ot(),xe(e.objectAssignmentInitializer))}(r);case 293:return function(e){e.expression&&(ze(25,e.pos,Ct,e),xe(e.expression))}(r);case 294:return function(e){be(e.name),mt(e.initializer,e.name.end,e)}(r);case 329:case 336:return function(e){rt(e.tagName),it(e.typeExpression),Ot(),e.isBracketed&&Ct("[");be(e.name),e.isBracketed&&Ct("]");nt(e.comment)}(r);case 330:case 332:case 331:case 328:return rt((n=r).tagName),it(n.typeExpression),void nt(n.comment);case 319:case 318:return function(e){rt(e.tagName),Ot(),Ct("{"),be(e.class),Ct("}"),nt(e.comment)}(r);case 333:return function(e){rt(e.tagName),it(e.constraint),Ot(),Et(e,e.typeParameters,528),nt(e.comment)}(r);case 334:return function(e){rt(e.tagName),e.typeExpression&&(304===e.typeExpression.kind?it(e.typeExpression):(Ot(),Ct("{"),B("Object"),e.typeExpression.isArrayType&&(Ct("["),Ct("]")),Ct("}")));e.fullName&&(Ot(),be(e.fullName));nt(e.comment),e.typeExpression&&315===e.typeExpression.kind&&et(e.typeExpression)}(r);case 327:return function(e){rt(e.tagName),e.name&&(Ot(),be(e.name));nt(e.comment),tt(e.typeExpression)}(r);case 316:return tt(r);case 315:return et(r);case 322:case 317:return function(e){rt(e.tagName),nt(e.comment)}(r);case 335:return function(e){rt(e.tagName),be(e.name),nt(e.comment)}(r);case 305:return function(e){Ot(),Ct("{"),be(e.name),Ct("}")}(r);case 314:return function(e){if(B("/**"),e.comment)for(var t=0,r=e.comment.split(/\r\n?|\n/g);t<r.length;t++){var n=r[t];Mt(),Ot(),Ct("*"),Ot(),B(n)}e.tags&&(1!==e.tags.length||332!==e.tags[0].kind||e.comment?Et(e,e.tags,33):(Ot(),be(e.tags[0])));Ot(),B("*/")}(r)}if(e.isExpression(r))t=1,A!==e.noEmitSubstitution&&(E=r=A(t,r));else if(e.isToken(r))return zt(r,Ct)}var n,a,o,s;if(1===t)switch(r.kind){case 8:case 9:return function(e){Ie(e,!1)}(r);case 10:case 13:case 14:return Ie(r,!1);case 78:return Oe(r);case 95:case 104:case 106:case 110:case 108:case 100:return void zt(r,Nt);case 200:return function(e){var t=e.elements,r=e.multiLine?65536:0;St(e,t,8914|r)}(r);case 201:return function(t){e.forEach(t.properties,cr);var r=65536&e.getEmitFlags(t);r&&Lt();var n=t.multiLine?65536:0,a=i.languageVersion>=1&&!e.isJsonSourceFile(i)?64:0;Et(t,t.properties,526226|a|n),r&&jt()}(r);case 202:return function(t){var r=e.cast(xe(t.expression),e.isExpression),n=t.questionDotToken||e.setTextRangePosEnd(e.factory.createToken(24),t.expression.end,t.name.pos),i=Zt(t,t.expression,n),a=Zt(t,n,t.name);Vt(i,!1),28===n.kind||!function(t){if(t=e.skipPartiallyEmittedExpressions(t),e.isNumericLiteral(t)){var r=nr(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}}(r)||m.hasTrailingComment()||m.hasTrailingWhitespace()||Ct(".");t.questionDotToken?be(n):ze(n.kind,t.expression.end,Ct,t);Vt(a,!1),be(t.name),Ht(i,a)}(r);case 203:return function(e){xe(e.expression),be(e.questionDotToken),ze(22,e.expression.end,Ct,e),xe(e.argumentExpression),ze(23,e.argumentExpression.end,Ct,e)}(r);case 204:return function(e){xe(e.expression),be(e.questionDotToken),vt(e,e.typeArguments),St(e,e.arguments,2576)}(r);case 205:return function(e){ze(103,e.pos,Nt,e),Ot(),xe(e.expression),vt(e,e.typeArguments),St(e,e.arguments,18960)}(r);case 206:return function(e){xe(e.tag),vt(e,e.typeArguments),Ot(),xe(e.template)}(r);case 207:return function(e){Ct("<"),be(e.type),Ct(">"),xe(e.expression)}(r);case 208:return function(e){var t=ze(20,e.pos,Ct,e),r=Yt(e.expression,e);xe(e.expression),Xt(e.expression,e),Ht(r),ze(21,e.expression?e.expression.end:t,Ct,e)}(r);case 209:return function(e){lr(e.name),Ue(e)}(r);case 210:return function(e){yt(e,e.decorators),pt(e,e.modifiers),Je(e,Re)}(r);case 212:return function(e){ze(89,e.pos,Nt,e),Ot(),xe(e.expression)}(r);case 213:return function(e){ze(112,e.pos,Nt,e),Ot(),xe(e.expression)}(r);case 214:return function(e){ze(114,e.pos,Nt,e),Ot(),xe(e.expression)}(r);case 215:return function(e){ze(131,e.pos,Nt,e),Ot(),xe(e.expression)}(r);case 216:return function(e){Ut(e.operator,Pt),function(e){var t=e.operand;return 216===t.kind&&(39===e.operator&&(39===t.operator||45===t.operator)||40===e.operator&&(40===t.operator||46===t.operator))}(e)&&Ot();xe(e.operand)}(r);case 217:return function(e){xe(e.operand),Ut(e.operator,Pt)}(r);case 218:return function(t){var r=[t],n=[0],i=0;for(;i>=0;)switch(t=r[i],n[i]){case 0:c(t.left);break;case 1:var a=27!==t.operatorToken.kind,o=Zt(t,t.left,t.operatorToken),s=Zt(t,t.operatorToken,t.right);Vt(o,a),Tr(t.operatorToken.pos),zt(t.operatorToken,101===t.operatorToken.kind?Nt:Pt),Ar(t.operatorToken.end,!0),Vt(s,!0),c(t.right);break;case 2:Ht(o=Zt(t,t.left,t.operatorToken),s=Zt(t,t.operatorToken,t.right)),i--;break;default:return e.Debug.fail("Invalid state "+n[i]+" for emitBinaryExpressionWorker")}function c(t){n[i]++;var a=x,o=E;x=t,E=void 0;var s=De(0,1,t);s===Ce&&e.isBinaryExpression(t)?(i++,n[i]=0,r[i]=t):s(1,t),e.Debug.assert(x===t),x=a,E=o}}(r);case 219:return function(e){var t=Zt(e,e.condition,e.questionToken),r=Zt(e,e.questionToken,e.whenTrue),n=Zt(e,e.whenTrue,e.colonToken),i=Zt(e,e.colonToken,e.whenFalse);xe(e.condition),Vt(t,!0),be(e.questionToken),Vt(r,!0),xe(e.whenTrue),Ht(t,r),Vt(n,!0),be(e.colonToken),Vt(i,!0),xe(e.whenFalse),Ht(n,i)}(r);case 220:return function(e){be(e.head),Et(e,e.templateSpans,262144)}(r);case 221:return function(e){ze(125,e.pos,Nt,e),be(e.asteriskToken),_t(e.expression)}(r);case 222:return function(e){ze(25,e.pos,Ct,e),xe(e.expression)}(r);case 223:return function(e){lr(e.name),$e(e)}(r);case 224:return;case 226:return function(e){xe(e.expression),e.type&&(Ot(),Nt("as"),Ot(),be(e.type))}(r);case 227:return function(e){xe(e.expression),Pt("!")}(r);case 228:return function(e){Bt(e.keywordToken,e.pos,Ct),Ct("."),be(e.name)}(r);case 276:return function(e){be(e.openingElement),Et(e,e.children,262144),be(e.closingElement)}(r);case 277:return function(e){Ct("<"),Qe(e.tagName),vt(e,e.typeArguments),Ot(),be(e.attributes),Ct("/>")}(r);case 280:return function(e){be(e.openingFragment),Et(e,e.children,262144),be(e.closingFragment)}(r);case 339:return function(e){xe(e.expression)}(r);case 340:return function(e){St(e,e.elements,528)}(r)}}function Ae(t,r){e.Debug.assert(x===r||E===r),we(1,t,r)(t,E),e.Debug.assert(x===r||E===r)}function Ne(r){var n=!1,a=301===r.kind?r:void 0;if(!a||M!==e.ModuleKind.None){for(var o=a?a.prepends.length:0,s=a?a.sourceFiles.length+o:1,c=0;c<s;c++){var l=a?c<o?a.prepends[c]:a.sourceFiles[c-o]:r,u=e.isSourceFile(l)?l:e.isUnparsedSource(l)?void 0:i,d=t.noEmitHelpers||!!u&&e.hasRecordedExternalHelpers(u),p=(e.isSourceFile(l)||e.isUnparsedSource(l))&&!_,f=e.isUnparsedSource(l)?l.helpers:Pe(l);if(f)for(var g=0,h=f;g<h.length;g++){var y=h[g];if(y.scoped){if(a)continue}else{if(d)continue;if(p){if(L.get(y.name))continue;L.set(y.name,!0)}}var v=oe();"string"==typeof y.text?Jt(y.text):Jt(y.text(_r)),z&&z.sections.push({pos:v,end:m.getTextPos(),kind:"emitHelpers",data:y.name}),n=!0}}return n}}function Pe(t){var r=e.getEmitHelpers(t);return r&&e.stableSort(r,e.compareEmitHelpers)}function Ie(r,n){var i,a=nr(r,t.neverAsciiEscape,n);!t.sourceMap&&!t.inlineSourceMap||10!==r.kind&&!e.isTemplateLiteralKind(r.kind)?function(e){m.writeStringLiteral(e)}(a):(i=a,m.writeLiteral(i))}function Fe(e){m.rawWrite(e.parent.text.substring(e.pos,e.end))}function Oe(e){(e.symbol?Tt:B)(rr(e,!1),e.symbol),Et(e,e.typeArguments,53776)}function Re(e){bt(e,e.typeParameters),xt(e,e.parameters),ft(e.type),Ot(),be(e.equalsGreaterThanToken)}function Me(t,r){ze(18,t.pos,Ct,t);var n=r||1&e.getEmitFlags(t)?768:129;Et(t,t.statements,n),ze(19,t.statements.end,Ct,t,!!(1&n))}function Le(e){e?Ct(";"):At()}function je(e,t){var r=ze(115,t,Nt,e);Ot(),ze(20,r,Ct,e),xe(e.expression),ze(21,e.expression.end,Ct,e)}function Be(e){void 0!==e&&(252===e.kind?be(e):xe(e))}function ze(t,r,n,a,o){var s=e.getParseTreeNode(a),c=s&&s.kind===a.kind,l=r;if(c&&i&&(r=e.skipTrivia(i.text,r)),c&&a.pos!==l){var u=o&&i&&!e.positionsAreOnSameLine(l,r,i);u&&Lt(),Tr(l),u&&jt()}if(r=Ut(t,n,r),c&&a.end!==r){var d=286===a.kind;Ar(r,!d,d)}return r}function Ue(e){yt(e,e.decorators),pt(e,e.modifiers),Nt("function"),be(e.asteriskToken),Ot(),ke(e.name),Je(e,Ve)}function qe(e,t){He(t)}function Je(t,r){var n=t.body;if(n)if(e.isBlock(n)){var i=65536&e.getEmitFlags(t);i&&Lt(),ir(t),e.forEach(t.parameters,sr),sr(t.body),r(t),w?w(4,n,qe):He(n),ar(t),i&&jt()}else r(t),Ot(),xe(n);else r(t),At()}function Ve(e){bt(e,e.typeParameters),kt(e,e.parameters),ft(e.type)}function He(t){Ot(),Ct("{"),Lt();var r=function(t){if(1&e.getEmitFlags(t))return!0;if(t.multiLine)return!1;if(!e.nodeIsSynthesized(t)&&!e.rangeIsOnSingleLine(t,i))return!1;if(Kt(t,t.statements,2)||Gt(t,t.statements,2))return!1;for(var r,n=0,a=t.statements;n<a.length;n++){var o=a[n];if(Wt(r,o,2)>0)return!1;r=o}return!0}(t)?Ke:We;kr?kr(t,t.statements,r):r(t),jt(),Bt(19,t.statements.end,Ct,t)}function Ke(e){We(e,!0)}function We(e,t){var r=st(e.statements),n=m.getTextPos();Ne(e),0===r&&n===m.getTextPos()&&t?(jt(),Et(e,e.statements,768),Lt()):Et(e,e.statements,1,r)}function Ge(e){$e(e)}function $e(t){e.forEach(t.members,cr),yt(t,t.decorators),pt(t,t.modifiers),e.isStructDeclaration(t)?Nt("struct"):Nt("class"),t.name&&(Ot(),ke(t.name));var r=65536&e.getEmitFlags(t);r&&Lt(),bt(t,t.typeParameters),Et(t,t.heritageClauses,0),Ot(),Ct("{"),Et(t,t.members,129),Ct("}"),r&&jt()}function Ye(e){Ct("{"),Et(e,e.elements,525136),Ct("}")}function Xe(e){e.propertyName&&(be(e.propertyName),Ot(),ze(127,e.propertyName.end,Nt,e),Ot()),be(e.name)}function Qe(e){78===e.kind?xe(e):be(e)}function Ze(t,r,n){var a=163969;1===r.length&&(e.nodeIsSynthesized(t)||e.nodeIsSynthesized(r[0])||e.rangeStartPositionsAreOnSameLine(t,r[0],i))?(Bt(58,n,Ct,t),Ot(),a&=-130):ze(58,n,Ct,t),Et(t,r,a)}function et(t){Et(t,e.factory.createNodeArray(t.jsDocPropertyTags),33)}function tt(t){t.typeParameters&&Et(t,e.factory.createNodeArray(t.typeParameters),33),t.parameters&&Et(t,e.factory.createNodeArray(t.parameters),33),t.type&&(Mt(),Ot(),Ct("*"),Ot(),be(t.type))}function rt(e){Ct("@"),be(e)}function nt(e){e&&(Ot(),B(e))}function it(e){e&&(Ot(),Ct("{"),be(e.type),Ct("}"))}function at(e,t,r,n){if(e){var a=m.getTextPos();Ft('/// <reference no-default-lib="true"/>'),z&&z.sections.push({pos:a,end:m.getTextPos(),kind:"no-default-lib"}),Mt()}if(i&&i.moduleName&&(Ft('/// <amd-module name="'+i.moduleName+'" />'),Mt()),i&&i.amdDependencies)for(var o=0,s=i.amdDependencies;o<s.length;o++){var c=s[o];c.name?Ft('/// <amd-dependency name="'+c.name+'" path="'+c.path+'" />'):Ft('/// <amd-dependency path="'+c.path+'" />'),Mt()}for(var l=0,u=t;l<u.length;l++){var d=u[l];a=m.getTextPos();Ft('/// <reference path="'+d.fileName+'" />'),z&&z.sections.push({pos:a,end:m.getTextPos(),kind:"reference",data:d.fileName}),Mt()}for(var p=0,f=r;p<f.length;p++){d=f[p],a=m.getTextPos();Ft('/// <reference types="'+d.fileName+'" />'),z&&z.sections.push({pos:a,end:m.getTextPos(),kind:"type",data:d.fileName}),Mt()}for(var g=0,_=n;g<_.length;g++){d=_[g],a=m.getTextPos();Ft('/// <reference lib="'+d.fileName+'" />'),z&&z.sections.push({pos:a,end:m.getTextPos(),kind:"lib",data:d.fileName}),Mt()}}function ot(t){var r=t.statements;ir(t),e.forEach(t.statements,sr),Ne(t);var n=e.findIndex(r,(function(t){return!e.isPrologueDirective(t)}));!function(e){e.isDeclarationFile&&at(e.hasNoDefaultLib,e.referencedFiles,e.typeReferenceDirectives,e.libReferenceDirectives)}(t),Et(t,r,1,-1===n?r.length:n),ar(t)}function st(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,_e(r)),Mt();var c=m.getTextPos();be(s),i&&z&&z.sections.push({pos:c,end:m.getTextPos(),kind:"prologue",data:s.expression.text}),n&&n.add(s.expression.text)}}return t.length}function ct(e,t){for(var r=0,n=e;r<n.length;r++){var i=n[r];if(!t.has(i.data)){Mt();var a=m.getTextPos();be(i),z&&z.sections.push({pos:a,end:m.getTextPos(),kind:"prologue",data:i.data}),t&&t.add(i.data)}}}function lt(t){if(e.isSourceFile(t))st(t.statements,t);else{for(var r=new e.Set,n=0,i=t.prepends;n<i.length;n++){ct(i[n].prologues,r)}for(var a=0,o=t.sourceFiles;a<o.length;a++){var s=o[a];st(s.statements,s,r,!0)}_e(void 0)}}function ut(t){if(e.isSourceFile(t)||e.isUnparsedSource(t)){var r=e.getShebang(t.text);if(r)return Ft(r),Mt(),!0}else{for(var n=0,i=t.prepends;n<i.length;n++){var a=i[n];if(e.Debug.assertNode(a,e.isUnparsedSource),ut(a))return!0}for(var o=0,s=t.sourceFiles;o<s.length;o++){if(ut(s[o]))return!0}}}function dt(e,t){if(e){var r=B;B=t,be(e),B=r}}function pt(e,t){t&&t.length&&(Et(e,t,262656),Ot())}function ft(e){e&&(Ct(":"),Ot(),be(e))}function mt(e,t,r){e&&(Ot(),ze(62,t,Pt,r),Ot(),xe(e))}function gt(e){e&&(Ot(),be(e))}function _t(e){e&&(Ot(),xe(e))}function ht(t,r){e.isBlock(r)||1&e.getEmitFlags(t)?(Ot(),be(r)):(Mt(),Lt(),e.isEmptyStatement(r)?Se(5,r):be(r),jt())}function yt(e,t){Et(e,t,2146305)}function vt(e,t){Et(e,t,53776)}function bt(t,r){if(e.isFunctionLike(t)&&t.typeArguments)return vt(t,t.typeArguments);Et(t,r,53776)}function kt(e,t){Et(e,t,2576)}function xt(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)?kt(t,r):Et(t,r,528)}function Et(e,t,r,n,i){wt(be,e,t,r,n,i)}function St(e,t,r,n,i){wt(xe,e,t,r,n,i)}function Dt(e){switch(60&e){case 0:break;case 16:Ct(",");break;case 4:Ot(),Ct("|");break;case 32:Ot(),Ct("*"),Ot();break;case 8:Ot(),Ct("&")}}function wt(t,r,a,o,s,c){void 0===s&&(s=0),void 0===c&&(c=a?a.length-s:0);var l=void 0===a;if(!(l&&16384&o)){var u=void 0===a||s>=a.length||0===c;if(u&&32768&o)return N&&N(a),void(P&&P(a));if(15360&o&&(Ct(function(e){return n[15360&e][0]}(o)),u&&!l&&Ar(a.pos,!0)),N&&N(a),u)!(1&o)||j&&e.rangeIsOnSingleLine(r,i)?256&o&&!(524288&o)&&Ot():Mt();else{var d=!(262144&o),p=d,m=Kt(r,a,o);m?(Mt(m),p=!1):256&o&&Ot(),128&o&&Lt();for(var g=void 0,_=void 0,h=!1,y=0;y<c;y++){var v=a[s+y];if(32&o)Mt(),Dt(o);else if(g){60&o&&g.end!==r.end&&Tr(g.end),Dt(o),le(_);var b=Wt(g,v,o);b>0?(131&o||(Lt(),h=!0),Mt(b),p=!1):g&&512&o&&Ot()}if(_=ce(v),p){if(Ar)Ar(e.getCommentRange(v).pos)}else p=d;f=v.pos,t(v),h&&(jt(),h=!1),g=v}var k=g?e.getEmitFlags(g):0,x=Q||!!(1024&k),E=(null==a?void 0:a.hasTrailingComma)&&64&o&&16&o;E&&(g&&!x?ze(27,g.end,Ct,g):Ct(",")),g&&r.end!==g.end&&60&o&&!x&&Tr(E&&(null==a?void 0:a.end)?a.end:g.end),128&o&&jt(),le(_);var S=Gt(r,a,o);S?Mt(S):2097408&o&&Ot()}P&&P(a),15360&o&&(u&&!l&&Tr(a.end),Ct(function(e){return n[15360&e][1]}(o)))}}function Tt(e,t){m.writeSymbol(e,t)}function Ct(e){m.writePunctuation(e)}function At(){m.writeTrailingSemicolon(";")}function Nt(e){m.writeKeyword(e)}function Pt(e){m.writeOperator(e)}function It(e){m.writeParameter(e)}function Ft(e){m.writeComment(e)}function Ot(){m.writeSpace(" ")}function Rt(e){m.writeProperty(e)}function Mt(e){void 0===e&&(e=1);for(var t=0;t<e;t++)m.writeLine(t>0)}function Lt(){m.increaseIndent()}function jt(){m.decreaseIndent()}function Bt(t,r,n,i){return H?Ut(t,n,r):function(t,r,n,i,a){if(H||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],l=c&&c.source||y;i=Lr(l,c?c.pos:i),!(128&s)&&i>=0&&Br(l,i);i=a(r,n,i),c&&(i=c.end);!(256&s)&&i>=0&&Br(l,i);return i}(i,t,n,r,Ut)}function zt(t,r){I&&I(t),r(e.tokenToString(t.kind)),F&&F(t)}function Ut(t,r,n){var i=e.tokenToString(t);return r(i),n<0?n:n+i.length}function qt(t,r,n){if(1&e.getEmitFlags(t))Ot();else if(j){var i=Zt(t,r,n);i?Mt(i):Ot()}else Mt()}function Jt(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&&(Mt(),B(s))}}function Vt(e,t){e?(Lt(),Mt(e)):t&&Ot()}function Ht(e,t){e&&jt(),t&&jt()}function Kt(t,r,n){if(2&n||j){if(65536&n)return 1;var a=r[0];if(void 0===a)return e.rangeIsOnSingleLine(t,i)?0:1;if(a.pos===f)return 0;if(11===a.kind)return 0;if(!(e.positionIsSynthesized(t.pos)||e.nodeIsSynthesized(a)||a.parent&&e.getOriginalNode(a.parent)!==e.getOriginalNode(t)))return j?$t((function(r){return e.getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter(a.pos,t.pos,i,r)})):e.rangeStartPositionsAreOnSameLine(t,a,i)?0:1;if(Qt(a,n))return 1}return 1&n?1:0}function Wt(t,r,n){if(2&n||j){if(void 0===t||void 0===r)return 0;if(11===r.kind)return 0;if(!e.nodeIsSynthesized(t)&&!e.nodeIsSynthesized(r)&&t.parent===r.parent)return j?$t((function(n){return e.getLinesBetweenRangeEndAndRangeStart(t,r,i,n)})):e.rangeEndIsOnSameLineAsRangeStart(t,r,i)?0:1;if(Qt(t,n)||Qt(r,n))return 1}else if(e.getStartsOnNewLine(r))return 1;return 1&n?1:0}function Gt(t,r,n){if(2&n||j){if(65536&n)return 1;var a=e.lastOrUndefined(r);if(void 0===a)return e.rangeIsOnSingleLine(t,i)?0:1;if(!(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 $t((function(r){return e.getLinesBetweenPositionAndNextNonWhitespaceCharacter(o,t.end,i,r)}))}return e.rangeEndPositionsAreOnSameLine(t,a,i)?0:1}if(Qt(a,n))return 1}return 1&n&&!(131072&n)?1:0}function $t(t){e.Debug.assert(!!j);var r=t(!0);return 0===r?t(!1):r}function Yt(e,t){var r=j&&Kt(t,[e],0);return r&&Vt(r,!1),!!r}function Xt(e,t){var r=j&&Gt(t,[e],0);r&&Mt(r)}function Qt(t,r){if(e.nodeIsSynthesized(t)){var n=e.getStartsOnNewLine(t);return void 0===n?!!(65536&r):n}return!!(65536&r)}function Zt(t,r,n){return 131072&e.getEmitFlags(t)?0:(t=tr(t),r=tr(r),n=tr(n),e.getStartsOnNewLine(n)?1:e.nodeIsSynthesized(t)||e.nodeIsSynthesized(r)||e.nodeIsSynthesized(n)?0:j?$t((function(t){return e.getLinesBetweenRangeEndAndRangeStart(r,n,i,t)})):e.rangeEndIsOnSameLineAsRangeStart(r,n,i)?0:1)}function er(t){return 0===t.statements.length&&e.rangeEndIsOnSameLineAsRangeStart(t,t,i)}function tr(t){for(;208===t.kind&&e.nodeIsSynthesized(t);)t=t.expression;return t}function rr(t,r){return e.isGeneratedIdentifier(t)?ur(t):(e.isIdentifier(t)||e.isPrivateIdentifier(t))&&(e.nodeIsSynthesized(t)||!t.parent||!i||t.parent&&i&&e.getSourceFileOfNode(t)!==e.getOriginalNode(i))?e.idText(t):10===t.kind&&t.textSourceNode?rr(t.textSourceNode,r):!e.isLiteralExpression(t)||!e.nodeIsSynthesized(t)&&t.parent?e.getSourceTextOfNodeFromSourceFile(i,t,r):t.text}function nr(r,n,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:rr(o);return a?'"'+e.escapeJsxAttributeString(s)+'"':n||16777216&e.getEmitFlags(r)?'"'+e.escapeString(s)+'"':'"'+e.escapeNonAsciiString(s)+'"'}return nr(o,n,a)}var c=(n?1:0)|(a?2:0)|(t.terminateUnterminatedLiterals?4:0)|(t.target&&99===t.target?8:0);return e.getLiteralText(r,i,c)}function ir(t){t&&524288&e.getEmitFlags(t)||(l.push(u),u=0,d.push(p))}function ar(t){t&&524288&e.getEmitFlags(t)||(u=l.pop(),p=d.pop())}function or(t){p&&p!==e.lastOrUndefined(d)||(p=new e.Set),p.add(t)}function sr(t){if(t)switch(t.kind){case 232:case 287:case 288:e.forEach(t.statements,sr);break;case 247:case 245:case 237:case 238:sr(t.statement);break;case 236:sr(t.thenStatement),sr(t.elseStatement);break;case 239:case 241:case 240:sr(t.initializer),sr(t.statement);break;case 246:sr(t.caseBlock);break;case 261:e.forEach(t.clauses,sr);break;case 249:sr(t.tryBlock),sr(t.catchClause),sr(t.finallyBlock);break;case 290:sr(t.variableDeclaration),sr(t.block);break;case 234:sr(t.declarationList);break;case 252:e.forEach(t.declarations,sr);break;case 251:case 161:case 199:case 254:case 266:case 272:lr(t.name);break;case 253:lr(t.name),524288&e.getEmitFlags(t)&&(e.forEach(t.parameters,sr),sr(t.body));break;case 197:case 198:case 267:e.forEach(t.elements,sr);break;case 264:sr(t.importClause);break;case 265:lr(t.name),sr(t.namedBindings);break;case 268:lr(t.propertyName||t.name)}}function cr(e){if(e)switch(e.kind){case 291:case 292:case 164:case 166:case 168:case 169:lr(e.name)}}function lr(t){t&&(e.isGeneratedIdentifier(t)?ur(t):e.isBindingPattern(t)&&sr(t))}function ur(t){if(4==(7&t.autoGenerateFlags))return dr(function(t){var r=t.autoGenerateId,n=t,i=n.original;for(;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 s[r]||(s[r]=function(t){switch(7&t.autoGenerateFlags){case 1:return mr(0,!!(8&t.autoGenerateFlags));case 2:return mr(268435456,!!(8&t.autoGenerateFlags));case 3:return gr(e.idText(t),32&t.autoGenerateFlags?fr:pr,!!(16&t.autoGenerateFlags),!!(8&t.autoGenerateFlags))}return e.Debug.fail("Unsupported GeneratedIdentifierKind.")}(t))}function dr(t,r){var n=e.getNodeId(t);return o[n]||(o[n]=function(t,r){switch(t.kind){case 78:return gr(rr(t),pr,!!(16&r),!!(8&r));case 259:case 258:return function(t){var r=rr(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:gr(r)}(t);case 264:case 270:return function(t){var r=e.getExternalModuleName(t);return gr(e.isStringLiteral(r)?e.makeIdentifierFromModuleName(r.text):"module")}(t);case 253:case 254:case 269:return gr("default");case 223:return gr("class");case 166:case 168:case 169:return function(t){if(e.isIdentifier(t.name))return dr(t.name);return mr(0)}(t);case 159:return mr(0,!0);default:return mr(0)}}(t,r))}function pr(e){return fr(e)&&!c.has(e)&&!(p&&p.has(e))}function fr(t){return!i||e.isFileLevelUniqueName(i,t,S)}function mr(e,t){if(e&&!(u&e)&&pr(r=268435456===e?"_i":"_n"))return u|=e,t&&or(r),r;for(;;){var r,n=268435455&u;if(u++,8!==n&&13!==n)if(pr(r=n<26?"_"+String.fromCharCode(97+n):"_"+(n-26)))return t&&or(r),r}}function gr(e,t,r,n){if(void 0===t&&(t=pr),r&&t(e))return n?or(e):c.add(e),e;95!==e.charCodeAt(e.length-1)&&(e+="_");for(var i=1;;){var a=e+i;if(t(a))return n?or(a):c.add(a),a;i++}}function _r(e){return gr(e,fr,!0)}function hr(t,r){e.Debug.assert(x===r||E===r),ee(),X=!1;var n=e.getEmitFlags(r),i=e.getCommentRange(r),a=i.pos,o=i.end,s=338!==r.kind,c=a<0||!!(512&n)||11===r.kind,l=o<0||!!(1024&n)||11===r.kind,u=G,d=$,p=Y;(a>0||o>0)&&a!==o&&(c||xr(a,s),(!c||a>=0&&512&n)&&(G=a),(!l||o>=0&&1024&n)&&($=o,252===r.kind&&(Y=o))),e.forEach(e.getSyntheticLeadingComments(r),yr),te();var f=we(2,t,r);2048&n?(Q=!0,f(t,r),Q=!1):f(t,r),ee(),e.forEach(e.getSyntheticTrailingComments(r),vr),(a>0||o>0)&&a!==o&&(G=u,$=d,Y=p,!l&&s&&function(e){Fr(e,Cr)}(o)),te(),e.Debug.assert(x===r||E===r)}function yr(e){(e.hasLeadingNewline||2===e.kind)&&m.writeLine(),br(e),e.hasTrailingNewLine||2===e.kind?m.writeLine():m.writeSpace(" ")}function vr(e){m.isAtStartOfLine()||m.writeSpace(" "),br(e),e.hasTrailingNewLine&&m.writeLine()}function br(t){var r=function(e){return 3===e.kind?"/*"+e.text+"*/":"//"+e.text}(t),n=3===t.kind?e.computeLineStarts(r):void 0;e.writeCommentRange(r,n,m,0,r.length,R)}function kr(t,r,n){ee();var a,o,s=r.pos,c=r.end,l=e.getEmitFlags(t),u=Q||c<0||!!(1024&l);s<0||!!(512&l)||(a=r,(o=e.emitDetachedComments(i.text,ve(),m,Or,a,R,Q))&&(k?k.push(o):k=[o])),te(),2048&l&&!Q?(Q=!0,n(t),Q=!1):n(t),ee(),u||(xr(r.end,!0),X&&!m.isAtStartOfLine()&&m.writeLine()),te()}function xr(e,t){X=!1,t?0===e&&(null==i?void 0:i.isDeclarationFile)?Ir(e,Sr):Ir(e,wr):0===e&&Ir(e,Er)}function Er(e,t,r,n,i){Rr(e,t)&&wr(e,t,r,n,i)}function Sr(e,t,r,n,i){Rr(e,t)||wr(e,t,r,n,i)}function Dr(r,n){return!t.onlyPrintJsDocStyle||(e.isJSDocLikeText(r,n)||e.isPinnedComment(r,n))}function wr(t,r,n,a,o){Dr(i.text,t)&&(X||(e.emitNewLineBeforeLeadingCommentOfPosition(ve(),m,o,t),X=!0),jr(t),e.writeCommentRange(i.text,ve(),m,t,r,R),jr(r),a?m.writeLine():3===n&&m.writeSpace(" "))}function Tr(e){Q||-1===e||xr(e,!0)}function Cr(t,r,n,a){Dr(i.text,t)&&(m.isAtStartOfLine()||m.writeSpace(" "),jr(t),e.writeCommentRange(i.text,ve(),m,t,r,R),jr(r),a&&m.writeLine())}function Ar(e,t,r){Q||(ee(),Fr(e,t?Cr:r?Nr:Pr),te())}function Nr(t,r,n){jr(t),e.writeCommentRange(i.text,ve(),m,t,r,R),jr(r),2===n&&m.writeLine()}function Pr(t,r,n,a){jr(t),e.writeCommentRange(i.text,ve(),m,t,r,R),jr(r),a?m.writeLine():m.writeSpace(" ")}function Ir(t,r){!i||-1!==G&&t===G||(function(t){return void 0!==k&&e.last(k).nodePos===t}(t)?function(t){var r=e.last(k).detachedCommentEndPos;k.length-1?k.pop():k=void 0;e.forEachLeadingCommentRange(i.text,r,t,r)}(r):e.forEachLeadingCommentRange(i.text,t,r,t))}function Fr(t,r){i&&(-1===$||t!==$&&t!==Y)&&e.forEachTrailingCommentRange(i.text,t,r)}function Or(t,r,n,a,o,s){Dr(i.text,a)&&(jr(a),e.writeCommentRange(t,r,n,a,o,s),jr(o))}function Rr(t,r){return e.isRecognizedTripleSlashComment(i.text,t,r)}function Mr(t,r){e.Debug.assert(x===r||E===r);var n=we(3,t,r);if(e.isUnparsedSource(r)||e.isUnparsedPrepend(r))n(t,r);else if(e.isUnparsedNode(r)){var i=function(t){return void 0===t.parsedSourceMap&&void 0!==t.sourceMapText&&(t.parsedSourceMap=e.tryParseRawSourceMap(t.sourceMapText)||!1),t.parsedSourceMap||void 0}(r.parent);i&&h&&h.appendSourceMap(m.getLine(),m.getColumn(),i,r.parent.sourceMapPath,r.parent.getLineAndCharacterOfPosition(r.pos),r.parent.getLineAndCharacterOfPosition(r.end)),n(t,r)}else{var a=e.getSourceMapRange(r),o=a.pos,s=a.end,c=a.source,l=void 0===c?y:c,u=e.getEmitFlags(r);338!==r.kind&&!(16&u)&&o>=0&&Br(l,Lr(l,o)),64&u?(H=!0,n(t,r),H=!1):n(t,r),338!==r.kind&&!(32&u)&&s>=0&&Br(l,s)}e.Debug.assert(x===r||E===r)}function Lr(t,r){return t.skipTrivia?t.skipTrivia(r):e.skipTrivia(t.text,r)}function jr(t){if(!(H||e.positionIsSynthesized(t)||Ur(y))){var r=e.getLineAndCharacterOfPosition(y,t),n=r.line,i=r.character;h.addMapping(m.getLine(),m.getColumn(),K,n,i,void 0)}}function Br(e,t){if(e!==y){var r=y,n=K;zr(e),jr(t),function(e,t){y=e,K=t}(r,n)}else jr(t)}function zr(e){H||(y=e,e!==v?Ur(e)||(K=h.addSource(e.fileName),t.inlineSources&&h.setSourceContent(K,e.text),v=e,W=K):K=W)}function Ur(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=l,e.getOutputExtension=d,e.getOutputDeclarationFileName=f,e.getCommonSourceDirectory=y,e.getCommonSourceDirectoryOfConfig=v,e.getAllProjectOutputs=function(t,r){var n=g(),i=n.addOutput,a=n.getOutputs;if(e.outFile(t.options))_(t,i);else{for(var o=e.memoize((function(){return v(t,r)})),c=0,l=t.fileNames;c<l.length;c++){var u=l[c];h(t,u,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=g(),a=i.addOutput,o=i.getOutputs;return e.outFile(t.options)?_(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 "+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 l=o[a];if(!e.isDeclarationFileName(l)){if(n=m(l,t,r,i))return n;if(!e.fileExtensionIs(l,".json")&&e.getEmitDeclarations(t.options))return f(l,t,r,i)}}var u=s(t.options);return u||e.Debug.fail("project "+t.options.configFilePath+" expected to have at least one output")},e.emitFiles=b,e.getBuildInfoText=k,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,isReferenced: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,a){var o=c(t.options,!1),s=o.buildInfoPath,l=o.jsFilePath,u=o.sourceMapFilePath,d=o.declarationFilePath,p=o.declarationMapPath,f=r.readFile(e.Debug.checkDefined(s));if(!f)return s;var m=r.readFile(e.Debug.checkDefined(l));if(!m)return l;var g=u&&r.readFile(u);if(u&&!g||t.options.inlineSourceMap)return u||"inline sourcemap decoding";var _=d&&r.readFile(d);if(d&&!_)return d;var h=p&&r.readFile(p);if(p&&!h||t.options.inlineSourceMap)return p||"inline sourcemap decoding";var y=x(f);if(!y.bundle||!y.bundle.js||_&&!y.bundle.dts)return s;var v=e.getDirectoryPath(e.getNormalizedAbsolutePath(s,r.getCurrentDirectory())),E=e.createInputFiles(m,_,u,g,p,h,l,d,s,y,!0),S=[],D=e.createPrependNodes(t.projectReferences,n,(function(e){return r.readFile(e)})),w=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),l=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})),u=e.factory.createToken(1),d=e.factory.createSourceFile(null!=l?l:[],u,0);return d.fileName=e.getRelativePathFromDirectory(n.getCurrentDirectory(),e.getNormalizedAbsolutePath(t,r),!n.useCaseSensitiveFileNames()),d.text=null!==(a=null==c?void 0:c.text)&&void 0!==a?a:"",e.setTextRangePosWidth(d,0,null!==(s=null==c?void 0:c.text.length)&&void 0!==s?s:0),e.setEachParent(d.statements,d),e.setTextRangePosWidth(u,d.end,0),e.setParent(u,d),d}))}(y.bundle,v,r),T={getPrependNodes:e.memoize((function(){return i(i([],D),[E])})),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 w},getLibFileFromReference:e.notImplemented,isSourceFileFromExternalLibrary:e.returnFalse,getResolvedProjectReferenceToRedirect:e.returnUndefined,getProjectReferenceRedirect:e.returnUndefined,isSourceOfProjectReferenceRedirect:e.returnFalse,writeFile:function(t,r,n){switch(t){case l:if(m===r)return;break;case u:if(g===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:k(i),writeByteOrderMark:n});case d:if(_===r)return;break;case p:if(h===r)return;break;default:e.Debug.fail("Unexpected path: "+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 b(e.notImplementedResolver,T,void 0,e.getTransformers(t.options,a)),S},function(e){e[e.Notification=0]="Notification",e[e.Substitution=1]="Substitution",e[e.Comments=2]="Comments",e[e.SourceMaps=3]="SourceMaps",e[e.Emit=4]="Emit"}(t||(t={})),e.createPrinter=E,function(e){e[e.Auto=0]="Auto",e[e.CountMask=268435455]="CountMask",e[e._i=268435456]="_i"}(r||(r={}))}(d||(d={})),function(e){var t;function r(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&&p(r.files,l(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=o(e),n=u(e,r);if(n)return n.directories.slice();return t.getDirectories(e)},readDirectory:function(i,a,s,c,l){var d=o(i),p=u(i,d);if(p)return e.matchFiles(i,a,s,c,n,r,l,(function(t){var r=o(t);if(r===d)return p;return u(t,r)||e.emptyFileSystemEntries}),m);return t.readDirectory(i,a,s,c,l)},createDirectory:t.createDirectory&&function(e){var r=c(o(e)),n=l(e);r&&f(r.directories,n,!0);t.createDirectory(e)},writeFile:t.writeFile&&function(e,r,n){var i=c(o(e));i&&g(i,l(e),!0);return t.writeFile(e,r,n)},addOrDeleteFileOrDirectory:function(e,r){if(s(r))return void _();var n=c(r);if(!n)return;if(!t.directoryExists)return void _();var i=l(e),a={fileExists:t.fileExists(r),directoryExists:t.directoryExists(r)};a.directoryExists||p(n.directories,i)?_():g(n,i,a.fileExists);return a},addOrDeleteFile:function(t,r,n){if(n===e.FileWatcherEventKind.Changed)return;var i=c(r);i&&g(i,l(t),n===e.FileWatcherEventKind.Created)},clearCache:_,realpath:t.realpath&&m}}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 l(t){return e.getBaseFileName(e.normalizePath(t))}function u(r,n){var a=s(n=e.ensureTrailingDirectorySeparator(n));if(a)return a;try{return function(r,n){var a={files:e.map(t.readDirectory(r,void 0,void 0,["*.*"]),l)||[],directories:t.getDirectories(r)||[]};return i.set(e.ensureTrailingDirectorySeparator(n),a),a}(r,n)}catch(t){return void e.Debug.assert(!i.has(e.ensureTrailingDirectorySeparator(n)))}}function d(e,t){return a(e)===a(t)}function p(t,r){return e.some(t,(function(e){return d(e,r)}))}function f(t,r,n){if(p(t,r)){if(!n)return e.filterMutate(t,(function(e){return!d(e,r)}))}else if(n)return t.push(r)}function m(e){return t.realpath?t.realpath(e):e}function g(e,t,r){f(e.files,t,r)}function _(){i.clear()}},function(e){e[e.None=0]="None",e[e.Partial=1]="Partial",e[e.Full=2]="Full"}(e.ConfigFileProgramReloadLevel||(e.ConfigFileProgramReloadLevel={})),e.updateSharedExtendedConfigFileWatcher=function(t,r,n,i,a){var o,s=e.arrayToMap((null===(o=null==r?void 0:r.options.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]),fileWatcher:i(r,a),close:function(){var e=n.get(a);e&&0===e.projects.size&&(e.fileWatcher.close(),n.delete(a))}})}))},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,n,i){function a(e,t){return{watcher:i(e,t),flags:t}}e.mutateMap(t,n,{createNewValue:a,onDeleteValue:r,onExistingValue:function(e,r,n){if(e.flags===r)return;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,l=t.currentDirectory,u=t.useCaseSensitiveFileNames,d=t.writeLog,p=e.removeIgnoredPath(i);if(!p)return d("Project: "+a+" Detected ignored path: "+n),!0;if((i=p)===r)return!1;if(e.hasExtension(i)&&!e.isSupportedSourceFileName(n,o,c))return d("Project: "+a+" Detected file add/remove of non supported extension: "+n),!0;if(e.isExcludedFile(n,o.configFile.configFileSpecs,e.getNormalizedAbsolutePath(e.getDirectoryPath(a),l),u,l))return d("Project: "+a+" Detected excluded file: "+n),!0;if(!s)return!1;if(o.outFile||o.outDir)return!1;if(e.isDeclarationFileName(i)){if(o.declarationDir)return!1}else if(!e.fileExtensionIsOneOf(i,e.supportedJSExtensions))return!1;var f=e.removeFileExtension(i),m=function(e){return!!e.getState}(s)?s.getProgramOrUndefined():s;return!!(g(f+".ts")||g(f+".tsx")||g(f+".ets"))&&(d("Project: "+a+" Detected output file: "+n),!0);function g(e){return m?!!m.getSourceFileByPath(e):s.getState().fileInfos.has(e)}},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"}(t=e.WatchLogLevel||(e.WatchLogLevel={})),e.getWatchFactory=function(r,n,a,o){e.setSysLog(n===t.Verbose?a:e.noop);var s={watchFile:function(e,t,n,i){return r.watchFile(e,t,n,i)},watchDirectory:function(e,t,n,i){return r.watchDirectory(e,t,!!(1&n),i)}},c=n!==t.None?{watchFile:p("watchFile"),watchDirectory:p("watchDirectory")}:void 0,l=n===t.Verbose?{watchFile:function(e,t,r,n,i,s){a("FileWatcher:: Added:: "+f(e,r,n,i,s,o));var l=c.watchFile(e,t,r,n,i,s);return{close:function(){a("FileWatcher:: Close:: "+f(e,r,n,i,s,o)),l.close()}}},watchDirectory:function(t,r,n,i,s,l){var u="DirectoryWatcher:: Added:: "+f(t,n,i,s,l,o);a(u);var d=e.timestamp(),p=c.watchDirectory(t,r,n,i,s,l),m=e.timestamp()-d;return a("Elapsed:: "+m+"ms "+u),{close:function(){var r="DirectoryWatcher:: Close:: "+f(t,n,i,s,l,o);a(r);var c=e.timestamp();p.close();var u=e.timestamp()-c;a("Elapsed:: "+u+"ms "+r)}}}}:c||s,u=n===t.Verbose?function(e,t,r,n,i){return a("ExcludeWatcher:: Added:: "+f(e,t,r,n,i,o)),{close:function(){return a("ExcludeWatcher:: Close:: "+f(e,t,r,n,i,o))}}}:e.returnNoopFileWatcher;return{watchFile:d("watchFile"),watchDirectory:d("watchDirectory")};function d(t){return function(n,i,a,o,s,c){var d;return e.matchesExclude(n,"watchFile"===t?null==o?void 0:o.excludeFiles:null==o?void 0:o.excludeDirectories,"boolean"==typeof r.useCaseSensitiveFileNames?r.useCaseSensitiveFileNames:r.useCaseSensitiveFileNames(),(null===(d=r.getCurrentDirectory)||void 0===d?void 0:d.call(r))||"")?u(n,a,o,s,c):l[t].call(void 0,n,i,a,o,s,c)}}function p(t){return function(r,n,c,l,u,d){return s[t].call(void 0,r,(function(){for(var s=[],p=0;p<arguments.length;p++)s[p]=arguments[p];var m=("watchFile"===t?"FileWatcher":"DirectoryWatcher")+":: Triggered with "+s[0]+" "+(void 0!==s[1]?s[1]:"")+":: "+f(r,c,l,u,d,o);a(m);var g=e.timestamp();n.call.apply(n,i([void 0],s));var _=e.timestamp()-g;a("Elapsed:: "+_+"ms "+m)}),c,l,u,d)}}function f(e,t,r,n,i,a){return"WatchInfo: "+e+" "+t+" "+JSON.stringify(r)+" "+(a?a(n,i):void 0===i?n:n+" "+i)}},e.getFallbackOptions=function(t){var r=null==t?void 0:t.fallbackPolling;return{watchFile:void 0!==r?r:e.WatchFileKind.PriorityPollingInterval}},e.closeFileWatcherOf=r}(d||(d={})),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 l=e.getNewLineCharacter(t,(function(){return n.newLine})),u=n.realpath&&function(e){return n.realpath(e)},d={getSourceFile:function(n,i,a){var o;try{e.performance.mark("beforeIORead"),o=d.readFile(n),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,r,void 0,t):void 0},getDefaultLibLocation:c,getDefaultLibFileName:function(t){return e.combinePaths(c(),e.getDefaultLibFileName(t))},writeFile:function(r,o,c,l){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)return void n.writeFile(r,a,o);i||(i=new e.Map);var c=s(a),l=n.getModifiedTime(r);if(l){var u=i.get(r);if(u&&u.byteOrderMark===o&&u.hash===c&&u.mtime.getTime()===l.getTime())return}n.writeFile(r,a,o);var d=n.getModifiedTime(r)||e.missingFileModifiedTime;i.set(r,{hash:c,byteOrderMark:o,mtime:d})}(r,a,o)}),(function(e){return(d.createDirectory||n.createDirectory)(e)}),(function(e){return t=e,!!a.has(t)||!!(d.directoryExists||n.directoryExists)(t)&&(a.set(t,!0),!0);var t})),e.performance.mark("afterIOWrite"),e.performance.measure("I/O Write","beforeIOWrite","afterIOWrite")}catch(e){l&&l(e.message)}},getCurrentDirectory:e.memoize((function(){return n.getCurrentDirectory()})),useCaseSensitiveFileNames:function(){return n.useCaseSensitiveFileNames},getCanonicalFileName:o,getNewLine:function(){return l},fileExists:function(e){return n.fileExists(e)},readFile:function(e){return n.readFile(e)},trace:function(e){return n.write(e+l)},directoryExists:function(e){return n.directoryExists(e)},getEnvironmentVariable:function(e){return n.getEnvironmentVariable?n.getEnvironmentVariable(e):""},getDirectories:function(e){return n.getDirectories(e)},realpath:u,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 d}function a(t,r){var n=e.diagnosticCategoryName(t)+" TS"+t.code+": "+_(t.messageText,r.getNewLine())+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 c+"("+(a+1)+","+(o+1)+"): "+n}return n}var o;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,l=new e.Map,u=new e.Map,d=new e.Map,p=new e.Map,f=function(e,r){var n=i.call(t,r);return l.set(e,void 0!==n&&n),n};t.readFile=function(n){var a=r(n),o=l.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 m=n?function(t,i,a,o){var s=r(t),c=p.get(s);if(c)return c;var l=n(t,i,a,o);return l&&(e.isDeclarationFileName(t)||e.fileExtensionIs(t,".json"))&&p.set(s,l),l}:void 0;return t.fileExists=function(e){var n=r(e),i=u.get(n);if(void 0!==i)return i;var o=a.call(t,e);return u.set(n,!!o),o},c&&(t.writeFile=function(e,n,i,a,o){var s=r(e);u.delete(s);var d=l.get(s);if(void 0!==d&&d!==n)l.delete(s),p.delete(s);else if(m){var f=p.get(s);f&&f.text!==n&&p.delete(s)}c.call(t,e,n,i,a,o)}),o&&s&&(t.directoryExists=function(e){var n=r(e),i=d.get(n);if(void 0!==i)return i;var a=o.call(t,e);return d.set(n,!!a),a},t.createDirectory=function(e){var n=r(e);d.delete(n),s.call(t,e)}),{originalReadFile:i,originalFileExists:a,originalDirectoryExists:o,originalCreateDirectory:s,originalWriteFile:c,getSourceFileWithCache:m,readFileWithCache:function(e){var t=r(e),n=l.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,i=e;n<i.length;n++){r+=a(i[n],t)}return r},e.formatDiagnostic=a,function(e){e.Grey="[90m",e.Red="[91m",e.Yellow="[93m",e.Blue="[94m",e.Cyan="[96m"}(o=e.ForegroundColorEscapeSequences||(e.ForegroundColorEscapeSequences={}));var s="[7m",c=" ",l="[0m",u="...",d=" ";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 f(e,t){return t+e+l}function m(t,r,n,i,a,o){var d=e.getLineAndCharacterOfPosition(t,r),p=d.line,m=d.character,g=e.getLineAndCharacterOfPosition(t,r+n),_=g.line,h=g.character,y=e.getLineAndCharacterOfPosition(t,t.text.length).line,v=_-p>=4,b=(_+1+"").length;v&&(b=Math.max(u.length,b));for(var k="",x=p;x<=_;x++){k+=o.getNewLine(),v&&p+1<x&&x<_-1&&(k+=i+f(e.padLeft(u,b),s)+c+o.getNewLine(),x=_-1);var E=e.getPositionOfLineAndCharacter(t,x,0),S=x<y?e.getPositionOfLineAndCharacter(t,x+1,0):t.text.length,D=t.text.slice(E,S);if(D=(D=D.replace(/\s+$/g,"")).replace(/\t/g," "),k+=i+f(e.padLeft(x+1+"",b),s)+c,k+=D+o.getNewLine(),k+=i+f(e.padLeft("",b),s)+c,k+=a,x===p){var w=x===_?h:void 0;k+=D.slice(0,m).replace(/\S/g," "),k+=D.slice(m,w).replace(/./g,"~")}else k+=x===_?D.slice(0,h).replace(/./g,"~"):D.replace(/./g,"~");k+=l}return k}function g(t,r,n,i){void 0===i&&(i=f);var a=e.getLineAndCharacterOfPosition(t,r),s=a.line,c=a.character,l="";return l+=i(n?e.convertToRelativePath(t.fileName,n.getCurrentDirectory(),(function(e){return n.getCanonicalFileName(e)})):t.fileName,o.Cyan),l+=":",l+=i(""+(s+1),o.Yellow),l+=":",l+=i(""+(c+1),o.Yellow)}function _(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+=_(s[o],r,n)}return i}function h(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 l=c[s],u=void 0;o.has(l)?u=o.get(l):o.set(l,u=i(l,r,n)),a.push(u)}return a}function y(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 v(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 b(e){return void 0!==e.pos}function k(t,r){var n,i,a,o,s,c,l,u,d,p,f=e.Debug.checkDefined(t(r.file)),m=r.kind,g=r.index;switch(m){case e.FileIncludeKind.Import:var _=A(f,g);if(p=null===(s=null===(o=f.resolvedModules)||void 0===o?void 0:o.get(_.text))||void 0===s?void 0:s.packageId,-1===_.pos)return{file:f,packageId:p,text:_.text};u=e.skipTrivia(f.text,_.pos),d=_.end;break;case e.FileIncludeKind.ReferenceFile:u=(n=f.referencedFiles[g]).pos,d=n.end;break;case e.FileIncludeKind.TypeReferenceDirective:u=(i=f.typeReferenceDirectives[g]).pos,d=i.end,p=null===(l=null===(c=f.resolvedTypeReferenceDirectiveNames)||void 0===c?void 0:c.get(e.toFileNameLowerCase(f.typeReferenceDirectives[g].fileName)))||void 0===l?void 0:l.packageId;break;case e.FileIncludeKind.LibReferenceDirective:u=(a=f.libReferenceDirectives[g]).pos,d=a.end;break;default:return e.Debug.assertNever(m)}return{file:f,pos:u,end:d,packageId:p}}function x(t,r,n,a){var o=t.getCompilerOptions();if(o.noEmit)return t.getSemanticDiagnostics(r,a),r||e.outFile(o)?e.emitSkippedWithNoDiagnostics:t.emitBuildInfo(n,a);if(o.noEmitOnError){var s=i(i(i(i([],t.getOptionsDiagnostics(a)),t.getSyntacticDiagnostics(r,a)),t.getGlobalDiagnostics(a)),t.getSemanticDiagnostics(r,a));if(0===s.length&&e.getEmitDeclarations(t.getCompilerOptions())&&(s=t.getDeclarationDiagnostics(void 0,a)),s.length){var c;if(!r&&!e.outFile(o)){var l=t.emitBuildInfo(n,a);l.diagnostics&&(s=i(i([],s),l.diagnostics)),c=l.emittedFiles}return{diagnostics:s,sourceMaps:void 0,emittedFiles:c,emitSkipped:!0}}}}function E(t,r){return e.filter(t,(function(e){return!e.skippedOn||!r[e.skippedOn]}))}function S(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 D(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),l=c.jsFilePath,u=c.sourceMapFilePath,d=c.declarationFilePath,p=c.declarationMapPath,f=c.buildInfoPath,m=e.createInputFiles(n,l,u,d,p,f);(i||(i=[])).push(m)}}return i||e.emptyArray}function w(t,r){var n=r||t;return e.resolveConfigFileProjectName(n.path)}function T(t,r){switch(r.extension){case".ts":case".d.ts":case".ets":case".d.ets":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 C(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 A(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=f,e.formatLocation=g,e.formatDiagnosticsWithColorAndContext=function(t,r){for(var n="",i=0,a=t;i<a.length;i++){var s=a[i];if(s.file)n+=g(h=s.file,y=s.start,r),n+=" - ";if(n+=f(e.diagnosticCategoryName(s),p(s.category)),n+=f(" TS"+s.code+": ",o.Grey),n+=_(s.messageText,r.getNewLine()),s.file&&(n+=r.getNewLine(),n+=m(s.file,s.start,s.length,"",p(s.category),r)),s.relatedInformation){n+=r.getNewLine();for(var c=0,l=s.relatedInformation;c<l.length;c++){var u=l[c],h=u.file,y=u.start,v=u.length,b=u.messageText;h&&(n+=r.getNewLine(),n+=" "+g(h,y,r),n+=m(h,y,v,d,o.Cyan,r)),n+=r.getNewLine(),n+=d+_(b,r.getNewLine())}}n+=r.getNewLine()}return n},e.flattenDiagnosticMessageText=_,e.loadWithLocalCache=h,e.forEachResolvedProjectReference=function(e,t){return y(void 0,e,(function(e,r){return e&&t(e,r)}))},e.inferredTypesContainingFile="__inferred type names__.ts",e.isReferencedFile=v,e.isReferenceFileLocation=b,e.getReferencedFileLocation=k,e.isProgramUptoDate=function(t,r,n,i,a,o,s,c){if(!t||(null==s?void 0:s()))return!1;if(!e.arrayIsEqualTo(t.getRootFileNames(),r))return!1;var l;if(!e.arrayIsEqualTo(t.getProjectReferences(),c,(function(r,n,i){if(!e.projectReferenceIsEqualTo(r,n))return!1;return p(t.getResolvedProjectReferences()[i],r)})))return!1;if(t.getSourceFiles().some((function(e){return!d(e)||o(e.path)})))return!1;if(t.getMissingFilePaths().some(a))return!1;var u=t.getCompilerOptions();return!!e.compareDataObjects(u,n)&&(!u.configFile||!n.configFile||u.configFile.text===n.configFile.text);function d(e){return e.version===i(e.resolvedPath,e.fileName)}function p(t,r){return t?!!e.contains(l,t)||!!d(t.sourceFile)&&((l||(l=[])).push(t),!e.forEach(t.references,(function(e,r){return!p(e,t.commandLine.projectReferences[r])}))):!a(w(r))}},e.getConfigFileParsingDiagnostics=function(e){return e.options.configFile?i(i([],e.options.configFile.parseDiagnostics),e.errors):e.errors},e.createProgram=function(n,a,o,s,c){var l,u,d,p,f,m,g,_,A,N,P,I,F,O,R=e.isArray(n)?function(e,t,r,n,i){return{rootNames:e,options:t,host:r,oldProgram:n,configFileParsingDiagnostics:i}}(n,a,o,s,c):n,M=R.rootNames,L=R.options,j=R.configFileParsingDiagnostics,B=R.projectReferences,z=R.oldProgram,U=new e.Map,q=e.createMultiMap(),J={},V={},H=new e.Map,K="number"==typeof L.maxNodeModuleJsDepth?L.maxNodeModuleJsDepth:0,W=0,G=new e.Map,$=new e.Map;null===e.tracing||void 0===e.tracing||e.tracing.push("program","createProgram",{configFilePath:L.configFilePath,rootDir:L.rootDir},!0),e.performance.mark("beforeProgram");var Y,X,Q,Z,ee=R.host||r(L),te=S(ee),re=L.noLib,ne=e.memoize((function(){return ee.getDefaultLibFileName(L)})),ie=ee.getDefaultLibLocation?ee.getDefaultLibLocation():e.getDirectoryPath(ne()),ae=e.createDiagnosticCollection(),oe=ee.getCurrentDirectory(),se=e.getSupportedExtensions(L),ce=e.getSuppoertedExtensionsWithJsonIfResolveJsonModule(L,se),le=new e.Map,ue=ee.hasInvalidatedResolution||e.returnFalse;if(ee.resolveModuleNames)Q=function(t,r,n,i){return ee.resolveModuleNames(e.Debug.checkEachDefined(t),r,n,i,L).map((function(t){if(!t||void 0!==t.extension)return t;var r=e.clone(t);return r.extension=e.extensionFromPath(t.resolvedFileName),r}))};else{X=e.createModuleResolutionCache(oe,(function(e){return ee.getCanonicalFileName(e)}),L);var de=function(t,r,n){return e.resolveModuleName(t,r,L,ee,X,n).resolvedModule};Q=function(t,r,n,i){return h(e.Debug.checkEachDefined(t),r,i,de)}}if(ee.resolveTypeReferenceDirectives)Z=function(t,r,n){return ee.resolveTypeReferenceDirectives(e.Debug.checkEachDefined(t),r,n,L)};else{var pe=function(t,r,n){return e.resolveTypeReferenceDirective(t,r,L,ee,n).resolvedTypeReferenceDirective};Z=function(t,r,n){return h(e.Debug.checkEachDefined(t),r,n,pe)}}var fe,me,ge,_e,he,ye=new e.Map,ve=new e.Map,be=e.createMultiMap(),ke=new e.Map,xe=ee.useCaseSensitiveFileNames()?new e.Map:void 0,Ee=!!(null===(l=ee.useSourceOfProjectReferenceRedirect)||void 0===l?void 0:l.call(ee))&&!L.disableSourceOfProjectReferenceRedirect,Se=function(t){var r,n,i=t.compilerHost.fileExists,a=t.compilerHost.directoryExists,o=t.compilerHost.getDirectories,s=t.compilerHost.realpath;if(!t.useSourceOfProjectReferenceRedirect)return{onProgramCreateComplete:e.noop,fileExists:l};t.compilerHost.fileExists=l,a&&(n=t.compilerHost.directoryExists=function(n){return a.call(t.compilerHost,n)?(p(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)});return{onProgramCreateComplete:c,fileExists:l,directoryExists:n};function c(){t.compilerHost.fileExists=i,t.compilerHost.directoryExists=a,t.compilerHost.getDirectories=o}function l(r){return!!i.call(t.compilerHost,r)||!!t.getResolvedProjectReferences()&&(!!e.isDeclarationFileName(r)&&f(r,!0))}function u(r){var n=t.getSourceOfProjectReferenceRedirect(r);return void 0!==n?!e.isString(n)||i.call(t.compilerHost,n):void 0}function d(n){var i=t.toPath(n),a=""+i+e.directorySeparator;return e.forEachKey(r,(function(t){return i===t||e.startsWith(t,a)||e.startsWith(i,t+"/")}))}function p(r){var n,i;if(t.getResolvedProjectReferences()&&!e.containsIgnoredPath(r)){var a=e.isOhpm(null===(n=t.options)||void 0===n?void 0:n.packageManagerType)?e.ohModulesPathPart:e.nodeModulesPathPart;if(s&&e.stringContains(r,a)){var o=t.getSymlinkCache(),c=e.ensureTrailingDirectorySeparator(t.toPath(r));if(!(null===(i=o.getSymlinkedDirectories())||void 0===i?void 0:i.has(c))){var l,u=e.normalizePath(s.call(t.compilerHost,r));u!==r&&(l=e.ensureTrailingDirectorySeparator(t.toPath(u)))!==c?o.setSymlinkedDirectory(r,{real:e.ensureTrailingDirectorySeparator(u),realPath:l}):o.setSymlinkedDirectory(c,!1)}}}}function f(r,n){var i,a,o=n?function(e){return u(e)}:function(e){return d(e)},s=o(r);if(void 0!==s)return s;var c=t.getSymlinkCache(),l=c.getSymlinkedDirectories();if(!l)return!1;var p=t.toPath(r),f=e.isOhpm(null===(i=t.options)||void 0===i?void 0:i.packageManagerType)?e.ohModulesPathPart:e.nodeModulesPathPart;return!!e.stringContains(p,f)&&(!(!n||!(null===(a=c.getSymlinkedFiles())||void 0===a?void 0:a.has(p)))||(e.firstDefinedIterator(l.entries(),(function(i){var a=i[0],s=i[1];if(s&&e.startsWith(p,a)){var l=o(p.replace(a,s.realPath));if(n&&l){var u=e.getNormalizedAbsolutePath(r,t.compilerHost.getCurrentDirectory());c.setSymlinkedFile(p,""+s.real+u.replace(new RegExp(a,"i"),""))}return l}}))||!1))}}({compilerHost:ee,getSymlinkCache:ar,useSourceOfProjectReferenceRedirect:Ee,toPath:Ke,getResolvedProjectReferences:Ye,getSourceOfProjectReferenceRedirect:Ft,forEachResolvedProjectReference:It,options:a}),De=Se.onProgramCreateComplete,we=Se.fileExists,Te=Se.directoryExists;null===e.tracing||void 0===e.tracing||e.tracing.push("program","shouldProgramCreateNewSourceFiles",{hasOldProgram:!!z});var Ce,Ae=function(t,r){if(!t)return!1;var n=t.getCompilerOptions();return!!e.sourceFileAffectingCompilerOptions.some((function(t){return!e.isJsonEqual(e.getCompilerOptionValue(n,t),e.getCompilerOptionValue(r,t))}))}(z,L);if(null===e.tracing||void 0===e.tracing||e.tracing.pop(),null===e.tracing||void 0===e.tracing||e.tracing.push("program","tryReuseStructureFromOldProgram",{}),Ce=function(){var t;if(!z)return 0;var r=z.getCompilerOptions();if(e.changesAffectModuleResolution(r,L))return 0;var n=z.getRootFileNames();if(!e.arrayIsEqualTo(n,M))return 0;if(!e.arrayIsEqualTo(L.types,r.types))return 0;if(y(z.getProjectReferences(),z.getResolvedProjectReferences(),(function(e,t,r){var n=qt((t?t.commandLine.projectReferences:B)[r]);return e?!n||n.sourceFile!==e.sourceFile:void 0!==n}),(function(t,r){var n=r?Rt(r.sourceFile.path).commandLine.projectReferences:B;return!e.arrayIsEqualTo(t,n,e.projectReferenceIsEqualTo)})))return 0;B&&(me=B.map(qt));var i=[],a=[];if(Ce=2,z.getMissingFilePaths().some((function(e){return ee.fileExists(e)})))return 0;var o,s=z.getSourceFiles();!function(e){e[e.Exists=0]="Exists",e[e.Modified=1]="Modified"}(o||(o={}));for(var c=new e.Map,l=0,u=s;l<u.length;l++){var d=u[l];if(!(j=ee.getSourceFileByPath?ee.getSourceFileByPath(d.fileName,d.resolvedPath,L.target,void 0,Ae):ee.getSourceFile(d.fileName,L.target,void 0,Ae)))return 0;e.Debug.assert(!j.redirectInfo,"Host should not return a redirect source file from `getSourceFile`");var p=void 0;if(d.redirectInfo){if(j!==d.redirectInfo.unredirected)return 0;p=!1,j=d}else if(z.redirectTargetsMap.has(d.path)){if(j!==d)return 0;p=!1}else p=j!==d;j.path=d.path,j.originalFileName=d.originalFileName,j.resolvedPath=d.resolvedPath,j.fileName=d.fileName;var f=z.sourceFileToPackageName.get(d.path);if(void 0!==f){var m=c.get(f),g=p?1:0;if(void 0!==m&&1===g||1===m)return 0;c.set(f,g)}if(p){if(!e.arrayIsEqualTo(d.libReferenceDirectives,j.libReferenceDirectives,ht))return 0;d.hasNoDefaultLib!==j.hasNoDefaultLib&&(Ce=1),e.arrayIsEqualTo(d.referencedFiles,j.referencedFiles,ht)||(Ce=1),bt(j),e.arrayIsEqualTo(d.imports,j.imports,yt)||(Ce=1),e.arrayIsEqualTo(d.moduleAugmentations,j.moduleAugmentations,yt)||(Ce=1),(3145728&d.flags)!=(3145728&j.flags)&&(Ce=1),e.arrayIsEqualTo(d.typeReferenceDirectives,j.typeReferenceDirectives,ht)||(Ce=1),a.push({oldFile:d,newFile:j})}else ue(d.path)&&(Ce=1,a.push({oldFile:d,newFile:j}));i.push(j)}if(2!==Ce)return Ce;for(var h=a.map((function(e){return e.oldFile})),v=0,b=s;v<b.length;v++){var k=b[v];if(!e.contains(h,k))for(var x=0,E=k.ambientModuleNames;x<E.length;x++){var S=E[x];U.set(S,k.fileName)}}for(var D=0,w=a;D<w.length;D++){var T=w[D],A=(d=T.oldFile,C(j=T.newFile)),N=Ge(A,j);e.hasChangesInResolutions(A,N,d.resolvedModules,e.moduleResolutionIsEqualTo)?(Ce=1,j.resolvedModules=e.zipToMap(A,N)):j.resolvedModules=d.resolvedModules;var P=e.map(j.typeReferenceDirectives,(function(t){return e.toFileNameLowerCase(t.fileName)})),I=qe(P,j);e.hasChangesInResolutions(P,I,d.resolvedTypeReferenceDirectiveNames,e.typeDirectiveIsEqualTo)?(Ce=1,j.resolvedTypeReferenceDirectiveNames=e.zipToMap(P,I)):j.resolvedTypeReferenceDirectiveNames=d.resolvedTypeReferenceDirectiveNames}if(2!==Ce)return Ce;if(null===(t=ee.hasChangedAutomaticTypeDirectiveNames)||void 0===t?void 0:t.call(ee))return 1;fe=z.getMissingFilePaths(),e.Debug.assert(i.length===z.getSourceFiles().length);for(var F=0,R=i;F<R.length;F++){var j=R[F];ke.set(j.path,j)}return z.getFilesByNameMap().forEach((function(e,t){e?e.path!==t?ke.set(t,ke.get(e.path)):z.isSourceFileFromExternalLibrary(e)&&$.set(e.path,!0):ke.set(t,e)})),_=i,q=z.getFileIncludeReasons(),O=z.getFileProcessingDiagnostics(),H=z.getResolvedTypeReferenceDirectives(),ve=z.sourceFileToPackageName,be=z.redirectTargetsMap,2}(),null===e.tracing||void 0===e.tracing||e.tracing.pop(),2!==Ce){m=[],g=[],B&&(me||(me=B.map(qt)),M.length&&(null==me||me.forEach((function(t,r){if(t){var n=e.outFile(t.commandLine.options);if(Ee){if(n||e.getEmitModuleKind(t.commandLine.options)===e.ModuleKind.None)for(var i=0,a=t.commandLine.fileNames;i<a.length;i++){Et(l=a[i],{kind:e.FileIncludeKind.SourceFromProjectReference,index:r})}}else if(n)Et(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,!ee.useCaseSensitiveFileNames())})),s=0,c=t.commandLine.fileNames;s<c.length;s++){var l=c[s];e.isDeclarationFileName(l)||e.fileExtensionIs(l,".json")||Et(e.getOutputDeclarationFileName(l,t.commandLine,!ee.useCaseSensitiveFileNames(),o),{kind:e.FileIncludeKind.OutputFromProjectReference,index:r})}}})))),null===e.tracing||void 0===e.tracing||e.tracing.push("program","processRootFiles",{count:M.length}),e.forEach(M,(function(t,r){return _t(t,!1,!1,{kind:e.FileIncludeKind.RootFile,index:r})})),null===e.tracing||void 0===e.tracing||e.tracing.pop();var Ne=M.length?e.getAutomaticTypeDirectiveNames(L,ee):e.emptyArray;if(Ne.length){null===e.tracing||void 0===e.tracing||e.tracing.push("program","processTypeReferences",{count:Ne.length});for(var Pe=L.configFilePath?e.getDirectoryPath(L.configFilePath):ee.getCurrentDirectory(),Ie=qe(Ne,e.combinePaths(Pe,e.inferredTypesContainingFile)),Fe=0;Fe<Ne.length;Fe++)jt(Ne[Fe],Ie[Fe],{kind:e.FileIncludeKind.AutomaticTypeDirectiveFile,typeReference:Ne[Fe],packageId:null===(u=Ie[Fe])||void 0===u?void 0:u.packageId});null===e.tracing||void 0===e.tracing||e.tracing.pop()}if(M.length&&!re){var Oe=ne();if(!L.lib&&Oe)_t(Oe,!0,!1,{kind:e.FileIncludeKind.LibFile});else{e.forEach(L.lib,(function(t,r){_t(e.combinePaths(ie,t),!0,!1,{kind:e.FileIncludeKind.LibFile,index:r})}));var Re=null!==(p=null===(d=L.ets)||void 0===d?void 0:d.libs)&&void 0!==p?p:[];Re.length&&e.forEach(Re,(function(t){_t(e.combinePaths(t),!0,!1,{kind:e.FileIncludeKind.LibFile})}))}}fe=e.arrayFrom(e.mapDefinedIterator(ke.entries(),(function(e){var t=e[0];return void 0===e[1]?t:void 0}))),_=e.stableSort(m,(function(t,r){return e.compareValues(He(t),He(r))})).concat(g),m=void 0,g=void 0}if(e.Debug.assert(!!fe),z&&ee.onReleaseOldSourceFile){for(var Me=0,Le=z.getSourceFiles();Me<Le.length;Me++){var je=Le[Me],Be=nt(je.resolvedPath);(Ae||!Be||je.resolvedPath===je.path&&Be.resolvedPath!==je.path)&&ee.onReleaseOldSourceFile(je,z.getCompilerOptions(),!!nt(je.path))}z.forEachResolvedProjectReference((function(e){Rt(e.sourceFile.path)||ee.onReleaseOldSourceFile(e.sourceFile,z.getCompilerOptions(),!1)}))}z=void 0;var ze={getRootFileNames:function(){return M},getSourceFile:rt,getSourceFileByPath:nt,getSourceFiles:function(){return _},getMissingFilePaths:function(){return fe},getFilesByNameMap:function(){return ke},getCompilerOptions:function(){return L},getSyntacticDiagnostics:function(e,t){return it(e,ot,t)},getOptionsDiagnostics:function(){return e.sortAndDeduplicateDiagnostics(e.concatenate(ae.getGlobalDiagnostics(),function(){if(!L.configFile)return e.emptyArray;var t=ae.getDiagnostics(L.configFile.fileName);return It((function(r){t=e.concatenate(t,ae.getDiagnostics(r.sourceFile.fileName))})),t}()))},getGlobalDiagnostics:function(){return M.length?e.sortAndDeduplicateDiagnostics(Ze().getGlobalDiagnostics().slice()):e.emptyArray},getSemanticDiagnostics:function(e,t){return it(e,ct,t)},getCachedSemanticDiagnostics:function(e){var t;return e?null===(t=J.perFile)||void 0===t?void 0:t.get(e.path):J.allDiagnostics},getSuggestionDiagnostics:function(e,t){return st((function(){return Ze().getSuggestionDiagnostics(e,t)}))},getDeclarationDiagnostics:function(t,r){var n=ze.getCompilerOptions();return!t||e.outFile(n)?pt(t,r):it(t,gt,r)},getBindAndCheckDiagnostics:function(e,t){return lt(e,t)},getProgramDiagnostics:at,getTypeChecker:et,getEtsLibSFromProgram:function(){return e.getEtsLibs(ze)},getClassifiableNames:function(){var t;if(!F){et(),F=new e.Set;for(var r=0,n=_;r<n.length;r++){null===(t=n[r].classifiableNames)||void 0===t||t.forEach((function(e){return F.add(e)}))}}return F},getDiagnosticsProducingTypeChecker:Ze,getCommonSourceDirectory:We,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=st((function(){return function(t,r,n,i,a,o,s){if(!s){var c=x(t,r,n,i);if(c)return c}var l=Ze().getEmitResolver(e.outFile(L)?void 0:r,i);e.performance.mark("beforeEmit");var u=e.emitFiles(l,$e(n),r,e.getTransformers(L,o,a),a,!1,s);return e.performance.mark("afterEmit"),e.performance.measure("Emit","beforeEmit","afterEmit"),u}(ze,t,r,n,i,a,o)}));return null===e.tracing||void 0===e.tracing||e.tracing.pop(),s},getCurrentDirectory:function(){return oe},getNodeCount:function(){return Ze().getNodeCount()},getIdentifierCount:function(){return Ze().getIdentifierCount()},getSymbolCount:function(){return Ze().getSymbolCount()},getTypeCatalog:function(){return Ze().getTypeCatalog()},getTypeCount:function(){return Ze().getTypeCount()},getInstantiationCount:function(){return Ze().getInstantiationCount()},getRelationCacheSizes:function(){return Ze().getRelationCacheSizes()},getFileProcessingDiagnostics:function(){return O},getResolvedTypeReferenceDirectives:function(){return H},isSourceFileFromExternalLibrary:Qe,isSourceFileDefaultLibrary:function(t){if(t.hasNoDefaultLib)return!0;if(!L.noLib)return!1;var r=ee.useCaseSensitiveFileNames()?e.equateStringsCaseSensitive:e.equateStringsCaseInsensitive;return L.lib?e.some(L.lib,(function(n){return r(t.fileName,e.combinePaths(ie,n))})):r(t.fileName,ne())},dropDiagnosticsProducingTypeChecker:function(){P=void 0},getSourceFileFromReference:function(e,r){return kt(t(r.fileName,e.fileName),rt)},getLibFileFromReference:function(t){var r=e.toFileNameLowerCase(t.fileName),n=e.libMap.get(r);if(n)return rt(e.combinePaths(ie,n))},sourceFileToPackageName:ve,redirectTargetsMap:be,isEmittedFile:function(t){if(L.noEmit)return!1;var r=Ke(t);if(nt(r))return!1;var n=e.outFile(L);if(n)return ir(r,n)||ir(r,e.removeFileExtension(n)+".d.ts");if(L.declarationDir&&e.containsPath(L.declarationDir,r,oe,!ee.useCaseSensitiveFileNames()))return!0;if(L.outDir)return e.containsPath(L.outDir,r,oe,!ee.useCaseSensitiveFileNames());if(e.fileExtensionIsOneOf(r,e.supportedJSExtensions)||e.isDeclarationFileName(r)){var i=e.removeFileExtension(r);return!!nt(i+".ts")||!!nt(i+".tsx")}return!1},getConfigFileParsingDiagnostics:function(){return j||e.emptyArray},getResolvedModuleWithFailedLookupLocationsFromCache:function(t,r){return X&&e.resolveModuleNameFromCache(t,r,X)},getProjectReferences:function(){return B},getResolvedProjectReferences:Ye,getProjectReferenceRedirect:Ct,getResolvedProjectReferenceToRedirect:Pt,getResolvedProjectReferenceByPath:Rt,forEachResolvedProjectReference:It,isSourceOfProjectReferenceRedirect:Ot,emitBuildInfo:function(t){e.Debug.assert(!e.outFile(L)),null===e.tracing||void 0===e.tracing||e.tracing.push("emit","emitBuildInfo",{},!0),e.performance.mark("beforeEmit");var r=e.emitFiles(e.notImplementedResolver,$e(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:we,directoryExists:Te,getSymlinkCache:ar,realpath:null===(f=ee.realpath)||void 0===f?void 0:f.bind(ee),useCaseSensitiveFileNames:function(){return ee.useCaseSensitiveFileNames()},getFileIncludeReasons:function(){return q},structureIsReused:Ce,getTagNameNeededCheckByFile:ee.getTagNameNeededCheckByFile,getExpressionCheckedResultsByFile:ee.getExpressionCheckedResultsByFile};return De(),null==O||O.forEach((function(t){switch(t.kind){case 1:return ae.add(Jt(t.file&&nt(t.file),t.fileProcessingReason,t.diagnostic,t.args||e.emptyArray));case 0:var r=k(nt,t.reason),n=r.file,a=r.pos,o=r.end;return ae.add(e.createFileDiagnostic.apply(void 0,i([n,e.Debug.checkDefined(a),e.Debug.checkDefined(o)-a,t.diagnostic],t.args||e.emptyArray)));default:e.Debug.assertNever(t)}})),function(){L.strictPropertyInitialization&&!e.getStrictOptionValue(L,"strictNullChecks")&&Xt(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"strictPropertyInitialization","strictNullChecks");L.isolatedModules&&(L.out&&Xt(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"out","isolatedModules"),L.outFile&&Xt(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"outFile","isolatedModules"));L.inlineSourceMap&&(L.sourceMap&&Xt(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"sourceMap","inlineSourceMap"),L.mapRoot&&Xt(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"mapRoot","inlineSourceMap"));L.composite&&(!1===L.declaration&&Xt(e.Diagnostics.Composite_projects_may_not_disable_declaration_emit,"declaration"),!1===L.incremental&&Xt(e.Diagnostics.Composite_projects_may_not_disable_incremental_compilation,"declaration"));var t=e.outFile(L);L.tsBuildInfoFile?e.isIncrementalCompilation(L)||Xt(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"tsBuildInfoFile","incremental","composite"):!L.incremental||t||L.configFilePath||ae.add(e.createCompilerDiagnostic(e.Diagnostics.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified));if(function(){var t=L.suppressOutputPathCheck?void 0:e.getTsBuildInfoEmitOutputFilePath(L);y(B,me,(function(r,n,i){var a=(n?n.commandLine.projectReferences:B)[i],o=n&&n.sourceFile;if(r){var s=r.commandLine.options;if(!s.composite||s.noEmit)(n?n.commandLine.fileNames:M).length&&(s.composite||Zt(o,i,e.Diagnostics.Referenced_project_0_must_have_setting_composite_Colon_true,a.path),s.noEmit&&Zt(o,i,e.Diagnostics.Referenced_project_0_may_not_disable_emit,a.path));if(a.prepend){var c=e.outFile(s);c?ee.fileExists(c)||Zt(o,i,e.Diagnostics.Output_file_0_from_project_1_does_not_exist,c,a.path):Zt(o,i,e.Diagnostics.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,a.path)}!n&&t&&t===e.getTsBuildInfoEmitOutputFilePath(s)&&(Zt(o,i,e.Diagnostics.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,t,a.path),le.set(Ke(t),!0))}else Zt(o,i,e.Diagnostics.File_0_not_found,a.path)}))}(),L.composite)for(var r=new e.Set(M.map(Ke)),n=0,i=_;n<i.length;n++){var a=i[n];e.sourceFileMayBeEmitted(a,ze)&&!r.has(a.path)&&Ht(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,L.configFilePath||""])}if(L.paths)for(var o in L.paths)if(e.hasProperty(L.paths,o))if(e.hasZeroOrOneAsteriskCharacter(o)||Wt(!0,o,e.Diagnostics.Pattern_0_can_have_at_most_one_Asterisk_character,o),e.isArray(L.paths[o])){var s=L.paths[o].length;0===s&&Wt(!1,o,e.Diagnostics.Substitutions_for_pattern_0_shouldn_t_be_an_empty_array,o);for(var c=0;c<s;c++){var l=L.paths[o][c],u=typeof l;"string"===u?(e.hasZeroOrOneAsteriskCharacter(l)||Kt(o,c,e.Diagnostics.Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character,l,o),L.baseUrl||e.pathIsRelative(l)||e.pathIsAbsolute(l)||Kt(o,c,e.Diagnostics.Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash)):Kt(o,c,e.Diagnostics.Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2,l,o,u)}}else Wt(!1,o,e.Diagnostics.Substitutions_for_pattern_0_should_be_an_array,o);L.sourceMap||L.inlineSourceMap||(L.inlineSources&&Xt(e.Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"inlineSources"),L.sourceRoot&&Xt(e.Diagnostics.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"sourceRoot"));L.out&&L.outFile&&Xt(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"out","outFile");!L.mapRoot||L.sourceMap||L.declarationMap||Xt(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"mapRoot","sourceMap","declarationMap");L.declarationDir&&(e.getEmitDeclarations(L)||Xt(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"declarationDir","declaration","composite"),t&&Xt(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"declarationDir",L.out?"out":"outFile"));L.declarationMap&&!e.getEmitDeclarations(L)&&Xt(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"declarationMap","declaration","composite");L.lib&&L.noLib&&Xt(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"lib","noLib");L.noImplicitUseStrict&&e.getStrictOptionValue(L,"alwaysStrict")&&Xt(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"noImplicitUseStrict","alwaysStrict");var d=L.target||0,p=e.find(_,(function(t){return e.isExternalModule(t)&&!t.isDeclarationFile}));if(L.isolatedModules){L.module===e.ModuleKind.None&&d<2&&Xt(e.Diagnostics.Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher,"isolatedModules","target"),!1===L.preserveConstEnums&&Xt(e.Diagnostics.Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled,"preserveConstEnums","isolatedModules");var f=e.find(_,(function(t){return!e.isExternalModule(t)&&!e.isSourceFileJS(t)&&!t.isDeclarationFile&&6!==t.scriptKind}));if(f){var m=e.getErrorSpanForNode(f,f);ae.add(e.createFileDiagnostic(f,m.start,m.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(f.fileName)))}}else if(p&&d<2&&L.module===e.ModuleKind.None){m=e.getErrorSpanForNode(p,p.externalModuleIndicator);ae.add(e.createFileDiagnostic(p,m.start,m.length,e.Diagnostics.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none))}if(t&&!L.emitDeclarationOnly)if(L.module&&L.module!==e.ModuleKind.AMD&&L.module!==e.ModuleKind.System)Xt(e.Diagnostics.Only_amd_and_system_modules_are_supported_alongside_0,L.out?"out":"outFile","module");else if(void 0===L.module&&p){m=e.getErrorSpanForNode(p,p.externalModuleIndicator);ae.add(e.createFileDiagnostic(p,m.start,m.length,e.Diagnostics.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system,L.out?"out":"outFile"))}L.resolveJsonModule&&(e.getEmitModuleResolutionKind(L)!==e.ModuleResolutionKind.NodeJs?Xt(e.Diagnostics.Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy,"resolveJsonModule"):e.hasJsonModuleEmitEnabled(L)||Xt(e.Diagnostics.Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext,"resolveJsonModule","module"));if(L.outDir||L.sourceRoot||L.mapRoot){var g=We();L.outDir&&""===g&&_.some((function(t){return e.getRootLength(t.fileName)>1}))&&Xt(e.Diagnostics.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}L.useDefineForClassFields&&0===d&&Xt(e.Diagnostics.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields");L.checkJs&&!e.getAllowJSCompilerOption(L)&&ae.add(e.createCompilerDiagnostic(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs"));L.emitDeclarationOnly&&(e.getEmitDeclarations(L)||Xt(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),L.noEmit&&Xt(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit"));L.emitDecoratorMetadata&&!L.experimentalDecorators&&Xt(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators");L.jsxFactory?(L.reactNamespace&&Xt(e.Diagnostics.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),4!==L.jsx&&5!==L.jsx||Xt(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",e.inverseJsxOptionMap.get(""+L.jsx)),e.parseIsolatedEntityName(L.jsxFactory,d)||Qt("jsxFactory",e.Diagnostics.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,L.jsxFactory)):L.reactNamespace&&!e.isIdentifierText(L.reactNamespace,d)&&Qt("reactNamespace",e.Diagnostics.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,L.reactNamespace);L.jsxFragmentFactory&&(L.jsxFactory||Xt(e.Diagnostics.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory"),4!==L.jsx&&5!==L.jsx||Xt(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",e.inverseJsxOptionMap.get(""+L.jsx)),e.parseIsolatedEntityName(L.jsxFragmentFactory,d)||Qt("jsxFragmentFactory",e.Diagnostics.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,L.jsxFragmentFactory));L.reactNamespace&&(4!==L.jsx&&5!==L.jsx||Xt(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",e.inverseJsxOptionMap.get(""+L.jsx)));L.jsxImportSource&&2===L.jsx&&Xt(e.Diagnostics.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",e.inverseJsxOptionMap.get(""+L.jsx));if(!L.noEmit&&!L.suppressOutputPathCheck){var h=$e(),v=new e.Set;e.forEachEmittedFile(h,(function(e){L.emitDeclarationOnly||b(e.jsFilePath,v),b(e.declarationFilePath,v)}))}function b(t,r){if(t){var n=Ke(t);if(ke.has(n)){var i=void 0;L.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),nr(t,e.createCompilerDiagnosticFromMessageChain(i))}var a=ee.useCaseSensitiveFileNames()?n:e.toFileNameLowerCase(n);r.has(a)?nr(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(),ze;function Ue(t,r,n){if(!t.length)return e.emptyArray;var i=e.getNormalizedAbsolutePath(r.originalFileName,oe),a=Je(r);null===e.tracing||void 0===e.tracing||e.tracing.push("program","resolveModuleNamesWorker",{containingFileName:i}),e.performance.mark("beforeResolveModule");var o=Q(t,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 qe(t,r){if(!t.length)return[];var n=e.isString(r)?r:e.getNormalizedAbsolutePath(r.originalFileName,oe),i=e.isString(r)?void 0:Je(r);null===e.tracing||void 0===e.tracing||e.tracing.push("program","resolveTypeReferenceDirectiveNamesWorker",{containingFileName:n}),e.performance.mark("beforeResolveTypeReference");var a=Z(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 Je(t){var r=Pt(t.originalFileName);if(r||!e.isDeclarationFileName(t.originalFileName))return r;var n=Ve(t.originalFileName,t.path);if(n)return n;if(ee.realpath&&L.preserveSymlinks&&(e.stringContains(t.originalFileName,e.nodeModulesPathPart)||e.stringContains(t.originalFileName,e.ohModulesPathPart))){var i=ee.realpath(t.originalFileName),a=Ke(i);return a===t.path?void 0:Ve(i,a)}}function Ve(t,r){var n=Ft(t);return e.isString(n)?Pt(n):n?It((function(t){var n=e.outFile(t.commandLine.options);if(n)return Ke(n)===r?t:void 0})):void 0}function He(t){if(e.containsPath(ie,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 Ke(t){return e.toPath(t,oe,zt)}function We(){if(void 0===N){var t=e.filter(_,(function(t){return e.sourceFileMayBeEmitted(t,ze)}));N=e.getCommonSourceDirectory(L,(function(){return e.mapDefined(t,(function(e){return e.isDeclarationFile?void 0:e.fileName}))}),oe,zt,(function(r){return function(t,r){for(var n=!0,i=ee.getCanonicalFileName(e.getNormalizedAbsolutePath(r,oe)),a=0,o=t;a<o.length;a++){var s=o[a];if(!s.isDeclarationFile)0!==ee.getCanonicalFileName(e.getNormalizedAbsolutePath(s.fileName,oe)).indexOf(i)&&(Ht(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 N}function Ge(t,r){if(0===Ce&&!r.ambientModuleNames.length)return Ue(t,r,void 0);var n,i,a,o=z&&z.getSourceFile(r.fileName);if(o!==r&&r.resolvedModules){for(var s=[],c=0,l=t;c<l.length;c++){var u=l[c],d=r.resolvedModules.get(u);s.push(d)}return s}for(var p={},f=0;f<t.length;f++){u=t[f];if(r===o&&!ue(o.path)){var m=e.getResolvedModule(o,u);if(m){e.isTraceEnabled(L,ee)&&e.trace(ee,e.Diagnostics.Reusing_resolution_of_module_0_to_file_1_from_old_program,u,e.getNormalizedAbsolutePath(r.originalFileName,oe)),(i||(i=new Array(t.length)))[f]=m,(a||(a=[])).push(u);continue}}var g=!1;e.contains(r.ambientModuleNames,u)?(g=!0,e.isTraceEnabled(L,ee)&&e.trace(ee,e.Diagnostics.Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1,u,e.getNormalizedAbsolutePath(r.originalFileName,oe))):g=y(u),g?(i||(i=new Array(t.length)))[f]=p:(n||(n=[])).push(u)}var _=n&&n.length?Ue(n,r,a):e.emptyArray;if(!i)return e.Debug.assert(_.length===t.length),_;var h=0;for(f=0;f<i.length;f++)i[f]?i[f]===p&&(i[f]=void 0):(i[f]=_[h],h++);return e.Debug.assert(h===_.length),i;function y(t){var r=e.getResolvedModule(o,t),n=r&&z.getSourceFile(r.resolvedFileName);if(r&&n)return!1;var i=U.get(t);return!!i&&(e.isTraceEnabled(L,ee)&&e.trace(ee,e.Diagnostics.Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified,t,i),!0)}}function $e(t){return{getPrependNodes:Xe,getCanonicalFileName:zt,getCommonSourceDirectory:ze.getCommonSourceDirectory,getCompilerOptions:ze.getCompilerOptions,getCurrentDirectory:function(){return oe},getNewLine:function(){return ee.getNewLine()},getSourceFile:ze.getSourceFile,getSourceFileByPath:ze.getSourceFileByPath,getSourceFiles:ze.getSourceFiles,getLibFileFromReference:ze.getLibFileFromReference,isSourceFileFromExternalLibrary:Qe,getResolvedProjectReferenceToRedirect:Pt,getProjectReferenceRedirect:Ct,isSourceOfProjectReferenceRedirect:Ot,getSymlinkCache:ar,writeFile:t||function(e,t,r,n,i){return ee.writeFile(e,t,r,n,i)},isEmitBlocked:tt,readFile:function(e){return ee.readFile(e)},fileExists:function(t){var r=Ke(t);return!!nt(r)||!e.contains(fe,r)&&ee.fileExists(t)},useCaseSensitiveFileNames:function(){return ee.useCaseSensitiveFileNames()},getProgramBuildInfo:function(){return ze.getProgramBuildInfo&&ze.getProgramBuildInfo()},getSourceFileFromReference:function(e,t){return ze.getSourceFileFromReference(e,t)},redirectTargetsMap:be,getFileIncludeReasons:ze.getFileIncludeReasons}}function Ye(){return me}function Xe(){return D(B,(function(e,t){var r;return null===(r=me[t])||void 0===r?void 0:r.commandLine}),(function(e){var t=Ke(e),r=nt(t);return r?r.text:ke.has(t)?void 0:ee.readFile(t)}))}function Qe(e){return!!$.get(e.path)}function Ze(){return P||(P=e.createTypeChecker(ze,!0))}function et(){return I||(I=e.createTypeChecker(ze,!1))}function tt(e){return le.has(Ke(e))}function rt(e){return nt(Ke(e))}function nt(e){return ke.get(e)||void 0}function it(t,r,n){return t?r(t,n):e.sortAndDeduplicateDiagnostics(e.flatMap(ze.getSourceFiles(),(function(e){return n&&n.throwIfCancellationRequested(),r(e,n)})))}function at(t){var r;if(e.skipTypeChecking(t,L,ze)||t.isDeclarationFile&&L.needDoArkTsLinter)return e.emptyArray;var n=ae.getDiagnostics(t.fileName);return(null===(r=t.commentDirectives)||void 0===r?void 0:r.length)?dt(t,t.commentDirectives,n).diagnostics:n}function ot(t){return e.isSourceFileJS(t)?(t.additionalSyntacticDiagnostics||(t.additionalSyntacticDiagnostics=function(t){return st((function(){var r=[];return n(t,t),e.forEachChildRecursively(t,n,i),r;function n(t,n){switch(n.kind){case 161:case 164:case 166:if(n.questionToken===t)return r.push(s(t,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),"skip";case 165:case 167:case 168:case 169:case 209:case 253:case 210:case 251: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 265:if(t.isTypeOnly)return r.push(s(n,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"import type")),"skip";break;case 270:if(t.isTypeOnly)return r.push(s(t,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,"export type")),"skip";break;case 263:return r.push(s(t,e.Diagnostics.import_can_only_be_used_in_TypeScript_files)),"skip";case 269:if(t.isExportEquals)return r.push(s(t,e.Diagnostics.export_can_only_be_used_in_TypeScript_files)),"skip";break;case 289:if(117===t.token)return r.push(s(t,e.Diagnostics.implements_clauses_can_only_be_used_in_TypeScript_files)),"skip";break;case 256: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 259:var a=16&t.flags?e.tokenToString(141):e.tokenToString(140);return e.Debug.assertIsDefined(a),r.push(s(t,e.Diagnostics._0_declarations_can_only_be_used_in_TypeScript_files,a)),"skip";case 257:return r.push(s(t,e.Diagnostics.Type_aliases_can_only_be_used_in_TypeScript_files)),"skip";case 258: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 227:return r.push(s(t,e.Diagnostics.Non_null_assertions_can_only_be_used_in_TypeScript_files)),"skip";case 226:return r.push(s(t.type,e.Diagnostics.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 207:e.Debug.fail()}}function i(t,n){switch(n.decorators!==t||L.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 254:case 223:case 255:case 166:case 167:case 168:case 169:case 209:case 253:case 210:if(t===n.typeParameters)return r.push(o(t,e.Diagnostics.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)),"skip";case 234:if(t===n.modifiers)return a(n.modifiers,234===n.kind),"skip";break;case 164:if(t===n.modifiers){for(var i=0,c=t;i<c.length;i++){var l=c[i];124!==l.kind&&r.push(s(l,e.Diagnostics.The_0_modifier_can_only_be_used_in_TypeScript_files,e.tokenToString(l.kind)))}return"skip"}break;case 161:if(t===n.modifiers)return r.push(o(t,e.Diagnostics.Parameter_modifiers_can_only_be_used_in_TypeScript_files)),"skip";break;case 204:case 205:case 225:case 277:case 278:case 206: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 143:case 134:case 126: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 st(t){try{return t()}catch(t){throw t instanceof e.OperationCanceledException&&(I=void 0,P=void 0),t}}function ct(t,r){return e.concatenate(E(lt(t,r),L),at(t))}function lt(e,t){return mt(e,t,J,ut)}function ut(t,r){return st((function(){var n=!!L.needDoArkTsLinter;if(n&&(L.skipLibCheck=!1),e.skipTypeChecking(t,L,ze))return e.emptyArray;var i=Ze();e.Debug.assert(!!t.bindDiagnostics);var a=e.isCheckJsEnabledForFile(t,L),o=!(!!t.checkJsDirective&&!1===t.checkJsDirective.enabled)&&(3===t.scriptKind||4===t.scriptKind||5===t.scriptKind||a||7===t.scriptKind||8===t.scriptKind),s=o?t.bindDiagnostics:e.emptyArray,c=o?i.getDiagnostics(t,r):e.emptyArray;return 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?void 0:n.length))return o;for(var s=dt(t,t.commentDirectives,o),c=s.diagnostics,l=s.directives,u=0,d=l.getUnusedExpectations();u<d.length;u++){var p=d[u];c.push(e.createDiagnosticForRange(t,p.range,e.Diagnostics.Unused_ts_expect_error_directive))}return c}(t,o,s,n?function(t){if(t){var r=t.filter((function(t){var r,n,i=t.messageText!==(L.isCompatibleVersion?e.Diagnostics.Importing_ArkTS_files_in_JS_and_TS_files_is_about_to_be_forbidden.message:e.Diagnostics.Importing_ArkTS_files_in_JS_and_TS_files_is_forbidden.message),a=void 0!==t.file&&-1!==e.normalizePath(t.file.fileName).indexOf("/oh_modules/");return!(3===(null===(r=t.file)||void 0===r?void 0:r.scriptKind)&&(null===(n=t.file)||void 0===n?void 0:n.isDeclarationFile)&&i||a)}));return r}return e.emptyArray}(c):c,a?t.jsDocDiagnostics:void 0)}))}function dt(t,r,n){var i=e.createCommentDirectivesMap(t,r),a=n.filter((function(t){return-1===function(t,r){var n=t.file,i=t.start;if(!n)return-1;var a=e.getLineStarts(n),o=e.computeLineAndCharacterOfPosition(a,i).line-1;for(;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)}));return{diagnostics:a,directives:i}}function pt(e,t){return mt(e,t,V,ft)}function ft(t,r){return st((function(){var n=Ze().getEmitResolver(t,r);return e.getDeclarationDiagnostics($e(e.noop),n,t)||e.emptyArray}))}function mt(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 gt(e,t){return e.isDeclarationFile?[]:pt(e,t)}function _t(t,r,n,i){xt(e.normalizePath(t),r,n,void 0,i)}function ht(e,t){return e.fileName===t.fileName}function yt(e,t){return 78===e.kind?78===t.kind&&e.escapedText===t.escapedText:10===t.kind&&e.text===t.text}function vt(t,r){var n=e.factory.createStringLiteral(t),i=e.factory.createImportDeclaration(void 0,void 0,void 0,n);return e.addEmitFlags(i,67108864),e.setParent(n,i),e.setParent(i,r),n.flags&=-9,i.flags&=-9,n}function bt(t){if(!t.imports){var r,n,i,a=e.isSourceFileJS(t),o=e.isExternalModule(t);if((L.isolatedModules||o)&&!t.isDeclarationFile){L.importHelpers&&(r=[vt(e.externalHelpersModuleNameText,t)]);var s=e.getJSXRuntimeImport(e.getJSXImplicitImportBase(L,t),L);s&&(r||(r=[])).push(vt(s,t))}for(var c=0,l=t.statements;c<l.length;c++){u(l[c],!1)}return(1048576&t.flags||a)&&function(t){var n=/import|require/g;for(;null!==n.exec(t.text);){var i=d(t,n.lastIndex);a&&e.isRequireCall(i,!0)||e.isImportCall(i)&&1===i.arguments.length&&e.isStringLiteralLike(i.arguments[0])?r=e.append(r,i.arguments[0]):e.isLiteralImportTypeNode(i)&&(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 u(a,s){if(e.isAnyImportOrReExport(a)){var c=e.getExternalModuleName(a);!(c&&e.isStringLiteral(c)&&c.text)||s&&e.isExternalModuleNameRelative(c.text)||(r=e.append(r,c))}else if(e.isModuleDeclaration(a)&&e.isAmbientModule(a)&&(s||e.hasSyntacticModifier(a,2)||t.isDeclarationFile)){var l=e.getTextOfIdentifierOrLiteral(a.name);if(o||s&&!e.isExternalModuleNameRelative(l))(n||(n=[])).push(a.name);else if(!s){t.isDeclarationFile&&(i||(i=[])).push(l);var d=a.body;if(d)for(var p=0,f=d.statements;p<f.length;p++){u(f[p],!0)}}}}function d(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 kt(t,r,n,i){if(e.hasExtension(t)){var a=ee.getCanonicalFileName(t);if(!L.allowNonTsExtensions&&!e.forEach(ce,(function(t){return e.fileExtensionIs(a,t)}))&&!e.fileExtensionIs(a,".ets"))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,"'"+se.join("', '")+"'")));var o=r(t);if(n)if(o)v(i)&&a===ee.getCanonicalFileName(nt(i.file).fileName)&&n(e.Diagnostics.A_file_cannot_have_a_reference_to_itself);else{var s=Ct(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=L.allowNonTsExtensions&&r(t);if(c)return c;if(!n||!L.allowNonTsExtensions){var l=e.forEach(se,(function(e){return r(t+e)}));return n&&!l&&n(e.Diagnostics.Could_not_resolve_the_path_0_with_the_extensions_Colon_1,t,"'"+se.join("', '")+"'"),l}n(e.Diagnostics.File_0_not_found,t)}function xt(e,t,r,n,i){kt(e,(function(e){return Dt(e,Ke(e),t,r,i,n)}),(function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return Vt(void 0,i,e,t)}),i)}function Et(e,t){return xt(e,!1,!1,void 0,t)}function St(t,r,n){!v(n)&&e.some(q.get(r.path),v)?Vt(r,n,e.Diagnostics.Already_included_file_name_0_differs_from_file_name_1_only_in_casing,[r.fileName,t]):Vt(r,n,e.Diagnostics.File_name_0_differs_from_already_included_file_name_1_only_in_casing,[t,r.fileName])}function Dt(t,r,n,i,a,o){null===e.tracing||void 0===e.tracing||e.tracing.push("program","findSourceFile",{fileName:t,isDefaultLib:n||void 0,fileIncludeKind:e.FileIncludeKind[a.kind]});var s=function(t,r,n,i,a,o){if(Ee){var s=Ft(t),c=e.isOhpm(L.packageManagerType)?e.ohModulesPathPart:e.nodeModulesPathPart;if(!s&&ee.realpath&&L.preserveSymlinks&&e.isDeclarationFileName(t)&&e.stringContains(t,c)){var l=ee.realpath(t);l!==t&&(s=Ft(l))}if(s){var u=e.isString(s)?Dt(s,Ke(s),n,i,a,o):void 0;return u&&Tt(u,r,void 0),u}}var d,p=t;if(ke.has(r)){var f=ke.get(r);if(wt(f||void 0,a),f&&L.forceConsistentCasingInFileNames){var _=f.fileName;Ke(_)!==Ke(t)&&(t=Ct(t)||t),e.getNormalizedAbsolutePathWithoutRoot(_,oe)!==e.getNormalizedAbsolutePathWithoutRoot(t,oe)&&St(t,f,a)}return f&&$.get(f.path)&&0===W?($.set(f.path,!1),L.noResolve||(Mt(f,n),Lt(f)),L.noLib||Bt(f),G.set(f.path,!1),Ut(f)):f&&G.get(f.path)&&W<K&&(G.set(f.path,!1),Ut(f)),f||void 0}if(v(a)&&!Ee){var h=At(t);if(h){if(e.outFile(h.commandLine.options))return;var y=Nt(h,t);t=y,d=Ke(y)}}var b=ee.getSourceFile(t,L.target,(function(r){return Vt(void 0,a,e.Diagnostics.Cannot_read_file_0_Colon_1,[t,r])}),Ae);if(o){var k=e.packageIdToString(o),x=ye.get(k);if(x){var E=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},$.set(n,W>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}(x,b,t,r,Ke(t),p);return be.add(x.path,t),Tt(E,r,d),wt(E,a),ve.set(r,o.name),g.push(E),E}b&&(ye.set(k,b),ve.set(r,o.name))}if(Tt(b,r,d),b){if($.set(r,W>0),b.fileName=t,b.path=r,b.resolvedPath=Ke(t),b.originalFileName=p,wt(b,a),ee.useCaseSensitiveFileNames()){var S=e.toFileNameLowerCase(r),D=xe.get(S);D?St(t,D,a):xe.set(S,b)}re=re||b.hasNoDefaultLib&&!i,L.noResolve||(Mt(b,n),Lt(b)),L.noLib||Bt(b),Ut(b),n?m.push(b):g.push(b)}return b}(t,r,n,i,a,o);return null===e.tracing||void 0===e.tracing||e.tracing.pop(),s}function wt(e,t){e&&q.add(e.path,t)}function Tt(e,t,r){r?(ke.set(r,e),ke.set(t,e||!1)):ke.set(t,e)}function Ct(e){var t=At(e);return t&&Nt(t,e)}function At(t){if(me&&me.length&&!e.isDeclarationFileName(t)&&!e.fileExtensionIs(t,".json"))return Pt(t)}function Nt(t,r){var n=e.outFile(t.commandLine.options);return n?e.changeExtension(n,".d.ts"):e.getOutputDeclarationFileName(r,t.commandLine,!ee.useCaseSensitiveFileNames())}function Pt(t){void 0===_e&&(_e=new e.Map,It((function(e){Ke(L.configFilePath)!==e.sourceFile.path&&e.commandLine.fileNames.forEach((function(t){return _e.set(Ke(t),e.sourceFile.path)}))})));var r=_e.get(Ke(t));return r&&Rt(r)}function It(t){return e.forEachResolvedProjectReference(me,t)}function Ft(t){if(e.isDeclarationFileName(t))return void 0===he&&(he=new e.Map,It((function(t){var r=e.outFile(t.commandLine.options);if(r){var n=e.changeExtension(r,".d.ts");he.set(Ke(n),!0)}else{var i=e.memoize((function(){return e.getCommonSourceDirectoryOfConfig(t.commandLine,!ee.useCaseSensitiveFileNames())}));e.forEach(t.commandLine.fileNames,(function(r){if(!e.isDeclarationFileName(r)&&!e.fileExtensionIs(r,".json")){var n=e.getOutputDeclarationFileName(r,t.commandLine,!ee.useCaseSensitiveFileNames(),i);he.set(Ke(n),r)}}))}}))),he.get(Ke(t))}function Ot(e){return Ee&&!!Pt(e)}function Rt(e){if(ge)return ge.get(e)||void 0}function Mt(r,n){e.forEach(r.referencedFiles,(function(i,a){xt(t(i.fileName,r.fileName),n,!1,void 0,{kind:e.FileIncludeKind.ReferenceFile,file:r.path,index:a})}))}function Lt(t){var r=e.map(t.typeReferenceDirectives,(function(t){return e.toFileNameLowerCase(t.fileName)}));if(r)for(var n=qe(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),jt(s,o,{kind:e.FileIncludeKind.TypeReferenceDirective,file:t.path,index:i})}}function jt(t,r,n){null===e.tracing||void 0===e.tracing||e.tracing.push("program","processTypeReferenceDirective",{directive:t,hasResolved:!!Ge,refKind:n.kind,refPath:v(n)?n.file:void 0}),function(t,r,n){var i=H.get(t);if(i&&i.primary)return;var a=!0;if(r){if(r.isExternalLibraryImport&&W++,r.primary)xt(r.resolvedFileName,!1,!1,r.packageId,n);else if(i){if(r.resolvedFileName!==i.resolvedFileName){var o=ee.readFile(r.resolvedFileName),s=rt(i.resolvedFileName);o!==s.text&&Vt(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 xt(r.resolvedFileName,!1,!1,r.packageId,n);r.isExternalLibraryImport&&W--}else Vt(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 Bt(t){e.forEach(t.libReferenceDirectives,(function(r,n){var i=e.toFileNameLowerCase(r.fileName),a=e.libMap.get(i);if(a)_t(e.combinePaths(ie,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;(O||(O=[])).push({kind:0,reason:{kind:e.FileIncludeKind.LibReferenceDirective,file:t.path,index:n},diagnostic:c,args:[i,s]})}}))}function zt(e){return ee.getCanonicalFileName(e)}function Ut(t){if(bt(t),t.imports.length||t.moduleAugmentations.length){var r=C(t),n=Ge(r,t);e.Debug.assert(n.length===r.length);for(var i=0;i<r.length;i++){var a=n[i];if(e.setResolvedModule(t,r[i],a),a){var o=a.isExternalLibraryImport,s=!e.resolutionExtensionIsTSOrJson(a.extension),c=o&&s,l=a.resolvedFileName;o&&W++;var u=c&&W>K,d=l&&!T(L,a)&&!L.noResolve&&i<t.imports.length&&!u&&!(s&&!e.getAllowJSCompilerOption(L))&&(e.isInJSFile(t.imports[i])||!(4194304&t.imports[i].flags));if(u)G.set(t.path,!0);else if(d){Dt(l,Ke(l),!1,!1,{kind:e.FileIncludeKind.Import,file:t.path,index:i},a.packageId)}o&&W--}}}else t.resolvedModules=void 0}function qt(t){ge||(ge=new e.Map);var r,n,i=w(t),a=Ke(i),o=ge.get(a);if(void 0!==o)return o||void 0;if(ee.getParsedCommandLine){if(!(r=ee.getParsedCommandLine(i)))return Tt(void 0,a,void 0),void ge.set(a,!1);n=e.Debug.checkDefined(r.options.configFile),e.Debug.assert(!n.path||n.path===a),Tt(n,a,void 0)}else{var s=e.getNormalizedAbsolutePath(e.getDirectoryPath(i),ee.getCurrentDirectory());if(Tt(n=ee.getSourceFile(i,100),a,void 0),void 0===n)return void ge.set(a,!1);r=e.parseJsonSourceFileConfigFileContent(n,te,s,void 0,i)}n.fileName=i,n.path=a,n.resolvedPath=a,n.originalFileName=i;var c={commandLine:r,sourceFile:n};return ge.set(a,c),r.projectReferences&&(c.references=r.projectReferences.map(qt)),c}function Jt(t,r,n,a){var o,s,c,l=v(r)?r:void 0;t&&(null===(o=q.get(t.path))||void 0===o||o.forEach(m)),r&&m(r),l&&1===(null==s?void 0:s.length)&&(s=void 0);var u=l&&k(nt,l),d=s&&e.chainDiagnosticMessages(s,e.Diagnostics.The_file_is_in_the_program_because_Colon),p=t&&e.explainIfFileIsRedirect(t),f=e.chainDiagnosticMessages.apply(void 0,i([p?d?i([d],p):p:d,n],a||e.emptyArray));return u&&b(u)?e.createFileDiagnosticFromMessageChain(u.file,u.pos,u.end-u.pos,f,c):e.createCompilerDiagnosticFromMessageChain(f,c);function m(t){(s||(s=[])).push(e.fileIncludeReasonToDiagnostics(ze,t)),!l&&v(t)?l=t:l!==t&&(c=e.append(c,function(t){if(v(t)){var r,n=k(nt,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 b(n)?e.createFileDiagnostic(n.file,n.pos,n.end-n.pos,r):void 0}if(!L.configFile)return;var i,a;switch(t.kind){case e.FileIncludeKind.RootFile:if(!L.configFile.configFileSpecs)return;var o=e.getNormalizedAbsolutePath(M[t.index],oe),s=e.getMatchedFileSpec(ze,o);if(s){i=e.getTsConfigPropArrayElementValue(L.configFile,"files",s),a=e.Diagnostics.File_is_matched_by_files_list_specified_here;break}var c=e.getMatchedIncludeSpec(ze,o);if(!c)return;i=e.getTsConfigPropArrayElementValue(L.configFile,"include",c),a=e.Diagnostics.File_is_matched_by_include_pattern_specified_here;break;case e.FileIncludeKind.SourceFromProjectReference:case e.FileIncludeKind.OutputFromProjectReference:var l=e.Debug.checkDefined(null==me?void 0:me[t.index]),u=y(B,me,(function(e,t,r){return e===l?{sourceFile:(null==t?void 0:t.sourceFile)||L.configFile,index:r}:void 0}));if(!u)return;var d=u.sourceFile,p=u.index,f=e.firstDefined(e.getTsConfigPropArray(d,"references"),(function(t){return e.isArrayLiteralExpression(t.initializer)?t.initializer:void 0}));return f&&f.elements.length>p?e.createDiagnosticForNodeInSourceFile(d,f.elements[p],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(!L.types)return;i=Yt("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=Yt("lib",L.lib[t.index]),a=e.Diagnostics.File_is_library_specified_here;break}var m=e.forEachEntry(e.targetOptionDeclaration.type,(function(e,t){return e===L.target?t:void 0}));i=m?(g=m,(_=Gt("target"))&&e.firstDefined(_,(function(t){return e.isStringLiteral(t.initializer)&&t.initializer.text===g?t.initializer:void 0}))):void 0,a=e.Diagnostics.File_is_default_library_for_target_specified_here;break;default:e.Debug.assertNever(t)}var g,_;return i&&e.createDiagnosticForNodeInSourceFile(L.configFile,i,a)}(t))),t===r&&(r=void 0)}}function Vt(e,t,r,n){(O||(O=[])).push({kind:1,file:e&&e.path,fileProcessingReason:t,diagnostic:r,args:n})}function Ht(e,t,r){ae.add(Jt(e,void 0,t,r))}function Kt(t,r,n,i,a,o){for(var s=!0,c=0,l=$t();c<l.length;c++){var u=l[c];if(e.isObjectLiteralExpression(u.initializer))for(var d=0,p=e.getPropertyAssignment(u.initializer,t);d<p.length;d++){var f=p[d].initializer;e.isArrayLiteralExpression(f)&&f.elements.length>r&&(ae.add(e.createDiagnosticForNodeInSourceFile(L.configFile,f.elements[r],n,i,a,o)),s=!1)}}s&&ae.add(e.createCompilerDiagnostic(n,i,a,o))}function Wt(t,r,n,i){for(var a=!0,o=0,s=$t();o<s.length;o++){var c=s[o];e.isObjectLiteralExpression(c.initializer)&&rr(c.initializer,t,r,void 0,n,i)&&(a=!1)}a&&ae.add(e.createCompilerDiagnostic(n,i))}function Gt(t){var r=tr();return r&&e.getPropertyAssignment(r,t)}function $t(){return Gt("paths")||e.emptyArray}function Yt(t,r){var n=tr();return n&&e.getPropertyArrayElementValue(n,t,r)}function Xt(e,t,r,n){er(!0,t,r,e,t,r,n)}function Qt(e,t,r){er(!1,e,void 0,t,r)}function Zt(t,r,n,i,a){var o=e.firstDefined(e.getTsConfigPropArray(t||L.configFile,"references"),(function(t){return e.isArrayLiteralExpression(t.initializer)?t.initializer:void 0}));o&&o.elements.length>r?ae.add(e.createDiagnosticForNodeInSourceFile(t||L.configFile,o.elements[r],n,i,a)):ae.add(e.createCompilerDiagnostic(n,i,a))}function er(t,r,n,i,a,o,s){var c=tr();(!c||!rr(c,t,r,n,i,a,o,s))&&ae.add(e.createCompilerDiagnostic(i,a,o,s))}function tr(){if(void 0===Y){Y=!1;var t=e.getTsConfigObjectLiteralExpression(L.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)){Y=i.initializer;break}}}return Y||void 0}function rr(t,r,n,i,a,o,s,c){for(var l=e.getPropertyAssignment(t,n,i),u=0,d=l;u<d.length;u++){var p=d[u];ae.add(e.createDiagnosticForNodeInSourceFile(L.configFile,r?p.name:p.initializer,a,o,s,c))}return!!l.length}function nr(e,t){le.set(Ke(e),!0),ae.add(t)}function ir(t,r){return 0===e.comparePaths(t,r,oe,!ee.useCaseSensitiveFileNames())}function ar(){return ee.getSymlinkCache?ee.getSymlinkCache():A||(A=e.discoverProbableSymlinks(_,zt,ee.getCurrentDirectory(),e.isOhpm(L.packageManagerType)))}},e.emitSkippedWithNoDiagnostics={diagnostics:e.emptyArray,sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0},e.handleNoEmitOptions=x,e.filterSemanticDiagnotics=E,e.parseConfigHostFromCompilerHostLike=S,e.createPrependNodes=D,e.resolveProjectReferencePath=w,e.getResolutionDiagnostic=T,e.getModuleNameStringLiteralAt=A,e.getTypeExportImportAndConstEnumTransformer=function(t){return e.transformTypeExportImportAndConstEnumInTypeScript(t)},e.hasTsNoCheckOrTsIgnoreFlag=function(e){if(e.checkJsDirective&&!1===e.checkJsDirective.enabled)return!0;if(void 0!==e.commentDirectives)for(var t=0,r=e.commentDirectives;t<r.length;t++){if(1===r[t].type)return!0}return!1}}(d||(d={})),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,l=s.diagnostics,u=s.exportedModulesFromDeclarationEmit;return{outputFiles:o,emitSkipped:c,diagnostics:l,exportedModulesFromDeclarationEmit:u}}e.getFileEmitOutput=t,function(r){function n(t){if(t.declarations&&t.declarations[0]){var r=e.getSourceFileOfNode(t.declarations[0]);return r&&r.resolvedPath}}function i(e,t){var r=e.getSymbolAtLocation(t);return r&&n(r)}function a(t,r,n,i){return e.toPath(t.getProjectReferenceRedirect(r)||r,n,i)}function o(t,r,n){var o;if(r.imports&&r.imports.length>0)for(var s=t.getTypeChecker(),c=0,l=r.imports;c<l.length;c++){var u=i(s,l[c]);u&&E(u)}var d=e.getDirectoryPath(r.resolvedPath);if(r.referencedFiles&&r.referencedFiles.length>0)for(var p=0,f=r.referencedFiles;p<f.length;p++){var m=f[p];E(a(t,m.fileName,d,n))}if(r.resolvedTypeReferenceDirectiveNames&&r.resolvedTypeReferenceDirectiveNames.forEach((function(e){if(e){var r=e.resolvedFileName;E(a(t,r,d,n))}})),r.moduleAugmentations.length){s=t.getTypeChecker();for(var g=0,_=r.moduleAugmentations;g<_.length;g++){var h=_[g];if(e.isStringLiteral(h)){var y=s.getSymbolAtLocation(h);y&&x(y)}}}for(var v=0,b=t.getTypeChecker().getAmbientModules();v<b.length;v++){var k=b[v];k.declarations.length>1&&x(k)}return o;function x(t){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){(o||(o=new e.Set)).add(t)}}function s(e,t){return t&&!t.referencedMap==!e}function c(e,t){t.forEach((function(t,r){return l(e,t,r)}))}function l(e,t,r){e.fileInfos.get(r).signature=t,e.hasCalledUpdateShapeSignature.add(r)}function u(r,i,a,o,s,c,l){if(e.Debug.assert(!!a),e.Debug.assert(!l||!!r.exportedModulesMap,"Compute visible to outside map only if visibleToOutsideReferencedMap present in the state"),r.hasCalledUpdateShapeSignature.has(a.resolvedPath)||o.has(a.resolvedPath))return!1;var u=r.fileInfos.get(a.resolvedPath);if(!u)return e.Debug.fail();var d,p=u.signature;if(a.isDeclarationFile){if(d=a.version,l&&d!==p){var f=r.referencedMap?r.referencedMap.get(a.resolvedPath):void 0;l.set(a.resolvedPath,f||!1)}}else{var m=t(i,a,!0,s,void 0,!0),g=m.outputFiles&&i.getCompilerOptions().declarationMap?m.outputFiles.length>1?m.outputFiles[1]:void 0:m.outputFiles.length>0?m.outputFiles[0]:void 0;g?(e.Debug.assert(e.isDeclarationFileName(g.name),"File extension for signature expected to be dts or dets",(function(){return"Found: "+e.getAnyExtensionFromPath(g.name)+" for "+g.name+":: All output files: "+JSON.stringify(m.outputFiles.map((function(e){return e.name})))})),d=(c||e.generateDjb2Hash)(g.text),l&&d!==p&&function(t,r,i){if(!r)return void i.set(t.resolvedPath,!1);var a;function o(t){t&&(a||(a=new e.Set),a.add(t))}r.forEach((function(e){return o(n(e))})),i.set(t.resolvedPath,a||!1)}(a,m.exportedModulesFromDeclarationEmit,l)):d=p}return o.set(a.resolvedPath,d),!p||d!==p}function d(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}function p(t,r){return e.arrayFrom(e.mapDefinedIterator(t.referencedMap.entries(),(function(e){var t=e[0];return e[1].has(r)?t:void 0})))}function f(t){return function(t){return e.some(t.moduleAugmentations,(function(t){return e.isGlobalScopeAugmentation(t.parent)}))}(t)||!e.isExternalModule(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 m(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 g(t,r,n){var i=r.getCompilerOptions();return i&&e.outFile(i)?[n]:m(t,r,n)}function _(t,r,n,i,a,o,s){if(f(n))return m(t,r,n);var c=r.getCompilerOptions();if(c&&(c.isolatedModules||e.outFile(c)))return[n];var l=new e.Map;l.set(n.resolvedPath,n);for(var d=p(t,n.resolvedPath);d.length>0;){var g=d.pop();if(!l.has(g)){var _=r.getSourceFileByPath(g);l.set(g,_),_&&u(t,r,_,i,a,o,s)&&d.push.apply(d,p(t,_.resolvedPath))}}return e.arrayFrom(e.mapDefinedIterator(l.values(),(function(e){return e})))}r.canReuseOldState=s,r.create=function(t,r,n){var i=new e.Map,a=t.getCompilerOptions().module!==e.ModuleKind.None?new e.Map:void 0,c=a?new e.Map:void 0,l=new e.Set,u=s(a,n);t.getTypeChecker();for(var d=0,p=t.getSourceFiles();d<p.length;d++){var m=p[d],g=e.Debug.checkDefined(m.version,"Program intended to be used with Builder should have source files with versions set"),_=u?n.fileInfos.get(m.resolvedPath):void 0;if(a){var h=o(t,m,r);if(h&&a.set(m.resolvedPath,h),u){var y=n.exportedModulesMap.get(m.resolvedPath);y&&c.set(m.resolvedPath,y)}}i.set(m.resolvedPath,{version:g,signature:_&&_.signature,affectsGlobalScope:f(m)})}return{fileInfos:i,referencedMap:a,exportedModulesMap:c,hasCalledUpdateShapeSignature:l}},r.releaseCache=function(e){e.allFilesExcludingDefaultLibraryFile=void 0,e.allFileNames=void 0},r.clone=function(t){return{fileInfos:new e.Map(t.fileInfos),referencedMap:t.referencedMap&&new e.Map(t.referencedMap),exportedModulesMap:t.exportedModulesMap&&new e.Map(t.exportedModulesMap),hasCalledUpdateShapeSignature:new e.Set(t.hasCalledUpdateShapeSignature)}},r.getFilesAffectedBy=function(t,r,n,i,a,o,s){var l=o||new e.Map,d=r.getSourceFileByPath(n);if(!d)return e.emptyArray;if(!u(t,r,d,l,i,a,s))return[d];var p=(t.referencedMap?_:g)(t,r,d,l,i,a,s);return o||c(t,l),p},r.updateSignaturesFromCache=c,r.updateSignatureOfFile=l,r.updateShapeSignature=u,r.updateExportedFilesMapFromCache=function(t,r){r&&(e.Debug.assert(!!t.exportedModulesMap),r.forEach((function(e,r){e?t.exportedModulesMap.set(r,e):t.exportedModulesMap.delete(r)})))},r.getAllDependencies=function(t,r,n){var i=r.getCompilerOptions();if(e.outFile(i))return d(t,r);if(!t.referencedMap||f(n))return d(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.get(s);if(c)for(var l=c.keys(),u=l.next();!u.done;u=l.next())o.push(u.value)}}return e.arrayFrom(e.mapDefinedIterator(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=p,r.getAllFilesExcludingDefaultLibraryFile=m}(e.BuilderState||(e.BuilderState={}))}(d||(d={})),function(e){var t;function r(t,r,i){var a=e.BuilderState.create(t,r,i);a.program=t;var o=t.getCompilerOptions();a.compilerOptions=o,e.outFile(o)||(a.semanticDiagnosticsPerFile=new e.Map),a.changedFilesSet=new e.Set;var s=e.BuilderState.canReuseOldState(a.referencedMap,i),c=s?i.compilerOptions:void 0,l=s&&i.semanticDiagnosticsPerFile&&!!a.semanticDiagnosticsPerFile&&!e.compilerOptionsAffectSemanticDiagnostics(o,c);if(s){if(!i.currentChangedFilePath){var u=i.currentAffectedFilesSignatures;e.Debug.assert(!(i.affectedFiles||u&&u.size),"Cannot reuse if only few affected files of currentChangedFile were iterated")}var d=i.changedFilesSet;l&&e.Debug.assert(!d||!e.forEachKey(d,(function(e){return i.semanticDiagnosticsPerFile.has(e)})),"Semantic diagnostics shouldnt be available for changed files"),null==d||d.forEach((function(e){return a.changedFilesSet.add(e)})),!e.outFile(o)&&i.affectedFilesPendingEmit&&(a.affectedFilesPendingEmit=i.affectedFilesPendingEmit.slice(),a.affectedFilesPendingEmitKind=i.affectedFilesPendingEmitKind&&new e.Map(i.affectedFilesPendingEmitKind),a.affectedFilesPendingEmitIndex=i.affectedFilesPendingEmitIndex,a.seenAffectedFiles=new e.Set)}var p=a.referencedMap,f=s?i.referencedMap:void 0,m=l&&!o.skipLibCheck==!c.skipLibCheck,g=m&&!o.skipDefaultLibCheck==!c.skipDefaultLibCheck;return a.fileInfos.forEach((function(o,c){var u,d,_,h;if(!s||!(u=i.fileInfos.get(c))||u.version!==o.version||(_=d=p&&p.get(c),h=f&&f.get(c),_!==h&&(void 0===_||void 0===h||_.size!==h.size||e.forEachKey(_,(function(e){return!h.has(e)}))))||d&&e.forEachKey(d,(function(e){return!a.fileInfos.has(e)&&i.fileInfos.has(e)})))a.changedFilesSet.add(c);else if(l){var y=t.getSourceFileByPath(c);if(y.isDeclarationFile&&!m)return;if(y.hasNoDefaultLib&&!g)return;var v=i.semanticDiagnosticsPerFile.get(c);v&&(a.semanticDiagnosticsPerFile.set(c,i.hasReusableDiagnostic?function(t,r,i){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=n(e,r,o);t.reportsUnnecessary=e.reportsUnnecessary,t.reportsDeprecated=e.reportDeprecated,t.source=e.source,t.skippedOn=e.skippedOn;var i=e.relatedInformation;return t.relatedInformation=i?i.length?i.map((function(e){return n(e,r,o)})):[]:void 0,t}));function o(t){return e.toPath(t,a,i)}}(v,t,r):v),a.semanticDiagnosticsFromOldState||(a.semanticDiagnosticsFromOldState=new e.Set),a.semanticDiagnosticsFromOldState.add(c))}})),s&&e.forEachEntry(i.fileInfos,(function(e,t){return e.affectsGlobalScope&&!a.fileInfos.has(t)}))?e.BuilderState.getAllFilesExcludingDefaultLibraryFile(a,t,void 0).forEach((function(e){return a.changedFilesSet.add(e.resolvedPath)})):c&&!e.outFile(o)&&e.compilerOptionsAffectEmit(o,c)&&(t.getSourceFiles().forEach((function(e){return b(a,e.resolvedPath,1)})),e.Debug.assert(!a.seenAffectedFiles||!a.seenAffectedFiles.size),a.seenAffectedFiles=a.seenAffectedFiles||new e.Set),a.buildInfoEmitPending=!!a.changedFilesSet.size,a}function n(e,t,r){var n=e.file;return a(a({},e),{file:n?t.getSourceFileByPath(r(n)):void 0})}function i(t,r){e.Debug.assert(!r||!t.affectedFiles||t.affectedFiles[t.affectedFilesIndex-1]!==r||!t.semanticDiagnosticsPerFile.has(r.resolvedPath))}function o(t,r,n){for(;;){var i=t.affectedFiles;if(i){for(var a=t.seenAffectedFiles,o=t.affectedFilesIndex;o<i.length;){var c=i[o];if(!a.has(c.resolvedPath))return t.affectedFilesIndex=o,s(t,c,r,n),c;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 l=t.changedFilesSet.keys().next();if(l.done)return;var u=e.Debug.checkDefined(t.program),d=u.getCompilerOptions();if(e.outFile(d))return e.Debug.assert(!t.semanticDiagnosticsPerFile),u;t.currentAffectedFilesSignatures||(t.currentAffectedFilesSignatures=new e.Map),t.exportedModulesMap&&(t.currentAffectedFilesExportedModulesMap||(t.currentAffectedFilesExportedModulesMap=new e.Map)),t.affectedFiles=e.BuilderState.getFilesAffectedBy(t,u,l.value,r,n,t.currentAffectedFilesSignatures,t.currentAffectedFilesExportedModulesMap),t.currentChangedFilePath=l.value,t.affectedFilesIndex=0,t.seenAffectedFiles||(t.seenAffectedFiles=new e.Set)}}function s(t,r,n,i){if(c(t,r.resolvedPath),t.allFilesExcludingDefaultLibraryFile!==t.affectedFiles)t.compilerOptions.assumeChangesOnlyAffectDirectDependencies||function(t,r,n){if(!t.exportedModulesMap||!t.changedFilesSet.has(r.resolvedPath))return;if(!l(t,r.resolvedPath))return;if(t.compilerOptions.isolatedModules){var i=new e.Map;i.set(r.resolvedPath,!0);for(var a=e.BuilderState.getReferencedByPaths(t,r.resolvedPath);a.length>0;){var o=a.pop();if(!i.has(o))if(i.set(o,!0),n(t,o)&&l(t,o)){var s=e.Debug.checkDefined(t.program).getSourceFileByPath(o);a.push.apply(a,e.BuilderState.getReferencedByPaths(t,s.resolvedPath))}}}e.Debug.assert(!!t.currentAffectedFilesExportedModulesMap);var c=new e.Set;if(e.forEachEntry(t.currentAffectedFilesExportedModulesMap,(function(e,i){return e&&e.has(r.resolvedPath)&&u(t,i,c,n)})))return;e.forEachEntry(t.exportedModulesMap,(function(e,i){return!t.currentAffectedFilesExportedModulesMap.has(i)&&e.has(r.resolvedPath)&&u(t,i,c,n)}))}(t,r,(function(t,r){return function(t,r,n,i){if(c(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),e.getEmitDeclarations(t.compilerOptions)&&b(t,r,0))}return!1}(t,r,n,i)}));else if(!t.cleanedDiagnosticsOfLibFiles){t.cleanedDiagnosticsOfLibFiles=!0;var a=e.Debug.checkDefined(t.program),o=a.getCompilerOptions();e.forEach(a.getSourceFiles(),(function(r){return a.isSourceFileDefaultLibrary(r)&&!(e.skipTypeChecking(r,o,a)||r.isDeclarationFile&&o.needDoArkTsLinter)&&c(t,r.resolvedPath)}))}}function c(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 u(t,r,n,i){return e.forEachEntry(t.referencedMap,(function(e,a){return e.has(r)&&d(t,a,n,i)}))}function d(t,r,n,i){return!!e.tryAddToSet(n,r)&&(!!i(t,r)||(e.Debug.assert(!!t.currentAffectedFilesExportedModulesMap),!!e.forEachEntry(t.currentAffectedFilesExportedModulesMap,(function(e,a){return e&&e.has(r)&&d(t,a,n,i)}))||(!!e.forEachEntry(t.exportedModulesMap,(function(e,a){return!t.currentAffectedFilesExportedModulesMap.has(a)&&e.has(r)&&d(t,a,n,i)}))||!!e.forEachEntry(t.referencedMap,(function(e,a){return e.has(r)&&!n.has(a)&&i(t,a)})))))}function p(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 f(e,t,r){return p(e,r),{result:t,affected:r}}function m(e,t,r,n,i,a){return p(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.filterSemanticDiagnotics(a,t.compilerOptions)}var o=e.Debug.checkDefined(t.program).getBindAndCheckDiagnostics(r,n);t.semanticDiagnosticsPerFile&&t.semanticDiagnosticsPerFile.set(i,o);return e.filterSemanticDiagnotics(o,t.compilerOptions)}(t,r,n),e.Debug.checkDefined(t.program).getProgramDiagnostics(r))}function _(t,r){var n={},i=e.getOptionsNameMap().optionsNameMap;for(var a in t)e.hasProperty(t,a)&&(n[a]=h(i.get(a.toLowerCase()),t[a],r));return n.configFilePath&&(n.configFilePath=r(n.configFilePath)),n}function h(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 y(t,r){return e.Debug.assert(!!t.length),t.map((function(e){var t=v(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 v(e,r)})):[]:void 0,t}))}function v(e,t){var r=e.file;return a(a({},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 k(t,r){if(t){var n=new e.Map;for(var i in t)e.hasProperty(t,i)&&n.set(r(i),new e.Set(t[i].map(r)));return n}}function x(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)}}!function(e){e[e.DtsOnly=0]="DtsOnly",e[e.Full=1]="Full"}(e.BuilderFileEmit||(e.BuilderFileEmit={})),function(e){e[e.SemanticDiagnosticsBuilderProgram=0]="SemanticDiagnosticsBuilderProgram",e[e.EmitAndSemanticDiagnosticsBuilderProgram=1]="EmitAndSemanticDiagnosticsBuilderProgram"}(t=e.BuilderProgramKind||(e.BuilderProgramKind={})),e.getBuilderCreationParameters=function(t,r,n,i,a,o){var s,c,l;return void 0===t?(e.Debug.assert(void 0===r),s=n,l=i,e.Debug.assert(!!l),c=l.getProgram()):e.isArray(t)?(l=i,c=e.createProgram({rootNames:t,options:r,host:n,oldProgram:l&&l.getProgramOrUndefined(),configFileParsingDiagnostics:a,projectReferences:o}),s=n):(c=t,s=r,l=n,a=i),{host:s,newProgram:c,oldProgram:l,configFileParsingDiagnostics:a||e.emptyArray}},e.createBuilderProgram=function(n,a){var s=a.newProgram,c=a.host,l=a.oldProgram,u=a.configFileParsingDiagnostics,d=l&&l.getState();if(d&&s===d.program&&u===s.getConfigFileParsingDiagnostics())return s=void 0,d=void 0,l;var h,v=e.createGetCanonicalFileName(c.useCaseSensitiveFileNames()),k=e.maybeBind(c,c.createHash),E=r(s,v,d);s.getProgramBuildInfo=function(){return function(t,r){if(!e.outFile(t.compilerOptions)){var n=e.Debug.checkDefined(t.program).getCurrentDirectory(),i=e.getDirectoryPath(e.getNormalizedAbsolutePath(e.getTsBuildInfoEmitOutputFilePath(t.compilerOptions),n)),a={};t.fileInfos.forEach((function(e,r){var n=t.currentAffectedFilesSignatures&&t.currentAffectedFilesSignatures.get(r);a[w(r)]=void 0===n?e:{version:e.version,signature:n,affectsGlobalScope:e.affectsGlobalScope}}));var o={fileInfos:a,options:_(t.compilerOptions,(function(t){return w(e.getNormalizedAbsolutePath(t,n))}))};if(t.referencedMap){for(var s={},c=0,l=e.arrayFrom(t.referencedMap.keys()).sort(e.compareStringsCaseSensitive);c<l.length;c++)s[w(f=l[c])]=e.arrayFrom(t.referencedMap.get(f).keys(),w).sort(e.compareStringsCaseSensitive);o.referencedMap=s}if(t.exportedModulesMap){for(var u={},d=0,p=e.arrayFrom(t.exportedModulesMap.keys()).sort(e.compareStringsCaseSensitive);d<p.length;d++){var f=p[d],m=t.currentAffectedFilesExportedModulesMap&&t.currentAffectedFilesExportedModulesMap.get(f);void 0===m?u[w(f)]=e.arrayFrom(t.exportedModulesMap.get(f).keys(),w).sort(e.compareStringsCaseSensitive):m&&(u[w(f)]=e.arrayFrom(m.keys(),w).sort(e.compareStringsCaseSensitive))}o.exportedModulesMap=u}if(t.semanticDiagnosticsPerFile){for(var g=[],h=0,v=e.arrayFrom(t.semanticDiagnosticsPerFile.keys()).sort(e.compareStringsCaseSensitive);h<v.length;h++){f=v[h];var b=t.semanticDiagnosticsPerFile.get(f);g.push(b.length?[w(f),t.hasReusableDiagnostic?b:y(b,w)]:w(f))}o.semanticDiagnosticsPerFile=g}if(t.affectedFilesPendingEmit){for(var k=[],x=new e.Set,E=0,S=t.affectedFilesPendingEmit.slice(t.affectedFilesPendingEmitIndex).sort(e.compareStringsCaseSensitive);E<S.length;E++){var D=S[E];e.tryAddToSet(x,D)&&k.push([w(D),t.affectedFilesPendingEmitKind.get(D)])}o.affectedFilesPendingEmit=k}return o}function w(t){return e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(i,t,r))}}(E,v)},s=void 0,l=void 0,d=void 0;var S=x(E,u);return S.getState=function(){return E},S.backupState=function(){e.Debug.assert(void 0===h),h=function(t){var r=e.BuilderState.clone(t);return r.semanticDiagnosticsPerFile=t.semanticDiagnosticsPerFile&&new e.Map(t.semanticDiagnosticsPerFile),r.changedFilesSet=new e.Set(t.changedFilesSet),r.affectedFiles=t.affectedFiles,r.affectedFilesIndex=t.affectedFilesIndex,r.currentChangedFilePath=t.currentChangedFilePath,r.currentAffectedFilesSignatures=t.currentAffectedFilesSignatures&&new e.Map(t.currentAffectedFilesSignatures),r.currentAffectedFilesExportedModulesMap=t.currentAffectedFilesExportedModulesMap&&new e.Map(t.currentAffectedFilesExportedModulesMap),r.seenAffectedFiles=t.seenAffectedFiles&&new e.Set(t.seenAffectedFiles),r.cleanedDiagnosticsOfLibFiles=t.cleanedDiagnosticsOfLibFiles,r.semanticDiagnosticsFromOldState=t.semanticDiagnosticsFromOldState&&new e.Set(t.semanticDiagnosticsFromOldState),r.program=t.program,r.compilerOptions=t.compilerOptions,r.affectedFilesPendingEmit=t.affectedFilesPendingEmit&&t.affectedFilesPendingEmit.slice(),r.affectedFilesPendingEmitKind=t.affectedFilesPendingEmitKind&&new e.Map(t.affectedFilesPendingEmitKind),r.affectedFilesPendingEmitIndex=t.affectedFilesPendingEmitIndex,r.seenEmittedFiles=t.seenEmittedFiles&&new e.Map(t.seenEmittedFiles),r.programEmitComplete=t.programEmitComplete,r}(E)},S.restoreState=function(){E=e.Debug.checkDefined(h),h=void 0},S.getAllDependencies=function(t){return e.BuilderState.getAllDependencies(E,e.Debug.checkDefined(E.program),t)},S.getSemanticDiagnostics=function(t,r){i(E,t);var n,a=e.Debug.checkDefined(E.program).getCompilerOptions();if(e.outFile(a))return e.Debug.assert(!E.semanticDiagnosticsPerFile),e.Debug.checkDefined(E.program).getSemanticDiagnostics(t,r);if(t)return g(E,t,r);for(;w(r););for(var o=0,s=e.Debug.checkDefined(E.program).getSourceFiles();o<s.length;o++){var c=s[o];n=e.addRange(n,g(E,c,r))}return n||e.emptyArray},S.emit=function(r,a,o,s,l){var u,d,p,f=!1;n===t.EmitAndSemanticDiagnosticsBuilderProgram||r||e.outFile(E.compilerOptions)||E.compilerOptions.noEmit||!E.compilerOptions.noEmitOnError||(f=!0,u=E.affectedFilesPendingEmit&&E.affectedFilesPendingEmit.slice(),d=E.affectedFilesPendingEmitKind&&new e.Map(E.affectedFilesPendingEmitKind),p=E.affectedFilesPendingEmitIndex);n===t.EmitAndSemanticDiagnosticsBuilderProgram&&i(E,r);var m=e.handleNoEmitOptions(S,r,a,o);if(m)return m;f&&(E.affectedFilesPendingEmit=u,E.affectedFilesPendingEmitKind=d,E.affectedFilesPendingEmitIndex=p);if(!r&&n===t.EmitAndSemanticDiagnosticsBuilderProgram){for(var g=[],_=!1,h=void 0,y=[],v=void 0;v=D(a,o,s,l);)_=_||v.result.emitSkipped,h=e.addRange(h,v.result.diagnostics),y=e.addRange(y,v.result.emittedFiles),g=e.addRange(g,v.result.sourceMaps);return{emitSkipped:_,diagnostics:h||e.emptyArray,emittedFiles:y,sourceMaps:g}}return e.Debug.checkDefined(E.program).emit(r,a||e.maybeBind(c,c.writeFile),o,s,l)},S.releaseProgram=function(){!function(t){e.BuilderState.releaseCache(t),t.program=void 0}(E),h=void 0},n===t.SemanticDiagnosticsBuilderProgram?S.getSemanticDiagnosticsOfNextAffectedFile=w:n===t.EmitAndSemanticDiagnosticsBuilderProgram?(S.getSemanticDiagnosticsOfNextAffectedFile=w,S.emitNextAffectedFile=D,S.emitBuildInfo=function(t,r){if(E.buildInfoEmitPending){var n=e.Debug.checkDefined(E.program).emitBuildInfo(t||e.maybeBind(c,c.writeFile),r);return E.buildInfoEmitPending=!1,n}return e.emitSkippedWithNoDiagnostics}):e.notImplemented(),S;function D(t,r,n,i){var a=o(E,r,k),s=1,l=!1;if(!a)if(e.outFile(E.compilerOptions)){var u=e.Debug.checkDefined(E.program);if(E.programEmitComplete)return;a=u}else{var d=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}}(E);if(!d){if(!E.buildInfoEmitPending)return;var p=e.Debug.checkDefined(E.program);return m(E,p.emitBuildInfo(t||e.maybeBind(c,c.writeFile),r),p,1,!1,!0)}a=d.affectedFile,s=d.emitKind,l=!0}return m(E,e.Debug.checkDefined(E.program).emit(a===E.program?void 0:a,t||e.maybeBind(c,c.writeFile),r,n||0===s,i),a,s,l)}function w(e,r){for(;;){var i=o(E,e,k);if(!i)return;if(i===E.program)return f(E,E.program.getSemanticDiagnostics(void 0,e),i);if((n===t.EmitAndSemanticDiagnosticsBuilderProgram||E.compilerOptions.noEmit||E.compilerOptions.noEmitOnError)&&b(E,i.resolvedPath,1),!r||!r(i))return f(E,g(E,i,e),i);p(E,i)}}},e.createBuildProgramUsingProgramBuildInfo=function(t,r,n){var i=e.getDirectoryPath(e.getNormalizedAbsolutePath(r,n.getCurrentDirectory())),a=e.createGetCanonicalFileName(n.useCaseSensitiveFileNames()),o=new e.Map;for(var s in t.fileInfos)e.hasProperty(t.fileInfos,s)&&o.set(l(s),t.fileInfos[s]);var c={fileInfos:o,compilerOptions:e.convertToOptionsWithAbsolutePaths(t.options,(function(t){return e.getNormalizedAbsolutePath(t,i)})),referencedMap:k(t.referencedMap,l),exportedModulesMap:k(t.exportedModulesMap,l),semanticDiagnosticsPerFile:t.semanticDiagnosticsPerFile&&e.arrayToMap(t.semanticDiagnosticsPerFile,(function(t){return l(e.isString(t)?t:t[0])}),(function(t){return e.isString(t)?e.emptyArray:t[1]})),hasReusableDiagnostic:!0,affectedFilesPendingEmit:e.map(t.affectedFilesPendingEmit,(function(e){return l(e[0])})),affectedFilesPendingEmitKind:t.affectedFilesPendingEmit&&e.arrayToMap(t.affectedFilesPendingEmit,(function(e){return l(e[0])}),(function(e){return e[1]})),affectedFilesPendingEmitIndex:t.affectedFilesPendingEmit&&0};return{getState:function(){return c},backupState:e.noop,restoreState:e.noop,getProgram:e.notImplemented,getProgramOrUndefined:e.returnUndefined,releaseProgram:e.noop,getCompilerOptions:function(){return c.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 l(t){return e.toPath(t,i,a)}},e.createRedirectedBuilderProgram=x}(d||(d={})),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,l=s.configFileParsingDiagnostics;return e.createRedirectedBuilderProgram({program:c,compilerOptions:c.getCompilerOptions()},l)}}(d||(d={})),function(e){function t(t){return e.endsWith(t,"/node_modules/.staging")||e.endsWith(t,"/oh_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}e.removeIgnoredPath=t,e.canWatchDirectory=r,e.createResolutionCache=function(n,i,a){var o,s,c,l=e.createMultiMap(),u=[],d=e.createMultiMap(),p=!1,f=[],m=[],g=[],_=e.memoize((function(){return n.getCurrentDirectory()})),h=n.getCachedDirectoryStructureHost(),y=new e.Map,v=e.createCacheWithRedirects(),b=e.createCacheWithRedirects(),k=e.createModuleResolutionCacheWithMaps(v,b,_(),n.getCanonicalFileName),x=new e.Map,E=e.createCacheWithRedirects(),S=n.getCompilationSettings().ets?[".ets",".ts",".tsx",".js",".jsx",".json"]:[".ts",".tsx",".js",".jsx",".json",".ets"],D=new e.Map,w=new e.Map,T=i&&e.removeTrailingDirectorySeparator(e.getNormalizedAbsolutePath(i,_())),C=T&&n.toPath(T),A=void 0!==C?C.split(e.directorySeparator).length:0,N=new e.Map;return{startRecordingFilesWithChangedResolutions:function(){o=[]},finishRecordingFilesWithChangedResolutions:function(){var e=o;return o=void 0,e},startCachingPerDirectoryResolution:R,finishCachingPerDirectoryResolution:function(){c=void 0,R(),w.forEach((function(e,t){0===e.refCount&&(w.delete(t),e.watcher.close())})),p=!1},resolveModuleNames:function(t,r,n,i){return L({names:t,containingFile:r,redirectedReference:i,cache:y,perDirectoryCacheWithRedirects:v,loader:M,getResolutionWithResolvedFileName:P,shouldRetryResolution:function(t){return!t.resolvedModule||!e.resolutionExtensionIsTSOrJson(t.resolvedModule.extension)},reusedNames:n,logChanges:a})},getResolvedModuleWithFailedLookupLocationsFromCache:function(e,t){var r=y.get(n.toPath(t));return r&&r.get(e)},resolveTypeReferenceDirectives:function(t,r,n){return L({names:t,containingFile:r,redirectedReference:n,cache:x,perDirectoryCacheWithRedirects:E,loader:e.resolveTypeReferenceDirective,getResolutionWithResolvedFileName:I,shouldRetryResolution:function(e){return void 0===e.resolvedTypeReferenceDirective}})},removeResolutionsFromProjectReferenceRedirects:function(t){if(!e.fileExtensionIs(t,".json"))return;var r=n.getCurrentProgram();if(!r)return;var i=r.getResolvedProjectReferenceByPath(t);if(!i)return;i.commandLine.fileNames.forEach((function(e){return X(n.toPath(e))}))},removeResolutionsOfFile:X,hasChangedAutomaticTypeDirectiveNames:function(){return p},invalidateResolutionOfFile:function(t){X(t);var r=p;Q(d.get(t),e.returnTrue)&&p&&!r&&n.onChangedAutomaticTypeDirectiveNames()},invalidateResolutionsOfFailedLookupLocations:ee,setFilesWithInvalidatedNonRelativeUnresolvedImports:function(t){e.Debug.assert(c===t||void 0===c),c=t},createHasInvalidatedResolution:function(t){if(ee(),t)return s=void 0,e.returnTrue;var r=s;return s=void 0,function(e){return!!r&&r.has(e)||O(e)}},isFileWithInvalidatedNonRelativeUnresolvedImports:O,updateTypeRootsWatch:function(){var t=n.getCompilationSettings();if(t.types)return void re();var r=e.getEffectiveTypeRoots(t,{directoryExists:ie,getCurrentDirectory:_});r?e.mutateMap(N,e.arrayToMap(r,(function(e){return n.toPath(e)})),{createNewValue:ne,onDeleteValue:e.closeFileWatcher}):re()},closeTypeRootsWatch:re,clear:function(){e.clearMap(w,e.closeFileWatcherOf),D.clear(),l.clear(),re(),y.clear(),x.clear(),d.clear(),u.length=0,f.length=0,m.length=0,g.length=0,R(),p=!1}};function P(e){return e.resolvedModule}function I(e){return e.resolvedTypeReferenceDirective}function F(t,r){return!(void 0===t||r.length<=t.length)&&(e.startsWith(r,t)&&r[t.length]===e.directorySeparator)}function O(e){if(!c)return!1;var t=c.get(e);return!!t&&!!t.length}function R(){v.clear(),b.clear(),E.clear(),l.forEach(H),l.clear()}function M(t,r,i,a,o){var s,c=e.resolveModuleName(t,r,i,a,k,o);if(!n.getGlobalCache)return c;var l=n.getGlobalCache();if(!(void 0===l||e.isExternalModuleNameRelative(t)||c.resolvedModule&&e.extensionIsTS(c.resolvedModule.extension))){var u=e.loadModuleFromGlobalCache(e.Debug.checkDefined(n.globalCacheResolutionModuleName)(t),n.projectName,i,a,l),d=u.resolvedModule,p=u.failedLookupLocations;if(d)return c.resolvedModule=d,(s=c.failedLookupLocations).push.apply(s,p),c}return c}function L(t){var r,i=t.names,a=t.containingFile,s=t.redirectedReference,c=t.cache,l=t.perDirectoryCacheWithRedirects,u=t.loader,d=t.getResolutionWithResolvedFileName,p=t.shouldRetryResolution,f=t.reusedNames,m=t.logChanges,g=n.toPath(a),_=c.get(g)||c.set(g,new e.Map).get(g),h=e.getDirectoryPath(g),y=l.getOrCreateMapOfCacheRedirects(s),v=y.get(h);v||(v=new e.Map,y.set(h,v));for(var b=[],k=n.getCompilationSettings(),x=m&&O(g),E=n.getCurrentProgram(),S=E&&E.getResolvedProjectReferenceToRedirect(a),D=S?!s||s.sourceFile.path!==S.sourceFile.path:!!s,w=new e.Map,T=0,C=i;T<C.length;T++){var A=C[T],N=_.get(A);if(!w.has(A)&&D||!N||N.isInvalidated||x&&!e.isExternalModuleNameRelative(A)&&p(N)){var P=N,I=v.get(A);I?N=I:(N=u(A,a,k,(null===(r=n.getCompilerHost)||void 0===r?void 0:r.call(n))||n,s),v.set(A,N)),_.set(A,N),J(A,N,g,d),P&&W(P,g,d),m&&o&&!F(P,N)&&(o.push(g),m=!1)}e.Debug.assert(void 0!==N&&!N.isInvalidated),w.set(A,!0),b.push(d(N))}return _.forEach((function(t,r){w.has(r)||e.contains(f,r)||(W(t,g,d),_.delete(r))})),b;function F(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=d(e),n=d(t);return r===n||!(!r||!n)&&r.resolvedFileName===n.resolvedFileName}}function j(t){return e.endsWith(t,"/node_modules/@types")}function B(t){return e.endsWith(t,"/oh_modules/@types")}function z(t,r){if(F(C,r)){t=e.isRootedDiskPath(t)?e.normalizePath(t):e.getNormalizedAbsolutePath(t,_());var n=r.split(e.directorySeparator),i=t.split(e.directorySeparator);return e.Debug.assert(i.length===n.length,"FailedLookup: "+t+" failedLookupLocationPath: "+r),n.length>A+1?{dir:i.slice(0,A+1).join(e.directorySeparator),dirPath:n.slice(0,A+1).join(e.directorySeparator)}:{dir:T,dirPath:C,nonRecursive:!1}}return U(e.getDirectoryPath(e.getNormalizedAbsolutePath(t,_())),e.getDirectoryPath(r))}function U(t,i){for(var a=e.isOhpm(n.getCompilationSettings().packageManagerType);a?e.pathContainsOHModules(i):e.pathContainsNodeModules(i);)t=e.getDirectoryPath(t),i=e.getDirectoryPath(i);if(a?e.isOHModulesDirectory(i):e.isNodeModulesDirectory(i))return r(e.getDirectoryPath(i))?{dir:t,dirPath:i}:void 0;var o,s,c=!0;if(void 0!==C)for(;!F(i,C);){var l=e.getDirectoryPath(i);if(l===i)break;c=!1,o=i,s=t,i=l,t=e.getDirectoryPath(t)}return r(i)?{dir:s||t,dirPath:o||i,nonRecursive:c}:void 0}function q(t){return e.fileExtensionIsOneOf(t,S)}function J(t,r,i,a){if(r.refCount)r.refCount++,e.Debug.assertDefined(r.files);else{r.refCount=1,e.Debug.assert(0===e.length(r.files)),e.isExternalModuleNameRelative(t)?V(r):l.add(t,r);var o=a(r);o&&o.resolvedFileName&&d.add(n.toPath(o.resolvedFileName),r)}(r.files||(r.files=[])).push(i)}function V(t){e.Debug.assert(!!t.refCount);var r=t.failedLookupLocations;if(r.length){u.push(t);for(var i=!1,a=0,o=r;a<o.length;a++){var s=o[a],c=n.toPath(s),l=z(s,c);if(l){var d=l.dir,p=l.dirPath,f=l.nonRecursive;if(!q(c)){var m=D.get(c)||0;D.set(c,m+1)}p===C?(e.Debug.assert(!f),i=!0):K(d,p,f)}}i&&K(T,C,!0)}}function H(e,t){var r=n.getCurrentProgram();r&&r.getTypeChecker().tryFindAmbientModuleWithoutAugmentations(t)||e.forEach(V)}function K(t,r,n){var i=w.get(r);i?(e.Debug.assert(!!n==!!i.nonRecursive),i.refCount++):w.set(r,{watcher:$(t,r,n),refCount:1,nonRecursive:n})}function W(t,r,i){if(e.unorderedRemoveItem(e.Debug.assertDefined(t.files),r),t.refCount--,!t.refCount){var a=i(t);if(a&&a.resolvedFileName&&d.remove(n.toPath(a.resolvedFileName),t),e.unorderedRemoveItem(u,t)){for(var o=!1,s=0,c=t.failedLookupLocations;s<c.length;s++){var l=c[s],p=n.toPath(l),f=z(l,p);if(f){var m=f.dirPath,g=D.get(p);g&&(1===g?D.delete(p):(e.Debug.assert(g>1),D.set(p,g-1))),m===C?o=!0:G(m)}}o&&G(C)}}}function G(e){w.get(e).refCount--}function $(e,t,r){return n.watchDirectoryOfFailedLookupLocation(e,(function(e){var r=n.toPath(e);h&&h.addOrDeleteFileOrDirectory(e,r),Z(r,t===r)}),r?0:1)}function Y(e,t,r){var n=e.get(t);n&&(n.forEach((function(e){return W(e,t,r)})),e.delete(t))}function X(e){Y(y,e,P),Y(x,e,I)}function Q(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 c=0,l=e.Debug.assertDefined(o.files);c<l.length;c++){var u=l[c];(s||(s=new e.Set)).add(u),p=p||e.endsWith(u,e.inferredTypesContainingFile)}}}return n}function Z(r,i){if(i)g.push(r);else{var a=t(r);if(!a)return!1;if(r=a,n.fileIsOpen(r))return!1;var o=e.getDirectoryPath(r),s=e.isOhpm(n.getCompilationSettings().packageManagerType);if(j(r)||s&&B(r)||e.isNodeModulesDirectory(r)||j(o)||s&&B(o)||e.isNodeModulesDirectory(o))f.push(r),m.push(r);else{if(!q(r)&&!D.has(r))return!1;if(e.isEmittedFileOfProgram(n.getCurrentProgram(),r))return!1;f.push(r)}}n.scheduleInvalidateResolutionsOfFailedLookupLocations()}function ee(){if(!f.length&&!m.length&&!g.length)return!1;var e=Q(u,te);return f.length=0,m.length=0,g.length=0,e}function te(t){return t.failedLookupLocations.some((function(t){var r=n.toPath(t);return e.contains(f,r)||m.some((function(t){return e.startsWith(r,t)}))||g.some((function(e){return F(e,r)}))}))}function re(){e.clearMap(N,e.closeFileWatcher)}function ne(e,t){return n.watchTypeRootsDirectory(t,(function(r){var i=n.toPath(r);h&&h.addOrDeleteFileOrDirectory(r,i),p=!0,n.onChangedAutomaticTypeDirectiveNames();var a=function(e,t){if(F(C,t))return C;var r=U(e,t);return r&&w.has(r.dirPath)?r.dirPath:void 0}(t,e);a&&Z(i,a===i)}),1)}function ie(t){var i=e.getDirectoryPath(e.getDirectoryPath(t)),a=n.toPath(i);return a===C||r(a)}}}(d||(d={})),function(e){!function(t){var r,n;function a(t,r,n){var i=t.importModuleSpecifierPreference,a=t.importModuleSpecifierEnding;return{relativePreference:"relative"===i?0:"non-relative"===i?1:"project-relative"===i?3:2,ending:function(){switch(a){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}(n)?2:e.getEmitModuleResolutionKind(r)!==e.ModuleResolutionKind.NodeJs?1:0}}()}}function o(t,r,n,i,a){var o=s(r,i),l=m(r,n,i,t.packageManagerType);return e.firstDefined(l,(function(e){return _(e,o,i,t)}))||c(n,o,t,i,a)}function s(t,r){return{getCanonicalFileName:e.createGetCanonicalFileName(!r.useCaseSensitiveFileNames||r.useCaseSensitiveFileNames()),importingSourceFileName:t,sourceDirectory:e.getDirectoryPath(t)}}function c(t,r,n,i,a){var o=a.ending,s=a.relativePreference,c=n.baseUrl,u=n.paths,d=n.rootDirs,f=r.sourceDirectory,m=r.getCanonicalFileName,_=d&&function(t,r,n,i,a,o){var s=h(r,t,i);if(void 0===s)return;var c=h(n,t,i),l=void 0!==c?e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(c,s,i)):s;return e.getEmitModuleResolutionKind(o)===e.ModuleResolutionKind.NodeJs?y(l,a,o):e.removeFileExtension(l)}(d,t,f,m,o,n)||y(e.ensurePathIsNonModuleName(e.getRelativePathFromDirectory(f,t,m)),o,n);if(!c&&!u||0===s)return _;var k=v(t,e.getPathsBasePath(n,i)||c,m);if(!k)return _;var x=y(k,o,n),E=u&&g(e.removeFileExtension(k),x,u),S=void 0===E&&void 0!==c?x:E;if(!S)return _;if(1===s)return S;if(3===s){var D=i.getCurrentDirectory(),w=e.toPath(t,D,m),T=e.startsWith(f,D),C=e.startsWith(w,D);if(T&&!C||!T&&C)return S;var A=n.packageManagerType,N=p(i,e.getDirectoryPath(w),A);return p(i,f,A)!==N?S:_}return 2!==s&&e.Debug.assertNever(s),b(S)||l(_)<l(S)?_:S}function l(t){for(var r=0,n=e.startsWith(t,"./")?2:0;n<t.length;n++)47===t.charCodeAt(n)&&r++;return r}function d(t,r){return e.compareBooleans(r.isRedirect,t.isRedirect)||e.compareNumberOfDirectorySeparators(t.path,r.path)}function p(t,r,n){return t.getNearestAncestorDirectoryWithPackageJson?t.getNearestAncestorDirectoryWithPackageJson(r):!!e.forEachAncestorDirectory(r,(function(r){return!!t.fileExists(e.combinePaths(r,e.getPackageJsonByPMType(n)))||void 0}))}function f(t,r,n,a,o,s){var c=e.hostGetCanonicalFileName(n),l=n.getCurrentDirectory(),u=n.isSourceOfProjectReferenceRedirect(r)?n.getProjectReferenceRedirect(r):void 0,d=e.toPath(r,l,c),p=n.redirectTargetsMap.get(d)||e.emptyArray,f=i(i(i([],u?[u]:e.emptyArray),[r]),p).map((function(t){return e.getNormalizedAbsolutePath(t,l)})),m=!e.every(f,e.containsIgnoredPath);if(!a){var g=e.forEach(f,(function(t){return!(m&&e.containsIgnoredPath(t))&&o(t,u===t)}));if(g)return g}var _=(n.getSymlinkCache?n.getSymlinkCache():e.discoverProbableSymlinks(n.getSourceFiles(),c,l,s)).getSymlinkedDirectoriesByRealpath(),h=e.getNormalizedAbsolutePath(r,l);return _&&e.forEachAncestorDirectory(e.getDirectoryPath(h),(function(r){var n=_.get(e.ensureTrailingDirectorySeparator(e.toPath(r,l,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 l=s[a],d=e.resolvePath(l,i),p=o(d,t===u);if(m=!0,p)return p}}))}))||(a?e.forEach(f,(function(t){return m&&e.containsIgnoredPath(t)?void 0:o(t,t===u)})):void 0)}function m(t,r,n,i){var a=n.getCurrentDirectory(),o=e.hostGetCanonicalFileName(n),s=new e.Map,c=!1;f(t,r,n,!0,(function(t,r){var n=e.isOhpm(i)?e.pathContainsOHModules(t):e.pathContainsNodeModules(t);s.set(t,{path:o(t),isRedirect:r,isInNodeModules:n}),c=c||n}),e.isOhpm(i));for(var l,u=[],p=function(t){var r,n=e.ensureTrailingDirectorySeparator(t);s.forEach((function(t,i){var a=t.path,o=t.isRedirect,c=t.isInNodeModules;e.startsWith(a,n)&&((r||(r=[])).push({path:i,isRedirect:o,isInNodeModules:c}),s.delete(i))})),r&&(r.length>1&&r.sort(d),u.push.apply(u,r));var i=e.getDirectoryPath(t);if(i===t)return l=t,"break";l=t=i},m=e.getDirectoryPath(e.toPath(t,a,o));0!==s.size;){var g=p(m);if(m=l,"break"===g)break}if(s.size){var _=e.arrayFrom(s.values());_.length>1&&_.sort(d),u.push.apply(u,_)}return u}function g(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)),l=c.indexOf("*");if(-1!==l){var u=c.substr(0,l),d=c.substr(l+1);if(r.length>=u.length+d.length&&e.startsWith(r,u)&&e.endsWith(r,d)||!d&&r===e.removeTrailingDirectorySeparator(u)){var p=r.substr(u.length,r.length-d.length);return i.replace("*",p)}}else if(c===r||c===t)return i}}function _(t,r,n,i,a){var o=t.path,s=t.isRedirect,c=r.getCanonicalFileName,l=r.sourceDirectory;if(n.fileExists&&n.readFile){var d=function(e,t){var r,n=0,i=0,a=0,o=0;!function(e){e[e.BeforeNodeModules=0]="BeforeNodeModules",e[e.NodeModules=1]="NodeModules",e[e.Scope=2]="Scope",e[e.PackageContent=3]="PackageContent"}(r||(r={}));var s=0,c=0,l=0;for(;c>=0;)switch(s=c,c=e.indexOf("/",s+1),l){case 0:e.indexOf(t,s)===s&&(n=s,i=c,l=1);break;case 1:case 2:1===l&&"@"===e.charAt(s+1)?l=2:(a=c,l=3);break;case 3:l=e.indexOf(t,s)===s?1:3}return o=s,l>1?{topLevelNodeModulesIndex:n,topLevelPackageNameIndex:i,packageRootIndex:a,fileNameIndex:o}:void 0}(o,e.isOhpm(i.packageManagerType)?e.ohModulesPathPart:e.nodeModulesPathPart);if(d){var p=o,f=!1;if(!a)for(var m=d.packageRootIndex,_=void 0;;){var h=D(m),v=h.moduleFileToTry,b=h.packageRootPath;if(b){p=b,f=!0;break}if(_||(_=v),-1===(m=o.indexOf(e.directorySeparator,m+1))){p=w(_);break}}if(!s||f){var k=n.getGlobalTypingsCacheLocation&&n.getGlobalTypingsCacheLocation(),x=c(p.substring(0,d.topLevelNodeModulesIndex));if(e.startsWith(l,x)||k&&e.startsWith(c(k),x)){var E=p.substring(d.topLevelPackageNameIndex+1),S=e.getPackageNameFromTypesPackageName(E);return e.getEmitModuleResolutionKind(i)!==e.ModuleResolutionKind.NodeJs&&S===E?void 0:S}}}}function D(t){var r=o.substring(0,t),a=e.combinePaths(r,e.getPackageJsonByPMType(i.packageManagerType)),s=o;if(n.fileExists(a)){var l=e.isOhpm(i.packageManagerType)?u.parse(n.readFile(a)):JSON.parse(n.readFile(a)),d=l.typesVersions?e.getPackageJsonTypesVersionsPaths(l.typesVersions):void 0;if(d){var p=o.slice(r.length+1),f=g(e.removeFileExtension(p),y(p,0,i),d.paths);void 0!==f&&(s=e.combinePaths(r,f))}var m=l.typings||l.types||l.main;if(e.isString(m)){var _=e.toPath(m,r,c);if(e.removeFileExtension(_)===e.removeFileExtension(c(s)))return{packageRootPath:r,moduleFileToTry:s}}}return{moduleFileToTry:s}}function w(t){var r=e.removeFileExtension(t);return"/index"!==c(r.substring(d.fileNameIndex))||function(t,r){if(!t.fileExists)return;for(var n=e.getSupportedExtensions({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}]),i=0,a=n;i<a.length;i++){var o=r+a[i];if(t.fileExists(o))return o}}(n,r.substring(0,d.fileNameIndex))?r:r.substring(0,d.fileNameIndex)}}function h(t,r,n){return e.firstDefined(r,(function(e){var r=v(t,e,n);return b(r)?void 0:r}))}function y(t,r,n){if(e.fileExtensionIs(t,".json"))return t;var i=e.removeFileExtension(t);switch(r){case 0:return e.removeSuffix(i,"/index");case 1:return i;case 2:return i+function(t,r){var n=e.extensionFromPath(t);switch(n){case".ts":case".d.ts":case".ets":case".d.ets":return".js";case".tsx":return 1===r.jsx?".jsx":".js";case".js":case".jsx":case".json":return n;case".tsbuildinfo":return e.Debug.fail("Extension .tsbuildinfo is unsupported:: FileName:: "+t);default:return e.Debug.assertNever(n)}}(t,n);default:return e.Debug.assertNever(r)}}function v(t,r,n){var i=e.getRelativePathToDirectoryOrUrl(r,t,r,n,!1);return e.isRootedDiskPath(i)?void 0:i}function b(t){return e.startsWith(t,"..")}!function(e){e[e.Relative=0]="Relative",e[e.NonRelative=1]="NonRelative",e[e.Shortest=2]="Shortest",e[e.ExternalNonRelative=3]="ExternalNonRelative"}(r||(r={})),function(e){e[e.Minimal=0]="Minimal",e[e.Index=1]="Index",e[e.JsExtension=2]="JsExtension"}(n||(n={})),t.updateModuleSpecifier=function(t,r,n,i,a){var s=o(t,r,n,i,function(t,r){return{relativePreference:e.isExternalModuleNameRelative(r)?0:1,ending:e.hasJSFileExtension(r)?2:e.getEmitModuleResolutionKind(t)!==e.ModuleResolutionKind.NodeJs||e.endsWith(r,"index")?1:0}}(t,a));if(s!==a)return s},t.getModuleSpecifier=function(e,t,r,n,i,s){return void 0===s&&(s={}),o(e,r,n,i,a(s,e,t))},t.getModulesPackageName=function(t,r,n,i){var a=s(r,i),o=m(r,n,i,t.packageManagerType);return e.firstDefined(o,(function(e){return _(e,a,i,t,!0)}))},t.getModuleSpecifiers=function(t,r,n,i,o,l){var u=function(t,r){var n=e.find(t.declarations,(function(t){return e.isNonGlobalAmbientModule(t)&&(!e.isExternalModuleAugmentation(t)||!e.isExternalModuleNameRelative(e.getTextOfIdentifierOrLiteral(t.name)))}));if(n)return n.name.text;var i=e.mapDefined(t.declarations,(function(t){var n,i,a,o;if(e.isModuleDeclaration(t)){var s=u(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 l=r.getSymbolAtLocation(c);if(l)if((2097152&(null==l?void 0:l.flags)?r.getAliasedSymbol(l):l)===t.symbol)return s.parent.parent}}}function u(e){for(;4&e.flags;)e=e.parent;return e}})),a=i[0];if(a)return a.name.text}(t,r);if(u)return[u];var d=s(i.path,o),p=e.getSourceFileOfNode(t.valueDeclaration||e.getNonAugmentationDeclaration(t)),f=m(i.path,p.originalFileName,o,n.packageManagerType),g=a(l,n,i),h=e.forEach(f,(function(t){return e.forEach(o.getFileIncludeReasons().get(e.toPath(t.path,o.getCurrentDirectory(),d.getCanonicalFileName)),(function(t){if(t.kind===e.FileIncludeKind.Import&&t.file===i.path){var r=e.getModuleNameStringLiteralAt(i,t.index).text;return 1===g.relativePreference&&e.pathIsRelative(r)?void 0:r}}))}));if(h)return[h];for(var y,v,b,k=e.some(f,(function(e){return e.isInNodeModules})),x=0,E=f;x<E.length;x++){var S=E[x],D=_(S,d,o,n);if(y=e.append(y,D),D&&S.isRedirect)return y;if(!D&&!S.isRedirect){var w=c(S.path,d,n,o,g);e.pathIsBareSpecifier(w)?v=e.append(v,w):k&&!S.isInNodeModules||(b=e.append(b,w))}}return(null==v?void 0:v.length)?v:(null==y?void 0:y.length)?y:e.Debug.checkDefined(b)},t.countPathComponents=l,t.forEachFileNameOfModule=f}(e.moduleSpecifiers||(e.moduleSpecifiers={}))}(d||(d={})),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:{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 a(e){return e.now?e.now().toLocaleTimeString("en-US",{timeZone:"UTC"}):(new Date).toLocaleTimeString()}function o(t,r){return r?function(r,i,o){n(t,r,o);var s="["+e.formatColorAndReset(a(t),e.ForegroundColorEscapeSequences.Grey)+"] ";s+=""+e.flattenDiagnosticMessageText(r.messageText,t.newLine)+(i+i),t.write(s)}:function(r,i,o){var s="";n(t,r,o)||(s+=i),s+=a(t)+" - ",s+=""+e.flattenDiagnosticMessageText(r.messageText,t.newLine)+function(t,r){return e.contains(e.screenStartingMessageCodes,t.code)?r+r:r}(r,i),t.write(s)}}function s(t){return e.countWhere(t,(function(t){return t.category===e.DiagnosticCategory.Error}))}function c(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){if(0===t)return"";var n=e.createCompilerDiagnostic(1===t?e.Diagnostics.Found_1_error:e.Diagnostics.Found_0_errors,t);return""+r+e.flattenDiagnosticMessageText(n.messageText,r)+r+r}function u(e){return!!e.getState}function d(t,r){var n=t.getCompilerOptions();n.explainFiles?p(u(t)?t.getProgram():t,r):(n.listFiles||n.listFilesOnly)&&e.forEach(t.getSourceFiles(),(function(e){r(e.fileName)}))}function p(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,l=t.getSourceFiles();c<l.length;c++){var u=l[c];r(""+h(u,s)),null===(n=a.get(u.path))||void 0===n||n.forEach((function(e){return r(" "+_(t,e,s).messageText)})),null===(i=f(u,s))||void 0===i||i.forEach((function(e){return r(" "+e.messageText)}))}}function f(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,h(t.originalFileName,r))),t.redirectInfo&&(n||(n=[])).push(e.chainDiagnosticMessages(void 0,e.Diagnostics.File_redirects_to_file_0,h(t.redirectInfo.redirectTarget,r))),n}function m(t,r){var n,i=t.getCompilerOptions().configFile;if(null===(n=null==i?void 0:i.configFileSpecs)||void 0===n?void 0: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 g(t,r){var n,i,a=t.getCompilerOptions().configFile;if(null===(n=null==a?void 0:a.configFileSpecs)||void 0===n?void 0: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("("+n+")$",c).test(r)}))}}function _(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):'"'+s.text+'"',l=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:l=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),l=e.Diagnostics.Referenced_via_0_from_file_1;break;case e.FileIncludeKind.TypeReferenceDirective:l=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),l=e.Diagnostics.Library_referenced_via_0_from_file_1;break;default:e.Debug.assertNever(r)}return e.chainDiagnosticMessages(void 0,l,c,h(s.file,n),s.packageId&&e.packageIdToString(s.packageId))}switch(r.kind){case e.FileIncludeKind.RootFile:if(!(null===(i=o.configFile)||void 0===i?void 0:i.configFileSpecs))return e.chainDiagnosticMessages(void 0,e.Diagnostics.Root_file_specified_for_compilation);var u=e.getNormalizedAbsolutePath(t.getRootFileNames()[r.index],t.getCurrentDirectory());if(m(t,u))return e.chainDiagnosticMessages(void 0,e.Diagnostics.Part_of_files_list_in_tsconfig_json);var d=g(t,u);return d?e.chainDiagnosticMessages(void 0,e.Diagnostics.Matched_by_include_pattern_0_in_1,d,h(o.configFile,n)):e.chainDiagnosticMessages(void 0,e.Diagnostics.Root_file_specified_for_compilation);case e.FileIncludeKind.SourceFromProjectReference:case e.FileIncludeKind.OutputFromProjectReference:var p=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)?p?e.Diagnostics.Output_from_referenced_project_0_included_because_1_specified:e.Diagnostics.Source_from_referenced_project_0_included_because_1_specified:p?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,h(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(e,t){return e===o.target?t:void 0}));return e.chainDiagnosticMessages(void 0,_?e.Diagnostics.Default_library_for_target_0:e.Diagnostics.Default_library,_);default:e.Debug.assertNever(r)}}function h(t,r){var n=e.isString(t)?t:t.fileName;return r?r(n):n}function y(t,r,n,i,a,o,c,l){var u=!!t.getCompilerOptions().listFilesOnly,p=t.getConfigFileParsingDiagnostics().slice(),f=p.length;e.addRange(p,t.getSyntacticDiagnostics(void 0,o)),p.length===f&&(e.addRange(p,t.getOptionsDiagnostics(o)),u||(e.addRange(p,t.getGlobalDiagnostics(o)),p.length===f&&e.addRange(p,t.getSemanticDiagnostics(void 0,o))));var m=u?{emitSkipped:!0,diagnostics:e.emptyArray}:t.emit(void 0,a,o,c,l),g=m.emittedFiles,_=m.diagnostics;e.addRange(p,_);var h=e.sortAndDeduplicateDiagnostics(p);if(h.forEach(r),n){var y=t.getCurrentDirectory();e.forEach(g,(function(t){var r=e.getNormalizedAbsolutePath(t,y);n("TSFILE: "+r)})),d(t,n)}return i&&i(s(h)),{emitResult:m,diagnostics:h}}function v(t,r,n,i,a,o,s,c){var l=y(t,r,n,i,a,o,s,c),u=l.emitResult,d=l.diagnostics;return u.emitSkipped&&d.length>0?e.ExitStatus.DiagnosticsPresent_OutputsSkipped:d.length>0?e.ExitStatus.DiagnosticsPresent_OutputsGenerated:e.ExitStatus.Success}function b(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 k(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}}function x(t,r,n,i){void 0===t&&(t=e.sys);var a=function(e){return t.write(e+t.newLine)},o=k(t,r);return e.copyProperties(o,b(t,i)),o.afterProgramCreate=function(r){var i=r.getCompilerOptions(),s=e.getNewLineCharacter(i,(function(){return t.newLine}));y(r,n,a,(function(t){return o.onWatchStatusChange(e.createCompilerDiagnostic(c(t),t),s,i,t)}))},o}function E(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=a,e.createWatchStatusReporter=o,e.parseConfigFileWithSystem=function(t,r,n,i,a){var o=i;o.onUnRecoverableConfigFileDiagnostic=function(e){return E(i,a,e)};var s=e.getParsedCommandLineOfConfigFile(t,r,o,void 0,n);return o.onUnRecoverableConfigFileDiagnostic=void 0,s},e.getErrorCountForSummary=s,e.getWatchErrorSummaryDiagnosticMessage=c,e.getErrorSummaryText=l,e.isBuilderProgram=u,e.listFiles=d,e.explainFiles=p,e.explainIfFileIsRedirect=f,e.getMatchedFileSpec=m,e.getMatchedIncludeSpec=g,e.fileIncludeReasonToDiagnostics=_,e.emitFilesAndReportErrors=y,e.emitFilesAndReportErrorsAndGetExitStatus=v,e.noopFileWatcher={close:e.noop},e.returnNoopFileWatcher=function(){return e.noopFileWatcher},e.createWatchHost=b,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"},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,s=r();try{e.performance.mark("beforeIORead"),o=t.readFile(n,s.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,void 0,s):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)}},e.setGetSourceFileAsHashVersioned=function(t,r){var n=t.getSourceFile,a=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,i([t],e));return o&&(o.version=a(o.text)),o}},e.createProgramHost=k,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,l=e.reportWatchStatus,u=c||r(o),d=x(o,s,u,l);return d.onUnRecoverableConfigFileDiagnostic=function(e){return E(o,u,e)},d.configFileName=t,d.optionsToExtend=n,d.watchOptionsToExtend=i,d.extraFileExtensions=a,d},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,l=e.reportWatchStatus,u=x(o,s,c||r(o),l);return u.rootFiles=t,u.options=n,u.watchOptions=i,u.projectReferences=a,u},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=v(a,t.reportDiagnostic||r(n),(function(e){return i.trace&&i.trace(e)}),t.reportErrorSummary||t.options.pretty?function(e){return n.write(l(e,n.newLine))}:void 0);return t.afterProgramEmitAndDiagnostics&&t.afterProgramEmitAndDiagnostics(a),o}}(d||(d={})),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),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,l=n.createProgram;return c=c||r(a),(l=l||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,a,o,s,c,l,u,d,p,f,m=new e.Map,g=!1,_=r.useCaseSensitiveFileNames(),h=r.getCurrentDirectory(),y=r.configFileName,v=r.optionsToExtend,b=void 0===v?{}:v,k=r.watchOptionsToExtend,x=r.extraFileExtensions,E=r.createProgram,S=r.rootFiles,D=r.options,w=r.watchOptions,T=r.projectReferences,C=!1,A=!1,N=void 0===y?void 0:e.createCachedDirectoryStructureHost(r,h,_),P=N||r,I=e.parseConfigHostFromCompilerHostLike(r,P),F=G();y&&r.configFileParsingResult&&(ue(r.configFileParsingResult),F=G()),te(e.Diagnostics.Starting_compilation_in_watch_mode),y&&!r.configFileParsingResult&&(F=e.getNewLineCharacter(b,(function(){return r.getNewLine()})),e.Debug.assert(!S),le(),F=G());var O,R=e.createWatchFactory(r,D),M=R.watchFile,L=R.watchDirectory,j=R.writeLog,B=e.createGetCanonicalFileName(_);j("Current directory: "+h+" CaseSensitiveFileNames: "+_),y&&(O=M(y,oe,e.PollingInterval.High,w,e.WatchType.ConfigFile));var z=e.createCompilerHostFromProgramHost(r,(function(){return D}),P);e.setGetSourceFileAsHashVersioned(z,r);var U=z.getSourceFile;z.getSourceFile=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return Q.apply(void 0,i([e,$(e)],t))},z.getSourceFileByPath=Q,z.getNewLine=function(){return F},z.fileExists=X,z.onReleaseOldSourceFile=function(e,t,r){var n=m.get(e.resolvedPath);void 0!==n&&(Y(n)?(d||(d=[])).push(e.path):n.sourceFile===e&&(n.fileWatcher&&n.fileWatcher.close(),m.delete(e.resolvedPath),r||q.removeResolutionsOfFile(e.path)))},z.toPath=$,z.getCompilationSettings=function(){return D},z.useSourceOfProjectReferenceRedirect=e.maybeBind(r,r.useSourceOfProjectReferenceRedirect),z.watchDirectoryOfFailedLookupLocation=function(t,r,n){return L(t,r,n,w,e.WatchType.FailedLookupLocations)},z.watchTypeRootsDirectory=function(t,r,n){return L(t,r,n,w,e.WatchType.TypeRoots)},z.getCachedDirectoryStructureHost=function(){return N},z.scheduleInvalidateResolutionsOfFailedLookupLocations=function(){if(!r.setTimeout||!r.clearTimeout)return q.invalidateResolutionsOfFailedLookupLocations();var e=ne();j("Scheduling invalidateFailedLookup"+(e?", Cancelled earlier one":"")),u=r.setTimeout(ie,250)},z.onInvalidatedResolution=ae,z.onChangedAutomaticTypeDirectiveNames=ae,z.fileIsOpen=e.returnFalse,z.getCurrentProgram=K,z.writeLog=j;var q=e.createResolutionCache(z,y?e.getDirectoryPath(e.getNormalizedAbsolutePath(y,h)):h,!1);z.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){return q.resolveModuleNames(e,t,r,n)},z.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 q.resolveTypeReferenceDirectives(e,t,r)};var J=!!r.resolveModuleNames||!!r.resolveTypeReferenceDirectives;return n=t(D,z),W(),_e(),ye(),y?{getCurrentProgram:H,getProgram:ce,close:V}:{getCurrentProgram:H,getProgram:ce,updateRootFileNames:function(t){e.Debug.assert(!y,"Cannot update root file names with config file watch mode"),S=t,ae()},close:V};function V(){ne(),q.clear(),e.clearMap(m,(function(e){e&&e.fileWatcher&&(e.fileWatcher.close(),e.fileWatcher=void 0)})),O&&(O.close(),O=void 0),o&&(e.clearMap(o,e.closeFileWatcher),o=void 0),c&&(e.clearMap(c,e.closeFileWatcherOf),c=void 0),s&&(e.clearMap(s,e.closeFileWatcher),s=void 0)}function H(){return n}function K(){return n&&n.getProgramOrUndefined()}function W(){j("Synchronizing program"),ne();var t=H();g&&(F=G(),t&&e.changesAffectModuleResolution(t.getCompilerOptions(),D)&&q.clear());var i=q.createHasInvalidatedResolution(J);return e.isProgramUptoDate(K(),S,D,ee,X,i,re,T)?A&&(n=E(void 0,void 0,z,n,f,T),A=!1):function(t){j("CreatingProgramWith::"),j(" roots: "+JSON.stringify(S)),j(" options: "+JSON.stringify(D));var r=g||!K();g=!1,A=!1,q.startCachingPerDirectoryResolution(),z.hasInvalidatedResolution=t,z.hasChangedAutomaticTypeDirectiveNames=re,n=E(S,D,z,n,f,T),q.finishCachingPerDirectoryResolution(),e.updateMissingFilePathsWatch(n.getProgram(),s||(s=new e.Map),me),r&&q.updateTypeRootsWatch();if(d){for(var i=0,a=d;i<a.length;i++){var o=a[i];s.has(o)||m.delete(o)}d=void 0}}(i),r.afterProgramCreate&&t!==n&&r.afterProgramCreate(n),n}function G(){return e.getNewLineCharacter(D||b,(function(){return r.getNewLine()}))}function $(t){return e.toPath(t,h,B)}function Y(e){return"boolean"==typeof e}function X(e){var t=$(e);return!Y(m.get(t))&&P.fileExists(e)}function Q(t,r,n,i,a){var o=m.get(r);if(!Y(o)){if(void 0===o||a||function(e){return"boolean"==typeof e.version}(o)){var s=U(t,n,i);if(o)s?(o.sourceFile=s,o.version=s.version,o.fileWatcher||(o.fileWatcher=de(r,t,pe,e.PollingInterval.Low,w,e.WatchType.SourceFile))):(o.fileWatcher&&o.fileWatcher.close(),m.set(r,!1));else if(s){var c=de(r,t,pe,e.PollingInterval.Low,w,e.WatchType.SourceFile);m.set(r,{sourceFile:s,version:s.version,fileWatcher:c})}else m.set(r,!1);return s}return o.sourceFile}}function Z(e){var t=m.get(e);void 0!==t&&(Y(t)?m.set(e,{version:!1}):t.version=!1)}function ee(e){var t=m.get(e);return t&&t.version?t.version:void 0}function te(t){r.onWatchStatusChange&&r.onWatchStatusChange(e.createCompilerDiagnostic(t),F,D||b)}function re(){return q.hasChangedAutomaticTypeDirectiveNames()}function ne(){return!!u&&(r.clearTimeout(u),u=void 0,!0)}function ie(){u=void 0,q.invalidateResolutionsOfFailedLookupLocations()&&ae()}function ae(){r.setTimeout&&r.clearTimeout&&(l&&r.clearTimeout(l),j("Scheduling update"),l=r.setTimeout(se,250))}function oe(){e.Debug.assert(!!y),a=e.ConfigFileProgramReloadLevel.Full,ae()}function se(){l=void 0,te(e.Diagnostics.File_change_detected_Starting_incremental_compilation),ce()}function ce(){switch(a){case e.ConfigFileProgramReloadLevel.Partial:e.perfLogger.logStartUpdateProgram("PartialConfigReload"),function(){j("Reloading new file names and options"),S=e.getFileNamesFromConfigSpecs(D.configFile.configFileSpecs,e.getNormalizedAbsolutePath(e.getDirectoryPath(y),h),D,I,x),e.updateErrorForNoInputFiles(S,e.getNormalizedAbsolutePath(y,h),D.configFile.configFileSpecs,f,C)&&(A=!0);W()}();break;case e.ConfigFileProgramReloadLevel.Full:e.perfLogger.logStartUpdateProgram("FullConfigReload"),function(){j("Reloading config file: "+y),a=e.ConfigFileProgramReloadLevel.None,N&&N.clearCache();le(),g=!0,W(),_e(),ye()}();break;default:e.perfLogger.logStartUpdateProgram("SynchronizeProgram"),W()}return e.perfLogger.logStopUpdateProgram("Done"),H()}function le(){ue(e.getParsedCommandLineOfConfigFile(y,b,I,void 0,k,x))}function ue(t){S=t.fileNames,D=t.options,w=t.watchOptions,T=t.projectReferences,p=t.wildcardDirectories,f=e.getConfigFileParsingDiagnostics(t).slice(),C=e.canJsonReportNoInputFiles(t.raw),A=!0}function de(e,t,r,n,i,a){return M(t,(function(t,n){return r(t,n,e)}),n,i,a)}function pe(t,r,n){fe(t,n,r),r===e.FileWatcherEventKind.Deleted&&m.has(n)&&q.invalidateResolutionOfFile(n),q.removeResolutionsFromProjectReferenceRedirects(n),Z(n),ae()}function fe(e,t,r){N&&N.addOrDeleteFile(e,t,r)}function me(t){return de(t,t,ge,e.PollingInterval.Medium,w,e.WatchType.MissingFile)}function ge(t,r,n){fe(t,n,r),r===e.FileWatcherEventKind.Created&&s.has(n)&&(s.get(n).close(),s.delete(n),Z(n),ae())}function _e(){p?e.updateWatchingWildcardDirectories(c||(c=new e.Map),new e.Map(e.getEntries(p)),he):c&&e.clearMap(c,e.closeFileWatcherOf)}function he(t,r){return L(t,(function(r){e.Debug.assert(!!y);var n=$(r);N&&N.addOrDeleteFileOrDirectory(r,n),Z(n),e.isIgnoredFileFromWildCardWatching({watchedDirPath:$(t),fileOrDirectory:r,fileOrDirectoryPath:n,configFileName:y,extraFileExtensions:x,options:D,program:H(),currentDirectory:h,useCaseSensitiveFileNames:_,writeLog:j})||a!==e.ConfigFileProgramReloadLevel.Full&&(a=e.ConfigFileProgramReloadLevel.Partial,ae())}),r,w,e.WatchType.WildcardDirectory)}function ye(){var t;e.mutateMap(o||(o=new e.Map),e.arrayToMap((null===(t=D.configFile)||void 0===t?void 0:t.extendedSourceFiles)||e.emptyArray,$),{createNewValue:ve,onDeleteValue:e.closeFileWatcher})}function ve(t){return M(t,oe,e.PollingInterval.High,w,e.WatchType.ExtendedConfigFile)}}}(d||(d={})),function(e){!function(e){e[e.Unbuildable=0]="Unbuildable",e[e.UpToDate=1]="UpToDate",e[e.UpToDateWithUpstreamTypes=2]="UpToDateWithUpstreamTypes",e[e.OutOfDateWithPrepend=3]="OutOfDateWithPrepend",e[e.OutputMissing=4]="OutputMissing",e[e.OutOfDateWithSelf=5]="OutOfDateWithSelf",e[e.OutOfDateWithUpstream=6]="OutOfDateWithUpstream",e[e.UpstreamOutOfDate=7]="UpstreamOutOfDate",e[e.UpstreamBlocked=8]="UpstreamBlocked",e[e.ComputingUpstream=9]="ComputingUpstream",e[e.TsVersionOutputOfDate=10]="TsVersionOutputOfDate",e[e.ContainerOnly=11]="ContainerOnly"}(e.UpToDateStatusType||(e.UpToDateStatusType={})),e.resolveConfigFileProjectName=function(t){return e.fileExtensionIs(t,".json")?t:e.combinePaths(t,"tsconfig.json")}}(d||(d={})),function(e){var t,r,n,a=new Date(-864e13),o=new Date(864e13);function s(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 c(e,t){return t>e?t:e}function l(t){return e.fileExtensionIs(t,".d.ts")||e.fileExtensionIs(t,".d.ets")}function u(e){return!!e&&!!e.buildOrder}function d(e){return u(e)?e.buildOrder:e}function p(t,r){return function(n){var i=r?"["+e.formatColorAndReset(e.getLocaleTimeString(t),e.ForegroundColorEscapeSequences.Grey)+"] ":e.getLocaleTimeString(t)+" - ";i+=""+e.flattenDiagnosticMessageText(n.messageText,t.newLine)+(t.newLine+t.newLine),t.write(i)}}function f(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||p(t),a.now=e.maybeBind(t,t.now),a}function m(t,r,n,i,a){var o,s,c=r,l=r,u=c.getCurrentDirectory(),d=e.createGetCanonicalFileName(c.useCaseSensitiveFileNames()),p=(o=i,s={},e.commonOptionsWithBuild.forEach((function(t){e.hasProperty(o,t.name)&&(s[t.name]=o[t.name])})),s),f=e.createCompilerHostFromProgramHost(c,(function(){return x.projectCompilerOptions}));e.setGetSourceFileAsHashVersioned(f,c),f.getParsedCommandLine=function(e){return y(x,e,_(x,e))},f.resolveModuleNames=e.maybeBind(c,c.resolveModuleNames),f.resolveTypeReferenceDirectives=e.maybeBind(c,c.resolveTypeReferenceDirectives);var m=f.resolveModuleNames?void 0:e.createModuleResolutionCache(u,d);if(!f.resolveModuleNames){var g=function(t,r,n){return e.resolveModuleName(t,r,x.projectCompilerOptions,f,m,n).resolvedModule};f.resolveModuleNames=function(t,r,n,i){return e.loadWithLocalCache(e.Debug.checkEachDefined(t),r,i,g)}}var h=e.createWatchFactory(l,i),v=h.watchFile,b=h.watchDirectory,k=h.writeLog,x={host:c,hostWithWatch:l,currentDirectory:u,getCanonicalFileName:d,parseConfigFileHost:e.parseConfigHostFromCompilerHostLike(c),write:e.maybeBind(c,c.trace),options:i,baseCompilerOptions:p,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:f,moduleResolutionCache:m,buildOrder:void 0,readFileWithCache:function(e){return c.readFile(e)},projectCompilerOptions:p,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,timerToBuildInvalidatedProject:void 0,reportFileChangeDetected:!1,watchFile:v,watchDirectory:b,writeLog:k};return x}function g(t,r){return e.toPath(r,t.currentDirectory,t.getCanonicalFileName)}function _(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 h(e){return!!e.options}function y(t,r,n){var i,a=t.configFileCache,o=a.get(n);if(o)return h(o)?o:void 0;var s,c=t.parseConfigFileHost,l=t.baseCompilerOptions,u=t.baseWatchOptions,d=t.extendedConfigCache,p=t.host;return p.getParsedCommandLine?(s=p.getParsedCommandLine(r))||(i=e.createCompilerDiagnostic(e.Diagnostics.File_0_not_found,r)):(c.onUnRecoverableConfigFileDiagnostic=function(e){return i=e},s=e.getParsedCommandLineOfConfigFile(r,l,c,d,u),c.onUnRecoverableConfigFileDiagnostic=e.noop),a.set(n,s||i),s}function v(t,r){return e.resolveConfigFileProjectName(e.resolvePath(t.currentDirectory,r))}function b(t,r){for(var n,i,a=new e.Map,o=new e.Map,s=[],c=0,l=r;c<l.length;c++){u(l[c])}return i?{buildOrder:n||e.emptyArray,circularDiagnostics:i}:n||e.emptyArray;function u(r,c){var l=_(t,r);if(!o.has(l))if(a.has(l))c||(i||(i=[])).push(e.createCompilerDiagnostic(e.Diagnostics.Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0,s.join("\r\n")));else{a.set(l,!0),s.push(r);var d=y(t,r,l);if(d&&d.projectReferences)for(var p=0,f=d.projectReferences;p<f.length;p++){var m=f[p];u(v(t,m.path),c||m.circular)}s.pop(),o.set(l,!0),(n||(n=[])).push(r)}}}function k(t){return t.buildOrder||function(t){var r=b(t,t.rootNames.map((function(e){return v(t,e)})));t.resolvedConfigFilePaths.clear();var n=new e.Map(d(r).map((function(e){return[_(t,e),!0]}))),i={onDeleteValue:e.noop};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)}}));return t.buildOrder=r}(t)}function x(t,r,n){var i=r&&v(t,r),a=k(t);if(u(a))return a;if(i){var o=_(t,i);if(-1===e.findIndex(a,(function(e){return _(t,e)===o})))return}var s=i?b(t,[i]):a;return e.Debug.assert(!u(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 E(t){t.cache&&S(t);var r=t.compilerHost,n=t.host,a=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,i([r],e))})),c=s.originalReadFile,l=s.originalFileExists,u=s.originalDirectoryExists,d=s.originalCreateDirectory,p=s.originalWriteFile,f=s.getSourceFileWithCache,m=s.readFileWithCache;t.readFileWithCache=m,r.getSourceFile=f,t.cache={originalReadFile:c,originalFileExists:l,originalDirectoryExists:u,originalCreateDirectory:d,originalWriteFile:p,originalReadFileWithCache:a,originalGetSourceFile:o}}function S(e){if(e.cache){var t=e.cache,r=e.host,n=e.compilerHost,i=e.extendedConfigCache,a=e.moduleResolutionCache;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(),a&&(a.directoryToModuleNameMap.clear(),a.moduleNameToDirectoryMap.clear()),e.cache=void 0}}function D(e,t){e.projectStatus.delete(t),e.diagnostics.delete(t)}function w(e,t,r){var n=e.projectPendingBuild,i=n.get(t);(void 0===i||i<r)&&n.set(t,r)}function T(t,r){t.allProjectBuildPending&&(t.allProjectBuildPending=!1,t.options.watch&&ee(t,e.Diagnostics.Starting_compilation_in_watch_mode),E(t),d(k(t)).forEach((function(r){return t.projectPendingBuild.set(_(t,r),e.ConfigFileProgramReloadLevel.None)})),r&&r.throwIfCancellationRequested())}function C(t,r){return t.projectPendingBuild.delete(r),t.currentInvalidatedProject=void 0,t.diagnostics.has(r)?e.ExitStatus.DiagnosticsPresent_OutputsSkipped:e.ExitStatus.Success}function A(e,t,n,i,a){var o=!0;return{kind:r.UpdateOutputFileStamps,project:t,projectPath:n,buildOrder:a,getCompilerOptions:function(){return i.options},getCurrentDirectory:function(){return e.currentDirectory},updateOutputFileStatmps:function(){B(e,i,n),o=!1},done:function(){return o&&B(e,i,n),C(e,n)}}}function N(s,u,d,p,f,m,h){var b,k,x,E=s===r.Build?n.CreateProgram:n.EmitBundle;return s===r.Build?{kind:s,project:d,projectPath:p,buildOrder:h,getCompilerOptions:function(){return m.options},getCurrentDirectory:function(){return u.currentDirectory},getBuilderProgram:function(){return D(e.identity)},getProgram:function(){return D((function(e){return e.getProgramOrUndefined()}))},getSourceFile:function(e){return D((function(t){return t.getSourceFile(e)}))},getSourceFiles:function(){return w((function(e){return e.getSourceFiles()}))},getOptionsDiagnostics:function(e){return w((function(t){return t.getOptionsDiagnostics(e)}))},getGlobalDiagnostics:function(e){return w((function(t){return t.getGlobalDiagnostics(e)}))},getConfigFileParsingDiagnostics:function(){return w((function(e){return e.getConfigFileParsingDiagnostics()}))},getSyntacticDiagnostics:function(e,t){return w((function(r){return r.getSyntacticDiagnostics(e,t)}))},getAllDependencies:function(e){return w((function(t){return t.getAllDependencies(e)}))},getSemanticDiagnostics:function(e,t){return w((function(r){return r.getSemanticDiagnostics(e,t)}))},getSemanticDiagnosticsOfNextAffectedFile:function(e,t){return D((function(r){return r.getSemanticDiagnosticsOfNextAffectedFile&&r.getSemanticDiagnosticsOfNextAffectedFile(e,t)}))},emit:function(e,t,r,i,a){return e||i?D((function(n){return n.emit(e,t,r,i,a)})):(q(n.SemanticDiagnostics,r),E===n.EmitBuildInfo?L(t,r):E===n.Emit?M(t,r,a):void 0)},done:S}:{kind:s,project:d,projectPath:p,buildOrder:h,getCompilerOptions:function(){return m.options},getCurrentDirectory:function(){return u.currentDirectory},emit:function(e,t){return E!==n.EmitBundle?x:U(e,t)},done:S};function S(e,t,r){return q(n.Done,e,t,r),C(u,p)}function D(e){return q(n.CreateProgram),b&&e(b)}function w(t){return D(t)||e.emptyArray}function T(){if(e.Debug.assert(void 0===b),u.options.dry)return Z(u,e.Diagnostics.A_non_dry_build_would_build_project_0,d),k=t.Success,void(E=n.QueueReferencingProjects);if(u.options.verbose&&Z(u,e.Diagnostics.Building_project_0,d),0===m.fileNames.length)return re(u,p,e.getConfigFileParsingDiagnostics(m)),k=t.None,void(E=n.QueueReferencingProjects);var r=u.host,i=u.compilerHost;u.projectCompilerOptions=m.options,function(t,r,n){if(!t.moduleResolutionCache)return;var i=t.moduleResolutionCache,a=g(t,r);if(0===i.directoryToModuleNameMap.redirectsMap.size)e.Debug.assert(0===i.moduleNameToDirectoryMap.redirectsMap.size),i.directoryToModuleNameMap.redirectsMap.set(a,i.directoryToModuleNameMap.ownMap),i.moduleNameToDirectoryMap.redirectsMap.set(a,i.moduleNameToDirectoryMap.ownMap);else{e.Debug.assert(i.moduleNameToDirectoryMap.redirectsMap.size>0);var o={sourceFile:n.options.configFile,commandLine:n};i.directoryToModuleNameMap.setOwnMap(i.directoryToModuleNameMap.getOrCreateMapOfCacheRedirects(o)),i.moduleNameToDirectoryMap.setOwnMap(i.moduleNameToDirectoryMap.getOrCreateMapOfCacheRedirects(o))}i.directoryToModuleNameMap.setOwnOptions(n.options),i.moduleNameToDirectoryMap.setOwnOptions(n.options)}(u,d,m),b=r.createProgram(m.fileNames,m.options,i,function(t,r,n){var i=t.options,a=t.builderPrograms,o=t.compilerHost;if(i.force)return;var s=a.get(r);return s||e.readBuilderProgram(n.options,o)}(u,p,m),e.getConfigFileParsingDiagnostics(m),m.projectReferences),u.watch&&u.builderPrograms.set(p,b),E++}function A(e,t,r){var n;e.length?(n=R(u,p,b,m,e,t,r),k=n.buildResult,E=n.step):E++}function P(r){e.Debug.assertIsDefined(b),A(i(i(i(i([],b.getConfigFileParsingDiagnostics()),b.getOptionsDiagnostics(r)),b.getGlobalDiagnostics(r)),b.getSyntacticDiagnostics(void 0,r)),t.SyntaxErrors,"Syntactic")}function I(r){A(e.Debug.checkDefined(b).getSemanticDiagnostics(void 0,r),t.TypeErrors,"Semantic")}function M(r,i,o){var s,d;e.Debug.assertIsDefined(b),e.Debug.assert(E===n.Emit),b.backupState();var f=[],_=e.emitFilesAndReportErrors(b,(function(e){return(d||(d=[])).push(e)}),void 0,void 0,(function(e,t,r){return f.push({name:e,text:t,writeByteOrderMark:r})}),i,!1,o).emitResult;if(d)return b.restoreState(),s=R(u,p,b,m,d,t.DeclarationEmitErrors,"Declaration file"),k=s.buildResult,E=s.step,{emitSkipped:!0,diagnostics:_.diagnostics};var h=u.host,y=u.compilerHost,v=t.DeclarationOutputUnchanged,x=a,S=!1,D=e.createDiagnosticCollection(),w=new e.Map;return f.forEach((function(n){var i,a=n.name,o=n.text,s=n.writeByteOrderMark;!S&&l(a)&&(h.fileExists(a)&&u.readFileWithCache(a)===o?i=h.getModifiedTime(a):(v&=~t.DeclarationOutputUnchanged,S=!0)),w.set(g(u,a),a),e.writeFile(r?{writeFile:r}:y,D,a,o,s),void 0!==i&&(x=c(i,x))})),B(D,w,x,S,f.length?f[0].name:e.getFirstProjectOutput(m,!h.useCaseSensitiveFileNames()),v),_}function L(r,a){e.Debug.assertIsDefined(b),e.Debug.assert(E===n.EmitBuildInfo);var o=b.emitBuildInfo(r,a);return o.diagnostics.length&&(te(u,o.diagnostics),u.diagnostics.set(p,i(i([],u.diagnostics.get(p)),o.diagnostics)),k=t.EmitErrors&k),o.emittedFiles&&u.write&&o.emittedFiles.forEach((function(e){return F(u,m,e)})),O(u,b,m),E=n.QueueReferencingProjects,o}function B(r,i,a,s,c,l){var d,f=r.getDiagnostics();if(f.length)return d=R(u,p,b,m,f,t.EmitErrors,"Emit"),k=d.buildResult,E=d.step,f;u.write&&i.forEach((function(e){return F(u,m,e)}));var g=j(u,m,a,e.Diagnostics.Updating_unchanged_output_timestamps_of_project_0,i);return u.diagnostics.delete(p),u.projectStatus.set(p,{type:e.UpToDateStatusType.UpToDate,newestDeclarationFileContentChangedTime:s?o:g,oldestOutputFileName:c}),O(u,b,m),E=n.QueueReferencingProjects,k=l,f}function U(i,o){if(e.Debug.assert(s===r.UpdateBundle),u.options.dry)return Z(u,e.Diagnostics.A_non_dry_build_would_update_output_of_project_0,d),k=t.Success,void(E=n.QueueReferencingProjects);u.options.verbose&&Z(u,e.Diagnostics.Updating_output_of_project_0,d);var c=u.compilerHost;u.projectCompilerOptions=m.options;var l=e.emitUsingBuildInfo(m,c,(function(e){var t=v(u,e.path);return y(u,t,_(u,t))}),o);if(e.isString(l))return Z(u,e.Diagnostics.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1,d,Q(u,l)),E=n.BuildInvalidatedProjectOfBundle,x=N(r.Build,u,d,p,f,m,h);e.Debug.assert(!!l.length);var b=e.createDiagnosticCollection(),S=new e.Map;return l.forEach((function(t){var r=t.name,n=t.text,a=t.writeByteOrderMark;S.set(g(u,r),r),e.writeFile(i?{writeFile:i}:c,b,r,n,a)})),{emitSkipped:!1,diagnostics:B(b,S,a,!1,l[0].name,t.DeclarationOutputUnchanged)}}function q(t,r,i,a){for(;E<=t&&E<n.Done;){var o=E;switch(E){case n.CreateProgram:T();break;case n.SyntaxDiagnostics:P(r);break;case n.SemanticDiagnostics:I(r);break;case n.Emit:M(i,r,a);break;case n.EmitBuildInfo:L(i,r);break;case n.EmitBundle:U(i,a);break;case n.BuildInvalidatedProjectOfBundle:e.Debug.checkDefined(x).done(r),E=n.Done;break;case n.QueueReferencingProjects:z(u,d,p,f,m,h,e.Debug.checkDefined(k)),E++;break;case n.Done:default:e.assertType(E)}e.Debug.assert(E>o)}}}function P(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 I(t,n,i){if(t.projectPendingBuild.size&&!u(n)){if(t.currentInvalidatedProject)return e.arrayIsEqualTo(t.currentInvalidatedProject.buildOrder,n)?t.currentInvalidatedProject:void 0;for(var a=t.options,o=t.projectPendingBuild,s=0;s<n.length;s++){var c=n[s],l=_(t,c),d=t.projectPendingBuild.get(l);if(void 0!==d){i&&(i=!1,ae(t,n));var p=y(t,c,l);if(p){d===e.ConfigFileProgramReloadLevel.Full?(W(t,c,l,p),G(t,l,p),$(t,c,l,p),Y(t,c,l,p)):d===e.ConfigFileProgramReloadLevel.Partial&&(p.fileNames=e.getFileNamesFromConfigSpecs(p.options.configFile.configFileSpecs,e.getDirectoryPath(c),p.options,t.parseConfigFileHost),e.updateErrorForNoInputFiles(p.fileNames,c,p.options.configFile.configFileSpecs,p.errors,e.canJsonReportNoInputFiles(p.raw)),Y(t,c,l,p));var f=L(t,p,l);if(oe(t,c,f),!a.force){if(f.type===e.UpToDateStatusType.UpToDate){re(t,l,e.getConfigFileParsingDiagnostics(p)),o.delete(l),a.dry&&Z(t,e.Diagnostics.Project_0_is_up_to_date,c);continue}if(f.type===e.UpToDateStatusType.UpToDateWithUpstreamTypes)return re(t,l,e.getConfigFileParsingDiagnostics(p)),A(t,c,l,p,n)}if(f.type!==e.UpToDateStatusType.UpstreamBlocked){if(f.type!==e.UpToDateStatusType.ContainerOnly)return N(P(t,f,p)?r.Build:r.UpdateBundle,t,c,l,s,p,n);re(t,l,e.getConfigFileParsingDiagnostics(p)),o.delete(l)}else re(t,l,e.getConfigFileParsingDiagnostics(p)),o.delete(l),a.verbose&&Z(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)}else ne(t,l),o.delete(l)}}}}function F(e,t,r){var n=e.write;n&&t.options.listEmittedFiles&&n("TSFILE: "+r)}function O(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,i,a,o,s,c,l){var u=!(c&t.SyntaxErrors)&&a&&!e.outFile(a.getCompilerOptions());return re(r,i,s),r.projectStatus.set(i,{type:e.UpToDateStatusType.Unbuildable,reason:l+" errors"}),u?{buildResult:c,step:n.EmitBuildInfo}:(O(r,a,o),{buildResult:c,step:n.QueueReferencingProjects})}function M(t,r,n,i){if(n<(t.host.getModifiedTime(r)||e.missingFileModifiedTime))return{type:e.UpToDateStatusType.OutOfDateWithSelf,outOfDateOutputFileName:i,newerInputFileName:r}}function L(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 s=function(t,r,n){for(var i=void 0,s=a,u=t.host,d=0,p=r.fileNames;d<p.length;d++){var f=p[d];if(!u.fileExists(f))return{type:e.UpToDateStatusType.Unbuildable,reason:f+" does not exist"};var m=u.getModifiedTime(f)||e.missingFileModifiedTime;m>s&&(i=f,s=m)}if(!r.fileNames.length&&!e.canJsonReportNoInputFiles(r.raw))return{type:e.UpToDateStatusType.ContainerOnly};for(var g,h=e.getAllProjectOutputs(r,!u.useCaseSensitiveFileNames()),v="(none)",b=o,k="(none)",x=a,E=a,S=!1,D=0,w=h;D<w.length;D++){var T=w[D];if(!u.fileExists(T)){g=T;break}var C=u.getModifiedTime(T)||e.missingFileModifiedTime;if(C<b&&(b=C,v=T),C<s){S=!0;break}C>x&&(x=C,k=T),l(T)&&(E=c(E,u.getModifiedTime(T)||e.missingFileModifiedTime))}var A,N=!1,P=!1;if(r.projectReferences){t.projectStatus.set(n,{type:e.UpToDateStatusType.ComputingUpstream});for(var I=0,F=r.projectReferences;I<F.length;I++){var O=F[I];P=P||!!O.prepend;var R=e.resolveProjectReferencePath(O),j=_(t,R),B=L(t,y(t,R,j),j);if(B.type!==e.UpToDateStatusType.ComputingUpstream&&B.type!==e.UpToDateStatusType.ContainerOnly){if(B.type===e.UpToDateStatusType.Unbuildable||B.type===e.UpToDateStatusType.UpstreamBlocked)return{type:e.UpToDateStatusType.UpstreamBlocked,upstreamProjectName:O.path,upstreamProjectBlocked:B.type===e.UpToDateStatusType.UpstreamBlocked};if(B.type!==e.UpToDateStatusType.UpToDate)return{type:e.UpToDateStatusType.UpstreamOutOfDate,upstreamProjectName:O.path};if(!g){if(B.newestInputFileTime&&B.newestInputFileTime<=b)continue;if(B.newestDeclarationFileContentChangedTime&&B.newestDeclarationFileContentChangedTime<=b){N=!0,A=O.path;continue}return e.Debug.assert(void 0!==v,"Should have an oldest output filename here"),{type:e.UpToDateStatusType.OutOfDateWithUpstream,outOfDateOutputFileName:v,newerProjectName:O.path}}}}}if(void 0!==g)return{type:e.UpToDateStatusType.OutputMissing,missingOutputFileName:g};if(S)return{type:e.UpToDateStatusType.OutOfDateWithSelf,outOfDateOutputFileName:v,newerInputFileName:i};var z=M(t,r.options.configFilePath,b,v);if(z)return z;var U=e.forEach(r.options.configFile.extendedSourceFiles||e.emptyArray,(function(e){return M(t,e,b,v)}));if(U)return U;if(!t.buildInfoChecked.has(n)){t.buildInfoChecked.set(n,!0);var q=e.getTsBuildInfoEmitOutputFilePath(r.options);if(q){var J=t.readFileWithCache(q),V=J&&e.getBuildInfo(J);if(V&&(V.bundle||V.program)&&V.version!==e.version)return{type:e.UpToDateStatusType.TsVersionOutputOfDate,version:V.version}}}return P&&N?{type:e.UpToDateStatusType.OutOfDateWithPrepend,outOfDateOutputFileName:v,newerProjectName:A}:{type:N?e.UpToDateStatusType.UpToDateWithUpstreamTypes:e.UpToDateStatusType.UpToDate,newestDeclarationFileContentChangedTime:E,newestInputFileTime:s,newestOutputFileTime:x,newestInputFileName:i,newestOutputFileName:k,oldestOutputFileName:v}}(t,r,n);return t.projectStatus.set(n,s),s}function j(t,r,n,i,a){var o=t.host,s=e.getAllProjectOutputs(r,!o.useCaseSensitiveFileNames());if(!a||s.length!==a.size)for(var u=!!t.options.verbose,d=o.now?o.now():new Date,p=0,f=s;p<f.length;p++){var m=f[p];a&&a.has(g(t,m))||(u&&(u=!1,Z(t,i,r.options.configFilePath)),l(m)&&(n=c(n,o.getModifiedTime(m)||e.missingFileModifiedTime)),o.setModifiedTime(m,d))}return n}function B(t,r,n){if(t.options.dry)return Z(t,e.Diagnostics.A_non_dry_build_would_update_timestamps_for_output_of_project_0,r.options.configFilePath);var i=j(t,r,a,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 z(r,n,i,a,o,s,c){if(!(c&t.AnyErrors)&&o.options.composite)for(var l=a+1;l<s.length;l++){var u=s[l],d=_(r,u);if(!r.projectPendingBuild.has(d)){var p=y(r,u,d);if(p&&p.projectReferences)for(var f=0,m=p.projectReferences;f<m.length;f++){var g=m[f];if(_(r,v(r,g.path))===i){var h=r.projectStatus.get(d);if(h)switch(h.type){case e.UpToDateStatusType.UpToDate:if(c&t.DeclarationOutputUnchanged){g.prepend?r.projectStatus.set(d,{type:e.UpToDateStatusType.OutOfDateWithPrepend,outOfDateOutputFileName:h.oldestOutputFileName,newerProjectName:n}):h.type=e.UpToDateStatusType.UpToDateWithUpstreamTypes;break}case e.UpToDateStatusType.UpToDateWithUpstreamTypes:case e.UpToDateStatusType.OutOfDateWithPrepend:c&t.DeclarationOutputUnchanged||r.projectStatus.set(d,{type:e.UpToDateStatusType.OutOfDateWithUpstream,outOfDateOutputFileName:h.type===e.UpToDateStatusType.OutOfDateWithPrepend?h.outOfDateOutputFileName:h.oldestOutputFileName,newerProjectName:n});break;case e.UpToDateStatusType.UpstreamBlocked:_(r,v(r,h.upstreamProjectName))===i&&D(r,d)}w(r,d,e.ConfigFileProgramReloadLevel.None);break}}}}}function U(t,r,n,i){var a=x(t,r,i);if(!a)return e.ExitStatus.InvalidProject_OutputsSkipped;T(t,n);for(var o=!0,s=0;;){var c=I(t,a,o);if(!c)break;o=!1,c.done(n),t.diagnostics.has(c.projectPath)||s++}return S(t),ie(t,a),function(e,t){if(!e.watchAllProjectsPending)return;e.watchAllProjectsPending=!1;for(var r=0,n=d(t);r<n.length;r++){var i=n[r],a=_(e,i),o=y(e,i,a);W(e,i,a,o),G(e,a,o),o&&($(e,i,a,o),Y(e,i,a,o))}}(t,a),u(a)?e.ExitStatus.ProjectReferenceCycle_OutputsSkipped:a.some((function(e){return t.diagnostics.has(_(t,e))}))?s?e.ExitStatus.DiagnosticsPresent_OutputsGenerated:e.ExitStatus.DiagnosticsPresent_OutputsSkipped:e.ExitStatus.Success}function q(t,r,n){var i=x(t,r,n);if(!i)return e.ExitStatus.InvalidProject_OutputsSkipped;if(u(i))return te(t,i.circularDiagnostics),e.ExitStatus.ProjectReferenceCycle_OutputsSkipped;for(var a=t.options,o=t.host,s=a.dry?[]:void 0,c=0,l=i;c<l.length;c++){var d=l[c],p=_(t,d),f=y(t,d,p);if(void 0!==f)for(var m=0,g=e.getAllProjectOutputs(f,!o.useCaseSensitiveFileNames());m<g.length;m++){var h=g[m];o.fileExists(h)&&(s?s.push(h):(o.deleteFile(h),J(t,p,e.ConfigFileProgramReloadLevel.None)))}else ne(t,p)}return s&&Z(t,e.Diagnostics.A_non_dry_build_would_delete_the_following_files_Colon_0,s.map((function(e){return"\r\n * "+e})).join("")),e.ExitStatus.Success}function J(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,D(t,r),w(t,r,n),E(t)}function V(e,t,r){e.reportFileChangeDetected=!0,J(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(K,250,e))}function K(t){t.timerToBuildInvalidatedProject=void 0,t.reportFileChangeDetected&&(t.reportFileChangeDetected=!1,t.projectErrorsReported.clear(),ee(t,e.Diagnostics.File_change_detected_Starting_incremental_compilation));var r=k(t),n=I(t,r,!1);n&&(n.done(),t.projectPendingBuild.size)?t.watch&&!t.timerToBuildInvalidatedProject&&H(t):(S(t),ie(t,r))}function W(t,r,n,i){t.watch&&!t.allWatchedConfigFiles.has(n)&&t.allWatchedConfigFiles.set(n,t.watchFile(r,(function(){V(t,n,e.ConfigFileProgramReloadLevel.Full)}),e.PollingInterval.High,null==i?void 0:i.watchOptions,e.WatchType.ConfigFile,r))}function G(t,r,n){e.updateSharedExtendedConfigFileWatcher(r,n,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 V(t,r,e.ConfigFileProgramReloadLevel.Full)}))}),e.PollingInterval.High,null==n?void 0:n.watchOptions,e.WatchType.ExtendedConfigFile)}),(function(e){return g(t,e)}))}function $(t,r,n,i){t.watch&&e.updateWatchingWildcardDirectories(s(t.allWatchedWildcardDirectories,n),new e.Map(e.getEntries(i.wildcardDirectories)),(function(a,o){return t.watchDirectory(a,(function(o){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),useCaseSensitiveFileNames:t.parseConfigFileHost.useCaseSensitiveFileNames,writeLog:function(e){return t.writeLog(e)}})||V(t,n,e.ConfigFileProgramReloadLevel.Partial)}),o,null==i?void 0:i.watchOptions,e.WatchType.WildcardDirectory,r)}))}function Y(t,r,n,i){t.watch&&e.mutateMap(s(t.allWatchedInputFiles,n),e.arrayToMap(i.fileNames,(function(e){return g(t,e)})),{createNewValue:function(a,o){return t.watchFile(o,(function(){return V(t,n,e.ConfigFileProgramReloadLevel.None)}),e.PollingInterval.Low,null==i?void 0:i.watchOptions,e.WatchType.SourceFile,r)},onDeleteValue:e.closeFileWatcher})}function X(t,r,n,i,a){var o=m(t,r,n,i,a);return{build:function(e,t){return U(o,e,t)},clean:function(e){return q(o,e)},buildReferences:function(e,t){return U(o,e,t,!0)},cleanReferences:function(e){return q(o,e,!0)},getNextInvalidatedProject:function(e){return T(o,e),I(o,k(o),!1)},getBuildOrder:function(){return k(o)},getUpToDateStatusOfProject:function(e){var t=v(o,e),r=_(o,t);return L(o,y(o,t,r),r)},invalidateProject:function(t,r){return J(o,t,r||e.ConfigFileProgramReloadLevel.None)},buildNextInvalidatedProject:function(){return K(o)},getAllParsedConfigs:function(){return e.arrayFrom(e.mapDefinedIterator(o.configFileCache.values(),(function(e){return h(e)?e:void 0})))},close:function(){return function(t){e.clearMap(t.allWatchedConfigFiles,e.closeFileWatcher),e.clearMap(t.allWatchedExtendedConfigFiles,(function(e){e.projects.clear(),e.close()})),e.clearMap(t.allWatchedWildcardDirectories,(function(t){return e.clearMap(t,e.closeFileWatcherOf)})),e.clearMap(t.allWatchedInputFiles,(function(t){return e.clearMap(t,e.closeFileWatcher)}))}(o)}}}function Q(t,r){return e.convertToRelativePath(r,t.currentDirectory,(function(e){return t.getCanonicalFileName(e)}))}function Z(t,r){for(var n=[],a=2;a<arguments.length;a++)n[a-2]=arguments[a];t.host.reportSolutionBuilderStatus(e.createCompilerDiagnostic.apply(void 0,i([r],n)))}function ee(t,r){for(var n,a,o=[],s=2;s<arguments.length;s++)o[s-2]=arguments[s];null===(a=(n=t.hostWithWatch).onWatchStatusChange)||void 0===a||a.call(n,e.createCompilerDiagnostic.apply(void 0,i([r],o)),t.host.getNewLine(),t.baseCompilerOptions)}function te(e,t){var r=e.host;t.forEach((function(e){return r.reportDiagnostic(e)}))}function re(e,t,r){te(e,r),e.projectErrorsReported.set(t,!0),r.length&&e.diagnostics.set(t,r)}function ne(e,t){re(e,t,[e.configFileCache.get(t)])}function ie(t,r){if(t.needsSummary){t.needsSummary=!1;var n=t.watch||!!t.host.reportErrorSummary,i=t.diagnostics,a=0;u(r)?(ae(t,r.buildOrder),te(t,r.circularDiagnostics),n&&(a+=e.getErrorCountForSummary(r.circularDiagnostics))):(r.forEach((function(r){var n=_(t,r);t.projectErrorsReported.has(n)||te(t,i.get(n)||e.emptyArray)})),n&&i.forEach((function(t){return a+=e.getErrorCountForSummary(t)}))),t.watch?ee(t,e.getWatchErrorSummaryDiagnosticMessage(a),a):t.host.reportErrorSummary&&t.host.reportErrorSummary(a)}}function ae(t,r){t.options.verbose&&Z(t,e.Diagnostics.Projects_in_this_build_Colon_0,r.map((function(e){return"\r\n * "+Q(t,e)})).join(""))}function oe(t,r,n){t.options.verbose&&function(t,r,n){switch(n.type){case e.UpToDateStatusType.OutOfDateWithSelf:return Z(t,e.Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2,Q(t,r),Q(t,n.outOfDateOutputFileName),Q(t,n.newerInputFileName));case e.UpToDateStatusType.OutOfDateWithUpstream:return Z(t,e.Diagnostics.Project_0_is_out_of_date_because_oldest_output_1_is_older_than_newest_input_2,Q(t,r),Q(t,n.outOfDateOutputFileName),Q(t,n.newerProjectName));case e.UpToDateStatusType.OutputMissing:return Z(t,e.Diagnostics.Project_0_is_out_of_date_because_output_file_1_does_not_exist,Q(t,r),Q(t,n.missingOutputFileName));case e.UpToDateStatusType.UpToDate:if(void 0!==n.newestInputFileTime)return Z(t,e.Diagnostics.Project_0_is_up_to_date_because_newest_input_1_is_older_than_oldest_output_2,Q(t,r),Q(t,n.newestInputFileName||""),Q(t,n.oldestOutputFileName||""));break;case e.UpToDateStatusType.OutOfDateWithPrepend:return Z(t,e.Diagnostics.Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed,Q(t,r),Q(t,n.newerProjectName));case e.UpToDateStatusType.UpToDateWithUpstreamTypes:return Z(t,e.Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,Q(t,r));case e.UpToDateStatusType.UpstreamOutOfDate:return Z(t,e.Diagnostics.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date,Q(t,r),Q(t,n.upstreamProjectName));case e.UpToDateStatusType.UpstreamBlocked:return Z(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,Q(t,r),Q(t,n.upstreamProjectName));case e.UpToDateStatusType.Unbuildable:return Z(t,e.Diagnostics.Failed_to_parse_file_0_Colon_1,Q(t,r),n.reason);case e.UpToDateStatusType.TsVersionOutputOfDate:return Z(t,e.Diagnostics.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,Q(t,r),n.version,e.version);case e.UpToDateStatusType.ContainerOnly:case e.UpToDateStatusType.ComputingUpstream:break;default:e.assertType(n)}}(t,r,n)}!function(e){e[e.None=0]="None",e[e.Success=1]="Success",e[e.DeclarationOutputUnchanged=2]="DeclarationOutputUnchanged",e[e.ConfigFileErrors=4]="ConfigFileErrors",e[e.SyntaxErrors=8]="SyntaxErrors",e[e.TypeErrors=16]="TypeErrors",e[e.DeclarationEmitErrors=32]="DeclarationEmitErrors",e[e.EmitErrors=64]="EmitErrors",e[e.AnyErrors=124]="AnyErrors"}(t||(t={})),e.isCircularBuildOrder=u,e.getBuildOrderFromAnyBuildOrder=d,e.createBuilderStatusReporter=p,e.createSolutionBuilderHost=function(t,r,n,i,a){void 0===t&&(t=e.sys);var o=f(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=f(t,r,n,i),s=e.createWatchHost(t,a);return e.copyProperties(o,s),o},e.createSolutionBuilder=function(e,t,r){return X(!1,e,t,r)},e.createSolutionBuilderWithWatch=function(e,t,r,n){return X(!0,e,t,r,n)},function(e){e[e.Build=0]="Build",e[e.UpdateBundle=1]="UpdateBundle",e[e.UpdateOutputFileStamps=2]="UpdateOutputFileStamps"}(r=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"}(n||(n={}))}(d||(d={})),function(e){!function(t){t.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",function(e){e.GlobalCacheLocation="--globalTypingsCacheLocation",e.LogFile="--logFile",e.EnableTelemetry="--enableTelemetry",e.TypingSafeListLocation="--typingSafeListLocation",e.TypesMapLocation="--typesMapLocation",e.NpmLocation="--npmLocation",e.ValidateDefaultNpmLocation="--validateDefaultNpmLocation"}(t.Arguments||(t.Arguments={})),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 e.padLeft(t.getHours().toString(),2,"0")+":"+e.padLeft(t.getMinutes().toString(),2,"0")+":"+e.padLeft(t.getSeconds().toString(),2,"0")+"."+e.padLeft(t.getMilliseconds().toString(),3,"0")}}(e.server||(e.server={}))}(d||(d={})),function(e){!function(t){function r(t,r){return new e.Version(e.getProperty(r,"ts"+e.versionMajorMinor)||e.getProperty(r,"latest")).compareTo(t.version)<=0}function n(e){return t.nodeCoreModules.has(e)?"node":e}t.isTypingUpToDate=r,t.nodeCoreModuleList=["assert","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","dns","domain","events","fs","http","https","http2","inspector","net","os","path","perf_hooks","process","punycode","querystring","readline","repl","stream","string_decoder","timers","tls","tty","url","util","v8","vm","zlib"],t.nodeCoreModules=new e.Set(t.nodeCoreModuleList),t.nonRelativeModuleNameForTypingCache=n,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,i,a,o,s,c,l,u,d){if(!l||!l.enable)return{cachedTypingPaths:[],newTypingNames:[],filesToWatch:[]};var p=new e.Map;a=e.mapDefined(a,(function(t){var r=e.normalizePath(t);if(e.hasJSFileExtension(r))return r}));var f=[];l.include&&E(l.include,"Explicitly included types");var m=l.exclude||[],g=new e.Set(a.map(e.getDirectoryPath));g.add(o),g.forEach((function(t){S(e.combinePaths(t,"package.json"),f),S(e.combinePaths(t,"bower.json"),f),D(e.combinePaths(t,"bower_components"),f),D(e.combinePaths(t,"node_modules"),f)})),l.disableFilenameBasedTypeAcquisition||function(t){var r=e.mapDefined(t,(function(t){if(e.hasJSFileExtension(t)){var r=e.removeFileExtension(e.getBaseFileName(t.toLowerCase())),n=e.removeMinAndVersionNumbers(r);return s.get(n)}}));r.length&&E(r,"Inferred typings from file names");var n=e.some(t,(function(t){return e.fileExtensionIs(t,".jsx")}));n&&(i&&i("Inferred 'react' typings due to presence of '.jsx' extension"),x("react"))}(a),u&&E(e.deduplicate(u.map(n),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive),"Inferred typings from unresolved imports"),c.forEach((function(e,t){var n=d.get(t);p.has(t)&&void 0===p.get(t)&&void 0!==n&&r(e,n)&&p.set(t,e.typingLocation)}));for(var _=0,h=m;_<h.length;_++){var y=h[_];p.delete(y)&&i&&i("Typing for "+y+" is in exclude list, will be ignored.")}var v=[],b=[];p.forEach((function(e,t){void 0!==e?b.push(e):v.push(t)}));var k={cachedTypingPaths:b,newTypingNames:v,filesToWatch:f};return i&&i("Result: "+JSON.stringify(k)),k;function x(e){p.has(e)||p.set(e,void 0)}function E(t,r){i&&i(r+": "+JSON.stringify(t)),e.forEach(t,x)}function S(r,n){if(t.fileExists(r)){n.push(r);var i=e.readConfigFile(r,(function(e){return t.readFile(e)})).config;E(e.flatMap([i.dependencies,i.devDependencies,i.optionalDependencies,i.peerDependencies],e.getOwnKeys),"Typing names in '"+r+"' dependencies")}}function D(r,n){if(n.push(r),t.directoryExists(r)){var a=t.readDirectory(r,[".json"],void 0,void 0,2);i&&i("Searching for typing names in "+r+"; all files: "+JSON.stringify(a));for(var o=[],s=0,c=a;s<c.length;s++){var l=c[s],u=e.normalizePath(l),d=e.getBaseFileName(u);if("package.json"===d||"bower.json"===d){var f=e.readConfigFile(u,(function(e){return t.readFile(e)})).config;if(("package.json"!==d||!f._requiredBy||0!==e.filter(f._requiredBy,(function(e){return"#"===e[0]||"/"===e})).length)&&f.name){var m=f.types||f.typings;if(m){var g=e.getNormalizedAbsolutePath(m,e.getDirectoryPath(u));i&&i(" Package '"+f.name+"' provides its own types."),p.set(f.name,g)}else o.push(f.name)}}}E(o," Found package names")}}},function(e){e[e.Ok=0]="Ok",e[e.EmptyName=1]="EmptyName",e[e.NameTooLong=2]="NameTooLong",e[e.NameStartsWithDot=3]="NameStartsWithDot",e[e.NameStartsWithUnderscore=4]="NameStartsWithUnderscore",e[e.NameContainsNonURISafeCharacters=5]="NameContainsNonURISafeCharacters"}(t.NameValidationResult||(t.NameValidationResult={}));var i=214;function a(e,t){if(!e)return 1;if(e.length>i)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=a(r[1],!1);if(0!==n)return{name:r[1],isScopeName:!0,result:n};var o=a(r[2],!1);return 0!==o?{name:r[2],isScopeName:!1,result:o}:0}}return encodeURIComponent(e)!==e?5:0}function o(t,r,n,a){var o=a?"Scope":"Package";switch(r){case 1:return"'"+t+"':: "+o+" name '"+n+"' cannot be empty";case 2:return"'"+t+"':: "+o+" name '"+n+"' should be less than "+i+" characters";case 3:return"'"+t+"':: "+o+" name '"+n+"' cannot start with '.'";case 4:return"'"+t+"':: "+o+" name '"+n+"' cannot start with '_'";case 5:return"'"+t+"':: "+o+" name '"+n+"' contains non URI safe characters";case 0:return e.Debug.fail();default:throw e.Debug.assertNever(r)}}t.validatePackageName=function(e){return a(e,!0)},t.renderPackageNameValidationFailure=function(e,t){return"object"==typeof e?o(t,e.result,e.name,e.isScopeName):o(t,e,t,!1)}}(e.JsTyping||(e.JsTyping={}))}(d||(d={})),function(e){var t,r;function n(e){return{indentSize:4,tabSize:4,newLineCharacter:e||"\n",convertTabsToSpaces:!0,indentStyle:t.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:r.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={})),function(e){e[e.Dependencies=1]="Dependencies",e[e.DevDependencies=2]="DevDependencies",e[e.PeerDependencies=4]="PeerDependencies",e[e.OptionalDependencies=8]="OptionalDependencies",e[e.All=15]="All"}(e.PackageJsonDependencyGroup||(e.PackageJsonDependencyGroup={})),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.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"}(t=e.IndentStyle||(e.IndentStyle={})),function(e){e.Ignore="ignore",e.Insert="insert",e.Remove="remove"}(r=e.SemicolonPreference||(e.SemicolonPreference={})),e.getDefaultFormatCodeSettings=n,e.testFormatSettings=n("\n"),function(e){e[e.aliasName=0]="aliasName",e[e.className=1]="className",e[e.enumName=2]="enumName",e[e.fieldName=3]="fieldName",e[e.interfaceName=4]="interfaceName",e[e.keyword=5]="keyword",e[e.lineBreak=6]="lineBreak",e[e.numericLiteral=7]="numericLiteral",e[e.stringLiteral=8]="stringLiteral",e[e.localName=9]="localName",e[e.methodName=10]="methodName",e[e.moduleName=11]="moduleName",e[e.operator=12]="operator",e[e.parameterName=13]="parameterName",e[e.propertyName=14]="propertyName",e[e.punctuation=15]="punctuation",e[e.space=16]="space",e[e.text=17]="text",e[e.typeParameterName=18]="typeParameterName",e[e.enumMemberName=19]="enumMemberName",e[e.functionName=20]="functionName",e[e.regularExpressionLiteral=21]="regularExpressionLiteral"}(e.SymbolDisplayPartKind||(e.SymbolDisplayPartKind={})),function(e){e.Comment="comment",e.Region="region",e.Code="code",e.Imports="imports"}(e.OutliningSpanKind||(e.OutliningSpanKind={})),function(e){e[e.JavaScript=0]="JavaScript",e[e.SourceMap=1]="SourceMap",e[e.Declaration=2]="Declaration"}(e.OutputFileType||(e.OutputFileType={})),function(e){e[e.None=0]="None",e[e.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",e[e.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",e[e.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",e[e.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",e[e.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",e[e.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition"}(e.EndOfLineState||(e.EndOfLineState={})),function(e){e[e.Punctuation=0]="Punctuation",e[e.Keyword=1]="Keyword",e[e.Operator=2]="Operator",e[e.Comment=3]="Comment",e[e.Whitespace=4]="Whitespace",e[e.Identifier=5]="Identifier",e[e.NumberLiteral=6]="NumberLiteral",e[e.BigIntLiteral=7]="BigIntLiteral",e[e.StringLiteral=8]="StringLiteral",e[e.RegExpLiteral=9]="RegExpLiteral"}(e.TokenClass||(e.TokenClass={})),function(e){e.unknown="",e.warning="warning",e.keyword="keyword",e.scriptElement="script",e.moduleElement="module",e.classElement="class",e.localClassElement="local class",e.structElement="struct",e.interfaceElement="interface",e.typeElement="type",e.enumElement="enum",e.enumMemberElement="enum member",e.variableElement="var",e.localVariableElement="local var",e.functionElement="function",e.localFunctionElement="local function",e.memberFunctionElement="method",e.memberGetAccessorElement="getter",e.memberSetAccessorElement="setter",e.memberVariableElement="property",e.constructorImplementationElement="constructor",e.callSignatureElement="call",e.indexSignatureElement="index",e.constructSignatureElement="construct",e.parameterElement="parameter",e.typeParameterElement="type parameter",e.primitiveType="primitive type",e.label="label",e.alias="alias",e.constElement="const",e.letElement="let",e.directory="directory",e.externalModuleName="external module name",e.jsxAttribute="JSX attribute",e.string="string"}(e.ScriptElementKind||(e.ScriptElementKind={})),function(e){e.none="",e.publicMemberModifier="public",e.privateMemberModifier="private",e.protectedMemberModifier="protected",e.exportedModifier="export",e.ambientModifier="declare",e.staticModifier="static",e.abstractModifier="abstract",e.optionalModifier="optional",e.deprecatedModifier="deprecated",e.dtsModifier=".d.ts",e.tsModifier=".ts",e.tsxModifier=".tsx",e.jsModifier=".js",e.jsxModifier=".jsx",e.jsonModifier=".json",e.etsModifier=".ets",e.detsModifier=".d.ets"}(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={}))}(d||(d={})),function(e){function t(t){switch(t.kind){case 251:return e.isInJSFile(t)&&e.getJSDocEnumTag(t)?7:1;case 161:case 199:case 164:case 163:case 291:case 292:case 166:case 165:case 167:case 168:case 169:case 253:case 209:case 210:case 290:case 283:return 1;case 160:case 256:case 257:case 178:return 2;case 334:return void 0===t.name?3:2;case 294:case 254:case 255:return 3;case 259:return e.isAmbientModule(t)||1===e.getModuleInstanceState(t)?5:4;case 258:case 267:case 268:case 263:case 264:case 269:case 270:return 7;case 300:return 5}return 7}function r(t){for(;158===t.parent.kind;)t=t.parent;return e.isInternalModuleImportEqualsDeclaration(t.parent)&&t.parent.moduleReference===t}function n(e){return e.expression}function i(e){return e.tag}function o(e){return e.tagName}function s(t,r,n,i,a){var o=i?l(t):c(t);return a&&(o=e.skipOuterExpressions(o)),!!o&&!!o.parent&&r(o.parent)&&n(o.parent)===o}function c(e){return p(e)?e.parent:e}function l(e){return p(e)||f(e)?e.parent:e}function u(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 p(t){var r;return(null===(r=e.tryCast(t.parent,e.isPropertyAccessExpression))||void 0===r?void 0:r.name)===t}function f(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),function(e){e[e.None=0]="None",e[e.Value=1]="Value",e[e.Type=2]="Type",e[e.Namespace=4]="Namespace",e[e.All=7]="All"}(e.SemanticMeaning||(e.SemanticMeaning={})),e.getMeaningFromDeclaration=t,e.getMeaningFromLocation=function(n){return 300===(n=P(n)).kind?1:269===n.parent.kind||275===n.parent.kind||268===n.parent.kind||265===n.parent.kind||e.isImportEqualsDeclaration(n.parent)&&n===n.parent.name?7:r(n)?function(t){var r=158===t.kind?t:e.isQualifiedName(t.parent)&&t.parent.right===t?t.parent:void 0;return r&&263===r.parent.kind?7:4}(n):e.isDeclarationName(n)?t(n.parent):e.isEntityName(n)&&e.isJSDocNameReference(n.parent)?7:function(t){e.isRightSideOfQualifiedNameOrPropertyAccess(t)&&(t=t.parent);switch(t.kind){case 108:return!e.isExpressionNode(t);case 188:return!0}switch(t.parent.kind){case 174:return!0;case 196:return!t.parent.isTypeOf;case 225:return!e.isExpressionWithTypeArgumentsInClassExtendsClause(t.parent)}return!1}(n)?2:function(e){return function(e){var t=e,r=!0;if(158===t.parent.kind){for(;t.parent&&158===t.parent.kind;)t=t.parent;r=t.right===e}return 174===t.parent.kind&&!r}(e)||function(e){var t=e,r=!0;if(202===t.parent.kind){for(;t.parent&&202===t.parent.kind;)t=t.parent;r=t.name===e}if(!r&&225===t.parent.kind&&289===t.parent.parent.kind){var n=t.parent.parent.parent;return(254===n.kind||255===n.kind)&&117===t.parent.parent.token||256===n.kind&&94===t.parent.parent.token}return!1}(e)}(n)?4:e.isTypeParameterDeclaration(n.parent)?(e.Debug.assert(e.isJSDocTemplateTag(n.parent.parent)),2):e.isLiteralTypeNode(n.parent)?3:1},e.isInRightSideOfInternalImportEqualsDeclaration=r,e.isCallExpressionTarget=function(t,r,i){return void 0===r&&(r=!1),void 0===i&&(i=!1),s(t,e.isCallExpression,n,r,i)},e.isNewExpressionTarget=function(t,r,i){return void 0===r&&(r=!1),void 0===i&&(i=!1),s(t,e.isNewExpression,n,r,i)},e.isCallOrNewExpressionTarget=function(t,r,i){return void 0===r&&(r=!1),void 0===i&&(i=!1),s(t,e.isCallOrNewExpression,n,r,i)},e.isTaggedTemplateTag=function(t,r,n){return void 0===r&&(r=!1),void 0===n&&(n=!1),s(t,e.isTaggedTemplateExpression,i,r,n)},e.isDecoratorTarget=function(t,r,i){return void 0===r&&(r=!1),void 0===i&&(i=!1),s(t,e.isDecorator,n,r,i)},e.isJsxOpeningLikeElementTagName=function(t,r,n){return void 0===r&&(r=!1),void 0===n&&(n=!1),s(t,e.isJsxOpeningLikeElement,o,r,n)},e.climbPastPropertyAccess=c,e.climbPastPropertyOrElementAccess=l,e.getTargetLabel=function(e,t){for(;e;){if(247===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=u,e.isLabelOfLabeledStatement=d,e.isLabelName=function(e){return d(e)||u(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=p,e.isArgumentExpressionOfElementAccess=f,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 164:case 163:case 291:case 294:case 166:case 165:case 168:case 169:case 259:return e.getNameOfDeclaration(t.parent)===t;case 203:return t.parent.argumentExpression===t;case 159:return!0;case 192:return 190===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 300:case 166:case 165:case 253:case 209:case 168:case 169:case 254:case 255:case 256:case 258:case 259:return t}}},e.getNodeKind=function t(r){switch(r.kind){case 300:return e.isExternalModule(r)?"module":"script";case 259:return"module";case 254:case 223:return"class";case 255:return"struct";case 256:return"interface";case 257:case 327:case 334:return"type";case 258:return"enum";case 251:return c(r);case 199:return c(e.getRootDeclaration(r));case 210:case 253:case 209:return"function";case 168:return"getter";case 169:return"setter";case 166:case 165:return"method";case 291:var n=r.initializer;return e.isFunctionLike(n)?"method":"property";case 164:case 163:case 292:case 293:return"property";case 172:return"index";case 171:return"construct";case 170:return"call";case 167:return"constructor";case 160:return"type parameter";case 294:return"enum member";case 161:return e.hasSyntacticModifier(r,92)?"property":"parameter";case 263:case 268:case 273:case 266:case 272:return"alias";case 218: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 78:return e.isImportClause(r.parent)?"alias":"";case 269: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 78:return e.identifierIsThisKeyword(t)&&161===t.parent.kind;default:return!1}};var m=/^\/\/\/\s*</;function g(e,t){return h(e.pos,e.end,t)}function _(e,t){return e.pos<t&&t<e.end}function h(e,t,r){return e<=r.pos&&t>=r.end}function y(e,t,r,n){return Math.max(e,r)<Math.min(t,n)}function v(t,r){if(void 0===t||e.nodeIsMissing(t))return!1;switch(t.kind){case 254:case 255:case 256:case 258:case 201:case 197:case 178:case 232:case 260:case 261:case 267:case 271:return b(t,19,r);case 290:return v(t.block,r);case 205:if(!t.arguments)return!0;case 204:case 208:case 187:return b(t,21,r);case 175:case 176:return v(t.type,r);case 167:case 168:case 169:case 253:case 209:case 166:case 165:case 171:case 170:case 210:return t.body?v(t.body,r):t.type?v(t.type,r):k(t,21,r);case 259:return!!t.body&&v(t.body,r);case 236:return t.elseStatement?v(t.elseStatement,r):v(t.thenStatement,r);case 235:return v(t.expression,r)||k(t,26,r);case 200:case 198:case 203:case 159:case 180:return b(t,23,r);case 172:return t.type?v(t.type,r):k(t,23,r);case 287:case 288:return!1;case 239:case 240:case 241:case 238:return v(t.statement,r);case 237:return k(t,115,r)?b(t,21,r):v(t.statement,r);case 177:return v(t.exprName,r);case 213:case 212:case 214:case 221:case 222:return v(t.expression,r);case 206:return v(t.template,r);case 220:return v(e.lastOrUndefined(t.templateSpans),r);case 230:return e.nodeIsPresent(t.literal);case 270:case 264:return e.nodeIsPresent(t.moduleSpecifier);case 216:return v(t.operand,r);case 218:return v(t.right,r);case 219:return v(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 k(e,t,r){return!!x(e,t,r)}function x(t,r,n){return e.find(t.getChildren(n),(function(e){return e.kind===r}))}function E(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 S(e){return 88===e.kind}function D(e){return 83===e.kind}function w(e){return 98===e.kind}function T(t,r){if(!r)switch(t.kind){case 254:case 223:case 255:return function(t){if(e.isNamedDeclaration(t))return t.name;if(e.isClassDeclaration(t)||e.isStructDeclaration(t)){var r=e.find(t.modifiers,S);if(r)return r}if(e.isClassExpression(t)){var n=e.find(t.getChildren(),D);if(n)return n}}(t);case 253:case 209:return function(t){if(e.isNamedDeclaration(t))return t.name;if(e.isFunctionDeclaration(t)){var r=e.find(t.modifiers,S);if(r)return r}if(e.isFunctionExpression(t)){var n=e.find(t.getChildren(),w);if(n)return n}}(t)}if(e.isNamedDeclaration(t))return t.name}function C(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);if(!n)return;return n.name}if(e.isNamespaceImport(t.importClause.namedBindings))return t.importClause.namedBindings.name}}if(!r)return t.moduleSpecifier}function A(t,r){if(t.exportClause){if(e.isNamedExports(t.exportClause)){if(!e.singleOrUndefined(t.exportClause.elements))return;return t.exportClause.elements[0].name}if(e.isNamespaceExport(t.exportClause))return t.exportClause.name}if(!r)return t.moduleSpecifier}function N(t,r){var n=t.parent;if((e.isModifier(t)&&(r||88!==t.kind)?e.contains(n.modifiers,t):83===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):150===t.kind?e.isTypeAliasDeclaration(n):141===t.kind||140===t.kind?e.isModuleDeclaration(n):100===t.kind?e.isImportEqualsDeclaration(n):135===t.kind?e.isGetAccessorDeclaration(n):147===t.kind&&e.isSetAccessorDeclaration(n))&&(a=T(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(150===t.kind){if(e.isImportClause(n)&&n.isTypeOnly)if(a=C(n.parent,r))return a;if(e.isExportDeclaration(n)&&n.isTypeOnly)if(a=A(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=C(n,r)))return a;if(93===t.kind){if(e.isExportDeclaration(n))if(a=A(n,r))return a;if(e.isExportAssignment(n))return e.skipOuterExpressions(n.expression)}if(144===t.kind&&e.isExternalModuleReference(n))return n.expression;if(154===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){var a=function(e){if(1===e.types.length)return e.types[0].expression}(n);if(a)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(136===t.kind&&e.isInferTypeNode(n))return n.typeParameter.name;if(101===t.kind&&e.isTypeParameterDeclaration(n)&&e.isMappedTypeNode(n.parent))return n.name;if(139===t.kind&&e.isTypeOperatorNode(n)&&139===n.operator&&e.isTypeReferenceNode(n.type))return n.type.typeName;if(143===t.kind&&e.isTypeOperatorNode(n)&&143===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)||131===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)||157===t.kind&&e.isForOfStatement(n))return e.skipOuterExpressions(n.expression)}return t}function P(e){return N(e,!1)}function I(e,t,r){return O(e,t,!1,r,!1)}function F(e,t){return O(e,t,!0,void 0,!1)}function O(e,t,r,n,i){var a=e;e:for(;;){for(var o=0,s=a.getChildren(e);o<s.length;o++){var c=s[o];if((r?c.getFullStart():c.getStart(e,!0))>t)break;var l=c.getEnd();if(t<l||t===l&&(1===c.kind||i)){a=c;continue e}if(n&&l===t){var u=M(t,e,c);if(u&&n(u))return u}}return a}}function R(t,r,n){return function r(i){if(e.isToken(i)&&i.pos===t.end)return i;return e.firstDefined(i.getChildren(n),(function(e){return(e.pos<=t.pos&&e.end>t.end||e.pos===t.end)&&K(e,n)?r(e):void 0}))}(r)}function M(t,r,n,i){var a=function a(o){if(L(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 l=s[c];if(t<l.end){if(l.getStart(r,!i)>=t||!K(l,r)||z(l)){var u=B(s,c,r);return u&&j(u,r)}return a(l)}}e.Debug.assert(void 0!==n||300===o.kind||1===o.kind||e.isJSDocCommentContainingNode(o));var d=B(s,s.length,r);return d&&j(d,r)}(n||r);return e.Debug.assert(!(a&&z(a))),a}function L(t){return e.isToken(t)&&!z(t)}function j(e,t){if(L(e))return e;var r=e.getChildren(t);if(0===r.length)return e;var n=B(r,r.length,t);return n&&j(n,t)}function B(t,r,n){for(var i=r-1;i>=0;i--){if(z(t[i]))e.Debug.assert(i>0,"`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(K(t[i],n))return t[i]}}function z(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=M(s+1,n);if(c&&c.kind===r)return c}for(var l=t.kind,u=0;;){var d=M(t.getFullStart(),n);if(!d)return;if((t=d).kind===r){if(0===u)return t;u--}else t.kind===l&&u++}}}function q(e,t,r){return t?e.getNonNullableType():r?e.getNonOptionalType():e}function J(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 V(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=M(n.getFullStart(),r))&&28===n.kind&&(n=M(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 78:case 10:case 8:case 9:case 110:case 95:case 112:case 94:case 139:case 24:case 51:case 57:case 58:break;default:if(e.isTypeNode(n))break;return}n=M(n.getFullStart(),r)}}function H(t,r,n){return e.formatting.getRangeOfEnclosingComment(t,r,void 0,n)}function K(e,t){return 1===e.kind?!!e.jsDoc:0!==e.getWidth(t)}function W(e,t,r){var n=H(e,t,void 0);return!!n&&r===m.test(e.text.substring(n.pos,n.end))}function G(t,r,n){return e.createTextSpanFromBounds(t.getStart(r),(n||t).getEnd())}function $(t){if(!t.isUnterminated)return e.createTextSpanFromBounds(t.getStart()+1,t.getEnd()-1)}function Y(e,t){return{span:e,newText:t}}function X(e){return 150===e.kind}function Q(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,getGlobalTypingsCacheLocation:e.maybeBind(r,r.getGlobalTypingsCacheLocation),getSourceFiles:function(){return t.getSourceFiles()},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 Z(e,t){return a(a({},Q(e,t)),{getCommonSourceDirectory:function(){return e.getCommonSourceDirectory()}})}function ee(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?te(n,i):n)}function te(t,r){return e.factory.createStringLiteral(t,0===r)}function re(t,r){return e.isStringDoubleQuoted(t,r)?1:0}function ne(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?re(n,t):1}function ie(t){return"default"!==t.escapedName?t.escapedName:e.firstDefined(t.declarations,(function(t){var r=e.getNameOfDeclaration(t);return r&&78===r.kind?r.escapedText:void 0}))}function ae(t,r,n){return e.textSpanContainsPosition(t,r.getStart(n))&&r.getEnd()<=e.textSpanEnd(t)}function oe(e,t){return!!e&&!!t&&e.start===t.start&&e.length===t.length}function se(e){return e.declarations&&e.declarations.length>0&&161===e.declarations[0].kind}e.getLineStartPositionForPosition=function(t,r){return e.getLineStarts(r)[r.getLineAndCharacterOfPosition(t).line]},e.rangeContainsRange=g,e.rangeContainsRangeExclusive=function(e,t){return _(e,t.pos)&&_(e,t.end)},e.rangeContainsPosition=function(e,t){return e.pos<=t&&t<=e.end},e.rangeContainsPositionExclusive=_,e.startEndContainsRange=h,e.rangeContainsStartEnd=function(e,t,r){return e.pos<=t&&e.end>=r},e.rangeOverlapsWithStartEnd=function(e,t,r){return y(e.pos,e.end,t,r)},e.nodeOverlapsWithStartEnd=function(e,t,r,n){return y(e.getStart(t),e.end,r,n)},e.startEndOverlapsWithStartEnd=y,e.positionBelongsToNode=function(t,r,n){return e.Debug.assert(t.pos<=r),r<t.end||!v(t,n)},e.findListItemInfo=function(t){var r=E(t);if(r){var n=r.getChildren();return{listItemIndex:e.indexOfNode(n,t),list:r}}},e.hasChildOfKind=k,e.findChildOfKind=x,e.findContainingList=E,e.getContextualTypeOrAncestorTypeNodeType=function(t,r){var n=r.getContextualType(t);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=P,e.getAdjustedRenameLocation=function(e){return N(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=F,e.findTokenOnLeftOfPosition=function(t,r){var n=F(t,r);return e.isToken(n)&&r>n.getStart(t)&&r<n.getEnd()?n:M(r,t)},e.findNextToken=R,e.findPrecedingToken=M,e.isInString=function(t,r,n){if(void 0===n&&(n=M(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=F(e,t);return!!r&&(11===r.kind||(29===r.kind&&11===r.parent.kind||(29===r.kind&&286===r.parent.kind||(!(!r||19!==r.kind||286!==r.parent.kind)||29===r.kind&&279===r.parent.kind))))},e.isInTemplateString=function(t,r){var n=F(t,r);return e.isTemplateLiteralKind(n.kind)&&r>n.getStart(t)},e.isInJSXText=function(t,r){var n=F(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>=277&&r.kind<=286||11===r.kind||29===r.kind||31===r.kind||78===r.kind||19===r.kind||18===r.kind||43===r.kind)r=r.parent;else{if(276!==r.kind)return!1;if(t>r.getStart(e))return!0;r=r.parent}return!1}(F(e,t))},e.findPrecedingMatchingToken=U,e.removeOptionality=q,e.isPossiblyTypeArgumentPosition=function t(r,n,i){var a=V(r,n);return void 0!==a&&(e.isPartOfTypeNode(a.called)||0!==J(a.called,a.nTypeArguments,i).length||t(a.called,n,i))},e.getPossibleGenericSignatures=J,e.getPossibleTypeArgumentsInfo=V,e.isInComment=H,e.hasDocComment=function(t,r){var n=F(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&&n.push("static"),128&i&&n.push("abstract"),1&i&&n.push("export"),8192&i&&n.push("deprecated"),8388608&t.flags&&n.push("declare"),269===t.kind&&n.push("export"),n.length>0?n.join(","):""},e.getTypeArgumentOrTypeParameterList=function(t){return 174===t.kind||204===t.kind?t.typeArguments:e.isFunctionLike(t)||254===t.kind||256===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<=77},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){if(200===t.kind||201===t.kind){if(218===t.parent.kind&&t.parent.left===t&&62===t.parent.operatorToken.kind)return!0;if(241===t.parent.kind&&t.parent.initializer===t)return!0;if(e(291===t.parent.kind?t.parent.parent:t.parent))return!0}return!1},e.isInReferenceComment=function(e,t){return W(e,t,!0)},e.isInNonReferenceComment=function(e,t){return W(e,t,!1)},e.getReplacementSpanForContextToken=function(e){if(e)switch(e.kind){case 10:case 14:return $(e);default:return G(e)}},e.createTextSpanFromNode=G,e.createTextSpanFromStringLiteralLikeContent=$,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 Y(e.createTextSpan(t,r),n)},e.createTextChange=Y,e.typeKeywords=[129,128,156,132,95,136,139,142,104,145,146,143,148,149,110,114,151,152,153],e.isTypeKeyword=function(t){return e.contains(e.typeKeywords,t)},e.isTypeKeywordToken=X,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 159===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.programContainsEs6Modules=function(e){return e.getSourceFiles().some((function(t){return!t.isDeclarationFile&&!e.isSourceFileFromExternalLibrary(t)&&!!t.externalModuleIndicator}))},e.compilerOptionsIndicateEs6Modules=function(e){return!!e.module||e.target>=2||!!e.noEmit},e.createModuleSpecifierResolutionHost=Q,e.getModuleSpecifierResolverHost=Z,e.makeImportIfNecessary=function(e,t,r,n){return e||t&&t.length?ee(e,t,r,n):void 0},e.makeImport=ee,e.makeStringLiteral=te,function(e){e[e.Single=0]="Single",e[e.Double=1]="Double"}(e.QuotePreference||(e.QuotePreference={})),e.quotePreferenceFromString=re,e.getQuotePreference=ne,e.getQuoteFromPreference=function(t){switch(t){case 0:return"'";case 1:return'"';default:return e.Debug.assertNever(t)}},e.symbolNameNoDefault=function(t){var r=ie(t);return void 0===r?void 0:e.unescapeLeadingUnderscores(r)},e.symbolEscapedNameNoDefault=ie,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)||!ae(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=234===(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,l=s;c<l.length;c++){var u=l[c],d=e.OrganizeImports.getImportDeclarationInsertionIndex(o,u);if(0===d){var p=o[0]===r.statements[0]?{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude}:{};t.insertNodeBefore(r,o[0],u,!1,p)}else{var f=o[d-1];t.insertNodeAfter(r,f,u)}}else{var m=e.lastOrUndefined(o);m?t.insertNodesAfter(r,m,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),X)},e.textSpansEqual=oe,e.documentSpansEqual=function(e,t){return e.fileName===t.fileName&&oe(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=se;var ce=function(){var t,r,n,i,a=10*e.defaultMaximumTruncationLength;l();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(ue(" ",e.SymbolDisplayPartKind.space)),t.push(ue("...",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){if(i>a)return;s(),i+=e.length,t.push(le(e,r))},writeLine:function(){if(i>a)return;i+=1,t.push(fe()),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:l,trackSymbol:e.noop,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(ue(o,e.SymbolDisplayPartKind.space))),r=!1}}function c(e,r){i>a||(s(),i+=e.length,t.push(ue(e,r)))}function l(){t=[],r=!0,n=0,i=0}}();function le(t,r){return ue(t,function(t){var r=t.flags;if(3&r)return se(t)?e.SymbolDisplayPartKind.parameterName:e.SymbolDisplayPartKind.localName;if(4&r)return e.SymbolDisplayPartKind.propertyName;if(32768&r)return e.SymbolDisplayPartKind.propertyName;if(65536&r)return e.SymbolDisplayPartKind.propertyName;if(8&r)return e.SymbolDisplayPartKind.enumMemberName;if(16&r)return e.SymbolDisplayPartKind.functionName;if(32&r)return e.SymbolDisplayPartKind.className;if(64&r)return e.SymbolDisplayPartKind.interfaceName;if(384&r)return e.SymbolDisplayPartKind.enumName;if(1536&r)return e.SymbolDisplayPartKind.moduleName;if(8192&r)return e.SymbolDisplayPartKind.methodName;if(262144&r)return e.SymbolDisplayPartKind.typeParameterName;if(524288&r)return e.SymbolDisplayPartKind.aliasName;if(2097152&r)return e.SymbolDisplayPartKind.aliasName;return e.SymbolDisplayPartKind.text}(r))}function ue(t,r){return{text:t,kind:e.SymbolDisplayPartKind[r]}}function de(t){return ue(e.tokenToString(t),e.SymbolDisplayPartKind.keyword)}function pe(t){return ue(t,e.SymbolDisplayPartKind.text)}e.symbolPart=le,e.displayPart=ue,e.spacePart=function(){return ue(" ",e.SymbolDisplayPartKind.space)},e.keywordPart=de,e.punctuationPart=function(t){return ue(e.tokenToString(t),e.SymbolDisplayPartKind.punctuation)},e.operatorPart=function(t){return ue(e.tokenToString(t),e.SymbolDisplayPartKind.operator)},e.textOrKeywordPart=function(t){var r=e.stringToToken(t);return void 0===r?pe(t):de(r)},e.textPart=pe;function fe(){return ue("\n",e.SymbolDisplayPartKind.lineBreak)}function me(e){try{return e(ce),ce.displayParts()}finally{ce.clear()}}function ge(e){return!!(33554432&e.flags)}function _e(e){return!!(2097152&e.flags)}function he(e,t){void 0===t&&(t=!0);var r=e&&ve(e);return r&&!t&&be(r),r}function ye(t,r,n){var i=n(t);return i?e.setOriginalNode(i,t):i=ve(t,n),i&&!r&&be(i),i}function ve(t,r){var n=r?e.visitEachChild(t,(function(e){return ye(e,!0,r)}),e.nullTransformationContext):e.visitEachChild(t,he,e.nullTransformationContext);if(n===t){var i=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(i,t)}return n.parent=void 0,n}function be(e){ke(e),xe(e)}function ke(e){Ee(e,512,Se)}function xe(t){Ee(t,1024,e.getLastChild)}function Ee(t,r,n){e.addEmitFlags(t,r);var i=n(t);i&&Ee(i,r,n)}function Se(e){return e.forEachChild((function(e){return e}))}function De(t,r,n,i,a){e.forEachLeadingCommentRange(n.text,t.pos,Ce(r,n,i,a,e.addSyntheticLeadingComment))}function we(t,r,n,i,a){e.forEachTrailingCommentRange(n.text,t.end,Ce(r,n,i,a,e.addSyntheticTrailingComment))}function Te(t,r,n,i,a){e.forEachTrailingCommentRange(n.text,t.pos,Ce(r,n,i,a,e.addSyntheticLeadingComment))}function Ce(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 Ae(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 Ne(e){switch(e){case 36:case 34:case 37:case 35:return!0;default:return!1}}function Pe(e,t){return t.getTypeAtLocation(e.parent.parent.expression)}function Ie(e){return 170===e||171===e||172===e||163===e||165===e}function Fe(e){return 253===e||167===e||166===e||168===e||169===e}function Oe(e){return 259===e}function Re(e){return 234===e||235===e||237===e||242===e||243===e||244===e||248===e||250===e||164===e||257===e||264===e||263===e||270===e||262===e||269===e}function Me(e,t){return je(e,e.fileExists,t)}function Le(e){try{return e()}catch(e){return}}function je(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return Le((function(){return t&&t.apply(e,r)}))}function Be(t,r){if(r.readFile){var n=function(e){try{return JSON.parse(e)}catch(e){return}}(r.readFile(t)||""),i={};if(n)for(var o=0,s=["dependencies","devDependencies","optionalDependencies","peerDependencies"];o<s.length;o++){var c=s[o],l=n[c];if(l){var u=new e.Map;for(var d in l)u.set(d,l[d]);i[c]=u}}var p=[[1,i.dependencies],[2,i.devDependencies],[8,i.optionalDependencies],[4,i.peerDependencies]];return a(a({},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=p;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 ze(e){return void 0!==e.file&&void 0!==e.start&&void 0!==e.length}function Ue(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=fe,e.mapToDisplayParts=me,e.typeToDisplayParts=function(e,t,r,n){return void 0===n&&(n=0),me((function(i){e.writeType(t,r,17408|n,i)}))},e.symbolToDisplayParts=function(e,t,r,n,i){return void 0===i&&(i=0),me((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,me((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;_e(n)||ge(n)&&n.target;)n=ge(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=he,e.getSynthesizedDeepCloneWithReplacements=ye,e.getSynthesizedDeepClones=function(t,r){return void 0===r&&(r=!0),t&&e.factory.createNodeArray(t.map((function(e){return he(e,r)})),t.hasTrailingComma)},e.getSynthesizedDeepClonesWithReplacements=function(t,r,n){return e.factory.createNodeArray(t.map((function(e){return ye(e,r,n)})),t.hasTrailingComma)},e.suppressLeadingAndTrailingTrivia=be,e.suppressLeadingTrivia=ke,e.suppressTrailingTrivia=xe,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)?Te(e,t,r):De(e,t,r),we(e,t,r)},e.getUniqueName=function(t,r){for(var n=t,i=1;!e.isFileLevelUniqueName(r,n);i++)n=t+"_"+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 l=c[s],u=l.fileName,d=l.textChanges;e.Debug.assert(u===r);for(var p=0,f=d;p<f.length;p++){var m=f[p],g=m.span,_=m.newText,h=Ae(_,n);if(-1!==h&&(o=g.start+a+h,!i))return o;a+=_.length-g.length}}return e.Debug.assert(i),e.Debug.assert(o>=0),o},e.copyLeadingComments=De,e.copyTrailingComments=we,e.copyTrailingAsLeadingComments=Te,e.needsParentheses=function(t){return e.isBinaryExpression(t)&&27===t.operatorToken.kind||e.isObjectLiteralExpression(t)},e.getContextualTypeFromParent=function(e,t){var r=e.parent;switch(r.kind){case 205:return t.getContextualType(r);case 218:var n=r,i=n.left,a=n.operatorToken,o=n.right;return Ne(a.kind)?t.getTypeAtLocation(e===o?i:o):t.getContextualType(e);case 287:return r.expression===e?Pe(r,t):void 0;default:return t.getContextualType(e)}},e.quote=function(t,r,n){var i=ne(t,r),a=JSON.stringify(n);return 0===i?"'"+e.stripQuotes(a).replace(/'/g,"\\'").replace(/\\"/g,'"')+"'":a},e.isEqualityOperatorKind=Ne,e.isStringLiteralOrTemplate=function(e){switch(e.kind){case 10:case 14:case 220:case 206:return!0;default:return!1}},e.hasIndexSignature=function(e){return!!e.getStringIndexType()||!!e.getNumberIndexType()},e.getSwitchedType=Pe,e.ANONYMOUS="anonymous function",e.getTypeNodeIfAccessible=function(e,t,r,n){var i=r.getTypeChecker(),a=!0,o=function(){a=!1},s=i.typeToTypeNode(e,t,1,{trackSymbol:function(e,t,r){a=a&&0===i.isSymbolAccessible(e,t,r,!1).accessibility},reportInaccessibleThisError:o,reportPrivateInBaseOfClassExpression:o,reportInaccessibleUniqueSymbolError:o,moduleResolverHost:Z(r,n)});return a?s:void 0},e.syntaxRequiresTrailingCommaOrSemicolonOrASI=Ie,e.syntaxRequiresTrailingFunctionBlockOrSemicolonOrASI=Fe,e.syntaxRequiresTrailingModuleBlockOrSemicolonOrASI=Oe,e.syntaxRequiresTrailingSemicolonOrASI=Re,e.syntaxMayBeASICandidate=e.or(Ie,Fe,Oe,Re),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(Ie(t.kind)){if(n&&27===n.kind)return!1}else if(Oe(t.kind)){if((i=e.last(t.getChildren(r)))&&e.isModuleBlock(i))return!1}else if(Fe(t.kind)){var i;if((i=e.last(t.getChildren(r)))&&e.isFunctionBlock(i))return!1}else if(!Re(t.kind))return!1;if(237===t.kind)return!0;var a=R(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=function(t){var r=0,n=0;return e.forEachChild(t,(function i(a){if(Re(a.kind)){var o=a.getLastToken(t);o&&26===o.kind?r++:n++}return r+n>=5||e.forEachChild(a,i)})),0===r&&n<=1||r/n>.2},e.tryGetDirectories=function(e,t){return je(e,e.getDirectories,t)||[]},e.tryReadDirectory=function(t,r,n,i,a){return je(t,t.readDirectory,r,n,i,a)||e.emptyArray},e.tryFileExists=Me,e.tryDirectoryExists=function(t,r){return Le((function(){return e.directoryProbablyExists(r,t)}))||!1},e.tryAndIgnoreErrors=Le,e.tryIOAndConsumeErrors=je,e.findPackageJsons=function(t,r,n){var i=[];return e.forEachAncestorDirectory(t,(function(t){if(t===n)return!0;var a=e.combinePaths(t,e.getPackageJsonByPMType(r.getCompilationSettings().packageManagerType));Me(r,a)&&i.push(a)})),i},e.findPackageJson=function(t,r){var n;return e.forEachAncestorDirectory(t,(function(t){var i=e.getModuleByPMType(r.getCompilationSettings().packageManagerType),a=e.getPackageJsonByPMType(r.getCompilationSettings().packageManagerType);return t===i||(!!(n=e.findConfigFile(t,(function(e){return Me(r,e)}),a))||void 0)})),n},e.getPackageJsonsVisibleToFile=function(t,r){if(!r.fileExists)return[];var n=[];return e.forEachAncestorDirectory(e.getDirectoryPath(t),(function(t){var i=e.combinePaths(t,e.getPackageJsonByPMType(r.getCompilationSettings().packageManagerType));if(r.fileExists(i)){var a=Be(i,r);a&&n.push(a)}})),n},e.createPackageJsonInfo=Be,e.consumesNodeCoreModules=function(t){return e.some(t.imports,(function(t){var r=t.text;return e.JsTyping.nodeCoreModules.has(r)}))},e.isInsideNodeModules=function(t){return e.contains(e.getPathComponents(t),"node_modules")},e.isDiagnosticWithLocation=ze,e.findDiagnosticForNode=function(t,r){var n=G(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,ze)}},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],ze);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.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.getNameForExportedSymbol=function(t,r){return 33554432&t.flags||"export="!==t.escapedName&&"default"!==t.escapedName?t.name: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}))||e.codefix.moduleSymbolToValidIdentifier(function(t){var r;return e.Debug.checkDefined(t.parent,"Symbol parent was undefined. Flags: "+e.Debug.formatSymbolFlags(t.flags)+". Declarations: "+(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: "+e.Debug.formatSyntaxKind(i.kind)+")":"")})).join(", "))+".")}(t),r)},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!Ue(e)},e.isNonGlobalDeclaration=Ue,e.isVirtualConstructor=function(t,r,n){var i=t.symbolToString(r),a=e.SymbolDisplay.getSymbolKind(t,r,n);return!(!n.virtual||"__constructor"!==i||"constructor"!==a)}}(d||(d={})),function(e){e.createClassifier=function(){var o=e.createScanner(99,!1);function s(i,s,c){var l=0,u=0,d=[],p=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=p.prefix,m=p.pushTemplate;i=f+i;var g=f.length;m&&d.push(15),o.setText(i);var _=0,h=[],y=0;do{l=o.scan(),e.isTrivia(l)||(k(),u=l);var v=o.getTextPos();if(n(o.getTokenPos(),v,g,a(l),h),v>=i.length){var b=r(o,l,e.lastOrUndefined(d));void 0!==b&&(_=b)}}while(1!==l);function k(){switch(l){case 43:case 67:t[u]||13!==o.reScanSlashToken()||(l=13);break;case 29:78===u&&y++;break;case 31:y>0&&y--;break;case 129:case 148:case 145:case 132:case 149:y>0&&!c&&(l=78);break;case 15:d.push(l);break;case 18:d.length>0&&d.push(l);break;case 19:if(d.length>0){var r=e.lastOrUndefined(d);15===r?17===(l=o.reScanTemplateToken(!1))?d.pop():e.Debug.assertEqual(l,16,"Should have been a template middle."):(e.Debug.assertEqual(r,18,"Should have been an open brace"),d.pop())}break;default:if(!e.isKeyword(l))break;(24===u||e.isKeyword(u)&&e.isKeyword(l)&&!function(t,r){if(!e.isAccessibilityModifier(t))return!0;switch(r){case 135:case 147:case 133:case 124:return!0;default:return!1}}(u,l))&&(l=78)}}return{endOfLineState:_,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],l=a[s+1],u=a[s+2];if(o>=0){var d=c-o;d>0&&n.push({length:d,classification:e.TokenClass.Whitespace})}n.push({length:l,classification:i(u)}),o=c+l}var p=r.length-o;p>0&&n.push({length:p,classification:e.TokenClass.Whitespace});return{entries:n,finalLexState:t.endOfLineState}}(s(t,r,n),t)},getEncodedLexicalClassifications:s}};var t=e.arrayToNumericMap([78,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++;if(!(1&o))return;return 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 73:case 72:case 77:case 69:case 70:case 71:case 63:case 64:case 65:case 67:case 68:case 62:case 27:case 60:case 74:case 75:case 76: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<=77)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 259:case 254:case 256:case 253:case 223:case 209:case 210:e.throwIfCancellationRequested()}}function s(t,r,n,i,a){var s=[];return n.forEachChild((function l(u){if(u&&e.textSpanIntersectsWith(a,u.pos,u.getFullWidth())){if(o(r,u.kind),e.isIdentifier(u)&&!e.nodeIsMissing(u)&&i.has(u.escapedText)){var d=t.getSymbolAtLocation(u),p=d&&c(d,e.getMeaningFromLocation(u),t);p&&function(t,r,n){var i=r-t;e.Debug.assert(i>0,"Classification had non-positive length of "+i),s.push(t),s.push(i),s.push(n)}(u.getStart(n),u.getEnd(),p)}u.forEachChild(l)}})),{spans:s,endOfLineState:0}}function c(t,r,n){var i=t.getFlags();return 2885600&i?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:void 0}function l(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 u(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:l(r[i+2])});return n}function d(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),l=[];return y(r),{spans:l,endOfLineState:0};function u(e,t,r){l.push(e),l.push(t),l.push(r)}function d(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=e.pos;if(e.tags)for(var r=0,n=e.tags;r<n.length;r++){var i=n[r];switch(i.pos!==t&&p(t,i.pos-t),u(i.pos,1,10),u(i.tagName.pos,i.tagName.end-i.tagName.pos,18),t=i.tagName.end,i.kind){case 329:a(i);break;case 333:f(i),t=i.end;break;case 332:case 330:y(i.typeExpression),t=i.end}}t!==e.end&&p(t,e.end-t);return;function a(e){e.isNameFirst&&(p(t,e.name.pos-t),u(e.name.pos,e.name.end-e.name.pos,17),t=e.name.end),e.typeExpression&&(p(t,e.typeExpression.pos-t),y(e.typeExpression),t=e.typeExpression.end),e.isNameFirst||(p(t,e.name.pos-t),u(e.name.pos,e.name.end-e.name.pos,17),t=e.name.end)}}(o.jsDoc)}else if(2===n&&function(t,n){var i=/^(\/\/\/\s*)(<)(?:(\S+)((?:[^/]|\/[^>])*)(\/>)?)?/im,a=/(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/gim,o=r.text.substr(t,n),s=i.exec(o);if(!s)return!1;if(!s[3]||!(s[3]in e.commentPragmas))return!1;var c=t;p(c,s[1].length),u(c+=s[1].length,s[2].length,10),u(c+=s[2].length,s[3].length,21),c+=s[3].length;var l=s[4],d=c;for(;;){var f=a.exec(l);if(!f)break;var m=c+f.index;m>d&&(p(d,m-d),d=m),u(d,f[1].length,22),d+=f[1].length,f[2].length&&(p(d,f[2].length),d+=f[2].length),u(d,f[3].length,5),d+=f[3].length,f[4].length&&(p(d,f[4].length),d+=f[4].length),u(d,f[5].length,24),d+=f[5].length}(c+=s[4].length)>d&&p(d,c-d);s[5]&&(u(c,s[5].length,10),c+=s[5].length);var g=t+n;c<g&&p(c,g-c);return!0}(i,a))return;p(i,a)}function p(e,t){u(e,t,1)}function f(e){for(var t=0,r=e.getChildren();t<r.length;t++){y(r[t])}}function m(t,r,n){var i;for(i=r;i<n&&!e.isLineBreak(t.charCodeAt(i));i++);for(u(r,i-r,1),c.setTextPos(i);c.getTextPos()<n;)g()}function g(){var e=c.getTextPos(),t=c.scan(),r=c.getTextPos(),n=h(t);n&&u(e,r-e,n)}function _(t){if(e.isJSDoc(t))return!0;if(e.nodeIsMissing(t))return!0;var n=function(e){switch(e.parent&&e.parent.kind){case 278:if(e.parent.tagName===e)return 19;break;case 279:if(e.parent.tagName===e)return 20;break;case 277:if(e.parent.tagName===e)return 21;break;case 283:if(e.parent.name===e)return 22}return}(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:d(t,i,n,o),s.setTextPos(a);continue;case 7:var c=r.text,l=c.charCodeAt(n);if(60===l||62===l){u(n,o,1);continue}e.Debug.assert(124===l||61===l),m(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&&u(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(62===t&&(251===n.kind||164===n.kind||161===n.kind||283===n.kind))return 5;if(218===n.kind||216===n.kind||217===n.kind||219===n.kind)return 5}return 10}if(8===t)return 4;if(9===t)return 25;if(10===t)return r&&283===r.parent.kind?24:6;if(13===t)return 6;if(e.isTemplateLiteralKind(t))return 6;if(11===t)return 23;if(78===t){if(r)switch(r.parent.kind){case 254:return r.parent.name===r?11:void 0;case 160:return r.parent.name===r?15:void 0;case 256:return r.parent.name===r?13:void 0;case 258:return r.parent.name===r?12:void 0;case 259:return r.parent.name===r?14:void 0;case 161:return r.parent.name===r?e.isThisIdentifier(r)?3:17:void 0}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 l=c[s];_(l)||y(l)}}}}e.getSemanticClassifications=function(e,t,r,n,i){return u(s(e,t,r,n,i))},e.getEncodedSemanticClassifications=s,e.getSyntacticClassifications=function(e,t,r){return u(d(e,t,r))},e.getEncodedSyntacticClassifications=d}(d||(d={})),function(e){!function(t){!function(t){function r(e,t,r,i){return{spans:n(e,r,i,t),endOfLineState:0}}function n(t,r,n,s){var c=[];return t&&r&&function(t,r,n,s,c){var l=t.getTypeChecker(),u=!1;function d(p){switch(p.kind){case 259:case 254:case 256:case 253:case 223:case 209:case 210:c.throwIfCancellationRequested()}if(p&&e.textSpanIntersectsWith(n,p.pos,p.getFullWidth())&&0!==p.getFullWidth()){var f=u;if((e.isJsxElement(p)||e.isJsxSelfClosingElement(p))&&(u=!0),e.isJsxExpression(p)&&(u=!1),e.isIdentifier(p)&&!u&&!function(t){var r=t.parent;return r&&(e.isImportClause(r)||e.isImportSpecifier(r)||e.isNamespaceImport(r))}(p)){var m=l.getSymbolAtLocation(p);if(m){2097152&m.flags&&(m=l.getAliasedSymbol(m));var g=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 a=t.valueDeclaration||t.declarations&&t.declarations[0];a&&e.isBindingElement(a)&&(a=i(a));return a&&o.get(a.kind)}(m,e.getMeaningFromLocation(p));if(void 0!==g){var _=0;if(p.parent)(e.isBindingElement(p.parent)||o.get(p.parent.kind)===g)&&p.parent.name===p&&(_=1);6===g&&a(p)&&(g=9),g=function(t,r,n){if(7===n||9===n||6===n){var i=t.getTypeAtLocation(r);if(i){var o=function(e){return e(i)||i.isUnion()&&i.types.some(e)};if(6!==n&&o((function(e){return e.getConstructSignatures().length>0})))return 0;if(o((function(e){return e.getCallSignatures().length>0}))&&!o((function(e){return e.getProperties().length>0}))||function(t){for(;a(t);)t=t.parent;return e.isCallExpression(t.parent)&&t.parent.expression===t}(r))return 9===n?11:10}}return n}(l,p,g);var h=m.valueDeclaration;if(h){var y=e.getCombinedModifierFlags(h),v=e.getCombinedNodeFlags(h);32&y&&(_|=2),256&y&&(_|=4),0!==g&&2!==g&&(64&y||2&v||8&m.getFlags())&&(_|=8),7!==g&&10!==g||!function(t,r){e.isBindingElement(t)&&(t=i(t));if(e.isVariableDeclaration(t))return(!e.isSourceFile(t.parent.parent.parent)||e.isCatchClause(t.parent))&&t.getSourceFile()===r;if(e.isFunctionDeclaration(t))return!e.isSourceFile(t.parent)&&t.getSourceFile()===r;return!1}(h,r)||(_|=32),t.isSourceFileDefaultLibrary(h.getSourceFile())&&(_|=16)}else m.declarations&&m.declarations.some((function(e){return t.isSourceFileDefaultLibrary(e.getSourceFile())}))&&(_|=16);s(p,g,_)}}}p.virtual||(e.forEachChild(p,d),u=f)}}d(r)}(t,r,n,(function(e,t,n){c.push(e.getStart(r),e.getWidth(r),(t+1<<8)+n)}),s),c}function i(t){for(;;){if(!e.isBindingElement(t.parent.parent))return t.parent.parent;t=t.parent.parent}}function a(t){return e.isQualifiedName(t.parent)&&t.parent.right===t||e.isPropertyAccessExpression(t.parent)&&t.parent.name===t}!function(e){e[e.typeOffset=8]="typeOffset",e[e.modifierMask=255]="modifierMask"}(t.TokenEncodingConsts||(t.TokenEncodingConsts={})),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,n,i,a){var o=r(t,n,i,a);e.Debug.assert(o.spans.length%3==0);for(var s=o.spans,c=[],l=0;l<s.length;l+=3)c.push({textSpan:e.createTextSpan(s[l],s[l+1]),classificationType:s[l+2]});return c},t.getEncodedSemanticClassifications=r;var o=new e.Map([[251,7],[161,6],[164,9],[259,3],[258,1],[294,8],[254,0],[166,11],[253,10],[209,10],[165,11],[168,9],[169,9],[163,9],[256,2],[257,5],[160,4],[291,9],[292,9]])}(t.v2020||(t.v2020={}))}(e.classifier||(e.classifier={}))}(d||(d={})),function(e){!function(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,i=e.span;return{name:r,kind:n,kindModifiers:a(e.extension),sortText:t.SortText.LocationPriority,replacementSpan:i}}))}}function a(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".tsbuildinfo":return e.Debug.fail("Extension .tsbuildinfo is unsupported.");case void 0:return"";case".d.ets":return".d.ets";case".ets":return".ets";default:return e.Debug.assertNever(t)}}var o;function s(r,n,i,a,o,s){var d,p,f=c(n.parent);switch(f.kind){case 192:var g=c(f.parent);switch(g.kind){case 174:var _=g,h=e.findAncestor(f,(function(e){return e.parent===_}));return h?{kind:2,types:u(a.getTypeArgumentConstraint(h)),isNewIdentifier:!1}:void 0;case 190:var y=g,v=y.indexType,b=y.objectType;if(!e.rangeContainsPosition(v,i))return;return l(a.getTypeFromTypeNode(b));case 196:return{kind:0,paths:m(r,n,o,s,a)};case 183:if(!e.isTypeReferenceNode(g.parent))return;var k=(d=g,p=f,e.mapDefined(d.types,(function(t){return t!==p&&e.isLiteralTypeNode(t)&&e.isStringLiteral(t.literal)?t.literal.text:void 0})));return{kind:2,types:u(a.getTypeArgumentConstraint(g)).filter((function(t){return!e.contains(k,t.value)})),isNewIdentifier:!1};default:return}case 291:return e.isObjectLiteralExpression(f.parent)&&f.name===n?function(r,n){var i=r.getContextualType(n);if(!i)return;var a=r.getContextualType(n,4);return{kind:1,symbols:t.getPropertiesForObjectExpression(i,a,n,r),hasIndexSignature:e.hasIndexSignature(i)}}(a,f.parent):w();case 203:var x=f,E=x.expression,S=x.argumentExpression;return n===e.skipParentheses(S)?l(a.getTypeAtLocation(E)):void 0;case 204:case 205:if(!e.isRequireCall(f,!1)&&!e.isImportCall(f)){var D=e.SignatureHelp.getArgumentInfoForCompletions(n,i,r);return D?function(t,r){var n=!1,i=new e.Map,a=[];r.getResolvedSignature(t.invocation,a,t.argumentCount);var o=e.flatMap(a,(function(a){if(e.signatureHasRestParameter(a)||!(t.argumentCount>a.parameters.length)){var o=r.getParameterType(a,t.argumentIndex);return n=n||!!(4&o.flags),u(o,i)}}));return{kind:2,types:o,isNewIdentifier:n}}(D,a):w()}case 264:case 270:case 275:return{kind:0,paths:m(r,n,o,s,a)};default:return w()}function w(){return{kind:2,types:u(e.getContextualTypeFromParent(n,a)),isNewIdentifier:!1}}}function c(t){switch(t.kind){case 187:return e.walkUpParenthesizedTypes(t);case 208:return e.walkUpParenthesizedExpressions(t);default:return t}}function l(t){return t&&{kind:1,symbols:e.filter(t.getApparentProperties(),(function(t){return!(t.valueDeclaration&&e.isPrivateIdentifierPropertyDeclaration(t.valueDeclaration))})),hasIndexSignature:e.hasIndexSignature(t)}}function u(t,r){return void 0===r&&(r=new e.Map),t?(t=e.skipConstraint(t)).isUnion()?e.flatMap(t.types,(function(e){return u(e,r)})):!t.isStringLiteral()||1024&t.flags||!e.addToSeen(r,t.value)?e.emptyArray:[t]:e.emptyArray}function d(e,t,r){return{name:e,kind:t,extension:r}}function p(e){return d(e,"directory",void 0)}function f(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 m(t,r,n,a,o){return f(r.text,r.getStart(t)+1,function(t,r,n,a,o){var s=e.normalizeSlashes(r.text),c=t.path,l=e.getDirectoryPath(c);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}(s)||!n.baseUrl&&(e.isRootedDiskPath(s)||e.isUrl(s))?function(t,r,n,a,o){var s=g(n);return n.rootDirs?function(t,r,n,a,o,s,c){var l=o.project||s.getCurrentDirectory(),u=!(s.useCaseSensitiveFileNames&&s.useCaseSensitiveFileNames()),d=function(t,r,n,a){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,a)?n.substr(t.length):void 0}));return e.deduplicate(i(i([],t.map((function(t){return e.combinePaths(t,o)}))),[n]),e.equateStringsCaseSensitive,e.compareStringsCaseSensitive)}(t,l,n,u);return e.flatMap(d,(function(e){return h(r,e,a,s,c)}))}(n.rootDirs,t,r,s,n,a,o):h(t,r,s,a,o)}(s,l,n,a,c):function(t,r,n,i,a){var o=n.baseUrl,s=n.paths,c=[],l=g(n);if(o){var u=n.project||i.getCurrentDirectory(),p=e.normalizePath(e.combinePaths(u,o));h(t,p,l,i,void 0,c),s&&y(c,t,p,l.extensions,s,i)}for(var f=v(t),m=0,_=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,f,a);m<_.length;m++){var b=_[m];c.push(d(b,"external module name",void 0))}if(k(i,n,r,f,l,c),e.getEmitModuleResolutionKind(n)===e.ModuleResolutionKind.NodeJs){var x=!1;if(void 0===f)for(var S=function(e){c.some((function(t){return t.name===e}))||(x=!0,c.push(d(e,"external module name",void 0)))},D=0,w=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,l=E;c<l.length;c++){var u=s[l[c]];if(u)for(var d in u)u.hasOwnProperty(d)&&!e.startsWith(d,"@types/")&&n.push(d)}return n}(i,r);D<w.length;D++){S(w[D])}x||e.forEachAncestorDirectory(r,(function(r){var n=e.combinePaths(r,e.getModuleByPMType(i.getCompilationSettings().packageManagerType));e.tryDirectoryExists(i,n)&&h(t,n,l,i,void 0,c)}))}return c}(s,l,n,a,o)}(t,r,n,a,o))}function g(e,t){return void 0===t&&(t=!1),{extensions:_(e),includeExtensions:t}}function _(t){var r=e.getSupportedExtensions(t);return t.resolveJsonModule&&e.getEmitModuleResolutionKind(t)===e.ModuleResolutionKind.NodeJs?r.concat(".json"):r}function h(t,r,n,i,a,o){var s=n.extensions,c=n.includeExtensions;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 l=e.resolvePath(r,t),u=e.hasTrailingDirectorySeparator(l)?l:e.getDirectoryPath(l),f=!(i.useCaseSensitiveFileNames&&i.useCaseSensitiveFileNames());if(!e.tryDirectoryExists(i,u))return o;var m=e.tryReadDirectory(i,u,s,void 0,["./*"]);if(m){for(var g=new e.Map,_=0,h=m;_<h.length;_++){var v=h[_];if(v=e.normalizePath(v),!a||0!==e.comparePaths(v,a,r,f)){var b=c||e.fileExtensionIs(v,".json")?e.getBaseFileName(v):e.removeFileExtension(e.getBaseFileName(v));g.set(b,e.tryGetExtensionFromPath(v))}}g.forEach((function(e,t){o.push(d(t,"script",e))}))}var k=e.tryGetDirectories(i,u);if(k)for(var x=0,E=k;x<E.length;x++){var S=E[x],D=e.getBaseFileName(e.normalizePath(S));"@types"!==D&&o.push(p(D))}var w=e.findPackageJson(u,i);if(w){var T=e.readJson(w,i).typesVersions;if("object"==typeof T){var C=e.getPackageJsonTypesVersionsPaths(T),A=C&&C.paths,N=l.slice(e.ensureTrailingDirectorySeparator(u).length);A&&y(o,N,u,s,A,i)}}return o}function y(t,r,n,i,a,o){for(var s in a)if(e.hasProperty(a,s)){var c=a[s];if(c)for(var l=function(e,r,n){t.some((function(t){return t.name===e}))||t.push(d(e,r,n))},u=0,p=b(s,c,r,n,i,o);u<p.length;u++){var f=p[u];l(f.name,f.kind,f.extension)}}}function v(t){return S(t)?e.hasTrailingDirectorySeparator(t)?t:e.getDirectoryPath(t):void 0}function b(t,r,n,a,o,s){if(!e.endsWith(t,"*"))return e.stringContains(t,"*")?e.emptyArray:u(t);var c=t.slice(0,t.length-1),l=e.tryRemovePrefix(n,c);return void 0===l?u(c):e.flatMap(r,(function(t){return function(t,r,n,a,o){if(!o.readDirectory)return;var s=e.hasZeroOrOneAsteriskCharacter(n)?e.tryParsePattern(n):void 0;if(!s)return;var c=e.resolvePath(s.prefix),l=e.hasTrailingDirectorySeparator(s.prefix)?c:e.getDirectoryPath(c),u=e.hasTrailingDirectorySeparator(s.prefix)?"":e.getBaseFileName(c),f=S(t),m=f?e.hasTrailingDirectorySeparator(t)?t:e.getDirectoryPath(t):void 0,g=f?e.combinePaths(l,u+m):l,_=e.normalizePath(s.suffix),h=e.normalizePath(e.combinePaths(r,g)),y=f?h:e.ensureTrailingDirectorySeparator(h)+u,v=_?"**/*":"./*",b=e.mapDefined(e.tryReadDirectory(o,h,a,void 0,[v]),(function(t){var r=e.tryGetExtensionFromPath(t),n=x(t);return void 0===n?void 0:d(e.removeFileExtension(n),"script",r)})),k=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:p(t)}));return i(i([],b),k);function x(t){var r,n,i,a=(r=e.normalizePath(t),n=y,i=_,e.startsWith(r,n)&&e.endsWith(r,i)?r.slice(n.length,r.length-i.length):void 0);return void 0===a?void 0:function(t){return t[0]===e.directorySeparator?t.slice(1):t}(a)}}(l,a,t,o,s)}));function u(t){return e.startsWith(t,n)?[p(t)]:e.emptyArray}}function k(t,r,n,i,a,o){void 0===o&&(o=[]);for(var s=new e.Map,c=0,l=e.tryAndIgnoreErrors((function(){return e.getEffectiveTypeRoots(r,t)}))||e.emptyArray;c<l.length;c++){m(l[c])}for(var u=0,p=e.findPackageJsons(n,t);u<p.length;u++){var f=p[u];m(e.combinePaths(e.getDirectoryPath(f),e.isOhpm(r.packageManagerType)?"oh_modules/@types":"node_modules/@types"))}return o;function m(n){if(e.tryDirectoryExists(t,n))for(var c=0,l=e.tryGetDirectories(t,n);c<l.length;c++){var u=l[c],p=e.unmangleScopedPackageName(u);if(!r.types||e.contains(r.types,p))if(void 0===i)s.has(p)||(o.push(d(p,"external module name",void 0)),s.set(p,!0));else{var f=e.combinePaths(n,u),m=e.tryRemoveDirectoryPrefix(i,p,e.hostGetCanonicalFileName(t));void 0!==m&&h(m,f,a,t,void 0,o)}}}}r.getStringLiteralCompletions=function(r,i,a,o,c,l,u,d){if(e.isInReferenceComment(r,i)){var p=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)return;var c=t.text.slice(s.pos,r),l=x.exec(c);if(!l)return;var u=l[1],d=l[2],p=l[3],m=e.getDirectoryPath(t.path),_="path"===d?h(p,m,g(n,!0),i,t.path):"types"===d?k(i,n,m,v(p),g(n)):e.Debug.fail();return f(p,s.pos+u.length,_)}(r,i,c,l);return p&&n(p)}if(e.isInString(r,i,a)){if(!a||!e.isStringLiteralLike(a))return;return function(r,i,a,o,s,c){if(void 0===r)return;var l=e.createTextSpanFromStringLiteralLikeContent(i);switch(r.kind){case 0:return n(r.paths);case 1:var u=[];return t.getCompletionEntriesFromSymbols(r.symbols,u,i,a,a,o,99,s,4,c),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:r.hasIndexSignature,optionalReplacementSpan:l,entries:u};case 2:u=r.types.map((function(r){return{name:r.value,kindModifiers:"",kind:"string",sortText:t.SortText.LocationPriority,replacementSpan:e.getReplacementSpanForContextToken(i)}}));return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:r.isNewIdentifier,optionalReplacementSpan:l,entries:u};default:return e.Debug.assertNever(r)}}(p=s(r,a,i,o,c,l),a,r,o,u,d)}},r.getStringLiteralCompletionDetails=function(r,n,i,o,c,l,u,d){if(o&&e.isStringLiteralLike(o)){var p=s(n,o,i,c,l,u);return p&&function(r,n,i,o,s,c){switch(i.kind){case 0:return(l=e.find(i.paths,(function(e){return e.name===r})))&&t.createCompletionDetails(r,a(l.extension),l.kind,[e.textPart(r)]);case 1:var l;return(l=e.find(i.symbols,(function(e){return e.name===r})))&&t.createCompletionDetailsForSymbol(l,s,o,n,c);case 2:return e.find(i.types,(function(e){return e.value===r}))?t.createCompletionDetails(r,"","type",[e.textPart(r)]):void 0;default:return e.Debug.assertNever(i)}}(r,o,p,n,c,d)}},function(e){e[e.Paths=0]="Paths",e[e.Properties=1]="Properties",e[e.Types=2]="Types"}(o||(o={}));var x=/^(\/\/\/\s*<reference\s+(path|types)\s*=\s*(?:'|"))([^\3"]*)$/,E=["dependencies","devDependencies","peerDependencies","optionalDependencies"];function S(t){return e.stringContains(t,e.directorySeparator)}}(t.StringCompletions||(t.StringCompletions={}))}(e.Completions||(e.Completions={}))}(d||(d={})),function(e){!function(t){var r,n,i,a,o,s;function c(e){return!!(e&&4&e.kind)}function l(e){return c(e)&&!!e.isFromPackageJson}function u(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:e}}function d(t){return 78===(null==t?void 0:t.kind)?e.createTextSpanFromNode(t):void 0}function p(t,r){return e.isSourceFileJS(t)&&!e.isCheckJsEnabledForFile(t,r)}function f(e){switch(e){case 0:case 3:case 2:return!0;default:return!1}}function m(t,r,n){return"object"==typeof n?e.pseudoBigIntToString(n)+"n":e.isString(n)?e.quote(t,r,n):JSON.stringify(n)}function g(e,t,n){return{name:m(e,t,n),kind:"string",kindModifiers:"",sortText:r.LocationPriority}}function _(t,r,n,i,a,o,s,u,d,p,f,m,g){var _,b=e.getReplacementSpanForContextToken(n),k=d&&function(e){return!!(16&e.kind)}(d),x=d&&function(e){return!!(2&e.kind)}(d)||u;if(d&&function(e){return!!(1&e.kind)}(d))_=u?"this"+(k?"?.":"")+"["+h(a,g,s)+"]":"this"+(k?"?.":".")+s;else if((x||k)&&f){_=x?u?"["+h(a,g,s)+"]":"["+s+"]":s,(k||f.questionDotToken)&&(_="?."+_);var E=e.findChildOfKind(f,24,a)||e.findChildOfKind(f,28,a);if(!E)return;var S=e.startsWith(s,f.name.text)?f.name.end:E.end;b=e.createTextSpanFromBounds(E.getStart(a),S)}if(m&&(void 0===_&&(_=s),_="{"+_+"}","boolean"!=typeof m&&(b=e.createTextSpanFromNode(m,a))),d&&function(e){return!!(8&e.kind)}(d)&&f){void 0===_&&(_=s);var D=e.findPrecedingToken(f.pos,a),w="";D&&e.positionIsASICandidate(D.end,D.parent,a)&&(w=";"),w+="(await "+f.expression.getText()+")",_=u?""+w+_:w+(k?"?.":".")+_,b=e.createTextSpanFromBounds(f.getStart(a),f.end)}if(void 0===_||g.includeCompletionsWithInsertText)return{name:s,kind:e.SymbolDisplay.getSymbolKind(o,t,i),kindModifiers:e.SymbolDisplay.getSymbolModifiers(o,t),sortText:r,source:v(d),hasAction:d&&c(d)||void 0,isRecommended:y(t,p,o)||void 0,insertText:_,replacementSpan:b,isPackageJsonImport:l(d)||void 0}}function h(t,r,n){return/^\d+$/.test(n)?n:e.quote(t,r,n)}function y(e,t,r){return e===t||!!(1048576&e.flags)&&r.getExportSymbolOfSymbol(e)===t}function v(t){return c(t)?e.stripQuotes(t.moduleSymbol.name):1===(null==t?void 0:t.kind)?n.ThisProperty:void 0}function b(t,n,i,a,o,s,c,l,u,d,p,f,m,g,h,y){for(var v=e.timestamp(),b=new e.Map,k=0,x=t;k<x.length;k++){var E=x[k],S=h?h[e.getSymbolId(E)]:void 0,D=T(E,c,S,u,!!f);if(D){var w=D.name,C=D.needsConvertPropertyAccess;if(!b.get(w)){var A=_(E,y&&y[e.getSymbolId(E)]||r.LocationPriority,i,a,o,s,w,C,S,g,p,m,d);if(A){var N=!(S||void 0===E.parent&&!e.some(E.declarations,(function(e){return e.getSourceFile()===a.getSourceFile()})));if(b.set(w,N),E.getJsDocTags().length>0&&(A.jsDoc=E.getJsDocTags()),E.declarations){var P=e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(s,E,o,a,a,7);A.displayParts=P.displayParts}n.push(A)}}}}return l("getCompletionsAtPosition: getCompletionEntriesFromSymbols: "+(e.timestamp()-v)),{has:function(e){return b.has(e)},add:function(e){return b.set(e,!0)}}}function k(t,r,n,i,a,o,s){var c=t.getCompilerOptions(),l=w(t,r,n,p(n,c),i,{includeCompletionsForModuleExports:!0,includeCompletionsWithInsertText:!0},a,o);if(!l)return{type:"none"};if(0!==l.kind)return{type:"request",request:l};var u=l.symbols,d=l.literals,f=l.location,g=l.completionKind,_=l.symbolToOriginInfoMap,h=l.previousToken,y=l.isJsxInitializer,b=l.isTypeOnlyLocation,k=e.find(d,(function(e){return m(n,s,e)===a.name}));return void 0!==k?{type:"literal",literal:k}:e.firstDefined(u,(function(t){var r=_[e.getSymbolId(t)],n=T(t,c.target,r,g,l.isJsxIdentifierExpected);return n&&n.name===a.name&&v(r)===a.source?{type:"symbol",symbol:t,location:f,symbolToOriginInfoMap:_,previousToken:h,isJsxInitializer:y,isTypeOnlyLocation:b}:void 0}))||{type:"none"}}function x(t,r,n){return S(t,"",r,[e.displayPart(t,n)])}function E(t,r,n,i,a,o,s){var c=r.runWithCancellationToken(a,(function(r){return e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(r,t,n,i,i,7)})),l=c.displayParts,u=c.documentation,d=c.symbolKind,p=c.tags;return S(t.name,e.SymbolDisplay.getSymbolModifiers(r,t),d,l,u,p,o,s)}function S(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}}function D(t,r,n){var i=n.getAccessibleSymbolChain(t,r,67108863,!1);return i?e.first(i):t.parent&&(function(e){return e.declarations.some((function(e){return 300===e.kind}))}(t.parent)?t:D(t.parent,r,n))}function w(t,n,i,a,o,s,c,l){var u,d=8===i.scriptKind,p=t.getTypeChecker(),f=t.getCompilerOptions(),m=e.timestamp(),g=e.getTokenAtPosition(i,o);n("getCompletionData: Get current token: "+(e.timestamp()-m)),m=e.timestamp();var _=e.isInComment(i,o,g);n("getCompletionData: Is inside comment: "+(e.timestamp()-m));var h=!1,y=!1;if(_){if(e.hasDocComment(i,o)){if(64===i.text.charCodeAt(o-1))return{kind:1};var v=e.getLineStartPositionForPosition(o,i);if(!/[^\*|\s(/)]/.test(i.text.substring(v,o)))return{kind:2}}var b=function(t,r){var n=e.findAncestor(t,e.isJSDoc);return n&&n.tags&&(e.rangeContainsPosition(n,r)?e.findLast(n.tags,(function(e){return e.pos<r})):void 0)}(g,o);if(b){if(b.tagName.pos<=o&&o<=b.tagName.end)return{kind:1};if(function(e){switch(e.kind){case 329:case 336:case 330:case 332:case 334:return!0;default:return!1}}(b)&&b.typeExpression&&304===b.typeExpression.kind&&((g=e.getTokenAtPosition(i,o))&&(e.isDeclarationName(g)||336===g.parent.kind&&g.parent.name===g)||(h=he(b.typeExpression))),!h&&e.isJSDocParameterTag(b)&&(e.nodeIsMissing(b.name)||b.name.pos<=o&&o<=b.name.end))return{kind:3,tag:b}}if(!h)return void n("Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.")}m=e.timestamp();var k=e.findPrecedingToken(o,i,void 0);n("getCompletionData: Get previous token 1: "+(e.timestamp()-m));var x=k;if(x&&o<=x.end&&(e.isIdentifierOrPrivateIdentifier(x)||e.isKeyword(x.kind))){var E=e.timestamp();x=e.findPrecedingToken(x.getFullStart(),i,void 0),n("getCompletionData: Get previous token 2: "+(e.timestamp()-E))}var S,w=g,T=!1,C=!1,A=!1,N=!1,F=!1,B=!1,z=e.getTouchingPropertyName(i,o);if(x){if(function(t){var r=e.timestamp(),a=function(t){return(e.isRegularExpressionLiteral(t)||e.isStringTextContainingNode(t))&&(e.rangeContainsPositionExclusive(e.createTextRangeFromSpan(e.createTextSpanFromNode(t)),o)||o===t.end&&(!!t.isUnterminated||e.isRegularExpressionLiteral(t)))}(t)||function(t){var r=t.parent,n=r.kind;switch(t.kind){case 27:return 251===n||function(t){return 252===t.parent.kind&&!e.isPossiblyTypeArgumentPosition(t,i,p)}(t)||234===n||258===n||fe(n)||256===n||198===n||257===n||e.isClassLike(r)&&!!r.typeParameters&&r.typeParameters.end>=t.pos;case 24:case 22:return 198===n;case 58:return 199===n;case 20:return 290===n||fe(n);case 18:return 258===n;case 29:return 254===n||223===n||256===n||257===n||e.isFunctionLikeKind(n);case 124:return 164===n&&!e.isClassLike(r.parent);case 25:return 161===n||!!r.parent&&198===r.parent.kind;case 123:case 121:case 122:return 161===n&&!e.isConstructorDeclaration(r.parent);case 127:return 268===n||273===n||266===n;case 135:case 147:return!L(t);case 83:case 84:case 92:case 118:case 98:case 113:case 100:case 119:case 85:case 136:case 150:return!0;case 41:return e.isFunctionLike(t.parent)&&!e.isMethodDeclaration(t.parent)}if(I(O(t))&&L(t))return!1;if(pe(t)&&(!e.isIdentifier(t)||e.isParameterPropertyModifier(O(t))||he(t)))return!1;switch(O(t)){case 126:case 83:case 84:case 85:case 134:case 92:case 98:case 118:case 119:case 121:case 122:case 123:case 124:case 113:return!0;case 130:return e.isPropertyDeclaration(t.parent)}return e.isDeclarationName(t)&&!e.isShorthandPropertyAssignment(t.parent)&&!e.isJsxAttribute(t.parent)&&!(e.isClassLike(t.parent)&&(t!==k||o>k.end))}(t)||function(e){if(8===e.kind){var t=e.getFullText();return"."===t.charAt(t.length-1)}return!1}(t)||function(e){if(11===e.kind)return!0;if(31===e.kind&&e.parent){if(278===e.parent.kind)return 278!==z.parent.kind;if(279===e.parent.kind||277===e.parent.kind)return!!e.parent.parent&&276===e.parent.parent.kind}return!1}(t);return n("getCompletionsAtPosition: isCompletionListBlocker: "+(e.timestamp()-r)),a}(x))return void n("Returning an empty list because completion was requested in an invalid position.");var U=x.parent;if(24===x.kind||28===x.kind)switch(T=24===x.kind,C=28===x.kind,U.kind){case 202:if(w=(S=U).expression,(e.isCallExpression(w)||e.isFunctionLike(w)||e.isEtsComponentExpression(w))&&w.end===x.pos&&w.getChildCount(i)&&21!==e.last(w.getChildren(i)).kind&&!w.getLastToken(i))return;if(w.virtual&&20===(null===(u=e.findPrecedingToken(w.pos,i))||void 0===u?void 0:u.kind))return;break;case 158:w=U.left;break;case 259:w=U.name;break;case 196:case 228:w=U;break;default:return}else if(1===i.languageVariant){if(U&&202===U.kind&&(x=U,U=U.parent),g.parent===z)switch(g.kind){case 31:276!==g.parent.kind&&278!==g.parent.kind||(z=g);break;case 43:277===g.parent.kind&&(z=g)}switch(U.kind){case 279:43===x.kind&&(N=!0,z=x);break;case 218:if(!j(U))break;case 277:case 276:case 278:B=!0,29===x.kind&&(A=!0,z=x);break;case 286:19===k.kind&&31===g.kind&&(B=!0);break;case 283:if(U.initializer===k&&k.end<o){B=!0;break}switch(k.kind){case 62:F=!0;break;case 78:B=!0,U!==k.parent&&!U.initializer&&e.findChildOfKind(U,62,i)&&(F=k)}}}}var q=e.timestamp(),J=5,V=!1,H=!1,K=0,W=[],G=[],$=[],Y=l.getImportSuggestionsCache&&l.getImportSuggestionsCache(),X=le();if(T||C)!function(){J=2;var t=e.isLiteralImportTypeNode(w),r=h||t&&!w.isTypeOf||e.isPartOfTypeNode(w.parent)||e.isPossiblyTypeArgumentPosition(x,i,p),n=e.isInRightSideOfInternalImportEqualsDeclaration(w);if(e.isEntityName(w)||t||e.isPropertyAccessExpression(w)){var a=e.isModuleDeclaration(w.parent);a&&(V=!0);var o=p.getSymbolAtLocation(w);if(o&&1920&(o=e.skipAlias(o,p)).flags){var c=p.getExportsOfModule(o);e.Debug.assertEachIsDefined(c,"getExportsOfModule() should all be defined");for(var l=function(e){return p.isValidPropertyAccess(t?w:w.parent,e.name)},u=function(e){return ue(e)},d=a?function(e){return!!(1920&e.flags)&&!e.declarations.every((function(e){return e.parent===w.parent}))}:n?function(e){return u(e)||l(e)}:r?u:l,f=0,m=c;f<m.length;f++){var g=m[f];d(g)&&W.push(g)}if(!r&&o.declarations&&o.declarations.some((function(e){return 300!==e.kind&&259!==e.kind&&258!==e.kind}))){var _=!1;if((v=p.getTypeOfSymbolAtLocation(o,w).getNonOptionalType()).isNullableType())((b=T&&!C&&!1!==s.includeAutomaticOptionalChainCompletions)||C)&&(v=v.getNonNullableType(),b&&(_=!0));ae(v,!!(32768&w.flags),_)}return}}if(e.isMetaProperty(w)&&(103===w.keywordToken||100===w.keywordToken)&&x===w.getChildAt(1)){var y=103===w.keywordToken?"target":"meta";return void W.push(p.createSymbol(4,e.escapeLeadingUnderscores(y)))}if(!r){var v,b;_=!1;if((v=p.tryGetTypeAtLocationWithoutCheck(w).getNonOptionalType()).isNullableType())((b=T&&!C&&!1!==s.includeAutomaticOptionalChainCompletions)||C)&&(v=v.getNonNullableType(),b&&(_=!0));ae(v,!!(32768&w.flags),_)}}();else if(A){var Q=p.getJsxIntrinsicTagNamesAt(z);e.Debug.assertEachIsDefined(Q,"getJsxIntrinsicTagNames() should all be defined"),ce(),W=Q.concat(W),J=3,K=0}else if(N){var Z=x.parent.parent.openingElement.tagName,ee=p.getSymbolAtLocation(Z);ee&&(W=[ee]),J=3,K=0}else if(!ce())return;var te=t.getEtsLibSFromProgram();W=W.filter((function(t){var r;return!t.declarations||!t.declarations.length||(null!==(r=t.declarations)&&void 0!==r?r:[]).filter((function(t){if(!t.getSourceFile().fileName)return!0;var r=e.sys.resolvePath(t.getSourceFile().fileName);return!(!d&&-1!==te.indexOf(r))})).length})),n("getCompletionData: Semantic work: "+(e.timestamp()-q));var re=k&&function(t,r,n,i){var a=t.parent;switch(t.kind){case 78:return e.getContextualTypeFromParent(t,i);case 62:switch(a.kind){case 251:return i.getContextualType(a.initializer);case 218:return i.getTypeAtLocation(a.left);case 283:return i.getContextualTypeForJsxAttribute(a);default:return}case 103:return i.getContextualType(a);case 81:return e.getSwitchedType(e.cast(a,e.isCaseClause),i);case 18:return e.isJsxExpression(a)&&276!==a.parent.kind?i.getContextualTypeForJsxAttribute(a.parent):void 0;default:var o=e.SignatureHelp.getArgumentInfoForCompletions(t,r,n);return o?i.getContextualTypeForArgumentAtIndex(o.invocation,o.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)}}(k,o,i,p),ne=e.mapDefined(re&&(re.isUnion()?re.types:[re]),(function(e){return e.isLiteral()?e.value:void 0})),ie=k&&re&&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)?D(i,t,n):void 0}))}(k,re,p);return{kind:0,symbols:W,completionKind:J,isInSnippetScope:y,propertyAccessToConvert:S,isNewIdentifierLocation:V,location:z,keywordFilters:K,literals:ne,symbolToOriginInfoMap:G,recommendedCompletion:ie,previousToken:k,isJsxInitializer:F,insideJsDocTagTypeExpression:h,symbolToSortTextMap:$,isTypeOnlyLocation:X,isJsxIdentifierExpected:B};function ae(t,r,n){V=!!t.getStringIndexType(),C&&e.some(t.getCallSignatures())&&(V=!0);var i=196===w.kind?w:w.parent;if(a)W.push.apply(W,e.filter(M(t,p),(function(e){return p.isValidPropertyAccessForCompletions(i,t,e)})));else{for(var o=t.getApparentProperties(),c=0,l=o;c<l.length;c++){var u=l[c];p.isValidPropertyAccessForCompletions(i,t,u)&&oe(u,!1,n)}if(o.length){var d=e.getEtsComponentExpressionInnerCallExpressionNode(w)||e.getRootEtsComponentInnerCallExpressionNode(w);d&&(function(t,r){var n=e.getSourceFileOfNode(t).locals;if(!n)return;var i=78===t.expression.kind?t.expression.escapedText:void 0,a=new e.Map;n.forEach((function(t){var r;e.getEtsExtendDecoratorComponentNames(null===(r=t.valueDeclaration)||void 0===r?void 0:r.decorators,f).forEach((function(e){a.has(e)?a.get(e).push(t):a.set(e,[t])}))})),i&&a.has(i)&&a.get(i).forEach((function(e){oe(e,!1,r)}))}(d,n),function(t,r){var n,i,a=e.getSourceFileOfNode(t).locals;if(!a)return;var o=e.isIdentifier(t.expression)?t.expression.escapedText:void 0,s=new e.Map;a.forEach((function(t){var r;e.hasEtsStylesDecoratorNames(null===(r=t.valueDeclaration)||void 0===r?void 0:r.decorators,f)&&(s.has(t.escapedName)?s.get(t.escapedName).push(t):s.set(t.escapedName,[t]))})),null===(i=null===(n=e.getContainingStruct(t))||void 0===n?void 0:n.symbol.members)||void 0===i||i.forEach((function(t){var r;e.hasEtsStylesDecoratorNames(null===(r=t.valueDeclaration)||void 0===r?void 0:r.decorators,f)&&(s.has(t.escapedName)?s.get(t.escapedName).push(t):s.set(t.escapedName,[t]))})),o&&s.size>0&&s.forEach((function(e){e.forEach((function(e){oe(e,!1,r)}))}))}(d,n))}}if(r&&s.includeCompletionsWithInsertText){var m=p.getPromisedTypeOfPromise(t);if(m)for(var g=0,_=m.getApparentProperties();g<_.length;g++){u=_[g];p.isValidPropertyAccessForCompletions(i,m,u)&&oe(u,!0,n)}}}function oe(t,n,i){var a=e.firstDefined(t.declarations,(function(t){return e.tryCast(e.getNameOfDeclaration(t),e.isComputedPropertyName)}));if(a){var o=se(a.expression),c=o&&p.getSymbolAtLocation(o),l=c&&D(c,x,p);if(l&&!G[e.getSymbolId(l)]){W.push(l);var u=l.parent;G[e.getSymbolId(l)]=u&&e.isExternalModuleSymbol(u)?{kind:m(6),moduleSymbol:u,isDefaultExport:!1}:{kind:m(2)}}else s.includeCompletionsWithInsertText&&(f(t),d(t),W.push(t))}else f(t),d(t),W.push(t);function d(t){(function(t){return!!(t.valueDeclaration&&32&e.getEffectiveModifierFlags(t.valueDeclaration)&&e.isClassLike(t.valueDeclaration.parent))})(t)&&($[e.getSymbolId(t)]=r.LocalDeclarationPriority)}function f(t){s.includeCompletionsWithInsertText&&(n&&!G[e.getSymbolId(t)]?G[e.getSymbolId(t)]={kind:m(8)}:i&&(G[e.getSymbolId(t)]={kind:16}))}function m(e){return i?16|e:e}}function se(t){return e.isIdentifier(t)?t:e.isPropertyAccessExpression(t)?se(t.expression):void 0}function ce(){var a=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 78:return"async"===t.text&&e.isShorthandPropertyAssignment(t.parent)?t.parent.parent:void 0}}return}(x);if(!n)return 0;if(J=0,201===n.kind){var i=function(t,r){var n=r.getContextualType(t);if(n)return n;if(e.isBinaryExpression(t.parent)&&62===t.parent.operatorToken.kind)return r.getTypeAtLocation(t.parent);return}(n,p);if(void 0===i)return 16777216&n.flags?2:(H=!0,0);var a=p.getContextualType(n,4),o=(a||i).getStringIndexType(),s=(a||i).getNumberIndexType();if(V=!!o||!!s,t=R(i,a,n,p),r=n.properties,0===t.length&&!s)return H=!0,0}else{e.Debug.assert(197===n.kind),V=!1;var c=e.getRootDeclaration(n.parent);if(!e.isVariableLike(c))return e.Debug.fail("Root declaration is not variable-like.");var l=e.hasInitializer(c)||e.hasType(c)||241===c.parent.parent.kind;if(l||161!==c.kind||(e.isExpression(c.parent)?l=!!p.getContextualType(c.parent):166!==c.parent.kind&&169!==c.parent.kind||(l=e.isExpression(c.parent.parent)&&!!p.getContextualType(c.parent.parent))),l){var u=p.getTypeAtLocation(n);if(!u)return 2;var d=e.getContainingClass(n);t=p.getPropertiesOfType(u).filter((function(t){return!(24&e.getDeclarationModifierFlagsFromSymbol(t))||d&&e.contains(u.symbol.declarations,d)})),r=n.elements}}t&&t.length>0&&(W=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((291===s.kind||292===s.kind||199===s.kind||166===s.kind||168===s.kind||169===s.kind||293===s.kind)&&!he(s)){var c=void 0;if(e.isSpreadAssignment(s))me(s,n);else if(e.isBindingElement(s)&&s.propertyName)78===s.propertyName.kind&&(c=s.propertyName.escapedText);else{var l=e.getNameOfDeclaration(s);c=l&&e.isPropertyNameLiteral(l)?e.getEscapedTextOfIdentifierOrLiteral(l):void 0}void 0!==c&&i.add(c)}}var u=t.filter((function(e){return!i.has(e.escapedName)}));return _e(n,u),u}(t,e.Debug.checkDefined(r)));return ge(),1}()||function(){var t=!x||18!==x.kind&&27!==x.kind?void 0:e.tryCast(x.parent,e.isNamedImportsOrExports);if(!t)return 0;var r=(267===t.kind?t.parent.parent:t.parent).moduleSpecifier;if(!r)return 267===t.kind?2:0;var n=p.getSymbolAtLocation(r);if(!n)return 2;J=3,V=!1;var i=p.getExportsAndPropertiesOfModule(n),a=new e.Set(t.elements.filter((function(e){return!he(e)})).map((function(e){return(e.propertyName||e.name).escapedText})));return W=i.filter((function(e){return"default"!==e.escapedName&&!a.has(e.escapedName)})),1}()||function(){var t,n=!x||18!==x.kind&&27!==x.kind?void 0:e.tryCast(x.parent,e.isNamedExports);if(!n)return 0;var i=e.findAncestor(n,e.or(e.isSourceFile,e.isModuleDeclaration));return J=5,V=!1,null===(t=i.locals)||void 0===t||t.forEach((function(t,n){var a,o;W.push(t),(null===(o=null===(a=i.symbol)||void 0===a?void 0:a.exports)||void 0===o?void 0:o.has(n))&&($[e.getSymbolId(t)]=r.OptionalMember)})),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(pe(t))return r.parent}}}(x)?(J=5,V=!0,K=4,1):0)||function(){var t=function(t,r,n,i){switch(n.kind){case 337: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 78:if(e.isPropertyDeclaration(n.parent)&&n.parent.initializer===n)return;if(L(n))return e.findAncestor(n,e.isObjectTypeDeclaration)}if(!r)return;switch(r.kind){case 62:return;case 26:case 19:return L(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(!L(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)?I:P;return o(r.kind)||41===r.kind||e.isIdentifier(r)&&o(e.stringToToken(r.text))?r.parent.parent:void 0}}(i,x,z,o);if(!t)return 0;if(J=3,V=!0,K=41===x.kind?0:e.isClassLike(t)?2:3,!e.isClassLike(t))return 1;var r=26===x.kind?x.parent.parent:x.parent,n=e.isClassElement(r)?e.getEffectiveModifierFlags(r):0;if(78===x.kind&&!he(x))switch(x.getText()){case"private":n|=8;break;case"static":n|=32}if(!(8&n)){var a=e.flatMap(e.getAllSuperTypeNodes(t),(function(e){var r=p.getTypeAtLocation(e);return 32&n?(null==r?void 0:r.symbol)&&p.getPropertiesOfType(p.getTypeOfSymbolAtLocation(r.symbol,t)):r&&p.getPropertiesOfType(r)}));W=function(t,r,n){for(var i=new e.Set,a=0,o=r;a<o.length;a++){var s=o[a];if((164===s.kind||166===s.kind||168===s.kind||169===s.kind)&&(!he(s)&&!e.hasEffectiveModifier(s,8)&&e.hasEffectiveModifier(s,32)===!!(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.isPrivateIdentifierPropertyDeclaration(t.valueDeclaration))}))}(a,t.members,n)}return 1}()||function(){var t=function(t){if(t){var r=t.parent;switch(t.kind){case 31:case 30:case 43:case 78:case 202:case 284:case 283:case 285:if(r&&(277===r.kind||278===r.kind)){if(31===t.kind){var n=e.findPrecedingToken(t.pos,i,void 0);if(!r.typeArguments||n&&43===n.kind)break}return r}if(283===r.kind)return r.parent.parent;break;case 10:if(r&&(283===r.kind||285===r.kind))return r.parent.parent;break;case 19:if(r&&286===r.kind&&r.parent&&283===r.parent.kind)return r.parent.parent.parent;if(r&&285===r.kind)return r.parent.parent}}return}(x),r=t&&p.getContextualType(t.attributes);if(!r)return 0;var n=t&&p.getContextualType(t.attributes,4);return W=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];he(s)||(283===s.kind?n.add(s.name.escapedText):e.isJsxSpreadAttribute(s)&&me(s,i))}var c=t.filter((function(e){return!n.has(e.escapedName)}));return _e(i,c),c}(R(r,n,t.attributes,p),t.attributes.properties),ge(),J=3,V=!1,1}()||(function(){K=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}}(x)?5:1,J=1,V=function(){if(x){var e=x.parent.kind;switch(O(x)){case 27:return 204===e||167===e||205===e||200===e||218===e||175===e||201===e;case 20:return 204===e||167===e||205===e||208===e||187===e;case 22:return 200===e||172===e||159===e;case 140:case 141:return!0;case 24:return 259===e;case 18:return 254===e||255===e||201===e;case 62:return 251===e||218===e;case 15:return 220===e;case 16:return 230===e;case 123:case 121:case 122:return 164===e}}return!1}(),k!==x&&e.Debug.assert(!!k,"Expected 'contextToken' to be defined when different from 'previousToken'.");var a=k!==x?k.getStart():o,u=function(t,r,n){var i=t;for(;i&&!e.positionBelongsToNode(i,r,n);)i=i.parent;return i}(x,a,i)||i;y=function(t){switch(t.kind){case 300:case 220:case 286:case 232:return!0;default:return e.isStatement(t)}}(u);var d=2887656|(X?0:111551);W=p.getSymbolsInScope(u,d),e.Debug.assertEachIsDefined(W,"getSymbolsInScope() should all be defined");for(var m=0,g=W;m<g.length;m++){var _=g[m];p.isArgumentsSymbol(_)||e.some(_.declarations,(function(e){return e.getSourceFile()===i}))||($[e.getSymbolId(_)]=r.GlobalsOrKeywords)}if(s.includeCompletionsWithInsertText&&300!==u.kind){var h=p.tryGetThisTypeAt(u,!1);if(h&&!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);if(a&&r.getTypeOfSymbolAtLocation(a,t)===e)return!0;return!1}(h,i,p))for(var v=0,b=M(h,p);v<b.length;v++){_=b[v];G[e.getSymbolId(_)]={kind:1},W.push(_),$[e.getSymbolId(_)]=r.SuggestedClassMembers}}if(!H&&!!s.includeCompletionsForModuleExports&&(!(!i.externalModuleIndicator&&!i.commonJsModuleIndicator)||!!e.compilerOptionsIndicateEs6Modules(t.getCompilerOptions())||e.programContainsModules(t))){var E=k&&e.isIdentifier(k)?k.text.toLowerCase():"",S=function(r,a){var o=Y&&Y.get(i.fileName,p,c&&a.getProjectVersion?a.getProjectVersion():void 0);if(o)return n("getSymbolsFromOtherSourceFileExports: Using cached list"),o;var s=e.timestamp();n("getSymbolsFromOtherSourceFileExports: Recomputing list"+(c?" for details entry":""));var l=new e.Map,u=new e.Map,d=new e.Map,f=new e.Map,m=[],g=new e.Map;return e.codefix.forEachExternalModuleToImportFrom(t,a,i,!c,!0,(function(t,r,n,i){if(!c||!c.source||e.stripQuotes(t.name)===c.source){var a=n.getTypeChecker(),o=a.resolveExternalModuleSymbol(t);if(e.addToSeen(l,e.getSymbolId(o))){o!==t&&e.every(o.declarations,e.isNonGlobalDeclaration)&&_(o,t,i,!0);for(var s=0,p=a.getExportsAndPropertiesOfModule(t);s<p.length;s++){var m=p[s],h=e.getSymbolId(m).toString();if(e.addToSeen(u,h)&&!e.some(m.declarations,(function(t){return e.isExportSpecifier(t)&&!!t.propertyName&&e.isIdentifierANonContextualKeyword(t.name)}))){var y=a.getMergedSymbol(m.parent)!==o;if(y||e.some(m.declarations,(function(t){return e.isExportSpecifier(t)&&!t.propertyName&&!!t.parent.parent.moduleSpecifier}))){var v=y?m:de(m);if(!v)continue;var b=e.getSymbolId(v).toString();g.has(b)||d.has(b)?e.addToSeen(d,h):(f.set(b,{alias:m,moduleSymbol:t,isFromPackageJson:i}),d.set(h,!0))}else f.delete(h),_(m,t,i,!1)}}}}})),f.forEach((function(e){return _(e.alias,e.moduleSymbol,e.isFromPackageJson,!1)})),n("getSymbolsFromOtherSourceFileExports: "+(e.timestamp()-s)),m;function _(t,n,i,a){var o="default"===t.escapedName;if(o&&(t=e.getLocalSymbolForExportDefault(t)||t),!p.isUndefinedSymbol(t)){e.addToSeen(g,e.getSymbolId(t));var s={kind:4,moduleSymbol:n,isDefaultExport:o,isFromPackageJson:i};m.push({symbol:t,symbolName:e.getNameForExportedSymbol(t,r),origin:s,skipFilter:a})}}}(t.getCompilerOptions().target,l);!c&&Y&&Y.set(i.fileName,S,l.getProjectVersion&&l.getProjectVersion()),S.forEach((function(t){var n=t.symbol,i=t.symbolName,a=t.skipFilter,o=t.origin;if(c){if(c.source&&e.stripQuotes(o.moduleSymbol.name)!==c.source)return}else if(!a&&!function(e,t){if(0===t.length)return!0;for(var r=0,n=0;n<e.length;n++)if(e.charCodeAt(n)===t.charCodeAt(r)&&++r===t.length)return!0;return!1}(i.toLowerCase(),E))return;var s=e.getSymbolId(n);W.push(n),G[s]=o,$[s]=r.AutoImportSuggestions}))}!function(t){var n=le();n&&(K=x&&e.isAssertionExpression(x.parent)?6:7);var a=function(t){var r=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)}));return r}(z);e.filterMutate(t,(function(t){if(!e.isSourceFile(z)){if(e.isExportAssignment(z.parent))return!0;if(a&&t.valueDeclaration===a)return!1;var o=e.skipAlias(t,p);if(i.externalModuleIndicator&&!f.allowUmdGlobalAccess&&$[e.getSymbolId(t)]===r.GlobalsOrKeywords&&$[e.getSymbolId(o)]===r.AutoImportSuggestions)return!1;if(t=o,e.isInRightSideOfInternalImportEqualsDeclaration(z))return!!(1920&t.flags);if(n)return ue(t)}return!!(111551&e.getCombinedLocalAndExportSymbolFlags(t))}))}(W)}(),1);return 1===a}function le(){return h||!function(t){return t&&112===t.kind&&(177===t.parent.kind||e.isTypeOfExpression(t.parent))}(x)&&(e.isPossiblyTypeArgumentPosition(x,i,p)||e.isPartOfTypeNode(z)||function(t){if(t){var r=t.parent.kind;switch(t.kind){case 58:return 164===r||163===r||161===r||251===r||e.isFunctionLikeKind(r);case 62:return 257===r;case 127:return 226===r;case 29:return 174===r||207===r;case 94:return 160===r}}return!1}(x))}function ue(t,r){void 0===r&&(r=new e.Map);var n=e.skipAlias(t.exportSymbol||t,p);return!!(788968&n.flags)||!!(1536&n.flags)&&e.addToSeen(r,e.getSymbolId(n))&&p.getExportsOfModule(n).some((function(e){return ue(e,r)}))}function de(t){return function(e,t,r){var n=t;for(;2097152&n.flags&&(n=e.getImmediateAliasedSymbol(n));)if(r(n))return n}(p,t,(function(t){return e.some(t.declarations,(function(t){return e.isExportSpecifier(t)||!!t.localSymbol}))}))}function pe(t){return!!t.parent&&e.isParameter(t.parent)&&e.isConstructorDeclaration(t.parent.parent)&&(e.isParameterPropertyModifier(t.kind)||e.isDeclarationName(t))}function fe(t){return e.isFunctionLikeKind(t)&&167!==t}function me(e,t){var r=e.expression,n=p.getSymbolAtLocation(r),i=n&&p.getTypeOfSymbolAtLocation(n,r),a=i&&i.properties;a&&a.forEach((function(e){t.add(e.name)}))}function ge(){W.forEach((function(t){16777216&t.flags&&($[e.getSymbolId(t)]=$[e.getSymbolId(t)]||r.OptionalMember)}))}function _e(t,n){if(0!==t.size)for(var i=0,a=n;i<a.length;i++){var o=a[i];t.has(o.name)&&($[e.getSymbolId(o)]=r.MemberDeclaredBySpreadAssignment)}}function he(e){return e.getStart(i)<=o&&o<=e.getEnd()}}function T(t,r,n,i,a){var o=c(n)?e.getNameForExportedSymbol(t,r):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.isPrivateIdentifierPropertyDeclaration(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)}}}!function(e){e.LocalDeclarationPriority="0",e.LocationPriority="1",e.OptionalMember="2",e.MemberDeclaredBySpreadAssignment="3",e.SuggestedClassMembers="4",e.GlobalsOrKeywords="5",e.AutoImportSuggestions="6",e.JavascriptIdentifiers="7"}(r=t.SortText||(t.SortText={})),function(e){e.ThisProperty="ThisProperty/"}(n=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.SymbolMemberNoExport=2]="SymbolMemberNoExport",e[e.SymbolMemberExport=6]="SymbolMemberExport"}(i||(i={})),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.Last=7]="Last"}(a||(a={})),function(e){e[e.Continue=0]="Continue",e[e.Success=1]="Success",e[e.Fail=2]="Fail"}(o||(o={})),t.createImportSuggestionsForFileCache=function(){var t,r,n;return{isEmpty:function(){return!t},clear:function(){t=void 0,n=void 0,r=void 0},set:function(e,i,a){t=i,n=e,a&&(r=a)},get:function(i,a,o){if(i===n)return o?r===o?t:void 0:(e.forEach(t,(function(e){var t,r,n;(null===(t=e.symbol.declarations)||void 0===t?void 0:t.length)&&(e.symbol=a.getMergedSymbol(e.origin.isDefaultExport&&null!==(r=e.symbol.declarations[0].localSymbol)&&void 0!==r?r:e.symbol.declarations[0].symbol)),(null===(n=e.origin.moduleSymbol.declarations)||void 0===n?void 0:n.length)&&(e.origin.moduleSymbol=a.getMergedSymbol(e.origin.moduleSymbol.declarations[0].symbol))})),t)}}},t.getCompletionsAtPosition=function(n,i,a,o,s,c,l){var m=i.getTypeChecker(),_=i.getCompilerOptions(),h=e.findPrecedingToken(s,o);if(!l||e.isInString(o,s,h)||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)||j(n.parent));case"/":return!!n&&(e.isStringLiteralLike(n)?!!e.tryGetImportFromModuleSpecifier(n):43===n.kind&&e.isJsxClosingElement(n.parent));default:return e.Debug.assertNever(r)}}(o,l,h,s)){var y=t.StringCompletions.getStringLiteralCompletions(o,s,h,m,_,n,a,c);if(y)return y;if(h&&e.isBreakOrContinueStatement(h.parent)&&(80===h.kind||86===h.kind||78===h.kind))return function(t){var n=function(t){var n=[],i=new e.Map,a=t;for(;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}}(h.parent);var v=w(i,a,o,p(o,_),s,c,void 0,n);if(v)switch(v.kind){case 0:return function(t,n,i,a,o,s){var c=o.symbols,l=o.completionKind,u=o.isInSnippetScope,m=o.isNewIdentifierLocation,_=o.location,h=o.propertyAccessToConvert,y=o.keywordFilters,v=o.literals,k=o.symbolToOriginInfoMap,x=o.recommendedCompletion,E=o.isJsxInitializer,S=o.insideJsDocTagTypeExpression,D=o.symbolToSortTextMap;if(_&&_.parent&&e.isJsxClosingElement(_.parent)){var w=_.parent.parent.openingElement.tagName,T=!!e.findChildOfKind(_.parent,31,t),A={name:w.getFullText(t)+(T?"":">"),kind:"class",kindModifiers:void 0,sortText:r.LocationPriority};return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,optionalReplacementSpan:d(_),entries:[A]}}var P=[];if(p(t,i)){var I=b(c,P,void 0,_,t,n,i.target,a,l,s,h,o.isJsxIdentifierExpected,E,x,k,D);!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),o.push({name:c,kind:"warning",kindModifiers:"",sortText:r.JavascriptIdentifiers,isFromUncheckedFile:!0}))}}))}(t,_.pos,I,i.target,P)}else{if(!(m||c&&0!==c.length||0!==y))return;b(c,P,void 0,_,t,n,i.target,a,l,s,h,o.isJsxIdentifierExpected,E,x,k,D)}if(0!==y)for(var F=new e.Set(P.map((function(e){return e.name}))),O=0,R=function(t,r){if(!r)return N(t);var n=t+7+1;return C[n]||(C[n]=N(t).filter((function(t){return!function(e){switch(e){case 126:case 129:case 156:case 132:case 134:case 92:case 155:case 117:case 136:case 118:case 138:case 139:case 140:case 141:case 142:case 145:case 146:case 121:case 122:case 123:case 143:case 148:case 149:case 150:case 152:case 153:return!0;default:return!1}}(e.stringToToken(t.name))})))}(y,!S&&e.isSourceFileJS(t));O<R.length;O++){var M=R[O];F.has(M.name)||P.push(M)}for(var L=0,j=v;L<j.length;L++){var B=j[L];P.push(g(t,s,B))}return{isGlobalCompletion:u,isMemberCompletion:f(l),isNewIdentifierLocation:m,optionalReplacementSpan:d(_),entries:P}}(o,m,_,a,v,c);case 1:return u(e.JsDoc.getJSDocTagNameCompletions());case 2:return u(e.JsDoc.getJSDocTagCompletions());case 3:return u(e.JsDoc.getJSDocParameterNameCompletions(v.tag));default:return e.Debug.assertNever(v)}}},t.getCompletionEntriesFromSymbols=b,t.getCompletionEntryDetails=function(r,n,i,a,o,s,l,u,d){var p=r.getTypeChecker(),f=r.getCompilerOptions(),g=o.name,_=e.findPrecedingToken(a,i);if(e.isInString(i,a,_))return t.StringCompletions.getStringLiteralCompletionDetails(g,i,a,_,p,f,s,d);var h=k(r,n,i,a,o,s,u);switch(h.type){case"request":var y=h.request;switch(y.kind){case 1:return e.JsDoc.getJSDocTagNameCompletionDetails(g);case 2:return e.JsDoc.getJSDocTagCompletionDetails(g);case 3:return e.JsDoc.getJSDocParameterNameCompletionDetails(g);default:return e.Debug.assertNever(y)}case"symbol":var v=h.symbol,b=h.location,S=function(t,r,n,i,a,o,s,l,u,d,p){var f=t[e.getSymbolId(r)];if(!f||!c(f))return{codeActions:void 0,sourceDisplay:void 0};var m=f.moduleSymbol,g=i.getMergedSymbol(e.skipAlias(r.exportSymbol||r,i)),_=e.codefix.getImportCompletionAction(g,m,s,e.getNameForExportedSymbol(r,o.target),a,n,d,u&&e.isIdentifier(u)?u.getStart(s):l,p),h=_.moduleSpecifier,y=_.codeAction;return{sourceDisplay:[e.textPart(h)],codeActions:[y]}}(h.symbolToOriginInfoMap,v,r,p,s,f,i,a,h.previousToken,l,u);return E(v,p,i,b,d,S.codeActions,S.sourceDisplay);case"literal":var D=h.literal;return x(m(i,u,D),"string","string"==typeof D?e.SymbolDisplayPartKind.stringLiteral:e.SymbolDisplayPartKind.numericLiteral);case"none":return A().some((function(e){return e.name===g}))?x(g,"keyword",e.SymbolDisplayPartKind.keyword):void 0;default:e.Debug.assertNever(h)}},t.createCompletionDetailsForSymbol=E,t.createCompletionDetails=S,t.getCompletionEntrySymbol=function(e,t,r,n,i,a,o){var s=k(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"}(s||(s={})),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 C=[],A=e.memoize((function(){for(var t=[],n=80;n<=157;n++)t.push({name:e.tokenToString(n),kind:"keyword",kindModifiers:"",sortText:r.GlobalsOrKeywords});return t}));function N(t){return C[t]||(C[t]=A().filter((function(r){var n=e.stringToToken(r.name);switch(t){case 0:return!1;case 1:return F(n)||134===n||140===n||150===n||141===n||e.isTypeKeyword(n)&&151!==n;case 5:return F(n);case 2:return I(n);case 3:return P(n);case 4:return e.isParameterPropertyModifier(n);case 6:return e.isTypeKeyword(n)||85===n;case 7:return e.isTypeKeyword(n);default:return e.Debug.assertNever(t)}})))}function P(e){return 143===e}function I(t){switch(t){case 126:case 133:case 135:case 147:case 130:case 134:return!0;default:return e.isClassMemberModifier(t)}}function F(t){return 130===t||131===t||127===t||!e.isContextualKeyword(t)&&!I(t)}function O(t){return e.isIdentifier(t)?t.originalKeywordKind||0:t.kind}function R(t,r,n,i){var a=r&&r!==t,o=!a||3&r.flags?t:i.getUnionType([t,r]),s=o.isUnion()?i.getAllPossiblePropertiesOfTypes(o.types.filter((function(t){return!(131068&t.flags||i.isArrayLikeType(t)||e.typeHasCallOrConstructSignatures(t,i)||i.isTypeInvalidDueToUnionDiscriminant(t,n))}))):o.getApparentProperties();return a?s.filter((function(t){return e.some(t.declarations,(function(e){return e.parent!==n}))})):s}function M(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 L(t){return t.parent&&e.isClassOrTypeElement(t.parent)&&e.isObjectTypeDeclaration(t.parent.parent)}function j(t){var r=t.left;return e.nodeIsMissing(r)}t.getPropertiesForObjectExpression=R}(e.Completions||(e.Completions={}))}(d||(d={})),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 a(t){return e.isBreakOrContinueStatement(t)?[t]:e.isFunctionLike(t)?void 0:o(t,a)}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 246:if(242===t.kind)return!1;case 239:case 240:case 241:case 238:case 237: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 l(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 u(t){var r=[];if(l(r,t.getFirstToken(),97,115,90)&&237===t.kind)for(var n=t.getChildren(),i=n.length-1;i>=0&&!l(r,n[i],115);i--);return e.forEach(a(t.statement),(function(e){s(t,e)&&l(r,e.getFirstToken(),80,86)})),r}function d(e){var t=c(e);if(t)switch(t.kind){case 239:case 240:case 241:case 237:case 238:return u(t);case 246:return p(t)}}function p(t){var r=[];return l(r,t.getFirstToken(),107),e.forEach(t.caseBlock.clauses,(function(n){l(r,n.getFirstToken(),81,88),e.forEach(a(n),(function(e){s(t,e)&&l(r,e.getFirstToken(),80)}))})),r}function f(t,r){var n=[];(l(n,t.getFirstToken(),111),t.catchClause&&l(n,t.catchClause.getFirstToken(),82),t.finallyBlock)&&l(n,e.findChildOfKind(t,96,r),96);return n}function m(t,r){var i=function(t){for(var r=t;r.parent;){var n=r.parent;if(e.isFunctionBlock(n)||300===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 g(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 _(t){var r=e.getContainingFunction(t);if(r){var n=[];return r.modifiers&&r.modifiers.forEach((function(e){l(n,e,130)})),e.forEachChild(r,(function(t){h(t,(function(t){e.isAwaitExpression(t)&&l(n,t.getFirstToken(),131)}))})),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,a,o,s){var c=e.getTouchingPropertyName(a,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,a)}));return[{fileName:a.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)return;var c=e.arrayToMultiMap(s.map(e.FindAllReferences.toHighlightSpan),(function(e){return e.fileName}),(function(e){return e.span}));return e.arrayFrom(c.entries(),(function(t){var r=t[0],i=t[1];if(!o.has(r)){e.Debug.assert(n.redirectTargetsMap.has(r));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 a=function(t,n){switch(t.kind){case 99:case 91:return e.isIfStatement(t.parent)?function(t,n){for(var i=function(t,r){var n=[];for(;e.isIfStatement(t.parent)&&t.parent.elseStatement===t;)t=t.parent;for(;;){var i=t.getChildren(r);l(n,i[0],99);for(var a=i.length-1;a>=0&&!l(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],u=!0,d=c.getStart(n)-1;d>=s.end;d--)if(!e.isWhiteSpaceSingleLine(n.text.charCodeAt(d))){u=!1;break}if(u){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 c(t.parent,e.isReturnStatement,g);case 109:return c(t.parent,e.isThrowStatement,m);case 111:case 82:case 96:return c(82===t.kind?t.parent.parent:t.parent,e.isTryStatement,f);case 107:return c(t.parent,e.isSwitchStatement,p);case 81:case 88:return e.isDefaultClause(t.parent)||e.isCaseClause(t.parent)?c(t.parent.parent.parent,e.isSwitchStatement,p):void 0;case 80:case 86:return c(t.parent,e.isBreakOrContinueStatement,d);case 97:case 115:case 90:return c(t.parent,(function(t){return e.isIterationStatement(t,!0)}),u);case 133:return s(e.isConstructorDeclaration,[133]);case 135:case 147:return s(e.isAccessor,[135,147]);case 131:return c(t.parent,e.isAwaitExpression,_);case 130:return y(_(t));case 125:return y(function(t){var r=e.getContainingFunction(t);if(!r)return;var n=[];return e.forEachChild(r,(function(t){h(t,(function(t){e.isYieldExpression(t)&&l(n,t.getFirstToken(),125)}))})),n}(t));default:return e.isModifierKind(t.kind)&&(e.isDeclaration(t.parent)||e.isVariableStatement(t.parent))?y((a=t.kind,o=t.parent,e.mapDefined(function(t,r){var n=t.parent;switch(n.kind){case 260:case 300:case 232:case 287:case 288:return 128&r&&e.isClassDeclaration(t)?i(i([],t.members),[t]):n.statements;case 167:case 166:case 253:return i(i([],n.parameters),e.isClassLike(n.parent)?n.parent.members:[]);case 254:case 223:case 255:case 256:case 178:var a=n.members;if(92&r){var o=e.find(n.members,e.isConstructorDeclaration);if(o)return i(i([],a),o.parameters)}else if(128&r)return i(i([],a),[n]);return a;case 201:return;default:e.Debug.assertNever(n,"Invalid container kind.")}}(o,e.modifierToFlag(a)),(function(t){return e.findModifier(t,a)})))):void 0}var a,o;function s(r,i){return c(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 c(e,t,r){return t(e)?y(r(e,n)):void 0}function y(e){return e&&e.map((function(e){return r(e,n)}))}}(t,n);return a&&[{fileName:n.fileName,highlightSpans:a}]}(c,a)}}(e.DocumentHighlights||(e.DocumentHighlights={}))}(d||(d={})),function(e){function t(t,n,i){void 0===n&&(n="");var a=new e.Map,o=e.createGetCanonicalFileName(!!t);function s(e,t,r,n,i,a,o){return l(e,t,r,n,i,a,!0,o)}function c(e,t,r,n,i,a,o){return l(e,t,r,n,i,a,!1,o)}function l(t,r,n,o,s,c,l,u){var d=e.getOrUpdate(a,o,(function(){return new e.Map})),p=d.get(r),f=6===u?100:n.target||1;!p&&i&&((m=i.getDocument(o,r))&&(e.Debug.assert(l),p={sourceFile:m,languageServiceRefCount:0},d.set(r,p)));if(p)p.sourceFile.version!==c&&(p.sourceFile=e.updateLanguageServiceSourceFile(p.sourceFile,s,c,s.getChangeRange(p.sourceFile.scriptSnapshot),void 0,n),i&&i.setDocument(o,r,p.sourceFile)),l&&p.languageServiceRefCount++;else{var m=e.createLanguageServiceSourceFile(t,s,f,c,!1,u,n);i&&i.setDocument(o,r,m),p={sourceFile:m,languageServiceRefCount:1},d.set(r,p)}return e.Debug.assert(0!==p.languageServiceRefCount),p.sourceFile}function u(t,r){var n=e.Debug.checkDefined(a.get(r)),i=n.get(t);i.languageServiceRefCount--,e.Debug.assert(i.languageServiceRefCount>=0),0===i.languageServiceRefCount&&n.delete(t)}return{acquireDocument:function(t,i,a,c,l){return s(t,e.toPath(t,n,o),i,r(i),a,c,l)},acquireDocumentWithKey:s,updateDocument:function(t,i,a,s,l){return c(t,e.toPath(t,n,o),i,r(i),a,s,l)},updateDocumentWithKey:c,releaseDocument:function(t,i){return u(e.toPath(t,n,o),r(i))},releaseDocumentWithKey:u,getLanguageServiceRefCounts:function(t){return e.arrayFrom(a.entries(),(function(e){var r=e[0],n=e[1].get(t);return[r,n&&n.languageServiceRefCount]}))},reportStats:function(){var t=e.arrayFrom(a.keys()).filter((function(e){return e&&"_"===e.charAt(0)})).map((function(e){var t=a.get(e),r=[];return t.forEach((function(e,t){r.push({name:t,refCount:e.languageServiceRefCount})})),r.sort((function(e,t){return t.refCount-e.refCount})),{bucket:e,sourceFiles:r}}));return JSON.stringify(t,void 0,2)},getKeyForCompilationSettings:r}}function r(t){return e.sourceFileAffectingCompilerOptions.map((function(r){return e.getCompilerOptionValue(t,r)})).join("|")}e.createDocumentRegistry=function(e,r){return t(e,r)},e.createDocumentRegistryInternal=t}(d||(d={})),function(e){!function(t){function r(t,r){return e.forEach(300===t.kind?t.statements:t.body.statements,(function(t){return r(t)||c(t)&&e.forEach(t.body&&t.body.statements,r)}))}function n(t,n){if(t.externalModuleIndicator||void 0!==t.imports)for(var i=0,a=t.imports;i<a.length;i++){var o=a[i];n(e.importFromModuleSpecifier(o),o)}else r(t,(function(t){switch(t.kind){case 270:case 264:(r=t).moduleSpecifier&&e.isStringLiteral(r.moduleSpecifier)&&n(r,r.moduleSpecifier);break;case 263:var r;l(r=t)&&n(r,r.moduleReference.expression)}}))}function i(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 o(e,t){return t.getMergedSymbol(s(e).symbol)}function s(t){if(204===t.kind)return t.getSourceFile();var r=t.parent;return 300===r.kind?r:(e.Debug.assert(260===r.kind),e.cast(r.parent,c))}function c(e){return 259===e.kind&&10===e.name.kind}function l(e){return 275===e.moduleReference.kind&&10===e.moduleReference.expression.kind}t.createImportTracker=function(t,i,u,d){var p=function(t,r,i){for(var a=new e.Map,o=0,s=t;o<s.length;o++){var c=s[o];i&&i.throwIfCancellationRequested(),n(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,u,d);return function(n,f,m){var g=function(t,n,i,a,l,u){var d=a.exportingModuleSymbol,p=a.exportKind,f=e.nodeSeenTracker(),m=e.nodeSeenTracker(),g=[],_=!!d.globalExports,h=_?void 0:[];return v(d),{directImports:g,indirectUsers:y()};function y(){if(_)return t;for(var r=0,i=d.declarations;r<i.length;r++){var a=i[r];e.isExternalModuleAugmentation(a)&&n.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(u&&u.throwIfCancellationRequested(),a.kind){case 204:if(e.isImportCall(a)){b(a);break}if(!_){var c=a.parent;if(2===p&&251===c.kind){var d=c.name;if(78===d.kind){g.push(d);break}}}break;case 78:break;case 263:x(a,a.name,e.hasSyntacticModifier(a,1),!1);break;case 264:g.push(a);var m=a.importClause&&a.importClause.namedBindings;m&&266===m.kind?x(a,m.name,!1,!0):!_&&e.isDefaultImport(a)&&E(s(a));break;case 270:a.exportClause?272===a.exportClause.kind?E(s(a),!0):g.push(a):v(o(a,l));break;case 196:a.isTypeOf&&!a.qualifier&&k(a)&&E(a.getSourceFile(),!0),g.push(a);break;default:e.Debug.failBadSyntaxKind(a,"Unexpected import kind.")}}}function b(t){E(e.findAncestor(t,c)||t.getSourceFile(),!!k(t,!0))}function k(t,r){return void 0===r&&(r=!1),e.findAncestor(t,(function(t){return r&&c(t)?"quit":e.some(t.modifiers,(function(e){return 93===e.kind}))}))}function x(t,n,i,a){if(2===p)a||g.push(t);else if(!_){var o=s(t);e.Debug.assert(300===o.kind||259===o.kind),i||function(t,n,i){var a=i.getSymbolAtLocation(n);return!!r(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}))}}))}(o,n,l)?E(o,!0):E(o)}}function E(t,r){if(void 0===r&&(r=!1),e.Debug.assert(!_),m(t)&&(h.push(t),r)){var n=l.getMergedSymbol(t.symbol);if(n){e.Debug.assert(!!(1536&n.flags));var i=S(n);if(i)for(var a=0,o=i;a<o.length;a++){var c=o[a];e.isImportTypeNode(c)||E(s(c),!0)}}}}function S(t){return i.get(e.getSymbolId(t).toString())}}(t,i,p,f,u,d),_=g.directImports,h=g.indirectUsers;return a({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,d=t;u<d.length;u++){p(d[u])}return{importSearches:o,singleReferences:s};function p(t){if(263!==t.kind)if(78!==t.kind)if(196!==t.kind){if(10===t.moduleSpecifier.kind)if(270!==t.kind){var o=t.importClause||{name:void 0,namedBindings:void 0},u=o.name,d=o.namedBindings;if(d)switch(d.kind){case 266:f(d.name);break;case 267:0!==n&&1!==n||m(d);break;default:e.Debug.assertNever(d)}if(u&&(1===n||2===n)&&(!a||u.escapedText===e.symbolEscapedNameNoDefault(r)))c(u,i.getSymbolAtLocation(u))}else t.exportClause&&e.isNamedExports(t.exportClause)&&m(t.exportClause)}else if(t.qualifier){var p=e.getFirstIdentifier(t.qualifier);p.escapedText===e.symbolName(r)&&s.push(p)}else 2===n&&s.push(t.argument.literal);else f(t);else l(t)&&f(t.name)}function f(e){2!==n||a&&!g(e.escapedText)||c(e,i.getSymbolAtLocation(e))}function m(e){if(e)for(var t=0,n=e.elements;t<n.length;t++){var o=n[t],l=o.name,u=o.propertyName;if(g((u||l).escapedText))if(u)s.push(u),a&&l.escapedText!==r.escapedName||c(l,i.getSymbolAtLocation(l));else c(l,273===o.kind&&o.propertyName?i.getExportSpecifierLocalTargetSymbol(o):i.getSymbolAtLocation(l))}}function g(e){return e===r.escapedName||0!==n&&"default"===e}}(_,n,f.exportKind,u,m))}},function(e){e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.ExportEquals=2]="ExportEquals"}(t.ExportKind||(t.ExportKind={})),function(e){e[e.Import=0]="Import",e[e.Export=1]="Export"}(t.ImportExport||(t.ImportExport={})),t.findModuleReferences=function(e,t,r){for(var i=[],a=e.getTypeChecker(),o=0,s=t;o<s.length;o++){var c=s[o],l=r.valueDeclaration;if(300===l.kind){for(var u=0,d=c.referencedFiles;u<d.length;u++){var p=d[u];e.getSourceFileFromReference(c,p)===l&&i.push({kind:"reference",referencingFile:c,ref:p})}for(var f=0,m=c.typeReferenceDirectives;f<m.length;f++){p=m[f];var g=e.getResolvedTypeReferenceDirectives().get(p.fileName);void 0!==g&&g.resolvedFileName===l.fileName&&i.push({kind:"reference",referencingFile:c,ref:p})}}n(c,(function(e,t){a.getSymbolAtLocation(t)===r&&i.push({kind:"import",literal:t})}))}return i},t.getImportOrExportSymbol=function(t,r,n,a){return a?o():o()||function(){if(!function(t){var r=t.parent;switch(r.kind){case 263:return r.name===t&&l(r);case 268:return!r.propertyName;case 265:case 266:return e.Debug.assert(r.name===t),!0;case 199:return e.isInJSFile(t)&&e.isRequireVariableDeclaration(r,!0);default:return!1}}(t))return;var i=n.getImmediateAliasedSymbol(r);if(!i)return;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.getExportSpecifierLocalTargetSymbol(a.name);if(e.isShorthandPropertyAssignment(a)&&e.isBinaryExpression(a.parent.parent)&&2===e.getAssignmentDeclarationKind(a.parent.parent))return r.getExportSpecifierLocalTargetSymbol(a.name)}return t}(i,n),"export="===i.escapedName&&(i=function(t,r){if(2097152&t.flags)return e.Debug.checkDefined(r.getImmediateAliasedSymbol(t));var n=t.valueDeclaration;if(e.isExportAssignment(n))return e.Debug.checkDefined(n.expression.symbol);if(e.isBinaryExpression(n))return e.Debug.checkDefined(n.right.symbol);if(e.isSourceFile(n))return e.Debug.checkDefined(n.symbol);return 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 i=t.parent,o=i.parent;if(r.exportSymbol)return 202===i.kind?r.declarations.some((function(e){return e===i}))&&e.isBinaryExpression(o)?d(o,!1):void 0:s(r.exportSymbol,c(i));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}(i,t);if(l&&e.hasSyntacticModifier(l,1)){if(e.isImportEqualsDeclaration(l)&&l.moduleReference===t){if(a)return;return{kind:0,symbol:n.getSymbolAtLocation(l.name)}}return s(r,c(l))}if(e.isNamespaceExport(i))return s(r,0);if(e.isExportAssignment(i))return u(i);if(e.isExportAssignment(o))return u(o);if(e.isBinaryExpression(i))return d(i,!0);if(e.isBinaryExpression(o))return d(o,!0);if(e.isJSDocTypedefTag(i))return s(r,0);function u(t){var n=e.Debug.checkDefined(t.symbol.parent,"Expected export symbol to have a parent"),i=t.isExportEquals?2:1;return{kind:1,symbol:r,exportInfo:{exportingModuleSymbol:n,exportKind:i}}}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=i(e,t,n);return r&&{kind:1,symbol:e,exportInfo:r}}function c(t){return e.hasSyntacticModifier(t,512)?1:0}},t.getExportInfo=i}(e.FindAllReferences||(e.FindAllReferences={}))}(d||(d={})),function(e){!function(t){var r;function n(e,t){return void 0===t&&(t=1),{kind:t,node:e.name||e,context:s(e)}}function o(e){return e&&void 0===e.kind}function s(t){if(e.isDeclaration(t))return c(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 c(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)?c(i):i}}var a=e.findAncestor(t,e.isComputedPropertyName);return a?c(a.parent):void 0}return 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)?c(t.parent):void 0}}function c(t){if(t)switch(t.kind){case 251:return e.isVariableDeclarationList(t.parent)&&1===t.parent.declarations.length?e.isVariableStatement(t.parent.parent)?t.parent.parent:e.isForInOrOfStatement(t.parent.parent)?c(t.parent.parent):t.parent:t;case 199:return c(t.parent.parent);case 268:return t.parent.parent.parent;case 273:case 266:return t.parent.parent;case 265:case 272:return t.parent;case 218:return e.isExpressionStatement(t.parent)?t.parent:t;case 241:case 240:return{start:t.initializer,end:t.expression};case 291:case 292:return e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent)?c(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=o(r)?h(r.start,t,r.end):h(r,t);return n.start!==e.start||n.length!==e.length?{contextSpan:n}:void 0}}function u(t,i,a,o,s){if(300!==o.kind){var c=t.getTypeChecker();if(292===o.parent.kind){var l=[];return r.getReferenceEntriesForShorthandPropertyAssignment(o,c,(function(e){return l.push(n(e))})),l}if(106===o.kind||e.isSuperProperty(o.parent)){var u=c.getSymbolAtLocation(o);return u.valueDeclaration&&[n(u.valueDeclaration)]}return d(s,o,t,a,i,{implementations:!0,use:1})}}function d(t,n,i,a,o,s,c){return void 0===s&&(s={}),void 0===c&&(c=new e.Set(a.map((function(e){return e.fileName})))),p(r.getReferencedSymbolsForNode(t,n,i,a,o,s,c))}function p(t){return t&&e.flatMap(t,(function(e){return e.references}))}function f(t){var r=t.getSourceFile();return{sourceFile:r,textSpan:h(e.isComputedPropertyName(t)?t.expression:t,r)}}function m(t,n,i){var a=r.getIntersectingMeaningFromDeclarations(i,t),o=t.declarations&&e.firstOrUndefined(t.declarations)||i,s=e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(n,t,o.getSourceFile(),o,o,a);return{displayParts:s.displayParts,kind:s.symbolKind}}function g(e){var t=_(e);if(0===e.kind)return a(a({},t),{isWriteAccess:!1,isDefinition:!1});var r=e.kind,n=e.node;return a(a({},t),{isWriteAccess:v(n),isDefinition:b(n),isInString:2===r||void 0})}function _(e){if(0===e.kind)return{textSpan:e.textSpan,fileName:e.fileName};var t=e.node.getSourceFile(),r=h(e.node,t);return a({textSpan:r,fileName:t.fileName},l(r,t,e.context))}function h(t,r,n){var i=t.getStart(r),a=(n||t).getEnd();return e.isStringLiteralLike(t)&&(e.Debug.assert(void 0===n),i+=1,a-=1),e.createTextSpanFromBounds(i,a)}function y(e){return 0===e.kind?e.textSpan:h(e.node,e.node.getSourceFile())}function v(t){var r=e.getDeclarationFromName(t);return!!r&&function(t){if(8388608&t.flags)return!0;switch(t.kind){case 218:case 199:case 254:case 223:case 255:case 88:case 258:case 294:case 273:case 265:case 263:case 268:case 256:case 327:case 334:case 283:case 259:case 262:case 266:case 272:case 161:case 292:case 257:case 160:return!0;case 291:return!e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent);case 253:case 209:case 167:case 166:case 168:case 169:return!!t.body;case 251:case 164:return!!t.initializer||e.isCatchClause(t.parent);case 165:case 163:case 336:case 329:return!1;default:return e.Debug.failBadSyntaxKind(t)}}(r)||88===t.kind||e.isWriteAccess(t)}function b(t){return 88===t.kind||!!e.getDeclarationFromName(t)||e.isLiteralComputedPropertyDeclarationName(t)||133===t.kind&&e.isConstructorDeclaration(t.parent)}!function(e){e[e.Symbol=0]="Symbol",e[e.Label=1]="Label",e[e.Keyword=2]="Keyword",e[e.This=3]="This",e[e.String=4]="String",e[e.TripleSlashReference=5]="TripleSlashReference"}(t.DefinitionKind||(t.DefinitionKind={})),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=n,t.isContextWithStartAndEndNode=o,t.getContextNode=c,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,n,i,o,s){var u=e.getTouchingPropertyName(o,s),d=r.getReferencedSymbolsForNode(s,u,t,i,n,{use:1}),p=t.getTypeChecker();return d&&d.length?e.mapDefined(d,(function(t){var r=t.definition,i=t.references;return r&&{definition:p.runWithCancellationToken(n,(function(t){return function(t,r,n){var i=function(){switch(t.type){case 0:var i=m(g=t.symbol,r,n),o=i.displayParts,s=i.kind,l=o.map((function(e){return e.text})).join(""),u=g.declarations&&e.firstOrUndefined(g.declarations),d=u?e.getNameOfDeclaration(u)||u:n;return a(a({},f(d)),{name:l,kind:s,displayParts:o,context:c(u)});case 1:d=t.node;return a(a({},f(d)),{name:d.text,kind:"label",displayParts:[e.displayPart(d.text,e.SymbolDisplayPartKind.text)]});case 2:d=t.node;var p=e.tokenToString(d.kind);return a(a({},f(d)),{name:p,kind:"keyword",displayParts:[{text:p,kind:"keyword"}]});case 3:d=t.node;var g,_=(g=r.getSymbolAtLocation(d))&&e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(r,g,d.getSourceFile(),e.getContainerNode(d),d).displayParts||[e.textPart("this")];return a(a({},f(d)),{name:"this",kind:"var",displayParts:_});case 4:d=t.node;return a(a({},f(d)),{name:d.text,kind:"var",displayParts:[e.displayPart(e.getTextOfNode(d),e.SymbolDisplayPartKind.stringLiteral)]});case 5:return{textSpan:e.createTextSpanFromRange(t.reference),sourceFile:t.file,name:t.reference.fileName,kind:"string",displayParts:[e.displayPart('"'+t.reference.fileName+'"',e.SymbolDisplayPartKind.stringLiteral)]};default:return e.Debug.assertNever(t)}}(),o=i.sourceFile,s=i.textSpan,u=i.name,d=i.kind,p=i.displayParts,g=i.context;return a({containerKind:"",containerName:"",fileName:o.fileName,kind:d,name:u,textSpan:s,displayParts:p},l(s,o,g))}(r,t,u)})),references:i.map(g)}})):void 0},t.getImplementationsAtPosition=function(t,r,n,o,s){var c,l=e.getTouchingPropertyName(o,s),d=u(t,r,n,l,s);if(202===l.parent.kind||199===l.parent.kind||203===l.parent.kind||106===l.kind)c=d&&i([],d);else for(var p=d&&i([],d),f=new e.Map;p&&p.length;){var g=p.shift();if(e.addToSeen(f,e.getNodeId(g.node))){c=e.append(c,g);var h=u(t,r,n,g.node,g.node.pos);h&&p.push.apply(p,h)}}var y=t.getTypeChecker();return e.map(c,(function(t){return function(t,r){var n=_(t);if(0!==t.kind){var i=t.node;return a(a({},n),function(t,r){var n=r.getSymbolAtLocation(e.isDeclaration(t)&&t.name?t.name:t);return n?m(n,r,t):201===t.kind?{kind:"interface",displayParts:[e.punctuationPart(20),e.textPart("object literal"),e.punctuationPart(21)]}:223===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 a(a({},n),{kind:"",displayParts:[]})}(t,y)}))},t.findReferenceOrRenameEntries=function(t,n,i,a,o,s,c){return e.map(p(r.getReferencedSymbolsForNode(o,a,t,i,n,s)),(function(e){return c(e,a,t.getTypeChecker())}))},t.getReferenceEntriesForNode=d,t.toRenameLocation=function(t,r,n,i){return a(a({},_(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 l={prefixText:s+": "},u={suffixText:": "+s};if(3===a)return l;if(4===a)return u;if(c){var d=o.parent;return e.isObjectLiteralExpression(d)&&e.isBinaryExpression(d.parent)&&e.isModuleExportsAccessExpression(d.parent.left)?l:u}return l}if(e.isImportSpecifier(o)&&!o.propertyName){var p=e.isExportSpecifier(r.parent)?n.getExportSpecifierLocalTargetSymbol(r.parent):n.getSymbolAtLocation(r);return e.contains(p.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=_(e);if(0===e.kind)return{fileName:t.fileName,span:{textSpan:t.textSpan,kind:"reference"}};var r=v(e.node),n=a({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=y,function(r){function i(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),l=e.getReferencedFileLocation(n.getSourceFileByPath,s);e.isReferenceFileLocation(l)&&(i=e.append(i,{kind:0,fileName:c.fileName,textSpan:e.createTextSpanFromRange(l)}))}}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 u=t.exports.get("export="),p=l(r,t,!!u,n,o);if(!u||!o.has(c.fileName))return p;var f=r.getTypeChecker();return s(r,p,d(t=e.skipAlias(u,f),void 0,n,o,f,i,a))}}function s(t){for(var r,n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];for(var a=0,o=n;a<o.length;a++){var s=o[a];if(s&&s.length)if(r)for(var l=function(n){if(!n.definition||0!==n.definition.type)return r.push(n),"continue";var i=n.definition.symbol,a=e.findIndex(r,(function(e){return!!e.definition&&0===e.definition.type&&e.definition.symbol===i}));if(-1===a)return r.push(n),"continue";var o=r[a];r[a]={definition:o.definition,references:o.references.concat(n.references).sort((function(r,n){var i=c(t,r),a=c(t,n);if(i!==a)return e.compareValues(i,a);var o=y(r),s=y(n);return o.start!==s.start?e.compareValues(o.start,s.start):e.compareValues(o.length,s.length)}))}},u=0,d=s;u<d.length;u++){l(d[u])}else r=s}return r}function c(e,t){var r=0===t.kind?e.getSourceFile(t.fileName):t.node.getSourceFile();return e.getSourceFiles().indexOf(r)}function l(r,i,a,o,s){e.Debug.assert(!!i.valueDeclaration);var c=e.mapDefined(t.findModuleReferences(r,o,i),(function(t){if("import"===t.kind){var r=t.literal.parent;if(e.isLiteralTypeNode(r)){var i=e.cast(r.parent,e.isImportTypeNode);if(a&&!i.qualifier)return}return n(t.literal)}return{kind:0,fileName:t.referencingFile.fileName,textSpan:e.createTextSpanFromRange(t.ref)}}));if(i.declarations)for(var l=0,u=i.declarations;l<u.length;l++){switch((m=u[l]).kind){case 300:break;case 259:s.has(m.getSourceFile().fileName)&&c.push(n(m.name));break;default:e.Debug.assert(!!(33554432&i.flags),"Expected a module symbol to be declared by a SourceFile or ModuleDeclaration.")}}var d=i.exports.get("export=");if(d)for(var p=0,f=d.declarations;p<f.length;p++){var m,g=(m=f[p]).getSourceFile();if(s.has(g.fileName)){var _=e.isBinaryExpression(m)&&e.isPropertyAccessExpression(m.left)?m.left.expression:e.isExportAssignment(m)?e.Debug.checkDefined(e.findChildOfKind(m,93,g)):e.getNameOfDeclaration(m)||m;c.push(n(_))}}return c.length?[{definition:{type:0,symbol:i},references:c}]:e.emptyArray}function u(t){return 143===t.kind&&e.isTypeOperatorNode(t.parent)&&143===t.parent.operator}function d(t,r,n,i,a,o,s){var c=r&&function(t,r,n,i){var a=r.parent;if(e.isExportSpecifier(a)&&i)return A(r,t,a,n);return e.firstDefined(t.declarations,(function(i){if(!i.parent){if(33554432&t.flags)return;e.Debug.fail("Unexpected symbol at "+e.Debug.formatSyntaxKind(r.kind)+": "+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,!q(s))||t,l=r?B(r,c):7,u=[],d=new m(n,i,r?function(t){switch(t.kind){case 167:case 133:return 1;case 78:if(e.isClassLike(t.parent))return e.Debug.assert(t.parent.name===t),2;default:return 0}}(r):0,a,o,l,s,u),f=q(s)?e.find(c.declarations,e.isExportSpecifier):void 0;if(f)C(f.name,c,f,d.createSearch(r,t,void 0),d,!0,!0);else if(r&&88===r.kind)N(r,c,d),g(r,c,{exportingModuleSymbol:e.Debug.checkDefined(c.parent,"Expected export symbol to have a parent"),exportKind:1},d);else{var _=d.createSearch(r,c,void 0,{allSearchSymbols:r?M(c,r,a,2===s.use,!!s.providePrefixAndSuffixTextForRename,!!s.implementations):[c]});p(c,d,_)}return u}function p(t,r,n){var i=function(t){var r=t.declarations,n=t.flags,i=t.parent,a=t.valueDeclaration;if(a&&(209===a.kind||223===a.kind))return a;if(!r)return;if(8196&n){var o=e.find(r,(function(t){return e.hasEffectiveModifier(t,8)||e.isPrivateIdentifierPropertyDeclaration(t)}));return o?e.getAncestor(o,254):void 0}if(r.some(e.isObjectBindingElementWithoutPropertyName))return;var s,c=i&&!(262144&t.flags);if(c&&(!e.isExternalModuleSymbol(i)||i.globalExports))return;for(var l=0,u=r;l<u.length;l++){var d=u[l],p=e.getContainerNode(d);if(s&&s!==p)return;if(!p||300===p.kind&&!e.isExternalOrCommonJsModule(p))return;if(s=p,e.isFunctionExpression(s))for(var f=void 0;f=e.getNextJSDocCommentLocation(s);)s=f}return c?s.getSourceFile():s}(t);if(i)D(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(),v(s,n,r)}}var f;r.getReferencedSymbolsForNode=function(t,r,c,p,f,m,g){var _,h;if(void 0===m&&(m={}),void 0===g&&(g=new e.Set(p.map((function(e){return e.fileName})))),1===m.use?r=e.getAdjustedReferenceLocation(r):2===m.use&&(r=e.getAdjustedRenameLocation(r)),e.isSourceFile(r)){var y=e.GoToDefinition.getReferenceAtPosition(r,t,c);if(!y)return;var v=c.getTypeChecker().getMergedSymbol(y.file.symbol);if(v)return l(c,v,!1,p,g);if(!(C=c.getFileIncludeReasons()))return;return[{definition:{type:5,reference:y.reference,file:r},references:i(y.file,C,c)||e.emptyArray}]}if(!m.implementations){var b=function(t,r,i){if(e.isTypeKeyword(t.kind)){if(114===t.kind&&e.isVoidExpression(t.parent))return;if(143===t.kind&&!u(t))return;return function(t,r,i,a){var o=e.flatMap(t,(function(t){return i.throwIfCancellationRequested(),e.mapDefined(k(t,e.tokenToString(r),t),(function(e){if(e.kind===r&&(!a||a(e)))return n(e)}))}));return o.length?[{definition:{type:2,node:o[0].node},references:o}]:void 0}(r,t.kind,i,143===t.kind?u:void 0)}if(e.isJumpStatementTarget(t)){var a=e.getTargetLabel(t.parent,t.text);return a&&E(a.parent,a)}if(e.isLabelOfLabeledStatement(t))return E(t.parent,t);if(e.isThis(t))return function(t,r,i){var a=e.getThisContainer(t,!1),o=32;switch(a.kind){case 166:case 165:if(e.isObjectLiteralMethod(a))break;case 164:case 163:case 167:case 168:case 169:o&=e.getSyntacticModifierFlags(a),a=a.parent;break;case 300:if(e.isExternalModule(a)||R(t))return;case 253:case 209:break;default:return}var s=e.flatMap(300===a.kind?r:[a.getSourceFile()],(function(t){return i.throwIfCancellationRequested(),k(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 209:case 253:return a.symbol===r.symbol;case 166:case 165:return e.isObjectLiteralMethod(a)&&a.symbol===r.symbol;case 223:case 254:case 255:return r.parent&&a.symbol===r.parent.symbol&&(32&e.getSyntacticModifierFlags(r))===o;case 300:return 300===r.kind&&!e.isExternalModule(r)&&!R(t)}}))})).map((function(e){return n(e)})),c=e.firstDefined(s,(function(t){return e.isParameter(t.node.parent)?t.node:void 0}));return[{definition:{type:3,node:c||t},references:s}]}(t,r,i);if(106===t.kind)return function(t){var r=e.getSuperContainer(t,!1);if(!r)return;var i=32;switch(r.kind){case 164:case 163:case 166:case 165:case 167:case 168:case 169:i&=e.getSyntacticModifierFlags(r),r=r.parent;break;default:return}var a=r.getSourceFile(),o=e.mapDefined(k(a,"super",r),(function(t){if(106===t.kind){var a=e.getSuperContainer(t,!1);return a&&(32&e.getSyntacticModifierFlags(a))===i&&a.parent.symbol===r.symbol?n(t):void 0}}));return[{definition:{type:0,symbol:r.symbol},references:o}]}(t);return}(r,p,f);if(b)return b}var x=c.getTypeChecker(),S=x.getSymbolAtLocation(e.isConstructorDeclaration(r)&&r.parent.name||r);if(S){if("export="===S.escapedName)return l(c,S.parent,!1,p,g);var D=o(S,c,p,f,m,g);if(D&&!(33554432&S.flags))return D;var w=a(r,S,x),T=w&&o(w,c,p,f,m,g);return s(c,D,d(S,r,p,g,x,f,m),T)}if(!m.implementations&&e.isStringLiteralLike(r)){if(e.isRequireCall(r.parent,!0)||e.isExternalModuleReference(r.parent)||e.isImportDeclaration(r.parent)||e.isImportCall(r.parent)){var C=c.getFileIncludeReasons(),A=null===(h=null===(_=r.getSourceFile().resolvedModules)||void 0===_?void 0:_.get(r.text))||void 0===h?void 0:h.resolvedFileName,N=A?c.getSourceFile(A):void 0;if(N)return[{definition:{type:4,node:r},references:i(N,C,c)||e.emptyArray}]}return function(t,r,i,a){var o=e.getContextualTypeOrAncestorTypeNodeType(t,i),s=e.flatMap(r,(function(r){return a.throwIfCancellationRequested(),e.mapDefined(k(r,t.text),(function(r){if(e.isStringLiteralLike(r)&&r.text===t.text){if(!o)return n(r,2);var a=e.getContextualTypeOrAncestorTypeNodeType(r,i);if(o!==i.getStringType()&&o===a)return n(r,2)}}))}));return[{definition:{type:4,node:t},references:s}]}(r,p,x,f)}},r.getReferencesForFileName=function(t,r,n,a){var o,s;void 0===a&&(a=new e.Set(n.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=l(r,c,!1,n,a)[0])||void 0===s?void 0:s.references)||e.emptyArray;var u=r.getFileIncludeReasons(),d=r.getSourceFile(t);return d&&u&&i(d,u,r)||e.emptyArray},function(e){e[e.None=0]="None",e[e.Constructor=1]="Constructor",e[e.Class=2]="Class"}(f||(f={}));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,l=e.escapeLeadingUnderscores(o),u=this.options.implementations&&t?function(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}(t,r,this.checker):void 0;return{symbol:r,comingFrom:n,text:o,escapedText:l,parents:u,allSearchSymbols:c,includes:function(t){return e.contains(c,t)}}},r.prototype.referenceAdder=function(t){var r=e.getSymbolId(t),i=this.symbolIdToReferences[r];return i||(i=this.symbolIdToReferences[r]=[],this.result.push({definition:{type:0,symbol:t},references:i})),function(e,t){return i.push(n(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),l=0,u=o;l<u.length;l++){var d=u[l];_(d,n)&&c(d)}for(var p=0,f=a;p<f.length;p++){var m=f[p],g=m[0],h=m[1];S(g.getSourceFile(),n.createSearch(g,h,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 b=0,k=s;b<k.length;b++){v(k[b],y,n)}}}function _(t,r){return!!w(t,r)&&(2!==r.options.use||!!e.isIdentifier(t)&&!(e.isImportOrExportSpecifier(t.parent)&&"default"===t.escapedText))}function h(e,t){if(e.declarations)for(var r=0,n=e.declarations;r<n.length;r++){var i=n[r],a=i.getSourceFile();S(a,t.createSearch(i,e,0),t,t.includesSourceFile(a))}}function v(t,r,n){void 0!==e.getNameTable(t).get(r.escapedText)&&S(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=k(n,o.name,a);s<c.length;s++){var l=c[s];if(e.isIdentifier(l)&&l!==t&&l.escapedText===t.escapedText){var u=r.getSymbolAtLocation(l);if(u===o||r.getShorthandAssignmentValueSymbol(l.parent)===o||e.isExportSpecifier(l.parent)&&A(l,u,l.parent,r)===o){var d=i(l);if(d)return d}}}}function k(t,r,n){return void 0===n&&(n=t),x(t,r,n).map((function(r){return e.getTouchingPropertyName(t,r)}))}function x(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 l=c+s;0!==c&&e.isIdentifierPart(a.charCodeAt(c-1),99)||l!==o&&e.isIdentifierPart(a.charCodeAt(l),99)||i.push(c),c=a.indexOf(r,c+s+1)}return i}function E(t,r){var i=t.getSourceFile(),a=r.text,o=e.mapDefined(k(i,a,t),(function(t){return t===r||e.isJumpStatementTarget(t)&&e.getTargetLabel(t,a)===r?n(t):void 0}));return[{definition:{type:1,node:r},references:o}]}function S(e,t,r,n){return void 0===n&&(n=!0),r.cancellationToken.throwIfCancellationRequested(),D(e,e,t,r,n)}function D(e,t,r,n,i){if(n.markSearchedSymbols(t,r.allSearchSymbols))for(var a=0,o=x(t,r.text,e);a<o.length;a++){T(t,o[a],r,n,i)}}function w(t,r){return!!(e.getMeaningFromLocation(t)&r.searchMeaning)}function T(r,n,i,a,o){var s=e.getTouchingPropertyName(r,n);if(function(t,r){switch(t.kind){case 79:case 78: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(w(s,a)){var c=a.checker.getSymbolAtLocation(s);if(c){var l=s.parent;if(!e.isImportSpecifier(l)||l.propertyName!==s){if(e.isExportSpecifier(l))return e.Debug.assert(78===s.kind),void C(s,c,l,i,a,o);var u=function(t,r,n,i){var a=i.checker;return L(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 O(e.parent,t,i.inheritsFromCache,a)})))}))}(i,c,s,a);if(u){switch(a.specialSearchKind){case 0:o&&N(s,u,a);break;case 1:!function(t,r,n,i){e.isNewExpressionTarget(t)&&N(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=P(t);if(i&&i.declarations)for(var a=0,o=i.declarations;a<o.length;a++){var s=o[a],c=e.findChildOfKind(s,133,r);e.Debug.assert(167===s.kind&&!!c),n(c)}t.exports&&t.exports.forEach((function(t){var r=t.valueDeclaration;if(r&&166===r.kind){var i=r.body;i&&U(i,108,(function(t){e.isNewExpressionTarget(t)&&n(t)}))}}))}(n.symbol,r,a());else{var o=(s=t,e.tryGetClassExtendingExpressionWithTypeArguments(e.climbPastPropertyAccess(s).parent));o&&(function(t,r){var n=P(t.symbol);if(!n||!n.declarations)return;for(var i=0,a=n.declarations;i<a.length;i++){var o=a[i];e.Debug.assert(167===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!!P(e.symbol)}(e))return;var r=e.symbol,n=t.createSearch(void 0,r,void 0);p(r,t,n)}(o,i))}var s}(s,r,i,a);break;case 2:!function(t,r,n){N(t,r.symbol,n);var i=t.parent;if(2===n.options.use||!e.isClassLike(i))return;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.hasSyntacticModifier(c,32)&&(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)}!function(e,r,n,i){var a=t.getImportOrExportSymbol(e,r,i.checker,1===n.comingFrom);if(!a)return;var o=a.symbol;0===a.kind?q(i.options)||h(o,i):g(e,o,a.exportInfo,i)}(s,c,i,a)}else!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)||N(s,o,n)}(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 C(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 l=i.parent,u=i.propertyName,d=i.name,p=l.parent,f=A(r,n,i,o.checker);if(c||a.includes(f)){if(u?r===u?(p.moduleSpecifier||b(),s&&2!==o.options.use&&o.markSeenReExportRHS(d)&&N(d,e.Debug.checkDefined(i.symbol),o)):o.markSeenReExportRHS(r)&&b():2===o.options.use&&"default"===d.escapedText||b(),!q(o.options)||c){var m=88===r.originalKeywordKind||88===i.name.originalKeywordKind?1:0,_=e.Debug.checkDefined(i.symbol),y=t.getExportInfo(_,m,o.checker);y&&g(r,_,y,o)}if(1!==a.comingFrom&&p.moduleSpecifier&&!u&&!q(o.options)){var v=o.checker.getExportSpecifierLocalTargetSymbol(i);v&&h(v,o)}}function b(){s&&N(r,f,o)}}function A(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 N(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)&&(i=t.parent,8388608&i.flags?!e.isInterfaceDeclaration(i)&&!e.isTypeAliasDeclaration(i):e.isVariableLike(i)?e.hasInitializer(i):e.isFunctionLikeDeclaration(i)?i.body:e.isClassLike(i)||e.isModuleOrEnumDeclaration(i)))return void r(t);var i;if(78!==t.kind)return;292===t.parent.kind&&z(t,n.checker,r);var a=I(t);if(a)return void r(a);var o=e.findAncestor(t,(function(t){return!e.isQualifiedName(t.parent)&&!e.isTypeNode(t.parent)&&!e.isTypeElement(t.parent)})),s=o.parent;if(e.hasType(s)&&s.type===o&&n.markSeenContainingTypeReference(s))if(e.hasInitializer(s))l(s.initializer);else if(e.isFunctionLike(s)&&s.body){var c=s.body;232===c.kind?e.forEachReturnStatement(c,(function(e){e.expression&&l(e.expression)})):l(c)}else e.isAssertionExpression(s)&&l(s.expression);function l(e){F(e)&&r(e)}}(t,s,n):s(t,a)}function P(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 F(e){switch(e.kind){case 208:return F(e.expression);case 210:case 209:case 201:case 223:case 200:return!0;default:return!1}}function O(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&&O(t.symbol,r,n,i)}))}));return n.set(a,s),s}function R(e){return 78===e.kind&&161===e.parent.kind&&e.parent.name===e}function M(e,t,r,n,i,a){var o=[];return L(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 L(t,r,n,i,o,s,c){var l=e.getContainingObjectLiteralElement(r);if(l){var u=n.getShorthandAssignmentValueSymbol(r.parent);if(u&&i)return s(u,void 0,void 0,3);var d=n.getContextualType(l.parent),p=d&&e.firstDefined(e.getPropertySymbolsFromContextualType(l,n,d,!0),(function(e){return S(e,4)}));if(p)return p;var f=function(t,r){return e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent.parent)?r.getPropertySymbolOfDestructuringAssignment(t):void 0}(r,n),m=f&&s(f,void 0,void 0,4);if(m)return m;var g=u&&s(u,void 0,void 0,3);if(g)return g}var _=a(r,t,n);if(_){var h=s(_,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 b=e.getDeclarationOfKind(t,273);if(!i||b&&!b.propertyName){var k=b&&n.getExportSpecifierLocalTargetSymbol(b);if(k){var x=s(k,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:D(t,n))&&S(E,4)}if(e.Debug.assert(i),o)return(E=D(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 D(t,r){var n=e.getDeclarationOfKind(t,199);if(n&&e.isObjectBindingElementWithoutPropertyName(n))return e.getPropertySymbolFromBindingElement(r,n)}}function j(t){return!!t.valueDeclaration&&!!(32&e.getEffectiveModifierFlags(t.valueDeclaration))}function B(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],l=e.getMeaningFromDeclaration(c);l&n&&(n|=l)}}while(n!==a)}return n}function z(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(e){return 2===e.use&&e.providePrefixAndSuffixTextForRename}r.eachExportReference=function(r,n,i,a,o,s,c,l){for(var u=t.createImportTracker(r,new e.Set(r.map((function(e){return e.fileName}))),n,i)(a,{exportKind:c?1:0,exportingModuleSymbol:o},!1),d=u.importSearches,p=u.indirectUsers,f=0,m=d;f<m.length;f++){l(m[f][0])}for(var g=0,_=p;g<_.length;g++)for(var h=0,y=k(_[g],c?"default":s);h<y.length;h++){var v=y[h];e.isIdentifier(v)&&!e.isImportOrExportSpecifier(v.parent)&&n.getSymbolAtLocation(v)===a&&l(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,l=k(s[o],a.name);c<l.length;c++){var u=l[c];if(e.isIdentifier(u)&&u!==t.name&&u.escapedText===t.name.escapedText){var d=e.climbPastPropertyAccess(u),p=e.isCallExpression(d.parent)&&d.parent.expression===d?d.parent:void 0,f=n.getSymbolAtLocation(u);if(f&&n.getRootSymbols(f).some((function(e){return e===a}))&&i(u,p))return!0}}return!1},r.getIntersectingMeaningFromDeclarations=B,r.getReferenceEntriesForShorthandPropertyAssignment=z}(r=t.Core||(t.Core={}))}(e.FindAllReferences||(e.FindAllReferences={}))}(d||(d={})),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.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.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 l(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 l=void 0,u=0,d=e.map(o,(function(e){return a.declarations[e]}));u<d.length;u++){var p=d[u];i(p)&&(l&&l.parent===p.parent&&l.end===p.pos||(n=e.append(n,p)),l=p)}}return n}function u(t,r){var n,i,a;return e.isFunctionLikeDeclaration(r)?null!==(i=null!==(n=c(t,r))&&void 0!==n?n:l(t,r))&&void 0!==i?i:r:null!==(a=l(t,r))&&void 0!==a?a:r}function d(t,a){for(var o=t.getTypeChecker(),s=!1;;){if(i(a))return u(o,a);var c;if(n(a))return(c=e.findAncestor(a,i))&&u(o,c);if(e.isDeclarationName(a))return i(a.parent)?u(o,a.parent):n(a.parent)?(c=e.findAncestor(a.parent,i))&&u(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(e.isVariableDeclaration(a)&&a.initializer&&r(a.initializer))return a.initializer;if(!s){var l=o.getSymbolAtLocation(a);if(l&&(2097152&l.flags&&(l=o.getAliasedSymbol(l)),l.valueDeclaration)){s=!0,a=l.valueDeclaration;continue}}return}}function p(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()}}var a=r(n)?n.parent.name:e.Debug.checkDefined(e.getNameOfDeclaration(n),"Expected call hierarchy item to have a name"),s=e.isIdentifier(a)?e.idText(a):e.isStringOrNumericLiteralLike(a)?a.text:e.isComputedPropertyName(a)&&e.isStringOrNumericLiteralLike(a.expression)?a.expression.text:void 0;if(void 0===s){var c=t.getTypeChecker(),l=c.getSymbolAtLocation(a);l&&(s=c.symbolToString(l,n))}if(void 0===s){var u=e.createPrinter({removeComments:!0,omitTrailingSemicolon:!0});s=e.usingSingleLineStringWriter((function(e){return u.writeNode(4,n,n.getSourceFile(),e)}))}return{text:s,pos:a.getStart(),end:a.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 168:case 169:case 166:return 201===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 253:case 254:case 255:case 259:if(e.isModuleBlock(t.parent)&&e.isIdentifier(t.parent.parent.name))return t.parent.parent.name.getText()}}(n),c=e.getNodeKind(n),l=e.getNodeModifiers(n),u=e.createTextSpanFromBounds(e.skipTrivia(i.text,n.getFullStart(),!1,!0),n.getEnd()),d=e.createTextSpanFromBounds(a.pos,a.end);return{file:i.fileName,kind:c,kindModifiers:l,name:a.text,containerName:s,span:u,selectionSpan:d}}function f(e){return void 0!==e}function m(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 g(t){return e.getNodeId(t.declaration)}function _(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)?n:n.expression,a=d(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 l=c[s];r.push({declaration:l,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)}}else{switch(r.kind){case 78:case 263:case 264:case 270:case 256:case 257:return;case 207:case 226:return void t(r.expression);case 251:case 161:return t(r.name),void t(r.initializer);case 204:case 205:return n(r),t(r.expression),void e.forEach(r.arguments,t);case 206:return n(r),t(r.tag),void t(r.template);case 278:case 277:return n(r),t(r.tagName),void t(r.attributes);case 162:return n(r),void t(r.expression);case 202:case 203:n(r),e.forEachChild(r,t)}e.isPartOfTypeNode(r)||e.forEachChild(r,t)}}}(t,n);switch(r.kind){case 300:!function(t,r){e.forEach(t.statements,r)}(r,a);break;case 259:!function(t,r){!e.hasSyntacticModifier(t,2)&&t.body&&e.isModuleBlock(t.body)&&e.forEach(t.body.statements,r)}(r,a);break;case 253:case 209:case 210:case 166:case 168:case 169:!function(t,r,n){var i=c(t,r);i&&(e.forEach(i.parameters,n),n(i.body))}(t.getTypeChecker(),r,a);break;case 254:case 223:case 255:!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))}}(r,a);break;default:e.Debug.assertNever(r)}return n}t.resolveCallHierarchyDeclaration=d,t.createCallHierarchyItem=p,t.getIncomingCalls=function(t,r,n){if(e.isSourceFile(r)||e.isModuleDeclaration(r))return[];var i=a(r),o=e.filter(e.FindAllReferences.findReferenceOrRenameEntries(t,n,t.getSourceFiles(),i,0,{use:1},m),f);return o?e.group(o,g,(function(r){return function(t,r){return n=p(t,r[0].declaration),i=e.map(r,(function(t){return e.createTextSpanFromRange(t.range)})),{from:n,fromSpans:i};var n,i}(t,r)})):[]},t.getOutgoingCalls=function(t,r){return 8388608&r.flags||e.isMethodSignature(r)?[]:e.group(_(t,r),g,(function(r){return function(t,r){return n=p(t,r[0].declaration),i=e.map(r,(function(t){return e.createTextSpanFromRange(t.range)})),{to:n,fromSpans:i};var n,i}(t,r)}))}}(e.CallHierarchy||(e.CallHierarchy={}))}(d||(d={})),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,a){if(r){if(r.resolvedModule){var o=l(r.resolvedModule.resolvedFileName);if(o)return o}var s=e.forEach(r.failedLookupLocations,(function(t){var r=n(t);return r&&e.find(i,(function(e){return e.fileName===r}))?c(t):void 0}))||e.pathIsRelative(t.text)&&e.forEach(r.failedLookupLocations,c);return s||r.resolvedModule&&{newFileName:r.resolvedModule.resolvedFileName,updated:!1}}function c(t){return e.endsWith(t,e.isOhpm(a)?"/oh-package.json5":"/package.json")?void 0:l(t)}function l(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,l,u,d,p){var f=e.hostUsesCaseSensitiveFileNames(l),m=e.createGetCanonicalFileName(f),g=t(s,c,m,p),_=t(c,s,m,p);return e.textChanges.ChangeTracker.with({host:l,formatContext:u,preferences:d},(function(t){!function(t,n,o,s,c,l,u){var d=t.getCompilerOptions().configFile;if(!d)return;var p=e.getDirectoryPath(d.fileName),f=e.getTsConfigObjectLiteralExpression(d);if(!f)return;function m(t){for(var r=!1,n=0,i=e.isArrayLiteralExpression(t.initializer)?t.initializer.elements:[t.initializer];n<i.length;n++){r=g(i[n])||r}return r}function g(t){if(!e.isStringLiteral(t))return!1;var a=r(p,t.text),s=o(a);return void 0!==s&&(n.replaceRangeWithText(d,i(t,d),_(s)),!0)}function _(t){return e.getRelativePathFromDirectory(p,t,!u)}a(f,(function(t,r){switch(r){case"files":case"include":case"exclude":if(!m(t)&&"include"===r&&e.isArrayLiteralExpression(t.initializer)){var i=e.mapDefined(t.initializer.elements,(function(t){return e.isStringLiteral(t)?t.text:void 0})),o=e.getFileMatcherPatterns(p,[],i,u,l);e.getRegexFromPattern(e.Debug.checkDefined(o.includeFilePattern),u).test(s)&&!e.getRegexFromPattern(e.Debug.checkDefined(o.includeFilePattern),u).test(c)&&n.insertNodeAfter(d,e.last(t.initializer.elements),e.factory.createStringLiteral(_(c)))}break;case"compilerOptions":a(t.initializer,(function(t,r){var n=e.getOptionFromName(r);n&&(n.isFilePath||"list"===n.type&&n.element.isFilePath)?m(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++){g(n[r])}}))}))}}))}(o,t,g,s,c,l.getCurrentDirectory(),f),function(t,a,o,s,c,l){for(var u=t.getSourceFiles(),d=function(d){var p=o(d.fileName),f=null!=p?p:d.fileName,m=e.getDirectoryPath(f),g=s(d.fileName),_=g||d.fileName,h=e.getDirectoryPath(_),y=void 0!==p||void 0!==g;!function(t,r,n,a){for(var o=0,s=t.referencedFiles||e.emptyArray;o<s.length;o++){var c=s[o];void 0!==(d=n(c.fileName))&&d!==t.text.slice(c.pos,c.end)&&r.replaceRangeWithText(t,c,d)}for(var l=0,u=t.imports;l<u.length;l++){var d,p=u[l];void 0!==(d=a(p))&&d!==p.text&&r.replaceRangeWithText(t,i(p,t),d)}}(d,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(m,i,l))}}),(function(r){var i=t.getTypeChecker().getSymbolAtLocation(r);if(!i||!i.declarations.some((function(t){return e.isAmbientModule(t)}))){var a=void 0!==g?n(r,e.resolveModuleName(r.text,_,t.getCompilerOptions(),c),o,u,t.getCompilerOptions().packageManagerType):function(t,r,i,a,o,s){if(t){var c=e.find(t.declarations,e.isSourceFile).fileName,l=s(c);return void 0===l?{newFileName:c,updated:!1}:{newFileName:l,updated:!0}}return n(r,o.resolveModuleNames?o.getResolvedModuleWithFailedLookupLocationsFromCache&&o.getResolvedModuleWithFailedLookupLocationsFromCache(r.text,i.fileName):a.getResolvedModuleWithFailedLookupLocationsFromCache(r.text,i.fileName),s,a.getSourceFiles(),a.getCompilerOptions().packageManagerType)}(i,r,d,t,c,o);return void 0!==a&&(a.updated||y&&e.pathIsRelative(r.text))?e.moduleSpecifiers.updateModuleSpecifier(t.getCompilerOptions(),l(f),a.newFileName,e.createModuleSpecifierResolutionHost(t,c),r.text):void 0}}))},p=0,f=u;p<f.length;p++){d(f[p])}}(o,t,g,_,l,m)}))},e.getPathUpdater=t}(d||(d={})),function(e){!function(t){function r(t,r,a){var o,d,p,f=n(r,a,t);if(f)return[(d=f.reference.fileName,p=f.file.fileName,{fileName:p,textSpan:e.createTextSpanFromBounds(0,0),kind:"script",name:d,containerName:void 0,containerKind:void 0})];var m=e.getTouchingPropertyName(r,a);if(m!==r){var g=m.parent,_=t.getTypeChecker();if(e.isJumpStatementTarget(m)){var h=e.getTargetLabel(m.parent,m.text);return h?[l(_,h,"label",m.text,void 0)]:void 0}var y=function(t,r){var n=r.getSymbolAtLocation(t);if(n&&2097152&n.flags&&function(t,r){if(78!==t.kind)return!1;if(t.parent===r)return!0;switch(r.kind){case 265:case 263:return!0;case 268:return 267===r.parent.kind;case 199:case 251:return e.isInJSFile(r)&&e.isRequireVariableDeclaration(r,!0);default:return!1}}(t,n.declarations[0])){var i=r.getAliasedSymbol(n);if(i.declarations)return i}return n}(m,_);if(!y)return function(t,r){if(!e.isPropertyAccessExpression(t.parent)||t.parent.name!==t)return;var n=r.getTypeAtLocation(t.parent.expression);return e.mapDefined(n.isUnionOrIntersection()?n.types:[n],(function(e){var t=r.getIndexInfoOfType(e,0);return t&&t.declaration&&u(r,t.declaration)}))}(m,_);if(204===g.kind||211===g.kind&&e.isCalledStructDeclaration(y.getDeclarations())){var v=y.getDeclarations();if((null==v?void 0:v.length)&&255===v[0].kind)return s(_,y,m)}var b=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)}))}(_,m),k=t.getCompilerOptions();if(b&&(!e.isJsxOpeningLikeElement(m.parent)||!function(e){switch(e.kind){case 167:case 176:case 171:return!0;default:return!1}}(b))&&!e.isVirtualConstructor(_,b.symbol,b)){var x=u(_,b);if(_.getRootSymbols(y).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,b)})))return[x];if(e.isIdentifier(m)&&e.isNewExpression(g)&&(null===(o=k.ets)||void 0===o?void 0:o.components.some((function(e){return e===m.escapedText.toString()}))))return[x];var E=s(_,y,m,b)||e.emptyArray;return e.isIdentifier(m)&&e.isEtsComponentExpression(g)?i([],E):106===m.kind?i([x],E):i(i([],E),[x])}if(292===m.parent.kind){var S=_.getShorthandAssignmentValueSymbol(y.valueDeclaration);return S?S.declarations.map((function(e){return c(e,_,S,m)})):[]}if(e.isPropertyName(m)&&e.isBindingElement(g)&&e.isObjectBindingPattern(g.parent)&&m===(g.propertyName||g.name)){var D=e.getNameFromPropertyName(m),w=_.getTypeAtLocation(g.parent);return void 0===D?e.emptyArray:e.flatMap(w.isUnion()?w.types:[w],(function(e){var t=e.getProperty(D);return t&&s(_,t,m)}))}var T=e.getContainingObjectLiteralElement(m);if(T){var C=T&&_.getContextualType(T.parent);if(C)return e.flatMap(e.getPropertySymbolsFromContextualType(T,_,C,!1),(function(e){return s(_,e,m)}))}return s(_,y,m)}}function n(e,t,r){var n=d(e.referencedFiles,t);if(n)return(o=r.getSourceFileFromReference(e,n))&&{reference:n,file:o};var i=d(e.typeReferenceDirectives,t);if(i){var a=r.getResolvedTypeReferenceDirectives().get(i.fileName);return(o=a&&r.getSourceFile(a.resolvedFileName))&&{reference:i,file:o}}var o,s=d(e.libReferenceDirectives,t);return s?(o=r.getLibFileFromReference(s))&&{reference:s,file:o}:void 0}function o(t,r,n){return e.flatMap(!t.isUnion()||32&t.flags?[t]:t.types,(function(e){return e.symbol&&s(r,e.symbol,n)}))}function s(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)||133===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 c(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 c(e,t,r,n)})):[c(e.last(o),t,r,n)]:void 0}}}function c(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 l(r,t,o,a,s)}function l(t,r,n,i,o){var s=e.getNameOfDeclaration(r)||r,c=s.getSourceFile(),l=e.createTextSpanFromNode(s,c);return a(a({fileName:c.fileName,textSpan:l,kind:n,name:i,containerKind:void 0,containerName:o},e.FindAllReferences.toContextSpan(l,c,e.FindAllReferences.getContextNode(r))),{isLocal:!t.isDeclarationVisible(r)})}function u(e,t){return c(t,e,t.symbol,t)}function d(t,r){return e.find(t,(function(t){return e.textRangeContainsPositionInclusive(t,r)}))}t.getDefinitionAtPosition=r,t.getReferenceAtPosition=n,t.getTypeDefinitionAtPosition=function(t,r,n){var i=e.getTouchingPropertyName(r,n);if(i!==r){var a=t.getSymbolAtLocation(i);if(a){var s=t.getTypeOfSymbolAtLocation(a,i),c=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))}return}(a,s,t),l=c&&o(c,t,i);return l&&0!==l.length?l:o(s,t,i)}}},t.getDefinitionAndBoundSpan=function(t,n,i){var a=r(t,n,i);if(a&&0!==a.length){var o=d(n.referencedFiles,i)||d(n.typeReferenceDirectives,i)||d(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=d}(e.GoToDefinition||(e.GoToDefinition={}))}(d||(d={})),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","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 a(e){var t=e.comment;switch(e.kind){case 319:case 318:return n(e.class);case 333:return i(e.typeParameters.map((function(e){return e.getText()})).join(", "));case 332:return n(e.typeExpression);case 334:case 327:case 336:case 329:case 335:var r=e.name;return r?n(r):t;default:return t}function n(e){return i(e.getText())}function i(e){return void 0===t?e:e+" "+t}}function o(t){return{name:t,kind:"",kindModifiers:"",displayParts:[e.textPart(t)],documentation:e.emptyArray,tags:void 0,codeActions:void 0}}function s(t,r){switch(t.kind){case 253:case 209:case 166:case 167:case 165:case 210:var n=t;return{commentOwner:t,parameters:n.parameters,hasReturn:c(n,r)};case 291:return s(t.initializer,r);case 254:case 255:case 256:case 163:case 258:case 294:case 257:return{commentOwner:t};case 234:var i=t.declarationList.declarations,a=1===i.length&&i[0].initializer?function(t){for(;208===t.kind;)t=t.expression;switch(t.kind){case 209:case 210:return t;case 223:return e.find(t.members,e.isConstructorDeclaration)}}(i[0].initializer):void 0;return a?{commentOwner:t,parameters:a.parameters,hasReturn:c(a,r)}:{commentOwner:t};case 300:return"quit";case 259:return 259===t.parent.kind?void 0:{commentOwner:t};case 235:return s(t.expression,r);case 218:var o=t;return 0===e.getAssignmentDeclarationKind(o)?"quit":e.isFunctionLike(o.right)?{commentOwner:t,parameters:o.right.parameters,hasReturn:c(o.right,r)}:{commentOwner:t};case 164:var l=t.initializer;if(l&&(e.isFunctionExpression(l)||e.isArrowFunction(l)))return{commentOwner:t,parameters:l.parameters,hasReturn:c(l,r)}}}function c(t,r){return!!(null==r?void 0: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){var r=[];return e.forEachUnique(t,(function(t){for(var n=0,i=function(t){switch(t.kind){case 329:case 336:return[t];case 327:case 334:return[t,t.parent];default:return e.getJSDocCommentsAndTags(t)}}(t);n<i.length;n++){var a=i[n].comment;void 0!==a&&e.pushIfUnique(r,a)}})),e.intersperse(e.map(r,e.textPart),e.lineBreakPart())},t.getJsDocTagsFromDeclarations=function(t){var r=[];return e.forEachUnique(t,(function(t){for(var n=0,i=e.getJSDocTags(t);n<i.length;n++){var o=i[n];r.push({name:o.tagName.text,text:a(o)})}})),r},t.getJSDocTagNameCompletions=function(){return r||(r=e.map(i,(function(t){return{name:t,kind:"keyword",kindModifiers:"",sortText:e.Completions.SortText.LocationPriority}})))},t.getJSDocTagNameCompletionDetails=o,t.getJSDocTagCompletions=function(){return n||(n=e.map(i,(function(t){return{name:"@"+t,kind:"keyword",kindModifiers:"",sortText:e.Completions.SortText.LocationPriority}})))},t.getJSDocTagCompletionDetails=o,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 c=a.getStart(r);if(o||!(c<n)){var l=function(t,r){return e.forEachAncestor(t,(function(e){return s(e,r)}))}(a,i);if(l){var u=l.commentOwner,d=l.parameters,p=l.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),m=e.hasJSFileExtension(r.fileName),g=(d?function(e,t,r,n){return e.map((function(e,i){var a=e.name,o=e.dotDotDotToken,s=78===a.kind?a.text:"param"+i;return r+" * @param "+(t?o?"{...any} ":"{any} ":"")+s+n})).join("")}(d||[],m,f,t):"")+(p?function(e,t){return e+" * @returns"+t}(f,t):"");if(g){var _="/**"+t+f+" * ";return{newText:_+t+g+f+" */"+(c===n?t+f:""),caretOffset:_.length}}return{newText:"/** */",caretOffset:3}}}}}}}(e.JsDoc||(e.JsDoc={}))}(d||(d={})),function(e){!function(t){function r(e,t){switch(e.kind){case 265:case 268:case 263: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)||159===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&&159===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,l,u){var d=e.createPatternMatcher(a);if(!d)return e.emptyArray;for(var p=[],f=function(e){if(i.throwIfCancellationRequested(),u&&e.isDeclarationFile)return"continue";e.getNamedDeclarations().forEach((function(t,i){!function(e,t,n,i,a,s){var c=e.getMatchForLastSegmentOfPattern(t);if(!c)return;for(var l=0,u=n;l<u.length;l++){var d=u[l];if(r(d,i))if(e.patternContainsDots){var p=e.getFullMatch(o(d),t);p&&s.push({name:t,fileName:a,matchKind:p.kind,isCaseSensitive:p.isCaseSensitive,declaration:d})}else s.push({name:t,fileName:a,matchKind:c.kind,isCaseSensitive:c.isCaseSensitive,declaration:d})}}(d,i,t,n,e.fileName,p)}))},m=0,g=t;m<g.length;m++){f(g[m])}return p.sort(s),(void 0===l?p:p.slice(0,l)).map(c)}}(e.NavigateTo||(e.NavigateTo={}))}(d||(d={})),function(e){!function(t){var r,n,i,o,s,c=/\s+/g,l=150,u=[],d=[],p=[];function f(){i=void 0,n=void 0,u=[],o=void 0,p=[]}function m(e){return G(e.getText(i))}function g(e){return e.node.kind}function _(e,t){e.children?e.children.push(t):e.children=[t]}function h(t){e.Debug.assert(!u.length);var r={node:t,name:void 0,additionalNodes:void 0,parent:void 0,children:void 0,indent:0};o=r;for(var n=0,i=t.statements;n<i.length;n++){T(i[n])}return S(),e.Debug.assert(!o&&!u.length),r}function y(e,t){_(o,v(e,t))}function v(t,r){return{node:t,name:r||(e.isDeclaration(t)||e.isExpression(t)?e.getNameOfDeclaration(t):void 0),additionalNodes:void 0,parent:o,children:void 0,indent:o.indent+1}}function b(t){s||(s=new e.Map),s.set(t,!0)}function k(e){for(var t=0;t<e;t++)S()}function x(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--){E(t,i=n[o])}return[n.length-1,n[0]]}function E(e,t){var r=v(e,t);_(o,r),u.push(o),d.push(s),s=void 0,o=r}function S(){o.children&&(C(o.children,o),O(o.children)),o=u.pop(),s=d.pop()}function D(e,t,r){E(e,r),T(t),S()}function w(t){t.initializer&&function(e){switch(e.kind){case 210:case 209:case 223:return!0;default:return!1}}(t.initializer)?(E(t),e.forEachChild(t.initializer,T),S()):D(t,t.initializer)}function T(t){var r;if(n.throwIfCancellationRequested(),t&&!e.isToken(t))switch(t.kind){case 167:var i=t;D(i,i.body);for(var a=0,o=i.parameters;a<o.length;a++){var c=o[a];e.isParameterPropertyDeclaration(c,i)&&y(c)}break;case 166:case 168:case 169:case 165:e.hasDynamicName(t)||D(t,t.body);break;case 164:e.hasDynamicName(t)||w(t);break;case 163:e.hasDynamicName(t)||y(t);break;case 265:var l=t;l.name&&y(l.name);var u=l.namedBindings;if(u)if(266===u.kind)y(u);else for(var d=0,p=u.elements;d<p.length;d++){y(p[d])}break;case 292:D(t,t.name);break;case 293:var f=t.expression;e.isIdentifier(f)?y(t,f):y(t);break;case 199:case 291:case 251:var m=t;e.isBindingPattern(m.name)?T(m.name):w(m);break;case 253:var g=t.name;g&&e.isIdentifier(g)&&b(g.text),D(t,t.body);break;case 210:case 209:D(t,t.body);break;case 258:E(t);for(var _=0,h=t.members;_<h.length;_++){J(A=h[_])||y(A)}S();break;case 254:case 223:case 255:case 256:E(t);for(var v=0,C=t.members;v<C.length;v++){var A;T(A=C[v])}S();break;case 259:D(t,q(t).body);break;case 269:var N=t.expression;(m=e.isObjectLiteralExpression(N)||e.isCallExpression(N)?N:e.isArrowFunction(N)||e.isFunctionExpression(N)?N.body:void 0)?(E(t),T(m),S()):y(t);break;case 273:case 263:case 172:case 170:case 171:case 257:y(t);break;case 204:case 218:var P=e.getAssignmentDeclarationKind(t);switch(P){case 1:case 2:return void D(t,t.right);case 6:case 3:var I=(B=t).left,F=3===P?I.expression:I,O=0,R=void 0;return e.isIdentifier(F.expression)?(b(F.expression.text),R=F.expression):(O=(r=x(B,F.expression))[0],R=r[1]),6===P?e.isObjectLiteralExpression(B.right)&&B.right.properties.length>0&&(E(B,R),e.forEachChild(B.right,T),S()):e.isFunctionExpression(B.right)||e.isArrowFunction(B.right)?D(t,B.right,R):(E(B,R),D(t,B.right,I.name),S()),void k(O);case 7:case 9:var M=t,L=(R=7===P?M.arguments[0]:M.arguments[0].expression,M.arguments[1]),j=x(t,R);O=j[0];return E(t,j[1]),E(t,e.setTextRange(e.factory.createIdentifier(L.text),L)),T(t.arguments[2]),S(),S(),void k(O);case 5:var B,z=(I=(B=t).left).expression;if(e.isIdentifier(z)&&"prototype"!==e.getElementOrPropertyAccessName(I)&&s&&s.has(z.text))return void(e.isFunctionExpression(B.right)||e.isArrowFunction(B.right)?D(t,B.right,z):e.isBindableStaticAccessExpression(I)&&(E(B,z),D(B.left,B.right,e.getNameOrArgument(I)),S()));break;case 4:case 0:case 8:break;default:e.Debug.assertNever(P)}default:e.hasJSDocNodes(t)&&e.forEach(t.jsDoc,(function(t){e.forEach(t.tags,(function(t){e.isJSDocTypeAlias(t)&&y(t)}))})),e.forEachChild(t,T)}}function C(t,r){var n=new e.Map;e.filterMutate(t,(function(t,i){var a=t.name||e.getNameOfDeclaration(t.node),o=a&&m(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,l=s;c<l.length;c++){var u;if(N(u=l[c],t,i,r))return!1}return s.push(t),!0}return!N(u=s,t,i,r)&&(n.set(o,[u,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(g(e)){case 254:case 223:case 255:case 258:case 256:case 259:case 300:case 257:case 334:case 327:return!0;case 210:case 253:case 209:return t(e);default:return!1}function t(e){if(!e.node.body)return!1;switch(g(e.parent)){case 260:case 300:case 166:case 167:return!0;default:return!1}}}}(h(t)),B)}finally{f()}},t.getNavigationTree=function(e,t){n=t,i=e;try{return j(h(e))}finally{f()}};var A=((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 N(t,r,n,i){return!!function(t,r,n,i){function o(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(A[s]&&A[c]||o(t.node)&&A[s]||o(r.node)&&A[c]||e.isClassDeclaration(t.node)&&P(t.node)&&A[s]||e.isClassDeclaration(r.node)&&A[c]||e.isClassDeclaration(t.node)&&P(t.node)&&o(r.node)||e.isClassDeclaration(r.node)&&o(t.node)&&P(t.node)){var l=t.additionalNodes&&e.lastOrUndefined(t.additionalNodes)||t.node;if(!e.isClassDeclaration(t.node)&&!e.isClassDeclaration(r.node)||o(t.node)||o(r.node)){var u=o(t.node)?t.node:o(r.node)?r.node:void 0;if(void 0!==u){var d=v(e.setTextRange(e.factory.createConstructorDeclaration(void 0,void 0,[],void 0),u));d.indent=t.indent+1,d.children=t.node===u?t.children:r.children,t.children=t.node===u?e.concatenate([d],r.children||[r]):e.concatenate(t.children||[a({},t)],[d])}else(t.children||r.children)&&(t.children=e.concatenate(t.children||[a({},t)],r.children||[r]),t.children&&(C(t.children,t),O(t.children)));l=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&&C(t.children,t);var p=r.node;return i.children[n-1].node.end===l.end?e.setTextRange(l,{pos:l.pos,end:p.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&&(!I(t,n)||!I(r,n)))return!1;switch(t.kind){case 164:case 166:case 168:case 169:return e.hasSyntacticModifier(t,32)===e.hasSyntacticModifier(r,32);case 259:return F(t,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&&(C(t.children,t),O(t.children))}(t,r),!0)}function P(e){return!!(8&e.flags)}function I(t,r){var n=e.isModuleBlock(t.parent)?t.parent.parent:t.parent;return n===r.node||e.contains(r.additionalNodes,n)}function F(e,t){return e.body.kind===t.body.kind&&(259!==e.body.kind||F(e.body,t.body))}function O(e){e.sort(R)}function R(t,r){return e.compareStringsCaseSensitiveUI(M(t.node),M(r.node))||e.compareValues(g(t),g(r))}function M(t){if(259===t.kind)return U(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 209:case 210:case 223:return K(t);default:return}}function L(t,r){if(259===t.kind)return G(U(t));if(r){var n=e.isIdentifier(r)?r.text:e.isElementAccessExpression(r)?"["+m(r.argumentExpression)+"]":m(r);if(n.length>0)return G(n)}switch(t.kind){case 300:var i=t;return e.isExternalModule(i)?'"'+e.escapeString(e.getBaseFileName(e.removeFileExtension(e.normalizePath(i.fileName))))+'"':"<global>";case 269:return e.isExportAssignment(t)&&t.isExportEquals?"export=":"default";case 210:case 253:case 209:case 254:case 223:case 255:return 512&e.getSyntacticModifierFlags(t)?"default":K(t);case 167:return"constructor";case 171:return"new()";case 170:return"()";case 172:return"[]";default:return"<unknown>"}}function j(t){return{text:L(t.node,t.name),kind:e.getNodeKind(t.node),kindModifiers:H(t.node),spans:z(t),nameSpan:t.name&&V(t.name),childItems:e.map(t.children,j)}}function B(t){return{text:L(t.node,t.name),kind:e.getNodeKind(t.node),kindModifiers:H(t.node),spans:z(t),childItems:e.map(t.children,(function(t){return{text:L(t.node,t.name),kind:e.getNodeKind(t.node),kindModifiers:e.getNodeModifiers(t.node),spans:z(t),childItems:p,indent:0,bolded:!1,grayed:!1}}))||p,indent:t.indent,bolded:!1,grayed:!1}}function z(e){var t=[V(e.node)];if(e.additionalNodes)for(var r=0,n=e.additionalNodes;r<n.length;r++){var i=n[r];t.push(V(i))}return t}function U(t){if(e.isAmbientModule(t))return e.getTextOfNode(t.name);for(var r=[e.getTextOfIdentifierOrLiteral(t.name)];t.body&&259===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 J(e){return!e.name||159===e.name.kind}function V(t){return 300===t.kind?e.createTextSpanFromRange(t):e.createTextSpanFromNode(t,i)}function H(t){return t.parent&&251===t.parent.kind&&(t=t.parent),e.getNodeModifiers(t)}function K(t){var r=t.parent;if(t.name&&e.getFullWidth(t.name)>0)return G(e.declarationNameToString(t.name));if(e.isVariableDeclaration(r))return G(e.declarationNameToString(r.name));if(e.isBinaryExpression(r)&&62===r.operatorToken.kind)return m(r.left).replace(c,"");if(e.isPropertyAssignment(r))return m(r.name);if(512&e.getSyntacticModifierFlags(t))return"default";if(e.isClassLike(t))return"<class>";if(e.isCallExpression(r)){var n=W(r.expression);if(void 0!==n)return(n=G(n)).length>l?n+" callback":n+"("+G(e.mapDefined(r.arguments,(function(t){return e.isStringLiteralLike(t)?t.getText(i):void 0})).join(", "))+") callback"}return"<function>"}function W(t){if(e.isIdentifier(t))return t.text;if(e.isPropertyAccessExpression(t)){var r=W(t.expression),n=t.name.text;return void 0===r?n:r+"."+n}}function G(e){return(e=e.length>l?e.substring(0,l)+"...":e).replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}}(e.NavigationBar||(e.NavigationBar={}))}(d||(d={})),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,l=s.importClause,u=l.name,d=l.namedBindings;u&&c.defaultImports.push(s),d&&(e.isNamespaceImport(d)?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,l=[];i&&l.push(i);for(var d=0,p=[c,a];d<p.length;d++){var f=p[d],m=f===a,g=f.defaultImports,_=f.namespaceImports,h=f.namedImports;if(m||1!==g.length||1!==_.length||0!==h.length){for(var y=0,v=e.stableSort(_,(function(e,t){return u(e.importClause.namedBindings.name,t.importClause.namedBindings.name)}));y<v.length;y++){var b=v[y];l.push(o(b,void 0,b.importClause.namedBindings))}if(0!==g.length||0!==h.length){var k=void 0,x=[];if(1===g.length)k=g[0].importClause.name;else for(var E=0,S=g;E<S.length;E++){C=S[E];x.push(e.factory.createImportSpecifier(e.factory.createIdentifier("default"),C.importClause.name))}x.push.apply(x,e.flatMap(h,(function(e){return e.importClause.namedBindings.elements})));var D=s(x),w=g.length>0?g[0]:h[0],T=0===D.length?k?void 0:e.factory.createNamedImports(e.emptyArray):0===h.length?e.factory.createNamedImports(D):e.factory.updateNamedImports(h[0].importClause.namedBindings,D);m&&k&&T?(l.push(o(w,k,void 0)),l.push(o(null!==(r=h[0])&&void 0!==r?r:w,void 0,T))):l.push(o(w,k,T))}}else{var C=g[0];l.push(o(C,C.importClause.name,_[0].importClause.namedBindings))}}return l}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,l=[i,a];c<l.length;c++){var u=l[c];if(0!==u.length){var d=[];d.push.apply(d,e.flatMap(u,(function(t){return t.exportClause&&e.isNamedExports(t.exportClause)?t.exportClause.elements:e.emptyArray})));var p=s(d),f=u[0];o.push(e.factory.updateExportDeclaration(f,f.decorators,f.modifiers,f.isTypeOnly,f.exportClause&&(e.isNamedExports(f.exportClause)?e.factory.updateNamedExports(f.exportClause,p):e.factory.updateNamespaceExport(f.exportClause,f.exportClause.name)),f.moduleSpecifier))}}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)}function s(t){return e.stableSort(t,c)}function c(e,t){return u(e.propertyName||e.name,t.propertyName||t.name)||u(e.name,t.name)}function l(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 u(t,r){return e.compareStringsCaseInsensitive(t.text,r.text)}function d(t){var r;switch(t.kind){case 263:return null===(r=e.tryCast(t.moduleReference,e.isExternalModuleReference))||void 0===r?void 0:r.expression;case 264:return t.moduleSpecifier;case 234:return t.declarationList.declarations[0].initializer.arguments[0]}}function p(t,r){return l(d(t),d(r))||function(t,r){return e.compareValues(f(t),f(r))}(t,r)}function f(e){var t;switch(e.kind){case 264:return e.importClause?e.importClause.isTypeOnly?1:266===(null===(t=e.importClause.namedBindings)||void 0===t?void 0:t.kind)?2:e.importClause.name?3:4:0;case 263:return 5;case 234:return 6}}t.organizeImports=function(t,s,c,u,d){var f=e.textChanges.ChangeTracker.fromContext({host:c,formatContext:s,preferences:d}),m=function(n){return e.stableSort(i(function(t,n,i){for(var a=i.getTypeChecker(),s=a.getJsxNamespace(n),c=a.getJsxFragmentFactory(n),l=!!(2&n.transformFlags),u=[],d=0,p=t;d<p.length;d++){var f=p[d],m=f.importClause,g=f.moduleSpecifier;if(m){var _=m.name,h=m.namedBindings;if(_&&!v(_)&&(_=void 0),h)if(e.isNamespaceImport(h))v(h.name)||(h=void 0);else{var y=h.elements.filter((function(e){return v(e.name)}));y.length<h.elements.length&&(h=y.length?e.factory.updateNamedImports(h,y):void 0)}_||h?u.push(o(f,_,h)):r(n,g)&&(n.isDeclarationFile?u.push(e.factory.createImportDeclaration(f.decorators,f.modifiers,void 0,g)):u.push(f))}else u.push(f)}return u;function v(t){return l&&(t.text===s||c&&t.text===c)||e.FindAllReferences.Core.isSymbolReferencedInFile(t,a,n)}}(n,t,u)),(function(e,t){return p(e,t)}))};y(t.statements.filter(e.isImportDeclaration),m),y(t.statements.filter(e.isExportDeclaration),a);for(var g=0,_=t.statements.filter(e.isAmbientModule);g<_.length;g++){var h=_[g];if(h.body)y(h.body.statements.filter(e.isImportDeclaration),m),y(h.body.statements.filter(e.isExportDeclaration),a)}return f.getChanges();function y(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 l(e[0].moduleSpecifier,t[0].moduleSpecifier)})),u=e.flatMap(o,(function(e){return n(e[0].moduleSpecifier)?i(e):e}));0===u.length?f.delete(t,r[0]):f.replaceNodeWithNodes(t,r[0],u,{leadingTriviaOption:e.textChanges.LeadingTriviaOption.Exclude,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Include,suffix:e.getNewLineOrDefaultFromHost(c,s.options)});for(var d=1;d<r.length;d++)f.deleteNode(t,r[d])}}},t.coalesceImports=i,t.coalesceExports=a,t.compareImportOrExportSpecifiers=c,t.compareModuleSpecifiers=l,t.importsAreSorted=function(t){return e.arrayIsSorted(t,p)},t.importSpecifiersAreSorted=function(t){return e.arrayIsSorted(t,c)},t.getImportDeclarationInsertionIndex=function(t,r){var n=e.binarySearch(t,r,e.identity,p);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=p}(e.OrganizeImports||(e.OrganizeImports={}))}(d||(d={})),function(e){!function(t){t.collectElements=function(t,r){var l=[];return function(t,r,n){var l=40,u=0,d=i(i([],t.statements),[t.endOfFileToken]),p=d.length;for(;u<p;){for(;u<p&&!e.isAnyImportSyntax(d[u]);)g(d[u]),u++;if(u===p)break;for(var f=u;u<p&&e.isAnyImportSyntax(d[u]);)a(d[u],t,r,n),u++;var m=u-1;m!==f&&n.push(o(e.findChildOfKind(d[f],100,t).getStart(t),d[m].getEnd(),"imports"))}function g(i){var u;if(0!==l){r.throwIfCancellationRequested(),(e.isDeclaration(i)||e.isVariableStatement(i)||1===i.kind)&&a(i,t,r,n),e.isFunctionLike(i)&&e.isBinaryExpression(i.parent)&&e.isPropertyAccessExpression(i.parent.left)&&a(i.parent.left,t,r,n);var d=function(t,r){switch(t.kind){case 232: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&&s(i,a,t,n,210!==t.kind)}(t.parent,t,r);switch(t.parent.kind){case 237:case 240:case 241:case 239:case 236:case 238:case 245:case 290:return g(t.parent);case 249:var n=t.parent;if(n.tryBlock===t)return g(t.parent);if(n.finallyBlock===t){var i=e.findChildOfKind(n,96,r);if(i)return g(i)}default:return c(e.createTextSpanFromNode(t,r),"code")}case 260:return g(t.parent);case 254:case 223:case 255:case 256:case 258:case 261:case 178:case 197:return g(t);case 180:return g(t,!1,!e.isTupleTypeNode(t.parent),22);case 287:case 288:return _(t.statements);case 201:return m(t);case 200:return m(t,22);case 276:return u(t);case 280:return d(t);case 277:case 278:return p(t.attributes);case 220:case 14:return f(t);case 198:return g(t,!1,!e.isBindingElement(t.parent),22);case 210:return l(t);case 204: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 s(n,i,t,r,!1,!0)}}function l(t){if(!e.isBlock(t.body)&&!e.positionsAreOnSameLine(t.body.getFullStart(),t.body.getEnd(),r))return c(e.createTextSpanFromBounds(t.body.getFullStart(),t.body.getEnd()),"code",e.createTextSpanFromNode(t))}function u(t){var n=e.createTextSpanFromBounds(t.openingElement.getStart(r),t.closingElement.getEnd()),i=t.openingElement.tagName.getText(r);return c(n,"code",n,!1,"<"+i+">...</"+i+">")}function d(t){var n=e.createTextSpanFromBounds(t.openingFragment.getStart(r),t.closingFragment.getEnd());return c(n,"code",n,!1,"<>...</>")}function p(e){if(0!==e.properties.length)return o(e.getStart(r),e.getEnd(),"code")}function f(e){if(14!==e.kind||0!==e.text.length)return o(e.getStart(r),e.getEnd(),"code")}function m(t,r){return void 0===r&&(r=18),g(t,!1,!e.isArrayLiteralExpression(t.parent)&&!e.isCallExpression(t.parent),r)}function g(n,i,a,o,c){void 0===i&&(i=!1),void 0===a&&(a=!0),void 0===o&&(o=18),void 0===c&&(c=18===o?19:23);var l=e.findChildOfKind(t,o,r),u=e.findChildOfKind(t,c,r);return l&&u&&s(l,u,n,r,i,a)}function _(t){return t.length?c(e.createTextSpanFromRange(t),"code"):void 0}}(i,t);d&&n.push(d),l--,e.isCallExpression(i)?(l++,g(i.expression),l--,i.arguments.forEach(g),null===(u=i.typeArguments)||void 0===u||u.forEach(g)):e.isIfStatement(i)&&i.elseStatement&&e.isIfStatement(i.elseStatement)?(g(i.expression),g(i.thenStatement),l++,g(i.elseStatement),l--):i.forEachChild(g),l++}}}(t,r,l),function(t,r){for(var i=[],a=t.getLineStarts(),o=0,s=a;o<s.length;o++){var l=s[o],u=t.getLineEndOfPosition(l),d=n(t.text.substring(l,u));if(d&&!e.isInComment(t,l))if(d[1]){var p=i.pop();p&&(p.textSpan.length=u-p.textSpan.start,p.hintSpan.length=u-p.textSpan.start,r.push(p))}else{var f=e.createTextSpanFromBounds(t.text.indexOf("//",l),u);i.push(c(f,"region",f,!1,d[2]||"#region"))}}}(t,l),l.sort((function(e,t){return e.textSpan.start-t.textSpan.start}))};var r=/^\s*\/\/\s*#(end)?region(?:\s+(.*))?(?:\r)?$/;function n(e){return r.exec(e)}function a(t,r,i,a){var s=e.getLeadingCommentRangesOfNode(t,r);if(s){for(var c=-1,l=-1,u=0,d=r.getFullText(),p=0,f=s;p<f.length;p++){var m=f[p],g=m.kind,_=m.pos,h=m.end;switch(i.throwIfCancellationRequested(),g){case 2:if(n(d.slice(_,h))){y(),u=0;break}0===u&&(c=_),l=h,u++;break;case 3:y(),a.push(o(_,h,"comment")),u=0;break;default:e.Debug.assertNever(g)}}y()}function y(){u>1&&a.push(o(c,l,"comment"))}}function o(t,r,n){return c(e.createTextSpanFromBounds(t,r),n)}function s(t,r,n,i,a,o){return void 0===a&&(a=!1),void 0===o&&(o=!0),c(e.createTextSpanFromBounds(o?t.getFullStart():t.getStart(i),r.getEnd()),"code",e.createTextSpanFromNode(n,i),a)}function c(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={}))}(d||(d={})),function(e){var t;function r(e,t){return{kind:e,isCaseSensitive:t}}function n(e,t){var r=t.get(e);return r||t.set(e,r=y(e)),r}function i(i,a,o){var s=function(e,t){for(var r=e.length-t.length,n=function(r){if(D(t,(function(t,n){return p(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}(i,a.textLowerCase);if(0===s)return r(a.text.length===i.length?t.exact:t.prefix,e.startsWith(i,a.text));if(a.isLowerCase){if(-1===s)return;for(var d=0,f=n(i,o);d<f.length;d++){var m=f[d];if(c(i,m,a.text,!0))return r(t.substring,c(i,m,a.text,!1))}if(a.text.length<i.length&&u(i.charCodeAt(s)))return r(t.substring,!1)}else{if(i.indexOf(a.text)>0)return r(t.substring,!0);if(a.characterSpans.length>0){var g=n(i,o),_=!!l(i,g,a,!1)||!l(i,g,a,!0)&&void 0;if(void 0!==_)return r(t.camelCase,_)}}}function a(e,t,r){if(D(t.totalTextChunk.text,(function(e){return 32!==e&&42!==e}))){var n=i(e,t.totalTextChunk,r);if(n)return n}for(var a,s=0,c=t.subWordTextChunks;s<c.length;s++){a=o(a,i(e,c[s],r))}return a}function o(t,r){return e.min(t,r,s)}function s(t,r){return void 0===t?1:void 0===r?-1:e.compareValues(t.kind,r.kind)||e.compareBooleans(!t.isCaseSensitive,!r.isCaseSensitive)}function c(e,t,r,n,i){return void 0===i&&(i={start:0,length:r.length}),i.length<=t.length&&S(0,i.length,(function(a){return function(e,t,r){return r?p(e)===p(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,l=0,d=0;;){if(d===s.length)return!0;if(l===r.length)return!1;for(var p=r[l],f=!1;d<s.length;d++){var m=s[d];if(f&&(!u(n.text.charCodeAt(s[d-1].start))||!u(n.text.charCodeAt(s[d].start))))break;if(!c(t,p,n.text,i,m))break;f=!0,a=void 0===a?l:a,o=void 0===o||o,p=e.createTextSpan(p.start+m.length,p.length-m.length)}f||void 0===o||(o=!1),l++}}function u(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 p(e){return e>=65&&e<=90?e-65+97:e<127?e:String.fromCharCode(e).toLowerCase().charCodeAt(0)}function f(e){return e>=48&&e<=57}function m(e){return u(e)||d(e)||f(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(_(e.substr(r,n))),n=0)}return n>0&&t.push(_(e.substr(r,n))),t}function _(e){var t=e.toLowerCase();return{text:e,textLowerCase:t,isLowerCase:e===t,characterSpans:h(e)}}function h(e){return v(e,!1)}function y(e){return v(e,!0)}function v(t,r){for(var n=[],i=0,a=1;a<t.length;a++){var o=f(t.charCodeAt(a-1)),s=f(t.charCodeAt(a)),c=E(t,r,a),l=r&&x(t,a,i);(b(t.charCodeAt(a-1))||b(t.charCodeAt(a))||o!==s||c||l)&&(k(t,i,a)||n.push(e.createTextSpan(i,a-i)),i=a)}return k(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 k(e,t,r){return D(e,(function(e){return b(e)&&95!==e}),t,r)}function x(e,t,r){return t!==r&&t+1<e.length&&u(e.charCodeAt(t))&&d(e.charCodeAt(t+1))&&D(e,u,r,t)}function E(e,t,r){var n=u(e.charCodeAt(r-1));return u(e.charCodeAt(r))&&(!t||!n)}function S(e,t,r){for(var n=e;n<t;n++)if(!r(n))return!1;return!0}function D(e,t,r,n){return void 0===r&&(r=0),void 0===n&&(n=e.length),S(r,n,(function(r){return t(e.charCodeAt(r),r)}))}!function(e){e[e.exact=0]="exact",e[e.prefix=1]="prefix",e[e.substring=2]="substring",e[e.camelCase=3]="camelCase"}(t=e.PatternMatchKind||(e.PatternMatchKind={})),e.createPatternMatcher=function(t){var r=new e.Map,n=t.trim().split(".").map((function(e){return{totalTextChunk:_(t=e.trim()),subWordTextChunks:g(t)};var t}));if(!n.some((function(e){return!e.subWordTextChunks.length})))return{getFullMatch:function(t,i){return function(t,r,n,i){var s,c=a(r,e.last(n),i);if(!c)return;if(n.length-1>t.length)return;for(var l=n.length-2,u=t.length-1;l>=0;l-=1,u-=1)s=o(s,a(t[u],n[l],i));return s}(t,i,n,r)},getMatchForLastSegmentOfPattern:function(t){return a(t,e.last(n),r)},patternContainsDots:n.length>1}},e.breakIntoCharacterSpans=h,e.breakIntoWordSpans=y}(d||(d={})),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=[],l=0,u=!1;function d(){return a=o,18===(o=e.scanner.scan())?l++:19===o&&l--,o}function p(){var t=e.scanner.getTokenValue(),r=e.scanner.getTokenPos();return{fileName:t,pos:r,end:r+t.length}}function f(){c.push(p()),m()}function m(){0===l&&(u=!0)}function g(){var t=e.scanner.getToken();return 134===t&&(140===(t=d())&&10===(t=d())&&(i||(i=[]),i.push({ref:p(),depth:l})),!0)}function _(){if(24===a)return!1;var t=e.scanner.getToken();if(100===t){if(20===(t=d())){if(10===(t=d())||14===t)return f(),!0}else{if(10===t)return f(),!0;if(150===t){var r=e.scanner.lookAhead((function(){var t=e.scanner.scan();return 154!==t&&(41===t||18===t||78===t||e.isKeyword(t))}));r&&(t=d())}if(78===t||e.isKeyword(t))if(154===(t=d())){if(10===(t=d()))return f(),!0}else if(62===t){if(y(!0))return!0}else{if(27!==t)return!0;t=d()}if(18===t){for(t=d();19!==t&&1!==t;)t=d();19===t&&154===(t=d())&&10===(t=d())&&f()}else 41===t&&127===(t=d())&&(78===(t=d())||e.isKeyword(t))&&154===(t=d())&&10===(t=d())&&f()}return!0}return!1}function h(){var t=e.scanner.getToken();if(93===t){if(m(),150===(t=d())){var r=e.scanner.lookAhead((function(){var t=e.scanner.scan();return 41===t||18===t}));r&&(t=d())}if(18===t){for(t=d();19!==t&&1!==t;)t=d();19===t&&154===(t=d())&&10===(t=d())&&f()}else if(41===t)154===(t=d())&&10===(t=d())&&f();else if(100===t){if(150===(t=d())){r=e.scanner.lookAhead((function(){var t=e.scanner.scan();return 78===t||e.isKeyword(t)}));r&&(t=d())}if((78===t||e.isKeyword(t))&&62===(t=d())&&y(!0))return!0}return!0}return!1}function y(t,r){void 0===r&&(r=!1);var n=t?d():e.scanner.getToken();return 144===n&&(20===(n=d())&&(10===(n=d())||r&&14===n)&&f(),!0)}function v(){var t=e.scanner.getToken();if(78===t&&"define"===e.scanner.getTokenValue()){if(20!==(t=d()))return!0;if(10===(t=d())||14===t){if(27!==(t=d()))return!0;t=d()}if(22!==t)return!0;for(t=d();23!==t&&1!==t;)10!==t&&14!==t||f(),t=d();return!0}return!1}if(r&&function(){for(e.scanner.setText(t),d();1!==e.scanner.getToken();)g()||_()||h()||n&&(y(!1,!0)||v())||d();e.scanner.setText(void 0)}(),e.processCommentPragmas(s,t),e.processPragmasIntoFields(s,e.noop),u){if(i)for(var b=0,k=i;b<k.length;b++){var x=k[b];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,D=i;S<D.length;S++){0===(x=D[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}}}(d||(d={})),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)}t.getRenameInfo=function(t,i,a,o){var s=e.getAdjustedRenameLocation(e.getTouchingPropertyName(i,a));if(function(t){switch(t.kind){case 78:case 79:case 10:case 14:case 108:return!0;case 8:return e.isLiteralNameOfPropertyDeclarationOrIndexAccess(t);default:return!1}}(s)){var c=function(t,i,a,o,s){var c=i.getSymbolAtLocation(t);if(!c){if(e.isStringLiteralLike(t)){var l=e.getContextualTypeOrAncestorTypeNodeType(t,i);if(l&&(128&l.flags||1048576&l.flags&&e.every(l.types,(function(e){return!!(128&e.flags)}))))return r(t.text,t.text,"string","",t,a)}else if(e.isLabelName(t)){var u=e.getTextOfNode(t);return r(u,u,"label","",t,a)}return}var d=c.declarations;if(!d||0===d.length)return;if(d.some(o))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)return;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=e.find(i.declarations,e.isSourceFile);if(!a)return;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",l=t.text.lastIndexOf("/")+1,u=e.createTextSpan(t.getStart(r)+1+l,t.text.length-l);return{canRename:!0,fileToRename:s,kind:c,displayName:s,fullDisplayName:s,kindModifiers:"",triggerSpan:u}}(t,a,c):void 0;var p=e.SymbolDisplay.getSymbolKind(i,c,t),f=e.isImportOrExportSpecifierName(t)||e.isStringOrNumericLiteralLike(t)&&159===t.parent.kind?e.stripQuotes(e.getTextOfIdentifierOrLiteral(t)):void 0,m=f||i.symbolToString(c),g=f||i.getFullyQualifiedName(c);return r(m,g,p,e.SymbolDisplay.getSymbolModifiers(i,c),t,a)}(s,t.getTypeChecker(),i,(function(e){return t.isSourceFileDefaultLibrary(e.getSourceFile())}),o);if(c)return c}return n(e.Diagnostics.You_cannot_rename_this_element)}}(e.Rename||(e.Rename={}))}(d||(d={})),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 o,s,c,d={textSpan:e.createTextSpanFromBounds(n.getFullStart(),n.getEnd())},p=n;e:for(;;){var f=i(p);if(!f.length)break;for(var m=0;m<f.length;m++){var g=f[m-1],_=f[m],h=f[m+1];if(e.getTokenPosOfNode(_,n,!0)>t)break e;if(r(n,t,_)){if(e.isBlock(_)||e.isTemplateSpan(_)||e.isTemplateHead(_)||e.isTemplateTail(_)||g&&e.isTemplateHead(g)||e.isVariableDeclarationList(_)&&e.isVariableStatement(p)||e.isSyntaxList(_)&&e.isVariableDeclarationList(p)||e.isVariableDeclaration(_)&&e.isSyntaxList(p)&&1===f.length||e.isJSDocTypeExpression(_)||e.isJSDocSignature(_)||e.isJSDocTypeLiteral(_)){p=_;break}if(e.isTemplateSpan(p)&&h&&e.isTemplateMiddleOrTemplateTail(h))k(_.getFullStart()-2,h.getStart()+1);var y=e.isSyntaxList(_)&&(c=void 0,18===(c=(s=g)&&s.kind)||22===c||20===c||278===c)&&l(h)&&!e.positionsAreOnSameLine(g.getStart(),h.getStart(),n),v=y?g.getEnd():_.getStart(),b=y?h.getStart():u(n,_);e.hasJSDocNodes(_)&&(null===(o=_.jsDoc)||void 0===o?void 0:o.length)&&k(e.first(_.jsDoc).getStart(),b),k(v,b),(e.isStringLiteral(_)||e.isTemplateLiteral(_))&&k(v+1,b-1),p=_;break}if(m===f.length-1)break e}}return d;function k(r,n){if(r!==n){var i=e.createTextSpanFromBounds(r,n);(!d||!e.textSpansEqual(i,d.textSpan)&&e.textSpanIntersectsWithPosition(i,t))&&(d=a({textSpan:i},d&&{parent:d}))}}};var n=e.or(e.isImportDeclaration,e.isImportEqualsDeclaration);function i(t){if(e.isSourceFile(t))return o(t.getChildAt(0).getChildren(),n);if(e.isMappedTypeNode(t)){var r=t.getChildren(),i=r[0],a=r.slice(1),l=e.Debug.checkDefined(a.pop());e.Debug.assertEqual(i.kind,18),e.Debug.assertEqual(l.kind,19);var u=o(a,(function(e){return e===t.readonlyToken||143===e.kind||e===t.questionToken||57===e.kind})),d=o(u,(function(e){var t=e.kind;return 22===t||160===t||23===t}));return[i,c(s(d,(function(e){return 58===e.kind}))),l]}if(e.isPropertySignature(t))return s(a=o(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=o(t.getChildren(),(function(e){return e===t.dotDotDotToken||e===t.name}));return s(o(p,(function(e){return e===p[0]||e===t.questionToken})),(function(e){return 62===e.kind}))}return e.isBindingElement(t)?s(t.getChildren(),(function(e){return 62===e.kind})):t.getChildren()}function o(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),l=n&&26===s.kind,u=t.slice(i+1,l?t.length-1:void 0),d=e.compact([a.length?c(a):void 0,o,u.length?c(u):void 0]);return l?d.concat(s):d}function c(t){return e.Debug.assertGreaterThanOrEqual(t.length,1),e.setTextRangePosEnd(e.parseNodeFactory.createSyntaxList(t),t[0].pos,e.last(t).end)}function l(e){var t=e&&e.kind;return 19===t||23===t||21===t||279===t}function u(e,t){switch(t.kind){case 329:case 327:case 336:case 334:case 331:return e.getLineEndOfPosition(t.getStart());default:return t.getEnd()}}}(e.SmartSelectionRange||(e.SmartSelectionRange={}))}(d||(d={})),function(e){!function(t){var r,n;function a(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 o(t,r){var n=function(t,r){if(29===t.kind||20===t.kind)return{list:m(t.parent,t,r),argumentIndex:0};var n=e.findContainingList(t);return n&&{list:n,argumentIndex:d(n,t)}}(t,r);if(n){var i=n.list,a=n.argumentIndex,o=function(t){var r=t.getChildren(),n=e.countWhere(r,(function(e){return 27!==e.kind}));r.length>0&&27===e.last(r).kind&&n++;return n}(i);0!==a&&e.Debug.assertLessThan(a,o);var s=function(t,r){var n=t.getFullStart(),i=e.skipTrivia(r.text,t.getEnd(),!1);return e.createTextSpan(n,i-n)}(i,r);return{list:i,argumentIndex:a,argumentCount:o,argumentsSpan:s}}}function s(t,r,n){var i=t.parent;if(e.isCallOrNewExpression(i)){var a=i,s=o(t,n);if(!s)return;var c=s.list,l=s.argumentIndex,u=s.argumentCount,d=s.argumentsSpan;return{isTypeParameterList:!!i.typeArguments&&i.typeArguments.pos===c.pos,invocation:{kind:0,node:a},argumentsSpan:d,argumentIndex:l,argumentCount:u}}if(e.isNoSubstitutionTemplateLiteral(t)&&e.isTaggedTemplateExpression(i))return e.isInsideTemplateLiteral(t,r,n)?p(i,0,n):void 0;if(e.isTemplateHead(t)&&206===i.parent.kind){var f=i,m=f.parent;return e.Debug.assert(220===f.kind),p(m,l=e.isInsideTemplateLiteral(t,r,n)?0:1,n)}if(e.isTemplateSpan(i)&&e.isTaggedTemplateExpression(i.parent.parent)){var g=i;m=i.parent.parent;if(e.isTemplateTail(t)&&!e.isInsideTemplateLiteral(t,r,n))return;l=function(t,r,n,i){if(e.Debug.assert(n>=r.getStart(),"Assumed 'position' could not occur before node."),e.isTemplateLiteralToken(r))return e.isInsideTemplateLiteral(r,n,i)?0:t+2;return t+1}(g.parent.templateSpans.indexOf(g),t,r,n);return p(m,l,n)}if(e.isJsxOpeningLikeElement(i)){var _=i.attributes.pos,h=e.skipTrivia(n.text,i.attributes.end,!1);return{isTypeParameterList:!1,invocation:{kind:0,node:i},argumentsSpan:e.createTextSpan(_,h-_),argumentIndex:0,argumentCount:1}}var y=e.getPossibleTypeArgumentsInfo(t,n);if(y){var v=y.called,b=y.nTypeArguments;return{isTypeParameterList:!0,invocation:a={kind:1,called:v},argumentsSpan:d=e.createTextSpanFromBounds(v.getStart(n),t.end),argumentIndex:b,argumentCount:b+1}}}function c(t){return e.isBinaryExpression(t.parent)?c(t.parent):t}function l(t){return e.isBinaryExpression(t.left)?l(t.left)+1:2}function u(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 p(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:f(t,n),argumentIndex:r,argumentCount:i}}function f(t,r){var n=t.template,i=n.getStart(),a=n.getEnd();220===n.kind&&(0===e.last(n.templateSpans).literal.getFullWidth()&&(a=e.skipTrivia(r.text,a,!1)));return e.createTextSpan(i,a-i)}function m(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 g(t){return 0===t.kind?e.getInvokedExpression(t.node):t.called}function _(e){return 0===e.kind?e.node:1===e.kind?e.called:e.node}!function(e){e[e.Call=0]="Call",e[e.TypeArgs=1]="TypeArgs",e[e.Contextual=2]="Contextual"}(r||(r={})),t.getSignatureHelpItems=function(t,r,n,i,d){var p=t.getTypeChecker(),f=e.findTokenOnLeftOfPosition(r,n);if(f){var m=!!i&&"characterTyped"===i.kind;if(!m||!e.isInString(r,n,f)&&!e.isInComment(r,n)){var h=!!i&&"invoked"===i.kind,b=function(t,r,n,i,a){for(var d=function(t){e.Debug.assert(e.rangeContainsRange(t.parent,t),"Not a subspan",(function(){return"Child: "+e.Debug.formatSyntaxKind(t.kind)+", parent: "+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){if(20!==t.kind&&27!==t.kind)return;var i=t.parent;switch(i.kind){case 208:case 166:case 209:case 210:var a=o(t,r);if(!a)return;var s=a.argumentIndex,u=a.argumentCount,d=a.argumentsSpan,p=e.isMethodDeclaration(i)?n.getContextualTypeForObjectLiteralElement(i):n.getContextualType(i);return p&&{contextualType:p,argumentIndex:s,argumentCount:u,argumentsSpan:d};case 218:var f=c(i),m=n.getContextualType(f),g=20===t.kind?0:l(i)-1,_=l(f);return m&&{contextualType:m,argumentIndex:g,argumentCount:_,argumentsSpan:e.createTextSpanFromNode(i)};default:return}}(t,n,i);if(!a)return;var s=a.contextualType,d=a.argumentIndex,p=a.argumentCount,f=a.argumentsSpan,m=s.getNonNullableType(),g=m.getCallSignatures();if(1!==g.length)return;var _={kind:2,signature:e.first(g),node:t,symbol:u(m.symbol)};return{isTypeParameterList:!1,invocation:_,argumentsSpan:f,argumentIndex:d,argumentCount:p}}(t,0,n,i)||s(t,r,n)}(t,r,n,i);if(a)return{value:a}},p=t;!e.isSourceFile(p)&&(a||!e.isBlock(p));p=p.parent){var f=d(p);if("object"==typeof f)return f.value}return}(f,n,r,p,h);if(b){d.throwIfCancellationRequested();var k=function(t,r,n,i,o){var s=t.invocation,c=t.argumentCount;switch(s.kind){case 0:if(o&&!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 o=e.findContainingList(t);return!!o&&e.contains(i,o);case 29:return a(t,n,r.expression);default:return!1}}(i,s.node,n))return;var l=[],u=r.getResolvedSignatureForSignatureHelp(s.node,l,c);return 0===l.length?void 0:{kind:0,candidates:l,resolvedSignature:u};case 1:var d=s.called;if(o&&!a(i,n,e.isIdentifier(d)?d.parent:d))return;if(0!==(l=e.getPossibleGenericSignatures(d,c,r)).length)return{kind:0,candidates:l,resolvedSignature:e.first(l)};var p=r.getSymbolAtLocation(d);return p&&{kind:1,symbol:p};case 2:return{kind:0,candidates:[s.signature],resolvedSignature:s.signature};default:return e.Debug.assertNever(s)}}(b,p,r,f,m);return d.throwIfCancellationRequested(),k?p.runWithCancellationToken(d,(function(e){return 0===k.kind?y(k.candidates,k.resolvedSignature,b,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;var l=[v(e,c,n,_(o),r)];return{items:l,applicableSpan:a,selectedItemIndex:0,argumentIndex:s,argumentCount:i}}(k.symbol,b,r,e)})):e.isSourceFileJS(r)?function(t,r,n){if(2===t.invocation.kind)return;var i=g(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 y(a,a[0],t,r,e,!0)}))}))}))}(b,t,d):void 0}}}},function(e){e[e.Candidate=0]="Candidate",e[e.Type=1]="Type"}(n||(n={})),t.getArgumentInfoForCompletions=function(e,t,r){var n=s(e,t,r);return!n||n.isTypeParameterList||0!==n.invocation.kind?void 0:{invocation:n.invocation.node,argumentCount:n.argumentCount,argumentIndex:n.argumentIndex}};var h=70246400;function y(t,r,n,a,o,s){var c,l=n.isTypeParameterList,u=n.argumentCount,d=n.argumentsSpan,p=n.invocation,f=n.argumentIndex,m=_(p),h=2===p.kind?p.symbol:o.getSymbolAtLocation(g(p))||s&&(null===(c=r.declaration)||void 0===c?void 0:c.symbol),y=h?e.symbolToDisplayParts(o,h,s?a:void 0,void 0):e.emptyArray,v=e.map(t,(function(t){return function(t,r,n,a,o,s){var c=(n?k:x)(t,a,o,s);return e.map(c,(function(n){var s=n.isVariadic,c=n.parameters,l=n.prefix,u=n.suffix,d=i(i([],r),l),p=i(i([],u),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,a)),f=t.getDocumentationComment(a),m=t.getJsDocTags();return{isVariadic:s,prefixDisplayParts:d,suffixDisplayParts:p,separatorDisplayParts:b,parameters:c,documentation:f,tags:m}}))}(t,y,l,o,m,a)}));0!==f&&e.Debug.assertLessThan(f,u);for(var E=0,S=0,D=0;D<v.length;D++){var w=v[D];if(t[D]===r&&(E=S,w.length>1))for(var T=0,C=0,A=w;C<A.length;C++){var N=A[C];if(N.isVariadic||N.parameters.length>=u){E=S+T;break}T++}S+=w.length}e.Debug.assert(-1!==E);var P={items:e.flatMapToMutable(v,e.identity),applicableSpan:d,selectedItemIndex:E,argumentIndex:f,argumentCount:u},I=P.items[E];if(I.isVariadic){var F=e.findIndex(I.parameters,(function(e){return!!e.isRest}));-1<F&&F<I.parameters.length-1?P.argumentIndex=I.parameters.length:P.argumentIndex=Math.min(P.argumentIndex,I.parameters.length-1)}return P}function v(t,r,n,a,o){var s=e.symbolToDisplayParts(n,t),c=e.createPrinter({removeComments:!0}),l=r.map((function(e){return E(e,n,a,o,c)})),u=t.getDocumentationComment(n),d=t.getJsDocTags();return{isVariadic:!1,prefixDisplayParts:i(i([],s),[e.punctuationPart(29)]),suffixDisplayParts:[e.punctuationPart(31)],separatorDisplayParts:b,parameters:l,documentation:u,tags:d}}var b=[e.punctuationPart(27),e.spacePart()];function k(t,r,n,a){var o=(t.target||t).typeParameters,s=e.createPrinter({removeComments:!0}),c=(o||e.emptyArray).map((function(e){return E(e,r,n,a,s)})),l=t.thisParameter?[r.symbolToParameterDeclaration(t.thisParameter,n,h)]:[];return r.getExpandedParameters(t).map((function(t){var o=e.factory.createNodeArray(i(i([],l),e.map(t,(function(e){return r.symbolToParameterDeclaration(e,n,h)})))),u=e.mapToDisplayParts((function(e){s.writeList(2576,o,a,e)}));return{isVariadic:!1,parameters:c,prefix:[e.punctuationPart(29)],suffix:i([e.punctuationPart(31)],u)}}))}function x(t,r,n,a){var o=r.hasEffectiveRestParameter(t),s=e.createPrinter({removeComments:!0}),c=e.mapToDisplayParts((function(i){if(t.typeParameters&&t.typeParameters.length){var o=e.factory.createNodeArray(t.typeParameters.map((function(e){return r.typeParameterToDeclaration(e,n,h)})));s.writeList(53776,o,a,i)}})),l=r.getExpandedParameters(t);return l.map((function(t){return{isVariadic:o&&(1===l.length||!!(32768&t[t.length-1].checkFlags)),parameters:t.map((function(t){return function(t,r,n,i,a){var o=e.mapToDisplayParts((function(e){var o=r.symbolToParameterDeclaration(t,n,h);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,a,s)})),prefix:i(i([],c),[e.punctuationPart(20)]),suffix:[e.punctuationPart(21)]}}))}function E(t,r,n,i,a){var o=e.mapToDisplayParts((function(e){var o=r.typeParameterToDeclaration(t,n,h);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={}))}(d||(d={})),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))return;if(!c(r.fileName))return;var n=s(r.fileName).getSourcePosition(r);return n&&n!==r?t(n)||n:void 0},tryGetGeneratedPosition:function(i){if(e.isDeclarationFileName(i.fileName))return;var a=c(i.fileName);if(!a)return;var o=t.getProgram();if(o.isSourceOfProjectReferenceRedirect(a.fileName))return;var l=o.getCompilerOptions(),u=e.outFile(l),d=u?e.removeFileExtension(u)+".d.ts":e.getDeclarationEmitOutputFilePathWorker(i.fileName,o.getCompilerOptions(),n,o.getCommonSourceDirectory(),r);if(void 0===d)return;var p=s(d,i.fileName).getGeneratedPosition(i);return p===i?void 0:p},toLineColumnOffset:function(e,t){return u(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),l=a.get(c);if(l)return l;if(t.getDocumentPositionMapper)s=t.getDocumentPositionMapper(n,i);else if(t.readFile){var d=u(n);s=d&&e.getDocumentPositionMapper({getSourceFileLike:u,getCanonicalFileName:r,log:function(e){return t.log(e)}},n,e.getLineInfo(d.text,e.getLineStarts(d)),(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 l(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 u(e){return t.getSourceFileLike?t.getSourceFileLike(e):c(e)||l(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 l=c[1];return r(n,e.base64decode(e.sys,l),i)}s=void 0}}var u=[];s&&u.push(s),u.push(i+".map");for(var d=s&&e.getNormalizedAbsolutePath(s,e.getDirectoryPath(i)),p=0,f=u;p<f.length;p++){var m=f[p],g=e.getNormalizedAbsolutePath(m,e.getDirectoryPath(i)),_=o(g,d);if(e.isString(_))return r(n,_,g);if(void 0!==_)return _||void 0}}}(d||(d={})),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 264:var r=t.importClause,n=t.moduleSpecifier;return r&&!r.name&&r.namedBindings&&266===r.namedBindings.kind&&e.isStringLiteral(n)?r.namedBindings.name:void 0;case 263:return t.name;default:return}}function i(t,r){return e.isReturnStatement(t)&&!!t.expression&&a(t.expression,r)}function a(t,r){if(!o(t)||!t.arguments.every((function(e){return s(e,r)})))return!1;for(var n=t.expression;o(n)||e.isPropertyAccessExpression(n);){if(e.isCallExpression(n)&&!n.arguments.every((function(e){return s(e,r)})))return!1;n=n.expression}return!0}function o(t){return e.isCallExpression(t)&&(e.hasPropertyAccessExpressionWithName(t,"then")&&function(t){return!(t.arguments.length>2)&&(t.arguments.length<2||e.some(t.arguments,(function(t){return 104===t.kind||e.isIdentifier(t)&&"undefined"===t.text})))}(t)||e.hasPropertyAccessExpressionWithName(t,"catch"))}function s(r,n){switch(r.kind){case 253:case 209:case 210:t.set(c(r),!0);case 104:return!0;case 78:case 202: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 c(e){return e.pos.toString()+":"+e.end.toString()}e.computeSuggestionDiagnostics=function(a,o,s){o.getSemanticDiagnostics(a,s);var l,u=[],d=o.getTypeChecker();a.commonJsModuleIndicator&&(e.programContainsEs6Modules(o)||e.compilerOptionsIndicateEs6Modules(o.getCompilerOptions()))&&function(t){return t.statements.some((function(t){switch(t.kind){case 234:return t.declarationList.declarations.some((function(t){return!!t.initializer&&e.isRequireCall(r(t.initializer),!0)}));case 235: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}}))}(a)&&u.push(e.createDiagnosticForNode((l=a.commonJsModuleIndicator,e.isBinaryExpression(l)?l.left:l),e.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module));var p=e.isSourceFileJS(a);if(t.clear(),function r(n){if(p)(function(t,r){var n,i,a,o;if(209===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))}if(253===t.kind)return!!(null===(o=t.symbol.members)||void 0===o?void 0:o.size);return!1})(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===a&&2&n.declarationList.flags&&1===n.declarationList.declarations.length){var o=n.declarationList.declarations[0].initializer;o&&e.isRequireCall(o,!0)&&u.push(e.createDiagnosticForNode(o,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))}e.isFunctionLikeDeclaration(n)&&function(r,n,a){(function(t,r){return!e.isAsyncFunction(t)&&t.body&&e.isBlock(t.body)&&function(t,r){return!!e.forEachReturnStatement(t,(function(e){return i(e,r)}))}(t.body,r)&&function(e,t){var r=t.getTypeAtLocation(e),n=t.getSignaturesOfType(r,0),i=n.length?t.getReturnTypeOfSignature(n[0]):void 0;return!!i&&!!t.getPromisedTypeOfPromise(i)}(t,r)})(r,n)&&!t.has(c(r))&&a.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)}(a),e.getAllowSyntheticDefaultImports(o.getCompilerOptions()))for(var f=0,m=a.imports;f<m.length;f++){var g=m[f],_=n(e.importFromModuleSpecifier(g));if(_){var h=e.getResolvedModule(a,g.text),y=h&&o.getSourceFile(h.resolvedFileName);y&&y.externalModuleIndicator&&e.isExportAssignment(y.externalModuleIndicator)&&y.externalModuleIndicator.isExportEquals&&u.push(e.createDiagnosticForNode(_,e.Diagnostics.Import_may_be_converted_to_a_default_import))}}return e.addRange(u,a.bindSuggestionDiagnostics),e.addRange(u,o.getSuggestionDiagnostics(a,s)),u.sort((function(e,t){return e.start-t.start}))},e.isReturnStatementWithFixablePromiseHandler=i,e.isFixablePromiseHandler=a}(d||(d={})),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,223)?"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))return"parameter";var a=e.getCombinedLocalAndExportSymbolFlags(r);if(3&a)return e.isFirstDeclarationOfSymbolParameter(r)?"parameter":r.valueDeclaration&&e.isVarConst(r.valueDeclaration)?"const":e.forEach(r.declarations,e.isLet)?"let":s(r)?"local var":"var";if(16&a)return s(r)?"local function":"function";if(32768&a)return"getter";if(65536&a)return"setter";if(8192&a)return"method";if(16384&a)return"constructor";if(4&a){if(33554432&a&&6&r.checkFlags){var o=e.forEach(t.getRootSymbols(r),(function(e){if(98311&e.getFlags())return"property"}));return o||(t.getTypeOfSymbolAtLocation(r,n).getCallSignatures().length?"method":"property")}switch(n.parent&&n.parent.kind){case 278:case 276:case 277:return 78===n.kind?"property":"JSX attribute";case 283:return"JSX attribute";default:return"property"}}return""}function a(t){return!!(8192&e.getCombinedNodeFlagsAlwaysIncludeJSDoc(t))}function o(t){if(t.declarations&&t.declarations.length){var r=t.declarations,n=r[0],i=r.slice(1),o=e.length(i)&&a(n)&&e.some(i,(function(e){return!a(e)}))?8192:0,s=e.getNodeModifiers(n,o);if(s)return s.split(",")}return[]}function s(t){return!t.parent&&e.forEach(t.declarations,(function(t){if(209===t.kind)return!0;if(251!==t.kind&&253!==t.kind)return!1;for(var r=t.parent;!e.isFunctionBlock(r);r=r.parent)if(300===r.kind||260===r.kind)return!1;return!0}))}t.getSymbolKind=n,t.getSymbolModifiers=function(t,r){if(!r)return"";var n=new e.Set(o(r));if(2097152&r.flags){var i=t.getAliasedSymbol(r);i!==r&&e.forEach(o(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,l,u,d){void 0===u&&(u=e.getMeaningFromLocation(l));var p,f,m,g,_=[],h=[],y=[],v=e.getCombinedLocalAndExportSymbolFlags(o),b=1&u?i(a,o,l):"",k=!1,x=108===l.kind&&e.isInExpressionContext(l),E=!1;if(108===l.kind&&!x)return{displayParts:[e.keywordPart(108)],documentation:[],symbolKind:"primitive type",tags:void 0};if(""!==b||32&v||2097152&v){"getter"!==b&&"setter"!==b||(b="property");var S=void 0;if(p=x?a.getTypeAtLocation(l):a.getTypeOfSymbolAtLocation(o.exportSymbol||o,l),l.parent&&202===l.parent.kind){var D=l.parent.name;(D===l||D&&0===D.getFullWidth())&&(l=l.parent)}var w=void 0;if(e.isCallOrNewExpression(l)?w=l:(e.isCallExpressionTarget(l)||e.isNewExpressionTarget(l)||l.parent&&(e.isJsxOpeningLikeElement(l.parent)||e.isTaggedTemplateExpression(l.parent))&&e.isFunctionLike(o.valueDeclaration))&&(w=l.parent),w){S=a.tryGetResolvedSignatureWithoutCheck(w);var T=205===w.kind||e.isCallExpression(w)&&106===w.expression.kind,C=T?p.getConstructSignatures():p.getCallSignatures();if(e.contains(C,S.target)||e.contains(C,S)||(S=C.length?C[0]:void 0),S){switch(T&&32&v?(b="constructor",X(p.symbol,b)):2097152&v?(Q(b="alias"),_.push(e.spacePart()),T&&(4&S.flags&&(_.push(e.keywordPart(126)),_.push(e.spacePart())),_.push(e.keywordPart(103)),_.push(e.spacePart())),Y(o)):X(o,b),b){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":_.push(e.punctuationPart(58)),_.push(e.spacePart()),16&e.getObjectFlags(p)||!p.symbol||(e.addRange(_,e.symbolToDisplayParts(a,p.symbol,c,void 0,5)),_.push(e.lineBreakPart())),T&&(4&S.flags&&(_.push(e.keywordPart(126)),_.push(e.spacePart())),_.push(e.keywordPart(103)),_.push(e.spacePart())),Z(S,C,262144);break;default:Z(S,C)}k=!0,E=C.length>1}}else if(e.isNameOfFunctionDeclaration(l)&&!(98304&v)||133===l.kind&&167===l.parent.kind){var A=l.parent,N=o.declarations&&e.find(o.declarations,(function(e){return e===(133===l.kind?A.parent:A)}));if(N){C=167===A.kind?p.getNonNullableType().getConstructSignatures():p.getNonNullableType().getCallSignatures();S=a.isImplementationOfOverload(A)?C[0]:a.getSignatureFromDeclaration(A),167===A.kind?(b="constructor",X(p.symbol,b)):X(170!==A.kind||2048&p.symbol.flags||4096&p.symbol.flags?o:p.symbol,b),Z(S,C),k=!0,E=C.length>1}}}if(32&v&&!k&&!x&&(G(),e.getDeclarationOfKind(o,223)?Q("local class"):e.getDeclarationOfKind(o,255)?_.push(e.keywordPart(84)):_.push(e.keywordPart(83)),_.push(e.spacePart()),Y(o),ee(o,s)),64&v&&2&u&&(W(),_.push(e.keywordPart(118)),_.push(e.spacePart()),Y(o),ee(o,s)),524288&v&&2&u&&(W(),_.push(e.keywordPart(150)),_.push(e.spacePart()),Y(o),ee(o,s),_.push(e.spacePart()),_.push(e.operatorPart(62)),_.push(e.spacePart()),e.addRange(_,e.typeToDisplayParts(a,a.getDeclaredTypeOfSymbol(o),c,8388608))),384&v&&(W(),e.some(o.declarations,(function(t){return e.isEnumDeclaration(t)&&e.isEnumConst(t)}))&&(_.push(e.keywordPart(85)),_.push(e.spacePart())),_.push(e.keywordPart(92)),_.push(e.spacePart()),Y(o)),1536&v&&!x){W();var P=(V=e.getDeclarationOfKind(o,259))&&V.name&&78===V.name.kind;_.push(e.keywordPart(P?141:140)),_.push(e.spacePart()),Y(o)}if(262144&v&&2&u)if(W(),_.push(e.punctuationPart(20)),_.push(e.textPart("type parameter")),_.push(e.punctuationPart(21)),_.push(e.spacePart()),Y(o),o.parent)$(),Y(o.parent,c),ee(o.parent,c);else{var I=e.getDeclarationOfKind(o,160);if(void 0===I)return e.Debug.fail();if(V=I.parent)if(e.isFunctionLikeKind(V.kind)){$();S=a.getSignatureFromDeclaration(V);171===V.kind?(_.push(e.keywordPart(103)),_.push(e.spacePart())):170!==V.kind&&V.name&&Y(V.symbol),e.addRange(_,e.signatureToDisplayParts(a,S,s,32))}else 257===V.kind&&($(),_.push(e.keywordPart(150)),_.push(e.spacePart()),Y(V.symbol),ee(V.symbol,s))}if(8&v&&(b="enum member",X(o,"enum member"),294===(V=o.declarations[0]).kind)){var F=a.getConstantValue(V);void 0!==F&&(_.push(e.spacePart()),_.push(e.operatorPart(62)),_.push(e.spacePart()),_.push(e.displayPart(e.getTextOfConstantValue(F),"number"==typeof F?e.SymbolDisplayPartKind.numericLiteral:e.SymbolDisplayPartKind.stringLiteral)))}if(2097152&o.flags){if(W(),!k){var O=a.getAliasedSymbol(o);if(O!==o&&O.declarations&&O.declarations.length>0){var R=O.declarations[0],M=e.getNameOfDeclaration(R);if(M){var L=e.isModuleWithStringLiteralName(R)&&e.hasSyntacticModifier(R,2),j="default"!==o.name&&!L,B=t(a,O,e.getSourceFileOfNode(R),R,M,u,j?o:O);_.push.apply(_,B.displayParts),_.push(e.lineBreakPart()),m=B.documentation,g=B.tags}else m=O.getContextualDocumentationComment(R,a),g=O.getJsDocTags()}}switch(o.declarations[0].kind){case 262:_.push(e.keywordPart(93)),_.push(e.spacePart()),_.push(e.keywordPart(141));break;case 269:_.push(e.keywordPart(93)),_.push(e.spacePart()),_.push(e.keywordPart(o.declarations[0].isExportEquals?62:88));break;case 273:_.push(e.keywordPart(93));break;default:_.push(e.keywordPart(100))}_.push(e.spacePart()),Y(o),e.forEach(o.declarations,(function(t){if(263===t.kind){var r=t;if(e.isExternalModuleImportEqualsDeclaration(r))_.push(e.spacePart()),_.push(e.operatorPart(62)),_.push(e.spacePart()),_.push(e.keywordPart(144)),_.push(e.punctuationPart(20)),_.push(e.displayPart(e.getTextOfNode(e.getExternalModuleImportEqualsDeclarationExpression(r)),e.SymbolDisplayPartKind.stringLiteral)),_.push(e.punctuationPart(21));else{var n=a.getSymbolAtLocation(r.moduleReference);n&&(_.push(e.spacePart()),_.push(e.operatorPart(62)),_.push(e.spacePart()),Y(n,c))}return!0}}))}if(!k)if(""!==b){if(p)if(x?(W(),_.push(e.keywordPart(108))):X(o,b),"property"===b||"JSX attribute"===b||3&v||"local var"===b||x){if(_.push(e.punctuationPart(58)),_.push(e.spacePart()),p.symbol&&262144&p.symbol.flags){var z=e.mapToDisplayParts((function(t){var n=a.typeParameterToDeclaration(p,c,r);K().writeNode(4,n,e.getSourceFileOfNode(e.getParseTreeNode(c)),t)}));e.addRange(_,z)}else e.addRange(_,e.typeToDisplayParts(a,p,c));if(o.target&&o.target.tupleLabelDeclaration){var U=o.target.tupleLabelDeclaration;e.Debug.assertNode(U.name,e.isIdentifier),_.push(e.spacePart()),_.push(e.punctuationPart(20)),_.push(e.textPart(e.idText(U.name))),_.push(e.punctuationPart(21))}}else if(16&v||8192&v||16384&v||131072&v||98304&v||"method"===b){(C=p.getNonNullableType().getCallSignatures()).length&&(Z(C[0],C),E=C.length>1)}}else b=n(a,o,l);if(0!==h.length||E||(h=o.getContextualDocumentationComment(c,a)),0===h.length&&4&v&&o.parent&&e.forEach(o.parent.declarations,(function(e){return 300===e.kind})))for(var q=0,J=o.declarations;q<J.length;q++){var V;if((V=J[q]).parent&&218===V.parent.kind){var H=a.getSymbolAtLocation(V.parent.right);if(H&&(h=H.getDocumentationComment(a),y=H.getJsDocTags(),h.length>0))break}}return 0!==y.length||E||(y=o.getJsDocTags()),0===h.length&&m&&(h=m),0===y.length&&g&&(y=g),{displayParts:_,documentation:h,symbolKind:b,tags:0===y.length?void 0:y};function K(){return f||(f=e.createPrinter({removeComments:!0})),f}function W(){_.length&&_.push(e.lineBreakPart()),G()}function G(){d&&(Q("alias"),_.push(e.spacePart()))}function $(){_.push(e.spacePart()),_.push(e.keywordPart(101)),_.push(e.spacePart())}function Y(t,r){d&&t===o&&(t=d);var n=e.symbolToDisplayParts(a,t,r||s,void 0,7);e.addRange(_,n),16777216&o.flags&&_.push(e.punctuationPart(57))}function X(t,r){W(),r&&(Q(r),t&&!e.some(t.declarations,(function(t){return e.isArrowFunction(t)||(e.isFunctionExpression(t)||e.isClassExpression(t))&&!t.name}))&&(_.push(e.spacePart()),Y(t)))}function Q(t){switch(t){case"var":case"function":case"let":case"const":case"constructor":return void _.push(e.textOrKeywordPart(t));default:return _.push(e.punctuationPart(20)),_.push(e.textOrKeywordPart(t)),void _.push(e.punctuationPart(21))}}function Z(t,r,n){void 0===n&&(n=0),e.addRange(_,e.signatureToDisplayParts(a,t,c,32|n)),r.length>1&&(_.push(e.spacePart()),_.push(e.punctuationPart(20)),_.push(e.operatorPart(39)),_.push(e.displayPart((r.length-1).toString(),e.SymbolDisplayPartKind.numericLiteral)),_.push(e.spacePart()),_.push(e.textPart(2===r.length?"overload":"overloads")),_.push(e.punctuationPart(21))),h=t.getDocumentationComment(a),y=t.getJsDocTags(),r.length>1&&0===h.length&&0===y.length&&(h=r[0].getDocumentationComment(a),y=r[0].getJsDocTags())}function ee(t,n){var i=e.mapToDisplayParts((function(i){var o=a.symbolToTypeParameterDeclarations(t,n,r);K().writeList(53776,o,e.getSourceFileOfNode(e.getParseTreeNode(n)),i)}));e.addRange(_,i)}}}(e.SymbolDisplay||(e.SymbolDisplay={}))}(d||(d={})),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,l=e.transpileOptionValueCompilerOptions;c<l.length;c++){var u=l[c];a[u.name]=u.transpileOptionValue}a.suppressOutputPathCheck=!0,a.allowNonTsExtensions=!0;var d=r.fileName||(r.compilerOptions&&r.compilerOptions.jsx?"module.tsx":"module.ts"),p=e.ensureScriptKind(d,void 0),f=e.createSourceFile(d,t,a.target,void 0,p,a);r.moduleName&&(f.moduleName=r.moduleName),r.renamedDependencies&&(f.renamedDependencies=new e.Map(e.getEntries(r.renamedDependencies)));var m,g,_=e.getNewLineCharacter(a),h={getSourceFile:function(t){return t===e.normalizePath(d)?f:void 0},writeFile:function(t,r){e.fileExtensionIs(t,".map")?(e.Debug.assertEqual(g,void 0,"Unexpected multiple source map outputs, file:",t),g=r):(e.Debug.assertEqual(m,void 0,"Unexpected multiple outputs, file:",t),m=r)},getDefaultLibFileName:function(){return"lib.d.ts"},useCaseSensitiveFileNames:function(){return!1},getCanonicalFileName:function(e){return e},getCurrentDirectory:function(){return""},getNewLine:function(){return _},fileExists:function(e){return e===d},readFile:function(){return""},directoryExists:function(){return!0},getDirectories:function(){return[]}},y=e.createProgram([d],a,h);return r.reportDiagnostics&&(e.addRange(i,y.getSyntacticDiagnostics(f)),e.addRange(i,y.getOptionsDiagnostics())),y.emit(void 0,void 0,void 0,void 0,r.transformers),void 0===m?e.Debug.fail("Output generation failed"):{outputText:m,diagnostics:i,sourceMapText:g}}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}(d||(d={})),function(e){!function(t){!function(e){e[e.FormatDocument=0]="FormatDocument",e[e.FormatSelection=1]="FormatSelection",e[e.FormatOnEnter=2]="FormatOnEnter",e[e.FormatOnSemicolon=3]="FormatOnSemicolon",e[e.FormatOnOpeningCurlyBrace=4]="FormatOnOpeningCurlyBrace",e[e.FormatOnClosingCurlyBrace=5]="FormatOnClosingCurlyBrace"}(t.FormattingRequestKind||(t.FormattingRequestKind={}));var r=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=r}(e.formatting||(e.formatting={}))}(d||(d={})),function(e){!function(t){var r,n=e.createScanner(99,!1,0),i=e.createScanner(99,!1,1);!function(e){e[e.Scan=0]="Scan",e[e.RescanGreaterThanToken=1]="RescanGreaterThanToken",e[e.RescanSlashToken=2]="RescanSlashToken",e[e.RescanTemplateToken=3]="RescanTemplateToken",e[e.RescanJsxIdentifier=4]="RescanJsxIdentifier",e[e.RescanJsxText=5]="RescanJsxText",e[e.RescanJsxAttributeValue=6]="RescanJsxAttributeValue"}(r||(r={})),t.getFormattingScanner=function(r,a,o,s,c){var l=1===a?i:n;l.setText(r),l.setTextPos(o);var u,d,p,f,m,g=!0,_=c({advance:function(){m=void 0,l.getStartPos()!==o?g=!!d&&4===e.last(d).kind:l.scan();u=void 0,d=void 0;var t=l.getStartPos();for(;t<s;){var r=l.getToken();if(!e.isTrivia(r))break;l.scan();var n={pos:t,end:l.getStartPos(),kind:r};t=l.getStartPos(),u=e.append(u,n)}p=l.getStartPos()},readTokenInfo:function(r){e.Debug.assert(h());var n=function(e){switch(e.kind){case 33:case 70:case 71:case 49:case 48:return!0}return!1}(r)?1:(a=r,13===a.kind?2:function(e){return 16===e.kind||17===e.kind}(r)?3:function(t){if(t.parent)switch(t.parent.kind){case 283:case 278:case 279:case 277:return e.isKeyword(t.kind)||78===t.kind}return!1}(r)?4:function(t){if(e.isJsxText(t)){var r=e.findAncestor(t.parent,(function(t){return e.isJsxElement(t)}));return!!r&&!e.isParenthesizedExpression(r.parent)}return!1}(r)?5:(i=r,i.parent&&e.isJsxAttribute(i.parent)&&i.parent.initializer===i?6:0));var i;var a;if(m&&n===f)return v(m,r);l.getStartPos()!==p&&(e.Debug.assert(void 0!==m),l.setTextPos(p),l.scan());var o=function(t,r){var n=l.getToken();switch(f=0,r){case 1:if(31===n){f=1;var i=l.reScanGreaterToken();return e.Debug.assert(t.kind===i),i}break;case 2:if(43===(a=n)||67===a){f=2;i=l.reScanSlashToken();return e.Debug.assert(t.kind===i),i}break;case 3:if(19===n)return f=3,l.reScanTemplateToken(!1);break;case 4:return f=4,l.scanJsxIdentifier();case 5:return f=5,l.reScanJsxToken();case 6:return f=6,l.reScanJsxAttributeValue();case 0:break;default:e.Debug.assertNever(r)}var a;return n}(r,n),c=t.createTextRangeWithKind(l.getStartPos(),l.getTextPos(),o);d&&(d=void 0);for(;l.getStartPos()<s&&(o=l.scan(),e.isTrivia(o));){var g=t.createTextRangeWithKind(l.getStartPos(),l.getTextPos(),o);if(d||(d=[]),d.push(g),4===o){l.scan();break}}return v(m={leadingTrivia:u,trailingTrivia:d,token:c},r)},readEOFTokenRange:function(){return e.Debug.assert(y()),t.createTextRangeWithKind(l.getStartPos(),l.getTextPos(),1)},isOnToken:h,isOnEOF:y,getCurrentLeadingTrivia:function(){return u},lastTrailingTriviaWasNewLine:function(){return g},skipToEndOf:function(e){l.setTextPos(e.end),p=l.getStartPos(),f=void 0,m=void 0,g=!1,u=void 0,d=void 0},skipToStartOf:function(e){l.setTextPos(e.pos),p=l.getStartPos(),f=void 0,m=void 0,g=!1,u=void 0,d=void 0}});return m=void 0,l.setText(void 0),_;function h(){var t=m?m.token.kind:l.getToken();return(m?m.token.pos:l.getStartPos())<s&&1!==t&&!e.isTrivia(t)}function y(){return 1===(m?m.token.kind:l.getToken())}function v(t,r){return e.isToken(r)&&t.token.kind!==r.kind&&(t.token.kind=r.kind),t}}}(e.formatting||(e.formatting={}))}(d||(d={})),function(e){!function(t){t.anyContext=e.emptyArray,function(e){e[e.StopProcessingSpaceActions=1]="StopProcessingSpaceActions",e[e.StopProcessingTokenActions=2]="StopProcessingTokenActions",e[e.InsertSpace=4]="InsertSpace",e[e.InsertNewLine=8]="InsertNewLine",e[e.DeleteSpace=16]="DeleteSpace",e[e.DeleteToken=32]="DeleteToken",e[e.InsertTrailingSemicolon=64]="InsertTrailingSemicolon",e[e.StopAction=3]="StopAction",e[e.ModifySpaceAction=28]="ModifySpaceAction",e[e.ModifyTokenAction=96]="ModifyTokenAction"}(t.RuleAction||(t.RuleAction={})),function(e){e[e.None=0]="None",e[e.CanDeleteNewLines=1]="CanDeleteNewLines"}(t.RuleFlags||(t.RuleFlags={}))}(e.formatting||(e.formatting={}))}(d||(d={})),function(e){!function(t){function r(e,t,r,n,i,o){return void 0===o&&(o=0),{leftTokenRange:a(t),rightTokenRange:a(r),rule:{debugName:e,context:n,action:i,flags:o}}}function n(e){return{tokens:e,isSpecific:!0}}function a(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 l(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 d(e){return function(t){return!t.options||!t.options.hasOwnProperty(e)||!t.options[e]||t.TokensAreOnSameLine()}}function p(e){return function(t){return!t.options||!t.options.hasOwnProperty(e)||!!t.options[e]}}function f(e){return 239===e.contextNode.kind}function m(e){return!f(e)}function g(e){switch(e.contextNode.kind){case 218:return 27!==e.contextNode.operatorToken.kind;case 219:case 185:case 226:case 273:case 268:case 173:case 183:case 184:return!0;case 199:case 257:case 263:case 251:case 161:case 294:case 164:case 163:return 62===e.currentTokenSpan.kind||62===e.nextTokenSpan.kind;case 240:case 160:return 101===e.currentTokenSpan.kind||101===e.nextTokenSpan.kind||62===e.currentTokenSpan.kind||62===e.nextTokenSpan.kind;case 241:return 157===e.currentTokenSpan.kind||157===e.nextTokenSpan.kind}return!1}function _(e){return!g(e)}function h(e){return!y(e)}function y(t){var r=t.contextNode.kind;return 164===r||163===r||161===r||251===r||e.isFunctionLikeKind(r)}function v(e){return 219===e.contextNode.kind||185===e.contextNode.kind}function b(e){return e.TokensAreOnSameLine()||D(e)}function k(e){return 197===e.contextNode.kind||191===e.contextNode.kind||function(e){return S(e)&&(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}(e)}function x(e){return D(e)&&!(e.NextNodeAllOnSameLine()||e.NextNodeBlockIsOnOneLine())}function E(e){return S(e)&&!(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}function S(e){return w(e.contextNode)}function D(e){return w(e.nextTokenParent)}function w(e){if(P(e))return!0;switch(e.kind){case 232:case 261:case 201:case 260:return!0}return!1}function T(e){switch(e.contextNode.kind){case 253:case 166:case 165:case 168:case 169:case 170:case 209:case 167:case 210:case 256:return!0}return!1}function C(e){return!T(e)}function A(e){return 253===e.contextNode.kind||209===e.contextNode.kind}function N(e){return P(e.contextNode)}function P(e){switch(e.kind){case 254:case 255:case 223:case 256:case 258:case 178:case 259:case 270:case 271:case 264:case 267:return!0}return!1}function I(e){switch(e.currentTokenParent.kind){case 254:case 255:case 259:case 258:case 290:case 260:case 246:return!0;case 232:var t=e.currentTokenParent.parent;if(!t||210!==t.kind&&209!==t.kind)return!0}return!1}function F(e){switch(e.contextNode.kind){case 236:case 246:case 239:case 240:case 241:case 238:case 249:case 237:case 245:case 290:return!0;default:return!1}}function O(e){return 201===e.contextNode.kind}function R(e){return function(e){return 204===e.contextNode.kind}(e)||function(e){return 205===e.contextNode.kind}(e)}function M(e){return 27!==e.currentTokenSpan.kind}function L(e){return 23!==e.nextTokenSpan.kind}function j(e){return 21!==e.nextTokenSpan.kind}function B(e){return 210===e.contextNode.kind}function z(e){return 196===e.contextNode.kind}function U(e){return e.TokensAreOnSameLine()&&11!==e.contextNode.kind}function q(e){return 11!==e.contextNode.kind}function J(e){return 276!==e.contextNode.kind&&280!==e.contextNode.kind}function V(e){return 286===e.contextNode.kind||285===e.contextNode.kind}function H(e){return 283===e.nextTokenParent.kind}function K(e){return 283===e.contextNode.kind}function W(e){return 277===e.contextNode.kind}function G(e){return!T(e)&&!D(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 162===t.kind}function X(e){return 252===e.currentTokenParent.kind&&e.currentTokenParent.getStart(e.sourceFile)===e.currentTokenSpan.pos}function Q(e){return 2!==e.formattingRequestKind}function Z(e){return 259===e.contextNode.kind}function ee(e){return 178===e.contextNode.kind}function te(e){return 171===e.contextNode.kind}function re(e,t){if(29!==e.kind&&31!==e.kind)return!1;switch(t.kind){case 174:case 207:case 257:case 254:case 223:case 255:case 256:case 253:case 209:case 210:case 166:case 165:case 170:case 171:case 204:case 205:case 225:return!0;default:return!1}}function ne(e){return re(e.currentTokenSpan,e.currentTokenParent)||re(e.nextTokenSpan,e.nextTokenParent)}function ie(e){return 207===e.contextNode.kind}function ae(e){return 114===e.currentTokenSpan.kind&&214===e.currentTokenParent.kind}function oe(e){return 221===e.contextNode.kind&&void 0!==e.contextNode.expression}function se(e){return 227===e.contextNode.kind}function ce(e){return!function(e){switch(e.contextNode.kind){case 236:case 239:case 240:case 241:case 237:case 238:return!0;default:return!1}}(e)}function le(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:231!==r&&26!==r&&(256===t.contextNode.kind||257===t.contextNode.kind?!e.isPropertySignature(t.currentTokenParent)||!!t.currentTokenParent.type||20!==r:e.isPropertyDeclaration(t.currentTokenParent)?!t.currentTokenParent.initializer:239!==t.currentTokenParent.kind&&233!==t.currentTokenParent.kind&&231!==t.currentTokenParent.kind&&22!==r&&20!==r&&39!==r&&40!==r&&43!==r&&13!==r&&27!==r&&220!==r&&15!==r&&14!==r&&24!==r)}function ue(t){return e.positionIsASICandidate(t.currentTokenSpan.end,t.currentTokenParent,t.sourceFile)}t.getAllRules=function(){for(var a=[],S=0;S<=157;S++)1!==S&&a.push(S);function w(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return{tokens:a.filter((function(t){return!e.some((function(e){return e===t}))})),isSpecific:!1}}var P={tokens:a,isSpecific:!1},Y=n(i(i([],a),[3])),re=n(i(i([],a),[1])),de=o(80,157),pe=o(29,77),fe=[101,102,157,127,138],me=i([78],e.typeKeywords),ge=Y,_e=n([78,3,83,84,93,100]),he=n([21,3,90,111,96,91]),ye=[r("IgnoreBeforeComment",P,[2,3],t.anyContext,1),r("IgnoreAfterLineComment",2,P,t.anyContext,1),r("NotSpaceBeforeColon",P,58,[U,_,h],16),r("SpaceAfterColon",58,P,[U,_],4),r("NoSpaceBeforeQuestionMark",P,57,[U,_,h],16),r("SpaceAfterQuestionMarkInConditionalOperator",57,P,[U,v],4),r("NoSpaceAfterQuestionMark",57,P,[U],16),r("NoSpaceBeforeDot",P,[24,28],[U],16),r("NoSpaceAfterDot",[24,28],P,[U],16),r("NoSpaceBetweenImportParenInImportType",100,20,[U,z],16),r("NoSpaceAfterUnaryPrefixOperator",[45,46,54,53],[8,9,78,20,22,18,108,103],[U,_],16),r("NoSpaceAfterUnaryPreincrementOperator",45,[78,20,108,103],[U],16),r("NoSpaceAfterUnaryPredecrementOperator",46,[78,20,108,103],[U],16),r("NoSpaceBeforeUnaryPostincrementOperator",[78,21,23,103],45,[U,ce],16),r("NoSpaceBeforeUnaryPostdecrementOperator",[78,21,23,103],46,[U,ce],16),r("SpaceAfterPostincrementWhenFollowedByAdd",45,39,[U,g],4),r("SpaceAfterAddWhenFollowedByUnaryPlus",39,39,[U,g],4),r("SpaceAfterAddWhenFollowedByPreincrement",39,45,[U,g],4),r("SpaceAfterPostdecrementWhenFollowedBySubtract",46,40,[U,g],4),r("SpaceAfterSubtractWhenFollowedByUnaryMinus",40,40,[U,g],4),r("SpaceAfterSubtractWhenFollowedByPredecrement",40,46,[U,g],4),r("NoSpaceAfterCloseBrace",19,[27,26],[U],16),r("NewLineBeforeCloseBraceInBlockContext",Y,19,[E],8),r("SpaceAfterCloseBrace",19,w(21),[U,I],4),r("SpaceBetweenCloseBraceAndElse",19,91,[U],4),r("SpaceBetweenCloseBraceAndWhile",19,115,[U],4),r("NoSpaceBetweenEmptyBraceBrackets",18,19,[U,O],16),r("SpaceAfterConditionalClosingParen",21,22,[F],4),r("NoSpaceBetweenFunctionKeywordAndStar",98,41,[A],16),r("SpaceAfterStarInGeneratorDeclaration",41,78,[A],4),r("SpaceAfterFunctionInFuncDecl",98,P,[T],4),r("NewLineAfterOpenBraceInBlockContext",18,P,[E],8),r("SpaceAfterGetSetInMember",[135,147],78,[T],4),r("NoSpaceBetweenYieldKeywordAndStar",125,41,[U,oe],16),r("SpaceBetweenYieldOrYieldStarAndOperand",[125,41],P,[U,oe],4),r("NoSpaceBetweenReturnAndSemicolon",105,26,[U],16),r("SpaceAfterCertainKeywords",[113,109,103,89,105,112,131],P,[U],4),r("SpaceAfterLetConstInVariableDeclaration",[119,85],P,[U,X],4),r("NoSpaceBeforeOpenParenInFuncCall",P,20,[U,R,M],16),r("SpaceBeforeBinaryKeywordOperator",P,fe,[U,g],4),r("SpaceAfterBinaryKeywordOperator",fe,P,[U,g],4),r("SpaceAfterVoidOperator",114,P,[U,ae],4),r("SpaceBetweenAsyncAndOpenParen",130,20,[B,U],4),r("SpaceBetweenAsyncAndFunctionKeyword",130,[98,78],[U],4),r("NoSpaceBetweenTagAndTemplateString",[78,21],[14,15],[U],16),r("SpaceBeforeJsxAttribute",P,78,[H,U],4),r("SpaceBeforeSlashInJsxOpeningElement",P,43,[W,U],4),r("NoSpaceBeforeGreaterThanTokenInJsxOpeningElement",43,31,[W,U],16),r("NoSpaceBeforeEqualInJsxAttribute",P,62,[K,U],16),r("NoSpaceAfterEqualInJsxAttribute",62,P,[K,U],16),r("NoSpaceAfterModuleImport",[140,144],20,[U],16),r("SpaceAfterCertainTypeScriptKeywords",[126,83,84,134,88,92,93,94,135,117,100,118,140,141,121,123,122,143,147,124,150,154,139,136],P,[U],4),r("SpaceBeforeCertainTypeScriptKeywords",P,[94,117,154],[U],4),r("SpaceAfterModuleName",10,18,[Z],4),r("SpaceBeforeArrow",P,38,[U],4),r("SpaceAfterArrow",38,P,[U],4),r("NoSpaceAfterEllipsis",25,78,[U],16),r("NoSpaceAfterOptionalParameters",57,[21,27],[U,_],16),r("NoSpaceBetweenEmptyInterfaceBraceBrackets",18,19,[U,ee],16),r("NoSpaceBeforeOpenAngularBracket",me,29,[U,ne],16),r("NoSpaceBetweenCloseParenAndAngularBracket",21,29,[U,ne],16),r("NoSpaceAfterOpenAngularBracket",29,P,[U,ne],16),r("NoSpaceBeforeCloseAngularBracket",P,31,[U,ne],16),r("NoSpaceAfterCloseAngularBracket",31,[20,22,31,27],[U,ne,C],16),r("SpaceBeforeAt",[21,78],59,[U],4),r("NoSpaceAfterAt",59,P,[U],16),r("SpaceAfterDecorator",P,[126,78,93,88,83,84,124,123,121,122,135,147,22,41],[$],4),r("NoSpaceBeforeNonNullAssertionOperator",P,53,[U,se],16),r("NoSpaceAfterNewKeywordOnConstructorSignature",103,20,[U,te],16),r("SpaceLessThanAndNonJSXTypeAnnotation",29,29,[U],4)],ve=[r("SpaceAfterConstructor",133,20,[c("insertSpaceAfterConstructor"),U],4),r("NoSpaceAfterConstructor",133,20,[u("insertSpaceAfterConstructor"),U],16),r("SpaceAfterComma",27,P,[c("insertSpaceAfterCommaDelimiter"),U,J,L,j],4),r("NoSpaceAfterComma",27,P,[u("insertSpaceAfterCommaDelimiter"),U,J],16),r("SpaceAfterAnonymousFunctionKeyword",[98,41],20,[c("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),T],4),r("NoSpaceAfterAnonymousFunctionKeyword",[98,41],20,[u("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),T],16),r("SpaceAfterKeywordInControl",de,20,[c("insertSpaceAfterKeywordsInControlFlowStatements"),F],4),r("NoSpaceAfterKeywordInControl",de,20,[u("insertSpaceAfterKeywordsInControlFlowStatements"),F],16),r("SpaceAfterOpenParen",20,P,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),U],4),r("SpaceBeforeCloseParen",P,21,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),U],4),r("SpaceBetweenOpenParens",20,20,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),U],4),r("NoSpaceBetweenParens",20,21,[U],16),r("NoSpaceAfterOpenParen",20,P,[u("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),U],16),r("NoSpaceBeforeCloseParen",P,21,[u("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),U],16),r("SpaceAfterOpenBracket",22,P,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),U],4),r("SpaceBeforeCloseBracket",P,23,[c("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),U],4),r("NoSpaceBetweenBrackets",22,23,[U],16),r("NoSpaceAfterOpenBracket",22,P,[u("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),U],16),r("NoSpaceBeforeCloseBracket",P,23,[u("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),U],16),r("SpaceAfterOpenBrace",18,P,[p("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),k],4),r("SpaceBeforeCloseBrace",P,19,[p("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),k],4),r("NoSpaceBetweenEmptyBraceBrackets",18,19,[U,O],16),r("NoSpaceAfterOpenBrace",18,P,[l("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),U],16),r("NoSpaceBeforeCloseBrace",P,19,[l("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),U],16),r("SpaceBetweenEmptyBraceBrackets",18,19,[c("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces")],4),r("NoSpaceBetweenEmptyBraceBrackets",18,19,[l("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces"),U],16),r("SpaceAfterTemplateHeadAndMiddle",[15,16],P,[c("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),q],4,1),r("SpaceBeforeTemplateMiddleAndTail",P,[16,17],[c("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),U],4),r("NoSpaceAfterTemplateHeadAndMiddle",[15,16],P,[u("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),q],16,1),r("NoSpaceBeforeTemplateMiddleAndTail",P,[16,17],[u("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),U],16),r("SpaceAfterOpenBraceInJsxExpression",18,P,[c("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),U,V],4),r("SpaceBeforeCloseBraceInJsxExpression",P,19,[c("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),U,V],4),r("NoSpaceAfterOpenBraceInJsxExpression",18,P,[u("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),U,V],16),r("NoSpaceBeforeCloseBraceInJsxExpression",P,19,[u("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),U,V],16),r("SpaceAfterSemicolonInFor",26,P,[c("insertSpaceAfterSemicolonInForStatements"),U,f],4),r("NoSpaceAfterSemicolonInFor",26,P,[u("insertSpaceAfterSemicolonInForStatements"),U,f],16),r("SpaceBeforeBinaryOperator",P,pe,[c("insertSpaceBeforeAndAfterBinaryOperators"),U,g],4),r("SpaceAfterBinaryOperator",pe,P,[c("insertSpaceBeforeAndAfterBinaryOperators"),U,g],4),r("NoSpaceBeforeBinaryOperator",P,pe,[u("insertSpaceBeforeAndAfterBinaryOperators"),U,g],16),r("NoSpaceAfterBinaryOperator",pe,P,[u("insertSpaceBeforeAndAfterBinaryOperators"),U,g],16),r("SpaceBeforeOpenParenInFuncDecl",P,20,[c("insertSpaceBeforeFunctionParenthesis"),U,T],4),r("NoSpaceBeforeOpenParenInFuncDecl",P,20,[u("insertSpaceBeforeFunctionParenthesis"),U,T],16),r("NewLineBeforeOpenBraceInControl",he,18,[c("placeOpenBraceOnNewLineForControlBlocks"),F,x],8,1),r("NewLineBeforeOpenBraceInFunction",ge,18,[c("placeOpenBraceOnNewLineForFunctions"),T,x],8,1),r("NewLineBeforeOpenBraceInTypeScriptDeclWithBlock",_e,18,[c("placeOpenBraceOnNewLineForFunctions"),N,x],8,1),r("SpaceAfterTypeAssertion",31,P,[c("insertSpaceAfterTypeAssertion"),U,ie],4),r("NoSpaceAfterTypeAssertion",31,P,[u("insertSpaceAfterTypeAssertion"),U,ie],16),r("SpaceBeforeTypeAnnotation",P,[57,58],[c("insertSpaceBeforeTypeAnnotation"),U,y],4),r("NoSpaceBeforeTypeAnnotation",P,[57,58],[u("insertSpaceBeforeTypeAnnotation"),U,y],16),r("NoOptionalSemicolon",26,re,[s("semicolons",e.SemicolonPreference.Remove),le],32),r("OptionalSemicolon",P,re,[s("semicolons",e.SemicolonPreference.Insert),ue],64)],be=[r("NoSpaceBeforeSemicolon",P,26,[U],16),r("SpaceBeforeOpenBraceInControl",he,18,[d("placeOpenBraceOnNewLineForControlBlocks"),F,Q,b],4,1),r("SpaceBeforeOpenBraceInFunction",ge,18,[d("placeOpenBraceOnNewLineForFunctions"),T,D,Q,b],4,1),r("SpaceBeforeOpenBraceInTypeScriptDeclWithBlock",_e,18,[d("placeOpenBraceOnNewLineForFunctions"),N,Q,b],4,1),r("NoSpaceBeforeComma",P,27,[U],16),r("NoSpaceBeforeOpenBracket",w(130,81),22,[U],16),r("NoSpaceAfterCloseBracket",23,P,[U,G],16),r("SpaceAfterSemicolon",26,P,[U],4),r("SpaceBetweenForAndAwaitKeyword",97,131,[U],4),r("SpaceBetweenStatements",[21,90,91,81],P,[U,J,m],4),r("SpaceAfterTryCatchFinally",[111,82,96],18,[U],4)];return i(i(i([],ye),ve),be)}}(e.formatting||(e.formatting={}))}(d||(d={})),function(e){!function(t){var r;function n(){var n,o;return void 0===r&&(n=t.getAllRules(),o=function(e){for(var t=new Array(l*l),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,d=o.leftTokenRange.tokens;c<d.length;c++)for(var p=d[c],f=0,m=o.rightTokenRange.tokens;f<m.length;f++){var g=a(p,m[f]),_=t[g];void 0===_&&(_=t[g]=[]),u(_,o.rule,s,r,g)}return t}(n),r=function(t){var r=o[a(t.currentTokenSpan.kind,t.nextTokenSpan.kind)];if(r){for(var n=[],s=0,c=0,l=r;c<l.length;c++){var u=l[c],d=~i(s);u.action&d&&e.every(u.context,(function(e){return e(t)}))&&(n.push(u),s|=u.action)}if(n.length)return n}}),r}function i(e){var t=0;return 1&e&&(t|=28),2&e&&(t|=96),28&e&&(t|=28),96&e&&(t|=96),t}function a(t,r){return e.Debug.assert(t<=157&&r<=157,"Must compute formatting context from tokens"),t*l+r}t.getFormatContext=function(e,t){return{options:e,getRules:n(),host:t}};var o,s=5,c=31,l=158;function u(r,n,i,a,l){var u,d,p,f=3&n.action?i?o.StopRulesSpecific:o.StopRulesAny:n.context!==t.anyContext?i?o.ContextRulesSpecific:o.ContextRulesAny:i?o.NoContextRulesSpecific:o.NoContextRulesAny,m=a[l]||0;r.splice(function(e,t){for(var r=0,n=0;n<=t;n+=s)r+=e&c,e>>=s;return r}(m,f),0,n),a[l]=(p=1+((u=m)>>(d=f)&c),e.Debug.assert((p&c)===p,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),u&~(c<<d)|p<<d)}!function(e){e[e.StopRulesSpecific=0]="StopRulesSpecific",e[e.StopRulesAny=1*s]="StopRulesAny",e[e.ContextRulesSpecific=2*s]="ContextRulesSpecific",e[e.ContextRulesAny=3*s]="ContextRulesAny",e[e.NoContextRulesSpecific=4*s]="NoContextRulesSpecific",e[e.NoContextRulesAny=5*s]="NoContextRulesAny"}(o||(o={}))}(e.formatting||(e.formatting={}))}(d||(d={})),function(e){!function(t){var r,n,i,a,o;function s(t,r,n){var i=e.findPrecedingToken(t,n);return i&&i.kind===r&&t===i.getEnd()?i:void 0}function c(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 254:case 255:case 256:return e.rangeContainsRange(t.members,r);case 259:var n=t.body;return!!n&&260===n.kind&&e.rangeContainsRange(n.statements,r);case 300:case 232:case 260:return e.rangeContainsRange(t.statements,r);case 290:return e.rangeContainsRange(t.block.statements,r)}return!1}function u(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:t.pos}(o,r,n),r.end,(function(s){return p(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 p(r,n,i,a,o,s,c,l,u){var d,p,m,g,_=s.options,h=s.getRules,y=s.host,v=new t.FormattingContext(u,c,_),b=-1,k=[];if(o.advance(),o.isOnToken()){var x=u.getLineAndCharacterOfPosition(n.getStart(u)).line,E=x;n.decorators&&(E=u.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(n,u)).line),function n(i,a,s,c,f,h){if(!e.rangeOverlapsWithStartEnd(r,i.getStart(u),i.getEnd()))return;var y=w(i,s,f,h),v=a;e.forEachChild(i,(function(e){E(e,-1,i,y,s,c,!1)}),(function(e){S(e,i,s,y)}));for(;o.isOnToken();){var k=o.readTokenInfo(i);if(k.token.end>i.end)break;11!==i.kind?D(k,i,y,i):o.advance()}if(!i.parent&&o.isOnEOF()){var x=o.readEOFTokenRange();x.end<=i.end&&d&&N(x,u.getLineAndCharacterOfPosition(x.pos).line,i,d,m,p,a,y)}function E(a,s,c,l,d,p,f,m){var h=a.getStart(u),y=u.getLineAndCharacterOfPosition(h).line,k=y;a.decorators&&(k=u.getLineAndCharacterOfPosition(e.getNonDecoratorTokenPosOfNode(a,u)).line);var x=-1;if(f&&e.rangeContainsRange(r,c)&&(x=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=u.getLineAndCharacterOfPosition(r).line,c=e.getLineStartPositionForPosition(r,u),l=t.SmartIndenter.findFirstNonWhitespaceColumn(c,r,u,_);if(s!==i||r===l){var d=t.SmartIndenter.getBaseIndentation(_);return d>l?d:l}}return-1}(h,a.end,d,r,s),-1!==x&&(s=x)),!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();){if((E=o.readTokenInfo(i)).token.end>h){E.token.pos>h&&o.skipToStartOf(a);break}D(E,i,l,i)}if(!o.isOnToken())return s;if(e.isToken(a)){var E=o.readTokenInfo(a);if(11!==a.kind)return e.Debug.assert(E.token.end===a.end,"Token end is child end"),D(E,i,l,a),s}var S=162===a.kind?y:p,w=function(e,r,n,i,a,o){var s=t.SmartIndenter.shouldIndentChildNode(_,e)?_.indentSize:0;return o===r?{indentation:r===g?b:a.getIndentation(),delta:Math.min(_.indentSize,a.getDelta(e)+s)}:-1===n?20===e.kind&&r===g?{indentation:b,delta:a.getDelta(e)}:t.SmartIndenter.childStartsOnTheSameLineWithElseInIfStatement(i,e,r,u)||t.SmartIndenter.childIsUnindentedBranchOfConditionalExpression(i,e,r,u)||t.SmartIndenter.argumentStartsOnSameLineAsPreviousArgument(i,e,r,u)?{indentation:a.getIndentation(),delta:s}:{indentation:a.getIndentation()+a.getDelta(e),delta:s}:{indentation:n,delta:s}}(a,y,x,i,l,S);if(n(a,v,y,k,w.indentation,w.delta),11===a.kind){var T={pos:a.getStart(),end:a.getEnd()};if(T.pos!==T.end){var C=c.getChildren(u),A=C[e.findIndex(C,(function(e){return e.pos===a.pos}))-1];if(A&&u.getLineAndCharacterOfPosition(T.end).line!==u.getLineAndCharacterOfPosition(A.end).line){var N=u.getLineAndCharacterOfPosition(T.pos).line===u.getLineAndCharacterOfPosition(A.end).line;I(T,w.indentation,N,!1,!0)}}}return v=i,m&&200===c.kind&&-1===s&&(s=w.indentation),s}function S(r,n,a,s){e.Debug.assert(e.isNodeArray(r));var c=function(e,t){switch(e.kind){case 167:case 253:case 209:case 166:case 165:case 210:if(e.typeParameters===t)return 29;if(e.parameters===t)return 20;break;case 204:case 205:if(e.typeArguments===t)return 29;if(e.arguments===t)return 20;break;case 174:if(e.typeArguments===t)return 29;break;case 178:return 18}return 0}(n,r),l=s,d=a;if(0!==c)for(;o.isOnToken();){if((y=o.readTokenInfo(n)).token.end>r.pos)break;if(y.token.kind===c){d=u.getLineAndCharacterOfPosition(y.token.pos).line,D(y,n,s,n);var p=void 0;if(-1!==b)p=b;else{var f=e.getLineStartPositionForPosition(y.token.pos,u);p=t.SmartIndenter.findFirstNonWhitespaceColumn(f,y.token.pos,u,_)}l=w(n,a,p,_.indentSize)}else D(y,n,s,n)}for(var m=-1,g=0;g<r.length;g++){m=E(r[g],m,i,l,d,d,!0,0===g)}var h=function(e){switch(e){case 20:return 21;case 29:return 31;case 18:return 19}return 0}(c);if(0!==h&&o.isOnToken()){var y;if(27===(y=o.readTokenInfo(n)).token.kind&&e.isCallLikeExpression(n))d!==u.getLineAndCharacterOfPosition(y.token.pos).line&&(o.advance(),y=o.isOnToken()?o.readTokenInfo(n):void 0);y&&y.token.kind===h&&e.rangeContainsRange(n,y.token)&&D(y,n,l,n,!0)}}function D(t,n,i,a,s){e.Debug.assert(e.rangeContainsRange(n,t.token));var c=o.lastTrailingTriviaWasNewLine(),p=!1;t.leadingTrivia&&C(t.leadingTrivia,n,v,i);var f=0,m=e.rangeContainsRange(r,t.token),_=u.getLineAndCharacterOfPosition(t.token.pos);if(m){var h=l(t.token),y=d;if(f=A(t.token,_,n,v,i),!h)if(0===f){var k=y&&u.getLineAndCharacterOfPosition(y.end).line;p=c&&_.line!==k}else p=1===f}if(t.trailingTrivia&&C(t.trailingTrivia,n,v,i),p){var x=m&&!l(t.token)?i.getIndentationForToken(_.line,t.token.kind,a,!!s):-1,E=!0;if(t.leadingTrivia){var S=i.getIndentationForComment(t.token.kind,x,a);E=T(t.leadingTrivia,S,E,(function(e){return P(e.pos,S,!1)}))}-1!==x&&E&&(P(t.token.pos,x,1===f),g=_.line,b=x)}o.advance(),v=n}}(n,n,x,E,i,a)}if(!o.isOnToken()){var S=t.SmartIndenter.nodeWillIndentChild(_,n,void 0,u,!1)?i+_.indentSize:i,D=o.getCurrentLeadingTrivia();D&&T(D,S,!1,(function(e){return A(e,u.getLineAndCharacterOfPosition(e.pos),n,n,void 0)}))}return!1!==_.trimTrailingWhitespace&&function(){var e=d?d.end:r.pos,t=u.getLineAndCharacterOfPosition(e).line,n=u.getLineAndCharacterOfPosition(r.end).line;F(t,n+1,d)}(),k;function w(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 278:case 279:case 277:case 225:return!1}break;case 22:case 23:if(191!==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 254:return 83;case 255:return 84;case 256:return 118;case 253:return 98;case 258:return 258;case 168:return 135;case 169:return 147;case 166:if(t.asteriskToken)return 41;case 164:case 161: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(_,n,r,u)&&(i+=e?_.indentSize:-_.indentSize,a=t.SmartIndenter.shouldIndentChildNode(_,r)?_.indentSize:0)}};function o(e){return t.SmartIndenter.nodeWillIndentChild(_,r,e,u,!0)?a:0}}function T(t,n,i,a){for(var o=0,s=t;o<s.length;o++){var c=s[o],l=e.rangeContainsRange(r,c);switch(c.kind){case 3:l&&I(c,n,!i),i=!1;break;case 2:i&&l&&a(c),i=!1;break;case 4:i=!0}}return i}function C(t,n,i,a){for(var o=0,s=t;o<s.length;o++){var c=s[o];if(e.isComment(c.kind)&&e.rangeContainsRange(r,c))A(c,u.getLineAndCharacterOfPosition(c.pos),n,i,a)}}function A(e,t,n,i,a){var o=0;l(e)||(d?o=N(e,t.line,n,d,m,p,i,a):F(u.getLineAndCharacterOfPosition(r.pos).line,t.line));return d=e,p=n,m=t.line,o}function N(t,r,n,i,a,o,s,c){v.updateContext(i,o,t,n,s);var l=h(v),d=!1!==v.options.trimTrailingWhitespace,p=0;return l?e.forEachRight(l,(function(o){switch(p=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 M(r.end,i.pos-r.end,e.getNewLineOrDefaultFromHost(y,_)),o?0:1;break;case 4:if(1!==t.flags&&n!==a)return 0;if(1!==i.pos-r.end||32!==u.text.charCodeAt(r.end))return M(r.end,i.pos-r.end," "),o?2:0;break;case 64:s=r.end,(c=";")&&k.push(e.createTextChangeFromStartLength(s,0,c))}var s,c;return 0}(o,i,a,t,r),p){case 2:n.getStart(u)===t.pos&&c.recomputeIndentation(!1,s);break;case 1:n.getStart(u)===t.pos&&c.recomputeIndentation(!0,s);break;default:e.Debug.assert(0===p)}d=d&&!(16&o.action)&&1!==o.flags})):d=d&&1!==t.kind,r!==a&&d&&F(a,r,i),p}function P(t,r,n){var i=f(r,_);if(n)M(t,0,i);else{var a=u.getLineAndCharacterOfPosition(t),o=e.getStartPositionOfLine(a.line,u);(r!==function(e,t){for(var r=0,n=0;n<t;n++)9===u.text.charCodeAt(e+n)?r+=_.tabSize-r%_.tabSize:r++;return r}(o,a.character)||function(e,t){return e!==u.text.substr(t,e.length)}(i,o))&&M(o,a.character,i)}}function I(r,n,i,a,o){void 0===a&&(a=!0);var s=u.getLineAndCharacterOfPosition(r.pos).line,c=u.getLineAndCharacterOfPosition(r.end).line;if(s!==c){for(var l=[],d=r.pos,p=s;p<c;p++){var m=e.getEndLinePosition(p,u);l.push({pos:d,end:m}),d=e.getStartPositionOfLine(p+1,u)}if(a&&l.push({pos:d,end:r.end}),0!==l.length){var g=e.getStartPositionOfLine(s,u),h=t.SmartIndenter.findFirstNonWhitespaceCharacterAndColumn(g,l[0].pos,u,_),y=0;i&&(y=1,s++);for(var v=n-h.column,b=y;b<l.length;b++,s++){var k=e.getStartPositionOfLine(s,u),x=0===b?h:t.SmartIndenter.findFirstNonWhitespaceCharacterAndColumn(l[b].pos,l[b].end,u,_);if(o){if(e.isLineBreak(u.text.charCodeAt(e.getStartPositionOfLine(s,u))))continue;v=n-x.column}var E=x.column+v;if(E>0){var S=f(E,_);M(k,x.character,S)}else R(k,x.character)}}}else i||P(r.pos,n,!1)}function F(t,r,n){for(var i=t;i<r;i++){var a=e.getStartPositionOfLine(i,u),o=e.getEndLinePosition(i,u);if(!(n&&(e.isComment(n.kind)||e.isStringOrRegularExpressionOrTemplateLiteral(n.kind))&&n.pos<=o&&n.end>o)){var s=O(a,o);-1!==s&&(e.Debug.assert(s===a||!e.isWhiteSpaceSingleLine(u.text.charCodeAt(s-1))),R(s,o+1-s))}}}function O(t,r){for(var n=r;n>=t&&e.isWhiteSpaceSingleLine(u.text.charCodeAt(n));)n--;return n!==r?n+1:-1}function R(t,r){r&&k.push(e.createTextChangeFromStartLength(t,r,""))}function M(t,r,n){(r||n)&&k.push(e.createTextChangeFromStartLength(t,r,n))}}function f(t,r){if((!i||i.tabSize!==r.tabSize||i.indentSize!==r.indentSize)&&(i={tabSize:r.tabSize,indentSize:r.indentSize},a=o=void 0),r.convertTabsToSpaces){var n=void 0,s=Math.floor(t/r.indentSize),c=t%r.indentSize;return o||(o=[]),void 0===o[s]?(n=e.repeatString(" ",r.indentSize*s),o[s]=n):n=o[s],c?n+e.repeatString(" ",c):n}var l=Math.floor(t/r.tabSize),u=t-l*r.tabSize,d=void 0;return a||(a=[]),void 0===a[l]?a[l]=d=e.repeatString("\t",l):d=a[l],u?d+e.repeatString(" ",u):d}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},function(e){e[e.Unknown=-1]="Unknown"}(r||(r={})),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 u(c(s(e,26,t)),t,r,3)},t.formatOnOpeningCurly=function(t,r,n){var i=s(t,18,r);if(!i)return[];var a=c(i.parent);return d({pos:e.getLineStartPositionForPosition(a.getStart(r),r),end:t},r,n,4)},t.formatOnClosingCurly=function(e,t,r){return u(c(s(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:0,end:r.text.length};return t.getFormattingScanner(r.text,n,s.pos,s.end,(function(t){return p(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"}(n||(n={})),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=f}(e.formatting||(e.formatting={}))}(d||(d={})),function(e){!function(t){!function(r){var n,i;function a(e){return e.baseIndentSize||0}function o(e,t,r,n,i,o,l){for(var m,g=e.parent;g;){var h=!0;if(r){var y=e.getStart(i);h=y<r.pos||y>r.end}var v=s(g,e,i),b=v.line===t.line||p(g,e,t.line,i);if(h){var k=null===(m=f(e,i))||void 0===m?void 0:m[0],E=_(e,i,l,!!k&&u(k,i).line>v.line);if(-1!==E)return E+n;if(-1!==(E=c(e,g,t,b,i,l)))return E+n}x(l,g,e,i,o)&&!b&&(n+=l.indentSize);var S=d(g,e,t.line,i);g=(e=g).parent,t=S?i.getLineAndCharacterOfPosition(e.getStart(i)):v}return n+a(l)}function s(e,t,r){var n=f(t,r),i=n?n.pos:e.getStart(r);return r.getLineAndCharacterOfPosition(i)}function c(t,r,n,i,a,o){return(e.isDeclaration(t)||e.isStatementButNotDeclaration(t))&&(300===r.kind||!i)?y(n,a,o):-1}function l(t,r,n,i){var a=e.findNextToken(t,r,i);return a?18===a.kind?1:19===a.kind&&n===u(a,i).line?2:0:0}function u(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 p(t,r,n,i){if(236===t.kind&&t.elseStatement===r){var a=e.findChildOfKind(t,91,i);return e.Debug.assert(void 0!==a),u(a,i).line===n}return!1}function f(e,t){return e.parent&&m(e.getStart(t),e.getEnd(),e.parent,t)}function m(t,r,n,i){switch(n.kind){case 174:return a(n.typeArguments);case 201:return a(n.properties);case 200:case 267:case 271:case 197:case 198:return a(n.elements);case 178:return a(n.members);case 253:case 209:case 210:case 166:case 165:case 170:case 167:case 176:case 171:return a(n.typeParameters)||a(n.parameters);case 254:case 223:case 255:case 256:case 257:case 333:return a(n.typeParameters);case 205:case 204:return a(n.typeArguments)||a(n.arguments);case 252: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?y(t.getLineAndCharacterOfPosition(e.pos),t,r):-1}function _(e,t,r,n){if(e.parent&&252===e.parent.kind)return-1;var i=f(e,t);if(i){var a=i.indexOf(e);if(-1!==a){var o=h(i,a,t,r);if(-1!==o)return o}return g(i,t,r)+(n?r.indentSize:0)}return-1}function h(t,r,n,i){e.Debug.assert(r>=0&&r<t.length);for(var a=u(t[r],n),o=r-1;o>=0;o--)if(27!==t[o].kind){if(n.getLineAndCharacterOfPosition(t[o].end).line!==a.line)return y(a,n,i);a=u(t[o],n)}return-1}function y(e,t,r){var n=t.getPositionOfLineAndCharacter(e.line,0);return b(n,n+e.character,t,r)}function v(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 v(e,t,r,n).column}function k(e,t,r,n,i){var a=r?r.kind:0;switch(t.kind){case 235:case 254:case 223:case 255:case 256:case 258:case 257:case 200:case 232:case 260:case 201:case 178:case 191:case 180:case 261:case 288:case 287:case 208:case 202:case 204:case 205:case 234:case 269:case 244:case 219:case 198:case 197:case 278:case 281:case 277:case 286:case 165:case 170:case 171:case 161:case 175:case 176:case 187:case 206:case 215:case 271:case 267:case 273:case 268:case 164:return!0;case 251:case 291:case 218:if(!e.indentMultiLineObjectLiteralBeginningOnBlankLine&&n&&201===a)return E(n,r);if(218!==t.kind)return!0;break;case 237:case 238:case 240:case 241:case 239:case 236:case 253:case 209:case 166:case 167:case 168:case 169:return 232!==a;case 210:return n&&208===a?E(n,r):232!==a;case 270:return 271!==a;case 264:return 265!==a||!!r.namedBindings&&267!==r.namedBindings.kind;case 276:return 279!==a;case 280:return 282!==a;case 184:case 183:if(178===a||180===a)return!1}return i}function x(e,t,r,n,i){return void 0===i&&(i=!1),k(e,t,r,n,!1)&&!(i&&r&&function(e,t){switch(e){case 244:case 248:case 242:case 243:return 232!==t.kind;default:return!1}}(r.kind,t))}function E(t,r){var n=e.skipTrivia(t.text,r.pos);return t.getLineAndCharacterOfPosition(n).line===t.getLineAndCharacterOfPosition(r.end).line}!function(e){e[e.Unknown=-1]="Unknown"}(n||(n={})),r.getIndentation=function(r,n,i,s){if(void 0===s&&(s=!1),r>n.text.length)return a(i);if(i.indentStyle===e.IndentStyle.None)return 0;var c=e.findPrecedingToken(r,n,void 0,!0),d=t.getRangeOfEnclosingComment(n,r,c||null);if(d&&3===d.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=v(s,r,t,n),l=c.column,u=c.character;if(0===l)return l;var d=t.text.charCodeAt(s+u);return 42===d?l-1:l}(n,r,i,d);if(!c)return a(i);if(e.isStringOrRegularExpressionOrTemplateLiteral(c.kind)&&c.getStart(n)<=r&&r<c.end)return 0;var p=n.getLineAndCharacterOfPosition(r).line;if(i.indentStyle===e.IndentStyle.Block)return function(t,r,n){var i=r;for(;i>0;){var a=t.text.charCodeAt(i);if(!e.isWhiteSpaceLike(a))break;i--}var o=e.getLineStartPositionForPosition(i,t);return b(o,i,t,n)}(n,r,i);if(27===c.kind&&218!==c.parent.kind){var f=function(t,r,n){var i=e.findListItemInfo(t);return i&&i.listItemIndex>0?h(i.list.getChildren(),i.listItemIndex-1,r,n):-1}(c,n,i);if(-1!==f)return f}var y=function(e,t,r){return t&&m(e,e,t,r)}(r,c.parent,n);return y&&!e.rangeContainsRange(y,c)?g(y,n,i)+i.indentSize:function(t,r,n,i,s,c){var d,p=n;for(;p;){if(e.positionBelongsToNode(p,r,t)&&x(c,p,d,t,!0)){var f=u(p,t),m=l(n,p,i,t);return o(p,f,void 0,0!==m?s&&2===m?c.indentSize:0:i!==f.line?c.indentSize:0,t,!0,c)}var g=_(p,t,c,!0);if(-1!==g)return g;d=p,p=p.parent}return a(c)}(n,r,c,p,s,i)},r.getIndentationForNode=function(e,t,r,n){var i=r.getLineAndCharacterOfPosition(e.getStart(r));return o(e,i,t,0,r,!1,n)},r.getBaseIndentation=a,function(e){e[e.Unknown=0]="Unknown",e[e.OpenBrace=1]="OpenBrace",e[e.CloseBrace=2]="CloseBrace"}(i||(i={})),r.isArgumentAndStartLineOverlapsExpressionBeingCalled=d,r.childStartsOnTheSameLineWithElseInIfStatement=p,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=u(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=f,r.findFirstNonWhitespaceCharacterAndColumn=v,r.findFirstNonWhitespaceColumn=b,r.nodeWillIndentChild=k,r.shouldIndentChildNode=x}(t.SmartIndenter||(t.SmartIndenter={}))}(e.formatting||(e.formatting={}))}(d||(d={})),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 o(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,l;function u(t,r){return e.skipTrivia(t,r,!1,!0)}!function(e){e[e.Exclude=0]="Exclude",e[e.IncludeAll=1]="IncludeAll",e[e.JSDoc=2]="JSDoc",e[e.StartLine=3]="StartLine"}(c=t.LeadingTriviaOption||(t.LeadingTriviaOption={})),function(e){e[e.Exclude=0]="Exclude",e[e.ExcludeWhitespace=1]="ExcludeWhitespace",e[e.Include=2]="Include"}(l=t.TrailingTriviaOption||(t.TrailingTriviaOption={}));var d,p={leadingTriviaOption:c.Exclude,trailingTriviaOption:l.Exclude};function f(e,t,r,n){return{pos:m(e,t,n),end:g(e,r,n)}}function m(t,r,n){var i=n.leadingTriviaOption;if(i===c.Exclude)return r.getStart(t);if(i===c.StartLine)return e.getLineStartPositionForPosition(r.getStart(t),t);if(i===c.JSDoc){var a=e.getJSDocCommentRanges(r,t.text);if(null==a?void 0:a.length)return e.getLineStartPositionForPosition(a[0].pos,t)}var o=r.getFullStart(),s=r.getStart(t);if(o===s)return s;var l=e.getLineStartPositionForPosition(o,t);if(e.getLineStartPositionForPosition(s,t)===l)return i===c.IncludeAll?o:s;var d=o>0?1:0,p=e.getStartPositionOfLine(e.getLineOfLocalPosition(t,l)+d,t);return p=u(t.text,p),e.getStartPositionOfLine(e.getLineOfLocalPosition(t,p),t)}function g(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)),c=null===(i=null==s?void 0:s[s.length-1])||void 0===i?void 0:i.end;return c||a}var u=e.skipTrivia(t.text,a,!0);return u===a||o!==l.Include&&!e.isLineBreak(t.text.charCodeAt(u-1))?a:u}function _(e,t){return!!t&&!!e.parent&&(27===t.kind||26===t.kind&&201===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 h,y,v=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,f(e,t,t,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=g(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=p),this.replaceRange(e,f(e,t,t,n),r,n)},t.prototype.replaceNodeRange=function(e,t,r,n,i){void 0===i&&(i=p),this.replaceRange(e,f(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=p),this.replaceRangeWithNodes(e,f(e,t,t,n),r,n)},t.prototype.replaceNodeWithText=function(e,t,r){this.replaceRangeWithText(e,f(e,t,t,p),r)},t.prototype.replaceNodeRangeWithNodes=function(e,t,r,n,i){void 0===i&&(i=p),this.replaceRangeWithNodes(e,f(e,t,r,i),n,i)},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,g(),o;var c=e.getShebang(s);void 0!==c&&(o=c.length,g());var l,u,d=e.getLeadingCommentRanges(s,o);if(!d)return o;for(var p=0,f=d;p<f.length;p++){var m=f[p];if(3===m.kind){if(e.isPinnedComment(s,m.pos)){l={range:m,pinnedOrTripleSlash:!0};continue}}else if(e.isRecognizedTripleSlashComment(s,m.pos,m.end)){l={range:m,pinnedOrTripleSlash:!0};continue}if(l){if(l.pinnedOrTripleSlash)break;if(t.getLineAndCharacterOfPosition(m.pos).line>=t.getLineAndCharacterOfPosition(l.range.end).line+2)break}if(t.statements.length)if(void 0===u&&(u=t.getLineAndCharacterOfPosition(t.statements[0].getStart()).line),u<t.getLineAndCharacterOfPosition(m.end).line+2)break;l={range:m,pinnedOrTripleSlash:!1}}l&&(o=l.range.end,g());return o;function g(){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=D(t,o),c=e.getTouchingToken(t,s?o:n),l=t.text.slice(a,o),u=(s?"":this.newLineCharacter)+"//"+i+this.newLineCharacter+l;this.insertText(t,c.getStart(t),u)},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:g(t,s,{})})}var c=e.getPrecedingNonSpaceCharacterPosition(t.text,i-1),l=t.text.slice(c,i);this.insertNodeAt(t,i,n,{preserveLeadingWhitespace:!1,suffix:this.newLineCharacter+l})},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=251===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 a=e.firstOrUndefined(r.body.statements);a&&r.body.multiLine?this.insertNodeBefore(t,a,n):this.replaceConstructorBody(t,r,i([n],r.body.statements))},t.prototype.insertNodeAtConstructorEnd=function(t,r,n){var a=e.lastOrUndefined(r.body.statements);a&&r.body.multiLine?this.insertNodeAfter(t,a,n):this.replaceConstructorBody(t,r,i(i([],r.body.statements),[n]))},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,k(t).pos,r,this.getInsertNodeAtStartInsertOptions(e,t,i))},t.prototype.guessIndentationFromExistingMembers=function(t,r){for(var n,i=r,a=0,o=k(r);a<o.length;a++){var s=o[a];if(e.rangeStartPositionsAreOnSameLine(i,s,t))return;var c=s.getStart(t),l=e.formatting.SmartIndenter.findFirstNonWhitespaceColumn(e.getLineStartPositionForPosition(c,t),c,t,this.formatContext.options);if(void 0===n)n=l;else if(l!==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===k(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){var i,a;return i=r,a=n,((e.isPropertySignature(i)||e.isPropertyDeclaration(i))&&e.isClassOrTypeElement(a)&&159===a.name.kind||e.isStatementButNotDeclaration(i)&&e.isStatementButNotDeclaration(a))&&59!==t.text.charCodeAt(r.end-1)&&this.replaceRange(t,e.createRange(r.end),e.factory.createToken(26)),g(t,r,{})},t.prototype.getInsertNodeAfterOptions=function(t,r){var n=this.getInsertNodeAfterOptionsWorker(r);return a(a({},n),{prefix:r.end===t.end&&e.isStatement(r)?n.prefix?"\n"+n.prefix:"\n":n.prefix})},t.prototype.getInsertNodeAfterOptionsWorker=function(t){switch(t.kind){case 254:case 255:case 259:return{prefix:this.newLineCharacter,suffix:this.newLineCharacter};case 251:case 10:case 78:return{prefix:", "};case 291:return{suffix:","+this.newLineCharacter};case 93:return{prefix:" "};case 161: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),210===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:" "}),w(this,t,i)):(this.insertText(t,e.first(r.parameters).getStart(t),"function "+n+"("),this.replaceRange(t,i,e.factory.createToken(21))),232!==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,209===r.kind?98:83,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.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&&_(r,s)){var c=e.getLineAndCharacterOfPosition(t,u(t.text,i[a+1].getFullStart())),l=e.getLineAndCharacterOfPosition(t,s.end),d=void 0,p=void 0;l.line===c.line?(p=s.end,d=function(e){for(var t="",r=0;r<e;r++)t+=" ";return t}(c.character-l.character)):p=e.getStartPositionOfLine(c.line,t);var f=""+e.tokenToString(s.kind)+t.text.substring(s.end,i[a+1].getStart(t));this.replaceRange(t,e.createRange(p,i[a+1].getStart(t)),n,{prefix:d,suffix:f})}}else{var m=r.getStart(t),g=e.getLineStartPositionForPosition(m,t),h=void 0,y=!1;if(1===i.length)h=27;else{var v=e.findPrecedingToken(r.pos,t);h=_(r,v)?v.kind:27,y=e.getLineStartPositionForPosition(i[a-1].getStart(t),t)!==g}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)&&(y=!0),y){this.replaceRange(t,e.createRange(o),e.factory.createToken(h));for(var b=e.formatting.SmartIndenter.findFirstNonWhitespaceColumn(g,m,t,this.formatContext.options),k=e.skipTrivia(t.text,o,!0,!1);k!==o&&e.isLineBreak(t.text.charCodeAt(k-1));)k--;this.replaceRange(t,e.createRange(k),n,{indentation:b,prefix:this.newLineCharacter})}else this.replaceRange(t,e.createRange(o),n,{prefix:e.tokenToString(h)+" "})}}}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===k(n).length,l=e.positionsAreOnSameLine(o,s,i);c&&l&&o!==s-1&&t.deleteRange(i,e.createRange(o,s-1)),l&&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)):y.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:b(i,a[o+1])})}}))},t.prototype.getChanges=function(e){this.finishDeleteDeclarations(),this.finishClassesWithNodesInsertedAtStart();for(var t=h.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(h.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 b(t,r){return e.skipTrivia(t.text,m(t,r,{leadingTriviaOption:c.IncludeAll}),!1,!0)}function k(t){return e.isObjectLiteralExpression(t)?t.properties:t.members}function x(t,r){for(var n=r.length-1;n>=0;n--){var i=r[n],a=i.span,o=i.newText;t=""+t.substring(0,a.start)+o+t.substring(e.textSpanEnd(a))}return t}function E(t){var n=e.visitEachChild(t,E,e.nullTransformationContext,S,E),i=e.nodeIsSynthesized(n)?n:Object.create(n);return e.setTextRangePosEnd(i,r(t),o(t)),i}function S(t,n,i,a,s){var c=e.visitNodes(t,n,i,a,s);if(!c)return c;var l=c===t?e.factory.createNodeArray(c.slice(0)):c;return e.setTextRangePosEnd(l,r(t),o(t)),l}function D(t,r){return!(e.isInComment(t,r)||e.isInString(t,r)||e.isInTemplateString(t,r)||e.isInJSXText(t,r))}function w(e,t,r,n){void 0===n&&(n={leadingTriviaOption:c.IncludeAll});var i=m(t,r,n),a=g(t,r,n);e.deleteRange(t,{pos:i,end:a})}function T(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:b(n,i),end:o===a.length-1?g(n,i,{}):b(n,a[o+1])})):w(t,n,i)}t.ChangeTracker=v,t.getNewFileText=function(e,t,r,n){return h.newFileChangesWorker(void 0,t,e,r,n)},function(t){function r(t,r,n,a,o){var s=n.map((function(e){return 4===e?"":i(e,t,a).text})).join(a),c=e.createSourceFile("any file name",s,99,!0,r);return x(s,e.formatting.formatDocument(c,o))+a}function i(t,r,i){var a=function(t){var r=0,i=e.createTextWriter(t),a=function(e,t,i){t&&n(t,r),i(e,t),t&&s(t,r)},o=function(e){e&&n(e,r)},c=function(e){e&&s(e,r)};function l(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}}function u(e){i.write(e),l(e,!1)}function d(e){i.writeComment(e)}function p(e){i.writeKeyword(e),l(e,!1)}function f(e){i.writeOperator(e),l(e,!1)}function m(e){i.writePunctuation(e),l(e,!1)}function g(e){i.writeTrailingSemicolon(e),l(e,!1)}function _(e){i.writeParameter(e),l(e,!1)}function h(e){i.writeProperty(e),l(e,!1)}function y(e){i.writeSpace(e),l(e,!1)}function v(e){i.writeStringLiteral(e),l(e,!1)}function b(e,t){i.writeSymbol(e,t),l(e,!1)}function k(e){i.writeLine(e)}function x(){i.increaseIndent()}function E(){i.decreaseIndent()}function S(){return i.getText()}function D(e){i.rawWrite(e),l(e,!1)}function w(e){i.writeLiteral(e),l(e,!0)}function T(){return i.getTextPos()}function C(){return i.getLine()}function A(){return i.getColumn()}function N(){return i.getIndent()}function P(){return i.isAtStartOfLine()}function I(){i.clear(),r=0}return{onEmitNode:a,onBeforeEmitNodeArray:function(e){e&&n(e,r)},onAfterEmitNodeArray:function(e){e&&s(e,r)},onBeforeEmitToken:o,onAfterEmitToken:c,write:u,writeComment:d,writeKeyword:p,writeOperator:f,writePunctuation:m,writeTrailingSemicolon:g,writeParameter:_,writeProperty:h,writeSpace:y,writeStringLiteral:v,writeSymbol:b,writeLine:k,increaseIndent:x,decreaseIndent:E,getText:S,rawWrite:D,writeLiteral:w,getTextPos:T,getLine:C,getColumn:A,getIndent:N,isAtStartOfLine:P,hasTrailingComment:function(){return i.hasTrailingComment()},hasTrailingWhitespace:function(){return i.hasTrailingWhitespace()},clear:I}}(i),o="\n"===i?1:0;return e.createPrinter({newLine:o,neverAsciiEscape:!0,preserveSourceNewlines:!0,terminateUnterminatedLiterals:!0},a).writeNode(4,t,r,a),{text:a.getText(),node:E(t)}}t.getTextChangesFromChanges=function(t,r,n,o){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})),l=function(t){e.Debug.assert(c[t].range.end<=c[t+1].range.pos,"Changes overlap",(function(){return JSON.stringify(c[t].range)+" and "+JSON.stringify(c[t+1].range)}))},u=0;u<c.length-1;u++)l(u);var p=e.mapDefined(c,(function(t){var c=e.createTextSpanFromRange(t.range),l=function(t,r,n,o,s){if(t.kind===d.Remove)return"";if(t.kind===d.Text)return t.text;var c=t.options,l=void 0===c?{}:c,u=t.range.pos,p=function(t){return function(t,r,n,o,s,c,l){var u=o.indentation,d=o.prefix,p=o.delta,f=i(t,r,s),m=f.node,g=f.text;l&&l(m,g);var _=function(t,r){var n=t.options,i=!n.semicolons||n.semicolons===e.SemicolonPreference.Ignore,o=n.semicolons===e.SemicolonPreference.Remove||i&&!e.probablyUsesSemicolons(r);return a(a({},n),{semicolons:o?e.SemicolonPreference.Remove:e.SemicolonPreference.Ignore})}(c,r),h=void 0!==u?u:e.formatting.SmartIndenter.getIndentation(n,r,_,d===s||e.getLineStartPositionForPosition(n,r)===n);void 0===p&&(p=e.formatting.SmartIndenter.shouldIndentChildNode(_,t)&&_.indentSize||0);var y={text:g,getLineAndCharacterOfPosition:function(t){return e.getLineAndCharacterOfPosition(this,t)}},v=e.formatting.formatNodeGivenIndentation(m,y,r.languageVariant,h,p,a(a({},c),{options:_}));return x(g,v)}(t,r,u,l,n,o,s)},f=t.kind===d.ReplaceWithMultipleNodes?t.nodes.map((function(t){return e.removeSuffix(p(t),n)})).join(t.options.joiner||n):p(t.node),m=l.preserveLeadingWhitespace||void 0!==l.indentation||e.getLineStartPositionForPosition(u,r)===u?f:f.replace(/^\s+/,"");return(l.prefix||"")+m+(!l.suffix||e.endsWith(m,l.suffix)?"":l.suffix)}(t,s,r,n,o);if(c.length!==l.length||!e.stringContainsAt(s.text,l,c.start))return e.createTextChange(c,l)}));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=i}(h||(h={})),t.applyChanges=x,t.isValidLocationToAddComment=D,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{w(t,r,e.getAncestor(n,264))}}t.deleteDeclaration=function(t,n,i,a){switch(a.kind){case 161:var o=a.parent;e.isArrowFunction(o)&&1===o.parameters.length&&!e.findChildOfKind(o,20,i)?t.replaceNodeWithText(i,a,"()"):T(t,n,i,a);break;case 264:case 263:w(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 199:var s=a.parent;198===s.kind&&a!==e.last(s.elements)?w(t,i,a):T(t,n,i,a);break;case 251:!function(t,r,n,i){var a=i.parent;if(290===a.kind)return void t.deleteNodeRange(n,e.findChildOfKind(a,20,n),e.findChildOfKind(a,21,n));if(1!==a.declarations.length)return void T(t,r,n,i);var o=a.parent;switch(o.kind){case 241:case 240:t.replaceNode(n,i,e.factory.createObjectLiteralExpression());break;case 239:w(t,n,a);break;case 234:w(t,n,o,{leadingTriviaOption:e.hasJSDocNodes(o)?c.JSDoc:c.StartLine});break;default:e.Debug.assertNever(o)}}(t,n,i,a);break;case 160:T(t,n,i,a);break;case 268:var u=a.parent;1===u.elements.length?r(t,i,u):T(t,n,i,a);break;case 266:r(t,i,a);break;case 26:w(t,i,a,{trailingTriviaOption:l.Exclude});break;case 98:w(t,i,a,{leadingTriviaOption:c.Exclude});break;case 254:case 255:case 253:w(t,i,a,{leadingTriviaOption:e.hasJSDocNodes(a)?c.JSDoc:c.StartLine});break;default: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 w(t,r,n.name)}else w(t,r,n.parent)}(t,i,a.parent):e.isCallExpression(a.parent)&&e.contains(a.parent.arguments,a)?T(t,n,i,a):w(t,i,a)}}}(y||(y={})),t.deleteNode=w}(e.textChanges||(e.textChanges={}))}(d||(d={})),function(e){!function(t){var r=e.createMultiMap(),n=new e.Map;function o(t){return e.isArray(t)?e.formatStringFromArgs(e.getLocaleSpecificMessage(t[0]),t.slice(1)):e.getLocaleSpecificMessage(t)}function s(e,t,r,n,i,a){return{fixName:e,description:t,changes:r,fixId:n,fixAllDescription:i,commands:a?[a]:void 0}}function l(e,t){return{changes:e,commands:t}}function u(t,r,n){for(var i=0,a=d(t);i<a.length;i++){var o=a[i];e.contains(r,o.code)&&n(o)}}function d(t){var r=t.program,n=t.sourceFile,a=t.cancellationToken;return i(i(i([],r.getSemanticDiagnostics(n,a)),r.getSyntacticDiagnostics(n,a)),e.computeSuggestionDiagnostics(n,r,a))}t.createCodeFixActionWithoutFixAll=function(e,t,r){return s(e,o(r),t,void 0,void 0)},t.createCodeFixAction=function(e,t,r,n,i,a){return s(e,o(r),t,n,o(i),a)},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 l=c[s];e.Debug.assert(!n.has(l)),n.set(l,t)}},t.getSupportedErrorCodes=function(){return e.arrayFrom(r.keys())},t.getFixes=function(t){var n=d(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,o=0,s=r;o<s.length;o++){var l=s[o];if(e.contains(n,l.code)&&i++,i>1)break}var u=i<2;return function(e){var t=e.fixId,r=e.fixAllDescription,n=c(e,["fixId","fixAllDescription"]);return u?n:a(a({},n),{fixId:t,fixAllDescription:r})}}(r,n))}))},t.getAllFixes=function(t){return n.get(e.cast(t.fixId,e.isString)).getAllCodeActions(t)},t.createCombinedCodeActions=l,t.createFileTextChanges=function(e,t){return{fileName:e,textChanges:t}},t.codeFixAll=function(t,r,n){var i=[];return l(e.textChanges.ChangeTracker.with(t,(function(e){return u(t,r,(function(t){return n(e,t,i)}))})),0===i.length?void 0:i)},t.eachDiagnostic=u}(e.codefix||(e.codefix={}))}(d||(d={})),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?void 0: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)}}(d||(d={})),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.getTokenAtPosition(r,n),a=e.Debug.checkDefined(e.findAncestor(i,(function(t){return e.isAsExpression(t)||e.isTypeAssertionExpression(t)})),"Expected to find an assertion expression"),o=e.isAsExpression(a)?e.factory.createAsExpression(a.expression,e.factory.createKeywordTypeNode(153)):e.factory.createTypeAssertion(e.factory.createKeywordTypeNode(153),a.expression);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.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){return i(e,t.file,t.start)}))}})}(e.codefix||(e.codefix={}))}(d||(d={})),function(e){!function(t){t.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)]}})}(e.codefix||(e.codefix={}))}(d||(d={})),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)))return;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,l=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)),u=a(r,l&&l.relatedInformation&&e.find(l.relatedInformation,(function(t){return t.code===e.Diagnostics.Did_you_mean_to_mark_this_function_as_async.code})));if(u){return[i(t,u,(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})),l=a(o,c);if(l){return i(r,l,(function(e){return e(t),[]}),s)}}))}})}(e.codefix||(e.codefix={}))}(d||(d={})),function(e){!function(t){var r="addMissingAwait",n=e.Diagnostics.Property_0_does_not_exist_on_type_1.code,a=[e.Diagnostics.This_expression_is_not_callable.code,e.Diagnostics.This_expression_is_not_constructable.code],o=i([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.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],a);function s(r,n,i,a,s,c){var l=r.sourceFile,p=r.program,f=r.cancellationToken,m=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)return;for(var c,l=s.isCompleteFix,d=function(t){var s=a.getSymbolAtLocation(t);if(!s)return"continue";var d=e.tryCast(s.valueDeclaration,e.isVariableDeclaration),p=d&&e.tryCast(d.name,e.isIdentifier),f=e.getAncestor(d,234);if(!d||!f||d.type||!d.initializer||f.getSourceFile()!==r||e.hasSyntacticModifier(f,1)||!p||!u(d.initializer))return l=!1,"continue";var m=i.getSemanticDiagnostics(r,n),g=e.FindAllReferences.Core.eachSymbolReferenceInFile(p,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,m,r,a)}));if(g)return l=!1,"continue";(c||(c=[])).push({expression:d.initializer,declarationSymbol:s})},p=0,f=s.identifiers;p<f.length;p++){d(f[p])}return c&&{initializers:c,needsSecondPassForFixAll:!l}}(n,l,f,p,a);if(m){var g=s((function(t){e.forEach(m.initializers,(function(e){var r=e.expression;return d(t,i,l,a,r,c)})),c&&m.needsSecondPassForFixAll&&d(t,i,l,a,n,c)}));return t.createCodeFixActionWithoutFixAll("addMissingAwaitToInitializer",g,1===m.initializers.length?[e.Diagnostics.Add_await_to_initializer_for_0,m.initializers[0].declarationSymbol.name]:e.Diagnostics.Add_await_to_initializers)}}function c(n,i,a,o,s,c){var l=s((function(e){return d(e,a,n.sourceFile,o,i,c)}));return t.createCodeFixAction(r,l,e.Diagnostics.Add_await,r,e.Diagnostics.Fix_all_expressions_possibly_missing_await)}function l(t,r,n,i,a){var o=e.getTokenAtPosition(t,n.start),s=e.findAncestor(o,(function(r){return r.getStart(t)<n.start||r.getEnd()>e.textSpanEnd(n)?"quit":e.isExpression(r)&&e.textSpansEqual(n,e.createTextSpanFromNode(r,t))}));return s&&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)&&u(s)?s:void 0}function u(t){return 32768&t.kind||!!e.findAncestor(t,(function(t){return t.parent&&e.isArrowFunction(t.parent)&&t.parent.body===t||e.isBlock(t)&&(253===t.parent.kind||209===t.parent.kind||210===t.parent.kind||166===t.parent.kind)}))}function d(t,r,i,o,s,c){if(e.isBinaryExpression(s))for(var l=0,u=[s.left,s.right];l<u.length;l++){var d=u[l];if(c&&e.isIdentifier(d))if((g=o.getSymbolAtLocation(d))&&c.has(e.getSymbolId(g)))continue;var f=o.getTypeAtLocation(d),m=o.getPromisedTypeOfPromise(f)?e.factory.createAwaitExpression(d):d;t.replaceNode(i,d,m)}else if(r===n&&e.isPropertyAccessExpression(s.parent)){if(c&&e.isIdentifier(s.parent.expression))if((g=o.getSymbolAtLocation(s.parent.expression))&&c.has(e.getSymbolId(g)))return;t.replaceNode(i,s.parent.expression,e.factory.createParenthesizedExpression(e.factory.createAwaitExpression(s.parent.expression))),p(t,s.parent.expression,i)}else if(e.contains(a,r)&&e.isCallOrNewExpression(s.parent)){if(c&&e.isIdentifier(s))if((g=o.getSymbolAtLocation(s))&&c.has(e.getSymbolId(g)))return;t.replaceNode(i,s,e.factory.createParenthesizedExpression(e.factory.createAwaitExpression(s))),p(t,s,i)}else{var g;if(c&&e.isVariableDeclaration(s.parent)&&e.isIdentifier(s.parent.name))if((g=o.getSymbolAtLocation(s.parent.name))&&!e.tryAddToSet(c,e.getSymbolId(g)))return;t.replaceNode(i,s,e.factory.createAwaitExpression(s))}}function p(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=l(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([s(t,i,n,a,o),c(t,i,n,a,o)])}},getAllCodeActions:function(r){var n=r.sourceFile,i=r.program,a=r.cancellationToken,u=r.program.getTypeChecker(),d=new e.Set;return t.codeFixAll(r,o,(function(e,t){var o=l(n,t.code,t,a,i);if(o){var p=function(t){return t(e),[]};return s(r,o,t.code,u,p,d)||c(r,o,t.code,u,p,d)}}))}})}(e.codefix||(e.codefix={}))}(d||(d={})),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),l=e.findAncestor(c,(function(t){return e.isForInOrOfStatement(t.parent)?t.parent.initializer===t:!function(e){switch(e.kind){case 78:case 200:case 201:case 291:case 292:return!0;default:return!1}}(t)&&"quit"}));if(l)return a(t,l,r,s);var u=c.parent;if(e.isBinaryExpression(u)&&62===u.operatorToken.kind&&e.isExpressionStatement(u.parent))return a(t,c,r,s);if(e.isArrayLiteralExpression(u)){var d=i.getTypeChecker();if(!e.every(u.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,d)})))return;return a(t,u,r,s)}var p=e.findAncestor(c,(function(t){return!!e.isExpressionStatement(t.parent)||!function(e){switch(e.kind){case 78:case 218:case 27:return!0;default:return!1}}(t)&&"quit"}));if(p){if(!o(p,i.getTypeChecker()))return;return a(t,p,r,s)}}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)})):62===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={}))}(d||(d={})),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;164!==o.kind||i&&!e.tryAddToSet(i,o)||t.insertModifierBefore(r,134,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={}))}(d||(d={})),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={}))}(d||(d={})),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);if(!e.isIdentifier(i))return e.Debug.fail("add-name-to-nameless-parameter operates on identifiers, but got a "+e.Debug.formatSyntaxKind(i.kind));var 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.createParameterDeclaration(void 0,a.modifiers,a.dotDotDotToken,"arg"+o,a.questionToken,e.factory.createTypeReferenceNode(i,void 0),a.initializer);t.replaceNode(r,i,s)}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={}))}(d||(d={})),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)||251===t.kind||163===t.kind||164===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 l=s[o];if(!l.type){var u=e.getJSDocType(l);u&&t.tryInsertTypeAnnotation(r,l,c(u))}}if(a&&t.insertNodeAfter(r,e.last(n.parameters),e.factory.createToken(21)),!n.type){var d=e.getJSDocReturnType(n);d&&t.tryInsertTypeAnnotation(r,n,c(d))}}else{var p=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(p))}}function c(t){switch(t.kind){case 306:case 307:return e.factory.createTypeReferenceNode("any",e.emptyArray);case 310:return function(t){return e.factory.createUnionTypeNode([e.visitNode(t.type,c),e.factory.createTypeReferenceNode("undefined",e.emptyArray)])}(t);case 309:return c(t.type);case 308:return function(t){return e.factory.createUnionTypeNode([e.visitNode(t.type,c),e.factory.createTypeReferenceNode("null",e.emptyArray)])}(t);case 312:return function(t){return e.factory.createArrayTypeNode(e.visitNode(t.type,c))}(t);case 311:return function(t){var r;return e.factory.createFunctionTypeNode(e.emptyArray,t.parameters.map(l),null!==(r=t.type)&&void 0!==r?r:e.factory.createKeywordTypeNode(129))}(t);case 174: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,145===t.typeArguments[0].kind?"n":"s",void 0,e.factory.createTypeReferenceNode(145===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 l(t){var r=t.parent.parameters.indexOf(t),n=312===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={}))}(d||(d={})),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 l=i.getSymbolAtLocation(e.getTokenAtPosition(r,n));if(l&&19&l.flags){var u=l.valueDeclaration;if(e.isFunctionDeclaration(u))t.replaceNode(r,u,function(t){var r=f(l);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)}(u));else if(e.isVariableDeclaration(u)){var d=function(t){var r=t.initializer;if(!r||!e.isFunctionExpression(r)||!e.isIdentifier(t.name))return;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)}(u);if(!d)return;var p=u.parent.parent;e.isVariableDeclarationList(u.parent)&&u.parent.declarations.length>1?(t.delete(r,u),t.insertNodeAfter(r,p,d)):t.replaceNode(r,p,d)}}function f(n){var i=[];return n.members&&n.members.forEach((function(e,n){if("constructor"!==n){var a=l(e,void 0);a&&i.push.apply(i,a)}else t.delete(r,e.valueDeclaration.parent)})),n.exports&&n.exports.forEach((function(t){if("prototype"===t.name){var r=t.declarations[0];if(1===t.declarations.length&&e.isPropertyAccessExpression(r)&&e.isBinaryExpression(r.parent)&&62===r.parent.operatorToken.kind&&e.isObjectLiteralExpression(r.parent.right))(n=l(r.parent.right.symbol,void 0))&&i.push.apply(i,n)}else{var n;(n=l(t,[e.factory.createToken(124)]))&&i.push.apply(i,n)}})),i;function l(n,i){var l=[];if(!(8192&n.flags||4096&n.flags))return l;var u,d,p=n.valueDeclaration,f=p.parent,m=f.right;if(u=p,d=m,!(e.isAccessExpression(u)?e.isPropertyAccessExpression(u)&&o(u)||e.isFunctionLike(d):e.every(u.properties,(function(t){return!!(e.isMethodDeclaration(t)||e.isGetOrSetAccessorDeclaration(t)||e.isPropertyAssignment(t)&&e.isFunctionExpression(t.initializer)&&t.name||o(t))}))))return l;var g=f.parent&&235===f.parent.kind?f.parent:f;if(t.delete(r,g),!m)return l.push(e.factory.createPropertyDeclaration([],i,n.name,void 0,void 0,void 0)),l;if(e.isAccessExpression(p)&&(e.isFunctionExpression(m)||e.isArrowFunction(m))){var _=e.getQuotePreference(r,s),h=function(t,r,n){if(e.isPropertyAccessExpression(t))return t.name;var i=t.argumentExpression;if(e.isNumericLiteral(i))return i;if(e.isStringLiteralLike(i))return e.isIdentifierText(i.text,r.target)?e.factory.createIdentifier(i.text):e.isNoSubstitutionTemplateLiteral(i)?e.factory.createStringLiteral(i.text,0===n):i;return}(p,c,_);return h?v(l,m,h):l}if(e.isObjectLiteralExpression(m))return e.flatMap(m.properties,(function(t){return e.isMethodDeclaration(t)||e.isGetOrSetAccessorDeclaration(t)?l.concat(t):e.isPropertyAssignment(t)&&e.isFunctionExpression(t.initializer)?v(l,t.initializer,t.name):o(t)?l:[]}));if(e.isSourceFileJS(r))return l;if(!e.isPropertyAccessExpression(p))return l;var y=e.factory.createPropertyDeclaration(void 0,i,p.name,void 0,void 0,m);return e.copyLeadingComments(f.parent,y,r),l.push(y),l;function v(t,n,o){return e.isFunctionExpression(n)?function(t,n,o){var s=e.concatenate(i,a(n,130)),c=e.factory.createMethodDeclaration(void 0,s,void 0,o,void 0,void 0,n.parameters,void 0,n.body);return e.copyLeadingComments(f,c,r),t.concat(c)}(t,n,o):function(t,n,o){var s,c=n.body;s=232===c.kind?c:e.factory.createBlock([e.factory.createReturnStatement(c)]);var l=e.concatenate(i,a(n,130)),u=e.factory.createMethodDeclaration(void 0,l,void 0,o,void 0,void 0,n.parameters,void 0,s);return e.copyLeadingComments(f,u,r),t.concat(u)}(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={}))}(d||(d={})),function(e){!function(t){var r,n="convertToAsyncFunction",a=[e.Diagnostics.This_may_be_converted_to_an_async_function.code],o=!0;function s(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.isFunctionLikeDeclaration)){var s=new e.Map,d=e.isInJSFile(a),f=function(t,r){if(!t.body)return new e.Set;var n=new e.Set;return e.forEachChild(t.body,(function t(i){c(i,r,"then")?(n.add(e.getNodeId(i)),e.forEach(i.arguments,t)):c(i,r,"catch")?(n.add(e.getNodeId(i)),e.forEachChild(i,t)):l(i,r)?n.add(e.getNodeId(i)):e.forEachChild(i,t)})),n}(a,i),m=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=h(r.getTypeAtLocation(o),r),l=e.getSymbolId(s).toString();if(!c||e.isParameter(o.parent)||e.isFunctionLikeDeclaration(o.parent)||n.has(l)){if(o.parent&&(e.isParameter(o.parent)||e.isVariableDeclaration(o.parent)||e.isBindingElement(o.parent))){var d=o.text,p=a.get(d);if(p&&p.some((function(e){return e!==s}))){var f=u(o,a);i.set(l,f.identifier),n.set(l,f),a.add(d,s)}else{var m=e.getSynthesizedDeepClone(o);n.set(l,x(m)),a.add(d,s)}}}else{var g=e.firstOrUndefined(c.parameters),_=g&&e.isParameter(g.valueDeclaration)&&e.tryCast(g.valueDeclaration.name,e.isIdentifier)||e.factory.createUniqueName("result",16),y=u(_,a);n.set(l,y),a.add(_.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),g=m.body&&e.isBlock(m.body)?function(t,r){var n=[];return e.forEachReturnStatement(t,(function(t){e.isReturnStatementWithFixablePromiseHandler(t,r)&&n.push(t)})),n}(m.body,i):e.emptyArray,_={checker:i,synthNamesMap:s,setOfExpressionsToReturn:f,isInJSFile:d};if(g.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,130,v);for(var b=function(n){e.forEachChild(n,(function i(a){if(e.isCallExpression(a)){var o=p(a,_);t.replaceNodeWithNodes(r,n,o)}else e.isFunctionLike(a)||e.forEachChild(a,i)}))},k=0,E=g;k<E.length;k++){b(E[k])}}}}function c(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!!e.isExpression(t)&&!!r.getPromisedTypeOfPromise(r.getTypeAtLocation(t))}function u(t,r){var n=(r.get(t.text)||e.emptyArray).length;return x(0===n?t:e.factory.createIdentifier(t.text+"_"+n))}function d(){return o=!1,e.emptyArray}function p(t,r,n){if(c(t,r.checker,"then"))return 0===t.arguments.length?d():function(t,r,n){var i=t.arguments,a=i[0],o=i[1],s=v(a,r),c=g(a,n,s,t,r);if(o){var l=v(o,r),u=e.factory.createBlock(p(t.expression,r,s).concat(c)),d=g(o,n,l,t,r),f=l?E(l)?l.identifier.text:l.bindingPattern:"e",m=e.factory.createVariableDeclaration(f),_=e.factory.createCatchClause(m,e.factory.createBlock(d));return[e.factory.createTryStatement(u,_,void 0)]}return p(t.expression,r,s).concat(c)}(t,r,n);if(c(t,r.checker,"catch"))return function(t,r,n){var i,a=e.singleOrUndefined(t.arguments),o=a?v(a,r):void 0;n&&!S(t,r)&&(E(n)?(i=n,r.synthNamesMap.forEach((function(t,i){if(t.identifier.text===n.identifier.text){var a=function(t){var r=e.factory.createUniqueName(t.identifier.text,16);return x(r)}(n);r.synthNamesMap.set(i,a)}}))):i=x(e.factory.createUniqueName("result",16),n.types),i.hasBeenDeclared=!0);var s,c,l=e.factory.createBlock(p(t.expression,r,i)),u=a?g(a,i,o,t,r):e.emptyArray,d=o?E(o)?o.identifier.text:o.bindingPattern:"e",f=e.factory.createVariableDeclaration(d),m=e.factory.createCatchClause(f,e.factory.createBlock(u));if(i&&!S(t,r)){c=e.getSynthesizedDeepClone(i.identifier);var _=i.types,h=r.checker.getUnionType(_,2),y=r.isInJSFile?void 0:r.checker.typeToTypeNode(h,void 0,void 0),b=[e.factory.createVariableDeclaration(c,void 0,y)];s=e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList(b,1))}var k=e.factory.createTryStatement(l,m,void 0),D=n&&c&&(w=n,1===w.kind)&&e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.getSynthesizedDeepClone(n.bindingPattern),void 0,void 0,c)],2));var w;return e.compact([s,k,D])}(t,r,n);if(e.isPropertyAccessExpression(t))return p(t.expression,r,n);var i=r.checker.getTypeAtLocation(t);return i&&r.checker.getPromisedTypeOfPromise(i)?(e.Debug.assertNode(t.original.parent,e.isPropertyAccessExpression),function(t,r,n){if(S(t,r))return[e.factory.createReturnStatement(e.getSynthesizedDeepClone(t))];return f(n,e.factory.createAwaitExpression(t),void 0)}(t,r,n)):d()}function f(t,r,n){return!t||b(t)?[e.factory.createExpressionStatement(r)]:E(t)&&t.hasBeenDeclared?[e.factory.createExpressionStatement(e.factory.createAssignment(e.getSynthesizedDeepClone(t.identifier),r))]:[e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.getSynthesizedDeepClone(k(t)),void 0,n,r)],2))]}function m(t,r){if(r&&t){var n=e.factory.createUniqueName("result",16);return i(i([],f(x(n),t,r)),[e.factory.createReturnStatement(n)])}return[e.factory.createReturnStatement(t)]}function g(t,r,n,i,a){var o,s,c,u,p;switch(t.kind){case 104:break;case 202:case 78:if(!n)break;var g=e.factory.createCallExpression(e.getSynthesizedDeepClone(t),void 0,E(n)?[n.identifier]:[]);if(S(i,a))return m(g,null===(o=i.typeArguments)||void 0===o?void 0:o[0]);var v=a.checker.getTypeAtLocation(t),b=a.checker.getSignaturesOfType(v,0);if(!b.length)return d();var x=b[0].getReturnType(),D=f(r,e.factory.createAwaitExpression(g),null===(s=i.typeArguments)||void 0===s?void 0:s[0]);return r&&r.types.push(x),D;case 209:case 210:var w=t.body,T=null===(c=h(a.checker.getTypeAtLocation(t),a.checker))||void 0===c?void 0:c.getReturnType();if(e.isBlock(w)){for(var C=[],A=!1,N=0,P=w.statements;N<P.length;N++){var I=P[N];if(e.isReturnStatement(I))if(A=!0,e.isReturnStatementWithFixablePromiseHandler(I,a.checker))C=C.concat(y(a,[I],r));else{var F=T&&I.expression?_(a.checker,T,I.expression):I.expression;C.push.apply(C,m(F,null===(u=i.typeArguments)||void 0===u?void 0:u[0]))}else C.push(I)}return S(i,a)?C.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=l(c.expression,n.checker)?e.factory.createAwaitExpression(c.expression):c.expression;void 0===r?a.push(e.factory.createExpressionStatement(u)):a.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(k(r),void 0,void 0,u)],2)))}}else a.push(e.getSynthesizedDeepClone(c))}i||void 0===r||a.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(k(r),void 0,void 0,e.factory.createIdentifier("undefined"))],2)));return a}(C,r,a,A)}var O=y(a,e.isFixablePromiseHandler(w,a.checker)?[e.factory.createReturnStatement(w)]:e.emptyArray,r);if(O.length>0)return O;if(T){F=_(a.checker,T,w);if(S(i,a))return m(F,null===(p=i.typeArguments)||void 0===p?void 0:p[0]);var R=f(r,F,void 0);return r&&r.types.push(T),R}return d();default:return d()}return e.emptyArray}function _(t,r,n){var i=e.getSynthesizedDeepClone(n);return t.getPromisedTypeOfPromise(r)?e.factory.createAwaitExpression(i):i}function h(t,r){var n=r.getSignaturesOfType(t,0);return e.lastOrUndefined(n)}function y(t,r,n){for(var i=[],a=0,o=r;a<o.length;a++){var s=o[a];e.forEachChild(s,(function r(a){if(e.isCallExpression(a)){var o=p(a,t,n);if((i=i.concat(o)).length>0)return}else e.isFunctionLike(a)||e.forEachChild(a,r)}))}return i}function v(t,r){var n,i=[];e.isFunctionLikeDeclaration(t)?t.parameters.length>0&&(n=function t(r){if(e.isIdentifier(r))return a(r);var n=e.flatMap(r.elements,(function(r){return e.isOmittedExpression(r)?[]:[t(r.name)]}));return function(t,r,n){void 0===r&&(r=e.emptyArray);void 0===n&&(n=[]);return{kind:1,bindingPattern:t,elements:r,types:n}}(r,n)}(t.parameters[0].name)):e.isIdentifier(t)?n=a(t):e.isPropertyAccessExpression(t)&&e.isIdentifier(t.name)&&(n=a(t.name));if(n&&(!("identifier"in n)||"undefined"!==n.identifier.text))return n;function a(t){var n,a=function(e){return e.symbol?e.symbol:r.checker.getSymbolAtLocation(e)}((n=t).original?n.original:n);return a&&r.synthNamesMap.get(e.getSymbolId(a).toString())||x(t,i)}}function b(t){return!t||(E(t)?!t.identifier.text:e.every(t.elements,b))}function k(e){return E(e)?e.identifier:e.bindingPattern}function x(e,t){return void 0===t&&(t=[]),{kind:0,identifier:e,types:t,hasBeenDeclared:!1}}function E(e){return 0===e.kind}function S(t,r){return!!t.original&&r.setOfExpressionsToReturn.has(e.getNodeId(t.original))}t.registerCodeFix({errorCodes:a,getCodeActions:function(r){o=!0;var i=e.textChanges.ChangeTracker.with(r,(function(e){return s(e,r.sourceFile,r.span.start,r.program.getTypeChecker())}));return o?[t.createCodeFixAction(n,i,e.Diagnostics.Convert_to_async_function,n,e.Diagnostics.Convert_all_to_async_functions)]:[]},fixIds:[n],getAllCodeActions:function(e){return t.codeFixAll(e,a,(function(t,r){return s(t,r.file,r.start,e.program.getTypeChecker())}))}}),function(e){e[e.Identifier=0]="Identifier",e[e.BindingPattern=1]="BindingPattern"}(r||(r={}))}(e.codefix||(e.codefix={}))}(d||(d={})),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);if(c&&c.resolvedFileName===r.fileName){var l=e.importFromModuleSpecifier(s);switch(l.kind){case 263:n.replaceNode(t,l,e.makeImport(l.name,void 0,s,i));break;case 204:e.isRequireCall(l,!1)&&n.replaceNode(t,l,e.factory.createPropertyAccessExpression(e.getSynthesizedDeepClone(l),"default"))}}}}function n(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&&62===a.operatorToken.kind)}i.forEachChild(n)}))}function i(t,r,n,i,l,u,d,f,m){switch(r.kind){case 234:return a(t,r,i,n,l,u,m),!1;case 235:var h=r.expression;switch(h.kind){case 204:return e.isRequireCall(h,!0)&&i.replaceNode(t,r,e.makeImport(void 0,void 0,h.arguments[0],m)),!1;case 218:return 62===h.operatorToken.kind&&function(t,r,n,i,a,l){var u=n.left,d=n.right;if(!e.isPropertyAccessExpression(u))return!1;if(e.isExportsOrModuleExportsOrAlias(t,u)){if(!e.isExportsOrModuleExportsOrAlias(t,d)){var f=e.isObjectLiteralExpression(d)?function(t,r){var n=e.mapAllOrFail(t.properties,(function(t){switch(t.kind){case 168:case 169:case 292:case 293:return;case 291:return e.isIdentifier(t.name)?function(t,r,n){var i=[e.factory.createToken(93)];switch(r.kind){case 209:var a=r.name;if(a&&a.text!==t)return o();case 210:return p(t,i,r,n);case 223: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),c(n.members,i))}(t,i,r,n);default:return o()}function o(){return g(i,e.factory.createIdentifier(t),c(r,n))}}(t.name.text,t.initializer,r):void 0;case 166:return e.isIdentifier(t.name)?p(t.name.text,[e.factory.createToken(93)],t,r):void 0;default:e.Debug.assertNever(t,"Convert to ES6 got invalid prop kind "+t.kind)}}));return n&&[n,!1]}(d,l):e.isRequireCall(d,!0)?function(t,r){var n=t.text,i=r.getSymbolAtLocation(t),a=i?i.exports:e.emptyMap;return a.has("export=")?[[s(n)],!0]:a.has("default")?a.size>1?[[o(n),s(n)],!0]:[[s(n)],!0]:[[o(n)],!1]}(d.arguments[0],r):void 0;return f?(i.replaceNodeWithNodes(t,n.parent,f[0]),f[1]):(i.replaceRangeWithText(t,e.createRange(u.getStart(t),d.pos),"export default"),!0)}i.delete(t,n.parent)}else e.isExportsOrModuleExportsOrAlias(t,u.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),_([e.factory.createExportSpecifier(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,h,i,d,f)}default:return!1}}function a(r,n,i,a,o,s,c){var u,d=n.declarationList,p=!1,_=e.map(d.declarations,(function(n){var i=n.name,u=n.initializer;if(u){if(e.isExportsOrModuleExportsOrAlias(r,u))return p=!0,h([]);if(e.isRequireCall(u,!0))return p=!0,function(r,n,i,a,o,s){switch(r.kind){case 197: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 h([e.makeImport(void 0,c,n,s)]);case 198:var u=l(t.moduleSpecifierToValidIdentifier(n.text,o),a);return h([e.makeImport(e.factory.createIdentifier(u),void 0,n,s),g(void 0,e.getSynthesizedDeepClone(r),e.factory.createIdentifier(u))]);case 78:return function(t,r,n,i,a){for(var o,s=n.getSymbolAtLocation(t),c=new e.Map,u=!1,d=0,p=i.original.get(t.text);d<p.length;d++){var f=p[d];if(n.getSymbolAtLocation(f)===s&&f!==t){var m=f.parent;if(e.isPropertyAccessExpression(m)){var g=m.expression,_=m.name.text;e.Debug.assert(g===f,"Didn't expect expression === use");var y=c.get(_);void 0===y&&(y=l(_,i),c.set(_,y)),(null!=o?o:o=new e.Map).set(m,e.factory.createIdentifier(y))}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(r===n?void 0:e.factory.createIdentifier(r),e.factory.createIdentifier(n))})));v||(u=!0);return h([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 ES6 module got invalid name kind "+r.kind)}}(i,u.arguments[0],a,o,s,c);if(e.isPropertyAccessExpression(u)&&e.isRequireCall(u.expression,!0))return p=!0,function(t,r,n,i,a){switch(t.kind){case 197:case 198:var o=l(r,i);return h([f(o,r,n,a),g(void 0,t,e.factory.createIdentifier(o))]);case 78:return h([f(t.text,r,n,a)]);default:return e.Debug.assertNever(t,"Convert to ES6 module got invalid syntax form "+t.kind)}}(i,u.name.text,u.expression.arguments[0],o,c)}return h([e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([n],d.flags))])}));if(p)return i.replaceNodeWithNodes(r,n,e.flatMap(_,(function(e){return e.newImports}))),e.forEach(_,(function(t){t.useSitesToUnqualify&&e.copyEntries(t.useSitesToUnqualify,null!=u?u:u=new e.Map)})),u}function o(e){return _(void 0,e)}function s(t){return _([e.factory.createExportSpecifier(void 0,"default")],t)}function c(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(202===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="_"+e;return t.additional.add(e),e}function u(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 202:return t.name!==e;case 199:case 268:return t.propertyName!==e;default:return!0}}(t)&&r(t),t.forEachChild((function(e){return d(e,r)}))}function p(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(c(n.body,i)))}function f(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(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 _(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 h(e,t){return{newImports:e,useSitesToUnqualify:t}}t.registerCodeFix({errorCodes:[e.Diagnostics.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES6_module.code],getCodeActions:function(o){var s=o.sourceFile,c=o.program,d=o.preferences,p=e.textChanges.ChangeTracker.with(o,(function(t){var o=function(t,r,o,s,c){var d={original:u(t),additional:new e.Set},p=function(t,r,i){var a=new e.Map;return n(t,(function(t){var n=t.name,o=n.text,s=n.originalKeywordKind;!a.has(o)&&(void 0!==s&&e.isNonContextualKeyword(s)||r.resolveName(o,t,111551,!0))&&a.set(o,l("_"+o,i))})),a}(t,r,d);!function(t,r,i){n(t,(function(n,a){if(!a){var o=n.name.text;i.replaceNode(t,n,e.factory.createIdentifier(r.get(o)||o))}}))}(t,p,o);for(var f,m=!1,g=0,_=e.filter(t.statements,e.isVariableStatement);g<_.length;g++){var h=_[g],y=a(t,h,o,r,d,s,c);y&&e.copyEntries(y,null!=f?f:f=new e.Map)}for(var v=0,b=e.filter(t.statements,(function(t){return!e.isVariableStatement(t)}));v<b.length;v++){h=b[v];var k=i(t,h,r,o,d,s,p,f,c);m=m||k}return null==f||f.forEach((function(e,r){o.replaceNode(t,r,e)})),m}(s,c.getTypeChecker(),t,c.getCompilerOptions().target,e.getQuotePreference(s,d));if(o)for(var p=0,f=c.getSourceFiles();p<f.length;p++){var m=f[p];r(m,s,t,e.getQuotePreference(m,d))}}));return[t.createCodeFixActionWithoutFixAll("convertToEs6Module",p,e.Diagnostics.Convert_to_ES6_module)]}})}(e.codefix||(e.codefix={}))}(d||(d={})),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=o.left.text+'["'+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={}))}(d||(d={})),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,150,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),l=e.factory.createExportDeclaration(void 0,void 0,!0,e.factory.createNamedExports(s),o.moduleSpecifier);t.replaceNode(i.sourceFile,o,c,{leadingTriviaOption:e.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Exclude}),t.insertNodeAfter(i.sourceFile,o,l)}}}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={}))}(d||(d={})),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?void 0: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)))}}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={}))}(d||(d={})),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))}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=n.sourceFile,s=n.span,c=i(o,s.start);if(c){var l=c.name,u=c.constraint,d=e.textChanges.ChangeTracker.with(n,(function(e){return a(e,o,c)}));return[t.createCodeFixAction(r,d,[e.Diagnostics.Convert_0_to_1_in_0,u,l],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={}))}(d||(d={})),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 l=r.program.getTypeChecker(),u=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,l),d=l.getTypeAtLocation(n),p=l.getPropertiesOfType(d).filter(e.and(a,(function(e){return!u.has(e.escapedName)}))),f=l.getTypeAtLocation(o),m=e.find(o.members,(function(t){return e.isConstructorDeclaration(t)}));f.getNumberIndexType()||_(d,1),f.getStringIndexType()||_(d,0);var g=t.createImportAdder(i,r.program,c,r.host);function _(e,n){var a=l.getIndexInfoOfType(e,n);a&&h(i,o,l.indexInfoToIndexSignatureDeclaration(a,n,o,void 0,t.getNoopSymbolTrackerWithResolver(r)))}function h(e,t,r){m?s.insertNodeAfter(e,m,r):s.insertNodeAtClassStart(e,t,r)}t.createMissingMemberNodes(o,p,i,r,c,g,(function(e){return h(i,o,e)})),g.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,l=e.getEffectiveImplementsTypeNodes(s);c<l.length;c++){var u=l[c];o(n,u,r.file,s,t,n.preferences)}}))}})}(e.codefix||(e.codefix={}))}(d||(d={})),function(e){!function(t){t.importFixName="import";var r,n,o="fixMissingImport",s=[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];function l(t,r,n,i,a){var o=r.getCompilerOptions(),s=[],l=[],d=new e.Map,f=new e.Map;return{addImportFromDiagnostic:function(e,t){var r=h(t,e.code,e.start,n);if(!r||!r.fixes.length)return;m(r)},addImportFromExportedSymbol:function(s,c){var l=e.Debug.checkDefined(s.parent),d=e.getNameForExportedSymbol(s,e.getEmitScriptTarget(o)),f=r.getTypeChecker(),_=f.getMergedSymbol(e.skipAlias(s,f)),h=p(t,_,l,d,a,r,n),y=!!c&&2===o.importsNotUsedAsValues,v=g(t,r);m({fixes:[u(t,h,l,d,r,void 0,y,v,a,i)],symbolName:d})},writeFixes:function(r){for(var n,a=e.getQuotePreference(t,i),o=0,u=s;o<u.length;o++){var p=u[o];w(r,t,p)}for(var m=0,g=l;m<g.length;m++){p=g[m];T(r,t,p,a)}d.forEach((function(e){var n=e.importClauseOrBindingPattern,i=e.defaultImport,a=e.namedImports,o=e.canUseTypeOnlyImport;D(r,t,n,i,a,o)})),f.forEach((function(t,r){var i=t.useRequire,o=c(t,["useRequire"]),s=i?N:A;n=e.combine(n,s(r,a,o))})),n&&e.insertImports(r,t,n,!0)}};function m(t){var r=t.fixes,n=t.symbolName,i=e.first(r);switch(i.kind){case 0:s.push(i);break;case 1:l.push(i);break;case 2:var a=i.importClauseOrBindingPattern,o=i.importKind,c=i.canUseTypeOnlyImport,u=String(e.getNodeId(a));(p=d.get(u))||d.set(u,p={importClauseOrBindingPattern:a,defaultImport:void 0,namedImports:[],canUseTypeOnlyImport:c}),0===o?e.pushIfUnique(p.namedImports,n):(e.Debug.assert(void 0===p.defaultImport||p.defaultImport===n,"(Add to Existing) Default import should be missing or match symbolName"),p.defaultImport=n);break;case 3:var p,m=i.moduleSpecifier,g=(o=i.importKind,i.useRequire),_=i.typeOnly;switch((p=f.get(m))?p.typeOnly=p.typeOnly&&_:f.set(m,p={namedImports:[],namespaceLikeImport:void 0,typeOnly:_,useRequire:g}),o){case 1:e.Debug.assert(void 0===p.defaultImport||p.defaultImport===n,"(Add new) Default import should be missing or match symbolName"),p.defaultImport=n;break;case 0:e.pushIfUnique(p.namedImports||(p.namedImports=[]),n);break;case 3:case 2:e.Debug.assert(void 0===p.namespaceLikeImport||p.namespaceLikeImport.name===n,"Namespacelike import shoudl be missing or match symbolName"),p.namespaceLikeImport={importKind:o,name:n}}break;default:e.Debug.assertNever(i,"fix wasn't never - got kind "+i.kind)}}}function u(t,r,n,i,a,o,s,c,l,u){return e.Debug.assert(r.some((function(e){return e.moduleSymbol===n})),"Some exportInfo should match the specified moduleSymbol"),y(m(r,i,o,s,c,a,t,l,u),t,a,l)}function d(t,r,n,i,a){var o,s,c=i.getCompilerOptions(),l=d(i.getTypeChecker());if(l)return l;var u=null===(s=null===(o=a.getPackageJsonAutoImportProvider)||void 0===o?void 0:o.call(a))||void 0===s?void 0:s.getTypeChecker();return e.Debug.checkDefined(u&&d(u),"Could not find symbol in specified module for code actions");function d(i){var a=k(n,r,i,c);if(a&&e.skipAlias(a.symbol,i)===t)return{moduleSymbol:r,importKind:a.kind,exportedSymbolIsTypeOnly:f(t,i)};var o=i.tryGetMemberInModuleExportsAndProperties(t.name,r);return o&&e.skipAlias(o,i)===t?{moduleSymbol:r,importKind:0,exportedSymbolIsTypeOnly:f(t,i)}:void 0}}function p(t,r,n,i,a,o,s){var c=[],l=o.getCompilerOptions();return F(o,a,t,!1,s,(function(a,o,s){var u=s.getTypeChecker();if(!o||a===n||!e.startsWith(t.fileName,e.getDirectoryPath(o.fileName))){var d=k(t,a,u,l);!d||d.name!==i&&R(a,l.target)!==i||e.skipAlias(d.symbol,u)!==r||c.push({moduleSymbol:a,importKind:d.kind,exportedSymbolIsTypeOnly:f(d.symbol,u)});for(var p=0,m=u.getExportsAndPropertiesOfModule(a);p<m.length;p++){var g=m[p];g.name===i&&e.skipAlias(g,u)===r&&c.push({moduleSymbol:a,importKind:0,exportedSymbolIsTypeOnly:f(g,u)})}}})),c}function f(t,r){return!(111551&e.skipAlias(t,r).flags)}function m(t,r,n,a,o,s,c,l,u){var d=s.getTypeChecker(),p=e.flatMap(t,(function(t){return function(t,r,n){var i=t.moduleSymbol,a=t.importKind;return t.exportedSymbolIsTypeOnly&&e.isSourceFileJS(n)?e.emptyArray:e.mapDefined(n.imports,(function(t){var n=e.importFromModuleSpecifier(t);return e.isRequireVariableDeclaration(n.parent,!0)?r.resolveExternalModuleName(t)===i?{declaration:n.parent,importKind:a}:void 0:(264===n.kind||263===n.kind)&&r.getSymbolAtLocation(t)===i?{declaration:n,importKind:a}:void 0}))}(t,d,c)})),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 251:return null===(r=e.tryCast(t.name,e.isIdentifier))||void 0===r?void 0:r.text;case 263:return t.name.text;case 264: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);if(o){var s=function(t,r){var n;switch(t.kind){case 251:return r.resolveExternalModuleName(t.initializer.arguments[0]);case 263:return r.getAliasedSymbol(t.symbol);case 264: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(s&&s.exports.has(e.escapeLeadingUnderscores(r)))return{kind:0,namespacePrefix:o,position:n}}}))}(p,r,n,d),m=function(t,r){return e.firstDefined(t,(function(e){var t=e.declaration,n=e.importKind;if(263!==t.kind){if(251===t.kind)return 0!==n&&1!==n||197!==t.name.kind?void 0:{kind:2,importClauseOrBindingPattern:t.name,importKind:n,moduleSpecifier:t.initializer.arguments[0].text,canUseTypeOnlyImport:!1};var i=t.importClause;if(i){var a=i.name,o=i.namedBindings;return 1===n&&!a||0===n&&(!o||267===o.kind)?{kind:2,importClauseOrBindingPattern:i,importKind:n,moduleSpecifier:t.moduleSpecifier.getText(),canUseTypeOnlyImport:r}:void 0}}}))}(p,void 0!==n&&function(t,r){return e.isValidTypeOnlyAliasUseSite(e.getTokenAtPosition(t,r))}(c,n)),g=m?[m]:function(t,r,n,i,a,o,s,c,l){var u=e.firstDefined(r,(function(t){return function(t,r,n){var i=t.declaration,a=t.importKind,o=264===i.kind?i.moduleSpecifier:251===i.kind?i.initializer.arguments[0]:275===i.moduleReference.kind?i.moduleReference.expression:void 0;return o&&e.isStringLiteral(o)?{kind:3,moduleSpecifier:o.text,importKind:a,typeOnly:r,useRequire:n}:void 0}(t,o,s)}));return u?[u]:_(n,i,a,o,s,t,c,l)}(t,p,s,c,n,a,o,l,u);return i(i([],f?[f]:e.emptyArray),g)}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 _(t,r,n,i,a,o,s,c){var l=e.isSourceFileJS(r),u=t.getCompilerOptions();return e.flatMap(o,(function(o){var d=o.moduleSymbol,p=o.importKind,f=o.exportedSymbolIsTypeOnly;return e.moduleSpecifiers.getModuleSpecifiers(d,t.getTypeChecker(),u,r,e.createModuleSpecifierResolutionHost(t,s),c).map((function(t){return f&&l?{kind:1,moduleSpecifier:t,position:e.Debug.checkDefined(n,"position should be defined")}:{kind:3,moduleSpecifier:t,importKind:p,useRequire:a,typeOnly:i}}))}))}function h(t,r,n,i){var o,s,c,l,u,d=e.getTokenAtPosition(t.sourceFile,n),p=r===e.Diagnostics._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code?function(t,r){var n=t.sourceFile,i=t.program,a=t.host,o=t.preferences,s=i.getTypeChecker(),c=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,s);if(!c)return;var l=s.getAliasedSymbol(c),u=c.name,d=[{moduleSymbol:l,importKind:b(n,i.getCompilerOptions()),exportedSymbolIsTypeOnly:!1}],p=g(n,i);return{fixes:m(d,u,e.isIdentifier(r)?r.getStart(n):void 0,!1,p,i,n,a,o),symbolName:u}}(t,d):e.isIdentifier(d)?function(t,r,n){var i=t.sourceFile,a=t.program,o=t.cancellationToken,s=t.host,c=t.preferences,l=a.getTypeChecker(),u=function(t,r,n){var i=n.parent;if((e.isJsxOpeningLikeElement(i)||e.isJsxClosingElement(i))&&i.tagName===n){var a=r.getJsxNamespace(t);if(e.isIntrinsicJsxName(n.text)||!r.resolveName(a,i,111551,!0))return a}return n.text}(i,l,r);e.Debug.assert("default"!==u,"'default' isn't a legal identifier and couldn't occur here");var d=2===a.getCompilerOptions().importsNotUsedAsValues&&e.isValidTypeOnlyAliasUseSite(r),p=g(i,a),_=function(t,r,n,i,a,o,s){var c=e.createMultiMap();function l(t,r,n,i){c.add(e.getUniqueSymbolId(r,i).toString(),{moduleSymbol:t,importKind:n,exportedSymbolIsTypeOnly:f(r,i)})}return F(a,s,i,!0,o,(function(e,a,o){var s=o.getTypeChecker();n.throwIfCancellationRequested();var c=o.getCompilerOptions(),u=k(i,e,s,c);u&&(u.name===t||R(e,c.target)===t)&&I(u.symbolForMeaning,r)&&l(e,u.symbol,u.kind,s);var d=s.tryGetMemberInModuleExportsAndProperties(t,e);d&&I(d,r)&&l(e,d,0,s)})),c}(u,e.getMeaningFromLocation(r),o,i,a,n,s),h=e.arrayFrom(e.flatMapIterator(_.entries(),(function(e){e[0];return m(e[1],u,r.getStart(i),d,p,a,i,s,c)})));return{fixes:h,symbolName:u}}(t,d,i):void 0;return p&&a(a({},p),{fixes:(o=p.fixes,s=t.sourceFile,c=t.program,l=t.host,u=L(s,c,l).allowsImportingSpecifier,e.sort(o,(function(t,r){return e.compareValues(t.kind,r.kind)||v(t,r,u)})))})}function y(e,t,r,n){if(0===e[0].kind||2===e[0].kind)return e[0];var i=L(t,r,n).allowsImportingSpecifier;return e.reduce((function(e,t){return-1===v(t,e,i)?t:e}))}function v(t,r,n){return 0!==t.kind&&0!==r.kind?e.compareBooleans(n(t.moduleSpecifier),n(r.moduleSpecifier))||e.compareNumberOfDirectorySeparators(t.moduleSpecifier,r.moduleSpecifier):0}function b(t,r){if(e.getAllowSyntheticDefaultImports(r))return 1;var n=e.getEmitModuleKind(r);switch(n){case e.ModuleKind.AMD:case e.ModuleKind.CommonJS:case e.ModuleKind.UMD:return e.isInJSFile(t)&&e.isExternalModule(t)?2:3;case e.ModuleKind.System:case e.ModuleKind.ES2015:case e.ModuleKind.ES2020:case e.ModuleKind.ESNext:case e.ModuleKind.None:return 2;default:return e.Debug.assertNever(n,"Unexpected moduleKind "+n)}}function k(e,t,r,n){var i=function(e,t,r,n){var i=r.tryGetMemberInModuleExports("default",t);if(i)return{symbol:i,kind:1};var a=r.resolveExternalModuleSymbol(t);return a===t?void 0:{symbol:a,kind:x(e,n)}}(e,t,r,n);if(i){var o=i.symbol,s=i.kind,c=E(o,r,n);return c&&a({symbol:o,kind:s},c)}}function x(t,r){var n=e.getAllowSyntheticDefaultImports(r);if(e.getEmitModuleKind(r)>=e.ModuleKind.ES2015)return n?1:2;if(e.isInJSFile(t))return e.isExternalModule(t)?1:3;for(var i=0,a=t.statements;i<a.length;i++){var o=a[i];if(e.isImportEqualsDeclaration(o))return 3}return n?1:3}function E(t,r,n){var i=e.getLocalSymbolForExportDefault(t);if(i)return{symbolForMeaning:i,name:i.name};var a,o=(a=t).declarations&&e.firstDefined(a.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}));if(void 0!==o)return{symbolForMeaning:t,name:o};if(2097152&t.flags){var s=r.getImmediateAliasedSymbol(t);if(s&&s.parent)return E(s,r,n)}return"default"!==t.escapedName&&"export="!==t.escapedName?{symbolForMeaning:t,name:t.getName()}:{symbolForMeaning:t,name:e.getNameForExportedSymbol(t,n.target)}}function S(r,n,i,a,s){var c,l=e.textChanges.ChangeTracker.with(r,(function(t){c=function(t,r,n,i,a){switch(i.kind){case 0:return w(t,r,i),[e.Diagnostics.Change_0_to_1,n,i.namespacePrefix+"."+n];case 1:return T(t,r,i,a),[e.Diagnostics.Change_0_to_1,n,C(i.moduleSpecifier,a)+n];case 2:var o=i.importClauseOrBindingPattern,s=i.importKind,c=i.canUseTypeOnlyImport,l=i.moduleSpecifier;D(t,r,o,1===s?n:void 0,0===s?[n]:e.emptyArray,c);var u=e.stripQuotes(l);return[1===s?e.Diagnostics.Add_default_import_0_to_existing_import_declaration_from_1:e.Diagnostics.Add_0_to_existing_import_declaration_from_1,n,u];case 3:s=i.importKind,l=i.moduleSpecifier;var d=i.typeOnly,p=i.useRequire?N:A,f=1===s?{defaultImport:n,typeOnly:d}:0===s?{namedImports:[n],typeOnly:d}:{namespaceLikeImport:{importKind:s,name:n},typeOnly:d};return e.insertImports(t,r,p(l,a,f),!0),[1===s?e.Diagnostics.Import_default_0_from_module_1:e.Diagnostics.Import_0_from_module_1,n,l];default:return e.Debug.assertNever(i,"Unexpected fix kind "+i.kind)}}(t,n,i,a,s)}));return t.createCodeFixAction(t.importFixName,l,c,o,e.Diagnostics.Add_all_missing_imports)}function D(t,r,n,i,a,o){if(197!==n.kind){var s=!o&&n.isTypeOnly;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),{suffix:", "})),a.length){var c=n.namedBindings&&e.cast(n.namedBindings,e.isNamedImports).elements,l=e.stableSort(a.map((function(t){return e.factory.createImportSpecifier(void 0,e.factory.createIdentifier(t))})),e.OrganizeImports.compareImportOrExportSpecifiers);if((null==c?void 0:c.length)&&e.OrganizeImports.importSpecifiersAreSorted(c))for(var u=0,d=l;u<d.length;u++){var p=d[u],f=e.OrganizeImports.getImportSpecifierInsertionIndex(c,p),m=n.namedBindings.elements[f-1];m?t.insertNodeInListAfter(r,m,p):t.insertNodeBefore(r,c[0],p,!e.positionsAreOnSameLine(c[0].getStart(),n.parent.getStart(),r))}else if(null==c?void 0:c.length)for(var g=0,_=l;g<_.length;g++){p=_[g];t.insertNodeInListAfter(r,e.last(c),p,c)}else if(l.length){var h=e.factory.createNamedImports(l);n.namedBindings?t.replaceNode(r,n.namedBindings,h):t.insertNodeAfter(r,e.Debug.checkDefined(n.name,"Import clause must have either named imports or a default import"),h)}}s&&t.delete(r,e.getTypeKeywordOfTypeOnlyImport(n,r))}else{i&&b(n,i,"default");for(var y=0,v=a;y<v.length;y++){b(n,v[y],void 0)}}function b(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 w(e,t,r){var n=r.namespacePrefix,i=r.position;e.insertText(t,i,n+".")}function T(e,t,r,n){var i=r.moduleSpecifier,a=r.position;e.insertText(t,a,C(i,n))}function C(t,r){var n=e.getQuoteFromPreference(r);return"import("+n+t+n+")."}function A(t,r,n){var i,a,o,s=e.makeStringLiteral(t,r);(void 0!==n.defaultImport||(null===(i=n.namedImports)||void 0===i?void 0:i.length))&&(o=e.combine(o,e.makeImport(void 0===n.defaultImport?void 0:e.factory.createIdentifier(n.defaultImport),null===(a=n.namedImports)||void 0===a?void 0:a.map((function(t){return e.factory.createImportSpecifier(void 0,e.factory.createIdentifier(t))})),t,r,n.typeOnly)));var c=n.namespaceLikeImport,l=n.typeOnly;if(c){var u=3===c.importKind?e.factory.createImportEqualsDeclaration(void 0,void 0,l,e.factory.createIdentifier(c.name),e.factory.createExternalModuleReference(s)):e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(l,void 0,e.factory.createNamespaceImport(e.factory.createIdentifier(c.name))),s);o=e.combine(o,u)}return e.Debug.checkDefined(o)}function N(t,r,n){var i,a,o,s=e.makeStringLiteral(t,r);if(n.defaultImport||(null===(i=n.namedImports)||void 0===i?void 0:i.length)){var c=(null===(a=n.namedImports)||void 0===a?void 0:a.map((function(t){return e.factory.createBindingElement(void 0,void 0,t)})))||[];n.defaultImport&&c.unshift(e.factory.createBindingElement(void 0,"default",n.defaultImport));var l=P(e.factory.createObjectBindingPattern(c),s);o=e.combine(o,l)}if(n.namespaceLikeImport){l=P(n.namespaceLikeImport.name,s);o=e.combine(o,l)}return e.Debug.checkDefined(o)}function P(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 I(t,r){var n=t.declarations;return e.some(n,(function(t){return!!(e.getMeaningFromDeclaration(t)&r)}))}function F(t,r,n,i,a,o){var s,c;O(t,r,n,i,(function(e,r){return o(e,r,t,!1)}));var l=a&&(null===(s=r.getPackageJsonAutoImportProvider)||void 0===s?void 0:s.call(r));if(l){var u=e.timestamp();O(l,r,n,i,(function(e,t){return o(e,t,l,!0)})),null===(c=r.log)||void 0===c||c.call(r,"forEachExternalModuleToImportFrom autoImportProvider: "+(e.timestamp()-u))}}function O(t,r,n,i,a){var o,s=0,c=e.createModuleSpecifierResolutionHost(t,r),l=i&&L(n,t,r,c);!function(t,r,n){for(var i=0,a=t.getAmbientModules();i<a.length;i++){n(a[i],void 0)}for(var o=0,s=r;o<s.length;o++){var c=s[o];e.isExternalOrCommonJsModule(c)&&n(t.getMergedSymbol(c.symbol),c)}}(t.getTypeChecker(),t.getSourceFiles(),(function(r,i){void 0===i?!l||l.allowsImportingAmbientModule(r)?a(r,i):l&&s++:i&&i!==n&&function(t,r,n,i){var a,o=e.isOhpm(t.getCompilerOptions().packageManagerType),s=e.hostGetCanonicalFileName(i),c=null===(a=i.getGlobalTypingsCacheLocation)||void 0===a?void 0:a.call(i);return!!e.moduleSpecifiers.forEachFileNameOfModule(r.fileName,n.fileName,i,!1,(function(i){var a=t.getSourceFile(i);return(a===n||!a)&&function(t,r,n,i,a){var o=e.forEachAncestorDirectory(r,(function(t){return"node_modules"===e.getBaseFileName(t)||a&&"oh_modules"===e.getBaseFileName(t)?t:void 0})),s=o&&e.getDirectoryPath(n(o));return void 0===s||e.startsWith(n(t),s)||!!i&&e.startsWith(n(i),s)}(r.fileName,i,s,c,o)}),o)}(t,n,i,c)&&(!l||l.allowsImportingSourceFile(i)?a(r,i):l&&s++)})),null===(o=r.log)||void 0===o||o.call(r,"forEachExternalModuleToImportFrom: filtered out "+s+" modules by package.json or oh-package.json5 contents")}function R(t,r){return M(e.removeFileExtension(e.stripQuotes(t.name)),r)}function M(t,r){var n=e.getBaseFileName(e.removeSuffix(t,"/index")),i="",a=!0,o=n.charCodeAt(0);e.isIdentifierStart(o,r)?i+=String.fromCharCode(o):a=!1;for(var s=1;s<n.length;s++){var c=n.charCodeAt(s),l=e.isIdentifierPart(c,r);if(l){var u=String.fromCharCode(c);a||(u=u.toUpperCase()),i+=u}a=l}return e.isStringANonContextualKeyword(i)?"_"+i:i||"_"}function L(t,r,n,i){void 0===i&&(i=e.createModuleSpecifierResolutionHost(r,n));var a,o=(n.getPackageJsonsVisibleToFile&&n.getPackageJsonsVisibleToFile(t.fileName)||e.getPackageJsonsVisibleToFile(t.fileName,n)).filter((function(e){return e.parseable}));return{allowsImportingAmbientModule:function(t){if(!o.length)return!0;var r=l(t.valueDeclaration.getSourceFile().fileName);if(void 0===r)return!0;var n=e.stripQuotes(t.getName());if(c(n))return!0;return s(r)||s(n)},allowsImportingSourceFile:function(e){if(!o.length)return!0;var t=l(e.fileName);if(!t)return!0;return s(t)},allowsImportingSpecifier:function(t){if(!o.length||c(t))return!0;if(e.pathIsRelative(t)||e.isRootedDiskPath(t))return!0;return s(t)},moduleSpecifierResolutionHost:i};function s(t){for(var r=u(t),n=0,i=o;n<i.length;n++){var a=i[n];if(a.has(r)||a.has(e.getTypesPackageName(r)))return!0}return!1}function c(r){return!!(e.isSourceFileJS(t)&&e.JsTyping.nodeCoreModules.has(r)&&(void 0===a&&(a=e.consumesNodeCoreModules(t)),a))}function l(r){if(e.stringContains(r,"node_modules")||e.stringContains(r,"oh_modules")){var a=e.moduleSpecifiers.getModulesPackageName(n.getCompilationSettings(),t.path,r,i);if(a)return e.pathIsRelative(a)||e.isRootedDiskPath(a)?void 0:u(a)}}function u(t){var r=e.getPathComponents(e.getPackageNameFromTypesPackageName(t)).slice(1);return e.startsWith(r[0],"@")?r[0]+"/"+r[1]:r[0]}}t.registerCodeFix({errorCodes:s,getCodeActions:function(t){var r=t.errorCode,n=t.preferences,i=t.sourceFile,a=t.span,o=h(t,r,a.start,!0);if(o){var s=o.fixes,c=o.symbolName,l=e.getQuotePreference(i,n);return s.map((function(e){return S(t,i,c,e,l)}))}},fixIds:[o],getAllCodeActions:function(r){var n=l(r.sourceFile,r.program,!0,r.preferences,r.host);return t.eachDiagnostic(r,s,(function(e){return n.addImportFromDiagnostic(e,r)})),t.createCombinedCodeActions(e.textChanges.ChangeTracker.with(r,n.writeFixes))}}),t.createImportAdder=function(e,t,r,n){return l(e,t,!1,r,n)},function(e){e[e.UseNamespace=0]="UseNamespace",e[e.ImportType=1]="ImportType",e[e.AddToExisting=2]="AddToExisting",e[e.AddNew=3]="AddNew"}(r||(r={})),function(e){e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.Namespace=2]="Namespace",e[e.CommonJS=3]="CommonJS"}(n||(n={})),t.getImportCompletionAction=function(t,r,n,i,a,o,s,c,l){var f,m,h,v,b=o.getCompilerOptions(),k=e.pathIsBareSpecifier(e.stripQuotes(r.name))?[d(t,r,n,o,a)]:p(n,t,r,i,a,o,!0),x=g(n,o),E=2===b.importsNotUsedAsValues&&!e.isSourceFileJS(n)&&e.isValidTypeOnlyAliasUseSite(e.getTokenAtPosition(n,c)),D=y(_(o,n,c,E,x,k,a,l),n,o,a).moduleSpecifier,w=u(n,k,r,i,o,c,E,x,a,l);return{moduleSpecifier:D,codeAction:(f=S({host:a,formatContext:s,preferences:l},n,i,w,e.getQuotePreference(n,l)),m=f.description,h=f.changes,v=f.commands,{description:m,changes:h,commands:v})}},t.forEachExternalModuleToImportFrom=F,t.moduleSymbolToValidIdentifier=R,t.moduleSpecifierToValidIdentifier=M}(e.codefix||(e.codefix={}))}(d||(d={})),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,l=a(o,s.start),u=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,n.sourceFile,l,c)}));return[t.createCodeFixAction(r,u,[e.Diagnostics.Use_element_access_for_0,l.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={}))}(d||(d={})),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);e.Debug.assert(108===a.kind);var o=e.getThisContainer(a,!1);if((e.isFunctionDeclaration(o)||e.isFunctionExpression(o))&&!e.isSourceFile(e.getThisContainer(o,!1))){var s=e.Debug.assertDefined(e.findChildOfKind(o,98,r)),c=o.name,l=e.Debug.assertDefined(o.body);if(e.isFunctionExpression(o)){if(c&&e.FindAllReferences.Core.isSymbolReferencedInFile(c,i,r,l))return;return t.delete(r,s),c&&t.delete(r,c),t.insertText(r,l.pos," =>"),[e.Diagnostics.Convert_function_expression_0_to_arrow_function,c?c.text:e.ANONYMOUS]}return t.replaceNode(r,s,e.factory.createToken(85)),t.insertText(r,c.end," = "),t.insertText(r,l.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,l=e.textChanges.ChangeTracker.with(n,(function(e){a=i(e,o,c.start,s.getTypeChecker())}));return a?[t.createCodeFixAction(r,l,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={}))}(d||(d={})),function(e){!function(t){var 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 193===e.kind}))}(i,a.start),s=e.textChanges.ChangeTracker.with(n,(function(t){return function(t,r,n){if(!n)return;var i=n.type,a=!1,o=!1;for(;181===i.kind||182===i.kind||187===i.kind;)181===i.kind?a=!0:182===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);if(s===n)return;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]})}(e.codefix||(e.codefix={}))}(d||(d={})),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.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._0_has_no_exported_member_named_1_Did_you_mean_2.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.isIdentifierOrPrivateIdentifier(a),"Expected an identifier for spelling (property access)");var l=c.getTypeAtLocation(o.expression);32&o.flags&&(l=c.getNonNullableType(l)),s=c.getSuggestedSymbolForNonexistentProperty(a,l)}else if(e.isQualifiedName(o)&&o.right===a){var u=c.getSymbolAtLocation(o.left);u&&1536&u.flags&&(s=c.getSuggestedSymbolForNonexistentModule(o.right,u))}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))return;var i=e.getResolvedModule(t,n.moduleSpecifier.text);return i?r.program.getSourceFile(i.resolvedFileName):void 0}(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 p=e.findAncestor(a,e.isJsxOpeningLikeElement),f=c.getContextualTypeForArgumentAtIndex(p,0);s=c.getSuggestedSymbolForNonexistentJSXAttribute(a,f)}else{var m=e.getMeaningFromLocation(a),g=e.getTextOfNode(a);e.Debug.assert(void 0!==g,"name should be defined"),s=c.getSuggestedSymbolForNonexistentSymbol(a,g,function(e){var t=0;4&e&&(t|=1920);2&e&&(t|=788968);1&e&&(t|=111551);return t}(m))}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;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 l=c.node,u=c.suggestedSymbol,d=n.host.getCompilationSettings().target,p=e.textChanges.ChangeTracker.with(n,(function(e){return a(e,o,l,u,d)}));return[t.createCodeFixAction("spelling",p,[e.Diagnostics.Change_spelling_to_0,e.symbolName(u)],r,e.Diagnostics.Fix_all_detected_spelling_errors)]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(t,r){var n=i(r.file,r.start,e,r.code),o=e.host.getCompilationSettings().target;n&&a(t,e.sourceFile,n.node,n.suggestedSymbol,o)}))}})}(e.codefix||(e.codefix={}))}(d||(d={})),function(e){!function(t){var r,n="returnValueCorrect",i="fixAddReturnStatement",a="fixRemoveBracesFromArrowFunctionBody",o="fixWrapTheBlockWithParen",s=[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 c(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,[],[],void 0,void 0)}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)&&u(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(u(t,n,c(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 l=e.first(o.statements);if(e.isLabeledStatement(l)&&e.isExpressionStatement(l.statement)){s=e.factory.createObjectLiteralExpression([e.factory.createPropertyAssignment(l.label,l.statement.expression)]);if(u(t,n,c(t,l.label,l.statement.expression),i,a))return{declaration:n,kind:r.MissingReturnStatement,expression:s,statement:o,commentSource:l}}}}}function u(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],[],void 0,void 0)}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:if(!(o&&o.body&&o.type&&e.rangeContainsRange(o.type,a)))return;return l(t,o,t.getTypeFromTypeNode(o.type),!1);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);if(!c)return;return l(t,o,c,!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 251:case 161:case 199:case 164:case 291:return t.initializer;case 283:return t.initializer&&(e.isJsxExpression(t.initializer)?t.initializer.expression:void 0);case 292:case 163:case 294:case 336:case 329:return}}(a.parent);if(!u||!e.isFunctionLikeDeclaration(u)||!u.body)return;return l(t,u,t.getTypeAtLocation(a.parent),!0)}}}function p(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 f(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,a,o){var s=e.textChanges.ChangeTracker.with(r,(function(e){return p(e,r.sourceFile,a,o)}));return t.createCodeFixAction(n,s,e.Diagnostics.Add_a_return_statement,i,e.Diagnostics.Add_all_missing_return_statement)}function _(r,i,a){var s=e.textChanges.ChangeTracker.with(r,(function(e){return m(e,r.sourceFile,i,a)}));return t.createCodeFixAction(n,s,e.Diagnostics.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,o,e.Diagnostics.Wrap_all_object_literal_with_parentheses)}!function(e){e[e.MissingReturnStatement=0]="MissingReturnStatement",e[e.MissingParentheses=1]="MissingParentheses"}(r||(r={})),t.registerCodeFix({errorCodes:s,fixIds:[i,a,o],getCodeActions:function(i){var o=i.program,s=i.sourceFile,c=i.span.start,l=i.errorCode,u=d(o.getTypeChecker(),s,c,l);if(u)return u.kind===r.MissingReturnStatement?e.append([g(i,u.expression,u.statement)],e.isArrowFunction(u.declaration)?function(r,i,o,s){var c=e.textChanges.ChangeTracker.with(r,(function(e){return f(e,r.sourceFile,i,o,s,!1)}));return t.createCodeFixAction(n,c,e.Diagnostics.Remove_braces_from_arrow_function_body,a,e.Diagnostics.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}(i,u.declaration,u.expression,u.commentSource):void 0):[_(i,u.declaration,u.expression)]},getAllCodeActions:function(r){return t.codeFixAll(r,s,(function(t,n){var s=d(r.program.getTypeChecker(),n.file,n.start,n.code);if(s)switch(r.fixId){case i:p(t,n.file,s.expression,s.statement);break;case a:if(!e.isArrowFunction(s.declaration))return;f(t,n.file,s.declaration,s.expression,s.commentSource,!1);break;case o:if(!e.isArrowFunction(s.declaration))return;m(t,n.file,s.declaration,s.expression);break;default:e.Debug.fail(JSON.stringify(r.fixId))}}))}})}(e.codefix||(e.codefix={}))}(d||(d={})),function(e){!function(t){var r,n="fixMissingMember",i="fixMissingFunctionDeclaration",a=[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.Cannot_find_name_0.code];function o(t,r,n,i){var a=e.getTokenAtPosition(t,r);if(e.isIdentifier(a)||e.isPrivateIdentifier(a)){var o=a.parent;if(e.isIdentifier(a)&&e.isCallExpression(o))return{kind:2,token:a,call:o,sourceFile:t,modifierFlags:0,parentDeclaration:t};if(e.isPropertyAccessExpression(o)){var s=e.skipConstraint(n.getTypeAtLocation(o.expression)),c=s.symbol;if(c&&c.declarations){if(e.isIdentifier(a)&&e.isCallExpression(o.parent)){var l=e.find(c.declarations,e.isModuleDeclaration),u=null==l?void 0:l.getSourceFile();if(l&&u&&!i.isSourceFileFromExternalLibrary(u))return{kind:2,token:a,call:o.parent,sourceFile:t,modifierFlags:1,parentDeclaration:l};var d=e.find(c.declarations,e.isSourceFile);if(t.commonJsModuleIndicator)return;if(d&&!i.isSourceFileFromExternalLibrary(d))return{kind:2,token:a,call:o.parent,sourceFile:d,modifierFlags:1,parentDeclaration:d}}var p=e.find(c.declarations,e.isClassLike);if(p||!e.isPrivateIdentifier(a)){var f=p||e.find(c.declarations,e.isInterfaceDeclaration);if(f&&!i.isSourceFileFromExternalLibrary(f.getSourceFile())){var m=(s.target||s)!==n.getDeclaredTypeOfSymbol(c);if(m&&(e.isPrivateIdentifier(a)||e.isInterfaceDeclaration(f)))return;var g=f.getSourceFile(),_=(m?32:0)|(e.startsWithUnderscore(a.text)?8:0),h=e.isSourceFileJS(g);return{kind:1,token:a,call:e.tryCast(o.parent,e.isCallExpression),modifierFlags:_,parentDeclaration:f,declSourceFile:g,isJSFile:h}}var y=e.find(c.declarations,e.isEnumDeclaration);return!y||e.isPrivateIdentifier(a)||i.isSourceFileFromExternalLibrary(y.getSourceFile())?void 0:{kind:0,token:a,parentDeclaration:y}}}}}}function s(t,r,n,i,a){var o=i.text;if(a){if(223===n.kind)return;var s=n.name.getText(),l=c(e.factory.createIdentifier(s),o);t.insertNodeAfter(r,n,l)}else if(e.isPrivateIdentifier(i)){var u=e.factory.createPropertyDeclaration(void 0,void 0,o,void 0,void 0,void 0),p=d(n);p?t.insertNodeAfter(r,p,u):t.insertNodeAtClassStart(r,n,u)}else{var f=e.getFirstConstructorWithBody(n);if(!f)return;var m=c(e.factory.createThis(),o);t.insertNodeAtConstructorEnd(r,f,m)}}function c(t,r){return e.factory.createExpressionStatement(e.factory.createAssignment(e.factory.createPropertyAccessExpression(t,r),e.factory.createIdentifier("undefined")))}function l(t,r,n){var i;if(218===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,void 0)}else{var c=t.getContextualType(n.parent);i=c?t.typeToTypeNode(c,void 0,void 0):void 0}return i||e.factory.createKeywordTypeNode(129)}function u(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=d(n);c?t.insertNodeAfter(r,c,s):t.insertNodeAtClassStart(r,n,s)}function d(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 p(r,n,i,a,o,s,c){var l=t.createImportAdder(c,r.program,r.preferences,r.host),u=t.createSignatureDeclarationFromCallExpression(166,r,l,i,a,o,s),d=e.findAncestor(i,(function(t){return e.isMethodDeclaration(t)||e.isConstructorDeclaration(t)}));d&&d.parent===s?n.insertNodeAfter(c,d,u):n.insertNodeAtClassStart(c,s,u),l.writeFixes(n)}function f(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 m(r,n,i){var a=t.createImportAdder(n.sourceFile,n.program,n.preferences,n.host),o=t.createSignatureDeclarationFromCallExpression(253,n,a,i.call,e.idText(i.token),i.modifierFlags,i.parentDeclaration);r.insertNodeAtEndOfScope(i.sourceFile,i.parentDeclaration,o)}t.registerCodeFix({errorCodes:a,getCodeActions:function(r){var a=r.program.getTypeChecker(),c=o(r.sourceFile,r.span.start,a,r.program);if(c){if(2===c.kind){var d=e.textChanges.ChangeTracker.with(r,(function(e){return m(e,r,c)}));return[t.createCodeFixAction(i,d,[e.Diagnostics.Add_missing_function_declaration_0,c.token.text],i,e.Diagnostics.Add_all_missing_function_declarations)]}if(0===c.kind){d=e.textChanges.ChangeTracker.with(r,(function(e){return f(e,r.program.getTypeChecker(),c)}));return[t.createCodeFixAction(n,d,[e.Diagnostics.Add_missing_enum_member_0,c.token.text],n,e.Diagnostics.Add_all_missing_members)]}return e.concatenate(function(r,i){var a=i.parentDeclaration,o=i.declSourceFile,s=i.modifierFlags,c=i.token,l=i.call;if(void 0===l)return;if(e.isPrivateIdentifier(c))return;var u=c.text,d=function(t){return e.textChanges.ChangeTracker.with(r,(function(e){return p(r,e,l,c,t,a,o)}))},f=[t.createCodeFixAction(n,d(32&s),[32&s?e.Diagnostics.Declare_static_method_0:e.Diagnostics.Declare_method_0,u],n,e.Diagnostics.Add_all_missing_members)];8&s&&f.unshift(t.createCodeFixActionWithoutFixAll(n,d(8),[e.Diagnostics.Declare_private_method_0,u]));return f}(r,c),function(r,i){return i.isJSFile?e.singleElementArray(function(r,i){var a=i.parentDeclaration,o=i.declSourceFile,c=i.modifierFlags,l=i.token;if(e.isInterfaceDeclaration(a))return;var u=e.textChanges.ChangeTracker.with(r,(function(e){return s(e,o,a,l,!!(32&c))}));if(0===u.length)return;var d=32&c?e.Diagnostics.Initialize_static_property_0:e.isPrivateIdentifier(l)?e.Diagnostics.Declare_a_private_field_named_0:e.Diagnostics.Initialize_property_0_in_the_constructor;return t.createCodeFixAction(n,u,[d,l.text],n,e.Diagnostics.Add_all_missing_members)}(r,i)):function(r,i){var a=i.parentDeclaration,o=i.declSourceFile,s=i.modifierFlags,c=i.token,d=c.text,p=32&s,f=l(r.program.getTypeChecker(),a,c),m=function(t){return e.textChanges.ChangeTracker.with(r,(function(e){return u(e,o,a,d,f,t)}))},g=[t.createCodeFixAction(n,m(32&s),[p?e.Diagnostics.Declare_static_property_0:e.Diagnostics.Declare_property_0,d],n,e.Diagnostics.Add_all_missing_members)];if(p||e.isPrivateIdentifier(c))return g;8&s&&g.unshift(t.createCodeFixActionWithoutFixAll(n,m(8),[e.Diagnostics.Declare_private_property_0,d]));return g.push(function(r,i,a,o,s){var c=e.factory.createKeywordTypeNode(148),l=e.factory.createParameterDeclaration(void 0,void 0,void 0,"x",void 0,c,void 0),u=e.factory.createIndexSignature(void 0,void 0,[l],s),d=e.textChanges.ChangeTracker.with(r,(function(e){return e.insertNodeAtClassStart(i,a,u)}));return t.createCodeFixActionWithoutFixAll(n,d,[e.Diagnostics.Add_index_signature_for_property_0,o])}(r,o,a,c.text,f)),g}(r,i)}(r,c))}},fixIds:[n,i],getAllCodeActions:function(r){var n=r.program,c=r.fixId,d=n.getTypeChecker(),g=new e.Map,_=new e.Map;return t.createCombinedCodeActions(e.textChanges.ChangeTracker.with(r,(function(h){t.eachDiagnostic(r,a,(function(t){var n=o(t.file,t.start,d,r.program);if(n&&e.addToSeen(g,e.getNodeId(n.parentDeclaration)+"#"+n.token.text))if(c===i)2===n.kind&&m(h,r,n);else if(0===n.kind&&f(h,d,n),1===n.kind){var a=n.parentDeclaration,s=n.token,l=e.getOrUpdate(_,a,(function(){return[]}));l.some((function(e){return e.token.text===s.text}))||l.push(n)}})),_.forEach((function(i,a){for(var o=t.getAllSupers(a,d),c=function(t){if(o.some((function(e){var r=_.get(e);return!!r&&r.some((function(e){return e.token.text===t.token.text}))})))return"continue";var i=t.parentDeclaration,a=t.declSourceFile,c=t.modifierFlags,d=t.token,f=t.call,m=t.isJSFile;if(f&&!e.isPrivateIdentifier(d))p(r,h,f,d,32&c,i,a);else if(m&&!e.isInterfaceDeclaration(i))s(h,a,i,d,!!(32&c));else{var g=l(n.getTypeChecker(),i,d);u(h,a,i,d.text,g,32&c)}},f=0,m=i;f<m.length;f++){c(m[f])}}))})))}}),function(e){e[e.Enum=0]="Enum",e[e.ClassOrInterface=1]="ClassOrInterface",e[e.Function=2]="Function"}(r||(r={}))}(e.codefix||(e.codefix={}))}(d||(d={})),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){var n=e.getTokenAtPosition(t,r.start),i=e.textSpanEnd(r);for(;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={}))}(d||(d={})),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.cast(e.getTokenAtPosition(t,r),e.isStringLiteral).text,i=e.parsePackageName(n).packageName;return e.isExternalModuleNameRelative(i)?void 0:i}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?void 0:a.call(r,t))?e.getTypesPackageName(t):void 0}t.registerCodeFix({errorCodes:i,getCodeActions:function(n){var i=n.host,c=n.sourceFile,l=o(c,n.span.start);if(void 0!==l){var u=s(l,i,n.errorCode);return void 0===u?[]:[t.createCodeFixAction("fixCannotFindModule",[],[e.Diagnostics.Install_0,u],r,e.Diagnostics.Install_all_missing_types_packages,a(c.fileName,u))]}},fixIds:[r],getAllCodeActions:function(n){return t.codeFixAll(n,i,(function(t,i,c){var l=o(i.file,i.start);if(void 0!==l)if(n.fixId===r){var u=s(l,n.host,i.code);u&&c.push(a(i.file.fileName,u))}else e.Debug.fail("Bad fixId: "+n.fixId)}))}})}(e.codefix||(e.codefix={}))}(d||(d={})),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),l=i.program.getTypeChecker(),u=l.getTypeAtLocation(c),d=l.getPropertiesOfType(u).filter(o),p=t.createImportAdder(n,i.program,s,i.host);t.createMissingMemberNodes(r,d,n,i,s,p,(function(e){return a.insertNodeAtClassStart(n,r,e)})),p.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={}))}(d||(d={})),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 l=c.constructor,u=c.superCall,d=e.textChanges.ChangeTracker.with(n,(function(e){return i(e,o,l,u)}));return[t.createCodeFixAction(r,d,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,l=n.superCall;e.addToSeen(s,e.getNodeId(c.parent))&&i(t,o,c,l)}}))}})}(e.codefix||(e.codefix={}))}(d||(d={})),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),l=e.textChanges.ChangeTracker.with(n,(function(e){return a(e,o,c)}));return[t.createCodeFixAction(r,l,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={}))}(d||(d={})),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={}))}(d||(d={})),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={}))}(d||(d={})),function(e){!function(t){t.registerCodeFix({errorCodes:[e.Diagnostics.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_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_esnext_or_system_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);if(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"]))}return a.length?a:void 0}}})}(e.codefix||(e.codefix={}))}(d||(d={})),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={}))}(d||(d={})),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,l=s.heritageClauses,u=e.textChanges.ChangeTracker.with(n,(function(e){return a(e,o,c,l)}));return[t.createCodeFixAction(r,u,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={}))}(d||(d={})),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_not_allowed_outside_class_bodies.code,n];function a(t,r,i){var a=e.getTokenAtPosition(t,r);if(e.isIdentifier(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={}))}(d||(d={})),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,l=e.textChanges.ChangeTracker.with(i,(function(e){return o(e,s,a,c.start,!1)})),u=e.textChanges.ChangeTracker.with(i,(function(e){return o(e,s,a,c.start,!0)}));return[t.createCodeFixAction(r,l,e.Diagnostics.Wrap_invalid_character_in_an_expression_container,r,e.Diagnostics.Wrap_all_invalid_characters_in_an_expression_container),t.createCodeFixAction(n,u,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={">":">","}":"}"};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]:"{"+e.quote(n,r,s)+"}";t.replaceRangeWithText(n,{pos:i,end:i+1},c)}}}(e.codefix||(e.codefix={}))}(d||(d={})),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(153))}function l(n,a){return t.createCodeFixAction(r,n,a,i,e.Diagnostics.Delete_all_unused_declarations)}function u(t,r,n){t.delete(r,e.Debug.checkDefined(e.cast(n.parent,e.isDeclarationWithTypeParameterChildren).typeParameters,"The type parameter to delete should exist"))}function d(e){return 100===e.kind||78===e.kind&&(268===e.parent.kind||265===e.parent.kind)}function p(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 m(e,t,r){e.delete(t,234===r.parent.kind?r.parent:r)}function g(t,r,n,i){r!==e.Diagnostics.Property_0_is_declared_but_its_value_is_never_read.code&&(136===i.kind&&(i=e.cast(i.parent,e.isInferTypeNode).typeParameter.name),e.isIdentifier(i)&&function(e){switch(e.parent.kind){case 161:case 160:return!0;case 251:switch(e.parent.parent.parent.kind){case 241:case 240:return!0}}return!1}(i)&&(t.replaceNode(n,i,e.factory.createIdentifier("_"+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("_"+r.name.text))}))))}function _(t,r,n,i,a,o,s,c){!function(t,r,n,i,a,o,s,c){var l=t.parent;e.isParameter(l)?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 166:case 167:var l=c.parameters.indexOf(n),u=e.isMethodDeclaration(c)?c.name:c,d=e.FindAllReferences.Core.getReferencedSymbolsForNode(c.pos,u,a,i,o);if(d)for(var p=0,f=d;p<f.length;p++)for(var m=0,g=f[p].references;m<g.length;m++){var _=g[m];if(1===_.kind){var h=e.isSuperKeyword(_.node)&&e.isCallExpression(_.node.parent)&&_.node.parent.arguments.length>l,v=e.isPropertyAccessExpression(_.node.parent)&&e.isSuperKeyword(_.node.parent.expression)&&e.isCallExpression(_.node.parent.parent)&&_.node.parent.parent.arguments.length>l,b=(e.isMethodDeclaration(_.node.parent)||e.isMethodSignature(_.node.parent))&&_.node.parent!==n.parent&&_.node.parent.parameters.length>l;if(h||v||b)return!1}}return!0;case 253: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 209:case 210:return y(c,n,s);case 169:return!1;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,l,i,a,o,s,c):c&&e.isIdentifier(t)&&e.FindAllReferences.Core.isSymbolReferencedInFile(t,i,n)||r.delete(n,e.isImportClause(l)?t:e.isComputedPropertyName(l)?l.parent:l)}(r,n,t,i,a,o,s,c),e.isIdentifier(r)&&e.FindAllReferences.Core.eachSymbolReferenceInFile(r,i,t,(function(r){var i;e.isPropertyAccessExpression(r.parent)&&r.parent.name===r&&(r=r.parent),!c&&(i=r,(e.isBinaryExpression(i.parent)&&i.parent.left===i||(e.isPostfixUnaryExpression(i.parent)||e.isPrefixUnaryExpression(i.parent))&&i.parent.operand===i)&&e.isExpressionStatement(i.parent.parent))&&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,b=y.getTypeChecker(),k=y.getSourceFiles(),x=e.getTokenAtPosition(h,i.span.start);if(e.isJSDocTemplateTag(x))return[l(e.textChanges.ChangeTracker.with(i,(function(e){return e.delete(h,x)})),e.Diagnostics.Remove_template_tag)];if(29===x.kind)return[l(S=e.textChanges.ChangeTracker.with(i,(function(e){return u(e,h,x)})),e.Diagnostics.Remove_type_parameters)];var E=p(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(d(x)&&(A=e.textChanges.ChangeTracker.with(i,(function(e){return _(h,x,e,b,k,y,v,!1)}))).length)return[t.createCodeFixAction(r,A,[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 D=x.parent.elements,w=[D.length>1?e.Diagnostics.Remove_unused_declarations_for_Colon_0:e.Diagnostics.Remove_unused_declaration_for_Colon_0,e.map(D,(function(e){return e.getText(h)})).join(", ")];return[l(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)})),w)]}return[l(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[l(e.textChanges.ChangeTracker.with(i,(function(e){return m(e,h,x.parent)})),e.Diagnostics.Remove_variable_statement)];var T=[];if(136===x.kind){S=e.textChanges.ChangeTracker.with(i,(function(e){return c(e,h,x)}));var C=e.cast(x.parent,e.isInferTypeNode).typeParameter.name.text;T.push(t.createCodeFixAction(r,S,[e.Diagnostics.Replace_infer_0_with_unknown,C],o,e.Diagnostics.Replace_all_unused_infer_with_unknown))}else{var A;if((A=e.textChanges.ChangeTracker.with(i,(function(e){return _(h,x,e,b,k,y,v,!1)}))).length){C=e.isComputedPropertyName(x.parent)?x.parent:x;T.push(l(A,[e.Diagnostics.Remove_unused_declaration_for_Colon_0,C.getText(h)]))}}var N=e.textChanges.ChangeTracker.with(i,(function(e){return g(e,s,h,x)}));return N.length&&T.push(t.createCodeFixAction(r,N,[e.Diagnostics.Prefix_0_with_an_underscore,x.getText(h)],n,e.Diagnostics.Prefix_all_unused_declarations_with_where_possible)),T},fixIds:[n,i,a,o],getAllCodeActions:function(r){var l=r.sourceFile,y=r.program,v=r.cancellationToken,b=y.getTypeChecker(),k=y.getSourceFiles();return t.codeFixAll(r,s,(function(t,s){var x=e.getTokenAtPosition(l,s.start);switch(r.fixId){case n:g(t,s.code,l,x);break;case a:var E=p(x);E?t.delete(l,E):d(x)&&_(l,x,t,b,k,y,v,!0);break;case i:if(136===x.kind||d(x))break;if(e.isJSDocTemplateTag(x))t.delete(l,x);else if(29===x.kind)u(t,l,x);else if(e.isObjectBindingPattern(x.parent)){if(x.parent.parent.initializer)break;e.isParameter(x.parent.parent)&&!h(x.parent.parent,b,k)||t.delete(l,x.parent.parent)}else{if(e.isArrayBindingPattern(x.parent.parent)&&x.parent.parent.parent.initializer)break;f(l,x)?m(t,l,x.parent):_(l,x,t,b,k,y,v,!0)}break;case o:136===x.kind&&c(t,l,x);break;default:e.Debug.fail(JSON.stringify(r.fixId))}}))}})}(e.codefix||(e.codefix={}))}(d||(d={})),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 l=(e.isBlock(s.parent)?s.parent:s).parent;if(!e.isBlock(s.parent)||s===e.first(s.parent.statements))switch(l.kind){case 236:if(l.elseStatement){if(e.isBlock(s.parent))break;return void t.replaceNode(r,s,e.factory.createBlock(e.emptyArray))}case 238:case 239:return void t.delete(r,l)}if(e.isBlock(s.parent)){var u=n+i,d=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<u})),"Some statement should be last");t.deleteNodeRange(r,s,d)}else t.delete(r,s)}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.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={}))}(d||(d={})),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={}))}(d||(d={})),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 226:case 170:case 171:case 253:case 168:case 172:case 191:case 166:case 165:case 161:case 164:case 163:case 169:case 257:case 207:case 251:return!0;default:return!1}}t.registerCodeFix({errorCodes:i,getCodeActions:function(i){var s=i.sourceFile,c=i.program.getTypeChecker(),l=o(s,i.span.start,c);if(l){var u=l.typeNode,d=l.type,p=u.getText(s),f=[m(d,r,e.Diagnostics.Change_all_jsdoc_style_types_to_TypeScript)];return 308===u.kind&&f.push(m(c.getNullableType(d,32768),n,e.Diagnostics.Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types)),f}function m(r,n,o){var l=e.textChanges.ChangeTracker.with(i,(function(e){return a(e,s,u,r,c)}));return t.createCodeFixAction("jdocTypes",l,[e.Diagnostics.Change_0_to_1,p,c.typeToString(r)],n,o)}},fixIds:[r,n],getAllCodeActions:function(e){var r=e.fixId,s=e.program,c=e.sourceFile,l=s.getTypeChecker();return t.codeFixAll(e,i,(function(e,t){var i=o(t.file,t.start,l);if(i){var s=i.typeNode,u=i.type,d=308===s.kind&&r===n?l.getNullableType(u,32768):u;a(e,c,s,d,l)}}))}})}(e.codefix||(e.codefix={}))}(d||(d={})),function(e){!function(t){var r="fixMissingCallParentheses",n=[e.Diagnostics.This_condition_will_always_return_true_since_the_function_is_always_defined_Did_you_mean_to_call_it_instead.code];function i(e,t,r){e.replaceNodeWithText(t,r,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={}))}(d||(d={})),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];function i(t,r){var n=e.getTokenAtPosition(t,r),i=e.getContainingFunction(n);if(i){var a,o;switch(i.kind){case 166:a=i.name;break;case 253:case 209:a=e.findChildOfKind(i,98,t);break;case 210:a=e.findChildOfKind(i,20,t)||e.first(i.parameters);break;default:return}return a&&{insertBefore:a,returnType:(o=i,o.type?o.type:e.isVariableDeclaration(o.parent)&&o.parent.type&&e.isFunctionTypeNode(o.parent.type)?o.parent.type.type:void 0)}}}function a(t,r,n){var i=n.insertBefore,a=n.returnType;if(a){var o=e.getEntityNameFromTypeNode(a);o&&78===o.kind&&"Promise"===o.text||t.replaceNode(r,a,e.factory.createTypeReferenceNode("Promise",e.factory.createNodeArray([a])))}t.insertModifierBefore(r,130,i)}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var o=n.sourceFile,s=n.span,c=i(o,s.start);if(c){var l=e.textChanges.ChangeTracker.with(n,(function(e){return a(e,o,c)}));return[t.createCodeFixAction(r,l,e.Diagnostics.Add_async_modifier_to_containing_function,r,e.Diagnostics.Add_all_missing_async_modifiers)]}},fixIds:[r],getAllCodeActions:function(r){var o=new e.Map;return t.codeFixAll(r,n,(function(t,n){var s=i(n.file,n.start);s&&e.addToSeen(o,e.getNodeId(s.insertBefore))&&a(t,r.sourceFile,s)}))}})}(e.codefix||(e.codefix={}))}(d||(d={})),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 l=o.program.getTypeChecker(),u=e.getTokenAtPosition(r,n).parent;e.Debug.assert(e.isAccessor(u),"error span of fixPropertyOverrideAccessor should only be on an accessor");var d=u.parent;e.Debug.assert(e.isClassLike(d),"erroneous accessors should only be inside classes");var p=e.singleOrUndefined(t.getAllSupers(d,l));if(!p)return[];var f=e.unescapeLeadingUnderscores(e.getTextOfPropertyName(u.name)),m=l.getPropertyOfType(l.getTypeAtLocation(p),f);if(!m||!m.valueDeclaration)return[];s=m.valueDeclaration.pos,c=m.valueDeclaration.end,r=e.getSourceFileOfNode(m.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={}))}(d||(d={})),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 a(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,_,h,y){if(e.isParameterPropertyModifier(i.kind)||78===i.kind||25===i.kind||108===i.kind){var v=i.parent,b=t.createImportAdder(n,o,y,h);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(v)&&_(v)||e.isPropertyDeclaration(v)||e.isPropertySignature(v))return s(r,b,n,v,o,h,p),b.writeFixes(r),v;if(e.isPropertyAccessExpression(v)){var k=f(v.name,o,p),x=e.getTypeNodeIfAccessible(k,v,o,h);if(x){var E=e.factory.createJSDocTypeTag(void 0,e.factory.createJSDocTypeExpression(x),"");d(r,n,e.cast(v.parent.parent,e.isExpressionStatement),[E])}return b.writeFixes(r),v}return;case e.Diagnostics.Variable_0_implicitly_has_an_1_type.code:var S=o.getTypeChecker().getSymbolAtLocation(i);return S&&S.valueDeclaration&&e.isVariableDeclaration(S.valueDeclaration)&&_(S.valueDeclaration)?(s(r,b,n,S.valueDeclaration,o,h,p),b.writeFixes(r),S.valueDeclaration):void 0}var D=e.getContainingFunction(i);if(void 0!==D){var w;switch(a){case e.Diagnostics.Parameter_0_implicitly_has_an_1_type.code:if(e.isSetAccessorDeclaration(D)){c(r,b,n,D,o,h,p),w=D;break}case e.Diagnostics.Rest_parameter_0_implicitly_has_an_any_type.code:if(_(D)){var T=e.cast(v,e.isParameter);!function(t,r,n,i,a,o,s,c){if(!e.isIdentifier(i.name))return;var d=function(t,r,n,i){var a=m(t,r,n,i);return a&&g(n,a,i).parameters(t)||t.parameters.map((function(t){return{declaration:t,type:e.isIdentifier(t.name)?f(t.name,n,i):n.getTypeChecker().getAnyType()}}))}(a,n,o,c);if(e.Debug.assert(a.parameters.length===d.length,"Parameter count and inference count should match"),e.isInJSFile(a))u(t,n,d,o,s);else{var p=e.isArrowFunction(a)&&!e.findChildOfKind(a,20,n);p&&t.insertNodeBefore(n,e.first(a.parameters),e.factory.createToken(20));for(var _=0,h=d;_<h.length;_++){var y=h[_],v=y.declaration,b=y.type;!v||v.type||v.initializer||l(t,r,n,v,b,o,s)}p&&t.insertNodeAfter(n,e.last(a.parameters),e.factory.createToken(21))}}(r,b,n,T,D,o,h,p),w=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(D)&&e.isIdentifier(D.name)&&(l(r,b,n,D,f(D.name,o,p),o,h),w=D);break;case e.Diagnostics.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code:e.isSetAccessorDeclaration(D)&&(c(r,b,n,D,o,h,p),w=D);break;case e.Diagnostics.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:e.textChanges.isThisTypeAnnotatable(D)&&_(D)&&(!function(t,r,n,i,a,o){var s=m(n,r,i,o);if(!s||!s.length)return;var c=g(i,s,o).thisParameter(),l=e.getTypeNodeIfAccessible(c,n,i,a);if(!l)return;e.isInJSFile(n)?function(t,r,n,i){d(t,r,n,[e.factory.createJSDocThisTag(void 0,e.factory.createJSDocTypeExpression(i))])}(t,r,n,l):t.tryInsertThisTypeAnnotation(r,n,l)}(r,n,D,o,h,p),w=D);break;default:return e.Debug.fail(String(a))}return b.writeFixes(r),w}}}function s(t,r,n,i,a,o,s){e.isIdentifier(i.name)&&l(t,r,n,i,f(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 d=f(i.name,a,s);d===a.getTypeChecker().getAnyType()&&(d=f(c.name,a,s)),e.isInJSFile(i)?u(t,n,[{declaration:c,type:d}],a,o):l(t,r,n,c,d,a,o)}}function l(r,n,i,a,o,s,c){var l=e.getTypeNodeIfAccessible(o,a,s,c);if(l)if(e.isInJSFile(i)&&163!==a.kind){var u=e.isVariableDeclaration(a)?e.tryCast(a.parent.parent,e.isVariableStatement):a;if(!u)return;var p=e.factory.createJSDocTypeExpression(l);d(r,i,u,[e.isGetAccessorDeclaration(a)?e.factory.createJSDocReturnTag(void 0,p,""):e.factory.createJSDocTypeTag(void 0,p,"")])}else(function(r,n,i,a,o,s){var c=t.tryGetAutoImportableReferenceFromTypeNode(r,s);if(c&&a.tryInsertTypeAnnotation(i,n,c.typeNode))return e.forEach(c.symbols,(function(e){return o.addImportFromExportedSymbol(e,!0)})),!0;return!1})(l,a,i,r,n,e.getEmitScriptTarget(s.getCompilerOptions()))||r.tryInsertTypeAnnotation(i,a,l)}function u(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 l=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,"")}));d(t,r,o,l)}}}function d(t,r,n,a){var o=e.mapDefined(n.jsDoc,(function(e){return e.comment})),s=e.flatMapToMutable(n.jsDoc,(function(e){return e.tags})),c=a.filter((function(t){return!s||!s.some((function(r,n){var i=function(t,r){if(t.kind!==r.kind)return;switch(t.kind){case 329: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 330:return e.factory.createJSDocReturnTag(void 0,r.typeExpression,t.comment)}}(r,t);return i&&(s[n]=i),!!i}))})),l=e.factory.createJSDocComment(o.join("\n"),e.factory.createNodeArray(i(i([],s||e.emptyArray),c))),u=210===n.kind?function(e){if(164===e.parent.kind)return e.parent;return e.parent.parent}(n):n;u.jsDoc=n.jsDoc,u.jsDocCache=n.jsDocCache,t.insertJsdocCommentBefore(r,u,l)}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 f(e,t,r){return g(t,p(e,t,r),r).single()}function m(t,r,n,i){var a;switch(t.kind){case 167:a=e.findChildOfKind(t,133,r);break;case 210:case 209:var o=t.parent;a=(e.isVariableDeclaration(o)||e.isPropertyDeclaration(o))&&e.isIdentifier(o.name)?o.name:t.name;break;case 253:case 166:case 165:a=t.name}if(a)return p(a,n,i)}function g(t,r,n){var a=t.getTypeChecker(),o={string:function(){return a.getStringType()},number:function(){return a.getNumberType()},Array:function(e){return a.createArrayType(e)},Promise:function(e){return a.createPromiseType(e)}},s=[a.getStringType(),a.getNumberType(),a.createArrayType(a.getAnyType()),a.createPromiseType(a.getAnyType())];return{single:function(){return g(u(r))},parameters:function(o){if(0===r.length||!o.parameters)return;for(var s=c(),l=0,f=r;l<f.length;l++){var m=f[l];n.throwIfCancellationRequested(),d(m,s)}var _=i(i([],s.constructs||[]),s.calls||[]);return o.parameters.map((function(r,i){for(var s=[],c=e.isRestParameter(r),l=!1,d=0,f=_;d<f.length;d++){var m=f[d];if(m.argumentTypes.length<=i)l=e.isInJSFile(o),s.push(a.getUndefinedType());else if(c)for(var h=i;h<m.argumentTypes.length;h++)s.push(a.getBaseTypeOfLiteralType(m.argumentTypes[h]));else s.push(a.getBaseTypeOfLiteralType(m.argumentTypes[i]))}if(e.isIdentifier(r.name)){var y=u(p(r.name,t,n));s.push.apply(s,c?e.mapDefined(y,a.getElementTypeOfArrayType):y)}var v=g(s);return{type:c?a.createArrayType(v):v,isOptional:l&&!c,declaration:r}}))},thisParameter:function(){for(var t=c(),i=0,a=r;i<a.length;i++){var o=a[i];n.throwIfCancellationRequested(),d(o,t)}return g(t.candidateThisTypes||e.emptyArray)}};function c(){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}}function l(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,l(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(),d(a,t)}return _(t)}function d(t,r){for(;e.isRightSideOfQualifiedNameOrPropertyAccess(t);)t=t.parent;switch(t.parent.kind){case 235:!function(t,r){v(r,e.isCallExpression(t)?a.getVoidType():a.getAnyType())}(t,r);break;case 217:r.isNumber=!0;break;case 216:!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 218:!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 64:case 66:case 65:case 67:case 68:case 72:case 73:case 77:case 69:case 71:case 70:case 40:case 29:case 32:case 31:case 33:var i=a.getTypeAtLocation(r.left===t?r.right:r.left);1056&i.flags?v(n,i):n.isNumber=!0;break;case 63:case 39:var o=a.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 62:case 34:case 36:case 37:case 35:v(n,a.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||251!==t.parent.parent.kind&&!e.isAssignmentExpression(t.parent.parent,!0)||v(n,a.getTypeAtLocation(r.right))}}(t,t.parent,r);break;case 287:case 288:!function(e,t){v(t,a.getTypeAtLocation(e.parent.parent.expression))}(t.parent,r);break;case 204:case 205: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,i=e.arguments;n<i.length;n++){var o=i[n];r.argumentTypes.push(a.getTypeAtLocation(o))}d(e,r.return_),204===e.kind?(t.calls||(t.calls=[])).push(r):(t.constructs||(t.constructs=[])).push(r)}(t.parent,r):f(t,r);break;case 202:!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};d(t,i),r.properties.set(n,i)}(t.parent,r);break;case 203:!function(e,t,r){if(t===e.argumentExpression)return void(r.isNumberOrString=!0);var n=a.getTypeAtLocation(e.argumentExpression),i={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};d(e,i),296&n.flags?r.numberIndex=i:r.stringIndex=i}(t.parent,t,r);break;case 291:case 292:!function(t,r){var n=e.isVariableDeclaration(t.parent.parent)?t.parent.parent:t.parent;b(r,a.getTypeAtLocation(n))}(t.parent,r);break;case 164:!function(e,t){b(t,a.getTypeAtLocation(e.parent))}(t.parent,r);break;case 251:var n=t.parent,i=n.name,o=n.initializer;if(t===i){o&&v(r,a.getTypeAtLocation(o));break}default:return f(t,r)}}function f(t,r){e.isExpressionNode(t)&&v(r,a.getContextualType(t))}function m(e){return g(_(e))}function g(t){if(!t.length)return a.getAnyType();var r=a.getUnionType([a.getStringType(),a.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 l=c[s],u=l.high,d=l.low;u(o)&&(e.Debug.assert(!d(o),"Priority can't have both low and high"),n.push(d))}return t.filter((function(e){return n.every((function(t){return!t(e)}))}))}(t,[{high:function(e){return e===a.getStringType()||e===a.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))}}]),i=n.filter((function(t){return 16&e.getObjectFlags(t)}));return i.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=[],i=[],o=[],s=!1,c=!1,l=e.createMultiMap(),u=0,d=t;u<d.length;u++){for(var p=d[u],f=0,m=a.getPropertiesOfType(p);f<m.length;f++){var g=m[f];l.add(g.name,a.getTypeOfSymbolAtLocation(g,g.valueDeclaration))}r.push.apply(r,a.getSignaturesOfType(p,0)),n.push.apply(n,a.getSignaturesOfType(p,1)),p.stringIndexInfo&&(i.push(p.stringIndexInfo.type),s=s||p.stringIndexInfo.isReadonly),p.numberIndexInfo&&(o.push(p.numberIndexInfo.type),c=c||p.numberIndexInfo.isReadonly)}var _=e.mapEntries(l,(function(e,r){var n=r.length<t.length?16777216:0,i=a.createSymbol(4|n,e);return i.type=a.getUnionType(r),[e,i]}));return a.createAnonymousType(t[0].symbol,_,r,n,i.length?a.createIndexInfo(a.getUnionType(i),s):void 0,o.length?a.createIndexInfo(a.getUnionType(o),c):void 0)}(i)),a.getWidenedType(a.getUnionType(n.map(a.getBaseTypeOfLiteralType),2))}function _(t){var r,n,i,c=[];return t.isNumber&&c.push(a.getNumberType()),t.isString&&c.push(a.getStringType()),t.isNumberOrString&&c.push(a.getUnionType([a.getStringType(),a.getNumberType()])),t.numberIndex&&c.push(a.createArrayType(m(t.numberIndex))),((null===(r=t.properties)||void 0===r?void 0:r.size)||(null===(n=t.calls)||void 0===n?void 0:n.length)||(null===(i=t.constructs)||void 0===i?void 0:i.length)||t.stringIndex)&&c.push(function(t){var r=new e.Map;t.properties&&t.properties.forEach((function(e,t){var n=a.createSymbol(4,t);n.type=m(e),r.set(t,n)}));var n=t.calls?[y(t.calls)]:[],i=t.constructs?[y(t.constructs)]:[],o=t.stringIndex&&a.createIndexInfo(m(t.stringIndex),!1);return a.createAnonymousType(void 0,r,n,i,o,void 0)}(t)),c.push.apply(c,(t.candidateTypes||[]).map((function(e){return a.getBaseTypeOfLiteralType(e)}))),c.push.apply(c,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 i,o=a.getTypeOfPropertyOfType(t,n);return!o||(r.calls?!a.getSignaturesOfType(o,0).length||!a.isTypeAssignableTo(o,(i=r.calls,a.createAnonymousType(void 0,e.createSymbolTable(),[y(i)],e.emptyArray,void 0,void 0))):!a.isTypeAssignableTo(o,m(r)))}))}(r,t)}));if(0<r.length&&r.length<3)return r.map((function(r){return function(t,r){if(!(4&e.getObjectFlags(t)&&r.properties))return t;var n=t.target,i=e.singleOrUndefined(n.typeParameters);if(!i)return t;var s=[];return r.properties.forEach((function(t,r){var o=a.getTypeOfPropertyOfType(n,r);e.Debug.assert(!!o,"generic should have all the properties of its reference."),s.push.apply(s,h(o,m(t),i))})),o[t.symbol.escapedName](g(s))}(r,t)}));return[]}(t)),c}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 i=a.getTypeArguments(t),o=a.getTypeArguments(r),s=[];if(i&&o)for(var c=0;c<i.length;c++)o[c]&&s.push.apply(s,h(i[c],o[c],n));return s}var l=a.getSignaturesOfType(t,0),u=a.getSignaturesOfType(r,0);return 1===l.length&&1===u.length?function(t,r,n){for(var i=[],o=0;o<t.parameters.length;o++){var s=t.parameters[o],c=r.parameters[o],l=t.declaration&&e.isRestParameter(t.declaration.parameters[o]);if(!c)break;var u=a.getTypeOfSymbolAtLocation(s,s.valueDeclaration),d=l&&a.getElementTypeOfArrayType(u);d&&(u=d);var p=c.type||a.getTypeOfSymbolAtLocation(c,c.valueDeclaration);i.push.apply(i,h(u,p,n))}var f=a.getReturnTypeOfSignature(t),m=a.getReturnTypeOfSignature(r);return i.push.apply(i,h(f,m,n)),i}(l[0],u[0],n):[]}function y(t){for(var r=[],n=Math.max.apply(Math,t.map((function(e){return e.argumentTypes.length}))),i=function(n){var i=a.createSymbol(1,e.escapeLeadingUnderscores("arg"+n));i.type=g(t.map((function(e){return e.argumentTypes[n]||a.getUndefinedType()}))),t.some((function(e){return void 0===e.argumentTypes[n]}))&&(i.flags|=16777216),r.push(i)},o=0;o<n;o++)i(o);var s=m(l(t.map((function(e){return e.return_}))));return a.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 b(e,t){!t||1&t.flags||131072&t.flags||(e.candidateThisTypes||(e.candidateThisTypes=[])).push(t)}}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var i,s=n.sourceFile,c=n.program,l=n.span.start,u=n.errorCode,d=n.cancellationToken,p=n.host,f=n.preferences,m=e.getTokenAtPosition(s,l),g=e.textChanges.ChangeTracker.with(n,(function(t){i=o(t,s,m,u,c,d,e.returnTrue,p,f)})),_=i&&e.getNameOfDeclaration(i);return _&&0!==g.length?[t.createCodeFixAction(r,g,[a(u,m),_.getText(s)],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,l=r.preferences,u=e.nodeSeenTracker();return t.codeFixAll(r,n,(function(t,r){o(t,i,e.getTokenAtPosition(r.file,r.start),r.code,a,s,u,c,l)}))}}),t.addJSDocTags=d}(e.codefix||(e.codefix={}))}(d||(d={})),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(),l=r.typeToTypeNode(c,o,void 0);return l?{returnTypeNode:o,returnType:s,promisedTypeNode:l,promisedType:c}:void 0}}}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,l=s.getTypeChecker(),u=i(o,s.getTypeChecker(),c.start);if(u){var d=u.returnTypeNode,p=u.returnType,f=u.promisedTypeNode,m=u.promisedType,g=e.textChanges.ChangeTracker.with(n,(function(e){return a(e,o,d,f)}));return[t.createCodeFixAction(r,g,[e.Diagnostics.Replace_0_with_Promise_1,l.typeToString(p),l.typeToString(m)],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={}))}(d||(d={})),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,l=i.host,u=i.formatContext;if(e.isInJSFile(o)&&e.isCheckJsEnabledForFile(o,s.getCompilerOptions())){var d=o.checkJsDirective?"":e.getNewLineOrDefaultFromHost(l,u.options),p=[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"+d)])],e.Diagnostics.Disable_checking_for_this_file)];return e.textChanges.isValidLocationToAddComment(o,c.start)&&p.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)),p}},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={}))}(d||(d={})),function(e){!function(t){function r(t){return{trackSymbol:e.noop,moduleResolverHost:e.getModuleSpecifierResolverHost(t.program,t.host)}}function n(t,n,i,s,c,l,u){var p=t.getDeclarations();if(p&&p.length){var m=s.program.getTypeChecker(),g=e.getEmitScriptTarget(s.program.getCompilerOptions()),_=p[0],h=e.getSynthesizedDeepClone(e.getNameOfDeclaration(_),!1),y=function(t){if(4&t)return e.factory.createToken(123);if(16&t)return e.factory.createToken(122);return}(e.getEffectiveModifierFlags(_)),v=y?e.factory.createNodeArray([y]):void 0,b=m.getWidenedType(m.getTypeOfSymbolAtLocation(t,n)),k=!!(16777216&t.flags),x=!!(8388608&n.flags),E=e.getQuotePreference(i,c);switch(_.kind){case 163:case 164:var S=0===E?268435456:void 0,D=m.typeToTypeNode(b,n,S,r(s));if(l)(w=d(D,g))&&(D=w.typeNode,f(l,w.symbols));u(e.factory.createPropertyDeclaration(void 0,v,h,k?e.factory.createToken(57):void 0,D,void 0));break;case 168:case 169:var w,T=m.typeToTypeNode(b,n,void 0,r(s)),C=e.getAllAccessorDeclarations(p,_),A=C.secondAccessor?[C.firstAccessor,C.secondAccessor]:[C.firstAccessor];if(l)(w=d(T,g))&&(T=w.typeNode,f(l,w.symbols));for(var N=0,P=A;N<P.length;N++){var I=P[N];if(e.isGetAccessorDeclaration(I))u(e.factory.createGetAccessorDeclaration(void 0,v,h,e.emptyArray,T,x?void 0:o(E)));else{e.Debug.assertNode(I,e.isSetAccessorDeclaration,"The counterpart to a getter should be a setter");var F=e.getSetAccessorValueParameter(I),O=F&&e.isIdentifier(F.name)?e.idText(F.name):void 0;u(e.factory.createSetAccessorDeclaration(void 0,v,h,a(1,[O],[T],1,!1),x?void 0:o(E)))}}break;case 165:case 166:var R=m.getSignaturesOfType(b,0);if(!e.some(R))break;if(1===p.length){e.Debug.assert(1===R.length,"One declaration implies one signature"),j(E,R[0],v,h,x?void 0:o(E));break}for(var M=0,L=R;M<L.length;M++){j(E,L[M],e.getSynthesizedDeepClones(v,!1),e.getSynthesizedDeepClone(h,!1))}if(!x)if(p.length>R.length)j(E,m.getSignatureFromDeclaration(p[p.length-1]),v,h,o(E));else e.Debug.assert(p.length===R.length,"Declarations and signatures should match count"),u(function(t,r,n,i,s){for(var c=t[0],l=t[0].minArgumentCount,u=!1,d=0,p=t;d<p.length;d++){var f=p[d];l=Math.min(f.minArgumentCount,l),e.signatureHasRestParameter(f)&&(u=!0),f.parameters.length>=c.parameters.length&&(!e.signatureHasRestParameter(f)||e.signatureHasRestParameter(c))&&(c=f)}var m=c.parameters.length-(e.signatureHasRestParameter(c)?1:0),g=c.parameters.map((function(e){return e.name})),_=a(m,g,void 0,l,!1);if(u){var h=e.factory.createArrayTypeNode(e.factory.createKeywordTypeNode(129)),y=e.factory.createParameterDeclaration(void 0,void 0,e.factory.createToken(25),g[m]||"rest",m>=l?e.factory.createToken(57):void 0,h,void 0);_.push(y)}return function(t,r,n,i,a,s,c){return e.factory.createMethodDeclaration(void 0,t,void 0,r,n?e.factory.createToken(57):void 0,i,a,s,o(c))}(i,r,n,void 0,_,void 0,s)}(R,h,k,v,E))}}function j(t,i,a,o,c){var p=function(t,n,i,a,o,s,c,l,u){var p=t.program,m=p.getTypeChecker(),g=e.getEmitScriptTarget(p.getCompilerOptions()),_=1073742081|(0===n?268435456:0),h=m.signatureToSignatureDeclaration(i,166,a,_,r(t));if(!h)return;var y=h.typeParameters,v=h.parameters,b=h.type;if(u){if(y){var k=e.sameMap(y,(function(t){var r,n=t.constraint,i=t.default;n&&((r=d(n,g))&&(n=r.typeNode,f(u,r.symbols)));i&&((r=d(i,g))&&(i=r.typeNode,f(u,r.symbols)));return e.factory.updateTypeParameterDeclaration(t,t.name,n,i)}));y!==k&&(y=e.setTextRange(e.factory.createNodeArray(k,y.hasTrailingComma),y))}var x=e.sameMap(v,(function(t){var r=d(t.type,g),n=t.type;return r&&(n=r.typeNode,f(u,r.symbols)),e.factory.updateParameterDeclaration(t,t.decorators,t.modifiers,t.dotDotDotToken,t.name,t.questionToken,n,t.initializer)}));if(v!==x&&(v=e.setTextRange(e.factory.createNodeArray(x,v.hasTrailingComma),v)),b){var E=d(b,g);E&&(b=E.typeNode,f(u,E.symbols))}}return e.factory.updateMethodDeclaration(h,void 0,o,h.asteriskToken,s,c?e.factory.createToken(57):void 0,y,v,b,l)}(s,t,i,n,a,o,k,c,l);p&&u(p)}}function i(t,r,n,i,a,o,s){var c=t.typeToTypeNode(n,i,o,s);if(c&&e.isImportTypeNode(c)){var l=d(c,a);if(l)return f(r,l.symbols),l.typeNode}return c}function a(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"+s,void 0!==i&&s>=i?e.factory.createToken(57):void 0,a?void 0:n&&n[s]||e.factory.createKeywordTypeNode(129),void 0);o.push(c)}return o}function o(t){return s(e.Diagnostics.Method_not_implemented.message,t)}function s(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 c(t,r,n){var i=e.getTsConfigObjectLiteralExpression(r);if(i){var a=u(i,"compilerOptions");if(void 0!==a){var o=a.initializer;if(e.isObjectLiteralExpression(o))for(var s=0,c=n;s<c.length;s++){var d=c[s],p=d[0],f=d[1],m=u(o,p);void 0===m?t.insertNodeAtObjectStart(r,o,l(p,f)):t.replaceNode(r,m.initializer,f)}}else t.insertNodeAtObjectStart(r,i,l("compilerOptions",e.factory.createObjectLiteralExpression(n.map((function(e){return l(e[0],e[1])})),!0)))}}function l(t,r){return e.factory.createPropertyAssignment(e.factory.createStringLiteral(t),r)}function u(t,r){return e.find(t.properties,(function(t){return e.isPropertyAssignment(t)&&!!t.name&&e.isStringLiteral(t.name)&&t.name.text===r}))}function d(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?p(i.qualifier,e.factory.createIdentifier(s)):i.qualifier;n=e.append(n,o.symbol);var l=null===(a=i.typeArguments)||void 0===a?void 0:a.map(t);return e.factory.createTypeReferenceNode(c,l)}return e.visitEachChild(i,t,e.nullTransformationContext)}));if(n&&i)return{typeNode:i,symbols:n}}function p(t,r){return 78===t.kind?r:e.factory.createQualifiedName(p(t.left,r),t.right)}function f(e,t){t.forEach((function(t){return e.addImportFromExportedSymbol(t,!0)}))}t.createMissingMemberNodes=function(e,t,r,i,a,o,s){for(var c=e.symbol.members,l=0,u=t;l<u.length;l++){var d=u[l];c.has(d.escapedName)||n(d,e,r,i,a,o,s)}},t.getNoopSymbolTrackerWithResolver=r,t.createSignatureDeclarationFromCallExpression=function(t,n,c,l,u,d,p){var f=e.getQuotePreference(n.sourceFile,n.preferences),m=e.getEmitScriptTarget(n.program.getCompilerOptions()),g=r(n),_=n.program.getTypeChecker(),h=e.isInJSFile(p),y=l.typeArguments,v=l.arguments,b=l.parent,k=h?void 0:_.getContextualType(l),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 i(_,c,_.getBaseTypeOfLiteralType(_.getTypeAtLocation(e)),p,m,void 0,g)})),S=d?e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(d)):void 0,D=e.isYieldExpression(b)?e.factory.createToken(41):void 0,w=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"+r)})),T=a(v.length,x,E,void 0,h),C=h||void 0===k?void 0:_.typeToTypeNode(k,p,void 0,g);return 166===t?e.factory.createMethodDeclaration(void 0,S,D,u,void 0,w,T,C,e.isInterfaceDeclaration(p)?void 0:o(f)):e.factory.createFunctionDeclaration(void 0,S,D,u,w,T,C,s(e.Diagnostics.Function_not_implemented.message,f))},t.typeToAutoImportableTypeNode=i,t.createStubbedBody=s,t.setJsonCompilerOptionValues=c,t.setJsonCompilerOptionValue=function(e,t,r,n){c(e,t,[[r,n]])},t.createJsonPropertyAssignment=l,t.findJsonProperty=u,t.tryGetAutoImportableReferenceFromTypeNode=d,t.importSymbols=f}(e.codefix||(e.codefix={}))}(d||(d={})),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 a(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){return t?e.factory.createNodeArray(e.factory.createModifiersFromModifierFlags(t)):void 0}function s(t,i,a,o,s){void 0===s&&(s=!0);var c=e.getTokenAtPosition(t,a),u=a===o&&s,d=e.findAncestor(c.parent,r);if(!d||!e.nodeOverlapsWithStartEnd(d.name,t,a,o)&&!u)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)}(d.name))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Name_is_not_valid)};if(124!=(124|e.getEffectiveModifierFlags(d)))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_property_with_modifier)};var p=d.name.text,f=e.startsWithUnderscore(p),m=n(f?p:e.getUniqueName("_"+p,t),d.name),g=n(f?e.getUniqueName(p.substring(1),t):p,d.name);return{isStatic:e.hasStaticModifier(d),isReadonly:e.hasEffectiveReadonlyModifier(d),type:l(d,i),container:161===d.kind?d.parent.parent:d.parent,originalName:d.name.text,declaration:d,fieldName:m,accessorName:g,renameAccessor:f}}function c(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 l(t,r){var n=e.getTypeAnnotationNode(t);if(e.isPropertyDeclaration(t)&&n&&t.questionToken){var a=r.getTypeChecker(),o=a.getTypeFromTypeNode(n);if(!a.isTypeAssignableTo(a.getUndefinedType(),o)){var s=e.isUnionTypeNode(n)?n.types:[n];return e.factory.createUnionTypeNode(i(i([],s),[e.factory.createKeywordTypeNode(151)]))}}return n}t.generateAccessorFromProperty=function(t,r,n,i,l,u){var d=s(t,r,n,i);if(d&&!e.refactor.isRefactorErrorInfo(d)){var p,f,m=e.textChanges.ChangeTracker.fromContext(l),g=d.isStatic,_=d.isReadonly,h=d.fieldName,y=d.accessorName,v=d.originalName,b=d.type,k=d.container,x=d.declaration;if(e.suppressLeadingAndTrailingTrivia(h),e.suppressLeadingAndTrailingTrivia(y),e.suppressLeadingAndTrailingTrivia(x),e.suppressLeadingAndTrailingTrivia(k),e.isClassLike(k)){var E=e.getEffectiveModifierFlags(x);if(e.isSourceFileJS(t)){var S=o(E);p=S,f=S}else p=o(function(e){e&=-65,e&=-9,16&e||(e|=4);return e}(E)),f=o(function(e){return e&=-5,e&=-17,e|=8,e}(E))}!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))}(m,t,x,b,h,f);var D=function(t,r,n,i,o,s){return e.factory.createGetAccessorDeclaration(void 0,i,r,void 0,n,e.factory.createBlock([e.factory.createReturnStatement(a(t,o,s))],!0))}(h,y,b,p,g,k);if(e.suppressLeadingAndTrailingTrivia(D),c(m,t,D,x,k),_){var w=e.getFirstConstructorWithBody(k);w&&function(t,r,n,i,a){if(!n.body)return;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)}))}(m,t,w,h.text,v)}else{var T=function(t,r,n,i,o,s){return e.factory.createSetAccessorDeclaration(void 0,i,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(a(t,o,s),e.factory.createIdentifier("value")))],!0))}(h,y,b,p,g,k);e.suppressLeadingAndTrailingTrivia(T),c(m,t,T,x,k)}return m.getChanges()}},t.getAccessorConvertiblePropertyAtPosition=s,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=e.find(o.declarations,e.isClassLike);if(!s)break;n.push(s),t=s}return n}}(e.codefix||(e.codefix={}))}(d||(d={})),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 l=i.sourceFile,u=e.textChanges.ChangeTracker.with(i,(function(t){return t.replaceNode(l,a,e.factory.createPropertyAccessExpression(a,"default"),{})}));s.push(t.createCodeFixActionWithoutFixAll(r,u,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?204:205,a=e.findAncestor(e.getTokenAtPosition(r,t.span.start),(function(e){return e.kind===n}));if(!a)return[];var o=a.expression;return i(t,o)}}),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_string_index_type_2.code,e.Diagnostics.Property_0_of_type_1_is_not_assignable_to_numeric_index_type_2.code,e.Diagnostics.Numeric_index_type_0_is_not_assignable_to_string_index_type_1.code,e.Diagnostics.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2.code,e.Diagnostics.Property_0_in_type_1_is_not_assignable_to_type_2.code,e.Diagnostics.Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property.code,e.Diagnostics.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1.code],getCodeActions: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}));if(!n)return[];return i(t,n)}})}(e.codefix||(e.codefix={}))}(d||(d={})),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);return e.isIdentifier(n)?e.cast(n.parent,e.isPropertyDeclaration):void 0}function c(i,a){var o=e.textChanges.ChangeTracker.with(i,(function(e){return l(e,i.sourceFile,a)}));return t.createCodeFixAction(r,o,[e.Diagnostics.Add_definite_assignment_assertion_to_property_0,a.getText()],n,e.Diagnostics.Add_definite_assignment_assertions_to_all_uninitialized_properties)}function l(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(n,a){var o=e.textChanges.ChangeTracker.with(n,(function(e){return d(e,n.sourceFile,a)}));return t.createCodeFixAction(r,o,[e.Diagnostics.Add_undefined_type_to_property_0,a.name.getText()],i,e.Diagnostics.Add_undefined_type_to_all_uninitialized_properties)}function d(t,r,n){var i=e.factory.createKeywordTypeNode(151),a=n.type,o=e.isUnionTypeNode(a)?a.types.concat(i):[a,i];t.replaceNode(r,a,e.factory.createUnionTypeNode(o))}function p(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 f(e,t){return m(e,e.getTypeFromTypeNode(t.type))}function m(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 m(t,e)}));if(r.isClass()){var n=e.getClassLikeDeclarationOfSymbol(r.symbol);if(!n||e.hasSyntacticModifier(n,128))return;var i=e.getFirstConstructorWithBody(n);if(i&&i.parameters.length)return;return 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(n){var i=s(n.sourceFile,n.span.start);if(i){var o=[u(n,i),c(n,i)];return e.append(o,function(n,i){var o=n.program.getTypeChecker(),s=f(o,i);if(!s)return;var c=e.textChanges.ChangeTracker.with(n,(function(e){return p(e,n.sourceFile,i,s)}));return t.createCodeFixAction(r,c,[e.Diagnostics.Add_initializer_to_property_0,i.name.getText()],a,e.Diagnostics.Add_initializers_to_all_uninitialized_properties)}(n,i)),o}},fixIds:[n,i,a],getAllCodeActions:function(r){return t.codeFixAll(r,o,(function(t,o){var c=s(o.file,o.start);if(c)switch(r.fixId){case n:l(t,o.file,c);break;case i:d(t,o.file,c);break;case a:var u=f(r.program.getTypeChecker(),c);if(!u)return;p(t,o.file,c,u);break;default:e.Debug.fail(JSON.stringify(r.fixId))}}))}})}(e.codefix||(e.codefix={}))}(d||(d={})),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))}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(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={}))}(d||(d={})),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 l=e.textChanges.ChangeTracker.with(n,(function(e){return a(e,o,c,n.preferences)}));return[t.createCodeFixAction(r,l,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={}))}(d||(d={})),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={}))}(d||(d={})),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(196===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),l=e.textChanges.ChangeTracker.with(n,(function(e){return a(e,o,c)}));return[t.createCodeFixAction(r,l,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={}))}(d||(d={})),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){var r=[],n=t;for(;;){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.program.getCompilerOptions().jsx;if(2===o||3===o){var s=n.sourceFile,c=n.span,l=i(s,c.start);if(l){var u=e.textChanges.ChangeTracker.with(n,(function(e){return a(e,s,l)}));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={}))}(d||(d={})),function(e){!function(t){var r="fixConvertToMappedObjectType",n=[e.Diagnostics.An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead.code];function a(t,r){var n=e.getTokenAtPosition(t,r),i=e.cast(n.parent.parent,e.isIndexSignatureDeclaration);if(!e.isClassDeclaration(i.parent))return{indexSignature:i,container:e.isInterfaceDeclaration(i.parent)?i.parent:e.cast(i.parent.parent,e.isTypeAliasDeclaration)}}function o(t,r,n){var a,o,s=n.indexSignature,c=n.container,l=(e.isInterfaceDeclaration(c)?c.members:c.type.members).filter((function(t){return!e.isIndexSignatureDeclaration(t)})),u=e.first(s.parameters),d=e.factory.createTypeParameterDeclaration(e.cast(u.name,e.isIdentifier),u.type),p=e.factory.createMappedTypeNode(e.hasEffectiveReadonlyModifier(s)?e.factory.createModifier(143):void 0,d,void 0,s.questionToken,s.type),f=e.factory.createIntersectionTypeNode(i(i(i([],e.getAllSuperTypeNodes(c)),[p]),l.length?[e.factory.createTypeLiteralNode(l)]:e.emptyArray));t.replaceNode(r,c,(a=c,o=f,e.factory.createTypeAliasDeclaration(a.decorators,a.modifiers,a.name,a.typeParameters,o)))}t.registerCodeFix({errorCodes:n,getCodeActions:function(n){var i=n.sourceFile,s=n.span,c=a(i,s.start);if(c){var l=e.textChanges.ChangeTracker.with(n,(function(e){return o(e,i,c)})),u=e.idText(c.container.name);return[t.createCodeFixAction(r,l,[e.Diagnostics.Convert_0_to_mapped_object_type,u],r,[e.Diagnostics.Convert_0_to_mapped_object_type,u])]}},fixIds:[r],getAllCodeActions:function(e){return t.codeFixAll(e,n,(function(e,t){var r=a(t.file,t.start);r&&o(e,t.file,r)}))}})}(e.codefix||(e.codefix={}))}(d||(d={})),function(e){!function(t){var 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]})}(e.codefix||(e.codefix={}))}(d||(d={})),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 131===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={}))}(d||(d={})),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)),t.insertNodeAfter(n.sourceFile,r,e.factory.createImportDeclaration(void 0,void 0,e.factory.updateImportClause(i,i.isTypeOnly,void 0,i.namedBindings),r.moduleSpecifier))}}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={}))}(d||(d={})),function(e){!function(t){var 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=e.getTokenAtPosition(t,r),a=n.getTypeChecker(),o=a.getSymbolAtLocation(i);if(o)return o.valueDeclaration.parent.parent}(i,a.start,o),c=e.textChanges.ChangeTracker.with(n,(function(e){return function(e,t,r){if(!r)return;var n=r.getStart();e.replaceRangeWithText(t,{pos:n,end:n+5},"let")}(e,i,s)}));return[t.createCodeFixAction(r,c,e.Diagnostics.Convert_const_to_let,r,e.Diagnostics.Convert_const_to_let)]},fixIds:[r]})}(e.codefix||(e.codefix={}))}(d||(d={})),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={}))}(d||(d={})),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),l=null==c?void 0:c.valueDeclaration;if(l&&e.isParameter(l)&&e.isNewExpression(l.parent.parent)&&!(null==a?void 0:a.has(l))){null==a||a.add(l);var u=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}}(l.parent.parent);if(e.some(u)){var d=u[0],p=!e.isUnionTypeNode(d)&&!e.isParenthesizedTypeNode(d)&&e.isParenthesizedTypeNode(e.factory.createUnionTypeNode([d,e.factory.createKeywordTypeNode(114)]).types[0]);p&&t.insertText(r,d.pos,"("),t.insertText(r,d.end,p?") | void":" | void")}else{var f=s.getResolvedSignature(o.parent),m=null==f?void 0:f.parameters[0],g=m&&s.getTypeOfSymbolAtLocation(m,l.parent.parent);e.isInJSFile(l)?(!g||3&g.flags)&&(t.insertText(r,l.parent.parent.end,")"),t.insertText(r,e.skipTrivia(r.text,l.parent.parent.pos),"/** @type {Promise<void>} */(")):(!g||2&g.flags)&&t.insertText(r,l.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={}))}(d||(d={})),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 o(t,r){void 0===r&&(r=!0);var n=t.file,i=e.getRefactorContextSpan(t),a=e.getTokenAtPosition(n,i.start),o=a.parent&&1&e.getSyntacticModifierFlags(a.parent)&&r?a.parent:e.getParentNodeInSpan(a,n,i);if(!(o&&(e.isSourceFile(o.parent)||e.isModuleBlock(o.parent)&&e.isAmbientModule(o.parent.parent))))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_export_statement)};var s=e.isSourceFile(o.parent)?o.parent.symbol:o.parent.parent.symbol,c=e.getSyntacticModifierFlags(o),l=!!(512&c);if(!(1&c)||!l&&s.exports.has("default"))return{error:e.getLocaleSpecificMessage(e.Diagnostics.This_file_already_has_a_default_export)};switch(o.kind){case 253:case 254:case 256:case 258:case 257:case 259:var u=o;return u.name&&e.isIdentifier(u.name)?{exportNode:u,exportName:u.name,wasDefault:l,exportingModuleSymbol:s}:void 0;case 234:var d=o;if(!(2&d.declarationList.flags)||1!==d.declarationList.declarations.length)return;var p=e.first(d.declarationList.declarations);if(!p.initializer)return;return e.Debug.assert(!l,"Can't have a default flag here"),e.isIdentifier(p.name)?{exportNode:d,exportName:p.name,wasDefault:l,exportingModuleSymbol:s}:void 0;default:return}}function s(t,r){return e.factory.createImportSpecifier(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=o(s,"invoked"===s.triggerReason);if(!c)return e.emptyArray;if(!t.isRefactorErrorInfo(c)){var l=c.wasDefault?n:i;return[{name:r,description:l.description,actions:[l]}]}return s.preferences.provideRefactorNotApplicableReason?[{name:r,description:e.Diagnostics.Convert_default_export_to_named_export.message,actions:[a(a({},n),{notApplicableReason:c.error}),a(a({},i),{notApplicableReason:c.error})]}]:e.emptyArray},getEditsForAction:function(r,a){e.Debug.assert(a===n.name||a===i.name,"Unexpected action name");var c=o(r);e.Debug.assert(c&&!t.isRefactorErrorInfo(c),"Expected applicable refactor info");var l=e.textChanges.ChangeTracker.with(r,(function(t){return function(t,r,n,i,a){(function(t,r,n,i){var a=r.wasDefault,o=r.exportNode,s=r.exportName;if(a)n.delete(t,e.Debug.checkDefined(e.findModifier(o,88),"Should find a default keyword in modifier list"));else{var c=e.Debug.checkDefined(e.findModifier(o,93),"Should find an export keyword in modifier list");switch(o.kind){case 253:case 254:case 256:n.insertNodeAfter(t,c,e.factory.createToken(88));break;case 234:var l=e.first(o.declarationList.declarations);if(!e.FindAllReferences.Core.isSymbolReferencedInFile(s,i,t)&&!l.type){n.replaceNode(t,o,e.factory.createExportDefault(e.Debug.checkDefined(l.initializer,"Initializer was previously known to be present")));break}case 258:case 257:case 259:n.deleteModifier(t,c),n.insertNodeAfter(t,o,e.factory.createExportDefault(e.factory.createIdentifier(s.text)));break;default:e.Debug.assertNever(o,"Unexpected exportNode kind "+o.kind)}}})(t,n,i,r.getTypeChecker()),function(t,r,n,i){var a=r.wasDefault,o=r.exportName,c=r.exportingModuleSymbol,l=t.getTypeChecker(),u=e.Debug.checkDefined(l.getSymbolAtLocation(o),"Export name should resolve to a symbol");e.FindAllReferences.Core.eachExportReference(t.getSourceFiles(),l,i,u,c,o.text,a,(function(t){var r=t.getSourceFile();a?function(t,r,n,i){var a=r.parent;switch(a.kind){case 202:n.replaceNode(t,r,e.factory.createIdentifier(i));break;case 268:case 273:var o=a;n.replaceNode(t,o,s(i,o.name.text));break;case 265:var c=a;e.Debug.assert(c.name===r,"Import clause name should match provided ref");o=s(i,r.text);var l=c.namedBindings;if(l)if(266===l.kind){n.deleteRange(t,{pos:r.getStart(t),end:l.getStart(t)});var u=e.isStringLiteral(c.parent.moduleSpecifier)?e.quotePreferenceFromString(c.parent.moduleSpecifier,t):1,d=e.makeImport(void 0,[s(i,r.text)],c.parent.moduleSpecifier,u);n.insertNodeAfter(t,c.parent,d)}else n.delete(t,r),n.insertNodeAtEndOfList(t,l.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 202:n.replaceNode(t,r,e.factory.createIdentifier("default"));break;case 268: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 273:n.replaceNode(t,i,(o="default",s=i.name.text,e.factory.createExportSpecifier(o===s?void 0:e.factory.createIdentifier(o),e.factory.createIdentifier(s))));break;default:e.Debug.assertNever(i,"Unexpected parent kind "+i.kind)}var o,s}(r,t,n)}))}(r,n,i,a)}(r.file,r.program,c,t,r.cancellationToken)}));return{edits:l,renameFilename:void 0,renameLocation:void 0}}})}(e.refactor||(e.refactor={}))}(d||(d={})),function(e){!function(t){var r="Convert import",n={name:"Convert namespace import to named imports",description:e.Diagnostics.Convert_namespace_import_to_named_imports.message,kind:"refactor.rewrite.import.named"},i={name:"Convert named imports to namespace import",description:e.Diagnostics.Convert_named_imports_to_namespace_import.message,kind:"refactor.rewrite.import.namespace"};function o(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."};if(!(o.getEnd()<i.start+i.length)){var s=o.importClause;return s?s.namedBindings?s.namedBindings:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_namespace_import_or_named_imports)}:{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_import_clause)}}}function s(t){return e.isPropertyAccessExpression(t)?t.name:t.right}function c(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)}t.registerRefactor(r,{kinds:[n.kind,i.kind],getAvailableActions:function(s){var c=o(s,"invoked"===s.triggerReason);if(!c)return e.emptyArray;if(!t.isRefactorErrorInfo(c)){var l=266===c.kind?n:i;return[{name:r,description:l.description,actions:[l]}]}return s.preferences.provideRefactorNotApplicableReason?[{name:r,description:n.description,actions:[a(a({},n),{notApplicableReason:c.error})]},{name:r,description:i.description,actions:[a(a({},i),{notApplicableReason:c.error})]}]:e.emptyArray},getEditsForAction:function(r,a){e.Debug.assert(a===n.name||a===i.name,"Unexpected action name");var l=o(r);return e.Debug.assert(l&&!t.isRefactorErrorInfo(l),"Expected applicable refactor info"),{edits:e.textChanges.ChangeTracker.with(r,(function(t){return n=r.file,i=r.program,a=t,o=l,u=i.getTypeChecker(),void(266===o.kind?function(t,r,n,i,a){var o=!1,l=[],u=new e.Map;e.FindAllReferences.Core.eachSymbolReferenceInFile(i.name,r,t,(function(t){if(e.isPropertyAccessOrQualifiedName(t.parent)){var n=s(t.parent).text;r.resolveName(n,t,67108863,!0)&&u.set(n,!0),e.Debug.assert(function(t){return e.isPropertyAccessExpression(t)?t.expression:t.left}(t.parent)===t,"Parent expression should match id"),l.push(t.parent)}else o=!0}));for(var d=new e.Map,p=0,f=l;p<f.length;p++){var m=f[p],g=s(m).text,_=d.get(g);void 0===_&&d.set(g,_=u.has(g)?e.getUniqueName(g,t):g),n.replaceNode(t,m,e.factory.createIdentifier(_))}var h=[];d.forEach((function(t,r){h.push(e.factory.createImportSpecifier(t===r?void 0:e.factory.createIdentifier(r),e.factory.createIdentifier(t)))}));var y=i.parent.parent;o&&!a?n.insertNodeAfter(t,y,c(y,void 0,h)):n.replaceNode(t,y,c(y,o?e.factory.createIdentifier(i.name.text):void 0,h))}(n,u,a,o,e.getAllowSyntheticDefaultImports(i.getCompilerOptions())):function(t,r,n,i){for(var a=i.parent.parent,o=a.moduleSpecifier,s=o&&e.isStringLiteral(o)?e.codefix.moduleSpecifierToValidIdentifier(o.text,99):"module",l=i.elements.some((function(n){return e.FindAllReferences.Core.eachSymbolReferenceInFile(n.name,r,t,(function(e){return!!r.resolveName(s,e,67108863,!0)}))||!1})),u=l?e.getUniqueName(s,t):s,d=[],p=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(u),a);e.isShorthandPropertyAssignment(r.parent)?n.replaceNode(t,r.parent,e.factory.createPropertyAssignment(r.text,o)):e.isExportSpecifier(r.parent)&&!r.parent.propertyName?d.some((function(e){return e.name===i.name}))||d.push(e.factory.createImportSpecifier(i.propertyName&&e.factory.createIdentifier(i.propertyName.text),e.factory.createIdentifier(i.name.text))):n.replaceNode(t,r,o)}))},f=0,m=i.elements;f<m.length;f++)p(m[f]);n.replaceNode(t,i,e.factory.createNamespaceImport(e.factory.createIdentifier(u))),d.length&&n.insertNodeAfter(t,i.parent.parent,c(a,void 0,d))}(n,u,a,o));var n,i,a,o,u})),renameFilename:void 0,renameLocation:void 0}}})}(e.refactor||(e.refactor={}))}(d||(d={})),function(e){!function(t){!function(){var r="Convert to optional chain expression",n=e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_optional_chain_expression),i={name:r,description:n,kind:"refactor.rewrite.expression.optionalChain"};function o(t){return e.isBinaryExpression(t)||e.isConditionalExpression(t)}function s(t){return o(t)||function(t){return e.isExpressionStatement(t)||e.isReturnStatement(t)||e.isVariableStatement(t)}(t)}function c(t,r){void 0===r&&(r=!0);var n=t.file,i=t.program,a=e.getRefactorContextSpan(t),c=0===a.length;if(!c||r){var d=e.getTokenAtPosition(n,a.start),f=e.findTokenOnLeftOfPosition(n,a.start+a.length),m=e.createTextSpanFromBounds(d.pos,f&&f.end>=d.pos?f.getEnd():d.getEnd()),g=c?function(e){for(;e.parent;){if(s(e)&&!s(e.parent))return e;e=e.parent}return}(d):function(e,t){for(;e.parent;){if(s(e)&&0!==t.length&&e.end>=t.start+t.length)return e;e=e.parent}return}(d,m),_=g&&s(g)?function(t){if(o(t))return t;if(e.isVariableStatement(t)){var r=e.getSingleVariableOfVariableStatement(t),n=null==r?void 0:r.initializer;return n&&o(n)?n:void 0}return t.expression&&o(t.expression)?t.expression:void 0}(g):void 0;if(!_)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_convertible_access_expression)};var h=i.getTypeChecker();return e.isConditionalExpression(_)?function(t,r){var n=t.condition,i=p(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))&&u(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)}}}(_,h):function(t){if(55!==t.operatorToken.kind)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_logical_AND_access_chains)};var r=p(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)}}(_)}}function l(t,r){for(var n=[];e.isBinaryExpression(r)&&55===r.operatorToken.kind;){var i=u(e.skipParentheses(t),e.skipParentheses(r.right));if(!i)break;n.push(i),t=i,r=r.left}var a=u(t,r);return a&&n.push(a),n.length>0?n:void 0}function u(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 p(t){return t=e.skipParentheses(t),e.isBinaryExpression(t)?p(t.left):(e.isPropertyAccessExpression(t)||e.isElementAccessExpression(t)||e.isCallExpression(t))&&!e.isOptionalChain(t)?t:void 0}function f(t,r,n){if(e.isPropertyAccessExpression(r)||e.isElementAccessExpression(r)||e.isCallExpression(r)){var i=f(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(r,{kinds:[i.kind],getAvailableActions:function(o){var s=c(o,"invoked"===o.triggerReason);if(!s)return e.emptyArray;if(!t.isRefactorErrorInfo(s))return[{name:r,description:n,actions:[i]}];if(o.preferences.provideRefactorNotApplicableReason)return[{name:r,description:n,actions:[a(a({},i),{notApplicableReason:s.error})]}];return e.emptyArray},getEditsForAction:function(r,n){var i=c(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){var a=i.finalExpression,o=i.occurrences,s=i.expression,c=o[o.length-1],l=f(r,a,o);l&&(e.isPropertyAccessExpression(l)||e.isElementAccessExpression(l)||e.isCallExpression(l))&&(e.isBinaryExpression(s)?n.replaceNodeRange(t,c,a,l):e.isConditionalExpression(s)&&n.replaceNode(t,s,e.factory.createBinaryExpression(l,e.factory.createToken(60),s.whenFalse)))}(r.file,r.program.getTypeChecker(),t,i)})),renameFilename:void 0,renameLocation:void 0}}})}(t.convertToOptionalChainExpression||(t.convertToOptionalChainExpression={}))}(e.refactor||(e.refactor={}))}(d||(d={})),function(e){!function(t){!function(){var r="Convert overload list to single signature",n=e.Diagnostics.Convert_overload_list_to_single_signature.message,i={name:r,description:n,kind:"refactor.rewrite.function.overloadList"};function a(e){switch(e.kind){case 165:case 166:case 170:case 167:case 171:case 253:return!0}return!1}function o(t,r,n){var i=e.getTokenAtPosition(t,r),o=e.findAncestor(i,a);if(o){var s=n.getTypeChecker(),c=o.symbol;if(c){var l=c.declarations;if(!(e.length(l)<=1)&&e.every(l,(function(r){return e.getSourceFileOfNode(r)===t}))&&a(l[0])){var u=l[0].kind;if(e.every(l,(function(e){return e.kind===u}))){var d=l;if(!e.some(d,(function(t){return!!t.typeParameters||e.some(t.parameters,(function(t){return!!t.decorators||!!t.modifiers||!e.isIdentifier(t.name)}))}))){var p=e.mapDefined(d,(function(e){return s.getSignatureFromDeclaration(e)}));if(e.length(p)===e.length(l)){var f=s.getReturnTypeOfSignature(p[0]);if(e.every(p,(function(e){return s.getReturnTypeOfSignature(e)===f})))return d}}}}}}}t.registerRefactor(r,{kinds:[i.kind],getEditsForAction:function(t){var r=t.file,n=t.startPosition,i=t.program,a=o(r,n,i);if(!a)return;var s=i.getTypeChecker(),c=a[a.length-1],l=c;switch(c.kind){case 165:l=e.factory.updateMethodSignature(c,c.modifiers,c.name,c.questionToken,c.typeParameters,d(a),c.type);break;case 166:l=e.factory.updateMethodDeclaration(c,c.decorators,c.modifiers,c.asteriskToken,c.name,c.questionToken,c.typeParameters,d(a),c.type,c.body);break;case 170:l=e.factory.updateCallSignature(c,c.typeParameters,d(a),c.type);break;case 167:l=e.factory.updateConstructorDeclaration(c,c.decorators,c.modifiers,d(a),c.body);break;case 171:l=e.factory.updateConstructSignature(c,c.typeParameters,d(a),c.type);break;case 253:l=e.factory.updateFunctionDeclaration(c,c.decorators,c.modifiers,c.asteriskToken,c.name,c.typeParameters,d(a),c.type,c.body);break;default:return e.Debug.failBadSyntaxKind(c,"Unhandled signature kind in overload list conversion refactoring")}if(l===c)return;var u=e.textChanges.ChangeTracker.with(t,(function(e){e.replaceNodeRange(r,a[0],a[a.length-1],l)}));return{renameFilename:void 0,renameLocation:void 0,edits:u};function d(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,f);return e.setEmitFlags(e.factory.createTupleTypeNode(r),e.some(r,(function(t){return!!e.length(e.getSyntheticLeadingComments(t))}))?0:1)}function f(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(129)),t),n=t.symbol&&t.symbol.getDocumentationComment(s);if(n){var i=e.displayPartsToString(n);i.length&&e.setSyntheticLeadingComments(r,[{text:"*\n"+i.split("\n").map((function(e){return" * "+e})).join("\n")+"\n ",kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}])}return r}},getAvailableActions:function(t){var a=t.file,s=t.startPosition,c=t.program;return o(a,s,c)?[{name:r,description:n,actions:[i]}]:e.emptyArray}})}(t.addOrRemoveBracesToArrowFunction||(t.addOrRemoveBracesToArrowFunction={}))}(e.refactor||(e.refactor={}))}(d||(d={})),function(e){!function(t){!function(r){var n,i,o,s,c="Extract Symbol",l={name:"Extract Constant",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_constant),kind:"refactor.extract.constant"},u={name:"Extract Function",description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_function),kind:"refactor.extract.function"};function d(r){var n=r.kind,i=f(r.file,e.getRefactorContextSpan(r),"invoked"===r.triggerReason),o=i.targetRange;if(void 0===o){if(!i.errors||0===i.errors.length||!r.preferences.provideRefactorNotApplicableReason)return e.emptyArray;var s=[];return t.refactorKindBeginsWith(u.kind,n)&&s.push({name:c,description:u.description,actions:[a(a({},u),{notApplicableReason:A(i.errors)})]}),t.refactorKindBeginsWith(l.kind,n)&&s.push({name:c,description:l.description,actions:[a(a({},l),{notApplicableReason:A(i.errors)})]}),s}var d=function(t,r){var n=_(t,r),i=n.scopes,a=n.readsAndWrites,o=a.functionErrorsPerScope,s=a.constantErrorsPerScope,c=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),l=e.isFunctionLikeDeclaration(t)?function(t){switch(t.kind){case 167:return"constructor";case 209:case 253:return t.name?"function '"+t.name.text+"'":e.ANONYMOUS;case 210:return"arrow function";case 166:return"method '"+t.name.getText()+"'";case 168:return"'get "+t.name.getText()+"'";case 169:return"'set "+t.name.getText()+"'";default:throw e.Debug.assertNever(t,"Unexpected scope kind "+t.kind)}}(t):e.isClassLike(t)?function(e){return 254===e.kind?e.name?"class '"+e.name.text+"'":"anonymous class declaration":e.name?"class expression '"+e.name.text+"'":"anonymous class expression"}(t):function(e){return 260===e.kind?"namespace '"+e.parent.name.getText()+"'":e.externalModuleIndicator?0:1}(t);return 1===l?(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===l?(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,l]),i=e.formatStringFromArgs(e.getLocaleSpecificMessage(e.Diagnostics.Extract_to_0_in_1),[c,l])),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]}}}));return c}(o,r);if(void 0===d)return e.emptyArray;for(var p,m,g=[],h=new e.Map,y=[],v=new e.Map,b=0,k=0,x=d;k<x.length;k++){var E=x[k],S=E.functionExtraction,D=E.constantExtraction,w=S.description;if(t.refactorKindBeginsWith(u.kind,n)&&(0===S.errors.length?h.has(w)||(h.set(w,!0),g.push({description:w,name:"function_scope_"+b,kind:u.kind})):p||(p={description:w,name:"function_scope_"+b,notApplicableReason:A(S.errors),kind:u.kind})),t.refactorKindBeginsWith(l.kind,n))if(0===D.errors.length){var T=D.description;v.has(T)||(v.set(T,!0),y.push({description:T,name:"constant_scope_"+b,kind:l.kind}))}else m||(m={description:w,name:"constant_scope_"+b,notApplicableReason:A(D.errors),kind:l.kind});b++}var C=[];return g.length?C.push({name:c,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_function),actions:g}):r.preferences.provideRefactorNotApplicableReason&&p&&C.push({name:c,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_function),actions:[p]}),y.length?C.push({name:c,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_constant),actions:y}):r.preferences.provideRefactorNotApplicableReason&&m&&C.push({name:c,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_constant),actions:[m]}),C.length?C:e.emptyArray;function A(e){var t=e[0].messageText;return"string"!=typeof t&&(t=t.messageText),t}}function p(t,r){var n=f(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=_(t,r),o=a.scopes,s=a.readsAndWrites,c=s.target,l=s.usagesPerScope,u=s.functionErrorsPerScope,d=s.exposedVariableDeclarations;return e.Debug.assert(!u[n].length,"The extraction went missing? How?"),r.cancellationToken.throwIfCancellationRequested(),function(t,r,n,a,o,s){var c,l,u=n.usages,d=n.typeParameterUsages,p=n.substitutions,f=s.program.getTypeChecker(),m=e.getEmitScriptTarget(s.program.getCompilerOptions()),g=e.codefix.createImportAdder(s.file,s.program,s.preferences,s.host),_=r.getSourceFile(),k=e.getUniqueName(e.isClassLike(r)?"newMethod":"newFunction",_),x=e.isInJSFile(r),S=e.factory.createIdentifier(k),D=[],w=[];u.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,g,a,r,m,1)}var o=e.factory.createParameterDeclaration(void 0,void 0,void 0,n,void 0,i);D.push(o),2===t.usage&&(l||(l=[])).push(t),w.push(e.factory.createIdentifier(n))}));var T=e.arrayFrom(d.values()).map((function(e){return{type:e,declaration:h(e)}})).sort(y),C=0===T.length?void 0:T.map((function(e){return e.declaration})),A=void 0!==C?C.map((function(t){return e.factory.createTypeReferenceNode(t.name,void 0)})):void 0;if(e.isExpression(t)&&!x){var N=f.getContextualType(t);c=f.typeToTypeNode(N,r,1)}var P,I=function(t,r,n,i,a){var o,s=void 0!==n||r.length>0;if(e.isBlock(t)&&!s&&0===i.size)return{body:e.factory.createBlock(t.statements,!0),returnValueProperty:void 0};var c=!1,l=e.factory.createNodeArray(e.isBlock(t)?t.statements.slice(0):[e.isStatement(t)?t:e.factory.createReturnStatement(t)]);if(s||i.size){var u=e.visitNodes(l,p).slice();if(s&&!a&&e.isStatement(t)){var d=v(r,n);1===d.length?u.push(e.factory.createReturnStatement(d[0].name)):u.push(e.factory.createReturnStatement(e.factory.createObjectLiteralExpression(d)))}return{body:e.factory.createBlock(u,!0),returnValueProperty:o}}return{body:e.factory.createBlock(l,!0),returnValueProperty:void 0};function p(t){if(!c&&e.isReturnStatement(t)&&s){var a=v(r,n);return t.expression&&(o||(o="__return"),a.unshift(e.factory.createPropertyAssignment(o,e.visitNode(t.expression,p)))),1===a.length?e.factory.createReturnStatement(a[0].name):e.factory.createReturnStatement(e.factory.createObjectLiteralExpression(a))}var l=c;c=c||e.isFunctionLikeDeclaration(t)||e.isClassLike(t);var u=i.get(e.getNodeId(t).toString()),d=u?e.getSynthesizedDeepClone(u):e.visitEachChild(t,p,e.nullTransformationContext);return c=l,d}}(t,a,l,p,!!(o.facts&i.HasReturn)),F=I.body,O=I.returnValueProperty;if(e.suppressLeadingAndTrailingTrivia(F),e.isClassLike(r)){var R=x?[]:[e.factory.createModifier(121)];o.facts&i.InStaticRegion&&R.push(e.factory.createModifier(124)),o.facts&i.IsAsyncFunction&&R.push(e.factory.createModifier(130)),P=e.factory.createMethodDeclaration(void 0,R.length?R:void 0,o.facts&i.IsGenerator?e.factory.createToken(41):void 0,S,void 0,C,D,c,F)}else P=e.factory.createFunctionDeclaration(void 0,o.facts&i.IsAsyncFunction?[e.factory.createToken(130)]:void 0,o.facts&i.IsGenerator?e.factory.createToken(41):void 0,S,C,D,c,F);var M=e.textChanges.ChangeTracker.fromContext(s),L=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);L?M.insertNodeBefore(s.file,L,P,!0):M.insertNodeAtEndOfScope(s.file,r,P);g.writeFixes(M);var j=[],B=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,k),z=e.factory.createCallExpression(B,A,w);o.facts&i.IsGenerator&&(z=e.factory.createYieldExpression(e.factory.createToken(41),z));o.facts&i.IsAsyncFunction&&(z=e.factory.createAwaitExpression(z));E(t)&&(z=e.factory.createJsxExpression(void 0,z));if(a.length&&!l)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 U=a[0];j.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.getSynthesizedDeepClone(U.name),void 0,e.getSynthesizedDeepClone(U.type),z)],U.parent.flags)))}else{for(var q=[],J=[],V=a[0].parent.flags,H=!1,K=0,W=a;K<W.length;K++){U=W[K];q.push(e.factory.createBindingElement(void 0,void 0,e.getSynthesizedDeepClone(U.name)));var G=f.typeToTypeNode(f.getBaseTypeOfLiteralType(f.getTypeAtLocation(U)),r,1);J.push(e.factory.createPropertySignature(void 0,U.symbol.name,void 0,G)),H=H||void 0!==U.type,V&=U.parent.flags}var $=H?e.factory.createTypeLiteralNode(J):void 0;$&&e.setEmitFlags($,1),j.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(e.factory.createObjectBindingPattern(q),void 0,$,z)],V)))}else if(a.length||l){if(a.length)for(var Y=0,X=a;Y<X.length;Y++){var Q=(U=X[Y]).parent.flags;2&Q&&(Q=-3&Q|1),j.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(U.symbol.name,void 0,ne(U.type))],Q)))}O&&j.push(e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([e.factory.createVariableDeclaration(O,void 0,ne(c))],1)));var Z=v(a,l);O&&Z.unshift(e.factory.createShorthandPropertyAssignment(O)),1===Z.length?(e.Debug.assert(!O,"Shouldn't have returnValueProperty here"),j.push(e.factory.createExpressionStatement(e.factory.createAssignment(Z[0].name,z))),o.facts&i.HasReturn&&j.push(e.factory.createReturnStatement())):(j.push(e.factory.createExpressionStatement(e.factory.createAssignment(e.factory.createObjectLiteralExpression(Z),z))),O&&j.push(e.factory.createReturnStatement(e.factory.createIdentifier(O))))}else o.facts&i.HasReturn?j.push(e.factory.createReturnStatement(z)):b(o.range)?j.push(e.factory.createExpressionStatement(z)):j.push(z);b(o.range)?M.replaceNodeRangeWithNodes(s.file,e.first(o.range),e.last(o.range),j):M.replaceNodeWithNodes(s.file,o.range,j);var ee=M.getChanges(),te=(b(o.range)?e.first(o.range):o.range).getSourceFile().fileName,re=e.getRenameLocation(ee,te,k,!1);return{renameFilename:te,renameLocation:re,edits:ee};function ne(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 151===e.kind}))?r:e.factory.createUnionTypeNode([r,e.factory.createKeywordTypeNode(151)])}}}(c,o[n],l[n],d,t,r)}(n,t,o)}var s=/^constant_scope_(\d+)$/.exec(r);if(s){o=+s[1];return e.Debug.assert(isFinite(o),"Expected to parse a finite number from the constant scope index"),function(t,r,n){var a=_(t,r),o=a.scopes,s=a.readsAndWrites,c=s.target,l=s.usagesPerScope,u=s.constantErrorsPerScope,d=s.exposedVariableDeclarations;return e.Debug.assert(!u[n].length,"The extraction went missing? How?"),e.Debug.assert(0===d.length,"Extract constant accepted a range containing a variable declaration?"),r.cancellationToken.throwIfCancellationRequested(),function(t,r,n,a,o){var s,c=n.substitutions,l=o.program.getTypeChecker(),u=r.getSourceFile(),d=e.getUniqueName(e.isClassLike(r)?"newProperty":"newLocal",u),p=e.isInJSFile(r),f=p||!l.isContextSensitive(t)?void 0:l.typeToTypeNode(l.getContextualType(t),r,1),m=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)}}(t,c);s=A(f,m),f=s.variableType,m=s.initializer,e.suppressLeadingAndTrailingTrivia(m);var _=e.textChanges.ChangeTracker.fromContext(o);if(e.isClassLike(r)){e.Debug.assert(!p,"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(143));var y=e.factory.createPropertyDeclaration(void 0,h,d,void 0,f,m),v=e.factory.createPropertyAccessExpression(a&i.InStaticRegion?e.factory.createIdentifier(r.name.getText()):e.factory.createThis(),e.factory.createIdentifier(d));E(t)&&(v=e.factory.createJsxExpression(void 0,v));var b=function(t,r){var n,i=r.members;e.Debug.assert(i.length>0,"Found no members");for(var a=!0,o=0,s=i;o<s.length;o++){var c=s[o];if(c.pos>t)return n||i[0];if(a&&!e.isPropertyDeclaration(c)){if(void 0!==n)return c;a=!1}n=c}return void 0===n?e.Debug.fail():n}(t.pos,r);_.insertNodeBefore(o.file,b,y,!0),_.replaceNode(o.file,t,v)}else{var k=e.factory.createVariableDeclaration(d,void 0,f,m),S=function(t,r){var n;for(;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(S){_.insertNodeBefore(o.file,S,k);v=e.factory.createIdentifier(d);_.replaceNode(o.file,t,v)}else if(235===t.parent.kind&&r===e.findAncestor(t,g)){var D=e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([k],2));_.replaceNode(o.file,t.parent,D)}else{D=e.factory.createVariableStatement(void 0,e.factory.createVariableDeclarationList([k],2)),b=function(t,r){var n;e.Debug.assert(!e.isClassLike(r));for(var i=t;i!==r;i=i.parent)g(i)&&(n=i);for(i=(n||t).parent;;i=i.parent){if(x(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);if(0===b.pos?_.insertNodeAtTopOfFile(o.file,D,!1):_.insertNodeBefore(o.file,b,D,!1),235===t.parent.kind)_.delete(o.file,t.parent);else{v=e.factory.createIdentifier(d);E(t)&&(v=e.factory.createJsxExpression(void 0,v)),_.replaceNode(o.file,t,v)}}}var w=_.getChanges(),T=t.getSourceFile().fileName,C=e.getRenameLocation(w,T,d,!0);return{renameFilename:T,renameLocation:C,edits:w};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=l.getTypeAtLocation(t),o=e.singleOrUndefined(l.getSignaturesOfType(a,0));if(!o)return{variableType:n,initializer:i};if(o.getTypeParameters())return{variableType:n,initializer:i};for(var s=[],c=!1,u=0,d=i.parameters;u<d.length;u++){var p=d[u];if(p.type)s.push(p);else{var f=l.getTypeAtLocation(p);f===l.getAnyType()&&(c=!0),s.push(e.factory.updateParameterDeclaration(p,p.decorators,p.modifiers,p.dotDotDotToken,p.name,p.questionToken,p.type||l.typeToTypeNode(f,r,1),p.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||l.typeToTypeNode(o.getReturnType(),r,1),i.equalsGreaterThanToken,i.body);else{if(o&&o.thisParameter){var m=e.firstOrUndefined(s);if(!m||e.isIdentifier(m.name)&&"this"!==m.name.escapedText){var g=l.getTypeOfSymbolAtLocation(o.thisParameter,t);s.splice(0,0,e.factory.createParameterDeclaration(void 0,void 0,void 0,"this",void 0,l.typeToTypeNode(g,r,1)))}}i=e.factory.updateFunctionExpression(i,t.modifiers,i.asteriskToken,i.name,i.typeParameters,s,i.type||l.typeToTypeNode(o.getReturnType(),r,1),i.body)}return{variableType:n,initializer:i}}}(e.isExpression(c)?c:c.statements[0].expression,o[n],l[n],t.facts,r)}(n,t,o)}e.Debug.fail("Unrecognized action name")}function f(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.getTokenAtPosition(t,r.start),l=s?function(t){return e.findAncestor(t,(function(t){return t.parent&&k(t)&&!e.isBinaryExpression(t.parent)}))}(c):e.getParentNodeInSpan(c,t,r),u=e.findTokenOnLeftOfPosition(t,e.textSpanEnd(r)),d=s?l:e.getParentNodeInSpan(u,t,r),p=[],f=i.None;if(!l||!d)return{errors:[e.createFileDiagnostic(t,r.start,o,n.cannotExtractRange)]};if(l.parent!==d.parent)return{errors:[e.createFileDiagnostic(t,r.start,o,n.cannotExtractRange)]};if(l!==d){if(!x(l.parent))return{errors:[e.createFileDiagnostic(t,r.start,o,n.cannotExtractRange)]};for(var g=[],_=0,h=l.parent.statements;_<h.length;_++){var y=h[_];if(y===l||g.length){var v=S(y);if(v)return{errors:v};g.push(y)}if(y===d)break}return g.length?{targetRange:{range:g,facts:f,declarations:p}}:{errors:[e.createFileDiagnostic(t,r.start,o,n.cannotExtractRange)]}}if(e.isJSDoc(l))return{errors:[e.createFileDiagnostic(t,r.start,o,n.cannotExtractJSDoc)]};if(e.isReturnStatement(l)&&!l.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)){for(var r=0,n=void 0,i=0,a=t.declarationList.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}(l),E=function(t){if(e.isIdentifier(e.isExpressionStatement(t)?t.expression:t))return[e.createDiagnosticForNode(t,n.cannotExtractIdentifier)];return}(b)||S(b);return E?{errors:E}:{targetRange:{range:m(b),facts:f,declarations:p}};function S(t){var a;if(function(e){e[e.None=0]="None",e[e.Break=1]="Break",e[e.Continue=2]="Continue",e[e.Return=4]="Return"}(a||(a={})),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)&&k(t)))return[e.createDiagnosticForNode(t,n.statementOrExpressionExpected)];if(8388608&t.flags)return[e.createDiagnosticForNode(t,n.cannotExtractAmbientBlock)];var o,s=e.getContainingClass(t);s&&function(t,r){for(var n=t;n!==r;){if(164===n.kind){e.hasSyntacticModifier(n,32)&&(f|=i.InStaticRegion);break}if(161===n.kind){167===e.getContainingFunction(n).kind&&(f|=i.InStaticRegion);break}166===n.kind&&e.hasSyntacticModifier(n,32)&&(f|=i.InStaticRegion),n=n.parent}}(t,s);var c,l=4;return function t(a){if(o)return!0;if(e.isDeclaration(a)){var s=251===a.kind?a.parent.parent:a;if(e.hasSyntacticModifier(s,1))return(o||(o=[])).push(e.createDiagnosticForNode(a,n.cannotExtractExportedEntity)),!0;p.push(a.symbol)}switch(a.kind){case 264:return(o||(o=[])).push(e.createDiagnosticForNode(a,n.cannotExtractImport)),!0;case 269:return(o||(o=[])).push(e.createDiagnosticForNode(a,n.cannotExtractExportedEntity)),!0;case 106:if(204===a.parent.kind){var u=e.getContainingClass(a);if(u.pos<r.start||u.end>=r.start+r.length)return(o||(o=[])).push(e.createDiagnosticForNode(a,n.cannotExtractSuper)),!0}else f|=i.UsesThis;break;case 210:e.forEachChild(a,(function t(r){if(e.isThis(r))f|=i.UsesThis;else{if(e.isClassLike(r)||e.isFunctionLike(r)&&!e.isArrowFunction(r))return!1;e.forEachChild(r,t)}}));case 254:case 253:e.isSourceFile(a.parent)&&void 0===a.parent.externalModuleIndicator&&(o||(o=[])).push(e.createDiagnosticForNode(a,n.functionWillNotBeVisibleInTheNewScope));case 223:case 209:case 166:case 167:case 168:case 169:return!1}var d=l;switch(a.kind){case 236:case 249:l=0;break;case 232:a.parent&&249===a.parent.kind&&a.parent.finallyBlock===a&&(l=4);break;case 288:case 287:l|=1;break;default:e.isIterationStatement(a,!1)&&(l|=3)}switch(a.kind){case 188:case 108:f|=i.UsesThis;break;case 247:var m=a.label;(c||(c=[])).push(m.escapedText),e.forEachChild(a,t),c.pop();break;case 243:case 242:(m=a.label)?e.contains(c,m.escapedText)||(o||(o=[])).push(e.createDiagnosticForNode(a,n.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):l&(243===a.kind?1:2)||(o||(o=[])).push(e.createDiagnosticForNode(a,n.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break;case 215:f|=i.IsAsyncFunction;break;case 221:f|=i.IsGenerator;break;case 244:4&l?f|=i.HasReturn:(o||(o=[])).push(e.createDiagnosticForNode(a,n.cannotExtractRangeContainingConditionalReturnStatement));break;default:e.forEachChild(a,t)}l=d}(t),o}}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 _(t,r){var a=r.file,o=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(161===(r=r.parent).kind&&(r=e.findAncestor(r,(function(t){return e.isFunctionLikeDeclaration(t)})).parent),g(r)&&(o.push(r),300===r.kind))return o}(t),s=function(t,r){return b(t.range)?{pos:e.first(t.range).getStart(r),end:e.last(t.range).getEnd()}:t.range}(t,a),c=function(t,r,a,o,s,c){var l,u,d=new e.Map,p=[],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 k=t.range,x=e.first(k).getStart(),E=e.last(k).end;u=e.createFileDiagnostic(o,x,E-x,n.expressionExpected)}else 147456&s.getTypeAtLocation(v).flags&&(u=e.createDiagnosticForNode(v,n.uselessConstantType));for(var S=0,D=r;S<D.length;S++){var w=D[S];p.push({usages:new e.Map,typeParameterUsages:new e.Map,substitutions:new e.Map}),f.push(new e.Map),m.push(e.isFunctionLikeDeclaration(w)&&253!==w.kind?[e.createDiagnosticForNode(w,n.cannotExtractToOtherFunctionLike)]:[]);var T=[];u&&T.push(u),e.isClassLike(w)&&e.isInJSFile(w)&&T.push(e.createDiagnosticForNode(w,n.cannotExtractToJSClass)),e.isArrowFunction(w)&&!e.isBlock(w.body)&&T.push(e.createDiagnosticForNode(w,n.cannotExtractToExpressionArrowFunction)),g.push(T)}var C=new e.Map,A=b(t.range)?e.factory.createBlock(t.range):t.range,N=b(t.range)?e.first(t.range):t.range,P=q(N);if(V(A),P&&!b(t.range)){J(s.getContextualType(t.range))}if(d.size>0){for(var I=new e.Map,F=0,O=N;void 0!==O&&F<r.length;O=O.parent)if(O===r[F]&&(I.forEach((function(e,t){p[F].typeParameterUsages.set(t,e)})),F++),e.isDeclarationWithTypeParameters(O))for(var R=0,M=e.getEffectiveTypeParameterDeclarations(O);R<M.length;R++){var L=M[R],j=s.getTypeAtLocation(L);d.has(j.id.toString())&&I.set(j.id.toString(),j)}e.Debug.assert(F===r.length,"Should have iterated all scopes")}if(_.length){var B=e.isBlockScope(r[0],r[0].parent)?r[0]:e.getEnclosingBlockScopeContainer(r[0]);e.forEachChild(B,W)}for(var z=function(r){var i=p[r];if(r>0&&(i.usages.size>0||i.typeParameterUsages.size>0)){var a=b(t.range)?t.range[0]:t.range;g[r].push(e.createDiagnosticForNode(a,n.cannotAccessVariablesFromNestedScopes))}var o,s=!1;if(p[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);m[r].push(c),g[r].push(c)}else if(o&&r>0){c=e.createDiagnosticForNode(o,n.cannotExtractReadonlyPropertyInitializerOutsideConstructor);m[r].push(c),g[r].push(c)}else if(l){c=e.createDiagnosticForNode(l,n.cannotExtractExportedEntity);m[r].push(c),g[r].push(c)}},U=0;U<r.length;U++)z(U);return{target:A,usagesPerScope:p,functionErrorsPerScope:m,constantErrorsPerScope:g,exposedVariableDeclarations:y};function q(t){return!!e.findAncestor(t,(function(t){return e.isDeclarationWithTypeParameters(t)&&0!==e.getEffectiveTypeParameterDeclarations(t).length}))}function J(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()&&d.set(n.id.toString(),n)}}function V(t,r){(void 0===r&&(r=1),P)&&J(s.getTypeAtLocation(t));if(e.isDeclaration(t)&&t.symbol&&_.push(t),e.isAssignmentExpression(t))V(t.left,2),V(t.right);else if(e.isUnaryExpressionWithWrite(t))V(t.operand,2);else if(e.isPropertyAccessExpression(t)||e.isElementAccessExpression(t))e.forEachChild(t,V);else if(e.isIdentifier(t)){if(!t.parent)return;if(e.isQualifiedName(t.parent)&&t!==t.parent.left)return;if(e.isPropertyAccessExpression(t.parent)&&t!==t.parent.expression)return;H(t,r,e.isPartOfTypeNode(t))}else e.forEachChild(t,V)}function H(t,n,i){var a=K(t,n,i);if(a)for(var o=0;o<r.length;o++){var s=f[o].get(a);s&&p[o].substitutions.set(e.getNodeId(t).toString(),s)}}function K(c,l,u){var d=G(c);if(d){var _=e.getSymbolId(d).toString(),h=C.get(_);if(h&&h>=l)return _;if(C.set(_,l),h){for(var y=0,v=p;y<v.length;y++){var b=v[y];b.usages.get(c.text)&&b.usages.set(c.text,{usage:l,symbol:d,node:c})}return _}var k=d.getDeclarations(),x=k&&e.find(k,(function(e){return e.getSourceFile()===o}));if(x&&!e.rangeContainsStartEnd(a,x.getStart(),x.end)){if(t.facts&i.IsGenerator&&2===l){for(var E=e.createDiagnosticForNode(c,n.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators),S=0,D=m;S<D.length;S++){D[S].push(E)}for(var w=0,T=g;w<T.length;w++){T[w].push(E)}}for(var A=0;A<r.length;A++){var N=r[A];if(s.resolveName(d.name,N,d.flags,!1)!==d&&!f[A].has(_)){var P=$(d.exportSymbol||d,N,u);if(P)f[A].set(_,P);else if(u){if(!(262144&d.flags)){E=e.createDiagnosticForNode(c,n.typeWillNotBeVisibleInTheNewScope);m[A].push(E),g[A].push(E)}}else p[A].usages.set(c.text,{usage:l,symbol:d,node:c})}}return _}}}function W(r){if(!(r===t.range||b(t.range)&&t.range.indexOf(r)>=0)){var n=e.isIdentifier(r)?G(r):s.getSymbolAtLocation(r);if(n){var i=e.find(_,(function(e){return e.symbol===n}));if(i)if(e.isVariableDeclaration(i)){var a=i.symbol.id.toString();h.has(a)||(y.push(i),h.set(a,!0))}else l=l||i}e.forEachChild(r,W)}}function G(t){return t.parent&&e.isShorthandPropertyAssignment(t.parent)&&t.parent.name===t?s.getShorthandAssignmentValueSymbol(t.parent):s.getSymbolAtLocation(t)}function $(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=$(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)}}}(t,o,s,a,r.program.getTypeChecker(),r.cancellationToken);return{scopes:o,readsAndWrites:c}}function h(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 y(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 v(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 k(e){var t=e.parent;if(294===t.kind)return!1;switch(e.kind){case 10:return 264!==t.kind&&268!==t.kind;case 222:case 197:case 199:return!1;case 78:return 199!==t.kind&&268!==t.kind&&273!==t.kind}return!0}function x(e){switch(e.kind){case 232:case 300:case 260:case 287:return!0;default:return!1}}function E(t){return(e.isJsxElement(t)||e.isJsxSelfClosingElement(t)||e.isJsxFragment(t))&&e.isJsxElement(t.parent)}t.registerRefactor(c,{kinds:[l.kind,u.kind],getAvailableActions:d,getEditsForAction:p}),r.getAvailableActions=d,r.getEditsForAction=p,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.cannotExtractToOtherFunctionLike=r("Cannot extract method to a function-like scope that is not a function"),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={})),function(e){e[e.None=0]="None",e[e.HasReturn=1]="HasReturn",e[e.IsGenerator=2]="IsGenerator",e[e.IsAsyncFunction=4]="IsAsyncFunction",e[e.UsesThis=8]="UsesThis",e[e.InStaticRegion=16]="InStaticRegion"}(i||(i={})),r.getRangeToExtract=f,function(e){e[e.Module=0]="Module",e[e.Global=1]="Global"}(o||(o={})),function(e){e[e.Read=1]="Read",e[e.Write=2]="Write"}(s||(s={}))}(t.extractSymbol||(t.extractSymbol={}))}(e.refactor||(e.refactor={}))}(d||(d={})),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"},o={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)),u=s.pos===s.end&&r,d=e.findAncestor(o,(function(t){return t.parent&&e.isTypeNode(t)&&!l(s,t.parent,n)&&(u||e.nodeOverlapsWithStartEnd(o,n,s.pos,s.end))}));if(!d||!e.isTypeNode(d))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Selection_is_not_a_valid_type_node)};var p=t.program.getTypeChecker(),f=e.Debug.checkDefined(e.findAncestor(d,e.isStatement),"Should find a statement"),m=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)&&(p=t.resolveName(s.typeName.text,s.typeName,262144,!0))){var c=e.cast(e.first(p.declarations),e.isTypeParameterDeclaration);l(n,c,i)&&!l(r,c,i)&&e.pushIfUnique(a,c)}}else if(e.isInferTypeNode(s)){var u=e.findAncestor(s,(function(t){return e.isConditionalTypeNode(t)&&l(t.extendsType,s,i)}));if(!u||!l(r,u,i))return!0}else if(e.isTypePredicateNode(s)||e.isThisTypeNode(s)){var d=e.findAncestor(s.parent,e.isFunctionLike);if(d&&d.type&&l(d.type,s,i)&&!l(r,d,i))return!0}else if(e.isTypeQueryNode(s)){var p;if(e.isIdentifier(s.exprName)){if((p=t.resolveName(s.exprName.text,s.exprName,111551,!1))&&l(n,p.valueDeclaration,i)&&!l(r,p.valueDeclaration,i))return!0}else if(e.isThisIdentifier(s.exprName.left)&&!l(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)}}(p,d,f,n);return m?{isJS:a,selection:d,firstStatement:f,typeParameters:m,typeElements:c(p,d)}:{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}return e.isParenthesizedTypeNode(r)?c(t,r.type):e.isTypeLiteralNode(r)?r.members:void 0}}function l(t,r,n){return e.rangeContainsStartEnd(t,e.skipTrivia(n.text,r.pos),r.end)}t.registerRefactor(r,{kinds:[n.kind,i.kind,o.kind],getAvailableActions:function(c){var l=s(c,"invoked"===c.triggerReason);return l?t.isRefactorErrorInfo(l)?c.preferences.provideRefactorNotApplicableReason?[{name:r,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_type),actions:[a(a({},o),{notApplicableReason:l.error}),a(a({},n),{notApplicableReason:l.error}),a(a({},i),{notApplicableReason:l.error})]}]:e.emptyArray:[{name:r,description:e.getLocaleSpecificMessage(e.Diagnostics.Extract_type),actions:l.isJS?[o]:e.append([n],l.typeElements&&i)}]:e.emptyArray},getEditsForAction:function(r,a){var c=r.file,l=s(r);e.Debug.assert(l&&!t.isRefactorErrorInfo(l),"Expected to find a range to extract");var u=e.getUniqueName("NewType",c),d=e.textChanges.ChangeTracker.with(r,(function(t){switch(a){case n.name:return e.Debug.assert(!l.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,u,l);case o.name:return e.Debug.assert(l.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)),l=[];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]);l.push(i)})),t.insertNodeBefore(r,a,e.factory.createJSDocComment(void 0,e.factory.createNodeArray(e.concatenate(l,[c]))),!0),t.replaceNode(r,o,e.factory.createTypeReferenceNode(n,s.map((function(t){return e.factory.createTypeReferenceNode(t.name,void 0)}))))}(t,c,u,l);case i.name:return e.Debug.assert(!l.isJS&&!!l.typeElements,"Invalid actionName/JS combo"),function(t,r,n,i){var a,o=i.firstStatement,s=i.selection,c=i.typeParameters,l=i.typeElements,u=e.factory.createInterfaceDeclaration(void 0,void 0,n,c,void 0,l);e.setTextRange(u,null===(a=l[0])||void 0===a?void 0:a.parent),t.insertNodeBefore(r,o,e.ignoreSourceNewlines(u),!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,u,l);default:e.Debug.fail("Unexpected action name")}})),p=c.fileName;return{edits:d,renameFilename:p,renameLocation:e.getRenameLocation(d,p,u,!1)}}})}(e.refactor||(e.refactor={}))}(d||(d={})),function(e){!function(t){var r,n,i;t.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(o){if(!o.endPosition)return e.emptyArray;var s=e.codefix.getAccessorConvertiblePropertyAtPosition(o.file,o.program,o.startPosition,o.endPosition,"invoked"===o.triggerReason);return s?t.isRefactorErrorInfo(s)?o.preferences.provideRefactorNotApplicableReason?[{name:r,description:n,actions:[a(a({},i),{notApplicableReason:s.error})]}]:e.emptyArray:[{name:r,description:n,actions:[i]}]:e.emptyArray}})}(e.refactor||(e.refactor={}))}(d||(d={})),function(e){!function(e){e.isRefactorErrorInfo=function(e){return void 0!==e.error},e.refactorKindBeginsWith=function(e,t){return!t||e.substr(0,t.length)===t}}(e.refactor||(e.refactor={}))}(d||(d={})),function(e){!function(t){var r="Move to a new file",n=e.getLocaleSpecificMessage(e.Diagnostics.Move_to_a_new_file),o={name:r,description:n,kind:"refactor.move.newFile"};function s(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,c,(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 c(t){return!function(t){switch(t.kind){case 264:return!0;case 263:return!e.hasSyntacticModifier(t,1);case 234: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 u(e){return 264===e.kind?e.moduleSpecifier:263===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 p(t,r,n,i,a){if(n=e.ensurePathIsNonModuleName(n),i){var o=r.map((function(t){return e.factory.createImportSpecifier(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?f(e.factory.createObjectBindingPattern(s),void 0,m(e.factory.createStringLiteral(n))):void 0}function f(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 264:!function(t,r,n,i){if(!r.importClause)return;var a=r.importClause,o=a.name,s=a.namedBindings,c=!o||i(o),l=!s||(266===s.kind?i(s.name):0!==s.elements.length&&s.elements.every((function(e){return i(e.name)})));if(c&&l)n.delete(t,r);else if(o&&c&&n.delete(t,o),s)if(l)n.replaceNode(t,r.importClause,e.factory.updateImportClause(r.importClause,r.importClause.isTypeOnly,o,void 0));else if(267===s.kind)for(var u=0,d=s.elements;u<d.length;u++){var p=d[u];i(p.name)&&n.delete(t,p)}}(t,r,n,i);break;case 263:i(r.name)&&n.delete(t,r);break;case 251:!function(t,r,n,i){var a=r.name;switch(a.kind){case 78:i(a)&&n.delete(t,a);break;case 198:break;case 197: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 "+r.kind)}}function _(t){switch(t.kind){case 263:case 268:case 265:case 266:return!0;case 251:return h(t);case 199:return e.isVariableDeclaration(t.parent.parent)&&h(t.parent.parent);default:return!1}}function h(t){return e.isSourceFile(t.parent.parent.parent)&&!!t.initializer&&e.isRequireCall(t.initializer,!0)}function y(t,r,n){switch(t.kind){case 264: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(266===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;case 263:return n(t.name)?t:void 0;case 251:var s=function(t,r){switch(t.kind){case 78:return r(t)?t:void 0;case 198:return t;case 197: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?f(s,t.type,m(r),t.parent.flags):void 0;default:return e.Debug.assertNever(t,"Unexpected import kind "+t.kind)}}function v(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:[o.kind],getAvailableActions:function(t){var i=s(t);return t.preferences.allowTextChangesInNewFiles&&i?[{name:r,description:n,actions:[o]}]:t.preferences.provideRefactorNotApplicableReason?[{name:r,description:n,actions:[a(a({},o),{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 a=e.Debug.checkDefined(s(t));return{edits:e.textChanges.ChangeTracker.with(t,(function(r){return n=t.file,o=t.program,s=a,c=r,f=t.host,h=t.preferences,D=o.getTypeChecker(),F=function(t,r,n){var i=new b,a=new b,o=new b,s=e.find(r,(function(e){return!!(2&e.transformFlags)})),c=E(s);c&&a.add(c);for(var l=0,u=r;l<u.length;l++)S(y=u[l],(function(t){i.add(e.Debug.checkDefined(e.isExpressionStatement(t)?n.getSymbolAtLocation(t.expression.left):t.symbol,"Need a symbol here"))}));for(var d=0,p=r;d<p.length;d++)v(y=p[d],n,(function(e){if(e.declarations)for(var r=0,n=e.declarations;r<n.length;r++){var s=n[r];_(s)?a.add(e):k(s)&&x(s)===t&&!i.has(e)&&o.add(e)}}));for(var f=a.clone(),m=new b,g=0,h=t.statements;g<h.length;g++){var y=h[g];e.contains(r,y)||(c&&2&y.transformFlags&&f.delete(c),v(y,n,(function(e){i.has(e)&&m.add(e),f.delete(e)})))}return{movedSymbols:i,newFileImportsFromOldFile:o,oldFileImportsFromNewFile:m,oldImportsNeededByNewFile:a,unusedImportsFromOldFile:f};function E(t){if(void 0!==t){var r=n.getJsxNamespace(t),i=n.resolveName(r,t,1920,!0);return i&&e.some(i.declarations,_)?i:void 0}}}(n,s.all,D),O=e.getDirectoryPath(n.fileName),R=e.extensionFromPath(n.fileName),M=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=t+"."+o}}(F.movedSymbols.forEachEntry(e.symbolNameNoDefault)||"newFile",R,O,f),L=M+R,c.createNewFile(n,e.combinePaths(O,L),function(t,r,n,a,o,s,c){var f=o.getTypeChecker(),_=e.takeWhile(t.statements,e.isPrologueDirective);if(!t.externalModuleIndicator&&!t.commonJsModuleIndicator)return l(t,a.ranges,n),i(i([],_),a.all);var h=!!t.externalModuleIndicator,v=e.getQuotePreference(t,c),b=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)})),p(a,o,r,n,i)}(r.oldFileImportsFromNewFile,s,h,v);b&&e.insertImports(n,t,b,!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,a.all,n,r.unusedImportsFromOldFile,f),l(t,a.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(u(c))===n.symbol){var l=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,l);var d=e.combinePaths(e.getDirectoryPath(u(c).text),a),p=y(c,e.factory.createStringLiteral(d),l);p&&t.insertNodeAfter(r,s,p);var f=function(t){switch(t.kind){case 264:return t.importClause&&t.importClause.namedBindings&&266===t.importClause.namedBindings.kind?t.importClause.namedBindings.name:void 0;case 263:return t.name;case 251:return e.tryCast(t.name,e.isIdentifier);default:return e.Debug.assertNever(t,"Unexpected node kind "+t.kind)}}(c);f&&function(t,r,n,i,a,o,s,c){var l=e.codefix.moduleSpecifierToValidIdentifier(a,99),u=!1,d=[];if(e.FindAllReferences.Core.eachSymbolReferenceInFile(s,n,r,(function(t){e.isPropertyAccessExpression(t.parent)&&(u=u||!!n.resolveName(l,t,67108863,!0),i.has(n.getSymbolAtLocation(t.parent.name))&&d.push(t))})),d.length){for(var p=u?e.getUniqueName(l,r):l,f=0,g=d;f<g.length;f++){var _=g[f];t.replaceNode(r,_,e.factory.createIdentifier(p))}t.insertNodeAfter(r,c,function(t,r,n){var i=e.factory.createIdentifier(r),a=e.factory.createStringLiteral(n);switch(t.kind){case 264:return e.factory.createImportDeclaration(void 0,void 0,e.factory.createImportClause(!1,void 0,e.factory.createNamespaceImport(i)),a);case 263:return e.factory.createImportEqualsDeclaration(void 0,void 0,!1,i,e.factory.createExternalModuleReference(a));case 251:return e.factory.createVariableDeclaration(i,void 0,void 0,m(a));default:return e.Debug.assertNever(t,"Unexpected node kind "+t.kind)}}(c,a,o))}}(t,r,o,i,a,d,f,c)}}))},c=0,l=r.statements;c<l.length;c++)s(l[c])},c=0,l=r.getSourceFiles();c<l.length;c++)s(l[c])}(n,o,t,r.movedSymbols,s);var x=function(t,r,n,i,a,o,s){for(var c,l=[],f=0,m=t.statements;f<m.length;f++)d(m[f],(function(t){e.append(l,y(t,u(t),(function(e){return r.has(a.getSymbolAtLocation(e))})))}));var g=[],_=e.nodeSeenTracker();return n.forEach((function(r){for(var n=0,a=r.declarations;n<a.length;n++){var s=a[n];if(k(s)){var l=w(s);if(l){var u=T(s);_(u)&&C(t,u,i,o),e.hasSyntacticModifier(s,512)?c=l:g.push(l.text)}}}})),e.append(l,p(c,g,e.removeFileExtension(e.getBaseFileName(t.fileName)),o,s)),l}(t,r.oldImportsNeededByNewFile,r.newFileImportsFromOldFile,n,f,h,v),D=function(t,r,n,a){return e.flatMap(r,(function(r){if(s=r,e.Debug.assert(e.isSourceFile(s.parent),"Node parent should be a SourceFile"),(E(s)||e.isVariableStatement(s))&&!A(t,r,a)&&S(r,(function(t){return n.has(e.Debug.checkDefined(t.symbol))}))){var o=function(e,t){return t?[N(e)]:function(e){return i([e],P(e).map(I))}(e)}(r,a);if(o)return o}var s;return r}))}(t,a.all,r.oldFileImportsFromNewFile,h);return x.length&&D.length?i(i(i(i([],_),x),[4]),D):i(i(i([],_),x),D)}(n,F,c,s,o,M,h)),void 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),l=o.statements[0]&&e.tryCast(o.statements[0].expression,e.isObjectLiteralExpression),u=l&&e.find(l.properties,(function(t){return e.isPropertyAssignment(t)&&e.isStringLiteral(t.name)&&"files"===t.name.text}));u&&e.isArrayLiteralExpression(u.initializer)&&r.insertNodeInListAfter(o,e.last(u.initializer.elements),e.factory.createStringLiteral(c),u.initializer.elements)}}(o,c,n.fileName,L,e.hostGetCanonicalFileName(f));var n,o,s,c,f,h,D,F,O,R,M,L})),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 k(t){return E(t)&&e.isSourceFile(t.parent)||e.isVariableDeclaration(t)&&e.isSourceFile(t.parent.parent.parent)}function x(t){return e.isVariableDeclaration(t)?t.parent.parent.parent:t.parent}function E(e){switch(e.kind){case 253:case 254:case 259:case 258:case 257:case 256:case 263:return!0;default:return!1}}function S(t,r){switch(t.kind){case 253:case 254:case 259:case 258:case 257:case 256:case 263:return r(t);case 234:return e.firstDefined(t.declarationList.declarations,(function(e){return D(e.name,r)}));case 235:var n=t.expression;return e.isBinaryExpression(n)&&1===e.getAssignmentDeclarationKind(n)?r(t):void 0}}function D(t,r){switch(t.kind){case 78:return r(e.cast(t.parent,(function(t){return e.isVariableDeclaration(t)||e.isBindingElement(t)})));case 198:case 197:return e.firstDefined(t.elements,(function(t){return e.isOmittedExpression(t)?void 0:D(t.name,r)}));default:return e.Debug.assertNever(t,"Unexpected name kind "+t.kind)}}function w(t){return e.isExpressionStatement(t)?e.tryCast(t.expression.left.name,e.isIdentifier):e.tryCast(t.name,e.isIdentifier)}function T(t){switch(t.kind){case 251:return t.parent.parent;case 199:return T(e.cast(t.parent.parent,(function(t){return e.isVariableDeclaration(t)||e.isBindingElement(t)})));default:return t}}function C(t,r,n,i){if(!A(t,r,i))if(i)e.isExpressionStatement(r)||n.insertExportModifier(t,r);else{var a=P(r);0!==a.length&&n.insertNodesAfter(t,r,a.map(I))}}function A(t,r,n){return n?!e.isExpressionStatement(r)&&e.hasSyntacticModifier(r,1):P(r).some((function(r){return t.symbol.exports.has(e.escapeLeadingUnderscores(r))}))}function N(t){var r=e.concatenate([e.factory.createModifier(93)],t.modifiers);switch(t.kind){case 253:return e.factory.updateFunctionDeclaration(t,t.decorators,r,t.asteriskToken,t.name,t.typeParameters,t.parameters,t.type,t.body);case 254:return e.factory.updateClassDeclaration(t,t.decorators,r,t.name,t.typeParameters,t.heritageClauses,t.members);case 234:return e.factory.updateVariableStatement(t,r,t.declarationList);case 259:return e.factory.updateModuleDeclaration(t,t.decorators,r,t.name,t.body);case 258:return e.factory.updateEnumDeclaration(t,t.decorators,r,t.name,t.members);case 257:return e.factory.updateTypeAliasDeclaration(t,t.decorators,r,t.name,t.typeParameters,t.type);case 256:return e.factory.updateInterfaceDeclaration(t,t.decorators,r,t.name,t.typeParameters,t.heritageClauses,t.members);case 263:return e.factory.updateImportEqualsDeclaration(t,t.decorators,r,t.isTypeOnly,t.name,t.moduleReference);case 235:return e.Debug.fail();default:return e.Debug.assertNever(t,"Unexpected declaration kind "+t.kind)}}function P(t){switch(t.kind){case 253:case 254:return[t.name.text];case 234:return e.mapDefined(t.declarationList.declarations,(function(t){return e.isIdentifier(t.name)?t.name.text:void 0}));case 259:case 258:case 257:case 256:case 263:return e.emptyArray;case 235:return e.Debug.fail("Can't export an ExpressionStatement");default:return e.Debug.assertNever(t,"Unexpected decl kind "+t.kind)}}function I(t){return e.factory.createExpressionStatement(e.factory.createBinaryExpression(e.factory.createPropertyAccessExpression(e.factory.createIdentifier("exports"),e.factory.createIdentifier(t)),62,e.factory.createIdentifier(t)))}}(e.refactor||(e.refactor={}))}(d||(d={})),function(e){!function(t){!function(){var r="Add or remove braces in an arrow function",n=e.Diagnostics.Add_or_remove_braces_in_an_arrow_function.message,i={name:"Add braces to arrow function",description:e.Diagnostics.Add_braces_to_arrow_function.message,kind:"refactor.rewrite.arrow.braces.add"},o={name:"Remove braces from arrow function",description:e.Diagnostics.Remove_braces_from_arrow_function.message,kind:"refactor.rewrite.arrow.braces.remove"};function s(r,n,a,s){void 0===a&&(a=!0);var c=e.getTokenAtPosition(r,n),l=e.getContainingFunction(c);if(!l)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_find_a_containing_arrow_function)};if(!e.isArrowFunction(l))return{error:e.getLocaleSpecificMessage(e.Diagnostics.Containing_function_is_not_an_arrow_function)};if(e.rangeContainsRange(l,c)&&(!e.rangeContainsRange(l.body,c)||a)){if(t.refactorKindBeginsWith(i.kind,s)&&e.isExpression(l.body))return{func:l,addBraces:!0,expression:l.body};if(t.refactorKindBeginsWith(o.kind,s)&&e.isBlock(l.body)&&1===l.body.statements.length){var u=e.first(l.body.statements);if(e.isReturnStatement(u))return{func:l,addBraces:!1,expression:u.expression,returnStatement:u}}}}t.registerRefactor(r,{kinds:[o.kind],getEditsForAction:function(r,n){var a=r.file,c=r.startPosition,l=s(a,c);e.Debug.assert(l&&!t.isRefactorErrorInfo(l),"Expected applicable refactor info");var u,d=l.expression,p=l.returnStatement,f=l.func;if(n===i.name){var m=e.factory.createReturnStatement(d);u=e.factory.createBlock([m],!0),e.suppressLeadingAndTrailingTrivia(u),e.copyLeadingComments(d,m,a,3,!0)}else if(n===o.name&&p){var g=d||e.factory.createVoidZero();u=e.needsParentheses(g)?e.factory.createParenthesizedExpression(g):g,e.suppressLeadingAndTrailingTrivia(u),e.copyTrailingAsLeadingComments(p,u,a,3,!1),e.copyLeadingComments(p,u,a,3,!1),e.copyTrailingComments(p,u,a,3,!1)}else e.Debug.fail("invalid action");var _=e.textChanges.ChangeTracker.with(r,(function(e){e.replaceNode(a,f.body,u)}));return{renameFilename:void 0,renameLocation:void 0,edits:_}},getAvailableActions:function(c){var l=c.file,u=c.startPosition,d=c.triggerReason,p=s(l,u,"invoked"===d);if(!p)return e.emptyArray;if(!t.isRefactorErrorInfo(p))return[{name:r,description:n,actions:[p.addBraces?i:o]}];if(c.preferences.provideRefactorNotApplicableReason)return[{name:r,description:n,actions:[a(a({},i),{notApplicableReason:p.error}),a(a({},o),{notApplicableReason:p.error})]}];return e.emptyArray}})}(t.addOrRemoveBracesToArrowFunction||(t.addOrRemoveBracesToArrowFunction={}))}(e.refactor||(e.refactor={}))}(d||(d={})),function(e){!function(t){!function(){var r="Convert parameters to destructured object",n=2,a=e.getLocaleSpecificMessage(e.Diagnostics.Convert_parameters_to_destructured_object),o={name:r,description:a,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;return e.isImportSpecifier(r.parent)||e.isImportClause(r.parent)||e.isImportEqualsDeclaration(r.parent)||e.isNamespaceImport(r.parent)||e.isExportSpecifier(r.parent)||e.isExportAssignment(r.parent)?r:void 0}function l(t){if(e.isDeclaration(t.node.parent))return t.node}function u(t){if(t.node.parent){var r=t.node,n=r.parent;switch(n.kind){case 204:case 205:var i=e.tryCast(n,e.isCallOrNewExpression);if(i&&i.expression===r)return i;break;case 202: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 203: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 d(t){if(t.node.parent){var r=t.node,n=r.parent;switch(n.kind){case 202:var i=e.tryCast(n,e.isPropertyAccessExpression);if(i&&i.expression===r)return i;break;case 203:var a=e.tryCast(n,e.isElementAccessExpression);if(a&&a.expression===r)return a}}}function p(t){var r=t.node;if(2===e.getMeaningFromLocation(r)||e.isExpressionWithTypeArgumentsInClassExtendsClause(r.parent))return r}function f(t,r,i){var a=e.getTouchingToken(t,r),o=e.getContainingFunctionDeclaration(a);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}(a))return!(o&&function(t,r){if(!function(t,r){return function(e){if(y(e))return e.length-1;return e.length}(t)>=n&&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 253:return _(t)&&g(t,r);case 166:if(e.isObjectLiteralExpression(t.parent)){var i=s(t.name,r);return 1===(null==i?void 0:i.declarations.length)&&g(t,r)}return g(t,r);case 167:return e.isClassDeclaration(t.parent)?_(t.parent)&&g(t,r):h(t.parent.parent)&&g(t,r);case 209:case 210:return h(t.parent)}return!1}(o,i)&&e.rangeContainsRange(o,a))||o.body&&e.rangeContainsRange(o.body,a)?void 0:o}function m(t){return e.isMethodSignature(t)&&(e.isInterfaceDeclaration(t.parent)||e.isTypeLiteralNode(t.parent))}function g(e,t){return!!e.body&&!t.isImplementationOfOverload(e)}function _(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 b(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,a,o=x(n[r]),s=(i=o,a=t,e.isIdentifier(a)&&e.getTextOfIdentifierOrLiteral(a)===i?e.factory.createShorthandPropertyAssignment(i):e.factory.createPropertyAssignment(i,a));return e.suppressLeadingAndTrailingTrivia(s.name),e.isPropertyAssignment(s)&&e.suppressLeadingAndTrailingTrivia(s.initializer),e.copyComments(t,s),s}));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 k(t,r,n){var i,a,o,s=r.getTypeChecker(),c=v(t.parameters),l=e.map(c,(function(t){var r=e.factory.createBindingElement(void 0,void 0,x(t),e.isRestParameter(t)&&_(t)?e.factory.createArrayLiteralExpression():t.initializer);e.suppressLeadingAndTrailingTrivia(r),t.initializer&&r.initializer&&e.copyComments(t.initializer,r.initializer);return r})),u=e.factory.createObjectBindingPattern(l),d=(i=c,a=e.map(i,g),e.addEmitFlags(e.factory.createTypeLiteralNode(a),1));e.every(c,_)&&(o=e.factory.createObjectLiteralExpression());var p=e.factory.createParameterDeclaration(void 0,void 0,void 0,u,void 0,d,o);if(y(t.parameters)){var f=t.parameters[0],m=e.factory.createParameterDeclaration(void 0,void 0,void 0,f.name,void 0,f.type);return e.suppressLeadingAndTrailingTrivia(m.name),e.copyComments(f.name,m.name),f.type&&(e.suppressLeadingAndTrailingTrivia(m.type),e.copyComments(f.type,m.type)),e.factory.createNodeArray([m,p])}return e.factory.createNodeArray([p]);function g(t){var i,a,o=t.type;o||!t.initializer&&!e.isRestParameter(t)||(i=t,a=s.getTypeAtLocation(i),o=e.getTypeNodeIfAccessible(a,i,r,n));var c=e.factory.createPropertySignature(void 0,x(t),_(t)?e.factory.createToken(57):t.questionToken,o);return e.suppressLeadingAndTrailingTrivia(c),e.copyComments(t.name,c.name),t.type&&c.type&&e.copyComments(t.type,c.type),c}function _(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(r,{kinds:[o.kind],getEditsForAction:function(t,n){e.Debug.assert(n===r,"Unexpected action name");var a=t.file,o=t.startPosition,g=t.program,_=t.cancellationToken,h=t.host,y=f(a,o,g.getTypeChecker());if(!y||!_)return;var v=function(t,r,n){var a=function(t){switch(t.kind){case 253:return t.name?[t.name]:[e.Debug.checkDefined(e.findModifier(t,88),"Nameless function declaration should be a default export")];case 166:return[t.name];case 167:var r=e.Debug.checkDefined(e.findChildOfKind(t,133,t.getSourceFile()),"Constructor declaration should have constructor keyword");return 223===t.parent.kind?[t.parent.parent.name,r]:[r];case 210:return[t.parent.name];case 209:return t.name?[t.name,t.parent.name]:[t.parent.name];default:return e.Debug.assertNever(t,"Unexpected function declaration kind "+t.kind)}}(t),o=e.isConstructorDeclaration(t)?function(t){switch(t.parent.kind){case 254: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 223:var n=t.parent,i=t.parent.parent,a=n.name;return a?[a,i.name]:[i.name]}}(t):[],f=e.deduplicate(i(i([],a),o),e.equateValues),g=r.getTypeChecker(),_=e.flatMap(f,(function(t){return e.FindAllReferences.getReferenceEntriesForNode(-1,t,r,r.getSourceFiles(),n)})),h=y(_);e.every(h.declarations,(function(t){return e.contains(f,t)}))||(h.valid=!1);return h;function y(r){for(var n={accessExpressions:[],typeUsages:[]},i={functionCalls:[],declarations:[],classReferences:n,valid:!0},f=e.map(a,v),_=e.map(o,v),h=e.isConstructorDeclaration(t),y=e.map(a,(function(e){return s(e,g)})),b=0,k=r;b<k.length;b++){var x=k[b];if(0!==x.kind){if(e.contains(y,v(x.node))){if(m(x.node.parent)){i.signature=x.node.parent;continue}if(S=u(x)){i.functionCalls.push(S);continue}}var E=s(x.node,g);if(E&&e.contains(y,E))if(D=l(x)){i.declarations.push(D);continue}if(e.contains(f,v(x.node))||e.isNewExpressionTarget(x.node)){var S;if(c(x))continue;if(D=l(x)){i.declarations.push(D);continue}if(S=u(x)){i.functionCalls.push(S);continue}}if(h&&e.contains(_,v(x.node))){var D;if(c(x))continue;if(D=l(x)){i.declarations.push(D);continue}var w=d(x);if(w){n.accessExpressions.push(w);continue}if(e.isClassDeclaration(t.parent)){var T=p(x);if(T){n.typeUsages.push(T);continue}}}i.valid=!1}else i.valid=!1}return i}function v(t){var r=g.getSymbolAtLocation(t);return r&&e.getSymbolTarget(r,g)}}(y,g,_);if(v.valid){var x=e.textChanges.ChangeTracker.with(t,(function(t){return function(t,r,n,i,a,o){var s=o.signature,c=e.map(k(a,r,n),(function(t){return e.getSynthesizedDeepClone(t)}));if(s){m(s,e.map(k(s,r,n),(function(t){return e.getSynthesizedDeepClone(t)})))}m(a,c);for(var l=e.sortAndDeduplicate(o.functionCalls,(function(t,r){return e.compareValues(t.pos,r.pos)})),u=0,d=l;u<d.length;u++){var p=d[u];if(p.arguments&&p.arguments.length){var f=e.getSynthesizedDeepClone(b(a,p.arguments),!0);i.replaceNodeRange(e.getSourceFileOfNode(p),e.first(p.arguments),e.last(p.arguments),f,{leadingTriviaOption:e.textChanges.LeadingTriviaOption.IncludeAll,trailingTriviaOption:e.textChanges.TrailingTriviaOption.Include})}}function m(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})}}(a,g,h,t,y,v)}));return{renameFilename:void 0,renameLocation:void 0,edits:x}}return{edits:[]}},getAvailableActions:function(t){var n=t.file,i=t.startPosition;return e.isSourceFileJS(n)?e.emptyArray:f(n,i,t.program.getTypeChecker())?[{name:r,description:a,actions:[o]}]:e.emptyArray}})}(t.convertParamsToDestructuredObject||(t.convertParamsToDestructuredObject={}))}(e.refactor||(e.refactor={}))}(d||(d={})),function(e){!function(t){!function(){var r="Convert to template string",n=e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_template_string),i={name:r,description:n,kind:"refactor.rewrite.string"};function o(t,r){var n=e.getTokenAtPosition(t,r),i=c(n);return!l(i)&&e.isParenthesizedExpression(i.parent)&&e.isBinaryExpression(i.parent.parent)?i.parent.parent:n}function s(t,r){var n=c(r),i=t.file,a=function(t,r){var n=t.nodes,i=t.operators,a=d(i,r),o=p(n,r,a),s=f(0,n),c=s[0],l=s[1],u=s[2];if(c===n.length){var g=e.factory.createNoSubstitutionTemplateLiteral(l);return o(u,g),g}var _=[],h=e.factory.createTemplateHead(l);o(u,h);for(var y,v=function(t){var r=function(t){e.isParenthesizedExpression(t)&&(m(t),t=t.expression);return t}(n[t]);a(t,r);var i=f(t+1,n),s=i[0],c=i[1],l=i[2],u=(t=s-1)===n.length-1;if(e.isTemplateExpression(r)){var d=e.map(r.templateSpans,(function(t,n){m(t);var i=r.templateSpans[n+1],a=t.literal.text+(i?"":c);return e.factory.createTemplateSpan(t.expression,u?e.factory.createTemplateTail(a):e.factory.createTemplateMiddle(a))}));_.push.apply(_,d)}else{var p=u?e.factory.createTemplateTail(c):e.factory.createTemplateMiddle(c);o(l,p),_.push(e.factory.createTemplateSpan(r,p))}y=t},b=c;b<n.length;b++)v(b),b=y;return e.factory.createTemplateExpression(h,_)}(u(n),i),o=e.getTrailingCommentRanges(i.text,n.end);if(o){var s=o[o.length-1],l={pos:o[0].pos,end:s.end};return e.textChanges.ChangeTracker.with(t,(function(e){e.deleteRange(i,l),e.replaceNode(i,n,a)}))}return e.textChanges.ChangeTracker.with(t,(function(e){return e.replaceNode(i,n,a)}))}function c(t){return e.findAncestor(t.parent,(function(t){switch(t.kind){case 202:case 203:return!1;case 220:case 218:return!(e.isBinaryExpression(t.parent)&&(r=t.parent,62!==r.operatorToken.kind));default:return"quit"}var r}))||t}function l(e){var t=u(e),r=t.containsString,n=t.areOperatorsValid;return r&&n}function u(t){if(e.isBinaryExpression(t)){var r=u(t.left),n=r.nodes,i=r.operators,a=r.containsString,o=r.areOperatorsValid;if(!a&&!e.isStringLiteral(t.right)&&!e.isTemplateExpression(t.right))return{nodes:[t],operators:[],containsString:!1,areOperatorsValid:!0};var s=39===t.operatorToken.kind,c=o&&s;return n.push(t.right),i.push(t.operatorToken),{nodes:n,operators:i,containsString:!0,areOperatorsValid:c}}return{nodes:[t],operators:[],containsString:e.isStringLiteral(t),areOperatorsValid:!0}}t.registerRefactor(r,{kinds:[i.kind],getEditsForAction:function(t,r){var i=t.file,a=t.startPosition,c=o(i,a);if(r===n)return{edits:s(t,c)};return e.Debug.fail("invalid action")},getAvailableActions:function(t){var s=t.file,u=t.startPosition,d=c(o(s,u)),p={name:r,description:n,actions:[]};if(e.isBinaryExpression(d)&&l(d))return p.actions.push(i),[p];if(t.preferences.provideRefactorNotApplicableReason)return p.actions.push(a(a({},i),{notApplicableReason:e.getLocaleSpecificMessage(e.Diagnostics.Can_only_convert_string_concatenation)})),[p];return e.emptyArray}});var d=function(t,r){return function(n,i){n<t.length&&e.copyTrailingComments(t[n],i,r,3,!1)}},p=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)}}};function f(t,r){for(var n=[],i="";t<r.length;){var a=r[t];if(!e.isStringLiteralLike(a)){if(e.isTemplateExpression(a)){i+=a.head.text;break}break}i+=a.text,n.push(t),t++}return[t,i,n]}function m(t){var r=t.getSourceFile();e.copyTrailingComments(t,t.expression,r,3,!1),e.copyTrailingAsLeadingComments(t.expression,t.expression,r,3,!1)}}(t.convertStringOrTemplateLiteral||(t.convertStringOrTemplateLiteral={}))}(e.refactor||(e.refactor={}))}(d||(d={})),function(e){!function(t){!function(){var r="Convert arrow function or function expression",n=e.getLocaleSpecificMessage(e.Diagnostics.Convert_arrow_function_or_function_expression),i={name:"Convert to anonymous function",description:e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_anonymous_function),kind:"refactor.rewrite.function.anonymous"},o={name:"Convert to named function",description:e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_named_function),kind:"refactor.rewrite.function.named"},s={name:"Convert to arrow function",description:e.getLocaleSpecificMessage(e.Diagnostics.Convert_to_arrow_function),kind:"refactor.rewrite.function.arrow"};function c(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))return;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;return}(t,a,i.parent);if(o&&!c(o.body))return{selectedVariableDeclaration:!0,func:o};var s=e.getContainingFunction(i);if(s&&(e.isFunctionExpression(s)||e.isArrowFunction(s))&&!e.rangeContainsRange(s.body,i)&&!c(s.body)){if(e.isFunctionExpression(s)&&d(t,a,s))return;return{selectedVariableDeclaration:!1,func:s}}}function u(t){return e.isExpression(t)?e.factory.createBlock([e.factory.createReturnStatement(t)],!0):t}function d(t,r,n){return!!n.name&&e.FindAllReferences.Core.isSymbolReferencedInFile(n.name,r,t)}t.registerRefactor(r,{kinds:[i.kind,o.kind,s.kind],getEditsForAction:function(t,r){var n=t.file,a=t.startPosition,c=t.program,d=l(n,a,c);if(!d)return;var p=d.func,f=[];switch(r){case i.name:f.push.apply(f,function(t,r){var n=t.file,i=u(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,p));break;case o.name:var m=function(t){var r=t.parent;if(!e.isVariableDeclaration(r)||!e.isVariableDeclarationInVariableStatement(r))return;var n=r.parent,i=n.parent;return e.isVariableDeclarationList(n)&&e.isVariableStatement(i)&&e.isIdentifier(r.name)?{variableDeclaration:r,variableDeclarationList:n,statement:i,name:r.name}:void 0}(p);if(!m)return;f.push.apply(f,function(t,r,n){var i=t.file,a=u(r.body),o=n.variableDeclaration,s=n.variableDeclarationList,c=n.statement,l=n.name;e.suppressLeadingTrivia(c);var d=e.factory.createFunctionDeclaration(r.decorators,c.modifiers,r.asteriskToken,l,r.typeParameters,r.parameters,r.type,a);return 1===s.declarations.length?e.textChanges.ChangeTracker.with(t,(function(e){return e.replaceNode(i,c,d)})):e.textChanges.ChangeTracker.with(t,(function(e){e.delete(i,o),e.insertNodeAfter(i,c,d)}))}(t,p,m));break;case s.name:if(!e.isFunctionExpression(p))return;f.push.apply(f,function(t,r){var n,i=t.file,a=r.body.statements,o=a[0];!function(t,r){return 1===t.statements.length&&e.isReturnStatement(r)&&!!r.expression}(r.body,o)?n=r.body:(n=o.expression,e.suppressLeadingAndTrailingTrivia(n),e.copyComments(o,n));var s=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,s)}))}(t,p));break;default:return e.Debug.fail("invalid action")}return{renameFilename:void 0,renameLocation:void 0,edits:f}},getAvailableActions:function(c){var u=c.file,d=c.startPosition,p=c.program,f=c.kind,m=l(u,d,p);if(!m)return e.emptyArray;var g=m.selectedVariableDeclaration,_=m.func,h=[],y=[];if(t.refactorKindBeginsWith(o.kind,f)){(v=g||e.isArrowFunction(_)&&e.isVariableDeclaration(_.parent)?void 0:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_convert_to_named_function))?y.push(a(a({},o),{notApplicableReason:v})):h.push(o)}if(t.refactorKindBeginsWith(i.kind,f)){(v=!g&&e.isArrowFunction(_)?void 0:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_convert_to_anonymous_function))?y.push(a(a({},i),{notApplicableReason:v})):h.push(i)}if(t.refactorKindBeginsWith(s.kind,f)){var v;(v=e.isFunctionExpression(_)?void 0:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_convert_to_arrow_function))?y.push(a(a({},s),{notApplicableReason:v})):h.push(s)}return[{name:r,description:n,actions:0===h.length&&c.preferences.provideRefactorNotApplicableReason?y:h}]}})}(t.convertArrowFunctionOrFunctionExpression||(t.convertArrowFunctionOrFunctionExpression={}))}(e.refactor||(e.refactor={}))}(d||(d={})),function(e){!function(t){!function(){var r="Infer function return type",n=e.Diagnostics.Infer_function_return_type.message,i={name:r,description:n,kind:"refactor.rewrite.function.returnType"};function o(r){if(!e.isInJSFile(r.file)&&t.refactorKindBeginsWith(i.kind,r.kind)){var n=e.getTokenAtPosition(r.file,r.startPosition),a=e.findAncestor(n,s);if(!a||!a.body||a.type)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Return_type_must_be_inferred_from_a_function)};var o=r.program.getTypeChecker(),c=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,a);if(!c)return{error:e.getLocaleSpecificMessage(e.Diagnostics.Could_not_determine_function_return_type)};var l=o.typeToTypeNode(c,a,1);return l?{declaration:a,returnTypeNode:l}:void 0}}function s(e){switch(e.kind){case 253:case 209:case 210:case 166:return!0;default:return!1}}t.registerRefactor(r,{kinds:[i.kind],getEditsForAction:function(r){var n=o(r);if(n&&!t.isRefactorErrorInfo(n)){return{renameFilename:void 0,renameLocation:void 0,edits:e.textChanges.ChangeTracker.with(r,(function(e){return e.tryInsertTypeAnnotation(r.file,n.declaration,n.returnTypeNode)}))}}return},getAvailableActions:function(s){var c=o(s);if(!c)return e.emptyArray;if(!t.isRefactorErrorInfo(c))return[{name:r,description:n,actions:[i]}];if(s.preferences.provideRefactorNotApplicableReason)return[{name:r,description:n,actions:[a(a({},i),{notApplicableReason:c.error})]}];return e.emptyArray}})}(t.inferFunctionReturnType||(t.inferFunctionReturnType={}))}(e.refactor||(e.refactor={}))}(d||(d={})),function(e){function t(t,n,i,a){var o=e.isNodeKind(t)?new r(t,n,i):78===t?new u(78,n,i):79===t?new d(79,n,i):new c(t,n,i);return o.parent=a,o.flags=1099100160&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;var o=i?i.fileName:r.getSourceFile().fileName;o&&8===e.getScriptKindFromFileName(o)&&e.scanner.setEtsContext(!0);e.scanner.setText((i||r.getSourceFile()).text);var s=r.pos,c=function(e){n(a,s,e.pos,r),a.push(e),s=e.end},l=function(e){n(a,s,e.pos,r),a.push(function(e,r){var i=t(337,e.pos,e.end,r);i._children=[];for(var a=e.pos,o=0,s=e;o<s.length;o++){var c=s[o];c.virtual||(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)),s=e.end};return e.forEach(r.jsDoc,c),s=r.pos,r.forEachChild(c,l),n(a,s,r.end,r),e.scanner.setText(void 0),e.scanner.setEtsContext(!1),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<304||e.kind>336}));return n.kind<158?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<158?n:n.getLastToken(t)},r.prototype.forEachChild=function(t,r){return e.forEachChild(this,t,r)},r}();function n(r,n,i,a){if(!a.virtual)for(e.scanner.setTextPos(n);n<i;){var o=e.scanner.scan(),s=e.scanner.getTextPos();if(s<=i&&(78===o&&e.Debug.fail("Did not expect "+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 o=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 0},t.prototype.getChildAt=function(){},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 168:return this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=e.emptyArray,this.contextualGetAccessorDocumentationComment=g(e.filter(this.declarations,e.isGetAccessor),r)),this.contextualGetAccessorDocumentationComment;case 169:return this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=e.emptyArray,this.contextualSetAccessorDocumentationComment=g(e.filter(this.declarations,e.isSetAccessor),r)),this.contextualSetAccessorDocumentationComment;default:return this.getDocumentationComment(r)}},t.prototype.getJsDocTags=function(){return void 0===this.tags&&(this.tags=e.JsDoc.getJsDocTagsFromDeclarations(this.declarations)),this.tags},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}(o),u=function(t){function r(e,r,n){var i=t.call(this,r,n)||this;return i.kind=78,i}return l(r,t),Object.defineProperty(r.prototype,"text",{get:function(){return e.idText(this)},enumerable:!1,configurable:!0}),r}(o);u.prototype.kind=78;var d=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}(o);d.prototype.kind=79;var p=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))},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.getDocumentationComment=function(){return this.documentationComment||(this.documentationComment=g(e.singleElementArray(this.declaration),this.checker))},t.prototype.getJsDocTags=function(){return void 0===this.jsDocTags&&(this.jsDocTags=this.declaration?function(t,r){var n=e.JsDoc.getJsDocTagsFromDeclarations(t);(0===n.length||t.some(m))&&e.forEachUnique(t,(function(e){var t=_(r,e,(function(e){return e.getJsDocTags()}));t&&(n=i(i([],t),n))}));return n}([this.declaration],this.checker):[]),this.jsDocTags},t}();function m(t){return e.getJSDocTags(t).some((function(e){return"inheritDoc"===e.tagName.text}))}function g(t,r){if(!t)return e.emptyArray;var n=e.JsDoc.getJsDocCommentsFromDeclarations(t);return r&&(0===n.length||t.some(m))&&e.forEachUnique(t,(function(t){var i=_(r,t,(function(e){return e.getDocumentationComment(r)}));i&&(n=0===n.length?i.slice():i.concat(e.lineBreakPart(),n))})),n}function _(t,r,n){return e.firstDefined(r.parent?e.getAllSuperTypeNodes(r.parent):e.emptyArray,(function(e){var i=t.getPropertyOfType(t.getTypeAtLocation(e),r.symbol.name);return i?n(i):void 0}))}var h=function(t){function r(e,r,n){var i=t.call(this,e,r,n)||this;return i.kind=300,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 253:case 209:case 166:case 165:var o=a,s=n(o);if(s){var c=function(e){var r=t.get(e);r||t.set(e,r=[]);return r}(s),l=e.lastOrUndefined(c);l&&o.parent===l.parent&&o.symbol===l.symbol?o.body&&!l.body&&(c[c.length-1]=o):c.push(o)}e.forEachChild(a,i);break;case 254:case 223:case 255:case 256:case 257:case 258:case 259:case 263:case 273:case 268:case 265:case 266:case 168:case 169:case 178:r(a),e.forEachChild(a,i);break;case 161:if(!e.hasSyntacticModifier(a,92))break;case 251:case 199:var u=a;if(e.isBindingPattern(u.name)){e.forEachChild(u.name,i);break}u.initializer&&i(u.initializer);case 294:case 164:case 163:r(a);break;case 270:var d=a;d.exportClause&&(e.isNamedExports(d.exportClause)?e.forEach(d.exportClause.elements,i):i(d.exportClause.name));break;case 264:var p=a.importClause;p&&(p.name&&r(p.name),p.namedBindings&&(266===p.namedBindings.kind?r(p.namedBindings):e.forEach(p.namedBindings.elements,i)));break;case 218: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),y=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 v(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){if(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 k(){return{target:1,jsx:1}}e.toEditorSettings=v,e.displayPartsToString=function(t){return t?e.map(t,(function(e){return e.text})).join(""):""},e.getDefaultCompilerOptions=k,e.getSupportedCodeFixes=function(){return e.codefix.getSupportedErrorCodes()};var x=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))}this._compilationSettings=t.getCompilationSettings()||{target:1,jsx:1}}return t.prototype.compilationSettings=function(){return this._compilationSettings},t.prototype.getProjectReferences=function(){return this.host.getProjectReferences&&this.host.getProjectReferences()},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}(),E=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=D(t,r,99,a,!0,i,this.host.getCompilationSettings());else if(this.currentFileVersion!==a){var o=r.getChangeRange(this.currentFileScriptSnapshot);n=w(this.currentSourceFile,r,a,o,void 0,this.host.getCompilationSettings())}return n&&(this.currentFileVersion=a,this.currentFileName=t,this.currentFileScriptSnapshot=r,this.currentSourceFile=n),this.currentSourceFile},t}();function S(e,t,r){e.version=r,e.scriptSnapshot=t}function D(t,r,n,i,a,o,s){var c=e.createSourceFile(t,e.getSnapshotText(r),n,a,o,s);return S(c,r,i),c}function w(t,r,n,i,a,o){if(i&&n!==t.version){var s=void 0,c=0!==i.span.start?t.text.substr(0,i.span.start):"",l=e.textSpanEnd(i.span)!==t.text.length?t.text.substr(e.textSpanEnd(i.span)):"";if(0===i.newLength)s=c&&l?c+l:c||l;else{var u=r.getText(i.span.start,i.span.start+i.newLength);s=c&&l?c+u+l:c?c+u:u+l}var d=e.updateSourceFile(t,s,i,a,o);return S(d,r,n),d.nameTable=void 0,t!==d&&t.scriptSnapshot&&(t.scriptSnapshot.dispose&&t.scriptSnapshot.dispose(),t.scriptSnapshot=void 0),d}return D(t.fileName,r,t.languageVersion,n,!0,t.scriptKind,o)}e.createLanguageServiceSourceFile=D,e.updateLanguageServiceSourceFile=w;var T={isCancellationRequested:e.returnFalse,throwIfCancellationRequested:e.noop},C=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}(),A=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=A;var N=["getSyntacticDiagnostics","getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls"],P=i(i([],N),["getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getOccurrencesAtPosition","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"]);function I(t){var r=function(t){switch(t.kind){case 10:case 14:case 8:if(159===t.parent.kind)return e.isObjectLiteralElement(t.parent.parent)?t.parent.parent:void 0;case 78:return!e.isObjectLiteralElement(t.parent)||201!==t.parent.parent.kind&&284!==t.parent.parent.kind||t.parent.name!==t?void 0:t.parent}return}(t);return r&&(e.isObjectLiteralExpression(r.parent)||e.isJsxAttributes(r.parent))?r:void 0}function F(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)}));if(i&&(0===s.length||s.length===n.types.length)&&(o=n.getProperty(a)))return[o];return 0===s.length?e.mapDefined(n.types,(function(e){return e.getProperty(a)})):s}e.createLanguageService=function(t,r,n){var o,s;void 0===r&&(r=e.createDocumentRegistry(t.useCaseSensitiveFileNames&&t.useCaseSensitiveFileNames(),t.getCurrentDirectory())),s=void 0===n?e.LanguageServiceMode.Semantic:"boolean"==typeof n?n?e.LanguageServiceMode.Syntactic:e.LanguageServiceMode.Semantic:n;var c,l,u=new E(t),d=0,p=t.getCancellationToken?new C(t.getCancellationToken()):T,f=t.getCurrentDirectory();function m(e){t.log&&t.log(e)}!e.localizedDiagnosticMessages&&t.getLocalizedDiagnosticMessages&&e.setLocalizedDiagnosticMessages(t.getLocalizedDiagnosticMessages());var g=e.hostUsesCaseSensitiveFileNames(t),_=e.createGetCanonicalFileName(g),h=e.getSourceMapper({useCaseSensitiveFileNames:function(){return g},getCurrentDirectory:function(){return f},getProgram:k,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 y(e){var t=c.getSourceFile(e);if(!t){var r=new Error("Could not find source file: '"+e+"'.");throw r.ProgramFiles=c.getSourceFiles().map((function(e){return e.fileName})),r}return t}function b(){var n,i;if(e.Debug.assert(s!==e.LanguageServiceMode.Syntactic),t.getProjectVersion){var a=t.getProjectVersion();if(a){if(l===a&&!(null===(n=t.hasChangedAutomaticTypeDirectiveNames)||void 0===n?void 0:n.call(t)))return;l=a}}var o=t.getTypeRootsVersion?t.getTypeRootsVersion():0;d!==o&&(m("TypeRoots version has changed; provide new program"),c=void 0,d=o);var u=new x(t,_),y=u.getRootFileNames(),v=t.hasInvalidatedResolution||e.returnFalse,b=e.maybeBind(t,t.hasChangedAutomaticTypeDirectiveNames),k=u.getProjectReferences();if(!e.isProgramUptoDate(c,y,u.compilationSettings(),(function(e,r){return t.getScriptVersion(r)}),T,v,b,k)){var E=u.compilationSettings(),S={getSourceFile:function(t,r,n,i){return C(t,e.toPath(t,f,_),r,n,i)},getSourceFileByPath:C,getCancellationToken:function(){return p},getCanonicalFileName:_,useCaseSensitiveFileNames:function(){return g},getNewLine:function(){return e.getNewLineCharacter(E,(function(){return e.getNewLineOrDefaultFromHost(t)}))},getDefaultLibFileName:function(e){return t.getDefaultLibFileName(e)},writeFile:e.noop,getCurrentDirectory:function(){return f},fileExists:T,readFile:function(r){var n=e.toPath(r,f,_),i=u&&u.getEntryByPath(n);if(i)return e.isString(i)?void 0:e.getSnapshotText(i.scriptSnapshot);return t.readFile&&t.readFile(r)},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:function(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)},onReleaseOldSourceFile:function(e,t){var n=r.getKeyForCompilationSettings(t);r.releaseDocumentWithKey(e.resolvedPath,n)},hasInvalidatedResolution:v,hasChangedAutomaticTypeDirectiveNames:b,trace:e.maybeBind(t,t.trace),resolveModuleNames:e.maybeBind(t,t.resolveModuleNames),resolveTypeReferenceDirectives:e.maybeBind(t,t.resolveTypeReferenceDirectives),useSourceOfProjectReferenceRedirect:e.maybeBind(t,t.useSourceOfProjectReferenceRedirect),getTagNameNeededCheckByFile:e.maybeBind(t,t.getTagNameNeededCheckByFile),getExpressionCheckedResultsByFile:e.maybeBind(t,t.getExpressionCheckedResultsByFile)};null===(i=t.setCompilerHost)||void 0===i||i.call(t,S);var D=r.getKeyForCompilationSettings(E),w={rootNames:y,options:E,host:S,oldProgram:c,projectReferences:k};return c=e.createProgram(w),u=void 0,h.clearCache(),void c.getTypeChecker()}function T(r){var n=e.toPath(r,f,_),i=u&&u.getEntryByPath(n);return i?!e.isString(i):!!t.fileExists&&t.fileExists(r)}function C(t,n,i,a,o){e.Debug.assert(void 0!==u,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");var s=u&&u.getOrCreateEntryByPath(t,n);if(s){if(!o){var l=c&&c.getSourceFileByPath(n);if(l)return e.Debug.assertEqual(s.scriptKind,l.scriptKind,"Registered script kind should match new script kind."),r.updateDocumentWithKey(t,n,E,D,s.scriptSnapshot,s.version,s.scriptKind)}return r.acquireDocumentWithKey(t,n,E,D,s.scriptSnapshot,s.version,s.scriptKind)}}}function k(){if(s!==e.LanguageServiceMode.Syntactic)return b(),c;e.Debug.assert(void 0===c)}function S(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 c.getSourceFile(e)})),o=y(t);return e.DocumentHighlights.getDocumentHighlights(c,p,o,r,a)}function D(t,r,n,i){b();var a=n&&2===n.use?c.getSourceFiles().filter((function(e){return!c.isSourceFileDefaultLibrary(e)})):c.getSourceFiles();return e.FindAllReferences.findReferenceOrRenameEntries(c,p,a,t,r,n,i)}function w(r){var n=e.getScriptKind(r,t);return 3===n||4===n}var A=new e.Map(e.getEntries(((o={})[18]=19,o[20]=21,o[22]=23,o[31]=29,o)));function O(r){var n;return e.Debug.assertEqual(r.type,"install package"),t.installPackage?t.installPackage({fileName:(n=r.file,e.toPath(n,f,_)),packageName:r.packageName}):Promise.reject("Host does not implement `installPackage`")}function R(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=u.getCurrentSourceFile(t),a=[],o=R(i,r),s=o.lineStarts,c=o.firstLine,l=o.lastLine,d=n||!1,p=Number.MAX_VALUE,f=new e.Map,m=new RegExp(/\S/),g=e.isInsideJsxElement(i,s[c]),_=g?"{/*":"//",h=c;h<=l;h++){var y=i.text.substring(s[h],i.getLineEndOfPosition(s[h])),v=m.exec(y);v&&(p=Math.min(p,v.index),f.set(h.toString(),v.index),y.substr(v.index,_.length)!==_&&(d=void 0===n||n))}for(h=c;h<=l;h++)if(c===l||s[h]!==r.end){var b=f.get(h.toString());void 0!==b&&(g?a.push.apply(a,L(t,{pos:s[h]+p,end:i.getLineEndOfPosition(s[h])},d,g)):d?a.push({newText:_,span:{length:0,start:s[h]+p}}):i.text.substr(s[h]+b,_.length)===_&&a.push({newText:"",span:{length:_.length,start:s[h]+b}}))}return a}function L(t,r,n,i){for(var a,o=u.getCurrentSourceFile(t),s=[],c=o.text,l=!1,d=n||!1,p=[],f=r.pos,m=void 0!==i?i:e.isInsideJsxElement(o,f),g=m?"{/*":"/*",_=m?"*/}":"*/",h=m?"\\{\\/\\*":"\\/\\*",y=m?"\\*\\/\\}":"\\*\\/";f<=r.end;){var v=c.substr(f,g.length)===g?g.length:0,b=e.isInComment(o,f+v);if(b)m&&(b.pos--,b.end++),p.push(b.pos),3===b.kind&&p.push(b.end),l=!0,f=b.end+1;else{var k=c.substring(f,r.end).search("("+h+")|("+y+")");d=void 0!==n?n:d||!e.isTextWhiteSpaceLike(c,f,-1===k?r.end:f+k),f=-1===k?r.end+1:f+k+_.length}}if(d||!l){2!==(null===(a=e.isInComment(o,r.pos))||void 0===a?void 0:a.kind)&&e.insertSorted(p,r.pos,e.compareValues),e.insertSorted(p,r.end,e.compareValues);var x=p[0];c.substr(x,g.length)!==g&&s.push({newText:g,span:{length:0,start:x}});for(var E=1;E<p.length-1;E++)c.substr(p[E]-_.length,_.length)!==_&&s.push({newText:_,span:{length:0,start:p[E]}}),c.substr(p[E],g.length)!==g&&s.push({newText:g,span:{length:0,start:p[E]}});s.length%2!=0&&s.push({newText:_,span:{length:0,start:p[p.length-1]}})}else for(var S=0,D=p;S<D.length;S++){var w=D[S],T=w-_.length>0?w-_.length:0;v=c.substr(T,_.length)===_?_.length:0;s.push({newText:"",span:{length:g.length,start:w-v}})}return s}function j(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)&&j(i)}function B(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:k(),host:t,formatContext:e.formatting.getFormatContext(a,t),cancellationToken:p,preferences:i,triggerReason:o,kind:s}}A.forEach((function(e,t){return A.set(e.toString(),Number(t))}));var z={dispose:function(){if(c){var n=r.getKeyForCompilationSettings(c.getCompilerOptions());e.forEach(c.getSourceFiles(),(function(e){return r.releaseDocumentWithKey(e.resolvedPath,n)})),c=void 0}t=void 0},cleanupSemanticCache:function(){c=void 0},getSyntacticDiagnostics:function(e){return b(),c.getSyntacticDiagnostics(y(e),p).slice()},getSemanticDiagnostics:function(t){b();var r=y(t),n=c.getSemanticDiagnostics(r,p);if(!e.getEmitDeclarations(c.getCompilerOptions()))return n.slice();var a=c.getDeclarationDiagnostics(r,p);return i(i([],n),a)},getSuggestionDiagnostics:function(t){return b(),e.computeSuggestionDiagnostics(y(t),c,p)},getCompilerOptionsDiagnostics:function(){return b(),i(i([],c.getOptionsDiagnostics(p)),c.getGlobalDiagnostics(p))},getSyntacticClassifications:function(t,r){return e.getSyntacticClassifications(p,u.getCurrentSourceFile(t),r)},getSemanticClassifications:function(t,r,n){return w(t)?(b(),"2020"===(n||"original")?e.classifier.v2020.getSemanticClassifications(c,p,y(t),r):e.getSemanticClassifications(c.getTypeChecker(),p,y(t),c.getClassifiableNames(),r)):[]},getEncodedSyntacticClassifications:function(t,r){return e.getEncodedSyntacticClassifications(p,u.getCurrentSourceFile(t),r)},getEncodedSemanticClassifications:function(t,r,n){return w(t)?(b(),"original"===(n||"original")?e.getEncodedSemanticClassifications(c.getTypeChecker(),p,y(t),c.getClassifiableNames(),r):e.classifier.v2020.getEncodedSemanticClassifications(c,p,y(t),r)):{spans:[],endOfLineState:0}},getCompletionsAtPosition:function(r,n,i){void 0===i&&(i=e.emptyOptions);var o=a(a({},e.identity(i)),{includeCompletionsForModuleExports:i.includeCompletionsForModuleExports||i.includeExternalModuleExports,includeCompletionsWithInsertText:i.includeCompletionsWithInsertText||i.includeInsertTextCompletions});return b(),e.Completions.getCompletionsAtPosition(t,c,m,y(r),n,o,i.triggerCharacter)},getCompletionEntryDetails:function(r,n,i,a,o,s){return void 0===s&&(s=e.emptyOptions),b(),e.Completions.getCompletionEntryDetails(c,m,y(r),n,{name:i,source:o},t,a&&e.formatting.getFormatContext(a,t),s,p)},getCompletionEntrySymbol:function(r,n,i,a,o){return void 0===o&&(o=e.emptyOptions),b(),e.Completions.getCompletionEntrySymbol(c,m,y(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=y(t);return e.SignatureHelp.getSignatureHelpItems(c,a,r,i,p)},getQuickInfoAtPosition:function(t,r){b();var n=y(t),i=e.getTouchingPropertyName(n,r);if(i!==n){var a=c.getTypeChecker(),o=function(t){if(e.isNewExpression(t.parent)&&t.pos===t.parent.pos)return t.parent.expression;return t}(i),s=function(t,r){var n=I(t);if(n){var i=r.getContextualType(n.parent),a=i&&F(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 l=function(t,r,n){switch(r.kind){case 78:return!e.isLabelName(r)&&!e.isTagName(r);case 202:case 158:return!e.isInComment(t,n);case 108:case 188:case 106:return!0;default:return!1}}(n,o,r)?a.getTypeAtLocation(o):void 0;return l&&{kind:"",kindModifiers:"",textSpan:e.createTextSpanFromNode(o,n),displayParts:a.runWithCancellationToken(p,(function(t){return e.typeToDisplayParts(t,l,e.getContainerNode(o))})),documentation:l.symbol?l.symbol.getDocumentationComment(a):void 0,tags:l.symbol?l.symbol.getJsDocTags():void 0}}var u=a.runWithCancellationToken(p,(function(t){return e.SymbolDisplay.getSymbolDisplayPartsDocumentationAndSymbolKind(t,s,n,e.getContainerNode(o),o)})),d=u.symbolKind,f=u.displayParts,m=u.documentation,g=u.tags;return{kind:d,kindModifiers:e.SymbolDisplay.getSymbolModifiers(a,s),textSpan:e.createTextSpanFromNode(o,n),displayParts:f,documentation:m,tags:g}}},getDefinitionAtPosition:function(t,r){return b(),e.GoToDefinition.getDefinitionAtPosition(c,y(t),r)},getDefinitionAndBoundSpan:function(t,r){return b(),e.GoToDefinition.getDefinitionAndBoundSpan(c,y(t),r)},getImplementationAtPosition:function(t,r){return b(),e.FindAllReferences.getImplementationsAtPosition(c,p,c.getSourceFiles(),y(t),r)},getTypeDefinitionAtPosition:function(t,r){return b(),e.GoToDefinition.getTypeDefinitionAtPosition(c.getTypeChecker(),y(t),r)},getReferencesAtPosition:function(t,r){return b(),D(e.getTouchingPropertyName(y(t),r),r,{use:1},e.FindAllReferences.toReferenceEntry)},findReferences:function(t,r){return b(),e.FindAllReferences.findReferencedSymbols(c,p,c.getSourceFiles(),y(t),r)},getFileReferences:function(t){return b(),e.FindAllReferences.Core.getReferencesForFileName(t,c,c.getSourceFiles()).map(e.FindAllReferences.toReferenceEntry)},getOccurrencesAtPosition:function(t,r){return e.flatMap(S(t,r,[t]),(function(e){return e.highlightSpans.map((function(t){return a(a({fileName:e.fileName,textSpan:t.textSpan,isWriteAccess:"writtenReference"===t.kind,isDefinition:!1},t.isInString&&{isInString:!0}),t.contextSpan&&{contextSpan:t.contextSpan})}))}))},getDocumentHighlights:S,getNameOrDottedNameSpan:function(t,r,n){var i=u.getCurrentSourceFile(t),a=e.getTouchingPropertyName(i,r);if(a!==i){switch(a.kind){case 202:case 158:case 10:case 95:case 110:case 104:case 106:case 108:case 188:case 78:break;default:return}for(var o=a;;)if(e.isRightSideOfPropertyAccess(o)||e.isRightSideOfQualifiedName(o))o=o.parent;else{if(!e.isNameOfModuleDeclaration(o))break;if(259!==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=u.getCurrentSourceFile(t);return e.BreakpointResolver.spanInSourceFileAtLocation(n,r)},getNavigateToItems:function(t,r,n,i){void 0===i&&(i=!1),b();var a=n?[y(n)]:c.getSourceFiles();return e.NavigateTo.getNavigateToItems(a,c.getTypeChecker(),p,t,r,i)},getRenameInfo:function(t,r,n){return b(),e.Rename.getRenameInfo(c,y(t),r,n)},getSmartSelectionRange:function(t,r){return e.SmartSelectionRange.getSmartSelectionRange(r,u.getCurrentSourceFile(t))},findRenameLocations:function(t,r,n,i,o){b();var s=y(t),c=e.getAdjustedRenameLocation(e.getTouchingPropertyName(s,r));if(e.isIdentifier(c)&&(e.isJsxOpeningElement(c.parent)||e.isJsxClosingElement(c.parent))&&e.isIntrinsicJsxName(c.escapedText)){var l=c.parent.parent;return[l.openingElement,l.closingElement].map((function(t){var r=e.createTextSpanFromNode(t.tagName,s);return a({fileName:s.fileName,textSpan:r},e.FindAllReferences.toContextSpan(r,s,t.parent))}))}return D(c,r,{findInStrings:n,findInComments:i,providePrefixAndSuffixTextForRename:o,use:2},(function(t,r,n){return e.FindAllReferences.toRenameLocation(t,r,n,o||!1)}))},getNavigationBarItems:function(t){return e.NavigationBar.getNavigationBarItems(u.getCurrentSourceFile(t),p)},getNavigationTree:function(t){return e.NavigationBar.getNavigationTree(u.getCurrentSourceFile(t),p)},getOutliningSpans:function(t){var r=u.getCurrentSourceFile(t);return e.OutliningElementsCollector.collectElements(r,p)},getTodoComments:function(t,r){b();var n=y(t);p.throwIfCancellationRequested();var i,a,o=n.text,s=[];if(r.length>0&&(a=n.fileName,!e.stringContains(a,"/node_modules/"))&&!function(t){return e.stringContains(t,"/oh_modules/")}(n.fileName))for(var c=function(){var t="("+/(?:^(?:\s|\*)*)/.source+"|"+/(?:\/\/+\s*)/.source+"|"+/(?:\/\*+\s*)/.source+")",n="(?:"+e.map(r,(function(e){return"("+(e.text.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")+")")})).join("|")+")",i=t+"("+n+/(?:.*?)/.source+")"+/(?:$|\*\/)/.source;return new RegExp(i,"gim")}(),l=void 0;l=c.exec(o);){p.throwIfCancellationRequested();e.Debug.assert(l.length===r.length+3);var u=l[1],d=l.index+u.length;if(e.isInComment(n,d)){for(var f=void 0,m=0;m<r.length;m++)l[m+3]&&(f=r[m]);if(void 0===f)return e.Debug.fail();if(!((i=o.charCodeAt(d+f.text.length))>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57)){var g=l[2];s.push({descriptor:f,message:g,position:d})}}}return s},getBraceMatchingAtPosition:function(t,r){var n=u.getCurrentSourceFile(t),i=e.getTouchingToken(n,r),a=i.getStart(n)===r?A.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=v(n),o=u.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=u.getCurrentSourceFile(r);return e.formatting.formatSelection(n,i,o,e.formatting.getFormatContext(v(a),t))},getFormattingEditsForDocument:function(r,n){return e.formatting.formatDocument(u.getCurrentSourceFile(r),e.formatting.getFormatContext(v(n),t))},getFormattingEditsAfterKeystroke:function(r,n,i,a){var o=u.getCurrentSourceFile(r),s=e.formatting.getFormatContext(v(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),u.getCurrentSourceFile(r),n,i)},isValidBraceCompletionAtPosition:function(t,r,n){if(60===n)return!1;var i=u.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=u.getCurrentSourceFile(t),i=e.findPrecedingToken(r,n);if(i){var a=31===i.kind&&e.isJsxOpeningElement(i.parent)?i.parent.parent:e.isJsxText(i)?i.parent:void 0;return a&&j(a)?{newText:"</"+a.openingElement.tagName.getText(n)+">"}:void 0}},getSpanOfEnclosingComment:function(t,r,n){var i=u.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 l=y(r),u=e.createTextSpanFromBounds(n,i),d=e.formatting.getFormatContext(o,t);return e.flatMap(e.deduplicate(a,e.equateValues,e.compareValues),(function(r){return p.throwIfCancellationRequested(),e.codefix.getFixes({errorCode:r,sourceFile:l,span:u,program:c,host:t,cancellationToken:p,formatContext:d,preferences:s})}))},getCombinedCodeFix:function(r,n,i,a){void 0===a&&(a=e.emptyOptions),b(),e.Debug.assert("file"===r.type);var o=y(r.fileName),s=e.formatting.getFormatContext(i,t);return e.codefix.getAllFixes({fixId:n,sourceFile:o,program:c,host:t,cancellationToken:p,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 O(e)}))):O(n)},organizeImports:function(r,n,i){void 0===i&&(i=e.emptyOptions),b(),e.Debug.assert("file"===r.type);var a=y(r.fileName),o=e.formatting.getFormatContext(n,t);return e.OrganizeImports.organizeImports(a,o,t,c,i)},getEditsForFileRename:function(r,n,i,a){return void 0===a&&(a=e.emptyOptions),e.getEditsForFileRename(k(),r,n,t,e.formatting.getFormatContext(i,t),a,h)},getEmitOutput:function(r,n,i){b();var a=y(r),o=t.getCustomTransformers&&t.getCustomTransformers();return e.getFileEmitOutput(c,a,!!n,p,o,i)},getNonBoundSourceFile:function(e){return u.getCurrentSourceFile(e)},getProgram:k,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=y(t);return e.refactor.getApplicableRefactors(B(o,r,n,e.emptyOptions,i,a))},getEditsForRefactor:function(t,r,n,i,a,o){void 0===o&&(o=e.emptyOptions),b();var s=y(t);return e.refactor.getEditsForRefactor(B(s,n,o,r),i,a)},toLineColumnOffset:h.toLineColumnOffset,getSourceMapper:function(){return h},clearSourceMapperCache:function(){return h.clearCache()},prepareCallHierarchy:function(t,r){b();var n=e.CallHierarchy.resolveCallHierarchyDeclaration(c,e.getTouchingPropertyName(y(t),r));return n&&e.mapOneOrMany(n,(function(t){return e.CallHierarchy.createCallHierarchyItem(c,t)}))},provideCallHierarchyIncomingCalls:function(t,r){b();var n=y(t),i=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(c,0===r?n:e.getTouchingPropertyName(n,r)));return i?e.CallHierarchy.getIncomingCalls(c,i,p):[]},provideCallHierarchyOutgoingCalls:function(t,r){b();var n=y(t),i=e.firstOrOnly(e.CallHierarchy.resolveCallHierarchyDeclaration(c,0===r?n:e.getTouchingPropertyName(n,r)));return i?e.CallHierarchy.getOutgoingCalls(c,i):[]},toggleLineComment:M,toggleMultilineComment:L,commentSelection:function(e,t){var r=R(u.getCurrentSourceFile(e),t);return r.firstLine===r.lastLine&&t.pos!==t.end?L(e,t,!0):M(e,t,!0)},uncommentSelection:function(t,r){var n=u.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,L(t,{end:c.end,pos:c.pos+1},!1))}s=c.end+1}}return i}};switch(s){case e.LanguageServiceMode.Semantic:break;case e.LanguageServiceMode.PartialSemantic:N.forEach((function(e){return z[e]=function(){throw new Error("LanguageService Operation: "+e+" not allowed in LanguageServiceMode.PartialSemantic")}}));break;case e.LanguageServiceMode.Syntactic:P.forEach((function(e){return z[e]=function(){throw new Error("LanguageService Operation: "+e+" not allowed in LanguageServiceMode.Syntactic")}}));break;default:e.Debug.assertNever(s)}return z},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)||275===t.parent.kind||function(e){return e&&e.parent&&203===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 if(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=F,e.getDefaultLibFilePath=function(t){return __dirname+e.directorySeparator+e.getDefaultLibFileName(t)},e.setObjectAllocator({getNodeConstructor:function(){return r},getTokenConstructor:function(){return c},getIdentifierConstructor:function(){return u},getPrivateIdentifierConstructor:function(){return d},getSourceFileConstructor:function(){return h},getSymbolConstructor:function(){return s},getTypeConstructor:function(){return p},getSignatureConstructor:function(){return f},getSourceMapSourceConstructor:function(){return y}})}(d||(d={})),function(e){!function(t){t.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 d(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?d(e):d(r)}function l(r){return d(e.findPrecedingToken(r.pos,t))}function u(r){return d(e.findNextToken(r,r.parent,t))}function d(r){if(r){var n=r.parent;switch(r.kind){case 234:return y(r.declarationList.declarations[0]);case 251:case 164:case 163:return y(r);case 161:return function t(r){if(e.isBindingPattern(r.name))return x(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]):d(n.body)}(r);case 253:case 166:case 165:case 168:case 169:case 167:case 209:case 210:return function(e){if(!e.body)return;if(v(e))return o(e);return d(e.body)}(r);case 232:if(e.isFunctionBlock(r))return function(e){var t=e.statements.length?e.statements[0]:e.getLastToken();if(v(e.parent))return c(e.parent,t);return d(t)}(r);case 260:return b(r);case 290:return b(r.block);case 235:return o(r.expression);case 244:return o(r.getChildAt(0),r.expression);case 238:return s(r,r.expression);case 237:return d(r.statement);case 250:return o(r.getChildAt(0));case 236:return s(r,r.expression);case 247:return d(r.statement);case 243:case 242:return o(r.getChildAt(0),r.label);case 239:return function(e){if(e.initializer)return k(e);if(e.condition)return o(e.condition);if(e.incrementor)return o(e.incrementor)}(r);case 240:return s(r,r.expression);case 241:return k(r);case 246:return s(r,r.expression);case 287:case 288:return d(r.statements[0]);case 249:return b(r.tryBlock);case 248:case 269:return o(r,r.expression);case 263:return o(r,r.moduleReference);case 264:case 270:return o(r,r.moduleSpecifier);case 259:if(1!==e.getModuleInstanceState(r))return;case 254:case 258:case 294:case 199:return o(r);case 245:return d(r.statement);case 162:return _=n.decorators,e.createTextSpanFromBounds(e.skipTrivia(t.text,_.pos),_.end);case 197:case 198:return x(r);case 256:case 257:return;case 26:case 1:return c(e.findPrecedingToken(r.pos,t));case 27:return l(r);case 18:return function(r){switch(r.parent.kind){case 258:var n=r.parent;return c(e.findPrecedingToken(r.pos,t,r.parent),n.members.length?n.members[0]:n.getLastToken(t));case 254:var i=r.parent;return c(e.findPrecedingToken(r.pos,t,r.parent),i.members.length?i.members[0]:i.getLastToken(t));case 261:return c(r.parent.parent,r.parent.clauses[0])}return d(r.parent)}(r);case 19:return function(t){switch(t.parent.kind){case 260:if(1!==e.getModuleInstanceState(t.parent.parent))return;case 258:case 254:return o(t);case 232:if(e.isFunctionBlock(t.parent))return o(t);case 290:return d(e.lastOrUndefined(t.parent.statements));case 261:var r=t.parent,n=e.lastOrUndefined(r.clauses);return n?d(e.lastOrUndefined(n.statements)):void 0;case 197:var i=t.parent;return d(e.lastOrUndefined(i.elements)||i);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(t.parent)){var a=t.parent;return o(e.lastOrUndefined(a.properties)||a)}return d(t.parent)}}(r);case 23:return function(t){if(198===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 d(t.parent)}(r);case 20:return function(e){if(237===e.parent.kind||204===e.parent.kind||205===e.parent.kind)return l(e);if(208===e.parent.kind)return u(e);return d(e.parent)}(r);case 21:return function(e){switch(e.parent.kind){case 209:case 253:case 210:case 166:case 165:case 168:case 169:case 167:case 238:case 237:case 239:case 241:case 204:case 205:case 208:return l(e);default:return d(e.parent)}}(r);case 58:return function(t){if(e.isFunctionLike(t.parent)||291===t.parent.kind||161===t.parent.kind)return l(t);return d(t.parent)}(r);case 31:case 29:return function(e){if(207===e.parent.kind)return u(e);return d(e.parent)}(r);case 115:return function(e){if(237===e.parent.kind)return s(e,e.parent.expression);return d(e.parent)}(r);case 91:case 82:case 96:return u(r);case 157:return function(e){if(241===e.parent.kind)return u(e);return d(e.parent)}(r);default:if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(r))return E(r);if((78===r.kind||222===r.kind||291===r.kind||292===r.kind)&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(n))return o(r);if(218===r.kind){var i=r,a=i.left,p=i.operatorToken;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(a))return E(a);if(62===p.kind&&e.isArrayLiteralOrObjectLiteralDestructuringPattern(r.parent))return o(r);if(27===p.kind)return d(a)}if(e.isExpressionNode(r))switch(n.kind){case 237:return l(r);case 162:return d(r.parent);case 239:case 241:return o(r);case 218:if(27===r.parent.operatorToken.kind)return o(r);break;case 210:if(r.parent.body===r)return o(r)}switch(r.parent.kind){case 291:if(r.parent.name===r&&!e.isArrayLiteralOrObjectLiteralDestructuringPattern(r.parent.parent))return d(r.parent.initializer);break;case 207:if(r.parent.type===r)return u(r.parent.type);break;case 251:case 161:var f=r.parent,m=f.initializer,g=f.type;if(m===r||g===r||e.isAssignmentOperator(r.kind))return l(r);break;case 218:a=r.parent.left;if(e.isArrayLiteralOrObjectLiteralDestructuringPattern(a)&&r!==a)return l(r);break;default:if(e.isFunctionLike(r.parent)&&r.parent.type===r)return l(r)}return d(r.parent)}}var _;function h(r){return e.isVariableDeclarationList(r.parent)&&r.parent.declarations[0]===r?o(e.findPrecedingToken(r.pos,t,r.parent),r):o(r)}function y(r){if(240===r.parent.parent.kind)return d(r.parent.parent);var n=r.parent;return e.isBindingPattern(r.name)?x(r.name):r.initializer||e.hasSyntacticModifier(r,1)||241===n.parent.kind?h(r):e.isVariableDeclarationList(r.parent)&&r.parent.declarations[0]!==r?d(e.findPrecedingToken(r.pos,t,r.parent)):void 0}function v(t){return e.hasSyntacticModifier(t,1)||254===t.parent.kind&&167!==t.kind}function b(r){switch(r.parent.kind){case 259:if(1!==e.getModuleInstanceState(r.parent))return;case 238:case 236:case 240:return c(r.parent,r.statements[0]);case 239:case 241:return c(e.findPrecedingToken(r.pos,t,r.parent),r.statements[0])}return d(r.statements[0])}function k(e){if(252!==e.initializer.kind)return d(e.initializer);var t=e.initializer;return t.declarations.length>0?d(t.declarations[0]):void 0}function x(t){var r=e.forEach(t.elements,(function(e){return 224!==e.kind?e:void 0}));return r?d(r):199===t.parent.kind?o(t.parent):h(t.parent)}function E(t){e.Debug.assert(198!==t.kind&&197!==t.kind);var r=200===t.kind?t.elements:t.properties,n=e.forEach(r,(function(e){return 224!==e.kind?e:void 0}));return n?d(n):o(218===t.parent.kind?t.parent:t)}}}}(e.BreakpointResolver||(e.BreakpointResolver={}))}(d||(d={})),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}}(d||(d={}));var d,p=function(){return this}();!function(e){function t(e,t){e&&e.log("*INTERNAL ERROR* - Exception in typescript services: "+t.message)}var r=function(){function t(e){this.scriptSnapshotShim=e}return t.prototype.getText=function(e,t){return this.scriptSnapshotShim.getText(e,t)},t.prototype.getLength=function(){return this.scriptSnapshotShim.getLength()},t.prototype.getChangeRange=function(t){var r=t,n=this.scriptSnapshotShim.getChangeRange(r.scriptSnapshotShim);if(null===n)return null;var i=JSON.parse(n);return e.createTextChangeRange(e.createTextSpan(i.span.start,i.span.length),i.newLength)},t.prototype.dispose=function(){"dispose"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()},t}(),n=function(){function t(t){var r=this;this.shimHost=t,this.loggingEnabled=!1,this.tracingEnabled=!1,"getModuleResolutionsForFile"in this.shimHost&&(this.resolveModuleNames=function(t,n){var i=JSON.parse(r.shimHost.getModuleResolutionsForFile(n));return e.map(t,(function(t){var r=e.getProperty(i,t);return r?{resolvedFileName:r,extension:e.extensionFromPath(r),isExternalLibraryImport:!1}:void 0}))}),"directoryExists"in this.shimHost&&(this.directoryExists=function(e){return r.shimHost.directoryExists(e)}),"getTypeReferenceDirectiveResolutionsForFile"in this.shimHost&&(this.resolveTypeReferenceDirectives=function(t,n){var i=JSON.parse(r.shimHost.getTypeReferenceDirectiveResolutionsForFile(n));return e.map(t,(function(t){return e.getProperty(i,t)}))})}return t.prototype.log=function(e){this.loggingEnabled&&this.shimHost.log(e)},t.prototype.trace=function(e){this.tracingEnabled&&this.shimHost.trace(e)},t.prototype.error=function(e){this.shimHost.error(e)},t.prototype.getProjectVersion=function(){if(this.shimHost.getProjectVersion)return this.shimHost.getProjectVersion()},t.prototype.getTypeRootsVersion=function(){return this.shimHost.getTypeRootsVersion?this.shimHost.getTypeRootsVersion():0},t.prototype.useCaseSensitiveFileNames=function(){return!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames()},t.prototype.getCompilationSettings=function(){var e=this.shimHost.getCompilationSettings();if(null===e||""===e)throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings");var t=JSON.parse(e);return t.allowNonTsExtensions=!0,t},t.prototype.getScriptFileNames=function(){var e=this.shimHost.getScriptFileNames();return JSON.parse(e)},t.prototype.getScriptSnapshot=function(e){var t=this.shimHost.getScriptSnapshot(e);return t&&new r(t)},t.prototype.getScriptKind=function(e){return"getScriptKind"in this.shimHost?this.shimHost.getScriptKind(e):0},t.prototype.getScriptVersion=function(e){return this.shimHost.getScriptVersion(e)},t.prototype.getLocalizedDiagnosticMessages=function(){var e=this.shimHost.getLocalizedDiagnosticMessages();if(null===e||""===e)return null;try{return JSON.parse(e)}catch(e){return this.log(e.description||"diagnosticMessages.generated.json has invalid JSON format"),null}},t.prototype.getCancellationToken=function(){var t=this.shimHost.getCancellationToken();return new e.ThrottledCancellationToken(t)},t.prototype.getCurrentDirectory=function(){return this.shimHost.getCurrentDirectory()},t.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},t.prototype.getDefaultLibFileName=function(e){return this.shimHost.getDefaultLibFileName(JSON.stringify(e))},t.prototype.readDirectory=function(t,r,n,i,a){var o=e.getFileMatcherPatterns(t,n,i,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(t,JSON.stringify(r),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,a))},t.prototype.readFile=function(e,t){return this.shimHost.readFile(e,t)},t.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},t}();e.LanguageServiceShimHostAdapter=n;var o=function(){function t(e){var t=this;this.shimHost=e,this.useCaseSensitiveFileNames=!!this.shimHost.useCaseSensitiveFileNames&&this.shimHost.useCaseSensitiveFileNames(),"directoryExists"in this.shimHost?this.directoryExists=function(e){return t.shimHost.directoryExists(e)}:this.directoryExists=void 0,"realpath"in this.shimHost?this.realpath=function(e){return t.shimHost.realpath(e)}:this.realpath=void 0}return t.prototype.readDirectory=function(t,r,n,i,a){var o=e.getFileMatcherPatterns(t,n,i,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(t,JSON.stringify(r),JSON.stringify(o.basePaths),o.excludePattern,o.includeFilePattern,o.includeDirectoryPattern,a))},t.prototype.fileExists=function(e){return this.shimHost.fileExists(e)},t.prototype.readFile=function(e){return this.shimHost.readFile(e)},t.prototype.getDirectories=function(e){return JSON.parse(this.shimHost.getDirectories(e))},t}();function s(e,t,r,n){return u(e,t,!0,r,n)}function u(r,n,i,a,o){try{var s=function(t,r,n,i){var a;i&&(t.log(r),a=e.timestamp());var o=n();if(i){var s=e.timestamp();if(t.log(r+" completed in "+(s-a)+" msec"),e.isString(o)){var c=o;c.length>128&&(c=c.substring(0,128)+"..."),t.log(" result.length="+c.length+", result='"+JSON.stringify(c)+"'")}}return o}(r,n,a,o);return i?JSON.stringify({result:s}):s}catch(i){return i instanceof e.OperationCanceledException?JSON.stringify({canceled:!0}):(t(r,i),i.description=n,JSON.stringify({error:i}))}}e.CoreServicesShimHostAdapter=o;var d=function(){function e(e){this.factory=e,e.registerShim(this)}return e.prototype.dispose=function(e){this.factory.unregisterShim(this)},e}();function f(t,r){return t.map((function(t){return function(t,r){return{message:e.flattenDiagnosticMessageText(t.messageText,r),start:t.start,length:t.length,category:e.diagnosticCategoryName(t),code:t.code,reportsUnnecessary:t.reportsUnnecessary,reportsDeprecated:t.reportsDeprecated}}(t,r)}))}e.realizeDiagnostics=f;var m=function(t){function r(e,r,n){var i=t.call(this,e)||this;return i.host=r,i.languageService=n,i.logPerformance=!1,i.logger=i.host,i}return l(r,t),r.prototype.forwardJSONCall=function(e,t){return s(this.logger,e,t,this.logPerformance)},r.prototype.dispose=function(e){this.logger.log("dispose()"),this.languageService.dispose(),this.languageService=null,p&&p.CollectGarbage&&(p.CollectGarbage(),this.logger.log("CollectGarbage()")),this.logger=null,t.prototype.dispose.call(this,e)},r.prototype.refresh=function(e){this.forwardJSONCall("refresh("+e+")",(function(){return null}))},r.prototype.cleanupSemanticCache=function(){var e=this;this.forwardJSONCall("cleanupSemanticCache()",(function(){return e.languageService.cleanupSemanticCache(),null}))},r.prototype.realizeDiagnostics=function(t){return f(t,e.getNewLineOrDefaultFromHost(this.host))},r.prototype.getSyntacticClassifications=function(t,r,n){var i=this;return this.forwardJSONCall("getSyntacticClassifications('"+t+"', "+r+", "+n+")",(function(){return i.languageService.getSyntacticClassifications(t,e.createTextSpan(r,n))}))},r.prototype.getSemanticClassifications=function(t,r,n){var i=this;return this.forwardJSONCall("getSemanticClassifications('"+t+"', "+r+", "+n+")",(function(){return i.languageService.getSemanticClassifications(t,e.createTextSpan(r,n))}))},r.prototype.getEncodedSyntacticClassifications=function(t,r,n){var i=this;return this.forwardJSONCall("getEncodedSyntacticClassifications('"+t+"', "+r+", "+n+")",(function(){return g(i.languageService.getEncodedSyntacticClassifications(t,e.createTextSpan(r,n)))}))},r.prototype.getEncodedSemanticClassifications=function(t,r,n){var i=this;return this.forwardJSONCall("getEncodedSemanticClassifications('"+t+"', "+r+", "+n+")",(function(){return g(i.languageService.getEncodedSemanticClassifications(t,e.createTextSpan(r,n)))}))},r.prototype.getSyntacticDiagnostics=function(e){var t=this;return this.forwardJSONCall("getSyntacticDiagnostics('"+e+"')",(function(){var r=t.languageService.getSyntacticDiagnostics(e);return t.realizeDiagnostics(r)}))},r.prototype.getSemanticDiagnostics=function(e){var t=this;return this.forwardJSONCall("getSemanticDiagnostics('"+e+"')",(function(){var r=t.languageService.getSemanticDiagnostics(e);return t.realizeDiagnostics(r)}))},r.prototype.getSuggestionDiagnostics=function(e){var t=this;return this.forwardJSONCall("getSuggestionDiagnostics('"+e+"')",(function(){return t.realizeDiagnostics(t.languageService.getSuggestionDiagnostics(e))}))},r.prototype.getCompilerOptionsDiagnostics=function(){var e=this;return this.forwardJSONCall("getCompilerOptionsDiagnostics()",(function(){var t=e.languageService.getCompilerOptionsDiagnostics();return e.realizeDiagnostics(t)}))},r.prototype.getQuickInfoAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getQuickInfoAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getQuickInfoAtPosition(e,t)}))},r.prototype.getNameOrDottedNameSpan=function(e,t,r){var n=this;return this.forwardJSONCall("getNameOrDottedNameSpan('"+e+"', "+t+", "+r+")",(function(){return n.languageService.getNameOrDottedNameSpan(e,t,r)}))},r.prototype.getBreakpointStatementAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getBreakpointStatementAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getBreakpointStatementAtPosition(e,t)}))},r.prototype.getSignatureHelpItems=function(e,t,r){var n=this;return this.forwardJSONCall("getSignatureHelpItems('"+e+"', "+t+")",(function(){return n.languageService.getSignatureHelpItems(e,t,r)}))},r.prototype.getDefinitionAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getDefinitionAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getDefinitionAtPosition(e,t)}))},r.prototype.getDefinitionAndBoundSpan=function(e,t){var r=this;return this.forwardJSONCall("getDefinitionAndBoundSpan('"+e+"', "+t+")",(function(){return r.languageService.getDefinitionAndBoundSpan(e,t)}))},r.prototype.getTypeDefinitionAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getTypeDefinitionAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getTypeDefinitionAtPosition(e,t)}))},r.prototype.getImplementationAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getImplementationAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getImplementationAtPosition(e,t)}))},r.prototype.getRenameInfo=function(e,t,r){var n=this;return this.forwardJSONCall("getRenameInfo('"+e+"', "+t+")",(function(){return n.languageService.getRenameInfo(e,t,r)}))},r.prototype.getSmartSelectionRange=function(e,t){var r=this;return this.forwardJSONCall("getSmartSelectionRange('"+e+"', "+t+")",(function(){return r.languageService.getSmartSelectionRange(e,t)}))},r.prototype.findRenameLocations=function(e,t,r,n,i){var a=this;return this.forwardJSONCall("findRenameLocations('"+e+"', "+t+", "+r+", "+n+", "+i+")",(function(){return a.languageService.findRenameLocations(e,t,r,n,i)}))},r.prototype.getBraceMatchingAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getBraceMatchingAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getBraceMatchingAtPosition(e,t)}))},r.prototype.isValidBraceCompletionAtPosition=function(e,t,r){var n=this;return this.forwardJSONCall("isValidBraceCompletionAtPosition('"+e+"', "+t+", "+r+")",(function(){return n.languageService.isValidBraceCompletionAtPosition(e,t,r)}))},r.prototype.getSpanOfEnclosingComment=function(e,t,r){var n=this;return this.forwardJSONCall("getSpanOfEnclosingComment('"+e+"', "+t+")",(function(){return n.languageService.getSpanOfEnclosingComment(e,t,r)}))},r.prototype.getIndentationAtPosition=function(e,t,r){var n=this;return this.forwardJSONCall("getIndentationAtPosition('"+e+"', "+t+")",(function(){var i=JSON.parse(r);return n.languageService.getIndentationAtPosition(e,t,i)}))},r.prototype.getReferencesAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getReferencesAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getReferencesAtPosition(e,t)}))},r.prototype.findReferences=function(e,t){var r=this;return this.forwardJSONCall("findReferences('"+e+"', "+t+")",(function(){return r.languageService.findReferences(e,t)}))},r.prototype.getFileReferences=function(e){var t=this;return this.forwardJSONCall("getFileReferences('"+e+")",(function(){return t.languageService.getFileReferences(e)}))},r.prototype.getOccurrencesAtPosition=function(e,t){var r=this;return this.forwardJSONCall("getOccurrencesAtPosition('"+e+"', "+t+")",(function(){return r.languageService.getOccurrencesAtPosition(e,t)}))},r.prototype.getDocumentHighlights=function(t,r,n){var i=this;return this.forwardJSONCall("getDocumentHighlights('"+t+"', "+r+")",(function(){var a=i.languageService.getDocumentHighlights(t,r,JSON.parse(n)),o=e.toFileNameLowerCase(e.normalizeSlashes(t));return e.filter(a,(function(t){return e.toFileNameLowerCase(e.normalizeSlashes(t.fileName))===o}))}))},r.prototype.getCompletionsAtPosition=function(e,t,r){var n=this;return this.forwardJSONCall("getCompletionsAtPosition('"+e+"', "+t+", "+r+")",(function(){return n.languageService.getCompletionsAtPosition(e,t,r)}))},r.prototype.getCompletionEntryDetails=function(e,t,r,n,i,a){var o=this;return this.forwardJSONCall("getCompletionEntryDetails('"+e+"', "+t+", '"+r+"')",(function(){var s=void 0===n?void 0:JSON.parse(n);return o.languageService.getCompletionEntryDetails(e,t,r,s,i,a)}))},r.prototype.getFormattingEditsForRange=function(e,t,r,n){var i=this;return this.forwardJSONCall("getFormattingEditsForRange('"+e+"', "+t+", "+r+")",(function(){var a=JSON.parse(n);return i.languageService.getFormattingEditsForRange(e,t,r,a)}))},r.prototype.getFormattingEditsForDocument=function(e,t){var r=this;return this.forwardJSONCall("getFormattingEditsForDocument('"+e+"')",(function(){var n=JSON.parse(t);return r.languageService.getFormattingEditsForDocument(e,n)}))},r.prototype.getFormattingEditsAfterKeystroke=function(e,t,r,n){var i=this;return this.forwardJSONCall("getFormattingEditsAfterKeystroke('"+e+"', "+t+", '"+r+"')",(function(){var a=JSON.parse(n);return i.languageService.getFormattingEditsAfterKeystroke(e,t,r,a)}))},r.prototype.getDocCommentTemplateAtPosition=function(e,t,r){var n=this;return this.forwardJSONCall("getDocCommentTemplateAtPosition('"+e+"', "+t+")",(function(){return n.languageService.getDocCommentTemplateAtPosition(e,t,r)}))},r.prototype.getNavigateToItems=function(e,t,r){var n=this;return this.forwardJSONCall("getNavigateToItems('"+e+"', "+t+", "+r+")",(function(){return n.languageService.getNavigateToItems(e,t,r)}))},r.prototype.getNavigationBarItems=function(e){var t=this;return this.forwardJSONCall("getNavigationBarItems('"+e+"')",(function(){return t.languageService.getNavigationBarItems(e)}))},r.prototype.getNavigationTree=function(e){var t=this;return this.forwardJSONCall("getNavigationTree('"+e+"')",(function(){return t.languageService.getNavigationTree(e)}))},r.prototype.getOutliningSpans=function(e){var t=this;return this.forwardJSONCall("getOutliningSpans('"+e+"')",(function(){return t.languageService.getOutliningSpans(e)}))},r.prototype.getTodoComments=function(e,t){var r=this;return this.forwardJSONCall("getTodoComments('"+e+"')",(function(){return r.languageService.getTodoComments(e,JSON.parse(t))}))},r.prototype.prepareCallHierarchy=function(e,t){var r=this;return this.forwardJSONCall("prepareCallHierarchy('"+e+"', "+t+")",(function(){return r.languageService.prepareCallHierarchy(e,t)}))},r.prototype.provideCallHierarchyIncomingCalls=function(e,t){var r=this;return this.forwardJSONCall("provideCallHierarchyIncomingCalls('"+e+"', "+t+")",(function(){return r.languageService.provideCallHierarchyIncomingCalls(e,t)}))},r.prototype.provideCallHierarchyOutgoingCalls=function(e,t){var r=this;return this.forwardJSONCall("provideCallHierarchyOutgoingCalls('"+e+"', "+t+")",(function(){return r.languageService.provideCallHierarchyOutgoingCalls(e,t)}))},r.prototype.getEmitOutput=function(e){var t=this;return this.forwardJSONCall("getEmitOutput('"+e+"')",(function(){var r=t.languageService.getEmitOutput(e),n=r.diagnostics,i=c(r,["diagnostics"]);return a(a({},i),{diagnostics:t.realizeDiagnostics(n)})}))},r.prototype.getEmitOutputObject=function(e){var t=this;return u(this.logger,"getEmitOutput('"+e+"')",!1,(function(){return t.languageService.getEmitOutput(e)}),this.logPerformance)},r.prototype.toggleLineComment=function(e,t){var r=this;return this.forwardJSONCall("toggleLineComment('"+e+"', '"+JSON.stringify(t)+"')",(function(){return r.languageService.toggleLineComment(e,t)}))},r.prototype.toggleMultilineComment=function(e,t){var r=this;return this.forwardJSONCall("toggleMultilineComment('"+e+"', '"+JSON.stringify(t)+"')",(function(){return r.languageService.toggleMultilineComment(e,t)}))},r.prototype.commentSelection=function(e,t){var r=this;return this.forwardJSONCall("commentSelection('"+e+"', '"+JSON.stringify(t)+"')",(function(){return r.languageService.commentSelection(e,t)}))},r.prototype.uncommentSelection=function(e,t){var r=this;return this.forwardJSONCall("uncommentSelection('"+e+"', '"+JSON.stringify(t)+"')",(function(){return r.languageService.uncommentSelection(e,t)}))},r}(d);function g(e){return{spans:e.spans.join(","),endOfLineState:e.endOfLineState}}var _=function(t){function r(r,n){var i=t.call(this,r)||this;return i.logger=n,i.logPerformance=!1,i.classifier=e.createClassifier(),i}return l(r,t),r.prototype.getEncodedLexicalClassifications=function(e,t,r){var n=this;return void 0===r&&(r=!1),s(this.logger,"getEncodedLexicalClassifications",(function(){return g(n.classifier.getEncodedLexicalClassifications(e,t,r))}),this.logPerformance)},r.prototype.getClassificationsForLine=function(e,t,r){void 0===r&&(r=!1);for(var n=this.classifier.getClassificationsForLine(e,t,r),i="",a=0,o=n.entries;a<o.length;a++){var s=o[a];i+=s.length+"\n",i+=s.classification+"\n"}return i+=n.finalLexState},r}(d),h=function(t){function r(e,r,n){var i=t.call(this,e)||this;return i.logger=r,i.host=n,i.logPerformance=!1,i}return l(r,t),r.prototype.forwardJSONCall=function(e,t){return s(this.logger,e,t,this.logPerformance)},r.prototype.resolveModuleName=function(t,r,n){var i=this;return this.forwardJSONCall("resolveModuleName('"+t+"')",(function(){var a=JSON.parse(n),o=e.resolveModuleName(r,e.normalizeSlashes(t),a,i.host),s=o.resolvedModule?o.resolvedModule.resolvedFileName:void 0;return o.resolvedModule&&".ts"!==o.resolvedModule.extension&&".tsx"!==o.resolvedModule.extension&&".d.ts"!==o.resolvedModule.extension&&".ets"!==o.resolvedModule.extension&&".d.ets"!==o.resolvedModule.extension&&(s=void 0),{resolvedFileName:s,failedLookupLocations:o.failedLookupLocations}}))},r.prototype.resolveTypeReferenceDirective=function(t,r,n){var i=this;return this.forwardJSONCall("resolveTypeReferenceDirective("+t+")",(function(){var a=JSON.parse(n),o=e.resolveTypeReferenceDirective(r,e.normalizeSlashes(t),a,i.host);return{resolvedFileName:o.resolvedTypeReferenceDirective?o.resolvedTypeReferenceDirective.resolvedFileName:void 0,primary:!o.resolvedTypeReferenceDirective||o.resolvedTypeReferenceDirective.primary,failedLookupLocations:o.failedLookupLocations}}))},r.prototype.getPreProcessedFileInfo=function(t,r){var n=this;return this.forwardJSONCall("getPreProcessedFileInfo('"+t+"')",(function(){var t=e.preProcessFile(e.getSnapshotText(r),!0,!0);return{referencedFiles:n.convertFileReferences(t.referencedFiles),importedFiles:n.convertFileReferences(t.importedFiles),ambientExternalModules:t.ambientExternalModules,isLibFile:t.isLibFile,typeReferenceDirectives:n.convertFileReferences(t.typeReferenceDirectives),libReferenceDirectives:n.convertFileReferences(t.libReferenceDirectives)}}))},r.prototype.getAutomaticTypeDirectiveNames=function(t){var r=this;return this.forwardJSONCall("getAutomaticTypeDirectiveNames('"+t+"')",(function(){var n=JSON.parse(t);return e.getAutomaticTypeDirectiveNames(n,r.host)}))},r.prototype.convertFileReferences=function(t){if(t){for(var r=[],n=0,i=t;n<i.length;n++){var a=i[n];r.push({path:e.normalizeSlashes(a.fileName),position:a.pos,length:a.end-a.pos})}return r}},r.prototype.getTSConfigFileInfo=function(t,r){var n=this;return this.forwardJSONCall("getTSConfigFileInfo('"+t+"')",(function(){var a=e.parseJsonText(t,e.getSnapshotText(r)),o=e.normalizeSlashes(t),s=e.parseJsonSourceFileConfigFileContent(a,n.host,e.getDirectoryPath(o),{},o);return{options:s.options,typeAcquisition:s.typeAcquisition,files:s.fileNames,raw:s.raw,errors:f(i(i([],a.parseDiagnostics),s.errors),"\r\n")}}))},r.prototype.getDefaultCompilationSettings=function(){return this.forwardJSONCall("getDefaultCompilationSettings()",(function(){return e.getDefaultCompilerOptions()}))},r.prototype.discoverTypings=function(t){var r=this,n=e.createGetCanonicalFileName(!1);return this.forwardJSONCall("discoverTypings()",(function(){var i=JSON.parse(t);return void 0===r.safeList&&(r.safeList=e.JsTyping.loadSafeList(r.host,e.toPath(i.safeListPath,i.safeListPath,n))),e.JsTyping.discoverTypings(r.host,(function(e){return r.logger.log(e)}),i.fileNames,e.toPath(i.projectRootPath,i.projectRootPath,n),r.safeList,i.packageNameToTypingLocation,i.typeAcquisition,i.unresolvedImports,i.typesRegistry)}))},r}(d),y=function(){function r(){this._shims=[]}return r.prototype.getServicesVersion=function(){return e.servicesVersion},r.prototype.createLanguageServiceShim=function(r){try{void 0===this.documentRegistry&&(this.documentRegistry=e.createDocumentRegistry(r.useCaseSensitiveFileNames&&r.useCaseSensitiveFileNames(),r.getCurrentDirectory()));var i=new n(r),a=e.createLanguageService(i,this.documentRegistry,!1);return new m(this,r,a)}catch(e){throw t(r,e),e}},r.prototype.createClassifierShim=function(e){try{return new _(this,e)}catch(r){throw t(e,r),r}},r.prototype.createCoreServicesShim=function(e){try{var r=new o(e);return new h(this,e,r)}catch(r){throw t(e,r),r}},r.prototype.close=function(){e.clear(this._shims),this.documentRegistry=void 0},r.prototype.registerShim=function(e){this._shims.push(e)},r.prototype.unregisterShim=function(e){for(var t=0;t<this._shims.length;t++)if(this._shims[t]===e)return void delete this._shims[t];throw new Error("Invalid operation")},r}();e.TypeScriptServicesFactory=y}(d||(d={})),function(){if("object"!=typeof globalThis)try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,"undefined"==typeof globalThis&&(window.globalThis=window),delete Object.prototype.__magic__}catch(e){window.globalThis=window}}(),("undefined"==typeof process||process.browser)&&(globalThis.TypeScript=globalThis.TypeScript||{},globalThis.TypeScript.Services=globalThis.TypeScript.Services||{},globalThis.TypeScript.Services.TypeScriptServicesFactory=d.TypeScriptServicesFactory,globalThis.toolsVersion=d.versionMajorMinor),e.exports&&(e.exports=d),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=139),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),e.createJSDocParamTag=e.Debug.deprecate((function(t,r,n,i){return e.factory.createJSDocParameterTag(void 0,t,r,n,!1,i)}),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(300===t?e.parseBaseNodeFactory.createBaseSourceFileNode(t):78===t?e.parseBaseNodeFactory.createBaseIdentifierNode(t):79===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 207===e.kind}),{since:"4.0",warnAfter:"4.1",message:"Use `isTypeAssertionExpression` instead."})}(d||(d={})),function(e){e.cookBookMsg=[],e.cookBookTag=[];for(var t=0;t<=151;t++)e.cookBookMsg[t]="";e.cookBookTag[1]="Objects with property names that are not identifiers are not supported (arkts-identifiers-as-prop-names)",e.cookBookTag[2]='"Symbol()" API is not supported (arkts-no-symbol)',e.cookBookTag[3]='Private "#" identifiers are not supported (arkts-no-private-identifiers)',e.cookBookTag[4]="Use unique names for types and namespaces. (arkts-unique-names)",e.cookBookTag[5]='Use "let" instead of "var" (arkts-no-var)',e.cookBookTag[6]="",e.cookBookTag[7]="",e.cookBookTag[8]='Use explicit types instead of "any", "unknown" (arkts-no-any-unknown)',e.cookBookTag[9]="",e.cookBookTag[10]="",e.cookBookTag[11]="",e.cookBookTag[12]="",e.cookBookTag[13]="",e.cookBookTag[14]='Use "class" instead of a type with call signature (arkts-no-call-signatures)',e.cookBookTag[15]='Use "class" instead of a type with constructor signature (arkts-no-ctor-signatures-type)',e.cookBookTag[16]="Only one static block is supported (arkts-no-multiple-static-blocks)",e.cookBookTag[17]="Indexed signatures are not supported (arkts-no-indexed-signatures)",e.cookBookTag[18]="",e.cookBookTag[19]="Use inheritance instead of intersection types (arkts-no-intersection-types)",e.cookBookTag[20]="",e.cookBookTag[21]='Type notation using "this" is not supported (arkts-no-typing-with-this)',e.cookBookTag[22]="Conditional types are not supported (arkts-no-conditional-types)",e.cookBookTag[23]="",e.cookBookTag[24]="",e.cookBookTag[25]='Declaring fields in "constructor" is not supported (arkts-no-ctor-prop-decls)',e.cookBookTag[26]="",e.cookBookTag[27]="Construct signatures are not supported in interfaces (arkts-no-ctor-signatures-iface)",e.cookBookTag[28]="Indexed access types are not supported (arkts-no-aliases-by-index)",e.cookBookTag[29]="Indexed access is not supported for fields (arkts-no-props-by-index)",e.cookBookTag[30]="Structural typing is not supported (arkts-no-structural-typing)",e.cookBookTag[31]="",e.cookBookTag[32]="",e.cookBookTag[33]="",e.cookBookTag[34]="Type inference in case of generic function calls is limited (arkts-no-inferred-generic-params)",e.cookBookTag[35]="",e.cookBookTag[36]="",e.cookBookTag[37]="RegExp literals are not supported (arkts-no-regexp-literals)",e.cookBookTag[38]="Object literal must correspond to some explicitly declared class or interface (arkts-no-untyped-obj-literals)",e.cookBookTag[39]="",e.cookBookTag[40]="Object literals cannot be used as type declarations (arkts-no-obj-literals-as-types)",e.cookBookTag[41]="",e.cookBookTag[42]="",e.cookBookTag[43]="Array literals must contain elements of only inferrable types (arkts-no-noninferrable-arr-literals)",e.cookBookTag[44]="",e.cookBookTag[45]="",e.cookBookTag[46]="Use arrow functions instead of function expressions (arkts-no-func-expressions)",e.cookBookTag[47]="",e.cookBookTag[48]="",e.cookBookTag[49]="Use generic functions instead of generic arrow functions (arkts-no-generic-lambdas)",e.cookBookTag[50]="Class literals are not supported (arkts-no-class-literals)",e.cookBookTag[51]='Classes cannot be specified in "implements" clause (arkts-implements-only-iface)',e.cookBookTag[52]="Reassigning object methods is not supported (arkts-no-method-reassignment)",e.cookBookTag[53]='Only "as T" syntax is supported for type casts (arkts-as-casts)',e.cookBookTag[54]="JSX expressions are not supported (arkts-no-jsx)",e.cookBookTag[55]='Unary operators "+", "-" and "~" work only on numbers (arkts-no-polymorphic-unops)',e.cookBookTag[56]="",e.cookBookTag[57]="",e.cookBookTag[58]="",e.cookBookTag[59]='"delete" operator is not supported (arkts-no-delete)',e.cookBookTag[60]='"typeof" operator is allowed only in expression contexts (arkts-no-type-query)',e.cookBookTag[61]="",e.cookBookTag[62]="",e.cookBookTag[63]="",e.cookBookTag[64]="",e.cookBookTag[65]='"instanceof" operator is partially supported (arkts-instanceof-ref-types)',e.cookBookTag[66]='"in" operator is not supported (arkts-no-in)',e.cookBookTag[67]="",e.cookBookTag[68]="",e.cookBookTag[69]="Destructuring assignment is not supported (arkts-no-destruct-assignment)",e.cookBookTag[70]="",e.cookBookTag[71]='The comma operator "," is supported only in "for" loops (arkts-no-comma-outside-loops)',e.cookBookTag[72]="",e.cookBookTag[73]="",e.cookBookTag[74]="Destructuring variable declarations are not supported (arkts-no-destruct-decls)",e.cookBookTag[75]="",e.cookBookTag[76]="",e.cookBookTag[77]="",e.cookBookTag[78]="",e.cookBookTag[79]="Type annotation in catch clause is not supported (arkts-no-types-in-catch)",e.cookBookTag[80]='"for .. in" is not supported (arkts-no-for-in)',e.cookBookTag[81]="",e.cookBookTag[82]="",e.cookBookTag[83]="Mapped type expression is not supported (arkts-no-mapped-types)",e.cookBookTag[84]='"with" statement is not supported (arkts-no-with)',e.cookBookTag[85]="",e.cookBookTag[86]="",e.cookBookTag[87]='"throw" statements cannot accept values of arbitrary types (arkts-limited-throw)',e.cookBookTag[88]="",e.cookBookTag[89]="",e.cookBookTag[90]="Function return type inference is limited (arkts-no-implicit-return-types)",e.cookBookTag[91]="Destructuring parameter declarations are not supported (arkts-no-destruct-params)",e.cookBookTag[92]="Nested functions are not supported (arkts-no-nested-funcs)",e.cookBookTag[93]='Using "this" inside stand-alone functions is not supported (arkts-no-standalone-this)',e.cookBookTag[94]="Generator functions are not supported (arkts-no-generators)",e.cookBookTag[95]="",e.cookBookTag[96]='Type guarding is supported with "instanceof" and "as" (arkts-no-is)',e.cookBookTag[97]="",e.cookBookTag[98]="",e.cookBookTag[99]="It is possible to spread only arrays or classes derived from arrays into the rest parameter or array literals (arkts-no-spread)",e.cookBookTag[100]="",e.cookBookTag[101]="",e.cookBookTag[102]="Interface can not extend interfaces with the same method (arkts-no-extend-same-prop)",e.cookBookTag[103]="Declaration merging is not supported (arkts-no-decl-merging)",e.cookBookTag[104]="Interfaces cannot extend classes (arkts-extends-only-class)",e.cookBookTag[105]="",e.cookBookTag[106]="Constructor function type is not supported (arkts-no-ctor-signatures-funcs)",e.cookBookTag[107]="",e.cookBookTag[108]="",e.cookBookTag[109]="",e.cookBookTag[110]="",e.cookBookTag[111]="Enumeration members can be initialized only with compile time expressions of the same type (arkts-no-enum-mixed-types)",e.cookBookTag[112]="",e.cookBookTag[113]='"enum" declaration merging is not supported (arkts-no-enum-merging)',e.cookBookTag[114]="Namespaces cannot be used as objects (arkts-no-ns-as-obj)",e.cookBookTag[115]="",e.cookBookTag[116]="Non-declaration statements in namespaces are not supported (single semicolons are considered as empty non-delcaration statements) (arkts-no-ns-statements)",e.cookBookTag[117]="",e.cookBookTag[118]="Special import type declarations are not supported (arkts-no-special-imports)",e.cookBookTag[119]="Importing a module for side-effects only is not supported (arkts-no-side-effects-imports)",e.cookBookTag[120]='"import default as ..." is not supported (arkts-no-import-default-as)',e.cookBookTag[121]='"require" and "import" assignment are not supported (arkts-no-require)',e.cookBookTag[122]="",e.cookBookTag[123]="",e.cookBookTag[124]="",e.cookBookTag[125]="",e.cookBookTag[126]='"export = ..." assignment is not supported (arkts-no-export-assignment)',e.cookBookTag[127]='Special "export type" declarations are not supported (arkts-no-special-exports)',e.cookBookTag[128]="Ambient module declaration is not supported (arkts-no-ambient-decls)",e.cookBookTag[129]="Wildcards in module names are not supported (arkts-no-module-wildcards)",e.cookBookTag[130]="Universal module definitions (UMD) are not supported (arkts-no-umd)",e.cookBookTag[131]="",e.cookBookTag[132]='"new.target" is not supported (arkts-no-new-target)',e.cookBookTag[133]="",e.cookBookTag[134]="Definite assignment assertions are not supported (arkts-no-definite-assignment)",e.cookBookTag[135]="",e.cookBookTag[136]="Prototype assignment is not supported (arkts-no-prototype-assignment)",e.cookBookTag[137]='"globalThis" is not supported (arkts-no-globalthis)',e.cookBookTag[138]="Some of utility types are not supported (arkts-no-utility-types)",e.cookBookTag[139]="Declaring properties on functions is not supported (arkts-no-func-props)",e.cookBookTag[140]='"Function.apply", "Function.bind", "Function.call" are not supported (arkts-no-func-apply-bind-call)',e.cookBookTag[141]="",e.cookBookTag[142]='"as const" assertions are not supported (arkts-no-as-const)',e.cookBookTag[143]="Import assertions are not supported (arkts-no-import-assertions)",e.cookBookTag[144]="Usage of standard library is restricted (arkts-limited-stdlib)",e.cookBookTag[145]="Strict type checking is enforced (arkts-strict-typing)",e.cookBookTag[146]="Switching off type checks with in-place comments is not allowed (arkts-strict-typing-required)",e.cookBookTag[147]="No dependencies on TypeScript code are currently allowed (arkts-no-ts-deps)",e.cookBookTag[148]="No decorators except ArkUI decorators are currently allowed (arkts-no-decorators-except-arkui)",e.cookBookTag[149]="Classes cannot be used as objects (arkts-no-classes-as-obj)",e.cookBookTag[150]='"import" statements after other statements are not allowed (arkts-no-misplaced-imports)',e.cookBookTag[151]='Usage of "ESObject" type is restricted (arkts-limited-esobj)'}(d||(d={})),function(e){!function(e){e.TYPE_0_IS_NOT_ASSIGNABLE_TO_TYPE_1_ERROR_CODE=2322,e.TYPE_UNKNOWN_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE=/^Type '(.*)\bunknown\b(.*)' is not assignable to type '.*'\.$/,e.TYPE_NULL_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE=/^Type 'null' is not assignable to type '.*'\.$/,e.TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE=/^Type 'undefined' is not assignable to type '.*'\.$/,e.ARGUMENT_OF_TYPE_0_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_ERROR_CODE=2345,e.ARGUMENT_OF_TYPE_NULL_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE=/^Argument of type 'null' is not assignable to parameter of type '.*'\.$/,e.ARGUMENT_OF_TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE=/^Argument of type 'undefined' is not assignable to parameter of type '.*'\.$/,e.NO_OVERLOAD_MATCHES_THIS_CALL_ERROR_CODE=2769;var t=function(){function t(e){this.inLibCall=!1,this.filteredDiagnosticMessages=[],this.filteredDiagnosticMessages=e}return t.prototype.configure=function(e,t){this.inLibCall=e,this.diagnosticMessages=t},t.prototype.checkMessageText=function(t){return!this.inLibCall||!(t.match(e.ARGUMENT_OF_TYPE_NULL_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE)||t.match(e.ARGUMENT_OF_TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE)||t.match(e.TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE)||t.match(e.TYPE_NULL_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE))},t.prototype.checkMessageChain=function(t){if(t.code==e.TYPE_0_IS_NOT_ASSIGNABLE_TO_TYPE_1_ERROR_CODE){if(t.messageText.match(e.TYPE_UNKNOWN_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE))return!1;if(this.inLibCall&&t.messageText.match(e.TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE))return!1;if(this.inLibCall&&t.messageText.match(e.TYPE_NULL_IS_NOT_ASSIGNABLE_TO_TYPE_1_RE))return!1}if(t.code==e.ARGUMENT_OF_TYPE_0_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_ERROR_CODE){if(this.inLibCall&&t.messageText.match(e.ARGUMENT_OF_TYPE_UNDEFINED_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE))return!1;if(this.inLibCall&&t.messageText.match(e.ARGUMENT_OF_TYPE_NULL_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_RE))return!1}return null==t.next||this.checkMessageChain(t.next[0])},t.prototype.checkFilteredDiagnosticMessages=function(e){if(0==this.filteredDiagnosticMessages.length)return!0;if("string"!=typeof e&&this.filteredDiagnosticMessages.includes(e))return!1;for(var t=0,r=this.filteredDiagnosticMessages;t<r.length;t++){var n=r[t];if("string"!=typeof e){for(var i=e,a=n;i;){if(!a)return!0;if(i.code!=a.code)return!0;if(i.messageText!=a.messageText)return!0;i=i.next?i.next[0]:void 0,a=a.next?a.next[0]:void 0}return!1}if(e==n.messageText)return!1}return!0},t.prototype.checkDiagnosticMessage=function(e){return!!this.diagnosticMessages&&(!(this.inLibCall&&!this.checkFilteredDiagnosticMessages(e))&&("string"==typeof e?this.checkMessageText(e):!!this.checkMessageChain(e)||(this.diagnosticMessages.push(e),!1)))},t}();e.LibraryTypeCallDiagnosticChecker=t}(e.LibraryTypeCallDiagnosticCheckerNamespace||(e.LibraryTypeCallDiagnosticCheckerNamespace={}))}(d||(d={})),function(e){!function(e){var t;!function(e){e[e.AnyType=0]="AnyType",e[e.SymbolType=1]="SymbolType",e[e.ObjectLiteralNoContextType=2]="ObjectLiteralNoContextType",e[e.ArrayLiteralNoContextType=3]="ArrayLiteralNoContextType",e[e.ComputedPropertyName=4]="ComputedPropertyName",e[e.LiteralAsPropertyName=5]="LiteralAsPropertyName",e[e.TypeQuery=6]="TypeQuery",e[e.RegexLiteral=7]="RegexLiteral",e[e.IsOperator=8]="IsOperator",e[e.DestructuringParameter=9]="DestructuringParameter",e[e.YieldExpression=10]="YieldExpression",e[e.InterfaceMerging=11]="InterfaceMerging",e[e.EnumMerging=12]="EnumMerging",e[e.InterfaceExtendsClass=13]="InterfaceExtendsClass",e[e.IndexMember=14]="IndexMember",e[e.WithStatement=15]="WithStatement",e[e.ThrowStatement=16]="ThrowStatement",e[e.IndexedAccessType=17]="IndexedAccessType",e[e.UnknownType=18]="UnknownType",e[e.ForInStatement=19]="ForInStatement",e[e.InOperator=20]="InOperator",e[e.ImportFromPath=21]="ImportFromPath",e[e.FunctionExpression=22]="FunctionExpression",e[e.IntersectionType=23]="IntersectionType",e[e.ObjectTypeLiteral=24]="ObjectTypeLiteral",e[e.CommaOperator=25]="CommaOperator",e[e.LimitedReturnTypeInference=26]="LimitedReturnTypeInference",e[e.LambdaWithTypeParameters=27]="LambdaWithTypeParameters",e[e.ClassExpression=28]="ClassExpression",e[e.DestructuringAssignment=29]="DestructuringAssignment",e[e.DestructuringDeclaration=30]="DestructuringDeclaration",e[e.VarDeclaration=31]="VarDeclaration",e[e.CatchWithUnsupportedType=32]="CatchWithUnsupportedType",e[e.DeleteOperator=33]="DeleteOperator",e[e.DeclWithDuplicateName=34]="DeclWithDuplicateName",e[e.UnaryArithmNotNumber=35]="UnaryArithmNotNumber",e[e.ConstructorType=36]="ConstructorType",e[e.ConstructorIface=37]="ConstructorIface",e[e.ConstructorFuncs=38]="ConstructorFuncs",e[e.CallSignature=39]="CallSignature",e[e.TypeAssertion=40]="TypeAssertion",e[e.PrivateIdentifier=41]="PrivateIdentifier",e[e.LocalFunction=42]="LocalFunction",e[e.ConditionalType=43]="ConditionalType",e[e.MappedType=44]="MappedType",e[e.NamespaceAsObject=45]="NamespaceAsObject",e[e.ClassAsObject=46]="ClassAsObject",e[e.NonDeclarationInNamespace=47]="NonDeclarationInNamespace",e[e.GeneratorFunction=48]="GeneratorFunction",e[e.FunctionContainsThis=49]="FunctionContainsThis",e[e.PropertyAccessByIndex=50]="PropertyAccessByIndex",e[e.JsxElement=51]="JsxElement",e[e.EnumMemberNonConstInit=52]="EnumMemberNonConstInit",e[e.ImplementsClass=53]="ImplementsClass",e[e.NoUndefinedPropAccess=54]="NoUndefinedPropAccess",e[e.MultipleStaticBlocks=55]="MultipleStaticBlocks",e[e.ThisType=56]="ThisType",e[e.IntefaceExtendDifProps=57]="IntefaceExtendDifProps",e[e.StructuralIdentity=58]="StructuralIdentity",e[e.DefaultImport=59]="DefaultImport",e[e.ExportAssignment=60]="ExportAssignment",e[e.ImportAssignment=61]="ImportAssignment",e[e.GenericCallNoTypeArgs=62]="GenericCallNoTypeArgs",e[e.ParameterProperties=63]="ParameterProperties",e[e.InstanceofUnsupported=64]="InstanceofUnsupported",e[e.ShorthandAmbientModuleDecl=65]="ShorthandAmbientModuleDecl",e[e.WildcardsInModuleName=66]="WildcardsInModuleName",e[e.UMDModuleDefinition=67]="UMDModuleDefinition",e[e.NewTarget=68]="NewTarget",e[e.DefiniteAssignment=69]="DefiniteAssignment",e[e.Prototype=70]="Prototype",e[e.GlobalThis=71]="GlobalThis",e[e.UtilityType=72]="UtilityType",e[e.PropertyDeclOnFunction=73]="PropertyDeclOnFunction",e[e.FunctionApplyBindCall=74]="FunctionApplyBindCall",e[e.ConstAssertion=75]="ConstAssertion",e[e.ImportAssertion=76]="ImportAssertion",e[e.SpreadOperator=77]="SpreadOperator",e[e.LimitedStdLibApi=78]="LimitedStdLibApi",e[e.ErrorSuppression=79]="ErrorSuppression",e[e.StrictDiagnostic=80]="StrictDiagnostic",e[e.UnsupportedDecorators=81]="UnsupportedDecorators",e[e.ImportAfterStatement=82]="ImportAfterStatement",e[e.EsObjectType=83]="EsObjectType",e[e.LAST_ID=84]="LAST_ID"}(t=e.FaultID||(e.FaultID={}));var r=function(){this.cookBookRef="-1"};e.FaultAttributs=r,e.faultsAttrs=[],e.faultsAttrs[t.LiteralAsPropertyName]={migratable:!0,cookBookRef:"1"},e.faultsAttrs[t.ComputedPropertyName]={cookBookRef:"1"},e.faultsAttrs[t.SymbolType]={cookBookRef:"2"},e.faultsAttrs[t.PrivateIdentifier]={migratable:!0,cookBookRef:"3"},e.faultsAttrs[t.DeclWithDuplicateName]={migratable:!0,cookBookRef:"4"},e.faultsAttrs[t.VarDeclaration]={migratable:!0,cookBookRef:"5"},e.faultsAttrs[t.AnyType]={cookBookRef:"8"},e.faultsAttrs[t.UnknownType]={cookBookRef:"8"},e.faultsAttrs[t.CallSignature]={cookBookRef:"14"},e.faultsAttrs[t.ConstructorType]={cookBookRef:"15"},e.faultsAttrs[t.MultipleStaticBlocks]={cookBookRef:"16"},e.faultsAttrs[t.IndexMember]={cookBookRef:"17"},e.faultsAttrs[t.IntersectionType]={cookBookRef:"19"},e.faultsAttrs[t.ThisType]={cookBookRef:"21"},e.faultsAttrs[t.ConditionalType]={cookBookRef:"22"},e.faultsAttrs[t.ParameterProperties]={migratable:!0,cookBookRef:"25"},e.faultsAttrs[t.ConstructorIface]={cookBookRef:"27"},e.faultsAttrs[t.IndexedAccessType]={cookBookRef:"28"},e.faultsAttrs[t.PropertyAccessByIndex]={migratable:!0,cookBookRef:"29"},e.faultsAttrs[t.StructuralIdentity]={cookBookRef:"30"},e.faultsAttrs[t.GenericCallNoTypeArgs]={cookBookRef:"34"},e.faultsAttrs[t.RegexLiteral]={cookBookRef:"37"},e.faultsAttrs[t.ObjectLiteralNoContextType]={cookBookRef:"38"},e.faultsAttrs[t.ObjectTypeLiteral]={cookBookRef:"40"},e.faultsAttrs[t.ArrayLiteralNoContextType]={cookBookRef:"43"},e.faultsAttrs[t.FunctionExpression]={migratable:!0,cookBookRef:"46"},e.faultsAttrs[t.LambdaWithTypeParameters]={migratable:!0,cookBookRef:"49"},e.faultsAttrs[t.ClassExpression]={migratable:!0,cookBookRef:"50"},e.faultsAttrs[t.ImplementsClass]={cookBookRef:"51"},e.faultsAttrs[t.NoUndefinedPropAccess]={cookBookRef:"52"},e.faultsAttrs[t.TypeAssertion]={migratable:!0,cookBookRef:"53"},e.faultsAttrs[t.JsxElement]={cookBookRef:"54"},e.faultsAttrs[t.UnaryArithmNotNumber]={cookBookRef:"55"},e.faultsAttrs[t.DeleteOperator]={cookBookRef:"59"},e.faultsAttrs[t.TypeQuery]={cookBookRef:"60"},e.faultsAttrs[t.InstanceofUnsupported]={cookBookRef:"65"},e.faultsAttrs[t.InOperator]={cookBookRef:"66"},e.faultsAttrs[t.DestructuringAssignment]={migratable:!0,cookBookRef:"69"},e.faultsAttrs[t.CommaOperator]={cookBookRef:"71"},e.faultsAttrs[t.DestructuringDeclaration]={migratable:!0,cookBookRef:"74"},e.faultsAttrs[t.CatchWithUnsupportedType]={migratable:!0,cookBookRef:"79"},e.faultsAttrs[t.ForInStatement]={cookBookRef:"80"},e.faultsAttrs[t.MappedType]={cookBookRef:"83"},e.faultsAttrs[t.WithStatement]={cookBookRef:"84"},e.faultsAttrs[t.ThrowStatement]={migratable:!0,cookBookRef:"87"},e.faultsAttrs[t.LimitedReturnTypeInference]={migratable:!0,cookBookRef:"90"},e.faultsAttrs[t.DestructuringParameter]={cookBookRef:"91"},e.faultsAttrs[t.LocalFunction]={migratable:!0,cookBookRef:"92"},e.faultsAttrs[t.FunctionContainsThis]={cookBookRef:"93"},e.faultsAttrs[t.GeneratorFunction]={cookBookRef:"94"},e.faultsAttrs[t.YieldExpression]={cookBookRef:"94"},e.faultsAttrs[t.IsOperator]={cookBookRef:"96"},e.faultsAttrs[t.SpreadOperator]={cookBookRef:"99"},e.faultsAttrs[t.IntefaceExtendDifProps]={cookBookRef:"102"},e.faultsAttrs[t.InterfaceMerging]={cookBookRef:"103"},e.faultsAttrs[t.InterfaceExtendsClass]={cookBookRef:"104"},e.faultsAttrs[t.ConstructorFuncs]={cookBookRef:"106"},e.faultsAttrs[t.EnumMemberNonConstInit]={cookBookRef:"111"},e.faultsAttrs[t.EnumMerging]={cookBookRef:"113"},e.faultsAttrs[t.NamespaceAsObject]={cookBookRef:"114"},e.faultsAttrs[t.NonDeclarationInNamespace]={cookBookRef:"116"},e.faultsAttrs[t.ImportFromPath]={cookBookRef:"119"},e.faultsAttrs[t.DefaultImport]={migratable:!0,cookBookRef:"120"},e.faultsAttrs[t.ImportAssignment]={cookBookRef:"121"},e.faultsAttrs[t.ExportAssignment]={cookBookRef:"126"},e.faultsAttrs[t.ShorthandAmbientModuleDecl]={cookBookRef:"128"},e.faultsAttrs[t.WildcardsInModuleName]={cookBookRef:"129"},e.faultsAttrs[t.UMDModuleDefinition]={cookBookRef:"130"},e.faultsAttrs[t.NewTarget]={cookBookRef:"132"},e.faultsAttrs[t.DefiniteAssignment]={warning:!0,cookBookRef:"134"},e.faultsAttrs[t.Prototype]={cookBookRef:"136"},e.faultsAttrs[t.GlobalThis]={cookBookRef:"137"},e.faultsAttrs[t.UtilityType]={cookBookRef:"138"},e.faultsAttrs[t.PropertyDeclOnFunction]={cookBookRef:"139"},e.faultsAttrs[t.FunctionApplyBindCall]={cookBookRef:"140"},e.faultsAttrs[t.ConstAssertion]={cookBookRef:"142"},e.faultsAttrs[t.ImportAssertion]={cookBookRef:"143"},e.faultsAttrs[t.LimitedStdLibApi]={cookBookRef:"144"},e.faultsAttrs[t.StrictDiagnostic]={cookBookRef:"145"},e.faultsAttrs[t.ErrorSuppression]={cookBookRef:"146"},e.faultsAttrs[t.UnsupportedDecorators]={warning:!0,cookBookRef:"148"},e.faultsAttrs[t.ClassAsObject]={cookBookRef:"149"},e.faultsAttrs[t.ImportAfterStatement]={cookBookRef:"150"},e.faultsAttrs[t.EsObjectType]={warning:!0,cookBookRef:"151"}}(e.Problems||(e.Problems={}))}(d||(d={})),function(e){!function(t){var r;t.PROPERTY_HAS_NO_INITIALIZER_ERROR_CODE=2564,t.NON_INITIALIZABLE_PROPERTY_DECORATORS=["Link","Consume","ObjectLink","Prop","BuilderParam"],t.NON_INITIALIZABLE_PROPERTY_ClASS_DECORATORS=["CustomDialog"],t.LIMITED_STANDARD_UTILITY_TYPES=["Awaited","Pick","Omit","Exclude","Extract","NonNullable","Parameters","ConstructorParameters","ReturnType","InstanceType","ThisParameterType","OmitThisParameter","ThisType","Uppercase","Lowercase","Capitalize","Uncapitalize"],t.ALLOWED_STD_SYMBOL_API=["iterator"],function(e){e[e.WARNING=1]="WARNING",e[e.ERROR=2]="ERROR"}(t.ProblemSeverity||(t.ProblemSeverity={})),t.ARKTS_IGNORE_DIRS=["node_modules","oh_modules","build",".preview"],t.ARKTS_IGNORE_FILES=["hvigorfile.ts"],t.setTypeChecker=function(e){r=e};var n=!1;function i(e){return e.kind>=62&&e.kind<=77}function a(r){return!(void 0===r||!e.isTypeReferenceNode(r))&&t.TYPED_ARRAYS.includes(s(r.typeName))}function o(t,r){return!(void 0===t||!e.isTypeReferenceNode(t))&&s(t.typeName)===r}function s(t){return e.isIdentifier(t)?t.escapedText.toString():s(t.left)+s(t.right)}function c(e){if(e.isUnion()){for(var t=0,r=e.types;t<r.length;t++){if(!(296&r[t].flags))return!1}return!0}return!!(296&e.getFlags())}function l(e){return!!(4&e.getFlags())}function u(e,t){var r=!!(67108864&e.flags);if(!p(e)||!e.isUnion()||r)return!1;for(var n=0,i=e.types;n<i.length;n++){if(!(i[n].flags&t))return!1}return!0}function d(e,t){var r=!!(67108864&e.flags);return!(!f(e)||r)&&!!(e.flags&t)}function p(e){return e.symbol&&!!(384&e.symbol.flags)}function f(e){return e.symbol&&!!(8&e.symbol.flags)}function m(e,t){if(!e)return!1;for(var r=0,n=e;r<n.length;r++){if(n[r].kind===t)return!0}return!1}function g(e){return 2097152&e.getFlags()?r.getAliasedSymbol(e):e}t.setTestMode=function(e){n=e},t.getStartPos=function(e){return 2===e.kind||3===e.kind?e.pos:e.getStart()},t.getEndPos=function(e){return 2===e.kind||3===e.kind?e.end:e.getEnd()},t.isAssignmentOperator=i,t.isTypedArray=a,t.isType=o,t.entityNameToString=s,t.isNumberType=c,t.isBooleanType=function(e){return!!(528&e.getFlags())},t.isStringLikeType=function(e){if(e.isUnion()){for(var t=0,r=e.types;t<r.length;t++){if(!(402653316&r[t].flags))return!1}return!0}return!!(402653316&e.getFlags())},t.isStringType=l,t.isPrimitiveEnumType=u,t.isPrimitiveEnumMemberType=d,t.unwrapParenthesizedType=function(t){for(;e.isParenthesizedTypeNode(t);)t=t.type;return t},t.findParentIf=function(e){for(var t=e.parent;t;){if(236===t.kind)return t;t=t.parent}return null},t.isDestructuringAssignmentLHS=function(t){for(var r=t.parent,n=t;r;){if(e.isBinaryExpression(r)&&i(r.operatorToken)&&r.left===n)return!0;if((e.isForStatement(r)||e.isForInStatement(r)||e.isForOfStatement(r))&&r.initializer&&r.initializer===n)return!0;n=r,r=r.parent}return!1},t.isEnumType=p,t.isEnumMemberType=f,t.isObjectLiteralType=function(e){return e.symbol&&!!(4096&e.symbol.flags)},t.isNumberLikeType=function(e){return!!(296&e.getFlags())},t.hasModifier=m,t.unwrapParenthesized=function(t){for(var r=t;e.isParenthesizedExpression(r);)r=r.expression;return r},t.followIfAliased=g;var _,h=new e.Map;function y(e){var t=h,n=t.get(e);if(void 0!==n)return null!==n?n:void 0;var i=r.getSymbolAtLocation(e);if(void 0!==i)return i=g(i),t.set(e,i),i;t.set(e,null)}function v(e){return M(e)||258===e||254===e||256===e||257===e}function b(e){var t=e.getFlags();return!!(16&t||512&t||8&t||256&t)}function k(e){var t,r,n;return E(e)&&1===(null===(t=e.typeArguments)||void 0===t?void 0:t.length)&&1===(null===(r=e.target.typeParameters)||void 0===r?void 0:r.length)&&"Array"===(null===(n=e.getSymbol())||void 0===n?void 0:n.getName())}function x(t,n){E(t)&&t.target!==t&&(t=t.target);var i=r.typeToTypeNode(t,void 0,0);if(n===_.Array&&(k(t)||a(i)))return!0;if(n!==_.Array&&o(i,n.toString()))return!0;if(!t.symbol||!t.symbol.declarations)return!1;for(var s=0,c=t.symbol.declarations;s<c.length;s++){var l=c[s];if((e.isClassDeclaration(l)||e.isInterfaceDeclaration(l))&&l.heritageClauses)for(var u=0,d=l.heritageClauses;u<d.length;u++){if(F(d[u].types,n))return!0}}return!1}function E(e){return!!(524288&e.getFlags())&&!!(4&e.objectFlags)}function S(e){return!!(1&e.getFlags())}function D(e){return!!(e.flags&&(1&e.flags||2&e.flags||2097152&e.flags))}function w(e){if(e&&e.declarations&&e.declarations.length>0)return e.declarations[0]}function T(t){if(e.isParenthesizedExpression(t)||e.isAsExpression(t)&&145===t.type.kind)return T(t.expression);switch(t.kind){case 216:return function(e){return t=e.operator,(39===t||40===t||54===t)&&T(e.operand);var t}(t);case 208:case 218:return function(e){return t=e.operatorToken,(41===t.kind||43===t.kind||44===t.kind||40===t.kind||39===t.kind||47===t.kind||48===t.kind||56===t.kind||49===t.kind||50===t.kind||52===t.kind||51===t.kind||55===t.kind)&&T(e.left)&&T(e.right);var t}(t);case 219:return function(e){return T(e.whenTrue)&&T(e.whenFalse)}(t);case 78:return function(t){var n=r.getSymbolAtLocation(t),i=w(n);return!!i&&(function(t){return e.isVariableDeclaration(t)&&e.isVariableDeclarationList(t.parent)}(i)&&C(i.parent)||294===i.kind)}(t);case 8:case 10:return!0;case 202:var n=t;if(A(n))return!0;var i=r.getSymbolAtLocation(n.expression);if(!i)return!1;var a=i.getDeclarations();return!(!a||1!==a.length)&&e.isEnumDeclaration(a[0]);default:return!1}}function C(t){return!!(2&e.getCombinedNodeFlags(t))}function A(e){var t=8===e.kind?Number(e.getText()):r.getConstantValue(e);return void 0!==t&&"number"==typeof t}function N(e){var t=r.getConstantValue(e);return void 0!==t&&"string"==typeof t}function P(t,r){if(E(t)&&t.target!==t&&(t=t.target),E(r)&&r.target!==r&&(r=r.target),t===r||O(r))return!0;if(!t.symbol||!t.symbol.declarations)return!1;for(var n=0,i=t.symbol.declarations;n<i.length;n++){var a=i[n];if((e.isClassDeclaration(a)||e.isInterfaceDeclaration(a))&&a.heritageClauses)for(var o=0,s=a.heritageClauses;o<s.length;o++){var c=s[o],l=!t.isClass()||94!==c.token;if(I(c.types,r,l))return!0}}return!1}function I(e,t,n){for(var i=0,a=e;i<a.length;i++){var o=a[i],s=r.getTypeAtLocation(o);if(E(s)&&s.target!==s&&(s=s.target),s&&s.isClass()!==n&&P(s,t))return!0}return!1}function F(e,t){for(var n=0,i=e;n<i.length;n++){var a=i[n],o=r.getTypeAtLocation(a);if(E(o)&&o.target!==o&&(o=o.target),o&&x(o,t))return!0}return!1}function O(e){if(!e)return!1;if(e.symbol&&e.isClassOrInterface()&&"Object"===e.symbol.name)return!0;var t=r.typeToTypeNode(e,void 0,void 0);return void 0!==t&&146===t.kind}function R(t){return!!t&&(void 0!==(t=H(t))&&t.isClassOrInterface()&&function(e){if(void 0===e.symbol.members)return!0;var t=!1,r=!1;return e.symbol.members.forEach((function(e){16384&e.flags&&(t=!0,void 0!==e.declarations&&e.declarations.length>0&&0===e.declarations[0].parameters.length)&&(r=!0)})),!t||r}(t)&&!function(t){if(void 0===t.symbol.members)return!1;var r=!1;return t.symbol.members.forEach((function(t){void 0!==t.declarations&&t.declarations.length>0&&e.isPropertyDeclaration(t.declarations[0])&&m(t.declarations[0].modifiers,143)&&(r=!0)})),r}(t)&&!function(e){return!!(e.isClass()&&e.symbol.declarations&&e.symbol.declarations.length>0&&m(e.symbol.declarations[0].modifiers,126))}(t))}function M(e){return 255===e}function L(e){return M(e.kind)}function j(e){var t=r.getPropertiesOfType(e);if(null==t?void 0:t.length)for(var n=0,i=t;n<i.length;n++){if(8192&i[n].getFlags())return!0}return!1}function B(e,t){var n=r.getPropertiesOfType(e);if(n.length)for(var i=0,a=n;i<a.length;i++){var o=a[i];if(o.name===t)return o}}function z(e){return e.isUnion()?e.getNonNullableType():e}function U(t,n){if(void 0===t)return!1;var i=z(t);if(S(i)||ee(i))return!0;if(function(t,n){if(ne(t)||b(t)){var i=e.isCallExpression(n)?de(n):r.getSymbolAtLocation(n);if(i&&te(i))return!0}return!1}(i,n))return!0;if(Y(i)&&e.isObjectLiteralExpression(n))return function(t){for(var r=0,n=t.properties;r<n.length;r++){var i=n[r];if(!i.name||!e.isStringLiteral(i.name)&&!e.isNumericLiteral(i.name))return!1}return!0}(n);if(X(i)||Q(i)||Z(i)){if(!i.aliasTypeArguments||1!==i.aliasTypeArguments.length)return!1;i=i.aliasTypeArguments[0]}var a=z(r.getTypeAtLocation(n));if(a.isUnion()){for(var o=!0,s=0,c=a.types;s<c.length;s++){var l=c[s];o&&(o=q(t,l))}return o}if(t.isUnion())for(var u=0,d=t.types;u<d.length;u++){if(U(l=d[u],n))return!0}return e.isObjectLiteralExpression(n)?function(t,r){if(e.isObjectLiteralExpression(r))return R(t)&&!j(t)&&K(t,r);return!1}(i,n):q(t,a)}function q(e,t){if(t.isUnion()){for(var n=!0,i=0,a=t.types;i<a.length;i++){var o=a[i];n&&(n=q(e,o))}return n}if(e.isUnion())for(var s=0,p=e.types;s<p.length;s++){if(q(o=p[s],t))return!0}var f=!!(32768&t.flags),m=!!(65536&t.flags);return!(!f&&!m)||(!(!S(e)&&!ee(e))||(!!function(e,t){var r=u(t,256)||d(t,256),n=u(t,128)||d(t,128);return c(e)&&r||l(e)&&n}(e=r.getBaseTypeOfLiteralType(e),t=r.getBaseTypeOfLiteralType(t))||(!!function(e,t){return(V(e)||J(e))&&(V(t)||J(t))}(e,t)||(e===t||P(t,H(e))))))}function J(e){var t=e.getCallSignatures();return t&&t.length>0}function V(e){var t=e.getSymbol();return t&&"Function"===t.getName()&&G(t)}function H(e){return 524288&e.getFlags()&&4&e.objectFlags?e.target:e}function K(t,n){for(var i,a=0,o=n.properties;a<o.length;a++){var s=o[a];if(e.isPropertyAssignment(s)){var c=s,l=B(t,c.name.getText());if(!l||!(null===(i=l.declarations)||void 0===i?void 0:i.length))return!1;if(!U(r.getTypeOfSymbolAtLocation(l,l.declarations[0]),c.initializer))return!1}}return!0}function W(e){var t=r.getFullyQualifiedName(e),n=t.lastIndexOf(".");return-1===n?void 0:t.substring(0,n)}function G(e){var t=W(e);return!t||"global"===t}function $(e,t){if(e)return e.find((function(e){return e.kind===t}))}function Y(e){if(e.aliasSymbol){var t=e.target;if(t){var r=t.aliasSymbol;return!!r&&"Record"===r.getName()&&G(r)}}return!1}function X(e){var t=e.aliasSymbol;return!!t&&"Partial"===t.getName()&&G(t)}function Q(e){var t=e.aliasSymbol;return!!t&&"Required"===t.getName()&&G(t)}function Z(e){var t=e.aliasSymbol;return!!t&&"Readonly"===t.getName()&&G(t)}function ee(e){var t,r=e.getNonNullableType();if(r.isUnion()){for(var n=0,i=r.types;n<i.length;n++){if(!ee(i[n]))return!1}return!0}return te(null!==(t=r.aliasSymbol)&&void 0!==t?t:r.getSymbol())}function te(r){if(r&&r.declarations&&r.declarations.length>0){var i=r.declarations[0].getSourceFile();if(!i)return!1;var a=i.fileName,o=e.getAnyExtensionFromPath(a),s=t.ARKTS_IGNORE_DIRS.some((function(t){return re(e.normalizePath(a),t)}))||t.ARKTS_IGNORE_FILES.some((function(t){return e.getBaseFileName(a)===t})),c=".ets"===o,l=".ts"===o&&!i.isDeclarationFile;return!((c||l&&n)&&!s)&&!t.STANDARD_LIBRARIES.includes(e.getBaseFileName(i.fileName).toLowerCase())}return!1}function re(t,r){for(var n=0,i=e.getPathComponents(t);n<i.length;n++){if(i[n]===r)return!0}return!1}function ne(e){var t;return ie(null!==(t=e.aliasSymbol)&&void 0!==t?t:e.getSymbol())}function ie(r){if(r&&r.declarations&&r.declarations.length>0){var n=r.declarations[0].getSourceFile();return n&&t.STANDARD_LIBRARIES.includes(e.getBaseFileName(n.fileName).toLowerCase())}return!1}function ae(e){return!!(67108864&e.flags)}function oe(e){if(void 0===e)return!1;if((e=e.getNonNullableType()).isUnion()){for(var t=0,r=e.types;t<r.length;t++){var n=oe(r[t]);if(n||void 0===n)return n}return!1}return!!ee(e)||!!(ne(e)||ae(e)||S(e))&&void 0}function se(r){return e.isTypeReferenceNode(r)&&e.isIdentifier(r.typeName)&&r.typeName.text===t.ES_OBJECT}function ce(e){var t=y(e);if(void 0!==t)return le(t)}function le(t){var r=w(t);if(r&&e.isVariableDeclaration(r))return r.type}function ue(e){if(e.isUnionOrIntersection()){for(var t=0,r=e.types;t<r.length;t++){if(ue(r[t]))return!0}return!1}return!!(524288&e.flags)&&!!(16&e.objectFlags)}function de(e){var t=r.getResolvedSignature(e),n=null==t?void 0:t.getDeclaration();if(n&&n.name)return r.getSymbolAtLocation(n.name)}t.trueSymbolAtLocation=y,t.isTypeDeclSyntaxKind=v,t.symbolHasDuplicateName=function(e,t){var r=null==e?void 0:e.getDeclarations();if(r)for(var n=0,i=r;n<i.length;n++){var a=i[n].kind,o=v(a)&&259===t||v(t)&&259===a;if(78!==a&&a!==t&&!o)return!0}return!1},t.isReferenceType=function(e){var t=e.getFlags();return!!(58982400&t||524288&t||16&t||32&t||67108864&t||8&t||4&t)},t.isPrimitiveType=b,t.isTypeSymbol=function(e){return!!(e&&e.flags&&(32&e.flags||64&e.flags))},t.isGenericArrayType=k,t.isDerivedFrom=x,t.isTypeReference=E,t.isNullType=function(t){return e.isLiteralTypeNode(t)&&104===t.literal.kind},t.isThisOrSuperExpr=function(e){return 108===e.kind||106===e.kind},t.isPrototypeSymbol=function(e){return!!e&&!!e.flags&&!!(4194304&e.flags)},t.isFunctionSymbol=function(e){return!!e&&!!e.flags&&!!(16&e.flags)},t.isInterfaceType=function(e){return!!(e&&e.symbol&&e.symbol.flags&&64&e.symbol.flags)},t.isAnyType=S,t.isUnknownType=function(e){return!!(2&e.getFlags())},t.isUnsupportedType=D,t.isUnsupportedUnionType=function(e){return!!e.isUnion()&&!(t=e,r=t.types,2===r.length&&(65536&r[0].flags||65536&r[1].flags)||function(e){var t=e.types;return 1048592===e.flags&&2===t.length&&512===t[0].flags&&512===t[1].flags}(e));var t,r},t.isFunctionOrMethod=function(e){return!!(e&&(16&e.flags||8192&e.flags))},t.isMethodAssignment=function(e){return!!e&&!!(8192&e.flags)&&!!(67108864&e.flags)},t.getDeclaration=w,t.isValidEnumMemberInit=function(e){return!!A(e.parent)||(!!N(e.parent)||T(e))},t.isCompileTimeExpression=T,t.isConst=C,t.isNumberConstantValue=A,t.isIntegerConstantValue=function(e){var t=8===e.kind?Number(e.getText()):r.getConstantValue(e);return void 0!==t&&"number"==typeof t&&t.toFixed(0)===t.toString()},t.isStringConstantValue=N,t.relatedByInheritanceOrIdentical=P,t.needToDeduceStructuralIdentity=function(e,t,r){if(void 0===r&&(r=!1),ee(t))return!1;var n=t.isClassOrInterface()&&e.isClassOrInterface()&&!P(e,t);return r&&n&&(n=!P(t,e)),n},t.hasPredecessor=function(e,t){for(var r=e.parent;void 0!==r;){if(t(r))return!0;r=r.parent}return!1},t.processParentTypes=I,t.processParentTypesCheck=F,t.isObjectType=O,t.logTscDiagnostic=function(t,r){t.forEach((function(t){var n=e.flattenDiagnosticMessageText(t.messageText,"\n");if(t.file&&t.start){var i=e.getLineAndCharacterOfPosition(t.file,t.start),a=i.line,o=i.character;n=t.file.fileName+" ("+(a+1)+", "+(o+1)+"): "+n}r(n)}))},t.encodeProblemInfo=function(e){return e.problem+"%"+e.start+"%"+e.end},t.decodeAutofixInfo=function(e){var t=e.split("%");return{problemID:t[0],start:Number.parseInt(t[1]),end:Number.parseInt(t[2])}},t.isCallToFunctionWithOmittedReturnType=function(t){if(e.isCallExpression(t)){var n=r.getResolvedSignature(t);if(n){var i=n.getDeclaration();if(!i||!i.type)return!0}}return!1},t.validateObjectLiteralType=R,t.isStructDeclarationKind=M,t.isStructDeclaration=L,t.isStructObjectInitializer=function(t){if(e.isCallLikeExpression(t.parent)){var n=r.getResolvedSignature(t.parent),i=null==n?void 0:n.declaration;return!!i&&e.isConstructorDeclaration(i)&&L(i.parent)}return!1},t.hasMethods=j,t.isExpressionAssignableToType=U,t.isLiteralType=function(e){return e.isLiteral()||!!(512&e.flags)},t.validateFields=K,t.isSupportedType=function t(r){if(e.isParenthesizedTypeNode(r))return t(r.type);if(e.isArrayTypeNode(r))return t(r.elementType);if(e.isTypeReferenceNode(r)&&r.typeArguments){for(var n=0,i=r.typeArguments;n<i.length;n++){if(!t(i[n]))return!1}return!0}if(e.isUnionTypeNode(r)){for(var a=0,o=r.types;a<o.length;a++){if(!t(o[a]))return!1}return!0}if(e.isTupleTypeNode(r)){for(var s=0,c=r.elements;s<c.length;s++){var l=c[s];if(e.isTypeNode(l)&&!t(l))return!1;if(e.isNamedTupleMember(l)&&!t(l.type))return!1}return!0}return!e.isTypeLiteralNode(r)&&!e.isTypeQueryNode(r)&&!e.isIntersectionTypeNode(r)&&(129!==(u=r.kind)&&153!==u&&149!==u&&190!==u&&185!==u&&191!==u&&186!==u);var u},t.isStruct=function(e){if(!e.declarations)return!1;for(var t=0,r=e.declarations;t<r.length;t++){if(L(r[t]))return!0}return!1},t.getDecorators=function(t){if(t.decorators)return e.filter(t.decorators,e.isDecorator)},function(e){e[e.Array=0]="Array",e.String="String",e.Set="Set",e.Map="Map",e.Error="Error"}(_=t.CheckType||(t.CheckType={})),t.ES_OBJECT="ESObject",t.LIMITED_STD_GLOBAL_FUNC=["eval"],t.LIMITED_STD_OBJECT_API=["__proto__","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__","assign","create","defineProperties","defineProperty","freeze","fromEntries","getOwnPropertyDescriptor","getOwnPropertyDescriptors","getOwnPropertySymbols","getPrototypeOf","hasOwnProperty","is","isExtensible","isFrozen","isPrototypeOf","isSealed","preventExtensions","propertyIsEnumerable","seal","setPrototypeOf"],t.LIMITED_STD_REFLECT_API=["apply","construct","defineProperty","deleteProperty","getOwnPropertyDescriptor","getPrototypeOf","isExtensible","preventExtensions","setPrototypeOf"],t.LIMITED_STD_PROXYHANDLER_API=["apply","construct","defineProperty","deleteProperty","get","getOwnPropertyDescriptor","getPrototypeOf","has","isExtensible","ownKeys","preventExtensions","set","setPrototypeOf"],t.ARKUI_DECORATORS=["AnimatableExtend","Builder","BuilderParam","Component","Concurrent","Consume","CustomDialog","Entry","Extend","Link","LocalStorageLink","LocalStorageProp","ObjectLink","Observed","Preview","Prop","Provide","Reusable","State","StorageLink","StorageProp","Styles","Watch"],t.FUNCTION_HAS_NO_RETURN_ERROR_CODE=2366,t.NON_RETURN_FUNCTION_DECORATORS=["AnimatableExtend","Builder","Extend","Styles"],t.STANDARD_LIBRARIES=["lib.dom.d.ts","lib.dom.iterable.d.ts","lib.webworker.d.ts","lib.webworker.importscripd.ts","lib.webworker.iterable.d.ts","lib.scripthost.d.ts","lib.decorators.d.ts","lib.decorators.legacy.d.ts","lib.es5.d.ts","lib.es2015.core.d.ts","lib.es2015.collection.d.ts","lib.es2015.generator.d.ts","lib.es2015.iterable.d.ts","lib.es2015.promise.d.ts","lib.es2015.proxy.d.ts","lib.es2015.reflect.d.ts","lib.es2015.symbol.d.ts","lib.es2015.symbol.wellknown.d.ts","lib.es2016.array.include.d.ts","lib.es2017.object.d.ts","lib.es2017.sharedmemory.d.ts","lib.es2017.string.d.ts","lib.es2017.intl.d.ts","lib.es2017.typedarrays.d.ts","lib.es2018.asyncgenerator.d.ts","lib.es2018.asynciterable.d.ts","lib.es2018.intl.d.ts","lib.es2018.promise.d.ts","lib.es2018.regexp.d.ts","lib.es2019.array.d.ts","lib.es2019.object.d.ts","lib.es2019.string.d.ts","lib.es2019.symbol.d.ts","lib.es2019.intl.d.ts","lib.es2020.bigint.d.ts","lib.es2020.date.d.ts","lib.es2020.promise.d.ts","lib.es2020.sharedmemory.d.ts","lib.es2020.string.d.ts","lib.es2020.symbol.wellknown.d.ts","lib.es2020.intl.d.ts","lib.es2020.number.d.ts","lib.es2021.promise.d.ts","lib.es2021.string.d.ts","lib.es2021.weakref.d.ts","lib.es2021.intl.d.ts","lib.es2022.array.d.ts","lib.es2022.error.d.ts","lib.es2022.intl.d.ts","lib.es2022.object.d.ts","lib.es2022.sharedmemory.d.ts","lib.es2022.string.d.ts","lib.es2022.regexp.d.ts","lib.es2023.array.d.ts"],t.TYPED_ARRAYS=["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","BigInt64Array","BigUint64Array"],t.getParentSymbolName=W,t.isGlobalSymbol=G,t.isSymbolAPI=function(e){var t=W(e),r=t||e.escapedName;return"Symbol"===r||"SymbolConstructor"===r},t.isStdSymbol=function(t){return"Symbol"===e.TypeScriptLinter.tsTypeChecker.getFullyQualifiedName(t)&&G(t)},t.isSymbolIterator=function(e){var t=e.name,r=W(e);return("Symbol"===r||"SymbolConstructor"===r)&&"iterator"===t},t.isDefaultImport=function(e){var t;return"default"===(null===(t=null==e?void 0:e.propertyName)||void 0===t?void 0:t.text)},t.hasAccessModifier=function(e){var t=e.modifiers;return!!t&&(m(t,123)||m(t,122)||m(t,121))},t.getModifier=$,t.getAccessModifier=function(e){var t,r;return null!==(r=null!==(t=$(e,123))&&void 0!==t?t:$(e,122))&&void 0!==r?r:$(e,121)},t.isStdRecordType=Y,t.isStdPartialType=X,t.isStdRequiredType=Q,t.isStdReadonlyType=Z,t.isLibraryType=ee,t.hasLibraryType=function(e){return ee(r.getTypeAtLocation(e))},t.isLibrarySymbol=te,t.pathContainsDirectory=re,t.getScriptKind=function(t){var r=t.fileName;switch(e.getAnyExtensionFromPath(r).toLowerCase()){case".js":return 1;case".jsx":return 2;case".ts":return 3;case".tsx":return 4;case".json":return 6;default:return 0}},t.isStdLibraryType=ne,t.isStdLibrarySymbol=ie,t.isIntrinsicObjectType=ae,t.isDynamicType=oe,t.isDynamicLiteralInitializer=function(t){if(!e.isObjectLiteralExpression(t)&&!e.isArrayLiteralExpression(t))return!1;for(var n=t;e.isObjectLiteralExpression(n)||e.isArrayLiteralExpression(n);){var i=r.getContextualType(n);if(void 0!==i){var a=oe(i);if(void 0!==a)return a}n=n.parent,e.isPropertyAssignment(n)&&(n=n.parent)}if(e.isCallExpression(n)){var o=n;if(S(l=r.getTypeAtLocation(o.expression)))return!0;var s=l.symbol;if(te(s))return!0;if(e.isPropertyAccessExpression(o.expression)&&(s=r.getSymbolAtLocation(o.expression.expression))&&2097152&s.getFlags()&&te(s=r.getAliasedSymbol(s)))return!0}if(e.isBinaryExpression(n)){var c=n;if(e.isPropertyAccessExpression(c.left)){var l,u=c.left;return te((l=r.getTypeAtLocation(u.expression)).symbol)}}return!1},t.isEsObjectType=se,t.isInsideBlock=function(t){for(var r=t.parent;r;){if(e.isBlock(r))return!0;r=r.parent}return!1},t.isEsObjectPossiblyAllowed=function(t){return e.isVariableDeclaration(t.parent)},t.isValueAssignableToESObject=function(t){if(e.isArrayLiteralExpression(t)||e.isObjectLiteralExpression(t))return!1;var r=e.TypeScriptLinter.tsTypeChecker.getTypeAtLocation(t);return D(r)||ue(r)},t.getVariableDeclarationTypeNode=ce,t.getSymbolDeclarationTypeNode=le,t.hasEsObjectType=function(e){var t=ce(e);return void 0!==t&&se(t)},t.symbolHasEsObjectType=function(e){var t=le(e);return void 0!==t&&se(t)},t.isEsObjectSymbol=function(r){var n=w(r);return!!n&&e.isTypeAliasDeclaration(n)&&n.name.escapedText===t.ES_OBJECT&&129===n.type.kind},t.isAnonymousType=ue,t.getSymbolOfCallExpression=de,t.typeIsRecursive=function e(t,n){if(void 0===n&&(n=void 0),void 0===n)n=t;else{if(n===t)return!0;if(n.aliasSymbol)return!1}if(n.isUnion())for(var i=0,a=n.types;i<a.length;i++){if(e(t,a[i]))return!0}if(524288&n.flags&&4&n.objectFlags){var o=r.getTypeArguments(n);if(o)for(var s=0,c=o;s<c.length;s++){if(e(t,c[s]))return!0}}return!1}}(e.Utils||(e.Utils={}))}(d||(d={})),function(e){!function(t){var r=e.Problems.FaultID;t.AUTOFIX_ALL={problemID:"",start:-1,end:-1};var n=[r.LiteralAsPropertyName,r.PropertyAccessByIndex];t.autofixInfo=[],t.shouldAutofix=function(e,i){return!n.includes(i)&&(0!==t.autofixInfo.length&&(1===t.autofixInfo.length&&t.autofixInfo[0]===t.AUTOFIX_ALL||-1!==t.autofixInfo.findIndex((function(t){return t.start===e.getStart()&&t.end===e.getEnd()&&t.problemID===r[i]}))))};var i=e.createPrinter({omitTrailingSemicolon:!1,removeComments:!1});function a(e){return"__"+e.getText()}function o(e){var t=e.getText();return t.substring(1,t.length-1)}t.fixLiteralAsPropertyName=function(t){if(e.isPropertyDeclaration(t)||e.isPropertyAssignment(t)){var r=t.name,n=8===(i=r).kind?a(i):10===i.kind?o(i):"";if(n)return[{replacementText:n,start:r.getStart(),end:r.getEnd()}]}var i},t.fixPropertyAccessByIndex=function(t){if(e.isElementAccessExpression(t)){var r=t,n=8===(i=r.argumentExpression).kind?a(i):10===i.kind?o(i):"";if(n)return[{replacementText:r.expression.getText()+"."+n,start:r.getStart(),end:r.getEnd()}]}var i},t.fixFunctionExpression=function(t,r,n){void 0===r&&(r=t.parameters),void 0===n&&(n=t.type);var a=e.factory.createArrowFunction(void 0,void 0,r,n,e.factory.createToken(38),t.body),o=i.printNode(4,a,t.getSourceFile());return{start:t.getStart(),end:t.getEnd(),replacementText:o}},t.fixReturnType=function(t,r){var n=": "+i.printNode(4,r,t.getSourceFile()),a=function(t){if(t.body)for(var r=e.isArrowFunction(t)?t.equalsGreaterThanToken.getStart():t.body.getStart(),n=t.getChildren(),i=n.length-1;i>=0;i--){var a=n[i];if(21===a.kind&&a.getEnd()<r)return a.getEnd()}return-1}(t);return{start:a,end:a,replacementText:n}},t.fixCtorParameterProperties=function(t,r){for(var n=[],a=t.getStart(),o=[{start:a,end:a,replacementText:""}],s=0;s<t.parameters.length;s++){var c=t.parameters[s];if(e.isIdentifier(c.name)&&e.Utils.hasAccessModifier(c)){var l=e.factory.createIdentifier(c.name.text),u=e.factory.createPropertyDeclaration(void 0,c.modifiers,l,void 0,r[s],void 0),d=i.printNode(4,u,t.getSourceFile())+"\n";o[0].replacementText+=d;var p=e.factory.createParameterDeclaration(void 0,void 0,void 0,c.name,c.questionToken,c.type,c.initializer),f=i.printNode(4,p,t.getSourceFile());o.push({start:c.getStart(),end:c.getEnd(),replacementText:f}),n.push(e.factory.createExpressionStatement(e.factory.createAssignment(e.factory.createPropertyAccessExpression(e.factory.createThis(),l),l)))}}if(t.body){var m=e.factory.createBlock(n.concat(t.body.statements),!0),g=i.printNode(4,m,t.getSourceFile());o.push({start:t.body.getStart(),end:t.body.getEnd(),replacementText:g})}return o}}(e.Autofixer||(e.Autofixer={}))}(d||(d={})),function(e){var t=e.Problems.FaultID,r=function(){function r(){}return r.initStatic=function(){r.nodeDesc[t.AnyType]='"any" type',r.nodeDesc[t.SymbolType]='"symbol" type',r.nodeDesc[t.ObjectLiteralNoContextType]="Object literals with no context Class or Interface type",r.nodeDesc[t.ArrayLiteralNoContextType]="Array literals with no context Array type",r.nodeDesc[t.ComputedPropertyName]="Computed properties",r.nodeDesc[t.LiteralAsPropertyName]="String or integer literal as property name",r.nodeDesc[t.TypeQuery]='"typeof" operations',r.nodeDesc[t.RegexLiteral]="regex literals",r.nodeDesc[t.IsOperator]='"is" operations',r.nodeDesc[t.DestructuringParameter]="destructuring parameters",r.nodeDesc[t.YieldExpression]='"yield" operations',r.nodeDesc[t.InterfaceMerging]="merging interfaces",r.nodeDesc[t.EnumMerging]="merging enums",r.nodeDesc[t.InterfaceExtendsClass]="interfaces inherited from classes",r.nodeDesc[t.IndexMember]="index members",r.nodeDesc[t.WithStatement]='"with" statements',r.nodeDesc[t.ThrowStatement]='"throw" statements with expression of wrong type',r.nodeDesc[t.IndexedAccessType]="Indexed access type",r.nodeDesc[t.UnknownType]='"unknown" type',r.nodeDesc[t.ForInStatement]='"for-In" statements',r.nodeDesc[t.InOperator]='"in" operations',r.nodeDesc[t.ImportFromPath]="imports from path",r.nodeDesc[t.FunctionExpression]="function expressions",r.nodeDesc[t.IntersectionType]="intersection types and type literals",r.nodeDesc[t.ObjectTypeLiteral]="Object type literals",r.nodeDesc[t.CommaOperator]="comma operator",r.nodeDesc[t.LimitedReturnTypeInference]="Functions with limited return type inference",r.nodeDesc[t.LambdaWithTypeParameters]="Lambda function with type parameters",r.nodeDesc[t.ClassExpression]="Class expressions",r.nodeDesc[t.DestructuringAssignment]="Destructuring assignments",r.nodeDesc[t.DestructuringDeclaration]="Destructuring variable declarations",r.nodeDesc[t.VarDeclaration]='"var" declarations',r.nodeDesc[t.CatchWithUnsupportedType]='"catch" clause with unsupported exception type',r.nodeDesc[t.DeleteOperator]='"delete" operations',r.nodeDesc[t.DeclWithDuplicateName]="Declarations with duplicate name",r.nodeDesc[t.UnaryArithmNotNumber]="Unary arithmetics with not-numeric values",r.nodeDesc[t.ConstructorType]="Constructor type",r.nodeDesc[t.ConstructorFuncs]="Constructor function type is not supported",r.nodeDesc[t.ConstructorIface]="Construct signatures are not supported in interfaces",r.nodeDesc[t.CallSignature]="Call signatures",r.nodeDesc[t.TypeAssertion]="Type assertion expressions",r.nodeDesc[t.PrivateIdentifier]='Private identifiers (with "#" prefix)',r.nodeDesc[t.LocalFunction]="Local function declarations",r.nodeDesc[t.ConditionalType]="Conditional type",r.nodeDesc[t.MappedType]="Mapped type",r.nodeDesc[t.NamespaceAsObject]="Namespaces used as objects",r.nodeDesc[t.ClassAsObject]="Class used as object",r.nodeDesc[t.NonDeclarationInNamespace]="Non-declaration statements in namespaces",r.nodeDesc[t.GeneratorFunction]="Generator functions",r.nodeDesc[t.FunctionContainsThis]='Functions containing "this"',r.nodeDesc[t.PropertyAccessByIndex]="property access by index",r.nodeDesc[t.JsxElement]="JSX Elements",r.nodeDesc[t.EnumMemberNonConstInit]="Enum members with non-constant initializer",r.nodeDesc[t.ImplementsClass]='Class type mentioned in "implements" clause',r.nodeDesc[t.NoUndefinedPropAccess]="Access to undefined field",r.nodeDesc[t.MultipleStaticBlocks]="Multiple static blocks",r.nodeDesc[t.ThisType]='"this" type',r.nodeDesc[t.IntefaceExtendDifProps]="Extends same properties with different types",r.nodeDesc[t.StructuralIdentity]="Use of type structural identity",r.nodeDesc[t.DefaultImport]="Default import declarations",r.nodeDesc[t.ExportAssignment]="Export assignments (export = ..)",r.nodeDesc[t.ImportAssignment]="Import assignments (import = ..)",r.nodeDesc[t.GenericCallNoTypeArgs]="Generic calls without type arguments",r.nodeDesc[t.ParameterProperties]="Parameter properties in constructor",r.nodeDesc[t.InstanceofUnsupported]='Left-hand side of "instanceof" is wrong',r.nodeDesc[t.ShorthandAmbientModuleDecl]="Shorthand ambient module declaration",r.nodeDesc[t.WildcardsInModuleName]="Wildcards in module name",r.nodeDesc[t.UMDModuleDefinition]="UMD module definition",r.nodeDesc[t.NewTarget]='"new.target" meta-property',r.nodeDesc[t.DefiniteAssignment]="Definite assignment assertion",r.nodeDesc[t.Prototype]="Prototype assignment",r.nodeDesc[t.GlobalThis]="Use of globalThis",r.nodeDesc[t.UtilityType]="Standard Utility types",r.nodeDesc[t.PropertyDeclOnFunction]="Property declaration on function",r.nodeDesc[t.FunctionApplyBindCall]="Invoking methods of function objects",r.nodeDesc[t.ConstAssertion]='"as const" assertion',r.nodeDesc[t.ImportAssertion]="Import assertion",r.nodeDesc[t.SpreadOperator]="Spread operation",r.nodeDesc[t.LimitedStdLibApi]="Limited standard library API",r.nodeDesc[t.ErrorSuppression]="Error suppression annotation",r.nodeDesc[t.StrictDiagnostic]="Strict diagnostic",r.nodeDesc[t.UnsupportedDecorators]="Unsupported decorators",r.nodeDesc[t.ImportAfterStatement]="Import declaration after other declaration or statement",r.nodeDesc[t.EsObjectType]='Restricted "ESObject" type'},r.nodeDesc=[],r.tsSyntaxKindNames=[],r.terminalTokens=new e.Set([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,45,46,47,48,49,50,51,52,53,54,55,56,60,57,58,59,61,62,63,64,65,66,67,68,69,70,71,72,73,77,1,2,3,4,5,6,7]),r.incrementOnlyTokens=new e.Map([[129,t.AnyType],[149,t.SymbolType],[188,t.ThisType],[177,t.TypeQuery],[212,t.DeleteOperator],[13,t.RegexLiteral],[173,t.IsOperator],[221,t.YieldExpression],[172,t.IndexMember],[245,t.WithStatement],[190,t.IndexedAccessType],[153,t.UnknownType],[101,t.InOperator],[170,t.CallSignature],[184,t.IntersectionType],[178,t.ObjectTypeLiteral],[176,t.ConstructorFuncs],[79,t.PrivateIdentifier],[185,t.ConditionalType],[191,t.MappedType],[276,t.JsxElement],[277,t.JsxElement],[263,t.ImportAssignment],[262,t.UMDModuleDefinition]]),r}();e.LinterConfig=r}(d||(d={})),function(e){var t=e.Problems.FaultID,r=e.Problems.faultsAttrs,n=e.perfLogger,i=e.LibraryTypeCallDiagnosticCheckerNamespace.ARGUMENT_OF_TYPE_0_IS_NOT_ASSIGNABLE_TO_PARAMETER_OF_TYPE_1_ERROR_CODE,a=e.LibraryTypeCallDiagnosticCheckerNamespace.TYPE_0_IS_NOT_ASSIGNABLE_TO_TYPE_1_ERROR_CODE,o=e.LibraryTypeCallDiagnosticCheckerNamespace.NO_OVERLOAD_MATCHES_THIS_CALL_ERROR_CODE,s=e.LibraryTypeCallDiagnosticCheckerNamespace.LibraryTypeCallDiagnosticChecker,c=function(){function c(t,r,n){this.sourceFile=t,this.tscStrictDiagnostics=n,this.handlersMap=new e.Map([[201,this.handleObjectLiteralExpression],[200,this.handleArrayLiteralExpression],[161,this.handleParameter],[258,this.handleEnumDeclaration],[256,this.handleInterfaceDeclaration],[248,this.handleThrowStatement],[265,this.handleImportClause],[239,this.handleForStatement],[240,this.handleForInStatement],[241,this.handleForOfStatement],[264,this.handleImportDeclaration],[202,this.handlePropertyAccessExpression],[164,this.handlePropertyAssignmentOrDeclaration],[291,this.handlePropertyAssignmentOrDeclaration],[209,this.handleFunctionExpression],[210,this.handleArrowFunction],[223,this.handleClassExpression],[290,this.handleCatchClause],[253,this.handleFunctionDeclaration],[216,this.handlePrefixUnaryExpression],[218,this.handleBinaryExpression],[252,this.handleVariableDeclarationList],[251,this.handleVariableDeclaration],[254,this.handleClassDeclaration],[259,this.handleModuleDeclaration],[257,this.handleTypeAliasDeclaration],[268,this.handleImportSpecifier],[266,this.handleNamespaceImport],[207,this.handleTypeAssertionExpression],[166,this.handleMethodDeclaration],[78,this.handleIdentifier],[203,this.handleElementAccessExpression],[294,this.handleEnumMember],[174,this.handleTypeReference],[269,this.handleExportAssignment],[204,this.handleCallExpression],[228,this.handleMetaProperty],[205,this.handleNewExpression],[226,this.handleAsExpression],[222,this.handleSpreadOp],[293,this.handleSpreadOp],[168,this.handleGetAccessor],[169,this.handleSetAccessor],[171,this.handleConstructSignature],[225,this.handleExpressionWithTypeArguments],[159,this.handleComputedPropertyName]]),this.validatedTypesSet=new e.Set,c.tsTypeChecker=r.getTypeChecker(),this.currentErrorLine=0,this.currentWarningLine=0,this.staticBlocks=new e.Set,this.libraryTypeCallDiagnosticChecker=new s(c.filteredDiagnosticMessages)}return c.initGlobals=function(){c.filteredDiagnosticMessages=[]},c.initStatic=function(){c.strictMode=!0,c.logTscErrors=!1,c.warningsAsErrors=!1,c.lintEtsOnly=!0,c.totalVisitedNodes=0,c.nodeCounters=[],c.lineCounters=[],c.totalErrorLines=0,c.totalWarningLines=0,c.errorLineNumbersString="",c.warningLineNumbersString="",e.Autofixer.autofixInfo.length=0;for(var r=0;r<t.LAST_ID;r++)c.nodeCounters[r]=0,c.lineCounters[r]=0;c.problemsInfos=[]},c.prototype.incrementCounters=function(i,a,o,s){if(void 0===o&&(o=!1),c.strictMode||!r[a].migratable){var l=e.Utils.getStartPos(i),u=e.Utils.getEndPos(i);c.nodeCounters[a]++;var d=this.sourceFile.getLineAndCharacterOfPosition(l),p=d.line,f=d.character;++p,++f;var m=e.LinterConfig.nodeDesc[a],g="unknown",_=r[a]?Number(r[a].cookBookRef):0,h=e.cookBookTag[_],y=e.Utils.ProblemSeverity.ERROR;r[a]&&r[a].warning&&(y=e.Utils.ProblemSeverity.WARNING);var v={line:p,column:f,start:l,end:u,type:g,severity:y,problem:t[a],suggest:_>0?e.cookBookMsg[_]:"",rule:_>0&&""!==h?h:m||g,ruleTag:_,autofixable:o,autofix:s};c.problemsInfos.push(v),c.reportDiagnostics||n.logEvent("Warning: "+this.sourceFile.fileName+" ("+p+", "+f+"): "+(m||g)),c.lineCounters[a]++,r[a].warning?p!==this.currentWarningLine&&(this.currentWarningLine=p,++c.totalWarningLines,c.warningLineNumbersString+=p+", "):p!==this.currentErrorLine&&(this.currentErrorLine=p,++c.totalErrorLines,c.errorLineNumbersString+=p+", ")}},c.prototype.visitTSNode=function(t){var r=this;!function t(n){if(null===n||null===n.kind)return;if(c.totalVisitedNodes++,e.isStructDeclaration(n))return void r.handleStructDeclaration(n);if(r.handleComments(n),e.LinterConfig.terminalTokens.has(n.kind))return;var i=e.LinterConfig.incrementOnlyTokens.get(n.kind);if(void 0!==i)r.incrementCounters(n,i);else{var a=r.handlersMap.get(n.kind);void 0!==a&&a.call(r,n)}e.forEachChild(n,t)}(t)},c.prototype.countInterfaceExtendsDifferentPropertyTypes=function(e,r,n,i){if(i){var a=i.getText(),o=r.get(n);o?o!==a&&this.incrementCounters(e,t.IntefaceExtendDifProps):r.set(n,a)}},c.prototype.countDeclarationsWithDuplicateName=function(r,n,i){var a=c.tsTypeChecker.getSymbolAtLocation(r);a&&e.Utils.symbolHasDuplicateName(a,null!=i?i:n.kind)&&this.incrementCounters(n,t.DeclWithDuplicateName)},c.prototype.countClassMembersWithDuplicateName=function(r){for(var n=0,i=r.members;n<i.length;n++){var a=i[n];if(a.name&&(e.isIdentifier(a.name)||e.isPrivateIdentifier(a.name)))for(var o=0,s=r.members;o<s.length;o++){var c=s[o];if(a!==c&&(c.name&&(e.isIdentifier(c.name)||e.isPrivateIdentifier(c.name)))){if(e.isIdentifier(a.name)&&e.isPrivateIdentifier(c.name)&&a.name.text===c.name.text.substring(1)){this.incrementCounters(a,t.DeclWithDuplicateName);break}if(e.isPrivateIdentifier(a.name)&&e.isIdentifier(c.name)&&a.name.text.substring(1)===c.name.text){this.incrementCounters(a,t.DeclWithDuplicateName);break}}}}},c.prototype.functionContainsThis=function(t){var r=!1;return function t(n){r||(108!==n.kind?e.isClassDeclaration(n)||e.isClassExpression(n)||e.isModuleDeclaration(n)||e.isFunctionDeclaration(n)||e.isFunctionExpression(n)||n.forEachChild(t):r=!0)}(t),r},c.prototype.isPrototypePropertyAccess=function(t,r,n,i){if(!e.isIdentifier(t.name)||"prototype"!==t.name.text)return!1;for(var a=t;a&&e.isPropertyAccessExpression(a);){var o=e.Utils.trueSymbolAtLocation(a.expression);if(e.Utils.isLibrarySymbol(o))return!1;a=a.expression}if(e.isIdentifier(a)&&"prototype"!==a.text){var s=c.tsTypeChecker.getTypeAtLocation(a);if(e.Utils.isAnyType(s))return!1}if(e.Utils.isPrototypeSymbol(r))return!0;if(e.Utils.isTypeSymbol(n)||e.Utils.isFunctionSymbol(n))return!0;var l=c.tsTypeChecker.typeToTypeNode(i,void 0,0);return l&&e.isFunctionTypeNode(l)||e.Utils.isAnyType(i)},c.prototype.interfaceInheritanceLint=function(r,n){for(var i=0,a=n;i<a.length;i++){var o=a[i];if(94===o.token)for(var s=new e.Map,l=0,u=o.types;l<u.length;l++){var d=u[l],p=c.tsTypeChecker.getTypeAtLocation(d.expression);p.isClass()?this.incrementCounters(r,t.InterfaceExtendsClass):p.isClassOrInterface()&&this.lintForInterfaceExtendsDifferentPorpertyTypes(r,p,s)}}},c.prototype.lintForInterfaceExtendsDifferentPorpertyTypes=function(e,t,r){for(var n=0,i=t.getProperties();n<i.length;n++){var a=i[n];if(a.declarations){var o=a.declarations[0];(165===o.kind||166===o.kind||164===o.kind||163===o.kind)&&this.countInterfaceExtendsDifferentPropertyTypes(e,r,a.name,o.type)}}},c.prototype.handleObjectLiteralExpression=function(r){var n=r;if(!e.Utils.isDestructuringAssignmentLHS(n)){var i=c.tsTypeChecker.getContextualType(n);e.Utils.isStructObjectInitializer(n)||e.Utils.isDynamicLiteralInitializer(n)||e.Utils.isExpressionAssignableToType(i,n)||this.incrementCounters(r,t.ObjectLiteralNoContextType)}},c.prototype.handleArrayLiteralExpression=function(r){if(!e.Utils.isDestructuringAssignmentLHS(r)){for(var n=r,i=!1,a=0,o=n.elements;a<o.length;a++){var s=o[a];if(201===s.kind){var l=c.tsTypeChecker.getContextualType(s);if(!e.Utils.isDynamicLiteralInitializer(n)&&!e.Utils.isExpressionAssignableToType(l,s)){i=!0;break}}}i&&this.incrementCounters(r,t.ArrayLiteralNoContextType)}},c.prototype.handleParameter=function(r){var n=r;(e.isArrayBindingPattern(n.name)||e.isObjectBindingPattern(n.name))&&this.incrementCounters(r,t.DestructuringParameter);var i=n.modifiers;i&&(e.Utils.hasModifier(i,123)||e.Utils.hasModifier(i,122)||e.Utils.hasModifier(i,143)||e.Utils.hasModifier(i,121))&&this.incrementCounters(r,t.ParameterProperties),this.handleDecorators(n.decorators),this.handleDeclarationInferredType(n)},c.prototype.handleEnumDeclaration=function(r){var n=r;this.countDeclarationsWithDuplicateName(n.name,n);var i=e.Utils.trueSymbolAtLocation(n.name);if(i){var a=i.getDeclarations();if(a){for(var o=0,s=0,c=a;s<c.length;s++){258===c[s].kind&&o++}o>1&&this.incrementCounters(r,t.EnumMerging)}}},c.prototype.handleInterfaceDeclaration=function(r){var n=r,i=e.Utils.trueSymbolAtLocation(n.name),a=i?i.getDeclarations():null;if(a){for(var o=0,s=0,c=a;s<c.length;s++){256===c[s].kind&&o++}o>1&&this.incrementCounters(r,t.InterfaceMerging)}n.heritageClauses&&this.interfaceInheritanceLint(r,n.heritageClauses),this.countDeclarationsWithDuplicateName(n.name,n)},c.prototype.handleThrowStatement=function(r){var n=r,i=c.tsTypeChecker.getTypeAtLocation(n.expression);i.isClassOrInterface()&&e.Utils.isDerivedFrom(i,e.Utils.CheckType.Error)||this.incrementCounters(r,t.ThrowStatement)},c.prototype.handleForStatement=function(r){var n=r.initializer;n&&(e.isArrayLiteralExpression(n)||e.isObjectLiteralExpression(n))&&this.incrementCounters(n,t.DestructuringAssignment)},c.prototype.handleForInStatement=function(r){var n=r.initializer;(e.isArrayLiteralExpression(n)||e.isObjectLiteralExpression(n))&&this.incrementCounters(n,t.DestructuringAssignment),this.incrementCounters(r,t.ForInStatement)},c.prototype.handleForOfStatement=function(r){var n=r.initializer;(e.isArrayLiteralExpression(n)||e.isObjectLiteralExpression(n))&&this.incrementCounters(n,t.DestructuringAssignment)},c.prototype.handleImportDeclaration=function(r){for(var n=r,i=0,a=n.parent.statements;i<a.length;i++){var o=a[i];if(o===n)break;if(!e.isImportDeclaration(o)){this.incrementCounters(r,t.ImportAfterStatement);break}}10===n.moduleSpecifier.kind&&(n.importClause||this.incrementCounters(r,t.ImportFromPath))},c.prototype.handlePropertyAccessExpression=function(r){if(!e.isCallExpression(r.parent)||r!=r.parent.expression){var n=r,i=e.Utils.trueSymbolAtLocation(n),a=e.Utils.trueSymbolAtLocation(n.expression),o=c.tsTypeChecker.getTypeAtLocation(n.expression);this.isPrototypePropertyAccess(n,i,a,o)&&this.incrementCounters(n.name,t.Prototype),i&&e.Utils.isSymbolAPI(i)&&!e.Utils.ALLOWED_STD_SYMBOL_API.includes(i.getName())&&this.incrementCounters(n,t.SymbolType),a&&e.Utils.symbolHasEsObjectType(a)&&this.incrementCounters(n,t.EsObjectType)}},c.prototype.handlePropertyAssignmentOrDeclaration=function(r){var n,i=r.name;if(i&&(8===i.kind||10===i.kind)){var a=!1,o=!1;if(e.isPropertyAssignment(r)){var s=c.tsTypeChecker.getContextualType(r.parent);s&&(a=e.Utils.isStdRecordType(s),o=e.Utils.isLibraryType(s)||e.Utils.isDynamicLiteralInitializer(r.parent))}if(!a&&!o){var l=e.Autofixer.fixLiteralAsPropertyName(r),u=void 0!==l;e.Autofixer.shouldAutofix(r,t.LiteralAsPropertyName)||(l=void 0),this.incrementCounters(r,t.LiteralAsPropertyName,u,l)}}if(e.isPropertyDeclaration(r)){var d=r.decorators;this.handleDecorators(d),this.filterOutDecoratorsDiagnostics(d,e.Utils.NON_INITIALIZABLE_PROPERTY_DECORATORS,{begin:i.getStart(),end:i.getStart()},e.Utils.PROPERTY_HAS_NO_INITIALIZER_ERROR_CODE);var p=r.parent.decorators,f=null===(n=r.type)||void 0===n?void 0:n.getText();this.filterOutDecoratorsDiagnostics(p,e.Utils.NON_INITIALIZABLE_PROPERTY_ClASS_DECORATORS,{begin:i.getStart(),end:i.getStart()},e.Utils.PROPERTY_HAS_NO_INITIALIZER_ERROR_CODE,f),this.handleDeclarationInferredType(r),this.handleDefiniteAssignmentAssertion(r)}},c.prototype.filterOutDecoratorsDiagnostics=function(t,r,n,i,a){if(this.tscStrictDiagnostics&&this.sourceFile&&(null==t?void 0:t.some((function(t){var n="";return e.isIdentifier(t.expression)?n=t.expression.text:e.isCallExpression(t.expression)&&e.isIdentifier(t.expression.expression)&&(n=t.expression.expression.text),r.includes(e.Utils.NON_INITIALIZABLE_PROPERTY_ClASS_DECORATORS[0])?r.includes(n)&&"CustomDialogController"===a:r.includes(n)})))){var o=e.normalizePath(this.sourceFile.fileName),s=this.tscStrictDiagnostics.get(o);if(s){var c=s.filter((function(e){return e.code!==i||(void 0===e.start||(e.start<n.begin||e.start>n.end))}));this.tscStrictDiagnostics.set(o,c)}}},c.prototype.checkInRange=function(e,t){for(var r=0;r<e.length;r++)if(t>=e[r].begin&&t<e[r].end)return!1;return!0},c.prototype.filterStrictDiagnostics=function(t,r){if(!this.tscStrictDiagnostics||!this.sourceFile)return!1;var n=e.normalizePath(this.sourceFile.fileName),i=this.tscStrictDiagnostics.get(n);if(!i)return!1;var a=function(e){var n=t[e.code];return!n||(!(void 0!==e.start&&!n(e.start))||r.checkDiagnosticMessage(e.messageText))};return!i.every(a)&&(this.tscStrictDiagnostics.set(n,i.filter(a)),!0)},c.prototype.handleFunctionExpression=function(r){var n,i=r,a=void 0!==i.asteriskToken,o=this.functionContainsThis(i.body),s=e.Utils.hasPredecessor(i,e.isClassLike)||e.Utils.hasPredecessor(i,e.isInterfaceDeclaration),c=void 0!==i.typeParameters&&i.typeParameters.length>0,l=this.handleMissingReturnType(i),u=l[0],d=l[1],p=!(c||a||o||u);p&&e.Autofixer.shouldAutofix(r,t.FunctionExpression)&&(n=[e.Autofixer.fixFunctionExpression(i,i.parameters,d)]),this.incrementCounters(r,t.FunctionExpression,p,n),c&&this.incrementCounters(i,t.LambdaWithTypeParameters),a&&this.incrementCounters(i,t.GeneratorFunction),o&&!s&&this.incrementCounters(i,t.FunctionContainsThis),u&&this.incrementCounters(i,t.LimitedReturnTypeInference)},c.prototype.handleArrowFunction=function(r){var n=r,i=this.functionContainsThis(n.body),a=e.Utils.hasPredecessor(n,e.isClassLike)||e.Utils.hasPredecessor(n,e.isInterfaceDeclaration);i&&!a&&this.incrementCounters(n,t.FunctionContainsThis);var o=c.tsTypeChecker.getContextualType(n);o&&e.Utils.isLibraryType(o)||(n.type||this.handleMissingReturnType(n),n.typeParameters&&n.typeParameters.length>0&&this.incrementCounters(r,t.LambdaWithTypeParameters))},c.prototype.handleClassExpression=function(e){this.incrementCounters(e,t.ClassExpression)},c.prototype.handleFunctionDeclaration=function(r){var n=r;n.type||this.handleMissingReturnType(n),n.name&&this.countDeclarationsWithDuplicateName(n.name,n),n.body&&this.functionContainsThis(n.body)&&this.incrementCounters(r,t.FunctionContainsThis),e.isSourceFile(n.parent)||e.isModuleBlock(n.parent)||this.incrementCounters(n,t.LocalFunction),n.asteriskToken&&this.incrementCounters(r,t.GeneratorFunction)},c.prototype.handleMissingReturnType=function(r){if(!r.body)return[!1,void 0];var n,i,a=!1,o=e.isFunctionExpression(r),s=this.hasLimitedTypeInferenceFromReturnExpr(r.body),l=c.tsTypeChecker.getSignatureFromDeclaration(r);if(l){var u=c.tsTypeChecker.getReturnTypeOfSignature(l);!u||e.Utils.isUnsupportedType(u)?s=!0:s&&(a=!!(i=c.tsTypeChecker.typeToTypeNode(u,r,0)),!o&&i&&e.Autofixer.shouldAutofix(r,t.LimitedReturnTypeInference)&&(n=[e.Autofixer.fixReturnType(r,i)]))}return s&&!o&&this.incrementCounters(r,t.LimitedReturnTypeInference,a,n),[s&&!i,i]},c.prototype.hasLimitedTypeInferenceFromReturnExpr=function(t){var r=!1;if(e.isBlock(t))!function t(n){r||(e.isReturnStatement(n)&&n.expression&&e.Utils.isCallToFunctionWithOmittedReturnType(e.Utils.unwrapParenthesized(n.expression))?r=!0:e.isFunctionDeclaration(n)||e.isFunctionExpression(n)||e.isMethodDeclaration(n)||e.isAccessor(n)||e.isArrowFunction(n)||n.forEachChild(t))}(t);else{var n=e.Utils.unwrapParenthesized(t);r=e.Utils.isCallToFunctionWithOmittedReturnType(n)}return r},c.prototype.handlePrefixUnaryExpression=function(r){var n=r,i=n.operator;39!==i&&40!==i&&54!==i||(2344&c.tsTypeChecker.getTypeAtLocation(n.operand).getFlags()&&(54!==i||8!==n.operand.kind||e.Utils.isIntegerConstantValue(n.operand))||this.incrementCounters(r,t.UnaryArithmNotNumber))},c.prototype.handleBinaryExpression=function(r){var n=r,i=n.left,a=n.right;if(e.Utils.isAssignmentOperator(n.operatorToken)&&((e.isObjectLiteralExpression(i)||e.isArrayLiteralExpression(i))&&this.incrementCounters(r,t.DestructuringAssignment),e.isPropertyAccessExpression(i))){var o=e.Utils.trueSymbolAtLocation(i),s=e.Utils.trueSymbolAtLocation(i.expression);o&&8192&o.flags&&this.incrementCounters(i,t.NoUndefinedPropAccess),e.Utils.isMethodAssignment(o)&&s&&16&s.flags&&this.incrementCounters(i,t.PropertyDeclOnFunction)}var l=c.tsTypeChecker.getTypeAtLocation(i),u=c.tsTypeChecker.getTypeAtLocation(a);if(39===n.operatorToken.kind)if(e.Utils.isEnumMemberType(l)&&e.Utils.isEnumMemberType(u)){if(296&l.flags&&296&u.getFlags()||402653316&l.flags&&402653316&u.getFlags())return}else{if(e.Utils.isNumberType(l)&&e.Utils.isNumberType(u))return;if(e.Utils.isStringLikeType(l)||e.Utils.isStringLikeType(u))return}else if(50===n.operatorToken.kind||51===n.operatorToken.kind||52===n.operatorToken.kind||47===n.operatorToken.kind||48===n.operatorToken.kind||49===n.operatorToken.kind){if(!e.Utils.isNumberType(l)||!e.Utils.isNumberType(u)||8===i.kind&&!e.Utils.isIntegerConstantValue(i)||8===a.kind&&!e.Utils.isIntegerConstantValue(a))return}else if(27===n.operatorToken.kind){for(var d=n,p=d.parent;p&&218===p.kind;)p=(d=p).parent;if(p&&239===p.kind){var f=p;if(d===f.initializer||d===f.incrementor)return}this.incrementCounters(r,t.CommaOperator)}else if(102===n.operatorToken.kind){var m=e.Utils.unwrapParenthesized(n.left),g=e.Utils.trueSymbolAtLocation(m);if(108===i.kind)return;(e.Utils.isPrimitiveType(l)||e.isTypeNode(m)||e.Utils.isTypeSymbol(g))&&this.incrementCounters(r,t.InstanceofUnsupported)}else if(62===n.operatorToken.kind){e.Utils.needToDeduceStructuralIdentity(u,l)&&this.incrementCounters(n,t.StructuralIdentity);var _=e.Utils.getVariableDeclarationTypeNode(i);this.handleEsObjectAssignment(n,_,a)}},c.prototype.handleVariableDeclarationList=function(r){3&e.getCombinedNodeFlags(r)||this.incrementCounters(r,t.VarDeclaration)},c.prototype.handleVariableDeclaration=function(r){var n=this,i=r;(e.isArrayBindingPattern(i.name)||e.isObjectBindingPattern(i.name))&&this.incrementCounters(r,t.DestructuringDeclaration);var a=function(t){if(e.isIdentifier(t))n.countDeclarationsWithDuplicateName(t,t,t.parent.kind);else for(var r=0,i=t.elements;r<i.length;r++){var o=i[r];e.isOmittedExpression(o)||a(o.name)}};if(a(i.name),i.type&&i.initializer){var o=i.initializer,s=c.tsTypeChecker.getTypeAtLocation(i.type),l=c.tsTypeChecker.getTypeAtLocation(o);e.Utils.needToDeduceStructuralIdentity(l,s)&&this.incrementCounters(i,t.StructuralIdentity)}this.handleEsObjectDelaration(i),this.handleDeclarationInferredType(i),this.handleDefiniteAssignmentAssertion(i)},c.prototype.handleEsObjectDelaration=function(r){var n=!!r.type&&e.Utils.isEsObjectType(r.type),i=r.initializer&&e.Utils.getVariableDeclarationTypeNode(r.initializer),a=!!i&&e.Utils.isEsObjectType(i),o=e.Utils.isInsideBlock(r);!n&&!a||o?r.initializer&&this.handleEsObjectAssignment(r,r.type,r.initializer):this.incrementCounters(r,t.EsObjectType)},c.prototype.handleEsObjectAssignment=function(r,n,i){var a=!!n,o=!!n&&e.Utils.isEsObjectType(n),s=e.Utils.getVariableDeclarationTypeNode(i),c=!!s&&e.Utils.isEsObjectType(s);(a&&!o&&c||o&&!e.Utils.isValueAssignableToESObject(i))&&this.incrementCounters(r,t.EsObjectType)},c.prototype.handleCatchClause=function(e){var r=e;r.variableDeclaration&&r.variableDeclaration.type&&this.incrementCounters(e,t.CatchWithUnsupportedType)},c.prototype.handleClassDeclaration=function(e){var r=this,n=e;this.staticBlocks.clear(),n.name&&this.countDeclarationsWithDuplicateName(n.name,n),this.countClassMembersWithDuplicateName(n);var i=function(e){for(var n=0,i=e.types;n<i.length;n++){var a=i[n];c.tsTypeChecker.getTypeAtLocation(a.expression).isClass()&&117===e.token&&r.incrementCounters(a,t.ImplementsClass)}};if(n.heritageClauses)for(var a=0,o=n.heritageClauses;a<o.length;a++){var s=o[a];s&&i(s)}this.handleDecorators(n.decorators)},c.prototype.handleModuleDeclaration=function(r){var n=r;this.countDeclarationsWithDuplicateName(n.name,n);var i=n.body,a=n.modifiers;if(i&&e.isModuleBlock(i))for(var o=0,s=i.statements;o<s.length;o++){var c=s[o];switch(c.kind){case 234:case 253:case 254:case 256:case 257:case 258:case 270:case 259:break;default:this.incrementCounters(c,t.NonDeclarationInNamespace)}}16&n.flags||!e.Utils.hasModifier(a,134)||this.incrementCounters(n,t.ShorthandAmbientModuleDecl),e.isStringLiteral(n.name)&&n.name.text.includes("*")&&this.incrementCounters(n,t.WildcardsInModuleName)},c.prototype.handleTypeAliasDeclaration=function(e){var t=e;this.countDeclarationsWithDuplicateName(t.name,t)},c.prototype.handleImportClause=function(r){var n=r;if(n.name&&this.countDeclarationsWithDuplicateName(n.name,n),n.namedBindings&&e.isNamedImports(n.namedBindings)){for(var i=[],a=void 0,o=0,s=n.namedBindings.elements;o<s.length;o++){var c=s[o];e.Utils.isDefaultImport(c)?a=c:i.push(c)}if(a){this.incrementCounters(a,t.DefaultImport,!0,void 0)}}},c.prototype.handleImportSpecifier=function(e){var t=e;this.countDeclarationsWithDuplicateName(t.name,t)},c.prototype.handleNamespaceImport=function(e){var t=e;this.countDeclarationsWithDuplicateName(t.name,t)},c.prototype.handleTypeAssertionExpression=function(e){var r=e;"const"===r.type.getText()?this.incrementCounters(r,t.ConstAssertion):this.incrementCounters(e,t.TypeAssertion)},c.prototype.handleMethodDeclaration=function(r){var n,i,a=r,o=this.functionContainsThis(a),s=!1;if(a.modifiers)for(var c=0,l=a.modifiers;c<l.length;c++){if(124===l[c].kind){s=!0;break}}s&&o&&this.incrementCounters(r,t.FunctionContainsThis),a.type||this.handleMissingReturnType(a),a.asteriskToken&&this.incrementCounters(r,t.GeneratorFunction),this.handleDecorators(a.decorators),this.filterOutDecoratorsDiagnostics(e.Utils.getDecorators(a),e.Utils.NON_RETURN_FUNCTION_DECORATORS,{begin:a.parameters.end,end:null!==(i=null===(n=a.body)||void 0===n?void 0:n.getStart())&&void 0!==i?i:a.parameters.end},e.Utils.FUNCTION_HAS_NO_RETURN_ERROR_CODE)},c.prototype.handleIdentifier=function(r){var n=r,i=e.Utils.trueSymbolAtLocation(n);i&&(1536&i.flags&&33554432&i.flags&&"globalThis"===n.text?this.incrementCounters(r,t.GlobalThis):this.handleRestrictedValues(n,i))},c.prototype.isAllowedClassValueContext=function(t){for(var r=t;e.isPropertyAccessExpression(r.parent)||e.isQualifiedName(r.parent);)r=r.parent;if(e.isPropertyAssignment(r.parent)&&e.isObjectLiteralExpression(r.parent.parent)&&(r=r.parent.parent),e.isArrowFunction(r.parent)&&r.parent.body===r&&(r=r.parent),e.isCallExpression(r.parent)||e.isNewExpression(r.parent)){var n=r.parent.expression,i=e.Utils.isAnyType(c.tsTypeChecker.getTypeAtLocation(n))||e.Utils.hasLibraryType(n);if(n!==r&&i)return!0}return!1},c.prototype.handleRestrictedValues=function(r,n){512&n.flags&&n&&e.Utils.symbolHasDuplicateName(n,259)||928&n.flags&&!e.Utils.isStruct(n)&&this.identiferUseInValueContext(r,n)&&(32&n.flags&&this.isAllowedClassValueContext(r)||(512&n.flags?this.incrementCounters(r,t.NamespaceAsObject):this.incrementCounters(r,t.ClassAsObject)))},c.prototype.identiferUseInValueContext=function(t,r){for(var n=t;e.isPropertyAccessExpression(n.parent)||e.isQualifiedName(n.parent);)n=n.parent;var i=n.parent;return!(e.isTypeNode(i)&&!e.isTypeOfExpression(i)||this.isEnumPropAccess(t,r,i)||e.isExpressionWithTypeArguments(i)||e.isExportAssignment(i)||e.isExportSpecifier(i)||e.isMetaProperty(i)||e.isImportClause(i)||e.isClassLike(i)||e.isInterfaceDeclaration(i)||e.isModuleDeclaration(i)||e.isEnumDeclaration(i)||e.isNamespaceImport(i)||e.isImportSpecifier(i)||e.isImportEqualsDeclaration(i)||e.isQualifiedName(n)&&t!==n.right||e.isPropertyAccessExpression(n)&&t!==n.name||e.isNewExpression(n.parent)&&n===n.parent.expression||e.isBinaryExpression(n.parent)&&102===n.parent.operatorToken.kind)},c.prototype.isEnumPropAccess=function(t,r,n){return e.isElementAccessExpression(n)&&!!(384&r.flags)&&(n.expression==t||e.isPropertyAccessExpression(n.expression)&&n.expression.name==t)},c.prototype.handleElementAccessExpression=function(r){var n=r,i=c.tsTypeChecker.getTypeAtLocation(n.expression),a=c.tsTypeChecker.typeToTypeNode(i,void 0,0),o=e.Utils.isDerivedFrom(i,e.Utils.CheckType.Array),s=i.isClassOrInterface()&&!e.Utils.isGenericArrayType(i)&&!o,l=e.Utils.isThisOrSuperExpr(n.expression)&&!o;if(!e.Utils.isLibraryType(i)&&!e.Utils.isTypedArray(a)&&(s||e.Utils.isObjectLiteralType(i)||l)){var u=e.Autofixer.fixPropertyAccessByIndex(r),d=void 0!==u;e.Autofixer.shouldAutofix(r,t.PropertyAccessByIndex)||(u=void 0),this.incrementCounters(r,t.PropertyAccessByIndex,d,u)}e.Utils.hasEsObjectType(n.expression)&&this.incrementCounters(r,t.EsObjectType)},c.prototype.handleEnumMember=function(r){var n=r,i=c.tsTypeChecker.getTypeAtLocation(n),a=c.tsTypeChecker.getConstantValue(n);n.initializer&&!e.Utils.isValidEnumMemberInit(n.initializer)&&this.incrementCounters(r,t.EnumMemberNonConstInit);var o=n.parent.members[0],s=c.tsTypeChecker.getTypeAtLocation(o),l=c.tsTypeChecker.getConstantValue(o);void 0!==a&&"string"==typeof a&&void 0!==l&&"string"==typeof l||void 0!==a&&"number"==typeof a&&void 0!==l&&"number"==typeof l||s!==i&&this.incrementCounters(r,t.EnumMemberNonConstInit)},c.prototype.handleExportAssignment=function(e){e.isExportEquals&&this.incrementCounters(e,t.ExportAssignment)},c.prototype.handleCallExpression=function(r){var n=r,i=e.Utils.trueSymbolAtLocation(n.expression),a=c.tsTypeChecker.getTypeAtLocation(n.expression),o=c.tsTypeChecker.getResolvedSignature(n);this.handleImportCall(n),this.handleRequireCall(n),void 0!==i&&(this.handleStdlibAPICall(n,i),this.handleFunctionApplyBindPropCall(n,i),e.Utils.symbolHasEsObjectType(i)&&this.incrementCounters(n,t.EsObjectType)),void 0!==o&&(e.Utils.isLibrarySymbol(i)||this.handleGenericCallWithNoTypeArgs(n,o),this.handleStructIdentAndUndefinedInArgs(n,o)),this.handleLibraryTypeCall(n,a),e.isPropertyAccessExpression(n.expression)&&e.Utils.hasEsObjectType(n.expression.expression)&&this.incrementCounters(r,t.EsObjectType)},c.prototype.handleImportCall=function(r){if(100===r.expression.kind){var n=r.arguments;if(n.length>1&&e.isObjectLiteralExpression(n[1]))for(var i=0,a=n[1].properties;i<a.length;i++){var o=a[i];if((e.isPropertyAssignment(o)||e.isShorthandPropertyAssignment(o))&&"assert"===o.name.getText()){this.incrementCounters(o,t.ImportAssertion);break}}}},c.prototype.handleRequireCall=function(r){if(e.isIdentifier(r.expression)&&"require"===r.expression.text&&e.isVariableDeclaration(r.parent)){var n=c.tsTypeChecker.getTypeAtLocation(r.expression);e.Utils.isInterfaceType(n)&&"NodeRequire"===n.symbol.name&&this.incrementCounters(r.parent,t.ImportAssignment)}},c.prototype.handleGenericCallWithNoTypeArgs=function(r,n){var i,a,o=e.isNewExpression(r)?167:253,s=c.tsTypeChecker.signatureToSignatureDeclaration(n,o,void 0,70221856);if(null==s?void 0:s.typeArguments)for(var l=s.typeArguments,u=null!==(a=null===(i=r.typeArguments)||void 0===i?void 0:i.length)&&void 0!==a?a:0;u<l.length;++u){if(153==l[u].kind){this.incrementCounters(r,t.GenericCallNoTypeArgs);break}}},c.prototype.handleFunctionApplyBindPropCall=function(e,r){var n=c.tsTypeChecker.getFullyQualifiedName(r);c.listApplyBindCallApis.includes(n)&&this.incrementCounters(e,t.FunctionApplyBindCall)},c.prototype.handleStructIdentAndUndefinedInArgs=function(r,n){if(r.arguments)for(var i=0;i<r.arguments.length;++i){var a=r.arguments[i],o=c.tsTypeChecker.getTypeAtLocation(a);if(o){var s=i<n.parameters.length?i:n.parameters.length-1,l=n.parameters[s];if(l){var u=l.valueDeclaration;if(u&&e.isParameter(u)){var d=c.tsTypeChecker.getTypeOfSymbolAtLocation(l,u);if(u.dotDotDotToken&&e.Utils.isGenericArrayType(d)&&d.typeArguments&&(d=d.typeArguments[0]),!d)continue;e.Utils.needToDeduceStructuralIdentity(o,d)&&this.incrementCounters(a,t.StructuralIdentity)}}}}},c.prototype.handleStdlibAPICall=function(r,n){var i=n.getName(),a=e.Utils.getParentSymbolName(n);if(void 0!==a){var o=c.LimitedApis.get(a);void 0===o||null!==o.arr&&!o.arr.includes(i)||this.incrementCounters(r,o.fault)}else{if(e.Utils.LIMITED_STD_GLOBAL_FUNC.includes(i))return void this.incrementCounters(r,t.LimitedStdLibApi);var s=n.escapedName;"Symbol"!==s&&"SymbolConstructor"!==s||this.incrementCounters(r,t.SymbolType)}},c.prototype.findNonFilteringRangesFunctionCalls=function(t){for(var r=[],n=0,i=t.arguments;n<i.length;n++){var a=i[n];if(e.isArrowFunction(a)){var o=a;r.push({begin:o.body.pos,end:o.body.end})}else e.isCallExpression(a)&&r.push({begin:a.arguments.pos,end:a.arguments.end})}return r},c.prototype.handleLibraryTypeCall=function(t,r){var n,s=this,l=e.Utils.isLibraryType(r),u=[];this.libraryTypeCallDiagnosticChecker.configure(l,u);var d=this.findNonFilteringRangesFunctionCalls(t),p=[];if(0!==d.length){var f=d.length;p.push({begin:t.arguments.pos,end:d[0].begin}),p.push({begin:d[f-1].end,end:t.arguments.end});for(var m=0;m<f-1;m++)p.push({begin:d[m].end,end:d[m+1].begin})}else p.push({begin:t.arguments.pos,end:t.arguments.end});this.filterStrictDiagnostics(((n={})[i]=function(e){return s.checkInRange([{begin:t.pos,end:t.end}],e)},n[o]=function(e){return s.checkInRange([{begin:t.pos,end:t.end}],e)},n[a]=function(e){return s.checkInRange(p,e)},n),this.libraryTypeCallDiagnosticChecker);for(var g=0,_=u;g<_.length;g++){var h=_[g];c.filteredDiagnosticMessages.push(h)}},c.prototype.handleNewExpression=function(e){var t=e,r=c.tsTypeChecker.getResolvedSignature(t);void 0!==r&&(this.handleStructIdentAndUndefinedInArgs(t,r),this.handleGenericCallWithNoTypeArgs(t,r))},c.prototype.handleAsExpression=function(r){var n,i,a=r;"const"===a.type.getText()&&this.incrementCounters(r,t.ConstAssertion);var o=c.tsTypeChecker.getTypeAtLocation(a.type).getNonNullableType(),s=c.tsTypeChecker.getTypeAtLocation(a.expression).getNonNullableType();e.Utils.needToDeduceStructuralIdentity(s,o,!0)&&this.incrementCounters(a,t.StructuralIdentity),(e.Utils.isNumberType(s)&&"Number"===(null===(n=o.getSymbol())||void 0===n?void 0:n.getName())||e.Utils.isBooleanType(s)&&"Boolean"===(null===(i=o.getSymbol())||void 0===i?void 0:i.getName()))&&this.incrementCounters(r,t.TypeAssertion)},c.prototype.handleTypeReference=function(r){var n=r,i=e.Utils.isEsObjectType(n),a=e.Utils.isEsObjectPossiblyAllowed(n);if(!i||a){var o=e.Utils.entityNameToString(n.typeName);if(e.Utils.LIMITED_STANDARD_UTILITY_TYPES.includes(o))this.incrementCounters(r,t.UtilityType);else{var s="Partial"===e.Utils.entityNameToString(n.typeName),l=!!n.typeArguments&&1===n.typeArguments.length,u=!!n.typeArguments&&l&&n.typeArguments[0],d=u&&c.tsTypeChecker.getTypeFromTypeNode(u);s&&d&&!d.isClassOrInterface()&&this.incrementCounters(r,t.UtilityType)}}else this.incrementCounters(r,t.EsObjectType)},c.prototype.handleMetaProperty=function(e){"target"===e.name.text&&this.incrementCounters(e,t.NewTarget)},c.prototype.handleStructDeclaration=function(t){var r=this;t.forEachChild((function(t){e.isConstructorDeclaration(t)||r.visitTSNode(t)}))},c.prototype.handleSpreadOp=function(r){if(e.isSpreadElement(r)){var n=r,i=c.tsTypeChecker.getTypeAtLocation(n.expression);if(i){var a=c.tsTypeChecker.typeToTypeNode(i,void 0,0);if(void 0!==a&&(e.isCallLikeExpression(r.parent)||e.isArrayLiteralExpression(r.parent))&&(e.isArrayTypeNode(a)||e.Utils.isTypedArray(a)||e.Utils.isDerivedFrom(i,e.Utils.CheckType.Array)))return}}this.incrementCounters(r,t.SpreadOperator)},c.prototype.handleConstructSignature=function(e){switch(e.parent.kind){case 178:this.incrementCounters(e,t.ConstructorType);break;case 256:this.incrementCounters(e,t.ConstructorIface);break;default:return}},c.prototype.handleComments=function(t){var r=t.getSourceFile().getFullText(),n=t.parent;if(!n||n.getFullStart()!==t.getFullStart()){var i=e.getLeadingCommentRanges(r,t.getFullStart());if(i)for(var a=0,o=i;a<o.length;a++){var s=o[a];this.checkErrorSuppressingAnnotation(s,r)}}if(!n||n.getEnd()!==t.getEnd()){var c=e.getTrailingCommentRanges(r,t.getEnd());if(c)for(var l=0,u=c;l<u.length;l++){s=u[l];this.checkErrorSuppressingAnnotation(s,r)}}},c.prototype.handleExpressionWithTypeArguments=function(r){var n=r,i=e.Utils.trueSymbolAtLocation(n.expression);i&&e.Utils.isEsObjectSymbol(i)&&this.incrementCounters(n,t.EsObjectType)},c.prototype.handleComputedPropertyName=function(r){var n=r,i=e.Utils.trueSymbolAtLocation(n.expression);i&&e.Utils.isSymbolIterator(i)||this.incrementCounters(r,t.ComputedPropertyName)},c.prototype.checkErrorSuppressingAnnotation=function(e,r){var n=3===e.kind?r.slice(e.pos+2,e.end-2):r.slice(e.pos+2,e.end);if(!n.endsWith("\n")){var i=n.trim();(i.startsWith("@ts-ignore")||i.startsWith("@ts-nocheck")||i.startsWith("@ts-expect-error"))&&this.incrementCounters(e,t.ErrorSuppression)}},c.prototype.handleDecorators=function(r){if(r)for(var n=0,i=r;n<i.length;n++){var a=i[n],o="";e.isIdentifier(a.expression)?o=a.expression.text:e.isCallExpression(a.expression)&&e.isIdentifier(a.expression.expression)&&(o=a.expression.expression.text),e.Utils.ARKUI_DECORATORS.includes(o)||this.incrementCounters(a,t.UnsupportedDecorators)}},c.prototype.handleGetAccessor=function(e){this.handleDecorators(e.decorators)},c.prototype.handleSetAccessor=function(e){this.handleDecorators(e.decorators)},c.prototype.handleDeclarationInferredType=function(t){if(!(t.type||e.isCatchClause(t.parent)||e.isArrayBindingPattern(t.name)||e.isObjectBindingPattern(t.name))){var r=c.tsTypeChecker.getTypeAtLocation(t);r&&this.validateDeclInferredType(r,t)}},c.prototype.handleDefiniteAssignmentAssertion=function(e){void 0!==e.exclamationToken&&this.incrementCounters(e,t.DefiniteAssignment)},c.prototype.checkAnyOrUnknownChildNode=function(e){if(129===e.kind||153===e.kind)return!0;for(var t=0,r=e.getChildren();t<r.length;t++){var n=r[t];if(this.checkAnyOrUnknownChildNode(n))return!0}return!1},c.prototype.handleInferredObjectreference=function(e,t){var r=c.tsTypeChecker.getTypeArguments(e);if(r&&!this.checkAnyOrUnknownChildNode(t))for(var n=0,i=r;n<i.length;n++){var a=i[n];this.validateDeclInferredType(a,t)}},c.prototype.validateDeclInferredType=function(r,n){if(void 0===r.aliasSymbol){var i=524288&r.flags,a=4&r.objectFlags;if(i&&a)this.handleInferredObjectreference(r,n);else if(!this.validatedTypesSet.has(r)){if(r.isUnion()){this.validatedTypesSet.add(r);for(var o=0,s=r.types;o<s.length;o++){var c=s[o];this.validateDeclInferredType(c,n)}}e.Utils.isAnyType(r)?this.incrementCounters(n,t.AnyType):e.Utils.isUnknownType(r)&&this.incrementCounters(n,t.UnknownType)}}},c.prototype.lint=function(){this.visitTSNode(this.sourceFile)},c.reportDiagnostics=!0,c.problemsInfos=[],c.filteredDiagnosticMessages=[],c.listApplyBindCallApis=["Function.apply","Function.call","Function.bind","CallableFunction.apply","CallableFunction.call","CallableFunction.bind"],c.LimitedApis=new e.Map([["global",{arr:e.Utils.LIMITED_STD_GLOBAL_FUNC,fault:t.LimitedStdLibApi}],["Object",{arr:e.Utils.LIMITED_STD_OBJECT_API,fault:t.LimitedStdLibApi}],["ObjectConstructor",{arr:e.Utils.LIMITED_STD_OBJECT_API,fault:t.LimitedStdLibApi}],["Reflect",{arr:e.Utils.LIMITED_STD_REFLECT_API,fault:t.LimitedStdLibApi}],["ProxyHandler",{arr:e.Utils.LIMITED_STD_PROXYHANDLER_API,fault:t.LimitedStdLibApi}],["Symbol",{arr:null,fault:t.SymbolType}],["SymbolConstructor",{arr:null,fault:t.SymbolType}]]),c}();e.TypeScriptLinter=c}(d||(d={})),function(e){var t=function(){function t(t,i){var o=function(t,n){var i=a({},t.getCompilerOptions()),o=function(e){var t=r(),n=!1;return Object.keys(t).forEach((function(t){n=n||!!e[t]})),n}(i),s=r(!o),c=function(t,r,n,i){var a=function(e,t,r,n){var i={rootNames:e,host:r,options:t};n&&(i.options=Object.assign(i.options,n));return i.options.allowJs=!0,i.options.checkJs=!0,i}(t,r,n,i),o=e.createProgram(a);return o}(t.getRootFileNames(),i,n,s);return{strict:o?t:c,nonStrict:o?c:t,wasStrict:o}}(t,i),s=o.strict,c=o.nonStrict,l=o.wasStrict;this.diagnosticsExtractor=new n(s,c),this.wasStrict=l}return t.prototype.getOriginalProgram=function(){return this.wasStrict?this.diagnosticsExtractor.strictProgram:this.diagnosticsExtractor.nonStrictProgram},t.prototype.getStrictProgram=function(){return this.diagnosticsExtractor.strictProgram},t.prototype.getStrictDiagnostics=function(e){return this.diagnosticsExtractor.getStrictDiagnostics(e)},t}();function r(e){return void 0===e&&(e=!0),{strictNullChecks:e,strictFunctionTypes:e,strictPropertyInitialization:e,noImplicitReturns:e}}e.TSCCompiledProgram=t;var n=function(){function t(e,t){this.strictProgram=e,this.nonStrictProgram=t}return t.prototype.getStrictDiagnostics=function(t){var r=i(this.strictProgram,t).filter((function(e){return!(0===e.length&&0===e.start)})),n=i(this.nonStrictProgram,t).reduce((function(e,t){var r=o(t);return r&&e.add(r),e}),new e.Set);return r.filter((function(e){var t=o(e);return t&&!n.has(t)}))},t}();function i(e,t){var r=e.getSourceFile(t);return e.getSemanticDiagnostics(r).concat(e.getSyntacticDiagnostics(r)).filter((function(e){return e.file===r}))}function o(e){if(void 0!==e.start&&void 0!==e.length)return e.code+"%"+e.start+"%"+e.length}}(d||(d={})),function(e){function t(t,r){var n,i,a,o,s,c,l=r.severity===e.Utils.ProblemSeverity.ERROR?e.DiagnosticCategory.Error:e.DiagnosticCategory.Warning;return n=l,i=-1,a=t,o=r.start,s=r.end-r.start+1,c=r.rule,{category:n,code:i,file:a,start:o,length:s,messageText:c}}e.translateDiag=t,e.runArkTSLinter=function(r,n,i){var a;e.TypeScriptLinter.errorLineNumbersString="",e.TypeScriptLinter.warningLineNumbersString="";var o=[];e.LinterConfig.initStatic();var s=new e.TSCCompiledProgram(r,n),c=s.getStrictProgram(),l=[];i?l.push(i):l=c.getSourceFiles();var u=function(t,r){var n=new e.Map;return r.forEach((function(r){var i=t.getStrictDiagnostics(r.fileName);0!==i.length&&n.set(e.normalizePath(r.fileName),i)})),n}(s,l);e.TypeScriptLinter.initGlobals();for(var d=function(r){if(e.TypeScriptLinter.initStatic(),e.TypeScriptLinter.lintEtsOnly&&8!==r.scriptKind)return"continue";var n=new e.TypeScriptLinter(r,c,u);e.Utils.setTypeChecker(e.TypeScriptLinter.tsTypeChecker),n.lint();var i=null!==(a=u.get(r.fileName))&&void 0!==a?a:[];e.TypeScriptLinter.problemsInfos.forEach((function(e){return i.push(t(r,e))})),o.push.apply(o,i)},p=0,f=l;p<f.length;p++){d(f[p])}return o}}(d||(d={}))},89387:e=>{function t(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=89387,e.exports=t},95540:(e,t,r)=>{var n=r(20181).Buffer;void 0===n.from&&(n.from=function(e,t,r){return new n(e,t,r)},n.alloc=n.from),e.exports=n},51324:(e,t,r)=>{var n=r(51007),i=r(2203),a=r(95540);i.Writable&&i.Writable.prototype.destroy||(i=r(47715)),e.exports=function(e){return new n((function(t,r){var n=[],o=i.Transform().on("finish",(function(){t(a.concat(n))})).on("error",r);o._transform=function(e,t,r){n.push(e),r()},e.on("error",r).pipe(o)}))}},92321:(e,t,r)=>{var n,i=r(92096),a=r(2203);function o(e,t){return n||function(){var e,t,r;for(n=[],t=0;t<256;t++){for(e=t,r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>=1;n[t]=e>>>0}}(),e.charCodeAt&&(e=e.charCodeAt(0)),i(t).shiftRight(8).and(16777215).xor(n[i(t).xor(e).and(255)]).value}function s(){if(!(this instanceof s))return new s;this.key0=305419896,this.key1=591751049,this.key2=878082192}a.Writable&&a.Writable.prototype.destroy||(a=r(47715)),s.prototype.update=function(e){this.key0=o(e,this.key0),this.key1=i(this.key0).and(255).and(4294967295).add(this.key1),this.key1=i(this.key1).multiply(134775813).add(1).and(4294967295).value,this.key2=o(i(this.key1).shiftRight(24).and(255),this.key2)},s.prototype.decryptByte=function(e){var t=i(this.key2).or(2);return e^=i(t).multiply(i(1^t)).shiftRight(8).and(255),this.update(e),e},s.prototype.stream=function(){var e=a.Transform(),t=this;return e._transform=function(e,r,n){for(var i=0;i<e.length;i++)e[i]=t.decryptByte(e[i]);this.push(e),n()},e},e.exports=s},12994:(e,t,r)=>{var n=r(2203),i=r(39023);function a(){if(!(this instanceof a))return new a;n.Transform.call(this)}n.Writable&&n.Writable.prototype.destroy||(n=r(47715)),i.inherits(a,n.Transform),a.prototype._transform=function(e,t,r){r()},e.exports=a},63822:(e,t,r)=>{var n=r(46892),i=r(17437),a=r(20603),o=r(51007),s=r(51324),c=r(58189),l=r(95540),u=r(16928),d=r(41723).Writer,p=r(3214),f=l.alloc(4);f.writeUInt32LE(101010256,0),e.exports=function(e,t){var r,l,m,g,_=i(),h=i(),y=t&&t.tailSize||80;return t&&t.crx&&(l=function(e){var t=e.stream(0).pipe(i());return t.pull(4).then((function(e){var r;if(875721283===e.readUInt32LE(0))return t.pull(12).then((function(e){r=n.parse(e).word32lu("version").word32lu("pubKeyLength").word32lu("signatureLength").vars})).then((function(){return t.pull(r.pubKeyLength+r.signatureLength)})).then((function(e){return r.publicKey=e.slice(0,r.pubKeyLength),r.signature=e.slice(r.pubKeyLength),r.size=16+r.pubKeyLength+r.signatureLength,r}))}))}(e)),e.size().then((function(t){return r=t,e.stream(Math.max(0,t-y)).on("error",(function(e){_.emit("error",e)})).pipe(_),_.pull(f)})).then((function(){return o.props({directory:_.pull(22),crxHeader:l})})).then((function(t){var a=t.directory;if(m=t.crxHeader&&t.crxHeader.size||0,65535==(g=n.parse(a).word32lu("signature").word16lu("diskNumber").word16lu("diskStart").word16lu("numberOfRecordsOnDisk").word16lu("numberOfRecords").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars).numberOfRecords||65535==g.numberOfRecords||4294967295==g.offsetToStartOfCentralDirectory){const t=20,a=r-(y-_.match+t),o=i();return e.stream(a).pipe(o),o.pull(t).then((function(t){return function(e,t){var r=n.parse(t).word32lu("signature").word32lu("diskNumber").word64lu("offsetToStartOfCentralDirectory").word32lu("numberOfDisks").vars;if(117853008!=r.signature)throw new Error("invalid zip64 end of central dir locator signature (0x07064b50): 0x"+r.signature.toString(16));var a=i();return e.stream(r.offsetToStartOfCentralDirectory).pipe(a),a.pull(56)}(e,t)})).then((function(e){g=function(e){var t=n.parse(e).word32lu("signature").word64lu("sizeOfCentralDirectory").word16lu("version").word16lu("versionsNeededToExtract").word32lu("diskNumber").word32lu("diskStart").word64lu("numberOfRecordsOnDisk").word64lu("numberOfRecords").word64lu("sizeOfCentralDirectory").word64lu("offsetToStartOfCentralDirectory").vars;if(101075792!=t.signature)throw new Error("invalid zip64 end of central dir locator signature (0x06064b50): 0x0"+t.signature.toString(16));return t}(e)}))}g.offsetToStartOfCentralDirectory+=m})).then((function(){if(g.commentLength)return _.pull(g.commentLength).then((function(e){g.comment=e.toString("utf8")}))})).then((function(){return e.stream(g.offsetToStartOfCentralDirectory).pipe(h),g.extract=function(e){if(!e||!e.path)throw new Error("PATH_MISSING");return e.path=u.resolve(u.normalize(e.path)),g.files.then((function(t){return o.map(t,(function(t){if("Directory"!=t.type){var r=u.join(e.path,t.path);if(0==r.indexOf(e.path)){var n=e.getWriter?e.getWriter({path:r}):d({path:r});return new o((function(r,i){t.stream(e.password).on("error",i).pipe(n).on("close",r).on("error",i)}))}}}),{concurrency:e.concurrency>1?e.concurrency:1})}))},g.files=o.mapSeries(Array(g.numberOfRecords),(function(){return h.pull(46).then((function(t){var r=n.parse(t).word32lu("signature").word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return r.offsetToLocalFileHeader+=m,r.lastModifiedDateTime=p(r.lastModifiedDate,r.lastModifiedTime),h.pull(r.fileNameLength).then((function(e){return r.pathBuffer=e,r.path=e.toString("utf8"),r.isUnicode=!!(2048&r.flags),h.pull(r.extraFieldLength)})).then((function(e){return r.extra=c(e,r),h.pull(r.fileCommentLength)})).then((function(t){return r.comment=t,r.type=0===r.uncompressedSize&&/[\/\\]$/.test(r.path)?"Directory":"File",r.stream=function(t){return a(e,r.offsetToLocalFileHeader,t,r)},r.buffer=function(e){return s(r.stream(e))},r}))}))})),o.props(g)}))}},74773:(e,t,r)=>{var n=r(63735),i=r(51007),a=r(63822),o=r(2203);o.Writable&&o.Writable.prototype.destroy||(o=r(47715)),e.exports={buffer:function(e,t){return a({stream:function(t,r){var n=o.PassThrough();return n.end(e.slice(t,r)),n},size:function(){return i.resolve(e.length)}},t)},file:function(e,t){return a({stream:function(t,r){return n.createReadStream(e,{start:t,end:r&&t+r})},size:function(){return new i((function(t,r){n.stat(e,(function(e,n){e?r(e):t(n.size)}))}))}},t)},url:function(e,t,r){if("string"==typeof t&&(t={url:t}),!t.url)throw"URL missing";t.headers=t.headers||{};var n={stream:function(r,n){var i=Object.create(t);return i.headers=Object.create(t.headers),i.headers.range="bytes="+r+"-"+(n||""),e(i)},size:function(){return new i((function(r,n){var i=e(t);i.on("response",(function(e){i.abort(),e.headers["content-length"]?r(e.headers["content-length"]):n(new Error("Missing content length header"))})).on("error",n)}))}};return a(n,r)},s3:function(e,t,r){return a({size:function(){return new i((function(r,n){e.headObject(t,(function(e,t){e?n(e):r(t.ContentLength)}))}))},stream:function(r,n){var i={};for(var a in t)i[a]=t[a];return i.Range="bytes="+r+"-"+(n||""),e.getObject(i).createReadStream()}},r)},custom:function(e,t){return a(e,t)}}},20603:(e,t,r)=>{var n=r(51007),i=r(92321),a=r(17437),o=r(2203),s=r(46892),c=r(43106),l=r(58189),u=r(95540),d=r(3214);o.Writable&&o.Writable.prototype.destroy||(o=r(47715)),e.exports=function(e,t,r,p){var f=a(),m=o.PassThrough(),g=e.stream(t);return g.pipe(f).on("error",(function(e){m.emit("error",e)})),m.vars=f.pull(30).then((function(e){var t=s.parse(e).word32lu("signature").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;return t.lastModifiedDateTime=d(t.lastModifiedDate,t.lastModifiedTime),f.pull(t.fileNameLength).then((function(e){return t.fileName=e.toString("utf8"),f.pull(t.extraFieldLength)})).then((function(e){var a;return t.extra=l(e,t),p&&p.compressedSize&&(t=p),1&t.flags&&(a=f.pull(12).then((function(e){if(!r)throw new Error("MISSING_PASSWORD");var n=i();String(r).split("").forEach((function(e){n.update(e)}));for(var a=0;a<e.length;a++)e[a]=n.decryptByte(e[a]);t.decrypt=n,t.compressedSize-=12;var o=8&t.flags?t.lastModifiedTime>>8&255:t.crc32>>24&255;if(e[11]!==o)throw new Error("BAD_PASSWORD");return t}))),n.resolve(a).then((function(){return m.emit("vars",t),t}))}))})),m.vars.then((function(e){var t,r=!(8&e.flags)||e.compressedSize>0,n=e.compressionMethod?c.createInflateRaw():o.PassThrough();r?(m.size=e.uncompressedSize,t=e.compressedSize):(t=u.alloc(4)).writeUInt32LE(134695760,0);var i=f.stream(t);e.decrypt&&(i=i.pipe(e.decrypt.stream())),i.pipe(n).on("error",(function(e){m.emit("error",e)})).pipe(m).on("finish",(function(){g.destroy?g.destroy():g.abort?g.abort():g.close?g.close():g.push?g.push():console.log("warning - unable to close stream")}))})).catch((function(e){m.emit("error",e)})),m}},17437:(e,t,r)=>{var n=r(2203),i=r(51007),a=r(39023),o=r(95540);function s(){if(!(this instanceof s))return new s;n.Duplex.call(this,{decodeStrings:!1,objectMode:!0}),this.buffer=o.from("");var e=this;e.on("finish",(function(){e.finished=!0,e.emit("chunk",!1)}))}n.Writable&&n.Writable.prototype.destroy||(n=r(47715)),a.inherits(s,n.Duplex),s.prototype._write=function(e,t,r){this.buffer=o.concat([this.buffer,e]),this.cb=r,this.emit("chunk")},s.prototype.stream=function(e,t){var r,i=n.PassThrough(),a=this;function o(){if("function"==typeof a.cb){var e=a.cb;return a.cb=void 0,e()}}function s(){var n;if(a.buffer&&a.buffer.length){if("number"==typeof e)n=a.buffer.slice(0,e),a.buffer=a.buffer.slice(e),e-=n.length,r=!e;else{var c=a.buffer.indexOf(e);if(-1!==c)a.match=c,t&&(c+=e.length),n=a.buffer.slice(0,c),a.buffer=a.buffer.slice(c),r=!0;else{var l=a.buffer.length-e.length;l<=0?o():(n=a.buffer.slice(0,l),a.buffer=a.buffer.slice(l))}}n&&i.write(n,(function(){(0===a.buffer.length||e.length&&a.buffer.length<=e.length)&&o()}))}if(r)a.removeListener("chunk",s),i.end();else if(a.finished)return a.removeListener("chunk",s),void a.emit("error",new Error("FILE_ENDED"))}return a.on("chunk",s),s(),i},s.prototype.pull=function(e,t){if(0===e)return i.resolve("");if(!isNaN(e)&&this.buffer.length>e){var r=this.buffer.slice(0,e);return this.buffer=this.buffer.slice(e),i.resolve(r)}var a,s,c=o.from(""),l=this,u=n.Transform();return u._transform=function(e,t,r){c=o.concat([c,e]),r()},new i((function(r,n){if(a=n,s=function(e){l.__emittedError=e,n(e)},l.finished)return n(new Error("FILE_ENDED"));l.once("error",s),l.stream(e,t).on("error",n).pipe(u).on("finish",(function(){r(c)})).on("error",n)})).finally((function(){l.removeListener("error",a),l.removeListener("error",s)}))},s.prototype._read=function(){},e.exports=s},39149:(e,t,r)=>{e.exports=function(e){e.path=a.resolve(a.normalize(e.path));var t=new n(e),r=new o.Writable({objectMode:!0});r._write=function(t,r,n){if("Directory"==t.type)return n();var o=a.join(e.path,t.path);if(0!=o.indexOf(e.path))return n();const s=e.getWriter?e.getWriter({path:o}):i({path:o});t.pipe(s).on("error",n).on("close",n)};var l=s(t,r);return t.once("crx-header",(function(e){l.crxHeader=e})),t.pipe(r).on("finish",(function(){l.emit("close")})),l.promise=function(){return new c((function(e,t){l.on("close",e),l.on("error",t)}))},l};var n=r(199),i=r(41723).Writer,a=r(16928),o=r(2203),s=r(87450),c=r(51007)},199:(e,t,r)=>{var n=r(39023),i=r(43106),a=r(2203),o=r(46892),s=r(51007),c=r(17437),l=r(12994),u=r(51324),d=r(58189),p=r(95540),f=r(3214);a.Writable&&a.Writable.prototype.destroy||(a=r(47715));var m=p.alloc(4);function g(e){if(!(this instanceof g))return new g(e);var t=this;t._opts=e||{verbose:!1},c.call(t,t._opts),t.on("finish",(function(){t.emit("end"),t.emit("close")})),t._readRecord().catch((function(e){t.__emittedError&&t.__emittedError===e||t.emit("error",e)}))}m.writeUInt32LE(101010256,0),n.inherits(g,c),g.prototype._readRecord=function(){var e=this;return e.pull(4).then((function(t){if(0!==t.length){var r=t.readUInt32LE(0);if(875721283===r)return e._readCrxHeader();if(67324752===r)return e._readFile();if(33639248===r)return e.reachedCD=!0,e._readCentralDirectoryFileHeader();if(101010256===r)return e._readEndOfCentralDirectoryRecord();if(e.reachedCD){return e.pull(m,!0).then((function(){return e._readEndOfCentralDirectoryRecord()}))}e.emit("error",new Error("invalid signature: 0x"+r.toString(16)))}}))},g.prototype._readCrxHeader=function(){var e=this;return e.pull(12).then((function(t){return e.crxHeader=o.parse(t).word32lu("version").word32lu("pubKeyLength").word32lu("signatureLength").vars,e.pull(e.crxHeader.pubKeyLength+e.crxHeader.signatureLength)})).then((function(t){return e.crxHeader.publicKey=t.slice(0,e.crxHeader.pubKeyLength),e.crxHeader.signature=t.slice(e.crxHeader.pubKeyLength),e.emit("crx-header",e.crxHeader),e._readRecord()}))},g.prototype._readFile=function(){var e=this;return e.pull(26).then((function(t){var r=o.parse(t).word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;return r.lastModifiedDateTime=f(r.lastModifiedDate,r.lastModifiedTime),e.crxHeader&&(r.crxHeader=e.crxHeader),e.pull(r.fileNameLength).then((function(t){var n=t.toString("utf8"),o=a.PassThrough(),c=!1;return o.autodrain=function(){c=!0;var e=o.pipe(l());return e.promise=function(){return new s((function(t,r){e.on("finish",t),e.on("error",r)}))},e},o.buffer=function(){return u(o)},o.path=n,o.props={},o.props.path=n,o.props.pathBuffer=t,o.props.flags={isUnicode:!!(2048&r.flags)},o.type=0===r.uncompressedSize&&/[\/\\]$/.test(n)?"Directory":"File",e._opts.verbose&&("Directory"===o.type?console.log(" creating:",n):"File"===o.type&&(0===r.compressionMethod?console.log(" extracting:",n):console.log(" inflating:",n))),e.pull(r.extraFieldLength).then((function(t){var l=d(t,r);o.vars=r,o.extra=l,e._opts.forceStream?e.push(o):(e.emit("entry",o),(e._readableState.pipesCount||e._readableState.pipes&&e._readableState.pipes.length)&&e.push(o)),e._opts.verbose&&console.log({filename:n,vars:r,extra:l});var u,f=!(8&r.flags)||r.compressedSize>0;o.__autodraining=c;var m=r.compressionMethod&&!c?i.createInflateRaw():a.PassThrough();return f?(o.size=r.uncompressedSize,u=r.compressedSize):(u=p.alloc(4)).writeUInt32LE(134695760,0),new s((function(t,r){e.stream(u).pipe(m).on("error",(function(t){e.emit("error",t)})).pipe(o).on("finish",(function(){return f?e._readRecord().then(t).catch(r):e._processDataDescriptor(o).then(t).catch(r)}))}))}))}))}))},g.prototype._processDataDescriptor=function(e){var t=this;return t.pull(16).then((function(r){var n=o.parse(r).word32lu("dataDescriptorSignature").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").vars;return e.size=n.uncompressedSize,t._readRecord()}))},g.prototype._readCentralDirectoryFileHeader=function(){var e=this;return e.pull(42).then((function(t){var r=o.parse(t).word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return e.pull(r.fileNameLength).then((function(t){return r.fileName=t.toString("utf8"),e.pull(r.extraFieldLength)})).then((function(t){return e.pull(r.fileCommentLength)})).then((function(t){return e._readRecord()}))}))},g.prototype._readEndOfCentralDirectoryRecord=function(){var e=this;return e.pull(18).then((function(t){var r=o.parse(t).word16lu("diskNumber").word16lu("diskStart").word16lu("numberOfRecordsOnDisk").word16lu("numberOfRecords").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars;return e.pull(r.commentLength).then((function(t){t=t.toString("utf8"),e.end(),e.push(null)}))}))},g.prototype.promise=function(){var e=this;return new s((function(t,r){e.on("finish",t),e.on("error",r)}))},e.exports=g},3214:e=>{e.exports=function(e,t){const r=31&e,n=e>>5&15,i=1980+(e>>9&127),a=t?2*(31&t):0,o=t?t>>5&63:0,s=t?t>>11:0;return new Date(Date.UTC(i,n-1,r,s,o,a))}},58189:(e,t,r)=>{var n=r(46892);e.exports=function(e,t){for(var r;!r&&e&&e.length;){var i=n.parse(e).word16lu("signature").word16lu("partsize").word64lu("uncompressedSize").word64lu("compressedSize").word64lu("offset").word64lu("disknum").vars;1===i.signature?r=i:e=e.slice(i.partsize+4)}return r=r||{},4294967295===t.compressedSize&&(t.compressedSize=r.compressedSize),4294967295===t.uncompressedSize&&(t.uncompressedSize=r.uncompressedSize),4294967295===t.offsetToLocalFileHeader&&(t.offsetToLocalFileHeader=r.offset),r}},97315:(e,t,r)=>{var n=r(2203),i=r(199),a=r(87450),o=r(51324);n.Writable&&n.Writable.prototype.destroy||(n=r(47715)),e.exports=function(e,t){var r,s=n.PassThrough({objectMode:!0}),c=n.PassThrough(),l=n.Transform({objectMode:!0}),u=e instanceof RegExp?e:e&&new RegExp(e);l._transform=function(e,t,n){if(r||u&&!u.exec(e.path))return e.autodrain(),n();r=!0,d.emit("entry",e),e.on("error",(function(e){c.emit("error",e)})),e.pipe(c).on("error",(function(e){n(e)})).on("finish",(function(e){n(null,e)}))},s.pipe(i(t)).on("error",(function(e){c.emit("error",e)})).pipe(l).on("error",Object).on("finish",(function(){r?c.end():c.emit("error",new Error("PATTERN_NOT_FOUND"))}));var d=a(s,c);return d.buffer=function(){return o(c)},d}},28383:(e,t,r)=>{"use strict";var n=r(33225),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=d;var a=Object.create(r(15622));a.inherits=r(72017);var o=r(80253),s=r(38589);a.inherits(d,o);for(var c=i(s.prototype),l=0;l<c.length;l++){var u=c[l];d.prototype[u]||(d.prototype[u]=s.prototype[u])}function d(e){if(!(this instanceof d))return new d(e);o.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",p)}function p(){this.allowHalfOpen||this._writableState.ended||n.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),d.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},4291:(e,t,r)=>{"use strict";e.exports=a;var n=r(68609),i=Object.create(r(15622));function a(e){if(!(this instanceof a))return new a(e);n.call(this,e)}i.inherits=r(72017),i.inherits(a,n),a.prototype._transform=function(e,t,r){r(null,e)}},80253:(e,t,r)=>{"use strict";var n=r(33225);e.exports=y;var i,a=r(64634);y.ReadableState=h;r(24434).EventEmitter;var o=function(e,t){return e.listeners(t).length},s=r(54531),c=r(92861).Buffer,l=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u=Object.create(r(15622));u.inherits=r(72017);var d=r(39023),p=void 0;p=d&&d.debuglog?d.debuglog("stream"):function(){};var f,m=r(76005),g=r(46033);u.inherits(y,s);var _=["error","close","destroy","pause","resume"];function h(e,t){e=e||{};var n=t instanceof(i=i||r(28383));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var a=e.highWaterMark,o=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=a||0===a?a:n&&(o||0===o)?o:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(f||(f=r(83141).I),this.decoder=new f(e.encoding),this.encoding=e.encoding)}function y(e){if(i=i||r(28383),!(this instanceof y))return new y(e);this._readableState=new h(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),s.call(this)}function v(e,t,r,n,i){var a,o=e._readableState;null===t?(o.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,E(e)}(e,o)):(i||(a=function(e,t){var r;n=t,c.isBuffer(n)||n instanceof l||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(o,t)),a?e.emit("error",a):o.objectMode||t&&t.length>0?("string"==typeof t||o.objectMode||Object.getPrototypeOf(t)===c.prototype||(t=function(e){return c.from(e)}(t)),n?o.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):b(e,o,t,!0):o.ended?e.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!r?(t=o.decoder.write(t),o.objectMode||0!==t.length?b(e,o,t,!1):D(e,o)):b(e,o,t,!1))):n||(o.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(o)}function b(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&E(e)),D(e,t)}Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),y.prototype.destroy=g.destroy,y.prototype._undestroy=g.undestroy,y.prototype._destroy=function(e,t){this.push(null),t(e)},y.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=c.from(e,t),t=""),r=!0),v(this,e,t,!1,r)},y.prototype.unshift=function(e){return v(this,e,null,!0,!1)},y.prototype.isPaused=function(){return!1===this._readableState.flowing},y.prototype.setEncoding=function(e){return f||(f=r(83141).I),this._readableState.decoder=new f(e),this._readableState.encoding=e,this};var k=8388608;function x(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=k?e=k:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function E(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(p("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?n.nextTick(S,e):S(e))}function S(e){p("emit readable"),e.emit("readable"),A(e)}function D(e,t){t.readingMore||(t.readingMore=!0,n.nextTick(w,e,t))}function w(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(p("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function T(e){p("readable nexttick read 0"),e.read(0)}function C(e,t){t.reading||(p("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),A(e),t.flowing&&!t.reading&&e.read(0)}function A(e){var t=e._readableState;for(p("flow",t.flowing);t.flowing&&null!==e.read(););}function N(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,i=r.data;e-=i.length;for(;r=r.next;){var a=r.data,o=e>a.length?a.length:e;if(o===a.length?i+=a:i+=a.slice(0,e),0===(e-=o)){o===a.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(o));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=c.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var a=n.data,o=e>a.length?a.length:e;if(a.copy(r,r.length-e,0,o),0===(e-=o)){o===a.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(o));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function P(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,n.nextTick(I,t,e))}function I(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function F(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}y.prototype.read=function(e){p("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return p("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?P(this):E(this),null;if(0===(e=x(e,t))&&t.ended)return 0===t.length&&P(this),null;var n,i=t.needReadable;return p("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&p("length less than watermark",i=!0),t.ended||t.reading?p("reading or ended",i=!1):i&&(p("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=x(r,t))),null===(n=e>0?N(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&P(this)),null!==n&&this.emit("data",n),n},y.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(e,t){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,p("pipe count=%d opts=%j",i.pipesCount,t);var s=(!t||!1!==t.end)&&e!==process.stdout&&e!==process.stderr?l:y;function c(t,n){p("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,p("cleanup"),e.removeListener("close",_),e.removeListener("finish",h),e.removeListener("drain",u),e.removeListener("error",g),e.removeListener("unpipe",c),r.removeListener("end",l),r.removeListener("end",y),r.removeListener("data",m),d=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||u())}function l(){p("onend"),e.end()}i.endEmitted?n.nextTick(s):r.once("end",s),e.on("unpipe",c);var u=function(e){return function(){var t=e._readableState;p("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,A(e))}}(r);e.on("drain",u);var d=!1;var f=!1;function m(t){p("ondata"),f=!1,!1!==e.write(t)||f||((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==F(i.pipes,e))&&!d&&(p("false write response, pause",i.awaitDrain),i.awaitDrain++,f=!0),r.pause())}function g(t){p("onerror",t),y(),e.removeListener("error",g),0===o(e,"error")&&e.emit("error",t)}function _(){e.removeListener("finish",h),y()}function h(){p("onfinish"),e.removeListener("close",_),y()}function y(){p("unpipe"),r.unpipe(e)}return r.on("data",m),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",g),e.once("close",_),e.once("finish",h),e.emit("pipe",r),i.flowing||(p("pipe resume"),r.resume()),e},y.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)n[a].emit("unpipe",this,{hasUnpiped:!1});return this}var o=F(t.pipes,e);return-1===o||(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},y.prototype.on=function(e,t){var r=s.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var i=this._readableState;i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.emittedReadable=!1,i.reading?i.length&&E(this):n.nextTick(T,this))}return r},y.prototype.addListener=y.prototype.on,y.prototype.resume=function(){var e=this._readableState;return e.flowing||(p("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(C,e,t))}(this,e)),this},y.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this},y.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",(function(){if(p("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)})),e.on("data",(function(i){(p("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))})),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var a=0;a<_.length;a++)e.on(_[a],this.emit.bind(this,_[a]));return this._read=function(t){p("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(y.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),y._fromList=N},68609:(e,t,r)=>{"use strict";e.exports=o;var n=r(28383),i=Object.create(r(15622));function a(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);n.call(this,e),this._transformState={afterTransform:a.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"==typeof this._flush?this._flush((function(t,r){c(e,t,r)})):c(this,null,null)}function c(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=r(72017),i.inherits(o,n),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},o.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},o.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,(function(e){t(e),r.emit("close")}))}},38589:(e,t,r)=>{"use strict";var n=r(33225);function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}e.exports=_;var a,o=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:n.nextTick;_.WritableState=g;var s=Object.create(r(15622));s.inherits=r(72017);var c={deprecate:r(27983)},l=r(54531),u=r(92861).Buffer,d=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var p,f=r(46033);function m(){}function g(e,t){a=a||r(28383),e=e||{};var s=t instanceof a;this.objectMode=!!e.objectMode,s&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var c=e.highWaterMark,l=e.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=c||0===c?c:s&&(l||0===l)?l:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var d=!1===e.decodeStrings;this.decodeStrings=!d,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,i=r.sync,a=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,i,a){--t.pendingcb,r?(n.nextTick(a,i),n.nextTick(x,e,t),e._writableState.errorEmitted=!0,e.emit("error",i)):(a(i),e._writableState.errorEmitted=!0,e.emit("error",i),x(e,t))}(e,r,i,t,a);else{var s=b(r);s||r.corked||r.bufferProcessing||!r.bufferedRequest||v(e,r),i?o(y,e,r,s,a):y(e,r,s,a)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function _(e){if(a=a||r(28383),!(p.call(_,this)||this instanceof a))return new _(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),l.call(this)}function h(e,t,r,n,i,a,o){t.writelen=n,t.writecb=o,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function y(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),x(e,t)}function v(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,a=new Array(n),o=t.corkedRequestsFree;o.entry=r;for(var s=0,c=!0;r;)a[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;a.allBuffers=c,h(e,t,!0,t.length,a,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,u=r.encoding,d=r.callback;if(h(e,t,!1,t.objectMode?1:l.length,l,u,d),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function b(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function k(e,t){e._final((function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),x(e,t)}))}function x(e,t){var r=b(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,n.nextTick(k,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}s.inherits(_,l),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:c.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(_,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===_&&(e&&e._writableState instanceof g)}})):p=function(e){return e instanceof this},_.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},_.prototype.write=function(e,t,r){var i,a=this._writableState,o=!1,s=!a.objectMode&&(i=e,u.isBuffer(i)||i instanceof d);return s&&!u.isBuffer(e)&&(e=function(e){return u.from(e)}(e)),"function"==typeof t&&(r=t,t=null),s?t="buffer":t||(t=a.defaultEncoding),"function"!=typeof r&&(r=m),a.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),n.nextTick(t,r)}(this,r):(s||function(e,t,r,i){var a=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(e.emit("error",o),n.nextTick(i,o),a=!1),a}(this,a,e,r))&&(a.pendingcb++,o=function(e,t,r,n,i,a){if(!r){var o=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=u.from(t,r));return t}(t,n,i);n!==o&&(r=!0,i="buffer",n=o)}var s=t.objectMode?1:n.length;t.length+=s;var c=t.length<t.highWaterMark;c||(t.needDrain=!0);if(t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:a,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else h(e,t,!1,s,n,i,a);return c}(this,a,s,e,t,r)),o},_.prototype.cork=function(){this._writableState.corked++},_.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||v(this,e))},_.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(_.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),_.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},_.prototype._writev=null,_.prototype.end=function(e,t,r){var i=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||function(e,t,r){t.ending=!0,x(e,t),r&&(t.finished?n.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,i,r)},Object.defineProperty(_.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),_.prototype.destroy=f.destroy,_.prototype._undestroy=f.undestroy,_.prototype._destroy=function(e,t){this.end(),t(e)}},76005:(e,t,r)=>{"use strict";var n=r(92861).Buffer,i=r(39023);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);for(var t,r,i,a=n.allocUnsafe(e>>>0),o=this.head,s=0;o;)t=o.data,r=a,i=s,t.copy(r,i),s+=o.data.length,o=o.next;return a},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},46033:(e,t,r)=>{"use strict";var n=r(33225);function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,a=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return a||o?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(i,this,e)):n.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,(function(e){!t&&e?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,n.nextTick(i,r,e)):n.nextTick(i,r,e):t&&t(e)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},54531:(e,t,r)=>{e.exports=r(2203)},47715:(e,t,r)=>{var n=r(2203);"disable"===process.env.READABLE_STREAM&&n?(e.exports=n,(t=e.exports=n.Readable).Readable=n.Readable,t.Writable=n.Writable,t.Duplex=n.Duplex,t.Transform=n.Transform,t.PassThrough=n.PassThrough,t.Stream=n):((t=e.exports=r(80253)).Stream=n||t,t.Readable=t,t.Writable=r(38589),t.Duplex=r(28383),t.Transform=r(68609),t.PassThrough=r(4291))},14490:(e,t,r)=>{"use strict";r(1528),r(36761),r(42791),t.Parse=r(199),t.ParseOne=r(97315),t.Extract=r(39149),t.Open=r(74773)},27983:(e,t,r)=>{e.exports=r(39023).deprecate},22587:(e,t,r)=>{"use strict";r.r(t),r.d(t,{NIL:()=>x,parse:()=>h,stringify:()=>d,v1:()=>_,v3:()=>v,v4:()=>b,v5:()=>k,validate:()=>l,version:()=>E});var n=r(76982),i=r.n(n);const a=new Uint8Array(256);let o=a.length;function s(){return o>a.length-16&&(i().randomFillSync(a),o=0),a.slice(o,o+=16)}const c=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;const l=function(e){return"string"==typeof e&&c.test(e)},u=[];for(let e=0;e<256;++e)u.push((e+256).toString(16).substr(1));const d=function(e,t=0){const r=(u[e[t+0]]+u[e[t+1]]+u[e[t+2]]+u[e[t+3]]+"-"+u[e[t+4]]+u[e[t+5]]+"-"+u[e[t+6]]+u[e[t+7]]+"-"+u[e[t+8]]+u[e[t+9]]+"-"+u[e[t+10]]+u[e[t+11]]+u[e[t+12]]+u[e[t+13]]+u[e[t+14]]+u[e[t+15]]).toLowerCase();if(!l(r))throw TypeError("Stringified UUID is invalid");return r};let p,f,m=0,g=0;const _=function(e,t,r){let n=t&&r||0;const i=t||new Array(16);let a=(e=e||{}).node||p,o=void 0!==e.clockseq?e.clockseq:f;if(null==a||null==o){const t=e.random||(e.rng||s)();null==a&&(a=p=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==o&&(o=f=16383&(t[6]<<8|t[7]))}let c=void 0!==e.msecs?e.msecs:Date.now(),l=void 0!==e.nsecs?e.nsecs:g+1;const u=c-m+(l-g)/1e4;if(u<0&&void 0===e.clockseq&&(o=o+1&16383),(u<0||c>m)&&void 0===e.nsecs&&(l=0),l>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");m=c,g=l,f=o,c+=122192928e5;const _=(1e4*(268435455&c)+l)%4294967296;i[n++]=_>>>24&255,i[n++]=_>>>16&255,i[n++]=_>>>8&255,i[n++]=255&_;const h=c/4294967296*1e4&268435455;i[n++]=h>>>8&255,i[n++]=255&h,i[n++]=h>>>24&15|16,i[n++]=h>>>16&255,i[n++]=o>>>8|128,i[n++]=255&o;for(let e=0;e<6;++e)i[n+e]=a[e];return t||d(i)};const h=function(e){if(!l(e))throw TypeError("Invalid UUID");let t;const r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r};function y(e,t,r){function n(e,n,i,a){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}(e)),"string"==typeof n&&(n=h(n)),16!==n.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let o=new Uint8Array(16+e.length);if(o.set(n),o.set(e,n.length),o=r(o),o[6]=15&o[6]|t,o[8]=63&o[8]|128,i){a=a||0;for(let e=0;e<16;++e)i[a+e]=o[e];return i}return d(o)}try{n.name=e}catch(e){}return n.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",n.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",n}const v=y("v3",48,(function(e){return Array.isArray(e)?e=Buffer.from(e):"string"==typeof e&&(e=Buffer.from(e,"utf8")),i().createHash("md5").update(e).digest()}));const b=function(e,t,r){const n=(e=e||{}).random||(e.rng||s)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=n[e];return t}return d(n)};const k=y("v5",80,(function(e){return Array.isArray(e)?e=Buffer.from(e):"string"==typeof e&&(e=Buffer.from(e,"utf8")),i().createHash("sha1").update(e).digest()})),x="00000000-0000-0000-0000-000000000000";const E=function(e){if(!l(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}},86587:e=>{e.exports=function e(t,r){if(t&&r)return e(t)(r);if("function"!=typeof t)throw new TypeError("need wrapper function");return Object.keys(t).forEach((function(e){n[e]=t[e]})),n;function n(){for(var e=new Array(arguments.length),r=0;r<e.length;r++)e[r]=arguments[r];var n=t.apply(this,e),i=e[e.length-1];return"function"==typeof n&&n!==i&&Object.keys(i).forEach((function(e){n[e]=i[e]})),n}}},31487:(e,t)=>{"use strict";
118 */function r(e){return e>=65&&e<=90||95===e||e>=97&&e<=122||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=767||e>=880&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}Object.defineProperty(t,"__esModule",{value:!0}),t.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�?-?",t.NC_NAME_CHAR="-"+t.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",t.NC_NAME_START_CHAR_RE=new RegExp("^["+t.NC_NAME_START_CHAR+"]$","u"),t.NC_NAME_CHAR_RE=new RegExp("^["+t.NC_NAME_CHAR+"]$","u"),t.NC_NAME_RE=new RegExp("^["+t.NC_NAME_START_CHAR+"]["+t.NC_NAME_CHAR+"]*$","u"),t.isNCNameStartChar=r,t.isNCNameChar=function(e){return r(e)||45===e||46===e||e>=48&&e<=57||183===e||e>=768&&e<=879||e>=8255&&e<=8256}},42613:e=>{"use strict";e.exports=require("assert")},20181:e=>{"use strict";e.exports=require("buffer")},35317:e=>{"use strict";e.exports=require("child_process")},49140:e=>{"use strict";e.exports=require("constants")},76982:e=>{"use strict";e.exports=require("crypto")},24434:e=>{"use strict";e.exports=require("events")},79896:e=>{"use strict";e.exports=require("fs")},50264:e=>{"use strict";e.exports=require("inspector")},70857:e=>{"use strict";e.exports=require("os")},16928:e=>{"use strict";e.exports=require("path")},82987:e=>{"use strict";e.exports=require("perf_hooks")},932:e=>{"use strict";e.exports=require("process")},2203:e=>{"use strict";e.exports=require("stream")},13193:e=>{"use strict";e.exports=require("string_decoder")},39023:e=>{"use strict";e.exports=require("util")},43106:e=>{"use strict";e.exports=require("zlib")},62116:(e,t,r)=>{const{Argument:n}=r(39297),{Command:i}=r(23749),{CommanderError:a,InvalidArgumentError:o}=r(43666),{Help:s}=r(13693),{Option:c}=r(75019);(t=e.exports=new i).program=t,t.Argument=n,t.Command=i,t.CommanderError=a,t.Help=s,t.InvalidArgumentError=o,t.InvalidOptionArgumentError=o,t.Option=c},39297:(e,t,r)=>{const{InvalidArgumentError:n}=r(43666);t.Argument=class{constructor(e,t){switch(this.description=t||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,e[0]){case"<":this.required=!0,this._name=e.slice(1,-1);break;case"[":this.required=!1,this._name=e.slice(1,-1);break;default:this.required=!0,this._name=e}this._name.length>3&&"..."===this._name.slice(-3)&&(this.variadic=!0,this._name=this._name.slice(0,-3))}name(){return this._name}_concatValue(e,t){return t!==this.defaultValue&&Array.isArray(t)?t.concat(e):[e]}default(e,t){return this.defaultValue=e,this.defaultValueDescription=t,this}argParser(e){return this.parseArg=e,this}choices(e){return this.argChoices=e.slice(),this.parseArg=(e,t)=>{if(!this.argChoices.includes(e))throw new n(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(e,t):e},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}},t.humanReadableArgName=function(e){const t=e.name()+(!0===e.variadic?"...":"");return e.required?"<"+t+">":"["+t+"]"}},23749:(e,t,r)=>{const n=r(24434).EventEmitter,i=r(35317),a=r(16928),o=r(79896),s=r(932),{Argument:c,humanReadableArgName:l}=r(39297),{CommanderError:u}=r(43666),{Help:d}=r(13693),{Option:p,splitOptionFlags:f,DualOptions:m}=r(75019),{suggestSimilar:g}=r(87369);class _ extends n{constructor(e){super(),this.commands=[],this.options=[],this.parent=null,this._allowUnknownOption=!1,this._allowExcessArguments=!0,this._args=[],this.args=[],this.rawArgs=[],this.processedArgs=[],this._scriptPath=null,this._name=e||"",this._optionValues={},this._optionValueSources={},this._storeOptionsAsProperties=!1,this._actionHandler=null,this._executableHandler=!1,this._executableFile=null,this._executableDir=null,this._defaultCommandName=null,this._exitCallback=null,this._aliases=[],this._combineFlagAndOptionalValue=!0,this._description="",this._summary="",this._argsDescription=void 0,this._enablePositionalOptions=!1,this._passThroughOptions=!1,this._lifeCycleHooks={},this._showHelpAfterError=!1,this._showSuggestionAfterError=!0,this._outputConfiguration={writeOut:e=>s.stdout.write(e),writeErr:e=>s.stderr.write(e),getOutHelpWidth:()=>s.stdout.isTTY?s.stdout.columns:void 0,getErrHelpWidth:()=>s.stderr.isTTY?s.stderr.columns:void 0,outputError:(e,t)=>t(e)},this._hidden=!1,this._hasHelpOption=!0,this._helpFlags="-h, --help",this._helpDescription="display help for command",this._helpShortFlag="-h",this._helpLongFlag="--help",this._addImplicitHelpCommand=void 0,this._helpCommandName="help",this._helpCommandnameAndArgs="help [command]",this._helpCommandDescription="display help for command",this._helpConfiguration={}}copyInheritedSettings(e){return this._outputConfiguration=e._outputConfiguration,this._hasHelpOption=e._hasHelpOption,this._helpFlags=e._helpFlags,this._helpDescription=e._helpDescription,this._helpShortFlag=e._helpShortFlag,this._helpLongFlag=e._helpLongFlag,this._helpCommandName=e._helpCommandName,this._helpCommandnameAndArgs=e._helpCommandnameAndArgs,this._helpCommandDescription=e._helpCommandDescription,this._helpConfiguration=e._helpConfiguration,this._exitCallback=e._exitCallback,this._storeOptionsAsProperties=e._storeOptionsAsProperties,this._combineFlagAndOptionalValue=e._combineFlagAndOptionalValue,this._allowExcessArguments=e._allowExcessArguments,this._enablePositionalOptions=e._enablePositionalOptions,this._showHelpAfterError=e._showHelpAfterError,this._showSuggestionAfterError=e._showSuggestionAfterError,this}command(e,t,r){let n=t,i=r;"object"==typeof n&&null!==n&&(i=n,n=null),i=i||{};const[,a,o]=e.match(/([^ ]+) *(.*)/),s=this.createCommand(a);return n&&(s.description(n),s._executableHandler=!0),i.isDefault&&(this._defaultCommandName=s._name),s._hidden=!(!i.noHelp&&!i.hidden),s._executableFile=i.executableFile||null,o&&s.arguments(o),this.commands.push(s),s.parent=this,s.copyInheritedSettings(this),n?this:s}createCommand(e){return new _(e)}createHelp(){return Object.assign(new d,this.configureHelp())}configureHelp(e){return void 0===e?this._helpConfiguration:(this._helpConfiguration=e,this)}configureOutput(e){return void 0===e?this._outputConfiguration:(Object.assign(this._outputConfiguration,e),this)}showHelpAfterError(e=!0){return"string"!=typeof e&&(e=!!e),this._showHelpAfterError=e,this}showSuggestionAfterError(e=!0){return this._showSuggestionAfterError=!!e,this}addCommand(e,t){if(!e._name)throw new Error("Command passed to .addCommand() must have a name\n- specify the name in Command constructor or using .name()");return(t=t||{}).isDefault&&(this._defaultCommandName=e._name),(t.noHelp||t.hidden)&&(e._hidden=!0),this.commands.push(e),e.parent=this,this}createArgument(e,t){return new c(e,t)}argument(e,t,r,n){const i=this.createArgument(e,t);return"function"==typeof r?i.default(n).argParser(r):i.default(r),this.addArgument(i),this}arguments(e){return e.split(/ +/).forEach((e=>{this.argument(e)})),this}addArgument(e){const t=this._args.slice(-1)[0];if(t&&t.variadic)throw new Error(`only the last argument can be variadic '${t.name()}'`);if(e.required&&void 0!==e.defaultValue&&void 0===e.parseArg)throw new Error(`a default value for a required argument is never used: '${e.name()}'`);return this._args.push(e),this}addHelpCommand(e,t){return!1===e?this._addImplicitHelpCommand=!1:(this._addImplicitHelpCommand=!0,"string"==typeof e&&(this._helpCommandName=e.split(" ")[0],this._helpCommandnameAndArgs=e),this._helpCommandDescription=t||this._helpCommandDescription),this}_hasImplicitHelpCommand(){return void 0===this._addImplicitHelpCommand?this.commands.length&&!this._actionHandler&&!this._findCommand("help"):this._addImplicitHelpCommand}hook(e,t){const r=["preSubcommand","preAction","postAction"];if(!r.includes(e))throw new Error(`Unexpected value for event passed to hook : '${e}'.\nExpecting one of '${r.join("', '")}'`);return this._lifeCycleHooks[e]?this._lifeCycleHooks[e].push(t):this._lifeCycleHooks[e]=[t],this}exitOverride(e){return this._exitCallback=e||(e=>{if("commander.executeSubCommandAsync"!==e.code)throw e}),this}_exit(e,t,r){this._exitCallback&&this._exitCallback(new u(e,t,r)),s.exit(e)}action(e){return this._actionHandler=t=>{const r=this._args.length,n=t.slice(0,r);return this._storeOptionsAsProperties?n[r]=this:n[r]=this.opts(),n.push(this),e.apply(this,n)},this}createOption(e,t){return new p(e,t)}addOption(e){const t=e.name(),r=e.attributeName();if(e.negate){const t=e.long.replace(/^--no-/,"--");this._findOption(t)||this.setOptionValueWithSource(r,void 0===e.defaultValue||e.defaultValue,"default")}else void 0!==e.defaultValue&&this.setOptionValueWithSource(r,e.defaultValue,"default");this.options.push(e);const n=(t,n,i)=>{null==t&&void 0!==e.presetArg&&(t=e.presetArg);const a=this.getOptionValue(r);if(null!==t&&e.parseArg)try{t=e.parseArg(t,a)}catch(e){if("commander.invalidArgument"===e.code){const t=`${n} ${e.message}`;this.error(t,{exitCode:e.exitCode,code:e.code})}throw e}else null!==t&&e.variadic&&(t=e._concatValue(t,a));null==t&&(t=!e.negate&&(!(!e.isBoolean()&&!e.optional)||"")),this.setOptionValueWithSource(r,t,i)};return this.on("option:"+t,(t=>{const r=`error: option '${e.flags}' argument '${t}' is invalid.`;n(t,r,"cli")})),e.envVar&&this.on("optionEnv:"+t,(t=>{const r=`error: option '${e.flags}' value '${t}' from env '${e.envVar}' is invalid.`;n(t,r,"env")})),this}_optionEx(e,t,r,n,i){if("object"==typeof t&&t instanceof p)throw new Error("To add an Option object use addOption() instead of option() or requiredOption()");const a=this.createOption(t,r);if(a.makeOptionMandatory(!!e.mandatory),"function"==typeof n)a.default(i).argParser(n);else if(n instanceof RegExp){const e=n;n=(t,r)=>{const n=e.exec(t);return n?n[0]:r},a.default(i).argParser(n)}else a.default(n);return this.addOption(a)}option(e,t,r,n){return this._optionEx({},e,t,r,n)}requiredOption(e,t,r,n){return this._optionEx({mandatory:!0},e,t,r,n)}combineFlagAndOptionalValue(e=!0){return this._combineFlagAndOptionalValue=!!e,this}allowUnknownOption(e=!0){return this._allowUnknownOption=!!e,this}allowExcessArguments(e=!0){return this._allowExcessArguments=!!e,this}enablePositionalOptions(e=!0){return this._enablePositionalOptions=!!e,this}passThroughOptions(e=!0){if(this._passThroughOptions=!!e,this.parent&&e&&!this.parent._enablePositionalOptions)throw new Error("passThroughOptions can not be used without turning on enablePositionalOptions for parent command(s)");return this}storeOptionsAsProperties(e=!0){if(this._storeOptionsAsProperties=!!e,this.options.length)throw new Error("call .storeOptionsAsProperties() before adding options");return this}getOptionValue(e){return this._storeOptionsAsProperties?this[e]:this._optionValues[e]}setOptionValue(e,t){return this.setOptionValueWithSource(e,t,void 0)}setOptionValueWithSource(e,t,r){return this._storeOptionsAsProperties?this[e]=t:this._optionValues[e]=t,this._optionValueSources[e]=r,this}getOptionValueSource(e){return this._optionValueSources[e]}getOptionValueSourceWithGlobals(e){let t;return v(this).forEach((r=>{void 0!==r.getOptionValueSource(e)&&(t=r.getOptionValueSource(e))})),t}_prepareUserArgs(e,t){if(void 0!==e&&!Array.isArray(e))throw new Error("first parameter to parse must be array or undefined");let r;switch(t=t||{},void 0===e&&(e=s.argv,s.versions&&s.versions.electron&&(t.from="electron")),this.rawArgs=e.slice(),t.from){case void 0:case"node":this._scriptPath=e[1],r=e.slice(2);break;case"electron":s.defaultApp?(this._scriptPath=e[1],r=e.slice(2)):r=e.slice(1);break;case"user":r=e.slice(0);break;default:throw new Error(`unexpected parse option { from: '${t.from}' }`)}return!this._name&&this._scriptPath&&this.nameFromFilename(this._scriptPath),this._name=this._name||"program",r}parse(e,t){const r=this._prepareUserArgs(e,t);return this._parseCommand([],r),this}async parseAsync(e,t){const r=this._prepareUserArgs(e,t);return await this._parseCommand([],r),this}_executeSubCommand(e,t){t=t.slice();let r=!1;const n=[".js",".ts",".tsx",".mjs",".cjs"];function c(e,t){const r=a.resolve(e,t);if(o.existsSync(r))return r;if(n.includes(a.extname(t)))return;const i=n.find((e=>o.existsSync(`${r}${e}`)));return i?`${r}${i}`:void 0}this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let l,d=e._executableFile||`${this._name}-${e._name}`,p=this._executableDir||"";if(this._scriptPath){let e;try{e=o.realpathSync(this._scriptPath)}catch(t){e=this._scriptPath}p=a.resolve(a.dirname(e),p)}if(p){let t=c(p,d);if(!t&&!e._executableFile&&this._scriptPath){const r=a.basename(this._scriptPath,a.extname(this._scriptPath));r!==this._name&&(t=c(p,`${r}-${e._name}`))}d=t||d}if(r=n.includes(a.extname(d)),"win32"!==s.platform?r?(t.unshift(d),t=y(s.execArgv).concat(t),l=i.spawn(s.argv[0],t,{stdio:"inherit"})):l=i.spawn(d,t,{stdio:"inherit"}):(t.unshift(d),t=y(s.execArgv).concat(t),l=i.spawn(s.execPath,t,{stdio:"inherit"})),!l.killed){["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"].forEach((e=>{s.on(e,(()=>{!1===l.killed&&null===l.exitCode&&l.kill(e)}))}))}const f=this._exitCallback;f?l.on("close",(()=>{f(new u(s.exitCode||0,"commander.executeSubCommandAsync","(close)"))})):l.on("close",s.exit.bind(s)),l.on("error",(t=>{if("ENOENT"===t.code){const t=p?`searched for local subcommand relative to directory '${p}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory",r=`'${d}' does not exist\n - if '${e._name}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead\n - if the default executable name is not suitable, use the executableFile option to supply a custom name or path\n - ${t}`;throw new Error(r)}if("EACCES"===t.code)throw new Error(`'${d}' not executable`);if(f){const e=new u(1,"commander.executeSubCommandAsync","(error)");e.nestedError=t,f(e)}else s.exit(1)})),this.runningCommand=l}_dispatchSubcommand(e,t,r){const n=this._findCommand(e);let i;return n||this.help({error:!0}),i=this._chainOrCallSubCommandHook(i,n,"preSubcommand"),i=this._chainOrCall(i,(()=>{if(!n._executableHandler)return n._parseCommand(t,r);this._executeSubCommand(n,t.concat(r))})),i}_checkNumberOfArguments(){this._args.forEach(((e,t)=>{e.required&&null==this.args[t]&&this.missingArgument(e.name())})),this._args.length>0&&this._args[this._args.length-1].variadic||this.args.length>this._args.length&&this._excessArguments(this.args)}_processArguments(){const e=(e,t,r)=>{let n=t;if(null!==t&&e.parseArg)try{n=e.parseArg(t,r)}catch(r){if("commander.invalidArgument"===r.code){const n=`error: command-argument value '${t}' is invalid for argument '${e.name()}'. ${r.message}`;this.error(n,{exitCode:r.exitCode,code:r.code})}throw r}return n};this._checkNumberOfArguments();const t=[];this._args.forEach(((r,n)=>{let i=r.defaultValue;r.variadic?n<this.args.length?(i=this.args.slice(n),r.parseArg&&(i=i.reduce(((t,n)=>e(r,n,t)),r.defaultValue))):void 0===i&&(i=[]):n<this.args.length&&(i=this.args[n],r.parseArg&&(i=e(r,i,r.defaultValue))),t[n]=i})),this.processedArgs=t}_chainOrCall(e,t){return e&&e.then&&"function"==typeof e.then?e.then((()=>t())):t()}_chainOrCallHooks(e,t){let r=e;const n=[];return v(this).reverse().filter((e=>void 0!==e._lifeCycleHooks[t])).forEach((e=>{e._lifeCycleHooks[t].forEach((t=>{n.push({hookedCommand:e,callback:t})}))})),"postAction"===t&&n.reverse(),n.forEach((e=>{r=this._chainOrCall(r,(()=>e.callback(e.hookedCommand,this)))})),r}_chainOrCallSubCommandHook(e,t,r){let n=e;return void 0!==this._lifeCycleHooks[r]&&this._lifeCycleHooks[r].forEach((e=>{n=this._chainOrCall(n,(()=>e(this,t)))})),n}_parseCommand(e,t){const r=this.parseOptions(t);if(this._parseOptionsEnv(),this._parseOptionsImplied(),e=e.concat(r.operands),t=r.unknown,this.args=e.concat(t),e&&this._findCommand(e[0]))return this._dispatchSubcommand(e[0],e.slice(1),t);if(this._hasImplicitHelpCommand()&&e[0]===this._helpCommandName)return 1===e.length&&this.help(),this._dispatchSubcommand(e[1],[],[this._helpLongFlag]);if(this._defaultCommandName)return h(this,t),this._dispatchSubcommand(this._defaultCommandName,e,t);!this.commands.length||0!==this.args.length||this._actionHandler||this._defaultCommandName||this.help({error:!0}),h(this,r.unknown),this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();const n=()=>{r.unknown.length>0&&this.unknownOption(r.unknown[0])},i=`command:${this.name()}`;if(this._actionHandler){let r;return n(),this._processArguments(),r=this._chainOrCallHooks(r,"preAction"),r=this._chainOrCall(r,(()=>this._actionHandler(this.processedArgs))),this.parent&&(r=this._chainOrCall(r,(()=>{this.parent.emit(i,e,t)}))),r=this._chainOrCallHooks(r,"postAction"),r}if(this.parent&&this.parent.listenerCount(i))n(),this._processArguments(),this.parent.emit(i,e,t);else if(e.length){if(this._findCommand("*"))return this._dispatchSubcommand("*",e,t);this.listenerCount("command:*")?this.emit("command:*",e,t):this.commands.length?this.unknownCommand():(n(),this._processArguments())}else this.commands.length?(n(),this.help({error:!0})):(n(),this._processArguments())}_findCommand(e){if(e)return this.commands.find((t=>t._name===e||t._aliases.includes(e)))}_findOption(e){return this.options.find((t=>t.is(e)))}_checkForMissingMandatoryOptions(){for(let e=this;e;e=e.parent)e.options.forEach((t=>{t.mandatory&&void 0===e.getOptionValue(t.attributeName())&&e.missingMandatoryOptionValue(t)}))}_checkForConflictingLocalOptions(){const e=this.options.filter((e=>{const t=e.attributeName();return void 0!==this.getOptionValue(t)&&"default"!==this.getOptionValueSource(t)}));e.filter((e=>e.conflictsWith.length>0)).forEach((t=>{const r=e.find((e=>t.conflictsWith.includes(e.attributeName())));r&&this._conflictingOption(t,r)}))}_checkForConflictingOptions(){for(let e=this;e;e=e.parent)e._checkForConflictingLocalOptions()}parseOptions(e){const t=[],r=[];let n=t;const i=e.slice();function a(e){return e.length>1&&"-"===e[0]}let o=null;for(;i.length;){const e=i.shift();if("--"===e){n===r&&n.push(e),n.push(...i);break}if(!o||a(e)){if(o=null,a(e)){const t=this._findOption(e);if(t){if(t.required){const e=i.shift();void 0===e&&this.optionMissingArgument(t),this.emit(`option:${t.name()}`,e)}else if(t.optional){let e=null;i.length>0&&!a(i[0])&&(e=i.shift()),this.emit(`option:${t.name()}`,e)}else this.emit(`option:${t.name()}`);o=t.variadic?t:null;continue}}if(e.length>2&&"-"===e[0]&&"-"!==e[1]){const t=this._findOption(`-${e[1]}`);if(t){t.required||t.optional&&this._combineFlagAndOptionalValue?this.emit(`option:${t.name()}`,e.slice(2)):(this.emit(`option:${t.name()}`),i.unshift(`-${e.slice(2)}`));continue}}if(/^--[^=]+=/.test(e)){const t=e.indexOf("="),r=this._findOption(e.slice(0,t));if(r&&(r.required||r.optional)){this.emit(`option:${r.name()}`,e.slice(t+1));continue}}if(a(e)&&(n=r),(this._enablePositionalOptions||this._passThroughOptions)&&0===t.length&&0===r.length){if(this._findCommand(e)){t.push(e),i.length>0&&r.push(...i);break}if(e===this._helpCommandName&&this._hasImplicitHelpCommand()){t.push(e),i.length>0&&t.push(...i);break}if(this._defaultCommandName){r.push(e),i.length>0&&r.push(...i);break}}if(this._passThroughOptions){n.push(e),i.length>0&&n.push(...i);break}n.push(e)}else this.emit(`option:${o.name()}`,e)}return{operands:t,unknown:r}}opts(){if(this._storeOptionsAsProperties){const e={},t=this.options.length;for(let r=0;r<t;r++){const t=this.options[r].attributeName();e[t]=t===this._versionOptionName?this._version:this[t]}return e}return this._optionValues}optsWithGlobals(){return v(this).reduce(((e,t)=>Object.assign(e,t.opts())),{})}error(e,t){this._outputConfiguration.outputError(`${e}\n`,this._outputConfiguration.writeErr),"string"==typeof this._showHelpAfterError?this._outputConfiguration.writeErr(`${this._showHelpAfterError}\n`):this._showHelpAfterError&&(this._outputConfiguration.writeErr("\n"),this.outputHelp({error:!0}));const r=t||{},n=r.exitCode||1,i=r.code||"commander.error";this._exit(n,i,e)}_parseOptionsEnv(){this.options.forEach((e=>{if(e.envVar&&e.envVar in s.env){const t=e.attributeName();(void 0===this.getOptionValue(t)||["default","config","env"].includes(this.getOptionValueSource(t)))&&(e.required||e.optional?this.emit(`optionEnv:${e.name()}`,s.env[e.envVar]):this.emit(`optionEnv:${e.name()}`))}}))}_parseOptionsImplied(){const e=new m(this.options),t=e=>void 0!==this.getOptionValue(e)&&!["default","implied"].includes(this.getOptionValueSource(e));this.options.filter((r=>void 0!==r.implied&&t(r.attributeName())&&e.valueFromOption(this.getOptionValue(r.attributeName()),r))).forEach((e=>{Object.keys(e.implied).filter((e=>!t(e))).forEach((t=>{this.setOptionValueWithSource(t,e.implied[t],"implied")}))}))}missingArgument(e){const t=`error: missing required argument '${e}'`;this.error(t,{code:"commander.missingArgument"})}optionMissingArgument(e){const t=`error: option '${e.flags}' argument missing`;this.error(t,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(e){const t=`error: required option '${e.flags}' not specified`;this.error(t,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(e,t){const r=e=>{const t=e.attributeName(),r=this.getOptionValue(t),n=this.options.find((e=>e.negate&&t===e.attributeName())),i=this.options.find((e=>!e.negate&&t===e.attributeName()));return n&&(void 0===n.presetArg&&!1===r||void 0!==n.presetArg&&r===n.presetArg)?n:i||e},n=e=>{const t=r(e),n=t.attributeName();return"env"===this.getOptionValueSource(n)?`environment variable '${t.envVar}'`:`option '${t.flags}'`},i=`error: ${n(e)} cannot be used with ${n(t)}`;this.error(i,{code:"commander.conflictingOption"})}unknownOption(e){if(this._allowUnknownOption)return;let t="";if(e.startsWith("--")&&this._showSuggestionAfterError){let r=[],n=this;do{const e=n.createHelp().visibleOptions(n).filter((e=>e.long)).map((e=>e.long));r=r.concat(e),n=n.parent}while(n&&!n._enablePositionalOptions);t=g(e,r)}const r=`error: unknown option '${e}'${t}`;this.error(r,{code:"commander.unknownOption"})}_excessArguments(e){if(this._allowExcessArguments)return;const t=this._args.length,r=1===t?"":"s",n=`error: too many arguments${this.parent?` for '${this.name()}'`:""}. Expected ${t} argument${r} but got ${e.length}.`;this.error(n,{code:"commander.excessArguments"})}unknownCommand(){const e=this.args[0];let t="";if(this._showSuggestionAfterError){const r=[];this.createHelp().visibleCommands(this).forEach((e=>{r.push(e.name()),e.alias()&&r.push(e.alias())})),t=g(e,r)}const r=`error: unknown command '${e}'${t}`;this.error(r,{code:"commander.unknownCommand"})}version(e,t,r){if(void 0===e)return this._version;this._version=e,t=t||"-V, --version",r=r||"output the version number";const n=this.createOption(t,r);return this._versionOptionName=n.attributeName(),this.options.push(n),this.on("option:"+n.name(),(()=>{this._outputConfiguration.writeOut(`${e}\n`),this._exit(0,"commander.version",e)})),this}description(e,t){return void 0===e&&void 0===t?this._description:(this._description=e,t&&(this._argsDescription=t),this)}summary(e){return void 0===e?this._summary:(this._summary=e,this)}alias(e){if(void 0===e)return this._aliases[0];let t=this;if(0!==this.commands.length&&this.commands[this.commands.length-1]._executableHandler&&(t=this.commands[this.commands.length-1]),e===t._name)throw new Error("Command alias can't be the same as its name");return t._aliases.push(e),this}aliases(e){return void 0===e?this._aliases:(e.forEach((e=>this.alias(e))),this)}usage(e){if(void 0===e){if(this._usage)return this._usage;const e=this._args.map((e=>l(e)));return[].concat(this.options.length||this._hasHelpOption?"[options]":[],this.commands.length?"[command]":[],this._args.length?e:[]).join(" ")}return this._usage=e,this}name(e){return void 0===e?this._name:(this._name=e,this)}nameFromFilename(e){return this._name=a.basename(e,a.extname(e)),this}executableDir(e){return void 0===e?this._executableDir:(this._executableDir=e,this)}helpInformation(e){const t=this.createHelp();return void 0===t.helpWidth&&(t.helpWidth=e&&e.error?this._outputConfiguration.getErrHelpWidth():this._outputConfiguration.getOutHelpWidth()),t.formatHelp(this,t)}_getHelpContext(e){const t={error:!!(e=e||{}).error};let r;return r=t.error?e=>this._outputConfiguration.writeErr(e):e=>this._outputConfiguration.writeOut(e),t.write=e.write||r,t.command=this,t}outputHelp(e){let t;"function"==typeof e&&(t=e,e=void 0);const r=this._getHelpContext(e);v(this).reverse().forEach((e=>e.emit("beforeAllHelp",r))),this.emit("beforeHelp",r);let n=this.helpInformation(r);if(t&&(n=t(n),"string"!=typeof n&&!Buffer.isBuffer(n)))throw new Error("outputHelp callback must return a string or a Buffer");r.write(n),this.emit(this._helpLongFlag),this.emit("afterHelp",r),v(this).forEach((e=>e.emit("afterAllHelp",r)))}helpOption(e,t){if("boolean"==typeof e)return this._hasHelpOption=e,this;this._helpFlags=e||this._helpFlags,this._helpDescription=t||this._helpDescription;const r=f(this._helpFlags);return this._helpShortFlag=r.shortFlag,this._helpLongFlag=r.longFlag,this}help(e){this.outputHelp(e);let t=s.exitCode||0;0===t&&e&&"function"!=typeof e&&e.error&&(t=1),this._exit(t,"commander.help","(outputHelp)")}addHelpText(e,t){const r=["beforeAll","before","after","afterAll"];if(!r.includes(e))throw new Error(`Unexpected value for position to addHelpText.\nExpecting one of '${r.join("', '")}'`);const n=`${e}Help`;return this.on(n,(e=>{let r;r="function"==typeof t?t({error:e.error,command:e.command}):t,r&&e.write(`${r}\n`)})),this}}function h(e,t){e._hasHelpOption&&t.find((t=>t===e._helpLongFlag||t===e._helpShortFlag))&&(e.outputHelp(),e._exit(0,"commander.helpDisplayed","(outputHelp)"))}function y(e){return e.map((e=>{if(!e.startsWith("--inspect"))return e;let t,r,n="127.0.0.1",i="9229";return null!==(r=e.match(/^(--inspect(-brk)?)$/))?t=r[1]:null!==(r=e.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))?(t=r[1],/^\d+$/.test(r[3])?i=r[3]:n=r[3]):null!==(r=e.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))&&(t=r[1],n=r[3],i=r[4]),t&&"0"!==i?`${t}=${n}:${parseInt(i)+1}`:e}))}function v(e){const t=[];for(let r=e;r;r=r.parent)t.push(r);return t}t.Command=_},43666:(e,t)=>{class r extends Error{constructor(e,t,r){super(r),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=t,this.exitCode=e,this.nestedError=void 0}}t.CommanderError=r,t.InvalidArgumentError=class extends r{constructor(e){super(1,"commander.invalidArgument",e),Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}}},13693:(e,t,r)=>{const{humanReadableArgName:n}=r(39297);t.Help=class{constructor(){this.helpWidth=void 0,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}visibleCommands(e){const t=e.commands.filter((e=>!e._hidden));if(e._hasImplicitHelpCommand()){const[,r,n]=e._helpCommandnameAndArgs.match(/([^ ]+) *(.*)/),i=e.createCommand(r).helpOption(!1);i.description(e._helpCommandDescription),n&&i.arguments(n),t.push(i)}return this.sortSubcommands&&t.sort(((e,t)=>e.name().localeCompare(t.name()))),t}compareOptions(e,t){const r=e=>e.short?e.short.replace(/^-/,""):e.long.replace(/^--/,"");return r(e).localeCompare(r(t))}visibleOptions(e){const t=e.options.filter((e=>!e.hidden)),r=e._hasHelpOption&&e._helpShortFlag&&!e._findOption(e._helpShortFlag),n=e._hasHelpOption&&!e._findOption(e._helpLongFlag);if(r||n){let i;i=r?n?e.createOption(e._helpFlags,e._helpDescription):e.createOption(e._helpShortFlag,e._helpDescription):e.createOption(e._helpLongFlag,e._helpDescription),t.push(i)}return this.sortOptions&&t.sort(this.compareOptions),t}visibleGlobalOptions(e){if(!this.showGlobalOptions)return[];const t=[];for(let r=e.parent;r;r=r.parent){const e=r.options.filter((e=>!e.hidden));t.push(...e)}return this.sortOptions&&t.sort(this.compareOptions),t}visibleArguments(e){return e._argsDescription&&e._args.forEach((t=>{t.description=t.description||e._argsDescription[t.name()]||""})),e._args.find((e=>e.description))?e._args:[]}subcommandTerm(e){const t=e._args.map((e=>n(e))).join(" ");return e._name+(e._aliases[0]?"|"+e._aliases[0]:"")+(e.options.length?" [options]":"")+(t?" "+t:"")}optionTerm(e){return e.flags}argumentTerm(e){return e.name()}longestSubcommandTermLength(e,t){return t.visibleCommands(e).reduce(((e,r)=>Math.max(e,t.subcommandTerm(r).length)),0)}longestOptionTermLength(e,t){return t.visibleOptions(e).reduce(((e,r)=>Math.max(e,t.optionTerm(r).length)),0)}longestGlobalOptionTermLength(e,t){return t.visibleGlobalOptions(e).reduce(((e,r)=>Math.max(e,t.optionTerm(r).length)),0)}longestArgumentTermLength(e,t){return t.visibleArguments(e).reduce(((e,r)=>Math.max(e,t.argumentTerm(r).length)),0)}commandUsage(e){let t=e._name;e._aliases[0]&&(t=t+"|"+e._aliases[0]);let r="";for(let t=e.parent;t;t=t.parent)r=t.name()+" "+r;return r+t+" "+e.usage()}commandDescription(e){return e.description()}subcommandDescription(e){return e.summary()||e.description()}optionDescription(e){const t=[];if(e.argChoices&&t.push(`choices: ${e.argChoices.map((e=>JSON.stringify(e))).join(", ")}`),void 0!==e.defaultValue){(e.required||e.optional||e.isBoolean()&&"boolean"==typeof e.defaultValue)&&t.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`)}return void 0!==e.presetArg&&e.optional&&t.push(`preset: ${JSON.stringify(e.presetArg)}`),void 0!==e.envVar&&t.push(`env: ${e.envVar}`),t.length>0?`${e.description} (${t.join(", ")})`:e.description}argumentDescription(e){const t=[];if(e.argChoices&&t.push(`choices: ${e.argChoices.map((e=>JSON.stringify(e))).join(", ")}`),void 0!==e.defaultValue&&t.push(`default: ${e.defaultValueDescription||JSON.stringify(e.defaultValue)}`),t.length>0){const r=`(${t.join(", ")})`;return e.description?`${e.description} ${r}`:r}return e.description}formatHelp(e,t){const r=t.padWidth(e,t),n=t.helpWidth||80;function i(e,i){if(i){const a=`${e.padEnd(r+2)}${i}`;return t.wrap(a,n-2,r+2)}return e}function a(e){return e.join("\n").replace(/^/gm," ".repeat(2))}let o=[`Usage: ${t.commandUsage(e)}`,""];const s=t.commandDescription(e);s.length>0&&(o=o.concat([s,""]));const c=t.visibleArguments(e).map((e=>i(t.argumentTerm(e),t.argumentDescription(e))));c.length>0&&(o=o.concat(["Arguments:",a(c),""]));const l=t.visibleOptions(e).map((e=>i(t.optionTerm(e),t.optionDescription(e))));if(l.length>0&&(o=o.concat(["Options:",a(l),""])),this.showGlobalOptions){const r=t.visibleGlobalOptions(e).map((e=>i(t.optionTerm(e),t.optionDescription(e))));r.length>0&&(o=o.concat(["Global Options:",a(r),""]))}const u=t.visibleCommands(e).map((e=>i(t.subcommandTerm(e),t.subcommandDescription(e))));return u.length>0&&(o=o.concat(["Commands:",a(u),""])),o.join("\n")}padWidth(e,t){return Math.max(t.longestOptionTermLength(e,t),t.longestGlobalOptionTermLength(e,t),t.longestSubcommandTermLength(e,t),t.longestArgumentTermLength(e,t))}wrap(e,t,r,n=40){if(e.match(/[\n]\s+/))return e;const i=t-r;if(i<n)return e;const a=e.slice(0,r),o=e.slice(r),s=" ".repeat(r),c=new RegExp(".{1,"+(i-1)+"}([\\s]|$)|[^\\s]+?([\\s]|$)","g");return a+(o.match(c)||[]).map(((e,t)=>("\n"===e.slice(-1)&&(e=e.slice(0,e.length-1)),(t>0?s:"")+e.trimRight()))).join("\n")}}},75019:(e,t,r)=>{const{InvalidArgumentError:n}=r(43666);function i(e){let t,r;const n=e.split(/[ |,]+/);return n.length>1&&!/^[[<]/.test(n[1])&&(t=n.shift()),r=n.shift(),!t&&/^-[^-]$/.test(r)&&(t=r,r=void 0),{shortFlag:t,longFlag:r}}t.Option=class{constructor(e,t){this.flags=e,this.description=t||"",this.required=e.includes("<"),this.optional=e.includes("["),this.variadic=/\w\.\.\.[>\]]$/.test(e),this.mandatory=!1;const r=i(e);this.short=r.shortFlag,this.long=r.longFlag,this.negate=!1,this.long&&(this.negate=this.long.startsWith("--no-")),this.defaultValue=void 0,this.defaultValueDescription=void 0,this.presetArg=void 0,this.envVar=void 0,this.parseArg=void 0,this.hidden=!1,this.argChoices=void 0,this.conflictsWith=[],this.implied=void 0}default(e,t){return this.defaultValue=e,this.defaultValueDescription=t,this}preset(e){return this.presetArg=e,this}conflicts(e){return this.conflictsWith=this.conflictsWith.concat(e),this}implies(e){return this.implied=Object.assign(this.implied||{},e),this}env(e){return this.envVar=e,this}argParser(e){return this.parseArg=e,this}makeOptionMandatory(e=!0){return this.mandatory=!!e,this}hideHelp(e=!0){return this.hidden=!!e,this}_concatValue(e,t){return t!==this.defaultValue&&Array.isArray(t)?t.concat(e):[e]}choices(e){return this.argChoices=e.slice(),this.parseArg=(e,t)=>{if(!this.argChoices.includes(e))throw new n(`Allowed choices are ${this.argChoices.join(", ")}.`);return this.variadic?this._concatValue(e,t):e},this}name(){return this.long?this.long.replace(/^--/,""):this.short.replace(/^-/,"")}attributeName(){return this.name().replace(/^no-/,"").split("-").reduce(((e,t)=>e+t[0].toUpperCase()+t.slice(1)))}is(e){return this.short===e||this.long===e}isBoolean(){return!this.required&&!this.optional&&!this.negate}},t.splitOptionFlags=i,t.DualOptions=class{constructor(e){this.positiveOptions=new Map,this.negativeOptions=new Map,this.dualOptions=new Set,e.forEach((e=>{e.negate?this.negativeOptions.set(e.attributeName(),e):this.positiveOptions.set(e.attributeName(),e)})),this.negativeOptions.forEach(((e,t)=>{this.positiveOptions.has(t)&&this.dualOptions.add(t)}))}valueFromOption(e,t){const r=t.attributeName();if(!this.dualOptions.has(r))return!0;const n=this.negativeOptions.get(r).presetArg,i=void 0!==n&&n;return t.negate===(i===e)}}},87369:(e,t)=>{const r=3;t.suggestSimilar=function(e,t){if(!t||0===t.length)return"";t=Array.from(new Set(t));const n=e.startsWith("--");n&&(e=e.slice(2),t=t.map((e=>e.slice(2))));let i=[],a=r;return t.forEach((t=>{if(t.length<=1)return;const n=function(e,t){if(Math.abs(e.length-t.length)>r)return Math.max(e.length,t.length);const n=[];for(let t=0;t<=e.length;t++)n[t]=[t];for(let e=0;e<=t.length;e++)n[0][e]=e;for(let r=1;r<=t.length;r++)for(let i=1;i<=e.length;i++){let a=1;a=e[i-1]===t[r-1]?0:1,n[i][r]=Math.min(n[i-1][r]+1,n[i][r-1]+1,n[i-1][r-1]+a),i>1&&r>1&&e[i-1]===t[r-2]&&e[i-2]===t[r-1]&&(n[i][r]=Math.min(n[i][r],n[i-2][r-2]+1))}return n[e.length][t.length]}(e,t),o=Math.max(e.length,t.length);(o-n)/o>.4&&(n<a?(a=n,i=[t]):n===a&&i.push(t))})),i.sort(((e,t)=>e.localeCompare(t))),n&&(i=i.map((e=>`--${e}`))),i.length>1?`\n(Did you mean one of ${i.join(", ")}?)`:1===i.length?`\n(Did you mean ${i[0]}?)`:""}},67634:function(e,t,r){"use strict";var n=this&&this.__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]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.util=t.tokenizers=t.transforms=t.inspect=t.stringify=t.parse=void 0;const a=r(70558),o=r(1339),s=r(29610),c=r(63409),l=r(5919),u=r(56945),d=r(81219),p=r(68646),f=r(72693),m=r(59192),g=r(98274);i(r(97140),t),t.parse=function(e,t={}){return(0,a.default)(t)(e)},t.stringify=(0,u.default)();var _=r(42237);Object.defineProperty(t,"inspect",{enumerable:!0,get:function(){return _.default}}),t.transforms={flow:m.flow,align:d.default,indent:p.default,crlf:f.default},t.tokenizers={tag:c.default,type:l.default,name:s.default,description:o.default},t.util={rewireSpecs:g.rewireSpecs,rewireSource:g.rewireSource,seedBlock:g.seedBlock,seedTokens:g.seedTokens}},66127:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=/^@\S+/;t.default=function({fence:e="```"}={}){const t=function(e){return"string"==typeof e?t=>t.split(e).length%2==0:e}(e),n=(e,r)=>t(e)?!r:r;return function(e){const t=[[]];let i=!1;for(const a of e)r.test(a.tokens.description)&&!i?t.push([a]):t[t.length-1].push(a),i=n(a.tokens.description,i);return t}}},70558:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(97140),i=r(98274),a=r(66127),o=r(89239),s=r(45377),c=r(63409),l=r(5919),u=r(29610),d=r(1339);t.default=function({startLine:e=0,fence:t="```",spacing:r="compact",markers:p=n.Markers,tokenizers:f=[(0,c.default)(),(0,l.default)(r),(0,u.default)(),(0,d.default)(r)]}={}){if(e<0||e%1>0)throw new Error("Invalid startLine");const m=(0,o.default)({startLine:e,markers:p}),g=(0,a.default)({fence:t}),_=(0,s.default)({tokenizers:f}),h=(0,d.getJoiner)(r);return function(e){const t=[];for(const r of(0,i.splitLines)(e)){const e=m(r);if(null===e)continue;const n=g(e),i=n.slice(1).map(_);t.push({description:h(n[0],p),tags:i,source:e,problems:i.reduce(((e,t)=>e.concat(t.problems)),[])})}return t}}},89239:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(97140),i=r(98274);t.default=function({startLine:e=0,markers:t=n.Markers}={}){let r=null,a=e;return function(e){let n=e;const o=(0,i.seedTokens)();if([o.lineEnd,n]=(0,i.splitCR)(n),[o.start,n]=(0,i.splitSpace)(n),null===r&&n.startsWith(t.start)&&!n.startsWith(t.nostart)&&(r=[],o.delimiter=n.slice(0,t.start.length),n=n.slice(t.start.length),[o.postDelimiter,n]=(0,i.splitSpace)(n)),null===r)return a++,null;const s=n.trimRight().endsWith(t.end);if(""===o.delimiter&&n.startsWith(t.delim)&&!n.startsWith(t.end)&&(o.delimiter=t.delim,n=n.slice(t.delim.length),[o.postDelimiter,n]=(0,i.splitSpace)(n)),s){const e=n.trimRight();o.end=n.slice(e.length-t.end.length),n=e.slice(0,-t.end.length)}if(o.description=n,r.push({number:a,source:e,tokens:o}),a++,s){const e=r.slice();return r=null,e}return null}}},45377:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(98274);t.default=function({tokenizers:e}){return function(t){var r;let i=(0,n.seedSpec)({source:t});for(const t of e)if(i=t(i),null===(r=i.problems[i.problems.length-1])||void 0===r?void 0:r.critical)break;return i}}},1339:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getJoiner=void 0;const n=r(97140);function i(e){return"compact"===e?a:"preserve"===e?c:e}function a(e,t=n.Markers){return e.map((({tokens:{description:e}})=>e.trim())).filter((e=>""!==e)).join(" ")}t.default=function(e="compact",t=n.Markers){const r=i(e);return e=>(e.description=r(e.source,t),e)},t.getJoiner=i;const o=(e,{tokens:t},r)=>""===t.type?e:r,s=({tokens:e})=>(""===e.delimiter?e.start:e.postDelimiter.slice(1))+e.description;function c(e,t=n.Markers){if(0===e.length)return"";""===e[0].tokens.description&&e[0].tokens.delimiter===t.start&&(e=e.slice(1));const r=e[e.length-1];return void 0!==r&&""===r.tokens.description&&r.tokens.end.endsWith(t.end)&&(e=e.slice(0,-1)),(e=e.slice(e.reduce(o,0))).map(s).join("\n")}},29610:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(98274);t.default=function(){const e=(e,{tokens:t},r)=>""===t.type?e:r;return t=>{const{tokens:r}=t.source[t.source.reduce(e,0)],i=r.description.trimLeft(),a=i.split('"');if(a.length>1&&""===a[0]&&a.length%2==1)return t.name=a[1],r.name=`"${a[1]}"`,[r.postName,r.description]=(0,n.splitSpace)(i.slice(r.name.length)),t;let o,s=0,c="",l=!1;for(const e of i){if(0===s&&(0,n.isSpace)(e))break;"["===e&&s++,"]"===e&&s--,c+=e}if(0!==s)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;const u=c;if("["===c[0]&&"]"===c[c.length-1]){l=!0,c=c.slice(1,-1);const e=c.split("=");if(c=e[0].trim(),void 0!==e[1]&&(o=e.slice(1).join("=").trim()),""===c)return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(""===o)return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!((d=o)&&d.startsWith('"')&&d.endsWith('"'))&&/=(?!>)/.test(o))return t.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:t.source[0].number,critical:!0}),t}var d;return t.optional=l,t.name=c,r.name=u,void 0!==o&&(t.default=o),[r.postName,r.description]=(0,n.splitSpace)(i.slice(r.name.length)),t}}},63409:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return e=>{const{tokens:t}=e.source[0],r=t.description.match(/\s*(@(\S+))(\s*)/);return null===r?(e.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:e.source[0].number,critical:!0}),e):(t.tag=r[1],t.postTag=r[3],t.description=t.description.slice(r[0].length),e.tag=r[2],e)}}},5919:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(98274);t.default=function(e="compact"){const t=function(e){return"compact"===e?e=>e.map(i).join(""):"preserve"===e?e=>e.join("\n"):e}(e);return e=>{let r=0,i=[];for(const[t,{tokens:n}]of e.source.entries()){let a="";if(0===t&&"{"!==n.description[0])return e;for(const e of n.description)if("{"===e&&r++,"}"===e&&r--,a+=e,0===r)break;if(i.push([n,a]),0===r)break}if(0!==r)return e.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:e.source[0].number,critical:!0}),e;const a=[],o=i[0][0].postDelimiter.length;for(const[e,[t,r]]of i.entries())t.type=r,e>0&&(t.type=t.postDelimiter.slice(o)+r,t.postDelimiter=t.postDelimiter.slice(0,o)),[t.postType,t.description]=(0,n.splitSpace)(t.description.slice(r.length)),a.push(t.type);return a[0]=a[0].slice(1),a[a.length-1]=a[a.length-1].slice(0,-1),e.type=t(a),e}};const i=e=>e.trim()},97140:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Markers=void 0,function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"}(t.Markers||(t.Markers={}))},56945:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return e=>e.source.map((({tokens:e})=>function(e){return e.start+e.delimiter+e.postDelimiter+e.tag+e.postTag+e.type+e.postType+e.name+e.postName+e.description+e.end+e.lineEnd}(e))).join("\n")}},42237:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(98274),i={line:0,start:0,delimiter:0,postDelimiter:0,tag:0,postTag:0,name:0,postName:0,type:0,postType:0,description:0,end:0,lineEnd:0},a={lineEnd:"CR"},o=Object.keys(i),s=e=>(0,n.isSpace)(e)?`{${e.length}}`:e,c=e=>"|"+e.join("|")+"|",l=(e,t)=>Object.keys(t).map((r=>s(t[r]).padEnd(e[r])));t.default=function({source:e}){var t,r;if(0===e.length)return"";const n=Object.assign({},i);for(const e of o)n[e]=(null!==(t=a[e])&&void 0!==t?t:e).length;for(const{number:t,tokens:r}of e){n.line=Math.max(n.line,t.toString().length);for(const e in r)n[e]=Math.max(n[e],s(r[e]).length)}const u=[[],[]];for(const e of o)u[0].push((null!==(r=a[e])&&void 0!==r?r:e).padEnd(n[e]));for(const e of o)u[1].push("-".padEnd(n[e],"-"));for(const{number:t,tokens:r}of e){const e=t.toString().padStart(n.line);u.push([e,...l(n,r)])}return u.map(c).join("\n")}},81219:function(e,t,r){"use strict";var n=this&&this.__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};Object.defineProperty(t,"__esModule",{value:!0});const i=r(97140),a=r(98274),o={start:0,tag:0,type:0,name:0},s=e=>"".padStart(e," ");t.default=function(e=i.Markers){let t,r=!1;function c(n){const i=Object.assign({},n.tokens);""!==i.tag&&(r=!0);const a=""===i.tag&&""===i.name&&""===i.type&&""===i.description;if(i.end===e.end&&a)return i.start=s(t.start+1),Object.assign(Object.assign({},n),{tokens:i});switch(i.delimiter){case e.start:i.start=s(t.start);break;case e.delim:i.start=s(t.start+1);break;default:i.delimiter="",i.start=s(t.start+2)}if(!r)return i.postDelimiter=""===i.description?"":" ",Object.assign(Object.assign({},n),{tokens:i});const o={delim:!1,tag:!1,type:!1,name:!1};return""===i.description&&(o.name=!0,i.postName="",""===i.name&&(o.type=!0,i.postType="",""===i.type&&(o.tag=!0,i.postTag="",""===i.tag&&(o.delim=!0)))),i.postDelimiter=o.delim?"":" ",o.tag||(i.postTag=s(t.tag-i.tag.length+1)),o.type||(i.postType=s(t.type-i.type.length+1)),o.name||(i.postName=s(t.name-i.name.length+1)),Object.assign(Object.assign({},n),{tokens:i})}return r=>{var{source:s}=r,l=n(r,["source"]);return t=s.reduce(((e=i.Markers)=>(t,{tokens:r})=>({start:r.delimiter===e.start?r.start.length:t.start,tag:Math.max(t.tag,r.tag.length),type:Math.max(t.type,r.type.length),name:Math.max(t.name,r.name.length)}))(e),Object.assign({},o)),(0,a.rewireSource)(Object.assign(Object.assign({},l),{source:s.map(c)}))}}},72693:function(e,t,r){"use strict";var n=this&&this.__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};Object.defineProperty(t,"__esModule",{value:!0});const i=r(98274);t.default=function(e){function t(t){return Object.assign(Object.assign({},t),{tokens:Object.assign(Object.assign({},t.tokens),{lineEnd:"LF"===e?"":"\r"})})}return e=>{var{source:r}=e,a=n(e,["source"]);return(0,i.rewireSource)(Object.assign(Object.assign({},a),{source:r.map(t)}))}}},68646:function(e,t,r){"use strict";var n=this&&this.__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};Object.defineProperty(t,"__esModule",{value:!0});const i=r(98274);t.default=function(e){let t;const r=r=>{if(void 0===t){const n=e-r.length;t=n>0?(e=>{const t="".padStart(e," ");return e=>e+t})(n):(e=>t=>t.slice(e))(-n)}return t(r)},a=e=>Object.assign(Object.assign({},e),{tokens:Object.assign(Object.assign({},e.tokens),{start:r(e.tokens.start)})});return e=>{var{source:t}=e,r=n(e,["source"]);return(0,i.rewireSource)(Object.assign(Object.assign({},r),{source:t.map(a)}))}}},59192:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flow=void 0,t.flow=function(...e){return t=>e.reduce(((e,t)=>t(e)),t)}},98274:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rewireSpecs=t.rewireSource=t.seedTokens=t.seedSpec=t.seedBlock=t.splitLines=t.splitSpace=t.splitCR=t.hasCR=t.isSpace=void 0,t.isSpace=function(e){return/^\s+$/.test(e)},t.hasCR=function(e){return/\r$/.test(e)},t.splitCR=function(e){const t=e.match(/\r+$/);return null==t?["",e]:[e.slice(-t[0].length),e.slice(0,-t[0].length)]},t.splitSpace=function(e){const t=e.match(/^\s+/);return null==t?["",e]:[e.slice(0,t[0].length),e.slice(t[0].length)]},t.splitLines=function(e){return e.split(/\n/)},t.seedBlock=function(e={}){return Object.assign({description:"",tags:[],source:[],problems:[]},e)},t.seedSpec=function(e={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},e)},t.seedTokens=function(e={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},e)},t.rewireSource=function(e){const t=e.source.reduce(((e,t)=>e.set(t.number,t)),new Map);for(const r of e.tags)r.source=r.source.map((e=>t.get(e.number)));return e},t.rewireSpecs=function(e){const t=e.tags.reduce(((e,t)=>t.source.reduce(((e,t)=>e.set(t.number,t)),e)),new Map);return e.source=e.source.map((e=>t.get(e.number)||e)),e}},22268:(e,t,r)=>{"use strict";function n(e,...t){return(...r)=>e(...t,...r)}function i(e){return function(...t){var r=t.pop();return e.call(this,t,r)}}r.r(t),r.d(t,{all:()=>ge,allLimit:()=>_e,allSeries:()=>he,any:()=>rt,anyLimit:()=>nt,anySeries:()=>it,apply:()=>n,applyEach:()=>P,applyEachSeries:()=>O,asyncify:()=>d,auto:()=>L,autoInject:()=>q,cargo:()=>K,cargoQueue:()=>W,compose:()=>Y,concat:()=>Z,concatLimit:()=>Q,concatSeries:()=>ee,constant:()=>te,default:()=>_t,detect:()=>ne,detectLimit:()=>ie,detectSeries:()=>ae,dir:()=>se,doDuring:()=>ce,doUntil:()=>le,doWhilst:()=>ce,during:()=>ft,each:()=>de,eachLimit:()=>pe,eachOf:()=>A,eachOfLimit:()=>w,eachOfSeries:()=>I,eachSeries:()=>fe,ensureAsync:()=>me,every:()=>ge,everyLimit:()=>_e,everySeries:()=>he,filter:()=>ke,filterLimit:()=>xe,filterSeries:()=>Ee,find:()=>ne,findLimit:()=>ie,findSeries:()=>ae,flatMap:()=>Z,flatMapLimit:()=>Q,flatMapSeries:()=>ee,foldl:()=>G,foldr:()=>Je,forEach:()=>de,forEachLimit:()=>pe,forEachOf:()=>A,forEachOfLimit:()=>w,forEachOfSeries:()=>I,forEachSeries:()=>fe,forever:()=>Se,groupBy:()=>we,groupByLimit:()=>De,groupBySeries:()=>Te,inject:()=>G,log:()=>Ce,map:()=>N,mapLimit:()=>X,mapSeries:()=>F,mapValues:()=>Ne,mapValuesLimit:()=>Ae,mapValuesSeries:()=>Pe,memoize:()=>Ie,nextTick:()=>Fe,parallel:()=>Re,parallelLimit:()=>Me,priorityQueue:()=>Ue,queue:()=>Le,race:()=>qe,reduce:()=>G,reduceRight:()=>Je,reflect:()=>Ve,reflectAll:()=>He,reject:()=>We,rejectLimit:()=>Ge,rejectSeries:()=>$e,retry:()=>Ze,retryable:()=>et,select:()=>ke,selectLimit:()=>xe,selectSeries:()=>Ee,seq:()=>$,series:()=>tt,setImmediate:()=>u,some:()=>rt,someLimit:()=>nt,someSeries:()=>it,sortBy:()=>at,timeout:()=>ot,times:()=>ct,timesLimit:()=>st,timesSeries:()=>lt,transform:()=>ut,tryEach:()=>dt,unmemoize:()=>pt,until:()=>mt,waterfall:()=>gt,whilst:()=>ft,wrapSync:()=>d});var a="function"==typeof queueMicrotask&&queueMicrotask,o="function"==typeof setImmediate&&setImmediate,s="object"==typeof process&&"function"==typeof process.nextTick;function c(e){setTimeout(e,0)}function l(e){return(t,...r)=>e((()=>t(...r)))}var u=l(a?queueMicrotask:o?setImmediate:s?process.nextTick:c);function d(e){return m(e)?function(...t){const r=t.pop();return p(e.apply(this,t),r)}:i((function(t,r){var n;try{n=e.apply(this,t)}catch(e){return r(e)}if(n&&"function"==typeof n.then)return p(n,r);r(null,n)}))}function p(e,t){return e.then((e=>{f(t,null,e)}),(e=>{f(t,e&&(e instanceof Error||e.message)?e:new Error(e))}))}function f(e,t,r){try{e(t,r)}catch(e){u((e=>{throw e}),e)}}function m(e){return"AsyncFunction"===e[Symbol.toStringTag]}function g(e){if("function"!=typeof e)throw new Error("expected a function");return m(e)?d(e):e}function _(e,t){if(t||(t=e.length),!t)throw new Error("arity is undefined");return function(...r){return"function"==typeof r[t-1]?e.apply(this,r):new Promise(((n,i)=>{r[t-1]=(e,...t)=>{if(e)return i(e);n(t.length>1?t:t[0])},e.apply(this,r)}))}}function h(e){return function(t,...r){return _((function(n){var i=this;return e(t,((e,t)=>{g(e).apply(i,r.concat(t))}),n)}))}}function y(e,t,r,n){t=t||[];var i=[],a=0,o=g(r);return e(t,((e,t,r)=>{var n=a++;o(e,((e,t)=>{i[n]=t,r(e)}))}),(e=>{n(e,i)}))}function v(e){return e&&"number"==typeof e.length&&e.length>=0&&e.length%1==0}var b={};function k(e){function t(...t){if(null!==e){var r=e;e=null,r.apply(this,t)}}return Object.assign(t,e),t}function x(e){if(v(e))return function(e){var t=-1,r=e.length;return function(){return++t<r?{value:e[t],key:t}:null}}(e);var t,r,n,i,a=function(e){return e[Symbol.iterator]&&e[Symbol.iterator]()}(e);return a?function(e){var t=-1;return function(){var r=e.next();return r.done?null:(t++,{value:r.value,key:t})}}(a):(r=(t=e)?Object.keys(t):[],n=-1,i=r.length,function e(){var a=r[++n];return"__proto__"===a?e():n<i?{value:t[a],key:a}:null})}function E(e){return function(...t){if(null===e)throw new Error("Callback was already called.");var r=e;e=null,r.apply(this,t)}}function S(e,t,r,n){let i=!1,a=!1,o=!1,s=0,c=0;function l(){s>=t||o||i||(o=!0,e.next().then((({value:e,done:t})=>{if(!a&&!i){if(o=!1,t)return i=!0,void(s<=0&&n(null));s++,r(e,c,u),c++,l()}})).catch(d))}function u(e,t){if(s-=1,!a)return e?d(e):!1===e?(i=!0,void(a=!0)):t===b||i&&s<=0?(i=!0,n(null)):void l()}function d(e){a||(o=!1,i=!0,n(e))}l()}var D=e=>(t,r,n)=>{if(n=k(n),e<=0)throw new RangeError("concurrency limit cannot be less than 1");if(!t)return n(null);if("AsyncGenerator"===t[Symbol.toStringTag])return S(t,e,r,n);if(function(e){return"function"==typeof e[Symbol.asyncIterator]}(t))return S(t[Symbol.asyncIterator](),e,r,n);var i=x(t),a=!1,o=!1,s=0,c=!1;function l(e,t){if(!o)if(s-=1,e)a=!0,n(e);else if(!1===e)a=!0,o=!0;else{if(t===b||a&&s<=0)return a=!0,n(null);c||u()}}function u(){for(c=!0;s<e&&!a;){var t=i();if(null===t)return a=!0,void(s<=0&&n(null));s+=1,r(t.value,t.key,E(l))}c=!1}u()};var w=_((function(e,t,r,n){return D(t)(e,g(r),n)}),4);function T(e,t,r){r=k(r);var n=0,i=0,{length:a}=e,o=!1;function s(e,t){!1===e&&(o=!0),!0!==o&&(e?r(e):++i!==a&&t!==b||r(null))}for(0===a&&r(null);n<a;n++)t(e[n],n,E(s))}function C(e,t,r){return w(e,1/0,t,r)}var A=_((function(e,t,r){return(v(e)?T:C)(e,g(t),r)}),3);var N=_((function(e,t,r){return y(A,e,t,r)}),3),P=h(N);var I=_((function(e,t,r){return w(e,1,t,r)}),3);var F=_((function(e,t,r){return y(I,e,t,r)}),3),O=h(F);const R=Symbol("promiseCallback");function M(){let e,t;function r(r,...n){if(r)return t(r);e(n.length>1?n:n[0])}return r[R]=new Promise(((r,n)=>{e=r,t=n})),r}function L(e,t,r){"number"!=typeof t&&(r=t,t=null),r=k(r||M());var n=Object.keys(e).length;if(!n)return r(null);t||(t=n);var i={},a=0,o=!1,s=!1,c=Object.create(null),l=[],u=[],d={};function p(e,t){l.push((()=>function(e,t){if(s)return;var n=E(((t,...n)=>{if(a--,!1!==t)if(n.length<2&&([n]=n),t){var l={};if(Object.keys(i).forEach((e=>{l[e]=i[e]})),l[e]=n,s=!0,c=Object.create(null),o)return;r(t,l)}else i[e]=n,(c[e]||[]).forEach((e=>e())),f();else o=!0}));a++;var l=g(t[t.length-1]);t.length>1?l(i,n):l(n)}(e,t)))}function f(){if(!o){if(0===l.length&&0===a)return r(null,i);for(;l.length&&a<t;){l.shift()()}}}function m(t){var r=[];return Object.keys(e).forEach((n=>{const i=e[n];Array.isArray(i)&&i.indexOf(t)>=0&&r.push(n)})),r}return Object.keys(e).forEach((t=>{var r=e[t];if(!Array.isArray(r))return p(t,[r]),void u.push(t);var n=r.slice(0,r.length-1),i=n.length;if(0===i)return p(t,r),void u.push(t);d[t]=i,n.forEach((a=>{if(!e[a])throw new Error("async.auto task `"+t+"` has a non-existent dependency `"+a+"` in "+n.join(", "));!function(e,t){var r=c[e];r||(r=c[e]=[]);r.push(t)}(a,(()=>{0===--i&&p(t,r)}))}))})),function(){var e=0;for(;u.length;)e++,m(u.pop()).forEach((e=>{0==--d[e]&&u.push(e)}));if(e!==n)throw new Error("async.auto cannot execute tasks due to a recursive dependency")}(),f(),r[R]}var j=/^(?:async\s+)?(?:function)?\s*\w*\s*\(\s*([^)]+)\s*\)(?:\s*{)/,B=/^(?:async\s+)?\(?\s*([^)=]+)\s*\)?(?:\s*=>)/,z=/,/,U=/(=.+)?(\s*)$/;function q(e,t){var r={};return Object.keys(e).forEach((t=>{var n,i=e[t],a=m(i),o=!a&&1===i.length||a&&0===i.length;if(Array.isArray(i))n=[...i],i=n.pop(),r[t]=n.concat(n.length>0?s:i);else if(o)r[t]=i;else{if(n=function(e){const t=function(e){let t="",r=0,n=e.indexOf("*/");for(;r<e.length;)if("/"===e[r]&&"/"===e[r+1]){let t=e.indexOf("\n",r);r=-1===t?e.length:t}else if(-1!==n&&"/"===e[r]&&"*"===e[r+1]){let i=e.indexOf("*/",r);-1!==i?(r=i+2,n=e.indexOf("*/",r)):(t+=e[r],r++)}else t+=e[r],r++;return t}(e.toString());let r=t.match(j);if(r||(r=t.match(B)),!r)throw new Error("could not parse args in autoInject\nSource:\n"+t);let[,n]=r;return n.replace(/\s/g,"").split(z).map((e=>e.replace(U,"").trim()))}(i),0===i.length&&!a&&0===n.length)throw new Error("autoInject task functions require explicit parameters.");a||n.pop(),r[t]=n.concat(s)}function s(e,t){var r=n.map((t=>e[t]));r.push(t),g(i)(...r)}})),L(r,t)}class J{constructor(){this.head=this.tail=null,this.length=0}removeLink(e){return e.prev?e.prev.next=e.next:this.head=e.next,e.next?e.next.prev=e.prev:this.tail=e.prev,e.prev=e.next=null,this.length-=1,e}empty(){for(;this.head;)this.shift();return this}insertAfter(e,t){t.prev=e,t.next=e.next,e.next?e.next.prev=t:this.tail=t,e.next=t,this.length+=1}insertBefore(e,t){t.prev=e.prev,t.next=e,e.prev?e.prev.next=t:this.head=t,e.prev=t,this.length+=1}unshift(e){this.head?this.insertBefore(this.head,e):V(this,e)}push(e){this.tail?this.insertAfter(this.tail,e):V(this,e)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){for(var e=this.head;e;)yield e.data,e=e.next}remove(e){for(var t=this.head;t;){var{next:r}=t;e(t)&&this.removeLink(t),t=r}return this}}function V(e,t){e.length=1,e.head=e.tail=t}function H(e,t,r){if(null==t)t=1;else if(0===t)throw new RangeError("Concurrency must not be zero");var n=g(e),i=0,a=[];const o={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function s(e,t){return e?t?void(o[e]=o[e].filter((e=>e!==t))):o[e]=[]:Object.keys(o).forEach((e=>o[e]=[]))}function c(e,...t){o[e].forEach((e=>e(...t)))}var l=!1;function d(e,t,r,n){if(null!=n&&"function"!=typeof n)throw new Error("task callback must be a function");var i,a;function o(e,...t){return e?r?a(e):i():t.length<=1?i(t[0]):void i(t)}h.started=!0;var s=h._createTaskItem(e,r?o:n||o);if(t?h._tasks.unshift(s):h._tasks.push(s),l||(l=!0,u((()=>{l=!1,h.process()}))),r||!n)return new Promise(((e,t)=>{i=e,a=t}))}function p(e){return function(t,...r){i-=1;for(var n=0,o=e.length;n<o;n++){var s=e[n],l=a.indexOf(s);0===l?a.shift():l>0&&a.splice(l,1),s.callback(t,...r),null!=t&&c("error",t,s.data)}i<=h.concurrency-h.buffer&&c("unsaturated"),h.idle()&&c("drain"),h.process()}}function f(e){return!(0!==e.length||!h.idle())&&(u((()=>c("drain"))),!0)}const m=e=>t=>{if(!t)return new Promise(((t,r)=>{!function(e,t){const r=(...n)=>{s(e,r),t(...n)};o[e].push(r)}(e,((e,n)=>{if(e)return r(e);t(n)}))}));s(e),function(e,t){o[e].push(t)}(e,t)};var _=!1,h={_tasks:new J,_createTaskItem:(e,t)=>({data:e,callback:t}),*[Symbol.iterator](){yield*h._tasks[Symbol.iterator]()},concurrency:t,payload:r,buffer:t/4,started:!1,paused:!1,push(e,t){if(Array.isArray(e)){if(f(e))return;return e.map((e=>d(e,!1,!1,t)))}return d(e,!1,!1,t)},pushAsync(e,t){if(Array.isArray(e)){if(f(e))return;return e.map((e=>d(e,!1,!0,t)))}return d(e,!1,!0,t)},kill(){s(),h._tasks.empty()},unshift(e,t){if(Array.isArray(e)){if(f(e))return;return e.map((e=>d(e,!0,!1,t)))}return d(e,!0,!1,t)},unshiftAsync(e,t){if(Array.isArray(e)){if(f(e))return;return e.map((e=>d(e,!0,!0,t)))}return d(e,!0,!0,t)},remove(e){h._tasks.remove(e)},process(){if(!_){for(_=!0;!h.paused&&i<h.concurrency&&h._tasks.length;){var e=[],t=[],r=h._tasks.length;h.payload&&(r=Math.min(r,h.payload));for(var o=0;o<r;o++){var s=h._tasks.shift();e.push(s),a.push(s),t.push(s.data)}i+=1,0===h._tasks.length&&c("empty"),i===h.concurrency&&c("saturated");var l=E(p(e));n(t,l)}_=!1}},length:()=>h._tasks.length,running:()=>i,workersList:()=>a,idle:()=>h._tasks.length+i===0,pause(){h.paused=!0},resume(){!1!==h.paused&&(h.paused=!1,u(h.process))}};return Object.defineProperties(h,{saturated:{writable:!1,value:m("saturated")},unsaturated:{writable:!1,value:m("unsaturated")},empty:{writable:!1,value:m("empty")},drain:{writable:!1,value:m("drain")},error:{writable:!1,value:m("error")}}),h}function K(e,t){return H(e,1,t)}function W(e,t,r){return H(e,t,r)}var G=_((function(e,t,r,n){n=k(n);var i=g(r);return I(e,((e,r,n)=>{i(t,e,((e,r)=>{t=r,n(e)}))}),(e=>n(e,t)))}),4);function $(...e){var t=e.map(g);return function(...e){var r=this,n=e[e.length-1];return"function"==typeof n?e.pop():n=M(),G(t,e,((e,t,n)=>{t.apply(r,e.concat(((e,...t)=>{n(e,t)})))}),((e,t)=>n(e,...t))),n[R]}}function Y(...e){return $(...e.reverse())}var X=_((function(e,t,r,n){return y(D(t),e,r,n)}),4);var Q=_((function(e,t,r,n){var i=g(r);return X(e,t,((e,t)=>{i(e,((e,...r)=>e?t(e):t(e,r)))}),((e,t)=>{for(var r=[],i=0;i<t.length;i++)t[i]&&(r=r.concat(...t[i]));return n(e,r)}))}),4);var Z=_((function(e,t,r){return Q(e,1/0,t,r)}),3);var ee=_((function(e,t,r){return Q(e,1,t,r)}),3);function te(...e){return function(...t){return t.pop()(null,...e)}}function re(e,t){return(r,n,i,a)=>{var o,s=!1;const c=g(i);r(n,((r,n,i)=>{c(r,((n,a)=>n||!1===n?i(n):e(a)&&!o?(s=!0,o=t(!0,r),i(null,b)):void i()))}),(e=>{if(e)return a(e);a(null,s?o:t(!1))}))}}var ne=_((function(e,t,r){return re((e=>e),((e,t)=>t))(A,e,t,r)}),3);var ie=_((function(e,t,r,n){return re((e=>e),((e,t)=>t))(D(t),e,r,n)}),4);var ae=_((function(e,t,r){return re((e=>e),((e,t)=>t))(D(1),e,t,r)}),3);function oe(e){return(t,...r)=>g(t)(...r,((t,...r)=>{"object"==typeof console&&(t?console.error&&console.error(t):console[e]&&r.forEach((t=>console[e](t))))}))}var se=oe("dir");var ce=_((function(e,t,r){r=E(r);var n,i=g(e),a=g(t);function o(e,...t){if(e)return r(e);!1!==e&&(n=t,a(...t,s))}function s(e,t){return e?r(e):!1!==e?t?void i(o):r(null,...n):void 0}return s(null,!0)}),3);function le(e,t,r){const n=g(t);return ce(e,((...e)=>{const t=e.pop();n(...e,((e,r)=>t(e,!r)))}),r)}function ue(e){return(t,r,n)=>e(t,n)}var de=_((function(e,t,r){return A(e,ue(g(t)),r)}),3);var pe=_((function(e,t,r,n){return D(t)(e,ue(g(r)),n)}),4);var fe=_((function(e,t,r){return pe(e,1,t,r)}),3);function me(e){return m(e)?e:function(...t){var r=t.pop(),n=!0;t.push(((...e)=>{n?u((()=>r(...e))):r(...e)})),e.apply(this,t),n=!1}}var ge=_((function(e,t,r){return re((e=>!e),(e=>!e))(A,e,t,r)}),3);var _e=_((function(e,t,r,n){return re((e=>!e),(e=>!e))(D(t),e,r,n)}),4);var he=_((function(e,t,r){return re((e=>!e),(e=>!e))(I,e,t,r)}),3);function ye(e,t,r,n){var i=new Array(t.length);e(t,((e,t,n)=>{r(e,((e,r)=>{i[t]=!!r,n(e)}))}),(e=>{if(e)return n(e);for(var r=[],a=0;a<t.length;a++)i[a]&&r.push(t[a]);n(null,r)}))}function ve(e,t,r,n){var i=[];e(t,((e,t,n)=>{r(e,((r,a)=>{if(r)return n(r);a&&i.push({index:t,value:e}),n(r)}))}),(e=>{if(e)return n(e);n(null,i.sort(((e,t)=>e.index-t.index)).map((e=>e.value)))}))}function be(e,t,r,n){return(v(t)?ye:ve)(e,t,g(r),n)}var ke=_((function(e,t,r){return be(A,e,t,r)}),3);var xe=_((function(e,t,r,n){return be(D(t),e,r,n)}),4);var Ee=_((function(e,t,r){return be(I,e,t,r)}),3);var Se=_((function(e,t){var r=E(t),n=g(me(e));return function e(t){if(t)return r(t);!1!==t&&n(e)}()}),2);var De=_((function(e,t,r,n){var i=g(r);return X(e,t,((e,t)=>{i(e,((r,n)=>r?t(r):t(r,{key:n,val:e})))}),((e,t)=>{for(var r={},{hasOwnProperty:i}=Object.prototype,a=0;a<t.length;a++)if(t[a]){var{key:o}=t[a],{val:s}=t[a];i.call(r,o)?r[o].push(s):r[o]=[s]}return n(e,r)}))}),4);function we(e,t,r){return De(e,1/0,t,r)}function Te(e,t,r){return De(e,1,t,r)}var Ce=oe("log");var Ae=_((function(e,t,r,n){n=k(n);var i={},a=g(r);return D(t)(e,((e,t,r)=>{a(e,t,((e,n)=>{if(e)return r(e);i[t]=n,r(e)}))}),(e=>n(e,i)))}),4);function Ne(e,t,r){return Ae(e,1/0,t,r)}function Pe(e,t,r){return Ae(e,1,t,r)}function Ie(e,t=e=>e){var r=Object.create(null),n=Object.create(null),a=g(e),o=i(((e,i)=>{var o=t(...e);o in r?u((()=>i(null,...r[o]))):o in n?n[o].push(i):(n[o]=[i],a(...e,((e,...t)=>{e||(r[o]=t);var i=n[o];delete n[o];for(var a=0,s=i.length;a<s;a++)i[a](e,...t)})))}));return o.memo=r,o.unmemoized=e,o}var Fe=l(s?process.nextTick:o?setImmediate:c),Oe=_(((e,t,r)=>{var n=v(t)?[]:{};e(t,((e,t,r)=>{g(e)(((e,...i)=>{i.length<2&&([i]=i),n[t]=i,r(e)}))}),(e=>r(e,n)))}),3);function Re(e,t){return Oe(A,e,t)}function Me(e,t,r){return Oe(D(t),e,r)}function Le(e,t){var r=g(e);return H(((e,t)=>{r(e[0],t)}),t,1)}class je{constructor(){this.heap=[],this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){return this.heap=[],this}percUp(e){let t;for(;e>0&&ze(this.heap[e],this.heap[t=Be(e)]);){let r=this.heap[e];this.heap[e]=this.heap[t],this.heap[t]=r,e=t}}percDown(e){let t;for(;(t=1+(e<<1))<this.heap.length&&(t+1<this.heap.length&&ze(this.heap[t+1],this.heap[t])&&(t+=1),!ze(this.heap[e],this.heap[t]));){let r=this.heap[e];this.heap[e]=this.heap[t],this.heap[t]=r,e=t}}push(e){e.pushCount=++this.pushCount,this.heap.push(e),this.percUp(this.heap.length-1)}unshift(e){return this.heap.push(e)}shift(){let[e]=this.heap;return this.heap[0]=this.heap[this.heap.length-1],this.heap.pop(),this.percDown(0),e}toArray(){return[...this]}*[Symbol.iterator](){for(let e=0;e<this.heap.length;e++)yield this.heap[e].data}remove(e){let t=0;for(let r=0;r<this.heap.length;r++)e(this.heap[r])||(this.heap[t]=this.heap[r],t++);this.heap.splice(t);for(let e=Be(this.heap.length-1);e>=0;e--)this.percDown(e);return this}}function Be(e){return(e+1>>1)-1}function ze(e,t){return e.priority!==t.priority?e.priority<t.priority:e.pushCount<t.pushCount}function Ue(e,t){var r=Le(e,t),{push:n,pushAsync:i}=r;function a(e,t){return Array.isArray(e)?e.map((e=>({data:e,priority:t}))):{data:e,priority:t}}return r._tasks=new je,r._createTaskItem=({data:e,priority:t},r)=>({data:e,priority:t,callback:r}),r.push=function(e,t=0,r){return n(a(e,t),r)},r.pushAsync=function(e,t=0,r){return i(a(e,t),r)},delete r.unshift,delete r.unshiftAsync,r}var qe=_((function(e,t){if(t=k(t),!Array.isArray(e))return t(new TypeError("First argument to race must be an array of functions"));if(!e.length)return t();for(var r=0,n=e.length;r<n;r++)g(e[r])(t)}),2);function Je(e,t,r,n){var i=[...e].reverse();return G(i,t,r,n)}function Ve(e){var t=g(e);return i((function(e,r){return e.push(((e,...t)=>{let n={};if(e&&(n.error=e),t.length>0){var i=t;t.length<=1&&([i]=t),n.value=i}r(null,n)})),t.apply(this,e)}))}function He(e){var t;return Array.isArray(e)?t=e.map(Ve):(t={},Object.keys(e).forEach((r=>{t[r]=Ve.call(this,e[r])}))),t}function Ke(e,t,r,n){const i=g(r);return be(e,t,((e,t)=>{i(e,((e,r)=>{t(e,!r)}))}),n)}var We=_((function(e,t,r){return Ke(A,e,t,r)}),3);var Ge=_((function(e,t,r,n){return Ke(D(t),e,r,n)}),4);var $e=_((function(e,t,r){return Ke(I,e,t,r)}),3);function Ye(e){return function(){return e}}const Xe=5,Qe=0;function Ze(e,t,r){var n={times:Xe,intervalFunc:Ye(Qe)};if(arguments.length<3&&"function"==typeof e?(r=t||M(),t=e):(!function(e,t){if("object"==typeof t)e.times=+t.times||Xe,e.intervalFunc="function"==typeof t.interval?t.interval:Ye(+t.interval||Qe),e.errorFilter=t.errorFilter;else{if("number"!=typeof t&&"string"!=typeof t)throw new Error("Invalid arguments for async.retry");e.times=+t||Xe}}(n,e),r=r||M()),"function"!=typeof t)throw new Error("Invalid arguments for async.retry");var i=g(t),a=1;return function e(){i(((t,...i)=>{!1!==t&&(t&&a++<n.times&&("function"!=typeof n.errorFilter||n.errorFilter(t))?setTimeout(e,n.intervalFunc(a-1)):r(t,...i))}))}(),r[R]}function et(e,t){t||(t=e,e=null);let r=e&&e.arity||t.length;m(t)&&(r+=1);var n=g(t);return i(((t,i)=>{function a(e){n(...t,e)}return(t.length<r-1||null==i)&&(t.push(i),i=M()),e?Ze(e,a,i):Ze(a,i),i[R]}))}function tt(e,t){return Oe(I,e,t)}var rt=_((function(e,t,r){return re(Boolean,(e=>e))(A,e,t,r)}),3);var nt=_((function(e,t,r,n){return re(Boolean,(e=>e))(D(t),e,r,n)}),4);var it=_((function(e,t,r){return re(Boolean,(e=>e))(I,e,t,r)}),3);var at=_((function(e,t,r){var n=g(t);return N(e,((e,t)=>{n(e,((r,n)=>{if(r)return t(r);t(r,{value:e,criteria:n})}))}),((e,t)=>{if(e)return r(e);r(null,t.sort(i).map((e=>e.value)))}));function i(e,t){var r=e.criteria,n=t.criteria;return r<n?-1:r>n?1:0}}),3);function ot(e,t,r){var n=g(e);return i(((i,a)=>{var o,s=!1;i.push(((...e)=>{s||(a(...e),clearTimeout(o))})),o=setTimeout((function(){var t=e.name||"anonymous",n=new Error('Callback function "'+t+'" timed out.');n.code="ETIMEDOUT",r&&(n.info=r),s=!0,a(n)}),t),n(...i)}))}function st(e,t,r,n){var i=g(r);return X(function(e){for(var t=Array(e);e--;)t[e]=e;return t}(e),t,i,n)}function ct(e,t,r){return st(e,1/0,t,r)}function lt(e,t,r){return st(e,1,t,r)}function ut(e,t,r,n){arguments.length<=3&&"function"==typeof t&&(n=r,r=t,t=Array.isArray(e)?[]:{}),n=k(n||M());var i=g(r);return A(e,((e,r,n)=>{i(t,e,r,n)}),(e=>n(e,t))),n[R]}var dt=_((function(e,t){var r,n=null;return fe(e,((e,t)=>{g(e)(((e,...i)=>{if(!1===e)return t(e);i.length<2?[r]=i:r=i,n=e,t(e?null:{})}))}),(()=>t(n,r)))}));function pt(e){return(...t)=>(e.unmemoized||e)(...t)}var ft=_((function(e,t,r){r=E(r);var n=g(t),i=g(e),a=[];function o(e,...t){if(e)return r(e);a=t,!1!==e&&i(s)}function s(e,t){return e?r(e):!1!==e?t?void n(o):r(null,...a):void 0}return i(s)}),3);function mt(e,t,r){const n=g(e);return ft((e=>n(((t,r)=>e(t,!r)))),t,r)}var gt=_((function(e,t){if(t=k(t),!Array.isArray(e))return t(new Error("First argument to waterfall must be an array of functions"));if(!e.length)return t();var r=0;function n(t){g(e[r++])(...t,E(i))}function i(i,...a){if(!1!==i)return i||r===e.length?t(i,...a):void n(a)}n([])})),_t={apply:n,applyEach:P,applyEachSeries:O,asyncify:d,auto:L,autoInject:q,cargo:K,cargoQueue:W,compose:Y,concat:Z,concatLimit:Q,concatSeries:ee,constant:te,detect:ne,detectLimit:ie,detectSeries:ae,dir:se,doUntil:le,doWhilst:ce,each:de,eachLimit:pe,eachOf:A,eachOfLimit:w,eachOfSeries:I,eachSeries:fe,ensureAsync:me,every:ge,everyLimit:_e,everySeries:he,filter:ke,filterLimit:xe,filterSeries:Ee,forever:Se,groupBy:we,groupByLimit:De,groupBySeries:Te,log:Ce,map:N,mapLimit:X,mapSeries:F,mapValues:Ne,mapValuesLimit:Ae,mapValuesSeries:Pe,memoize:Ie,nextTick:Fe,parallel:Re,parallelLimit:Me,priorityQueue:Ue,queue:Le,race:qe,reduce:G,reduceRight:Je,reflect:Ve,reflectAll:He,reject:We,rejectLimit:Ge,rejectSeries:$e,retry:Ze,retryable:et,seq:$,series:tt,setImmediate:u,some:rt,someLimit:nt,someSeries:it,sortBy:at,timeout:ot,times:ct,timesLimit:st,timesSeries:lt,transform:ut,tryEach:dt,unmemoize:pt,until:mt,waterfall:gt,whilst:ft,all:ge,allLimit:_e,allSeries:he,any:rt,anyLimit:nt,anySeries:it,find:ne,findLimit:ie,findSeries:ae,flatMap:Z,flatMapLimit:Q,flatMapSeries:ee,forEach:de,forEachSeries:fe,forEachLimit:pe,forEachOf:A,forEachOfSeries:I,forEachOfLimit:w,inject:G,foldl:G,foldr:Je,select:ke,selectLimit:xe,selectSeries:Ee,wrapSync:d,during:ft,doDuring:ce}},79429:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>M});var n={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\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-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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\uDF2D-\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\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\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\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\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-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\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\uDF2D-\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\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\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\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},i={isSpaceSeparator:e=>"string"==typeof e&&n.Space_Separator.test(e),isIdStartChar:e=>"string"==typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||"$"===e||"_"===e||n.ID_Start.test(e)),isIdContinueChar:e=>"string"==typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"$"===e||"_"===e||""===e||""===e||n.ID_Continue.test(e)),isDigit:e=>"string"==typeof e&&/[0-9]/.test(e),isHexDigit:e=>"string"==typeof e&&/[0-9A-Fa-f]/.test(e)};let a,o,s,c,l,u,d,p,f;function m(e,t,r){const n=e[t];if(null!=n&&"object"==typeof n)if(Array.isArray(n))for(let e=0;e<n.length;e++){const t=String(e),i=m(n,t,r);void 0===i?delete n[t]:Object.defineProperty(n,t,{value:i,writable:!0,enumerable:!0,configurable:!0})}else for(const e in n){const t=m(n,e,r);void 0===t?delete n[e]:Object.defineProperty(n,e,{value:t,writable:!0,enumerable:!0,configurable:!0})}return r.call(e,t,n)}let g,_,h,y,v;function b(){for(g="default",_="",h=!1,y=1;;){v=k();const e=E[g]();if(e)return e}}function k(){if(a[c])return String.fromCodePoint(a.codePointAt(c))}function x(){const e=k();return"\n"===e?(l++,u=0):e?u+=e.length:u++,e&&(c+=e.length),e}const E={default(){switch(v){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":return void x();case"/":return x(),void(g="comment");case void 0:return x(),S("eof")}if(!i.isSpaceSeparator(v))return E[o]();x()},comment(){switch(v){case"*":return x(),void(g="multiLineComment");case"/":return x(),void(g="singleLineComment")}throw N(x())},multiLineComment(){switch(v){case"*":return x(),void(g="multiLineCommentAsterisk");case void 0:throw N(x())}x()},multiLineCommentAsterisk(){switch(v){case"*":return void x();case"/":return x(),void(g="default");case void 0:throw N(x())}x(),g="multiLineComment"},singleLineComment(){switch(v){case"\n":case"\r":case"\u2028":case"\u2029":return x(),void(g="default");case void 0:return x(),S("eof")}x()},value(){switch(v){case"{":case"[":return S("punctuator",x());case"n":return x(),D("ull"),S("null",null);case"t":return x(),D("rue"),S("boolean",!0);case"f":return x(),D("alse"),S("boolean",!1);case"-":case"+":return"-"===x()&&(y=-1),void(g="sign");case".":return _=x(),void(g="decimalPointLeading");case"0":return _=x(),void(g="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return _=x(),void(g="decimalInteger");case"I":return x(),D("nfinity"),S("numeric",1/0);case"N":return x(),D("aN"),S("numeric",NaN);case'"':case"'":return h='"'===x(),_="",void(g="string")}throw N(x())},identifierNameStartEscape(){if("u"!==v)throw N(x());x();const e=w();switch(e){case"$":case"_":break;default:if(!i.isIdStartChar(e))throw I()}_+=e,g="identifierName"},identifierName(){switch(v){case"$":case"_":case"":case"":return void(_+=x());case"\\":return x(),void(g="identifierNameEscape")}if(!i.isIdContinueChar(v))return S("identifier",_);_+=x()},identifierNameEscape(){if("u"!==v)throw N(x());x();const e=w();switch(e){case"$":case"_":case"":case"":break;default:if(!i.isIdContinueChar(e))throw I()}_+=e,g="identifierName"},sign(){switch(v){case".":return _=x(),void(g="decimalPointLeading");case"0":return _=x(),void(g="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return _=x(),void(g="decimalInteger");case"I":return x(),D("nfinity"),S("numeric",y*(1/0));case"N":return x(),D("aN"),S("numeric",NaN)}throw N(x())},zero(){switch(v){case".":return _+=x(),void(g="decimalPoint");case"e":case"E":return _+=x(),void(g="decimalExponent");case"x":case"X":return _+=x(),void(g="hexadecimal")}return S("numeric",0*y)},decimalInteger(){switch(v){case".":return _+=x(),void(g="decimalPoint");case"e":case"E":return _+=x(),void(g="decimalExponent")}if(!i.isDigit(v))return S("numeric",y*Number(_));_+=x()},decimalPointLeading(){if(i.isDigit(v))return _+=x(),void(g="decimalFraction");throw N(x())},decimalPoint(){switch(v){case"e":case"E":return _+=x(),void(g="decimalExponent")}return i.isDigit(v)?(_+=x(),void(g="decimalFraction")):S("numeric",y*Number(_))},decimalFraction(){switch(v){case"e":case"E":return _+=x(),void(g="decimalExponent")}if(!i.isDigit(v))return S("numeric",y*Number(_));_+=x()},decimalExponent(){switch(v){case"+":case"-":return _+=x(),void(g="decimalExponentSign")}if(i.isDigit(v))return _+=x(),void(g="decimalExponentInteger");throw N(x())},decimalExponentSign(){if(i.isDigit(v))return _+=x(),void(g="decimalExponentInteger");throw N(x())},decimalExponentInteger(){if(!i.isDigit(v))return S("numeric",y*Number(_));_+=x()},hexadecimal(){if(i.isHexDigit(v))return _+=x(),void(g="hexadecimalInteger");throw N(x())},hexadecimalInteger(){if(!i.isHexDigit(v))return S("numeric",y*Number(_));_+=x()},string(){switch(v){case"\\":return x(),void(_+=function(){switch(k()){case"b":return x(),"\b";case"f":return x(),"\f";case"n":return x(),"\n";case"r":return x(),"\r";case"t":return x(),"\t";case"v":return x(),"\v";case"0":if(x(),i.isDigit(k()))throw N(x());return"\0";case"x":return x(),function(){let e="",t=k();if(!i.isHexDigit(t))throw N(x());if(e+=x(),t=k(),!i.isHexDigit(t))throw N(x());return e+=x(),String.fromCodePoint(parseInt(e,16))}();case"u":return x(),w();case"\n":case"\u2028":case"\u2029":return x(),"";case"\r":return x(),"\n"===k()&&x(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case void 0:throw N(x())}return x()}());case'"':return h?(x(),S("string",_)):void(_+=x());case"'":return h?void(_+=x()):(x(),S("string",_));case"\n":case"\r":throw N(x());case"\u2028":case"\u2029":!function(e){console.warn(`JSON5: '${F(e)}' in strings is not valid ECMAScript; consider escaping`)}(v);break;case void 0:throw N(x())}_+=x()},start(){switch(v){case"{":case"[":return S("punctuator",x())}g="value"},beforePropertyName(){switch(v){case"$":case"_":return _=x(),void(g="identifierName");case"\\":return x(),void(g="identifierNameStartEscape");case"}":return S("punctuator",x());case'"':case"'":return h='"'===x(),void(g="string")}if(i.isIdStartChar(v))return _+=x(),void(g="identifierName");throw N(x())},afterPropertyName(){if(":"===v)return S("punctuator",x());throw N(x())},beforePropertyValue(){g="value"},afterPropertyValue(){switch(v){case",":case"}":return S("punctuator",x())}throw N(x())},beforeArrayValue(){if("]"===v)return S("punctuator",x());g="value"},afterArrayValue(){switch(v){case",":case"]":return S("punctuator",x())}throw N(x())},end(){throw N(x())}};function S(e,t){return{type:e,value:t,line:l,column:u}}function D(e){for(const t of e){if(k()!==t)throw N(x());x()}}function w(){let e="",t=4;for(;t-- >0;){const t=k();if(!i.isHexDigit(t))throw N(x());e+=x()}return String.fromCodePoint(parseInt(e,16))}const T={start(){if("eof"===d.type)throw P();C()},beforePropertyName(){switch(d.type){case"identifier":case"string":return p=d.value,void(o="afterPropertyName");case"punctuator":return void A();case"eof":throw P()}},afterPropertyName(){if("eof"===d.type)throw P();o="beforePropertyValue"},beforePropertyValue(){if("eof"===d.type)throw P();C()},beforeArrayValue(){if("eof"===d.type)throw P();"punctuator"!==d.type||"]"!==d.value?C():A()},afterPropertyValue(){if("eof"===d.type)throw P();switch(d.value){case",":return void(o="beforePropertyName");case"}":A()}},afterArrayValue(){if("eof"===d.type)throw P();switch(d.value){case",":return void(o="beforeArrayValue");case"]":A()}},end(){}};function C(){let e;switch(d.type){case"punctuator":switch(d.value){case"{":e={};break;case"[":e=[]}break;case"null":case"boolean":case"numeric":case"string":e=d.value}if(void 0===f)f=e;else{const t=s[s.length-1];Array.isArray(t)?t.push(e):Object.defineProperty(t,p,{value:e,writable:!0,enumerable:!0,configurable:!0})}if(null!==e&&"object"==typeof e)s.push(e),o=Array.isArray(e)?"beforeArrayValue":"beforePropertyName";else{const e=s[s.length-1];o=null==e?"end":Array.isArray(e)?"afterArrayValue":"afterPropertyValue"}}function A(){s.pop();const e=s[s.length-1];o=null==e?"end":Array.isArray(e)?"afterArrayValue":"afterPropertyValue"}function N(e){return O(void 0===e?`JSON5: invalid end of input at ${l}:${u}`:`JSON5: invalid character '${F(e)}' at ${l}:${u}`)}function P(){return O(`JSON5: invalid end of input at ${l}:${u}`)}function I(){return u-=5,O(`JSON5: invalid identifier character at ${l}:${u}`)}function F(e){const t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e])return t[e];if(e<" "){const t=e.charCodeAt(0).toString(16);return"\\x"+("00"+t).substring(t.length)}return e}function O(e){const t=new SyntaxError(e);return t.lineNumber=l,t.columnNumber=u,t}const R={parse:function(e,t){a=String(e),o="start",s=[],c=0,l=1,u=0,d=void 0,p=void 0,f=void 0;do{d=b(),T[o]()}while("eof"!==d.type);return"function"==typeof t?m({"":f},"",t):f},stringify:function(e,t,r){const n=[];let a,o,s,c="",l="";if(null==t||"object"!=typeof t||Array.isArray(t)||(r=t.space,s=t.quote,t=t.replacer),"function"==typeof t)o=t;else if(Array.isArray(t)){a=[];for(const e of t){let t;"string"==typeof e?t=e:("number"==typeof e||e instanceof String||e instanceof Number)&&(t=String(e)),void 0!==t&&a.indexOf(t)<0&&a.push(t)}}return r instanceof Number?r=Number(r):r instanceof String&&(r=String(r)),"number"==typeof r?r>0&&(r=Math.min(10,Math.floor(r)),l=" ".substr(0,r)):"string"==typeof r&&(l=r.substr(0,10)),u("",{"":e});function u(e,t){let r=t[e];switch(null!=r&&("function"==typeof r.toJSON5?r=r.toJSON5(e):"function"==typeof r.toJSON&&(r=r.toJSON(e))),o&&(r=o.call(t,e,r)),r instanceof Number?r=Number(r):r instanceof String?r=String(r):r instanceof Boolean&&(r=r.valueOf()),r){case null:return"null";case!0:return"true";case!1:return"false"}return"string"==typeof r?d(r):"number"==typeof r?String(r):"object"==typeof r?Array.isArray(r)?function(e){if(n.indexOf(e)>=0)throw TypeError("Converting circular structure to JSON5");n.push(e);let t=c;c+=l;let r,i=[];for(let t=0;t<e.length;t++){const r=u(String(t),e);i.push(void 0!==r?r:"null")}if(0===i.length)r="[]";else if(""===l){r="["+i.join(",")+"]"}else{let e=",\n"+c,n=i.join(e);r="[\n"+c+n+",\n"+t+"]"}return n.pop(),c=t,r}(r):function(e){if(n.indexOf(e)>=0)throw TypeError("Converting circular structure to JSON5");n.push(e);let t=c;c+=l;let r,i=a||Object.keys(e),o=[];for(const t of i){const r=u(t,e);if(void 0!==r){let e=p(t)+":";""!==l&&(e+=" "),e+=r,o.push(e)}}if(0===o.length)r="{}";else{let e;if(""===l)e=o.join(","),r="{"+e+"}";else{let n=",\n"+c;e=o.join(n),r="{\n"+c+e+",\n"+t+"}"}}return n.pop(),c=t,r}(r):void 0}function d(e){const t={"'":.1,'"':.2},r={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let n="";for(let a=0;a<e.length;a++){const o=e[a];switch(o){case"'":case'"':t[o]++,n+=o;continue;case"\0":if(i.isDigit(e[a+1])){n+="\\x00";continue}}if(r[o])n+=r[o];else if(o<" "){let e=o.charCodeAt(0).toString(16);n+="\\x"+("00"+e).substring(e.length)}else n+=o}const a=s||Object.keys(t).reduce(((e,r)=>t[e]<t[r]?e:r));return n=n.replace(new RegExp(a,"g"),r[a]),a+n+a}function p(e){if(0===e.length)return d(e);const t=String.fromCodePoint(e.codePointAt(0));if(!i.isIdStartChar(t))return d(e);for(let r=t.length;r<e.length;r++)if(!i.isIdContinueChar(String.fromCodePoint(e.codePointAt(r))))return d(e);return e}}};const M=R},63598:e=>{"use strict";e.exports=JSON.parse('{"kitData":[{"filePath":"@internal/component/ets/ability_component.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/action_sheet.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/alert_dialog.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/alphabet_indexer.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/animator.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/badge.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/blank.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/button.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/calendar.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/calendar_picker.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/canvas.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/checkbox.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/checkboxgroup.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/circle.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/column.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/column_split.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/common.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/common_ts_ets_api.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/container_span.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/context_menu.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/counter.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/custom_dialog_controller.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/data_panel.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/date_picker.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/divider.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/effect_component.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/ellipse.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/embedded_component.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/enums.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/flex.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/flow_item.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/folder_stack.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/form_component.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/form_link.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/for_each.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/gauge.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/gesture.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/grid.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/gridItem.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/grid_col.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/grid_container.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/grid_row.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/hyperlink.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/image.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/image_animator.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/image_common.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/image_span.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/inspector.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/lazy_for_each.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/line.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/list.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/list_item.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/list_item_group.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/loading_progress.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/location_button.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/marquee.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/matrix2d.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/media_cached_image.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/menu.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/menu_item.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/menu_item_group.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/navigation.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/navigator.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/nav_destination.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/nav_router.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/node_container.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/page_transition.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/panel.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/particle.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/paste_button.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/path.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/pattern_lock.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/plugin_component.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/polygon.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/polyline.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/progress.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/qrcode.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/radio.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/rating.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/rect.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/refresh.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/relative_container.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/remote_window.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/rich_editor.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/rich_text.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/root_scene.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/row.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/row_split.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/save_button.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/screen.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/scroll.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/scroll_bar.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/search.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/security_component.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/select.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/shape.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/sidebar.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/slider.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/span.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/stack.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/state_management.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/stepper.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/stepper_item.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/styled_string.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/swiper.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/symbolglyph.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/symbol_span.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/tabs.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/tab_content.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/text.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/text_area.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/text_clock.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/text_common.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/text_input.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/text_picker.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/text_timer.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/time_picker.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/toggle.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/ui_extension_component.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/units.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/video.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/water_flow.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/web.d.ts","kitName":"ArkWeb","subSystem":"web"},{"filePath":"@internal/component/ets/window_scene.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/xcomponent.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/ets/global.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/ets/global.d.ts","kitName":"ArkUI","subSystem":"公共基础类库"},{"filePath":"@internal/ets/lifecycle.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.ability.ability.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.ability.dataUriUtils.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.ability.errorCode.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.ability.featureAbility.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.ability.particleAbility.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.ability.particleAbility.d.ts","kitName":"AbilityKit","subSystem":"资源调度"},{"filePath":"@ohos.ability.wantConstant.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.abilityAccessCtrl.d.ts","kitName":"AbilityKit","subSystem":"安全基础能力"},{"filePath":"@ohos.accessibility.config.d.ts","kitName":"AccessibilityKit","subSystem":"无障碍软件服务"},{"filePath":"@ohos.accessibility.d.ts","kitName":"AccessibilityKit","subSystem":"无障碍软件服务"},{"filePath":"@ohos.accessibility.GesturePath.d.ts","kitName":"AccessibilityKit","subSystem":"无障碍软件服务"},{"filePath":"@ohos.accessibility.GesturePoint.d.ts","kitName":"AccessibilityKit","subSystem":"无障碍软件服务"},{"filePath":"@ohos.account.appAccount.d.ts","kitName":"BasicServicesKit","subSystem":"账号"},{"filePath":"@ohos.account.distributedAccount.d.ts","kitName":"BasicServicesKit","subSystem":"账号"},{"filePath":"@ohos.account.osAccount.d.ts","kitName":"BasicServicesKit","subSystem":"账号"},{"filePath":"@ohos.advertising.AdComponent.d.ets","kitName":"AdsKit","subSystem":"广告服务"},{"filePath":"@ohos.advertising.AdsServiceExtensionAbility.d.ts","kitName":"AdsKit","subSystem":"广告服务"},{"filePath":"@ohos.advertising.AutoAdComponent.d.ets","kitName":"AdsKit","subSystem":"广告服务"},{"filePath":"@ohos.advertising.d.ts","kitName":"AdsKit","subSystem":"广告服务"},{"filePath":"@ohos.ai.intelligentVoice.d.ts","kitName":"MindSporeLiteKit","subSystem":"AI业务"},{"filePath":"@ohos.ai.mindSporeLite.d.ts","kitName":"MindSporeLiteKit","subSystem":"AI业务"},{"filePath":"@ohos.animation.windowAnimationManager.d.ts","kitName":"ArkUI","subSystem":"窗口管理"},{"filePath":"@ohos.animator.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.app.ability.Ability.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.AbilityConstant.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.abilityDelegatorRegistry.d.ts","kitName":"TestKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.AbilityLifecycleCallback.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.abilityManager.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.AbilityStage.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.ActionExtensionAbility.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.ApplicationStateChangeCallback.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.appManager.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.appRecovery.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.AtomicServiceOptions.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.AutoFillExtensionAbility.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.autoFillManager.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.autoStartupManager.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.ChildProcess.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.childProcessManager.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.common.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.Configuration.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.ConfigurationConstant.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.contextConstant.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.dataUriUtils.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.dialogRequest.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.dialogSession.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.DriverExtensionAbility.d.ts","kitName":"DriverDevelopmentKit","subSystem":"驱动"},{"filePath":"@ohos.app.ability.EmbeddableUIAbility.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.EmbeddedUIExtensionAbility.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.EnvironmentCallback.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.errorManager.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.ExtensionAbility.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.insightIntent.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.InsightIntentContext.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.insightIntentDriver.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.InsightIntentExecutor.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.MediaControlExtensionAbility.d.ts","kitName":"AVSessionKit","subSystem":"OS媒体软件"},{"filePath":"@ohos.app.ability.missionManager.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.OpenLinkOptions.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.PrintExtensionAbility.d.ts","kitName":"BasicServicesKit","subSystem":"打印"},{"filePath":"@ohos.app.ability.quickFixManager.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.ServiceExtensionAbility.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.ShareExtensionAbility.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.StartOptions.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.UIAbility.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.UIExtensionAbility.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.UIExtensionContentSession.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.UserAuthExtensionAbility.d.ts","kitName":"UserAuthenticationKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.VpnExtensionAbility.d.ts","kitName":"NetworkKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.Want.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.wantAgent.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.ability.wantConstant.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.appstartup.StartupListener.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.businessAbilityRouter.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.form.formAgent.d.ts","kitName":"FormKit","subSystem":"元能力"},{"filePath":"@ohos.app.form.formBindingData.d.ts","kitName":"FormKit","subSystem":"元能力"},{"filePath":"@ohos.app.form.FormExtensionAbility.d.ts","kitName":"FormKit","subSystem":"元能力"},{"filePath":"@ohos.app.form.formHost.d.ts","kitName":"FormKit","subSystem":"元能力"},{"filePath":"@ohos.app.form.formInfo.d.ts","kitName":"FormKit","subSystem":"元能力"},{"filePath":"@ohos.app.form.formObserver.d.ts","kitName":"FormKit","subSystem":"元能力"},{"filePath":"@ohos.app.form.formProvider.d.ts","kitName":"FormKit","subSystem":"元能力"},{"filePath":"@ohos.application.abilityDelegatorRegistry.d.ts","kitName":"TestKit","subSystem":"元能力"},{"filePath":"@ohos.application.abilityManager.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.application.AccessibilityExtensionAbility.d.ts","kitName":"AccessibilityKit","subSystem":"无障碍软件服务"},{"filePath":"@ohos.application.appManager.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.application.BackupExtensionAbility.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@ohos.application.Configuration.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.application.ConfigurationConstant.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.application.DataShareExtensionAbility.d.ts","kitName":"ArkData","subSystem":"分布式数据管理"},{"filePath":"@ohos.application.formBindingData.d.ts","kitName":"FormKit","subSystem":"元能力"},{"filePath":"@ohos.application.formError.d.ts","kitName":"FormKit","subSystem":"元能力"},{"filePath":"@ohos.application.formHost.d.ts","kitName":"FormKit","subSystem":"元能力"},{"filePath":"@ohos.application.formInfo.d.ts","kitName":"FormKit","subSystem":"元能力"},{"filePath":"@ohos.application.formProvider.d.ts","kitName":"FormKit","subSystem":"元能力"},{"filePath":"@ohos.application.missionManager.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.application.StaticSubscriberExtensionAbility.d.ts","kitName":"BasicServicesKit","subSystem":"元能力"},{"filePath":"@ohos.application.StaticSubscriberExtensionContext.d.ts","kitName":"BasicServicesKit","subSystem":"元能力"},{"filePath":"@ohos.application.testRunner.d.ts","kitName":"TestKit","subSystem":"元能力"},{"filePath":"@ohos.application.uriPermissionManager.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.application.Want.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.application.WindowExtensionAbility.d.ts","kitName":"ArkUI","subSystem":"窗口管理"},{"filePath":"@ohos.arkui.advanced.Chip.d.ets","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.advanced.ChipGroup.d.ets","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.advanced.ComposeListItem.d.ets","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.advanced.ComposeTitleBar.d.ets","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.advanced.Counter.d.ets","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.advanced.Dialog.d.ets","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.advanced.EditableTitleBar.d.ets","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.advanced.ExceptionPrompt.d.ets","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.advanced.Filter.d.ets","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.advanced.GridObjectSortComponent.d.ets","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.advanced.Popup.d.ets","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.advanced.ProgressButton.d.ets","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.advanced.SegmentButton.d.ets","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.advanced.SelectionMenu.d.ets","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.advanced.SelectTitleBar.d.ets","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.advanced.SplitLayout.d.ets","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.advanced.SubHeader.d.ets","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.advanced.SwipeRefresher.d.ets","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.advanced.TabTitleBar.d.ets","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.advanced.ToolBar.d.ets","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.advanced.TreeView.d.ets","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.componentSnapshot.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.componentUtils.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.dragController.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.drawableDescriptor.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.inspector.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.observer.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.performanceMonitor.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.shape.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.UIContext.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.arkui.UIContext.d.ts","kitName":"ArkUI","subSystem":"元能力"},{"filePath":"@ohos.arkui.uiExtension.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.backgroundTaskManager.d.ts","kitName":"BackgroundTasksKit","subSystem":"资源调度"},{"filePath":"@ohos.base.d.ts","kitName":"BasicServicesKit","subSystem":"SDK"},{"filePath":"@ohos.batteryInfo.d.ts","kitName":"BasicServicesKit","subSystem":"电源服务"},{"filePath":"@ohos.batteryStatistics.d.ts","kitName":"BasicServicesKit","subSystem":"电源服务"},{"filePath":"@ohos.bluetooth.a2dp.d.ts","kitName":"ConnectivityKit","subSystem":"蓝牙"},{"filePath":"@ohos.bluetooth.access.d.ts","kitName":"ConnectivityKit","subSystem":"蓝牙"},{"filePath":"@ohos.bluetooth.baseProfile.d.ts","kitName":"ConnectivityKit","subSystem":"蓝牙"},{"filePath":"@ohos.bluetooth.ble.d.ts","kitName":"ConnectivityKit","subSystem":"蓝牙"},{"filePath":"@ohos.bluetooth.connection.d.ts","kitName":"ConnectivityKit","subSystem":"蓝牙"},{"filePath":"@ohos.bluetooth.constant.d.ts","kitName":"ConnectivityKit","subSystem":"蓝牙"},{"filePath":"@ohos.bluetooth.d.ts","kitName":"ConnectivityKit","subSystem":"蓝牙"},{"filePath":"@ohos.bluetooth.hfp.d.ts","kitName":"ConnectivityKit","subSystem":"蓝牙"},{"filePath":"@ohos.bluetooth.hid.d.ts","kitName":"ConnectivityKit","subSystem":"蓝牙"},{"filePath":"@ohos.bluetooth.map.d.ts","kitName":"ConnectivityKit","subSystem":"蓝牙"},{"filePath":"@ohos.bluetooth.pan.d.ts","kitName":"ConnectivityKit","subSystem":"蓝牙"},{"filePath":"@ohos.bluetooth.pbap.d.ts","kitName":"ConnectivityKit","subSystem":"蓝牙"},{"filePath":"@ohos.bluetooth.socket.d.ts","kitName":"ConnectivityKit","subSystem":"蓝牙"},{"filePath":"@ohos.bluetooth.wearDetection.d.ts","kitName":"ConnectivityKit","subSystem":"蓝牙"},{"filePath":"@ohos.bluetoothManager.d.ts","kitName":"ConnectivityKit","subSystem":"蓝牙"},{"filePath":"@ohos.brightness.d.ts","kitName":"BasicServicesKit","subSystem":"电源服务"},{"filePath":"@ohos.buffer.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.bundle.appControl.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"@ohos.bundle.bundleManager.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"@ohos.bundle.bundleMonitor.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"@ohos.bundle.bundleResourceManager.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"@ohos.bundle.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"@ohos.bundle.defaultAppManager.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"@ohos.bundle.distributedBundleManager.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"@ohos.bundle.freeInstall.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"@ohos.bundle.innerBundleManager.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"@ohos.bundle.installer.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"@ohos.bundle.launcherBundleManager.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"@ohos.bundle.overlay.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"@ohos.bundleState.d.ts","kitName":"BackgroundTasksKit","subSystem":"资源调度"},{"filePath":"@ohos.bytrace.d.ts","kitName":"PerformanceAnalysisKit","subSystem":"DFX"},{"filePath":"@ohos.calendarManager.d.ts","kitName":"CalendarKit","subSystem":"应用"},{"filePath":"@ohos.charger.d.ts","kitName":"BasicServicesKit","subSystem":"电源服务"},{"filePath":"@ohos.commonEventManager.d.ts","kitName":"BasicServicesKit","subSystem":"事件通知"},{"filePath":"@ohos.configPolicy.d.ts","kitName":"BasicServicesKit","subSystem":"定制"},{"filePath":"@ohos.connectedTag.d.ts","kitName":"ConnectivityKit","subSystem":"基础通信"},{"filePath":"@ohos.contact.d.ts","kitName":"ContactsKit","subSystem":"应用"},{"filePath":"@ohos.continuation.continuationManager.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.convertxml.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.cooperate.d.ts","kitName":"DistributedServiceKit","subSystem":"综合传感处理平台"},{"filePath":"@ohos.curves.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.data.cloudData.d.ts","kitName":"ArkData","subSystem":"分布式数据管理"},{"filePath":"@ohos.data.cloudExtension.d.ts","kitName":"ArkData","subSystem":"分布式数据管理"},{"filePath":"@ohos.data.commonType.d.ts","kitName":"ArkData","subSystem":"分布式数据管理"},{"filePath":"@ohos.data.dataAbility.d.ts","kitName":"ArkData","subSystem":"分布式数据管理"},{"filePath":"@ohos.data.dataShare.d.ts","kitName":"ArkData","subSystem":"分布式数据管理"},{"filePath":"@ohos.data.dataSharePredicates.d.ts","kitName":"ArkData","subSystem":"分布式数据管理"},{"filePath":"@ohos.data.DataShareResultSet.d.ts","kitName":"ArkData","subSystem":"分布式数据管理"},{"filePath":"@ohos.data.distributedData.d.ts","kitName":"ArkData","subSystem":"分布式数据管理"},{"filePath":"@ohos.data.distributedDataObject.d.ts","kitName":"ArkData","subSystem":"分布式数据管理"},{"filePath":"@ohos.data.distributedKVStore.d.ts","kitName":"ArkData","subSystem":"分布式数据管理"},{"filePath":"@ohos.data.preferences.d.ts","kitName":"ArkData","subSystem":"分布式数据管理"},{"filePath":"@ohos.data.rdb.d.ts","kitName":"ArkData","subSystem":"分布式数据管理"},{"filePath":"@ohos.data.relationalStore.d.ts","kitName":"ArkData","subSystem":"分布式数据管理"},{"filePath":"@ohos.data.storage.d.ts","kitName":"ArkData","subSystem":"分布式数据管理"},{"filePath":"@ohos.data.unifiedDataChannel.d.ts","kitName":"ArkData","subSystem":"分布式数据管理"},{"filePath":"@ohos.data.uniformDataStruct.d.ts","kitName":"ArkData","subSystem":"分布式数据管理"},{"filePath":"@ohos.data.uniformTypeDescriptor.d.ts","kitName":"ArkData","subSystem":"分布式数据管理"},{"filePath":"@ohos.data.ValuesBucket.d.ts","kitName":"ArkData","subSystem":"分布式数据管理"},{"filePath":"@ohos.deviceAttest.d.ts","kitName":"BasicServicesKit","subSystem":"XTS"},{"filePath":"@ohos.deviceInfo.d.ts","kitName":"BasicServicesKit","subSystem":"启动恢复"},{"filePath":"@ohos.deviceStatus.dragInteraction.d.ts","kitName":"ArkUI","subSystem":"综合传感处理平台"},{"filePath":"@ohos.display.d.ts","kitName":"ArkUI","subSystem":"窗口管理"},{"filePath":"@ohos.display.d.ts","kitName":"ArkUI","subSystem":"窗口"},{"filePath":"@ohos.distributedBundle.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"@ohos.distributedDeviceManager.d.ts","kitName":"DistributedServiceKit","subSystem":"分布式硬件"},{"filePath":"@ohos.distributedHardware.deviceManager.d.ts","kitName":"DistributedServiceKit","subSystem":"分布式硬件"},{"filePath":"@ohos.distributedHardware.hardwareManager.d.ts","kitName":"DistributedServiceKit","subSystem":"分布式硬件"},{"filePath":"@ohos.distributedMissionManager.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.dlpPermission.d.ts","kitName":"DataLossPreventionKit","subSystem":"安全基础能力"},{"filePath":"@ohos.document.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@ohos.driver.deviceManager.d.ts","kitName":"DriverDevelopmentKit","subSystem":"驱动"},{"filePath":"@ohos.effectKit.d.ts","kitName":"ArkGraphics2D","subSystem":"图形图像"},{"filePath":"@ohos.enterprise.accountManager.d.ts","kitName":"MDMKit","subSystem":"定制"},{"filePath":"@ohos.enterprise.adminManager.d.ts","kitName":"MDMKit","subSystem":"定制"},{"filePath":"@ohos.enterprise.applicationManager.d.ts","kitName":"MDMKit","subSystem":"定制"},{"filePath":"@ohos.enterprise.bluetoothManager.d.ts","kitName":"MDMKit","subSystem":"定制"},{"filePath":"@ohos.enterprise.browser.d.ts","kitName":"MDMKit","subSystem":"定制"},{"filePath":"@ohos.enterprise.bundleManager.d.ts","kitName":"MDMKit","subSystem":"定制"},{"filePath":"@ohos.enterprise.dateTimeManager.d.ts","kitName":"MDMKit","subSystem":"定制"},{"filePath":"@ohos.enterprise.deviceControl.d.ts","kitName":"MDMKit","subSystem":"定制"},{"filePath":"@ohos.enterprise.deviceInfo.d.ts","kitName":"MDMKit","subSystem":"定制"},{"filePath":"@ohos.enterprise.deviceSettings.d.ts","kitName":"MDMKit","subSystem":"定制"},{"filePath":"@ohos.enterprise.EnterpriseAdminExtensionAbility.d.ts","kitName":"MDMKit","subSystem":"定制"},{"filePath":"@ohos.enterprise.locationManager.d.ts","kitName":"MDMKit","subSystem":"定制"},{"filePath":"@ohos.enterprise.networkManager.d.ts","kitName":"MDMKit","subSystem":"定制"},{"filePath":"@ohos.enterprise.restrictions.d.ts","kitName":"MDMKit","subSystem":"定制"},{"filePath":"@ohos.enterprise.securityManager.d.ts","kitName":"MDMKit","subSystem":"定制"},{"filePath":"@ohos.enterprise.systemManager.d.ts","kitName":"MDMKit","subSystem":"定制"},{"filePath":"@ohos.enterprise.usbManager.d.ts","kitName":"MDMKit","subSystem":"定制"},{"filePath":"@ohos.enterprise.wifiManager.d.ts","kitName":"MDMKit","subSystem":"定制"},{"filePath":"@ohos.events.emitter.d.ts","kitName":"BasicServicesKit","subSystem":"事件通知"},{"filePath":"@ohos.faultLogger.d.ts","kitName":"PerformanceAnalysisKit","subSystem":"DFX"},{"filePath":"@ohos.file.backup.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@ohos.file.cloudSync.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@ohos.file.cloudSyncManager.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@ohos.file.environment.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@ohos.file.fileAccess.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@ohos.file.fileExtensionInfo.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@ohos.file.fileuri.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@ohos.file.fs.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@ohos.file.hash.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@ohos.file.photoAccessHelper.d.ts","kitName":"MediaLibraryKit","subSystem":"文件管理"},{"filePath":"@ohos.file.PhotoPickerComponent.d.ets","kitName":"MediaLibraryKit","subSystem":"文件管理"},{"filePath":"@ohos.file.picker.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@ohos.file.recent.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@ohos.file.securityLabel.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@ohos.file.statvfs.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@ohos.file.storageStatistics.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@ohos.file.trash.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@ohos.file.volumeManager.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@ohos.fileio.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@ohos.filemanagement.userFileManager.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@ohos.fileshare.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@ohos.font.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.geolocation.d.ts","kitName":"LocationKit","subSystem":"位置服务"},{"filePath":"@ohos.geoLocationManager.d.ts","kitName":"LocationKit","subSystem":"位置服务"},{"filePath":"@ohos.graphics.colorSpaceManager.d.ts","kitName":"ArkGraphics2D","subSystem":"图形图像"},{"filePath":"@ohos.graphics.displaySync.d.ts","kitName":"ArkGraphics2D","subSystem":"图形图像"},{"filePath":"@ohos.graphics.hdrCapability.d.ts","kitName":"ArkGraphics2D","subSystem":"图形图像"},{"filePath":"@ohos.hiAppEvent.d.ts","kitName":"PerformanceAnalysisKit","subSystem":"DFX"},{"filePath":"@ohos.hichecker.d.ts","kitName":"PerformanceAnalysisKit","subSystem":"DFX"},{"filePath":"@ohos.hidebug.d.ts","kitName":"PerformanceAnalysisKit","subSystem":"DFX"},{"filePath":"@ohos.hilog.d.ts","kitName":"PerformanceAnalysisKit","subSystem":"DFX"},{"filePath":"@ohos.hiSysEvent.d.ts","kitName":"PerformanceAnalysisKit","subSystem":"DFX"},{"filePath":"@ohos.hiTraceChain.d.ts","kitName":"PerformanceAnalysisKit","subSystem":"DFX"},{"filePath":"@ohos.hiTraceMeter.d.ts","kitName":"PerformanceAnalysisKit","subSystem":"DFX"},{"filePath":"@ohos.hiviewdfx.hiAppEvent.d.ts","kitName":"PerformanceAnalysisKit","subSystem":"DFX"},{"filePath":"@ohos.i18n.d.ts","kitName":"LocalizationKit","subSystem":"全球化"},{"filePath":"@ohos.identifier.oaid.d.ts","kitName":"AdsKit","subSystem":"广告服务"},{"filePath":"@ohos.inputMethod.d.ts","kitName":"IMEKit","subSystem":"输入法"},{"filePath":"@ohos.inputMethod.Panel.d.ts","kitName":"IMEKit","subSystem":"输入法"},{"filePath":"@ohos.inputMethodEngine.d.ts","kitName":"IMEKit","subSystem":"输入法"},{"filePath":"@ohos.InputMethodExtensionAbility.d.ts","kitName":"IMEKit","subSystem":"输入法"},{"filePath":"@ohos.InputMethodExtensionContext.d.ts","kitName":"IMEKit","subSystem":"输入法"},{"filePath":"@ohos.inputMethodList.d.ets","kitName":"IMEKit","subSystem":"输入法"},{"filePath":"@ohos.InputMethodSubtype.d.ts","kitName":"IMEKit","subSystem":"输入法"},{"filePath":"@ohos.intl.d.ts","kitName":"LocalizationKit","subSystem":"全球化"},{"filePath":"@ohos.logLibrary.d.ts","kitName":"PerformanceAnalysisKit","subSystem":"DFX"},{"filePath":"@ohos.matrix4.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.measure.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.mediaquery.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.multimedia.audio.d.ts","kitName":"AudioKit","subSystem":"OS媒体软件"},{"filePath":"@ohos.multimedia.audioHaptic.d.ts","kitName":"AudioKit","subSystem":"OS媒体软件"},{"filePath":"@ohos.multimedia.avCastPicker.d.ets","kitName":"AVSessionKit","subSystem":"OS媒体软件"},{"filePath":"@ohos.multimedia.avCastPickerParam.d.ts","kitName":"AVSessionKit","subSystem":"OS媒体软件"},{"filePath":"@ohos.multimedia.avsession.d.ts","kitName":"AVSessionKit","subSystem":"OS媒体软件"},{"filePath":"@ohos.multimedia.avVolumePanel.d.ets","kitName":"AudioKit","subSystem":"OS媒体软件"},{"filePath":"@ohos.multimedia.camera.d.ts","kitName":"CameraKit","subSystem":"OS媒体软件"},{"filePath":"@ohos.multimedia.cameraPicker.d.ts","kitName":"CameraKit","subSystem":"OS媒体软件"},{"filePath":"@ohos.multimedia.drm.d.ts","kitName":"DrmKit","subSystem":"OS媒体软件"},{"filePath":"@ohos.multimedia.image.d.ts","kitName":"ImageKit","subSystem":"OS媒体软件"},{"filePath":"@ohos.multimedia.media.d.ts","kitName":"MediaKit","subSystem":"OS媒体软件"},{"filePath":"@ohos.multimedia.mediaLibrary.d.ts","kitName":"MediaLibraryKit","subSystem":"OS媒体软件"},{"filePath":"@ohos.multimedia.systemSoundManager.d.ts","kitName":"AudioKit","subSystem":"OS媒体软件"},{"filePath":"@ohos.multimodalInput.gestureEvent.d.ts","kitName":"InputKit","subSystem":"多模输入"},{"filePath":"@ohos.multimodalInput.inputConsumer.d.ts","kitName":"InputKit","subSystem":"多模输入"},{"filePath":"@ohos.multimodalInput.inputDevice.d.ts","kitName":"InputKit","subSystem":"多模输入"},{"filePath":"@ohos.multimodalInput.inputDeviceCooperate.d.ts","kitName":"InputKit","subSystem":"多模输入"},{"filePath":"@ohos.multimodalInput.inputEvent.d.ts","kitName":"InputKit","subSystem":"多模输入"},{"filePath":"@ohos.multimodalInput.inputEventClient.d.ts","kitName":"InputKit","subSystem":"多模输入"},{"filePath":"@ohos.multimodalInput.inputMonitor.d.ts","kitName":"InputKit","subSystem":"多模输入"},{"filePath":"@ohos.multimodalInput.intentionCode.d.ts","kitName":"InputKit","subSystem":"多模输入"},{"filePath":"@ohos.multimodalInput.keyCode.d.ts","kitName":"InputKit","subSystem":"多模输入"},{"filePath":"@ohos.multimodalInput.keyEvent.d.ts","kitName":"InputKit","subSystem":"多模输入"},{"filePath":"@ohos.multimodalInput.mouseEvent.d.ts","kitName":"InputKit","subSystem":"多模输入"},{"filePath":"@ohos.multimodalInput.pointer.d.ts","kitName":"InputKit","subSystem":"多模输入"},{"filePath":"@ohos.multimodalInput.shortKey.d.ts","kitName":"InputKit","subSystem":"多模输入"},{"filePath":"@ohos.multimodalInput.touchEvent.d.ts","kitName":"InputKit","subSystem":"多模输入"},{"filePath":"@ohos.multimodalInput.infraredEmitter.d.ts","kitName":"InputKit","subSystem":"多模输入"},{"filePath":"@ohos.net.connection.d.ts","kitName":"NetworkKit","subSystem":"基础通信"},{"filePath":"@ohos.net.connection.d.ts","kitName":"NetworkKit","subSystem":"网络管理·"},{"filePath":"@ohos.net.ethernet.d.ts","kitName":"NetworkKit","subSystem":"网络管理·"},{"filePath":"@ohos.net.http.d.ts","kitName":"NetworkKit","subSystem":"基础通信"},{"filePath":"@ohos.net.mdns.d.ts","kitName":"NetworkKit","subSystem":"网络管理·"},{"filePath":"@ohos.net.networkSecurity.d.ts","kitName":"NetworkKit","subSystem":"基础通信"},{"filePath":"@ohos.net.policy.d.ts","kitName":"NetworkKit","subSystem":"网络管理·"},{"filePath":"@ohos.net.sharing.d.ts","kitName":"NetworkKit","subSystem":"网络管理·"},{"filePath":"@ohos.net.socket.d.ts","kitName":"NetworkKit","subSystem":"基础通信"},{"filePath":"@ohos.net.statistics.d.ts","kitName":"NetworkKit","subSystem":"网络管理·"},{"filePath":"@ohos.net.vpn.d.ts","kitName":"NetworkKit","subSystem":"网络管理·"},{"filePath":"@ohos.net.vpn.d.ts","kitName":"NetworkKit","subSystem":"元能力"},{"filePath":"@ohos.net.vpnExtension.d.ts","kitName":"NetworkKit","subSystem":"网络管理·"},{"filePath":"@ohos.net.vpnExtension.d.ts","kitName":"NetworkKit","subSystem":"元能力"},{"filePath":"@ohos.net.webSocket.d.ts","kitName":"NetworkKit","subSystem":"网络管理·"},{"filePath":"@ohos.net.webSocket.d.ts","kitName":"NetworkKit","subSystem":"基础通信"},{"filePath":"@ohos.nfc.cardEmulation.d.ts","kitName":"ConnectivityKit","subSystem":"基础通信"},{"filePath":"@ohos.nfc.controller.d.ts","kitName":"ConnectivityKit","subSystem":"基础通信"},{"filePath":"@ohos.nfc.tag.d.ts","kitName":"ConnectivityKit","subSystem":"基础通信"},{"filePath":"@ohos.notificationManager.d.ts","kitName":"NotificationKit","subSystem":"事件通知"},{"filePath":"@ohos.notificationSubscribe.d.ts","kitName":"NotificationKit","subSystem":"事件通知"},{"filePath":"@ohos.pasteboard.d.ts","kitName":"BasicServicesKit","subSystem":"剪贴板"},{"filePath":"@ohos.PiPWindow.d.ts","kitName":"ArkUI","subSystem":"窗口"},{"filePath":"@ohos.pluginComponent.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.power.d.ts","kitName":"BasicServicesKit","subSystem":"电源服务"},{"filePath":"@ohos.print.d.ts","kitName":"BasicServicesKit","subSystem":"打印"},{"filePath":"@ohos.privacyManager.d.ts","kitName":"AbilityKit","subSystem":"安全基础能力"},{"filePath":"@ohos.process.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.prompt.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.promptAction.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.reminderAgent.d.ts","kitName":"BackgroundTasksKit","subSystem":"事件通知"},{"filePath":"@ohos.reminderAgentManager.d.ts","kitName":"BackgroundTasksKit","subSystem":"事件通知"},{"filePath":"@ohos.request.d.ts","kitName":"BasicServicesKit","subSystem":"上传下载"},{"filePath":"@ohos.resourceManager.d.ts","kitName":"LocalizationKit","subSystem":"全球化"},{"filePath":"@ohos.resourceschedule.backgroundTaskManager.d.ts","kitName":"BackgroundTasksKit","subSystem":"资源调度"},{"filePath":"@ohos.resourceschedule.deviceStandby.d.ts","kitName":"BackgroundTasksKit","subSystem":"资源调度"},{"filePath":"@ohos.resourceschedule.systemload.d.ts","kitName":"BasicServicesKit","subSystem":"资源调度"},{"filePath":"@ohos.resourceschedule.usageStatistics.d.ts","kitName":"BackgroundTasksKit","subSystem":"资源调度"},{"filePath":"@ohos.resourceschedule.workScheduler.d.ts","kitName":"BackgroundTasksKit","subSystem":"资源调度"},{"filePath":"@ohos.router.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.rpc.d.ts","kitName":"IPCKit","subSystem":"基础通信"},{"filePath":"@ohos.runningLock.d.ts","kitName":"BasicServicesKit","subSystem":"电源服务"},{"filePath":"@ohos.screen.d.ts","kitName":"ArkUI","subSystem":"窗口管理"},{"filePath":"@ohos.screenLock.d.ts","kitName":"BasicServicesKit","subSystem":"主题"},{"filePath":"@ohos.screenshot.d.ts","kitName":"ArkUI","subSystem":"窗口管理"},{"filePath":"@ohos.secureElement.d.ts","kitName":"ConnectivityKit","subSystem":"基础通信"},{"filePath":"@ohos.security.asset.d.ts","kitName":"Asset Store Kit","subSystem":"安全基础能力"},{"filePath":"@ohos.security.cert.d.ts","kitName":"DeviceCertificateKit","subSystem":"安全基础能力"},{"filePath":"@ohos.security.certManager.d.ts","kitName":"DeviceCertificateKit","subSystem":"安全基础能力"},{"filePath":"@ohos.security.cryptoFramework.d.ts","kitName":"CryptoArchitectureKit","subSystem":"安全基础能力"},{"filePath":"@ohos.security.huks.d.ts","kitName":"UniversalKeystoreKit","subSystem":"安全基础能力"},{"filePath":"@ohos.sensor.d.ts","kitName":"SensorServiceKit","subSystem":"泛sensor服务"},{"filePath":"@ohos.settings.d.ts","kitName":"BasicServicesKit","subSystem":"应用"},{"filePath":"@ohos.statfs.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@ohos.stationary.d.ts","kitName":"MultimodalAwarenessKit","subSystem":"综合传感处理平台"},{"filePath":"@ohos.systemCapability.d.ts","kitName":"BasicServicesKit","subSystem":"研发工具链"},{"filePath":"@ohos.systemDateTime.d.ts","kitName":"BasicServicesKit","subSystem":"时间时区"},{"filePath":"@ohos.systemparameter.d.ts","kitName":"BasicServicesKit","subSystem":"启动恢复"},{"filePath":"@ohos.systemParameterEnhance.d.ts","kitName":"BasicServicesKit","subSystem":"启动恢复"},{"filePath":"@ohos.systemTime.d.ts","kitName":"BasicServicesKit","subSystem":"时间时区"},{"filePath":"@ohos.systemTimer.d.ts","kitName":"BasicServicesKit","subSystem":"时间时区"},{"filePath":"@ohos.taskpool.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.telephony.call.d.ts","kitName":"TelephonyKit","subSystem":"电话服务"},{"filePath":"@ohos.telephony.call.d.ts","kitName":"TelephonyKit","subSystem":"应用"},{"filePath":"@ohos.telephony.data.d.ts","kitName":"TelephonyKit","subSystem":"电话服务"},{"filePath":"@ohos.telephony.observer.d.ts","kitName":"TelephonyKit","subSystem":"电话服务"},{"filePath":"@ohos.telephony.radio.d.ts","kitName":"TelephonyKit","subSystem":"电话服务"},{"filePath":"@ohos.telephony.sim.d.ts","kitName":"TelephonyKit","subSystem":"电话服务"},{"filePath":"@ohos.telephony.sms.d.ts","kitName":"TelephonyKit","subSystem":"电话服务"},{"filePath":"@ohos.telephony.vcard.d.ts","kitName":"TelephonyKit","subSystem":"电话服务"},{"filePath":"@ohos.thermal.d.ts","kitName":"BasicServicesKit","subSystem":"电源服务"},{"filePath":"@ohos.uiAppearance.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.uiExtensionHost.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.UiTest.d.ts","kitName":"TestKit","subSystem":"测试框架"},{"filePath":"@ohos.update.d.ts","kitName":"BasicServicesKit","subSystem":"升级服务"},{"filePath":"@ohos.uri.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.url.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.usb.d.ts","kitName":"BasicServicesKit","subSystem":"USB服务"},{"filePath":"@ohos.usbManager.d.ts","kitName":"BasicServicesKit","subSystem":"USB服务"},{"filePath":"@ohos.userIAM.faceAuth.d.ts","kitName":"UserAuthenticationKit","subSystem":"用户IAM"},{"filePath":"@ohos.userIAM.userAuth.d.ts","kitName":"UserAuthenticationKit","subSystem":"用户IAM"},{"filePath":"@ohos.userIAM.userAuthIcon.d.ets","kitName":"UserAuthenticationKit","subSystem":"用户IAM"},{"filePath":"@ohos.util.ArrayList.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.util.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.util.Deque.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.util.HashMap.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.util.HashSet.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.util.json.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.util.LightWeightMap.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.util.LightWeightSet.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.util.LinkedList.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.util.List.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.util.PlainArray.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.util.Queue.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.util.Stack.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.util.TreeMap.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.util.TreeSet.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.util.Vector.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.vibrator.d.ts","kitName":"SensorServiceKit","subSystem":"泛sensor服务"},{"filePath":"@ohos.wallpaper.d.ts","kitName":"BasicServicesKit","subSystem":"主题"},{"filePath":"@ohos.WallpaperExtensionAbility.d.ts","kitName":"BasicServicesKit","subSystem":"主题"},{"filePath":"@ohos.wantAgent.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.web.netErrorList.d.ts","kitName":"ArkWeb","subSystem":"web"},{"filePath":"@ohos.web.webview.d.ts","kitName":"ArkWeb","subSystem":"web"},{"filePath":"@ohos.wifi.d.ts","kitName":"ConnectivityKit","subSystem":"基础通信"},{"filePath":"@ohos.wifiext.d.ts","kitName":"ConnectivityKit","subSystem":"基础通信"},{"filePath":"@ohos.wifiManager.d.ts","kitName":"ConnectivityKit","subSystem":"基础通信"},{"filePath":"@ohos.wifiManagerExt.d.ts","kitName":"ConnectivityKit","subSystem":"基础通信"},{"filePath":"@ohos.wifiManagerExt.d.ts","kitName":"ConnectivityKit","subSystem":"元能力"},{"filePath":"@ohos.window.d.ts","kitName":"ArkUI","subSystem":"窗口管理"},{"filePath":"@ohos.window.d.ts","kitName":"ArkUI","subSystem":"窗口"},{"filePath":"@ohos.worker.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.WorkSchedulerExtensionAbility.d.ts","kitName":"BackgroundTasksKit","subSystem":"资源调度"},{"filePath":"@ohos.xml.d.ts","kitName":"ArkTS","subSystem":"公共基础类库"},{"filePath":"@ohos.zlib.d.ts","kitName":"BasicServicesKit","subSystem":"包管理"},{"filePath":"@system.app.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@system.battery.d.ts","kitName":"BasicServicesKit","subSystem":"电源服务"},{"filePath":"@system.bluetooth.d.ts","kitName":"ConnectivityKit","subSystem":"蓝牙"},{"filePath":"@system.brightness.d.ts","kitName":"BasicServicesKit","subSystem":"电源服务"},{"filePath":"@system.cipher.d.ts","kitName":"CryptoArchitectureKit","subSystem":"安全基础能力"},{"filePath":"@system.configuration.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@system.device.d.ts","kitName":"BasicServicesKit","subSystem":"启动恢复"},{"filePath":"@system.file.d.ts","kitName":"CoreFileKit","subSystem":"文件管理"},{"filePath":"@system.geolocation.d.ts","kitName":"LocationKit","subSystem":"位置服务"},{"filePath":"@system.mediaquery.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@system.notification.d.ts","kitName":"NotificationKit","subSystem":"事件通知"},{"filePath":"@system.package.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"@system.prompt.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@system.request.d.ts","kitName":"BasicServicesKit","subSystem":"上传下载"},{"filePath":"@system.router.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@system.sensor.d.ts","kitName":"SensorServiceKit","subSystem":"泛sensor服务"},{"filePath":"@system.storage.d.ts","kitName":"ArkData","subSystem":"分布式数据管理"},{"filePath":"@system.vibrator.d.ts","kitName":"SensorServiceKit","subSystem":"泛sensor服务"},{"filePath":"ability/abilityResult.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"ability/connectOptions.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"ability/dataAbilityHelper.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"ability/dataAbilityOperation.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"ability/dataAbilityResult.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"ability/startAbilityParameter.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"ability/want.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"advertising/advertisement.d.ts","kitName":"AdsKit","subSystem":"广告服务"},{"filePath":"app/appVersionInfo.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"app/context.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"app/processInfo.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/AbilityDelegator.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/abilityDelegatorArgs.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/AbilityFirstFrameStateData.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/AbilityForegroundStateObserver.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/AbilityMonitor.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/AbilityRunningInfo.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/AbilityStageContext.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/AbilityStageMonitor.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/AbilityStateData.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/AccessibilityExtensionContext.d.ts","kitName":"AccessibilityKit","subSystem":"无障碍软件服务"},{"filePath":"application/AppForegroundStateObserver.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/ApplicationContext.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/ApplicationStateObserver.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/AppStateData.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/AutoFillExtensionContext.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/AutoFillRect.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/AutoFillRequest.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/AutoFillType.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/AutoStartupCallback.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/AutoStartupInfo.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/BaseContext.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/BusinessAbilityInfo.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/Context.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/ContinuableInfo.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/ContinueCallback.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/ContinueDeviceInfo.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/ContinueMissionInfo.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/DriverExtensionContext.d.ts","kitName":"DriverDevelopmentKit","subSystem":"驱动"},{"filePath":"application/EmbeddableUIAbilityContext.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/ErrorObserver.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/EventHub.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/ExtensionContext.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/ExtensionRunningInfo.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/FormExtensionContext.d.ts","kitName":"FormKit","subSystem":"元能力"},{"filePath":"application/LoopObserver.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/MediaControlExtensionContext.d.ts","kitName":"AVSessionKit","subSystem":"OS媒体软件"},{"filePath":"application/MissionCallbacks.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/MissionDeviceInfo.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/MissionInfo.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/MissionListener.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/MissionParameter.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/MissionSnapshot.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/PageNodeInfo.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/ProcessData.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/ProcessInformation.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/ProcessRunningInfo.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/ServiceExtensionContext.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/shellCmdResult.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/UIAbilityContext.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/UIExtensionContext.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/ViewData.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/VpnExtensionContext.d.ts","kitName":"NetworkKit","subSystem":"元能力"},{"filePath":"application/WorkSchedulerExtensionContext.d.ts","kitName":"BackgroundTasksKit","subSystem":"资源调度"},{"filePath":"arkui/AlphabetIndexerModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/BlankModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/BuilderNode.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/ButtonModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/CalendarPickerModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/CheckboxGroupModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/CheckboxModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/ColumnModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/ColumnSplitModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/CommonModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/ComponentContent.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/CounterModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/DataPanelModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/DatePickerModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/DividerModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/FormComponentModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/FrameNode.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/GaugeModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/Graphics.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/GridColModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/GridItemModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/GridModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/GridRowModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/HyperlinkModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/ImageAnimatorModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/ImageModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/ImageSpanModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/LineModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/ListItemGroupModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/ListItemModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/ListModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/LoadingProgressModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/MarqueeModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/MenuItemModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/MenuModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/NavDestinationModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/NavigationModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/NavigatorModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/NavRouterModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/NodeController.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/PanelModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/PathModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/PatternLockModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/PolygonModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/PolylineModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/ProgressModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/QRCodeModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/RadioModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/RatingModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/RectModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/RenderNode.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/RichEditorModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/RowModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/RowSplitModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/ScrollModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/SearchModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/SelectModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/ShapeModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/SideBarContainerModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/SliderModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/SpanModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/StackModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/StepperItemModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/SwiperModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/TabsModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/TextAreaModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/TextClockModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/TextInputModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/TextModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/TextPickerModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/TextTimerModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/TimePickerModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/ToggleModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/VideoModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/WaterFlowModifier.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"arkui/XComponentNode.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"bundle/abilityInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundle/applicationInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundle/bundleInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundle/bundleInstaller.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundle/bundleStatusCallback.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundle/customizeData.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundle/elementName.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundle/hapModuleInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundle/launcherAbilityInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundle/moduleInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundle/PermissionDef.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundle/remoteAbilityInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundle/shortcutInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundleManager/AbilityInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundleManager/ApplicationInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundleManager/AppProvisionInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundleManager/BundleInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundleManager/BundlePackInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundleManager/BundleResourceInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundleManager/DispatchInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundleManager/ElementName.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundleManager/ExtensionAbilityInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundleManager/HapModuleInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundleManager/LauncherAbilityInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundleManager/LauncherAbilityResourceInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundleManager/Metadata.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundleManager/OverlayModuleInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundleManager/PermissionDef.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundleManager/RecoverableApplicationInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundleManager/RemoteAbilityInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundleManager/SharedBundleInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"bundleManager/ShortcutInfo.d.ts","kitName":"AbilityKit","subSystem":"包管理"},{"filePath":"common/full/canvaspattern.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"common/full/console.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"common/full/dom.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"common/full/featureability.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"common/full/global.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"common/full/viewmodel.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"common/lite/console.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"common/lite/featureability.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"common/lite/global.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"common/lite/viewmodel.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"commonEvent/commonEventData.d.ts","kitName":"BasicServicesKit","subSystem":"事件通知"},{"filePath":"commonEvent/commonEventPublishData.d.ts","kitName":"BasicServicesKit","subSystem":"事件通知"},{"filePath":"commonEvent/commonEventSubscribeInfo.d.ts","kitName":"BasicServicesKit","subSystem":"事件通知"},{"filePath":"commonEvent/commonEventSubscriber.d.ts","kitName":"BasicServicesKit","subSystem":"事件通知"},{"filePath":"continuation/continuationExtraParams.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"continuation/continuationResult.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"data/rdb/resultSet.d.ts","kitName":"ArkData","subSystem":"分布式数据管理"},{"filePath":"global/rawFileDescriptor.d.ts","kitName":"LocalizationKit","subSystem":"全球化"},{"filePath":"global/resource.d.ts","kitName":"LocalizationKit","subSystem":"全球化"},{"filePath":"multimedia/soundPool.d.ts","kitName":"MediaKit","subSystem":"OS媒体软件"},{"filePath":"notification/notificationActionButton.d.ts","kitName":"NotificationKit","subSystem":"事件通知"},{"filePath":"notification/NotificationCommonDef.d.ts","kitName":"NotificationKit","subSystem":"事件通知"},{"filePath":"notification/notificationContent.d.ts","kitName":"NotificationKit","subSystem":"事件通知"},{"filePath":"notification/notificationContent.d.ts","kitName":"NotificationKit","subSystem":"安全基础能力"},{"filePath":"notification/notificationFlags.d.ts","kitName":"NotificationKit","subSystem":"事件通知"},{"filePath":"notification/notificationRequest.d.ts","kitName":"NotificationKit","subSystem":"事件通知"},{"filePath":"notification/notificationSlot.d.ts","kitName":"NotificationKit","subSystem":"事件通知"},{"filePath":"notification/notificationSorting.d.ts","kitName":"NotificationKit","subSystem":"事件通知"},{"filePath":"notification/notificationSortingMap.d.ts","kitName":"NotificationKit","subSystem":"事件通知"},{"filePath":"notification/notificationSubscribeInfo.d.ts","kitName":"NotificationKit","subSystem":"事件通知"},{"filePath":"notification/notificationSubscriber.d.ts","kitName":"NotificationKit","subSystem":"事件通知"},{"filePath":"notification/notificationTemplate.d.ts","kitName":"NotificationKit","subSystem":"事件通知"},{"filePath":"notification/notificationUserInput.d.ts","kitName":"NotificationKit","subSystem":"事件通知"},{"filePath":"security/PermissionRequestResult.d.ts","kitName":"AbilityKit","subSystem":"安全基础能力"},{"filePath":"tag/nfctech.d.ts","kitName":"ConnectivityKit","subSystem":"基础通信"},{"filePath":"tag/tagSession.d.ts","kitName":"ConnectivityKit","subSystem":"基础通信"},{"filePath":"wantAgent/triggerInfo.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@internal/component/ets/component3d.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/styled_string.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@internal/component/ets/web.d.ts","kitName":"ArkWeb","subSystem":"web"},{"filePath":"@ohos.app.appstartup.StartupConfig.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.appstartup.StartupConfigEntry.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.appstartup.StartupListener.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.appstartup.startupManager.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.app.appstartup.StartupTask.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.arkui.shape.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"@ohos.commonEvent.d.ts","kitName":"BasicServicesKit","subSystem":"事件通知"},{"filePath":"@ohos.graphics.common2D.d.ts","kitName":"ArkGraphics2D","subSystem":"图形图像"},{"filePath":"@ohos.graphics.drawing.d.ts","kitName":"ArkGraphics2D","subSystem":"图形图像"},{"filePath":"@ohos.notification.d.ts","kitName":"NotificationKit","subSystem":"事件通知"},{"filePath":"@ohos.security.securityGuard.d.ts","kitName":"securityGuardKit","subSystem":"安全基础能力"},{"filePath":"@system.fetch.d.ts","kitName":"NetworkKit","subSystem":"基础通信"},{"filePath":"@system.network.d.ts","kitName":"NetworkKit","subSystem":"基础通信"},{"filePath":"application/VpnExtensionContext.d.ts","kitName":"NetworkKit","subSystem":"元能力"},{"filePath":"application/WindowExtensionContext.d.ts","kitName":"ArkUI","subSystem":"窗口管理"},{"filePath":"arkui/AttributeUpdater.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"data/rdb/resultSet.d.ts","kitName":"ArkData","subSystem":"分布式数据管理"},{"filePath":"multimedia/ringtonePlayer.d.ts","kitName":"AudioKit","subSystem":"OS媒体软件"},{"filePath":"multimedia/systemTonePlayer.d.ts","kitName":"AudioKit","subSystem":"OS媒体软件"},{"filePath":"@internal/component/ets/repeat.d.ts","kitName":"ArkUI","subSystem":"ArkUI开发框架"},{"filePath":"application/AbilityFirstFrameStateObserver.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/AbilityStartCallback.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"application/AbilityFirstFrameStateObserver.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"@ohos.graphics.text.d.ts","kitName":"ArkGraphics2D","subSystem":"图形图像"},{"filePath":"wantAgent/wantAgentInfo.d.ts","kitName":"AbilityKit","subSystem":"元能力"},{"filePath":"permissions.d.ts","kitName":"NA","subSystem":"NA"}]}')},739:e=>{"use strict";e.exports=JSON.parse('{"compileOnSave":false,"compilerOptions":{"ets":{"render":{"method":["build","pageTransition"],"decorator":"Builder"},"components":["AbilityComponent","AlphabetIndexer","Animator","Badge","Blank","Button","Calendar","CalendarPicker","Camera","Canvas","Checkbox","CheckboxGroup","Circle","ColorPicker","ColorPickerDialog","Column","ColumnSplit","Component3D","Counter","DataPanel","DatePicker","Divider","Ellipse","Flex","FormComponent","Gauge","GeometryView","Grid","GridItem","GridContainer","Hyperlink","Image","ImageAnimator","Line","List","ListItem","ListItemGroup","LoadingProgress","Marquee","Menu","MenuItem","MenuItemGroup","Navigation","Navigator","Option","PageTransitionEnter","PageTransitionExit","Panel","Particle","Path","PatternLock","Piece","PluginComponent","Polygon","Polyline","Progress","QRCode","Radio","Rating","Rect","Refresh","RelativeContainer","RemoteWindow","Row","RowSplit","RichText","Scroll","ScrollBar","Search","Section","Select","Shape","Sheet","SideBarContainer","Slider","Span","Stack","Stepper","StepperItem","Swiper","TabContent","Tabs","Text","TextPicker","TextClock","TextArea","TextInput","TextTimer","TimePicker","Toggle","Video","Web","XComponent","GridRow","GridCol"],"extend":{"decorator":"Extend","components":[{"name":"AbilityComponent","type":"AbilityComponentAttribute","instance":"AbilityComponentInstance"},{"name":"AlphabetIndexer","type":"AlphabetIndexerAttribute","instance":"AlphabetIndexerInstance"},{"name":"Animator","type":"AnimatorAttribute","instance":"AnimatorInstance"},{"name":"Badge","type":"BadgeAttribute","instance":"BadgeInstance"},{"name":"Blank","type":"BlankAttribute","instance":"BlankInstance"},{"name":"Button","type":"ButtonAttribute","instance":"ButtonInstance"},{"name":"Calendar","type":"CalendarAttribute","instance":"CalendarInstance"},{"name":"CalendarPicker","type":"CalendarPickerAttribute","instance":"CalendarPickerInstance"},{"name":"Camera","type":"CameraAttribute","instance":"CameraInstance"},{"name":"Canvas","type":"CanvasAttribute","instance":"CanvasInstance"},{"name":"Checkbox","type":"CheckboxAttribute","instance":"CheckboxInstance"},{"name":"CheckboxGroup","type":"CheckboxGroupAttribute","instance":"CheckboxGroupInstance"},{"name":"Circle","type":"CircleAttribute","instance":"CircleInstance"},{"name":"ColorPicker","type":"ColorPickerAttribute","instance":"ColorPickerInstance"},{"name":"ColorPickerDialog","type":"ColorPickerDialogAttribute","instance":"ColorPickerDialogInstance"},{"name":"Column","type":"ColumnAttribute","instance":"ColumnInstance"},{"name":"ColumnSplit","type":"ColumnSplitAttribute","instance":"ColumnSplitInstance"},{"name":"Component3D","type":"Component3DAttribute","instance":"Component3DInstance"},{"name":"Counter","type":"CounterAttribute","instance":"CounterInstance"},{"name":"DataPanel","type":"DataPanelAttribute","instance":"DataPanelInstance"},{"name":"DatePicker","type":"DatePickerAttribute","instance":"DatePickerInstance"},{"name":"Divider","type":"DividerAttribute","instance":"DividerInstance"},{"name":"Ellipse","type":"EllipseAttribute","instance":"EllipseInstance"},{"name":"Flex","type":"FlexAttribute","instance":"FlexInstance"},{"name":"FormComponent","type":"FormComponentAttribute","instance":"FormComponentInstance"},{"name":"Gauge","type":"GaugeAttribute","instance":"GaugeInstance"},{"name":"GeometryView","type":"GeometryViewAttribute","instance":"GeometryViewInstance"},{"name":"Grid","type":"GridAttribute","instance":"GridInstance"},{"name":"GridItem","type":"GridItemAttribute","instance":"GridItemInstance"},{"name":"GridContainer","type":"GridContainerAttribute","instance":"GridContainerInstance"},{"name":"Hyperlink","type":"HyperlinkAttribute","instance":"HyperlinkInstance"},{"name":"Image","type":"ImageAttribute","instance":"ImageInstance"},{"name":"ImageAnimator","type":"ImageAnimatorAttribute","instance":"ImageAnimatorInstance"},{"name":"Line","type":"LineAttribute","instance":"LineInstance"},{"name":"List","type":"ListAttribute","instance":"ListInstance"},{"name":"ListItem","type":"ListItemAttribute","instance":"ListItemInstance"},{"name":"ListItemGroup","type":"ListItemGroupAttribute","instance":"ListItemGroupInstance"},{"name":"LoadingProgress","type":"LoadingProgressAttribute","instance":"LoadingProgressInstance"},{"name":"Marquee","type":"MarqueeAttribute","instance":"MarqueeInstance"},{"name":"Menu","type":"MenuAttribute","instance":"MenuInstance"},{"name":"MenuItem","type":"MenuItemAttribute","instance":"MenuItemInstance"},{"name":"MenuItemGroup","type":"MenuItemGroupAttribute","instance":"MenuItemGroupInstance"},{"name":"Navigation","type":"NavigationAttribute","instance":"NavigationInstance"},{"name":"Navigator","type":"NavigatorAttribute","instance":"NavigatorInstance"},{"name":"Option","type":"OptionAttribute","instance":"OptionInstance"},{"name":"PageTransitionEnter","type":"PageTransitionEnterAttribute","instance":"PageTransitionEnterInstance"},{"name":"PageTransitionExit","type":"PageTransitionExitAttribute","instance":"PageTransitionExitInstance"},{"name":"Panel","type":"PanelAttribute","instance":"PanelInstance"},{"name":"Particle","type":"ParticleAttribute","instance":"ParticleInstance"},{"name":"Path","type":"PathAttribute","instance":"PathInstance"},{"name":"PatternLock","type":"PatternLockAttribute","instance":"PatternLockInstance"},{"name":"Piece","type":"PieceAttribute","instance":"PieceInstance"},{"name":"PluginComponent","type":"PluginComponentAttribute","instance":"PluginComponentInstance"},{"name":"Polygon","type":"PolygonAttribute","instance":"PolygonInstance"},{"name":"Polyline","type":"PolylineAttribute","instance":"PolylineInstance"},{"name":"Progress","type":"ProgressAttribute","instance":"ProgressInstance"},{"name":"QRCode","type":"QRCodeAttribute","instance":"QRCodeInstance"},{"name":"Radio","type":"RadioAttribute","instance":"RadioInstance"},{"name":"Rating","type":"RatingAttribute","instance":"RatingInstance"},{"name":"Rect","type":"RectAttribute","instance":"RectInstance"},{"name":"RelativeContainer","type":"RelativeContainerAttribute","instance":"RelativeContainerInstance"},{"name":"Refresh","type":"RefreshAttribute","instance":"RefreshInstance"},{"name":"RemoteWindow","type":"RemoteWindowAttribute","instance":"RemoteWindowInstance"},{"name":"Row","type":"RowAttribute","instance":"RowInstance"},{"name":"RowSplit","type":"RowSplitAttribute","instance":"RowSplitInstance"},{"name":"RichText","type":"RichTextAttribute","instance":"RichTextInstance"},{"name":"Scroll","type":"ScrollAttribute","instance":"ScrollInstance"},{"name":"ScrollBar","type":"ScrollBarAttribute","instance":"ScrollBarInstance"},{"name":"Search","type":"SearchAttribute","instance":"SearchInstance"},{"name":"Section","type":"SectionAttribute","instance":"SectionInstance"},{"name":"Select","type":"SelectAttribute","instance":"SelectInstance"},{"name":"Shape","type":"ShapeAttribute","instance":"ShapeInstance"},{"name":"Sheet","type":"SheetAttribute","instance":"SheetInstance"},{"name":"SideBarContainer","type":"SideBarContainerAttribute","instance":"SideBarContainerInstance"},{"name":"Slider","type":"SliderAttribute","instance":"SliderInstance"},{"name":"Span","type":"SpanAttribute","instance":"SpanInstance"},{"name":"Stack","type":"StackAttribute","instance":"StackInstance"},{"name":"Stepper","type":"StepperAttribute","instance":"StepperInstance"},{"name":"StepperItem","type":"StepperItemAttribute","instance":"StepperItemInstance"},{"name":"Swiper","type":"SwiperAttribute","instance":"SwiperInstance"},{"name":"TabContent","type":"TabContentAttribute","instance":"TabContentInstance"},{"name":"Tabs","type":"TabsAttribute","instance":"TabsInstance"},{"name":"Text","type":"TextAttribute","instance":"TextInstance"},{"name":"TextPicker","type":"TextPickerAttribute","instance":"TextPickerInstance"},{"name":"TextClock","type":"TextClockAttribute","instance":"TextClockInstance"},{"name":"TextArea","type":"TextAreaAttribute","instance":"TextAreaInstance"},{"name":"TextInput","type":"TextInputAttribute","instance":"TextInputInstance"},{"name":"TextTimer","type":"TextTimerAttribute","instance":"TextTimerInstance"},{"name":"TimePicker","type":"TimePickerAttribute","instance":"TimePickerInstance"},{"name":"Toggle","type":"ToggleAttribute","instance":"ToggleInstance"},{"name":"Video","type":"VideoAttribute","instance":"VideoInstance"},{"name":"Web","type":"WebAttribute","instance":"WebInstance"},{"name":"XComponent","type":"XComponentAttribute","instance":"XComponentInstance"},{"name":"GridRow","type":"GridRowAttribute","instance":"GridRowInterface"},{"name":"GridCol","type":"GridColAttribute","instance":"GridColInterface"}]},"styles":{"decorator":"Styles","component":{"name":"Common","type":"T","instance":"CommonInstance"},"property":"stateStyles"},"customComponent":"CustomComponent","propertyDecorators":[],"emitDecorators":[],"libs":[]},"allowJs":false,"allowSyntheticDefaultImports":true,"esModuleInterop":true,"importsNotUsedAsValues":"preserve","noImplicitAny":false,"noUnusedLocals":false,"noUnusedParameters":false,"experimentalDecorators":true,"moduleResolution":"node","resolveJsonModule":true,"skipLibCheck":true,"sourceMap":true,"module":"commonjs","target":"es2017","types":[],"typeRoots":[],"lib":["es2020"],"alwaysStrict":true},"exclude":["node_modules"]}')},61574:e=>{"use strict";e.exports=JSON.parse('{"DOC":{"API_DOC_ATOMICSERVICE_01":"JSDoc label order error, please adjust the order of [atomicservice] labels.","API_DOC_ATOMICSERVICE_02":"The validity verification of the JSDoc tag failed. The [atomicservice] tag is not allowed to be reused, please delete the extra tags.","API_DOC_ATOMICSERVICE_03":"It was detected that there is a following label [atomicservice] in the current file, but the parent nodes without this label.","API_DOC_CONSTANT_01":"JSDoc label order error, please adjust the order of [constant] labels.","API_DOC_CONSTANT_02":"JSDoc label validity verification failed. The [constant] label is not allowed. Please check the label usage method.","API_DOC_CONSTANT_03":"JSDoc tag validity verification failed. Please confirm if the [constant] tag is missing.","API_DOC_CONSTANT_04":"The validity verification of the JSDoc tag failed. The [constant] tag is not allowed to be reused, please delete the extra tags.","API_DOC_CROSSPLATFORM_01":"JSDoc label order error, please adjust the order of [crossplatform] labels.","API_DOC_CROSSPLATFORM_02":"The validity verification of the JSDoc tag failed. The [crossplatform] tag is not allowed to be reused, please delete the extra tags.","API_DOC_CROSSPLATFORM_03":"It was detected that there is an inheritable label [crossplatform] in the current file, but there are child nodes without this label.","API_DOC_DEFAULT_01":"The [default] tag value is incorrect. Please supplement the default value.","API_DOC_DEFAULT_02":"JSDoc label order error, please adjust the order of [default] labels.","API_DOC_DEFAULT_03":"JSDoc label validity verification failed. The [default] label is not allowed. Please check the label usage method.","API_DOC_DEFAULT_04":"The validity verification of the JSDoc tag failed. The [default] tag is not allowed to be reused, please delete the extra tags.","API_DOC_DEPRECATED_01":"The [deprecated] tag value is incorrect. Please check the usage method.","API_DOC_DEPRECATED_02":"JSDoc label order error, please adjust the order of [deprecated] labels.","API_DOC_DEPRECATED_03":"It was detected that there is an inheritable label [deprecated] in the current file, but there are child nodes without this label.","API_DOC_DEPRECATED_04":"The validity verification of the JSDoc tag failed. The [deprecated] tag is not allowed to be reused, please delete the extra tags.","API_DOC_ENUM_01":"The [enum] tag type is incorrect. Please check if the tag type is { string } or { number }.","API_DOC_ENUM_02":"JSDoc label order error, please adjust the order of [enum] labels.","API_DOC_ENUM_03":"JSDoc label validity verification failed. The [enum] label is not allowed. Please check the label usage method.","API_DOC_ENUM_04":"JSDoc tag validity verification failed. Please confirm if the [enum] tag is missing.","API_DOC_ENUM_05":"The validity verification of the JSDoc tag failed. The [enum] tag is not allowed to be reused, please delete the extra tags.","API_DOC_EXAMPLE_01":"JSDoc label order error, please adjust the order of [example] labels.","API_DOC_EXAMPLE_02":"The validity verification of the JSDoc tag failed. The [example] tag is not allowed to be reused, please delete the extra tags.","API_DOC_EXTENDS_01":"The [extends] tag value is incorrect. Please check if the tag value matches the inherited class name.","API_DOC_EXTENDS_02":"JSDoc label order error, please adjust the order of [extends] labels.","API_DOC_EXTENDS_03":"JSDoc label validity verification failed. The [extends] label is not allowed. Please check the label usage method.","API_DOC_EXTENDS_04":"JSDoc tag validity verification failed. Please confirm if the [extends] tag is missing.","API_DOC_EXTENDS_05":"The validity verification of the JSDoc tag failed. The [extends] tag is not allowed to be reused, please delete the extra tags.","API_DOC_FAMODELONLY_01":"JSDoc label order error, please adjust the order of [famodelonly] labels.","API_DOC_FAMODELONLY_02":"The validity verification of the JSDoc tag failed. The [famodelonly] tag is not allowed to be reused, please delete the extra tags.","API_DOC_FAMODELONLY_03":"It was detected that there is an inheritable label [famodelonly] in the current file, but there are child nodes without this label.","API_DOC_FIRES_01":"JSDoc label order error, please adjust the order of [fires] labels.","API_DOC_FIRES_02":"The validity verification of the JSDoc tag failed. The [fires] tag is not allowed to be reused, please delete the extra tags.","API_DOC_FORM_01":"JSDoc label order error, please adjust the order of [form] labels.","API_DOC_FORM_02":"The validity verification of the JSDoc tag failed. The [form] tag is not allowed to be reused, please delete the extra tags.","API_DOC_FORM_03":"It was detected that there is a following label [form] in the current file, but the parent nodes without this label.","API_DOC_IMPLEMENTS_01":"JSDoc label order error, please adjust the order of [implements] labels.","API_DOC_IMPLEMENTS_02":"JSDoc label validity verification failed. The [implements] label is not allowed. Please check the label usage method.","API_DOC_IMPLEMENTS_03":"JSDoc tag validity verification failed. Please confirm if the [implements] tag is missing.","API_DOC_IMPLEMENTS_04":"The validity verification of the JSDoc tag failed. The [implements] tag is not allowed to be reused, please delete the extra tags.","API_DOC_IMPLEMENTS_05":"The [implements] tag value is incorrect. Please check if the tag value matches the inherited class name.","API_DOC_INTERFACE_04":"JSDoc label order error, please adjust the order of [interface] labels.","API_DOC_INTERFACE_05":"The validity verification of the JSDoc tag failed. The [interface] tag is not allowed to be reused, please delete the extra tags.","API_DOC_NAMESPACE_01":"The [namespace] tag value is incorrect. Please check if it matches the namespace name.","API_DOC_NAMESPACE_02":"JSDoc label order error, please adjust the order of [namespace] labels.","API_DOC_NAMESPACE_03":"JSDoc tag validity verification failed. Please confirm if the [namespace] tag is missing.","API_DOC_NAMESPACE_04":"JSDoc label validity verification failed. The [namespace] label is not allowed. Please check the label usage method.","API_DOC_NAMESPACE_05":"The validity verification of the JSDoc tag failed. The [namespace] tag is not allowed to be reused, please delete the extra tags.","API_DOC_PARAM_01":"The type of the [1] [param] tag is incorrect. Please check if it matches the type of the [1] parameter.","API_DOC_PARAM_02":"The value of the [1] [param] tag is incorrect. Please check if it matches the [1] parameter name.","API_DOC_PARAM_03":"JSDoc tag validity verification failed.There are [1] redundant [param]. Please check if the tag should be deleted.","API_DOC_PARAM_04":"JSDoc tag validity verification failed. Please confirm if the [param] tag is missing.","API_DOC_PARAM_05":"JSDoc label validity verification failed. The [param] label is not allowed. Please check the label usage method.","API_DOC_PARAM_06":"JSDoc label order error, please adjust the order of [param] labels.","API_DOC_PERMISSION_01":"The [permission] tag value is incorrect. Please check if the permission field has been configured or update the configuration file.","API_DOC_PERMISSION_02":"JSDoc label order error, please adjust the order of [permission] labels.","API_DOC_PERMISSION_03":"JSDoc label validity verification failed. The [permission] label is not allowed. Please check the label usage method.","API_DOC_PERMISSION_04":"The validity verification of the JSDoc tag failed. The [permission] tag is not allowed to be reused, please delete the extra tags.","API_DOC_PERMISSION_05":"JSDoc tag validity verification failed. Please confirm if the [permission] tag is missing.","API_DOC_READONLY_01":"JSDoc label order error, please adjust the order of [readonly] labels.","API_DOC_READONLY_02":"JSDoc label validity verification failed. The [readonly] label is not allowed. Please check the label usage method.","API_DOC_READONLY_03":"The validity verification of the JSDoc tag failed. The [readonly] tag is not allowed to be reused, please delete the extra tags.","API_DOC_READONLY_04":"JSDoc tag validity verification failed. Please confirm if the [readonly] tag is missing.","API_DOC_RETURNS_01":"The [returns] tag was used incorrectly. The returns tag should not be used when the return type is void.","API_DOC_RETURNS_02":"The [returns] tag type is incorrect. Please check if the tag type is consistent with the return type.","API_DOC_RETURNS_03":"JSDoc label order error, please adjust the order of [returns] labels.","API_DOC_RETURNS_04":"JSDoc tag validity verification failed. Please confirm if the [returns] tag is missing.","API_DOC_RETURNS_05":"The validity verification of the JSDoc tag failed. The [returns] tag is not allowed to be reused, please delete the extra tags.","API_DOC_RETURNS_06":"JSDoc label validity verification failed. The [returns] label is not allowed. Please check the label usage method.","API_DOC_SINCE_01":"The [since] tag value is incorrect. Please check if the tag value is a numerical value.","API_DOC_SINCE_02":"JSDoc label order error, please adjust the order of [since] labels.","API_DOC_SINCE_03":"JSDoc tag validity verification failed. Please confirm if the [since] tag is missing.","API_DOC_SINCE_04":"The validity verification of the JSDoc tag failed. The [since] tag is not allowed to be reused, please delete the extra tags.","API_DOC_SINCE_05":"The [since] value is greater than the latest version number.","API_DOC_SINCE_06":"The [since] value for different jsdoc should not be the same.","API_DOC_SINCE_07":"The [since] value is greater than the latest version number.The [since] value for different jsdoc should not be the same.","API_DOC_SINCE_08":"The [since] tag value is incorrect. Please check if the tag value is a numerical value.The [since] value for different jsdoc should not be the same.","API_DOC_STAGEMODELONLY_01":"It was detected that there is an inheritable label [stagemodelonly] in the current file, but there are child nodes without this label.","API_DOC_STAGEMODELONLY_02":"JSDoc label order error, please adjust the order of [stagemodelonly] labels.","API_DOC_STAGEMODELONLY_03":"The validity verification of the JSDoc tag failed. The [stagemodelonly] tag is not allowed to be reused, please delete the extra tags.","API_DOC_STATIC_01":"JSDoc label order error, please adjust the order of [static] labels.","API_DOC_STATIC_02":"The validity verification of the JSDoc tag failed. The [static] tag is not allowed to be reused, please delete the extra tags.","API_DOC_STRUCT_01":"The [struct] tag value is incorrect. Please check if it matches the struct name.","API_DOC_STRUCT_02":"JSDoc label order error, please adjust the order of [struct] labels.","API_DOC_STRUCT_03":"JSDoc label validity verification failed. The [struct] label is not allowed. Please check the label usage method.","API_DOC_STRUCT_04":"JSDoc tag validity verification failed. Please confirm if the [struct] tag is missing.","API_DOC_STRUCT_05":"The validity verification of the JSDoc tag failed. The [struct] tag is not allowed to be reused, please delete the extra tags.","API_DOC_SYSCAP_01":"The [syscap] tag value is incorrect. Please check if the syscap field is configured.","API_DOC_SYSCAP_02":"JSDoc label order error, please adjust the order of [syscap] labels.","API_DOC_SYSCAP_03":"JSDoc tag validity verification failed. Please confirm if the [syscap] tag is missing.","API_DOC_SYSCAP_04":"The validity verification of the JSDoc tag failed. The [syscap] tag is not allowed to be reused, please delete the extra tags.","API_DOC_SYSTEMAPI_01":"JSDoc label order error, please adjust the order of [systemapi] labels.","API_DOC_SYSTEMAPI_02":"It was detected that there is an inheritable label [systemapi] in the current file, but there are child nodes without this label.","API_DOC_SYSTEMAPI_03":"The validity verification of the JSDoc tag failed. The [systemapi] tag is not allowed to be reused, please delete the extra tags.","API_DOC_TEST_01":"JSDoc label order error, please adjust the order of [test] labels.","API_DOC_TEST_02":"It was detected that there is an inheritable label [test] in the current file, but there are child nodes without this label.","API_DOC_TEST_03":"The validity verification of the JSDoc tag failed. The [test] tag is not allowed to be reused, please delete the extra tags.","API_DOC_THROWS_01":"The type of the [1] [throws] tag is incorrect. Please check if the tag value is a numerical value.","API_DOC_THROWS_02":"The type of the [1] [throws] tag is incorrect. Please fill in [BusinessError].","API_DOC_THROWS_03":"JSDoc label order error, please adjust the order of [throws] labels.","API_DOC_THROWS_04":"JSDoc label validity verification failed. The [throws] label is not allowed. Please check the label usage method.","API_DOC_THROWS_05":"JSDoc tag validity verification failed. Please confirm if the [throws 1] tag is missing.","API_DOC_THROWS_07":"JSDoc label validity verification failed. The [throws 1] label is not allowed. Please check the label usage method.","API_DOC_THROWS_08":"The validity verification of the JSDoc tag failed. The [throws] tag is not allowed to be reused, please delete the extra tags.","API_DOC_THROWS_09":"The generic error code does not contain the current error code.","API_DOC_THROWS_10":"The description of the [1 throws] is incorrect. please fix it according to the specification.","API_DOC_THROWS_11":"The type of the [1] [throws] tag is incorrect. Please fill in [BusinessError].The description of the [1 throws] is incorrect. please fix it according to the specification.","API_DOC_TYPE_01":"The [type] tag type is incorrect. Please check if the type matches the attribute type.","API_DOC_TYPE_02":"JSDoc label order error, please adjust the order of [type] labels.","API_DOC_TYPE_03":"JSDoc label validity verification failed. The [type] label is not allowed. Please check the label usage method.","API_DOC_TYPE_04":"JSDoc tag validity verification failed. Please confirm if the [type] tag is missing.","API_DOC_TYPE_05":"The validity verification of the JSDoc tag failed. The [type] tag is not allowed to be reused, please delete the extra tags.","API_DOC_TYPEDEF_01":"The [typedef] tag value is incorrect. Please check if it matches the interface name or type content.","API_DOC_TYPEDEF_02":"JSDoc label order error, please adjust the order of [typedef] labels.","API_DOC_TYPEDEF_03":"JSDoc label validity verification failed. The [typedef] label is not allowed. Please check the label usage method.","API_DOC_TYPEDEF_04":"JSDoc tag validity verification failed. Please confirm if the [typedef] tag is missing.","API_DOC_TYPEDEF_05":"The validity verification of the JSDoc tag failed. The [typedef] tag is not allowed to be reused, please delete the extra tags.","API_DOC_USEINSTEAD_01":"The [useinstead] tag value is incorrect. Please check the usage method.","API_DOC_USEINSTEAD_02":"JSDoc label order error, please adjust the order of [useinstead] labels.","API_DOC_USEINSTEAD_03":"JSDoc label validity verification failed. The [useinstead] label is not allowed. Please check the label usage method.","API_DOC_USEINSTEAD_04":"The validity verification of the JSDoc tag failed. The [useinstead] tag is not allowed to be reused, please delete the extra tags.","API_DOC_GLOBAL_01":"JSDoc tag validity verification failed. Please confirm if the [file] tag is missing.","API_DOC_GLOBAL_02":"JSDoc tag validity verification failed. Please confirm if the [kit] tag is missing.","API_DOC_JSDOC_01":"Jsdoc needs to be added to the current API.","API_DOC_JSDOC_02":"JSDoc tag validity verification failed. Please confirm if the [since] tag is missing.JSDoc tag validity verification failed. Please confirm if the [syscap] tag is missing.","API_DOC_JSDOC_03":"Jsdoc has chinese.","API_DOC_UNKNOW_DECORATOR_01":"The [XXXX] tag does not exist. Please use a valid JSDoc tag.","API_DOC_JSDOC_04":"The [systemapi] and [atomicservice] cannot exist in the same doc."},"DEFINE":{"API_DEFINE_UNALLOWABLE_01":"Illegal [any] keyword used in the API.","API_DEFINE_UNALLOWABLE_02":"Illegal [this] keyword used in the API.","API_DEFINE_UNALLOWABLE_03":"Illegal [unknown] keyword used in the API.","API_DEFINE_NAME_01":"Prohibited word in [XXXX]:{option}.The word allowed is [XXXX].","API_DEFINE_NAME_02":"Prohibited word in [XXXX]:{ability} in the [XXXX] file.","API_DEFINE_SPELLING_01":"{XXXX}. please confirm whether it needs to be corrected to a common word.","API_DEFINE_EVENT_01":"The event name should be string.","API_DEFINE_EVENT_02":"The event name cannot be Null value.","API_DEFINE_EVENT_03":"The callback parameter of off function should be optional.","API_DEFINE_EVENT_04":"The off functions of one single event should have at least one callback parameter, and the callback parameter should be the last parameter.","API_DEFINE_EVENT_05":"The on and off event subscription methods do not appear in pair.","API_DEFINE_EVENT_06":"The event subscription methods should has at least one parameter.","API_DEFINE_EVENT_07":"Please check if the changed API version number is 10.","API_DEFINE_EVENT_08":"The event name should be named by small hump. (Received [XXXX]).","API_DEFINE_HUMP_01":"This API file should be named by large hump.","API_DEFINE_HUMP_02":"This API file should be named by small hump.","API_DEFINE_HUMP_03":"This name [XXXX] should be named by large hump.","API_DEFINE_HUMP_04":"This name [XXXX] should be named by small hump.","API_DEFINE_HUMP_05":"This name [XXXX] should be named by all uppercase.","API_DEFINE_ANONYMOUS_FUNCTION_01":"Anonymous functions or anonymous object that are not allowed are used in this api."},"CHANEGE":{"API_CHANGE_INCOMPATIBLE_01":"Forbid changes: Cannot change from public API to system API.","API_CHANGE_INCOMPATIBLE_02":"Forbid changes: Cannot reduce or permission or increase and permission.","API_CHANGE_INCOMPATIBLE_03":"Forbid changes: Cannot change permission value,cannot judge the range change.","API_CHANGE_INCOMPATIBLE_04":"Forbid changes: The number of error codes cannot be increased from 1 to multiple error codes.","API_CHANGE_INCOMPATIBLE_05":"Forbid changes: Cannot change the error code value.","API_CHANGE_INCOMPATIBLE_06":"Forbid changes: The card application cannot be changed from supported to not supported.","API_CHANGE_INCOMPATIBLE_07":"Forbid changes: Crossplatform cannot be changed from supported to not supported.","API_CHANGE_INCOMPATIBLE_08":"Forbid changes: API cannot be deleted.","API_CHANGE_INCOMPATIBLE_09":"Forbid changes: Cannot change from FAModelOnly to StageModelOnly.","API_CHANGE_INCOMPATIBLE_10":"Forbid changes: Cannot change from StageModelOnly to FAModelOnly.","API_CHANGE_INCOMPATIBLE_11":"Forbid changes: Cannot change from nothing to StageModelOnly.","API_CHANGE_INCOMPATIBLE_12":"Forbid changes: Cannot change from nothing to FAModelOnly.","API_CHANGE_INCOMPATIBLE_13":"Forbid changes: The function return value type cannot be extended.","API_CHANGE_INCOMPATIBLE_14":"Forbid changes: The function return value type cannot be reduced.","API_CHANGE_INCOMPATIBLE_15":"Forbid changes: Cannot change function return value type.","API_CHANGE_INCOMPATIBLE_16":"Forbid changes: Cannot change function param position.","API_CHANGE_INCOMPATIBLE_17":"Forbid changes: Cannot add function required param.","API_CHANGE_INCOMPATIBLE_18":"Forbid changes: Cannot delete function param.","API_CHANGE_INCOMPATIBLE_19":"Forbid changes: Cannot change form unrequired param to required param.","API_CHANGE_INCOMPATIBLE_20":"Forbid changes: Cannot change function param type.","API_CHANGE_INCOMPATIBLE_21":"Forbid changes: The function param type range is cannot be reduced.","API_CHANGE_INCOMPATIBLE_22":"Forbid changes: Read-only properties cannot be changed from optional to required.","API_CHANGE_INCOMPATIBLE_23":"Forbid changes: Writable properties cannot be changed from required to optional.","API_CHANGE_INCOMPATIBLE_24":"Forbid changes: Writable properties cannot be changed from optional to required.","API_CHANGE_INCOMPATIBLE_25":"Forbid changes: Cannot change property type.","API_CHANGE_INCOMPATIBLE_26":"Forbid changes: Cannot Expand the range of readonly property types.","API_CHANGE_INCOMPATIBLE_27":"Forbid changes: Cannot Expand the range of writable property types.","API_CHANGE_INCOMPATIBLE_28":"Forbid changes: Cannot reduce the range of writable property types.","API_CHANGE_INCOMPATIBLE_29":"Forbid changes: Decorator cannot be deleted.","API_CHANGE_INCOMPATIBLE_30":"Forbid changes: Cannot change constant value.","API_CHANGE_INCOMPATIBLE_31":"Forbid changes: Cannot change custom type value.","API_CHANGE_INCOMPATIBLE_32":"Forbid changes: Cannot expand the range of custom type.","API_CHANGE_INCOMPATIBLE_33":"Forbid changes: Cannot reduce the range of custom type.","API_CHANGE_INCOMPATIBLE_34":"Forbid changes: Cannot change Enumeration assignment.","API_CHANGE_INCOMPATIBLE_35":"Forbid changes: Historical JSDoc cannot be changed.","API_CHANGE_INCOMPATIBLE_36":"Forbid changes: API changes must add a new section of JSDoc.","API_CHANGE_INCOMPATIBLE_37":"Forbid changes: Cannot change from atomicservice to NA.","API_CHANGE_INCOMPATIBLE_38":"Forbid changes: Cannot change from NA to syscap.","API_CHANGE_INCOMPATIBLE_39":"Forbid changes: Cannot change from syscap to NA.","API_CHANGE_INCOMPATIBLE_40":"Forbid changes: Cannot change syscap value.","API_CHANGE_INCOMPATIBLE_41":"Forbid changes: Cannot add new property to interface API."}}')},98768:e=>{"use strict";e.exports=JSON.parse('{"ApiCheckVersion":13,"ApiMaxVersion":13}')},54732:e=>{"use strict";e.exports=JSON.parse('{"dictionariesArr":["a","aa","aaa","aaaa","aaaaa","aab","aac","aachen","aad","aapl","aapt","aar","aardvark","aaren","aarhus","aarika","aaron","ab","aba","aback","abacus","abaft","abagael","abagail","abalone","abandon","abandoned","abandoner","abandonment","abase","abasement","abaser","abash","abashed","abashment","abate","abated","abatement","abater","abattoir","abb","abba","abbe","abbess","abbey","abbi","abbie","abbot","abbott","abbr","abbrev","abbreviate","abbreviated","abbreviates","abbreviating","abbreviation","abby","abbye","abc","abcd","abcde","abcdef","abcdefghijklmnopqrstuvwxyz","abd","abdel","abdicate","abdication","abdomen","abdominal","abduct","abduction","abductor","abdul","abe","abeam","abel","abelard","abelson","aberdeen","abernathy","aberrant","aberration","aberrational","abet","abetted","abetting","abettor","abeu","abey","abeyance","abeyant","abhor","abhorred","abhorrence","abhorrent","abhorrer","abhorring","abi","abidance","abide","abider","abiding","abidjan","abie","abigael","abigail","abigale","abilene","abilities","ability","abject","abjection","abjectness","abjuration","abjuratory","abjure","abjurer","ablate","ablation","ablative","ablaze","able","abler","ables","ablest","abloom","ablution","abm","abnegate","abnegation","abner","abnormal","abnormality","abo","aboard","abode","abolish","abolisher","abolishment","abolition","abolitionism","abolitionist","abominable","abominably","abominate","abomination","aboriginal","aborigine","aborning","abort","aborted","aborting","abortion","abortionist","abortive","abortiveness","abound","about","above","aboveboard","aboveground","abra","abracadabra","abrade","abrader","abraham","abrahan","abram","abramo","abramson","abran","abrasion","abrasive","abrasiveness","abreaction","abreast","abridge","abridged","abridger","abridgment","abroad","abrogate","abrogation","abrogator","abrupt","abruptness","abs","abscess","abscissa","abscission","abscond","absconder","abseil","absence","absent","absentee","absenteeism","absentia","absentminded","absentmindedness","absinthe","abslistview","absolute","absolutely","absoluteness","absolution","absolutism","absolutist","absolve","absolver","absorb","absorbed","absorbency","absorbent","absorber","absorbing","absorption","absorptive","absorptivity","abspath","abstain","abstainer","abstemious","abstemiousness","abstention","abstinence","abstinent","abstract","abstractapplicationcontext","abstractautowirecapablebeanfactory","abstractbeanfactory","abstractchannelhandlercontext","abstracted","abstractedness","abstracter","abstracthttp","abstraction","abstractionism","abstractionist","abstractions","abstractness","abstractor","abstractplainsocketimpl","abstractprotocol","abstruse","abstruseness","absurd","absurdity","absurdness","abuja","abundance","abundant","abuse","abused","abuser","abuses","abusing","abusive","abusiveness","abut","abutment","abutted","abutter","abutting","abuzz","abysmal","abyss","abyssal","abyssinia","abyssinian","ac","acacia","academe","academia","academic","academical","academician","academicianship","academy","acadia","acanthus","acapulco","acc","accdb","accede","accelerate","accelerated","accelerating","acceleration","accelerator","accelerometer","accent","accented","accentual","accentuate","accentuation","accept","acceptability","acceptable","acceptableness","acceptably","acceptance","acceptant","acceptation","accepted","accepter","accepting","acceptor","accepts","acces","access","accesscontroller","accessed","accesses","accessibility","accessible","accessibly","accessing","accession","accesslogvalve","accessor","accessories","accessors","accessory","accesstoken","accidence","accident","accidental","accidentally","accidentalness","acclaim","acclaimer","acclamation","acclimate","acclimation","acclimatisation","acclimatise","acclimatization","acclimatize","acclimatized","acclimatizes","acclivity","accolade","accommodate","accommodated","accommodating","accommodation","accommodative","accommodativeness","accompanied","accompanier","accompaniment","accompanist","accompany","accomplice","accomplish","accomplished","accomplisher","accomplishing","accomplishment","accord","accordance","accordant","accorder","according","accordingly","accordion","accordionist","accost","account","accountability","accountable","accountableness","accountably","accountancy","accountant","accounted","accountid","accounting","accountname","accountnumber","accounts","accounttype","accouter","accouterment","accouterments","accoutrement","accra","accredit","accreditation","accredited","accretion","accrual","accrue","acct","acculturate","acculturation","accumsan","accumulate","accumulated","accumulation","accumulative","accumulativeness","accumulator","accuracy","accurate","accurately","accurateness","accursed","accursedness","accusal","accusation","accusative","accusatory","accuse","accused","accuser","accusing","accustom","accustomed","accustomedness","acd","ace","aced","acerbate","acerbic","acerbically","acerbity","acetaminophen","acetate","acetic","acetone","acetonic","acetylene","acevedo","acf","achaean","ache","achebe","ached","achene","achernar","aches","acheson","achievable","achieve","achieved","achievement","achievements","achiever","achieving","achilles","aching","achive","achoo","achromatic","achy","acid","acidic","acidification","acidify","acidity","acidness","acidoses","acidosis","acidulous","acing","ack","ackerman","acknowledge","acknowledgeable","acknowledged","acknowledgedly","acknowledger","acknowledgment","acl","aclass","aclu","acm","acme","acne","acolyte","aconcagua","aconite","acorn","acosta","acoustic","acoustical","acoustician","acoustics","acquaint","acquaintance","acquaintanceship","acquainted","acquiesce","acquiescence","acquiescent","acquirable","acquire","acquired","acquirement","acquiring","acquisition","acquisitive","acquisitiveness","acquit","acquittal","acquittance","acquitted","acquitter","acquitting","acre","acreage","acrid","acridity","acridness","acrimonious","acrimoniousness","acrimony","acrobat","acrobatic","acrobatically","acrobatics","acronym","acrophobia","acropolis","across","acrostic","acrux","acrylate","acrylic","acs","act","acta","actaeon","acth","acting","actinic","actinide","actinium","actinometer","action","actionbar","actionbaractivity","actionbardrawertoggle","actionbarsherlock","actionbarsize","actionbutton","actioncontroller","actionevent","actionlink","actionlistener","actionname","actionpack","actionperformed","actionresult","actions","actionscript","actionview","activate","activated","activatedroute","activating","activation","activator","active","activeadmin","activecell","activedocument","actively","activemodel","activemq","activeness","activerecord","actives","activesheet","activesupport","activewindow","activeworkbook","activex","activexobject","activism","activist","activities","activity","activitycompat","activityindicator","activitymanager","activitythread","acton","actor","actors","actress","acts","actual","actuality","actualization","actualize","actualizes","actually","actualwidth","actuarial","actuary","actuate","actuation","actuator","acuity","acumen","acupressure","acupuncture","acupuncturist","acute","acuteness","acyclic","acyclically","acyclovir","ad","ada","adage","adagio","adah","adair","adaline","adam","adamant","adamo","adamson","adan","adana","adapt","adaptability","adaptable","adaptation","adapted","adaptedness","adapter","adapters","adapterview","adapting","adaption","adaptive","adaptively","adaptiveness","adaptivity","adaptor","adara","adata","adb","adc","add","adda","addaction","addactionlistener","addall","addams","addattribute","addbutton","addcell","addchild","addclass","addcolumn","addcomponent","adddays","added","addelement","addend","addenda","addendum","adder","addevent","addeventlistener","addflags","addgesturerecognizer","addgroup","addhandler","addheader","addi","addia","addict","addiction","addictive","addie","addin","adding","addison","additem","addition","additional","additionally","additions","additive","additivity","addle","addlistener","addmarker","addobject","addobserver","addon","addons","addproperty","addr","addrange","address","addressability","addressable","addressbook","addressed","addressee","addresser","addresses","addressid","addressing","addressline","addressof","addressograph","addrow","adds","addslashes","addsubview","addtab","addtarget","addtextchangedlistener","addto","addtobackstack","addtype","adduce","adducer","adduct","adduction","adductor","adduser","addvalue","addview","addwidget","addwithvalue","addy","ade","adecoder","adel","adela","adelaida","adelaide","adelbert","adele","adelheid","adelice","adelina","adelind","adeline","adella","adelle","aden","adena","adenauer","adenine","adenoid","adenoidal","adept","adeptness","adequacy","adequate","adequateness","adey","adf","adfs","adham","adhara","adhere","adherence","adherent","adherer","adhesion","adhesive","adhesiveness","adi","adiabatic","adiabatically","adiana","adidas","adieu","adina","adipiscing","adipisicing","adipose","adirondack","adis","adj","adjacency","adjacent","adjectival","adjective","adjoin","adjoint","adjourn","adjournment","adjudge","adjudicate","adjudication","adjudicator","adjudicatory","adjunct","adjuration","adjure","adjust","adjustable","adjustably","adjusted","adjuster","adjusting","adjustive","adjustment","adjustments","adjustor","adjutant","adkins","adlai","adler","adm","adman","admen","admin","adminhtml","administer","administrable","administrate","administration","administrative","administrator","administrators","administratrix","admins","admirable","admirableness","admirably","admiral","admiralty","admiration","admire","admirer","admiring","admissibility","admissible","admissibly","admission","admit","admittance","admitted","admittedly","admitting","admix","admixture","admob","admonish","admonisher","admonishing","admonishment","admonition","admonitory","ado","adobe","adodb","adolescence","adolescent","adolf","adolfo","adolph","adolphe","adolpho","adolphus","adonis","adopt","adopted","adopter","adoption","adoptive","adopts","adora","adorable","adorableness","adorably","adoration","adore","adoree","adorer","adoring","adorn","adorne","adorned","adornment","adp","adr","adrea","adrenal","adrenalin","adrenaline","adrequest","adress","adresse","adria","adrian","adriana","adriane","adrianna","adrianne","adriano","adriatic","adrien","adriena","adrienne","adrift","adroit","adroitness","ads","adsense","adsorb","adsorbate","adsorbent","adsorption","adsorptive","adt","adulate","adulation","adulator","adulatory","adult","adulterant","adulterate","adulterated","adulteration","adulterer","adulteress","adulterous","adultery","adulthood","adultness","adults","adumbrate","adumbration","adumbrative","adv","advance","advanced","advancement","advancer","advances","advantage","advantageous","advantageousness","advantages","advent","adventist","adventitious","adventitiousness","adventive","adventure","adventurer","adventuresome","adventuress","adventurous","adventurousness","adverb","adverbial","adversarial","adversary","adverse","adverseness","adversity","advert","advertise","advertised","advertisement","advertiser","advertisers","advertising","advertorial","advice","advices","adview","advil","advisability","advisable","advisableness","advisably","advise","advised","advisedly","advisee","advisement","adviser","advisor","advisory","advocacy","advocate","advocation","advt","adwords","adz","adze","ae","aegean","aegis","aelfric","aenean","aeneas","aeneid","aeolian","aeolus","aeon","aerate","aeration","aerator","aerial","aerialist","aerie","aeriel","aeriela","aeriell","aeroacoustic","aerobatic","aerobic","aerobically","aerodrome","aerodynamic","aerodynamically","aerodynamics","aeronautic","aeronautical","aeronautics","aerosol","aerosolize","aerospace","aes","aeschylus","aesculapius","aesop","aesthete","aesthetic","aesthetically","aestheticism","aesthetics","aether","aetiology","af","afaik","afar","afb","afc","afd","afdc","aff","affability","affable","affably","affair","affect","affectation","affected","affectedness","affecter","affecting","affection","affectionate","affectioned","affectioning","affective","affects","afferent","affiance","affidavit","affiliate","affiliated","affiliation","affine","affinity","affirm","affirmation","affirmative","affix","afflatus","afflict","affliction","afflictive","affluence","affluent","afford","affordable","afforest","afforestation","afforested","afforesting","afforests","affray","affricate","affrication","affricative","affright","affront","afghan","afghani","afghanistan","aficionado","afield","afire","aflame","afloat","aflutter","afnetworking","afoot","afore","aforementioned","aforesaid","aforethought","afoul","afr","afraid","afresh","africa","african","afrikaans","afrikaner","afro","afrocentric","afrocentrism","aft","after","afterbirth","afterbirths","afterburner","aftercare","aftereffect","afterglow","afterimage","afterlife","afterlives","aftermath","aftermaths","aftermost","afternoon","afters","aftershave","aftershock","aftertaste","aftertextchanged","afterthought","afterward","afterwards","afterworld","afton","ag","agace","again","against","agamemnon","agapae","agape","agar","agassiz","agata","agate","agatha","agathe","agave","age","aged","agedness","ageism","ageist","ageless","agelessness","agencies","agency","agenda","agent","agented","agenting","agentive","agents","ageratum","ages","agg","aggi","aggie","agglomerate","agglomeration","agglutinate","agglutination","agglutinin","aggrandize","aggrandizement","aggravate","aggravating","aggravation","aggregate","aggregated","aggregately","aggregateness","aggregates","aggregation","aggregations","aggregative","aggregator","aggression","aggressive","aggressively","aggressiveness","aggressor","aggrieve","aggrieved","aggy","aghast","agile","agility","agitate","agitated","agitation","agitator","agitprop","aglaia","agleam","aglitter","aglow","agna","agnella","agnes","agnese","agnesse","agneta","agnew","agni","agnola","agnostic","agnosticism","ago","agog","agonize","agonized","agonizedly","agonizing","agony","agoraphobia","agoraphobic","agosto","agra","agrarian","agrarianism","agree","agreeable","agreeableness","agreeably","agreed","agreeing","agreement","agreements","agreer","agretha","agribusiness","agricola","agricultural","agriculturalist","agriculture","agriculturist","agrippa","agrippina","agrochemicals","agronomic","agronomist","agronomy","aground","aguascalientes","ague","aguie","aguilar","aguinaldo","aguirre","aguistin","aguste","agustin","ah","aha","ahab","aharon","ahead","ahem","ahmad","ahmadabad","ahmed","ahoy","ahriman","ai","aid","aida","aidan","aide","aided","aider","aids","aigneis","aigrette","aiken","ail","aila","ailbert","aile","ailee","aileen","ailene","aileron","ailey","aili","ailina","ailment","ailsun","ailyn","aim","aime","aimed","aimee","aimer","aimil","aiming","aimless","aimlessness","aims","ain","aindrea","ainslee","ainsley","ainslie","ainu","air","airbag","airbase","airbnb","airborne","airbrush","airbus","aircraft","aircrew","airdrop","airdropped","airdropping","airedale","aires","airfare","airfield","airflow","airfoil","airframe","airfreight","airhead","airily","airiness","airing","airless","airlessness","airlift","airline","airliner","airlock","airmail","airman","airmass","airmen","airpark","airplane","airplay","airport","airship","airsick","airsickness","airspace","airspeed","airstrip","airtight","airtightness","airtime","airwaves","airway","airworthiness","airworthy","airy","aisha","aisle","aitch","aj","ajar","ajax","ajaxoptions","ajay","ajp","ak","aka","akbar","akihito","akim","akimbo","akin","akita","akka","akkad","akron","aksel","al","ala","alabama","alabaman","alabamian","alabaster","alack","alacrity","aladdin","alain","alaine","alair","alameda","alamo","alamofire","alamogordo","alan","alana","alanah","aland","alane","alanine","alanna","alano","alanson","alar","alard","alaric","alarm","alarming","alarmist","alarmmanager","alarms","alas","alasdair","alaska","alaskan","alastair","alasteir","alaster","alayne","alb","alba","albacore","albania","albanian","albany","albatross","albedo","albee","albeit","alberich","alberik","alberio","albert","alberta","albertan","albertina","albertine","alberto","albie","albigensian","albina","albinism","albino","albion","albireo","albrecht","album","albumen","albumin","albuminous","albums","albuquerque","alcatraz","alcestis","alchemical","alchemist","alchemy","alcibiades","alcmena","alcoa","alcohol","alcoholic","alcoholically","alcoholism","alcott","alcove","alcuin","alcyone","aldan","aldebaran","aldehyde","alden","alder","alderamin","alderman","aldermen","alderwoman","alderwomen","aldin","aldis","aldo","aldon","aldous","aldric","aldrich","aldridge","aldrin","aldus","aldwin","ale","aleatory","alec","alecia","aleck","aleda","alee","aleece","aleen","alehouse","aleichem","alejandra","alejandrina","alejandro","alejoa","aleksandr","alembert","alembic","alena","alene","aleph","aleppo","aler","alert","alertcontroller","alertdialog","alerted","alertness","alerts","alertview","alessandra","alessandro","aleta","alethea","aleut","aleutian","alewife","alewives","alex","alexa","alexander","alexandr","alexandra","alexandre","alexandria","alexandrian","alexandrina","alexandro","alexei","alexi","alexia","alexina","alexine","alexio","alf","alfa","alfalfa","alfi","alfie","alfons","alfonse","alfonso","alfonzo","alford","alfred","alfreda","alfredo","alfresco","alfy","alg","alga","algae","algaecide","algal","algebra","algebraic","algebraical","algebraist","algenib","alger","algeria","algerian","algernon","algieba","algiers","alginate","algo","algol","algonquian","algonquin","algorithm","algorithmic","algorithmically","algorithms","alhambra","alhena","ali","alia","alias","aliased","aliases","aliasing","alibi","alic","alica","alice","alicea","alicia","alick","alida","alidia","alie","alien","alienable","alienate","alienation","alienist","alighieri","alight","align","aligned","aligner","alignleft","alignment","alignparentbottom","alignparentleft","alignparentright","alignparentstart","alignparenttop","alika","alike","alikee","alikeness","aliment","alimentary","alimony","alina","aline","alinement","alioth","aliqua","aliquam","aliquet","aliquip","aliquot","alisa","alisander","alisha","alison","alissa","alist","alistair","alister","alisun","alive","aliveness","alix","aliyah","aliyahs","aliza","alkaid","alkali","alkalies","alkaline","alkalinity","alkalize","alkaloid","alkyd","alkyl","all","alla","allah","allahabad","allan","allard","allay","allayne","alldata","alleen","allegation","allege","alleged","allegheny","allegiance","allegiant","allegoric","allegorical","allegoricalness","allegorist","allegory","allegra","allegretto","allegri","allegro","allele","alleluia","allemande","allen","allendale","allende","allene","allentown","allergen","allergenic","allergic","allergically","allergist","allergy","alleviate","alleviation","alleviator","alley","alleyn","alleyway","allhallows","alli","alliance","allianora","allie","allier","allies","alligator","allin","allina","allison","allissa","allister","allistir","alliterate","alliteration","alliterative","allix","alloc","allocable","allocatable","allocate","allocated","allocates","allocating","allocation","allocations","allocative","allocator","allophone","allophonic","allot","allotment","allotments","allotrope","allotropic","allots","allotted","allotter","allotting","allover","allow","allowable","allowableness","allowably","allowance","allowbackup","allowed","allowfullscreen","allowget","allowing","allowoverride","allows","alloy","alloyed","allspice","allstate","allsun","allude","allure","allurement","alluring","allusion","allusive","allusiveness","alluvial","alluvions","alluvium","allx","ally","allyce","allyn","allys","allyson","alma","almach","almaden","almagest","almanac","almaty","almeda","almeria","almeta","almightiness","almighty","almira","almire","almond","almoner","almost","alms","almshouse","almsman","alnico","alnilam","alnitak","aloe","aloft","aloha","aloin","aloise","aloisia","alon","alone","aloneness","along","alongshore","alongside","alonso","alonzo","aloof","aloofness","alot","aloud","aloysia","aloysius","alp","alpaca","alpert","alpha","alphabet","alphabetic","alphabetical","alphabetically","alphabetization","alphabetize","alphabetizer","alphabets","alphanumeric","alphanumerical","alphard","alphecca","alpheratz","alphonse","alphonso","alpine","alps","already","alric","alright","alsace","alsatian","also","alsop","alston","alt","alta","altai","altaic","altair","altar","altarpiece","alter","alterable","alteration","altercate","altercation","altered","altering","alternate","alternately","alternation","alternative","alternatively","alternativeness","alternatives","alternator","althea","although","altimeter","altiplano","altitude","alto","altogether","alton","altos","altruism","altruist","altruistic","altruistically","alu","aludra","aluin","aluino","alum","alumina","aluminum","alumna","alumnae","alumni","alumnus","alundum","alva","alvan","alvarado","alvarez","alvaro","alveolar","alveoli","alveolus","alvera","alverta","alvie","alvin","alvina","alvinia","alvira","alvis","alvy","alway","always","alwin","alwyn","alyce","alyda","alyosha","alys","alysa","alyse","alysia","alyson","alyss","alyssa","alzheimer","am","ama","amabel","amabelle","amadeus","amado","amain","amalea","amalee","amaleta","amalgam","amalgamate","amalgamation","amalia","amalie","amalita","amalle","amanda","amandi","amandie","amandy","amanuenses","amanuensis","amara","amaranth","amaranths","amaretto","amargo","amarillo","amaryllis","amass","amasser","amata","amateur","amateurish","amateurishness","amateurism","amati","amatory","amaze","amazed","amazement","amazing","amazon","amazonaws","amazonian","amazons","ambassador","ambassadorial","ambassadorship","ambassadress","amber","ambergris","amberly","ambiance","ambidexterity","ambidextrous","ambience","ambient","ambiguity","ambiguous","ambiguously","ambiguousness","ambit","ambition","ambitious","ambitiousness","ambivalence","ambivalent","amble","ambler","ambros","ambrose","ambrosi","ambrosia","ambrosial","ambrosio","ambrosius","ambulance","ambulant","ambulate","ambulation","ambulatory","ambur","ambuscade","ambuscader","ambush","ambusher","amby","amcharts","amd","amdahl","ame","ameba","amelia","amelie","amelina","ameline","ameliorate","amelioration","amelita","amen","amenability","amenably","amend","amended","amender","amendment","amends","amenhotep","amenity","amenorrhea","amer","amerada","amerasian","amerce","amercement","america","american","americana","americanism","americanization","americanize","americanized","americans","americium","amerigo","amerind","amerindian","amery","ameslan","amet","amethyst","amethystine","amharic","amherst","ami","amiability","amiable","amiableness","amiably","amicability","amicable","amicableness","amicably","amid","amide","amidships","amidst","amie","amiga","amigo","amii","amil","amines","amino","aminobenzoic","amir","amish","amiss","amitie","amity","ammamaria","amman","ammerman","ammeter","ammo","ammonia","ammoniac","ammonium","ammunition","amnesia","amnesiac","amnesic","amnesty","amniocenteses","amniocentesis","amnion","amniotic","amoco","amoeba","amoebic","amoeboid","amok","among","amongst","amontillado","amoral","amorality","amorous","amorousness","amorphous","amorphousness","amortization","amortize","amortized","amory","amos","amount","amounts","amour","amp","amparo","amperage","ampere","ampersand","ampex","amphetamine","amphibian","amphibious","amphibiousness","amphibology","amphitheater","amphora","amphorae","ample","ampleness","amplification","amplifier","amplify","amplitude","ampoule","ampule","amputate","amputation","amputee","amqp","amritsar","ams","amsterdam","amt","amtrak","amuck","amulet","amundsen","amur","amuse","amused","amusement","amuser","amusing","amusingness","amway","amy","amye","amyl","amylase","amz","amzn","an","ana","anabal","anabaptist","anabel","anabella","anabelle","anabolic","anabolism","anachronism","anachronistic","anachronistically","anacin","anaconda","anacreon","anaerobe","anaerobic","anaerobically","anaglyph","anagram","anagrammatic","anagrammatically","anagrammed","anagramming","anaheim","anal","analects","analgesia","analgesic","analiese","analise","anallese","anallise","analog","analogical","analogize","analogous","analogousness","analogue","analogy","analysand","analyse","analyses","analysis","analyst","analytic","analytical","analyticity","analytics","analyzable","analyze","analyzed","analyzer","analyzing","anamorphic","ananias","anapaest","anapest","anapestic","anaphora","anaphoric","anaphorically","anaplasmosis","anarchic","anarchical","anarchism","anarchist","anarchistic","anarchy","anastasia","anastasie","anastassia","anastigmatic","anastomoses","anastomosis","anastomotic","anathema","anathematize","anatol","anatola","anatole","anatolia","anatolian","anatollo","anatomic","anatomical","anatomist","anatomize","anatomy","anaxagoras","ancell","ancestor","ancestors","ancestortype","ancestral","ancestress","ancestry","anchor","anchorage","anchored","anchorite","anchoritism","anchorman","anchormen","anchorpane","anchorpeople","anchorperson","anchors","anchorwoman","anchorwomen","anchovy","ancient","ancientness","ancillary","and","andalso","andalusia","andalusian","andaman","andante","andean","andee","andeee","anderea","anders","andersen","anderson","andes","andi","andie","andiron","andonis","andorra","andover","andra","andre","andrea","andreana","andree","andrei","andrej","andrew","andrey","andria","andriana","andriette","andris","androgen","androgenic","androgynous","androgyny","andromache","andromeda","andropov","andros","andrus","andy","anecdotal","anecdote","anechoic","anemia","anemic","anemically","anemometer","anemometry","anemone","anent","aneroid","anestassia","anesthesia","anesthesiologist","anesthesiology","anesthetic","anesthetically","anesthetist","anesthetization","anesthetize","anesthetizer","anet","anett","anetta","anette","aneurysm","anew","ang","angara","ange","angel","angela","angele","angeleno","angeles","angelfish","angeli","angelia","angelic","angelica","angelical","angelico","angelika","angelina","angeline","angelique","angelita","angelle","angelo","angelou","anger","angevin","angie","angil","angina","angiography","angioplasty","angiosperm","angkor","angle","angler","angles","angleworm","anglia","anglican","anglicanism","anglicism","anglicization","anglicize","angling","anglo","anglophile","anglophilia","anglophobe","anglophobia","angola","angolan","angora","angrily","angriness","angry","angst","angstrom","anguilla","anguish","angular","angularfire","angularity","angularjs","angus","angy","anheuser","anhydride","anhydrite","anhydrous","ania","aniakchak","anibal","anica","aniline","anim","animadversion","animadvert","animal","animalcule","animals","animate","animated","animatedly","animately","animateness","animates","animatewithduration","animating","animation","animations","animator","animism","animist","animistic","animized","animosity","animus","anion","anionic","anise","aniseed","aniseikonic","anisette","anisotropic","anisotropy","anissa","anita","anitra","anjanette","anjela","ankara","ankh","ankhs","ankle","anklebone","anklet","ann","anna","annabal","annabel","annabela","annabell","annabella","annabelle","annadiana","annadiane","annal","annalee","annaliese","annalise","annalist","annamaria","annamarie","annapolis","annapurna","anne","anneal","annealer","annecorinne","annelid","anneliese","annelise","annemarie","annetta","annette","annex","annexation","annexe","anni","annice","annie","annihilate","annihilation","annihilator","annissa","anniversary","annmaria","annmarie","annnora","annora","annotate","annotated","annotation","annotations","annotator","announce","announced","announcement","announcements","announcer","annoy","annoyance","annoyed","annoyer","annoying","annual","annualized","annuitant","annuity","annul","annular","annuli","annulled","annulling","annulment","annulus","annum","annunciate","annunciation","annunciator","anny","anode","anodic","anodize","anodyne","anoint","anointer","anointment","anomalous","anomalousness","anomaly","anomic","anomie","anon","anonfun","anonymity","anonymous","anonymousness","anopheles","anorak","anorectic","anorexia","anorexic","another","anouilh","ans","ansel","ansell","anselm","anselma","anselmo","anshan","ansi","ansible","ansley","anson","anstice","answer","answerable","answered","answerer","answering","answers","ant","antacid","antaeus","antagonism","antagonist","antagonistic","antagonistically","antagonize","antagonized","antagonizing","antananarivo","antarctic","antarctica","antares","ante","anteater","antebellum","antecedence","antecedent","antechamber","antedate","antediluvian","anteing","antelope","antenatal","antenna","antennae","anterior","anteroom","anthe","anthea","anthem","anther","anthia","anthiathia","anthill","anthologist","anthologize","anthology","anthony","anthraces","anthracite","anthrax","anthropic","anthropocentric","anthropogenic","anthropoid","anthropological","anthropologist","anthropology","anthropometric","anthropometry","anthropomorphic","anthropomorphically","anthropomorphism","anthropomorphizing","anthropomorphous","anti","antiabortion","antiabortionist","antiaircraft","antibacterial","antibiotic","antibody","antic","anticancer","antichrist","anticipate","anticipated","anticipation","anticipative","anticipatory","anticked","anticking","anticlerical","anticlimactic","anticlimactically","anticlimax","anticline","anticlockwise","anticoagulant","anticoagulation","anticommunism","anticommunist","anticompetitive","anticyclone","anticyclonic","antidemocratic","antidepressant","antidisestablishmentarianism","antidote","antietam","antifascist","antiformant","antifreeze","antifundamentalist","antigen","antigenic","antigenicity","antigone","antigua","antihero","antiheroes","antihistamine","antihistorical","antiknock","antilabor","antillean","antilles","antilogarithm","antilogs","antimacassar","antimalarial","antimatter","antimicrobial","antimissile","antimony","antin","anting","antinomian","antinomy","antinuclear","antioch","antioxidant","antiparticle","antipas","antipasti","antipasto","antipathetic","antipathy","antipersonnel","antiperspirant","antiphon","antiphonal","antipodal","antipode","antipodean","antipodes","antipollution","antipoverty","antiquarian","antiquarianism","antiquary","antiquate","antiquation","antique","antiquity","antiredeposition","antiresonance","antiresonator","antisemitic","antisemitism","antisepses","antisepsis","antiseptic","antiseptically","antiserum","antislavery","antisocial","antispasmodic","antisubmarine","antisymmetric","antisymmetry","antitank","antitheses","antithesis","antithetic","antithetical","antithyroid","antitoxin","antitrust","antivenin","antiviral","antivivisectionist","antiwar","antler","antlr","antmatchers","antofagasta","antoine","antoinette","anton","antone","antonella","antonetta","antoni","antonia","antonie","antonietta","antonin","antonina","antonino","antoninus","antonio","antonius","antonovics","antony","antonym","antonymous","antral","antsy","antwan","antwerp","anubis","anus","anvil","anxiety","anxious","anxiousness","any","anya","anybody","anyhow","anymore","anyobject","anyone","anyplace","anything","anytime","anyway","anyways","anywhere","anywise","ao","aol","aop","aorta","aortic","aot","ap","apace","apache","apalachicola","apart","apartheid","apartment","apartness","apathetic","apathetically","apathy","apatite","apb","apc","ape","aped","apelike","apennines","aper","aperiodic","aperiodically","aperiodicity","aperitif","aperture","apex","aphasia","aphasic","aphelia","aphelion","aphid","aphonic","aphorism","aphoristic","aphoristically","aphrodisiac","aphrodite","api","apia","apiarist","apiary","apical","apices","apiclient","apicontroller","apidocs","apiece","apikey","apis","apiservice","apish","apishness","apiurl","apiversion","apk","apl","aplenty","aplomb","apns","apo","apocalypse","apocalyptic","apocrypha","apocryphal","apocryphalness","apogee","apolar","apolitical","apollinaire","apollo","apollonian","apologetic","apologetically","apologetics","apologia","apologies","apologist","apologize","apologizer","apologizes","apologizing","apology","apoplectic","apoplexy","apos","apostasy","apostate","apostatize","apostle","apostleship","apostolic","apostrophe","apostrophized","apothecary","apothegm","apotheoses","apotheosis","apotheosized","apotheosizes","apotheosizing","app","appalachia","appalachian","appall","appalling","appaloosa","appanage","apparatus","apparel","apparency","apparent","apparently","apparentness","apparition","appbar","appbarlayout","appbundle","appcelerator","appclassloader","appcompat","appcompatactivity","appcomponent","appconfig","appcontext","appcontroller","appdata","appdelegate","appdomain","appeal","appealer","appealing","appear","appearance","appeared","appearer","appearing","appears","appease","appeased","appeasement","appeaser","appellant","appellate","appellation","appellative","append","appendage","appendchild","appenddata","appendectomy","appended","appender","appendices","appendicitis","appending","appendix","appendline","appends","appendtext","appendto","appengine","appertain","appetite","appetizer","appetizing","appia","appian","appid","appium","appkit","applaud","applauder","applause","apple","applecart","applejack","apples","applesauce","applescript","appleseed","applet","appleton","applewebkit","appliance","applicabilities","applicability","applicable","applicably","applicant","applicants","applicate","application","applicationcontext","applicationcontroller","applicationdbcontext","applicationdispatcher","applicationfilterchain","applicationid","applicationname","applicationrecord","applications","applicationuser","applicative","applicator","applied","applier","applies","appliqu","appliqud","apply","applybindings","applying","appmodule","appname","appoint","appointee","appointer","appointive","appointment","appointments","appolonia","appomattox","apportion","apportionment","appose","apposite","appositeness","apposition","appositive","appraisal","appraise","appraised","appraisees","appraiser","appraises","appraising","appreciable","appreciably","appreciate","appreciated","appreciation","appreciative","appreciativeness","appreciator","appreciatory","apprehend","apprehender","apprehensible","apprehension","apprehensive","apprehensiveness","apprentice","apprenticeship","apprise","apprizer","apprizingly","apprizings","approach","approachability","approachable","approacher","approaches","approaching","approbate","approbation","appropriable","appropriate","appropriated","appropriately","appropriateness","appropriation","appropriator","approval","approve","approved","approver","approving","approx","approximate","approximately","approximation","approximative","apps","appserver","appsettings","appspot","appstore","apptheme","appurtenance","appurtenant","appwidgetmanager","apr","apricot","april","aprilette","apron","apropos","aps","apse","apsis","apt","aptana","apter","aptest","aptitude","aptness","apuleius","aq","aqua","aquaculture","aqualung","aquamarine","aquanaut","aquaplane","aquarium","aquarius","aquatic","aquatically","aquavit","aqueduct","aqueous","aquiculture","aquifer","aquila","aquiline","aquinas","aquino","aquitaine","ar","ara","arab","arabel","arabela","arabele","arabella","arabelle","arabesque","arabia","arabian","arabic","arability","arabist","arable","araby","araceli","arachnid","arachnoid","arachnophobia","arafat","araguaya","aral","araldo","aramaic","aramco","arange","arapaho","arapahoe","arapahoes","ararat","araucanian","arawak","arawakan","arb","arbiter","arbitrage","arbitrager","arbitrageur","arbitrament","arbitrarily","arbitrariness","arbitrary","arbitrate","arbitration","arbitrator","arbor","arboreal","arbores","arboretum","arborvitae","arbutus","arc","arcade","arcadia","arcadian","arcana","arcane","arcgis","arch","archaeological","archaeologist","archaic","archaically","archaimbaud","archaism","archaist","archaize","archaizer","archambault","archangel","archbishop","archbishopric","archdeacon","archdiocesan","archdiocese","archduchess","archduke","archean","archenemy","archeologist","archeology","archer","archery","archetypal","archetype","archfiend","archfool","archibald","archibaldo","archibold","archie","archiepiscopal","archimedes","arching","archipelago","architect","architectonic","architectonics","architectural","architecture","architectures","architrave","archival","archive","archived","archives","archivist","archness","archway","archy","arclike","arco","arcsine","arctangent","arctic","arcturus","arcu","arda","ardabil","ardath","ardeen","ardelia","ardelis","ardella","ardelle","arden","ardency","ardene","ardenia","ardent","ardine","ardis","ardisj","ardith","ardor","ardra","arduino","arduous","arduousness","ardyce","ardys","ardyth","are","area","areal","areas","areawide","areequal","arel","aren","arena","arenaceous","arequipa","ares","aretha","arg","argb","argc","argent","argentina","argentine","argentinean","argentinian","arginine","argmax","argo","argon","argonaut","argonne","argosy","argot","argparse","args","arguable","arguably","argue","arguer","arguing","argument","argumentation","argumentative","argumentativeness","argumentexception","argumentnullexception","arguments","argus","argv","argyle","ari","aria","ariadne","arial","ariana","arianism","arianist","arid","aridatha","aridity","aridness","arie","ariel","ariela","ariella","arielle","aries","aright","arin","ario","ariosto","arise","arisen","arises","aristarchus","aristides","aristocracy","aristocrat","aristocratic","aristocratically","aristophanes","aristotelean","aristotelian","aristotle","arithmetic","arithmetical","arithmetician","arithmetize","arius","ariz","arizona","arizonan","arizonian","arjuna","ark","ark","arkansan","arkansas","arkhangelsk","arkwright","arlan","arlana","arlee","arleen","arlen","arlena","arlene","arleta","arlette","arley","arleyne","arlie","arliene","arlin","arlina","arlinda","arline","arlington","arluene","arly","arlyn","arlyne","arm","armada","armadillo","armageddon","armagnac","armament","arman","armand","armando","armata","armature","armband","armchair","armco","armeabi","armed","armenia","armenian","armer","armful","armhole","armin","arming","arminius","armistice","armless","armlet","armload","armonk","armor","armored","armorer","armorial","armory","armour","armpit","armrest","arms","armstrong","armv","army","arn","arnaldo","arne","arneb","arney","arnhem","arni","arnie","arno","arnold","arnoldo","arnuad","arnulfo","arny","aroma","aromatherapist","aromatherapy","aromatic","aromatically","aromaticity","aromaticness","aron","arose","around","arousal","arouse","aroused","arp","arpa","arpanet","arpeggio","arquillian","arr","arrack","arragon","arraign","arraignment","arrange","arrangeable","arranged","arrangement","arranger","arranges","arranging","arrant","arras","array","arrayadapter","arraybuffer","arraycollection","arraycopy","arrayer","arrayindexoutofboundsexception","arraylist","arrays","arraysize","arraywithobjects","arrear","arrest","arrestee","arrester","arresting","arrestor","arrhenius","arrhythmia","arrhythmic","arrhythmical","arri","arrival","arrive","arrived","arriver","arrives","arrogance","arrogant","arrogate","arrogation","arron","arrow","arrowhead","arrowroot","arrows","arroyo","arsenal","arsenate","arsenic","arsenide","arsine","arson","arsonist","art","artair","artaxerxes","arte","artefact","artemas","artemis","artemus","arterial","arteriolar","arteriole","arterioscleroses","arteriosclerosis","artery","artesian","artful","artfulness","arther","arthritic","arthritides","arthritis","arthrogram","arthropod","arthroscope","arthroscopic","arthur","arthurian","artichoke","article","articleid","articles","articulable","articular","articulate","articulated","articulately","articulateness","articulates","articulation","articulator","articulatory","artie","artifact","artifactid","artifactory","artifacts","artifice","artificer","artificial","artificiality","artificialness","artillerist","artillery","artilleryman","artillerymen","artiness","artisan","artist","artiste","artistic","artistically","artistry","artists","artless","artlessness","arts","artsy","artur","arturo","artus","artwork","arty","aruba","arum","arv","arvie","arvin","arvy","ary","aryan","aryn","as","asa","asama","asap","asarray","asax","asbestos","asc","ascella","ascend","ascendancy","ascendant","ascender","ascending","ascension","ascent","ascertain","ascertainment","ascetic","ascetically","asceticism","ascii","ascot","ascribe","ascription","ascriptive","ascx","asd","asdf","ase","asenumerable","aseptic","aseptically","asexual","asexuality","asf","asgard","ash","ashame","ashamed","ashanti","ashbey","ashby","ashcan","ashely","asher","asheville","ashia","ashien","ashil","ashkenazim","ashkhabad","ashla","ashlan","ashland","ashlar","ashlee","ashleigh","ashlen","ashley","ashli","ashlie","ashlin","ashly","ashman","ashmolean","ashore","ashram","ashton","ashtray","ashurbanipal","ashx","ashy","asia","asian","asiatic","aside","asilomar","asimov","asin","asinine","asininity","asio","ask","askance","asked","asker","askew","asking","asks","asl","aslant","asleep","aslist","asm","asmara","asmx","asn","asocial","asoka","asp","asparagus","aspartame","aspca","aspect","aspectj","aspects","aspell","aspen","asper","asperity","aspersion","asphalt","asphodel","asphyxia","asphyxiate","asphyxiation","aspic","aspidiske","aspidistra","aspirant","aspirate","aspiration","aspirational","aspirator","aspire","aspirer","aspirin","asplenium","aspnet","aspnetcore","aspx","asquith","ass","assad","assail","assailable","assailant","assam","assamese","assassin","assassinate","assassination","assault","assaulter","assaultive","assay","assayer","assemblage","assemble","assembled","assembler","assemblies","assembly","assemblyidentity","assemblyman","assemblymen","assemblyname","assemblywoman","assemblywomen","assent","assert","assertequals","asserter","assertion","assertional","assertionerror","assertions","assertive","assertiveness","asserts","assertthat","asserttrue","assess","assessed","assesses","assessment","assessor","asset","assetmanager","assets","asseverate","asseveration","asshole","assiduity","assiduous","assiduousness","assign","assignable","assignation","assigned","assignee","assigner","assigning","assignment","assignments","assignor","assigns","assimilate","assimilation","assimilationist","assisi","assist","assistance","assistant","assistantship","assisted","assister","assize","assn","assoc","associable","associate","associated","associateship","association","associational","associations","associative","associativity","associator","assonance","assonant","assort","assorter","assortment","asst","assuage","assuaged","assumability","assume","assumed","assumer","assumes","assuming","assumption","assumptions","assumptive","assurance","assure","assured","assuredness","assurer","assuring","assyria","assyrian","assyriology","ast","astaire","astarte","astatine","astc","aster","asteria","asterisk","asterisked","astern","asteroid","asteroidal","asthma","asthmatic","astigmatic","astigmatism","astir","aston","astonish","astonishing","astonishment","astor","astoria","astound","astounding","astra","astraddle","astrakhan","astral","astray","astrid","astride","astring","astringency","astringent","astrix","astrolabe","astrologer","astrological","astrologist","astrology","astronaut","astronautic","astronautical","astronautics","astronomer","astronomic","astronomical","astronomy","astrophysical","astrophysicist","astrophysics","astroturf","asturias","astute","astuteness","astype","asuncin","asunder","asus","aswan","aswell","asylum","asymmetric","asymmetrical","asymmetry","asymptomatic","asymptomatically","asymptote","asymptotic","asymptotically","async","asynccallback","asynchronism","asynchronous","asynchronously","asynchrony","asyncio","asyncresult","asynctask","at","atacama","atahualpa","atalanta","atan","atari","atatrk","atavism","atavist","atavistic","ataxia","ataxic","ate","atelier","atemporal","athabasca","athabascan","athabaska","athabaskan","atheism","atheist","atheistic","athena","athene","athenian","athens","atheroscleroses","atherosclerosis","athirst","athlete","athletic","athletically","athleticism","athletics","athwart","atilt","atindex","atkins","atkinson","atl","atlanta","atlante","atlantes","atlantic","atlantis","atlas","atlassian","atleast","atm","atman","atmosphere","atmospheric","atmospherically","atoi","atoll","atom","atomic","atomically","atomicity","atomics","atomistic","atomization","atomize","atomizer","atoms","atonal","atonality","atone","atonement","atop","atp","atreus","atria","atrial","atrium","atrocious","atrociousness","atrocity","atrophic","atrophy","atropine","atropos","ats","att","attach","attached","attacher","attachevent","attaching","attachment","attachments","attack","attacker","attacks","attain","attainabilities","attainability","attainable","attainableness","attainably","attainder","attained","attainer","attainment","attar","attempt","attempted","attempter","attempting","attempts","attend","attendance","attendant","attended","attendee","attendees","attender","attention","attentional","attentionality","attentive","attentiveness","attenuate","attenuated","attenuation","attenuator","attest","attestation","attested","attester","attic","attica","attila","attire","attitude","attitudinal","attitudinize","attlee","attn","attorney","attr","attract","attractant","attraction","attractive","attractiveness","attractivenesses","attractor","attrib","attributable","attribute","attributed","attributeerror","attributename","attributer","attributes","attributeset","attributevalue","attribution","attributional","attributive","attrition","attrs","atts","attucks","attune","atty","atv","atwitter","atwood","atypical","au","aube","auberge","aubergine","auberon","aubert","auberta","aubine","aubree","aubrette","aubrey","aubrie","aubry","auburn","auc","auckland","auction","auctioneer","auctor","aud","audacious","audaciousness","audacity","auden","audi","audibility","audible","audibles","audibly","audie","audience","audio","audiobook","audioformat","audiogram","audiological","audiologist","audiology","audiomanager","audiometer","audiometric","audiometry","audiophile","audioplayer","audiotape","audiovisual","audit","audited","audition","auditor","auditorium","auditory","audra","audre","audrey","audrie","audry","audrye","audubon","audy","auerbach","aug","augean","auger","aught","augie","augment","augmentation","augmentative","augmenter","augue","augur","augury","august","augusta","augustan","auguste","augustin","augustina","augustine","augustinian","augustness","augusto","augustus","augy","auk","aundrea","aunt","auntie","aunty","aura","aural","aurea","aurel","aurelea","aurelia","aurelie","aurelio","aurelius","aureole","aureomycin","auria","auric","auricle","auricular","aurie","auriga","aurilia","aurlie","auroora","aurora","auroral","aurore","aurthur","auschwitz","auscultate","auscultation","auspice","auspicious","auspiciousness","auspiciousnesses","aussie","austen","austere","austereness","austerity","austin","austina","austine","austral","australasia","australasian","australes","australia","australian","australis","australites","australoid","australopithecus","austria","austrian","austronesian","aut","aute","auth","authentic","authentically","authenticate","authenticated","authenticating","authentication","authenticationmanager","authenticator","authenticatorbase","authenticity","author","authoress","authorial","authoritarian","authoritarianism","authoritative","authoritativeness","authorities","authority","authorization","authorize","authorized","authorizer","authorizes","authors","authorship","authservice","authtoken","autism","autistic","auto","autobahn","autobiographer","autobiographic","autobiographical","autobiography","autoclave","autocollimator","autocommit","autocomplete","autocompletetextview","autoconfigure","autocorrelate","autocorrelation","autocracy","autocrat","autocratic","autocratically","autodesk","autodial","autodidact","autoeventwireup","autofac","autofill","autofilter","autofluorescence","autofocus","autogeneratecolumns","autograph","autographs","autoignition","autoimmune","autoimmunity","autoincrement","autolayout","autoload","autoloader","automagically","automaker","automapper","automata","automate","automated","automatic","automatically","automating","automation","automatism","automatize","automaton","automobile","automorphism","automotive","autonavigator","autonomic","autonomous","autonomy","autopilot","autoplay","autopostback","autoprefixer","autopsy","autoregressive","autorelease","autorepeat","autosize","autostart","autosuggestibility","autotransformer","autowire","autowired","autowiredannotationbeanpostprocessor","autoworker","autumn","autumnal","aux","auxiliary","auxin","av","ava","avail","availability","available","availableness","availably","availing","avalanche","avalon","avant","avarice","avaricious","avariciousness","avast","avatar","avaudioplayer","avaunt","avc","avd","avdp","ave","aveline","avenge","avenged","avenger","aventine","aventino","avenue","average","averages","averell","averil","averill","avernus","averred","averrer","averring","averroes","avers","averse","averseness","aversion","avert","avery","averyl","aves","avesta","avfoundation","avg","avi","avian","aviary","aviate","aviation","aviator","aviatrices","aviatrix","avicenna","avictor","avid","avidity","avie","avigdor","avignon","avila","avionic","avionics","avior","avis","avitaminoses","avitaminosis","aviv","aviva","avivah","avocado","avocation","avocational","avogadro","avoid","avoidable","avoidably","avoidance","avoided","avoider","avoiding","avoids","avoirdupois","avon","avouch","avow","avowal","avowed","avower","avplayer","avr","avram","avril","avrit","avro","avrom","avuncular","avx","aw","awacs","await","awaiting","awake","awakefromnib","awaken","awakened","awakener","awakening","award","awarder","aware","awareness","awash","away","awe","aweigh","awesome","awesomeness","awestruck","awful","awfuller","awfullest","awfulness","awhile","awk","awkward","awkwardness","awl","awn","awning","awoke","awoken","awol","awry","aws","awt","ax","axd","axe","axehead","axel","axeman","axes","axial","axillary","axiological","axiology","axiom","axiomatic","axiomatically","axiomatization","axiomatize","axion","axios","axis","axle","axletree","axolotl","axon","ay","ayah","ayahs","ayala","ayatollah","ayatollahs","aye","ayers","aylmar","aylmer","aymara","aymer","ayn","az","azalea","azania","azazel","azerbaijan","azimuth","azimuthal","azimuths","azores","azov","azt","aztec","aztecan","azure","azurewebsites","b","ba","baa","baal","bab","babar","babara","babb","babbage","babbette","babbie","babbitt","babble","babbler","babcock","babe","babel","babette","babita","babka","baboon","babushka","baby","babyhood","babyish","babylon","babylonia","babylonian","babysat","babysit","babysitter","babysitting","bac","bacall","bacardi","baccalaureate","baccarat","bacchanal","bacchanalia","bacchanalian","bacchic","bacchus","bach","bachelor","bachelorhood","bacillary","bacilli","bacillus","back","backache","backarrow","backbench","backbencher","backbit","backbite","backbiter","backbitten","backboard","backbone","backbreaking","backbutton","backchaining","backcloth","backcolor","backdate","backdrop","backdropped","backdropping","backed","backend","backends","backer","backfield","backfill","backfire","backgammon","background","backgroundcolor","backgroundimage","backgrounds","backgroundworker","backhand","backhanded","backhander","backhoe","backing","backlash","backless","backlog","backlogged","backlogging","backorder","backpack","backpacker","backpedal","backplane","backplate","backrest","backscatter","backseat","backside","backslapper","backslapping","backslash","backslashes","backslid","backslide","backslider","backspace","backspin","backstabber","backstabbing","backstage","backstair","backstitch","backstop","backstopped","backstopping","backstreet","backstretch","backstroke","backtalk","backticks","backtrace","backtrack","backtracking","backup","backups","backus","backward","backwardness","backwards","backwash","backwater","backwood","backwoodsman","backwoodsmen","backyard","bacon","baconer","bacteria","bacterial","bactericidal","bactericide","bacteriologic","bacteriological","bacteriologist","bacteriology","bacterium","bactria","bad","badder","baddest","baddie","bade","baden","badge","badger","badinage","badland","badlands","badlogic","badly","badman","badmen","badminton","badmouth","badmouths","badness","badrequest","baedeker","baez","baffin","baffle","bafflement","baffler","baffling","bag","bagatelle","bagel","bagful","baggage","baggageman","baggagemen","bagged","bagger","baggily","bagginess","bagging","baggy","baghdad","bagpipe","bagpiper","bagrodia","bags","baguette","baguio","bah","baha","bahama","bahamanian","bahamian","bahia","bahrain","bahs","baikal","bail","bailey","bailie","bailiff","bailiwick","baillie","bailout","bailsman","bailsmen","baily","baird","bairn","bait","baiter","baize","baja","bak","bake","baked","bakehouse","bakelite","baker","bakersfield","bakery","bakeshop","baking","baklava","baksheesh","baku","bakunin","bal","balaclava","balalaika","balance","balanced","balancedness","balancer","balanchine","balancing","balboa","balcony","bald","balder","balderdash","baldfaced","baldness","baldric","balduin","baldwin","baldy","bale","balearic","baleen","baleful","balefuller","balefullest","balefulness","baler","balfour","bali","balinese","balk","balkan","balkanization","balkanize","balker","balkhash","balkiness","balky","ball","ballad","ballade","balladeer","balladry","ballard","ballast","ballcock","baller","ballerina","ballet","balletic","ballfields","ballgame","ballistic","ballistics","balloon","balloonist","ballot","balloter","ballpark","ballplayer","ballpoint","ballroom","balls","ballsy","ballyhoo","balm","balminess","balmy","baloney","balsa","balsam","balsamic","balthazar","baltic","baltimore","baluchistan","baluster","balustrade","balzac","bam","bamako","bamberger","bambi","bambie","bamboo","bamboozle","bamby","ban","banach","banal","banality","banana","bananas","bancroft","band","bandage","bandager","bandanna","bandbox","bandeau","bandeaux","bander","banding","bandit","banditry","bandmaster","bandoleer","bandpass","bands","bandsman","bandsmen","bandstand","bandstop","bandung","bandwagon","bandwidth","bandwidths","bandy","bane","baneful","banefuller","banefullest","bang","bangalore","banger","bangkok","bangladesh","bangladeshi","bangle","bangor","bangui","bani","banish","banisher","banishment","banister","banjarmasin","banjo","banjoist","banjul","bank","bankaccount","bankbook","bankcard","banker","banking","banknote","bankroll","bankrupt","bankruptcy","banks","banky","banned","banneker","banner","banners","banning","bannister","bannock","banns","banquet","banqueter","banquette","bans","banshee","bantam","bantamweight","banter","banterer","bantering","banting","bantu","banyan","banzai","baobab","baos","baotou","baptism","baptismal","baptist","baptiste","baptistery","baptistry","baptize","baptized","baptizer","baptizes","bar","barabbas","barb","barbabas","barbabra","barbadian","barbados","barbara","barbaraanne","barbarella","barbarian","barbarianism","barbaric","barbarically","barbarism","barbarity","barbarize","barbarossa","barbarous","barbarousness","barbary","barbe","barbecue","barbed","barbee","barbel","barbell","barbeque","barber","barbered","barberry","barbershop","barbette","barbey","barbi","barbie","barbital","barbiturate","barbour","barbra","barbuda","barbwire","barby","barcarole","barcelona","barchart","barclay","barcode","bard","barde","bardeen","bardic","bare","bareback","barefaced","barefacedness","barefoot","barehanded","bareheaded","barelegged","barely","bareness","barents","barf","barfly","bargain","bargainer","barge","bargeman","bargemen","bargepole","barhop","barhopped","barhopping","bari","baritone","barium","bark","barked","barkeep","barkeeper","barker","barkley","barks","barley","barleycorn","barlow","barmaid","barman","barmen","barn","barnabas","barnabe","barnaby","barnacle","barnard","barnaul","barnebas","barnes","barnett","barney","barnful","barnhard","barnie","barnsful","barnstorm","barnstormer","barnum","barny","barnyard","baroda","barometer","barometric","barometrically","baron","baronage","baroness","baronet","baronetcy","baronial","barony","baroque","barplot","barque","barquisimeto","barr","barrack","barracker","barracuda","barrage","barranquilla","barre","barred","barrel","barren","barrenness","barrera","barret","barrett","barrette","barri","barricade","barrie","barrier","barriers","barring","barrio","barrister","barron","barroom","barrow","barry","barrymore","bars","barstool","barstow","bart","bartel","bartend","bartender","barter","barterer","barth","barthel","bartholdi","bartholemy","bartholomeo","bartholomeus","bartholomew","bartie","bartk","bartlet","bartlett","bartolemo","bartolomeo","barton","bartram","barty","bary","barycenter","barycentre","barycentric","baryon","baryram","baryshnikov","bas","basal","basalt","basaltic","bascom","base","baseadapter","baseaddress","baseball","baseband","baseboard","baseclass","basecontroller","based","basedir","basel","baseless","baseline","basely","baseman","basemen","basement","basename","baseness","basepath","baseplate","bases","basetting","basetype","baseurl","bash","bashful","bashfulness","basho","bashrc","basia","basic","basically","basicdbobject","basichttpbinding","basicnamevaluepair","basics","basie","basil","basilar","basile","basilica","basilio","basilisk","basilius","basin","basinful","basis","bask","basket","basketball","basketry","basketwork","basophilic","basque","basra","bass","basset","basseterre","bassett","bassinet","bassist","basso","bassoon","bassoonist","basswood","bast","bastard","bastardization","bastardize","bastardized","bastardy","baste","baster","bastian","bastien","bastille","basting","bastion","basutoland","bat","bataan","batavia","batch","batches","batchsize","bate","bated","bater","bates","bath","bathe","bather","bathetic","bathhouse","bathmat","batholomew","bathos","bathrobe","bathroom","baths","bathsheba","bathtub","bathwater","bathyscaphe","bathysphere","batik","batista","batiste","batman","batmen","baton","batsheva","batsman","batsmen","battalion","batted","batten","batter","batteries","battery","batting","battle","battledore","battledress","battlefield","battlefront","battleground","battlement","battler","battleship","batty","batu","batwings","bauble","baud","baudelaire","baudoin","baudouin","bauer","bauhaus","baulk","bausch","bauxite","bavaria","bavarian","bawd","bawdily","bawdiness","bawdy","bawl","bawler","bax","baxie","baxter","baxy","bay","bayamon","bayard","bayberry","bayda","bayer","bayes","bayesian","baylor","bayonet","bayonne","bayou","bayreuth","baz","bazaar","bazel","bazillion","bazooka","bb","bbb","bbbb","bbc","bbl","bbox","bbq","bbs","bc","bcc","bcd","bcp","bcrypt","bd","bdd","bdist","bdrm","be","bea","beach","beachcomber","beachhead","beachwear","beacon","beacons","bead","beading","beadle","beadsman","beadworker","beady","beagle","beak","beaker","beale","bealle","beam","bean","beanbag","beancreationexception","beanie","beanpole","beans","beanstalk","beanutils","bear","bearable","bearably","beard","bearded","beardless","beardmore","beardsley","bearer","bearing","bearish","bearishness","bearlike","bearnaise","bearnard","bearskin","beasley","beast","beasties","beastings","beastliness","beastly","beat","beatable","beatably","beaten","beater","beatific","beatifically","beatification","beatify","beating","beatitude","beatlemania","beatles","beatnik","beatrice","beatrisa","beatrix","beatriz","beats","beau","beauchamps","beaufort","beaujolais","beaumarchais","beaumont","beauregard","beaut","beauteous","beauteousness","beautician","beautification","beautifier","beautiful","beautifully","beautifulness","beautifulsoup","beautify","beauty","beauvoir","beaux","beaver","beaverton","bebe","bebop","becalm","became","because","becca","bechtel","beck","becka","becker","becket","beckett","becki","beckie","beckon","becky","becloud","become","becomes","becoming","becquerel","bed","bedaub","bedazzle","bedazzlement","bedbug","bedchamber","bedclothes","bedded","bedder","bedding","bede","bedeck","bedevil","bedevilment","bedfast","bedfellow","bedford","bedim","bedimmed","bedimming","bedizen","bedlam","bedlinen","bedmaker","bedmate","bedouin","bedpan","bedpost","bedraggle","bedridden","bedrock","bedroll","bedroom","bedsheets","bedside","bedsit","bedsitter","bedsore","bedspread","bedspring","bedstead","bedstraw","bedtime","bee","beebe","beebread","beech","beecher","beechnut","beechwood","beef","beefburger","beefcake","beefiness","beefsteak","beefy","beehive","beekeeper","beekeeping","beeline","beelzebub","been","beep","beeper","beer","beerbohm","beermat","beery","beeswax","beet","beethoven","beetle","beeton","beetroot","beeves","befall","befell","befit","befitted","befitting","befog","befogged","befogging","before","beforeeach","beforehand","beforesend","befoul","befriend","befuddle","befuddlement","beg","began","beget","begetting","beggar","beggarliness","beggarly","beggary","begged","begging","begin","beginform","begining","begininvoke","beginner","beginners","beginning","beginpath","begins","begintransaction","begone","begonia","begot","begotten","begrime","begrudge","begrudging","beguile","beguilement","beguiler","beguiling","beguine","begum","begun","behalf","behalves","behan","behave","behaves","behaving","behavior","behavioral","behaviorism","behaviorist","behavioristic","behaviors","behaviorsubject","behaviour","behead","beheld","behemoth","behemoths","behest","behind","behindhand","behold","beholder","behoofs","behoove","behooving","behring","beiderbecke","beige","beijing","beilul","being","beirut","beitris","bejewel","bekesy","bekki","bel","bela","belabor","belarus","belate","belated","belatedness","belau","belay","belch","beleaguer","belem","belfast","belfry","belg","belgian","belgium","belgrade","belia","belicia","belie","belief","beliefs","belier","believability","believable","believably","believe","believed","believer","believes","believing","belinda","belita","belittle","belittlement","belittler","belize","bell","bella","belladonna","bellamy","bellanca","bellatrix","bellboy","belle","belled","belletrist","belletristic","belleville","bellflower","bellhop","bellicose","bellicoseness","bellicosity","belligerence","belligerency","belligerent","bellina","belling","bellini","bellman","bellmen","bellovin","bellow","bellows","bells","bellwether","bellwood","belly","bellyache","bellyacher","bellybutton","bellyful","bellyfull","belmont","belmopan","beloit","belong","belonging","belongs","belongsto","belongstomany","belorussia","belorussian","belove","beloved","below","belshazzar","belt","belted","belting","belton","beltran","beltsville","beltway","beluga","belushi","belva","belvedere","belvia","bely","beman","bemire","bemoan","bemuse","bemused","bemusement","ben","benacerraf","benares","bench","bencher","benchmark","benchmarking","benchmarks","bend","bended","bender","bendick","bendicty","bendite","bendix","beneath","benedetta","benedetto","benedick","benedict","benedicta","benedictine","benediction","benedicto","benedictory","benedikt","benedikta","benefaction","benefactor","benefactress","benefice","beneficence","beneficent","beneficial","beneficialness","beneficiary","benefit","benefiter","benefits","benelux","benet","benetta","benetton","benevolence","benevolent","benevolentness","bengal","bengali","benghazi","bengt","beniamino","benighted","benightedness","benign","benignant","benignity","benin","beninese","benita","benito","benjamen","benjamin","benji","benjie","benjy","benn","bennett","benni","bennie","bennington","benny","benoit","benoite","benson","bent","bentham","bentlee","bentley","benton","bents","bentwood","benumb","benyamin","benz","benzedrine","benzene","benzine","beograd","beowulf","bequeath","bequeaths","bequest","ber","berate","berber","bereave","bereavement","bereft","berenice","beret","berg","bergen","berger","bergerac","berget","berglund","bergman","bergson","bergsten","bergstrom","beribbon","beriberi","bering","beringer","berk","berke","berkeley","berkelium","berkie","berkley","berkly","berkowitz","berkshire","berky","berle","berlin","berliner","berlioz","berlitz","berm","berman","bermuda","bermudan","bermudian","bern","berna","bernadene","bernadette","bernadina","bernadine","bernard","bernardina","bernardine","bernardino","bernardo","bernarr","bernays","bernbach","berne","bernelle","bernese","bernete","bernetta","bernette","bernhard","bernhardt","berni","bernice","bernie","berniece","bernini","bernita","bernoulli","bernstein","berny","berra","berri","berrie","berry","berrylike","berserk","berserker","bert","berta","berte","berth","bertha","berthe","berths","berti","bertie","bertillon","bertina","bertine","berton","bertram","bertrand","bertrando","berty","beryl","beryle","beryllium","berzelius","bes","beseech","beseecher","beseeching","beseem","beset","besetting","beside","besides","besiege","besieger","besmear","besmirch","besom","besot","besotted","besotting","besought","bespangle","bespatter","bespeak","bespectacled","bespoke","bespoken","bess","bessel","bessemer","bessie","bessy","best","bestial","bestiality","bestiary","bestir","bestirred","bestirring","bestow","bestowal","bestrew","bestrewn","bestridden","bestride","bestrode","bestseller","bestselling","bestubble","bet","beta","betake","betaken","betatron","betcha","betel","betelgeuse","beth","bethanne","bethany","bethe","bethel","bethena","bethesda","bethina","bethink","bethlehem","bethought","bethune","betide","betimes","betoken","betook","betray","betrayal","betrayer","betroth","betrothal","betrothed","betroths","betsey","betsy","betta","bette","betteann","betteanne","better","betterment","betti","bettie","bettina","bettine","betting","bettor","betty","bettye","between","betweenness","betwixt","beulah","bev","bevan","bevel","beverage","beverie","beverlee","beverley","beverlie","beverly","bevin","bevon","bevvy","bevy","bewail","beware","bewhisker","bewigged","bewilder","bewildered","bewildering","bewilderment","bewitch","bewitching","bewitchment","bey","beyond","bezel","bezier","bf","bfs","bg","bgcolor","bgr","bh","bhopal","bhutan","bhutanese","bhutto","bi","bialystok","bianca","bianco","bianka","biannual","bias","biased","biases","biathlon","biaxial","bib","bibbed","bibbie","bibbing","bibby","bibbye","bibendum","bibi","bible","biblical","biblicists","bibliographer","bibliographic","bibliographical","bibliography","bibliophile","bibulous","bicameral","bicameralism","bicarb","bicarbonate","bicentenary","bicentennial","bicep","biceps","bichromate","bicker","bickerer","bickering","biconcave","biconnected","biconvex","bicuspid","bicycle","bicycler","bicyclist","bid","biddable","bidden","bidder","biddie","bidding","biddle","biddy","bide","bider","bidet","bidget","bidiagonal","bidirectional","bids","biennial","biennium","bienville","bier","bierce","bifocal","bifurcate","bifurcation","big","bigamist","bigamous","bigamy","bigdecimal","bigelow","bigfoot","bigged","bigger","biggest","biggie","bigging","biggish","bighead","bighearted","bigheartedness","bighorn","bight","bigint","biginteger","bigmouth","bigmouths","bigness","bigot","bigoted","bigotry","bigquery","bigwig","biharmonic","bijection","bijective","bijou","bijoux","bike","biker","bikini","biko","bil","bilabial","bilateral","bilateralness","bilayer","bilbao","bilberry","bilbo","bile","bilge","bili","biliary","bilinear","bilingual","bilingualism","bilious","biliousness","bilk","bilker","bill","billboard","biller","billet","billfold","billi","billiard","billie","billing","billings","billingsgate","billion","billionaire","billions","billionths","billow","billowy","billposters","bills","billy","billye","bimbo","bimetallic","bimetallism","bimini","bimodal","bimolecular","bimonthly","bin","binaries","binary","binaural","bind","bindable","binded","binder","bindery","binding","bindingcontext","bindingflags","bindingness","bindingredirect","bindingresult","bindings","bindingsource","bindle","bindparam","binds","bindvalue","bindweed","bing","binge","bingham","binghamton","bingo","bini","bink","binky","binnacle","binned","binni","binnie","binning","binny","binocular","binodal","binomial","bins","bintray","binuclear","bio","biochemical","biochemist","biochemistry","biodegradability","biodegradable","biodiversity","bioengineering","bioethics","biofeedback","biog","biograph","biographer","biographic","biographical","biography","bioko","biol","biologic","biological","biologist","biology","biomass","biomedical","biomedicine","biometric","biometrics","biometry","biomolecule","biomorph","bionic","bionically","bionics","biophysic","biophysical","biophysicist","biophysics","biopic","biopsy","biorhythm","bios","bioscience","biosphere","biostatistic","biosynthesized","biotechnological","biotechnologist","biotechnology","biotic","biotin","bipartisan","bipartisanship","bipartite","bipartition","biped","bipedal","biplane","bipolar","bipolarity","biracial","birch","bird","birdbath","birdbaths","birdbrain","birdcage","birder","birdhouse","birdie","birdieing","birdlike","birdlime","birds","birdseed","birdseye","birdsong","birdtables","birdwatch","birefringence","birefringent","biretta","birgit","birgitta","birk","birkenstock","birmingham","biro","biron","birt","birth","birthdate","birthday","birthmark","birthplace","birthrate","birthright","births","birthstone","bis","biscay","biscayne","biscuit","bisect","bisection","bisector","biserial","bisexual","bisexuality","bishkek","bishop","bishopric","bismarck","bismark","bismuth","bismuths","bison","bisque","bissau","bistable","bistate","bistro","bisyllabic","bit","bitblt","bitbucket","bitch","bitchily","bitchiness","bitchy","bitcoin","bitcoins","bitconverter","bite","biter","biting","bitmap","bitmapdata","bitmapdrawable","bitmapfactory","bitmapimage","bitmaps","bitnami","bitnet","bitrate","bits","bitser","bitset","bitted","bitten","bitter","bittern","bitterness","bitternut","bitterroot","bittersweet","bitting","bitty","bitumen","bituminous","bitwise","bivalent","bivalve","bivariate","bivouac","bivouacked","bivouacking","biweekly","biyearly","biz","bizarre","bizarreness","bizet","biztalk","bizzes","bj","bjorn","bk","bl","bla","blab","blabbed","blabber","blabbermouth","blabbermouths","blabbing","blabla","blablabla","black","blackamoor","blackball","blackberry","blackbird","blackbirder","blackboard","blackbody","blackburn","blackcolor","blackcurrant","blacken","blackener","blackfeet","blackfoot","blackguard","blackhead","blacking","blackish","blackjack","blackleg","blacklist","blackmail","blackmailer","blackman","blackmer","blackness","blackout","blackpool","blacksmith","blacksmiths","blacksnake","blackspot","blackstone","blackthorn","blacktop","blacktopped","blacktopping","blackwell","bladder","bladdernut","bladderwort","blade","blah","blahblah","blahs","blaine","blair","blaire","blake","blakelee","blakeley","blakey","blame","blameless","blamelessness","blamer","blameworthiness","blameworthy","blanc","blanca","blanch","blancha","blanchard","blanche","blancher","blancmange","bland","blandish","blandishment","blandit","blandness","blane","blank","blankenship","blanket","blanketing","blankness","blanks","blanton","blantyre","blare","blarney","blas","blaspheme","blasphemer","blasphemous","blasphemousness","blasphemy","blast","blaster","blasting","blastoff","blatancy","blatant","blather","blatting","blatz","blavatsky","blayne","blaze","blazer","blazing","blazon","blazoner","bldg","ble","bleach","bleached","bleacher","bleak","bleakness","blear","blearily","bleariness","bleary","bleat","bleater","bleed","bleeder","bleeker","bleep","blemish","blemished","blench","blend","blender","blenheim","bless","blessed","blessedness","blessing","blevins","blew","bligh","blight","blighter","blimey","blimp","blind","blinded","blinder","blindfold","blinding","blindly","blindness","blindside","blink","blinker","blinking","blinks","blinni","blinnie","blinny","blintz","blintze","blip","blipped","blipping","bliss","blisse","blissful","blissfulness","blister","blistering","blistery","blit","blithe","blitheness","blither","blithesome","blitz","blitzkrieg","blizzard","blk","bloat","bloater","blob","blobbed","blobbing","blobs","bloc","bloch","block","blockade","blockader","blockage","blockbuster","blockbusting","blockchain","blocked","blocker","blockhead","blockhouse","blocking","blockjunit","blockquote","blocks","blocksize","blocky","bloemfontein","blog","blogger","blogging","bloginfo","blogpost","blogs","blogspot","bloke","blomberg","blomquist","blond","blonde","blondell","blondelle","blondie","blondish","blondness","blondy","blood","bloodbath","bloodbaths","bloodcurdling","bloodhound","bloodied","bloodiness","bloodless","bloodlessness","bloodletting","bloodline","bloodmobile","bloodroot","bloodshed","bloodshot","bloodsport","bloodstain","bloodstock","bloodstone","bloodstream","bloodsucker","bloodsucking","bloodthirstily","bloodthirstiness","bloodthirsty","bloodworm","bloody","bloodymindedness","bloom","bloomer","bloomfield","bloomington","bloop","blooper","blossom","blossomy","blot","blotch","blotchy","blotted","blotter","blotting","blotto","blouse","blow","blower","blowfish","blowfly","blowgun","blowing","blown","blowout","blowpipe","blowtorch","blowup","blowy","blowzy","blt","blubber","blubbery","blucher","bludgeon","blue","blueback","bluebeard","bluebell","blueberry","bluebill","bluebird","bluebonnet","bluebook","bluebottle","bluebush","bluefish","bluegill","bluegrass","blueing","blueish","bluejacket","bluejeans","bluemix","blueness","bluenose","bluepoint","blueprint","bluer","bluest","bluestocking","bluesy","bluet","bluetooth","bluetoothadapter","bluetoothdevice","bluff","bluffer","bluffness","bluing","bluish","bluishness","blum","blumenthal","blunder","blunderbuss","blunderer","blundering","blunt","bluntness","blur","blurb","blurred","blurriness","blurring","blurry","blurt","blush","blusher","blushing","bluster","blusterer","blustering","blusterous","blustery","blvd","blythe","bm","bmi","bmp","bmw","bn","bo","boa","boar","board","boarded","boarder","boardgames","boarding","boardinghouse","boardroom","boards","boardwalk","boast","boaster","boastful","boastfulness","boat","boatclubs","boater","boathouse","boating","boatload","boatman","boatmen","boatswain","boatyard","bob","bobbe","bobbed","bobbee","bobbette","bobbi","bobbie","bobbin","bobbing","bobbitt","bobble","bobbsey","bobby","bobbye","bobbysoxer","bobcat","bobette","bobina","bobine","bobinette","bobolink","bobrow","bobs","bobsled","bobsledded","bobsledder","bobsledding","bobsleigh","bobsleighs","bobtail","bobwhite","boca","boccaccio","boccie","bock","bockwurst","bod","bode","bodega","bodenheim","bodhidharma","bodhisattva","bodice","bodied","bodies","bodiless","bodily","boding","bodkin","body","bodybuilder","bodybuilding","bodyguard","bodying","bodyparser","bodysuit","bodyweight","bodywork","boeing","boeotia","boeotian","boer","bog","bogart","bogartian","bogey","bogeyman","bogeymen","bogged","bogging","boggle","boggling","boggy","bogie","bogot","bogus","bogy","bogyman","bogymen","boheme","bohemia","bohemian","bohemianism","bohr","boigie","boil","boiled","boiler","boilermaker","boilerplate","boils","bois","boise","boisterous","boisterousness","bokeh","bola","bold","boldface","boldness","bole","bolero","boleyn","bolivar","bolivares","bolivia","bolivian","boll","bollard","bollix","bolo","bologna","bolometer","boloney","bolshevik","bolshevism","bolshevist","bolshevistic","bolshoi","bolster","bolsterer","bolt","bolted","bolter","bolton","bolts","boltzmann","bolus","bom","bomb","bombard","bombardier","bombardment","bombast","bombastic","bombastically","bombay","bomber","bombproof","bombshell","bona","bonanza","bonaparte","bonaventure","bonbon","bond","bondage","bonder","bondholder","bondie","bondman","bondmen","bondon","bonds","bondsman","bondsmen","bondwoman","bondwomen","bondy","bone","boned","bonehead","boneless","boner","bones","bonfire","bong","bongo","bonham","bonhomie","boniface","boniness","bonita","bonito","bonjour","bonkers","bonn","bonnee","bonner","bonnet","bonneted","bonneville","bonni","bonnibelle","bonnie","bonny","bonsai","bontempo","bonus","bony","bonzes","boo","boob","booby","boodle","boogeyman","boogie","boogieing","boohoo","book","bookbind","bookbinder","bookbindery","bookbinding","bookcase","booked","bookend","booker","bookid","bookie","booking","bookings","bookish","bookishness","bookkeep","bookkeeper","bookkeeping","booklet","bookmaker","bookmaking","bookmark","bookmarks","bookmobile","bookplate","books","bookseller","bookshelf","bookshelves","bookshop","bookstall","bookstore","bookwork","bookworm","bool","boole","boolean","booleanfield","booleans","boom","boomer","boomerang","boomtown","boon","boondocks","boondoggle","boondoggler","boone","boonie","boonies","boony","boor","boorish","boorishness","boost","booster","boosterism","boot","bootblack","boote","bootee","booth","boothe","booths","bootie","booting","bootlaces","bootle","bootleg","bootlegged","bootlegger","bootlegging","bootless","bootloader","bootply","bootprints","bootstrap","bootstrapcdn","bootstrapped","bootstrapper","bootstrapping","booty","booze","boozer","boozy","bop","bopped","bopping","borate","borax","bord","bordeaux","bordello","borden","border","borderbrush","bordercolor","bordered","borderer","borderfactory","borderland","borderlayout","borderline","borderpane","borderradius","borders","borderstyle","borderthickness","borderwidth","bordie","bordon","bordy","bore","borealis","boreas","bored","boredom","boreholes","borer","borg","borges","borgia","boric","boring","boris","bork","born","borne","borneo","borodin","boron","borosilicate","borough","boroughs","borroughs","borrow","borrowed","borrower","borrowing","borscht","borstal","boru","borzoi","bos","bosch","bose","bosh","bosnia","bosnian","bosom","bosomy","boson","bosporus","boss","bossily","bossiness","bossism","bossy","bostitch","boston","bostonian","bosun","boswell","bot","botanic","botanical","botanist","botany","botch","botcher","botes","botfly","both","bother","bothered","bothersome","bothy","boto","bots","botswana","botticelli","bottle","bottleneck","bottler","bottom","bottomless","bottomlessness","bottommost","botulin","botulinus","botulism","boucher","boudoir","bouffant","bougainvillea","bough","boughs","bought","bouillabaisse","bouillon","boulder","boulevard","bounce","bouncer","bouncily","bouncing","bouncy","bouncycastle","bound","boundaries","boundary","bounded","boundedness","bounden","bounder","bounders","boundfield","bounding","boundingbox","boundless","boundlessness","bounds","bounteous","bounteousness","bountiful","bountifulness","bounty","bouquet","bourbaki","bourbon","bourgeois","bourgeoisie","bourke","bourne","bournemouth","bout","boutique","boutonnire","bouvier","bovary","bovine","bow","bowditch","bowdlerization","bowdlerize","bowed","bowel","bowell","bowen","bower","bowers","bowery","bowes","bowie","bowing","bowl","bowlder","bowleg","bowlegged","bowler","bowlful","bowline","bowling","bowman","bowmen","bows","bowser","bowsprit","bowstring","bowwow","box","boxcar","boxed","boxer","boxes","boxful","boxing","boxlayout","boxlike","boxplot","boxtops","boxwood","boxy","boy","boyce","boycey","boycie","boycott","boycotter","boyd","boyer","boyfriend","boyhood","boyish","boyishness","boyle","boys","boyscout","boysenberry","bozo","bp","bpi","bpm","bps","bq","br","bra","brace","braced","bracelet","bracer","braces","brachia","brachium","bracken","bracket","bracketed","bracketing","brackets","brackish","brackishness","bract","brad","bradan","bradawl","bradbury","bradburys","bradded","bradding","braddock","brade","braden","bradford","bradley","bradly","bradney","bradshaw","bradstreet","brady","brae","brag","bragg","braggadocio","braggart","bragged","bragger","braggest","bragging","brahe","brahma","brahman","brahmanism","brahmaputra","brahmin","brahms","braid","braider","braiding","braille","brain","brainard","braincell","brainchild","brainchildren","braininess","brainless","brainlessness","brainpower","brainstorm","brainstorming","brainteaser","brainteasing","braintree","brainwash","brainwasher","brainwashing","brainwave","brainy","braise","brake","brakeman","brakemen","bram","bramble","brambling","brambly","brampton","bran","brana","branch","branched","branches","branching","branchlike","branchville","brand","brandais","brande","brandea","branded","brandeis","brandel","branden","brandenburg","brander","brandi","brandice","brandie","branding","brandise","brandish","brando","brandon","brands","brandt","brandtr","brandy","brandyn","brandywine","braniff","branned","branning","brannon","brant","brantley","braque","brash","brashness","brasilia","brass","brasserie","brassiere","brassily","brassiness","brassy","brat","bratislava","brattain","bratty","bratwurst","braun","bravado","bravadoes","brave","braveness","bravery","bravest","bravo","bravura","brawl","brawler","brawn","brawniness","brawny","bray","brayer","braze","brazen","brazenness","brazer","brazier","brazil","brazilian","brazos","brazzaville","breach","breacher","bread","breadbasket","breadboard","breadbox","breadcrumb","breadcrumbs","breadfruit","breadline","breadth","breadths","breadwinner","break","breakable","breakables","breakage","breakaway","breakdown","breaker","breakfast","breakfaster","breakfront","breaking","breakneck","breakout","breakpoint","breakpoints","breaks","breakthrough","breakthroughs","breakup","breakwater","bream","breanne","brear","breast","breastbone","breastfed","breastfeed","breasting","breastplate","breaststroke","breastwork","breath","breathable","breathalyser","breathalyzer","breathe","breather","breathing","breathless","breathlessness","breaths","breathtaking","breathy","brecht","breckenridge","bred","bredes","bree","breech","breeching","breed","breeder","breeding","breeds","breena","breeze","breezeway","breezily","breeziness","breezy","bremen","bremsstrahlung","bren","brena","brenda","brendan","brenden","brendin","brendis","brendon","brenn","brenna","brennan","brennen","brenner","brent","brenton","bresenham","brest","bret","brethren","breton","brett","breve","brevet","brevetted","brevetting","breviary","brevity","brew","brewer","brewery","brewing","brewpub","brewster","brezhnev","bria","brian","briana","brianna","brianne","briano","briant","briar","bribe","briber","bribery","brice","brick","brickbat","bricklayer","bricklaying","brickmason","brickwork","brickyard","bridal","bridalveil","bride","bridegroom","bridesmaid","bridewell","bridge","bridgeable","bridged","bridgehead","bridgeport","bridger","bridges","bridget","bridgetown","bridgett","bridgette","bridgewater","bridgework","bridging","bridgman","bridie","bridle","bridled","bridleway","brie","brief","briefcase","briefed","briefing","briefly","briefness","briefs","brien","brier","brietta","brig","brigade","brigadier","brigadoon","brigand","brigandage","brigantine","brigg","brigham","bright","brighten","brightener","brightness","brighton","brigid","brigida","brigit","brigitta","brigitte","brilliance","brilliancy","brilliant","brilliantine","brilliantness","brillo","brillouin","brim","brimful","brimless","brimmed","brimming","brimstone","brina","brindisi","brindle","brine","briner","briney","bring","bringer","bringing","brings","brininess","brink","brinkley","brinkmanship","brinn","brinna","briny","brioche","brion","briquet","briquette","brisbane","brisk","brisket","briskness","bristle","bristly","bristol","brit","brita","britain","britannia","britannic","britannica","britches","briticism","british","britisher","britishly","britney","britni","briton","britt","britta","brittan","brittaney","brittani","brittany","britte","britten","britteny","brittle","brittleness","brittne","brittney","brittni","brnaba","brnaby","brno","bro","broach","broacher","broad","broadband","broadcast","broadcaster","broadcasting","broadcastreceiver","broadcasts","broadcloth","broadcloths","broaden","broader","broadleaved","broadloom","broadminded","broadness","broadsheet","broadside","broadsword","broadway","brobdingnag","brobdingnagian","brocade","broccoli","brochette","brochure","brock","brockie","brocky","brod","broddie","broddy","broderic","broderick","brodie","brody","brogan","broglie","brogue","broil","broiler","brok","broke","broken","brokenhearted","brokenness","broker","brokerage","brokers","bromide","bromidic","bromine","bron","bronc","bronchi","bronchial","bronchiolar","bronchiole","bronchiolitis","bronchitic","bronchitis","broncho","bronchus","bronco","broncobuster","bronnie","bronny","bronson","bronte","brontosaur","brontosaurus","bronx","bronze","bronzed","bronzing","brooch","brood","brooder","broodiness","brooding","broodmare","broody","brook","brookdale","brooke","brookfield","brookhaven","brooklet","brooklyn","brookmont","brookside","broom","broomstick","bros","brose","broth","brothel","brother","brotherhood","brotherliness","brotherly","broths","brougham","brought","brouhaha","brow","browbeat","brown","browne","brownell","brownian","brownie","browning","brownish","brownness","brownout","brownstone","brownsville","brows","browse","browser","browserify","browsermodule","browsername","browsers","browsing","brr","brubeck","bruce","brucellosis","brucie","bruckner","bruegel","brueghel","bruin","bruis","bruise","bruised","bruiser","bruit","brumidi","brummel","brunch","brunei","brunelleschi","brunet","brunette","brunhilda","brunhilde","bruno","brunswick","brunt","brush","brusher","brushes","brushfire","brushlike","brushoff","brushwood","brushwork","brushy","brusque","brusqueness","brussels","brutal","brutality","brutalization","brutalize","brutalized","brutalizes","brute","brutish","brutishness","brutus","bruxelles","bryan","bryana","bryant","bryanty","bryce","bryn","bryna","brynn","brynna","brynne","brynner","bryon","brzezinski","bs","bsa","bsd","bson","bss","bst","bstr","bt","btc","btn","btnsave","btnsubmit","btree","btu","btw","bu","bub","bubble","bubblegum","bubbler","bubbles","bubbling","bubbly","buber","bubo","buboes","bubonic","buccaneer","buchanan","bucharest","buchenwald","buchwald","buck","buckaroo","buckboard","bucker","bucket","bucketful","bucketname","buckets","buckeye","buckhorn","buckie","buckingham","buckle","buckled","buckler","buckles","buckley","buckling","buckner","buckram","bucksaw","buckshot","buckskin","buckteeth","bucktooth","buckwheat","bucky","bucolic","bucolically","bud","budapest","budd","budded","buddha","buddhism","buddhist","buddie","budding","buddy","budge","budgerigar","budget","budgetary","budgeter","budgie","budging","budweiser","buehring","buena","buf","buff","buffalo","buffaloes","buffer","buffered","bufferedimage","bufferedinputstream","bufferedoutputstream","bufferedreader","bufferedwriter","bufferer","buffering","buffers","buffersize","buffet","bufflehead","buffoon","buffoonery","buffoonish","buffy","buford","bufsize","bug","bugaboo","bugatti","bugbear","bugeyed","bugged","bugger","buggered","buggering","buggery","bugging","buggy","bugle","bugler","bugs","bugzilla","buick","build","buildconfig","buildcontext","builddir","builder","builders","building","buildings","buildpack","builds","buildscript","buildtoolsversion","buildtypes","buildup","built","builtin","builtins","buiron","bujumbura","bukhara","bukharin","bukkit","bulawayo","bulb","bulba","bulblet","bulbous","bulfinch","bulganin","bulgaria","bulgarian","bulge","bulgy","bulimarexia","bulimia","bulimic","bulk","bulkhead","bulkiness","bulky","bull","bulldog","bulldogged","bulldogger","bulldogging","bulldoze","bulldozer","bullet","bulletin","bulletproof","bullets","bullfight","bullfighter","bullfighting","bullfinch","bullfrog","bullhead","bullheaded","bullheadedness","bullhide","bullhorn","bullied","bullion","bullish","bullishness","bullock","bullpen","bullring","bullseye","bullshit","bullshitted","bullshitter","bullshitting","bullwhackers","bullwinkle","bully","bullyboy","bullying","bulrush","bultmann","bulwark","bum","bumble","bumblebee","bumbler","bumbling","bumbry","bummed","bummer","bummest","bumming","bump","bumper","bumpiness","bumpkin","bumppo","bumptious","bumptiousness","bumpy","bun","bunch","bunche","bunchy","bunco","buncombe","bundestag","bundle","bundled","bundler","bundles","bundling","bundy","bung","bungalow","bungee","bunghole","bungle","bungler","bungling","bunin","bunion","bunk","bunker","bunkhouse","bunkmate","bunko","bunkum","bunni","bunnie","bunny","bunsen","bunt","bunting","bunyan","buoy","buoyancy","buoyant","bur","burbank","burble","burbler","burbs","burch","burden","burdensome","burdensomeness","burdock","bureau","bureaucracy","bureaucrat","bureaucratic","bureaucratically","bureaucratization","bureaucratize","burg","burgeon","burger","burgess","burgh","burgher","burghs","burglar","burglarize","burglarproof","burglary","burgle","burgomaster","burgoyne","burgundian","burgundy","burial","buried","burier","burk","burke","burl","burlap","burler","burlesque","burlesquer","burley","burlie","burliness","burlingame","burlington","burly","burma","burmese","burn","burnable","burnaby","burnard","burne","burned","burner","burnett","burning","burnish","burnisher","burnoose","burnout","burns","burnside","burnt","burp","burr","burris","burrito","burro","burroughs","burrow","burrower","bursa","bursae","bursar","bursary","bursitis","burst","burster","burt","burtie","burton","burty","burundi","burundian","bury","bus","busboy","busby","busch","buses","busgirl","bush","bushel","bushido","bushiness","bushing","bushland","bushman","bushmaster","bushmen","bushnell","bushwhack","bushwhacker","bushwhacking","bushy","busily","business","businesses","businesslike","businessman","businessmen","businesspeople","businessperson","businesswoman","businesswomen","busk","busker","buskin","buss","bust","bustard","buster","bustle","bustling","busty","busy","busybody","busyness","busywork","but","butane","butch","butcher","butcherer","butchery","butene","butler","butt","butte","butted","butter","butterball","buttercup","buttered","butterfat","butterfield","butterfingered","butterfingers","butterfly","butterknife","buttermilk","butternut","butterscotch","buttery","butting","buttock","button","buttoner","buttonhole","buttonholer","buttons","buttonweed","buttonwood","buttress","butyl","butyrate","buuel","buxom","buxomness","buxtehude","buy","buyback","buyer","buyers","buying","buyout","buys","buzz","buzzard","buzzer","buzzword","buzzy","bv","bw","bx","bxs","by","bye","byelaw","byelorussia","byers","bygone","byid","bylaw","byline","byliner","byob","bypass","bypath","bypaths","byplay","byproduct","byram","byran","byrann","byrd","byre","byref","byrle","byrne","byroad","byrom","byron","byronic","byronism","bystander","byte","bytearray","bytearrayinputstream","bytearrayoutputstream","bytebuffer","bytecode","bytes","bytesread","bytestring","byval","byway","byword","byzantine","byzantium","bz","c","ca","cab","cabal","cabala","caballed","caballero","caballing","cabana","cabaret","cabbage","cabbed","cabbing","cabby","cabdriver","caber","cabernet","cabin","cabinet","cabinetmaker","cabinetmaking","cabinetry","cabinetwork","cable","cablecast","cablegram","cabochon","caboodle","caboose","cabot","cabrera","cabrini","cabriolet","cabstand","cacao","cacciatore","cache","cached","cachepot","caches","cachet","caching","cacilia","cacilie","cackle","cackler","cackly","cacm","cacophonist","cacophonous","cacophony","cacti","cactus","cad","cadaver","cadaverous","caddish","caddishness","caddric","caddy","cadence","cadenced","cadencing","cadent","cadenza","cadet","cadette","cadge","cadger","cadillac","cadiz","cadmium","cadre","caducei","caduceus","caedmon","caesar","caesura","caf","cafe","cafeteria","caffe","caffeine","caftan","cage","caged","cager","cagey","cagier","cagiest","cagily","caginess","cagney","cahokia","cahoot","cahra","cai","caiaphas","caiman","cain","caine","cairistiona","cairn","cairo","caisson","caitiff","caitlin","caitrin","cajole","cajolement","cajoler","cajolery","cajun","cake","cakephp","cakewalk","cal","calabash","calaboose","calais","calamari","calamine","calamitous","calamitousness","calamity","calayer","calc","calcareous","calcareousness","calciferous","calcification","calcify","calcimine","calcine","calcite","calcium","calcomp","calculability","calculable","calculate","calculated","calculates","calculating","calculatingly","calculation","calculations","calculative","calculator","calculi","calculus","calcutta","calder","caldera","calderon","caldron","caldwell","cale","caleb","caledonia","calendar","calendars","calender","calf","calfskin","calgary","calhoun","cali","caliban","caliber","calibrate","calibrated","calibrater","calibrating","calibration","calibrator","calibri","calico","calicoes","calida","calif","california","californian","californium","caligula","caliper","caliph","caliphate","caliphs","calisthenic","calisthenics","call","calla","callable","callactivityoncreate","callaghan","callahan","callao","callback","callbacks","callean","called","callee","caller","callers","calley","calli","callida","callie","calligraph","calligrapher","calligraphic","calligraphist","calligraphy","calling","callingconvention","calliope","callisthenics","callisto","calloc","callosity","callous","callousness","callout","callow","callowness","calls","callsite","callus","cally","calm","calming","calmness","caloocan","caloric","calorie","calories","calorific","calorimeter","calorimetric","calorimetry","caltech","calumet","calumniate","calumniation","calumniator","calumnious","calumny","calv","calvary","calve","calvert","calves","calvin","calvinism","calvinist","calvinistic","calyces","calypso","calyx","cam","camacho","camala","camaraderie","camber","cambial","cambium","cambodia","cambodian","cambrian","cambric","cambridge","camcorder","camden","came","camel","camelcase","camelhair","camella","camellia","camelopardalis","camelot","camembert","cameo","camera","camerae","cameraman","cameramen","cameras","cameraupdatefactory","camerawoman","camerawomen","cameron","cameroon","cameroonian","camey","cami","camila","camile","camilla","camille","camino","camion","camisole","cammed","cammi","cammie","cammy","camoens","camomile","camouflage","camouflager","camp","campaign","campaigner","campaigns","campanile","campanological","campanologist","campanology","campbell","campbellsport","camper","campesinos","campest","campfire","campground","camphor","campinas","camping","campos","campsite","campus","campy","camry","camshaft","camus","can","canaan","canaanite","canactivate","canad","canada","canadian","canadianism","canal","canaletto","canalization","canalize","canap","canard","canaries","canary","canasta","canaveral","canberra","cancan","cancel","cancelate","cancelbuttontitle","canceled","canceler","cancellation","cancellationtoken","cancelled","cancer","cancerous","cancun","candace","candelabra","candelabrum","candi","candice","candid","candida","candidacy","candidate","candidates","candidature","candide","candidly","candidness","candie","candle","candlelight","candlelit","candlepower","candler","candlestick","candlewick","candor","candra","candy","cane","canebrake","caner","canexecute","canine","caning","canis","canister","caniuse","canker","cankerous","cannabis","canned","cannelloni","canner","cannery","cannes","cannibal","cannibalism","cannibalistic","cannibalization","cannibalize","cannily","canniness","canninesses","canning","cannister","cannon","cannonade","cannonball","cannot","canny","canoe","canoeist","canoga","canon","canonic","canonical","canonicalization","canonicalize","canonist","canonization","canonize","canonized","canopus","canopy","canst","cant","cantabile","cantabrigian","cantaloupe","cantankerous","cantankerousness","cantata","canted","canteen","canter","canterbury","cantered","cantering","canticle","cantilever","canto","canton","cantonal","cantonese","cantonment","cantor","cantrell","cants","cantu","canute","canvas","canvasback","canvass","canvasser","canyon","cap","capabilities","capability","capable","capableness","capabler","capablest","capably","capacious","capaciousness","capacitance","capacitate","capacitive","capacitor","capacity","caparison","cape","capek","capella","caper","capeskin","capet","capetown","caph","capillarity","capillary","capistrano","capita","capital","capitalism","capitalist","capitalistic","capitalistically","capitalization","capitalize","capitalized","capitalizer","capitalizes","capitan","capitation","capitol","capitoline","capitulate","capitulation","caplet","capo","capon","capone","capote","capped","capping","cappuccino","cappy","capra","capri","caprice","capricious","capriciousness","capricorn","caps","capsicum","capsize","capstan","capstone","capsular","capsule","capsulize","capt","captain","captaincy","captcha","caption","captions","captious","captiousness","captivate","captivation","captivator","captive","captivity","captor","capture","captured","capturer","captures","capturing","capulet","caputo","capybara","car","cara","caracalla","caracas","caracul","carafe","caralie","caramel","caramelize","carapace","carapaxes","carat","caravaggio","caravan","caravaner","caravansary","caravanserai","caravel","caraway","carbide","carbine","carbohydrate","carbolic","carboloy","carbon","carbonaceous","carbonate","carbonation","carbondale","carbone","carbonic","carboniferous","carbonization","carbonize","carbonizer","carbonizes","carbonyl","carborundum","carboy","carbuncle","carbuncular","carburetor","carburetter","carburettor","carcase","carcass","carce","carcinogen","carcinogenic","carcinogenicity","carcinoma","card","cardamom","cardboard","cardenas","carder","cardholders","cardiac","cardiff","cardigan","cardin","cardinal","cardinality","carding","cardiod","cardiogram","cardiograph","cardiographs","cardioid","cardiologist","cardiology","cardiomegaly","cardiopulmonary","cardiovascular","cards","cardsharp","cardview","care","cared","careen","career","careerism","careerist","careers","carefree","careful","carefuller","carefullest","carefully","carefulness","caregiver","careless","carelessness","caren","carena","carer","cares","caresa","caress","caressa","caresse","caresser","caressing","caressive","caret","caretaker","careworn","carey","carfare","cargo","cargoes","carhop","carhopped","carhopping","cari","caria","carib","caribbean","caribou","caricature","caricaturisation","caricaturist","caricaturization","carid","carie","caries","caril","carillon","carillonned","carillonning","carilyn","carin","carina","carine","caring","cariotta","carious","carissa","carita","caritta","carjack","carl","carla","carlee","carleen","carlen","carlene","carleton","carletonian","carley","carlie","carlin","carlina","carline","carling","carlita","carlo","carload","carlota","carlotta","carlsbad","carlson","carlton","carly","carlye","carlyle","carlyn","carlynn","carlynne","carma","carmel","carmela","carmelia","carmelina","carmelita","carmella","carmelle","carmelo","carmen","carmencita","carmichael","carmina","carmine","carmita","carmon","carnage","carnal","carnality","carnap","carnation","carnegie","carnelian","carney","carnival","carnivore","carnivorous","carnivorousness","carnot","carny","caro","carob","carol","carola","carolan","carolann","carole","carolee","caroler","carolin","carolina","caroline","carolingian","carolinian","caroljean","carolus","carolyn","carolyne","carolynn","carom","caron","carotene","carotid","carousal","carouse","carousel","carouser","carp","carpal","carpathian","carpel","carpenter","carpentering","carpentry","carper","carpet","carpetbag","carpetbagged","carpetbagger","carpetbagging","carpeting","carpi","carping","carpool","carport","carpus","carr","carrageen","carree","carrel","carri","carriage","carriageway","carrie","carried","carrier","carriers","carrierwave","carries","carrillo","carrion","carrissa","carrol","carroll","carrot","carroty","carrousel","carry","carryall","carrying","carryout","carryover","cars","carsick","carsickness","carson","cart","cartage","carte","cartel","carter","cartesian","carthage","carthaginian","carthorse","cartier","cartilage","cartilaginous","cartload","cartographer","cartographic","cartography","carton","cartoon","cartoonist","cartridge","cartwheel","cartwright","carty","caruso","carve","carven","carver","carving","cary","caryatid","caryl","caryn","cas","casaba","casablanca","casals","casandra","casanova","casar","casbah","cascade","cascades","cascadetype","cascading","cascara","case","casebook","cased","caseharden","casein","caseload","casement","cases","casework","caseworker","casey","cash","cashbook","cashew","cashier","cashless","cashmere","casi","casie","casing","casino","cask","casket","caspar","casper","caspian","cass","cassandra","cassandre","cassandry","cassatt","cassaundra","cassava","casserole","cassette","cassey","cassi","cassia","cassie","cassino","cassiopeia","cassite","cassius","cassock","cassondra","cassowary","cassy","cast","castaneda","castanet","castaway","caste","casted","castellated","caster","castigate","castigation","castigator","castile","castillo","casting","castle","castoff","castor","castrate","castration","castries","castro","casts","casual","casualness","casualty","casuist","casuistic","casuistry","cat","cataclysm","cataclysmal","cataclysmic","catacomb","catafalque","catalan","catalepsy","cataleptic","catalina","catalog","cataloger","catalogue","catalonia","catalpa","catalysis","catalyst","catalytic","catalytically","catalyze","catamaran","catapult","cataract","catarina","catarrh","catarrhs","catastrophe","catastrophic","catastrophically","catatonia","catatonic","catawba","catbird","catboat","catcall","catch","catchable","catchall","catcher","catches","catching","catchment","catchpenny","catchphrase","catchup","catchword","catchy","cate","catechism","catechist","catechize","catecholamine","categoria","categoric","categorical","categorie","categories","categorization","categorize","categorized","category","categoryid","categoryinfo","categoryname","catenate","catenation","cater","catercorner","caterer","caterina","catering","caterpillar","caterwaul","catfish","catgut","catha","catharina","catharine","catharses","catharsis","cathartic","cathay","cathe","cathedral","cathee","cather","catherin","catherina","catherine","catheter","catheterize","cathi","cathie","cathleen","cathlene","cathode","cathodic","catholic","catholicism","catholicity","cathrin","cathrine","cathryn","cathy","cathyleen","cati","catid","catie","catiline","catina","cation","cationic","catkin","catlaina","catlee","catlike","catlin","catnap","catnapped","catnapping","catnip","cato","catrina","catriona","cats","catskill","catsup","catt","cattail","catted","cattery","cattily","cattiness","catting","cattle","cattleman","cattlemen","catty","catullus","catv","catwalk","caty","caucasian","caucasoid","caucasus","cauchy","caucus","caudal","caught","cauldron","cauliflower","caulk","caulker","causal","causality","causate","causation","causative","cause","caused","causeless","causer","causerie","causes","causeway","causing","caustic","caustically","causticity","cauterization","cauterize","cauterized","caution","cautionary","cautioner","cautious","cautiousness","cavalcade","cavalier","cavalierness","cavalry","cavalryman","cavalrymen","cave","caveat","caveats","caveatted","caveatting","caveman","cavemen","cavendish","caver","cavern","cavernous","caviar","cavil","caviler","caving","cavity","cavort","cavour","caw","caxton","cay","caye","cayenne","cayla","cayman","cayuga","cayuse","caz","cazzie","cb","cbc","cbind","cbs","cc","ccc","cccccc","cchaddie","ccp","cctv","ccu","cd","cdata","cdate","cdb","cdc","cde","cdecl","cdef","cdf","cdh","cdi","cdn","cdnjs","cdr","cds","cdt","ce","cease","ceasefire","ceaseless","ceaselessness","ceasing","ceausescu","cebu","cebuano","ceca","cecal","cece","cecelia","cecil","cecile","ceciley","cecilia","cecilio","cecilius","cecilla","cecily","cecum","ced","cedar","cede","ceded","ceder","cedes","cedilla","ceding","cedric","cef","ceil","ceilidh","ceiling","cel","celandine","celanese","cele","celebes","celebrant","celebrate","celebrated","celebratedness","celebration","celebrator","celebratory","celebrity","celene","celerity","celery","celesta","celeste","celestia","celestial","celestina","celestine","celestyn","celestyna","celia","celibacy","celibate","celie","celina","celinda","celine","celinka","celisse","celka","cell","cellar","cellarer","celle","cellforrowat","cellforrowatindexpath","cellidentifier","cellini","cellist","cello","cellophane","cellpadding","cellphone","cells","cellspacing","celltemplate","cellular","cellulite","celluloid","cellulose","cellvalue","celsius","celt","celtic","cement","cementa","cementer","cementum","cemetery","cenobite","cenobitic","cenotaph","cenotaphs","cenozoic","censer","censor","censored","censorial","censorious","censoriousness","censorship","censure","censurer","census","cent","centaur","centaurus","centavo","centenarian","centenary","centennial","center","centerboard","centered","centerer","centerfold","centerhorizontal","centering","centerline","centerpiece","centers","centervertical","centerx","centery","centigrade","centigram","centiliter","centime","centimeter","centipede","centos","central","centralia","centralism","centralist","centrality","centralization","centralize","centralized","centralizer","centralizes","centre","centrefold","centrex","centric","centrifugal","centrifugate","centrifugation","centrifuge","centripetal","centrist","centroid","cents","centuries","centurion","century","ceo","cephalic","cepheid","cepheus","cer","ceramic","ceramicist","ceramist","cerate","cerberus","cereal","cerebellar","cerebellum","cerebra","cerebral","cerebrate","cerebration","cerebrum","cerement","ceremonial","ceremonious","ceremoniousness","ceremony","cerenkov","ceres","cerf","cerise","cerium","cermet","cern","cerr","cert","certain","certainer","certainest","certainly","certainty","certifiable","certifiably","certificate","certificates","certification","certified","certifier","certify","certiorari","certitude","certs","cerulean","cervantes","cervical","cervices","cervix","cesar","cesare","cesarean","cesaro","cesium","cessation","cession","cessna","cesspit","cesspool","cest","cesya","cet","cetacean","cetera","cetus","cex","ceylon","ceylonese","cezanne","cf","cfc","cfg","cfif","cflags","cfm","cfo","cfoutput","cfset","cg","cgal","cgcolor","cgfloat","cgi","cgimage","cglib","cgpoint","cgpointmake","cgrect","cgrectmake","cgsize","cgsizemake","ch","chablis","chad","chadd","chaddie","chaddy","chadian","chadwick","chafe","chafer","chaff","chaffer","chafferer","chaffey","chaffinch","chagall","chagrin","chai","chaim","chain","chained","chaining","chainlike","chains","chainsaw","chair","chairlady","chairlift","chairman","chairmanship","chairmen","chairperson","chairwoman","chairwomen","chaise","chalcedony","chaldea","chaldean","chalet","chalice","chalk","chalkboard","chalkiness","chalkline","chalky","challenge","challenged","challenger","challenges","challenging","challis","chalmers","chamber","chamberer","chamberlain","chambermaid","chamberpot","chambers","chambray","chameleon","chamfer","chammy","chamois","chamomile","champ","champagne","champaign","champion","championship","champlain","chan","chance","chanced","chancel","chancellery","chancellor","chancellorship","chancellorsville","chancery","chances","chancey","chanciness","chancing","chancre","chancy","chanda","chandal","chandelier","chandigarh","chandler","chandra","chandragupta","chandrasekhar","chandy","chane","chanel","chaney","chang","changchun","change","changeabilities","changeability","changeable","changeableness","changeably","changed","changeless","changeling","changelog","changeover","changer","changes","changeset","changing","changsha","channa","channel","channeler","channelid","channeling","channelization","channelize","channellings","channels","channing","chanson","chant","chantal","chantalle","chanter","chanteuse","chantey","chanticleer","chantilly","chantry","chanty","chanukah","chao","chaos","chaotic","chaotically","chap","chaparral","chapbook","chapeau","chapel","chaperon","chaperonage","chaperone","chaperoned","chaplain","chaplaincy","chaplet","chaplin","chapman","chappaquiddick","chapped","chapping","chapter","chapters","char","chara","charabanc","character","characterful","characteristic","characteristically","characteristics","characterizable","characterization","characterize","characterized","characterizer","characterless","characters","charade","chararray","charat","charbroil","charcoal","charcode","charcodeat","chard","chardonnay","charfield","charge","chargeable","chargeableness","charged","charger","chargers","charges","charging","charil","charily","charin","charindex","chariness","chariot","charioteer","charis","charisma","charismata","charismatic","charismatically","charissa","charisse","charita","charitable","charitableness","charitablenesses","charitably","charity","charla","charlady","charlatan","charlatanism","charlatanry","charlean","charleen","charlemagne","charlena","charlene","charles","charleston","charley","charlie","charline","charlot","charlotta","charlotte","charlottesville","charlottetown","charlton","charm","charmain","charmaine","charmane","charmer","charmian","charmin","charmine","charming","charmion","charmless","charo","charolais","charon","charred","charring","chars","charsequence","charset","chart","chartdata","charted","charter","chartered","charterer","charting","chartist","chartres","chartreuse","chartroom","charts","charwoman","charwomen","chary","charybdis","charyl","chas","chase","chaser","chasing","chasity","chasm","chassis","chaste","chastely","chasten","chasteness","chastise","chastisement","chastiser","chastity","chasuble","chat","chateaubriand","chateaus","chats","chattahoochee","chattanooga","chatted","chattel","chatter","chatterbox","chatterer","chatterley","chatterton","chattily","chattiness","chatting","chatty","chaucer","chauffeur","chaunce","chauncey","chautauqua","chauvinism","chauvinist","chauvinistic","chauvinistically","chavez","chaw","chayefsky","chdir","che","cheap","cheapen","cheaper","cheapest","cheapish","cheapness","cheapskate","cheat","cheater","cheating","chechen","chechnya","check","checkable","checkbook","checkbox","checkboxes","checkboxlist","checked","checker","checkerboard","checkin","checking","checklist","checkmark","checkmate","checkoff","checkout","checkpoint","checkroom","checks","checkselfpermission","checkstyle","checksum","checksummed","checksumming","checkup","cheddar","cheek","cheekbone","cheekily","cheekiness","cheeky","cheep","cheer","cheerer","cheerful","cheerfuller","cheerfullest","cheerfulness","cheerily","cheeriness","cheerio","cheerios","cheerleader","cheerless","cheerlessness","cheers","cheery","cheese","cheeseburger","cheesecake","cheesecloth","cheesecloths","cheeseparing","cheesiness","cheesy","cheetah","cheetahs","cheeto","cheever","chef","cheffed","cheffing","chekhov","chelate","chelation","chelsae","chelsea","chelsey","chelsie","chelsy","chelyabinsk","chem","chemic","chemical","chemiluminescence","chemiluminescent","chemise","chemist","chemistry","chemotherapeutic","chemotherapy","chemurgy","chen","cheng","chengdu","chenille","cheops","cher","chere","cherey","cheri","cherianne","cherice","cherida","cherie","cherilyn","cherilynn","cherin","cherise","cherish","cherisher","cheriton","cherlyn","chernenko","chernobyl","cherokee","cheroot","cherri","cherrita","cherry","cherrypy","chert","cherub","cherubic","cherubim","chervil","chery","cherye","cheryl","chesapeake","cheshire","cheslie","chess","chessboard","chessman","chessmen","chest","chester","chesterfield","chesterton","chestful","chestnut","cheston","chesty","chet","chev","chevalier","cheviot","chevrolet","chevron","chevy","chew","chewer","chewiness","chewy","cheyenne","chg","chge","chi","chiang","chianti","chiaroscuro","chiarra","chiba","chic","chicago","chicagoan","chicana","chicane","chicanery","chicano","chichi","chick","chickadee","chickasaw","chicken","chickenfeed","chickenhearted","chickenpox","chickie","chickpea","chickweed","chicky","chicle","chicness","chico","chicory","chide","chiding","chief","chiefdom","chieftain","chiffon","chiffonier","chigger","chignon","chihuahua","chilblain","child","childbearing","childbirth","childbirths","childcare","childes","childhood","childish","childishness","childitem","childless","childlessness","childlike","childlikeness","childminders","childnode","childnodes","childposition","childprocess","childproof","childrearing","children","childs","chile","chilean","chili","chilies","chill","chiller","chilli","chilliness","chilling","chillness","chilly","chilton","chimaera","chimaerical","chimborazo","chime","chimer","chimera","chimeric","chimerical","chimiques","chimney","chimp","chimpanzee","chimu","chin","china","chinaman","chinamen","chinatown","chinchilla","chine","chinese","ching","chink","chinless","chinned","chinner","chinning","chino","chinook","chinstrap","chintz","chintzy","chip","chipboard","chipewyan","chipmunk","chipped","chippendale","chipper","chippewa","chipping","chips","chiquia","chiquita","chiral","chirico","chirography","chiropodist","chiropody","chiropractic","chiropractor","chirp","chirpy","chirrup","chisel","chiseler","chisholm","chisinau","chit","chitchat","chitchatted","chitchatting","chitin","chitinous","chittagong","chitterlings","chivalric","chivalrous","chivalrously","chivalrousness","chivalry","chive","chivvy","chivying","chk","chlamydia","chlamydiae","chlo","chloe","chloette","chloral","chlorate","chlordane","chloride","chlorinate","chlorinated","chlorinates","chlorination","chlorine","chloris","chlorofluorocarbon","chloroform","chlorophyll","chloroplast","chloroquine","chm","chmod","chock","chockablock","chocoholic","chocolate","chocolaty","choctaw","choice","choiceness","choices","choir","choirboy","choirmaster","choke","chokeberry","chokecherry","choker","chokes","choking","choler","cholera","choleric","cholesterol","choline","cholinesterase","chomp","chomsky","chongqing","choose","chooser","chooses","choosiness","choosing","choosy","chop","chophouse","chopin","chopped","chopper","choppily","choppiness","chopping","choppy","chopstick","choral","chorale","chord","chordal","chordata","chordate","chording","chore","chorea","choreograph","choreographer","choreographic","choreographically","choreographs","choreography","chorines","chorion","chorister","choroid","chortle","chortler","chorus","chose","chosen","chou","chow","chowder","chown","chr","chretien","chris","chrism","chrissake","chrisse","chrissie","chrissy","christ","christa","christabel","christabella","christal","christalle","christan","christchurch","christean","christel","christen","christendom","christened","christening","christensen","christenson","christi","christian","christiana","christiane","christianity","christianize","christiano","christians","christiansen","christie","christin","christina","christine","christlike","christmas","christmastide","christmastime","christoffel","christoffer","christoforo","christoper","christoph","christophe","christopher","christophorus","christos","christy","christye","christyna","chrisy","chroma","chromate","chromatic","chromatically","chromaticism","chromaticness","chromatics","chromatin","chromatogram","chromatograph","chromatographic","chromatography","chromic","chromite","chromium","chromosomal","chromosome","chromosphere","chronic","chronically","chronicle","chronicled","chronicler","chrono","chronograph","chronographs","chronography","chronological","chronologist","chronology","chronometer","chronometric","chrotoem","chrysa","chrysalids","chrysalis","chrysanthemum","chrysler","chrysostom","chrystal","chryste","chrystel","chteau","chteaux","chtelaine","chub","chubbiness","chubby","chucho","chuck","chuckhole","chuckle","chuckling","chuff","chug","chugged","chugging","chukchi","chukka","chum","chumash","chummed","chummily","chumminess","chumming","chummy","chump","chumping","chung","chungking","chunk","chunked","chunkiness","chunks","chunksize","chunky","chuntering","church","churchgoer","churchgoing","churchill","churchillian","churchliness","churchly","churchman","churchmen","churchwarden","churchwoman","churchwomen","churchyard","churl","churlish","churlishness","churn","churner","churning","chute","chutney","chutzpa","chutzpah","chutzpahs","chuvash","chyme","ci","cia","ciao","cicada","cicatrice","cicatrix","cicely","cicero","cicerone","ciceroni","ciceronian","cicily","cid","cider","ciel","cigar","cigarette","cigarillo","cilantro","cilia","ciliate","ciliately","cilium","cilka","cin","cinch","cinchona","cincinnati","cincture","cinda","cindee","cindelyn","cinder","cinderella","cindi","cindie","cindra","cindy","cine","cinema","cinematic","cinematographer","cinematographic","cinematography","cinerama","cinnabar","cinnamon","cint","cipher","ciphered","ciphers","ciphertext","cir","circa","circadian","circe","circle","circler","circles","circlet","circuit","circuital","circuitous","circuitousness","circuitry","circuity","circulant","circular","circularity","circularize","circularness","circulate","circulation","circulations","circulative","circulatory","circumcise","circumcised","circumciser","circumcision","circumference","circumferential","circumflex","circumlocution","circumlocutory","circumnavigate","circumnavigation","circumnavigational","circumpolar","circumscribe","circumscription","circumspect","circumspection","circumsphere","circumstance","circumstances","circumstantial","circumvent","circumvention","circus","cirillo","cirilo","ciro","cirque","cirrhoses","cirrhosis","cirrhotic","cirri","cirrus","cis","cisco","cissiee","cissy","cistern","cit","citadel","citation","citations","cite","cited","citibank","cities","citified","citizen","citizenry","citizens","citizenship","citrate","citric","citroen","citron","citronella","citrus","city","cityid","cityname","cityscape","citywide","civet","civic","civics","civil","civilian","civility","civilization","civilizational","civilize","civilized","civilizedness","civilizer","civilizes","civvies","cj","cjs","ck","ckeditor","cl","clack","clad","cladding","clads","claiborn","claiborne","claim","claimable","claimant","claimed","claimer","claiming","claims","clair","claire","clairol","clairvoyance","clairvoyant","clam","clambake","clamber","clamberer","clammed","clammily","clamminess","clamming","clammy","clamor","clamorer","clamorous","clamorousness","clamp","clampdown","clamper","clamshell","clan","clancy","clandestine","clandestineness","clang","clanger","clangor","clangorous","clank","clanking","clannish","clannishness","clansman","clansmen","clap","clapboard","clapeyron","clapped","clapper","clapping","clapton","claptrap","claque","clara","clarabelle","clarance","clare","claremont","clarence","clarendon","claresta","claret","clareta","claretta","clarette","clarey","clari","claribel","clarice","clarie","clarification","clarifier","clarify","clarinda","clarine","clarinet","clarinetist","clarinettist","clarion","clarissa","clarisse","clarita","clarities","clarity","clark","clarke","clarridge","clary","clash","clasher","clasp","clasped","clasper","class","classa","classb","classcastexception","classer","classes","classic","classical","classicism","classicist","classics","classid","classifiable","classification","classificatory","classified","classifier","classify","classiness","classless","classlist","classloader","classmate","classmethod","classname","classnotfoundexception","classpath","classroom","classrunner","classwork","classworlds","classy","clat","clatter","clatterer","clattering","clattery","claude","claudell","claudelle","claudetta","claudette","claudia","claudian","claudianus","claudie","claudina","claudine","claudio","claudius","claus","clausal","clause","clausen","clauses","clausewitz","clausius","claustrophobia","claustrophobic","clave","clavichord","clavicle","clavier","claw","clawer","clay","clayborn","clayborne","claybourne","clayey","clayier","clayiest","claymore","clayson","clayton","clazz","clea","clean","cleanable","cleaned","cleaner","cleanest","cleaning","cleanliness","cleanly","cleanness","cleans","cleanse","cleanser","cleanup","clear","clearance","clearcolor","clearcut","cleared","clearer","clearfix","clearheaded","clearheadedness","clearing","clearinghouse","clearinterval","clearly","clearness","clearrect","clears","cleartimeout","clearwater","clearway","cleat","cleavage","cleave","cleaver","cleavland","clef","cleft","clem","clematis","clemence","clemenceau","clemency","clement","clemente","clementia","clementina","clementine","clementius","clements","clemmie","clemmy","clemons","clemson","clench","clenches","clenching","cleo","cleon","cleopatra","clerc","clerestory","clergy","clergyman","clergymen","clergywoman","clergywomen","cleric","clerical","clericalism","clerissa","clerk","clerkship","cletis","cletus","cleve","cleveland","clever","cleverness","clevey","clevie","clevis","clew","clf","cli","cliburn","clich","clichd","click","clickable","clicked","clicker","clickhandler","clicking","clickonce","clicks","client","clientcontext","cliente","clientheight","clientid","clientle","clientname","clients","clientsecret","clientsocket","clientwidth","clientx","clienty","cliff","cliffhanger","cliffhanging","clifford","clifton","clim","climacteric","climactic","climate","climatic","climatically","climatological","climatologist","climatology","climax","climb","climbable","climbdown","climbed","climber","clime","clinch","clincher","clinching","cline","cling","clinger","clinging","clingy","clinic","clinical","clinician","clinit","clink","clinker","clinometer","clint","clinton","clio","cliometric","cliometrician","clip","clipboard","clipped","clipper","clipping","clips","clique","cliquey","cliquier","cliquiest","cliquish","cliquishness","clitoral","clitorides","clitoris","clive","clj","clk","cllocation","cllocationcoordinate","cllocationmanager","clo","cloaca","cloacae","cloak","cloakroom","clob","clobber","cloche","clock","clocker","clockmaker","clocks","clockwatcher","clockwise","clockwork","clod","clodded","clodding","cloddish","cloddishness","clodhopper","cloe","clog","clogged","clogging","cloisonn","cloisonnes","cloister","cloistral","clojure","clomp","clonal","clone","cloned","clones","cloning","clonk","clop","clopped","clopping","cloris","close","closed","closefisted","closehandle","closely","closemouthed","closeness","closeout","closer","closers","closes","closest","closet","closeup","closing","closure","closured","closures","closuring","clot","cloth","clothbound","clothe","clothes","clothesbrush","clotheshorse","clothesline","clothesman","clothesmen","clothespin","clothier","clothing","clotho","cloths","clotilda","clotted","clotting","cloture","cloud","cloudburst","clouded","cloudera","cloudflare","cloudformation","cloudfront","cloudiness","cloudless","cloudlessness","clouds","cloudscape","cloudwatch","cloudy","clout","clove","cloven","clover","cloverleaf","clovis","clown","clownish","clownishness","cloy","cloying","clr","cls","clsid","club","clubbed","clubbing","clubfeet","clubfoot","clubhouse","clubroom","clubs","cluck","clue","clueless","clues","cluj","clump","clumpy","clumsily","clumsiness","clumsy","clung","clunk","clunky","cluster","clustered","clustering","clusters","clutch","clutter","cluttered","cly","clyde","clydesdale","clytemnestra","clyve","clywd","cm","cmake","cmakefiles","cmakelists","cmap","cmath","cmd","cmdlet","cmdline","cmds","cmos","cmp","cms","cmu","cn","cname","cnf","cnidarian","cnn","cns","cnt","co","coach","coacher","coachman","coachmen","coachwork","coadjutor","coagulable","coagulant","coagulate","coagulation","coagulator","coal","coaler","coalesce","coalescence","coalescent","coalface","coalfield","coalition","coalitionist","coalminers","coarse","coarsen","coarseness","coast","coastal","coaster","coastguard","coastline","coat","coated","coates","coating","coattail","coattest","coauthor","coax","coaxer","coaxial","coaxing","cob","cobain","cobalt","cobb","cobbed","cobbie","cobbing","cobble","cobbler","cobblestone","cobby","coble","cobol","cobra","cobweb","cobwebbed","cobwebbing","cobwebby","coca","cocaine","cocci","coccus","coccyges","coccyx","cochabamba","cochin","cochineal","cochise","cochlea","cochleae","cochlear","cochran","cock","cockade","cockamamie","cockatoo","cockatrice","cockcrow","cocker","cockerel","cockeye","cockeyed","cockfight","cockfighting","cockily","cockiness","cockle","cocklebur","cockleshell","cockney","cockpit","cockroach","cockscomb","cockshies","cocksucker","cocksure","cocktail","cocky","coco","cocoa","cocoapods","coconut","cocoon","cocos","cocteau","cod","coda","codded","codding","coddle","coddler","code","codebase","codebehind","codebook","codebreak","codec","codecs","coded","codee","codegen","codehaus","codeigniter","codeine","codemirror","codename","codepad","codepen","codependency","codependent","codeplex","codeproject","coder","coders","codes","codesandbox","codetermine","codeword","codex","codfish","codger","codi","codices","codicil","codie","codification","codifier","codify","codigo","coding","codling","codpiece","cody","coed","coedited","coediting","coeditor","coedits","coeducation","coeducational","coef","coeff","coefficient","coefficients","coelenterate","coequal","coerce","coercer","coercible","coercion","coercive","coerciveness","coeval","coexist","coexistence","coexistent","coextensive","cofactor","coffee","coffeecake","coffeecup","coffeehouse","coffeemaker","coffeepot","coffeescript","coffer","cofferdam","coffey","coffin","coffman","cog","cogency","cogent","cogged","cogging","cogitate","cogitation","cogitator","cognac","cognate","cognation","cognition","cognitional","cognitive","cognito","cognizable","cognizance","cognizances","cognizant","cognomen","cognoscente","cognoscenti","cogwheel","cohabit","cohabitant","cohabitation","cohabitational","cohan","coheir","cohen","cohere","coherence","coherencies","coherency","coherent","coherer","cohesion","cohesive","cohesiveness","cohn","coho","cohoes","cohort","coif","coiffed","coiffing","coiffure","coil","coimbatore","coin","coinage","coincide","coincidence","coincident","coincidental","coined","coiner","coins","coinsurance","cointon","cointreau","coital","coitus","coke","col","cola","colan","colander","colas","colatitude","colb","colbert","colby","cold","coldblooded","coldfusion","coldish","coldness","cole","coleen","coleman","colene","coleridge","coleslaw","colet","coletta","colette","coleus","colfax","colgate","colic","colicky","coliform","colin","coliru","coliseum","colitis","coll","collaborate","collaboration","collaborative","collaborator","collage","collagen","collapse","collapsed","collapsibility","collapsible","collapsing","collar","collarbone","collard","collarless","collate","collated","collateral","collation","collator","colleague","colleagues","collect","collected","collectedness","collectible","collecting","collection","collections","collectionview","collective","collectivism","collectivist","collectivity","collectivization","collectivize","collector","collectors","collects","colleen","college","colleges","collegiality","collegian","collegiate","collen","collete","collette","collide","collider","collie","collier","colliery","collimate","collimated","collimates","collimating","collimation","collimator","collin","colline","collinear","collinearity","collision","collisional","collisions","collocate","collocation","colloid","colloidal","colloq","colloquial","colloquialism","colloquies","colloquium","colloquy","collude","collusion","collusive","colly","collying","colman","colname","colnames","colo","cologne","colombia","colombian","colombo","colon","colonel","colonelcy","colonial","colonialism","colonialist","colonist","colonization","colonize","colonized","colonizer","colonizes","colonnade","colons","colony","colophon","color","coloraccent","coloradan","colorado","coloradoan","colorant","coloration","coloratura","colorbar","colorblind","colorblindness","colorbox","colored","colorer","colorfast","colorfastness","colorful","colorfulness","colorimeter","colorimetry","colorindex","coloring","colorization","colorize","colorizing","colorless","colorlessness","colormap","colorprimary","colorprimarydark","colors","colorspace","colorwithred","colossal","colosseum","colossi","colossus","colostomy","colostrum","colour","colours","cols","colspan","colt","colter","coltish","coltishness","coltrane","columbia","columbian","columbine","columbus","column","columna","columnar","columncount","columndefinition","columndefinitions","columnindex","columnist","columnize","columnname","columnnames","columns","columnspan","columnwidth","colver","com","coma","comae","comaker","comanche","comatose","comb","combat","combatant","combative","combativeness","combed","comber","combination","combinational","combinations","combinator","combinatorial","combinatoric","combine","combined","combiner","combines","combining","combo","combobox","comboboxitem","combs","combusted","combustibility","combustible","combustion","combustive","comcast","comdex","comdr","come","comeback","comedian","comedic","comedienne","comedown","comedy","comeliness","comely","comer","comes","comestible","comet","cometary","cometh","comeuppance","comfit","comfort","comfortability","comfortable","comfortableness","comfortably","comforted","comforter","comforting","comfy","comic","comical","comicality","cominform","coming","comity","comm","comma","command","commandant","commandargument","commandbutton","commandeer","commander","commanding","commandline","commandlink","commandment","commandname","commando","commandparameter","commandrunnerimpl","commands","commandtext","commandtype","commas","commemorate","commemoration","commemorative","commemorator","commence","commencement","commencer","commend","commendably","commendation","commendatory","commender","commensurable","commensurate","commensurates","commensuration","comment","commentary","commentate","commentator","commented","commenter","commenting","comments","commerce","commercial","commercialism","commercialization","commercialize","commie","commingle","commiserate","commiseration","commissar","commissariat","commissary","commission","commissioner","commit","commitment","commits","committable","committal","committals","committed","committee","committeeman","committeemen","committeewoman","committeewomen","committing","commode","commodes","commodious","commodiousness","commodity","commodo","commodore","common","commonality","commonalty","commondatakinds","commoner","commonjs","commonly","commonness","commonplace","commonplaceness","commons","commonsense","commonweal","commonwealth","commonwealths","commotion","communal","communality","commune","communicability","communicable","communicably","communicant","communicate","communicates","communicating","communication","communicational","communications","communicative","communicativeness","communicator","communion","communique","communism","communist","communistic","communitarian","communities","community","communize","commutable","commutate","commutation","commutative","commutativity","commutator","commute","commuter","comoros","comp","compact","compaction","compactness","compactor","companies","companion","companionable","companionableness","companionably","companionship","companionway","company","companyid","companyname","compaq","comparabilities","comparability","comparable","comparableness","comparably","comparative","comparativeness","comparator","compare","compared","comparer","compares","compareto","comparing","comparison","comparisons","compartment","compartmental","compartmentalization","compartmentalize","compass","compassion","compassionate","compassionateness","compat","compatibility","compatible","compatibleness","compatibly","compatriot","compeer","compel","compellable","compelled","compelling","compendious","compendium","compensable","compensate","compensated","compensation","compensator","compensatory","compete","competence","competency","competent","competing","competition","competitive","competitiveness","competitor","competitors","compilable","compilation","compile","compiled","compiler","compilers","compilerservices","compiles","compilesdkversion","compiling","complacence","complacency","complacent","complain","complainant","complainer","complaining","complains","complaint","complaints","complaisance","complaisant","complected","complement","complementariness","complementarity","complementary","complementation","complementer","completablefuture","complete","completed","completely","completeness","completer","completes","completing","completion","completionhandler","complex","complexion","complexional","complexity","complexness","complextype","compliance","compliant","complicate","complicated","complicatedness","complication","complicator","complicit","complicity","complier","compliment","complimentary","complimenter","comply","component","componentdidmount","componentinfo","componentmodel","componentname","components","componentscan","componentwillmount","comport","comportment","compose","composed","composedness","composer","composers","composite","composition","compositional","compositions","compositor","compost","composure","compote","compound","compoundbutton","compounded","compounder","comprehend","comprehending","comprehensibility","comprehensible","comprehensibleness","comprehensibly","comprehension","comprehensions","comprehensive","comprehensiveness","compress","compressed","compressformat","compressibility","compressible","compressing","compression","compressional","compressive","compressor","comprise","compromise","compromised","compromiser","compromising","compton","comptroller","compulsion","compulsive","compulsiveness","compulsivity","compulsorily","compulsory","compunction","compuserve","computability","computable","computably","computation","computational","computations","compute","computed","computer","computerese","computerization","computerize","computername","computers","computes","computing","comrade","comradely","comradeship","comte","con","conakry","conan","conant","concat","concatenate","concatenated","concatenating","concatenation","concave","concaveness","conceal","concealed","concealer","concealing","concealment","conceded","conceit","conceited","conceitedness","conceivable","conceivably","conceive","conceiver","concentrate","concentration","concentrator","concentrically","concepcin","concept","conception","conceptional","concepts","conceptual","conceptuality","conceptualization","conceptualizations","conceptualize","conceptualizing","conceptually","concern","concerned","concerning","concerns","concert","concerted","concertina","concertize","concertmaster","concerto","concession","concessionaire","concessional","concessionary","concetta","concettina","conch","conchita","conchs","concierge","conciliar","conciliate","conciliation","conciliator","conciliatory","concise","conciseness","concision","conclave","conclude","concluder","conclusion","conclusions","conclusive","conclusiveness","concoct","concocter","concoction","concomitant","concord","concordance","concordant","concordat","concorde","concordia","concourse","concrete","concreteness","concretion","concubinage","concubine","concupiscence","concupiscent","concur","concurrence","concurrency","concurrent","concurrenthashmap","concurrently","concuss","concussion","cond","conda","condemn","condemnate","condemnation","condemnatory","condemner","condensate","condensation","condense","condensed","condenser","condensible","condescend","condescending","condescension","condign","condiment","condimentum","condition","conditional","conditionally","conditionals","conditioned","conditioner","conditioning","conditions","condo","condole","condolence","condom","condominium","condone","condoner","condor","condorcet","conduce","conducive","conduciveness","conduct","conductance","conductibility","conductible","conduction","conductive","conductivity","conductor","conductress","conduit","coneflower","conestoga","coney","conf","confab","confabbed","confabbing","confabulate","confabulation","confect","confection","confectioner","confectionery","confectionist","confederacy","confederate","confer","conferee","conference","conferences","conferrable","conferral","conferred","conferrer","conferring","confessed","confession","confessional","confessor","confetti","confidant","confidante","confide","confidence","confident","confidential","confidentiality","confidentialness","confider","confiding","config","configchanges","configfile","configs","configsections","configurable","configuration","configurationmanager","configurations","configure","configured","configureservices","configuring","confine","confined","confinement","confiner","confirm","confirmation","confirmatory","confirmed","confirmedness","confirmpassword","confirms","confiscate","confiscation","confiscator","confiscatory","conflagration","conflate","conflation","conflict","conflicting","conflicts","confluence","confluent","conform","conformable","conformal","conformance","conformational","conformer","conforming","conformism","conformist","conformities","conformity","conforms","confound","confounded","confront","confrontation","confrontational","confronter","confrre","confucian","confucianism","confucius","confuse","confused","confusedness","confuses","confusing","confusion","confutation","confute","confuter","cong","conga","congeal","congealment","congenial","congeniality","conger","congeries","congest","congestion","conglomerate","conglomeration","congo","congolese","congrats","congratulate","congratulation","congratulations","congratulatory","congregate","congregation","congregational","congregationalism","congregationalist","congress","congressional","congressman","congressmen","congresspeople","congressperson","congresswoman","congresswomen","congreve","congruence","congruences","congruency","congruent","congruential","congruity","congruous","congruousness","congue","conic","conical","conicalness","conics","conifer","coniferous","conjectural","conjecture","conjecturer","conjoint","conjugacy","conjugal","conjugate","conjugation","conjunct","conjunction","conjunctiva","conjunctive","conjunctivitis","conjuration","conjure","conjurer","conjuring","conk","conker","conley","conman","conn","connect","connected","connectedly","connectedness","connectible","connecticut","connecting","connection","connectionfactory","connectionhandler","connectionimpl","connectionless","connectionmanager","connectionpool","connectionresult","connections","connectionstring","connectionstrings","connective","connectivity","connectivitymanager","connector","connectors","connects","connelly","conner","connery","connexion","conney","conni","connie","conniption","connivance","connive","conniver","connoisseur","connor","connotative","connstring","connubial","conny","conquer","conquerable","conquered","conqueror","conquers","conquest","conquistador","conrad","conrade","conrado","conrail","conroy","cons","consalve","consanguineous","consanguinity","conscienceless","conscientious","conscientiousness","conscionable","conscious","consciousness","conscription","consecrate","consecrated","consecrates","consecrating","consecration","consectetur","consecutive","consecutiveness","consensus","consent","consenter","consenting","consequat","consequence","consequences","consequent","consequential","consequentiality","consequentialness","consequently","conservancy","conservation","conservationism","conservationist","conservatism","conservative","conservativeness","conservator","conservatory","consider","considerable","considerables","considerably","considerate","considerateness","consideration","considerations","considered","considerer","considering","considers","consign","consignee","consignment","consist","consistence","consistency","consistent","consistently","consisting","consistory","consists","consolable","consolata","consolation","consolatory","console","consoleapplication","consoled","consoler","consolidate","consolidated","consolidates","consolidation","consolidator","consoling","consomm","consonance","consonances","consonant","consonantal","consortia","consortium","conspectus","conspicuous","conspicuousness","conspiracy","conspirator","conspiratorial","const","constable","constabulary","constance","constancia","constancy","constant","constanta","constantia","constantin","constantina","constantine","constantino","constantinople","constantly","constants","constellation","consternate","consternation","constexpr","constipate","constipation","constituency","constituent","constitute","constituted","constitutes","constituting","constitution","constitutional","constitutionality","constitutionally","constitutive","constr","constrain","constrained","constrainedly","constraint","constraintbottom","constraintend","constraintlayout","constraints","constraintstart","constrainttop","constrict","constriction","constrictor","construable","construct","constructed","constructibility","constructible","constructing","construction","constructional","constructionist","constructions","constructive","constructiveness","constructor","constructorresolver","constructors","constructs","construe","consuela","consuelo","consul","consular","consulate","consulship","consult","consultancy","consultant","consultation","consultative","consulted","consulter","consulting","consumable","consume","consumed","consumer","consumerism","consumerist","consumers","consumes","consuming","consummate","consummated","consumption","consumptive","cont","contact","contacted","contactform","contactid","contacting","contactlist","contactname","contacts","contactscontract","contagion","contagious","contagiousness","contain","contained","container","containerbase","containerization","containerize","containers","containerview","containing","containment","contains","containskey","contaminant","contaminate","contaminated","contaminates","contaminating","contamination","contaminative","contaminator","contd","contemn","contemplate","contemplation","contemplative","contemplativeness","contemporaneity","contemporaneous","contemporaneousness","contempt","contemptible","contemptibleness","contemptibly","contemptuous","contemptuousness","content","contentcontrol","contentdescription","contented","contenteditable","contentedly","contentedness","contention","contentious","contentiousness","contentlength","contently","contentment","contentmode","contentoffset","contentpage","contentpane","contentplaceholder","contentpresenter","contentprovider","contentresolver","contents","contentsize","contenttemplate","contenttype","contentvalues","contentview","contentwindow","conterminous","contest","contestable","contestant","contested","context","contextcompat","contexthandler","contextloader","contextloaderlistener","contextmenu","contextpath","contexts","contextual","contextualize","contiguity","contiguous","contiguousness","continence","continent","continental","continents","contingency","contingent","continua","continuable","continual","continually","continuance","continuant","continuation","continue","continued","continuer","continues","continuewith","continuing","continuity","continuous","continuously","continuousness","continuum","contort","contortion","contortionist","contour","contours","contra","contraband","contrabass","contraception","contraceptive","contract","contractible","contractile","contractor","contracts","contractual","contradict","contradiction","contradictorily","contradictoriness","contradictory","contradistinction","contraflow","contrail","contraindicate","contraindication","contralto","contrapositive","contraption","contrapuntal","contrariety","contrarily","contrariness","contrariwise","contrary","contrast","contrasting","contrastive","contravene","contravener","contravention","contreras","contretemps","contrib","contribute","contributed","contributing","contribution","contributions","contributive","contributor","contributorily","contributors","contributory","contrite","contriteness","contrition","contrivance","contrive","contrived","contriver","control","controlid","controllability","controllable","controllably","controlled","controller","controllercontext","controllername","controllers","controlling","controls","controltemplate","controltovalidate","controversial","controversialists","controversy","controvert","controvertible","contumacious","contumacy","contumelious","contumely","contuse","contusion","conundrum","conurbation","conv","convalesce","convalescence","convalescent","convallis","convect","convection","convectional","convector","convene","convener","convenience","convenient","conveniently","conventicle","convention","conventional","conventionalism","conventionalist","conventionality","conventionalize","conventions","convergence","convergent","conversant","conversation","conversational","conversationalist","conversations","conversazione","converse","conversion","conversioning","conversions","convert","converted","converter","converters","convertibility","convertible","convertibleness","converting","converts","convertto","convertview","convex","convexity","convey","conveyance","conveyancer","conveyancing","conveyor","convict","conviction","convince","convinced","convincer","convincing","convincingness","convivial","conviviality","convoke","convolute","convoluted","convolution","convolve","convolved","convolves","convolving","convoy","convulse","convulsion","convulsive","convulsiveness","conway","cony","coo","cook","cookbook","cooke","cooked","cooker","cookery","cookie","cookiecontainer","cookies","cooking","cookout","cooks","cookware","cooky","cool","coolant","cooled","cooler","cooley","coolheaded","coolidge","coolie","coolness","coon","coonskin","coop","cooper","cooperage","cooperate","cooperation","cooperative","cooperativeness","cooperator","coord","coordinate","coordinated","coordinateness","coordinates","coordination","coordinator","coordinatorlayout","coords","coors","coot","cootie","cop","copay","cope","copeland","copenhagen","coper","copernican","copernicus","copied","copier","copies","copilot","coping","copious","copiousness","coplanar","copland","copley","copolymer","copora","copped","copper","copperfield","copperhead","copperplate","coppersmith","coppersmiths","coppery","coppice","copping","coppola","copra","coprolite","coprophagous","cops","copse","copter","coptic","copula","copulate","copulation","copulative","copy","copybook","copycat","copycatted","copycatting","copying","copyist","copyright","copyrighter","copyto","copywriter","coquetry","coquette","coquettish","cor","cora","corabel","corabella","corabelle","coracle","coral","coralie","coraline","coralline","coralyn","corba","corbel","corbet","corbett","corbie","corbin","corby","cord","corda","cordage","corded","cordelia","cordelie","cordell","corder","cordey","cordi","cordial","cordiality","cordialness","cordie","cordillera","cordilleras","cording","cordite","cordless","cordoba","cordon","cordova","cordovan","cordula","corduroy","cordy","core","cored","coredata","coreen","corefoundation","corella","corenda","corene","corer","cores","corespondent","coretta","corette","corey","corfu","corgi","cori","coriander","corie","corilla","corina","corine","coring","corinna","corinne","corinth","corinthian","corinthians","coriolanus","coriolis","coriss","corissa","cork","corked","corker","corks","corkscrew","corliss","corly","corm","cormack","cormorant","corn","cornall","cornball","cornbread","corncob","corncrake","cornea","corneal","corneille","cornela","cornelia","cornelius","cornell","cornelle","corner","cornerradius","corners","cornerstone","cornet","corney","cornfield","cornflake","cornflour","cornflower","cornice","cornie","cornily","corniness","cornish","cornmeal","cornrow","cornstalk","cornstarch","cornucopia","cornwall","cornwallis","corny","corolla","corollary","corona","coronado","coronal","coronary","coronate","coronation","coroner","coronet","corot","coroutine","coroutines","corp","corpora","corporal","corporate","corporately","corporation","corporations","corporatism","corporatist","corporeal","corporeality","corporealness","corps","corpse","corpsman","corpsmen","corpulence","corpulent","corpulentness","corpus","corpuscle","corpuscular","corr","corral","corralled","corralling","correct","correctable","corrected","correcting","correction","correctional","corrections","corrective","correctly","correctness","corrector","correggio","correlate","correlated","correlation","correlative","correna","correspond","correspondence","correspondent","corresponding","corresponds","correy","corri","corrianne","corridor","corrie","corrigenda","corrigendum","corrigible","corrina","corrine","corrinne","corroborate","corroborated","corroboration","corroborative","corroborator","corroboratory","corrode","corrodible","corrosion","corrosive","corrosiveness","corrugate","corrugation","corrupt","corrupted","corrupter","corruptibility","corruptible","corruption","corruptions","corruptive","corruptness","corry","cors","corsage","corsair","corset","corsica","corsican","cort","cortes","cortex","cortez","cortge","cortical","cortices","corticosteroid","cortie","cortisone","cortland","cortney","corty","corundum","coruscate","coruscation","corvallis","corvette","corvus","cory","cos","cosby","cosetta","cosette","cosign","cosignatory","cosily","cosimo","cosine","cosiness","cosme","cosmetic","cosmetically","cosmetician","cosmetologist","cosmetology","cosmic","cosmical","cosmo","cosmogonist","cosmogony","cosmological","cosmologist","cosmology","cosmonaut","cosmopolitan","cosmopolitanism","cosmos","cosponsor","cossack","cosset","cost","costa","costanza","costar","costarred","costarring","costello","costive","costiveness","costless","costliness","costly","costner","costs","costume","costumer","cot","cotangent","cote","coterie","coterminous","cotillion","cotonou","cotopaxi","cottage","cottager","cottar","cotted","cotter","cotton","cottonmouth","cottonmouths","cottonseed","cottontail","cottonwood","cottony","cotyledon","couch","couchbase","couchdb","couching","cougar","cough","cougher","coughs","could","couldn","couldnt","coule","coulomb","council","councilman","councilmen","councilor","councilperson","councilwoman","councilwomen","counsel","counsellings","counselor","count","countability","countable","countably","countdown","countdowntimer","counted","countenance","countenancer","counter","counteract","counteraction","counterargument","counterattack","counterbalance","counterclaim","counterclockwise","counterculture","countercyclical","counterespionage","counterexample","counterfeit","counterfeiter","counterflow","counterfoil","counterforce","counterinsurgency","counterintelligence","counterintuitive","counterman","countermand","countermeasure","countermen","counteroffensive","counteroffer","counterpane","counterpart","counterpoint","counterpoise","counterproductive","counterproposal","counterrevolution","counterrevolutionary","counters","countersign","countersignature","countersink","counterspy","counterstrike","countersunk","countertenor","countervail","counterweight","countess","countif","counting","countless","countries","countrify","country","countrycode","countryid","countryman","countrymen","countryname","countryside","countrywide","countrywoman","countrywomen","counts","county","coup","coupe","couperin","couple","coupled","coupler","couplers","couples","couplet","coupling","coupon","coupons","courage","courageous","courageously","courageousness","courages","courbet","courgette","courier","course","courseid","coursename","courser","courses","coursework","coursing","court","courtenay","courteous","courteousness","courteousnesses","courtesan","courtesied","courtesy","courtesying","courthouse","courtier","courtliness","courtly","courtnay","courtney","courtroom","courts","courtship","courtyard","couscous","cousin","cousinly","cousteau","cout","couture","couturier","cov","covalent","covariance","covariant","covariate","covary","cove","coven","covenant","covenanted","covenanter","covent","coventry","cover","coverable","coverage","coverall","covered","coverer","covering","coverlet","covers","coversheet","covert","covertness","covet","coveter","coveting","covetous","covetousness","covey","covington","cow","coward","cowardice","cowardliness","cowardly","cowbell","cowbird","cowboy","cowcatcher","cowed","cower","cowering","cowgirl","cowhand","cowherd","cowhide","cowl","cowley","cowlick","cowling","cowman","cowmen","coworker","cowper","cowpoke","cowpony","cowpox","cowpunch","cowpuncher","cowrie","cowshed","cowslip","cox","coxcomb","coxswain","coy","coyer","coyest","coyly","coyness","coyote","coyoteadapter","coypu","cozen","cozenage","cozily","coziness","cozmo","cozumel","cozy","cp","cpa","cpan","cpanel","cpd","cpi","cpl","cplusplus","cpo","cpp","cppreference","cpr","cps","cpt","cpu","cpus","cpython","cq","cql","cr","crab","crabapple","crabbe","crabbed","crabbedness","crabber","crabbily","crabbiness","crabbing","crabby","crabgrass","crablike","crack","crackable","crackdown","cracker","crackerjack","crackle","crackling","crackly","crackpot","crackup","cradle","cradler","cradling","craft","craftily","craftiness","craftsman","craftsmanship","craftsmen","craftspeople","craftspersons","craftswoman","craftswomen","crafty","crag","craggie","cragginess","craggy","craig","craigslist","cram","cramer","crammed","crammer","cramming","cramp","cramper","crampon","cran","cranach","cranberry","crandall","crane","cranelike","cranford","cranial","cranium","crank","crankcase","crankily","crankiness","crankshaft","cranky","cranmer","cranny","cranston","crap","crape","crapped","crappie","crapping","crappy","crapshooter","cras","crash","crashed","crasher","crashes","crashing","crashlytics","crass","crassness","crate","crater","cravat","cravatted","cravatting","crave","craven","cravenness","craver","craving","craw","crawdad","crawfish","crawford","crawl","crawler","crawling","crawlspace","crawlway","crawly","cray","crayfish","crayola","crayon","craze","crazily","craziness","crazy","crc","crche","creak","creakily","creakiness","creaky","cream","creamer","creamery","creamily","creaminess","creamy","crease","creased","creases","creasing","creat","create","createbean","createbitmap","createchooser","createclass","createcommand","createconnection","createcriteria","created","createdat","createdate","createdby","createddate","createdon","createelement","createfile","createinstance","createmap","createobject","createobjecturl","createparallelgroup","createquery","creates","createserver","createstatement","createtable","createtextnode","createuser","createview","creating","creation","creationdate","creationism","creationist","creative","creativeness","creativities","creativity","creator","creators","creature","creatureliness","creaturely","cred","credence","credent","credential","credentials","credenza","credibility","credible","credibly","credit","creditability","creditable","creditableness","creditably","credited","creditor","credits","creditworthiness","credo","creds","credulity","credulous","credulousness","cree","creed","creedal","creeds","creek","creekside","creel","creep","creeper","creepily","creepiness","creepy","cref","creigh","creight","creighton","cremate","cremation","crematoria","crematorium","crematory","creme","crenelate","crenelation","creole","creon","creosote","crepe","crept","crescendo","crescendoed","crescendoing","crescent","cress","crest","crestfallen","crestfallenness","cresting","crestless","crestview","cretaceous","cretaceously","cretan","crete","cretin","cretinism","cretinous","cretonne","crevasse","crevice","crew","crewel","crewelwork","crewman","crewmen","crib","cribbage","cribbed","cribber","cribbing","crichton","crick","cricket","cricketer","cried","crier","cries","crime","crimea","crimean","crimes","criminal","criminality","criminalization","criminalize","criminologist","criminology","crimp","crimper","crimson","crin","cringe","cringer","crinkle","crinkly","crinoline","cripple","crippler","crippling","cris","crisco","crises","crisis","crisp","crisper","crispiness","crispness","crispy","criss","crisscross","crissie","crissy","crista","cristabel","cristal","cristen","cristi","cristian","cristiano","cristie","cristin","cristina","cristine","cristionna","cristobal","cristy","crit","criteria","criterion","critic","critical","criticality","critically","criticalness","criticism","criticize","criticized","criticizer","criticizes","criticizing","criticizingly","critique","critter","crlf","crm","croak","croaker","croaky","croat","croatia","croatian","croce","crochet","crocheter","crock","crockery","crockett","crockpot","crocodile","crocus","croesus","croft","crofter","croissant","croix","cromwell","cromwellian","cron","crone","cronin","cronjob","cronkite","crontab","cronus","crony","crook","crooked","crookedness","crookes","crookneck","croon","crooner","crop","cropland","cropped","cropper","cropping","croquet","croquette","crosby","crosier","cross","crossarm","crossbar","crossbarred","crossbarring","crossbeam","crossbones","crossbow","crossbowman","crossbowmen","crossbred","crossbreed","crosscheck","crosscurrent","crosscut","crosscutting","crossdomain","crossed","crosses","crossfire","crosshatch","crossing","crossness","crossorigin","crossover","crosspatch","crosspiece","crosspoint","crossproduct","crossroad","crossroads","crosstalk","crosstown","crosswalk","crossway","crosswind","crosswise","crossword","crotch","crotchet","crotchetiness","crotchety","crotchless","croton","crouch","croup","croupier","croupy","crow","crowbait","crowbar","crowbarred","crowbarring","crowd","crowded","crowdedness","crowfeet","crowfoot","crowley","crown","crowned","crowner","crozier","crs","crt","crucial","crucible","crucifiable","crucifix","crucifixion","cruciform","crucify","crud","crudded","crudding","cruddy","crude","crudeness","crudits","crudity","cruel","cruelness","cruelty","cruet","cruft","crufty","cruikshank","cruise","cruiser","cruller","crumb","crumble","crumbliness","crumbly","crumby","crumminess","crummy","crump","crumpet","crumple","crunch","crunchiness","crunchy","crupper","crusade","crusader","cruse","crush","crushable","crusher","crushing","crushproof","crusoe","crust","crustacean","crustal","crustily","crustiness","crusty","crutch","crux","cruz","cry","crybaby","cryogenic","cryogenics","cryostat","cryosurgery","crypt","cryptanalysis","cryptanalyst","cryptanalytic","cryptic","cryptically","crypto","cryptogram","cryptographer","cryptographic","cryptographically","cryptography","cryptologic","cryptological","cryptologist","cryptology","cryptozoic","crysta","crystal","crystalline","crystallite","crystallization","crystallize","crystallized","crystallizes","crystallizing","crystallographer","crystallographic","crystallography","crystie","cs","csc","cse","csharp","cshtml","csp","csproj","csr","csrf","csrftoken","css","cssclass","cssmenu","cssref","cssselector","cst","cstdlib","cstr","cstring","csv","csvfile","ct","cte","cthrine","ctime","ctl","ctn","ctor","ctp","ctr","ctrl","cts","ctx","ctype","ctypes","cu","cub","cuba","cuban","cubbed","cubbing","cubbyhole","cube","cuber","cubes","cubic","cubical","cubicle","cubism","cubist","cubit","cuboid","cuchulain","cuckold","cuckoldry","cuckoo","cucumber","cud","cuda","cuddle","cuddly","cudgel","cue","cuff","cuisinart","cuisine","culbertson","culinary","cull","cullan","cullen","cullender","culler","culley","cullie","cullin","cully","culminate","culmination","culotte","culpa","culpability","culpable","culpableness","culpably","culprit","cult","cultism","cultist","cultivable","cultivate","cultivated","cultivation","cultivator","cultural","culture","cultured","cultureinfo","cultures","culver","culvert","cum","cumber","cumberland","cumbersome","cumbersomeness","cumbrous","cumin","cummerbund","cummings","cumquat","cumsum","cumulate","cumulation","cumulative","cumuli","cumulonimbi","cumulonimbus","cumulus","cunard","cuneiform","cunnilingus","cunning","cunningham","cunningness","cunt","cup","cupboard","cupcake","cupertino","cupful","cupid","cupidinously","cupidity","cupola","cupped","cupping","cupric","cuprous","cur","curability","curabitur","curable","curableness","curably","curacao","curacy","curare","curate","curative","curator","curatorial","curb","curbing","curbside","curbstone","curcio","curd","curdate","curdle","cure","cured","curer","curettage","curfew","curfs","curia","curiae","curie","curio","curiosity","curious","curiousness","curitiba","curium","curl","curler","curlew","curlicue","curliness","curling","curlopt","curly","curlycue","curmudgeon","curr","curran","currant","curred","currencies","currency","current","currentculture","currentdate","currentdb","currentdevice","currentdomain","currentindex","currentitem","currentline","currentlocation","currently","currentness","currentnode","currentpage","currentposition","currentrow","currentstate","currenttarget","currentthread","currenttime","currenttimemillis","currentuser","currentvalue","currentversion","currey","curricle","curricula","curricular","curriculum","currie","currier","curring","curry","currycomb","curs","curse","cursed","cursedness","curses","cursive","cursiveness","cursives","cursor","cursorily","cursoriness","cursors","cursory","cursus","curt","curtail","curtailer","curtailment","curtain","curtice","curtis","curtness","curtsey","curtsy","curvaceous","curvaceousness","curvature","curve","curved","curves","curvilinear","curvilinearity","curving","curvy","cus","cushion","cushman","cushy","cusp","cuspid","cuspidor","cuss","cussed","cussedness","cusses","cussing","cust","custard","custer","custid","custodial","custodian","custodianship","custody","custom","customadapter","customarily","customariness","customary","customcell","customer","customerid","customername","customers","customhouse","customizable","customization","customize","customized","customizing","customview","cut","cutaneous","cutaway","cutback","cute","cuteness","cutesy","cuticle","cutlass","cutler","cutlery","cutlet","cutoff","cutout","cuts","cutter","cutthroat","cutting","cuttle","cuttlebone","cuttlefish","cutup","cutworm","cuvier","cuzco","cv","cvs","cvtcolor","cw","cwd","cwiki","cwt","cx","cxf","cxx","cxxflags","cy","cyan","cyanamid","cyanate","cyanic","cyanide","cyanogen","cyb","cybele","cybernetic","cybernetics","cyberpunk","cyberspace","cybil","cybill","cyborg","cyclades","cyclamen","cycle","cycler","cycles","cycleway","cyclic","cyclical","cycling","cyclist","cyclohexanol","cycloid","cycloidal","cyclometer","cyclone","cyclonic","cyclopean","cyclopedia","cyclopes","cyclops","cyclotron","cyder","cygnet","cygnus","cygwin","cyl","cylinder","cylindric","cylindrical","cymbal","cymbalist","cymbre","cynde","cyndi","cyndia","cyndie","cyndy","cynic","cynical","cynicism","cynosure","cynthea","cynthia","cynthie","cynthy","cypher","cypreses","cypress","cyprian","cypriot","cyprus","cyrano","cyril","cyrill","cyrille","cyrillic","cyrillus","cyrus","cyst","cystic","cython","cytochemistry","cytologist","cytology","cytolysis","cytoplasm","cytoplasmic","cytosine","cytotoxic","cz","czar","czarevitch","czarina","czarism","czarist","czarship","czech","czechoslovak","czechoslovakia","czechoslovakian","czechs","czerniak","czerny","d","da","dab","dabbed","dabber","dabbing","dabble","dabbler","dac","dacca","dace","dacey","dacha","dachau","dachshund","dacia","dacie","dacron","dactyl","dactylic","dacy","dad","dada","dadaism","dadaist","daddy","dade","dado","dadoes","dados","daedalus","dael","daemon","daemoncommandexecution","daemonic","daffi","daffie","daffiness","daffodil","daffy","daft","daftness","dag","dagger","dagmar","dagny","dagscheduler","daguerre","daguerreotype","dagwood","dahl","dahlia","dahomey","daile","dailiness","daily","daimler","daintily","daintiness","dainty","daiquiri","dairy","dairying","dairyland","dairymaid","dairyman","dairymen","dairywoman","dairywomen","dais","daisey","daisi","daisie","daisy","dakar","dakota","dakotan","dal","dale","dalenna","daleth","daley","dalhousie","dali","dalia","dalian","dalila","dall","dallas","dalli","dalliance","dallier","dallon","dally","dalmatia","dalmatian","daloris","dalston","dalt","dalton","dalvik","dalvikvm","daly","dam","damage","damageable","damaged","damager","damaging","damara","damaris","damascus","damask","dame","damian","damiano","damien","damion","damita","dammed","damming","dammit","damn","damnably","damnation","damned","damnedest","damning","damocles","damon","damp","damped","dampen","dampener","damper","damping","dampness","damsel","damselfly","damson","dan","dana","danbury","dance","dancelike","dancer","dandelion","dander","dandify","dandily","dandle","dandruff","dandy","dane","danelaw","danell","danella","danette","dang","danger","dangerfield","dangerous","dangerousness","dangle","dangler","dangling","dani","dania","danial","danica","danice","danie","daniel","daniela","daniele","daniella","danielle","danielson","danika","danila","danish","danit","danita","dank","dankness","danna","dannel","danni","dannie","danny","dannye","danseuse","dante","danton","danube","danubian","danville","danya","danyelle","danyette","danzig","dao","daphene","daphna","daphne","dapibus","dapper","dapperness","dapple","dar","dara","darb","darbee","darbie","darby","darcee","darcey","darci","darcie","darcy","darda","dardanelles","dare","daredevil","daredevilry","dareen","darell","darelle","daren","darer","daresay","dari","daria","darice","darill","darin","daring","daringness","dario","darius","darjeeling","dark","darken","darkener","darker","darkish","darkly","darkness","darkroom","darla","darleen","darlene","darline","darling","darlingness","darlington","darlleen","darn","darnall","darned","darnell","darner","darning","daron","darpa","darrel","darrell","darrelle","darren","darrick","darrin","darrow","darryl","darsey","darsie","dart","dartboard","darter","darth","dartmouth","darvon","darwin","darwinian","darwinism","darwinist","darya","daryl","daryle","daryn","das","dash","dasha","dashboard","dashed","dasher","dashes","dashiki","dashing","dasi","dasie","dask","dastard","dastardliness","dastardly","dasya","dat","data","dataaccess","dataadapter","dataannotations","dataarray","database","databaseerror","databasehelper","databasename","databasereference","databases","databind","databinding","datacenter","datacolumn","datacontext","datacontract","datafield","datafile","dataflow","dataframe","dataframes","datagram","datagrid","datagridtemplatecolumn","datagridtextcolumn","datagridview","dataindex","datainputstream","dataitem","datalist","datamation","datamedia","datamember","datamodel","datanode","datanucleus","dataobject","dataoutputstream","datapoint","datapoints","dataprovider","datareader","datarow","datas","dataservice","dataset","datasets","datasheet","datasnapshot","datasource","datasourceid","datasources","datastax","datastore","datastream","datastring","datatable","datatables","datatemplate","datatextfield","datatransfer","datatrigger","datatype","datatypes","dataurl","datausingencoding","datavaluefield","dataview","date","dateadd","datecreated","dated","datediff","datedly","datedness","datefield","dateformat","dateformatter","datefrom","dateless","dateline","dateofbirth","datepart","datepicker","datepickerdialog","dater","daterange","dates","datestr","datestring","datetime","datetimefield","datetimeformat","datetimeformatter","datetimeoffset","datetimepicker","dateto","dateutil","datevalue","datha","dating","dative","datos","datsun","datum","daub","dauber","daugherty","daughter","daumier","daune","daunt","daunted","daunting","dauntless","dauntlessness","dauphin","dav","davao","dave","daveen","daven","davenport","daveta","davey","david","davida","davidde","davide","davidson","davie","davin","davina","davine","davinich","davis","davit","davita","davon","davy","dawdle","dawdler","dawes","dawn","dawna","dawson","day","daybed","daybreak","daycare","daydream","daydreamer","dayle","daylight","dayna","dayofmonth","dayofweek","days","daysack","daytime","dayton","daze","dazed","dazzle","dazzler","dazzling","db","dba","dbadapter","dbc","dbconn","dbconnect","dbconnection","dbcontext","dbcp","dbd","dbf","dbg","dbh","dbhelper","dbhost","dbi","dbl","dbms","dbname","dbnull","dbo","dbpath","dbpedia","dbs","dbset","dbtype","dbus","dbuser","dbutante","dc","dcc","dcollet","dcolletage","dct","dd","ddd","dddd","ddene","ddf","ddl","dds","ddt","de","deacon","deaconess","deactivate","dead","deadbeat","deadbolt","deaden","deadener","deadening","deadhead","deadline","deadliness","deadlock","deadly","deadness","deadpan","deadpanned","deadpanner","deadpanning","deadwood","deaf","deafen","deafening","deafness","deal","dealer","dealership","dealing","dealloc","deallocate","deallocated","deallocator","deals","dealt","dean","deana","deandre","deane","deanery","deann","deanna","deanne","deanship","dear","dearborn","dearness","dearth","dearths","deary","deassign","death","deathbed","deathblow","deathless","deathlike","deathly","deaths","deathtrap","deathward","deathwatch","deb","debacle","debar","debark","debarkation","debarment","debarring","debaser","debatable","debate","debater","debauch","debauched","debauchedness","debauchee","debaucher","debauchery","debbi","debbie","debby","debee","debenture","debera","debi","debian","debilitate","debilitation","debility","debit","debonair","debonairness","debor","debora","deborah","debouch","debounce","debra","debrief","debris","debt","debtor","debug","debugged","debugger","debugging","debussy","debut","dec","decade","decadency","decadent","decades","decaf","decaffeinate","decagon","decal","decalogue","decamp","decampment","decapitate","decapitator","decathlon","decatur","decay","decca","deccan","decease","decedent","deceit","deceitful","deceitfulness","deceive","deceived","deceiver","deceives","deceiving","deceivingly","decelerate","deceleration","decelerator","december","decency","decennial","decent","deception","deceptive","deceptiveness","decertify","dechlorinate","decibel","decidability","decidable","decide","decided","decidedness","decides","deciding","deciduous","deciduousness","decile","deciliter","decimal","decimalformat","decimals","decimate","decimation","decimeter","decipher","decipherable","decipherer","decision","decisional","decisioned","decisioning","decisions","decisive","decisiveness","deck","deckchair","decker","deckhand","decking","decl","declamation","declamatory","declarable","declaration","declarations","declarative","declarator","declaratory","declare","declared","declarer","declares","declaring","declension","declination","decline","decliner","declivity","declspec","decltype","decnet","deco","decode","decoded","decodefile","decoder","decoderesource","decodestream","decoding","decolletes","decolorising","decomposability","decomposable","decompose","decomposition","decompress","decongestant","deconstruction","deconvolution","decor","decorate","decorated","decorates","decorating","decoration","decorative","decorativeness","decorator","decorators","decorous","decorousness","decorticate","decortication","decorum","decorview","decoupage","decouple","decoy","decrease","decreases","decreasing","decree","decreeing","decrement","decremental","decrepit","decrepitude","decriminalization","decriminalize","decry","decrypt","decrypted","decryption","decstation","decsystem","dectape","decustomised","dede","dedekind","dedicate","dedicated","dedication","dedicative","dedicator","dedicatory","dedie","dedra","deduce","deducible","deduct","deductibility","deductible","deduction","deductive","dee","deeann","deeanne","deed","deeded","deedee","deeding","deejay","deem","deemphasis","deena","deep","deepcopy","deepen","deeper","deepish","deeply","deepness","deer","deerdre","deere","deerskin","deerstalker","deerstalking","deeyn","def","deface","defacement","defaecate","defalcate","defalcation","defamation","defamatory","defame","defamer","default","defaultactioninvocation","defaultbuildoperationexecutor","defaultcenter","defaultconfig","defaultdict","defaulter","defaultfilterchain","defaulthttpclient","defaulting","defaultlistablebeanfactory","defaultmanager","defaultmaven","defaults","defaultsingletonbeanregistry","defaulttablemodel","defaultvalue","defaultview","defeat","defeated","defeater","defeatism","defeatist","defeats","defecate","defecation","defect","defection","defective","defectiveness","defector","defend","defendant","defended","defenestrate","defense","defenseless","defenselessness","defenses","defensibility","defensible","defensibly","defensive","defensiveness","defer","deference","deferent","deferential","deferrable","deferral","deferred","deferrer","deferring","deffer","defiance","defiant","defibrillator","deficiency","deficient","deficit","defier","defile","defilement","definable","definably","define","defineclass","defined","defineproperty","definer","defines","defining","definite","definitely","definiteness","definition","definitional","definitions","definitive","definitiveness","defis","deflate","deflation","deflationary","deflect","deflected","deflection","deflector","defn","defocus","defocussing","defoe","defog","defogger","defoliant","defoliator","deform","deformational","deformed","deformity","defraud","defrauder","defrayal","defrost","defroster","defs","deft","deftness","defun","defunct","defy","defying","deg","degas","degassing","degauss","degeneracy","degenerate","degenerateness","degrade","degraded","degradedness","degrading","degrease","degree","degrees","degum","dehlia","dehumanize","dehydrator","deice","deicer","deictic","deidre","deification","deify","deign","deimos","deina","deirdre","deist","deistic","deity","deja","deject","dejected","dejectedness","dejection","dejesus","dekalb","dekastere","del","dela","delacroix","delacruz","delainey","delaney","delano","delaware","delawarean","delay","delayed","delayer","delays","delbert","delcina","delcine","delectable","delectableness","delectably","delectation","delegable","delegate","delegated","delegates","delegatingconstructoraccessorimpl","delegatingfilterproxy","delegatingmethodaccessorimpl","delegation","deleon","delete","deleted","deleterious","deleteriousness","deletes","deleting","deletion","delfs","delft","delftware","delgado","delhi","deli","delia","deliberate","deliberately","deliberateness","deliberative","deliberativeness","delibes","delicacy","delicate","delicateness","delicatenesses","delicates","delicatessen","delicious","deliciousness","delicti","delighted","delightedness","delightful","delightfulness","delila","delilah","delilahs","delim","delimited","delimiter","delimiters","delims","delinda","delineate","delineation","delinquency","delinquent","deliquesce","deliquescent","delirious","deliriousness","delirium","delius","deliver","deliverable","deliverables","deliverance","delivered","deliverer","delivering","delivers","delivery","deliverymen","dell","della","dellwood","delly","delmar","delmarva","delmer","delmonico","delmor","delmore","delora","delores","deloria","deloris","delphi","delphic","delphine","delphinia","delphinium","delphinus","delta","deltatime","deltax","deltay","deltoid","delude","deluder","deluding","deluge","delusion","delusional","delusive","delusiveness","deluxe","delve","delver","dem","demagnify","demagogic","demagogue","demagoguery","demagogy","demand","demander","demanding","demandingly","demands","demarcate","demarcation","demavend","demean","demeanor","demented","dementedness","dementia","demerol","demesne","demeter","demetra","demetre","demetri","demetria","demetrius","demigod","demijohn","demimondaine","demimonde","demineralization","deming","demise","demit","demitasse","demitted","demitting","demo","democracy","democrat","democratic","democratically","democratization","democratize","democratizes","democritus","demographer","demographic","demographical","demography","demolish","demolisher","demolition","demon","demonetization","demoniac","demoniacal","demonic","demonology","demonstrable","demonstrableness","demonstrably","demonstrate","demonstrated","demonstrates","demonstrating","demonstration","demonstrative","demonstrativeness","demonstrativenesses","demonstratives","demonstrator","demoralization","demoralizer","demoralizing","demorgan","demos","demosthenes","demote","demotic","demott","demount","dempsey","demulcent","demultiplex","demur","demure","demureness","demurral","demurred","demurrer","demurring","demythologization","demythologize","den","dena","dendrite","dene","deneb","denebola","deneen","deng","dengue","deni","deniable","denial","denice","denied","denier","denigrate","denigration","denim","denise","denizen","denmark","denna","denned","dennet","denney","denni","dennie","denning","dennison","denny","denominate","denominational","denominator","denote","denotes","denouement","denounce","denouncement","denouncer","dens","dense","densely","denseness","densitometer","densitometric","densitometry","density","dent","dental","dentifrice","dentin","dentine","dentist","dentistry","dentition","denture","denuclearize","denudation","denude","denuder","denunciate","denunciation","denver","deny","denying","denys","denyse","deodorant","deodorization","deodorize","deodorizer","deon","deonne","deoxyribonucleic","dep","depart","department","departmental","departmentalization","departmentalize","departmentid","departments","departure","depend","dependability","dependable","dependableness","dependably","dependant","dependence","dependencies","dependency","dependencyobject","dependencyproperty","dependent","dependentassembly","depending","depends","dependson","depict","depicted","depicter","depiction","depilatory","deplete","depletion","deplorable","deplorableness","deplorably","deplore","deplorer","deploring","deploy","deployable","deployed","deployer","deploying","deployment","deployments","depolarize","deponent","deport","deportation","deportee","deportment","depose","deposit","depositary","deposition","depositor","depository","depot","deprave","depraved","depravedness","depraver","depravity","deprecate","deprecated","deprecating","deprecation","deprecatory","depreciable","depreciate","depreciating","depreciation","depreciative","depress","depressant","depressible","depression","depressive","depressor","deprive","deps","dept","depth","depths","deputation","depute","deputize","deputy","deque","dequeue","dequeuereusablecell","dequeuereusablecellwithidentifier","der","derail","derailment","derange","derangement","derby","derbyshire","dereference","dereferencing","derek","derelict","dereliction","derick","deride","deriding","derision","derisive","derisiveness","derisory","derivable","derivate","derivation","derivative","derivativeness","derivatives","derive","derived","deriveddata","derives","deriving","derk","dermal","dermatitides","dermatitis","dermatological","dermatologist","dermatology","dermis","dermot","derogate","derogation","derogatorily","derogatory","derrek","derrick","derrida","derrik","derril","derringer","derrire","derron","derry","dervish","derward","derwin","des","desalinate","desalination","desalinization","desalinize","desalt","desc","descant","descartes","descend","descendant","descendants","descended","descendent","descender","descending","descends","descent","descr","describable","describe","described","describes","describing","description","descriptions","descriptive","descriptiveness","descriptor","descriptors","descry","desdemona","desecrate","desecrater","desecration","deselect","deserialization","deserialize","deserialized","deserializeobject","deserializer","deserializing","desert","deserter","desertification","desertion","deserunt","deserve","deserved","deservedness","deserves","deserving","desi","desiccant","desiccate","desiccation","desiccator","desiderata","desideratum","design","designable","designate","designated","designation","designational","designator","designed","designer","designers","designing","designs","desirabilia","desirability","desirable","desirableness","desirably","desirae","desire","desired","desiredcapabilities","desiree","desirer","desiri","desirous","desirousness","desist","desk","desktop","desktops","desmond","desmund","desolate","desolateness","desolater","desolating","desolation","desorption","despair","despairer","despairing","desperado","desperadoes","desperate","desperateness","desperation","despicable","despicably","despise","despiser","despite","despoil","despoilment","despond","despondence","despondency","despondent","despotic","despotically","despotism","dessert","dessicate","dest","destdir","destinate","destination","destinations","destinationviewcontroller","destine","destiny","destitute","destituteness","destitution","destroy","destroyed","destroyer","destroying","destroys","destruct","destructibility","destructible","destruction","destructive","destructiveness","destructor","destructors","destructuring","desuetude","desultorily","desultoriness","desultory","det","detach","detached","detachedness","detacher","detachment","detail","detailed","detailedness","details","detailview","detailviewcontroller","detain","detainee","detainer","detainment","detect","detectability","detectable","detectably","detected","detecting","detection","detective","detector","detects","detentes","detention","deter","detergency","detergent","deteriorate","deterioration","determent","determinability","determinable","determinableness","determinacy","determinant","determinate","determinateness","determination","determinative","determinativeness","determine","determined","determinedly","determinedness","determiner","determines","determining","determinism","deterministic","deterministically","deterred","deterrence","deterrent","deterring","deters","detersive","detestable","detestableness","detestably","detestation","dethrone","dethronement","detonable","detonate","detonated","detonation","detonator","detour","detox","detoxification","detoxify","detract","detractive","detribalize","detriment","detrimental","detritus","detroit","deuce","deuced","deus","deuterium","deuteron","deuteronomy","deutsch","dev","deva","devan","devanagari","devastate","devastating","devastation","devastator","devcenter","devdependencies","devel","develop","developed","developer","developerguide","developers","developerworks","developing","development","developmental","devexpress","devi","deviance","deviancy","deviant","deviate","deviated","deviating","deviation","device","deviceid","devicename","devices","devil","devilish","devilishness","devilment","devilry","deviltry","devin","devina","devinne","devious","deviousness","devise","deviser","devkit","devland","devlen","devlin","devoice","devolution","devolve","devon","devondra","devonian","devonna","devonne","devonshire","devops","devora","devote","devoted","devotee","devotion","devotional","devour","devourer","devout","devoutness","devs","devtools","devy","dew","dewain","dewar","dewayne","dewberry","dewclaw","dewdrop","dewey","dewie","dewiness","dewitt","dewlap","dewy","dex","dexedrine","dexes","dexter","dexterity","dexterous","dexterousness","dextrose","df","dfa","dfd","dff","dfs","dg","dgv","dh","dhaka","dhaulagiri","dhcp","dhe","dhoti","dhow","di","dia","diabase","diabetes","diabetic","diabolic","diabolical","diabolicalness","diabolism","diachronic","diacritic","diacritical","diadem","diaereses","diaeresis","diag","diaghilev","diagnometer","diagnosable","diagnose","diagnosed","diagnosis","diagnostic","diagnostically","diagnostician","diagnostics","diagonal","diagonalize","diagram","diagrammable","diagrammatic","diagrammaticality","diagrammatically","diagrammed","diagrammer","diagramming","diagrams","diahann","dial","dialect","dialectal","dialectic","dialectical","dialed","dialer","dialing","dialog","dialogflow","dialogfragment","dialogged","dialogging","dialoginterface","dialogresult","dialogs","dialogue","dials","dialysis","dialyzed","dialyzes","diam","diamagnetic","diameter","diametric","diametrical","diamond","diamondback","diamonds","dian","diana","diandra","diane","dianemarie","diann","dianna","dianne","diannne","diapason","diaper","diaphanous","diaphanousness","diaphragm","diaphragmatic","diarist","diarmid","diarrhea","diarrheal","diary","diaspora","diastase","diastole","diastolic","diathermy","diathesis","diatom","diatomic","diatonic","diatribe","diaz","dibble","dibs","dic","dicaprio","dice","dicer","dicey","dichloride","dichotomization","dichotomize","dichotomous","dichotomy","dicier","diciest","dicing","dick","dickens","dickensian","dicker","dickerson","dickey","dickie","dickier","dickiest","dickinson","dickson","dicky","dicotyledon","dicotyledonous","dict","dicta","dictaphone","dictate","dictation","dictator","dictatorial","dictatorialness","dictatorship","diction","dictionaries","dictionary","dicts","dictum","did","didactic","didactically","didactics","diddle","diddler","diderot","didfinishlaunchingwithoptions","didi","didn","didnt","dido","didoes","didreceivememorywarning","didselectrowatindexpath","didst","die","died","diefenbaker","diego","dieing","dielectric","diem","diena","dierdre","diereses","dieresis","dies","diesel","diet","dietary","dieter","dietetic","dietetics","diethylaminoethyl","diethylstilbestrol","dietitian","dietrich","dietz","dif","diff","differ","difference","differences","different","differentiability","differentiable","differential","differentiate","differentiated","differentiation","differentiator","differently","differentness","differing","differs","difficile","difficult","difficulties","difficulty","diffidence","diffident","diffract","diffraction","diffractometer","diffs","diffuse","diffuseness","diffuser","diffusible","diffusion","diffusional","diffusive","diffusiveness","diffusivity","dig","digerati","digest","digested","digester","digestibility","digestible","digestifs","digestion","digestive","digg","digger","digging","digit","digital","digitalis","digitalization","digitalized","digitalizes","digitalizing","digitalocean","digitalwrite","digitization","digitize","digitizer","digits","dignified","dignify","dignissim","dignitary","dignity","digram","digraph","digraphs","digress","digression","digressive","digressiveness","dihedral","dijit","dijkstra","dijon","dike","diker","diktat","dilan","dilapidate","dilapidation","dilatation","dilate","dilated","dilation","dilator","dilatoriness","dilatory","dilbert","dilemma","dilettante","dilettantish","dilettantism","diligence","diligent","diligentness","dilithium","dill","dillard","dillie","dilling","dillinger","dillis","dillon","dilly","dillydally","dilogarithm","diluent","dilute","diluted","diluteness","dilution","dim","dimaggio","dime","dimen","dimension","dimensional","dimensionality","dimensionless","dimensions","dimer","dimethyl","dimethylglyoxime","diminish","diminished","diminuendo","diminution","diminutive","diminutiveness","dimitri","dimitry","dimity","dimmed","dimmer","dimmest","dimming","dimness","dimorphism","dimple","dimply","dims","dimwit","dimwitted","din","dina","dinah","dinar","dine","diner","dinette","ding","dingbat","dinghy","dingily","dinginess","dingle","dingo","dingoes","dingus","dingy","dinky","dinned","dinner","dinnertime","dinnerware","dinnie","dinning","dinny","dino","dinosaur","dint","diocesan","diocese","diocletian","diode","diogenes","dion","dione","dionis","dionisio","dionne","dionysian","dionysus","diophantine","diopter","dior","diorama","dioxalate","dioxide","dioxin","dip","diphtheria","diphthong","diplexers","diploid","diploma","diplomacy","diplomat","diplomata","diplomatic","diplomatically","diplomatics","diplomatist","dipodic","dipody","dipole","dipped","dipper","dipping","dippy","dipsomania","dipsomaniac","dipstick","dipterous","diptych","diptychs","dir","dirac","dire","direct","directcast","directed","direction","directional","directionality","directions","directive","directives","directivity","directly","directness","director","directorate","directorial","directories","directorship","directory","directoryentry","directoryinfo","directrix","directs","directx","direful","direness","dirge","dirichlet","dirigible","dirk","dirname","dirndl","dirpath","dirs","dirt","dirtily","dirtiness","dirty","dis","disable","disabled","disablement","disabler","disables","disabling","disabuse","disadvantage","disadvantaged","disadvantages","disagree","disagreeable","disallow","disambiguate","disappear","disappeared","disappearing","disappears","disappointed","disappointing","disarming","disarrange","disaster","disastrous","disband","disbandment","disbar","disbarment","disbarring","disbelieving","disbursal","disburse","disbursement","disburser","disc","discard","discarded","discern","discerner","discernibility","discernible","discernibly","discerning","discernment","discharged","disciple","discipleship","disciplinarian","disciplinary","discipline","disciplined","discipliner","disciplines","disciplining","disclaimer","disclosed","disclosure","disco","discography","discolor","discolored","discoloreds","discombobulate","discomfit","discomfiture","discommode","disconcerting","disconnect","disconnected","disconnectedness","disconnecter","disconsolate","discord","discordance","discordant","discorporate","discotheque","discount","discourage","discouraged","discouragement","discouraging","discover","discoverable","discovered","discoverer","discovering","discovery","discreet","discreetly","discreetness","discrepancy","discrepant","discrete","discreteness","discreteobjectkeyframe","discretion","discretionary","discretization","discretized","discriminable","discriminant","discriminate","discriminated","discriminating","discrimination","discriminator","discriminatory","discursiveness","discus","discuss","discussant","discussed","discusser","discusses","discussing","discussion","discussions","disdain","disdainful","disdainfulness","disease","disembowel","disembowelment","disengage","disfigure","disfigurement","disfranchise","disfranchisement","disgorge","disgrace","disgracer","disgruntle","disgruntlement","disguise","disguised","disguiser","disgust","disgusted","disgustful","disgusting","dish","dishabille","disharmonious","dishcloth","dishcloths","dishevel","dishevelment","dishonest","dishonored","dishpan","dishrag","dishtowel","dishwasher","dishwater","disillusion","disillusionment","disinfectant","disinherit","disinterested","disinterestedness","disinvest","disjoin","disjointedness","disjunct","disjunctive","disk","diskette","disks","dislike","dislodge","dislodgement","dismal","dismalness","dismantle","dismantlement","dismay","dismayed","dismaying","dismember","dismemberment","dismiss","dismissed","dismissive","dismissviewcontrolleranimated","disney","disneyland","disoblige","disorder","disordered","disorderedness","disorderliness","disorderly","disorganize","disorganized","disp","disparage","disparagement","disparager","disparaging","disparate","disparateness","dispatch","dispatched","dispatcher","dispatcherservlet","dispatchevent","dispatcheventimpl","dispatching","dispatchmessage","dispatchqueue","dispatchtouchevent","dispel","dispelled","dispelling","dispensable","dispensary","dispensate","dispensation","dispense","dispenser","dispersal","dispersant","disperse","dispersed","disperser","dispersible","dispersion","dispersive","dispersiveness","dispirit","displace","display","displayalerts","displayclass","displayed","displayfor","displaying","displaymetrics","displayname","displays","displease","displeased","displeasure","disport","disposable","disposal","dispose","disposed","disposing","disposition","dispositional","disproportional","disproportionate","disproportionation","disprove","disputable","disputably","disputant","disputation","disputatious","dispute","disputed","disputer","disquiet","disquieting","disquisition","disqus","disraeli","disregard","disregardful","disrepair","disreputable","disreputableness","disrepute","disrespect","disrupt","disrupted","disrupter","disruption","disruptive","disruptor","dissatisfy","dissect","dissed","dissemble","dissembler","disseminate","dissemination","dissension","dissent","dissenter","dissertation","disservice","disses","dissever","dissidence","dissident","dissimilar","dissing","dissipate","dissipated","dissipatedly","dissipatedness","dissipater","dissipation","dissociable","dissociate","dissociated","dissociation","dissociative","dissoluble","dissolute","dissoluteness","dissolve","dissolved","dissonance","dissonant","dissuade","dissuader","dissuasive","dist","distaff","distal","distance","distances","distant","distantness","distaste","distemper","distend","distension","distention","distillate","distillation","distillery","distinct","distincter","distinctest","distinction","distinctive","distinctiveness","distinctness","distinguish","distinguishable","distinguishably","distinguished","distinguisher","distort","distorted","distorter","distortion","distract","distracted","distractedness","distracting","distrait","distraught","distress","distressful","distressing","distribute","distributed","distributer","distributing","distribution","distributional","distributions","distributive","distributiveness","distributivity","distributor","distributorship","district","distro","distrust","disturb","disturbance","disturbed","disturber","disturbing","distutils","disulfide","disuse","disyllable","dita","ditch","ditcher","dither","ditsy","ditto","ditty","ditz","ditzel","diuresis","diuretic","diurnal","div","diva","divalent","divan","dive","dived","diver","diverge","divergence","divergent","diverse","diverseness","diversification","diversifier","diversify","diversion","diversionary","diversity","divert","diverticulitis","divertimento","divest","divestiture","divestment","divid","dividable","divide","divided","dividend","divider","dividing","divination","divine","diviner","divinity","divisibility","divisible","division","divisional","divisions","divisive","divisiveness","divisor","divorce","divorcement","divot","divs","divulge","divvy","dix","dixie","dixiecrat","dixieland","dixon","dizzily","dizziness","dizzy","dizzying","dj","djakarta","django","djangoproject","djava","djellaba","djellabah","djibouti","dk","dl","dlg","dlib","dll","dllexport","dllimport","dlls","dlopen","dm","dma","dmd","dmg","dmitri","dml","dmod","dms","dmz","dn","dna","dname","dnepr","dnepropetrovsk","dnieper","dniester","dniren","dnn","dns","do","doa","doable","dob","dobbin","doberman","dobro","doc","docent","docid","docile","docility","dock","docker","dockerfile","docket","dockland","dockpanel","dockside","dockworker","dockyard","docmd","docreatebean","docs","doctor","doctoral","doctorate","doctorow","doctors","doctrinaire","doctrinal","doctrine","doctype","docudrama","document","documentary","documentation","documentbuilder","documentbuilderfactory","documented","documentelement","documentid","documentroot","documents","documentsdirectory","docusign","docx","dod","dodder","dode","dodecahedra","dodecahedral","dodecahedron","dodge","dodgem","dodger","dodgson","dodi","dodie","dodington","dodo","dodoma","dodson","dody","doe","doer","does","doeskin","doesn","doesnt","doevents","doexecute","doff","dofilter","dofilterinternal","dog","dogcart","dogcatcher","doge","dogeared","doget","dogetbean","dogfight","dogfish","dogfought","dogged","doggedness","doggerel","dogging","doggone","doggy","doghouse","dogie","dogleg","doglegged","doglegging","dogma","dogmatic","dogmatically","dogmatics","dogmatism","dogmatist","dogs","dogsbody","dogtooth","dogtown","dogtrot","dogtrotted","dogtrotting","dogwood","dogy","doh","doha","doi","doily","doinbackground","doing","doit","dojo","dolby","doldrum","doldrums","dole","doled","doleful","dolefuller","dolefullest","dolefulness","doles","dolf","doling","doll","dollar","dollars","dolley","dolli","dollie","dollop","dolly","dolmen","dolomite","dolomitic","dolor","dolore","dolores","dolorita","dolorous","dolph","dolphin","dolt","doltish","doltishness","dom","domain","domainname","domains","domcontentloaded","domdocument","dome","domelement","domenic","domenico","domeniga","domesday","domestic","domestically","domesticate","domesticated","domestication","domesticity","domicile","domiciliary","dominance","dominant","dominate","domination","dominator","dominatrices","dominatrix","domineer","domineering","domineeringness","dominga","domingo","dominguez","domini","dominic","dominica","dominican","dominick","dominik","dominion","dominique","domino","dominoes","domitian","dompdf","don","dona","donahue","donal","donald","donaldson","donall","donalt","donate","donatello","donation","donations","donative","donaugh","donavon","done","donec","donella","donelle","donetsk","donetta","dong","dongle","donia","donica","donielle","donizetti","donkey","donn","donna","donnamarie","donne","donned","donnell","donnelly","donner","donni","donnie","donning","donnish","donnishness","donny","donnybrook","donor","donovan","dont","donut","donutted","donutting","doodad","doodle","doodlebug","doodler","doohickey","dooley","doolittle","doom","doomsday","doonesbury","door","doorbell","doorhandles","doorkeep","doorkeeper","doorknob","doorman","doormat","doormen","doornail","doorplate","doors","doorstep","doorstepped","doorstepping","doorstop","doorway","dooryard","dopa","dopamine","dopant","dope","doper","dopey","dopier","dopiest","dopiness","dopost","doppler","doprivileged","dor","dora","dorado","doralia","doralin","doralyn","doralynn","doralynne","dorcas","dorchester","doreen","dorelia","dorella","dorelle","dorena","dorene","doretta","dorette","dorey","dori","doria","dorian","doric","dorice","dorie","dorine","dorisa","dorise","dorita","dork","dorky","dorm","dormancy","dormant","dormer","dormice","dormitory","dormouse","doro","dorolice","dorolisa","dorotea","doroteya","dorothea","dorothee","dorothy","dorree","dorri","dorrie","dorry","dorsal","dorsey","dorthea","dorthy","dortmund","dory","dos","dosage","dose","dosi","dosimeter","dosimetry","dosomething","dossier","dost","dostart","dostoevsky","dostuff","dot","dotage","dotard","dote","doter","doti","doting","dotnet","dotnetfiddle","dots","dotson","dotted","dotti","dottie","dottiness","dotting","dotty","douala","douay","double","doubleanimation","doubled","doubleday","doubleheader","doubleness","doubler","doubles","doublespeak","doublet","doublethink","doubleton","doublevalue","doubling","doubloon","doubly","doubt","doubted","doubter","doubtful","doubtfulness","doubting","doubtless","doubtlessness","doubts","douche","doug","dough","dougherty","doughs","doughty","doughy","dougie","douglas","douglass","dougy","dour","dourness","douro","douse","douser","dov","dove","dovecote","dover","dovetail","dovish","dow","dowager","dowdily","dowdiness","dowdy","dowel","dower","down","downbeat","downcase","downcast","downdraft","downer","downey","downfall","downgrade","downhearted","downheartedness","downhill","downland","download","downloadable","downloaded","downloader","downloadfile","downloading","downloadmanager","downloads","downloadurl","downpipes","downplay","downpour","downrange","downright","downrightness","downriver","downs","downscale","downside","downsides","downsize","downslope","downspout","downstage","downstairs","downstate","downstream","downswing","downtime","downto","downtown","downtowner","downtrend","downtrodden","downturn","downvote","downvoted","downvotes","downward","downwardness","downwind","downy","dowork","dowry","dowse","dowser","doxology","doxygen","doy","doyen","doyenne","doyle","doz","doze","dozen","dozens","dozenths","dozer","dozy","dp","dpi","dpkg","dplyr","dps","dpt","dq","dr","drab","drabbed","drabber","drabbest","drabbing","drabness","drachma","draco","draconian","dracula","draft","draftee","drafter","draftily","draftiness","drafting","draftsman","draftsmanship","draftsmen","draftsperson","draftswoman","draftswomen","drafty","drag","draggable","dragged","dragger","dragging","draggy","dragnet","dragon","dragonfly","dragonhead","dragoon","drailleur","drain","drainage","drainboard","drained","drainer","drainpipe","drake","dram","drama","dramamine","dramatic","dramatical","dramatically","dramatics","dramatist","dramatization","dramatize","dramatized","dramatizer","dramaturgy","drambuie","drammed","dramming","drank","drano","drape","draper","drapery","drastic","drastically","drat","dratted","dratting","dravidian","draw","drawable","drawables","drawback","drawbacks","drawbitmap","drawbridge","drawchart","drawer","drawerlayout","drawimage","drawing","drawl","drawler","drawline","drawling","drawly","drawn","drawnly","drawnness","drawrect","draws","drawstring","drawtext","dray","dre","dread","dreadful","dreadfulness","dreadlocks","dreadnought","dream","dreamboat","dreamed","dreamer","dreamily","dreaminess","dreaming","dreamland","dreamless","dreamlessness","dreamlike","dreamweaver","dreamworld","dreamy","drear","drearily","dreariness","dreary","dreddy","dredge","dredger","dredi","dreg","dreiser","drench","drencher","drer","dresden","dress","dressage","dressed","dresser","dresses","dressiness","dressing","dressmaker","dressmaking","dressy","drew","drexel","dreyfus","dreyfuss","drib","dribble","dribbler","driblet","dried","drier","drift","drifter","drifting","driftwood","drill","driller","drilling","drillmaster","drink","drinkable","drinker","drinking","drinks","drip","dripped","dripping","drippy","drive","drivel","driveler","driven","driver","driverclassname","drivermanager","drivers","drives","driveway","driving","drizzle","drizzling","drizzly","drm","drogue","droid","droll","drollery","drollness","drolly","dromedary","drona","drone","droning","drool","drools","droop","droopiness","drooping","droopy","drop","dropbox","dropboxusercontent","dropdown","dropdownlist","dropdownlistfor","dropdowns","drophead","dropkick","droplet","dropout","droppable","dropped","dropper","dropping","drops","dropsical","dropsy","dropzone","drosophila","dross","drought","drove","drover","drown","drowner","drowse","drowsily","drowsiness","drowsy","dru","drub","drubbed","drubber","drubbing","druci","drucie","drucill","drucy","drud","drudge","drudger","drudgery","drudging","drug","drugged","druggie","drugging","druggist","drugi","drugless","drugs","drugstore","druid","druidism","drum","drumbeat","drumhead","drumlin","drummed","drummer","drumming","drummond","drumstick","drunk","drunkard","drunken","drunkenness","drupal","drupe","drury","drusi","drusie","drusilla","drusy","druthers","drv","drwxr","dry","dryad","dryden","dryer","dryish","dryness","drys","drystone","drywall","ds","dsa","dsc","dshabill","dshubba","dsl","dsn","dsp","dss","dsseldorf","dst","dt","dtd","dte","dtente","dtm","dto","dtp","dts","dtype","dtypes","du","dual","dualism","dualist","dualistic","duality","duane","dub","dubai","dubbed","dubber","dubbin","dubbing","dubcek","dubhe","dubiety","dubious","dubiousness","dublin","dubrovnik","dubuque","ducal","ducat","duce","duchamp","duchess","duchy","duck","duckbill","ducker","duckling","duckpins","duckpond","duckweed","ducky","duct","ducted","ductile","ductility","ducting","ductless","ducts","ductwork","dud","dudder","dude","dudgeon","dudley","due","duedate","duel","duelist","dueness","duenna","duet","duetted","duetting","duff","duffel","duffer","duffie","duffy","dug","dugald","dugout","duh","dui","duis","duisburg","duke","dukedom","dukey","dukie","duky","dulce","dulcea","dulcet","dulci","dulcia","dulciana","dulcie","dulcify","dulcimer","dulcine","dulcinea","dulcy","dull","dullard","dulles","dullness","dully","dulness","dulsea","duluth","duly","dumas","dumb","dumbbell","dumbfound","dumbness","dumbo","dumbstruck","dumbwaiter","dumdum","dummies","dummy","dumont","dump","dumped","dumper","dumpiness","dumping","dumpling","dumps","dumpster","dumpty","dumpy","dun","dunant","dunbar","dunc","duncan","dunce","dundee","dunderhead","dune","dunedin","dung","dungaree","dungeon","dunghill","dunham","dunk","dunker","dunkirk","dunlap","dunn","dunne","dunned","dunner","dunnest","dunning","dunno","dunstan","duo","duodecimal","duodena","duodenal","duodenum","duologue","duopolist","duopoly","dup","dupe","duper","dupion","duple","duplex","duplexer","duplicability","duplicable","duplicate","duplicated","duplicates","duplicating","duplication","duplicative","duplicator","duplicitous","duplicity","dupont","dur","durability","durable","durableness","durably","duracell","duran","durance","durand","durant","durante","duration","durational","durban","duress","durex","durham","during","durkee","durkheim","durocher","durst","durum","durward","duse","dusenberg","dusenbury","dushanbe","dusk","duskiness","dusky","dust","dustbin","dustcart","dustcover","duster","dustily","dustin","dustiness","dusting","dustless","dustman","dustmen","dustpan","dusty","dutch","dutchman","dutchmen","dutchwoman","dutchwomen","duteous","dutiable","dutiful","dutifulness","duty","duvalier","duvet","duxes","dv","dvd","dvina","dvork","dw","dwain","dwarf","dwarfish","dwarfism","dwayne","dweeb","dwell","dweller","dwelling","dwelt","dwi","dwight","dwindle","dword","dx","dximagetransform","dy","dyad","dyadic","dyan","dyana","dyane","dyann","dyanna","dyanne","dybbuk","dybbukim","dye","dyed","dyeing","dyer","dyes","dyestuff","dying","dyke","dylan","dyld","dylib","dyn","dyna","dynah","dynamic","dynamical","dynamically","dynamicresource","dynamics","dynamism","dynamite","dynamiter","dynamized","dynamo","dynamodb","dynastic","dynasty","dyne","dyno","dysentery","dysfunction","dysfunctional","dyslectic","dyslexia","dyslexic","dyslexically","dyspepsia","dyspeptic","dysprosium","dystopia","dystrophy","dz","dzerzhinsky","e","ea","each","eachelle","eada","eadie","eadith","eadmund","eager","eagerness","eagle","eaglet","eakins","eal","ealasaid","eamon","ean","eap","ear","earache","eardrum","earful","earhart","earing","earl","earldom","earle","earlene","earlie","earlier","earliest","earline","earliness","earlobe","early","earmark","earmuff","earn","earned","earner","earnest","earnestine","earnestness","earning","earnings","earp","earphone","earpieces","earplug","earring","earshot","earsplitting","earth","eartha","earthbound","earthed","earthenware","earthiness","earthliness","earthling","earthly","earthmen","earthmover","earthmoving","earthquake","earths","earthshaking","earthward","earthwork","earthworm","earthy","earvin","earwax","earwig","earwigged","earwigging","ease","eased","easel","easement","easer","eases","easier","easies","easiest","easily","easiness","easing","east","eastbound","easter","easterly","eastern","easterner","easternmost","easthampton","easting","eastland","eastman","eastward","eastwick","eastwood","easy","easygoing","easygoingness","eat","eatable","eatables","eaten","eater","eatery","eating","eaton","eave","eavesdrop","eavesdropped","eavesdropper","eavesdropping","eax","eb","eba","ebay","ebb","ebba","ebcdic","eben","ebeneezer","ebeneser","ebenezer","eberhard","eberto","ebola","ebonee","ebonics","ebony","ebook","ebp","ebro","ebs","ebullience","ebullient","ebullition","ebx","ec","ecb","ecc","eccentric","eccentrically","eccentricity","eccl","eccles","ecclesiastes","ecclesiastic","ecclesiastical","ecdh","ecdhe","ecdsa","ecg","echelon","echinoderm","echo","echoed","echoes","echoic","echoing","echolocation","eclectic","eclectically","eclecticism","eclipse","eclipselink","ecliptic","eclogue","ecma","ecmascript","eco","ecocide","ecol","ecole","ecologic","ecological","ecologist","ecology","ecommerce","econ","econometric","econometrica","econometricians","econometrics","economic","economical","economics","economist","economization","economize","economizer","economizing","economy","ecosystem","ecru","ecs","ecstasy","ecstatic","ecstatically","ect","ectoplasm","ecuador","ecuadoran","ecuadorean","ecuadorian","ecumenic","ecumenical","ecumenicism","ecumenicist","ecumenics","ecumenism","ecumenist","ecx","eczema","ed","eda","edam","edan","edd","edda","eddi","eddie","eddy","ede","edee","edeline","edelweiss","edema","edematous","eden","edgar","edgard","edgardo","edge","edgeless","edger","edgerton","edges","edgewater","edgewise","edgewood","edgily","edginess","edging","edgy","edi","edibility","edible","edibleness","edict","edie","edification","edifice","edifier","edify","edifying","edik","edin","edinburgh","edison","edit","edita","editable","edited","edith","editha","edithe","editing","edition","editions","edititemtemplate","editor","editorfor","editorial","editorialist","editorialize","editorializer","editors","editorship","edits","edittext","ediva","edlin","edm","edmon","edmond","edmonton","edmund","edmx","edna","edouard","edp","eds","edsel","edsger","edt","edu","eduard","eduardo","educ","educability","educable","educate","educated","education","educational","educationalists","educationists","educative","educator","educe","eduction","eduino","edutainment","edvard","edward","edwardian","edwardo","edwin","edwina","edx","edy","edyth","edythe","ee","eec","eee","eeg","eek","eel","eelgrass","eeo","eeoc","eerie","eerily","eeriness","eeyore","ef","eff","efface","effaceable","effacement","effacer","effect","effective","effectively","effectiveness","effectives","effector","effects","effectual","effectualness","effectuate","effectuation","effeminacy","effeminate","effendi","efferent","effervesce","effervescence","effervescent","effete","effeteness","efficacious","efficaciousness","efficacy","efficiency","efficient","efficiently","effie","effigy","effloresce","efflorescence","efflorescent","effluence","effluent","effluvia","effluvium","efflux","effluxion","effort","effortless","effortlessness","efforts","effrontery","effulgence","effulgent","effuse","effusion","effusive","effusiveness","efl","efrain","efrem","efren","eft","eg","ega","egad","egalitarian","egalitarianism","egalitarians","egan","egbert","egerton","egestas","eget","egg","eggbeater","eggcup","egger","egghead","eggheaded","eggnog","eggplant","eggs","eggshell","egis","egl","eglantine","ego","egocentric","egocentrically","egocentricity","egoism","egoist","egoistic","egoistical","egomania","egomaniac","egon","egor","egotism","egotist","egotistic","egotistical","egregious","egregiousness","egrep","egress","egret","egypt","egyptian","egyptology","eh","ehcache","ehrlich","ei","eichmann","eid","eider","eiderdown","eidetic","eiffel","eigen","eigenfunction","eigenstate","eigenvalue","eigenvector","eight","eighteen","eighteenths","eightfold","eighth","eighths","eightieths","eightpence","eighty","eileen","eilis","eimile","einstein","einsteinian","einsteinium","eire","eirena","eisenhower","eisenstein","eisner","eisteddfod","either","eiusmod","ej","ejabberd","ejaculate","ejaculation","ejaculatory","ejb","eject","ejecta","ejection","ejector","ejs","ekaterina","ekberg","eke","eked","ekg","ekstrom","el","elaborate","elaborateness","elaboration","elaborators","elaina","elaine","elana","eland","elane","elanor","elans","elapse","elapsed","elapsedtime","elastic","elastically","elasticated","elasticbeanstalk","elasticity","elasticize","elasticsearch","elastodynamics","elastomer","elate","elated","elatedness","elater","elation","elayne","elb","elba","elbe","elbert","elberta","elbertina","elbertine","elbow","elbowroom","elbrus","elden","elder","elderberry","elderflower","elderliness","elderly","eldest","eldin","eldon","eldorado","eldredge","eldridge","ele","eleanor","eleanora","eleanore","eleazar","elect","electable","elected","election","electioneer","elective","electiveness","elector","electoral","electorate","electra","electress","electric","electrical","electricalness","electrician","electricity","electrification","electrifier","electrify","electro","electrocardiogram","electrocardiograph","electrocardiographs","electrocardiography","electrochemical","electrocute","electrocution","electrode","electrodynamic","electrodynamics","electroencephalogram","electroencephalograph","electroencephalographic","electroencephalographs","electroencephalography","electrologist","electroluminescent","electrolysis","electrolyte","electrolytic","electrolytically","electrolyze","electromagnet","electromagnetic","electromagnetically","electromagnetism","electromechanical","electromechanics","electromotive","electromyograph","electromyographic","electromyographically","electromyography","electron","electronegative","electronic","electronically","electronics","electrophoresis","electrophorus","electroplate","electroscope","electroscopic","electroshock","electrostatic","electrostatics","electrotherapist","electrotype","electroweak","eleemosynary","eleen","elegance","elegant","elegiac","elegiacal","elegy","eleifend","elem","element","elemental","elementarily","elementariness","elementary","elementat","elementid","elementname","elementref","elements","elementtree","elementtype","elementum","elems","elena","elene","eleni","elenore","eleonora","eleonore","elephant","elephantiases","elephantiasis","elephantine","elev","elevate","elevated","elevation","elevator","eleven","elevens","elevenths","elf","elfie","elfin","elfish","elfreda","elfrida","elfrieda","elga","elgar","eli","elia","elianora","elianore","elicia","elicit","elicitation","elide","elie","elif","eligibility","eligible","elihu","elijah","eliminate","eliminated","eliminates","eliminating","elimination","eliminator","elinor","elinore","eliot","elisa","elisabet","elisabeth","elisabetta","elise","eliseo","elisha","elision","elissa","elit","elita","elite","elitism","elitist","elixir","eliza","elizabet","elizabeth","elizabethan","elk","elka","elke","elkhart","ell","ella","elladine","ellary","elle","ellen","ellene","ellerey","ellery","ellesmere","ellette","elli","ellie","ellington","elliot","elliott","ellipse","ellipsis","ellipsoid","ellipsoidal","ellipsometer","ellipsometry","elliptic","elliptical","ellipticity","ellison","ellissa","ellswerth","ellsworth","ellwood","elly","ellyn","ellynn","elm","elma","elmah","elmer","elmhurst","elmira","elmo","elmore","elmsford","elna","elnar","elnath","elnora","elnore","elocution","elocutionary","elocutionist","elodea","elohim","eloisa","eloise","elongate","elongation","elonore","elope","elopement","eloper","eloquence","eloquent","elora","eloy","elroy","els","elsa","elsbeth","else","elseif","elset","elsewhere","elsey","elsi","elsie","elsif","elsinore","elspeth","elston","elsworth","elsy","elt","eltanin","elton","eluate","elucidate","elucidation","elude","elusive","elusiveness","elute","elution","elva","elven","elver","elvera","elves","elvia","elvin","elvina","elvira","elvis","elvish","elvyn","elwin","elwira","elwood","elwyn","ely","elyn","elyse","elysees","elysha","elysia","elysian","elysium","elyssa","em","ema","emaciate","emaciation","emacs","email","emailaddress","emailid","emails","emalee","emalia","emanate","emanation","emancipate","emancipation","emancipator","emanuel","emanuele","emasculate","emasculation","embalm","embalmer","embank","embankment","embarcadero","embargo","embargoes","embark","embarkation","embarrass","embarrassed","embarrassedly","embarrassing","embarrassment","embassy","embattle","embed","embeddable","embedded","embedder","embedding","embellish","embellished","embellisher","embellishment","ember","emberjs","embezzle","embezzlement","embezzler","embitter","embitterment","emblazon","emblazonment","emblem","emblematic","embodier","embodiment","embody","embolden","embolism","embosom","emboss","embosser","embouchure","embower","embrace","embraceable","embracer","embracing","embrasure","embrittle","embrocation","embroider","embroiderer","embroidery","embroil","embroilment","embryo","embryologist","embryology","embryonic","emcee","emceeing","emelda","emelen","emelia","emelina","emeline","emelita","emelyne","emend","emendation","emera","emerald","emerge","emergence","emergency","emergent","emerita","emeritae","emeriti","emeritus","emerson","emery","emetic","emf","emigrant","emigrate","emigration","emil","emile","emilee","emili","emilia","emilie","emiline","emilio","emily","eminence","eminent","emir","emirate","emissary","emission","emissivity","emit","emits","emittance","emitted","emitter","emitting","emlen","emlyn","emlynn","emlynne","emma","emmalee","emmaline","emmalyn","emmalynn","emmalynne","emmanuel","emmeline","emmerich","emmery","emmet","emmett","emmey","emmi","emmie","emmit","emmott","emmy","emmye","emogene","emoji","emollient","emolument","emory","emote","emotion","emotional","emotionalism","emotionality","emotionalize","emotionless","emotive","emp","empaneled","empaneling","empath","empathetic","empathetical","empathic","empathize","empathy","emperor","emphases","emphasis","emphasize","emphatic","emphatically","emphysema","emphysematous","empid","empire","empiric","empirical","empiricism","empiricist","emplace","emplacement","employ","employability","employable","employed","employee","employeeid","employeename","employees","employer","employers","employment","empname","empno","emporium","empower","empowerment","empress","emptier","emptily","emptiness","empty","empyrean","emr","ems","emt","emu","emulate","emulated","emulation","emulative","emulator","emulators","emulsification","emulsifier","emulsify","emulsion","emyle","emylee","en","enable","enabled","enabledelayedexpansion","enableevents","enabler","enables","enabling","enact","enactment","ename","enamel","enameler","enamelware","enamor","enc","encamp","encampment","encapsulate","encapsulated","encapsulation","encase","encasement","encephalitic","encephalitides","encephalitis","encephalographic","encephalopathy","enchain","enchant","enchanter","enchanting","enchantment","enchantress","enchilada","encipher","encipherer","encircle","encirclement","encl","enclave","enclose","enclosed","enclosing","enclosure","encode","encoded","encoder","encodes","encodeuricomponent","encoding","encodings","encomium","encompass","encore","encounter","encountered","encountering","encounters","encourage","encouraged","encouragement","encourager","encouraging","encroach","encroacher","encroachment","encrust","encrustation","encrypt","encrypted","encrypting","encryption","enctype","encumber","encumbered","encumbrance","encumbrancer","ency","encyclical","encyclopaedia","encyclopedia","encyclopedic","encyst","encystment","end","endanger","endangerment","endblock","enddate","endear","endearing","endearment","endeavor","endeavored","endeavorer","ended","endemic","endemically","endemicity","ender","endfor","endforeach","endgame","endian","endicott","endif","endindex","ending","endings","endive","endl","endless","endlessness","endmost","endnote","endocrine","endocrinologist","endocrinology","endogamous","endogamy","endogenous","endomorphism","endorse","endorsement","endorser","endoscope","endoscopic","endoscopy","endosperm","endothelial","endothermic","endow","endowment","endpoint","endpoints","endregion","ends","endswith","endtime","endue","endungeoned","endurable","endurably","endurance","endure","enduring","enduringness","endways","endwhile","endymion","ene","enema","enemies","enemy","energetic","energetically","energetics","energize","energized","energizer","energy","enervate","enervation","enfeeble","enfeeblement","enfilade","enfold","enforce","enforceability","enforceable","enforced","enforcement","enforcer","enforcible","enforcing","enfranchise","enfranchisement","enfranchiser","eng","engage","engagement","engaging","engel","engelbert","engender","engine","engineer","engineering","engineers","engines","england","englebert","englewood","english","englishman","englishmen","englishwoman","englishwomen","engorge","engorgement","engracia","engram","engrave","engraver","engraving","engross","engrossed","engrosser","engrossing","engrossment","engulf","engulfment","enhance","enhanceable","enhanced","enhancement","enhancer","enharmonic","enid","enif","enigma","enigmatic","enigmatically","enim","eniwetok","enjambement","enjambment","enjoin","enjoinder","enjoy","enjoyability","enjoyable","enjoyableness","enjoyably","enjoyed","enjoyment","enkidu","enlarge","enlargeable","enlargement","enlarger","enlighten","enlightened","enlightening","enlightenment","enlist","enlistee","enlister","enlistment","enliven","enlivenment","enmesh","enmeshment","enmity","ennis","ennoble","ennoblement","ennobler","ennui","enoch","enoent","enormity","enormous","enormousness","enos","enough","enoughs","enplane","enqueue","enquirer","enquiringly","enquiry","enrage","enrapture","enrica","enrich","enricher","enrichetta","enrichment","enrico","enrika","enrique","enriqueta","enrobed","enroll","enrollee","enrollment","ens","ensconce","ensemble","enshrine","enshrinement","enshroud","ensign","ensilage","enslave","enslavement","enslaver","ensnare","ensnarement","ensolite","ensue","ensure","ensurer","ensures","ensuring","ent","entail","entailer","entailment","entangle","entanglement","entangler","entente","enter","entered","enterer","entering","enteritides","enteritis","enterprise","enterpriser","enterprising","enters","entertain","entertainer","entertaining","entertainment","enthalpy","enthrall","enthrallment","enthrone","enthronement","enthuse","enthusiasm","enthusiast","enthusiastic","enthusiastically","entice","enticement","enticing","entire","entirely","entirerow","entirety","entities","entitle","entitled","entitlement","entity","entityframework","entityframeworkcore","entityid","entitymanager","entitymanagerfactory","entityname","entitystate","entitytype","entomb","entombment","entomological","entomologist","entomology","entourage","entr","entrails","entrain","entrainer","entrance","entrancement","entranceway","entrancing","entrant","entrap","entrapment","entrapped","entrapping","entre","entreat","entreating","entreaty","entrench","entrenchment","entrepreneur","entrepreneurial","entrepreneurs","entrepreneurship","entries","entropic","entropy","entrust","entry","entrypoint","entryset","entryway","entwine","enum","enumerable","enumerate","enumerated","enumerates","enumerating","enumeration","enumerative","enumerator","enums","enunciable","enunciate","enunciated","enunciation","enureses","enuresis","env","envelop","envelope","enveloper","envelopment","envenom","enviable","enviableness","enviably","envied","envier","envious","enviousness","environ","environment","environmental","environmentalism","environmentalist","environments","envisage","envision","envoy","envs","envy","envying","enzymatic","enzymatically","enzyme","enzymology","eo","eocene","eoe","eof","eohippus","eol","eolanda","eolande","eolian","eon","eos","eot","ep","epa","epaulet","ephedrine","ephemera","ephemeral","ephemerids","ephemeris","ephesian","ephesians","ephesus","ephraim","ephrayim","ephrem","epi","epic","epically","epicenter","epictetus","epicure","epicurean","epicurus","epicycle","epicyclic","epicyclical","epicycloid","epidemic","epidemically","epidemiological","epidemiologist","epidemiology","epidermal","epidermic","epidermis","epidural","epigenetic","epiglottis","epigram","epigrammatic","epigraph","epigrapher","epigraphs","epigraphy","epilepsy","epileptic","epilogue","epimethius","epinephrine","epiphany","epiphenomena","episcopacy","episcopal","episcopalian","episcopate","episode","episodes","episodic","episodically","epistemic","epistemological","epistemology","epistle","epistolary","epistolatory","epitaph","epitaphs","epitaxial","epitaxy","epithelial","epithelium","epithet","epitome","epitomize","epitomized","epitomizer","epoch","epochal","epochs","epoll","eponymous","epoxy","eps","epsg","epsilon","epsom","epstein","eq","equ","equability","equable","equableness","equably","equal","equaling","equality","equalization","equalize","equalized","equalizer","equalizes","equally","equals","equalsignorecase","equalto","equanimity","equate","equation","equations","equator","equatorial","equerry","equestrian","equestrianism","equestrienne","equiangular","equidistant","equilateral","equilibrate","equilibration","equilibrium","equine","equinoctial","equinox","equip","equipage","equipartition","equipment","equipoise","equipotent","equipped","equipping","equiproportional","equiproportionality","equiproportionate","equitable","equitableness","equitably","equitation","equity","equiv","equivalence","equivalent","equivalents","equivocal","equivocalness","equivocate","equivocation","equivocator","equuleus","er","era","eradicable","eradicate","eradication","eradicator","eran","eras","erase","erased","eraser","erasion","erasmus","erastus","erasure","erat","erato","eratosthenes","erb","erbium","erda","ere","erebus","erect","erectile","erection","erectness","erector","erek","erelong","eremite","erena","erg","ergo","ergodic","ergodicity","ergonomic","ergonomically","ergonomics","ergophobia","ergosterol","ergot","erhard","erhart","eric","erica","erich","ericha","erick","ericka","erickson","ericson","ericsson","eridanus","erie","erik","erika","erikson","erin","erina","erinn","erinna","eris","eritrea","erl","erlang","erlenmeyer","erma","ermanno","ermengarde","ermentrude","ermin","ermina","ermine","erminia","erminie","erna","ernaline","ernest","ernesta","ernestine","ernesto","ernestus","ernie","ernst","erny","erode","erodible","erogenous","eros","erosible","erosion","erosional","erosive","erosiveness","erotic","erotica","erotically","eroticism","erp","err","errancy","errand","errant","errantry","errata","erratic","erratically","erratum","errick","erring","errmode","errmsg","errno","errol","erroll","erroneous","erroneousness","error","errorcode","errordocument","errorhandler","errorlevel","errorlistener","errorlog","errormessage","errormsg","errorreportvalve","errors","errorthrown","ersatz","erse","erskine","erst","erstwhile","ertha","eruct","eructation","erudite","erudition","erupt","eruption","eruptive","erv","ervin","erwin","eryn","erysipelas","erythrocyte","es","esau","esb","esc","escadrille","escalate","escalation","escalator","escallop","escapable","escapade","escape","escaped","escapee","escapement","escaper","escapes","escaping","escapism","escapist","escapology","escarole","escarpment","eschatology","escher","escherichia","eschew","escondido","escort","escritoire","escrow","escudo","escutcheon","esdras","ese","esi","eskimo","esl","eslint","esma","esmaria","esmark","esme","esmeralda","esophageal","esophagi","esophagus","esoteric","esoterica","esoterically","esp","espadrille","espagnol","espalier","especial","especially","esperanto","esperanza","espinoza","espionage","esplanade","esposito","espousal","espouse","espouser","espresso","esprit","espy","esq","esquire","esra","esri","essa","essay","essayer","essayist","esse","essen","essence","essene","essential","essentialist","essentially","essentialness","essentials","essequibo","essex","essie","essy","est","esta","establish","established","establisher","establishing","establishment","estado","estate","esteban","esteem","estel","estela","estele","estell","estella","estelle","ester","esterhzy","estes","estevan","esther","esthete","esthetic","esthetically","esthetics","estimable","estimableness","estimate","estimated","estimates","estimating","estimation","estimator","estonia","estonian","estoppal","estrada","estrange","estrangement","estranger","estrella","estrellita","estrogen","estrous","estrus","estuarine","estuary","et","eta","etag","etan","etc","etcetera","etch","etcher","etching","etd","eternal","eternalness","eternity","eth","ethan","ethane","ethanol","ethe","ethel","ethelbert","ethelda","ethelin","ethelind","etheline","ethelred","ethelyn","ether","ethereal","etherealness","etherized","ethernet","ethic","ethical","ethically","ethicalness","ethicist","ethiopia","ethiopian","ethnic","ethnically","ethnicity","ethnocentric","ethnocentrism","ethnographers","ethnographic","ethnography","ethnological","ethnologist","ethnology","ethnomethodology","ethological","ethologist","ethology","ethos","ethyl","ethylene","etiam","etienne","etiologic","etiological","etiology","etiquette","etl","etna","etree","etruria","etruscan","etta","etti","ettie","ettore","etty","etymological","etymologist","etymology","eu","eucalypti","eucalyptus","eucharist","eucharistic","euchre","euclid","euclidean","eudora","euell","eugen","eugene","eugenia","eugenic","eugenically","eugenicist","eugenics","eugenie","eugenio","eugenius","eugine","euismod","eula","eulalie","euler","eulerian","eulogist","eulogistic","eulogize","eulogized","eulogizer","eulogy","eumenides","eunice","eunuch","eunuchs","euphemia","euphemism","euphemist","euphemistic","euphemistically","euphonious","euphonium","euphony","euphoria","euphoric","euphorically","euphrates","eur","eurasia","eurasian","eureka","euripides","euro","eurodollar","europa","europe","european","europeanization","europeanized","europium","eurydice","eustace","eustachian","eustacia","eutectic","euterpe","euthanasia","euthenics","ev","eva","evacuate","evacuation","evacuee","evade","evader","eval","evaleen","evaluable","evaluate","evaluated","evaluates","evaluating","evaluation","evaluational","evaluative","evaluator","evan","evanescence","evanescent","evangelia","evangelic","evangelical","evangelicalism","evangelin","evangelina","evangeline","evangelism","evangelist","evangelistic","evangelize","evania","evanne","evanston","evansville","evaporate","evaporation","evaporative","evaporator","evasion","evasive","evasiveness","eve","eveleen","evelin","evelina","eveline","evelyn","even","evened","evener","evenhanded","evening","evenki","evenly","evenness","evens","evensong","event","eventargs","eventbus","eventdata","eventdate","eventdispatchthread","eventemitter","eventful","eventfulness","eventhandler","eventid","eventide","eventlistener","eventlog","eventname","eventqueue","events","eventtrigger","eventtype","eventual","eventuality","eventually","eventuate","ever","everard","eveready","evered","everest","everett","everette","everglade","everglades","evergreen","everhart","everlasting","everlastingness","everliving","evermore","evernote","everready","every","everybody","everyday","everydayness","everyman","everyone","everyplace","everything","everytime","everywhere","eves","evey","evict","eviction","evidence","evident","evidential","evie","evil","evildoer","evildoing","evilness","evin","evince","eviscerate","evisceration","evita","evocable","evocate","evocation","evocative","evocativeness","evoke","evolute","evolution","evolutionarily","evolutionary","evolutionist","evolve","evolved","evonne","evp","evt","evvie","evvy","evy","evyn","ew","ewan","eward","ewart","ewe","ewell","ewen","ewer","ewing","ex","exacerbate","exacerbation","exact","exacter","exacting","exactingness","exaction","exactitude","exactly","exactness","exaggerate","exaggerated","exaggeration","exaggerative","exaggerator","exalt","exaltation","exalted","exalter","exam","examen","examination","examine","examined","examinees","examiner","examines","examining","example","exampled","examples","exams","exasperate","exasperated","exasperating","exasperation","exc","excalibur","excavate","excavation","excavator","excedrin","exceed","exceeded","exceeder","exceeding","exceeds","excel","excelled","excellence","excellency","excellent","excelling","excelsior","except","exception","exceptionable","exceptional","exceptionalness","exceptionhandler","exceptions","excerpt","excerpter","excess","excessive","excessiveness","exchange","exchangeable","exchanger","exchanges","exchequer","excise","excision","excitability","excitable","excitableness","excitably","excitation","excitatory","excite","excited","excitement","exciter","exciting","excitingly","exciton","exclaim","exclaimer","exclamation","exclamatory","exclude","excluded","excluder","excludes","excluding","exclusion","exclusionary","exclusioner","exclusions","exclusive","exclusively","exclusiveness","exclusivity","excommunicate","excommunication","excoriate","excoriation","excrement","excremental","excrescence","excrescent","excreta","excrete","excreter","excretion","excretory","excruciate","excruciating","excruciation","exculpate","exculpation","exculpatory","excursion","excursionist","excursive","excursiveness","excursus","excusable","excusableness","excusably","excuse","excused","excuser","exe","exec","execrable","execrableness","execrably","execrate","execration","execsql","executable","executables","execute","executeactionstaskexecuter","executed","executenonquery","executequery","executer","executereader","executes","executescalar","executescript","executesql","executeupdate","executing","execution","executional","executioncontext","executioner","executionexception","executions","executive","executor","executors","executorservice","executrices","executrix","exegeses","exegesis","exegete","exegetic","exegetical","exemplar","exemplariness","exemplary","exemple","exemplification","exemplifier","exemplify","exempt","exemption","exercise","exerciser","exercises","exercitation","exert","exertion","exeter","exeunt","exhalation","exhale","exhaust","exhausted","exhauster","exhaustible","exhausting","exhaustion","exhaustive","exhaustiveness","exhibit","exhibition","exhibitioner","exhibitionism","exhibitionist","exhibitor","exhilarate","exhilarating","exhilaration","exhort","exhortation","exhorter","exhumation","exhume","exhumer","exif","exigence","exigency","exigent","exiguity","exiguous","exile","exist","existed","existence","existent","existential","existentialism","existentialist","existentialistic","existents","existing","exists","exit","exitcode","exited","exiting","exits","exobiology","exocrine","exodus","exogamous","exogamy","exogenous","exonerate","exoneration","exorbitance","exorbitant","exorcise","exorcism","exorcist","exorcizer","exoskeleton","exosphere","exothermic","exothermically","exotic","exotica","exotically","exoticism","exoticness","exp","expand","expandability","expandable","expandablelistview","expanded","expander","expanding","expands","expanse","expansible","expansion","expansionary","expansionism","expansionist","expansive","expansiveness","expatiate","expatiation","expatriate","expatriation","expect","expectancy","expectant","expectation","expectational","expectations","expected","expectedconditions","expecting","expectorant","expectorate","expectoration","expects","expedience","expediency","expedient","expedients","expedite","expediter","expedition","expeditionary","expeditious","expeditiousness","expeditor","expel","expellable","expelled","expelling","expend","expendable","expended","expender","expenditure","expense","expenses","expensive","expensiveness","experience","experienced","experiences","experiencing","experiential","experiment","experimental","experimentalism","experimentalist","experimentation","experimented","experimenter","experimenting","experiments","expert","experted","experting","expertise","expertize","expertness","expertnesses","experts","expiable","expiate","expiation","expiatory","expiration","expire","expired","expires","expiresbytype","expiry","explain","explainable","explained","explainer","explaining","explains","explanation","explanations","explanatory","expletive","explicable","explicate","explication","explicative","explicit","explicitly","explicitness","explode","exploded","exploder","exploit","exploitation","exploitative","exploited","exploiter","exploration","exploratory","explore","explored","explorer","exploring","explosion","explosive","explosiveness","expo","exponent","exponential","exponentiate","exponentiation","export","exportability","exportable","exportation","exported","exporter","exporting","exports","expos","expose","exposed","exposer","exposes","exposing","exposit","exposition","expositor","expository","expostulate","expostulation","exposure","expound","expounder","expr","express","expressed","expresser","expressibility","expressible","expressibly","expression","expressionism","expressionist","expressionistic","expressionless","expressions","expressive","expressiveness","expressjs","expressway","expropriate","expropriation","expropriator","expulsion","expunge","expunger","expurgate","expurgated","expurgation","exquisite","exquisiteness","ext","extant","extemporaneous","extemporaneousness","extempore","extemporization","extemporize","extemporizer","extend","extendability","extended","extendedly","extendedness","extender","extendibility","extendibles","extending","extends","extensibility","extensible","extension","extensional","extensions","extensive","extensively","extensiveness","extensor","extent","extenuate","extenuation","exterior","exterminate","extermination","exterminator","extern","external","externalities","externalization","externalize","externally","externals","extinct","extinction","extinguish","extinguishable","extinguisher","extirpate","extirpation","extjs","extol","extolled","extoller","extolling","extort","extorter","extortion","extortionate","extortioner","extortionist","extra","extracellular","extract","extracted","extracting","extraction","extractive","extractor","extracts","extracurricular","extradite","extradition","extragalactic","extralegal","extramarital","extramural","extraneous","extraneousness","extraordinarily","extraordinariness","extraordinary","extrapolate","extrapolation","extras","extrasensory","extraterrestrial","extraterritorial","extraterritoriality","extravagance","extravagant","extravaganza","extravehicular","extravert","extrema","extremal","extreme","extremely","extremeness","extremism","extremist","extremity","extricable","extricate","extrication","extrinsic","extrinsically","extroversion","extrovert","extrude","extruder","extrusion","extrusive","exuberance","exuberant","exudate","exudation","exude","exult","exultant","exultation","exulting","exurb","exurban","exurbanite","exurbia","exxon","ey","eyck","eyde","eydie","eye","eyeball","eyebrow","eyed","eyedropper","eyeful","eyeglass","eyelash","eyeless","eyelet","eyelid","eyeliner","eyeopener","eyeopening","eyepiece","eyer","eyes","eyeshadow","eyesight","eyesore","eyestrain","eyeteeth","eyetooth","eyewash","eyewitness","eyre","eyrie","eysenck","ez","ezechiel","ezekiel","ezequiel","eziechiele","ezmeralda","ezra","ezri","f","f0_","fa","faa","fab","fabe","faber","faberg","fabian","fabiano","fabien","fabio","fable","fabler","fabric","fabricate","fabrication","fabricator","fabulists","fabulous","fabulousness","fac","facade","facades","face","facebook","facecloth","facecloths","faced","faceless","facelets","faceplate","facer","faces","facescontext","facet","facetious","facetiousness","facets","facial","facile","facileness","facilisis","facilitate","facilitation","facilitator","facilitatory","facilities","facility","facing","facsimile","facsimileing","fact","faction","factional","factionalism","factious","factiousness","factitious","facto","factoid","factor","factorial","factories","factoring","factorisable","factorization","factorize","factors","factory","factorygirl","factotum","facts","factual","factuality","factualness","faculty","fad","faddish","faddist","fade","faded","fadedly","fadein","fadeout","fader","fades","fadeto","fading","fae","faence","faerie","faeroe","faery","fafnir","fag","fagged","fagging","faggoting","fagin","fagot","fagoting","fahd","fahrenheit","fail","failed","failing","faille","failover","fails","failsafe","failure","failures","fain","faina","faint","fainter","fainthearted","faintness","fair","fairbanks","fairchild","faired","fairfax","fairfield","fairgoer","fairground","fairing","fairish","fairleigh","fairless","fairlie","fairly","fairmont","fairness","fairport","fairs","fairview","fairway","fairy","fairyland","fairytale","faisal","faisalabad","faith","faithed","faithful","faithfulness","faithfuls","faithing","faithless","faithlessness","faiths","fajitas","fake","faker","fakir","falafel","falcon","falconer","falconry","falito","falk","falkland","falkner","fall","fallacious","fallaciousness","fallacy","fallback","faller","fallibility","fallible","fallibleness","fallibly","falling","falloff","fallon","fallopian","fallout","fallow","fallowness","falls","false","falsehood","falseness","falsetto","falsie","falsifiability","falsifiable","falsification","falsifier","falsify","falsity","falstaff","falter","falterer","faltering","falwell","fame","famed","fames","familial","familiar","familiarity","familiarization","familiarize","familiarized","familiarizer","familiarizing","familiarly","familiarness","families","family","famine","faming","famish","famous","famously","famousness","fan","fanatic","fanatical","fanaticalness","fanaticism","fanchette","fanchon","fancie","fancied","fancier","fanciest","fanciful","fancifulness","fancily","fanciness","fancy","fancybox","fancying","fancywork","fandango","fanechka","fanfare","fanfold","fang","fangled","fania","fanlight","fanned","fanni","fannie","fanning","fanny","fanout","fans","fantail","fantasia","fantasist","fantasize","fantastic","fantastical","fantasy","fanya","fanzine","faq","faqs","far","fara","farad","faraday","farah","farand","faraway","farber","farce","farcical","fare","farer","farewell","farfetchedness","fargo","farica","farina","farinaceous","farkas","farlay","farlee","farleigh","farley","farlie","farly","farm","farmer","farmhand","farmhouse","farming","farmington","farmland","farmstead","farmworker","farmyard","faro","farr","farra","farrago","farragoes","farragut","farrah","farrakhan","farrand","farrel","farrell","farrier","farris","farrow","farseeing","farsighted","farsightedness","fart","farther","farthermost","farthest","farthing","fas","fascia","fascicle","fasciculate","fasciculation","fascinate","fascinating","fascination","fascism","fascist","fascistic","fashion","fashionable","fashionableness","fashionably","fashioner","fassbinder","fast","fasta","fastback","fastball","fastcgi","fasten","fastener","fastening","faster","fasterxml","fastest","fastidious","fastidiousness","fastness","fat","fatal","fatalism","fatalist","fatalistic","fatalistically","fatality","fatback","fate","fateful","fatefulness","fates","fathead","fatheaded","father","fathered","fatherhood","fatherland","fatherless","fatherliness","fatherly","fathom","fathomable","fathomless","fatigue","fatigued","fatiguing","fatima","fatness","fatso","fatted","fatten","fattener","fatter","fattest","fattiness","fatting","fatty","fatuity","fatuous","fatuousness","fatwa","faucet","faucibus","faulkner","faulknerian","fault","faultfinder","faultfinding","faultily","faultiness","faultless","faultlessness","faults","faulty","faun","fauna","faunie","fauntleroy","faust","faustian","faustina","faustine","faustino","faustus","fauvism","fav","favicon","favor","favorable","favorableness","favorably","favored","favoredness","favorer","favoring","favorings","favorite","favorites","favoritism","favors","favour","favourite","fawkes","fawn","fawne","fawner","fawnia","fawning","fax","fay","faydra","faye","fayette","fayetteville","fayina","fayre","fayth","faythe","faze","fb","fbi","fc","fcc","fclose","fcm","fcntl","fct","fd","fda","fdic","fdr","fds","fe","fealty","fear","fearful","fearfuller","fearfullest","fearfulness","fearless","fearlessness","fearsome","fearsomeness","feasibility","feasible","feasibleness","feasibly","feast","feaster","feat","feater","feather","featherbed","featherbedding","featherbrain","feathered","feathering","featherless","featherlight","featherman","feathertop","featherweight","feathery","feats","feature","featured","featureless","features","feb","febrile","february","fecal","feces","fecha","feckless","fecklessness","fecund","fecundability","fecundate","fecundation","fecundity","fed","federal","federalism","federalist","federalization","federalize","federate","federated","federation","federative","federica","federico","fedex","fedora","feds","fee","feeble","feebleness","feebly","feed","feedback","feedbag","feeder","feeding","feedlot","feeds","feedstock","feedstuffs","feeing","feel","feeler","feeling","feelingly","feelingness","feelings","feels","fees","feet","feign","feigned","feigner","feint","feisty","felder","feldman","feldspar","felecia","felic","felicdad","felice","felicia","felicio","felicitate","felicitation","felicitous","felicitousness","felicity","felicle","felike","feliks","feline","felipa","felipe","felis","felisha","felita","felix","feliza","felizio","fell","fella","fellatio","felled","feller","felling","fellini","fellness","fellow","fellowman","fellowmen","fellowship","fellowshipped","fellowshipping","felon","felonious","feloniousness","felony","felt","felting","fem","female","femaleness","feminine","feminineness","femininity","feminism","feminist","femme","femoral","femur","fen","fence","fenced","fencepost","fencer","fencing","fend","fender","fenelia","fenestration","fenian","fenland","fennel","fenwick","feodor","feodora","feof","fer","feral","ferber","ferd","ferdie","ferdinand","ferdinanda","ferdinande","ferdinando","ferdy","fergus","ferguson","ferlinghetti","fermat","ferment","fermentation","fermented","fermenter","fermenting","fermentum","fermi","fermion","fermium","fern","fernanda","fernande","fernandez","fernandina","fernando","ferne","fernery","ferny","ferocious","ferociousness","ferocity","ferrari","ferraro","ferreira","ferrel","ferrell","ferrer","ferret","ferreter","ferric","ferris","ferrite","ferro","ferroelectric","ferromagnet","ferromagnetic","ferrous","ferrule","ferry","ferryboat","ferryman","ferrymen","fertile","fertileness","fertility","fertilization","fertilize","fertilized","fertilizer","fertilizes","ferule","fervency","fervent","fervid","fervidness","fervor","fess","fest","festal","fester","festival","festive","festiveness","festivity","festoon","feta","fetal","fetch","fetchall","fetchdata","fetched","fetchedresultscontroller","fetcher","fetches","fetching","fetchrequest","fetchtype","feted","fetich","fetid","fetidness","feting","fetish","fetishism","fetishist","fetishistic","fetlock","fetter","fettle","fettling","fettuccine","fetus","feud","feudal","feudalism","feudalistic","feudatory","feugiat","fever","feverish","feverishness","few","fewer","fewness","fey","feynman","fez","fezzes","ff","ffa","ffb","ffc","ffd","ffe","fff","ffff","ffffff","ffffffff","ffi","fflush","ffmpeg","fft","fftw","fg","fgetc","fgets","fh","fha","fi","fianc","fiance","fiann","fianna","fiasco","fiascoes","fiat","fib","fibbed","fibber","fibbing","fiber","fiberboard","fiberfill","fiberglas","fiberglass","fibonacci","fibril","fibrillate","fibrillation","fibrin","fibroblast","fibroid","fibroses","fibrosis","fibrous","fibrousness","fibula","fibulae","fibular","fica","fices","fiche","fichte","fichu","fickle","fickleness","ficos","fiction","fictional","fictionalization","fictionalize","fictitious","fictitiousness","fictive","ficus","fid","fiddle","fiddler","fiddlestick","fiddling","fiddly","fide","fidel","fidela","fidelia","fidelio","fidelity","fidget","fidgety","fido","fidole","fiducial","fiduciary","fie","fief","fiefdom","field","fielded","fielder","fieldid","fielding","fieldname","fieldnames","fields","fieldset","fieldstone","fieldtype","fieldvalue","fieldwork","fieldworker","fiend","fiendish","fiendishness","fierce","fierceness","fierily","fieriness","fiery","fies","fiesta","fife","fifer","fifi","fifine","fifo","fifteen","fifteenths","fifth","fifths","fiftieths","fifty","fig","figaro","figcaption","figged","figging","fight","fightback","fighter","fighting","figment","figsize","figueroa","figural","figuration","figurative","figurativeness","figure","figured","figurehead","figurer","figures","figurine","figuring","fiji","fijian","fil","filament","filamentary","filamentous","filbert","filberte","filberto","filch","file","fileaccess","filechooser","filecontent","filed","filedata","filedialog","fileextension","fileformat","filehandle","fileid","fileinfo","fileinput","fileinputstream","filelist","filemanager","filemode","filename","filenames","fileno","filenotfoundexception","fileoutputstream","filepath","filer","filereader","files","fileset","filesize","filesmatch","filestream","filesystem","filesystemobject","filesystems","filet","filetree","filetype","fileupload","fileurl","fileurlwithpath","fileutils","filewriter","filia","filial","filibuster","filibusterer","filide","filigree","filigreeing","filing","filings","filip","filipino","filippa","filippo","fill","fillcolor","filled","filler","fillet","filleting","filling","fillip","fillmore","fillna","fillrect","fills","fillstyle","filly","film","filmdom","filmer","filminess","filming","filmmaker","filmore","films","filmstrip","filmy","filofax","filter","filterable","filterchain","filterchainproxy","filtercontext","filtered","filterer","filtering","filters","filth","filthily","filthiness","filths","filthy","filtrate","filtrated","filtrates","filtrating","filtration","fin","fina","finagle","finagler","final","finale","finalist","finality","finalization","finalize","finally","finalname","finance","financed","finances","financial","financier","financing","finch","find","findable","findall","findbugs","findbyid","findclass","findcontrol","findelement","findelements","finder","findfragmentbyid","finding","findings","findlay","findley","findone","finds","findstr","findviewbyid","fine","finely","fineness","finery","finespun","finesse","finger","fingerboard","fingerer","fingering","fingerless","fingerling","fingernail","fingerprint","fingers","fingertip","finial","finical","finickiness","finicky","fining","finis","finish","finished","finisher","finishes","finishing","finite","finitely","finiteness","fink","finland","finlay","finley","finn","finnbogadottir","finned","finnegan","finner","finning","finnish","finny","fiona","fionna","fionnula","fiord","fiorello","fiorenze","fiori","fir","fire","firearm","fireball","firebase","firebaseauth","firebasedatabase","firebird","fireboat","firebomb","firebox","firebrand","firebreak","firebrick","firebug","firecracker","fired","firedamp","fireevent","firefight","firefly","firefox","firefoxdriver","fireguard","firehouse","firelight","fireman","firemen","fireplace","fireplug","firepower","fireproof","firer","fires","firesafe","fireside","firestone","firestore","firestorm","firetrap","firetruck","firewall","firewalls","firewater","firewood","firework","firing","firkin","firm","firmament","firmer","firmest","firmly","firmness","firms","firmware","firring","first","firstborn","firstchild","firsthand","firstly","firstname","firstordefault","firth","firths","fis","fiscal","fischbein","fischer","fish","fishbowl","fishcake","fisher","fisherman","fishermen","fishery","fishhook","fishily","fishiness","fishing","fishkill","fishmeal","fishmonger","fishnet","fishpond","fishtail","fishtanks","fishwife","fishwives","fishy","fisk","fiske","fissile","fission","fissionable","fissure","fist","fistfight","fistful","fisticuff","fistula","fistulous","fit","fitch","fitchburg","fitful","fitfulness","fitments","fitness","fits","fitssystemwindows","fitted","fitter","fittest","fitting","fittingly","fittingness","fittings","fitz","fitzgerald","fitzpatrick","fitzroy","five","fivefold","fiver","fix","fixable","fixate","fixatifs","fixation","fixative","fixed","fixedness","fixer","fixes","fixing","fixity","fixture","fixtures","fizeau","fizz","fizzer","fizzle","fizzy","fjord","fjs","fk","fl","fla","flab","flabbergast","flabbergasting","flabbily","flabbiness","flabby","flaccid","flaccidity","flack","flag","flagella","flagellate","flagellation","flagellum","flagged","flagging","flaggingly","flagman","flagmen","flagon","flagpole","flagrance","flagrancy","flagrant","flags","flagship","flagstaff","flagstone","flail","flair","flak","flake","flaker","flakiness","flaky","flam","flamb","flambeing","flambes","flamboyance","flamboyancy","flamboyant","flame","flamen","flamenco","flameproof","flamer","flamethrower","flaming","flamingo","flammability","flammable","flan","flanagan","flanders","flange","flank","flanker","flannel","flannelet","flannelette","flap","flapjack","flapped","flapper","flapping","flaps","flare","flareup","flaring","flash","flashback","flashbulb","flashcard","flashcube","flasher","flashgun","flashily","flashiness","flashing","flashlight","flashy","flask","flat","flatbed","flatboat","flatcar","flatfeet","flatfish","flatfoot","flathead","flatiron","flatland","flatmap","flatmate","flatness","flatt","flatted","flatten","flattened","flattener","flatter","flatterer","flattering","flattery","flattest","flatting","flattish","flattop","flatulence","flatulent","flatus","flatware","flatworm","flaubert","flaunt","flaunting","flautist","flavor","flavored","flavorer","flavorful","flavoring","flavorless","flavors","flavorsome","flaw","flawed","flawless","flawlessly","flawlessness","flaws","flax","flaxseed","flay","flayer","fld","flea","fleabag","fleabites","fleawort","fleck","fledermaus","fledge","fledged","fledgling","flee","fleece","fleecer","fleeciness","fleecy","fleeing","fleet","fleeting","fleetingly","fleetingness","fleetness","fleischer","fleischman","fleisher","flem","fleming","flemish","flemished","flemishing","flemming","flesh","flesher","fleshiness","fleshless","fleshly","fleshpot","fleshy","fletch","fletcher","fletching","fleur","fleurette","flew","flews","flex","flexbox","flexed","flexibility","flexible","flexibly","flexitime","flexslider","flextime","flexural","flexure","flibbertigibbet","flick","flicker","flickering","flickery","flickr","flier","flight","flightiness","flightless","flightpath","flights","flighty","flimflam","flimflammed","flimflamming","flimsily","flimsiness","flimsy","flin","flinch","flincher","flinching","fling","flinger","flink","flinn","flint","flintiness","flintless","flintlock","flintstones","flinty","flip","flipflop","flippable","flippancy","flippant","flipped","flipper","flippest","flipping","flirt","flirtation","flirtatious","flirtatiousness","flit","flitted","flitting","flo","float","floated","floater","floating","floatingactionbutton","floats","floatvalue","floaty","flocculate","flocculation","flock","floe","flog","flogged","flogger","flogging","flood","floodgate","floodlight","floodlit","floodplain","floodwater","floor","floorboard","floorer","flooring","floorspace","floorwalker","floozy","flop","flophouse","flopped","flopper","floppily","floppiness","flopping","floppy","flor","flora","floral","florance","flore","florella","florence","florencia","florentia","florentine","florenza","florescence","florescent","floret","florette","flori","floria","florian","florid","florida","floridan","floridian","floridness","florie","florin","florina","florinda","florine","florist","florri","florrie","florry","flory","floss","flossi","flossie","flossy","flot","flotation","flotilla","flotsam","flounce","flouncing","flouncy","flounder","flour","flourish","flourisher","flourishing","floury","flout","flouter","flow","flowchart","flowed","flower","flowerbed","flowerer","floweriness","flowerless","flowerpot","flowers","flowery","flowing","flowlayout","flown","flows","flowstone","floyd","flss","flt","flu","flub","flubbed","flubbing","fluctuate","fluctuation","flue","fluency","fluent","fluently","fluff","fluffiness","fluffy","fluid","fluidity","fluidized","fluidness","fluidpage","fluke","fluky","flume","flummox","flung","flunk","flunkey","flunky","fluoresce","fluorescence","fluorescent","fluoridate","fluoridation","fluoride","fluorimetric","fluorinated","fluorine","fluorite","fluorocarbon","fluoroscope","fluoroscopic","flurry","flush","flushed","flushing","flushness","fluster","flute","fluter","fluting","flutist","flutter","flutterer","fluttery","flux","fluxed","fluxes","fluxing","flv","fly","flyaway","flyblown","flyby","flybys","flycatcher","flyer","flying","flyleaf","flyleaves","flynn","flyover","flypaper","flysheet","flyspeck","flyswatter","flyway","flyweight","flywheel","fm","fmap","fmt","fn","fname","fnma","fno","fnr","fo","foal","foam","foaminess","foamy","fob","fobbed","fobbing","focal","focally","foch","foci","focus","focusable","focused","focuser","focuses","focusing","fodder","foe","foetid","fofl","fog","fogbound","fogged","foggily","fogginess","fogging","foggy","foghorn","fogs","fogy","fogyish","foible","foil","foist","fokker","fol","fold","foldaway","folded","folder","foldername","folderpath","folders","folding","foldout","foldr","folds","foley","foliage","foliate","foliation","folio","folk","folklike","folklore","folkloric","folklorist","folks","folksiness","folksinger","folksinging","folksong","folksy","folktale","folkway","foll","follicle","follicular","follow","followed","follower","followers","following","follows","followsymlinks","followup","folly","folsom","fomalhaut","foment","fomentation","fomenter","fond","fonda","fondant","fondle","fondler","fondness","fondue","fons","fonsie","font","fontaine","fontainebleau","fontana","fontanel","fontanelle","fontawesome","fontfamily","fontname","fonts","fontsize","fontstyle","fontweight","fontwithname","fonz","fonzie","foo","foobar","food","foodie","foods","foodstuff","fool","foolery","foolhardily","foolhardiness","foolhardy","foolish","foolishness","foolproof","foolscap","foos","foot","footage","football","footbridge","foote","footer","footfall","foothill","foothold","footing","footless","footlights","footling","footlocker","footloose","footman","footmarks","footmen","footnote","footpad","footpath","footpaths","footplate","footprint","footrace","footrest","footsie","footsore","footstep","footstool","footwear","footwork","fop","fopen","fopped","foppery","fopping","foppish","foppishness","for","forage","forager","forall","foray","forayer","forbade","forbear","forbearance","forbearer","forbes","forbid","forbidden","forbidding","forbiddingness","forbore","forborne","force","forced","forcefield","forceful","forcefulness","forceps","forcer","forces","forcible","forcibleness","forcibly","forcing","forcontrolevents","ford","fordable","fordham","fore","foreach","forearm","forebear","forebode","foreboding","forebodingness","forecast","forecaster","forecastle","foreclose","foreclosure","forecolor","forecourt","foredoom","forefather","forefeet","forefinger","forefoot","forefront","foregoer","foregoing","foregone","foregos","foreground","foregroundcolor","forehand","forehead","foreign","foreigner","foreignkey","foreignness","foreknew","foreknow","foreknowledge","foreknown","foreleg","forelimb","forelock","foreman","foremast","foremen","foremost","forename","forenoon","forensic","forensically","forensics","foreordain","forepart","forepaws","forepeople","foreperson","foreplay","forequarter","forerunner","foresail","foresaw","foresee","foreseeable","foreseeing","foreseen","foreseer","foreshadow","foreshore","foreshorten","foresight","foresighted","foresightedness","foreskin","forest","forestall","forestaller","forestallment","forestation","forestations","forester","forestland","forestry","foretaste","foretell","foreteller","forethought","foretold","forever","forevermore","forewarn","forewarner","forewent","forewoman","forewomen","foreword","forfeit","forfeiter","forfeiture","forfend","forgather","forgave","forge","forged","forger","forgery","forges","forget","forgetful","forgetfulness","forgettable","forgettably","forgetting","forging","forgivable","forgivably","forgive","forgiven","forgiveness","forgiver","forgiving","forgivingly","forgivingness","forgo","forgoer","forgoes","forgone","forgot","forgotten","forhttpheaderfield","forindexpath","fork","forked","forkey","forkful","forking","forklift","forks","forlorn","forlornness","form","formability","formal","formaldehyde","formalin","formalism","formalist","formalistic","formality","formalization","formalize","formalized","formalizer","formalizes","formally","formalness","formals","formant","format","formatdate","formate","formation","formative","formatively","formativeness","formats","formatted","formatter","formatters","formatting","formbuilder","formcontrol","formcontrolname","formdata","formed","former","formerly","formfitting","formgroup","formic","formica","formid","formidable","formidableness","formidably","forming","formless","formlessness","formmethod","formname","formosa","formosan","forms","formsauthentication","formset","formula","formulaic","formular","formulas","formulate","formulated","formulation","formulator","forname","fornicate","fornication","fornicator","forrest","forrester","forroot","forsake","forsaken","forsook","forsooth","forstate","forster","forswear","forswore","forsworn","forsythia","fort","fortaleza","forte","forth","forthcome","forthcoming","forthright","forthrightness","forthwith","fortieths","fortification","fortified","fortifier","fortify","fortiori","fortissimo","fortitude","fortnight","fortnightly","fortran","fortress","fortuitous","fortuitousness","fortuity","fortunate","fortunately","fortunateness","fortune","fortuneteller","fortunetelling","forty","forum","forums","forward","forwarded","forwarder","forwarding","forwardness","forwards","forwent","fos","foss","fossil","fossiliferous","fossilization","fossilize","fossilized","foster","fosterer","foto","foucault","fought","foul","foulard","foulmouth","foulness","fouls","found","foundation","foundational","founded","founder","founders","founding","foundling","foundry","founds","fount","fountain","fountainhead","four","fourfold","fourier","fourpence","fourpenny","fourposter","fourscore","foursome","foursquare","fourteen","fourteener","fourteenths","fourth","fourths","fout","fovea","fowl","fowler","fowling","fox","foxfire","foxglove","foxhall","foxhole","foxhound","foxily","foxiness","foxing","foxtail","foxtrot","foxtrotted","foxtrotting","foxy","foyer","fp","fpga","fpic","fpm","fpo","fprintf","fps","fq","fql","fr","frac","fracas","fractal","fraction","fractional","fractionate","fractionation","fractioned","fractioning","fractions","fractious","fractiousness","fracture","frag","fragile","fragility","fragment","fragmentactivity","fragmentarily","fragmentariness","fragmentary","fragmentation","fragmentmanager","fragmentmanagerimpl","fragmentpageradapter","fragments","fragmenttransaction","fragonard","fragrance","fragrant","frail","frailness","frailty","frame","frameborder","framebuffer","framed","framelayout","framer","framerate","frames","framework","frameworkelement","frameworkmethod","frameworks","frameworkservlet","framing","fran","franc","francaise","france","francene","francesca","francesco","franchise","franchisee","franchiser","franchot","francie","francine","francis","francisca","franciscan","francisco","franciska","franciskus","francium","franck","francklin","francklyn","franco","francois","francoise","francophone","francyne","frangibility","frangible","frank","frankel","frankenstein","franker","frankford","frankfort","frankfurt","frankfurter","frankie","frankincense","frankish","franklin","frankly","franklyn","frankness","franky","franni","frannie","franny","fransisco","frantic","frantically","franticness","frants","franz","franzen","frapp","frappeed","frappeing","frappes","frasco","fraser","frasier","frasquito","frat","fraternal","fraternity","fraternization","fraternize","fraternizer","fraternizing","fratricidal","fratricide","frau","fraud","fraudsters","fraudulence","fraudulent","fraught","fraulein","fray","frayda","frayne","fraze","frazer","frazier","frazzle","fread","freak","freakish","freakishness","freaky","freckle","freckly","fred","freda","freddi","freddie","freddy","fredek","fredelia","frederic","frederica","frederich","frederick","fredericka","frederico","fredericton","frederigo","frederik","frederique","fredholm","fredi","fredia","fredra","fredric","fredrick","fredrickson","fredrika","free","freebase","freebie","freeboot","freebooter","freeborn","freebsd","freed","freedman","freedmen","freedom","freehand","freehanded","freehold","freeholder","freeing","freelance","freeland","freeload","freeloader","freely","freeman","freemarker","freemason","freemasonry","freemen","freemon","freeness","freeport","freestanding","freestone","freestyle","freethinker","freethinking","freetown","freetype","freeway","freewheel","freewheeler","freewheeling","freewill","freezable","freeze","freezer","freezes","freezing","freida","freight","freighter","fremont","french","frenchman","frenchmen","frenchwoman","frenchwomen","frenetic","frenetically","frenzied","frenzy","freon","freq","frequencies","frequency","frequent","frequented","frequenter","frequentest","frequenting","frequently","frequentness","frequents","fresco","frescoes","fresh","freshen","freshener","fresher","freshest","freshet","freshly","freshman","freshmen","freshness","freshwater","fresnel","fresno","fret","fretboard","fretful","fretfulness","fretsaw","fretted","fretting","fretwork","freud","freudian","frey","freya","fri","friable","friableness","friar","friary","fricassee","fricasseeing","frication","fricative","frick","friction","frictional","frictionless","friday","fridge","fried","frieda","friedan","friedcake","friederike","friedman","friedrich","friedrick","friend","friendless","friendlessness","friendlies","friendlily","friendliness","friendly","friends","friendship","frier","fries","frieze","frig","frigate","frigga","frigged","frigging","fright","frighten","frightening","frightful","frightfulness","frigid","frigidaire","frigidity","frigidness","frill","frilly","fringe","fringilla","frippery","frisbee","frisco","frisian","frisk","frisker","friskily","friskiness","frisky","frisson","frito","fritter","fritterer","fritz","frivolity","frivolous","frivolousness","frizz","frizzle","frizzly","frizzy","frm","fro","frobisher","frock","frocking","frog","frogged","frogging","frogman","frogmarched","frogmen","froissart","frolic","frolicked","frolicker","frolicking","frolicsome","from","frombody","fromcharcode","fromdate","fromfile","fromhtml","fromimage","fromjson","fromm","fromseconds","fromstring","frond","front","frontage","frontal","frontenac","frontend","frontier","frontiersman","frontiersmen","frontispiece","frontrunner","frontward","frosh","frost","frostbelt","frostbit","frostbite","frostbiting","frostbitten","frosted","frosteds","frostily","frostiness","frosting","frosty","froth","frothiness","froths","frothy","froufrou","froward","frowardness","frown","frowner","frowning","frowzily","frowziness","frowzy","froze","frozen","frozenness","fructify","fructose","fruehauf","frugal","frugality","fruit","fruitcake","fruiter","fruiterer","fruitful","fruitfuller","fruitfullest","fruitfulness","fruitiness","fruition","fruitless","fruitlessness","fruits","fruity","frump","frumpish","frumpy","frunze","frustrate","frustrated","frustrater","frustrating","frustration","frustum","fry","frye","fryer","fs","fscanf","fseek","fsharp","fslic","fso","fst","fstream","ft","ftc","fte","ftp","ftpclient","fu","fuchs","fuchsia","fuck","fucker","fucking","fud","fuddle","fudge","fuel","fueler","fuentes","fugal","fugger","fugiat","fugitive","fugitiveness","fugue","fuhrer","fuji","fujitsu","fujiyama","fukuoka","fulani","fulbright","fulcrum","fulfill","fulfilled","fulfiller","fulfillment","full","fullback","fullcalendar","fuller","fullerton","fullish","fullname","fullness","fullpath","fullscreen","fullstops","fulltext","fullword","fully","fulminate","fulmination","fulness","fulsome","fulsomeness","fulton","fulvia","fumble","fumbler","fumbling","fume","fumigant","fumigate","fumigation","fumigator","fuming","fumy","fun","funafuti","func","funcs","function","functional","functionalism","functionalist","functionalities","functionality","functionally","functionary","functioning","functionname","functions","functools","functor","fund","fundamental","fundamentalism","fundamentalist","fundamentally","fundamentals","funded","fundholders","fundholding","funding","funds","fundy","funeral","funerary","funereal","funfair","fungal","fungi","fungible","fungicidal","fungicide","fungoid","fungous","fungus","funicular","funk","funkiness","funky","funned","funnel","funner","funnest","funnily","funniness","funning","funny","fur","furbelow","furbish","furbisher","furious","furiousness","furl","furlong","furlough","furloughs","furn","furnace","furnish","furnished","furnisher","furnishing","furniture","furor","furore","furred","furrier","furriness","furring","furrow","furry","further","furtherance","furtherer","furthermore","furthermost","furthest","furtive","furtiveness","fury","furze","fusce","fuse","fusebox","fusee","fuselage","fushun","fusibility","fusible","fusiform","fusilier","fusillade","fusion","fuss","fussbudget","fusser","fussily","fussiness","fusspot","fussy","fustian","fustiness","fusty","fut","futile","futileness","futility","futon","future","futures","futuretask","futurism","futurist","futuristic","futurity","futurologist","futurology","futz","fuze","fuzhou","fuzz","fuzzbuster","fuzzily","fuzziness","fuzzy","fv","fw","fwd","fwiw","fwlink","fwrite","fwww","fwy","fx","fxml","fxmlloader","fy","fyi","g","ga","gab","gabardine","gabbed","gabbey","gabbi","gabbie","gabbiness","gabbing","gabble","gabby","gabe","gaberdine","gabey","gabfest","gabi","gabie","gable","gabon","gabonese","gaborone","gabriel","gabriela","gabriele","gabriell","gabriella","gabrielle","gabriellia","gabriello","gabrila","gaby","gac","gacrux","gad","gadabout","gadded","gadder","gadding","gadfly","gadget","gadgetry","gadolinium","gadsden","gae","gaea","gael","gaelan","gaelic","gaff","gaffe","gaffer","gag","gaga","gagarin","gage","gager","gagged","gagging","gaggle","gagwriter","gaiety","gail","gaile","gaily","gain","gained","gainer","gaines","gainesville","gainful","gainfulness","gaining","gainly","gains","gainsaid","gainsay","gainsayer","gainsborough","gait","gaiter","gaithersburg","gal","gala","galactic","galahad","galapagos","galatea","galatia","galatians","galaxy","galbraith","galbreath","gale","galen","galena","galenite","galibi","galilean","galilee","galileo","galina","gall","gallagher","gallant","gallanted","gallanting","gallantry","gallants","gallard","gallbladder","gallegos","galleon","galleria","galleries","gallery","galley","gallic","gallicism","gallimaufry","galling","gallium","gallivant","gallon","gallonage","gallop","galloper","galloway","gallows","gallstone","gallup","galois","galoot","galore","galosh","galsworthy","galumph","galumphs","galvan","galvani","galvanic","galvanism","galvanization","galvanize","galvanometer","galvanometric","galven","galveston","galvin","gama","gamaliel","gambia","gambian","gambit","gamble","gambler","gambol","game","gamecock","gameid","gamekeeper","gameness","gameobject","games","gamescene","gamesmanship","gamesmen","gamest","gamestate","gamester","gamete","gametic","gametime","gamin","gamine","gaminess","gaming","gamma","gammon","gamow","gamut","gamy","gan","gander","gandhi","gandhian","gang","gangbusters","ganger","ganges","gangland","ganglia","gangling","ganglion","ganglionic","gangplank","gangrene","gangrenous","gangster","gangtok","gangway","gannet","gannie","gannon","ganny","gantlet","gantry","ganymede","gao","gaol","gaoler","gap","gape","gaper","gapi","gaping","gapped","gapping","gaps","gaq","gar","garage","garald","garb","garbage","garbageman","garbanzo","garble","garbler","garbo","garcia","gard","garden","gardener","gardenia","gardening","gardie","gardiner","gardner","gardy","gare","garek","gareth","garey","garfield","garfish","garfunkel","gargantua","gargantuan","gargle","gargoyle","garibaldi","garik","garish","garishness","garland","garlic","garlicked","garlicking","garlicky","garment","garner","garnet","garnett","garnette","garnish","garnishee","garnisheeing","garnishment","garold","garon","garote","garotte","garrard","garred","garrek","garret","garreth","garrett","garrick","garrik","garring","garrison","garrot","garrote","garroter","garrott","garrotte","garrulity","garrulous","garrulousness","garry","garter","garth","garv","garvey","garvin","garvy","garwin","garwood","gary","garza","gas","gasbag","gascony","gaseous","gaseousness","gases","gash","gasification","gasifier","gasify","gasket","gaslight","gasohol","gasoline","gasometer","gasp","gaspar","gaspard","gasparo","gasper","gasping","gassed","gasser","gasset","gassiness","gassing","gassy","gaston","gastric","gastritides","gastritis","gastroenteritides","gastroenteritis","gastrointestinal","gastronome","gastronomic","gastronomical","gastronomy","gastropod","gasworks","gate","gateau","gateaux","gatecrash","gatehouse","gatekeeper","gatepost","gates","gateway","gather","gathered","gatherer","gathering","gathers","gatlinburg","gatling","gator","gatorade","gatsby","gatt","gatun","gauche","gaucheness","gaucherie","gaucho","gaudily","gaudiness","gaudy","gauge","gaugeable","gauger","gauguin","gaul","gaulish","gaulle","gaultiero","gaunt","gauntlet","gauntley","gauntness","gauss","gausses","gaussian","gautama","gauthier","gautier","gauze","gauziness","gauzy","gav","gavan","gave","gavel","gaven","gavin","gavotte","gavra","gavrielle","gawain","gawen","gawk","gawkily","gawkiness","gawky","gay","gaye","gayel","gayelord","gayety","gayla","gayle","gayleen","gaylene","gayler","gaylor","gaylord","gayness","gaynor","gaza","gaze","gazebo","gazelle","gazer","gazette","gazetteer","gaziantep","gazillion","gazpacho","gb","gbc","gbp","gc","gca","gcc","gcd","gcloud","gcm","gcp","gcs","gd","gdal","gdansk","gdata","gdb","gdel","gdi","gdk","gdp","gdx","ge","gear","gearalt","gearard","gearbox","gearing","gearshift","gearstick","gearwheel","geary","gecko","geckodriver","ged","gee","geegaw","geeing","geek","geeky","geese","geest","geezer","gehenna","gehrig","geiger","geigy","geisha","gel","gelatin","gelatinous","gelatinousness","gelcap","geld","gelding","gelid","gelignite","gelled","gelling","gelya","gem","gemfile","gemini","gemlike","gemma","gemmed","gemming","gemological","gemologist","gemology","gems","gemstone","gen","gena","genaro","gendarme","gender","genderless","gene","genealogical","genealogist","genealogy","genera","general","generalissimo","generalist","generality","generalizable","generalization","generalize","generalized","generalizer","generally","generalness","generalship","generate","generated","generatedvalue","generates","generating","generation","generational","generations","generationtype","generative","generator","generators","generic","generically","generics","generosity","generous","generously","generousness","genes","genesco","genesis","genet","genetic","genetically","geneticist","genetics","geneva","genevieve","genevra","genghis","genia","genial","geniality","genially","genialness","genie","genies","genii","genital","genitalia","genitals","genitive","genitourinary","genius","genna","genni","gennie","gennifer","genny","geno","genoa","genocidal","genocide","genome","genotype","genovera","genre","genres","gent","genteel","genteelness","gentian","gentile","gentility","gentle","gentlefolk","gentleman","gentlemanliness","gentlemanly","gentlemen","gentleness","gentlewoman","gentlewomen","gently","gentrification","gentrify","gentry","genuflect","genuflection","genuine","genuinely","genuineness","genus","genvieve","genymotion","geo","geocentric","geocentrically","geocentricism","geochemical","geochemistry","geochronology","geocode","geocoder","geocoding","geode","geodesic","geodesy","geodetic","geoff","geoffrey","geoffry","geog","geographer","geographic","geographical","geography","geoip","geojson","geolocation","geologic","geological","geologist","geology","geom","geomagnetic","geomagnetically","geomagnetism","geometer","geometric","geometrical","geometrician","geometry","geomorphological","geomorphology","geophysical","geophysicist","geophysics","geopoint","geopolitic","geopolitical","geopolitics","georas","geordie","georg","george","georgeanna","georgeanne","georgena","georgeta","georgetown","georgetta","georgette","georgi","georgia","georgian","georgiana","georgianna","georgianne","georgie","georgina","georgine","georgy","geostationary","geosynchronous","geosyncline","geothermal","geothermic","ger","gerald","geralda","geraldine","geranium","gerard","gerardo","gerber","gerbil","gerda","gerek","gerhard","gerhardine","gerhardt","geri","gerianna","gerianne","geriatric","geriatrics","gerick","gerik","geritol","gerladina","germ","germain","germaine","german","germana","germane","germania","germanic","germanium","germanized","germantown","germany","germayne","germen","germicidal","germicide","germinal","germinate","germinated","germination","germinative","gerome","geronimo","gerontocracy","gerontological","gerontologist","gerontology","gerrard","gerri","gerrie","gerrilee","gerrit","gerry","gerrymander","gershwin","gert","gerta","gerti","gertie","gertrud","gertruda","gertrude","gertrudis","gerty","gerund","gerundive","gery","gestalt","gestapo","gestate","gestation","gestational","gesticulate","gesticulation","gesticulative","gestural","gesture","gesturedetector","gesturerecognizer","gestures","gesundheit","get","getabsolutepath","getaccesstoken","getaction","getactionbar","getactivesheet","getactivespreadsheet","getactivity","getaddress","getaddrinfo","getage","getall","getapplication","getapplicationcontext","getarguments","getassets","getasync","getattr","getattribute","getaway","getbasecontext","getbean","getbody","getboolean","getbootstrap","getboundingclientrect","getbounds","getbroadcast","getbyid","getbytes","getcell","getch","getchar","getchild","getchildat","getchildren","getclass","getclassloader","getcode","getcollection","getcolor","getcolumn","getcolumnindex","getcomponent","getconnection","getcontent","getcontentpane","getcontentresolver","getcontext","getcount","getcurrentinstance","getcurrentposition","getcurrentsession","getcurrentuser","getcwd","getdata","getdate","getday","getdefault","getdefaultproguardfile","getdefaultsharedpreferences","getdescription","getdouble","getdrawable","getelement","getelementbyid","getelementsbyclassname","getelementsbyname","getelementsbytagname","getemail","getentity","getenumerator","getenv","getexternalstoragedirectory","getextras","getfield","getfile","getfilename","getfiles","getfirstname","getfragmentmanager","getfullyear","gethashcode","getheight","gethours","gethsemane","getid","getimage","getindex","getinfo","getinputstream","getinstance","getint","getintent","getitem","getitemcount","getitemid","getitems","getjson","getjsonarray","getjsonobject","getkey","getkeycode","getlasterror","getlatitude","getlayoutinflater","getlayoutparams","getlength","getline","getlist","getlocation","getlogger","getlong","getlongitude","getmap","getmenuinflater","getmessage","getmethod","getminutes","getmodel","getmonth","getname","getnext","getnumber","getobject","getopt","getoutputstream","getpackagemanager","getpackagename","getpage","getparameter","getparameters","getparent","getpassword","getpath","getpid","getpixel","getposition","getpreferredsize","getprice","getproperties","getproperty","getquery","getrange","getreadabledatabase","getreference","getrepository","getrequest","getresource","getresourceasstream","getresources","getresponse","getresponsecode","getresponsestream","getresult","getresultlist","getrow","getruntime","gets","getscript","getselecteditem","getselection","getservice","getsession","getsettings","getsharedpreferences","getsheetbyname","getsimplename","getsingleton","getsize","getsource","getstate","getstatus","getstream","getstring","getstringextra","getsupportactionbar","getsupportfragmentmanager","getsystemservice","gettable","gettag","getter","getters","gettext","gettime","gettimeinmillis","getting","gettitle","gettoken","gettransaction","getty","gettype","gettysburg","getup","geturl","getuser","getuserid","getusername","getusers","getvalue","getvalues","getview","getwidth","getwindow","getwritabledatabase","getwriter","getx","gety","gevent","gewgaw","gewrztraminer","geyser","gf","gfortran","gfx","gg","ggplot","gh","ghana","ghanaian","ghanian","ghastliness","ghastly","ghat","ghats","ghc","ghci","ghent","gherardo","gherkin","ghetto","ghettoize","ghi","ghibelline","ghost","ghostlike","ghostliness","ghostly","ghostscript","ghostwrite","ghostwritten","ghostwrote","ghoul","ghoulish","ghoulishness","ghq","ghz","gi","giacinta","giacobo","giacometti","giacomo","giacopo","gian","giana","gianina","gianna","gianni","giannini","giant","giantess","giantkiller","giauque","giavani","gib","gibb","gibber","gibberish","gibbet","gibbie","gibbon","gibbous","gibbousness","gibby","gibe","giber","giblet","gibraltar","gibson","gid","giddap","giddily","giddiness","giddings","giddy","gide","gideon","gielgud","gienah","gif","giff","giffard","giffer","giffie","gifford","giffy","gift","gifted","giftedness","gig","gigabyte","gigacycle","gigahertz","gigantic","gigantically","giganticness","gigavolt","gigawatt","gigged","gigging","giggle","giggler","giggling","giggly","gigi","gigo","gigolo","gil","gila","gilbert","gilberta","gilberte","gilbertina","gilbertine","gilberto","gilbertson","gilburt","gilchrist","gild","gilda","gilder","gilding","gilead","gilemette","giles","gilgamesh","gilkson","gill","gillan","gilles","gillespie","gillette","gilli","gilliam","gillian","gillie","gilligan","gilly","gilmore","gilt","gimbaled","gimbals","gimbel","gimcrack","gimcrackery","gimlet","gimme","gimmick","gimmickry","gimmicky","gimp","gimpy","gin","gina","ginelle","ginevra","ginger","gingerbread","gingerliness","gingerly","gingersnap","gingery","gingham","gingivitis","gingrich","ginkgo","ginkgoes","ginmill","ginned","ginni","ginnie","ginnifer","ginning","ginny","gino","ginsberg","ginsburg","ginseng","gioconda","giordano","giorgi","giorgia","giorgio","giorgione","giotto","giovanna","giovanni","gipsy","giraffe","giralda","giraldo","giraud","giraudoux","gird","girded","girder","girdle","girdler","girl","girlfriend","girlhood","girlie","girlish","girlishness","girls","giro","girt","girth","girths","gis","gisela","giselbert","gisele","gisella","giselle","gish","gist","git","github","githubusercontent","gitignore","gitlab","giuditta","giulia","giuliano","giulietta","giulio","giuseppe","giustina","giustino","giusto","give","giveaway","giveback","given","givenname","giver","gives","giving","giza","gizela","gizmo","gizzard","gk","gl","glac","glacial","glaciate","glaciation","glacier","glaciological","glaciologist","glaciology","glad","gladded","gladden","gladder","gladdest","gladding","gladdy","glade","gladi","gladiator","gladiatorial","gladiola","gladioli","gladiolus","gladly","gladness","gladsome","gladstone","gladys","glamor","glamorization","glamorize","glamorizer","glamorous","glamorousness","glance","glancing","gland","glanders","glandes","glandular","glans","glare","glaring","glaringness","glaser","glasgow","glasnost","glass","glassblower","glassblowing","glassfish","glassful","glasshouse","glassily","glassiness","glassless","glassware","glasswort","glassy","glastonbury","glaswegian","glaucoma","glaucous","glaze","glazed","glazer","glazier","glazing","glbindbuffer","glbindtexture","glclear","glcolor","gleam","glean","gleaner","gleaning","gleason","gleda","glee","gleed","gleeful","gleefulness","gleeing","glen","glenable","glenda","glendale","glenden","glendon","glenine","glenn","glenna","glennie","glennis","gles","glew","glfloat","glfw","glib","glibber","glibbest","glibc","glibness","glide","glider","glim","glimmer","glimmering","glimpse","glimpser","glint","glissandi","glissando","glisten","glister","glitch","glitter","glittering","glittery","glitz","glitzy","glm","glmatrixmode","gloaming","gloat","gloater","gloating","glob","global","globalism","globalist","globalization","globally","globals","globe","globetrotter","globular","globularity","globularness","globule","globulin","glockenspiel","glommed","gloom","gloomily","gloominess","gloomy","glop","glopped","glopping","gloppy","glori","gloria","gloriana","gloriane","glorification","glorifier","glorify","glorious","gloriousness","glory","gloss","glossary","glossily","glossiness","glossolalia","glossy","glottal","glottalization","glottis","gloucester","glove","gloveless","glover","glow","glower","glowing","glowworm","glsl","gltexparameteri","glucose","glue","glued","gluer","gluey","gluier","gluiest","gluint","glum","glummer","glummest","glumness","gluon","glut","glutamate","gluten","glutenous","glutinous","glutinousness","glutted","glutting","glutton","gluttonous","gluttony","glvertex","glyceride","glycerin","glycerinate","glycerine","glycerol","glycerolized","glycine","glycogen","glycol","glyn","glynda","glynis","glynn","glynnis","glyph","glyphicon","glyphs","gm","gmap","gmaps","gmp","gms","gmt","gn","gnarl","gnash","gnat","gnaw","gnawer","gnawing","gneiss","gnni","gnome","gnomelike","gnomic","gnomish","gnomonic","gnostic","gnosticism","gnp","gnu","gnuplot","go","goa","goad","goal","goalie","goalkeeper","goalkeeping","goalless","goalmouth","goalpost","goals","goalscorer","goalscoring","goaltender","goat","goatee","goatherd","goatskin","gob","goback","gobbed","gobbet","gobbing","gobble","gobbledegook","gobbledygook","gobbler","gobi","goblet","goblin","god","godaddy","godard","godart","godchild","godchildren","goddammit","goddamn","goddard","goddart","goddaughter","godded","goddess","godding","godfather","godforsaken","godfree","godfrey","godfry","godhead","godhood","godiva","godless","godlessness","godlike","godlikeness","godliness","godly","godmother","godot","godparent","godsend","godson","godspeed","godthaab","godunov","godwin","godzilla","goebbels","goer","goering","goes","goethals","goethe","gofer","goff","gog","goggle","goggler","gogh","gogol","goiania","going","goiter","golan","golang","golconda","gold","golda","goldarina","goldberg","goldbrick","goldbricker","golden","goldenness","goldenrod","goldenseal","goldfinch","goldfish","goldi","goldia","goldie","goldilocks","goldina","golding","goldman","goldmine","goldsmith","goldsmiths","goldstein","goldwater","goldwyn","goldy","goleta","golf","golfer","golgotha","goliath","goliaths","golly","gomez","gomorrah","gompers","gonad","gonadal","gondola","gondolier","gondwanaland","gone","goner","gong","gonion","gonna","gonorrhea","gonorrheal","gonzales","gonzalez","gonzalo","goo","goober","good","goodbye","goodhearted","goodie","goodish","goodly","goodman","goodness","goodnight","goodrich","goods","goodwill","goodwin","goody","goodyear","gooey","goof","goofiness","goofy","goog","googling","gooier","gooiest","gook","goon","goop","goos","goose","gooseberry","goosebumps","gop","gopath","gopher","goran","goraud","gorbachev","gordan","gorden","gordian","gordie","gordimer","gordon","gordy","gore","goren","gorey","gorgas","gorge","gorged","gorgeous","gorgeousness","gorger","gorges","gorging","gorgon","gorgonzola","gorham","gorilla","gorily","goriness","goring","gorky","gormandize","gormandizer","gormless","gorp","gorse","gory","gos","gosh","goshawk","gosling","gospel","gospeler","gossamer","gossip","gossipy","got","gotcha","goth","gotham","gothart","gothic","gothicism","goths","goto","gotta","gotten","gottfried","goucher","gouda","gouge","gouger","goulash","gould","gounod","gourd","gourde","gourmand","gourmet","gout","gouty","gov","govern","governable","governance","governed","governess","governing","government","governmental","governments","governor","governorship","govt","gown","goya","gp","gpa","gpg","gpio","gpl","gpo","gps","gpss","gpu","gpus","gr","grab","grabbed","grabber","grabbing","grabs","gracchus","grace","graceful","gracefuller","gracefullest","gracefully","gracefulness","graceland","graceless","gracelessness","gracia","gracie","graciela","gracious","graciousness","grackle","grad","gradate","gradation","grade","graded","gradeigh","gradely","grader","grades","gradey","gradient","gradients","gradientstop","gradle","gradlew","gradual","gradualism","gradualist","gradually","gradualness","graduand","graduate","graduation","grady","graehme","graeme","graff","graffias","graffiti","graffito","graft","grafter","grafting","grafton","graham","grahame","graig","grail","grails","grain","grained","grainer","graininess","graining","grainy","gram","grammar","grammarian","grammatic","grammatical","grammaticality","grammaticalness","gramme","grammy","gramophone","grampians","grampus","gran","granada","granary","grand","grandam","grandaunt","grandchild","grandchildren","granddad","granddaddy","granddaughter","grandee","grandeur","grandfather","grandiloquence","grandiloquent","grandiose","grandiosity","grandkid","grandma","grandmaster","grandmother","grandnephew","grandness","grandniece","grandpa","grandparent","grandson","grandstand","grandstander","granduncle","grange","granger","granite","granitic","grannie","granny","granola","grant","granted","grantee","granter","grantham","granthem","grantley","grantor","grantresults","grants","grantsmanship","granular","granularity","granulate","granulation","granule","granulocytic","granville","grape","grapefruit","grapeshot","grapevine","graph","grapheme","graphic","graphical","graphicness","graphics","graphite","graphologist","graphology","graphql","graphs","graphviz","grapnel","grapple","grappler","grappling","grasp","grasper","grasping","graspingness","grass","grasshopper","grassland","grassroots","grassy","grata","grate","grateful","gratefuller","gratefullest","gratefulness","grater","grates","gratia","gratiana","graticule","gratification","gratified","gratify","gratifying","grating","gratis","gratitude","gratuitous","gratuitousness","gratuity","gravamen","grave","gravedigger","gravel","graven","graveness","graver","graves","graveside","gravestone","graveyard","gravid","gravida","gravidness","gravimeter","gravimetric","gravitas","gravitate","gravitation","gravitational","graviton","gravity","gravy","gray","graybeard","grayce","grayish","grayness","grayscale","grayson","graze","grazer","grazia","grazing","grease","greasepaint","greaseproof","greaser","greasily","greasiness","greasy","great","greatcoat","greaten","greater","greatest","greathearted","greatly","greatness","grebe","grecian","greece","greed","greedily","greediness","greeds","greedy","greek","greeley","green","greenback","greenbelt","greenberg","greenblatt","greenbriar","greene","greenery","greenfeld","greenfield","greenfly","greengage","greengrocer","greengrocery","greenhorn","greenhouse","greening","greenish","greenland","greenmail","greenness","greenpeace","greenroom","greensboro","greensleeves","greensville","greensward","greentree","greenville","greenwich","greenwood","greer","greet","greeter","greeting","greetings","greets","greg","gregarious","gregariousness","gregg","greggory","gregoire","gregoor","gregor","gregorian","gregoriancalendar","gregorio","gregorius","gregory","gremlin","grenada","grenade","grenadian","grenadier","grenadine","grenadines","grendel","grenier","grenoble","grenville","grep","grepcode","grepl","gresham","greta","gretal","gretchen","grete","gretel","grethel","gretna","gretta","gretzky","grew","grey","greybeard","greyhound","greyness","grid","gridbagconstraints","gridbaglayout","griddata","gridded","griddle","griddlecake","gridiron","gridlayout","gridlock","gridpane","grids","gridview","gridviewcolumn","gridviewrow","gridx","gridy","grief","grieg","grier","grievance","grieve","griever","grieving","grievous","grievousness","griff","griffie","griffin","griffith","griffon","griffy","grill","grille","griller","grillwork","grim","grimace","grimacer","grimaldi","grime","grimes","griminess","grimm","grimmer","grimmest","grimness","grimy","grin","grinch","grind","grinder","grinding","grindstone","gringo","grinned","grinner","grinning","grip","gripe","griper","grippe","gripper","gripping","gris","griselda","grisliness","grisly","grissel","grist","gristle","gristliness","gristly","gristmill","griswold","grit","gritted","gritter","grittiness","gritting","gritty","griz","grizzle","grizzling","grizzly","grnewald","groan","groaner","groat","grocer","grocery","grog","groggily","grogginess","groggy","groin","grok","grokked","grokking","grommet","gromyko","groofs","groom","groomer","groomsman","groomsmen","groot","groove","groover","groovy","grope","groper","gropius","grosbeak","grosgrain","gross","grosset","grossman","grossness","grosvenor","grosz","grotesque","grotesqueness","grotius","groton","grotto","grottoes","grouch","grouchily","grouchiness","grouchy","ground","groundbreaking","grounded","grounder","groundhog","groundless","groundlessness","groundnut","groundsheet","groundskeepers","groundsman","groundswell","groundwater","groundwork","group","groupbox","groupby","grouped","grouper","groupid","groupie","grouping","grouplayout","groupname","groupon","groupposition","groups","grouse","grouser","grout","grouter","grove","grovel","groveler","grovelike","groveling","grover","grow","grower","growing","growingly","growl","growler","growling","growly","grown","grownup","grows","growth","growths","grp","grpc","grub","grubbed","grubber","grubbily","grubbiness","grubbing","grubby","grubstake","grudge","grudger","grudging","gruel","grueling","gruesome","gruesomeness","gruff","gruffness","grumble","grumbler","grumbling","grumman","grump","grumpily","grumpiness","grumpy","grundy","grunge","grungy","grunion","grunt","grunter","grus","grusky","gruyeres","gruyre","gryphon","gs","gsa","gsl","gsm","gson","gsp","gst","gstatic","gstreamer","gsub","gt","gte","gteborg","gtest","gtk","gtm","gu","guacamole","guadalajara","guadalcanal","guadalquivir","guadalupe","guadeloupe","guallatiri","gualterio","guam","guamanian","guangzhou","guanine","guano","guantanamo","guarani","guarantee","guaranteed","guaranteeing","guarantees","guarantor","guaranty","guard","guarded","guardedness","guarder","guardhouse","guardia","guardian","guardianship","guardrail","guardroom","guards","guardsman","guardsmen","guarnieri","guatemala","guatemalan","guava","guayaquil","gubernatorial","gucci","gudgeon","guelph","guendolen","guenevere","guenna","guenther","guernsey","guerra","guerrero","guerrilla","guess","guessable","guessed","guesser","guesses","guessing","guesstimate","guesswork","guest","guests","guevara","guff","guffaw","guggenheim","guglielma","guglielmo","guhleman","gui","guiana","guice","guid","guidance","guide","guidebook","guided","guideline","guidelines","guidepost","guider","guides","guido","guids","guilbert","guild","guilder","guildhall","guile","guileful","guileless","guilelessness","guillaume","guillema","guillemette","guillemot","guillermo","guillotine","guilt","guiltily","guiltiness","guiltless","guiltlessness","guilty","guinea","guinean","guinevere","guinna","guinness","guise","guitar","guitarist","guiyang","guizot","gujarat","gujarati","gujranwala","gulag","gulch","gulden","gulf","gull","gullah","gullet","gulley","gullibility","gullible","gulliver","gully","gulp","gum","gumbo","gumboil","gumboots","gumdrop","gummed","gumminess","gumming","gummy","gumption","gumshoe","gumshoeing","gumtree","gun","gunar","gunboat","gunderson","gunfight","gunfighter","gunfire","gunflint","gunfought","gunicorn","gunilla","gunk","gunky","gunman","gunmen","gunmetal","gunnar","gunned","gunnel","gunner","gunnery","gunning","gunny","gunnysack","gunpoint","gunpowder","gunrunner","gunrunning","guns","gunship","gunshot","gunsling","gunslinger","gunsmith","gunsmiths","guntar","gunter","gunther","gunwale","guofeng","guppy","gupta","gurgle","gurkha","gurney","guru","gus","gusella","gush","gusher","gushy","guss","gusset","gussi","gussie","gussy","gust","gusta","gustaf","gustafson","gustatory","gustav","gustave","gustavo","gustavus","gusted","gusti","gustie","gustily","gustiness","gusting","gusto","gustoes","gusts","gusty","gut","gutenberg","guthrey","guthrie","guthry","gutierrez","gutless","gutlessness","guts","gutser","gutsiness","gutsy","gutted","gutter","guttering","guttersnipe","gutting","guttural","gutturalness","gutty","guy","guyana","guyanese","guys","guzman","guzzle","guzzler","gv","gw","gwalior","gwen","gwendolen","gwendolin","gwendoline","gwendolyn","gweneth","gwenette","gwenneth","gwenni","gwennie","gwenny","gwenora","gwenore","gwt","gwyn","gwyneth","gwynne","gx","gy","gym","gymkhana","gymnasia","gymnasium","gymnast","gymnastic","gymnastically","gymnastics","gymnosperm","gynecologic","gynecological","gynecologist","gynecology","gyp","gypped","gypper","gypping","gypsite","gypster","gypsum","gypsy","gyrate","gyration","gyrator","gyrfalcon","gyro","gyrocompass","gyroscope","gyroscopic","gyve","gz","gzip","h","ha","haag","haas","habakkuk","habeas","haber","haberdasher","haberdashery","haberman","habib","habiliment","habit","habitability","habitable","habitableness","habitant","habitat","habitation","habitations","habits","habitu","habitual","habitualness","habituate","habituation","hacienda","hack","hackage","hacked","hacker","hackers","hackett","hacking","hackle","hackler","hackney","hacks","hacksaw","hackwork","hacky","had","hadamard","hadar","haddad","haddock","hades","hadj","hadji","hadlee","hadleigh","hadley","hadn","hadoop","hadria","hadrian","hadron","hadst","haemoglobin","haemophilia","haemorrhage","hafiz","hafnium","haft","hag","hagan","hagar","hagen","hager","haggai","haggard","haggardness","hagged","hagging","haggis","haggish","haggle","haggler","hagiographa","hagiographer","hagiography","hagstrom","hague","haha","hahn","hahnium","haifa","haiku","hail","hailee","hailer","hailey","hailstone","hailstorm","haily","haiphong","hair","hairball","hairbreadth","hairbreadths","hairbrush","haircare","haircloth","haircloths","haircut","haircutting","hairdo","hairdresser","hairdressing","hairdryer","hairiness","hairless","hairlessness","hairlike","hairline","hairnet","hairpiece","hairpin","hairsbreadth","hairsbreadths","hairsplitter","hairsplitting","hairspray","hairspring","hairstyle","hairstylist","hairy","haiti","haitian","hajj","hajjes","hajji","hake","hakeem","hakim","hakka","hakluyt","hal","halal","halalled","halalling","halberd","halcyon","haldane","hale","haleakala","haleigh","haler","halest","halette","haley","half","halfback","halfbreed","halfhearted","halfheartedness","halfpence","halfpenny","halfpennyworth","halftime","halftone","halfway","halfword","hali","halibut","halide","halie","halifax","halimeda","halite","halitoses","halitosis","hall","hallelujah","hallelujahs","halley","halli","halliard","hallie","hallinan","hallmark","hallo","halloo","hallow","halloween","hallowing","hallows","hallsy","hallucinate","hallucination","hallucinatory","hallucinogen","hallucinogenic","hallway","hally","halo","halocarbon","halogen","halogenated","halon","halpern","halsey","halsy","halt","halter","halting","halve","halves","halyard","ham","hamal","haman","hamburg","hamburger","hamcrest","hamel","hamey","hamhung","hamid","hamil","hamilcar","hamilton","hamiltonian","hamish","hamitic","haml","hamlen","hamlet","hamlin","hammad","hammarskjold","hammed","hammer","hammerer","hammerhead","hammering","hammerless","hammerlock","hammerstein","hammertoe","hammett","hamming","hammock","hammond","hammurabi","hammy","hamnet","hamper","hampered","hampshire","hampton","hamster","hamstring","hamstrung","hamsun","han","hana","hanan","hancock","hand","handbag","handbagged","handbagging","handball","handbarrow","handbasin","handbill","handbook","handbrake","handcar","handcart","handclasp","handcraft","handcuff","handcuffs","handed","handedness","handel","hander","handful","handgun","handhold","handicap","handicapped","handicapper","handicapping","handicraft","handicraftsman","handicraftsmen","handily","handiness","handiwork","handkerchief","handle","handleable","handlebar","handlebars","handlecallback","handlechange","handleclick","handled","handleerror","handlelaunchactivity","handlemessage","handlenonsuccessanddebuggernotification","handler","handlerequest","handlers","handles","handless","handlesubmit","handling","handmade","handmaid","handmaiden","handout","handover","handpick","handrail","hands","handsaw","handset","handshake","handshaker","handshaking","handsome","handsomely","handsomeness","handspike","handspring","handstand","handwork","handwoven","handwrite","handwriting","handwritten","handy","handyman","handymen","haney","hang","hangar","hangdog","hanged","hanger","hanging","hangman","hangmen","hangnail","hangout","hangover","hangs","hangul","hangup","hangzhou","hank","hankel","hanker","hankerer","hankering","hankie","hanky","hanna","hannah","hanni","hannibal","hannie","hanny","hanoi","hanover","hanoverian","hans","hansel","hansen","hansiain","hansom","hanson","hanuka","hanukkah","hanukkahs","hap","hapgood","haphazard","haphazardness","hapless","haplessness","haploid","happed","happen","happened","happening","happens","happenstance","happily","happiness","happing","happy","haproxy","hapsburg","harald","harangue","haranguer","harare","harass","harasser","harassment","harbert","harbin","harbinger","harbor","harborer","harcourt","hard","hardback","hardball","hardboard","hardboiled","hardbound","hardcode","hardcoded","hardcoding","hardcore","hardcover","harden","hardened","hardener","hardening","harder","hardest","hardhat","hardheaded","hardheadedness","hardhearted","hardheartedness","hardihood","hardily","hardin","hardiness","harding","hardliner","hardly","hardness","hardscrabble","hardshell","hardship","hardstand","hardtack","hardtop","hardware","hardwire","hardwood","hardworking","hardy","hare","harebell","harebrained","harelip","harelipped","harem","hargreaves","hark","harlan","harland","harlem","harlen","harlene","harlequin","harley","harli","harlie","harlin","harlot","harlotry","harlow","harm","harman","harmed","harmer","harmful","harmfulness","harmless","harmlessness","harmon","harmonia","harmonic","harmonica","harmonically","harmonics","harmonie","harmonious","harmoniousness","harmonium","harmonization","harmonizations","harmonize","harmonized","harmonizer","harmonizes","harmony","harness","harnessed","harnesser","harnesses","harold","haroun","harp","harper","harping","harpist","harpoon","harpooner","harpsichord","harpsichordist","harpy","harrell","harri","harridan","harrie","harrier","harriet","harriett","harrietta","harriette","harrington","harriot","harriott","harrisburg","harrison","harrisonburg","harrow","harrower","harrumph","harry","harsh","harshen","harshness","hart","harte","hartford","hartley","hartline","hartman","hartwell","harv","harvard","harvest","harvested","harvester","harvestman","harvey","harwell","harwilll","has","hasattr","hasbro","hasclass","hasfocus","hash","hashcode","hashed","hasheem","hasher","hashes","hashim","hashing","hashish","hashlib","hashmap","hashset","hashtable","hashtag","hashtags","hasidim","haskel","haskell","haskins","haslett","hasmany","hasn","hasnext","hasone","hasownproperty","hasp","hassle","hassock","hast","haste","hasten","hastener","hastie","hastily","hastiness","hastings","hasty","hasvalue","hat","hatch","hatchback","hatcheck","hatched","hatcher","hatchery","hatchet","hatching","hatchure","hatchway","hate","hateful","hatefulness","hater","hatfield","hathaway","hatless","hatred","hatstands","hatted","hatter","hatteras","hatti","hattie","hatting","hatty","hauberk","haugen","haughtily","haughtiness","haughty","haul","haulage","hauler","haunch","haunt","haunter","haunting","hauptmann","hausa","hausdorff","hauser","hauteur","havana","havarti","have","havel","haven","havent","haver","haversack","having","havoc","havocked","havocking","haw","hawaii","hawaiian","hawk","hawker","hawking","hawkins","hawkish","hawkishness","hawley","haws","hawser","hawthorn","hawthorne","hay","haycock","hayden","haydn","haydon","hayes","hayfield","hayley","hayloft","haymow","haynes","hayrick","hayride","hayseed","haystack","haywain","hayward","haywire","haywood","hayyim","hazard","hazardous","hazardousness","haze","hazel","hazelcast","hazelnut","hazer","hazily","haziness","hazing","hazlett","hazlitt","hazy","hb","hbase","hbm","hbo","hbox","hbs","hc","hd","hdc","hdd","hdf","hdfs","hdpi","hdqrs","hdr","hdtv","he","head","headache","headaches","headband","headboard","headcount","headdress","header","headers","headerstyle","headertemplate","headertext","headerview","headfirst","headgear","headhunt","headhunter","headhunting","headily","headiness","heading","headings","headlamp","headland","headless","headlessness","headlight","headline","headliner","headlines","headlock","headlong","headman","headmaster","headmastership","headmen","headmistress","headphone","headpiece","headpin","headquarter","headrest","headroom","heads","headscarf","headset","headship","headshrinker","headsman","headsmen","headstall","headstand","headstock","headstone","headstrong","headwaiter","headwall","headwater","headway","headwind","headword","heady","heal","healed","healer","heall","health","healthcare","healthful","healthfully","healthfulness","healthily","healthiness","healths","healthy","heap","hear","heard","hearer","hearing","hearken","hears","hearsay","hearse","hearst","heart","heartache","heartbeat","heartbreak","heartbreaking","heartbroke","heartbroken","heartburn","heartburning","hearted","hearten","heartening","heartfelt","hearth","hearthrug","hearths","hearthstone","heartily","heartiness","heartland","heartless","heartlessness","heartrending","hearts","heartsick","heartsickness","heartstrings","heartthrob","heartwarming","heartwood","hearty","heat","heated","heatedly","heater","heath","heathen","heathendom","heathenish","heathenism","heather","heathery","heathkit","heathland","heathman","heaths","heatmap","heatproof","heats","heatstroke","heatwave","heave","heaven","heavenliness","heavenly","heavenward","heaver","heaves","heavily","heaviness","heaviside","heavy","heavyhearted","heavyset","heavyweight","heb","hebe","hebephrenic","hebert","hebraic","hebraism","hebrew","hebrides","hecate","hecatomb","heck","heckle","heckler","hectare","hectic","hectically","hectogram","hectometer","hector","hecuba","heda","hedda","heddi","heddie","hedge","hedgehog","hedgehop","hedgehopped","hedgehopping","hedger","hedgerow","hedging","hedi","hedonism","hedonist","hedonistic","hedvig","hedvige","hedwig","hedwiga","hedy","heed","heeded","heedful","heedfulness","heeding","heedless","heedlessness","heehaw","heel","heeler","heeling","heelless","heep","hefner","heft","heftily","heftiness","hefty","hegel","hegelian","hegemonic","hegemony","hegira","heida","heidegger","heidelberg","heidi","heidie","heifer","heifetz","height","heighten","heights","heimlich","heindrick","heine","heineken","heinlein","heinous","heinousness","heinrich","heinrick","heinrik","heinz","heinze","heir","heiress","heirloom","heisenberg","heiser","heist","heister","hejira","helaina","helaine","held","helen","helena","helene","helenka","helga","helge","helical","helices","helicon","helicopter","heliocentric","heliography","heliopolis","helios","heliosphere","heliotrope","heliport","helium","helix","hell","hellbender","hellbent","hellcat","hellebore","hellene","hellenic","hellenism","hellenist","hellenistic","hellenization","hellenize","heller","hellespont","hellfire","hellhole","helli","hellion","hellish","hellishness","hellman","hello","helloworld","helluva","helm","helmed","helmet","helmholtz","helming","helms","helmsman","helmsmen","helmut","helot","help","helped","helper","helpers","helpful","helpfulness","helping","helpless","helplessness","helpline","helpmate","helpmeet","helps","helsa","helsinki","helve","helvetian","helvetica","helvetius","helyn","hem","hematite","hematologic","hematological","hematologist","hematology","heme","hemingway","hemisphere","hemispheric","hemispherical","hemline","hemlock","hemmed","hemmer","hemming","hemoglobin","hemolytic","hemophilia","hemophiliac","hemorrhage","hemorrhagic","hemorrhoid","hemostat","hemp","hemstitch","hen","hence","henceforth","henceforward","hench","henchman","henchmen","henderson","hendrerit","hendrick","hendrickson","hendrik","hendrika","hendrix","henge","henka","henley","henna","hennessey","henning","henpeck","henri","henrie","henrieta","henrietta","henriette","henrik","henry","henryetta","hensley","henson","hep","heparin","hepatic","hepatitides","hepatitis","hepburn","hephaestus","hephzibah","hepper","heppest","hepplewhite","heptagon","heptagonal","heptane","heptathlon","her","hera","heracles","heraclitus","herald","heralded","heraldic","heraldry","herb","herbaceous","herbage","herbal","herbalism","herbalist","herbart","herbert","herbicidal","herbicide","herbie","herbivore","herbivorous","herby","herc","herculaneum","hercule","herculean","herculie","herd","herder","herdsman","herdsmen","here","hereabout","hereafter","hereby","hereditary","heredity","hereford","herein","hereinafter","hereof","hereon","heres","heresy","heretic","heretical","hereto","heretofore","hereunder","hereunto","hereupon","herewith","heriberto","heritable","heritage","heritor","herkimer","herman","hermann","hermaphrodite","hermaphroditic","hermaphroditus","hermeneutic","hermeneutics","hermes","hermetic","hermetical","hermia","hermie","hermina","hermine","herminia","hermione","hermit","hermitage","hermite","hermitian","hermon","hermosa","hermosillo","hermy","hernandez","hernando","hernia","hernial","herniate","hero","herod","herodotus","heroes","heroic","heroically","heroics","heroin","heroine","heroism","heroku","herokuapp","herold","heron","herpes","herpetologist","herpetology","herr","herrera","herrick","herring","herringbone","herrington","hersch","herschel","herself","hersey","hersh","hershel","hershey","herta","hertha","hertz","hertzog","hertzsprung","herve","hervey","herzegovina","herzl","hes","hesiod","hesitance","hesitancy","hesitant","hesitantly","hesitate","hesitater","hesitating","hesitation","hesperus","hess","hesse","hessian","hester","hesther","hestia","heston","heterodox","heterodoxy","heterodyne","heterogamous","heterogamy","heterogeneity","heterogeneous","heterogeneousness","heterosexual","heterosexuality","heterostructure","heterozygous","hetti","hettie","hetty","heublein","heuristic","heuristically","heusen","heuser","hew","hewe","hewer","hewet","hewett","hewie","hewitt","hewlett","hex","hexachloride","hexadecimal","hexafluoride","hexagon","hexagonal","hexagram","hexameter","hexer","hey","heyday","heyerdahl","heywood","hezekiah","hf","hg","hgt","hgwy","hh","hhh","hhs","hi","hialeah","hiatus","hiawatha","hibachi","hibernate","hibernation","hibernator","hibernia","hibernian","hibiscus","hiccup","hick","hickey","hickman","hickok","hickory","hicks","hid","hidden","hiddenfield","hiddenfor","hide","hideaway","hidebound","hideous","hideousness","hideout","hider","hides","hiding","hie","hieing","hierarchal","hierarchic","hierarchical","hierarchy","hieratic","hieroglyph","hieroglyphic","hieroglyphics","hieroglyphs","hieronymus","hifalutin","higashiosaka","higgins","high","highball","highborn","highboy","highbrow","highchair","highcharts","higher","highest","highfalutin","highfield","highgui","highhanded","highhandedness","highish","highland","highlander","highlands","highlight","highlighted","highlighting","highlights","highly","highness","highpoint","highroad","highs","highscore","hight","hightail","highway","highwayman","highwaymen","hijack","hijacker","hike","hiker","hilario","hilarious","hilariousness","hilarity","hilarius","hilary","hilbert","hilda","hildagard","hildagarde","hilde","hildebrand","hildegaard","hildegarde","hildy","hill","hillard","hillary","hillbilly","hillcrest","hillel","hiller","hillery","hilliard","hilliary","hillie","hillier","hilliness","hillman","hillmen","hillock","hillsboro","hillsdale","hillside","hilltop","hillwalking","hilly","hillyer","hilt","hilton","him","himalaya","himalayan","himmler","himself","hinayana","hind","hinda","hindemith","hindenburg","hinder","hindered","hinderer","hindi","hindmost","hindquarter","hindrance","hindsight","hindu","hinduism","hindustan","hindustani","hines","hinge","hinger","hinkle","hinsdale","hinstance","hint","hinter","hinterland","hinton","hints","hinze","hip","hipbone","hipness","hipparchus","hipped","hipper","hippest","hippie","hipping","hippo","hippocrates","hippocratic","hippodrome","hippopotamus","hippy","hipster","hiragana","hiram","hire","hired","hireling","hirer","hirey","hiring","hirohito","hiroshi","hiroshima","hirsch","hirsute","hirsuteness","his","hispanic","hispaniola","hiss","hisser","hissing","hist","histamine","histidine","histochemic","histochemical","histochemistry","histogram","histological","histologist","histology","historian","historic","historical","historically","historicalness","historicism","historicist","historicity","historiographer","historiography","history","histrionic","histrionically","histrionics","hit","hitachi","hitch","hitchcock","hitcher","hitchhike","hither","hitherto","hitler","hitless","hits","hittable","hitter","hitting","hittite","hiv","hive","hk","hkey","hklm","hl","hloise","hls","hm","hmac","hmm","hmo","hmong","hms","hn","ho","hoar","hoard","hoarder","hoarding","hoarfrost","hoariness","hoarse","hoarseness","hoary","hoax","hoaxer","hob","hobard","hobart","hobbed","hobbes","hobbies","hobbing","hobbit","hobble","hobbler","hobbs","hobby","hobbyhorse","hobbyist","hobday","hobey","hobgoblin","hobie","hobnail","hobnob","hobnobbed","hobnobbing","hobo","hoboken","hoc","hock","hocker","hockey","hockney","hockshop","hod","hodge","hodgepodge","hodgkin","hoe","hoebart","hoecake","hoedown","hoeing","hoer","hoff","hoffa","hoffman","hofstadter","hog","hogan","hogarth","hogback","hogged","hogger","hogging","hoggish","hogshead","hogtie","hogtying","hogwash","hohenlohe","hohenstaufen","hohenzollern","hohhot","hoist","hoister","hoke","hokey","hokier","hokiest","hokkaido","hokum","hokusai","holbein","holbrook","holcomb","hold","holdall","holden","holder","holders","holding","holdout","holdover","holds","holdup","hole","holes","holey","holiday","holidaymaker","holidays","holier","holiness","holistic","holistically","holland","hollandaise","hollander","holler","hollerith","holley","holli","hollie","hollister","hollow","holloway","hollowness","hollowware","holly","hollyanne","hollyhock","hollywood","holm","holman","holmes","holmium","holo","holocaust","holocene","hologram","holograph","holographic","holographs","holography","holst","holstein","holster","holt","holy","holyoke","holystone","holzman","hom","homage","homager","hombre","homburg","home","homebody","homebound","homeboy","homebrew","homebuilder","homebuilding","homebuilt","homecoming","homecontroller","homegrown","homeland","homeless","homelessness","homelike","homeliness","homely","homemade","homemake","homemaker","homemaking","homeomorph","homeomorphic","homeomorphism","homeopath","homeopathic","homeopaths","homeopathy","homeostases","homeostasis","homeostatic","homeowner","homeownership","homepage","homer","homere","homeric","homerists","homeroom","homerus","homes","homeschooling","homescreen","homesick","homesickness","homespun","homestead","homesteader","homestretch","hometown","homeward","homework","homeworker","homey","homeyness","homicidal","homicide","homier","homiest","homiletic","homily","hominess","homing","hominid","hominy","homo","homogamy","homogenate","homogeneity","homogeneous","homogenization","homogenize","homogenizer","homograph","homographs","homological","homologous","homologue","homology","homomorphic","homomorphism","homonym","homophobia","homophobic","homophone","homopolymers","homosexual","homosexuality","homotopy","homozygous","hon","honcho","honda","hondo","honduran","honduras","hone","honecker","honest","honestly","honesty","honey","honeybee","honeycomb","honeydew","honeylocust","honeymoon","honeymooner","honeysuckle","honeywell","hong","honiara","honk","honker","honky","honolulu","honor","honorable","honorableness","honorables","honorablies","honorably","honorarily","honorarium","honorary","honored","honoree","honorer","honoria","honorific","honors","honshu","hooch","hood","hooded","hoodedness","hoodlum","hoodoo","hoodwink","hoodwinker","hooey","hoof","hoofer","hoofmark","hook","hookah","hookahs","hooke","hooked","hookedness","hooker","hookey","hooking","hooks","hookup","hookworm","hooky","hooligan","hooliganism","hoop","hooper","hoopla","hooray","hoosegow","hoosier","hoot","hootch","hootenanny","hooter","hoover","hooves","hop","hope","hoped","hopeful","hopefully","hopefulness","hopeless","hopelessness","hoper","hopes","hopewell","hopi","hoping","hopkins","hopkinsian","hopped","hopper","hopping","hoppled","hopples","hopscotch","horace","horacio","horatia","horatio","horatius","horde","horehound","horizon","horizontal","horizontalalign","horizontalalignment","horizontalcontentalignment","horizontally","horizontalscrollview","hormel","hormonal","hormone","hormuz","horn","hornbeam","hornblende","hornblower","horne","horned","hornedness","hornet","horniness","hornless","hornlike","hornpipe","horny","horologic","horological","horologist","horology","horoscope","horowitz","horrendous","horrible","horribleness","horribly","horrid","horridness","horrific","horrifically","horrify","horrifying","horror","hors","horse","horseback","horsedom","horseflesh","horsefly","horsehair","horsehide","horselaugh","horselaughs","horseless","horselike","horsely","horseman","horsemanship","horsemen","horseplay","horseplayer","horsepower","horseradish","horseshoe","horseshoeing","horseshoer","horsetail","horsewhip","horsewhipped","horsewhipping","horsewoman","horsewomen","horsey","horsier","horsiest","horsing","horst","hort","hortatory","horten","hortense","hortensia","horticultural","horticulture","horticulturist","horton","horus","hos","hosanna","hose","hosea","hosepipe","hosier","hosiery","hosp","hospice","hospitable","hospitably","hospital","hospitality","hospitalization","hospitalize","host","hostage","hostconfig","hosted","hostel","hosteler","hostelry","hostess","hostile","hostility","hosting","hostler","hostname","hosts","hot","hotbed","hotblooded","hotbox","hotcake","hotchpotch","hotel","hotelier","hotelman","hotels","hotfoot","hothead","hotheaded","hotheadedness","hothouse","hotmail","hotness","hotplate","hotpot","hotrod","hotshot","hotspot","hotted","hottentot","hotter","hottest","hotting","houdaille","houdini","hough","hound","hounder","hounding","hour","hourglass","houri","hourly","hours","house","houseboat","housebound","houseboy","housebreak","housebreaker","housebreaking","housebroke","housebroken","housebuilding","houseclean","housecleaning","housecoat","housefly","houseful","household","householder","househusband","housekeep","housekeeper","housekeeping","houselights","housemaid","houseman","housemen","housemother","housemoving","houseparent","houseplant","houser","houses","housetop","housewares","housewarming","housewife","housewifeliness","housewifely","housewives","housework","houseworker","housing","housman","houston","houyhnhnm","hov","hove","hovel","hover","hovercraft","hovered","hoverer","hovering","hovers","how","howard","howbeit","howdah","howdahs","howdy","howe","howell","however","howey","howie","howitzer","howl","howler","howrah","howsoever","howto","hoy","hoyden","hoydenish","hoyle","hoyt","hp","hpa","hpp","hq","hql","hr","href","hresult","hrh","hrothgar","hrs","hs","hsl","hsqldb","hst","hsv","ht","htaccess","htc","htdocs","hth","htm","html","htmlattributes","htmldocument","htmlelement","htmlentities","htmlhelper","htmlspecialchars","htmlstring","htmltextwriter","htmlunit","htons","hts","http","httpapplication","httpbackend","httpclient","httpcomponents","httpconnection","httpcontext","httpd","httpentity","httpget","httphandler","httpheader","httpheaders","httplib","httpmethod","httponly","httppost","httpprovider","httprequest","httprequestmessage","httpresponse","httpresponsemessage","httpresponseredirect","httpruntime","https","httpsecurity","httpserver","httpservlet","httpservletrequest","httpservletresponse","httpsession","httpstatus","httpstatuscode","httpurlconnection","httputility","httpwebrequest","httpwebresponse","hu","huang","huarache","huawei","hub","hubba","hubbard","hubble","hubbub","hubby","hubcap","hube","huber","hubert","huberto","hubey","hubie","hubris","hubs","huck","huckleberry","huckster","hud","huddersfield","huddle","huddler","hudson","hue","huerta","huey","huff","huffily","huffiness","huffman","huffy","hug","huge","hugely","hugeness","hugged","hugger","hugging","huggins","hugh","hughie","hugibert","hugo","huguenot","hugues","huh","huhs","hui","huitzilopitchli","hula","hulda","hulk","hull","hullabaloo","huller","hulling","hullo","hum","human","humane","humaneness","humaner","humanest","humanism","humanist","humanistic","humanitarian","humanitarianism","humanity","humanization","humanize","humanized","humanizer","humanizes","humanizing","humankind","humanness","humannesses","humanoid","humans","humbert","humberto","humble","humbleness","humbly","humboldt","humbug","humbugged","humbugging","humdinger","humdrum","hume","humeral","humeri","humerus","humfrey","humfrid","humfried","humid","humidification","humidifier","humidify","humidistat","humidity","humidor","humiliate","humiliating","humiliation","humility","hummed","hummel","hummer","humming","hummingbird","hummock","hummocky","hummus","humongous","humor","humored","humorist","humorless","humorlessness","humorous","humorousness","hump","humpback","humph","humphrey","humphs","humpty","humus","humvee","hun","hunch","hunchback","hundred","hundredfold","hundreds","hundredths","hundredweight","hunfredo","hung","hungarian","hungary","hunger","hungover","hungrily","hungriness","hungry","hunk","hunker","hunky","hunt","hunter","hunting","huntington","huntlee","huntley","huntress","huntsman","huntsmen","huntsville","hurdle","hurdler","hurl","hurlee","hurleigh","hurler","hurley","hurling","huron","hurray","hurricane","hurried","hurriedness","hurry","hurst","hurt","hurter","hurtful","hurtfulness","hurting","hurtle","hurts","hurwitz","hus","husain","husband","husbander","husbandman","husbandmen","husbandry","husein","hush","husk","husker","huskily","huskiness","husking","husky","hussar","hussein","husserl","hussy","hustings","hustle","hustler","huston","hut","hutch","hutchins","hutchinson","hutchison","hutted","hutting","hutton","hutu","huxley","huygens","huzzah","huzzahs","hv","hw","hwnd","hwy","hx","hy","hyacinth","hyacintha","hyacinthe","hyacinthia","hyacinthie","hyacinths","hyades","hyaena","hyannis","hyatt","hybrid","hybridism","hybridization","hybridize","hyde","hyderabad","hydra","hydrangea","hydrant","hydrate","hydration","hydraulic","hydraulically","hydraulicked","hydraulicking","hydraulics","hydrazine","hydride","hydro","hydrocarbon","hydrocephali","hydrocephalus","hydrochemistry","hydrochloric","hydrochloride","hydrodynamic","hydrodynamical","hydrodynamics","hydroelectric","hydroelectrically","hydroelectricity","hydrofluoric","hydrofoil","hydrogen","hydrogenate","hydrogenation","hydrogenations","hydrogenous","hydrological","hydrologist","hydrology","hydrolysis","hydrolyze","hydrolyzed","hydromagnetic","hydromechanics","hydrometer","hydrometry","hydrophilic","hydrophobia","hydrophobic","hydrophone","hydroplane","hydroponic","hydroponics","hydrosphere","hydrostatic","hydrostatics","hydrotherapy","hydrothermal","hydrous","hydroxide","hydroxy","hydroxyl","hydroxylate","hydroxyzine","hyena","hygiene","hygienic","hygienically","hygienics","hygienist","hygrometer","hygroscopic","hying","hyman","hymen","hymeneal","hymie","hymn","hymnal","hymnbook","hynda","hype","hyper","hyperactive","hyperactivity","hyperbola","hyperbole","hyperbolic","hyperbolically","hyperboloid","hyperboloidal","hypercellularity","hypercritical","hypercube","hyperemia","hyperemic","hyperfine","hypergamous","hypergamy","hyperglycemia","hyperinflation","hyperion","hyperledger","hyperlink","hyperlinks","hypermarket","hypermedia","hyperplane","hyperplasia","hypersensitive","hypersensitiveness","hypersensitivity","hypersonic","hyperspace","hypersphere","hypertension","hypertensive","hypertext","hyperthyroid","hyperthyroidism","hypertrophy","hypervelocity","hyperventilate","hyperventilation","hyphen","hyphenate","hyphenated","hyphenation","hyphens","hypnoses","hypnosis","hypnotherapy","hypnotic","hypnotically","hypnotism","hypnotist","hypnotize","hypo","hypoactive","hypoallergenic","hypocellularity","hypochondria","hypochondriac","hypocrisy","hypocrite","hypocritical","hypodermic","hypoglycemia","hypoglycemic","hypophyseal","hypophysectomized","hypotenuse","hypothalami","hypothalamic","hypothalamically","hypothalamus","hypothermia","hypotheses","hypothesis","hypothesize","hypothesizer","hypothetic","hypothetical","hypothyroid","hypothyroidism","hypoxia","hyssop","hysterectomy","hysteresis","hysteria","hysteric","hysterical","hyundai","hz","i","ia","iaccoca","iactionresult","iago","iain","iam","iamb","iambi","iambic","iambus","ian","ianthe","iasyncresult","ib","ibaction","ibadan","ibb","ibbie","ibby","iberia","iberian","ibero","ibex","ibid","ibidem","ibinder","ibis","ibm","ibo","iboutlet","ibrahim","ibsen","ibuprofen","ic","icarus","icbm","icc","ice","iceberg","iceboat","icebound","icebox","icebreaker","icecap","iceland","icelander","icelandic","iceman","icemen","icepack","icepick","ichabod","ichneumon","ichthyologist","ichthyology","icicle","icily","iciness","icing","icky","icloud","icmp","ico","icollection","icommand","icon","iconic","iconoclasm","iconoclast","iconoclastic","iconography","icons","iconv","icosahedra","icosahedral","icosahedron","ics","ictus","icu","icy","id","ida","idaho","idahoan","idahoes","idalia","idalina","idaline","idc","ide","idea","ideal","idealism","idealist","idealistic","idealistically","idealization","idealize","idealized","idealizer","ideally","idealogical","ideas","ideate","ideation","idell","idelle","idem","idempotent","ident","identical","identicalness","identifiability","identifiable","identifiably","identification","identified","identifier","identifiers","identifies","identify","identifying","identities","identity","identitymodel","identityserver","ideogram","ideograph","ideographic","ideographs","ideological","ideologist","ideologue","ideology","ideone","ides","idette","idf","idictionary","idiocy","idiolect","idiom","idiomatic","idiomatically","idiopathic","idiosyncrasy","idiosyncratic","idiosyncratically","idiot","idiotic","idiotically","idisposable","idl","idle","idleness","idler","idol","idolater","idolatress","idolatrous","idolatry","idolization","idolize","idolized","idolizer","idp","ids","idt","iduser","idx","idyll","idyllic","idyllically","ie","ieee","ienumerable","ienumerator","ietf","ieyasu","if","iface","ifdef","ifelse","iferror","iffiness","iffy","ifmodule","ifndef","ifni","ifnull","ifoo","iframe","iframes","ifs","ifstream","ig","iggie","iggy","igloo","ignace","ignacio","ignacius","ignatius","ignaz","ignazio","igneous","ignitable","ignite","igniter","ignition","ignoble","ignobleness","ignobly","ignominious","ignominy","ignorable","ignoramus","ignorance","ignorant","ignorantness","ignore","ignorecase","ignored","ignorer","ignores","ignoring","igor","igraph","iguana","iguassu","ih","ii","iid","iif","iii","iirc","iis","ij","ijsselmeer","ik","ike","ikey","ikhnaton","ikon","il","ila","ilaire","ilario","ilea","ileana","ileane","ileitides","ileitis","ilene","ileum","ilia","iliac","iliad","ilise","ilist","ilium","ilk","ilka","ill","illa","illegal","illegalaccessexception","illegalargumentexception","illegality","illegalstateexception","illegibility","illegible","illegibly","illegitimacy","illegitimate","illiberal","illiberality","illicit","illicitness","illimitable","illimitableness","illinois","illinoisan","illiquid","illiteracy","illiterate","illiterateness","illness","illogic","illogical","illogicality","illogicalness","illume","illuminate","illuminati","illuminating","illuminatingly","illumination","illumine","illus","illusion","illusionary","illusionist","illusive","illusiveness","illusoriness","illusory","illustrate","illustrated","illustrates","illustration","illustrative","illustrator","illustrious","illustriousness","illy","iloc","ilogger","ilona","ilsa","ilse","ilysa","ilyse","ilyssa","ilyushin","im","imag","image","imageadapter","imagearray","imagebutton","imagedata","imagefield","imagefile","imageformat","imageicon","imageid","imageio","imagelist","imageloader","imagemagick","imagen","imagename","imagenamed","imagepath","imagepicker","imagery","images","imageshack","imagesize","imagesource","imageuri","imageurl","imageview","imagewidth","imagick","imaginable","imaginableness","imaginably","imaginariness","imaginary","imagination","imaginative","imaginativeness","imagine","imagined","imaginer","imaging","imago","imagoes","imam","imap","imbalance","imbecile","imbecilic","imbecility","imbibe","imbiber","imbrication","imbrium","imbroglio","imbruing","imbue","imdb","ime","imei","imelda","imessage","imf","img","imgdata","imgproc","imgs","imgur","imgurl","imgview","imho","imitable","imitate","imitation","imitative","imitativeness","imitator","imm","immaculate","immaculateness","immanence","immanency","immanent","immanuel","immaterial","immateriality","immaterialness","immature","immatureness","immaturity","immeasurable","immeasurableness","immeasurably","immediacy","immediate","immediately","immediateness","immemorial","immense","immenseness","immensity","immerse","immersible","immersion","immigrant","immigrate","immigration","imminence","imminent","imminentness","immobile","immobility","immobilization","immobilize","immoderate","immoderateness","immoderation","immodest","immodesty","immolate","immolation","immoral","immorality","immortal","immortality","immortalize","immortalized","immovability","immovable","immovableness","immovably","immune","immunity","immunization","immunize","immunoassay","immunodeficiency","immunodeficient","immunologic","immunological","immunologist","immunology","immure","immutability","immutable","immutableness","immutably","imnsho","imo","imogen","imogene","imojean","imp","impact","impaction","impactor","impair","impaired","impairer","impairment","impala","impale","impalement","impaler","impalpable","impalpably","impanel","impart","impartation","impartial","impartiality","impassable","impassableness","impassably","impasse","impassibility","impassible","impassibly","impassion","impassioned","impassive","impassiveness","impassivity","impasto","impatience","impatiens","impatient","impeach","impeachable","impeacher","impeachment","impeccability","impeccable","impeccably","impecunious","impecuniousness","imped","impedance","impede","impeded","impeder","impediment","impedimenta","impel","impelled","impeller","impelling","impend","impenetrability","impenetrable","impenetrableness","impenetrably","impenitence","impenitent","imperative","imperativeness","imperceivable","imperceptibility","imperceptible","imperceptibly","imperceptive","imperdiet","imperf","imperfect","imperfectability","imperfection","imperfectness","imperial","imperialism","imperialist","imperialistic","imperialistically","imperil","imperilment","imperious","imperiousness","imperishable","imperishableness","imperishably","impermanence","impermanent","impermeability","impermeable","impermeableness","impermeably","impermissible","impersonal","impersonality","impersonalized","impersonate","impersonation","impersonator","impertinence","impertinent","imperturbability","imperturbable","imperturbably","impervious","imperviousness","impetigo","impetuosity","impetuous","impetuousness","impetus","impiety","imping","impinge","impingement","impious","impiousness","impish","impishness","impl","implacability","implacable","implacableness","implacably","implant","implantation","implanter","implausibility","implausible","implausibly","implement","implementability","implementable","implementation","implementations","implemented","implementer","implementing","implementor","implements","implicant","implicate","implication","implications","implicative","implicit","implicitly","implicitness","implied","implies","implode","implore","imploring","implosion","implosive","imply","implying","impolite","impoliteness","impolitic","impoliticness","imponderable","imponderableness","import","importance","important","importantly","importation","imported","importer","importerror","importing","importlib","imports","importunate","importunateness","importune","importuner","importunity","imposable","impose","imposer","imposing","imposingly","imposition","impossibility","impossible","impossibleness","impossibly","impost","imposter","impostor","imposture","impotence","impotency","impotent","impound","impoundments","impoverish","impoverisher","impoverishment","impracticable","impracticableness","impracticably","impractical","impracticality","impracticalness","imprecate","imprecation","imprecise","impreciseness","imprecision","impregnability","impregnable","impregnableness","impregnably","impregnate","impregnation","impresario","impress","impressed","impresser","impressibility","impressible","impression","impressionability","impressionable","impressionableness","impressionism","impressionist","impressionistic","impressions","impressive","impressiveness","impressment","imprimatur","imprint","imprinter","imprinting","imprison","imprisonment","improbability","improbable","improbableness","improbably","impromptu","improper","improperness","impropitious","impropriety","improve","improved","improvement","improvements","improver","improves","improvidence","improvident","improving","improvisation","improvisational","improvisatory","improvise","improviser","imprudence","imprudent","impudence","impudent","impugn","impugner","impulse","impulsion","impulsive","impulsiveness","impunity","impure","impureness","impurity","imputation","impute","imread","imshow","imus","in","ina","inaccessible","inaccurate","inaction","inactive","inadequate","inadvertence","inadvertent","inalienability","inalienably","inalterable","inalterableness","inamorata","inane","inanimate","inanimateness","inanity","inappeasable","inappropriate","inarray","inarticulate","inasmuch","inaugural","inaugurate","inauguration","inauthenticity","inbound","inbox","inbred","inbreed","inbuilt","inc","inca","incalculableness","incalculably","incandescence","incandescent","incant","incantation","incantatory","incapable","incapacitate","incapacitation","incarcerate","incarceration","incarnadine","incarnate","incarnation","incase","incendiary","incense","incentive","incentively","incentives","incept","inception","inceptive","inceptor","incessant","incest","incestuous","incestuousness","inch","inches","inchoate","inchon","inchworm","incidence","incident","incidental","incidentally","incidents","incididunt","incinerate","incineration","incinerator","incipience","incipiency","incipient","incise","incision","incisive","incisiveness","incisor","incite","incitement","inciter","incl","inclination","incline","inclined","incliner","inclining","include","included","includes","including","inclusion","inclusive","inclusiveness","incognito","incoherency","income","incoming","incommode","incommunicado","incomparable","incompatible","incompetent","incomplete","inconceivability","inconceivable","inconceivableness","incondensable","incongruousness","inconsiderable","inconsiderableness","inconsistence","inconsistent","inconsolable","inconsolableness","inconsolably","incontestability","incontestably","incontrovertibly","inconvenience","inconvenient","inconvertibility","inconvertible","incorporable","incorporate","incorporated","incorrect","incorrectly","incorrigibility","incorrigible","incorrigibleness","incorrigibly","incorruptible","incorruptibly","incr","increase","increased","increaser","increases","increasing","increasingly","incredible","incredibleness","incredibly","increment","incremental","incrementation","incremented","incrementing","increments","incriminate","incrimination","incriminatory","incrustation","incubate","incubation","incubator","incubus","inculcate","inculcation","inculpate","incumbency","incumbent","incunabula","incunabulum","incurable","incurious","incursion","ind","indebted","indebtedness","indeed","indefatigable","indefatigableness","indefatigably","indefeasible","indefeasibly","indefinable","indefinableness","indefinite","indefinitely","indelible","indelibly","indemnification","indemnify","indemnity","indent","indentation","indented","indenter","indention","indenture","independence","independent","independently","indescribable","indescribableness","indescribably","indestructible","indestructibleness","indestructibly","indeterminably","indeterminacy","indeterminate","indeterminism","index","indexation","indexed","indexeddb","indexer","indexerror","indexes","indexing","indexof","indexpath","india","indian","indiana","indianan","indianapolis","indianian","indicant","indicate","indicated","indicates","indicating","indication","indicative","indicator","indicators","indices","indict","indicter","indictment","indifference","indigence","indigenous","indigenousness","indigent","indigestible","indignant","indignation","indigo","indira","indirect","indirection","indirectly","indiscreet","indiscriminate","indiscriminateness","indispensability","indispensable","indispensableness","indispensably","indisputable","indisputableness","indissoluble","indissolubleness","indissolubly","indistinguishable","indistinguishableness","indite","indium","individual","individualism","individualist","individualistic","individualistically","individuality","individualization","individualize","individualized","individualizer","individualizes","individualizing","individually","individuals","individuate","individuation","indivisible","indivisibleness","indivisibly","indochina","indochinese","indoctrinate","indoctrination","indoctrinator","indolence","indolent","indomitable","indomitableness","indomitably","indonesia","indonesian","indoor","indore","indra","indubitable","indubitableness","indubitably","induce","induced","inducement","inducer","inducible","induct","inductance","inductee","induction","inductive","inductiveness","inductor","indulge","indulgence","indulgent","indulger","indus","industrial","industrialism","industrialist","industrialization","industrialize","industrialized","industries","industrious","industriousness","industry","indx","indy","inebriate","inebriation","inedible","ineducable","ineffability","ineffable","ineffableness","ineffably","inefficient","inelastic","ineligibly","ineluctable","ineluctably","inept","ineptitude","ineptness","inequality","inequivalent","inerrant","inert","inertia","inertial","inertness","ines","inescapably","inesita","inessa","inestimably","inet","inetaddress","inetpub","inevitability","inevitable","inevitableness","inevitably","inexact","inexhaustible","inexhaustibleness","inexhaustibly","inexorability","inexorable","inexorableness","inexorably","inexpedience","inexplicable","inexplicableness","inexplicably","inexplicit","inexpressibility","inexpressible","inexpressibleness","inextricably","inez","inf","infamous","infamy","infancy","infant","infanticide","infantile","infantry","infantryman","infantrymen","infarct","infarction","infatuate","infatuation","infauna","infect","infected","infecter","infection","infectious","infectiousness","infective","infer","inference","inferential","inferior","inferiority","infernal","inferno","inferred","inferring","infertile","infest","infestation","infester","infidel","infighting","infile","infill","infiltrate","infiltrator","infinispan","infinite","infinitely","infinitesimal","infinitival","infinitive","infinitude","infinitum","infinity","infirmary","infirmity","infix","inflammable","inflammableness","inflammation","inflammatory","inflatable","inflate","inflated","inflateexception","inflater","inflating","inflation","inflationary","inflect","inflection","inflectional","inflexible","inflexibleness","inflexion","inflict","inflicter","infliction","inflow","influence","influenced","influencer","influent","influential","influenza","info","infobox","infocenter","infomercial","inform","informatica","informatics","information","informational","informations","informative","informativeness","informatory","informed","informer","infos","infotainment","infowindow","infra","infrared","infrasonic","infrastructural","infrastructure","infrequence","infringe","infringement","infringer","infuriate","infuriating","infuriation","infuse","infuser","infusible","infusibleness","ing","inga","ingaberg","ingaborg","ingamar","ingar","inge","ingeberg","ingeborg","ingelbert","ingemar","ingenious","ingeniousness","ingenuity","ingenuous","ingenuousness","inger","ingersoll","ingest","ingestible","ingestion","inglebert","inglenook","inglewood","inglis","ingmar","ingnue","ingoing","ingot","ingra","ingrained","ingram","ingrate","ingratiate","ingratiating","ingratiation","ingredient","ingredients","ingres","ingress","ingression","ingrid","ingrim","ingrown","inguinal","ingunna","inhabit","inhabitable","inhabitance","inhabited","inhabiter","inhalant","inhalation","inhalator","inhale","inhere","inherent","inherently","inherit","inheritable","inheritableness","inheritance","inherited","inheriting","inheritor","inheritress","inheritrix","inherits","inhibit","inhibited","inhibiter","inhibition","inhibitor","inhibitory","inhomogeneous","inhospitable","inhospitableness","inhospitality","ini","inigo","inimical","inimitable","inimitableness","inimitably","inion","iniquitous","iniquitousness","iniquity","init","initandlisten","initial","initialcontext","initialer","initialisation","initialise","initialised","initializable","initialization","initializations","initialize","initializecomponent","initialized","initializer","initializers","initializes","initializing","initially","initials","initialstate","initiate","initiated","initiates","initiating","initiation","initiative","initiator","initiatory","initmap","initwithdata","initwithframe","initwithnibname","initwithstyle","initwithtitle","inject","injectable","injected","injecting","injection","injections","injector","injunctive","injure","injured","injurer","injurious","injuriousness","ink","inkblot","inker","inkiness","inkling","inkscape","inkstand","inkwell","inky","inland","inlander","inlay","inletting","inline","inlined","inlining","inly","inmost","inn","inna","innards","innate","innateness","inner","innerexception","innerheight","innerhtml","innermost","innersole","innerspring","innertext","innervate","innervation","innerwidth","inning","innis","innkeeper","innocence","innocent","innocuous","innocuousness","innodb","innovate","innovation","innovative","innovator","innovatory","innsbruck","innuendo","innumerability","innumerable","innumerableness","innumerably","innumerate","inoculate","inoculation","inoculative","inode","inoffensive","inonu","inopportune","inopportuneness","inorder","inordinate","inordinateness","inorganic","inotifypropertychanged","inout","inp","inpatient","inplace","input","inputarray","inputbox","inputdata","inputfield","inputfile","inputid","inputline","inputmethodmanager","inputs","inputstream","inputstreamreader","inputstring","inputted","inputtext","inputting","inputtype","inputvalue","inquire","inquirer","inquiring","inquiry","inquisition","inquisitional","inquisitive","inquisitiveness","inquisitor","inquisitorial","inri","inrush","ins","insalubrious","insamplesize","insane","insanitary","insatiability","insatiable","insatiableness","insatiably","inscribe","inscription","inscrutability","inscrutable","inscrutableness","inscrutably","inseam","insecticidal","insecticide","insectivore","insectivorous","insecure","insecureness","inseminate","insemination","insensate","insensateness","insensible","insensitive","insentient","inseparable","insert","insertafter","insertbefore","insertcell","inserted","inserter","inserting","insertion","inserts","inset","insets","insetting","inshore","inside","insider","insidious","insidiousness","insight","insightful","insights","insigne","insignia","insignificant","insinuate","insinuating","insinuation","insinuator","insipid","insipidity","insist","insistence","insistent","insisting","insociable","insofar","insole","insolence","insolent","insoluble","insolubleness","insolubly","insomnia","insomniac","insomuch","insouciance","insouciant","inspect","inspecting","inspection","inspective","inspector","inspectorate","inspiration","inspirational","inspire","inspired","inspirer","inspiring","inspirit","inst","instagram","install","installable","installation","installations","installed","installer","installers","installing","installment","installs","instance","instanceid","instanceof","instances","instant","instantaneous","instantaneousness","instantiate","instantiated","instantiates","instantiateviewcontrollerwithidentifier","instantiating","instantiation","instantly","instate","instead","instigate","instigation","instigator","instillation","instinct","instinctive","instinctual","institute","instituter","institutes","institution","institutional","institutionalism","institutionalist","institutionalization","institutionalize","institutions","institutor","instr","instream","instruct","instructed","instruction","instructional","instructions","instructive","instructiveness","instructor","instrument","instrumental","instrumentalist","instrumentality","instrumentation","instruments","insubordinate","insubstantial","insufferable","insufferably","insufficient","insular","insularity","insulate","insulated","insulation","insulator","insulin","insult","insulter","insulting","insuperable","insuperably","insupportable","insupportableness","insurance","insure","insured","insurer","insurgence","insurgency","insurgent","insurmountably","insurrection","insurrectionist","int","intact","intactness","intaglio","intake","intangible","intarray","integer","integerfield","integers","integrability","integrable","integral","integrand","integrate","integrated","integrates","integrating","integration","integrative","integrator","integrity","integument","intel","intellect","intellective","intellectual","intellectualism","intellectuality","intellectualize","intellectualness","intelligence","intelligencer","intelligent","intelligentsia","intelligibilities","intelligibility","intelligible","intelligibleness","intelligibly","intellij","intellisense","intelsat","intemperate","intend","intendant","intended","intendedness","intender","intensification","intensifier","intensify","intensional","intensity","intensive","intensiveness","intent","intentfilter","intention","intentional","intentionality","intentionally","intentions","intentness","intents","intentservice","inter","interact","interacting","interaction","interactions","interactive","interactively","interactivity","interacts","interaxial","interbank","interbred","interbreed","intercalate","intercalation","intercase","intercaste","intercede","interceder","intercensal","intercept","interception","interceptor","interceptors","intercession","intercessor","intercessory","interchange","interchangeability","interchangeable","interchangeableness","interchangeably","interchanger","intercity","interclass","intercohort","intercollegiate","intercom","intercommunicate","intercommunication","interconnect","interconnected","interconnectedness","interconnection","interconnectivity","intercontinental","interconversion","intercorrelated","intercourse","interdata","interdenominational","interdepartmental","interdependence","interdependency","interdependent","interdict","interdiction","interdisciplinary","interdum","interest","interested","interesting","interestingly","interestingness","interests","interface","interfaces","interfacing","interfaith","interfere","interference","interferer","interfering","interferometer","interferometric","interferometry","interferon","interfile","intergalactic","intergeneration","intergenerational","interglacial","intergovernmental","intergroup","interim","interindex","interindustry","interior","interj","interject","interjection","interjectional","interlace","interlard","interlayer","interleave","interleukin","interlibrary","interline","interlinear","interlingua","interlingual","interlining","interlink","interlisp","interlobular","interlock","interlocker","interlocutor","interlocutory","interlope","interloper","interlude","intermarriage","intermarry","intermediary","intermediate","intermediateness","intermediates","intermediation","interment","intermeshed","intermetrics","intermezzi","intermezzo","interminably","intermingle","intermission","intermittent","intermix","intermodule","intermolecular","intern","internal","internaldofilter","internalization","internalize","internally","internals","international","internationale","internationalism","internationalist","internationality","internationalization","internationalize","interne","internecine","internee","internet","internetwork","internist","internment","internship","internuclear","interocular","interoffice","interop","interoperability","interopservices","interp","interpenetrates","interpersonal","interplanetary","interplay","interpol","interpolate","interpolated","interpolation","interpose","interposer","interposition","interpret","interpretable","interpretation","interpretative","interpreted","interpreter","interpreting","interpretive","interpretor","interprets","interprocess","interprocessor","interquartile","interracial","interred","interregional","interregnum","interrelate","interrelated","interrelatedness","interrelation","interrelationship","interring","interrogate","interrogation","interrogative","interrogator","interrogatory","interrupt","interrupted","interruptedexception","interrupter","interruptibility","interruptible","interruption","interrupts","interscholastic","intersect","intersection","intersects","intersession","interspecies","intersperse","interspersion","interstage","interstate","interstellar","interstice","interstitial","intersurvey","intertask","intertwine","interurban","interval","intervals","intervene","intervener","intervenor","intervention","interventionism","interventionist","interview","interviewed","interviewee","interviewer","interviewing","interviews","intervocalic","interweave","interwove","interwoven","intestacy","intestinal","intestine","inti","intifada","intimacy","intimal","intimate","intimateness","intimater","intimation","intimidate","intimidating","intimidation","intl","into","intolerable","intolerableness","intolerant","intonate","intonation","intoxicant","intoxicate","intoxicated","intoxication","intptr","intra","intracellular","intracity","intraclass","intracohort","intractability","intractable","intractableness","intradepartmental","intrafamily","intragenerational","intraindustry","intraline","intrametropolitan","intramural","intramuscular","intranasal","intranet","intransigence","intransigent","intransitive","intraoffice","intraprocess","intrapulmonary","intraregional","intrasectoral","intrastate","intratissue","intrauterine","intravenous","intrepid","intrepidity","intrepidness","intricacy","intricate","intricateness","intrigue","intriguer","intriguing","intrinsic","intrinsically","intro","introduce","introduced","introducer","introduces","introducing","introduction","introductory","introit","introject","introspect","introspection","introspective","introspectiveness","introversion","introvert","intrude","intruder","intrusion","intrusive","intrusiveness","ints","intubate","intubation","intuit","intuition","intuitionist","intuitive","intuitiveness","intval","intvalue","inuit","inundate","inundation","inure","inv","invade","invader","invalid","invalidate","invalidated","invalidism","invalidoperationexception","invariable","invariant","invariantculture","invasion","invasive","invective","invectiveness","inveigh","inveigher","inveighs","inveigle","inveigler","invent","invented","invention","inventive","inventiveness","inventor","inventory","inverness","inverse","inversion","invert","inverted","inverter","invertible","invest","invested","investigate","investigating","investigation","investigator","investigatory","investing","investiture","investment","investments","investor","investors","inveteracy","inveterate","inviability","invidious","invidiousness","invigilate","invigilator","invigorate","invigorating","invigoration","invigorations","invincibility","invincible","invincibleness","invincibly","inviolability","inviolably","inviolate","inviolateness","inviscid","invisible","invisibleness","invitation","invitational","invite","invited","invitee","inviter","inviting","invocable","invocablehandlermethod","invocate","invocation","invocations","invocationtargetexception","invoice","invoices","invoke","invoked","invokelater","invokemethod","invokenative","invoker","invokes","invoking","involuntariness","involuntary","involute","involution","involutorial","involve","involved","involvedly","involvement","involver","involves","involving","invulnerability","invulnerableness","inward","inwardness","io","ioc","ioctl","iodate","iodation","iodide","iodinate","iodine","iodize","ioe","ioerror","ioexception","iolande","iolanthe","ion","iona","ionesco","ionian","ionic","ionicframework","ionization","ionize","ionized","ionizer","ionizes","ionizing","ionosphere","ionospheric","iorgo","iormina","ios","iosep","iostream","iot","iota","iou","ioutils","iowa","iowan","ip","ipa","ipad","ipaddress","ipc","ipecac","ipendpoint","iphigenia","iphone","iphoneos","iphones","iphonesimulator","ipn","ipo","ipod","ips","ipso","ipsum","ipswich","iptables","ipv","ipython","iq","iqbal","iqueryable","iquitos","ir","ira","iran","iranian","iraq","iraqi","irascibility","irascible","irascibly","irate","irateness","irb","irc","ire","ireful","ireland","irena","irene","irenic","irepository","irides","iridescence","iridescent","iridium","irids","irina","iris","irish","irishman","irishmen","irishwoman","irishwomen","irita","irk","irksome","irksomeness","irkutsk","irma","iron","ironclad","ironer","ironic","ironical","ironicalness","ironing","ironmonger","ironmongery","ironpython","ironside","ironstone","ironware","ironwood","ironwork","ironworker","irony","iroquoian","iroquois","irow","irq","irradiate","irradiation","irrational","irrationality","irrationalness","irrawaddy","irreclaimable","irreconcilability","irreconcilable","irreconcilableness","irreconcilably","irrecoverable","irrecoverableness","irrecoverably","irredeemable","irredeemably","irredentism","irredentist","irreducibility","irreducible","irreducibly","irreflexive","irrefutable","irrefutably","irregardless","irregular","irregularity","irrelevance","irrelevancy","irrelevant","irreligious","irremediable","irremediableness","irremediably","irremovable","irreparable","irreparableness","irreparably","irreplaceable","irrepressible","irrepressibly","irreproachable","irreproachableness","irreproachably","irreproducibility","irreproducible","irresistibility","irresistible","irresistibleness","irresistibly","irresolute","irresoluteness","irresolution","irresolvable","irrespective","irresponsibility","irresponsible","irresponsibleness","irresponsibly","irretrievable","irretrievably","irreverence","irreverent","irreversible","irreversibly","irrevocable","irrevocableness","irrevocably","irrigable","irrigate","irrigation","irritability","irritable","irritableness","irritably","irritant","irritate","irritated","irritating","irritation","irrupt","irruption","irs","irtish","irv","irvin","irvine","irving","irwin","irwinn","is","isa","isaac","isaak","isabel","isabelita","isabella","isabelle","isac","isacco","isactive","isadmin","isador","isadora","isadore","isahella","isaiah","isak","isarray","isassignablefrom","isauthenticated","isbn","iscariot","ischecked","isconnected","isdeleted","isdigit","isdirectory","iseabal","isempty","isenabled","isequal","isequaltostring","iserror","iservice","isexpanded","isfahan","isfile","ish","isherwood","ishidden","ishim","ishmael","ishtar","isiah","isiahi","isidor","isidora","isidore","isidoro","isidro","isin","isinglass","isinstance","isis","iskindofclass","isl","islam","islamabad","islamic","island","islander","islandia","islands","isle","islet","isloading","isloggedin","ism","ismael","ismatch","isn","isnan","isnt","isnull","isnullorempty","isnullorwhitespace","isnumber","isnumeric","iso","isobar","isobaric","isobel","isochronal","isochronous","isocline","isocyanate","isodate","isodine","isolate","isolated","isolation","isolationism","isolationist","isolationistic","isolator","isolde","isomer","isomeric","isomerism","isometric","isometrically","isometrics","isomorph","isomorphic","isomorphically","isomorphism","isopen","isoperimetrical","isopleth","isopleths","isosceles","isostatic","isotherm","isothermal","isotonic","isotope","isotopic","isotropic","isotropically","isotropy","isp","ispahan","ispell","isplaying","ispostback","isprime","isr","israel","israeli","israelite","isreadonly","isrequired","isrunning","iss","issac","isselected","isset","issi","issiah","issie","issuable","issuance","issuant","issue","issuecomment","issued","issuer","issues","issuing","issy","ist","istanbul","isthmian","isthmus","istream","istrue","istvan","isuzu","isvalid","isvisible","it","itaipu","ital","italian","italianate","italic","italicization","italicize","italicized","italy","itasca","itch","itchiness","itchy","itcorp","itel","item","itemarray","itemcode","itemcontainerstyle","itemcount","itemgetter","itemgroup","itemid","itemization","itemize","itemized","itemizer","itemizes","itemlabel","itemlist","itemname","itemprop","items","itemscontrol","itemspanel","itemspaneltemplate","itemssource","itemstyle","itemtemplate","itemtype","itemvalue","itemview","iter","iterable","iterate","iterated","iterates","iterating","iteration","iterations","iterative","iterator","iterators","iteritems","itertools","itext","itextpdf","itextsharp","ithaca","ithacan","itinerant","itinerary","itm","ito","itr","its","itself","itt","itunes","iu","iud","iv","iva","ivan","ivanhoe","ivar","ive","iver","ivett","ivette","ivie","ivonne","ivor","ivory","ivs","ivy","iw","iwc","ix","iy","izaak","izabel","izak","izanagi","izanami","izhevsk","izmir","izvestia","izzy","j","ja","jab","jabbed","jabber","jabberer","jabbing","jabez","jablonsky","jabot","jacaranda","jacenta","jacinda","jacinta","jacintha","jacinthe","jack","jackal","jackass","jackboot","jackdaw","jackelyn","jacket","jacketed","jackhammer","jacki","jackie","jackknife","jackknives","jacklin","jacklyn","jackman","jackpot","jackquelin","jackqueline","jackrabbit","jackson","jacksonian","jacksonville","jackstraw","jacky","jaclin","jaclyn","jacob","jacobean","jacobi","jacobian","jacobin","jacobite","jacobo","jacobs","jacobsen","jacobson","jacobus","jacoby","jacoco","jacquard","jacquelin","jacqueline","jacquelyn","jacquelynn","jacquenetta","jacquenette","jacques","jacquetta","jacquette","jacqui","jacquie","jacuzzi","jacynth","jada","jade","jaded","jadedness","jadeite","jae","jaeger","jag","jagged","jaggedness","jagger","jaggers","jagging","jaguar","jail","jailbird","jailbreak","jailer","jaime","jaimie","jain","jaine","jainism","jaipur","jakarta","jake","jakie","jakob","jalapeo","jalopy","jalousie","jam","jamaal","jamaica","jamaican","jamal","jamar","jamb","jambalaya","jamboree","jame","jamel","james","jameson","jamestown","jamesy","jamey","jami","jamie","jamil","jamill","jamima","jamison","jammal","jammed","jammie","jamming","jan","jana","janacek","janaya","janaye","jandy","jane","janean","janeczka","janeen","janeiro","janek","janel","janela","janell","janella","janelle","janene","janenna","janessa","janesville","janet","janeta","janetta","janette","janeva","janey","jangle","jangler","jangly","jania","janice","janie","janifer","janina","janine","janis","janissary","janith","janitor","janitorial","janka","janna","jannel","jannelle","jannie","janos","janot","jansen","jansenist","january","janus","jany","japan","japanese","japanned","japanner","japanning","jape","japura","jaquelin","jaquelyn","jaquenetta","jaquenette","jaquith","jar","jarad","jard","jardinire","jareb","jared","jarful","jargon","jarib","jarid","jarlsberg","jarrad","jarray","jarred","jarret","jarrett","jarrid","jarring","jarrod","jars","jarvis","jase","jasen","jasmin","jasmina","jasmine","jason","jasper","jasperreports","jastrow","jasun","jato","jaundice","jaundiced","jaunt","jauntily","jauntiness","jaunty","java","javac","javadoc","javadocs","javaee","javafx","javamail","javanese","javascript","javascripts","javascriptserializer","javase","javassist","javax","javelin","javier","jaw","jawbone","jawbreaker","jawline","jax","jaxartes","jaxb","jaxbcontext","jaxrs","jaxws","jay","jayapura","jaybird","jaycee","jaye","jayme","jaymee","jaymie","jayne","jaynell","jayson","jaywalk","jaywalker","jazmin","jazz","jazziness","jazzmen","jazzy","jb","jboss","jbutton","jc","jcenter","jcheckbox","jcombobox","jcomponent","jcp","jcr","jcs","jct","jd","jdavie","jdbc","jdbctemplate","jdialog","jdk","jdt","je","jealous","jealousness","jealousy","jean","jeana","jeane","jeanelle","jeanette","jeanie","jeanine","jeanna","jeanne","jeannette","jeannie","jeannine","jecho","jed","jedd","jeddy","jedediah","jedi","jedidiah","jee","jeep","jeer","jeerer","jeering","jeeves","jeez","jeff","jefferey","jefferson","jeffersonian","jeffery","jeffie","jeffrey","jeffry","jeffy","jehad","jehanna","jehoshaphat","jehovah","jehu","jejuna","jejune","jejuneness","jejunum","jekyll","jelene","jell","jello","jelly","jellybean","jellyfish","jellying","jellylike","jellyroll","jemie","jemima","jemimah","jemmie","jemmy","jen","jena","jenda","jenelle","jeni","jenica","jeniece","jenifer","jeniffer","jenilee","jenine","jenkins","jenn","jenna","jennee","jenner","jennet","jennette","jenni","jennica","jennie","jennifer","jennilee","jennine","jennings","jenny","jeno","jens","jensen","jeopard","jeopardize","jeopardy","jephthah","jerad","jerald","jeralee","jeramey","jeramie","jere","jereme","jeremiad","jeremiah","jeremiahs","jeremias","jeremie","jeremy","jeri","jericho","jerk","jerker","jerkily","jerkin","jerkiness","jerkwater","jerky","jermain","jermaine","jermayne","jeroboam","jerold","jerome","jeromy","jerri","jerrie","jerrilee","jerrilyn","jerrine","jerrod","jerrold","jerrome","jerry","jerrybuilt","jerrylee","jersey","jerusalem","jervis","jes","jess","jessa","jessalin","jessalyn","jessamine","jessamyn","jesse","jessee","jesselyn","jessey","jessi","jessica","jessie","jessika","jessy","jest","jester","jesting","jesuit","jesus","jet","jetbrains","jeth","jethro","jetliner","jetport","jetsam","jetted","jetting","jettison","jetty","jew","jewel","jeweler","jewelery","jewell","jewelle","jewelled","jewellery","jewelry","jewess","jewish","jewishness","jewry","jezebel","jf","jfilechooser","jfk","jframe","jg","jhipster","jib","jibbed","jibbing","jibe","jid","jidda","jiff","jiffy","jig","jigged","jigger","jigging","jiggle","jiggly","jigsaw","jihad","jilin","jill","jillana","jillane","jillayne","jilleen","jillene","jilli","jillian","jillie","jilly","jilt","jilter","jim","jimenez","jimmie","jimmy","jimsonweed","jinan","jingle","jingler","jingly","jingo","jingoism","jingoist","jingoistic","jinja","jinn","jinnah","jinni","jinny","jinrikisha","jinx","jioendpoint","jira","jit","jitney","jitter","jitterbug","jitterbugged","jitterbugger","jitterbugging","jittery","jiujitsu","jivaro","jive","jj","jk","jkl","jks","jl","jlabel","jlist","jls","jm","jmenu","jmenuitem","jmeter","jmp","jms","jmx","jna","jndi","jni","jnienv","jnlp","jo","joachim","joan","joana","joane","joanie","joann","joanna","joanne","joaquin","job","jobbed","jobber","jobbery","jobbing","jobey","jobholder","jobi","jobid","jobie","jobina","jobj","jobject","jobless","joblessness","jobname","jobrel","jobs","jobtitle","joby","jobye","jobyna","jocasta","jocelin","joceline","jocelyn","jocelyne","jock","jockey","jocko","jockstrap","jocose","jocoseness","jocosity","jocular","jocularity","jocund","jocundity","joda","jodee","jodhpurs","jodi","jodie","jody","joe","joeann","joel","joela","joelie","joell","joella","joelle","joellen","joelly","joellyn","joelynn","joesph","joete","joey","jog","jogged","jogger","jogging","joggle","joggler","jogjakarta","johan","johann","johanna","johannah","johannes","johannesburg","johansen","johanson","john","johna","johnath","johnathan","johnathon","johnette","johnie","johnna","johnnie","johnny","johnnycake","johns","johnsen","johnson","johnston","johnstown","johny","joice","join","joincolumn","joincolumns","joined","joiner","joinery","joining","joins","joint","jointable","jointed","jointedness","jointer","jointly","jointures","joist","jojo","joke","joker","jokes","jokey","jokier","jokiest","jokily","joking","jolee","joleen","jolene","joletta","joli","jolie","joliet","joline","jolla","jollification","jollily","jolliness","jollity","jolly","jolson","jolt","jolter","joly","jolyn","jolynn","jon","jonah","jonahs","jonas","jonathan","jonathon","jone","jonell","jones","joni","jonie","jonquil","jonson","joomla","jooq","joplin","joptionpane","jordain","jordan","jordana","jordanian","jordanna","jordon","jorey","jorgan","jorge","jorgensen","jorgenson","jori","jorie","jorrie","jorry","jory","joscelin","jose","josee","josef","josefa","josefina","joseito","joseph","josepha","josephina","josephine","josephs","josephson","josephus","josey","josh","josher","joshia","joshua","joshuah","josi","josiah","josias","josie","joss","josselyn","jostle","josue","josy","jot","jotted","jotter","jotting","joule","jounce","jouncy","jourdain","jourdan","journal","journalese","journalism","journalist","journalistic","journalize","journalized","journalizer","journey","journeyer","journeyman","journeymen","joust","jouster","jovanovich","jove","jovial","joviality","jovian","jowl","jowly","joy","joya","joyan","joyann","joyce","joycean","joycelin","joye","joyful","joyfuller","joyfullest","joyfulness","joyless","joylessness","joyner","joyous","joyousness","joyridden","joyride","joyrode","joystick","jozef","jp","jpa","jpanel","jpeg","jpg","jpn","jq","jqgrid","jqm","jqplot","jquery","jquerymobile","jqueryui","jqxhr","jr","jradiobutton","jre","jruby","js","jsandye","jsbin","jsch","jscript","jscrollpane","jsessionid","jsf","jsfiddle","jshint","json","jsonarray","jsonb","jsonconvert","jsondata","jsonexception","jsonobj","jsonobject","jsonobjectwithdata","jsonp","jsonparser","jsonpath","jsonproperty","jsonreader","jsonrequestbehavior","jsonresponse","jsonresult","jsonserializer","jsonstr","jsonstring","jsoup","jsp","jspservlet","jsr","jsref","jstl","jstree","jsx","jt","jta","jtable","jtc","jtextarea","jtextfield","juan","juana","juanita","juarez","jubal","jubilant","jubilate","jubilation","jubilee","jud","judah","judaic","judaical","judaism","judas","judd","juddered","juddering","jude","judea","judge","judgement","judger","judgeship","judging","judgment","judgmental","judi","judicable","judicatory","judicature","judicial","judiciary","judicious","judiciousness","judie","judith","juditha","judo","judon","judson","judy","judye","jug","jugate","jugful","jugged","juggernaut","jugging","juggle","juggler","jugglery","jugular","juice","juicer","juicily","juiciness","juicy","juieta","jujitsu","juju","jujube","jujutsu","juke","jukebox","jul","jule","julee","julep","juli","julia","julian","juliana","juliane","juliann","julianna","julianne","julie","julienne","juliet","julieta","julietta","juliette","julina","juline","julio","julissa","julita","julius","july","julys","jumble","jumbo","jumbotron","jump","jumped","jumper","jumpily","jumpiness","jumping","jumps","jumpsuit","jumpy","jun","junco","junction","juncture","june","juneau","junette","jung","jungfrau","jungian","jungle","junia","junie","junina","junior","juniority","juniper","junit","junk","junker","junkerdom","junket","junketeer","junkie","junkyard","juno","junta","jupiter","jupyter","jurassic","juridic","juridical","juried","jurisdiction","jurisdictional","jurisprudence","jurisprudent","jurisprudential","jurist","juristic","juror","jurua","jury","jurying","juryman","jurymen","jurywoman","jurywomen","just","justed","justen","juster","justest","justice","justiciable","justifiability","justifiable","justifiably","justification","justified","justifier","justify","justin","justina","justine","justing","justinian","justinn","justino","justis","justness","justo","justs","justus","jut","jute","jutish","jutland","jutted","jutting","juvenal","juvenile","juxtapose","juxtaposition","jv","jvm","jvms","jw","jwt","jyoti","jython","k","ka","kaaba","kabob","kaboom","kabuki","kabul","kacey","kacie","kacy","kaddish","kaela","kaffeeklatch","kaffeeklatsch","kafka","kafkaesque","kaftan","kagoshima","kahaleel","kahlil","kahlua","kahn","kai","kaia","kaifeng","kaila","kaile","kailey","kain","kaine","kaiser","kaitlin","kaitlyn","kaitlynn","kaja","kajar","kakalina","kala","kalahari","kalamazoo","kalashnikov","kalb","kale","kaleb","kaleena","kaleidescope","kaleidoscope","kaleidoscopic","kaleidoscopically","kalgoorlie","kali","kalie","kalil","kalila","kalina","kalinda","kalindi","kalle","kalli","kally","kalmyk","kalvin","kama","kamchatka","kamehameha","kameko","kamikaze","kamila","kamilah","kamillah","kampala","kampuchea","kan","kanchenjunga","kandace","kandahar","kandinsky","kandy","kane","kangaroo","kania","kankakee","kannada","kano","kanpur","kansan","kansas","kant","kantian","kanya","kaohsiung","kaolin","kaolinite","kaplan","kapok","kaposi","kappa","kaput","kara","karachi","karaf","karaganda","karakorum","karakul","karalee","karalynn","karamazov","karaoke","karat","karate","kare","karee","kareem","karel","karen","karena","karenina","kari","karia","karie","karil","karilynn","karim","karin","karina","karine","kariotta","karisa","karissa","karita","karl","karla","karlan","karlee","karleen","karlen","karlene","karlie","karlik","karlis","karloff","karlotta","karlotte","karly","karlyn","karma","karmen","karmic","karna","karney","karo","karol","karola","karole","karolina","karoline","karoly","karon","karp","karrah","karrie","karroo","karry","kart","kary","karyl","karylin","karyn","kasai","kasey","kashmir","kaspar","kasparov","kasper","kass","kassandra","kassey","kassi","kassia","kassie","kat","kata","katakana","katalin","kate","katee","katelyn","katerina","katerine","katey","kath","katha","katharina","katharine","katharyn","kathe","katherina","katherine","katheryn","kathi","kathiawar","kathie","kathleen","kathlin","kathmandu","kathrine","kathryn","kathryne","kathy","kathye","kati","katie","katina","katine","katinka","katleen","katlin","katmai","katmandu","katowice","katrina","katrine","katrinka","katti","kattie","katuscha","katusha","katy","katya","katydid","katz","kauai","kauffman","kaufman","kaunas","kaunda","kawabata","kawasaki","kay","kayak","kaycee","kaye","kayla","kayle","kaylee","kayley","kaylil","kaylyn","kayne","kayo","kazakh","kazakhstan","kazan","kazantzakis","kazoo","kb","kbd","kc","kcal","kd","kde","ke","kean","keane","kearney","keary","keaton","keats","kebab","keck","keefe","keefer","keegan","keel","keelby","keeley","keelhaul","keelia","keely","keen","keenan","keene","keener","keening","keenness","keep","keepalive","keeper","keeping","keeps","keepsake","keewatin","keg","kegged","kegging","keillor","keir","keisha","keith","kelbee","kelby","kelcey","kelci","kelcie","kelcy","kele","kelila","kellby","kellen","keller","kelley","kelli","kellia","kellie","kellina","kellogg","kellsie","kelly","kellyann","kelp","kelsey","kelsi","kelsy","kelt","kelvin","kelwin","kemerovo","kemp","kempis","ken","kendal","kendall","kendell","kendo","kendra","kendre","kendrick","kenilworth","kenmore","kenn","kenna","kennan","kennecott","kenned","kennedy","kennel","kenneth","kennett","kennie","kenning","kennith","kenny","keno","kenon","kenosha","kensington","kent","kenton","kentuckian","kentucky","kenya","kenyan","kenyatta","kenyon","keogh","keokuk","kepi","kepler","kept","ker","keras","keratin","kerberos","kerbside","kerby","kerchief","kerensky","keri","keriann","kerianne","kerk","kermie","kermit","kermy","kern","kerned","kernel","kernels","kerning","kerosene","kerouac","kerr","kerri","kerrie","kerrill","kerrin","kerry","kerstin","kerwin","kerwinn","kesley","keslie","kessia","kessiah","kessler","kestrel","ketch","ketchup","ketone","ketosis","kettering","ketti","kettie","kettle","kettledrum","kettleful","ketty","kev","kevan","keven","kevin","kevina","kevlar","kevon","kevorkian","kevyn","kewaskum","kewaunee","kewpie","key","keyboard","keyboardist","keyboards","keychain","keyclick","keycloak","keycode","keydown","keyed","keyerror","keyevent","keyframes","keyhole","keyname","keynes","keynesian","keynote","keynoter","keypad","keypair","keypath","keypoints","keypress","keypressed","keypunch","keypuncher","keyring","keys","keyset","keyspace","keystone","keystore","keystroke","keystrokes","keytime","keytool","keyup","keyvalue","keyvaluepair","keyword","keywords","kf","kg","kgb","kh","khabarovsk","khachaturian","khaki","khalid","khalil","khan","kharkov","khartoum","khayyam","khmer","khoisan","khomeini","khorana","khrushchev","khtml","khufu","khulna","khwarizmi","khyber","khz","ki","kia","kiah","kial","kib","kibana","kibble","kibbutz","kibbutzim","kibitz","kibitzer","kibosh","kick","kickapoo","kickback","kickball","kicker","kickoff","kicks","kickstand","kickstarter","kicky","kid","kidd","kidded","kidder","kiddie","kidding","kiddish","kiddo","kiddy","kiddying","kidless","kidnap","kidnaper","kidnaping","kidnapped","kidnapper","kidnapping","kidney","kids","kidskin","kieffer","kiel","kielbasa","kielbasi","kiele","kienan","kier","kierkegaard","kiersten","kieth","kiev","kigali","kikelia","kikuyu","kilauea","kile","kiley","kilian","kilimanjaro","kill","killdeer","killebrew","killed","killer","killian","killie","killing","killjoy","kills","killy","kiln","kilo","kilobaud","kilobit","kilobuck","kilobyte","kilocycle","kilogauss","kilogram","kilohertz","kilohm","kilojoule","kiloliter","kilometer","kiloton","kilovolt","kilowatt","kiloword","kilt","kilter","kim","kimball","kimbell","kimberlee","kimberley","kimberli","kimberly","kimberlyn","kimble","kimbra","kimmi","kimmie","kimmy","kimono","kin","kincaid","kind","kinda","kinder","kindergarten","kindergrtner","kindhearted","kindheartedness","kindle","kindler","kindliness","kindling","kindly","kindness","kindred","kinds","kine","kinect","kinematic","kinematics","kinesics","kinesthesis","kinesthetic","kinesthetically","kinetic","kinetically","kinetics","kinfolk","king","kingbird","kingdom","kingfisher","kinglet","kingliness","kingly","kingpin","kingsbury","kingship","kingsley","kingsly","kingston","kingstown","kingwood","kink","kinkily","kinkiness","kinky","kinna","kinney","kinnickinnic","kinnie","kinny","kinsey","kinsfolk","kinshasa","kinshasha","kinship","kinsley","kinsman","kinsmen","kinswoman","kinswomen","kiosk","kiowa","kip","kipling","kipp","kippar","kipped","kipper","kippie","kipping","kippy","kira","kirbee","kirbie","kirby","kirchhoff","kirchner","kirchoff","kirghistan","kirghiz","kirghizia","kiri","kiribati","kirinyaga","kirk","kirkland","kirkpatrick","kirkwood","kirov","kirsch","kirsten","kirsteni","kirsti","kirstin","kirstyn","kisangani","kishinev","kismet","kiss","kissee","kisser","kissiah","kissie","kissinger","kit","kitakyushu","kitbag","kitchen","kitchener","kitchenette","kitchenware","kite","kiter","kith","kiths","kitkat","kits","kitsch","kitschy","kitted","kitten","kittenish","kittenishness","kitti","kittie","kitting","kittiwakes","kitty","kivy","kiwanis","kiwi","kiwifruit","kizzee","kizzie","kk","kkk","kl","klan","klansman","klara","klarika","klarrisa","klass","klaus","klaxon","klee","kleenex","klein","kleinrock","klemens","klement","kleon","kleptomania","kleptomaniac","kliment","kline","klingon","klondike","kludge","kludger","kludgey","klutz","klutziness","klutzy","klux","klystron","km","kmeans","kml","kn","knack","knacker","knackwurst","knapp","knapsack","knauer","knave","knavery","knavish","knead","kneader","knee","kneecap","kneecapped","kneecapping","kneeing","kneel","kneeler","kneepad","knell","knelt","knesset","knew","kngwarreye","knick","knickerbocker","knickknack","knievel","knife","knight","knighthood","knightliness","knightly","knish","knit","knitr","knits","knitted","knitter","knitting","knitwear","knives","knob","knobbly","knobby","knobeloch","knock","knockabout","knockdown","knocker","knockoff","knockout","knockoutjs","knockwurst","knoll","knopf","knossos","knot","knothole","knotted","knottiness","knotting","knotty","know","knowable","knower","knowhow","knowing","knowingly","knowings","knowledge","knowledgeable","knowledgeableness","knowledgeably","knowledgecenter","knowles","known","knows","knox","knoxville","knuckle","knuckleball","knuckleduster","knucklehead","knudsen","knudson","knurl","knuth","knutsen","knutson","ko","koala","kobayashi","kobe","koch","kochab","kodak","kodaly","kodiak","koenig","koenigsberg","koenraad","koestler","kohinoor","kohl","kohler","kohlrabi","kohlrabies","kola","kolyma","kommunizma","kong","kongo","konrad","konstance","konstantin","konstantine","konstanze","koo","kook","kookaburra","kookiness","kooky","koontz","kopeck","koppers","kora","koral","koralle","koran","koranic","kordula","kore","korea","korean","korella","koren","koressa","korey","kori","korie","kornberg","korney","korrie","korry","kort","kory","korzybski","kosciusko","kosher","kossuth","kosygin","kotlin","kovacs","kowalewski","kowalski","kowloon","kowtow","kp","kph","kr","kraal","kraemer","kraft","krakatau","krakatoa","krakow","kramer","krasnodar","krasnoyarsk","krause","kraut","krebs","kremlin","kremlinologist","kremlinology","kresge","krieger","kriegspiel","krill","kringle","kris","krisha","krishna","krishnah","krispin","krissie","krissy","krista","kristal","kristan","kriste","kristel","kristen","kristi","kristian","kristie","kristien","kristin","kristina","kristine","kristo","kristofer","kristoffer","kristofor","kristoforo","kristopher","kristy","kristyn","krna","krnur","kroc","kroger","krone","kronecker","kronor","kropotkin","krueger","kruger","krugerrand","krupp","kruse","krypton","krysta","krystal","krystalle","krystle","krystyna","ks","ksh","kt","ku","kube","kubectl","kubelet","kubernetes","kublai","kubrick","kuchen","kudos","kudzu","kuenning","kuhn","kuibyshev","kumar","kumquat","kunming","kuomintang","kurd","kurdish","kurdistan","kurosawa","kurt","kurtis","kurtosis","kusch","kuwait","kuwaiti","kuznets","kuznetsk","kv","kvetch","kvp","kw","kwakiutl","kwangchow","kwangju","kwanzaa","kwargs","kwh","kx","ky","kyla","kyle","kylen","kylie","kylila","kylynn","kym","kynthia","kyoto","kyrgyzstan","kyrstin","kyushu","l","la","lab","laban","label","labeled","labeler","labelfor","labelled","labelledby","labellings","labels","labia","labial","labile","labiodental","labium","labor","laboratory","labore","labored","laboredness","laborer","laboring","laborings","laborious","laboriousness","laboris","laborsaving","laborum","labrador","labradorean","labs","laburnum","labyrinth","labyrinthine","labyrinths","lac","lace","laced","lacee","lacer","lacerate","laceration","laces","lacewing","lacey","lachesis","lachrymal","lachrymose","lacie","lacing","lacinia","lack","lackadaisic","lackadaisical","lackawanna","lacker","lackey","lacking","lackluster","lacks","laconic","laconically","lacquer","lacquerer","lacrosse","lactate","lactation","lactational","lacteal","lactic","lactose","lacuna","lacunae","lacus","lacy","lad","ladder","laddie","lade","laded","laden","ladened","ladening","lading","ladle","ladoga","ladonna","lady","ladybird","ladybug","ladyfinger","ladylike","ladylove","ladyship","laetitia","laetrile","lafayette","lafitte","lag","lager","laggard","laggardness","lagged","lagging","lagniappe","lagoon","lagos","lagrange","lagrangian","laguerre","laguna","lahore","laid","laidlaw","lain","laina","lainey","lair","laird","laissez","laity","laius","lake","lakehurst","lakeisha","laker","lakeside","lakewood","lakisha","lakshmi","lallygag","lallygagged","lallygagging","lalo","lam","lama","lamaism","lamar","lamarck","lamasery","lamaze","lamb","lambada","lambaste","lambda","lambdas","lambency","lambent","lambert","lambkin","lamborghini","lambskin","lambswool","lame","lamebrain","lamed","lameness","lament","lamentable","lamentableness","lamentably","lamentation","lamented","lamina","laminae","laminar","laminate","lamination","lammed","lammer","lamming","lammond","lamond","lamont","lamp","lampblack","lamplight","lamplighter","lampoon","lampooner","lamport","lamppost","lamprey","lampshade","lan","lana","lanae","lanai","lancashire","lancaster","lance","lancelot","lancer","lancet","land","landau","lander","landfall","landfill","landforms","landhold","landholder","landing","landis","landlady","landless","landlines","landlocked","landlord","landlubber","landmark","landmass","landon","landowner","landownership","landowning","landry","lands","landsat","landscape","landscaper","landslid","landslide","landslip","landsman","landsmen","landsteiner","landward","landwehr","lane","lanette","laney","lang","lange","langeland","langerhans","langford","langland","langley","langmuir","langsdon","langston","language","languages","languid","languidness","languish","languisher","languishing","languor","languorous","lani","lanie","lanita","lank","lankiness","lankness","lanky","lanna","lanni","lannie","lanny","lanolin","lansing","lantern","lanthanide","lanthanum","lanyard","lanzhou","lao","laocoon","laoreet","laotian","lap","lapack","lapboard","lapdog","lapel","lapidary","lapin","laplace","lapland","lapp","lapped","lappet","lapping","lapply","laps","lapse","lapsed","lapser","lapses","lapsing","laptop","laptops","lapwing","lara","laraine","laramie","laravel","larboard","larcenist","larcenous","larceny","larch","lard","larder","lardner","lardy","laredo","large","largehearted","largely","largemouth","largeness","larger","largess","largest","largish","largo","lari","lariat","larina","larine","larisa","larissa","lark","larker","larkspur","larousse","larry","lars","larsen","larson","larva","larvae","larval","laryngeal","larynges","laryngitides","laryngitis","larynx","laryssa","las","lasagna","lasagne","lascaux","lascivious","lasciviousness","lase","laser","lash","lashed","lasher","lashing","lass","lassa","lassen","lassie","lassitude","lasso","lassoer","last","laster","lastindex","lastindexof","lasting","lastingness","lastly","lastmodified","lastname","lastrow","laszlo","lat","latasha","latashia","latch","latching","latchkey","late","latecomer","lated","lately","latency","lateness","latent","later","lateral","lateralization","lateran","latest","latex","lath","lathe","lather","latherer","lathery","lathing","lathrop","laths","latia","latices","latin","latina","latinate","latino","latish","latisha","latitude","latitudinal","latitudinarian","latitudinary","latlng","latonya","latoya","latrena","latrina","latrine","latrobe","latte","latter","lattice","latticework","latticing","lattimer","latvia","latvian","laud","laudably","laudanum","laudatory","lauder","lauderdale","lauds","laue","laugh","laughable","laughableness","laughably","laugher","laughing","laughingstock","laughs","laughter","laughton","launce","launch","launched","launcher","launches","launching","launchoptions","launchpad","launder","laundered","launderer","launderette","laundress","laundrette","laundromat","laundry","laundryman","laundrymen","laundrywoman","laundrywomen","laura","lauraine","laural","lauralee","laurasia","laure","laureate","laureateship","lauree","laureen","laurel","laurella","lauren","laurena","laurence","laurene","laurent","laurentian","lauretta","laurette","lauri","laurianne","laurice","laurie","lauritz","lauryn","lausanne","lava","lavage","laval","lavaliere","lavatory","lave","lavena","lavender","lavern","laverna","laverne","lavina","lavinia","lavinie","lavish","lavishness","lavoisier","lavonne","law","lawanda","lawbreaker","lawbreaking","lawford","lawful","lawfulness","lawgiver","lawgiving","lawless","lawlessness","lawmaker","lawmaking","lawman","lawmen","lawn","lawnmower","lawrence","lawrenceville","lawrencium","lawry","laws","lawson","lawsuit","lawton","lawyer","lawyers","lax","laxative","laxativeness","laxer","laxes","laxity","laxness","lay","layabout","layamon","layaway","layer","layered","layering","layers","layette","layla","layman","laymen","layne","layney","layoff","layout","layoutinflater","layoutmanager","layoutparams","layouts","layoutsubviews","layover","laypeople","layperson","lays","layton","layup","laywoman","laywomen","lazar","lazare","lazaro","lazarus","laze","lazily","laziness","lazuli","lazy","lazybones","lb","lbj","lbl","lbound","lbs","lc","lcd","lcm","lcom","ld","lda","ldap","ldc","ldflags","ldr","le","lea","leach","leachate","lead","leadbelly","leaded","leaden","leadenness","leader","leaderboard","leaderless","leaders","leadership","leading","leads","leadsman","leadsmen","leaf","leafage","leafhopper","leafiness","leafless","leaflet","leafstalk","leafy","league","leaguer","leah","leak","leakage","leaked","leaker","leakey","leakiness","leaking","leaks","leaky","lean","leander","leandra","leaner","leaning","leann","leanna","leanne","leanness","leanor","leanora","leap","leaper","leapfrog","leapfrogged","leapfrogging","lear","learn","learned","learnedly","learnedness","learner","learning","learns","learnt","leary","leas","lease","leaseback","leasehold","leaseholder","leaser","leash","leasing","least","leastwise","leather","leatherette","leathern","leatherneck","leathery","leave","leaven","leavened","leavening","leavenworth","leaver","leaves","leaving","lebanese","lebanon","lebbie","lebensraum","lebesgue","leblanc","lecher","lecherous","lecherousness","lechery","lecithin","lectern","lecture","lecturer","lectures","lectureship","lectus","led","leda","lederberg","ledge","ledger","lee","leeann","leeanne","leech","leeds","leek","leela","leelah","leeland","leena","leer","leeriness","leering","leery","leesa","leese","leeuwenhoek","leeward","leeway","left","leftism","leftist","leftmost","leftover","leftward","lefty","leg","legacy","legal","legalese","legalism","legalistic","legality","legalization","legalize","legalized","legally","legate","legatee","legation","legato","legend","legendarily","legendary","legendre","leger","legerdemain","legged","legginess","legging","leggy","leghorn","legibility","legible","legibly","legion","legionary","legionnaire","legislate","legislation","legislative","legislator","legislature","legit","legitimacy","legitimate","legitimation","legitimatize","legitimization","legitimize","legless","legman","legmen","lego","legra","legree","legroom","legs","legstraps","legume","leguminous","legwork","lehigh","lehman","lei","leia","leibniz","leicester","leiden","leif","leigh","leigha","leighton","leila","leilah","leipzig","leisha","leisure","leisureliness","leisurely","leisurewear","leitmotif","leitmotiv","lek","lela","lelah","leland","lelia","lem","lemaitre","lemar","lemke","lemma","lemme","lemmie","lemming","lemmy","lemon","lemonade","lemony","lemuel","lemur","lemuria","len","lena","lenard","lenci","lend","lender","lenee","lenette","lenght","length","lengthen","lengthener","lengthily","lengthiness","lengths","lengthwise","lengthy","lenience","leniency","lenient","lenin","leningrad","leninism","leninist","lenitive","lenka","lenna","lennard","lennie","lennon","lenny","leno","lenoir","lenora","lenore","lenovo","lens","lent","lenticular","lentil","lento","leo","leodora","leoine","leola","leoline","leon","leona","leonanie","leonard","leonardo","leoncavallo","leone","leonel","leonelle","leonerd","leonhard","leonid","leonidas","leonie","leonine","leonor","leonora","leonore","leontine","leontyne","leopard","leopardess","leopardskin","leopold","leopoldo","leopoldville","leora","leotard","leper","lepidus","lepke","leprechaun","leprosy","leprous","lepta","lepton","lepus","lerner","leroi","leroy","les","lesa","lesbian","lesbianism","leshia","lesion","lesley","lesli","leslie","lesly","lesotho","less","lessee","lessen","lesseps","lesser","lesses","lessie","lessing","lesson","lessons","lessor","lest","lester","lesya","let","leta","letdown","letha","lethal","lethality","lethargic","lethargically","lethargy","lethe","lethia","leticia","letisha","letitia","letizia","lets","letsencrypt","letta","letter","letterbox","lettered","letterer","letterhead","lettering","letterman","lettermen","letterpress","letters","letti","lettie","letting","lettuce","letty","letup","leukemia","leukemic","leukocyte","leupold","lev","levant","levee","leveeing","level","leveled","leveler","levelheaded","levelheadedness","leveling","levelness","levels","levenshtein","lever","leverage","levesque","levey","levi","leviathan","levier","levin","levine","levitate","levitation","leviticus","levitt","levity","levon","levy","lew","lewd","lewdness","lewellyn","lewes","lewie","lewinsky","lewis","lewiss","lex","lexeme","lexer","lexi","lexical","lexicographer","lexicographic","lexicographical","lexicography","lexicon","lexie","lexine","lexington","lexus","lexy","leyden","leyla","lezley","lezlie","lf","lfs","lft","lg","lh","lhasa","lhotse","lhs","li","lia","liability","liable","liaise","liaison","liam","lian","liana","liane","lianna","lianne","liar","lib","libation","libbed","libbey","libbi","libbie","libbing","libboost","libby","libc","libcore","libcurl","libdispatch","libel","libeler","libelous","liberace","liberal","liberalism","liberality","liberalization","liberalize","liberalized","liberalizer","liberalness","liberate","liberation","liberationists","liberator","liberia","liberian","libero","libertarian","libertarianism","libertine","liberty","libexec","libgcc","libgdx","libidinal","libidinous","libidinousness","libido","libopencv","libpng","libra","librarian","libraries","library","libretoes","libretos","librettist","libretto","libreville","librium","libs","libstdc","libsystem","libusb","libx","libxml","libya","libyan","lice","licence","license","licensed","licensee","licenser","licenses","licensing","licensor","licentiate","licentious","licentiousness","licha","lichee","lichen","lichtenstein","lichter","licit","lick","licked","licker","lickerish","licking","licorice","lid","lida","lidded","lidding","lidia","lidless","lido","lie","lieberman","liebfraumilch","liechtenstein","lied","lief","liefs","liege","lien","lier","lies","liesa","lieu","lieut","lieutenancy","lieutenant","life","lifeblood","lifeboat","lifebuoy","lifecycle","lifecyclebase","lifeforms","lifeguard","lifeless","lifelessness","lifelike","lifelikeness","lifeline","lifelong","lifer","liferay","lifesaver","lifesaving","lifespan","lifestyle","lifetaking","lifetime","lifework","lifo","lift","lifter","lifting","liftoff","ligament","ligand","ligate","ligation","ligature","light","lightblue","lightbox","lighted","lighten","lightener","lightening","lighter","lightered","lightering","lighters","lightest","lightface","lightgray","lightheaded","lighthearted","lightheartedness","lighthouse","lighting","lightly","lightness","lightning","lightproof","lights","lightship","lightweight","ligneous","lignite","lignum","ligula","likability","likable","likableness","like","likeability","liked","likelihood","likely","liken","likeness","liker","likes","likest","likewise","liking","lil","lila","lilac","lilah","lilia","lilian","liliana","liliane","lilith","liliuokalani","lilla","lille","lilli","lillian","lillie","lilliput","lilliputian","lilllie","lilly","lilongwe","lilt","lilting","lily","lilyan","lim","lima","limb","limbaugh","limber","limbered","limberness","limbers","limbic","limbless","limbo","limburger","lime","limeade","limekiln","limelight","limerick","limestone","limit","limitability","limitably","limitation","limitations","limited","limitedly","limitedness","limiter","limiting","limitless","limitlessness","limits","limn","limo","limoges","limousine","limp","limper","limpet","limpid","limpidity","limpidness","limpness","limpopo","limy","lin","lina","linage","linalg","linc","linchpin","lincoln","lind","linda","lindberg","lindbergh","linden","lindholm","lindi","lindie","lindon","lindquist","lindsay","lindsey","lindstrom","lindsy","lindy","line","linea","lineage","lineal","lineament","linear","lineargradientbrush","linearity","linearize","linearlayout","linearlayoutmanager","linebacker","linechart","linecolor","lined","linefeed","linell","lineman","linemen","linen","lineno","linenumber","liner","lines","linesman","linesmen","linestyle","linet","lineto","linette","lineup","linewidth","ling","linger","lingerer","lingerie","lingering","lingo","lingoes","lingua","lingual","linguine","linguini","linguist","linguistic","linguistically","linguistics","liniment","lining","link","linkable","linkage","linkbutton","linked","linkedhashmap","linkedin","linkedlist","linker","linkid","linking","links","linkup","linn","linnaeus","linnea","linnell","linnet","linnie","lino","linode","linoel","linoleum","linotype","linq","linseed","linspace","lint","lintel","linter","linton","linty","linus","linux","linwood","linzy","lion","lionel","lionello","lioness","lionhearted","lionization","lionize","lionizer","lip","lipase","lipid","liposuction","lipped","lipper","lippi","lipping","lippmann","lippy","lipread","lipschitz","lipscomb","lipstick","lipton","liq","liquefaction","liquefier","liquefy","liqueur","liquibase","liquid","liquidate","liquidation","liquidator","liquidity","liquidize","liquidizer","liquidness","liquor","liquorice","liquorish","lira","lire","lis","lisa","lisabeth","lisbeth","lisbon","lise","lisetta","lisette","lisha","lishe","lisle","lisp","lisper","liss","lissa","lissajous","lissi","lissie","lissome","lissomeness","lissomness","lissy","list","lista","listactivity","listadapter","listb","listbox","listboxitem","listdata","listdir","liste","listed","listen","listener","listeners","listening","listens","lister","listerine","listfiles","listfragment","listid","listing","listings","listitem","listitems","listless","listlessness","listnode","liston","lists","listview","listviewitem","liszt","lit","lita","litany","litchi","lite","liter","literacy","literal","literalism","literalistic","literally","literalness","literals","literariness","literary","literate","literati","literation","literature","lithe","litheness","lithesome","lithium","lithograph","lithographer","lithographic","lithographically","lithographs","lithography","lithology","lithosphere","lithospheric","lithuania","lithuanian","litigant","litigate","litigation","litigator","litigious","litigiousness","litmus","litotes","litter","litterbug","little","littleneck","littleness","littleton","litton","littoral","littrateur","liturgic","liturgical","liturgics","liturgist","liturgy","liuka","liv","liva","livability","livable","livableness","livably","live","lived","livedata","livelihood","liveliness","livelong","lively","liven","liveness","liver","liveried","liverish","livermore","liverpool","liverpudlian","liverwort","liverwurst","livery","liveryman","liverymen","lives","livestock","livia","livid","lividness","living","livingness","livingston","livingstone","livonia","livvie","livvy","livvyy","livy","liz","liza","lizabeth","lizard","lizbeth","lizette","lizzie","lizzy","ljava","ljubljana","lk","ll","llama","llano","llb","llc","lld","lldb","llewellyn","lloyd","llvm","llywellyn","lm","ln","lname","lng","lnk","lo","load","loadable","loadclass","loaddata","loaded","loader","loaders","loadfile","loadhtml","loadimage","loading","loadlibrary","loadmodule","loads","loadstar","loadstone","loadurl","loadxml","loaf","loafer","loam","loamy","loan","loaner","loaning","loans","loansharking","loanword","loath","loathe","loather","loathing","loathness","loathsome","loathsomeness","loaves","lob","lobachevsky","lobar","lobbed","lobber","lobbing","lobby","lobbyist","lobe","lobortis","lobotomist","lobotomize","lobotomy","lobster","lobular","lobularity","lobule","loc","local","localcontainerentitymanagerfactorybean","localdate","localdatetime","localdb","locale","locales","localhost","localisms","locality","localization","localize","localized","localizeddescription","localizer","localizes","locally","localname","locals","localstorage","localtime","locatable","locate","located","locater","locating","location","locational","locationid","locationlistener","locationmanager","locationprovider","locationrequest","locations","locative","locator","loch","lochinvar","lochs","loci","lock","lockable","locke","lockean","locked","locker","locket","lockhart","lockheed","lockian","locking","lockjaw","locknut","lockout","locks","locksmith","locksmithing","locksmiths","lockstep","lockup","lockwood","loco","locomotion","locomotive","locomotor","locomotory","locoweed","locus","locust","locution","lodash","lode","lodestar","lodestone","lodge","lodged","lodgepole","lodger","lodges","lodging","lodgment","lodovico","lodowick","lodz","loeb","loella","loewe","loewi","loft","lofter","loftily","loftiness","lofty","log","logan","loganberry","logarithm","logarithmic","logarithmically","logback","logbook","logcat","loge","logfile","logged","loggedin","logger","loggerfactory","loggerhead","loggers","loggia","logging","logic","logical","logicality","logically","logicalness","logician","login","loginactivity","loginbutton","logincontroller","loginform","loginpage","logins","loginurl","loginview","logion","logistic","logistical","logits","logjam","loglevel","logmanager","logo","logon","logos","logotype","logout","logrolling","logs","logstash","logy","lohengrin","loin","loincloth","loincloths","loire","lois","loise","loiter","loiterer","loki","lol","lola","loleta","lolita","loll","loller","lollipop","lolly","lomb","lombard","lombardi","lombardy","lombok","lome","lon","lona","london","londonderry","londoner","lone","lonee","loneliness","lonely","loneness","loner","lonesome","lonesomeness","long","longboat","longbow","longed","longeing","longer","longest","longevity","longfellow","longhair","longhand","longhorn","longing","longish","longitude","longitudinal","longness","longs","longshoreman","longshoremen","longsighted","longstanding","longstreet","longsword","longterm","longtime","longueuil","longueur","longways","longword","loni","lonna","lonnard","lonni","lonnie","lonny","loofah","loofahs","look","lookahead","lookalike","lookat","lookbehind","looked","looker","looking","lookout","looks","lookup","lookups","loom","looming","loomis","loon","loony","loop","loopback","looped","looper","loophole","looping","loops","loopy","loose","loosed","looseleaf","loosely","loosen","loosener","looseness","looses","loosing","loot","looter","lop","lope","loper","lopez","lopped","lopper","lopping","lopsided","lopsidedness","loquacious","loquaciousness","loquacity","lora","lorain","loraine","loralee","loralie","loralyn","lorant","lord","lording","lordliness","lordly","lordship","lore","loree","loreen","lorelei","lorelle","lorem","lorempixel","loren","lorena","lorene","lorentz","lorentzian","lorenz","lorenza","lorenzo","loretta","lorette","lorgnette","lori","loria","lorianna","lorianne","lorie","lorilee","lorilyn","lorin","lorinda","lorine","loris","lorita","lorn","lorna","lorne","lorraine","lorrayne","lorre","lorri","lorrie","lorrin","lorry","lorryload","lory","los","lose","loser","loses","losing","loss","lossage","losses","lossless","lossy","lost","lot","lothaire","lothario","lotion","lots","lott","lotta","lotte","lotted","lotter","lottery","lotti","lottie","lotting","lotto","lotty","lotus","lou","loud","louden","loudhailer","loudly","loudmouth","loudmouths","loudness","loudspeaker","loudspeaking","louella","louie","louis","louisa","louise","louisette","louisiana","louisianan","louisianian","louisville","lounge","lounger","lour","lourdes","louse","lousewort","lousily","lousiness","lousy","lout","loutish","loutishness","loutitia","louver","louvre","lovable","lovableness","lovably","love","lovebird","lovechild","lovecraft","loved","lovejoy","lovelace","loveland","loveless","lovelessness","lovelies","loveliness","lovelinesses","lovell","lovelorn","lovelornness","lovely","lovemaking","lover","lovesick","lovestruck","loving","lovingly","lovingness","low","lowborn","lowboy","lowbrow","lowdown","lowe","lowell","lower","lowercase","lowermost","lowery","lowest","lowish","lowland","lowlands","lowlife","lowlight","lowliness","lowly","lowness","lowrance","lox","loy","loyal","loyaler","loyalest","loyalism","loyalist","loyalty","loyang","loyd","loydie","loyola","lozenge","lp","lparam","lpg","lpn","lq","lr","lrow","ls","lsb","lsd","lst","lstm","lt","ltd","lte","ltr","ltrim","lts","lu","lua","luanda","luann","luau","lubber","lubbock","lube","lubricant","lubricate","lubrication","lubricator","lubricious","lubricity","lubumbashi","luca","lucais","luce","lucene","lucent","lucerne","lucho","luci","lucia","lucian","luciana","luciano","lucid","lucidity","lucidness","lucie","lucien","lucienne","lucifer","lucila","lucile","lucilia","lucille","lucina","lucinda","lucine","lucio","lucita","lucite","lucius","luck","luckier","luckily","luckiness","luckless","lucknow","lucky","lucrative","lucrativeness","lucre","lucretia","lucretius","luctus","lucubrate","lucubration","lucy","luddite","ludhiana","ludicrous","ludicrousness","ludlow","ludmilla","ludo","ludovico","ludovika","ludvig","ludwig","luella","luelle","luff","lufthansa","luftwaffe","lug","luge","luger","luggage","lugged","lugger","lugging","lugosi","lugsail","lugubrious","lugubriousness","luigi","luis","luisa","luise","lukas","luke","lukewarm","lukewarmness","lula","lulita","lull","lullaby","lulu","lumbago","lumbar","lumber","lumberer","lumbering","lumberjack","lumberman","lumbermen","lumberyard","lumen","luminance","luminary","luminescence","luminescent","luminosity","luminous","luminousness","lumire","lummox","lump","lumper","lumpiness","lumpish","lumpishness","lumpy","luna","lunacy","lunar","lunary","lunate","lunatic","lunation","lunch","luncheon","luncheonette","luncher","lunchpack","lunchroom","lunchtime","lund","lundberg","lundquist","lune","lung","lunge","lunger","lungfish","lungful","lunkhead","lupe","lupine","lupus","lura","lurch","lurcher","lure","lurer","lurette","lurex","luria","lurid","luridness","lurk","lurker","lurleen","lurlene","lurline","lusa","lusaka","luscious","lusciousness","lush","lushness","lusitania","lust","luster","lustering","lusterless","lustful","lustfulness","lustily","lustiness","lustrous","lustrousness","lusty","lutanist","lute","lutenist","lutero","lutetium","luther","lutheran","lutheranism","luting","lutz","luxe","luxembourg","luxembourgian","luxemburg","luxuriance","luxuriant","luxuriate","luxuriation","luxurious","luxuriousness","luxury","luz","luzon","lv","lvalue","lvl","lw","lwjgl","lwp","lx","lxml","ly","lyallpur","lyceum","lychee","lycopodium","lycra","lycurgus","lyda","lydia","lydian","lydie","lydon","lye","lyell","lying","lyle","lyly","lyman","lyme","lymph","lymphatic","lymphocyte","lymphoid","lymphoma","lymphs","lyn","lynch","lynchburg","lyncher","lynching","lynda","lynde","lyndel","lyndell","lyndon","lyndsay","lyndsey","lyndsie","lyndy","lynea","lynelle","lynett","lynette","lynn","lynna","lynne","lynnea","lynnell","lynnelle","lynnet","lynnett","lynnette","lynsey","lynx","lyon","lyra","lyre","lyrebird","lyric","lyrical","lyricalness","lyricism","lyricist","lyrics","lysenko","lysine","lysistrata","lysol","lyssa","lyx","lz","m","ma","maalox","maana","mab","mabel","mabelle","mable","mac","macabre","macadam","macadamize","macao","macaque","macaroni","macaroon","macarthur","macaulay","macaw","macbeth","macbook","maccabees","maccabeus","macdonald","macdraw","mace","macedon","macedonia","macedonian","macer","macerate","maceration","macgregor","mach","machete","machiavelli","machiavellian","machinate","machination","machine","machinelike","machinery","machines","machinist","machismo","macho","machs","macias","macintosh","mack","mackenzie","mackerel","mackinac","mackinaw","mackintosh","macleish","macmillan","macon","macos","macosx","macpaint","macports","macram","macro","macrobiotic","macrobiotics","macrocosm","macrodynamic","macroeconomic","macroeconomics","macromolecular","macromolecule","macron","macrophage","macros","macroscopic","macroscopically","macrosimulation","macrosocioeconomic","macs","mactivity","macy","mad","mada","madagascan","madagascar","madalena","madalyn","madam","madame","madapter","madcap","maddalena","madded","madden","maddening","madder","maddest","maddi","maddie","madding","maddox","maddy","made","madeira","madel","madelaine","madeleine","madelena","madelene","madelin","madelina","madeline","madella","madelle","madelon","madelyn","mademoiselle","madge","madhouse","madhya","madison","madlen","madlin","madman","madmen","madness","madonna","madras","madrid","madrigal","madsen","madurai","madwoman","madwomen","mady","mae","maecenas","maegan","maelstrom","maestro","maeterlinck","mafia","mafiosi","mafioso","mag","magazine","magda","magdaia","magdalen","magdalena","magdalene","mage","magellan","magellanic","magenta","magento","magged","maggee","maggi","maggie","magging","maggot","maggoty","maggy","magi","magic","magical","magically","magician","magick","magicked","magicking","magill","maginot","magisterial","magistracy","magistrate","magma","magna","magnanimity","magnanimosity","magnanimous","magnate","magnesia","magnesite","magnesium","magnet","magnetic","magnetically","magnetics","magnetism","magnetite","magnetizable","magnetization","magnetize","magnetized","magneto","magnetodynamics","magnetohydrodynamical","magnetohydrodynamics","magnetometer","magnetosphere","magnetron","magnification","magnificence","magnificent","magnified","magnify","magniloquence","magniloquent","magnitogorsk","magnitude","magnolia","magnum","magnuson","magog","magoo","magpie","magritte","magruder","magsaysay","maguire","magus","magyar","mahabharata","mahala","mahalia","maharajah","maharajahs","maharanee","maharani","maharashtra","maharishi","mahatma","mahavira","mahayana","mahayanist","mahdi","mahfouz","mahican","mahjong","mahler","mahmoud","mahmud","mahogany","mahomet","mahout","mai","maia","maible","maid","maiden","maidenhair","maidenhead","maidenhood","maidenly","maidservant","maier","maiga","maighdiln","maigret","mail","mailaddress","mailbag","mailbox","mailchimp","mailer","mailgun","mailing","mailitem","maillol","maillot","mailman","mailmen","mailmessage","mails","mailto","maim","maiman","maimed","maimedness","maimer","maimonides","main","mainactivity","mainapp","mainbrace","mainbundle","mainclass","maincontent","maincontroller","mainctrl","maine","mainer","mainform","mainframe","mainland","mainlander","mainlayout","mainline","mainliner","mainloop","mainly","mainmast","mainmenu","mainpage","mainpanel","mains","mainsail","mainscreen","mainspring","mainstay","mainstream","maintain","maintainability","maintainable","maintained","maintainer","maintaining","maintains","maintenance","mainthread","maintop","mainview","mainviewcontroller","mainviewmodel","mainwindow","maiolica","mair","maire","maisey","maisie","maison","maisonette","maitilde","maize","maj","maje","majestic","majestically","majesty","majolica","major","majorca","majordomo","majorette","majority","majuro","makable","makarios","make","makefile","makefiles","makeover","maker","makers","makes","makeshift","maketext","makeup","making","mal","mala","malabar","malabo","malacca","malachi","malachite","maladapt","maladjust","maladjustment","maladministration","maladroit","maladroitness","malady","malagasy","malaise","malamud","malamute","malanie","malaprop","malapropism","malaria","malarial","malarious","malarkey","malathion","malawi","malawian","malay","malaya","malayalam","malayan","malaysia","malaysian","malchy","malcolm","malcontent","malcontented","malcontentedness","maldive","maldivian","maldonado","male","maledict","malediction","malefaction","malefactor","malefic","maleficence","maleficent","malena","maleness","malesuada","malevolence","malevolencies","malevolent","malfeasance","malfeasant","malformation","malformed","malformedurlexception","malfunction","mali","malia","malian","malibu","malice","malicious","maliciousness","malign","malignancy","malignant","malignity","malina","malinda","malinde","malinger","malingerer","malinowski","malissa","malissia","mall","mallard","mallarm","malleability","malleable","malleableness","mallet","mallissa","malloc","mallorie","mallory","mallow","malnourished","malnutrition","malocclusion","malodorous","malone","malorie","malory","malposed","malpractice","malraux","malt","malta","malted","maltese","malthus","malthusian","malting","maltose","maltreat","maltreatment","malty","malva","malvin","malvina","malware","malynda","mama","mamba","mambo","mame","mamet","mamie","mamma","mammal","mammalian","mammary","mammogram","mammography","mammon","mammoth","mammoths","mammy","mamore","mamp","man","manacle","manage","manageability","manageable","manageableness","managed","managedbean","managedobjectcontext","management","manager","manageress","managerial","managers","managership","manages","managing","managua","manama","mananas","manasseh","manatee","manaus","manchester","manchu","manchuria","manchurian","mancini","manciple","mancunian","manda","mandala","mandalay","mandamus","mandarin","mandate","mandatory","mandel","mandela","mandelbrot","mandi","mandible","mandibular","mandie","mandingo","mandolin","mandrake","mandrel","mandrill","mandy","mane","manet","maneuver","maneuverability","maneuverer","manfred","manful","manganese","mange","manger","manginess","mangle","mangler","mango","mangoes","mangrove","mangy","manhandle","manhattan","manhole","manhood","manhunt","mani","mania","maniac","maniacal","manic","manically","manichean","manicure","manicurist","manifest","manifestation","manifesto","manifests","manifold","manifolder","manifoldness","manikin","manila","manilla","manioc","manipulability","manipulable","manipulate","manipulated","manipulating","manipulation","manipulations","manipulative","manipulator","manipulatory","manitoba","manitoulin","manitowoc","mankind","mankowski","manley","manlike","manliness","manly","mann","manna","manned","mannequin","manner","mannered","mannerism","mannerist","mannerliness","mannerly","mannheim","mannie","mannikin","manning","mannish","mannishness","manny","mano","manolo","manometer","manon","manor","manorial","manpower","manqu","mans","mansard","manse","manservant","mansfield","mansion","manslaughter","manson","manta","mantegna","mantel","mantelpiece","mantes","mantilla","mantis","mantissa","mantle","mantling","mantra","mantrap","manual","manually","manuals","manuel","manuela","manufacture","manufacturer","manufacturers","manufacturing","manumission","manumit","manumitted","manumitting","manure","manuscript","manville","manx","many","manya","manytomany","manytomanyfield","manytoone","mao","maoism","maoist","maori","map","mapbox","mapdispatchtoprops","mapfragment","mapi","maple","maplecrest","mapmaker","mapoptions","mappable","mappath","mapped","mappedby","mapper","mappers","mapping","mappings","mapplethorpe","mapred","mapreduce","maproute","maps","mapstatetoprops","maptypeid","maputo","mapview","mar","mara","marabel","marabou","marabout","maraca","maracaibo","maraschino","marat","marathi","marathon","marathoner","maraud","marauder","marble","marbleize","marbler","marbling","marc","marceau","marcel","marcela","marcelia","marcelino","marcella","marcelle","marcellina","marcelline","marcello","marcellus","marcelo","march","marchall","marchelle","marcher","marchioness","marci","marcia","marciano","marcie","marcile","marcille","marco","marconi","marcotte","marcus","marcy","mardi","marduk","mare","mareah","maren","marena","maressa","marga","margalit","margalo","margaret","margareta","margarete","margaretha","margarethe","margaretta","margarette","margarine","margarita","margarito","margaux","marge","margeaux","margery","marget","margette","margi","margie","margin","marginal","marginalia","marginality","marginalization","marginalize","marginbottom","marginend","marginleft","marginright","margins","marginstart","margintop","margit","margo","margot","margret","margrethe","marguerite","margy","mari","maria","mariachi","mariadb","mariam","marian","mariana","mariann","marianna","marianne","mariano","maribel","maribelle","maribeth","marice","maricela","maridel","marie","marieann","mariejeanne","mariel","mariele","marielle","mariellen","marietta","mariette","marigold","marijn","marijo","marijuana","marika","marilee","marilin","marillin","marilyn","marimba","marin","marina","marinade","marinara","marinate","marination","marine","mariner","marinna","marino","mario","marion","marionette","mariquilla","marisa","mariska","marisol","marissa","marita","maritain","marital","maritime","maritsa","maritza","mariupol","marius","mariya","marj","marja","marje","marji","marjie","marjoram","marjorie","marjory","marjy","mark","markab","markdown","marked","markedly","marker","markeroptions","markers","market","marketa","marketability","marketable","marketeer","marketer","marketing","marketplace","markets","markham","marking","markism","markka","markkaa","marklogic","markos","markov","markovian","markovitz","marks","marksman","marksmanship","marksmen","markup","markus","marl","marla","marlane","marlboro","marlborough","marleah","marlee","marleen","marlena","marlene","marley","marlie","marlin","marline","marlinespike","marlo","marlon","marlow","marlowe","marlyn","marmaduke","marmalade","marmara","marmoreal","marmoset","marmot","marna","marne","marney","marni","marnia","marnie","maroon","marque","marquee","marquesas","marquess","marquetry","marquette","marquez","marquis","marquise","marquisette","marquita","marrakesh","marred","marriage","marriageability","marriageable","married","marrilee","marring","marriott","marris","marrissa","marrow","marrowbone","marry","mars","marseillaise","marseille","marseilles","marsh","marsha","marshal","marshalas","marshall","marshalled","marshaller","marshalling","marshallings","marshiness","marshland","marshmallow","marshy","marsiella","marsupial","mart","marta","martainn","martel","martelle","marten","martguerita","martha","marthe","marthena","marti","martial","martian","martica","martie","martin","martina","martinet","martinez","martingale","martini","martinique","martino","martinson","martita","marty","martyn","martynne","martyr","martyrdom","marv","marva","marve","marvel","marvell","marvelous","marven","marvin","marwin","marx","marxian","marxism","marxist","mary","marya","maryann","maryanna","maryanne","marybelle","marybeth","maryellen","maryjane","maryjo","maryl","maryland","marylee","marylin","marylinda","marylou","marylynne","maryrose","marys","marysa","marzipan","mas","masada","masai","masaryk","masc","mascagni","mascara","mascot","masculine","masculineness","masculinity","masefield","maser","maseru","mash","masha","mashhad","mask","masked","masker","masking","masks","masochism","masochist","masochistic","masochistically","mason","masonic","masonite","masonry","masque","masquer","masquerade","masquerader","mass","massa","massachusetts","massacre","massage","massager","massasoit","massenet","masseur","masseuse","massey","massif","massimiliano","massimo","massing","massive","massively","massiveness","massless","mast","mastectomy","master","masterclass","mastered","masterful","masterfulness","masterliness","masterly","mastermind","masterpage","masterpiece","masters","mastership","masterstroke","masterwork","mastery","masthead","mastic","masticate","mastication","mastiff","mastodon","mastoid","masturbate","masturbation","masturbatory","mat","mata","matador","match","matchable","matchbook","matchbox","matchcase","matched","matcher","matchers","matches","matching","matchless","matchlock","matchmake","matchmaker","matchmaking","matchplay","matchstick","matchwood","mate","mated","matelda","mateo","mater","material","materialism","materialist","materialistic","materialistically","materiality","materialization","materialize","materialized","materializer","materializes","materializing","materialness","materials","maternal","maternity","mates","math","mathe","mathematic","mathematica","mathematical","mathematically","mathematician","mathematics","mathematik","mather","mathew","mathewson","mathian","mathias","mathieu","mathilda","mathilde","mathis","mathjax","maths","mathworks","matias","matilda","matilde","matine","mating","matins","matisse","matlab","matmul","matplotlib","matriarch","matriarchal","matriarchs","matriarchy","matrices","matricidal","matricide","matriculate","matriculation","matriel","matrimonial","matrimony","matrix","matron","matsumoto","matt","matte","mattel","matteo","matter","matterhorn","matters","matthaeus","mattheus","matthew","matthias","matthieu","matthiew","matthus","matti","mattias","mattie","matting","mattins","mattis","mattock","mattress","matty","maturate","maturation","maturational","mature","matureness","maturer","maturity","matzo","matzot","maud","maude","maudie","maudlin","maugham","maui","maul","mauler","maunder","maupassant","maura","maure","maureen","maureene","maurene","mauriac","maurice","mauricio","maurie","maurine","mauris","maurise","maurita","mauritania","mauritanian","mauritian","mauritius","maurits","maurizia","maurizio","mauro","maurois","maury","mauser","mausoleum","mauve","maven","mavencentral","mavencli","maverick","mavin","mavis","mavra","maw","mawkish","mawkishness","mawr","max","maxcdn","maxdate","maxdepth","maxheight","maxi","maxie","maxilla","maxillae","maxillary","maxim","maxima","maximal","maximality","maximilian","maximilianus","maximilien","maximization","maximize","maximized","maximizer","maximo","maximum","maxine","maxlen","maxlength","maxlines","maxoccurs","maxsize","maxtor","maxvalue","maxwell","maxwellian","maxwidth","maxx","maxy","may","maya","mayan","maybe","maybelle","mayday","maye","mayer","mayest","mayfair","mayflower","mayfly","mayhap","mayhem","mayn","maynard","mayne","maynord","mayo","mayonnaise","mayor","mayoral","mayoralty","mayoress","mayorship","maypole","mayra","mayst","mazama","mazarin","mazatlan","mazda","maze","mazed","mazedness","mazurka","mazzini","mb","mba","mbabane","mbini","mbostock","mbp","mbuilder","mc","mcadam","mcallister","mcamera","mcbride","mccabe","mccain","mccall","mccarthy","mccarthyism","mccartney","mccarty","mccauley","mcclain","mcclellan","mcclure","mccluskey","mcconnell","mccormick","mccoy","mccracken","mccray","mccullough","mcdaniel","mcdermott","mcdonald","mcdonnell","mcdougall","mcdowell","mce","mcelhaney","mcenroe","mcfadden","mcfarland","mcgee","mcgill","mcgovern","mcgowan","mcgrath","mcgraw","mcgregor","mcguffey","mcguire","mci","mcintosh","mcintyre","mckay","mckee","mckenzie","mckesson","mckinley","mckinney","mcknight","mclanahan","mclaughlin","mclean","mcleod","mcluhan","mcmahon","mcmartin","mcmillan","mcnamara","mcnaughton","mcneil","mcontext","mcpherson","mcrypt","mcursor","md","mdash","mdata","mdb","mdc","mdf","mdi","mdl","mdm","mdn","mdpi","mdrawerlayout","mdse","mdt","me","mead","meade","meadow","meadowland","meadowlark","meadows","meadowsweet","meagan","meager","meagerness","meaghan","meagres","meal","mealiness","meals","mealtime","mealy","mealybug","mealymouthed","mean","meander","meaneing","meanie","meaning","meaningful","meaningfulness","meaningless","meaninglessness","meanings","meanness","means","meant","meantime","meanwhile","meany","meara","meas","measle","measles","measly","measurable","measurably","measure","measured","measureless","measurement","measurements","measurer","measures","measurespec","measuring","meat","meataxe","meatball","meatiness","meatless","meatloaf","meatloaves","meatpacking","meaty","mecca","mechanic","mechanical","mechanics","mechanism","mechanisms","mechanist","mechanistic","mechanistically","mechanization","mechanize","mechanized","mechanizer","mechanizes","mechanochemically","mechelle","med","medal","medalist","medallion","medan","meddle","meddlesome","medea","medellin","medfield","media","mediaelement","mediaeval","medial","medials","median","mediaplayer","mediarecorder","mediastore","mediate","mediateness","mediation","mediator","mediatype","mediawiki","medic","medicaid","medical","medicament","medicare","medicate","medication","medici","medicinal","medicine","medico","medieval","medievalist","medina","mediocre","mediocrity","meditate","meditation","meditative","meditativeness","mediterranean","medium","mediumistic","medley","medulla","medusa","meed","meek","meekness","meerschaum","meet","meeter","meeting","meetinghouse","meetings","meets","meetup","mef","meg","mega","megabit","megabuck","megabyte","megacycle","megadeath","megadeaths","megahertz","megalith","megalithic","megaliths","megalomania","megalomaniac","megalopolis","megan","megaphone","megaton","megavolt","megawatt","megaword","megen","meggi","meggie","meggy","meghan","meghann","megohm","mehetabel","mei","meier","meighen","meiji","meioses","meiosis","meiotic","meir","meister","meistersinger","mejia","mekong","mel","mela","melamie","melamine","melancholia","melancholic","melancholy","melanesia","melanesian","melange","melania","melanie","melanin","melanoma","melantha","melany","melba","melbourne","melcher","melchior","meld","melendez","melesa","melessa","melicent","melina","melinda","melinde","meliorate","melioration","melisa","melisande","melisandra","melisenda","melisent","melissa","melisse","melita","melitta","mella","melli","mellicent","mellie","mellifluous","mellifluousness","mellisa","mellisent","mellon","melloney","mellow","mellowness","melly","melodee","melodic","melodically","melodie","melodious","melodiousness","melodrama","melodramatic","melodramatically","melody","melon","melonie","melony","melosa","melpomene","melt","meltdown","melter","melting","melton","melva","melville","melvin","melvyn","mem","member","membered","memberid","members","membership","memberships","membrane","membranous","memcache","memcached","memcpy","memento","memling","memo","memoir","memorabilia","memorability","memorable","memorableness","memorably","memorandum","memorial","memorialize","memorialized","memoriam","memorization","memorize","memorized","memorizer","memorizes","memory","memoryless","memorystream","memphis","memset","men","menace","menacing","menage","menagerie","menander","menarche","menard","mencius","mencken","mend","mendacious","mendaciousness","mendacity","mendel","mendeleev","mendelevium","mendelian","mendelssohn","mender","mendez","mendicancy","mendicant","mendie","mending","mendocino","mendoza","mendy","menelaus","menes","menfolk","menhaden","menial","meningeal","meninges","meningitides","meningitis","meninx","menisci","meniscus","menkalinan","menkar","menkent","menlo","mennonite","menominee","menopausal","menopause","menorah","menorahs","menotti","mens","mensa","mensch","menservants","menstrual","menstruate","menstruation","mensurable","mensuration","menswear","mental","mentalist","mentality","menthol","mentholated","mention","mentionable","mentioned","mentioner","mentioning","mentions","mentor","menu","menubar","menuhin","menuinflater","menuitem","menuitems","menus","menzies","meow","mephistopheles","mer","merak","mercado","mercantile","mercator","mercedes","mercenariness","mercenary","mercer","mercerize","merchandise","merchandiser","merchant","merchantability","merchantman","merchantmen","merci","mercie","merciful","mercifully","mercifulness","merciless","mercilessness","merck","mercurial","mercuric","mercury","mercy","mere","meredeth","meredith","meredithe","merell","merely","meretricious","meretriciousness","merganser","merge","merged","merger","merges","mergesort","merging","meridel","meridian","meridional","meridith","meriel","merilee","merill","merilyn","meringue","merino","meris","merissa","merit","merited","meritocracy","meritocratic","meritocrats","meritorious","meritoriousness","meriwether","merl","merla","merle","merlin","merlina","merline","mermaid","merman","mermen","merna","merola","meromorphic","merralee","merrel","merriam","merrick","merridie","merrie","merrielle","merrile","merrilee","merrili","merrill","merrily","merrimac","merrimack","merriment","merriness","merritt","merry","merrymaker","merrymaking","mersey","merton","merv","mervin","merwin","merwyn","meryl","mes","mesa","mesabi","mescal","mescaline","mesdames","mesdemoiselles","mesh","meshed","meshgrid","mesmeric","mesmerism","mesmerize","mesmerized","mesmerizer","mesolithic","mesomorph","mesomorphs","meson","mesopotamia","mesopotamian","mesos","mesosphere","mesozoic","mesquite","mess","message","messagebox","messageboxbuttons","messageboxicon","messagedigest","messageid","messagequeue","messages","messagetype","messaging","messed","messeigneurs","messenger","messerschmidt","messes","messiaen","messiah","messiahs","messianic","messieurs","messily","messiness","messing","messmate","messrs","messy","mestizo","met","meta","metabolic","metabolically","metabolism","metabolite","metabolize","metacarpal","metacarpi","metacarpus","metacircular","metacircularity","metaclass","metacpan","metadata","metal","metalanguage","metalization","metalized","metallic","metalliferous","metallings","metallography","metalloid","metallurgic","metallurgical","metallurgist","metallurgy","metalsmith","metalwork","metalworking","metamathematical","metamorphic","metamorphism","metamorphose","metamorphosis","metaphor","metaphoric","metaphorical","metaphosphate","metaphysic","metaphysical","metastability","metastable","metastases","metastasis","metastasize","metastatic","metastore","metatarsal","metatarsi","metatarsus","metatheses","metathesis","metathesized","metathesizes","metathesizing","metavariable","mete","metempsychoses","metempsychosis","meteor","meteoric","meteorically","meteorite","meteoritic","meteoritics","meteoroid","meteorologic","meteorological","meteorologist","meteorology","meter","meters","meth","methadone","methane","methanol","methinks","methionine","method","methodandargscaller","methodical","methodicalness","methodinfo","methodism","methodist","methodname","methodological","methodologists","methodology","methods","methought","methuen","methuselah","methuselahs","methyl","methylated","methylene","meticulous","meticulousness","metonymy","metrecal","metric","metrical","metricate","metricize","metrics","metro","metronome","metropolis","metropolitan","metropolitanization","mets","metternich","mettle","mettlesome","metus","metzler","meuse","mew","mewl","mews","mex","mexicali","mexican","mexico","meyer","meyerbeer","mezzanine","mezzo","mf","mfa","mfc","mfg","mfr","mg","mgm","mgmt","mgr","mh","mhandler","mhz","mi","mia","miami","miaplacidus","miasma","miasmal","mib","mic","mica","micaela","micah","mice","micelles","mich","michael","michaela","michaelangelo","michaelina","michaeline","michaella","michaelmas","michaelson","michail","michal","michale","micheal","micheil","michel","michelangelo","michele","michelin","michelina","micheline","michell","michelle","michelson","michigan","michigander","michiganite","mick","mickelson","mickey","micki","mickie","micky","micmac","micra","micro","microamp","microanalysis","microanalytic","microbe","microbial","microbicidal","microbicide","microbiological","microbiologist","microbiology","microbrewery","microchemistry","microchip","microcircuit","microcode","microcomputer","microcosm","microcosmic","microdensitometer","microdot","microeconomic","microeconomics","microelectronic","microelectronics","microfiber","microfiche","microfilm","microfossils","micrography","microgroove","microhydrodynamics","microinstruction","microjoule","microlevel","microlight","micromanage","micromanagement","micrometeorite","micrometeoritic","micrometer","micron","micronesia","micronesian","microorganism","microphone","microport","microprocessing","microprocessor","microprogram","microprogrammed","microprogramming","micros","microscope","microscopic","microscopical","microscopy","microsecond","microseconds","microservice","microservices","microsimulation","microsoft","microsomal","microstore","microsurgery","microsystems","microtime","microvax","microvaxes","microvolt","microwave","microwaveable","microword","mid","midair","midas","midband","midday","midden","middest","middle","middlebrow","middlebury","middleman","middlemen","middlemost","middlename","middlesex","middleton","middletown","middleware","middleweight","middling","middy","mideast","mideastern","midfield","midge","midget","midi","midland","midlife","midlives","midmorn","midmost","midnight","midpoint","midrange","midrib","midriff","midscale","midsection","midship","midshipman","midshipmen","midspan","midst","midstream","midsummer","midterm","midtown","midway","midweek","midwest","midwestern","midwesterner","midwicket","midwife","midwifery","midwinter","midwives","midyear","mien","miff","mig","might","mightily","mightiness","mightn","mighty","mignon","mignonette","mignonne","migr","migraine","migrant","migrate","migrated","migrating","migration","migrations","migrative","migratory","miguel","miguela","miguelita","mikado","mikael","mikaela","mike","mikel","mikey","mikhail","mikkel","mikol","mikoyan","mil","milady","milagros","milan","milanese","milch","mild","mildew","mildness","mildred","mildrid","mile","mileage","milena","milepost","miler","miles","milestone","milford","milicent","milieu","milissent","militancy","militant","militantness","militarily","militarism","militarist","militaristic","militarization","militarize","military","militate","militia","militiaman","militiamen","milk","milka","milken","milker","milkiness","milkmaid","milkman","milkmen","milkshake","milksop","milkweed","milky","mill","millage","millard","millay","millenarian","millenarianism","millennial","millennialism","millennium","millepede","miller","millet","milli","milliamp","milliampere","milliard","millibar","millicent","millidegree","millie","milligram","millijoule","millikan","milliliter","millimeter","milliner","millinery","milling","million","millionaire","millions","millionth","millionths","millipede","millis","millisecond","milliseconds","millisent","millivolt","millivoltmeter","milliwatt","millpond","millrace","millstone","millstream","millwright","milly","milne","milo","milquetoast","milt","miltiades","miltie","milton","miltonic","miltown","milty","milwaukee","milzie","mimd","mime","mimemessage","mimeograph","mimeographs","mimer","mimesis","mimetic","mimetically","mimetype","mimi","mimic","mimicked","mimicker","mimicking","mimicry","mimosa","min","mina","minaret","minatory","mince","mincemeat","mincer","mincing","mind","minda","mindanao","mindate","mindbogglingly","minded","minder","mindful","mindfully","mindfulness","mindless","mindlessness","mindoro","minds","mindset","mindy","mine","minecraft","minefield","miner","mineral","mineralization","mineralized","mineralogical","mineralogist","mineralogy","minerva","mineshaft","minestrone","minesweeper","minetta","minette","mineworkers","minflater","ming","mingle","mingus","mingw","minheight","mini","miniature","miniaturist","miniaturization","miniaturize","minibike","minibus","minicab","minicam","minicomputer","miniconda","minidress","minified","minify","minifyenabled","minim","minima","minimal","minimalism","minimalist","minimalistic","minimality","minimax","minimization","minimize","minimized","minimizer","minimum","mining","minion","miniseries","miniskirt","minister","ministerial","ministrant","ministration","ministry","minivan","miniver","mink","minke","minlength","minn","minna","minnaminnie","minne","minneapolis","minnesinger","minnesota","minnesotan","minni","minnie","minnnie","minnow","minny","minoan","minoccurs","minolta","minor","minority","minos","minot","minotaur","minoxidil","mins","minsdkversion","minsk","minsky","minster","minstrel","minstrelsy","mint","minta","mintage","mintaka","minter","minty","minuend","minuet","minuit","minus","minuscule","minute","minuteman","minutemen","minuteness","minutes","minutia","minutiae","minvalue","minwidth","minx","miny","miocene","mipmap","mips","miquela","mir","mira","mirabeau","mirabel","mirabella","mirabelle","mirach","miracle","miraculous","miraculousness","mirage","miran","miranda","mire","mireielle","mireille","mirella","mirelle","mirfak","miriam","mirilla","mirna","miro","mirror","mirrors","mirth","mirthful","mirthfulness","mirthless","mirthlessness","mirths","mirv","miry","mirzam","mis","misaddress","misadventure","misalign","misalignment","misalliance","misanalysed","misanthrope","misanthropic","misanthropically","misanthropist","misanthropy","misapplier","misapply","misapprehend","misapprehension","misappropriate","misbegotten","misbehave","misbehaver","misbehavior","misbrand","misc","miscalculate","miscalculation","miscall","miscarriage","miscarry","miscast","miscegenation","miscellanea","miscellaneous","miscellany","mischa","mischance","mischief","mischievous","mischievousness","miscibility","miscible","misclassification","misclassified","misclassifying","miscode","miscommunicate","miscomprehended","misconceive","misconception","misconduct","misconfiguration","misconstruction","misconstrue","miscopying","miscount","miscreant","miscue","misdeal","misdealt","misdeed","misdemeanant","misdemeanor","misdiagnose","misdid","misdirect","misdirection","misdirector","misdo","misdoes","misdone","miser","miserable","miserableness","miserably","miserliness","miserly","misery","mises","misfeasance","misfeature","misfield","misfile","misfire","misfit","misfitted","misfitting","misfortune","misgauge","misgiving","misgovern","misgovernment","misguidance","misguide","misguided","misguidedness","misguider","misha","mishandle","mishap","mishapped","mishapping","mishear","misheard","mishitting","mishmash","misidentification","misidentify","misinform","misinformation","misinterpret","misinterpretation","misinterpreter","misjudge","misjudging","misjudgment","miskito","mislabel","mislaid","mislay","mislead","misleader","misleading","misled","mismanage","mismanagement","mismatch","misname","misnomer","misogamist","misogamy","misogynist","misogynistic","misogynous","misogyny","misperceive","misplace","misplacement","misplay","mispositioned","misprint","misprision","mispronounce","mispronunciation","misquotation","misquote","misread","misreader","misrelated","misremember","misreport","misrepresent","misrepresentation","misrepresenter","misroute","misrule","miss","missal","missed","misses","misshape","misshapen","misshapenness","missie","missile","missilery","missing","mission","missionary","missioned","missioner","missioning","missis","mississauga","mississippi","mississippian","missive","missoula","missouri","missourian","misspeak","misspecification","misspecified","misspell","misspelling","misspend","misspent","misspoke","misspoken","misstate","misstatement","misstater","misstep","misstepped","misstepping","missus","missy","mist","mistakable","mistake","mistaken","mistaker","mistakes","mistaking","mistassini","mister","misti","mistily","mistime","mistiness","mistletoe","mistook","mistral","mistranslated","mistranslates","mistranslating","mistranslation","mistreat","mistreatment","mistress","mistrial","mistrust","mistruster","mistrustful","misty","mistype","misunderstand","misunderstander","misunderstanding","misunderstood","misuse","misuser","miswritten","mit","mitch","mitchael","mitchel","mitchell","mite","miter","miterer","mitford","mithra","mithridates","mitigate","mitigated","mitigation","mitoses","mitosis","mitotic","mitre","mitsubishi","mitt","mitten","mitterrand","mitty","mitzi","mitzvahs","mix","mixable","mixed","mixer","mixin","mixing","mixins","mixture","mizar","mizzen","mizzenmast","mj","mk","mkdir","mkdirs","mkl","mkmapview","mks","mktime","mkyong","ml","mle","mlist","mlistener","mlle","mm","mmap","mme","mmm","mmmm","mms","mmsc","mn","mname","mnchhausen","mnemonic","mnemonically","mnemonics","mnemosyne","mnist","mno","mnt","mo","moan","moat","mob","mobbed","mobber","mobbing","mobcap","mobil","mobile","mobility","mobilizable","mobilization","mobilize","mobilized","mobilizer","mobilizes","mobster","mobutu","moc","moccasin","mocha","mock","mocked","mockers","mockery","mocking","mockingbird","mockito","mocks","mod","modal","modality","modals","mode","model","modeladmin","modelandview","modelattribute","modelbuilder","modeled","modeler","modelform","modeling","modelitem","modelling","modelname","models","modelserializer","modelstate","modelversion","modelview","modem","moderate","moderated","moderateness","moderation","moderator","modern","modernism","modernist","modernistic","modernity","modernization","modernize","modernized","modernizer","modernizes","modernizr","modernness","modes","modest","modesta","modestia","modestine","modesto","modesty","modicum","modifiability","modifiable","modifiableness","modification","modifications","modified","modifier","modifiers","modifies","modify","modifying","modigliani","modish","modishness","mods","modula","modular","modularity","modularization","modularize","modulate","modulation","modulator","module","moduleid","modulename","modules","moduli","modulo","modulus","modus","moe","moen","mogadiscio","mogadishu","mogul","mohair","mohamed","mohammad","mohammed","mohammedan","mohammedanism","mohandas","mohandis","mohawk","mohegan","mohican","moho","mohorovicic","mohr","moiety","moil","moina","moines","moira","moire","moise","moiseyev","moishe","moist","moisten","moistener","moistness","moisture","moisturize","mojave","mojo","mojoexecutor","molal","molar","molarity","molasses","mold","moldavia","moldavian","moldboard","molder","moldiness","molding","moldova","moldy","mole","molecular","molecularity","molecule","molehill","moleskin","molest","molestation","molested","molester","molestie","moliere","molina","moline","moll","mollee","molli","mollie","mollification","mollify","mollis","mollusc","mollusk","molly","mollycoddle","mollycoddler","molnar","moloch","molokai","molotov","molt","molter","moluccas","molybdenite","molybdenum","mom","mombasa","moment","momenta","momentarily","momentariness","momentary","momentjs","momentous","momentousness","moments","momentum","momma","mommy","mon","mona","monaco","monad","monadic","monads","monah","monarch","monarchic","monarchical","monarchism","monarchist","monarchistic","monarchs","monarchy","monash","monastery","monastic","monastical","monasticism","monaural","mondale","monday","mondrian","monegasque","monera","monet","monetarily","monetarism","monetarist","monetary","monetization","monetize","money","moneybag","moneychangers","moneyer","moneylender","moneymaker","moneymaking","monfort","monger","mongo","mongoclient","mongod","mongodb","mongoid","mongol","mongolia","mongolian","mongolic","mongolism","mongoloid","mongoose","mongrel","monica","monies","monika","moniker","monique","monism","monist","monition","monitor","monitored","monitoring","monitors","monitory","monk","monkey","monkeyshine","monkish","monkshood","monmouth","mono","monobehaviour","monochromatic","monochromator","monochrome","monocle","monoclinic","monoclonal","monocotyledon","monocotyledonous","monocular","monodevelop","monodic","monodist","monody","monogamist","monogamous","monogamy","monogram","monogrammed","monogramming","monograph","monographs","monolingual","monolingualism","monolith","monolithic","monolithically","monoliths","monologist","monologue","monomania","monomaniac","monomaniacal","monomer","monomeric","monomial","monongahela","mononuclear","mononucleoses","mononucleosis","monophonic","monoplane","monopole","monopolist","monopolistic","monopolization","monopolize","monopolized","monopolizes","monopoly","monorail","monospace","monostable","monosyllabic","monosyllable","monotheism","monotheist","monotheistic","monotone","monotonic","monotonically","monotonicity","monotonous","monotonousness","monotony","monotouch","monovalent","monoxide","monro","monroe","monrovia","monsanto","monseigneur","monsieur","monsignor","monsignori","monsoon","monsoonal","monster","monstrance","monstrosity","monstrous","monstrousness","mont","montage","montague","montaigne","montana","montanan","montcalm","montclair","monte","montenegrin","montenegro","monterey","monterrey","montesquieu","montessori","monteverdi","montevideo","montezuma","montgomery","month","monthly","months","monti","monticello","montmartre","montoya","montpelier","montrachet","montreal","montserrat","monty","monument","monumental","monumentality","moo","mooch","mood","moodily","moodiness","moodle","moody","moog","moon","moonbeam","mooney","moonless","moonlight","moonlighting","moonlit","moonscape","moonshine","moonshiner","moonshot","moonstone","moonstruck","moonwalk","moor","moore","mooring","moorish","moorland","moose","moot","mootools","mop","mope","moped","moper","mopey","mopier","mopiest","mopish","mopped","moppet","mopping","moq","mora","moraine","moral","morale","morales","moralist","moralistic","moralistically","morality","moralization","moralize","moralled","moraller","moralling","moran","morass","moratorium","moravia","moravian","moray","morbi","morbid","morbidity","morbidness","mord","mordancy","mordant","mordecai","mordred","mordy","more","moreen","morehouse","morel","moreland","morena","moreno","moreover","morey","morgan","morgana","morganica","morganne","morgen","morgue","morgun","moria","moriarty","moribund","moribundity","morie","morin","morion","morison","morissa","morita","moritz","morlee","morley","morly","mormon","mormonism","morn","morna","morning","moro","moroccan","morocco","moron","moroni","moronic","moronically","morose","moroseness","morph","morpheme","morphemic","morpheus","morphia","morphine","morphism","morphologic","morphological","morphology","morphophonemic","morphophonemics","morphs","morrie","morris","morrison","morristown","morrow","morry","morse","morsel","mort","mortal","mortality","mortar","mortarboard","mortbay","morten","mortgage","mortgageable","mortgagee","mortgagor","mortice","mortician","mortie","mortification","mortified","mortifier","mortify","mortimer","mortise","morton","mortuary","morty","mos","mosaic","mosaicked","mosaicking","moscone","moscow","mose","moseley","moselle","moser","mosey","moshe","moslem","mosley","mosque","mosquito","mosquitoes","moss","mossback","mossberg","mossy","most","mostly","mosul","mot","mote","motel","motet","moth","mothball","mother","motherboard","motherfucker","motherfucking","motherhood","mothering","motherland","motherless","motherliness","motherly","moths","motif","motile","motility","motion","motional","motioner","motionevent","motionless","motionlessness","motions","motivate","motivated","motivation","motivational","motivator","motive","motiveless","motley","motlier","motliest","motocross","motor","motorbike","motorboat","motorcade","motorcar","motorcycle","motorcyclist","motoring","motorist","motorization","motorize","motorized","motorman","motormen","motormouth","motormouths","motorola","motorway","motown","mott","mottle","mottler","motto","mottoes","moue","moulder","moult","mound","mount","mountable","mountain","mountaineer","mountaineering","mountainous","mountainousness","mountainside","mountaintop","mountbatten","mountebank","mounted","mounter","mountie","mounties","mounting","mounts","mourn","mourner","mournful","mournfuller","mournfullest","mournfulness","mourning","mouse","mousedown","mouseenter","mouseevent","mouseeventargs","mouseleave","mousemove","mouseout","mouseover","mouser","mousetrap","mousetrapped","mousetrapping","mouseup","mousewheel","mousex","mousey","mousiness","mousing","mousse","moussorgsky","mousy","mouth","mouthe","mouthful","mouthiness","mouthorgan","mouthpiece","mouths","mouthwash","mouthwatering","mouthy","mouton","mov","movable","movableness","move","moved","movement","movements","movenext","mover","moves","moveto","movetofirst","movetonext","movie","movieclip","moviegoer","movieid","movies","moving","movl","movq","mow","mower","mowgli","mowing","moxie","moyer","moyna","moyra","moz","mozambican","mozambique","mozart","mozelle","mozes","mozilla","mozzarella","mp","mpaint","mpdf","mpeg","mpg","mph","mpi","mpl","mplayer","mq","mqtt","mr","mrecyclerview","mri","mrs","ms","msb","msbuild","msc","mscorlib","msdn","mse","msec","msft","msg","msgbox","msgid","msgr","msgs","msi","msie","msil","msmq","mso","msp","mssql","mst","msvc","msw","msxml","msys","mt","mtcars","mtg","mtge","mtier","mtime","mts","mtu","mtv","mu","muawiya","mubarak","much","muchness","mucilage","mucilaginous","muck","mucker","muckrake","muckraker","mucky","mucosa","mucous","mucus","mud","mudded","muddily","muddiness","mudding","muddle","muddlehead","muddleheaded","muddler","muddy","mudflat","mudguard","mudlarks","mudroom","mudslide","mudsling","mudslinger","mudslinging","mueller","muenster","muesli","muezzin","muff","muffin","muffle","muffler","mufi","mufinella","mufti","mug","mugabe","mugged","mugger","mugginess","mugging","muggy","mugshot","mugwump","muhammad","muhammadan","muhammadanism","muir","muire","mukden","mukluk","mul","mulatto","mulattoes","mulberry","mulch","mulct","mulder","mule","muleskinner","mulesoft","muleteer","mulish","mulishness","mull","mullah","mullahs","mullein","mullen","muller","mullet","mulligan","mulligatawny","mullikan","mullins","mullion","mult","multan","multer","multi","multibus","multicast","multicellular","multichannel","multicollinearity","multicolor","multicolumn","multicomponent","multicomputer","multics","multicultural","multiculturalism","multidex","multidimensional","multidimensionality","multidisciplinary","multifaceted","multifamily","multifarious","multifariousness","multifigure","multiform","multifunction","multiindex","multilateral","multilayer","multilevel","multiline","multilingual","multilingualism","multimap","multimedia","multimegaton","multimeter","multimillionaire","multinational","multinomial","multipart","multiphase","multiple","multiples","multiplet","multiplex","multiplexor","multipliable","multiplicand","multiplication","multiplicative","multiplicity","multiplied","multiplier","multiply","multiplying","multiprocess","multiprocessing","multiprocessor","multiprogram","multiprogrammed","multiprogramming","multipurpose","multiracial","multiselect","multistage","multistory","multisyllabic","multitasking","multithreaded","multithreading","multitude","multitudinous","multitudinousness","multiuser","multivalent","multivalued","multivariate","multiversity","multiviews","multivitamin","mum","mumble","mumbler","mumbletypeg","mumford","mummed","mummer","mummery","mummification","mummify","mumming","mummy","mumps","mun","munch","muncher","munchies","muncie","mundane","mundt","munge","munich","municipal","municipality","munificence","munificent","munition","munmro","munoz","munro","munroe","munsey","munson","munster","muon","muong","muppet","mural","muralist","murasaki","murat","murchison","murcia","murder","murderer","murderess","murderous","murderousness","murdoch","murdock","mureil","murial","muriatic","muriel","murielle","murillo","murk","murkily","murkiness","murky","murmansk","murmur","murmurer","murmuring","murmurous","murphy","murrain","murray","murrow","murrumbidgee","murry","murvyn","mus","muscat","muscatel","muscle","musclebound","muscovite","muscovy","muscular","muscularity","musculature","muse","muser","musette","museum","mush","musher","mushiness","mushroom","mushy","musial","music","musical","musicale","musicality","musicals","musician","musicianship","musicked","musicking","musicological","musicologist","musicology","musing","musk","muskeg","muskegon","muskellunge","musket","musketeer","musketry","muskie","muskiness","muskmelon","muskox","muskrat","musky","muslim","muslin","muss","mussel","mussolini","mussorgsky","mussy","must","mustache","mustachio","mustang","mustard","muster","mustily","mustiness","mustn","musty","mut","mutability","mutable","mutableness","mutably","mutagen","mutant","mutate","mutating","mutation","mutational","mutations","mutator","mute","muted","muteness","mutex","mutilate","mutilation","mutilator","mutineer","mutinous","mutiny","mutsuhito","mutt","mutter","mutterer","mutton","muttonchops","mutual","mutuality","mutually","muumuu","mux","muzak","muzo","muzzle","muzzled","muzzler","mv","mvc","mview","mviewpager","mvn","mvnrepository","mvp","mvvm","mvvmcross","mw","mwebview","mx","mxml","my","myaction","myactivity","myadapter","myanmar","myapp","myapplication","myarr","myarray","mybase","mybatis","mybean","mybutton","myca","mycah","mycanvas","mycarousel","mycell","mycenae","mycenaean","mychal","mychart","myclass","mycollection","mycologist","mycology","mycommand","mycompany","mycomponent","myconnection","mycontext","mycontrol","mycontroller","myctrl","mydata","mydatabase","mydate","mydb","mydf","mydict","mydir","mydiv","mydomain","myelement","myelitides","myelitis","myemail","myentity","myenum","myer","myers","myevent","myfaces","myfield","myfile","myfolder","myform","myfragment","myframe","myfunc","myfunction","mygrid","myhost","myid","myimage","myinput","myint","myintent","myinterface","myisam","myitem","myjson","mykey","mylabel","mylar","myles","mylib","mylist","mylo","mymap","mymethod","mymodal","mymodel","mymodule","myna","myname","mynamespace","mynheer","mynumber","myobj","myobject","myocardial","myocardium","myopia","myopic","myopically","myoptions","mypackage","mypage","mypanel","mypassword","mypath","myplugin","myprogram","myproject","myproperty","myra","myrah","myranda","myrange","myrdal","myreader","myriad","myriam","myrilla","myrle","myrlene","myrmidon","myrna","myron","myrow","myrrh","myrrhs","myrta","myrtia","myrtice","myrtie","myrtle","myrvyn","myrwyn","mys","myscript","myselect","myself","myserver","myservice","mysite","mysore","mysql","mysqlclient","mysqlcommand","mysqlconnection","mysqld","mysqldb","mysqldump","mysqli","mysqlio","myst","mysterious","mysteriousness","mystery","mystic","mystical","mysticism","mystification","mystifier","mystify","mystifying","mystique","mystr","mystring","mystruct","mytable","mytask","mytest","mytext","myth","mythic","mythical","mythographer","mythography","mythological","mythologist","mythologize","mythology","mythread","myths","mytimer","mytype","myurl","myuser","myusername","myval","myvalue","myvar","myvariable","myvector","myview","myviewcontroller","myviewholder","myviewmodel","mywebsite","mywebview","mywindow","mz","n","na","naacp","naam","nab","nabbed","nabbing","nabble","nabisco","nabob","nabokov","nacelle","nacho","nacl","nacre","nacreous","nada","nadean","nadeen","nader","nadia","nadine","nadir","nadiya","nady","nadya","nae","nag","nagasaki","nagged","nagger","nagging","nagios","nagoya","nagpur","nagy","nahuatl","nahum","naiad","naifs","nail","nailbrush","nailer","naipaul","nair","nairobi","naismith","naive","naivet","naivety","nakamura","nakayama","naked","nakedness","nakoma","nalani","nam","nama","namath","name","nameable","named","namedrop","namedropping","nameerror","nameless","namelist","namely","namenode","nameof","nameplate","namer","names","namesake","namespace","namespaces","namevaluepair","namevaluepairs","namibia","namibian","naming","nan","nana","nanak","nananne","nance","nancee","nancey","nanchang","nanci","nancie","nancy","nanete","nanette","nani","nanice","nanine","nanjing","nanking","nannette","nanni","nannie","nanny","nano","nanometer","nanon","nanook","nanosecond","nanoseconds","nanotime","nansen","nantes","nantucket","naoma","naomi","nap","napalm","nape","naphtali","naphtha","naphthalene","napier","napkin","naples","napless","napoleon","napoleonic","napped","napper","nappie","napping","nappy","nara","narbonne","narc","narcissism","narcissist","narcissistic","narcissus","narcoleptic","narcoses","narcosis","narcotic","narcotization","narcotize","nari","nariko","nark","narmada","narragansett","narrate","narration","narrative","narratology","narrator","narrow","narrowed","narrowing","narrowness","narwhal","nary","nas","nasa","nasal","nasality","nasalization","nasalize","nascence","nascent","nasdaq","nash","nashua","nashville","nasm","nassau","nasser","nastily","nastiness","nasturtium","nasty","nat","nata","natal","natala","natale","natalee","natalia","natalie","natalina","nataline","natalist","natality","natalya","nataniel","natasha","natassia","natch","natchez","nate","nathalia","nathalie","nathan","nathanael","nathanial","nathaniel","nathanil","nation","national","nationalism","nationalist","nationalistic","nationalistically","nationality","nationalization","nationalize","nationalized","nationalizer","nationhood","nations","nationwide","native","nativeconstructoraccessorimpl","nativeelement","natively","nativemethodaccessorimpl","nativeness","nativescript","nativestart","natividad","nativity","natka","natl","nato","natter","nattily","nattiness","natty","natural","naturalism","naturalist","naturalistic","naturalization","naturalize","naturalized","naturally","naturalness","naturals","nature","naturist","naugahyde","naught","naughtily","naughtiness","naughty","naur","nauru","nausea","nauseate","nauseating","nauseous","nauseousness","nautical","nautilus","nav","navaho","navajo","navajoes","naval","navarro","navbar","navcontroller","nave","navel","navigability","navigable","navigableness","navigate","navigated","navigates","navigating","navigation","navigational","navigationbar","navigationcontroller","navigationitem","navigationview","navigator","navona","navratilova","navvy","navy","nay","naysayer","nazarene","nazareth","nazi","nazism","nb","nba","nbc","nbr","nbs","nbsp","nc","ncaa","ncc","nchar","nco","ncol","ncols","ncr","ncurses","nd","ndarray","ndb","ndjamena","ndk","ne","neal","neala","neale","neall","nealon","nealson","nealy","neanderthal","neap","neapolitan","near","nearby","nearest","nearly","nearness","nearside","nearsighted","nearsightedness","neat","neaten","neath","neatness","neb","nebr","nebraska","nebraskan","nebuchadnezzar","nebula","nebulae","nebular","nebulous","nebulousness","nec","necessaries","necessarily","necessary","necessitate","necessitation","necessitous","necessity","neck","neckband","neckerchief","necking","necklace","neckline","necktie","necrology","necromancer","necromancy","necromantic","necrophilia","necrophiliac","necropolis","necropsy","necroses","necrosis","necrotic","nectar","nectarine","nectarous","nectary","ned","neda","nedda","neddie","neddy","nedi","need","needed","needer","needful","needham","neediness","needing","needle","needlecraft","needlepoint","needless","needlessness","needlewoman","needlewomen","needlework","needn","needs","needy","neel","neely","nefarious","nefariousness","nefen","nefertiti","neg","negate","negated","negater","negation","negative","negativeness","negativism","negativity","negator","negev","neglect","neglecter","neglectful","neglectfulness","negligee","negligence","negligent","negligibility","negligible","negligibly","negotiability","negotiable","negotiant","negotiate","negotiation","negotiator","negress","negritude","negro","negroes","negroid","nehemiah","nehru","neigh","neighbor","neighbored","neighborer","neighborhood","neighborliness","neighborlinesses","neighborly","neighbors","neighbours","neighs","neil","neila","neile","neill","neilla","neille","neither","nelda","nelia","nelie","nell","nelle","nelli","nellie","nelly","nels","nelsen","nelson","nematic","nematode","nembutal","nemeses","nemesis","nenter","neo","neoclassic","neoclassical","neoclassicism","neocolonialism","neocortex","neodymium","neogene","neolithic","neologism","neomycin","neon","neonatal","neonate","neophyte","neoplasm","neoplastic","neoprene","nepal","nepalese","nepali","nepenthe","nephew","nephrite","nephritic","nephritides","nephritis","nepotism","nepotist","neptune","neptunium","neque","nerd","nerdy","nereid","nerf","nerissa","nerita","nero","neron","nert","nerta","nerte","nerti","nertie","nerty","neruda","nerve","nerveless","nervelessness","nerviness","nerving","nervous","nervousness","nervy","nessa","nessi","nessie","nessy","nest","nesta","nested","nestedscrollview","nester","nesting","nestle","nestler","nestling","nestor","nestorius","net","netball","netbeans","netflix","netframework","nether","netherlander","netherlands","nethermost","netherworld","netscape","netstat","nett","netta","netti","nettie","netting","nettle","nettlesome","netty","network","networkcredential","networkinfo","networking","networks","networkstream","networkx","netzahualcoyotl","neue","neumann","neural","neuralgia","neuralgic","neurasthenia","neurasthenic","neuritic","neuritides","neuritis","neuroanatomy","neurobiology","neurological","neurologist","neurology","neuromuscular","neuron","neuronal","neurone","neurons","neuropathology","neurophysiology","neuropsychiatric","neuroses","neurosis","neurosurgeon","neurosurgery","neurotic","neurotically","neurotransmitter","neut","neuter","neutral","neutralise","neutralism","neutralist","neutrality","neutralization","neutralize","neutralized","neutrino","neutron","nev","neva","nevada","nevadan","nevadian","never","nevermore","nevertheless","nevi","nevil","nevile","neville","nevin","nevis","nevsa","nevsky","nevus","new","newark","newarr","newarray","newbie","newborn","newbury","newburyport","newcastle","newcomer","newdata","newdate","newdiv","newed","newel","newell","newer","newest","newfangled","newfile","newfound","newfoundland","newfoundlander","newguid","newheight","newid","newimage","newinstance","newish","newitem","newline","newlines","newlist","newly","newlywed","newman","newname","newness","newnode","newobj","newobject","newpage","newpassword","newpath","newport","newrelic","newrow","news","newsagent","newsboy","newscast","newscaster","newscasting","newsdealer","newsed","newses","newsflash","newsgirl","newsgroup","newsing","newsize","newsletter","newsman","newsmen","newspaper","newspaperman","newspapermen","newspaperwoman","newspaperwomen","newsprint","newsreader","newsreel","newsroom","newsstand","newstate","newstr","newstring","newsweek","newsweekly","newswire","newswoman","newswomen","newsworthiness","newsworthy","newsy","newt","newtab","newtext","newton","newtonian","newtonsoft","newurl","newuser","newval","newvalue","newversion","newwidth","newx","nexis","next","nextdouble","nextint","nextline","nextpage","nextprops","nexttoken","nextval","nexus","neysa","nf","nfc","nfl","nfs","ng","ngaliema","ngclass","ngfor","ngif","nginx","ngmodel","ngmodule","ngoninit","ngram","ngroute","ngstrm","nguyen","ngx","nh","nhibernate","nhl","ni","niacin","niagara","nial","niall","niamey","nib","nibbed","nibbing","nibble","nibbler","nibelung","nibh","nic","nicaean","nicaragua","nicaraguan","niccolo","nice","nicely","nicene","niceness","nicer","nicety","niche","nichol","nicholas","nichole","nicholle","nicholson","nick","nickel","nickelodeon","nicker","nickey","nicki","nickie","nicklaus","nicknack","nickname","nicknamer","nicko","nickola","nickolai","nickolaus","nicky","nico","nicobar","nicodemus","nicol","nicola","nicolai","nicole","nicolea","nicolette","nicoli","nicolina","nicoline","nicolle","nicosia","nicotine","nid","niebuhr","niece","niel","niels","nielsen","nielson","nietzsche","nieves","nifi","nifty","nigel","niger","nigeria","nigerian","nigerien","niggard","niggardliness","niggardly","nigger","niggle","niggler","niggling","nigh","nighs","night","nightcap","nightclothes","nightclub","nightclubbed","nightclubbing","nightdress","nightfall","nightgown","nighthawk","nightie","nightingale","nightlife","nightlong","nightly","nightmare","nightmarish","nights","nightshade","nightshirt","nightspot","nightstand","nightstick","nighttime","nightwear","nighty","nih","nihilism","nihilist","nihilistic","nijinsky","nikaniki","nike","niki","nikita","nikki","nikkie","nikko","niko","nikola","nikolai","nikolaos","nikolaus","nikolayev","nikoletta","nikolia","nikolos","nikon","nil","nilclass","nile","nilled","nilling","nilpotent","nils","nilsen","nilson","nilsson","nimbi","nimble","nimbleness","nimbly","nimbus","nimby","nimitz","nimrod","nina","nincompoop","nine","ninefold","ninepence","ninepin","ninepins","nineteen","nineteenths","ninetieths","ninetta","ninette","ninety","nineveh","ninja","ninject","ninnetta","ninnette","ninny","ninon","nintendo","ninth","ninths","nio","niobe","niobium","nioendpoint","nip","nipped","nipper","nippiness","nipping","nipple","nippon","nipponese","nippy","nirenberg","nirvana","nisei","nisi","nisl","nissa","nissan","nisse","nissie","nissy","nit","nita","niter","nitpick","nitrate","nitration","nitric","nitride","nitriding","nitrification","nitrite","nitrocellulose","nitrogen","nitrogenous","nitroglycerin","nitrous","nitwit","niven","nix","nixer","nixie","nixon","nj","nk","nkrumah","nl","nlog","nlp","nlrb","nls","nltk","nm","nmap","nn","no","noaa","noach","noactionbar","noah","noak","noam","noami","nob","nobe","nobel","nobelist","nobelium","nobie","nobility","noble","nobleman","noblemen","nobleness","noblesse","noblewoman","noblewomen","nobody","noby","noclassdeffounderror","noconflict","nocount","nocturnal","nocturne","nod","nodal","nodded","nodding","noddle","noddy","node","nodeid","nodejs","nodelist","nodemon","nodename","nodes","nodetype","nodevalue","nodoz","nodular","nodule","noe","noel","noelani","noell","noella","noelle","noellyn","noelyn","noemi","noes","noexcept","nofollow","noggin","nohow","nohup","noise","noiseless","noiselessness","noisemake","noisemaker","noisily","noisiness","noisome","noisy","nokia","nokogiri","nola","nolan","nolana","noland","nolie","noll","nollie","nolly","nolock","nom","nomad","nomadic","nombre","nome","nomenclature","nomethoderror","nomi","nominal","nominalized","nominally","nominals","nominate","nomination","nominative","nominator","nominee","non","nona","nonabrasive","nonabsorbent","nonacademic","nonacceptance","nonacid","nonactive","nonadaptive","nonaddictive","nonadhesive","nonadjacent","nonadjustable","nonadministrative","nonage","nonagenarian","nonaggression","nonagricultural","nonah","nonalcoholic","nonaligned","nonalignment","nonallergic","nonappearance","nonassignable","nonathletic","nonatomic","nonattendance","nonautomotive","nonavailability","nonbasic","nonbeliever","nonbelligerent","nonblocking","nonbreakable","nonburnable","nonbusiness","noncaloric","noncancerous","noncarbohydrate","nonce","nonchalance","nonchalant","nonchargeable","nonclerical","nonclinical","noncollectable","noncom","noncombatant","noncombustible","noncommercial","noncommissioned","noncommittal","noncommunicable","noncompeting","noncompetitive","noncompliance","noncomplying","noncomprehending","nonconducting","nonconductor","nonconforming","nonconformist","nonconformity","nonconsecutive","nonconservative","nonconstructive","noncontagious","noncontiguous","noncontinuous","noncontributing","noncontributory","noncontroversial","nonconvertible","noncooperation","noncorroding","noncorrosive","noncredit","noncriminal","noncritical","noncrystalline","noncumulative","noncustodial","noncyclic","nondairy","nondecreasing","nondeductible","nondelivery","nondemocratic","nondenominational","nondepartmental","nondepreciating","nondescript","nondestructive","nondetachable","nondeterminacy","nondeterminate","nondeterminism","nondeterministic","nondeterministically","nondisciplinary","nondisclosure","nondiscrimination","nondiscriminatory","nondramatic","nondrinker","nondrying","nondurable","none","noneconomic","noneducational","noneffective","nonelastic","nonelectric","nonelectrical","nonemergency","nonempty","nonenforceable","nonentity","nonequivalence","nonequivalent","nones","nonessential","nonesuch","nonetheless","nonetype","nonevent","nonexchangeable","nonexclusive","nonexempt","nonexistence","nonexistent","nonexplosive","nonextensible","nonfactual","nonfading","nonfat","nonfatal","nonfattening","nonferrous","nonfiction","nonfictional","nonflammable","nonflowering","nonfluctuating","nonflying","nonfood","nonfreezing","nonfunctional","nongovernmental","nongranular","nonhazardous","nonhereditary","nonhuman","noni","nonidentical","nonie","noninclusive","nonindependent","nonindustrial","noninfectious","noninflammatory","noninflationary","noninflected","nonintellectual","noninteracting","noninterchangeable","noninterference","nonintervention","nonintoxicating","nonintuitive","noninvasive","nonionic","nonirritating","nonjudgmental","nonjudicial","nonlegal","nonlethal","nonlinear","nonlinearity","nonlinguistic","nonliterary","nonliving","nonlocal","nonmagical","nonmagnetic","nonmalignant","nonmember","nonmetal","nonmetallic","nonmigratory","nonmilitant","nonmilitary","nonna","nonnah","nonnarcotic","nonnative","nonnegative","nonnegotiable","nonnuclear","nonnull","nonnumerical","nonobjective","nonobligatory","nonobservance","nonobservant","nonoccupational","nonoccurence","nonofficial","nonogenarian","nonoperational","nonoperative","nonorthogonal","nonorthogonality","nonparallel","nonparametric","nonpareil","nonparticipant","nonparticipating","nonpartisan","nonpaying","nonpayment","nonperformance","nonperforming","nonperishable","nonperson","nonperturbing","nonphysical","nonplus","nonplussed","nonplussing","nonpoisonous","nonpolitical","nonpolluting","nonporous","nonpracticing","nonprejudicial","nonprescription","nonprocedural","nonproductive","nonprofessional","nonprofit","nonprogrammable","nonprogrammer","nonproliferation","nonpublic","nonpunishable","nonracial","nonradioactive","nonrandom","nonreactive","nonreciprocal","nonreciprocating","nonrecognition","nonrecoverable","nonrecurring","nonredeemable","nonreducing","nonrefillable","nonrefundable","nonreligious","nonrenewable","nonrepresentational","nonresident","nonresidential","nonresidual","nonresistance","nonresistant","nonrespondent","nonresponse","nonrestrictive","nonreturnable","nonrhythmic","nonrigid","nonsalaried","nonscheduled","nonscientific","nonscoring","nonseasonal","nonsectarian","nonsecular","nonsegregated","nonsense","nonsensical","nonsensicalness","nonsensitive","nonsexist","nonsexual","nonsingular","nonskid","nonslip","nonsmoker","nonsmoking","nonsocial","nonspeaking","nonspecialist","nonspecializing","nonspecific","nonspiritual","nonstaining","nonstandard","nonstarter","nonstick","nonstop","nonstrategic","nonstriking","nonstructural","nonsuccessive","nonsupervisory","nonsupport","nonsurgical","nonsustaining","nonsympathizer","nontarnishable","nontaxable","nontechnical","nontenured","nonterminal","nonterminating","nontermination","nontheatrical","nonthinking","nonthreatening","nontoxic","nontraditional","nontransferable","nontransparent","nontrivial","nontropical","nonuniform","nonunion","nonuser","nonvenomous","nonverbal","nonveteran","nonviable","nonviolence","nonviolent","nonvirulent","nonvocal","nonvocational","nonvolatile","nonvolunteer","nonvoter","nonvoting","nonwhite","nonworking","nonyielding","nonzero","noob","noodle","nook","noon","noonday","nooning","noontide","noontime","noop","noose","nop","nope","nor","nora","norad","noradrenalin","noradrenaline","norah","norbert","norberto","norbie","norby","nordhoff","nordic","nordstrom","norean","noredirect","noreen","noreferrer","norene","norfolk","norina","norine","norm","norma","normal","normalcy","normality","normalization","normalizations","normalize","normalized","normalizes","normally","normals","norman","normand","normandy","normative","normativeness","normie","normy","norplant","norri","norrie","norristown","norry","norse","norseman","norsemen","north","northampton","northbound","northeast","northeaster","northeastern","northeastward","norther","northerly","northern","northerner","northernmost","northfield","northing","northland","northmen","northrop","northrup","norths","northumberland","northward","northwest","northwester","northwestern","northwestward","norton","norw","norwalk","norway","norwegian","norwich","nos","noscript","nose","nosebag","nosebleed","nosecone","nosed","nosedive","nosegay","nosferatu","nosh","nosily","nosiness","nosing","nosql","nostalgia","nostalgic","nostalgically","nostradamus","nostrand","nostril","nostrud","nostrum","nosuchelementexception","nosuchmethoderror","nosy","not","notability","notable","notableness","notably","notarial","notarization","notarize","notary","notate","notation","notational","notative","notch","note","notebook","notebooks","noted","notedness","notempty","notepad","notepaper","notes","noteworthiness","noteworthy","notfound","nothing","nothingness","notice","noticeable","noticeably","noticeboard","noticed","notices","noticing","notif","notifiable","notification","notificationcompat","notificationmanager","notifications","notified","notifier","notify","notifydatasetchanged","notifypropertychanged","notimplementedexception","noting","notion","notional","notnull","notoriety","notorious","notoriousness","notre","nottingham","notwithstanding","nouakchott","nougat","noumea","noun","nourish","nourished","nourisher","nourishment","nous","nouveau","nouvelle","nov","nova","novae","novak","novalidate","novel","novelette","novelia","novelist","novelization","novelize","novell","novella","novelty","november","novena","novene","novgorod","novice","novitiate","novocain","novocaine","novokuznetsk","novosibirsk","now","nowadays","noway","nowell","nowhere","nowise","nowrap","noxious","noxiousness","noyce","noyes","nozzle","np","npe","npm","npmjs","npos","nr","nra","nroff","nrow","nrows","ns","nsa","nsarray","nsattributedstring","nsbundle","nscalendar","nscoder","nsdata","nsdate","nsdateformatter","nsdictionary","nsdocumentdirectory","nsentitydescription","nserror","nservicebus","nsf","nsfetchedresultscontroller","nsfetchrequest","nsfilemanager","nsindexpath","nsinteger","nsjsonserialization","nslayoutconstraint","nslog","nsmakerange","nsmanagedobject","nsmanagedobjectcontext","nsmutablearray","nsmutabledata","nsmutabledictionary","nsmutablestring","nsmutableurlrequest","nsnotification","nsnotificationcenter","nsnumber","nsobject","nsoperationqueue","nspredicate","nsrange","nssearchpathfordirectoriesindomains","nsset","nssortdescriptor","nsstring","nstimeinterval","nstimer","nsuinteger","nsurl","nsurlconnection","nsurlrequest","nsurlsession","nsuserdefaults","nsuserdomainmask","nsutf","nsvalue","nsview","nsxmlparser","nt","ntdll","nth","ntlm","ntp","nu","nuance","nub","nubbin","nubby","nubia","nubian","nubile","nuclear","nuclease","nucleate","nucleated","nucleation","nuclei","nucleic","nucleoli","nucleolus","nucleon","nucleotide","nucleus","nuclide","nude","nudely","nudeness","nudest","nudge","nudger","nudism","nudist","nudity","nugatory","nugent","nuget","nugget","nuisance","nuke","nukualofa","nul","null","nulla","nullable","nullam","nullif","nullification","nullifier","nullify","nullity","nullpointerexception","nullptr","nullreferenceexception","nulls","num","numb","numba","number","numbered","numberer","numberformat","numberformatexception","numbering","numberless","numberofrowsinsection","numberplate","numbers","numberwithint","numbing","numbness","numbskull","numel","numerable","numeracy","numeral","numerate","numerates","numeration","numerator","numeric","numerical","numero","numerological","numerologist","numerology","numerous","numerousness","numinous","numismatic","numismatics","numismatist","numpy","numrows","nums","numskull","nun","nunavut","nunc","nuncio","nunez","nunit","nunki","nunnery","nuptial","nuremberg","nureyev","nurse","nursemaid","nurser","nursery","nurseryman","nurserymen","nursling","nurture","nurturer","nus","nut","nutate","nutation","nutch","nutcrack","nutcracker","nuthatch","nutmeat","nutmeg","nutmegged","nutmegging","nutpick","nutrasweet","nutria","nutrient","nutriment","nutrition","nutritional","nutritionist","nutritious","nutritiousness","nutritive","nuts","nutshell","nutted","nuttiness","nutting","nutty","nuzzle","nv","nvarchar","nvidia","nvl","nvm","nw","nwt","nx","ny","nyasa","nyc","nydia","nye","nyerere","nylon","nymph","nymphet","nympholepsy","nymphomania","nymphomaniac","nymphs","nyquist","nyse","nyssa","nytimes","nz","o","oa","oaf","oafish","oafishness","oahu","oak","oakland","oakley","oakmont","oakum","oakwood","oar","oarlock","oarsman","oarsmen","oarswoman","oarswomen","oas","oases","oasis","oat","oatcake","oater","oates","oath","oaths","oatmeal","oauth","oaxaca","ob","obadiah","obadias","obama","obbligato","obduracy","obdurate","obdurateness","obed","obediah","obedience","obedient","obeisance","obeisant","obelisk","oberlin","oberon","obese","obesity","obey","obeyer","obfuscate","obfuscated","obfuscation","obfuscatory","obi","obidiah","obie","obit","obituary","obj","objc","object","objectanimationusingkeyframes","objectatindex","objectclass","objectcontext","objectforkey","objectid","objectify","objectinputstream","objection","objectionable","objectionableness","objectionably","objective","objectiveness","objectivity","objectmapper","objectname","objector","objectoutputstream","objects","objecttype","objphpexcel","objs","objurgate","objurgation","oblate","oblation","obligate","obligation","obligational","obligatorily","obligatory","oblige","obliged","obliger","obliges","obliging","obligingness","oblique","obliqueness","obliquity","obliterate","obliteration","obliterative","oblivion","oblivious","obliviousness","oblong","oblongness","obloquies","obloquy","obnoxious","obnoxiousness","oboe","oboist","obos","obs","obscene","obscenity","obscurantism","obscurantist","obscuration","obscure","obscureness","obscurity","obsequies","obsequious","obsequiousness","obsequy","observability","observable","observablearray","observablecollection","observablelist","observables","observably","observance","observant","observantly","observants","observation","observational","observations","observatory","observe","observed","observer","observers","observing","obsess","obsession","obsessional","obsessive","obsessiveness","obsidian","obsolesce","obsolescence","obsolescent","obsolete","obsoleteness","obstacle","obstetric","obstetrical","obstetrician","obstetrics","obstinacy","obstinate","obstinateness","obstreperous","obstreperousness","obstruct","obstructed","obstructer","obstruction","obstructionism","obstructionist","obstructive","obstructiveness","obtain","obtainable","obtainably","obtained","obtaining","obtainment","obtains","obtrude","obtruder","obtrusion","obtrusive","obtrusiveness","obtuse","obtuseness","obverse","obviate","obvious","obviously","obviousness","oby","oc","ocaml","ocarina","occ","occam","occasion","occasional","occasionally","occasions","occident","occidental","occipital","occlude","occlusion","occlusive","occult","occulter","occultism","occupancy","occupant","occupation","occupational","occupied","occupier","occupies","occupy","occur","occured","occurence","occurences","occuring","occurred","occurrence","occurrences","occurring","occurs","ocean","oceanfront","oceangoing","oceania","oceanic","oceanographer","oceanographic","oceanography","oceanology","oceanside","oceanus","ocelot","ocher","ochoa","oci","ocks","oconomowoc","ocr","oct","octagon","octagonal","octahedral","octahedron","octal","octane","octant","octave","octavia","octavian","octavio","octavius","octavo","octennial","octet","octile","octillion","october","octogenarian","octopus","octoroon","ocular","oculist","od","odalisque","odata","odbc","odd","oddball","oddity","oddly","oddment","oddness","odds","ode","odele","odelia","odelinda","odell","odella","odelle","oder","oderberg","odessa","odets","odetta","odette","odey","odie","odilia","odille","odin","odio","odious","odiousness","odis","odium","odo","odom","odometer","odoo","odor","odoriferous","odorless","odorous","ods","ody","odysseus","odyssey","oe","oed","oedipal","oedipus","oem","oems","oenology","oenophile","oersted","oesophagi","oeuvre","of","ofcourse","ofelia","ofella","off","offal","offbeat","offcuts","offenbach","offend","offender","offending","offense","offensive","offensively","offensiveness","offer","offered","offerer","offering","offers","offertory","offhand","offhanded","offhandedness","office","officeholder","officemate","officer","officership","offices","officia","official","officialdom","officialism","officially","officiant","officiate","officiation","officiator","officio","officious","officiousness","offing","offish","offline","offload","offprint","offramp","offs","offset","offsetheight","offsets","offsetting","offsettop","offsetwidth","offsetx","offsety","offshoot","offshore","offside","offspring","offstage","offtrack","ofilia","ofs","ofstream","oft","often","oftentimes","ofttimes","oftype","og","ogbomosho","ogdan","ogden","ogdon","ogg","ogilvy","ogive","ogle","oglethorpe","ogre","ogreish","ogress","oh","ohio","ohioan","ohm","ohmic","ohmmeter","oho","ohos","ohs","ohsa","oi","oid","oil","oilcloth","oilcloths","oiler","oilfield","oiliness","oilman","oilmen","oilseed","oilskin","oily","oink","ointment","oise","oj","ojibwa","ok","okamoto","okapi","okay","okayama","okeechobee","okefenokee","okhotsk","okhttp","okhttpclient","okinawa","okinawan","okla","oklahoma","oklahoman","okra","oks","oktoberfest","ol","ola","olaf","olag","olav","old","olden","oldenburg","older","oldest","oldfield","oldie","oldish","oldness","oldsmobile","oldster","olduvai","oldvalue","oldversion","ole","oleaginous","oleander","oledb","oledbcommand","oledbconnection","oledbdataadapter","olefin","oleg","olen","olenek","olenka","olenolin","oleo","oleomargarine","oles","olfactory","olga","olia","oligarch","oligarchic","oligarchical","oligarchs","oligarchy","oligocene","oligopolistic","oligopoly","olimpia","olin","olive","oliver","olivero","olivette","olivetti","olivia","olivie","olivier","oliviero","oliy","ollie","olly","olmec","olmsted","olsen","olson","olva","olvan","olwen","olympe","olympia","olympiad","olympian","olympic","olympie","olympus","om","omaha","oman","omar","ombudsman","ombudsmen","omdurman","omega","omelet","omelette","omen","omero","omg","omicron","ominous","ominousness","omission","omit","omitted","omitting","omni","omniauth","omnibus","omnipotence","omnipotent","omnipresence","omnipresent","omniscience","omniscient","omnivore","omnivorous","omnivorousness","omp","oms","omsk","on","onactivitycreated","onactivityresult","onanism","onassis","onattach","onbackpressed","onbeforeunload","onbindviewholder","onblur","oncancelled","once","onceperrequestfilter","oncer","onchange","oncheckedchanged","onclick","onclicklistener","onclientclick","onclose","oncogene","oncologist","oncology","oncoming","oncomplete","oncompleted","onconfigurationchanged","oncreate","oncreateoptionsmenu","oncreateview","oncreateviewholder","ondatachange","ondelete","ondestroy","ondraw","ondrea","one","oneal","onedrive","onega","onegin","oneida","oneness","oner","onerous","onerousness","onerror","ones","oneself","onetime","onetomany","onetoone","oneupmanship","oneway","onfailure","onfocus","onfre","onfroi","ongoing","onida","oninit","onion","onionskin","onitemclick","onitemclicklistener","onitemselected","onitemselectedlistener","onkeydown","onkeypress","onkeyup","onlayout","online","onlinedocs","onlinepubs","onload","onlocationchanged","onlooker","onlooking","only","onmeasure","onmessage","onmodelcreating","onmousedown","onmouseout","onmouseover","onnext","ono","onofredo","onomatopoeia","onomatopoeic","onomatopoetic","onondaga","onopen","onoptionsitemselected","onpause","onpostexecute","onpreexecute","onpress","onprogressupdate","onpropertychanged","onreadystatechange","onreceive","onresponse","onresume","onrush","ons","onsager","onsaveinstancestate","onscroll","onselect","onset","onsetting","onshore","onside","onslaught","onstart","onstartcommand","onstop","onsubmit","onsuccess","ont","ontarian","ontario","ontextchanged","onto","ontogeny","ontological","ontology","ontouch","ontouchevent","ontouchlistener","onupdate","onupgrade","onus","onward","onwards","onyx","oo","oodles","ooh","oohs","oolitic","oom","oona","ooo","oop","oops","oort","oos","ooze","oozie","oozy","op","opacity","opal","opalescence","opalescent","opalina","opaline","opaque","opaqueness","opcode","opcodes","ope","opec","opel","open","openapi","opencart","opencast","opencl","openconnection","opencv","opendatabase","opendir","opened","opener","openerp","openfile","openfiledialog","opengl","opengroup","openhanded","openhandedness","openhearted","openid","opening","openjdk","openjpa","openlayers","openmp","openness","openoffice.org","openpyxl","openqa","opens","opensession","openshift","opensource","openssh","openssl","openstack","openstream","openstreetmap","opensymphony","openurl","openwork","openxml","openxmlformats","opera","operable","operand","operandi","operands","operant","operate","operates","operatic","operatically","operating","operation","operational","operationalization","operationalize","operationcontract","operations","operative","operatively","operativeness","operatives","operator","operators","operetta","ophelia","ophelie","ophiuchus","ophthalmic","ophthalmologist","ophthalmology","opiate","opine","opinion","opinionated","opinionatedness","opinions","opioid","opium","opossum","opp","oppenheimer","opponent","opportune","opportunism","opportunist","opportunistic","opportunistically","opportunities","opportunity","oppose","opposed","opposer","opposite","oppositeness","opposition","oppositional","oppress","oppression","oppressive","oppressiveness","oppressor","opprobrious","opprobrium","oprah","ops","opt","opted","optgroup","opthalmic","opthalmologic","opthalmology","optic","optical","optician","optics","optima","optimal","optimality","optimisation","optimise","optimised","optimism","optimist","optimistic","optimistically","optimization","optimizations","optimize","optimized","optimizer","optimizes","optimizing","optimum","option","optional","optionality","optionally","options","optoelectronic","optometric","optometrist","optometry","opts","opulence","opulent","opus","oq","or","ora","oracle","oracular","oral","oralee","oralia","oralie","oralla","oralle","oran","orange","orangeade","orangery","oranges","orangutan","oranjestad","orate","oration","orator","oratorical","oratorio","oratory","orazio","orb","orbadiah","orbicular","orbiculares","orbit","orbital","orchard","orchestra","orchestral","orchestrate","orchestrater","orchestration","orchestrator","orchid","orci","ord","ordain","ordainer","ordainment","ordeal","order","orderby","orderbydescending","orderdate","ordered","ordereddict","orderer","orderid","ordering","orderitem","orderless","orderliness","orderly","ordernumber","orders","ordinal","ordinance","ordinarily","ordinariness","ordinary","ordinate","ordinated","ordinates","ordinating","ordination","ordnance","ordovician","ordure","ore","oreg","oregano","oregon","oregonian","orel","orelee","orelia","orelie","orella","orelle","orelse","oren","oreo","orestes","org","organ","organdie","organdy","organelle","organic","organically","organisation","organism","organismic","organist","organizable","organization","organizational","organizations","organize","organized","organizer","organizes","organizing","organometallic","organza","orgasm","orgasmic","orgiastic","orgy","oriana","oriel","orient","orientable","oriental","orientate","orientated","orientates","orientation","orientations","oriented","orienteering","orienter","orifice","orig","origami","origin","original","originality","originally","originate","originated","origination","originative","originator","origins","orin","orinoco","oriole","orion","orison","oriya","orizaba","orkney","orlan","orland","orlando","orleans","orlick","orlon","orly","orm","ormlite","ormolu","ornament","ornamental","ornamentation","ornare","ornate","ornateness","orneriness","ornery","ornithological","ornithologist","ornithology","orographic","orography","orono","orotund","orotundity","orphan","orphanage","orphanhood","orpheus","orphic","orr","orran","orren","orrin","orris","ors","orsa","orsola","orson","ortega","ortensia","orthodontia","orthodontic","orthodontics","orthodontist","orthodox","orthodoxies","orthodoxly","orthodoxy","orthogonal","orthogonality","orthogonalization","orthogonalized","orthographic","orthographically","orthography","orthonormal","orthopedic","orthopedics","orthopedist","orthophosphate","orthorhombic","ortiz","orton","orv","orval","orville","orwell","orwellian","os","osage","osaka","osbert","osborn","osborne","osbourn","osbourne","oscar","osceola","oscillate","oscillation","oscillator","oscillatory","oscilloscope","osculate","osculation","osgi","osgood","osha","oshawa","oshkosh","osier","osiris","oslo","osm","osman","osmium","osmond","osmoses","osmosis","osmotic","osmund","osprey","oss","osseous","ossie","ossification","ossify","ostensible","ostensibly","ostentation","ostentatious","ostentatiousness","osteoarthritides","osteoarthritis","osteology","osteopath","osteopathic","osteopaths","osteopathy","osteoporoses","osteoporosis","ostracise","ostracism","ostracize","ostrander","ostream","ostrich","ostrogoth","ostwald","osvaldo","oswald","oswell","osx","ot","otb","otc","otes","otf","otha","othelia","othella","othello","other","otherbuttontitles","otherness","others","otherwise","otherworld","otherworldly","othilia","othilie","otho","otiose","otis","otoh","otp","ottawa","otter","ottilie","otto","ottoman","ou","ouagadougou","oubliette","ouch","ought","oughtn","ouija","ounce","ouput","our","ours","ourself","ourselves","oust","ouster","out","outage","outargue","outback","outbalance","outbid","outbidding","outboard","outboast","outbound","outbreak","outbroke","outbroken","outbuilding","outburst","outcast","outclass","outcome","outcomes","outcrop","outcropped","outcropping","outcry","outdated","outdid","outdir","outdistance","outdo","outdoes","outdone","outdoor","outdoorsy","outdraw","outdrawn","outdrew","outer","outerheight","outerhtml","outermost","outerwear","outface","outfall","outfield","outfielder","outfight","outfile","outfit","outfitted","outfitter","outfitting","outflank","outflow","outfought","outfox","outgeneraled","outgo","outgoes","outgoing","outgrew","outgrip","outgrow","outgrown","outgrowth","outgrowths","outguess","outhit","outhitting","outhouse","outing","outlaid","outland","outlander","outlandish","outlandishness","outlast","outlaw","outlawry","outlay","outlet","outlets","outliers","outline","outlined","outlive","outlook","outlying","outmaneuver","outmatch","outmigration","outmoded","outness","outnumber","outofmemoryerror","outpaced","outpatient","outperform","outplacement","outplay","outpoint","outpost","outpour","outpouring","outproduce","output","outputdirectory","outputfile","outputlabel","outputpath","outputs","outputstream","outputstreamwriter","outputted","outputtext","outputting","outr","outrace","outrage","outrageous","outrageousness","outran","outrank","outreach","outrider","outrigger","outright","outrun","outrunning","outs","outscore","outsell","outset","outsetting","outshine","outshone","outshout","outside","outsider","outsize","outskirt","outsmart","outsold","outsource","outspend","outspent","outspoke","outspoken","outspokenness","outspread","outstanding","outstate","outstation","outstay","outstream","outstretch","outstrip","outstripped","outstripping","outtake","outvote","outward","outwardness","outwear","outweigh","outweighs","outwit","outwitted","outwitting","outwore","outwork","outworn","ouzo","ov","ova","oval","ovalness","ovarian","ovary","ovate","ovation","oven","ovenbird","over","overabundance","overabundant","overachieve","overact","overage","overaggressive","overall","overallocation","overambitious","overanxious","overarching","overarm","overate","overattentive","overawe","overbalance","overbear","overbearing","overbearingness","overbid","overbidding","overbite","overblown","overboard","overbold","overbook","overbore","overborne","overbought","overbuild","overbuilt","overburden","overburdening","overbuy","overcame","overcapacity","overcapitalize","overcareful","overcast","overcasting","overcautious","overcerebral","overcharge","overcloud","overcoat","overcoating","overcome","overcomer","overcommitment","overcompensate","overcompensation","overcomplexity","overcomplicated","overconfidence","overconfident","overconscientious","overconsumption","overcook","overcooled","overcorrection","overcritical","overcrowd","overcurious","overdecorate","overdependent","overdetermined","overdevelop","overdid","overdo","overdoes","overdone","overdose","overdraft","overdraw","overdrawn","overdress","overdrew","overdrive","overdriven","overdrove","overdub","overdubbed","overdubbing","overdue","overeager","overeagerness","overeat","overeater","overeducated","overemotional","overemphases","overemphasis","overemphasize","overenthusiastic","overestimate","overestimation","overexcite","overexercise","overexert","overexertion","overexploitation","overexploited","overexpose","overexposure","overextend","overextension","overfall","overfed","overfeed","overfill","overfishing","overflew","overflight","overflow","overflown","overflows","overfly","overfond","overfull","overgeneralize","overgenerous","overgraze","overgrew","overground","overgrow","overgrown","overgrowth","overgrowths","overhand","overhang","overhasty","overhaul","overhead","overhear","overheard","overhearer","overheat","overhung","overincredulous","overindulge","overindulgence","overindulgent","overinflated","overjoy","overkill","overladed","overladen","overlaid","overlain","overland","overlap","overlapped","overlapping","overlaps","overlarge","overlay","overlays","overleaf","overlie","overload","overloaded","overloading","overloads","overlong","overlook","overlooked","overlooking","overlord","overloud","overly","overmanning","overmaster","overmatching","overmodest","overmuch","overnice","overnight","overoptimism","overoptimistic","overpaid","overparticular","overpass","overpay","overpayment","overplay","overpopulate","overpopulation","overpopulous","overpower","overpowering","overpraise","overprecise","overpressure","overprice","overprint","overproduce","overproduction","overprotect","overprotection","overqualified","overran","overrate","overreach","overreact","overreaction","overred","overrefined","overrepresented","overridden","override","overriden","overrider","overrides","overriding","overripe","overrode","overrule","overrun","overrunning","oversample","oversaturate","oversaw","oversea","oversee","overseeing","overseen","overseer","oversell","oversensitive","oversensitiveness","oversensitivity","oversexed","overshadow","overshoe","overshoot","overshot","oversight","oversimple","oversimplification","oversimplify","oversize","oversleep","overslept","oversoft","oversoftness","oversold","overspecialization","overspecialize","overspend","overspent","overspill","overspread","overstaffed","overstate","overstatement","overstay","overstep","overstepped","overstepping","overstimulate","overstock","overstraining","overstressed","overstretch","overstrict","overstrike","overstrung","overstuffed","oversubscribe","oversubtle","oversupply","oversuspicious","overt","overtake","overtaken","overtax","overthrew","overthrow","overthrown","overtightened","overtime","overtire","overtone","overtook","overture","overturn","overuse","overvalue","overview","overweening","overweight","overwhelm","overwhelming","overwinter","overwork","overwrap","overwrite","overwrites","overwriting","overwritten","overwrote","overwrought","overzealous","overzealousness","ovid","oviduct","oviform","oviparous","ovoid","ovular","ovulate","ovulatory","ovule","ovum","ow","owasp","owe","owen","owin","owl","owlet","owlish","owlishness","own","owned","owner","ownerid","owners","ownership","owning","owns","ox","oxalate","oxalic","oxaloacetic","oxblood","oxbow","oxcart","oxen","oxford","oxidant","oxidate","oxidation","oxidative","oxide","oxidization","oxidize","oxidized","oxidizer","oxidizes","oxnard","oxonian","oxtail","oxus","oxyacetylene","oxygen","oxygenate","oxygenation","oxyhydroxides","oxymora","oxymoron","oyster","oystering","oz","ozark","ozone","ozymandias","ozzie","ozzy","p","pa","pablo","pablum","pabst","pabulum","pac","pace","pacemaker","pacer","pacesetter","pacesetting","pacheco","pachyderm","pachysandra","pacific","pacifically","pacification","pacifier","pacifism","pacifist","pacifistic","pacify","pack","package","packaged","packagemanager","packagename","packager","packages","packaging","packard","packed","packer","packet","packets","packhorse","packing","packinghouse","packs","packsaddle","packston","packwood","paco","pacorro","pact","pad","padang","padded","paddie","padding","paddingbottom","paddingleft","paddingright","paddingtop","paddle","paddler","paddock","paddy","padget","padgett","padilla","padlock","padraic","padraig","padre","padrewski","padriac","padx","pady","paean","paediatrician","paediatrics","paedophilia","paella","paeony","pagan","paganini","paganism","page","pageable","pageant","pageantry","pageboy","pagecount","paged","pageful","pageid","pageindex","pagename","pagenum","pagenumber","pager","pageradapter","pages","pagesize","pagetitle","pageview","pageviewcontroller","pagex","pagey","paginate","pagination","paginator","paging","paglia","pagoda","pahlavi","paid","paige","pail","pailful","pain","paine","painful","painfuller","painfullest","painfulness","painkiller","painkilling","painless","painlessness","painstaking","paint","paintbox","paintbrush","paintcomponent","painted","painter","painterly","painting","paintwork","pair","paired","pairing","pairs","pairwise","paisley","pajama","pakistan","pakistani","pal","palace","paladin","palaeolithic","palaeontologists","palaeontology","palanquin","palatability","palatable","palatableness","palatal","palatalization","palatalize","palate","palatial","palatinate","palatine","palaver","pale","paleface","palembang","paleness","paleocene","paleogene","paleographer","paleography","paleolithic","paleontologist","paleontology","paleozoic","palermo","palestine","palestinian","palestrina","palette","paley","palfrey","palimony","palimpsest","palindrome","palindromic","paling","palisade","palisades","palish","pall","palladio","palladium","pallbearer","pallet","palletized","palliate","palliation","palliative","pallid","pallidness","pallor","palm","palmate","palmer","palmerston","palmetto","palmist","palmistry","palmolive","palmtop","palmy","palmyra","palo","paloma","palomar","palomino","palpable","palpably","palpate","palpation","palpitate","palpitation","palsy","paltriness","paltry","paludal","pam","pamela","pamelina","pamella","pamirs","pammi","pammie","pammy","pampas","pamper","pamperer","pampers","pamphlet","pamphleteer","pan","panacea","panache","panama","panamanian","pancake","panchito","pancho","panchromatic","pancreas","pancreatic","panda","pandas","pandemic","pandemonium","pander","pandoc","pandora","pane","panegyric","panel","panelgrid","panelgroup","paneling","panelist","panelization","panelized","panels","panes","pang","pangaea","pangolin","panhandle","panic","panicked","panicking","panicky","panier","panjandrum","pankhurst","panmunjom","panned","pannier","panning","panoply","panorama","panoramic","panpipes","pansie","pansy","pant","pantagruel","pantaloon","pantaloons","pantheism","pantheist","pantheistic","pantheon","panther","pantie","pantiled","pantograph","pantomime","pantomimic","pantomimist","pantry","pantsuit","pantyhose","pantyliner","pantywaist","panza","paola","paoli","paolina","paolo","pap","papa","papacy","papagena","papageno","papal","paparazzi","papaw","papaya","paper","paperback","paperboard","paperboy","paperclip","paperer","papergirl","paperhanger","paperhanging","paperiness","paperless","papers","paperweight","paperwork","papery","papilla","papillae","papillary","papist","papoose","pappas","papped","papping","pappy","paprika","papyri","papyrus","paquito","par","para","parable","parabola","parabolic","paraboloid","paraboloidal","paracelsus","paracetamol","parachute","parachuter","parachutist","paraclete","parade","parader","paradigm","paradigmatic","paradisaic","paradisaical","paradise","paradox","paradoxic","paradoxical","paradoxicalness","paraffin","paragon","paragraph","paragrapher","paragraphs","paraguay","paraguayan","parakeet","paralegal","paralinguistic","parallax","parallel","paralleled","parallelepiped","parallelism","parallelization","parallelize","parallelogram","paralysis","paralytic","paralytically","paralyze","paralyzed","paralyzedly","paralyzer","paralyzing","paralyzingly","param","paramagnet","paramagnetic","paramaribo","paramecia","paramecium","paramedic","paramedical","parameter","parameterization","parameterize","parameterized","parameterless","parametername","parameters","parametric","parametrically","parametrization","parametrize","paramiko","paramilitary","paramname","paramount","paramour","params","paramus","paran","paranoia","paranoiac","paranoid","paranormal","parapet","paraphernalia","paraphrase","paraphraser","paraplegia","paraplegic","paraprofessional","parapsychologist","parapsychology","paraquat","parasite","parasitic","parasitically","parasitism","parasitologist","parasitology","parasol","parasympathetic","parathion","parathyroid","paratroop","paratrooper","paratyphoid","parboil","parc","parcel","parcelable","parceled","parceling","parch","parcheesi","parchment","pardon","pardonable","pardonableness","pardonably","pardoner","pare","paregoric","parens","parent","parentage","parental","parentelement","parenteral","parentheses","parenthesis","parenthesize","parenthetic","parenthetical","parenthood","parentid","parentnode","parentrunner","parents","pares","paresis","pareto","parfait","pariah","pariahs","pariatur","parietal","parimutuel","paring","paris","parish","parishioner","parisian","parity","park","parka","parke","parker","parkersburg","parkhouse","parking","parkinson","parkish","parkland","parklike","parkman","parkway","parlance","parlay","parley","parliament","parliamentarian","parliamentary","parlor","parlous","parm","parmesan","parmigiana","parnassus","parnell","parochial","parochialism","parochiality","parodied","parodist","parody","parole","parolee","paroxysm","paroxysmal","parquet","parquetry","parr","parrakeet","parred","parricidal","parricide","parring","parrish","parrnell","parrot","parrotlike","parry","pars","parse","parsec","parsecolor","parsed","parsedouble","parsee","parseexact","parseexception","parsefloat","parseint","parsejson","parseobject","parser","parsers","parses","parsifal","parsimonious","parsimony","parsing","parsley","parsnip","parson","parsonage","parsons","part","partake","partaken","partaker","parter","parterre","parthenogeneses","parthenogenesis","parthenon","parthia","partial","partiality","partially","partials","partialview","participant","participants","participate","participation","participator","participatory","participial","participle","particle","particleboard","particles","particolored","particular","particularistic","particularity","particularization","particularize","particularly","particulate","parties","parting","partisan","partisanship","partition","partitioned","partitioner","partitioning","partitions","partitive","partizan","partly","partner","partners","partnership","partnumber","partook","partridge","parts","parturition","partway","party","parvenu","pas","pasadena","pascal","pascale","paschal","pasha","paso","pasquale","pass","passably","passage","passageway","passaic","passband","passbook","passed","passel","passenger","passengers","passer","passerby","passersby","passes","passim","passing","passion","passionate","passionated","passionateness","passionates","passionating","passioned","passionflower","passioning","passionless","passivated","passive","passiveness","passivity","passkey","passmark","passover","passphrase","passport","passwd","password","passwords","past","pasta","paste","pastebin","pasteboard","pasted","pastel","pastern","pasternak","pastespecial","pasteup","pasteur","pasteurization","pasteurize","pasteurized","pasteurizer","pastiche","pastille","pastime","pastiness","pasting","pastor","pastoral","pastoralization","pastorate","pastrami","pastry","pasts","pasturage","pasture","pasturer","pasty","pat","patagonia","patagonian","patch","patched","patcher","patches","patchily","patchiness","patching","patchwork","patchy","pate","patel","patella","patellae","paten","patent","patentee","patents","pater","paterfamilias","paternal","paternalism","paternalist","paternalistic","paternity","paternoster","paterson","path","pathetic","pathetically","pathfinder","pathforresource","pathinfo","pathless","pathname","pathogen","pathogenesis","pathogenic","pathologic","pathological","pathologist","pathology","pathos","paths","pathvariable","pathway","patience","patient","patientid","patients","patin","patina","patine","patio","patna","patois","paton","patresfamilias","patriarch","patriarchal","patriarchate","patriarchs","patriarchy","patric","patrica","patrice","patricia","patrician","patricide","patricio","patrick","patrimonial","patrimony","patriot","patriotic","patriotically","patriotism","patristic","patrizia","patrizio","patrizius","patrol","patrolled","patrolling","patrolman","patrolmen","patrolwoman","patrolwomen","patron","patronage","patroness","patronization","patronize","patronized","patronizer","patronizes","patronizing","patronymic","patronymically","patroon","patsy","patted","patten","patter","patterer","pattern","patternlayout","patternless","patterns","patterson","patti","pattie","pattin","patting","patton","patty","paucity","paul","paula","paule","pauletta","paulette","pauli","paulie","paulina","pauline","pauling","paulita","paulo","paulsen","paulson","paulus","pauly","paunch","paunchiness","paunchy","pauper","pauperism","pauperize","pause","paused","pauses","pavarotti","pave","paved","pavel","pavement","paver","paves","pavia","pavilion (…)