blob: 61b6a488904f2606adeb5ddd3c73717092461271 [file] [log] [blame]
function Fge(o,i){const a=Object.create(null),u=o.split(",");for(let p=0;p<u.length;p++)a[u[p]]=!0;return i?p=>!!a[p.toLowerCase()]:p=>!!a[p]}const O_={},DN=[],G2=()=>{},cwt=()=>!1,lwt=/^on[^a-z]/,kR=o=>lwt.test(o),Rge=o=>o.startsWith("onUpdate:"),pd=Object.assign,Bge=(o,i)=>{const a=o.indexOf(i);a>-1&&o.splice(a,1)},uwt=Object.prototype.hasOwnProperty,Cu=(o,i)=>uwt.call(o,i),ec=Array.isArray,NN=o=>CR(o)==="[object Map]",HX=o=>CR(o)==="[object Set]",ARe=o=>CR(o)==="[object Date]",tl=o=>typeof o=="function",Cp=o=>typeof o=="string",FF=o=>typeof o=="symbol",Vf=o=>o!==null&&typeof o=="object",tUe=o=>Vf(o)&&tl(o.then)&&tl(o.catch),rUe=Object.prototype.toString,CR=o=>rUe.call(o),fwt=o=>CR(o).slice(8,-1),nUe=o=>CR(o)==="[object Object]",jge=o=>Cp(o)&&o!=="NaN"&&o[0]!=="-"&&""+parseInt(o,10)===o,hF=Fge(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),GX=o=>{const i=Object.create(null);return a=>i[a]||(i[a]=o(a))},_wt=/-(\w)/g,tx=GX(o=>o.replace(_wt,(i,a)=>a?a.toUpperCase():"")),pwt=/\B([A-Z])/g,CA=GX(o=>o.replace(pwt,"-$1").toLowerCase()),XX=GX(o=>o.charAt(0).toUpperCase()+o.slice(1)),PG=GX(o=>o?`on${XX(o)}`:""),RF=(o,i)=>!Object.is(o,i),DG=(o,i)=>{for(let a=0;a<o.length;a++)o[a](i)},GG=(o,i,a)=>{Object.defineProperty(o,i,{configurable:!0,enumerable:!1,value:a})},hhe=o=>{const i=parseFloat(o);return isNaN(i)?o:i},dwt=o=>{const i=Cp(o)?Number(o):NaN;return isNaN(i)?o:i};let PRe;const ghe=()=>PRe||(PRe=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function QX(o){if(ec(o)){const i={};for(let a=0;a<o.length;a++){const u=o[a],p=Cp(u)?ywt(u):QX(u);if(p)for(const y in p)i[y]=p[y]}return i}else{if(Cp(o))return o;if(Vf(o))return o}}const mwt=/;(?![^(]*\))/g,hwt=/:([^]+)/,gwt=/\/\*[^]*?\*\//g;function ywt(o){const i={};return o.replace(gwt,"").split(mwt).forEach(a=>{if(a){const u=a.split(hwt);u.length>1&&(i[u[0].trim()]=u[1].trim())}}),i}function YX(o){let i="";if(Cp(o))i=o;else if(ec(o))for(let a=0;a<o.length;a++){const u=YX(o[a]);u&&(i+=u+" ")}else if(Vf(o))for(const a in o)o[a]&&(i+=a+" ");return i.trim()}function lRt(o){if(!o)return null;let{class:i,style:a}=o;return i&&!Cp(i)&&(o.class=YX(i)),a&&(o.style=QX(a)),o}const vwt="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",bwt=Fge(vwt);function iUe(o){return!!o||o===""}function Twt(o,i){if(o.length!==i.length)return!1;let a=!0;for(let u=0;a&&u<o.length;u++)a=zN(o[u],i[u]);return a}function zN(o,i){if(o===i)return!0;let a=ARe(o),u=ARe(i);if(a||u)return a&&u?o.getTime()===i.getTime():!1;if(a=FF(o),u=FF(i),a||u)return o===i;if(a=ec(o),u=ec(i),a||u)return a&&u?Twt(o,i):!1;if(a=Vf(o),u=Vf(i),a||u){if(!a||!u)return!1;const p=Object.keys(o).length,y=Object.keys(i).length;if(p!==y)return!1;for(const T in o){const P=o.hasOwnProperty(T),I=i.hasOwnProperty(T);if(P&&!I||!P&&I||!zN(o[T],i[T]))return!1}}return String(o)===String(i)}function sUe(o,i){return o.findIndex(a=>zN(a,i))}const uRt=o=>Cp(o)?o:o==null?"":ec(o)||Vf(o)&&(o.toString===rUe||!tl(o.toString))?JSON.stringify(o,aUe,2):String(o),aUe=(o,i)=>i&&i.__v_isRef?aUe(o,i.value):NN(i)?{[`Map(${i.size})`]:[...i.entries()].reduce((a,[u,p])=>(a[`${u} =>`]=p,a),{})}:HX(i)?{[`Set(${i.size})`]:[...i.values()]}:Vf(i)&&!ec(i)&&!nUe(i)?String(i):i;let H1;class oUe{constructor(i=!1){this.detached=i,this._active=!0,this.effects=[],this.cleanups=[],this.parent=H1,!i&&H1&&(this.index=(H1.scopes||(H1.scopes=[])).push(this)-1)}get active(){return this._active}run(i){if(this._active){const a=H1;try{return H1=this,i()}finally{H1=a}}}on(){H1=this}off(){H1=this.parent}stop(i){if(this._active){let a,u;for(a=0,u=this.effects.length;a<u;a++)this.effects[a].stop();for(a=0,u=this.cleanups.length;a<u;a++)this.cleanups[a]();if(this.scopes)for(a=0,u=this.scopes.length;a<u;a++)this.scopes[a].stop(!0);if(!this.detached&&this.parent&&!i){const p=this.parent.scopes.pop();p&&p!==this&&(this.parent.scopes[this.index]=p,p.index=this.index)}this.parent=void 0,this._active=!1}}}function fRt(o){return new oUe(o)}function Swt(o,i=H1){i&&i.active&&i.effects.push(o)}function xwt(){return H1}function _Rt(o){H1&&H1.cleanups.push(o)}const Jge=o=>{const i=new Set(o);return i.w=0,i.n=0,i},cUe=o=>(o.w&n6)>0,lUe=o=>(o.n&n6)>0,kwt=({deps:o})=>{if(o.length)for(let i=0;i<o.length;i++)o[i].w|=n6},Cwt=o=>{const{deps:i}=o;if(i.length){let a=0;for(let u=0;u<i.length;u++){const p=i[u];cUe(p)&&!lUe(p)?p.delete(o):i[a++]=p,p.w&=~n6,p.n&=~n6}i.length=a}},XG=new WeakMap;let _F=0,n6=1;const yhe=30;let q2;const aA=Symbol(""),vhe=Symbol("");class Uge{constructor(i,a=null,u){this.fn=i,this.scheduler=a,this.active=!0,this.deps=[],this.parent=void 0,Swt(this,u)}run(){if(!this.active)return this.fn();let i=q2,a=KE;for(;i;){if(i===this)return;i=i.parent}try{return this.parent=q2,q2=this,KE=!0,n6=1<<++_F,_F<=yhe?kwt(this):DRe(this),this.fn()}finally{_F<=yhe&&Cwt(this),n6=1<<--_F,q2=this.parent,KE=a,this.parent=void 0,this.deferStop&&this.stop()}}stop(){q2===this?this.deferStop=!0:this.active&&(DRe(this),this.onStop&&this.onStop(),this.active=!1)}}function DRe(o){const{deps:i}=o;if(i.length){for(let a=0;a<i.length;a++)i[a].delete(o);i.length=0}}let KE=!0;const uUe=[];function dI(){uUe.push(KE),KE=!1}function mI(){const o=uUe.pop();KE=o===void 0?!0:o}function B0(o,i,a){if(KE&&q2){let u=XG.get(o);u||XG.set(o,u=new Map);let p=u.get(a);p||u.set(a,p=Jge()),fUe(p)}}function fUe(o,i){let a=!1;_F<=yhe?lUe(o)||(o.n|=n6,a=!cUe(o)):a=!o.has(q2),a&&(o.add(q2),q2.deps.push(o))}function oC(o,i,a,u,p,y){const T=XG.get(o);if(!T)return;let P=[];if(i==="clear")P=[...T.values()];else if(a==="length"&&ec(o)){const I=Number(u);T.forEach((B,z)=>{(z==="length"||z>=I)&&P.push(B)})}else switch(a!==void 0&&P.push(T.get(a)),i){case"add":ec(o)?jge(a)&&P.push(T.get("length")):(P.push(T.get(aA)),NN(o)&&P.push(T.get(vhe)));break;case"delete":ec(o)||(P.push(T.get(aA)),NN(o)&&P.push(T.get(vhe)));break;case"set":NN(o)&&P.push(T.get(aA));break}if(P.length===1)P[0]&&bhe(P[0]);else{const I=[];for(const B of P)B&&I.push(...B);bhe(Jge(I))}}function bhe(o,i){const a=ec(o)?o:[...o];for(const u of a)u.computed&&NRe(u);for(const u of a)u.computed||NRe(u)}function NRe(o,i){(o!==q2||o.allowRecurse)&&(o.scheduler?o.scheduler():o.run())}function wwt(o,i){var a;return(a=XG.get(o))==null?void 0:a.get(i)}const Ewt=Fge("__proto__,__v_isRef,__isVue"),_Ue=new Set(Object.getOwnPropertyNames(Symbol).filter(o=>o!=="arguments"&&o!=="caller").map(o=>Symbol[o]).filter(FF)),Awt=zge(),Pwt=zge(!1,!0),Dwt=zge(!0),IRe=Nwt();function Nwt(){const o={};return["includes","indexOf","lastIndexOf"].forEach(i=>{o[i]=function(...a){const u=mu(this);for(let y=0,T=this.length;y<T;y++)B0(u,"get",y+"");const p=u[i](...a);return p===-1||p===!1?u[i](...a.map(mu)):p}}),["push","pop","shift","unshift","splice"].forEach(i=>{o[i]=function(...a){dI();const u=mu(this)[i].apply(this,a);return mI(),u}}),o}function Iwt(o){const i=mu(this);return B0(i,"has",o),i.hasOwnProperty(o)}function zge(o=!1,i=!1){return function(u,p,y){if(p==="__v_isReactive")return!o;if(p==="__v_isReadonly")return o;if(p==="__v_isShallow")return i;if(p==="__v_raw"&&y===(o?i?Gwt:gUe:i?hUe:mUe).get(u))return u;const T=ec(u);if(!o){if(T&&Cu(IRe,p))return Reflect.get(IRe,p,y);if(p==="hasOwnProperty")return Iwt}const P=Reflect.get(u,p,y);return(FF(p)?_Ue.has(p):Ewt(p))||(o||B0(u,"get",p),i)?P:Hm(P)?T&&jge(p)?P:P.value:Vf(P)?o?yUe(P):hI(P):P}}const Owt=pUe(),Lwt=pUe(!0);function pUe(o=!1){return function(a,u,p,y){let T=a[u];if(VN(T)&&Hm(T)&&!Hm(p))return!1;if(!o&&(!QG(p)&&!VN(p)&&(T=mu(T),p=mu(p)),!ec(a)&&Hm(T)&&!Hm(p)))return T.value=p,!0;const P=ec(a)&&jge(u)?Number(u)<a.length:Cu(a,u),I=Reflect.set(a,u,p,y);return a===mu(y)&&(P?RF(p,T)&&oC(a,"set",u,p):oC(a,"add",u,p)),I}}function Mwt(o,i){const a=Cu(o,i);o[i];const u=Reflect.deleteProperty(o,i);return u&&a&&oC(o,"delete",i,void 0),u}function Fwt(o,i){const a=Reflect.has(o,i);return(!FF(i)||!_Ue.has(i))&&B0(o,"has",i),a}function Rwt(o){return B0(o,"iterate",ec(o)?"length":aA),Reflect.ownKeys(o)}const dUe={get:Awt,set:Owt,deleteProperty:Mwt,has:Fwt,ownKeys:Rwt},Bwt={get:Dwt,set(o,i){return!0},deleteProperty(o,i){return!0}},jwt=pd({},dUe,{get:Pwt,set:Lwt}),Vge=o=>o,ZX=o=>Reflect.getPrototypeOf(o);function nG(o,i,a=!1,u=!1){o=o.__v_raw;const p=mu(o),y=mu(i);a||(i!==y&&B0(p,"get",i),B0(p,"get",y));const{has:T}=ZX(p),P=u?Vge:a?Wge:BF;if(T.call(p,i))return P(o.get(i));if(T.call(p,y))return P(o.get(y));o!==p&&o.get(i)}function iG(o,i=!1){const a=this.__v_raw,u=mu(a),p=mu(o);return i||(o!==p&&B0(u,"has",o),B0(u,"has",p)),o===p?a.has(o):a.has(o)||a.has(p)}function sG(o,i=!1){return o=o.__v_raw,!i&&B0(mu(o),"iterate",aA),Reflect.get(o,"size",o)}function ORe(o){o=mu(o);const i=mu(this);return ZX(i).has.call(i,o)||(i.add(o),oC(i,"add",o,o)),this}function LRe(o,i){i=mu(i);const a=mu(this),{has:u,get:p}=ZX(a);let y=u.call(a,o);y||(o=mu(o),y=u.call(a,o));const T=p.call(a,o);return a.set(o,i),y?RF(i,T)&&oC(a,"set",o,i):oC(a,"add",o,i),this}function MRe(o){const i=mu(this),{has:a,get:u}=ZX(i);let p=a.call(i,o);p||(o=mu(o),p=a.call(i,o)),u&&u.call(i,o);const y=i.delete(o);return p&&oC(i,"delete",o,void 0),y}function FRe(){const o=mu(this),i=o.size!==0,a=o.clear();return i&&oC(o,"clear",void 0,void 0),a}function aG(o,i){return function(u,p){const y=this,T=y.__v_raw,P=mu(T),I=i?Vge:o?Wge:BF;return!o&&B0(P,"iterate",aA),T.forEach((B,z)=>u.call(p,I(B),I(z),y))}}function oG(o,i,a){return function(...u){const p=this.__v_raw,y=mu(p),T=NN(y),P=o==="entries"||o===Symbol.iterator&&T,I=o==="keys"&&T,B=p[o](...u),z=a?Vge:i?Wge:BF;return!i&&B0(y,"iterate",I?vhe:aA),{next(){const{value:H,done:Q}=B.next();return Q?{value:H,done:Q}:{value:P?[z(H[0]),z(H[1])]:z(H),done:Q}},[Symbol.iterator](){return this}}}}function jE(o){return function(...i){return o==="delete"?!1:this}}function Jwt(){const o={get(y){return nG(this,y)},get size(){return sG(this)},has:iG,add:ORe,set:LRe,delete:MRe,clear:FRe,forEach:aG(!1,!1)},i={get(y){return nG(this,y,!1,!0)},get size(){return sG(this)},has:iG,add:ORe,set:LRe,delete:MRe,clear:FRe,forEach:aG(!1,!0)},a={get(y){return nG(this,y,!0)},get size(){return sG(this,!0)},has(y){return iG.call(this,y,!0)},add:jE("add"),set:jE("set"),delete:jE("delete"),clear:jE("clear"),forEach:aG(!0,!1)},u={get(y){return nG(this,y,!0,!0)},get size(){return sG(this,!0)},has(y){return iG.call(this,y,!0)},add:jE("add"),set:jE("set"),delete:jE("delete"),clear:jE("clear"),forEach:aG(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(y=>{o[y]=oG(y,!1,!1),a[y]=oG(y,!0,!1),i[y]=oG(y,!1,!0),u[y]=oG(y,!0,!0)}),[o,a,i,u]}const[Uwt,zwt,Vwt,$wt]=Jwt();function $ge(o,i){const a=i?o?$wt:Vwt:o?zwt:Uwt;return(u,p,y)=>p==="__v_isReactive"?!o:p==="__v_isReadonly"?o:p==="__v_raw"?u:Reflect.get(Cu(a,p)&&p in u?a:u,p,y)}const qwt={get:$ge(!1,!1)},Wwt={get:$ge(!1,!0)},Hwt={get:$ge(!0,!1)},mUe=new WeakMap,hUe=new WeakMap,gUe=new WeakMap,Gwt=new WeakMap;function Xwt(o){switch(o){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Qwt(o){return o.__v_skip||!Object.isExtensible(o)?0:Xwt(fwt(o))}function hI(o){return VN(o)?o:qge(o,!1,dUe,qwt,mUe)}function Ywt(o){return qge(o,!1,jwt,Wwt,hUe)}function yUe(o){return qge(o,!0,Bwt,Hwt,gUe)}function qge(o,i,a,u,p){if(!Vf(o)||o.__v_raw&&!(i&&o.__v_isReactive))return o;const y=p.get(o);if(y)return y;const T=Qwt(o);if(T===0)return o;const P=new Proxy(o,T===2?u:a);return p.set(o,P),P}function IN(o){return VN(o)?IN(o.__v_raw):!!(o&&o.__v_isReactive)}function VN(o){return!!(o&&o.__v_isReadonly)}function QG(o){return!!(o&&o.__v_isShallow)}function vUe(o){return IN(o)||VN(o)}function mu(o){const i=o&&o.__v_raw;return i?mu(i):o}function bUe(o){return GG(o,"__v_skip",!0),o}const BF=o=>Vf(o)?hI(o):o,Wge=o=>Vf(o)?yUe(o):o;function TUe(o){KE&&q2&&(o=mu(o),fUe(o.dep||(o.dep=Jge())))}function Hge(o,i){o=mu(o);const a=o.dep;a&&bhe(a)}function Hm(o){return!!(o&&o.__v_isRef===!0)}function gF(o){return SUe(o,!1)}function Zwt(o){return SUe(o,!0)}function SUe(o,i){return Hm(o)?o:new Kwt(o,i)}class Kwt{constructor(i,a){this.__v_isShallow=a,this.dep=void 0,this.__v_isRef=!0,this._rawValue=a?i:mu(i),this._value=a?i:BF(i)}get value(){return TUe(this),this._value}set value(i){const a=this.__v_isShallow||QG(i)||VN(i);i=a?i:mu(i),RF(i,this._rawValue)&&(this._rawValue=i,this._value=a?i:BF(i),Hge(this))}}function pRt(o){Hge(o)}function iC(o){return Hm(o)?o.value:o}const eEt={get:(o,i,a)=>iC(Reflect.get(o,i,a)),set:(o,i,a,u)=>{const p=o[i];return Hm(p)&&!Hm(a)?(p.value=a,!0):Reflect.set(o,i,a,u)}};function xUe(o){return IN(o)?o:new Proxy(o,eEt)}function dRt(o){const i=ec(o)?new Array(o.length):{};for(const a in o)i[a]=kUe(o,a);return i}class tEt{constructor(i,a,u){this._object=i,this._key=a,this._defaultValue=u,this.__v_isRef=!0}get value(){const i=this._object[this._key];return i===void 0?this._defaultValue:i}set value(i){this._object[this._key]=i}get dep(){return wwt(mu(this._object),this._key)}}class rEt{constructor(i){this._getter=i,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function mRt(o,i,a){return Hm(o)?o:tl(o)?new rEt(o):Vf(o)&&arguments.length>1?kUe(o,i,a):gF(o)}function kUe(o,i,a){const u=o[i];return Hm(u)?u:new tEt(o,i,a)}class nEt{constructor(i,a,u,p){this._setter=a,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Uge(i,()=>{this._dirty||(this._dirty=!0,Hge(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!p,this.__v_isReadonly=u}get value(){const i=mu(this);return TUe(i),(i._dirty||!i._cacheable)&&(i._dirty=!1,i._value=i.effect.run()),i._value}set value(i){this._setter(i)}}function iEt(o,i,a=!1){let u,p;const y=tl(o);return y?(u=o,p=G2):(u=o.get,p=o.set),new nEt(u,p,y||!p,a)}function hRt(o,...i){}function e6(o,i,a,u){let p;try{p=u?o(...u):o()}catch(y){wR(y,i,a)}return p}function kb(o,i,a,u){if(tl(o)){const y=e6(o,i,a,u);return y&&tUe(y)&&y.catch(T=>{wR(T,i,a)}),y}const p=[];for(let y=0;y<o.length;y++)p.push(kb(o[y],i,a,u));return p}function wR(o,i,a,u=!0){const p=i?i.vnode:null;if(i){let y=i.parent;const T=i.proxy,P=a;for(;y;){const B=y.ec;if(B){for(let z=0;z<B.length;z++)if(B[z](o,T,P)===!1)return}y=y.parent}const I=i.appContext.config.errorHandler;if(I){e6(I,null,10,[o,T,P]);return}}sEt(o,a,p,u)}function sEt(o,i,a,u=!0){console.error(o)}let jF=!1,The=!1;const Eg=[];let HS=0;const ON=[];let Hk=null,K3=0;const CUe=Promise.resolve();let Gge=null;function wUe(o){const i=Gge||CUe;return o?i.then(this?o.bind(this):o):i}function aEt(o){let i=HS+1,a=Eg.length;for(;i<a;){const u=i+a>>>1;JF(Eg[u])<o?i=u+1:a=u}return i}function KX(o){(!Eg.length||!Eg.includes(o,jF&&o.allowRecurse?HS+1:HS))&&(o.id==null?Eg.push(o):Eg.splice(aEt(o.id),0,o),EUe())}function EUe(){!jF&&!The&&(The=!0,Gge=CUe.then(AUe))}function oEt(o){const i=Eg.indexOf(o);i>HS&&Eg.splice(i,1)}function cEt(o){ec(o)?ON.push(...o):(!Hk||!Hk.includes(o,o.allowRecurse?K3+1:K3))&&ON.push(o),EUe()}function RRe(o,i=jF?HS+1:0){for(;i<Eg.length;i++){const a=Eg[i];a&&a.pre&&(Eg.splice(i,1),i--,a())}}function YG(o){if(ON.length){const i=[...new Set(ON)];if(ON.length=0,Hk){Hk.push(...i);return}for(Hk=i,Hk.sort((a,u)=>JF(a)-JF(u)),K3=0;K3<Hk.length;K3++)Hk[K3]();Hk=null,K3=0}}const JF=o=>o.id==null?1/0:o.id,lEt=(o,i)=>{const a=JF(o)-JF(i);if(a===0){if(o.pre&&!i.pre)return-1;if(i.pre&&!o.pre)return 1}return a};function AUe(o){The=!1,jF=!0,Eg.sort(lEt);const i=G2;try{for(HS=0;HS<Eg.length;HS++){const a=Eg[HS];a&&a.active!==!1&&e6(a,null,14)}}finally{HS=0,Eg.length=0,YG(),jF=!1,Gge=null,(Eg.length||ON.length)&&AUe()}}function uEt(o,i,...a){if(o.isUnmounted)return;const u=o.vnode.props||O_;let p=a;const y=i.startsWith("update:"),T=y&&i.slice(7);if(T&&T in u){const z=`${T==="modelValue"?"model":T}Modifiers`,{number:H,trim:Q}=u[z]||O_;Q&&(p=a.map(Ie=>Cp(Ie)?Ie.trim():Ie)),H&&(p=a.map(hhe))}let P,I=u[P=PG(i)]||u[P=PG(tx(i))];!I&&y&&(I=u[P=PG(CA(i))]),I&&kb(I,o,6,p);const B=u[P+"Once"];if(B){if(!o.emitted)o.emitted={};else if(o.emitted[P])return;o.emitted[P]=!0,kb(B,o,6,p)}}function PUe(o,i,a=!1){const u=i.emitsCache,p=u.get(o);if(p!==void 0)return p;const y=o.emits;let T={},P=!1;if(!tl(o)){const I=B=>{const z=PUe(B,i,!0);z&&(P=!0,pd(T,z))};!a&&i.mixins.length&&i.mixins.forEach(I),o.extends&&I(o.extends),o.mixins&&o.mixins.forEach(I)}return!y&&!P?(Vf(o)&&u.set(o,null),null):(ec(y)?y.forEach(I=>T[I]=null):pd(T,y),Vf(o)&&u.set(o,T),T)}function eQ(o,i){return!o||!kR(i)?!1:(i=i.slice(2).replace(/Once$/,""),Cu(o,i[0].toLowerCase()+i.slice(1))||Cu(o,CA(i))||Cu(o,i))}let Ph=null,tQ=null;function ZG(o){const i=Ph;return Ph=o,tQ=o&&o.type.__scopeId||null,i}function gRt(o){tQ=o}function yRt(){tQ=null}function fEt(o,i=Ph,a){if(!i||o._n)return o;const u=(...p)=>{u._d&&QRe(-1);const y=ZG(i);let T;try{T=o(...p)}finally{ZG(y),u._d&&QRe(1)}return T};return u._n=!0,u._c=!0,u._d=!0,u}function Pme(o){const{type:i,vnode:a,proxy:u,withProxy:p,props:y,propsOptions:[T],slots:P,attrs:I,emit:B,render:z,renderCache:H,data:Q,setupState:Ie,ctx:ze,inheritAttrs:Ue}=o;let et,Ve;const vt=ZG(o);try{if(a.shapeFlag&4){const He=p||u;et=$2(z.call(He,He,H,y,Ie,Q,ze)),Ve=I}else{const He=i;et=$2(He.length>1?He(y,{attrs:I,slots:P,emit:B}):He(y,null)),Ve=i.props?I:_Et(I)}}catch(He){TF.length=0,wR(He,o,1),et=Gp(Q1)}let ut=et;if(Ve&&Ue!==!1){const He=Object.keys(Ve),{shapeFlag:Bt}=ut;He.length&&Bt&7&&(T&&He.some(Rge)&&(Ve=pEt(Ve,T)),ut=i6(ut,Ve))}return a.dirs&&(ut=i6(ut),ut.dirs=ut.dirs?ut.dirs.concat(a.dirs):a.dirs),a.transition&&(ut.transition=a.transition),et=ut,ZG(vt),et}const _Et=o=>{let i;for(const a in o)(a==="class"||a==="style"||kR(a))&&((i||(i={}))[a]=o[a]);return i},pEt=(o,i)=>{const a={};for(const u in o)(!Rge(u)||!(u.slice(9)in i))&&(a[u]=o[u]);return a};function dEt(o,i,a){const{props:u,children:p,component:y}=o,{props:T,children:P,patchFlag:I}=i,B=y.emitsOptions;if(i.dirs||i.transition)return!0;if(a&&I>=0){if(I&1024)return!0;if(I&16)return u?BRe(u,T,B):!!T;if(I&8){const z=i.dynamicProps;for(let H=0;H<z.length;H++){const Q=z[H];if(T[Q]!==u[Q]&&!eQ(B,Q))return!0}}}else return(p||P)&&(!P||!P.$stable)?!0:u===T?!1:u?T?BRe(u,T,B):!0:!!T;return!1}function BRe(o,i,a){const u=Object.keys(i);if(u.length!==Object.keys(o).length)return!0;for(let p=0;p<u.length;p++){const y=u[p];if(i[y]!==o[y]&&!eQ(a,y))return!0}return!1}function mEt({vnode:o,parent:i},a){for(;i&&i.subTree===o;)(o=i.vnode).el=a,i=i.parent}const hEt=o=>o.__isSuspense;function DUe(o,i){i&&i.pendingBranch?ec(o)?i.effects.push(...o):i.effects.push(o):cEt(o)}function vRt(o,i){return Xge(o,null,i)}const cG={};function NG(o,i,a){return Xge(o,i,a)}function Xge(o,i,{immediate:a,deep:u,flush:p,onTrack:y,onTrigger:T}=O_){var P;const I=xwt()===((P=hm)==null?void 0:P.scope)?hm:null;let B,z=!1,H=!1;if(Hm(o)?(B=()=>o.value,z=QG(o)):IN(o)?(B=()=>o,u=!0):ec(o)?(H=!0,z=o.some(He=>IN(He)||QG(He)),B=()=>o.map(He=>{if(Hm(He))return He.value;if(IN(He))return rA(He);if(tl(He))return e6(He,I,2)})):tl(o)?i?B=()=>e6(o,I,2):B=()=>{if(!(I&&I.isUnmounted))return Q&&Q(),kb(o,I,3,[Ie])}:B=G2,i&&u){const He=B;B=()=>rA(He())}let Q,Ie=He=>{Q=vt.onStop=()=>{e6(He,I,4)}},ze;if(WN)if(Ie=G2,i?a&&kb(i,I,3,[B(),H?[]:void 0,Ie]):B(),p==="sync"){const He=l6t();ze=He.__watcherHandles||(He.__watcherHandles=[])}else return G2;let Ue=H?new Array(o.length).fill(cG):cG;const et=()=>{if(vt.active)if(i){const He=vt.run();(u||z||(H?He.some((Bt,ar)=>RF(Bt,Ue[ar])):RF(He,Ue)))&&(Q&&Q(),kb(i,I,3,[He,Ue===cG?void 0:H&&Ue[0]===cG?[]:Ue,Ie]),Ue=He)}else vt.run()};et.allowRecurse=!!i;let Ve;p==="sync"?Ve=et:p==="post"?Ve=()=>I0(et,I&&I.suspense):(et.pre=!0,I&&(et.id=I.uid),Ve=()=>KX(et));const vt=new Uge(B,Ve);i?a?et():Ue=vt.run():p==="post"?I0(vt.run.bind(vt),I&&I.suspense):vt.run();const ut=()=>{vt.stop(),I&&I.scope&&Bge(I.scope.effects,vt)};return ze&&ze.push(ut),ut}function gEt(o,i,a){const u=this.proxy,p=Cp(o)?o.includes(".")?NUe(u,o):()=>u[o]:o.bind(u,u);let y;tl(i)?y=i:(y=i.handler,a=i);const T=hm;qN(this);const P=Xge(p,y.bind(u),a);return T?qN(T):oA(),P}function NUe(o,i){const a=i.split(".");return()=>{let u=o;for(let p=0;p<a.length&&u;p++)u=u[a[p]];return u}}function rA(o,i){if(!Vf(o)||o.__v_skip||(i=i||new Set,i.has(o)))return o;if(i.add(o),Hm(o))rA(o.value,i);else if(ec(o))for(let a=0;a<o.length;a++)rA(o[a],i);else if(HX(o)||NN(o))o.forEach(a=>{rA(a,i)});else if(nUe(o))for(const a in o)rA(o[a],i);return o}function bRt(o,i){const a=Ph;if(a===null)return o;const u=sQ(a)||a.proxy,p=o.dirs||(o.dirs=[]);for(let y=0;y<i.length;y++){let[T,P,I,B=O_]=i[y];T&&(tl(T)&&(T={mounted:T,updated:T}),T.deep&&rA(P),p.push({dir:T,instance:u,value:P,oldValue:void 0,arg:I,modifiers:B}))}return o}function WS(o,i,a,u){const p=o.dirs,y=i&&i.dirs;for(let T=0;T<p.length;T++){const P=p[T];y&&(P.oldValue=y[T].value);let I=P.dir[u];I&&(dI(),kb(I,a,8,[o.el,P,o,i]),mI())}}function IUe(){const o={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return FUe(()=>{o.isMounted=!0}),BUe(()=>{o.isUnmounting=!0}),o}const vb=[Function,Array],OUe={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:vb,onEnter:vb,onAfterEnter:vb,onEnterCancelled:vb,onBeforeLeave:vb,onLeave:vb,onAfterLeave:vb,onLeaveCancelled:vb,onBeforeAppear:vb,onAppear:vb,onAfterAppear:vb,onAppearCancelled:vb},yEt={name:"BaseTransition",props:OUe,setup(o,{slots:i}){const a=nye(),u=IUe();let p;return()=>{const y=i.default&&Qge(i.default(),!0);if(!y||!y.length)return;let T=y[0];if(y.length>1){for(const Ue of y)if(Ue.type!==Q1){T=Ue;break}}const P=mu(o),{mode:I}=P;if(u.isLeaving)return Dme(T);const B=jRe(T);if(!B)return Dme(T);const z=UF(B,P,u,a);zF(B,z);const H=a.subTree,Q=H&&jRe(H);let Ie=!1;const{getTransitionKey:ze}=B.type;if(ze){const Ue=ze();p===void 0?p=Ue:Ue!==p&&(p=Ue,Ie=!0)}if(Q&&Q.type!==Q1&&(!eA(B,Q)||Ie)){const Ue=UF(Q,P,u,a);if(zF(Q,Ue),I==="out-in")return u.isLeaving=!0,Ue.afterLeave=()=>{u.isLeaving=!1,a.update.active!==!1&&a.update()},Dme(T);I==="in-out"&&B.type!==Q1&&(Ue.delayLeave=(et,Ve,vt)=>{const ut=LUe(u,Q);ut[String(Q.key)]=Q,et._leaveCb=()=>{Ve(),et._leaveCb=void 0,delete z.delayedLeave},z.delayedLeave=vt})}return T}}},vEt=yEt;function LUe(o,i){const{leavingVNodes:a}=o;let u=a.get(i.type);return u||(u=Object.create(null),a.set(i.type,u)),u}function UF(o,i,a,u){const{appear:p,mode:y,persisted:T=!1,onBeforeEnter:P,onEnter:I,onAfterEnter:B,onEnterCancelled:z,onBeforeLeave:H,onLeave:Q,onAfterLeave:Ie,onLeaveCancelled:ze,onBeforeAppear:Ue,onAppear:et,onAfterAppear:Ve,onAppearCancelled:vt}=i,ut=String(o.key),He=LUe(a,o),Bt=(Ot,xt)=>{Ot&&kb(Ot,u,9,xt)},ar=(Ot,xt)=>{const Wt=xt[1];Bt(Ot,xt),ec(Ot)?Ot.every(_r=>_r.length<=1)&&Wt():Ot.length<=1&&Wt()},kr={mode:y,persisted:T,beforeEnter(Ot){let xt=P;if(!a.isMounted)if(p)xt=Ue||P;else return;Ot._leaveCb&&Ot._leaveCb(!0);const Wt=He[ut];Wt&&eA(o,Wt)&&Wt.el._leaveCb&&Wt.el._leaveCb(),Bt(xt,[Ot])},enter(Ot){let xt=I,Wt=B,_r=z;if(!a.isMounted)if(p)xt=et||I,Wt=Ve||B,_r=vt||z;else return;let An=!1;const hr=Ot._enterCb=Fi=>{An||(An=!0,Fi?Bt(_r,[Ot]):Bt(Wt,[Ot]),kr.delayedLeave&&kr.delayedLeave(),Ot._enterCb=void 0)};xt?ar(xt,[Ot,hr]):hr()},leave(Ot,xt){const Wt=String(o.key);if(Ot._enterCb&&Ot._enterCb(!0),a.isUnmounting)return xt();Bt(H,[Ot]);let _r=!1;const An=Ot._leaveCb=hr=>{_r||(_r=!0,xt(),hr?Bt(ze,[Ot]):Bt(Ie,[Ot]),Ot._leaveCb=void 0,He[Wt]===o&&delete He[Wt])};He[Wt]=o,Q?ar(Q,[Ot,An]):An()},clone(Ot){return UF(Ot,i,a,u)}};return kr}function Dme(o){if(ER(o))return o=i6(o),o.children=null,o}function jRe(o){return ER(o)?o.children?o.children[0]:void 0:o}function zF(o,i){o.shapeFlag&6&&o.component?zF(o.component.subTree,i):o.shapeFlag&128?(o.ssContent.transition=i.clone(o.ssContent),o.ssFallback.transition=i.clone(o.ssFallback)):o.transition=i}function Qge(o,i=!1,a){let u=[],p=0;for(let y=0;y<o.length;y++){let T=o[y];const P=a==null?T.key:String(a)+String(T.key!=null?T.key:y);T.type===by?(T.patchFlag&128&&p++,u=u.concat(Qge(T.children,i,P))):(i||T.type!==Q1)&&u.push(P!=null?i6(T,{key:P}):T)}if(p>1)for(let y=0;y<u.length;y++)u[y].patchFlag=-2;return u}function rQ(o,i){return tl(o)?(()=>pd({name:o.name},i,{setup:o}))():o}const LN=o=>!!o.type.__asyncLoader;function TRt(o){tl(o)&&(o={loader:o});const{loader:i,loadingComponent:a,errorComponent:u,delay:p=200,timeout:y,suspensible:T=!0,onError:P}=o;let I=null,B,z=0;const H=()=>(z++,I=null,Q()),Q=()=>{let Ie;return I||(Ie=I=i().catch(ze=>{if(ze=ze instanceof Error?ze:new Error(String(ze)),P)return new Promise((Ue,et)=>{P(ze,()=>Ue(H()),()=>et(ze),z+1)});throw ze}).then(ze=>Ie!==I&&I?I:(ze&&(ze.__esModule||ze[Symbol.toStringTag]==="Module")&&(ze=ze.default),B=ze,ze)))};return rQ({name:"AsyncComponentWrapper",__asyncLoader:Q,get __asyncResolved(){return B},setup(){const Ie=hm;if(B)return()=>Nme(B,Ie);const ze=vt=>{I=null,wR(vt,Ie,13,!u)};if(T&&Ie.suspense||WN)return Q().then(vt=>()=>Nme(vt,Ie)).catch(vt=>(ze(vt),()=>u?Gp(u,{error:vt}):null));const Ue=gF(!1),et=gF(),Ve=gF(!!p);return p&&setTimeout(()=>{Ve.value=!1},p),y!=null&&setTimeout(()=>{if(!Ue.value&&!et.value){const vt=new Error(`Async component timed out after ${y}ms.`);ze(vt),et.value=vt}},y),Q().then(()=>{Ue.value=!0,Ie.parent&&ER(Ie.parent.vnode)&&KX(Ie.parent.update)}).catch(vt=>{ze(vt),et.value=vt}),()=>{if(Ue.value&&B)return Nme(B,Ie);if(et.value&&u)return Gp(u,{error:et.value});if(a&&!Ve.value)return Gp(a)}}})}function Nme(o,i){const{ref:a,props:u,children:p,ce:y}=i.vnode,T=Gp(o,u,p);return T.ref=a,T.ce=y,delete i.vnode.ce,T}const ER=o=>o.type.__isKeepAlive;function bEt(o,i){MUe(o,"a",i)}function TEt(o,i){MUe(o,"da",i)}function MUe(o,i,a=hm){const u=o.__wdc||(o.__wdc=()=>{let p=a;for(;p;){if(p.isDeactivated)return;p=p.parent}return o()});if(nQ(i,u,a),a){let p=a.parent;for(;p&&p.parent;)ER(p.parent.vnode)&&SEt(u,i,a,p),p=p.parent}}function SEt(o,i,a,u){const p=nQ(i,o,u,!0);jUe(()=>{Bge(u[i],p)},a)}function nQ(o,i,a=hm,u=!1){if(a){const p=a[o]||(a[o]=[]),y=i.__weh||(i.__weh=(...T)=>{if(a.isUnmounted)return;dI(),qN(a);const P=kb(i,a,o,T);return oA(),mI(),P});return u?p.unshift(y):p.push(y),y}}const pC=o=>(i,a=hm)=>(!WN||o==="sp")&&nQ(o,(...u)=>i(...u),a),xEt=pC("bm"),FUe=pC("m"),kEt=pC("bu"),RUe=pC("u"),BUe=pC("bum"),jUe=pC("um"),CEt=pC("sp"),wEt=pC("rtg"),EEt=pC("rtc");function AEt(o,i=hm){nQ("ec",o,i)}const Yge="components",PEt="directives";function SRt(o,i){return Zge(Yge,o,!0,i)||o}const JUe=Symbol.for("v-ndc");function xRt(o){return Cp(o)?Zge(Yge,o,!1)||o:o||JUe}function kRt(o){return Zge(PEt,o)}function Zge(o,i,a=!0,u=!1){const p=Ph||hm;if(p){const y=p.type;if(o===Yge){const P=a6t(y,!1);if(P&&(P===i||P===tx(i)||P===XX(tx(i))))return y}const T=JRe(p[o]||y[o],i)||JRe(p.appContext[o],i);return!T&&u?y:T}}function JRe(o,i){return o&&(o[i]||o[tx(i)]||o[XX(tx(i))])}function CRt(o,i,a,u){let p;const y=a&&a[u];if(ec(o)||Cp(o)){p=new Array(o.length);for(let T=0,P=o.length;T<P;T++)p[T]=i(o[T],T,void 0,y&&y[T])}else if(typeof o=="number"){p=new Array(o);for(let T=0;T<o;T++)p[T]=i(T+1,T,void 0,y&&y[T])}else if(Vf(o))if(o[Symbol.iterator])p=Array.from(o,(T,P)=>i(T,P,void 0,y&&y[P]));else{const T=Object.keys(o);p=new Array(T.length);for(let P=0,I=T.length;P<I;P++){const B=T[P];p[P]=i(o[B],B,P,y&&y[P])}}else p=[];return a&&(a[u]=p),p}function wRt(o,i){for(let a=0;a<i.length;a++){const u=i[a];if(ec(u))for(let p=0;p<u.length;p++)o[u[p].name]=u[p].fn;else u&&(o[u.name]=u.key?(...p)=>{const y=u.fn(...p);return y&&(y.key=u.key),y}:u.fn)}return o}function ERt(o,i,a={},u,p){if(Ph.isCE||Ph.parent&&LN(Ph.parent)&&Ph.parent.isCE)return i!=="default"&&(a.name=i),Gp("slot",a,u&&u());let y=o[i];y&&y._c&&(y._d=!1),ZUe();const T=y&&UUe(y(a)),P=eze(by,{key:a.key||T&&T.key||`_${i}`},T||(u?u():[]),T&&o._===1?64:-2);return!p&&P.scopeId&&(P.slotScopeIds=[P.scopeId+"-s"]),y&&y._c&&(y._d=!0),P}function UUe(o){return o.some(i=>rX(i)?!(i.type===Q1||i.type===by&&!UUe(i.children)):!0)?o:null}function ARt(o,i){const a={};for(const u in o)a[i&&/[A-Z]/.test(u)?`on:${u}`:PG(u)]=o[u];return a}const She=o=>o?ize(o)?sQ(o)||o.proxy:She(o.parent):null,yF=pd(Object.create(null),{$:o=>o,$el:o=>o.vnode.el,$data:o=>o.data,$props:o=>o.props,$attrs:o=>o.attrs,$slots:o=>o.slots,$refs:o=>o.refs,$parent:o=>She(o.parent),$root:o=>She(o.root),$emit:o=>o.emit,$options:o=>Kge(o),$forceUpdate:o=>o.f||(o.f=()=>KX(o.update)),$nextTick:o=>o.n||(o.n=wUe.bind(o.proxy)),$watch:o=>gEt.bind(o)}),Ime=(o,i)=>o!==O_&&!o.__isScriptSetup&&Cu(o,i),DEt={get({_:o},i){const{ctx:a,setupState:u,data:p,props:y,accessCache:T,type:P,appContext:I}=o;let B;if(i[0]!=="$"){const Ie=T[i];if(Ie!==void 0)switch(Ie){case 1:return u[i];case 2:return p[i];case 4:return a[i];case 3:return y[i]}else{if(Ime(u,i))return T[i]=1,u[i];if(p!==O_&&Cu(p,i))return T[i]=2,p[i];if((B=o.propsOptions[0])&&Cu(B,i))return T[i]=3,y[i];if(a!==O_&&Cu(a,i))return T[i]=4,a[i];xhe&&(T[i]=0)}}const z=yF[i];let H,Q;if(z)return i==="$attrs"&&B0(o,"get",i),z(o);if((H=P.__cssModules)&&(H=H[i]))return H;if(a!==O_&&Cu(a,i))return T[i]=4,a[i];if(Q=I.config.globalProperties,Cu(Q,i))return Q[i]},set({_:o},i,a){const{data:u,setupState:p,ctx:y}=o;return Ime(p,i)?(p[i]=a,!0):u!==O_&&Cu(u,i)?(u[i]=a,!0):Cu(o.props,i)||i[0]==="$"&&i.slice(1)in o?!1:(y[i]=a,!0)},has({_:{data:o,setupState:i,accessCache:a,ctx:u,appContext:p,propsOptions:y}},T){let P;return!!a[T]||o!==O_&&Cu(o,T)||Ime(i,T)||(P=y[0])&&Cu(P,T)||Cu(u,T)||Cu(yF,T)||Cu(p.config.globalProperties,T)},defineProperty(o,i,a){return a.get!=null?o._.accessCache[i]=0:Cu(a,"value")&&this.set(o,i,a.value,null),Reflect.defineProperty(o,i,a)}};function PRt(){return zUe().slots}function DRt(){return zUe().attrs}function zUe(){const o=nye();return o.setupContext||(o.setupContext=aze(o))}function URe(o){return ec(o)?o.reduce((i,a)=>(i[a]=null,i),{}):o}let xhe=!0;function NEt(o){const i=Kge(o),a=o.proxy,u=o.ctx;xhe=!1,i.beforeCreate&&zRe(i.beforeCreate,o,"bc");const{data:p,computed:y,methods:T,watch:P,provide:I,inject:B,created:z,beforeMount:H,mounted:Q,beforeUpdate:Ie,updated:ze,activated:Ue,deactivated:et,beforeDestroy:Ve,beforeUnmount:vt,destroyed:ut,unmounted:He,render:Bt,renderTracked:ar,renderTriggered:kr,errorCaptured:Ot,serverPrefetch:xt,expose:Wt,inheritAttrs:_r,components:An,directives:hr,filters:Fi}=i;if(B&&IEt(B,u,null),T)for(const Ba in T){const $s=T[Ba];tl($s)&&(u[Ba]=$s.bind(a))}if(p){const Ba=p.call(a,a);Vf(Ba)&&(o.data=hI(Ba))}if(xhe=!0,y)for(const Ba in y){const $s=y[Ba],Vn=tl($s)?$s.bind(a,a):tl($s.get)?$s.get.bind(a,a):G2,mn=!tl($s)&&tl($s.set)?$s.set.bind(a):G2,Tn=Wm({get:Vn,set:mn});Object.defineProperty(u,Ba,{enumerable:!0,configurable:!0,get:()=>Tn.value,set:gr=>Tn.value=gr})}if(P)for(const Ba in P)VUe(P[Ba],u,a,Ba);if(I){const Ba=tl(I)?I.call(a):I;Reflect.ownKeys(Ba).forEach($s=>{IG($s,Ba[$s])})}z&&zRe(z,o,"c");function qt(Ba,$s){ec($s)?$s.forEach(Vn=>Ba(Vn.bind(a))):$s&&Ba($s.bind(a))}if(qt(xEt,H),qt(FUe,Q),qt(kEt,Ie),qt(RUe,ze),qt(bEt,Ue),qt(TEt,et),qt(AEt,Ot),qt(EEt,ar),qt(wEt,kr),qt(BUe,vt),qt(jUe,He),qt(CEt,xt),ec(Wt))if(Wt.length){const Ba=o.exposed||(o.exposed={});Wt.forEach($s=>{Object.defineProperty(Ba,$s,{get:()=>a[$s],set:Vn=>a[$s]=Vn})})}else o.exposed||(o.exposed={});Bt&&o.render===G2&&(o.render=Bt),_r!=null&&(o.inheritAttrs=_r),An&&(o.components=An),hr&&(o.directives=hr)}function IEt(o,i,a=G2){ec(o)&&(o=khe(o));for(const u in o){const p=o[u];let y;Vf(p)?"default"in p?y=ky(p.from||u,p.default,!0):y=ky(p.from||u):y=ky(p),Hm(y)?Object.defineProperty(i,u,{enumerable:!0,configurable:!0,get:()=>y.value,set:T=>y.value=T}):i[u]=y}}function zRe(o,i,a){kb(ec(o)?o.map(u=>u.bind(i.proxy)):o.bind(i.proxy),i,a)}function VUe(o,i,a,u){const p=u.includes(".")?NUe(a,u):()=>a[u];if(Cp(o)){const y=i[o];tl(y)&&NG(p,y)}else if(tl(o))NG(p,o.bind(a));else if(Vf(o))if(ec(o))o.forEach(y=>VUe(y,i,a,u));else{const y=tl(o.handler)?o.handler.bind(a):i[o.handler];tl(y)&&NG(p,y,o)}}function Kge(o){const i=o.type,{mixins:a,extends:u}=i,{mixins:p,optionsCache:y,config:{optionMergeStrategies:T}}=o.appContext,P=y.get(i);let I;return P?I=P:!p.length&&!a&&!u?I=i:(I={},p.length&&p.forEach(B=>KG(I,B,T,!0)),KG(I,i,T)),Vf(i)&&y.set(i,I),I}function KG(o,i,a,u=!1){const{mixins:p,extends:y}=i;y&&KG(o,y,a,!0),p&&p.forEach(T=>KG(o,T,a,!0));for(const T in i)if(!(u&&T==="expose")){const P=OEt[T]||a&&a[T];o[T]=P?P(o[T],i[T]):i[T]}return o}const OEt={data:VRe,props:$Re,emits:$Re,methods:pF,computed:pF,beforeCreate:vy,created:vy,beforeMount:vy,mounted:vy,beforeUpdate:vy,updated:vy,beforeDestroy:vy,beforeUnmount:vy,destroyed:vy,unmounted:vy,activated:vy,deactivated:vy,errorCaptured:vy,serverPrefetch:vy,components:pF,directives:pF,watch:MEt,provide:VRe,inject:LEt};function VRe(o,i){return i?o?function(){return pd(tl(o)?o.call(this,this):o,tl(i)?i.call(this,this):i)}:i:o}function LEt(o,i){return pF(khe(o),khe(i))}function khe(o){if(ec(o)){const i={};for(let a=0;a<o.length;a++)i[o[a]]=o[a];return i}return o}function vy(o,i){return o?[...new Set([].concat(o,i))]:i}function pF(o,i){return o?pd(Object.create(null),o,i):i}function $Re(o,i){return o?ec(o)&&ec(i)?[...new Set([...o,...i])]:pd(Object.create(null),URe(o),URe(i??{})):i}function MEt(o,i){if(!o)return i;if(!i)return o;const a=pd(Object.create(null),o);for(const u in i)a[u]=vy(o[u],i[u]);return a}function $Ue(){return{app:null,config:{isNativeTag:cwt,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let FEt=0;function REt(o,i){return function(u,p=null){tl(u)||(u=pd({},u)),p!=null&&!Vf(p)&&(p=null);const y=$Ue(),T=new Set;let P=!1;const I=y.app={_uid:FEt++,_component:u,_props:p,_container:null,_context:y,_instance:null,version:u6t,get config(){return y.config},set config(B){},use(B,...z){return T.has(B)||(B&&tl(B.install)?(T.add(B),B.install(I,...z)):tl(B)&&(T.add(B),B(I,...z))),I},mixin(B){return y.mixins.includes(B)||y.mixins.push(B),I},component(B,z){return z?(y.components[B]=z,I):y.components[B]},directive(B,z){return z?(y.directives[B]=z,I):y.directives[B]},mount(B,z,H){if(!P){const Q=Gp(u,p);return Q.appContext=y,z&&i?i(Q,B):o(Q,B,H),P=!0,I._container=B,B.__vue_app__=I,sQ(Q.component)||Q.component.proxy}},unmount(){P&&(o(null,I._container),delete I._container.__vue_app__)},provide(B,z){return y.provides[B]=z,I},runWithContext(B){eX=I;try{return B()}finally{eX=null}}};return I}}let eX=null;function IG(o,i){if(hm){let a=hm.provides;const u=hm.parent&&hm.parent.provides;u===a&&(a=hm.provides=Object.create(u)),a[o]=i}}function ky(o,i,a=!1){const u=hm||Ph;if(u||eX){const p=u?u.parent==null?u.vnode.appContext&&u.vnode.appContext.provides:u.parent.provides:eX._context.provides;if(p&&o in p)return p[o];if(arguments.length>1)return a&&tl(i)?i.call(u&&u.proxy):i}}function BEt(o,i,a,u=!1){const p={},y={};GG(y,iQ,1),o.propsDefaults=Object.create(null),qUe(o,i,p,y);for(const T in o.propsOptions[0])T in p||(p[T]=void 0);a?o.props=u?p:Ywt(p):o.type.props?o.props=p:o.props=y,o.attrs=y}function jEt(o,i,a,u){const{props:p,attrs:y,vnode:{patchFlag:T}}=o,P=mu(p),[I]=o.propsOptions;let B=!1;if((u||T>0)&&!(T&16)){if(T&8){const z=o.vnode.dynamicProps;for(let H=0;H<z.length;H++){let Q=z[H];if(eQ(o.emitsOptions,Q))continue;const Ie=i[Q];if(I)if(Cu(y,Q))Ie!==y[Q]&&(y[Q]=Ie,B=!0);else{const ze=tx(Q);p[ze]=Che(I,P,ze,Ie,o,!1)}else Ie!==y[Q]&&(y[Q]=Ie,B=!0)}}}else{qUe(o,i,p,y)&&(B=!0);let z;for(const H in P)(!i||!Cu(i,H)&&((z=CA(H))===H||!Cu(i,z)))&&(I?a&&(a[H]!==void 0||a[z]!==void 0)&&(p[H]=Che(I,P,H,void 0,o,!0)):delete p[H]);if(y!==P)for(const H in y)(!i||!Cu(i,H))&&(delete y[H],B=!0)}B&&oC(o,"set","$attrs")}function qUe(o,i,a,u){const[p,y]=o.propsOptions;let T=!1,P;if(i)for(let I in i){if(hF(I))continue;const B=i[I];let z;p&&Cu(p,z=tx(I))?!y||!y.includes(z)?a[z]=B:(P||(P={}))[z]=B:eQ(o.emitsOptions,I)||(!(I in u)||B!==u[I])&&(u[I]=B,T=!0)}if(y){const I=mu(a),B=P||O_;for(let z=0;z<y.length;z++){const H=y[z];a[H]=Che(p,I,H,B[H],o,!Cu(B,H))}}return T}function Che(o,i,a,u,p,y){const T=o[a];if(T!=null){const P=Cu(T,"default");if(P&&u===void 0){const I=T.default;if(T.type!==Function&&!T.skipFactory&&tl(I)){const{propsDefaults:B}=p;a in B?u=B[a]:(qN(p),u=B[a]=I.call(null,i),oA())}else u=I}T[0]&&(y&&!P?u=!1:T[1]&&(u===""||u===CA(a))&&(u=!0))}return u}function WUe(o,i,a=!1){const u=i.propsCache,p=u.get(o);if(p)return p;const y=o.props,T={},P=[];let I=!1;if(!tl(o)){const z=H=>{I=!0;const[Q,Ie]=WUe(H,i,!0);pd(T,Q),Ie&&P.push(...Ie)};!a&&i.mixins.length&&i.mixins.forEach(z),o.extends&&z(o.extends),o.mixins&&o.mixins.forEach(z)}if(!y&&!I)return Vf(o)&&u.set(o,DN),DN;if(ec(y))for(let z=0;z<y.length;z++){const H=tx(y[z]);qRe(H)&&(T[H]=O_)}else if(y)for(const z in y){const H=tx(z);if(qRe(H)){const Q=y[z],Ie=T[H]=ec(Q)||tl(Q)?{type:Q}:pd({},Q);if(Ie){const ze=GRe(Boolean,Ie.type),Ue=GRe(String,Ie.type);Ie[0]=ze>-1,Ie[1]=Ue<0||ze<Ue,(ze>-1||Cu(Ie,"default"))&&P.push(H)}}}const B=[T,P];return Vf(o)&&u.set(o,B),B}function qRe(o){return o[0]!=="$"}function WRe(o){const i=o&&o.toString().match(/^\s*(function|class) (\w+)/);return i?i[2]:o===null?"null":""}function HRe(o,i){return WRe(o)===WRe(i)}function GRe(o,i){return ec(i)?i.findIndex(a=>HRe(a,o)):tl(i)&&HRe(i,o)?0:-1}const HUe=o=>o[0]==="_"||o==="$stable",eye=o=>ec(o)?o.map($2):[$2(o)],JEt=(o,i,a)=>{if(i._n)return i;const u=fEt((...p)=>eye(i(...p)),a);return u._c=!1,u},GUe=(o,i,a)=>{const u=o._ctx;for(const p in o){if(HUe(p))continue;const y=o[p];if(tl(y))i[p]=JEt(p,y,u);else if(y!=null){const T=eye(y);i[p]=()=>T}}},XUe=(o,i)=>{const a=eye(i);o.slots.default=()=>a},UEt=(o,i)=>{if(o.vnode.shapeFlag&32){const a=i._;a?(o.slots=mu(i),GG(i,"_",a)):GUe(i,o.slots={})}else o.slots={},i&&XUe(o,i);GG(o.slots,iQ,1)},zEt=(o,i,a)=>{const{vnode:u,slots:p}=o;let y=!0,T=O_;if(u.shapeFlag&32){const P=i._;P?a&&P===1?y=!1:(pd(p,i),!a&&P===1&&delete p._):(y=!i.$stable,GUe(i,p)),T=i}else i&&(XUe(o,i),T={default:1});if(y)for(const P in p)!HUe(P)&&!(P in T)&&delete p[P]};function tX(o,i,a,u,p=!1){if(ec(o)){o.forEach((Q,Ie)=>tX(Q,i&&(ec(i)?i[Ie]:i),a,u,p));return}if(LN(u)&&!p)return;const y=u.shapeFlag&4?sQ(u.component)||u.component.proxy:u.el,T=p?null:y,{i:P,r:I}=o,B=i&&i.r,z=P.refs===O_?P.refs={}:P.refs,H=P.setupState;if(B!=null&&B!==I&&(Cp(B)?(z[B]=null,Cu(H,B)&&(H[B]=null)):Hm(B)&&(B.value=null)),tl(I))e6(I,P,12,[T,z]);else{const Q=Cp(I),Ie=Hm(I);if(Q||Ie){const ze=()=>{if(o.f){const Ue=Q?Cu(H,I)?H[I]:z[I]:I.value;p?ec(Ue)&&Bge(Ue,y):ec(Ue)?Ue.includes(y)||Ue.push(y):Q?(z[I]=[y],Cu(H,I)&&(H[I]=z[I])):(I.value=[y],o.k&&(z[o.k]=I.value))}else Q?(z[I]=T,Cu(H,I)&&(H[I]=T)):Ie&&(I.value=T,o.k&&(z[o.k]=T))};T?(ze.id=-1,I0(ze,a)):ze()}}}let JE=!1;const lG=o=>/svg/.test(o.namespaceURI)&&o.tagName!=="foreignObject",uG=o=>o.nodeType===8;function VEt(o){const{mt:i,p:a,o:{patchProp:u,createText:p,nextSibling:y,parentNode:T,remove:P,insert:I,createComment:B}}=o,z=(Ve,vt)=>{if(!vt.hasChildNodes()){a(null,Ve,vt),YG(),vt._vnode=Ve;return}JE=!1,H(vt.firstChild,Ve,null,null,null),YG(),vt._vnode=Ve,JE&&console.error("Hydration completed but contains mismatches.")},H=(Ve,vt,ut,He,Bt,ar=!1)=>{const kr=uG(Ve)&&Ve.data==="[",Ot=()=>Ue(Ve,vt,ut,He,Bt,kr),{type:xt,ref:Wt,shapeFlag:_r,patchFlag:An}=vt;let hr=Ve.nodeType;vt.el=Ve,An===-2&&(ar=!1,vt.dynamicChildren=null);let Fi=null;switch(xt){case $N:hr!==3?vt.children===""?(I(vt.el=p(""),T(Ve),Ve),Fi=Ve):Fi=Ot():(Ve.data!==vt.children&&(JE=!0,Ve.data=vt.children),Fi=y(Ve));break;case Q1:hr!==8||kr?Fi=Ot():Fi=y(Ve);break;case bF:if(kr&&(Ve=y(Ve),hr=Ve.nodeType),hr===1||hr===3){Fi=Ve;const ss=!vt.children.length;for(let qt=0;qt<vt.staticCount;qt++)ss&&(vt.children+=Fi.nodeType===1?Fi.outerHTML:Fi.data),qt===vt.staticCount-1&&(vt.anchor=Fi),Fi=y(Fi);return kr?y(Fi):Fi}else Ot();break;case by:kr?Fi=ze(Ve,vt,ut,He,Bt,ar):Fi=Ot();break;default:if(_r&1)hr!==1||vt.type.toLowerCase()!==Ve.tagName.toLowerCase()?Fi=Ot():Fi=Q(Ve,vt,ut,He,Bt,ar);else if(_r&6){vt.slotScopeIds=Bt;const ss=T(Ve);if(i(vt,ss,null,ut,He,lG(ss),ar),Fi=kr?et(Ve):y(Ve),Fi&&uG(Fi)&&Fi.data==="teleport end"&&(Fi=y(Fi)),LN(vt)){let qt;kr?(qt=Gp(by),qt.anchor=Fi?Fi.previousSibling:ss.lastChild):qt=Ve.nodeType===3?nze(""):Gp("div"),qt.el=Ve,vt.component.subTree=qt}}else _r&64?hr!==8?Fi=Ot():Fi=vt.type.hydrate(Ve,vt,ut,He,Bt,ar,o,Ie):_r&128&&(Fi=vt.type.hydrate(Ve,vt,ut,He,lG(T(Ve)),Bt,ar,o,H))}return Wt!=null&&tX(Wt,null,He,vt),Fi},Q=(Ve,vt,ut,He,Bt,ar)=>{ar=ar||!!vt.dynamicChildren;const{type:kr,props:Ot,patchFlag:xt,shapeFlag:Wt,dirs:_r}=vt,An=kr==="input"&&_r||kr==="option";if(An||xt!==-1){if(_r&&WS(vt,null,ut,"created"),Ot)if(An||!ar||xt&48)for(const Fi in Ot)(An&&Fi.endsWith("value")||kR(Fi)&&!hF(Fi))&&u(Ve,Fi,null,Ot[Fi],!1,void 0,ut);else Ot.onClick&&u(Ve,"onClick",null,Ot.onClick,!1,void 0,ut);let hr;if((hr=Ot&&Ot.onVnodeBeforeMount)&&bb(hr,ut,vt),_r&&WS(vt,null,ut,"beforeMount"),((hr=Ot&&Ot.onVnodeMounted)||_r)&&DUe(()=>{hr&&bb(hr,ut,vt),_r&&WS(vt,null,ut,"mounted")},He),Wt&16&&!(Ot&&(Ot.innerHTML||Ot.textContent))){let Fi=Ie(Ve.firstChild,vt,Ve,ut,He,Bt,ar);for(;Fi;){JE=!0;const ss=Fi;Fi=Fi.nextSibling,P(ss)}}else Wt&8&&Ve.textContent!==vt.children&&(JE=!0,Ve.textContent=vt.children)}return Ve.nextSibling},Ie=(Ve,vt,ut,He,Bt,ar,kr)=>{kr=kr||!!vt.dynamicChildren;const Ot=vt.children,xt=Ot.length;for(let Wt=0;Wt<xt;Wt++){const _r=kr?Ot[Wt]:Ot[Wt]=$2(Ot[Wt]);if(Ve)Ve=H(Ve,_r,He,Bt,ar,kr);else{if(_r.type===$N&&!_r.children)continue;JE=!0,a(null,_r,ut,null,He,Bt,lG(ut),ar)}}return Ve},ze=(Ve,vt,ut,He,Bt,ar)=>{const{slotScopeIds:kr}=vt;kr&&(Bt=Bt?Bt.concat(kr):kr);const Ot=T(Ve),xt=Ie(y(Ve),vt,Ot,ut,He,Bt,ar);return xt&&uG(xt)&&xt.data==="]"?y(vt.anchor=xt):(JE=!0,I(vt.anchor=B("]"),Ot,xt),xt)},Ue=(Ve,vt,ut,He,Bt,ar)=>{if(JE=!0,vt.el=null,ar){const xt=et(Ve);for(;;){const Wt=y(Ve);if(Wt&&Wt!==xt)P(Wt);else break}}const kr=y(Ve),Ot=T(Ve);return P(Ve),a(null,vt,Ot,kr,ut,He,lG(Ot),Bt),kr},et=Ve=>{let vt=0;for(;Ve;)if(Ve=y(Ve),Ve&&uG(Ve)&&(Ve.data==="["&&vt++,Ve.data==="]")){if(vt===0)return y(Ve);vt--}return Ve};return[z,H]}const I0=DUe;function $Et(o){return QUe(o)}function qEt(o){return QUe(o,VEt)}function QUe(o,i){const a=ghe();a.__VUE__=!0;const{insert:u,remove:p,patchProp:y,createElement:T,createText:P,createComment:I,setText:B,setElementText:z,parentNode:H,nextSibling:Q,setScopeId:Ie=G2,insertStaticContent:ze}=o,Ue=(or,Oe,jr,Cr=null,Ii=null,Vi=null,Vs=!1,us=null,Ss=!!Oe.dynamicChildren)=>{if(or===Oe)return;or&&!eA(or,Oe)&&(Cr=lr(or),gr(or,Ii,Vi,!0),or=null),Oe.patchFlag===-2&&(Ss=!1,Oe.dynamicChildren=null);const{type:es,ref:Za,shapeFlag:la}=Oe;switch(es){case $N:et(or,Oe,jr,Cr);break;case Q1:Ve(or,Oe,jr,Cr);break;case bF:or==null&&vt(Oe,jr,Cr,Vs);break;case by:An(or,Oe,jr,Cr,Ii,Vi,Vs,us,Ss);break;default:la&1?Bt(or,Oe,jr,Cr,Ii,Vi,Vs,us,Ss):la&6?hr(or,Oe,jr,Cr,Ii,Vi,Vs,us,Ss):(la&64||la&128)&&es.process(or,Oe,jr,Cr,Ii,Vi,Vs,us,Ss,fi)}Za!=null&&Ii&&tX(Za,or&&or.ref,Vi,Oe||or,!Oe)},et=(or,Oe,jr,Cr)=>{if(or==null)u(Oe.el=P(Oe.children),jr,Cr);else{const Ii=Oe.el=or.el;Oe.children!==or.children&&B(Ii,Oe.children)}},Ve=(or,Oe,jr,Cr)=>{or==null?u(Oe.el=I(Oe.children||""),jr,Cr):Oe.el=or.el},vt=(or,Oe,jr,Cr)=>{[or.el,or.anchor]=ze(or.children,Oe,jr,Cr,or.el,or.anchor)},ut=({el:or,anchor:Oe},jr,Cr)=>{let Ii;for(;or&&or!==Oe;)Ii=Q(or),u(or,jr,Cr),or=Ii;u(Oe,jr,Cr)},He=({el:or,anchor:Oe})=>{let jr;for(;or&&or!==Oe;)jr=Q(or),p(or),or=jr;p(Oe)},Bt=(or,Oe,jr,Cr,Ii,Vi,Vs,us,Ss)=>{Vs=Vs||Oe.type==="svg",or==null?ar(Oe,jr,Cr,Ii,Vi,Vs,us,Ss):xt(or,Oe,Ii,Vi,Vs,us,Ss)},ar=(or,Oe,jr,Cr,Ii,Vi,Vs,us)=>{let Ss,es;const{type:Za,props:la,shapeFlag:lo,transition:ic,dirs:Yc}=or;if(Ss=or.el=T(or.type,Vi,la&&la.is,la),lo&8?z(Ss,or.children):lo&16&&Ot(or.children,Ss,null,Cr,Ii,Vi&&Za!=="foreignObject",Vs,us),Yc&&WS(or,null,Cr,"created"),kr(Ss,or,or.scopeId,Vs,Cr),la){for(const Hl in la)Hl!=="value"&&!hF(Hl)&&y(Ss,Hl,null,la[Hl],Vi,or.children,Cr,Ii,ji);"value"in la&&y(Ss,"value",null,la.value),(es=la.onVnodeBeforeMount)&&bb(es,Cr,or)}Yc&&WS(or,null,Cr,"beforeMount");const Oc=(!Ii||Ii&&!Ii.pendingBranch)&&ic&&!ic.persisted;Oc&&ic.beforeEnter(Ss),u(Ss,Oe,jr),((es=la&&la.onVnodeMounted)||Oc||Yc)&&I0(()=>{es&&bb(es,Cr,or),Oc&&ic.enter(Ss),Yc&&WS(or,null,Cr,"mounted")},Ii)},kr=(or,Oe,jr,Cr,Ii)=>{if(jr&&Ie(or,jr),Cr)for(let Vi=0;Vi<Cr.length;Vi++)Ie(or,Cr[Vi]);if(Ii){let Vi=Ii.subTree;if(Oe===Vi){const Vs=Ii.vnode;kr(or,Vs,Vs.scopeId,Vs.slotScopeIds,Ii.parent)}}},Ot=(or,Oe,jr,Cr,Ii,Vi,Vs,us,Ss=0)=>{for(let es=Ss;es<or.length;es++){const Za=or[es]=us?XE(or[es]):$2(or[es]);Ue(null,Za,Oe,jr,Cr,Ii,Vi,Vs,us)}},xt=(or,Oe,jr,Cr,Ii,Vi,Vs)=>{const us=Oe.el=or.el;let{patchFlag:Ss,dynamicChildren:es,dirs:Za}=Oe;Ss|=or.patchFlag&16;const la=or.props||O_,lo=Oe.props||O_;let ic;jr&&H3(jr,!1),(ic=lo.onVnodeBeforeUpdate)&&bb(ic,jr,Oe,or),Za&&WS(Oe,or,jr,"beforeUpdate"),jr&&H3(jr,!0);const Yc=Ii&&Oe.type!=="foreignObject";if(es?Wt(or.dynamicChildren,es,us,jr,Cr,Yc,Vi):Vs||$s(or,Oe,us,null,jr,Cr,Yc,Vi,!1),Ss>0){if(Ss&16)_r(us,Oe,la,lo,jr,Cr,Ii);else if(Ss&2&&la.class!==lo.class&&y(us,"class",null,lo.class,Ii),Ss&4&&y(us,"style",la.style,lo.style,Ii),Ss&8){const Oc=Oe.dynamicProps;for(let Hl=0;Hl<Oc.length;Hl++){const m_=Oc[Hl],$r=la[m_],Mh=lo[m_];(Mh!==$r||m_==="value")&&y(us,m_,$r,Mh,Ii,or.children,jr,Cr,ji)}}Ss&1&&or.children!==Oe.children&&z(us,Oe.children)}else!Vs&&es==null&&_r(us,Oe,la,lo,jr,Cr,Ii);((ic=lo.onVnodeUpdated)||Za)&&I0(()=>{ic&&bb(ic,jr,Oe,or),Za&&WS(Oe,or,jr,"updated")},Cr)},Wt=(or,Oe,jr,Cr,Ii,Vi,Vs)=>{for(let us=0;us<Oe.length;us++){const Ss=or[us],es=Oe[us],Za=Ss.el&&(Ss.type===by||!eA(Ss,es)||Ss.shapeFlag&70)?H(Ss.el):jr;Ue(Ss,es,Za,null,Cr,Ii,Vi,Vs,!0)}},_r=(or,Oe,jr,Cr,Ii,Vi,Vs)=>{if(jr!==Cr){if(jr!==O_)for(const us in jr)!hF(us)&&!(us in Cr)&&y(or,us,jr[us],null,Vs,Oe.children,Ii,Vi,ji);for(const us in Cr){if(hF(us))continue;const Ss=Cr[us],es=jr[us];Ss!==es&&us!=="value"&&y(or,us,es,Ss,Vs,Oe.children,Ii,Vi,ji)}"value"in Cr&&y(or,"value",jr.value,Cr.value)}},An=(or,Oe,jr,Cr,Ii,Vi,Vs,us,Ss)=>{const es=Oe.el=or?or.el:P(""),Za=Oe.anchor=or?or.anchor:P("");let{patchFlag:la,dynamicChildren:lo,slotScopeIds:ic}=Oe;ic&&(us=us?us.concat(ic):ic),or==null?(u(es,jr,Cr),u(Za,jr,Cr),Ot(Oe.children,jr,Za,Ii,Vi,Vs,us,Ss)):la>0&&la&64&&lo&&or.dynamicChildren?(Wt(or.dynamicChildren,lo,jr,Ii,Vi,Vs,us),(Oe.key!=null||Ii&&Oe===Ii.subTree)&&tye(or,Oe,!0)):$s(or,Oe,jr,Za,Ii,Vi,Vs,us,Ss)},hr=(or,Oe,jr,Cr,Ii,Vi,Vs,us,Ss)=>{Oe.slotScopeIds=us,or==null?Oe.shapeFlag&512?Ii.ctx.activate(Oe,jr,Cr,Vs,Ss):Fi(Oe,jr,Cr,Ii,Vi,Vs,Ss):ss(or,Oe,Ss)},Fi=(or,Oe,jr,Cr,Ii,Vi,Vs)=>{const us=or.component=r6t(or,Cr,Ii);if(ER(or)&&(us.ctx.renderer=fi),n6t(us),us.asyncDep){if(Ii&&Ii.registerDep(us,qt),!or.el){const Ss=us.subTree=Gp(Q1);Ve(null,Ss,Oe,jr)}return}qt(us,or,Oe,jr,Ii,Vi,Vs)},ss=(or,Oe,jr)=>{const Cr=Oe.component=or.component;if(dEt(or,Oe,jr))if(Cr.asyncDep&&!Cr.asyncResolved){Ba(Cr,Oe,jr);return}else Cr.next=Oe,oEt(Cr.update),Cr.update();else Oe.el=or.el,Cr.vnode=Oe},qt=(or,Oe,jr,Cr,Ii,Vi,Vs)=>{const us=()=>{if(or.isMounted){let{next:Za,bu:la,u:lo,parent:ic,vnode:Yc}=or,Oc=Za,Hl;H3(or,!1),Za?(Za.el=Yc.el,Ba(or,Za,Vs)):Za=Yc,la&&DG(la),(Hl=Za.props&&Za.props.onVnodeBeforeUpdate)&&bb(Hl,ic,Za,Yc),H3(or,!0);const m_=Pme(or),$r=or.subTree;or.subTree=m_,Ue($r,m_,H($r.el),lr($r),or,Ii,Vi),Za.el=m_.el,Oc===null&&mEt(or,m_.el),lo&&I0(lo,Ii),(Hl=Za.props&&Za.props.onVnodeUpdated)&&I0(()=>bb(Hl,ic,Za,Yc),Ii)}else{let Za;const{el:la,props:lo}=Oe,{bm:ic,m:Yc,parent:Oc}=or,Hl=LN(Oe);if(H3(or,!1),ic&&DG(ic),!Hl&&(Za=lo&&lo.onVnodeBeforeMount)&&bb(Za,Oc,Oe),H3(or,!0),la&&Xs){const m_=()=>{or.subTree=Pme(or),Xs(la,or.subTree,or,Ii,null)};Hl?Oe.type.__asyncLoader().then(()=>!or.isUnmounted&&m_()):m_()}else{const m_=or.subTree=Pme(or);Ue(null,m_,jr,Cr,or,Ii,Vi),Oe.el=m_.el}if(Yc&&I0(Yc,Ii),!Hl&&(Za=lo&&lo.onVnodeMounted)){const m_=Oe;I0(()=>bb(Za,Oc,m_),Ii)}(Oe.shapeFlag&256||Oc&&LN(Oc.vnode)&&Oc.vnode.shapeFlag&256)&&or.a&&I0(or.a,Ii),or.isMounted=!0,Oe=jr=Cr=null}},Ss=or.effect=new Uge(us,()=>KX(es),or.scope),es=or.update=()=>Ss.run();es.id=or.uid,H3(or,!0),es()},Ba=(or,Oe,jr)=>{Oe.component=or;const Cr=or.vnode.props;or.vnode=Oe,or.next=null,jEt(or,Oe.props,Cr,jr),zEt(or,Oe.children,jr),dI(),RRe(),mI()},$s=(or,Oe,jr,Cr,Ii,Vi,Vs,us,Ss=!1)=>{const es=or&&or.children,Za=or?or.shapeFlag:0,la=Oe.children,{patchFlag:lo,shapeFlag:ic}=Oe;if(lo>0){if(lo&128){mn(es,la,jr,Cr,Ii,Vi,Vs,us,Ss);return}else if(lo&256){Vn(es,la,jr,Cr,Ii,Vi,Vs,us,Ss);return}}ic&8?(Za&16&&ji(es,Ii,Vi),la!==es&&z(jr,la)):Za&16?ic&16?mn(es,la,jr,Cr,Ii,Vi,Vs,us,Ss):ji(es,Ii,Vi,!0):(Za&8&&z(jr,""),ic&16&&Ot(la,jr,Cr,Ii,Vi,Vs,us,Ss))},Vn=(or,Oe,jr,Cr,Ii,Vi,Vs,us,Ss)=>{or=or||DN,Oe=Oe||DN;const es=or.length,Za=Oe.length,la=Math.min(es,Za);let lo;for(lo=0;lo<la;lo++){const ic=Oe[lo]=Ss?XE(Oe[lo]):$2(Oe[lo]);Ue(or[lo],ic,jr,null,Ii,Vi,Vs,us,Ss)}es>Za?ji(or,Ii,Vi,!0,!1,la):Ot(Oe,jr,Cr,Ii,Vi,Vs,us,Ss,la)},mn=(or,Oe,jr,Cr,Ii,Vi,Vs,us,Ss)=>{let es=0;const Za=Oe.length;let la=or.length-1,lo=Za-1;for(;es<=la&&es<=lo;){const ic=or[es],Yc=Oe[es]=Ss?XE(Oe[es]):$2(Oe[es]);if(eA(ic,Yc))Ue(ic,Yc,jr,null,Ii,Vi,Vs,us,Ss);else break;es++}for(;es<=la&&es<=lo;){const ic=or[la],Yc=Oe[lo]=Ss?XE(Oe[lo]):$2(Oe[lo]);if(eA(ic,Yc))Ue(ic,Yc,jr,null,Ii,Vi,Vs,us,Ss);else break;la--,lo--}if(es>la){if(es<=lo){const ic=lo+1,Yc=ic<Za?Oe[ic].el:Cr;for(;es<=lo;)Ue(null,Oe[es]=Ss?XE(Oe[es]):$2(Oe[es]),jr,Yc,Ii,Vi,Vs,us,Ss),es++}}else if(es>lo)for(;es<=la;)gr(or[es],Ii,Vi,!0),es++;else{const ic=es,Yc=es,Oc=new Map;for(es=Yc;es<=lo;es++){const $f=Oe[es]=Ss?XE(Oe[es]):$2(Oe[es]);$f.key!=null&&Oc.set($f.key,es)}let Hl,m_=0;const $r=lo-Yc+1;let Mh=!1,NA=0;const Oi=new Array($r);for(es=0;es<$r;es++)Oi[es]=0;for(es=ic;es<=la;es++){const $f=or[es];if(m_>=$r){gr($f,Ii,Vi,!0);continue}let J0;if($f.key!=null)J0=Oc.get($f.key);else for(Hl=Yc;Hl<=lo;Hl++)if(Oi[Hl-Yc]===0&&eA($f,Oe[Hl])){J0=Hl;break}J0===void 0?gr($f,Ii,Vi,!0):(Oi[J0-Yc]=es+1,J0>=NA?NA=J0:Mh=!0,Ue($f,Oe[J0],jr,null,Ii,Vi,Vs,us,Ss),m_++)}const ip=Mh?WEt(Oi):DN;for(Hl=ip.length-1,es=$r-1;es>=0;es--){const $f=Yc+es,J0=Oe[$f],sx=$f+1<Za?Oe[$f+1].el:Cr;Oi[es]===0?Ue(null,J0,jr,sx,Ii,Vi,Vs,us,Ss):Mh&&(Hl<0||es!==ip[Hl]?Tn(J0,jr,sx,2):Hl--)}}},Tn=(or,Oe,jr,Cr,Ii=null)=>{const{el:Vi,type:Vs,transition:us,children:Ss,shapeFlag:es}=or;if(es&6){Tn(or.component.subTree,Oe,jr,Cr);return}if(es&128){or.suspense.move(Oe,jr,Cr);return}if(es&64){Vs.move(or,Oe,jr,fi);return}if(Vs===by){u(Vi,Oe,jr);for(let la=0;la<Ss.length;la++)Tn(Ss[la],Oe,jr,Cr);u(or.anchor,Oe,jr);return}if(Vs===bF){ut(or,Oe,jr);return}if(Cr!==2&&es&1&&us)if(Cr===0)us.beforeEnter(Vi),u(Vi,Oe,jr),I0(()=>us.enter(Vi),Ii);else{const{leave:la,delayLeave:lo,afterLeave:ic}=us,Yc=()=>u(Vi,Oe,jr),Oc=()=>{la(Vi,()=>{Yc(),ic&&ic()})};lo?lo(Vi,Yc,Oc):Oc()}else u(Vi,Oe,jr)},gr=(or,Oe,jr,Cr=!1,Ii=!1)=>{const{type:Vi,props:Vs,ref:us,children:Ss,dynamicChildren:es,shapeFlag:Za,patchFlag:la,dirs:lo}=or;if(us!=null&&tX(us,null,jr,or,!0),Za&256){Oe.ctx.deactivate(or);return}const ic=Za&1&&lo,Yc=!LN(or);let Oc;if(Yc&&(Oc=Vs&&Vs.onVnodeBeforeUnmount)&&bb(Oc,Oe,or),Za&6)fr(or.component,jr,Cr);else{if(Za&128){or.suspense.unmount(jr,Cr);return}ic&&WS(or,null,Oe,"beforeUnmount"),Za&64?or.type.remove(or,Oe,jr,Ii,fi,Cr):es&&(Vi!==by||la>0&&la&64)?ji(es,Oe,jr,!1,!0):(Vi===by&&la&384||!Ii&&Za&16)&&ji(Ss,Oe,jr),Cr&&Ln(or)}(Yc&&(Oc=Vs&&Vs.onVnodeUnmounted)||ic)&&I0(()=>{Oc&&bb(Oc,Oe,or),ic&&WS(or,null,Oe,"unmounted")},jr)},Ln=or=>{const{type:Oe,el:jr,anchor:Cr,transition:Ii}=or;if(Oe===by){Fr(jr,Cr);return}if(Oe===bF){He(or);return}const Vi=()=>{p(jr),Ii&&!Ii.persisted&&Ii.afterLeave&&Ii.afterLeave()};if(or.shapeFlag&1&&Ii&&!Ii.persisted){const{leave:Vs,delayLeave:us}=Ii,Ss=()=>Vs(jr,Vi);us?us(or.el,Vi,Ss):Ss()}else Vi()},Fr=(or,Oe)=>{let jr;for(;or!==Oe;)jr=Q(or),p(or),or=jr;p(Oe)},fr=(or,Oe,jr)=>{const{bum:Cr,scope:Ii,update:Vi,subTree:Vs,um:us}=or;Cr&&DG(Cr),Ii.stop(),Vi&&(Vi.active=!1,gr(Vs,or,Oe,jr)),us&&I0(us,Oe),I0(()=>{or.isUnmounted=!0},Oe),Oe&&Oe.pendingBranch&&!Oe.isUnmounted&&or.asyncDep&&!or.asyncResolved&&or.suspenseId===Oe.pendingId&&(Oe.deps--,Oe.deps===0&&Oe.resolve())},ji=(or,Oe,jr,Cr=!1,Ii=!1,Vi=0)=>{for(let Vs=Vi;Vs<or.length;Vs++)gr(or[Vs],Oe,jr,Cr,Ii)},lr=or=>or.shapeFlag&6?lr(or.component.subTree):or.shapeFlag&128?or.suspense.next():Q(or.anchor||or.el),ei=(or,Oe,jr)=>{or==null?Oe._vnode&&gr(Oe._vnode,null,null,!0):Ue(Oe._vnode||null,or,Oe,null,null,null,jr),RRe(),YG(),Oe._vnode=or},fi={p:Ue,um:gr,m:Tn,r:Ln,mt:Fi,mc:Ot,pc:$s,pbc:Wt,n:lr,o};let fs,Xs;return i&&([fs,Xs]=i(fi)),{render:ei,hydrate:fs,createApp:REt(ei,fs)}}function H3({effect:o,update:i},a){o.allowRecurse=i.allowRecurse=a}function tye(o,i,a=!1){const u=o.children,p=i.children;if(ec(u)&&ec(p))for(let y=0;y<u.length;y++){const T=u[y];let P=p[y];P.shapeFlag&1&&!P.dynamicChildren&&((P.patchFlag<=0||P.patchFlag===32)&&(P=p[y]=XE(p[y]),P.el=T.el),a||tye(T,P)),P.type===$N&&(P.el=T.el)}}function WEt(o){const i=o.slice(),a=[0];let u,p,y,T,P;const I=o.length;for(u=0;u<I;u++){const B=o[u];if(B!==0){if(p=a[a.length-1],o[p]<B){i[u]=p,a.push(u);continue}for(y=0,T=a.length-1;y<T;)P=y+T>>1,o[a[P]]<B?y=P+1:T=P;B<o[a[y]]&&(y>0&&(i[u]=a[y-1]),a[y]=u)}}for(y=a.length,T=a[y-1];y-- >0;)a[y]=T,T=i[T];return a}const HEt=o=>o.__isTeleport,vF=o=>o&&(o.disabled||o.disabled===""),XRe=o=>typeof SVGElement<"u"&&o instanceof SVGElement,whe=(o,i)=>{const a=o&&o.to;return Cp(a)?i?i(a):null:a},GEt={__isTeleport:!0,process(o,i,a,u,p,y,T,P,I,B){const{mc:z,pc:H,pbc:Q,o:{insert:Ie,querySelector:ze,createText:Ue,createComment:et}}=B,Ve=vF(i.props);let{shapeFlag:vt,children:ut,dynamicChildren:He}=i;if(o==null){const Bt=i.el=Ue(""),ar=i.anchor=Ue("");Ie(Bt,a,u),Ie(ar,a,u);const kr=i.target=whe(i.props,ze),Ot=i.targetAnchor=Ue("");kr&&(Ie(Ot,kr),T=T||XRe(kr));const xt=(Wt,_r)=>{vt&16&&z(ut,Wt,_r,p,y,T,P,I)};Ve?xt(a,ar):kr&&xt(kr,Ot)}else{i.el=o.el;const Bt=i.anchor=o.anchor,ar=i.target=o.target,kr=i.targetAnchor=o.targetAnchor,Ot=vF(o.props),xt=Ot?a:ar,Wt=Ot?Bt:kr;if(T=T||XRe(ar),He?(Q(o.dynamicChildren,He,xt,p,y,T,P),tye(o,i,!0)):I||H(o,i,xt,Wt,p,y,T,P,!1),Ve)Ot||fG(i,a,Bt,B,1);else if((i.props&&i.props.to)!==(o.props&&o.props.to)){const _r=i.target=whe(i.props,ze);_r&&fG(i,_r,null,B,0)}else Ot&&fG(i,ar,kr,B,1)}YUe(i)},remove(o,i,a,u,{um:p,o:{remove:y}},T){const{shapeFlag:P,children:I,anchor:B,targetAnchor:z,target:H,props:Q}=o;if(H&&y(z),(T||!vF(Q))&&(y(B),P&16))for(let Ie=0;Ie<I.length;Ie++){const ze=I[Ie];p(ze,i,a,!0,!!ze.dynamicChildren)}},move:fG,hydrate:XEt};function fG(o,i,a,{o:{insert:u},m:p},y=2){y===0&&u(o.targetAnchor,i,a);const{el:T,anchor:P,shapeFlag:I,children:B,props:z}=o,H=y===2;if(H&&u(T,i,a),(!H||vF(z))&&I&16)for(let Q=0;Q<B.length;Q++)p(B[Q],i,a,2);H&&u(P,i,a)}function XEt(o,i,a,u,p,y,{o:{nextSibling:T,parentNode:P,querySelector:I}},B){const z=i.target=whe(i.props,I);if(z){const H=z._lpa||z.firstChild;if(i.shapeFlag&16)if(vF(i.props))i.anchor=B(T(o),i,P(o),a,u,p,y),i.targetAnchor=H;else{i.anchor=T(o);let Q=H;for(;Q;)if(Q=T(Q),Q&&Q.nodeType===8&&Q.data==="teleport anchor"){i.targetAnchor=Q,z._lpa=i.targetAnchor&&T(i.targetAnchor);break}B(H,i,z,a,u,p,y)}YUe(i)}return i.anchor&&T(i.anchor)}const NRt=GEt;function YUe(o){const i=o.ctx;if(i&&i.ut){let a=o.children[0].el;for(;a!==o.targetAnchor;)a.nodeType===1&&a.setAttribute("data-v-owner",i.uid),a=a.nextSibling;i.ut()}}const by=Symbol.for("v-fgt"),$N=Symbol.for("v-txt"),Q1=Symbol.for("v-cmt"),bF=Symbol.for("v-stc"),TF=[];let W2=null;function ZUe(o=!1){TF.push(W2=o?null:[])}function QEt(){TF.pop(),W2=TF[TF.length-1]||null}let VF=1;function QRe(o){VF+=o}function KUe(o){return o.dynamicChildren=VF>0?W2||DN:null,QEt(),VF>0&&W2&&W2.push(o),o}function IRt(o,i,a,u,p,y){return KUe(rze(o,i,a,u,p,y,!0))}function eze(o,i,a,u,p){return KUe(Gp(o,i,a,u,p,!0))}function rX(o){return o?o.__v_isVNode===!0:!1}function eA(o,i){return o.type===i.type&&o.key===i.key}const iQ="__vInternal",tze=({key:o})=>o??null,OG=({ref:o,ref_key:i,ref_for:a})=>(typeof o=="number"&&(o=""+o),o!=null?Cp(o)||Hm(o)||tl(o)?{i:Ph,r:o,k:i,f:!!a}:o:null);function rze(o,i=null,a=null,u=0,p=null,y=o===by?0:1,T=!1,P=!1){const I={__v_isVNode:!0,__v_skip:!0,type:o,props:i,key:i&&tze(i),ref:i&&OG(i),scopeId:tQ,slotScopeIds:null,children:a,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:y,patchFlag:u,dynamicProps:p,dynamicChildren:null,appContext:null,ctx:Ph};return P?(rye(I,a),y&128&&o.normalize(I)):a&&(I.shapeFlag|=Cp(a)?8:16),VF>0&&!T&&W2&&(I.patchFlag>0||y&6)&&I.patchFlag!==32&&W2.push(I),I}const Gp=YEt;function YEt(o,i=null,a=null,u=0,p=null,y=!1){if((!o||o===JUe)&&(o=Q1),rX(o)){const P=i6(o,i,!0);return a&&rye(P,a),VF>0&&!y&&W2&&(P.shapeFlag&6?W2[W2.indexOf(o)]=P:W2.push(P)),P.patchFlag|=-2,P}if(o6t(o)&&(o=o.__vccOpts),i){i=ZEt(i);let{class:P,style:I}=i;P&&!Cp(P)&&(i.class=YX(P)),Vf(I)&&(vUe(I)&&!ec(I)&&(I=pd({},I)),i.style=QX(I))}const T=Cp(o)?1:hEt(o)?128:HEt(o)?64:Vf(o)?4:tl(o)?2:0;return rze(o,i,a,u,p,T,y,!0)}function ZEt(o){return o?vUe(o)||iQ in o?pd({},o):o:null}function i6(o,i,a=!1){const{props:u,ref:p,patchFlag:y,children:T}=o,P=i?KEt(u||{},i):u;return{__v_isVNode:!0,__v_skip:!0,type:o.type,props:P,key:P&&tze(P),ref:i&&i.ref?a&&p?ec(p)?p.concat(OG(i)):[p,OG(i)]:OG(i):p,scopeId:o.scopeId,slotScopeIds:o.slotScopeIds,children:T,target:o.target,targetAnchor:o.targetAnchor,staticCount:o.staticCount,shapeFlag:o.shapeFlag,patchFlag:i&&o.type!==by?y===-1?16:y|16:y,dynamicProps:o.dynamicProps,dynamicChildren:o.dynamicChildren,appContext:o.appContext,dirs:o.dirs,transition:o.transition,component:o.component,suspense:o.suspense,ssContent:o.ssContent&&i6(o.ssContent),ssFallback:o.ssFallback&&i6(o.ssFallback),el:o.el,anchor:o.anchor,ctx:o.ctx,ce:o.ce}}function nze(o=" ",i=0){return Gp($N,null,o,i)}function ORt(o,i){const a=Gp(bF,null,o);return a.staticCount=i,a}function LRt(o="",i=!1){return i?(ZUe(),eze(Q1,null,o)):Gp(Q1,null,o)}function $2(o){return o==null||typeof o=="boolean"?Gp(Q1):ec(o)?Gp(by,null,o.slice()):typeof o=="object"?XE(o):Gp($N,null,String(o))}function XE(o){return o.el===null&&o.patchFlag!==-1||o.memo?o:i6(o)}function rye(o,i){let a=0;const{shapeFlag:u}=o;if(i==null)i=null;else if(ec(i))a=16;else if(typeof i=="object")if(u&65){const p=i.default;p&&(p._c&&(p._d=!1),rye(o,p()),p._c&&(p._d=!0));return}else{a=32;const p=i._;!p&&!(iQ in i)?i._ctx=Ph:p===3&&Ph&&(Ph.slots._===1?i._=1:(i._=2,o.patchFlag|=1024))}else tl(i)?(i={default:i,_ctx:Ph},a=32):(i=String(i),u&64?(a=16,i=[nze(i)]):a=8);o.children=i,o.shapeFlag|=a}function KEt(...o){const i={};for(let a=0;a<o.length;a++){const u=o[a];for(const p in u)if(p==="class")i.class!==u.class&&(i.class=YX([i.class,u.class]));else if(p==="style")i.style=QX([i.style,u.style]);else if(kR(p)){const y=i[p],T=u[p];T&&y!==T&&!(ec(y)&&y.includes(T))&&(i[p]=y?[].concat(y,T):T)}else p!==""&&(i[p]=u[p])}return i}function bb(o,i,a,u=null){kb(o,i,7,[a,u])}const e6t=$Ue();let t6t=0;function r6t(o,i,a){const u=o.type,p=(i?i.appContext:o.appContext)||e6t,y={uid:t6t++,vnode:o,type:u,parent:i,appContext:p,root:null,next:null,subTree:null,effect:null,update:null,scope:new oUe(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:i?i.provides:Object.create(p.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:WUe(u,p),emitsOptions:PUe(u,p),emit:null,emitted:null,propsDefaults:O_,inheritAttrs:u.inheritAttrs,ctx:O_,data:O_,props:O_,attrs:O_,slots:O_,refs:O_,setupState:O_,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:a,suspenseId:a?a.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return y.ctx={_:y},y.root=i?i.root:y,y.emit=uEt.bind(null,y),o.ce&&o.ce(y),y}let hm=null;const nye=()=>hm||Ph;let iye,vN,YRe="__VUE_INSTANCE_SETTERS__";(vN=ghe()[YRe])||(vN=ghe()[YRe]=[]),vN.push(o=>hm=o),iye=o=>{vN.length>1?vN.forEach(i=>i(o)):vN[0](o)};const qN=o=>{iye(o),o.scope.on()},oA=()=>{hm&&hm.scope.off(),iye(null)};function ize(o){return o.vnode.shapeFlag&4}let WN=!1;function n6t(o,i=!1){WN=i;const{props:a,children:u}=o.vnode,p=ize(o);BEt(o,a,p,i),UEt(o,u);const y=p?i6t(o,i):void 0;return WN=!1,y}function i6t(o,i){const a=o.type;o.accessCache=Object.create(null),o.proxy=bUe(new Proxy(o.ctx,DEt));const{setup:u}=a;if(u){const p=o.setupContext=u.length>1?aze(o):null;qN(o),dI();const y=e6(u,o,0,[o.props,p]);if(mI(),oA(),tUe(y)){if(y.then(oA,oA),i)return y.then(T=>{ZRe(o,T,i)}).catch(T=>{wR(T,o,0)});o.asyncDep=y}else ZRe(o,y,i)}else sze(o,i)}function ZRe(o,i,a){tl(i)?o.type.__ssrInlineRender?o.ssrRender=i:o.render=i:Vf(i)&&(o.setupState=xUe(i)),sze(o,a)}let KRe;function sze(o,i,a){const u=o.type;if(!o.render){if(!i&&KRe&&!u.render){const p=u.template||Kge(o).template;if(p){const{isCustomElement:y,compilerOptions:T}=o.appContext.config,{delimiters:P,compilerOptions:I}=u,B=pd(pd({isCustomElement:y,delimiters:P},T),I);u.render=KRe(p,B)}}o.render=u.render||G2}qN(o),dI(),NEt(o),mI(),oA()}function s6t(o){return o.attrsProxy||(o.attrsProxy=new Proxy(o.attrs,{get(i,a){return B0(o,"get","$attrs"),i[a]}}))}function aze(o){const i=a=>{o.exposed=a||{}};return{get attrs(){return s6t(o)},slots:o.slots,emit:o.emit,expose:i}}function sQ(o){if(o.exposed)return o.exposeProxy||(o.exposeProxy=new Proxy(xUe(bUe(o.exposed)),{get(i,a){if(a in i)return i[a];if(a in yF)return yF[a](o)},has(i,a){return a in i||a in yF}}))}function a6t(o,i=!0){return tl(o)?o.displayName||o.name:o.name||i&&o.__name}function o6t(o){return tl(o)&&"__vccOpts"in o}const Wm=(o,i)=>iEt(o,i,WN);function aQ(o,i,a){const u=arguments.length;return u===2?Vf(i)&&!ec(i)?rX(i)?Gp(o,null,[i]):Gp(o,i):Gp(o,null,i):(u>3?a=Array.prototype.slice.call(arguments,2):u===3&&rX(a)&&(a=[a]),Gp(o,i,a))}const c6t=Symbol.for("v-scx"),l6t=()=>ky(c6t),u6t="3.3.4",f6t="http://www.w3.org/2000/svg",tA=typeof document<"u"?document:null,eBe=tA&&tA.createElement("template"),_6t={insert:(o,i,a)=>{i.insertBefore(o,a||null)},remove:o=>{const i=o.parentNode;i&&i.removeChild(o)},createElement:(o,i,a,u)=>{const p=i?tA.createElementNS(f6t,o):tA.createElement(o,a?{is:a}:void 0);return o==="select"&&u&&u.multiple!=null&&p.setAttribute("multiple",u.multiple),p},createText:o=>tA.createTextNode(o),createComment:o=>tA.createComment(o),setText:(o,i)=>{o.nodeValue=i},setElementText:(o,i)=>{o.textContent=i},parentNode:o=>o.parentNode,nextSibling:o=>o.nextSibling,querySelector:o=>tA.querySelector(o),setScopeId(o,i){o.setAttribute(i,"")},insertStaticContent(o,i,a,u,p,y){const T=a?a.previousSibling:i.lastChild;if(p&&(p===y||p.nextSibling))for(;i.insertBefore(p.cloneNode(!0),a),!(p===y||!(p=p.nextSibling)););else{eBe.innerHTML=u?`<svg>${o}</svg>`:o;const P=eBe.content;if(u){const I=P.firstChild;for(;I.firstChild;)P.appendChild(I.firstChild);P.removeChild(I)}i.insertBefore(P,a)}return[T?T.nextSibling:i.firstChild,a?a.previousSibling:i.lastChild]}};function p6t(o,i,a){const u=o._vtc;u&&(i=(i?[i,...u]:[...u]).join(" ")),i==null?o.removeAttribute("class"):a?o.setAttribute("class",i):o.className=i}function d6t(o,i,a){const u=o.style,p=Cp(a);if(a&&!p){if(i&&!Cp(i))for(const y in i)a[y]==null&&Ehe(u,y,"");for(const y in a)Ehe(u,y,a[y])}else{const y=u.display;p?i!==a&&(u.cssText=a):i&&o.removeAttribute("style"),"_vod"in o&&(u.display=y)}}const tBe=/\s*!important$/;function Ehe(o,i,a){if(ec(a))a.forEach(u=>Ehe(o,i,u));else if(a==null&&(a=""),i.startsWith("--"))o.setProperty(i,a);else{const u=m6t(o,i);tBe.test(a)?o.setProperty(CA(u),a.replace(tBe,""),"important"):o[u]=a}}const rBe=["Webkit","Moz","ms"],Ome={};function m6t(o,i){const a=Ome[i];if(a)return a;let u=tx(i);if(u!=="filter"&&u in o)return Ome[i]=u;u=XX(u);for(let p=0;p<rBe.length;p++){const y=rBe[p]+u;if(y in o)return Ome[i]=y}return i}const nBe="http://www.w3.org/1999/xlink";function h6t(o,i,a,u,p){if(u&&i.startsWith("xlink:"))a==null?o.removeAttributeNS(nBe,i.slice(6,i.length)):o.setAttributeNS(nBe,i,a);else{const y=bwt(i);a==null||y&&!iUe(a)?o.removeAttribute(i):o.setAttribute(i,y?"":a)}}function g6t(o,i,a,u,p,y,T){if(i==="innerHTML"||i==="textContent"){u&&T(u,p,y),o[i]=a??"";return}const P=o.tagName;if(i==="value"&&P!=="PROGRESS"&&!P.includes("-")){o._value=a;const B=P==="OPTION"?o.getAttribute("value"):o.value,z=a??"";B!==z&&(o.value=z),a==null&&o.removeAttribute(i);return}let I=!1;if(a===""||a==null){const B=typeof o[i];B==="boolean"?a=iUe(a):a==null&&B==="string"?(a="",I=!0):B==="number"&&(a=0,I=!0)}try{o[i]=a}catch{}I&&o.removeAttribute(i)}function YE(o,i,a,u){o.addEventListener(i,a,u)}function y6t(o,i,a,u){o.removeEventListener(i,a,u)}function v6t(o,i,a,u,p=null){const y=o._vei||(o._vei={}),T=y[i];if(u&&T)T.value=u;else{const[P,I]=b6t(i);if(u){const B=y[i]=x6t(u,p);YE(o,P,B,I)}else T&&(y6t(o,P,T,I),y[i]=void 0)}}const iBe=/(?:Once|Passive|Capture)$/;function b6t(o){let i;if(iBe.test(o)){i={};let u;for(;u=o.match(iBe);)o=o.slice(0,o.length-u[0].length),i[u[0].toLowerCase()]=!0}return[o[2]===":"?o.slice(3):CA(o.slice(2)),i]}let Lme=0;const T6t=Promise.resolve(),S6t=()=>Lme||(T6t.then(()=>Lme=0),Lme=Date.now());function x6t(o,i){const a=u=>{if(!u._vts)u._vts=Date.now();else if(u._vts<=a.attached)return;kb(k6t(u,a.value),i,5,[u])};return a.value=o,a.attached=S6t(),a}function k6t(o,i){if(ec(i)){const a=o.stopImmediatePropagation;return o.stopImmediatePropagation=()=>{a.call(o),o._stopped=!0},i.map(u=>p=>!p._stopped&&u&&u(p))}else return i}const sBe=/^on[a-z]/,C6t=(o,i,a,u,p=!1,y,T,P,I)=>{i==="class"?p6t(o,u,p):i==="style"?d6t(o,a,u):kR(i)?Rge(i)||v6t(o,i,a,u,T):(i[0]==="."?(i=i.slice(1),!0):i[0]==="^"?(i=i.slice(1),!1):w6t(o,i,u,p))?g6t(o,i,u,y,T,P,I):(i==="true-value"?o._trueValue=u:i==="false-value"&&(o._falseValue=u),h6t(o,i,u,p))};function w6t(o,i,a,u){return u?!!(i==="innerHTML"||i==="textContent"||i in o&&sBe.test(i)&&tl(a)):i==="spellcheck"||i==="draggable"||i==="translate"||i==="form"||i==="list"&&o.tagName==="INPUT"||i==="type"&&o.tagName==="TEXTAREA"||sBe.test(i)&&Cp(a)?!1:i in o}const UE="transition",XM="animation",oze=(o,{slots:i})=>aQ(vEt,lze(o),i);oze.displayName="Transition";const cze={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},E6t=oze.props=pd({},OUe,cze),G3=(o,i=[])=>{ec(o)?o.forEach(a=>a(...i)):o&&o(...i)},aBe=o=>o?ec(o)?o.some(i=>i.length>1):o.length>1:!1;function lze(o){const i={};for(const An in o)An in cze||(i[An]=o[An]);if(o.css===!1)return i;const{name:a="v",type:u,duration:p,enterFromClass:y=`${a}-enter-from`,enterActiveClass:T=`${a}-enter-active`,enterToClass:P=`${a}-enter-to`,appearFromClass:I=y,appearActiveClass:B=T,appearToClass:z=P,leaveFromClass:H=`${a}-leave-from`,leaveActiveClass:Q=`${a}-leave-active`,leaveToClass:Ie=`${a}-leave-to`}=o,ze=A6t(p),Ue=ze&&ze[0],et=ze&&ze[1],{onBeforeEnter:Ve,onEnter:vt,onEnterCancelled:ut,onLeave:He,onLeaveCancelled:Bt,onBeforeAppear:ar=Ve,onAppear:kr=vt,onAppearCancelled:Ot=ut}=i,xt=(An,hr,Fi)=>{qE(An,hr?z:P),qE(An,hr?B:T),Fi&&Fi()},Wt=(An,hr)=>{An._isLeaving=!1,qE(An,H),qE(An,Ie),qE(An,Q),hr&&hr()},_r=An=>(hr,Fi)=>{const ss=An?kr:vt,qt=()=>xt(hr,An,Fi);G3(ss,[hr,qt]),oBe(()=>{qE(hr,An?I:y),qk(hr,An?z:P),aBe(ss)||cBe(hr,u,Ue,qt)})};return pd(i,{onBeforeEnter(An){G3(Ve,[An]),qk(An,y),qk(An,T)},onBeforeAppear(An){G3(ar,[An]),qk(An,I),qk(An,B)},onEnter:_r(!1),onAppear:_r(!0),onLeave(An,hr){An._isLeaving=!0;const Fi=()=>Wt(An,hr);qk(An,H),fze(),qk(An,Q),oBe(()=>{An._isLeaving&&(qE(An,H),qk(An,Ie),aBe(He)||cBe(An,u,et,Fi))}),G3(He,[An,Fi])},onEnterCancelled(An){xt(An,!1),G3(ut,[An])},onAppearCancelled(An){xt(An,!0),G3(Ot,[An])},onLeaveCancelled(An){Wt(An),G3(Bt,[An])}})}function A6t(o){if(o==null)return null;if(Vf(o))return[Mme(o.enter),Mme(o.leave)];{const i=Mme(o);return[i,i]}}function Mme(o){return dwt(o)}function qk(o,i){i.split(/\s+/).forEach(a=>a&&o.classList.add(a)),(o._vtc||(o._vtc=new Set)).add(i)}function qE(o,i){i.split(/\s+/).forEach(u=>u&&o.classList.remove(u));const{_vtc:a}=o;a&&(a.delete(i),a.size||(o._vtc=void 0))}function oBe(o){requestAnimationFrame(()=>{requestAnimationFrame(o)})}let P6t=0;function cBe(o,i,a,u){const p=o._endId=++P6t,y=()=>{p===o._endId&&u()};if(a)return setTimeout(y,a);const{type:T,timeout:P,propCount:I}=uze(o,i);if(!T)return u();const B=T+"end";let z=0;const H=()=>{o.removeEventListener(B,Q),y()},Q=Ie=>{Ie.target===o&&++z>=I&&H()};setTimeout(()=>{z<I&&H()},P+1),o.addEventListener(B,Q)}function uze(o,i){const a=window.getComputedStyle(o),u=ze=>(a[ze]||"").split(", "),p=u(`${UE}Delay`),y=u(`${UE}Duration`),T=lBe(p,y),P=u(`${XM}Delay`),I=u(`${XM}Duration`),B=lBe(P,I);let z=null,H=0,Q=0;i===UE?T>0&&(z=UE,H=T,Q=y.length):i===XM?B>0&&(z=XM,H=B,Q=I.length):(H=Math.max(T,B),z=H>0?T>B?UE:XM:null,Q=z?z===UE?y.length:I.length:0);const Ie=z===UE&&/\b(transform|all)(,|$)/.test(u(`${UE}Property`).toString());return{type:z,timeout:H,propCount:Q,hasTransform:Ie}}function lBe(o,i){for(;o.length<i.length;)o=o.concat(o);return Math.max(...i.map((a,u)=>uBe(a)+uBe(o[u])))}function uBe(o){return Number(o.slice(0,-1).replace(",","."))*1e3}function fze(){return document.body.offsetHeight}const _ze=new WeakMap,pze=new WeakMap,dze={name:"TransitionGroup",props:pd({},E6t,{tag:String,moveClass:String}),setup(o,{slots:i}){const a=nye(),u=IUe();let p,y;return RUe(()=>{if(!p.length)return;const T=o.moveClass||`${o.name||"v"}-move`;if(!L6t(p[0].el,a.vnode.el,T))return;p.forEach(N6t),p.forEach(I6t);const P=p.filter(O6t);fze(),P.forEach(I=>{const B=I.el,z=B.style;qk(B,T),z.transform=z.webkitTransform=z.transitionDuration="";const H=B._moveCb=Q=>{Q&&Q.target!==B||(!Q||/transform$/.test(Q.propertyName))&&(B.removeEventListener("transitionend",H),B._moveCb=null,qE(B,T))};B.addEventListener("transitionend",H)})}),()=>{const T=mu(o),P=lze(T);let I=T.tag||by;p=y,y=i.default?Qge(i.default()):[];for(let B=0;B<y.length;B++){const z=y[B];z.key!=null&&zF(z,UF(z,P,u,a))}if(p)for(let B=0;B<p.length;B++){const z=p[B];zF(z,UF(z,P,u,a)),_ze.set(z,z.el.getBoundingClientRect())}return Gp(I,null,y)}}},D6t=o=>delete o.mode;dze.props;const MRt=dze;function N6t(o){const i=o.el;i._moveCb&&i._moveCb(),i._enterCb&&i._enterCb()}function I6t(o){pze.set(o,o.el.getBoundingClientRect())}function O6t(o){const i=_ze.get(o),a=pze.get(o),u=i.left-a.left,p=i.top-a.top;if(u||p){const y=o.el.style;return y.transform=y.webkitTransform=`translate(${u}px,${p}px)`,y.transitionDuration="0s",o}}function L6t(o,i,a){const u=o.cloneNode();o._vtc&&o._vtc.forEach(T=>{T.split(/\s+/).forEach(P=>P&&u.classList.remove(P))}),a.split(/\s+/).forEach(T=>T&&u.classList.add(T)),u.style.display="none";const p=i.nodeType===1?i:i.parentNode;p.appendChild(u);const{hasTransform:y}=uze(u);return p.removeChild(u),y}const HN=o=>{const i=o.props["onUpdate:modelValue"]||!1;return ec(i)?a=>DG(i,a):i};function M6t(o){o.target.composing=!0}function fBe(o){const i=o.target;i.composing&&(i.composing=!1,i.dispatchEvent(new Event("input")))}const FRt={created(o,{modifiers:{lazy:i,trim:a,number:u}},p){o._assign=HN(p);const y=u||p.props&&p.props.type==="number";YE(o,i?"change":"input",T=>{if(T.target.composing)return;let P=o.value;a&&(P=P.trim()),y&&(P=hhe(P)),o._assign(P)}),a&&YE(o,"change",()=>{o.value=o.value.trim()}),i||(YE(o,"compositionstart",M6t),YE(o,"compositionend",fBe),YE(o,"change",fBe))},mounted(o,{value:i}){o.value=i??""},beforeUpdate(o,{value:i,modifiers:{lazy:a,trim:u,number:p}},y){if(o._assign=HN(y),o.composing||document.activeElement===o&&o.type!=="range"&&(a||u&&o.value.trim()===i||(p||o.type==="number")&&hhe(o.value)===i))return;const T=i??"";o.value!==T&&(o.value=T)}},RRt={deep:!0,created(o,i,a){o._assign=HN(a),YE(o,"change",()=>{const u=o._modelValue,p=mze(o),y=o.checked,T=o._assign;if(ec(u)){const P=sUe(u,p),I=P!==-1;if(y&&!I)T(u.concat(p));else if(!y&&I){const B=[...u];B.splice(P,1),T(B)}}else if(HX(u)){const P=new Set(u);y?P.add(p):P.delete(p),T(P)}else T(hze(o,y))})},mounted:_Be,beforeUpdate(o,i,a){o._assign=HN(a),_Be(o,i,a)}};function _Be(o,{value:i,oldValue:a},u){o._modelValue=i,ec(i)?o.checked=sUe(i,u.props.value)>-1:HX(i)?o.checked=i.has(u.props.value):i!==a&&(o.checked=zN(i,hze(o,!0)))}const BRt={created(o,{value:i},a){o.checked=zN(i,a.props.value),o._assign=HN(a),YE(o,"change",()=>{o._assign(mze(o))})},beforeUpdate(o,{value:i,oldValue:a},u){o._assign=HN(u),i!==a&&(o.checked=zN(i,u.props.value))}};function mze(o){return"_value"in o?o._value:o.value}function hze(o,i){const a=i?"_trueValue":"_falseValue";return a in o?o[a]:i}const F6t=["ctrl","shift","alt","meta"],R6t={stop:o=>o.stopPropagation(),prevent:o=>o.preventDefault(),self:o=>o.target!==o.currentTarget,ctrl:o=>!o.ctrlKey,shift:o=>!o.shiftKey,alt:o=>!o.altKey,meta:o=>!o.metaKey,left:o=>"button"in o&&o.button!==0,middle:o=>"button"in o&&o.button!==1,right:o=>"button"in o&&o.button!==2,exact:(o,i)=>F6t.some(a=>o[`${a}Key`]&&!i.includes(a))},jRt=(o,i)=>(a,...u)=>{for(let p=0;p<i.length;p++){const y=R6t[i[p]];if(y&&y(a,i))return}return o(a,...u)},B6t={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},JRt=(o,i)=>a=>{if(!("key"in a))return;const u=CA(a.key);if(i.some(p=>p===u||B6t[p]===u))return o(a)},URt={beforeMount(o,{value:i},{transition:a}){o._vod=o.style.display==="none"?"":o.style.display,a&&i?a.beforeEnter(o):QM(o,i)},mounted(o,{value:i},{transition:a}){a&&i&&a.enter(o)},updated(o,{value:i,oldValue:a},{transition:u}){!i!=!a&&(u?i?(u.beforeEnter(o),QM(o,!0),u.enter(o)):u.leave(o,()=>{QM(o,!1)}):QM(o,i))},beforeUnmount(o,{value:i}){QM(o,i)}};function QM(o,i){o.style.display=i?o._vod:"none"}const gze=pd({patchProp:C6t},_6t);let SF,pBe=!1;function yze(){return SF||(SF=$Et(gze))}function j6t(){return SF=pBe?SF:qEt(gze),pBe=!0,SF}const zRt=(...o)=>{yze().render(...o)},VRt=(...o)=>{const i=yze().createApp(...o),{mount:a}=i;return i.mount=u=>{const p=vze(u);if(!p)return;const y=i._component;!tl(y)&&!y.render&&!y.template&&(y.template=p.innerHTML),p.innerHTML="";const T=a(p,!1,p instanceof SVGElement);return p instanceof Element&&(p.removeAttribute("v-cloak"),p.setAttribute("data-v-app","")),T},i},$Rt=(...o)=>{const i=j6t().createApp(...o),{mount:a}=i;return i.mount=u=>{const p=vze(u);if(p)return a(p,!0,p instanceof SVGElement)},i};function vze(o){return Cp(o)?document.querySelector(o):o}var J6t=([o,i,a])=>o==="meta"&&i.name?`${o}.${i.name}`:["title","base"].includes(o)?o:o==="template"&&i.id?`${o}.${i.id}`:JSON.stringify([o,i,a]),qRt=o=>{const i=new Set,a=[];return o.forEach(u=>{const p=J6t(u);i.has(p)||(i.add(p),a.push(u))}),a},WRt=o=>/(\.html|\/)$/.test(o)?o:o+"/",U6t=o=>o.startsWith("ftp://"),z6t=o=>/^(https?:)?\/\//.test(o),V6t=/.md((\?|#).*)?$/,HRt=(o,i="/")=>!!(z6t(o)||U6t(o)||o.startsWith("/")&&!o.startsWith(i)&&!V6t.test(o)),GRt=o=>/^mailto:/.test(o),XRt=o=>/^tel:/.test(o),QRt=o=>Object.prototype.toString.call(o)==="[object Object]",YRt=o=>o.replace(/\/$/,""),ZRt=o=>o.replace(/^\//,""),KRt=(o,i)=>{const a=Object.keys(o).sort((u,p)=>{const y=p.split("/").length-u.split("/").length;return y!==0?y:p.length-u.length});for(const u of a)if(i.startsWith(u))return u;return"/"},eBt=(o,i="/")=>o.replace(/^(https?:)?\/\/[^/]*/,"").replace(new RegExp(`^${i}`),"/");/*!
* vue-router v4.2.2
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/const TN=typeof window<"u";function $6t(o){return o.__esModule||o[Symbol.toStringTag]==="Module"}const Sf=Object.assign;function Fme(o,i){const a={};for(const u in i){const p=i[u];a[u]=Q2(p)?p.map(o):o(p)}return a}const xF=()=>{},Q2=Array.isArray,q6t=/\/$/,W6t=o=>o.replace(q6t,"");function Rme(o,i,a="/"){let u,p={},y="",T="";const P=i.indexOf("#");let I=i.indexOf("?");return P<I&&P>=0&&(I=-1),I>-1&&(u=i.slice(0,I),y=i.slice(I+1,P>-1?P:i.length),p=o(y)),P>-1&&(u=u||i.slice(0,P),T=i.slice(P,i.length)),u=Q6t(u??i,a),{fullPath:u+(y&&"?")+y+T,path:u,query:p,hash:T}}function H6t(o,i){const a=i.query?o(i.query):"";return i.path+(a&&"?")+a+(i.hash||"")}function dBe(o,i){return!i||!o.toLowerCase().startsWith(i.toLowerCase())?o:o.slice(i.length)||"/"}function G6t(o,i,a){const u=i.matched.length-1,p=a.matched.length-1;return u>-1&&u===p&&GN(i.matched[u],a.matched[p])&&bze(i.params,a.params)&&o(i.query)===o(a.query)&&i.hash===a.hash}function GN(o,i){return(o.aliasOf||o)===(i.aliasOf||i)}function bze(o,i){if(Object.keys(o).length!==Object.keys(i).length)return!1;for(const a in o)if(!X6t(o[a],i[a]))return!1;return!0}function X6t(o,i){return Q2(o)?mBe(o,i):Q2(i)?mBe(i,o):o===i}function mBe(o,i){return Q2(i)?o.length===i.length&&o.every((a,u)=>a===i[u]):o.length===1&&o[0]===i}function Q6t(o,i){if(o.startsWith("/"))return o;if(!o)return i;const a=i.split("/"),u=o.split("/"),p=u[u.length-1];(p===".."||p===".")&&u.push("");let y=a.length-1,T,P;for(T=0;T<u.length;T++)if(P=u[T],P!==".")if(P==="..")y>1&&y--;else break;return a.slice(0,y).join("/")+"/"+u.slice(T-(T===u.length?1:0)).join("/")}var $F;(function(o){o.pop="pop",o.push="push"})($F||($F={}));var kF;(function(o){o.back="back",o.forward="forward",o.unknown=""})(kF||(kF={}));function Y6t(o){if(!o)if(TN){const i=document.querySelector("base");o=i&&i.getAttribute("href")||"/",o=o.replace(/^\w+:\/\/[^\/]+/,"")}else o="/";return o[0]!=="/"&&o[0]!=="#"&&(o="/"+o),W6t(o)}const Z6t=/^[^#]+#/;function K6t(o,i){return o.replace(Z6t,"#")+i}function e4t(o,i){const a=document.documentElement.getBoundingClientRect(),u=o.getBoundingClientRect();return{behavior:i.behavior,left:u.left-a.left-(i.left||0),top:u.top-a.top-(i.top||0)}}const oQ=()=>({left:window.pageXOffset,top:window.pageYOffset});function t4t(o){let i;if("el"in o){const a=o.el,u=typeof a=="string"&&a.startsWith("#"),p=typeof a=="string"?u?document.getElementById(a.slice(1)):document.querySelector(a):a;if(!p)return;i=e4t(p,o)}else i=o;"scrollBehavior"in document.documentElement.style?window.scrollTo(i):window.scrollTo(i.left!=null?i.left:window.pageXOffset,i.top!=null?i.top:window.pageYOffset)}function hBe(o,i){return(history.state?history.state.position-i:-1)+o}const Ahe=new Map;function r4t(o,i){Ahe.set(o,i)}function n4t(o){const i=Ahe.get(o);return Ahe.delete(o),i}let i4t=()=>location.protocol+"//"+location.host;function Tze(o,i){const{pathname:a,search:u,hash:p}=i,y=o.indexOf("#");if(y>-1){let P=p.includes(o.slice(y))?o.slice(y).length:1,I=p.slice(P);return I[0]!=="/"&&(I="/"+I),dBe(I,"")}return dBe(a,o)+u+p}function s4t(o,i,a,u){let p=[],y=[],T=null;const P=({state:Q})=>{const Ie=Tze(o,location),ze=a.value,Ue=i.value;let et=0;if(Q){if(a.value=Ie,i.value=Q,T&&T===ze){T=null;return}et=Ue?Q.position-Ue.position:0}else u(Ie);p.forEach(Ve=>{Ve(a.value,ze,{delta:et,type:$F.pop,direction:et?et>0?kF.forward:kF.back:kF.unknown})})};function I(){T=a.value}function B(Q){p.push(Q);const Ie=()=>{const ze=p.indexOf(Q);ze>-1&&p.splice(ze,1)};return y.push(Ie),Ie}function z(){const{history:Q}=window;Q.state&&Q.replaceState(Sf({},Q.state,{scroll:oQ()}),"")}function H(){for(const Q of y)Q();y=[],window.removeEventListener("popstate",P),window.removeEventListener("beforeunload",z)}return window.addEventListener("popstate",P),window.addEventListener("beforeunload",z,{passive:!0}),{pauseListeners:I,listen:B,destroy:H}}function gBe(o,i,a,u=!1,p=!1){return{back:o,current:i,forward:a,replaced:u,position:window.history.length,scroll:p?oQ():null}}function a4t(o){const{history:i,location:a}=window,u={value:Tze(o,a)},p={value:i.state};p.value||y(u.value,{back:null,current:u.value,forward:null,position:i.length-1,replaced:!0,scroll:null},!0);function y(I,B,z){const H=o.indexOf("#"),Q=H>-1?(a.host&&document.querySelector("base")?o:o.slice(H))+I:i4t()+o+I;try{i[z?"replaceState":"pushState"](B,"",Q),p.value=B}catch(Ie){console.error(Ie),a[z?"replace":"assign"](Q)}}function T(I,B){const z=Sf({},i.state,gBe(p.value.back,I,p.value.forward,!0),B,{position:p.value.position});y(I,z,!0),u.value=I}function P(I,B){const z=Sf({},p.value,i.state,{forward:I,scroll:oQ()});y(z.current,z,!0);const H=Sf({},gBe(u.value,I,null),{position:z.position+1},B);y(I,H,!1),u.value=I}return{location:u,state:p,push:P,replace:T}}function tBt(o){o=Y6t(o);const i=a4t(o),a=s4t(o,i.state,i.location,i.replace);function u(y,T=!0){T||a.pauseListeners(),history.go(y)}const p=Sf({location:"",base:o,go:u,createHref:K6t.bind(null,o)},i,a);return Object.defineProperty(p,"location",{enumerable:!0,get:()=>i.location.value}),Object.defineProperty(p,"state",{enumerable:!0,get:()=>i.state.value}),p}function o4t(o){return typeof o=="string"||o&&typeof o=="object"}function Sze(o){return typeof o=="string"||typeof o=="symbol"}const zE={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},xze=Symbol("");var yBe;(function(o){o[o.aborted=4]="aborted",o[o.cancelled=8]="cancelled",o[o.duplicated=16]="duplicated"})(yBe||(yBe={}));function XN(o,i){return Sf(new Error,{type:o,[xze]:!0},i)}function zk(o,i){return o instanceof Error&&xze in o&&(i==null||!!(o.type&i))}const vBe="[^/]+?",c4t={sensitive:!1,strict:!1,start:!0,end:!0},l4t=/[.+*?^${}()[\]/\\]/g;function u4t(o,i){const a=Sf({},c4t,i),u=[];let p=a.start?"^":"";const y=[];for(const B of o){const z=B.length?[]:[90];a.strict&&!B.length&&(p+="/");for(let H=0;H<B.length;H++){const Q=B[H];let Ie=40+(a.sensitive?.25:0);if(Q.type===0)H||(p+="/"),p+=Q.value.replace(l4t,"\\$&"),Ie+=40;else if(Q.type===1){const{value:ze,repeatable:Ue,optional:et,regexp:Ve}=Q;y.push({name:ze,repeatable:Ue,optional:et});const vt=Ve||vBe;if(vt!==vBe){Ie+=10;try{new RegExp(`(${vt})`)}catch(He){throw new Error(`Invalid custom RegExp for param "${ze}" (${vt}): `+He.message)}}let ut=Ue?`((?:${vt})(?:/(?:${vt}))*)`:`(${vt})`;H||(ut=et&&B.length<2?`(?:/${ut})`:"/"+ut),et&&(ut+="?"),p+=ut,Ie+=20,et&&(Ie+=-8),Ue&&(Ie+=-20),vt===".*"&&(Ie+=-50)}z.push(Ie)}u.push(z)}if(a.strict&&a.end){const B=u.length-1;u[B][u[B].length-1]+=.7000000000000001}a.strict||(p+="/?"),a.end?p+="$":a.strict&&(p+="(?:/|$)");const T=new RegExp(p,a.sensitive?"":"i");function P(B){const z=B.match(T),H={};if(!z)return null;for(let Q=1;Q<z.length;Q++){const Ie=z[Q]||"",ze=y[Q-1];H[ze.name]=Ie&&ze.repeatable?Ie.split("/"):Ie}return H}function I(B){let z="",H=!1;for(const Q of o){(!H||!z.endsWith("/"))&&(z+="/"),H=!1;for(const Ie of Q)if(Ie.type===0)z+=Ie.value;else if(Ie.type===1){const{value:ze,repeatable:Ue,optional:et}=Ie,Ve=ze in B?B[ze]:"";if(Q2(Ve)&&!Ue)throw new Error(`Provided param "${ze}" is an array but it is not repeatable (* or + modifiers)`);const vt=Q2(Ve)?Ve.join("/"):Ve;if(!vt)if(et)Q.length<2&&(z.endsWith("/")?z=z.slice(0,-1):H=!0);else throw new Error(`Missing required param "${ze}"`);z+=vt}}return z||"/"}return{re:T,score:u,keys:y,parse:P,stringify:I}}function f4t(o,i){let a=0;for(;a<o.length&&a<i.length;){const u=i[a]-o[a];if(u)return u;a++}return o.length<i.length?o.length===1&&o[0]===40+40?-1:1:o.length>i.length?i.length===1&&i[0]===40+40?1:-1:0}function _4t(o,i){let a=0;const u=o.score,p=i.score;for(;a<u.length&&a<p.length;){const y=f4t(u[a],p[a]);if(y)return y;a++}if(Math.abs(p.length-u.length)===1){if(bBe(u))return 1;if(bBe(p))return-1}return p.length-u.length}function bBe(o){const i=o[o.length-1];return o.length>0&&i[i.length-1]<0}const p4t={type:0,value:""},d4t=/[a-zA-Z0-9_]/;function m4t(o){if(!o)return[[]];if(o==="/")return[[p4t]];if(!o.startsWith("/"))throw new Error(`Invalid path "${o}"`);function i(Ie){throw new Error(`ERR (${a})/"${B}": ${Ie}`)}let a=0,u=a;const p=[];let y;function T(){y&&p.push(y),y=[]}let P=0,I,B="",z="";function H(){B&&(a===0?y.push({type:0,value:B}):a===1||a===2||a===3?(y.length>1&&(I==="*"||I==="+")&&i(`A repeatable param (${B}) must be alone in its segment. eg: '/:ids+.`),y.push({type:1,value:B,regexp:z,repeatable:I==="*"||I==="+",optional:I==="*"||I==="?"})):i("Invalid state to consume buffer"),B="")}function Q(){B+=I}for(;P<o.length;){if(I=o[P++],I==="\\"&&a!==2){u=a,a=4;continue}switch(a){case 0:I==="/"?(B&&H(),T()):I===":"?(H(),a=1):Q();break;case 4:Q(),a=u;break;case 1:I==="("?a=2:d4t.test(I)?Q():(H(),a=0,I!=="*"&&I!=="?"&&I!=="+"&&P--);break;case 2:I===")"?z[z.length-1]=="\\"?z=z.slice(0,-1)+I:a=3:z+=I;break;case 3:H(),a=0,I!=="*"&&I!=="?"&&I!=="+"&&P--,z="";break;default:i("Unknown state");break}}return a===2&&i(`Unfinished custom RegExp for param "${B}"`),H(),T(),p}function h4t(o,i,a){const u=u4t(m4t(o.path),a),p=Sf(u,{record:o,parent:i,children:[],alias:[]});return i&&!p.record.aliasOf==!i.record.aliasOf&&i.children.push(p),p}function g4t(o,i){const a=[],u=new Map;i=xBe({strict:!1,end:!0,sensitive:!1},i);function p(z){return u.get(z)}function y(z,H,Q){const Ie=!Q,ze=y4t(z);ze.aliasOf=Q&&Q.record;const Ue=xBe(i,z),et=[ze];if("alias"in z){const ut=typeof z.alias=="string"?[z.alias]:z.alias;for(const He of ut)et.push(Sf({},ze,{components:Q?Q.record.components:ze.components,path:He,aliasOf:Q?Q.record:ze}))}let Ve,vt;for(const ut of et){const{path:He}=ut;if(H&&He[0]!=="/"){const Bt=H.record.path,ar=Bt[Bt.length-1]==="/"?"":"/";ut.path=H.record.path+(He&&ar+He)}if(Ve=h4t(ut,H,Ue),Q?Q.alias.push(Ve):(vt=vt||Ve,vt!==Ve&&vt.alias.push(Ve),Ie&&z.name&&!SBe(Ve)&&T(z.name)),ze.children){const Bt=ze.children;for(let ar=0;ar<Bt.length;ar++)y(Bt[ar],Ve,Q&&Q.children[ar])}Q=Q||Ve,(Ve.record.components&&Object.keys(Ve.record.components).length||Ve.record.name||Ve.record.redirect)&&I(Ve)}return vt?()=>{T(vt)}:xF}function T(z){if(Sze(z)){const H=u.get(z);H&&(u.delete(z),a.splice(a.indexOf(H),1),H.children.forEach(T),H.alias.forEach(T))}else{const H=a.indexOf(z);H>-1&&(a.splice(H,1),z.record.name&&u.delete(z.record.name),z.children.forEach(T),z.alias.forEach(T))}}function P(){return a}function I(z){let H=0;for(;H<a.length&&_4t(z,a[H])>=0&&(z.record.path!==a[H].record.path||!kze(z,a[H]));)H++;a.splice(H,0,z),z.record.name&&!SBe(z)&&u.set(z.record.name,z)}function B(z,H){let Q,Ie={},ze,Ue;if("name"in z&&z.name){if(Q=u.get(z.name),!Q)throw XN(1,{location:z});Ue=Q.record.name,Ie=Sf(TBe(H.params,Q.keys.filter(vt=>!vt.optional).map(vt=>vt.name)),z.params&&TBe(z.params,Q.keys.map(vt=>vt.name))),ze=Q.stringify(Ie)}else if("path"in z)ze=z.path,Q=a.find(vt=>vt.re.test(ze)),Q&&(Ie=Q.parse(ze),Ue=Q.record.name);else{if(Q=H.name?u.get(H.name):a.find(vt=>vt.re.test(H.path)),!Q)throw XN(1,{location:z,currentLocation:H});Ue=Q.record.name,Ie=Sf({},H.params,z.params),ze=Q.stringify(Ie)}const et=[];let Ve=Q;for(;Ve;)et.unshift(Ve.record),Ve=Ve.parent;return{name:Ue,path:ze,params:Ie,matched:et,meta:b4t(et)}}return o.forEach(z=>y(z)),{addRoute:y,resolve:B,removeRoute:T,getRoutes:P,getRecordMatcher:p}}function TBe(o,i){const a={};for(const u of i)u in o&&(a[u]=o[u]);return a}function y4t(o){return{path:o.path,redirect:o.redirect,name:o.name,meta:o.meta||{},aliasOf:void 0,beforeEnter:o.beforeEnter,props:v4t(o),children:o.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in o?o.components||null:o.component&&{default:o.component}}}function v4t(o){const i={},a=o.props||!1;if("component"in o)i.default=a;else for(const u in o.components)i[u]=typeof a=="boolean"?a:a[u];return i}function SBe(o){for(;o;){if(o.record.aliasOf)return!0;o=o.parent}return!1}function b4t(o){return o.reduce((i,a)=>Sf(i,a.meta),{})}function xBe(o,i){const a={};for(const u in o)a[u]=u in i?i[u]:o[u];return a}function kze(o,i){return i.children.some(a=>a===o||kze(o,a))}const Cze=/#/g,T4t=/&/g,S4t=/\//g,x4t=/=/g,k4t=/\?/g,wze=/\+/g,C4t=/%5B/g,w4t=/%5D/g,Eze=/%5E/g,E4t=/%60/g,Aze=/%7B/g,A4t=/%7C/g,Pze=/%7D/g,P4t=/%20/g;function sye(o){return encodeURI(""+o).replace(A4t,"|").replace(C4t,"[").replace(w4t,"]")}function D4t(o){return sye(o).replace(Aze,"{").replace(Pze,"}").replace(Eze,"^")}function Phe(o){return sye(o).replace(wze,"%2B").replace(P4t,"+").replace(Cze,"%23").replace(T4t,"%26").replace(E4t,"`").replace(Aze,"{").replace(Pze,"}").replace(Eze,"^")}function N4t(o){return Phe(o).replace(x4t,"%3D")}function I4t(o){return sye(o).replace(Cze,"%23").replace(k4t,"%3F")}function O4t(o){return o==null?"":I4t(o).replace(S4t,"%2F")}function nX(o){try{return decodeURIComponent(""+o)}catch{}return""+o}function L4t(o){const i={};if(o===""||o==="?")return i;const u=(o[0]==="?"?o.slice(1):o).split("&");for(let p=0;p<u.length;++p){const y=u[p].replace(wze," "),T=y.indexOf("="),P=nX(T<0?y:y.slice(0,T)),I=T<0?null:nX(y.slice(T+1));if(P in i){let B=i[P];Q2(B)||(B=i[P]=[B]),B.push(I)}else i[P]=I}return i}function kBe(o){let i="";for(let a in o){const u=o[a];if(a=N4t(a),u==null){u!==void 0&&(i+=(i.length?"&":"")+a);continue}(Q2(u)?u.map(y=>y&&Phe(y)):[u&&Phe(u)]).forEach(y=>{y!==void 0&&(i+=(i.length?"&":"")+a,y!=null&&(i+="="+y))})}return i}function M4t(o){const i={};for(const a in o){const u=o[a];u!==void 0&&(i[a]=Q2(u)?u.map(p=>p==null?null:""+p):u==null?u:""+u)}return i}const F4t=Symbol(""),CBe=Symbol(""),cQ=Symbol(""),aye=Symbol(""),Dhe=Symbol("");function YM(){let o=[];function i(u){return o.push(u),()=>{const p=o.indexOf(u);p>-1&&o.splice(p,1)}}function a(){o=[]}return{add:i,list:()=>o,reset:a}}function QE(o,i,a,u,p){const y=u&&(u.enterCallbacks[p]=u.enterCallbacks[p]||[]);return()=>new Promise((T,P)=>{const I=H=>{H===!1?P(XN(4,{from:a,to:i})):H instanceof Error?P(H):o4t(H)?P(XN(2,{from:i,to:H})):(y&&u.enterCallbacks[p]===y&&typeof H=="function"&&y.push(H),T())},B=o.call(u&&u.instances[p],i,a,I);let z=Promise.resolve(B);o.length<3&&(z=z.then(I)),z.catch(H=>P(H))})}function Bme(o,i,a,u){const p=[];for(const y of o)for(const T in y.components){let P=y.components[T];if(!(i!=="beforeRouteEnter"&&!y.instances[T]))if(R4t(P)){const B=(P.__vccOpts||P)[i];B&&p.push(QE(B,a,u,y,T))}else{let I=P();p.push(()=>I.then(B=>{if(!B)return Promise.reject(new Error(`Couldn't resolve component "${T}" at "${y.path}"`));const z=$6t(B)?B.default:B;y.components[T]=z;const Q=(z.__vccOpts||z)[i];return Q&&QE(Q,a,u,y,T)()}))}}return p}function R4t(o){return typeof o=="object"||"displayName"in o||"props"in o||"__vccOpts"in o}function wBe(o){const i=ky(cQ),a=ky(aye),u=Wm(()=>i.resolve(iC(o.to))),p=Wm(()=>{const{matched:I}=u.value,{length:B}=I,z=I[B-1],H=a.matched;if(!z||!H.length)return-1;const Q=H.findIndex(GN.bind(null,z));if(Q>-1)return Q;const Ie=EBe(I[B-2]);return B>1&&EBe(z)===Ie&&H[H.length-1].path!==Ie?H.findIndex(GN.bind(null,I[B-2])):Q}),y=Wm(()=>p.value>-1&&U4t(a.params,u.value.params)),T=Wm(()=>p.value>-1&&p.value===a.matched.length-1&&bze(a.params,u.value.params));function P(I={}){return J4t(I)?i[iC(o.replace)?"replace":"push"](iC(o.to)).catch(xF):Promise.resolve()}return{route:u,href:Wm(()=>u.value.href),isActive:y,isExactActive:T,navigate:P}}const B4t=rQ({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:wBe,setup(o,{slots:i}){const a=hI(wBe(o)),{options:u}=ky(cQ),p=Wm(()=>({[ABe(o.activeClass,u.linkActiveClass,"router-link-active")]:a.isActive,[ABe(o.exactActiveClass,u.linkExactActiveClass,"router-link-exact-active")]:a.isExactActive}));return()=>{const y=i.default&&i.default(a);return o.custom?y:aQ("a",{"aria-current":a.isExactActive?o.ariaCurrentValue:null,href:a.href,onClick:a.navigate,class:p.value},y)}}}),j4t=B4t;function J4t(o){if(!(o.metaKey||o.altKey||o.ctrlKey||o.shiftKey)&&!o.defaultPrevented&&!(o.button!==void 0&&o.button!==0)){if(o.currentTarget&&o.currentTarget.getAttribute){const i=o.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(i))return}return o.preventDefault&&o.preventDefault(),!0}}function U4t(o,i){for(const a in i){const u=i[a],p=o[a];if(typeof u=="string"){if(u!==p)return!1}else if(!Q2(p)||p.length!==u.length||u.some((y,T)=>y!==p[T]))return!1}return!0}function EBe(o){return o?o.aliasOf?o.aliasOf.path:o.path:""}const ABe=(o,i,a)=>o??i??a,z4t=rQ({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(o,{attrs:i,slots:a}){const u=ky(Dhe),p=Wm(()=>o.route||u.value),y=ky(CBe,0),T=Wm(()=>{let B=iC(y);const{matched:z}=p.value;let H;for(;(H=z[B])&&!H.components;)B++;return B}),P=Wm(()=>p.value.matched[T.value]);IG(CBe,Wm(()=>T.value+1)),IG(F4t,P),IG(Dhe,p);const I=gF();return NG(()=>[I.value,P.value,o.name],([B,z,H],[Q,Ie,ze])=>{z&&(z.instances[H]=B,Ie&&Ie!==z&&B&&B===Q&&(z.leaveGuards.size||(z.leaveGuards=Ie.leaveGuards),z.updateGuards.size||(z.updateGuards=Ie.updateGuards))),B&&z&&(!Ie||!GN(z,Ie)||!Q)&&(z.enterCallbacks[H]||[]).forEach(Ue=>Ue(B))},{flush:"post"}),()=>{const B=p.value,z=o.name,H=P.value,Q=H&&H.components[z];if(!Q)return PBe(a.default,{Component:Q,route:B});const Ie=H.props[z],ze=Ie?Ie===!0?B.params:typeof Ie=="function"?Ie(B):Ie:null,et=aQ(Q,Sf({},ze,i,{onVnodeUnmounted:Ve=>{Ve.component.isUnmounted&&(H.instances[z]=null)},ref:I}));return PBe(a.default,{Component:et,route:B})||et}}});function PBe(o,i){if(!o)return null;const a=o(i);return a.length===1?a[0]:a}const V4t=z4t;function rBt(o){const i=g4t(o.routes,o),a=o.parseQuery||L4t,u=o.stringifyQuery||kBe,p=o.history,y=YM(),T=YM(),P=YM(),I=Zwt(zE);let B=zE;TN&&o.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const z=Fme.bind(null,lr=>""+lr),H=Fme.bind(null,O4t),Q=Fme.bind(null,nX);function Ie(lr,ei){let fi,fs;return Sze(lr)?(fi=i.getRecordMatcher(lr),fs=ei):fs=lr,i.addRoute(fs,fi)}function ze(lr){const ei=i.getRecordMatcher(lr);ei&&i.removeRoute(ei)}function Ue(){return i.getRoutes().map(lr=>lr.record)}function et(lr){return!!i.getRecordMatcher(lr)}function Ve(lr,ei){if(ei=Sf({},ei||I.value),typeof lr=="string"){const jr=Rme(a,lr,ei.path),Cr=i.resolve({path:jr.path},ei),Ii=p.createHref(jr.fullPath);return Sf(jr,Cr,{params:Q(Cr.params),hash:nX(jr.hash),redirectedFrom:void 0,href:Ii})}let fi;if("path"in lr)fi=Sf({},lr,{path:Rme(a,lr.path,ei.path).path});else{const jr=Sf({},lr.params);for(const Cr in jr)jr[Cr]==null&&delete jr[Cr];fi=Sf({},lr,{params:H(jr)}),ei.params=H(ei.params)}const fs=i.resolve(fi,ei),Xs=lr.hash||"";fs.params=z(Q(fs.params));const or=H6t(u,Sf({},lr,{hash:D4t(Xs),path:fs.path})),Oe=p.createHref(or);return Sf({fullPath:or,hash:Xs,query:u===kBe?M4t(lr.query):lr.query||{}},fs,{redirectedFrom:void 0,href:Oe})}function vt(lr){return typeof lr=="string"?Rme(a,lr,I.value.path):Sf({},lr)}function ut(lr,ei){if(B!==lr)return XN(8,{from:ei,to:lr})}function He(lr){return kr(lr)}function Bt(lr){return He(Sf(vt(lr),{replace:!0}))}function ar(lr){const ei=lr.matched[lr.matched.length-1];if(ei&&ei.redirect){const{redirect:fi}=ei;let fs=typeof fi=="function"?fi(lr):fi;return typeof fs=="string"&&(fs=fs.includes("?")||fs.includes("#")?fs=vt(fs):{path:fs},fs.params={}),Sf({query:lr.query,hash:lr.hash,params:"path"in fs?{}:lr.params},fs)}}function kr(lr,ei){const fi=B=Ve(lr),fs=I.value,Xs=lr.state,or=lr.force,Oe=lr.replace===!0,jr=ar(fi);if(jr)return kr(Sf(vt(jr),{state:typeof jr=="object"?Sf({},Xs,jr.state):Xs,force:or,replace:Oe}),ei||fi);const Cr=fi;Cr.redirectedFrom=ei;let Ii;return!or&&G6t(u,fs,fi)&&(Ii=XN(16,{to:Cr,from:fs}),Tn(fs,fs,!0,!1)),(Ii?Promise.resolve(Ii):Wt(Cr,fs)).catch(Vi=>zk(Vi)?zk(Vi,2)?Vi:mn(Vi):$s(Vi,Cr,fs)).then(Vi=>{if(Vi){if(zk(Vi,2))return kr(Sf({replace:Oe},vt(Vi.to),{state:typeof Vi.to=="object"?Sf({},Xs,Vi.to.state):Xs,force:or}),ei||Cr)}else Vi=An(Cr,fs,!0,Oe,Xs);return _r(Cr,fs,Vi),Vi})}function Ot(lr,ei){const fi=ut(lr,ei);return fi?Promise.reject(fi):Promise.resolve()}function xt(lr){const ei=Fr.values().next().value;return ei&&typeof ei.runWithContext=="function"?ei.runWithContext(lr):lr()}function Wt(lr,ei){let fi;const[fs,Xs,or]=$4t(lr,ei);fi=Bme(fs.reverse(),"beforeRouteLeave",lr,ei);for(const jr of fs)jr.leaveGuards.forEach(Cr=>{fi.push(QE(Cr,lr,ei))});const Oe=Ot.bind(null,lr,ei);return fi.push(Oe),ji(fi).then(()=>{fi=[];for(const jr of y.list())fi.push(QE(jr,lr,ei));return fi.push(Oe),ji(fi)}).then(()=>{fi=Bme(Xs,"beforeRouteUpdate",lr,ei);for(const jr of Xs)jr.updateGuards.forEach(Cr=>{fi.push(QE(Cr,lr,ei))});return fi.push(Oe),ji(fi)}).then(()=>{fi=[];for(const jr of lr.matched)if(jr.beforeEnter&&!ei.matched.includes(jr))if(Q2(jr.beforeEnter))for(const Cr of jr.beforeEnter)fi.push(QE(Cr,lr,ei));else fi.push(QE(jr.beforeEnter,lr,ei));return fi.push(Oe),ji(fi)}).then(()=>(lr.matched.forEach(jr=>jr.enterCallbacks={}),fi=Bme(or,"beforeRouteEnter",lr,ei),fi.push(Oe),ji(fi))).then(()=>{fi=[];for(const jr of T.list())fi.push(QE(jr,lr,ei));return fi.push(Oe),ji(fi)}).catch(jr=>zk(jr,8)?jr:Promise.reject(jr))}function _r(lr,ei,fi){for(const fs of P.list())xt(()=>fs(lr,ei,fi))}function An(lr,ei,fi,fs,Xs){const or=ut(lr,ei);if(or)return or;const Oe=ei===zE,jr=TN?history.state:{};fi&&(fs||Oe?p.replace(lr.fullPath,Sf({scroll:Oe&&jr&&jr.scroll},Xs)):p.push(lr.fullPath,Xs)),I.value=lr,Tn(lr,ei,fi,Oe),mn()}let hr;function Fi(){hr||(hr=p.listen((lr,ei,fi)=>{if(!fr.listening)return;const fs=Ve(lr),Xs=ar(fs);if(Xs){kr(Sf(Xs,{replace:!0}),fs).catch(xF);return}B=fs;const or=I.value;TN&&r4t(hBe(or.fullPath,fi.delta),oQ()),Wt(fs,or).catch(Oe=>zk(Oe,12)?Oe:zk(Oe,2)?(kr(Oe.to,fs).then(jr=>{zk(jr,20)&&!fi.delta&&fi.type===$F.pop&&p.go(-1,!1)}).catch(xF),Promise.reject()):(fi.delta&&p.go(-fi.delta,!1),$s(Oe,fs,or))).then(Oe=>{Oe=Oe||An(fs,or,!1),Oe&&(fi.delta&&!zk(Oe,8)?p.go(-fi.delta,!1):fi.type===$F.pop&&zk(Oe,20)&&p.go(-1,!1)),_r(fs,or,Oe)}).catch(xF)}))}let ss=YM(),qt=YM(),Ba;function $s(lr,ei,fi){mn(lr);const fs=qt.list();return fs.length?fs.forEach(Xs=>Xs(lr,ei,fi)):console.error(lr),Promise.reject(lr)}function Vn(){return Ba&&I.value!==zE?Promise.resolve():new Promise((lr,ei)=>{ss.add([lr,ei])})}function mn(lr){return Ba||(Ba=!lr,Fi(),ss.list().forEach(([ei,fi])=>lr?fi(lr):ei()),ss.reset()),lr}function Tn(lr,ei,fi,fs){const{scrollBehavior:Xs}=o;if(!TN||!Xs)return Promise.resolve();const or=!fi&&n4t(hBe(lr.fullPath,0))||(fs||!fi)&&history.state&&history.state.scroll||null;return wUe().then(()=>Xs(lr,ei,or)).then(Oe=>Oe&&t4t(Oe)).catch(Oe=>$s(Oe,lr,ei))}const gr=lr=>p.go(lr);let Ln;const Fr=new Set,fr={currentRoute:I,listening:!0,addRoute:Ie,removeRoute:ze,hasRoute:et,getRoutes:Ue,resolve:Ve,options:o,push:He,replace:Bt,go:gr,back:()=>gr(-1),forward:()=>gr(1),beforeEach:y.add,beforeResolve:T.add,afterEach:P.add,onError:qt.add,isReady:Vn,install(lr){const ei=this;lr.component("RouterLink",j4t),lr.component("RouterView",V4t),lr.config.globalProperties.$router=ei,Object.defineProperty(lr.config.globalProperties,"$route",{enumerable:!0,get:()=>iC(I)}),TN&&!Ln&&I.value===zE&&(Ln=!0,He(p.location).catch(Xs=>{}));const fi={};for(const Xs in zE)fi[Xs]=Wm(()=>I.value[Xs]);lr.provide(cQ,ei),lr.provide(aye,hI(fi)),lr.provide(Dhe,I);const fs=lr.unmount;Fr.add(lr),lr.unmount=function(){Fr.delete(lr),Fr.size<1&&(B=zE,hr&&hr(),hr=null,I.value=zE,Ln=!1,Ba=!1),fs()}}};function ji(lr){return lr.reduce((ei,fi)=>ei.then(()=>xt(fi)),Promise.resolve())}return fr}function $4t(o,i){const a=[],u=[],p=[],y=Math.max(i.matched.length,o.matched.length);for(let T=0;T<y;T++){const P=i.matched[T];P&&(o.matched.find(B=>GN(B,P))?u.push(P):a.push(P));const I=o.matched[T];I&&(i.matched.find(B=>GN(B,I))||p.push(I))}return[a,u,p]}function nBt(){return ky(cQ)}function iBt(){return ky(aye)}/*!
* vue-router v4.1.6
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/const q4t=()=>{},iX=Array.isArray;function DBe(o,i){return(o.aliasOf||o)===(i.aliasOf||i)}function W4t(o,i){if(Object.keys(o).length!==Object.keys(i).length)return!1;for(const a in o)if(!H4t(o[a],i[a]))return!1;return!0}function H4t(o,i){return iX(o)?NBe(o,i):iX(i)?NBe(i,o):o===i}function NBe(o,i){return iX(i)?o.length===i.length&&o.every((a,u)=>a===i[u]):o.length===1&&o[0]===i}var IBe;(function(o){o.pop="pop",o.push="push"})(IBe||(IBe={}));var OBe;(function(o){o.back="back",o.forward="forward",o.unknown=""})(OBe||(OBe={}));var LBe;(function(o){o[o.aborted=4]="aborted",o[o.cancelled=8]="cancelled",o[o.duplicated=16]="duplicated"})(LBe||(LBe={}));const oye=Symbol(""),G4t=Symbol("");function MBe(o){const i=ky(oye),a=ky(G4t),u=Wm(()=>i.resolve(iC(o.to))),p=Wm(()=>{const{matched:I}=u.value,{length:B}=I,z=I[B-1],H=a.matched;if(!z||!H.length)return-1;const Q=H.findIndex(DBe.bind(null,z));if(Q>-1)return Q;const Ie=FBe(I[B-2]);return B>1&&FBe(z)===Ie&&H[H.length-1].path!==Ie?H.findIndex(DBe.bind(null,I[B-2])):Q}),y=Wm(()=>p.value>-1&&Y4t(a.params,u.value.params)),T=Wm(()=>p.value>-1&&p.value===a.matched.length-1&&W4t(a.params,u.value.params));function P(I={}){return Q4t(I)?i[iC(o.replace)?"replace":"push"](iC(o.to)).catch(q4t):Promise.resolve()}return{route:u,href:Wm(()=>u.value.href),isActive:y,isExactActive:T,navigate:P}}const X4t=rQ({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:MBe,setup(o,{slots:i}){const a=hI(MBe(o)),{options:u}=ky(oye),p=Wm(()=>({[RBe(o.activeClass,u.linkActiveClass,"router-link-active")]:a.isActive,[RBe(o.exactActiveClass,u.linkExactActiveClass,"router-link-exact-active")]:a.isExactActive}));return()=>{const y=i.default&&i.default(a);return o.custom?y:aQ("a",{"aria-current":a.isExactActive?o.ariaCurrentValue:null,href:a.href,onClick:a.navigate,class:p.value},y)}}}),sBt=X4t;function Q4t(o){if(!(o.metaKey||o.altKey||o.ctrlKey||o.shiftKey)&&!o.defaultPrevented&&!(o.button!==void 0&&o.button!==0)){if(o.currentTarget&&o.currentTarget.getAttribute){const i=o.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(i))return}return o.preventDefault&&o.preventDefault(),!0}}function Y4t(o,i){for(const a in i){const u=i[a],p=o[a];if(typeof u=="string"){if(u!==p)return!1}else if(!iX(p)||p.length!==u.length||u.some((y,T)=>y!==p[T]))return!1}return!0}function FBe(o){return o?o.aliasOf?o.aliasOf.path:o.path:""}const RBe=(o,i,a)=>o??i??a;function aBt(){return ky(oye)}const oBt=(o,i)=>{const a=o.__vccOpts||o;for(const[u,p]of i)a[u]=p;return a};var BBe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function cBt(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}function Dze(o){if(o.__esModule)return o;var i=o.default;if(typeof i=="function"){var a=function u(){if(this instanceof u){var p=[null];p.push.apply(p,arguments);var y=Function.bind.apply(i,p);return new y}return i.apply(this,arguments)};a.prototype=i.prototype}else a={};return Object.defineProperty(a,"__esModule",{value:!0}),Object.keys(o).forEach(function(u){var p=Object.getOwnPropertyDescriptor(o,u);Object.defineProperty(a,u,p.get?p:{enumerable:!0,get:function(){return o[u]}})}),a}function Nhe(o){throw new Error('Could not dynamically require "'+o+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}function Lh(o,i){const a=Object.create(null),u=o.split(",");for(let p=0;p<u.length;p++)a[u[p]]=!0;return i?p=>!!a[p.toLowerCase()]:p=>!!a[p]}const Z4t=Object.freeze({}),jBe=()=>{},LG=()=>!1,K4t=/^on[^a-z]/,Nze=o=>K4t.test(o),sC=Object.assign,e3t=Object.prototype.hasOwnProperty,lQ=(o,i)=>e3t.call(o,i),Cy=Array.isArray,t3t=o=>cye(o)==="[object Map]",r3t=o=>cye(o)==="[object Set]",Ize=o=>typeof o=="function",ou=o=>typeof o=="string",gI=o=>typeof o=="symbol",dC=o=>o!==null&&typeof o=="object",Oze=Object.prototype.toString,cye=o=>Oze.call(o),n3t=o=>cye(o)==="[object Object]",JBe=Lh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),lye=Lh("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),uQ=o=>{const i=Object.create(null);return a=>i[a]||(i[a]=o(a))},i3t=/-(\w)/g,X2=uQ(o=>o.replace(i3t,(i,a)=>a?a.toUpperCase():"")),s3t=/\B([A-Z])/g,Lze=uQ(o=>o.replace(s3t,"-$1").toLowerCase()),s6=uQ(o=>o.charAt(0).toUpperCase()+o.slice(1)),a3t=uQ(o=>o?`on${s6(o)}`:""),o3t=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function QN(o){return o3t.test(o)?`__props.${o}`:`__props[${JSON.stringify(o)}]`}const ZS={[1]:"TEXT",[2]:"CLASS",[4]:"STYLE",[8]:"PROPS",[16]:"FULL_PROPS",[32]:"HYDRATE_EVENTS",[64]:"STABLE_FRAGMENT",[128]:"KEYED_FRAGMENT",[256]:"UNKEYED_FRAGMENT",[512]:"NEED_PATCH",[1024]:"DYNAMIC_SLOTS",[2048]:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},c3t={[1]:"STABLE",[2]:"DYNAMIC",[3]:"FORWARDED"},l3t="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",Mze=Lh(l3t),UBe=2;function yA(o,i=0,a=o.length){let u=o.split(/(\r?\n)/);const p=u.filter((P,I)=>I%2===1);u=u.filter((P,I)=>I%2===0);let y=0;const T=[];for(let P=0;P<u.length;P++)if(y+=u[P].length+(p[P]&&p[P].length||0),y>=i){for(let I=P-UBe;I<=P+UBe||a>y;I++){if(I<0||I>=u.length)continue;const B=I+1;T.push(`${B}${" ".repeat(Math.max(3-String(B).length,0))}| ${u[I]}`);const z=u[I].length,H=p[I]&&p[I].length||0;if(I===P){const Q=i-(y-(z+H)),Ie=Math.max(1,a>y?z-Q:a-i);T.push(" | "+" ".repeat(Q)+"^".repeat(Ie))}else if(I>P){if(a>y){const Q=Math.max(Math.min(a-y,z),1);T.push(" | "+"^".repeat(Q))}y+=z+H}}break}return T.join(`
`)}function Fze(o){if(Cy(o)){const i={};for(let a=0;a<o.length;a++){const u=o[a],p=ou(u)?Rze(u):Fze(u);if(p)for(const y in p)i[y]=p[y]}return i}else{if(ou(o))return o;if(dC(o))return o}}const u3t=/;(?![^(]*\))/g,f3t=/:([^]+)/,_3t=/\/\*[^]*?\*\//g;function Rze(o){const i={};return o.replace(_3t,"").split(u3t).forEach(a=>{if(a){const u=a.split(f3t);u.length>1&&(i[u[0].trim()]=u[1].trim())}}),i}function p3t(o){let i="";if(!o||ou(o))return i;for(const a in o){const u=o[a],p=a.startsWith("--")?a:Lze(a);(ou(u)||typeof u=="number")&&(i+=`${p}:${u};`)}return i}function Bze(o){let i="";if(ou(o))i=o;else if(Cy(o))for(let a=0;a<o.length;a++){const u=Bze(o[a]);u&&(i+=u+" ")}else if(dC(o))for(const a in o)o[a]&&(i+=a+" ");return i.trim()}const d3t="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",m3t="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",h3t="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",g3t=Lh(d3t),y3t=Lh(m3t),jze=Lh(h3t),v3t="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Jze=Lh(v3t+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),b3t=/[>/="'\u0009\u000a\u000c\u0020]/,jme={};function T3t(o){if(jme.hasOwnProperty(o))return jme[o];const i=b3t.test(o);return i&&console.error(`unsafe attribute name: ${o}`),jme[o]=!i}const S3t={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},x3t=Lh("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,inert,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap"),k3t=Lh("xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,color-interpolation-filters,color-profile,color-rendering,contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,font-family,font-size,font-size-adjust,font-stretch,font-style,font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,overflow,overline-position,overline-thickness,panose-1,paint-order,path,pathLength,patternContentUnits,patternTransform,patternUnits,ping,pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,specularConstant,specularExponent,speed,spreadMethod,startOffset,stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,string,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,text-decoration,text-rendering,textLength,to,transform,transform-origin,type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),C3t=/["'&<>]/;function XS(o){const i=""+o,a=C3t.exec(i);if(!a)return i;let u="",p,y,T=0;for(y=a.index;y<i.length;y++){switch(i.charCodeAt(y)){case 34:p="&quot;";break;case 38:p="&amp;";break;case 39:p="&#39;";break;case 60:p="&lt;";break;case 62:p="&gt;";break;default:continue}T!==y&&(u+=i.slice(T,y)),T=y+1,u+=p}return T!==y?u+i.slice(T,y):u}const uye=o=>ou(o)?o:o==null?"":Cy(o)||dC(o)&&(o.toString===Oze||!Ize(o.toString))?JSON.stringify(o,Uze,2):String(o),Uze=(o,i)=>i&&i.__v_isRef?Uze(o,i.value):t3t(i)?{[`Map(${i.size})`]:[...i.entries()].reduce((a,[u,p])=>(a[`${u} =>`]=p,a),{})}:r3t(i)?{[`Set(${i.size})`]:[...i.values()]}:dC(i)&&!Cy(i)&&!n3t(i)?String(i):i;function fye(o){throw o}function zze(o){console.warn(`[Vue warn] ${o.message}`)}function Fu(o,i,a,u){const p=(a||w3t)[o]+(u||""),y=new SyntaxError(String(p));return y.code=o,y.loc=i,y}const w3t={[0]:"Illegal comment.",[1]:"CDATA section is allowed only in XML context.",[2]:"Duplicate attribute.",[3]:"End tag cannot have attributes.",[4]:"Illegal '/' in tags.",[5]:"Unexpected EOF in tag.",[6]:"Unexpected EOF in CDATA section.",[7]:"Unexpected EOF in comment.",[8]:"Unexpected EOF in script.",[9]:"Unexpected EOF in tag.",[10]:"Incorrectly closed comment.",[11]:"Incorrectly opened comment.",[12]:"Illegal tag name. Use '&lt;' to print '<'.",[13]:"Attribute value was expected.",[14]:"End tag name was expected.",[15]:"Whitespace was expected.",[16]:"Unexpected '<!--' in comment.",[17]:`Attribute name cannot contain U+0022 ("), U+0027 ('), and U+003C (<).`,[18]:"Unquoted attribute value cannot contain U+0022 (\"), U+0027 ('), U+003C (<), U+003D (=), and U+0060 (`).",[19]:"Attribute name cannot start with '='.",[21]:"'<?' is allowed only in XML context.",[20]:"Unexpected null character.",[22]:"Illegal '/' in tags.",[23]:"Invalid end tag.",[24]:"Element is missing end tag.",[25]:"Interpolation end sign was not found.",[27]:"End bracket for dynamic directive argument was not found. Note that dynamic directive argument cannot contain spaces.",[26]:"Legal directive name was expected.",[28]:"v-if/v-else-if is missing expression.",[29]:"v-if/else branches must use unique keys.",[30]:"v-else/v-else-if has no adjacent v-if or v-else-if.",[31]:"v-for is missing expression.",[32]:"v-for has invalid expression.",[33]:"<template v-for> key should be placed on the <template> tag.",[34]:"v-bind is missing expression.",[35]:"v-on is missing expression.",[36]:"Unexpected custom directive on <slot> outlet.",[37]:"Mixed v-slot usage on both the component and nested <template>. When there are multiple named slots, all slots should use <template> syntax to avoid scope ambiguity.",[38]:"Duplicate slot names found. ",[39]:"Extraneous children found when component already has explicitly named default slot. These children will be ignored.",[40]:"v-slot can only be used on components or <template> tags.",[41]:"v-model is missing expression.",[42]:"v-model value must be a valid JavaScript member expression.",[43]:"v-model cannot be used on v-for or v-slot scope variables because they are not writable.",[44]:`v-model cannot be used on a prop, because local prop bindings are not writable.
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,[45]:"Error parsing JavaScript expression: ",[46]:"<KeepAlive> expects exactly one child component.",[47]:'"prefixIdentifiers" option is not supported in this build of compiler.',[48]:"ES module mode is not supported in this build of compiler.",[49]:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',[50]:'"scopeId" option is only supported in module mode.',[51]:"@vnode-* hooks in templates are deprecated. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support will be removed in 3.4.",[52]:'v-is="component-name" has been deprecated. Use is="vue:component-name" instead. v-is support will be removed in 3.4.',[53]:""},YN=Symbol("Fragment"),cA=Symbol("Teleport"),yI=Symbol("Suspense"),qF=Symbol("KeepAlive"),_ye=Symbol("BaseTransition"),a6=Symbol("openBlock"),pye=Symbol("createBlock"),dye=Symbol("createElementBlock"),AR=Symbol("createVNode"),fQ=Symbol("createElementVNode"),vI=Symbol("createCommentVNode"),_Q=Symbol("createTextVNode"),pQ=Symbol("createStaticVNode"),WF=Symbol("resolveComponent"),ZN=Symbol("resolveDynamicComponent"),dQ=Symbol("resolveDirective"),Vze=Symbol("resolveFilter"),mQ=Symbol("withDirectives"),hQ=Symbol("renderList"),mye=Symbol("renderSlot"),hye=Symbol("createSlots"),PR=Symbol("toDisplayString"),vA=Symbol("mergeProps"),gQ=Symbol("normalizeClass"),yQ=Symbol("normalizeStyle"),KN=Symbol("normalizeProps"),bI=Symbol("guardReactiveProps"),vQ=Symbol("toHandlers"),sX=Symbol("camelize"),$ze=Symbol("capitalize"),aX=Symbol("toHandlerKey"),HF=Symbol("setBlockTracking"),bQ=Symbol("pushScopeId"),TQ=Symbol("popScopeId"),SQ=Symbol("withCtx"),eI=Symbol("unref"),GF=Symbol("isRef"),xQ=Symbol("withMemo"),gye=Symbol("isMemoSame"),M0={[YN]:"Fragment",[cA]:"Teleport",[yI]:"Suspense",[qF]:"KeepAlive",[_ye]:"BaseTransition",[a6]:"openBlock",[pye]:"createBlock",[dye]:"createElementBlock",[AR]:"createVNode",[fQ]:"createElementVNode",[vI]:"createCommentVNode",[_Q]:"createTextVNode",[pQ]:"createStaticVNode",[WF]:"resolveComponent",[ZN]:"resolveDynamicComponent",[dQ]:"resolveDirective",[Vze]:"resolveFilter",[mQ]:"withDirectives",[hQ]:"renderList",[mye]:"renderSlot",[hye]:"createSlots",[PR]:"toDisplayString",[vA]:"mergeProps",[gQ]:"normalizeClass",[yQ]:"normalizeStyle",[KN]:"normalizeProps",[bI]:"guardReactiveProps",[vQ]:"toHandlers",[sX]:"camelize",[$ze]:"capitalize",[aX]:"toHandlerKey",[HF]:"setBlockTracking",[bQ]:"pushScopeId",[TQ]:"popScopeId",[SQ]:"withCtx",[eI]:"unref",[GF]:"isRef",[xQ]:"withMemo",[gye]:"isMemoSame"};function yye(o){Object.getOwnPropertySymbols(o).forEach(i=>{M0[i]=o[i]})}const np={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function TI(o,i=np){return{type:0,children:o,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:i}}function tI(o,i,a,u,p,y,T,P=!1,I=!1,B=!1,z=np){return o&&(P?(o.helper(a6),o.helper(TA(o.inSSR,B))):o.helper(bA(o.inSSR,B)),T&&o.helper(mQ)),{type:13,tag:i,props:a,children:u,patchFlag:p,dynamicProps:y,directives:T,isBlock:P,disableTracking:I,isComponent:B,loc:z}}function wA(o,i=np){return{type:17,loc:i,elements:o}}function F0(o,i=np){return{type:15,loc:i,properties:o}}function rf(o,i){return{type:16,loc:np,key:ou(o)?Ta(o,!0):o,value:i}}function Ta(o,i=!1,a=np,u=0){return{type:4,loc:a,content:o,isStatic:i,constType:i?3:u}}function oX(o,i){return{type:5,loc:i,content:ou(o)?Ta(o,!1,i):o}}function Ah(o,i=np){return{type:8,loc:i,children:o}}function bc(o,i=[],a=np){return{type:14,loc:a,callee:o,arguments:i}}function tv(o,i=void 0,a=!1,u=!1,p=np){return{type:18,params:o,returns:i,newline:a,isSlot:u,loc:p}}function o6(o,i,a,u=!0){return{type:19,test:o,consequent:i,alternate:a,newline:u,loc:np}}function qze(o,i,a=!1){return{type:20,index:o,value:i,isVNode:a,loc:np}}function DR(o){return{type:21,body:o,loc:np}}function vye(o){return{type:22,elements:o,loc:np}}function cX(o,i,a){return{type:23,test:o,consequent:i,alternate:a,loc:np}}function Ihe(o,i){return{type:24,left:o,right:i,loc:np}}function Wze(o){return{type:25,expressions:o,loc:np}}function Hze(o){return{type:26,returns:o,loc:np}}function bA(o,i){return o||i?AR:fQ}function TA(o,i){return o||i?pye:dye}function kQ(o,{helper:i,removeHelper:a,inSSR:u}){o.isBlock||(o.isBlock=!0,a(bA(u,o.isComponent)),i(a6),i(TA(u,o.isComponent)))}function E3t(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}function NR(o){if(o.__esModule)return o;var i=o.default;if(typeof i=="function"){var a=function u(){if(this instanceof u){var p=[null];p.push.apply(p,arguments);var y=Function.bind.apply(i,p);return new y}return i.apply(this,arguments)};a.prototype=i.prototype}else a={};return Object.defineProperty(a,"__esModule",{value:!0}),Object.keys(o).forEach(function(u){var p=Object.getOwnPropertyDescriptor(o,u);Object.defineProperty(a,u,p.get?p:{enumerable:!0,get:function(){return o[u]}})}),a}var CQ={};Object.defineProperty(CQ,"__esModule",{value:!0});const zBe={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function A3t(o){if(o&&o.annexB!=null&&o.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");const i={};for(const a of Object.keys(zBe))i[a]=o&&o[a]!=null?o[a]:zBe[a];return i}class dF{constructor(i,a){this.token=void 0,this.preserveSpace=void 0,this.token=i,this.preserveSpace=!!a}}const zf={brace:new dF("{"),j_oTag:new dF("<tag"),j_cTag:new dF("</tag"),j_expr:new dF("<tag>...</tag>",!0)};zf.template=new dF("`",!0);const Ml=!0,ma=!0,Jme=!0,ZM=!0,VE=!0,P3t=!0;class Gze{constructor(i,a={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=i,this.keyword=a.keyword,this.beforeExpr=!!a.beforeExpr,this.startsExpr=!!a.startsExpr,this.rightAssociative=!!a.rightAssociative,this.isLoop=!!a.isLoop,this.isAssign=!!a.isAssign,this.prefix=!!a.prefix,this.postfix=!!a.postfix,this.binop=a.binop!=null?a.binop:null,this.updateContext=null}}const bye=new Map;function au(o,i={}){i.keyword=o;const a=Vo(o,i);return bye.set(o,a),a}function gy(o,i){return Vo(o,{beforeExpr:Ml,binop:i})}let CF=-1;const Xk=[],Tye=[],Sye=[],xye=[],kye=[],Cye=[];function Vo(o,i={}){var a,u,p,y;return++CF,Tye.push(o),Sye.push((a=i.binop)!=null?a:-1),xye.push((u=i.beforeExpr)!=null?u:!1),kye.push((p=i.startsExpr)!=null?p:!1),Cye.push((y=i.prefix)!=null?y:!1),Xk.push(new Gze(o,i)),CF}function Wl(o,i={}){var a,u,p,y;return++CF,bye.set(o,CF),Tye.push(o),Sye.push((a=i.binop)!=null?a:-1),xye.push((u=i.beforeExpr)!=null?u:!1),kye.push((p=i.startsExpr)!=null?p:!1),Cye.push((y=i.prefix)!=null?y:!1),Xk.push(new Gze("name",i)),CF}const D3t={bracketL:Vo("[",{beforeExpr:Ml,startsExpr:ma}),bracketHashL:Vo("#[",{beforeExpr:Ml,startsExpr:ma}),bracketBarL:Vo("[|",{beforeExpr:Ml,startsExpr:ma}),bracketR:Vo("]"),bracketBarR:Vo("|]"),braceL:Vo("{",{beforeExpr:Ml,startsExpr:ma}),braceBarL:Vo("{|",{beforeExpr:Ml,startsExpr:ma}),braceHashL:Vo("#{",{beforeExpr:Ml,startsExpr:ma}),braceR:Vo("}"),braceBarR:Vo("|}"),parenL:Vo("(",{beforeExpr:Ml,startsExpr:ma}),parenR:Vo(")"),comma:Vo(",",{beforeExpr:Ml}),semi:Vo(";",{beforeExpr:Ml}),colon:Vo(":",{beforeExpr:Ml}),doubleColon:Vo("::",{beforeExpr:Ml}),dot:Vo("."),question:Vo("?",{beforeExpr:Ml}),questionDot:Vo("?."),arrow:Vo("=>",{beforeExpr:Ml}),template:Vo("template"),ellipsis:Vo("...",{beforeExpr:Ml}),backQuote:Vo("`",{startsExpr:ma}),dollarBraceL:Vo("${",{beforeExpr:Ml,startsExpr:ma}),templateTail:Vo("...`",{startsExpr:ma}),templateNonTail:Vo("...${",{beforeExpr:Ml,startsExpr:ma}),at:Vo("@"),hash:Vo("#",{startsExpr:ma}),interpreterDirective:Vo("#!..."),eq:Vo("=",{beforeExpr:Ml,isAssign:ZM}),assign:Vo("_=",{beforeExpr:Ml,isAssign:ZM}),slashAssign:Vo("_=",{beforeExpr:Ml,isAssign:ZM}),xorAssign:Vo("_=",{beforeExpr:Ml,isAssign:ZM}),moduloAssign:Vo("_=",{beforeExpr:Ml,isAssign:ZM}),incDec:Vo("++/--",{prefix:VE,postfix:P3t,startsExpr:ma}),bang:Vo("!",{beforeExpr:Ml,prefix:VE,startsExpr:ma}),tilde:Vo("~",{beforeExpr:Ml,prefix:VE,startsExpr:ma}),doubleCaret:Vo("^^",{startsExpr:ma}),doubleAt:Vo("@@",{startsExpr:ma}),pipeline:gy("|>",0),nullishCoalescing:gy("??",1),logicalOR:gy("||",1),logicalAND:gy("&&",2),bitwiseOR:gy("|",3),bitwiseXOR:gy("^",4),bitwiseAND:gy("&",5),equality:gy("==/!=/===/!==",6),lt:gy("</>/<=/>=",7),gt:gy("</>/<=/>=",7),relational:gy("</>/<=/>=",7),bitShift:gy("<</>>/>>>",8),bitShiftL:gy("<</>>/>>>",8),bitShiftR:gy("<</>>/>>>",8),plusMin:Vo("+/-",{beforeExpr:Ml,binop:9,prefix:VE,startsExpr:ma}),modulo:Vo("%",{binop:10,startsExpr:ma}),star:Vo("*",{binop:10}),slash:gy("/",10),exponent:Vo("**",{beforeExpr:Ml,binop:11,rightAssociative:!0}),_in:au("in",{beforeExpr:Ml,binop:7}),_instanceof:au("instanceof",{beforeExpr:Ml,binop:7}),_break:au("break"),_case:au("case",{beforeExpr:Ml}),_catch:au("catch"),_continue:au("continue"),_debugger:au("debugger"),_default:au("default",{beforeExpr:Ml}),_else:au("else",{beforeExpr:Ml}),_finally:au("finally"),_function:au("function",{startsExpr:ma}),_if:au("if"),_return:au("return",{beforeExpr:Ml}),_switch:au("switch"),_throw:au("throw",{beforeExpr:Ml,prefix:VE,startsExpr:ma}),_try:au("try"),_var:au("var"),_const:au("const"),_with:au("with"),_new:au("new",{beforeExpr:Ml,startsExpr:ma}),_this:au("this",{startsExpr:ma}),_super:au("super",{startsExpr:ma}),_class:au("class",{startsExpr:ma}),_extends:au("extends",{beforeExpr:Ml}),_export:au("export"),_import:au("import",{startsExpr:ma}),_null:au("null",{startsExpr:ma}),_true:au("true",{startsExpr:ma}),_false:au("false",{startsExpr:ma}),_typeof:au("typeof",{beforeExpr:Ml,prefix:VE,startsExpr:ma}),_void:au("void",{beforeExpr:Ml,prefix:VE,startsExpr:ma}),_delete:au("delete",{beforeExpr:Ml,prefix:VE,startsExpr:ma}),_do:au("do",{isLoop:Jme,beforeExpr:Ml}),_for:au("for",{isLoop:Jme}),_while:au("while",{isLoop:Jme}),_as:Wl("as",{startsExpr:ma}),_assert:Wl("assert",{startsExpr:ma}),_async:Wl("async",{startsExpr:ma}),_await:Wl("await",{startsExpr:ma}),_from:Wl("from",{startsExpr:ma}),_get:Wl("get",{startsExpr:ma}),_let:Wl("let",{startsExpr:ma}),_meta:Wl("meta",{startsExpr:ma}),_of:Wl("of",{startsExpr:ma}),_sent:Wl("sent",{startsExpr:ma}),_set:Wl("set",{startsExpr:ma}),_static:Wl("static",{startsExpr:ma}),_using:Wl("using",{startsExpr:ma}),_yield:Wl("yield",{startsExpr:ma}),_asserts:Wl("asserts",{startsExpr:ma}),_checks:Wl("checks",{startsExpr:ma}),_exports:Wl("exports",{startsExpr:ma}),_global:Wl("global",{startsExpr:ma}),_implements:Wl("implements",{startsExpr:ma}),_intrinsic:Wl("intrinsic",{startsExpr:ma}),_infer:Wl("infer",{startsExpr:ma}),_is:Wl("is",{startsExpr:ma}),_mixins:Wl("mixins",{startsExpr:ma}),_proto:Wl("proto",{startsExpr:ma}),_require:Wl("require",{startsExpr:ma}),_satisfies:Wl("satisfies",{startsExpr:ma}),_keyof:Wl("keyof",{startsExpr:ma}),_readonly:Wl("readonly",{startsExpr:ma}),_unique:Wl("unique",{startsExpr:ma}),_abstract:Wl("abstract",{startsExpr:ma}),_declare:Wl("declare",{startsExpr:ma}),_enum:Wl("enum",{startsExpr:ma}),_module:Wl("module",{startsExpr:ma}),_namespace:Wl("namespace",{startsExpr:ma}),_interface:Wl("interface",{startsExpr:ma}),_type:Wl("type",{startsExpr:ma}),_opaque:Wl("opaque",{startsExpr:ma}),name:Vo("name",{startsExpr:ma}),string:Vo("string",{startsExpr:ma}),num:Vo("num",{startsExpr:ma}),bigint:Vo("bigint",{startsExpr:ma}),decimal:Vo("decimal",{startsExpr:ma}),regexp:Vo("regexp",{startsExpr:ma}),privateName:Vo("#name",{startsExpr:ma}),eof:Vo("eof"),jsxName:Vo("jsxName"),jsxText:Vo("jsxText",{beforeExpr:!0}),jsxTagStart:Vo("jsxTagStart",{startsExpr:!0}),jsxTagEnd:Vo("jsxTagEnd"),placeholder:Vo("%%",{startsExpr:!0})};function ku(o){return o>=93&&o<=130}function N3t(o){return o<=92}function QS(o){return o>=58&&o<=130}function Xze(o){return o>=58&&o<=134}function I3t(o){return xye[o]}function Ohe(o){return kye[o]}function O3t(o){return o>=29&&o<=33}function VBe(o){return o>=127&&o<=129}function L3t(o){return o>=90&&o<=92}function wye(o){return o>=58&&o<=92}function M3t(o){return o>=39&&o<=59}function F3t(o){return o===34}function R3t(o){return Cye[o]}function B3t(o){return o>=119&&o<=121}function j3t(o){return o>=122&&o<=128}function t6(o){return Tye[o]}function MG(o){return Sye[o]}function J3t(o){return o===57}function lX(o){return o>=24&&o<=25}function Wk(o){return Xk[o]}Xk[8].updateContext=o=>{o.pop()},Xk[5].updateContext=Xk[7].updateContext=Xk[23].updateContext=o=>{o.push(zf.brace)},Xk[22].updateContext=o=>{o[o.length-1]===zf.template?o.pop():o.push(zf.template)},Xk[140].updateContext=o=>{o.push(zf.j_expr,zf.j_oTag)};function uX(o,i){if(o==null)return{};var a={},u=Object.keys(o),p,y;for(y=0;y<u.length;y++)p=u[y],!(i.indexOf(p)>=0)&&(a[p]=o[p]);return a}class r6{constructor(i,a,u){this.line=void 0,this.column=void 0,this.index=void 0,this.line=i,this.column=a,this.index=u}}class fX{constructor(i,a){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=i,this.end=a}}function Ty(o,i){const{line:a,column:u,index:p}=o;return new r6(a,u+i,p+i)}var Lhe={SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"};const U3t=(o,i=o.length-1)=>({get(){return o.reduce((a,u)=>a[u],this)},set(a){o.reduce((u,p,y)=>y===i?u[p]=a:u[p],this)}}),z3t=(o,i,a)=>Object.keys(a).map(u=>[u,a[u]]).filter(([,u])=>!!u).map(([u,p])=>[u,typeof p=="function"?{value:p,enumerable:!1}:typeof p.reflect=="string"?Object.assign({},p,U3t(p.reflect.split("."))):p]).reduce((u,[p,y])=>Object.defineProperty(u,p,Object.assign({configurable:!0},y)),Object.assign(new o,i));var V3t={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:Lhe.SourceTypeModuleError},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:Lhe.SourceTypeModuleError}};const $Be={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},Mhe=({type:o,prefix:i})=>o==="UpdateExpression"?$Be.UpdateExpression[String(i)]:$Be[o];var $3t={AccessorIsGenerator:({kind:o})=>`A ${o}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitInUsingBinding:"'await' is not allowed to be used as a name in 'using' declarations.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:o})=>`Missing initializer in ${o} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:o})=>`\`${o}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:o,exportName:i})=>`A string literal cannot be used as an exported binding without \`from\`.
- Did you mean \`export { '${o}' as '${i}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:o})=>`'${o==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:o})=>`Unsyntactic ${o==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:({importName:o})=>`A string literal cannot be used as an imported binding.
- Did you mean \`import { "${o}" as foo }\`?`,ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:({maxArgumentCount:o})=>`\`import()\` requires exactly ${o===1?"one argument":"one or two arguments"}.`,ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:o})=>`Expected number in radix ${o}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:o})=>`Escape sequence in keyword ${o}.`,InvalidIdentifier:({identifierName:o})=>`Invalid identifier ${o}.`,InvalidLhs:({ancestor:o})=>`Invalid left-hand side in ${Mhe(o)}.`,InvalidLhsBinding:({ancestor:o})=>`Binding invalid left-hand side in ${Mhe(o)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:o})=>`Unexpected character '${o}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:o})=>`Private name #${o} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:o})=>`Label '${o}' is already declared.`,LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:o})=>`This experimental syntax requires enabling the parser plugin: ${o.map(i=>JSON.stringify(i)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:o})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${o.map(i=>JSON.stringify(i)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:o})=>`Duplicate key "${o}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:o})=>`An export name cannot include a lone surrogate, found '\\u${o.toString(16)}'.`,ModuleExportUndefined:({localName:o})=>`Export '${o}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:o})=>`Private names are only allowed in property accesses (\`obj.#${o}\`) or in \`in\` expressions (\`#${o} in obj\`).`,PrivateNameRedeclaration:({identifierName:o})=>`Duplicate private name #${o}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:o})=>`Unexpected keyword '${o}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:o})=>`Unexpected reserved word '${o}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:o,unexpected:i})=>`Unexpected token${i?` '${i}'.`:""}${o?`, expected "${o}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:o,onlyValidPropertyName:i})=>`The only valid meta property for ${o} is ${o}.${i}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:o})=>`Identifier '${o}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},q3t={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:o})=>`Assigning to '${o}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:o})=>`Binding '${o}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."};const W3t=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var H3t={PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:o})=>`Invalid topic token ${o}. In order to use ${o} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${o}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:o})=>`Hack-style pipe body cannot be an unparenthesized ${Mhe({type:o})}; please wrap it in parentheses.`,PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'};const G3t=["toMessage"],X3t=["message"];function Q3t(o){let{toMessage:i}=o,a=uX(o,G3t);return function u({loc:p,details:y}){return z3t(SyntaxError,Object.assign({},a,{loc:p}),{clone(T={}){const P=T.loc||{};return u({loc:new r6("line"in P?P.line:this.loc.line,"column"in P?P.column:this.loc.column,"index"in P?P.index:this.loc.index),details:Object.assign({},this.details,T.details)})},details:{value:y,enumerable:!1},message:{get(){return`${i(this.details)} (${this.loc.line}:${this.loc.column})`},set(T){Object.defineProperty(this,"message",{value:T})}},pos:{reflect:"loc.index",enumerable:!0},missingPlugin:"missingPlugin"in y&&{reflect:"details.missingPlugin",enumerable:!0}})}}function Yk(o,i){if(Array.isArray(o))return u=>Yk(u,o[0]);const a={};for(const u of Object.keys(o)){const p=o[u],y=typeof p=="string"?{message:()=>p}:typeof p=="function"?{message:p}:p,{message:T}=y,P=uX(y,X3t),I=typeof T=="string"?()=>T:T;a[u]=Q3t(Object.assign({code:Lhe.SyntaxError,reasonCode:u,toMessage:I},i?{syntaxPlugin:i}:{},P))}return a}const zr=Object.assign({},Yk(V3t),Yk($3t),Yk(q3t),Yk`pipelineOperator`(H3t)),{defineProperty:Y3t}=Object,qBe=(o,i)=>Y3t(o,i,{enumerable:!1,value:o[i]});function KM(o){return o.loc.start&&qBe(o.loc.start,"index"),o.loc.end&&qBe(o.loc.end,"index"),o}var Z3t=o=>class extends o{parse(){const a=KM(super.parse());return this.options.tokens&&(a.tokens=a.tokens.map(KM)),a}parseRegExpLiteral({pattern:a,flags:u}){let p=null;try{p=new RegExp(a,u)}catch{}const y=this.estreeParseLiteral(p);return y.regex={pattern:a,flags:u},y}parseBigIntLiteral(a){let u;try{u=BigInt(a)}catch{u=null}const p=this.estreeParseLiteral(u);return p.bigint=String(p.value||a),p}parseDecimalLiteral(a){const p=this.estreeParseLiteral(null);return p.decimal=String(p.value||a),p}estreeParseLiteral(a){return this.parseLiteral(a,"Literal")}parseStringLiteral(a){return this.estreeParseLiteral(a)}parseNumericLiteral(a){return this.estreeParseLiteral(a)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(a){return this.estreeParseLiteral(a)}directiveToStmt(a){const u=a.value;delete a.value,u.type="Literal",u.raw=u.extra.raw,u.value=u.extra.expressionValue;const p=a;return p.type="ExpressionStatement",p.expression=u,p.directive=u.extra.rawValue,delete u.extra,p}initFunction(a,u){super.initFunction(a,u),a.expression=!1}checkDeclaration(a){a!=null&&this.isObjectProperty(a)?this.checkDeclaration(a.value):super.checkDeclaration(a)}getObjectOrClassMethodParams(a){return a.value.params}isValidDirective(a){var u;return a.type==="ExpressionStatement"&&a.expression.type==="Literal"&&typeof a.expression.value=="string"&&!((u=a.expression.extra)!=null&&u.parenthesized)}parseBlockBody(a,u,p,y,T){super.parseBlockBody(a,u,p,y,T);const P=a.directives.map(I=>this.directiveToStmt(I));a.body=P.concat(a.body),delete a.directives}pushClassMethod(a,u,p,y,T,P){this.parseMethod(u,p,y,T,P,"ClassMethod",!0),u.typeParameters&&(u.value.typeParameters=u.typeParameters,delete u.typeParameters),a.body.push(u)}parsePrivateName(){const a=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(a):a}convertPrivateNameToPrivateIdentifier(a){const u=super.getPrivateNameSV(a);return a=a,delete a.id,a.name=u,a.type="PrivateIdentifier",a}isPrivateName(a){return this.getPluginOption("estree","classFeatures")?a.type==="PrivateIdentifier":super.isPrivateName(a)}getPrivateNameSV(a){return this.getPluginOption("estree","classFeatures")?a.name:super.getPrivateNameSV(a)}parseLiteral(a,u){const p=super.parseLiteral(a,u);return p.raw=p.extra.raw,delete p.extra,p}parseFunctionBody(a,u,p=!1){super.parseFunctionBody(a,u,p),a.expression=a.body.type!=="BlockStatement"}parseMethod(a,u,p,y,T,P,I=!1){let B=this.startNode();return B.kind=a.kind,B=super.parseMethod(B,u,p,y,T,P,I),B.type="FunctionExpression",delete B.kind,a.value=B,P==="ClassPrivateMethod"&&(a.computed=!1),this.finishNode(a,"MethodDefinition")}parseClassProperty(...a){const u=super.parseClassProperty(...a);return this.getPluginOption("estree","classFeatures")&&(u.type="PropertyDefinition"),u}parseClassPrivateProperty(...a){const u=super.parseClassPrivateProperty(...a);return this.getPluginOption("estree","classFeatures")&&(u.type="PropertyDefinition",u.computed=!1),u}parseObjectMethod(a,u,p,y,T){const P=super.parseObjectMethod(a,u,p,y,T);return P&&(P.type="Property",P.kind==="method"&&(P.kind="init"),P.shorthand=!1),P}parseObjectProperty(a,u,p,y){const T=super.parseObjectProperty(a,u,p,y);return T&&(T.kind="init",T.type="Property"),T}isValidLVal(a,u,p){return a==="Property"?"value":super.isValidLVal(a,u,p)}isAssignable(a,u){return a!=null&&this.isObjectProperty(a)?this.isAssignable(a.value,u):super.isAssignable(a,u)}toAssignable(a,u=!1){if(a!=null&&this.isObjectProperty(a)){const{key:p,value:y}=a;this.isPrivateName(p)&&this.classScope.usePrivateName(this.getPrivateNameSV(p),p.loc.start),this.toAssignable(y,u)}else super.toAssignable(a,u)}toAssignableObjectExpressionProp(a,u,p){a.kind==="get"||a.kind==="set"?this.raise(zr.PatternHasAccessor,{at:a.key}):a.method?this.raise(zr.PatternHasMethod,{at:a.key}):super.toAssignableObjectExpressionProp(a,u,p)}finishCallExpression(a,u){const p=super.finishCallExpression(a,u);if(p.callee.type==="Import"){if(p.type="ImportExpression",p.source=p.arguments[0],this.hasPlugin("importAssertions")){var y;p.attributes=(y=p.arguments[1])!=null?y:null}delete p.arguments,delete p.callee}return p}toReferencedArguments(a){a.type!=="ImportExpression"&&super.toReferencedArguments(a)}parseExport(a,u){const p=this.state.lastTokStartLoc,y=super.parseExport(a,u);switch(y.type){case"ExportAllDeclaration":y.exported=null;break;case"ExportNamedDeclaration":y.specifiers.length===1&&y.specifiers[0].type==="ExportNamespaceSpecifier"&&(y.type="ExportAllDeclaration",y.exported=y.specifiers[0].exported,delete y.specifiers);case"ExportDefaultDeclaration":{var T;const{declaration:P}=y;(P==null?void 0:P.type)==="ClassDeclaration"&&((T=P.decorators)==null?void 0:T.length)>0&&P.start===y.start&&this.resetStartLocation(y,p)}break}return y}parseSubscript(a,u,p,y){const T=super.parseSubscript(a,u,p,y);if(y.optionalChainMember){if((T.type==="OptionalMemberExpression"||T.type==="OptionalCallExpression")&&(T.type=T.type.substring(8)),y.stop){const P=this.startNodeAtNode(T);return P.expression=T,this.finishNode(P,"ChainExpression")}}else(T.type==="MemberExpression"||T.type==="CallExpression")&&(T.optional=!1);return T}hasPropertyAsPrivateName(a){return a.type==="ChainExpression"&&(a=a.expression),super.hasPropertyAsPrivateName(a)}isObjectProperty(a){return a.type==="Property"&&a.kind==="init"&&!a.method}isObjectMethod(a){return a.method||a.kind==="get"||a.kind==="set"}finishNodeAt(a,u,p){return KM(super.finishNodeAt(a,u,p))}resetStartLocation(a,u){super.resetStartLocation(a,u),KM(a)}resetEndLocation(a,u=this.state.lastTokEndLoc){super.resetEndLocation(a,u),KM(a)}};let Eye="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Qze="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const K3t=new RegExp("["+Eye+"]"),eAt=new RegExp("["+Eye+Qze+"]");Eye=Qze=null;const Yze=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191],tAt=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function Fhe(o,i){let a=65536;for(let u=0,p=i.length;u<p;u+=2){if(a+=i[u],a>o)return!1;if(a+=i[u+1],a>=o)return!0}return!1}function Qk(o){return o<65?o===36:o<=90?!0:o<97?o===95:o<=122?!0:o<=65535?o>=170&&K3t.test(String.fromCharCode(o)):Fhe(o,Yze)}function MN(o){return o<48?o===36:o<58?!0:o<65?!1:o<=90?!0:o<97?o===95:o<=122?!0:o<=65535?o>=170&&eAt.test(String.fromCharCode(o)):Fhe(o,Yze)||Fhe(o,tAt)}const Aye={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},rAt=new Set(Aye.keyword),nAt=new Set(Aye.strict),iAt=new Set(Aye.strictBind);function Zze(o,i){return i&&o==="await"||o==="enum"}function Kze(o,i){return Zze(o,i)||nAt.has(o)}function eVe(o){return iAt.has(o)}function tVe(o,i){return Kze(o,i)||eVe(o)}function sAt(o){return rAt.has(o)}function aAt(o,i,a){return o===64&&i===64&&Qk(a)}const oAt=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function cAt(o){return oAt.has(o)}const wN=0,EN=1,Zk=2,Pye=4,rVe=8,_X=16,nVe=32,nA=64,pX=128,FN=256,_G=EN|Zk|pX|FN,rx=1,SA=2,iVe=4,lA=8,FG=16,sVe=64,dX=128,Rhe=256,Bhe=512,Dye=1024,jhe=2048,wF=4096,wQ=8192,aVe=rx|SA|lA|dX|wQ,RN=rx|0|lA|wQ,lAt=rx|0|lA|0,mX=rx|0|iVe|0,oVe=rx|0|FG|0,uAt=0|SA|0|dX,fAt=0|SA|0|0,cVe=rx|SA|lA|Rhe|wQ,WBe=0|Dye,ZE=0|sVe,_At=rx|0|0|sVe,pAt=cVe|Bhe,dAt=0|Dye,HBe=0|SA|0|wF,mAt=jhe,hX=4,Nye=2,Iye=1,Ume=Nye|Iye,hAt=Nye|hX,gAt=Iye|hX,yAt=Nye,vAt=Iye,zme=0;class Oye{constructor(i){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=i}}class Lye{constructor(i,a){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=i,this.inModule=a}get inTopLevel(){return(this.currentScope().flags&EN)>0}get inFunction(){return(this.currentVarScopeFlags()&Zk)>0}get allowSuper(){return(this.currentThisScopeFlags()&_X)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&nVe)>0}get inClass(){return(this.currentThisScopeFlags()&nA)>0}get inClassAndNotInNonArrowFunction(){const i=this.currentThisScopeFlags();return(i&nA)>0&&(i&Zk)===0}get inStaticBlock(){for(let i=this.scopeStack.length-1;;i--){const{flags:a}=this.scopeStack[i];if(a&pX)return!0;if(a&(_G|nA))return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&Zk)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(i){return new Oye(i)}enter(i){this.scopeStack.push(this.createScope(i))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(i){return!!(i.flags&(Zk|pX)||!this.parser.inModule&&i.flags&EN)}declareName(i,a,u){let p=this.currentScope();if(a&lA||a&FG)this.checkRedeclarationInScope(p,i,a,u),a&FG?p.functions.add(i):p.lexical.add(i),a&lA&&this.maybeExportDefined(p,i);else if(a&iVe)for(let y=this.scopeStack.length-1;y>=0&&(p=this.scopeStack[y],this.checkRedeclarationInScope(p,i,a,u),p.var.add(i),this.maybeExportDefined(p,i),!(p.flags&_G));--y);this.parser.inModule&&p.flags&EN&&this.undefinedExports.delete(i)}maybeExportDefined(i,a){this.parser.inModule&&i.flags&EN&&this.undefinedExports.delete(a)}checkRedeclarationInScope(i,a,u,p){this.isRedeclaredInScope(i,a,u)&&this.parser.raise(zr.VarRedeclaration,{at:p,identifierName:a})}isRedeclaredInScope(i,a,u){return u&rx?u&lA?i.lexical.has(a)||i.functions.has(a)||i.var.has(a):u&FG?i.lexical.has(a)||!this.treatFunctionsAsVarInScope(i)&&i.var.has(a):i.lexical.has(a)&&!(i.flags&rVe&&i.lexical.values().next().value===a)||!this.treatFunctionsAsVarInScope(i)&&i.functions.has(a):!1}checkLocalExport(i){const{name:a}=i,u=this.scopeStack[0];!u.lexical.has(a)&&!u.var.has(a)&&!u.functions.has(a)&&this.undefinedExports.set(a,i.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let i=this.scopeStack.length-1;;i--){const{flags:a}=this.scopeStack[i];if(a&_G)return a}}currentThisScopeFlags(){for(let i=this.scopeStack.length-1;;i--){const{flags:a}=this.scopeStack[i];if(a&(_G|nA)&&!(a&Pye))return a}}}class bAt extends Oye{constructor(...i){super(...i),this.declareFunctions=new Set}}class TAt extends Lye{createScope(i){return new bAt(i)}declareName(i,a,u){const p=this.currentScope();if(a&jhe){this.checkRedeclarationInScope(p,i,a,u),this.maybeExportDefined(p,i),p.declareFunctions.add(i);return}super.declareName(i,a,u)}isRedeclaredInScope(i,a,u){return super.isRedeclaredInScope(i,a,u)?!0:u&jhe?!i.declareFunctions.has(a)&&(i.lexical.has(a)||i.functions.has(a)):!1}checkLocalExport(i){this.scopeStack[0].declareFunctions.has(i.name)||super.checkLocalExport(i)}}class SAt{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(i){if(typeof i=="string")return this.plugins.has(i);{const[a,u]=i;if(!this.hasPlugin(a))return!1;const p=this.plugins.get(a);for(const y of Object.keys(u))if((p==null?void 0:p[y])!==u[y])return!1;return!0}}getPluginOption(i,a){var u;return(u=this.plugins.get(i))==null?void 0:u[a]}}function lVe(o,i){o.trailingComments===void 0?o.trailingComments=i:o.trailingComments.unshift(...i)}function xAt(o,i){o.leadingComments===void 0?o.leadingComments=i:o.leadingComments.unshift(...i)}function XF(o,i){o.innerComments===void 0?o.innerComments=i:o.innerComments.unshift(...i)}function eF(o,i,a){let u=null,p=i.length;for(;u===null&&p>0;)u=i[--p];u===null||u.start>a.start?XF(o,a.comments):lVe(u,a.comments)}class kAt extends SAt{addComment(i){this.filename&&(i.loc.filename=this.filename),this.state.comments.push(i)}processComment(i){const{commentStack:a}=this.state,u=a.length;if(u===0)return;let p=u-1;const y=a[p];y.start===i.end&&(y.leadingNode=i,p--);const{start:T}=i;for(;p>=0;p--){const P=a[p],I=P.end;if(I>T)P.containingNode=i,this.finalizeComment(P),a.splice(p,1);else{I===T&&(P.trailingNode=i);break}}}finalizeComment(i){const{comments:a}=i;if(i.leadingNode!==null||i.trailingNode!==null)i.leadingNode!==null&&lVe(i.leadingNode,a),i.trailingNode!==null&&xAt(i.trailingNode,a);else{const{containingNode:u,start:p}=i;if(this.input.charCodeAt(p-1)===44)switch(u.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":eF(u,u.properties,i);break;case"CallExpression":case"OptionalCallExpression":eF(u,u.arguments,i);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":eF(u,u.params,i);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":eF(u,u.elements,i);break;case"ExportNamedDeclaration":case"ImportDeclaration":eF(u,u.specifiers,i);break;default:XF(u,a)}else XF(u,a)}}finalizeRemainingComments(){const{commentStack:i}=this.state;for(let a=i.length-1;a>=0;a--)this.finalizeComment(i[a]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(i){const{commentStack:a}=this.state,{length:u}=a;if(u===0)return;const p=a[u-1];p.leadingNode===i&&(p.leadingNode=null)}takeSurroundingComments(i,a,u){const{commentStack:p}=this.state,y=p.length;if(y===0)return;let T=y-1;for(;T>=0;T--){const P=p[T],I=P.end;if(P.start===u)P.leadingNode=i;else if(I===a)P.trailingNode=i;else if(I<a)break}}}const Mye=/\r\n?|[\n\u2028\u2029]/,pG=new RegExp(Mye.source,"g");function EF(o){switch(o){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}const Vme=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,CAt=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y,GBe=new RegExp("(?=("+CAt.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function wAt(o){switch(o){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}class Fye{constructor(){this.strict=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.maybeInArrowParameters=!1,this.inType=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.inDisallowConditionalTypesContext=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.comments=[],this.commentStack=[],this.pos=0,this.type=137,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.context=[zf.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}init({strictMode:i,sourceType:a,startLine:u,startColumn:p}){this.strict=i===!1?!1:i===!0?!0:a==="module",this.curLine=u,this.lineStart=-p,this.startLoc=this.endLoc=new r6(u,p,0)}curPosition(){return new r6(this.curLine,this.pos-this.lineStart,this.pos)}clone(i){const a=new Fye,u=Object.keys(this);for(let p=0,y=u.length;p<y;p++){const T=u[p];let P=this[T];!i&&Array.isArray(P)&&(P=P.slice()),a[T]=P}return a}}var EAt=function(i){return i>=48&&i<=57};const XBe={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},dG={bin:o=>o===48||o===49,oct:o=>o>=48&&o<=55,dec:o=>o>=48&&o<=57,hex:o=>o>=48&&o<=57||o>=65&&o<=70||o>=97&&o<=102};function QBe(o,i,a,u,p,y){const T=a,P=u,I=p;let B="",z=null,H=a;const{length:Q}=i;for(;;){if(a>=Q){y.unterminated(T,P,I),B+=i.slice(H,a);break}const Ie=i.charCodeAt(a);if(AAt(o,Ie,i,a)){B+=i.slice(H,a);break}if(Ie===92){B+=i.slice(H,a);const ze=PAt(i,a,u,p,o==="template",y);ze.ch===null&&!z?z={pos:a,lineStart:u,curLine:p}:B+=ze.ch,{pos:a,lineStart:u,curLine:p}=ze,H=a}else Ie===8232||Ie===8233?(++a,++p,u=a):Ie===10||Ie===13?o==="template"?(B+=i.slice(H,a)+`
`,++a,Ie===13&&i.charCodeAt(a)===10&&++a,++p,H=u=a):y.unterminated(T,P,I):++a}return{pos:a,str:B,firstInvalidLoc:z,lineStart:u,curLine:p,containsInvalid:!!z}}function AAt(o,i,a,u){return o==="template"?i===96||i===36&&a.charCodeAt(u+1)===123:i===(o==="double"?34:39)}function PAt(o,i,a,u,p,y){const T=!p;i++;const P=B=>({pos:i,ch:B,lineStart:a,curLine:u}),I=o.charCodeAt(i++);switch(I){case 110:return P(`
`);case 114:return P("\r");case 120:{let B;return{code:B,pos:i}=Jhe(o,i,a,u,2,!1,T,y),P(B===null?null:String.fromCharCode(B))}case 117:{let B;return{code:B,pos:i}=fVe(o,i,a,u,T,y),P(B===null?null:String.fromCodePoint(B))}case 116:return P(" ");case 98:return P("\b");case 118:return P("\v");case 102:return P("\f");case 13:o.charCodeAt(i)===10&&++i;case 10:a=i,++u;case 8232:case 8233:return P("");case 56:case 57:if(p)return P(null);y.strictNumericEscape(i-1,a,u);default:if(I>=48&&I<=55){const B=i-1;let H=o.slice(B,i+2).match(/^[0-7]+/)[0],Q=parseInt(H,8);Q>255&&(H=H.slice(0,-1),Q=parseInt(H,8)),i+=H.length-1;const Ie=o.charCodeAt(i);if(H!=="0"||Ie===56||Ie===57){if(p)return P(null);y.strictNumericEscape(B,a,u)}return P(String.fromCharCode(Q))}return P(String.fromCharCode(I))}}function Jhe(o,i,a,u,p,y,T,P){const I=i;let B;return{n:B,pos:i}=uVe(o,i,a,u,16,p,y,!1,P,!T),B===null&&(T?P.invalidEscapeSequence(I,a,u):i=I-1),{code:B,pos:i}}function uVe(o,i,a,u,p,y,T,P,I,B){const z=i,H=p===16?XBe.hex:XBe.decBinOct,Q=p===16?dG.hex:p===10?dG.dec:p===8?dG.oct:dG.bin;let Ie=!1,ze=0;for(let Ue=0,et=y??1/0;Ue<et;++Ue){const Ve=o.charCodeAt(i);let vt;if(Ve===95&&P!=="bail"){const ut=o.charCodeAt(i-1),He=o.charCodeAt(i+1);if(P){if(Number.isNaN(He)||!Q(He)||H.has(ut)||H.has(He)){if(B)return{n:null,pos:i};I.unexpectedNumericSeparator(i,a,u)}}else{if(B)return{n:null,pos:i};I.numericSeparatorInEscapeSequence(i,a,u)}++i;continue}if(Ve>=97?vt=Ve-97+10:Ve>=65?vt=Ve-65+10:EAt(Ve)?vt=Ve-48:vt=1/0,vt>=p){if(vt<=9&&B)return{n:null,pos:i};if(vt<=9&&I.invalidDigit(i,a,u,p))vt=0;else if(T)vt=0,Ie=!0;else break}++i,ze=ze*p+vt}return i===z||y!=null&&i-z!==y||Ie?{n:null,pos:i}:{n:ze,pos:i}}function fVe(o,i,a,u,p,y){const T=o.charCodeAt(i);let P;if(T===123){if(++i,{code:P,pos:i}=Jhe(o,i,a,u,o.indexOf("}",i)-i,!0,p,y),++i,P!==null&&P>1114111)if(p)y.invalidCodePoint(i,a,u);else return{code:null,pos:i}}else({code:P,pos:i}=Jhe(o,i,a,u,4,!1,p,y));return{code:P,pos:i}}const DAt=["at"],NAt=["at"];function tF(o,i,a){return new r6(a,o-i,o)}const IAt=new Set([103,109,115,105,121,117,100,118]);class WE{constructor(i){this.type=i.type,this.value=i.value,this.start=i.start,this.end=i.end,this.loc=new fX(i.startLoc,i.endLoc)}}class OAt extends kAt{constructor(i,a){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(u,p,y,T)=>this.options.errorRecovery?(this.raise(zr.InvalidDigit,{at:tF(u,p,y),radix:T}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(zr.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(zr.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(zr.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(zr.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(u,p,y)=>{this.recordStrictModeErrors(zr.StrictNumericEscape,{at:tF(u,p,y)})},unterminated:(u,p,y)=>{throw this.raise(zr.UnterminatedString,{at:tF(u-1,p,y)})}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(zr.StrictNumericEscape),unterminated:(u,p,y)=>{throw this.raise(zr.UnterminatedTemplate,{at:tF(u,p,y)})}}),this.state=new Fye,this.state.init(i),this.input=a,this.length=a.length,this.isLookahead=!1}pushToken(i){this.tokens.length=this.state.tokensLength,this.tokens.push(i),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new WE(this.state)),this.state.lastTokStart=this.state.start,this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(i){return this.match(i)?(this.next(),!0):!1}match(i){return this.state.type===i}createLookaheadState(i){return{pos:i.pos,value:null,type:i.type,start:i.start,end:i.end,context:[this.curContext()],inType:i.inType,startLoc:i.startLoc,lastTokEndLoc:i.lastTokEndLoc,curLine:i.curLine,lineStart:i.lineStart,curPosition:i.curPosition}}lookahead(){const i=this.state;this.state=this.createLookaheadState(i),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const a=this.state;return this.state=i,a}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(i){return Vme.lastIndex=i,Vme.test(this.input)?Vme.lastIndex:i}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(i){let a=this.input.charCodeAt(i);if((a&64512)===55296&&++i<this.input.length){const u=this.input.charCodeAt(i);(u&64512)===56320&&(a=65536+((a&1023)<<10)+(u&1023))}return a}setStrict(i){this.state.strict=i,i&&(this.state.strictErrors.forEach(([a,u])=>this.raise(a,{at:u})),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(137);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(i){let a;this.isLookahead||(a=this.state.curPosition());const u=this.state.pos,p=this.input.indexOf(i,u+2);if(p===-1)throw this.raise(zr.UnterminatedComment,{at:this.state.curPosition()});for(this.state.pos=p+i.length,pG.lastIndex=u+2;pG.test(this.input)&&pG.lastIndex<=p;)++this.state.curLine,this.state.lineStart=pG.lastIndex;if(this.isLookahead)return;const y={type:"CommentBlock",value:this.input.slice(u+2,p),start:u,end:p+i.length,loc:new fX(a,this.state.curPosition())};return this.options.tokens&&this.pushToken(y),y}skipLineComment(i){const a=this.state.pos;let u;this.isLookahead||(u=this.state.curPosition());let p=this.input.charCodeAt(this.state.pos+=i);if(this.state.pos<this.length)for(;!EF(p)&&++this.state.pos<this.length;)p=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;const y=this.state.pos,P={type:"CommentLine",value:this.input.slice(a+i,y),start:a,end:y,loc:new fX(u,this.state.curPosition())};return this.options.tokens&&this.pushToken(P),P}skipSpace(){const i=this.state.pos,a=[];e:for(;this.state.pos<this.length;){const u=this.input.charCodeAt(this.state.pos);switch(u){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{const p=this.skipBlockComment("*/");p!==void 0&&(this.addComment(p),this.options.attachComment&&a.push(p));break}case 47:{const p=this.skipLineComment(2);p!==void 0&&(this.addComment(p),this.options.attachComment&&a.push(p));break}default:break e}break;default:if(wAt(u))++this.state.pos;else if(u===45&&!this.inModule&&this.options.annexB){const p=this.state.pos;if(this.input.charCodeAt(p+1)===45&&this.input.charCodeAt(p+2)===62&&(i===0||this.state.lineStart>i)){const y=this.skipLineComment(3);y!==void 0&&(this.addComment(y),this.options.attachComment&&a.push(y))}else break e}else if(u===60&&!this.inModule&&this.options.annexB){const p=this.state.pos;if(this.input.charCodeAt(p+1)===33&&this.input.charCodeAt(p+2)===45&&this.input.charCodeAt(p+3)===45){const y=this.skipLineComment(4);y!==void 0&&(this.addComment(y),this.options.attachComment&&a.push(y))}else break e}else break e}}if(a.length>0){const u=this.state.pos,p={start:i,end:u,comments:a,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(p)}}finishToken(i,a){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();const u=this.state.type;this.state.type=i,this.state.value=a,this.isLookahead||this.updateContext(u)}replaceToken(i){this.state.type=i,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;const i=this.state.pos+1,a=this.codePointAtPos(i);if(a>=48&&a<=57)throw this.raise(zr.UnexpectedDigitAfterHash,{at:this.state.curPosition()});if(a===123||a===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(a===123?zr.RecordExpressionHashIncorrectStartSyntaxType:zr.TupleExpressionHashIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,a===123?this.finishToken(7):this.finishToken(1)}else Qk(a)?(++this.state.pos,this.finishToken(136,this.readWord1(a))):a===92?(++this.state.pos,this.finishToken(136,this.readWord1())):this.finishOp(27,1)}readToken_dot(){const i=this.input.charCodeAt(this.state.pos+1);if(i>=48&&i<=57){this.readNumber(!0);return}i===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let i=this.input.charCodeAt(this.state.pos+1);if(i!==33)return!1;const a=this.state.pos;for(this.state.pos+=1;!EF(i)&&++this.state.pos<this.length;)i=this.input.charCodeAt(this.state.pos);const u=this.input.slice(a+2,this.state.pos);return this.finishToken(28,u),!0}readToken_mult_modulo(i){let a=i===42?55:54,u=1,p=this.input.charCodeAt(this.state.pos+1);i===42&&p===42&&(u++,p=this.input.charCodeAt(this.state.pos+2),a=57),p===61&&!this.state.inType&&(u++,a=i===37?33:30),this.finishOp(a,u)}readToken_pipe_amp(i){const a=this.input.charCodeAt(this.state.pos+1);if(a===i){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(i===124?41:42,2);return}if(i===124){if(a===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&a===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(zr.RecordExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&a===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(zr.TupleExpressionBarIncorrectEndSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(4);return}}if(a===61){this.finishOp(30,2);return}this.finishOp(i===124?43:45,1)}readToken_caret(){const i=this.input.charCodeAt(this.state.pos+1);i===61&&!this.state.inType?this.finishOp(32,2):i===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected()):this.finishOp(44,1)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(i){const a=this.input.charCodeAt(this.state.pos+1);if(a===i){this.finishOp(34,2);return}a===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){const{pos:i}=this.state,a=this.input.charCodeAt(i+1);if(a===60){if(this.input.charCodeAt(i+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(a===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){const{pos:i}=this.state,a=this.input.charCodeAt(i+1);if(a===62){const u=this.input.charCodeAt(i+2)===62?3:2;if(this.input.charCodeAt(i+u)===61){this.finishOp(30,u+1);return}this.finishOp(52,u);return}if(a===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(i){const a=this.input.charCodeAt(this.state.pos+1);if(a===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(i===61&&a===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(i===61?29:35,1)}readToken_question(){const i=this.input.charCodeAt(this.state.pos+1),a=this.input.charCodeAt(this.state.pos+2);i===63?a===61?this.finishOp(30,3):this.finishOp(40,2):i===46&&!(a>=48&&a<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(i){switch(i){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(zr.TupleExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(zr.RecordExpressionBarIncorrectStartSyntaxType,{at:this.state.curPosition()});this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{const a=this.input.charCodeAt(this.state.pos+1);if(a===120||a===88){this.readRadixNumber(16);return}if(a===111||a===79){this.readRadixNumber(8);return}if(a===98||a===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(i);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(i);return;case 124:case 38:this.readToken_pipe_amp(i);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(i);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(i);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(Qk(i)){this.readWord(i);return}}throw this.raise(zr.InvalidOrUnexpectedToken,{at:this.state.curPosition(),unexpected:String.fromCodePoint(i)})}finishOp(i,a){const u=this.input.slice(this.state.pos,this.state.pos+a);this.state.pos+=a,this.finishToken(i,u)}readRegexp(){const i=this.state.startLoc,a=this.state.start+1;let u,p,{pos:y}=this.state;for(;;++y){if(y>=this.length)throw this.raise(zr.UnterminatedRegExp,{at:Ty(i,1)});const B=this.input.charCodeAt(y);if(EF(B))throw this.raise(zr.UnterminatedRegExp,{at:Ty(i,1)});if(u)u=!1;else{if(B===91)p=!0;else if(B===93&&p)p=!1;else if(B===47&&!p)break;u=B===92}}const T=this.input.slice(a,y);++y;let P="";const I=()=>Ty(i,y+2-a);for(;y<this.length;){const B=this.codePointAtPos(y),z=String.fromCharCode(B);if(IAt.has(B))B===118?(this.expectPlugin("regexpUnicodeSets",I()),P.includes("u")&&this.raise(zr.IncompatibleRegExpUVFlags,{at:I()})):B===117&&P.includes("v")&&this.raise(zr.IncompatibleRegExpUVFlags,{at:I()}),P.includes(z)&&this.raise(zr.DuplicateRegExpFlags,{at:I()});else if(MN(B)||B===92)this.raise(zr.MalformedRegExpFlags,{at:I()});else break;++y,P+=z}this.state.pos=y,this.finishToken(135,{pattern:T,flags:P})}readInt(i,a,u=!1,p=!0){const{n:y,pos:T}=uVe(this.input,this.state.pos,this.state.lineStart,this.state.curLine,i,a,u,p,this.errorHandlers_readInt,!1);return this.state.pos=T,y}readRadixNumber(i){const a=this.state.curPosition();let u=!1;this.state.pos+=2;const p=this.readInt(i);p==null&&this.raise(zr.InvalidDigit,{at:Ty(a,2),radix:i});const y=this.input.charCodeAt(this.state.pos);if(y===110)++this.state.pos,u=!0;else if(y===109)throw this.raise(zr.InvalidDecimal,{at:a});if(Qk(this.codePointAtPos(this.state.pos)))throw this.raise(zr.NumberIdentifier,{at:this.state.curPosition()});if(u){const T=this.input.slice(a.index,this.state.pos).replace(/[_n]/g,"");this.finishToken(133,T);return}this.finishToken(132,p)}readNumber(i){const a=this.state.pos,u=this.state.curPosition();let p=!1,y=!1,T=!1,P=!1,I=!1;!i&&this.readInt(10)===null&&this.raise(zr.InvalidNumber,{at:this.state.curPosition()});const B=this.state.pos-a>=2&&this.input.charCodeAt(a)===48;if(B){const Ie=this.input.slice(a,this.state.pos);if(this.recordStrictModeErrors(zr.StrictOctalLiteral,{at:u}),!this.state.strict){const ze=Ie.indexOf("_");ze>0&&this.raise(zr.ZeroDigitNumericSeparator,{at:Ty(u,ze)})}I=B&&!/[89]/.test(Ie)}let z=this.input.charCodeAt(this.state.pos);if(z===46&&!I&&(++this.state.pos,this.readInt(10),p=!0,z=this.input.charCodeAt(this.state.pos)),(z===69||z===101)&&!I&&(z=this.input.charCodeAt(++this.state.pos),(z===43||z===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(zr.InvalidOrMissingExponent,{at:u}),p=!0,P=!0,z=this.input.charCodeAt(this.state.pos)),z===110&&((p||B)&&this.raise(zr.InvalidBigIntLiteral,{at:u}),++this.state.pos,y=!0),z===109&&(this.expectPlugin("decimal",this.state.curPosition()),(P||B)&&this.raise(zr.InvalidDecimal,{at:u}),++this.state.pos,T=!0),Qk(this.codePointAtPos(this.state.pos)))throw this.raise(zr.NumberIdentifier,{at:this.state.curPosition()});const H=this.input.slice(a,this.state.pos).replace(/[_mn]/g,"");if(y){this.finishToken(133,H);return}if(T){this.finishToken(134,H);return}const Q=I?parseInt(H,8):parseFloat(H);this.finishToken(132,Q)}readCodePoint(i){const{code:a,pos:u}=fVe(this.input,this.state.pos,this.state.lineStart,this.state.curLine,i,this.errorHandlers_readCodePoint);return this.state.pos=u,a}readString(i){const{str:a,pos:u,curLine:p,lineStart:y}=QBe(i===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=u+1,this.state.lineStart=y,this.state.curLine=p,this.finishToken(131,a)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const i=this.input[this.state.pos],{str:a,firstInvalidLoc:u,pos:p,curLine:y,lineStart:T}=QBe("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=p+1,this.state.lineStart=T,this.state.curLine=y,u&&(this.state.firstInvalidTemplateEscapePos=new r6(u.curLine,u.pos-u.lineStart,u.pos)),this.input.codePointAt(p)===96?this.finishToken(24,u?null:i+a+"`"):(this.state.pos++,this.finishToken(25,u?null:i+a+"${"))}recordStrictModeErrors(i,{at:a}){const u=a.index;this.state.strict&&!this.state.strictErrors.has(u)?this.raise(i,{at:a}):this.state.strictErrors.set(u,[i,a])}readWord1(i){this.state.containsEsc=!1;let a="";const u=this.state.pos;let p=this.state.pos;for(i!==void 0&&(this.state.pos+=i<=65535?1:2);this.state.pos<this.length;){const y=this.codePointAtPos(this.state.pos);if(MN(y))this.state.pos+=y<=65535?1:2;else if(y===92){this.state.containsEsc=!0,a+=this.input.slice(p,this.state.pos);const T=this.state.curPosition(),P=this.state.pos===u?Qk:MN;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(zr.MissingUnicodeEscape,{at:this.state.curPosition()}),p=this.state.pos-1;continue}++this.state.pos;const I=this.readCodePoint(!0);I!==null&&(P(I)||this.raise(zr.EscapedCharNotAnIdentifier,{at:T}),a+=String.fromCodePoint(I)),p=this.state.pos}else break}return a+this.input.slice(p,this.state.pos)}readWord(i){const a=this.readWord1(i),u=bye.get(a);u!==void 0?this.finishToken(u,t6(u)):this.finishToken(130,a)}checkKeywordEscapes(){const{type:i}=this.state;wye(i)&&this.state.containsEsc&&this.raise(zr.InvalidEscapedReservedWord,{at:this.state.startLoc,reservedWord:t6(i)})}raise(i,a){const{at:u}=a,p=uX(a,DAt),y=u instanceof r6?u:u.loc.start,T=i({loc:y,details:p});if(!this.options.errorRecovery)throw T;return this.isLookahead||this.state.errors.push(T),T}raiseOverwrite(i,a){const{at:u}=a,p=uX(a,NAt),y=u instanceof r6?u:u.loc.start,T=y.index,P=this.state.errors;for(let I=P.length-1;I>=0;I--){const B=P[I];if(B.loc.index===T)return P[I]=i({loc:y,details:p});if(B.loc.index<T)break}return this.raise(i,a)}updateContext(i){}unexpected(i,a){throw this.raise(zr.UnexpectedToken,{expected:a?t6(a):null,at:i??this.state.startLoc})}expectPlugin(i,a){if(this.hasPlugin(i))return!0;throw this.raise(zr.MissingPlugin,{at:a??this.state.startLoc,missingPlugin:[i]})}expectOnePlugin(i){if(!i.some(a=>this.hasPlugin(a)))throw this.raise(zr.MissingOneOfPlugins,{at:this.state.startLoc,missingPlugin:i})}errorBuilder(i){return(a,u,p)=>{this.raise(i,{at:tF(a,u,p)})}}}class LAt{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class MAt{constructor(i){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=i}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new LAt)}exit(){const i=this.stack.pop(),a=this.current();for(const[u,p]of Array.from(i.undefinedPrivateNames))a?a.undefinedPrivateNames.has(u)||a.undefinedPrivateNames.set(u,p):this.parser.raise(zr.InvalidPrivateFieldResolution,{at:p,identifierName:u})}declarePrivateName(i,a,u){const{privateNames:p,loneAccessors:y,undefinedPrivateNames:T}=this.current();let P=p.has(i);if(a&Ume){const I=P&&y.get(i);if(I){const B=I&hX,z=a&hX,H=I&Ume,Q=a&Ume;P=H===Q||B!==z,P||y.delete(i)}else P||y.set(i,a)}P&&this.parser.raise(zr.PrivateNameRedeclaration,{at:u,identifierName:i}),p.add(i),T.delete(i)}usePrivateName(i,a){let u;for(u of this.stack)if(u.privateNames.has(i))return;u?u.undefinedPrivateNames.set(i,a):this.parser.raise(zr.InvalidPrivateFieldResolution,{at:a,identifierName:i})}}const FAt=0,_Ve=1,Rye=2,pVe=3;class EQ{constructor(i=FAt){this.type=void 0,this.type=i}canBeArrowParameterDeclaration(){return this.type===Rye||this.type===_Ve}isCertainlyParameterDeclaration(){return this.type===pVe}}class dVe extends EQ{constructor(i){super(i),this.declarationErrors=new Map}recordDeclarationError(i,{at:a}){const u=a.index;this.declarationErrors.set(u,[i,a])}clearDeclarationError(i){this.declarationErrors.delete(i)}iterateErrors(i){this.declarationErrors.forEach(i)}}class RAt{constructor(i){this.parser=void 0,this.stack=[new EQ],this.parser=i}enter(i){this.stack.push(i)}exit(){this.stack.pop()}recordParameterInitializerError(i,{at:a}){const u={at:a.loc.start},{stack:p}=this;let y=p.length-1,T=p[y];for(;!T.isCertainlyParameterDeclaration();){if(T.canBeArrowParameterDeclaration())T.recordDeclarationError(i,u);else return;T=p[--y]}this.parser.raise(i,u)}recordArrowParameterBindingError(i,{at:a}){const{stack:u}=this,p=u[u.length-1],y={at:a.loc.start};if(p.isCertainlyParameterDeclaration())this.parser.raise(i,y);else if(p.canBeArrowParameterDeclaration())p.recordDeclarationError(i,y);else return}recordAsyncArrowParametersError({at:i}){const{stack:a}=this;let u=a.length-1,p=a[u];for(;p.canBeArrowParameterDeclaration();)p.type===Rye&&p.recordDeclarationError(zr.AwaitBindingIdentifier,{at:i}),p=a[--u]}validateAsPattern(){const{stack:i}=this,a=i[i.length-1];a.canBeArrowParameterDeclaration()&&a.iterateErrors(([u,p])=>{this.parser.raise(u,{at:p});let y=i.length-2,T=i[y];for(;T.canBeArrowParameterDeclaration();)T.clearDeclarationError(p.index),T=i[--y]})}}function BAt(){return new EQ(pVe)}function jAt(){return new dVe(_Ve)}function JAt(){return new dVe(Rye)}function mVe(){return new EQ}const BN=0,hVe=1,AQ=2,gVe=4,SN=8;class UAt{constructor(){this.stacks=[]}enter(i){this.stacks.push(i)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&AQ)>0}get hasYield(){return(this.currentFlags()&hVe)>0}get hasReturn(){return(this.currentFlags()&gVe)>0}get hasIn(){return(this.currentFlags()&SN)>0}}function RG(o,i){return(o?AQ:0)|(i?hVe:0)}class zAt extends OAt{addExtra(i,a,u,p=!0){if(!i)return;const y=i.extra=i.extra||{};p?y[a]=u:Object.defineProperty(y,a,{enumerable:p,value:u})}isContextual(i){return this.state.type===i&&!this.state.containsEsc}isUnparsedContextual(i,a){const u=i+a.length;if(this.input.slice(i,u)===a){const p=this.input.charCodeAt(u);return!(MN(p)||(p&64512)===55296)}return!1}isLookaheadContextual(i){const a=this.nextTokenStart();return this.isUnparsedContextual(a,i)}eatContextual(i){return this.isContextual(i)?(this.next(),!0):!1}expectContextual(i,a){if(!this.eatContextual(i)){if(a!=null)throw this.raise(a,{at:this.state.startLoc});this.unexpected(null,i)}}canInsertSemicolon(){return this.match(137)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Mye.test(this.input.slice(this.state.lastTokEndLoc.index,this.state.start))}hasFollowingLineBreak(){return GBe.lastIndex=this.state.end,GBe.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(i=!0){(i?this.isLineTerminator():this.eat(13))||this.raise(zr.MissingSemicolon,{at:this.state.lastTokEndLoc})}expect(i,a){this.eat(i)||this.unexpected(a,i)}tryParse(i,a=this.state.clone()){const u={node:null};try{const p=i((y=null)=>{throw u.node=y,u});if(this.state.errors.length>a.errors.length){const y=this.state;return this.state=a,this.state.tokensLength=y.tokensLength,{node:p,error:y.errors[a.errors.length],thrown:!1,aborted:!1,failState:y}}return{node:p,error:null,thrown:!1,aborted:!1,failState:null}}catch(p){const y=this.state;if(this.state=a,p instanceof SyntaxError)return{node:null,error:p,thrown:!0,aborted:!1,failState:y};if(p===u)return{node:u.node,error:null,thrown:!1,aborted:!0,failState:y};throw p}}checkExpressionErrors(i,a){if(!i)return!1;const{shorthandAssignLoc:u,doubleProtoLoc:p,privateKeyLoc:y,optionalParametersLoc:T}=i,P=!!u||!!p||!!T||!!y;if(!a)return P;u!=null&&this.raise(zr.InvalidCoverInitializedName,{at:u}),p!=null&&this.raise(zr.DuplicateProto,{at:p}),y!=null&&this.raise(zr.UnexpectedPrivateField,{at:y}),T!=null&&this.unexpected(T)}isLiteralPropertyName(){return Xze(this.state.type)}isPrivateName(i){return i.type==="PrivateName"}getPrivateNameSV(i){return i.id.name}hasPropertyAsPrivateName(i){return(i.type==="MemberExpression"||i.type==="OptionalMemberExpression")&&this.isPrivateName(i.property)}isObjectProperty(i){return i.type==="ObjectProperty"}isObjectMethod(i){return i.type==="ObjectMethod"}initializeScopes(i=this.options.sourceType==="module"){const a=this.state.labels;this.state.labels=[];const u=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const p=this.inModule;this.inModule=i;const y=this.scope,T=this.getScopeHandler();this.scope=new T(this,i);const P=this.prodParam;this.prodParam=new UAt;const I=this.classScope;this.classScope=new MAt(this);const B=this.expressionScope;return this.expressionScope=new RAt(this),()=>{this.state.labels=a,this.exportedIdentifiers=u,this.inModule=p,this.scope=y,this.prodParam=P,this.classScope=I,this.expressionScope=B}}enterInitialScopes(){let i=BN;this.inModule&&(i|=AQ),this.scope.enter(EN),this.prodParam.enter(i)}checkDestructuringPrivate(i){const{privateKeyLoc:a}=i;a!==null&&this.expectPlugin("destructuringPrivate",a)}}class BG{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}let gX=class{constructor(i,a,u){this.type="",this.start=a,this.end=0,this.loc=new fX(u),i!=null&&i.options.ranges&&(this.range=[a,0]),i!=null&&i.filename&&(this.loc.filename=i.filename)}};const Bye=gX.prototype;Bye.__clone=function(){const o=new gX(void 0,this.start,this.loc.start),i=Object.keys(this);for(let a=0,u=i.length;a<u;a++){const p=i[a];p!=="leadingComments"&&p!=="trailingComments"&&p!=="innerComments"&&(o[p]=this[p])}return o};function VAt(o){return aC(o)}function aC(o){const{type:i,start:a,end:u,loc:p,range:y,extra:T,name:P}=o,I=Object.create(Bye);return I.type=i,I.start=a,I.end=u,I.loc=p,I.range=y,I.extra=T,I.name=P,i==="Placeholder"&&(I.expectedNode=o.expectedNode),I}function $At(o){const{type:i,start:a,end:u,loc:p,range:y,extra:T}=o;if(i==="Placeholder")return VAt(o);const P=Object.create(Bye);return P.type=i,P.start=a,P.end=u,P.loc=p,P.range=y,o.raw!==void 0?P.raw=o.raw:P.extra=T,P.value=o.value,P}class qAt extends zAt{startNode(){return new gX(this,this.state.start,this.state.startLoc)}startNodeAt(i){return new gX(this,i.index,i)}startNodeAtNode(i){return this.startNodeAt(i.loc.start)}finishNode(i,a){return this.finishNodeAt(i,a,this.state.lastTokEndLoc)}finishNodeAt(i,a,u){return i.type=a,i.end=u.index,i.loc.end=u,this.options.ranges&&(i.range[1]=u.index),this.options.attachComment&&this.processComment(i),i}resetStartLocation(i,a){i.start=a.index,i.loc.start=a,this.options.ranges&&(i.range[0]=a.index)}resetEndLocation(i,a=this.state.lastTokEndLoc){i.end=a.index,i.loc.end=a,this.options.ranges&&(i.range[1]=a.index)}resetStartLocationFromNode(i,a){this.resetStartLocation(i,a.loc.start)}}const WAt=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Ko=Yk`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:o})=>`Cannot overwrite reserved type ${o}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:o,enumName:i})=>`Boolean enum members need to be initialized. Use either \`${o} = true,\` or \`${o} = false,\` in enum \`${i}\`.`,EnumDuplicateMemberName:({memberName:o,enumName:i})=>`Enum member names need to be unique, but the name \`${o}\` has already been used before in enum \`${i}\`.`,EnumInconsistentMemberValues:({enumName:o})=>`Enum \`${o}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:o,enumName:i})=>`Enum type \`${o}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${i}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:o})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${o}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:o,memberName:i,explicitType:a})=>`Enum \`${o}\` has type \`${a}\`, so the initializer of \`${i}\` needs to be a ${a} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:o,memberName:i})=>`Symbol enum members cannot be initialized. Use \`${i},\` in enum \`${o}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:o,memberName:i})=>`The enum member initializer for \`${i}\` needs to be a literal (either a boolean, number, or string) in enum \`${o}\`.`,EnumInvalidMemberName:({enumName:o,memberName:i,suggestion:a})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${i}\`, consider using \`${a}\`, in enum \`${o}\`.`,EnumNumberMemberNotInitialized:({enumName:o,memberName:i})=>`Number enum members need to be initialized, e.g. \`${i} = 1\` in enum \`${o}\`.`,EnumStringMemberInconsistentlyInitailized:({enumName:o})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${o}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:o})=>`Unexpected reserved type ${o}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:o,suggestion:i})=>`\`declare export ${o}\` is not supported. Use \`${i}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function HAt(o){return o.type==="DeclareExportAllDeclaration"||o.type==="DeclareExportDeclaration"&&(!o.declaration||o.declaration.type!=="TypeAlias"&&o.declaration.type!=="InterfaceDeclaration")}function $me(o){return o.importKind==="type"||o.importKind==="typeof"}function YBe(o){return QS(o)&&o!==97}const GAt={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function XAt(o,i){const a=[],u=[];for(let p=0;p<o.length;p++)(i(o[p],p,o)?a:u).push(o[p]);return[a,u]}const QAt=/\*?\s*@((?:no)?flow)\b/;var YAt=o=>class extends o{constructor(...a){super(...a),this.flowPragma=void 0}getScopeHandler(){return TAt}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(a,u){a!==131&&a!==13&&a!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(a,u)}addComment(a){if(this.flowPragma===void 0){const u=QAt.exec(a.value);if(u)if(u[1]==="flow")this.flowPragma="flow";else if(u[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(a)}flowParseTypeInitialiser(a){const u=this.state.inType;this.state.inType=!0,this.expect(a||14);const p=this.flowParseType();return this.state.inType=u,p}flowParsePredicate(){const a=this.startNode(),u=this.state.startLoc;return this.next(),this.expectContextual(108),this.state.lastTokStart>u.index+1&&this.raise(Ko.UnexpectedSpaceBetweenModuloChecks,{at:u}),this.eat(10)?(a.value=super.parseExpression(),this.expect(11),this.finishNode(a,"DeclaredPredicate")):this.finishNode(a,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const a=this.state.inType;this.state.inType=!0,this.expect(14);let u=null,p=null;return this.match(54)?(this.state.inType=a,p=this.flowParsePredicate()):(u=this.flowParseType(),this.state.inType=a,this.match(54)&&(p=this.flowParsePredicate())),[u,p]}flowParseDeclareClass(a){return this.next(),this.flowParseInterfaceish(a,!0),this.finishNode(a,"DeclareClass")}flowParseDeclareFunction(a){this.next();const u=a.id=this.parseIdentifier(),p=this.startNode(),y=this.startNode();this.match(47)?p.typeParameters=this.flowParseTypeParameterDeclaration():p.typeParameters=null,this.expect(10);const T=this.flowParseFunctionTypeParams();return p.params=T.params,p.rest=T.rest,p.this=T._this,this.expect(11),[p.returnType,a.predicate]=this.flowParseTypeAndPredicateInitialiser(),y.typeAnnotation=this.finishNode(p,"FunctionTypeAnnotation"),u.typeAnnotation=this.finishNode(y,"TypeAnnotation"),this.resetEndLocation(u),this.semicolon(),this.scope.declareName(a.id.name,mAt,a.id.loc.start),this.finishNode(a,"DeclareFunction")}flowParseDeclare(a,u){if(this.match(80))return this.flowParseDeclareClass(a);if(this.match(68))return this.flowParseDeclareFunction(a);if(this.match(74))return this.flowParseDeclareVariable(a);if(this.eatContextual(125))return this.match(16)?this.flowParseDeclareModuleExports(a):(u&&this.raise(Ko.NestedDeclareModule,{at:this.state.lastTokStartLoc}),this.flowParseDeclareModule(a));if(this.isContextual(128))return this.flowParseDeclareTypeAlias(a);if(this.isContextual(129))return this.flowParseDeclareOpaqueType(a);if(this.isContextual(127))return this.flowParseDeclareInterface(a);if(this.match(82))return this.flowParseDeclareExportDeclaration(a,u);this.unexpected()}flowParseDeclareVariable(a){return this.next(),a.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(a.id.name,mX,a.id.loc.start),this.semicolon(),this.finishNode(a,"DeclareVariable")}flowParseDeclareModule(a){this.scope.enter(wN),this.match(131)?a.id=super.parseExprAtom():a.id=this.parseIdentifier();const u=a.body=this.startNode(),p=u.body=[];for(this.expect(5);!this.match(8);){let P=this.startNode();this.match(83)?(this.next(),!this.isContextual(128)&&!this.match(87)&&this.raise(Ko.InvalidNonTypeImportInDeclareModule,{at:this.state.lastTokStartLoc}),super.parseImport(P)):(this.expectContextual(123,Ko.UnsupportedStatementInDeclareModule),P=this.flowParseDeclare(P,!0)),p.push(P)}this.scope.exit(),this.expect(8),this.finishNode(u,"BlockStatement");let y=null,T=!1;return p.forEach(P=>{HAt(P)?(y==="CommonJS"&&this.raise(Ko.AmbiguousDeclareModuleKind,{at:P}),y="ES"):P.type==="DeclareModuleExports"&&(T&&this.raise(Ko.DuplicateDeclareModuleExports,{at:P}),y==="ES"&&this.raise(Ko.AmbiguousDeclareModuleKind,{at:P}),y="CommonJS",T=!0)}),a.kind=y||"CommonJS",this.finishNode(a,"DeclareModule")}flowParseDeclareExportDeclaration(a,u){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?a.declaration=this.flowParseDeclare(this.startNode()):(a.declaration=this.flowParseType(),this.semicolon()),a.default=!0,this.finishNode(a,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(128)||this.isContextual(127))&&!u){const p=this.state.value;throw this.raise(Ko.UnsupportedDeclareExportKind,{at:this.state.startLoc,unsupportedExportKind:p,suggestion:GAt[p]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(129))return a.declaration=this.flowParseDeclare(this.startNode()),a.default=!1,this.finishNode(a,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(127)||this.isContextual(128)||this.isContextual(129))return a=this.parseExport(a,null),a.type==="ExportNamedDeclaration"&&(a.type="ExportDeclaration",a.default=!1,delete a.exportKind),a.type="Declare"+a.type,a;this.unexpected()}flowParseDeclareModuleExports(a){return this.next(),this.expectContextual(109),a.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(a,"DeclareModuleExports")}flowParseDeclareTypeAlias(a){this.next();const u=this.flowParseTypeAlias(a);return u.type="DeclareTypeAlias",u}flowParseDeclareOpaqueType(a){this.next();const u=this.flowParseOpaqueType(a,!0);return u.type="DeclareOpaqueType",u}flowParseDeclareInterface(a){return this.next(),this.flowParseInterfaceish(a,!1),this.finishNode(a,"DeclareInterface")}flowParseInterfaceish(a,u){if(a.id=this.flowParseRestrictedIdentifier(!u,!0),this.scope.declareName(a.id.name,u?oVe:RN,a.id.loc.start),this.match(47)?a.typeParameters=this.flowParseTypeParameterDeclaration():a.typeParameters=null,a.extends=[],a.implements=[],a.mixins=[],this.eat(81))do a.extends.push(this.flowParseInterfaceExtends());while(!u&&this.eat(12));if(u){if(this.eatContextual(115))do a.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(111))do a.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}a.body=this.flowParseObjectType({allowStatic:u,allowExact:!1,allowSpread:!1,allowProto:u,allowInexact:!1})}flowParseInterfaceExtends(){const a=this.startNode();return a.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?a.typeParameters=this.flowParseTypeParameterInstantiation():a.typeParameters=null,this.finishNode(a,"InterfaceExtends")}flowParseInterface(a){return this.flowParseInterfaceish(a,!1),this.finishNode(a,"InterfaceDeclaration")}checkNotUnderscore(a){a==="_"&&this.raise(Ko.UnexpectedReservedUnderscore,{at:this.state.startLoc})}checkReservedType(a,u,p){WAt.has(a)&&this.raise(p?Ko.AssignReservedType:Ko.UnexpectedReservedType,{at:u,reservedType:a})}flowParseRestrictedIdentifier(a,u){return this.checkReservedType(this.state.value,this.state.startLoc,u),this.parseIdentifier(a)}flowParseTypeAlias(a){return a.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(a.id.name,RN,a.id.loc.start),this.match(47)?a.typeParameters=this.flowParseTypeParameterDeclaration():a.typeParameters=null,a.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(a,"TypeAlias")}flowParseOpaqueType(a,u){return this.expectContextual(128),a.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(a.id.name,RN,a.id.loc.start),this.match(47)?a.typeParameters=this.flowParseTypeParameterDeclaration():a.typeParameters=null,a.supertype=null,this.match(14)&&(a.supertype=this.flowParseTypeInitialiser(14)),a.impltype=null,u||(a.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(a,"OpaqueType")}flowParseTypeParameter(a=!1){const u=this.state.startLoc,p=this.startNode(),y=this.flowParseVariance(),T=this.flowParseTypeAnnotatableIdentifier();return p.name=T.name,p.variance=y,p.bound=T.typeAnnotation,this.match(29)?(this.eat(29),p.default=this.flowParseType()):a&&this.raise(Ko.MissingTypeParamDefault,{at:u}),this.finishNode(p,"TypeParameter")}flowParseTypeParameterDeclaration(){const a=this.state.inType,u=this.startNode();u.params=[],this.state.inType=!0,this.match(47)||this.match(140)?this.next():this.unexpected();let p=!1;do{const y=this.flowParseTypeParameter(p);u.params.push(y),y.default&&(p=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=a,this.finishNode(u,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const a=this.startNode(),u=this.state.inType;a.params=[],this.state.inType=!0,this.expect(47);const p=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)a.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=p,this.expect(48),this.state.inType=u,this.finishNode(a,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const a=this.startNode(),u=this.state.inType;for(a.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)a.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=u,this.finishNode(a,"TypeParameterInstantiation")}flowParseInterfaceType(){const a=this.startNode();if(this.expectContextual(127),a.extends=[],this.eat(81))do a.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return a.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(a,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(132)||this.match(131)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(a,u,p){return a.static=u,this.lookahead().type===14?(a.id=this.flowParseObjectPropertyKey(),a.key=this.flowParseTypeInitialiser()):(a.id=null,a.key=this.flowParseType()),this.expect(3),a.value=this.flowParseTypeInitialiser(),a.variance=p,this.finishNode(a,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(a,u){return a.static=u,a.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(a.method=!0,a.optional=!1,a.value=this.flowParseObjectTypeMethodish(this.startNodeAt(a.loc.start))):(a.method=!1,this.eat(17)&&(a.optional=!0),a.value=this.flowParseTypeInitialiser()),this.finishNode(a,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(a){for(a.params=[],a.rest=null,a.typeParameters=null,a.this=null,this.match(47)&&(a.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(a.this=this.flowParseFunctionTypeParam(!0),a.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)a.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(a.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),a.returnType=this.flowParseTypeInitialiser(),this.finishNode(a,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(a,u){const p=this.startNode();return a.static=u,a.value=this.flowParseObjectTypeMethodish(p),this.finishNode(a,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:a,allowExact:u,allowSpread:p,allowProto:y,allowInexact:T}){const P=this.state.inType;this.state.inType=!0;const I=this.startNode();I.callProperties=[],I.properties=[],I.indexers=[],I.internalSlots=[];let B,z,H=!1;for(u&&this.match(6)?(this.expect(6),B=9,z=!0):(this.expect(5),B=8,z=!1),I.exact=z;!this.match(B);){let Ie=!1,ze=null,Ue=null;const et=this.startNode();if(y&&this.isContextual(116)){const vt=this.lookahead();vt.type!==14&&vt.type!==17&&(this.next(),ze=this.state.startLoc,a=!1)}if(a&&this.isContextual(104)){const vt=this.lookahead();vt.type!==14&&vt.type!==17&&(this.next(),Ie=!0)}const Ve=this.flowParseVariance();if(this.eat(0))ze!=null&&this.unexpected(ze),this.eat(0)?(Ve&&this.unexpected(Ve.loc.start),I.internalSlots.push(this.flowParseObjectTypeInternalSlot(et,Ie))):I.indexers.push(this.flowParseObjectTypeIndexer(et,Ie,Ve));else if(this.match(10)||this.match(47))ze!=null&&this.unexpected(ze),Ve&&this.unexpected(Ve.loc.start),I.callProperties.push(this.flowParseObjectTypeCallProperty(et,Ie));else{let vt="init";if(this.isContextual(98)||this.isContextual(103)){const He=this.lookahead();Xze(He.type)&&(vt=this.state.value,this.next())}const ut=this.flowParseObjectTypeProperty(et,Ie,ze,Ve,vt,p,T??!z);ut===null?(H=!0,Ue=this.state.lastTokStartLoc):I.properties.push(ut)}this.flowObjectTypeSemicolon(),Ue&&!this.match(8)&&!this.match(9)&&this.raise(Ko.UnexpectedExplicitInexactInObject,{at:Ue})}this.expect(B),p&&(I.inexact=H);const Q=this.finishNode(I,"ObjectTypeAnnotation");return this.state.inType=P,Q}flowParseObjectTypeProperty(a,u,p,y,T,P,I){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(P?I||this.raise(Ko.InexactInsideExact,{at:this.state.lastTokStartLoc}):this.raise(Ko.InexactInsideNonObject,{at:this.state.lastTokStartLoc}),y&&this.raise(Ko.InexactVariance,{at:y}),null):(P||this.raise(Ko.UnexpectedSpreadType,{at:this.state.lastTokStartLoc}),p!=null&&this.unexpected(p),y&&this.raise(Ko.SpreadVariance,{at:y}),a.argument=this.flowParseType(),this.finishNode(a,"ObjectTypeSpreadProperty"));{a.key=this.flowParseObjectPropertyKey(),a.static=u,a.proto=p!=null,a.kind=T;let B=!1;return this.match(47)||this.match(10)?(a.method=!0,p!=null&&this.unexpected(p),y&&this.unexpected(y.loc.start),a.value=this.flowParseObjectTypeMethodish(this.startNodeAt(a.loc.start)),(T==="get"||T==="set")&&this.flowCheckGetterSetterParams(a),!P&&a.key.name==="constructor"&&a.value.this&&this.raise(Ko.ThisParamBannedInConstructor,{at:a.value.this})):(T!=="init"&&this.unexpected(),a.method=!1,this.eat(17)&&(B=!0),a.value=this.flowParseTypeInitialiser(),a.variance=y),a.optional=B,this.finishNode(a,"ObjectTypeProperty")}}flowCheckGetterSetterParams(a){const u=a.kind==="get"?0:1,p=a.value.params.length+(a.value.rest?1:0);a.value.this&&this.raise(a.kind==="get"?Ko.GetterMayNotHaveThisParam:Ko.SetterMayNotHaveThisParam,{at:a.value.this}),p!==u&&this.raise(a.kind==="get"?zr.BadGetterArity:zr.BadSetterArity,{at:a}),a.kind==="set"&&a.value.rest&&this.raise(zr.BadSetterRestParameter,{at:a})}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(a,u){var p;(p=a)!=null||(a=this.state.startLoc);let y=u||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const T=this.startNodeAt(a);T.qualification=y,T.id=this.flowParseRestrictedIdentifier(!0),y=this.finishNode(T,"QualifiedTypeIdentifier")}return y}flowParseGenericType(a,u){const p=this.startNodeAt(a);return p.typeParameters=null,p.id=this.flowParseQualifiedTypeIdentifier(a,u),this.match(47)&&(p.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(p,"GenericTypeAnnotation")}flowParseTypeofType(){const a=this.startNode();return this.expect(87),a.argument=this.flowParsePrimaryType(),this.finishNode(a,"TypeofTypeAnnotation")}flowParseTupleType(){const a=this.startNode();for(a.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(a.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(a,"TupleTypeAnnotation")}flowParseFunctionTypeParam(a){let u=null,p=!1,y=null;const T=this.startNode(),P=this.lookahead(),I=this.state.type===78;return P.type===14||P.type===17?(I&&!a&&this.raise(Ko.ThisParamMustBeFirst,{at:T}),u=this.parseIdentifier(I),this.eat(17)&&(p=!0,I&&this.raise(Ko.ThisParamMayNotBeOptional,{at:T})),y=this.flowParseTypeInitialiser()):y=this.flowParseType(),T.name=u,T.optional=p,T.typeAnnotation=y,this.finishNode(T,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(a){const u=this.startNodeAt(a.loc.start);return u.name=null,u.optional=!1,u.typeAnnotation=a,this.finishNode(u,"FunctionTypeParam")}flowParseFunctionTypeParams(a=[]){let u=null,p=null;for(this.match(78)&&(p=this.flowParseFunctionTypeParam(!0),p.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)a.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(u=this.flowParseFunctionTypeParam(!1)),{params:a,rest:u,_this:p}}flowIdentToTypeAnnotation(a,u,p){switch(p.name){case"any":return this.finishNode(u,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(u,"BooleanTypeAnnotation");case"mixed":return this.finishNode(u,"MixedTypeAnnotation");case"empty":return this.finishNode(u,"EmptyTypeAnnotation");case"number":return this.finishNode(u,"NumberTypeAnnotation");case"string":return this.finishNode(u,"StringTypeAnnotation");case"symbol":return this.finishNode(u,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(p.name),this.flowParseGenericType(a,p)}}flowParsePrimaryType(){const a=this.state.startLoc,u=this.startNode();let p,y,T=!1;const P=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,y=this.flowParseTupleType(),this.state.noAnonFunctionType=P,y;case 47:return u.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),p=this.flowParseFunctionTypeParams(),u.params=p.params,u.rest=p.rest,u.this=p._this,this.expect(11),this.expect(19),u.returnType=this.flowParseType(),this.finishNode(u,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(ku(this.state.type)||this.match(78)){const I=this.lookahead().type;T=I!==17&&I!==14}else T=!0;if(T){if(this.state.noAnonFunctionType=!1,y=this.flowParseType(),this.state.noAnonFunctionType=P,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),y;this.eat(12)}return y?p=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(y)]):p=this.flowParseFunctionTypeParams(),u.params=p.params,u.rest=p.rest,u.this=p._this,this.expect(11),this.expect(19),u.returnType=this.flowParseType(),u.typeParameters=null,this.finishNode(u,"FunctionTypeAnnotation");case 131:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return u.value=this.match(85),this.next(),this.finishNode(u,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(132))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",u);if(this.match(133))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",u);throw this.raise(Ko.UnexpectedSubtractionOperand,{at:this.state.startLoc})}this.unexpected();return;case 132:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 133:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(u,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(u,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(u,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(u,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(wye(this.state.type)){const I=t6(this.state.type);return this.next(),super.createIdentifier(u,I)}else if(ku(this.state.type))return this.isContextual(127)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(a,u,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){const a=this.state.startLoc;let u=this.flowParsePrimaryType(),p=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const y=this.startNodeAt(a),T=this.eat(18);p=p||T,this.expect(0),!T&&this.match(3)?(y.elementType=u,this.next(),u=this.finishNode(y,"ArrayTypeAnnotation")):(y.objectType=u,y.indexType=this.flowParseType(),this.expect(3),p?(y.optional=T,u=this.finishNode(y,"OptionalIndexedAccessType")):u=this.finishNode(y,"IndexedAccessType"))}return u}flowParsePrefixType(){const a=this.startNode();return this.eat(17)?(a.typeAnnotation=this.flowParsePrefixType(),this.finishNode(a,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const a=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const u=this.startNodeAt(a.loc.start);return u.params=[this.reinterpretTypeAsFunctionTypeParam(a)],u.rest=null,u.this=null,u.returnType=this.flowParseType(),u.typeParameters=null,this.finishNode(u,"FunctionTypeAnnotation")}return a}flowParseIntersectionType(){const a=this.startNode();this.eat(45);const u=this.flowParseAnonFunctionWithoutParens();for(a.types=[u];this.eat(45);)a.types.push(this.flowParseAnonFunctionWithoutParens());return a.types.length===1?u:this.finishNode(a,"IntersectionTypeAnnotation")}flowParseUnionType(){const a=this.startNode();this.eat(43);const u=this.flowParseIntersectionType();for(a.types=[u];this.eat(43);)a.types.push(this.flowParseIntersectionType());return a.types.length===1?u:this.finishNode(a,"UnionTypeAnnotation")}flowParseType(){const a=this.state.inType;this.state.inType=!0;const u=this.flowParseUnionType();return this.state.inType=a,u}flowParseTypeOrImplicitInstantiation(){if(this.state.type===130&&this.state.value==="_"){const a=this.state.startLoc,u=this.parseIdentifier();return this.flowParseGenericType(a,u)}else return this.flowParseType()}flowParseTypeAnnotation(){const a=this.startNode();return a.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(a,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(a){const u=a?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(u.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(u)),u}typeCastToParameter(a){return a.expression.typeAnnotation=a.typeAnnotation,this.resetEndLocation(a.expression,a.typeAnnotation.loc.end),a.expression}flowParseVariance(){let a=null;return this.match(53)?(a=this.startNode(),this.state.value==="+"?a.kind="plus":a.kind="minus",this.next(),this.finishNode(a,"Variance")):a}parseFunctionBody(a,u,p=!1){if(u){this.forwardNoArrowParamsConversionAt(a,()=>super.parseFunctionBody(a,!0,p));return}super.parseFunctionBody(a,!1,p)}parseFunctionBodyAndFinish(a,u,p=!1){if(this.match(14)){const y=this.startNode();[y.typeAnnotation,a.predicate]=this.flowParseTypeAndPredicateInitialiser(),a.returnType=y.typeAnnotation?this.finishNode(y,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(a,u,p)}parseStatementLike(a){if(this.state.strict&&this.isContextual(127)){const p=this.lookahead();if(QS(p.type)){const y=this.startNode();return this.next(),this.flowParseInterface(y)}}else if(this.shouldParseEnums()&&this.isContextual(124)){const p=this.startNode();return this.next(),this.flowParseEnumDeclaration(p)}const u=super.parseStatementLike(a);return this.flowPragma===void 0&&!this.isValidDirective(u)&&(this.flowPragma=null),u}parseExpressionStatement(a,u,p){if(u.type==="Identifier"){if(u.name==="declare"){if(this.match(80)||ku(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(a)}else if(ku(this.state.type)){if(u.name==="interface")return this.flowParseInterface(a);if(u.name==="type")return this.flowParseTypeAlias(a);if(u.name==="opaque")return this.flowParseOpaqueType(a,!1)}}return super.parseExpressionStatement(a,u,p)}shouldParseExportDeclaration(){const{type:a}=this.state;return VBe(a)||this.shouldParseEnums()&&a===124?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:a}=this.state;return VBe(a)||this.shouldParseEnums()&&a===124?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(124)){const a=this.startNode();return this.next(),this.flowParseEnumDeclaration(a)}return super.parseExportDefaultExpression()}parseConditional(a,u,p){if(!this.match(17))return a;if(this.state.maybeInArrowParameters){const Q=this.lookaheadCharCode();if(Q===44||Q===61||Q===58||Q===41)return this.setOptionalParametersError(p),a}this.expect(17);const y=this.state.clone(),T=this.state.noArrowAt,P=this.startNodeAt(u);let{consequent:I,failed:B}=this.tryParseConditionalConsequent(),[z,H]=this.getArrowLikeExpressions(I);if(B||H.length>0){const Q=[...T];if(H.length>0){this.state=y,this.state.noArrowAt=Q;for(let Ie=0;Ie<H.length;Ie++)Q.push(H[Ie].start);({consequent:I,failed:B}=this.tryParseConditionalConsequent()),[z,H]=this.getArrowLikeExpressions(I)}B&&z.length>1&&this.raise(Ko.AmbiguousConditionalArrow,{at:y.startLoc}),B&&z.length===1&&(this.state=y,Q.push(z[0].start),this.state.noArrowAt=Q,{consequent:I,failed:B}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(I,!0),this.state.noArrowAt=T,this.expect(14),P.test=a,P.consequent=I,P.alternate=this.forwardNoArrowParamsConversionAt(P,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(P,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const a=this.parseMaybeAssignAllowIn(),u=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:a,failed:u}}getArrowLikeExpressions(a,u){const p=[a],y=[];for(;p.length!==0;){const T=p.pop();T.type==="ArrowFunctionExpression"?(T.typeParameters||!T.returnType?this.finishArrowValidation(T):y.push(T),p.push(T.body)):T.type==="ConditionalExpression"&&(p.push(T.consequent),p.push(T.alternate))}return u?(y.forEach(T=>this.finishArrowValidation(T)),[y,[]]):XAt(y,T=>T.params.every(P=>this.isAssignable(P,!0)))}finishArrowValidation(a){var u;this.toAssignableList(a.params,(u=a.extra)==null?void 0:u.trailingCommaLoc,!1),this.scope.enter(Zk|Pye),super.checkParams(a,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(a,u){let p;return this.state.noArrowParamsConversionAt.indexOf(a.start)!==-1?(this.state.noArrowParamsConversionAt.push(this.state.start),p=u(),this.state.noArrowParamsConversionAt.pop()):p=u(),p}parseParenItem(a,u){if(a=super.parseParenItem(a,u),this.eat(17)&&(a.optional=!0,this.resetEndLocation(a)),this.match(14)){const p=this.startNodeAt(u);return p.expression=a,p.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(p,"TypeCastExpression")}return a}assertModuleNodeAllowed(a){a.type==="ImportDeclaration"&&(a.importKind==="type"||a.importKind==="typeof")||a.type==="ExportNamedDeclaration"&&a.exportKind==="type"||a.type==="ExportAllDeclaration"&&a.exportKind==="type"||super.assertModuleNodeAllowed(a)}parseExport(a,u){const p=super.parseExport(a,u);return(p.type==="ExportNamedDeclaration"||p.type==="ExportAllDeclaration")&&(p.exportKind=p.exportKind||"value"),p}parseExportDeclaration(a){if(this.isContextual(128)){a.exportKind="type";const u=this.startNode();return this.next(),this.match(5)?(a.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(a),null):this.flowParseTypeAlias(u)}else if(this.isContextual(129)){a.exportKind="type";const u=this.startNode();return this.next(),this.flowParseOpaqueType(u,!1)}else if(this.isContextual(127)){a.exportKind="type";const u=this.startNode();return this.next(),this.flowParseInterface(u)}else if(this.shouldParseEnums()&&this.isContextual(124)){a.exportKind="value";const u=this.startNode();return this.next(),this.flowParseEnumDeclaration(u)}else return super.parseExportDeclaration(a)}eatExportStar(a){return super.eatExportStar(a)?!0:this.isContextual(128)&&this.lookahead().type===55?(a.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(a){const{startLoc:u}=this.state,p=super.maybeParseExportNamespaceSpecifier(a);return p&&a.exportKind==="type"&&this.unexpected(u),p}parseClassId(a,u,p){super.parseClassId(a,u,p),this.match(47)&&(a.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(a,u,p){const{startLoc:y}=this.state;if(this.isContextual(123)){if(super.parseClassMemberFromModifier(a,u))return;u.declare=!0}super.parseClassMember(a,u,p),u.declare&&(u.type!=="ClassProperty"&&u.type!=="ClassPrivateProperty"&&u.type!=="PropertyDefinition"?this.raise(Ko.DeclareClassElement,{at:y}):u.value&&this.raise(Ko.DeclareClassFieldInitializer,{at:u.value}))}isIterator(a){return a==="iterator"||a==="asyncIterator"}readIterator(){const a=super.readWord1(),u="@@"+a;(!this.isIterator(a)||!this.state.inType)&&this.raise(zr.InvalidIdentifier,{at:this.state.curPosition(),identifierName:u}),this.finishToken(130,u)}getTokenFromCode(a){const u=this.input.charCodeAt(this.state.pos+1);a===123&&u===124?this.finishOp(6,2):this.state.inType&&(a===62||a===60)?this.finishOp(a===62?48:47,1):this.state.inType&&a===63?u===46?this.finishOp(18,2):this.finishOp(17,1):aAt(a,u,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(a)}isAssignable(a,u){return a.type==="TypeCastExpression"?this.isAssignable(a.expression,u):super.isAssignable(a,u)}toAssignable(a,u=!1){!u&&a.type==="AssignmentExpression"&&a.left.type==="TypeCastExpression"&&(a.left=this.typeCastToParameter(a.left)),super.toAssignable(a,u)}toAssignableList(a,u,p){for(let y=0;y<a.length;y++){const T=a[y];(T==null?void 0:T.type)==="TypeCastExpression"&&(a[y]=this.typeCastToParameter(T))}super.toAssignableList(a,u,p)}toReferencedList(a,u){for(let y=0;y<a.length;y++){var p;const T=a[y];T&&T.type==="TypeCastExpression"&&!((p=T.extra)!=null&&p.parenthesized)&&(a.length>1||!u)&&this.raise(Ko.TypeCastInPattern,{at:T.typeAnnotation})}return a}parseArrayLike(a,u,p,y){const T=super.parseArrayLike(a,u,p,y);return u&&!this.state.maybeInArrowParameters&&this.toReferencedList(T.elements),T}isValidLVal(a,u,p){return a==="TypeCastExpression"||super.isValidLVal(a,u,p)}parseClassProperty(a){return this.match(14)&&(a.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(a)}parseClassPrivateProperty(a){return this.match(14)&&(a.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(a)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(a){return!this.match(14)&&super.isNonstaticConstructor(a)}pushClassMethod(a,u,p,y,T,P){if(u.variance&&this.unexpected(u.variance.loc.start),delete u.variance,this.match(47)&&(u.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(a,u,p,y,T,P),u.params&&T){const I=u.params;I.length>0&&this.isThisParam(I[0])&&this.raise(Ko.ThisParamBannedInConstructor,{at:u})}else if(u.type==="MethodDefinition"&&T&&u.value.params){const I=u.value.params;I.length>0&&this.isThisParam(I[0])&&this.raise(Ko.ThisParamBannedInConstructor,{at:u})}}pushClassPrivateMethod(a,u,p,y){u.variance&&this.unexpected(u.variance.loc.start),delete u.variance,this.match(47)&&(u.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(a,u,p,y)}parseClassSuper(a){if(super.parseClassSuper(a),a.superClass&&this.match(47)&&(a.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(111)){this.next();const u=a.implements=[];do{const p=this.startNode();p.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?p.typeParameters=this.flowParseTypeParameterInstantiation():p.typeParameters=null,u.push(this.finishNode(p,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(a){super.checkGetterSetterParams(a);const u=this.getObjectOrClassMethodParams(a);if(u.length>0){const p=u[0];this.isThisParam(p)&&a.kind==="get"?this.raise(Ko.GetterMayNotHaveThisParam,{at:p}):this.isThisParam(p)&&this.raise(Ko.SetterMayNotHaveThisParam,{at:p})}}parsePropertyNamePrefixOperator(a){a.variance=this.flowParseVariance()}parseObjPropValue(a,u,p,y,T,P,I){a.variance&&this.unexpected(a.variance.loc.start),delete a.variance;let B;this.match(47)&&!P&&(B=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const z=super.parseObjPropValue(a,u,p,y,T,P,I);return B&&((z.value||z).typeParameters=B),z}parseAssignableListItemTypes(a){return this.eat(17)&&(a.type!=="Identifier"&&this.raise(Ko.PatternIsOptional,{at:a}),this.isThisParam(a)&&this.raise(Ko.ThisParamMayNotBeOptional,{at:a}),a.optional=!0),this.match(14)?a.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(a)&&this.raise(Ko.ThisParamAnnotationRequired,{at:a}),this.match(29)&&this.isThisParam(a)&&this.raise(Ko.ThisParamNoDefault,{at:a}),this.resetEndLocation(a),a}parseMaybeDefault(a,u){const p=super.parseMaybeDefault(a,u);return p.type==="AssignmentPattern"&&p.typeAnnotation&&p.right.start<p.typeAnnotation.start&&this.raise(Ko.TypeBeforeInitializer,{at:p.typeAnnotation}),p}shouldParseDefaultImport(a){return $me(a)?YBe(this.state.type):super.shouldParseDefaultImport(a)}checkImportReflection(a){super.checkImportReflection(a),a.module&&a.importKind!=="value"&&this.raise(Ko.ImportReflectionHasImportType,{at:a.specifiers[0].loc.start})}parseImportSpecifierLocal(a,u,p){u.local=$me(a)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),a.specifiers.push(this.finishImportSpecifier(u,p))}maybeParseDefaultImportSpecifier(a){a.importKind="value";let u=null;if(this.match(87)?u="typeof":this.isContextual(128)&&(u="type"),u){const p=this.lookahead(),{type:y}=p;u==="type"&&y===55&&this.unexpected(null,p.type),(YBe(y)||y===5||y===55)&&(this.next(),a.importKind=u)}return super.maybeParseDefaultImportSpecifier(a)}parseImportSpecifier(a,u,p,y,T){const P=a.imported;let I=null;P.type==="Identifier"&&(P.name==="type"?I="type":P.name==="typeof"&&(I="typeof"));let B=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){const H=this.parseIdentifier(!0);I!==null&&!QS(this.state.type)?(a.imported=H,a.importKind=I,a.local=aC(H)):(a.imported=P,a.importKind=null,a.local=this.parseIdentifier())}else{if(I!==null&&QS(this.state.type))a.imported=this.parseIdentifier(!0),a.importKind=I;else{if(u)throw this.raise(zr.ImportBindingIsString,{at:a,importName:P.value});a.imported=P,a.importKind=null}this.eatContextual(93)?a.local=this.parseIdentifier():(B=!0,a.local=aC(a.imported))}const z=$me(a);return p&&z&&this.raise(Ko.ImportTypeShorthandOnlyInPureImport,{at:a}),(p||z)&&this.checkReservedType(a.local.name,a.local.loc.start,!0),B&&!p&&!z&&this.checkReservedWord(a.local.name,a.loc.start,!0,!0),this.finishImportSpecifier(a,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(a,u){const p=a.kind;p!=="get"&&p!=="set"&&this.match(47)&&(a.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(a,u)}parseVarId(a,u){super.parseVarId(a,u),this.match(14)&&(a.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(a.id))}parseAsyncArrowFromCallExpression(a,u){if(this.match(14)){const p=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,a.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=p}return super.parseAsyncArrowFromCallExpression(a,u)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(a,u){var p;let y=null,T;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(y=this.state.clone(),T=this.tryParse(()=>super.parseMaybeAssign(a,u),y),!T.error)return T.node;const{context:B}=this.state,z=B[B.length-1];(z===zf.j_oTag||z===zf.j_expr)&&B.pop()}if((p=T)!=null&&p.error||this.match(47)){var P,I;y=y||this.state.clone();let B;const z=this.tryParse(Q=>{var Ie;B=this.flowParseTypeParameterDeclaration();const ze=this.forwardNoArrowParamsConversionAt(B,()=>{const et=super.parseMaybeAssign(a,u);return this.resetStartLocationFromNode(et,B),et});(Ie=ze.extra)!=null&&Ie.parenthesized&&Q();const Ue=this.maybeUnwrapTypeCastExpression(ze);return Ue.type!=="ArrowFunctionExpression"&&Q(),Ue.typeParameters=B,this.resetStartLocationFromNode(Ue,B),ze},y);let H=null;if(z.node&&this.maybeUnwrapTypeCastExpression(z.node).type==="ArrowFunctionExpression"){if(!z.error&&!z.aborted)return z.node.async&&this.raise(Ko.UnexpectedTypeParameterBeforeAsyncArrowFunction,{at:B}),z.node;H=z.node}if((P=T)!=null&&P.node)return this.state=T.failState,T.node;if(H)return this.state=z.failState,H;throw(I=T)!=null&&I.thrown?T.error:z.thrown?z.error:this.raise(Ko.UnexpectedTokenAfterTypeParameter,{at:B})}return super.parseMaybeAssign(a,u)}parseArrow(a){if(this.match(14)){const u=this.tryParse(()=>{const p=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const y=this.startNode();return[y.typeAnnotation,a.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=p,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),y});if(u.thrown)return null;u.error&&(this.state=u.failState),a.returnType=u.node.typeAnnotation?this.finishNode(u.node,"TypeAnnotation"):null}return super.parseArrow(a)}shouldParseArrow(a){return this.match(14)||super.shouldParseArrow(a)}setArrowFunctionParameters(a,u){this.state.noArrowParamsConversionAt.indexOf(a.start)!==-1?a.params=u:super.setArrowFunctionParameters(a,u)}checkParams(a,u,p,y=!0){if(!(p&&this.state.noArrowParamsConversionAt.indexOf(a.start)!==-1)){for(let T=0;T<a.params.length;T++)this.isThisParam(a.params[T])&&T>0&&this.raise(Ko.ThisParamMustBeFirst,{at:a.params[T]});super.checkParams(a,u,p,y)}}parseParenAndDistinguishExpression(a){return super.parseParenAndDistinguishExpression(a&&this.state.noArrowAt.indexOf(this.state.start)===-1)}parseSubscripts(a,u,p){if(a.type==="Identifier"&&a.name==="async"&&this.state.noArrowAt.indexOf(u.index)!==-1){this.next();const y=this.startNodeAt(u);y.callee=a,y.arguments=super.parseCallExpressionArguments(11,!1),a=this.finishNode(y,"CallExpression")}else if(a.type==="Identifier"&&a.name==="async"&&this.match(47)){const y=this.state.clone(),T=this.tryParse(I=>this.parseAsyncArrowWithTypeParameters(u)||I(),y);if(!T.error&&!T.aborted)return T.node;const P=this.tryParse(()=>super.parseSubscripts(a,u,p),y);if(P.node&&!P.error)return P.node;if(T.node)return this.state=T.failState,T.node;if(P.node)return this.state=P.failState,P.node;throw T.error||P.error}return super.parseSubscripts(a,u,p)}parseSubscript(a,u,p,y){if(this.match(18)&&this.isLookaheadToken_lt()){if(y.optionalChainMember=!0,p)return y.stop=!0,a;this.next();const T=this.startNodeAt(u);return T.callee=a,T.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),T.arguments=this.parseCallExpressionArguments(11,!1),T.optional=!0,this.finishCallExpression(T,!0)}else if(!p&&this.shouldParseTypes()&&this.match(47)){const T=this.startNodeAt(u);T.callee=a;const P=this.tryParse(()=>(T.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),T.arguments=super.parseCallExpressionArguments(11,!1),y.optionalChainMember&&(T.optional=!1),this.finishCallExpression(T,y.optionalChainMember)));if(P.node)return P.error&&(this.state=P.failState),P.node}return super.parseSubscript(a,u,p,y)}parseNewCallee(a){super.parseNewCallee(a);let u=null;this.shouldParseTypes()&&this.match(47)&&(u=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),a.typeArguments=u}parseAsyncArrowWithTypeParameters(a){const u=this.startNodeAt(a);if(this.parseFunctionParams(u,!1),!!this.parseArrow(u))return super.parseArrowExpression(u,void 0,!0)}readToken_mult_modulo(a){const u=this.input.charCodeAt(this.state.pos+1);if(a===42&&u===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(a)}readToken_pipe_amp(a){const u=this.input.charCodeAt(this.state.pos+1);if(a===124&&u===125){this.finishOp(9,2);return}super.readToken_pipe_amp(a)}parseTopLevel(a,u){const p=super.parseTopLevel(a,u);return this.state.hasFlowComment&&this.raise(Ko.UnterminatedFlowComment,{at:this.state.curPosition()}),p}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(Ko.NestedFlowComment,{at:this.state.startLoc});this.hasFlowCommentCompletion();const a=this.skipFlowComment();a&&(this.state.pos+=a,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){const{pos:a}=this.state;let u=2;for(;[32,9].includes(this.input.charCodeAt(a+u));)u++;const p=this.input.charCodeAt(u+a),y=this.input.charCodeAt(u+a+1);return p===58&&y===58?u+2:this.input.slice(u+a,u+a+12)==="flow-include"?u+12:p===58&&y!==58?u:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(zr.UnterminatedComment,{at:this.state.curPosition()})}flowEnumErrorBooleanMemberNotInitialized(a,{enumName:u,memberName:p}){this.raise(Ko.EnumBooleanMemberNotInitialized,{at:a,memberName:p,enumName:u})}flowEnumErrorInvalidMemberInitializer(a,u){return this.raise(u.explicitType?u.explicitType==="symbol"?Ko.EnumInvalidMemberInitializerSymbolType:Ko.EnumInvalidMemberInitializerPrimaryType:Ko.EnumInvalidMemberInitializerUnknownType,Object.assign({at:a},u))}flowEnumErrorNumberMemberNotInitialized(a,{enumName:u,memberName:p}){this.raise(Ko.EnumNumberMemberNotInitialized,{at:a,enumName:u,memberName:p})}flowEnumErrorStringMemberInconsistentlyInitailized(a,{enumName:u}){this.raise(Ko.EnumStringMemberInconsistentlyInitailized,{at:a,enumName:u})}flowEnumMemberInit(){const a=this.state.startLoc,u=()=>this.match(12)||this.match(8);switch(this.state.type){case 132:{const p=this.parseNumericLiteral(this.state.value);return u()?{type:"number",loc:p.loc.start,value:p}:{type:"invalid",loc:a}}case 131:{const p=this.parseStringLiteral(this.state.value);return u()?{type:"string",loc:p.loc.start,value:p}:{type:"invalid",loc:a}}case 85:case 86:{const p=this.parseBooleanLiteral(this.match(85));return u()?{type:"boolean",loc:p.loc.start,value:p}:{type:"invalid",loc:a}}default:return{type:"invalid",loc:a}}}flowEnumMemberRaw(){const a=this.state.startLoc,u=this.parseIdentifier(!0),p=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:a};return{id:u,init:p}}flowEnumCheckExplicitTypeMismatch(a,u,p){const{explicitType:y}=u;y!==null&&y!==p&&this.flowEnumErrorInvalidMemberInitializer(a,u)}flowEnumMembers({enumName:a,explicitType:u}){const p=new Set,y={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let T=!1;for(;!this.match(8);){if(this.eat(21)){T=!0;break}const P=this.startNode(),{id:I,init:B}=this.flowEnumMemberRaw(),z=I.name;if(z==="")continue;/^[a-z]/.test(z)&&this.raise(Ko.EnumInvalidMemberName,{at:I,memberName:z,suggestion:z[0].toUpperCase()+z.slice(1),enumName:a}),p.has(z)&&this.raise(Ko.EnumDuplicateMemberName,{at:I,memberName:z,enumName:a}),p.add(z);const H={enumName:a,explicitType:u,memberName:z};switch(P.id=I,B.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(B.loc,H,"boolean"),P.init=B.value,y.booleanMembers.push(this.finishNode(P,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(B.loc,H,"number"),P.init=B.value,y.numberMembers.push(this.finishNode(P,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(B.loc,H,"string"),P.init=B.value,y.stringMembers.push(this.finishNode(P,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(B.loc,H);case"none":switch(u){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(B.loc,H);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(B.loc,H);break;default:y.defaultedMembers.push(this.finishNode(P,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:y,hasUnknownMembers:T}}flowEnumStringMembers(a,u,{enumName:p}){if(a.length===0)return u;if(u.length===0)return a;if(u.length>a.length){for(const y of a)this.flowEnumErrorStringMemberInconsistentlyInitailized(y,{enumName:p});return u}else{for(const y of u)this.flowEnumErrorStringMemberInconsistentlyInitailized(y,{enumName:p});return a}}flowEnumParseExplicitType({enumName:a}){if(!this.eatContextual(101))return null;if(!ku(this.state.type))throw this.raise(Ko.EnumInvalidExplicitTypeUnknownSupplied,{at:this.state.startLoc,enumName:a});const{value:u}=this.state;return this.next(),u!=="boolean"&&u!=="number"&&u!=="string"&&u!=="symbol"&&this.raise(Ko.EnumInvalidExplicitType,{at:this.state.startLoc,enumName:a,invalidEnumType:u}),u}flowEnumBody(a,u){const p=u.name,y=u.loc.start,T=this.flowEnumParseExplicitType({enumName:p});this.expect(5);const{members:P,hasUnknownMembers:I}=this.flowEnumMembers({enumName:p,explicitType:T});switch(a.hasUnknownMembers=I,T){case"boolean":return a.explicitType=!0,a.members=P.booleanMembers,this.expect(8),this.finishNode(a,"EnumBooleanBody");case"number":return a.explicitType=!0,a.members=P.numberMembers,this.expect(8),this.finishNode(a,"EnumNumberBody");case"string":return a.explicitType=!0,a.members=this.flowEnumStringMembers(P.stringMembers,P.defaultedMembers,{enumName:p}),this.expect(8),this.finishNode(a,"EnumStringBody");case"symbol":return a.members=P.defaultedMembers,this.expect(8),this.finishNode(a,"EnumSymbolBody");default:{const B=()=>(a.members=[],this.expect(8),this.finishNode(a,"EnumStringBody"));a.explicitType=!1;const z=P.booleanMembers.length,H=P.numberMembers.length,Q=P.stringMembers.length,Ie=P.defaultedMembers.length;if(!z&&!H&&!Q&&!Ie)return B();if(!z&&!H)return a.members=this.flowEnumStringMembers(P.stringMembers,P.defaultedMembers,{enumName:p}),this.expect(8),this.finishNode(a,"EnumStringBody");if(!H&&!Q&&z>=Ie){for(const ze of P.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(ze.loc.start,{enumName:p,memberName:ze.id.name});return a.members=P.booleanMembers,this.expect(8),this.finishNode(a,"EnumBooleanBody")}else if(!z&&!Q&&H>=Ie){for(const ze of P.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(ze.loc.start,{enumName:p,memberName:ze.id.name});return a.members=P.numberMembers,this.expect(8),this.finishNode(a,"EnumNumberBody")}else return this.raise(Ko.EnumInconsistentMemberValues,{at:y,enumName:p}),B()}}}flowParseEnumDeclaration(a){const u=this.parseIdentifier();return a.id=u,a.body=this.flowEnumBody(this.startNode(),u),this.finishNode(a,"EnumDeclaration")}isLookaheadToken_lt(){const a=this.nextTokenStart();if(this.input.charCodeAt(a)===60){const u=this.input.charCodeAt(a+1);return u!==60&&u!==61}return!1}maybeUnwrapTypeCastExpression(a){return a.type==="TypeCastExpression"?a.expression:a}};const ZAt={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},X3=Yk`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:o})=>`Expected corresponding JSX closing tag for <${o}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:o,HTMLEntity:i})=>`Unexpected token \`${o}\`. Did you mean \`${i}\` or \`{'${o}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function $E(o){return o?o.type==="JSXOpeningFragment"||o.type==="JSXClosingFragment":!1}function AN(o){if(o.type==="JSXIdentifier")return o.name;if(o.type==="JSXNamespacedName")return o.namespace.name+":"+o.name.name;if(o.type==="JSXMemberExpression")return AN(o.object)+"."+AN(o.property);throw new Error("Node had unexpected type: "+o.type)}var KAt=o=>class extends o{jsxReadToken(){let a="",u=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(X3.UnterminatedJsxContent,{at:this.state.startLoc});const p=this.input.charCodeAt(this.state.pos);switch(p){case 60:case 123:if(this.state.pos===this.state.start){p===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(140)):super.getTokenFromCode(p);return}a+=this.input.slice(u,this.state.pos),this.finishToken(139,a);return;case 38:a+=this.input.slice(u,this.state.pos),a+=this.jsxReadEntity(),u=this.state.pos;break;case 62:case 125:default:EF(p)?(a+=this.input.slice(u,this.state.pos),a+=this.jsxReadNewLine(!0),u=this.state.pos):++this.state.pos}}}jsxReadNewLine(a){const u=this.input.charCodeAt(this.state.pos);let p;return++this.state.pos,u===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,p=a?`
`:`\r
`):p=String.fromCharCode(u),++this.state.curLine,this.state.lineStart=this.state.pos,p}jsxReadString(a){let u="",p=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(zr.UnterminatedString,{at:this.state.startLoc});const y=this.input.charCodeAt(this.state.pos);if(y===a)break;y===38?(u+=this.input.slice(p,this.state.pos),u+=this.jsxReadEntity(),p=this.state.pos):EF(y)?(u+=this.input.slice(p,this.state.pos),u+=this.jsxReadNewLine(!1),p=this.state.pos):++this.state.pos}u+=this.input.slice(p,this.state.pos++),this.finishToken(131,u)}jsxReadEntity(){const a=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let u=10;this.codePointAtPos(this.state.pos)===120&&(u=16,++this.state.pos);const p=this.readInt(u,void 0,!1,"bail");if(p!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(p)}else{let u=0,p=!1;for(;u++<10&&this.state.pos<this.length&&!(p=this.codePointAtPos(this.state.pos)==59);)++this.state.pos;if(p){const y=this.input.slice(a,this.state.pos),T=ZAt[y];if(++this.state.pos,T)return T}}return this.state.pos=a,"&"}jsxReadWord(){let a;const u=this.state.pos;do a=this.input.charCodeAt(++this.state.pos);while(MN(a)||a===45);this.finishToken(138,this.input.slice(u,this.state.pos))}jsxParseIdentifier(){const a=this.startNode();return this.match(138)?a.name=this.state.value:wye(this.state.type)?a.name=t6(this.state.type):this.unexpected(),this.next(),this.finishNode(a,"JSXIdentifier")}jsxParseNamespacedName(){const a=this.state.startLoc,u=this.jsxParseIdentifier();if(!this.eat(14))return u;const p=this.startNodeAt(a);return p.namespace=u,p.name=this.jsxParseIdentifier(),this.finishNode(p,"JSXNamespacedName")}jsxParseElementName(){const a=this.state.startLoc;let u=this.jsxParseNamespacedName();if(u.type==="JSXNamespacedName")return u;for(;this.eat(16);){const p=this.startNodeAt(a);p.object=u,p.property=this.jsxParseIdentifier(),u=this.finishNode(p,"JSXMemberExpression")}return u}jsxParseAttributeValue(){let a;switch(this.state.type){case 5:return a=this.startNode(),this.setContext(zf.brace),this.next(),a=this.jsxParseExpressionContainer(a,zf.j_oTag),a.expression.type==="JSXEmptyExpression"&&this.raise(X3.AttributeIsEmpty,{at:a}),a;case 140:case 131:return this.parseExprAtom();default:throw this.raise(X3.UnsupportedJsxValue,{at:this.state.startLoc})}}jsxParseEmptyExpression(){const a=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(a,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(a){return this.next(),a.expression=this.parseExpression(),this.setContext(zf.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(a,"JSXSpreadChild")}jsxParseExpressionContainer(a,u){if(this.match(8))a.expression=this.jsxParseEmptyExpression();else{const p=this.parseExpression();a.expression=p}return this.setContext(u),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(a,"JSXExpressionContainer")}jsxParseAttribute(){const a=this.startNode();return this.match(5)?(this.setContext(zf.brace),this.next(),this.expect(21),a.argument=this.parseMaybeAssignAllowIn(),this.setContext(zf.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(a,"JSXSpreadAttribute")):(a.name=this.jsxParseNamespacedName(),a.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(a,"JSXAttribute"))}jsxParseOpeningElementAt(a){const u=this.startNodeAt(a);return this.eat(141)?this.finishNode(u,"JSXOpeningFragment"):(u.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(u))}jsxParseOpeningElementAfterName(a){const u=[];for(;!this.match(56)&&!this.match(141);)u.push(this.jsxParseAttribute());return a.attributes=u,a.selfClosing=this.eat(56),this.expect(141),this.finishNode(a,"JSXOpeningElement")}jsxParseClosingElementAt(a){const u=this.startNodeAt(a);return this.eat(141)?this.finishNode(u,"JSXClosingFragment"):(u.name=this.jsxParseElementName(),this.expect(141),this.finishNode(u,"JSXClosingElement"))}jsxParseElementAt(a){const u=this.startNodeAt(a),p=[],y=this.jsxParseOpeningElementAt(a);let T=null;if(!y.selfClosing){e:for(;;)switch(this.state.type){case 140:if(a=this.state.startLoc,this.next(),this.eat(56)){T=this.jsxParseClosingElementAt(a);break e}p.push(this.jsxParseElementAt(a));break;case 139:p.push(this.parseExprAtom());break;case 5:{const P=this.startNode();this.setContext(zf.brace),this.next(),this.match(21)?p.push(this.jsxParseSpreadChild(P)):p.push(this.jsxParseExpressionContainer(P,zf.j_expr));break}default:this.unexpected()}$E(y)&&!$E(T)&&T!==null?this.raise(X3.MissingClosingTagFragment,{at:T}):!$E(y)&&$E(T)?this.raise(X3.MissingClosingTagElement,{at:T,openingTagName:AN(y.name)}):!$E(y)&&!$E(T)&&AN(T.name)!==AN(y.name)&&this.raise(X3.MissingClosingTagElement,{at:T,openingTagName:AN(y.name)})}if($E(y)?(u.openingFragment=y,u.closingFragment=T):(u.openingElement=y,u.closingElement=T),u.children=p,this.match(47))throw this.raise(X3.UnwrappedAdjacentJSXElements,{at:this.state.startLoc});return $E(y)?this.finishNode(u,"JSXFragment"):this.finishNode(u,"JSXElement")}jsxParseElement(){const a=this.state.startLoc;return this.next(),this.jsxParseElementAt(a)}setContext(a){const{context:u}=this.state;u[u.length-1]=a}parseExprAtom(a){return this.match(139)?this.parseLiteral(this.state.value,"JSXText"):this.match(140)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(140),this.jsxParseElement()):super.parseExprAtom(a)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(a){const u=this.curContext();if(u===zf.j_expr){this.jsxReadToken();return}if(u===zf.j_oTag||u===zf.j_cTag){if(Qk(a)){this.jsxReadWord();return}if(a===62){++this.state.pos,this.finishToken(141);return}if((a===34||a===39)&&u===zf.j_oTag){this.jsxReadString(a);return}}if(a===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(140);return}super.getTokenFromCode(a)}updateContext(a){const{context:u,type:p}=this.state;if(p===56&&a===140)u.splice(-2,2,zf.j_cTag),this.state.canStartJSXElement=!1;else if(p===140)u.push(zf.j_oTag);else if(p===141){const y=u[u.length-1];y===zf.j_oTag&&a===56||y===zf.j_cTag?(u.pop(),this.state.canStartJSXElement=u[u.length-1]===zf.j_expr):(this.setContext(zf.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=I3t(p)}};class ePt extends Oye{constructor(...i){super(...i),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}}class tPt extends Lye{constructor(...i){super(...i),this.importsStack=[]}createScope(i){return this.importsStack.push(new Set),new ePt(i)}enter(i){i==FN&&this.importsStack.push(new Set),super.enter(i)}exit(){const i=super.exit();return i==FN&&this.importsStack.pop(),i}hasImport(i,a){const u=this.importsStack.length;if(this.importsStack[u-1].has(i))return!0;if(!a&&u>1){for(let p=0;p<u-1;p++)if(this.importsStack[p].has(i))return!0}return!1}declareName(i,a,u){if(a&wF){this.hasImport(i,!0)&&this.parser.raise(zr.VarRedeclaration,{at:u,identifierName:i}),this.importsStack[this.importsStack.length-1].add(i);return}const p=this.currentScope();if(a&Dye){this.maybeExportDefined(p,i),p.exportOnlyBindings.add(i);return}super.declareName(i,a,u),a&SA&&(a&rx||(this.checkRedeclarationInScope(p,i,a,u),this.maybeExportDefined(p,i)),p.types.add(i)),a&Rhe&&p.enums.add(i),a&Bhe&&p.constEnums.add(i),a&dX&&p.classes.add(i)}isRedeclaredInScope(i,a,u){if(i.enums.has(a)){if(u&Rhe){const p=!!(u&Bhe),y=i.constEnums.has(a);return p!==y}return!0}return u&dX&&i.classes.has(a)?i.lexical.has(a)?!!(u&rx):!1:u&SA&&i.types.has(a)?!0:super.isRedeclaredInScope(i,a,u)}checkLocalExport(i){const{name:a}=i;if(this.hasImport(a))return;const u=this.scopeStack.length;for(let p=u-1;p>=0;p--){const y=this.scopeStack[p];if(y.types.has(a)||y.exportOnlyBindings.has(a))return}super.checkLocalExport(i)}}const rPt=(o,i)=>Object.hasOwnProperty.call(o,i)&&o[i],yVe=o=>o.type==="ParenthesizedExpression"?yVe(o.expression):o;class nPt extends qAt{toAssignable(i,a=!1){var u,p;let y;switch((i.type==="ParenthesizedExpression"||(u=i.extra)!=null&&u.parenthesized)&&(y=yVe(i),a?y.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(zr.InvalidParenthesizedAssignment,{at:i}):y.type!=="MemberExpression"&&this.raise(zr.InvalidParenthesizedAssignment,{at:i}):this.raise(zr.InvalidParenthesizedAssignment,{at:i})),i.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":i.type="ObjectPattern";for(let P=0,I=i.properties.length,B=I-1;P<I;P++){var T;const z=i.properties[P],H=P===B;this.toAssignableObjectExpressionProp(z,H,a),H&&z.type==="RestElement"&&(T=i.extra)!=null&&T.trailingCommaLoc&&this.raise(zr.RestTrailingComma,{at:i.extra.trailingCommaLoc})}break;case"ObjectProperty":{const{key:P,value:I}=i;this.isPrivateName(P)&&this.classScope.usePrivateName(this.getPrivateNameSV(P),P.loc.start),this.toAssignable(I,a);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":i.type="ArrayPattern",this.toAssignableList(i.elements,(p=i.extra)==null?void 0:p.trailingCommaLoc,a);break;case"AssignmentExpression":i.operator!=="="&&this.raise(zr.MissingEqInAssignment,{at:i.left.loc.end}),i.type="AssignmentPattern",delete i.operator,this.toAssignable(i.left,a);break;case"ParenthesizedExpression":this.toAssignable(y,a);break}}toAssignableObjectExpressionProp(i,a,u){if(i.type==="ObjectMethod")this.raise(i.kind==="get"||i.kind==="set"?zr.PatternHasAccessor:zr.PatternHasMethod,{at:i.key});else if(i.type==="SpreadElement"){i.type="RestElement";const p=i.argument;this.checkToRestConversion(p,!1),this.toAssignable(p,u),a||this.raise(zr.RestTrailingComma,{at:i})}else this.toAssignable(i,u)}toAssignableList(i,a,u){const p=i.length-1;for(let y=0;y<=p;y++){const T=i[y];if(T){if(T.type==="SpreadElement"){T.type="RestElement";const P=T.argument;this.checkToRestConversion(P,!0),this.toAssignable(P,u)}else this.toAssignable(T,u);T.type==="RestElement"&&(y<p?this.raise(zr.RestTrailingComma,{at:T}):a&&this.raise(zr.RestTrailingComma,{at:a}))}}}isAssignable(i,a){switch(i.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{const u=i.properties.length-1;return i.properties.every((p,y)=>p.type!=="ObjectMethod"&&(y===u||p.type!=="SpreadElement")&&this.isAssignable(p))}case"ObjectProperty":return this.isAssignable(i.value);case"SpreadElement":return this.isAssignable(i.argument);case"ArrayExpression":return i.elements.every(u=>u===null||this.isAssignable(u));case"AssignmentExpression":return i.operator==="=";case"ParenthesizedExpression":return this.isAssignable(i.expression);case"MemberExpression":case"OptionalMemberExpression":return!a;default:return!1}}toReferencedList(i,a){return i}toReferencedListDeep(i,a){this.toReferencedList(i,a);for(const u of i)(u==null?void 0:u.type)==="ArrayExpression"&&this.toReferencedListDeep(u.elements)}parseSpread(i){const a=this.startNode();return this.next(),a.argument=this.parseMaybeAssignAllowIn(i,void 0),this.finishNode(a,"SpreadElement")}parseRestBinding(){const i=this.startNode();return this.next(),i.argument=this.parseBindingAtom(),this.finishNode(i,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const i=this.startNode();return this.next(),i.elements=this.parseBindingList(3,93,1),this.finishNode(i,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(i,a,u){const p=u&1,y=[];let T=!0;for(;!this.eat(i);)if(T?T=!1:this.expect(12),p&&this.match(12))y.push(null);else{if(this.eat(i))break;if(this.match(21)){if(y.push(this.parseAssignableListItemTypes(this.parseRestBinding(),u)),!this.checkCommaAfterRest(a)){this.expect(i);break}}else{const P=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(zr.UnsupportedParameterDecorator,{at:this.state.startLoc});this.match(26);)P.push(this.parseDecorator());y.push(this.parseAssignableListItem(u,P))}}return y}parseBindingRestProperty(i){return this.next(),i.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(i,"RestElement")}parseBindingProperty(){const i=this.startNode(),{type:a,startLoc:u}=this.state;return a===21?this.parseBindingRestProperty(i):(a===136?(this.expectPlugin("destructuringPrivate",u),this.classScope.usePrivateName(this.state.value,u),i.key=this.parsePrivateName()):this.parsePropertyName(i),i.method=!1,this.parseObjPropValue(i,u,!1,!1,!0,!1))}parseAssignableListItem(i,a){const u=this.parseMaybeDefault();this.parseAssignableListItemTypes(u,i);const p=this.parseMaybeDefault(u.loc.start,u);return a.length&&(u.decorators=a),p}parseAssignableListItemTypes(i,a){return i}parseMaybeDefault(i,a){var u,p;if((u=i)!=null||(i=this.state.startLoc),a=(p=a)!=null?p:this.parseBindingAtom(),!this.eat(29))return a;const y=this.startNodeAt(i);return y.left=a,y.right=this.parseMaybeAssignAllowIn(),this.finishNode(y,"AssignmentPattern")}isValidLVal(i,a,u){return rPt({AssignmentPattern:"left",RestElement:"argument",ObjectProperty:"value",ParenthesizedExpression:"expression",ArrayPattern:"elements",ObjectPattern:"properties"},i)}checkLVal(i,{in:a,binding:u=ZE,checkClashes:p=!1,strictModeChanged:y=!1,hasParenthesizedAncestor:T=!1}){var P;const I=i.type;if(this.isObjectMethod(i))return;if(I==="MemberExpression"){u!==ZE&&this.raise(zr.InvalidPropertyBindingPattern,{at:i});return}if(I==="Identifier"){this.checkIdentifier(i,u,y);const{name:Ie}=i;p&&(p.has(Ie)?this.raise(zr.ParamDupe,{at:i}):p.add(Ie));return}const B=this.isValidLVal(I,!(T||(P=i.extra)!=null&&P.parenthesized)&&a.type==="AssignmentExpression",u);if(B===!0)return;if(B===!1){const Ie=u===ZE?zr.InvalidLhs:zr.InvalidLhsBinding;this.raise(Ie,{at:i,ancestor:a});return}const[z,H]=Array.isArray(B)?B:[B,I==="ParenthesizedExpression"],Q=I==="ArrayPattern"||I==="ObjectPattern"||I==="ParenthesizedExpression"?{type:I}:a;for(const Ie of[].concat(i[z]))Ie&&this.checkLVal(Ie,{in:Q,binding:u,checkClashes:p,strictModeChanged:y,hasParenthesizedAncestor:H})}checkIdentifier(i,a,u=!1){this.state.strict&&(u?tVe(i.name,this.inModule):eVe(i.name))&&(a===ZE?this.raise(zr.StrictEvalArguments,{at:i,referenceName:i.name}):this.raise(zr.StrictEvalArgumentsBinding,{at:i,bindingName:i.name})),a&wQ&&i.name==="let"&&this.raise(zr.LetInLexicalBinding,{at:i}),a&ZE||this.declareNameFromIdentifier(i,a)}declareNameFromIdentifier(i,a){this.scope.declareName(i.name,a,i.loc.start)}checkToRestConversion(i,a){switch(i.type){case"ParenthesizedExpression":this.checkToRestConversion(i.expression,a);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(a)break;default:this.raise(zr.InvalidRestAssignmentPattern,{at:i})}}checkCommaAfterRest(i){return this.match(12)?(this.raise(this.lookaheadCharCode()===i?zr.RestTrailingComma:zr.ElementAfterRest,{at:this.state.startLoc}),!0):!1}}const iPt=(o,i)=>Object.hasOwnProperty.call(o,i)&&o[i];function sPt(o){if(o==null)throw new Error(`Unexpected ${o} value.`);return o}function ZBe(o){if(!o)throw new Error("Assert fail")}const oo=Yk`typescript`({AbstractMethodHasImplementation:({methodName:o})=>`Method '${o}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:o})=>`Property '${o}' cannot have an initializer because it is marked abstract.`,AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:o})=>`'declare' is not allowed in ${o}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:o})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:o})=>`Duplicate modifier: '${o}'.`,EmptyHeritageClauseType:({token:o})=>`'${o}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:o})=>`'${o[0]}' modifier cannot be used with '${o[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:o})=>`Index signatures cannot have an accessibility modifier ('${o}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:o})=>`'${o}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:o})=>`'${o}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:o})=>`'${o}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:o})=>`'${o[0]}' modifier must precede '${o[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:o})=>`Private elements cannot have an accessibility modifier ('${o}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:o})=>`Single type parameter ${o} should have a trailing comma. Example usage: <${o},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:o})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${o}.`});function aPt(o){switch(o){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function KBe(o){return o==="private"||o==="public"||o==="protected"}function oPt(o){return o==="in"||o==="out"}var cPt=o=>class extends o{constructor(...a){super(...a),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:oo.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:oo.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:oo.InvalidModifierOnTypeParameter})}getScopeHandler(){return tPt}tsIsIdentifier(){return ku(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(136)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(a,u){if(!ku(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;const p=this.state.value;if(a.indexOf(p)!==-1){if(u&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return p}}tsParseModifiers({allowedModifiers:a,disallowedModifiers:u,stopOnStartOfClassStaticBlock:p,errorTemplate:y=oo.InvalidModifierOnTypeMember},T){const P=(B,z,H,Q)=>{z===H&&T[Q]&&this.raise(oo.InvalidModifiersOrder,{at:B,orderedModifiers:[H,Q]})},I=(B,z,H,Q)=>{(T[H]&&z===Q||T[Q]&&z===H)&&this.raise(oo.IncompatibleModifiers,{at:B,modifiers:[H,Q]})};for(;;){const{startLoc:B}=this.state,z=this.tsParseModifier(a.concat(u??[]),p);if(!z)break;KBe(z)?T.accessibility?this.raise(oo.DuplicateAccessibilityModifier,{at:B,modifier:z}):(P(B,z,z,"override"),P(B,z,z,"static"),P(B,z,z,"readonly"),T.accessibility=z):oPt(z)?(T[z]&&this.raise(oo.DuplicateModifier,{at:B,modifier:z}),T[z]=!0,P(B,z,"in","out")):(Object.hasOwnProperty.call(T,z)?this.raise(oo.DuplicateModifier,{at:B,modifier:z}):(P(B,z,"static","readonly"),P(B,z,"static","override"),P(B,z,"override","readonly"),P(B,z,"abstract","override"),I(B,z,"declare","override"),I(B,z,"static","abstract")),T[z]=!0),u!=null&&u.includes(z)&&this.raise(y,{at:B,modifier:z})}}tsIsListTerminator(a){switch(a){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(a,u){const p=[];for(;!this.tsIsListTerminator(a);)p.push(u());return p}tsParseDelimitedList(a,u,p){return sPt(this.tsParseDelimitedListWorker(a,u,!0,p))}tsParseDelimitedListWorker(a,u,p,y){const T=[];let P=-1;for(;!this.tsIsListTerminator(a);){P=-1;const I=u();if(I==null)return;if(T.push(I),this.eat(12)){P=this.state.lastTokStart;continue}if(this.tsIsListTerminator(a))break;p&&this.expect(12);return}return y&&(y.value=P),T}tsParseBracketedList(a,u,p,y,T){y||(p?this.expect(0):this.expect(47));const P=this.tsParseDelimitedList(a,u,T);return p?this.expect(3):this.expect(48),P}tsParseImportType(){const a=this.startNode();return this.expect(83),this.expect(10),this.match(131)||this.raise(oo.UnsupportedImportTypeArgument,{at:this.state.startLoc}),a.argument=super.parseExprAtom(),this.expect(11),this.eat(16)&&(a.qualifier=this.tsParseEntityName()),this.match(47)&&(a.typeParameters=this.tsParseTypeArguments()),this.finishNode(a,"TSImportType")}tsParseEntityName(a=!0){let u=this.parseIdentifier(a);for(;this.eat(16);){const p=this.startNodeAtNode(u);p.left=u,p.right=this.parseIdentifier(a),u=this.finishNode(p,"TSQualifiedName")}return u}tsParseTypeReference(){const a=this.startNode();return a.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(a.typeParameters=this.tsParseTypeArguments()),this.finishNode(a,"TSTypeReference")}tsParseThisTypePredicate(a){this.next();const u=this.startNodeAtNode(a);return u.parameterName=a,u.typeAnnotation=this.tsParseTypeAnnotation(!1),u.asserts=!1,this.finishNode(u,"TSTypePredicate")}tsParseThisTypeNode(){const a=this.startNode();return this.next(),this.finishNode(a,"TSThisType")}tsParseTypeQuery(){const a=this.startNode();return this.expect(87),this.match(83)?a.exprName=this.tsParseImportType():a.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(a.typeParameters=this.tsParseTypeArguments()),this.finishNode(a,"TSTypeQuery")}tsParseTypeParameter(a){const u=this.startNode();return a(u),u.name=this.tsParseTypeParameterName(),u.constraint=this.tsEatThenParseType(81),u.default=this.tsEatThenParseType(29),this.finishNode(u,"TSTypeParameter")}tsTryParseTypeParameters(a){if(this.match(47))return this.tsParseTypeParameters(a)}tsParseTypeParameters(a){const u=this.startNode();this.match(47)||this.match(140)?this.next():this.unexpected();const p={value:-1};return u.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,a),!1,!0,p),u.params.length===0&&this.raise(oo.EmptyTypeParameters,{at:u}),p.value!==-1&&this.addExtra(u,"trailingComma",p.value),this.finishNode(u,"TSTypeParameterDeclaration")}tsFillSignature(a,u){const p=a===19,y="parameters",T="typeAnnotation";u.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),u[y]=this.tsParseBindingListForSignature(),p?u[T]=this.tsParseTypeOrTypePredicateAnnotation(a):this.match(a)&&(u[T]=this.tsParseTypeOrTypePredicateAnnotation(a))}tsParseBindingListForSignature(){return super.parseBindingList(11,41,2).map(a=>(a.type!=="Identifier"&&a.type!=="RestElement"&&a.type!=="ObjectPattern"&&a.type!=="ArrayPattern"&&this.raise(oo.UnsupportedSignatureParameterKind,{at:a,type:a.type}),a))}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(a,u){return this.tsFillSignature(14,u),this.tsParseTypeMemberSemicolon(),this.finishNode(u,a)}tsIsUnambiguouslyIndexSignature(){return this.next(),ku(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(a){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);const u=this.parseIdentifier();u.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(u),this.expect(3),a.parameters=[u];const p=this.tsTryParseTypeAnnotation();return p&&(a.typeAnnotation=p),this.tsParseTypeMemberSemicolon(),this.finishNode(a,"TSIndexSignature")}tsParsePropertyOrMethodSignature(a,u){this.eat(17)&&(a.optional=!0);const p=a;if(this.match(10)||this.match(47)){u&&this.raise(oo.ReadonlyForMethodSignature,{at:a});const y=p;y.kind&&this.match(47)&&this.raise(oo.AccesorCannotHaveTypeParameters,{at:this.state.curPosition()}),this.tsFillSignature(14,y),this.tsParseTypeMemberSemicolon();const T="parameters",P="typeAnnotation";if(y.kind==="get")y[T].length>0&&(this.raise(zr.BadGetterArity,{at:this.state.curPosition()}),this.isThisParam(y[T][0])&&this.raise(oo.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}));else if(y.kind==="set"){if(y[T].length!==1)this.raise(zr.BadSetterArity,{at:this.state.curPosition()});else{const I=y[T][0];this.isThisParam(I)&&this.raise(oo.AccesorCannotDeclareThisParameter,{at:this.state.curPosition()}),I.type==="Identifier"&&I.optional&&this.raise(oo.SetAccesorCannotHaveOptionalParameter,{at:this.state.curPosition()}),I.type==="RestElement"&&this.raise(oo.SetAccesorCannotHaveRestParameter,{at:this.state.curPosition()})}y[P]&&this.raise(oo.SetAccesorCannotHaveReturnType,{at:y[P]})}else y.kind="method";return this.finishNode(y,"TSMethodSignature")}else{const y=p;u&&(y.readonly=!0);const T=this.tsTryParseTypeAnnotation();return T&&(y.typeAnnotation=T),this.tsParseTypeMemberSemicolon(),this.finishNode(y,"TSPropertySignature")}}tsParseTypeMember(){const a=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",a);if(this.match(77)){const p=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",a):(a.key=this.createIdentifier(p,"new"),this.tsParsePropertyOrMethodSignature(a,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},a);const u=this.tsTryParseIndexSignature(a);return u||(super.parsePropertyName(a),!a.computed&&a.key.type==="Identifier"&&(a.key.name==="get"||a.key.name==="set")&&this.tsTokenCanFollowModifier()&&(a.kind=a.key.name,super.parsePropertyName(a)),this.tsParsePropertyOrMethodSignature(a,!!a.readonly))}tsParseTypeLiteral(){const a=this.startNode();return a.members=this.tsParseObjectTypeMembers(),this.finishNode(a,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const a=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),a}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(120):(this.isContextual(120)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedTypeParameter(){const a=this.startNode();return a.name=this.tsParseTypeParameterName(),a.constraint=this.tsExpectThenParseType(58),this.finishNode(a,"TSTypeParameter")}tsParseMappedType(){const a=this.startNode();return this.expect(5),this.match(53)?(a.readonly=this.state.value,this.next(),this.expectContextual(120)):this.eatContextual(120)&&(a.readonly=!0),this.expect(0),a.typeParameter=this.tsParseMappedTypeParameter(),a.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(a.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(a.optional=!0),a.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(a,"TSMappedType")}tsParseTupleType(){const a=this.startNode();a.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let u=!1,p=null;return a.elementTypes.forEach(y=>{var T;const{type:P}=y;u&&P!=="TSRestType"&&P!=="TSOptionalType"&&!(P==="TSNamedTupleMember"&&y.optional)&&this.raise(oo.OptionalTypeBeforeRequired,{at:y}),u||(u=P==="TSNamedTupleMember"&&y.optional||P==="TSOptionalType");let I=P;P==="TSRestType"&&(y=y.typeAnnotation,I=y.type);const B=I==="TSNamedTupleMember";(T=p)!=null||(p=B),p!==B&&this.raise(oo.MixedLabeledAndUnlabeledElements,{at:y})}),this.finishNode(a,"TSTupleType")}tsParseTupleElementType(){const{startLoc:a}=this.state,u=this.eat(21);let p,y,T,P;const B=QS(this.state.type)?this.lookaheadCharCode():null;if(B===58)p=!0,T=!1,y=this.parseIdentifier(!0),this.expect(14),P=this.tsParseType();else if(B===63){T=!0;const z=this.state.startLoc,H=this.state.value,Q=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(p=!0,y=this.createIdentifier(this.startNodeAt(z),H),this.expect(17),this.expect(14),P=this.tsParseType()):(p=!1,P=Q,this.expect(17))}else P=this.tsParseType(),T=this.eat(17),p=this.eat(14);if(p){let z;y?(z=this.startNodeAtNode(y),z.optional=T,z.label=y,z.elementType=P,this.eat(17)&&(z.optional=!0,this.raise(oo.TupleOptionalAfterType,{at:this.state.lastTokStartLoc}))):(z=this.startNodeAtNode(P),z.optional=T,this.raise(oo.InvalidTupleMemberLabel,{at:P}),z.label=P,z.elementType=this.tsParseType()),P=this.finishNode(z,"TSNamedTupleMember")}else if(T){const z=this.startNodeAtNode(P);z.typeAnnotation=P,P=this.finishNode(z,"TSOptionalType")}if(u){const z=this.startNodeAt(a);z.typeAnnotation=P,P=this.finishNode(z,"TSRestType")}return P}tsParseParenthesizedType(){const a=this.startNode();return this.expect(10),a.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(a,"TSParenthesizedType")}tsParseFunctionOrConstructorType(a,u){const p=this.startNode();return a==="TSConstructorType"&&(p.abstract=!!u,u&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,p)),this.finishNode(p,a)}tsParseLiteralTypeNode(){const a=this.startNode();return a.literal=(()=>{switch(this.state.type){case 132:case 133:case 131:case 85:case 86:return super.parseExprAtom();default:this.unexpected()}})(),this.finishNode(a,"TSLiteralType")}tsParseTemplateLiteralType(){const a=this.startNode();return a.literal=super.parseTemplate(!1),this.finishNode(a,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const a=this.tsParseThisTypeNode();return this.isContextual(114)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(a):a}tsParseNonArrayType(){switch(this.state.type){case 131:case 132:case 133:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){const a=this.startNode(),u=this.lookahead();return u.type!==132&&u.type!==133&&this.unexpected(),a.literal=this.parseMaybeUnary(),this.finishNode(a,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{const{type:a}=this.state;if(ku(a)||a===88||a===84){const u=a===88?"TSVoidKeyword":a===84?"TSNullKeyword":aPt(this.state.value);if(u!==void 0&&this.lookaheadCharCode()!==46){const p=this.startNode();return this.next(),this.finishNode(p,u)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let a=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const u=this.startNodeAtNode(a);u.elementType=a,this.expect(3),a=this.finishNode(u,"TSArrayType")}else{const u=this.startNodeAtNode(a);u.objectType=a,u.indexType=this.tsParseType(),this.expect(3),a=this.finishNode(u,"TSIndexedAccessType")}return a}tsParseTypeOperator(){const a=this.startNode(),u=this.state.value;return this.next(),a.operator=u,a.typeAnnotation=this.tsParseTypeOperatorOrHigher(),u==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(a),this.finishNode(a,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(a){switch(a.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(oo.UnexpectedReadonly,{at:a})}}tsParseInferType(){const a=this.startNode();this.expectContextual(113);const u=this.startNode();return u.name=this.tsParseTypeParameterName(),u.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),a.typeParameter=this.finishNode(u,"TSTypeParameter"),this.finishNode(a,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const a=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return a}}tsParseTypeOperatorOrHigher(){return B3t(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(113)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(a,u,p){const y=this.startNode(),T=this.eat(p),P=[];do P.push(u());while(this.eat(p));return P.length===1&&!T?P[0]:(y.types=P,this.finishNode(y,a))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(ku(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){const{errors:a}=this.state,u=a.length;try{return this.parseObjectLike(8,!0),a.length===u}catch{return!1}}if(this.match(0)){this.next();const{errors:a}=this.state,u=a.length;try{return super.parseBindingList(3,93,1),a.length===u}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(a){return this.tsInType(()=>{const u=this.startNode();this.expect(a);const p=this.startNode(),y=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(y&&this.match(78)){let I=this.tsParseThisTypeOrThisTypePredicate();return I.type==="TSThisType"?(p.parameterName=I,p.asserts=!0,p.typeAnnotation=null,I=this.finishNode(p,"TSTypePredicate")):(this.resetStartLocationFromNode(I,p),I.asserts=!0),u.typeAnnotation=I,this.finishNode(u,"TSTypeAnnotation")}const T=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!T)return y?(p.parameterName=this.parseIdentifier(),p.asserts=y,p.typeAnnotation=null,u.typeAnnotation=this.finishNode(p,"TSTypePredicate"),this.finishNode(u,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,u);const P=this.tsParseTypeAnnotation(!1);return p.parameterName=T,p.typeAnnotation=P,p.asserts=y,u.typeAnnotation=this.finishNode(p,"TSTypePredicate"),this.finishNode(u,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):void 0}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():void 0}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const a=this.parseIdentifier();if(this.isContextual(114)&&!this.hasPrecedingLineBreak())return this.next(),a}tsParseTypePredicateAsserts(){if(this.state.type!==107)return!1;const a=this.state.containsEsc;return this.next(),!ku(this.state.type)&&!this.match(78)?!1:(a&&this.raise(zr.InvalidEscapedReservedWord,{at:this.state.lastTokStartLoc,reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(a=!0,u=this.startNode()){return this.tsInType(()=>{a&&this.expect(14),u.typeAnnotation=this.tsParseType()}),this.finishNode(u,"TSTypeAnnotation")}tsParseType(){ZBe(this.state.inType);const a=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return a;const u=this.startNodeAtNode(a);return u.checkType=a,u.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),u.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),u.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(u,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(122)&&this.lookahead().type===77}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(oo.ReservedTypeAssertion,{at:this.state.startLoc});const a=this.startNode();return a.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),a.expression=this.parseMaybeUnary(),this.finishNode(a,"TSTypeAssertion")}tsParseHeritageClause(a){const u=this.state.startLoc,p=this.tsParseDelimitedList("HeritageClauseElement",()=>{const y=this.startNode();return y.expression=this.tsParseEntityName(),this.match(47)&&(y.typeParameters=this.tsParseTypeArguments()),this.finishNode(y,"TSExpressionWithTypeArguments")});return p.length||this.raise(oo.EmptyHeritageClauseType,{at:u,token:a}),p}tsParseInterfaceDeclaration(a,u={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(127),u.declare&&(a.declare=!0),ku(this.state.type)?(a.id=this.parseIdentifier(),this.checkIdentifier(a.id,uAt)):(a.id=null,this.raise(oo.MissingInterfaceName,{at:this.state.startLoc})),a.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(a.extends=this.tsParseHeritageClause("extends"));const p=this.startNode();return p.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),a.body=this.finishNode(p,"TSInterfaceBody"),this.finishNode(a,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(a){return a.id=this.parseIdentifier(),this.checkIdentifier(a.id,fAt),a.typeAnnotation=this.tsInType(()=>{if(a.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(112)&&this.lookahead().type!==16){const u=this.startNode();return this.next(),this.finishNode(u,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(a,"TSTypeAliasDeclaration")}tsInNoContext(a){const u=this.state.context;this.state.context=[u[0]];try{return a()}finally{this.state.context=u}}tsInType(a){const u=this.state.inType;this.state.inType=!0;try{return a()}finally{this.state.inType=u}}tsInDisallowConditionalTypesContext(a){const u=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return a()}finally{this.state.inDisallowConditionalTypesContext=u}}tsInAllowConditionalTypesContext(a){const u=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return a()}finally{this.state.inDisallowConditionalTypesContext=u}}tsEatThenParseType(a){return this.match(a)?this.tsNextThenParseType():void 0}tsExpectThenParseType(a){return this.tsDoThenParseType(()=>this.expect(a))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(a){return this.tsInType(()=>(a(),this.tsParseType()))}tsParseEnumMember(){const a=this.startNode();return a.id=this.match(131)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(a.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(a,"TSEnumMember")}tsParseEnumDeclaration(a,u={}){return u.const&&(a.const=!0),u.declare&&(a.declare=!0),this.expectContextual(124),a.id=this.parseIdentifier(),this.checkIdentifier(a.id,a.const?pAt:cVe),this.expect(5),a.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(a,"TSEnumDeclaration")}tsParseModuleBlock(){const a=this.startNode();return this.scope.enter(wN),this.expect(5),super.parseBlockOrModuleBlockBody(a.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(a,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(a,u=!1){if(a.id=this.parseIdentifier(),u||this.checkIdentifier(a.id,dAt),this.eat(16)){const p=this.startNode();this.tsParseModuleOrNamespaceDeclaration(p,!0),a.body=p}else this.scope.enter(FN),this.prodParam.enter(BN),a.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(a,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(a){return this.isContextual(110)?(a.global=!0,a.id=this.parseIdentifier()):this.match(131)?a.id=super.parseStringLiteral(this.state.value):this.unexpected(),this.match(5)?(this.scope.enter(FN),this.prodParam.enter(BN),a.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(a,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(a,u){a.isExport=u||!1,a.id=this.parseIdentifier(),this.checkIdentifier(a.id,wF),this.expect(29);const p=this.tsParseModuleReference();return a.importKind==="type"&&p.type!=="TSExternalModuleReference"&&this.raise(oo.ImportAliasHasImportType,{at:p}),a.moduleReference=p,this.semicolon(),this.finishNode(a,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(117)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const a=this.startNode();return this.expectContextual(117),this.expect(10),this.match(131)||this.unexpected(),a.expression=super.parseExprAtom(),this.expect(11),this.finishNode(a,"TSExternalModuleReference")}tsLookAhead(a){const u=this.state.clone(),p=a();return this.state=u,p}tsTryParseAndCatch(a){const u=this.tryParse(p=>a()||p());if(!(u.aborted||!u.node))return u.error&&(this.state=u.failState),u.node}tsTryParse(a){const u=this.state.clone(),p=a();if(p!==void 0&&p!==!1)return p;this.state=u}tsTryParseDeclare(a){if(this.isLineTerminator())return;let u=this.state.type,p;return this.isContextual(99)&&(u=74,p="let"),this.tsInAmbientContext(()=>{if(u===68)return a.declare=!0,super.parseFunctionStatement(a,!1,!1);if(u===80)return a.declare=!0,this.parseClass(a,!0,!1);if(u===124)return this.tsParseEnumDeclaration(a,{declare:!0});if(u===110)return this.tsParseAmbientExternalModuleDeclaration(a);if(u===75||u===74)return!this.match(75)||!this.isLookaheadContextual("enum")?(a.declare=!0,this.parseVarStatement(a,p||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(a,{const:!0,declare:!0}));if(u===127){const y=this.tsParseInterfaceDeclaration(a,{declare:!0});if(y)return y}if(ku(u))return this.tsParseDeclaration(a,this.state.value,!0,null)})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(a,u,p){switch(u.name){case"declare":{const y=this.tsTryParseDeclare(a);if(y)return y.declare=!0,y;break}case"global":if(this.match(5)){this.scope.enter(FN),this.prodParam.enter(BN);const y=a;return y.global=!0,y.id=u,y.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(y,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(a,u.name,!1,p)}}tsParseDeclaration(a,u,p,y){switch(u){case"abstract":if(this.tsCheckLineTerminator(p)&&(this.match(80)||ku(this.state.type)))return this.tsParseAbstractDeclaration(a,y);break;case"module":if(this.tsCheckLineTerminator(p)){if(this.match(131))return this.tsParseAmbientExternalModuleDeclaration(a);if(ku(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(a)}break;case"namespace":if(this.tsCheckLineTerminator(p)&&ku(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(a);break;case"type":if(this.tsCheckLineTerminator(p)&&ku(this.state.type))return this.tsParseTypeAliasDeclaration(a);break}}tsCheckLineTerminator(a){return a?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(a){if(!this.match(47))return;const u=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const p=this.tsTryParseAndCatch(()=>{const y=this.startNodeAt(a);return y.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(y),y.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),y});if(this.state.maybeInArrowParameters=u,!!p)return super.parseArrowExpression(p,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){const a=this.startNode();return a.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),a.params.length===0&&this.raise(oo.EmptyTypeArguments,{at:a}),this.expect(48),this.finishNode(a,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return j3t(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseAssignableListItem(a,u){const p=this.state.startLoc,y={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},y);const T=y.accessibility,P=y.override,I=y.readonly;!(a&4)&&(T||I||P)&&this.raise(oo.UnexpectedParameterModifier,{at:p});const B=this.parseMaybeDefault();this.parseAssignableListItemTypes(B,a);const z=this.parseMaybeDefault(B.loc.start,B);if(T||I||P){const H=this.startNodeAt(p);return u.length&&(H.decorators=u),T&&(H.accessibility=T),I&&(H.readonly=I),P&&(H.override=P),z.type!=="Identifier"&&z.type!=="AssignmentPattern"&&this.raise(oo.UnsupportedParameterPropertyKind,{at:H}),H.parameter=z,this.finishNode(H,"TSParameterProperty")}return u.length&&(B.decorators=u),z}isSimpleParameter(a){return a.type==="TSParameterProperty"&&super.isSimpleParameter(a.parameter)||super.isSimpleParameter(a)}tsDisallowOptionalPattern(a){for(const u of a.params)u.type!=="Identifier"&&u.optional&&!this.state.isAmbientContext&&this.raise(oo.PatternIsOptional,{at:u})}setArrowFunctionParameters(a,u,p){super.setArrowFunctionParameters(a,u,p),this.tsDisallowOptionalPattern(a)}parseFunctionBodyAndFinish(a,u,p=!1){this.match(14)&&(a.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const y=u==="FunctionDeclaration"?"TSDeclareFunction":u==="ClassMethod"||u==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return y&&!this.match(5)&&this.isLineTerminator()?this.finishNode(a,y):y==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(oo.DeclareFunctionHasImplementation,{at:a}),a.declare)?super.parseFunctionBodyAndFinish(a,y,p):(this.tsDisallowOptionalPattern(a),super.parseFunctionBodyAndFinish(a,u,p))}registerFunctionStatementId(a){!a.body&&a.id?this.checkIdentifier(a.id,WBe):super.registerFunctionStatementId(a)}tsCheckForInvalidTypeCasts(a){a.forEach(u=>{(u==null?void 0:u.type)==="TSTypeCastExpression"&&this.raise(oo.UnexpectedTypeAnnotation,{at:u.typeAnnotation})})}toReferencedList(a,u){return this.tsCheckForInvalidTypeCasts(a),a}parseArrayLike(a,u,p,y){const T=super.parseArrayLike(a,u,p,y);return T.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(T.elements),T}parseSubscript(a,u,p,y){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const P=this.startNodeAt(u);return P.expression=a,this.finishNode(P,"TSNonNullExpression")}let T=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(p)return y.stop=!0,a;y.optionalChainMember=T=!0,this.next()}if(this.match(47)||this.match(51)){let P;const I=this.tsTryParseAndCatch(()=>{if(!p&&this.atPossibleAsyncArrow(a)){const Q=this.tsTryParseGenericAsyncArrowFunction(u);if(Q)return Q}const B=this.tsParseTypeArgumentsInExpression();if(!B)return;if(T&&!this.match(10)){P=this.state.curPosition();return}if(lX(this.state.type)){const Q=super.parseTaggedTemplateExpression(a,u,y);return Q.typeParameters=B,Q}if(!p&&this.eat(10)){const Q=this.startNodeAt(u);return Q.callee=a,Q.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(Q.arguments),Q.typeParameters=B,y.optionalChainMember&&(Q.optional=T),this.finishCallExpression(Q,y.optionalChainMember)}const z=this.state.type;if(z===48||z===52||z!==10&&Ohe(z)&&!this.hasPrecedingLineBreak())return;const H=this.startNodeAt(u);return H.expression=a,H.typeParameters=B,this.finishNode(H,"TSInstantiationExpression")});if(P&&this.unexpected(P,10),I)return I.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(oo.InvalidPropertyAccessAfterInstantiationExpression,{at:this.state.startLoc}),I}return super.parseSubscript(a,u,p,y)}parseNewCallee(a){var u;super.parseNewCallee(a);const{callee:p}=a;p.type==="TSInstantiationExpression"&&!((u=p.extra)!=null&&u.parenthesized)&&(a.typeParameters=p.typeParameters,a.callee=p.expression)}parseExprOp(a,u,p){let y;if(MG(58)>p&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(y=this.isContextual(118)))){const T=this.startNodeAt(u);return T.expression=a,T.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(y&&this.raise(zr.UnexpectedKeyword,{at:this.state.startLoc,keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(T,y?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(T,u,p)}return super.parseExprOp(a,u,p)}checkReservedWord(a,u,p,y){this.state.isAmbientContext||super.checkReservedWord(a,u,p,y)}checkImportReflection(a){super.checkImportReflection(a),a.module&&a.importKind!=="value"&&this.raise(oo.ImportReflectionHasImportType,{at:a.specifiers[0].loc.start})}checkDuplicateExports(){}parseImport(a){if(a.importKind="value",ku(this.state.type)||this.match(55)||this.match(5)){let p=this.lookahead();if(this.isContextual(128)&&p.type!==12&&p.type!==97&&p.type!==29&&(a.importKind="type",this.next(),p=this.lookahead()),ku(this.state.type)&&p.type===29)return this.tsParseImportEqualsDeclaration(a)}const u=super.parseImport(a);return u.importKind==="type"&&u.specifiers.length>1&&u.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(oo.TypeImportCannotSpecifyDefaultAndNamed,{at:u}),u}parseExport(a,u){if(this.match(83))return this.next(),this.isContextual(128)&&this.lookaheadCharCode()!==61?(a.importKind="type",this.next()):a.importKind="value",this.tsParseImportEqualsDeclaration(a,!0);if(this.eat(29)){const p=a;return p.expression=super.parseExpression(),this.semicolon(),this.finishNode(p,"TSExportAssignment")}else if(this.eatContextual(93)){const p=a;return this.expectContextual(126),p.id=this.parseIdentifier(),this.semicolon(),this.finishNode(p,"TSNamespaceExportDeclaration")}else{if(a.exportKind="value",this.isContextual(128)){const p=this.lookaheadCharCode();(p===123||p===42)&&(this.next(),a.exportKind="type")}return super.parseExport(a,u)}}isAbstractClass(){return this.isContextual(122)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){const a=this.startNode();return this.next(),a.abstract=!0,this.parseClass(a,!0,!0)}if(this.match(127)){const a=this.tsParseInterfaceDeclaration(this.startNode());if(a)return a}return super.parseExportDefaultExpression()}parseVarStatement(a,u,p=!1){const{isAmbientContext:y}=this.state,T=super.parseVarStatement(a,u,p||y);if(!y)return T;for(const{id:P,init:I}of T.declarations)I&&(u!=="const"||P.typeAnnotation?this.raise(oo.InitializerNotAllowedInAmbientContext,{at:I}):uPt(I,this.hasPlugin("estree"))||this.raise(oo.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference,{at:I}));return T}parseStatementContent(a,u){if(this.match(75)&&this.isLookaheadContextual("enum")){const p=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(p,{const:!0})}if(this.isContextual(124))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(127)){const p=this.tsParseInterfaceDeclaration(this.startNode());if(p)return p}return super.parseStatementContent(a,u)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(a,u){return u.some(p=>KBe(p)?a.accessibility===p:!!a[p])}tsIsStartOfStaticBlocks(){return this.isContextual(104)&&this.lookaheadCharCode()===123}parseClassMember(a,u,p){const y=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:y,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:oo.InvalidModifierOnTypeParameterPositions},u);const T=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(u,y)&&this.raise(oo.StaticBlockCannotHaveModifier,{at:this.state.curPosition()}),super.parseClassStaticBlock(a,u)):this.parseClassMemberWithIsStatic(a,u,p,!!u.static)};u.declare?this.tsInAmbientContext(T):T()}parseClassMemberWithIsStatic(a,u,p,y){const T=this.tsTryParseIndexSignature(u);if(T){a.body.push(T),u.abstract&&this.raise(oo.IndexSignatureHasAbstract,{at:u}),u.accessibility&&this.raise(oo.IndexSignatureHasAccessibility,{at:u,modifier:u.accessibility}),u.declare&&this.raise(oo.IndexSignatureHasDeclare,{at:u}),u.override&&this.raise(oo.IndexSignatureHasOverride,{at:u});return}!this.state.inAbstractClass&&u.abstract&&this.raise(oo.NonAbstractClassHasAbstractMethod,{at:u}),u.override&&(p.hadSuperClass||this.raise(oo.OverrideNotInSubClass,{at:u})),super.parseClassMemberWithIsStatic(a,u,p,y)}parsePostMemberNameModifiers(a){this.eat(17)&&(a.optional=!0),a.readonly&&this.match(10)&&this.raise(oo.ClassMethodHasReadonly,{at:a}),a.declare&&this.match(10)&&this.raise(oo.ClassMethodHasDeclare,{at:a})}parseExpressionStatement(a,u,p){return(u.type==="Identifier"?this.tsParseExpressionStatement(a,u,p):void 0)||super.parseExpressionStatement(a,u,p)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(a,u,p){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(a,u,p);const y=this.tryParse(()=>super.parseConditional(a,u));return y.node?(y.error&&(this.state=y.failState),y.node):(y.error&&super.setOptionalParametersError(p,y.error),a)}parseParenItem(a,u){if(a=super.parseParenItem(a,u),this.eat(17)&&(a.optional=!0,this.resetEndLocation(a)),this.match(14)){const p=this.startNodeAt(u);return p.expression=a,p.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(p,"TSTypeCastExpression")}return a}parseExportDeclaration(a){if(!this.state.isAmbientContext&&this.isContextual(123))return this.tsInAmbientContext(()=>this.parseExportDeclaration(a));const u=this.state.startLoc,p=this.eatContextual(123);if(p&&(this.isContextual(123)||!this.shouldParseExportDeclaration()))throw this.raise(oo.ExpectedAmbientAfterExportDeclare,{at:this.state.startLoc});const T=ku(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(a);return T?((T.type==="TSInterfaceDeclaration"||T.type==="TSTypeAliasDeclaration"||p)&&(a.exportKind="type"),p&&(this.resetStartLocation(T,u),T.declare=!0),T):null}parseClassId(a,u,p,y){if((!u||p)&&this.isContextual(111))return;super.parseClassId(a,u,p,a.declare?WBe:aVe);const T=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);T&&(a.typeParameters=T)}parseClassPropertyAnnotation(a){a.optional||(this.eat(35)?a.definite=!0:this.eat(17)&&(a.optional=!0));const u=this.tsTryParseTypeAnnotation();u&&(a.typeAnnotation=u)}parseClassProperty(a){if(this.parseClassPropertyAnnotation(a),this.state.isAmbientContext&&!(a.readonly&&!a.typeAnnotation)&&this.match(29)&&this.raise(oo.DeclareClassFieldHasInitializer,{at:this.state.startLoc}),a.abstract&&this.match(29)){const{key:u}=a;this.raise(oo.AbstractPropertyHasInitializer,{at:this.state.startLoc,propertyName:u.type==="Identifier"&&!a.computed?u.name:`[${this.input.slice(u.start,u.end)}]`})}return super.parseClassProperty(a)}parseClassPrivateProperty(a){return a.abstract&&this.raise(oo.PrivateElementHasAbstract,{at:a}),a.accessibility&&this.raise(oo.PrivateElementHasAccessibility,{at:a,modifier:a.accessibility}),this.parseClassPropertyAnnotation(a),super.parseClassPrivateProperty(a)}parseClassAccessorProperty(a){return this.parseClassPropertyAnnotation(a),a.optional&&this.raise(oo.AccessorCannotBeOptional,{at:a}),super.parseClassAccessorProperty(a)}pushClassMethod(a,u,p,y,T,P){const I=this.tsTryParseTypeParameters(this.tsParseConstModifier);I&&T&&this.raise(oo.ConstructorHasTypeParameters,{at:I});const{declare:B=!1,kind:z}=u;B&&(z==="get"||z==="set")&&this.raise(oo.DeclareAccessor,{at:u,kind:z}),I&&(u.typeParameters=I),super.pushClassMethod(a,u,p,y,T,P)}pushClassPrivateMethod(a,u,p,y){const T=this.tsTryParseTypeParameters(this.tsParseConstModifier);T&&(u.typeParameters=T),super.pushClassPrivateMethod(a,u,p,y)}declareClassPrivateMethodInScope(a,u){a.type!=="TSDeclareMethod"&&(a.type==="MethodDefinition"&&!a.value.body||super.declareClassPrivateMethodInScope(a,u))}parseClassSuper(a){super.parseClassSuper(a),a.superClass&&(this.match(47)||this.match(51))&&(a.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(111)&&(a.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(a,u,p,y,T,P,I){const B=this.tsTryParseTypeParameters(this.tsParseConstModifier);return B&&(a.typeParameters=B),super.parseObjPropValue(a,u,p,y,T,P,I)}parseFunctionParams(a,u){const p=this.tsTryParseTypeParameters(this.tsParseConstModifier);p&&(a.typeParameters=p),super.parseFunctionParams(a,u)}parseVarId(a,u){super.parseVarId(a,u),a.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(a.definite=!0);const p=this.tsTryParseTypeAnnotation();p&&(a.id.typeAnnotation=p,this.resetEndLocation(a.id))}parseAsyncArrowFromCallExpression(a,u){return this.match(14)&&(a.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(a,u)}parseMaybeAssign(a,u){var p,y,T,P,I,B,z;let H,Q,Ie;if(this.hasPlugin("jsx")&&(this.match(140)||this.match(47))){if(H=this.state.clone(),Q=this.tryParse(()=>super.parseMaybeAssign(a,u),H),!Q.error)return Q.node;const{context:et}=this.state,Ve=et[et.length-1];(Ve===zf.j_oTag||Ve===zf.j_expr)&&et.pop()}if(!((p=Q)!=null&&p.error)&&!this.match(47))return super.parseMaybeAssign(a,u);(!H||H===this.state)&&(H=this.state.clone());let ze;const Ue=this.tryParse(et=>{var Ve,vt;ze=this.tsParseTypeParameters(this.tsParseConstModifier);const ut=super.parseMaybeAssign(a,u);return(ut.type!=="ArrowFunctionExpression"||(Ve=ut.extra)!=null&&Ve.parenthesized)&&et(),((vt=ze)==null?void 0:vt.params.length)!==0&&this.resetStartLocationFromNode(ut,ze),ut.typeParameters=ze,ut},H);if(!Ue.error&&!Ue.aborted)return ze&&this.reportReservedArrowTypeParam(ze),Ue.node;if(!Q&&(ZBe(!this.hasPlugin("jsx")),Ie=this.tryParse(()=>super.parseMaybeAssign(a,u),H),!Ie.error))return Ie.node;if((y=Q)!=null&&y.node)return this.state=Q.failState,Q.node;if(Ue.node)return this.state=Ue.failState,ze&&this.reportReservedArrowTypeParam(ze),Ue.node;if((T=Ie)!=null&&T.node)return this.state=Ie.failState,Ie.node;throw(P=Q)!=null&&P.thrown?Q.error:Ue.thrown?Ue.error:(I=Ie)!=null&&I.thrown?Ie.error:((B=Q)==null?void 0:B.error)||Ue.error||((z=Ie)==null?void 0:z.error)}reportReservedArrowTypeParam(a){var u;a.params.length===1&&!a.params[0].constraint&&!((u=a.extra)!=null&&u.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(oo.ReservedArrowTypeParam,{at:a})}parseMaybeUnary(a,u){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(a,u)}parseArrow(a){if(this.match(14)){const u=this.tryParse(p=>{const y=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&p(),y});if(u.aborted)return;u.thrown||(u.error&&(this.state=u.failState),a.returnType=u.node)}return super.parseArrow(a)}parseAssignableListItemTypes(a,u){if(!(u&2))return a;this.eat(17)&&(a.optional=!0);const p=this.tsTryParseTypeAnnotation();return p&&(a.typeAnnotation=p),this.resetEndLocation(a),a}isAssignable(a,u){switch(a.type){case"TSTypeCastExpression":return this.isAssignable(a.expression,u);case"TSParameterProperty":return!0;default:return super.isAssignable(a,u)}}toAssignable(a,u=!1){switch(a.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(a,u);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":u?this.expressionScope.recordArrowParameterBindingError(oo.UnexpectedTypeCastInParameter,{at:a}):this.raise(oo.UnexpectedTypeCastInParameter,{at:a}),this.toAssignable(a.expression,u);break;case"AssignmentExpression":!u&&a.left.type==="TSTypeCastExpression"&&(a.left=this.typeCastToParameter(a.left));default:super.toAssignable(a,u)}}toAssignableParenthesizedExpression(a,u){switch(a.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(a.expression,u);break;default:super.toAssignable(a,u)}}checkToRestConversion(a,u){switch(a.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(a.expression,!1);break;default:super.checkToRestConversion(a,u)}}isValidLVal(a,u,p){return iPt({TSTypeCastExpression:!0,TSParameterProperty:"parameter",TSNonNullExpression:"expression",TSAsExpression:(p!==ZE||!u)&&["expression",!0],TSSatisfiesExpression:(p!==ZE||!u)&&["expression",!0],TSTypeAssertion:(p!==ZE||!u)&&["expression",!0]},a)||super.isValidLVal(a,u,p)}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(a){if(this.match(47)||this.match(51)){const u=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const p=super.parseMaybeDecoratorArguments(a);return p.typeParameters=u,p}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(a)}checkCommaAfterRest(a){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===a?(this.next(),!1):super.checkCommaAfterRest(a)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(a,u){const p=super.parseMaybeDefault(a,u);return p.type==="AssignmentPattern"&&p.typeAnnotation&&p.right.start<p.typeAnnotation.start&&this.raise(oo.TypeAnnotationAfterAssign,{at:p.typeAnnotation}),p}getTokenFromCode(a){if(this.state.inType){if(a===62){this.finishOp(48,1);return}if(a===60){this.finishOp(47,1);return}}super.getTokenFromCode(a)}reScan_lt_gt(){const{type:a}=this.state;a===47?(this.state.pos-=1,this.readToken_lt()):a===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){const{type:a}=this.state;return a===51?(this.state.pos-=2,this.finishOp(47,1),47):a}toAssignableList(a,u,p){for(let y=0;y<a.length;y++){const T=a[y];(T==null?void 0:T.type)==="TSTypeCastExpression"&&(a[y]=this.typeCastToParameter(T))}super.toAssignableList(a,u,p)}typeCastToParameter(a){return a.expression.typeAnnotation=a.typeAnnotation,this.resetEndLocation(a.expression,a.typeAnnotation.loc.end),a.expression}shouldParseArrow(a){return this.match(14)?a.every(u=>this.isAssignable(u,!0)):super.shouldParseArrow(a)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(a){if(this.match(47)||this.match(51)){const u=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());u&&(a.typeParameters=u)}return super.jsxParseOpeningElementAfterName(a)}getGetterSetterExpectedParamCount(a){const u=super.getGetterSetterExpectedParamCount(a),y=this.getObjectOrClassMethodParams(a)[0];return y&&this.isThisParam(y)?u+1:u}parseCatchClauseParam(){const a=super.parseCatchClauseParam(),u=this.tsTryParseTypeAnnotation();return u&&(a.typeAnnotation=u,this.resetEndLocation(a)),a}tsInAmbientContext(a){const u=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return a()}finally{this.state.isAmbientContext=u}}parseClass(a,u,p){const y=this.state.inAbstractClass;this.state.inAbstractClass=!!a.abstract;try{return super.parseClass(a,u,p)}finally{this.state.inAbstractClass=y}}tsParseAbstractDeclaration(a,u){if(this.match(80))return a.abstract=!0,this.maybeTakeDecorators(u,this.parseClass(a,!0,!1));if(this.isContextual(127)){if(!this.hasFollowingLineBreak())return a.abstract=!0,this.raise(oo.NonClassMethodPropertyHasAbstractModifer,{at:a}),this.tsParseInterfaceDeclaration(a)}else this.unexpected(null,80)}parseMethod(a,u,p,y,T,P,I){const B=super.parseMethod(a,u,p,y,T,P,I);if(B.abstract&&(this.hasPlugin("estree")?!!B.value.body:!!B.body)){const{key:H}=B;this.raise(oo.AbstractMethodHasImplementation,{at:B,methodName:H.type==="Identifier"&&!B.computed?H.name:`[${this.input.slice(H.start,H.end)}]`})}return B}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(a,u,p,y){return!u&&y?(this.parseTypeOnlyImportExportSpecifier(a,!1,p),this.finishNode(a,"ExportSpecifier")):(a.exportKind="value",super.parseExportSpecifier(a,u,p,y))}parseImportSpecifier(a,u,p,y,T){return!u&&y?(this.parseTypeOnlyImportExportSpecifier(a,!0,p),this.finishNode(a,"ImportSpecifier")):(a.importKind="value",super.parseImportSpecifier(a,u,p,y,p?HBe:wF))}parseTypeOnlyImportExportSpecifier(a,u,p){const y=u?"imported":"local",T=u?"local":"exported";let P=a[y],I,B=!1,z=!0;const H=P.loc.start;if(this.isContextual(93)){const Ie=this.parseIdentifier();if(this.isContextual(93)){const ze=this.parseIdentifier();QS(this.state.type)?(B=!0,P=Ie,I=u?this.parseIdentifier():this.parseModuleExportName(),z=!1):(I=ze,z=!1)}else QS(this.state.type)?(z=!1,I=u?this.parseIdentifier():this.parseModuleExportName()):(B=!0,P=Ie)}else QS(this.state.type)&&(B=!0,u?(P=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(P.name,P.loc.start,!0,!0)):P=this.parseModuleExportName());B&&p&&this.raise(u?oo.TypeModifierIsUsedInTypeImports:oo.TypeModifierIsUsedInTypeExports,{at:H}),a[y]=P,a[T]=I;const Q=u?"importKind":"exportKind";a[Q]=B?"type":"value",z&&this.eatContextual(93)&&(a[T]=u?this.parseIdentifier():this.parseModuleExportName()),a[T]||(a[T]=aC(a[y])),u&&this.checkIdentifier(a[T],B?HBe:wF)}};function lPt(o){if(o.type!=="MemberExpression")return!1;const{computed:i,property:a}=o;return i&&a.type!=="StringLiteral"&&(a.type!=="TemplateLiteral"||a.expressions.length>0)?!1:bVe(o.object)}function uPt(o,i){var a;const{type:u}=o;if((a=o.extra)!=null&&a.parenthesized)return!1;if(i){if(u==="Literal"){const{value:p}=o;if(typeof p=="string"||typeof p=="boolean")return!0}}else if(u==="StringLiteral"||u==="BooleanLiteral")return!0;return!!(vVe(o,i)||fPt(o,i)||u==="TemplateLiteral"&&o.expressions.length===0||lPt(o))}function vVe(o,i){return i?o.type==="Literal"&&(typeof o.value=="number"||"bigint"in o):o.type==="NumericLiteral"||o.type==="BigIntLiteral"}function fPt(o,i){if(o.type==="UnaryExpression"){const{operator:a,argument:u}=o;if(a==="-"&&vVe(u,i))return!0}return!1}function bVe(o){return o.type==="Identifier"?!0:o.type!=="MemberExpression"||o.computed?!1:bVe(o.object)}const eje=Yk`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});var _Pt=o=>class extends o{parsePlaceholder(a){if(this.match(142)){const u=this.startNode();return this.next(),this.assertNoSpace(),u.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(142),this.finishPlaceholder(u,a)}}finishPlaceholder(a,u){const p=!!(a.expectedNode&&a.type==="Placeholder");return a.expectedNode=u,p?a:this.finishNode(a,"Placeholder")}getTokenFromCode(a){a===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(142,2):super.getTokenFromCode(a)}parseExprAtom(a){return this.parsePlaceholder("Expression")||super.parseExprAtom(a)}parseIdentifier(a){return this.parsePlaceholder("Identifier")||super.parseIdentifier(a)}checkReservedWord(a,u,p,y){a!==void 0&&super.checkReservedWord(a,u,p,y)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(a,u,p){return a==="Placeholder"||super.isValidLVal(a,u,p)}toAssignable(a,u){a&&a.type==="Placeholder"&&a.expectedNode==="Expression"?a.expectedNode="Pattern":super.toAssignable(a,u)}chStartsBindingIdentifier(a,u){return!!(super.chStartsBindingIdentifier(a,u)||this.lookahead().type===142)}verifyBreakContinue(a,u){a.label&&a.label.type==="Placeholder"||super.verifyBreakContinue(a,u)}parseExpressionStatement(a,u){if(u.type!=="Placeholder"||u.extra&&u.extra.parenthesized)return super.parseExpressionStatement(a,u);if(this.match(14)){const p=a;return p.label=this.finishPlaceholder(u,"Identifier"),this.next(),p.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(p,"LabeledStatement")}return this.semicolon(),a.name=u.name,this.finishPlaceholder(a,"Statement")}parseBlock(a,u,p){return this.parsePlaceholder("BlockStatement")||super.parseBlock(a,u,p)}parseFunctionId(a){return this.parsePlaceholder("Identifier")||super.parseFunctionId(a)}parseClass(a,u,p){const y=u?"ClassDeclaration":"ClassExpression";this.next();const T=this.state.strict,P=this.parsePlaceholder("Identifier");if(P)if(this.match(81)||this.match(142)||this.match(5))a.id=P;else{if(p||!u)return a.id=null,a.body=this.finishPlaceholder(P,"ClassBody"),this.finishNode(a,y);throw this.raise(eje.ClassNameIsRequired,{at:this.state.startLoc})}else this.parseClassId(a,u,p);return super.parseClassSuper(a),a.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!a.superClass,T),this.finishNode(a,y)}parseExport(a,u){const p=this.parsePlaceholder("Identifier");if(!p)return super.parseExport(a,u);if(!this.isContextual(97)&&!this.match(12))return a.specifiers=[],a.source=null,a.declaration=this.finishPlaceholder(p,"Declaration"),this.finishNode(a,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const y=this.startNode();return y.exported=p,a.specifiers=[this.finishNode(y,"ExportDefaultSpecifier")],super.parseExport(a,u)}isExportDefaultSpecifier(){if(this.match(65)){const a=this.nextTokenStart();if(this.isUnparsedContextual(a,"from")&&this.input.startsWith(t6(142),this.nextTokenStartSince(a+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(a){return a.specifiers&&a.specifiers.length>0?!0:super.maybeParseExportDefaultSpecifier(a)}checkExport(a){const{specifiers:u}=a;u!=null&&u.length&&(a.specifiers=u.filter(p=>p.exported.type==="Placeholder")),super.checkExport(a),a.specifiers=u}parseImport(a){const u=this.parsePlaceholder("Identifier");if(!u)return super.parseImport(a);if(a.specifiers=[],!this.isContextual(97)&&!this.match(12))return a.source=this.finishPlaceholder(u,"StringLiteral"),this.semicolon(),this.finishNode(a,"ImportDeclaration");const p=this.startNodeAtNode(u);return p.local=u,a.specifiers.push(this.finishNode(p,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(a)||this.parseNamedImportSpecifiers(a)),this.expectContextual(97),a.source=this.parseImportSource(),this.semicolon(),this.finishNode(a,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.state.lastTokEndLoc.index&&this.raise(eje.UnexpectedSpace,{at:this.state.lastTokEndLoc})}},pPt=o=>class extends o{parseV8Intrinsic(){if(this.match(54)){const a=this.state.startLoc,u=this.startNode();if(this.next(),ku(this.state.type)){const p=this.parseIdentifierName(),y=this.createIdentifier(u,p);if(y.type="V8IntrinsicIdentifier",this.match(10))return y}this.unexpected(a)}}parseExprAtom(a){return this.parseV8Intrinsic()||super.parseExprAtom(a)}};function wg(o,i){const[a,u]=typeof i=="string"?[i,{}]:i,p=Object.keys(u),y=p.length===0;return o.some(T=>{if(typeof T=="string")return y&&T===a;{const[P,I]=T;if(P!==a)return!1;for(const B of p)if(I[B]!==u[B])return!1;return!0}})}function Q3(o,i,a){const u=o.find(p=>Array.isArray(p)?p[0]===i:p===i);return u&&Array.isArray(u)&&u.length>1?u[1][a]:null}const tje=["minimal","fsharp","hack","smart"],rje=["^^","@@","^","%","#"],nje=["hash","bar"];function dPt(o){if(wg(o,"decorators")){if(wg(o,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const i=Q3(o,"decorators","decoratorsBeforeExport");if(i!=null&&typeof i!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const a=Q3(o,"decorators","allowCallParenthesized");if(a!=null&&typeof a!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(wg(o,"flow")&&wg(o,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(wg(o,"placeholders")&&wg(o,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(wg(o,"pipelineOperator")){const i=Q3(o,"pipelineOperator","proposal");if(!tje.includes(i)){const u=tje.map(p=>`"${p}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${u}.`)}const a=wg(o,["recordAndTuple",{syntaxType:"hash"}]);if(i==="hack"){if(wg(o,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(wg(o,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const u=Q3(o,"pipelineOperator","topicToken");if(!rje.includes(u)){const p=rje.map(y=>`"${y}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${p}.`)}if(u==="#"&&a)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if(i==="smart"&&a)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(wg(o,"moduleAttributes")){if(wg(o,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if(Q3(o,"moduleAttributes","version")!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(wg(o,"recordAndTuple")&&Q3(o,"recordAndTuple","syntaxType")!=null&&!nje.includes(Q3(o,"recordAndTuple","syntaxType")))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+nje.map(i=>`'${i}'`).join(", "));if(wg(o,"asyncDoExpressions")&&!wg(o,"doExpressions")){const i=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw i.missingPlugins="doExpressions",i}}const TVe={estree:Z3t,jsx:KAt,flow:YAt,typescript:cPt,v8intrinsic:pPt,placeholders:_Pt},mPt=Object.keys(TVe);class hPt extends nPt{checkProto(i,a,u,p){if(i.type==="SpreadElement"||this.isObjectMethod(i)||i.computed||i.shorthand)return;const y=i.key;if((y.type==="Identifier"?y.name:y.value)==="__proto__"){if(a){this.raise(zr.RecordNoProto,{at:y});return}u.used&&(p?p.doubleProtoLoc===null&&(p.doubleProtoLoc=y.loc.start):this.raise(zr.DuplicateProto,{at:y})),u.used=!0}}shouldExitDescending(i,a){return i.type==="ArrowFunctionExpression"&&i.start===a}getExpression(){this.enterInitialScopes(),this.nextToken();const i=this.parseExpression();return this.match(137)||this.unexpected(),this.finalizeRemainingComments(),i.comments=this.state.comments,i.errors=this.state.errors,this.options.tokens&&(i.tokens=this.tokens),i}parseExpression(i,a){return i?this.disallowInAnd(()=>this.parseExpressionBase(a)):this.allowInAnd(()=>this.parseExpressionBase(a))}parseExpressionBase(i){const a=this.state.startLoc,u=this.parseMaybeAssign(i);if(this.match(12)){const p=this.startNodeAt(a);for(p.expressions=[u];this.eat(12);)p.expressions.push(this.parseMaybeAssign(i));return this.toReferencedList(p.expressions),this.finishNode(p,"SequenceExpression")}return u}parseMaybeAssignDisallowIn(i,a){return this.disallowInAnd(()=>this.parseMaybeAssign(i,a))}parseMaybeAssignAllowIn(i,a){return this.allowInAnd(()=>this.parseMaybeAssign(i,a))}setOptionalParametersError(i,a){var u;i.optionalParametersLoc=(u=a==null?void 0:a.loc)!=null?u:this.state.startLoc}parseMaybeAssign(i,a){const u=this.state.startLoc;if(this.isContextual(106)&&this.prodParam.hasYield){let P=this.parseYield();return a&&(P=a.call(this,P,u)),P}let p;i?p=!1:(i=new BG,p=!0);const{type:y}=this.state;(y===10||ku(y))&&(this.state.potentialArrowAt=this.state.start);let T=this.parseMaybeConditional(i);if(a&&(T=a.call(this,T,u)),O3t(this.state.type)){const P=this.startNodeAt(u),I=this.state.value;if(P.operator=I,this.match(29)){this.toAssignable(T,!0),P.left=T;const B=u.index;i.doubleProtoLoc!=null&&i.doubleProtoLoc.index>=B&&(i.doubleProtoLoc=null),i.shorthandAssignLoc!=null&&i.shorthandAssignLoc.index>=B&&(i.shorthandAssignLoc=null),i.privateKeyLoc!=null&&i.privateKeyLoc.index>=B&&(this.checkDestructuringPrivate(i),i.privateKeyLoc=null)}else P.left=T;return this.next(),P.right=this.parseMaybeAssign(),this.checkLVal(T,{in:this.finishNode(P,"AssignmentExpression")}),P}else p&&this.checkExpressionErrors(i,!0);return T}parseMaybeConditional(i){const a=this.state.startLoc,u=this.state.potentialArrowAt,p=this.parseExprOps(i);return this.shouldExitDescending(p,u)?p:this.parseConditional(p,a,i)}parseConditional(i,a,u){if(this.eat(17)){const p=this.startNodeAt(a);return p.test=i,p.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),p.alternate=this.parseMaybeAssign(),this.finishNode(p,"ConditionalExpression")}return i}parseMaybeUnaryOrPrivate(i){return this.match(136)?this.parsePrivateName():this.parseMaybeUnary(i)}parseExprOps(i){const a=this.state.startLoc,u=this.state.potentialArrowAt,p=this.parseMaybeUnaryOrPrivate(i);return this.shouldExitDescending(p,u)?p:this.parseExprOp(p,a,-1)}parseExprOp(i,a,u){if(this.isPrivateName(i)){const y=this.getPrivateNameSV(i);(u>=MG(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(zr.PrivateInExpectedIn,{at:i,identifierName:y}),this.classScope.usePrivateName(y,i.loc.start)}const p=this.state.type;if(M3t(p)&&(this.prodParam.hasIn||!this.match(58))){let y=MG(p);if(y>u){if(p===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return i;this.checkPipelineAtInfixOperator(i,a)}const T=this.startNodeAt(a);T.left=i,T.operator=this.state.value;const P=p===41||p===42,I=p===40;if(I&&(y=MG(42)),this.next(),p===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(zr.UnexpectedAwaitAfterPipelineBody,{at:this.state.startLoc});T.right=this.parseExprOpRightExpr(p,y);const B=this.finishNode(T,P||I?"LogicalExpression":"BinaryExpression"),z=this.state.type;if(I&&(z===41||z===42)||P&&z===40)throw this.raise(zr.MixingCoalesceWithLogical,{at:this.state.startLoc});return this.parseExprOp(B,a,u)}}return i}parseExprOpRightExpr(i,a){const u=this.state.startLoc;switch(i){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(106))throw this.raise(zr.PipeBodyIsTighter,{at:this.state.startLoc});return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(i,a),u)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(a))}default:return this.parseExprOpBaseRightExpr(i,a)}}parseExprOpBaseRightExpr(i,a){const u=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),u,J3t(i)?a-1:a)}parseHackPipeBody(){var i;const{startLoc:a}=this.state,u=this.parseMaybeAssign();return W3t.has(u.type)&&!((i=u.extra)!=null&&i.parenthesized)&&this.raise(zr.PipeUnparenthesizedBody,{at:a,type:u.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(zr.PipeTopicUnused,{at:a}),u}checkExponentialAfterUnary(i){this.match(57)&&this.raise(zr.UnexpectedTokenUnaryExponentiation,{at:i.argument})}parseMaybeUnary(i,a){const u=this.state.startLoc,p=this.isContextual(96);if(p&&this.isAwaitAllowed()){this.next();const I=this.parseAwait(u);return a||this.checkExponentialAfterUnary(I),I}const y=this.match(34),T=this.startNode();if(R3t(this.state.type)){T.operator=this.state.value,T.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const I=this.match(89);if(this.next(),T.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(i,!0),this.state.strict&&I){const B=T.argument;B.type==="Identifier"?this.raise(zr.StrictDelete,{at:T}):this.hasPropertyAsPrivateName(B)&&this.raise(zr.DeletePrivateField,{at:T})}if(!y)return a||this.checkExponentialAfterUnary(T),this.finishNode(T,"UnaryExpression")}const P=this.parseUpdate(T,y,i);if(p){const{type:I}=this.state;if((this.hasPlugin("v8intrinsic")?Ohe(I):Ohe(I)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(zr.AwaitNotInAsyncContext,{at:u}),this.parseAwait(u)}return P}parseUpdate(i,a,u){if(a){const T=i;return this.checkLVal(T.argument,{in:this.finishNode(T,"UpdateExpression")}),i}const p=this.state.startLoc;let y=this.parseExprSubscripts(u);if(this.checkExpressionErrors(u,!1))return y;for(;F3t(this.state.type)&&!this.canInsertSemicolon();){const T=this.startNodeAt(p);T.operator=this.state.value,T.prefix=!1,T.argument=y,this.next(),this.checkLVal(y,{in:y=this.finishNode(T,"UpdateExpression")})}return y}parseExprSubscripts(i){const a=this.state.startLoc,u=this.state.potentialArrowAt,p=this.parseExprAtom(i);return this.shouldExitDescending(p,u)?p:this.parseSubscripts(p,a)}parseSubscripts(i,a,u){const p={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(i),stop:!1};do i=this.parseSubscript(i,a,u,p),p.maybeAsyncArrow=!1;while(!p.stop);return i}parseSubscript(i,a,u,p){const{type:y}=this.state;if(!u&&y===15)return this.parseBind(i,a,u,p);if(lX(y))return this.parseTaggedTemplateExpression(i,a,p);let T=!1;if(y===18){if(u&&(this.raise(zr.OptionalChainingNoNew,{at:this.state.startLoc}),this.lookaheadCharCode()===40))return p.stop=!0,i;p.optionalChainMember=T=!0,this.next()}if(!u&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(i,a,p,T);{const P=this.eat(0);return P||T||this.eat(16)?this.parseMember(i,a,p,P,T):(p.stop=!0,i)}}parseMember(i,a,u,p,y){const T=this.startNodeAt(a);return T.object=i,T.computed=p,p?(T.property=this.parseExpression(),this.expect(3)):this.match(136)?(i.type==="Super"&&this.raise(zr.SuperPrivateField,{at:a}),this.classScope.usePrivateName(this.state.value,this.state.startLoc),T.property=this.parsePrivateName()):T.property=this.parseIdentifier(!0),u.optionalChainMember?(T.optional=y,this.finishNode(T,"OptionalMemberExpression")):this.finishNode(T,"MemberExpression")}parseBind(i,a,u,p){const y=this.startNodeAt(a);return y.object=i,this.next(),y.callee=this.parseNoCallExpr(),p.stop=!0,this.parseSubscripts(this.finishNode(y,"BindExpression"),a,u)}parseCoverCallAndAsyncArrowHead(i,a,u,p){const y=this.state.maybeInArrowParameters;let T=null;this.state.maybeInArrowParameters=!0,this.next();const P=this.startNodeAt(a);P.callee=i;const{maybeAsyncArrow:I,optionalChainMember:B}=u;I&&(this.expressionScope.enter(JAt()),T=new BG),B&&(P.optional=p),p?P.arguments=this.parseCallExpressionArguments(11):P.arguments=this.parseCallExpressionArguments(11,i.type==="Import",i.type!=="Super",P,T);let z=this.finishCallExpression(P,B);return I&&this.shouldParseAsyncArrow()&&!p?(u.stop=!0,this.checkDestructuringPrivate(T),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),z=this.parseAsyncArrowFromCallExpression(this.startNodeAt(a),z)):(I&&(this.checkExpressionErrors(T,!0),this.expressionScope.exit()),this.toReferencedArguments(z)),this.state.maybeInArrowParameters=y,z}toReferencedArguments(i,a){this.toReferencedListDeep(i.arguments,a)}parseTaggedTemplateExpression(i,a,u){const p=this.startNodeAt(a);return p.tag=i,p.quasi=this.parseTemplate(!0),u.optionalChainMember&&this.raise(zr.OptionalChainingNoTemplate,{at:a}),this.finishNode(p,"TaggedTemplateExpression")}atPossibleAsyncArrow(i){return i.type==="Identifier"&&i.name==="async"&&this.state.lastTokEndLoc.index===i.end&&!this.canInsertSemicolon()&&i.end-i.start===5&&i.start===this.state.potentialArrowAt}finishCallExpression(i,a){if(i.callee.type==="Import")if(i.arguments.length===2&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),i.arguments.length===0||i.arguments.length>2)this.raise(zr.ImportCallArity,{at:i,maxArgumentCount:this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?2:1});else for(const u of i.arguments)u.type==="SpreadElement"&&this.raise(zr.ImportCallSpreadArgument,{at:u});return this.finishNode(i,a?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(i,a,u,p,y){const T=[];let P=!0;const I=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(i);){if(P)P=!1;else if(this.expect(12),this.match(i)){a&&!this.hasPlugin("importAssertions")&&!this.hasPlugin("moduleAttributes")&&this.raise(zr.ImportCallArgumentTrailingComma,{at:this.state.lastTokStartLoc}),p&&this.addTrailingCommaExtraToNode(p),this.next();break}T.push(this.parseExprListItem(!1,y,u))}return this.state.inFSharpPipelineDirectBody=I,T}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(i,a){var u;return this.resetPreviousNodeTrailingComments(a),this.expect(19),this.parseArrowExpression(i,a.arguments,!0,(u=a.extra)==null?void 0:u.trailingCommaLoc),a.innerComments&&XF(i,a.innerComments),a.callee.trailingComments&&XF(i,a.callee.trailingComments),i}parseNoCallExpr(){const i=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),i,!0)}parseExprAtom(i){let a,u=null;const{type:p}=this.state;switch(p){case 79:return this.parseSuper();case 83:return a=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(a):(this.match(10)||this.raise(zr.UnsupportedImport,{at:this.state.lastTokStartLoc}),this.finishNode(a,"Import"));case 78:return a=this.startNode(),this.next(),this.finishNode(a,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 132:return this.parseNumericLiteral(this.state.value);case 133:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseDecimalLiteral(this.state.value);case 131:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{const y=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(y)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,i);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,i);case 68:return this.parseFunctionOrFunctionSent();case 26:u=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(u,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{a=this.startNode(),this.next(),a.object=null;const y=a.callee=this.parseNoCallExpr();if(y.type==="MemberExpression")return this.finishNode(a,"BindExpression");throw this.raise(zr.UnsupportedBind,{at:y})}case 136:return this.raise(zr.PrivateInExpectedIn,{at:this.state.startLoc,identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{const y=this.getPluginOption("pipelineOperator","proposal");if(y)return this.parseTopicReference(y);this.unexpected();break}case 47:{const y=this.input.codePointAt(this.nextTokenStart());Qk(y)||y===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(ku(p)){if(this.isContextual(125)&&this.lookaheadCharCode()===123&&!this.hasFollowingLineBreak())return this.parseModuleExpression();const y=this.state.potentialArrowAt===this.state.start,T=this.state.containsEsc,P=this.parseIdentifier();if(!T&&P.name==="async"&&!this.canInsertSemicolon()){const{type:I}=this.state;if(I===68)return this.resetPreviousNodeTrailingComments(P),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(P));if(ku(I))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(P)):P;if(I===90)return this.resetPreviousNodeTrailingComments(P),this.parseDo(this.startNodeAtNode(P),!0)}return y&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(P),[P],!1)):P}else this.unexpected()}}parseTopicReferenceThenEqualsSign(i,a){const u=this.getPluginOption("pipelineOperator","proposal");if(u)return this.state.type=i,this.state.value=a,this.state.pos--,this.state.end--,this.state.endLoc=Ty(this.state.endLoc,-1),this.parseTopicReference(u);this.unexpected()}parseTopicReference(i){const a=this.startNode(),u=this.state.startLoc,p=this.state.type;return this.next(),this.finishTopicReference(a,u,i,p)}finishTopicReference(i,a,u,p){if(this.testTopicReferenceConfiguration(u,a,p)){const y=u==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(u==="smart"?zr.PrimaryTopicNotAllowed:zr.PipeTopicUnbound,{at:a}),this.registerTopicReference(),this.finishNode(i,y)}else throw this.raise(zr.PipeTopicUnconfiguredToken,{at:a,token:t6(p)})}testTopicReferenceConfiguration(i,a,u){switch(i){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:t6(u)}]);case"smart":return u===27;default:throw this.raise(zr.PipeTopicRequiresHackPipes,{at:a})}}parseAsyncArrowUnaryFunction(i){this.prodParam.enter(RG(!0,this.prodParam.hasYield));const a=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(zr.LineTerminatorBeforeArrow,{at:this.state.curPosition()}),this.expect(19),this.parseArrowExpression(i,a,!0)}parseDo(i,a){this.expectPlugin("doExpressions"),a&&this.expectPlugin("asyncDoExpressions"),i.async=a,this.next();const u=this.state.labels;return this.state.labels=[],a?(this.prodParam.enter(AQ),i.body=this.parseBlock(),this.prodParam.exit()):i.body=this.parseBlock(),this.state.labels=u,this.finishNode(i,"DoExpression")}parseSuper(){const i=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!this.options.allowSuperOutsideMethod?this.raise(zr.SuperNotAllowed,{at:i}):!this.scope.allowSuper&&!this.options.allowSuperOutsideMethod&&this.raise(zr.UnexpectedSuper,{at:i}),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(zr.UnsupportedSuper,{at:i}),this.finishNode(i,"Super")}parsePrivateName(){const i=this.startNode(),a=this.startNodeAt(Ty(this.state.startLoc,1)),u=this.state.value;return this.next(),i.id=this.createIdentifier(a,u),this.finishNode(i,"PrivateName")}parseFunctionOrFunctionSent(){const i=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const a=this.createIdentifier(this.startNodeAtNode(i),"function");return this.next(),this.match(102)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(i,a,"sent")}return this.parseFunction(i)}parseMetaProperty(i,a,u){i.meta=a;const p=this.state.containsEsc;return i.property=this.parseIdentifier(!0),(i.property.name!==u||p)&&this.raise(zr.UnsupportedMetaProperty,{at:i.property,target:a.name,onlyValidPropertyName:u}),this.finishNode(i,"MetaProperty")}parseImportMetaProperty(i){const a=this.createIdentifier(this.startNodeAtNode(i),"import");return this.next(),this.isContextual(100)&&(this.inModule||this.raise(zr.ImportMetaOutsideModule,{at:a}),this.sawUnambiguousESM=!0),this.parseMetaProperty(i,a,"meta")}parseLiteralAtNode(i,a,u){return this.addExtra(u,"rawValue",i),this.addExtra(u,"raw",this.input.slice(u.start,this.state.end)),u.value=i,this.next(),this.finishNode(u,a)}parseLiteral(i,a){const u=this.startNode();return this.parseLiteralAtNode(i,a,u)}parseStringLiteral(i){return this.parseLiteral(i,"StringLiteral")}parseNumericLiteral(i){return this.parseLiteral(i,"NumericLiteral")}parseBigIntLiteral(i){return this.parseLiteral(i,"BigIntLiteral")}parseDecimalLiteral(i){return this.parseLiteral(i,"DecimalLiteral")}parseRegExpLiteral(i){const a=this.parseLiteral(i.value,"RegExpLiteral");return a.pattern=i.pattern,a.flags=i.flags,a}parseBooleanLiteral(i){const a=this.startNode();return a.value=i,this.next(),this.finishNode(a,"BooleanLiteral")}parseNullLiteral(){const i=this.startNode();return this.next(),this.finishNode(i,"NullLiteral")}parseParenAndDistinguishExpression(i){const a=this.state.startLoc;let u;this.next(),this.expressionScope.enter(jAt());const p=this.state.maybeInArrowParameters,y=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const T=this.state.startLoc,P=[],I=new BG;let B=!0,z,H;for(;!this.match(11);){if(B)B=!1;else if(this.expect(12,I.optionalParametersLoc===null?null:I.optionalParametersLoc),this.match(11)){H=this.state.startLoc;break}if(this.match(21)){const ze=this.state.startLoc;if(z=this.state.startLoc,P.push(this.parseParenItem(this.parseRestBinding(),ze)),!this.checkCommaAfterRest(41))break}else P.push(this.parseMaybeAssignAllowIn(I,this.parseParenItem))}const Q=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=p,this.state.inFSharpPipelineDirectBody=y;let Ie=this.startNodeAt(a);return i&&this.shouldParseArrow(P)&&(Ie=this.parseArrow(Ie))?(this.checkDestructuringPrivate(I),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(Ie,P,!1),Ie):(this.expressionScope.exit(),P.length||this.unexpected(this.state.lastTokStartLoc),H&&this.unexpected(H),z&&this.unexpected(z),this.checkExpressionErrors(I,!0),this.toReferencedListDeep(P,!0),P.length>1?(u=this.startNodeAt(T),u.expressions=P,this.finishNode(u,"SequenceExpression"),this.resetEndLocation(u,Q)):u=P[0],this.wrapParenthesis(a,u))}wrapParenthesis(i,a){if(!this.options.createParenthesizedExpressions)return this.addExtra(a,"parenthesized",!0),this.addExtra(a,"parenStart",i.index),this.takeSurroundingComments(a,i.index,this.state.lastTokEndLoc.index),a;const u=this.startNodeAt(i);return u.expression=a,this.finishNode(u,"ParenthesizedExpression")}shouldParseArrow(i){return!this.canInsertSemicolon()}parseArrow(i){if(this.eat(19))return i}parseParenItem(i,a){return i}parseNewOrNewTarget(){const i=this.startNode();if(this.next(),this.match(16)){const a=this.createIdentifier(this.startNodeAtNode(i),"new");this.next();const u=this.parseMetaProperty(i,a,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!this.options.allowNewTargetOutsideFunction&&this.raise(zr.UnexpectedNewTarget,{at:u}),u}return this.parseNew(i)}parseNew(i){if(this.parseNewCallee(i),this.eat(10)){const a=this.parseExprList(11);this.toReferencedList(a),i.arguments=a}else i.arguments=[];return this.finishNode(i,"NewExpression")}parseNewCallee(i){i.callee=this.parseNoCallExpr(),i.callee.type==="Import"&&this.raise(zr.ImportCallNotNewExpression,{at:i.callee})}parseTemplateElement(i){const{start:a,startLoc:u,end:p,value:y}=this.state,T=a+1,P=this.startNodeAt(Ty(u,1));y===null&&(i||this.raise(zr.InvalidEscapeSequenceTemplate,{at:Ty(this.state.firstInvalidTemplateEscapePos,1)}));const I=this.match(24),B=I?-1:-2,z=p+B;P.value={raw:this.input.slice(T,z).replace(/\r\n?/g,`
`),cooked:y===null?null:y.slice(1,B)},P.tail=I,this.next();const H=this.finishNode(P,"TemplateElement");return this.resetEndLocation(H,Ty(this.state.lastTokEndLoc,B)),H}parseTemplate(i){const a=this.startNode();a.expressions=[];let u=this.parseTemplateElement(i);for(a.quasis=[u];!u.tail;)a.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),a.quasis.push(u=this.parseTemplateElement(i));return this.finishNode(a,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(i,a,u,p){u&&this.expectPlugin("recordAndTuple");const y=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const T=Object.create(null);let P=!0;const I=this.startNode();for(I.properties=[],this.next();!this.match(i);){if(P)P=!1;else if(this.expect(12),this.match(i)){this.addTrailingCommaExtraToNode(I);break}let z;a?z=this.parseBindingProperty():(z=this.parsePropertyDefinition(p),this.checkProto(z,u,T,p)),u&&!this.isObjectProperty(z)&&z.type!=="SpreadElement"&&this.raise(zr.InvalidRecordProperty,{at:z}),z.shorthand&&this.addExtra(z,"shorthand",!0),I.properties.push(z)}this.next(),this.state.inFSharpPipelineDirectBody=y;let B="ObjectExpression";return a?B="ObjectPattern":u&&(B="RecordExpression"),this.finishNode(I,B)}addTrailingCommaExtraToNode(i){this.addExtra(i,"trailingComma",this.state.lastTokStart),this.addExtra(i,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(i){return!i.computed&&i.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(i){let a=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(zr.UnsupportedPropertyDecorator,{at:this.state.startLoc});this.match(26);)a.push(this.parseDecorator());const u=this.startNode();let p=!1,y=!1,T;if(this.match(21))return a.length&&this.unexpected(),this.parseSpread();a.length&&(u.decorators=a,a=[]),u.method=!1,i&&(T=this.state.startLoc);let P=this.eat(55);this.parsePropertyNamePrefixOperator(u);const I=this.state.containsEsc,B=this.parsePropertyName(u,i);if(!P&&!I&&this.maybeAsyncOrAccessorProp(u)){const z=B.name;z==="async"&&!this.hasPrecedingLineBreak()&&(p=!0,this.resetPreviousNodeTrailingComments(B),P=this.eat(55),this.parsePropertyName(u)),(z==="get"||z==="set")&&(y=!0,this.resetPreviousNodeTrailingComments(B),u.kind=z,this.match(55)&&(P=!0,this.raise(zr.AccessorIsGenerator,{at:this.state.curPosition(),kind:z}),this.next()),this.parsePropertyName(u))}return this.parseObjPropValue(u,T,P,p,!1,y,i)}getGetterSetterExpectedParamCount(i){return i.kind==="get"?0:1}getObjectOrClassMethodParams(i){return i.params}checkGetterSetterParams(i){var a;const u=this.getGetterSetterExpectedParamCount(i),p=this.getObjectOrClassMethodParams(i);p.length!==u&&this.raise(i.kind==="get"?zr.BadGetterArity:zr.BadSetterArity,{at:i}),i.kind==="set"&&((a=p[p.length-1])==null?void 0:a.type)==="RestElement"&&this.raise(zr.BadSetterRestParameter,{at:i})}parseObjectMethod(i,a,u,p,y){if(y){const T=this.parseMethod(i,a,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(T),T}if(u||a||this.match(10))return p&&this.unexpected(),i.kind="method",i.method=!0,this.parseMethod(i,a,u,!1,!1,"ObjectMethod")}parseObjectProperty(i,a,u,p){if(i.shorthand=!1,this.eat(14))return i.value=u?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(p),this.finishNode(i,"ObjectProperty");if(!i.computed&&i.key.type==="Identifier"){if(this.checkReservedWord(i.key.name,i.key.loc.start,!0,!1),u)i.value=this.parseMaybeDefault(a,aC(i.key));else if(this.match(29)){const y=this.state.startLoc;p!=null?p.shorthandAssignLoc===null&&(p.shorthandAssignLoc=y):this.raise(zr.InvalidCoverInitializedName,{at:y}),i.value=this.parseMaybeDefault(a,aC(i.key))}else i.value=aC(i.key);return i.shorthand=!0,this.finishNode(i,"ObjectProperty")}}parseObjPropValue(i,a,u,p,y,T,P){const I=this.parseObjectMethod(i,u,p,y,T)||this.parseObjectProperty(i,a,y,P);return I||this.unexpected(),I}parsePropertyName(i,a){if(this.eat(0))i.computed=!0,i.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:u,value:p}=this.state;let y;if(QS(u))y=this.parseIdentifier(!0);else switch(u){case 132:y=this.parseNumericLiteral(p);break;case 131:y=this.parseStringLiteral(p);break;case 133:y=this.parseBigIntLiteral(p);break;case 134:y=this.parseDecimalLiteral(p);break;case 136:{const T=this.state.startLoc;a!=null?a.privateKeyLoc===null&&(a.privateKeyLoc=T):this.raise(zr.UnexpectedPrivateField,{at:T}),y=this.parsePrivateName();break}default:this.unexpected()}i.key=y,u!==136&&(i.computed=!1)}return i.key}initFunction(i,a){i.id=null,i.generator=!1,i.async=a}parseMethod(i,a,u,p,y,T,P=!1){this.initFunction(i,u),i.generator=a,this.scope.enter(Zk|_X|(P?nA:0)|(y?nVe:0)),this.prodParam.enter(RG(u,i.generator)),this.parseFunctionParams(i,p);const I=this.parseFunctionBodyAndFinish(i,T,!0);return this.prodParam.exit(),this.scope.exit(),I}parseArrayLike(i,a,u,p){u&&this.expectPlugin("recordAndTuple");const y=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const T=this.startNode();return this.next(),T.elements=this.parseExprList(i,!u,p,T),this.state.inFSharpPipelineDirectBody=y,this.finishNode(T,u?"TupleExpression":"ArrayExpression")}parseArrowExpression(i,a,u,p){this.scope.enter(Zk|Pye);let y=RG(u,!1);!this.match(5)&&this.prodParam.hasIn&&(y|=SN),this.prodParam.enter(y),this.initFunction(i,u);const T=this.state.maybeInArrowParameters;return a&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(i,a,p)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(i,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=T,this.finishNode(i,"ArrowFunctionExpression")}setArrowFunctionParameters(i,a,u){this.toAssignableList(a,u,!1),i.params=a}parseFunctionBodyAndFinish(i,a,u=!1){return this.parseFunctionBody(i,!1,u),this.finishNode(i,a)}parseFunctionBody(i,a,u=!1){const p=a&&!this.match(5);if(this.expressionScope.enter(mVe()),p)i.body=this.parseMaybeAssign(),this.checkParams(i,!1,a,!1);else{const y=this.state.strict,T=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|gVe),i.body=this.parseBlock(!0,!1,P=>{const I=!this.isSimpleParamList(i.params);P&&I&&this.raise(zr.IllegalLanguageModeDirective,{at:(i.kind==="method"||i.kind==="constructor")&&i.key?i.key.loc.end:i});const B=!y&&this.state.strict;this.checkParams(i,!this.state.strict&&!a&&!u&&!I,a,B),this.state.strict&&i.id&&this.checkIdentifier(i.id,_At,B)}),this.prodParam.exit(),this.state.labels=T}this.expressionScope.exit()}isSimpleParameter(i){return i.type==="Identifier"}isSimpleParamList(i){for(let a=0,u=i.length;a<u;a++)if(!this.isSimpleParameter(i[a]))return!1;return!0}checkParams(i,a,u,p=!0){const y=!a&&new Set,T={type:"FormalParameters"};for(const P of i.params)this.checkLVal(P,{in:T,binding:mX,checkClashes:y,strictModeChanged:p})}parseExprList(i,a,u,p){const y=[];let T=!0;for(;!this.eat(i);){if(T)T=!1;else if(this.expect(12),this.match(i)){p&&this.addTrailingCommaExtraToNode(p),this.next();break}y.push(this.parseExprListItem(a,u))}return y}parseExprListItem(i,a,u){let p;if(this.match(12))i||this.raise(zr.UnexpectedToken,{at:this.state.curPosition(),unexpected:","}),p=null;else if(this.match(21)){const y=this.state.startLoc;p=this.parseParenItem(this.parseSpread(a),y)}else if(this.match(17)){this.expectPlugin("partialApplication"),u||this.raise(zr.UnexpectedArgumentPlaceholder,{at:this.state.startLoc});const y=this.startNode();this.next(),p=this.finishNode(y,"ArgumentPlaceholder")}else p=this.parseMaybeAssignAllowIn(a,this.parseParenItem);return p}parseIdentifier(i){const a=this.startNode(),u=this.parseIdentifierName(i);return this.createIdentifier(a,u)}createIdentifier(i,a){return i.name=a,i.loc.identifierName=a,this.finishNode(i,"Identifier")}parseIdentifierName(i){let a;const{startLoc:u,type:p}=this.state;QS(p)?a=this.state.value:this.unexpected();const y=N3t(p);return i?y&&this.replaceToken(130):this.checkReservedWord(a,u,y,!1),this.next(),a}checkReservedWord(i,a,u,p){if(i.length>10||!cAt(i))return;if(u&&sAt(i)){this.raise(zr.UnexpectedKeyword,{at:a,keyword:i});return}if((this.state.strict?p?tVe:Kze:Zze)(i,this.inModule)){this.raise(zr.UnexpectedReservedWord,{at:a,reservedWord:i});return}else if(i==="yield"){if(this.prodParam.hasYield){this.raise(zr.YieldBindingIdentifier,{at:a});return}}else if(i==="await"){if(this.prodParam.hasAwait){this.raise(zr.AwaitBindingIdentifier,{at:a});return}if(this.scope.inStaticBlock){this.raise(zr.AwaitBindingIdentifierInStaticBlock,{at:a});return}this.expressionScope.recordAsyncArrowParametersError({at:a})}else if(i==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(zr.ArgumentsInClass,{at:a});return}}isAwaitAllowed(){return!!(this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction)}parseAwait(i){const a=this.startNodeAt(i);return this.expressionScope.recordParameterInitializerError(zr.AwaitExpressionFormalParameter,{at:a}),this.eat(55)&&this.raise(zr.ObsoleteAwaitStar,{at:a}),!this.scope.inFunction&&!this.options.allowAwaitOutsideFunction&&(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(a.argument=this.parseMaybeUnary(null,!0)),this.finishNode(a,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;const{type:i}=this.state;return i===53||i===10||i===0||lX(i)||i===101&&!this.state.containsEsc||i===135||i===56||this.hasPlugin("v8intrinsic")&&i===54}parseYield(){const i=this.startNode();this.expressionScope.recordParameterInitializerError(zr.YieldInParameter,{at:i}),this.next();let a=!1,u=null;if(!this.hasPrecedingLineBreak())switch(a=this.eat(55),this.state.type){case 13:case 137:case 8:case 11:case 3:case 9:case 14:case 12:if(!a)break;default:u=this.parseMaybeAssign()}return i.delegate=a,i.argument=u,this.finishNode(i,"YieldExpression")}checkPipelineAtInfixOperator(i,a){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&i.type==="SequenceExpression"&&this.raise(zr.PipelineHeadSequenceExpression,{at:a})}parseSmartPipelineBodyInStyle(i,a){if(this.isSimpleReference(i)){const u=this.startNodeAt(a);return u.callee=i,this.finishNode(u,"PipelineBareFunction")}else{const u=this.startNodeAt(a);return this.checkSmartPipeTopicBodyEarlyErrors(a),u.expression=i,this.finishNode(u,"PipelineTopicExpression")}}isSimpleReference(i){switch(i.type){case"MemberExpression":return!i.computed&&this.isSimpleReference(i.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(i){if(this.match(19))throw this.raise(zr.PipelineBodyNoArrow,{at:this.state.startLoc});this.topicReferenceWasUsedInCurrentContext()||this.raise(zr.PipelineTopicUnused,{at:i})}withTopicBindingContext(i){const a=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return i()}finally{this.state.topicContext=a}}withSmartMixTopicForbiddingContext(i){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){const a=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return i()}finally{this.state.topicContext=a}}else return i()}withSoloAwaitPermittingContext(i){const a=this.state.soloAwait;this.state.soloAwait=!0;try{return i()}finally{this.state.soloAwait=a}}allowInAnd(i){const a=this.prodParam.currentFlags();if(SN&~a){this.prodParam.enter(a|SN);try{return i()}finally{this.prodParam.exit()}}return i()}disallowInAnd(i){const a=this.prodParam.currentFlags();if(SN&a){this.prodParam.enter(a&~SN);try{return i()}finally{this.prodParam.exit()}}return i()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(i){const a=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const u=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const p=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),a,i);return this.state.inFSharpPipelineDirectBody=u,p}parseModuleExpression(){this.expectPlugin("moduleBlocks");const i=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const a=this.startNodeAt(this.state.endLoc);this.next();const u=this.initializeScopes(!0);this.enterInitialScopes();try{i.body=this.parseProgram(a,8,"module")}finally{u()}return this.finishNode(i,"ModuleExpression")}parsePropertyNamePrefixOperator(i){}}const qme={kind:"loop"},gPt={kind:"switch"},yPt=/[\uD800-\uDFFF]/u,Wme=/in(?:stanceof)?/y;function vPt(o,i){for(let a=0;a<o.length;a++){const u=o[a],{type:p}=u;if(typeof p=="number"){{if(p===136){const{loc:y,start:T,value:P,end:I}=u,B=T+1,z=Ty(y.start,1);o.splice(a,1,new WE({type:Wk(27),value:"#",start:T,end:B,startLoc:y.start,endLoc:z}),new WE({type:Wk(130),value:P,start:B,end:I,startLoc:z,endLoc:y.end})),a++;continue}if(lX(p)){const{loc:y,start:T,value:P,end:I}=u,B=T+1,z=Ty(y.start,1);let H;i.charCodeAt(T)===96?H=new WE({type:Wk(22),value:"`",start:T,end:B,startLoc:y.start,endLoc:z}):H=new WE({type:Wk(8),value:"}",start:T,end:B,startLoc:y.start,endLoc:z});let Q,Ie,ze,Ue;p===24?(Ie=I-1,ze=Ty(y.end,-1),Q=P===null?null:P.slice(1,-1),Ue=new WE({type:Wk(22),value:"`",start:Ie,end:I,startLoc:ze,endLoc:y.end})):(Ie=I-2,ze=Ty(y.end,-2),Q=P===null?null:P.slice(1,-2),Ue=new WE({type:Wk(23),value:"${",start:Ie,end:I,startLoc:ze,endLoc:y.end})),o.splice(a,1,H,new WE({type:Wk(20),value:Q,start:B,end:Ie,startLoc:z,endLoc:ze}),Ue),a+=2;continue}}u.type=Wk(p)}}return o}class bPt extends hPt{parseTopLevel(i,a){return i.program=this.parseProgram(a),i.comments=this.state.comments,this.options.tokens&&(i.tokens=vPt(this.tokens,this.input)),this.finishNode(i,"File")}parseProgram(i,a=137,u=this.options.sourceType){if(i.sourceType=u,i.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(i,!0,!0,a),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(const[y,T]of Array.from(this.scope.undefinedExports))this.raise(zr.ModuleExportUndefined,{at:T,localName:y});let p;return a===137?p=this.finishNode(i,"Program"):p=this.finishNodeAt(i,"Program",Ty(this.state.startLoc,-1)),p}stmtToDirective(i){const a=i;a.type="Directive",a.value=a.expression,delete a.expression;const u=a.value,p=u.value,y=this.input.slice(u.start,u.end),T=u.value=y.slice(1,-1);return this.addExtra(u,"raw",y),this.addExtra(u,"rawValue",T),this.addExtra(u,"expressionValue",p),u.type="DirectiveLiteral",a}parseInterpreterDirective(){if(!this.match(28))return null;const i=this.startNode();return i.value=this.state.value,this.next(),this.finishNode(i,"InterpreterDirective")}isLet(){return this.isContextual(99)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(i,a){if(Qk(i)){if(Wme.lastIndex=a,Wme.test(this.input)){const u=this.codePointAtPos(Wme.lastIndex);if(!MN(u)&&u!==92)return!1}return!0}else return i===92}chStartsBindingPattern(i){return i===91||i===123}hasFollowingBindingAtom(){const i=this.nextTokenStart(),a=this.codePointAtPos(i);return this.chStartsBindingPattern(a)||this.chStartsBindingIdentifier(a,i)}hasFollowingBindingIdentifier(){const i=this.nextTokenStart(),a=this.codePointAtPos(i);return this.chStartsBindingIdentifier(a,i)}startsUsingForOf(){const i=this.lookahead();return i.type===101&&!i.containsEsc?!1:(this.expectPlugin("explicitResourceManagement"),!0)}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(i=!1){let a=0;return this.options.annexB&&!this.state.strict&&(a|=4,i&&(a|=8)),this.parseStatementLike(a)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(i){let a=null;return this.match(26)&&(a=this.parseDecorators(!0)),this.parseStatementContent(i,a)}parseStatementContent(i,a){const u=this.state.type,p=this.startNode(),y=!!(i&2),T=!!(i&4),P=i&1;switch(u){case 60:return this.parseBreakContinueStatement(p,!0);case 63:return this.parseBreakContinueStatement(p,!1);case 64:return this.parseDebuggerStatement(p);case 90:return this.parseDoWhileStatement(p);case 91:return this.parseForStatement(p);case 68:if(this.lookaheadCharCode()===46)break;return T||this.raise(this.state.strict?zr.StrictFunction:this.options.annexB?zr.SloppyFunctionAnnexB:zr.SloppyFunction,{at:this.state.startLoc}),this.parseFunctionStatement(p,!1,!y&&T);case 80:return y||this.unexpected(),this.parseClass(this.maybeTakeDecorators(a,p),!0);case 69:return this.parseIfStatement(p);case 70:return this.parseReturnStatement(p);case 71:return this.parseSwitchStatement(p);case 72:return this.parseThrowStatement(p);case 73:return this.parseTryStatement(p);case 105:if(this.hasFollowingLineBreak()||this.state.containsEsc||!this.hasFollowingBindingIdentifier())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(zr.UnexpectedUsingDeclaration,{at:this.state.startLoc}):y||this.raise(zr.UnexpectedLexicalDeclaration,{at:this.state.startLoc}),this.parseVarStatement(p,"using");case 99:{if(this.state.containsEsc)break;const z=this.nextTokenStart(),H=this.codePointAtPos(z);if(H!==91&&(!y&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(H,z)&&H!==123))break}case 75:y||this.raise(zr.UnexpectedLexicalDeclaration,{at:this.state.startLoc});case 74:{const z=this.state.value;return this.parseVarStatement(p,z)}case 92:return this.parseWhileStatement(p);case 76:return this.parseWithStatement(p);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(p);case 83:{const z=this.lookaheadCharCode();if(z===40||z===46)break}case 82:{!this.options.allowImportExportEverywhere&&!P&&this.raise(zr.UnexpectedImportExport,{at:this.state.startLoc}),this.next();let z;return u===83?(z=this.parseImport(p),z.type==="ImportDeclaration"&&(!z.importKind||z.importKind==="value")&&(this.sawUnambiguousESM=!0)):(z=this.parseExport(p,a),(z.type==="ExportNamedDeclaration"&&(!z.exportKind||z.exportKind==="value")||z.type==="ExportAllDeclaration"&&(!z.exportKind||z.exportKind==="value")||z.type==="ExportDefaultDeclaration")&&(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(z),z}default:if(this.isAsyncFunction())return y||this.raise(zr.AsyncFunctionInSingleStatementContext,{at:this.state.startLoc}),this.next(),this.parseFunctionStatement(p,!0,!y&&T)}const I=this.state.value,B=this.parseExpression();return ku(u)&&B.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(p,I,B,i):this.parseExpressionStatement(p,B,a)}assertModuleNodeAllowed(i){!this.options.allowImportExportEverywhere&&!this.inModule&&this.raise(zr.ImportOutsideModule,{at:i})}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(i,a,u){return i&&(a.decorators&&a.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(zr.DecoratorsBeforeAfterExport,{at:a.decorators[0]}),a.decorators.unshift(...i)):a.decorators=i,this.resetStartLocationFromNode(a,i[0]),u&&this.resetStartLocationFromNode(u,a)),a}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(i){const a=[];do a.push(this.parseDecorator());while(this.match(26));if(this.match(82))i||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(zr.DecoratorExportClass,{at:this.state.startLoc});else if(!this.canHaveLeadingDecorator())throw this.raise(zr.UnexpectedLeadingDecorator,{at:this.state.startLoc});return a}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const i=this.startNode();if(this.next(),this.hasPlugin("decorators")){const a=this.state.startLoc;let u;if(this.match(10)){const p=this.state.startLoc;this.next(),u=this.parseExpression(),this.expect(11),u=this.wrapParenthesis(p,u);const y=this.state.startLoc;i.expression=this.parseMaybeDecoratorArguments(u),this.getPluginOption("decorators","allowCallParenthesized")===!1&&i.expression!==u&&this.raise(zr.DecoratorArgumentsOutsideParentheses,{at:y})}else{for(u=this.parseIdentifier(!1);this.eat(16);){const p=this.startNodeAt(a);p.object=u,this.match(136)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),p.property=this.parsePrivateName()):p.property=this.parseIdentifier(!0),p.computed=!1,u=this.finishNode(p,"MemberExpression")}i.expression=this.parseMaybeDecoratorArguments(u)}}else i.expression=this.parseExprSubscripts();return this.finishNode(i,"Decorator")}parseMaybeDecoratorArguments(i){if(this.eat(10)){const a=this.startNodeAtNode(i);return a.callee=i,a.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(a.arguments),this.finishNode(a,"CallExpression")}return i}parseBreakContinueStatement(i,a){return this.next(),this.isLineTerminator()?i.label=null:(i.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(i,a),this.finishNode(i,a?"BreakStatement":"ContinueStatement")}verifyBreakContinue(i,a){let u;for(u=0;u<this.state.labels.length;++u){const p=this.state.labels[u];if((i.label==null||p.name===i.label.name)&&(p.kind!=null&&(a||p.kind==="loop")||i.label&&a))break}if(u===this.state.labels.length){const p=a?"BreakStatement":"ContinueStatement";this.raise(zr.IllegalBreakContinue,{at:i,type:p})}}parseDebuggerStatement(i){return this.next(),this.semicolon(),this.finishNode(i,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const i=this.parseExpression();return this.expect(11),i}parseDoWhileStatement(i){return this.next(),this.state.labels.push(qme),i.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),i.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(i,"DoWhileStatement")}parseForStatement(i){this.next(),this.state.labels.push(qme);let a=null;if(this.isAwaitAllowed()&&this.eatContextual(96)&&(a=this.state.lastTokStartLoc),this.scope.enter(wN),this.expect(10),this.match(13))return a!==null&&this.unexpected(a),this.parseFor(i,null);const u=this.isContextual(99),p=this.isContextual(105)&&!this.hasFollowingLineBreak(),y=u&&this.hasFollowingBindingAtom()||p&&this.hasFollowingBindingIdentifier()&&this.startsUsingForOf();if(this.match(74)||this.match(75)||y){const z=this.startNode(),H=this.state.value;this.next(),this.parseVar(z,!0,H);const Q=this.finishNode(z,"VariableDeclaration"),Ie=this.match(58);return Ie&&p&&this.raise(zr.ForInUsing,{at:Q}),(Ie||this.isContextual(101))&&Q.declarations.length===1?this.parseForIn(i,Q,a):(a!==null&&this.unexpected(a),this.parseFor(i,Q))}const T=this.isContextual(95),P=new BG,I=this.parseExpression(!0,P),B=this.isContextual(101);if(B&&(u&&this.raise(zr.ForOfLet,{at:I}),a===null&&T&&I.type==="Identifier"&&this.raise(zr.ForOfAsync,{at:I})),B||this.match(58)){this.checkDestructuringPrivate(P),this.toAssignable(I,!0);const z=B?"ForOfStatement":"ForInStatement";return this.checkLVal(I,{in:{type:z}}),this.parseForIn(i,I,a)}else this.checkExpressionErrors(P,!0);return a!==null&&this.unexpected(a),this.parseFor(i,I)}parseFunctionStatement(i,a,u){return this.next(),this.parseFunction(i,1|(u?2:0)|(a?8:0))}parseIfStatement(i){return this.next(),i.test=this.parseHeaderExpression(),i.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),i.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(i,"IfStatement")}parseReturnStatement(i){return!this.prodParam.hasReturn&&!this.options.allowReturnOutsideFunction&&this.raise(zr.IllegalReturn,{at:this.state.startLoc}),this.next(),this.isLineTerminator()?i.argument=null:(i.argument=this.parseExpression(),this.semicolon()),this.finishNode(i,"ReturnStatement")}parseSwitchStatement(i){this.next(),i.discriminant=this.parseHeaderExpression();const a=i.cases=[];this.expect(5),this.state.labels.push(gPt),this.scope.enter(wN);let u;for(let p;!this.match(8);)if(this.match(61)||this.match(65)){const y=this.match(61);u&&this.finishNode(u,"SwitchCase"),a.push(u=this.startNode()),u.consequent=[],this.next(),y?u.test=this.parseExpression():(p&&this.raise(zr.MultipleDefaultsInSwitch,{at:this.state.lastTokStartLoc}),p=!0,u.test=null),this.expect(14)}else u?u.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),u&&this.finishNode(u,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(i,"SwitchStatement")}parseThrowStatement(i){return this.next(),this.hasPrecedingLineBreak()&&this.raise(zr.NewlineAfterThrow,{at:this.state.lastTokEndLoc}),i.argument=this.parseExpression(),this.semicolon(),this.finishNode(i,"ThrowStatement")}parseCatchClauseParam(){const i=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&i.type==="Identifier"?rVe:0),this.checkLVal(i,{in:{type:"CatchClause"},binding:lAt}),i}parseTryStatement(i){if(this.next(),i.block=this.parseBlock(),i.handler=null,this.match(62)){const a=this.startNode();this.next(),this.match(10)?(this.expect(10),a.param=this.parseCatchClauseParam(),this.expect(11)):(a.param=null,this.scope.enter(wN)),a.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),i.handler=this.finishNode(a,"CatchClause")}return i.finalizer=this.eat(67)?this.parseBlock():null,!i.handler&&!i.finalizer&&this.raise(zr.NoCatchOrFinally,{at:i}),this.finishNode(i,"TryStatement")}parseVarStatement(i,a,u=!1){return this.next(),this.parseVar(i,!1,a,u),this.semicolon(),this.finishNode(i,"VariableDeclaration")}parseWhileStatement(i){return this.next(),i.test=this.parseHeaderExpression(),this.state.labels.push(qme),i.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(i,"WhileStatement")}parseWithStatement(i){return this.state.strict&&this.raise(zr.StrictWith,{at:this.state.startLoc}),this.next(),i.object=this.parseHeaderExpression(),i.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(i,"WithStatement")}parseEmptyStatement(i){return this.next(),this.finishNode(i,"EmptyStatement")}parseLabeledStatement(i,a,u,p){for(const T of this.state.labels)T.name===a&&this.raise(zr.LabelRedeclaration,{at:u,labelName:a});const y=L3t(this.state.type)?"loop":this.match(71)?"switch":null;for(let T=this.state.labels.length-1;T>=0;T--){const P=this.state.labels[T];if(P.statementStart===i.start)P.statementStart=this.state.start,P.kind=y;else break}return this.state.labels.push({name:a,kind:y,statementStart:this.state.start}),i.body=p&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),i.label=u,this.finishNode(i,"LabeledStatement")}parseExpressionStatement(i,a,u){return i.expression=a,this.semicolon(),this.finishNode(i,"ExpressionStatement")}parseBlock(i=!1,a=!0,u){const p=this.startNode();return i&&this.state.strictErrors.clear(),this.expect(5),a&&this.scope.enter(wN),this.parseBlockBody(p,i,!1,8,u),a&&this.scope.exit(),this.finishNode(p,"BlockStatement")}isValidDirective(i){return i.type==="ExpressionStatement"&&i.expression.type==="StringLiteral"&&!i.expression.extra.parenthesized}parseBlockBody(i,a,u,p,y){const T=i.body=[],P=i.directives=[];this.parseBlockOrModuleBlockBody(T,a?P:void 0,u,p,y)}parseBlockOrModuleBlockBody(i,a,u,p,y){const T=this.state.strict;let P=!1,I=!1;for(;!this.match(p);){const B=u?this.parseModuleItem():this.parseStatementListItem();if(a&&!I){if(this.isValidDirective(B)){const z=this.stmtToDirective(B);a.push(z),!P&&z.value.value==="use strict"&&(P=!0,this.setStrict(!0));continue}I=!0,this.state.strictErrors.clear()}i.push(B)}y&&y.call(this,P),T||this.setStrict(!1),this.next()}parseFor(i,a){return i.init=a,this.semicolon(!1),i.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),i.update=this.match(11)?null:this.parseExpression(),this.expect(11),i.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(i,"ForStatement")}parseForIn(i,a,u){const p=this.match(58);return this.next(),p?u!==null&&this.unexpected(u):i.await=u!==null,a.type==="VariableDeclaration"&&a.declarations[0].init!=null&&(!p||!this.options.annexB||this.state.strict||a.kind!=="var"||a.declarations[0].id.type!=="Identifier")&&this.raise(zr.ForInOfLoopInitializer,{at:a,type:p?"ForInStatement":"ForOfStatement"}),a.type==="AssignmentPattern"&&this.raise(zr.InvalidLhs,{at:a,ancestor:{type:"ForStatement"}}),i.left=a,i.right=p?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),i.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(i,p?"ForInStatement":"ForOfStatement")}parseVar(i,a,u,p=!1){const y=i.declarations=[];for(i.kind=u;;){const T=this.startNode();if(this.parseVarId(T,u),T.init=this.eat(29)?a?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,T.init===null&&!p&&(T.id.type!=="Identifier"&&!(a&&(this.match(58)||this.isContextual(101)))?this.raise(zr.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"destructuring"}):u==="const"&&!(this.match(58)||this.isContextual(101))&&this.raise(zr.DeclarationMissingInitializer,{at:this.state.lastTokEndLoc,kind:"const"})),y.push(this.finishNode(T,"VariableDeclarator")),!this.eat(12))break}return i}parseVarId(i,a){a==="using"&&!this.inModule&&this.match(96)&&this.raise(zr.AwaitInUsingBinding,{at:this.state.startLoc});const u=this.parseBindingAtom();this.checkLVal(u,{in:{type:"VariableDeclarator"},binding:a==="var"?mX:RN}),i.id=u}parseAsyncFunctionExpression(i){return this.parseFunction(i,8)}parseFunction(i,a=0){const u=a&2,p=!!(a&1),y=p&&!(a&4),T=!!(a&8);this.initFunction(i,T),this.match(55)&&(u&&this.raise(zr.GeneratorInSingleStatementContext,{at:this.state.startLoc}),this.next(),i.generator=!0),p&&(i.id=this.parseFunctionId(y));const P=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(Zk),this.prodParam.enter(RG(T,i.generator)),p||(i.id=this.parseFunctionId()),this.parseFunctionParams(i,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(i,p?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),p&&!u&&this.registerFunctionStatementId(i),this.state.maybeInArrowParameters=P,i}parseFunctionId(i){return i||ku(this.state.type)?this.parseIdentifier():null}parseFunctionParams(i,a){this.expect(10),this.expressionScope.enter(BAt()),i.params=this.parseBindingList(11,41,2|(a?4:0)),this.expressionScope.exit()}registerFunctionStatementId(i){i.id&&this.scope.declareName(i.id.name,!this.options.annexB||this.state.strict||i.generator||i.async?this.scope.treatFunctionsAsVar?mX:RN:oVe,i.id.loc.start)}parseClass(i,a,u){this.next();const p=this.state.strict;return this.state.strict=!0,this.parseClassId(i,a,u),this.parseClassSuper(i),i.body=this.parseClassBody(!!i.superClass,p),this.finishNode(i,a?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(i){return!i.computed&&!i.static&&(i.key.name==="constructor"||i.key.value==="constructor")}parseClassBody(i,a){this.classScope.enter();const u={hadConstructor:!1,hadSuperClass:i};let p=[];const y=this.startNode();if(y.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(p.length>0)throw this.raise(zr.DecoratorSemicolon,{at:this.state.lastTokEndLoc});continue}if(this.match(26)){p.push(this.parseDecorator());continue}const T=this.startNode();p.length&&(T.decorators=p,this.resetStartLocationFromNode(T,p[0]),p=[]),this.parseClassMember(y,T,u),T.kind==="constructor"&&T.decorators&&T.decorators.length>0&&this.raise(zr.DecoratorConstructor,{at:T})}}),this.state.strict=a,this.next(),p.length)throw this.raise(zr.TrailingDecorator,{at:this.state.startLoc});return this.classScope.exit(),this.finishNode(y,"ClassBody")}parseClassMemberFromModifier(i,a){const u=this.parseIdentifier(!0);if(this.isClassMethod()){const p=a;return p.kind="method",p.computed=!1,p.key=u,p.static=!1,this.pushClassMethod(i,p,!1,!1,!1,!1),!0}else if(this.isClassProperty()){const p=a;return p.computed=!1,p.key=u,p.static=!1,i.body.push(this.parseClassProperty(p)),!0}return this.resetPreviousNodeTrailingComments(u),!1}parseClassMember(i,a,u){const p=this.isContextual(104);if(p){if(this.parseClassMemberFromModifier(i,a))return;if(this.eat(5)){this.parseClassStaticBlock(i,a);return}}this.parseClassMemberWithIsStatic(i,a,u,p)}parseClassMemberWithIsStatic(i,a,u,p){const y=a,T=a,P=a,I=a,B=a,z=y,H=y;if(a.static=p,this.parsePropertyNamePrefixOperator(a),this.eat(55)){z.kind="method";const et=this.match(136);if(this.parseClassElementName(z),et){this.pushClassPrivateMethod(i,T,!0,!1);return}this.isNonstaticConstructor(y)&&this.raise(zr.ConstructorIsGenerator,{at:y.key}),this.pushClassMethod(i,y,!0,!1,!1,!1);return}const Q=ku(this.state.type)&&!this.state.containsEsc,Ie=this.match(136),ze=this.parseClassElementName(a),Ue=this.state.startLoc;if(this.parsePostMemberNameModifiers(H),this.isClassMethod()){if(z.kind="method",Ie){this.pushClassPrivateMethod(i,T,!1,!1);return}const et=this.isNonstaticConstructor(y);let Ve=!1;et&&(y.kind="constructor",u.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(zr.DuplicateConstructor,{at:ze}),et&&this.hasPlugin("typescript")&&a.override&&this.raise(zr.OverrideOnConstructor,{at:ze}),u.hadConstructor=!0,Ve=u.hadSuperClass),this.pushClassMethod(i,y,!1,!1,et,Ve)}else if(this.isClassProperty())Ie?this.pushClassPrivateProperty(i,I):this.pushClassProperty(i,P);else if(Q&&ze.name==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(ze);const et=this.eat(55);H.optional&&this.unexpected(Ue),z.kind="method";const Ve=this.match(136);this.parseClassElementName(z),this.parsePostMemberNameModifiers(H),Ve?this.pushClassPrivateMethod(i,T,et,!0):(this.isNonstaticConstructor(y)&&this.raise(zr.ConstructorIsAsync,{at:y.key}),this.pushClassMethod(i,y,et,!0,!1,!1))}else if(Q&&(ze.name==="get"||ze.name==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(ze),z.kind=ze.name;const et=this.match(136);this.parseClassElementName(y),et?this.pushClassPrivateMethod(i,T,!1,!1):(this.isNonstaticConstructor(y)&&this.raise(zr.ConstructorIsAccessor,{at:y.key}),this.pushClassMethod(i,y,!1,!1,!1,!1)),this.checkGetterSetterParams(y)}else if(Q&&ze.name==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(ze);const et=this.match(136);this.parseClassElementName(P),this.pushClassAccessorProperty(i,B,et)}else this.isLineTerminator()?Ie?this.pushClassPrivateProperty(i,I):this.pushClassProperty(i,P):this.unexpected()}parseClassElementName(i){const{type:a,value:u}=this.state;if((a===130||a===131)&&i.static&&u==="prototype"&&this.raise(zr.StaticPrototype,{at:this.state.startLoc}),a===136){u==="constructor"&&this.raise(zr.ConstructorClassPrivateField,{at:this.state.startLoc});const p=this.parsePrivateName();return i.key=p,p}return this.parsePropertyName(i)}parseClassStaticBlock(i,a){var u;this.scope.enter(nA|pX|_X);const p=this.state.labels;this.state.labels=[],this.prodParam.enter(BN);const y=a.body=[];this.parseBlockOrModuleBlockBody(y,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=p,i.body.push(this.finishNode(a,"StaticBlock")),(u=a.decorators)!=null&&u.length&&this.raise(zr.DecoratorStaticBlock,{at:a})}pushClassProperty(i,a){!a.computed&&(a.key.name==="constructor"||a.key.value==="constructor")&&this.raise(zr.ConstructorClassField,{at:a.key}),i.body.push(this.parseClassProperty(a))}pushClassPrivateProperty(i,a){const u=this.parseClassPrivateProperty(a);i.body.push(u),this.classScope.declarePrivateName(this.getPrivateNameSV(u.key),zme,u.key.loc.start)}pushClassAccessorProperty(i,a,u){if(!u&&!a.computed){const y=a.key;(y.name==="constructor"||y.value==="constructor")&&this.raise(zr.ConstructorClassField,{at:y})}const p=this.parseClassAccessorProperty(a);i.body.push(p),u&&this.classScope.declarePrivateName(this.getPrivateNameSV(p.key),zme,p.key.loc.start)}pushClassMethod(i,a,u,p,y,T){i.body.push(this.parseMethod(a,u,p,y,T,"ClassMethod",!0))}pushClassPrivateMethod(i,a,u,p){const y=this.parseMethod(a,u,p,!1,!1,"ClassPrivateMethod",!0);i.body.push(y);const T=y.kind==="get"?y.static?hAt:yAt:y.kind==="set"?y.static?gAt:vAt:zme;this.declareClassPrivateMethodInScope(y,T)}declareClassPrivateMethodInScope(i,a){this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),a,i.key.loc.start)}parsePostMemberNameModifiers(i){}parseClassPrivateProperty(i){return this.parseInitializer(i),this.semicolon(),this.finishNode(i,"ClassPrivateProperty")}parseClassProperty(i){return this.parseInitializer(i),this.semicolon(),this.finishNode(i,"ClassProperty")}parseClassAccessorProperty(i){return this.parseInitializer(i),this.semicolon(),this.finishNode(i,"ClassAccessorProperty")}parseInitializer(i){this.scope.enter(nA|_X),this.expressionScope.enter(mVe()),this.prodParam.enter(BN),i.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(i,a,u,p=aVe){if(ku(this.state.type))i.id=this.parseIdentifier(),a&&this.declareNameFromIdentifier(i.id,p);else if(u||!a)i.id=null;else throw this.raise(zr.MissingClassName,{at:this.state.startLoc})}parseClassSuper(i){i.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(i,a){const u=this.maybeParseExportDefaultSpecifier(i),p=!u||this.eat(12),y=p&&this.eatExportStar(i),T=y&&this.maybeParseExportNamespaceSpecifier(i),P=p&&(!T||this.eat(12)),I=u||y;if(y&&!T){if(u&&this.unexpected(),a)throw this.raise(zr.UnsupportedDecoratorExport,{at:i});return this.parseExportFrom(i,!0),this.finishNode(i,"ExportAllDeclaration")}const B=this.maybeParseExportNamedSpecifiers(i);u&&p&&!y&&!B&&this.unexpected(null,5),T&&P&&this.unexpected(null,97);let z;if(I||B){if(z=!1,a)throw this.raise(zr.UnsupportedDecoratorExport,{at:i});this.parseExportFrom(i,I)}else z=this.maybeParseExportDeclaration(i);if(I||B||z){var H;const Q=i;if(this.checkExport(Q,!0,!1,!!Q.source),((H=Q.declaration)==null?void 0:H.type)==="ClassDeclaration")this.maybeTakeDecorators(a,Q.declaration,Q);else if(a)throw this.raise(zr.UnsupportedDecoratorExport,{at:i});return this.finishNode(Q,"ExportNamedDeclaration")}if(this.eat(65)){const Q=i,Ie=this.parseExportDefaultExpression();if(Q.declaration=Ie,Ie.type==="ClassDeclaration")this.maybeTakeDecorators(a,Ie,Q);else if(a)throw this.raise(zr.UnsupportedDecoratorExport,{at:i});return this.checkExport(Q,!0,!0),this.finishNode(Q,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(i){return this.eat(55)}maybeParseExportDefaultSpecifier(i){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const a=this.startNode();return a.exported=this.parseIdentifier(!0),i.specifiers=[this.finishNode(a,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(i){if(this.isContextual(93)){i.specifiers||(i.specifiers=[]);const a=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),a.exported=this.parseModuleExportName(),i.specifiers.push(this.finishNode(a,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(i){if(this.match(5)){i.specifiers||(i.specifiers=[]);const a=i.exportKind==="type";return i.specifiers.push(...this.parseExportSpecifiers(a)),i.source=null,i.declaration=null,this.hasPlugin("importAssertions")&&(i.assertions=[]),!0}return!1}maybeParseExportDeclaration(i){return this.shouldParseExportDeclaration()?(i.specifiers=[],i.source=null,this.hasPlugin("importAssertions")&&(i.assertions=[]),i.declaration=this.parseExportDeclaration(i),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;const i=this.nextTokenStart();return!Mye.test(this.input.slice(this.state.pos,i))&&this.isUnparsedContextual(i,"function")}parseExportDefaultExpression(){const i=this.startNode();if(this.match(68))return this.next(),this.parseFunction(i,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(i,13);if(this.match(80))return this.parseClass(i,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(zr.DecoratorBeforeExport,{at:this.state.startLoc}),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet())throw this.raise(zr.UnsupportedDefaultExport,{at:this.state.startLoc});const a=this.parseMaybeAssignAllowIn();return this.semicolon(),a}parseExportDeclaration(i){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:i}=this.state;if(ku(i)){if(i===95&&!this.state.containsEsc||i===99)return!1;if((i===128||i===127)&&!this.state.containsEsc){const{type:p}=this.lookahead();if(ku(p)&&p!==97||p===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const a=this.nextTokenStart(),u=this.isUnparsedContextual(a,"from");if(this.input.charCodeAt(a)===44||ku(this.state.type)&&u)return!0;if(this.match(65)&&u){const p=this.input.charCodeAt(this.nextTokenStartSince(a+4));return p===34||p===39}return!1}parseExportFrom(i,a){if(this.eatContextual(97)){i.source=this.parseImportSource(),this.checkExport(i);const u=this.maybeParseImportAssertions();u&&(i.assertions=u,this.checkJSONModuleImport(i))}else a&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){const{type:i}=this.state;return i===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(zr.DecoratorBeforeExport,{at:this.state.startLoc}),!0):i===74||i===75||i===68||i===80||this.isLet()||this.isAsyncFunction()}checkExport(i,a,u,p){if(a){if(u){if(this.checkDuplicateExports(i,"default"),this.hasPlugin("exportDefaultFrom")){var y;const T=i.declaration;T.type==="Identifier"&&T.name==="from"&&T.end-T.start===4&&!((y=T.extra)!=null&&y.parenthesized)&&this.raise(zr.ExportDefaultFromAsIdentifier,{at:T})}}else if(i.specifiers&&i.specifiers.length)for(const T of i.specifiers){const{exported:P}=T,I=P.type==="Identifier"?P.name:P.value;if(this.checkDuplicateExports(T,I),!p&&T.local){const{local:B}=T;B.type!=="Identifier"?this.raise(zr.ExportBindingIsString,{at:T,localName:B.value,exportName:I}):(this.checkReservedWord(B.name,B.loc.start,!0,!1),this.scope.checkLocalExport(B))}}else if(i.declaration){if(i.declaration.type==="FunctionDeclaration"||i.declaration.type==="ClassDeclaration"){const T=i.declaration.id;if(!T)throw new Error("Assertion failure");this.checkDuplicateExports(i,T.name)}else if(i.declaration.type==="VariableDeclaration")for(const T of i.declaration.declarations)this.checkDeclaration(T.id)}}}checkDeclaration(i){if(i.type==="Identifier")this.checkDuplicateExports(i,i.name);else if(i.type==="ObjectPattern")for(const a of i.properties)this.checkDeclaration(a);else if(i.type==="ArrayPattern")for(const a of i.elements)a&&this.checkDeclaration(a);else i.type==="ObjectProperty"?this.checkDeclaration(i.value):i.type==="RestElement"?this.checkDeclaration(i.argument):i.type==="AssignmentPattern"&&this.checkDeclaration(i.left)}checkDuplicateExports(i,a){this.exportedIdentifiers.has(a)&&(a==="default"?this.raise(zr.DuplicateDefaultExport,{at:i}):this.raise(zr.DuplicateExport,{at:i,exportName:a})),this.exportedIdentifiers.add(a)}parseExportSpecifiers(i){const a=[];let u=!0;for(this.expect(5);!this.eat(8);){if(u)u=!1;else if(this.expect(12),this.eat(8))break;const p=this.isContextual(128),y=this.match(131),T=this.startNode();T.local=this.parseModuleExportName(),a.push(this.parseExportSpecifier(T,y,i,p))}return a}parseExportSpecifier(i,a,u,p){return this.eatContextual(93)?i.exported=this.parseModuleExportName():a?i.exported=$At(i.local):i.exported||(i.exported=aC(i.local)),this.finishNode(i,"ExportSpecifier")}parseModuleExportName(){if(this.match(131)){const i=this.parseStringLiteral(this.state.value),a=i.value.match(yPt);return a&&this.raise(zr.ModuleExportNameHasLoneSurrogate,{at:i,surrogateCharCode:a[0].charCodeAt(0)}),i}return this.parseIdentifier(!0)}isJSONModuleImport(i){return i.assertions!=null?i.assertions.some(({key:a,value:u})=>u.value==="json"&&(a.type==="Identifier"?a.name==="type":a.value==="type")):!1}checkImportReflection(i){if(i.module){var a;(i.specifiers.length!==1||i.specifiers[0].type!=="ImportDefaultSpecifier")&&this.raise(zr.ImportReflectionNotBinding,{at:i.specifiers[0].loc.start}),((a=i.assertions)==null?void 0:a.length)>0&&this.raise(zr.ImportReflectionHasAssertion,{at:i.specifiers[0].loc.start})}}checkJSONModuleImport(i){if(this.isJSONModuleImport(i)&&i.type!=="ExportAllDeclaration"){const{specifiers:a}=i;if(a!=null){const u=a.find(p=>{let y;if(p.type==="ExportSpecifier"?y=p.local:p.type==="ImportSpecifier"&&(y=p.imported),y!==void 0)return y.type==="Identifier"?y.name!=="default":y.value!=="default"});u!==void 0&&this.raise(zr.ImportJSONBindingNotDefault,{at:u.loc.start})}}}parseMaybeImportReflection(i){let a=!1;if(this.isContextual(125)){const u=this.lookahead(),p=u.type;ku(p)?(p!==97||this.input.charCodeAt(this.nextTokenStartSince(u.end))===102)&&(a=!0):p!==12&&(a=!0)}a?(this.expectPlugin("importReflection"),this.next(),i.module=!0):this.hasPlugin("importReflection")&&(i.module=!1)}parseImport(i){if(i.specifiers=[],!this.match(131)){this.parseMaybeImportReflection(i);const p=!this.maybeParseDefaultImportSpecifier(i)||this.eat(12),y=p&&this.maybeParseStarImportSpecifier(i);p&&!y&&this.parseNamedImportSpecifiers(i),this.expectContextual(97)}i.source=this.parseImportSource();const a=this.maybeParseImportAssertions();if(a)i.assertions=a;else{const u=this.maybeParseModuleAttributes();u&&(i.attributes=u)}return this.checkImportReflection(i),this.checkJSONModuleImport(i),this.semicolon(),this.finishNode(i,"ImportDeclaration")}parseImportSource(){return this.match(131)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(i){return ku(this.state.type)}parseImportSpecifierLocal(i,a,u){a.local=this.parseIdentifier(),i.specifiers.push(this.finishImportSpecifier(a,u))}finishImportSpecifier(i,a,u=RN){return this.checkLVal(i.local,{in:{type:a},binding:u}),this.finishNode(i,a)}parseAssertEntries(){const i=[],a=new Set;do{if(this.match(8))break;const u=this.startNode(),p=this.state.value;if(a.has(p)&&this.raise(zr.ModuleAttributesWithDuplicateKeys,{at:this.state.startLoc,key:p}),a.add(p),this.match(131)?u.key=this.parseStringLiteral(p):u.key=this.parseIdentifier(!0),this.expect(14),!this.match(131))throw this.raise(zr.ModuleAttributeInvalidValue,{at:this.state.startLoc});u.value=this.parseStringLiteral(this.state.value),i.push(this.finishNode(u,"ImportAttribute"))}while(this.eat(12));return i}maybeParseModuleAttributes(){if(this.match(76)&&!this.hasPrecedingLineBreak())this.expectPlugin("moduleAttributes"),this.next();else return this.hasPlugin("moduleAttributes")?[]:null;const i=[],a=new Set;do{const u=this.startNode();if(u.key=this.parseIdentifier(!0),u.key.name!=="type"&&this.raise(zr.ModuleAttributeDifferentFromType,{at:u.key}),a.has(u.key.name)&&this.raise(zr.ModuleAttributesWithDuplicateKeys,{at:u.key,key:u.key.name}),a.add(u.key.name),this.expect(14),!this.match(131))throw this.raise(zr.ModuleAttributeInvalidValue,{at:this.state.startLoc});u.value=this.parseStringLiteral(this.state.value),this.finishNode(u,"ImportAttribute"),i.push(u)}while(this.eat(12));return i}maybeParseImportAssertions(){if(this.isContextual(94)&&!this.hasPrecedingLineBreak())this.expectPlugin("importAssertions"),this.next();else return this.hasPlugin("importAssertions")?[]:null;this.eat(5);const i=this.parseAssertEntries();return this.eat(8),i}maybeParseDefaultImportSpecifier(i){return this.shouldParseDefaultImport(i)?(this.parseImportSpecifierLocal(i,this.startNode(),"ImportDefaultSpecifier"),!0):!1}maybeParseStarImportSpecifier(i){if(this.match(55)){const a=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(i,a,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(i){let a=!0;for(this.expect(5);!this.eat(8);){if(a)a=!1;else{if(this.eat(14))throw this.raise(zr.DestructureNamedImport,{at:this.state.startLoc});if(this.expect(12),this.eat(8))break}const u=this.startNode(),p=this.match(131),y=this.isContextual(128);u.imported=this.parseModuleExportName();const T=this.parseImportSpecifier(u,p,i.importKind==="type"||i.importKind==="typeof",y,void 0);i.specifiers.push(T)}}parseImportSpecifier(i,a,u,p,y){if(this.eatContextual(93))i.local=this.parseIdentifier();else{const{imported:T}=i;if(a)throw this.raise(zr.ImportBindingIsString,{at:i,importName:T.value});this.checkReservedWord(T.name,i.loc.start,!0,!0),i.local||(i.local=aC(T))}return this.finishImportSpecifier(i,"ImportSpecifier",y)}isThisParam(i){return i.type==="Identifier"&&i.name==="this"}}let SVe=class extends bPt{constructor(i,a){i=A3t(i),super(i,a),this.options=i,this.initializeScopes(),this.plugins=TPt(this.options.plugins),this.filename=i.sourceFilename}getScopeHandler(){return Lye}parse(){this.enterInitialScopes();const i=this.startNode(),a=this.startNode();return this.nextToken(),i.errors=null,this.parseTopLevel(i,a),i.errors=this.state.errors,i}};function TPt(o){const i=new Map;for(const a of o){const[u,p]=Array.isArray(a)?a:[a,{}];i.has(u)||i.set(u,p||{})}return i}function SPt(o,i){var a;if(((a=i)==null?void 0:a.sourceType)==="unambiguous"){i=Object.assign({},i);try{i.sourceType="module";const u=mF(i,o),p=u.parse();if(u.sawUnambiguousESM)return p;if(u.ambiguousScriptDifferentAst)try{return i.sourceType="script",mF(i,o).parse()}catch{}else p.program.sourceType="script";return p}catch(u){try{return i.sourceType="script",mF(i,o).parse()}catch{}throw u}}else return mF(i,o).parse()}function xPt(o,i){const a=mF(i,o);return a.options.strictMode&&(a.state.strict=!0),a.getExpression()}function kPt(o){const i={};for(const a of Object.keys(o))i[a]=Wk(o[a]);return i}const CPt=kPt(D3t);function mF(o,i){let a=SVe;return o!=null&&o.plugins&&(dPt(o.plugins),a=wPt(o.plugins)),new a(o,i)}const ije={};function wPt(o){const i=mPt.filter(p=>wg(o,p)),a=i.join("/");let u=ije[a];if(!u){u=SVe;for(const p of i)u=TVe[p](u);ije[a]=u}return u}var c6=CQ.parse=SPt,xVe=CQ.parseExpression=xPt;CQ.tokTypes=CPt;const Dh=o=>o.type===4&&o.isStatic,H2=(o,i)=>o===i||o===Lze(i);function jye(o){if(H2(o,"Teleport"))return cA;if(H2(o,"Suspense"))return yI;if(H2(o,"KeepAlive"))return qF;if(H2(o,"BaseTransition"))return _ye}const EPt=/^\d|[^\$\w]/,l6=o=>!EPt.test(o),APt=/[A-Za-z_$\xA0-\uFFFF]/,PPt=/[\.\?\w$\xA0-\uFFFF]/,DPt=/\s+[.[]\s*|\s*[.[]\s+/g,NPt=o=>{o=o.trim().replace(DPt,T=>T.trim());let i=0,a=[],u=0,p=0,y=null;for(let T=0;T<o.length;T++){const P=o.charAt(T);switch(i){case 0:if(P==="[")a.push(i),i=1,u++;else if(P==="(")a.push(i),i=2,p++;else if(!(T===0?APt:PPt).test(P))return!1;break;case 1:P==="'"||P==='"'||P==="`"?(a.push(i),i=3,y=P):P==="["?u++:P==="]"&&(--u||(i=a.pop()));break;case 2:if(P==="'"||P==='"'||P==="`")a.push(i),i=3,y=P;else if(P==="(")p++;else if(P===")"){if(T===o.length-1)return!1;--p||(i=a.pop())}break;case 3:P===y&&(i=a.pop(),y=null);break}}return!u&&!p},kVe=(o,i)=>{try{let a=xVe(o,{plugins:i.expressionPlugins});return(a.type==="TSAsExpression"||a.type==="TSTypeAssertion")&&(a=a.expression),a.type==="MemberExpression"||a.type==="OptionalMemberExpression"||a.type==="Identifier"}catch{return!1}},Jye=kVe;function Uye(o,i,a){const p={source:o.source.slice(i,i+a),start:xA(o.start,o.source,i),end:o.end};return a!=null&&(p.end=xA(o.start,o.source,i+a)),p}function xA(o,i,a=i.length){return rI(sC({},o),i,a)}function rI(o,i,a=i.length){let u=0,p=-1;for(let y=0;y<a;y++)i.charCodeAt(y)===10&&(u++,p=y);return o.offset+=a,o.line+=u,o.column=p===-1?o.column+a:a-p,o}function Uhe(o,i){if(!o)throw new Error(i||"unexpected compiler condition")}function qm(o,i,a=!1){for(let u=0;u<o.props.length;u++){const p=o.props[u];if(p.type===7&&(a||p.exp)&&(ou(i)?p.name===i:i.test(p.name)))return p}}function R0(o,i,a=!1,u=!1){for(let p=0;p<o.props.length;p++){const y=o.props[p];if(y.type===6){if(a)continue;if(y.name===i&&(y.value||u))return y}else if(y.name==="bind"&&(y.exp||u)&&Kk(y.arg,i))return y}}function Kk(o,i){return!!(o&&Dh(o)&&o.content===i)}function PQ(o){return o.props.some(i=>i.type===7&&i.name==="bind"&&(!i.arg||i.arg.type!==4||!i.arg.isStatic))}function AF(o){return o.type===5||o.type===2}function zye(o){return o.type===7&&o.name==="slot"}function nI(o){return o.type===1&&o.tagType===3}function iI(o){return o.type===1&&o.tagType===2}const IPt=new Set([KN,bI]);function CVe(o,i=[]){if(o&&!ou(o)&&o.type===14){const a=o.callee;if(!ou(a)&&IPt.has(a))return CVe(o.arguments[0],i.concat(o))}return[o,i]}function QF(o,i,a){let u,p=o.type===13?o.props:o.arguments[2],y=[],T;if(p&&!ou(p)&&p.type===14){const P=CVe(p);p=P[0],y=P[1],T=y[y.length-1]}if(p==null||ou(p))u=F0([i]);else if(p.type===14){const P=p.arguments[0];!ou(P)&&P.type===15?sje(i,P)||P.properties.unshift(i):p.callee===vQ?u=bc(a.helper(vA),[F0([i]),p]):p.arguments.unshift(F0([i])),!u&&(u=p)}else p.type===15?(sje(i,p)||p.properties.unshift(i),u=p):(u=bc(a.helper(vA),[F0([i]),p]),T&&T.callee===bI&&(T=y[y.length-2]));o.type===13?T?T.arguments[0]=u:o.props=u:T?T.arguments[0]=u:o.arguments[2]=u}function sje(o,i){let a=!1;if(o.key.type===4){const u=o.key.content;a=i.properties.some(p=>p.key.type===4&&p.key.content===u)}return a}function YF(o,i){return`_${i}_${o.replace(/[^\w]/g,(a,u)=>a==="-"?"_":o.charCodeAt(u).toString())}`}function O0(o,i){if(!o||Object.keys(i).length===0)return!1;switch(o.type){case 1:for(let a=0;a<o.props.length;a++){const u=o.props[a];if(u.type===7&&(O0(u.arg,i)||O0(u.exp,i)))return!0}return o.children.some(a=>O0(a,i));case 11:return O0(o.source,i)?!0:o.children.some(a=>O0(a,i));case 9:return o.branches.some(a=>O0(a,i));case 10:return O0(o.condition,i)?!0:o.children.some(a=>O0(a,i));case 4:return!o.isStatic&&l6(o.content)&&!!i[o.content];case 8:return o.children.some(a=>dC(a)&&O0(a,i));case 5:case 12:return O0(o.content,i);case 2:case 3:return!1;default:return!1}}function wVe(o){return o.type===14&&o.callee===xQ?o.arguments[1].returns:o}const OPt={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:o=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${o}.sync\` should be changed to \`v-model:${o}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTER:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function zhe(o,i){const a=i.options?i.options.compatConfig:i.compatConfig,u=a&&a[o];return o==="MODE"?u||3:u}function LPt(o,i){const a=zhe("MODE",i),u=zhe(o,i);return a===3?u===!0:u!==!1}function MPt(o,i,a,...u){const p=LPt(o,i);return p&&EVe(o,i,a,...u),p}function EVe(o,i,a,...u){if(zhe(o,i)==="suppress-warning")return;const{message:y,link:T}=OPt[o],P=`(deprecation ${o}) ${typeof y=="function"?y(...u):y}${T?`
Details: ${T}`:""}`,I=new SyntaxError(P);I.code=o,a&&(I.loc=a),i.onWarn(I)}const FPt=/&(gt|lt|amp|apos|quot);/g,RPt={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},aje={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:LG,isPreTag:LG,isCustomElement:LG,decodeEntities:o=>o.replace(FPt,(i,a)=>RPt[a]),onError:fye,onWarn:zze,comments:!0};function DQ(o,i={}){const a=BPt(o,i),u=Y1(a);return TI(Vye(a,0,[]),Y2(a,u))}function BPt(o,i){const a=sC({},aje);let u;for(u in i)a[u]=i[u]===void 0?aje[u]:i[u];return{options:a,column:1,line:1,offset:0,originalSource:o,source:o,inPre:!1,inVPre:!1,onWarn:a.onWarn}}function Vye(o,i,a){const u=NQ(a),p=u?u.ns:0,y=[];for(;!GPt(o,i,a);){const P=o.source;let I;if(i===0||i===1){if(!o.inVPre&&Ag(P,o.options.delimiters[0]))I=WPt(o,i);else if(i===0&&P[0]==="<")if(P.length===1)xf(o,5,1);else if(P[1]==="!")Ag(P,"<!--")?I=JPt(o):Ag(P,"<!DOCTYPE")?I=rF(o):Ag(P,"<![CDATA[")?p!==0?I=jPt(o,a):(xf(o,1),I=rF(o)):(xf(o,11),I=rF(o));else if(P[1]==="/")if(P.length===2)xf(o,5,2);else if(P[2]===">"){xf(o,14,2),gm(o,3);continue}else if(/[a-z]/i.test(P[2])){xf(o,23),Vhe(o,yX.End,u);continue}else xf(o,12,2),I=rF(o);else/[a-z]/i.test(P[1])?I=UPt(o,a):P[1]==="?"?(xf(o,21,1),I=rF(o)):xf(o,12,1)}if(I||(I=HPt(o,i)),Cy(I))for(let B=0;B<I.length;B++)oje(y,I[B]);else oje(y,I)}let T=!1;if(i!==2&&i!==1){const P=o.options.whitespace!=="preserve";for(let I=0;I<y.length;I++){const B=y[I];if(B.type===2)if(o.inPre)B.content=B.content.replace(/\r\n/g,`
`);else if(/[^\t\r\n\f ]/.test(B.content))P&&(B.content=B.content.replace(/[\t\r\n\f ]+/g," "));else{const z=y[I-1],H=y[I+1];!z||!H||P&&(z.type===3&&H.type===3||z.type===3&&H.type===1||z.type===1&&H.type===3||z.type===1&&H.type===1&&/[\r\n]/.test(B.content))?(T=!0,y[I]=null):B.content=" "}else B.type===3&&!o.options.comments&&(T=!0,y[I]=null)}if(o.inPre&&u&&o.options.isPreTag(u.tag)){const I=y[0];I&&I.type===2&&(I.content=I.content.replace(/^\r?\n/,""))}}return T?y.filter(Boolean):y}function oje(o,i){if(i.type===2){const a=NQ(o);if(a&&a.type===2&&a.loc.end.offset===i.loc.start.offset){a.content+=i.content,a.loc.end=i.loc.end,a.loc.source+=i.loc.source;return}}o.push(i)}function jPt(o,i){gm(o,9);const a=Vye(o,3,i);return o.source.length===0?xf(o,6):gm(o,3),a}function JPt(o){const i=Y1(o);let a;const u=/--(\!)?>/.exec(o.source);if(!u)a=o.source.slice(4),gm(o,o.source.length),xf(o,7);else{u.index<=3&&xf(o,0),u[1]&&xf(o,10),a=o.source.slice(4,u.index);const p=o.source.slice(0,u.index);let y=1,T=0;for(;(T=p.indexOf("<!--",y))!==-1;)gm(o,T-y+1),T+4<p.length&&xf(o,16),y=T+1;gm(o,u.index+u[0].length-y+1)}return{type:3,content:a,loc:Y2(o,i)}}function rF(o){const i=Y1(o),a=o.source[1]==="?"?1:2;let u;const p=o.source.indexOf(">");return p===-1?(u=o.source.slice(a),gm(o,o.source.length)):(u=o.source.slice(a,p),gm(o,p+1)),{type:3,content:u,loc:Y2(o,i)}}function UPt(o,i){const a=o.inPre,u=o.inVPre,p=NQ(i),y=Vhe(o,yX.Start,p),T=o.inPre&&!a,P=o.inVPre&&!u;if(y.isSelfClosing||o.options.isVoidTag(y.tag))return T&&(o.inPre=!1),P&&(o.inVPre=!1),y;i.push(y);const I=o.options.getTextMode(y,p),B=Vye(o,I,i);if(i.pop(),y.children=B,$he(o.source,y.tag))Vhe(o,yX.End,p);else if(xf(o,24,0,y.loc.start),o.source.length===0&&y.tag.toLowerCase()==="script"){const z=B[0];z&&Ag(z.loc.source,"<!--")&&xf(o,8)}return y.loc=Y2(o,y.loc.start),T&&(o.inPre=!1),P&&(o.inVPre=!1),y}var yX=(o=>(o[o.Start=0]="Start",o[o.End=1]="End",o))(yX||{});const zPt=Lh("if,else,else-if,for,slot");function Vhe(o,i,a){const u=Y1(o),p=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(o.source),y=p[1],T=o.options.getNamespace(y,a);gm(o,p[0].length),ZF(o);const P=Y1(o),I=o.source;o.options.isPreTag(y)&&(o.inPre=!0);let B=cje(o,i);i===0&&!o.inVPre&&B.some(Q=>Q.type===7&&Q.name==="pre")&&(o.inVPre=!0,sC(o,P),o.source=I,B=cje(o,i).filter(Q=>Q.name!=="v-pre"));let z=!1;if(o.source.length===0?xf(o,9):(z=Ag(o.source,"/>"),i===1&&z&&xf(o,4),gm(o,z?2:1)),i===1)return;let H=0;return o.inVPre||(y==="slot"?H=2:y==="template"?B.some(Q=>Q.type===7&&zPt(Q.name))&&(H=3):VPt(y,B,o)&&(H=1)),{type:1,ns:T,tag:y,tagType:H,props:B,isSelfClosing:z,children:[],loc:Y2(o,u),codegenNode:void 0}}function VPt(o,i,a){const u=a.options;if(u.isCustomElement(o))return!1;if(o==="component"||/^[A-Z]/.test(o)||jye(o)||u.isBuiltInComponent&&u.isBuiltInComponent(o)||u.isNativeTag&&!u.isNativeTag(o))return!0;for(let p=0;p<i.length;p++){const y=i[p];if(y.type===6){if(y.name==="is"&&y.value&&y.value.content.startsWith("vue:"))return!0}else{if(y.name==="is")return!0;y.name==="bind"&&Kk(y.arg,"is")}}}function cje(o,i){const a=[],u=new Set;for(;o.source.length>0&&!Ag(o.source,">")&&!Ag(o.source,"/>");){if(Ag(o.source,"/")){xf(o,22),gm(o,1),ZF(o);continue}i===1&&xf(o,3);const p=$Pt(o,u);p.type===6&&p.value&&p.name==="class"&&(p.value.content=p.value.content.replace(/\s+/g," ").trim()),i===0&&a.push(p),/^[^\t\r\n\f />]/.test(o.source)&&xf(o,15),ZF(o)}return a}function $Pt(o,i){var a;const u=Y1(o),y=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(o.source)[0];i.has(y)&&xf(o,2),i.add(y),y[0]==="="&&xf(o,19);{const I=/["'<]/g;let B;for(;B=I.exec(y);)xf(o,17,B.index)}gm(o,y.length);let T;/^[\t\r\n\f ]*=/.test(o.source)&&(ZF(o),gm(o,1),ZF(o),T=qPt(o),T||xf(o,13));const P=Y2(o,u);if(!o.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(y)){const I=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(y);let B=Ag(y,"."),z=I[1]||(B||Ag(y,":")?"bind":Ag(y,"@")?"on":"slot"),H;if(I[2]){const Ie=z==="slot",ze=y.lastIndexOf(I[2],y.length-(((a=I[3])==null?void 0:a.length)||0)),Ue=Y2(o,lje(o,u,ze),lje(o,u,ze+I[2].length+(Ie&&I[3]||"").length));let et=I[2],Ve=!0;et.startsWith("[")?(Ve=!1,et.endsWith("]")?et=et.slice(1,et.length-1):(xf(o,27),et=et.slice(1))):Ie&&(et+=I[3]||""),H={type:4,content:et,isStatic:Ve,constType:Ve?3:0,loc:Ue}}if(T&&T.isQuoted){const Ie=T.loc;Ie.start.offset++,Ie.start.column++,Ie.end=xA(Ie.start,T.content),Ie.source=Ie.source.slice(1,-1)}const Q=I[3]?I[3].slice(1).split("."):[];return B&&Q.push("prop"),{type:7,name:z,exp:T&&{type:4,content:T.content,isStatic:!1,constType:0,loc:T.loc},arg:H,modifiers:Q,loc:P}}return!o.inVPre&&Ag(y,"v-")&&xf(o,26),{type:6,name:y,value:T&&{type:2,content:T.content,loc:T.loc},loc:P}}function qPt(o){const i=Y1(o);let a;const u=o.source[0],p=u==='"'||u==="'";if(p){gm(o,1);const y=o.source.indexOf(u);y===-1?a=PF(o,o.source.length,4):(a=PF(o,y,4),gm(o,1))}else{const y=/^[^\t\r\n\f >]+/.exec(o.source);if(!y)return;const T=/["'<=`]/g;let P;for(;P=T.exec(y[0]);)xf(o,18,P.index);a=PF(o,y[0].length,4)}return{content:a,isQuoted:p,loc:Y2(o,i)}}function WPt(o,i){const[a,u]=o.options.delimiters,p=o.source.indexOf(u,a.length);if(p===-1){xf(o,25);return}const y=Y1(o);gm(o,a.length);const T=Y1(o),P=Y1(o),I=p-a.length,B=o.source.slice(0,I),z=PF(o,I,i),H=z.trim(),Q=z.indexOf(H);Q>0&&rI(T,B,Q);const Ie=I-(z.length-H.length-Q);return rI(P,B,Ie),gm(o,u.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:H,loc:Y2(o,T,P)},loc:Y2(o,y)}}function HPt(o,i){const a=i===3?["]]>"]:["<",o.options.delimiters[0]];let u=o.source.length;for(let T=0;T<a.length;T++){const P=o.source.indexOf(a[T],1);P!==-1&&u>P&&(u=P)}const p=Y1(o);return{type:2,content:PF(o,u,i),loc:Y2(o,p)}}function PF(o,i,a){const u=o.source.slice(0,i);return gm(o,i),a===2||a===3||!u.includes("&")?u:o.options.decodeEntities(u,a===4)}function Y1(o){const{column:i,line:a,offset:u}=o;return{column:i,line:a,offset:u}}function Y2(o,i,a){return a=a||Y1(o),{start:i,end:a,source:o.originalSource.slice(i.offset,a.offset)}}function NQ(o){return o[o.length-1]}function Ag(o,i){return o.startsWith(i)}function gm(o,i){const{source:a}=o;rI(o,a,i),o.source=a.slice(i)}function ZF(o){const i=/^[\t\r\n\f ]+/.exec(o.source);i&&gm(o,i[0].length)}function lje(o,i,a){return xA(i,o.originalSource.slice(i.offset,a),a)}function xf(o,i,a,u=Y1(o)){a&&(u.offset+=a,u.column+=a),o.options.onError(Fu(i,{start:u,end:u,source:""}))}function GPt(o,i,a){const u=o.source;switch(i){case 0:if(Ag(u,"</")){for(let p=a.length-1;p>=0;--p)if($he(u,a[p].tag))return!0}break;case 1:case 2:{const p=NQ(a);if(p&&$he(u,p.tag))return!0;break}case 3:if(Ag(u,"]]>"))return!0;break}return!u}function $he(o,i){return Ag(o,"</")&&o.slice(2,2+i.length).toLowerCase()===i.toLowerCase()&&/[\t\r\n\f />]/.test(o[2+i.length]||">")}function XPt(o,i){jG(o,i,AVe(o,o.children[0]))}function AVe(o,i){const{children:a}=o;return a.length===1&&i.type===1&&!iI(i)}function jG(o,i,a=!1){const{children:u}=o,p=u.length;let y=0;for(let T=0;T<u.length;T++){const P=u[T];if(P.type===1&&P.tagType===0){const I=a?0:G1(P,i);if(I>0){if(I>=2){P.codegenNode.patchFlag=-1+" /* HOISTED */",P.codegenNode=i.hoist(P.codegenNode),y++;continue}}else{const B=P.codegenNode;if(B.type===13){const z=IVe(B);if((!z||z===512||z===1)&&DVe(P,i)>=2){const H=NVe(P);H&&(B.props=i.hoist(H))}B.dynamicProps&&(B.dynamicProps=i.hoist(B.dynamicProps))}}}if(P.type===1){const I=P.tagType===1;I&&i.scopes.vSlot++,jG(P,i),I&&i.scopes.vSlot--}else if(P.type===11)jG(P,i,P.children.length===1);else if(P.type===9)for(let I=0;I<P.branches.length;I++)jG(P.branches[I],i,P.branches[I].children.length===1)}y&&i.transformHoist&&i.transformHoist(u,i,o),y&&y===p&&o.type===1&&o.tagType===0&&o.codegenNode&&o.codegenNode.type===13&&Cy(o.codegenNode.children)&&(o.codegenNode.children=i.hoist(wA(o.codegenNode.children)))}function G1(o,i){const{constantCache:a}=i;switch(o.type){case 1:if(o.tagType!==0)return 0;const u=a.get(o);if(u!==void 0)return u;const p=o.codegenNode;if(p.type!==13||p.isBlock&&o.tag!=="svg"&&o.tag!=="foreignObject")return 0;if(IVe(p))return a.set(o,0),0;{let P=3;const I=DVe(o,i);if(I===0)return a.set(o,0),0;I<P&&(P=I);for(let B=0;B<o.children.length;B++){const z=G1(o.children[B],i);if(z===0)return a.set(o,0),0;z<P&&(P=z)}if(P>1)for(let B=0;B<o.props.length;B++){const z=o.props[B];if(z.type===7&&z.name==="bind"&&z.exp){const H=G1(z.exp,i);if(H===0)return a.set(o,0),0;H<P&&(P=H)}}if(p.isBlock){for(let B=0;B<o.props.length;B++)if(o.props[B].type===7)return a.set(o,0),0;i.removeHelper(a6),i.removeHelper(TA(i.inSSR,p.isComponent)),p.isBlock=!1,i.helper(bA(i.inSSR,p.isComponent))}return a.set(o,P),P}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return G1(o.content,i);case 4:return o.constType;case 8:let T=3;for(let P=0;P<o.children.length;P++){const I=o.children[P];if(ou(I)||gI(I))continue;const B=G1(I,i);if(B===0)return 0;B<T&&(T=B)}return T;default:return 0}}const QPt=new Set([gQ,yQ,KN,bI]);function PVe(o,i){if(o.type===14&&!ou(o.callee)&&QPt.has(o.callee)){const a=o.arguments[0];if(a.type===4)return G1(a,i);if(a.type===14)return PVe(a,i)}return 0}function DVe(o,i){let a=3;const u=NVe(o);if(u&&u.type===15){const{properties:p}=u;for(let y=0;y<p.length;y++){const{key:T,value:P}=p[y],I=G1(T,i);if(I===0)return I;I<a&&(a=I);let B;if(P.type===4?B=G1(P,i):P.type===14?B=PVe(P,i):B=0,B===0)return B;B<a&&(a=B)}}return a}function NVe(o){const i=o.codegenNode;if(i.type===13)return i.props}function IVe(o){const i=o.patchFlag;return i?parseInt(i,10):void 0}function IR(o,{filename:i="",prefixIdentifiers:a=!1,hoistStatic:u=!1,cacheHandlers:p=!1,nodeTransforms:y=[],directiveTransforms:T={},transformHoist:P=null,isBuiltInComponent:I=jBe,isCustomElement:B=jBe,expressionPlugins:z=[],scopeId:H=null,slotted:Q=!0,ssr:Ie=!1,inSSR:ze=!1,ssrCssVars:Ue="",bindingMetadata:et=Z4t,inline:Ve=!1,isTS:vt=!1,onError:ut=fye,onWarn:He=zze,compatConfig:Bt}){const ar=i.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),kr={selfName:ar&&s6(X2(ar[1])),prefixIdentifiers:a,hoistStatic:u,cacheHandlers:p,nodeTransforms:y,directiveTransforms:T,transformHoist:P,isBuiltInComponent:I,isCustomElement:B,expressionPlugins:z,scopeId:H,slotted:Q,ssr:Ie,inSSR:ze,ssrCssVars:Ue,bindingMetadata:et,inline:Ve,isTS:vt,onError:ut,onWarn:He,compatConfig:Bt,root:o,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:o,childIndex:0,inVOnce:!1,helper(Wt){const _r=kr.helpers.get(Wt)||0;return kr.helpers.set(Wt,_r+1),Wt},removeHelper(Wt){const _r=kr.helpers.get(Wt);if(_r){const An=_r-1;An?kr.helpers.set(Wt,An):kr.helpers.delete(Wt)}},helperString(Wt){return`_${M0[kr.helper(Wt)]}`},replaceNode(Wt){{if(!kr.currentNode)throw new Error("Node being replaced is already removed.");if(!kr.parent)throw new Error("Cannot replace root node.")}kr.parent.children[kr.childIndex]=kr.currentNode=Wt},removeNode(Wt){if(!kr.parent)throw new Error("Cannot remove root node.");const _r=kr.parent.children,An=Wt?_r.indexOf(Wt):kr.currentNode?kr.childIndex:-1;if(An<0)throw new Error("node being removed is not a child of current parent");!Wt||Wt===kr.currentNode?(kr.currentNode=null,kr.onNodeRemoved()):kr.childIndex>An&&(kr.childIndex--,kr.onNodeRemoved()),kr.parent.children.splice(An,1)},onNodeRemoved:()=>{},addIdentifiers(Wt){ou(Wt)?Ot(Wt):Wt.identifiers?Wt.identifiers.forEach(Ot):Wt.type===4&&Ot(Wt.content)},removeIdentifiers(Wt){ou(Wt)?xt(Wt):Wt.identifiers?Wt.identifiers.forEach(xt):Wt.type===4&&xt(Wt.content)},hoist(Wt){ou(Wt)&&(Wt=Ta(Wt)),kr.hoists.push(Wt);const _r=Ta(`_hoisted_${kr.hoists.length}`,!1,Wt.loc,2);return _r.hoisted=Wt,_r},cache(Wt,_r=!1){return qze(kr.cached++,Wt,_r)}};function Ot(Wt){const{identifiers:_r}=kr;_r[Wt]===void 0&&(_r[Wt]=0),_r[Wt]++}function xt(Wt){kr.identifiers[Wt]--}return kr}function IQ(o,i){const a=IR(o,i);SI(o,a),i.hoistStatic&&XPt(o,a),i.ssr||YPt(o,a),o.helpers=new Set([...a.helpers.keys()]),o.components=[...a.components],o.directives=[...a.directives],o.imports=a.imports,o.hoists=a.hoists,o.temps=a.temps,o.cached=a.cached}function YPt(o,i){const{helper:a}=i,{children:u}=o;if(u.length===1){const p=u[0];if(AVe(o,p)&&p.codegenNode){const y=p.codegenNode;y.type===13&&kQ(y,i),o.codegenNode=y}else o.codegenNode=p}else if(u.length>1){let p=64,y=ZS[64];u.filter(T=>T.type!==3).length===1&&(p|=2048,y+=`, ${ZS[2048]}`),o.codegenNode=tI(i,a(YN),void 0,o.children,p+` /* ${y} */`,void 0,void 0,!0,void 0,!1)}}function ZPt(o,i){let a=0;const u=()=>{a--};for(;a<o.children.length;a++){const p=o.children[a];ou(p)||(i.parent=o,i.childIndex=a,i.onNodeRemoved=u,SI(p,i))}}function SI(o,i){i.currentNode=o;const{nodeTransforms:a}=i,u=[];for(let y=0;y<a.length;y++){const T=a[y](o,i);if(T&&(Cy(T)?u.push(...T):u.push(T)),i.currentNode)o=i.currentNode;else return}switch(o.type){case 3:i.ssr||i.helper(vI);break;case 5:i.ssr||i.helper(PR);break;case 9:for(let y=0;y<o.branches.length;y++)SI(o.branches[y],i);break;case 10:case 11:case 1:case 0:ZPt(o,i);break}i.currentNode=o;let p=u.length;for(;p--;)u[p]()}function OR(o,i){const a=ou(o)?u=>u===o:u=>o.test(u);return(u,p)=>{if(u.type===1){const{props:y}=u;if(u.tagType===3&&y.some(zye))return;const T=[];for(let P=0;P<y.length;P++){const I=y[P];if(I.type===7&&a(I.name)){y.splice(P,1),P--;const B=i(u,I,p);B&&T.push(B)}}return T}}}var xI={},$ye={},OQ={},qye={},uje="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");qye.encode=function(o){if(0<=o&&o<uje.length)return uje[o];throw new TypeError("Must be between 0 and 63: "+o)};qye.decode=function(o){var i=65,a=90,u=97,p=122,y=48,T=57,P=43,I=47,B=26,z=52;return i<=o&&o<=a?o-i:u<=o&&o<=p?o-u+B:y<=o&&o<=T?o-y+z:o==P?62:o==I?63:-1};var OVe=qye,Wye=5,LVe=1<<Wye,MVe=LVe-1,FVe=LVe;function KPt(o){return o<0?(-o<<1)+1:(o<<1)+0}function eDt(o){var i=(o&1)===1,a=o>>1;return i?-a:a}OQ.encode=function(i){var a="",u,p=KPt(i);do u=p&MVe,p>>>=Wye,p>0&&(u|=FVe),a+=OVe.encode(u);while(p>0);return a};OQ.decode=function(i,a,u){var p=i.length,y=0,T=0,P,I;do{if(a>=p)throw new Error("Expected more digits in base 64 VLQ value.");if(I=OVe.decode(i.charCodeAt(a++)),I===-1)throw new Error("Invalid base64 digit: "+i.charAt(a-1));P=!!(I&FVe),I&=MVe,y=y+(I<<T),T+=Wye}while(P);u.value=eDt(y),u.rest=a};var kI={};(function(o){function i(Ot,xt,Wt){if(xt in Ot)return Ot[xt];if(arguments.length===3)return Wt;throw new Error('"'+xt+'" is a required argument.')}o.getArg=i;var a=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,u=/^data:.+\,.+$/;function p(Ot){var xt=Ot.match(a);return xt?{scheme:xt[1],auth:xt[2],host:xt[3],port:xt[4],path:xt[5]}:null}o.urlParse=p;function y(Ot){var xt="";return Ot.scheme&&(xt+=Ot.scheme+":"),xt+="//",Ot.auth&&(xt+=Ot.auth+"@"),Ot.host&&(xt+=Ot.host),Ot.port&&(xt+=":"+Ot.port),Ot.path&&(xt+=Ot.path),xt}o.urlGenerate=y;var T=32;function P(Ot){var xt=[];return function(Wt){for(var _r=0;_r<xt.length;_r++)if(xt[_r].input===Wt){var An=xt[0];return xt[0]=xt[_r],xt[_r]=An,xt[0].result}var hr=Ot(Wt);return xt.unshift({input:Wt,result:hr}),xt.length>T&&xt.pop(),hr}}var I=P(function(xt){var Wt=xt,_r=p(xt);if(_r){if(!_r.path)return xt;Wt=_r.path}for(var An=o.isAbsolute(Wt),hr=[],Fi=0,ss=0;;)if(Fi=ss,ss=Wt.indexOf("/",Fi),ss===-1){hr.push(Wt.slice(Fi));break}else for(hr.push(Wt.slice(Fi,ss));ss<Wt.length&&Wt[ss]==="/";)ss++;for(var qt,Ba=0,ss=hr.length-1;ss>=0;ss--)qt=hr[ss],qt==="."?hr.splice(ss,1):qt===".."?Ba++:Ba>0&&(qt===""?(hr.splice(ss+1,Ba),Ba=0):(hr.splice(ss,2),Ba--));return Wt=hr.join("/"),Wt===""&&(Wt=An?"/":"."),_r?(_r.path=Wt,y(_r)):Wt});o.normalize=I;function B(Ot,xt){Ot===""&&(Ot="."),xt===""&&(xt=".");var Wt=p(xt),_r=p(Ot);if(_r&&(Ot=_r.path||"/"),Wt&&!Wt.scheme)return _r&&(Wt.scheme=_r.scheme),y(Wt);if(Wt||xt.match(u))return xt;if(_r&&!_r.host&&!_r.path)return _r.host=xt,y(_r);var An=xt.charAt(0)==="/"?xt:I(Ot.replace(/\/+$/,"")+"/"+xt);return _r?(_r.path=An,y(_r)):An}o.join=B,o.isAbsolute=function(Ot){return Ot.charAt(0)==="/"||a.test(Ot)};function z(Ot,xt){Ot===""&&(Ot="."),Ot=Ot.replace(/\/$/,"");for(var Wt=0;xt.indexOf(Ot+"/")!==0;){var _r=Ot.lastIndexOf("/");if(_r<0||(Ot=Ot.slice(0,_r),Ot.match(/^([^\/]+:\/)?\/*$/)))return xt;++Wt}return Array(Wt+1).join("../")+xt.substr(Ot.length+1)}o.relative=z;var H=function(){var Ot=Object.create(null);return!("__proto__"in Ot)}();function Q(Ot){return Ot}function Ie(Ot){return Ue(Ot)?"$"+Ot:Ot}o.toSetString=H?Q:Ie;function ze(Ot){return Ue(Ot)?Ot.slice(1):Ot}o.fromSetString=H?Q:ze;function Ue(Ot){if(!Ot)return!1;var xt=Ot.length;if(xt<9||Ot.charCodeAt(xt-1)!==95||Ot.charCodeAt(xt-2)!==95||Ot.charCodeAt(xt-3)!==111||Ot.charCodeAt(xt-4)!==116||Ot.charCodeAt(xt-5)!==111||Ot.charCodeAt(xt-6)!==114||Ot.charCodeAt(xt-7)!==112||Ot.charCodeAt(xt-8)!==95||Ot.charCodeAt(xt-9)!==95)return!1;for(var Wt=xt-10;Wt>=0;Wt--)if(Ot.charCodeAt(Wt)!==36)return!1;return!0}function et(Ot,xt,Wt){var _r=He(Ot.source,xt.source);return _r!==0||(_r=Ot.originalLine-xt.originalLine,_r!==0)||(_r=Ot.originalColumn-xt.originalColumn,_r!==0||Wt)||(_r=Ot.generatedColumn-xt.generatedColumn,_r!==0)||(_r=Ot.generatedLine-xt.generatedLine,_r!==0)?_r:He(Ot.name,xt.name)}o.compareByOriginalPositions=et;function Ve(Ot,xt,Wt){var _r;return _r=Ot.originalLine-xt.originalLine,_r!==0||(_r=Ot.originalColumn-xt.originalColumn,_r!==0||Wt)||(_r=Ot.generatedColumn-xt.generatedColumn,_r!==0)||(_r=Ot.generatedLine-xt.generatedLine,_r!==0)?_r:He(Ot.name,xt.name)}o.compareByOriginalPositionsNoSource=Ve;function vt(Ot,xt,Wt){var _r=Ot.generatedLine-xt.generatedLine;return _r!==0||(_r=Ot.generatedColumn-xt.generatedColumn,_r!==0||Wt)||(_r=He(Ot.source,xt.source),_r!==0)||(_r=Ot.originalLine-xt.originalLine,_r!==0)||(_r=Ot.originalColumn-xt.originalColumn,_r!==0)?_r:He(Ot.name,xt.name)}o.compareByGeneratedPositionsDeflated=vt;function ut(Ot,xt,Wt){var _r=Ot.generatedColumn-xt.generatedColumn;return _r!==0||Wt||(_r=He(Ot.source,xt.source),_r!==0)||(_r=Ot.originalLine-xt.originalLine,_r!==0)||(_r=Ot.originalColumn-xt.originalColumn,_r!==0)?_r:He(Ot.name,xt.name)}o.compareByGeneratedPositionsDeflatedNoLine=ut;function He(Ot,xt){return Ot===xt?0:Ot===null?1:xt===null?-1:Ot>xt?1:-1}function Bt(Ot,xt){var Wt=Ot.generatedLine-xt.generatedLine;return Wt!==0||(Wt=Ot.generatedColumn-xt.generatedColumn,Wt!==0)||(Wt=He(Ot.source,xt.source),Wt!==0)||(Wt=Ot.originalLine-xt.originalLine,Wt!==0)||(Wt=Ot.originalColumn-xt.originalColumn,Wt!==0)?Wt:He(Ot.name,xt.name)}o.compareByGeneratedPositionsInflated=Bt;function ar(Ot){return JSON.parse(Ot.replace(/^\)]}'[^\n]*\n/,""))}o.parseSourceMapInput=ar;function kr(Ot,xt,Wt){if(xt=xt||"",Ot&&(Ot[Ot.length-1]!=="/"&&xt[0]!=="/"&&(Ot+="/"),xt=Ot+xt),Wt){var _r=p(Wt);if(!_r)throw new Error("sourceMapURL could not be parsed");if(_r.path){var An=_r.path.lastIndexOf("/");An>=0&&(_r.path=_r.path.substring(0,An+1))}xt=B(y(_r),xt)}return I(xt)}o.computeSourceURL=kr})(kI);var Hye={},Gye=kI,Xye=Object.prototype.hasOwnProperty,uA=typeof Map<"u";function cC(){this._array=[],this._set=uA?new Map:Object.create(null)}cC.fromArray=function(i,a){for(var u=new cC,p=0,y=i.length;p<y;p++)u.add(i[p],a);return u};cC.prototype.size=function(){return uA?this._set.size:Object.getOwnPropertyNames(this._set).length};cC.prototype.add=function(i,a){var u=uA?i:Gye.toSetString(i),p=uA?this.has(i):Xye.call(this._set,u),y=this._array.length;(!p||a)&&this._array.push(i),p||(uA?this._set.set(i,y):this._set[u]=y)};cC.prototype.has=function(i){if(uA)return this._set.has(i);var a=Gye.toSetString(i);return Xye.call(this._set,a)};cC.prototype.indexOf=function(i){if(uA){var a=this._set.get(i);if(a>=0)return a}else{var u=Gye.toSetString(i);if(Xye.call(this._set,u))return this._set[u]}throw new Error('"'+i+'" is not in the set.')};cC.prototype.at=function(i){if(i>=0&&i<this._array.length)return this._array[i];throw new Error("No element indexed by "+i)};cC.prototype.toArray=function(){return this._array.slice()};Hye.ArraySet=cC;var RVe={},BVe=kI;function tDt(o,i){var a=o.generatedLine,u=i.generatedLine,p=o.generatedColumn,y=i.generatedColumn;return u>a||u==a&&y>=p||BVe.compareByGeneratedPositionsInflated(o,i)<=0}function LQ(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}LQ.prototype.unsortedForEach=function(i,a){this._array.forEach(i,a)};LQ.prototype.add=function(i){tDt(this._last,i)?(this._last=i,this._array.push(i)):(this._sorted=!1,this._array.push(i))};LQ.prototype.toArray=function(){return this._sorted||(this._array.sort(BVe.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};RVe.MappingList=LQ;var nF=OQ,Ld=kI,vX=Hye.ArraySet,rDt=RVe.MappingList;function Cb(o){o||(o={}),this._file=Ld.getArg(o,"file",null),this._sourceRoot=Ld.getArg(o,"sourceRoot",null),this._skipValidation=Ld.getArg(o,"skipValidation",!1),this._sources=new vX,this._names=new vX,this._mappings=new rDt,this._sourcesContents=null}Cb.prototype._version=3;Cb.fromSourceMap=function(i){var a=i.sourceRoot,u=new Cb({file:i.file,sourceRoot:a});return i.eachMapping(function(p){var y={generated:{line:p.generatedLine,column:p.generatedColumn}};p.source!=null&&(y.source=p.source,a!=null&&(y.source=Ld.relative(a,y.source)),y.original={line:p.originalLine,column:p.originalColumn},p.name!=null&&(y.name=p.name)),u.addMapping(y)}),i.sources.forEach(function(p){var y=p;a!==null&&(y=Ld.relative(a,p)),u._sources.has(y)||u._sources.add(y);var T=i.sourceContentFor(p);T!=null&&u.setSourceContent(p,T)}),u};Cb.prototype.addMapping=function(i){var a=Ld.getArg(i,"generated"),u=Ld.getArg(i,"original",null),p=Ld.getArg(i,"source",null),y=Ld.getArg(i,"name",null);this._skipValidation||this._validateMapping(a,u,p,y),p!=null&&(p=String(p),this._sources.has(p)||this._sources.add(p)),y!=null&&(y=String(y),this._names.has(y)||this._names.add(y)),this._mappings.add({generatedLine:a.line,generatedColumn:a.column,originalLine:u!=null&&u.line,originalColumn:u!=null&&u.column,source:p,name:y})};Cb.prototype.setSourceContent=function(i,a){var u=i;this._sourceRoot!=null&&(u=Ld.relative(this._sourceRoot,u)),a!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Ld.toSetString(u)]=a):this._sourcesContents&&(delete this._sourcesContents[Ld.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};Cb.prototype.applySourceMap=function(i,a,u){var p=a;if(a==null){if(i.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);p=i.file}var y=this._sourceRoot;y!=null&&(p=Ld.relative(y,p));var T=new vX,P=new vX;this._mappings.unsortedForEach(function(I){if(I.source===p&&I.originalLine!=null){var B=i.originalPositionFor({line:I.originalLine,column:I.originalColumn});B.source!=null&&(I.source=B.source,u!=null&&(I.source=Ld.join(u,I.source)),y!=null&&(I.source=Ld.relative(y,I.source)),I.originalLine=B.line,I.originalColumn=B.column,B.name!=null&&(I.name=B.name))}var z=I.source;z!=null&&!T.has(z)&&T.add(z);var H=I.name;H!=null&&!P.has(H)&&P.add(H)},this),this._sources=T,this._names=P,i.sources.forEach(function(I){var B=i.sourceContentFor(I);B!=null&&(u!=null&&(I=Ld.join(u,I)),y!=null&&(I=Ld.relative(y,I)),this.setSourceContent(I,B))},this)};Cb.prototype._validateMapping=function(i,a,u,p){if(a&&typeof a.line!="number"&&typeof a.column!="number")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(!(i&&"line"in i&&"column"in i&&i.line>0&&i.column>=0&&!a&&!u&&!p)){if(i&&"line"in i&&"column"in i&&a&&"line"in a&&"column"in a&&i.line>0&&i.column>=0&&a.line>0&&a.column>=0&&u)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:i,source:u,original:a,name:p}))}};Cb.prototype._serializeMappings=function(){for(var i=0,a=1,u=0,p=0,y=0,T=0,P="",I,B,z,H,Q=this._mappings.toArray(),Ie=0,ze=Q.length;Ie<ze;Ie++){if(B=Q[Ie],I="",B.generatedLine!==a)for(i=0;B.generatedLine!==a;)I+=";",a++;else if(Ie>0){if(!Ld.compareByGeneratedPositionsInflated(B,Q[Ie-1]))continue;I+=","}I+=nF.encode(B.generatedColumn-i),i=B.generatedColumn,B.source!=null&&(H=this._sources.indexOf(B.source),I+=nF.encode(H-T),T=H,I+=nF.encode(B.originalLine-1-p),p=B.originalLine-1,I+=nF.encode(B.originalColumn-u),u=B.originalColumn,B.name!=null&&(z=this._names.indexOf(B.name),I+=nF.encode(z-y),y=z)),P+=I}return P};Cb.prototype._generateSourcesContent=function(i,a){return i.map(function(u){if(!this._sourcesContents)return null;a!=null&&(u=Ld.relative(a,u));var p=Ld.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,p)?this._sourcesContents[p]:null},this)};Cb.prototype.toJSON=function(){var i={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(i.file=this._file),this._sourceRoot!=null&&(i.sourceRoot=this._sourceRoot),this._sourcesContents&&(i.sourcesContent=this._generateSourcesContent(i.sources,i.sourceRoot)),i};Cb.prototype.toString=function(){return JSON.stringify(this.toJSON())};$ye.SourceMapGenerator=Cb;var MQ={},jVe={};(function(o){o.GREATEST_LOWER_BOUND=1,o.LEAST_UPPER_BOUND=2;function i(a,u,p,y,T,P){var I=Math.floor((u-a)/2)+a,B=T(p,y[I],!0);return B===0?I:B>0?u-I>1?i(I,u,p,y,T,P):P==o.LEAST_UPPER_BOUND?u<y.length?u:-1:I:I-a>1?i(a,I,p,y,T,P):P==o.LEAST_UPPER_BOUND?I:a<0?-1:a}o.search=function(u,p,y,T){if(p.length===0)return-1;var P=i(-1,p.length,u,p,y,T||o.GREATEST_LOWER_BOUND);if(P<0)return-1;for(;P-1>=0&&y(p[P],p[P-1],!0)===0;)--P;return P}})(jVe);var JVe={};function nDt(o){function i(p,y,T){var P=p[y];p[y]=p[T],p[T]=P}function a(p,y){return Math.round(p+Math.random()*(y-p))}function u(p,y,T,P){if(T<P){var I=a(T,P),B=T-1;i(p,I,P);for(var z=p[P],H=T;H<P;H++)y(p[H],z,!1)<=0&&(B+=1,i(p,B,H));i(p,B+1,H);var Q=B+1;u(p,y,T,Q-1),u(p,y,Q+1,P)}}return u}function iDt(o){let i=nDt.toString();return new Function(`return ${i}`)()(o)}let fje=new WeakMap;JVe.quickSort=function(o,i,a=0){let u=fje.get(i);u===void 0&&(u=iDt(i),fje.set(i,u)),u(o,i,a,o.length-1)};var So=kI,Qye=jVe,sI=Hye.ArraySet,sDt=OQ,KF=JVe.quickSort;function L_(o,i){var a=o;return typeof o=="string"&&(a=So.parseSourceMapInput(o)),a.sections!=null?new K2(a,i):new Ih(a,i)}L_.fromSourceMap=function(o,i){return Ih.fromSourceMap(o,i)};L_.prototype._version=3;L_.prototype.__generatedMappings=null;Object.defineProperty(L_.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});L_.prototype.__originalMappings=null;Object.defineProperty(L_.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});L_.prototype._charIsMappingSeparator=function(i,a){var u=i.charAt(a);return u===";"||u===","};L_.prototype._parseMappings=function(i,a){throw new Error("Subclasses must implement _parseMappings")};L_.GENERATED_ORDER=1;L_.ORIGINAL_ORDER=2;L_.GREATEST_LOWER_BOUND=1;L_.LEAST_UPPER_BOUND=2;L_.prototype.eachMapping=function(i,a,u){var p=a||null,y=u||L_.GENERATED_ORDER,T;switch(y){case L_.GENERATED_ORDER:T=this._generatedMappings;break;case L_.ORIGINAL_ORDER:T=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var P=this.sourceRoot,I=i.bind(p),B=this._names,z=this._sources,H=this._sourceMapURL,Q=0,Ie=T.length;Q<Ie;Q++){var ze=T[Q],Ue=ze.source===null?null:z.at(ze.source);Ue=So.computeSourceURL(P,Ue,H),I({source:Ue,generatedLine:ze.generatedLine,generatedColumn:ze.generatedColumn,originalLine:ze.originalLine,originalColumn:ze.originalColumn,name:ze.name===null?null:B.at(ze.name)})}};L_.prototype.allGeneratedPositionsFor=function(i){var a=So.getArg(i,"line"),u={source:So.getArg(i,"source"),originalLine:a,originalColumn:So.getArg(i,"column",0)};if(u.source=this._findSourceIndex(u.source),u.source<0)return[];var p=[],y=this._findMapping(u,this._originalMappings,"originalLine","originalColumn",So.compareByOriginalPositions,Qye.LEAST_UPPER_BOUND);if(y>=0){var T=this._originalMappings[y];if(i.column===void 0)for(var P=T.originalLine;T&&T.originalLine===P;)p.push({line:So.getArg(T,"generatedLine",null),column:So.getArg(T,"generatedColumn",null),lastColumn:So.getArg(T,"lastGeneratedColumn",null)}),T=this._originalMappings[++y];else for(var I=T.originalColumn;T&&T.originalLine===a&&T.originalColumn==I;)p.push({line:So.getArg(T,"generatedLine",null),column:So.getArg(T,"generatedColumn",null),lastColumn:So.getArg(T,"lastGeneratedColumn",null)}),T=this._originalMappings[++y]}return p};MQ.SourceMapConsumer=L_;function Ih(o,i){var a=o;typeof o=="string"&&(a=So.parseSourceMapInput(o));var u=So.getArg(a,"version"),p=So.getArg(a,"sources"),y=So.getArg(a,"names",[]),T=So.getArg(a,"sourceRoot",null),P=So.getArg(a,"sourcesContent",null),I=So.getArg(a,"mappings"),B=So.getArg(a,"file",null);if(u!=this._version)throw new Error("Unsupported version: "+u);T&&(T=So.normalize(T)),p=p.map(String).map(So.normalize).map(function(z){return T&&So.isAbsolute(T)&&So.isAbsolute(z)?So.relative(T,z):z}),this._names=sI.fromArray(y.map(String),!0),this._sources=sI.fromArray(p,!0),this._absoluteSources=this._sources.toArray().map(function(z){return So.computeSourceURL(T,z,i)}),this.sourceRoot=T,this.sourcesContent=P,this._mappings=I,this._sourceMapURL=i,this.file=B}Ih.prototype=Object.create(L_.prototype);Ih.prototype.consumer=L_;Ih.prototype._findSourceIndex=function(o){var i=o;if(this.sourceRoot!=null&&(i=So.relative(this.sourceRoot,i)),this._sources.has(i))return this._sources.indexOf(i);var a;for(a=0;a<this._absoluteSources.length;++a)if(this._absoluteSources[a]==o)return a;return-1};Ih.fromSourceMap=function(i,a){var u=Object.create(Ih.prototype),p=u._names=sI.fromArray(i._names.toArray(),!0),y=u._sources=sI.fromArray(i._sources.toArray(),!0);u.sourceRoot=i._sourceRoot,u.sourcesContent=i._generateSourcesContent(u._sources.toArray(),u.sourceRoot),u.file=i._file,u._sourceMapURL=a,u._absoluteSources=u._sources.toArray().map(function(Ie){return So.computeSourceURL(u.sourceRoot,Ie,a)});for(var T=i._mappings.toArray().slice(),P=u.__generatedMappings=[],I=u.__originalMappings=[],B=0,z=T.length;B<z;B++){var H=T[B],Q=new UVe;Q.generatedLine=H.generatedLine,Q.generatedColumn=H.generatedColumn,H.source&&(Q.source=y.indexOf(H.source),Q.originalLine=H.originalLine,Q.originalColumn=H.originalColumn,H.name&&(Q.name=p.indexOf(H.name)),I.push(Q)),P.push(Q)}return KF(u.__originalMappings,So.compareByOriginalPositions),u};Ih.prototype._version=3;Object.defineProperty(Ih.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function UVe(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}const Hme=So.compareByGeneratedPositionsDeflatedNoLine;function _je(o,i){let a=o.length,u=o.length-i;if(!(u<=1))if(u==2){let p=o[i],y=o[i+1];Hme(p,y)>0&&(o[i]=y,o[i+1]=p)}else if(u<20)for(let p=i;p<a;p++)for(let y=p;y>i;y--){let T=o[y-1],P=o[y];if(Hme(T,P)<=0)break;o[y-1]=P,o[y]=T}else KF(o,Hme,i)}Ih.prototype._parseMappings=function(i,a){var u=1,p=0,y=0,T=0,P=0,I=0,B=i.length,z=0,H={},Q=[],Ie=[],ze,Ue,et,Ve;let vt=0;for(;z<B;)if(i.charAt(z)===";")u++,z++,p=0,_je(Ie,vt),vt=Ie.length;else if(i.charAt(z)===",")z++;else{for(ze=new UVe,ze.generatedLine=u,et=z;et<B&&!this._charIsMappingSeparator(i,et);et++);for(i.slice(z,et),Ue=[];z<et;)sDt.decode(i,z,H),Ve=H.value,z=H.rest,Ue.push(Ve);if(Ue.length===2)throw new Error("Found a source, but no line and column");if(Ue.length===3)throw new Error("Found a source and line, but no column");if(ze.generatedColumn=p+Ue[0],p=ze.generatedColumn,Ue.length>1&&(ze.source=P+Ue[1],P+=Ue[1],ze.originalLine=y+Ue[2],y=ze.originalLine,ze.originalLine+=1,ze.originalColumn=T+Ue[3],T=ze.originalColumn,Ue.length>4&&(ze.name=I+Ue[4],I+=Ue[4])),Ie.push(ze),typeof ze.originalLine=="number"){let He=ze.source;for(;Q.length<=He;)Q.push(null);Q[He]===null&&(Q[He]=[]),Q[He].push(ze)}}_je(Ie,vt),this.__generatedMappings=Ie;for(var ut=0;ut<Q.length;ut++)Q[ut]!=null&&KF(Q[ut],So.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...Q)};Ih.prototype._findMapping=function(i,a,u,p,y,T){if(i[u]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+i[u]);if(i[p]<0)throw new TypeError("Column must be greater than or equal to 0, got "+i[p]);return Qye.search(i,a,y,T)};Ih.prototype.computeColumnSpans=function(){for(var i=0;i<this._generatedMappings.length;++i){var a=this._generatedMappings[i];if(i+1<this._generatedMappings.length){var u=this._generatedMappings[i+1];if(a.generatedLine===u.generatedLine){a.lastGeneratedColumn=u.generatedColumn-1;continue}}a.lastGeneratedColumn=1/0}};Ih.prototype.originalPositionFor=function(i){var a={generatedLine:So.getArg(i,"line"),generatedColumn:So.getArg(i,"column")},u=this._findMapping(a,this._generatedMappings,"generatedLine","generatedColumn",So.compareByGeneratedPositionsDeflated,So.getArg(i,"bias",L_.GREATEST_LOWER_BOUND));if(u>=0){var p=this._generatedMappings[u];if(p.generatedLine===a.generatedLine){var y=So.getArg(p,"source",null);y!==null&&(y=this._sources.at(y),y=So.computeSourceURL(this.sourceRoot,y,this._sourceMapURL));var T=So.getArg(p,"name",null);return T!==null&&(T=this._names.at(T)),{source:y,line:So.getArg(p,"originalLine",null),column:So.getArg(p,"originalColumn",null),name:T}}}return{source:null,line:null,column:null,name:null}};Ih.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(i){return i==null}):!1};Ih.prototype.sourceContentFor=function(i,a){if(!this.sourcesContent)return null;var u=this._findSourceIndex(i);if(u>=0)return this.sourcesContent[u];var p=i;this.sourceRoot!=null&&(p=So.relative(this.sourceRoot,p));var y;if(this.sourceRoot!=null&&(y=So.urlParse(this.sourceRoot))){var T=p.replace(/^file:\/\//,"");if(y.scheme=="file"&&this._sources.has(T))return this.sourcesContent[this._sources.indexOf(T)];if((!y.path||y.path=="/")&&this._sources.has("/"+p))return this.sourcesContent[this._sources.indexOf("/"+p)]}if(a)return null;throw new Error('"'+p+'" is not in the SourceMap.')};Ih.prototype.generatedPositionFor=function(i){var a=So.getArg(i,"source");if(a=this._findSourceIndex(a),a<0)return{line:null,column:null,lastColumn:null};var u={source:a,originalLine:So.getArg(i,"line"),originalColumn:So.getArg(i,"column")},p=this._findMapping(u,this._originalMappings,"originalLine","originalColumn",So.compareByOriginalPositions,So.getArg(i,"bias",L_.GREATEST_LOWER_BOUND));if(p>=0){var y=this._originalMappings[p];if(y.source===u.source)return{line:So.getArg(y,"generatedLine",null),column:So.getArg(y,"generatedColumn",null),lastColumn:So.getArg(y,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};MQ.BasicSourceMapConsumer=Ih;function K2(o,i){var a=o;typeof o=="string"&&(a=So.parseSourceMapInput(o));var u=So.getArg(a,"version"),p=So.getArg(a,"sections");if(u!=this._version)throw new Error("Unsupported version: "+u);this._sources=new sI,this._names=new sI;var y={line:-1,column:0};this._sections=p.map(function(T){if(T.url)throw new Error("Support for url field in sections not implemented.");var P=So.getArg(T,"offset"),I=So.getArg(P,"line"),B=So.getArg(P,"column");if(I<y.line||I===y.line&&B<y.column)throw new Error("Section offsets must be ordered and non-overlapping.");return y=P,{generatedOffset:{generatedLine:I+1,generatedColumn:B+1},consumer:new L_(So.getArg(T,"map"),i)}})}K2.prototype=Object.create(L_.prototype);K2.prototype.constructor=L_;K2.prototype._version=3;Object.defineProperty(K2.prototype,"sources",{get:function(){for(var o=[],i=0;i<this._sections.length;i++)for(var a=0;a<this._sections[i].consumer.sources.length;a++)o.push(this._sections[i].consumer.sources[a]);return o}});K2.prototype.originalPositionFor=function(i){var a={generatedLine:So.getArg(i,"line"),generatedColumn:So.getArg(i,"column")},u=Qye.search(a,this._sections,function(y,T){var P=y.generatedLine-T.generatedOffset.generatedLine;return P||y.generatedColumn-T.generatedOffset.generatedColumn}),p=this._sections[u];return p?p.consumer.originalPositionFor({line:a.generatedLine-(p.generatedOffset.generatedLine-1),column:a.generatedColumn-(p.generatedOffset.generatedLine===a.generatedLine?p.generatedOffset.generatedColumn-1:0),bias:i.bias}):{source:null,line:null,column:null,name:null}};K2.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(i){return i.consumer.hasContentsOfAllSources()})};K2.prototype.sourceContentFor=function(i,a){for(var u=0;u<this._sections.length;u++){var p=this._sections[u],y=p.consumer.sourceContentFor(i,!0);if(y)return y}if(a)return null;throw new Error('"'+i+'" is not in the SourceMap.')};K2.prototype.generatedPositionFor=function(i){for(var a=0;a<this._sections.length;a++){var u=this._sections[a];if(u.consumer._findSourceIndex(So.getArg(i,"source"))!==-1){var p=u.consumer.generatedPositionFor(i);if(p){var y={line:p.line+(u.generatedOffset.generatedLine-1),column:p.column+(u.generatedOffset.generatedLine===p.line?u.generatedOffset.generatedColumn-1:0)};return y}}}return{line:null,column:null}};K2.prototype._parseMappings=function(i,a){this.__generatedMappings=[],this.__originalMappings=[];for(var u=0;u<this._sections.length;u++)for(var p=this._sections[u],y=p.consumer._generatedMappings,T=0;T<y.length;T++){var P=y[T],I=p.consumer._sources.at(P.source);I=So.computeSourceURL(p.consumer.sourceRoot,I,this._sourceMapURL),this._sources.add(I),I=this._sources.indexOf(I);var B=null;P.name&&(B=p.consumer._names.at(P.name),this._names.add(B),B=this._names.indexOf(B));var z={source:I,generatedLine:P.generatedLine+(p.generatedOffset.generatedLine-1),generatedColumn:P.generatedColumn+(p.generatedOffset.generatedLine===P.generatedLine?p.generatedOffset.generatedColumn-1:0),originalLine:P.originalLine,originalColumn:P.originalColumn,name:B};this.__generatedMappings.push(z),typeof z.originalLine=="number"&&this.__originalMappings.push(z)}KF(this.__generatedMappings,So.compareByGeneratedPositionsDeflated),KF(this.__originalMappings,So.compareByOriginalPositions)};MQ.IndexedSourceMapConsumer=K2;var zVe={},aDt=$ye.SourceMapGenerator,bX=kI,oDt=/(\r?\n)/,cDt=10,CI="$$$isSourceNode$$$";function Z1(o,i,a,u,p){this.children=[],this.sourceContents={},this.line=o??null,this.column=i??null,this.source=a??null,this.name=p??null,this[CI]=!0,u!=null&&this.add(u)}Z1.fromStringWithSourceMap=function(i,a,u){var p=new Z1,y=i.split(oDt),T=0,P=function(){var Q=ze(),Ie=ze()||"";return Q+Ie;function ze(){return T<y.length?y[T++]:void 0}},I=1,B=0,z=null;return a.eachMapping(function(Q){if(z!==null)if(I<Q.generatedLine)H(z,P()),I++,B=0;else{var Ie=y[T]||"",ze=Ie.substr(0,Q.generatedColumn-B);y[T]=Ie.substr(Q.generatedColumn-B),B=Q.generatedColumn,H(z,ze),z=Q;return}for(;I<Q.generatedLine;)p.add(P()),I++;if(B<Q.generatedColumn){var Ie=y[T]||"";p.add(Ie.substr(0,Q.generatedColumn)),y[T]=Ie.substr(Q.generatedColumn),B=Q.generatedColumn}z=Q},this),T<y.length&&(z&&H(z,P()),p.add(y.splice(T).join(""))),a.sources.forEach(function(Q){var Ie=a.sourceContentFor(Q);Ie!=null&&(u!=null&&(Q=bX.join(u,Q)),p.setSourceContent(Q,Ie))}),p;function H(Q,Ie){if(Q===null||Q.source===void 0)p.add(Ie);else{var ze=u?bX.join(u,Q.source):Q.source;p.add(new Z1(Q.originalLine,Q.originalColumn,ze,Ie,Q.name))}}};Z1.prototype.add=function(i){if(Array.isArray(i))i.forEach(function(a){this.add(a)},this);else if(i[CI]||typeof i=="string")i&&this.children.push(i);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+i);return this};Z1.prototype.prepend=function(i){if(Array.isArray(i))for(var a=i.length-1;a>=0;a--)this.prepend(i[a]);else if(i[CI]||typeof i=="string")this.children.unshift(i);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+i);return this};Z1.prototype.walk=function(i){for(var a,u=0,p=this.children.length;u<p;u++)a=this.children[u],a[CI]?a.walk(i):a!==""&&i(a,{source:this.source,line:this.line,column:this.column,name:this.name})};Z1.prototype.join=function(i){var a,u,p=this.children.length;if(p>0){for(a=[],u=0;u<p-1;u++)a.push(this.children[u]),a.push(i);a.push(this.children[u]),this.children=a}return this};Z1.prototype.replaceRight=function(i,a){var u=this.children[this.children.length-1];return u[CI]?u.replaceRight(i,a):typeof u=="string"?this.children[this.children.length-1]=u.replace(i,a):this.children.push("".replace(i,a)),this};Z1.prototype.setSourceContent=function(i,a){this.sourceContents[bX.toSetString(i)]=a};Z1.prototype.walkSourceContents=function(i){for(var a=0,u=this.children.length;a<u;a++)this.children[a][CI]&&this.children[a].walkSourceContents(i);for(var p=Object.keys(this.sourceContents),a=0,u=p.length;a<u;a++)i(bX.fromSetString(p[a]),this.sourceContents[p[a]])};Z1.prototype.toString=function(){var i="";return this.walk(function(a){i+=a}),i};Z1.prototype.toStringWithSourceMap=function(i){var a={code:"",line:1,column:0},u=new aDt(i),p=!1,y=null,T=null,P=null,I=null;return this.walk(function(B,z){a.code+=B,z.source!==null&&z.line!==null&&z.column!==null?((y!==z.source||T!==z.line||P!==z.column||I!==z.name)&&u.addMapping({source:z.source,original:{line:z.line,column:z.column},generated:{line:a.line,column:a.column},name:z.name}),y=z.source,T=z.line,P=z.column,I=z.name,p=!0):p&&(u.addMapping({generated:{line:a.line,column:a.column}}),y=null,p=!1);for(var H=0,Q=B.length;H<Q;H++)B.charCodeAt(H)===cDt?(a.line++,a.column=0,H+1===Q?(y=null,p=!1):p&&u.addMapping({source:z.source,original:{line:z.line,column:z.column},generated:{line:a.line,column:a.column},name:z.name})):a.column++}),this.walkSourceContents(function(B,z){u.setSourceContent(B,z)}),{code:a.code,map:u}};zVe.SourceNode=Z1;var Yye=xI.SourceMapGenerator=$ye.SourceMapGenerator,pje=xI.SourceMapConsumer=MQ.SourceMapConsumer;xI.SourceNode=zVe.SourceNode;const LR="/*#__PURE__*/",JG=o=>`${M0[o]}: _${M0[o]}`;function dje(o,{mode:i="function",prefixIdentifiers:a=i==="module",sourceMap:u=!1,filename:p="template.vue.html",scopeId:y=null,optimizeImports:T=!1,runtimeGlobalName:P="Vue",runtimeModuleName:I="vue",ssrRuntimeModuleName:B="vue/server-renderer",ssr:z=!1,isTS:H=!1,inSSR:Q=!1}){const Ie={mode:i,prefixIdentifiers:a,sourceMap:u,filename:p,scopeId:y,optimizeImports:T,runtimeGlobalName:P,runtimeModuleName:I,ssrRuntimeModuleName:B,ssr:z,isTS:H,inSSR:Q,source:o.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(et){return`_${M0[et]}`},push(et,Ve){if(Ie.code+=et,Ie.map){if(Ve){let vt;if(Ve.type===4&&!Ve.isStatic){const ut=Ve.content.replace(/^_ctx\./,"");ut!==Ve.content&&l6(ut)&&(vt=ut)}Ue(Ve.loc.start,vt)}rI(Ie,et),Ve&&Ve.loc!==np&&Ue(Ve.loc.end)}},indent(){ze(++Ie.indentLevel)},deindent(et=!1){et?--Ie.indentLevel:ze(--Ie.indentLevel)},newline(){ze(Ie.indentLevel)}};function ze(et){Ie.push(`
`+" ".repeat(et))}function Ue(et,Ve){Ie.map.addMapping({name:Ve,source:Ie.filename,original:{line:et.line,column:et.column-1},generated:{line:Ie.line,column:Ie.column-1}})}return u&&(Ie.map=new Yye,Ie.map.setSourceContent(p,Ie.source)),Ie}function Zye(o,i={}){const a=dje(o,i);i.onContextCreated&&i.onContextCreated(a);const{mode:u,push:p,prefixIdentifiers:y,indent:T,deindent:P,newline:I,scopeId:B,ssr:z}=a,H=Array.from(o.helpers),Q=H.length>0,Ie=!y&&u!=="module",ze=B!=null&&u==="module",Ue=!!i.inline,et=Ue?dje(o,i):a;u==="module"?uDt(o,et,ze,Ue):lDt(o,et);const Ve=z?"ssrRender":"render",vt=z?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"];i.bindingMetadata&&!i.inline&&vt.push("$props","$setup","$data","$options");const ut=i.isTS?vt.map(He=>`${He}: any`).join(","):vt.join(", ");if(p(Ue?`(${ut}) => {`:`function ${Ve}(${ut}) {`),T(),Ie&&(p("with (_ctx) {"),T(),Q&&(p(`const { ${H.map(JG).join(", ")} } = _Vue`),p(`
`),I())),o.components.length&&(mje(o.components,"component",a),(o.directives.length||o.temps>0)&&I()),o.directives.length&&(mje(o.directives,"directive",a),o.temps>0&&I()),o.temps>0){p("let ");for(let He=0;He<o.temps;He++)p(`${He>0?", ":""}_temp${He}`)}return(o.components.length||o.directives.length||o.temps)&&(p(`
`),I()),z||p("return "),o.codegenNode?rp(o.codegenNode,a):p("null"),Ie&&(P(),p("}")),P(),p("}"),{ast:o,code:a.code,preamble:Ue?et.code:"",map:a.map?a.map.toJSON():void 0}}function lDt(o,i){const{ssr:a,prefixIdentifiers:u,push:p,newline:y,runtimeModuleName:T,runtimeGlobalName:P,ssrRuntimeModuleName:I}=i,B=a?`require(${JSON.stringify(T)})`:P,z=Array.from(o.helpers);if(z.length>0){if(u)p(`const { ${z.map(JG).join(", ")} } = ${B}
`);else if(p(`const _Vue = ${B}
`),o.hoists.length){const H=[AR,fQ,vI,_Q,pQ].filter(Q=>z.includes(Q)).map(JG).join(", ");p(`const { ${H} } = _Vue
`)}}o.ssrHelpers&&o.ssrHelpers.length&&p(`const { ${o.ssrHelpers.map(JG).join(", ")} } = require("${I}")
`),VVe(o.hoists,i),y(),p("return ")}function uDt(o,i,a,u){const{push:p,newline:y,optimizeImports:T,runtimeModuleName:P,ssrRuntimeModuleName:I}=i;if(a&&o.hoists.length&&(o.helpers.add(bQ),o.helpers.add(TQ)),o.helpers.size){const B=Array.from(o.helpers);T?(p(`import { ${B.map(z=>M0[z]).join(", ")} } from ${JSON.stringify(P)}
`),p(`
// Binding optimization for webpack code-split
const ${B.map(z=>`_${M0[z]} = ${M0[z]}`).join(", ")}
`)):p(`import { ${B.map(z=>`${M0[z]} as _${M0[z]}`).join(", ")} } from ${JSON.stringify(P)}
`)}o.ssrHelpers&&o.ssrHelpers.length&&p(`import { ${o.ssrHelpers.map(B=>`${M0[B]} as _${M0[B]}`).join(", ")} } from "${I}"
`),o.imports.length&&(fDt(o.imports,i),y()),VVe(o.hoists,i),y(),u||p("export ")}function mje(o,i,{helper:a,push:u,newline:p,isTS:y}){const T=a(i==="component"?WF:dQ);for(let P=0;P<o.length;P++){let I=o[P];const B=I.endsWith("__self");B&&(I=I.slice(0,-6)),u(`const ${YF(I,i)} = ${T}(${JSON.stringify(I)}${B?", true":""})${y?"!":""}`),P<o.length-1&&p()}}function VVe(o,i){if(!o.length)return;i.pure=!0;const{push:a,newline:u,helper:p,scopeId:y,mode:T}=i,P=y!=null&&T!=="function";u(),P&&(a(`const _withScopeId = n => (${p(bQ)}("${y}"),n=n(),${p(TQ)}(),n)`),u());for(let I=0;I<o.length;I++){const B=o[I];if(B){const z=P&&B.type===13;a(`const _hoisted_${I+1} = ${z?`${LR} _withScopeId(() => `:""}`),rp(B,i),z&&a(")"),u()}}i.pure=!1}function fDt(o,i){o.length&&o.forEach(a=>{i.push("import "),rp(a.exp,i),i.push(` from '${a.path}'`),i.newline()})}function _Dt(o){return ou(o)||o.type===4||o.type===2||o.type===5||o.type===8}function FQ(o,i){const a=o.length>3||o.some(u=>Cy(u)||!_Dt(u));i.push("["),a&&i.indent(),wI(o,i,a),a&&i.deindent(),i.push("]")}function wI(o,i,a=!1,u=!0){const{push:p,newline:y}=i;for(let T=0;T<o.length;T++){const P=o[T];ou(P)?p(P):Cy(P)?FQ(P,i):rp(P,i),T<o.length-1&&(a?(u&&p(","),y()):u&&p(", "))}}function rp(o,i){if(ou(o)){i.push(o);return}if(gI(o)){i.push(i.helper(o));return}switch(o.type){case 1:case 9:case 11:Uhe(o.codegenNode!=null,"Codegen node is missing for element/if/for node. Apply appropriate transforms first."),rp(o.codegenNode,i);break;case 2:pDt(o,i);break;case 4:$Ve(o,i);break;case 5:dDt(o,i);break;case 12:rp(o.codegenNode,i);break;case 8:qVe(o,i);break;case 3:hDt(o,i);break;case 13:gDt(o,i);break;case 14:vDt(o,i);break;case 15:bDt(o,i);break;case 17:TDt(o,i);break;case 18:SDt(o,i);break;case 19:xDt(o,i);break;case 20:kDt(o,i);break;case 21:wI(o.body,i,!0,!1);break;case 22:CDt(o,i);break;case 23:WVe(o,i);break;case 24:wDt(o,i);break;case 25:EDt(o,i);break;case 26:ADt(o,i);break;case 10:break;default:return Uhe(!1,`unhandled codegen node type: ${o.type}`),o}}function pDt(o,i){i.push(JSON.stringify(o.content),o)}function $Ve(o,i){const{content:a,isStatic:u}=o;i.push(u?JSON.stringify(a):a,o)}function dDt(o,i){const{push:a,helper:u,pure:p}=i;p&&a(LR),a(`${u(PR)}(`),rp(o.content,i),a(")")}function qVe(o,i){for(let a=0;a<o.children.length;a++){const u=o.children[a];ou(u)?i.push(u):rp(u,i)}}function mDt(o,i){const{push:a}=i;if(o.type===8)a("["),qVe(o,i),a("]");else if(o.isStatic){const u=l6(o.content)?o.content:JSON.stringify(o.content);a(u,o)}else a(`[${o.content}]`,o)}function hDt(o,i){const{push:a,helper:u,pure:p}=i;p&&a(LR),a(`${u(vI)}(${JSON.stringify(o.content)})`,o)}function gDt(o,i){const{push:a,helper:u,pure:p}=i,{tag:y,props:T,children:P,patchFlag:I,dynamicProps:B,directives:z,isBlock:H,disableTracking:Q,isComponent:Ie}=o;z&&a(u(mQ)+"("),H&&a(`(${u(a6)}(${Q?"true":""}), `),p&&a(LR);const ze=H?TA(i.inSSR,Ie):bA(i.inSSR,Ie);a(u(ze)+"(",o),wI(yDt([y,T,P,I,B]),i),a(")"),H&&a(")"),z&&(a(", "),rp(z,i),a(")"))}function yDt(o){let i=o.length;for(;i--&&o[i]==null;);return o.slice(0,i+1).map(a=>a||"null")}function vDt(o,i){const{push:a,helper:u,pure:p}=i,y=ou(o.callee)?o.callee:u(o.callee);p&&a(LR),a(y+"(",o),wI(o.arguments,i),a(")")}function bDt(o,i){const{push:a,indent:u,deindent:p,newline:y}=i,{properties:T}=o;if(!T.length){a("{}",o);return}const P=T.length>1||T.some(I=>I.value.type!==4);a(P?"{":"{ "),P&&u();for(let I=0;I<T.length;I++){const{key:B,value:z}=T[I];mDt(B,i),a(": "),rp(z,i),I<T.length-1&&(a(","),y())}P&&p(),a(P?"}":" }")}function TDt(o,i){FQ(o.elements,i)}function SDt(o,i){const{push:a,indent:u,deindent:p}=i,{params:y,returns:T,body:P,newline:I,isSlot:B}=o;B&&a(`_${M0[SQ]}(`),a("(",o),Cy(y)?wI(y,i):y&&rp(y,i),a(") => "),(I||P)&&(a("{"),u()),T?(I&&a("return "),Cy(T)?FQ(T,i):rp(T,i)):P&&rp(P,i),(I||P)&&(p(),a("}")),B&&a(")")}function xDt(o,i){const{test:a,consequent:u,alternate:p,newline:y}=o,{push:T,indent:P,deindent:I,newline:B}=i;if(a.type===4){const H=!l6(a.content);H&&T("("),$Ve(a,i),H&&T(")")}else T("("),rp(a,i),T(")");y&&P(),i.indentLevel++,y||T(" "),T("? "),rp(u,i),i.indentLevel--,y&&B(),y||T(" "),T(": ");const z=p.type===19;z||i.indentLevel++,rp(p,i),z||i.indentLevel--,y&&I(!0)}function kDt(o,i){const{push:a,helper:u,indent:p,deindent:y,newline:T}=i;a(`_cache[${o.index}] || (`),o.isVNode&&(p(),a(`${u(HF)}(-1),`),T()),a(`_cache[${o.index}] = `),rp(o.value,i),o.isVNode&&(a(","),T(),a(`${u(HF)}(1),`),T(),a(`_cache[${o.index}]`),y()),a(")")}function CDt(o,i){const{push:a,indent:u,deindent:p}=i;a("`");const y=o.elements.length,T=y>3;for(let P=0;P<y;P++){const I=o.elements[P];ou(I)?a(I.replace(/(`|\$|\\)/g,"\\$1")):(a("${"),T&&u(),rp(I,i),T&&p(),a("}"))}a("`")}function WVe(o,i){const{push:a,indent:u,deindent:p}=i,{test:y,consequent:T,alternate:P}=o;a("if ("),rp(y,i),a(") {"),u(),rp(T,i),p(),a("}"),P&&(a(" else "),P.type===23?WVe(P,i):(a("{"),u(),rp(P,i),p(),a("}")))}function wDt(o,i){rp(o.left,i),i.push(" = "),rp(o.right,i)}function EDt(o,i){i.push("("),wI(o.expressions,i),i.push(")")}function ADt({returns:o},i){i.push("return "),Cy(o)?FQ(o,i):rp(o,i)}class PDt{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:i=>this.replacement=i}}replace(i,a,u,p){i&&(u!==null?i[a][u]=p:i[a]=p)}remove(i,a,u){i&&(u!==null?i[a].splice(u,1):delete i[a])}}class DDt extends PDt{constructor(i,a){super(),this.enter=i,this.leave=a}visit(i,a,u,p){if(i){if(this.enter){const y=this.should_skip,T=this.should_remove,P=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,i,a,u,p),this.replacement&&(i=this.replacement,this.replace(a,u,p,i)),this.should_remove&&this.remove(a,u,p);const I=this.should_skip,B=this.should_remove;if(this.should_skip=y,this.should_remove=T,this.replacement=P,I)return i;if(B)return null}for(const y in i){const T=i[y];if(typeof T=="object")if(Array.isArray(T))for(let P=0;P<T.length;P+=1)T[P]!==null&&typeof T[P].type=="string"&&(this.visit(T[P],i,y,P)||P--);else T!==null&&typeof T.type=="string"&&this.visit(T,i,y,null)}if(this.leave){const y=this.replacement,T=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,i,a,u,p),this.replacement&&(i=this.replacement,this.replace(a,u,p,i)),this.should_remove&&this.remove(a,u,p);const P=this.should_remove;if(this.replacement=y,this.should_remove=T,P)return null}}return i}}function MR(o,{enter:i,leave:a}){return new DDt(i,a).visit(o,null)}function EI(o,i,a=!1,u=[],p=Object.create(null)){const y=o.type==="Program"&&o.body[0].type==="ExpressionStatement"&&o.body[0].expression;MR(o,{enter(T,P){if(P&&u.push(P),P&&P.type.startsWith("TS")&&!Kye.includes(P.type))return this.skip();if(T.type==="Identifier"){const I=!!p[T.name],B=RQ(T,P,u);(a||B&&!I)&&i(T,P,u,B,I)}else T.type==="ObjectProperty"&&P.type==="ObjectPattern"?T.inPattern=!0:xb(T)?BQ(T,I=>hje(T,I,p)):T.type==="BlockStatement"&&HVe(T,I=>hje(T,I,p))},leave(T,P){if(P&&u.pop(),T!==y&&T.scopeIds)for(const I of T.scopeIds)p[I]--,p[I]===0&&delete p[I]}})}function RQ(o,i,a){if(!i)return!0;if(o.name==="arguments")return!1;if(NDt(o,i))return!0;switch(i.type){case"AssignmentExpression":case"AssignmentPattern":return!0;case"ObjectPattern":case"ArrayPattern":return EA(i,a)}return!1}function EA(o,i){if(o&&(o.type==="ObjectProperty"||o.type==="ArrayPattern")){let a=i.length;for(;a--;){const u=i[a];if(u.type==="AssignmentExpression")return!0;if(u.type!=="ObjectProperty"&&!u.type.endsWith("Pattern"))break}}return!1}function BQ(o,i){for(const a of o.params)for(const u of Sb(a))i(u)}function HVe(o,i){for(const a of o.body)if(a.type==="VariableDeclaration"){if(a.declare)continue;for(const u of a.declarations)for(const p of Sb(u.id))i(p)}else if(a.type==="FunctionDeclaration"||a.type==="ClassDeclaration"){if(a.declare||!a.id)continue;i(a.id)}}function Sb(o,i=[]){switch(o.type){case"Identifier":i.push(o);break;case"MemberExpression":let a=o;for(;a.type==="MemberExpression";)a=a.object;i.push(a);break;case"ObjectPattern":for(const u of o.properties)u.type==="RestElement"?Sb(u.argument,i):Sb(u.value,i);break;case"ArrayPattern":o.elements.forEach(u=>{u&&Sb(u,i)});break;case"RestElement":Sb(o.argument,i);break;case"AssignmentPattern":Sb(o.left,i);break}return i}function hje(o,i,a){const{name:u}=i;o.scopeIds&&o.scopeIds.has(u)||(u in a?a[u]++:a[u]=1,(o.scopeIds||(o.scopeIds=new Set)).add(u))}const xb=o=>/Function(?:Expression|Declaration)$|Method$/.test(o.type),AA=o=>o&&(o.type==="ObjectProperty"||o.type==="ObjectMethod")&&!o.computed,GVe=(o,i)=>AA(i)&&i.key===o;function NDt(o,i,a){switch(i.type){case"MemberExpression":case"OptionalMemberExpression":return i.property===o?!!i.computed:i.object===o;case"JSXMemberExpression":return i.object===o;case"VariableDeclarator":return i.init===o;case"ArrowFunctionExpression":return i.body===o;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return i.key===o?!!i.computed:!1;case"ObjectProperty":return i.key===o?!!i.computed:!a||a.type!=="ObjectPattern";case"ClassProperty":return i.key===o?!!i.computed:!0;case"ClassPrivateProperty":return i.key!==o;case"ClassDeclaration":case"ClassExpression":return i.superClass===o;case"AssignmentExpression":return i.right===o;case"AssignmentPattern":return i.right===o;case"LabeledStatement":return!1;case"CatchClause":return!1;case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ExportSpecifier":return a!=null&&a.source?!1:i.local===o;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ImportAttribute":return!1;case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":return!1;case"MetaProperty":return!1;case"ObjectTypeProperty":return i.key!==o;case"TSEnumMember":return i.id!==o;case"TSPropertySignature":return i.key===o?!!i.computed:!0}return!0}const Kye=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"],IDt=Lh("true,false,null,this"),ODt=/\w\s*\(|\.[^\d]/,e0e=(o,i)=>{if(o.type===5)o.content=xy(o.content,i);else if(o.type===1)for(let a=0;a<o.props.length;a++){const u=o.props[a];if(u.type===7&&u.name!=="for"){const p=u.exp,y=u.arg;p&&p.type===4&&!(u.name==="on"&&y)&&(u.exp=xy(p,i,u.name==="slot")),y&&y.type===4&&!y.isStatic&&(u.arg=xy(y,i))}}};function xy(o,i,a=!1,u=!1,p=Object.create(i.identifiers)){if(!i.prefixIdentifiers||!o.content.trim())return o;const{inline:y,bindingMetadata:T}=i,P=(Ve,vt,ut)=>{const He=lQ(T,Ve)&&T[Ve];if(y){const Bt=vt&&vt.type==="AssignmentExpression"&&vt.left===ut,ar=vt&&vt.type==="UpdateExpression"&&vt.argument===ut,kr=vt&&EA(vt,Ie);if(gje(He)||He==="setup-reactive-const"||p[Ve])return Ve;if(He==="setup-ref")return`${Ve}.value`;if(He==="setup-maybe-ref")return Bt||ar||kr?`${Ve}.value`:`${i.helperString(eI)}(${Ve})`;if(He==="setup-let")if(Bt){const{right:Ot,operator:xt}=vt,Wt=I.slice(Ot.start-1,Ot.end-1),_r=jQ(xy(Ta(Wt,!1),i,!1,!1,ze));return`${i.helperString(GF)}(${Ve})${i.isTS?` //@ts-ignore
`:""} ? ${Ve}.value ${xt} ${_r} : ${Ve}`}else if(ar){ut.start=vt.start,ut.end=vt.end;const{prefix:Ot,operator:xt}=vt,Wt=Ot?xt:"",_r=Ot?"":xt;return`${i.helperString(GF)}(${Ve})${i.isTS?` //@ts-ignore
`:""} ? ${Wt}${Ve}.value${_r} : ${Wt}${Ve}${_r}`}else return kr?Ve:`${i.helperString(eI)}(${Ve})`;else{if(He==="props")return QN(Ve);if(He==="props-aliased")return QN(T.__propsAliases[Ve])}}else{if(He&&He.startsWith("setup")||He==="literal-const")return`$setup.${Ve}`;if(He==="props-aliased")return`$props['${T.__propsAliases[Ve]}']`;if(He)return`$${He}.${Ve}`}return`_ctx.${Ve}`},I=o.content,B=ODt.test(I);if(l6(I)){const Ve=i.identifiers[I],vt=Mze(I),ut=IDt(I);return!a&&!Ve&&!vt&&!ut?(gje(T[o.content])&&(o.constType=1),o.content=P(I)):Ve||(ut?o.constType=3:o.constType=2),o}let z;const H=u?` ${I} `:`(${I})${a?"=>{}":""}`;try{z=c6(H,{plugins:i.expressionPlugins}).program}catch(Ve){return i.onError(Fu(45,o.loc,void 0,Ve.message)),o}const Q=[],Ie=[],ze=Object.create(i.identifiers);EI(z,(Ve,vt,ut,He,Bt)=>{if(GVe(Ve,vt))return;const ar=He&&LDt(Ve);ar&&!Bt?(AA(vt)&&vt.shorthand&&(Ve.prefix=`${Ve.name}: `),Ve.name=P(Ve.name,vt,Ve),Q.push(Ve)):(!(ar&&Bt)&&!B&&(Ve.isConstant=!0),Q.push(Ve))},!0,Ie,ze);const Ue=[];Q.sort((Ve,vt)=>Ve.start-vt.start),Q.forEach((Ve,vt)=>{const ut=Ve.start-1,He=Ve.end-1,Bt=Q[vt-1],ar=I.slice(Bt?Bt.end-1:0,ut);(ar.length||Ve.prefix)&&Ue.push(ar+(Ve.prefix||""));const kr=I.slice(ut,He);Ue.push(Ta(Ve.name,!1,{source:kr,start:xA(o.loc.start,kr,ut),end:xA(o.loc.start,kr,He)},Ve.isConstant?3:0)),vt===Q.length-1&&He<I.length&&Ue.push(I.slice(He))});let et;return Ue.length?et=Ah(Ue,o.loc):(et=o,et.constType=B?0:3),et.identifiers=Object.keys(ze),et}function LDt(o){return!(Mze(o.name)||o.name==="require")}function jQ(o){return ou(o)?o:o.type===4?o.content:o.children.map(jQ).join("")}function gje(o){return o==="setup-const"||o==="literal-const"}const MDt=OR(/^(if|else|else-if)$/,(o,i,a)=>t0e(o,i,a,(u,p,y)=>{const T=a.parent.children;let P=T.indexOf(u),I=0;for(;P-->=0;){const B=T[P];B&&B.type===9&&(I+=B.branches.length)}return()=>{if(y)u.codegenNode=vje(p,I,a);else{const B=RDt(u.codegenNode);B.alternate=vje(p,I+u.branches.length-1,a)}}}));function t0e(o,i,a,u){if(i.name!=="else"&&(!i.exp||!i.exp.content.trim())){const p=i.exp?i.exp.loc:o.loc;a.onError(Fu(28,i.loc)),i.exp=Ta("true",!1,p)}if(a.prefixIdentifiers&&i.exp&&(i.exp=xy(i.exp,a)),i.name==="if"){const p=yje(o,i),y={type:9,loc:o.loc,branches:[p]};if(a.replaceNode(y),u)return u(y,p,!0)}else{const p=a.parent.children,y=[];let T=p.indexOf(o);for(;T-->=-1;){const P=p[T];if(P&&P.type===3){a.removeNode(P),y.unshift(P);continue}if(P&&P.type===2&&!P.content.trim().length){a.removeNode(P);continue}if(P&&P.type===9){i.name==="else-if"&&P.branches[P.branches.length-1].condition===void 0&&a.onError(Fu(30,o.loc)),a.removeNode();const I=yje(o,i);y.length&&!(a.parent&&a.parent.type===1&&H2(a.parent.tag,"transition"))&&(I.children=[...y,...I.children]);{const z=I.userKey;z&&P.branches.forEach(({userKey:H})=>{FDt(H,z)&&a.onError(Fu(29,I.userKey.loc))})}P.branches.push(I);const B=u&&u(P,I,!1);SI(I,a),B&&B(),a.currentNode=null}else a.onError(Fu(30,o.loc));break}}}function yje(o,i){const a=o.tagType===3;return{type:10,loc:o.loc,condition:i.name==="else"?void 0:i.exp,children:a&&!qm(o,"for")?o.children:[o],userKey:R0(o,"key"),isTemplateIf:a}}function vje(o,i,a){return o.condition?o6(o.condition,bje(o,i,a),bc(a.helper(vI),['"v-if"',"true"])):bje(o,i,a)}function bje(o,i,a){const{helper:u}=a,p=rf("key",Ta(`${i}`,!1,np,2)),{children:y}=o,T=y[0];if(y.length!==1||T.type!==1)if(y.length===1&&T.type===11){const I=T.codegenNode;return QF(I,p,a),I}else{let I=64,B=ZS[64];return!o.isTemplateIf&&y.filter(z=>z.type!==3).length===1&&(I|=2048,B+=`, ${ZS[2048]}`),tI(a,u(YN),F0([p]),y,I+` /* ${B} */`,void 0,void 0,!0,!1,!1,o.loc)}else{const I=T.codegenNode,B=wVe(I);return B.type===13&&kQ(B,a),QF(B,p,a),I}}function FDt(o,i){if(!o||o.type!==i.type)return!1;if(o.type===6){if(o.value.content!==i.value.content)return!1}else{const a=o.exp,u=i.exp;if(a.type!==u.type||a.type!==4||a.isStatic!==u.isStatic||a.content!==u.content)return!1}return!0}function RDt(o){for(;;)if(o.type===19)if(o.alternate.type===19)o=o.alternate;else return o;else o.type===20&&(o=o.value)}const BDt=OR("for",(o,i,a)=>{const{helper:u,removeHelper:p}=a;return r0e(o,i,a,y=>{const T=bc(u(hQ),[y.source]),P=nI(o),I=qm(o,"memo"),B=R0(o,"key"),z=B&&(B.type===6?Ta(B.value.content,!0):B.exp),H=B?rf("key",z):null;P&&(I&&(I.exp=xy(I.exp,a)),H&&B.type!==6&&(H.value=xy(H.value,a)));const Q=y.source.type===4&&y.source.constType>0,Ie=Q?64:B?128:256;return y.codegenNode=tI(a,u(YN),void 0,T,Ie+` /* ${ZS[Ie]} */`,void 0,void 0,!0,!Q,!1,o.loc),()=>{let ze;const{children:Ue}=y;P&&o.children.some(vt=>{if(vt.type===1){const ut=R0(vt,"key");if(ut)return a.onError(Fu(33,ut.loc)),!0}});const et=Ue.length!==1||Ue[0].type!==1,Ve=iI(o)?o:P&&o.children.length===1&&iI(o.children[0])?o.children[0]:null;if(Ve?(ze=Ve.codegenNode,P&&H&&QF(ze,H,a)):et?ze=tI(a,u(YN),H?F0([H]):void 0,o.children,64+` /* ${ZS[64]} */`,void 0,void 0,!0,void 0,!1):(ze=Ue[0].codegenNode,P&&H&&QF(ze,H,a),ze.isBlock!==!Q&&(ze.isBlock?(p(a6),p(TA(a.inSSR,ze.isComponent))):p(bA(a.inSSR,ze.isComponent))),ze.isBlock=!Q,ze.isBlock?(u(a6),u(TA(a.inSSR,ze.isComponent))):u(bA(a.inSSR,ze.isComponent))),I){const vt=tv(eR(y.parseResult,[Ta("_cached")]));vt.body=DR([Ah(["const _memo = (",I.exp,")"]),Ah(["if (_cached",...z?[" && _cached.key === ",z]:[],` && ${a.helperString(gye)}(_cached, _memo)) return _cached`]),Ah(["const _item = ",ze]),Ta("_item.memo = _memo"),Ta("return _item")]),T.arguments.push(vt,Ta("_cache"),Ta(String(a.cached++)))}else T.arguments.push(tv(eR(y.parseResult),ze,!0))}})});function r0e(o,i,a,u){if(!i.exp){a.onError(Fu(31,i.loc));return}const p=n0e(i.exp,a);if(!p){a.onError(Fu(32,i.loc));return}const{addIdentifiers:y,removeIdentifiers:T,scopes:P}=a,{source:I,value:B,key:z,index:H}=p,Q={type:11,loc:i.loc,source:I,valueAlias:B,keyAlias:z,objectIndexAlias:H,parseResult:p,children:nI(o)?o.children:[o]};a.replaceNode(Q),P.vFor++,a.prefixIdentifiers&&(B&&y(B),z&&y(z),H&&y(H));const Ie=u&&u(Q);return()=>{P.vFor--,a.prefixIdentifiers&&(B&&T(B),z&&T(z),H&&T(H)),Ie&&Ie()}}const jDt=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Tje=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,JDt=/^\(|\)$/g;function n0e(o,i){const a=o.loc,u=o.content,p=u.match(jDt);if(!p)return;const[,y,T]=p,P={source:mG(a,T.trim(),u.indexOf(T,y.length)),value:void 0,key:void 0,index:void 0};i.prefixIdentifiers&&(P.source=xy(P.source,i));let I=y.trim().replace(JDt,"").trim();const B=y.indexOf(I),z=I.match(Tje);if(z){I=I.replace(Tje,"").trim();const H=z[1].trim();let Q;if(H&&(Q=u.indexOf(H,B+I.length),P.key=mG(a,H,Q),i.prefixIdentifiers&&(P.key=xy(P.key,i,!0))),z[2]){const Ie=z[2].trim();Ie&&(P.index=mG(a,Ie,u.indexOf(Ie,P.key?Q+H.length:B+I.length)),i.prefixIdentifiers&&(P.index=xy(P.index,i,!0)))}}return I&&(P.value=mG(a,I,B),i.prefixIdentifiers&&(P.value=xy(P.value,i,!0))),P}function mG(o,i,a){return Ta(i,!1,Uye(o,a,i.length))}function eR({value:o,key:i,index:a},u=[]){return UDt([o,i,a,...u])}function UDt(o){let i=o.length;for(;i--&&!o[i];);return o.slice(0,i+1).map((a,u)=>a||Ta("_".repeat(u+1),!1))}const Sje=Ta("undefined",!1),i0e=(o,i)=>{if(o.type===1&&(o.tagType===1||o.tagType===3)){const a=qm(o,"slot");if(a){const u=a.exp;return i.prefixIdentifiers&&u&&i.addIdentifiers(u),i.scopes.vSlot++,()=>{i.prefixIdentifiers&&u&&i.removeIdentifiers(u),i.scopes.vSlot--}}}},s0e=(o,i)=>{let a;if(nI(o)&&o.props.some(zye)&&(a=qm(o,"for"))){const u=a.parseResult=n0e(a.exp,i);if(u){const{value:p,key:y,index:T}=u,{addIdentifiers:P,removeIdentifiers:I}=i;return p&&P(p),y&&P(y),T&&P(T),()=>{p&&I(p),y&&I(y),T&&I(T)}}}},zDt=(o,i,a)=>tv(o,i,!1,!0,i.length?i[0].loc:a);function tR(o,i,a=zDt){i.helper(SQ);const{children:u,loc:p}=o,y=[],T=[];let P=i.scopes.vSlot>0||i.scopes.vFor>0;!i.ssr&&i.prefixIdentifiers&&(P=O0(o,i.identifiers));const I=qm(o,"slot",!0);if(I){const{arg:et,exp:Ve}=I;et&&!Dh(et)&&(P=!0),y.push(rf(et||Ta("default",!0),a(Ve,u,p)))}let B=!1,z=!1;const H=[],Q=new Set;let Ie=0;for(let et=0;et<u.length;et++){const Ve=u[et];let vt;if(!nI(Ve)||!(vt=qm(Ve,"slot",!0))){Ve.type!==3&&H.push(Ve);continue}if(I){i.onError(Fu(37,vt.loc));break}B=!0;const{children:ut,loc:He}=Ve,{arg:Bt=Ta("default",!0),exp:ar,loc:kr}=vt;let Ot;Dh(Bt)?Ot=Bt?Bt.content:"default":P=!0;const xt=a(ar,ut,He);let Wt,_r,An;if(Wt=qm(Ve,"if"))P=!0,T.push(o6(Wt.exp,hG(Bt,xt,Ie++),Sje));else if(_r=qm(Ve,/^else(-if)?$/,!0)){let hr=et,Fi;for(;hr--&&(Fi=u[hr],Fi.type===3););if(Fi&&nI(Fi)&&qm(Fi,"if")){u.splice(et,1),et--;let ss=T[T.length-1];for(;ss.alternate.type===19;)ss=ss.alternate;ss.alternate=_r.exp?o6(_r.exp,hG(Bt,xt,Ie++),Sje):hG(Bt,xt,Ie++)}else i.onError(Fu(30,_r.loc))}else if(An=qm(Ve,"for")){P=!0;const hr=An.parseResult||n0e(An.exp,i);hr?T.push(bc(i.helper(hQ),[hr.source,tv(eR(hr),hG(Bt,xt),!0)])):i.onError(Fu(32,An.loc))}else{if(Ot){if(Q.has(Ot)){i.onError(Fu(38,kr));continue}Q.add(Ot),Ot==="default"&&(z=!0)}y.push(rf(Bt,xt))}}if(!I){const et=(Ve,vt)=>{const ut=a(Ve,vt,p);return rf("default",ut)};B?H.length&&H.some(Ve=>XVe(Ve))&&(z?i.onError(Fu(39,H[0].loc)):y.push(et(void 0,H))):y.push(et(void 0,u))}const ze=P?2:UG(o.children)?3:1;let Ue=F0(y.concat(rf("_",Ta(ze+` /* ${c3t[ze]} */`,!1))),p);return T.length&&(Ue=bc(i.helper(hye),[Ue,wA(T)])),{slots:Ue,hasDynamicSlots:P}}function hG(o,i,a){const u=[rf("name",o),rf("fn",i)];return a!=null&&u.push(rf("key",Ta(String(a),!0))),F0(u)}function UG(o){for(let i=0;i<o.length;i++){const a=o[i];switch(a.type){case 1:if(a.tagType===2||UG(a.children))return!0;break;case 9:if(UG(a.branches))return!0;break;case 10:case 11:if(UG(a.children))return!0;break}}return!1}function XVe(o){return o.type!==2&&o.type!==12?!0:o.type===2?!!o.content.trim():XVe(o.content)}const QVe=new WeakMap,YVe=(o,i)=>function(){if(o=i.currentNode,!(o.type===1&&(o.tagType===0||o.tagType===1)))return;const{tag:u,props:p}=o,y=o.tagType===1;let T=y?JQ(o,i):`"${u}"`;const P=dC(T)&&T.callee===ZN;let I,B,z,H=0,Q,Ie,ze,Ue=P||T===cA||T===yI||!y&&(u==="svg"||u==="foreignObject");if(p.length>0){const et=AI(o,i,void 0,y,P);I=et.props,H=et.patchFlag,Ie=et.dynamicPropNames;const Ve=et.directives;ze=Ve&&Ve.length?wA(Ve.map(vt=>a0e(vt,i))):void 0,et.shouldUseBlock&&(Ue=!0)}if(o.children.length>0)if(T===qF&&(Ue=!0,H|=1024,o.children.length>1&&i.onError(Fu(46,{start:o.children[0].loc.start,end:o.children[o.children.length-1].loc.end,source:""}))),y&&T!==cA&&T!==qF){const{slots:Ve,hasDynamicSlots:vt}=tR(o,i);B=Ve,vt&&(H|=1024)}else if(o.children.length===1&&T!==cA){const Ve=o.children[0],vt=Ve.type,ut=vt===5||vt===8;ut&&G1(Ve,i)===0&&(H|=1),ut||vt===2?B=Ve:B=o.children}else B=o.children;if(H!==0){if(H<0)z=H+` /* ${ZS[H]} */`;else{const et=Object.keys(ZS).map(Number).filter(Ve=>Ve>0&&H&Ve).map(Ve=>ZS[Ve]).join(", ");z=H+` /* ${et} */`}Ie&&Ie.length&&(Q=$Dt(Ie))}o.codegenNode=tI(i,T,I,B,z,Q,ze,!!Ue,!1,y,o.loc)};function JQ(o,i,a=!1){let{tag:u}=o;const p=Whe(u),y=R0(o,"is");if(y)if(p){const I=y.type===6?y.value&&Ta(y.value.content,!0):y.exp;if(I)return bc(i.helper(ZN),[I])}else y.type===6&&y.value.content.startsWith("vue:")&&(u=y.value.content.slice(4));const T=!p&&qm(o,"is");if(T&&T.exp)return i.onWarn(Fu(52,T.loc)),bc(i.helper(ZN),[T.exp]);const P=jye(u)||i.isBuiltInComponent(u);if(P)return a||i.helper(P),P;{const I=qhe(u,i);if(I)return I;const B=u.indexOf(".");if(B>0){const z=qhe(u.slice(0,B),i);if(z)return z+u.slice(B)}}return i.selfName&&s6(X2(u))===i.selfName?(i.helper(WF),i.components.add(u+"__self"),YF(u,"component")):(i.helper(WF),i.components.add(u),YF(u,"component"))}function qhe(o,i){const a=i.bindingMetadata;if(!a||a.__isScriptSetup===!1)return;const u=X2(o),p=s6(u),y=I=>{if(a[o]===I)return o;if(a[u]===I)return u;if(a[p]===I)return p},T=y("setup-const")||y("setup-reactive-const")||y("literal-const");if(T)return i.inline?T:`$setup[${JSON.stringify(T)}]`;const P=y("setup-let")||y("setup-ref")||y("setup-maybe-ref");if(P)return i.inline?`${i.helperString(eI)}(${P})`:`$setup[${JSON.stringify(P)}]`}function AI(o,i,a=o.props,u,p,y=!1){const{tag:T,loc:P,children:I}=o;let B=[];const z=[],H=[],Q=I.length>0;let Ie=!1,ze=0,Ue=!1,et=!1,Ve=!1,vt=!1,ut=!1,He=!1;const Bt=[],ar=xt=>{B.length&&(z.push(F0(xje(B),P)),B=[]),xt&&z.push(xt)},kr=({key:xt,value:Wt})=>{if(Dh(xt)){const _r=xt.content,An=Nze(_r);if(An&&(!u||p)&&_r.toLowerCase()!=="onclick"&&_r!=="onUpdate:modelValue"&&!JBe(_r)&&(vt=!0),An&&JBe(_r)&&(He=!0),Wt.type===20||(Wt.type===4||Wt.type===8)&&G1(Wt,i)>0)return;_r==="ref"?Ue=!0:_r==="class"?et=!0:_r==="style"?Ve=!0:_r!=="key"&&!Bt.includes(_r)&&Bt.push(_r),u&&(_r==="class"||_r==="style")&&!Bt.includes(_r)&&Bt.push(_r)}else ut=!0};for(let xt=0;xt<a.length;xt++){const Wt=a[xt];if(Wt.type===6){const{loc:_r,name:An,value:hr}=Wt;let Fi=!0;if(An==="ref"&&(Ue=!0,i.scopes.vFor>0&&B.push(rf(Ta("ref_for",!0),Ta("true"))),hr&&i.inline)){const ss=i.bindingMetadata[hr.content];(ss==="setup-let"||ss==="setup-ref"||ss==="setup-maybe-ref")&&(Fi=!1,B.push(rf(Ta("ref_key",!0),Ta(hr.content,!0,hr.loc))))}if(An==="is"&&(Whe(T)||hr&&hr.content.startsWith("vue:")))continue;B.push(rf(Ta(An,!0,Uye(_r,0,An.length)),Ta(hr?hr.content:"",Fi,hr?hr.loc:_r)))}else{const{name:_r,arg:An,exp:hr,loc:Fi}=Wt,ss=_r==="bind",qt=_r==="on";if(_r==="slot"){u||i.onError(Fu(40,Fi));continue}if(_r==="once"||_r==="memo"||_r==="is"||ss&&Kk(An,"is")&&Whe(T)||qt&&y)continue;if((ss&&Kk(An,"key")||qt&&Q&&Kk(An,"vue:before-update"))&&(Ie=!0),ss&&Kk(An,"ref")&&i.scopes.vFor>0&&B.push(rf(Ta("ref_for",!0),Ta("true"))),!An&&(ss||qt)){ut=!0,hr?ss?(ar(),z.push(hr)):ar({type:14,loc:Fi,callee:i.helper(vQ),arguments:u?[hr]:[hr,"true"]}):i.onError(Fu(ss?34:35,Fi));continue}const Ba=i.directiveTransforms[_r];if(Ba){const{props:$s,needRuntime:Vn}=Ba(Wt,o,i);!y&&$s.forEach(kr),qt&&An&&!Dh(An)?ar(F0($s,P)):B.push(...$s),Vn&&(H.push(Wt),gI(Vn)&&QVe.set(Wt,Vn))}else lye(_r)||(H.push(Wt),Q&&(Ie=!0))}}let Ot;if(z.length?(ar(),z.length>1?Ot=bc(i.helper(vA),z,P):Ot=z[0]):B.length&&(Ot=F0(xje(B),P)),ut?ze|=16:(et&&!u&&(ze|=2),Ve&&!u&&(ze|=4),Bt.length&&(ze|=8),vt&&(ze|=32)),!Ie&&(ze===0||ze===32)&&(Ue||He||H.length>0)&&(ze|=512),!i.inSSR&&Ot)switch(Ot.type){case 15:let xt=-1,Wt=-1,_r=!1;for(let Fi=0;Fi<Ot.properties.length;Fi++){const ss=Ot.properties[Fi].key;Dh(ss)?ss.content==="class"?xt=Fi:ss.content==="style"&&(Wt=Fi):ss.isHandlerKey||(_r=!0)}const An=Ot.properties[xt],hr=Ot.properties[Wt];_r?Ot=bc(i.helper(KN),[Ot]):(An&&!Dh(An.value)&&(An.value=bc(i.helper(gQ),[An.value])),hr&&(Ve||hr.value.type===4&&hr.value.content.trim()[0]==="["||hr.value.type===17)&&(hr.value=bc(i.helper(yQ),[hr.value])));break;case 14:break;default:Ot=bc(i.helper(KN),[bc(i.helper(bI),[Ot])]);break}return{props:Ot,directives:H,patchFlag:ze,dynamicPropNames:Bt,shouldUseBlock:Ie}}function xje(o){const i=new Map,a=[];for(let u=0;u<o.length;u++){const p=o[u];if(p.key.type===8||!p.key.isStatic){a.push(p);continue}const y=p.key.content,T=i.get(y);T?(y==="style"||y==="class"||Nze(y))&&VDt(T,p):(i.set(y,p),a.push(p))}return a}function VDt(o,i){o.value.type===17?o.value.elements.push(i.value):o.value=wA([o.value,i.value],o.loc)}function a0e(o,i){const a=[],u=QVe.get(o);if(u)a.push(i.helperString(u));else{const y=qhe("v-"+o.name,i);y?a.push(y):(i.helper(dQ),i.directives.add(o.name),a.push(YF(o.name,"directive")))}const{loc:p}=o;if(o.exp&&a.push(o.exp),o.arg&&(o.exp||a.push("void 0"),a.push(o.arg)),Object.keys(o.modifiers).length){o.arg||(o.exp||a.push("void 0"),a.push("void 0"));const y=Ta("true",!1,p);a.push(F0(o.modifiers.map(T=>rf(T,y)),p))}return wA(a,o.loc)}function $Dt(o){let i="[";for(let a=0,u=o.length;a<u;a++)i+=JSON.stringify(o[a]),a<u-1&&(i+=", ");return i+"]"}function Whe(o){return o==="component"||o==="Component"}const qDt=(o,i)=>{if(iI(o)){const{children:a,loc:u}=o,{slotName:p,slotProps:y}=o0e(o,i),T=[i.prefixIdentifiers?"_ctx.$slots":"$slots",p,"{}","undefined","true"];let P=2;y&&(T[2]=y,P=3),a.length&&(T[3]=tv([],a,!1,!1,u),P=4),i.scopeId&&!i.slotted&&(P=5),T.splice(P),o.codegenNode=bc(i.helper(mye),T,u)}};function o0e(o,i){let a='"default"',u;const p=[];for(let y=0;y<o.props.length;y++){const T=o.props[y];T.type===6?T.value&&(T.name==="name"?a=JSON.stringify(T.value.content):(T.name=X2(T.name),p.push(T))):T.name==="bind"&&Kk(T.arg,"name")?T.exp&&(a=T.exp):(T.name==="bind"&&T.arg&&Dh(T.arg)&&(T.arg.content=X2(T.arg.content)),p.push(T))}if(p.length>0){const{props:y,directives:T}=AI(o,i,p,!1,!1);u=y,T.length&&i.onError(Fu(36,T[0].loc))}return{slotName:a,slotProps:u}}const WDt=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,UQ=(o,i,a,u)=>{const{loc:p,modifiers:y,arg:T}=o;!o.exp&&!y.length&&a.onError(Fu(35,p));let P;if(T.type===4)if(T.isStatic){let H=T.content;H.startsWith("vnode")&&a.onWarn(Fu(51,T.loc)),H.startsWith("vue:")&&(H=`vnode-${H.slice(4)}`);const Q=i.tagType!==0||H.startsWith("vnode")||!/[A-Z]/.test(H)?a3t(X2(H)):`on:${H}`;P=Ta(Q,!0,T.loc)}else P=Ah([`${a.helperString(aX)}(`,T,")"]);else P=T,P.children.unshift(`${a.helperString(aX)}(`),P.children.push(")");let I=o.exp;I&&!I.content.trim()&&(I=void 0);let B=a.cacheHandlers&&!I&&!a.inVOnce;if(I){const H=Jye(I.content,a),Q=!(H||WDt.test(I.content)),Ie=I.content.includes(";");a.prefixIdentifiers&&(Q&&a.addIdentifiers("$event"),I=o.exp=xy(I,a,!1,Ie),Q&&a.removeIdentifiers("$event"),B=a.cacheHandlers&&!a.inVOnce&&!(I.type===4&&I.constType>0)&&!(H&&i.tagType===1)&&!O0(I,a.identifiers),B&&H&&(I.type===4?I.content=`${I.content} && ${I.content}(...args)`:I.children=[...I.children," && ",...I.children,"(...args)"])),(Q||B&&H)&&(I=Ah([`${Q?a.isTS?"($event: any)":"$event":`${a.isTS?`
//@ts-ignore
`:""}(...args)`} => ${Ie?"{":"("}`,I,Ie?"}":")"]))}let z={props:[rf(P,I||Ta("() => {}",!1,p))]};return u&&(z=u(z)),B&&(z.props[0].value=a.cache(z.props[0].value)),z.props.forEach(H=>H.key.isHandlerKey=!0),z},c0e=(o,i,a)=>{const{exp:u,modifiers:p,loc:y}=o,T=o.arg;return T.type!==4?(T.children.unshift("("),T.children.push(') || ""')):T.isStatic||(T.content=`${T.content} || ""`),p.includes("camel")&&(T.type===4?T.isStatic?T.content=X2(T.content):T.content=`${a.helperString(sX)}(${T.content})`:(T.children.unshift(`${a.helperString(sX)}(`),T.children.push(")"))),a.inSSR||(p.includes("prop")&&kje(T,"."),p.includes("attr")&&kje(T,"^")),!u||u.type===4&&!u.content.trim()?(a.onError(Fu(34,y)),{props:[rf(T,Ta("",!0,y))]}):{props:[rf(T,u)]}},kje=(o,i)=>{o.type===4?o.isStatic?o.content=i+o.content:o.content=`\`${i}\${${o.content}}\``:(o.children.unshift(`'${i}' + (`),o.children.push(")"))},HDt=(o,i)=>{if(o.type===0||o.type===1||o.type===11||o.type===10)return()=>{const a=o.children;let u,p=!1;for(let y=0;y<a.length;y++){const T=a[y];if(AF(T)){p=!0;for(let P=y+1;P<a.length;P++){const I=a[P];if(AF(I))u||(u=a[y]=Ah([T],T.loc)),u.children.push(" + ",I),a.splice(P,1),P--;else{u=void 0;break}}}}if(!(!p||a.length===1&&(o.type===0||o.type===1&&o.tagType===0&&!o.props.find(y=>y.type===7&&!i.directiveTransforms[y.name]))))for(let y=0;y<a.length;y++){const T=a[y];if(AF(T)||T.type===8){const P=[];(T.type!==2||T.content!==" ")&&P.push(T),!i.ssr&&G1(T,i)===0&&P.push(1+` /* ${ZS[1]} */`),a[y]={type:12,content:T,loc:T.loc,codegenNode:bc(i.helper(_Q),P)}}}}},Cje=new WeakSet,GDt=(o,i)=>{if(o.type===1&&qm(o,"once",!0))return Cje.has(o)||i.inVOnce||i.inSSR?void 0:(Cje.add(o),i.inVOnce=!0,i.helper(HF),()=>{i.inVOnce=!1;const a=i.currentNode;a.codegenNode&&(a.codegenNode=i.cache(a.codegenNode,!0))})},zQ=(o,i,a)=>{const{exp:u,arg:p}=o;if(!u)return a.onError(Fu(41,o.loc)),iF();const y=u.loc.source,T=u.type===4?u.content:y,P=a.bindingMetadata[y];if(P==="props"||P==="props-aliased")return a.onError(Fu(44,u.loc)),iF();const I=a.inline&&(P==="setup-let"||P==="setup-ref"||P==="setup-maybe-ref");if(!T.trim()||!Jye(T,a)&&!I)return a.onError(Fu(42,u.loc)),iF();if(a.prefixIdentifiers&&l6(T)&&a.identifiers[T])return a.onError(Fu(43,u.loc)),iF();const B=p||Ta("modelValue",!0),z=p?Dh(p)?`onUpdate:${X2(p.content)}`:Ah(['"onUpdate:" + ',p]):"onUpdate:modelValue";let H;const Q=a.isTS?"($event: any)":"$event";if(I)if(P==="setup-ref")H=Ah([`${Q} => ((`,Ta(y,!1,u.loc),").value = $event)"]);else{const ze=P==="setup-let"?`${y} = $event`:"null";H=Ah([`${Q} => (${a.helperString(GF)}(${y}) ? (`,Ta(y,!1,u.loc),`).value = $event : ${ze})`])}else H=Ah([`${Q} => ((`,u,") = $event)"]);const Ie=[rf(B,o.exp),rf(z,H)];if(a.prefixIdentifiers&&!a.inVOnce&&a.cacheHandlers&&!O0(u,a.identifiers)&&(Ie[1].value=a.cache(Ie[1].value)),o.modifiers.length&&i.tagType===1){const ze=o.modifiers.map(et=>(l6(et)?et:JSON.stringify(et))+": true").join(", "),Ue=p?Dh(p)?`${p.content}Modifiers`:Ah([p,' + "Modifiers"']):"modelModifiers";Ie.push(rf(Ue,Ta(`{ ${ze} }`,!1,o.loc,2)))}return iF(Ie)};function iF(o=[]){return{props:o}}const wje=new WeakSet,XDt=(o,i)=>{if(o.type===1){const a=qm(o,"memo");return!a||wje.has(o)?void 0:(wje.add(o),()=>{const u=o.codegenNode||i.currentNode.codegenNode;u&&u.type===13&&(o.tagType!==1&&kQ(u,i),o.codegenNode=bc(i.helper(xQ),[a.exp,tv(void 0,u),"_cache",String(i.cached++)]))})}};function l0e(o){return[[GDt,MDt,XDt,BDt,...o?[s0e,e0e]:[],qDt,YVe,i0e,HDt],{on:UQ,bind:c0e,model:zQ}]}function ZVe(o,i={}){const a=i.onError||fye,u=i.mode==="module",p=i.prefixIdentifiers===!0||u;!p&&i.cacheHandlers&&a(Fu(49)),i.scopeId&&!u&&a(Fu(50));const y=ou(o)?DQ(o,i):o,[T,P]=l0e(p);if(i.isTS){const{expressionPlugins:I}=i;(!I||!I.includes("typescript"))&&(i.expressionPlugins=[...I||[],"typescript"])}return IQ(y,sC({},i,{prefixIdentifiers:p,nodeTransforms:[...T,...i.nodeTransforms||[]],directiveTransforms:sC({},P,i.directiveTransforms||{})})),Zye(y,sC({},i,{prefixIdentifiers:p}))}const DF=()=>({props:[]}),u0e=Symbol("vModelRadio"),f0e=Symbol("vModelCheckbox"),_0e=Symbol("vModelText"),p0e=Symbol("vModelSelect"),TX=Symbol("vModelDynamic"),d0e=Symbol("vOnModifiersGuard"),m0e=Symbol("vOnKeysGuard"),h0e=Symbol("vShow"),PI=Symbol("Transition"),FR=Symbol("TransitionGroup");yye({[u0e]:"vModelRadio",[f0e]:"vModelCheckbox",[_0e]:"vModelText",[p0e]:"vModelSelect",[TX]:"vModelDynamic",[d0e]:"withModifiers",[m0e]:"withKeys",[h0e]:"vShow",[PI]:"Transition",[FR]:"TransitionGroup"});var Eje={GT:">",gt:">",LT:"<",lt:"<","ac;":"∾","af;":"⁡",AMP:"&",amp:"&","ap;":"≈","DD;":"ⅅ","dd;":"ⅆ",deg:"°","ee;":"ⅇ","eg;":"⪚","el;":"⪙",ETH:"Ð",eth:"ð","gE;":"≧","ge;":"≥","Gg;":"⋙","gg;":"≫","gl;":"≷","GT;":">","Gt;":"≫","gt;":">","ic;":"⁣","ii;":"ⅈ","Im;":"ℑ","in;":"∈","it;":"⁢","lE;":"≦","le;":"≤","lg;":"≶","Ll;":"⋘","ll;":"≪","LT;":"<","Lt;":"≪","lt;":"<","mp;":"∓","Mu;":"Μ","mu;":"μ","ne;":"≠","ni;":"∋",not:"¬","Nu;":"Ν","nu;":"ν","Or;":"⩔","or;":"∨","oS;":"Ⓢ","Pi;":"Π","pi;":"π","pm;":"±","Pr;":"⪻","pr;":"≺","Re;":"ℜ",REG:"®",reg:"®","rx;":"℞","Sc;":"⪼","sc;":"≻",shy:"­",uml:"¨","wp;":"℘","wr;":"≀","Xi;":"Ξ","xi;":"ξ",yen:"¥","acd;":"∿","acE;":"∾̳","Acy;":"А","acy;":"а","Afr;":"𝔄","afr;":"𝔞","AMP;":"&","amp;":"&","And;":"⩓","and;":"∧","ang;":"∠","apE;":"⩰","ape;":"≊","ast;":"*",Auml:"Ä",auml:"ä","Bcy;":"Б","bcy;":"б","Bfr;":"𝔅","bfr;":"𝔟","bne;":"=⃥","bot;":"⊥","Cap;":"⋒","cap;":"∩",cent:"¢","Cfr;":"ℭ","cfr;":"𝔠","Chi;":"Χ","chi;":"χ","cir;":"○",COPY:"©",copy:"©","Cup;":"⋓","cup;":"∪","Dcy;":"Д","dcy;":"д","deg;":"°","Del;":"∇","Dfr;":"𝔇","dfr;":"𝔡","die;":"¨","div;":"÷","Dot;":"¨","dot;":"˙","Ecy;":"Э","ecy;":"э","Efr;":"𝔈","efr;":"𝔢","egs;":"⪖","ell;":"ℓ","els;":"⪕","ENG;":"Ŋ","eng;":"ŋ","Eta;":"Η","eta;":"η","ETH;":"Ð","eth;":"ð",Euml:"Ë",euml:"ë","Fcy;":"Ф","fcy;":"ф","Ffr;":"𝔉","ffr;":"𝔣","gap;":"⪆","Gcy;":"Г","gcy;":"г","gEl;":"⪌","gel;":"⋛","geq;":"≥","ges;":"⩾","Gfr;":"𝔊","gfr;":"𝔤","ggg;":"⋙","gla;":"⪥","glE;":"⪒","glj;":"⪤","gnE;":"≩","gne;":"⪈","Hat;":"^","Hfr;":"ℌ","hfr;":"𝔥","Icy;":"И","icy;":"и","iff;":"⇔","Ifr;":"ℑ","ifr;":"𝔦","Int;":"∬","int;":"∫",Iuml:"Ï",iuml:"ï","Jcy;":"Й","jcy;":"й","Jfr;":"𝔍","jfr;":"𝔧","Kcy;":"К","kcy;":"к","Kfr;":"𝔎","kfr;":"𝔨","lap;":"⪅","lat;":"⪫","Lcy;":"Л","lcy;":"л","lEg;":"⪋","leg;":"⋚","leq;":"≤","les;":"⩽","Lfr;":"𝔏","lfr;":"𝔩","lgE;":"⪑","lnE;":"≨","lne;":"⪇","loz;":"◊","lrm;":"‎","Lsh;":"↰","lsh;":"↰",macr:"¯","Map;":"⤅","map;":"↦","Mcy;":"М","mcy;":"м","Mfr;":"𝔐","mfr;":"𝔪","mho;":"℧","mid;":"∣","nap;":"≉",nbsp:" ","Ncy;":"Н","ncy;":"н","Nfr;":"𝔑","nfr;":"𝔫","ngE;":"≧̸","nge;":"≱","nGg;":"⋙̸","nGt;":"≫⃒","ngt;":"≯","nis;":"⋼","niv;":"∋","nlE;":"≦̸","nle;":"≰","nLl;":"⋘̸","nLt;":"≪⃒","nlt;":"≮","Not;":"⫬","not;":"¬","npr;":"⊀","nsc;":"⊁","num;":"#","Ocy;":"О","ocy;":"о","Ofr;":"𝔒","ofr;":"𝔬","ogt;":"⧁","ohm;":"Ω","olt;":"⧀","ord;":"⩝",ordf:"ª",ordm:"º","orv;":"⩛",Ouml:"Ö",ouml:"ö","par;":"∥",para:"¶","Pcy;":"П","pcy;":"п","Pfr;":"𝔓","pfr;":"𝔭","Phi;":"Φ","phi;":"φ","piv;":"ϖ","prE;":"⪳","pre;":"⪯","Psi;":"Ψ","psi;":"ψ","Qfr;":"𝔔","qfr;":"𝔮",QUOT:'"',quot:'"',"Rcy;":"Р","rcy;":"р","REG;":"®","reg;":"®","Rfr;":"ℜ","rfr;":"𝔯","Rho;":"Ρ","rho;":"ρ","rlm;":"‏","Rsh;":"↱","rsh;":"↱","scE;":"⪴","sce;":"⪰","Scy;":"С","scy;":"с",sect:"§","Sfr;":"𝔖","sfr;":"𝔰","shy;":"­","sim;":"∼","smt;":"⪪","sol;":"/","squ;":"□","Sub;":"⋐","sub;":"⊂","Sum;":"∑","sum;":"∑","Sup;":"⋑","sup;":"⊃",sup1:"¹",sup2:"²",sup3:"³","Tab;":" ","Tau;":"Τ","tau;":"τ","Tcy;":"Т","tcy;":"т","Tfr;":"𝔗","tfr;":"𝔱","top;":"⊤","Ucy;":"У","ucy;":"у","Ufr;":"𝔘","ufr;":"𝔲","uml;":"¨",Uuml:"Ü",uuml:"ü","Vcy;":"В","vcy;":"в","Vee;":"⋁","vee;":"∨","Vfr;":"𝔙","vfr;":"𝔳","Wfr;":"𝔚","wfr;":"𝔴","Xfr;":"𝔛","xfr;":"𝔵","Ycy;":"Ы","ycy;":"ы","yen;":"¥","Yfr;":"𝔜","yfr;":"𝔶",yuml:"ÿ","Zcy;":"З","zcy;":"з","Zfr;":"ℨ","zfr;":"𝔷","zwj;":"‍",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ","andd;":"⩜","andv;":"⩚","ange;":"⦤","Aopf;":"𝔸","aopf;":"𝕒","apid;":"≋","apos;":"'",Aring:"Å",aring:"å","Ascr;":"𝒜","ascr;":"𝒶","Auml;":"Ä","auml;":"ä","Barv;":"⫧","bbrk;":"⎵","Beta;":"Β","beta;":"β","beth;":"ℶ","bNot;":"⫭","bnot;":"⌐","Bopf;":"𝔹","bopf;":"𝕓","boxH;":"═","boxh;":"─","boxV;":"║","boxv;":"│","Bscr;":"ℬ","bscr;":"𝒷","bsim;":"∽","bsol;":"\\","bull;":"•","bump;":"≎","caps;":"∩︀","Cdot;":"Ċ","cdot;":"ċ",cedil:"¸","cent;":"¢","CHcy;":"Ч","chcy;":"ч","circ;":"ˆ","cirE;":"⧃","cire;":"≗","comp;":"∁","cong;":"≅","Copf;":"ℂ","copf;":"𝕔","COPY;":"©","copy;":"©","Cscr;":"𝒞","cscr;":"𝒸","csub;":"⫏","csup;":"⫐","cups;":"∪︀","Darr;":"↡","dArr;":"⇓","darr;":"↓","dash;":"‐","dHar;":"⥥","diam;":"⋄","DJcy;":"Ђ","djcy;":"ђ","Dopf;":"𝔻","dopf;":"𝕕","Dscr;":"𝒟","dscr;":"𝒹","DScy;":"Ѕ","dscy;":"ѕ","dsol;":"⧶","dtri;":"▿","DZcy;":"Џ","dzcy;":"џ","ecir;":"≖",Ecirc:"Ê",ecirc:"ê","Edot;":"Ė","eDot;":"≑","edot;":"ė","emsp;":" ","ensp;":" ","Eopf;":"𝔼","eopf;":"𝕖","epar;":"⋕","epsi;":"ε","Escr;":"ℰ","escr;":"ℯ","Esim;":"⩳","esim;":"≂","Euml;":"Ë","euml;":"ë","euro;":"€","excl;":"!","flat;":"♭","fnof;":"ƒ","Fopf;":"𝔽","fopf;":"𝕗","fork;":"⋔","Fscr;":"ℱ","fscr;":"𝒻","Gdot;":"Ġ","gdot;":"ġ","geqq;":"≧","gesl;":"⋛︀","GJcy;":"Ѓ","gjcy;":"ѓ","gnap;":"⪊","gneq;":"⪈","Gopf;":"𝔾","gopf;":"𝕘","Gscr;":"𝒢","gscr;":"ℊ","gsim;":"≳","gtcc;":"⪧","gvnE;":"≩︀","half;":"½","hArr;":"⇔","harr;":"↔","hbar;":"ℏ","Hopf;":"ℍ","hopf;":"𝕙","Hscr;":"ℋ","hscr;":"𝒽",Icirc:"Î",icirc:"î","Idot;":"İ","IEcy;":"Е","iecy;":"е",iexcl:"¡","imof;":"⊷","IOcy;":"Ё","iocy;":"ё","Iopf;":"𝕀","iopf;":"𝕚","Iota;":"Ι","iota;":"ι","Iscr;":"ℐ","iscr;":"𝒾","isin;":"∈","Iuml;":"Ï","iuml;":"ï","Jopf;":"𝕁","jopf;":"𝕛","Jscr;":"𝒥","jscr;":"𝒿","KHcy;":"Х","khcy;":"х","KJcy;":"Ќ","kjcy;":"ќ","Kopf;":"𝕂","kopf;":"𝕜","Kscr;":"𝒦","kscr;":"𝓀","Lang;":"⟪","lang;":"⟨",laquo:"«","Larr;":"↞","lArr;":"⇐","larr;":"←","late;":"⪭","lcub;":"{","ldca;":"⤶","ldsh;":"↲","leqq;":"≦","lesg;":"⋚︀","lHar;":"⥢","LJcy;":"Љ","ljcy;":"љ","lnap;":"⪉","lneq;":"⪇","Lopf;":"𝕃","lopf;":"𝕝","lozf;":"⧫","lpar;":"(","Lscr;":"ℒ","lscr;":"𝓁","lsim;":"≲","lsqb;":"[","ltcc;":"⪦","ltri;":"◃","lvnE;":"≨︀","macr;":"¯","male;":"♂","malt;":"✠",micro:"µ","mlcp;":"⫛","mldr;":"…","Mopf;":"𝕄","mopf;":"𝕞","Mscr;":"ℳ","mscr;":"𝓂","nang;":"∠⃒","napE;":"⩰̸","nbsp;":" ","ncap;":"⩃","ncup;":"⩂","ngeq;":"≱","nges;":"⩾̸","ngtr;":"≯","nGtv;":"≫̸","nisd;":"⋺","NJcy;":"Њ","njcy;":"њ","nldr;":"‥","nleq;":"≰","nles;":"⩽̸","nLtv;":"≪̸","nmid;":"∤","Nopf;":"ℕ","nopf;":"𝕟","npar;":"∦","npre;":"⪯̸","nsce;":"⪰̸","Nscr;":"𝒩","nscr;":"𝓃","nsim;":"≁","nsub;":"⊄","nsup;":"⊅","ntgl;":"≹","ntlg;":"≸","nvap;":"≍⃒","nvge;":"≥⃒","nvgt;":">⃒","nvle;":"≤⃒","nvlt;":"<⃒","oast;":"⊛","ocir;":"⊚",Ocirc:"Ô",ocirc:"ô","odiv;":"⨸","odot;":"⊙","ogon;":"˛","oint;":"∮","omid;":"⦶","Oopf;":"𝕆","oopf;":"𝕠","opar;":"⦷","ordf;":"ª","ordm;":"º","oror;":"⩖","Oscr;":"𝒪","oscr;":"ℴ","osol;":"⊘","Ouml;":"Ö","ouml;":"ö","para;":"¶","part;":"∂","perp;":"⊥","phiv;":"ϕ","plus;":"+","Popf;":"ℙ","popf;":"𝕡",pound:"£","prap;":"⪷","prec;":"≺","prnE;":"⪵","prod;":"∏","prop;":"∝","Pscr;":"𝒫","pscr;":"𝓅","qint;":"⨌","Qopf;":"ℚ","qopf;":"𝕢","Qscr;":"𝒬","qscr;":"𝓆","QUOT;":'"',"quot;":'"',"race;":"∽̱","Rang;":"⟫","rang;":"⟩",raquo:"»","Rarr;":"↠","rArr;":"⇒","rarr;":"→","rcub;":"}","rdca;":"⤷","rdsh;":"↳","real;":"ℜ","rect;":"▭","rHar;":"⥤","rhov;":"ϱ","ring;":"˚","Ropf;":"ℝ","ropf;":"𝕣","rpar;":")","Rscr;":"ℛ","rscr;":"𝓇","rsqb;":"]","rtri;":"▹","scap;":"⪸","scnE;":"⪶","sdot;":"⋅","sect;":"§","semi;":";","sext;":"✶","SHcy;":"Ш","shcy;":"ш","sime;":"≃","simg;":"⪞","siml;":"⪝","smid;":"∣","smte;":"⪬","solb;":"⧄","Sopf;":"𝕊","sopf;":"𝕤","spar;":"∥","Sqrt;":"√","squf;":"▪","Sscr;":"𝒮","sscr;":"𝓈","Star;":"⋆","star;":"☆","subE;":"⫅","sube;":"⊆","succ;":"≻","sung;":"♪","sup1;":"¹","sup2;":"²","sup3;":"³","supE;":"⫆","supe;":"⊇",szlig:"ß","tbrk;":"⎴","tdot;":"⃛",THORN:"Þ",thorn:"þ",times:"×","tint;":"∭","toea;":"⤨","Topf;":"𝕋","topf;":"𝕥","tosa;":"⤩","trie;":"≜","Tscr;":"𝒯","tscr;":"𝓉","TScy;":"Ц","tscy;":"ц","Uarr;":"↟","uArr;":"⇑","uarr;":"↑",Ucirc:"Û",ucirc:"û","uHar;":"⥣","Uopf;":"𝕌","uopf;":"𝕦","Upsi;":"ϒ","upsi;":"υ","Uscr;":"𝒰","uscr;":"𝓊","utri;":"▵","Uuml;":"Ü","uuml;":"ü","vArr;":"⇕","varr;":"↕","Vbar;":"⫫","vBar;":"⫨","Vert;":"‖","vert;":"|","Vopf;":"𝕍","vopf;":"𝕧","Vscr;":"𝒱","vscr;":"𝓋","Wopf;":"𝕎","wopf;":"𝕨","Wscr;":"𝒲","wscr;":"𝓌","xcap;":"⋂","xcup;":"⋃","xmap;":"⟼","xnis;":"⋻","Xopf;":"𝕏","xopf;":"𝕩","Xscr;":"𝒳","xscr;":"𝓍","xvee;":"⋁","YAcy;":"Я","yacy;":"я","YIcy;":"Ї","yicy;":"ї","Yopf;":"𝕐","yopf;":"𝕪","Yscr;":"𝒴","yscr;":"𝓎","YUcy;":"Ю","yucy;":"ю","Yuml;":"Ÿ","yuml;":"ÿ","Zdot;":"Ż","zdot;":"ż","Zeta;":"Ζ","zeta;":"ζ","ZHcy;":"Ж","zhcy;":"ж","Zopf;":"ℤ","zopf;":"𝕫","Zscr;":"𝒵","zscr;":"𝓏","zwnj;":"‌",Aacute:"Á",aacute:"á","Acirc;":"Â","acirc;":"â","acute;":"´","AElig;":"Æ","aelig;":"æ",Agrave:"À",agrave:"à","aleph;":"ℵ","Alpha;":"Α","alpha;":"α","Amacr;":"Ā","amacr;":"ā","amalg;":"⨿","angle;":"∠","angrt;":"∟","angst;":"Å","Aogon;":"Ą","aogon;":"ą","Aring;":"Å","aring;":"å","asymp;":"≈",Atilde:"Ã",atilde:"ã","awint;":"⨑","bcong;":"≌","bdquo;":"„","bepsi;":"϶","blank;":"␣","blk12;":"▒","blk14;":"░","blk34;":"▓","block;":"█","boxDL;":"╗","boxDl;":"╖","boxdL;":"╕","boxdl;":"┐","boxDR;":"╔","boxDr;":"╓","boxdR;":"╒","boxdr;":"┌","boxHD;":"╦","boxHd;":"╤","boxhD;":"╥","boxhd;":"┬","boxHU;":"╩","boxHu;":"╧","boxhU;":"╨","boxhu;":"┴","boxUL;":"╝","boxUl;":"╜","boxuL;":"╛","boxul;":"┘","boxUR;":"╚","boxUr;":"╙","boxuR;":"╘","boxur;":"└","boxVH;":"╬","boxVh;":"╫","boxvH;":"╪","boxvh;":"┼","boxVL;":"╣","boxVl;":"╢","boxvL;":"╡","boxvl;":"┤","boxVR;":"╠","boxVr;":"╟","boxvR;":"╞","boxvr;":"├","Breve;":"˘","breve;":"˘",brvbar:"¦","bsemi;":"⁏","bsime;":"⋍","bsolb;":"⧅","bumpE;":"⪮","bumpe;":"≏","caret;":"⁁","caron;":"ˇ","ccaps;":"⩍",Ccedil:"Ç",ccedil:"ç","Ccirc;":"Ĉ","ccirc;":"ĉ","ccups;":"⩌","cedil;":"¸","check;":"✓","clubs;":"♣","Colon;":"∷","colon;":":","comma;":",","crarr;":"↵","Cross;":"⨯","cross;":"✗","csube;":"⫑","csupe;":"⫒","ctdot;":"⋯","cuepr;":"⋞","cuesc;":"⋟","cupor;":"⩅",curren:"¤","cuvee;":"⋎","cuwed;":"⋏","cwint;":"∱","Dashv;":"⫤","dashv;":"⊣","dblac;":"˝","ddarr;":"⇊","Delta;":"Δ","delta;":"δ","dharl;":"⇃","dharr;":"⇂","diams;":"♦","disin;":"⋲",divide:"÷","doteq;":"≐","dtdot;":"⋱","dtrif;":"▾","duarr;":"⇵","duhar;":"⥯",Eacute:"É",eacute:"é","Ecirc;":"Ê","ecirc;":"ê","eDDot;":"⩷","efDot;":"≒",Egrave:"È",egrave:"è","Emacr;":"Ē","emacr;":"ē","empty;":"∅","Eogon;":"Ę","eogon;":"ę","eplus;":"⩱","epsiv;":"ϵ","eqsim;":"≂","Equal;":"⩵","equiv;":"≡","erarr;":"⥱","erDot;":"≓","esdot;":"≐","exist;":"∃","fflig;":"ff","filig;":"fi","fjlig;":"fj","fllig;":"fl","fltns;":"▱","forkv;":"⫙",frac12:"½",frac14:"¼",frac34:"¾","frasl;":"⁄","frown;":"⌢","Gamma;":"Γ","gamma;":"γ","Gcirc;":"Ĝ","gcirc;":"ĝ","gescc;":"⪩","gimel;":"ℷ","gneqq;":"≩","gnsim;":"⋧","grave;":"`","gsime;":"⪎","gsiml;":"⪐","gtcir;":"⩺","gtdot;":"⋗","Hacek;":"ˇ","harrw;":"↭","Hcirc;":"Ĥ","hcirc;":"ĥ","hoarr;":"⇿",Iacute:"Í",iacute:"í","Icirc;":"Î","icirc;":"î","iexcl;":"¡",Igrave:"Ì",igrave:"ì","iiint;":"∭","iiota;":"℩","IJlig;":"IJ","ijlig;":"ij","Imacr;":"Ī","imacr;":"ī","image;":"ℑ","imath;":"ı","imped;":"Ƶ","infin;":"∞","Iogon;":"Į","iogon;":"į","iprod;":"⨼",iquest:"¿","isinE;":"⋹","isins;":"⋴","isinv;":"∈","Iukcy;":"І","iukcy;":"і","Jcirc;":"Ĵ","jcirc;":"ĵ","jmath;":"ȷ","Jukcy;":"Є","jukcy;":"є","Kappa;":"Κ","kappa;":"κ","lAarr;":"⇚","langd;":"⦑","laquo;":"«","larrb;":"⇤","lates;":"⪭︀","lBarr;":"⤎","lbarr;":"⤌","lbbrk;":"❲","lbrke;":"⦋","lceil;":"⌈","ldquo;":"“","lescc;":"⪨","lhard;":"↽","lharu;":"↼","lhblk;":"▄","llarr;":"⇇","lltri;":"◺","lneqq;":"≨","lnsim;":"⋦","loang;":"⟬","loarr;":"⇽","lobrk;":"⟦","lopar;":"⦅","lrarr;":"⇆","lrhar;":"⇋","lrtri;":"⊿","lsime;":"⪍","lsimg;":"⪏","lsquo;":"‘","ltcir;":"⩹","ltdot;":"⋖","ltrie;":"⊴","ltrif;":"◂","mdash;":"—","mDDot;":"∺","micro;":"µ",middot:"·","minus;":"−","mumap;":"⊸","nabla;":"∇","napid;":"≋̸","napos;":"ʼn","natur;":"♮","nbump;":"≎̸","ncong;":"≇","ndash;":"–","neArr;":"⇗","nearr;":"↗","nedot;":"≐̸","nesim;":"≂̸","ngeqq;":"≧̸","ngsim;":"≵","nhArr;":"⇎","nharr;":"↮","nhpar;":"⫲","nlArr;":"⇍","nlarr;":"↚","nleqq;":"≦̸","nless;":"≮","nlsim;":"≴","nltri;":"⋪","notin;":"∉","notni;":"∌","npart;":"∂̸","nprec;":"⊀","nrArr;":"⇏","nrarr;":"↛","nrtri;":"⋫","nsime;":"≄","nsmid;":"∤","nspar;":"∦","nsubE;":"⫅̸","nsube;":"⊈","nsucc;":"⊁","nsupE;":"⫆̸","nsupe;":"⊉",Ntilde:"Ñ",ntilde:"ñ","numsp;":" ","nvsim;":"∼⃒","nwArr;":"⇖","nwarr;":"↖",Oacute:"Ó",oacute:"ó","Ocirc;":"Ô","ocirc;":"ô","odash;":"⊝","OElig;":"Œ","oelig;":"œ","ofcir;":"⦿",Ograve:"Ò",ograve:"ò","ohbar;":"⦵","olarr;":"↺","olcir;":"⦾","oline;":"‾","Omacr;":"Ō","omacr;":"ō","Omega;":"Ω","omega;":"ω","operp;":"⦹","oplus;":"⊕","orarr;":"↻","order;":"ℴ",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ","ovbar;":"⌽","parsl;":"⫽","phone;":"☎","plusb;":"⊞","pluse;":"⩲",plusmn:"±","pound;":"£","prcue;":"≼","Prime;":"″","prime;":"′","prnap;":"⪹","prsim;":"≾","quest;":"?","rAarr;":"⇛","radic;":"√","rangd;":"⦒","range;":"⦥","raquo;":"»","rarrb;":"⇥","rarrc;":"⤳","rarrw;":"↝","ratio;":"∶","RBarr;":"⤐","rBarr;":"⤏","rbarr;":"⤍","rbbrk;":"❳","rbrke;":"⦌","rceil;":"⌉","rdquo;":"”","reals;":"ℝ","rhard;":"⇁","rharu;":"⇀","rlarr;":"⇄","rlhar;":"⇌","rnmid;":"⫮","roang;":"⟭","roarr;":"⇾","robrk;":"⟧","ropar;":"⦆","rrarr;":"⇉","rsquo;":"’","rtrie;":"⊵","rtrif;":"▸","sbquo;":"‚","sccue;":"≽","Scirc;":"Ŝ","scirc;":"ŝ","scnap;":"⪺","scsim;":"≿","sdotb;":"⊡","sdote;":"⩦","seArr;":"⇘","searr;":"↘","setmn;":"∖","sharp;":"♯","Sigma;":"Σ","sigma;":"σ","simeq;":"≃","simgE;":"⪠","simlE;":"⪟","simne;":"≆","slarr;":"←","smile;":"⌣","smtes;":"⪬︀","sqcap;":"⊓","sqcup;":"⊔","sqsub;":"⊏","sqsup;":"⊐","srarr;":"→","starf;":"★","strns;":"¯","subnE;":"⫋","subne;":"⊊","supnE;":"⫌","supne;":"⊋","swArr;":"⇙","swarr;":"↙","szlig;":"ß","Theta;":"Θ","theta;":"θ","thkap;":"≈","THORN;":"Þ","thorn;":"þ","Tilde;":"∼","tilde;":"˜","times;":"×","TRADE;":"™","trade;":"™","trisb;":"⧍","TSHcy;":"Ћ","tshcy;":"ћ","twixt;":"≬",Uacute:"Ú",uacute:"ú","Ubrcy;":"Ў","ubrcy;":"ў","Ucirc;":"Û","ucirc;":"û","udarr;":"⇅","udhar;":"⥮",Ugrave:"Ù",ugrave:"ù","uharl;":"↿","uharr;":"↾","uhblk;":"▀","ultri;":"◸","Umacr;":"Ū","umacr;":"ū","Union;":"⋃","Uogon;":"Ų","uogon;":"ų","uplus;":"⊎","upsih;":"ϒ","UpTee;":"⊥","Uring;":"Ů","uring;":"ů","urtri;":"◹","utdot;":"⋰","utrif;":"▴","uuarr;":"⇈","varpi;":"ϖ","vBarv;":"⫩","VDash;":"⊫","Vdash;":"⊩","vDash;":"⊨","vdash;":"⊢","veeeq;":"≚","vltri;":"⊲","vnsub;":"⊂⃒","vnsup;":"⊃⃒","vprop;":"∝","vrtri;":"⊳","Wcirc;":"Ŵ","wcirc;":"ŵ","Wedge;":"⋀","wedge;":"∧","xcirc;":"◯","xdtri;":"▽","xhArr;":"⟺","xharr;":"⟷","xlArr;":"⟸","xlarr;":"⟵","xodot;":"⨀","xrArr;":"⟹","xrarr;":"⟶","xutri;":"△",Yacute:"Ý",yacute:"ý","Ycirc;":"Ŷ","ycirc;":"ŷ","Aacute;":"Á","aacute;":"á","Abreve;":"Ă","abreve;":"ă","Agrave;":"À","agrave;":"à","andand;":"⩕","angmsd;":"∡","angsph;":"∢","apacir;":"⩯","approx;":"≈","Assign;":"≔","Atilde;":"Ã","atilde;":"ã","barvee;":"⊽","Barwed;":"⌆","barwed;":"⌅","becaus;":"∵","bernou;":"ℬ","bigcap;":"⋂","bigcup;":"⋃","bigvee;":"⋁","bkarow;":"⤍","bottom;":"⊥","bowtie;":"⋈","boxbox;":"⧉","bprime;":"‵","brvbar;":"¦","bullet;":"•","Bumpeq;":"≎","bumpeq;":"≏","Cacute;":"Ć","cacute;":"ć","capand;":"⩄","capcap;":"⩋","capcup;":"⩇","capdot;":"⩀","Ccaron;":"Č","ccaron;":"č","Ccedil;":"Ç","ccedil;":"ç","circeq;":"≗","cirmid;":"⫯","Colone;":"⩴","colone;":"≔","commat;":"@","compfn;":"∘","Conint;":"∯","conint;":"∮","coprod;":"∐","copysr;":"℗","cularr;":"↶","CupCap;":"≍","cupcap;":"⩆","cupcup;":"⩊","cupdot;":"⊍","curarr;":"↷","curren;":"¤","cylcty;":"⌭","Dagger;":"‡","dagger;":"†","daleth;":"ℸ","Dcaron;":"Ď","dcaron;":"ď","dfisht;":"⥿","divide;":"÷","divonx;":"⋇","dlcorn;":"⌞","dlcrop;":"⌍","dollar;":"$","DotDot;":"⃜","drcorn;":"⌟","drcrop;":"⌌","Dstrok;":"Đ","dstrok;":"đ","Eacute;":"É","eacute;":"é","easter;":"⩮","Ecaron;":"Ě","ecaron;":"ě","ecolon;":"≕","Egrave;":"È","egrave;":"è","egsdot;":"⪘","elsdot;":"⪗","emptyv;":"∅","emsp13;":" ","emsp14;":" ","eparsl;":"⧣","eqcirc;":"≖","equals;":"=","equest;":"≟","Exists;":"∃","female;":"♀","ffilig;":"ffi","ffllig;":"ffl","ForAll;":"∀","forall;":"∀","frac12;":"½","frac13;":"⅓","frac14;":"¼","frac15;":"⅕","frac16;":"⅙","frac18;":"⅛","frac23;":"⅔","frac25;":"⅖","frac34;":"¾","frac35;":"⅗","frac38;":"⅜","frac45;":"⅘","frac56;":"⅚","frac58;":"⅝","frac78;":"⅞","gacute;":"ǵ","Gammad;":"Ϝ","gammad;":"ϝ","Gbreve;":"Ğ","gbreve;":"ğ","Gcedil;":"Ģ","gesdot;":"⪀","gesles;":"⪔","gtlPar;":"⦕","gtrarr;":"⥸","gtrdot;":"⋗","gtrsim;":"≳","hairsp;":" ","hamilt;":"ℋ","HARDcy;":"Ъ","hardcy;":"ъ","hearts;":"♥","hellip;":"…","hercon;":"⊹","homtht;":"∻","horbar;":"―","hslash;":"ℏ","Hstrok;":"Ħ","hstrok;":"ħ","hybull;":"⁃","hyphen;":"‐","Iacute;":"Í","iacute;":"í","Igrave;":"Ì","igrave;":"ì","iiiint;":"⨌","iinfin;":"⧜","incare;":"℅","inodot;":"ı","intcal;":"⊺","iquest;":"¿","isinsv;":"⋳","Itilde;":"Ĩ","itilde;":"ĩ","Jsercy;":"Ј","jsercy;":"ј","kappav;":"ϰ","Kcedil;":"Ķ","kcedil;":"ķ","kgreen;":"ĸ","Lacute;":"Ĺ","lacute;":"ĺ","lagran;":"ℒ","Lambda;":"Λ","lambda;":"λ","langle;":"⟨","larrfs;":"⤝","larrhk;":"↩","larrlp;":"↫","larrpl;":"⤹","larrtl;":"↢","lAtail;":"⤛","latail;":"⤙","lbrace;":"{","lbrack;":"[","Lcaron;":"Ľ","lcaron;":"ľ","Lcedil;":"Ļ","lcedil;":"ļ","ldquor;":"„","lesdot;":"⩿","lesges;":"⪓","lfisht;":"⥼","lfloor;":"⌊","lharul;":"⥪","llhard;":"⥫","Lmidot;":"Ŀ","lmidot;":"ŀ","lmoust;":"⎰","loplus;":"⨭","lowast;":"∗","lowbar;":"_","lparlt;":"⦓","lrhard;":"⥭","lsaquo;":"‹","lsquor;":"‚","Lstrok;":"Ł","lstrok;":"ł","lthree;":"⋋","ltimes;":"⋉","ltlarr;":"⥶","ltrPar;":"⦖","mapsto;":"↦","marker;":"▮","mcomma;":"⨩","midast;":"*","midcir;":"⫰","middot;":"·","minusb;":"⊟","minusd;":"∸","mnplus;":"∓","models;":"⊧","mstpos;":"∾","Nacute;":"Ń","nacute;":"ń","nbumpe;":"≏̸","Ncaron;":"Ň","ncaron;":"ň","Ncedil;":"Ņ","ncedil;":"ņ","nearhk;":"⤤","nequiv;":"≢","nesear;":"⤨","nexist;":"∄","nltrie;":"⋬","notinE;":"⋹̸","nparsl;":"⫽⃥","nprcue;":"⋠","nrarrc;":"⤳̸","nrarrw;":"↝̸","nrtrie;":"⋭","nsccue;":"⋡","nsimeq;":"≄","Ntilde;":"Ñ","ntilde;":"ñ","numero;":"№","nVDash;":"⊯","nVdash;":"⊮","nvDash;":"⊭","nvdash;":"⊬","nvHarr;":"⤄","nvlArr;":"⤂","nvrArr;":"⤃","nwarhk;":"⤣","nwnear;":"⤧","Oacute;":"Ó","oacute;":"ó","Odblac;":"Ő","odblac;":"ő","odsold;":"⦼","Ograve;":"Ò","ograve;":"ò","ominus;":"⊖","origof;":"⊶","Oslash;":"Ø","oslash;":"ø","Otilde;":"Õ","otilde;":"õ","Otimes;":"⨷","otimes;":"⊗","parsim;":"⫳","percnt;":"%","period;":".","permil;":"‰","phmmat;":"ℳ","planck;":"ℏ","plankv;":"ℏ","plusdo;":"∔","plusdu;":"⨥","plusmn;":"±","preceq;":"⪯","primes;":"ℙ","prnsim;":"⋨","propto;":"∝","prurel;":"⊰","puncsp;":" ","qprime;":"⁗","Racute;":"Ŕ","racute;":"ŕ","rangle;":"⟩","rarrap;":"⥵","rarrfs;":"⤞","rarrhk;":"↪","rarrlp;":"↬","rarrpl;":"⥅","Rarrtl;":"⤖","rarrtl;":"↣","rAtail;":"⤜","ratail;":"⤚","rbrace;":"}","rbrack;":"]","Rcaron;":"Ř","rcaron;":"ř","Rcedil;":"Ŗ","rcedil;":"ŗ","rdquor;":"”","rfisht;":"⥽","rfloor;":"⌋","rharul;":"⥬","rmoust;":"⎱","roplus;":"⨮","rpargt;":"⦔","rsaquo;":"›","rsquor;":"’","rthree;":"⋌","rtimes;":"⋊","Sacute;":"Ś","sacute;":"ś","Scaron;":"Š","scaron;":"š","Scedil;":"Ş","scedil;":"ş","scnsim;":"⋩","searhk;":"⤥","seswar;":"⤩","sfrown;":"⌢","SHCHcy;":"Щ","shchcy;":"щ","sigmaf;":"ς","sigmav;":"ς","simdot;":"⩪","smashp;":"⨳","SOFTcy;":"Ь","softcy;":"ь","solbar;":"⌿","spades;":"♠","sqcaps;":"⊓︀","sqcups;":"⊔︀","sqsube;":"⊑","sqsupe;":"⊒","Square;":"□","square;":"□","squarf;":"▪","ssetmn;":"∖","ssmile;":"⌣","sstarf;":"⋆","subdot;":"⪽","Subset;":"⋐","subset;":"⊂","subsim;":"⫇","subsub;":"⫕","subsup;":"⫓","succeq;":"⪰","supdot;":"⪾","Supset;":"⋑","supset;":"⊃","supsim;":"⫈","supsub;":"⫔","supsup;":"⫖","swarhk;":"⤦","swnwar;":"⤪","target;":"⌖","Tcaron;":"Ť","tcaron;":"ť","Tcedil;":"Ţ","tcedil;":"ţ","telrec;":"⌕","there4;":"∴","thetav;":"ϑ","thinsp;":" ","thksim;":"∼","timesb;":"⊠","timesd;":"⨰","topbot;":"⌶","topcir;":"⫱","tprime;":"‴","tridot;":"◬","Tstrok;":"Ŧ","tstrok;":"ŧ","Uacute;":"Ú","uacute;":"ú","Ubreve;":"Ŭ","ubreve;":"ŭ","Udblac;":"Ű","udblac;":"ű","ufisht;":"⥾","Ugrave;":"Ù","ugrave;":"ù","ulcorn;":"⌜","ulcrop;":"⌏","urcorn;":"⌝","urcrop;":"⌎","Utilde;":"Ũ","utilde;":"ũ","vangrt;":"⦜","varphi;":"ϕ","varrho;":"ϱ","Vdashl;":"⫦","veebar;":"⊻","vellip;":"⋮","Verbar;":"‖","verbar;":"|","vsubnE;":"⫋︀","vsubne;":"⊊︀","vsupnE;":"⫌︀","vsupne;":"⊋︀","Vvdash;":"⊪","wedbar;":"⩟","wedgeq;":"≙","weierp;":"℘","wreath;":"≀","xoplus;":"⨁","xotime;":"⨂","xsqcup;":"⨆","xuplus;":"⨄","xwedge;":"⋀","Yacute;":"Ý","yacute;":"ý","Zacute;":"Ź","zacute;":"ź","Zcaron;":"Ž","zcaron;":"ž","zeetrf;":"ℨ","alefsym;":"ℵ","angrtvb;":"⊾","angzarr;":"⍼","asympeq;":"≍","backsim;":"∽","Because;":"∵","because;":"∵","bemptyv;":"⦰","between;":"≬","bigcirc;":"◯","bigodot;":"⨀","bigstar;":"★","bnequiv;":"≡⃥","boxplus;":"⊞","Cayleys;":"ℭ","Cconint;":"∰","ccupssm;":"⩐","Cedilla;":"¸","cemptyv;":"⦲","cirscir;":"⧂","coloneq;":"≔","congdot;":"⩭","cudarrl;":"⤸","cudarrr;":"⤵","cularrp;":"⤽","curarrm;":"⤼","dbkarow;":"⤏","ddagger;":"‡","ddotseq;":"⩷","demptyv;":"⦱","Diamond;":"⋄","diamond;":"⋄","digamma;":"ϝ","dotplus;":"∔","DownTee;":"⊤","dwangle;":"⦦","Element;":"∈","Epsilon;":"Ε","epsilon;":"ε","eqcolon;":"≕","equivDD;":"⩸","gesdoto;":"⪂","gtquest;":"⩼","gtrless;":"≷","harrcir;":"⥈","Implies;":"⇒","intprod;":"⨼","isindot;":"⋵","larrbfs;":"⤟","larrsim;":"⥳","lbrksld;":"⦏","lbrkslu;":"⦍","ldrdhar;":"⥧","LeftTee;":"⊣","lesdoto;":"⪁","lessdot;":"⋖","lessgtr;":"≶","lesssim;":"≲","lotimes;":"⨴","lozenge;":"◊","ltquest;":"⩻","luruhar;":"⥦","maltese;":"✠","minusdu;":"⨪","napprox;":"≉","natural;":"♮","nearrow;":"↗","NewLine;":`
`,"nexists;":"∄","NoBreak;":"⁠","notinva;":"∉","notinvb;":"⋷","notinvc;":"⋶","NotLess;":"≮","notniva;":"∌","notnivb;":"⋾","notnivc;":"⋽","npolint;":"⨔","npreceq;":"⪯̸","nsqsube;":"⋢","nsqsupe;":"⋣","nsubset;":"⊂⃒","nsucceq;":"⪰̸","nsupset;":"⊃⃒","nvinfin;":"⧞","nvltrie;":"⊴⃒","nvrtrie;":"⊵⃒","nwarrow;":"↖","olcross;":"⦻","Omicron;":"Ο","omicron;":"ο","orderof;":"ℴ","orslope;":"⩗","OverBar;":"‾","pertenk;":"‱","planckh;":"ℎ","pluscir;":"⨢","plussim;":"⨦","plustwo;":"⨧","precsim;":"≾","Product;":"∏","quatint;":"⨖","questeq;":"≟","rarrbfs;":"⤠","rarrsim;":"⥴","rbrksld;":"⦎","rbrkslu;":"⦐","rdldhar;":"⥩","realine;":"ℛ","rotimes;":"⨵","ruluhar;":"⥨","searrow;":"↘","simplus;":"⨤","simrarr;":"⥲","subedot;":"⫃","submult;":"⫁","subplus;":"⪿","subrarr;":"⥹","succsim;":"≿","supdsub;":"⫘","supedot;":"⫄","suphsol;":"⟉","suphsub;":"⫗","suplarr;":"⥻","supmult;":"⫂","supplus;":"⫀","swarrow;":"↙","topfork;":"⫚","triplus;":"⨹","tritime;":"⨻","UpArrow;":"↑","Uparrow;":"⇑","uparrow;":"↑","Upsilon;":"Υ","upsilon;":"υ","uwangle;":"⦧","vzigzag;":"⦚","zigrarr;":"⇝","andslope;":"⩘","angmsdaa;":"⦨","angmsdab;":"⦩","angmsdac;":"⦪","angmsdad;":"⦫","angmsdae;":"⦬","angmsdaf;":"⦭","angmsdag;":"⦮","angmsdah;":"⦯","angrtvbd;":"⦝","approxeq;":"≊","awconint;":"∳","backcong;":"≌","barwedge;":"⌅","bbrktbrk;":"⎶","bigoplus;":"⨁","bigsqcup;":"⨆","biguplus;":"⨄","bigwedge;":"⋀","boxminus;":"⊟","boxtimes;":"⊠","bsolhsub;":"⟈","capbrcup;":"⩉","circledR;":"®","circledS;":"Ⓢ","cirfnint;":"⨐","clubsuit;":"♣","cupbrcap;":"⩈","curlyvee;":"⋎","cwconint;":"∲","DDotrahd;":"⤑","doteqdot;":"≑","DotEqual;":"≐","dotminus;":"∸","drbkarow;":"⤐","dzigrarr;":"⟿","elinters;":"⏧","emptyset;":"∅","eqvparsl;":"⧥","fpartint;":"⨍","geqslant;":"⩾","gesdotol;":"⪄","gnapprox;":"⪊","hksearow;":"⤥","hkswarow;":"⤦","imagline;":"ℐ","imagpart;":"ℑ","infintie;":"⧝","integers;":"ℤ","Integral;":"∫","intercal;":"⊺","intlarhk;":"⨗","laemptyv;":"⦴","ldrushar;":"⥋","leqslant;":"⩽","lesdotor;":"⪃","LessLess;":"⪡","llcorner;":"⌞","lnapprox;":"⪉","lrcorner;":"⌟","lurdshar;":"⥊","mapstoup;":"↥","multimap;":"⊸","naturals;":"ℕ","ncongdot;":"⩭̸","NotEqual;":"≠","notindot;":"⋵̸","NotTilde;":"≁","otimesas;":"⨶","parallel;":"∥","PartialD;":"∂","plusacir;":"⨣","pointint;":"⨕","Precedes;":"≺","precneqq;":"⪵","precnsim;":"⋨","profalar;":"⌮","profline;":"⌒","profsurf;":"⌓","raemptyv;":"⦳","realpart;":"ℜ","RightTee;":"⊢","rppolint;":"⨒","rtriltri;":"⧎","scpolint;":"⨓","setminus;":"∖","shortmid;":"∣","smeparsl;":"⧤","sqsubset;":"⊏","sqsupset;":"⊐","subseteq;":"⊆","Succeeds;":"≻","succneqq;":"⪶","succnsim;":"⋩","SuchThat;":"∋","Superset;":"⊃","supseteq;":"⊇","thetasym;":"ϑ","thicksim;":"∼","timesbar;":"⨱","triangle;":"▵","triminus;":"⨺","trpezium;":"⏢","Uarrocir;":"⥉","ulcorner;":"⌜","UnderBar;":"_","urcorner;":"⌝","varkappa;":"ϰ","varsigma;":"ς","vartheta;":"ϑ","backprime;":"‵","backsimeq;":"⋍","Backslash;":"∖","bigotimes;":"⨂","CenterDot;":"·","centerdot;":"·","checkmark;":"✓","CircleDot;":"⊙","complexes;":"ℂ","Congruent;":"≡","Coproduct;":"∐","dotsquare;":"⊡","DoubleDot;":"¨","DownArrow;":"↓","Downarrow;":"⇓","downarrow;":"↓","DownBreve;":"̑","gtrapprox;":"⪆","gtreqless;":"⋛","gvertneqq;":"≩︀","heartsuit;":"♥","HumpEqual;":"≏","LeftArrow;":"←","Leftarrow;":"⇐","leftarrow;":"←","LeftFloor;":"⌊","lesseqgtr;":"⋚","LessTilde;":"≲","lvertneqq;":"≨︀","Mellintrf;":"ℳ","MinusPlus;":"∓","ngeqslant;":"⩾̸","nleqslant;":"⩽̸","NotCupCap;":"≭","NotExists;":"∄","NotSubset;":"⊂⃒","nparallel;":"∦","nshortmid;":"∤","nsubseteq;":"⊈","nsupseteq;":"⊉","OverBrace;":"⏞","pitchfork;":"⋔","PlusMinus;":"±","rationals;":"ℚ","spadesuit;":"♠","subseteqq;":"⫅","subsetneq;":"⊊","supseteqq;":"⫆","supsetneq;":"⊋","Therefore;":"∴","therefore;":"∴","ThinSpace;":" ","triangleq;":"≜","TripleDot;":"⃛","UnionPlus;":"⊎","varpropto;":"∝","Bernoullis;":"ℬ","circledast;":"⊛","CirclePlus;":"⊕","complement;":"∁","curlywedge;":"⋏","eqslantgtr;":"⪖","EqualTilde;":"≂","Fouriertrf;":"ℱ","gtreqqless;":"⪌","ImaginaryI;":"ⅈ","Laplacetrf;":"ℒ","LeftVector;":"↼","lessapprox;":"⪅","lesseqqgtr;":"⪋","Lleftarrow;":"⇚","lmoustache;":"⎰","longmapsto;":"⟼","mapstodown;":"↧","mapstoleft;":"↤","nLeftarrow;":"⇍","nleftarrow;":"↚","NotElement;":"∉","NotGreater;":"≯","nsubseteqq;":"⫅̸","nsupseteqq;":"⫆̸","precapprox;":"⪷","Proportion;":"∷","RightArrow;":"→","Rightarrow;":"⇒","rightarrow;":"→","RightFloor;":"⌋","rmoustache;":"⎱","sqsubseteq;":"⊑","sqsupseteq;":"⊒","subsetneqq;":"⫋","succapprox;":"⪸","supsetneqq;":"⫌","ThickSpace;":"  ","TildeEqual;":"≃","TildeTilde;":"≈","UnderBrace;":"⏟","UpArrowBar;":"⤒","UpTeeArrow;":"↥","upuparrows;":"⇈","varepsilon;":"ϵ","varnothing;":"∅","backepsilon;":"϶","blacksquare;":"▪","circledcirc;":"⊚","circleddash;":"⊝","CircleMinus;":"⊖","CircleTimes;":"⊗","curlyeqprec;":"⋞","curlyeqsucc;":"⋟","diamondsuit;":"♦","eqslantless;":"⪕","Equilibrium;":"⇌","expectation;":"ℰ","GreaterLess;":"≷","LeftCeiling;":"⌈","LessGreater;":"≶","MediumSpace;":" ","NotLessLess;":"≪̸","NotPrecedes;":"⊀","NotSucceeds;":"⊁","NotSuperset;":"⊃⃒","nRightarrow;":"⇏","nrightarrow;":"↛","OverBracket;":"⎴","preccurlyeq;":"≼","precnapprox;":"⪹","quaternions;":"ℍ","RightVector;":"⇀","Rrightarrow;":"⇛","RuleDelayed;":"⧴","SmallCircle;":"∘","SquareUnion;":"⊔","straightphi;":"ϕ","SubsetEqual;":"⊆","succcurlyeq;":"≽","succnapprox;":"⪺","thickapprox;":"≈","UpDownArrow;":"↕","Updownarrow;":"⇕","updownarrow;":"↕","VerticalBar;":"∣","blacklozenge;":"⧫","DownArrowBar;":"⤓","DownTeeArrow;":"↧","ExponentialE;":"ⅇ","exponentiale;":"ⅇ","GreaterEqual;":"≥","GreaterTilde;":"≳","HilbertSpace;":"ℋ","HumpDownHump;":"≎","Intersection;":"⋂","LeftArrowBar;":"⇤","LeftTeeArrow;":"↤","LeftTriangle;":"⊲","LeftUpVector;":"↿","NotCongruent;":"≢","NotHumpEqual;":"≏̸","NotLessEqual;":"≰","NotLessTilde;":"≴","Proportional;":"∝","RightCeiling;":"⌉","risingdotseq;":"≓","RoundImplies;":"⥰","ShortUpArrow;":"↑","SquareSubset;":"⊏","triangledown;":"▿","triangleleft;":"◃","UnderBracket;":"⎵","varsubsetneq;":"⊊︀","varsupsetneq;":"⊋︀","VerticalLine;":"|","ApplyFunction;":"⁡","bigtriangleup;":"△","blacktriangle;":"▴","DifferentialD;":"ⅆ","divideontimes;":"⋇","DoubleLeftTee;":"⫤","DoubleUpArrow;":"⇑","fallingdotseq;":"≒","hookleftarrow;":"↩","leftarrowtail;":"↢","leftharpoonup;":"↼","LeftTeeVector;":"⥚","LeftVectorBar;":"⥒","LessFullEqual;":"≦","LongLeftArrow;":"⟵","Longleftarrow;":"⟸","longleftarrow;":"⟵","looparrowleft;":"↫","measuredangle;":"∡","NotEqualTilde;":"≂̸","NotTildeEqual;":"≄","NotTildeTilde;":"≉","ntriangleleft;":"⋪","Poincareplane;":"ℌ","PrecedesEqual;":"⪯","PrecedesTilde;":"≾","RightArrowBar;":"⇥","RightTeeArrow;":"↦","RightTriangle;":"⊳","RightUpVector;":"↾","shortparallel;":"∥","smallsetminus;":"∖","SucceedsEqual;":"⪰","SucceedsTilde;":"≿","SupersetEqual;":"⊇","triangleright;":"▹","UpEquilibrium;":"⥮","upharpoonleft;":"↿","varsubsetneqq;":"⫋︀","varsupsetneqq;":"⫌︀","VerticalTilde;":"≀","VeryThinSpace;":" ","curvearrowleft;":"↶","DiacriticalDot;":"˙","doublebarwedge;":"⌆","DoubleRightTee;":"⊨","downdownarrows;":"⇊","DownLeftVector;":"↽","GreaterGreater;":"⪢","hookrightarrow;":"↪","HorizontalLine;":"─","InvisibleComma;":"⁣","InvisibleTimes;":"⁢","LeftDownVector;":"⇃","leftleftarrows;":"⇇","LeftRightArrow;":"↔","Leftrightarrow;":"⇔","leftrightarrow;":"↔","leftthreetimes;":"⋋","LessSlantEqual;":"⩽","LongRightArrow;":"⟶","Longrightarrow;":"⟹","longrightarrow;":"⟶","looparrowright;":"↬","LowerLeftArrow;":"↙","NestedLessLess;":"≪","NotGreaterLess;":"≹","NotLessGreater;":"≸","NotSubsetEqual;":"⊈","NotVerticalBar;":"∤","nshortparallel;":"∦","ntriangleright;":"⋫","OpenCurlyQuote;":"‘","ReverseElement;":"∋","rightarrowtail;":"↣","rightharpoonup;":"⇀","RightTeeVector;":"⥛","RightVectorBar;":"⥓","ShortDownArrow;":"↓","ShortLeftArrow;":"←","SquareSuperset;":"⊐","TildeFullEqual;":"≅","trianglelefteq;":"⊴","upharpoonright;":"↾","UpperLeftArrow;":"↖","ZeroWidthSpace;":"​","bigtriangledown;":"▽","circlearrowleft;":"↺","CloseCurlyQuote;":"’","ContourIntegral;":"∮","curvearrowright;":"↷","DoubleDownArrow;":"⇓","DoubleLeftArrow;":"⇐","downharpoonleft;":"⇃","DownRightVector;":"⇁","leftharpoondown;":"↽","leftrightarrows;":"⇆","LeftRightVector;":"⥎","LeftTriangleBar;":"⧏","LeftUpTeeVector;":"⥠","LeftUpVectorBar;":"⥘","LowerRightArrow;":"↘","nLeftrightarrow;":"⇎","nleftrightarrow;":"↮","NotGreaterEqual;":"≱","NotGreaterTilde;":"≵","NotHumpDownHump;":"≎̸","NotLeftTriangle;":"⋪","NotSquareSubset;":"⊏̸","ntrianglelefteq;":"⋬","OverParenthesis;":"⏜","RightDownVector;":"⇂","rightleftarrows;":"⇄","rightsquigarrow;":"↝","rightthreetimes;":"⋌","ShortRightArrow;":"→","straightepsilon;":"ϵ","trianglerighteq;":"⊵","UpperRightArrow;":"↗","vartriangleleft;":"⊲","circlearrowright;":"↻","DiacriticalAcute;":"´","DiacriticalGrave;":"`","DiacriticalTilde;":"˜","DoubleRightArrow;":"⇒","DownArrowUpArrow;":"⇵","downharpoonright;":"⇂","EmptySmallSquare;":"◻","GreaterEqualLess;":"⋛","GreaterFullEqual;":"≧","LeftAngleBracket;":"⟨","LeftUpDownVector;":"⥑","LessEqualGreater;":"⋚","NonBreakingSpace;":" ","NotPrecedesEqual;":"⪯̸","NotRightTriangle;":"⋫","NotSucceedsEqual;":"⪰̸","NotSucceedsTilde;":"≿̸","NotSupersetEqual;":"⊉","ntrianglerighteq;":"⋭","rightharpoondown;":"⇁","rightrightarrows;":"⇉","RightTriangleBar;":"⧐","RightUpTeeVector;":"⥜","RightUpVectorBar;":"⥔","twoheadleftarrow;":"↞","UnderParenthesis;":"⏝","UpArrowDownArrow;":"⇅","vartriangleright;":"⊳","blacktriangledown;":"▾","blacktriangleleft;":"◂","DoubleUpDownArrow;":"⇕","DoubleVerticalBar;":"∥","DownLeftTeeVector;":"⥞","DownLeftVectorBar;":"⥖","FilledSmallSquare;":"◼","GreaterSlantEqual;":"⩾","LeftDoubleBracket;":"⟦","LeftDownTeeVector;":"⥡","LeftDownVectorBar;":"⥙","leftrightharpoons;":"⇋","LeftTriangleEqual;":"⊴","NegativeThinSpace;":"​","NotGreaterGreater;":"≫̸","NotLessSlantEqual;":"⩽̸","NotNestedLessLess;":"⪡̸","NotReverseElement;":"∌","NotSquareSuperset;":"⊐̸","NotTildeFullEqual;":"≇","RightAngleBracket;":"⟩","rightleftharpoons;":"⇌","RightUpDownVector;":"⥏","SquareSubsetEqual;":"⊑","twoheadrightarrow;":"↠","VerticalSeparator;":"❘","blacktriangleright;":"▸","DownRightTeeVector;":"⥟","DownRightVectorBar;":"⥗","LongLeftRightArrow;":"⟷","Longleftrightarrow;":"⟺","longleftrightarrow;":"⟷","NegativeThickSpace;":"​","NotLeftTriangleBar;":"⧏̸","PrecedesSlantEqual;":"≼","ReverseEquilibrium;":"⇋","RightDoubleBracket;":"⟧","RightDownTeeVector;":"⥝","RightDownVectorBar;":"⥕","RightTriangleEqual;":"⊵","SquareIntersection;":"⊓","SucceedsSlantEqual;":"≽","DoubleLongLeftArrow;":"⟸","DownLeftRightVector;":"⥐","LeftArrowRightArrow;":"⇆","leftrightsquigarrow;":"↭","NegativeMediumSpace;":"​","NotGreaterFullEqual;":"≧̸","NotRightTriangleBar;":"⧐̸","RightArrowLeftArrow;":"⇄","SquareSupersetEqual;":"⊒","CapitalDifferentialD;":"ⅅ","DoubleLeftRightArrow;":"⇔","DoubleLongRightArrow;":"⟹","EmptyVerySmallSquare;":"▫","NestedGreaterGreater;":"≫","NotDoubleVerticalBar;":"∦","NotGreaterSlantEqual;":"⩾̸","NotLeftTriangleEqual;":"⋬","NotSquareSubsetEqual;":"⋢","OpenCurlyDoubleQuote;":"“","ReverseUpEquilibrium;":"⥯","CloseCurlyDoubleQuote;":"”","DoubleContourIntegral;":"∯","FilledVerySmallSquare;":"▪","NegativeVeryThinSpace;":"​","NotPrecedesSlantEqual;":"⋠","NotRightTriangleEqual;":"⋭","NotSucceedsSlantEqual;":"⋡","DiacriticalDoubleAcute;":"˝","NotSquareSupersetEqual;":"⋣","NotNestedGreaterGreater;":"⪢̸","ClockwiseContourIntegral;":"∲","DoubleLongLeftRightArrow;":"⟺","CounterClockwiseContourIntegral;":"∳"};let Gme;const QDt=(o,i)=>{let a=0;const u=o.length;let p="";function y(T){a+=T,o=o.slice(T)}for(;a<u;){const T=/&(?:#x?)?/i.exec(o);if(!T||a+T.index>=u){const P=u-a;p+=o.slice(0,P),y(P);break}if(p+=o.slice(0,T.index),y(T.index),T[0]==="&"){let P="",I;if(/[0-9a-z]/i.test(o[1])){Gme||(Gme=Object.keys(Eje).reduce((B,z)=>Math.max(B,z.length),0));for(let B=Gme;!I&&B>0;--B)P=o.slice(1,1+B),I=Eje[P];if(I){const B=P.endsWith(";");i&&!B&&/[=a-z0-9]/i.test(o[P.length+1]||"")?(p+="&"+P,y(1+P.length)):(p+=I,y(1+P.length))}else p+="&"+P,y(1+P.length)}else p+="&",y(1)}else{const P=T[0]==="&#x",B=(P?/^&#x([0-9a-f]+);?/i:/^&#([0-9]+);?/).exec(o);if(!B)p+=T[0],y(T[0].length);else{let z=Number.parseInt(B[1],P?16:10);z===0||z>1114111||z>=55296&&z<=57343?z=65533:z>=64976&&z<=65007||(z&65534)===65534||(z>=1&&z<=8||z===11||z>=13&&z<=31||z>=127&&z<=159)&&(z=YDt[z]||z),p+=String.fromCodePoint(z),y(B[0].length)}}}return p},YDt={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},ZDt=Lh("style,iframe,script,noscript",!0),aI={isVoidTag:jze,isNativeTag:o=>g3t(o)||y3t(o),isPreTag:o=>o==="pre",decodeEntities:QDt,isBuiltInComponent:o=>{if(H2(o,"Transition"))return PI;if(H2(o,"TransitionGroup"))return FR},getNamespace(o,i){let a=i?i.ns:0;if(i&&a===2)if(i.tag==="annotation-xml"){if(o==="svg")return 1;i.props.some(u=>u.type===6&&u.name==="encoding"&&u.value!=null&&(u.value.content==="text/html"||u.value.content==="application/xhtml+xml"))&&(a=0)}else/^m(?:[ions]|text)$/.test(i.tag)&&o!=="mglyph"&&o!=="malignmark"&&(a=0);else i&&a===1&&(i.tag==="foreignObject"||i.tag==="desc"||i.tag==="title")&&(a=0);if(a===0){if(o==="svg")return 1;if(o==="math")return 2}return a},getTextMode({tag:o,ns:i}){if(i===0){if(o==="textarea"||o==="title")return 1;if(ZDt(o))return 2}return 0}},g0e=o=>{o.type===1&&o.props.forEach((i,a)=>{i.type===6&&i.name==="style"&&i.value&&(o.props[a]={type:7,name:"bind",arg:Ta("style",!0,i.loc),exp:KDt(i.value.content,i.loc),modifiers:[],loc:i.loc})})},KDt=(o,i)=>{const a=Rze(o);return Ta(JSON.stringify(a),!1,i,3)};function Pg(o,i){return Fu(o,i,e8t)}const e8t={[53]:"v-html is missing expression.",[54]:"v-html will override element children.",[55]:"v-text is missing expression.",[56]:"v-text will override element children.",[57]:"v-model can only be used on <input>, <textarea> and <select> elements.",[58]:"v-model argument is not supported on plain elements.",[59]:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",[60]:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",[61]:"v-show is missing expression.",[62]:"<Transition> expects exactly one child element or component.",[63]:"Tags with side effect (<script> and <style>) are ignored in client component templates."},t8t=(o,i,a)=>{const{exp:u,loc:p}=o;return u||a.onError(Pg(53,p)),i.children.length&&(a.onError(Pg(54,p)),i.children.length=0),{props:[rf(Ta("innerHTML",!0,p),u||Ta("",!0))]}},r8t=(o,i,a)=>{const{exp:u,loc:p}=o;return u||a.onError(Pg(55,p)),i.children.length&&(a.onError(Pg(56,p)),i.children.length=0),{props:[rf(Ta("textContent",!0),u?G1(u,a)>0?u:bc(a.helperString(PR),[u],p):Ta("",!0))]}},n8t=(o,i,a)=>{const u=zQ(o,i,a);if(!u.props.length||i.tagType===1)return u;o.arg&&a.onError(Pg(58,o.arg.loc));function p(){const P=R0(i,"value");P&&a.onError(Pg(60,P.loc))}const{tag:y}=i,T=a.isCustomElement(y);if(y==="input"||y==="textarea"||y==="select"||T){let P=_0e,I=!1;if(y==="input"||T){const B=R0(i,"type");if(B){if(B.type===7)P=TX;else if(B.value)switch(B.value.content){case"radio":P=u0e;break;case"checkbox":P=f0e;break;case"file":I=!0,a.onError(Pg(59,o.loc));break;default:p();break}}else PQ(i)?P=TX:p()}else y==="select"?P=p0e:p();I||(u.needRuntime=a.helper(P))}else a.onError(Pg(57,o.loc));return u.props=u.props.filter(P=>!(P.key.type===4&&P.key.content==="modelValue")),u},i8t=Lh("passive,once,capture"),s8t=Lh("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),a8t=Lh("left,right"),KVe=Lh("onkeyup,onkeydown,onkeypress",!0),o8t=(o,i,a,u)=>{const p=[],y=[],T=[];for(let P=0;P<i.length;P++){const I=i[P];i8t(I)?T.push(I):a8t(I)?Dh(o)?KVe(o.content)?p.push(I):y.push(I):(p.push(I),y.push(I)):s8t(I)?y.push(I):p.push(I)}return{keyModifiers:p,nonKeyModifiers:y,eventOptionModifiers:T}},Aje=(o,i)=>Dh(o)&&o.content.toLowerCase()==="onclick"?Ta(i,!0):o.type!==4?Ah(["(",o,`) === "onClick" ? "${i}" : (`,o,")"]):o,c8t=(o,i,a)=>UQ(o,i,a,u=>{const{modifiers:p}=o;if(!p.length)return u;let{key:y,value:T}=u.props[0];const{keyModifiers:P,nonKeyModifiers:I,eventOptionModifiers:B}=o8t(y,p,a,o.loc);if(I.includes("right")&&(y=Aje(y,"onContextmenu")),I.includes("middle")&&(y=Aje(y,"onMouseup")),I.length&&(T=bc(a.helper(d0e),[T,JSON.stringify(I)])),P.length&&(!Dh(y)||KVe(y.content))&&(T=bc(a.helper(m0e),[T,JSON.stringify(P)])),B.length){const z=B.map(s6).join("");y=Dh(y)?Ta(`${y.content}${z}`,!0):Ah(["(",y,`) + "${z}"`])}return{props:[rf(y,T)]}}),l8t=(o,i,a)=>{const{exp:u,loc:p}=o;return u||a.onError(Pg(61,p)),{props:[],needRuntime:a.helper(h0e)}},u8t=(o,i)=>{if(o.type===1&&o.tagType===1&&i.isBuiltInComponent(o.tag)===PI)return()=>{if(!o.children.length)return;e$e(o)&&i.onError(Pg(62,{start:o.children[0].loc.start,end:o.children[o.children.length-1].loc.end,source:""}));const u=o.children[0];if(u.type===1)for(const p of u.props)p.type===7&&p.name==="show"&&o.props.push({type:6,name:"persisted",value:void 0,loc:o.loc})}};function e$e(o){const i=o.children=o.children.filter(u=>u.type!==3&&!(u.type===2&&!u.content.trim())),a=i[0];return i.length!==1||a.type===11||a.type===9&&a.branches.some(e$e)}const f8t=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,_8t=(o,i,a)=>{if(i.scopes.vSlot>0)return;let u=0,p=0;const y=[],T=I=>{if(u>=20||p>=5){const B=bc(i.helper(pQ),[JSON.stringify(y.map(z=>y0e(z,i)).join("")).replace(f8t,'" + $1 + "'),String(y.length)]);if(Dje(y[0],B,i),y.length>1){for(let H=1;H<y.length;H++)Dje(y[H],null,i);const z=y.length-1;return o.splice(I-y.length+1,z),z}}return 0};let P=0;for(;P<o.length;P++){const I=o[P];if(p8t(I)){const z=I,H=h8t(z);if(H){u+=H[0],p+=H[1],y.push(z);continue}}P-=T(P),u=0,p=0,y.length=0}T(P)},p8t=o=>(o.type===1&&o.tagType===0||o.type==12)&&o.codegenNode&&o.codegenNode.type===4&&o.codegenNode.hoisted,d8t=/^(data|aria)-/,Pje=(o,i)=>(i===0?x3t(o):i===1?k3t(o):!1)||d8t.test(o),Dje=(o,i,a)=>{const u=o.codegenNode.hoisted;a.hoists[a.hoists.indexOf(u)]=i},m8t=Lh("caption,thead,tr,th,tbody,td,tfoot,colgroup,col");function h8t(o){if(o.type===1&&m8t(o.tag))return!1;if(o.type===12)return[1,0];let i=1,a=o.props.length>0?1:0,u=!1;const p=()=>(u=!0,!1);function y(T){for(let P=0;P<T.props.length;P++){const I=T.props[P];if(I.type===6&&!Pje(I.name,T.ns)||I.type===7&&I.name==="bind"&&(I.arg&&(I.arg.type===8||I.arg.isStatic&&!Pje(I.arg.content,T.ns))||I.exp&&(I.exp.type===8||I.exp.constType<3)))return p()}for(let P=0;P<T.children.length;P++){i++;const I=T.children[P];if(I.type===1&&(I.props.length>0&&a++,y(I),u))return!1}return!0}return y(o)?[i,a]:!1}function y0e(o,i){if(ou(o))return o;if(gI(o))return"";switch(o.type){case 1:return g8t(o,i);case 2:return XS(o.content);case 3:return`<!--${XS(o.content)}-->`;case 5:return XS(uye(fA(o.content)));case 8:return XS(fA(o));case 12:return y0e(o.content,i);default:return""}}function g8t(o,i){let a=`<${o.tag}`,u="";for(let p=0;p<o.props.length;p++){const y=o.props[p];if(y.type===6)a+=` ${y.name}`,y.value&&(a+=`="${XS(y.value.content)}"`);else if(y.type===7)if(y.name==="bind"){const T=y.exp;if(T.content[0]==="_"){a+=` ${y.arg.content}="__VUE_EXP_START__${T.content}__VUE_EXP_END__"`;continue}if(Jze(y.arg.content)&&T.content==="false")continue;let P=fA(T);if(P!=null){const I=y.arg&&y.arg.content;I==="class"?P=Bze(P):I==="style"&&(P=p3t(Fze(P))),a+=` ${y.arg.content}="${XS(P)}"`}}else y.name==="html"?u=fA(y.exp):y.name==="text"&&(u=XS(uye(fA(y.exp))))}if(i.scopeId&&(a+=` ${i.scopeId}`),a+=">",u)a+=u;else for(let p=0;p<o.children.length;p++)a+=y0e(o.children[p],i);return jze(o.tag)||(a+=`</${o.tag}>`),a}function fA(o){if(o.type===4)return new Function(`return (${o.content})`)();{let i="";return o.children.forEach(a=>{ou(a)||gI(a)||(a.type===2?i+=a.content:a.type===5?i+=uye(fA(a.content)):i+=fA(a))}),i}}const y8t=(o,i)=>{o.type===1&&o.tagType===0&&(o.tag==="script"||o.tag==="style")&&(i.onError(Pg(63,o.loc)),i.removeNode())},v0e=[g0e,u8t],b0e={cloak:DF,html:t8t,text:r8t,model:n8t,on:c8t,show:l8t};function v8t(o,i={}){return ZVe(o,sC({},aI,i,{nodeTransforms:[y8t,...v0e,...i.nodeTransforms||[]],directiveTransforms:sC({},b0e,i.directiveTransforms||{}),transformHoist:_8t}))}function b8t(o,i={}){return DQ(o,sC({},aI,i))}var t$e=Object.freeze({__proto__:null,BASE_TRANSITION:_ye,CAMELIZE:sX,CAPITALIZE:$ze,CREATE_BLOCK:pye,CREATE_COMMENT:vI,CREATE_ELEMENT_BLOCK:dye,CREATE_ELEMENT_VNODE:fQ,CREATE_SLOTS:hye,CREATE_STATIC:pQ,CREATE_TEXT:_Q,CREATE_VNODE:AR,DOMDirectiveTransforms:b0e,DOMNodeTransforms:v0e,FRAGMENT:YN,GUARD_REACTIVE_PROPS:bI,IS_MEMO_SAME:gye,IS_REF:GF,KEEP_ALIVE:qF,MERGE_PROPS:vA,NORMALIZE_CLASS:gQ,NORMALIZE_PROPS:KN,NORMALIZE_STYLE:yQ,OPEN_BLOCK:a6,POP_SCOPE_ID:TQ,PUSH_SCOPE_ID:bQ,RENDER_LIST:hQ,RENDER_SLOT:mye,RESOLVE_COMPONENT:WF,RESOLVE_DIRECTIVE:dQ,RESOLVE_DYNAMIC_COMPONENT:ZN,RESOLVE_FILTER:Vze,SET_BLOCK_TRACKING:HF,SUSPENSE:yI,TELEPORT:cA,TO_DISPLAY_STRING:PR,TO_HANDLERS:vQ,TO_HANDLER_KEY:aX,TRANSITION:PI,TRANSITION_GROUP:FR,TS_NODE_TYPES:Kye,UNREF:eI,V_MODEL_CHECKBOX:f0e,V_MODEL_DYNAMIC:TX,V_MODEL_RADIO:u0e,V_MODEL_SELECT:p0e,V_MODEL_TEXT:_0e,V_ON_WITH_KEYS:m0e,V_ON_WITH_MODIFIERS:d0e,V_SHOW:h0e,WITH_CTX:SQ,WITH_DIRECTIVES:mQ,WITH_MEMO:xQ,advancePositionWithClone:xA,advancePositionWithMutation:rI,assert:Uhe,baseCompile:ZVe,baseParse:DQ,buildDirectiveArgs:a0e,buildProps:AI,buildSlots:tR,checkCompatEnabled:MPt,compile:v8t,convertToBlock:kQ,createArrayExpression:wA,createAssignmentExpression:Ihe,createBlockStatement:DR,createCacheExpression:qze,createCallExpression:bc,createCompilerError:Fu,createCompoundExpression:Ah,createConditionalExpression:o6,createDOMCompilerError:Pg,createForLoopParams:eR,createFunctionExpression:tv,createIfStatement:cX,createInterpolation:oX,createObjectExpression:F0,createObjectProperty:rf,createReturnStatement:Hze,createRoot:TI,createSequenceExpression:Wze,createSimpleExpression:Ta,createStructuralDirectiveTransform:OR,createTemplateLiteral:vye,createTransformContext:IR,createVNodeCall:tI,extractIdentifiers:Sb,findDir:qm,findProp:R0,generate:Zye,generateCodeFrame:yA,getBaseTransformPreset:l0e,getConstantType:G1,getInnerRange:Uye,getMemoedVNodeCall:wVe,getVNodeBlockHelper:TA,getVNodeHelper:bA,hasDynamicKeyVBind:PQ,hasScopeRef:O0,helperNameMap:M0,injectProp:QF,isBuiltInType:H2,isCoreComponent:jye,isFunctionType:xb,isInDestructureAssignment:EA,isMemberExpression:Jye,isMemberExpressionBrowser:NPt,isMemberExpressionNode:kVe,isReferencedIdentifier:RQ,isSimpleIdentifier:l6,isSlotOutlet:iI,isStaticArgOf:Kk,isStaticExp:Dh,isStaticProperty:AA,isStaticPropertyKey:GVe,isTemplateNode:nI,isText:AF,isVSlot:zye,locStub:np,noopDirectiveTransform:DF,parse:b8t,parserOptions:aI,processExpression:xy,processFor:r0e,processIf:t0e,processSlotOutlet:o0e,registerRuntimeHelpers:yye,resolveComponentType:JQ,stringifyExpression:jQ,toValidAssetId:YF,trackSlotScopes:i0e,trackVForSlotScopes:s0e,transform:IQ,transformBind:c0e,transformElement:YVe,transformExpression:e0e,transformModel:zQ,transformOn:UQ,transformStyle:g0e,traverseNode:SI,walkBlockDeclarations:HVe,walkFunctionParams:BQ,walkIdentifiers:EI,warnDeprecation:EVe});function r$e(o,i){for(var a=0,u=o.length-1;u>=0;u--){var p=o[u];p==="."?o.splice(u,1):p===".."?(o.splice(u,1),a++):a&&(o.splice(u,1),a--)}if(i)for(;a--;a)o.unshift("..");return o}var T8t=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,T0e=function(o){return T8t.exec(o).slice(1)};function SX(){for(var o="",i=!1,a=arguments.length-1;a>=-1&&!i;a--){var u=a>=0?arguments[a]:"/";if(typeof u!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!u)continue;o=u+"/"+o,i=u.charAt(0)==="/"}return o=r$e(C0e(o.split("/"),function(p){return!!p}),!i).join("/"),(i?"/":"")+o||"."}function S0e(o){var i=x0e(o),a=S8t(o,-1)==="/";return o=r$e(C0e(o.split("/"),function(u){return!!u}),!i).join("/"),!o&&!i&&(o="."),o&&a&&(o+="/"),(i?"/":"")+o}function x0e(o){return o.charAt(0)==="/"}function n$e(){var o=Array.prototype.slice.call(arguments,0);return S0e(C0e(o,function(i,a){if(typeof i!="string")throw new TypeError("Arguments to path.join must be strings");return i}).join("/"))}function i$e(o,i){o=SX(o).substr(1),i=SX(i).substr(1);function a(B){for(var z=0;z<B.length&&B[z]==="";z++);for(var H=B.length-1;H>=0&&B[H]==="";H--);return z>H?[]:B.slice(z,H-z+1)}for(var u=a(o.split("/")),p=a(i.split("/")),y=Math.min(u.length,p.length),T=y,P=0;P<y;P++)if(u[P]!==p[P]){T=P;break}for(var I=[],P=T;P<u.length;P++)I.push("..");return I=I.concat(p.slice(T)),I.join("/")}var s$e="/",a$e=":";function o$e(o){var i=T0e(o),a=i[0],u=i[1];return!a&&!u?".":(u&&(u=u.substr(0,u.length-1)),a+u)}function c$e(o,i){var a=T0e(o)[2];return i&&a.substr(-1*i.length)===i&&(a=a.substr(0,a.length-i.length)),a}function k0e(o){return T0e(o)[3]}var lC={extname:k0e,basename:c$e,dirname:o$e,sep:s$e,delimiter:a$e,relative:i$e,join:n$e,isAbsolute:x0e,normalize:S0e,resolve:SX};function C0e(o,i){if(o.filter)return o.filter(i);for(var a=[],u=0;u<o.length;u++)i(o[u],u,o)&&a.push(o[u]);return a}var S8t="ab".substr(-1)==="b"?function(o,i,a){return o.substr(i,a)}:function(o,i,a){return i<0&&(i=o.length+i),o.substr(i,a)},x8t=Object.freeze({__proto__:null,basename:c$e,default:lC,delimiter:a$e,dirname:o$e,extname:k0e,isAbsolute:x0e,join:n$e,normalize:S0e,relative:i$e,resolve:SX,sep:s$e});const _A="Unknown";function w0e(o,i){switch(o.type){case"StringLiteral":case"NumericLiteral":return String(o.value);case"Identifier":if(!i)return o.name}}function Hhe(o){return o.filter(i=>!!i).join(", ")}function l$e(o){return o.type.endsWith("Literal")}function nx(o){return Kye.includes(o.type)?nx(o.expression):o}function Sy(o,i){return!!(o&&i&&o.type==="CallExpression"&&o.callee.type==="Identifier"&&(typeof i=="string"?o.callee.name===i:i(o.callee.name)))}function Ghe(o){return o.length>1?`[${o.join(", ")}]`:o[0]}function Xhe(o){return o.type==="ImportSpecifier"?o.imported.type==="Identifier"?o.imported.name:o.imported.value:o.type==="ImportNamespaceSpecifier"?"*":"default"}function kA(o){return o.type==="Identifier"?o.name:o.type==="StringLiteral"?o.value:null}const k8t=(lC.posix||lC).normalize,C8t=/\\/g;function E0e(o){return k8t(o.replace(C8t,"/"))}const Qhe=(lC.posix||lC).join,u$e=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function f$e(o){return u$e.test(o)?JSON.stringify(o):o}function w8t(o,i){for(;o.length<i;)o="0"+o;return o}function Vk(o,i){var a,u,p;if(i.length===0)return o;for(a=0,p=i.length;a<p;a++)u=i.charCodeAt(a),o=(o<<5)-o+u,o|=0;return o<0?o*-2:o}function E8t(o,i,a){return Object.keys(i).sort().reduce(u,o);function u(p,y){return _$e(p,i[y],y,a)}}function _$e(o,i,a,u){var p=Vk(Vk(Vk(o,a),A8t(i)),typeof i);if(i===null)return Vk(p,"null");if(i===void 0)return Vk(p,"undefined");if(typeof i=="object"||typeof i=="function"){if(u.indexOf(i)!==-1)return Vk(p,"[Circular]"+a);u.push(i);var y=E8t(p,i,u);if(!("valueOf"in i)||typeof i.valueOf!="function")return y;try{return Vk(y,String(i.valueOf()))}catch(T){return Vk(y,"[valueOf exception]"+(T.stack||T.message))}}return Vk(p,i.toString())}function A8t(o){return Object.prototype.toString.call(o)}function P8t(o){return w8t(_$e(0,o,"",[]).toString(16),8)}var D8t=P8t,N8t=D8t;const xX="useCssVars";function p$e(o,i,a,u=!1){return`{
${o.map(p=>`"${u?"--":""}${d$e(i,p,a)}": (${p})`).join(`,
`)}
}`}function d$e(o,i,a){return a?N8t(o+i):`${o}-${i.replace(u$e,u=>`\\${u}`)}`}function m$e(o){return o=o.trim(),o[0]==="'"&&o[o.length-1]==="'"||o[0]==='"'&&o[o.length-1]==='"'?o.slice(1,-1):o}const zG=/v-bind\s*\(/g;function I8t(o){const i=[];return o.styles.forEach(a=>{let u;const p=a.content.replace(/\/\*([\s\S]*?)\*\//g,"");for(;u=zG.exec(p);){const y=u.index+u[0].length,T=h$e(p,y);if(T!==null){const P=m$e(p.slice(y,T));i.includes(P)||i.push(P)}}}),i}function h$e(o,i){let a=0,u=0;for(let p=i;p<o.length;p++){const y=o.charAt(p);switch(a){case 0:if(y==="'")a=1;else if(y==='"')a=2;else if(y==="(")u++;else if(y===")")if(u>0)u--;else return p;break;case 1:y==="'"&&(a=0);break;case 2:y==='"'&&(a=0);break}}return null}const g$e=o=>{const{id:i,isProd:a}=o;return{postcssPlugin:"vue-sfc-vars",Declaration(u){const p=u.value;if(zG.test(p)){zG.lastIndex=0;let y="",T=0,P;for(;P=zG.exec(p);){const I=P.index+P[0].length,B=h$e(p,I);if(B!==null){const z=m$e(p.slice(I,B));y+=p.slice(T,P.index)+`var(--${d$e(i,z,a)})`,T=B+1}}u.value=y+p.slice(T)}}}};g$e.postcss=!0;function y$e(o,i,a,u){const p=p$e(o,a,u),y=Ta(p,!1),T=IR(TI([]),{prefixIdentifiers:!0,inline:!0,bindingMetadata:i.__isScriptSetup===!1?void 0:i}),P=xy(y,T),I=P.type===4?P.content:P.children.map(B=>typeof B=="string"?B:B.content).join("");return`_${xX}(_ctx => (${I}))`}function O8t(o,i,a,u,p){return`
import { ${xX} as _${xX} } from 'vue'
const __injectCSSVars__ = () => {
${y$e(o,i,a,u)}}
const __setup__ = ${p}.setup
${p}.setup = __setup__
? (props, ctx) => { __injectCSSVars__();return __setup__(props, ctx) }
: __injectCSSVars__
`}function VQ(o=500){return new Map}function v$e(o,i){return new RegExp(`[^\\w$_]${o.replace(/\$/g,"\\$")}[^\\w$_]`).test(L8t(i))}const Nje=VQ();function L8t(o){const{content:i,ast:a}=o.template,u=Nje.get(i);if(u)return u;let p="";return IQ(TI([a]),{nodeTransforms:[y=>{if(y.type===1){!aI.isNativeTag(y.tag)&&!aI.isBuiltInComponent(y.tag)&&(p+=`,${X2(y.tag)},${s6(X2(y.tag))}`);for(let T=0;T<y.props.length;T++){const P=y.props[T];P.type===7&&(lye(P.name)||(p+=`,v${s6(X2(P.name))}`),P.exp&&(p+=`,${kX(P.exp.content,P.name)}`))}}else y.type===5&&(p+=`,${kX(y.content.content)}`)}]}),p+=";",Nje.set(i,p),p}const M8t=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/;function kX(o,i){if(/ as\s+\w|<.*>|:/.test(o)){if(i==="slot")o=`(${o})=>{}`;else if(i==="on")o=`()=>{return ${o}}`;else if(i==="for"){const p=o.match(M8t);if(p){let[,y,T]=p;return y=y.trim().replace(/^\(|\)$/g,""),kX(`(${y})=>{}`)+kX(T)}}let a="";const u=xVe(o,{plugins:["typescript"]});return EI(u,p=>{a+=","+p.name}),a}return F8t(o)}function F8t(o){return o.replace(/'[^']*'|"[^"]*"/g,"").replace(/`[^`]+`/g,R8t)}function R8t(o){const i=o.match(/\${[^}]+}/g);return i?i.map(a=>a.slice(2,-1)).join(","):""}var B8t=Object.defineProperty,Ije=Object.getOwnPropertySymbols,j8t=Object.prototype.hasOwnProperty,J8t=Object.prototype.propertyIsEnumerable,Oje=(o,i,a)=>i in o?B8t(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,U8t=(o,i)=>{for(var a in i||(i={}))j8t.call(i,a)&&Oje(o,a,i[a]);if(Ije)for(var a of Ije(i))J8t.call(i,a)&&Oje(o,a,i[a]);return o};const b$e="anonymous.vue",CX=VQ();function A0e(o,{sourceMap:i=!0,filename:a=b$e,sourceRoot:u="",pad:p=!1,ignoreEmpty:y=!0,compiler:T=t$e}={}){const P=o+i+a+u+p+T.parse,I=CX.get(P);if(I)return I;const B={filename:a,source:o,template:null,script:null,scriptSetup:null,styles:[],customBlocks:[],cssVars:[],slotted:!1,shouldForceReload:ze=>G8t(ze,B)},z=[];if(T.parse(o,{isNativeTag:()=>!0,isPreTag:()=>!0,getTextMode:({tag:ze,props:Ue},et)=>!et&&ze!=="template"||ze==="template"&&Ue.some(Ve=>Ve.type===6&&Ve.name==="lang"&&Ve.value&&Ve.value.content&&Ve.value.content!=="html")?2:0,onError:ze=>{z.push(ze)}}).children.forEach(ze=>{if(ze.type===1&&!(y&&ze.tag!=="template"&&H8t(ze)&&!W8t(ze)))switch(ze.tag){case"template":if(B.template)z.push(Lje(ze));else{const vt=B.template=gG(ze,o,!1);if(vt.ast=ze,vt.attrs.functional){const ut=new SyntaxError("<template functional> is no longer supported in Vue 3, since functional components no longer have significant performance difference from stateful ones. Just use a normal <template> instead.");ut.loc=ze.props.find(He=>He.name==="functional").loc,z.push(ut)}}break;case"script":const Ue=gG(ze,o,p),et=!!Ue.attrs.setup;if(et&&!B.scriptSetup){B.scriptSetup=Ue;break}if(!et&&!B.script){B.script=Ue;break}z.push(Lje(ze,et));break;case"style":const Ve=gG(ze,o,p);Ve.attrs.vars&&z.push(new SyntaxError("<style vars> has been replaced by a new proposal: https://github.com/vuejs/rfcs/pull/231")),B.styles.push(Ve);break;default:B.customBlocks.push(gG(ze,o,p));break}}),!B.template&&!B.script&&!B.scriptSetup&&z.push(new SyntaxError("At least one <template> or <script> is required in a single file component.")),B.scriptSetup&&(B.scriptSetup.src&&(z.push(new SyntaxError('<script setup> cannot use the "src" attribute because its syntax will be ambiguous outside of the component.')),B.scriptSetup=null),B.script&&B.script.src&&(z.push(new SyntaxError('<script> cannot use the "src" attribute when <script setup> is also present because they must be processed together.')),B.script=null)),i){const ze=Ue=>{Ue&&!Ue.src&&(Ue.map=$8t(a,o,Ue.content,u,!p||Ue.type==="template"?Ue.loc.start.line-1:0))};ze(B.template),ze(B.script),B.styles.forEach(ze),B.customBlocks.forEach(ze)}B.cssVars=I8t(B);const Q=/(?:::v-|:)slotted\(/;B.slotted=B.styles.some(ze=>ze.scoped&&Q.test(ze.content));const Ie={descriptor:B,errors:z};return CX.set(P,Ie),Ie}function Lje(o,i=!1){const a=new SyntaxError(`Single file component can contain only one <${o.tag}${i?" setup":""}> element`);return a.loc=o.loc,a}function gG(o,i,a){const u=o.tag;let{start:p,end:y}=o.loc,T="";if(o.children.length)p=o.children[0].loc.start,y=o.children[o.children.length-1].loc.end,T=i.slice(p.offset,y.offset);else{const z=o.loc.source.indexOf("</");z>-1&&(p={line:p.line,column:p.column+z,offset:p.offset+z}),y=U8t({},p)}const P={source:T,start:p,end:y},I={},B={type:u,content:T,loc:P,attrs:I};return a&&(B.content=q8t(i,B,a)+B.content),o.props.forEach(z=>{z.type===6&&(I[z.name]=z.value&&z.value.content||!0,z.name==="lang"?B.lang=z.value&&z.value.content:z.name==="src"?B.src=z.value&&z.value.content:u==="style"?z.name==="scoped"?B.scoped=!0:z.name==="module"&&(B.module=I[z.name]):u==="script"&&z.name==="setup"&&(B.setup=I.setup))}),B}const T$e=/\r?\n/g,z8t=/^(?:\/\/)?\s*$/,V8t=/./g;function $8t(o,i,a,u,p){const y=new Yye({file:o.replace(/\\/g,"/"),sourceRoot:u.replace(/\\/g,"/")});return y.setSourceContent(o,i),a.split(T$e).forEach((T,P)=>{if(!z8t.test(T)){const I=P+1+p,B=P+1;for(let z=0;z<T.length;z++)/\s/.test(T[z])||y.addMapping({source:o,original:{line:I,column:z},generated:{line:B,column:z}})}}),JSON.parse(y.toString())}function q8t(o,i,a){if(o=o.slice(0,i.loc.start.offset),a==="space")return o.replace(V8t," ");{const u=o.split(T$e).length,p=i.type==="script"&&!i.lang?`//
`:`
`;return Array(u).join(p)}}function W8t(o){return o.props.some(i=>i.type!==6?!1:i.name==="src")}function H8t(o){for(let i=0;i<o.children.length;i++){const a=o.children[i];if(a.type!==2||a.content.trim()!=="")return!1}return!0}function G8t(o,i){if(!i.scriptSetup||i.scriptSetup.lang!=="ts"&&i.scriptSetup.lang!=="tsx")return!1;for(const a in o)if(!o[a].isUsedInTemplate&&v$e(a,i))return!0;return!1}var u6=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{};/*! https://mths.be/punycode v1.4.1 by @mathias */var Xme=2147483647,NF=36,S$e=1,Yhe=26,X8t=38,Q8t=700,Y8t=72,Z8t=128,K8t="-",eNt=/[^\x20-\x7E]/,tNt=/[\x2E\u3002\uFF0E\uFF61]/g,rNt={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Qme=NF-S$e,PN=Math.floor,Yme=String.fromCharCode;function Mje(o){throw new RangeError(rNt[o])}function nNt(o,i){for(var a=o.length,u=[];a--;)u[a]=i(o[a]);return u}function iNt(o,i){var a=o.split("@"),u="";a.length>1&&(u=a[0]+"@",o=a[1]),o=o.replace(tNt,".");var p=o.split("."),y=nNt(p,i).join(".");return u+y}function sNt(o){for(var i=[],a=0,u=o.length,p,y;a<u;)p=o.charCodeAt(a++),p>=55296&&p<=56319&&a<u?(y=o.charCodeAt(a++),(y&64512)==56320?i.push(((p&1023)<<10)+(y&1023)+65536):(i.push(p),a--)):i.push(p);return i}function Fje(o,i){return o+22+75*(o<26)-((i!=0)<<5)}function aNt(o,i,a){var u=0;for(o=a?PN(o/Q8t):o>>1,o+=PN(o/i);o>Qme*Yhe>>1;u+=NF)o=PN(o/Qme);return PN(u+(Qme+1)*o/(o+X8t))}function oNt(o){var i,a,u,p,y,T,P,I,B,z,H,Q=[],Ie,ze,Ue,et;for(o=sNt(o),Ie=o.length,i=Z8t,a=0,y=Y8t,T=0;T<Ie;++T)H=o[T],H<128&&Q.push(Yme(H));for(u=p=Q.length,p&&Q.push(K8t);u<Ie;){for(P=Xme,T=0;T<Ie;++T)H=o[T],H>=i&&H<P&&(P=H);for(ze=u+1,P-i>PN((Xme-a)/ze)&&Mje("overflow"),a+=(P-i)*ze,i=P,T=0;T<Ie;++T)if(H=o[T],H<i&&++a>Xme&&Mje("overflow"),H==i){for(I=a,B=NF;z=B<=y?S$e:B>=y+Yhe?Yhe:B-y,!(I<z);B+=NF)et=I-z,Ue=NF-z,Q.push(Yme(Fje(z+et%Ue,0))),I=PN(et/Ue);Q.push(Yme(Fje(I,0))),y=aNt(a,ze,u==p),a=0,++u}++a,++i}return Q.join("")}function cNt(o){return iNt(o,function(i){return eNt.test(i)?"xn--"+oNt(i):i})}var GS=[],Tb=[],lNt=typeof Uint8Array<"u"?Uint8Array:Array,P0e=!1;function x$e(){P0e=!0;for(var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,a=o.length;i<a;++i)GS[i]=o[i],Tb[o.charCodeAt(i)]=i;Tb["-".charCodeAt(0)]=62,Tb["_".charCodeAt(0)]=63}function uNt(o){P0e||x$e();var i,a,u,p,y,T,P=o.length;if(P%4>0)throw new Error("Invalid string. Length must be a multiple of 4");y=o[P-2]==="="?2:o[P-1]==="="?1:0,T=new lNt(P*3/4-y),u=y>0?P-4:P;var I=0;for(i=0,a=0;i<u;i+=4,a+=3)p=Tb[o.charCodeAt(i)]<<18|Tb[o.charCodeAt(i+1)]<<12|Tb[o.charCodeAt(i+2)]<<6|Tb[o.charCodeAt(i+3)],T[I++]=p>>16&255,T[I++]=p>>8&255,T[I++]=p&255;return y===2?(p=Tb[o.charCodeAt(i)]<<2|Tb[o.charCodeAt(i+1)]>>4,T[I++]=p&255):y===1&&(p=Tb[o.charCodeAt(i)]<<10|Tb[o.charCodeAt(i+1)]<<4|Tb[o.charCodeAt(i+2)]>>2,T[I++]=p>>8&255,T[I++]=p&255),T}function fNt(o){return GS[o>>18&63]+GS[o>>12&63]+GS[o>>6&63]+GS[o&63]}function _Nt(o,i,a){for(var u,p=[],y=i;y<a;y+=3)u=(o[y]<<16)+(o[y+1]<<8)+o[y+2],p.push(fNt(u));return p.join("")}function Rje(o){P0e||x$e();for(var i,a=o.length,u=a%3,p="",y=[],T=16383,P=0,I=a-u;P<I;P+=T)y.push(_Nt(o,P,P+T>I?I:P+T));return u===1?(i=o[a-1],p+=GS[i>>2],p+=GS[i<<4&63],p+="=="):u===2&&(i=(o[a-2]<<8)+o[a-1],p+=GS[i>>10],p+=GS[i>>4&63],p+=GS[i<<2&63],p+="="),y.push(p),y.join("")}function $Q(o,i,a,u,p){var y,T,P=p*8-u-1,I=(1<<P)-1,B=I>>1,z=-7,H=a?p-1:0,Q=a?-1:1,Ie=o[i+H];for(H+=Q,y=Ie&(1<<-z)-1,Ie>>=-z,z+=P;z>0;y=y*256+o[i+H],H+=Q,z-=8);for(T=y&(1<<-z)-1,y>>=-z,z+=u;z>0;T=T*256+o[i+H],H+=Q,z-=8);if(y===0)y=1-B;else{if(y===I)return T?NaN:(Ie?-1:1)*(1/0);T=T+Math.pow(2,u),y=y-B}return(Ie?-1:1)*T*Math.pow(2,y-u)}function k$e(o,i,a,u,p,y){var T,P,I,B=y*8-p-1,z=(1<<B)-1,H=z>>1,Q=p===23?Math.pow(2,-24)-Math.pow(2,-77):0,Ie=u?0:y-1,ze=u?1:-1,Ue=i<0||i===0&&1/i<0?1:0;for(i=Math.abs(i),isNaN(i)||i===1/0?(P=isNaN(i)?1:0,T=z):(T=Math.floor(Math.log(i)/Math.LN2),i*(I=Math.pow(2,-T))<1&&(T--,I*=2),T+H>=1?i+=Q/I:i+=Q*Math.pow(2,1-H),i*I>=2&&(T++,I/=2),T+H>=z?(P=0,T=z):T+H>=1?(P=(i*I-1)*Math.pow(2,p),T=T+H):(P=i*Math.pow(2,H-1)*Math.pow(2,p),T=0));p>=8;o[a+Ie]=P&255,Ie+=ze,P/=256,p-=8);for(T=T<<p|P,B+=p;B>0;o[a+Ie]=T&255,Ie+=ze,T/=256,B-=8);o[a+Ie-ze]|=Ue*128}var pNt={}.toString,C$e=Array.isArray||function(o){return pNt.call(o)=="[object Array]"};/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/var dNt=50;ns.TYPED_ARRAY_SUPPORT=u6.TYPED_ARRAY_SUPPORT!==void 0?u6.TYPED_ARRAY_SUPPORT:!0;wX();function wX(){return ns.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function eC(o,i){if(wX()<i)throw new RangeError("Invalid typed array length");return ns.TYPED_ARRAY_SUPPORT?(o=new Uint8Array(i),o.__proto__=ns.prototype):(o===null&&(o=new ns(i)),o.length=i),o}function ns(o,i,a){if(!ns.TYPED_ARRAY_SUPPORT&&!(this instanceof ns))return new ns(o,i,a);if(typeof o=="number"){if(typeof i=="string")throw new Error("If encoding is specified then the first argument must be a string");return D0e(this,o)}return w$e(this,o,i,a)}ns.poolSize=8192;ns._augment=function(o){return o.__proto__=ns.prototype,o};function w$e(o,i,a,u){if(typeof i=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&i instanceof ArrayBuffer?gNt(o,i,a,u):typeof i=="string"?hNt(o,i,a):yNt(o,i)}ns.from=function(o,i,a){return w$e(null,o,i,a)};ns.TYPED_ARRAY_SUPPORT&&(ns.prototype.__proto__=Uint8Array.prototype,ns.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&ns[Symbol.species]);function E$e(o){if(typeof o!="number")throw new TypeError('"size" argument must be a number');if(o<0)throw new RangeError('"size" argument must not be negative')}function mNt(o,i,a,u){return E$e(i),i<=0?eC(o,i):a!==void 0?typeof u=="string"?eC(o,i).fill(a,u):eC(o,i).fill(a):eC(o,i)}ns.alloc=function(o,i,a){return mNt(null,o,i,a)};function D0e(o,i){if(E$e(i),o=eC(o,i<0?0:N0e(i)|0),!ns.TYPED_ARRAY_SUPPORT)for(var a=0;a<i;++a)o[a]=0;return o}ns.allocUnsafe=function(o){return D0e(null,o)};ns.allocUnsafeSlow=function(o){return D0e(null,o)};function hNt(o,i,a){if((typeof a!="string"||a==="")&&(a="utf8"),!ns.isEncoding(a))throw new TypeError('"encoding" must be a valid string encoding');var u=A$e(i,a)|0;o=eC(o,u);var p=o.write(i,a);return p!==u&&(o=o.slice(0,p)),o}function Zhe(o,i){var a=i.length<0?0:N0e(i.length)|0;o=eC(o,a);for(var u=0;u<a;u+=1)o[u]=i[u]&255;return o}function gNt(o,i,a,u){if(i.byteLength,a<0||i.byteLength<a)throw new RangeError("'offset' is out of bounds");if(i.byteLength<a+(u||0))throw new RangeError("'length' is out of bounds");return a===void 0&&u===void 0?i=new Uint8Array(i):u===void 0?i=new Uint8Array(i,a):i=new Uint8Array(i,a,u),ns.TYPED_ARRAY_SUPPORT?(o=i,o.__proto__=ns.prototype):o=Zhe(o,i),o}function yNt(o,i){if(ix(i)){var a=N0e(i.length)|0;return o=eC(o,a),o.length===0||i.copy(o,0,0,a),o}if(i){if(typeof ArrayBuffer<"u"&&i.buffer instanceof ArrayBuffer||"length"in i)return typeof i.length!="number"||RNt(i.length)?eC(o,0):Zhe(o,i);if(i.type==="Buffer"&&C$e(i.data))return Zhe(o,i.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function N0e(o){if(o>=wX())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+wX().toString(16)+" bytes");return o|0}ns.isBuffer=BNt;function ix(o){return!!(o!=null&&o._isBuffer)}ns.compare=function(i,a){if(!ix(i)||!ix(a))throw new TypeError("Arguments must be Buffers");if(i===a)return 0;for(var u=i.length,p=a.length,y=0,T=Math.min(u,p);y<T;++y)if(i[y]!==a[y]){u=i[y],p=a[y];break}return u<p?-1:p<u?1:0};ns.isEncoding=function(i){switch(String(i).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};ns.concat=function(i,a){if(!C$e(i))throw new TypeError('"list" argument must be an Array of Buffers');if(i.length===0)return ns.alloc(0);var u;if(a===void 0)for(a=0,u=0;u<i.length;++u)a+=i[u].length;var p=ns.allocUnsafe(a),y=0;for(u=0;u<i.length;++u){var T=i[u];if(!ix(T))throw new TypeError('"list" argument must be an Array of Buffers');T.copy(p,y),y+=T.length}return p};function A$e(o,i){if(ix(o))return o.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(o)||o instanceof ArrayBuffer))return o.byteLength;typeof o!="string"&&(o=""+o);var a=o.length;if(a===0)return 0;for(var u=!1;;)switch(i){case"ascii":case"latin1":case"binary":return a;case"utf8":case"utf-8":case void 0:return EX(o).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return a*2;case"hex":return a>>>1;case"base64":return M$e(o).length;default:if(u)return EX(o).length;i=(""+i).toLowerCase(),u=!0}}ns.byteLength=A$e;function vNt(o,i,a){var u=!1;if((i===void 0||i<0)&&(i=0),i>this.length||((a===void 0||a>this.length)&&(a=this.length),a<=0)||(a>>>=0,i>>>=0,a<=i))return"";for(o||(o="utf8");;)switch(o){case"hex":return PNt(this,i,a);case"utf8":case"utf-8":return N$e(this,i,a);case"ascii":return ENt(this,i,a);case"latin1":case"binary":return ANt(this,i,a);case"base64":return CNt(this,i,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return DNt(this,i,a);default:if(u)throw new TypeError("Unknown encoding: "+o);o=(o+"").toLowerCase(),u=!0}}ns.prototype._isBuffer=!0;function iA(o,i,a){var u=o[i];o[i]=o[a],o[a]=u}ns.prototype.swap16=function(){var i=this.length;if(i%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var a=0;a<i;a+=2)iA(this,a,a+1);return this};ns.prototype.swap32=function(){var i=this.length;if(i%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var a=0;a<i;a+=4)iA(this,a,a+3),iA(this,a+1,a+2);return this};ns.prototype.swap64=function(){var i=this.length;if(i%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var a=0;a<i;a+=8)iA(this,a,a+7),iA(this,a+1,a+6),iA(this,a+2,a+5),iA(this,a+3,a+4);return this};ns.prototype.toString=function(){var i=this.length|0;return i===0?"":arguments.length===0?N$e(this,0,i):vNt.apply(this,arguments)};ns.prototype.equals=function(i){if(!ix(i))throw new TypeError("Argument must be a Buffer");return this===i?!0:ns.compare(this,i)===0};ns.prototype.inspect=function(){var i="",a=dNt;return this.length>0&&(i=this.toString("hex",0,a).match(/.{2}/g).join(" "),this.length>a&&(i+=" ... ")),"<Buffer "+i+">"};ns.prototype.compare=function(i,a,u,p,y){if(!ix(i))throw new TypeError("Argument must be a Buffer");if(a===void 0&&(a=0),u===void 0&&(u=i?i.length:0),p===void 0&&(p=0),y===void 0&&(y=this.length),a<0||u>i.length||p<0||y>this.length)throw new RangeError("out of range index");if(p>=y&&a>=u)return 0;if(p>=y)return-1;if(a>=u)return 1;if(a>>>=0,u>>>=0,p>>>=0,y>>>=0,this===i)return 0;for(var T=y-p,P=u-a,I=Math.min(T,P),B=this.slice(p,y),z=i.slice(a,u),H=0;H<I;++H)if(B[H]!==z[H]){T=B[H],P=z[H];break}return T<P?-1:P<T?1:0};function P$e(o,i,a,u,p){if(o.length===0)return-1;if(typeof a=="string"?(u=a,a=0):a>2147483647?a=2147483647:a<-2147483648&&(a=-2147483648),a=+a,isNaN(a)&&(a=p?0:o.length-1),a<0&&(a=o.length+a),a>=o.length){if(p)return-1;a=o.length-1}else if(a<0)if(p)a=0;else return-1;if(typeof i=="string"&&(i=ns.from(i,u)),ix(i))return i.length===0?-1:Bje(o,i,a,u,p);if(typeof i=="number")return i=i&255,ns.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?p?Uint8Array.prototype.indexOf.call(o,i,a):Uint8Array.prototype.lastIndexOf.call(o,i,a):Bje(o,[i],a,u,p);throw new TypeError("val must be string, number or Buffer")}function Bje(o,i,a,u,p){var y=1,T=o.length,P=i.length;if(u!==void 0&&(u=String(u).toLowerCase(),u==="ucs2"||u==="ucs-2"||u==="utf16le"||u==="utf-16le")){if(o.length<2||i.length<2)return-1;y=2,T/=2,P/=2,a/=2}function I(Ie,ze){return y===1?Ie[ze]:Ie.readUInt16BE(ze*y)}var B;if(p){var z=-1;for(B=a;B<T;B++)if(I(o,B)===I(i,z===-1?0:B-z)){if(z===-1&&(z=B),B-z+1===P)return z*y}else z!==-1&&(B-=B-z),z=-1}else for(a+P>T&&(a=T-P),B=a;B>=0;B--){for(var H=!0,Q=0;Q<P;Q++)if(I(o,B+Q)!==I(i,Q)){H=!1;break}if(H)return B}return-1}ns.prototype.includes=function(i,a,u){return this.indexOf(i,a,u)!==-1};ns.prototype.indexOf=function(i,a,u){return P$e(this,i,a,u,!0)};ns.prototype.lastIndexOf=function(i,a,u){return P$e(this,i,a,u,!1)};function bNt(o,i,a,u){a=Number(a)||0;var p=o.length-a;u?(u=Number(u),u>p&&(u=p)):u=p;var y=i.length;if(y%2!==0)throw new TypeError("Invalid hex string");u>y/2&&(u=y/2);for(var T=0;T<u;++T){var P=parseInt(i.substr(T*2,2),16);if(isNaN(P))return T;o[a+T]=P}return T}function TNt(o,i,a,u){return HQ(EX(i,o.length-a),o,a,u)}function D$e(o,i,a,u){return HQ(MNt(i),o,a,u)}function SNt(o,i,a,u){return D$e(o,i,a,u)}function xNt(o,i,a,u){return HQ(M$e(i),o,a,u)}function kNt(o,i,a,u){return HQ(FNt(i,o.length-a),o,a,u)}ns.prototype.write=function(i,a,u,p){if(a===void 0)p="utf8",u=this.length,a=0;else if(u===void 0&&typeof a=="string")p=a,u=this.length,a=0;else if(isFinite(a))a=a|0,isFinite(u)?(u=u|0,p===void 0&&(p="utf8")):(p=u,u=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var y=this.length-a;if((u===void 0||u>y)&&(u=y),i.length>0&&(u<0||a<0)||a>this.length)throw new RangeError("Attempt to write outside buffer bounds");p||(p="utf8");for(var T=!1;;)switch(p){case"hex":return bNt(this,i,a,u);case"utf8":case"utf-8":return TNt(this,i,a,u);case"ascii":return D$e(this,i,a,u);case"latin1":case"binary":return SNt(this,i,a,u);case"base64":return xNt(this,i,a,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return kNt(this,i,a,u);default:if(T)throw new TypeError("Unknown encoding: "+p);p=(""+p).toLowerCase(),T=!0}};ns.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function CNt(o,i,a){return i===0&&a===o.length?Rje(o):Rje(o.slice(i,a))}function N$e(o,i,a){a=Math.min(o.length,a);for(var u=[],p=i;p<a;){var y=o[p],T=null,P=y>239?4:y>223?3:y>191?2:1;if(p+P<=a){var I,B,z,H;switch(P){case 1:y<128&&(T=y);break;case 2:I=o[p+1],(I&192)===128&&(H=(y&31)<<6|I&63,H>127&&(T=H));break;case 3:I=o[p+1],B=o[p+2],(I&192)===128&&(B&192)===128&&(H=(y&15)<<12|(I&63)<<6|B&63,H>2047&&(H<55296||H>57343)&&(T=H));break;case 4:I=o[p+1],B=o[p+2],z=o[p+3],(I&192)===128&&(B&192)===128&&(z&192)===128&&(H=(y&15)<<18|(I&63)<<12|(B&63)<<6|z&63,H>65535&&H<1114112&&(T=H))}}T===null?(T=65533,P=1):T>65535&&(T-=65536,u.push(T>>>10&1023|55296),T=56320|T&1023),u.push(T),p+=P}return wNt(u)}var jje=4096;function wNt(o){var i=o.length;if(i<=jje)return String.fromCharCode.apply(String,o);for(var a="",u=0;u<i;)a+=String.fromCharCode.apply(String,o.slice(u,u+=jje));return a}function ENt(o,i,a){var u="";a=Math.min(o.length,a);for(var p=i;p<a;++p)u+=String.fromCharCode(o[p]&127);return u}function ANt(o,i,a){var u="";a=Math.min(o.length,a);for(var p=i;p<a;++p)u+=String.fromCharCode(o[p]);return u}function PNt(o,i,a){var u=o.length;(!i||i<0)&&(i=0),(!a||a<0||a>u)&&(a=u);for(var p="",y=i;y<a;++y)p+=LNt(o[y]);return p}function DNt(o,i,a){for(var u=o.slice(i,a),p="",y=0;y<u.length;y+=2)p+=String.fromCharCode(u[y]+u[y+1]*256);return p}ns.prototype.slice=function(i,a){var u=this.length;i=~~i,a=a===void 0?u:~~a,i<0?(i+=u,i<0&&(i=0)):i>u&&(i=u),a<0?(a+=u,a<0&&(a=0)):a>u&&(a=u),a<i&&(a=i);var p;if(ns.TYPED_ARRAY_SUPPORT)p=this.subarray(i,a),p.__proto__=ns.prototype;else{var y=a-i;p=new ns(y,void 0);for(var T=0;T<y;++T)p[T]=this[T+i]}return p};function Gm(o,i,a){if(o%1!==0||o<0)throw new RangeError("offset is not uint");if(o+i>a)throw new RangeError("Trying to access beyond buffer length")}ns.prototype.readUIntLE=function(i,a,u){i=i|0,a=a|0,u||Gm(i,a,this.length);for(var p=this[i],y=1,T=0;++T<a&&(y*=256);)p+=this[i+T]*y;return p};ns.prototype.readUIntBE=function(i,a,u){i=i|0,a=a|0,u||Gm(i,a,this.length);for(var p=this[i+--a],y=1;a>0&&(y*=256);)p+=this[i+--a]*y;return p};ns.prototype.readUInt8=function(i,a){return a||Gm(i,1,this.length),this[i]};ns.prototype.readUInt16LE=function(i,a){return a||Gm(i,2,this.length),this[i]|this[i+1]<<8};ns.prototype.readUInt16BE=function(i,a){return a||Gm(i,2,this.length),this[i]<<8|this[i+1]};ns.prototype.readUInt32LE=function(i,a){return a||Gm(i,4,this.length),(this[i]|this[i+1]<<8|this[i+2]<<16)+this[i+3]*16777216};ns.prototype.readUInt32BE=function(i,a){return a||Gm(i,4,this.length),this[i]*16777216+(this[i+1]<<16|this[i+2]<<8|this[i+3])};ns.prototype.readIntLE=function(i,a,u){i=i|0,a=a|0,u||Gm(i,a,this.length);for(var p=this[i],y=1,T=0;++T<a&&(y*=256);)p+=this[i+T]*y;return y*=128,p>=y&&(p-=Math.pow(2,8*a)),p};ns.prototype.readIntBE=function(i,a,u){i=i|0,a=a|0,u||Gm(i,a,this.length);for(var p=a,y=1,T=this[i+--p];p>0&&(y*=256);)T+=this[i+--p]*y;return y*=128,T>=y&&(T-=Math.pow(2,8*a)),T};ns.prototype.readInt8=function(i,a){return a||Gm(i,1,this.length),this[i]&128?(255-this[i]+1)*-1:this[i]};ns.prototype.readInt16LE=function(i,a){a||Gm(i,2,this.length);var u=this[i]|this[i+1]<<8;return u&32768?u|4294901760:u};ns.prototype.readInt16BE=function(i,a){a||Gm(i,2,this.length);var u=this[i+1]|this[i]<<8;return u&32768?u|4294901760:u};ns.prototype.readInt32LE=function(i,a){return a||Gm(i,4,this.length),this[i]|this[i+1]<<8|this[i+2]<<16|this[i+3]<<24};ns.prototype.readInt32BE=function(i,a){return a||Gm(i,4,this.length),this[i]<<24|this[i+1]<<16|this[i+2]<<8|this[i+3]};ns.prototype.readFloatLE=function(i,a){return a||Gm(i,4,this.length),$Q(this,i,!0,23,4)};ns.prototype.readFloatBE=function(i,a){return a||Gm(i,4,this.length),$Q(this,i,!1,23,4)};ns.prototype.readDoubleLE=function(i,a){return a||Gm(i,8,this.length),$Q(this,i,!0,52,8)};ns.prototype.readDoubleBE=function(i,a){return a||Gm(i,8,this.length),$Q(this,i,!1,52,8)};function j0(o,i,a,u,p,y){if(!ix(o))throw new TypeError('"buffer" argument must be a Buffer instance');if(i>p||i<y)throw new RangeError('"value" argument is out of bounds');if(a+u>o.length)throw new RangeError("Index out of range")}ns.prototype.writeUIntLE=function(i,a,u,p){if(i=+i,a=a|0,u=u|0,!p){var y=Math.pow(2,8*u)-1;j0(this,i,a,u,y,0)}var T=1,P=0;for(this[a]=i&255;++P<u&&(T*=256);)this[a+P]=i/T&255;return a+u};ns.prototype.writeUIntBE=function(i,a,u,p){if(i=+i,a=a|0,u=u|0,!p){var y=Math.pow(2,8*u)-1;j0(this,i,a,u,y,0)}var T=u-1,P=1;for(this[a+T]=i&255;--T>=0&&(P*=256);)this[a+T]=i/P&255;return a+u};ns.prototype.writeUInt8=function(i,a,u){return i=+i,a=a|0,u||j0(this,i,a,1,255,0),ns.TYPED_ARRAY_SUPPORT||(i=Math.floor(i)),this[a]=i&255,a+1};function qQ(o,i,a,u){i<0&&(i=65535+i+1);for(var p=0,y=Math.min(o.length-a,2);p<y;++p)o[a+p]=(i&255<<8*(u?p:1-p))>>>(u?p:1-p)*8}ns.prototype.writeUInt16LE=function(i,a,u){return i=+i,a=a|0,u||j0(this,i,a,2,65535,0),ns.TYPED_ARRAY_SUPPORT?(this[a]=i&255,this[a+1]=i>>>8):qQ(this,i,a,!0),a+2};ns.prototype.writeUInt16BE=function(i,a,u){return i=+i,a=a|0,u||j0(this,i,a,2,65535,0),ns.TYPED_ARRAY_SUPPORT?(this[a]=i>>>8,this[a+1]=i&255):qQ(this,i,a,!1),a+2};function WQ(o,i,a,u){i<0&&(i=4294967295+i+1);for(var p=0,y=Math.min(o.length-a,4);p<y;++p)o[a+p]=i>>>(u?p:3-p)*8&255}ns.prototype.writeUInt32LE=function(i,a,u){return i=+i,a=a|0,u||j0(this,i,a,4,4294967295,0),ns.TYPED_ARRAY_SUPPORT?(this[a+3]=i>>>24,this[a+2]=i>>>16,this[a+1]=i>>>8,this[a]=i&255):WQ(this,i,a,!0),a+4};ns.prototype.writeUInt32BE=function(i,a,u){return i=+i,a=a|0,u||j0(this,i,a,4,4294967295,0),ns.TYPED_ARRAY_SUPPORT?(this[a]=i>>>24,this[a+1]=i>>>16,this[a+2]=i>>>8,this[a+3]=i&255):WQ(this,i,a,!1),a+4};ns.prototype.writeIntLE=function(i,a,u,p){if(i=+i,a=a|0,!p){var y=Math.pow(2,8*u-1);j0(this,i,a,u,y-1,-y)}var T=0,P=1,I=0;for(this[a]=i&255;++T<u&&(P*=256);)i<0&&I===0&&this[a+T-1]!==0&&(I=1),this[a+T]=(i/P>>0)-I&255;return a+u};ns.prototype.writeIntBE=function(i,a,u,p){if(i=+i,a=a|0,!p){var y=Math.pow(2,8*u-1);j0(this,i,a,u,y-1,-y)}var T=u-1,P=1,I=0;for(this[a+T]=i&255;--T>=0&&(P*=256);)i<0&&I===0&&this[a+T+1]!==0&&(I=1),this[a+T]=(i/P>>0)-I&255;return a+u};ns.prototype.writeInt8=function(i,a,u){return i=+i,a=a|0,u||j0(this,i,a,1,127,-128),ns.TYPED_ARRAY_SUPPORT||(i=Math.floor(i)),i<0&&(i=255+i+1),this[a]=i&255,a+1};ns.prototype.writeInt16LE=function(i,a,u){return i=+i,a=a|0,u||j0(this,i,a,2,32767,-32768),ns.TYPED_ARRAY_SUPPORT?(this[a]=i&255,this[a+1]=i>>>8):qQ(this,i,a,!0),a+2};ns.prototype.writeInt16BE=function(i,a,u){return i=+i,a=a|0,u||j0(this,i,a,2,32767,-32768),ns.TYPED_ARRAY_SUPPORT?(this[a]=i>>>8,this[a+1]=i&255):qQ(this,i,a,!1),a+2};ns.prototype.writeInt32LE=function(i,a,u){return i=+i,a=a|0,u||j0(this,i,a,4,2147483647,-2147483648),ns.TYPED_ARRAY_SUPPORT?(this[a]=i&255,this[a+1]=i>>>8,this[a+2]=i>>>16,this[a+3]=i>>>24):WQ(this,i,a,!0),a+4};ns.prototype.writeInt32BE=function(i,a,u){return i=+i,a=a|0,u||j0(this,i,a,4,2147483647,-2147483648),i<0&&(i=4294967295+i+1),ns.TYPED_ARRAY_SUPPORT?(this[a]=i>>>24,this[a+1]=i>>>16,this[a+2]=i>>>8,this[a+3]=i&255):WQ(this,i,a,!1),a+4};function I$e(o,i,a,u,p,y){if(a+u>o.length)throw new RangeError("Index out of range");if(a<0)throw new RangeError("Index out of range")}function O$e(o,i,a,u,p){return p||I$e(o,i,a,4),k$e(o,i,a,u,23,4),a+4}ns.prototype.writeFloatLE=function(i,a,u){return O$e(this,i,a,!0,u)};ns.prototype.writeFloatBE=function(i,a,u){return O$e(this,i,a,!1,u)};function L$e(o,i,a,u,p){return p||I$e(o,i,a,8),k$e(o,i,a,u,52,8),a+8}ns.prototype.writeDoubleLE=function(i,a,u){return L$e(this,i,a,!0,u)};ns.prototype.writeDoubleBE=function(i,a,u){return L$e(this,i,a,!1,u)};ns.prototype.copy=function(i,a,u,p){if(u||(u=0),!p&&p!==0&&(p=this.length),a>=i.length&&(a=i.length),a||(a=0),p>0&&p<u&&(p=u),p===u||i.length===0||this.length===0)return 0;if(a<0)throw new RangeError("targetStart out of bounds");if(u<0||u>=this.length)throw new RangeError("sourceStart out of bounds");if(p<0)throw new RangeError("sourceEnd out of bounds");p>this.length&&(p=this.length),i.length-a<p-u&&(p=i.length-a+u);var y=p-u,T;if(this===i&&u<a&&a<p)for(T=y-1;T>=0;--T)i[T+a]=this[T+u];else if(y<1e3||!ns.TYPED_ARRAY_SUPPORT)for(T=0;T<y;++T)i[T+a]=this[T+u];else Uint8Array.prototype.set.call(i,this.subarray(u,u+y),a);return y};ns.prototype.fill=function(i,a,u,p){if(typeof i=="string"){if(typeof a=="string"?(p=a,a=0,u=this.length):typeof u=="string"&&(p=u,u=this.length),i.length===1){var y=i.charCodeAt(0);y<256&&(i=y)}if(p!==void 0&&typeof p!="string")throw new TypeError("encoding must be a string");if(typeof p=="string"&&!ns.isEncoding(p))throw new TypeError("Unknown encoding: "+p)}else typeof i=="number"&&(i=i&255);if(a<0||this.length<a||this.length<u)throw new RangeError("Out of range index");if(u<=a)return this;a=a>>>0,u=u===void 0?this.length:u>>>0,i||(i=0);var T;if(typeof i=="number")for(T=a;T<u;++T)this[T]=i;else{var P=ix(i)?i:EX(new ns(i,p).toString()),I=P.length;for(T=0;T<u-a;++T)this[T+a]=P[T%I]}return this};var NNt=/[^+\/0-9A-Za-z-_]/g;function INt(o){if(o=ONt(o).replace(NNt,""),o.length<2)return"";for(;o.length%4!==0;)o=o+"=";return o}function ONt(o){return o.trim?o.trim():o.replace(/^\s+|\s+$/g,"")}function LNt(o){return o<16?"0"+o.toString(16):o.toString(16)}function EX(o,i){i=i||1/0;for(var a,u=o.length,p=null,y=[],T=0;T<u;++T){if(a=o.charCodeAt(T),a>55295&&a<57344){if(!p){if(a>56319){(i-=3)>-1&&y.push(239,191,189);continue}else if(T+1===u){(i-=3)>-1&&y.push(239,191,189);continue}p=a;continue}if(a<56320){(i-=3)>-1&&y.push(239,191,189),p=a;continue}a=(p-55296<<10|a-56320)+65536}else p&&(i-=3)>-1&&y.push(239,191,189);if(p=null,a<128){if((i-=1)<0)break;y.push(a)}else if(a<2048){if((i-=2)<0)break;y.push(a>>6|192,a&63|128)}else if(a<65536){if((i-=3)<0)break;y.push(a>>12|224,a>>6&63|128,a&63|128)}else if(a<1114112){if((i-=4)<0)break;y.push(a>>18|240,a>>12&63|128,a>>6&63|128,a&63|128)}else throw new Error("Invalid code point")}return y}function MNt(o){for(var i=[],a=0;a<o.length;++a)i.push(o.charCodeAt(a)&255);return i}function FNt(o,i){for(var a,u,p,y=[],T=0;T<o.length&&!((i-=2)<0);++T)a=o.charCodeAt(T),u=a>>8,p=a%256,y.push(p),y.push(u);return y}function M$e(o){return uNt(INt(o))}function HQ(o,i,a,u){for(var p=0;p<u&&!(p+a>=i.length||p>=o.length);++p)i[p+a]=o[p];return p}function RNt(o){return o!==o}function BNt(o){return o!=null&&(!!o._isBuffer||F$e(o)||jNt(o))}function F$e(o){return!!o.constructor&&typeof o.constructor.isBuffer=="function"&&o.constructor.isBuffer(o)}function jNt(o){return typeof o.readFloatLE=="function"&&typeof o.slice=="function"&&F$e(o.slice(0,0))}function R$e(){throw new Error("setTimeout has not been defined")}function B$e(){throw new Error("clearTimeout has not been defined")}var HE=R$e,GE=B$e;typeof u6.setTimeout=="function"&&(HE=setTimeout);typeof u6.clearTimeout=="function"&&(GE=clearTimeout);function j$e(o){if(HE===setTimeout)return setTimeout(o,0);if((HE===R$e||!HE)&&setTimeout)return HE=setTimeout,setTimeout(o,0);try{return HE(o,0)}catch{try{return HE.call(null,o,0)}catch{return HE.call(this,o,0)}}}function JNt(o){if(GE===clearTimeout)return clearTimeout(o);if((GE===B$e||!GE)&&clearTimeout)return GE=clearTimeout,clearTimeout(o);try{return GE(o)}catch{try{return GE.call(null,o)}catch{return GE.call(this,o)}}}var tC=[],jN=!1,sA,VG=-1;function UNt(){!jN||!sA||(jN=!1,sA.length?tC=sA.concat(tC):VG=-1,tC.length&&J$e())}function J$e(){if(!jN){var o=j$e(UNt);jN=!0;for(var i=tC.length;i;){for(sA=tC,tC=[];++VG<i;)sA&&sA[VG].run();VG=-1,i=tC.length}sA=null,jN=!1,JNt(o)}}function zNt(o){var i=new Array(arguments.length-1);if(arguments.length>1)for(var a=1;a<arguments.length;a++)i[a-1]=arguments[a];tC.push(new U$e(o,i)),tC.length===1&&!jN&&j$e(J$e)}function U$e(o,i){this.fun=o,this.array=i}U$e.prototype.run=function(){this.fun.apply(null,this.array)};var VNt="browser",$Nt="browser",qNt=!0,WNt={},HNt=[],GNt="",XNt={},QNt={},YNt={};function PA(){}var ZNt=PA,KNt=PA,eIt=PA,tIt=PA,rIt=PA,nIt=PA,iIt=PA;function sIt(o){throw new Error("process.binding is not supported")}function aIt(){return"/"}function oIt(o){throw new Error("process.chdir is not supported")}function cIt(){return 0}var xN=u6.performance||{},lIt=xN.now||xN.mozNow||xN.msNow||xN.oNow||xN.webkitNow||function(){return new Date().getTime()};function uIt(o){var i=lIt.call(xN)*.001,a=Math.floor(i),u=Math.floor(i%1*1e9);return o&&(a=a-o[0],u=u-o[1],u<0&&(a--,u+=1e9)),[a,u]}var fIt=new Date;function _It(){var o=new Date,i=o-fIt;return i/1e3}var Dg={nextTick:zNt,title:VNt,browser:qNt,env:WNt,argv:HNt,version:GNt,versions:XNt,on:ZNt,addListener:KNt,once:eIt,off:tIt,removeListener:rIt,removeAllListeners:nIt,emit:iIt,binding:sIt,cwd:aIt,chdir:oIt,umask:cIt,hrtime:uIt,platform:$Nt,release:QNt,config:YNt,uptime:_It},Khe;typeof Object.create=="function"?Khe=function(i,a){i.super_=a,i.prototype=Object.create(a.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}})}:Khe=function(i,a){i.super_=a;var u=function(){};u.prototype=a.prototype,i.prototype=new u,i.prototype.constructor=i};var z$e=Khe,V$e=Object.getOwnPropertyDescriptors||function(i){for(var a=Object.keys(i),u={},p=0;p<a.length;p++)u[a[p]]=Object.getOwnPropertyDescriptor(i,a[p]);return u},pIt=/%[sdj%]/g;function GQ(o){if(!f6(o)){for(var i=[],a=0;a<arguments.length;a++)i.push(KS(arguments[a]));return i.join(" ")}for(var a=1,u=arguments,p=u.length,y=String(o).replace(pIt,function(P){if(P==="%%")return"%";if(a>=p)return P;switch(P){case"%s":return String(u[a++]);case"%d":return Number(u[a++]);case"%j":try{return JSON.stringify(u[a++])}catch{return"[Circular]"}default:return P}}),T=u[a];a<p;T=u[++a])rC(T)||!mC(T)?y+=" "+T:y+=" "+KS(T);return y}function I0e(o,i){if(YS(u6.process))return function(){return I0e(o,i).apply(this,arguments)};if(Dg.noDeprecation===!0)return o;var a=!1;function u(){if(!a){if(Dg.throwDeprecation)throw new Error(i);Dg.traceDeprecation?console.trace(i):console.error(i),a=!0}return o.apply(this,arguments)}return u}var yG={},Zme;function $$e(o){if(YS(Zme)&&(Zme=Dg.env.NODE_DEBUG||""),o=o.toUpperCase(),!yG[o])if(new RegExp("\\b"+o+"\\b","i").test(Zme)){var i=0;yG[o]=function(){var a=GQ.apply(null,arguments);console.error("%s %d: %s",o,i,a)}}else yG[o]=function(){};return yG[o]}function KS(o,i){var a={seen:[],stylize:mIt};return arguments.length>=3&&(a.depth=arguments[2]),arguments.length>=4&&(a.colors=arguments[3]),XQ(i)?a.showHidden=i:i&&R0e(a,i),YS(a.showHidden)&&(a.showHidden=!1),YS(a.depth)&&(a.depth=2),YS(a.colors)&&(a.colors=!1),YS(a.customInspect)&&(a.customInspect=!0),a.colors&&(a.stylize=dIt),AX(a,o,a.depth)}KS.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};KS.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function dIt(o,i){var a=KS.styles[i];return a?"\x1B["+KS.colors[a][0]+"m"+o+"\x1B["+KS.colors[a][1]+"m":o}function mIt(o,i){return o}function hIt(o){var i={};return o.forEach(function(a,u){i[a]=!0}),i}function AX(o,i,a){if(o.customInspect&&i&&LF(i.inspect)&&i.inspect!==KS&&!(i.constructor&&i.constructor.prototype===i)){var u=i.inspect(a,o);return f6(u)||(u=AX(o,u,a)),u}var p=gIt(o,i);if(p)return p;var y=Object.keys(i),T=hIt(y);if(o.showHidden&&(y=Object.getOwnPropertyNames(i)),OF(i)&&(y.indexOf("message")>=0||y.indexOf("description")>=0))return Kme(i);if(y.length===0){if(LF(i)){var P=i.name?": "+i.name:"";return o.stylize("[Function"+P+"]","special")}if(IF(i))return o.stylize(RegExp.prototype.toString.call(i),"regexp");if(PX(i))return o.stylize(Date.prototype.toString.call(i),"date");if(OF(i))return Kme(i)}var I="",B=!1,z=["{","}"];if(O0e(i)&&(B=!0,z=["[","]"]),LF(i)){var H=i.name?": "+i.name:"";I=" [Function"+H+"]"}if(IF(i)&&(I=" "+RegExp.prototype.toString.call(i)),PX(i)&&(I=" "+Date.prototype.toUTCString.call(i)),OF(i)&&(I=" "+Kme(i)),y.length===0&&(!B||i.length==0))return z[0]+I+z[1];if(a<0)return IF(i)?o.stylize(RegExp.prototype.toString.call(i),"regexp"):o.stylize("[Object]","special");o.seen.push(i);var Q;return B?Q=yIt(o,i,a,T,y):Q=y.map(function(Ie){return ege(o,i,a,T,Ie,B)}),o.seen.pop(),vIt(Q,I,z)}function gIt(o,i){if(YS(i))return o.stylize("undefined","undefined");if(f6(i)){var a="'"+JSON.stringify(i).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return o.stylize(a,"string")}if(M0e(i))return o.stylize(""+i,"number");if(XQ(i))return o.stylize(""+i,"boolean");if(rC(i))return o.stylize("null","null")}function Kme(o){return"["+Error.prototype.toString.call(o)+"]"}function yIt(o,i,a,u,p){for(var y=[],T=0,P=i.length;T<P;++T)X$e(i,String(T))?y.push(ege(o,i,a,u,String(T),!0)):y.push("");return p.forEach(function(I){I.match(/^\d+$/)||y.push(ege(o,i,a,u,I,!0))}),y}function ege(o,i,a,u,p,y){var T,P,I;if(I=Object.getOwnPropertyDescriptor(i,p)||{value:i[p]},I.get?I.set?P=o.stylize("[Getter/Setter]","special"):P=o.stylize("[Getter]","special"):I.set&&(P=o.stylize("[Setter]","special")),X$e(u,p)||(T="["+p+"]"),P||(o.seen.indexOf(I.value)<0?(rC(a)?P=AX(o,I.value,null):P=AX(o,I.value,a-1),P.indexOf(`
`)>-1&&(y?P=P.split(`
`).map(function(B){return" "+B}).join(`
`).substr(2):P=`
`+P.split(`
`).map(function(B){return" "+B}).join(`
`))):P=o.stylize("[Circular]","special")),YS(T)){if(y&&p.match(/^\d+$/))return P;T=JSON.stringify(""+p),T.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(T=T.substr(1,T.length-2),T=o.stylize(T,"name")):(T=T.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),T=o.stylize(T,"string"))}return T+": "+P}function vIt(o,i,a){var u=o.reduce(function(p,y){return y.indexOf(`
`)>=0,p+y.replace(/\u001b\[\d\d?m/g,"").length+1},0);return u>60?a[0]+(i===""?"":i+`
`)+" "+o.join(`,
`)+" "+a[1]:a[0]+i+" "+o.join(", ")+" "+a[1]}function O0e(o){return Array.isArray(o)}function XQ(o){return typeof o=="boolean"}function rC(o){return o===null}function L0e(o){return o==null}function M0e(o){return typeof o=="number"}function f6(o){return typeof o=="string"}function q$e(o){return typeof o=="symbol"}function YS(o){return o===void 0}function IF(o){return mC(o)&&F0e(o)==="[object RegExp]"}function mC(o){return typeof o=="object"&&o!==null}function PX(o){return mC(o)&&F0e(o)==="[object Date]"}function OF(o){return mC(o)&&(F0e(o)==="[object Error]"||o instanceof Error)}function LF(o){return typeof o=="function"}function W$e(o){return o===null||typeof o=="boolean"||typeof o=="number"||typeof o=="string"||typeof o=="symbol"||typeof o>"u"}function H$e(o){return ns.isBuffer(o)}function F0e(o){return Object.prototype.toString.call(o)}function ehe(o){return o<10?"0"+o.toString(10):o.toString(10)}var bIt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function TIt(){var o=new Date,i=[ehe(o.getHours()),ehe(o.getMinutes()),ehe(o.getSeconds())].join(":");return[o.getDate(),bIt[o.getMonth()],i].join(" ")}function G$e(){console.log("%s - %s",TIt(),GQ.apply(null,arguments))}function R0e(o,i){if(!i||!mC(i))return o;for(var a=Object.keys(i),u=a.length;u--;)o[a[u]]=i[a[u]];return o}function X$e(o,i){return Object.prototype.hasOwnProperty.call(o,i)}var Z3=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function B0e(o){if(typeof o!="function")throw new TypeError('The "original" argument must be of type Function');if(Z3&&o[Z3]){var i=o[Z3];if(typeof i!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(i,Z3,{value:i,enumerable:!1,writable:!1,configurable:!0}),i}function i(){for(var a,u,p=new Promise(function(P,I){a=P,u=I}),y=[],T=0;T<arguments.length;T++)y.push(arguments[T]);y.push(function(P,I){P?u(P):a(I)});try{o.apply(this,y)}catch(P){u(P)}return p}return Object.setPrototypeOf(i,Object.getPrototypeOf(o)),Z3&&Object.defineProperty(i,Z3,{value:i,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(i,V$e(o))}B0e.custom=Z3;function SIt(o,i){if(!o){var a=new Error("Promise was rejected with a falsy value");a.reason=o,o=a}return i(o)}function Q$e(o){if(typeof o!="function")throw new TypeError('The "original" argument must be of type Function');function i(){for(var a=[],u=0;u<arguments.length;u++)a.push(arguments[u]);var p=a.pop();if(typeof p!="function")throw new TypeError("The last argument must be of type Function");var y=this,T=function(){return p.apply(y,arguments)};o.apply(this,a).then(function(P){Dg.nextTick(T.bind(null,null,P))},function(P){Dg.nextTick(SIt.bind(null,P,T))})}return Object.setPrototypeOf(i,Object.getPrototypeOf(o)),Object.defineProperties(i,V$e(o)),i}var xIt={inherits:z$e,_extend:R0e,log:G$e,isBuffer:H$e,isPrimitive:W$e,isFunction:LF,isError:OF,isDate:PX,isObject:mC,isRegExp:IF,isUndefined:YS,isSymbol:q$e,isString:f6,isNumber:M0e,isNullOrUndefined:L0e,isNull:rC,isBoolean:XQ,isArray:O0e,inspect:KS,deprecate:I0e,format:GQ,debuglog:$$e,promisify:B0e,callbackify:Q$e},kIt=Object.freeze({__proto__:null,_extend:R0e,callbackify:Q$e,debuglog:$$e,default:xIt,deprecate:I0e,format:GQ,inherits:z$e,inspect:KS,isArray:O0e,isBoolean:XQ,isBuffer:H$e,isDate:PX,isError:OF,isFunction:LF,isNull:rC,isNullOrUndefined:L0e,isNumber:M0e,isObject:mC,isPrimitive:W$e,isRegExp:IF,isString:f6,isSymbol:q$e,isUndefined:YS,log:G$e,promisify:B0e});function CIt(o,i){return Object.prototype.hasOwnProperty.call(o,i)}var Y$e=Array.isArray||function(o){return Object.prototype.toString.call(o)==="[object Array]"};function sF(o){switch(typeof o){case"string":return o;case"boolean":return o?"true":"false";case"number":return isFinite(o)?o:"";default:return""}}function wIt(o,i,a,u){return i=i||"&",a=a||"=",o===null&&(o=void 0),typeof o=="object"?Jje(EIt(o),function(p){var y=encodeURIComponent(sF(p))+a;return Y$e(o[p])?Jje(o[p],function(T){return y+encodeURIComponent(sF(T))}).join(i):y+encodeURIComponent(sF(o[p]))}).join(i):u?encodeURIComponent(sF(u))+a+encodeURIComponent(sF(o)):""}function Jje(o,i){if(o.map)return o.map(i);for(var a=[],u=0;u<o.length;u++)a.push(i(o[u],u));return a}var EIt=Object.keys||function(o){var i=[];for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&i.push(a);return i};function Uje(o,i,a,u){i=i||"&",a=a||"=";var p={};if(typeof o!="string"||o.length===0)return p;var y=/\+/g;o=o.split(i);var T=1e3;u&&typeof u.maxKeys=="number"&&(T=u.maxKeys);var P=o.length;T>0&&P>T&&(P=T);for(var I=0;I<P;++I){var B=o[I].replace(y,"%20"),z=B.indexOf(a),H,Q,Ie,ze;z>=0?(H=B.substr(0,z),Q=B.substr(z+1)):(H=B,Q=""),Ie=decodeURIComponent(H),ze=decodeURIComponent(Q),CIt(p,Ie)?Y$e(p[Ie])?p[Ie].push(ze):p[Ie]=[p[Ie],ze]:p[Ie]=ze}return p}const Z$e=u6.URL,K$e=u6.URLSearchParams;var AIt={parse:DI,resolve:nqe,resolveObject:iqe,fileURLToPath:tqe,format:rqe,Url:K1,URL:Z$e,URLSearchParams:K$e};function K1(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var PIt=/^([a-z0-9.+-]+:)/i,DIt=/:[0-9]*$/,NIt=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,IIt=["<",">",'"',"`"," ","\r",`
`," "],OIt=["{","}","|","\\","^","`"].concat(IIt),tge=["'"].concat(OIt),zje=["%","/","?",";","#"].concat(tge),Vje=["/","?","#"],LIt=255,$je=/^[+a-z0-9A-Z_-]{0,63}$/,MIt=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,FIt={javascript:!0,"javascript:":!0},rge={javascript:!0,"javascript:":!0},JN={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function DI(o,i,a){if(o&&mC(o)&&o instanceof K1)return o;var u=new K1;return u.parse(o,i,a),u}K1.prototype.parse=function(o,i,a){return eqe(this,o,i,a)};function eqe(o,i,a,u){if(!f6(i))throw new TypeError("Parameter 'url' must be a string, not "+typeof i);var p=i.indexOf("?"),y=p!==-1&&p<i.indexOf("#")?"?":"#",T=i.split(y),P=/\\/g;T[0]=T[0].replace(P,"/"),i=T.join(y);var I=i;if(I=I.trim(),!u&&i.split("#").length===1){var B=NIt.exec(I);if(B)return o.path=I,o.href=I,o.pathname=B[1],B[2]?(o.search=B[2],a?o.query=Uje(o.search.substr(1)):o.query=o.search.substr(1)):a&&(o.search="",o.query={}),o}var z=PIt.exec(I);if(z){z=z[0];var H=z.toLowerCase();o.protocol=H,I=I.substr(z.length)}if(u||z||I.match(/^\/\/[^@\/]+@[^@\/]+/)){var Q=I.substr(0,2)==="//";Q&&!(z&&rge[z])&&(I=I.substr(2),o.slashes=!0)}var Ie,ze,Ue,et;if(!rge[z]&&(Q||z&&!JN[z])){var Ve=-1;for(Ie=0;Ie<Vje.length;Ie++)ze=I.indexOf(Vje[Ie]),ze!==-1&&(Ve===-1||ze<Ve)&&(Ve=ze);var vt,ut;for(Ve===-1?ut=I.lastIndexOf("@"):ut=I.lastIndexOf("@",Ve),ut!==-1&&(vt=I.slice(0,ut),I=I.slice(ut+1),o.auth=decodeURIComponent(vt)),Ve=-1,Ie=0;Ie<zje.length;Ie++)ze=I.indexOf(zje[Ie]),ze!==-1&&(Ve===-1||ze<Ve)&&(Ve=ze);Ve===-1&&(Ve=I.length),o.host=I.slice(0,Ve),I=I.slice(Ve),sqe(o),o.hostname=o.hostname||"";var He=o.hostname[0]==="["&&o.hostname[o.hostname.length-1]==="]";if(!He){var Bt=o.hostname.split(/\./);for(Ie=0,Ue=Bt.length;Ie<Ue;Ie++){var ar=Bt[Ie];if(ar&&!ar.match($je)){for(var kr="",Ot=0,xt=ar.length;Ot<xt;Ot++)ar.charCodeAt(Ot)>127?kr+="x":kr+=ar[Ot];if(!kr.match($je)){var Wt=Bt.slice(0,Ie),_r=Bt.slice(Ie+1),An=ar.match(MIt);An&&(Wt.push(An[1]),_r.unshift(An[2])),_r.length&&(I="/"+_r.join(".")+I),o.hostname=Wt.join(".");break}}}}o.hostname.length>LIt?o.hostname="":o.hostname=o.hostname.toLowerCase(),He||(o.hostname=cNt(o.hostname)),et=o.port?":"+o.port:"";var hr=o.hostname||"";o.host=hr+et,o.href+=o.host,He&&(o.hostname=o.hostname.substr(1,o.hostname.length-2),I[0]!=="/"&&(I="/"+I))}if(!FIt[H])for(Ie=0,Ue=tge.length;Ie<Ue;Ie++){var Fi=tge[Ie];if(I.indexOf(Fi)!==-1){var ss=encodeURIComponent(Fi);ss===Fi&&(ss=escape(Fi)),I=I.split(Fi).join(ss)}}var qt=I.indexOf("#");qt!==-1&&(o.hash=I.substr(qt),I=I.slice(0,qt));var Ba=I.indexOf("?");if(Ba!==-1?(o.search=I.substr(Ba),o.query=I.substr(Ba+1),a&&(o.query=Uje(o.query)),I=I.slice(0,Ba)):a&&(o.search="",o.query={}),I&&(o.pathname=I),JN[H]&&o.hostname&&!o.pathname&&(o.pathname="/"),o.pathname||o.search){et=o.pathname||"";var $s=o.search||"";o.path=et+$s}return o.href=j0e(o),o}function tqe(o){if(typeof o=="string")o=new K1().parse(o);else if(!(o instanceof K1))throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof o+String(o));if(o.protocol!=="file:")throw new TypeError("The URL must be of scheme file");return RIt(o)}function RIt(o){const i=o.pathname;for(let a=0;a<i.length;a++)if(i[a]==="%"){const u=i.codePointAt(a+2)|32;if(i[a+1]==="2"&&u===102)throw new TypeError("must not include encoded / characters")}return decodeURIComponent(i)}function rqe(o){return f6(o)&&(o=eqe({},o)),j0e(o)}function j0e(o){var i=o.auth||"";i&&(i=encodeURIComponent(i),i=i.replace(/%3A/i,":"),i+="@");var a=o.protocol||"",u=o.pathname||"",p=o.hash||"",y=!1,T="";o.host?y=i+o.host:o.hostname&&(y=i+(o.hostname.indexOf(":")===-1?o.hostname:"["+this.hostname+"]"),o.port&&(y+=":"+o.port)),o.query&&mC(o.query)&&Object.keys(o.query).length&&(T=wIt(o.query));var P=o.search||T&&"?"+T||"";return a&&a.substr(-1)!==":"&&(a+=":"),o.slashes||(!a||JN[a])&&y!==!1?(y="//"+(y||""),u&&u.charAt(0)!=="/"&&(u="/"+u)):y||(y=""),p&&p.charAt(0)!=="#"&&(p="#"+p),P&&P.charAt(0)!=="?"&&(P="?"+P),u=u.replace(/[?#]/g,function(I){return encodeURIComponent(I)}),P=P.replace("#","%23"),a+y+u+P+p}K1.prototype.format=function(){return j0e(this)};function nqe(o,i){return DI(o,!1,!0).resolve(i)}K1.prototype.resolve=function(o){return this.resolveObject(DI(o,!1,!0)).format()};function iqe(o,i){return o?DI(o,!1,!0).resolveObject(i):i}K1.prototype.resolveObject=function(o){if(f6(o)){var i=new K1;i.parse(o,!1,!0),o=i}for(var a=new K1,u=Object.keys(this),p=0;p<u.length;p++){var y=u[p];a[y]=this[y]}if(a.hash=o.hash,o.href==="")return a.href=a.format(),a;if(o.slashes&&!o.protocol){for(var T=Object.keys(o),P=0;P<T.length;P++){var I=T[P];I!=="protocol"&&(a[I]=o[I])}return JN[a.protocol]&&a.hostname&&!a.pathname&&(a.path=a.pathname="/"),a.href=a.format(),a}var B;if(o.protocol&&o.protocol!==a.protocol){if(!JN[o.protocol]){for(var z=Object.keys(o),H=0;H<z.length;H++){var Q=z[H];a[Q]=o[Q]}return a.href=a.format(),a}if(a.protocol=o.protocol,!o.host&&!rge[o.protocol]){for(B=(o.pathname||"").split("/");B.length&&!(o.host=B.shift()););o.host||(o.host=""),o.hostname||(o.hostname=""),B[0]!==""&&B.unshift(""),B.length<2&&B.unshift(""),a.pathname=B.join("/")}else a.pathname=o.pathname;if(a.search=o.search,a.query=o.query,a.host=o.host||"",a.auth=o.auth,a.hostname=o.hostname||o.host,a.port=o.port,a.pathname||a.search){var Ie=a.pathname||"",ze=a.search||"";a.path=Ie+ze}return a.slashes=a.slashes||o.slashes,a.href=a.format(),a}var Ue=a.pathname&&a.pathname.charAt(0)==="/",et=o.host||o.pathname&&o.pathname.charAt(0)==="/",Ve=et||Ue||a.host&&o.pathname,vt=Ve,ut=a.pathname&&a.pathname.split("/")||[],He=a.protocol&&!JN[a.protocol];B=o.pathname&&o.pathname.split("/")||[],He&&(a.hostname="",a.port=null,a.host&&(ut[0]===""?ut[0]=a.host:ut.unshift(a.host)),a.host="",o.protocol&&(o.hostname=null,o.port=null,o.host&&(B[0]===""?B[0]=o.host:B.unshift(o.host)),o.host=null),Ve=Ve&&(B[0]===""||ut[0]===""));var Bt;if(et)a.host=o.host||o.host===""?o.host:a.host,a.hostname=o.hostname||o.hostname===""?o.hostname:a.hostname,a.search=o.search,a.query=o.query,ut=B;else if(B.length)ut||(ut=[]),ut.pop(),ut=ut.concat(B),a.search=o.search,a.query=o.query;else if(!L0e(o.search))return He&&(a.hostname=a.host=ut.shift(),Bt=a.host&&a.host.indexOf("@")>0?a.host.split("@"):!1,Bt&&(a.auth=Bt.shift(),a.host=a.hostname=Bt.shift())),a.search=o.search,a.query=o.query,(!rC(a.pathname)||!rC(a.search))&&(a.path=(a.pathname?a.pathname:"")+(a.search?a.search:"")),a.href=a.format(),a;if(!ut.length)return a.pathname=null,a.search?a.path="/"+a.search:a.path=null,a.href=a.format(),a;for(var ar=ut.slice(-1)[0],kr=(a.host||o.host||ut.length>1)&&(ar==="."||ar==="..")||ar==="",Ot=0,xt=ut.length;xt>=0;xt--)ar=ut[xt],ar==="."?ut.splice(xt,1):ar===".."?(ut.splice(xt,1),Ot++):Ot&&(ut.splice(xt,1),Ot--);if(!Ve&&!vt)for(;Ot--;Ot)ut.unshift("..");Ve&&ut[0]!==""&&(!ut[0]||ut[0].charAt(0)!=="/")&&ut.unshift(""),kr&&ut.join("/").substr(-1)!=="/"&&ut.push("");var Wt=ut[0]===""||ut[0]&&ut[0].charAt(0)==="/";return He&&(a.hostname=a.host=Wt?"":ut.length?ut.shift():"",Bt=a.host&&a.host.indexOf("@")>0?a.host.split("@"):!1,Bt&&(a.auth=Bt.shift(),a.host=a.hostname=Bt.shift())),Ve=Ve||a.host&&ut.length,Ve&&!Wt&&ut.unshift(""),ut.length?a.pathname=ut.join("/"):(a.pathname=null,a.path=null),(!rC(a.pathname)||!rC(a.search))&&(a.path=(a.pathname?a.pathname:"")+(a.search?a.search:"")),a.auth=o.auth||a.auth,a.slashes=a.slashes||o.slashes,a.href=a.format(),a};K1.prototype.parseHost=function(){return sqe(this)};function sqe(o){var i=o.host,a=DIt.exec(i);a&&(a=a[0],a!==":"&&(o.port=a.substr(1)),i=i.substr(0,i.length-a.length)),i&&(o.hostname=i)}var BIt=Object.freeze({__proto__:null,URL:Z$e,URLSearchParams:K$e,Url:K1,default:AIt,fileURLToPath:tqe,format:rqe,parse:DI,resolve:nqe,resolveObject:iqe});function aqe(o){const i=o.charAt(0);return i==="."||i==="~"||i==="@"}const jIt=/^(https?:)?\/\//;function oqe(o){return jIt.test(o)}const JIt=/^\s*data:/i;function nge(o){return JIt.test(o)}function ige(o){if(o.charAt(0)==="~"){const a=o.charAt(1);o=o.slice(a==="/"?2:1)}return UIt(o)}function UIt(o){return DI(ou(o)?o:"",!1,!0)}var zIt=Object.defineProperty,VIt=Object.defineProperties,$It=Object.getOwnPropertyDescriptors,qje=Object.getOwnPropertySymbols,qIt=Object.prototype.hasOwnProperty,WIt=Object.prototype.propertyIsEnumerable,Wje=(o,i,a)=>i in o?zIt(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,the=(o,i)=>{for(var a in i||(i={}))qIt.call(i,a)&&Wje(o,a,i[a]);if(qje)for(var a of qje(i))WIt.call(i,a)&&Wje(o,a,i[a]);return o},HIt=(o,i)=>VIt(o,$It(i));const rR={base:null,includeAbsolute:!1,tags:{video:["src","poster"],source:["src"],img:["src"],image:["xlink:href","href"],use:["xlink:href","href"]}},GIt=o=>Object.keys(o).some(i=>Cy(o[i]))?HIt(the({},rR),{tags:o}):the(the({},rR),o),XIt=o=>(i,a)=>cqe(i,a,o),cqe=(o,i,a=rR)=>{if(o.type===1){if(!o.props.length)return;const u=a.tags||rR.tags,p=u[o.tag],y=u["*"];if(!p&&!y)return;const T=(p||[]).concat(y||[]);o.props.forEach((P,I)=>{if(P.type!==6||!T.includes(P.name)||!P.value||oqe(P.value.content)||nge(P.value.content)||P.value.content[0]==="#"||!a.includeAbsolute&&!aqe(P.value.content))return;const B=ige(P.value.content);if(a.base&&P.value.content[0]==="."){const H=ige(a.base),Q=H.protocol||"",Ie=H.host?Q+"//"+H.host:"",ze=H.path||"/";P.value.content=Ie+(lC.posix||lC).join(ze,B.path+(B.hash||""));return}const z=QIt(B.path,B.hash,P.loc,i);o.props[I]={type:7,name:"bind",arg:Ta(P.name,!0,P.loc),exp:z,modifiers:[],loc:P.loc}})}};function QIt(o,i,a,u){if(o){let p,y;const T=u.imports.findIndex(z=>z.path===o);if(T>-1?(p=`_imports_${T}`,y=u.imports[T].exp):(p=`_imports_${u.imports.length}`,y=Ta(p,!1,a,3),u.imports.push({exp:y,path:o})),!i)return y;const P=`${p} + '${i}'`,I=Ta(P,!1,a,3);if(!u.hoistStatic)return I;const B=u.hoists.findIndex(z=>z&&z.type===4&&!z.isStatic&&z.content===P);return B>-1?Ta(`_hoisted_${B+1}`,!1,a,3):u.hoist(I)}else return Ta("''",!1,a,3)}const YIt=["img","source"],ZIt=/( |\\t|\\n|\\f|\\r)+/g,KIt=o=>(i,a)=>lqe(i,a,o),lqe=(o,i,a=rR)=>{o.type===1&&YIt.includes(o.tag)&&o.props.length&&o.props.forEach((u,p)=>{if(u.name==="srcset"&&u.type===6){if(!u.value)return;const y=u.value.content;if(!y)return;const T=y.split(",").map(z=>{const[H,Q]=z.replace(ZIt," ").trim().split(" ",2);return{url:H,descriptor:Q}});for(let z=0;z<T.length;z++){const{url:H}=T[z];nge(H)&&(T[z+1].url=H+","+T[z+1].url,T.splice(z,1))}const P=z=>!oqe(z)&&!nge(z)&&(a.includeAbsolute||aqe(z));if(!T.some(({url:z})=>P(z)))return;if(a.base){const z=a.base,H=[];let Q=!1;if(T.forEach(Ie=>{let{url:ze,descriptor:Ue}=Ie;Ue=Ue?` ${Ue}`:"",ze[0]==="."?(Ie.url=(lC.posix||lC).join(z,ze),H.push(Ie.url+Ue)):P(ze)?Q=!0:H.push(ze+Ue)}),!Q){u.value.content=H.join(", ");return}}const I=Ah([],u.loc);T.forEach(({url:z,descriptor:H},Q)=>{if(P(z)){const{path:ze}=ige(z);let Ue;if(ze){const et=i.imports.findIndex(Ve=>Ve.path===ze);et>-1?Ue=Ta(`_imports_${et}`,!1,u.loc,3):(Ue=Ta(`_imports_${i.imports.length}`,!1,u.loc,3),i.imports.push({exp:Ue,path:ze})),I.children.push(Ue)}}else{const ze=Ta(`"${z}"`,!1,u.loc,3);I.children.push(ze)}const Ie=T.length-1>Q;H&&Ie?I.children.push(` + ' ${H}, ' + `):H?I.children.push(` + ' ${H}'`):Ie&&I.children.push(" + ', ' + ")});let B=I;i.hoistStatic&&(B=i.hoist(I),B.constType=3),o.props[p]={type:7,name:"bind",arg:Ta("srcset",!0,u.loc),exp:B,modifiers:[],loc:u.loc}}})},J0e=Symbol("ssrInterpolate"),uqe=Symbol("ssrRenderVNode"),fqe=Symbol("ssrRenderComponent"),_qe=Symbol("ssrRenderSlot"),pqe=Symbol("ssrRenderSlotInner"),dqe=Symbol("ssrRenderClass"),mqe=Symbol("ssrRenderStyle"),U0e=Symbol("ssrRenderAttrs"),hqe=Symbol("ssrRenderAttr"),gqe=Symbol("ssrRenderDynamicAttr"),yqe=Symbol("ssrRenderList"),vqe=Symbol("ssrIncludeBooleanAttr"),sge=Symbol("ssrLooseEqual"),bqe=Symbol("ssrLooseContain"),Tqe=Symbol("ssrRenderDynamicModel"),Sqe=Symbol("ssrGetDynamicModelProps"),xqe=Symbol("ssrRenderTeleport"),kqe=Symbol("ssrRenderSuspense"),Cqe=Symbol("ssrGetDirectiveProps"),age={[J0e]:"ssrInterpolate",[uqe]:"ssrRenderVNode",[fqe]:"ssrRenderComponent",[_qe]:"ssrRenderSlot",[pqe]:"ssrRenderSlotInner",[dqe]:"ssrRenderClass",[mqe]:"ssrRenderStyle",[U0e]:"ssrRenderAttrs",[hqe]:"ssrRenderAttr",[gqe]:"ssrRenderDynamicAttr",[yqe]:"ssrRenderList",[vqe]:"ssrIncludeBooleanAttr",[sge]:"ssrLooseEqual",[bqe]:"ssrLooseContain",[Tqe]:"ssrRenderDynamicModel",[Sqe]:"ssrGetDynamicModelProps",[xqe]:"ssrRenderTeleport",[kqe]:"ssrRenderSuspense",[Cqe]:"ssrGetDirectiveProps"};yye(age);const e7t=OR(/^(if|else|else-if)$/,t0e);function t7t(o,i,a=!1){const[u]=o.branches,p=cX(u.condition,Hje(u,i,a));i.pushStatement(p);let y=p;for(let T=1;T<o.branches.length;T++){const P=o.branches[T],I=Hje(P,i,a);P.condition?y=y.alternate=cX(P.condition,I):y.alternate=I}y.alternate||(y.alternate=DR([bc("_push",["`<!---->`"])]))}function Hje(o,i,a=!1){const{children:u}=o,p=!a&&(u.length!==1||u[0].type!==1)&&!(u.length===1&&u[0].type===11);return NI(o,i,p)}const r7t=OR("for",r0e);function n7t(o,i,a=!1){const u=!a&&(o.children.length!==1||o.children[0].type!==1),p=tv(eR(o.parseResult));p.body=NI(o,i,u),a||i.pushStringPart("<!--[-->"),i.pushStatement(bc(i.helper(yqe),[o.source,p])),a||i.pushStringPart("<!--]-->")}const i7t=(o,i)=>{if(iI(o)){const{slotName:a,slotProps:u}=o0e(o,i),p=["_ctx.$slots",a,u||"{}","null","_push","_parent"];i.scopeId&&i.slotted!==!1&&p.push(`"${i.scopeId}-s"`);let y=_qe;const T=i.parent;T&&T.type===1&&T.tagType===1&&JQ(T,i,!0)===PI&&T.children.filter(P=>P.type===1).length===1&&(y=pqe,i.scopeId&&i.slotted!==!1||p.push("null"),p.push("true")),o.ssrCodegenNode=bc(i.helper(y),p)}};function s7t(o,i){const a=o.ssrCodegenNode;if(o.children.length){const u=tv([]);u.body=NI(o,i),a.arguments[3]=u}if(i.withSlotScopeId){const u=a.arguments[6];a.arguments[6]=u?`${u} + _scopeId`:"_scopeId"}i.pushStatement(o.ssrCodegenNode)}function nR(o,i){return Fu(o,i,a7t)}const a7t={[65]:"Unsafe attribute name for SSR.",[66]:"Missing the 'to' prop on teleport element.",[67]:"Invalid AST node during SSR transform."};function o7t(o,i){const a=R0(o,"to");if(!a){i.onError(nR(66,o.loc));return}let u;if(a.type===6?u=a.value&&Ta(a.value.content,!0):u=a.exp,!u){i.onError(nR(66,a.loc));return}const p=R0(o,"disabled",!1,!0),y=p?p.type===6?"true":p.exp||"false":"false",T=tv(["_push"],void 0,!0,!1,o.loc);T.body=NI(o,i),i.pushStatement(bc(i.helper(xqe),["_push",T,u,y,"_parent"]))}const wqe=new WeakMap;function c7t(o,i){return()=>{if(o.children.length){const a={slotsExp:null,wipSlots:[]};wqe.set(o,a),a.slotsExp=tR(o,i,(u,p,y)=>{const T=tv([],void 0,!0,!1,y);return a.wipSlots.push({fn:T,children:p}),T}).slots}}}function l7t(o,i){const a=wqe.get(o);if(!a)return;const{slotsExp:u,wipSlots:p}=a;for(let y=0;y<p.length;y++){const T=p[y];T.fn.body=NI(T,i)}i.pushStatement(bc(i.helper(kqe),["_push",u]))}const $G=new WeakMap,u7t=(o,i)=>{if(!(o.type!==1||o.tagType!==0))return function(){const u=[`<${o.tag}`],p=o.tag==="textarea"||o.tag.indexOf("-")>0,y=PQ(o),T=o.props.some(H=>H.type===7&&!lye(H.name)),P=y||T;if(P){const{props:H,directives:Q}=AI(o,i,o.props,!1,!1,!0);if(H||Q.length){const Ie=z0e(H,Q,i),ze=bc(i.helper(U0e),[Ie]);if(o.tag==="textarea"){const Ue=o.children[0];if(!Ue||Ue.type!==5){const et=`_temp${i.temps++}`;ze.arguments=[Ihe(Ta(et,!1),Ie)],$G.set(o,bc(i.helper(J0e),[o6(Ta(`"value" in ${et}`,!1),Ta(`${et}.value`,!1),Ta(Ue?Ue.content:"",!0),!1)]))}}else if(o.tag==="input"){const Ue=d7t(o);if(Ue){const et=`_temp${i.temps++}`,Ve=Ta(et,!1);ze.arguments=[Wze([Ihe(Ve,Ie),bc(i.helper(vA),[Ve,bc(i.helper(Sqe),[Ve,Ue.exp])])])]}}p&&ze.arguments.push(`"${o.tag}"`),u.push(ze)}}let I,B,z;for(let H=0;H<o.props.length;H++){const Q=o.props[H];if(!(o.tag==="input"&&f7t(Q))){if(Q.type===7){if(Q.name==="html"&&Q.exp)$G.set(o,Q.exp);else if(Q.name==="text"&&Q.exp)o.children=[oX(Q.exp,Q.loc)];else if(Q.name==="slot")i.onError(Fu(40,Q.loc));else if(_7t(o,Q)&&Q.exp)P||(o.children=[oX(Q.exp,Q.loc)]);else if(!P&&Q.name!=="on"){const Ie=i.directiveTransforms[Q.name];if(Ie){const{props:ze,ssrTagParts:Ue}=Ie(Q,o,i);Ue&&u.push(...Ue);for(let et=0;et<ze.length;et++){const{key:Ve,value:vt}=ze[et];if(Dh(Ve)){let ut=Ve.content;if(ut==="key"||ut==="ref")continue;ut==="class"?u.push(' class="',I=bc(i.helper(dqe),[vt]),'"'):ut==="style"?z?Gje(z,vt):u.push(' style="',z=bc(i.helper(mqe),[vt]),'"'):(ut=o.tag.indexOf("-")>0?ut:S3t[ut]||ut.toLowerCase(),Jze(ut)?u.push(o6(bc(i.helper(vqe),[vt]),Ta(" "+ut,!0),Ta("",!0),!1)):T3t(ut)?u.push(bc(i.helper(hqe),[Ve,vt])):i.onError(nR(65,Ve.loc)))}else{const ut=[Ve,vt];p&&ut.push(`"${o.tag}"`),u.push(bc(i.helper(gqe),ut))}}}}}else if(o.tag==="textarea"&&Q.name==="value"&&Q.value)$G.set(o,XS(Q.value.content));else if(!P){if(Q.name==="key"||Q.name==="ref")continue;Q.name==="class"&&Q.value&&(B=JSON.stringify(Q.value.content)),u.push(` ${Q.name}`+(Q.value?`="${XS(Q.value.content)}"`:""))}}}I&&B&&(Gje(I,B),p7t(u,"class")),i.scopeId&&u.push(` ${i.scopeId}`),o.ssrCodegenNode=vye(u)}};function z0e(o,i,a){let u=[];if(o&&(o.type===14?u=o.arguments:u.push(o)),i.length)for(const p of i)u.push(bc(a.helper(Cqe),["_ctx",...a0e(p,a).elements]));return u.length>1?bc(a.helper(vA),u):u[0]}function f7t(o){return o.type===7?o.name==="bind"&&o.arg&&Dh(o.arg)&&(o.arg.content==="true-value"||o.arg.content==="false-value"):o.name==="true-value"||o.name==="false-value"}function _7t(o,i){return!!(o.tag==="textarea"&&i.name==="bind"&&Kk(i.arg,"value"))}function Gje(o,i){const a=o.arguments[0];a.type===17?a.elements.push(i):o.arguments[0]=wA([a,i])}function p7t(o,i){const a=new RegExp(`^ ${i}=".+"$`),u=o.findIndex(p=>typeof p=="string"&&a.test(p));u>-1&&o.splice(u,1)}function d7t(o){return o.props.find(i=>i.type===7&&i.name==="model"&&i.exp)}function m7t(o,i){const a=i.options.isVoidTag||LG,u=o.ssrCodegenNode.elements;for(let y=0;y<u.length;y++)i.pushStringPart(u[y]);i.withSlotScopeId&&i.pushStringPart(Ta("_scopeId",!1)),i.pushStringPart(">");const p=$G.get(o);p?i.pushStringPart(p):o.children.length&&dA(o,i),a(o.tag)||i.pushStringPart(`</${o.tag}>`)}const Eqe=new WeakMap;function h7t(o,i){return()=>{const a=R0(o,"tag");if(a){const u=o.props.filter(P=>P!==a),{props:p,directives:y}=AI(o,i,u,!0,!1,!0);let T=null;(p||y.length)&&(T=bc(i.helper(U0e),[z0e(p,y,i)])),Eqe.set(o,{tag:a,propsExp:T})}}}function g7t(o,i){const a=Eqe.get(o);if(a){const{tag:u,propsExp:p}=a;u.type===7?(i.pushStringPart("<"),i.pushStringPart(u.exp),p&&i.pushStringPart(p),i.pushStringPart(">"),dA(o,i,!1,!0),i.pushStringPart("</"),i.pushStringPart(u.exp),i.pushStringPart(">")):(i.pushStringPart(`<${u.value.content}`),p&&i.pushStringPart(p),i.pushStringPart(">"),dA(o,i,!1,!0),i.pushStringPart(`</${u.value.content}>`))}else dA(o,i,!0,!0)}var y7t=Object.defineProperty,v7t=Object.defineProperties,b7t=Object.getOwnPropertyDescriptors,Xje=Object.getOwnPropertySymbols,T7t=Object.prototype.hasOwnProperty,S7t=Object.prototype.propertyIsEnumerable,Qje=(o,i,a)=>i in o?y7t(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,pA=(o,i)=>{for(var a in i||(i={}))T7t.call(i,a)&&Qje(o,a,i[a]);if(Xje)for(var a of Xje(i))S7t.call(i,a)&&Qje(o,a,i[a]);return o},x7t=(o,i)=>v7t(o,b7t(i));const Aqe=new WeakMap,Pqe=Symbol(),Dqe=new WeakMap,k7t=(o,i)=>{if(o.type!==1||o.tagType!==1)return;const a=JQ(o,i,!0),u=dC(a)&&a.callee===ZN;if(Dqe.set(o,a),gI(a))return a===yI?c7t(o,i):a===FR?h7t(o,i):void 0;const p=[],y=oge(o);return function(){y.children.length&&tR(y,i,(H,Q)=>(p.push(D7t(H,Q,i)),tv(void 0)));let P="null";if(o.props.length){const{props:H,directives:Q}=AI(o,i,void 0,!0,u);(H||Q.length)&&(P=z0e(H,Q,i))}const I=[];Aqe.set(o,I);const B=(H,Q,Ie)=>{const ze=H&&jQ(H)||"_",Ue=tv([ze,"_push","_parent","_scopeId"],void 0,!0,!0,Ie);return I.push({type:Pqe,fn:Ue,children:Q,vnodeBranch:p[I.length]}),Ue},z=o.children.length?tR(o,i,B).slots:"null";typeof a!="string"?o.ssrCodegenNode=bc(i.helper(uqe),["_push",bc(i.helper(AR),[a,P,z]),"_parent"]):o.ssrCodegenNode=bc(i.helper(fqe),[a,P,z,"_parent"])}};function C7t(o,i,a){const u=Dqe.get(o);if(o.ssrCodegenNode){const p=Aqe.get(o)||[];for(let y=0;y<p.length;y++){const{fn:T,vnodeBranch:P}=p[y];T.body=cX(Ta("_push",!1),NI(p[y],i,!1,!0),P)}i.withSlotScopeId&&o.ssrCodegenNode.arguments.push("_scopeId"),typeof u=="string"?i.pushStatement(bc("_push",[o.ssrCodegenNode])):i.pushStatement(o.ssrCodegenNode)}else{if(u===cA)return o7t(o,i);if(u===yI)return l7t(o,i);if(u===FR)return g7t(o,i);a.type===Pqe&&i.pushStringPart(""),u===PI&&(o.children=o.children.filter(p=>p.type!==3)),dA(o,i)}}const Nqe=new WeakMap,[w7t,E7t]=l0e(!0),A7t=[...w7t,...v0e],P7t=pA(pA({},E7t),b0e);function D7t(o,i,a){const u=Nqe.get(a.root),p=x7t(pA({},u),{nodeTransforms:[...A7t,...u.nodeTransforms||[]],directiveTransforms:pA(pA({},P7t),u.directiveTransforms||{})});return N7t({type:1,ns:0,tag:"template",tagType:3,isSelfClosing:!1,props:[{type:7,name:"slot",exp:o,arg:void 0,modifiers:[],loc:np}],children:i,loc:np,codegenNode:void 0},p,a),Hze(i)}function N7t(o,i,a){const u=TI([o]),p=IR(u,i);p.ssr=!1,p.scopes=pA({},a.scopes),p.identifiers=pA({},a.identifiers),p.imports=a.imports,SI(u,p),["helpers","components","directives"].forEach(y=>{p[y].forEach((T,P)=>{if(y==="helpers"){const I=a.helpers.get(P);I===void 0?a.helpers.set(P,T):a.helpers.set(P,T+I)}else a[y].add(T)})})}function oge(o){if(Cy(o))return o.map(oge);if(dC(o)){const i={};for(const a in o)i[a]=oge(o[a]);return i}else return o}function I7t(o,i){const a=Iqe(o,i);if(i.ssrCssVars){const p=IR(TI([]),i),y=xy(Ta(i.ssrCssVars,!1),p);a.body.push(Ah(["const _cssVars = { style: ",y,"}"])),Array.from(p.helpers.keys()).forEach(T=>{o.helpers.add(T)})}const u=o.children.length>1&&o.children.some(p=>!AF(p));dA(o,a,u),o.codegenNode=DR(a.body),o.ssrHelpers=Array.from(new Set([...Array.from(o.helpers).filter(p=>p in age),...a.helpers])),o.helpers=new Set(Array.from(o.helpers).filter(p=>!(p in age)))}function Iqe(o,i,a=new Set,u=!1){const p=[];let y=null;return{root:o,options:i,body:p,helpers:a,withSlotScopeId:u,onError:i.onError||(T=>{throw T}),helper(T){return a.add(T),T},pushStringPart(T){if(!y){const B=bc("_push");p.push(B),y=vye([]),B.arguments.push(y)}const P=y.elements,I=P[P.length-1];ou(T)&&ou(I)?P[P.length-1]+=T:P.push(T)},pushStatement(T){y=null,p.push(T)}}}function O7t(o,i=o.withSlotScopeId){return Iqe(o.root,o.options,o.helpers,i)}function dA(o,i,a=!1,u=!1){a&&i.pushStringPart("<!--[-->");const{children:p}=o;for(let y=0;y<p.length;y++){const T=p[y];switch(T.type){case 1:switch(T.tagType){case 0:m7t(T,i);break;case 1:C7t(T,i,o);break;case 2:s7t(T,i);break;case 3:break;default:return i.onError(nR(67,T.loc)),T}break;case 2:i.pushStringPart(XS(T.content));break;case 3:i.pushStringPart(`<!--${T.content}-->`);break;case 5:i.pushStringPart(bc(i.helper(J0e),[T.content]));break;case 9:t7t(T,i,u);break;case 11:n7t(T,i,u);break;case 10:break;case 12:case 8:break;default:return i.onError(nR(67,T.loc)),T}}a&&i.pushStringPart("<!--]-->")}function NI(o,i,a=!1,u=i.withSlotScopeId){const p=O7t(i,u);return dA(o,p,a),DR(p.body)}const L7t=(o,i,a)=>{const u=o.exp;function p(){const y=R0(i,"value");y&&a.onError(Pg(60,y.loc))}if(i.tagType===0){const y={props:[]},T=[rf("value",u)];if(i.tag==="input"){const P=R0(i,"type");if(P){const I=M7t(i);if(P.type===7)y.ssrTagParts=[bc(a.helper(Tqe),[P.exp,u,I])];else if(P.value)switch(P.value.content){case"radio":y.props=[rf("checked",bc(a.helper(sge),[u,I]))];break;case"checkbox":const B=R0(i,"true-value");if(B){const z=B.type===6?JSON.stringify(B.value.content):B.exp;y.props=[rf("checked",bc(a.helper(sge),[u,z]))]}else y.props=[rf("checked",o6(bc("Array.isArray",[u]),bc(a.helper(bqe),[u,I]),u))];break;case"file":a.onError(Pg(59,o.loc));break;default:p(),y.props=T;break}}else PQ(i)||(p(),y.props=T)}else i.tag==="textarea"?(p(),i.children=[oX(u,u.loc)]):i.tag==="select"||a.onError(Pg(57,o.loc));return y}else return zQ(o,i,a)};function M7t(o){const i=R0(o,"value");return i?i.type===7?i.exp:Ta(i.value.content,!0):Ta("null",!1)}const F7t=(o,i,a)=>(o.exp||a.onError(Pg(61)),{props:[rf("style",o6(o.exp,Ta("null",!1),F0([rf("display",Ta("none",!0))]),!1))]}),cge=o=>o.children.filter(i=>i.type!==3),rhe=o=>cge(o).length===1,R7t=(o,i)=>{if(o.type===0&&(i.identifiers._attrs=1),o.type===1&&o.tagType===1&&(H2(o.tag,"Transition")||H2(o.tag,"KeepAlive"))){const u=cge(i.root);if(u.length===1&&u[0]===o){rhe(o)&&nhe(o.children[0]);return}}const a=i.parent;if(!(!a||a.type!==0))if(o.type===10&&rhe(o)){let u=!1;for(const p of cge(a))if(p.type===9||p.type===1&&qm(p,"if")){if(u)return;u=!0}else if(!u||!(p.type===1&&qm(p,/else/,!0)))return;nhe(o.children[0])}else rhe(a)&&nhe(o)};function nhe(o){o.type===1&&(o.tagType===0||o.tagType===1)&&!qm(o,"for")&&o.props.push({type:7,name:"bind",arg:void 0,exp:Ta("_attrs",!1),modifiers:[],loc:np})}const B7t=(o,i)=>{if(!i.ssrCssVars)return;o.type===0&&(i.identifiers._cssVars=1);const a=i.parent;if(!(!a||a.type!==0))if(o.type===10)for(const u of o.children)DX(u);else DX(o)};function DX(o){if(o.type===1&&(o.tagType===0||o.tagType===1)&&!qm(o,"for"))if(H2(o.tag,"Suspense"))for(const i of o.children)i.type===1&&i.tagType===3?i.children.forEach(DX):DX(i);else o.props.push({type:7,name:"bind",arg:void 0,exp:Ta("_cssVars",!1),modifiers:[],loc:np})}var j7t=Object.defineProperty,J7t=Object.defineProperties,U7t=Object.getOwnPropertyDescriptors,Yje=Object.getOwnPropertySymbols,z7t=Object.prototype.hasOwnProperty,V7t=Object.prototype.propertyIsEnumerable,Zje=(o,i,a)=>i in o?j7t(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,vG=(o,i)=>{for(var a in i||(i={}))z7t.call(i,a)&&Zje(o,a,i[a]);if(Yje)for(var a of Yje(i))V7t.call(i,a)&&Zje(o,a,i[a]);return o},Kje=(o,i)=>J7t(o,U7t(i));function $7t(o,i={}){i=Kje(vG(vG({},i),aI),{ssr:!0,inSSR:!0,scopeId:i.mode==="function"?null:i.scopeId,prefixIdentifiers:!0,cacheHandlers:!1,hoistStatic:!1});const a=DQ(o,i);return Nqe.set(a,i),IQ(a,Kje(vG({},i),{hoistStatic:!1,nodeTransforms:[e7t,r7t,s0e,e0e,i7t,R7t,B7t,u7t,k7t,i0e,g0e,...i.nodeTransforms||[]],directiveTransforms:vG({bind:c0e,on:UQ,model:L7t,show:F7t,cloak:DF,once:DF,memo:DF},i.directiveTransforms||{})})),I7t(a,i),Zye(a,i)}var q7t=Object.freeze({__proto__:null,compile:$7t}),W7t={},H7t=Object.freeze({__proto__:null,default:W7t}),G7t=NR(H7t),V0e=NR(x8t),X7t=NR(kIt);const eJe={};function mA(o){!(typeof process<"u"&&!0)&&!eJe[o]&&(eJe[o]=!0,lge(o))}function lge(o){console.warn(`\x1B[1m\x1B[33m[@vue/compiler-sfc]\x1B[0m\x1B[33m ${o}\x1B[0m
`)}var Q7t=Object.defineProperty,Y7t=Object.defineProperties,Z7t=Object.getOwnPropertyDescriptors,tJe=Object.getOwnPropertySymbols,K7t=Object.prototype.hasOwnProperty,e5t=Object.prototype.propertyIsEnumerable,rJe=(o,i,a)=>i in o?Q7t(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,$0e=(o,i)=>{for(var a in i||(i={}))K7t.call(i,a)&&rJe(o,a,i[a]);if(tJe)for(var a of tJe(i))e5t.call(i,a)&&rJe(o,a,i[a]);return o},Oqe=(o,i)=>Y7t(o,Z7t(i));function t5t({source:o,filename:i,preprocessOptions:a},u){let p="",y=null;if(u.render(o,$0e({filename:i},a),(T,P)=>{T&&(y=T),p=P}),y)throw y;return p}function q0e(o){const{preprocessLang:i,preprocessCustomRequire:a}=o;if(i&&!a)throw new Error("[@vue/compiler-sfc] Template preprocessing in the browser build must provide the `preprocessCustomRequire` option to return the in-browser version of the preprocessor in the shape of { render(): string }.");const u=i?a?a(i):void 0:!1;if(u)try{return nJe(Oqe($0e({},o),{source:t5t(o,u)}))}catch(p){return{code:"export default function render() {}",source:o.source,tips:[],errors:[p]}}else return i?{code:"export default function render() {}",source:o.source,tips:[`Component ${o.filename} uses lang ${i} for template. Please install the language preprocessor.`],errors:[`Component ${o.filename} uses lang ${i} for template, however it is not installed.`]}:nJe(o)}function nJe({filename:o,id:i,scoped:a,slotted:u,inMap:p,source:y,ssr:T=!1,ssrCssVars:P,isProd:I=!1,compiler:B=T?q7t:t$e,compilerOptions:z={},transformAssetUrls:H}){const Q=[],Ie=[];let ze=[];if(dC(H)){const ar=GIt(H);ze=[XIt(ar),KIt(ar)]}else H!==!1&&(ze=[cqe,lqe]);T&&!P&&mA("compileTemplate is called with `ssr: true` but no corresponding `cssVars` option.`."),i||(mA("compileTemplate now requires the `id` option.`."),i="");const Ue=i.replace(/^data-v-/,""),et=`data-v-${Ue}`;let{code:Ve,ast:vt,preamble:ut,map:He}=B.compile(y,Oqe($0e({mode:"module",prefixIdentifiers:!0,hoistStatic:!0,cacheHandlers:!0,ssrCssVars:T&&P&&P.length?p$e(P,Ue,I,!0):"",scopeId:a?et:void 0,slotted:u,sourceMap:!0},z),{nodeTransforms:ze.concat(z.nodeTransforms||[]),filename:o,onError:ar=>Q.push(ar),onWarn:ar=>Ie.push(ar)}));p&&(He&&(He=r5t(p,He)),Q.length&&n5t(Q,y,p));const Bt=Ie.map(ar=>{let kr=ar.message;return ar.loc&&(kr+=`
${yA(y,ar.loc.start.offset,ar.loc.end.offset)}`),kr});return{code:Ve,ast:vt,preamble:ut,source:y,errors:Q,tips:Bt,map:He}}function r5t(o,i){if(!o)return i;if(!i)return o;const a=new pje(o),u=new pje(i),p=new Yye;u.eachMapping(T=>{if(T.originalLine==null)return;const P=a.originalPositionFor({line:T.originalLine,column:T.originalColumn});P.source!=null&&p.addMapping({generated:{line:T.generatedLine,column:T.generatedColumn},original:{line:P.line,column:T.originalColumn},source:P.source,name:P.name})});const y=p;return a.sources.forEach(T=>{y._sources.add(T);const P=a.sourceContentFor(T);P!=null&&p.setSourceContent(T,P)}),y._sourceRoot=o.sourceRoot,y._file=o.file,y.toJSON()}function n5t(o,i,a){const u=a.sourcesContent[0],p=u.indexOf(i),y=u.slice(0,p).split(/\r?\n/).length-1;o.forEach(T=>{T.loc&&(T.loc.start.line+=y,T.loc.start.offset+=p,T.loc.end!==T.loc.start&&(T.loc.end.line+=y,T.loc.end.offset+=p))})}var iR={},i5t={get exports(){return iR},set exports(o){iR=o}};function Lqe(){return!1}function Mqe(){throw new Error("tty.ReadStream is not implemented")}function Fqe(){throw new Error("tty.ReadStream is not implemented")}var s5t={isatty:Lqe,ReadStream:Mqe,WriteStream:Fqe},a5t=Object.freeze({__proto__:null,ReadStream:Mqe,WriteStream:Fqe,default:s5t,isatty:Lqe}),o5t=NR(a5t);let c5t=o5t,l5t=!("NO_COLOR"in{}||Dg.argv.includes("--no-color"))&&("FORCE_COLOR"in{}||Dg.argv.includes("--color")||!1||c5t.isatty(1)&&Dg.env.TERM!=="dumb"||"CI"in{}),ep=(o,i,a=o)=>u=>{let p=""+u,y=p.indexOf(i,o.length);return~y?o+Rqe(p,i,a,y)+i:o+p+i},Rqe=(o,i,a,u)=>{let p=o.substring(0,u)+a,y=o.substring(u+i.length),T=y.indexOf(i);return~T?p+Rqe(y,i,a,T):p+y},Bqe=(o=l5t)=>({isColorSupported:o,reset:o?i=>`\x1B[0m${i}\x1B[0m`:String,bold:o?ep("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"):String,dim:o?ep("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"):String,italic:o?ep("\x1B[3m","\x1B[23m"):String,underline:o?ep("\x1B[4m","\x1B[24m"):String,inverse:o?ep("\x1B[7m","\x1B[27m"):String,hidden:o?ep("\x1B[8m","\x1B[28m"):String,strikethrough:o?ep("\x1B[9m","\x1B[29m"):String,black:o?ep("\x1B[30m","\x1B[39m"):String,red:o?ep("\x1B[31m","\x1B[39m"):String,green:o?ep("\x1B[32m","\x1B[39m"):String,yellow:o?ep("\x1B[33m","\x1B[39m"):String,blue:o?ep("\x1B[34m","\x1B[39m"):String,magenta:o?ep("\x1B[35m","\x1B[39m"):String,cyan:o?ep("\x1B[36m","\x1B[39m"):String,white:o?ep("\x1B[37m","\x1B[39m"):String,gray:o?ep("\x1B[90m","\x1B[39m"):String,bgBlack:o?ep("\x1B[40m","\x1B[49m"):String,bgRed:o?ep("\x1B[41m","\x1B[49m"):String,bgGreen:o?ep("\x1B[42m","\x1B[49m"):String,bgYellow:o?ep("\x1B[43m","\x1B[49m"):String,bgBlue:o?ep("\x1B[44m","\x1B[49m"):String,bgMagenta:o?ep("\x1B[45m","\x1B[49m"):String,bgCyan:o?ep("\x1B[46m","\x1B[49m"):String,bgWhite:o?ep("\x1B[47m","\x1B[49m"):String});i5t.exports=Bqe();iR.createColors=Bqe;const ihe="'".charCodeAt(0),iJe='"'.charCodeAt(0),bG="\\".charCodeAt(0),sJe="/".charCodeAt(0),TG=`
`.charCodeAt(0),aF=" ".charCodeAt(0),SG="\f".charCodeAt(0),xG=" ".charCodeAt(0),kG="\r".charCodeAt(0),u5t="[".charCodeAt(0),f5t="]".charCodeAt(0),_5t="(".charCodeAt(0),p5t=")".charCodeAt(0),d5t="{".charCodeAt(0),m5t="}".charCodeAt(0),h5t=";".charCodeAt(0),g5t="*".charCodeAt(0),y5t=":".charCodeAt(0),v5t="@".charCodeAt(0),CG=/[\t\n\f\r "#'()/;[\\\]{}]/g,wG=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,b5t=/.[\n"'(/\\]/,aJe=/[\da-f]/i;var jqe=function(i,a={}){let u=i.css.valueOf(),p=a.ignoreErrors,y,T,P,I,B,z,H,Q,Ie,ze,Ue=u.length,et=0,Ve=[],vt=[];function ut(){return et}function He(Ot){throw i.error("Unclosed "+Ot,et)}function Bt(){return vt.length===0&&et>=Ue}function ar(Ot){if(vt.length)return vt.pop();if(et>=Ue)return;let xt=Ot?Ot.ignoreUnclosed:!1;switch(y=u.charCodeAt(et),y){case TG:case aF:case xG:case kG:case SG:{T=et;do T+=1,y=u.charCodeAt(T);while(y===aF||y===TG||y===xG||y===kG||y===SG);ze=["space",u.slice(et,T)],et=T-1;break}case u5t:case f5t:case d5t:case m5t:case y5t:case h5t:case p5t:{let Wt=String.fromCharCode(y);ze=[Wt,Wt,et];break}case _5t:{if(Q=Ve.length?Ve.pop()[1]:"",Ie=u.charCodeAt(et+1),Q==="url"&&Ie!==ihe&&Ie!==iJe&&Ie!==aF&&Ie!==TG&&Ie!==xG&&Ie!==SG&&Ie!==kG){T=et;do{if(z=!1,T=u.indexOf(")",T+1),T===-1)if(p||xt){T=et;break}else He("bracket");for(H=T;u.charCodeAt(H-1)===bG;)H-=1,z=!z}while(z);ze=["brackets",u.slice(et,T+1),et,T],et=T}else T=u.indexOf(")",et+1),I=u.slice(et,T+1),T===-1||b5t.test(I)?ze=["(","(",et]:(ze=["brackets",I,et,T],et=T);break}case ihe:case iJe:{P=y===ihe?"'":'"',T=et;do{if(z=!1,T=u.indexOf(P,T+1),T===-1)if(p||xt){T=et+1;break}else He("string");for(H=T;u.charCodeAt(H-1)===bG;)H-=1,z=!z}while(z);ze=["string",u.slice(et,T+1),et,T],et=T;break}case v5t:{CG.lastIndex=et+1,CG.test(u),CG.lastIndex===0?T=u.length-1:T=CG.lastIndex-2,ze=["at-word",u.slice(et,T+1),et,T],et=T;break}case bG:{for(T=et,B=!0;u.charCodeAt(T+1)===bG;)T+=1,B=!B;if(y=u.charCodeAt(T+1),B&&y!==sJe&&y!==aF&&y!==TG&&y!==xG&&y!==kG&&y!==SG&&(T+=1,aJe.test(u.charAt(T)))){for(;aJe.test(u.charAt(T+1));)T+=1;u.charCodeAt(T+1)===aF&&(T+=1)}ze=["word",u.slice(et,T+1),et,T],et=T;break}default:{y===sJe&&u.charCodeAt(et+1)===g5t?(T=u.indexOf("*/",et+2)+1,T===0&&(p||xt?T=u.length:He("comment")),ze=["comment",u.slice(et,T+1),et,T],et=T):(wG.lastIndex=et+1,wG.test(u),wG.lastIndex===0?T=u.length-1:T=wG.lastIndex-2,ze=["word",u.slice(et,T+1),et,T],Ve.push(ze),et=T);break}}return et++,ze}function kr(Ot){vt.push(Ot)}return{back:kr,nextToken:ar,endOfFile:Bt,position:ut}};let yy=iR,T5t=jqe,Jqe;function S5t(o){Jqe=o}const x5t={brackets:yy.cyan,"at-word":yy.cyan,comment:yy.gray,string:yy.green,class:yy.yellow,hash:yy.magenta,call:yy.cyan,"(":yy.cyan,")":yy.cyan,"{":yy.yellow,"}":yy.yellow,"[":yy.yellow,"]":yy.yellow,":":yy.yellow,";":yy.yellow};function k5t([o,i],a){if(o==="word"){if(i[0]===".")return"class";if(i[0]==="#")return"hash"}if(!a.endOfFile()){let u=a.nextToken();if(a.back(u),u[0]==="brackets"||u[0]==="(")return"call"}return o}function Uqe(o){let i=T5t(new Jqe(o),{ignoreErrors:!0}),a="";for(;!i.endOfFile();){let u=i.nextToken(),p=x5t[k5t(u,i)];p?a+=u[1].split(/\r?\n/).map(y=>p(y)).join(`
`):a+=u[1]}return a}Uqe.registerInput=S5t;var zqe=Uqe;let oJe=iR,cJe=zqe,uge=class Vqe extends Error{constructor(i,a,u,p,y,T){super(i),this.name="CssSyntaxError",this.reason=i,y&&(this.file=y),p&&(this.source=p),T&&(this.plugin=T),typeof a<"u"&&typeof u<"u"&&(typeof a=="number"?(this.line=a,this.column=u):(this.line=a.line,this.column=a.column,this.endLine=u.line,this.endColumn=u.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,Vqe)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(i){if(!this.source)return"";let a=this.source;i==null&&(i=oJe.isColorSupported),cJe&&i&&(a=cJe(a));let u=a.split(/\r?\n/),p=Math.max(this.line-3,0),y=Math.min(this.line+2,u.length),T=String(y).length,P,I;if(i){let{bold:B,red:z,gray:H}=oJe.createColors(!0);P=Q=>B(z(Q)),I=Q=>H(Q)}else P=I=B=>B;return u.slice(p,y).map((B,z)=>{let H=p+1+z,Q=" "+(" "+H).slice(-T)+" | ";if(H===this.line){let Ie=I(Q.replace(/\d/g," "))+B.slice(0,this.column-1).replace(/[^\t]/g," ");return P(">")+I(Q)+B+`
`+Ie+P("^")}return" "+I(Q)+B}).join(`
`)}toString(){let i=this.showSourceCode();return i&&(i=`
`+i+`
`),this.name+": "+this.message+i}};var W0e=uge;uge.default=uge;var RR={};RR.isClean=Symbol("isClean");RR.my=Symbol("my");const lJe={colon:": ",indent:" ",beforeDecl:`
`,beforeRule:`
`,beforeOpen:" ",beforeClose:`
`,beforeComment:`
`,after:`
`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function C5t(o){return o[0].toUpperCase()+o.slice(1)}let fge=class{constructor(i){this.builder=i}stringify(i,a){if(!this[i.type])throw new Error("Unknown AST node type "+i.type+". Maybe you need to change PostCSS stringifier.");this[i.type](i,a)}document(i){this.body(i)}root(i){this.body(i),i.raws.after&&this.builder(i.raws.after)}comment(i){let a=this.raw(i,"left","commentLeft"),u=this.raw(i,"right","commentRight");this.builder("/*"+a+i.text+u+"*/",i)}decl(i,a){let u=this.raw(i,"between","colon"),p=i.prop+u+this.rawValue(i,"value");i.important&&(p+=i.raws.important||" !important"),a&&(p+=";"),this.builder(p,i)}rule(i){this.block(i,this.rawValue(i,"selector")),i.raws.ownSemicolon&&this.builder(i.raws.ownSemicolon,i,"end")}atrule(i,a){let u="@"+i.name,p=i.params?this.rawValue(i,"params"):"";if(typeof i.raws.afterName<"u"?u+=i.raws.afterName:p&&(u+=" "),i.nodes)this.block(i,u+p);else{let y=(i.raws.between||"")+(a?";":"");this.builder(u+p+y,i)}}body(i){let a=i.nodes.length-1;for(;a>0&&i.nodes[a].type==="comment";)a-=1;let u=this.raw(i,"semicolon");for(let p=0;p<i.nodes.length;p++){let y=i.nodes[p],T=this.raw(y,"before");T&&this.builder(T),this.stringify(y,a!==p||u)}}block(i,a){let u=this.raw(i,"between","beforeOpen");this.builder(a+u+"{",i,"start");let p;i.nodes&&i.nodes.length?(this.body(i),p=this.raw(i,"after")):p=this.raw(i,"after","emptyBody"),p&&this.builder(p),this.builder("}",i,"end")}raw(i,a,u){let p;if(u||(u=a),a&&(p=i.raws[a],typeof p<"u"))return p;let y=i.parent;if(u==="before"&&(!y||y.type==="root"&&y.first===i||y&&y.type==="document"))return"";if(!y)return lJe[u];let T=i.root();if(T.rawCache||(T.rawCache={}),typeof T.rawCache[u]<"u")return T.rawCache[u];if(u==="before"||u==="after")return this.beforeAfter(i,u);{let P="raw"+C5t(u);this[P]?p=this[P](T,i):T.walk(I=>{if(p=I.raws[a],typeof p<"u")return!1})}return typeof p>"u"&&(p=lJe[u]),T.rawCache[u]=p,p}rawSemicolon(i){let a;return i.walk(u=>{if(u.nodes&&u.nodes.length&&u.last.type==="decl"&&(a=u.raws.semicolon,typeof a<"u"))return!1}),a}rawEmptyBody(i){let a;return i.walk(u=>{if(u.nodes&&u.nodes.length===0&&(a=u.raws.after,typeof a<"u"))return!1}),a}rawIndent(i){if(i.raws.indent)return i.raws.indent;let a;return i.walk(u=>{let p=u.parent;if(p&&p!==i&&p.parent&&p.parent===i&&typeof u.raws.before<"u"){let y=u.raws.before.split(`
`);return a=y[y.length-1],a=a.replace(/\S/g,""),!1}}),a}rawBeforeComment(i,a){let u;return i.walkComments(p=>{if(typeof p.raws.before<"u")return u=p.raws.before,u.includes(`
`)&&(u=u.replace(/[^\n]+$/,"")),!1}),typeof u>"u"?u=this.raw(a,null,"beforeDecl"):u&&(u=u.replace(/\S/g,"")),u}rawBeforeDecl(i,a){let u;return i.walkDecls(p=>{if(typeof p.raws.before<"u")return u=p.raws.before,u.includes(`
`)&&(u=u.replace(/[^\n]+$/,"")),!1}),typeof u>"u"?u=this.raw(a,null,"beforeRule"):u&&(u=u.replace(/\S/g,"")),u}rawBeforeRule(i){let a;return i.walk(u=>{if(u.nodes&&(u.parent!==i||i.first!==u)&&typeof u.raws.before<"u")return a=u.raws.before,a.includes(`
`)&&(a=a.replace(/[^\n]+$/,"")),!1}),a&&(a=a.replace(/\S/g,"")),a}rawBeforeClose(i){let a;return i.walk(u=>{if(u.nodes&&u.nodes.length>0&&typeof u.raws.after<"u")return a=u.raws.after,a.includes(`
`)&&(a=a.replace(/[^\n]+$/,"")),!1}),a&&(a=a.replace(/\S/g,"")),a}rawBeforeOpen(i){let a;return i.walk(u=>{if(u.type!=="decl"&&(a=u.raws.between,typeof a<"u"))return!1}),a}rawColon(i){let a;return i.walkDecls(u=>{if(typeof u.raws.between<"u")return a=u.raws.between.replace(/[^\s:]/g,""),!1}),a}beforeAfter(i,a){let u;i.type==="decl"?u=this.raw(i,null,"beforeDecl"):i.type==="comment"?u=this.raw(i,null,"beforeComment"):a==="before"?u=this.raw(i,null,"beforeRule"):u=this.raw(i,null,"beforeClose");let p=i.parent,y=0;for(;p&&p.type!=="root";)y+=1,p=p.parent;if(u.includes(`
`)){let T=this.raw(i,null,"indent");if(T.length)for(let P=0;P<y;P++)u+=T}return u}rawValue(i,a){let u=i[a],p=i.raws[a];return p&&p.value===u?p.raw:u}};var $qe=fge;fge.default=fge;let w5t=$qe;function _ge(o,i){new w5t(i).stringify(o)}var QQ=_ge;_ge.default=_ge;let{isClean:EG,my:E5t}=RR,A5t=W0e,P5t=$qe,D5t=QQ;function pge(o,i){let a=new o.constructor;for(let u in o){if(!Object.prototype.hasOwnProperty.call(o,u)||u==="proxyCache")continue;let p=o[u],y=typeof p;u==="parent"&&y==="object"?i&&(a[u]=i):u==="source"?a[u]=p:Array.isArray(p)?a[u]=p.map(T=>pge(T,a)):(y==="object"&&p!==null&&(p=pge(p)),a[u]=p)}return a}let dge=class{constructor(i={}){this.raws={},this[EG]=!1,this[E5t]=!0;for(let a in i)if(a==="nodes"){this.nodes=[];for(let u of i[a])typeof u.clone=="function"?this.append(u.clone()):this.append(u)}else this[a]=i[a]}error(i,a={}){if(this.source){let{start:u,end:p}=this.rangeBy(a);return this.source.input.error(i,{line:u.line,column:u.column},{line:p.line,column:p.column},a)}return new A5t(i)}warn(i,a,u){let p={node:this};for(let y in u)p[y]=u[y];return i.warn(a,p)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(i=D5t){i.stringify&&(i=i.stringify);let a="";return i(this,u=>{a+=u}),a}assign(i={}){for(let a in i)this[a]=i[a];return this}clone(i={}){let a=pge(this);for(let u in i)a[u]=i[u];return a}cloneBefore(i={}){let a=this.clone(i);return this.parent.insertBefore(this,a),a}cloneAfter(i={}){let a=this.clone(i);return this.parent.insertAfter(this,a),a}replaceWith(...i){if(this.parent){let a=this,u=!1;for(let p of i)p===this?u=!0:u?(this.parent.insertAfter(a,p),a=p):this.parent.insertBefore(a,p);u||this.remove()}return this}next(){if(!this.parent)return;let i=this.parent.index(this);return this.parent.nodes[i+1]}prev(){if(!this.parent)return;let i=this.parent.index(this);return this.parent.nodes[i-1]}before(i){return this.parent.insertBefore(this,i),this}after(i){return this.parent.insertAfter(this,i),this}root(){let i=this;for(;i.parent&&i.parent.type!=="document";)i=i.parent;return i}raw(i,a){return new P5t().raw(this,i,a)}cleanRaws(i){delete this.raws.before,delete this.raws.after,i||delete this.raws.between}toJSON(i,a){let u={},p=a==null;a=a||new Map;let y=0;for(let T in this){if(!Object.prototype.hasOwnProperty.call(this,T)||T==="parent"||T==="proxyCache")continue;let P=this[T];if(Array.isArray(P))u[T]=P.map(I=>typeof I=="object"&&I.toJSON?I.toJSON(null,a):I);else if(typeof P=="object"&&P.toJSON)u[T]=P.toJSON(null,a);else if(T==="source"){let I=a.get(P.input);I==null&&(I=y,a.set(P.input,y),y++),u[T]={inputId:I,start:P.start,end:P.end}}else u[T]=P}return p&&(u.inputs=[...a.keys()].map(T=>T.toJSON())),u}positionInside(i){let a=this.toString(),u=this.source.start.column,p=this.source.start.line;for(let y=0;y<i;y++)a[y]===`
`?(u=1,p+=1):u+=1;return{line:p,column:u}}positionBy(i){let a=this.source.start;if(i.index)a=this.positionInside(i.index);else if(i.word){let u=this.toString().indexOf(i.word);u!==-1&&(a=this.positionInside(u))}return a}rangeBy(i){let a={line:this.source.start.line,column:this.source.start.column},u=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:a.line,column:a.column+1};if(i.word){let p=this.toString().indexOf(i.word);p!==-1&&(a=this.positionInside(p),u=this.positionInside(p+i.word.length))}else i.start?a={line:i.start.line,column:i.start.column}:i.index&&(a=this.positionInside(i.index)),i.end?u={line:i.end.line,column:i.end.column}:i.endIndex?u=this.positionInside(i.endIndex):i.index&&(u=this.positionInside(i.index+1));return(u.line<a.line||u.line===a.line&&u.column<=a.column)&&(u={line:a.line,column:a.column+1}),{start:a,end:u}}getProxyProcessor(){return{set(i,a,u){return i[a]===u||(i[a]=u,(a==="prop"||a==="value"||a==="name"||a==="params"||a==="important"||a==="text")&&i.markDirty()),!0},get(i,a){return a==="proxyOf"?i:a==="root"?()=>i.root().toProxy():i[a]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(i){if(i.postcssNode=this,i.stack&&this.source&&/\n\s{4}at /.test(i.stack)){let a=this.source;i.stack=i.stack.replace(/\n\s{4}at /,`$&${a.input.from}:${a.start.line}:${a.start.column}$&`)}return i}markDirty(){if(this[EG]){this[EG]=!1;let i=this;for(;i=i.parent;)i[EG]=!1}}get proxyOf(){return this}};var YQ=dge;dge.default=dge;let N5t=YQ,mge=class extends N5t{constructor(i){i&&typeof i.value<"u"&&typeof i.value!="string"&&(i={...i,value:String(i.value)}),super(i),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};var ZQ=mge;mge.default=mge;var qqe=NR(BIt);let I5t="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",O5t=(o,i=21)=>(a=i)=>{let u="",p=a;for(;p--;)u+=o[Math.random()*o.length|0];return u},L5t=(o=21)=>{let i="",a=o;for(;a--;)i+=I5t[Math.random()*64|0];return i};var M5t={nanoid:L5t,customAlphabet:O5t};let{SourceMapConsumer:uJe,SourceMapGenerator:fJe}=xI,{existsSync:F5t,readFileSync:R5t}=G7t,{dirname:she,join:B5t}=V0e;function j5t(o){return ns?ns.from(o,"base64").toString():window.atob(o)}let hge=class{constructor(i,a){if(a.map===!1)return;this.loadAnnotation(i),this.inline=this.startWith(this.annotation,"data:");let u=a.map?a.map.prev:void 0,p=this.loadMap(a.from,u);!this.mapFile&&a.from&&(this.mapFile=a.from),this.mapFile&&(this.root=she(this.mapFile)),p&&(this.text=p)}consumer(){return this.consumerCache||(this.consumerCache=new uJe(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(i,a){return i?i.substr(0,a.length)===a:!1}getAnnotationURL(i){return i.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(i){let a=i.match(/\/\*\s*# sourceMappingURL=/gm);if(!a)return;let u=i.lastIndexOf(a.pop()),p=i.indexOf("*/",u);u>-1&&p>-1&&(this.annotation=this.getAnnotationURL(i.substring(u,p)))}decodeInline(i){let a=/^data:application\/json;charset=utf-?8;base64,/,u=/^data:application\/json;base64,/,p=/^data:application\/json;charset=utf-?8,/,y=/^data:application\/json,/;if(p.test(i)||y.test(i))return decodeURIComponent(i.substr(RegExp.lastMatch.length));if(a.test(i)||u.test(i))return j5t(i.substr(RegExp.lastMatch.length));let T=i.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+T)}loadFile(i){if(this.root=she(i),F5t(i))return this.mapFile=i,R5t(i,"utf-8").toString().trim()}loadMap(i,a){if(a===!1)return!1;if(a){if(typeof a=="string")return a;if(typeof a=="function"){let u=a(i);if(u){let p=this.loadFile(u);if(!p)throw new Error("Unable to load previous source map: "+u.toString());return p}}else{if(a instanceof uJe)return fJe.fromSourceMap(a).toString();if(a instanceof fJe)return a.toString();if(this.isMap(a))return JSON.stringify(a);throw new Error("Unsupported previous source map format: "+a.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let u=this.annotation;return i&&(u=B5t(she(i),u)),this.loadFile(u)}}}isMap(i){return typeof i!="object"?!1:typeof i.mappings=="string"||typeof i._mappings=="string"||Array.isArray(i.sections)}};var Wqe=hge;hge.default=hge;let{SourceMapConsumer:J5t,SourceMapGenerator:U5t}=xI,{fileURLToPath:_Je,pathToFileURL:AG}=qqe,{resolve:gge,isAbsolute:yge}=V0e,{nanoid:z5t}=M5t,ahe=zqe,pJe=W0e,V5t=Wqe,ohe=Symbol("fromOffsetCache"),$5t=Boolean(J5t&&U5t),dJe=Boolean(gge&&yge),NX=class{constructor(i,a={}){if(i===null||typeof i>"u"||typeof i=="object"&&!i.toString)throw new Error(`PostCSS received ${i} instead of CSS string`);if(this.css=i.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,a.from&&(!dJe||/^\w+:\/\//.test(a.from)||yge(a.from)?this.file=a.from:this.file=gge(a.from)),dJe&&$5t){let u=new V5t(this.css,a);if(u.text){this.map=u;let p=u.consumer().file;!this.file&&p&&(this.file=this.mapResolve(p))}}this.file||(this.id="<input css "+z5t(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(i){let a,u;if(this[ohe])u=this[ohe];else{let y=this.css.split(`
`);u=new Array(y.length);let T=0;for(let P=0,I=y.length;P<I;P++)u[P]=T,T+=y[P].length+1;this[ohe]=u}a=u[u.length-1];let p=0;if(i>=a)p=u.length-1;else{let y=u.length-2,T;for(;p<y;)if(T=p+(y-p>>1),i<u[T])y=T-1;else if(i>=u[T+1])p=T+1;else{p=T;break}}return{line:p+1,col:i-u[p]+1}}error(i,a,u,p={}){let y,T,P;if(a&&typeof a=="object"){let B=a,z=u;if(typeof B.offset=="number"){let H=this.fromOffset(B.offset);a=H.line,u=H.col}else a=B.line,u=B.column;if(typeof z.offset=="number"){let H=this.fromOffset(z.offset);T=H.line,P=H.col}else T=z.line,P=z.column}else if(!u){let B=this.fromOffset(a);a=B.line,u=B.col}let I=this.origin(a,u,T,P);return I?y=new pJe(i,I.endLine===void 0?I.line:{line:I.line,column:I.column},I.endLine===void 0?I.column:{line:I.endLine,column:I.endColumn},I.source,I.file,p.plugin):y=new pJe(i,T===void 0?a:{line:a,column:u},T===void 0?u:{line:T,column:P},this.css,this.file,p.plugin),y.input={line:a,column:u,endLine:T,endColumn:P,source:this.css},this.file&&(AG&&(y.input.url=AG(this.file).toString()),y.input.file=this.file),y}origin(i,a,u,p){if(!this.map)return!1;let y=this.map.consumer(),T=y.originalPositionFor({line:i,column:a});if(!T.source)return!1;let P;typeof u=="number"&&(P=y.originalPositionFor({line:u,column:p}));let I;yge(T.source)?I=AG(T.source):I=new URL(T.source,this.map.consumer().sourceRoot||AG(this.map.mapFile));let B={url:I.toString(),line:T.line,column:T.column,endLine:P&&P.line,endColumn:P&&P.column};if(I.protocol==="file:")if(_Je)B.file=_Je(I);else throw new Error("file: protocol is not available in this PostCSS build");let z=y.sourceContentFor(T.source);return z&&(B.source=z),B}mapResolve(i){return/^\w+:\/\//.test(i)?i:gge(this.map.consumer().sourceRoot||this.map.root||".",i)}get from(){return this.file||this.id}toJSON(){let i={};for(let a of["hasBOM","css","file","id"])this[a]!=null&&(i[a]=this[a]);return this.map&&(i.map={...this.map},i.map.consumerCache&&(i.map.consumerCache=void 0)),i}};var KQ=NX;NX.default=NX;ahe&&ahe.registerInput&&ahe.registerInput(NX);let{SourceMapConsumer:Hqe,SourceMapGenerator:qG}=xI,{dirname:WG,resolve:Gqe,relative:Xqe,sep:Qqe}=V0e,{pathToFileURL:mJe}=qqe,q5t=KQ,W5t=Boolean(Hqe&&qG),H5t=Boolean(WG&&Gqe&&Xqe&&Qqe),G5t=class{constructor(i,a,u,p){this.stringify=i,this.mapOpts=u.map||{},this.root=a,this.opts=u,this.css=p,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(i=>{if(i.source&&i.source.input.map){let a=i.source.input.map;this.previousMaps.includes(a)||this.previousMaps.push(a)}});else{let i=new q5t(this.css,this.opts);i.map&&this.previousMaps.push(i.map)}return this.previousMaps}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let i=this.mapOpts.annotation;return typeof i<"u"&&i!==!0?!1:this.previous().length?this.previous().some(a=>a.inline):!0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(i=>i.withContent()):!0}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let i;for(let a=this.root.nodes.length-1;a>=0;a--)i=this.root.nodes[a],i.type==="comment"&&i.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(a)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let i={};if(this.root)this.root.walk(a=>{if(a.source){let u=a.source.input.from;if(u&&!i[u]){i[u]=!0;let p=this.usesFileUrls?this.toFileUrl(u):this.toUrl(this.path(u));this.map.setSourceContent(p,a.source.input.css)}}});else if(this.css){let a=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(a,this.css)}}applyPrevMaps(){for(let i of this.previous()){let a=this.toUrl(this.path(i.file)),u=i.root||WG(i.file),p;this.mapOpts.sourcesContent===!1?(p=new Hqe(i.text),p.sourcesContent&&(p.sourcesContent=p.sourcesContent.map(()=>null))):p=i.consumer(),this.map.applySourceMap(p,a,this.toUrl(this.path(u)))}}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(i=>i.annotation):!0}toBase64(i){return ns?ns.from(i).toString("base64"):window.btoa(unescape(encodeURIComponent(i)))}addAnnotation(){let i;this.isInline()?i="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?i=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?i=this.mapOpts.annotation(this.opts.to,this.root):i=this.outputFile()+".map";let a=`
`;this.css.includes(`\r
`)&&(a=`\r
`),this.css+=a+"/*# sourceMappingURL="+i+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let i=this.previous()[0].consumer();i.file=this.outputFile(),this.map=qG.fromSourceMap(i)}else this.map=new qG({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>",generated:{line:1,column:0},original:{line:1,column:0}});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(i){if(i.indexOf("<")===0||/^\w+:\/\//.test(i)||this.mapOpts.absolute)return i;let a=this.opts.to?WG(this.opts.to):".";return typeof this.mapOpts.annotation=="string"&&(a=WG(Gqe(a,this.mapOpts.annotation))),i=Xqe(a,i),i}toUrl(i){return Qqe==="\\"&&(i=i.replace(/\\/g,"/")),encodeURI(i).replace(/[#?]/g,encodeURIComponent)}toFileUrl(i){if(mJe)return mJe(i).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}sourcePath(i){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(i.source.input.from):this.toUrl(this.path(i.source.input.from))}generateString(){this.css="",this.map=new qG({file:this.outputFile()});let i=1,a=1,u="<no source>",p={source:"",generated:{line:0,column:0},original:{line:0,column:0}},y,T;this.stringify(this.root,(P,I,B)=>{if(this.css+=P,I&&B!=="end"&&(p.generated.line=i,p.generated.column=a-1,I.source&&I.source.start?(p.source=this.sourcePath(I),p.original.line=I.source.start.line,p.original.column=I.source.start.column-1,this.map.addMapping(p)):(p.source=u,p.original.line=1,p.original.column=0,this.map.addMapping(p))),y=P.match(/\n/g),y?(i+=y.length,T=P.lastIndexOf(`
`),a=P.length-T):a+=P.length,I&&B!=="start"){let z=I.parent||{raws:{}};(!(I.type==="decl"||I.type==="atrule"&&!I.nodes)||I!==z.last||z.raws.semicolon)&&(I.source&&I.source.end?(p.source=this.sourcePath(I),p.original.line=I.source.end.line,p.original.column=I.source.end.column-1,p.generated.line=i,p.generated.column=a-2,this.map.addMapping(p)):(p.source=u,p.original.line=1,p.original.column=0,p.generated.line=i,p.generated.column=a-1,this.map.addMapping(p)))}})}generate(){if(this.clearAnnotation(),H5t&&W5t&&this.isMap())return this.generateMap();{let i="";return this.stringify(this.root,a=>{i+=a}),[i]}}};var Yqe=G5t;let X5t=YQ,vge=class extends X5t{constructor(i){super(i),this.type="comment"}};var eY=vge;vge.default=vge;let{isClean:Zqe,my:Kqe}=RR,eWe=ZQ,tWe=eY,Q5t=YQ,rWe,H0e,G0e,nWe;function iWe(o){return o.map(i=>(i.nodes&&(i.nodes=iWe(i.nodes)),delete i.source,i))}function sWe(o){if(o[Zqe]=!1,o.proxyOf.nodes)for(let i of o.proxyOf.nodes)sWe(i)}let uC=class aWe extends Q5t{push(i){return i.parent=this,this.proxyOf.nodes.push(i),this}each(i){if(!this.proxyOf.nodes)return;let a=this.getIterator(),u,p;for(;this.indexes[a]<this.proxyOf.nodes.length&&(u=this.indexes[a],p=i(this.proxyOf.nodes[u],u),p!==!1);)this.indexes[a]+=1;return delete this.indexes[a],p}walk(i){return this.each((a,u)=>{let p;try{p=i(a,u)}catch(y){throw a.addToError(y)}return p!==!1&&a.walk&&(p=a.walk(i)),p})}walkDecls(i,a){return a?i instanceof RegExp?this.walk((u,p)=>{if(u.type==="decl"&&i.test(u.prop))return a(u,p)}):this.walk((u,p)=>{if(u.type==="decl"&&u.prop===i)return a(u,p)}):(a=i,this.walk((u,p)=>{if(u.type==="decl")return a(u,p)}))}walkRules(i,a){return a?i instanceof RegExp?this.walk((u,p)=>{if(u.type==="rule"&&i.test(u.selector))return a(u,p)}):this.walk((u,p)=>{if(u.type==="rule"&&u.selector===i)return a(u,p)}):(a=i,this.walk((u,p)=>{if(u.type==="rule")return a(u,p)}))}walkAtRules(i,a){return a?i instanceof RegExp?this.walk((u,p)=>{if(u.type==="atrule"&&i.test(u.name))return a(u,p)}):this.walk((u,p)=>{if(u.type==="atrule"&&u.name===i)return a(u,p)}):(a=i,this.walk((u,p)=>{if(u.type==="atrule")return a(u,p)}))}walkComments(i){return this.walk((a,u)=>{if(a.type==="comment")return i(a,u)})}append(...i){for(let a of i){let u=this.normalize(a,this.last);for(let p of u)this.proxyOf.nodes.push(p)}return this.markDirty(),this}prepend(...i){i=i.reverse();for(let a of i){let u=this.normalize(a,this.first,"prepend").reverse();for(let p of u)this.proxyOf.nodes.unshift(p);for(let p in this.indexes)this.indexes[p]=this.indexes[p]+u.length}return this.markDirty(),this}cleanRaws(i){if(super.cleanRaws(i),this.nodes)for(let a of this.nodes)a.cleanRaws(i)}insertBefore(i,a){let u=this.index(i),p=u===0?"prepend":!1,y=this.normalize(a,this.proxyOf.nodes[u],p).reverse();u=this.index(i);for(let P of y)this.proxyOf.nodes.splice(u,0,P);let T;for(let P in this.indexes)T=this.indexes[P],u<=T&&(this.indexes[P]=T+y.length);return this.markDirty(),this}insertAfter(i,a){let u=this.index(i),p=this.normalize(a,this.proxyOf.nodes[u]).reverse();u=this.index(i);for(let T of p)this.proxyOf.nodes.splice(u+1,0,T);let y;for(let T in this.indexes)y=this.indexes[T],u<y&&(this.indexes[T]=y+p.length);return this.markDirty(),this}removeChild(i){i=this.index(i),this.proxyOf.nodes[i].parent=void 0,this.proxyOf.nodes.splice(i,1);let a;for(let u in this.indexes)a=this.indexes[u],a>=i&&(this.indexes[u]=a-1);return this.markDirty(),this}removeAll(){for(let i of this.proxyOf.nodes)i.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(i,a,u){return u||(u=a,a={}),this.walkDecls(p=>{a.props&&!a.props.includes(p.prop)||a.fast&&!p.value.includes(a.fast)||(p.value=p.value.replace(i,u))}),this.markDirty(),this}every(i){return this.nodes.every(i)}some(i){return this.nodes.some(i)}index(i){return typeof i=="number"?i:(i.proxyOf&&(i=i.proxyOf),this.proxyOf.nodes.indexOf(i))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(i,a){if(typeof i=="string")i=iWe(rWe(i).nodes);else if(Array.isArray(i)){i=i.slice(0);for(let p of i)p.parent&&p.parent.removeChild(p,"ignore")}else if(i.type==="root"&&this.type!=="document"){i=i.nodes.slice(0);for(let p of i)p.parent&&p.parent.removeChild(p,"ignore")}else if(i.type)i=[i];else if(i.prop){if(typeof i.value>"u")throw new Error("Value field is missed in node creation");typeof i.value!="string"&&(i.value=String(i.value)),i=[new eWe(i)]}else if(i.selector)i=[new H0e(i)];else if(i.name)i=[new G0e(i)];else if(i.text)i=[new tWe(i)];else throw new Error("Unknown node type in node creation");return i.map(p=>(p[Kqe]||aWe.rebuild(p),p=p.proxyOf,p.parent&&p.parent.removeChild(p),p[Zqe]&&sWe(p),typeof p.raws.before>"u"&&a&&typeof a.raws.before<"u"&&(p.raws.before=a.raws.before.replace(/\S/g,"")),p.parent=this.proxyOf,p))}getProxyProcessor(){return{set(i,a,u){return i[a]===u||(i[a]=u,(a==="name"||a==="params"||a==="selector")&&i.markDirty()),!0},get(i,a){return a==="proxyOf"?i:i[a]?a==="each"||typeof a=="string"&&a.startsWith("walk")?(...u)=>i[a](...u.map(p=>typeof p=="function"?(y,T)=>p(y.toProxy(),T):p)):a==="every"||a==="some"?u=>i[a]((p,...y)=>u(p.toProxy(),...y)):a==="root"?()=>i.root().toProxy():a==="nodes"?i.nodes.map(u=>u.toProxy()):a==="first"||a==="last"?i[a].toProxy():i[a]:i[a]}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let i=this.lastEach;return this.indexes[i]=0,i}};uC.registerParse=o=>{rWe=o};uC.registerRule=o=>{H0e=o};uC.registerAtRule=o=>{G0e=o};uC.registerRoot=o=>{nWe=o};var DA=uC;uC.default=uC;uC.rebuild=o=>{o.type==="atrule"?Object.setPrototypeOf(o,G0e.prototype):o.type==="rule"?Object.setPrototypeOf(o,H0e.prototype):o.type==="decl"?Object.setPrototypeOf(o,eWe.prototype):o.type==="comment"?Object.setPrototypeOf(o,tWe.prototype):o.type==="root"&&Object.setPrototypeOf(o,nWe.prototype),o[Kqe]=!0,o.nodes&&o.nodes.forEach(i=>{uC.rebuild(i)})};let Y5t=DA,oWe,cWe,sR=class extends Y5t{constructor(i){super({type:"document",...i}),this.nodes||(this.nodes=[])}toResult(i={}){return new oWe(new cWe,this,i).stringify()}};sR.registerLazyResult=o=>{oWe=o};sR.registerProcessor=o=>{cWe=o};var X0e=sR;sR.default=sR;let hJe={};var lWe=function(i){hJe[i]||(hJe[i]=!0,typeof console<"u"&&console.warn&&console.warn(i))};let bge=class{constructor(i,a={}){if(this.type="warning",this.text=i,a.node&&a.node.source){let u=a.node.rangeBy(a);this.line=u.start.line,this.column=u.start.column,this.endLine=u.end.line,this.endColumn=u.end.column}for(let u in a)this[u]=a[u]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};var uWe=bge;bge.default=bge;let Z5t=uWe,Tge=class{constructor(i,a,u){this.processor=i,this.messages=[],this.root=a,this.opts=u,this.css=void 0,this.map=void 0}toString(){return this.css}warn(i,a={}){a.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(a.plugin=this.lastPlugin.postcssPlugin);let u=new Z5t(i,a);return this.messages.push(u),u}warnings(){return this.messages.filter(i=>i.type==="warning")}get content(){return this.css}};var Q0e=Tge;Tge.default=Tge;let fWe=DA,IX=class extends fWe{constructor(i){super(i),this.type="atrule"}append(...i){return this.proxyOf.nodes||(this.nodes=[]),super.append(...i)}prepend(...i){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...i)}};var Y0e=IX;IX.default=IX;fWe.registerAtRule(IX);let _We=DA,pWe,dWe,oI=class extends _We{constructor(i){super(i),this.type="root",this.nodes||(this.nodes=[])}removeChild(i,a){let u=this.index(i);return!a&&u===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[u].raws.before),super.removeChild(i)}normalize(i,a,u){let p=super.normalize(i);if(a){if(u==="prepend")this.nodes.length>1?a.raws.before=this.nodes[1].raws.before:delete a.raws.before;else if(this.first!==a)for(let y of p)y.raws.before=a.raws.before}return p}toResult(i={}){return new pWe(new dWe,this,i).stringify()}};oI.registerLazyResult=o=>{pWe=o};oI.registerProcessor=o=>{dWe=o};var BR=oI;oI.default=oI;_We.registerRoot(oI);let aR={split(o,i,a){let u=[],p="",y=!1,T=0,P=!1,I="",B=!1;for(let z of o)B?B=!1:z==="\\"?B=!0:P?z===I&&(P=!1):z==='"'||z==="'"?(P=!0,I=z):z==="("?T+=1:z===")"?T>0&&(T-=1):T===0&&i.includes(z)&&(y=!0),y?(p!==""&&u.push(p.trim()),p="",y=!1):p+=z;return(a||p!=="")&&u.push(p.trim()),u},space(o){let i=[" ",`
`," "];return aR.split(o,i)},comma(o){return aR.split(o,[","],!0)}};var mWe=aR;aR.default=aR;let hWe=DA,K5t=mWe,OX=class extends hWe{constructor(i){super(i),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return K5t.comma(this.selector)}set selectors(i){let a=this.selector?this.selector.match(/,\s*/):null,u=a?a[0]:","+this.raw("between","beforeOpen");this.selector=i.join(u)}};var Z0e=OX;OX.default=OX;hWe.registerRule(OX);let eOt=ZQ,tOt=jqe,rOt=eY,nOt=Y0e,iOt=BR,gJe=Z0e;const yJe={empty:!0,space:!0};function sOt(o){for(let i=o.length-1;i>=0;i--){let a=o[i],u=a[3]||a[2];if(u)return u}}let aOt=class{constructor(i){this.input=i,this.root=new iOt,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:i,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=tOt(this.input)}parse(){let i;for(;!this.tokenizer.endOfFile();)switch(i=this.tokenizer.nextToken(),i[0]){case"space":this.spaces+=i[1];break;case";":this.freeSemicolon(i);break;case"}":this.end(i);break;case"comment":this.comment(i);break;case"at-word":this.atrule(i);break;case"{":this.emptyRule(i);break;default:this.other(i);break}this.endFile()}comment(i){let a=new rOt;this.init(a,i[2]),a.source.end=this.getPosition(i[3]||i[2]);let u=i[1].slice(2,-2);if(/^\s*$/.test(u))a.text="",a.raws.left=u,a.raws.right="";else{let p=u.match(/^(\s*)([^]*\S)(\s*)$/);a.text=p[2],a.raws.left=p[1],a.raws.right=p[3]}}emptyRule(i){let a=new gJe;this.init(a,i[2]),a.selector="",a.raws.between="",this.current=a}other(i){let a=!1,u=null,p=!1,y=null,T=[],P=i[1].startsWith("--"),I=[],B=i;for(;B;){if(u=B[0],I.push(B),u==="("||u==="[")y||(y=B),T.push(u==="("?")":"]");else if(P&&p&&u==="{")y||(y=B),T.push("}");else if(T.length===0)if(u===";")if(p){this.decl(I,P);return}else break;else if(u==="{"){this.rule(I);return}else if(u==="}"){this.tokenizer.back(I.pop()),a=!0;break}else u===":"&&(p=!0);else u===T[T.length-1]&&(T.pop(),T.length===0&&(y=null));B=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(a=!0),T.length>0&&this.unclosedBracket(y),a&&p){if(!P)for(;I.length&&(B=I[I.length-1][0],!(B!=="space"&&B!=="comment"));)this.tokenizer.back(I.pop());this.decl(I,P)}else this.unknownWord(I)}rule(i){i.pop();let a=new gJe;this.init(a,i[0][2]),a.raws.between=this.spacesAndCommentsFromEnd(i),this.raw(a,"selector",i),this.current=a}decl(i,a){let u=new eOt;this.init(u,i[0][2]);let p=i[i.length-1];for(p[0]===";"&&(this.semicolon=!0,i.pop()),u.source.end=this.getPosition(p[3]||p[2]||sOt(i));i[0][0]!=="word";)i.length===1&&this.unknownWord(i),u.raws.before+=i.shift()[1];for(u.source.start=this.getPosition(i[0][2]),u.prop="";i.length;){let B=i[0][0];if(B===":"||B==="space"||B==="comment")break;u.prop+=i.shift()[1]}u.raws.between="";let y;for(;i.length;)if(y=i.shift(),y[0]===":"){u.raws.between+=y[1];break}else y[0]==="word"&&/\w/.test(y[1])&&this.unknownWord([y]),u.raws.between+=y[1];(u.prop[0]==="_"||u.prop[0]==="*")&&(u.raws.before+=u.prop[0],u.prop=u.prop.slice(1));let T=[],P;for(;i.length&&(P=i[0][0],!(P!=="space"&&P!=="comment"));)T.push(i.shift());this.precheckMissedSemicolon(i);for(let B=i.length-1;B>=0;B--){if(y=i[B],y[1].toLowerCase()==="!important"){u.important=!0;let z=this.stringFrom(i,B);z=this.spacesFromEnd(i)+z,z!==" !important"&&(u.raws.important=z);break}else if(y[1].toLowerCase()==="important"){let z=i.slice(0),H="";for(let Q=B;Q>0;Q--){let Ie=z[Q][0];if(H.trim().indexOf("!")===0&&Ie!=="space")break;H=z.pop()[1]+H}H.trim().indexOf("!")===0&&(u.important=!0,u.raws.important=H,i=z)}if(y[0]!=="space"&&y[0]!=="comment")break}i.some(B=>B[0]!=="space"&&B[0]!=="comment")&&(u.raws.between+=T.map(B=>B[1]).join(""),T=[]),this.raw(u,"value",T.concat(i),a),u.value.includes(":")&&!a&&this.checkMissedSemicolon(i)}atrule(i){let a=new nOt;a.name=i[1].slice(1),a.name===""&&this.unnamedAtrule(a,i),this.init(a,i[2]);let u,p,y,T=!1,P=!1,I=[],B=[];for(;!this.tokenizer.endOfFile();){if(i=this.tokenizer.nextToken(),u=i[0],u==="("||u==="["?B.push(u==="("?")":"]"):u==="{"&&B.length>0?B.push("}"):u===B[B.length-1]&&B.pop(),B.length===0)if(u===";"){a.source.end=this.getPosition(i[2]),this.semicolon=!0;break}else if(u==="{"){P=!0;break}else if(u==="}"){if(I.length>0){for(y=I.length-1,p=I[y];p&&p[0]==="space";)p=I[--y];p&&(a.source.end=this.getPosition(p[3]||p[2]))}this.end(i);break}else I.push(i);else I.push(i);if(this.tokenizer.endOfFile()){T=!0;break}}a.raws.between=this.spacesAndCommentsFromEnd(I),I.length?(a.raws.afterName=this.spacesAndCommentsFromStart(I),this.raw(a,"params",I),T&&(i=I[I.length-1],a.source.end=this.getPosition(i[3]||i[2]),this.spaces=a.raws.between,a.raws.between="")):(a.raws.afterName="",a.params=""),P&&(a.nodes=[],this.current=a)}end(i){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(i[2]),this.current=this.current.parent):this.unexpectedClose(i)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(i){if(this.spaces+=i[1],this.current.nodes){let a=this.current.nodes[this.current.nodes.length-1];a&&a.type==="rule"&&!a.raws.ownSemicolon&&(a.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(i){let a=this.input.fromOffset(i);return{offset:i,line:a.line,column:a.col}}init(i,a){this.current.push(i),i.source={start:this.getPosition(a),input:this.input},i.raws.before=this.spaces,this.spaces="",i.type!=="comment"&&(this.semicolon=!1)}raw(i,a,u,p){let y,T,P=u.length,I="",B=!0,z,H;for(let Q=0;Q<P;Q+=1)y=u[Q],T=y[0],T==="space"&&Q===P-1&&!p?B=!1:T==="comment"?(H=u[Q-1]?u[Q-1][0]:"empty",z=u[Q+1]?u[Q+1][0]:"empty",!yJe[H]&&!yJe[z]?I.slice(-1)===","?B=!1:I+=y[1]:B=!1):I+=y[1];if(!B){let Q=u.reduce((Ie,ze)=>Ie+ze[1],"");i.raws[a]={value:I,raw:Q}}i[a]=I}spacesAndCommentsFromEnd(i){let a,u="";for(;i.length&&(a=i[i.length-1][0],!(a!=="space"&&a!=="comment"));)u=i.pop()[1]+u;return u}spacesAndCommentsFromStart(i){let a,u="";for(;i.length&&(a=i[0][0],!(a!=="space"&&a!=="comment"));)u+=i.shift()[1];return u}spacesFromEnd(i){let a,u="";for(;i.length&&(a=i[i.length-1][0],a==="space");)u=i.pop()[1]+u;return u}stringFrom(i,a){let u="";for(let p=a;p<i.length;p++)u+=i[p][1];return i.splice(a,i.length-a),u}colon(i){let a=0,u,p,y;for(let[T,P]of i.entries()){if(u=P,p=u[0],p==="("&&(a+=1),p===")"&&(a-=1),a===0&&p===":")if(!y)this.doubleColon(u);else{if(y[0]==="word"&&y[1]==="progid")continue;return T}y=u}return!1}unclosedBracket(i){throw this.input.error("Unclosed bracket",{offset:i[2]},{offset:i[2]+1})}unknownWord(i){throw this.input.error("Unknown word",{offset:i[0][2]},{offset:i[0][2]+i[0][1].length})}unexpectedClose(i){throw this.input.error("Unexpected }",{offset:i[2]},{offset:i[2]+1})}unclosedBlock(){let i=this.current.source.start;throw this.input.error("Unclosed block",i.line,i.column)}doubleColon(i){throw this.input.error("Double colon",{offset:i[2]},{offset:i[2]+i[1].length})}unnamedAtrule(i,a){throw this.input.error("At-rule without name",{offset:a[2]},{offset:a[2]+a[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(i){let a=this.colon(i);if(a===!1)return;let u=0,p;for(let y=a-1;y>=0&&(p=i[y],!(p[0]!=="space"&&(u+=1,u===2)));y--);throw this.input.error("Missed semicolon",p[0]==="word"?p[3]+1:p[2])}};var oOt=aOt;let cOt=DA,lOt=oOt,uOt=KQ;function LX(o,i){let a=new uOt(o,i),u=new lOt(a);try{u.parse()}catch(p){throw Dg.env.NODE_ENV!=="production"&&p.name==="CssSyntaxError"&&i&&i.from&&(/\.scss$/i.test(i.from)?p.message+=`
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(i.from)?p.message+=`
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(i.from)&&(p.message+=`
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),p}return u.root}var K0e=LX;LX.default=LX;cOt.registerParse(LX);let{isClean:qS,my:fOt}=RR,_Ot=Yqe,pOt=QQ,dOt=DA,mOt=X0e,hOt=lWe,vJe=Q0e,gOt=K0e,yOt=BR;const vOt={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},bOt={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},TOt={postcssPlugin:!0,prepare:!0,Once:!0},cI=0;function oF(o){return typeof o=="object"&&typeof o.then=="function"}function gWe(o){let i=!1,a=vOt[o.type];return o.type==="decl"?i=o.prop.toLowerCase():o.type==="atrule"&&(i=o.name.toLowerCase()),i&&o.append?[a,a+"-"+i,cI,a+"Exit",a+"Exit-"+i]:i?[a,a+"-"+i,a+"Exit",a+"Exit-"+i]:o.append?[a,cI,a+"Exit"]:[a,a+"Exit"]}function bJe(o){let i;return o.type==="document"?i=["Document",cI,"DocumentExit"]:o.type==="root"?i=["Root",cI,"RootExit"]:i=gWe(o),{node:o,events:i,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function Sge(o){return o[qS]=!1,o.nodes&&o.nodes.forEach(i=>Sge(i)),o}let xge={},lI=class yWe{constructor(i,a,u){this.stringified=!1,this.processed=!1;let p;if(typeof a=="object"&&a!==null&&(a.type==="root"||a.type==="document"))p=Sge(a);else if(a instanceof yWe||a instanceof vJe)p=Sge(a.root),a.map&&(typeof u.map>"u"&&(u.map={}),u.map.inline||(u.map.inline=!1),u.map.prev=a.map);else{let y=gOt;u.syntax&&(y=u.syntax.parse),u.parser&&(y=u.parser),y.parse&&(y=y.parse);try{p=y(a,u)}catch(T){this.processed=!0,this.error=T}p&&!p[fOt]&&dOt.rebuild(p)}this.result=new vJe(i,p,u),this.helpers={...xge,result:this.result,postcss:xge},this.plugins=this.processor.plugins.map(y=>typeof y=="object"&&y.prepare?{...y,...y.prepare(this.result)}:y)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(i,a){return Dg.env.NODE_ENV!=="production"&&("from"in this.opts||hOt("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(i,a)}catch(i){return this.async().catch(i)}finally(i){return this.async().then(i,i)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let i of this.plugins){let a=this.runOnRoot(i);if(oF(a))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let i=this.result.root;for(;!i[qS];)i[qS]=!0,this.walkSync(i);if(this.listeners.OnceExit)if(i.type==="document")for(let a of i.nodes)this.visitSync(this.listeners.OnceExit,a);else this.visitSync(this.listeners.OnceExit,i)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let i=this.result.opts,a=pOt;i.syntax&&(a=i.syntax.stringify),i.stringifier&&(a=i.stringifier),a.stringify&&(a=a.stringify);let p=new _Ot(a,this.result.root,this.result.opts).generate();return this.result.css=p[0],this.result.map=p[1],this.result}walkSync(i){i[qS]=!0;let a=gWe(i);for(let u of a)if(u===cI)i.nodes&&i.each(p=>{p[qS]||this.walkSync(p)});else{let p=this.listeners[u];if(p&&this.visitSync(p,i.toProxy()))return}}visitSync(i,a){for(let[u,p]of i){this.result.lastPlugin=u;let y;try{y=p(a,this.helpers)}catch(T){throw this.handleError(T,a.proxyOf)}if(a.type!=="root"&&a.type!=="document"&&!a.parent)return!0;if(oF(y))throw this.getAsyncError()}}runOnRoot(i){this.result.lastPlugin=i;try{if(typeof i=="object"&&i.Once){if(this.result.root.type==="document"){let a=this.result.root.nodes.map(u=>i.Once(u,this.helpers));return oF(a[0])?Promise.all(a):a}return i.Once(this.result.root,this.helpers)}else if(typeof i=="function")return i(this.result.root,this.result)}catch(a){throw this.handleError(a)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(i,a){let u=this.result.lastPlugin;try{if(a&&a.addToError(i),this.error=i,i.name==="CssSyntaxError"&&!i.plugin)i.plugin=u.postcssPlugin,i.setMessage();else if(u.postcssVersion&&Dg.env.NODE_ENV!=="production"){let p=u.postcssPlugin,y=u.postcssVersion,T=this.result.processor.version,P=y.split("."),I=T.split(".");(P[0]!==I[0]||parseInt(P[1])>parseInt(I[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+T+", but "+p+" uses "+y+". Perhaps this is the source of the error below.")}}catch(p){console&&console.error&&console.error(p)}return i}async runAsync(){this.plugin=0;for(let i=0;i<this.plugins.length;i++){let a=this.plugins[i],u=this.runOnRoot(a);if(oF(u))try{await u}catch(p){throw this.handleError(p)}}if(this.prepareVisitors(),this.hasListener){let i=this.result.root;for(;!i[qS];){i[qS]=!0;let a=[bJe(i)];for(;a.length>0;){let u=this.visitTick(a);if(oF(u))try{await u}catch(p){let y=a[a.length-1].node;throw this.handleError(p,y)}}}if(this.listeners.OnceExit)for(let[a,u]of this.listeners.OnceExit){this.result.lastPlugin=a;try{if(i.type==="document"){let p=i.nodes.map(y=>u(y,this.helpers));await Promise.all(p)}else await u(i,this.helpers)}catch(p){throw this.handleError(p)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let i=(a,u,p)=>{this.listeners[u]||(this.listeners[u]=[]),this.listeners[u].push([a,p])};for(let a of this.plugins)if(typeof a=="object")for(let u in a){if(!bOt[u]&&/^[A-Z]/.test(u))throw new Error(`Unknown event ${u} in ${a.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!TOt[u])if(typeof a[u]=="object")for(let p in a[u])p==="*"?i(a,u,a[u][p]):i(a,u+"-"+p.toLowerCase(),a[u][p]);else typeof a[u]=="function"&&i(a,u,a[u])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(i){let a=i[i.length-1],{node:u,visitors:p}=a;if(u.type!=="root"&&u.type!=="document"&&!u.parent){i.pop();return}if(p.length>0&&a.visitorIndex<p.length){let[T,P]=p[a.visitorIndex];a.visitorIndex+=1,a.visitorIndex===p.length&&(a.visitors=[],a.visitorIndex=0),this.result.lastPlugin=T;try{return P(u.toProxy(),this.helpers)}catch(I){throw this.handleError(I,u)}}if(a.iterator!==0){let T=a.iterator,P;for(;P=u.nodes[u.indexes[T]];)if(u.indexes[T]+=1,!P[qS]){P[qS]=!0,i.push(bJe(P));return}a.iterator=0,delete u.indexes[T]}let y=a.events;for(;a.eventIndex<y.length;){let T=y[a.eventIndex];if(a.eventIndex+=1,T===cI){u.nodes&&u.nodes.length&&(u[qS]=!0,a.iterator=u.getIterator());return}else if(this.listeners[T]){a.visitors=this.listeners[T];return}}i.pop()}};lI.registerPostcss=o=>{xge=o};var vWe=lI;lI.default=lI;yOt.registerLazyResult(lI);mOt.registerLazyResult(lI);let SOt=Yqe,xOt=QQ,kOt=lWe,COt=K0e;const wOt=Q0e;let kge=class{constructor(i,a,u){a=a.toString(),this.stringified=!1,this._processor=i,this._css=a,this._opts=u,this._map=void 0;let p,y=xOt;this.result=new wOt(this._processor,p,this._opts),this.result.css=a;let T=this;Object.defineProperty(this.result,"root",{get(){return T.root}});let P=new SOt(y,p,this._opts,a);if(P.isMap()){let[I,B]=P.generate();I&&(this.result.css=I),B&&(this.result.map=B)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let i,a=COt;try{i=a(this._css,this._opts)}catch(u){this.error=u}if(this.error)throw this.error;return this._root=i,i}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(i,a){return Dg.env.NODE_ENV!=="production"&&("from"in this._opts||kOt("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(i,a)}catch(i){return this.async().catch(i)}finally(i){return this.async().then(i,i)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}};var EOt=kge;kge.default=kge;let AOt=EOt,POt=vWe,DOt=X0e,NOt=BR,oR=class{constructor(i=[]){this.version="8.4.21",this.plugins=this.normalize(i)}use(i){return this.plugins=this.plugins.concat(this.normalize([i])),this}process(i,a={}){return this.plugins.length===0&&typeof a.parser>"u"&&typeof a.stringifier>"u"&&typeof a.syntax>"u"?new AOt(this,i,a):new POt(this,i,a)}normalize(i){let a=[];for(let u of i)if(u.postcss===!0?u=u():u.postcss&&(u=u.postcss),typeof u=="object"&&Array.isArray(u.plugins))a=a.concat(u.plugins);else if(typeof u=="object"&&u.postcssPlugin)a.push(u);else if(typeof u=="function")a.push(u);else if(typeof u=="object"&&(u.parse||u.stringify)){if(Dg.env.NODE_ENV!=="production")throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}else throw new Error(u+" is not a PostCSS plugin");return a}};var IOt=oR;oR.default=oR;NOt.registerProcessor(oR);DOt.registerProcessor(oR);let OOt=ZQ,LOt=Wqe,MOt=eY,FOt=Y0e,ROt=KQ,BOt=BR,jOt=Z0e;function cR(o,i){if(Array.isArray(o))return o.map(p=>cR(p));let{inputs:a,...u}=o;if(a){i=[];for(let p of a){let y={...p,__proto__:ROt.prototype};y.map&&(y.map={...y.map,__proto__:LOt.prototype}),i.push(y)}}if(u.nodes&&(u.nodes=o.nodes.map(p=>cR(p,i))),u.source){let{inputId:p,...y}=u.source;u.source=y,p!=null&&(u.source.input=i[p])}if(u.type==="root")return new BOt(u);if(u.type==="decl")return new OOt(u);if(u.type==="rule")return new jOt(u);if(u.type==="comment")return new MOt(u);if(u.type==="atrule")return new FOt(u);throw new Error("Unknown node type: "+o.type)}var JOt=cR;cR.default=cR;let UOt=W0e,bWe=ZQ,zOt=vWe,VOt=DA,e1e=IOt,$Ot=QQ,qOt=JOt,TWe=X0e,WOt=uWe,SWe=eY,xWe=Y0e,HOt=Q0e,GOt=KQ,XOt=K0e,QOt=mWe,kWe=Z0e,CWe=BR,YOt=YQ;function kf(...o){return o.length===1&&Array.isArray(o[0])&&(o=o[0]),new e1e(o)}kf.plugin=function(i,a){let u=!1;function p(...T){console&&console.warn&&!u&&(u=!0,console.warn(i+`: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),Dg.env.LANG&&Dg.env.LANG.startsWith("cn")&&console.warn(i+`: 里面 postcss.plugin 被弃用. 迁移指南:
https://www.w3ctech.com/topic/2226`));let P=a(...T);return P.postcssPlugin=i,P.postcssVersion=new e1e().version,P}let y;return Object.defineProperty(p,"postcss",{get(){return y||(y=p()),y}}),p.process=function(T,P,I){return kf([p(I)]).process(T,P)},p};kf.stringify=$Ot;kf.parse=XOt;kf.fromJSON=qOt;kf.list=QOt;kf.comment=o=>new SWe(o);kf.atRule=o=>new xWe(o);kf.decl=o=>new bWe(o);kf.rule=o=>new kWe(o);kf.root=o=>new CWe(o);kf.document=o=>new TWe(o);kf.CssSyntaxError=UOt;kf.Declaration=bWe;kf.Container=VOt;kf.Processor=e1e;kf.Document=TWe;kf.Comment=SWe;kf.Warning=WOt;kf.AtRule=xWe;kf.Result=HOt;kf.Input=GOt;kf.Rule=kWe;kf.Root=CWe;kf.Node=YOt;zOt.registerPostcss(kf);var ZOt=kf;kf.default=kf;var F_=ZOt;F_.stringify;F_.fromJSON;F_.plugin;F_.parse;F_.list;F_.document;F_.comment;F_.atRule;F_.rule;F_.decl;F_.root;F_.CssSyntaxError;F_.Declaration;F_.Container;F_.Processor;F_.Document;F_.Comment;F_.Warning;F_.AtRule;F_.Result;F_.Input;F_.Rule;F_.Root;F_.Node;const wWe=()=>({postcssPlugin:"vue-sfc-trim",Once(o){o.walk(({type:i,raws:a})=>{(i==="rule"||i==="atrule")&&(a.before&&(a.before=`
`),"after"in a&&a.after&&(a.after=`
`))})}});wWe.postcss=!0;var KOt=wWe,MX={},e9t={get exports(){return MX},set exports(o){MX=o}},FX={},t9t={get exports(){return FX},set exports(o){FX=o}},RX={},r9t={get exports(){return RX},set exports(o){RX=o}},lR={},n9t={get exports(){return lR},set exports(o){lR=o}},uI={},i9t={get exports(){return uI},set exports(o){uI=o}},Z2={},s9t={get exports(){return Z2},set exports(o){Z2=o}},X1={},uR={},a9t={get exports(){return uR},set exports(o){uR=o}};(function(o,i){i.__esModule=!0,i.default=p;function a(y){for(var T=y.toLowerCase(),P="",I=!1,B=0;B<6&&T[B]!==void 0;B++){var z=T.charCodeAt(B),H=z>=97&&z<=102||z>=48&&z<=57;if(I=z===32,!H)break;P+=T[B]}if(P.length!==0){var Q=parseInt(P,16),Ie=Q>=55296&&Q<=57343;return Ie||Q===0||Q>1114111?["�",P.length+(I?1:0)]:[String.fromCodePoint(Q),P.length+(I?1:0)]}}var u=/\\/;function p(y){var T=u.test(y);if(!T)return y;for(var P="",I=0;I<y.length;I++){if(y[I]==="\\"){var B=a(y.slice(I+1,I+7));if(B!==void 0){P+=B[0],I+=B[1];continue}if(y[I+1]==="\\"){P+="\\",I++;continue}y.length===I+1&&(P+=y[I]);continue}P+=y[I]}return P}o.exports=i.default})(a9t,uR);var BX={},o9t={get exports(){return BX},set exports(o){BX=o}};(function(o,i){i.__esModule=!0,i.default=a;function a(u){for(var p=arguments.length,y=new Array(p>1?p-1:0),T=1;T<p;T++)y[T-1]=arguments[T];for(;y.length>0;){var P=y.shift();if(!u[P])return;u=u[P]}return u}o.exports=i.default})(o9t,BX);var jX={},c9t={get exports(){return jX},set exports(o){jX=o}};(function(o,i){i.__esModule=!0,i.default=a;function a(u){for(var p=arguments.length,y=new Array(p>1?p-1:0),T=1;T<p;T++)y[T-1]=arguments[T];for(;y.length>0;){var P=y.shift();u[P]||(u[P]={}),u=u[P]}}o.exports=i.default})(c9t,jX);var JX={},l9t={get exports(){return JX},set exports(o){JX=o}};(function(o,i){i.__esModule=!0,i.default=a;function a(u){for(var p="",y=u.indexOf("/*"),T=0;y>=0;){p=p+u.slice(T,y);var P=u.indexOf("*/",y+2);if(P<0)return p;T=P+2,y=u.indexOf("/*",T)}return p=p+u.slice(T),p}o.exports=i.default})(l9t,JX);X1.__esModule=!0;X1.stripComments=X1.ensureObject=X1.getProp=X1.unesc=void 0;var u9t=tY(uR);X1.unesc=u9t.default;var f9t=tY(BX);X1.getProp=f9t.default;var _9t=tY(jX);X1.ensureObject=_9t.default;var p9t=tY(JX);X1.stripComments=p9t.default;function tY(o){return o&&o.__esModule?o:{default:o}}(function(o,i){i.__esModule=!0,i.default=void 0;var a=X1;function u(P,I){for(var B=0;B<I.length;B++){var z=I[B];z.enumerable=z.enumerable||!1,z.configurable=!0,"value"in z&&(z.writable=!0),Object.defineProperty(P,z.key,z)}}function p(P,I,B){return I&&u(P.prototype,I),B&&u(P,B),P}var y=function P(I,B){if(typeof I!="object"||I===null)return I;var z=new I.constructor;for(var H in I)if(I.hasOwnProperty(H)){var Q=I[H],Ie=typeof Q;H==="parent"&&Ie==="object"?B&&(z[H]=B):Q instanceof Array?z[H]=Q.map(function(ze){return P(ze,z)}):z[H]=P(Q,z)}return z},T=function(){function P(B){B===void 0&&(B={}),Object.assign(this,B),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var I=P.prototype;return I.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},I.replaceWith=function(){if(this.parent){for(var z in arguments)this.parent.insertBefore(this,arguments[z]);this.remove()}return this},I.next=function(){return this.parent.at(this.parent.index(this)+1)},I.prev=function(){return this.parent.at(this.parent.index(this)-1)},I.clone=function(z){z===void 0&&(z={});var H=y(this);for(var Q in z)H[Q]=z[Q];return H},I.appendToPropertyAndEscape=function(z,H,Q){this.raws||(this.raws={});var Ie=this[z],ze=this.raws[z];this[z]=Ie+H,ze||Q!==H?this.raws[z]=(ze||Ie)+Q:delete this.raws[z]},I.setPropertyAndEscape=function(z,H,Q){this.raws||(this.raws={}),this[z]=H,this.raws[z]=Q},I.setPropertyWithoutEscape=function(z,H){this[z]=H,this.raws&&delete this.raws[z]},I.isAtPosition=function(z,H){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>z||this.source.end.line<z||this.source.start.line===z&&this.source.start.column>H||this.source.end.line===z&&this.source.end.column<H)},I.stringifyProperty=function(z){return this.raws&&this.raws[z]||this[z]},I.valueToString=function(){return String(this.stringifyProperty("value"))},I.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},p(P,[{key:"rawSpaceBefore",get:function(){var z=this.raws&&this.raws.spaces&&this.raws.spaces.before;return z===void 0&&(z=this.spaces&&this.spaces.before),z||""},set:function(z){(0,a.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=z}},{key:"rawSpaceAfter",get:function(){var z=this.raws&&this.raws.spaces&&this.raws.spaces.after;return z===void 0&&(z=this.spaces.after),z||""},set:function(z){(0,a.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=z}}]),P}();i.default=T,o.exports=i.default})(s9t,Z2);var gl={};gl.__esModule=!0;gl.UNIVERSAL=gl.ATTRIBUTE=gl.CLASS=gl.COMBINATOR=gl.COMMENT=gl.ID=gl.NESTING=gl.PSEUDO=gl.ROOT=gl.SELECTOR=gl.STRING=gl.TAG=void 0;var d9t="tag";gl.TAG=d9t;var m9t="string";gl.STRING=m9t;var h9t="selector";gl.SELECTOR=h9t;var g9t="root";gl.ROOT=g9t;var y9t="pseudo";gl.PSEUDO=y9t;var v9t="nesting";gl.NESTING=v9t;var b9t="id";gl.ID=b9t;var T9t="comment";gl.COMMENT=T9t;var S9t="combinator";gl.COMBINATOR=S9t;var x9t="class";gl.CLASS=x9t;var k9t="attribute";gl.ATTRIBUTE=k9t;var C9t="universal";gl.UNIVERSAL=C9t;(function(o,i){i.__esModule=!0,i.default=void 0;var a=T(Z2),u=y(gl);function p(){if(typeof WeakMap!="function")return null;var Ue=new WeakMap;return p=function(){return Ue},Ue}function y(Ue){if(Ue&&Ue.__esModule)return Ue;if(Ue===null||typeof Ue!="object"&&typeof Ue!="function")return{default:Ue};var et=p();if(et&&et.has(Ue))return et.get(Ue);var Ve={},vt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ut in Ue)if(Object.prototype.hasOwnProperty.call(Ue,ut)){var He=vt?Object.getOwnPropertyDescriptor(Ue,ut):null;He&&(He.get||He.set)?Object.defineProperty(Ve,ut,He):Ve[ut]=Ue[ut]}return Ve.default=Ue,et&&et.set(Ue,Ve),Ve}function T(Ue){return Ue&&Ue.__esModule?Ue:{default:Ue}}function P(Ue,et){var Ve;if(typeof Symbol>"u"||Ue[Symbol.iterator]==null){if(Array.isArray(Ue)||(Ve=I(Ue))||et&&Ue&&typeof Ue.length=="number"){Ve&&(Ue=Ve);var vt=0;return function(){return vt>=Ue.length?{done:!0}:{done:!1,value:Ue[vt++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return Ve=Ue[Symbol.iterator](),Ve.next.bind(Ve)}function I(Ue,et){if(Ue){if(typeof Ue=="string")return B(Ue,et);var Ve=Object.prototype.toString.call(Ue).slice(8,-1);if(Ve==="Object"&&Ue.constructor&&(Ve=Ue.constructor.name),Ve==="Map"||Ve==="Set")return Array.from(Ue);if(Ve==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Ve))return B(Ue,et)}}function B(Ue,et){(et==null||et>Ue.length)&&(et=Ue.length);for(var Ve=0,vt=new Array(et);Ve<et;Ve++)vt[Ve]=Ue[Ve];return vt}function z(Ue,et){for(var Ve=0;Ve<et.length;Ve++){var vt=et[Ve];vt.enumerable=vt.enumerable||!1,vt.configurable=!0,"value"in vt&&(vt.writable=!0),Object.defineProperty(Ue,vt.key,vt)}}function H(Ue,et,Ve){return et&&z(Ue.prototype,et),Ve&&z(Ue,Ve),Ue}function Q(Ue,et){Ue.prototype=Object.create(et.prototype),Ue.prototype.constructor=Ue,Ie(Ue,et)}function Ie(Ue,et){return Ie=Object.setPrototypeOf||function(vt,ut){return vt.__proto__=ut,vt},Ie(Ue,et)}var ze=function(Ue){Q(et,Ue);function et(vt){var ut;return ut=Ue.call(this,vt)||this,ut.nodes||(ut.nodes=[]),ut}var Ve=et.prototype;return Ve.append=function(ut){return ut.parent=this,this.nodes.push(ut),this},Ve.prepend=function(ut){return ut.parent=this,this.nodes.unshift(ut),this},Ve.at=function(ut){return this.nodes[ut]},Ve.index=function(ut){return typeof ut=="number"?ut:this.nodes.indexOf(ut)},Ve.removeChild=function(ut){ut=this.index(ut),this.at(ut).parent=void 0,this.nodes.splice(ut,1);var He;for(var Bt in this.indexes)He=this.indexes[Bt],He>=ut&&(this.indexes[Bt]=He-1);return this},Ve.removeAll=function(){for(var ut=P(this.nodes),He;!(He=ut()).done;){var Bt=He.value;Bt.parent=void 0}return this.nodes=[],this},Ve.empty=function(){return this.removeAll()},Ve.insertAfter=function(ut,He){He.parent=this;var Bt=this.index(ut);this.nodes.splice(Bt+1,0,He),He.parent=this;var ar;for(var kr in this.indexes)ar=this.indexes[kr],Bt<=ar&&(this.indexes[kr]=ar+1);return this},Ve.insertBefore=function(ut,He){He.parent=this;var Bt=this.index(ut);this.nodes.splice(Bt,0,He),He.parent=this;var ar;for(var kr in this.indexes)ar=this.indexes[kr],ar<=Bt&&(this.indexes[kr]=ar+1);return this},Ve._findChildAtPosition=function(ut,He){var Bt=void 0;return this.each(function(ar){if(ar.atPosition){var kr=ar.atPosition(ut,He);if(kr)return Bt=kr,!1}else if(ar.isAtPosition(ut,He))return Bt=ar,!1}),Bt},Ve.atPosition=function(ut,He){if(this.isAtPosition(ut,He))return this._findChildAtPosition(ut,He)||this},Ve._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},Ve.each=function(ut){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var He=this.lastEach;if(this.indexes[He]=0,!!this.length){for(var Bt,ar;this.indexes[He]<this.length&&(Bt=this.indexes[He],ar=ut(this.at(Bt),Bt),ar!==!1);)this.indexes[He]+=1;if(delete this.indexes[He],ar===!1)return!1}},Ve.walk=function(ut){return this.each(function(He,Bt){var ar=ut(He,Bt);if(ar!==!1&&He.length&&(ar=He.walk(ut)),ar===!1)return!1})},Ve.walkAttributes=function(ut){var He=this;return this.walk(function(Bt){if(Bt.type===u.ATTRIBUTE)return ut.call(He,Bt)})},Ve.walkClasses=function(ut){var He=this;return this.walk(function(Bt){if(Bt.type===u.CLASS)return ut.call(He,Bt)})},Ve.walkCombinators=function(ut){var He=this;return this.walk(function(Bt){if(Bt.type===u.COMBINATOR)return ut.call(He,Bt)})},Ve.walkComments=function(ut){var He=this;return this.walk(function(Bt){if(Bt.type===u.COMMENT)return ut.call(He,Bt)})},Ve.walkIds=function(ut){var He=this;return this.walk(function(Bt){if(Bt.type===u.ID)return ut.call(He,Bt)})},Ve.walkNesting=function(ut){var He=this;return this.walk(function(Bt){if(Bt.type===u.NESTING)return ut.call(He,Bt)})},Ve.walkPseudos=function(ut){var He=this;return this.walk(function(Bt){if(Bt.type===u.PSEUDO)return ut.call(He,Bt)})},Ve.walkTags=function(ut){var He=this;return this.walk(function(Bt){if(Bt.type===u.TAG)return ut.call(He,Bt)})},Ve.walkUniversals=function(ut){var He=this;return this.walk(function(Bt){if(Bt.type===u.UNIVERSAL)return ut.call(He,Bt)})},Ve.split=function(ut){var He=this,Bt=[];return this.reduce(function(ar,kr,Ot){var xt=ut.call(He,kr);return Bt.push(kr),xt?(ar.push(Bt),Bt=[]):Ot===He.length-1&&ar.push(Bt),ar},[])},Ve.map=function(ut){return this.nodes.map(ut)},Ve.reduce=function(ut,He){return this.nodes.reduce(ut,He)},Ve.every=function(ut){return this.nodes.every(ut)},Ve.some=function(ut){return this.nodes.some(ut)},Ve.filter=function(ut){return this.nodes.filter(ut)},Ve.sort=function(ut){return this.nodes.sort(ut)},Ve.toString=function(){return this.map(String).join("")},H(et,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),et}(a.default);i.default=ze,o.exports=i.default})(i9t,uI);(function(o,i){i.__esModule=!0,i.default=void 0;var a=p(uI),u=gl;function p(z){return z&&z.__esModule?z:{default:z}}function y(z,H){for(var Q=0;Q<H.length;Q++){var Ie=H[Q];Ie.enumerable=Ie.enumerable||!1,Ie.configurable=!0,"value"in Ie&&(Ie.writable=!0),Object.defineProperty(z,Ie.key,Ie)}}function T(z,H,Q){return H&&y(z.prototype,H),Q&&y(z,Q),z}function P(z,H){z.prototype=Object.create(H.prototype),z.prototype.constructor=z,I(z,H)}function I(z,H){return I=Object.setPrototypeOf||function(Ie,ze){return Ie.__proto__=ze,Ie},I(z,H)}var B=function(z){P(H,z);function H(Ie){var ze;return ze=z.call(this,Ie)||this,ze.type=u.ROOT,ze}var Q=H.prototype;return Q.toString=function(){var ze=this.reduce(function(Ue,et){return Ue.push(String(et)),Ue},[]).join(",");return this.trailingComma?ze+",":ze},Q.error=function(ze,Ue){return this._error?this._error(ze,Ue):new Error(ze)},T(H,[{key:"errorGenerator",set:function(ze){this._error=ze}}]),H}(a.default);i.default=B,o.exports=i.default})(n9t,lR);var fR={},w9t={get exports(){return fR},set exports(o){fR=o}};(function(o,i){i.__esModule=!0,i.default=void 0;var a=p(uI),u=gl;function p(I){return I&&I.__esModule?I:{default:I}}function y(I,B){I.prototype=Object.create(B.prototype),I.prototype.constructor=I,T(I,B)}function T(I,B){return T=Object.setPrototypeOf||function(H,Q){return H.__proto__=Q,H},T(I,B)}var P=function(I){y(B,I);function B(z){var H;return H=I.call(this,z)||this,H.type=u.SELECTOR,H}return B}(a.default);i.default=P,o.exports=i.default})(w9t,fR);var _R={},E9t={get exports(){return _R},set exports(o){_R=o}};/*! https://mths.be/cssesc v3.0.0 by @mathias */var A9t={},P9t=A9t.hasOwnProperty,D9t=function(i,a){if(!i)return a;var u={};for(var p in a)u[p]=P9t.call(i,p)?i[p]:a[p];return u},N9t=/[ -,\.\/:-@\[-\^`\{-~]/,I9t=/[ -,\.\/:-@\[\]\^`\{-~]/,O9t=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,t1e=function o(i,a){a=D9t(a,o.options),a.quotes!="single"&&a.quotes!="double"&&(a.quotes="single");for(var u=a.quotes=="double"?'"':"'",p=a.isIdentifier,y=i.charAt(0),T="",P=0,I=i.length;P<I;){var B=i.charAt(P++),z=B.charCodeAt(),H=void 0;if(z<32||z>126){if(z>=55296&&z<=56319&&P<I){var Q=i.charCodeAt(P++);(Q&64512)==56320?z=((z&1023)<<10)+(Q&1023)+65536:P--}H="\\"+z.toString(16).toUpperCase()+" "}else a.escapeEverything?N9t.test(B)?H="\\"+B:H="\\"+z.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(B)?H="\\"+z.toString(16).toUpperCase()+" ":B=="\\"||!p&&(B=='"'&&u==B||B=="'"&&u==B)||p&&I9t.test(B)?H="\\"+B:H=B;T+=H}return p&&(/^-[-\d]/.test(T)?T="\\-"+T.slice(1):/\d/.test(y)&&(T="\\3"+y+" "+T.slice(1))),T=T.replace(O9t,function(Ie,ze,Ue){return ze&&ze.length%2?Ie:(ze||"")+Ue}),!p&&a.wrap?u+T+u:T};t1e.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};t1e.version="3.0.0";var r1e=t1e;(function(o,i){i.__esModule=!0,i.default=void 0;var a=T(r1e),u=X1,p=T(Z2),y=gl;function T(Q){return Q&&Q.__esModule?Q:{default:Q}}function P(Q,Ie){for(var ze=0;ze<Ie.length;ze++){var Ue=Ie[ze];Ue.enumerable=Ue.enumerable||!1,Ue.configurable=!0,"value"in Ue&&(Ue.writable=!0),Object.defineProperty(Q,Ue.key,Ue)}}function I(Q,Ie,ze){return Ie&&P(Q.prototype,Ie),ze&&P(Q,ze),Q}function B(Q,Ie){Q.prototype=Object.create(Ie.prototype),Q.prototype.constructor=Q,z(Q,Ie)}function z(Q,Ie){return z=Object.setPrototypeOf||function(Ue,et){return Ue.__proto__=et,Ue},z(Q,Ie)}var H=function(Q){B(Ie,Q);function Ie(Ue){var et;return et=Q.call(this,Ue)||this,et.type=y.CLASS,et._constructed=!0,et}var ze=Ie.prototype;return ze.valueToString=function(){return"."+Q.prototype.valueToString.call(this)},I(Ie,[{key:"value",get:function(){return this._value},set:function(et){if(this._constructed){var Ve=(0,a.default)(et,{isIdentifier:!0});Ve!==et?((0,u.ensureObject)(this,"raws"),this.raws.value=Ve):this.raws&&delete this.raws.value}this._value=et}}]),Ie}(p.default);i.default=H,o.exports=i.default})(E9t,_R);var pR={},L9t={get exports(){return pR},set exports(o){pR=o}};(function(o,i){i.__esModule=!0,i.default=void 0;var a=p(Z2),u=gl;function p(I){return I&&I.__esModule?I:{default:I}}function y(I,B){I.prototype=Object.create(B.prototype),I.prototype.constructor=I,T(I,B)}function T(I,B){return T=Object.setPrototypeOf||function(H,Q){return H.__proto__=Q,H},T(I,B)}var P=function(I){y(B,I);function B(z){var H;return H=I.call(this,z)||this,H.type=u.COMMENT,H}return B}(a.default);i.default=P,o.exports=i.default})(L9t,pR);var dR={},M9t={get exports(){return dR},set exports(o){dR=o}};(function(o,i){i.__esModule=!0,i.default=void 0;var a=p(Z2),u=gl;function p(I){return I&&I.__esModule?I:{default:I}}function y(I,B){I.prototype=Object.create(B.prototype),I.prototype.constructor=I,T(I,B)}function T(I,B){return T=Object.setPrototypeOf||function(H,Q){return H.__proto__=Q,H},T(I,B)}var P=function(I){y(B,I);function B(H){var Q;return Q=I.call(this,H)||this,Q.type=u.ID,Q}var z=B.prototype;return z.valueToString=function(){return"#"+I.prototype.valueToString.call(this)},B}(a.default);i.default=P,o.exports=i.default})(M9t,dR);var mR={},F9t={get exports(){return mR},set exports(o){mR=o}},fI={},R9t={get exports(){return fI},set exports(o){fI=o}};(function(o,i){i.__esModule=!0,i.default=void 0;var a=y(r1e),u=X1,p=y(Z2);function y(H){return H&&H.__esModule?H:{default:H}}function T(H,Q){for(var Ie=0;Ie<Q.length;Ie++){var ze=Q[Ie];ze.enumerable=ze.enumerable||!1,ze.configurable=!0,"value"in ze&&(ze.writable=!0),Object.defineProperty(H,ze.key,ze)}}function P(H,Q,Ie){return Q&&T(H.prototype,Q),Ie&&T(H,Ie),H}function I(H,Q){H.prototype=Object.create(Q.prototype),H.prototype.constructor=H,B(H,Q)}function B(H,Q){return B=Object.setPrototypeOf||function(ze,Ue){return ze.__proto__=Ue,ze},B(H,Q)}var z=function(H){I(Q,H);function Q(){return H.apply(this,arguments)||this}var Ie=Q.prototype;return Ie.qualifiedName=function(Ue){return this.namespace?this.namespaceString+"|"+Ue:Ue},Ie.valueToString=function(){return this.qualifiedName(H.prototype.valueToString.call(this))},P(Q,[{key:"namespace",get:function(){return this._namespace},set:function(Ue){if(Ue===!0||Ue==="*"||Ue==="&"){this._namespace=Ue,this.raws&&delete this.raws.namespace;return}var et=(0,a.default)(Ue,{isIdentifier:!0});this._namespace=Ue,et!==Ue?((0,u.ensureObject)(this,"raws"),this.raws.namespace=et):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(Ue){this.namespace=Ue}},{key:"namespaceString",get:function(){if(this.namespace){var Ue=this.stringifyProperty("namespace");return Ue===!0?"":Ue}else return""}}]),Q}(p.default);i.default=z,o.exports=i.default})(R9t,fI);(function(o,i){i.__esModule=!0,i.default=void 0;var a=p(fI),u=gl;function p(I){return I&&I.__esModule?I:{default:I}}function y(I,B){I.prototype=Object.create(B.prototype),I.prototype.constructor=I,T(I,B)}function T(I,B){return T=Object.setPrototypeOf||function(H,Q){return H.__proto__=Q,H},T(I,B)}var P=function(I){y(B,I);function B(z){var H;return H=I.call(this,z)||this,H.type=u.TAG,H}return B}(a.default);i.default=P,o.exports=i.default})(F9t,mR);var hR={},B9t={get exports(){return hR},set exports(o){hR=o}};(function(o,i){i.__esModule=!0,i.default=void 0;var a=p(Z2),u=gl;function p(I){return I&&I.__esModule?I:{default:I}}function y(I,B){I.prototype=Object.create(B.prototype),I.prototype.constructor=I,T(I,B)}function T(I,B){return T=Object.setPrototypeOf||function(H,Q){return H.__proto__=Q,H},T(I,B)}var P=function(I){y(B,I);function B(z){var H;return H=I.call(this,z)||this,H.type=u.STRING,H}return B}(a.default);i.default=P,o.exports=i.default})(B9t,hR);var gR={},j9t={get exports(){return gR},set exports(o){gR=o}};(function(o,i){i.__esModule=!0,i.default=void 0;var a=p(uI),u=gl;function p(I){return I&&I.__esModule?I:{default:I}}function y(I,B){I.prototype=Object.create(B.prototype),I.prototype.constructor=I,T(I,B)}function T(I,B){return T=Object.setPrototypeOf||function(H,Q){return H.__proto__=Q,H},T(I,B)}var P=function(I){y(B,I);function B(H){var Q;return Q=I.call(this,H)||this,Q.type=u.PSEUDO,Q}var z=B.prototype;return z.toString=function(){var Q=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),Q,this.rawSpaceAfter].join("")},B}(a.default);i.default=P,o.exports=i.default})(j9t,gR);var n1e={},J9t=X7t.deprecate;(function(o){o.__esModule=!0,o.unescapeValue=et,o.default=void 0;var i=T(r1e),a=T(uR),u=T(fI),p=gl,y;function T(Bt){return Bt&&Bt.__esModule?Bt:{default:Bt}}function P(Bt,ar){for(var kr=0;kr<ar.length;kr++){var Ot=ar[kr];Ot.enumerable=Ot.enumerable||!1,Ot.configurable=!0,"value"in Ot&&(Ot.writable=!0),Object.defineProperty(Bt,Ot.key,Ot)}}function I(Bt,ar,kr){return ar&&P(Bt.prototype,ar),kr&&P(Bt,kr),Bt}function B(Bt,ar){Bt.prototype=Object.create(ar.prototype),Bt.prototype.constructor=Bt,z(Bt,ar)}function z(Bt,ar){return z=Object.setPrototypeOf||function(Ot,xt){return Ot.__proto__=xt,Ot},z(Bt,ar)}var H=J9t,Q=/^('|")([^]*)\1$/,Ie=H(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),ze=H(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),Ue=H(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function et(Bt){var ar=!1,kr=null,Ot=Bt,xt=Ot.match(Q);return xt&&(kr=xt[1],Ot=xt[2]),Ot=(0,a.default)(Ot),Ot!==Bt&&(ar=!0),{deprecatedUsage:ar,unescaped:Ot,quoteMark:kr}}function Ve(Bt){if(Bt.quoteMark!==void 0||Bt.value===void 0)return Bt;Ue();var ar=et(Bt.value),kr=ar.quoteMark,Ot=ar.unescaped;return Bt.raws||(Bt.raws={}),Bt.raws.value===void 0&&(Bt.raws.value=Bt.value),Bt.value=Ot,Bt.quoteMark=kr,Bt}var vt=function(Bt){B(ar,Bt);function ar(Ot){var xt;return Ot===void 0&&(Ot={}),xt=Bt.call(this,Ve(Ot))||this,xt.type=p.ATTRIBUTE,xt.raws=xt.raws||{},Object.defineProperty(xt.raws,"unquoted",{get:H(function(){return xt.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:H(function(){return xt.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),xt._constructed=!0,xt}var kr=ar.prototype;return kr.getQuotedValue=function(xt){xt===void 0&&(xt={});var Wt=this._determineQuoteMark(xt),_r=ut[Wt],An=(0,i.default)(this._value,_r);return An},kr._determineQuoteMark=function(xt){return xt.smart?this.smartQuoteMark(xt):this.preferredQuoteMark(xt)},kr.setValue=function(xt,Wt){Wt===void 0&&(Wt={}),this._value=xt,this._quoteMark=this._determineQuoteMark(Wt),this._syncRawValue()},kr.smartQuoteMark=function(xt){var Wt=this.value,_r=Wt.replace(/[^']/g,"").length,An=Wt.replace(/[^"]/g,"").length;if(_r+An===0){var hr=(0,i.default)(Wt,{isIdentifier:!0});if(hr===Wt)return ar.NO_QUOTE;var Fi=this.preferredQuoteMark(xt);if(Fi===ar.NO_QUOTE){var ss=this.quoteMark||xt.quoteMark||ar.DOUBLE_QUOTE,qt=ut[ss],Ba=(0,i.default)(Wt,qt);if(Ba.length<hr.length)return ss}return Fi}else return An===_r?this.preferredQuoteMark(xt):An<_r?ar.DOUBLE_QUOTE:ar.SINGLE_QUOTE},kr.preferredQuoteMark=function(xt){var Wt=xt.preferCurrentQuoteMark?this.quoteMark:xt.quoteMark;return Wt===void 0&&(Wt=xt.preferCurrentQuoteMark?xt.quoteMark:this.quoteMark),Wt===void 0&&(Wt=ar.DOUBLE_QUOTE),Wt},kr._syncRawValue=function(){var xt=(0,i.default)(this._value,ut[this.quoteMark]);xt===this._value?this.raws&&delete this.raws.value:this.raws.value=xt},kr._handleEscapes=function(xt,Wt){if(this._constructed){var _r=(0,i.default)(Wt,{isIdentifier:!0});_r!==Wt?this.raws[xt]=_r:delete this.raws[xt]}},kr._spacesFor=function(xt){var Wt={before:"",after:""},_r=this.spaces[xt]||{},An=this.raws.spaces&&this.raws.spaces[xt]||{};return Object.assign(Wt,_r,An)},kr._stringFor=function(xt,Wt,_r){Wt===void 0&&(Wt=xt),_r===void 0&&(_r=He);var An=this._spacesFor(Wt);return _r(this.stringifyProperty(xt),An)},kr.offsetOf=function(xt){var Wt=1,_r=this._spacesFor("attribute");if(Wt+=_r.before.length,xt==="namespace"||xt==="ns")return this.namespace?Wt:-1;if(xt==="attributeNS"||(Wt+=this.namespaceString.length,this.namespace&&(Wt+=1),xt==="attribute"))return Wt;Wt+=this.stringifyProperty("attribute").length,Wt+=_r.after.length;var An=this._spacesFor("operator");Wt+=An.before.length;var hr=this.stringifyProperty("operator");if(xt==="operator")return hr?Wt:-1;Wt+=hr.length,Wt+=An.after.length;var Fi=this._spacesFor("value");Wt+=Fi.before.length;var ss=this.stringifyProperty("value");if(xt==="value")return ss?Wt:-1;Wt+=ss.length,Wt+=Fi.after.length;var qt=this._spacesFor("insensitive");return Wt+=qt.before.length,xt==="insensitive"&&this.insensitive?Wt:-1},kr.toString=function(){var xt=this,Wt=[this.rawSpaceBefore,"["];return Wt.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(Wt.push(this._stringFor("operator")),Wt.push(this._stringFor("value")),Wt.push(this._stringFor("insensitiveFlag","insensitive",function(_r,An){return _r.length>0&&!xt.quoted&&An.before.length===0&&!(xt.spaces.value&&xt.spaces.value.after)&&(An.before=" "),He(_r,An)}))),Wt.push("]"),Wt.push(this.rawSpaceAfter),Wt.join("")},I(ar,[{key:"quoted",get:function(){var xt=this.quoteMark;return xt==="'"||xt==='"'},set:function(xt){ze()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(xt){if(!this._constructed){this._quoteMark=xt;return}this._quoteMark!==xt&&(this._quoteMark=xt,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(xt){if(this._constructed){var Wt=et(xt),_r=Wt.deprecatedUsage,An=Wt.unescaped,hr=Wt.quoteMark;if(_r&&Ie(),An===this._value&&hr===this._quoteMark)return;this._value=An,this._quoteMark=hr,this._syncRawValue()}else this._value=xt}},{key:"insensitive",get:function(){return this._insensitive},set:function(xt){xt||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=xt}},{key:"attribute",get:function(){return this._attribute},set:function(xt){this._handleEscapes("attribute",xt),this._attribute=xt}}]),ar}(u.default);o.default=vt,vt.NO_QUOTE=null,vt.SINGLE_QUOTE="'",vt.DOUBLE_QUOTE='"';var ut=(y={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},y[null]={isIdentifier:!0},y);function He(Bt,ar){return""+ar.before+Bt+ar.after}})(n1e);var yR={},U9t={get exports(){return yR},set exports(o){yR=o}};(function(o,i){i.__esModule=!0,i.default=void 0;var a=p(fI),u=gl;function p(I){return I&&I.__esModule?I:{default:I}}function y(I,B){I.prototype=Object.create(B.prototype),I.prototype.constructor=I,T(I,B)}function T(I,B){return T=Object.setPrototypeOf||function(H,Q){return H.__proto__=Q,H},T(I,B)}var P=function(I){y(B,I);function B(z){var H;return H=I.call(this,z)||this,H.type=u.UNIVERSAL,H.value="*",H}return B}(a.default);i.default=P,o.exports=i.default})(U9t,yR);var vR={},z9t={get exports(){return vR},set exports(o){vR=o}};(function(o,i){i.__esModule=!0,i.default=void 0;var a=p(Z2),u=gl;function p(I){return I&&I.__esModule?I:{default:I}}function y(I,B){I.prototype=Object.create(B.prototype),I.prototype.constructor=I,T(I,B)}function T(I,B){return T=Object.setPrototypeOf||function(H,Q){return H.__proto__=Q,H},T(I,B)}var P=function(I){y(B,I);function B(z){var H;return H=I.call(this,z)||this,H.type=u.COMBINATOR,H}return B}(a.default);i.default=P,o.exports=i.default})(z9t,vR);var bR={},V9t={get exports(){return bR},set exports(o){bR=o}};(function(o,i){i.__esModule=!0,i.default=void 0;var a=p(Z2),u=gl;function p(I){return I&&I.__esModule?I:{default:I}}function y(I,B){I.prototype=Object.create(B.prototype),I.prototype.constructor=I,T(I,B)}function T(I,B){return T=Object.setPrototypeOf||function(H,Q){return H.__proto__=Q,H},T(I,B)}var P=function(I){y(B,I);function B(z){var H;return H=I.call(this,z)||this,H.type=u.NESTING,H.value="&",H}return B}(a.default);i.default=P,o.exports=i.default})(V9t,bR);var UX={},$9t={get exports(){return UX},set exports(o){UX=o}};(function(o,i){i.__esModule=!0,i.default=a;function a(u){return u.sort(function(p,y){return p-y})}o.exports=i.default})($9t,UX);var EWe={},co={};co.__esModule=!0;co.combinator=co.word=co.comment=co.str=co.tab=co.newline=co.feed=co.cr=co.backslash=co.bang=co.slash=co.doubleQuote=co.singleQuote=co.space=co.greaterThan=co.pipe=co.equals=co.plus=co.caret=co.tilde=co.dollar=co.closeSquare=co.openSquare=co.closeParenthesis=co.openParenthesis=co.semicolon=co.colon=co.comma=co.at=co.asterisk=co.ampersand=void 0;var q9t=38;co.ampersand=q9t;var W9t=42;co.asterisk=W9t;var H9t=64;co.at=H9t;var G9t=44;co.comma=G9t;var X9t=58;co.colon=X9t;var Q9t=59;co.semicolon=Q9t;var Y9t=40;co.openParenthesis=Y9t;var Z9t=41;co.closeParenthesis=Z9t;var K9t=91;co.openSquare=K9t;var eLt=93;co.closeSquare=eLt;var tLt=36;co.dollar=tLt;var rLt=126;co.tilde=rLt;var nLt=94;co.caret=nLt;var iLt=43;co.plus=iLt;var sLt=61;co.equals=sLt;var aLt=124;co.pipe=aLt;var oLt=62;co.greaterThan=oLt;var cLt=32;co.space=cLt;var AWe=39;co.singleQuote=AWe;var lLt=34;co.doubleQuote=lLt;var uLt=47;co.slash=uLt;var fLt=33;co.bang=fLt;var _Lt=92;co.backslash=_Lt;var pLt=13;co.cr=pLt;var dLt=12;co.feed=dLt;var mLt=10;co.newline=mLt;var hLt=9;co.tab=hLt;var gLt=AWe;co.str=gLt;var yLt=-1;co.comment=yLt;var vLt=-2;co.word=vLt;var bLt=-3;co.combinator=bLt;(function(o){o.__esModule=!0,o.default=ze,o.FIELDS=void 0;var i=y(co),a,u;function p(){if(typeof WeakMap!="function")return null;var Ue=new WeakMap;return p=function(){return Ue},Ue}function y(Ue){if(Ue&&Ue.__esModule)return Ue;if(Ue===null||typeof Ue!="object"&&typeof Ue!="function")return{default:Ue};var et=p();if(et&&et.has(Ue))return et.get(Ue);var Ve={},vt=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ut in Ue)if(Object.prototype.hasOwnProperty.call(Ue,ut)){var He=vt?Object.getOwnPropertyDescriptor(Ue,ut):null;He&&(He.get||He.set)?Object.defineProperty(Ve,ut,He):Ve[ut]=Ue[ut]}return Ve.default=Ue,et&&et.set(Ue,Ve),Ve}for(var T=(a={},a[i.tab]=!0,a[i.newline]=!0,a[i.cr]=!0,a[i.feed]=!0,a),P=(u={},u[i.space]=!0,u[i.tab]=!0,u[i.newline]=!0,u[i.cr]=!0,u[i.feed]=!0,u[i.ampersand]=!0,u[i.asterisk]=!0,u[i.bang]=!0,u[i.comma]=!0,u[i.colon]=!0,u[i.semicolon]=!0,u[i.openParenthesis]=!0,u[i.closeParenthesis]=!0,u[i.openSquare]=!0,u[i.closeSquare]=!0,u[i.singleQuote]=!0,u[i.doubleQuote]=!0,u[i.plus]=!0,u[i.pipe]=!0,u[i.tilde]=!0,u[i.greaterThan]=!0,u[i.equals]=!0,u[i.dollar]=!0,u[i.caret]=!0,u[i.slash]=!0,u),I={},B="0123456789abcdefABCDEF",z=0;z<B.length;z++)I[B.charCodeAt(z)]=!0;function H(Ue,et){var Ve=et,vt;do{if(vt=Ue.charCodeAt(Ve),P[vt])return Ve-1;vt===i.backslash?Ve=Q(Ue,Ve)+1:Ve++}while(Ve<Ue.length);return Ve-1}function Q(Ue,et){var Ve=et,vt=Ue.charCodeAt(Ve+1);if(!T[vt])if(I[vt]){var ut=0;do Ve++,ut++,vt=Ue.charCodeAt(Ve+1);while(I[vt]&&ut<6);ut<6&&vt===i.space&&Ve++}else Ve++;return Ve}var Ie={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};o.FIELDS=Ie;function ze(Ue){var et=[],Ve=Ue.css.valueOf(),vt=Ve,ut=vt.length,He=-1,Bt=1,ar=0,kr=0,Ot,xt,Wt,_r,An,hr,Fi,ss,qt,Ba,$s,Vn,mn;function Tn(gr,Ln){if(Ue.safe)Ve+=Ln,qt=Ve.length-1;else throw Ue.error("Unclosed "+gr,Bt,ar-He,ar)}for(;ar<ut;){switch(Ot=Ve.charCodeAt(ar),Ot===i.newline&&(He=ar,Bt+=1),Ot){case i.space:case i.tab:case i.newline:case i.cr:case i.feed:qt=ar;do qt+=1,Ot=Ve.charCodeAt(qt),Ot===i.newline&&(He=qt,Bt+=1);while(Ot===i.space||Ot===i.newline||Ot===i.tab||Ot===i.cr||Ot===i.feed);mn=i.space,_r=Bt,Wt=qt-He-1,kr=qt;break;case i.plus:case i.greaterThan:case i.tilde:case i.pipe:qt=ar;do qt+=1,Ot=Ve.charCodeAt(qt);while(Ot===i.plus||Ot===i.greaterThan||Ot===i.tilde||Ot===i.pipe);mn=i.combinator,_r=Bt,Wt=ar-He,kr=qt;break;case i.asterisk:case i.ampersand:case i.bang:case i.comma:case i.equals:case i.dollar:case i.caret:case i.openSquare:case i.closeSquare:case i.colon:case i.semicolon:case i.openParenthesis:case i.closeParenthesis:qt=ar,mn=Ot,_r=Bt,Wt=ar-He,kr=qt+1;break;case i.singleQuote:case i.doubleQuote:Vn=Ot===i.singleQuote?"'":'"',qt=ar;do for(An=!1,qt=Ve.indexOf(Vn,qt+1),qt===-1&&Tn("quote",Vn),hr=qt;Ve.charCodeAt(hr-1)===i.backslash;)hr-=1,An=!An;while(An);mn=i.str,_r=Bt,Wt=ar-He,kr=qt+1;break;default:Ot===i.slash&&Ve.charCodeAt(ar+1)===i.asterisk?(qt=Ve.indexOf("*/",ar+2)+1,qt===0&&Tn("comment","*/"),xt=Ve.slice(ar,qt+1),ss=xt.split(`
`),Fi=ss.length-1,Fi>0?(Ba=Bt+Fi,$s=qt-ss[Fi].length):(Ba=Bt,$s=He),mn=i.comment,Bt=Ba,_r=Ba,Wt=qt-$s):Ot===i.slash?(qt=ar,mn=Ot,_r=Bt,Wt=ar-He,kr=qt+1):(qt=H(Ve,ar),mn=i.word,_r=Bt,Wt=qt-He),kr=qt+1;break}et.push([mn,Bt,ar-He,_r,Wt,ar,kr]),$s&&(He=$s,$s=null),ar=kr}return et}})(EWe);(function(o,i){i.__esModule=!0,i.default=void 0;var a=kr(lR),u=kr(fR),p=kr(_R),y=kr(pR),T=kr(dR),P=kr(mR),I=kr(hR),B=kr(gR),z=ar(n1e),H=kr(yR),Q=kr(vR),Ie=kr(bR),ze=kr(UX),Ue=ar(EWe),et=ar(co),Ve=ar(gl),vt=X1,ut,He;function Bt(){if(typeof WeakMap!="function")return null;var Tn=new WeakMap;return Bt=function(){return Tn},Tn}function ar(Tn){if(Tn&&Tn.__esModule)return Tn;if(Tn===null||typeof Tn!="object"&&typeof Tn!="function")return{default:Tn};var gr=Bt();if(gr&&gr.has(Tn))return gr.get(Tn);var Ln={},Fr=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var fr in Tn)if(Object.prototype.hasOwnProperty.call(Tn,fr)){var ji=Fr?Object.getOwnPropertyDescriptor(Tn,fr):null;ji&&(ji.get||ji.set)?Object.defineProperty(Ln,fr,ji):Ln[fr]=Tn[fr]}return Ln.default=Tn,gr&&gr.set(Tn,Ln),Ln}function kr(Tn){return Tn&&Tn.__esModule?Tn:{default:Tn}}function Ot(Tn,gr){for(var Ln=0;Ln<gr.length;Ln++){var Fr=gr[Ln];Fr.enumerable=Fr.enumerable||!1,Fr.configurable=!0,"value"in Fr&&(Fr.writable=!0),Object.defineProperty(Tn,Fr.key,Fr)}}function xt(Tn,gr,Ln){return gr&&Ot(Tn.prototype,gr),Ln&&Ot(Tn,Ln),Tn}var Wt=(ut={},ut[et.space]=!0,ut[et.cr]=!0,ut[et.feed]=!0,ut[et.newline]=!0,ut[et.tab]=!0,ut),_r=Object.assign({},Wt,(He={},He[et.comment]=!0,He));function An(Tn){return{line:Tn[Ue.FIELDS.START_LINE],column:Tn[Ue.FIELDS.START_COL]}}function hr(Tn){return{line:Tn[Ue.FIELDS.END_LINE],column:Tn[Ue.FIELDS.END_COL]}}function Fi(Tn,gr,Ln,Fr){return{start:{line:Tn,column:gr},end:{line:Ln,column:Fr}}}function ss(Tn){return Fi(Tn[Ue.FIELDS.START_LINE],Tn[Ue.FIELDS.START_COL],Tn[Ue.FIELDS.END_LINE],Tn[Ue.FIELDS.END_COL])}function qt(Tn,gr){if(Tn)return Fi(Tn[Ue.FIELDS.START_LINE],Tn[Ue.FIELDS.START_COL],gr[Ue.FIELDS.END_LINE],gr[Ue.FIELDS.END_COL])}function Ba(Tn,gr){var Ln=Tn[gr];if(typeof Ln=="string")return Ln.indexOf("\\")!==-1&&((0,vt.ensureObject)(Tn,"raws"),Tn[gr]=(0,vt.unesc)(Ln),Tn.raws[gr]===void 0&&(Tn.raws[gr]=Ln)),Tn}function $s(Tn,gr){for(var Ln=-1,Fr=[];(Ln=Tn.indexOf(gr,Ln+1))!==-1;)Fr.push(Ln);return Fr}function Vn(){var Tn=Array.prototype.concat.apply([],arguments);return Tn.filter(function(gr,Ln){return Ln===Tn.indexOf(gr)})}var mn=function(){function Tn(Ln,Fr){Fr===void 0&&(Fr={}),this.rule=Ln,this.options=Object.assign({lossy:!1,safe:!1},Fr),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,Ue.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var fr=qt(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new a.default({source:fr}),this.root.errorGenerator=this._errorGenerator();var ji=new u.default({source:{start:{line:1,column:1}}});this.root.append(ji),this.current=ji,this.loop()}var gr=Tn.prototype;return gr._errorGenerator=function(){var Fr=this;return function(fr,ji){return typeof Fr.rule=="string"?new Error(fr):Fr.rule.error(fr,ji)}},gr.attribute=function(){var Fr=[],fr=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[Ue.FIELDS.TYPE]!==et.closeSquare;)Fr.push(this.currToken),this.position++;if(this.currToken[Ue.FIELDS.TYPE]!==et.closeSquare)return this.expected("closing square bracket",this.currToken[Ue.FIELDS.START_POS]);var ji=Fr.length,lr={source:Fi(fr[1],fr[2],this.currToken[3],this.currToken[4]),sourceIndex:fr[Ue.FIELDS.START_POS]};if(ji===1&&!~[et.word].indexOf(Fr[0][Ue.FIELDS.TYPE]))return this.expected("attribute",Fr[0][Ue.FIELDS.START_POS]);for(var ei=0,fi="",fs="",Xs=null,or=!1;ei<ji;){var Oe=Fr[ei],jr=this.content(Oe),Cr=Fr[ei+1];switch(Oe[Ue.FIELDS.TYPE]){case et.space:if(or=!0,this.options.lossy)break;if(Xs){(0,vt.ensureObject)(lr,"spaces",Xs);var Ii=lr.spaces[Xs].after||"";lr.spaces[Xs].after=Ii+jr;var Vi=(0,vt.getProp)(lr,"raws","spaces",Xs,"after")||null;Vi&&(lr.raws.spaces[Xs].after=Vi+jr)}else fi=fi+jr,fs=fs+jr;break;case et.asterisk:if(Cr[Ue.FIELDS.TYPE]===et.equals)lr.operator=jr,Xs="operator";else if((!lr.namespace||Xs==="namespace"&&!or)&&Cr){fi&&((0,vt.ensureObject)(lr,"spaces","attribute"),lr.spaces.attribute.before=fi,fi=""),fs&&((0,vt.ensureObject)(lr,"raws","spaces","attribute"),lr.raws.spaces.attribute.before=fi,fs=""),lr.namespace=(lr.namespace||"")+jr;var Vs=(0,vt.getProp)(lr,"raws","namespace")||null;Vs&&(lr.raws.namespace+=jr),Xs="namespace"}or=!1;break;case et.dollar:if(Xs==="value"){var us=(0,vt.getProp)(lr,"raws","value");lr.value+="$",us&&(lr.raws.value=us+"$");break}case et.caret:Cr[Ue.FIELDS.TYPE]===et.equals&&(lr.operator=jr,Xs="operator"),or=!1;break;case et.combinator:if(jr==="~"&&Cr[Ue.FIELDS.TYPE]===et.equals&&(lr.operator=jr,Xs="operator"),jr!=="|"){or=!1;break}Cr[Ue.FIELDS.TYPE]===et.equals?(lr.operator=jr,Xs="operator"):!lr.namespace&&!lr.attribute&&(lr.namespace=!0),or=!1;break;case et.word:if(Cr&&this.content(Cr)==="|"&&Fr[ei+2]&&Fr[ei+2][Ue.FIELDS.TYPE]!==et.equals&&!lr.operator&&!lr.namespace)lr.namespace=jr,Xs="namespace";else if(!lr.attribute||Xs==="attribute"&&!or){fi&&((0,vt.ensureObject)(lr,"spaces","attribute"),lr.spaces.attribute.before=fi,fi=""),fs&&((0,vt.ensureObject)(lr,"raws","spaces","attribute"),lr.raws.spaces.attribute.before=fs,fs=""),lr.attribute=(lr.attribute||"")+jr;var Ss=(0,vt.getProp)(lr,"raws","attribute")||null;Ss&&(lr.raws.attribute+=jr),Xs="attribute"}else if(!lr.value&&lr.value!==""||Xs==="value"&&!(or||lr.quoteMark)){var es=(0,vt.unesc)(jr),Za=(0,vt.getProp)(lr,"raws","value")||"",la=lr.value||"";lr.value=la+es,lr.quoteMark=null,(es!==jr||Za)&&((0,vt.ensureObject)(lr,"raws"),lr.raws.value=(Za||la)+jr),Xs="value"}else{var lo=jr==="i"||jr==="I";(lr.value||lr.value==="")&&(lr.quoteMark||or)?(lr.insensitive=lo,(!lo||jr==="I")&&((0,vt.ensureObject)(lr,"raws"),lr.raws.insensitiveFlag=jr),Xs="insensitive",fi&&((0,vt.ensureObject)(lr,"spaces","insensitive"),lr.spaces.insensitive.before=fi,fi=""),fs&&((0,vt.ensureObject)(lr,"raws","spaces","insensitive"),lr.raws.spaces.insensitive.before=fs,fs="")):(lr.value||lr.value==="")&&(Xs="value",lr.value+=jr,lr.raws.value&&(lr.raws.value+=jr))}or=!1;break;case et.str:if(!lr.attribute||!lr.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:Oe[Ue.FIELDS.START_POS]});var ic=(0,z.unescapeValue)(jr),Yc=ic.unescaped,Oc=ic.quoteMark;lr.value=Yc,lr.quoteMark=Oc,Xs="value",(0,vt.ensureObject)(lr,"raws"),lr.raws.value=jr,or=!1;break;case et.equals:if(!lr.attribute)return this.expected("attribute",Oe[Ue.FIELDS.START_POS],jr);if(lr.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:Oe[Ue.FIELDS.START_POS]});lr.operator=lr.operator?lr.operator+jr:jr,Xs="operator",or=!1;break;case et.comment:if(Xs)if(or||Cr&&Cr[Ue.FIELDS.TYPE]===et.space||Xs==="insensitive"){var Hl=(0,vt.getProp)(lr,"spaces",Xs,"after")||"",m_=(0,vt.getProp)(lr,"raws","spaces",Xs,"after")||Hl;(0,vt.ensureObject)(lr,"raws","spaces",Xs),lr.raws.spaces[Xs].after=m_+jr}else{var $r=lr[Xs]||"",Mh=(0,vt.getProp)(lr,"raws",Xs)||$r;(0,vt.ensureObject)(lr,"raws"),lr.raws[Xs]=Mh+jr}else fs=fs+jr;break;default:return this.error('Unexpected "'+jr+'" found.',{index:Oe[Ue.FIELDS.START_POS]})}ei++}Ba(lr,"attribute"),Ba(lr,"namespace"),this.newNode(new z.default(lr)),this.position++},gr.parseWhitespaceEquivalentTokens=function(Fr){Fr<0&&(Fr=this.tokens.length);var fr=this.position,ji=[],lr="",ei=void 0;do if(Wt[this.currToken[Ue.FIELDS.TYPE]])this.options.lossy||(lr+=this.content());else if(this.currToken[Ue.FIELDS.TYPE]===et.comment){var fi={};lr&&(fi.before=lr,lr=""),ei=new y.default({value:this.content(),source:ss(this.currToken),sourceIndex:this.currToken[Ue.FIELDS.START_POS],spaces:fi}),ji.push(ei)}while(++this.position<Fr);if(lr){if(ei)ei.spaces.after=lr;else if(!this.options.lossy){var fs=this.tokens[fr],Xs=this.tokens[this.position-1];ji.push(new I.default({value:"",source:Fi(fs[Ue.FIELDS.START_LINE],fs[Ue.FIELDS.START_COL],Xs[Ue.FIELDS.END_LINE],Xs[Ue.FIELDS.END_COL]),sourceIndex:fs[Ue.FIELDS.START_POS],spaces:{before:lr,after:""}}))}}return ji},gr.convertWhitespaceNodesToSpace=function(Fr,fr){var ji=this;fr===void 0&&(fr=!1);var lr="",ei="";Fr.forEach(function(fs){var Xs=ji.lossySpace(fs.spaces.before,fr),or=ji.lossySpace(fs.rawSpaceBefore,fr);lr+=Xs+ji.lossySpace(fs.spaces.after,fr&&Xs.length===0),ei+=Xs+fs.value+ji.lossySpace(fs.rawSpaceAfter,fr&&or.length===0)}),ei===lr&&(ei=void 0);var fi={space:lr,rawSpace:ei};return fi},gr.isNamedCombinator=function(Fr){return Fr===void 0&&(Fr=this.position),this.tokens[Fr+0]&&this.tokens[Fr+0][Ue.FIELDS.TYPE]===et.slash&&this.tokens[Fr+1]&&this.tokens[Fr+1][Ue.FIELDS.TYPE]===et.word&&this.tokens[Fr+2]&&this.tokens[Fr+2][Ue.FIELDS.TYPE]===et.slash},gr.namedCombinator=function(){if(this.isNamedCombinator()){var Fr=this.content(this.tokens[this.position+1]),fr=(0,vt.unesc)(Fr).toLowerCase(),ji={};fr!==Fr&&(ji.value="/"+Fr+"/");var lr=new Q.default({value:"/"+fr+"/",source:Fi(this.currToken[Ue.FIELDS.START_LINE],this.currToken[Ue.FIELDS.START_COL],this.tokens[this.position+2][Ue.FIELDS.END_LINE],this.tokens[this.position+2][Ue.FIELDS.END_COL]),sourceIndex:this.currToken[Ue.FIELDS.START_POS],raws:ji});return this.position=this.position+3,lr}else this.unexpected()},gr.combinator=function(){var Fr=this;if(this.content()==="|")return this.namespace();var fr=this.locateNextMeaningfulToken(this.position);if(fr<0||this.tokens[fr][Ue.FIELDS.TYPE]===et.comma){var ji=this.parseWhitespaceEquivalentTokens(fr);if(ji.length>0){var lr=this.current.last;if(lr){var ei=this.convertWhitespaceNodesToSpace(ji),fi=ei.space,fs=ei.rawSpace;fs!==void 0&&(lr.rawSpaceAfter+=fs),lr.spaces.after+=fi}else ji.forEach(function(Za){return Fr.newNode(Za)})}return}var Xs=this.currToken,or=void 0;fr>this.position&&(or=this.parseWhitespaceEquivalentTokens(fr));var Oe;if(this.isNamedCombinator()?Oe=this.namedCombinator():this.currToken[Ue.FIELDS.TYPE]===et.combinator?(Oe=new Q.default({value:this.content(),source:ss(this.currToken),sourceIndex:this.currToken[Ue.FIELDS.START_POS]}),this.position++):Wt[this.currToken[Ue.FIELDS.TYPE]]||or||this.unexpected(),Oe){if(or){var jr=this.convertWhitespaceNodesToSpace(or),Cr=jr.space,Ii=jr.rawSpace;Oe.spaces.before=Cr,Oe.rawSpaceBefore=Ii}}else{var Vi=this.convertWhitespaceNodesToSpace(or,!0),Vs=Vi.space,us=Vi.rawSpace;us||(us=Vs);var Ss={},es={spaces:{}};Vs.endsWith(" ")&&us.endsWith(" ")?(Ss.before=Vs.slice(0,Vs.length-1),es.spaces.before=us.slice(0,us.length-1)):Vs.startsWith(" ")&&us.startsWith(" ")?(Ss.after=Vs.slice(1),es.spaces.after=us.slice(1)):es.value=us,Oe=new Q.default({value:" ",source:qt(Xs,this.tokens[this.position-1]),sourceIndex:Xs[Ue.FIELDS.START_POS],spaces:Ss,raws:es})}return this.currToken&&this.currToken[Ue.FIELDS.TYPE]===et.space&&(Oe.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(Oe)},gr.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var Fr=new u.default({source:{start:An(this.tokens[this.position+1])}});this.current.parent.append(Fr),this.current=Fr,this.position++},gr.comment=function(){var Fr=this.currToken;this.newNode(new y.default({value:this.content(),source:ss(Fr),sourceIndex:Fr[Ue.FIELDS.START_POS]})),this.position++},gr.error=function(Fr,fr){throw this.root.error(Fr,fr)},gr.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[Ue.FIELDS.START_POS]})},gr.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[Ue.FIELDS.START_POS])},gr.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[Ue.FIELDS.START_POS])},gr.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[Ue.FIELDS.START_POS])},gr.namespace=function(){var Fr=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[Ue.FIELDS.TYPE]===et.word)return this.position++,this.word(Fr);if(this.nextToken[Ue.FIELDS.TYPE]===et.asterisk)return this.position++,this.universal(Fr)},gr.nesting=function(){if(this.nextToken){var Fr=this.content(this.nextToken);if(Fr==="|"){this.position++;return}}var fr=this.currToken;this.newNode(new Ie.default({value:this.content(),source:ss(fr),sourceIndex:fr[Ue.FIELDS.START_POS]})),this.position++},gr.parentheses=function(){var Fr=this.current.last,fr=1;if(this.position++,Fr&&Fr.type===Ve.PSEUDO){var ji=new u.default({source:{start:An(this.tokens[this.position-1])}}),lr=this.current;for(Fr.append(ji),this.current=ji;this.position<this.tokens.length&&fr;)this.currToken[Ue.FIELDS.TYPE]===et.openParenthesis&&fr++,this.currToken[Ue.FIELDS.TYPE]===et.closeParenthesis&&fr--,fr?this.parse():(this.current.source.end=hr(this.currToken),this.current.parent.source.end=hr(this.currToken),this.position++);this.current=lr}else{for(var ei=this.currToken,fi="(",fs;this.position<this.tokens.length&&fr;)this.currToken[Ue.FIELDS.TYPE]===et.openParenthesis&&fr++,this.currToken[Ue.FIELDS.TYPE]===et.closeParenthesis&&fr--,fs=this.currToken,fi+=this.parseParenthesisToken(this.currToken),this.position++;Fr?Fr.appendToPropertyAndEscape("value",fi,fi):this.newNode(new I.default({value:fi,source:Fi(ei[Ue.FIELDS.START_LINE],ei[Ue.FIELDS.START_COL],fs[Ue.FIELDS.END_LINE],fs[Ue.FIELDS.END_COL]),sourceIndex:ei[Ue.FIELDS.START_POS]}))}if(fr)return this.expected("closing parenthesis",this.currToken[Ue.FIELDS.START_POS])},gr.pseudo=function(){for(var Fr=this,fr="",ji=this.currToken;this.currToken&&this.currToken[Ue.FIELDS.TYPE]===et.colon;)fr+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[Ue.FIELDS.TYPE]===et.word)this.splitWord(!1,function(lr,ei){fr+=lr,Fr.newNode(new B.default({value:fr,source:qt(ji,Fr.currToken),sourceIndex:ji[Ue.FIELDS.START_POS]})),ei>1&&Fr.nextToken&&Fr.nextToken[Ue.FIELDS.TYPE]===et.openParenthesis&&Fr.error("Misplaced parenthesis.",{index:Fr.nextToken[Ue.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[Ue.FIELDS.START_POS])},gr.space=function(){var Fr=this.content();this.position===0||this.prevToken[Ue.FIELDS.TYPE]===et.comma||this.prevToken[Ue.FIELDS.TYPE]===et.openParenthesis||this.current.nodes.every(function(fr){return fr.type==="comment"})?(this.spaces=this.optionalSpace(Fr),this.position++):this.position===this.tokens.length-1||this.nextToken[Ue.FIELDS.TYPE]===et.comma||this.nextToken[Ue.FIELDS.TYPE]===et.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(Fr),this.position++):this.combinator()},gr.string=function(){var Fr=this.currToken;this.newNode(new I.default({value:this.content(),source:ss(Fr),sourceIndex:Fr[Ue.FIELDS.START_POS]})),this.position++},gr.universal=function(Fr){var fr=this.nextToken;if(fr&&this.content(fr)==="|")return this.position++,this.namespace();var ji=this.currToken;this.newNode(new H.default({value:this.content(),source:ss(ji),sourceIndex:ji[Ue.FIELDS.START_POS]}),Fr),this.position++},gr.splitWord=function(Fr,fr){for(var ji=this,lr=this.nextToken,ei=this.content();lr&&~[et.dollar,et.caret,et.equals,et.word].indexOf(lr[Ue.FIELDS.TYPE]);){this.position++;var fi=this.content();if(ei+=fi,fi.lastIndexOf("\\")===fi.length-1){var fs=this.nextToken;fs&&fs[Ue.FIELDS.TYPE]===et.space&&(ei+=this.requiredSpace(this.content(fs)),this.position++)}lr=this.nextToken}var Xs=$s(ei,".").filter(function(Cr){var Ii=ei[Cr-1]==="\\",Vi=/^\d+\.\d+%$/.test(ei);return!Ii&&!Vi}),or=$s(ei,"#").filter(function(Cr){return ei[Cr-1]!=="\\"}),Oe=$s(ei,"#{");Oe.length&&(or=or.filter(function(Cr){return!~Oe.indexOf(Cr)}));var jr=(0,ze.default)(Vn([0].concat(Xs,or)));jr.forEach(function(Cr,Ii){var Vi=jr[Ii+1]||ei.length,Vs=ei.slice(Cr,Vi);if(Ii===0&&fr)return fr.call(ji,Vs,jr.length);var us,Ss=ji.currToken,es=Ss[Ue.FIELDS.START_POS]+jr[Ii],Za=Fi(Ss[1],Ss[2]+Cr,Ss[3],Ss[2]+(Vi-1));if(~Xs.indexOf(Cr)){var la={value:Vs.slice(1),source:Za,sourceIndex:es};us=new p.default(Ba(la,"value"))}else if(~or.indexOf(Cr)){var lo={value:Vs.slice(1),source:Za,sourceIndex:es};us=new T.default(Ba(lo,"value"))}else{var ic={value:Vs,source:Za,sourceIndex:es};Ba(ic,"value"),us=new P.default(ic)}ji.newNode(us,Fr),Fr=null}),this.position++},gr.word=function(Fr){var fr=this.nextToken;return fr&&this.content(fr)==="|"?(this.position++,this.namespace()):this.splitWord(Fr)},gr.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},gr.parse=function(Fr){switch(this.currToken[Ue.FIELDS.TYPE]){case et.space:this.space();break;case et.comment:this.comment();break;case et.openParenthesis:this.parentheses();break;case et.closeParenthesis:Fr&&this.missingParenthesis();break;case et.openSquare:this.attribute();break;case et.dollar:case et.caret:case et.equals:case et.word:this.word();break;case et.colon:this.pseudo();break;case et.comma:this.comma();break;case et.asterisk:this.universal();break;case et.ampersand:this.nesting();break;case et.slash:case et.combinator:this.combinator();break;case et.str:this.string();break;case et.closeSquare:this.missingSquareBracket();case et.semicolon:this.missingBackslash();default:this.unexpected()}},gr.expected=function(Fr,fr,ji){if(Array.isArray(Fr)){var lr=Fr.pop();Fr=Fr.join(", ")+" or "+lr}var ei=/^[aeiou]/.test(Fr[0])?"an":"a";return ji?this.error("Expected "+ei+" "+Fr+', found "'+ji+'" instead.',{index:fr}):this.error("Expected "+ei+" "+Fr+".",{index:fr})},gr.requiredSpace=function(Fr){return this.options.lossy?" ":Fr},gr.optionalSpace=function(Fr){return this.options.lossy?"":Fr},gr.lossySpace=function(Fr,fr){return this.options.lossy?fr?" ":"":Fr},gr.parseParenthesisToken=function(Fr){var fr=this.content(Fr);return Fr[Ue.FIELDS.TYPE]===et.space?this.requiredSpace(fr):fr},gr.newNode=function(Fr,fr){return fr&&(/^ +$/.test(fr)&&(this.options.lossy||(this.spaces=(this.spaces||"")+fr),fr=!0),Fr.namespace=fr,Ba(Fr,"namespace")),this.spaces&&(Fr.spaces.before=this.spaces,this.spaces=""),this.current.append(Fr)},gr.content=function(Fr){return Fr===void 0&&(Fr=this.currToken),this.css.slice(Fr[Ue.FIELDS.START_POS],Fr[Ue.FIELDS.END_POS])},gr.locateNextMeaningfulToken=function(Fr){Fr===void 0&&(Fr=this.position+1);for(var fr=Fr;fr<this.tokens.length;)if(_r[this.tokens[fr][Ue.FIELDS.TYPE]]){fr++;continue}else return fr;return-1},xt(Tn,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),Tn}();i.default=mn,o.exports=i.default})(r9t,RX);(function(o,i){i.__esModule=!0,i.default=void 0;var a=u(RX);function u(y){return y&&y.__esModule?y:{default:y}}var p=function(){function y(P,I){this.func=P||function(){},this.funcRes=null,this.options=I}var T=y.prototype;return T._shouldUpdateSelector=function(I,B){B===void 0&&(B={});var z=Object.assign({},this.options,B);return z.updateSelector===!1?!1:typeof I!="string"},T._isLossy=function(I){I===void 0&&(I={});var B=Object.assign({},this.options,I);return B.lossless===!1},T._root=function(I,B){B===void 0&&(B={});var z=new a.default(I,this._parseOptions(B));return z.root},T._parseOptions=function(I){return{lossy:this._isLossy(I)}},T._run=function(I,B){var z=this;return B===void 0&&(B={}),new Promise(function(H,Q){try{var Ie=z._root(I,B);Promise.resolve(z.func(Ie)).then(function(ze){var Ue=void 0;return z._shouldUpdateSelector(I,B)&&(Ue=Ie.toString(),I.selector=Ue),{transform:ze,root:Ie,string:Ue}}).then(H,Q)}catch(ze){Q(ze);return}})},T._runSync=function(I,B){B===void 0&&(B={});var z=this._root(I,B),H=this.func(z);if(H&&typeof H.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var Q=void 0;return B.updateSelector&&typeof I!="string"&&(Q=z.toString(),I.selector=Q),{transform:H,root:z,string:Q}},T.ast=function(I,B){return this._run(I,B).then(function(z){return z.root})},T.astSync=function(I,B){return this._runSync(I,B).root},T.transform=function(I,B){return this._run(I,B).then(function(z){return z.transform})},T.transformSync=function(I,B){return this._runSync(I,B).transform},T.process=function(I,B){return this._run(I,B).then(function(z){return z.string||z.root.toString()})},T.processSync=function(I,B){var z=this._runSync(I,B);return z.string||z.root.toString()},y}();i.default=p,o.exports=i.default})(t9t,FX);var PWe={},d_={};d_.__esModule=!0;d_.universal=d_.tag=d_.string=d_.selector=d_.root=d_.pseudo=d_.nesting=d_.id=d_.comment=d_.combinator=d_.className=d_.attribute=void 0;var TLt=Eb(n1e),SLt=Eb(_R),xLt=Eb(vR),kLt=Eb(pR),CLt=Eb(dR),wLt=Eb(bR),ELt=Eb(gR),ALt=Eb(lR),PLt=Eb(fR),DLt=Eb(hR),NLt=Eb(mR),ILt=Eb(yR);function Eb(o){return o&&o.__esModule?o:{default:o}}var OLt=function(i){return new TLt.default(i)};d_.attribute=OLt;var LLt=function(i){return new SLt.default(i)};d_.className=LLt;var MLt=function(i){return new xLt.default(i)};d_.combinator=MLt;var FLt=function(i){return new kLt.default(i)};d_.comment=FLt;var RLt=function(i){return new CLt.default(i)};d_.id=RLt;var BLt=function(i){return new wLt.default(i)};d_.nesting=BLt;var jLt=function(i){return new ELt.default(i)};d_.pseudo=jLt;var JLt=function(i){return new ALt.default(i)};d_.root=JLt;var ULt=function(i){return new PLt.default(i)};d_.selector=ULt;var zLt=function(i){return new DLt.default(i)};d_.string=zLt;var VLt=function(i){return new NLt.default(i)};d_.tag=VLt;var $Lt=function(i){return new ILt.default(i)};d_.universal=$Lt;var $u={};$u.__esModule=!0;$u.isNode=i1e;$u.isPseudoElement=IWe;$u.isPseudoClass=tMt;$u.isContainer=rMt;$u.isNamespace=nMt;$u.isUniversal=$u.isTag=$u.isString=$u.isSelector=$u.isRoot=$u.isPseudo=$u.isNesting=$u.isIdentifier=$u.isComment=$u.isCombinator=$u.isClassName=$u.isAttribute=void 0;var tp=gl,N0,qLt=(N0={},N0[tp.ATTRIBUTE]=!0,N0[tp.CLASS]=!0,N0[tp.COMBINATOR]=!0,N0[tp.COMMENT]=!0,N0[tp.ID]=!0,N0[tp.NESTING]=!0,N0[tp.PSEUDO]=!0,N0[tp.ROOT]=!0,N0[tp.SELECTOR]=!0,N0[tp.STRING]=!0,N0[tp.TAG]=!0,N0[tp.UNIVERSAL]=!0,N0);function i1e(o){return typeof o=="object"&&qLt[o.type]}function Ab(o,i){return i1e(i)&&i.type===o}var DWe=Ab.bind(null,tp.ATTRIBUTE);$u.isAttribute=DWe;var WLt=Ab.bind(null,tp.CLASS);$u.isClassName=WLt;var HLt=Ab.bind(null,tp.COMBINATOR);$u.isCombinator=HLt;var GLt=Ab.bind(null,tp.COMMENT);$u.isComment=GLt;var XLt=Ab.bind(null,tp.ID);$u.isIdentifier=XLt;var QLt=Ab.bind(null,tp.NESTING);$u.isNesting=QLt;var s1e=Ab.bind(null,tp.PSEUDO);$u.isPseudo=s1e;var YLt=Ab.bind(null,tp.ROOT);$u.isRoot=YLt;var ZLt=Ab.bind(null,tp.SELECTOR);$u.isSelector=ZLt;var KLt=Ab.bind(null,tp.STRING);$u.isString=KLt;var NWe=Ab.bind(null,tp.TAG);$u.isTag=NWe;var eMt=Ab.bind(null,tp.UNIVERSAL);$u.isUniversal=eMt;function IWe(o){return s1e(o)&&o.value&&(o.value.startsWith("::")||o.value.toLowerCase()===":before"||o.value.toLowerCase()===":after"||o.value.toLowerCase()===":first-letter"||o.value.toLowerCase()===":first-line")}function tMt(o){return s1e(o)&&!IWe(o)}function rMt(o){return!!(i1e(o)&&o.walk)}function nMt(o){return DWe(o)||NWe(o)}(function(o){o.__esModule=!0;var i=gl;Object.keys(i).forEach(function(p){p==="default"||p==="__esModule"||p in o&&o[p]===i[p]||(o[p]=i[p])});var a=d_;Object.keys(a).forEach(function(p){p==="default"||p==="__esModule"||p in o&&o[p]===a[p]||(o[p]=a[p])});var u=$u;Object.keys(u).forEach(function(p){p==="default"||p==="__esModule"||p in o&&o[p]===u[p]||(o[p]=u[p])})})(PWe);(function(o,i){i.__esModule=!0,i.default=void 0;var a=T(FX),u=y(PWe);function p(){if(typeof WeakMap!="function")return null;var B=new WeakMap;return p=function(){return B},B}function y(B){if(B&&B.__esModule)return B;if(B===null||typeof B!="object"&&typeof B!="function")return{default:B};var z=p();if(z&&z.has(B))return z.get(B);var H={},Q=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ie in B)if(Object.prototype.hasOwnProperty.call(B,Ie)){var ze=Q?Object.getOwnPropertyDescriptor(B,Ie):null;ze&&(ze.get||ze.set)?Object.defineProperty(H,Ie,ze):H[Ie]=B[Ie]}return H.default=B,z&&z.set(B,H),H}function T(B){return B&&B.__esModule?B:{default:B}}var P=function(z){return new a.default(z)};Object.assign(P,u),delete P.__esModule;var I=P;i.default=I,o.exports=i.default})(e9t,MX);var Cge=E3t(MX);const iMt=/^(-\w+-)?animation-name$/,sMt=/^(-\w+-)?animation$/,OWe=(o="")=>{const i=Object.create(null),a=o.replace(/^data-v-/,"");return{postcssPlugin:"vue-sfc-scoped",Rule(u){aMt(o,u)},AtRule(u){/-?keyframes$/.test(u.name)&&!u.params.endsWith(`-${a}`)&&(i[u.params]=u.params=u.params+"-"+a)},OnceExit(u){Object.keys(i).length&&u.walkDecls(p=>{iMt.test(p.prop)&&(p.value=p.value.split(",").map(y=>i[y.trim()]||y.trim()).join(",")),sMt.test(p.prop)&&(p.value=p.value.split(",").map(y=>{const T=y.trim().split(/\s+/),P=T.findIndex(I=>i[I]);return P!==-1?(T.splice(P,1,i[T[P]]),T.join(" ")):y}).join(","))})}}},TJe=new WeakSet;function aMt(o,i){TJe.has(i)||i.parent&&i.parent.type==="atrule"&&/-?keyframes$/.test(i.parent.name)||(TJe.add(i),i.selector=Cge(a=>{a.each(u=>{LWe(o,u,a)})}).processSync(i.selector))}function LWe(o,i,a,u=!1){let p=null,y=!0;if(i.each(T=>{if(T.type==="combinator"&&(T.value===">>>"||T.value==="/deep/"))return T.value=" ",T.spaces.before=T.spaces.after="",lge("the >>> and /deep/ combinators have been deprecated. Use :deep() instead."),!1;if(T.type==="pseudo"){const{value:P}=T;if(P===":deep"||P==="::v-deep"){if(T.nodes.length){let I=T;T.nodes[0].each(z=>{i.insertAfter(I,z),I=z});const B=i.at(i.index(T)-1);(!B||!SJe(B))&&i.insertAfter(T,Cge.combinator({value:" "})),i.removeChild(T)}else{lge("::v-deep usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead.");const I=i.at(i.index(T)-1);I&&SJe(I)&&i.removeChild(I),i.removeChild(T)}return!1}if(P===":slotted"||P==="::v-slotted"){LWe(o,T.nodes[0],a,!0);let I=T;return T.nodes[0].each(B=>{i.insertAfter(I,B),I=B}),i.removeChild(T),y=!1,!1}if(P===":global"||P==="::v-global")return a.insertAfter(i,T.nodes[0]),a.removeChild(i),!1}T.type!=="pseudo"&&T.type!=="combinator"&&(p=T)}),p?p.spaces.after="":i.first.spaces.before="",y){const T=u?o+"-s":o;i.insertAfter(p,Cge.attribute({attribute:T,value:T,raws:{},quoteMark:'"'}))}}function SJe(o){return o.type==="combinator"&&/^\s+$/.test(o.value)}OWe.postcss=!0;var oMt=OWe,rY={},a1e={},nY={},o1e={},xJe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");o1e.encode=function(o){if(0<=o&&o<xJe.length)return xJe[o];throw new TypeError("Must be between 0 and 63: "+o)};o1e.decode=function(o){var i=65,a=90,u=97,p=122,y=48,T=57,P=43,I=47,B=26,z=52;return i<=o&&o<=a?o-i:u<=o&&o<=p?o-u+B:y<=o&&o<=T?o-y+z:o==P?62:o==I?63:-1};var MWe=o1e,c1e=5,FWe=1<<c1e,RWe=FWe-1,BWe=FWe;function cMt(o){return o<0?(-o<<1)+1:(o<<1)+0}function lMt(o){var i=(o&1)===1,a=o>>1;return i?-a:a}nY.encode=function(i){var a="",u,p=cMt(i);do u=p&RWe,p>>>=c1e,p>0&&(u|=BWe),a+=MWe.encode(u);while(p>0);return a};nY.decode=function(i,a,u){var p=i.length,y=0,T=0,P,I;do{if(a>=p)throw new Error("Expected more digits in base 64 VLQ value.");if(I=MWe.decode(i.charCodeAt(a++)),I===-1)throw new Error("Invalid base64 digit: "+i.charAt(a-1));P=!!(I&BWe),I&=RWe,y=y+(I<<T),T+=c1e}while(P);u.value=lMt(y),u.rest=a};var II={};(function(o){function i(He,Bt,ar){if(Bt in He)return He[Bt];if(arguments.length===3)return ar;throw new Error('"'+Bt+'" is a required argument.')}o.getArg=i;var a=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,u=/^data:.+\,.+$/;function p(He){var Bt=He.match(a);return Bt?{scheme:Bt[1],auth:Bt[2],host:Bt[3],port:Bt[4],path:Bt[5]}:null}o.urlParse=p;function y(He){var Bt="";return He.scheme&&(Bt+=He.scheme+":"),Bt+="//",He.auth&&(Bt+=He.auth+"@"),He.host&&(Bt+=He.host),He.port&&(Bt+=":"+He.port),He.path&&(Bt+=He.path),Bt}o.urlGenerate=y;function T(He){var Bt=He,ar=p(He);if(ar){if(!ar.path)return He;Bt=ar.path}for(var kr=o.isAbsolute(Bt),Ot=Bt.split(/\/+/),xt,Wt=0,_r=Ot.length-1;_r>=0;_r--)xt=Ot[_r],xt==="."?Ot.splice(_r,1):xt===".."?Wt++:Wt>0&&(xt===""?(Ot.splice(_r+1,Wt),Wt=0):(Ot.splice(_r,2),Wt--));return Bt=Ot.join("/"),Bt===""&&(Bt=kr?"/":"."),ar?(ar.path=Bt,y(ar)):Bt}o.normalize=T;function P(He,Bt){He===""&&(He="."),Bt===""&&(Bt=".");var ar=p(Bt),kr=p(He);if(kr&&(He=kr.path||"/"),ar&&!ar.scheme)return kr&&(ar.scheme=kr.scheme),y(ar);if(ar||Bt.match(u))return Bt;if(kr&&!kr.host&&!kr.path)return kr.host=Bt,y(kr);var Ot=Bt.charAt(0)==="/"?Bt:T(He.replace(/\/+$/,"")+"/"+Bt);return kr?(kr.path=Ot,y(kr)):Ot}o.join=P,o.isAbsolute=function(He){return He.charAt(0)==="/"||a.test(He)};function I(He,Bt){He===""&&(He="."),He=He.replace(/\/$/,"");for(var ar=0;Bt.indexOf(He+"/")!==0;){var kr=He.lastIndexOf("/");if(kr<0||(He=He.slice(0,kr),He.match(/^([^\/]+:\/)?\/*$/)))return Bt;++ar}return Array(ar+1).join("../")+Bt.substr(He.length+1)}o.relative=I;var B=function(){var He=Object.create(null);return!("__proto__"in He)}();function z(He){return He}function H(He){return Ie(He)?"$"+He:He}o.toSetString=B?z:H;function Q(He){return Ie(He)?He.slice(1):He}o.fromSetString=B?z:Q;function Ie(He){if(!He)return!1;var Bt=He.length;if(Bt<9||He.charCodeAt(Bt-1)!==95||He.charCodeAt(Bt-2)!==95||He.charCodeAt(Bt-3)!==111||He.charCodeAt(Bt-4)!==116||He.charCodeAt(Bt-5)!==111||He.charCodeAt(Bt-6)!==114||He.charCodeAt(Bt-7)!==112||He.charCodeAt(Bt-8)!==95||He.charCodeAt(Bt-9)!==95)return!1;for(var ar=Bt-10;ar>=0;ar--)if(He.charCodeAt(ar)!==36)return!1;return!0}function ze(He,Bt,ar){var kr=et(He.source,Bt.source);return kr!==0||(kr=He.originalLine-Bt.originalLine,kr!==0)||(kr=He.originalColumn-Bt.originalColumn,kr!==0||ar)||(kr=He.generatedColumn-Bt.generatedColumn,kr!==0)||(kr=He.generatedLine-Bt.generatedLine,kr!==0)?kr:et(He.name,Bt.name)}o.compareByOriginalPositions=ze;function Ue(He,Bt,ar){var kr=He.generatedLine-Bt.generatedLine;return kr!==0||(kr=He.generatedColumn-Bt.generatedColumn,kr!==0||ar)||(kr=et(He.source,Bt.source),kr!==0)||(kr=He.originalLine-Bt.originalLine,kr!==0)||(kr=He.originalColumn-Bt.originalColumn,kr!==0)?kr:et(He.name,Bt.name)}o.compareByGeneratedPositionsDeflated=Ue;function et(He,Bt){return He===Bt?0:He===null?1:Bt===null?-1:He>Bt?1:-1}function Ve(He,Bt){var ar=He.generatedLine-Bt.generatedLine;return ar!==0||(ar=He.generatedColumn-Bt.generatedColumn,ar!==0)||(ar=et(He.source,Bt.source),ar!==0)||(ar=He.originalLine-Bt.originalLine,ar!==0)||(ar=He.originalColumn-Bt.originalColumn,ar!==0)?ar:et(He.name,Bt.name)}o.compareByGeneratedPositionsInflated=Ve;function vt(He){return JSON.parse(He.replace(/^\)]}'[^\n]*\n/,""))}o.parseSourceMapInput=vt;function ut(He,Bt,ar){if(Bt=Bt||"",He&&(He[He.length-1]!=="/"&&Bt[0]!=="/"&&(He+="/"),Bt=He+Bt),ar){var kr=p(ar);if(!kr)throw new Error("sourceMapURL could not be parsed");if(kr.path){var Ot=kr.path.lastIndexOf("/");Ot>=0&&(kr.path=kr.path.substring(0,Ot+1))}Bt=P(y(kr),Bt)}return T(Bt)}o.computeSourceURL=ut})(II);var l1e={},u1e=II,f1e=Object.prototype.hasOwnProperty,hA=typeof Map<"u";function fC(){this._array=[],this._set=hA?new Map:Object.create(null)}fC.fromArray=function(i,a){for(var u=new fC,p=0,y=i.length;p<y;p++)u.add(i[p],a);return u};fC.prototype.size=function(){return hA?this._set.size:Object.getOwnPropertyNames(this._set).length};fC.prototype.add=function(i,a){var u=hA?i:u1e.toSetString(i),p=hA?this.has(i):f1e.call(this._set,u),y=this._array.length;(!p||a)&&this._array.push(i),p||(hA?this._set.set(i,y):this._set[u]=y)};fC.prototype.has=function(i){if(hA)return this._set.has(i);var a=u1e.toSetString(i);return f1e.call(this._set,a)};fC.prototype.indexOf=function(i){if(hA){var a=this._set.get(i);if(a>=0)return a}else{var u=u1e.toSetString(i);if(f1e.call(this._set,u))return this._set[u]}throw new Error('"'+i+'" is not in the set.')};fC.prototype.at=function(i){if(i>=0&&i<this._array.length)return this._array[i];throw new Error("No element indexed by "+i)};fC.prototype.toArray=function(){return this._array.slice()};l1e.ArraySet=fC;var jWe={},JWe=II;function uMt(o,i){var a=o.generatedLine,u=i.generatedLine,p=o.generatedColumn,y=i.generatedColumn;return u>a||u==a&&y>=p||JWe.compareByGeneratedPositionsInflated(o,i)<=0}function iY(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}iY.prototype.unsortedForEach=function(i,a){this._array.forEach(i,a)};iY.prototype.add=function(i){uMt(this._last,i)?(this._last=i,this._array.push(i)):(this._sorted=!1,this._array.push(i))};iY.prototype.toArray=function(){return this._sorted||(this._array.sort(JWe.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};jWe.MappingList=iY;var cF=nY,Md=II,zX=l1e.ArraySet,fMt=jWe.MappingList;function wb(o){o||(o={}),this._file=Md.getArg(o,"file",null),this._sourceRoot=Md.getArg(o,"sourceRoot",null),this._skipValidation=Md.getArg(o,"skipValidation",!1),this._sources=new zX,this._names=new zX,this._mappings=new fMt,this._sourcesContents=null}wb.prototype._version=3;wb.fromSourceMap=function(i){var a=i.sourceRoot,u=new wb({file:i.file,sourceRoot:a});return i.eachMapping(function(p){var y={generated:{line:p.generatedLine,column:p.generatedColumn}};p.source!=null&&(y.source=p.source,a!=null&&(y.source=Md.relative(a,y.source)),y.original={line:p.originalLine,column:p.originalColumn},p.name!=null&&(y.name=p.name)),u.addMapping(y)}),i.sources.forEach(function(p){var y=p;a!==null&&(y=Md.relative(a,p)),u._sources.has(y)||u._sources.add(y);var T=i.sourceContentFor(p);T!=null&&u.setSourceContent(p,T)}),u};wb.prototype.addMapping=function(i){var a=Md.getArg(i,"generated"),u=Md.getArg(i,"original",null),p=Md.getArg(i,"source",null),y=Md.getArg(i,"name",null);this._skipValidation||this._validateMapping(a,u,p,y),p!=null&&(p=String(p),this._sources.has(p)||this._sources.add(p)),y!=null&&(y=String(y),this._names.has(y)||this._names.add(y)),this._mappings.add({generatedLine:a.line,generatedColumn:a.column,originalLine:u!=null&&u.line,originalColumn:u!=null&&u.column,source:p,name:y})};wb.prototype.setSourceContent=function(i,a){var u=i;this._sourceRoot!=null&&(u=Md.relative(this._sourceRoot,u)),a!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Md.toSetString(u)]=a):this._sourcesContents&&(delete this._sourcesContents[Md.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};wb.prototype.applySourceMap=function(i,a,u){var p=a;if(a==null){if(i.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);p=i.file}var y=this._sourceRoot;y!=null&&(p=Md.relative(y,p));var T=new zX,P=new zX;this._mappings.unsortedForEach(function(I){if(I.source===p&&I.originalLine!=null){var B=i.originalPositionFor({line:I.originalLine,column:I.originalColumn});B.source!=null&&(I.source=B.source,u!=null&&(I.source=Md.join(u,I.source)),y!=null&&(I.source=Md.relative(y,I.source)),I.originalLine=B.line,I.originalColumn=B.column,B.name!=null&&(I.name=B.name))}var z=I.source;z!=null&&!T.has(z)&&T.add(z);var H=I.name;H!=null&&!P.has(H)&&P.add(H)},this),this._sources=T,this._names=P,i.sources.forEach(function(I){var B=i.sourceContentFor(I);B!=null&&(u!=null&&(I=Md.join(u,I)),y!=null&&(I=Md.relative(y,I)),this.setSourceContent(I,B))},this)};wb.prototype._validateMapping=function(i,a,u,p){if(a&&typeof a.line!="number"&&typeof a.column!="number")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(!(i&&"line"in i&&"column"in i&&i.line>0&&i.column>=0&&!a&&!u&&!p)){if(i&&"line"in i&&"column"in i&&a&&"line"in a&&"column"in a&&i.line>0&&i.column>=0&&a.line>0&&a.column>=0&&u)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:i,source:u,original:a,name:p}))}};wb.prototype._serializeMappings=function(){for(var i=0,a=1,u=0,p=0,y=0,T=0,P="",I,B,z,H,Q=this._mappings.toArray(),Ie=0,ze=Q.length;Ie<ze;Ie++){if(B=Q[Ie],I="",B.generatedLine!==a)for(i=0;B.generatedLine!==a;)I+=";",a++;else if(Ie>0){if(!Md.compareByGeneratedPositionsInflated(B,Q[Ie-1]))continue;I+=","}I+=cF.encode(B.generatedColumn-i),i=B.generatedColumn,B.source!=null&&(H=this._sources.indexOf(B.source),I+=cF.encode(H-T),T=H,I+=cF.encode(B.originalLine-1-p),p=B.originalLine-1,I+=cF.encode(B.originalColumn-u),u=B.originalColumn,B.name!=null&&(z=this._names.indexOf(B.name),I+=cF.encode(z-y),y=z)),P+=I}return P};wb.prototype._generateSourcesContent=function(i,a){return i.map(function(u){if(!this._sourcesContents)return null;a!=null&&(u=Md.relative(a,u));var p=Md.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,p)?this._sourcesContents[p]:null},this)};wb.prototype.toJSON=function(){var i={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(i.file=this._file),this._sourceRoot!=null&&(i.sourceRoot=this._sourceRoot),this._sourcesContents&&(i.sourcesContent=this._generateSourcesContent(i.sources,i.sourceRoot)),i};wb.prototype.toString=function(){return JSON.stringify(this.toJSON())};a1e.SourceMapGenerator=wb;var sY={},UWe={};(function(o){o.GREATEST_LOWER_BOUND=1,o.LEAST_UPPER_BOUND=2;function i(a,u,p,y,T,P){var I=Math.floor((u-a)/2)+a,B=T(p,y[I],!0);return B===0?I:B>0?u-I>1?i(I,u,p,y,T,P):P==o.LEAST_UPPER_BOUND?u<y.length?u:-1:I:I-a>1?i(a,I,p,y,T,P):P==o.LEAST_UPPER_BOUND?I:a<0?-1:a}o.search=function(u,p,y,T){if(p.length===0)return-1;var P=i(-1,p.length,u,p,y,T||o.GREATEST_LOWER_BOUND);if(P<0)return-1;for(;P-1>=0&&y(p[P],p[P-1],!0)===0;)--P;return P}})(UWe);var zWe={};function che(o,i,a){var u=o[i];o[i]=o[a],o[a]=u}function _Mt(o,i){return Math.round(o+Math.random()*(i-o))}function wge(o,i,a,u){if(a<u){var p=_Mt(a,u),y=a-1;che(o,p,u);for(var T=o[u],P=a;P<u;P++)i(o[P],T)<=0&&(y+=1,che(o,y,P));che(o,y+1,P);var I=y+1;wge(o,i,a,I-1),wge(o,i,I+1,u)}}zWe.quickSort=function(o,i){wge(o,i,0,o.length-1)};var xo=II,_1e=UWe,_I=l1e.ArraySet,pMt=nY,TR=zWe.quickSort;function M_(o,i){var a=o;return typeof o=="string"&&(a=xo.parseSourceMapInput(o)),a.sections!=null?new eT(a,i):new Oh(a,i)}M_.fromSourceMap=function(o,i){return Oh.fromSourceMap(o,i)};M_.prototype._version=3;M_.prototype.__generatedMappings=null;Object.defineProperty(M_.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});M_.prototype.__originalMappings=null;Object.defineProperty(M_.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});M_.prototype._charIsMappingSeparator=function(i,a){var u=i.charAt(a);return u===";"||u===","};M_.prototype._parseMappings=function(i,a){throw new Error("Subclasses must implement _parseMappings")};M_.GENERATED_ORDER=1;M_.ORIGINAL_ORDER=2;M_.GREATEST_LOWER_BOUND=1;M_.LEAST_UPPER_BOUND=2;M_.prototype.eachMapping=function(i,a,u){var p=a||null,y=u||M_.GENERATED_ORDER,T;switch(y){case M_.GENERATED_ORDER:T=this._generatedMappings;break;case M_.ORIGINAL_ORDER:T=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var P=this.sourceRoot;T.map(function(I){var B=I.source===null?null:this._sources.at(I.source);return B=xo.computeSourceURL(P,B,this._sourceMapURL),{source:B,generatedLine:I.generatedLine,generatedColumn:I.generatedColumn,originalLine:I.originalLine,originalColumn:I.originalColumn,name:I.name===null?null:this._names.at(I.name)}},this).forEach(i,p)};M_.prototype.allGeneratedPositionsFor=function(i){var a=xo.getArg(i,"line"),u={source:xo.getArg(i,"source"),originalLine:a,originalColumn:xo.getArg(i,"column",0)};if(u.source=this._findSourceIndex(u.source),u.source<0)return[];var p=[],y=this._findMapping(u,this._originalMappings,"originalLine","originalColumn",xo.compareByOriginalPositions,_1e.LEAST_UPPER_BOUND);if(y>=0){var T=this._originalMappings[y];if(i.column===void 0)for(var P=T.originalLine;T&&T.originalLine===P;)p.push({line:xo.getArg(T,"generatedLine",null),column:xo.getArg(T,"generatedColumn",null),lastColumn:xo.getArg(T,"lastGeneratedColumn",null)}),T=this._originalMappings[++y];else for(var I=T.originalColumn;T&&T.originalLine===a&&T.originalColumn==I;)p.push({line:xo.getArg(T,"generatedLine",null),column:xo.getArg(T,"generatedColumn",null),lastColumn:xo.getArg(T,"lastGeneratedColumn",null)}),T=this._originalMappings[++y]}return p};sY.SourceMapConsumer=M_;function Oh(o,i){var a=o;typeof o=="string"&&(a=xo.parseSourceMapInput(o));var u=xo.getArg(a,"version"),p=xo.getArg(a,"sources"),y=xo.getArg(a,"names",[]),T=xo.getArg(a,"sourceRoot",null),P=xo.getArg(a,"sourcesContent",null),I=xo.getArg(a,"mappings"),B=xo.getArg(a,"file",null);if(u!=this._version)throw new Error("Unsupported version: "+u);T&&(T=xo.normalize(T)),p=p.map(String).map(xo.normalize).map(function(z){return T&&xo.isAbsolute(T)&&xo.isAbsolute(z)?xo.relative(T,z):z}),this._names=_I.fromArray(y.map(String),!0),this._sources=_I.fromArray(p,!0),this._absoluteSources=this._sources.toArray().map(function(z){return xo.computeSourceURL(T,z,i)}),this.sourceRoot=T,this.sourcesContent=P,this._mappings=I,this._sourceMapURL=i,this.file=B}Oh.prototype=Object.create(M_.prototype);Oh.prototype.consumer=M_;Oh.prototype._findSourceIndex=function(o){var i=o;if(this.sourceRoot!=null&&(i=xo.relative(this.sourceRoot,i)),this._sources.has(i))return this._sources.indexOf(i);var a;for(a=0;a<this._absoluteSources.length;++a)if(this._absoluteSources[a]==o)return a;return-1};Oh.fromSourceMap=function(i,a){var u=Object.create(Oh.prototype),p=u._names=_I.fromArray(i._names.toArray(),!0),y=u._sources=_I.fromArray(i._sources.toArray(),!0);u.sourceRoot=i._sourceRoot,u.sourcesContent=i._generateSourcesContent(u._sources.toArray(),u.sourceRoot),u.file=i._file,u._sourceMapURL=a,u._absoluteSources=u._sources.toArray().map(function(Ie){return xo.computeSourceURL(u.sourceRoot,Ie,a)});for(var T=i._mappings.toArray().slice(),P=u.__generatedMappings=[],I=u.__originalMappings=[],B=0,z=T.length;B<z;B++){var H=T[B],Q=new VWe;Q.generatedLine=H.generatedLine,Q.generatedColumn=H.generatedColumn,H.source&&(Q.source=y.indexOf(H.source),Q.originalLine=H.originalLine,Q.originalColumn=H.originalColumn,H.name&&(Q.name=p.indexOf(H.name)),I.push(Q)),P.push(Q)}return TR(u.__originalMappings,xo.compareByOriginalPositions),u};Oh.prototype._version=3;Object.defineProperty(Oh.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function VWe(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}Oh.prototype._parseMappings=function(i,a){for(var u=1,p=0,y=0,T=0,P=0,I=0,B=i.length,z=0,H={},Q={},Ie=[],ze=[],Ue,et,Ve,vt,ut;z<B;)if(i.charAt(z)===";")u++,z++,p=0;else if(i.charAt(z)===",")z++;else{for(Ue=new VWe,Ue.generatedLine=u,vt=z;vt<B&&!this._charIsMappingSeparator(i,vt);vt++);if(et=i.slice(z,vt),Ve=H[et],Ve)z+=et.length;else{for(Ve=[];z<vt;)pMt.decode(i,z,Q),ut=Q.value,z=Q.rest,Ve.push(ut);if(Ve.length===2)throw new Error("Found a source, but no line and column");if(Ve.length===3)throw new Error("Found a source and line, but no column");H[et]=Ve}Ue.generatedColumn=p+Ve[0],p=Ue.generatedColumn,Ve.length>1&&(Ue.source=P+Ve[1],P+=Ve[1],Ue.originalLine=y+Ve[2],y=Ue.originalLine,Ue.originalLine+=1,Ue.originalColumn=T+Ve[3],T=Ue.originalColumn,Ve.length>4&&(Ue.name=I+Ve[4],I+=Ve[4])),ze.push(Ue),typeof Ue.originalLine=="number"&&Ie.push(Ue)}TR(ze,xo.compareByGeneratedPositionsDeflated),this.__generatedMappings=ze,TR(Ie,xo.compareByOriginalPositions),this.__originalMappings=Ie};Oh.prototype._findMapping=function(i,a,u,p,y,T){if(i[u]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+i[u]);if(i[p]<0)throw new TypeError("Column must be greater than or equal to 0, got "+i[p]);return _1e.search(i,a,y,T)};Oh.prototype.computeColumnSpans=function(){for(var i=0;i<this._generatedMappings.length;++i){var a=this._generatedMappings[i];if(i+1<this._generatedMappings.length){var u=this._generatedMappings[i+1];if(a.generatedLine===u.generatedLine){a.lastGeneratedColumn=u.generatedColumn-1;continue}}a.lastGeneratedColumn=1/0}};Oh.prototype.originalPositionFor=function(i){var a={generatedLine:xo.getArg(i,"line"),generatedColumn:xo.getArg(i,"column")},u=this._findMapping(a,this._generatedMappings,"generatedLine","generatedColumn",xo.compareByGeneratedPositionsDeflated,xo.getArg(i,"bias",M_.GREATEST_LOWER_BOUND));if(u>=0){var p=this._generatedMappings[u];if(p.generatedLine===a.generatedLine){var y=xo.getArg(p,"source",null);y!==null&&(y=this._sources.at(y),y=xo.computeSourceURL(this.sourceRoot,y,this._sourceMapURL));var T=xo.getArg(p,"name",null);return T!==null&&(T=this._names.at(T)),{source:y,line:xo.getArg(p,"originalLine",null),column:xo.getArg(p,"originalColumn",null),name:T}}}return{source:null,line:null,column:null,name:null}};Oh.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(i){return i==null}):!1};Oh.prototype.sourceContentFor=function(i,a){if(!this.sourcesContent)return null;var u=this._findSourceIndex(i);if(u>=0)return this.sourcesContent[u];var p=i;this.sourceRoot!=null&&(p=xo.relative(this.sourceRoot,p));var y;if(this.sourceRoot!=null&&(y=xo.urlParse(this.sourceRoot))){var T=p.replace(/^file:\/\//,"");if(y.scheme=="file"&&this._sources.has(T))return this.sourcesContent[this._sources.indexOf(T)];if((!y.path||y.path=="/")&&this._sources.has("/"+p))return this.sourcesContent[this._sources.indexOf("/"+p)]}if(a)return null;throw new Error('"'+p+'" is not in the SourceMap.')};Oh.prototype.generatedPositionFor=function(i){var a=xo.getArg(i,"source");if(a=this._findSourceIndex(a),a<0)return{line:null,column:null,lastColumn:null};var u={source:a,originalLine:xo.getArg(i,"line"),originalColumn:xo.getArg(i,"column")},p=this._findMapping(u,this._originalMappings,"originalLine","originalColumn",xo.compareByOriginalPositions,xo.getArg(i,"bias",M_.GREATEST_LOWER_BOUND));if(p>=0){var y=this._originalMappings[p];if(y.source===u.source)return{line:xo.getArg(y,"generatedLine",null),column:xo.getArg(y,"generatedColumn",null),lastColumn:xo.getArg(y,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};sY.BasicSourceMapConsumer=Oh;function eT(o,i){var a=o;typeof o=="string"&&(a=xo.parseSourceMapInput(o));var u=xo.getArg(a,"version"),p=xo.getArg(a,"sections");if(u!=this._version)throw new Error("Unsupported version: "+u);this._sources=new _I,this._names=new _I;var y={line:-1,column:0};this._sections=p.map(function(T){if(T.url)throw new Error("Support for url field in sections not implemented.");var P=xo.getArg(T,"offset"),I=xo.getArg(P,"line"),B=xo.getArg(P,"column");if(I<y.line||I===y.line&&B<y.column)throw new Error("Section offsets must be ordered and non-overlapping.");return y=P,{generatedOffset:{generatedLine:I+1,generatedColumn:B+1},consumer:new M_(xo.getArg(T,"map"),i)}})}eT.prototype=Object.create(M_.prototype);eT.prototype.constructor=M_;eT.prototype._version=3;Object.defineProperty(eT.prototype,"sources",{get:function(){for(var o=[],i=0;i<this._sections.length;i++)for(var a=0;a<this._sections[i].consumer.sources.length;a++)o.push(this._sections[i].consumer.sources[a]);return o}});eT.prototype.originalPositionFor=function(i){var a={generatedLine:xo.getArg(i,"line"),generatedColumn:xo.getArg(i,"column")},u=_1e.search(a,this._sections,function(y,T){var P=y.generatedLine-T.generatedOffset.generatedLine;return P||y.generatedColumn-T.generatedOffset.generatedColumn}),p=this._sections[u];return p?p.consumer.originalPositionFor({line:a.generatedLine-(p.generatedOffset.generatedLine-1),column:a.generatedColumn-(p.generatedOffset.generatedLine===a.generatedLine?p.generatedOffset.generatedColumn-1:0),bias:i.bias}):{source:null,line:null,column:null,name:null}};eT.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(i){return i.consumer.hasContentsOfAllSources()})};eT.prototype.sourceContentFor=function(i,a){for(var u=0;u<this._sections.length;u++){var p=this._sections[u],y=p.consumer.sourceContentFor(i,!0);if(y)return y}if(a)return null;throw new Error('"'+i+'" is not in the SourceMap.')};eT.prototype.generatedPositionFor=function(i){for(var a=0;a<this._sections.length;a++){var u=this._sections[a];if(u.consumer._findSourceIndex(xo.getArg(i,"source"))!==-1){var p=u.consumer.generatedPositionFor(i);if(p){var y={line:p.line+(u.generatedOffset.generatedLine-1),column:p.column+(u.generatedOffset.generatedLine===p.line?u.generatedOffset.generatedColumn-1:0)};return y}}}return{line:null,column:null}};eT.prototype._parseMappings=function(i,a){this.__generatedMappings=[],this.__originalMappings=[];for(var u=0;u<this._sections.length;u++)for(var p=this._sections[u],y=p.consumer._generatedMappings,T=0;T<y.length;T++){var P=y[T],I=p.consumer._sources.at(P.source);I=xo.computeSourceURL(p.consumer.sourceRoot,I,this._sourceMapURL),this._sources.add(I),I=this._sources.indexOf(I);var B=null;P.name&&(B=p.consumer._names.at(P.name),this._names.add(B),B=this._names.indexOf(B));var z={source:I,generatedLine:P.generatedLine+(p.generatedOffset.generatedLine-1),generatedColumn:P.generatedColumn+(p.generatedOffset.generatedLine===P.generatedLine?p.generatedOffset.generatedColumn-1:0),originalLine:P.originalLine,originalColumn:P.originalColumn,name:B};this.__generatedMappings.push(z),typeof z.originalLine=="number"&&this.__originalMappings.push(z)}TR(this.__generatedMappings,xo.compareByGeneratedPositionsDeflated),TR(this.__originalMappings,xo.compareByOriginalPositions)};sY.IndexedSourceMapConsumer=eT;var $We={},dMt=a1e.SourceMapGenerator,VX=II,mMt=/(\r?\n)/,hMt=10,OI="$$$isSourceNode$$$";function ev(o,i,a,u,p){this.children=[],this.sourceContents={},this.line=o??null,this.column=i??null,this.source=a??null,this.name=p??null,this[OI]=!0,u!=null&&this.add(u)}ev.fromStringWithSourceMap=function(i,a,u){var p=new ev,y=i.split(mMt),T=0,P=function(){var Q=ze(),Ie=ze()||"";return Q+Ie;function ze(){return T<y.length?y[T++]:void 0}},I=1,B=0,z=null;return a.eachMapping(function(Q){if(z!==null)if(I<Q.generatedLine)H(z,P()),I++,B=0;else{var Ie=y[T]||"",ze=Ie.substr(0,Q.generatedColumn-B);y[T]=Ie.substr(Q.generatedColumn-B),B=Q.generatedColumn,H(z,ze),z=Q;return}for(;I<Q.generatedLine;)p.add(P()),I++;if(B<Q.generatedColumn){var Ie=y[T]||"";p.add(Ie.substr(0,Q.generatedColumn)),y[T]=Ie.substr(Q.generatedColumn),B=Q.generatedColumn}z=Q},this),T<y.length&&(z&&H(z,P()),p.add(y.splice(T).join(""))),a.sources.forEach(function(Q){var Ie=a.sourceContentFor(Q);Ie!=null&&(u!=null&&(Q=VX.join(u,Q)),p.setSourceContent(Q,Ie))}),p;function H(Q,Ie){if(Q===null||Q.source===void 0)p.add(Ie);else{var ze=u?VX.join(u,Q.source):Q.source;p.add(new ev(Q.originalLine,Q.originalColumn,ze,Ie,Q.name))}}};ev.prototype.add=function(i){if(Array.isArray(i))i.forEach(function(a){this.add(a)},this);else if(i[OI]||typeof i=="string")i&&this.children.push(i);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+i);return this};ev.prototype.prepend=function(i){if(Array.isArray(i))for(var a=i.length-1;a>=0;a--)this.prepend(i[a]);else if(i[OI]||typeof i=="string")this.children.unshift(i);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+i);return this};ev.prototype.walk=function(i){for(var a,u=0,p=this.children.length;u<p;u++)a=this.children[u],a[OI]?a.walk(i):a!==""&&i(a,{source:this.source,line:this.line,column:this.column,name:this.name})};ev.prototype.join=function(i){var a,u,p=this.children.length;if(p>0){for(a=[],u=0;u<p-1;u++)a.push(this.children[u]),a.push(i);a.push(this.children[u]),this.children=a}return this};ev.prototype.replaceRight=function(i,a){var u=this.children[this.children.length-1];return u[OI]?u.replaceRight(i,a):typeof u=="string"?this.children[this.children.length-1]=u.replace(i,a):this.children.push("".replace(i,a)),this};ev.prototype.setSourceContent=function(i,a){this.sourceContents[VX.toSetString(i)]=a};ev.prototype.walkSourceContents=function(i){for(var a=0,u=this.children.length;a<u;a++)this.children[a][OI]&&this.children[a].walkSourceContents(i);for(var p=Object.keys(this.sourceContents),a=0,u=p.length;a<u;a++)i(VX.fromSetString(p[a]),this.sourceContents[p[a]])};ev.prototype.toString=function(){var i="";return this.walk(function(a){i+=a}),i};ev.prototype.toStringWithSourceMap=function(i){var a={code:"",line:1,column:0},u=new dMt(i),p=!1,y=null,T=null,P=null,I=null;return this.walk(function(B,z){a.code+=B,z.source!==null&&z.line!==null&&z.column!==null?((y!==z.source||T!==z.line||P!==z.column||I!==z.name)&&u.addMapping({source:z.source,original:{line:z.line,column:z.column},generated:{line:a.line,column:a.column},name:z.name}),y=z.source,T=z.line,P=z.column,I=z.name,p=!0):p&&(u.addMapping({generated:{line:a.line,column:a.column}}),y=null,p=!1);for(var H=0,Q=B.length;H<Q;H++)B.charCodeAt(H)===hMt?(a.line++,a.column=0,H+1===Q?(y=null,p=!1):p&&u.addMapping({source:z.source,original:{line:z.line,column:z.column},generated:{line:a.line,column:a.column},name:z.name})):a.column++}),this.walkSourceContents(function(B,z){u.setSourceContent(B,z)}),{code:a.code,map:u}};$We.SourceNode=ev;rY.SourceMapGenerator=a1e.SourceMapGenerator;rY.SourceMapConsumer=sY.SourceMapConsumer;rY.SourceNode=$We.SourceNode;var qWe=rY,kJe=qWe.SourceMapConsumer,gMt=qWe.SourceMapGenerator,yMt=vMt;function vMt(o,i){if(!o)return i;if(!i)return o;var a=new kJe(o),u=new kJe(i),p=new gMt;u.eachMapping(function(T){if(T.originalLine!=null){var P=a.originalPositionFor({line:T.originalLine,column:T.originalColumn});P.source!=null&&p.addMapping({original:{line:P.line,column:P.column},generated:{line:T.generatedLine,column:T.generatedColumn},source:P.source,name:P.name})}});var y=[a,u];return y.forEach(function(T){T.sources.forEach(function(P){p._sources.add(P);var I=T.sourceContentFor(P);I!=null&&p.setSourceContent(P,I)})}),p._sourceRoot=o.sourceRoot,p._file=o.file,JSON.parse(p.toString())}var p1e=yMt,bMt=Object.defineProperty,TMt=Object.defineProperties,SMt=Object.getOwnPropertyDescriptors,CJe=Object.getOwnPropertySymbols,xMt=Object.prototype.hasOwnProperty,kMt=Object.prototype.propertyIsEnumerable,wJe=(o,i,a)=>i in o?bMt(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,d1e=(o,i)=>{for(var a in i||(i={}))xMt.call(i,a)&&wJe(o,a,i[a]);if(CJe)for(var a of CJe(i))kMt.call(i,a)&&wJe(o,a,i[a]);return o},m1e=(o,i)=>TMt(o,SMt(i));const WWe=(o,i,a,u=require)=>{const p=u("sass"),y=m1e(d1e({},a),{data:HWe(o,a.filename,a.additionalData),file:a.filename,outFile:a.filename,sourceMap:!!i});try{const T=p.renderSync(y),P=T.stats.includedFiles;return i?{code:T.css.toString(),map:p1e(i,JSON.parse(T.map.toString())),errors:[],dependencies:P}:{code:T.css.toString(),errors:[],dependencies:P}}catch(T){return{code:"",errors:[T],dependencies:[]}}},CMt=(o,i,a,u)=>WWe(o,i,m1e(d1e({},a),{indentedSyntax:!0}),u),wMt=(o,i,a,u=require)=>{const p=u("less");let y,T=null;if(p.render(HWe(o,a.filename,a.additionalData),m1e(d1e({},a),{syncImport:!0}),(I,B)=>{T=I,y=B}),T)return{code:"",errors:[T],dependencies:[]};const P=y.imports;return i?{code:y.css.toString(),map:p1e(i,y.map),errors:[],dependencies:P}:{code:y.css.toString(),errors:[],dependencies:P}},EJe=(o,i,a,u=require)=>{const p=u("stylus");try{const y=p(o);Object.keys(a).forEach(I=>y.set(I,a[I])),i&&y.set("sourcemap",{inline:!1,comment:!1});const T=y.render(),P=y.deps();return i?{code:T,map:p1e(i,y.sourcemap),errors:[],dependencies:P}:{code:T,errors:[],dependencies:P}}catch(y){return{code:"",errors:[y],dependencies:[]}}};function HWe(o,i,a){return a?Ize(a)?a(o,i):a+o:o}const EMt={less:wMt,sass:CMt,scss:WWe,styl:EJe,stylus:EJe};var AMt=Object.defineProperty,PMt=Object.defineProperties,DMt=Object.getOwnPropertyDescriptors,AJe=Object.getOwnPropertySymbols,NMt=Object.prototype.hasOwnProperty,IMt=Object.prototype.propertyIsEnumerable,PJe=(o,i,a)=>i in o?AMt(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,aY=(o,i)=>{for(var a in i||(i={}))NMt.call(i,a)&&PJe(o,a,i[a]);if(AJe)for(var a of AJe(i))IMt.call(i,a)&&PJe(o,a,i[a]);return o},h1e=(o,i)=>PMt(o,DMt(i));function GWe(o){return QWe(h1e(aY({},o),{isAsync:!1}))}function XWe(o){return QWe(h1e(aY({},o),{isAsync:!0}))}function QWe(o){const{filename:i,id:a,scoped:u=!1,trim:p=!0,isProd:y=!1,modules:T=!1,modulesOptions:P={},preprocessLang:I,postcssOptions:B,postcssPlugins:z}=o,H=I&&EMt[I],Q=H&&OMt(o,H),Ie=Q?Q.map:o.inMap||o.map,ze=Q?Q.code:o.source,Ue=a.replace(/^data-v-/,""),et=`data-v-${Ue}`,Ve=(z||[]).slice();Ve.unshift(g$e({id:Ue,isProd:y})),p&&Ve.push(KOt()),u&&Ve.push(oMt(et));let vt;if(T)throw new Error("[@vue/compiler-sfc] `modules` option is not supported in the browser build.");const ut=h1e(aY({},B),{to:i,from:i});Ie&&(ut.map={inline:!1,annotation:!1,prev:Ie});let He,Bt,ar;const kr=new Set(Q?Q.dependencies:[]);kr.delete(i);const Ot=[];Q&&Q.errors.length&&Ot.push(...Q.errors);const xt=Wt=>(Wt.forEach(_r=>{_r.type==="dependency"&&kr.add(_r.file)}),kr);try{if(He=F_(Ve).process(ze,ut),o.isAsync)return He.then(Wt=>({code:Wt.css||"",map:Wt.map&&Wt.map.toJSON(),errors:Ot,modules:vt,rawResult:Wt,dependencies:xt(Wt.messages)})).catch(Wt=>({code:"",map:void 0,errors:[...Ot,Wt],rawResult:void 0,dependencies:kr}));xt(He.messages),Bt=He.css,ar=He.map}catch(Wt){Ot.push(Wt)}return{code:Bt||"",map:ar&&ar.toJSON(),errors:Ot,rawResult:He,dependencies:kr}}function OMt(o,i){if(!o.preprocessCustomRequire)throw new Error("[@vue/compiler-sfc] Style preprocessing in the browser build must provide the `preprocessCustomRequire` option to return the in-browser version of the preprocessor.");return i(o.source,o.inMap||o.map,aY({filename:o.filename},o.preprocessOptions),o.preprocessCustomRequire)}const LMt=",".charCodeAt(0),MMt=";".charCodeAt(0),DJe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",YWe=new Uint8Array(64),FMt=new Uint8Array(128);for(let o=0;o<DJe.length;o++){const i=DJe.charCodeAt(o);YWe[o]=i,FMt[i]=o}const lhe=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(o){return Buffer.from(o.buffer,o.byteOffset,o.byteLength).toString()}}:{decode(o){let i="";for(let a=0;a<o.length;a++)i+=String.fromCharCode(o[a]);return i}};function RMt(o){const i=new Int32Array(5),a=1024*16,u=a-36,p=new Uint8Array(a),y=p.subarray(0,u);let T=0,P="";for(let I=0;I<o.length;I++){const B=o[I];if(I>0&&(T===a&&(P+=lhe.decode(p),T=0),p[T++]=MMt),B.length!==0){i[0]=0;for(let z=0;z<B.length;z++){const H=B[z];T>u&&(P+=lhe.decode(y),p.copyWithin(0,u,T),T-=u),z>0&&(p[T++]=LMt),T=lF(p,T,i,H,0),H.length!==1&&(T=lF(p,T,i,H,1),T=lF(p,T,i,H,2),T=lF(p,T,i,H,3),H.length!==4&&(T=lF(p,T,i,H,4)))}}}return P+lhe.decode(p.subarray(0,T))}function lF(o,i,a,u,p){const y=u[p];let T=y-a[p];a[p]=y,T=T<0?-T<<1|1:T<<1;do{let P=T&31;T>>>=5,T>0&&(P|=32),o[i++]=YWe[P]}while(T>0);return i}class $X{constructor(i){this.bits=i instanceof $X?i.bits.slice():[]}add(i){this.bits[i>>5]|=1<<(i&31)}has(i){return!!(this.bits[i>>5]&1<<(i&31))}}class SR{constructor(i,a,u){this.start=i,this.end=a,this.original=u,this.intro="",this.outro="",this.content=u,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(i){this.outro+=i}appendRight(i){this.intro=this.intro+i}clone(){const i=new SR(this.start,this.end,this.original);return i.intro=this.intro,i.outro=this.outro,i.content=this.content,i.storeName=this.storeName,i.edited=this.edited,i}contains(i){return this.start<i&&i<this.end}eachNext(i){let a=this;for(;a;)i(a),a=a.next}eachPrevious(i){let a=this;for(;a;)i(a),a=a.previous}edit(i,a,u){return this.content=i,u||(this.intro="",this.outro=""),this.storeName=a,this.edited=!0,this}prependLeft(i){this.outro=i+this.outro}prependRight(i){this.intro=i+this.intro}split(i){const a=i-this.start,u=this.original.slice(0,a),p=this.original.slice(a);this.original=u;const y=new SR(i,this.end,p);return y.outro=this.outro,this.outro="",this.end=i,this.edited?(y.edit("",!1),this.content=""):this.content=u,y.next=this.next,y.next&&(y.next.previous=y),y.previous=this,this.next=y,y}toString(){return this.intro+this.content+this.outro}trimEnd(i){if(this.outro=this.outro.replace(i,""),this.outro.length)return!0;const a=this.content.replace(i,"");if(a.length)return a!==this.content&&this.split(this.start+a.length).edit("",void 0,!0),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(i,""),this.intro.length)return!0}trimStart(i){if(this.intro=this.intro.replace(i,""),this.intro.length)return!0;const a=this.content.replace(i,"");if(a.length)return a!==this.content&&(this.split(this.end-a.length),this.edit("",void 0,!0)),!0;if(this.edit("",void 0,!0),this.outro=this.outro.replace(i,""),this.outro.length)return!0}}function BMt(){return typeof window<"u"&&typeof window.btoa=="function"?o=>window.btoa(unescape(encodeURIComponent(o))):typeof Buffer=="function"?o=>Buffer.from(o,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const jMt=BMt();class JMt{constructor(i){this.version=3,this.file=i.file,this.sources=i.sources,this.sourcesContent=i.sourcesContent,this.names=i.names,this.mappings=RMt(i.mappings),typeof i.x_google_ignoreList<"u"&&(this.x_google_ignoreList=i.x_google_ignoreList)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+jMt(this.toString())}}function UMt(o){const i=o.split(`
`),a=i.filter(y=>/^\t+/.test(y)),u=i.filter(y=>/^ {2,}/.test(y));if(a.length===0&&u.length===0)return null;if(a.length>=u.length)return" ";const p=u.reduce((y,T)=>{const P=/^ +/.exec(T)[0].length;return Math.min(P,y)},1/0);return new Array(p+1).join(" ")}function zMt(o,i){const a=o.split(/[/\\]/),u=i.split(/[/\\]/);for(a.pop();a[0]===u[0];)a.shift(),u.shift();if(a.length){let p=a.length;for(;p--;)a[p]=".."}return a.concat(u).join("/")}const VMt=Object.prototype.toString;function $Mt(o){return VMt.call(o)==="[object Object]"}function NJe(o){const i=o.split(`
`),a=[];for(let u=0,p=0;u<i.length;u++)a.push(p),p+=i[u].length+1;return function(p){let y=0,T=a.length;for(;y<T;){const B=y+T>>1;p<a[B]?T=B:y=B+1}const P=y-1,I=p-a[P];return{line:P,column:I}}}class qMt{constructor(i){this.hires=i,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(i,a,u,p){if(a.length){const y=[this.generatedCodeColumn,i,u.line,u.column];p>=0&&y.push(p),this.rawSegments.push(y)}else this.pending&&this.rawSegments.push(this.pending);this.advance(a),this.pending=null}addUneditedChunk(i,a,u,p,y){let T=a.start,P=!0;for(;T<a.end;)(this.hires||P||y.has(T))&&this.rawSegments.push([this.generatedCodeColumn,i,p.line,p.column]),u[T]===`
`?(p.line+=1,p.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,P=!0):(p.column+=1,this.generatedCodeColumn+=1,P=!1),T+=1;this.pending=null}advance(i){if(!i)return;const a=i.split(`
`);if(a.length>1){for(let u=0;u<a.length-1;u++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=a[a.length-1].length}}const uF=`
`,bN={insertLeft:!1,insertRight:!1,storeName:!1};class _C{constructor(i,a={}){const u=new SR(0,i.length,i);Object.defineProperties(this,{original:{writable:!0,value:i},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:u},lastChunk:{writable:!0,value:u},lastSearchedChunk:{writable:!0,value:u},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:a.filename},indentExclusionRanges:{writable:!0,value:a.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new $X},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:a.ignoreList}}),this.byStart[0]=u,this.byEnd[i.length]=u}addSourcemapLocation(i){this.sourcemapLocations.add(i)}append(i){if(typeof i!="string")throw new TypeError("outro content must be a string");return this.outro+=i,this}appendLeft(i,a){if(typeof a!="string")throw new TypeError("inserted content must be a string");this._split(i);const u=this.byEnd[i];return u?u.appendLeft(a):this.intro+=a,this}appendRight(i,a){if(typeof a!="string")throw new TypeError("inserted content must be a string");this._split(i);const u=this.byStart[i];return u?u.appendRight(a):this.outro+=a,this}clone(){const i=new _C(this.original,{filename:this.filename});let a=this.firstChunk,u=i.firstChunk=i.lastSearchedChunk=a.clone();for(;a;){i.byStart[u.start]=u,i.byEnd[u.end]=u;const p=a.next,y=p&&p.clone();y&&(u.next=y,y.previous=u,u=y),a=p}return i.lastChunk=u,this.indentExclusionRanges&&(i.indentExclusionRanges=this.indentExclusionRanges.slice()),i.sourcemapLocations=new $X(this.sourcemapLocations),i.intro=this.intro,i.outro=this.outro,i}generateDecodedMap(i){i=i||{};const a=0,u=Object.keys(this.storedNames),p=new qMt(i.hires),y=NJe(this.original);return this.intro&&p.advance(this.intro),this.firstChunk.eachNext(T=>{const P=y(T.start);T.intro.length&&p.advance(T.intro),T.edited?p.addEdit(a,T.content,P,T.storeName?u.indexOf(T.original):-1):p.addUneditedChunk(a,T,this.original,P,this.sourcemapLocations),T.outro.length&&p.advance(T.outro)}),{file:i.file?i.file.split(/[/\\]/).pop():void 0,sources:[i.source?zMt(i.file||"",i.source):i.file||""],sourcesContent:i.includeContent?[this.original]:void 0,names:u,mappings:p.raw,x_google_ignoreList:this.ignoreList?[a]:void 0}}generateMap(i){return new JMt(this.generateDecodedMap(i))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=UMt(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(i,a){const u=/^[^\r\n]/gm;if($Mt(i)&&(a=i,i=void 0),i===void 0&&(this._ensureindentStr(),i=this.indentStr||" "),i==="")return this;a=a||{};const p={};a.exclude&&(typeof a.exclude[0]=="number"?[a.exclude]:a.exclude).forEach(z=>{for(let H=z[0];H<z[1];H+=1)p[H]=!0});let y=a.indentStart!==!1;const T=B=>y?`${i}${B}`:(y=!0,B);this.intro=this.intro.replace(u,T);let P=0,I=this.firstChunk;for(;I;){const B=I.end;if(I.edited)p[P]||(I.content=I.content.replace(u,T),I.content.length&&(y=I.content[I.content.length-1]===`
`));else for(P=I.start;P<B;){if(!p[P]){const z=this.original[P];z===`
`?y=!0:z!=="\r"&&y&&(y=!1,P===I.start||(this._splitChunk(I,P),I=I.next),I.prependRight(i))}P+=1}P=I.end,I=I.next}return this.outro=this.outro.replace(u,T),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(i,a){return bN.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),bN.insertLeft=!0),this.appendLeft(i,a)}insertRight(i,a){return bN.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),bN.insertRight=!0),this.prependRight(i,a)}move(i,a,u){if(u>=i&&u<=a)throw new Error("Cannot move a selection inside itself");this._split(i),this._split(a),this._split(u);const p=this.byStart[i],y=this.byEnd[a],T=p.previous,P=y.next,I=this.byStart[u];if(!I&&y===this.lastChunk)return this;const B=I?I.previous:this.lastChunk;return T&&(T.next=P),P&&(P.previous=T),B&&(B.next=p),I&&(I.previous=y),p.previous||(this.firstChunk=y.next),y.next||(this.lastChunk=p.previous,this.lastChunk.next=null),p.previous=B,y.next=I||null,B||(this.firstChunk=p),I||(this.lastChunk=y),this}overwrite(i,a,u,p){return p=p||{},this.update(i,a,u,{...p,overwrite:!p.contentOnly})}update(i,a,u,p){if(typeof u!="string")throw new TypeError("replacement content must be a string");for(;i<0;)i+=this.original.length;for(;a<0;)a+=this.original.length;if(a>this.original.length)throw new Error("end is out of bounds");if(i===a)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(i),this._split(a),p===!0&&(bN.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),bN.storeName=!0),p={storeName:!0});const y=p!==void 0?p.storeName:!1,T=p!==void 0?p.overwrite:!1;if(y){const B=this.original.slice(i,a);Object.defineProperty(this.storedNames,B,{writable:!0,value:!0,enumerable:!0})}const P=this.byStart[i],I=this.byEnd[a];if(P){let B=P;for(;B!==I;){if(B.next!==this.byStart[B.end])throw new Error("Cannot overwrite across a split point");B=B.next,B.edit("",!1)}P.edit(u,y,!T)}else{const B=new SR(i,a,"").edit(u,y);I.next=B,B.previous=I}return this}prepend(i){if(typeof i!="string")throw new TypeError("outro content must be a string");return this.intro=i+this.intro,this}prependLeft(i,a){if(typeof a!="string")throw new TypeError("inserted content must be a string");this._split(i);const u=this.byEnd[i];return u?u.prependLeft(a):this.intro=a+this.intro,this}prependRight(i,a){if(typeof a!="string")throw new TypeError("inserted content must be a string");this._split(i);const u=this.byStart[i];return u?u.prependRight(a):this.outro=a+this.outro,this}remove(i,a){for(;i<0;)i+=this.original.length;for(;a<0;)a+=this.original.length;if(i===a)return this;if(i<0||a>this.original.length)throw new Error("Character is out of bounds");if(i>a)throw new Error("end must be greater than start");this._split(i),this._split(a);let u=this.byStart[i];for(;u;)u.intro="",u.outro="",u.edit(""),u=a>u.end?this.byStart[u.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let i=this.lastChunk;do{if(i.outro.length)return i.outro[i.outro.length-1];if(i.content.length)return i.content[i.content.length-1];if(i.intro.length)return i.intro[i.intro.length-1]}while(i=i.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let i=this.outro.lastIndexOf(uF);if(i!==-1)return this.outro.substr(i+1);let a=this.outro,u=this.lastChunk;do{if(u.outro.length>0){if(i=u.outro.lastIndexOf(uF),i!==-1)return u.outro.substr(i+1)+a;a=u.outro+a}if(u.content.length>0){if(i=u.content.lastIndexOf(uF),i!==-1)return u.content.substr(i+1)+a;a=u.content+a}if(u.intro.length>0){if(i=u.intro.lastIndexOf(uF),i!==-1)return u.intro.substr(i+1)+a;a=u.intro+a}}while(u=u.previous);return i=this.intro.lastIndexOf(uF),i!==-1?this.intro.substr(i+1)+a:this.intro+a}slice(i=0,a=this.original.length){for(;i<0;)i+=this.original.length;for(;a<0;)a+=this.original.length;let u="",p=this.firstChunk;for(;p&&(p.start>i||p.end<=i);){if(p.start<a&&p.end>=a)return u;p=p.next}if(p&&p.edited&&p.start!==i)throw new Error(`Cannot use replaced character ${i} as slice start anchor.`);const y=p;for(;p;){p.intro&&(y!==p||p.start===i)&&(u+=p.intro);const T=p.start<a&&p.end>=a;if(T&&p.edited&&p.end!==a)throw new Error(`Cannot use replaced character ${a} as slice end anchor.`);const P=y===p?i-p.start:0,I=T?p.content.length+a-p.end:p.content.length;if(u+=p.content.slice(P,I),p.outro&&(!T||p.end===a)&&(u+=p.outro),T)break;p=p.next}return u}snip(i,a){const u=this.clone();return u.remove(0,i),u.remove(a,u.original.length),u}_split(i){if(this.byStart[i]||this.byEnd[i])return;let a=this.lastSearchedChunk;const u=i>a.end;for(;a;){if(a.contains(i))return this._splitChunk(a,i);a=u?this.byStart[a.end]:this.byEnd[a.start]}}_splitChunk(i,a){if(i.edited&&i.content.length){const p=NJe(this.original)(a);throw new Error(`Cannot split a chunk that has already been edited (${p.line}:${p.column} – "${i.original}")`)}const u=i.split(a);return this.byEnd[a]=i,this.byStart[a]=u,this.byEnd[u.end]=u,i===this.lastChunk&&(this.lastChunk=u),this.lastSearchedChunk=i,!0}toString(){let i=this.intro,a=this.firstChunk;for(;a;)i+=a.toString(),a=a.next;return i+this.outro}isEmpty(){let i=this.firstChunk;do if(i.intro.length&&i.intro.trim()||i.content.length&&i.content.trim()||i.outro.length&&i.outro.trim())return!1;while(i=i.next);return!0}length(){let i=this.firstChunk,a=0;do a+=i.intro.length+i.content.length+i.outro.length;while(i=i.next);return a}trimLines(){return this.trim("[\\r\\n]")}trim(i){return this.trimStart(i).trimEnd(i)}trimEndAborted(i){const a=new RegExp((i||"\\s")+"+$");if(this.outro=this.outro.replace(a,""),this.outro.length)return!0;let u=this.lastChunk;do{const p=u.end,y=u.trimEnd(a);if(u.end!==p&&(this.lastChunk===u&&(this.lastChunk=u.next),this.byEnd[u.end]=u,this.byStart[u.next.start]=u.next,this.byEnd[u.next.end]=u.next),y)return!0;u=u.previous}while(u);return!1}trimEnd(i){return this.trimEndAborted(i),this}trimStartAborted(i){const a=new RegExp("^"+(i||"\\s")+"+");if(this.intro=this.intro.replace(a,""),this.intro.length)return!0;let u=this.firstChunk;do{const p=u.end,y=u.trimStart(a);if(u.end!==p&&(u===this.lastChunk&&(this.lastChunk=u.next),this.byEnd[u.end]=u,this.byStart[u.next.start]=u.next,this.byEnd[u.next.end]=u.next),y)return!0;u=u.next}while(u);return!1}trimStart(i){return this.trimStartAborted(i),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(i,a){function u(y,T){return typeof a=="string"?a.replace(/\$(\$|&|\d+)/g,(P,I)=>I==="$"?"$":I==="&"?y[0]:+I<y.length?y[+I]:`$${I}`):a(...y,y.index,T,y.groups)}function p(y,T){let P;const I=[];for(;P=y.exec(T);)I.push(P);return I}if(i.global)p(i,this.original).forEach(T=>{T.index!=null&&this.overwrite(T.index,T.index+T[0].length,u(T,this.original))});else{const y=this.original.match(i);y&&y.index!=null&&this.overwrite(y.index,y.index+y[0].length,u(y,this.original))}return this}_replaceString(i,a){const{original:u}=this,p=u.indexOf(i);return p!==-1&&this.overwrite(p,p+i.length,a),this}replace(i,a){return typeof i=="string"?this._replaceString(i,a):this._replaceRegexp(i,a)}_replaceAllString(i,a){const{original:u}=this,p=i.length;for(let y=u.indexOf(i);y!==-1;y=u.indexOf(i,y+p))this.overwrite(y,y+p,a);return this}replaceAll(i,a){if(typeof i=="string")return this._replaceAllString(i,a);if(!i.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(i,a)}}var WMt=Object.defineProperty,HMt=Object.defineProperties,GMt=Object.getOwnPropertyDescriptors,IJe=Object.getOwnPropertySymbols,XMt=Object.prototype.hasOwnProperty,QMt=Object.prototype.propertyIsEnumerable,OJe=(o,i,a)=>i in o?WMt(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,YMt=(o,i)=>{for(var a in i||(i={}))XMt.call(i,a)&&OJe(o,a,i[a]);if(IJe)for(var a of IJe(i))QMt.call(i,a)&&OJe(o,a,i[a]);return o},ZMt=(o,i)=>HMt(o,GMt(i));const uhe="$",fhe="$$",LJe="vue/macros",KMt=["ref","computed","shallowRef","toRef","customRef"],eFt=/[^\w]\$(?:\$|ref|computed|shallowRef)?\s*(\(|\<)/;function xR(o){return eFt.test(o)}function ZWe(o,{filename:i,sourceMap:a,parserPlugins:u,importHelpersFrom:p="vue"}={}){const y=u||[];i&&(/\.tsx?$/.test(i)&&y.push("typescript"),i.endsWith("x")&&y.push("jsx"));const T=c6(o,{sourceType:"module",plugins:y}),P=new _C(o),I=pI(T.program,P,0);return I.importedHelpers.length&&P.prepend(`import { ${I.importedHelpers.map(B=>`${B} as _${B}`).join(", ")} } from '${p}'
`),ZMt(YMt({},I),{code:P.toString(),map:a?P.generateMap({source:i,hires:!0,includeContent:!0}):null})}function pI(o,i,a=0,u,p){tFt();const y=Object.create(null);for(const Vn of o.body)Vn.type==="ImportDeclaration"&&et(Vn);let T,P;for(const{local:Vn,imported:mn,source:Tn,specifier:gr}of Object.values(y))Tn===LJe&&(mn===fhe?P=Vn:mn===uhe?T=Vn:mn!==Vn&&vt("macro imports for ref-creating methods do not support aliasing.",gr));!T&&!y[uhe]&&(T=uhe),!P&&!y[fhe]&&(P=fhe);const I=new Set,B={},z=[B];let H=B,Q;const Ie=new WeakSet,ze=[],Ue=Object.create(null);if(u)for(const Vn of u)B[Vn]={};if(p)for(const Vn in p){const{local:mn,isConst:Tn}=p[Vn];B[mn]={isProp:!0,isConst:!!Tn},Ue[mn]=Vn}function et(Vn){const mn=Vn.source.value;mn===LJe&&i.remove(Vn.start+a,Vn.end+a);for(const Tn of Vn.specifiers){const gr=Tn.local.name,Ln=Tn.type==="ImportSpecifier"&&Tn.imported.type==="Identifier"&&Tn.imported.name||"default";y[gr]={source:mn,local:gr,imported:Ln,specifier:Tn}}}function Ve(Vn){return!T||H[T]!==void 0?!1:Vn===T?T:Vn[0]==="$"&&KMt.includes(Vn.slice(1))?Vn:!1}function vt(Vn,mn){const Tn=new Error(Vn);throw Tn.node=mn,Tn}function ut(Vn){return I.add(Vn),`_${Vn}`}function He(Vn,mn){Ie.add(Vn),H?H[Vn.name]=mn||!1:vt("registerBinding called without active scope, something is wrong.",Vn)}const Bt=(Vn,mn=!1)=>He(Vn,{isConst:mn});let ar=0;function kr(){return`__$temp_${++ar}`}function Ot(Vn){return i.original.slice(Vn.start+a,Vn.end+a)}function xt(Vn,mn=!1){for(const Tn of Vn.body)if(Tn.type==="VariableDeclaration")Wt(Tn,mn);else if(Tn.type==="FunctionDeclaration"||Tn.type==="ClassDeclaration"){if(Tn.declare||!Tn.id)continue;He(Tn.id)}else(Tn.type==="ForOfStatement"||Tn.type==="ForInStatement")&&Tn.left.type==="VariableDeclaration"?Wt(Tn.left):Tn.type==="ExportNamedDeclaration"&&Tn.declaration&&Tn.declaration.type==="VariableDeclaration"?Wt(Tn.declaration,mn):Tn.type==="LabeledStatement"&&Tn.body.type==="VariableDeclaration"&&Wt(Tn.body,mn)}function Wt(Vn,mn=!1){if(!Vn.declare)for(const Tn of Vn.declarations){let gr;const Ln=Tn.init&&Tn.init.type==="CallExpression"&&Tn.init.callee.type==="Identifier";if(Ln&&(gr=Ve(Tn.init.callee.name)))_r(gr,Tn.id,Tn.init,Vn.kind==="const");else{const Fr=mn&&Ln&&Tn.init.callee.name==="defineProps";for(const fr of Sb(Tn.id))Fr?Ie.add(fr):He(fr)}}}function _r(Vn,mn,Tn,gr){Ie.add(Tn.callee),Vn===T?(i.remove(Tn.callee.start+a,Tn.callee.end+a),mn.type==="Identifier"?Bt(mn,gr):mn.type==="ObjectPattern"?An(mn,Tn,gr):mn.type==="ArrayPattern"&&hr(mn,Tn,gr)):mn.type==="Identifier"?(Bt(mn,gr),i.overwrite(Tn.start+a,Tn.start+Vn.length+a,ut(Vn.slice(1)))):vt(`${Vn}() cannot be used with destructure patterns.`,Tn)}function An(Vn,mn,Tn,gr,Ln=[]){gr||(gr=kr(),i.overwrite(Vn.start+a,Vn.end+a,gr));let Fr;for(const fr of Vn.properties){let ji,lr;if(fr.type==="ObjectProperty"?fr.key.start===fr.value.start?(Fr=fr.key,fr.value.type==="Identifier"?Ie.add(fr.value):fr.value.type==="AssignmentPattern"&&fr.value.left.type==="Identifier"&&(Ie.add(fr.value.left),lr=fr.value.right)):(ji=fr.computed?fr.key:fr.key.name,fr.value.type==="Identifier"?Fr=fr.value:fr.value.type==="ObjectPattern"?An(fr.value,mn,Tn,gr,[...Ln,ji]):fr.value.type==="ArrayPattern"?hr(fr.value,mn,Tn,gr,[...Ln,ji]):fr.value.type==="AssignmentPattern"&&(fr.value.left.type==="Identifier"?(Fr=fr.value.left,lr=fr.value.right):fr.value.left.type==="ObjectPattern"?An(fr.value.left,mn,Tn,gr,[...Ln,[ji,fr.value.right]]):fr.value.left.type==="ArrayPattern"&&hr(fr.value.left,mn,Tn,gr,[...Ln,[ji,fr.value.right]]))):vt("reactivity destructure does not support rest elements.",fr),Fr){Bt(Fr,Tn);const ei=Fi(gr,Ln),fi=ou(ji)?`'${ji}'`:ji?Ot(ji):`'${Fr.name}'`,fs=lr?`, ${Ot(lr)}`:"";i.appendLeft(mn.end+a,`,
${Fr.name} = ${ut("toRef")}(${ei}, ${fi}${fs})`)}}Fr&&i.appendLeft(mn.end+a,";")}function hr(Vn,mn,Tn,gr,Ln=[]){gr||(gr=kr(),i.overwrite(Vn.start+a,Vn.end+a,gr));let Fr;for(let fr=0;fr<Vn.elements.length;fr++){const ji=Vn.elements[fr];if(!ji)continue;let lr;if(ji.type==="Identifier"?Fr=ji:ji.type==="AssignmentPattern"?(Fr=ji.left,lr=ji.right):ji.type==="RestElement"?vt("reactivity destructure does not support rest elements.",ji):ji.type==="ObjectPattern"?An(ji,mn,Tn,gr,[...Ln,fr]):ji.type==="ArrayPattern"&&hr(ji,mn,Tn,gr,[...Ln,fr]),Fr){Bt(Fr,Tn);const ei=Fi(gr,Ln),fi=lr?`, ${Ot(lr)}`:"";i.appendLeft(mn.end+a,`,
${Fr.name} = ${ut("toRef")}(${ei}, ${fr}${fi})`)}}Fr&&i.appendLeft(mn.end+a,";")}function Fi(Vn,mn){if(mn.length)for(const Tn of mn)Cy(Tn)?Vn=`(${Vn}${ss(Tn[0])} || ${Ot(Tn[1])})`:Vn+=ss(Tn);return Vn}function ss(Vn){return typeof Vn=="number"?`[${Vn}]`:typeof Vn=="string"?`.${Vn}`:Ot(Vn)}function qt(Vn,mn,Tn,gr){if(lQ(Vn,mn.name)){const Ln=Vn[mn.name];if(Ln){Ln.isConst&&(Tn.type==="AssignmentExpression"&&mn===Tn.left||Tn.type==="UpdateExpression")&&vt("Assignment to constant variable.",mn);const{isProp:Fr}=Ln;AA(Tn)&&Tn.shorthand?(!Tn.inPattern||EA(Tn,gr))&&(Fr?Q?($s(mn),i.appendLeft(mn.end+a,`: __props_${Ue[mn.name]}`)):i.appendLeft(mn.end+a,`: ${QN(Ue[mn.name])}`):i.appendLeft(mn.end+a,`: ${mn.name}.value`)):Fr?Q?($s(mn),i.overwrite(mn.start+a,mn.end+a,`__props_${Ue[mn.name]}`)):i.overwrite(mn.start+a,mn.end+a,QN(Ue[mn.name])):i.appendLeft(mn.end+a,".value")}return!0}return!1}const Ba={};function $s(Vn){if(!Ba.hasOwnProperty(Vn.name)){Ba[Vn.name]=!0;const mn=Ue[Vn.name];i.prependRight(a,`const __props_${mn} = ${ut("toRef")}(__props, '${mn}');
`)}}return xt(o,!0),MR(o,{enter(Vn,mn){if(mn&&ze.push(mn),xb(Vn)){z.push(H={}),BQ(Vn,He),Vn.body.type==="BlockStatement"&&xt(Vn.body);return}if(Vn.type==="CatchClause"){z.push(H={}),Vn.param&&Vn.param.type==="Identifier"&&He(Vn.param),xt(Vn.body);return}if(Vn.type==="BlockStatement"&&!xb(mn)){z.push(H={}),xt(Vn);return}if(mn&&mn.type.startsWith("TS")&&mn.type!=="TSAsExpression"&&mn.type!=="TSNonNullExpression"&&mn.type!=="TSTypeAssertion")return this.skip();if(Vn.type==="Identifier"){const Tn=B[Vn.name];if(!(Q&&(!Tn||!Tn.isProp))&&RQ(Vn,mn,ze)&&!Ie.has(Vn)){let gr=z.length;for(;gr--;)if(qt(z[gr],Vn,mn,ze))return}}if(Vn.type==="CallExpression"&&Vn.callee.type==="Identifier"){const Tn=Vn.callee.name,gr=Ve(Tn);if(gr&&(!mn||mn.type!=="VariableDeclarator"))return vt(`${gr} can only be used as the initializer of a variable declaration.`,Vn);if(P&&H[P]===void 0&&Tn===P&&(Q=Vn,i.remove(Vn.callee.start+a,Vn.callee.end+a),(mn==null?void 0:mn.type)==="ExpressionStatement")){let Ln=(Vn.leadingComments?Vn.leadingComments[0].start:Vn.start)+a;for(;Ln--;){const Fr=i.original.charAt(Ln);if(Fr===`
`){i.prependRight(Vn.start+a,";");break}else if(!/\s/.test(Fr))break}}}},leave(Vn,mn){mn&&ze.pop(),(Vn.type==="BlockStatement"&&!xb(mn)||xb(Vn))&&(z.pop(),H=z[z.length-1]||null),Vn===Q&&(Q=void 0)}}),{rootRefs:Object.keys(B).filter(Vn=>{const mn=B[Vn];return mn&&!mn.isProp}),importedHelpers:[...I]}}const MJe={};function tFt(){typeof window<"u"||rFt(`Reactivity Transform was an experimental feature and has now been deprecated. It will be removed from Vue core in 3.4. If you intend to continue using it, switch to https://vue-macros.sxzz.moe/features/reactivity-transform.html.
See reason for deprecation here: https://github.com/vuejs/rfcs/discussions/369#discussioncomment-5059028`)}function rFt(o){!(typeof process<"u"&&!0)&&!MJe[o]&&(MJe[o]=!0,nFt(o))}function nFt(o){console.warn(`\x1B[1m\x1B[33m[@vue/reactivity-transform]\x1B[0m\x1B[33m ${o}\x1B[0m
`)}function KWe(o){for(const i of o)if(i.type==="ExportDefaultDeclaration"&&i.declaration.type==="ObjectExpression")return iFt(i.declaration);return{}}function iFt(o){const i={};Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!1});for(const a of o.properties)if(a.type==="ObjectProperty"&&!a.computed&&a.key.type==="Identifier"){if(a.key.name==="props")for(const u of Age(a.value))i[u]="props";else if(a.key.name==="inject")for(const u of Age(a.value))i[u]="options";else if(a.value.type==="ObjectExpression"&&(a.key.name==="computed"||a.key.name==="methods"))for(const u of Ege(a.value))i[u]="options"}else if(a.type==="ObjectMethod"&&a.key.type==="Identifier"&&(a.key.name==="setup"||a.key.name==="data")){for(const u of a.body.body)if(u.type==="ReturnStatement"&&u.argument&&u.argument.type==="ObjectExpression")for(const p of Ege(u.argument))i[p]=a.key.name==="setup"?"setup-maybe-ref":"data"}return i}function Ege(o){const i=[];for(const a of o.properties){if(a.type==="SpreadElement")continue;const u=w0e(a.key,a.computed);u&&i.push(String(u))}return i}function sFt(o){const i=[];for(const a of o.elements)a&&a.type==="StringLiteral"&&i.push(a.value);return i}function Age(o){return o.type==="ArrayExpression"?sFt(o):o.type==="ObjectExpression"?Ege(o):[]}function eHe(o,i,a){const u=c6(o,{sourceType:"module",plugins:a}).program.body,p=new _C(o);return oY(u,p,i),p.toString()}function oY(o,i,a){if(!aFt(o)){i.append(`
const ${a} = {}`);return}o.forEach(u=>{if(u.type==="ExportDefaultDeclaration")if(u.declaration.type==="ClassDeclaration"){let p=u.declaration.decorators&&u.declaration.decorators.length>0?u.declaration.decorators[u.declaration.decorators.length-1].end:u.start;i.overwrite(p,u.declaration.id.start," class "),i.append(`
const ${a} = ${u.declaration.id.name}`)}else i.overwrite(u.start,u.declaration.start,`const ${a} = `);else if(u.type==="ExportNamedDeclaration"){for(const p of u.specifiers)if(p.type==="ExportSpecifier"&&p.exported.type==="Identifier"&&p.exported.name==="default"){if(u.source)if(p.local.name==="default"){i.prepend(`import { default as __VUE_DEFAULT__ } from '${u.source.value}'
`);const T=_he(i,p.local.end,u.end);i.remove(p.start,T),i.append(`
const ${a} = __VUE_DEFAULT__`);continue}else{i.prepend(`import { ${i.slice(p.local.start,p.local.end)} as __VUE_DEFAULT__ } from '${u.source.value}'
`);const T=_he(i,p.exported.end,u.end);i.remove(p.start,T),i.append(`
const ${a} = __VUE_DEFAULT__`);continue}const y=_he(i,p.end,u.end);i.remove(p.start,y),i.append(`
const ${a} = ${p.local.name}`)}}})}function aFt(o){for(const i of o){if(i.type==="ExportDefaultDeclaration")return!0;if(i.type==="ExportNamedDeclaration"&&i.specifiers.some(a=>a.exported.name==="default"))return!0}return!1}function _he(o,i,a){let u=!1,p=i;for(;i<a;)if(/\s/.test(o.slice(i,i+1)))i++;else if(o.slice(i,i+1)===","){i++,u=!0;break}else if(o.slice(i,i+1)==="}")break;return u?i:p}var oFt=Object.defineProperty,cFt=Object.defineProperties,lFt=Object.getOwnPropertyDescriptors,FJe=Object.getOwnPropertySymbols,uFt=Object.prototype.hasOwnProperty,fFt=Object.prototype.propertyIsEnumerable,RJe=(o,i,a)=>i in o?oFt(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,_Ft=(o,i)=>{for(var a in i||(i={}))uFt.call(i,a)&&RJe(o,a,i[a]);if(FJe)for(var a of FJe(i))fFt.call(i,a)&&RJe(o,a,i[a]);return o},pFt=(o,i)=>cFt(o,lFt(i));const kN="__default__";function dFt(o,i){const a=o.descriptor.script;if(a.lang&&!o.isJS&&!o.isTS)return a;try{let u=a.content,p=a.map;const y=o.scriptAst,T=KWe(y.body),{source:P,filename:I,cssVars:B}=o.descriptor,{sourceMap:z,genDefaultAs:H,isProd:Q}=o.options;if(o.options.reactivityTransform&&xR(u)){const Ie=new _C(P),ze=a.loc.start.offset,Ue=a.loc.end.offset,{importedHelpers:et}=pI(y,Ie,ze);et.length&&Ie.prepend(`import { ${et.map(Ve=>`${Ve} as _${Ve}`).join(", ")} } from 'vue'
`),Ie.remove(0,ze),Ie.remove(Ue,P.length),u=Ie.toString(),z!==!1&&(p=Ie.generateMap({source:I,hires:!0,includeContent:!0}))}if(B.length||H){const Ie=H||kN,ze=new _C(u);oY(y.body,ze,Ie),u=ze.toString(),B.length&&(u+=O8t(B,T,i,!!Q,Ie)),H||(u+=`
export default ${Ie}`)}return pFt(_Ft({},a),{content:u,map:p,bindings:T,scriptAst:y.body})}catch{return a}}var BJe,jJe;class mFt{constructor(i,a){this.descriptor=i,this.options=a,this.source=this.descriptor.source,this.filename=this.descriptor.filename,this.s=new _C(this.source),this.startOffset=(BJe=this.descriptor.scriptSetup)==null?void 0:BJe.loc.start.offset,this.endOffset=(jJe=this.descriptor.scriptSetup)==null?void 0:jJe.loc.end.offset,this.userImports=Object.create(null),this.hasDefinePropsCall=!1,this.hasDefineEmitCall=!1,this.hasDefineExposeCall=!1,this.hasDefaultExportName=!1,this.hasDefaultExportRender=!1,this.hasDefineOptionsCall=!1,this.hasDefineSlotsCall=!1,this.hasDefineModelCall=!1,this.propsDestructuredBindings=Object.create(null),this.modelDecls={},this.bindingMetadata={},this.helperImports=new Set;const{script:u,scriptSetup:p}=i,y=u&&u.lang,T=p&&p.lang;this.isJS=y==="js"||y==="jsx"||T==="js"||T==="jsx",this.isTS=y==="ts"||y==="tsx"||T==="ts"||T==="tsx";const P=Pge(y||T,a.babelParserPlugins);function I(B,z){try{return c6(B,{plugins:P,sourceType:"module"}).program}catch(H){throw H.message=`[vue/compiler-sfc] ${H.message}
${i.filename}
${yA(i.source,H.pos+z,H.pos+z+1)}`,H}}this.scriptAst=i.script&&I(i.script.content,i.script.loc.start.offset),this.scriptSetupAst=i.scriptSetup&&I(i.scriptSetup.content,this.startOffset)}helper(i){return this.helperImports.add(i),`_${i}`}getString(i,a=!0){return(a?this.descriptor.scriptSetup:this.descriptor.script).content.slice(i.start,i.end)}error(i,a,u){const p=u?u.offset:this.startOffset;throw new Error(`[@vue/compiler-sfc] ${i}
${(u||this.descriptor).filename}
${yA((u||this.descriptor).source,a.start+p,a.end+p)}`)}}function Pge(o,i,a=!1){const u=[];return o==="jsx"||o==="tsx"?u.push("jsx"):i&&(i=i.filter(p=>p!=="jsx")),(o==="ts"||o==="tsx")&&(u.push(["typescript",{dts:a}]),u.includes("decorators")||u.push("decorators-legacy")),i&&u.push(...i),u}var hFt=Object.defineProperty,gFt=Object.defineProperties,yFt=Object.getOwnPropertyDescriptors,JJe=Object.getOwnPropertySymbols,vFt=Object.prototype.hasOwnProperty,bFt=Object.prototype.propertyIsEnumerable,UJe=(o,i,a)=>i in o?hFt(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,Dge=(o,i)=>{for(var a in i||(i={}))vFt.call(i,a)&&UJe(o,a,i[a]);if(JJe)for(var a of JJe(i))bFt.call(i,a)&&UJe(o,a,i[a]);return o},Nge=(o,i)=>gFt(o,yFt(i));class g1e{constructor(i,a,u=0,p=Object.create(null),y=Object.create(null),T=Object.create(null)){this.filename=i,this.source=a,this.offset=u,this.imports=p,this.types=y,this.declares=T,this.resolvedImportSources=Object.create(null),this.exportedTypes=Object.create(null),this.exportedDeclares=Object.create(null)}}function Eh(o,i,a){return i._resolvedElements?i._resolvedElements:i._resolvedElements=TFt(o,i,i._ownerScope||a||lY(o))}function TFt(o,i,a){var u,p;switch(i.type){case"TSTypeLiteral":return tHe(o,i.members,a);case"TSInterfaceDeclaration":return SFt(o,i,a);case"TSTypeAliasDeclaration":case"TSParenthesizedType":return Eh(o,i.typeAnnotation,a);case"TSFunctionType":return{props:{},calls:[i]};case"TSUnionType":case"TSIntersectionType":return zJe(i.types.map(y=>Eh(o,y,a)),i.type);case"TSMappedType":return xFt(o,i,a);case"TSIndexedAccessType":{const y=rHe(o,i,a);return zJe(y.map(T=>Eh(o,T,T._ownerScope)),"TSUnionType")}case"TSExpressionWithTypeArguments":case"TSTypeReference":{const y=v1e(i);if((y==="ExtractPropTypes"||y==="ExtractPublicPropTypes")&&i.typeParameters&&((u=a.imports[y])==null?void 0:u.source)==="vue")return qJe(Eh(o,i.typeParameters.params[0],a),a);const T=ex(o,i,a);if(T)return Eh(o,T,T._ownerScope);if(typeof y=="string"){if(kFt.has(y))return CFt(o,i,y,a);if(y==="ReturnType"&&i.typeParameters){const P=FFt(o,i.typeParameters.params[0],a);if(P)return Eh(o,P,a)}}return o.error("Unresolvable type reference or unsupported built-in utility type",i,a)}case"TSImportType":{if(kA(i.argument)==="vue"&&((p=i.qualifier)==null?void 0:p.type)==="Identifier"&&i.qualifier.name==="ExtractPropTypes"&&i.typeParameters)return qJe(Eh(o,i.typeParameters.params[0],a),a);const y=cY(o,i.argument,a,i.argument.value),T=ex(o,i,y);if(T)return Eh(o,T,T._ownerScope)}case"TSTypeQuery":{const y=ex(o,i,a);if(y)return Eh(o,y,y._ownerScope)}}return o.error(`Unresolvable type: ${i.type}`,i,a)}function tHe(o,i,a=lY(o)){const u={props:{}};for(const p of i)if(p.type==="TSPropertySignature"||p.type==="TSMethodSignature"){p._ownerScope=a;const y=kA(p.key);if(y&&!p.computed)u.props[y]=p;else if(p.key.type==="TemplateLiteral")for(const T of y1e(o,p.key,a))u.props[T]=p;else o.error("Unsupported computed key in type referenced by a macro",p.key,a)}else p.type==="TSCallSignatureDeclaration"&&(u.calls||(u.calls=[])).push(p);return u}function zJe(o,i){if(o.length===1)return o[0];const a={props:{}},{props:u}=a;for(const{props:p,calls:y}of o){for(const T in p)lQ(u,T)?u[T]=MF(u[T].key,{type:i,types:[u[T],p[T]]},u[T]._ownerScope,u[T].optional||p[T].optional):u[T]=p[T];y&&(a.calls||(a.calls=[])).push(...y)}return a}function MF(o,i,a,u){return{type:"TSPropertySignature",key:o,kind:"get",optional:u,typeAnnotation:{type:"TSTypeAnnotation",typeAnnotation:i},_ownerScope:a}}function SFt(o,i,a){const u=tHe(o,i.body.body,i._ownerScope);if(i.extends){for(const p of i.extends)if(!(p.leadingComments&&p.leadingComments.some(y=>y.value.includes("@vue-ignore"))))try{const{props:y}=Eh(o,p,a);for(const T in y)lQ(u.props,T)||(u.props[T]=y[T])}catch{o.error(`Failed to resolve extends base type.
If this previously worked in 3.2, you can instruct the compiler to ignore this extend by adding /* @vue-ignore */ before it, for example:
interface Props extends /* @vue-ignore */ Base {}
Note: both in 3.2 or with the ignore, the properties in the base type are treated as fallthrough attrs at runtime.`,p)}}return u}function xFt(o,i,a){const u={props:{}},p=nC(o,i.typeParameter.constraint,a);for(const y of p)u.props[y]=MF({type:"Identifier",name:y},i.typeAnnotation,a,!!i.optional);return u}function rHe(o,i,a){var u,p;if(i.indexType.type==="TSNumberKeyword")return nHe(o,i.objectType,a);const{indexType:y,objectType:T}=i,P=[];let I,B;y.type==="TSStringKeyword"?(B=Eh(o,T,a),I=Object.keys(B.props)):(I=nC(o,y,a),B=Eh(o,T,a));for(const z of I){const H=(p=(u=B.props[z])==null?void 0:u.typeAnnotation)==null?void 0:p.typeAnnotation;H&&(H._ownerScope=B.props[z]._ownerScope,P.push(H))}return P}function nHe(o,i,a){if(i.type==="TSArrayType")return[i.elementType];if(i.type==="TSTupleType")return i.elementTypes.map(u=>u.type==="TSNamedTupleMember"?u.elementType:u);if(i.type==="TSTypeReference"){if(v1e(i)==="Array"&&i.typeParameters)return i.typeParameters.params;{const u=ex(o,i,a);if(u)return nHe(o,u,a)}}return o.error("Failed to resolve element type from target type",i,a)}function nC(o,i,a){switch(i.type){case"StringLiteral":return[i.value];case"TSLiteralType":return nC(o,i.literal,a);case"TSUnionType":return i.types.map(u=>nC(o,u,a)).flat();case"TemplateLiteral":return y1e(o,i,a);case"TSTypeReference":{const u=ex(o,i,a);if(u)return nC(o,u,a);if(i.typeName.type==="Identifier"){const p=(y=0)=>nC(o,i.typeParameters.params[y],a);switch(i.typeName.name){case"Extract":return p(1);case"Exclude":{const y=p(1);return p().filter(T=>!y.includes(T))}case"Uppercase":return p().map(y=>y.toUpperCase());case"Lowercase":return p().map(y=>y.toLowerCase());case"Capitalize":return p().map(s6);case"Uncapitalize":return p().map(y=>y[0].toLowerCase()+y.slice(1));default:o.error("Unsupported type when resolving index type",i.typeName,a)}}}}return o.error("Failed to resolve index type into finite keys",i,a)}function y1e(o,i,a){if(!i.expressions.length)return[i.quasis[0].value.raw];const u=[],p=i.expressions[0],y=i.quasis[0],T=y?y.value.raw:"",P=nC(o,p,a),I=y1e(o,Nge(Dge({},i),{expressions:i.expressions.slice(1),quasis:y?i.quasis.slice(1):i.quasis}),a);for(const B of P)for(const z of I)u.push(T+B+z);return u}const kFt=new Set(["Partial","Required","Readonly","Pick","Omit"]);function CFt(o,i,a,u){const p=Eh(o,i.typeParameters.params[0],u);switch(a){case"Partial":{const P={props:{},calls:p.calls};return Object.keys(p.props).forEach(I=>{P.props[I]=Nge(Dge({},p.props[I]),{optional:!0})}),P}case"Required":{const P={props:{},calls:p.calls};return Object.keys(p.props).forEach(I=>{P.props[I]=Nge(Dge({},p.props[I]),{optional:!1})}),P}case"Readonly":return p;case"Pick":{const P=nC(o,i.typeParameters.params[1],u),I={props:{},calls:p.calls};for(const B of P)I.props[B]=p.props[B];return I}case"Omit":const y=nC(o,i.typeParameters.params[1],u),T={props:{},calls:p.calls};for(const P in p.props)y.includes(P)||(T.props[P]=p.props[P]);return T}}function ex(o,i,a,u,p=!1){return i._resolvedReference?i._resolvedReference:i._resolvedReference=Ige(o,a||lY(o),u||v1e(i),i,p)}function Ige(o,i,a,u,p){if(typeof a=="string"){if(i.imports[a])return EFt(o,u,a,i);{const y=u.type==="TSTypeQuery"?p?i.exportedDeclares:i.declares:p?i.exportedTypes:i.types;if(y[a])return y[a];{const T=wFt(o);if(T)for(const P of T){const I=u.type==="TSTypeQuery"?P.declares:P.types;if(I[a])return(o.deps||(o.deps=new Set)).add(P.filename),I[a]}}}}else{let y=Ige(o,i,a[0],u,p);if(y&&(y.type!=="TSModuleDeclaration"&&(y=y._ns),y)){const T=NFt(o,y,y._ownerScope||i);return Ige(o,T,a.length>2?a.slice(1):a[a.length-1],u,!y.declare)}}}function v1e(o){const i=o.type==="TSTypeReference"?o.typeName:o.type==="TSExpressionWithTypeArguments"?o.expression:o.type==="TSImportType"?o.qualifier:o.exprName;return(i==null?void 0:i.type)==="Identifier"?i.name:(i==null?void 0:i.type)==="TSQualifiedName"?iHe(i):"default"}function iHe(o){return o.type==="Identifier"?[o.name]:[...iHe(o.left),o.right.name]}function wFt(o){if(o.options.globalTypeFiles){if(!T1e(o))throw new Error("[vue/compiler-sfc] globalTypeFiles requires fs access.");return o.options.globalTypeFiles.map(a=>oHe(o,E0e(a),!0))}}let b1e;function sHe(o){b1e=o}function T1e(o){if(o.fs)return o.fs;const i=o.options.fs||b1e.sys;if(i)return o.fs={fileExists(a){return a.endsWith(".vue.ts")&&(a=a.replace(/\.ts$/,"")),i.fileExists(a)},readFile(a){return a.endsWith(".vue.ts")&&(a=a.replace(/\.ts$/,"")),i.readFile(a)}}}function EFt(o,i,a,u){const{source:p,imported:y}=u.imports[a],T=cY(o,i,u,p);return ex(o,i,T,y,!0)}function cY(o,i,a,u){const p=T1e(o);if(!p)return o.error("No fs option provided to `compileScript` in non-Node environment. File system access is required for resolving imported types.",i,a);let y=a.resolvedImportSources[u];if(!y){if(u.startsWith(".")){const T=Qhe(a.filename,"..",u);y=AFt(T,p)}else o.error("Type import from non-relative sources is not supported in the browser build.",i,a),b1e||o.error(`Failed to resolve import source ${JSON.stringify(u)}. typescript is required as a peer dep for vue in order to support resolving types from module imports.`,i,a),y=(a.filename,void 0);y&&(y=a.resolvedImportSources[u]=E0e(y))}return y?((o.deps||(o.deps=new Set)).add(y),oHe(o,y)):o.error(`Failed to resolve import source ${JSON.stringify(u)}.`,i,a)}function AFt(o,i){o=o.replace(/\.js$/,"");const a=u=>{if(i.fileExists(u))return u};return a(o)||a(o+".ts")||a(o+".d.ts")||a(Qhe(o,"index.ts"))||a(Qhe(o,"index.d.ts"))}const VJe=VQ(),PFt=new Map;const Oge=VQ();function aHe(o){o=E0e(o),Oge.delete(o),VJe.delete(o);const i=PFt.get(o);i&&VJe.delete(i)}function oHe(o,i,a=!1){const u=Oge.get(i);if(u)return u;const y=T1e(o).readFile(i)||"",T=DFt(i,y,o.options.babelParserPlugins),P=new g1e(i,y,0,cHe(T));return S1e(o,T,P,a),Oge.set(i,P),P}function DFt(o,i,a){const u=k0e(o);if(u===".ts"||u===".tsx")return c6(i,{plugins:Pge(u.slice(1),a,o.endsWith(".d.ts")),sourceType:"module"}).program.body;if(u===".vue"){const{descriptor:{script:p,scriptSetup:y}}=A0e(i);if(!p&&!y)return[];const T=p?p.loc.start.offset:1/0,P=y?y.loc.start.offset:1/0,I=T<P?p:y,B=T<P?y:p;let z=" ".repeat(Math.min(T,P))+I.content;B&&(z+=" ".repeat(B.loc.start.offset-p.loc.end.offset)+B.content);const H=(p==null?void 0:p.lang)||(y==null?void 0:y.lang);return c6(z,{plugins:Pge(H,a),sourceType:"module"}).program.body}return[]}function lY(o){if(o.scope)return o.scope;const i="ast"in o?o.ast:o.scriptAst?[...o.scriptAst.body,...o.scriptSetupAst.body]:o.scriptSetupAst.body,a=new g1e(o.filename,o.source,"startOffset"in o?o.startOffset:0,"userImports"in o?Object.create(o.userImports):cHe(i));return S1e(o,i,a),o.scope=a}function NFt(o,i,a){if(i._resolvedChildScope)return i._resolvedChildScope;const u=new g1e(a.filename,a.source,a.offset,Object.create(a.imports),Object.create(a.types),Object.create(a.declares));if(i.body.type==="TSModuleDeclaration"){const p=i.body;p._ownerScope=u;const y=kA(p.id);u.types[y]=u.exportedTypes[y]=p}else S1e(o,i.body.body,u);return i._resolvedChildScope=u}const IFt=/^Import|^Export/;function S1e(o,i,a,u=!1){const{types:p,declares:y,exportedTypes:T,exportedDeclares:P,imports:I}=a,B=u?!i.some(z=>IFt.test(z.type)):!1;for(const z of i)if(u){if(B)z.declare&&Y3(z,p,y);else if(z.type==="TSModuleDeclaration"&&z.global)for(const H of z.body.body)Y3(H,p,y)}else Y3(z,p,y);if(!u)for(const z of i)if(z.type==="ExportNamedDeclaration"){if(z.declaration)Y3(z.declaration,p,y),Y3(z.declaration,T,P);else for(const H of z.specifiers)if(H.type==="ExportSpecifier"){const Q=H.local.name,Ie=kA(H.exported);z.source?(I[Q]={source:z.source.value,imported:Q},T[Ie]={type:"TSTypeReference",typeName:{type:"Identifier",name:Q},_ownerScope:a}):p[Q]&&(T[Ie]=p[Q])}}else if(z.type==="ExportAllDeclaration"){const H=cY(o,z.source,a,z.source.value);Object.assign(a.exportedTypes,H.exportedTypes)}else z.type==="ExportDefaultDeclaration"&&z.declaration&&(z.declaration.type!=="Identifier"?(Y3(z.declaration,p,y,"default"),Y3(z.declaration,T,P,"default")):p[z.declaration.name]&&(T.default=p[z.declaration.name]));for(const z of Object.keys(p)){const H=p[z];H._ownerScope=a,H._ns&&(H._ns._ownerScope=a)}for(const z of Object.keys(y))y[z]._ownerScope=a}function Y3(o,i,a,u){switch(o.type){case"TSInterfaceDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":{const p=u||kA(o.id);let y=i[p];if(y){if(o.type==="TSModuleDeclaration"){y.type==="TSModuleDeclaration"?x1e(y,o):$Je(y,o);break}if(y.type==="TSModuleDeclaration"){i[p]=o,$Je(o,y);break}if(y.type!==o.type)break;o.type==="TSInterfaceDeclaration"?y.body.body.push(...o.body.body):y.members.push(...o.members)}else i[p]=o;break}case"ClassDeclaration":i[u||kA(o.id)]=o;break;case"TSTypeAliasDeclaration":i[o.id.name]=o.typeAnnotation;break;case"TSDeclareFunction":o.id&&(a[o.id.name]=o);break;case"VariableDeclaration":{if(o.declare)for(const p of o.declarations)p.id.type==="Identifier"&&p.id.typeAnnotation&&(a[p.id.name]=p.id.typeAnnotation.typeAnnotation);break}}}function x1e(o,i){const a=o.body,u=i.body;a.type==="TSModuleDeclaration"?u.type==="TSModuleDeclaration"?x1e(a,u):u.body.push({type:"ExportNamedDeclaration",declaration:a,exportKind:"type",specifiers:[]}):u.type==="TSModuleDeclaration"?a.body.push({type:"ExportNamedDeclaration",declaration:u,exportKind:"type",specifiers:[]}):a.body.push(...u.body)}function $Je(o,i){o._ns?x1e(o._ns,i):o._ns=i}function cHe(o){const i=Object.create(null);for(const a of o)OFt(a,i);return i}function OFt(o,i){if(o.type==="ImportDeclaration")for(const a of o.specifiers)i[a.local.name]={imported:Xhe(a),source:o.source.value}}function L0(o,i,a=i._ownerScope||lY(o)){try{switch(i.type){case"TSStringKeyword":return["String"];case"TSNumberKeyword":return["Number"];case"TSBooleanKeyword":return["Boolean"];case"TSObjectKeyword":return["Object"];case"TSNullKeyword":return["null"];case"TSTypeLiteral":case"TSInterfaceDeclaration":{const u=new Set,p=i.type==="TSTypeLiteral"?i.members:i.body.body;for(const y of p)y.type==="TSCallSignatureDeclaration"||y.type==="TSConstructSignatureDeclaration"?u.add("Function"):u.add("Object");return u.size?Array.from(u):["Object"]}case"TSPropertySignature":if(i.typeAnnotation)return L0(o,i.typeAnnotation.typeAnnotation,a);case"TSMethodSignature":case"TSFunctionType":return["Function"];case"TSArrayType":case"TSTupleType":return["Array"];case"TSLiteralType":switch(i.literal.type){case"StringLiteral":return["String"];case"BooleanLiteral":return["Boolean"];case"NumericLiteral":case"BigIntLiteral":return["Number"];default:return[_A]}case"TSTypeReference":{const u=ex(o,i,a);if(u)return L0(o,u,u._ownerScope);if(i.typeName.type==="Identifier")switch(i.typeName.name){case"Array":case"Function":case"Object":case"Set":case"Map":case"WeakSet":case"WeakMap":case"Date":case"Promise":return[i.typeName.name];case"Partial":case"Required":case"Readonly":case"Record":case"Pick":case"Omit":case"InstanceType":return["Object"];case"Uppercase":case"Lowercase":case"Capitalize":case"Uncapitalize":return["String"];case"Parameters":case"ConstructorParameters":return["Array"];case"NonNullable":if(i.typeParameters&&i.typeParameters.params[0])return L0(o,i.typeParameters.params[0],a).filter(p=>p!=="null");break;case"Extract":if(i.typeParameters&&i.typeParameters.params[1])return L0(o,i.typeParameters.params[1],a);break;case"Exclude":case"OmitThisParameter":if(i.typeParameters&&i.typeParameters.params[0])return L0(o,i.typeParameters.params[0],a);break}break}case"TSParenthesizedType":return L0(o,i.typeAnnotation,a);case"TSUnionType":return phe(o,i.types,a);case"TSIntersectionType":return phe(o,i.types,a).filter(u=>u!==_A);case"TSEnumDeclaration":return LFt(i);case"TSSymbolKeyword":return["Symbol"];case"TSIndexedAccessType":{const u=rHe(o,i,a);return phe(o,u,a)}case"ClassDeclaration":return["Object"];case"TSImportType":{const u=cY(o,i.argument,a,i.argument.value),p=ex(o,i,u);if(p)return L0(o,p,p._ownerScope);break}case"TSTypeQuery":{const u=i.exprName;if(u.type==="Identifier"){const p=a.declares[u.name];if(p)return L0(o,p,p._ownerScope)}break}}}catch{}return[_A]}function phe(o,i,a){return i.length===1?L0(o,i[0],a):[...new Set([].concat(...i.map(u=>L0(o,u,a))))]}function LFt(o){const i=new Set;for(const a of o.members)if(a.initializer)switch(a.initializer.type){case"StringLiteral":i.add("String");break;case"NumericLiteral":i.add("Number");break}return i.size?[...i]:["Number"]}function qJe({props:o},i){const a={props:{}};for(const u in o){const p=o[u];a.props[u]=Lge(p.key,p.typeAnnotation.typeAnnotation,i)}return a}function Lge(o,i,a,u=!0,p=!0){if(p&&i.type==="TSTypeLiteral"){const y=WJe(i,"type");if(y){const T=WJe(i,"required"),P=T&&T.type==="TSLiteralType"&&T.literal.type==="BooleanLiteral"?!T.literal.value:!0;return Lge(o,y,a,P,!1)}}else if(i.type==="TSTypeReference"&&i.typeName.type==="Identifier"){if(i.typeName.name.endsWith("Constructor"))return MF(o,MFt(i.typeName.name),a,u);if(i.typeName.name==="PropType"&&i.typeParameters)return MF(o,i.typeParameters.params[0],a,u)}if((i.type==="TSTypeReference"||i.type==="TSImportType")&&i.typeParameters)for(const y of i.typeParameters.params){const T=Lge(o,y,a,u);if(T)return T}return MF(o,{type:"TSNullKeyword"},a,u)}function MFt(o){const i=o.slice(0,-11);switch(i){case"String":case"Number":case"Boolean":return{type:`TS${i}Keyword`};case"Array":case"Function":case"Object":case"Set":case"Map":case"WeakSet":case"WeakMap":case"Date":case"Promise":return{type:"TSTypeReference",typeName:{type:"Identifier",name:i}}}return{type:"TSNullKeyword"}}function WJe(o,i){const a=o.members.find(u=>u.type==="TSPropertySignature"&&!u.computed&&kA(u.key)===i&&u.typeAnnotation);return a&&a.typeAnnotation.typeAnnotation}function FFt(o,i,a){var u;let p=i;if((i.type==="TSTypeReference"||i.type==="TSTypeQuery"||i.type==="TSImportType")&&(p=ex(o,i,a)),!!p){if(p.type==="TSFunctionType")return(u=p.typeAnnotation)==null?void 0:u.typeAnnotation;if(p.type==="TSDeclareFunction")return p.returnType}}function lHe(o,i,a){if(i.type==="TSTypeReference"){const p=ex(o,i,a);p&&(i=p)}let u;return i.type==="TSUnionType"?u=i.types.flatMap(p=>lHe(o,p,a)):u=[i],u}const uHe="defineModel";function HJe(o,i,a){if(!o.options.defineModel||!Sy(i,uHe))return!1;mA(`This project is using defineModel(), which is an experimental feature. It may receive breaking changes or be removed in the future, so use at your own risk.
To stay updated, follow the RFC at https://github.com/vuejs/rfcs/discussions/503.`),o.hasDefineModelCall=!0;const u=i.typeParameters&&i.typeParameters.params[0]||void 0;let p,y;const T=i.arguments[0]&&nx(i.arguments[0]);T&&T.type==="StringLiteral"?(p=T.value,y=i.arguments[1]):(p="modelValue",y=T),o.modelDecls[p]&&o.error(`duplicate model name ${JSON.stringify(p)}`,i);const P=y&&o.getString(y);o.modelDecls[p]={type:u,options:P,identifier:a&&a.type==="Identifier"?a.name:void 0},o.bindingMetadata[p]="props";let I="";if(y)if(y.type==="ObjectExpression"){const B=y.properties.find(z=>z.type==="ObjectProperty"&&(z.key.type==="Identifier"&&z.key.name==="local"||z.key.type==="StringLiteral"&&z.key.value==="local"));if(B)I=`{ ${o.getString(B)} }`;else for(const z of y.properties)if(z.type==="SpreadElement"||z.computed){I=P;break}}else I=P;return o.s.overwrite(o.startOffset+i.start,o.startOffset+i.end,`${o.helper("useModel")}(__props, ${JSON.stringify(p)}${I?`, ${I}`:""})`),!0}function RFt(o){if(!o.hasDefineModelCall)return;const i=!!o.options.isProd;let a="";for(const[u,{type:p,options:y}]of Object.entries(o.modelDecls)){let T=!1,P=p&&L0(o,p);if(P){const H=P.includes(_A);P=P.filter(Q=>Q===_A?!1:i?Q==="Boolean"||Q==="Function"&&y:!0),T=!i&&H&&P.length>0}let I=P&&P.length>0&&Ghe(P)||void 0;const B=Hhe([I&&`type: ${I}`,T&&"skipCheck: true"]);let z;I&&y?z=o.isTS?`{ ${B}, ...${y} }`:`Object.assign({ ${B} }, ${y})`:z=y||(I?`{ ${B} }`:"{}"),a+=`
${JSON.stringify(u)}: ${z},`}return`{${a}
}`}const Nh="defineProps",CN="withDefaults";function Mge(o,i,a){if(!Sy(i,Nh))return BFt(o,i,a);if(o.hasDefinePropsCall&&o.error(`duplicate ${Nh}() call`,i),o.hasDefinePropsCall=!0,o.propsRuntimeDecl=i.arguments[0],o.propsRuntimeDecl)for(const u of Age(o.propsRuntimeDecl))u in o.bindingMetadata||(o.bindingMetadata[u]="props");return i.typeParameters&&(o.propsRuntimeDecl&&o.error(`${Nh}() cannot accept both type and non-type arguments at the same time. Use one or the other.`,i),o.propsTypeDecl=i.typeParameters.params[0]),a&&(a.type==="ObjectPattern"?qFt(o,a):o.propsIdentifier=o.getString(a)),!0}function BFt(o,i,a){return Sy(i,CN)?(Mge(o,i.arguments[0],a)?(o.propsRuntimeDecl&&o.error(`${CN} can only be used with type-based ${Nh} declaration.`,i),o.propsDestructureDecl&&o.error(`${CN}() is unnecessary when using destructure with ${Nh}().
Prefer using destructure default values, e.g. const { foo = 1 } = defineProps(...).`,i.callee),o.propsRuntimeDefaults=i.arguments[1],o.propsRuntimeDefaults||o.error(`The 2nd argument of ${CN} is required.`,i)):o.error(`${CN}' first argument must be a ${Nh} call.`,i.arguments[0]||i),!0):!1}function jFt(o){let i;if(o.propsRuntimeDecl){if(i=o.getString(o.propsRuntimeDecl).trim(),o.propsDestructureDecl){const u=[];for(const p in o.propsDestructuredBindings){const y=fHe(o,p),T=f$e(p);y&&u.push(`${T}: ${y.valueString}${y.needSkipFactory?`, __skip_${T}: true`:""}`)}u.length&&(i=`${o.helper("mergeDefaults")}(${i}, {
${u.join(`,
`)}
})`)}}else o.propsTypeDecl&&(i=JFt(o));const a=RFt(o);return i&&a?`${o.helper("mergeModels")}(${i}, ${a})`:a||i}function JFt(o){const i=UFt(o,o.propsTypeDecl);if(!i.length)return;const a=[],u=VFt(o);for(const y of i)a.push(zFt(o,y,u)),y.key in o.bindingMetadata||(o.bindingMetadata[y.key]="props");let p=`{
${a.join(`,
`)}
}`;return o.propsRuntimeDefaults&&!u&&(p=`${o.helper("mergeDefaults")}(${p}, ${o.getString(o.propsRuntimeDefaults)})`),p}function UFt(o,i){const a=[],u=Eh(o,i);for(const p in u.props){const y=u.props[p];let T=L0(o,y),P=!1;T.includes(_A)&&(T.includes("Boolean")||T.includes("Function")?(T=T.filter(I=>I!==_A),P=!0):T=["null"]),a.push({key:p,required:!y.optional,type:T||["null"],skipCheck:P})}return a}function zFt(o,{key:i,required:a,type:u,skipCheck:p},y){let T;const P=fHe(o,i,u);if(P)T=`default: ${P.valueString}${P.needSkipFactory?", skipFactory: true":""}`;else if(y){const B=o.propsRuntimeDefaults.properties.find(z=>z.type==="SpreadElement"?!1:w0e(z.key,z.computed)===i);B&&(B.type==="ObjectProperty"?T=`default: ${o.getString(B.value)}`:T=`${B.async?"async ":""}${B.kind!=="method"?`${B.kind} `:""}default() ${o.getString(B.body)}`)}const I=f$e(i);return o.options.isProd?u.some(B=>B==="Boolean"||(!y||T)&&B==="Function")?`${I}: { ${Hhe([`type: ${Ghe(u)}`,T])} }`:`${I}: ${T?`{ ${T} }`:"{}"}`:`${I}: { ${Hhe([`type: ${Ghe(u)}`,`required: ${a}`,p&&"skipCheck: true",T])} }`}function VFt(o){return!!(o.propsRuntimeDefaults&&o.propsRuntimeDefaults.type==="ObjectExpression"&&o.propsRuntimeDefaults.properties.every(i=>i.type!=="SpreadElement"&&(!i.computed||i.key.type.endsWith("Literal"))))}function fHe(o,i,a){const u=o.propsDestructuredBindings[i],p=u&&u.default;if(p){const y=o.getString(p),T=nx(p);if(a&&a.length&&!a.includes("null")){const B=$Ft(T);B&&!a.includes(B)&&o.error(`Default value of prop "${i}" does not match declared type.`,T)}const P=!a&&(xb(T)||T.type==="Identifier");return{valueString:!P&&!l$e(T)&&!(a!=null&&a.includes("Function"))?`() => (${y})`:y,needSkipFactory:P}}}function $Ft(o){switch(o.type){case"StringLiteral":return"String";case"NumericLiteral":return"Number";case"BooleanLiteral":return"Boolean";case"ObjectExpression":return"Object";case"ArrayExpression":return"Array";case"FunctionExpression":case"ArrowFunctionExpression":return"Function"}}function qFt(o,i){if(!o.options.propsDestructure&&!o.options.reactivityTransform){o.propsIdentifier=o.getString(i);return}mA(`This project is using reactive props destructure, which is an experimental feature. It may receive breaking changes or be removed in the future, so use at your own risk.
To stay updated, follow the RFC at https://github.com/vuejs/rfcs/discussions/502.`),o.propsDestructureDecl=i;const a=(u,p,y)=>{o.propsDestructuredBindings[u]={local:p,default:y},p!==u&&(o.bindingMetadata[p]="props-aliased",(o.bindingMetadata.__propsAliases||(o.bindingMetadata.__propsAliases={}))[p]=u)};for(const u of i.properties)if(u.type==="ObjectProperty"){const p=w0e(u.key,u.computed);if(p||o.error(`${Nh}() destructure cannot use computed key.`,u.key),u.value.type==="AssignmentPattern"){const{left:y,right:T}=u.value;y.type!=="Identifier"&&o.error(`${Nh}() destructure does not support nested patterns.`,y),a(p,y.name,T)}else u.value.type==="Identifier"?a(p,u.value.name):o.error(`${Nh}() destructure does not support nested patterns.`,u.value)}else o.propsDestructureRestId=u.argument.name,o.bindingMetadata[o.propsDestructureRestId]="setup-reactive-const"}function WFt(o,i){if(!o.options.propsDestructure&&!o.options.reactivityTransform)return;const a={},u=[a];let p=a;const y=new WeakSet,T=[],P=Object.create(null);for(const et in o.propsDestructuredBindings){const{local:Ve}=o.propsDestructuredBindings[et];a[Ve]=!0,P[Ve]=et}function I(){u.push(p=Object.create(p))}function B(){u.pop(),p=u[u.length-1]||null}function z(et){y.add(et),p?p[et.name]=!1:o.error("registerBinding called without active scope, something is wrong.",et)}function H(et,Ve=!1){for(const vt of et.body)if(vt.type==="VariableDeclaration")Q(vt,Ve);else if(vt.type==="FunctionDeclaration"||vt.type==="ClassDeclaration"){if(vt.declare||!vt.id)continue;z(vt.id)}else(vt.type==="ForOfStatement"||vt.type==="ForInStatement")&&vt.left.type==="VariableDeclaration"?Q(vt.left):vt.type==="ExportNamedDeclaration"&&vt.declaration&&vt.declaration.type==="VariableDeclaration"?Q(vt.declaration,Ve):vt.type==="LabeledStatement"&&vt.body.type==="VariableDeclaration"&&Q(vt.body,Ve)}function Q(et,Ve=!1){if(!et.declare)for(const vt of et.declarations){const ut=Ve&&vt.init&&Sy(nx(vt.init),"defineProps");for(const He of Sb(vt.id))ut?y.add(He):z(He)}}function Ie(et,Ve,vt){(Ve.type==="AssignmentExpression"&&et===Ve.left||Ve.type==="UpdateExpression")&&o.error("Cannot assign to destructured props as they are readonly.",et),AA(Ve)&&Ve.shorthand?(!Ve.inPattern||EA(Ve,vt))&&o.s.appendLeft(et.end+o.startOffset,`: ${QN(P[et.name])}`):o.s.overwrite(et.start+o.startOffset,et.end+o.startOffset,QN(P[et.name]))}function ze(et,Ve,vt=Ve){if(Sy(et,vt)){const ut=nx(et.arguments[0]);ut.type==="Identifier"&&p[ut.name]&&o.error(`"${ut.name}" is a destructured prop and should not be passed directly to ${Ve}(). Pass a getter () => ${ut.name} instead.`,ut)}}const Ue=o.scriptSetupAst;H(Ue,!0),MR(Ue,{enter(et,Ve){if(Ve&&T.push(Ve),Ve&&Ve.type.startsWith("TS")&&Ve.type!=="TSAsExpression"&&Ve.type!=="TSNonNullExpression"&&Ve.type!=="TSTypeAssertion")return this.skip();if(ze(et,"watch",i.watch),ze(et,"toRef",i.toRef),xb(et)){I(),BQ(et,z),et.body.type==="BlockStatement"&&H(et.body);return}if(et.type==="CatchClause"){I(),et.param&&et.param.type==="Identifier"&&z(et.param),H(et.body);return}if(et.type==="BlockStatement"&&!xb(Ve)){I(),H(et);return}et.type==="Identifier"&&RQ(et,Ve,T)&&!y.has(et)&&p[et.name]&&Ie(et,Ve,T)},leave(et,Ve){Ve&&T.pop(),(et.type==="BlockStatement"&&!xb(Ve)||xb(et))&&B()}})}const gA="defineEmits";function GJe(o,i,a){return Sy(i,gA)?(o.hasDefineEmitCall&&o.error(`duplicate ${gA}() call`,i),o.hasDefineEmitCall=!0,o.emitsRuntimeDecl=i.arguments[0],i.typeParameters&&(o.emitsRuntimeDecl&&o.error(`${gA}() cannot accept both type and non-type arguments at the same time. Use one or the other.`,i),o.emitsTypeDecl=i.typeParameters.params[0]),a&&(o.emitIdentifier=a.type==="Identifier"?a.name:o.getString(a)),!0):!1}function HFt(o){let i="";if(o.emitsRuntimeDecl)i=o.getString(o.emitsRuntimeDecl).trim();else if(o.emitsTypeDecl){const a=GFt(o);i=a.size?`[${Array.from(a).map(u=>JSON.stringify(u)).join(", ")}]`:""}if(o.hasDefineModelCall){let a=`[${Object.keys(o.modelDecls).map(u=>JSON.stringify(`update:${u}`)).join(", ")}]`;i=i?`${o.helper("mergeModels")}(${i}, ${a})`:a}return i}function GFt(o){const i=new Set,a=o.emitsTypeDecl;if(a.type==="TSFunctionType")return XJe(o,a.parameters[0],i),i;const{props:u,calls:p}=Eh(o,a);let y=!1;for(const T in u)i.add(T),y=!0;if(p){y&&o.error("defineEmits() type cannot mixed call signature and property syntax.",a);for(const T of p)XJe(o,T.parameters[0],i)}return i}function XJe(o,i,a){if(i.type==="Identifier"&&i.typeAnnotation&&i.typeAnnotation.type==="TSTypeAnnotation"){const u=lHe(o,i.typeAnnotation.typeAnnotation);for(const p of u)p.type==="TSLiteralType"&&p.literal.type!=="UnaryExpression"&&p.literal.type!=="TemplateLiteral"&&a.add(String(p.literal.value))}}const qX="defineExpose";function XFt(o,i){return Sy(i,qX)?(o.hasDefineExposeCall&&o.error(`duplicate ${qX}() call`,i),o.hasDefineExposeCall=!0,!0):!1}const HG="defineSlots";function QJe(o,i,a){return Sy(i,HG)?(o.hasDefineSlotsCall&&o.error(`duplicate ${HG}() call`,i),o.hasDefineSlotsCall=!0,i.arguments.length>0&&o.error(`${HG}() cannot accept arguments`,i),a&&o.s.overwrite(o.startOffset+i.start,o.startOffset+i.end,`${o.helper("useSlots")}()`),!0):!1}const Gk="defineOptions";function YJe(o,i){if(!Sy(i,Gk))return!1;if(o.hasDefineOptionsCall&&o.error(`duplicate ${Gk}() call`,i),i.typeParameters&&o.error(`${Gk}() cannot accept type arguments`,i),!i.arguments[0])return!0;o.hasDefineOptionsCall=!0,o.optionsRuntimeDecl=nx(i.arguments[0]);let a,u,p,y;if(o.optionsRuntimeDecl.type==="ObjectExpression")for(const T of o.optionsRuntimeDecl.properties)(T.type==="ObjectProperty"||T.type==="ObjectMethod")&&T.key.type==="Identifier"&&(T.key.name==="props"&&(a=T),T.key.name==="emits"&&(u=T),T.key.name==="expose"&&(p=T),T.key.name==="slots"&&(y=T));return a&&o.error(`${Gk}() cannot be used to declare props. Use ${Nh}() instead.`,a),u&&o.error(`${Gk}() cannot be used to declare emits. Use ${gA}() instead.`,u),p&&o.error(`${Gk}() cannot be used to declare expose. Use ${qX}() instead.`,p),y&&o.error(`${Gk}() cannot be used to declare slots. Use ${HG}() instead.`,y),!0}function QFt(o,i,a,u){const p=i.argument.extra&&i.argument.extra.parenthesized?i.argument.extra.parenStart:i.argument.start,y=o.startOffset,T=o.descriptor.source.slice(p+y,i.argument.end+y),P=/\bawait\b/.test(T);o.s.overwrite(i.start+y,p+y,`${a?";":""}(
([__temp,__restore] = ${o.helper("withAsyncContext")}(${P?"async ":""}() => `),o.s.appendLeft(i.end+y,`)),
${u?"":"__temp = "}await __temp,
__restore()${u?"":`,
__temp`}
)`)}var YFt=Object.defineProperty,ZFt=Object.defineProperties,KFt=Object.getOwnPropertyDescriptors,ZJe=Object.getOwnPropertySymbols,eRt=Object.prototype.hasOwnProperty,tRt=Object.prototype.propertyIsEnumerable,KJe=(o,i,a)=>i in o?YFt(o,i,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[i]=a,fF=(o,i)=>{for(var a in i||(i={}))eRt.call(i,a)&&KJe(o,a,i[a]);if(ZJe)for(var a of ZJe(i))tRt.call(i,a)&&KJe(o,a,i[a]);return o},dhe=(o,i)=>ZFt(o,KFt(i));function _He(o,i){var a;i.id||mA("compileScript now requires passing the `id` option.\nUpgrade your vite or vue-loader version for compatibility with the latest experimental proposals.");const u=new mFt(o,i),{script:p,scriptSetup:y,source:T,filename:P}=o,I=i.hoistStatic!==!1&&!p,B=i.id?i.id.replace(/^data-v-/,""):"",z=p&&p.lang,H=y&&y.lang,Q=!!i.reactivityTransform;let Ie;if(!y){if(!p)throw new Error("[@vue/compiler-sfc] SFC contains no <script> tags.");return dFt(u,B)}if(p&&z!==H)throw new Error("[@vue/compiler-sfc] <script> and <script setup> must have the same language type.");if(H&&!u.isJS&&!u.isTS)return y;const ze=Object.create(null),Ue=Object.create(null);let et,Ve=!1,vt=!1;const ut=u.startOffset,He=u.endOffset,Bt=p&&p.loc.start.offset,ar=p&&p.loc.end.offset;function kr(gr){const Ln=gr.start+ut;let Fr=gr.end+ut;for(gr.trailingComments&&gr.trailingComments.length>0&&(Fr=gr.trailingComments[gr.trailingComments.length-1].end+ut);Fr<=T.length&&/\s/.test(T.charAt(Fr));)Fr++;u.s.move(Ln,Fr,0)}function Ot(gr,Ln,Fr,fr,ji,lr){let ei=lr;lr&&u.isTS&&o.template&&!o.template.src&&!o.template.lang&&(ei=v$e(Ln,o)),u.userImports[Ln]={isType:fr,imported:Fr,local:Ln,source:gr,isFromSetup:ji,isUsedInTemplate:ei}}function xt(gr,Ln){gr&&EI(gr,Fr=>{const fr=Ue[Fr.name];fr&&fr!=="literal-const"&&u.error(`\`${Ln}()\` in <script setup> cannot reference locally declared variables because it will be hoisted outside of the setup() function. If your component options require initialization in the module scope, use a separate normal <script> to export the options instead.`,Fr)})}const Wt=u.scriptAst,_r=u.scriptSetupAst;if(Wt){for(const gr of Wt.body)if(gr.type==="ImportDeclaration")for(const Ln of gr.specifiers){const Fr=Xhe(Ln);Ot(gr.source.value,Ln.local.name,Fr,gr.importKind==="type"||Ln.type==="ImportSpecifier"&&Ln.importKind==="type",!1,!i.inlineTemplate)}}for(const gr of _r.body)if(gr.type==="ImportDeclaration"){kr(gr);let Ln=0;const Fr=fr=>{const ji=fr>Ln;Ln++;const lr=gr.specifiers[fr],ei=gr.specifiers[fr+1];u.s.remove(ji?gr.specifiers[fr-1].end+ut:lr.start+ut,ei&&!ji?ei.start+ut:lr.end+ut)};for(let fr=0;fr<gr.specifiers.length;fr++){const ji=gr.specifiers[fr],lr=ji.local.name,ei=Xhe(ji),fi=gr.source.value,fs=u.userImports[lr];fi==="vue"&&(ei===Nh||ei===gA||ei===qX)?(mA(`\`${ei}\` is a compiler macro and no longer needs to be imported.`),Fr(fr)):fs?fs.source===fi&&fs.imported===ei?Fr(fr):u.error("different imports aliased to same local name.",ji):Ot(fi,lr,ei,gr.importKind==="type"||ji.type==="ImportSpecifier"&&ji.importKind==="type",!0,!i.inlineTemplate)}gr.specifiers.length&&Ln===gr.specifiers.length&&u.s.remove(gr.start+ut,gr.end+ut)}const An={};for(const gr in u.userImports){const{source:Ln,imported:Fr,local:fr}=u.userImports[gr];Ln==="vue"&&(An[Fr]=fr)}if(p&&Wt){for(const gr of Wt.body)if(gr.type==="ExportDefaultDeclaration"){et=gr;let Ln;if(et.declaration.type==="ObjectExpression"?Ln=et.declaration.properties:et.declaration.type==="CallExpression"&&et.declaration.arguments[0]&&et.declaration.arguments[0].type==="ObjectExpression"&&(Ln=et.declaration.arguments[0].properties),Ln)for(const ji of Ln)ji.type==="ObjectProperty"&&ji.key.type==="Identifier"&&ji.key.name==="name"&&(u.hasDefaultExportName=!0),(ji.type==="ObjectMethod"||ji.type==="ObjectProperty")&&ji.key.type==="Identifier"&&ji.key.name==="render"&&(u.hasDefaultExportRender=!0);const Fr=gr.start+Bt,fr=gr.declaration.start+Bt;u.s.overwrite(Fr,fr,`const ${kN} = `)}else if(gr.type==="ExportNamedDeclaration"){const Ln=gr.specifiers.find(Fr=>Fr.exported.type==="Identifier"&&Fr.exported.name==="default");Ln&&(et=gr,gr.specifiers.length>1?u.s.remove(Ln.start+Bt,Ln.end+Bt):u.s.remove(gr.start+Bt,gr.end+Bt),gr.source?u.s.prepend(`import { ${Ln.local.name} as ${kN} } from '${gr.source.value}'
`):u.s.appendLeft(ar,`
const ${kN} = ${Ln.local.name}
`)),gr.declaration&&mhe("script",gr.declaration,ze,An,I)}else(gr.type==="VariableDeclaration"||gr.type==="FunctionDeclaration"||gr.type==="ClassDeclaration"||gr.type==="TSEnumDeclaration")&&!gr.declare&&mhe("script",gr,ze,An,I);if(Q&&xR(p.content)){const{rootRefs:gr,importedHelpers:Ln}=pI(Wt,u.s,Bt);Ie=gr;for(const Fr of Ln)u.helperImports.add(Fr)}Bt>ut&&(/\n$/.test(p.content.trim())||u.s.appendLeft(ar,`
`),u.s.move(Bt,ar,0))}for(const gr of _r.body){if(gr.type==="ExpressionStatement"){const Fr=nx(gr.expression);if(Mge(u,Fr)||GJe(u,Fr)||YJe(u,Fr)||QJe(u,Fr))u.s.remove(gr.start+ut,gr.end+ut);else if(XFt(u,Fr)){const fr=Fr.callee;u.s.overwrite(fr.start+ut,fr.end+ut,"__expose")}else HJe(u,Fr)}if(gr.type==="VariableDeclaration"&&!gr.declare){const Fr=gr.declarations.length;let fr=Fr,ji;for(let lr=0;lr<Fr;lr++){const ei=gr.declarations[lr],fi=ei.init&&nx(ei.init);if(fi){YJe(u,fi)&&u.error(`${Gk}() has no returning value, it cannot be assigned.`,gr);const fs=Mge(u,fi,ei.id),Xs=!fs&&GJe(u,fi,ei.id);if(!Xs&&(QJe(u,fi,ei.id)||HJe(u,fi,ei.id)),fs||Xs)if(fr===1)u.s.remove(gr.start+ut,gr.end+ut);else{let or=ei.start+ut,Oe=ei.end+ut;lr===Fr-1?or=gr.declarations[ji].end+ut:Oe=gr.declarations[lr+1].start+ut,u.s.remove(or,Oe),fr--}else ji=lr}}}let Ln=!1;if((gr.type==="VariableDeclaration"||gr.type==="FunctionDeclaration"||gr.type==="ClassDeclaration"||gr.type==="TSEnumDeclaration")&&!gr.declare&&(Ln=mhe("scriptSetup",gr,Ue,An,I)),I&&Ln&&kr(gr),gr.type==="VariableDeclaration"&&!gr.declare||gr.type.endsWith("Statement")){const Fr=[_r.body];MR(gr,{enter(fr,ji){if(xb(fr)&&this.skip(),fr.type==="BlockStatement"&&Fr.push(fr.body),fr.type==="AwaitExpression"){Ve=!0;const ei=Fr[Fr.length-1].some((fi,fs)=>(Fr.length===1||fs>0)&&fi.type==="ExpressionStatement"&&fi.start===fr.start);QFt(u,fr,ei,ji.type==="ExpressionStatement")}},exit(fr){fr.type==="BlockStatement"&&Fr.pop()}})}(gr.type==="ExportNamedDeclaration"&&gr.exportKind!=="type"||gr.type==="ExportAllDeclaration"||gr.type==="ExportDefaultDeclaration")&&u.error("<script setup> cannot contain ES module exports. If you are using a previous version of <script setup>, please consult the updated RFC at https://github.com/vuejs/rfcs/pull/227.",gr),u.isTS&&(gr.type.startsWith("TS")||gr.type==="ExportNamedDeclaration"&&gr.exportKind==="type"||gr.type==="VariableDeclaration"&&gr.declare)&&gr.type!=="TSEnumDeclaration"&&kr(gr)}if(u.propsDestructureDecl&&WFt(u,An),Q&&(Ie||xR(y.content))){const{rootRefs:gr,importedHelpers:Ln}=pI(_r,u.s,ut,Ie);Ie=Ie?[...Ie,...gr]:gr;for(const Fr of Ln)u.helperImports.add(Fr)}xt(u.propsRuntimeDecl,Nh),xt(u.propsRuntimeDefaults,Nh),xt(u.propsDestructureDecl,Nh),xt(u.emitsRuntimeDecl,gA),xt(u.optionsRuntimeDecl,Gk),p?ut<Bt?(u.s.remove(0,ut),u.s.remove(He,Bt),u.s.remove(ar,T.length)):(u.s.remove(0,Bt),u.s.remove(ar,ut),u.s.remove(He,T.length)):(u.s.remove(0,ut),u.s.remove(He,T.length)),Wt&&Object.assign(u.bindingMetadata,KWe(Wt.body));for(const[gr,{isType:Ln,imported:Fr,source:fr}]of Object.entries(u.userImports))Ln||(u.bindingMetadata[gr]=Fr==="*"||Fr==="default"&&fr.endsWith(".vue")||fr==="vue"?"setup-const":"setup-maybe-ref");for(const gr in ze)u.bindingMetadata[gr]=ze[gr];for(const gr in Ue)u.bindingMetadata[gr]=Ue[gr];if(Ie)for(const gr of Ie)u.bindingMetadata[gr]="setup-ref";o.cssVars.length&&!(i.inlineTemplate&&((a=i.templateOptions)!=null&&a.ssr))&&(u.helperImports.add(xX),u.helperImports.add("unref"),u.s.prependLeft(ut,`
${y$e(o.cssVars,u.bindingMetadata,B,!!i.isProd)}
`));let hr="__props";if(u.propsTypeDecl&&(hr+=": any"),u.propsIdentifier&&u.s.prependLeft(ut,`
const ${u.propsIdentifier} = __props;
`),u.propsDestructureRestId&&u.s.prependLeft(ut,`
const ${u.propsDestructureRestId} = ${u.helper("createPropsRestProxy")}(__props, ${JSON.stringify(Object.keys(u.propsDestructuredBindings))});
`),Ve){const gr=u.isTS?": any":"";u.s.prependLeft(ut,`
let __temp${gr}, __restore${gr}
`)}const Fi=u.hasDefineExposeCall||!i.inlineTemplate?["expose: __expose"]:[];u.emitIdentifier&&Fi.push(u.emitIdentifier==="emit"?"emit":`emit: ${u.emitIdentifier}`),Fi.length&&(hr+=`, { ${Fi.join(", ")} }`);let ss;if(!i.inlineTemplate||!o.template&&u.hasDefaultExportRender){const gr=fF(fF({},ze),Ue);for(const Ln in u.userImports)!u.userImports[Ln].isType&&u.userImports[Ln].isUsedInTemplate&&(gr[Ln]=!0);ss="{ ";for(const Ln in gr)if(gr[Ln]===!0&&u.userImports[Ln].source!=="vue"&&!u.userImports[Ln].source.endsWith(".vue"))ss+=`get ${Ln}() { return ${Ln} }, `;else if(u.bindingMetadata[Ln]==="setup-let"){const Fr=Ln==="v"?"_v":"v";ss+=`get ${Ln}() { return ${Ln} }, set ${Ln}(${Fr}) { ${Ln} = ${Fr} }, `}else ss+=`${Ln}, `;ss=ss.replace(/, $/,"")+" }"}else if(o.template&&!o.template.src){i.templateOptions&&i.templateOptions.ssr&&(vt=!0);const{code:gr,ast:Ln,preamble:Fr,tips:fr,errors:ji}=q0e(dhe(fF({filename:P,source:o.template.content,inMap:o.template.map},i.templateOptions),{id:B,scoped:o.styles.some(ei=>ei.scoped),isProd:i.isProd,ssrCssVars:o.cssVars,compilerOptions:dhe(fF({},i.templateOptions&&i.templateOptions.compilerOptions),{inline:!0,isTS:u.isTS,bindingMetadata:u.bindingMetadata})}));fr.length&&fr.forEach(mA);const lr=ji[0];if(typeof lr=="string")throw new Error(lr);if(lr)throw lr.loc&&(lr.message+=`
`+o.filename+`
`+yA(T,lr.loc.start.offset,lr.loc.end.offset)+`
`),lr;Fr&&u.s.prepend(Fr),Ln&&Ln.helpers.has(eI)&&u.helperImports.delete("unref"),ss=gr}else ss="() => {}";i.inlineTemplate?u.s.appendRight(He,`
return ${ss}
}
`):u.s.appendRight(He,`
const __returned__ = ${ss}
Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })
return __returned__
}
`);const qt=i.genDefaultAs?`const ${i.genDefaultAs} =`:"export default";let Ba="";if(!u.hasDefaultExportName&&P&&P!==b$e){const gr=P.match(/([^/\\]+)\.\w+$/);gr&&(Ba+=`
__name: '${gr[1]}',`)}vt&&(Ba+=`
__ssrInlineRender: true,`);const $s=jFt(u);$s&&(Ba+=`
props: ${$s},`);const Vn=HFt(u);Vn&&(Ba+=`
emits: ${Vn},`);let mn="";u.optionsRuntimeDecl&&(mn=y.content.slice(u.optionsRuntimeDecl.start,u.optionsRuntimeDecl.end).trim());const Tn=u.hasDefineExposeCall||i.inlineTemplate?"":` __expose();
`;if(u.isTS){const gr=(et?`
...${kN},`:"")+(mn?`
...${mn},`:"");u.s.prependLeft(ut,`
${qt} /*#__PURE__*/${u.helper("defineComponent")}({${gr}${Ba}
${Ve?"async ":""}setup(${hr}) {
${Tn}`),u.s.appendRight(He,"})")}else et||mn?(u.s.prependLeft(ut,`
${qt} /*#__PURE__*/Object.assign(${et?`${kN}, `:""}${mn?`${mn}, `:""}{${Ba}
${Ve?"async ":""}setup(${hr}) {
${Tn}`),u.s.appendRight(He,"})")):(u.s.prependLeft(ut,`
${qt} {${Ba}
${Ve?"async ":""}setup(${hr}) {
${Tn}`),u.s.appendRight(He,"}"));return u.helperImports.size>0&&u.s.prepend(`import { ${[...u.helperImports].map(gr=>`${gr} as _${gr}`).join(", ")} } from 'vue'
`),u.s.trim(),dhe(fF({},y),{bindings:u.bindingMetadata,imports:u.userImports,content:u.s.toString(),map:i.sourceMap!==!1?u.s.generateMap({source:P,hires:!0,includeContent:!0}):void 0,scriptAst:Wt==null?void 0:Wt.body,scriptSetupAst:_r==null?void 0:_r.body,deps:u.deps?[...u.deps]:void 0})}function UN(o,i,a){o[i.name]=a}function mhe(o,i,a,u,p){let y=!1;if(i.type==="VariableDeclaration"){const T=i.kind==="const";y=T&&i.declarations.every(P=>P.id.type==="Identifier"&&V2(P.init));for(const{id:P,init:I}of i.declarations){const B=I&&nx(I),z=!!(T&&Sy(B,H=>H===Nh||H===gA||H===CN));if(P.type==="Identifier"){let H;const Q=u.reactive;(p||o==="script")&&(y||T&&V2(B))?H="literal-const":Sy(B,Q)?H=T?"setup-reactive-const":"setup-let":z||T&&mHe(B,Q)?H=Sy(B,Nh)?"setup-reactive-const":"setup-const":T?Sy(B,Ie=>Ie===u.ref||Ie===u.computed||Ie===u.shallowRef||Ie===u.customRef||Ie===u.toRef||Ie===uHe)?H="setup-ref":H="setup-maybe-ref":H="setup-let",UN(a,P,H)}else{if(Sy(B,Nh))continue;P.type==="ObjectPattern"?pHe(P,a,T,z):P.type==="ArrayPattern"&&dHe(P,a,T,z)}}}else i.type==="TSEnumDeclaration"?(y=i.members.every(T=>!T.initializer||V2(T.initializer)),a[i.id.name]=y?"literal-const":"setup-const"):(i.type==="FunctionDeclaration"||i.type==="ClassDeclaration")&&(a[i.id.name]="setup-const");return y}function pHe(o,i,a,u=!1){for(const p of o.properties)if(p.type==="ObjectProperty")if(p.key.type==="Identifier"&&p.key===p.value){const y=u?"setup-const":a?"setup-maybe-ref":"setup-let";UN(i,p.key,y)}else k1e(p.value,i,a,u);else{const y=a?"setup-const":"setup-let";UN(i,p.argument,y)}}function dHe(o,i,a,u=!1){for(const p of o.elements)p&&k1e(p,i,a,u)}function k1e(o,i,a,u=!1){if(o.type==="Identifier")UN(i,o,u?"setup-const":a?"setup-maybe-ref":"setup-let");else if(o.type==="RestElement"){const p=a?"setup-const":"setup-let";UN(i,o.argument,p)}else if(o.type==="ObjectPattern")pHe(o,i,a);else if(o.type==="ArrayPattern")dHe(o,i,a);else if(o.type==="AssignmentPattern")if(o.left.type==="Identifier"){const p=u?"setup-const":a?"setup-maybe-ref":"setup-let";UN(i,o.left,p)}else k1e(o.left,i,a)}function mHe(o,i){if(Sy(o,i))return!0;switch(o.type){case"UnaryExpression":case"BinaryExpression":case"ArrayExpression":case"ObjectExpression":case"FunctionExpression":case"ArrowFunctionExpression":case"UpdateExpression":case"ClassExpression":case"TaggedTemplateExpression":return!0;case"SequenceExpression":return mHe(o.expressions[o.expressions.length-1],i);default:return!!l$e(o)}}function V2(o){switch(o=nx(o),o.type){case"UnaryExpression":return V2(o.argument);case"LogicalExpression":case"BinaryExpression":return V2(o.left)&&V2(o.right);case"ConditionalExpression":return V2(o.test)&&V2(o.consequent)&&V2(o.alternate);case"SequenceExpression":case"TemplateLiteral":return o.expressions.every(i=>V2(i));case"ParenthesizedExpression":return V2(o.expression);case"StringLiteral":case"NumericLiteral":case"BooleanLiteral":case"NullLiteral":case"BigIntLiteral":return!0}return!1}const hHe="3.3.4",gHe=MR,rRt=Object.freeze(Object.defineProperty({__proto__:null,MagicString:_C,babelParse:c6,compileScript:_He,compileStyle:GWe,compileStyleAsync:XWe,compileTemplate:q0e,extractIdentifiers:Sb,generateCodeFrame:yA,inferRuntimeType:L0,invalidateTypeCache:aHe,isInDestructureAssignment:EA,isStaticProperty:AA,parse:A0e,parseCache:CX,registerTS:sHe,resolveTypeElements:Eh,rewriteDefault:eHe,rewriteDefaultAST:oY,shouldTransformRef:xR,transformRef:ZWe,transformRefAST:pI,version:hHe,walk:gHe,walkIdentifiers:EI},Symbol.toStringTag,{value:"Module"})),nRt=Dze(rRt);var WX={},iRt={get exports(){return WX},set exports(o){WX=o}};const sRt={},aRt=Object.freeze(Object.defineProperty({__proto__:null,default:sRt},Symbol.toStringTag,{value:"Module"})),$k=Dze(aRt);/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */var eUe;function oRt(){return eUe||(eUe=1,function(o){var i=(()=>{var a=Object.defineProperty,u=Object.getOwnPropertyNames,p=(e,t)=>function(){return e&&(t=(0,e[u(e)[0]])(e=0)),t},y=(e,t)=>function(){return t||(0,e[u(e)[0]])((t={exports:{}}).exports,t),t.exports},T=(e,t)=>{for(var n in t)a(e,n,{get:t[n],enumerable:!0})},P,I,B,z=p({"src/compiler/corePublic.ts"(){P="5.0",I="5.0.4",B=(e=>(e[e.LessThan=-1]="LessThan",e[e.EqualTo=0]="EqualTo",e[e.GreaterThan=1]="GreaterThan",e))(B||{})}});function H(e){return e?e.length:0}function Q(e,t){if(e)for(let n=0;n<e.length;n++){const s=t(e[n],n);if(s)return s}}function Ie(e,t){if(e)for(let n=e.length-1;n>=0;n--){const s=t(e[n],n);if(s)return s}}function ze(e,t){if(e!==void 0)for(let n=0;n<e.length;n++){const s=t(e[n],n);if(s!==void 0)return s}}function Ue(e,t){for(const n of e){const s=t(n);if(s!==void 0)return s}}function et(e,t,n){let s=n;if(e){let l=0;for(const f of e)s=t(s,f,l),l++}return s}function Ve(e,t,n){const s=[];R.assertEqual(e.length,t.length);for(let l=0;l<e.length;l++)s.push(n(e[l],t[l],l));return s}function vt(e,t){if(e.length<=1)return e;const n=[];for(let s=0,l=e.length;s<l;s++)s&&n.push(t),n.push(e[s]);return n}function ut(e,t){if(e){for(let n=0;n<e.length;n++)if(!t(e[n],n))return!1}return!0}function He(e,t,n){if(e!==void 0)for(let s=n??0;s<e.length;s++){const l=e[s];if(t(l,s))return l}}function Bt(e,t,n){if(e!==void 0)for(let s=n??e.length-1;s>=0;s--){const l=e[s];if(t(l,s))return l}}function ar(e,t,n){if(e===void 0)return-1;for(let s=n??0;s<e.length;s++)if(t(e[s],s))return s;return-1}function kr(e,t,n){if(e===void 0)return-1;for(let s=n??e.length-1;s>=0;s--)if(t(e[s],s))return s;return-1}function Ot(e,t){for(let n=0;n<e.length;n++){const s=t(e[n],n);if(s)return s}return R.fail()}function xt(e,t,n=Db){if(e){for(const s of e)if(n(s,t))return!0}return!1}function Wt(e,t,n=Db){return e.length===t.length&&e.every((s,l)=>n(s,t[l]))}function _r(e,t,n){for(let s=n||0;s<e.length;s++)if(xt(t,e.charCodeAt(s)))return s;return-1}function An(e,t){let n=0;if(e)for(let s=0;s<e.length;s++){const l=e[s];t(l,s)&&n++}return n}function hr(e,t){if(e){const n=e.length;let s=0;for(;s<n&&t(e[s]);)s++;if(s<n){const l=e.slice(0,s);for(s++;s<n;){const f=e[s];t(f)&&l.push(f),s++}return l}}return e}function Fi(e,t){let n=0;for(let s=0;s<e.length;s++)t(e[s],s,e)&&(e[n]=e[s],n++);e.length=n}function ss(e){e.length=0}function qt(e,t){let n;if(e){n=[];for(let s=0;s<e.length;s++)n.push(t(e[s],s))}return n}function*Ba(e,t){for(const n of e)yield t(n)}function $s(e,t){if(e)for(let n=0;n<e.length;n++){const s=e[n],l=t(s,n);if(s!==l){const f=e.slice(0,n);for(f.push(l),n++;n<e.length;n++)f.push(t(e[n],n));return f}}return e}function Vn(e){const t=[];for(const n of e)n&&(pa(n)?Oi(t,n):t.push(n));return t}function mn(e,t){let n;if(e)for(let s=0;s<e.length;s++){const l=t(e[s],s);l&&(pa(l)?n=Oi(n,l):n=$r(n,l))}return n||pt}function Tn(e,t){const n=[];if(e)for(let s=0;s<e.length;s++){const l=t(e[s],s);l&&(pa(l)?Oi(n,l):n.push(l))}return n}function*gr(e,t){for(const n of e){const s=t(n);s&&(yield*s)}}function Ln(e,t){let n;if(e)for(let s=0;s<e.length;s++){const l=e[s],f=t(l,s);(n||l!==f||pa(f))&&(n||(n=e.slice(0,s)),pa(f)?Oi(n,f):n.push(f))}return n||e}function Fr(e,t){const n=[];for(let s=0;s<e.length;s++){const l=t(e[s],s);if(l===void 0)return;n.push(l)}return n}function fr(e,t){const n=[];if(e)for(let s=0;s<e.length;s++){const l=t(e[s],s);l!==void 0&&n.push(l)}return n}function*ji(e,t){for(const n of e){const s=t(n);s!==void 0&&(yield s)}}function lr(e,t){if(!e)return;const n=new Map;return e.forEach((s,l)=>{const f=t(l,s);if(f!==void 0){const[d,g]=f;d!==void 0&&g!==void 0&&n.set(d,g)}}),n}function ei(e,t,n){if(e.has(t))return e.get(t);const s=n();return e.set(t,s),s}function fi(e,t){return e.has(t)?!1:(e.add(t),!0)}function*fs(e){yield e}function Xs(e,t,n){let s;if(e){s=[];const l=e.length;let f,d,g=0,h=0;for(;g<l;){for(;h<l;){const k=e[h];if(d=t(k,h),h===0)f=d;else if(d!==f)break;h++}if(g<h){const k=n(e.slice(g,h),f,g,h);k&&s.push(k),g=h}f=d,h++}}return s}function or(e,t){if(!e)return;const n=new Map;return e.forEach((s,l)=>{const[f,d]=t(l,s);n.set(f,d)}),n}function Oe(e,t){if(e)if(t){for(const n of e)if(t(n))return!0}else return e.length>0;return!1}function jr(e,t,n){let s;for(let l=0;l<e.length;l++)t(e[l])?s=s===void 0?l:s:s!==void 0&&(n(s,l),s=void 0);s!==void 0&&n(s,e.length)}function Cr(e,t){return Oe(t)?Oe(e)?[...e,...t]:t:e}function Ii(e,t){return t}function Vi(e){return e.map(Ii)}function Vs(e,t,n){const s=Vi(e);J0(e,s,n);let l=e[s[0]];const f=[s[0]];for(let d=1;d<s.length;d++){const g=s[d],h=e[g];t(l,h)||(f.push(g),l=h)}return f.sort(),f.map(d=>e[d])}function us(e,t){const n=[];for(const s of e)ip(n,s,t);return n}function Ss(e,t,n){return e.length===0?[]:e.length===1?e.slice():n?Vs(e,t,n):us(e,t)}function es(e,t){if(e.length===0)return pt;let n=e[0];const s=[n];for(let l=1;l<e.length;l++){const f=e[l];switch(t(f,n)){case!0:case 0:continue;case-1:return R.fail("Array is unsorted.")}s.push(n=f)}return s}function Za(){return[]}function la(e,t,n,s){if(e.length===0)return e.push(t),!0;const l=rv(e,t,Zc,n);return l<0?(e.splice(~l,0,t),!0):s?(e.splice(l,0,t),!0):!1}function lo(e,t,n){return es(sx(e,t),n||t||wf)}function ic(e,t){if(e.length<2)return!0;for(let n=1,s=e.length;n<s;n++)if(t(e[n-1],e[n])===1)return!1;return!0}function Yc(e,t,n,s){let l=3;if(e.length<2)return l;let f=t(e[0]);for(let d=1,g=e.length;d<g&&l!==0;d++){const h=t(e[d]);l&1&&n(f,h)>0&&(l&=-2),l&2&&s(f,h)>0&&(l&=-3),f=h}return l}function Oc(e,t,n=Db){if(!e||!t)return e===t;if(e.length!==t.length)return!1;for(let s=0;s<e.length;s++)if(!n(e[s],t[s],s))return!1;return!0}function Hl(e){let t;if(e)for(let n=0;n<e.length;n++){const s=e[n];(t||!s)&&(t||(t=e.slice(0,n)),s&&t.push(s))}return t||e}function m_(e,t,n){if(!t||!e||t.length===0||e.length===0)return t;const s=[];e:for(let l=0,f=0;f<t.length;f++){f>0&&R.assertGreaterThanOrEqual(n(t[f],t[f-1]),0);t:for(const d=l;l<e.length;l++)switch(l>d&&R.assertGreaterThanOrEqual(n(e[l],e[l-1]),0),n(t[f],e[l])){case-1:s.push(t[f]);continue e;case 0:continue e;case 1:continue t}}return s}function $r(e,t){return t===void 0?e:e===void 0?[t]:(e.push(t),e)}function Mh(e,t){return e===void 0?t:t===void 0?e:pa(e)?pa(t)?Cr(e,t):$r(e,t):pa(t)?$r(t,e):[e,t]}function NA(e,t){return t<0?e.length+t:t}function Oi(e,t,n,s){if(t===void 0||t.length===0)return e;if(e===void 0)return t.slice(n,s);n=n===void 0?0:NA(t,n),s=s===void 0?t.length:NA(t,s);for(let l=n;l<s&&l<t.length;l++)t[l]!==void 0&&e.push(t[l]);return e}function ip(e,t,n){return xt(e,t,n)?!1:(e.push(t),!0)}function $f(e,t,n){return e?(ip(e,t,n),e):[t]}function J0(e,t,n){t.sort((s,l)=>n(e[s],e[l])||Cc(s,l))}function sx(e,t){return e.length===0?e:e.slice().sort(t)}function*yHe(e){for(let t=e.length-1;t>=0;t--)yield e[t]}function U0(e,t){const n=Vi(e);return J0(e,n,t),n.map(s=>e[s])}function uY(e,t,n,s){for(;n<s;){if(e[n]!==t[n])return!1;n++}return!0}function Ru(e){return e===void 0||e.length===0?void 0:e[0]}function jR(e){if(e)for(const t of e)return t}function Uo(e){return R.assert(e.length!==0),e[0]}function C1e(e){for(const t of e)return t;R.fail("iterator is empty")}function Rc(e){return e===void 0||e.length===0?void 0:e[e.length-1]}function ko(e){return R.assert(e.length!==0),e[e.length-1]}function Fh(e){return e&&e.length===1?e[0]:void 0}function fY(e){return R.checkDefined(Fh(e))}function Rh(e){return e&&e.length===1?e[0]:e}function _Y(e,t,n){const s=e.slice(0);return s[t]=n,s}function rv(e,t,n,s,l){return hC(e,n(t),n,s,l)}function hC(e,t,n,s,l){if(!Oe(e))return-1;let f=l||0,d=e.length-1;for(;f<=d;){const g=f+(d-f>>1),h=n(e[g],g);switch(s(h,t)){case-1:f=g+1;break;case 0:return g;case 1:d=g-1;break}}return~f}function Cf(e,t,n,s,l){if(e&&e.length>0){const f=e.length;if(f>0){let d=s===void 0||s<0?0:s;const g=l===void 0||d+l>f-1?f-1:d+l;let h;for(arguments.length<=2?(h=e[d],d++):h=n;d<=g;)h=t(h,e[d],d),d++;return h}}return n}function mc(e,t){return $0.call(e,t)}function LI(e,t){return $0.call(e,t)?e[t]:void 0}function wy(e){const t=[];for(const n in e)$0.call(e,n)&&t.push(n);return t}function vHe(e){const t=[];do{const n=Object.getOwnPropertyNames(e);for(const s of n)ip(t,s)}while(e=Object.getPrototypeOf(e));return t}function gC(e){const t=[];for(const n in e)$0.call(e,n)&&t.push(e[n]);return t}function w1e(e,t){const n=new Array(e);for(let s=0;s<e;s++)n[s]=t(s);return n}function ao(e,t){const n=[];for(const s of e)n.push(t?t(s):s);return n}function MI(e,...t){for(const n of t)if(n!==void 0)for(const s in n)mc(n,s)&&(e[s]=n[s]);return e}function E1e(e,t,n=Db){if(e===t)return!0;if(!e||!t)return!1;for(const s in e)if($0.call(e,s)&&(!$0.call(t,s)||!n(e[s],t[s])))return!1;for(const s in t)if($0.call(t,s)&&!$0.call(e,s))return!1;return!0}function tT(e,t,n=Zc){const s=new Map;for(const l of e){const f=t(l);f!==void 0&&s.set(f,n(l))}return s}function A1e(e,t,n=Zc){const s=[];for(const l of e)s[t(l)]=n(l);return s}function FI(e,t,n=Zc){const s=dd();for(const l of e)s.add(t(l),n(l));return s}function IA(e,t,n=Zc){return ao(FI(e,t).values(),n)}function P1e(e,t){var n;const s={};if(e)for(const l of e){const f=`${t(l)}`;((n=s[f])!=null?n:s[f]=[]).push(l)}return s}function pY(e){const t={};for(const n in e)$0.call(e,n)&&(t[n]=e[n]);return t}function JR(e,t){const n={};for(const s in t)$0.call(t,s)&&(n[s]=t[s]);for(const s in e)$0.call(e,s)&&(n[s]=e[s]);return n}function dY(e,t){for(const n in t)$0.call(t,n)&&(e[n]=t[n])}function ho(e,t){return t?t.bind(e):void 0}function dd(){const e=new Map;return e.add=bHe,e.remove=THe,e}function bHe(e,t){let n=this.get(e);return n?n.push(t):this.set(e,n=[t]),n}function THe(e,t){const n=this.get(e);n&&(jI(n,t),n.length||this.delete(e))}function D1e(){return dd()}function mY(e){const t=(e==null?void 0:e.slice())||[];let n=0;function s(){return n===t.length}function l(...d){t.push(...d)}function f(){if(s())throw new Error("Queue is empty");const d=t[n];if(t[n]=void 0,n++,n>100&&n>t.length>>1){const g=t.length-n;t.copyWithin(0,n),t.length=g,n=0}return d}return{enqueue:l,dequeue:f,isEmpty:s}}function SHe(e,t){const n=new Map;let s=0;function*l(){for(const d of n.values())pa(d)?yield*d:yield d}const f={has(d){const g=e(d);if(!n.has(g))return!1;const h=n.get(g);if(!pa(h))return t(h,d);for(const k of h)if(t(k,d))return!0;return!1},add(d){const g=e(d);if(n.has(g)){const h=n.get(g);if(pa(h))xt(h,d,t)||(h.push(d),s++);else{const k=h;t(k,d)||(n.set(g,[k,d]),s++)}}else n.set(g,d),s++;return this},delete(d){const g=e(d);if(!n.has(g))return!1;const h=n.get(g);if(pa(h)){for(let k=0;k<h.length;k++)if(t(h[k],d))return h.length===1?n.delete(g):h.length===2?n.set(g,h[1-k]):gY(h,k),s--,!0}else if(t(h,d))return n.delete(g),s--,!0;return!1},clear(){n.clear(),s=0},get size(){return s},forEach(d){for(const g of ao(n.values()))if(pa(g))for(const h of g)d(h,h,f);else{const h=g;d(h,h,f)}},keys(){return l()},values(){return l()},*entries(){for(const d of l())yield[d,d]},[Symbol.iterator]:()=>l(),[Symbol.toStringTag]:n[Symbol.toStringTag]};return f}function pa(e){return Array.isArray(e)}function RI(e){return pa(e)?e:[e]}function ha(e){return typeof e=="string"}function z0(e){return typeof e=="number"}function Pi(e,t){return e!==void 0&&t(e)?e:void 0}function Oa(e,t){return e!==void 0&&t(e)?e:R.fail(`Invalid cast. The supplied value ${e} did not pass the test '${R.getFunctionName(t)}'.`)}function La(e){}function rT(){return!1}function nT(){return!0}function Pb(){}function Zc(e){return e}function N1e(e){return e.toLowerCase()}function Fd(e){return SY.test(e)?e.replace(SY,N1e):e}function ga(){throw new Error("Not implemented")}function h_(e){let t;return()=>(e&&(t=e(),e=void 0),t)}function Bh(e){const t=new Map;return n=>{const s=`${typeof n}:${n}`;let l=t.get(s);return l===void 0&&!t.has(s)&&(l=e(n),t.set(s,l)),l}}function xHe(e){const t=new WeakMap;return n=>{let s=t.get(n);return s===void 0&&!t.has(n)&&(s=e(n),t.set(n,s)),s}}function I1e(e,t){return(...n)=>{let s=t.get(n);return s===void 0&&!t.has(n)&&(s=e(...n),t.set(n,s)),s}}function kHe(e,t,n,s,l){if(l){const f=[];for(let d=0;d<arguments.length;d++)f[d]=arguments[d];return d=>Cf(f,(g,h)=>h(g),d)}else return s?f=>s(n(t(e(f)))):n?f=>n(t(e(f))):t?f=>t(e(f)):e?f=>e(f):f=>f}function Db(e,t){return e===t}function yC(e,t){return e===t||e!==void 0&&t!==void 0&&e.toUpperCase()===t.toUpperCase()}function vC(e,t){return Db(e,t)}function O1e(e,t){return e===t?0:e===void 0?-1:t===void 0?1:e<t?-1:1}function Cc(e,t){return O1e(e,t)}function UR(e,t){return Cc(e==null?void 0:e.start,t==null?void 0:t.start)||Cc(e==null?void 0:e.length,t==null?void 0:t.length)}function hY(e,t){return Cf(e,(n,s)=>t(n,s)===-1?n:s)}function zR(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toUpperCase(),t=t.toUpperCase(),e<t?-1:e>t?1:0)}function L1e(e,t){return e===t?0:e===void 0?-1:t===void 0?1:(e=e.toLowerCase(),t=t.toLowerCase(),e<t?-1:e>t?1:0)}function wf(e,t){return O1e(e,t)}function VR(e){return e?zR:wf}function M1e(){return YR}function F1e(e){YR!==e&&(YR=e,kY=void 0)}function BI(e,t){return(kY||(kY=H1e(YR)))(e,t)}function R1e(e,t,n,s){return e===t?0:e===void 0?-1:t===void 0?1:s(e[n],t[n])}function iT(e,t){return Cc(e?1:0,t?1:0)}function OA(e,t,n){const s=Math.max(2,Math.floor(e.length*.34));let l=Math.floor(e.length*.4)+1,f;for(const d of t){const g=n(d);if(g!==void 0&&Math.abs(g.length-e.length)<=s){if(g===e||g.length<3&&g.toLowerCase()!==e.toLowerCase())continue;const h=CHe(e,g,l-.1);if(h===void 0)continue;R.assert(h<l),l=h,f=d}}return f}function CHe(e,t,n){let s=new Array(t.length+1),l=new Array(t.length+1);const f=n+.01;for(let g=0;g<=t.length;g++)s[g]=g;for(let g=1;g<=e.length;g++){const h=e.charCodeAt(g-1),k=Math.ceil(g>n?g-n:1),S=Math.floor(t.length>n+g?n+g:t.length);l[0]=g;let w=g;for(let O=1;O<k;O++)l[O]=f;for(let O=k;O<=S;O++){const L=e[g-1].toLowerCase()===t[O-1].toLowerCase()?s[O-1]+.1:s[O-1]+2,U=h===t.charCodeAt(O-1)?s[O-1]:Math.min(s[O]+1,l[O-1]+1,L);l[O]=U,w=Math.min(w,U)}for(let O=S+1;O<=t.length;O++)l[O]=f;if(w>n)return;const N=s;s=l,l=N}const d=s[t.length];return d>n?void 0:d}function Ul(e,t){const n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}function _6(e,t){return Ul(e,t)?e.slice(0,e.length-t.length):e}function B1e(e,t){return Ul(e,t)?e.slice(0,e.length-t.length):void 0}function nf(e,t){return e.indexOf(t)!==-1}function j1e(e){let t=e.length;for(let n=t-1;n>0;n--){let s=e.charCodeAt(n);if(s>=48&&s<=57)do--n,s=e.charCodeAt(n);while(n>0&&s>=48&&s<=57);else if(n>4&&(s===110||s===78)){if(--n,s=e.charCodeAt(n),s!==105&&s!==73||(--n,s=e.charCodeAt(n),s!==109&&s!==77))break;--n,s=e.charCodeAt(n)}else break;if(s!==45&&s!==46)break;t=n}return t===e.length?e:e.slice(0,t)}function $R(e,t){for(let n=0;n<e.length;n++)if(e[n]===t)return Nb(e,n),!0;return!1}function Nb(e,t){for(let n=t;n<e.length-1;n++)e[n]=e[n+1];e.pop()}function gY(e,t){e[t]=e[e.length-1],e.pop()}function jI(e,t){return wHe(e,n=>n===t)}function wHe(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return gY(e,n),!0;return!1}function qu(e){return e?Zc:Fd}function J1e({prefix:e,suffix:t}){return`${e}*${t}`}function U1e(e,t){return R.assert(qR(e,t)),t.substring(e.prefix.length,t.length-e.suffix.length)}function yY(e,t,n){let s,l=-1;for(const f of e){const d=t(f);qR(d,n)&&d.prefix.length>l&&(l=d.prefix.length,s=f)}return s}function Qs(e,t){return e.lastIndexOf(t,0)===0}function LA(e,t){return Qs(e,t)?e.substr(t.length):e}function vY(e,t,n=Zc){return Qs(n(e),n(t))?e.substring(t.length):void 0}function qR({prefix:e,suffix:t},n){return n.length>=e.length+t.length&&Qs(n,e)&&Ul(n,t)}function WR(e,t){return n=>e(n)&&t(n)}function jh(...e){return(...t)=>{let n;for(const s of e)if(n=s(...t),n)return n;return n}}function HR(e){return(...t)=>!e(...t)}function EHe(e){}function ax(e){return e===void 0?void 0:[e]}function z1e(e,t,n,s,l,f){f=f||La;let d=0,g=0;const h=e.length,k=t.length;let S=!1;for(;d<h&&g<k;){const w=e[d],N=t[g],O=n(w,N);O===-1?(s(w),d++,S=!0):O===1?(l(N),g++,S=!0):(f(N,w),d++,g++)}for(;d<h;)s(e[d++]),S=!0;for(;g<k;)l(t[g++]),S=!0;return S}function V1e(e){const t=[];return $1e(e,t,void 0,0),t}function $1e(e,t,n,s){for(const l of e[s]){let f;n?(f=n.slice(),f.push(l)):f=[l],s===e.length-1?t.push(f):$1e(e,t,f,s+1)}}function bC(e,t,n=" "){return t<=e.length?e:n.repeat(t-e.length)+e}function AHe(e,t,n=" "){return t<=e.length?e:e+n.repeat(t-e.length)}function GR(e,t){if(e){const n=e.length;let s=0;for(;s<n&&t(e[s]);)s++;return e.slice(0,s)}}function q1e(e,t){if(e){const n=e.length;let s=0;for(;s<n&&t(e[s]);)s++;return e.slice(s)}}function PHe(e){let t=e.length-1;for(;t>=0&&Dy(e.charCodeAt(t));)t--;return e.slice(0,t+1)}function bY(){return typeof process<"u"&&process.nextTick&&!process.browser&&!0}var pt,XR,W1e,TY,V0,$0,QR,SY,xY,H1e,kY,YR,sT,JI,MA,DHe=p({"src/compiler/core.ts"(){aa(),pt=[],XR=new Map,W1e=new Set,TY=(e=>(e[e.None=0]="None",e[e.CaseSensitive=1]="CaseSensitive",e[e.CaseInsensitive=2]="CaseInsensitive",e[e.Both=3]="Both",e))(TY||{}),V0=Array.prototype.at?(e,t)=>e==null?void 0:e.at(t):(e,t)=>{if(e&&(t=NA(e,t),t<e.length))return e[t]},$0=Object.prototype.hasOwnProperty,QR={push:La,length:0},SY=/[^\u0130\u0131\u00DFa-z0-9\\/:\-_\. ]+/g,xY=(e=>(e[e.None=0]="None",e[e.Normal=1]="Normal",e[e.Aggressive=2]="Aggressive",e[e.VeryAggressive=3]="VeryAggressive",e))(xY||{}),H1e=(()=>{let e,t;const n=g();return h;function s(k,S,w){if(k===S)return 0;if(k===void 0)return-1;if(S===void 0)return 1;const N=w(k,S);return N<0?-1:N>0?1:0}function l(k){const S=new Intl.Collator(k,{usage:"sort",sensitivity:"variant"}).compare;return(w,N)=>s(w,N,S)}function f(k){if(k!==void 0)return d();return(w,N)=>s(w,N,S);function S(w,N){return w.localeCompare(N)}}function d(){return(w,N)=>s(w,N,k);function k(w,N){return S(w.toUpperCase(),N.toUpperCase())||S(w,N)}function S(w,N){return w<N?-1:w>N?1:0}}function g(){return typeof Intl=="object"&&typeof Intl.Collator=="function"?l:typeof String.prototype.localeCompare=="function"&&typeof String.prototype.toLocaleUpperCase=="function"&&"a".localeCompare("B")<0?f:d}function h(k){return k===void 0?e||(e=n(k)):k==="en-US"?t||(t=n(k)):n(k)}})(),sT=String.prototype.trim?e=>e.trim():e=>JI(MA(e)),JI=String.prototype.trimEnd?e=>e.trimEnd():PHe,MA=String.prototype.trimStart?e=>e.trimStart():e=>e.replace(/^\s+/g,"")}}),CY,R,NHe=p({"src/compiler/debug.ts"(){aa(),aa(),CY=(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",e))(CY||{}),(e=>{let t=0;e.currentLogLevel=2,e.isDebugging=!1;function n(rr){return e.currentLogLevel<=rr}e.shouldLog=n;function s(rr,Pr){e.loggingHost&&n(rr)&&e.loggingHost.log(rr,Pr)}function l(rr){s(3,rr)}e.log=l,(rr=>{function Pr(qi){s(1,qi)}rr.error=Pr;function Cn(qi){s(2,qi)}rr.warn=Cn;function Nn(qi){s(3,qi)}rr.log=Nn;function cs(qi){s(4,qi)}rr.trace=cs})(l=e.log||(e.log={}));const f={};function d(){return t}e.getAssertionLevel=d;function g(rr){const Pr=t;if(t=rr,rr>Pr)for(const Cn of wy(f)){const Nn=f[Cn];Nn!==void 0&&e[Cn]!==Nn.assertion&&rr>=Nn.level&&(e[Cn]=Nn,f[Cn]=void 0)}}e.setAssertionLevel=g;function h(rr){return t>=rr}e.shouldAssert=h;function k(rr,Pr){return h(rr)?!0:(f[Pr]={level:rr,assertion:e[Pr]},e[Pr]=La,!1)}function S(rr,Pr){debugger;const Cn=new Error(rr?`Debug Failure. ${rr}`:"Debug Failure.");throw Error.captureStackTrace&&Error.captureStackTrace(Cn,Pr||S),Cn}e.fail=S;function w(rr,Pr,Cn){return S(`${Pr||"Unexpected node."}\r
Node ${ot(rr.kind)} was unexpected.`,Cn||w)}e.failBadSyntaxKind=w;function N(rr,Pr,Cn,Nn){rr||(Pr=Pr?`False expression: ${Pr}`:"False expression.",Cn&&(Pr+=`\r
Verbose Debug Information: `+(typeof Cn=="string"?Cn:Cn())),S(Pr,Nn||N))}e.assert=N;function O(rr,Pr,Cn,Nn,cs){if(rr!==Pr){const qi=Cn?Nn?`${Cn} ${Nn}`:Cn:"";S(`Expected ${rr} === ${Pr}. ${qi}`,cs||O)}}e.assertEqual=O;function L(rr,Pr,Cn,Nn){rr>=Pr&&S(`Expected ${rr} < ${Pr}. ${Cn||""}`,Nn||L)}e.assertLessThan=L;function U(rr,Pr,Cn){rr>Pr&&S(`Expected ${rr} <= ${Pr}`,Cn||U)}e.assertLessThanOrEqual=U;function M(rr,Pr,Cn){rr<Pr&&S(`Expected ${rr} >= ${Pr}`,Cn||M)}e.assertGreaterThanOrEqual=M;function W(rr,Pr,Cn){rr==null&&S(Pr,Cn||W)}e.assertIsDefined=W;function X(rr,Pr,Cn){return W(rr,Pr,Cn||X),rr}e.checkDefined=X;function Z(rr,Pr,Cn){for(const Nn of rr)W(Nn,Pr,Cn||Z)}e.assertEachIsDefined=Z;function ue(rr,Pr,Cn){return Z(rr,Pr,Cn||ue),rr}e.checkEachDefined=ue;function ie(rr,Pr="Illegal value:",Cn){const Nn=typeof rr=="object"&&mc(rr,"kind")&&mc(rr,"pos")?"SyntaxKind: "+ot(rr.kind):JSON.stringify(rr);return S(`${Pr} ${Nn}`,Cn||ie)}e.assertNever=ie;function se(rr,Pr,Cn,Nn){k(1,"assertEachNode")&&N(Pr===void 0||ut(rr,Pr),Cn||"Unexpected node.",()=>`Node array did not pass test '${ge(Pr)}'.`,Nn||se)}e.assertEachNode=se;function V(rr,Pr,Cn,Nn){k(1,"assertNode")&&N(rr!==void 0&&(Pr===void 0||Pr(rr)),Cn||"Unexpected node.",()=>`Node ${ot(rr==null?void 0:rr.kind)} did not pass test '${ge(Pr)}'.`,Nn||V)}e.assertNode=V;function ve(rr,Pr,Cn,Nn){k(1,"assertNotNode")&&N(rr===void 0||Pr===void 0||!Pr(rr),Cn||"Unexpected node.",()=>`Node ${ot(rr.kind)} should not have passed test '${ge(Pr)}'.`,Nn||ve)}e.assertNotNode=ve;function fe(rr,Pr,Cn,Nn){k(1,"assertOptionalNode")&&N(Pr===void 0||rr===void 0||Pr(rr),Cn||"Unexpected node.",()=>`Node ${ot(rr==null?void 0:rr.kind)} did not pass test '${ge(Pr)}'.`,Nn||fe)}e.assertOptionalNode=fe;function Ce(rr,Pr,Cn,Nn){k(1,"assertOptionalToken")&&N(Pr===void 0||rr===void 0||rr.kind===Pr,Cn||"Unexpected node.",()=>`Node ${ot(rr==null?void 0:rr.kind)} was not a '${ot(Pr)}' token.`,Nn||Ce)}e.assertOptionalToken=Ce;function _e(rr,Pr,Cn){k(1,"assertMissingNode")&&N(rr===void 0,Pr||"Unexpected node.",()=>`Node ${ot(rr.kind)} was unexpected'.`,Cn||_e)}e.assertMissingNode=_e;function K(rr){}e.type=K;function ge(rr){if(typeof rr!="function")return"";if(mc(rr,"name"))return rr.name;{const Pr=Function.prototype.toString.call(rr),Cn=/^function\s+([\w\$]+)\s*\(/.exec(Pr);return Cn?Cn[1]:""}}e.getFunctionName=ge;function Se(rr){return`{ name: ${Ds(rr.escapedName)}; flags: ${st(rr.flags)}; declarations: ${qt(rr.declarations,Pr=>ot(Pr.kind))} }`}e.formatSymbol=Se;function we(rr=0,Pr,Cn){const Nn=le(Pr);if(rr===0)return Nn.length>0&&Nn[0][0]===0?Nn[0][1]:"0";if(Cn){const cs=[];let qi=rr;for(const[en,Tr]of Nn){if(en>rr)break;en!==0&&en&rr&&(cs.push(Tr),qi&=~en)}if(qi===0)return cs.join("|")}else for(const[cs,qi]of Nn)if(cs===rr)return qi;return rr.toString()}e.formatEnum=we;const Pe=new Map;function le(rr){const Pr=Pe.get(rr);if(Pr)return Pr;const Cn=[];for(const cs in rr){const qi=rr[cs];typeof qi=="number"&&Cn.push([qi,cs])}const Nn=U0(Cn,(cs,qi)=>Cc(cs[0],qi[0]));return Pe.set(rr,Nn),Nn}function ot(rr){return we(rr,rB,!1)}e.formatSyntaxKind=ot;function Qe(rr){return we(rr,dB,!1)}e.formatSnippetKind=Qe;function Ge(rr){return we(rr,nB,!0)}e.formatNodeFlags=Ge;function tt(rr){return we(rr,iB,!0)}e.formatModifierFlags=tt;function Je(rr){return we(rr,pB,!0)}e.formatTransformFlags=Je;function qe(rr){return we(rr,mB,!0)}e.formatEmitFlags=qe;function st(rr){return we(rr,cB,!0)}e.formatSymbolFlags=st;function Ke(rr){return we(rr,lB,!0)}e.formatTypeFlags=Ke;function We(rr){return we(rr,fB,!0)}e.formatSignatureFlags=We;function gt(rr){return we(rr,uB,!0)}e.formatObjectFlags=gt;function jt(rr){return we(rr,$I,!0)}e.formatFlowFlags=jt;function It(rr){return we(rr,sB,!0)}e.formatRelationComparisonResult=It;function er(rr){return we(rr,VU,!0)}e.formatCheckMode=er;function ft(rr){return we(rr,$U,!0)}e.formatSignatureCheckMode=ft;function mt(rr){return we(rr,UU,!0)}e.formatTypeFacts=mt;let xr=!1,dr;function rn(rr){"__debugFlowFlags"in rr||Object.defineProperties(rr,{__tsDebuggerDisplay:{value(){const Pr=this.flags&2?"FlowStart":this.flags&4?"FlowBranchLabel":this.flags&8?"FlowLoopLabel":this.flags&16?"FlowAssignment":this.flags&32?"FlowTrueCondition":this.flags&64?"FlowFalseCondition":this.flags&128?"FlowSwitchClause":this.flags&256?"FlowArrayMutation":this.flags&512?"FlowCall":this.flags&1024?"FlowReduceLabel":this.flags&1?"FlowUnreachable":"UnknownFlow",Cn=this.flags&~(2048-1);return`${Pr}${Cn?` (${jt(Cn)})`:""}`}},__debugFlowFlags:{get(){return we(this.flags,$I,!0)}},__debugToString:{value(){return Rr(this)}}})}function un(rr){xr&&(typeof Object.setPrototypeOf=="function"?(dr||(dr=Object.create(Object.prototype),rn(dr)),Object.setPrototypeOf(rr,dr)):rn(rr))}e.attachFlowNodeDebugInfo=un;let Gr;function mr(rr){"__tsDebuggerDisplay"in rr||Object.defineProperties(rr,{__tsDebuggerDisplay:{value(Pr){return Pr=String(Pr).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]"),`NodeArray ${Pr}`}}})}function Fn(rr){xr&&(typeof Object.setPrototypeOf=="function"?(Gr||(Gr=Object.create(Array.prototype),mr(Gr)),Object.setPrototypeOf(rr,Gr)):mr(rr))}e.attachNodeArrayDebugInfo=Fn;function ts(){if(xr)return;const rr=new WeakMap,Pr=new WeakMap;Object.defineProperties(Pu.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value(){const Nn=this.flags&33554432?"TransientSymbol":"Symbol",cs=this.flags&-33554433;return`${Nn} '${yl(this)}'${cs?` (${st(cs)})`:""}`}},__debugFlags:{get(){return st(this.flags)}}}),Object.defineProperties(Pu.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value(){const Nn=this.flags&98304?"NullableType":this.flags&384?`LiteralType ${JSON.stringify(this.value)}`:this.flags&2048?`LiteralType ${this.value.negative?"-":""}${this.value.base10Value}n`:this.flags&8192?"UniqueESSymbolType":this.flags&32?"EnumType":this.flags&67359327?`IntrinsicType ${this.intrinsicName}`:this.flags&1048576?"UnionType":this.flags&2097152?"IntersectionType":this.flags&4194304?"IndexType":this.flags&8388608?"IndexedAccessType":this.flags&16777216?"ConditionalType":this.flags&33554432?"SubstitutionType":this.flags&262144?"TypeParameter":this.flags&524288?this.objectFlags&3?"InterfaceType":this.objectFlags&4?"TypeReference":this.objectFlags&8?"TupleType":this.objectFlags&16?"AnonymousType":this.objectFlags&32?"MappedType":this.objectFlags&1024?"ReverseMappedType":this.objectFlags&256?"EvolvingArrayType":"ObjectType":"Type",cs=this.flags&524288?this.objectFlags&-1344:0;return`${Nn}${this.symbol?` '${yl(this.symbol)}'`:""}${cs?` (${gt(cs)})`:""}`}},__debugFlags:{get(){return Ke(this.flags)}},__debugObjectFlags:{get(){return this.flags&524288?gt(this.objectFlags):""}},__debugTypeToString:{value(){let Nn=rr.get(this);return Nn===void 0&&(Nn=this.checker.typeToString(this),rr.set(this,Nn)),Nn}}}),Object.defineProperties(Pu.getSignatureConstructor().prototype,{__debugFlags:{get(){return We(this.flags)}},__debugSignatureToString:{value(){var Nn;return(Nn=this.checker)==null?void 0:Nn.signatureToString(this)}}});const Cn=[Pu.getNodeConstructor(),Pu.getIdentifierConstructor(),Pu.getTokenConstructor(),Pu.getSourceFileConstructor()];for(const Nn of Cn)mc(Nn.prototype,"__debugKind")||Object.defineProperties(Nn.prototype,{__tsDebuggerDisplay:{value(){return`${al(this)?"GeneratedIdentifier":Ye(this)?`Identifier '${ai(this)}'`:as(this)?`PrivateIdentifier '${ai(this)}'`:yo(this)?`StringLiteral ${JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")}`:Td(this)?`NumericLiteral ${this.text}`:MJ(this)?`BigIntLiteral ${this.text}n`:bl(this)?"TypeParameterDeclaration":ua(this)?"ParameterDeclaration":Al(this)?"ConstructorDeclaration":Hd(this)?"GetAccessorDeclaration":nd(this)?"SetAccessorDeclaration":f4(this)?"CallSignatureDeclaration":K5(this)?"ConstructSignatureDeclaration":iw(this)?"IndexSignatureDeclaration":jJ(this)?"TypePredicateNode":Gd(this)?"TypeReferenceNode":Vg(this)?"FunctionTypeNode":eD(this)?"ConstructorTypeNode":tD(this)?"TypeQueryNode":_p(this)?"TypeLiteralNode":nre(this)?"ArrayTypeNode":_4(this)?"TupleTypeNode":ire(this)?"OptionalTypeNode":sre(this)?"RestTypeNode":sw(this)?"UnionTypeNode":eO(this)?"IntersectionTypeNode":p4(this)?"ConditionalTypeNode":d4(this)?"InferTypeNode":aw(this)?"ParenthesizedTypeNode":JJ(this)?"ThisTypeNode":ow(this)?"TypeOperatorNode":cw(this)?"IndexedAccessTypeNode":nD(this)?"MappedTypeNode":Hb(this)?"LiteralTypeNode":rD(this)?"NamedTupleMember":zy(this)?"ImportTypeNode":ot(this.kind)}${this.flags?` (${Ge(this.flags)})`:""}`}},__debugKind:{get(){return ot(this.kind)}},__debugNodeFlags:{get(){return Ge(this.flags)}},__debugModifierFlags:{get(){return tt(sTe(this))}},__debugTransformFlags:{get(){return Je(this.transformFlags)}},__debugIsParseTreeNode:{get(){return HA(this)}},__debugEmitFlags:{get(){return qe(Wa(this))}},__debugGetText:{value(cs){if(Mc(this))return"";let qi=Pr.get(this);if(qi===void 0){const en=qs(this),Tr=en&&bn(en);qi=Tr?mT(Tr,en,cs):"",Pr.set(this,qi)}return qi}}});xr=!0}e.enableDebugInfo=ts;function ws(rr){const Pr=rr&7;let Cn=Pr===0?"in out":Pr===3?"[bivariant]":Pr===2?"in":Pr===1?"out":Pr===4?"[independent]":"";return rr&8?Cn+=" (unmeasurable)":rr&16&&(Cn+=" (unreliable)"),Cn}e.formatVariance=ws;class Es{__debugToString(){var Pr;switch(this.kind){case 3:return((Pr=this.debugInfo)==null?void 0:Pr.call(this))||"(function mapper)";case 0:return`${this.source.__debugTypeToString()} -> ${this.target.__debugTypeToString()}`;case 1:return Ve(this.sources,this.targets||qt(this.sources,()=>"any"),(Cn,Nn)=>`${Cn.__debugTypeToString()} -> ${typeof Nn=="string"?Nn:Nn.__debugTypeToString()}`).join(", ");case 2:return Ve(this.sources,this.targets,(Cn,Nn)=>`${Cn.__debugTypeToString()} -> ${Nn().__debugTypeToString()}`).join(", ");case 5:case 4:return`m1: ${this.mapper1.__debugToString().split(`
`).join(`
`)}
m2: ${this.mapper2.__debugToString().split(`
`).join(`
`)}`;default:return ie(this)}}}e.DebugTypeMapper=Es;function ii(rr){return e.isDebugging?Object.setPrototypeOf(rr,Es.prototype):rr}e.attachDebugPrototypeIfDebug=ii;function Rt(rr){return console.log(Rr(rr))}e.printControlFlowGraph=Rt;function Rr(rr){let Pr=-1;function Cn(ne){return ne.id||(ne.id=Pr,Pr--),ne.id}let Nn;(ne=>{ne.lr="─",ne.ud="│",ne.dr="╭",ne.dl="╮",ne.ul="╯",ne.ur="╰",ne.udr="├",ne.udl="┤",ne.dlr="┬",ne.ulr="┴",ne.udlr="╫"})(Nn||(Nn={}));let cs;(ne=>{ne[ne.None=0]="None",ne[ne.Up=1]="Up",ne[ne.Down=2]="Down",ne[ne.Left=4]="Left",ne[ne.Right=8]="Right",ne[ne.UpDown=3]="UpDown",ne[ne.LeftRight=12]="LeftRight",ne[ne.UpLeft=5]="UpLeft",ne[ne.UpRight=9]="UpRight",ne[ne.DownLeft=6]="DownLeft",ne[ne.DownRight=10]="DownRight",ne[ne.UpDownLeft=7]="UpDownLeft",ne[ne.UpDownRight=11]="UpDownRight",ne[ne.UpLeftRight=13]="UpLeftRight",ne[ne.DownLeftRight=14]="DownLeftRight",ne[ne.UpDownLeftRight=15]="UpDownLeftRight",ne[ne.NoChildren=16]="NoChildren"})(cs||(cs={}));const qi=2032,en=882,Tr=Object.create(null),nn=[],Xn=xe(rr,new Set);for(const ne of nn)ne.text=qn(ne.flowNode,ne.circular),Ze(ne);const _i=ct(Xn),Fe=it(_i);return Kt(Xn,0),ye();function Pt(ne){return!!(ne.flags&128)}function Ht(ne){return!!(ne.flags&12)&&!!ne.antecedents}function Ne(ne){return!!(ne.flags&qi)}function kt(ne){return!!(ne.flags&en)}function Te(ne){const $e=[];for(const ce of ne.edges)ce.source===ne&&$e.push(ce.target);return $e}function pe(ne){const $e=[];for(const ce of ne.edges)ce.target===ne&&$e.push(ce.source);return $e}function xe(ne,$e){const ce=Cn(ne);let Be=Tr[ce];if(Be&&$e.has(ne))return Be.circular=!0,Be={id:-1,flowNode:ne,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:"circularity"},nn.push(Be),Be;if($e.add(ne),!Be)if(Tr[ce]=Be={id:ce,flowNode:ne,edges:[],text:"",lane:-1,endLane:-1,level:-1,circular:!1},nn.push(Be),Ht(ne))for(const te of ne.antecedents)Y(Be,te,$e);else Ne(ne)&&Y(Be,ne.antecedent,$e);return $e.delete(ne),Be}function Y(ne,$e,ce){const Be=xe($e,ce),te={source:ne,target:Be};ne.edges.push(te),Be.edges.push(te)}function Ze(ne){if(ne.level!==-1)return ne.level;let $e=0;for(const ce of pe(ne))$e=Math.max($e,Ze(ce)+1);return ne.level=$e}function ct(ne){let $e=0;for(const ce of Te(ne))$e=Math.max($e,ct(ce));return $e+1}function it(ne){const $e=nr(Array(ne),0);for(const ce of nn)$e[ce.level]=Math.max($e[ce.level],ce.text.length);return $e}function Kt(ne,$e){if(ne.lane===-1){ne.lane=$e,ne.endLane=$e;const ce=Te(ne);for(let Be=0;Be<ce.length;Be++){Be>0&&$e++;const te=ce[Be];Kt(te,$e),te.endLane>ne.endLane&&($e=te.endLane)}ne.endLane=$e}}function wr(ne){if(ne&2)return"Start";if(ne&4)return"Branch";if(ne&8)return"Loop";if(ne&16)return"Assignment";if(ne&32)return"True";if(ne&64)return"False";if(ne&128)return"SwitchClause";if(ne&256)return"ArrayMutation";if(ne&512)return"Call";if(ne&1024)return"ReduceLabel";if(ne&1)return"Unreachable";throw new Error}function qr(ne){const $e=bn(ne);return mT($e,ne,!1)}function qn(ne,$e){let ce=wr(ne.flags);if($e&&(ce=`${ce}#${Cn(ne)}`),kt(ne))ne.node&&(ce+=` (${qr(ne.node)})`);else if(Pt(ne)){const Be=[];for(let te=ne.clauseStart;te<ne.clauseEnd;te++){const $t=ne.switchStatement.caseBlock.clauses[te];oO($t)?Be.push("default"):Be.push(qr($t.expression))}ce+=` (${Be.join(", ")})`}return $e==="circularity"?`Circular(${ce})`:ce}function ye(){const ne=Fe.length,$e=nn.reduce((At,St)=>Math.max(At,St.lane),0)+1,ce=nr(Array($e),""),Be=Fe.map(()=>Array($e)),te=Fe.map(()=>nr(Array($e),0));for(const At of nn){Be[At.level][At.lane]=At;const St=Te(At);for(let yn=0;yn<St.length;yn++){const Di=St[yn];let Yi=8;Di.lane===At.lane&&(Yi|=4),yn>0&&(Yi|=1),yn<St.length-1&&(Yi|=2),te[At.level][Di.lane]|=Yi}St.length===0&&(te[At.level][At.lane]|=16);const Dr=pe(At);for(let yn=0;yn<Dr.length;yn++){const Di=Dr[yn];let Yi=4;yn>0&&(Yi|=1),yn<Dr.length-1&&(Yi|=2),te[At.level-1][Di.lane]|=Yi}}for(let At=0;At<ne;At++)for(let St=0;St<$e;St++){const Dr=At>0?te[At-1][St]:0,yn=St>0?te[At][St-1]:0;let Di=te[At][St];Di||(Dr&8&&(Di|=12),yn&2&&(Di|=3),te[At][St]=Di)}for(let At=0;At<ne;At++)for(let St=0;St<ce.length;St++){const Dr=te[At][St],yn=Dr&4?"─":" ",Di=Be[At][St];Di?($t(St,Di.text),At<ne-1&&($t(St," "),$t(St,dt(yn,Fe[At]-Di.text.length)))):At<ne-1&&$t(St,dt(yn,Fe[At]+1)),$t(St,wt(Dr)),$t(St,Dr&8&&At<ne-1&&!Be[At+1][St]?"─":" ")}return`
${ce.join(`
`)}
`;function $t(At,St){ce[At]+=St}}function wt(ne){switch(ne){case 3:return"│";case 12:return"─";case 5:return"╯";case 9:return"╰";case 6:return"╮";case 10:return"╭";case 7:return"┤";case 11:return"├";case 13:return"┴";case 14:return"┬";case 15:return"╫"}return" "}function nr(ne,$e){if(ne.fill)ne.fill($e);else for(let ce=0;ce<ne.length;ce++)ne[ce]=$e;return ne}function dt(ne,$e){if(ne.repeat)return $e>0?ne.repeat($e):"";let ce="";for(;ce.length<$e;)ce+=ne;return ce}}e.formatControlFlowGraph=Rr})(R||(R={}))}});function G1e(e){const t=Q1e.exec(e);if(!t)return;const[,n,s="0",l="0",f="",d=""]=t;if(!(f&&!Y1e.test(f))&&!(d&&!K1e.test(d)))return{major:parseInt(n,10),minor:parseInt(s,10),patch:parseInt(l,10),prerelease:f,build:d}}function IHe(e,t){if(e===t)return 0;if(e.length===0)return t.length===0?0:1;if(t.length===0)return-1;const n=Math.min(e.length,t.length);for(let s=0;s<n;s++){const l=e[s],f=t[s];if(l===f)continue;const d=EY.test(l),g=EY.test(f);if(d||g){if(d!==g)return d?-1:1;const h=Cc(+l,+f);if(h)return h}else{const h=wf(l,f);if(h)return h}}return Cc(e.length,t.length)}function X1e(e){const t=[];for(let n of sT(e).split(tve)){if(!n)continue;const s=[];n=sT(n);const l=ive.exec(n);if(l){if(!OHe(l[1],l[2],s))return}else for(const f of n.split(rve)){const d=sve.exec(sT(f));if(!d||!LHe(d[1],d[2],s))return}t.push(s)}return t}function wY(e){const t=nve.exec(e);if(!t)return;const[,n,s="*",l="*",f,d]=t;return{version:new Rd(Xp(n)?0:parseInt(n,10),Xp(n)||Xp(s)?0:parseInt(s,10),Xp(n)||Xp(s)||Xp(l)?0:parseInt(l,10),f,d),major:n,minor:s,patch:l}}function OHe(e,t,n){const s=wY(e);if(!s)return!1;const l=wY(t);return l?(Xp(s.major)||n.push(Xm(">=",s.version)),Xp(l.major)||n.push(Xp(l.minor)?Xm("<",l.version.increment("major")):Xp(l.patch)?Xm("<",l.version.increment("minor")):Xm("<=",l.version)),!0):!1}function LHe(e,t,n){const s=wY(t);if(!s)return!1;const{version:l,major:f,minor:d,patch:g}=s;if(Xp(f))(e==="<"||e===">")&&n.push(Xm("<",Rd.zero));else switch(e){case"~":n.push(Xm(">=",l)),n.push(Xm("<",l.increment(Xp(d)?"major":"minor")));break;case"^":n.push(Xm(">=",l)),n.push(Xm("<",l.increment(l.major>0||Xp(d)?"major":l.minor>0||Xp(g)?"minor":"patch")));break;case"<":case">=":n.push(Xp(d)||Xp(g)?Xm(e,l.with({prerelease:"0"})):Xm(e,l));break;case"<=":case">":n.push(Xp(d)?Xm(e==="<="?"<":">=",l.increment("major").with({prerelease:"0"})):Xp(g)?Xm(e==="<="?"<":">=",l.increment("minor").with({prerelease:"0"})):Xm(e,l));break;case"=":case void 0:Xp(d)||Xp(g)?(n.push(Xm(">=",l.with({prerelease:"0"}))),n.push(Xm("<",l.increment(Xp(d)?"major":"minor").with({prerelease:"0"})))):n.push(Xm("=",l));break;default:return!1}return!0}function Xp(e){return e==="*"||e==="x"||e==="X"}function Xm(e,t){return{operator:e,operand:t}}function MHe(e,t){if(t.length===0)return!0;for(const n of t)if(FHe(e,n))return!0;return!1}function FHe(e,t){for(const n of t)if(!RHe(e,n.operator,n.operand))return!1;return!0}function RHe(e,t,n){const s=e.compareTo(n);switch(t){case"<":return s<0;case"<=":return s<=0;case">":return s>0;case">=":return s>=0;case"=":return s===0;default:return R.assertNever(t)}}function BHe(e){return qt(e,jHe).join(" || ")||"*"}function jHe(e){return qt(e,JHe).join(" ")}function JHe(e){return`${e.operator}${e.operand}`}var Q1e,Y1e,Z1e,K1e,eve,EY,TC,Rd,p6,tve,rve,nve,ive,sve,UHe=p({"src/compiler/semver.ts"(){aa(),Q1e=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,Y1e=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i,Z1e=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)$/i,K1e=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i,eve=/^[a-z0-9-]+$/i,EY=/^(0|[1-9]\d*)$/,TC=class{constructor(e,t=0,n=0,s="",l=""){typeof e=="string"&&({major:e,minor:t,patch:n,prerelease:s,build:l}=R.checkDefined(G1e(e),"Invalid version")),R.assert(e>=0,"Invalid argument: major"),R.assert(t>=0,"Invalid argument: minor"),R.assert(n>=0,"Invalid argument: patch");const f=s?pa(s)?s:s.split("."):pt,d=l?pa(l)?l:l.split("."):pt;R.assert(ut(f,g=>Z1e.test(g)),"Invalid argument: prerelease"),R.assert(ut(d,g=>eve.test(g)),"Invalid argument: build"),this.major=e,this.minor=t,this.patch=n,this.prerelease=f,this.build=d}static tryParse(e){const t=G1e(e);if(!t)return;const{major:n,minor:s,patch:l,prerelease:f,build:d}=t;return new TC(n,s,l,f,d)}compareTo(e){return this===e?0:e===void 0?1:Cc(this.major,e.major)||Cc(this.minor,e.minor)||Cc(this.patch,e.patch)||IHe(this.prerelease,e.prerelease)}increment(e){switch(e){case"major":return new TC(this.major+1,0,0);case"minor":return new TC(this.major,this.minor+1,0);case"patch":return new TC(this.major,this.minor,this.patch+1);default:return R.assertNever(e)}}with(e){const{major:t=this.major,minor:n=this.minor,patch:s=this.patch,prerelease:l=this.prerelease,build:f=this.build}=e;return new TC(t,n,s,l,f)}toString(){let e=`${this.major}.${this.minor}.${this.patch}`;return Oe(this.prerelease)&&(e+=`-${this.prerelease.join(".")}`),Oe(this.build)&&(e+=`+${this.build.join(".")}`),e}},Rd=TC,Rd.zero=new TC(0,0,0,["0"]),p6=class{constructor(e){this._alternatives=e?R.checkDefined(X1e(e),"Invalid range spec."):pt}static tryParse(e){const t=X1e(e);if(t){const n=new p6("");return n._alternatives=t,n}}test(e){return typeof e=="string"&&(e=new Rd(e)),MHe(e,this._alternatives)}toString(){return BHe(this._alternatives)}},tve=/\|\|/g,rve=/\s+/g,nve=/^([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:\.([xX*0]|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,ive=/^\s*([a-z0-9-+.*]+)\s+-\s+([a-z0-9-+.*]+)\s*$/i,sve=/^(~|\^|<|<=|>|>=|=)?\s*([a-z0-9-+.*]+)$/i}});function ave(e,t){return typeof e=="object"&&typeof e.timeOrigin=="number"&&typeof e.mark=="function"&&typeof e.measure=="function"&&typeof e.now=="function"&&typeof e.clearMarks=="function"&&typeof e.clearMeasures=="function"&&typeof t=="function"}function zHe(){if(typeof performance=="object"&&typeof PerformanceObserver=="function"&&ave(performance,PerformanceObserver))return{shouldWriteNativeEvents:!0,performance,PerformanceObserver}}function VHe(){if(bY())try{let e;const{performance:t,PerformanceObserver:n}=$k;if(ave(t,n)){e=t;const s=new Rd(process.versions.node);return new p6("<12.16.3 || 13 <13.13").test(s)&&(e={get timeOrigin(){return t.timeOrigin},now(){return t.now()},mark(f){return t.mark(f)},measure(f,d="nodeStart",g){g===void 0&&(g="__performance.measure-fix__",t.mark(g)),t.measure(f,d,g),g==="__performance.measure-fix__"&&t.clearMarks("__performance.measure-fix__")},clearMarks(f){return t.clearMarks(f)},clearMeasures(f){return t.clearMeasures(f)}}),{shouldWriteNativeEvents:!1,performance:e,PerformanceObserver:n}}}catch{}}function ove(){return ZR}var ZR,AY,Jc,$He=p({"src/compiler/performanceCore.ts"(){aa(),ZR=zHe()||VHe(),AY=ZR==null?void 0:ZR.performance,Jc=AY?()=>AY.now():Date.now?Date.now:()=>+new Date}}),cve,UI,lve,Qm,qHe=p({"src/compiler/perfLogger.ts"(){aa(),cve={logEvent:La,logErrEvent:La,logPerfEvent:La,logInfoEvent:La,logStartCommand:La,logStopCommand:La,logStartUpdateProgram:La,logStopUpdateProgram:La,logStartUpdateGraph:La,logStopUpdateGraph:La,logStartResolveModule:La,logStopResolveModule:La,logStartParseSourceFile:La,logStopParseSourceFile:La,logStartReadFile:La,logStopReadFile:La,logStartBindFile:La,logStopBindFile:La,logStartScheduledOperation:La,logStopScheduledOperation:La};try{const e=(lve={}.TS_ETW_MODULE_PATH)!=null?lve:"./node_modules/@microsoft/typescript-etw";UI=Nhe(e)}catch{UI=void 0}Qm=UI!=null&&UI.logEvent?UI:cve}});function uve(e,t,n,s){return e?KR(t,n,s):eB}function KR(e,t,n){let s=0;return{enter:l,exit:f};function l(){++s===1&&Uc(t)}function f(){--s===0?(Uc(n),Qp(e,t,n)):s<0&&R.fail("enter/exit count does not match.")}}function Uc(e){var t;if(SC){const n=(t=d6.get(e))!=null?t:0;d6.set(e,n+1),xC.set(e,Jc()),aT==null||aT.mark(e),typeof onProfilerEvent=="function"&&onProfilerEvent(e)}}function Qp(e,t,n){var s,l;if(SC){const f=(s=n!==void 0?xC.get(n):void 0)!=null?s:Jc(),d=(l=t!==void 0?xC.get(t):void 0)!=null?l:PY,g=kC.get(e)||0;kC.set(e,g+(f-d)),aT==null||aT.measure(e,t,n)}}function WHe(e){return d6.get(e)||0}function HHe(e){return kC.get(e)||0}function GHe(e){kC.forEach((t,n)=>e(n,t))}function XHe(e){xC.forEach((t,n)=>e(n))}function QHe(e){e!==void 0?kC.delete(e):kC.clear(),aT==null||aT.clearMeasures(e)}function YHe(e){e!==void 0?(d6.delete(e),xC.delete(e)):(d6.clear(),xC.clear()),aT==null||aT.clearMarks(e)}function ZHe(){return SC}function KHe(e=Bu){var t;return SC||(SC=!0,FA||(FA=ove()),FA&&(PY=FA.performance.timeOrigin,(FA.shouldWriteNativeEvents||(t=e==null?void 0:e.cpuProfilingEnabled)!=null&&t.call(e)||e!=null&&e.debugMode)&&(aT=FA.performance))),!0}function eGe(){SC&&(xC.clear(),d6.clear(),kC.clear(),aT=void 0,SC=!1)}var FA,aT,eB,SC,PY,xC,d6,kC,tGe=p({"src/compiler/performance.ts"(){aa(),eB={enter:La,exit:La},SC=!1,PY=Jc(),xC=new Map,d6=new Map,kC=new Map}}),zI={};T(zI,{clearMarks:()=>YHe,clearMeasures:()=>QHe,createTimer:()=>KR,createTimerIf:()=>uve,disable:()=>eGe,enable:()=>KHe,forEachMark:()=>XHe,forEachMeasure:()=>GHe,getCount:()=>WHe,getDuration:()=>HHe,isEnabled:()=>ZHe,mark:()=>Uc,measure:()=>Qp,nullTimer:()=>eB});var oT=p({"src/compiler/_namespaces/ts.performance.ts"(){tGe()}}),Hi,VI,fve,_ve,rGe=p({"src/compiler/tracing.ts"(){aa(),oT(),(e=>{let t,n=0,s=0,l;const f=[];let d;const g=[];function h(se,V,ve){if(R.assert(!Hi,"Tracing already started"),t===void 0)try{t=$k}catch(ge){throw new Error(`tracing requires having fs
(original error: ${ge.message||ge})`)}l=se,f.length=0,d===void 0&&(d=_s(V,"legend.json")),t.existsSync(V)||t.mkdirSync(V,{recursive:!0});const fe=l==="build"?`.${process.pid}-${++n}`:l==="server"?`.${process.pid}`:"",Ce=_s(V,`trace${fe}.json`),_e=_s(V,`types${fe}.json`);g.push({configFilePath:ve,tracePath:Ce,typesPath:_e}),s=t.openSync(Ce,"w"),Hi=e;const K={cat:"__metadata",ph:"M",ts:1e3*Jc(),pid:1,tid:1};t.writeSync(s,`[
`+[{name:"process_name",args:{name:"tsc"},...K},{name:"thread_name",args:{name:"Main"},...K},{name:"TracingStartedInBrowser",...K,cat:"disabled-by-default-devtools.timeline"}].map(ge=>JSON.stringify(ge)).join(`,
`))}e.startTracing=h;function k(){R.assert(Hi,"Tracing is not in progress"),R.assert(!!f.length==(l!=="server")),t.writeSync(s,`
]
`),t.closeSync(s),Hi=void 0,f.length?ue(f):g[g.length-1].typesPath=void 0}e.stopTracing=k;function S(se){l!=="server"&&f.push(se)}e.recordType=S,(se=>{se.Parse="parse",se.Program="program",se.Bind="bind",se.Check="check",se.CheckTypes="checkTypes",se.Emit="emit",se.Session="session"})(e.Phase||(e.Phase={}));function w(se,V,ve){X("I",se,V,ve,'"s":"g"')}e.instant=w;const N=[];function O(se,V,ve,fe=!1){fe&&X("B",se,V,ve),N.push({phase:se,name:V,args:ve,time:1e3*Jc(),separateBeginAndEnd:fe})}e.push=O;function L(se){R.assert(N.length>0),W(N.length-1,1e3*Jc(),se),N.length--}e.pop=L;function U(){const se=1e3*Jc();for(let V=N.length-1;V>=0;V--)W(V,se);N.length=0}e.popAll=U;const M=1e3*10;function W(se,V,ve){const{phase:fe,name:Ce,args:_e,time:K,separateBeginAndEnd:ge}=N[se];ge?(R.assert(!ve,"`results` are not supported for events with `separateBeginAndEnd`"),X("E",fe,Ce,_e,void 0,V)):M-K%M<=V-K&&X("X",fe,Ce,{..._e,results:ve},`"dur":${V-K}`,K)}function X(se,V,ve,fe,Ce,_e=1e3*Jc()){l==="server"&&V==="checkTypes"||(Uc("beginTracing"),t.writeSync(s,`,
{"pid":1,"tid":1,"ph":"${se}","cat":"${V}","ts":${_e},"name":"${ve}"`),Ce&&t.writeSync(s,`,${Ce}`),fe&&t.writeSync(s,`,"args":${JSON.stringify(fe)}`),t.writeSync(s,"}"),Uc("endTracing"),Qp("Tracing","beginTracing","endTracing"))}function Z(se){const V=bn(se);return V?{path:V.path,start:ve(zc(V,se.pos)),end:ve(zc(V,se.end))}:void 0;function ve(fe){return{line:fe.line+1,character:fe.character+1}}}function ue(se){var V,ve,fe,Ce,_e,K,ge,Se,we,Pe,le,ot,Qe,Ge,tt,Je,qe,st,Ke,We,gt,jt;Uc("beginDumpTypes");const It=g[g.length-1].typesPath,er=t.openSync(It,"w"),ft=new Map;t.writeSync(er,"[");const mt=se.length;for(let xr=0;xr<mt;xr++){const dr=se[xr],rn=dr.objectFlags,un=(V=dr.aliasSymbol)!=null?V:dr.symbol;let Gr;if(rn&16|dr.flags&2944)try{Gr=(ve=dr.checker)==null?void 0:ve.typeToString(dr)}catch{Gr=void 0}let mr={};if(dr.flags&8388608){const Pr=dr;mr={indexedAccessObjectType:(fe=Pr.objectType)==null?void 0:fe.id,indexedAccessIndexType:(Ce=Pr.indexType)==null?void 0:Ce.id}}let Fn={};if(rn&4){const Pr=dr;Fn={instantiatedType:(_e=Pr.target)==null?void 0:_e.id,typeArguments:(K=Pr.resolvedTypeArguments)==null?void 0:K.map(Cn=>Cn.id),referenceLocation:Z(Pr.node)}}let ts={};if(dr.flags&16777216){const Pr=dr;ts={conditionalCheckType:(ge=Pr.checkType)==null?void 0:ge.id,conditionalExtendsType:(Se=Pr.extendsType)==null?void 0:Se.id,conditionalTrueType:(Pe=(we=Pr.resolvedTrueType)==null?void 0:we.id)!=null?Pe:-1,conditionalFalseType:(ot=(le=Pr.resolvedFalseType)==null?void 0:le.id)!=null?ot:-1}}let ws={};if(dr.flags&33554432){const Pr=dr;ws={substitutionBaseType:(Qe=Pr.baseType)==null?void 0:Qe.id,constraintType:(Ge=Pr.constraint)==null?void 0:Ge.id}}let Es={};if(rn&1024){const Pr=dr;Es={reverseMappedSourceType:(tt=Pr.source)==null?void 0:tt.id,reverseMappedMappedType:(Je=Pr.mappedType)==null?void 0:Je.id,reverseMappedConstraintType:(qe=Pr.constraintType)==null?void 0:qe.id}}let ii={};if(rn&256){const Pr=dr;ii={evolvingArrayElementType:Pr.elementType.id,evolvingArrayFinalType:(st=Pr.finalArrayType)==null?void 0:st.id}}let Rt;const Rr=dr.checker.getRecursionIdentity(dr);Rr&&(Rt=ft.get(Rr),Rt||(Rt=ft.size,ft.set(Rr,Rt)));const rr={id:dr.id,intrinsicName:dr.intrinsicName,symbolName:(un==null?void 0:un.escapedName)&&Ds(un.escapedName),recursionId:Rt,isTuple:rn&8?!0:void 0,unionTypes:dr.flags&1048576?(Ke=dr.types)==null?void 0:Ke.map(Pr=>Pr.id):void 0,intersectionTypes:dr.flags&2097152?dr.types.map(Pr=>Pr.id):void 0,aliasTypeArguments:(We=dr.aliasTypeArguments)==null?void 0:We.map(Pr=>Pr.id),keyofType:dr.flags&4194304?(gt=dr.type)==null?void 0:gt.id:void 0,...mr,...Fn,...ts,...ws,...Es,...ii,destructuringPattern:Z(dr.pattern),firstDeclaration:Z((jt=un==null?void 0:un.declarations)==null?void 0:jt[0]),flags:R.formatTypeFlags(dr.flags).split("|"),display:Gr};t.writeSync(er,JSON.stringify(rr)),xr<mt-1&&t.writeSync(er,`,
`)}t.writeSync(er,`]
`),t.closeSync(er),Uc("endDumpTypes"),Qp("Dump types","beginDumpTypes","endDumpTypes")}function ie(){d&&t.writeFileSync(d,JSON.stringify(g))}e.dumpLegend=ie})(VI||(VI={})),fve=VI.startTracing,_ve=VI.dumpLegend}});function tB(e,t=!0){const n=qI[e.category];return t?n.toLowerCase():n}var rB,nB,iB,DY,sB,aB,NY,$I,IY,RA,oB,OY,LY,MY,FY,RY,BY,jY,JY,UY,zY,VY,$Y,qY,WY,cB,HY,GY,XY,QY,lB,uB,YY,ZY,KY,eZ,tZ,fB,rZ,nZ,iZ,sZ,aZ,oZ,qI,WI,cZ,lZ,uZ,fZ,_B,_Z,pZ,dZ,mZ,hZ,gZ,yZ,vZ,bZ,pB,dB,mB,TZ,SZ,xZ,kZ,CZ,wZ,EZ,AZ,HI,pve=p({"src/compiler/types.ts"(){rB=(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.HashToken=62]="HashToken",e[e.EqualsToken=63]="EqualsToken",e[e.PlusEqualsToken=64]="PlusEqualsToken",e[e.MinusEqualsToken=65]="MinusEqualsToken",e[e.AsteriskEqualsToken=66]="AsteriskEqualsToken",e[e.AsteriskAsteriskEqualsToken=67]="AsteriskAsteriskEqualsToken",e[e.SlashEqualsToken=68]="SlashEqualsToken",e[e.PercentEqualsToken=69]="PercentEqualsToken",e[e.LessThanLessThanEqualsToken=70]="LessThanLessThanEqualsToken",e[e.GreaterThanGreaterThanEqualsToken=71]="GreaterThanGreaterThanEqualsToken",e[e.GreaterThanGreaterThanGreaterThanEqualsToken=72]="GreaterThanGreaterThanGreaterThanEqualsToken",e[e.AmpersandEqualsToken=73]="AmpersandEqualsToken",e[e.BarEqualsToken=74]="BarEqualsToken",e[e.BarBarEqualsToken=75]="BarBarEqualsToken",e[e.AmpersandAmpersandEqualsToken=76]="AmpersandAmpersandEqualsToken",e[e.QuestionQuestionEqualsToken=77]="QuestionQuestionEqualsToken",e[e.CaretEqualsToken=78]="CaretEqualsToken",e[e.Identifier=79]="Identifier",e[e.PrivateIdentifier=80]="PrivateIdentifier",e[e.BreakKeyword=81]="BreakKeyword",e[e.CaseKeyword=82]="CaseKeyword",e[e.CatchKeyword=83]="CatchKeyword",e[e.ClassKeyword=84]="ClassKeyword",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.AccessorKeyword=127]="AccessorKeyword",e[e.AsKeyword=128]="AsKeyword",e[e.AssertsKeyword=129]="AssertsKeyword",e[e.AssertKeyword=130]="AssertKeyword",e[e.AnyKeyword=131]="AnyKeyword",e[e.AsyncKeyword=132]="AsyncKeyword",e[e.AwaitKeyword=133]="AwaitKeyword",e[e.BooleanKeyword=134]="BooleanKeyword",e[e.ConstructorKeyword=135]="ConstructorKeyword",e[e.DeclareKeyword=136]="DeclareKeyword",e[e.GetKeyword=137]="GetKeyword",e[e.InferKeyword=138]="InferKeyword",e[e.IntrinsicKeyword=139]="IntrinsicKeyword",e[e.IsKeyword=140]="IsKeyword",e[e.KeyOfKeyword=141]="KeyOfKeyword",e[e.ModuleKeyword=142]="ModuleKeyword",e[e.NamespaceKeyword=143]="NamespaceKeyword",e[e.NeverKeyword=144]="NeverKeyword",e[e.OutKeyword=145]="OutKeyword",e[e.ReadonlyKeyword=146]="ReadonlyKeyword",e[e.RequireKeyword=147]="RequireKeyword",e[e.NumberKeyword=148]="NumberKeyword",e[e.ObjectKeyword=149]="ObjectKeyword",e[e.SatisfiesKeyword=150]="SatisfiesKeyword",e[e.SetKeyword=151]="SetKeyword",e[e.StringKeyword=152]="StringKeyword",e[e.SymbolKeyword=153]="SymbolKeyword",e[e.TypeKeyword=154]="TypeKeyword",e[e.UndefinedKeyword=155]="UndefinedKeyword",e[e.UniqueKeyword=156]="UniqueKeyword",e[e.UnknownKeyword=157]="UnknownKeyword",e[e.FromKeyword=158]="FromKeyword",e[e.GlobalKeyword=159]="GlobalKeyword",e[e.BigIntKeyword=160]="BigIntKeyword",e[e.OverrideKeyword=161]="OverrideKeyword",e[e.OfKeyword=162]="OfKeyword",e[e.QualifiedName=163]="QualifiedName",e[e.ComputedPropertyName=164]="ComputedPropertyName",e[e.TypeParameter=165]="TypeParameter",e[e.Parameter=166]="Parameter",e[e.Decorator=167]="Decorator",e[e.PropertySignature=168]="PropertySignature",e[e.PropertyDeclaration=169]="PropertyDeclaration",e[e.MethodSignature=170]="MethodSignature",e[e.MethodDeclaration=171]="MethodDeclaration",e[e.ClassStaticBlockDeclaration=172]="ClassStaticBlockDeclaration",e[e.Constructor=173]="Constructor",e[e.GetAccessor=174]="GetAccessor",e[e.SetAccessor=175]="SetAccessor",e[e.CallSignature=176]="CallSignature",e[e.ConstructSignature=177]="ConstructSignature",e[e.IndexSignature=178]="IndexSignature",e[e.TypePredicate=179]="TypePredicate",e[e.TypeReference=180]="TypeReference",e[e.FunctionType=181]="FunctionType",e[e.ConstructorType=182]="ConstructorType",e[e.TypeQuery=183]="TypeQuery",e[e.TypeLiteral=184]="TypeLiteral",e[e.ArrayType=185]="ArrayType",e[e.TupleType=186]="TupleType",e[e.OptionalType=187]="OptionalType",e[e.RestType=188]="RestType",e[e.UnionType=189]="UnionType",e[e.IntersectionType=190]="IntersectionType",e[e.ConditionalType=191]="ConditionalType",e[e.InferType=192]="InferType",e[e.ParenthesizedType=193]="ParenthesizedType",e[e.ThisType=194]="ThisType",e[e.TypeOperator=195]="TypeOperator",e[e.IndexedAccessType=196]="IndexedAccessType",e[e.MappedType=197]="MappedType",e[e.LiteralType=198]="LiteralType",e[e.NamedTupleMember=199]="NamedTupleMember",e[e.TemplateLiteralType=200]="TemplateLiteralType",e[e.TemplateLiteralTypeSpan=201]="TemplateLiteralTypeSpan",e[e.ImportType=202]="ImportType",e[e.ObjectBindingPattern=203]="ObjectBindingPattern",e[e.ArrayBindingPattern=204]="ArrayBindingPattern",e[e.BindingElement=205]="BindingElement",e[e.ArrayLiteralExpression=206]="ArrayLiteralExpression",e[e.ObjectLiteralExpression=207]="ObjectLiteralExpression",e[e.PropertyAccessExpression=208]="PropertyAccessExpression",e[e.ElementAccessExpression=209]="ElementAccessExpression",e[e.CallExpression=210]="CallExpression",e[e.NewExpression=211]="NewExpression",e[e.TaggedTemplateExpression=212]="TaggedTemplateExpression",e[e.TypeAssertionExpression=213]="TypeAssertionExpression",e[e.ParenthesizedExpression=214]="ParenthesizedExpression",e[e.FunctionExpression=215]="FunctionExpression",e[e.ArrowFunction=216]="ArrowFunction",e[e.DeleteExpression=217]="DeleteExpression",e[e.TypeOfExpression=218]="TypeOfExpression",e[e.VoidExpression=219]="VoidExpression",e[e.AwaitExpression=220]="AwaitExpression",e[e.PrefixUnaryExpression=221]="PrefixUnaryExpression",e[e.PostfixUnaryExpression=222]="PostfixUnaryExpression",e[e.BinaryExpression=223]="BinaryExpression",e[e.ConditionalExpression=224]="ConditionalExpression",e[e.TemplateExpression=225]="TemplateExpression",e[e.YieldExpression=226]="YieldExpression",e[e.SpreadElement=227]="SpreadElement",e[e.ClassExpression=228]="ClassExpression",e[e.OmittedExpression=229]="OmittedExpression",e[e.ExpressionWithTypeArguments=230]="ExpressionWithTypeArguments",e[e.AsExpression=231]="AsExpression",e[e.NonNullExpression=232]="NonNullExpression",e[e.MetaProperty=233]="MetaProperty",e[e.SyntheticExpression=234]="SyntheticExpression",e[e.SatisfiesExpression=235]="SatisfiesExpression",e[e.TemplateSpan=236]="TemplateSpan",e[e.SemicolonClassElement=237]="SemicolonClassElement",e[e.Block=238]="Block",e[e.EmptyStatement=239]="EmptyStatement",e[e.VariableStatement=240]="VariableStatement",e[e.ExpressionStatement=241]="ExpressionStatement",e[e.IfStatement=242]="IfStatement",e[e.DoStatement=243]="DoStatement",e[e.WhileStatement=244]="WhileStatement",e[e.ForStatement=245]="ForStatement",e[e.ForInStatement=246]="ForInStatement",e[e.ForOfStatement=247]="ForOfStatement",e[e.ContinueStatement=248]="ContinueStatement",e[e.BreakStatement=249]="BreakStatement",e[e.ReturnStatement=250]="ReturnStatement",e[e.WithStatement=251]="WithStatement",e[e.SwitchStatement=252]="SwitchStatement",e[e.LabeledStatement=253]="LabeledStatement",e[e.ThrowStatement=254]="ThrowStatement",e[e.TryStatement=255]="TryStatement",e[e.DebuggerStatement=256]="DebuggerStatement",e[e.VariableDeclaration=257]="VariableDeclaration",e[e.VariableDeclarationList=258]="VariableDeclarationList",e[e.FunctionDeclaration=259]="FunctionDeclaration",e[e.ClassDeclaration=260]="ClassDeclaration",e[e.InterfaceDeclaration=261]="InterfaceDeclaration",e[e.TypeAliasDeclaration=262]="TypeAliasDeclaration",e[e.EnumDeclaration=263]="EnumDeclaration",e[e.ModuleDeclaration=264]="ModuleDeclaration",e[e.ModuleBlock=265]="ModuleBlock",e[e.CaseBlock=266]="CaseBlock",e[e.NamespaceExportDeclaration=267]="NamespaceExportDeclaration",e[e.ImportEqualsDeclaration=268]="ImportEqualsDeclaration",e[e.ImportDeclaration=269]="ImportDeclaration",e[e.ImportClause=270]="ImportClause",e[e.NamespaceImport=271]="NamespaceImport",e[e.NamedImports=272]="NamedImports",e[e.ImportSpecifier=273]="ImportSpecifier",e[e.ExportAssignment=274]="ExportAssignment",e[e.ExportDeclaration=275]="ExportDeclaration",e[e.NamedExports=276]="NamedExports",e[e.NamespaceExport=277]="NamespaceExport",e[e.ExportSpecifier=278]="ExportSpecifier",e[e.MissingDeclaration=279]="MissingDeclaration",e[e.ExternalModuleReference=280]="ExternalModuleReference",e[e.JsxElement=281]="JsxElement",e[e.JsxSelfClosingElement=282]="JsxSelfClosingElement",e[e.JsxOpeningElement=283]="JsxOpeningElement",e[e.JsxClosingElement=284]="JsxClosingElement",e[e.JsxFragment=285]="JsxFragment",e[e.JsxOpeningFragment=286]="JsxOpeningFragment",e[e.JsxClosingFragment=287]="JsxClosingFragment",e[e.JsxAttribute=288]="JsxAttribute",e[e.JsxAttributes=289]="JsxAttributes",e[e.JsxSpreadAttribute=290]="JsxSpreadAttribute",e[e.JsxExpression=291]="JsxExpression",e[e.CaseClause=292]="CaseClause",e[e.DefaultClause=293]="DefaultClause",e[e.HeritageClause=294]="HeritageClause",e[e.CatchClause=295]="CatchClause",e[e.AssertClause=296]="AssertClause",e[e.AssertEntry=297]="AssertEntry",e[e.ImportTypeAssertionContainer=298]="ImportTypeAssertionContainer",e[e.PropertyAssignment=299]="PropertyAssignment",e[e.ShorthandPropertyAssignment=300]="ShorthandPropertyAssignment",e[e.SpreadAssignment=301]="SpreadAssignment",e[e.EnumMember=302]="EnumMember",e[e.UnparsedPrologue=303]="UnparsedPrologue",e[e.UnparsedPrepend=304]="UnparsedPrepend",e[e.UnparsedText=305]="UnparsedText",e[e.UnparsedInternalText=306]="UnparsedInternalText",e[e.UnparsedSyntheticReference=307]="UnparsedSyntheticReference",e[e.SourceFile=308]="SourceFile",e[e.Bundle=309]="Bundle",e[e.UnparsedSource=310]="UnparsedSource",e[e.InputFiles=311]="InputFiles",e[e.JSDocTypeExpression=312]="JSDocTypeExpression",e[e.JSDocNameReference=313]="JSDocNameReference",e[e.JSDocMemberName=314]="JSDocMemberName",e[e.JSDocAllType=315]="JSDocAllType",e[e.JSDocUnknownType=316]="JSDocUnknownType",e[e.JSDocNullableType=317]="JSDocNullableType",e[e.JSDocNonNullableType=318]="JSDocNonNullableType",e[e.JSDocOptionalType=319]="JSDocOptionalType",e[e.JSDocFunctionType=320]="JSDocFunctionType",e[e.JSDocVariadicType=321]="JSDocVariadicType",e[e.JSDocNamepathType=322]="JSDocNamepathType",e[e.JSDoc=323]="JSDoc",e[e.JSDocComment=323]="JSDocComment",e[e.JSDocText=324]="JSDocText",e[e.JSDocTypeLiteral=325]="JSDocTypeLiteral",e[e.JSDocSignature=326]="JSDocSignature",e[e.JSDocLink=327]="JSDocLink",e[e.JSDocLinkCode=328]="JSDocLinkCode",e[e.JSDocLinkPlain=329]="JSDocLinkPlain",e[e.JSDocTag=330]="JSDocTag",e[e.JSDocAugmentsTag=331]="JSDocAugmentsTag",e[e.JSDocImplementsTag=332]="JSDocImplementsTag",e[e.JSDocAuthorTag=333]="JSDocAuthorTag",e[e.JSDocDeprecatedTag=334]="JSDocDeprecatedTag",e[e.JSDocClassTag=335]="JSDocClassTag",e[e.JSDocPublicTag=336]="JSDocPublicTag",e[e.JSDocPrivateTag=337]="JSDocPrivateTag",e[e.JSDocProtectedTag=338]="JSDocProtectedTag",e[e.JSDocReadonlyTag=339]="JSDocReadonlyTag",e[e.JSDocOverrideTag=340]="JSDocOverrideTag",e[e.JSDocCallbackTag=341]="JSDocCallbackTag",e[e.JSDocOverloadTag=342]="JSDocOverloadTag",e[e.JSDocEnumTag=343]="JSDocEnumTag",e[e.JSDocParameterTag=344]="JSDocParameterTag",e[e.JSDocReturnTag=345]="JSDocReturnTag",e[e.JSDocThisTag=346]="JSDocThisTag",e[e.JSDocTypeTag=347]="JSDocTypeTag",e[e.JSDocTemplateTag=348]="JSDocTemplateTag",e[e.JSDocTypedefTag=349]="JSDocTypedefTag",e[e.JSDocSeeTag=350]="JSDocSeeTag",e[e.JSDocPropertyTag=351]="JSDocPropertyTag",e[e.JSDocThrowsTag=352]="JSDocThrowsTag",e[e.JSDocSatisfiesTag=353]="JSDocSatisfiesTag",e[e.SyntaxList=354]="SyntaxList",e[e.NotEmittedStatement=355]="NotEmittedStatement",e[e.PartiallyEmittedExpression=356]="PartiallyEmittedExpression",e[e.CommaListExpression=357]="CommaListExpression",e[e.MergeDeclarationMarker=358]="MergeDeclarationMarker",e[e.EndOfDeclarationMarker=359]="EndOfDeclarationMarker",e[e.SyntheticReferenceExpression=360]="SyntheticReferenceExpression",e[e.Count=361]="Count",e[e.FirstAssignment=63]="FirstAssignment",e[e.LastAssignment=78]="LastAssignment",e[e.FirstCompoundAssignment=64]="FirstCompoundAssignment",e[e.LastCompoundAssignment=78]="LastCompoundAssignment",e[e.FirstReservedWord=81]="FirstReservedWord",e[e.LastReservedWord=116]="LastReservedWord",e[e.FirstKeyword=81]="FirstKeyword",e[e.LastKeyword=162]="LastKeyword",e[e.FirstFutureReservedWord=117]="FirstFutureReservedWord",e[e.LastFutureReservedWord=125]="LastFutureReservedWord",e[e.FirstTypeNode=179]="FirstTypeNode",e[e.LastTypeNode=202]="LastTypeNode",e[e.FirstPunctuation=18]="FirstPunctuation",e[e.LastPunctuation=78]="LastPunctuation",e[e.FirstToken=0]="FirstToken",e[e.LastToken=162]="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=78]="LastBinaryOperator",e[e.FirstStatement=240]="FirstStatement",e[e.LastStatement=256]="LastStatement",e[e.FirstNode=163]="FirstNode",e[e.FirstJSDocNode=312]="FirstJSDocNode",e[e.LastJSDocNode=353]="LastJSDocNode",e[e.FirstJSDocTagNode=330]="FirstJSDocTagNode",e[e.LastJSDocTagNode=353]="LastJSDocTagNode",e[e.FirstContextualKeyword=126]="FirstContextualKeyword",e[e.LastContextualKeyword=162]="LastContextualKeyword",e))(rB||{}),nB=(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.DisallowConditionalTypesContext=65536]="DisallowConditionalTypesContext",e[e.ThisNodeHasError=131072]="ThisNodeHasError",e[e.JavaScriptFile=262144]="JavaScriptFile",e[e.ThisNodeOrAnySubNodesHasError=524288]="ThisNodeOrAnySubNodesHasError",e[e.HasAggregatedChildData=1048576]="HasAggregatedChildData",e[e.PossiblyContainsDynamicImport=2097152]="PossiblyContainsDynamicImport",e[e.PossiblyContainsImportMeta=4194304]="PossiblyContainsImportMeta",e[e.JSDoc=8388608]="JSDoc",e[e.Ambient=16777216]="Ambient",e[e.InWithStatement=33554432]="InWithStatement",e[e.JsonFile=67108864]="JsonFile",e[e.TypeCached=134217728]="TypeCached",e[e.Deprecated=268435456]="Deprecated",e[e.BlockScoped=3]="BlockScoped",e[e.ReachabilityCheckFlags=768]="ReachabilityCheckFlags",e[e.ReachabilityAndEmitFlags=2816]="ReachabilityAndEmitFlags",e[e.ContextFlags=50720768]="ContextFlags",e[e.TypeExcludesFlags=40960]="TypeExcludesFlags",e[e.PermanentlySetIncrementalFlags=6291456]="PermanentlySetIncrementalFlags",e[e.IdentifierHasExtendedUnicodeEscape=128]="IdentifierHasExtendedUnicodeEscape",e[e.IdentifierIsInJSDocNamespace=2048]="IdentifierIsInJSDocNamespace",e))(nB||{}),iB=(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.Accessor=128]="Accessor",e[e.Abstract=256]="Abstract",e[e.Async=512]="Async",e[e.Default=1024]="Default",e[e.Const=2048]="Const",e[e.HasComputedJSDocModifiers=4096]="HasComputedJSDocModifiers",e[e.Deprecated=8192]="Deprecated",e[e.Override=16384]="Override",e[e.In=32768]="In",e[e.Out=65536]="Out",e[e.Decorator=131072]="Decorator",e[e.HasComputedFlags=536870912]="HasComputedFlags",e[e.AccessibilityModifier=28]="AccessibilityModifier",e[e.ParameterPropertyModifier=16476]="ParameterPropertyModifier",e[e.NonPublicAccessibilityModifier=24]="NonPublicAccessibilityModifier",e[e.TypeScriptModifier=117086]="TypeScriptModifier",e[e.ExportDefault=1025]="ExportDefault",e[e.All=258047]="All",e[e.Modifier=126975]="Modifier",e))(iB||{}),DY=(e=>(e[e.None=0]="None",e[e.IntrinsicNamedElement=1]="IntrinsicNamedElement",e[e.IntrinsicIndexedElement=2]="IntrinsicIndexedElement",e[e.IntrinsicElement=3]="IntrinsicElement",e))(DY||{}),sB=(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))(sB||{}),aB=(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))(aB||{}),NY=(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))(NY||{}),$I=(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))($I||{}),IY=(e=>(e[e.ExpectError=0]="ExpectError",e[e.Ignore=1]="Ignore",e))(IY||{}),RA=class{},oB=(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))(oB||{}),OY=(e=>(e[e.FilePreprocessingReferencedDiagnostic=0]="FilePreprocessingReferencedDiagnostic",e[e.FilePreprocessingFileExplainingDiagnostic=1]="FilePreprocessingFileExplainingDiagnostic",e[e.ResolutionDiagnostics=2]="ResolutionDiagnostics",e))(OY||{}),LY=(e=>(e[e.Js=0]="Js",e[e.Dts=1]="Dts",e))(LY||{}),MY=(e=>(e[e.Not=0]="Not",e[e.SafeModules=1]="SafeModules",e[e.Completely=2]="Completely",e))(MY||{}),FY=(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))(FY||{}),RY=(e=>(e[e.Ok=0]="Ok",e[e.NeedsOverride=1]="NeedsOverride",e[e.HasInvalidOverride=2]="HasInvalidOverride",e))(RY||{}),BY=(e=>(e[e.None=0]="None",e[e.Literal=1]="Literal",e[e.Subtype=2]="Subtype",e))(BY||{}),jY=(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))(jY||{}),JY=(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.OmitThisParameter=33554432]="OmitThisParameter",e[e.AllowThisInObjectLiteral=32768]="AllowThisInObjectLiteral",e[e.AllowQualifiedNameInPlaceOfIdentifier=65536]="AllowQualifiedNameInPlaceOfIdentifier",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.WriteComputedProps=1073741824]="WriteComputedProps",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))(JY||{}),UY=(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.OmitThisParameter=33554432]="OmitThisParameter",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.NodeBuilderFlagsMask=848330091]="NodeBuilderFlagsMask",e))(UY||{}),zY=(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.WriteComputedProps=16]="WriteComputedProps",e[e.DoNotIncludeSymbolChain=32]="DoNotIncludeSymbolChain",e))(zY||{}),VY=(e=>(e[e.Accessible=0]="Accessible",e[e.NotAccessible=1]="NotAccessible",e[e.CannotBeNamed=2]="CannotBeNamed",e))(VY||{}),$Y=(e=>(e[e.UnionOrIntersection=0]="UnionOrIntersection",e[e.Spread=1]="Spread",e))($Y||{}),qY=(e=>(e[e.This=0]="This",e[e.Identifier=1]="Identifier",e[e.AssertsThis=2]="AssertsThis",e[e.AssertsIdentifier=3]="AssertsIdentifier",e))(qY||{}),WY=(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))(WY||{}),cB=(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.AccessorExcludes=13247]="AccessorExcludes",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))(cB||{}),HY=(e=>(e[e.Numeric=0]="Numeric",e[e.Literal=1]="Literal",e))(HY||{}),GY=(e=>(e[e.None=0]="None",e[e.Instantiated=1]="Instantiated",e[e.SyntheticProperty=2]="SyntheticProperty",e[e.SyntheticMethod=4]="SyntheticMethod",e[e.Readonly=8]="Readonly",e[e.ReadPartial=16]="ReadPartial",e[e.WritePartial=32]="WritePartial",e[e.HasNonUniformType=64]="HasNonUniformType",e[e.HasLiteralType=128]="HasLiteralType",e[e.ContainsPublic=256]="ContainsPublic",e[e.ContainsProtected=512]="ContainsProtected",e[e.ContainsPrivate=1024]="ContainsPrivate",e[e.ContainsStatic=2048]="ContainsStatic",e[e.Late=4096]="Late",e[e.ReverseMapped=8192]="ReverseMapped",e[e.OptionalParameter=16384]="OptionalParameter",e[e.RestParameter=32768]="RestParameter",e[e.DeferredType=65536]="DeferredType",e[e.HasNeverType=131072]="HasNeverType",e[e.Mapped=262144]="Mapped",e[e.StripOptional=524288]="StripOptional",e[e.Unresolved=1048576]="Unresolved",e[e.Synthetic=6]="Synthetic",e[e.Discriminant=192]="Discriminant",e[e.Partial=48]="Partial",e))(GY||{}),XY=(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))(XY||{}),QY=(e=>(e[e.None=0]="None",e[e.TypeChecked=1]="TypeChecked",e[e.LexicalThis=2]="LexicalThis",e[e.CaptureThis=4]="CaptureThis",e[e.CaptureNewTarget=8]="CaptureNewTarget",e[e.SuperInstance=16]="SuperInstance",e[e.SuperStatic=32]="SuperStatic",e[e.ContextChecked=64]="ContextChecked",e[e.MethodWithSuperPropertyAccessInAsync=128]="MethodWithSuperPropertyAccessInAsync",e[e.MethodWithSuperPropertyAssignmentInAsync=256]="MethodWithSuperPropertyAssignmentInAsync",e[e.CaptureArguments=512]="CaptureArguments",e[e.EnumValuesComputed=1024]="EnumValuesComputed",e[e.LexicalModuleMergesWithClass=2048]="LexicalModuleMergesWithClass",e[e.LoopWithCapturedBlockScopedBinding=4096]="LoopWithCapturedBlockScopedBinding",e[e.ContainsCapturedBlockScopeBinding=8192]="ContainsCapturedBlockScopeBinding",e[e.CapturedBlockScopedBinding=16384]="CapturedBlockScopedBinding",e[e.BlockScopedBindingInLoop=32768]="BlockScopedBindingInLoop",e[e.ClassWithBodyScopedClassBinding=65536]="ClassWithBodyScopedClassBinding",e[e.BodyScopedClassBinding=131072]="BodyScopedClassBinding",e[e.NeedsLoopOutParameter=262144]="NeedsLoopOutParameter",e[e.AssignmentsMarked=524288]="AssignmentsMarked",e[e.ClassWithConstructorReference=1048576]="ClassWithConstructorReference",e[e.ConstructorReferenceInClass=2097152]="ConstructorReferenceInClass",e[e.ContainsClassWithPrivateIdentifiers=4194304]="ContainsClassWithPrivateIdentifiers",e[e.ContainsSuperPropertyInStaticInitializer=8388608]="ContainsSuperPropertyInStaticInitializer",e[e.InCheckIdentifier=16777216]="InCheckIdentifier",e))(QY||{}),lB=(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=109472]="Unit",e[e.Freshable=2976]="Freshable",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=134348796]="Primitive",e[e.StringLike=402653316]="StringLike",e[e.NumberLike=296]="NumberLike",e[e.BigIntLike=2112]="BigIntLike",e[e.BooleanLike=528]="BooleanLike",e[e.EnumLike=1056]="EnumLike",e[e.ESSymbolLike=12288]="ESSymbolLike",e[e.VoidLike=49152]="VoidLike",e[e.DefinitelyNonNullable=470302716]="DefinitelyNonNullable",e[e.DisjointDomains=469892092]="DisjointDomains",e[e.UnionOrIntersection=3145728]="UnionOrIntersection",e[e.StructuredType=3670016]="StructuredType",e[e.TypeVariable=8650752]="TypeVariable",e[e.InstantiableNonPrimitive=58982400]="InstantiableNonPrimitive",e[e.InstantiablePrimitive=406847488]="InstantiablePrimitive",e[e.Instantiable=465829888]="Instantiable",e[e.StructuredOrInstantiable=469499904]="StructuredOrInstantiable",e[e.ObjectFlagsType=3899393]="ObjectFlagsType",e[e.Simplifiable=25165824]="Simplifiable",e[e.Singleton=67358815]="Singleton",e[e.Narrowable=536624127]="Narrowable",e[e.IncludesMask=205258751]="IncludesMask",e[e.IncludesMissingType=262144]="IncludesMissingType",e[e.IncludesNonWideningType=4194304]="IncludesNonWideningType",e[e.IncludesWildcard=8388608]="IncludesWildcard",e[e.IncludesEmptyObject=16777216]="IncludesEmptyObject",e[e.IncludesInstantiable=33554432]="IncludesInstantiable",e[e.NotPrimitiveUnion=36323363]="NotPrimitiveUnion",e))(lB||{}),uB=(e=>(e[e.None=0]="None",e[e.Class=1]="Class",e[e.Interface=2]="Interface",e[e.Reference=4]="Reference",e[e.Tuple=8]="Tuple",e[e.Anonymous=16]="Anonymous",e[e.Mapped=32]="Mapped",e[e.Instantiated=64]="Instantiated",e[e.ObjectLiteral=128]="ObjectLiteral",e[e.EvolvingArray=256]="EvolvingArray",e[e.ObjectLiteralPatternWithComputedProperties=512]="ObjectLiteralPatternWithComputedProperties",e[e.ReverseMapped=1024]="ReverseMapped",e[e.JsxAttributes=2048]="JsxAttributes",e[e.JSLiteral=4096]="JSLiteral",e[e.FreshLiteral=8192]="FreshLiteral",e[e.ArrayLiteral=16384]="ArrayLiteral",e[e.PrimitiveUnion=32768]="PrimitiveUnion",e[e.ContainsWideningType=65536]="ContainsWideningType",e[e.ContainsObjectOrArrayLiteral=131072]="ContainsObjectOrArrayLiteral",e[e.NonInferrableType=262144]="NonInferrableType",e[e.CouldContainTypeVariablesComputed=524288]="CouldContainTypeVariablesComputed",e[e.CouldContainTypeVariables=1048576]="CouldContainTypeVariables",e[e.ClassOrInterface=3]="ClassOrInterface",e[e.RequiresWidening=196608]="RequiresWidening",e[e.PropagatingFlags=458752]="PropagatingFlags",e[e.ObjectTypeKindMask=1343]="ObjectTypeKindMask",e[e.ContainsSpread=2097152]="ContainsSpread",e[e.ObjectRestType=4194304]="ObjectRestType",e[e.InstantiationExpressionType=8388608]="InstantiationExpressionType",e[e.IsClassInstanceClone=16777216]="IsClassInstanceClone",e[e.IdenticalBaseTypeCalculated=33554432]="IdenticalBaseTypeCalculated",e[e.IdenticalBaseTypeExists=67108864]="IdenticalBaseTypeExists",e[e.IsGenericTypeComputed=2097152]="IsGenericTypeComputed",e[e.IsGenericObjectType=4194304]="IsGenericObjectType",e[e.IsGenericIndexType=8388608]="IsGenericIndexType",e[e.IsGenericType=12582912]="IsGenericType",e[e.ContainsIntersections=16777216]="ContainsIntersections",e[e.IsUnknownLikeUnionComputed=33554432]="IsUnknownLikeUnionComputed",e[e.IsUnknownLikeUnion=67108864]="IsUnknownLikeUnion",e[e.IsNeverIntersectionComputed=16777216]="IsNeverIntersectionComputed",e[e.IsNeverIntersection=33554432]="IsNeverIntersection",e))(uB||{}),YY=(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))(YY||{}),ZY=(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))(ZY||{}),KY=(e=>(e[e.None=0]="None",e[e.IncludeUndefined=1]="IncludeUndefined",e[e.NoIndexSignatures=2]="NoIndexSignatures",e[e.Writing=4]="Writing",e[e.CacheSymbol=8]="CacheSymbol",e[e.NoTupleBoundsCheck=16]="NoTupleBoundsCheck",e[e.ExpressionPosition=32]="ExpressionPosition",e[e.ReportDeprecated=64]="ReportDeprecated",e[e.SuppressNoImplicitAnyError=128]="SuppressNoImplicitAnyError",e[e.Contextual=256]="Contextual",e[e.Persistent=1]="Persistent",e))(KY||{}),eZ=(e=>(e[e.Component=0]="Component",e[e.Function=1]="Function",e[e.Mixed=2]="Mixed",e))(eZ||{}),tZ=(e=>(e[e.Call=0]="Call",e[e.Construct=1]="Construct",e))(tZ||{}),fB=(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))(fB||{}),rZ=(e=>(e[e.String=0]="String",e[e.Number=1]="Number",e))(rZ||{}),nZ=(e=>(e[e.Simple=0]="Simple",e[e.Array=1]="Array",e[e.Deferred=2]="Deferred",e[e.Function=3]="Function",e[e.Composite=4]="Composite",e[e.Merged=5]="Merged",e))(nZ||{}),iZ=(e=>(e[e.None=0]="None",e[e.NakedTypeVariable=1]="NakedTypeVariable",e[e.SpeculativeTuple=2]="SpeculativeTuple",e[e.SubstituteSource=4]="SubstituteSource",e[e.HomomorphicMappedType=8]="HomomorphicMappedType",e[e.PartialHomomorphicMappedType=16]="PartialHomomorphicMappedType",e[e.MappedTypeConstraint=32]="MappedTypeConstraint",e[e.ContravariantConditional=64]="ContravariantConditional",e[e.ReturnType=128]="ReturnType",e[e.LiteralKeyof=256]="LiteralKeyof",e[e.NoConstraints=512]="NoConstraints",e[e.AlwaysStrict=1024]="AlwaysStrict",e[e.MaxValue=2048]="MaxValue",e[e.PriorityImpliesCombination=416]="PriorityImpliesCombination",e[e.Circularity=-1]="Circularity",e))(iZ||{}),sZ=(e=>(e[e.None=0]="None",e[e.NoDefault=1]="NoDefault",e[e.AnyDefault=2]="AnyDefault",e[e.SkippedGenericFunction=4]="SkippedGenericFunction",e))(sZ||{}),aZ=(e=>(e[e.False=0]="False",e[e.Unknown=1]="Unknown",e[e.Maybe=3]="Maybe",e[e.True=-1]="True",e))(aZ||{}),oZ=(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))(oZ||{}),qI=(e=>(e[e.Warning=0]="Warning",e[e.Error=1]="Error",e[e.Suggestion=2]="Suggestion",e[e.Message=3]="Message",e))(qI||{}),WI=(e=>(e[e.Classic=1]="Classic",e[e.NodeJs=2]="NodeJs",e[e.Node10=2]="Node10",e[e.Node16=3]="Node16",e[e.NodeNext=99]="NodeNext",e[e.Bundler=100]="Bundler",e))(WI||{}),cZ=(e=>(e[e.Legacy=1]="Legacy",e[e.Auto=2]="Auto",e[e.Force=3]="Force",e))(cZ||{}),lZ=(e=>(e[e.FixedPollingInterval=0]="FixedPollingInterval",e[e.PriorityPollingInterval=1]="PriorityPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling",e[e.FixedChunkSizePolling=3]="FixedChunkSizePolling",e[e.UseFsEvents=4]="UseFsEvents",e[e.UseFsEventsOnParentDirectory=5]="UseFsEventsOnParentDirectory",e))(lZ||{}),uZ=(e=>(e[e.UseFsEvents=0]="UseFsEvents",e[e.FixedPollingInterval=1]="FixedPollingInterval",e[e.DynamicPriorityPolling=2]="DynamicPriorityPolling",e[e.FixedChunkSizePolling=3]="FixedChunkSizePolling",e))(uZ||{}),fZ=(e=>(e[e.FixedInterval=0]="FixedInterval",e[e.PriorityInterval=1]="PriorityInterval",e[e.DynamicPriority=2]="DynamicPriority",e[e.FixedChunkSize=3]="FixedChunkSize",e))(fZ||{}),_B=(e=>(e[e.None=0]="None",e[e.CommonJS=1]="CommonJS",e[e.AMD=2]="AMD",e[e.UMD=3]="UMD",e[e.System=4]="System",e[e.ES2015=5]="ES2015",e[e.ES2020=6]="ES2020",e[e.ES2022=7]="ES2022",e[e.ESNext=99]="ESNext",e[e.Node16=100]="Node16",e[e.NodeNext=199]="NodeNext",e))(_B||{}),_Z=(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))(_Z||{}),pZ=(e=>(e[e.Remove=0]="Remove",e[e.Preserve=1]="Preserve",e[e.Error=2]="Error",e))(pZ||{}),dZ=(e=>(e[e.CarriageReturnLineFeed=0]="CarriageReturnLineFeed",e[e.LineFeed=1]="LineFeed",e))(dZ||{}),mZ=(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))(mZ||{}),hZ=(e=>(e[e.ES3=0]="ES3",e[e.ES5=1]="ES5",e[e.ES2015=2]="ES2015",e[e.ES2016=3]="ES2016",e[e.ES2017=4]="ES2017",e[e.ES2018=5]="ES2018",e[e.ES2019=6]="ES2019",e[e.ES2020=7]="ES2020",e[e.ES2021=8]="ES2021",e[e.ES2022=9]="ES2022",e[e.ESNext=99]="ESNext",e[e.JSON=100]="JSON",e[e.Latest=99]="Latest",e))(hZ||{}),gZ=(e=>(e[e.Standard=0]="Standard",e[e.JSX=1]="JSX",e))(gZ||{}),yZ=(e=>(e[e.None=0]="None",e[e.Recursive=1]="Recursive",e))(yZ||{}),vZ=(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))(vZ||{}),bZ=(e=>(e.Ts=".ts",e.Tsx=".tsx",e.Dts=".d.ts",e.Js=".js",e.Jsx=".jsx",e.Json=".json",e.TsBuildInfo=".tsbuildinfo",e.Mjs=".mjs",e.Mts=".mts",e.Dmts=".d.mts",e.Cjs=".cjs",e.Cts=".cts",e.Dcts=".d.cts",e))(bZ||{}),pB=(e=>(e[e.None=0]="None",e[e.ContainsTypeScript=1]="ContainsTypeScript",e[e.ContainsJsx=2]="ContainsJsx",e[e.ContainsESNext=4]="ContainsESNext",e[e.ContainsES2022=8]="ContainsES2022",e[e.ContainsES2021=16]="ContainsES2021",e[e.ContainsES2020=32]="ContainsES2020",e[e.ContainsES2019=64]="ContainsES2019",e[e.ContainsES2018=128]="ContainsES2018",e[e.ContainsES2017=256]="ContainsES2017",e[e.ContainsES2016=512]="ContainsES2016",e[e.ContainsES2015=1024]="ContainsES2015",e[e.ContainsGenerator=2048]="ContainsGenerator",e[e.ContainsDestructuringAssignment=4096]="ContainsDestructuringAssignment",e[e.ContainsTypeScriptClassSyntax=8192]="ContainsTypeScriptClassSyntax",e[e.ContainsLexicalThis=16384]="ContainsLexicalThis",e[e.ContainsRestOrSpread=32768]="ContainsRestOrSpread",e[e.ContainsObjectRestOrSpread=65536]="ContainsObjectRestOrSpread",e[e.ContainsComputedPropertyName=131072]="ContainsComputedPropertyName",e[e.ContainsBlockScopedBinding=262144]="ContainsBlockScopedBinding",e[e.ContainsBindingPattern=524288]="ContainsBindingPattern",e[e.ContainsYield=1048576]="ContainsYield",e[e.ContainsAwait=2097152]="ContainsAwait",e[e.ContainsHoistedDeclarationOrCompletion=4194304]="ContainsHoistedDeclarationOrCompletion",e[e.ContainsDynamicImport=8388608]="ContainsDynamicImport",e[e.ContainsClassFields=16777216]="ContainsClassFields",e[e.ContainsDecorators=33554432]="ContainsDecorators",e[e.ContainsPossibleTopLevelAwait=67108864]="ContainsPossibleTopLevelAwait",e[e.ContainsLexicalSuper=134217728]="ContainsLexicalSuper",e[e.ContainsUpdateExpressionForIdentifier=268435456]="ContainsUpdateExpressionForIdentifier",e[e.ContainsPrivateIdentifierInExpression=536870912]="ContainsPrivateIdentifierInExpression",e[e.HasComputedFlags=-2147483648]="HasComputedFlags",e[e.AssertTypeScript=1]="AssertTypeScript",e[e.AssertJsx=2]="AssertJsx",e[e.AssertESNext=4]="AssertESNext",e[e.AssertES2022=8]="AssertES2022",e[e.AssertES2021=16]="AssertES2021",e[e.AssertES2020=32]="AssertES2020",e[e.AssertES2019=64]="AssertES2019",e[e.AssertES2018=128]="AssertES2018",e[e.AssertES2017=256]="AssertES2017",e[e.AssertES2016=512]="AssertES2016",e[e.AssertES2015=1024]="AssertES2015",e[e.AssertGenerator=2048]="AssertGenerator",e[e.AssertDestructuringAssignment=4096]="AssertDestructuringAssignment",e[e.OuterExpressionExcludes=-2147483648]="OuterExpressionExcludes",e[e.PropertyAccessExcludes=-2147483648]="PropertyAccessExcludes",e[e.NodeExcludes=-2147483648]="NodeExcludes",e[e.ArrowFunctionExcludes=-2072174592]="ArrowFunctionExcludes",e[e.FunctionExcludes=-1937940480]="FunctionExcludes",e[e.ConstructorExcludes=-1937948672]="ConstructorExcludes",e[e.MethodOrAccessorExcludes=-2005057536]="MethodOrAccessorExcludes",e[e.PropertyExcludes=-2013249536]="PropertyExcludes",e[e.ClassExcludes=-2147344384]="ClassExcludes",e[e.ModuleExcludes=-1941676032]="ModuleExcludes",e[e.TypeExcludes=-2]="TypeExcludes",e[e.ObjectLiteralExcludes=-2147278848]="ObjectLiteralExcludes",e[e.ArrayLiteralOrCallOrNewExcludes=-2147450880]="ArrayLiteralOrCallOrNewExcludes",e[e.VariableDeclarationListExcludes=-2146893824]="VariableDeclarationListExcludes",e[e.ParameterExcludes=-2147483648]="ParameterExcludes",e[e.CatchClauseExcludes=-2147418112]="CatchClauseExcludes",e[e.BindingPatternExcludes=-2147450880]="BindingPatternExcludes",e[e.ContainsLexicalThisOrSuper=134234112]="ContainsLexicalThisOrSuper",e[e.PropertyNamePropagatingFlags=134234112]="PropertyNamePropagatingFlags",e))(pB||{}),dB=(e=>(e[e.TabStop=0]="TabStop",e[e.Placeholder=1]="Placeholder",e[e.Choice=2]="Choice",e[e.Variable=3]="Variable",e))(dB||{}),mB=(e=>(e[e.None=0]="None",e[e.SingleLine=1]="SingleLine",e[e.MultiLine=2]="MultiLine",e[e.AdviseOnEmitNode=4]="AdviseOnEmitNode",e[e.NoSubstitution=8]="NoSubstitution",e[e.CapturesThis=16]="CapturesThis",e[e.NoLeadingSourceMap=32]="NoLeadingSourceMap",e[e.NoTrailingSourceMap=64]="NoTrailingSourceMap",e[e.NoSourceMap=96]="NoSourceMap",e[e.NoNestedSourceMaps=128]="NoNestedSourceMaps",e[e.NoTokenLeadingSourceMaps=256]="NoTokenLeadingSourceMaps",e[e.NoTokenTrailingSourceMaps=512]="NoTokenTrailingSourceMaps",e[e.NoTokenSourceMaps=768]="NoTokenSourceMaps",e[e.NoLeadingComments=1024]="NoLeadingComments",e[e.NoTrailingComments=2048]="NoTrailingComments",e[e.NoComments=3072]="NoComments",e[e.NoNestedComments=4096]="NoNestedComments",e[e.HelperName=8192]="HelperName",e[e.ExportName=16384]="ExportName",e[e.LocalName=32768]="LocalName",e[e.InternalName=65536]="InternalName",e[e.Indented=131072]="Indented",e[e.NoIndentation=262144]="NoIndentation",e[e.AsyncFunctionBody=524288]="AsyncFunctionBody",e[e.ReuseTempVariableScope=1048576]="ReuseTempVariableScope",e[e.CustomPrologue=2097152]="CustomPrologue",e[e.NoHoisting=4194304]="NoHoisting",e[e.HasEndOfDeclarationMarker=8388608]="HasEndOfDeclarationMarker",e[e.Iterator=16777216]="Iterator",e[e.NoAsciiEscaping=33554432]="NoAsciiEscaping",e))(mB||{}),TZ=(e=>(e[e.None=0]="None",e[e.TypeScriptClassWrapper=1]="TypeScriptClassWrapper",e[e.NeverApplyImportHelper=2]="NeverApplyImportHelper",e[e.IgnoreSourceNewlines=4]="IgnoreSourceNewlines",e[e.Immutable=8]="Immutable",e[e.IndirectCall=16]="IndirectCall",e[e.TransformPrivateStaticElements=32]="TransformPrivateStaticElements",e))(TZ||{}),SZ=(e=>(e[e.Extends=1]="Extends",e[e.Assign=2]="Assign",e[e.Rest=4]="Rest",e[e.Decorate=8]="Decorate",e[e.ESDecorateAndRunInitializers=8]="ESDecorateAndRunInitializers",e[e.Metadata=16]="Metadata",e[e.Param=32]="Param",e[e.Awaiter=64]="Awaiter",e[e.Generator=128]="Generator",e[e.Values=256]="Values",e[e.Read=512]="Read",e[e.SpreadArray=1024]="SpreadArray",e[e.Await=2048]="Await",e[e.AsyncGenerator=4096]="AsyncGenerator",e[e.AsyncDelegator=8192]="AsyncDelegator",e[e.AsyncValues=16384]="AsyncValues",e[e.ExportStar=32768]="ExportStar",e[e.ImportStar=65536]="ImportStar",e[e.ImportDefault=131072]="ImportDefault",e[e.MakeTemplateObject=262144]="MakeTemplateObject",e[e.ClassPrivateFieldGet=524288]="ClassPrivateFieldGet",e[e.ClassPrivateFieldSet=1048576]="ClassPrivateFieldSet",e[e.ClassPrivateFieldIn=2097152]="ClassPrivateFieldIn",e[e.CreateBinding=4194304]="CreateBinding",e[e.SetFunctionName=8388608]="SetFunctionName",e[e.PropKey=16777216]="PropKey",e[e.FirstEmitHelper=1]="FirstEmitHelper",e[e.LastEmitHelper=16777216]="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))(SZ||{}),xZ=(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))(xZ||{}),kZ=(e=>(e[e.Parentheses=1]="Parentheses",e[e.TypeAssertions=2]="TypeAssertions",e[e.NonNullAssertions=4]="NonNullAssertions",e[e.PartiallyEmittedExpressions=8]="PartiallyEmittedExpressions",e[e.Assertions=6]="Assertions",e[e.All=15]="All",e[e.ExcludeJSDocTypeAssertion=16]="ExcludeJSDocTypeAssertion",e))(kZ||{}),CZ=(e=>(e[e.None=0]="None",e[e.InParameters=1]="InParameters",e[e.VariablesHoistedInParameters=2]="VariablesHoistedInParameters",e))(CZ||{}),wZ=(e=>(e.Prologue="prologue",e.EmitHelpers="emitHelpers",e.NoDefaultLib="no-default-lib",e.Reference="reference",e.Type="type",e.TypeResolutionModeRequire="type-require",e.TypeResolutionModeImport="type-import",e.Lib="lib",e.Prepend="prepend",e.Text="text",e.Internal="internal",e))(wZ||{}),EZ=(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=2359808]="Modifiers",e[e.HeritageClauses=512]="HeritageClauses",e[e.SingleLineTypeLiteralMembers=768]="SingleLineTypeLiteralMembers",e[e.MultiLineTypeLiteralMembers=32897]="MultiLineTypeLiteralMembers",e[e.SingleLineTupleTypeElements=528]="SingleLineTupleTypeElements",e[e.MultiLineTupleTypeElements=657]="MultiLineTupleTypeElements",e[e.UnionTypeConstituents=516]="UnionTypeConstituents",e[e.IntersectionTypeConstituents=520]="IntersectionTypeConstituents",e[e.ObjectBindingPatternElements=525136]="ObjectBindingPatternElements",e[e.ArrayBindingPatternElements=524880]="ArrayBindingPatternElements",e[e.ObjectLiteralExpressionProperties=526226]="ObjectLiteralExpressionProperties",e[e.ImportClauseEntries=526226]="ImportClauseEntries",e[e.ArrayLiteralExpressionElements=8914]="ArrayLiteralExpressionElements",e[e.CommaListElements=528]="CommaListElements",e[e.CallExpressionArguments=2576]="CallExpressionArguments",e[e.NewExpressionArguments=18960]="NewExpressionArguments",e[e.TemplateExpressionSpans=262144]="TemplateExpressionSpans",e[e.SingleLineBlockStatements=768]="SingleLineBlockStatements",e[e.MultiLineBlockStatements=129]="MultiLineBlockStatements",e[e.VariableDeclarationList=528]="VariableDeclarationList",e[e.SingleLineFunctionBodyStatements=768]="SingleLineFunctionBodyStatements",e[e.MultiLineFunctionBodyStatements=1]="MultiLineFunctionBodyStatements",e[e.ClassHeritageClauses=0]="ClassHeritageClauses",e[e.ClassMembers=129]="ClassMembers",e[e.InterfaceMembers=129]="InterfaceMembers",e[e.EnumMembers=145]="EnumMembers",e[e.CaseBlockClauses=129]="CaseBlockClauses",e[e.NamedImportsOrExportsElements=525136]="NamedImportsOrExportsElements",e[e.JsxElementOrFragmentChildren=262144]="JsxElementOrFragmentChildren",e[e.JsxElementAttributes=262656]="JsxElementAttributes",e[e.CaseOrDefaultClauseStatements=163969]="CaseOrDefaultClauseStatements",e[e.HeritageClauseTypes=528]="HeritageClauseTypes",e[e.SourceFileStatements=131073]="SourceFileStatements",e[e.Decorators=2146305]="Decorators",e[e.TypeArguments=53776]="TypeArguments",e[e.TypeParameters=53776]="TypeParameters",e[e.Parameters=2576]="Parameters",e[e.IndexSignatureParameters=8848]="IndexSignatureParameters",e[e.JSDocComment=33]="JSDocComment",e))(EZ||{}),AZ=(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))(AZ||{}),HI={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},{name:"resolution-mode",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}}}});function GI(e){let t=5381;for(let n=0;n<e.length;n++)t=(t<<5)+t+e.charCodeAt(n);return t.toString()}function nGe(){Error.stackTraceLimit<100&&(Error.stackTraceLimit=100)}function CC(e,t){return e.getModifiedTime(t)||Ey}function PZ(e){return{[250]:e.Low,[500]:e.Medium,[2e3]:e.High}}function iGe(e){if(!e.getEnvironmentVariable)return;const t=l("TSC_WATCH_POLLINGINTERVAL",hB);YI=f("TSC_WATCH_POLLINGCHUNKSIZE",QI)||YI,ZI=f("TSC_WATCH_UNCHANGEDPOLLTHRESHOLDS",QI)||ZI;function n(d,g){return e.getEnvironmentVariable(`${d}_${g.toUpperCase()}`)}function s(d){let g;return h("Low"),h("Medium"),h("High"),g;function h(k){const S=n(d,k);S&&((g||(g={}))[k]=Number(S))}}function l(d,g){const h=s(d);if(h)return k("Low"),k("Medium"),k("High"),!0;return!1;function k(S){g[S]=h[S]||g[S]}}function f(d,g){const h=s(d);return(t||h)&&PZ(h?{...g,...h}:g)}}function dve(e,t,n,s,l){let f=n;for(let g=t.length;s&&g;d(),g--){const h=t[n];if(h){if(h.isClosed){t[n]=void 0;continue}}else continue;s--;const k=cGe(h,CC(e,h.fileName));if(h.isClosed){t[n]=void 0;continue}l==null||l(h,n,k),t[n]&&(f<n&&(t[f]=h,t[n]=void 0),f++)}return n;function d(){n++,n===t.length&&(f<n&&(t.length=f),n=0,f=0)}}function sGe(e){const t=[],n=[],s=g(250),l=g(500),f=g(2e3);return d;function d(M,W,X){const Z={fileName:M,callback:W,unchangedPolls:0,mtime:CC(e,M)};return t.push(Z),N(Z,X),{close:()=>{Z.isClosed=!0,jI(t,Z)}}}function g(M){const W=[];return W.pollingInterval=M,W.pollIndex=0,W.pollScheduled=!1,W}function h(M){M.pollIndex=S(M,M.pollingInterval,M.pollIndex,YI[M.pollingInterval]),M.length?U(M.pollingInterval):(R.assert(M.pollIndex===0),M.pollScheduled=!1)}function k(M){S(n,250,0,n.length),h(M),!M.pollScheduled&&n.length&&U(250)}function S(M,W,X,Z){return dve(e,M,X,Z,ue);function ue(ie,se,V){V?(ie.unchangedPolls=0,M!==n&&(M[se]=void 0,O(ie))):ie.unchangedPolls!==ZI[W]?ie.unchangedPolls++:M===n?(ie.unchangedPolls=1,M[se]=void 0,N(ie,250)):W!==2e3&&(ie.unchangedPolls++,M[se]=void 0,N(ie,W===250?500:2e3))}}function w(M){switch(M){case 250:return s;case 500:return l;case 2e3:return f}}function N(M,W){w(W).push(M),L(W)}function O(M){n.push(M),L(250)}function L(M){w(M).pollScheduled||U(M)}function U(M){w(M).pollScheduled=e.setTimeout(M===250?k:h,M,w(M))}}function aGe(e,t){const n=dd(),s=new Map,l=qu(t);return f;function f(g,h,k,S){const w=l(g);n.add(w,h);const N=$i(w)||".",O=s.get(N)||d($i(g)||".",N,S);return O.referenceCount++,{close:()=>{O.referenceCount===1?(O.close(),s.delete(N)):O.referenceCount--,n.remove(w,h)}}}function d(g,h,k){const S=e(g,1,(w,N,O)=>{if(!ha(N))return;const L=oa(N,g),U=L&&n.get(l(L));if(U)for(const M of U)M(L,1,O)},!1,500,k);return S.referenceCount=0,s.set(h,S),S}}function oGe(e){const t=[];let n=0,s;return l;function l(g,h){const k={fileName:g,callback:h,mtime:CC(e,g)};return t.push(k),d(),{close:()=>{k.isClosed=!0,jI(t,k)}}}function f(){s=void 0,n=dve(e,t,n,YI[250]),d()}function d(){!t.length||s||(s=e.setTimeout(f,2e3))}}function mve(e,t,n,s,l){const d=qu(t)(n),g=e.get(d);return g?g.callbacks.push(s):e.set(d,{watcher:l((h,k,S)=>{var w;return(w=e.get(d))==null?void 0:w.callbacks.slice().forEach(N=>N(h,k,S))}),callbacks:[s]}),{close:()=>{const h=e.get(d);h&&(!$R(h.callbacks,s)||h.callbacks.length||(e.delete(d),ag(h)))}}}function cGe(e,t){const n=e.mtime.getTime(),s=t.getTime();return n!==s?(e.mtime=t,e.callback(e.fileName,hve(n,s),t),!0):!1}function hve(e,t){return e===0?0:t===0?2:1}function XI(e){return NZ(e)}function gve(e){NZ=e}function lGe({watchDirectory:e,useCaseSensitiveFileNames:t,getCurrentDirectory:n,getAccessibleSortedChildDirectories:s,fileSystemEntryExists:l,realpath:f,setTimeout:d,clearTimeout:g}){const h=new Map,k=dd(),S=new Map;let w;const N=VR(!t),O=qu(t);return(V,ve,fe,Ce)=>fe?L(V,Ce,ve):e(V,ve,fe,Ce);function L(V,ve,fe){const Ce=O(V);let _e=h.get(Ce);_e?_e.refCount++:(_e={watcher:e(V,ge=>{ie(ge,ve)||(ve!=null&&ve.synchronousWatchDirectory?(U(Ce,ge),ue(V,Ce,ve)):M(V,Ce,ge,ve))},!1,ve),refCount:1,childWatches:pt},h.set(Ce,_e),ue(V,Ce,ve));const K=fe&&{dirName:V,callback:fe};return K&&k.add(Ce,K),{dirName:V,close:()=>{const ge=R.checkDefined(h.get(Ce));K&&k.remove(Ce,K),ge.refCount--,!ge.refCount&&(h.delete(Ce),ag(ge),ge.childWatches.forEach(Yh))}}}function U(V,ve,fe){let Ce,_e;ha(ve)?Ce=ve:_e=ve,k.forEach((K,ge)=>{if(!(_e&&_e.get(ge)===!0)&&(ge===V||Qs(V,ge)&&V[ge.length]===hc))if(_e)if(fe){const Se=_e.get(ge);Se?Se.push(...fe):_e.set(ge,fe.slice())}else _e.set(ge,!0);else K.forEach(({callback:Se})=>Se(Ce))})}function M(V,ve,fe,Ce){const _e=h.get(ve);if(_e&&l(V,1)){W(V,ve,fe,Ce);return}U(ve,fe),Z(_e)}function W(V,ve,fe,Ce){const _e=S.get(ve);_e?_e.fileNames.push(fe):S.set(ve,{dirName:V,options:Ce,fileNames:[fe]}),w&&(g(w),w=void 0),w=d(X,1e3)}function X(){w=void 0,XI(`sysLog:: onTimerToUpdateChildWatches:: ${S.size}`);const V=Jc(),ve=new Map;for(;!w&&S.size;){const Ce=S.entries().next();R.assert(!Ce.done);const{value:[_e,{dirName:K,options:ge,fileNames:Se}]}=Ce;S.delete(_e);const we=ue(K,_e,ge);U(_e,ve,we?void 0:Se)}XI(`sysLog:: invokingWatchers:: Elapsed:: ${Jc()-V}ms:: ${S.size}`),k.forEach((Ce,_e)=>{const K=ve.get(_e);K&&Ce.forEach(({callback:ge,dirName:Se})=>{pa(K)?K.forEach(ge):ge(Se)})});const fe=Jc()-V;XI(`sysLog:: Elapsed:: ${fe}ms:: onTimerToUpdateChildWatches:: ${S.size} ${w}`)}function Z(V){if(!V)return;const ve=V.childWatches;V.childWatches=pt;for(const fe of ve)fe.close(),Z(h.get(O(fe.dirName)))}function ue(V,ve,fe){const Ce=h.get(ve);if(!Ce)return!1;let _e;const K=z1e(l(V,1)?fr(s(V),we=>{const Pe=oa(we,V);return!ie(Pe,fe)&&N(Pe,Co(f(Pe)))===0?Pe:void 0}):pt,Ce.childWatches,(we,Pe)=>N(we,Pe.dirName),ge,Yh,Se);return Ce.childWatches=_e||pt,K;function ge(we){const Pe=L(we,fe);Se(Pe)}function Se(we){(_e||(_e=[])).push(we)}}function ie(V,ve){return Oe(KI,fe=>se(V,fe))||yve(V,ve,t,n)}function se(V,ve){return nf(V,ve)?!0:t?!1:nf(O(V),ve)}}function uGe(e){return(t,n,s)=>e(n===1?"change":"rename","",s)}function fGe(e,t,n){return(s,l,f)=>{s==="rename"?(f||(f=n(e)||Ey),t(e,f!==Ey?0:2,f)):t(e,1,f)}}function yve(e,t,n,s){return((t==null?void 0:t.excludeDirectories)||(t==null?void 0:t.excludeFiles))&&(dU(e,t==null?void 0:t.excludeFiles,n,s())||dU(e,t==null?void 0:t.excludeDirectories,n,s()))}function vve(e,t,n,s,l){return(f,d)=>{if(f==="rename"){const g=d?Co(_s(e,d)):e;(!d||!yve(g,n,s,l))&&t(g)}}}function bve({pollingWatchFileWorker:e,getModifiedTime:t,setTimeout:n,clearTimeout:s,fsWatchWorker:l,fileSystemEntryExists:f,useCaseSensitiveFileNames:d,getCurrentDirectory:g,fsSupportsRecursiveFsWatch:h,getAccessibleSortedChildDirectories:k,realpath:S,tscWatchFile:w,useNonPollingWatchers:N,tscWatchDirectory:O,inodeWatching:L,sysLog:U}){const M=new Map,W=new Map,X=new Map;let Z,ue,ie,se,V=!1;return{watchFile:ve,watchDirectory:ge};function ve(Qe,Ge,tt,Je){Je=_e(Je,N);const qe=R.checkDefined(Je.watchFile);switch(qe){case 0:return Pe(Qe,Ge,250,void 0);case 1:return Pe(Qe,Ge,tt,void 0);case 2:return fe()(Qe,Ge,tt,void 0);case 3:return Ce()(Qe,Ge,void 0,void 0);case 4:return le(Qe,0,fGe(Qe,Ge,t),!1,tt,r9(Je));case 5:return ie||(ie=aGe(le,d)),ie(Qe,Ge,tt,r9(Je));default:R.assertNever(qe)}}function fe(){return Z||(Z=sGe({getModifiedTime:t,setTimeout:n}))}function Ce(){return ue||(ue=oGe({getModifiedTime:t,setTimeout:n}))}function _e(Qe,Ge){if(Qe&&Qe.watchFile!==void 0)return Qe;switch(w){case"PriorityPollingInterval":return{watchFile:1};case"DynamicPriorityPolling":return{watchFile:2};case"UseFsEvents":return K(4,1,Qe);case"UseFsEventsWithFallbackDynamicPolling":return K(4,2,Qe);case"UseFsEventsOnParentDirectory":Ge=!0;default:return Ge?K(5,1,Qe):{watchFile:4}}}function K(Qe,Ge,tt){const Je=tt==null?void 0:tt.fallbackPolling;return{watchFile:Qe,fallbackPolling:Je===void 0?Ge:Je}}function ge(Qe,Ge,tt,Je){return h?le(Qe,1,vve(Qe,Ge,Je,d,g),tt,500,r9(Je)):(se||(se=lGe({useCaseSensitiveFileNames:d,getCurrentDirectory:g,fileSystemEntryExists:f,getAccessibleSortedChildDirectories:k,watchDirectory:Se,realpath:S,setTimeout:n,clearTimeout:s})),se(Qe,Ge,tt,Je))}function Se(Qe,Ge,tt,Je){R.assert(!tt);const qe=we(Je),st=R.checkDefined(qe.watchDirectory);switch(st){case 1:return Pe(Qe,()=>Ge(Qe),500,void 0);case 2:return fe()(Qe,()=>Ge(Qe),500,void 0);case 3:return Ce()(Qe,()=>Ge(Qe),void 0,void 0);case 0:return le(Qe,1,vve(Qe,Ge,Je,d,g),tt,500,r9(qe));default:R.assertNever(st)}}function we(Qe){if(Qe&&Qe.watchDirectory!==void 0)return Qe;switch(O){case"RecursiveDirectoryUsingFsWatchFile":return{watchDirectory:1};case"RecursiveDirectoryUsingDynamicPriorityPolling":return{watchDirectory:2};default:const Ge=Qe==null?void 0:Qe.fallbackPolling;return{watchDirectory:0,fallbackPolling:Ge!==void 0?Ge:void 0}}}function Pe(Qe,Ge,tt,Je){return mve(M,d,Qe,Ge,qe=>e(Qe,qe,tt,Je))}function le(Qe,Ge,tt,Je,qe,st){return mve(Je?X:W,d,Qe,tt,Ke=>ot(Qe,Ge,Ke,Je,qe,st))}function ot(Qe,Ge,tt,Je,qe,st){let Ke,We;L&&(Ke=Qe.substring(Qe.lastIndexOf(hc)),We=Ke.slice(hc.length));let gt=f(Qe,Ge)?It():mt();return{close:()=>{gt&&(gt.close(),gt=void 0)}};function jt(xr){gt&&(U(`sysLog:: ${Qe}:: Changing watcher to ${xr===It?"Present":"Missing"}FileSystemEntryWatcher`),gt.close(),gt=xr())}function It(){if(V)return U(`sysLog:: ${Qe}:: Defaulting to watchFile`),ft();try{const xr=l(Qe,Je,L?er:tt);return xr.on("error",()=>{tt("rename",""),jt(mt)}),xr}catch(xr){return V||(V=xr.code==="ENOSPC"),U(`sysLog:: ${Qe}:: Changing to watchFile`),ft()}}function er(xr,dr){let rn;if(dr&&Ul(dr,"~")&&(rn=dr,dr=dr.slice(0,dr.length-1)),xr==="rename"&&(!dr||dr===We||Ul(dr,Ke))){const un=t(Qe)||Ey;rn&&tt(xr,rn,un),tt(xr,dr,un),L?jt(un===Ey?mt:It):un===Ey&&jt(mt)}else rn&&tt(xr,rn),tt(xr,dr)}function ft(){return ve(Qe,uGe(tt),qe,st)}function mt(){return ve(Qe,(xr,dr,rn)=>{dr===0&&(rn||(rn=t(Qe)||Ey),rn!==Ey&&(tt("rename","",rn),jt(It)))},qe,st)}}}function Tve(e){const t=e.writeFile;e.writeFile=(n,s,l)=>Aee(n,s,!!l,(f,d,g)=>t.call(e,f,d,g),f=>e.createDirectory(f),f=>e.directoryExists(f))}function _Ge(e){Bu=e}var DZ,hB,Ey,QI,YI,ZI,KI,NZ,IZ,Bu,pGe=p({"src/compiler/sys.ts"(){aa(),DZ=(e=>(e[e.Created=0]="Created",e[e.Changed=1]="Changed",e[e.Deleted=2]="Deleted",e))(DZ||{}),hB=(e=>(e[e.High=2e3]="High",e[e.Medium=500]="Medium",e[e.Low=250]="Low",e))(hB||{}),Ey=new Date(0),QI={Low:32,Medium:64,High:256},YI=PZ(QI),ZI=PZ(QI),KI=["/node_modules/.","/.git","/.#"],NZ=La,IZ=(e=>(e[e.File=0]="File",e[e.Directory=1]="Directory",e))(IZ||{}),Bu=(()=>{const e="\uFEFF";function t(){const s=/^native |^\([^)]+\)$|^(internal[\\/]|[a-zA-Z0-9_\s]+(\.js)?$)/,l=$k,f=$k,d=$k;let g;try{g=$k}catch{g=void 0}let h,k="./profile.cpuprofile";const S=$k.Buffer,w=process.platform==="linux"||process.platform==="darwin",N=d.platform(),O=Ce(),L=l.realpathSync.native?process.platform==="win32"?qe:l.realpathSync.native:l.realpathSync,U=__filename.endsWith("sys.js")?f.join(f.dirname(__dirname),"__fake__.js"):__filename,M=process.platform==="win32"||process.platform==="darwin",W=h_(()=>process.cwd()),{watchFile:X,watchDirectory:Z}=bve({pollingWatchFileWorker:K,getModifiedTime:Ke,setTimeout,clearTimeout,fsWatchWorker:ge,useCaseSensitiveFileNames:O,getCurrentDirectory:W,fileSystemEntryExists:Qe,fsSupportsRecursiveFsWatch:M,getAccessibleSortedChildDirectories:It=>le(It).directories,realpath:st,tscWatchFile:{}.TSC_WATCHFILE,useNonPollingWatchers:{}.TSC_NONPOLLING_WATCHER,tscWatchDirectory:{}.TSC_WATCHDIRECTORY,inodeWatching:w,sysLog:XI}),ue={args:process.argv.slice(2),newLine:d.EOL,useCaseSensitiveFileNames:O,write(It){process.stdout.write(It)},getWidthOfTerminal(){return process.stdout.columns},writeOutputIsTTY(){return process.stdout.isTTY},readFile:we,writeFile:Pe,watchFile:X,watchDirectory:Z,resolvePath:It=>f.resolve(It),fileExists:Ge,directoryExists:tt,createDirectory(It){if(!ue.directoryExists(It))try{l.mkdirSync(It)}catch(er){if(er.code!=="EEXIST")throw er}},getExecutingFilePath(){return U},getCurrentDirectory:W,getDirectories:Je,getEnvironmentVariable(It){return process.env[It]||""},readDirectory:ot,getModifiedTime:Ke,setModifiedTime:We,deleteFile:gt,createHash:g?jt:GI,createSHA256Hash:g?jt:void 0,getMemoryUsage(){return BBe.gc&&BBe.gc(),process.memoryUsage().heapUsed},getFileSize(It){try{const er=ie(It);if(er!=null&&er.isFile())return er.size}catch{}return 0},exit(It){ve(()=>process.exit(It))},enableCPUProfiler:se,disableCPUProfiler:ve,cpuProfilingEnabled:()=>!!h||xt(process.execArgv,"--cpu-prof")||xt(process.execArgv,"--prof"),realpath:st,debugMode:!!{}.NODE_INSPECTOR_IPC||!!{}.VSCODE_INSPECTOR_OPTIONS||Oe(process.execArgv,It=>/^--(inspect|debug)(-brk)?(=\d+)?$/i.test(It)),tryEnableSourceMapsForHost(){try{$k.install()}catch{}},setTimeout,clearTimeout,clearScreen:()=>{process.stdout.write("\x1Bc")},setBlocking:()=>{process.stdout&&process.stdout._handle&&process.stdout._handle.setBlocking&&process.stdout._handle.setBlocking(!0)},bufferFrom:fe,base64decode:It=>fe(It,"base64").toString("utf8"),base64encode:It=>fe(It).toString("base64"),require:(It,er)=>{try{const ft=Kke(er,It,ue);return{module:Nhe(ft),modulePath:ft,error:void 0}}catch(ft){return{module:void 0,modulePath:void 0,error:ft}}}};return ue;function ie(It){return l.statSync(It,{throwIfNoEntry:!1})}function se(It,er){if(h)return er(),!1;const ft=$k;if(!ft||!ft.Session)return er(),!1;const mt=new ft.Session;return mt.connect(),mt.post("Profiler.enable",()=>{mt.post("Profiler.start",()=>{h=mt,k=It,er()})}),!0}function V(It){let er=0;const ft=new Map,mt=ju(f.dirname(U)),xr=`file://${Ym(mt)===1?"":"/"}${mt}`;for(const dr of It.nodes)if(dr.callFrame.url){const rn=ju(dr.callFrame.url);sv(xr,rn,O)?dr.callFrame.url=wC(xr,rn,xr,qu(O),!0):s.test(rn)||(dr.callFrame.url=(ft.has(rn)?ft:ft.set(rn,`external${er}.js`)).get(rn),er++)}return It}function ve(It){if(h&&h!=="stopping"){const er=h;return h.post("Profiler.stop",(ft,{profile:mt})=>{var xr;if(!ft){try{(xr=ie(k))!=null&&xr.isDirectory()&&(k=f.join(k,`${new Date().toISOString().replace(/:/g,"-")}+P${process.pid}.cpuprofile`))}catch{}try{l.mkdirSync(f.dirname(k),{recursive:!0})}catch{}l.writeFileSync(k,JSON.stringify(V(mt)))}h=void 0,er.disconnect(),It()}),h="stopping",!0}else return It(),!1}function fe(It,er){return S.from&&S.from!==Int8Array.from?S.from(It,er):new S(It,er)}function Ce(){return N==="win32"||N==="win64"?!1:!Ge(_e(__filename))}function _e(It){return It.replace(/\w/g,er=>{const ft=er.toUpperCase();return er===ft?er.toLowerCase():ft})}function K(It,er,ft){l.watchFile(It,{persistent:!0,interval:ft},xr);let mt;return{close:()=>l.unwatchFile(It,xr)};function xr(dr,rn){const un=+rn.mtime==0||mt===2;if(+dr.mtime==0){if(un)return;mt=2}else if(un)mt=0;else{if(+dr.mtime==+rn.mtime)return;mt=1}er(It,mt,dr.mtime)}}function ge(It,er,ft){return l.watch(It,M?{persistent:!0,recursive:!!er}:{persistent:!0},ft)}function Se(It,er){let ft;try{ft=l.readFileSync(It)}catch{return}let mt=ft.length;if(mt>=2&&ft[0]===254&&ft[1]===255){mt&=-2;for(let xr=0;xr<mt;xr+=2){const dr=ft[xr];ft[xr]=ft[xr+1],ft[xr+1]=dr}return ft.toString("utf16le",2)}return mt>=2&&ft[0]===255&&ft[1]===254?ft.toString("utf16le",2):mt>=3&&ft[0]===239&&ft[1]===187&&ft[2]===191?ft.toString("utf8",3):ft.toString("utf8")}function we(It,er){Qm.logStartReadFile(It);const ft=Se(It);return Qm.logStopReadFile(),ft}function Pe(It,er,ft){Qm.logEvent("WriteFile: "+It),ft&&(er=e+er);let mt;try{mt=l.openSync(It,"w"),l.writeSync(mt,er,void 0,"utf8")}finally{mt!==void 0&&l.closeSync(mt)}}function le(It){Qm.logEvent("ReadDir: "+(It||"."));try{const er=l.readdirSync(It||".",{withFileTypes:!0}),ft=[],mt=[];for(const xr of er){const dr=typeof xr=="string"?xr:xr.name;if(dr==="."||dr==="..")continue;let rn;if(typeof xr=="string"||xr.isSymbolicLink()){const un=_s(It,dr);try{if(rn=ie(un),!rn)continue}catch{continue}}else rn=xr;rn.isFile()?ft.push(dr):rn.isDirectory()&&mt.push(dr)}return ft.sort(),mt.sort(),{files:ft,directories:mt}}catch{return aJ}}function ot(It,er,ft,mt,xr){return nte(It,er,ft,mt,O,process.cwd(),xr,le,st)}function Qe(It,er){const ft=Error.stackTraceLimit;Error.stackTraceLimit=0;try{const mt=ie(It);if(!mt)return!1;switch(er){case 0:return mt.isFile();case 1:return mt.isDirectory();default:return!1}}catch{return!1}finally{Error.stackTraceLimit=ft}}function Ge(It){return Qe(It,0)}function tt(It){return Qe(It,1)}function Je(It){return le(It).directories.slice()}function qe(It){return It.length<260?l.realpathSync.native(It):l.realpathSync(It)}function st(It){try{return L(It)}catch{return It}}function Ke(It){var er;const ft=Error.stackTraceLimit;Error.stackTraceLimit=0;try{return(er=ie(It))==null?void 0:er.mtime}catch{return}finally{Error.stackTraceLimit=ft}}function We(It,er){try{l.utimesSync(It,er,er)}catch{return}}function gt(It){try{return l.unlinkSync(It)}catch{return}}function jt(It){const er=g.createHash("sha256");return er.update(It),er.digest("hex")}}let n;return bY()&&(n=t()),n&&Tve(n),n})(),Bu&&Bu.getEnvironmentVariable&&(iGe(Bu),R.setAssertionLevel(/^development$/i.test(Bu.getEnvironmentVariable("NODE_ENV"))?1:0)),Bu&&Bu.debugMode&&(R.isDebugging=!0)}});function OZ(e){return e===47||e===92}function Sve(e){return e7(e)<0}function Jh(e){return e7(e)>0}function dGe(e){const t=e7(e);return t>0&&t===e.length}function BA(e){return e7(e)!==0}function wp(e){return/^\.\.?($|[\\/])/.test(e)}function LZ(e){return!BA(e)&&!wp(e)}function m6(e){return nf(sf(e),".")}function Gl(e,t){return e.length>t.length&&Ul(e,t)}function cu(e,t){for(const n of t)if(Gl(e,n))return!0;return!1}function nv(e){return e.length>0&&OZ(e.charCodeAt(e.length-1))}function xve(e){return e>=97&&e<=122||e>=65&&e<=90}function mGe(e,t){const n=e.charCodeAt(t);if(n===58)return t+1;if(n===37&&e.charCodeAt(t+1)===51){const s=e.charCodeAt(t+2);if(s===97||s===65)return t+3}return-1}function e7(e){if(!e)return 0;const t=e.charCodeAt(0);if(t===47||t===92){if(e.charCodeAt(1)!==t)return 1;const s=e.indexOf(t===47?hc:n7,2);return s<0?e.length:s+1}if(xve(t)&&e.charCodeAt(1)===58){const s=e.charCodeAt(2);if(s===47||s===92)return 3;if(e.length===2)return 2}const n=e.indexOf(JZ);if(n!==-1){const s=n+JZ.length,l=e.indexOf(hc,s);if(l!==-1){const f=e.slice(0,n),d=e.slice(s,l);if(f==="file"&&(d===""||d==="localhost")&&xve(e.charCodeAt(l+1))){const g=mGe(e,l+2);if(g!==-1){if(e.charCodeAt(g)===47)return~(g+1);if(g===e.length)return~g}}return~(l+1)}return~e.length}return 0}function Ym(e){const t=e7(e);return t<0?~t:t}function $i(e){e=ju(e);const t=Ym(e);return t===e.length?e:(e=cx(e),e.slice(0,Math.max(t,e.lastIndexOf(hc))))}function sf(e,t,n){if(e=ju(e),Ym(e)===e.length)return"";e=cx(e);const l=e.slice(Math.max(Ym(e),e.lastIndexOf(hc)+1)),f=t!==void 0&&n!==void 0?gB(l,t,n):void 0;return f?l.slice(0,l.length-f.length):l}function kve(e,t,n){if(Qs(t,".")||(t="."+t),e.length>=t.length&&e.charCodeAt(e.length-t.length)===46){const s=e.slice(e.length-t.length);if(n(s,t))return s}}function hGe(e,t,n){if(typeof t=="string")return kve(e,t,n)||"";for(const s of t){const l=kve(e,s,n);if(l)return l}return""}function gB(e,t,n){if(t)return hGe(cx(e),t,n?yC:vC);const s=sf(e),l=s.lastIndexOf(".");return l>=0?s.substring(l):""}function gGe(e,t){const n=e.substring(0,t),s=e.substring(t).split(hc);return s.length&&!Rc(s)&&s.pop(),[n,...s]}function t_(e,t=""){return e=_s(t,e),gGe(e,Ym(e))}function cT(e){return e.length===0?"":(e[0]&&Ef(e[0]))+e.slice(1).join(hc)}function ju(e){return e.indexOf("\\")!==-1?e.replace(Cve,hc):e}function ox(e){if(!Oe(e))return[];const t=[e[0]];for(let n=1;n<e.length;n++){const s=e[n];if(s&&s!=="."){if(s===".."){if(t.length>1){if(t[t.length-1]!==".."){t.pop();continue}}else if(t[0])continue}t.push(s)}}return t}function _s(e,...t){e&&(e=ju(e));for(let n of t)n&&(n=ju(n),!e||Ym(n)!==0?e=n:e=Ef(e)+n);return e}function iv(e,...t){return Co(Oe(t)?_s(e,...t):ju(e))}function t7(e,t){return ox(t_(e,t))}function oa(e,t){return cT(t7(e,t))}function Co(e){if(e=ju(e),!i7.test(e))return e;const t=e.replace(/\/\.\//g,"/").replace(/^\.\//,"");if(t!==e&&(e=t,!i7.test(e)))return e;const n=cT(ox(t_(e)));return n&&nv(e)?Ef(n):n}function yGe(e){return e.length===0?"":e.slice(1).join(hc)}function MZ(e,t){return yGe(t7(e,t))}function wc(e,t,n){const s=Jh(e)?Co(e):oa(e,t);return n(s)}function cx(e){return nv(e)?e.substr(0,e.length-1):e}function Ef(e){return nv(e)?e:e+hc}function lT(e){return!BA(e)&&!wp(e)?"./"+e:e}function FZ(e,t,n,s){const l=n!==void 0&&s!==void 0?gB(e,n,s):gB(e);return l?e.slice(0,e.length-l.length)+(Qs(t,".")?t:"."+t):e}function RZ(e,t,n){if(e===t)return 0;if(e===void 0)return-1;if(t===void 0)return 1;const s=e.substring(0,Ym(e)),l=t.substring(0,Ym(t)),f=zR(s,l);if(f!==0)return f;const d=e.substring(s.length),g=t.substring(l.length);if(!i7.test(d)&&!i7.test(g))return n(d,g);const h=ox(t_(e)),k=ox(t_(t)),S=Math.min(h.length,k.length);for(let w=1;w<S;w++){const N=n(h[w],k[w]);if(N!==0)return N}return Cc(h.length,k.length)}function vGe(e,t){return RZ(e,t,wf)}function bGe(e,t){return RZ(e,t,zR)}function lx(e,t,n,s){return typeof n=="string"?(e=_s(n,e),t=_s(n,t)):typeof n=="boolean"&&(s=n),RZ(e,t,VR(s))}function sv(e,t,n,s){if(typeof n=="string"?(e=_s(n,e),t=_s(n,t)):typeof n=="boolean"&&(s=n),e===void 0||t===void 0)return!1;if(e===t)return!0;const l=ox(t_(e)),f=ox(t_(t));if(f.length<l.length)return!1;const d=s?yC:vC;for(let g=0;g<l.length;g++)if(!(g===0?yC:d)(l[g],f[g]))return!1;return!0}function BZ(e,t,n){const s=n(e),l=n(t);return Qs(s,l+"/")||Qs(s,l+"\\")}function jZ(e,t,n,s){const l=ox(t_(e)),f=ox(t_(t));let d;for(d=0;d<l.length&&d<f.length;d++){const k=s(l[d]),S=s(f[d]);if(!(d===0?yC:n)(k,S))break}if(d===0)return f;const g=f.slice(d),h=[];for(;d<l.length;d++)h.push("..");return["",...h,...g]}function Uh(e,t,n){R.assert(Ym(e)>0==Ym(t)>0,"Paths must either both be absolute or both be relative");const f=jZ(e,t,(typeof n=="boolean"?n:!1)?yC:vC,typeof n=="function"?n:Zc);return cT(f)}function jA(e,t,n){return Jh(e)?wC(t,e,t,n,!1):e}function r7(e,t,n){return lT(Uh($i(e),t,n))}function wC(e,t,n,s,l){const f=jZ(iv(n,e),iv(n,t),vC,s),d=f[0];if(l&&Jh(d)){const g=d.charAt(0)===hc?"file://":"file:///";f[0]=g+d}return cT(f)}function Ay(e,t){for(;;){const n=t(e);if(n!==void 0)return n;const s=$i(e);if(s===e)return;e=s}}function yB(e){return Ul(e,"/node_modules")}var hc,n7,JZ,Cve,i7,TGe=p({"src/compiler/path.ts"(){aa(),hc="/",n7="\\",JZ="://",Cve=/\\/g,i7=/(?:\/\/)|(?:^|\/)\.\.?(?:$|\/)/}});function E(e,t,n,s,l,f,d){return{code:e,category:t,key:n,message:s,reportsUnnecessary:l,elidedInCompatabilityPyramid:f,reportsDeprecated:d}}var v,SGe=p({"src/compiler/diagnosticInformationMap.generated.ts"(){pve(),v={Unterminated_string_literal:E(1002,1,"Unterminated_string_literal_1002","Unterminated string literal."),Identifier_expected:E(1003,1,"Identifier_expected_1003","Identifier expected."),_0_expected:E(1005,1,"_0_expected_1005","'{0}' expected."),A_file_cannot_have_a_reference_to_itself:E(1006,1,"A_file_cannot_have_a_reference_to_itself_1006","A file cannot have a reference to itself."),The_parser_expected_to_find_a_1_to_match_the_0_token_here:E(1007,1,"The_parser_expected_to_find_a_1_to_match_the_0_token_here_1007","The parser expected to find a '{1}' to match the '{0}' token here."),Trailing_comma_not_allowed:E(1009,1,"Trailing_comma_not_allowed_1009","Trailing comma not allowed."),Asterisk_Slash_expected:E(1010,1,"Asterisk_Slash_expected_1010","'*/' expected."),An_element_access_expression_should_take_an_argument:E(1011,1,"An_element_access_expression_should_take_an_argument_1011","An element access expression should take an argument."),Unexpected_token:E(1012,1,"Unexpected_token_1012","Unexpected token."),A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma:E(1013,1,"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:E(1014,1,"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:E(1015,1,"Parameter_cannot_have_question_mark_and_initializer_1015","Parameter cannot have question mark and initializer."),A_required_parameter_cannot_follow_an_optional_parameter:E(1016,1,"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:E(1017,1,"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:E(1018,1,"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:E(1019,1,"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:E(1020,1,"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:E(1021,1,"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:E(1022,1,"An_index_signature_parameter_must_have_a_type_annotation_1022","An index signature parameter must have a type annotation."),readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature:E(1024,1,"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:E(1025,1,"An_index_signature_cannot_have_a_trailing_comma_1025","An index signature cannot have a trailing comma."),Accessibility_modifier_already_seen:E(1028,1,"Accessibility_modifier_already_seen_1028","Accessibility modifier already seen."),_0_modifier_must_precede_1_modifier:E(1029,1,"_0_modifier_must_precede_1_modifier_1029","'{0}' modifier must precede '{1}' modifier."),_0_modifier_already_seen:E(1030,1,"_0_modifier_already_seen_1030","'{0}' modifier already seen."),_0_modifier_cannot_appear_on_class_elements_of_this_kind:E(1031,1,"_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:E(1034,1,"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:E(1035,1,"Only_ambient_modules_can_use_quoted_names_1035","Only ambient modules can use quoted names."),Statements_are_not_allowed_in_ambient_contexts:E(1036,1,"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:E(1038,1,"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:E(1039,1,"Initializers_are_not_allowed_in_ambient_contexts_1039","Initializers are not allowed in ambient contexts."),_0_modifier_cannot_be_used_in_an_ambient_context:E(1040,1,"_0_modifier_cannot_be_used_in_an_ambient_context_1040","'{0}' modifier cannot be used in an ambient context."),_0_modifier_cannot_be_used_here:E(1042,1,"_0_modifier_cannot_be_used_here_1042","'{0}' modifier cannot be used here."),_0_modifier_cannot_appear_on_a_module_or_namespace_element:E(1044,1,"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044","'{0}' modifier cannot appear on a module or namespace element."),Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier:E(1046,1,"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:E(1047,1,"A_rest_parameter_cannot_be_optional_1047","A rest parameter cannot be optional."),A_rest_parameter_cannot_have_an_initializer:E(1048,1,"A_rest_parameter_cannot_have_an_initializer_1048","A rest parameter cannot have an initializer."),A_set_accessor_must_have_exactly_one_parameter:E(1049,1,"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:E(1051,1,"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:E(1052,1,"A_set_accessor_parameter_cannot_have_an_initializer_1052","A 'set' accessor parameter cannot have an initializer."),A_set_accessor_cannot_have_rest_parameter:E(1053,1,"A_set_accessor_cannot_have_rest_parameter_1053","A 'set' accessor cannot have rest parameter."),A_get_accessor_cannot_have_parameters:E(1054,1,"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:E(1055,1,"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:E(1056,1,"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056","Accessors are only available when targeting ECMAScript 5 and higher."),The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:E(1058,1,"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:E(1059,1,"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:E(1060,1,"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:E(1061,1,"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:E(1062,1,"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:E(1063,1,"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:E(1064,1,"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:E(1066,1,"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:E(1068,1,"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:E(1069,1,"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:E(1070,1,"_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:E(1071,1,"_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:E(1079,1,"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:E(1084,1,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:E(1085,1,"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:E(1089,1,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:E(1090,1,"_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:E(1091,1,"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:E(1092,1,"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:E(1093,1,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:E(1094,1,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:E(1095,1,"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:E(1096,1,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:E(1097,1,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:E(1098,1,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:E(1099,1,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:E(1100,1,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:E(1101,1,"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:E(1102,1,"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:E(1103,1,"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:E(1104,1,"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:E(1105,1,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),The_left_hand_side_of_a_for_of_statement_may_not_be_async:E(1106,1,"The_left_hand_side_of_a_for_of_statement_may_not_be_async_1106","The left-hand side of a 'for...of' statement may not be 'async'."),Jump_target_cannot_cross_function_boundary:E(1107,1,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:E(1108,1,"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:E(1109,1,"Expression_expected_1109","Expression expected."),Type_expected:E(1110,1,"Type_expected_1110","Type expected."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:E(1113,1,"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:E(1114,1,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:E(1115,1,"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:E(1116,1,"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:E(1117,1,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117","An object literal cannot have multiple properties with the same name."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:E(1118,1,"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:E(1119,1,"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:E(1120,1,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_in_strict_mode:E(1121,1,"Octal_literals_are_not_allowed_in_strict_mode_1121","Octal literals are not allowed in strict mode."),Variable_declaration_list_cannot_be_empty:E(1123,1,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:E(1124,1,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:E(1125,1,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:E(1126,1,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:E(1127,1,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:E(1128,1,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:E(1129,1,"Statement_expected_1129","Statement expected."),case_or_default_expected:E(1130,1,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:E(1131,1,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:E(1132,1,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:E(1134,1,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:E(1135,1,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:E(1136,1,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:E(1137,1,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:E(1138,1,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:E(1139,1,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:E(1140,1,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:E(1141,1,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:E(1142,1,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:E(1144,1,"or_expected_1144","'{' or ';' expected."),or_JSX_element_expected:E(1145,1,"or_JSX_element_expected_1145","'{' or JSX element expected."),Declaration_expected:E(1146,1,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:E(1147,1,"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:E(1148,1,"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:E(1149,1,"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:E(1155,1,"const_declarations_must_be_initialized_1155","'const' declarations must be initialized."),const_declarations_can_only_be_declared_inside_a_block:E(1156,1,"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:E(1157,1,"let_declarations_can_only_be_declared_inside_a_block_1157","'let' declarations can only be declared inside a block."),Unterminated_template_literal:E(1160,1,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:E(1161,1,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:E(1162,1,"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:E(1163,1,"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:E(1164,1,"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:E(1165,1,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type:E(1166,1,"A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_1166","A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:E(1168,1,"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:E(1169,1,"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:E(1170,1,"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:E(1171,1,"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:E(1172,1,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:E(1173,1,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:E(1174,1,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:E(1175,1,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:E(1176,1,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:E(1177,1,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:E(1178,1,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:E(1179,1,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:E(1180,1,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:E(1181,1,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:E(1182,1,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:E(1183,1,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:E(1184,1,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:E(1185,1,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:E(1186,1,"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:E(1187,1,"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:E(1188,1,"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:E(1189,1,"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:E(1190,1,"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:E(1191,1,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:E(1192,1,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:E(1193,1,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:E(1194,1,"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:E(1195,1,"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:E(1196,1,"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:E(1197,1,"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:E(1198,1,"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:E(1199,1,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:E(1200,1,"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:E(1202,1,"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:E(1203,1,"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_0_is_enabled_requires_using_export_type:E(1205,1,"Re_exporting_a_type_when_0_is_enabled_requires_using_export_type_1205","Re-exporting a type when '{0}' is enabled requires using 'export type'."),Decorators_are_not_valid_here:E(1206,1,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:E(1207,1,"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."),Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0:E(1209,1,"Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0_1209","Invalid optional chain from new expression. Did you mean to call '{0}()'?"),Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:E(1210,1,"Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of__1210","Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of '{0}'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:E(1211,1,"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:E(1212,1,"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:E(1213,1,"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:E(1214,1,"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:E(1215,1,"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:E(1216,1,"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:E(1218,1,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Generators_are_not_allowed_in_an_ambient_context:E(1221,1,"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:E(1222,1,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:E(1223,1,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:E(1224,1,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:E(1225,1,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:E(1226,1,"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:E(1227,1,"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:E(1228,1,"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:E(1229,1,"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:E(1230,1,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:E(1231,1,"An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration_1231","An export assignment must be at the top level of a file or module declaration."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:E(1232,1,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1232","An import declaration can only be used at the top level of a namespace or module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:E(1233,1,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1233","An export declaration can only be used at the top level of a namespace or module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:E(1234,1,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","An ambient module declaration is only allowed at the top level in a file."),A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module:E(1235,1,"A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235","A namespace declaration is only allowed at the top level of a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:E(1236,1,"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:E(1237,1,"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:E(1238,1,"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:E(1239,1,"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:E(1240,1,"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:E(1241,1,"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:E(1242,1,"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:E(1243,1,"_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:E(1244,1,"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:E(1245,1,"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:E(1246,1,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:E(1247,1,"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:E(1248,1,"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:E(1249,1,"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:E(1250,1,"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:E(1251,1,"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:E(1252,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:E(1254,1,"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:E(1255,1,"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:E(1257,1,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration:E(1258,1,"A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration_1258","A default export must be at the top level of a file or module declaration."),Module_0_can_only_be_default_imported_using_the_1_flag:E(1259,1,"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:E(1260,1,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:E(1261,1,"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:E(1262,1,"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:E(1263,1,"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:E(1264,1,"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:E(1265,1,"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:E(1266,1,"An_optional_element_cannot_follow_a_rest_element_1266","An optional element cannot follow a rest element."),Property_0_cannot_have_an_initializer_because_it_is_marked_abstract:E(1267,1,"Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267","Property '{0}' cannot have an initializer because it is marked abstract."),An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type:E(1268,1,"An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type_1268","An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type."),Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled:E(1269,1,"Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled_1269","Cannot use 'export import' on a type or type-only namespace when '{0}' is enabled."),Decorator_function_return_type_0_is_not_assignable_to_type_1:E(1270,1,"Decorator_function_return_type_0_is_not_assignable_to_type_1_1270","Decorator function return type '{0}' is not assignable to type '{1}'."),Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any:E(1271,1,"Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any_1271","Decorator function return type is '{0}' but is expected to be 'void' or 'any'."),A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled:E(1272,1,"A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_w_1272","A type referenced in a decorated signature must be imported with 'import type' or a namespace import when 'isolatedModules' and 'emitDecoratorMetadata' are enabled."),_0_modifier_cannot_appear_on_a_type_parameter:E(1273,1,"_0_modifier_cannot_appear_on_a_type_parameter_1273","'{0}' modifier cannot appear on a type parameter"),_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias:E(1274,1,"_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias_1274","'{0}' modifier can only appear on a type parameter of a class, interface or type alias"),accessor_modifier_can_only_appear_on_a_property_declaration:E(1275,1,"accessor_modifier_can_only_appear_on_a_property_declaration_1275","'accessor' modifier can only appear on a property declaration."),An_accessor_property_cannot_be_declared_optional:E(1276,1,"An_accessor_property_cannot_be_declared_optional_1276","An 'accessor' property cannot be declared optional."),_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class:E(1277,1,"_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class_1277","'{0}' modifier can only appear on a type parameter of a function, method or class"),The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0:E(1278,1,"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0_1278","The runtime will invoke the decorator with {1} arguments, but the decorator expects {0}."),The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0:E(1279,1,"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0_1279","The runtime will invoke the decorator with {1} arguments, but the decorator expects at least {0}."),Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement:E(1280,1,"Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to__1280","Namespaces are not allowed in global script files when '{0}' is enabled. If this file is not intended to be a global script, set 'moduleDetection' to 'force' or add an empty 'export {}' statement."),Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead:E(1281,1,"Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead_1281","Cannot access '{0}' from another file without qualification when '{1}' is enabled. Use '{2}' instead."),An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:E(1282,1,"An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers__1282","An 'export =' declaration must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type."),An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:E(1283,1,"An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolve_1283","An 'export =' declaration must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration."),An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:E(1284,1,"An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_1284","An 'export default' must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type."),An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:E(1285,1,"An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_1285","An 'export default' must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration."),ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:E(1286,1,"ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled_1286","ESM syntax is not allowed in a CommonJS module when 'verbatimModuleSyntax' is enabled."),A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:E(1287,1,"A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimM_1287","A top-level 'export' modifier cannot be used on value declarations in a CommonJS module when 'verbatimModuleSyntax' is enabled."),An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled:E(1288,1,"An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabl_1288","An import alias cannot resolve to a type or type-only declaration when 'verbatimModuleSyntax' is enabled."),with_statements_are_not_allowed_in_an_async_function_block:E(1300,1,"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:E(1308,1,"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."),The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level:E(1309,1,"The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level_1309","The current file is a CommonJS module and cannot use 'await' at the top level."),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:E(1312,1,"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:E(1313,1,"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:E(1314,1,"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:E(1315,1,"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:E(1316,1,"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:E(1317,1,"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:E(1318,1,"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:E(1319,1,"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:E(1320,1,"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:E(1321,1,"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:E(1322,1,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext:E(1323,1,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'."),Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nodenext:E(1324,1,"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nod_1324","Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', or 'nodenext'."),Argument_of_dynamic_import_cannot_be_spread_element:E(1325,1,"Argument_of_dynamic_import_cannot_be_spread_element_1325","Argument of dynamic import cannot be spread element."),This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments:E(1326,1,"This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot__1326","This use of 'import' is invalid. 'import()' calls can be written, but they must have parentheses and cannot have type arguments."),String_literal_with_double_quotes_expected:E(1327,1,"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:E(1328,1,"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:E(1329,1,"_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:E(1330,1,"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:E(1331,1,"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:E(1332,1,"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:E(1333,1,"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:E(1334,1,"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:E(1335,1,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead:E(1337,1,"An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_o_1337","An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:E(1338,1,"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:E(1339,1,"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:E(1340,1,"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}')'?"),Class_constructor_may_not_be_an_accessor:E(1341,1,"Class_constructor_may_not_be_an_accessor_1341","Class constructor may not be an accessor."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext:E(1343,1,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system__1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'."),A_label_is_not_allowed_here:E(1344,1,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:E(1345,1,"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:E(1346,1,"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:E(1347,1,"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:E(1348,1,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:E(1349,1,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:E(1350,3,"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:E(1351,1,"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:E(1352,1,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:E(1353,1,"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:E(1354,1,"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:E(1355,1,"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:E(1356,1,"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:E(1357,1,"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:E(1358,1,"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:E(1359,1,"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."),Type_0_does_not_satisfy_the_expected_type_1:E(1360,1,"Type_0_does_not_satisfy_the_expected_type_1_1360","Type '{0}' does not satisfy the expected type '{1}'."),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:E(1361,1,"_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:E(1362,1,"_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:E(1363,1,"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:E(1364,3,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:E(1365,3,"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:E(1366,3,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:E(1367,3,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Class_constructor_may_not_be_a_generator:E(1368,1,"Class_constructor_may_not_be_a_generator_1368","Class constructor may not be a generator."),Did_you_mean_0:E(1369,3,"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:E(1371,1,"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:E(1373,3,"Convert_to_type_only_import_1373","Convert to type-only import"),Convert_all_imports_not_used_as_a_value_to_type_only_imports:E(1374,3,"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:E(1375,1,"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:E(1376,3,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:E(1377,3,"_0_was_exported_here_1377","'{0}' was exported here."),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:E(1378,1,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:E(1379,1,"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:E(1380,1,"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:E(1381,1,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `&rbrace;`?"),Unexpected_token_Did_you_mean_or_gt:E(1382,1,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `&gt;`?"),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:E(1385,1,"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:E(1386,1,"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:E(1387,1,"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:E(1388,1,"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:E(1389,1,"_0_is_not_allowed_as_a_variable_declaration_name_1389","'{0}' is not allowed as a variable declaration name."),_0_is_not_allowed_as_a_parameter_name:E(1390,1,"_0_is_not_allowed_as_a_parameter_name_1390","'{0}' is not allowed as a parameter name."),An_import_alias_cannot_use_import_type:E(1392,1,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:E(1393,3,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:E(1394,3,"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:E(1395,3,"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:E(1396,3,"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:E(1397,3,"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:E(1398,3,"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:E(1399,3,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:E(1400,3,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:E(1401,3,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:E(1402,3,"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:E(1403,3,"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:E(1404,3,"File_is_included_via_type_library_reference_here_1404","File is included via type library reference here."),Library_referenced_via_0_from_file_1:E(1405,3,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:E(1406,3,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:E(1407,3,"Matched_by_include_pattern_0_in_1_1407","Matched by include pattern '{0}' in '{1}'"),File_is_matched_by_include_pattern_specified_here:E(1408,3,"File_is_matched_by_include_pattern_specified_here_1408","File is matched by include pattern specified here."),Part_of_files_list_in_tsconfig_json:E(1409,3,"Part_of_files_list_in_tsconfig_json_1409","Part of 'files' list in tsconfig.json"),File_is_matched_by_files_list_specified_here:E(1410,3,"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:E(1411,3,"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:E(1412,3,"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:E(1413,3,"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:E(1414,3,"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:E(1415,3,"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:E(1416,3,"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:E(1417,3,"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:E(1418,3,"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:E(1419,3,"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:E(1420,3,"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:E(1421,3,"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:E(1422,3,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:E(1423,3,"File_is_library_specified_here_1423","File is library specified here."),Default_library:E(1424,3,"Default_library_1424","Default library"),Default_library_for_target_0:E(1425,3,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:E(1426,3,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:E(1427,3,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:E(1428,3,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:E(1429,3,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:E(1430,3,"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:E(1431,1,"for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431","'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:E(1432,1,"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432","Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters:E(1433,1,"Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters_1433","Neither decorators nor modifiers may be applied to 'this' parameters."),Unexpected_keyword_or_identifier:E(1434,1,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:E(1435,1,"Unknown_keyword_or_identifier_Did_you_mean_0_1435","Unknown keyword or identifier. Did you mean '{0}'?"),Decorators_must_precede_the_name_and_all_keywords_of_property_declarations:E(1436,1,"Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436","Decorators must precede the name and all keywords of property declarations."),Namespace_must_be_given_a_name:E(1437,1,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:E(1438,1,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:E(1439,1,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:E(1440,1,"Variable_declaration_not_allowed_at_this_location_1440","Variable declaration not allowed at this location."),Cannot_start_a_function_call_in_a_type_annotation:E(1441,1,"Cannot_start_a_function_call_in_a_type_annotation_1441","Cannot start a function call in a type annotation."),Expected_for_property_initializer:E(1442,1,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:E(1443,1,"Module_declaration_names_may_only_use_or_quoted_strings_1443",`Module declaration names may only use ' or " quoted strings.`),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:E(1444,1,"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444","'{0}' is a type and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:E(1446,1,"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveVa_1446","'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled:E(1448,1,"_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_1448","'{0}' resolves to a type-only declaration and must be re-exported using a type-only re-export when '{1}' is enabled."),Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed:E(1449,3,"Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed_1449","Preserve unused imported values in the JavaScript output that would otherwise be removed."),Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments:E(1450,3,"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments_1450","Dynamic imports can only accept a module specifier and an optional assertion as arguments"),Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression:E(1451,1,"Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451","Private identifiers are only allowed in class bodies and may only be used as part of a class member declaration, property access, or on the left-hand-side of an 'in' expression"),resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext:E(1452,1,"resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext_1452","'resolution-mode' assertions are only supported when `moduleResolution` is `node16` or `nodenext`."),resolution_mode_should_be_either_require_or_import:E(1453,1,"resolution_mode_should_be_either_require_or_import_1453","`resolution-mode` should be either `require` or `import`."),resolution_mode_can_only_be_set_for_type_only_imports:E(1454,1,"resolution_mode_can_only_be_set_for_type_only_imports_1454","`resolution-mode` can only be set for type-only imports."),resolution_mode_is_the_only_valid_key_for_type_import_assertions:E(1455,1,"resolution_mode_is_the_only_valid_key_for_type_import_assertions_1455","`resolution-mode` is the only valid key for type import assertions."),Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require:E(1456,1,"Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456","Type import assertions should have exactly one key - `resolution-mode` - with value `import` or `require`."),Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:E(1457,3,"Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457","Matched by default include pattern '**/*'"),File_is_ECMAScript_module_because_0_has_field_type_with_value_module:E(1458,3,"File_is_ECMAScript_module_because_0_has_field_type_with_value_module_1458",`File is ECMAScript module because '{0}' has field "type" with value "module"`),File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module:E(1459,3,"File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module_1459",`File is CommonJS module because '{0}' has field "type" whose value is not "module"`),File_is_CommonJS_module_because_0_does_not_have_field_type:E(1460,3,"File_is_CommonJS_module_because_0_does_not_have_field_type_1460",`File is CommonJS module because '{0}' does not have field "type"`),File_is_CommonJS_module_because_package_json_was_not_found:E(1461,3,"File_is_CommonJS_module_because_package_json_was_not_found_1461","File is CommonJS module because 'package.json' was not found"),The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output:E(1470,1,"The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output_1470","The 'import.meta' meta-property is not allowed in files which will build into CommonJS output."),Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead:E(1471,1,"Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471","Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported with 'require'. Use an ECMAScript import instead."),catch_or_finally_expected:E(1472,1,"catch_or_finally_expected_1472","'catch' or 'finally' expected."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:E(1473,1,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_module_1473","An import declaration can only be used at the top level of a module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:E(1474,1,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_module_1474","An export declaration can only be used at the top level of a module."),Control_what_method_is_used_to_detect_module_format_JS_files:E(1475,3,"Control_what_method_is_used_to_detect_module_format_JS_files_1475","Control what method is used to detect module-format JS files."),auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules:E(1476,3,"auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_w_1476",'"auto": Treat files with imports, exports, import.meta, jsx (with jsx: react-jsx), or esm format (with module: node16+) as modules.'),An_instantiation_expression_cannot_be_followed_by_a_property_access:E(1477,1,"An_instantiation_expression_cannot_be_followed_by_a_property_access_1477","An instantiation expression cannot be followed by a property access."),Identifier_or_string_literal_expected:E(1478,1,"Identifier_or_string_literal_expected_1478","Identifier or string literal expected."),The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead:E(1479,1,"The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_reference_1479",`The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("{0}")' call instead.`),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module:E(1480,3,"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_packag_1480",'To convert this file to an ECMAScript module, change its file extension to \'{0}\' or create a local package.json file with `{ "type": "module" }`.'),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1:E(1481,3,"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Co_1481",`To convert this file to an ECMAScript module, change its file extension to '{0}', or add the field \`"type": "module"\` to '{1}'.`),To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0:E(1482,3,"To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0_1482",'To convert this file to an ECMAScript module, add the field `"type": "module"` to \'{0}\'.'),To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module:E(1483,3,"To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module_1483",'To convert this file to an ECMAScript module, create a local package.json file with `{ "type": "module" }`.'),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:E(1484,1,"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled_1484","'{0}' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:E(1485,1,"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimMo_1485","'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled."),Decorator_used_before_export_here:E(1486,1,"Decorator_used_before_export_here_1486","Decorator used before 'export' here."),The_types_of_0_are_incompatible_between_these_types:E(2200,1,"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:E(2201,1,"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:E(2202,1,"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:E(2203,1,"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:E(2204,1,"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:E(2205,1,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:E(2206,1,"The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement_2206","The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement:E(2207,1,"The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement_2207","The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),This_type_parameter_might_need_an_extends_0_constraint:E(2208,1,"This_type_parameter_might_need_an_extends_0_constraint_2208","This type parameter might need an `extends {0}` constraint."),The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:E(2209,1,"The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_roo_2209","The project root is ambiguous, but is required to resolve export map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."),The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:E(2210,1,"The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_roo_2210","The project root is ambiguous, but is required to resolve import map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."),Add_extends_constraint:E(2211,3,"Add_extends_constraint_2211","Add `extends` constraint."),Add_extends_constraint_to_all_type_parameters:E(2212,3,"Add_extends_constraint_to_all_type_parameters_2212","Add `extends` constraint to all type parameters"),Duplicate_identifier_0:E(2300,1,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:E(2301,1,"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:E(2302,1,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:E(2303,1,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:E(2304,1,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:E(2305,1,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:E(2306,1,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:E(2307,1,"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:E(2308,1,"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:E(2309,1,"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:E(2310,1,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function:E(2311,1,"Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311","Cannot find name '{0}'. Did you mean to write this in an async function?"),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:E(2312,1,"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:E(2313,1,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:E(2314,1,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:E(2315,1,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:E(2316,1,"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:E(2317,1,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:E(2318,1,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:E(2319,1,"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:E(2320,1,"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:E(2321,1,"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:E(2322,1,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:E(2323,1,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:E(2324,1,"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:E(2325,1,"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:E(2326,1,"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:E(2327,1,"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:E(2328,1,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_for_type_0_is_missing_in_type_1:E(2329,1,"Index_signature_for_type_0_is_missing_in_type_1_2329","Index signature for type '{0}' is missing in type '{1}'."),_0_and_1_index_signatures_are_incompatible:E(2330,1,"_0_and_1_index_signatures_are_incompatible_2330","'{0}' and '{1}' index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:E(2331,1,"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:E(2332,1,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:E(2333,1,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:E(2334,1,"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:E(2335,1,"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:E(2336,1,"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:E(2337,1,"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:E(2338,1,"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:E(2339,1,"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:E(2340,1,"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:E(2341,1,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:E(2343,1,"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:E(2344,1,"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:E(2345,1,"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:E(2346,1,"Call_target_does_not_contain_any_signatures_2346","Call target does not contain any signatures."),Untyped_function_calls_may_not_accept_type_arguments:E(2347,1,"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:E(2348,1,"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:E(2349,1,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:E(2350,1,"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:E(2351,1,"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:E(2352,1,"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:E(2353,1,"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:E(2354,1,"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:E(2355,1,"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:E(2356,1,"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:E(2357,1,"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:E(2358,1,"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:E(2359,1,"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_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:E(2362,1,"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:E(2363,1,"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:E(2364,1,"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:E(2365,1,"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:E(2366,1,"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_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap:E(2367,1,"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367","This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap."),Type_parameter_name_cannot_be_0:E(2368,1,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:E(2369,1,"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:E(2370,1,"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:E(2371,1,"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:E(2372,1,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:E(2373,1,"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_index_signature_for_type_0:E(2374,1,"Duplicate_index_signature_for_type_0_2374","Duplicate index signature for type '{0}'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:E(2375,1,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2375","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers:E(2376,1,"A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376","A 'super' call must be the first statement in the constructor to refer to 'super' or 'this' when a derived class contains initialized properties, parameter properties, or private identifiers."),Constructors_for_derived_classes_must_contain_a_super_call:E(2377,1,"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:E(2378,1,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:E(2379,1,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_tr_2379","Argument of type '{0}' is not assignable to parameter of type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type:E(2380,1,"The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type_2380","The return type of a 'get' accessor must be assignable to its 'set' accessor type"),Overload_signatures_must_all_be_exported_or_non_exported:E(2383,1,"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:E(2384,1,"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:E(2385,1,"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:E(2386,1,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:E(2387,1,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:E(2388,1,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:E(2389,1,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:E(2390,1,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:E(2391,1,"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:E(2392,1,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:E(2393,1,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:E(2394,1,"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:E(2395,1,"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:E(2396,1,"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:E(2397,1,"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:E(2398,1,"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:E(2399,1,"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:E(2400,1,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers:E(2401,1,"A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_in_2401","A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:E(2402,1,"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:E(2403,1,"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:E(2404,1,"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:E(2405,1,"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:E(2406,1,"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:E(2407,1,"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:E(2408,1,"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:E(2409,1,"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:E(2410,1,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target:E(2412,1,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target."),Property_0_of_type_1_is_not_assignable_to_2_index_type_3:E(2411,1,"Property_0_of_type_1_is_not_assignable_to_2_index_type_3_2411","Property '{0}' of type '{1}' is not assignable to '{2}' index type '{3}'."),_0_index_type_1_is_not_assignable_to_2_index_type_3:E(2413,1,"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413","'{0}' index type '{1}' is not assignable to '{2}' index type '{3}'."),Class_name_cannot_be_0:E(2414,1,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:E(2415,1,"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:E(2416,1,"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:E(2417,1,"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:E(2418,1,"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:E(2419,1,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:E(2420,1,"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:E(2422,1,"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:E(2423,1,"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:E(2425,1,"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:E(2426,1,"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:E(2427,1,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:E(2428,1,"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:E(2430,1,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:E(2431,1,"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:E(2432,1,"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:E(2433,1,"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:E(2434,1,"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:E(2435,1,"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:E(2436,1,"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:E(2437,1,"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:E(2438,1,"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:E(2439,1,"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:E(2440,1,"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:E(2441,1,"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:E(2442,1,"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:E(2443,1,"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:E(2444,1,"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:E(2445,1,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2:E(2446,1,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_cl_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'. This is an instance of class '{2}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:E(2447,1,"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:E(2448,1,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:E(2449,1,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:E(2450,1,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:E(2451,1,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:E(2452,1,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),Variable_0_is_used_before_being_assigned:E(2454,1,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_alias_0_circularly_references_itself:E(2456,1,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:E(2457,1,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:E(2458,1,"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:E(2459,1,"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:E(2460,1,"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:E(2461,1,"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:E(2462,1,"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:E(2463,1,"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:E(2464,1,"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:E(2465,1,"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:E(2466,1,"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:E(2467,1,"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:E(2468,1,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:E(2469,1,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:E(2472,1,"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:E(2473,1,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_must_be_constant_expressions:E(2474,1,"const_enum_member_initializers_must_be_constant_expressions_2474","const enum member initializers must be constant expressions."),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:E(2475,1,"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:E(2476,1,"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:E(2477,1,"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:E(2478,1,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:E(2480,1,"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:E(2481,1,"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:E(2483,1,"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:E(2484,1,"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:E(2487,1,"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:E(2488,1,"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:E(2489,1,"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:E(2490,1,"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:E(2491,1,"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:E(2492,1,"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:E(2493,1,"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:E(2494,1,"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:E(2495,1,"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:E(2496,1,"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:E(2497,1,"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:E(2498,1,"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:E(2499,1,"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:E(2500,1,"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:E(2501,1,"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:E(2502,1,"_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:E(2503,1,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:E(2504,1,"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:E(2505,1,"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:E(2506,1,"_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:E(2507,1,"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:E(2508,1,"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:E(2509,1,"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:E(2510,1,"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:E(2511,1,"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:E(2512,1,"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:E(2513,1,"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."),A_tuple_type_cannot_be_indexed_with_a_negative_value:E(2514,1,"A_tuple_type_cannot_be_indexed_with_a_negative_value_2514","A tuple type cannot be indexed with a negative value."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:E(2515,1,"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:E(2516,1,"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:E(2517,1,"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:E(2518,1,"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:E(2519,1,"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:E(2520,1,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:E(2522,1,"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:E(2523,1,"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:E(2524,1,"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:E(2525,1,"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:E(2526,1,"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:E(2527,1,"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:E(2528,1,"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:E(2529,1,"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:E(2530,1,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:E(2531,1,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:E(2532,1,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:E(2533,1,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:E(2534,1,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Type_0_cannot_be_used_to_index_type_1:E(2536,1,"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:E(2537,1,"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:E(2538,1,"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:E(2539,1,"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:E(2540,1,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),Index_signature_in_type_0_only_permits_reading:E(2542,1,"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:E(2543,1,"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:E(2544,1,"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:E(2545,1,"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:E(2547,1,"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:E(2548,1,"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:E(2549,1,"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:E(2550,1,"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:E(2551,1,"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:E(2552,1,"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:E(2553,1,"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:E(2554,1,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:E(2555,1,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter:E(2556,1,"A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556","A spread argument must either have a tuple type or be passed to a rest parameter."),Expected_0_type_arguments_but_got_1:E(2558,1,"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:E(2559,1,"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:E(2560,1,"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:E(2561,1,"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:E(2562,1,"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:E(2563,1,"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:E(2564,1,"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:E(2565,1,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:E(2566,1,"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:E(2567,1,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Property_0_may_not_exist_on_type_1_Did_you_mean_2:E(2568,1,"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568","Property '{0}' may not exist on type '{1}'. Did you mean '{2}'?"),Could_not_find_name_0_Did_you_mean_1:E(2570,1,"Could_not_find_name_0_Did_you_mean_1_2570","Could not find name '{0}'. Did you mean '{1}'?"),Object_is_of_type_unknown:E(2571,1,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:E(2574,1,"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:E(2575,1,"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:E(2576,1,"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:E(2577,1,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:E(2578,1,"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:E(2580,1,"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:E(2581,1,"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:E(2582,1,"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:E(2583,1,"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:E(2584,1,"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:E(2585,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later."),Cannot_assign_to_0_because_it_is_a_constant:E(2588,1,"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:E(2589,1,"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:E(2590,1,"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:E(2591,1,"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:E(2592,1,"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:E(2593,1,"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_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:E(2594,1,"This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag_2594","This module is declared with 'export =', and can only be used with a default import when using the '{0}' flag."),_0_can_only_be_imported_by_using_a_default_import:E(2595,1,"_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:E(2596,1,"_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:E(2597,1,"_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:E(2598,1,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:E(2602,1,"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:E(2603,1,"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:E(2604,1,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:E(2606,1,"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:E(2607,1,"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:E(2608,1,"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:E(2609,1,"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:E(2610,1,"_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:E(2611,1,"_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:E(2612,1,"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:E(2613,1,"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:E(2614,1,"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:E(2615,1,"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:E(2616,1,"_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:E(2617,1,"_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:E(2618,1,"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:E(2619,1,"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:E(2620,1,"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:E(2621,1,"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:E(2623,1,"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:E(2624,1,"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:E(2625,1,"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:E(2626,1,"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:E(2627,1,"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627","Type at positions {0} through {1} in source is not compatible with type at position {2} in target."),Cannot_assign_to_0_because_it_is_an_enum:E(2628,1,"Cannot_assign_to_0_because_it_is_an_enum_2628","Cannot assign to '{0}' because it is an enum."),Cannot_assign_to_0_because_it_is_a_class:E(2629,1,"Cannot_assign_to_0_because_it_is_a_class_2629","Cannot assign to '{0}' because it is a class."),Cannot_assign_to_0_because_it_is_a_function:E(2630,1,"Cannot_assign_to_0_because_it_is_a_function_2630","Cannot assign to '{0}' because it is a function."),Cannot_assign_to_0_because_it_is_a_namespace:E(2631,1,"Cannot_assign_to_0_because_it_is_a_namespace_2631","Cannot assign to '{0}' because it is a namespace."),Cannot_assign_to_0_because_it_is_an_import:E(2632,1,"Cannot_assign_to_0_because_it_is_an_import_2632","Cannot assign to '{0}' because it is an import."),JSX_property_access_expressions_cannot_include_JSX_namespace_names:E(2633,1,"JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633","JSX property access expressions cannot include JSX namespace names"),_0_index_signatures_are_incompatible:E(2634,1,"_0_index_signatures_are_incompatible_2634","'{0}' index signatures are incompatible."),Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable:E(2635,1,"Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable_2635","Type '{0}' has no signatures for which the type argument list is applicable."),Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation:E(2636,1,"Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation_2636","Type '{0}' is not assignable to type '{1}' as implied by variance annotation."),Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types:E(2637,1,"Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637","Variance annotations are only supported in type aliases for object, function, constructor, and mapped types."),Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator:E(2638,1,"Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operato_2638","Type '{0}' may represent a primitive value, which is not permitted as the right operand of the 'in' operator."),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:E(2649,1,"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:E(2651,1,"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:E(2652,1,"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:E(2653,1,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),JSX_expressions_must_have_one_parent_element:E(2657,1,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:E(2658,1,"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:E(2659,1,"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:E(2660,1,"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:E(2661,1,"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:E(2662,1,"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:E(2663,1,"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:E(2664,1,"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:E(2665,1,"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:E(2666,1,"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:E(2667,1,"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:E(2668,1,"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:E(2669,1,"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:E(2670,1,"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:E(2671,1,"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:E(2672,1,"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:E(2673,1,"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:E(2674,1,"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:E(2675,1,"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:E(2676,1,"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:E(2677,1,"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:E(2678,1,"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:E(2679,1,"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:E(2680,1,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:E(2681,1,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:E(2683,1,"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:E(2684,1,"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:E(2685,1,"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:E(2686,1,"_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:E(2687,1,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:E(2688,1,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:E(2689,1,"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:E(2690,1,"_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}'?"),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:E(2692,1,"_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:E(2693,1,"_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:E(2694,1,"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:E(2695,1,"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:E(2696,1,"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:E(2697,1,"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:E(2698,1,"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:E(2699,1,"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:E(2700,1,"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:E(2701,1,"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:E(2702,1,"_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:E(2703,1,"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:E(2704,1,"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:E(2705,1,"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:E(2706,1,"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:E(2707,1,"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:E(2708,1,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:E(2709,1,"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:E(2710,1,"_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:E(2711,1,"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:E(2712,1,"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:E(2713,1,"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:E(2714,1,"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:E(2715,1,"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:E(2716,1,"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:E(2717,1,"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:E(2718,1,"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:E(2719,1,"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:E(2720,1,"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:E(2721,1,"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:E(2722,1,"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:E(2723,1,"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:E(2724,1,"_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:E(2725,1,"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:E(2726,1,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:E(2727,1,"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:E(2728,3,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:E(2729,1,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:E(2730,1,"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:E(2731,1,"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:E(2732,1,"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:E(2733,1,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:E(2734,1,"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:E(2735,1,"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:E(2736,1,"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:E(2737,1,"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:E(2738,3,"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:E(2739,1,"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:E(2740,1,"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:E(2741,1,"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:E(2742,1,"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:E(2743,1,"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:E(2744,1,"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:E(2745,1,"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:E(2746,1,"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:E(2747,1,"_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_0_is_enabled:E(2748,1,"Cannot_access_ambient_const_enums_when_0_is_enabled_2748","Cannot access ambient const enums when '{0}' is enabled."),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:E(2749,1,"_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:E(2750,1,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:E(2751,1,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:E(2752,1,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:E(2753,1,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:E(2754,1,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:E(2755,1,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:E(2756,1,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:E(2757,1,"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:E(2758,1,"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:E(2759,1,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:E(2760,1,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:E(2761,1,"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:E(2762,1,"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:E(2763,1,"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:E(2764,1,"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:E(2765,1,"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:E(2766,1,"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:E(2767,1,"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:E(2768,1,"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:E(2769,1,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:E(2770,1,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:E(2771,1,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:E(2772,1,"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:E(2773,1,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead:E(2774,1,"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774","This condition will always return true since this function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:E(2775,1,"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:E(2776,1,"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:E(2777,1,"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:E(2778,1,"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:E(2779,1,"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:E(2780,1,"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:E(2781,1,"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:E(2782,3,"_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:E(2783,1,"_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:E(2784,1,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:E(2785,1,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:E(2786,1,"_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:E(2787,1,"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:E(2788,1,"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:E(2789,1,"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:E(2790,1,"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:E(2791,1,"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_nodenext_or_to_add_aliases_to_the_paths_option:E(2792,1,"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_t_2792","Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'nodenext', 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:E(2793,1,"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:E(2794,1,"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:E(2795,1,"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:E(2796,1,"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:E(2797,1,"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:E(2798,1,"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:E(2799,1,"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:E(2800,1,"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800","Expression produces a tuple type that is too large to represent."),This_condition_will_always_return_true_since_this_0_is_always_defined:E(2801,1,"This_condition_will_always_return_true_since_this_0_is_always_defined_2801","This condition will always return true since this '{0}' is always defined."),Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher:E(2802,1,"Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es201_2802","Type '{0}' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher."),Cannot_assign_to_private_method_0_Private_methods_are_not_writable:E(2803,1,"Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803","Cannot assign to private method '{0}'. Private methods are not writable."),Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name:E(2804,1,"Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name_2804","Duplicate identifier '{0}'. Static and instance elements cannot share the same private name."),Private_accessor_was_defined_without_a_getter:E(2806,1,"Private_accessor_was_defined_without_a_getter_2806","Private accessor was defined without a getter."),This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0:E(2807,1,"This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807","This syntax requires an imported helper named '{1}' with {2} parameters, which is not compatible with the one in '{0}'. Consider upgrading your version of '{0}'."),A_get_accessor_must_be_at_least_as_accessible_as_the_setter:E(2808,1,"A_get_accessor_must_be_at_least_as_accessible_as_the_setter_2808","A get accessor must be at least as accessible as the setter"),Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses:E(2809,1,"Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_d_2809","Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the whole assignment in parentheses."),Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments:E(2810,1,"Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_2810","Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments."),Initializer_for_property_0:E(2811,1,"Initializer_for_property_0_2811","Initializer for property '{0}'"),Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:E(2812,1,"Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom_2812","Property '{0}' does not exist on type '{1}'. Try changing the 'lib' compiler option to include 'dom'."),Class_declaration_cannot_implement_overload_list_for_0:E(2813,1,"Class_declaration_cannot_implement_overload_list_for_0_2813","Class declaration cannot implement overload list for '{0}'."),Function_with_bodies_can_only_merge_with_classes_that_are_ambient:E(2814,1,"Function_with_bodies_can_only_merge_with_classes_that_are_ambient_2814","Function with bodies can only merge with classes that are ambient."),arguments_cannot_be_referenced_in_property_initializers:E(2815,1,"arguments_cannot_be_referenced_in_property_initializers_2815","'arguments' cannot be referenced in property initializers."),Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class:E(2816,1,"Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class_2816","Cannot use 'this' in a static property initializer of a decorated class."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block:E(2817,1,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817","Property '{0}' has no initializer and is not definitely assigned in a class static block."),Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers:E(2818,1,"Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializer_2818","Duplicate identifier '{0}'. Compiler reserves name '{1}' when emitting 'super' references in static initializers."),Namespace_name_cannot_be_0:E(2819,1,"Namespace_name_cannot_be_0_2819","Namespace name cannot be '{0}'."),Type_0_is_not_assignable_to_type_1_Did_you_mean_2:E(2820,1,"Type_0_is_not_assignable_to_type_1_Did_you_mean_2_2820","Type '{0}' is not assignable to type '{1}'. Did you mean '{2}'?"),Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext:E(2821,1,"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2821","Import assertions are only supported when the '--module' option is set to 'esnext' or 'nodenext'."),Import_assertions_cannot_be_used_with_type_only_imports_or_exports:E(2822,1,"Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822","Import assertions cannot be used with type-only imports or exports."),Cannot_find_namespace_0_Did_you_mean_1:E(2833,1,"Cannot_find_namespace_0_Did_you_mean_1_2833","Cannot find namespace '{0}'. Did you mean '{1}'?"),Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path:E(2834,1,"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2834","Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path."),Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0:E(2835,1,"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2835","Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '{0}'?"),Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls:E(2836,1,"Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls_2836","Import assertions are not allowed on statements that transpile to commonjs 'require' calls."),Import_assertion_values_must_be_string_literal_expressions:E(2837,1,"Import_assertion_values_must_be_string_literal_expressions_2837","Import assertion values must be string literal expressions."),All_declarations_of_0_must_have_identical_constraints:E(2838,1,"All_declarations_of_0_must_have_identical_constraints_2838","All declarations of '{0}' must have identical constraints."),This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value:E(2839,1,"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839","This condition will always return '{0}' since JavaScript compares objects by reference, not value."),An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_classes:E(2840,1,"An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_clas_2840","An interface cannot extend a primitive type like '{0}'; an interface can only extend named types and classes"),The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_feature_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:E(2841,1,"The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_2841","The type of this expression cannot be named without a 'resolution-mode' assertion, which is an unstable feature. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation:E(2842,1,"_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842","'{0}' is an unused renaming of '{1}'. Did you intend to use it as a type annotation?"),We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here:E(2843,1,"We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here_2843","We can only write a type for '{0}' by adding a type for the entire parameter here."),Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:E(2844,1,"Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2844","Type of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),This_condition_will_always_return_0:E(2845,1,"This_condition_will_always_return_0_2845","This condition will always return '{0}'."),A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead:E(2846,1,"A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_f_2846","A declaration file cannot be imported without 'import type'. Did you mean to import an implementation file '{0}' instead?"),Import_declaration_0_is_using_private_name_1:E(4e3,1,"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:E(4002,1,"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:E(4004,1,"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:E(4006,1,"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:E(4008,1,"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:E(4010,1,"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:E(4012,1,"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:E(4014,1,"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:E(4016,1,"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:E(4019,1,"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:E(4020,1,"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:E(4021,1,"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:E(4022,1,"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:E(4023,1,"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:E(4024,1,"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:E(4025,1,"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:E(4026,1,"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:E(4027,1,"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:E(4028,1,"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:E(4029,1,"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:E(4030,1,"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:E(4031,1,"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:E(4032,1,"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:E(4033,1,"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:E(4034,1,"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:E(4035,1,"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:E(4036,1,"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:E(4037,1,"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:E(4038,1,"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:E(4039,1,"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:E(4040,1,"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:E(4041,1,"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:E(4042,1,"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:E(4043,1,"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:E(4044,1,"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:E(4045,1,"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:E(4046,1,"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:E(4047,1,"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:E(4048,1,"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:E(4049,1,"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:E(4050,1,"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:E(4051,1,"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:E(4052,1,"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:E(4053,1,"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:E(4054,1,"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:E(4055,1,"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:E(4056,1,"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:E(4057,1,"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:E(4058,1,"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:E(4059,1,"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:E(4060,1,"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:E(4061,1,"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:E(4062,1,"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:E(4063,1,"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:E(4064,1,"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:E(4065,1,"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:E(4066,1,"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:E(4067,1,"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:E(4068,1,"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:E(4069,1,"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:E(4070,1,"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:E(4071,1,"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:E(4072,1,"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:E(4073,1,"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:E(4074,1,"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:E(4075,1,"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:E(4076,1,"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:E(4077,1,"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:E(4078,1,"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:E(4081,1,"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:E(4082,1,"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:E(4083,1,"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:E(4084,1,"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}."),Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1:E(4085,1,"Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1_4085","Extends clause for inferred type '{0}' has or is using private name '{1}'."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:E(4090,1,"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:E(4091,1,"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:E(4092,1,"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:E(4094,1,"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:E(4095,1,"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:E(4096,1,"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:E(4097,1,"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:E(4098,1,"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:E(4099,1,"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:E(4100,1,"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:E(4101,1,"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:E(4102,1,"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:E(4103,1,"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:E(4104,1,"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:E(4105,1,"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:E(4106,1,"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:E(4107,1,"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:E(4108,1,"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:E(4109,1,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:E(4110,1,"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:E(4111,1,"Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111","Property '{0}' comes from an index signature, so it must be accessed with ['{0}']."),This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class:E(4112,1,"This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another__4112","This member cannot have an 'override' modifier because its containing class '{0}' does not extend another class."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0:E(4113,1,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_4113","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0:E(4114,1,"This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114","This member must have an 'override' modifier because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:E(4115,1,"This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115","This parameter property must have an 'override' modifier because it overrides a member in base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0:E(4116,1,"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116","This member must have an 'override' modifier because it overrides an abstract method that is declared in the base class '{0}'."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:E(4117,1,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you__4117","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'. Did you mean '{1}'?"),The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized:E(4118,1,"The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118","The type of this node cannot be serialized because its property '{0}' cannot be serialized."),This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:E(4119,1,"This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_4119","This member must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:E(4120,1,"This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120","This parameter property must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:E(4121,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_4121","This member cannot have a JSDoc comment with an '@override' tag because its containing class '{0}' does not extend another class."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:E(4122,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122","This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:E(4123,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123","This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"),Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:E(4124,1,"Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124","Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:E(4125,1,"resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_wi_4125","'resolution-mode' assertions are unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),The_current_host_does_not_support_the_0_option:E(5001,1,"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:E(5009,1,"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:E(5010,1,"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:E(5012,1,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:E(5014,1,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:E(5023,1,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:E(5024,1,"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:E(5025,1,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),Could_not_write_file_0_Colon_1:E(5033,1,"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:E(5042,1,"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:E(5047,1,"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:E(5048,1,"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:E(5051,1,"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:E(5052,1,"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:E(5053,1,"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:E(5054,1,"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:E(5055,1,"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:E(5056,1,"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:E(5057,1,"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:E(5058,1,"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:E(5059,1,"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:E(5061,1,"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:E(5062,1,"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:E(5063,1,"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:E(5064,1,"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:E(5065,1,"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:E(5066,1,"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:E(5067,1,"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:E(5068,1,"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:E(5069,1,"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_when_moduleResolution_is_set_to_classic:E(5070,1,"Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070","Option '--resolveJsonModule' cannot be specified when 'moduleResolution' is set to 'classic'."),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:E(5071,1,"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:E(5072,1,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:E(5073,1,"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:E(5074,1,"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:E(5075,1,"_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:E(5076,1,"_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:E(5077,1,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:E(5078,1,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:E(5079,1,"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:E(5080,1,"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:E(5081,1,"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:E(5082,1,"_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:E(5083,1,"Cannot_read_file_0_5083","Cannot read file '{0}'."),Tuple_members_must_all_have_names_or_all_not_have_names:E(5084,1,"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:E(5085,1,"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:E(5086,1,"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:E(5087,1,"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:E(5088,1,"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:E(5089,1,"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:E(5090,1,"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_0_is_enabled:E(5091,1,"Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled_5091","Option 'preserveConstEnums' cannot be disabled when '{0}' is enabled."),The_root_value_of_a_0_file_must_be_an_object:E(5092,1,"The_root_value_of_a_0_file_must_be_an_object_5092","The root value of a '{0}' file must be an object."),Compiler_option_0_may_only_be_used_with_build:E(5093,1,"Compiler_option_0_may_only_be_used_with_build_5093","Compiler option '--{0}' may only be used with '--build'."),Compiler_option_0_may_not_be_used_with_build:E(5094,1,"Compiler_option_0_may_not_be_used_with_build_5094","Compiler option '--{0}' may not be used with '--build'."),Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later:E(5095,1,"Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later_5095","Option '{0}' can only be used when 'module' is set to 'es2015' or later."),Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set:E(5096,1,"Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set_5096","Option 'allowImportingTsExtensions' can only be used when either 'noEmit' or 'emitDeclarationOnly' is set."),An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled:E(5097,1,"An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled_5097","An import path can only end with a '{0}' extension when 'allowImportingTsExtensions' is enabled."),Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler:E(5098,1,"Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler_5098","Option '{0}' can only be used when 'moduleResolution' is set to 'node16', 'nodenext', or 'bundler'."),Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error:E(5101,1,"Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprec_5101",`Option '{0}' is deprecated and will stop functioning in TypeScript {1}. Specify compilerOption '"ignoreDeprecations": "{2}"' to silence this error.`),Option_0_has_been_removed_Please_remove_it_from_your_configuration:E(5102,1,"Option_0_has_been_removed_Please_remove_it_from_your_configuration_5102","Option '{0}' has been removed. Please remove it from your configuration."),Invalid_value_for_ignoreDeprecations:E(5103,1,"Invalid_value_for_ignoreDeprecations_5103","Invalid value for '--ignoreDeprecations'."),Option_0_is_redundant_and_cannot_be_specified_with_option_1:E(5104,1,"Option_0_is_redundant_and_cannot_be_specified_with_option_1_5104","Option '{0}' is redundant and cannot be specified with option '{1}'."),Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System:E(5105,1,"Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105","Option 'verbatimModuleSyntax' cannot be used when 'module' is set to 'UMD', 'AMD', or 'System'."),Use_0_instead:E(5106,3,"Use_0_instead_5106","Use '{0}' instead."),Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error:E(5107,1,"Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDepr_5107",`Option '{0}={1}' is deprecated and will stop functioning in TypeScript {2}. Specify compilerOption '"ignoreDeprecations": "{3}"' to silence this error.`),Option_0_1_has_been_removed_Please_remove_it_from_your_configuration:E(5108,1,"Option_0_1_has_been_removed_Please_remove_it_from_your_configuration_5108","Option '{0}={1}' has been removed. Please remove it from your configuration."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:E(6e3,3,"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:E(6001,3,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:E(6002,3,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:E(6004,3,"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:E(6005,3,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:E(6006,3,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:E(6007,3,"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:E(6008,3,"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:E(6009,3,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:E(6010,3,"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:E(6011,3,"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:E(6012,3,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:E(6013,3,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:E(6014,3,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:E(6015,3,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:E(6016,3,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:E(6017,3,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:E(6019,3,"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:E(6020,3,"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:E(6023,3,"Syntax_Colon_0_6023","Syntax: {0}"),options:E(6024,3,"options_6024","options"),file:E(6025,3,"file_6025","file"),Examples_Colon_0:E(6026,3,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:E(6027,3,"Options_Colon_6027","Options:"),Version_0:E(6029,3,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:E(6030,3,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:E(6031,3,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:E(6032,3,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:E(6034,3,"KIND_6034","KIND"),FILE:E(6035,3,"FILE_6035","FILE"),VERSION:E(6036,3,"VERSION_6036","VERSION"),LOCATION:E(6037,3,"LOCATION_6037","LOCATION"),DIRECTORY:E(6038,3,"DIRECTORY_6038","DIRECTORY"),STRATEGY:E(6039,3,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:E(6040,3,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Errors_Files:E(6041,3,"Errors_Files_6041","Errors Files"),Generates_corresponding_map_file:E(6043,3,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:E(6044,1,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:E(6045,1,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:E(6046,1,"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:E(6048,1,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'."),Unable_to_open_file_0:E(6050,1,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:E(6051,1,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:E(6052,3,"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:E(6053,1,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:E(6054,1,"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:E(6055,3,"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:E(6056,3,"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:E(6058,3,"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:E(6059,1,"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:E(6060,3,"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:E(6061,3,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:E(6064,1,"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:E(6065,3,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:E(6066,3,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:E(6070,3,"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:E(6071,3,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:E(6072,3,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:E(6073,3,"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:E(6074,3,"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:E(6075,3,"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:E(6076,3,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:E(6077,3,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:E(6078,3,"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:E(6079,3,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation:E(6080,3,"Specify_JSX_code_generation_6080","Specify JSX code generation."),File_0_has_an_unsupported_extension_so_skipping_it:E(6081,3,"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:E(6082,1,"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:E(6083,3,"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:E(6084,3,"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:E(6085,3,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:E(6086,3,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:E(6087,3,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:E(6088,3,"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:E(6089,3,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:E(6090,3,"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:E(6091,3,"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:E(6092,3,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:E(6093,3,"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:E(6094,3,"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_types_Colon_1:E(6095,3,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1_6095","Loading module as file / folder, candidate module location '{0}', target file types: {1}."),File_0_does_not_exist:E(6096,3,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exists_use_it_as_a_name_resolution_result:E(6097,3,"File_0_exists_use_it_as_a_name_resolution_result_6097","File '{0}' exists - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_types_Colon_1:E(6098,3,"Loading_module_0_from_node_modules_folder_target_file_types_Colon_1_6098","Loading module '{0}' from 'node_modules' folder, target file types: {1}."),Found_package_json_at_0:E(6099,3,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:E(6100,3,"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:E(6101,3,"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:E(6102,3,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:E(6104,3,"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:E(6105,3,"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:E(6106,3,"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:E(6107,3,"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:E(6108,3,"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:E(6109,3,"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:E(6110,3,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:E(6111,3,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:E(6112,3,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:E(6113,3,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:E(6114,1,"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:E(6115,3,"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:E(6116,3,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:E(6119,3,"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:E(6120,3,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:E(6121,3,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:E(6122,3,"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:E(6123,3,"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:E(6124,3,"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:E(6125,3,"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:E(6126,3,"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:E(6127,3,"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:E(6128,3,"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:E(6130,3,"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:E(6131,1,"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:E(6132,3,"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:E(6133,1,"_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:E(6134,3,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:E(6135,3,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:E(6136,3,"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:E(6137,1,"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:E(6138,1,"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:E(6139,3,"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:E(6140,1,"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:E(6141,3,"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:E(6142,1,"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:E(6144,3,"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:E(6145,3,"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:E(6146,3,"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:E(6147,3,"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:E(6148,3,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:E(6149,3,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:E(6150,3,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:E(6151,3,"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:E(6152,3,"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:E(6153,3,"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:E(6154,3,"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:E(6155,3,"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:E(6156,3,"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:E(6157,3,"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:E(6158,3,"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:E(6159,3,"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:E(6160,3,"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:E(6161,3,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:E(6162,3,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:E(6163,3,"The_character_set_of_the_input_files_6163","The character set of the input files."),Do_not_truncate_error_messages:E(6165,3,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:E(6166,3,"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:E(6167,3,"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:E(6168,3,"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:E(6169,3,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:E(6170,3,"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:E(6171,3,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:E(6179,3,"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:E(6180,3,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),Scoped_package_detected_looking_in_0:E(6182,3,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:E(6183,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_6183","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:E(6184,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package__6184","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Enable_strict_checking_of_function_types:E(6186,3,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:E(6187,3,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:E(6188,1,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:E(6189,1,"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:E(6191,3,"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:E(6192,1,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",!0),Found_1_error_Watching_for_file_changes:E(6193,3,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:E(6194,3,"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:E(6195,3,"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:E(6196,1,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:E(6197,3,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:E(6198,1,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:E(6199,1,"All_variables_are_unused_6199","All variables are unused.",!0),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:E(6200,1,"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:E(6201,3,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:E(6202,1,"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:E(6203,3,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:E(6204,3,"and_here_6204","and here."),All_type_parameters_are_unused:E(6205,1,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:E(6206,3,"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:E(6207,3,"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:E(6208,3,"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:E(6209,3,"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:E(6210,3,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:E(6211,3,"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:E(6212,3,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:E(6213,3,"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:E(6214,3,"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:E(6215,3,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:E(6216,3,"Found_1_error_6216","Found 1 error."),Found_0_errors:E(6217,3,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:E(6218,3,"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:E(6219,3,"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:E(6220,3,"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:E(6221,3,"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:E(6222,3,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:E(6223,3,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:E(6224,3,"Disable_solution_searching_for_this_project_6224","Disable solution searching for this project."),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling_UseFsEvents_UseFsEventsOnParentDirectory:E(6225,3,"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225","Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling:E(6226,3,"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226","Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority_FixedChunkSize:E(6227,3,"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227","Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority', 'FixedChunkSize'."),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:E(6229,1,"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:E(6230,1,"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:E(6231,1,"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:E(6232,1,"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:E(6233,1,"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:E(6234,1,"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:E(6235,3,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:E(6236,1,"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:E(6237,3,"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:E(6238,1,"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238","Specify the module specifier to be used to import the 'jsx' and 'jsxs' factory functions from. eg, react"),File_0_exists_according_to_earlier_cached_lookups:E(6239,3,"File_0_exists_according_to_earlier_cached_lookups_6239","File '{0}' exists according to earlier cached lookups."),File_0_does_not_exist_according_to_earlier_cached_lookups:E(6240,3,"File_0_does_not_exist_according_to_earlier_cached_lookups_6240","File '{0}' does not exist according to earlier cached lookups."),Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1:E(6241,3,"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241","Resolution for type reference directive '{0}' was found in cache from location '{1}'."),Resolving_type_reference_directive_0_containing_file_1:E(6242,3,"Resolving_type_reference_directive_0_containing_file_1_6242","======== Resolving type reference directive '{0}', containing file '{1}'. ========"),Interpret_optional_property_types_as_written_rather_than_adding_undefined:E(6243,3,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:E(6244,3,"Modules_6244","Modules"),File_Management:E(6245,3,"File_Management_6245","File Management"),Emit:E(6246,3,"Emit_6246","Emit"),JavaScript_Support:E(6247,3,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:E(6248,3,"Type_Checking_6248","Type Checking"),Editor_Support:E(6249,3,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:E(6250,3,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:E(6251,3,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:E(6252,3,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:E(6253,3,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:E(6254,3,"Language_and_Environment_6254","Language and Environment"),Projects:E(6255,3,"Projects_6255","Projects"),Output_Formatting:E(6256,3,"Output_Formatting_6256","Output Formatting"),Completeness:E(6257,3,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:E(6258,1,"_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file_6258","'{0}' should be set inside the 'compilerOptions' object of the config json file"),Found_1_error_in_1:E(6259,3,"Found_1_error_in_1_6259","Found 1 error in {1}"),Found_0_errors_in_the_same_file_starting_at_Colon_1:E(6260,3,"Found_0_errors_in_the_same_file_starting_at_Colon_1_6260","Found {0} errors in the same file, starting at: {1}"),Found_0_errors_in_1_files:E(6261,3,"Found_0_errors_in_1_files_6261","Found {0} errors in {1} files."),File_name_0_has_a_1_extension_looking_up_2_instead:E(6262,3,"File_name_0_has_a_1_extension_looking_up_2_instead_6262","File name '{0}' has a '{1}' extension - looking up '{2}' instead."),Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set:E(6263,1,"Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set_6263","Module '{0}' was resolved to '{1}', but '--allowArbitraryExtensions' is not set."),Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present:E(6264,3,"Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present_6264","Enable importing files with any extension, provided a declaration file is present."),Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve:E(6270,3,"Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve_6270","Directory '{0}' has no containing package.json scope. Imports will not resolve."),Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1:E(6271,3,"Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6271","Import specifier '{0}' does not exist in package.json scope at path '{1}'."),Invalid_import_specifier_0_has_no_possible_resolutions:E(6272,3,"Invalid_import_specifier_0_has_no_possible_resolutions_6272","Invalid import specifier '{0}' has no possible resolutions."),package_json_scope_0_has_no_imports_defined:E(6273,3,"package_json_scope_0_has_no_imports_defined_6273","package.json scope '{0}' has no imports defined."),package_json_scope_0_explicitly_maps_specifier_1_to_null:E(6274,3,"package_json_scope_0_explicitly_maps_specifier_1_to_null_6274","package.json scope '{0}' explicitly maps specifier '{1}' to null."),package_json_scope_0_has_invalid_type_for_target_of_specifier_1:E(6275,3,"package_json_scope_0_has_invalid_type_for_target_of_specifier_1_6275","package.json scope '{0}' has invalid type for target of specifier '{1}'"),Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1:E(6276,3,"Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6276","Export specifier '{0}' does not exist in package.json scope at path '{1}'."),Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update:E(6277,3,"Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_i_6277","Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update."),There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings:E(6278,3,"There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278",`There are types at '{0}', but this result could not be resolved when respecting package.json "exports". The '{1}' library may need to update its package.json or typings.`),Enable_project_compilation:E(6302,3,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:E(6304,1,"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:E(6305,1,"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:E(6306,1,"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:E(6307,1,"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:E(6308,1,"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:E(6309,1,"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:E(6310,1,"Referenced_project_0_may_not_disable_emit_6310","Referenced project '{0}' may not disable emit."),Project_0_is_out_of_date_because_output_1_is_older_than_input_2:E(6350,3,"Project_0_is_out_of_date_because_output_1_is_older_than_input_2_6350","Project '{0}' is out of date because output '{1}' is older than input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2:E(6351,3,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:E(6352,3,"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:E(6353,3,"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:E(6354,3,"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:E(6355,3,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:E(6356,3,"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:E(6357,3,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:E(6358,3,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:E(6359,3,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:E(6361,3,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:E(6362,3,"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:E(6363,3,"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:E(6364,3,"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:E(6365,3,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects."),Show_what_would_be_built_or_deleted_if_specified_with_clean:E(6367,3,"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367","Show what would be built (or deleted, if specified with '--clean')"),Option_build_must_be_the_first_command_line_argument:E(6369,1,"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:E(6370,1,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:E(6371,3,"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:E(6372,3,"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:E(6373,3,"Updating_output_of_project_0_6373","Updating output of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:E(6374,3,"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:E(6375,3,"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:E(6376,3,"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:E(6377,1,"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}'"),Composite_projects_may_not_disable_incremental_compilation:E(6379,1,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:E(6380,3,"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:E(6381,3,"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:E(6382,3,"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:E(6383,3,"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:E(6384,3,"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:E(6385,2,"_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:E(6386,3,"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:E(6387,2,"The_signature_0_of_1_is_deprecated_6387","The signature '{0}' of '{1}' is deprecated.",void 0,void 0,!0),Project_0_is_being_forcibly_rebuilt:E(6388,3,"Project_0_is_being_forcibly_rebuilt_6388","Project '{0}' is being forcibly rebuilt"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:E(6389,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved_6389","Reusing resolution of module '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:E(6390,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6390","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:E(6391,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved:E(6392,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved_6392","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:E(6393,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6393","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:E(6394,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6394","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:E(6395,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved_6395","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:E(6396,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6396","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:E(6397,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6397","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:E(6398,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_re_6398","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted:E(6399,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitte_6399","Project '{0}' is out of date because buildinfo file '{1}' indicates that some of the changes were not emitted"),Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files:E(6400,3,"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400","Project '{0}' is up to date but needs to update timestamps of output files that are older than input files"),Project_0_is_out_of_date_because_there_was_error_reading_file_1:E(6401,3,"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401","Project '{0}' is out of date because there was error reading file '{1}'"),Resolving_in_0_mode_with_conditions_1:E(6402,3,"Resolving_in_0_mode_with_conditions_1_6402","Resolving in {0} mode with conditions {1}."),Matched_0_condition_1:E(6403,3,"Matched_0_condition_1_6403","Matched '{0}' condition '{1}'."),Using_0_subpath_1_with_target_2:E(6404,3,"Using_0_subpath_1_with_target_2_6404","Using '{0}' subpath '{1}' with target '{2}'."),Saw_non_matching_condition_0:E(6405,3,"Saw_non_matching_condition_0_6405","Saw non-matching condition '{0}'."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions:E(6406,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions_6406","Project '{0}' is out of date because buildinfo file '{1}' indicates there is change in compilerOptions"),Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set:E(6407,3,"Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noE_6407","Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set."),Use_the_package_json_exports_field_when_resolving_package_imports:E(6408,3,"Use_the_package_json_exports_field_when_resolving_package_imports_6408","Use the package.json 'exports' field when resolving package imports."),Use_the_package_json_imports_field_when_resolving_imports:E(6409,3,"Use_the_package_json_imports_field_when_resolving_imports_6409","Use the package.json 'imports' field when resolving imports."),Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports:E(6410,3,"Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports_6410","Conditions to set in addition to the resolver-specific defaults when resolving imports."),true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false:E(6411,3,"true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411","`true` when 'moduleResolution' is 'node16', 'nodenext', or 'bundler'; otherwise `false`."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more:E(6412,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_6412","Project '{0}' is out of date because buildinfo file '{1}' indicates that file '{2}' was root file of compilation but not any more."),Entering_conditional_exports:E(6413,3,"Entering_conditional_exports_6413","Entering conditional exports."),Resolved_under_condition_0:E(6414,3,"Resolved_under_condition_0_6414","Resolved under condition '{0}'."),Failed_to_resolve_under_condition_0:E(6415,3,"Failed_to_resolve_under_condition_0_6415","Failed to resolve under condition '{0}'."),Exiting_conditional_exports:E(6416,3,"Exiting_conditional_exports_6416","Exiting conditional exports."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:E(6500,3,"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:E(6501,3,"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:E(6502,3,"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:E(6503,3,"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:E(6504,1,"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:E(6505,3,"Print_names_of_files_and_the_reason_they_are_part_of_the_compilation_6505","Print names of files and the reason they are part of the compilation."),Consider_adding_a_declare_modifier_to_this_class:E(6506,3,"Consider_adding_a_declare_modifier_to_this_class_6506","Consider adding a 'declare' modifier to this class."),Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files:E(6600,3,"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these__6600","Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files."),Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export:E(6601,3,"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601","Allow 'import x from y' when a module doesn't have a default export."),Allow_accessing_UMD_globals_from_modules:E(6602,3,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:E(6603,3,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:E(6604,3,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:E(6605,3,"Ensure_use_strict_is_always_emitted_6605","Ensure 'use strict' is always emitted."),Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:E(6606,3,"Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606","Have recompiles in projects that use 'incremental' and 'watch' mode assume that changes within a file will only affect files directly depending on it."),Specify_the_base_directory_to_resolve_non_relative_module_names:E(6607,3,"Specify_the_base_directory_to_resolve_non_relative_module_names_6607","Specify the base directory to resolve non-relative module names."),No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files:E(6608,3,"No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files_6608","No longer supported. In early versions, manually set the text encoding for reading files."),Enable_error_reporting_in_type_checked_JavaScript_files:E(6609,3,"Enable_error_reporting_in_type_checked_JavaScript_files_6609","Enable error reporting in type-checked JavaScript files."),Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references:E(6611,3,"Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611","Enable constraints that allow a TypeScript project to be used with project references."),Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project:E(6612,3,"Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project_6612","Generate .d.ts files from TypeScript and JavaScript files in your project."),Specify_the_output_directory_for_generated_declaration_files:E(6613,3,"Specify_the_output_directory_for_generated_declaration_files_6613","Specify the output directory for generated declaration files."),Create_sourcemaps_for_d_ts_files:E(6614,3,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:E(6615,3,"Output_compiler_performance_information_after_building_6615","Output compiler performance information after building."),Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project:E(6616,3,"Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616","Disables inference for type acquisition by looking at filenames in a project."),Reduce_the_number_of_projects_loaded_automatically_by_TypeScript:E(6617,3,"Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617","Reduce the number of projects loaded automatically by TypeScript."),Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server:E(6618,3,"Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server_6618","Remove the 20mb cap on total source code size for JavaScript files in the TypeScript language server."),Opt_a_project_out_of_multi_project_reference_checking_when_editing:E(6619,3,"Opt_a_project_out_of_multi_project_reference_checking_when_editing_6619","Opt a project out of multi-project reference checking when editing."),Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects:E(6620,3,"Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects_6620","Disable preferring source files instead of declaration files when referencing composite projects."),Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration:E(6621,3,"Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621","Emit more compliant, but verbose and less performant JavaScript for iteration."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:E(6622,3,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Only_output_d_ts_files_and_not_JavaScript_files:E(6623,3,"Only_output_d_ts_files_and_not_JavaScript_files_6623","Only output d.ts files and not JavaScript files."),Emit_design_type_metadata_for_decorated_declarations_in_source_files:E(6624,3,"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624","Emit design-type metadata for decorated declarations in source files."),Disable_the_type_acquisition_for_JavaScript_projects:E(6625,3,"Disable_the_type_acquisition_for_JavaScript_projects_6625","Disable the type acquisition for JavaScript projects"),Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility:E(6626,3,"Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626","Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility."),Filters_results_from_the_include_option:E(6627,3,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:E(6628,3,"Remove_a_list_of_directories_from_the_watch_process_6628","Remove a list of directories from the watch process."),Remove_a_list_of_files_from_the_watch_mode_s_processing:E(6629,3,"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629","Remove a list of files from the watch mode's processing."),Enable_experimental_support_for_legacy_experimental_decorators:E(6630,3,"Enable_experimental_support_for_legacy_experimental_decorators_6630","Enable experimental support for legacy experimental decorators."),Print_files_read_during_the_compilation_including_why_it_was_included:E(6631,3,"Print_files_read_during_the_compilation_including_why_it_was_included_6631","Print files read during the compilation including why it was included."),Output_more_detailed_compiler_performance_information_after_building:E(6632,3,"Output_more_detailed_compiler_performance_information_after_building_6632","Output more detailed compiler performance information after building."),Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_are_inherited:E(6633,3,"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633","Specify one or more path or node module references to base configuration files from which settings are inherited."),Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers:E(6634,3,"Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers_6634","Specify what approach the watcher should use if the system runs out of native file watchers."),Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include:E(6635,3,"Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include_6635","Include a list of files. This does not support glob patterns, as opposed to `include`."),Build_all_projects_including_those_that_appear_to_be_up_to_date:E(6636,3,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6636","Build all projects, including those that appear to be up to date."),Ensure_that_casing_is_correct_in_imports:E(6637,3,"Ensure_that_casing_is_correct_in_imports_6637","Ensure that casing is correct in imports."),Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging:E(6638,3,"Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638","Emit a v8 CPU profile of the compiler run for debugging."),Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file:E(6639,3,"Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639","Allow importing helper functions from tslib once per project, instead of including them per-file."),Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation:E(6641,3,"Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641","Specify a list of glob patterns that match files to be included in compilation."),Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects:E(6642,3,"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642","Save .tsbuildinfo files to allow for incremental compilation of projects."),Include_sourcemap_files_inside_the_emitted_JavaScript:E(6643,3,"Include_sourcemap_files_inside_the_emitted_JavaScript_6643","Include sourcemap files inside the emitted JavaScript."),Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript:E(6644,3,"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644","Include source code in the sourcemaps inside the emitted JavaScript."),Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports:E(6645,3,"Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645","Ensure that each file can be safely transpiled without relying on other imports."),Specify_what_JSX_code_is_generated:E(6646,3,"Specify_what_JSX_code_is_generated_6646","Specify what JSX code is generated."),Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h:E(6647,3,"Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647","Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'."),Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment:E(6648,3,"Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragme_6648","Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'."),Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk:E(6649,3,"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649","Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'."),Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option:E(6650,3,"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650","Make keyof only return strings instead of string, numbers or symbols. Legacy option."),Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment:E(6651,3,"Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment_6651","Specify a set of bundled library declaration files that describe the target runtime environment."),Print_the_names_of_emitted_files_after_a_compilation:E(6652,3,"Print_the_names_of_emitted_files_after_a_compilation_6652","Print the names of emitted files after a compilation."),Print_all_of_the_files_read_during_the_compilation:E(6653,3,"Print_all_of_the_files_read_during_the_compilation_6653","Print all of the files read during the compilation."),Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit:E(6654,3,"Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit_6654","Set the language of the messaging from TypeScript. This does not affect emit."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:E(6655,3,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs:E(6656,3,"Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656","Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'."),Specify_what_module_code_is_generated:E(6657,3,"Specify_what_module_code_is_generated_6657","Specify what module code is generated."),Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier:E(6658,3,"Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier_6658","Specify how TypeScript looks up a file from a given module specifier."),Set_the_newline_character_for_emitting_files:E(6659,3,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:E(6660,3,"Disable_emitting_files_from_a_compilation_6660","Disable emitting files from a compilation."),Disable_generating_custom_helper_functions_like_extends_in_compiled_output:E(6661,3,"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661","Disable generating custom helper functions like '__extends' in compiled output."),Disable_emitting_files_if_any_type_checking_errors_are_reported:E(6662,3,"Disable_emitting_files_if_any_type_checking_errors_are_reported_6662","Disable emitting files if any type checking errors are reported."),Disable_truncating_types_in_error_messages:E(6663,3,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:E(6664,3,"Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664","Enable error reporting for fallthrough cases in switch statements."),Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type:E(6665,3,"Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665","Enable error reporting for expressions and declarations with an implied 'any' type."),Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier:E(6666,3,"Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier_6666","Ensure overriding members in derived classes are marked with an override modifier."),Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function:E(6667,3,"Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667","Enable error reporting for codepaths that do not explicitly return in a function."),Enable_error_reporting_when_this_is_given_the_type_any:E(6668,3,"Enable_error_reporting_when_this_is_given_the_type_any_6668","Enable error reporting when 'this' is given the type 'any'."),Disable_adding_use_strict_directives_in_emitted_JavaScript_files:E(6669,3,"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669","Disable adding 'use strict' directives in emitted JavaScript files."),Disable_including_any_library_files_including_the_default_lib_d_ts:E(6670,3,"Disable_including_any_library_files_including_the_default_lib_d_ts_6670","Disable including any library files, including the default lib.d.ts."),Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type:E(6671,3,"Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671","Enforces using indexed accessors for keys declared using an indexed type."),Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project:E(6672,3,"Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672","Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:E(6673,3,"Disable_strict_checking_of_generic_signatures_in_function_types_6673","Disable strict checking of generic signatures in function types."),Add_undefined_to_a_type_when_accessed_using_an_index:E(6674,3,"Add_undefined_to_a_type_when_accessed_using_an_index_6674","Add 'undefined' to a type when accessed using an index."),Enable_error_reporting_when_local_variables_aren_t_read:E(6675,3,"Enable_error_reporting_when_local_variables_aren_t_read_6675","Enable error reporting when local variables aren't read."),Raise_an_error_when_a_function_parameter_isn_t_read:E(6676,3,"Raise_an_error_when_a_function_parameter_isn_t_read_6676","Raise an error when a function parameter isn't read."),Deprecated_setting_Use_outFile_instead:E(6677,3,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use 'outFile' instead."),Specify_an_output_folder_for_all_emitted_files:E(6678,3,"Specify_an_output_folder_for_all_emitted_files_6678","Specify an output folder for all emitted files."),Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output:E(6679,3,"Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designa_6679","Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output."),Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations:E(6680,3,"Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations_6680","Specify a set of entries that re-map imports to additional lookup locations."),Specify_a_list_of_language_service_plugins_to_include:E(6681,3,"Specify_a_list_of_language_service_plugins_to_include_6681","Specify a list of language service plugins to include."),Disable_erasing_const_enum_declarations_in_generated_code:E(6682,3,"Disable_erasing_const_enum_declarations_in_generated_code_6682","Disable erasing 'const enum' declarations in generated code."),Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node:E(6683,3,"Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node_6683","Disable resolving symlinks to their realpath. This correlates to the same flag in node."),Disable_wiping_the_console_in_watch_mode:E(6684,3,"Disable_wiping_the_console_in_watch_mode_6684","Disable wiping the console in watch mode."),Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read:E(6685,3,"Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read_6685","Enable color and formatting in TypeScript's output to make compiler errors easier to read."),Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit:E(6686,3,"Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686","Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit."),Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references:E(6687,3,"Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687","Specify an array of objects that specify paths for projects. Used in project references."),Disable_emitting_comments:E(6688,3,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:E(6689,3,"Enable_importing_json_files_6689","Enable importing .json files."),Specify_the_root_folder_within_your_source_files:E(6690,3,"Specify_the_root_folder_within_your_source_files_6690","Specify the root folder within your source files."),Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules:E(6691,3,"Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules_6691","Allow multiple folders to be treated as one when resolving modules."),Skip_type_checking_d_ts_files_that_are_included_with_TypeScript:E(6692,3,"Skip_type_checking_d_ts_files_that_are_included_with_TypeScript_6692","Skip type checking .d.ts files that are included with TypeScript."),Skip_type_checking_all_d_ts_files:E(6693,3,"Skip_type_checking_all_d_ts_files_6693","Skip type checking all .d.ts files."),Create_source_map_files_for_emitted_JavaScript_files:E(6694,3,"Create_source_map_files_for_emitted_JavaScript_files_6694","Create source map files for emitted JavaScript files."),Specify_the_root_path_for_debuggers_to_find_the_reference_source_code:E(6695,3,"Specify_the_root_path_for_debuggers_to_find_the_reference_source_code_6695","Specify the root path for debuggers to find the reference source code."),Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function:E(6697,3,"Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697","Check that the arguments for 'bind', 'call', and 'apply' methods match the original function."),When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible:E(6698,3,"When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible_6698","When assigning functions, check to ensure parameters and the return values are subtype-compatible."),When_type_checking_take_into_account_null_and_undefined:E(6699,3,"When_type_checking_take_into_account_null_and_undefined_6699","When type checking, take into account 'null' and 'undefined'."),Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor:E(6700,3,"Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700","Check for class properties that are declared but not set in the constructor."),Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments:E(6701,3,"Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701","Disable emitting declarations that have '@internal' in their JSDoc comments."),Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals:E(6702,3,"Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals_6702","Disable reporting of excess property errors during the creation of object literals."),Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures:E(6703,3,"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703","Suppress 'noImplicitAny' errors when indexing objects that lack index signatures."),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:E(6704,3,"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704","Synchronously call callbacks and update the state of directory watchers on platforms that don`t support recursive watching natively."),Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations:E(6705,3,"Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705","Set the JavaScript language version for emitted JavaScript and include compatible library declarations."),Log_paths_used_during_the_moduleResolution_process:E(6706,3,"Log_paths_used_during_the_moduleResolution_process_6706","Log paths used during the 'moduleResolution' process."),Specify_the_path_to_tsbuildinfo_incremental_compilation_file:E(6707,3,"Specify_the_path_to_tsbuildinfo_incremental_compilation_file_6707","Specify the path to .tsbuildinfo incremental compilation file."),Specify_options_for_automatic_acquisition_of_declaration_files:E(6709,3,"Specify_options_for_automatic_acquisition_of_declaration_files_6709","Specify options for automatic acquisition of declaration files."),Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types:E(6710,3,"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710","Specify multiple folders that act like './node_modules/@types'."),Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file:E(6711,3,"Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file_6711","Specify type package names to be included without being referenced in a source file."),Emit_ECMAScript_standard_compliant_class_fields:E(6712,3,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:E(6713,3,"Enable_verbose_logging_6713","Enable verbose logging."),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:E(6714,3,"Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality_6714","Specify how directories are watched on systems that lack recursive file-watching functionality."),Specify_how_the_TypeScript_watch_mode_works:E(6715,3,"Specify_how_the_TypeScript_watch_mode_works_6715","Specify how the TypeScript watch mode works."),Require_undeclared_properties_from_index_signatures_to_use_element_accesses:E(6717,3,"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717","Require undeclared properties from index signatures to use element accesses."),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:E(6718,3,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718","Specify emit/checking behavior for imports that are only used for types."),Default_catch_clause_variables_as_unknown_instead_of_any:E(6803,3,"Default_catch_clause_variables_as_unknown_instead_of_any_6803","Default catch clause variables as 'unknown' instead of 'any'."),Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting:E(6804,3,"Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_i_6804","Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting."),one_of_Colon:E(6900,3,"one_of_Colon_6900","one of:"),one_or_more_Colon:E(6901,3,"one_or_more_Colon_6901","one or more:"),type_Colon:E(6902,3,"type_Colon_6902","type:"),default_Colon:E(6903,3,"default_Colon_6903","default:"),module_system_or_esModuleInterop:E(6904,3,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:E(6905,3,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:E(6906,3,"false_unless_composite_is_set_6906","`false`, unless `composite` is set"),node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified:E(6907,3,"node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907",'`["node_modules", "bower_components", "jspm_packages"]`, plus the value of `outDir` if one is specified.'),if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk:E(6908,3,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:E(6909,3,"true_if_composite_false_otherwise_6909","`true` if `composite`, `false` otherwise"),module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node:E(69010,3,"module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010","module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`"),Computed_from_the_list_of_input_files:E(6911,3,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:E(6912,3,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:E(6913,3,"You_can_learn_about_all_of_the_compiler_options_at_0_6913","You can learn about all of the compiler options at {0}"),Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon:E(6914,3,"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914","Including --watch, -w will start watching the current project for the file changes. Once set, you can config watch mode with:"),Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0:E(6915,3,"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915","Using --build, -b will make tsc behave more like a build orchestrator than a compiler. This is used to trigger building composite projects which you can learn more about at {0}"),COMMON_COMMANDS:E(6916,3,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:E(6917,3,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:E(6918,3,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:E(6919,3,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:E(6920,3,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:E(6921,3,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:E(6922,3,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:E(6923,3,"Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923","Compiles the current project (tsconfig.json in the working directory.)"),Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options:E(6924,3,"Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924","Ignoring tsconfig.json, compiles the specified files with default compiler options."),Build_a_composite_project_in_the_working_directory:E(6925,3,"Build_a_composite_project_in_the_working_directory_6925","Build a composite project in the working directory."),Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory:E(6926,3,"Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory_6926","Creates a tsconfig.json with the recommended settings in the working directory."),Compiles_the_TypeScript_project_located_at_the_specified_path:E(6927,3,"Compiles_the_TypeScript_project_located_at_the_specified_path_6927","Compiles the TypeScript project located at the specified path."),An_expanded_version_of_this_information_showing_all_possible_compiler_options:E(6928,3,"An_expanded_version_of_this_information_showing_all_possible_compiler_options_6928","An expanded version of this information, showing all possible compiler options"),Compiles_the_current_project_with_additional_settings:E(6929,3,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),true_for_ES2022_and_above_including_ESNext:E(6930,3,"true_for_ES2022_and_above_including_ESNext_6930","`true` for ES2022 and above, including ESNext."),List_of_file_name_suffixes_to_search_when_resolving_a_module:E(6931,1,"List_of_file_name_suffixes_to_search_when_resolving_a_module_6931","List of file name suffixes to search when resolving a module."),Variable_0_implicitly_has_an_1_type:E(7005,1,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:E(7006,1,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:E(7008,1,"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:E(7009,1,"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:E(7010,1,"_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:E(7011,1,"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."),This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation:E(7012,1,"This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation_7012","This overload implicitly returns the type '{0}' because it lacks a return type annotation."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:E(7013,1,"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:E(7014,1,"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:E(7015,1,"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:E(7016,1,"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:E(7017,1,"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:E(7018,1,"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:E(7019,1,"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:E(7020,1,"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:E(7022,1,"_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:E(7023,1,"_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:E(7024,1,"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:E(7025,1,"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:E(7026,1,"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:E(7027,1,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:E(7028,1,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:E(7029,1,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:E(7030,1,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:E(7031,1,"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:E(7032,1,"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:E(7033,1,"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:E(7034,1,"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:E(7035,1,"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:E(7036,1,"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:E(7037,3,"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:E(7038,3,"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:E(7039,1,"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:E(7040,1,"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:E(7041,1,"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:E(7042,1,"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:E(7043,2,"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:E(7044,2,"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:E(7045,2,"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:E(7046,2,"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:E(7047,2,"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:E(7048,2,"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:E(7049,2,"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:E(7050,2,"_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:E(7051,1,"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:E(7052,1,"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:E(7053,1,"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:E(7054,1,"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:E(7055,1,"_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:E(7056,1,"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:E(7057,1,"yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057","'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation."),If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1:E(7058,1,"If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058","If the '{0}' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '{1}';`"),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead:E(7059,1,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059","This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint:E(7060,1,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060","This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma or explicit constraint."),A_mapped_type_may_not_declare_properties_or_methods:E(7061,1,"A_mapped_type_may_not_declare_properties_or_methods_7061","A mapped type may not declare properties or methods."),You_cannot_rename_this_element:E(8e3,1,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:E(8001,1,"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:E(8002,1,"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:E(8003,1,"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:E(8004,1,"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:E(8005,1,"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:E(8006,1,"_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:E(8008,1,"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:E(8009,1,"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:E(8010,1,"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:E(8011,1,"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:E(8012,1,"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:E(8013,1,"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:E(8016,1,"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:E(8017,1,"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:E(8018,1,"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:E(8019,3,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:E(8020,1,"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:E(8021,1,"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:E(8022,1,"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:E(8023,1,"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:E(8024,1,"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:E(8025,1,"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:E(8026,1,"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:E(8027,1,"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:E(8028,1,"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:E(8029,1,"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:E(8030,1,"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:E(8031,1,"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:E(8032,1,"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:E(8033,1,"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:E(8034,1,"The_tag_was_first_specified_here_8034","The tag was first specified here."),You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder:E(8035,1,"You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035","You cannot rename elements that are defined in a 'node_modules' folder."),You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder:E(8036,1,"You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder_8036","You cannot rename elements that are defined in another 'node_modules' folder."),Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files:E(8037,1,"Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037","Type satisfaction expressions can only be used in TypeScript files."),Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export:E(8038,1,"Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export_8038","Decorators may not appear after 'export' or 'export default' if they also appear before 'export'."),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:E(9005,1,"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:E(9006,1,"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:E(17e3,1,"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:E(17001,1,"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:E(17002,1,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:E(17004,1,"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:E(17005,1,"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:E(17006,1,"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:E(17007,1,"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:E(17008,1,"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:E(17009,1,"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:E(17010,1,"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:E(17011,1,"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:E(17012,1,"_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:E(17013,1,"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:E(17014,1,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:E(17015,1,"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:E(17016,1,"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:E(17017,1,"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:E(17018,1,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:E(17019,1,"_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17019","'{0}' at the end of a type is not valid TypeScript syntax. Did you mean to write '{1}'?"),_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:E(17020,1,"_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17020","'{0}' at the start of a type is not valid TypeScript syntax. Did you mean to write '{1}'?"),Circularity_detected_while_resolving_configuration_Colon_0:E(18e3,1,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),The_files_list_in_config_file_0_is_empty:E(18002,1,"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:E(18003,1,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module:E(80001,2,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module_80001","File is a CommonJS module; it may be converted to an ES module."),This_constructor_function_may_be_converted_to_a_class_declaration:E(80002,2,"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:E(80003,2,"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:E(80004,2,"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:E(80005,2,"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:E(80006,2,"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:E(80007,2,"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:E(80008,2,"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:E(90001,3,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:E(90002,3,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:E(90003,3,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:E(90004,3,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:E(90005,3,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:E(90006,3,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:E(90007,3,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:E(90008,3,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:E(90010,3,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:E(90011,3,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:E(90012,3,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_1:E(90013,3,"Import_0_from_1_90013",`Import '{0}' from "{1}"`),Change_0_to_1:E(90014,3,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Declare_property_0:E(90016,3,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:E(90017,3,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:E(90018,3,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:E(90019,3,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:E(90020,3,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:E(90021,3,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:E(90022,3,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:E(90023,3,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:E(90024,3,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:E(90025,3,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:E(90026,3,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:E(90027,3,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:E(90028,3,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:E(90029,3,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:E(90030,3,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:E(90031,3,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Add_parameter_name:E(90034,3,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:E(90035,3,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:E(90036,3,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:E(90037,3,"Fix_all_incorrect_return_type_of_an_async_functions_90037","Fix all incorrect return type of an async functions"),Declare_private_method_0:E(90038,3,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:E(90039,3,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:E(90041,3,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:E(90053,3,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:E(90054,3,"Includes_imports_of_types_referenced_by_0_90054","Includes imports of types referenced by '{0}'"),Remove_type_from_import_declaration_from_0:E(90055,3,"Remove_type_from_import_declaration_from_0_90055",`Remove 'type' from import declaration from "{0}"`),Remove_type_from_import_of_0_from_1:E(90056,3,"Remove_type_from_import_of_0_from_1_90056",`Remove 'type' from import of '{0}' from "{1}"`),Add_import_from_0:E(90057,3,"Add_import_from_0_90057",'Add import from "{0}"'),Update_import_from_0:E(90058,3,"Update_import_from_0_90058",'Update import from "{0}"'),Export_0_from_module_1:E(90059,3,"Export_0_from_module_1_90059","Export '{0}' from module '{1}'"),Export_all_referenced_locals:E(90060,3,"Export_all_referenced_locals_90060","Export all referenced locals"),Convert_function_to_an_ES2015_class:E(95001,3,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:E(95003,3,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:E(95004,3,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:E(95005,3,"Extract_function_95005","Extract function"),Extract_constant:E(95006,3,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:E(95007,3,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:E(95008,3,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:E(95009,3,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:E(95011,3,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:E(95012,3,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:E(95013,3,"Convert_to_default_import_95013","Convert to default import"),Install_0:E(95014,3,"Install_0_95014","Install '{0}'"),Replace_import_with_0:E(95015,3,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:E(95016,3,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:E(95017,3,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:E(95018,3,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:E(95019,3,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:E(95020,3,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:E(95021,3,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:E(95022,3,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:E(95023,3,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:E(95024,3,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:E(95025,3,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:E(95026,3,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:E(95027,3,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:E(95028,3,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:E(95029,3,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:E(95030,3,"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:E(95031,3,"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:E(95032,3,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:E(95033,3,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:E(95034,3,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:E(95035,3,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:E(95036,3,"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:E(95037,3,"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:E(95038,3,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:E(95039,3,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:E(95040,3,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:E(95041,3,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:E(95042,3,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:E(95043,3,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:E(95044,3,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:E(95045,3,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:E(95046,3,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:E(95047,3,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:E(95048,3,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:E(95049,3,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:E(95050,3,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:E(95051,3,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:E(95052,3,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:E(95053,3,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:E(95054,3,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:E(95055,3,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:E(95056,3,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:E(95057,3,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:E(95058,3,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:E(95059,3,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:E(95060,3,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:E(95061,3,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:E(95062,3,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:E(95063,3,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:E(95064,3,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:E(95065,3,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:E(95066,3,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:E(95067,3,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:E(95068,3,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:E(95069,3,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:E(95070,3,"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:E(95071,3,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:E(95072,3,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:E(95073,3,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:E(95074,3,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:E(95075,3,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:E(95077,3,"Extract_type_95077","Extract type"),Extract_to_type_alias:E(95078,3,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:E(95079,3,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:E(95080,3,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:E(95081,3,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:E(95082,3,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:E(95083,3,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:E(95084,3,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:E(95085,3,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:E(95086,3,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:E(95087,3,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:E(95088,3,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:E(95089,3,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:E(95090,3,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:E(95091,3,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:E(95092,3,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:E(95093,3,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:E(95094,3,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:E(95095,3,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:E(95096,3,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:E(95097,3,"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:E(95098,3,"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:E(95099,3,"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:E(95100,3,"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:E(95101,3,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_all_const_to_let:E(95102,3,"Convert_all_const_to_let_95102","Convert all 'const' to 'let'"),Convert_function_expression_0_to_arrow_function:E(95105,3,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:E(95106,3,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:E(95107,3,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:E(95108,3,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:E(95109,3,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file:E(95110,3,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig to read more about this file"),Add_a_return_statement:E(95111,3,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:E(95112,3,"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:E(95113,3,"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:E(95114,3,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:E(95115,3,"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:E(95116,3,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:E(95117,3,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:E(95118,3,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:E(95119,3,"Generate_get_and_set_accessors_for_all_overriding_properties_95119","Generate 'get' and 'set' accessors for all overriding properties"),Wrap_in_JSX_fragment:E(95120,3,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:E(95121,3,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:E(95122,3,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:E(95123,3,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:E(95124,3,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:E(95125,3,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:E(95126,3,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:E(95127,3,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:E(95128,3,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:E(95129,3,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:E(95130,3,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:E(95131,3,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:E(95132,3,"Could_not_find_namespace_import_or_named_imports_95132","Could not find namespace import or named imports"),Selection_is_not_a_valid_type_node:E(95133,3,"Selection_is_not_a_valid_type_node_95133","Selection is not a valid type node"),No_type_could_be_extracted_from_this_type_node:E(95134,3,"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:E(95135,3,"Could_not_find_property_for_which_to_generate_accessor_95135","Could not find property for which to generate accessor"),Name_is_not_valid:E(95136,3,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:E(95137,3,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:E(95138,3,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:E(95139,3,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:E(95140,3,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:E(95141,3,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:E(95142,3,"Can_only_convert_logical_AND_access_chains_95142","Can only convert logical AND access chains"),Add_void_to_Promise_resolved_without_a_value:E(95143,3,"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:E(95144,3,"Add_void_to_all_Promises_resolved_without_a_value_95144","Add 'void' to all Promises resolved without a value"),Use_element_access_for_0:E(95145,3,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:E(95146,3,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:E(95147,3,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:E(95148,3,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:E(95149,3,"Return_type_must_be_inferred_from_a_function_95149","Return type must be inferred from a function"),Could_not_determine_function_return_type:E(95150,3,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:E(95151,3,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:E(95152,3,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:E(95153,3,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenation:E(95154,3,"Can_only_convert_string_concatenation_95154","Can only convert string concatenation"),Selection_is_not_a_valid_statement_or_statements:E(95155,3,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:E(95156,3,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:E(95157,3,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:E(95158,3,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:E(95159,3,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:E(95160,3,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:E(95161,3,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:E(95162,3,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:E(95163,3,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:E(95164,3,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:E(95165,3,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:E(95166,3,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:E(95167,3,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:E(95168,3,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:E(95169,3,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),Convert_named_imports_to_default_import:E(95170,3,"Convert_named_imports_to_default_import_95170","Convert named imports to default import"),Delete_unused_param_tag_0:E(95171,3,"Delete_unused_param_tag_0_95171","Delete unused '@param' tag '{0}'"),Delete_all_unused_param_tags:E(95172,3,"Delete_all_unused_param_tags_95172","Delete all unused '@param' tags"),Rename_param_tag_name_0_to_1:E(95173,3,"Rename_param_tag_name_0_to_1_95173","Rename '@param' tag name '{0}' to '{1}'"),Use_0:E(95174,3,"Use_0_95174","Use `{0}`."),Use_Number_isNaN_in_all_conditions:E(95175,3,"Use_Number_isNaN_in_all_conditions_95175","Use `Number.isNaN` in all conditions."),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:E(18004,1,"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:E(18006,1,"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:E(18007,1,"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:E(18009,1,"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:E(18010,1,"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:E(18011,1,"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:E(18012,1,"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:E(18013,1,"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:E(18014,1,"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:E(18015,1,"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:E(18016,1,"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:E(18017,1,"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:E(18018,1,"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:E(18019,1,"_0_modifier_cannot_be_used_with_a_private_identifier_18019","'{0}' modifier cannot be used with a private identifier."),An_enum_member_cannot_be_named_with_a_private_identifier:E(18024,1,"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:E(18026,1,"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:E(18027,1,"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:E(18028,1,"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:E(18029,1,"Private_identifiers_are_not_allowed_in_variable_declarations_18029","Private identifiers are not allowed in variable declarations."),An_optional_chain_cannot_contain_private_identifiers:E(18030,1,"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:E(18031,1,"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:E(18032,1,"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."),Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values:E(18033,1,"Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values_18033","Type '{0}' is not assignable to type '{1}' as required for computed enum member values."),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:E(18034,3,"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:E(18035,1,"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035","Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name."),Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator:E(18036,1,"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036","Class decorators can't be used with static private identifier. Consider removing the experimental decorator."),Await_expression_cannot_be_used_inside_a_class_static_block:E(18037,1,"Await_expression_cannot_be_used_inside_a_class_static_block_18037","Await expression cannot be used inside a class static block."),For_await_loops_cannot_be_used_inside_a_class_static_block:E(18038,1,"For_await_loops_cannot_be_used_inside_a_class_static_block_18038","'For await' loops cannot be used inside a class static block."),Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block:E(18039,1,"Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039","Invalid use of '{0}'. It cannot be used inside a class static block."),A_return_statement_cannot_be_used_inside_a_class_static_block:E(18041,1,"A_return_statement_cannot_be_used_inside_a_class_static_block_18041","A 'return' statement cannot be used inside a class static block."),_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation:E(18042,1,"_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042","'{0}' is a type and cannot be imported in JavaScript files. Use '{1}' in a JSDoc type annotation."),Types_cannot_appear_in_export_declarations_in_JavaScript_files:E(18043,1,"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043","Types cannot appear in export declarations in JavaScript files."),_0_is_automatically_exported_here:E(18044,3,"_0_is_automatically_exported_here_18044","'{0}' is automatically exported here."),Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher:E(18045,1,"Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher_18045","Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher."),_0_is_of_type_unknown:E(18046,1,"_0_is_of_type_unknown_18046","'{0}' is of type 'unknown'."),_0_is_possibly_null:E(18047,1,"_0_is_possibly_null_18047","'{0}' is possibly 'null'."),_0_is_possibly_undefined:E(18048,1,"_0_is_possibly_undefined_18048","'{0}' is possibly 'undefined'."),_0_is_possibly_null_or_undefined:E(18049,1,"_0_is_possibly_null_or_undefined_18049","'{0}' is possibly 'null' or 'undefined'."),The_value_0_cannot_be_used_here:E(18050,1,"The_value_0_cannot_be_used_here_18050","The value '{0}' cannot be used here."),Compiler_option_0_cannot_be_given_an_empty_string:E(18051,1,"Compiler_option_0_cannot_be_given_an_empty_string_18051","Compiler option '{0}' cannot be given an empty string.")}}});function qf(e){return e>=79}function wve(e){return e===31||qf(e)}function JA(e,t){if(e<t[0])return!1;let n=0,s=t.length,l;for(;n+1<s;){if(l=n+(s-n)/2,l-=l%2,t[l]<=e&&e<=t[l+1])return!0;e<t[l]?s=l:n=l+2}return!1}function vB(e,t){return t>=2?JA(e,Fve):t===1?JA(e,Lve):JA(e,Ive)}function xGe(e,t){return t>=2?JA(e,Rve):t===1?JA(e,Mve):JA(e,Ove)}function kGe(e){const t=[];return e.forEach((n,s)=>{t[n]=s}),t}function qa(e){return Jve[e]}function ux(e){return qZ.get(e)}function s7(e){const t=[];let n=0,s=0;for(;n<e.length;){const l=e.charCodeAt(n);switch(n++,l){case 13:e.charCodeAt(n)===10&&n++;case 10:t.push(s),s=n;break;default:l>127&&af(l)&&(t.push(s),s=n);break}}return t.push(s),t}function a7(e,t,n,s){return e.getPositionOfLineAndCharacter?e.getPositionOfLineAndCharacter(t,n,s):UZ(Py(e),t,n,e.text,s)}function UZ(e,t,n,s,l){(t<0||t>=e.length)&&(l?t=t<0?0:t>=e.length?e.length-1:t:R.fail(`Bad line number. Line: ${t}, lineStarts.length: ${e.length} , line map is correct? ${s!==void 0?Wt(e,s7(s)):"unknown"}`));const f=e[t]+n;return l?f>e[t+1]?e[t+1]:typeof s=="string"&&f>s.length?s.length:f:(t<e.length-1?R.assert(f<e[t+1]):s!==void 0&&R.assert(f<=s.length),f)}function Py(e){return e.lineMap||(e.lineMap=s7(e.text))}function o7(e,t){const n=UA(e,t);return{line:n,character:t-e[n]}}function UA(e,t,n){let s=rv(e,t,Zc,Cc,n);return s<0&&(s=~s-1,R.assert(s!==-1,"position cannot precede the beginning of the file")),s}function zA(e,t,n){if(t===n)return 0;const s=Py(e),l=Math.min(t,n),f=l===n,d=f?t:n,g=UA(s,l),h=UA(s,d,g);return f?g-h:h-g}function zc(e,t){return o7(Py(e),t)}function Dy(e){return zh(e)||af(e)}function zh(e){return e===32||e===9||e===11||e===12||e===160||e===133||e===5760||e>=8192&&e<=8203||e===8239||e===8287||e===12288||e===65279}function af(e){return e===10||e===13||e===8232||e===8233}function VA(e){return e>=48&&e<=57}function bB(e){return VA(e)||e>=65&&e<=70||e>=97&&e<=102}function CGe(e){return e<=1114111}function zZ(e){return e>=48&&e<=55}function Eve(e,t){const n=e.charCodeAt(t);switch(n){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 t===0;default:return n>127}}function wo(e,t,n,s,l){if(nh(t))return t;let f=!1;for(;;){const d=e.charCodeAt(t);switch(d){case 13:e.charCodeAt(t+1)===10&&t++;case 10:if(t++,n)return t;f=!!l;continue;case 9:case 11:case 12:case 32:t++;continue;case 47:if(s)break;if(e.charCodeAt(t+1)===47){for(t+=2;t<e.length&&!af(e.charCodeAt(t));)t++;f=!1;continue}if(e.charCodeAt(t+1)===42){for(t+=2;t<e.length;){if(e.charCodeAt(t)===42&&e.charCodeAt(t+1)===47){t+=2;break}t++}f=!1;continue}break;case 60:case 124:case 61:case 62:if(h6(e,t)){t=$A(e,t),f=!1;continue}break;case 35:if(t===0&&VZ(e,t)){t=$Z(e,t),f=!1;continue}break;case 42:if(f){t++,f=!1;continue}break;default:if(d>127&&Dy(d)){t++;continue}break}return t}}function h6(e,t){if(R.assert(t>=0),t===0||af(e.charCodeAt(t-1))){const n=e.charCodeAt(t);if(t+f7<e.length){for(let s=0;s<f7;s++)if(e.charCodeAt(t+s)!==n)return!1;return n===61||e.charCodeAt(t+f7)===32}}return!1}function $A(e,t,n){n&&n(v.Merge_conflict_marker_encountered,t,f7);const s=e.charCodeAt(t),l=e.length;if(s===60||s===62)for(;t<l&&!af(e.charCodeAt(t));)t++;else for(R.assert(s===124||s===61);t<l;){const f=e.charCodeAt(t);if((f===61||f===62)&&f!==s&&h6(e,t))break;t++}return t}function VZ(e,t){return R.assert(t===0),xB.test(e)}function $Z(e,t){const n=xB.exec(e)[0];return t=t+n.length,t}function TB(e,t,n,s,l,f,d){let g,h,k,S,w=!1,N=s,O=d;if(n===0){N=!0;const L=SB(t);L&&(n=L.length)}e:for(;n>=0&&n<t.length;){const L=t.charCodeAt(n);switch(L){case 13:t.charCodeAt(n+1)===10&&n++;case 10:if(n++,s)break e;N=!0,w&&(S=!0);continue;case 9:case 11:case 12:case 32:n++;continue;case 47:const U=t.charCodeAt(n+1);let M=!1;if(U===47||U===42){const W=U===47?2:3,X=n;if(n+=2,U===47)for(;n<t.length;){if(af(t.charCodeAt(n))){M=!0;break}n++}else for(;n<t.length;){if(t.charCodeAt(n)===42&&t.charCodeAt(n+1)===47){n+=2;break}n++}if(N){if(w&&(O=l(g,h,k,S,f,O),!e&&O))return O;g=X,h=n,k=W,S=M,w=!0}continue}break e;default:if(L>127&&Dy(L)){w&&af(L)&&(S=!0),n++;continue}break e}}return w&&(O=l(g,h,k,S,f,O)),O}function c7(e,t,n,s){return TB(!1,e,t,!1,n,s)}function l7(e,t,n,s){return TB(!1,e,t,!0,n,s)}function Ave(e,t,n,s,l){return TB(!0,e,t,!1,n,s,l)}function Pve(e,t,n,s,l){return TB(!0,e,t,!0,n,s,l)}function Dve(e,t,n,s,l,f=[]){return f.push({kind:n,pos:e,end:t,hasTrailingNewLine:s}),f}function Ng(e,t){return Ave(e,t,Dve,void 0,void 0)}function Ib(e,t){return Pve(e,t,Dve,void 0,void 0)}function SB(e){const t=xB.exec(e);if(t)return t[0]}function Ig(e,t){return e>=65&&e<=90||e>=97&&e<=122||e===36||e===95||e>127&&vB(e,t)}function Ob(e,t,n){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===36||e===95||(n===1?e===45||e===58:!1)||e>127&&xGe(e,t)}function Bd(e,t,n){let s=W0(e,0);if(!Ig(s,t))return!1;for(let l=av(s);l<e.length;l+=av(s))if(!Ob(s=W0(e,l),t,n))return!1;return!0}function q0(e,t,n=0,s,l,f,d){var g=s,h,k,S,w,N,O,L,U,M=0;rr(g,f,d);var W={getStartPos:()=>S,getTextPos:()=>h,getToken:()=>N,getTokenPos:()=>w,getTokenText:()=>g.substring(w,h),getTokenValue:()=>O,hasUnicodeEscape:()=>(L&1024)!==0,hasExtendedUnicodeEscape:()=>(L&8)!==0,hasPrecedingLineBreak:()=>(L&1)!==0,hasPrecedingJSDocComment:()=>(L&2)!==0,isIdentifier:()=>N===79||N>116,isReservedWord:()=>N>=81&&N<=116,isUnterminated:()=>(L&4)!==0,getCommentDirectives:()=>U,getNumericLiteralFlags:()=>L&1008,getTokenFlags:()=>L,reScanGreaterToken:st,reScanAsteriskEqualsToken:Ke,reScanSlashToken:We,reScanTemplateToken:It,reScanTemplateHeadOrNoSubstitutionTemplate:er,scanJsxIdentifier:un,scanJsxAttributeValue:Gr,reScanJsxAttributeValue:mr,reScanJsxToken:ft,reScanLessThanToken:mt,reScanHashToken:xr,reScanQuestionToken:dr,reScanInvalidIdentifier:Je,scanJsxToken:rn,scanJsDocToken:Fn,scan:tt,getText:Rt,clearCommentDirectives:Rr,setText:rr,setScriptTarget:Cn,setLanguageVariant:Nn,setOnError:Pr,setTextPos:cs,setInJSDocType:qi,tryScan:ii,lookAhead:Es,scanRange:ws};return R.isDebugging&&Object.defineProperty(W,"__debugShowCurrentPositionInText",{get:()=>{const en=W.getText();return en.slice(0,W.getStartPos())+"║"+en.slice(W.getStartPos())}}),W;function X(en,Tr=h,nn){if(l){const Xn=h;h=Tr,l(en,nn||0),h=Xn}}function Z(){let en=h,Tr=!1,nn=!1,Xn="";for(;;){const _i=g.charCodeAt(h);if(_i===95){L|=512,Tr?(Tr=!1,nn=!0,Xn+=g.substring(en,h)):X(nn?v.Multiple_consecutive_numeric_separators_are_not_permitted:v.Numeric_separators_are_not_allowed_here,h,1),h++,en=h;continue}if(VA(_i)){Tr=!0,nn=!1,h++;continue}break}return g.charCodeAt(h-1)===95&&X(v.Numeric_separators_are_not_allowed_here,h-1,1),Xn+g.substring(en,h)}function ue(){const en=h,Tr=Z();let nn,Xn;g.charCodeAt(h)===46&&(h++,nn=Z());let _i=h;if(g.charCodeAt(h)===69||g.charCodeAt(h)===101){h++,L|=16,(g.charCodeAt(h)===43||g.charCodeAt(h)===45)&&h++;const Pt=h,Ht=Z();Ht?(Xn=g.substring(_i,Pt)+Ht,_i=h):X(v.Digit_expected)}let Fe;if(L&512?(Fe=Tr,nn&&(Fe+="."+nn),Xn&&(Fe+=Xn)):Fe=g.substring(en,_i),nn!==void 0||L&16)return ie(en,nn===void 0&&!!(L&16)),{type:8,value:""+ +Fe};{O=Fe;const Pt=Ge();return ie(en),{type:Pt,value:O}}}function ie(en,Tr){if(!Ig(W0(g,h),e))return;const nn=h,{length:Xn}=le();Xn===1&&g[nn]==="n"?X(Tr?v.A_bigint_literal_cannot_use_exponential_notation:v.A_bigint_literal_must_be_an_integer,en,nn-en+1):(X(v.An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal,nn,Xn),h=nn)}function se(){const en=h;for(;zZ(g.charCodeAt(h));)h++;return+g.substring(en,h)}function V(en,Tr){const nn=fe(en,!1,Tr);return nn?parseInt(nn,16):-1}function ve(en,Tr){return fe(en,!0,Tr)}function fe(en,Tr,nn){let Xn=[],_i=!1,Fe=!1;for(;Xn.length<en||Tr;){let Pt=g.charCodeAt(h);if(nn&&Pt===95){L|=512,_i?(_i=!1,Fe=!0):X(Fe?v.Multiple_consecutive_numeric_separators_are_not_permitted:v.Numeric_separators_are_not_allowed_here,h,1),h++;continue}if(_i=nn,Pt>=65&&Pt<=70)Pt+=32;else if(!(Pt>=48&&Pt<=57||Pt>=97&&Pt<=102))break;Xn.push(Pt),h++,Fe=!1}return Xn.length<en&&(Xn=[]),g.charCodeAt(h-1)===95&&X(v.Numeric_separators_are_not_allowed_here,h-1,1),String.fromCharCode(...Xn)}function Ce(en=!1){const Tr=g.charCodeAt(h);h++;let nn="",Xn=h;for(;;){if(h>=k){nn+=g.substring(Xn,h),L|=4,X(v.Unterminated_string_literal);break}const _i=g.charCodeAt(h);if(_i===Tr){nn+=g.substring(Xn,h),h++;break}if(_i===92&&!en){nn+=g.substring(Xn,h),nn+=K(),Xn=h;continue}if(af(_i)&&!en){nn+=g.substring(Xn,h),L|=4,X(v.Unterminated_string_literal);break}h++}return nn}function _e(en){const Tr=g.charCodeAt(h)===96;h++;let nn=h,Xn="",_i;for(;;){if(h>=k){Xn+=g.substring(nn,h),L|=4,X(v.Unterminated_template_literal),_i=Tr?14:17;break}const Fe=g.charCodeAt(h);if(Fe===96){Xn+=g.substring(nn,h),h++,_i=Tr?14:17;break}if(Fe===36&&h+1<k&&g.charCodeAt(h+1)===123){Xn+=g.substring(nn,h),h+=2,_i=Tr?15:16;break}if(Fe===92){Xn+=g.substring(nn,h),Xn+=K(en),nn=h;continue}if(Fe===13){Xn+=g.substring(nn,h),h++,h<k&&g.charCodeAt(h)===10&&h++,Xn+=`
`,nn=h;continue}h++}return R.assert(_i!==void 0),O=Xn,_i}function K(en){const Tr=h;if(h++,h>=k)return X(v.Unexpected_end_of_text),"";const nn=g.charCodeAt(h);switch(h++,nn){case 48:return en&&h<k&&VA(g.charCodeAt(h))?(h++,L|=2048,g.substring(Tr,h)):"\0";case 98:return"\b";case 116:return" ";case 110:return`
`;case 118:return"\v";case 102:return"\f";case 114:return"\r";case 39:return"'";case 34:return'"';case 117:if(en){for(let Xn=h;Xn<h+4;Xn++)if(Xn<k&&!bB(g.charCodeAt(Xn))&&g.charCodeAt(Xn)!==123)return h=Xn,L|=2048,g.substring(Tr,h)}if(h<k&&g.charCodeAt(h)===123){if(h++,en&&!bB(g.charCodeAt(h)))return L|=2048,g.substring(Tr,h);if(en){const Xn=h,_i=ve(1,!1),Fe=_i?parseInt(_i,16):-1;if(!CGe(Fe)||g.charCodeAt(h)!==125)return L|=2048,g.substring(Tr,h);h=Xn}return L|=8,Se()}return L|=1024,ge(4);case 120:if(en)if(bB(g.charCodeAt(h))){if(!bB(g.charCodeAt(h+1)))return h++,L|=2048,g.substring(Tr,h)}else return L|=2048,g.substring(Tr,h);return ge(2);case 13:h<k&&g.charCodeAt(h)===10&&h++;case 10:case 8232:case 8233:return"";default:return String.fromCharCode(nn)}}function ge(en){const Tr=V(en,!1);return Tr>=0?String.fromCharCode(Tr):(X(v.Hexadecimal_digit_expected),"")}function Se(){const en=ve(1,!1),Tr=en?parseInt(en,16):-1;let nn=!1;return Tr<0?(X(v.Hexadecimal_digit_expected),nn=!0):Tr>1114111&&(X(v.An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive),nn=!0),h>=k?(X(v.Unexpected_end_of_text),nn=!0):g.charCodeAt(h)===125?h++:(X(v.Unterminated_Unicode_escape_sequence),nn=!0),nn?"":qA(Tr)}function we(){if(h+5<k&&g.charCodeAt(h+1)===117){const en=h;h+=2;const Tr=V(4,!1);return h=en,Tr}return-1}function Pe(){if(W0(g,h+1)===117&&W0(g,h+2)===123){const en=h;h+=3;const Tr=ve(1,!1),nn=Tr?parseInt(Tr,16):-1;return h=en,nn}return-1}function le(){let en="",Tr=h;for(;h<k;){let nn=W0(g,h);if(Ob(nn,e))h+=av(nn);else if(nn===92){if(nn=Pe(),nn>=0&&Ob(nn,e)){h+=3,L|=8,en+=Se(),Tr=h;continue}if(nn=we(),!(nn>=0&&Ob(nn,e)))break;L|=1024,en+=g.substring(Tr,h),en+=qA(nn),h+=6,Tr=h}else break}return en+=g.substring(Tr,h),en}function ot(){const en=O.length;if(en>=2&&en<=12){const Tr=O.charCodeAt(0);if(Tr>=97&&Tr<=122){const nn=Nve.get(O);if(nn!==void 0)return N=nn}}return N=79}function Qe(en){let Tr="",nn=!1,Xn=!1;for(;;){const _i=g.charCodeAt(h);if(_i===95){L|=512,nn?(nn=!1,Xn=!0):X(Xn?v.Multiple_consecutive_numeric_separators_are_not_permitted:v.Numeric_separators_are_not_allowed_here,h,1),h++;continue}if(nn=!0,!VA(_i)||_i-48>=en)break;Tr+=g[h],h++,Xn=!1}return g.charCodeAt(h-1)===95&&X(v.Numeric_separators_are_not_allowed_here,h-1,1),Tr}function Ge(){return g.charCodeAt(h)===110?(O+="n",L&384&&(O=JP(O)+"n"),h++,9):(O=""+(L&128?parseInt(O.slice(2),2):L&256?parseInt(O.slice(2),8):+O),8)}function tt(){S=h,L=0;let en=!1;for(;;){if(w=h,h>=k)return N=1;const Tr=W0(g,h);if(Tr===35&&h===0&&VZ(g,h)){if(h=$Z(g,h),t)continue;return N=6}switch(Tr){case 10:case 13:if(L|=1,t){h++;continue}else return Tr===13&&h+1<k&&g.charCodeAt(h+1)===10?h+=2:h++,N=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(t){h++;continue}else{for(;h<k&&zh(g.charCodeAt(h));)h++;return N=5}case 33:return g.charCodeAt(h+1)===61?g.charCodeAt(h+2)===61?(h+=3,N=37):(h+=2,N=35):(h++,N=53);case 34:case 39:return O=Ce(),N=10;case 96:return N=_e(!1);case 37:return g.charCodeAt(h+1)===61?(h+=2,N=69):(h++,N=44);case 38:return g.charCodeAt(h+1)===38?g.charCodeAt(h+2)===61?(h+=3,N=76):(h+=2,N=55):g.charCodeAt(h+1)===61?(h+=2,N=73):(h++,N=50);case 40:return h++,N=20;case 41:return h++,N=21;case 42:if(g.charCodeAt(h+1)===61)return h+=2,N=66;if(g.charCodeAt(h+1)===42)return g.charCodeAt(h+2)===61?(h+=3,N=67):(h+=2,N=42);if(h++,M&&!en&&L&1){en=!0;continue}return N=41;case 43:return g.charCodeAt(h+1)===43?(h+=2,N=45):g.charCodeAt(h+1)===61?(h+=2,N=64):(h++,N=39);case 44:return h++,N=27;case 45:return g.charCodeAt(h+1)===45?(h+=2,N=46):g.charCodeAt(h+1)===61?(h+=2,N=65):(h++,N=40);case 46:return VA(g.charCodeAt(h+1))?(O=ue().value,N=8):g.charCodeAt(h+1)===46&&g.charCodeAt(h+2)===46?(h+=3,N=25):(h++,N=24);case 47:if(g.charCodeAt(h+1)===47){for(h+=2;h<k&&!af(g.charCodeAt(h));)h++;if(U=gt(U,g.slice(w,h),Bve,w),t)continue;return N=2}if(g.charCodeAt(h+1)===42){h+=2,g.charCodeAt(h)===42&&g.charCodeAt(h+1)!==47&&(L|=2);let Ht=!1,Ne=w;for(;h<k;){const kt=g.charCodeAt(h);if(kt===42&&g.charCodeAt(h+1)===47){h+=2,Ht=!0;break}h++,af(kt)&&(Ne=h,L|=1)}if(U=gt(U,g.slice(Ne,h),jve,Ne),Ht||X(v.Asterisk_Slash_expected),t)continue;return Ht||(L|=4),N=3}return g.charCodeAt(h+1)===61?(h+=2,N=68):(h++,N=43);case 48:if(h+2<k&&(g.charCodeAt(h+1)===88||g.charCodeAt(h+1)===120))return h+=2,O=ve(1,!0),O||(X(v.Hexadecimal_digit_expected),O="0"),O="0x"+O,L|=64,N=Ge();if(h+2<k&&(g.charCodeAt(h+1)===66||g.charCodeAt(h+1)===98))return h+=2,O=Qe(2),O||(X(v.Binary_digit_expected),O="0"),O="0b"+O,L|=128,N=Ge();if(h+2<k&&(g.charCodeAt(h+1)===79||g.charCodeAt(h+1)===111))return h+=2,O=Qe(8),O||(X(v.Octal_digit_expected),O="0"),O="0o"+O,L|=256,N=Ge();if(h+1<k&&zZ(g.charCodeAt(h+1)))return O=""+se(),L|=32,N=8;case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return{type:N,value:O}=ue(),N;case 58:return h++,N=58;case 59:return h++,N=26;case 60:if(h6(g,h)){if(h=$A(g,h,X),t)continue;return N=7}return g.charCodeAt(h+1)===60?g.charCodeAt(h+2)===61?(h+=3,N=70):(h+=2,N=47):g.charCodeAt(h+1)===61?(h+=2,N=32):n===1&&g.charCodeAt(h+1)===47&&g.charCodeAt(h+2)!==42?(h+=2,N=30):(h++,N=29);case 61:if(h6(g,h)){if(h=$A(g,h,X),t)continue;return N=7}return g.charCodeAt(h+1)===61?g.charCodeAt(h+2)===61?(h+=3,N=36):(h+=2,N=34):g.charCodeAt(h+1)===62?(h+=2,N=38):(h++,N=63);case 62:if(h6(g,h)){if(h=$A(g,h,X),t)continue;return N=7}return h++,N=31;case 63:return g.charCodeAt(h+1)===46&&!VA(g.charCodeAt(h+2))?(h+=2,N=28):g.charCodeAt(h+1)===63?g.charCodeAt(h+2)===61?(h+=3,N=77):(h+=2,N=60):(h++,N=57);case 91:return h++,N=22;case 93:return h++,N=23;case 94:return g.charCodeAt(h+1)===61?(h+=2,N=78):(h++,N=52);case 123:return h++,N=18;case 124:if(h6(g,h)){if(h=$A(g,h,X),t)continue;return N=7}return g.charCodeAt(h+1)===124?g.charCodeAt(h+2)===61?(h+=3,N=75):(h+=2,N=56):g.charCodeAt(h+1)===61?(h+=2,N=74):(h++,N=51);case 125:return h++,N=19;case 126:return h++,N=54;case 64:return h++,N=59;case 92:const nn=Pe();if(nn>=0&&Ig(nn,e))return h+=3,L|=8,O=Se()+le(),N=ot();const Xn=we();return Xn>=0&&Ig(Xn,e)?(h+=6,L|=1024,O=String.fromCharCode(Xn)+le(),N=ot()):(X(v.Invalid_character),h++,N=0);case 35:if(h!==0&&g[h+1]==="!")return X(v.can_only_be_used_at_the_start_of_a_file),h++,N=0;const _i=W0(g,h+1);if(_i===92){h++;const Ht=Pe();if(Ht>=0&&Ig(Ht,e))return h+=3,L|=8,O="#"+Se()+le(),N=80;const Ne=we();if(Ne>=0&&Ig(Ne,e))return h+=6,L|=1024,O="#"+String.fromCharCode(Ne)+le(),N=80;h--}return Ig(_i,e)?(h++,qe(_i,e)):(O="#",X(v.Invalid_character,h++,av(Tr))),N=80;default:const Fe=qe(Tr,e);if(Fe)return N=Fe;if(zh(Tr)){h+=av(Tr);continue}else if(af(Tr)){L|=1,h+=av(Tr);continue}const Pt=av(Tr);return X(v.Invalid_character,h,Pt),h+=Pt,N=0}}}function Je(){R.assert(N===0,"'reScanInvalidIdentifier' should only be called when the current token is 'SyntaxKind.Unknown'."),h=w=S,L=0;const en=W0(g,h),Tr=qe(en,99);return Tr?N=Tr:(h+=av(en),N)}function qe(en,Tr){let nn=en;if(Ig(nn,Tr)){for(h+=av(nn);h<k&&Ob(nn=W0(g,h),Tr);)h+=av(nn);return O=g.substring(w,h),nn===92&&(O+=le()),ot()}}function st(){if(N===31){if(g.charCodeAt(h)===62)return g.charCodeAt(h+1)===62?g.charCodeAt(h+2)===61?(h+=3,N=72):(h+=2,N=49):g.charCodeAt(h+1)===61?(h+=2,N=71):(h++,N=48);if(g.charCodeAt(h)===61)return h++,N=33}return N}function Ke(){return R.assert(N===66,"'reScanAsteriskEqualsToken' should only be called on a '*='"),h=w+1,N=63}function We(){if(N===43||N===68){let en=w+1,Tr=!1,nn=!1;for(;;){if(en>=k){L|=4,X(v.Unterminated_regular_expression_literal);break}const Xn=g.charCodeAt(en);if(af(Xn)){L|=4,X(v.Unterminated_regular_expression_literal);break}if(Tr)Tr=!1;else if(Xn===47&&!nn){en++;break}else Xn===91?nn=!0:Xn===92?Tr=!0:Xn===93&&(nn=!1);en++}for(;en<k&&Ob(g.charCodeAt(en),e);)en++;h=en,O=g.substring(w,h),N=13}return N}function gt(en,Tr,nn,Xn){const _i=jt(MA(Tr),nn);return _i===void 0?en:$r(en,{range:{pos:Xn,end:h},type:_i})}function jt(en,Tr){const nn=Tr.exec(en);if(nn)switch(nn[1]){case"ts-expect-error":return 0;case"ts-ignore":return 1}}function It(en){return R.assert(N===19,"'reScanTemplateToken' should only be called on a '}'"),h=w,N=_e(en)}function er(){return h=w,N=_e(!0)}function ft(en=!0){return h=w=S,N=rn(en)}function mt(){return N===47?(h=w+1,N=29):N}function xr(){return N===80?(h=w+1,N=62):N}function dr(){return R.assert(N===60,"'reScanQuestionToken' should only be called on a '??'"),h=w+1,N=57}function rn(en=!0){if(S=w=h,h>=k)return N=1;let Tr=g.charCodeAt(h);if(Tr===60)return g.charCodeAt(h+1)===47?(h+=2,N=30):(h++,N=29);if(Tr===123)return h++,N=18;let nn=0;for(;h<k&&(Tr=g.charCodeAt(h),Tr!==123);){if(Tr===60){if(h6(g,h))return h=$A(g,h,X),N=7;break}if(Tr===62&&X(v.Unexpected_token_Did_you_mean_or_gt,h,1),Tr===125&&X(v.Unexpected_token_Did_you_mean_or_rbrace,h,1),af(Tr)&&nn===0)nn=-1;else{if(!en&&af(Tr)&&nn>0)break;Dy(Tr)||(nn=h)}h++}return O=g.substring(S,h),nn===-1?12:11}function un(){if(qf(N)){let en=!1;for(;h<k;){const Tr=g.charCodeAt(h);if(Tr===45){O+="-",h++;continue}else if(Tr===58&&!en){O+=":",h++,en=!0,N=79;continue}const nn=h;if(O+=le(),h===nn)break}return O.slice(-1)===":"&&(O=O.slice(0,-1),h--),ot()}return N}function Gr(){switch(S=h,g.charCodeAt(h)){case 34:case 39:return O=Ce(!0),N=10;default:return tt()}}function mr(){return h=w=S,Gr()}function Fn(){if(S=w=h,L=0,h>=k)return N=1;const en=W0(g,h);switch(h+=av(en),en){case 9:case 11:case 12:case 32:for(;h<k&&zh(g.charCodeAt(h));)h++;return N=5;case 64:return N=59;case 13:g.charCodeAt(h)===10&&h++;case 10:return L|=1,N=4;case 42:return N=41;case 123:return N=18;case 125:return N=19;case 91:return N=22;case 93:return N=23;case 60:return N=29;case 62:return N=31;case 61:return N=63;case 44:return N=27;case 46:return N=24;case 96:return N=61;case 35:return N=62;case 92:h--;const Tr=Pe();if(Tr>=0&&Ig(Tr,e))return h+=3,L|=8,O=Se()+le(),N=ot();const nn=we();return nn>=0&&Ig(nn,e)?(h+=6,L|=1024,O=String.fromCharCode(nn)+le(),N=ot()):(h++,N=0)}if(Ig(en,e)){let Tr=en;for(;h<k&&Ob(Tr=W0(g,h),e)||g.charCodeAt(h)===45;)h+=av(Tr);return O=g.substring(w,h),Tr===92&&(O+=le()),N=ot()}else return N=0}function ts(en,Tr){const nn=h,Xn=S,_i=w,Fe=N,Pt=O,Ht=L,Ne=en();return(!Ne||Tr)&&(h=nn,S=Xn,w=_i,N=Fe,O=Pt,L=Ht),Ne}function ws(en,Tr,nn){const Xn=k,_i=h,Fe=S,Pt=w,Ht=N,Ne=O,kt=L,Te=U;rr(g,en,Tr);const pe=nn();return k=Xn,h=_i,S=Fe,w=Pt,N=Ht,O=Ne,L=kt,U=Te,pe}function Es(en){return ts(en,!0)}function ii(en){return ts(en,!1)}function Rt(){return g}function Rr(){U=void 0}function rr(en,Tr,nn){g=en||"",k=nn===void 0?g.length:Tr+nn,cs(Tr||0)}function Pr(en){l=en}function Cn(en){e=en}function Nn(en){n=en}function cs(en){R.assert(en>=0),h=en,S=en,w=en,N=0,O=void 0,L=0}function qi(en){M+=en?1:-1}}function av(e){return e>=65536?2:1}function wGe(e){if(R.assert(0<=e&&e<=1114111),e<=65535)return String.fromCharCode(e);const t=Math.floor((e-65536)/1024)+55296,n=(e-65536)%1024+56320;return String.fromCharCode(t,n)}function qA(e){return Uve(e)}var u7,Nve,qZ,Ive,Ove,Lve,Mve,Fve,Rve,Bve,jve,Jve,f7,xB,W0,Uve,EGe=p({"src/compiler/scanner.ts"(){aa(),u7={abstract:126,accessor:127,any:131,as:128,asserts:129,assert:130,bigint:160,boolean:134,break:81,case:82,catch:83,class:84,continue:86,const:85,constructor:135,debugger:87,declare:136,default:88,delete:89,do:90,else:91,enum:92,export:93,extends:94,false:95,finally:96,for:97,from:158,function:98,get:137,if:99,implements:117,import:100,in:101,infer:138,instanceof:102,interface:118,intrinsic:139,is:140,keyof:141,let:119,module:142,namespace:143,never:144,new:103,null:104,number:148,object:149,package:120,private:121,protected:122,public:123,override:161,out:145,readonly:146,require:147,global:159,return:105,satisfies:150,set:151,static:124,string:152,super:106,switch:107,symbol:153,this:108,throw:109,true:110,try:111,type:154,typeof:112,undefined:155,unique:156,unknown:157,var:113,void:114,while:115,with:116,yield:125,async:132,await:133,of:162},Nve=new Map(Object.entries(u7)),qZ=new Map(Object.entries({...u7,"{":18,"}":19,"(":20,")":21,"[":22,"]":23,".":24,"...":25,";":26,",":27,"<":29,">":31,"<=":32,">=":33,"==":34,"!=":35,"===":36,"!==":37,"=>":38,"+":39,"-":40,"**":42,"*":41,"/":43,"%":44,"++":45,"--":46,"<<":47,"</":30,">>":48,">>>":49,"&":50,"|":51,"^":52,"!":53,"~":54,"&&":55,"||":56,"?":57,"??":60,"?.":28,":":58,"=":63,"+=":64,"-=":65,"*=":66,"**=":67,"/=":68,"%=":69,"<<=":70,">>=":71,">>>=":72,"&=":73,"|=":74,"^=":78,"||=":75,"&&=":76,"??=":77,"@":59,"#":62,"`":61})),Ive=[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],Ove=[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],Lve=[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],Mve=[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],Fve=[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],Rve=[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],Bve=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,jve=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/,Jve=kGe(qZ),f7=7,xB=/^#!.*/,W0=String.prototype.codePointAt?(e,t)=>e.codePointAt(t):function(t,n){const s=t.length;if(n<0||n>=s)return;const l=t.charCodeAt(n);if(l>=55296&&l<=56319&&s>n+1){const f=t.charCodeAt(n+1);if(f>=56320&&f<=57343)return(l-55296)*1024+f-56320+65536}return l},Uve=String.fromCodePoint?e=>String.fromCodePoint(e):wGe}});function wu(e){return wp(e)||Jh(e)}function g6(e){return lo(e,MP)}function kB(e){switch(Io(e)){case 99:return"lib.esnext.full.d.ts";case 9:return"lib.es2022.full.d.ts";case 8:return"lib.es2021.full.d.ts";case 7:return"lib.es2020.full.d.ts";case 6:return"lib.es2019.full.d.ts";case 5:return"lib.es2018.full.d.ts";case 4:return"lib.es2017.full.d.ts";case 3:return"lib.es2016.full.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}}function Wu(e){return e.start+e.length}function zve(e){return e.length===0}function WZ(e,t){return t>=e.start&&t<Wu(e)}function CB(e,t){return t>=e.pos&&t<=e.end}function Vve(e,t){return t.start>=e.start&&Wu(t)<=Wu(e)}function AGe(e,t){return $ve(e,t)!==void 0}function $ve(e,t){const n=Wve(e,t);return n&&n.length===0?void 0:n}function PGe(e,t){return EB(e.start,e.length,t.start,t.length)}function wB(e,t,n){return EB(e.start,e.length,t,n)}function EB(e,t,n,s){const l=e+t,f=n+s;return n<=l&&f>=e}function qve(e,t){return t<=Wu(e)&&t>=e.start}function Wve(e,t){const n=Math.max(e.start,t.start),s=Math.min(Wu(e),Wu(t));return n<=s?eu(n,s):void 0}function hu(e,t){if(e<0)throw new Error("start < 0");if(t<0)throw new Error("length < 0");return{start:e,length:t}}function eu(e,t){return hu(e,t-e)}function WA(e){return hu(e.span.start,e.newLength)}function Hve(e){return zve(e.span)&&e.newLength===0}function _7(e,t){if(t<0)throw new Error("newLength < 0");return{span:e,newLength:t}}function DGe(e){if(e.length===0)return xK;if(e.length===1)return e[0];const t=e[0];let n=t.span.start,s=Wu(t.span),l=n+t.newLength;for(let f=1;f<e.length;f++){const d=e[f],g=n,h=s,k=l,S=d.span.start,w=Wu(d.span),N=S+d.newLength;n=Math.min(g,S),s=Math.max(h,h+(w-k)),l=Math.max(N,N+(k-w))}return _7(eu(n,s),l-n)}function NGe(e){if(e&&e.kind===165){for(let t=e;t;t=t.parent)if(Sa(t)||Ri(t)||t.kind===261)return t}}function sp(e,t){return ua(e)&&Ti(e,16476)&&t.kind===173}function Gve(e){return xa(e)?ut(e.elements,Xve):!1}function Xve(e){return yu(e)?!0:Gve(e.name)}function y6(e){let t=e.parent;for(;qo(t.parent);)t=t.parent.parent;return t.parent}function HZ(e,t){qo(e)&&(e=y6(e));let n=t(e);return e.kind===257&&(e=e.parent),e&&e.kind===258&&(n|=t(e),e=e.parent),e&&e.kind===240&&(n|=t(e)),n}function H0(e){return HZ(e,Pf)}function GZ(e){return HZ(e,nTe)}function ym(e){return HZ(e,t=>t.flags)}function IGe(e,t,n){const s=e.toLowerCase(),l=/^([a-z]+)([_\-]([a-z]+))?$/.exec(s);if(!l){n&&n.push(gc(v.Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1,"en","ja-jp"));return}const f=l[1],d=l[3];xt(kK,s)&&!g(f,d,n)&&g(f,void 0,n),F1e(e);function g(h,k,S){const w=Co(t.getExecutingFilePath()),N=$i(w);let O=_s(N,h);if(k&&(O=O+"-"+k),O=t.resolvePath(_s(O,"diagnosticMessages.generated.json")),!t.fileExists(O))return!1;let L="";try{L=t.readFile(O)}catch{return S&&S.push(gc(v.Unable_to_open_file_0,O)),!1}try{CTe(JSON.parse(L))}catch{return S&&S.push(gc(v.Corrupted_locale_file_0,O)),!1}return!0}}function sl(e,t){if(e)for(;e.original!==void 0;)e=e.original;return!e||!t||t(e)?e:void 0}function kn(e,t){for(;e;){const n=t(e);if(n==="quit")return;if(n)return e;e=e.parent}}function HA(e){return(e.flags&8)===0}function qs(e,t){if(e===void 0||HA(e))return e;for(e=e.original;e;){if(HA(e))return!t||t(e)?e:void 0;e=e.original}}function Vc(e){return e.length>=2&&e.charCodeAt(0)===95&&e.charCodeAt(1)===95?"_"+e:e}function Ds(e){const t=e;return t.length>=3&&t.charCodeAt(0)===95&&t.charCodeAt(1)===95&&t.charCodeAt(2)===95?t.substr(1):t}function ai(e){return Ds(e.escapedText)}function Lb(e){const t=ux(e.escapedText);return t?Pi(t,b_):void 0}function yl(e){return e.valueDeclaration&&Wf(e.valueDeclaration)?ai(e.valueDeclaration.name):Ds(e.escapedName)}function Qve(e){const t=e.parent.parent;if(t){if(lf(t))return AB(t);switch(t.kind){case 240:if(t.declarationList&&t.declarationList.declarations[0])return AB(t.declarationList.declarations[0]);break;case 241:let n=t.expression;switch(n.kind===223&&n.operatorToken.kind===63&&(n=n.left),n.kind){case 208:return n.name;case 209:const s=n.argumentExpression;if(Ye(s))return s}break;case 214:return AB(t.expression);case 253:{if(lf(t.statement)||Dt(t.statement))return AB(t.statement);break}}}}function AB(e){const t=ra(e);return t&&Ye(t)?t:void 0}function p7(e,t){return!!(of(e)&&Ye(e.name)&&ai(e.name)===ai(t)||Xl(e)&&Oe(e.declarationList.declarations,n=>p7(n,t)))}function Yve(e){return e.name||Qve(e)}function of(e){return!!e.name}function XZ(e){switch(e.kind){case 79:return e;case 351:case 344:{const{name:n}=e;if(n.kind===163)return n.right;break}case 210:case 223:{const n=e;switch(ll(n)){case 1:case 4:case 5:case 3:return vj(n.left);case 7:case 8:case 9:return n.arguments[1];default:return}}case 349:return Yve(e);case 343:return Qve(e);case 274:{const{expression:n}=e;return Ye(n)?n:void 0}case 209:const t=e;if(yj(t))return t.argumentExpression}return e.name}function ra(e){if(e!==void 0)return XZ(e)||(yc(e)||Ac(e)||If(e)?QZ(e):void 0)}function QZ(e){if(e.parent){if(Iu(e.parent)||qo(e.parent))return e.parent.name;if($n(e.parent)&&e===e.parent.right){if(Ye(e.parent.left))return e.parent.left;if($c(e.parent.left))return vj(e.parent.left)}else if(xs(e.parent)&&Ye(e.parent.name))return e.parent.name}else return}function ov(e){if(ed(e))return hr(e.modifiers,Df)}function fx(e){if(Ti(e,126975))return hr(e.modifiers,ja)}function Zve(e,t){if(e.name)if(Ye(e.name)){const n=e.name.escapedText;return XA(e.parent,t).filter(s=>ch(s)&&Ye(s.name)&&s.name.escapedText===n)}else{const n=e.parent.parameters.indexOf(e);R.assert(n>-1,"Parameters should always be in their parents' parameter list");const s=XA(e.parent,t).filter(ch);if(n<s.length)return[s[n]]}return pt}function GA(e){return Zve(e,!1)}function Kve(e){return Zve(e,!0)}function ebe(e,t){const n=e.name.escapedText;return XA(e.parent,t).filter(s=>xm(s)&&s.typeParameters.some(l=>l.name.escapedText===n))}function tbe(e){return ebe(e,!1)}function rbe(e){return ebe(e,!0)}function nbe(e){return!!Yp(e,ch)}function ibe(e){return Yp(e,S4)}function sbe(e){return tK(e,bre)}function YZ(e){return Yp(e,axe)}function OGe(e){return Yp(e,dre)}function abe(e){return Yp(e,dre,!0)}function LGe(e){return Yp(e,mre)}function obe(e){return Yp(e,mre,!0)}function MGe(e){return Yp(e,hre)}function cbe(e){return Yp(e,hre,!0)}function FGe(e){return Yp(e,gre)}function lbe(e){return Yp(e,gre,!0)}function ube(e){return Yp(e,HJ,!0)}function ZZ(e){return Yp(e,yre)}function fbe(e){return Yp(e,yre,!0)}function KZ(e){return Yp(e,cO)}function PB(e){return Yp(e,oxe)}function _be(e){return Yp(e,GJ)}function RGe(e){return Yp(e,xm)}function eK(e){return Yp(e,XJ)}function uT(e){const t=Yp(e,_D);if(t&&t.typeExpression&&t.typeExpression.type)return t}function cv(e){let t=Yp(e,_D);return!t&&ua(e)&&(t=He(GA(e),n=>!!n.typeExpression)),t&&t.typeExpression&&t.typeExpression.type}function d7(e){const t=_be(e);if(t&&t.typeExpression)return t.typeExpression.type;const n=uT(e);if(n&&n.typeExpression){const s=n.typeExpression.type;if(_p(s)){const l=He(s.members,f4);return l&&l.type}if(Vg(s)||T4(s))return s.type}}function XA(e,t){var n,s;if(!Z7(e))return pt;let l=(n=e.jsDoc)==null?void 0:n.jsDocCache;if(l===void 0||t){const f=oee(e,t);R.assert(f.length<2||f[0]!==f[1]),l=mn(f,d=>ig(d)?d.tags:d),t||((s=e.jsDoc)!=null||(e.jsDoc=[]),e.jsDoc.jsDocCache=l)}return l}function fT(e){return XA(e,!1)}function BGe(e){return XA(e,!0)}function Yp(e,t,n){return He(XA(e,n),t)}function tK(e,t){return fT(e).filter(t)}function jGe(e,t){return fT(e).filter(n=>n.kind===t)}function m7(e){return typeof e=="string"?e:e==null?void 0:e.map(t=>t.kind===324?t.text:JGe(t)).join("")}function JGe(e){const t=e.kind===327?"link":e.kind===328?"linkcode":"linkplain",n=e.name?Ap(e.name):"",s=e.name&&e.text.startsWith("://")?"":" ";return`{@${t} ${n}${s}${e.text}}`}function lv(e){if(MT(e)){if(fD(e.parent)){const t=mP(e.parent);if(t&&H(t.tags))return mn(t.tags,n=>xm(n)?n.typeParameters:void 0)}return pt}if(gd(e))return R.assert(e.parent.kind===323),mn(e.parent.tags,t=>xm(t)?t.typeParameters:void 0);if(e.typeParameters||yxe(e)&&e.typeParameters)return e.typeParameters;if(Mn(e)){const t=Dj(e);if(t.length)return t;const n=cv(e);if(n&&Vg(n)&&n.typeParameters)return n.typeParameters}return pt}function v6(e){return e.constraint?e.constraint:xm(e.parent)&&e===e.parent.typeParameters[0]?e.parent.constraint:void 0}function Ny(e){return e.kind===79||e.kind===80}function DB(e){return e.kind===175||e.kind===174}function NB(e){return oi(e)&&!!(e.flags&32)}function rK(e){return qc(e)&&!!(e.flags&32)}function _x(e){return Da(e)&&!!(e.flags&32)}function cf(e){const t=e.kind;return!!(e.flags&32)&&(t===208||t===209||t===210||t===232)}function QA(e){return cf(e)&&!uw(e)&&!!e.questionDotToken}function IB(e){return QA(e.parent)&&e.parent.expression===e}function YA(e){return!cf(e.parent)||QA(e.parent)||e!==e.parent.expression}function nK(e){return e.kind===223&&e.operatorToken.kind===60}function Iy(e){return Gd(e)&&Ye(e.typeName)&&e.typeName.escapedText==="const"&&!e.typeArguments}function jd(e){return uf(e,8)}function OB(e){return uw(e)&&!!(e.flags&32)}function ZA(e){return e.kind===249||e.kind===248}function iK(e){return e.kind===277||e.kind===276}function pbe(e){switch(e.kind){case 305:case 306:return!0;default:return!1}}function sK(e){return pbe(e)||e.kind===303||e.kind===307}function LB(e){return e.kind===351||e.kind===344}function UGe(e){return h7(e.kind)}function h7(e){return e>=163}function aK(e){return e>=0&&e<=162}function EC(e){return aK(e.kind)}function _T(e){return mc(e,"pos")&&mc(e,"end")}function KA(e){return 8<=e&&e<=14}function px(e){return KA(e.kind)}function oK(e){switch(e.kind){case 207:case 206:case 13:case 215:case 228:return!0}return!1}function uv(e){return 14<=e&&e<=17}function dbe(e){return uv(e.kind)}function MB(e){const t=e.kind;return t===16||t===17}function AC(e){return S_(e)||i_(e)}function cK(e){switch(e.kind){case 273:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 271:return e.parent.isTypeOnly;case 270:case 268:return e.isTypeOnly}return!1}function mbe(e){switch(e.kind){case 278:return e.isTypeOnly||e.parent.parent.isTypeOnly;case 275:return e.isTypeOnly&&!!e.moduleSpecifier&&!e.exportClause;case 277:return e.parent.isTypeOnly}return!1}function pT(e){return cK(e)||mbe(e)}function hbe(e){return yo(e)||Ye(e)}function lK(e){return e.kind===10||uv(e.kind)}function al(e){var t;return Ye(e)&&((t=e.emitNode)==null?void 0:t.autoGenerate)!==void 0}function PC(e){var t;return as(e)&&((t=e.emitNode)==null?void 0:t.autoGenerate)!==void 0}function Wf(e){return(Pa(e)||S6(e))&&as(e.name)}function b6(e){return oi(e)&&as(e.name)}function G0(e){switch(e){case 126:case 127:case 132:case 85:case 136:case 88:case 93:case 101:case 123:case 121:case 122:case 146:case 124:case 145:case 161:return!0}return!1}function eP(e){return!!(qC(e)&16476)}function uK(e){return eP(e)||e===124||e===161||e===127}function ja(e){return G0(e.kind)}function ap(e){const t=e.kind;return t===163||t===79}function rl(e){const t=e.kind;return t===79||t===80||t===10||t===8||t===164}function Og(e){const t=e.kind;return t===79||t===203||t===204}function Sa(e){return!!e&&DC(e.kind)}function T6(e){return!!e&&(DC(e.kind)||fl(e))}function Lc(e){return e&&ybe(e.kind)}function gbe(e){return e.kind===110||e.kind===95}function ybe(e){switch(e){case 259:case 171:case 173:case 174:case 175:case 215:case 216:return!0;default:return!1}}function DC(e){switch(e){case 170:case 176:case 326:case 177:case 178:case 181:case 320:case 182:return!0;default:return ybe(e)}}function fK(e){return bs(e)||ah(e)||Fa(e)&&Sa(e.parent)}function Eu(e){const t=e.kind;return t===173||t===169||t===171||t===174||t===175||t===178||t===172||t===237}function Ri(e){return e&&(e.kind===260||e.kind===228)}function Mb(e){return e&&(e.kind===174||e.kind===175)}function op(e){return Pa(e)&&Xh(e)}function S6(e){switch(e.kind){case 171:case 174:case 175:return!0;default:return!1}}function vbe(e){switch(e.kind){case 171:case 174:case 175:case 169:return!0;default:return!1}}function Bc(e){return ja(e)||Df(e)}function dx(e){const t=e.kind;return t===177||t===176||t===168||t===170||t===178||t===174||t===175}function FB(e){return dx(e)||Eu(e)}function X0(e){const t=e.kind;return t===299||t===300||t===301||t===171||t===174||t===175}function ps(e){return qee(e.kind)}function bbe(e){switch(e.kind){case 181:case 182:return!0}return!1}function xa(e){if(e){const t=e.kind;return t===204||t===203}return!1}function tP(e){const t=e.kind;return t===206||t===207}function RB(e){const t=e.kind;return t===205||t===229}function g7(e){switch(e.kind){case 257:case 166:case 205:return!0}return!1}function Tbe(e){return xs(e)||ua(e)||v7(e)||b7(e)}function y7(e){return _K(e)||pK(e)}function _K(e){switch(e.kind){case 203:case 207:return!0}return!1}function v7(e){switch(e.kind){case 205:case 299:case 300:case 301:return!0}return!1}function pK(e){switch(e.kind){case 204:case 206:return!0}return!1}function b7(e){switch(e.kind){case 205:case 229:case 227:case 206:case 207:case 79:case 208:case 209:return!0}return Xf(e,!0)}function Sbe(e){const t=e.kind;return t===208||t===163||t===202}function xbe(e){const t=e.kind;return t===208||t===163}function NC(e){switch(e.kind){case 283:case 282:case 210:case 211:case 212:case 167:return!0;default:return!1}}function Oy(e){return e.kind===210||e.kind===211}function x6(e){const t=e.kind;return t===225||t===14}function g_(e){return kbe(jd(e).kind)}function kbe(e){switch(e){case 208:case 209:case 211:case 210:case 281:case 282:case 285:case 212:case 206:case 214:case 207:case 228:case 215:case 79:case 80:case 13:case 8:case 9:case 10:case 14:case 225:case 95:case 104:case 108:case 110:case 106:case 232:case 230:case 233:case 100:case 279:return!0;default:return!1}}function dK(e){return Cbe(jd(e).kind)}function Cbe(e){switch(e){case 221:case 222:case 217:case 218:case 219:case 220:case 213:return!0;default:return kbe(e)}}function wbe(e){switch(e.kind){case 222:return!0;case 221:return e.operator===45||e.operator===46;default:return!1}}function Ebe(e){switch(e.kind){case 104:case 110:case 95:case 221:return!0;default:return px(e)}}function Dt(e){return zGe(jd(e).kind)}function zGe(e){switch(e){case 224:case 226:case 216:case 223:case 227:case 231:case 229:case 357:case 356:case 235:return!0;default:return Cbe(e)}}function mx(e){const t=e.kind;return t===213||t===231}function VGe(e){return ure(e)||VJ(e)}function fv(e,t){switch(e.kind){case 245:case 246:case 247:case 243:case 244:return!0;case 253:return t&&fv(e.statement,t)}return!1}function Abe(e){return Tl(e)||Uu(e)}function Pbe(e){return Oe(e,Abe)}function BB(e){return!P7(e)&&!Tl(e)&&!Ti(e,1)&&!Af(e)}function T7(e){return P7(e)||Tl(e)||Ti(e,1)}function k6(e){return e.kind===246||e.kind===247}function jB(e){return Fa(e)||Dt(e)}function mK(e){return Fa(e)}function Zm(e){return Of(e)||Dt(e)}function Dbe(e){const t=e.kind;return t===265||t===264||t===79}function $Ge(e){const t=e.kind;return t===265||t===264}function qGe(e){const t=e.kind;return t===79||t===264}function hK(e){const t=e.kind;return t===272||t===271}function S7(e){return e.kind===264||e.kind===263}function Vh(e){switch(e.kind){case 216:case 223:case 205:case 210:case 176:case 260:case 228:case 172:case 173:case 182:case 177:case 209:case 263:case 302:case 274:case 275:case 278:case 259:case 215:case 181:case 174:case 79:case 270:case 268:case 273:case 178:case 261:case 341:case 343:case 320:case 344:case 351:case 326:case 349:case 325:case 288:case 289:case 290:case 197:case 171:case 170:case 264:case 199:case 277:case 267:case 271:case 211:case 14:case 8:case 207:case 166:case 208:case 299:case 169:case 168:case 175:case 300:case 308:case 301:case 10:case 262:case 184:case 165:case 257:return!0;default:return!1}}function $h(e){switch(e.kind){case 216:case 238:case 176:case 266:case 295:case 172:case 191:case 173:case 182:case 177:case 245:case 246:case 247:case 259:case 215:case 181:case 174:case 178:case 341:case 343:case 320:case 326:case 349:case 197:case 171:case 170:case 264:case 175:case 308:case 262:return!0;default:return!1}}function WGe(e){return e===216||e===205||e===260||e===228||e===172||e===173||e===263||e===302||e===278||e===259||e===215||e===174||e===270||e===268||e===273||e===261||e===288||e===171||e===170||e===264||e===267||e===271||e===277||e===166||e===299||e===169||e===168||e===175||e===300||e===262||e===165||e===257||e===349||e===341||e===351}function gK(e){return e===259||e===279||e===260||e===261||e===262||e===263||e===264||e===269||e===268||e===275||e===274||e===267}function yK(e){return e===249||e===248||e===256||e===243||e===241||e===239||e===246||e===247||e===245||e===242||e===253||e===250||e===252||e===254||e===255||e===240||e===244||e===251||e===355||e===359||e===358}function lf(e){return e.kind===165?e.parent&&e.parent.kind!==348||Mn(e):WGe(e.kind)}function Nbe(e){return gK(e.kind)}function x7(e){return yK(e.kind)}function Ks(e){const t=e.kind;return yK(t)||gK(t)||HGe(e)}function HGe(e){return e.kind!==238||e.parent!==void 0&&(e.parent.kind===255||e.parent.kind===295)?!1:!Tx(e)}function Ibe(e){const t=e.kind;return yK(t)||gK(t)||t===238}function Obe(e){const t=e.kind;return t===280||t===163||t===79}function rP(e){const t=e.kind;return t===108||t===79||t===208}function k7(e){const t=e.kind;return t===281||t===291||t===282||t===11||t===285}function JB(e){const t=e.kind;return t===288||t===290}function Lbe(e){const t=e.kind;return t===10||t===291}function Hf(e){const t=e.kind;return t===283||t===282}function vK(e){const t=e.kind;return t===292||t===293}function C6(e){return e.kind>=312&&e.kind<=353}function bK(e){return e.kind===323||e.kind===322||e.kind===324||IC(e)||nP(e)||uD(e)||MT(e)}function nP(e){return e.kind>=330&&e.kind<=353}function Q0(e){return e.kind===175}function _v(e){return e.kind===174}function Ep(e){if(!Z7(e))return!1;const{jsDoc:t}=e;return!!t&&t.length>0}function UB(e){return!!e.type}function pv(e){return!!e.initializer}function hx(e){switch(e.kind){case 257:case 166:case 205:case 169:case 299:case 302:return!0;default:return!1}}function TK(e){return e.kind===288||e.kind===290||X0(e)}function zB(e){return e.kind===180||e.kind===230}function Mbe(e){let t=CK;for(const n of e){if(!n.length)continue;let s=0;for(;s<n.length&&s<t&&Dy(n.charCodeAt(s));s++);if(s<t&&(t=s),t===0)return 0}return t===CK?void 0:t}function sc(e){return e.kind===10||e.kind===14}function IC(e){return e.kind===327||e.kind===328||e.kind===329}function SK(e){const t=Rc(e.parameters);return!!t&&Lg(t)}function Lg(e){const t=ch(e)?e.typeExpression&&e.typeExpression.type:e.type;return e.dotDotDotToken!==void 0||!!t&&t.kind===321}var xK,kK,CK,GGe=p({"src/compiler/utilitiesPublic.ts"(){aa(),xK=_7(hu(0,0),0),kK=["cs","de","es","fr","it","ja","ko","pl","pt-br","ru","tr","zh-cn","zh-tw"],CK=1073741823}});function ol(e,t){const n=e.declarations;if(n){for(const s of n)if(s.kind===t)return s}}function Fbe(e,t){return hr(e.declarations||pt,n=>n.kind===t)}function Ma(e){const t=new Map;if(e)for(const n of e)t.set(n.escapedName,n);return t}function qh(e){return(e.flags&33554432)!==0}function XGe(){var e="";const t=n=>e+=n;return{getText:()=>e,write:t,rawWrite:t,writeKeyword:t,writeOperator:t,writePunctuation:t,writeSpace:t,writeStringLiteral:t,writeLiteral:t,writeParameter:t,writeProperty:t,writeSymbol:(n,s)=>t(n),writeTrailingSemicolon:t,writeComment:t,getTextPos:()=>e.length,getLine:()=>0,getColumn:()=>0,getIndent:()=>0,isAtStartOfLine:()=>!1,hasTrailingComment:()=>!1,hasTrailingWhitespace:()=>!!e.length&&Dy(e.charCodeAt(e.length-1)),writeLine:()=>e+=" ",increaseIndent:La,decreaseIndent:La,clear:()=>e=""}}function wK(e,t){return e.configFilePath!==t.configFilePath||Rbe(e,t)}function Rbe(e,t){return w6(e,t,hU)}function Bbe(e,t){return w6(e,t,une)}function w6(e,t,n){return e!==t&&n.some(s=>!ute(zj(e,s),zj(t,s)))}function jbe(e,t){for(;;){const n=t(e);if(n==="quit")return;if(n!==void 0)return n;if(bs(e))return;e=e.parent}}function cp(e,t){const n=e.entries();for(const[s,l]of n){const f=t(l,s);if(f)return f}}function iP(e,t){const n=e.keys();for(const s of n){const l=t(s);if(l)return l}}function C7(e,t){e.forEach((n,s)=>{t.set(s,n)})}function sP(e){const t=WP.getText();try{return e(WP),WP.getText()}finally{WP.clear(),WP.writeKeyword(t)}}function w7(e){return e.end-e.pos}function E6(e,t,n){var s,l;return(l=(s=e==null?void 0:e.resolvedModules)==null?void 0:s.get(t,n))==null?void 0:l.resolvedModule}function Jbe(e,t,n,s){e.resolvedModules||(e.resolvedModules=$x()),e.resolvedModules.set(t,s,n)}function Ube(e,t,n,s){e.resolvedTypeReferenceDirectiveNames||(e.resolvedTypeReferenceDirectiveNames=$x()),e.resolvedTypeReferenceDirectiveNames.set(t,s,n)}function QGe(e,t,n){var s,l;return(l=(s=e==null?void 0:e.resolvedTypeReferenceDirectiveNames)==null?void 0:s.get(t,n))==null?void 0:l.resolvedTypeReferenceDirective}function EK(e,t){return e.path===t.path&&!e.prepend==!t.prepend&&!e.circular==!t.circular}function zbe(e,t){return e===t||e.resolvedModule===t.resolvedModule||!!e.resolvedModule&&!!t.resolvedModule&&e.resolvedModule.isExternalLibraryImport===t.resolvedModule.isExternalLibraryImport&&e.resolvedModule.extension===t.resolvedModule.extension&&e.resolvedModule.resolvedFileName===t.resolvedModule.resolvedFileName&&e.resolvedModule.originalPath===t.resolvedModule.originalPath&&YGe(e.resolvedModule.packageId,t.resolvedModule.packageId)}function YGe(e,t){return e===t||!!e&&!!t&&e.name===t.name&&e.subModuleName===t.subModuleName&&e.version===t.version}function VB({name:e,subModuleName:t}){return t?`${e}/${t}`:e}function gx(e){return`${VB(e)}@${e.version}`}function Vbe(e,t){return e===t||e.resolvedTypeReferenceDirective===t.resolvedTypeReferenceDirective||!!e.resolvedTypeReferenceDirective&&!!t.resolvedTypeReferenceDirective&&e.resolvedTypeReferenceDirective.resolvedFileName===t.resolvedTypeReferenceDirective.resolvedFileName&&!!e.resolvedTypeReferenceDirective.primary==!!t.resolvedTypeReferenceDirective.primary&&e.resolvedTypeReferenceDirective.originalPath===t.resolvedTypeReferenceDirective.originalPath}function AK(e,t,n,s,l,f){R.assert(e.length===n.length);for(let d=0;d<e.length;d++){const g=n[d],h=e[d],k=f.getName(h),S=f.getMode(h,t),w=s&&s.get(k,S);if(w?!g||!l(w,g):g)return!0}return!1}function E7(e){return ZGe(e),(e.flags&524288)!==0}function ZGe(e){e.flags&1048576||((e.flags&131072||ca(e,E7))&&(e.flags|=524288),e.flags|=1048576)}function bn(e){for(;e&&e.kind!==308;)e=e.parent;return e}function $B(e){return bn(e.valueDeclaration||RK(e))}function qB(e,t){return!!e&&(e.scriptKind===1||e.scriptKind===2)&&!e.checkJsDirective&&t===void 0}function $be(e){switch(e.kind){case 238:case 266:case 245:case 246:case 247:return!0}return!1}function dv(e,t){return R.assert(e>=0),Py(t)[e]}function KGe(e){const t=bn(e),n=zc(t,e.pos);return`${t.fileName}(${n.line+1},${n.character+1})`}function A7(e,t){R.assert(e>=0);const n=Py(t),s=e,l=t.text;if(s+1===n.length)return l.length-1;{const f=n[s];let d=n[s+1]-1;for(R.assert(af(l.charCodeAt(d)));f<=d&&af(l.charCodeAt(d));)d--;return d}}function WB(e,t,n){return!(n&&n(t))&&!e.identifiers.has(t)}function cl(e){return e===void 0?!0:e.pos===e.end&&e.pos>=0&&e.kind!==1}function md(e){return!cl(e)}function qbe(e,t){return bl(e)?t===e.expression:fl(e)?t===e.modifiers:Np(e)?t===e.initializer:Pa(e)?t===e.questionToken&&op(e):Iu(e)?t===e.modifiers||t===e.questionToken||t===e.exclamationToken||aP(e.modifiers,t,Bc):id(e)?t===e.equalsToken||t===e.modifiers||t===e.questionToken||t===e.exclamationToken||aP(e.modifiers,t,Bc):zl(e)?t===e.exclamationToken:Al(e)?t===e.typeParameters||t===e.type||aP(e.typeParameters,t,bl):Hd(e)?t===e.typeParameters||aP(e.typeParameters,t,bl):nd(e)?t===e.typeParameters||t===e.type||aP(e.typeParameters,t,bl):aO(e)?t===e.modifiers||aP(e.modifiers,t,Bc):!1}function aP(e,t,n){return!e||pa(t)||!n(t)?!1:xt(e,t)}function Wbe(e,t,n){if(t===void 0||t.length===0)return e;let s=0;for(;s<e.length&&n(e[s]);++s);return e.splice(s,0,...t),e}function Hbe(e,t,n){if(t===void 0)return e;let s=0;for(;s<e.length&&n(e[s]);++s);return e.splice(s,0,t),e}function Gbe(e){return vm(e)||!!(Wa(e)&2097152)}function Wh(e,t){return Wbe(e,t,vm)}function PK(e,t){return Wbe(e,t,Gbe)}function eXe(e,t){return Hbe(e,t,vm)}function dT(e,t){return Hbe(e,t,Gbe)}function DK(e,t,n){if(e.charCodeAt(t+1)===47&&t+2<n&&e.charCodeAt(t+2)===47){const s=e.substring(t,n);return!!(bte.test(s)||Tte.test(s)||tSe.test(s)||rSe.test(s))}return!1}function HB(e,t){return e.charCodeAt(t+1)===42&&e.charCodeAt(t+2)===33}function Xbe(e,t){const n=new Map(t.map(d=>[`${zc(e,d.range.end).line}`,d])),s=new Map;return{getUnusedExpectations:l,markUsed:f};function l(){return ao(n.entries()).filter(([d,g])=>g.type===0&&!s.get(d)).map(([d,g])=>g)}function f(d){return n.has(`${d}`)?(s.set(`${d}`,!0),!0):!1}}function yx(e,t,n){return cl(e)?e.pos:C6(e)||e.kind===11?wo((t||bn(e)).text,e.pos,!1,!0):n&&Ep(e)?yx(e.jsDoc[0],t):e.kind===354&&e._children.length>0?yx(e._children[0],t,n):wo((t||bn(e)).text,e.pos,!1,!1,R7(e))}function NK(e,t){const n=!cl(e)&&Qd(e)?Bt(e.modifiers,Df):void 0;return n?wo((t||bn(e)).text,n.end):yx(e,t)}function mT(e,t,n=!1){return oP(e.text,t,n)}function tXe(e){return!!kn(e,Jx)}function GB(e){return!!(Uu(e)&&e.exportClause&&qg(e.exportClause)&&e.exportClause.name.escapedText==="default")}function oP(e,t,n=!1){if(cl(t))return"";let s=e.substring(n?t.pos:wo(e,t.pos),t.end);return tXe(t)&&(s=s.split(/\r\n|\n|\r/).map(l=>MA(l.replace(/^\s*\*/,""))).join(`
`)),s}function lu(e,t=!1){return mT(bn(e),e,t)}function rXe(e){return e.pos}function A6(e,t){return rv(e,t,rXe,Cc)}function Wa(e){const t=e.emitNode;return t&&t.flags||0}function Jd(e){const t=e.emitNode;return t&&t.internalFlags||0}function IK(){return new Map(Object.entries({Array:new Map(Object.entries({es2015:["find","findIndex","fill","copyWithin","entries","keys","values"],es2016:["includes"],es2019:["flat","flatMap"],es2022:["at"],es2023:["findLastIndex","findLast"]})),Iterator:new Map(Object.entries({es2015:pt})),AsyncIterator:new Map(Object.entries({es2015:pt})),Atomics:new Map(Object.entries({es2017:pt})),SharedArrayBuffer:new Map(Object.entries({es2017:pt})),AsyncIterable:new Map(Object.entries({es2018:pt})),AsyncIterableIterator:new Map(Object.entries({es2018:pt})),AsyncGenerator:new Map(Object.entries({es2018:pt})),AsyncGeneratorFunction:new Map(Object.entries({es2018:pt})),RegExp:new Map(Object.entries({es2015:["flags","sticky","unicode"],es2018:["dotAll"]})),Reflect:new Map(Object.entries({es2015:["apply","construct","defineProperty","deleteProperty","get"," getOwnPropertyDescriptor","getPrototypeOf","has","isExtensible","ownKeys","preventExtensions","set","setPrototypeOf"]})),ArrayConstructor:new Map(Object.entries({es2015:["from","of"]})),ObjectConstructor:new Map(Object.entries({es2015:["assign","getOwnPropertySymbols","keys","is","setPrototypeOf"],es2017:["values","entries","getOwnPropertyDescriptors"],es2019:["fromEntries"],es2022:["hasOwn"]})),NumberConstructor:new Map(Object.entries({es2015:["isFinite","isInteger","isNaN","isSafeInteger","parseFloat","parseInt"]})),Math:new Map(Object.entries({es2015:["clz32","imul","sign","log10","log2","log1p","expm1","cosh","sinh","tanh","acosh","asinh","atanh","hypot","trunc","fround","cbrt"]})),Map:new Map(Object.entries({es2015:["entries","keys","values"]})),Set:new Map(Object.entries({es2015:["entries","keys","values"]})),PromiseConstructor:new Map(Object.entries({es2015:["all","race","reject","resolve"],es2020:["allSettled"],es2021:["any"]})),Symbol:new Map(Object.entries({es2015:["for","keyFor"],es2019:["description"]})),WeakMap:new Map(Object.entries({es2015:["entries","keys","values"]})),WeakSet:new Map(Object.entries({es2015:["entries","keys","values"]})),String:new Map(Object.entries({es2015:["codePointAt","includes","endsWith","normalize","repeat","startsWith","anchor","big","blink","bold","fixed","fontcolor","fontsize","italics","link","small","strike","sub","sup"],es2017:["padStart","padEnd"],es2019:["trimStart","trimEnd","trimLeft","trimRight"],es2020:["matchAll"],es2021:["replaceAll"],es2022:["at"]})),StringConstructor:new Map(Object.entries({es2015:["fromCodePoint","raw"]})),DateTimeFormat:new Map(Object.entries({es2017:["formatToParts"]})),Promise:new Map(Object.entries({es2015:pt,es2018:["finally"]})),RegExpMatchArray:new Map(Object.entries({es2018:["groups"]})),RegExpExecArray:new Map(Object.entries({es2018:["groups"]})),Intl:new Map(Object.entries({es2018:["PluralRules"]})),NumberFormat:new Map(Object.entries({es2018:["formatToParts"]})),SymbolConstructor:new Map(Object.entries({es2020:["matchAll"]})),DataView:new Map(Object.entries({es2020:["setBigInt64","setBigUint64","getBigInt64","getBigUint64"]})),BigInt:new Map(Object.entries({es2020:pt})),RelativeTimeFormat:new Map(Object.entries({es2020:["format","formatToParts","resolvedOptions"]})),Int8Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint8Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint8ClampedArray:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Int16Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint16Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Int32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Uint32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Float32Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),Float64Array:new Map(Object.entries({es2022:["at"],es2023:["findLastIndex","findLast"]})),BigInt64Array:new Map(Object.entries({es2020:pt,es2022:["at"],es2023:["findLastIndex","findLast"]})),BigUint64Array:new Map(Object.entries({es2020:pt,es2022:["at"],es2023:["findLastIndex","findLast"]})),Error:new Map(Object.entries({es2022:["cause"]}))}))}function Qbe(e,t,n){var s;if(t&&nXe(e,n))return mT(t,e);switch(e.kind){case 10:{const l=n&2?bee:n&1||Wa(e)&33554432?UC:u5;return e.singleQuote?"'"+l(e.text,39)+"'":'"'+l(e.text,34)+'"'}case 14:case 15:case 16:case 17:{const l=n&1||Wa(e)&33554432?UC:u5,f=(s=e.rawText)!=null?s:kXe(l(e.text,96));switch(e.kind){case 14:return"`"+f+"`";case 15:return"`"+f+"${";case 16:return"}"+f+"${";case 17:return"}"+f+"`"}break}case 8:case 9:return e.text;case 13:return n&4&&e.isUnterminated?e.text+(e.text.charCodeAt(e.text.length-1)===92?" /":"/"):e.text}return R.fail(`Literal kind '${e.kind}' not accounted for.`)}function nXe(e,t){return Mc(e)||!e.parent||t&4&&e.isUnterminated?!1:Td(e)&&e.numericLiteralFlags&512?!!(t&8):!MJ(e)}function Ybe(e){return ha(e)?'"'+u5(e)+'"':""+e}function Zbe(e){return sf(e).replace(/^(\d)/,"_$1").replace(/\W/g,"_")}function OK(e){return(ym(e)&3)!==0||LK(e)}function LK(e){const t=Gh(e);return t.kind===257&&t.parent.kind===295}function Af(e){return Pl(e)&&(e.name.kind===10||Km(e))}function XB(e){return Pl(e)&&e.name.kind===10}function MK(e){return Pl(e)&&yo(e.name)}function Kbe(e){return Pl(e)||Ye(e)}function cP(e){return iXe(e.valueDeclaration)}function iXe(e){return!!e&&e.kind===264&&!e.body}function e2e(e){return e.kind===308||e.kind===264||T6(e)}function Km(e){return!!(e.flags&1024)}function hT(e){return Af(e)&&FK(e)}function FK(e){switch(e.parent.kind){case 308:return Fl(e.parent);case 265:return Af(e.parent.parent)&&bs(e.parent.parent.parent)&&!Fl(e.parent.parent.parent)}return!1}function RK(e){var t;return(t=e.declarations)==null?void 0:t.find(n=>!hT(n)&&!(Pl(n)&&Km(n)))}function sXe(e){return e===1||e===100||e===199}function OC(e,t){return Fl(e)||qd(t)||sXe(Hu(t))&&!!e.commonJsModuleIndicator}function BK(e,t){switch(e.scriptKind){case 1:case 3:case 2:case 4:break;default:return!1}return e.isDeclarationFile?!1:bd(t,"alwaysStrict")||pxe(e.statements)?!0:Fl(e)||qd(t)?Hu(t)>=5?!0:!t.noImplicitUseStrict:!1}function jK(e){return!!(e.flags&16777216)||Ti(e,2)}function JK(e,t){switch(e.kind){case 308:case 266:case 295:case 264:case 245:case 246:case 247:case 173:case 171:case 174:case 175:case 259:case 215:case 216:case 169:case 172:return!0;case 238:return!T6(t)}return!1}function UK(e){switch(R.type(e),e.kind){case 341:case 349:case 326:return!0;default:return zK(e)}}function zK(e){switch(R.type(e),e.kind){case 176:case 177:case 170:case 178:case 181:case 182:case 320:case 260:case 228:case 261:case 262:case 348:case 259:case 171:case 173:case 174:case 175:case 215:case 216:return!0;default:return!1}}function vx(e){switch(e.kind){case 269:case 268:return!0;default:return!1}}function t2e(e){return vx(e)||bT(e)}function QB(e){switch(e.kind){case 269:case 268:case 240:case 260:case 259:case 264:case 262:case 261:case 263:return!0;default:return!1}}function r2e(e){return P7(e)||Pl(e)||zy(e)||up(e)}function P7(e){return vx(e)||Uu(e)}function Hh(e){return kn(e.parent,t=>JK(t,t.parent))}function n2e(e,t){let n=Hh(e);for(;n;)t(n),n=Hh(n)}function uc(e){return!e||w7(e)===0?"(Missing)":lu(e)}function i2e(e){return e.declaration?uc(e.declaration.parameters[0].name):void 0}function D7(e){return e.kind===164&&!Zp(e.expression)}function YB(e){var t;switch(e.kind){case 79:case 80:return(t=e.emitNode)!=null&&t.autoGenerate?void 0:e.escapedText;case 10:case 8:case 14:return Vc(e.text);case 164:return Zp(e.expression)?Vc(e.expression.text):void 0;default:return R.assertNever(e)}}function P6(e){return R.checkDefined(YB(e))}function Ap(e){switch(e.kind){case 108:return"this";case 80:case 79:return w7(e)===0?ai(e):lu(e);case 163:return Ap(e.left)+"."+Ap(e.right);case 208:return Ye(e.name)||as(e.name)?Ap(e.expression)+"."+Ap(e.name):R.assertNever(e.name);case 314:return Ap(e.left)+Ap(e.right);default:return R.assertNever(e)}}function ni(e,t,n,s,l,f){const d=bn(e);return r_(d,e,t,n,s,l,f)}function D6(e,t,n,s,l,f,d){const g=wo(e.text,t.pos);return gu(e,g,t.end-g,n,s,l,f,d)}function r_(e,t,n,s,l,f,d){const g=gT(e,t);return gu(e,g.start,g.length,n,s,l,f,d)}function Ly(e,t,n,s){const l=gT(e,t);return ZB(e,l.start,l.length,n,s)}function N7(e,t,n,s){const l=wo(e.text,t.pos);return ZB(e,l,t.end-l,n,s)}function VK(e,t,n){R.assertGreaterThanOrEqual(t,0),R.assertGreaterThanOrEqual(n,0),e&&(R.assertLessThanOrEqual(t,e.text.length),R.assertLessThanOrEqual(t+n,e.text.length))}function ZB(e,t,n,s,l){return VK(e,t,n),{file:e,start:t,length:n,code:s.code,category:s.category,messageText:s.next?s:s.messageText,relatedInformation:l}}function $K(e,t,n){return{file:e,start:0,length:0,code:t.code,category:t.category,messageText:t.next?t:t.messageText,relatedInformation:n}}function s2e(e){return typeof e.messageText=="string"?{code:e.code,category:e.category,messageText:e.messageText,next:e.next}:e.messageText}function qK(e,t,n){return{file:e,start:t.pos,length:t.end-t.pos,code:n.code,category:n.category,messageText:n.message}}function Y0(e,t){const n=q0(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);n.scan();const s=n.getTokenPos();return eu(s,n.getTextPos())}function a2e(e,t){const n=q0(e.languageVersion,!0,e.languageVariant,e.text,void 0,t);return n.scan(),n.getToken()}function aXe(e,t){const n=wo(e.text,t.pos);if(t.body&&t.body.kind===238){const{line:s}=zc(e,t.body.pos),{line:l}=zc(e,t.body.end);if(s<l)return hu(n,A7(s,e)-n+1)}return eu(n,t.end)}function gT(e,t){let n=t;switch(t.kind){case 308:const f=wo(e.text,0,!1);return f===e.text.length?hu(0,0):Y0(e,f);case 257:case 205:case 260:case 228:case 261:case 264:case 263:case 302:case 259:case 215:case 171:case 174:case 175:case 262:case 169:case 168:case 271:n=t.name;break;case 216:return aXe(e,t);case 292:case 293:const d=wo(e.text,t.pos),g=t.statements.length>0?t.statements[0].pos:t.end;return eu(d,g)}if(n===void 0)return Y0(e,t.pos);R.assert(!ig(n));const s=cl(n),l=s||tw(t)?n.pos:wo(e.text,n.pos);return s?(R.assert(l===n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),R.assert(l===n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")):(R.assert(l>=n.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),R.assert(l<=n.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),eu(l,n.end)}function lp(e){return(e.externalModuleIndicator||e.commonJsModuleIndicator)!==void 0}function hd(e){return e.scriptKind===6}function yT(e){return!!(H0(e)&2048)}function KB(e){return!!(H0(e)&64&&!sp(e,e.parent))}function My(e){return!!(ym(e)&2)}function lP(e){return!!(ym(e)&1)}function N6(e){return e.kind===210&&e.expression.kind===106}function up(e){return e.kind===210&&e.expression.kind===100}function I6(e){return iD(e)&&e.keywordToken===100&&e.name.escapedText==="meta"}function Fb(e){return zy(e)&&Hb(e.argument)&&yo(e.argument.literal)}function vm(e){return e.kind===241&&e.expression.kind===10}function ej(e){return!!(Wa(e)&2097152)}function tj(e){return ej(e)&&ru(e)}function oXe(e){return Ye(e.name)&&!e.initializer}function rj(e){return ej(e)&&Xl(e)&&ut(e.declarationList.declarations,oXe)}function WK(e,t){return e.kind!==11?Ng(t.text,e.pos):void 0}function HK(e,t){const n=e.kind===166||e.kind===165||e.kind===215||e.kind===216||e.kind===214||e.kind===257||e.kind===278?Cr(Ib(t,e.pos),Ng(t,e.pos)):Ng(t,e.pos);return hr(n,s=>t.charCodeAt(s.pos+1)===42&&t.charCodeAt(s.pos+2)===42&&t.charCodeAt(s.pos+3)!==47)}function Mg(e){if(179<=e.kind&&e.kind<=202)return!0;switch(e.kind){case 131:case 157:case 148:case 160:case 152:case 134:case 153:case 149:case 155:case 144:return!0;case 114:return e.parent.kind!==219;case 230:return J_(e.parent)&&!h5(e);case 165:return e.parent.kind===197||e.parent.kind===192;case 79:(e.parent.kind===163&&e.parent.right===e||e.parent.kind===208&&e.parent.name===e)&&(e=e.parent),R.assert(e.kind===79||e.kind===163||e.kind===208,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 163:case 208:case 108:{const{parent:t}=e;if(t.kind===183)return!1;if(t.kind===202)return!t.isTypeOf;if(179<=t.kind&&t.kind<=202)return!0;switch(t.kind){case 230:return J_(t.parent)&&!h5(t);case 165:return e===t.constraint;case 348:return e===t.constraint;case 169:case 168:case 166:case 257:return e===t.type;case 259:case 215:case 216:case 173:case 171:case 170:case 174:case 175:return e===t.type;case 176:case 177:case 178:return e===t.type;case 213:return e===t.type;case 210:case 211:return xt(t.typeArguments,e);case 212:return!1}}}return!1}function GK(e,t){for(;e;){if(e.kind===t)return!0;e=e.parent}return!1}function bx(e,t){return n(e);function n(s){switch(s.kind){case 250:return t(s);case 266:case 238:case 242:case 243:case 244:case 245:case 246:case 247:case 251:case 252:case 292:case 293:case 253:case 255:case 295:return ca(s,n)}}}function o2e(e,t){return n(e);function n(s){switch(s.kind){case 226:t(s);const l=s.expression;l&&n(l);return;case 263:case 261:case 264:case 262:return;default:if(Sa(s)){if(s.name&&s.name.kind===164){n(s.name.expression);return}}else Mg(s)||ca(s,n)}}}function XK(e){return e&&e.kind===185?e.elementType:e&&e.kind===180?Fh(e.typeArguments):void 0}function c2e(e){switch(e.kind){case 261:case 260:case 228:case 184:return e.members;case 207:return e.properties}}function O6(e){if(e)switch(e.kind){case 205:case 302:case 166:case 299:case 169:case 168:case 300:case 257:return!0}return!1}function l2e(e){return O6(e)||Mb(e)}function nj(e){return e.parent.kind===258&&e.parent.parent.kind===240}function u2e(e){return Mn(e)?cc(e.parent)&&$n(e.parent.parent)&&ll(e.parent.parent)===2||ij(e.parent):!1}function ij(e){return Mn(e)?$n(e)&&ll(e)===1:!1}function f2e(e){return(xs(e)?My(e)&&Ye(e.name)&&nj(e):Pa(e)?kP(e)&&tu(e):Np(e)&&kP(e))||ij(e)}function _2e(e){switch(e.kind){case 171:case 170:case 173:case 174:case 175:case 259:case 215:return!0}return!1}function QK(e,t){for(;;){if(t&&t(e),e.statement.kind!==253)return e.statement;e=e.statement}}function Tx(e){return e&&e.kind===238&&Sa(e.parent)}function Ud(e){return e&&e.kind===171&&e.parent.kind===207}function sj(e){return(e.kind===171||e.kind===174||e.kind===175)&&(e.parent.kind===207||e.parent.kind===228)}function p2e(e){return e&&e.kind===1}function cXe(e){return e&&e.kind===0}function L6(e,t,n){return e.properties.filter(s=>{if(s.kind===299){const l=YB(s.name);return t===l||!!n&&n===l}return!1})}function d2e(e,t,n){return ze(L6(e,t),s=>Nf(s.initializer)?He(s.initializer.elements,l=>yo(l)&&l.text===n):void 0)}function uP(e){if(e&&e.statements.length){const t=e.statements[0].expression;return Pi(t,cc)}}function aj(e,t,n){return ze(I7(e,t),s=>Nf(s.initializer)?He(s.initializer.elements,l=>yo(l)&&l.text===n):void 0)}function I7(e,t){const n=uP(e);return n?L6(n,t):pt}function Pp(e){return kn(e.parent,Sa)}function m2e(e){return kn(e.parent,Lc)}function uu(e){return kn(e.parent,Ri)}function lXe(e){return kn(e.parent,t=>Ri(t)||Sa(t)?"quit":fl(t))}function oj(e){return kn(e.parent,T6)}function y_(e,t,n){for(R.assert(e.kind!==308);;){if(e=e.parent,!e)return R.fail();switch(e.kind){case 164:if(n&&Ri(e.parent.parent))return e;e=e.parent.parent;break;case 167:e.parent.kind===166&&Eu(e.parent.parent)?e=e.parent.parent:Eu(e.parent)&&(e=e.parent);break;case 216:if(!t)continue;case 259:case 215:case 264:case 172:case 169:case 168:case 171:case 170:case 173:case 174:case 175:case 176:case 177:case 178:case 263:case 308:return e}}}function h2e(e){switch(e.kind){case 216:case 259:case 215:case 169:return!0;case 238:switch(e.parent.kind){case 173:case 171:case 174:case 175:return!0;default:return!1}default:return!1}}function cj(e){Ye(e)&&(vu(e.parent)||ru(e.parent))&&e.parent.name===e&&(e=e.parent);const t=y_(e,!0,!1);return bs(t)}function g2e(e){const t=y_(e,!1,!1);if(t)switch(t.kind){case 173:case 259:case 215:return t}}function O7(e,t){for(;;){if(e=e.parent,!e)return;switch(e.kind){case 164:e=e.parent;break;case 259:case 215:case 216:if(!t)continue;case 169:case 168:case 171:case 170:case 173:case 174:case 175:case 172:return e;case 167:e.parent.kind===166&&Eu(e.parent.parent)?e=e.parent.parent:Eu(e.parent)&&(e=e.parent);break}}}function Sx(e){if(e.kind===215||e.kind===216){let t=e,n=e.parent;for(;n.kind===214;)t=n,n=n.parent;if(n.kind===210&&n.expression===t)return n}}function uXe(e){return e.kind===106||n_(e)}function n_(e){const t=e.kind;return(t===208||t===209)&&e.expression.kind===106}function L7(e){const t=e.kind;return(t===208||t===209)&&e.expression.kind===108}function lj(e){var t;return!!e&&xs(e)&&((t=e.initializer)==null?void 0:t.kind)===108}function y2e(e){return!!e&&(id(e)||Iu(e))&&$n(e.parent.parent)&&e.parent.parent.operatorToken.kind===63&&e.parent.parent.right.kind===108}function M7(e){switch(e.kind){case 180:return e.typeName;case 230:return El(e.expression)?e.expression:void 0;case 79:case 163:return e}}function uj(e){switch(e.kind){case 212:return e.tag;case 283:case 282:return e.tagName;default:return e.expression}}function fj(e,t,n,s){if(e&&of(t)&&as(t.name))return!1;switch(t.kind){case 260:return!0;case 228:return!e;case 169:return n!==void 0&&(e?vu(n):Ri(n)&&!CT(t)&&!Nee(t));case 174:case 175:case 171:return t.body!==void 0&&n!==void 0&&(e?vu(n):Ri(n));case 166:return e?n!==void 0&&n.body!==void 0&&(n.kind===173||n.kind===171||n.kind===175)&&xT(n)!==t&&s!==void 0&&s.kind===260:!1}return!1}function M6(e,t,n,s){return ed(t)&&fj(e,t,n,s)}function F7(e,t,n,s){return M6(e,t,n,s)||fP(e,t,n)}function fP(e,t,n){switch(t.kind){case 260:return Oe(t.members,s=>F7(e,s,t,n));case 228:return!e&&Oe(t.members,s=>F7(e,s,t,n));case 171:case 175:case 173:return Oe(t.parameters,s=>M6(e,s,t,n));default:return!1}}function vT(e,t){if(M6(e,t))return!0;const n=Bg(t);return!!n&&fP(e,n,t)}function YK(e,t,n){let s;if(Mb(t)){const{firstAccessor:l,secondAccessor:f,setAccessor:d}=Dx(n.members,t),g=ed(l)?l:f&&ed(f)?f:void 0;if(!g||t!==g)return!1;s=d==null?void 0:d.parameters}else zl(t)&&(s=t.parameters);if(M6(e,t,n))return!0;if(s){for(const l of s)if(!kT(l)&&M6(e,l,t,n))return!0}return!1}function ZK(e){if(e.textSourceNode){switch(e.textSourceNode.kind){case 10:return ZK(e.textSourceNode);case 14:return e.text===""}return!1}return e.text===""}function _P(e){const{parent:t}=e;return t.kind===283||t.kind===282||t.kind===284?t.tagName===e:!1}function Fy(e){switch(e.kind){case 106:case 104:case 110:case 95:case 13:case 206:case 207:case 208:case 209:case 210:case 211:case 212:case 231:case 213:case 235:case 232:case 214:case 215:case 228:case 216:case 219:case 217:case 218:case 221:case 222:case 223:case 224:case 227:case 225:case 229:case 281:case 282:case 285:case 226:case 220:case 233:return!0;case 230:return!J_(e.parent)&&!S4(e.parent);case 163:for(;e.parent.kind===163;)e=e.parent;return e.parent.kind===183||IC(e.parent)||lD(e.parent)||Xb(e.parent)||_P(e);case 314:for(;Xb(e.parent);)e=e.parent;return e.parent.kind===183||IC(e.parent)||lD(e.parent)||Xb(e.parent)||_P(e);case 80:return $n(e.parent)&&e.parent.left===e&&e.parent.operatorToken.kind===101;case 79:if(e.parent.kind===183||IC(e.parent)||lD(e.parent)||Xb(e.parent)||_P(e))return!0;case 8:case 9:case 10:case 14:case 108:return _j(e);default:return!1}}function _j(e){const{parent:t}=e;switch(t.kind){case 257:case 166:case 169:case 168:case 302:case 299:case 205:return t.initializer===e;case 241:case 242:case 243:case 244:case 250:case 251:case 252:case 292:case 254:return t.expression===e;case 245:const n=t;return n.initializer===e&&n.initializer.kind!==258||n.condition===e||n.incrementor===e;case 246:case 247:const s=t;return s.initializer===e&&s.initializer.kind!==258||s.expression===e;case 213:case 231:return e===t.expression;case 236:return e===t.expression;case 164:return e===t.expression;case 167:case 291:case 290:case 301:return!0;case 230:return t.expression===e&&!Mg(t);case 300:return t.objectAssignmentInitializer===e;case 235:return e===t.expression;default:return Fy(t)}}function pj(e){for(;e.kind===163||e.kind===79;)e=e.parent;return e.kind===183}function v2e(e){return qg(e)&&!!e.parent.moduleSpecifier}function Rb(e){return e.kind===268&&e.moduleReference.kind===280}function pP(e){return R.assert(Rb(e)),e.moduleReference.expression}function KK(e){return bT(e)&&OP(e.initializer).arguments[0]}function F6(e){return e.kind===268&&e.moduleReference.kind!==280}function Gf(e){return Mn(e)}function fXe(e){return!Mn(e)}function Mn(e){return!!e&&!!(e.flags&262144)}function dj(e){return!!e&&!!(e.flags&67108864)}function eee(e){return!hd(e)}function R7(e){return!!e&&!!(e.flags&8388608)}function mj(e){return Gd(e)&&Ye(e.typeName)&&e.typeName.escapedText==="Object"&&e.typeArguments&&e.typeArguments.length===2&&(e.typeArguments[0].kind===152||e.typeArguments[0].kind===148)}function v_(e,t){if(e.kind!==210)return!1;const{expression:n,arguments:s}=e;if(n.kind!==79||n.escapedText!=="require"||s.length!==1)return!1;const l=s[0];return!t||sc(l)}function tee(e){return T2e(e,!1)}function bT(e){return T2e(e,!0)}function b2e(e){return qo(e)&&bT(e.parent.parent)}function T2e(e,t){return xs(e)&&!!e.initializer&&v_(t?OP(e.initializer):e.initializer,!0)}function ree(e){return Xl(e)&&e.declarationList.declarations.length>0&&ut(e.declarationList.declarations,t=>tee(t))}function B7(e){return e===39||e===34}function hj(e,t){return mT(t,e).charCodeAt(0)===34}function dP(e){return $n(e)||$c(e)||Ye(e)||Da(e)}function j7(e){return Mn(e)&&e.initializer&&$n(e.initializer)&&(e.initializer.operatorToken.kind===56||e.initializer.operatorToken.kind===60)&&e.name&&El(e.name)&&R6(e.name,e.initializer.left)?e.initializer.right:e.initializer}function J7(e){const t=j7(e);return t&&Bb(t,zb(e.name))}function _Xe(e,t){return Q(e.properties,n=>Iu(n)&&Ye(n.name)&&n.name.escapedText==="value"&&n.initializer&&Bb(n.initializer,t))}function LC(e){if(e&&e.parent&&$n(e.parent)&&e.parent.operatorToken.kind===63){const t=zb(e.parent.left);return Bb(e.parent.right,t)||pXe(e.parent.left,e.parent.right,t)}if(e&&Da(e)&&MC(e)){const t=_Xe(e.arguments[2],e.arguments[1].text==="prototype");if(t)return t}}function Bb(e,t){if(Da(e)){const n=xc(e.expression);return n.kind===215||n.kind===216?e:void 0}if(e.kind===215||e.kind===228||e.kind===216||cc(e)&&(e.properties.length===0||t))return e}function pXe(e,t,n){const s=$n(t)&&(t.operatorToken.kind===56||t.operatorToken.kind===60)&&Bb(t.right,n);if(s&&R6(e,t.left))return s}function S2e(e){const t=xs(e.parent)?e.parent.name:$n(e.parent)&&e.parent.operatorToken.kind===63?e.parent.left:void 0;return t&&Bb(e.right,zb(t))&&El(t)&&R6(t,e.left)}function nee(e){if($n(e.parent)){const t=(e.parent.operatorToken.kind===56||e.parent.operatorToken.kind===60)&&$n(e.parent.parent)?e.parent.parent:e.parent;if(t.operatorToken.kind===63&&Ye(t.left))return t.left}else if(xs(e.parent))return e.parent.name}function R6(e,t){return zd(e)&&zd(t)?Vd(e)===Vd(t):Ny(e)&&gj(t)&&(t.expression.kind===108||Ye(t.expression)&&(t.expression.escapedText==="window"||t.expression.escapedText==="self"||t.expression.escapedText==="global"))?R6(e,V7(t)):gj(e)&&gj(t)?Ry(e)===Ry(t)&&R6(e.expression,t.expression):!1}function U7(e){for(;Xf(e,!0);)e=e.right;return e}function xx(e){return Ye(e)&&e.escapedText==="exports"}function iee(e){return Ye(e)&&e.escapedText==="module"}function Fg(e){return(oi(e)||z7(e))&&iee(e.expression)&&Ry(e)==="exports"}function ll(e){const t=dXe(e);return t===5||Mn(e)?t:0}function MC(e){return H(e.arguments)===3&&oi(e.expression)&&Ye(e.expression.expression)&&ai(e.expression.expression)==="Object"&&ai(e.expression.name)==="defineProperty"&&Zp(e.arguments[1])&&FC(e.arguments[0],!0)}function gj(e){return oi(e)||z7(e)}function z7(e){return qc(e)&&Zp(e.argumentExpression)}function kx(e,t){return oi(e)&&(!t&&e.expression.kind===108||Ye(e.name)&&FC(e.expression,!0))||yj(e,t)}function yj(e,t){return z7(e)&&(!t&&e.expression.kind===108||El(e.expression)||kx(e.expression,!0))}function FC(e,t){return El(e)||kx(e,t)}function V7(e){return oi(e)?e.name:e.argumentExpression}function dXe(e){if(Da(e)){if(!MC(e))return 0;const t=e.arguments[0];return xx(t)||Fg(t)?8:kx(t)&&Ry(t)==="prototype"?9:7}return e.operatorToken.kind!==63||!$c(e.left)||mXe(U7(e))?0:FC(e.left.expression,!0)&&Ry(e.left)==="prototype"&&cc(see(e))?6:$7(e.left)}function mXe(e){return lw(e)&&Td(e.expression)&&e.expression.text==="0"}function vj(e){if(oi(e))return e.name;const t=xc(e.argumentExpression);return Td(t)||sc(t)?t:e}function Ry(e){const t=vj(e);if(t){if(Ye(t))return t.escapedText;if(sc(t)||Td(t))return Vc(t.text)}}function $7(e){if(e.expression.kind===108)return 4;if(Fg(e))return 2;if(FC(e.expression,!0)){if(zb(e.expression))return 3;let t=e;for(;!Ye(t.expression);)t=t.expression;const n=t.expression;if((n.escapedText==="exports"||n.escapedText==="module"&&Ry(t)==="exports")&&kx(e))return 1;if(FC(e,!0)||qc(e)&&Cj(e))return 5}return 0}function see(e){for(;$n(e.right);)e=e.right;return e.right}function q7(e){return $n(e)&&ll(e)===3}function x2e(e){return Mn(e)&&e.parent&&e.parent.kind===241&&(!qc(e)||z7(e))&&!!uT(e.parent)}function W7(e,t){const{valueDeclaration:n}=e;(!n||!(t.flags&16777216&&!Mn(t)&&!(n.flags&16777216))&&dP(n)&&!dP(t)||n.kind!==t.kind&&Kbe(n))&&(e.valueDeclaration=t)}function k2e(e){if(!e||!e.valueDeclaration)return!1;const t=e.valueDeclaration;return t.kind===259||xs(t)&&t.initializer&&Sa(t.initializer)}function H7(e){var t,n;switch(e.kind){case 257:case 205:return(t=kn(e.initializer,s=>v_(s,!0)))==null?void 0:t.arguments[0];case 269:return Pi(e.moduleSpecifier,sc);case 268:return Pi((n=Pi(e.moduleReference,ng))==null?void 0:n.expression,sc);case 270:case 277:return Pi(e.parent.moduleSpecifier,sc);case 271:case 278:return Pi(e.parent.parent.moduleSpecifier,sc);case 273:return Pi(e.parent.parent.parent.moduleSpecifier,sc);default:R.assertNever(e)}}function G7(e){return X7(e)||R.failBadSyntaxKind(e.parent)}function X7(e){switch(e.parent.kind){case 269:case 275:return e.parent;case 280:return e.parent.parent;case 210:return up(e.parent)||v_(e.parent,!1)?e.parent:void 0;case 198:return R.assert(yo(e)),Pi(e.parent.parent,zy);default:return}}function B6(e){switch(e.kind){case 269:case 275:return e.moduleSpecifier;case 268:return e.moduleReference.kind===280?e.moduleReference.expression:void 0;case 202:return Fb(e)?e.argument.literal:void 0;case 210:return e.arguments[0];case 264:return e.name.kind===10?e.name:void 0;default:return R.assertNever(e)}}function j6(e){switch(e.kind){case 269:return e.importClause&&Pi(e.importClause.namedBindings,xv);case 268:return e;case 275:return e.exportClause&&Pi(e.exportClause,qg);default:return R.assertNever(e)}}function RC(e){return e.kind===269&&!!e.importClause&&!!e.importClause.name}function bj(e,t){if(e.name){const n=t(e);if(n)return n}if(e.namedBindings){const n=xv(e.namedBindings)?t(e.namedBindings):Q(e.namedBindings.elements,t);if(n)return n}}function BC(e){if(e)switch(e.kind){case 166:case 171:case 170:case 300:case 299:case 169:case 168:return e.questionToken!==void 0}return!1}function J6(e){const t=T4(e)?Ru(e.parameters):void 0,n=Pi(t&&t.name,Ye);return!!n&&n.escapedText==="new"}function gd(e){return e.kind===349||e.kind===341||e.kind===343}function Q7(e){return gd(e)||sh(e)}function hXe(e){return Gu(e)&&$n(e.expression)&&e.expression.operatorToken.kind===63?U7(e.expression):void 0}function C2e(e){return Gu(e)&&$n(e.expression)&&ll(e.expression)!==0&&$n(e.expression.right)&&(e.expression.right.operatorToken.kind===56||e.expression.right.operatorToken.kind===60)?e.expression.right.right:void 0}function aee(e){switch(e.kind){case 240:const t=U6(e);return t&&t.initializer;case 169:return e.initializer;case 299:return e.initializer}}function U6(e){return Xl(e)?Ru(e.declarationList.declarations):void 0}function w2e(e){return Pl(e)&&e.body&&e.body.kind===264?e.body:void 0}function Y7(e){if(e.kind>=240&&e.kind<=256)return!0;switch(e.kind){case 79:case 108:case 106:case 163:case 233:case 209:case 208:case 205:case 215:case 216:case 171:case 174:case 175:return!0;default:return!1}}function Z7(e){switch(e.kind){case 216:case 223:case 238:case 249:case 176:case 292:case 260:case 228:case 172:case 173:case 182:case 177:case 248:case 256:case 243:case 209:case 239:case 1:case 263:case 302:case 274:case 275:case 278:case 241:case 246:case 247:case 245:case 259:case 215:case 181:case 174:case 79:case 242:case 269:case 268:case 178:case 261:case 320:case 326:case 253:case 171:case 170:case 264:case 199:case 267:case 207:case 166:case 214:case 208:case 299:case 169:case 168:case 250:case 175:case 300:case 301:case 252:case 254:case 255:case 262:case 165:case 257:case 240:case 244:case 251:return!0;default:return!1}}function oee(e,t){let n;O6(e)&&pv(e)&&Ep(e.initializer)&&(n=Oi(n,E2e(e,ko(e.initializer.jsDoc))));let s=e;for(;s&&s.parent;){if(Ep(s)&&(n=Oi(n,E2e(e,ko(s.jsDoc)))),s.kind===166){n=Oi(n,(t?Kve:GA)(s));break}if(s.kind===165){n=Oi(n,(t?rbe:tbe)(s));break}s=cee(s)}return n||pt}function E2e(e,t){if(ig(t)){const n=hr(t.tags,s=>A2e(e,s));return t.tags===n?[t]:n}return A2e(e,t)?[t]:void 0}function A2e(e,t){return!(_D(t)||XJ(t))||!t.parent||!ig(t.parent)||!j_(t.parent.parent)||t.parent.parent===e}function cee(e){const t=e.parent;if(t.kind===299||t.kind===274||t.kind===169||t.kind===241&&e.kind===208||t.kind===250||w2e(t)||$n(e)&&e.operatorToken.kind===63)return t;if(t.parent&&(U6(t.parent)===e||$n(t)&&t.operatorToken.kind===63))return t.parent;if(t.parent&&t.parent.parent&&(U6(t.parent.parent)||aee(t.parent.parent)===e||C2e(t.parent.parent)))return t.parent.parent}function K7(e){if(e.symbol)return e.symbol;if(!Ye(e.name))return;const t=e.name.escapedText,n=jb(e);if(!n)return;const s=He(n.parameters,l=>l.name.kind===79&&l.name.escapedText===t);return s&&s.symbol}function Tj(e){if(ig(e.parent)&&e.parent.tags){const t=He(e.parent.tags,gd);if(t)return t}return jb(e)}function jb(e){const t=z6(e);if(t)return Np(t)&&t.type&&Sa(t.type)?t.type:Sa(t)?t:void 0}function z6(e){const t=jC(e);if(t)return C2e(t)||hXe(t)||aee(t)||U6(t)||w2e(t)||t}function jC(e){const t=mP(e);if(!t)return;const n=t.parent;if(n&&n.jsDoc&&t===Rc(n.jsDoc))return n}function mP(e){return kn(e.parent,ig)}function P2e(e){const t=e.name.escapedText,{typeParameters:n}=e.parent.parent.parent;return n&&He(n,s=>s.name.escapedText===t)}function gXe(e){return!!e.typeArguments}function Cx(e){let t=e.parent;for(;;){switch(t.kind){case 223:const n=t.operatorToken.kind;return Z0(n)&&t.left===e?n===63||CP(n)?1:2:0;case 221:case 222:const s=t.operator;return s===45||s===46?2:0;case 246:case 247:return t.initializer===e?1:0;case 214:case 206:case 227:case 232:e=t;break;case 301:e=t.parent;break;case 300:if(t.name!==e)return 0;e=t.parent;break;case 299:if(t.name===e)return 0;e=t.parent;break;default:return 0}t=e.parent}}function Rg(e){return Cx(e)!==0}function D2e(e){switch(e.kind){case 238:case 240:case 251:case 242:case 252:case 266:case 292:case 293:case 253:case 245:case 246:case 247:case 243:case 244:case 255:case 295:return!0}return!1}function N2e(e){return yc(e)||Ac(e)||S6(e)||ru(e)||Al(e)}function I2e(e,t){for(;e&&e.kind===t;)e=e.parent;return e}function e5(e){return I2e(e,193)}function mv(e){return I2e(e,214)}function O2e(e){let t;for(;e&&e.kind===193;)t=e,e=e.parent;return[t,e]}function lee(e){for(;aw(e);)e=e.type;return e}function xc(e,t){return uf(e,t?17:1)}function uee(e){return e.kind!==208&&e.kind!==209?!1:(e=mv(e.parent),e&&e.kind===217)}function wx(e,t){for(;e;){if(e===t)return!0;e=e.parent}return!1}function By(e){return!bs(e)&&!xa(e)&&lf(e.parent)&&e.parent.name===e}function t5(e){const t=e.parent;switch(e.kind){case 10:case 14:case 8:if(ac(t))return t.parent;case 79:if(lf(t))return t.name===e?t:void 0;if(T_(t)){const n=t.parent;return ch(n)&&n.name===t?n:void 0}else{const n=t.parent;return $n(n)&&ll(n)!==0&&(n.left.symbol||n.symbol)&&ra(n)===e?n:void 0}case 80:return lf(t)&&t.name===e?t:void 0;default:return}}function r5(e){return Zp(e)&&e.parent.kind===164&&lf(e.parent.parent)}function L2e(e){const t=e.parent;switch(t.kind){case 169:case 168:case 171:case 170:case 174:case 175:case 302:case 299:case 208:return t.name===e;case 163:return t.right===e;case 205:case 273:return t.propertyName===e;case 278:case 288:case 282:case 283:case 284:return!0}return!1}function yXe(e){return e.kind===268||e.kind===267||e.kind===270&&e.name||e.kind===271||e.kind===277||e.kind===273||e.kind===278||e.kind===274&&V6(e)?!0:Mn(e)&&($n(e)&&ll(e)===2&&V6(e)||oi(e)&&$n(e.parent)&&e.parent.left===e&&e.parent.operatorToken.kind===63&&n5(e.parent.right))}function fee(e){switch(e.parent.kind){case 270:case 273:case 271:case 278:case 274:case 268:case 277:return e.parent;case 163:do e=e.parent;while(e.parent.kind===163);return fee(e)}}function n5(e){return El(e)||If(e)}function V6(e){const t=_ee(e);return n5(t)}function _ee(e){return Tl(e)?e.expression:e.right}function M2e(e){return e.kind===300?e.name:e.kind===299?e.initializer:e.parent.right}function eh(e){const t=TT(e);if(t&&Mn(e)){const n=ibe(e);if(n)return n.class}return t}function TT(e){const t=i5(e.heritageClauses,94);return t&&t.types.length>0?t.types[0]:void 0}function $6(e){if(Mn(e))return sbe(e).map(t=>t.class);{const t=i5(e.heritageClauses,117);return t==null?void 0:t.types}}function hP(e){return Yf(e)?gP(e)||pt:Ri(e)&&Cr(ax(eh(e)),$6(e))||pt}function gP(e){const t=i5(e.heritageClauses,94);return t?t.types:void 0}function i5(e,t){if(e){for(const n of e)if(n.token===t)return n}}function Jb(e,t){for(;e;){if(e.kind===t)return e;e=e.parent}}function b_(e){return 81<=e&&e<=162}function Sj(e){return 126<=e&&e<=162}function F2e(e){return b_(e)&&!Sj(e)}function vXe(e){return 117<=e&&e<=125}function JC(e){const t=ux(e);return t!==void 0&&F2e(t)}function bXe(e){const t=ux(e);return t!==void 0&&b_(t)}function xj(e){const t=Lb(e);return!!t&&!Sj(t)}function q6(e){return 2<=e&&e<=7}function Au(e){if(!e)return 4;let t=0;switch(e.kind){case 259:case 215:case 171:e.asteriskToken&&(t|=1);case 216:Ti(e,512)&&(t|=2);break}return e.body||(t|=4),t}function W6(e){switch(e.kind){case 259:case 215:case 216:case 171:return e.body!==void 0&&e.asteriskToken===void 0&&Ti(e,512)}return!1}function Zp(e){return sc(e)||Td(e)}function kj(e){return Sv(e)&&(e.operator===39||e.operator===40)&&Td(e.operand)}function hv(e){const t=ra(e);return!!t&&Cj(t)}function Cj(e){if(!(e.kind===164||e.kind===209))return!1;const t=qc(e)?xc(e.argumentExpression):e.expression;return!Zp(t)&&!kj(t)}function ST(e){switch(e.kind){case 79:case 80:return e.escapedText;case 10:case 8:return Vc(e.text);case 164:const t=e.expression;return Zp(t)?Vc(t.text):kj(t)?t.operator===40?qa(t.operator)+t.operand.text:t.operand.text:void 0;default:return R.assertNever(e)}}function zd(e){switch(e.kind){case 79:case 10:case 14:case 8:return!0;default:return!1}}function Vd(e){return Ny(e)?ai(e):e.text}function yP(e){return Ny(e)?e.escapedText:Vc(e.text)}function TXe(e){return`__@${Ha(e)}@${e.escapedName}`}function s5(e,t){return`__#${Ha(e)}@${t}`}function a5(e){return Qs(e.escapedName,"__@")}function R2e(e){return Qs(e.escapedName,"__#")}function SXe(e){return e.kind===79&&e.escapedText==="Symbol"}function B2e(e){return Ye(e)?ai(e)==="__proto__":yo(e)&&e.text==="__proto__"}function vP(e,t){switch(e=uf(e),e.kind){case 228:case 215:if(e.name)return!1;break;case 216:break;default:return!1}return typeof t=="function"?t(e):!0}function pee(e){switch(e.kind){case 299:return!B2e(e.name);case 300:return!!e.objectAssignmentInitializer;case 257:return Ye(e.name)&&!!e.initializer;case 166:return Ye(e.name)&&!!e.initializer&&!e.dotDotDotToken;case 205:return Ye(e.name)&&!!e.initializer&&!e.dotDotDotToken;case 169:return!!e.initializer;case 223:switch(e.operatorToken.kind){case 63:case 76:case 75:case 77:return Ye(e.left)}break;case 274:return!0}return!1}function Kp(e,t){if(!pee(e))return!1;switch(e.kind){case 299:return vP(e.initializer,t);case 300:return vP(e.objectAssignmentInitializer,t);case 257:case 166:case 205:case 169:return vP(e.initializer,t);case 223:return vP(e.right,t);case 274:return vP(e.expression,t)}}function dee(e){return e.escapedText==="push"||e.escapedText==="unshift"}function Ex(e){return Gh(e).kind===166}function Gh(e){for(;e.kind===205;)e=e.parent.parent;return e}function mee(e){const t=e.kind;return t===173||t===215||t===259||t===216||t===171||t===174||t===175||t===264||t===308}function Mc(e){return nh(e.pos)||nh(e.end)}function xXe(e){return qs(e,bs)||e}function hee(e){const t=yee(e),n=e.kind===211&&e.arguments!==void 0;return gee(e.kind,t,n)}function gee(e,t,n){switch(e){case 211:return n?0:1;case 221:case 218:case 219:case 217:case 220:case 224:case 226:return 1;case 223:switch(t){case 42:case 63:case 64:case 65:case 67:case 66:case 68:case 69:case 70:case 71:case 72:case 73:case 78:case 74:case 75:case 76:case 77:return 1}}return 0}function wj(e){const t=yee(e),n=e.kind===211&&e.arguments!==void 0;return o5(e.kind,t,n)}function yee(e){return e.kind===223?e.operatorToken.kind:e.kind===221||e.kind===222?e.operator:e.kind}function o5(e,t,n){switch(e){case 357:return 0;case 227:return 1;case 226:return 2;case 224:return 4;case 223:switch(t){case 27:return 0;case 63:case 64:case 65:case 67:case 66:case 68:case 69:case 70:case 71:case 72:case 73:case 78:case 74:case 75:case 76:case 77:return 3;default:return c5(t)}case 213:case 232:case 221:case 218:case 219:case 217:case 220:return 16;case 222:return 17;case 210:return 18;case 211:return n?19:18;case 212:case 208:case 209:case 233:return 19;case 231:case 235:return 11;case 108:case 106:case 79:case 80:case 104:case 110:case 95:case 8:case 9:case 10:case 206:case 207:case 215:case 216:case 228:case 13:case 14:case 225:case 214:case 229:case 281:case 282:case 285:return 20;default:return-1}}function c5(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 128:case 150: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}function l5(e){return hr(e,t=>{switch(t.kind){case 291:return!!t.expression;case 11:return!t.containsOnlyTriviaWhiteSpaces;default:return!0}})}function H6(){let e=[];const t=[],n=new Map;let s=!1;return{add:f,lookup:l,getGlobalDiagnostics:d,getDiagnostics:g};function l(h){let k;if(h.file?k=n.get(h.file.fileName):k=e,!k)return;const S=rv(k,h,Zc,Rj);if(S>=0)return k[S]}function f(h){let k;h.file?(k=n.get(h.file.fileName),k||(k=[],n.set(h.file.fileName,k),la(t,h.file.fileName,wf))):(s&&(s=!1,e=e.slice()),k=e),la(k,h,Rj)}function d(){return s=!0,e}function g(h){if(h)return n.get(h)||[];const k=Tn(t,S=>n.get(S));return e.length&&k.unshift(...e),k}}function kXe(e){return e.replace(nSe,"\\${")}function vee(e){return e&&!!(rw(e)?e.templateFlags:e.head.templateFlags||Oe(e.templateSpans,t=>!!t.literal.templateFlags))}function j2e(e){return"\\u"+("0000"+e.toString(16).toUpperCase()).slice(-4)}function CXe(e,t,n){if(e.charCodeAt(0)===0){const s=n.charCodeAt(t+e.length);return s>=48&&s<=57?"\\x00":"\\0"}return oSe.get(e)||j2e(e.charCodeAt(0))}function UC(e,t){const n=t===96?aSe:t===39?sSe:iSe;return e.replace(n,CXe)}function u5(e,t){return e=UC(e,t),wte.test(e)?e.replace(wte,n=>j2e(n.charCodeAt(0))):e}function wXe(e){return"&#x"+e.toString(16).toUpperCase()+";"}function EXe(e){return e.charCodeAt(0)===0?"&#0;":uSe.get(e)||wXe(e.charCodeAt(0))}function bee(e,t){const n=t===39?lSe:cSe;return e.replace(n,EXe)}function $d(e){const t=e.length;return t>=2&&e.charCodeAt(0)===e.charCodeAt(t-1)&&AXe(e.charCodeAt(0))?e.substring(1,t-1):e}function AXe(e){return e===39||e===34||e===96}function bP(e){const t=e.charCodeAt(0);return t>=97&&t<=122||nf(e,"-")||nf(e,":")}function Ej(e){const t=s4[1];for(let n=s4.length;n<=e;n++)s4.push(s4[n-1]+t);return s4[e]}function G6(){return s4[1].length}function f5(){return nf(I,"-dev")||nf(I,"-insiders")}function _5(e){var t,n,s,l,f,d=!1;function g(M){const W=s7(M);W.length>1?(l=l+W.length-1,f=t.length-M.length+ko(W),s=f-t.length===0):s=!1}function h(M){M&&M.length&&(s&&(M=Ej(n)+M,s=!1),t+=M,g(M))}function k(M){M&&(d=!1),h(M)}function S(M){M&&(d=!0),h(M)}function w(){t="",n=0,s=!0,l=0,f=0,d=!1}function N(M){M!==void 0&&(t+=M,g(M),d=!1)}function O(M){M&&M.length&&k(M)}function L(M){(!s||M)&&(t+=e,l++,f=t.length,s=!0,d=!1)}function U(){return s?t.length:t.length+e.length}return w(),{write:k,rawWrite:N,writeLiteral:O,writeLine:L,increaseIndent:()=>{n++},decreaseIndent:()=>{n--},getIndent:()=>n,getTextPos:()=>t.length,getLine:()=>l,getColumn:()=>s?n*G6():t.length-f,getText:()=>t,isAtStartOfLine:()=>s,hasTrailingComment:()=>d,hasTrailingWhitespace:()=>!!t.length&&Dy(t.charCodeAt(t.length-1)),clear:w,writeKeyword:k,writeOperator:k,writeParameter:k,writeProperty:k,writePunctuation:k,writeSpace:k,writeStringLiteral:k,writeSymbol:(M,W)=>k(M),writeTrailingSemicolon:k,writeComment:S,getTextPosWithWriteLine:U}}function Tee(e){let t=!1;function n(){t&&(e.writeTrailingSemicolon(";"),t=!1)}return{...e,writeTrailingSemicolon(){t=!0},writeLiteral(s){n(),e.writeLiteral(s)},writeStringLiteral(s){n(),e.writeStringLiteral(s)},writeSymbol(s,l){n(),e.writeSymbol(s,l)},writePunctuation(s){n(),e.writePunctuation(s)},writeKeyword(s){n(),e.writeKeyword(s)},writeOperator(s){n(),e.writeOperator(s)},writeParameter(s){n(),e.writeParameter(s)},writeSpace(s){n(),e.writeSpace(s)},writeProperty(s){n(),e.writeProperty(s)},writeComment(s){n(),e.writeComment(s)},writeLine(){n(),e.writeLine()},increaseIndent(){n(),e.increaseIndent()},decreaseIndent(){n(),e.decreaseIndent()}}}function p5(e){return e.useCaseSensitiveFileNames?e.useCaseSensitiveFileNames():!1}function Ub(e){return qu(p5(e))}function Aj(e,t,n){return t.moduleName||See(e,t.fileName,n&&n.fileName)}function J2e(e,t){return e.getCanonicalFileName(oa(t,e.getCurrentDirectory()))}function U2e(e,t,n){const s=t.getExternalModuleFileFromDeclaration(n);if(!s||s.isDeclarationFile)return;const l=B6(n);if(!(l&&sc(l)&&!wp(l.text)&&J2e(e,s.path).indexOf(J2e(e,Ef(e.getCommonSourceDirectory())))===-1))return Aj(e,s)}function See(e,t,n){const s=h=>e.getCanonicalFileName(h),l=wc(n?$i(n):e.getCommonSourceDirectory(),e.getCurrentDirectory(),s),f=oa(t,e.getCurrentDirectory()),d=wC(l,f,l,s,!1),g=B_(d);return n?lT(g):g}function z2e(e,t,n){const s=t.getCompilerOptions();let l;return s.outDir?l=B_(Pj(e,t,s.outDir)):l=B_(e),l+n}function V2e(e,t){return xee(e,t.getCompilerOptions(),t.getCurrentDirectory(),t.getCommonSourceDirectory(),n=>t.getCanonicalFileName(n))}function xee(e,t,n,s,l){const f=t.declarationDir||t.outDir,d=f?Eee(e,f,n,s,l):e,g=kee(d);return B_(d)+g}function kee(e){return cu(e,[".mjs",".mts"])?".d.mts":cu(e,[".cjs",".cts"])?".d.cts":cu(e,[".json"])?".d.json.ts":".d.ts"}function $2e(e){return cu(e,[".d.mts",".mjs",".mts"])?[".mts",".mjs"]:cu(e,[".d.cts",".cjs",".cts"])?[".cts",".cjs"]:cu(e,[".d.json.ts"])?[".json"]:[".tsx",".ts",".jsx",".js"]}function Ec(e){return e.outFile||e.out}function Cee(e,t){var n,s;if(e.paths)return(s=e.baseUrl)!=null?s:R.checkDefined(e.pathsBasePath||((n=t.getCurrentDirectory)==null?void 0:n.call(t)),"Encountered 'paths' without a 'baseUrl', config file, or host 'getCurrentDirectory'.")}function wee(e,t,n){const s=e.getCompilerOptions();if(Ec(s)){const l=Hu(s),f=s.emitDeclarationOnly||l===2||l===4;return hr(e.getSourceFiles(),d=>(f||!Fl(d))&&zC(d,e,n))}else{const l=t===void 0?e.getSourceFiles():[t];return hr(l,f=>zC(f,e,n))}}function zC(e,t,n){return!(t.getCompilerOptions().noEmitForJsFiles&&Gf(e))&&!e.isDeclarationFile&&!t.isSourceFileFromExternalLibrary(e)&&(n||!(hd(e)&&t.getResolvedProjectReferenceToRedirect(e.fileName))&&!t.isSourceOfProjectReferenceRedirect(e.fileName))}function Pj(e,t,n){return Eee(e,n,t.getCurrentDirectory(),t.getCommonSourceDirectory(),s=>t.getCanonicalFileName(s))}function Eee(e,t,n,s,l){let f=oa(e,n);return f=l(f).indexOf(l(s))===0?f.substring(s.length):f,_s(t,f)}function TP(e,t,n,s,l,f,d){e.writeFile(n,s,l,g=>{t.add(gc(v.Could_not_write_file_0_Colon_1,n,g))},f,d)}function q2e(e,t,n){if(e.length>Ym(e)&&!n(e)){const s=$i(e);q2e(s,t,n),t(e)}}function Aee(e,t,n,s,l,f){try{s(e,t,n)}catch{q2e($i(Co(e)),l,f),s(e,t,n)}}function SP(e,t){const n=Py(e);return UA(n,t)}function Ax(e,t){return UA(e,t)}function Bg(e){return He(e.members,t=>Al(t)&&md(t.body))}function xP(e){if(e&&e.parameters.length>0){const t=e.parameters.length===2&&kT(e.parameters[0]);return e.parameters[t?1:0]}}function W2e(e){const t=xP(e);return t&&t.type}function xT(e){if(e.parameters.length&&!MT(e)){const t=e.parameters[0];if(kT(t))return t}}function kT(e){return Px(e.name)}function Px(e){return!!e&&e.kind===79&&Pee(e)}function VC(e){if(!Px(e))return!1;for(;T_(e.parent)&&e.parent.left===e;)e=e.parent;return e.parent.kind===183}function Pee(e){return e.escapedText==="this"}function Dx(e,t){let n,s,l,f;return hv(t)?(n=t,t.kind===174?l=t:t.kind===175?f=t:R.fail("Accessor has wrong kind")):Q(e,d=>{if(Mb(d)&&ba(d)===ba(t)){const g=ST(d.name),h=ST(t.name);g===h&&(n?s||(s=d):n=d,d.kind===174&&!l&&(l=d),d.kind===175&&!f&&(f=d))}}),{firstAccessor:n,secondAccessor:s,getAccessor:l,setAccessor:f}}function Ju(e){if(!Mn(e)&&ru(e))return;const t=e.type;return t||!Mn(e)?t:LB(e)?e.typeExpression&&e.typeExpression.type:cv(e)}function H2e(e){return e.type}function bm(e){return MT(e)?e.type&&e.type.typeExpression&&e.type.typeExpression.type:e.type||(Mn(e)?d7(e):void 0)}function Dj(e){return mn(fT(e),t=>PXe(t)?t.typeParameters:void 0)}function PXe(e){return xm(e)&&!(e.parent.kind===323&&(e.parent.tags.some(gd)||e.parent.tags.some(fD)))}function G2e(e){const t=xP(e);return t&&Ju(t)}function X2e(e,t,n,s){Q2e(e,t,n.pos,s)}function Q2e(e,t,n,s){s&&s.length&&n!==s[0].pos&&Ax(e,n)!==Ax(e,s[0].pos)&&t.writeLine()}function Y2e(e,t,n,s){n!==s&&Ax(e,n)!==Ax(e,s)&&t.writeLine()}function Z2e(e,t,n,s,l,f,d,g){if(s&&s.length>0){l&&n.writeSpace(" ");let h=!1;for(const k of s)h&&(n.writeSpace(" "),h=!1),g(e,t,n,k.pos,k.end,d),k.hasTrailingNewLine?n.writeLine():h=!0;h&&f&&n.writeSpace(" ")}}function K2e(e,t,n,s,l,f,d){let g,h;if(d?l.pos===0&&(g=hr(Ng(e,l.pos),k)):g=Ng(e,l.pos),g){const S=[];let w;for(const N of g){if(w){const O=Ax(t,w.end);if(Ax(t,N.pos)>=O+2)break}S.push(N),w=N}if(S.length){const N=Ax(t,ko(S).end);Ax(t,wo(e,l.pos))>=N+2&&(X2e(t,n,l,g),Z2e(e,t,n,S,!1,!0,f,s),h={nodePos:l.pos,detachedCommentEndPos:ko(S).end})}}return h;function k(S){return HB(e,S.pos)}}function X6(e,t,n,s,l,f){if(e.charCodeAt(s+1)===42){const d=o7(t,s),g=t.length;let h;for(let k=s,S=d.line;k<l;S++){const w=S+1===g?e.length+1:t[S+1];if(k!==s){h===void 0&&(h=eTe(e,t[d.line],s));const O=n.getIndent()*G6()-h+eTe(e,k,w);if(O>0){let L=O%G6();const U=Ej((O-L)/G6());for(n.rawWrite(U);L;)n.rawWrite(" "),L--}else n.rawWrite("")}DXe(e,l,n,f,k,w),k=w}}else n.writeComment(e.substring(s,l))}function DXe(e,t,n,s,l,f){const d=Math.min(t,f-1),g=sT(e.substring(l,d));g?(n.writeComment(g),d!==t&&n.writeLine()):n.rawWrite(s)}function eTe(e,t,n){let s=0;for(;t<n&&zh(e.charCodeAt(t));t++)e.charCodeAt(t)===9?s+=G6()-s%G6():s++;return s}function Nj(e){return Pf(e)!==0}function tTe(e){return gv(e)!==0}function R_(e,t){return!!$C(e,t)}function Ti(e,t){return!!rTe(e,t)}function ba(e){return Eu(e)&&tu(e)||fl(e)}function tu(e){return Ti(e,32)}function Dee(e){return R_(e,16384)}function CT(e){return Ti(e,256)}function Nee(e){return Ti(e,2)}function Xh(e){return Ti(e,128)}function kP(e){return R_(e,64)}function ed(e){return Ti(e,131072)}function $C(e,t){return Pf(e)&t}function rTe(e,t){return gv(e)&t}function Iee(e,t,n){return e.kind>=0&&e.kind<=162?0:(e.modifierFlagsCache&536870912||(e.modifierFlagsCache=Oee(e)|536870912),t&&!(e.modifierFlagsCache&4096)&&(n||Mn(e))&&e.parent&&(e.modifierFlagsCache|=iTe(e)|4096),e.modifierFlagsCache&-536875009)}function Pf(e){return Iee(e,!0)}function nTe(e){return Iee(e,!0,!0)}function gv(e){return Iee(e,!1)}function iTe(e){let t=0;return e.parent&&!ua(e)&&(Mn(e)&&(abe(e)&&(t|=4),obe(e)&&(t|=8),cbe(e)&&(t|=16),lbe(e)&&(t|=64),ube(e)&&(t|=16384)),fbe(e)&&(t|=8192)),t}function sTe(e){return Oee(e)|iTe(e)}function Oee(e){let t=Qd(e)?Qh(e.modifiers):0;return(e.flags&4||e.kind===79&&e.flags&2048)&&(t|=1),t}function Qh(e){let t=0;if(e)for(const n of e)t|=qC(n.kind);return t}function qC(e){switch(e){case 124:return 32;case 123:return 4;case 122:return 16;case 121:return 8;case 126:return 256;case 127:return 128;case 93:return 1;case 136:return 2;case 85:return 2048;case 88:return 1024;case 132:return 512;case 146:return 64;case 161:return 16384;case 101:return 32768;case 145:return 65536;case 167:return 131072}return 0}function aTe(e){return e===56||e===55}function oTe(e){return aTe(e)||e===53}function CP(e){return e===75||e===76||e===77}function Lee(e){return $n(e)&&CP(e.operatorToken.kind)}function d5(e){return aTe(e)||e===60}function m5(e){return $n(e)&&d5(e.operatorToken.kind)}function Z0(e){return e>=63&&e<=78}function Mee(e){const t=Fee(e);return t&&!t.isImplements?t.class:void 0}function Fee(e){if(n1(e)){if(J_(e.parent)&&Ri(e.parent.parent))return{class:e.parent.parent,isImplements:e.parent.token===117};if(S4(e.parent)){const t=z6(e.parent);if(t&&Ri(t))return{class:t,isImplements:!1}}}}function Xf(e,t){return $n(e)&&(t?e.operatorToken.kind===63:Z0(e.operatorToken.kind))&&g_(e.left)}function NXe(e){return Xf(e.parent)&&e.parent.left===e}function K0(e){if(Xf(e,!0)){const t=e.left.kind;return t===207||t===206}return!1}function h5(e){return Mee(e)!==void 0}function El(e){return e.kind===79||g5(e)}function Dp(e){switch(e.kind){case 79:return e;case 163:do e=e.left;while(e.kind!==79);return e;case 208:do e=e.expression;while(e.kind!==79);return e}}function wP(e){return e.kind===79||e.kind===108||e.kind===106||e.kind===233||e.kind===208&&wP(e.expression)||e.kind===214&&wP(e.expression)}function g5(e){return oi(e)&&Ye(e.name)&&El(e.expression)}function y5(e){if(oi(e)){const t=y5(e.expression);if(t!==void 0)return t+"."+Ap(e.name)}else if(qc(e)){const t=y5(e.expression);if(t!==void 0&&rl(e.argumentExpression))return t+"."+ST(e.argumentExpression)}else if(Ye(e))return Ds(e.escapedText)}function zb(e){return kx(e)&&Ry(e)==="prototype"}function EP(e){return e.parent.kind===163&&e.parent.right===e||e.parent.kind===208&&e.parent.name===e}function cTe(e){return oi(e.parent)&&e.parent.name===e||qc(e.parent)&&e.parent.argumentExpression===e}function lTe(e){return T_(e.parent)&&e.parent.right===e||oi(e.parent)&&e.parent.name===e||Xb(e.parent)&&e.parent.right===e}function Ree(e){return e.kind===207&&e.properties.length===0}function uTe(e){return e.kind===206&&e.elements.length===0}function Q6(e){if(!(!IXe(e)||!e.declarations)){for(const t of e.declarations)if(t.localSymbol)return t.localSymbol}}function IXe(e){return e&&H(e.declarations)>0&&Ti(e.declarations[0],1024)}function Ij(e){return He(mSe,t=>Gl(e,t))}function OXe(e){const t=[],n=e.length;for(let s=0;s<n;s++){const l=e.charCodeAt(s);l<128?t.push(l):l<2048?(t.push(l>>6|192),t.push(l&63|128)):l<65536?(t.push(l>>12|224),t.push(l>>6&63|128),t.push(l&63|128)):l<131072?(t.push(l>>18|240),t.push(l>>12&63|128),t.push(l>>6&63|128),t.push(l&63|128)):R.assert(!1,"Unexpected code point")}return t}function fTe(e){let t="";const n=OXe(e);let s=0;const l=n.length;let f,d,g,h;for(;s<l;)f=n[s]>>2,d=(n[s]&3)<<4|n[s+1]>>4,g=(n[s+1]&15)<<2|n[s+2]>>6,h=n[s+2]&63,s+1>=l?g=h=64:s+2>=l&&(h=64),t+=PT.charAt(f)+PT.charAt(d)+PT.charAt(g)+PT.charAt(h),s+=3;return t}function LXe(e){let t="",n=0;const s=e.length;for(;n<s;){const l=e[n];if(l<128)t+=String.fromCharCode(l),n++;else if((l&192)===192){let f=l&63;n++;let d=e[n];for(;(d&192)===128;)f=f<<6|d&63,n++,d=e[n];t+=String.fromCharCode(f)}else t+=String.fromCharCode(l),n++}return t}function _Te(e,t){return e&&e.base64encode?e.base64encode(t):fTe(t)}function pTe(e,t){if(e&&e.base64decode)return e.base64decode(t);const n=t.length,s=[];let l=0;for(;l<n&&t.charCodeAt(l)!==PT.charCodeAt(64);){const f=PT.indexOf(t[l]),d=PT.indexOf(t[l+1]),g=PT.indexOf(t[l+2]),h=PT.indexOf(t[l+3]),k=(f&63)<<2|d>>4&3,S=(d&15)<<4|g>>2&15,w=(g&3)<<6|h&63;S===0&&g!==0?s.push(k):w===0&&h!==0?s.push(k,S):s.push(k,S,w),l+=4}return LXe(s)}function Bee(e,t){const n=ha(t)?t:t.readFile(e);if(!n)return;const s=qre(e,n);return s.error?void 0:s.config}function AP(e,t){return Bee(e,t)||{}}function th(e,t){return!t.directoryExists||t.directoryExists(e)}function Vb(e){switch(e.newLine){case 0:return fSe;case 1:case void 0:return _Se}}function yd(e,t=e){return R.assert(t>=e||t===-1),{pos:e,end:t}}function Oj(e,t){return yd(e.pos,t)}function $b(e,t){return yd(t,e.end)}function yv(e){const t=Qd(e)?Bt(e.modifiers,Df):void 0;return t&&!nh(t.end)?$b(e,t.end):e}function rh(e){if(Pa(e)||zl(e))return $b(e,e.name.pos);const t=Qd(e)?Rc(e.modifiers):void 0;return t&&!nh(t.end)?$b(e,t.end):yv(e)}function MXe(e){return e.pos===e.end}function jee(e,t){return yd(e,e+qa(t).length)}function Nx(e,t){return mTe(e,e,t)}function Lj(e,t,n){return vd(PP(e,n,!1),PP(t,n,!1),n)}function dTe(e,t,n){return vd(e.end,t.end,n)}function mTe(e,t,n){return vd(PP(e,n,!1),t.end,n)}function v5(e,t,n){return vd(e.end,PP(t,n,!1),n)}function Jee(e,t,n,s){const l=PP(t,n,s);return zA(n,e.end,l)}function FXe(e,t,n){return zA(n,e.end,t.end)}function hTe(e,t){return!vd(e.pos,e.end,t)}function vd(e,t,n){return zA(n,e,t)===0}function PP(e,t,n){return nh(e.pos)?-1:wo(t.text,e.pos,!1,n)}function gTe(e,t,n,s){const l=wo(n.text,e,!1,s),f=RXe(l,t,n);return zA(n,f??t,l)}function yTe(e,t,n,s){const l=wo(n.text,e,!1,s);return zA(n,e,Math.min(t,l))}function RXe(e,t=0,n){for(;e-- >t;)if(!Dy(n.text.charCodeAt(e)))return e}function b5(e){const t=qs(e);if(t)switch(t.parent.kind){case 263:case 264:return t===t.parent.name}return!1}function DP(e){return hr(e.declarations,Uee)}function Uee(e){return xs(e)&&e.initializer!==void 0}function BXe(e){return e.watch&&mc(e,"watch")}function Yh(e){e.close()}function ul(e){return e.flags&33554432?e.links.checkFlags:0}function td(e,t=!1){if(e.valueDeclaration){const n=t&&e.declarations&&He(e.declarations,nd)||e.flags&32768&&He(e.declarations,Hd)||e.valueDeclaration,s=H0(n);return e.parent&&e.parent.flags&32?s:s&-29}if(ul(e)&6){const n=e.links.checkFlags,s=n&1024?8:n&256?4:16,l=n&2048?32:0;return s|l}return e.flags&4194304?36:0}function fp(e,t){return e.flags&2097152?t.getAliasedSymbol(e):e}function NP(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags}function zee(e){return Y6(e)===1}function IP(e){return Y6(e)!==0}function Y6(e){const{parent:t}=e;if(!t)return 0;switch(t.kind){case 214:return Y6(t);case 222:case 221:const{operator:s}=t;return s===45||s===46?n():0;case 223:const{left:l,operatorToken:f}=t;return l===e&&Z0(f.kind)?f.kind===63?1:n():0;case 208:return t.name!==e?0:Y6(t);case 299:{const d=Y6(t.parent);return e===t.name?jXe(d):d}case 300:return e===t.objectAssignmentInitializer?0:Y6(t.parent);case 206:return Y6(t);default:return 0}function n(){return t.parent&&mv(t.parent).kind===241?1:2}}function jXe(e){switch(e){case 0:return 1;case 1:return 0;case 2:return 2;default:return R.assertNever(e)}}function Vee(e,t){if(!e||!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(typeof e[n]=="object"){if(!Vee(e[n],t[n]))return!1}else if(typeof e[n]!="function"&&e[n]!==t[n])return!1;return!0}function rd(e,t){e.forEach(t),e.clear()}function jy(e,t,n){const{onDeleteValue:s,onExistingValue:l}=n;e.forEach((f,d)=>{const g=t.get(d);g===void 0?(e.delete(d),s(f,d)):l&&l(f,g,d)})}function Z6(e,t,n){jy(e,t,n);const{createNewValue:s}=n;t.forEach((l,f)=>{e.has(f)||e.set(f,s(f,l))})}function vTe(e){if(e.flags&32){const t=Jy(e);return!!t&&Ti(t,256)}return!1}function Jy(e){var t;return(t=e.declarations)==null?void 0:t.find(Ri)}function Ci(e){return e.flags&3899393?e.objectFlags:0}function JXe(e,t){return!!Ay(e,n=>t(n)?!0:void 0)}function Mj(e){return!!e&&!!e.declarations&&!!e.declarations[0]&&aO(e.declarations[0])}function bTe({moduleSpecifier:e}){return yo(e)?e.text:lu(e)}function $ee(e){let t;return ca(e,n=>{md(n)&&(t=n)},n=>{for(let s=n.length-1;s>=0;s--)if(md(n[s])){t=n[s];break}}),t}function Tm(e,t,n=!0){return e.has(t)?!1:(e.set(t,n),!0)}function WC(e){return Ri(e)||Yf(e)||_p(e)}function qee(e){return e>=179&&e<=202||e===131||e===157||e===148||e===160||e===149||e===134||e===152||e===153||e===114||e===155||e===144||e===139||e===230||e===315||e===316||e===317||e===318||e===319||e===320||e===321}function $c(e){return e.kind===208||e.kind===209}function TTe(e){return e.kind===208?e.name:(R.assert(e.kind===209),e.argumentExpression)}function STe(e){switch(e.kind){case"text":case"internal":return!0;default:return!1}}function Wee(e){return e.kind===272||e.kind===276}function OP(e){for(;$c(e);)e=e.expression;return e}function UXe(e,t){if($c(e.parent)&&cTe(e))return n(e.parent);function n(s){if(s.kind===208){const l=t(s.name);if(l!==void 0)return l}else if(s.kind===209)if(Ye(s.argumentExpression)||sc(s.argumentExpression)){const l=t(s.argumentExpression);if(l!==void 0)return l}else return;if($c(s.expression))return n(s.expression);if(Ye(s.expression))return t(s.expression)}}function LP(e,t){for(;;){switch(e.kind){case 222:e=e.operand;continue;case 223:e=e.left;continue;case 224:e=e.condition;continue;case 212:e=e.tag;continue;case 210:if(t)return e;case 231:case 209:case 208:case 232:case 356:case 235:e=e.expression;continue}return e}}function zXe(e,t){this.flags=e,this.escapedName=t,this.declarations=void 0,this.valueDeclaration=void 0,this.id=0,this.mergeId=0,this.parent=void 0,this.members=void 0,this.exports=void 0,this.exportSymbol=void 0,this.constEnumOnlyModule=void 0,this.isReferenced=void 0,this.isAssigned=void 0,this.links=void 0}function VXe(e,t){this.flags=t,(R.isDebugging||Hi)&&(this.checker=e)}function $Xe(e,t){this.flags=t,R.isDebugging&&(this.checker=e)}function Hee(e,t,n){this.pos=t,this.end=n,this.kind=e,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function qXe(e,t,n){this.pos=t,this.end=n,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.emitNode=void 0}function WXe(e,t,n){this.pos=t,this.end=n,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function HXe(e,t,n){this.fileName=e,this.text=t,this.skipTrivia=n||(s=>s)}function xTe(e){Ete.push(e),e(Pu)}function kTe(e){Object.assign(Pu,e),Q(Ete,t=>t(Pu))}function jg(e,t,n=0){return e.replace(/{(\d+)}/g,(s,l)=>""+R.checkDefined(t[+l+n]))}function CTe(e){R5=e}function wTe(e){!R5&&e&&(R5=e())}function uo(e){return R5&&R5[e.key]||e.message}function K6(e,t,n,s){VK(void 0,t,n);let l=uo(s);return arguments.length>4&&(l=jg(l,arguments,4)),{file:void 0,start:t,length:n,messageText:l,category:s.category,code:s.code,reportsUnnecessary:s.reportsUnnecessary,fileName:e}}function GXe(e){return e.file===void 0&&e.start!==void 0&&e.length!==void 0&&typeof e.fileName=="string"}function ETe(e,t){const n=t.fileName||"",s=t.text.length;R.assertEqual(e.fileName,n),R.assertLessThanOrEqual(e.start,s),R.assertLessThanOrEqual(e.start+e.length,s);const l={file:t,start:e.start,length:e.length,messageText:e.messageText,category:e.category,code:e.code,reportsUnnecessary:e.reportsUnnecessary};if(e.relatedInformation){l.relatedInformation=[];for(const f of e.relatedInformation)GXe(f)&&f.fileName===n?(R.assertLessThanOrEqual(f.start,s),R.assertLessThanOrEqual(f.start+f.length,s),l.relatedInformation.push(ETe(f,t))):l.relatedInformation.push(f)}return l}function HC(e,t){const n=[];for(const s of e)n.push(ETe(s,t));return n}function gu(e,t,n,s){VK(e,t,n);let l=uo(s);return arguments.length>4&&(l=jg(l,arguments,4)),{file:e,start:t,length:n,messageText:l,category:s.category,code:s.code,reportsUnnecessary:s.reportsUnnecessary,reportsDeprecated:s.reportsDeprecated}}function Gee(e,t){let n=uo(t);return arguments.length>2&&(n=jg(n,arguments,2)),n}function gc(e){let t=uo(e);return arguments.length>1&&(t=jg(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 Fj(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}}function sa(e,t){let n=uo(t);return arguments.length>2&&(n=jg(n,arguments,2)),{messageText:n,category:t.category,code:t.code,next:e===void 0||Array.isArray(e)?e:[e]}}function ATe(e,t){let n=e;for(;n.next;)n=n.next[0];n.next=[t]}function PTe(e){return e.file?e.file.path:void 0}function MP(e,t){return Rj(e,t)||XXe(e,t)||0}function Rj(e,t){return wf(PTe(e),PTe(t))||Cc(e.start,t.start)||Cc(e.length,t.length)||Cc(e.code,t.code)||DTe(e.messageText,t.messageText)||0}function XXe(e,t){return!e.relatedInformation&&!t.relatedInformation?0:e.relatedInformation&&t.relatedInformation?Cc(e.relatedInformation.length,t.relatedInformation.length)||Q(e.relatedInformation,(n,s)=>{const l=t.relatedInformation[s];return MP(n,l)})||0:e.relatedInformation?-1:1}function DTe(e,t){if(typeof e=="string"&&typeof t=="string")return wf(e,t);if(typeof e=="string")return-1;if(typeof t=="string")return 1;let n=wf(e.messageText,t.messageText);if(n)return n;if(!e.next&&!t.next)return 0;if(!e.next)return-1;if(!t.next)return 1;const s=Math.min(e.next.length,t.next.length);for(let l=0;l<s;l++)if(n=DTe(e.next[l],t.next[l]),n)return n;return e.next.length<t.next.length?-1:e.next.length>t.next.length?1:0}function T5(e){return e===4||e===2||e===1||e===6?1:0}function NTe(e){if(e.transformFlags&2)return Hf(e)||dw(e)?e:ca(e,NTe)}function QXe(e){return e.isDeclarationFile?void 0:NTe(e)}function YXe(e){return(e.impliedNodeFormat===99||cu(e.fileName,[".cjs",".cts",".mjs",".mts"]))&&!e.isDeclarationFile?!0:void 0}function S5(e){switch(ITe(e)){case 3:return l=>{l.externalModuleIndicator=gO(l)||!l.isDeclarationFile||void 0};case 1:return l=>{l.externalModuleIndicator=gO(l)};case 2:const t=[gO];(e.jsx===4||e.jsx===5)&&t.push(QXe),t.push(YXe);const n=jh(...t);return l=>void(l.externalModuleIndicator=n(l))}}function Io(e){var t;return(t=e.target)!=null?t:e.module===100&&9||e.module===199&&99||1}function Hu(e){return typeof e.module=="number"?e.module:Io(e)>=2?5:1}function Xee(e){return e>=5&&e<=99}function vl(e){let t=e.moduleResolution;if(t===void 0)switch(Hu(e)){case 1:t=2;break;case 100:t=3;break;case 199:t=99;break;default:t=1;break}return t}function ITe(e){return e.moduleDetection||(Hu(e)===100||Hu(e)===199?3:2)}function Bj(e){switch(Hu(e)){case 1:case 2:case 5:case 6:case 7:case 99:case 100:case 199:return!0;default:return!1}}function qd(e){return!!(e.isolatedModules||e.verbatimModuleSyntax)}function jj(e){return e.verbatimModuleSyntax||e.isolatedModules&&e.preserveValueImports}function OTe(e){return e.allowUnreachableCode===!1}function LTe(e){return e.allowUnusedLabels===!1}function Jj(e){return!!(Wd(e)&&e.declarationMap)}function Zh(e){if(e.esModuleInterop!==void 0)return e.esModuleInterop;switch(Hu(e)){case 100:case 199:return!0}}function GC(e){return e.allowSyntheticDefaultImports!==void 0?e.allowSyntheticDefaultImports:Zh(e)||Hu(e)===4||vl(e)===100}function XC(e){return e>=3&&e<=99||e===100}function Uj(e){return!!e.noDtsResolution||vl(e)!==100}function Qee(e){const t=vl(e);if(!XC(t))return!1;if(e.resolvePackageJsonExports!==void 0)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}function ZXe(e){const t=vl(e);if(!XC(t))return!1;if(e.resolvePackageJsonExports!==void 0)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}return!1}function Ix(e){return e.resolveJsonModule!==void 0?e.resolveJsonModule:vl(e)===100}function Wd(e){return!!(e.declaration||e.composite)}function wT(e){return!!(e.preserveConstEnums||qd(e))}function x5(e){return!!(e.incremental||e.composite)}function bd(e,t){return e[t]===void 0?!!e.strict:!!e[t]}function k5(e){return e.allowJs===void 0?!!e.checkJs:e.allowJs}function C5(e){return e.useDefineForClassFields===void 0?Io(e)>=9:e.useDefineForClassFields}function MTe(e,t){return w6(t,e,one)}function FTe(e,t){return w6(t,e,cne)}function RTe(e,t){return w6(t,e,lne)}function zj(e,t){return t.strictFlag?bd(e,t.name):e[t.name]}function Yee(e){const t=e.jsx;return t===2||t===4||t===5}function Vj(e,t){const n=t==null?void 0:t.pragmas.get("jsximportsource"),s=pa(n)?n[n.length-1]:n;return e.jsx===4||e.jsx===5||e.jsxImportSource||s?(s==null?void 0:s.arguments.factory)||e.jsxImportSource||"react":void 0}function $j(e,t){return e?`${e}/${t.jsx===5?"jsx-dev-runtime":"jsx-runtime"}`:void 0}function Zee(e){let t=!1;for(let n=0;n<e.length;n++)if(e.charCodeAt(n)===42)if(!t)t=!0;else return!1;return!0}function BTe(e,t){let n,s,l,f=!1;return{getSymlinkedFiles:()=>l,getSymlinkedDirectories:()=>n,getSymlinkedDirectoriesByRealpath:()=>s,setSymlinkedFile:(g,h)=>(l||(l=new Map)).set(g,h),setSymlinkedDirectory:(g,h)=>{let k=wc(g,e,t);VP(k)||(k=Ef(k),h!==!1&&!(n!=null&&n.has(k))&&(s||(s=dd())).add(Ef(h.realPath),g),(n||(n=new Map)).set(k,h))},setSymlinksFromResolutions(g,h){var k,S;R.assert(!f),f=!0;for(const w of g)(k=w.resolvedModules)==null||k.forEach(N=>d(this,N.resolvedModule)),(S=w.resolvedTypeReferenceDirectiveNames)==null||S.forEach(N=>d(this,N.resolvedTypeReferenceDirective));h.forEach(w=>d(this,w.resolvedTypeReferenceDirective))},hasProcessedResolutions:()=>f};function d(g,h){if(!h||!h.originalPath||!h.resolvedFileName)return;const{resolvedFileName:k,originalPath:S}=h;g.setSymlinkedFile(wc(S,e,t),k);const[w,N]=KXe(k,S,e,t)||pt;w&&N&&g.setSymlinkedDirectory(N,{real:w,realPath:wc(w,e,t)})}}function KXe(e,t,n,s){const l=t_(oa(e,n)),f=t_(oa(t,n));let d=!1;for(;l.length>=2&&f.length>=2&&!jTe(l[l.length-2],s)&&!jTe(f[f.length-2],s)&&s(l[l.length-1])===s(f[f.length-1]);)l.pop(),f.pop(),d=!0;return d?[cT(l),cT(f)]:void 0}function jTe(e,t){return e!==void 0&&(t(e)==="node_modules"||Qs(e,"@"))}function eQe(e){return OZ(e.charCodeAt(0))?e.slice(1):void 0}function Kee(e,t,n){const s=vY(e,t,n);return s===void 0?void 0:eQe(s)}function tQe(e){return e.replace(tJ,rQe)}function rQe(e){return"\\"+e}function FP(e,t,n){const s=qj(e,t,n);return!s||!s.length?void 0:`^(${s.map(d=>`(${d})`).join("|")})${n==="exclude"?"($|/)":"$"}`}function qj(e,t,n){if(!(e===void 0||e.length===0))return mn(e,s=>s&&JTe(s,t,n,Ite[n]))}function ete(e){return!/[.*?]/.test(e)}function tte(e,t,n){const s=e&&JTe(e,t,n,Ite[n]);return s&&`^(${s})${n==="exclude"?"($|/)":"$"}`}function JTe(e,t,n,{singleAsteriskRegexFragment:s,doubleAsteriskRegexFragment:l,replaceWildcardCharacter:f}){let d="",g=!1;const h=t7(e,t),k=ko(h);if(n!=="exclude"&&k==="**")return;h[0]=cx(h[0]),ete(k)&&h.push("**","*");let S=0;for(let w of h){if(w==="**")d+=l;else if(n==="directories"&&(d+="(",S++),g&&(d+=hc),n!=="exclude"){let N="";w.charCodeAt(0)===42?(N+="([^./]"+s+")?",w=w.substr(1)):w.charCodeAt(0)===63&&(N+="[^./]",w=w.substr(1)),N+=w.replace(tJ,f),N!==w&&(d+=rJ),d+=N}else d+=w.replace(tJ,f);g=!0}for(;S>0;)d+=")?",S--;return d}function rte(e,t){return e==="*"?t:e==="?"?"[^/]":"\\"+e}function RP(e,t,n,s,l){e=Co(e),l=Co(l);const f=_s(l,e);return{includeFilePatterns:qt(qj(n,f,"files"),d=>`^${d}$`),includeFilePattern:FP(n,f,"files"),includeDirectoryPattern:FP(n,f,"directories"),excludePattern:FP(t,f,"exclude"),basePaths:nQe(e,n,s)}}function vv(e,t){return new RegExp(e,t?"":"i")}function nte(e,t,n,s,l,f,d,g,h){e=Co(e),f=Co(f);const k=RP(e,n,s,l,f),S=k.includeFilePatterns&&k.includeFilePatterns.map(W=>vv(W,l)),w=k.includeDirectoryPattern&&vv(k.includeDirectoryPattern,l),N=k.excludePattern&&vv(k.excludePattern,l),O=S?S.map(()=>[]):[[]],L=new Map,U=qu(l);for(const W of k.basePaths)M(W,_s(f,W),d);return Vn(O);function M(W,X,Z){const ue=U(h(X));if(L.has(ue))return;L.set(ue,!0);const{files:ie,directories:se}=g(W);for(const V of sx(ie,wf)){const ve=_s(W,V),fe=_s(X,V);if(!(t&&!cu(ve,t))&&!(N&&N.test(fe)))if(!S)O[0].push(ve);else{const Ce=ar(S,_e=>_e.test(fe));Ce!==-1&&O[Ce].push(ve)}}if(!(Z!==void 0&&(Z--,Z===0)))for(const V of sx(se,wf)){const ve=_s(W,V),fe=_s(X,V);(!w||w.test(fe))&&(!N||!N.test(fe))&&M(ve,fe,Z)}}}function nQe(e,t,n){const s=[e];if(t){const l=[];for(const f of t){const d=Jh(f)?f:Co(_s(e,f));l.push(iQe(d))}l.sort(VR(!n));for(const f of l)ut(s,d=>!sv(d,f,e,!n))&&s.push(f)}return s}function iQe(e){const t=_r(e,pSe);return t<0?m6(e)?cx($i(e)):e:e.substring(0,e.lastIndexOf(hc,t))}function Wj(e,t){return t||ite(e)||3}function ite(e){switch(e.substr(e.lastIndexOf(".")).toLowerCase()){case".js":case".cjs":case".mjs":return 1;case".jsx":return 2;case".ts":case".cts":case".mts":return 3;case".tsx":return 4;case".json":return 6;default:return 0}}function BP(e,t){const n=e&&k5(e);if(!t||t.length===0)return n?B5:a4;const s=n?B5:a4,l=Vn(s);return[...s,...fr(t,d=>d.scriptKind===7||n&&sQe(d.scriptKind)&&l.indexOf(d.extension)===-1?[d.extension]:void 0)]}function w5(e,t){return!e||!Ix(e)?t:t===B5?hSe:t===a4?dSe:[...t,[".json"]]}function sQe(e){return e===1||e===2}function QC(e){return Oe(HP,t=>Gl(e,t))}function E5(e){return Oe(Ote,t=>Gl(e,t))}function UTe({imports:e},t=jh(QC,E5)){return ze(e,({text:n})=>wp(n)?t(n):void 0)||!1}function ste(e,t,n,s){if(e==="js"||t===99)return xD(n)&&l()!==2?3:2;if(e==="minimal")return 0;if(e==="index")return 1;if(!xD(n))return UTe(s)?2:0;return l();function l(){let f=!1;const d=s.imports.length?s.imports.map(g=>g.text):Gf(s)?aQe(s).map(g=>g.arguments[0].text):pt;for(const g of d)if(wp(g)){if(E5(g))return 3;QC(g)&&(f=!0)}return f?2:0}}function aQe(e){let t=0,n;for(const s of e.statements){if(t>3)break;ree(s)?n=Cr(n,s.declarationList.declarations.map(l=>l.initializer)):Gu(s)&&v_(s.expression,!0)?n=$r(n,s.expression):t++}return n||pt}function zTe(e,t,n){if(!e)return!1;const s=BP(t,n);for(const l of Vn(w5(t,s)))if(Gl(e,l))return!0;return!1}function VTe(e){const t=e.match(/\//g);return t?t.length:0}function A5(e,t){return Cc(VTe(e),VTe(t))}function B_(e){for(const t of sJ){const n=$Te(e,t);if(n!==void 0)return n}return e}function $Te(e,t){return Gl(e,t)?P5(e,t):void 0}function P5(e,t){return e.substring(0,e.length-t.length)}function ET(e,t){return FZ(e,t,sJ,!1)}function e4(e){const t=e.indexOf("*");return t===-1?e:e.indexOf("*",t+1)!==-1?void 0:{prefix:e.substr(0,t),suffix:e.substr(t+1)}}function Hj(e){return fr(wy(e),t=>e4(t))}function nh(e){return!(e>=0)}function Gj(e){return e===".ts"||e===".tsx"||e===".d.ts"||e===".cts"||e===".mts"||e===".d.mts"||e===".d.cts"||Qs(e,".d.")&&Ul(e,".ts")}function D5(e){return Gj(e)||e===".json"}function N5(e){const t=Jg(e);return t!==void 0?t:R.fail(`File ${e} has unknown extension.`)}function oQe(e){return Jg(e)!==void 0}function Jg(e){return He(sJ,t=>Gl(e,t))}function I5(e,t){return e.checkJsDirective?e.checkJsDirective.enabled:t.checkJs}function ate(e,t){const n=[];for(const s of e){if(s===t)return t;ha(s)||n.push(s)}return yY(n,s=>s,t)}function ote(e,t){const n=e.indexOf(t);return R.assert(n!==-1),e.slice(n)}function Eo(e,...t){return t.length&&(e.relatedInformation||(e.relatedInformation=[]),R.assert(e.relatedInformation!==pt,"Diagnostic had empty array singleton for related info, but is still being constructed!"),e.relatedInformation.push(...t)),e}function qTe(e,t){R.assert(e.length!==0);let n=t(e[0]),s=n;for(let l=1;l<e.length;l++){const f=t(e[l]);f<n?n=f:f>s&&(s=f)}return{min:n,max:s}}function cte(e){return{pos:yx(e),end:e.end}}function lte(e,t){const n=t.pos-1,s=Math.min(e.text.length,wo(e.text,t.end)+1);return{pos:n,end:s}}function jP(e,t,n){return t.skipLibCheck&&e.isDeclarationFile||t.skipDefaultLibCheck&&e.hasNoDefaultLib||n.isSourceOfProjectReferenceRedirect(e.fileName)}function ute(e,t){return e===t||typeof e=="object"&&e!==null&&typeof t=="object"&&t!==null&&E1e(e,t,ute)}function JP(e){let 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:const k=e.length-1;let S=0;for(;e.charCodeAt(S)===48;)S++;return e.slice(S,k)||"0"}const n=2,s=e.length-1,l=(s-n)*t,f=new Uint16Array((l>>>4)+(l&15?1:0));for(let k=s-1,S=0;k>=n;k--,S+=t){const w=S>>>4,N=e.charCodeAt(k),L=(N<=57?N-48:10+N-(N<=70?65:97))<<(S&15);f[w]|=L;const U=L>>>16;U&&(f[w+1]|=U)}let d="",g=f.length-1,h=!0;for(;h;){let k=0;h=!1;for(let S=g;S>=0;S--){const w=k<<16|f[S],N=w/10|0;f[S]=N,k=w-N*10,N&&!h&&(g=S,h=!0)}d=k+d}return d}function AT({negative:e,base10Value:t}){return(e&&t!=="0"?"-":"")+t}function WTe(e){if(Xj(e,!1))return fte(e)}function fte(e){const t=e.startsWith("-"),n=JP(`${t?e.slice(1):e}n`);return{negative:t,base10Value:n}}function Xj(e,t){if(e==="")return!1;const n=q0(99,!1);let s=!0;n.setOnError(()=>s=!1),n.setText(e+"n");let l=n.scan();const f=l===40;f&&(l=n.scan());const d=n.getTokenFlags();return s&&l===9&&n.getTextPos()===e.length+1&&!(d&512)&&(!t||e===AT({negative:f,base10Value:JP(n.getTokenValue())}))}function YC(e){return!!(e.flags&16777216)||pj(e)||uQe(e)||lQe(e)||!(Fy(e)||cQe(e))}function cQe(e){return Ye(e)&&id(e.parent)&&e.parent.name===e}function lQe(e){for(;e.kind===79||e.kind===208;)e=e.parent;if(e.kind!==164)return!1;if(Ti(e.parent,256))return!0;const t=e.parent.parent.kind;return t===261||t===184}function uQe(e){if(e.kind!==79)return!1;const t=kn(e.parent,n=>{switch(n.kind){case 294:return!0;case 208:case 230:return!1;default:return"quit"}});return(t==null?void 0:t.token)===117||(t==null?void 0:t.parent.kind)===261}function HTe(e){return Gd(e)&&Ye(e.typeName)}function GTe(e,t=Db){if(e.length<2)return!0;const n=e[0];for(let s=1,l=e.length;s<l;s++){const f=e[s];if(!t(n,f))return!1}return!0}function UP(e,t){return e.pos=t,e}function t4(e,t){return e.end=t,e}function Kh(e,t,n){return t4(UP(e,t),n)}function zP(e,t,n){return Kh(e,t,t+n)}function XTe(e,t){return e&&(e.flags=t),e}function go(e,t){return e&&t&&(e.parent=t),e}function r4(e,t){if(e)for(const n of e)go(n,t);return e}function bv(e,t){if(!e)return e;return yO(e,C6(e)?n:l),e;function n(f,d){if(t&&f.parent===d)return"skip";go(f,d)}function s(f){if(Ep(f))for(const d of f.jsDoc)n(d,f),yO(d,n)}function l(f,d){return n(f,d)||s(f)}}function fQe(e){return!yu(e)}function _te(e){return Nf(e)&&ut(e.elements,fQe)}function QTe(e){for(R.assertIsDefined(e.parent);;){const t=e.parent;if(j_(t)){e=t;continue}if(Gu(t)||lw(t)||Rx(t)&&(t.initializer===e||t.incrementor===e))return!0;if(sD(t)){if(e!==ko(t.elements))return!0;e=t;continue}if($n(t)&&t.operatorToken.kind===27){if(e===t.left)return!0;e=t;continue}return!1}}function VP(e){return Oe(KI,t=>nf(e,t))}function YTe(e){if(!e.parent)return;switch(e.kind){case 165:const{parent:n}=e;return n.kind===192?void 0:n.typeParameters;case 166:return e.parent.parameters;case 201:return e.parent.templateSpans;case 236:return e.parent.templateSpans;case 167:{const{parent:s}=e;return yw(s)?s.modifiers:void 0}case 294:return e.parent.heritageClauses}const{parent:t}=e;if(nP(e))return uD(e.parent)?void 0:e.parent.tags;switch(t.kind){case 184:case 261:return dx(e)?t.members:void 0;case 189:case 190:return t.types;case 186:case 206:case 357:case 272:case 276:return t.elements;case 207:case 289:return t.properties;case 210:case 211:return ps(e)?t.typeArguments:t.expression===e?void 0:t.arguments;case 281:case 285:return k7(e)?t.children:void 0;case 283:case 282:return ps(e)?t.typeArguments:void 0;case 238:case 292:case 293:case 265:return t.statements;case 266:return t.clauses;case 260:case 228:return Eu(e)?t.members:void 0;case 263:return LT(e)?t.members:void 0;case 308:return t.statements}}function Qj(e){if(!e.typeParameters){if(Oe(e.parameters,t=>!Ju(t)))return!0;if(e.kind!==216){const t=Ru(e.parameters);if(!(t&&kT(t)))return!0}}return!1}function $P(e){return e==="Infinity"||e==="-Infinity"||e==="NaN"}function ZTe(e){return e.kind===257&&e.parent.kind===295}function pte(e){const t=e.valueDeclaration&&Gh(e.valueDeclaration);return!!t&&(ua(t)||ZTe(t))}function n4(e){return e.kind===215||e.kind===216}function Ox(e){return e.replace(/\$/gm,()=>"\\$")}function Ug(e){return(+e).toString()===e}function Yj(e,t,n,s){return Bd(e,t)?J.createIdentifier(e):!s&&Ug(e)&&+e>=0?J.createNumericLiteral(+e):J.createStringLiteral(e,!!n)}function qP(e){return!!(e.flags&262144&&e.isThisType)}function dte(e){let t=0,n=0,s=0,l=0,f;(k=>{k[k.BeforeNodeModules=0]="BeforeNodeModules",k[k.NodeModules=1]="NodeModules",k[k.Scope=2]="Scope",k[k.PackageContent=3]="PackageContent"})(f||(f={}));let d=0,g=0,h=0;for(;g>=0;)switch(d=g,g=e.indexOf("/",d+1),h){case 0:e.indexOf(a1,d)===d&&(t=d,n=g,h=1);break;case 1:case 2:h===1&&e.charAt(d+1)==="@"?h=2:(s=g,h=3);break;case 3:e.indexOf(a1,d)===d?h=1:h=3;break}return l=d,h>1?{topLevelNodeModulesIndex:t,topLevelPackageNameIndex:n,packageRootIndex:s,fileNameIndex:l}:void 0}function _Qe(e){var t;return e.kind===344?(t=e.typeExpression)==null?void 0:t.type:e.type}function i4(e){switch(e.kind){case 165:case 260:case 261:case 262:case 263:case 349:case 341:case 343:return!0;case 270:return e.isTypeOnly;case 273:case 278:return e.parent.parent.isTypeOnly;default:return!1}}function O5(e){return Gb(e)||Xl(e)||ru(e)||vu(e)||Yf(e)||i4(e)||Pl(e)&&!hT(e)&&!Km(e)}function L5(e){if(!LB(e))return!1;const{isBracketed:t,typeExpression:n}=e;return t||!!n&&n.type.kind===319}function mte(e,t){if(e.length===0)return!1;const n=e.charCodeAt(0);return n===35?e.length>1&&Ig(e.charCodeAt(1),t):Ig(n,t)}function KTe(e){var t;return((t=Wte(e))==null?void 0:t.kind)===0}function M5(e){return Mn(e)&&(e.type&&e.type.kind===319||GA(e).some(({isBracketed:t,typeExpression:n})=>t||!!n&&n.type.kind===319))}function hte(e){switch(e.kind){case 169:case 168:return!!e.questionToken;case 166:return!!e.questionToken||M5(e);case 351:case 344:return L5(e);default:return!1}}function eSe(e){const t=e.kind;return(t===208||t===209)&&uw(e.expression)}function gte(e){return Mn(e)&&j_(e)&&Ep(e)&&!!eK(e)}function yte(e){return R.checkDefined(Zj(e))}function Zj(e){const t=eK(e);return t&&t.typeExpression&&t.typeExpression.type}var Kj,qb,F5,eJ,WP,vte,bte,tSe,Tte,rSe,Ste,xte,kte,Cte,nSe,iSe,sSe,aSe,oSe,wte,cSe,lSe,uSe,s4,PT,fSe,_Se,Pu,Ete,R5,tJ,pSe,Ate,rJ,Pte,Dte,Nte,Ite,a4,Ote,dSe,mSe,Lte,HP,B5,hSe,nJ,iJ,Mte,sJ,aJ,pQe=p({"src/compiler/utilities.ts"(){aa(),Kj=[],qb="tslib",F5=160,eJ=1e6,WP=XGe(),vte=(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))(vte||{}),bte=/^(\/\/\/\s*<reference\s+path\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/,tSe=/^(\/\/\/\s*<reference\s+types\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/,Tte=/^(\/\/\/\s*<amd-dependency\s+path\s*=\s*)(('[^']*')|("[^"]*")).*?\/>/,rSe=/^(\/\/\/\s*<reference\s+no-default-lib\s*=\s*)(('[^']*')|("[^"]*"))\s*\/>/,Ste=(e=>(e[e.None=0]="None",e[e.Definite=1]="Definite",e[e.Compound=2]="Compound",e))(Ste||{}),xte=(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))(xte||{}),kte=(e=>(e[e.Left=0]="Left",e[e.Right=1]="Right",e))(kte||{}),Cte=(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))(Cte||{}),nSe=/\$\{/g,iSe=/[\\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,sSe=/[\\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,aSe=/\r\n|[\\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g,oSe=new Map(Object.entries({" ":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085","\r\n":"\\r\\n"})),wte=/[^\u0000-\u007F]/g,cSe=/[\"\u0000-\u001f\u2028\u2029\u0085]/g,lSe=/[\'\u0000-\u001f\u2028\u2029\u0085]/g,uSe=new Map(Object.entries({'"':"&quot;","'":"&apos;"})),s4=[""," "],PT="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",fSe=`\r
`,_Se=`
`,Pu={getNodeConstructor:()=>Hee,getTokenConstructor:()=>qXe,getIdentifierConstructor:()=>WXe,getPrivateIdentifierConstructor:()=>Hee,getSourceFileConstructor:()=>Hee,getSymbolConstructor:()=>zXe,getTypeConstructor:()=>VXe,getSignatureConstructor:()=>$Xe,getSourceMapSourceConstructor:()=>HXe},Ete=[],tJ=/[^\w\s\/]/g,pSe=[42,63],Ate=["node_modules","bower_components","jspm_packages"],rJ=`(?!(${Ate.join("|")})(/|$))`,Pte={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:`(/${rJ}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>rte(e,Pte.singleAsteriskRegexFragment)},Dte={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:`(/${rJ}[^/.][^/]*)*?`,replaceWildcardCharacter:e=>rte(e,Dte.singleAsteriskRegexFragment)},Nte={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:e=>rte(e,Nte.singleAsteriskRegexFragment)},Ite={files:Pte,directories:Dte,exclude:Nte},a4=[[".ts",".tsx",".d.ts"],[".cts",".d.cts"],[".mts",".d.mts"]],Ote=Vn(a4),dSe=[...a4,[".json"]],mSe=[".d.ts",".d.cts",".d.mts",".cts",".mts",".ts",".tsx",".cts",".mts"],Lte=[[".js",".jsx"],[".mjs"],[".cjs"]],HP=Vn(Lte),B5=[[".ts",".tsx",".d.ts",".js",".jsx"],[".cts",".d.cts",".cjs"],[".mts",".d.mts",".mjs"]],hSe=[...B5,[".json"]],nJ=[".d.ts",".d.cts",".d.mts"],iJ=[".ts",".cts",".mts",".tsx"],Mte=(e=>(e[e.Minimal=0]="Minimal",e[e.Index=1]="Index",e[e.JsExtension=2]="JsExtension",e[e.TsExtension=3]="TsExtension",e))(Mte||{}),sJ=[".d.ts",".d.mts",".d.cts",".mjs",".mts",".cjs",".cts",".ts",".js",".tsx",".jsx",".json"],aJ={files:pt,directories:pt}}});function gSe(){let e,t,n,s,l;return{createBaseSourceFileNode:f,createBaseIdentifierNode:d,createBasePrivateIdentifierNode:g,createBaseTokenNode:h,createBaseNode:k};function f(S){return new(l||(l=Pu.getSourceFileConstructor()))(S,-1,-1)}function d(S){return new(n||(n=Pu.getIdentifierConstructor()))(S,-1,-1)}function g(S){return new(s||(s=Pu.getPrivateIdentifierConstructor()))(S,-1,-1)}function h(S){return new(t||(t=Pu.getTokenConstructor()))(S,-1,-1)}function k(S){return new(e||(e=Pu.getNodeConstructor()))(S,-1,-1)}}var dQe=p({"src/compiler/factory/baseNodeFactory.ts"(){aa()}});function ySe(e){let t,n;return{getParenthesizeLeftSideOfBinaryForOperator:s,getParenthesizeRightSideOfBinaryForOperator:l,parenthesizeLeftSideOfBinary:k,parenthesizeRightSideOfBinary:S,parenthesizeExpressionOfComputedPropertyName:w,parenthesizeConditionOfConditionalExpression:N,parenthesizeBranchOfConditionalExpression:O,parenthesizeExpressionOfExportDefault:L,parenthesizeExpressionOfNew:U,parenthesizeLeftSideOfAccess:M,parenthesizeOperandOfPostfixUnary:W,parenthesizeOperandOfPrefixUnary:X,parenthesizeExpressionsOfCommaDelimitedList:Z,parenthesizeExpressionForDisallowedComma:ue,parenthesizeExpressionOfExpressionStatement:ie,parenthesizeConciseBodyOfArrowFunction:se,parenthesizeCheckTypeOfConditionalType:V,parenthesizeExtendsTypeOfConditionalType:ve,parenthesizeConstituentTypesOfUnionType:Ce,parenthesizeConstituentTypeOfUnionType:fe,parenthesizeConstituentTypesOfIntersectionType:K,parenthesizeConstituentTypeOfIntersectionType:_e,parenthesizeOperandOfTypeOperator:ge,parenthesizeOperandOfReadonlyTypeOperator:Se,parenthesizeNonArrayTypeOfPostfixType:we,parenthesizeElementTypesOfTupleType:Pe,parenthesizeElementTypeOfTupleType:le,parenthesizeTypeOfOptionalType:Qe,parenthesizeTypeArguments:Je,parenthesizeLeadingTypeArgument:Ge};function s(qe){t||(t=new Map);let st=t.get(qe);return st||(st=Ke=>k(qe,Ke),t.set(qe,st)),st}function l(qe){n||(n=new Map);let st=n.get(qe);return st||(st=Ke=>S(qe,void 0,Ke),n.set(qe,st)),st}function f(qe,st,Ke,We){const gt=o5(223,qe),jt=gee(223,qe),It=jd(st);if(!Ke&&st.kind===216&&gt>3)return!0;const er=wj(It);switch(Cc(er,gt)){case-1:return!(!Ke&&jt===1&&st.kind===226);case 1:return!1;case 0:if(Ke)return jt===1;if($n(It)&&It.operatorToken.kind===qe){if(d(qe))return!1;if(qe===39){const mt=We?g(We):0;if(KA(mt)&&mt===g(It))return!1}}return hee(It)===0}}function d(qe){return qe===41||qe===51||qe===50||qe===52||qe===27}function g(qe){if(qe=jd(qe),KA(qe.kind))return qe.kind;if(qe.kind===223&&qe.operatorToken.kind===39){if(qe.cachedLiteralKind!==void 0)return qe.cachedLiteralKind;const st=g(qe.left),Ke=KA(st)&&st===g(qe.right)?st:0;return qe.cachedLiteralKind=Ke,Ke}return 0}function h(qe,st,Ke,We){return jd(st).kind===214?st:f(qe,st,Ke,We)?e.createParenthesizedExpression(st):st}function k(qe,st){return h(qe,st,!0)}function S(qe,st,Ke){return h(qe,Ke,!1,st)}function w(qe){return pD(qe)?e.createParenthesizedExpression(qe):qe}function N(qe){const st=o5(224,57),Ke=jd(qe),We=wj(Ke);return Cc(We,st)!==1?e.createParenthesizedExpression(qe):qe}function O(qe){const st=jd(qe);return pD(st)?e.createParenthesizedExpression(qe):qe}function L(qe){const st=jd(qe);let Ke=pD(st);if(!Ke)switch(LP(st,!1).kind){case 228:case 215:Ke=!0}return Ke?e.createParenthesizedExpression(qe):qe}function U(qe){const st=LP(qe,!0);switch(st.kind){case 210:return e.createParenthesizedExpression(qe);case 211:return st.arguments?qe:e.createParenthesizedExpression(qe)}return M(qe)}function M(qe,st){const Ke=jd(qe);return g_(Ke)&&(Ke.kind!==211||Ke.arguments)&&(st||!cf(Ke))?qe:Et(e.createParenthesizedExpression(qe),qe)}function W(qe){return g_(qe)?qe:Et(e.createParenthesizedExpression(qe),qe)}function X(qe){return dK(qe)?qe:Et(e.createParenthesizedExpression(qe),qe)}function Z(qe){const st=$s(qe,ue);return Et(e.createNodeArray(st,qe.hasTrailingComma),qe)}function ue(qe){const st=jd(qe),Ke=wj(st),We=o5(223,27);return Ke>We?qe:Et(e.createParenthesizedExpression(qe),qe)}function ie(qe){const st=jd(qe);if(Da(st)){const We=st.expression,gt=jd(We).kind;if(gt===215||gt===216){const jt=e.updateCallExpression(st,Et(e.createParenthesizedExpression(We),We),st.typeArguments,st.arguments);return e.restoreOuterExpressions(qe,jt,8)}}const Ke=LP(st,!1).kind;return Ke===207||Ke===215?Et(e.createParenthesizedExpression(qe),qe):qe}function se(qe){return!Fa(qe)&&(pD(qe)||LP(qe,!1).kind===207)?Et(e.createParenthesizedExpression(qe),qe):qe}function V(qe){switch(qe.kind){case 181:case 182:case 191:return e.createParenthesizedType(qe)}return qe}function ve(qe){switch(qe.kind){case 191:return e.createParenthesizedType(qe)}return qe}function fe(qe){switch(qe.kind){case 189:case 190:return e.createParenthesizedType(qe)}return V(qe)}function Ce(qe){return e.createNodeArray($s(qe,fe))}function _e(qe){switch(qe.kind){case 189:case 190:return e.createParenthesizedType(qe)}return fe(qe)}function K(qe){return e.createNodeArray($s(qe,_e))}function ge(qe){switch(qe.kind){case 190:return e.createParenthesizedType(qe)}return _e(qe)}function Se(qe){switch(qe.kind){case 195:return e.createParenthesizedType(qe)}return ge(qe)}function we(qe){switch(qe.kind){case 192:case 195:case 183:return e.createParenthesizedType(qe)}return ge(qe)}function Pe(qe){return e.createNodeArray($s(qe,le))}function le(qe){return ot(qe)?e.createParenthesizedType(qe):qe}function ot(qe){return b4(qe)?qe.postfix:rD(qe)||Vg(qe)||eD(qe)||ow(qe)?ot(qe.type):p4(qe)?ot(qe.falseType):sw(qe)||eO(qe)?ot(ko(qe.types)):d4(qe)?!!qe.typeParameter.constraint&&ot(qe.typeParameter.constraint):!1}function Qe(qe){return ot(qe)?e.createParenthesizedType(qe):we(qe)}function Ge(qe){return bbe(qe)&&qe.typeParameters?e.createParenthesizedType(qe):qe}function tt(qe,st){return st===0?Ge(qe):qe}function Je(qe){if(Oe(qe))return e.createNodeArray($s(qe,tt))}}var Fte,mQe=p({"src/compiler/factory/parenthesizerRules.ts"(){aa(),Fte={getParenthesizeLeftSideOfBinaryForOperator:e=>Zc,getParenthesizeRightSideOfBinaryForOperator:e=>Zc,parenthesizeLeftSideOfBinary:(e,t)=>t,parenthesizeRightSideOfBinary:(e,t,n)=>n,parenthesizeExpressionOfComputedPropertyName:Zc,parenthesizeConditionOfConditionalExpression:Zc,parenthesizeBranchOfConditionalExpression:Zc,parenthesizeExpressionOfExportDefault:Zc,parenthesizeExpressionOfNew:e=>Oa(e,g_),parenthesizeLeftSideOfAccess:e=>Oa(e,g_),parenthesizeOperandOfPostfixUnary:e=>Oa(e,g_),parenthesizeOperandOfPrefixUnary:e=>Oa(e,dK),parenthesizeExpressionsOfCommaDelimitedList:e=>Oa(e,_T),parenthesizeExpressionForDisallowedComma:Zc,parenthesizeExpressionOfExpressionStatement:Zc,parenthesizeConciseBodyOfArrowFunction:Zc,parenthesizeCheckTypeOfConditionalType:Zc,parenthesizeExtendsTypeOfConditionalType:Zc,parenthesizeConstituentTypesOfUnionType:e=>Oa(e,_T),parenthesizeConstituentTypeOfUnionType:Zc,parenthesizeConstituentTypesOfIntersectionType:e=>Oa(e,_T),parenthesizeConstituentTypeOfIntersectionType:Zc,parenthesizeOperandOfTypeOperator:Zc,parenthesizeOperandOfReadonlyTypeOperator:Zc,parenthesizeNonArrayTypeOfPostfixType:Zc,parenthesizeElementTypesOfTupleType:e=>Oa(e,_T),parenthesizeElementTypeOfTupleType:Zc,parenthesizeTypeOfOptionalType:Zc,parenthesizeTypeArguments:e=>e&&Oa(e,_T),parenthesizeLeadingTypeArgument:Zc}}});function vSe(e){return{convertToFunctionBlock:t,convertToFunctionExpression:n,convertToArrayAssignmentElement:s,convertToObjectAssignmentElement:l,convertToAssignmentPattern:f,convertToObjectAssignmentPattern:d,convertToArrayAssignmentPattern:g,convertToAssignmentElementTarget:h};function t(k,S){if(Fa(k))return k;const w=e.createReturnStatement(k);Et(w,k);const N=e.createBlock([w],S);return Et(N,k),N}function n(k){if(!k.body)return R.fail("Cannot convert a FunctionDeclaration without a body");const S=e.createFunctionExpression(fx(k),k.asteriskToken,k.name,k.typeParameters,k.parameters,k.type,k.body);return di(S,k),Et(S,k),$5(k)&&qte(S,!0),S}function s(k){if(qo(k)){if(k.dotDotDotToken)return R.assertNode(k.name,Ye),di(Et(e.createSpreadElement(k.name),k),k);const S=h(k.name);return k.initializer?di(Et(e.createAssignment(S,k.initializer),k),k):S}return Oa(k,Dt)}function l(k){if(qo(k)){if(k.dotDotDotToken)return R.assertNode(k.name,Ye),di(Et(e.createSpreadAssignment(k.name),k),k);if(k.propertyName){const S=h(k.name);return di(Et(e.createPropertyAssignment(k.propertyName,k.initializer?e.createAssignment(S,k.initializer):S),k),k)}return R.assertNode(k.name,Ye),di(Et(e.createShorthandPropertyAssignment(k.name,k.initializer),k),k)}return Oa(k,X0)}function f(k){switch(k.kind){case 204:case 206:return g(k);case 203:case 207:return d(k)}}function d(k){return tg(k)?di(Et(e.createObjectLiteralExpression(qt(k.elements,l)),k),k):Oa(k,cc)}function g(k){return m4(k)?di(Et(e.createArrayLiteralExpression(qt(k.elements,s)),k),k):Oa(k,Nf)}function h(k){return xa(k)?f(k):Oa(k,Dt)}}var Rte,hQe=p({"src/compiler/factory/nodeConverters.ts"(){aa(),Rte={convertToFunctionBlock:ga,convertToFunctionExpression:ga,convertToArrayAssignmentElement:ga,convertToObjectAssignmentElement:ga,convertToAssignmentPattern:ga,convertToObjectAssignmentPattern:ga,convertToArrayAssignmentPattern:ga,convertToAssignmentElementTarget:ga}}});function gQe(e){zte.push(e)}function j5(e,t){const n=e&8?yQe:vQe,s=h_(()=>e&1?Fte:ySe(W)),l=h_(()=>e&2?Rte:vSe(W)),f=Bh(C=>(F,q)=>G(F,C,q)),d=Bh(C=>F=>wd(C,F)),g=Bh(C=>F=>em(F,C)),h=Bh(C=>()=>sS(C)),k=Bh(C=>F=>g1(C,F)),S=Bh(C=>(F,q)=>_c(C,F,q)),w=Bh(C=>(F,q)=>Ck(C,F,q)),N=Bh(C=>(F,q)=>aS(C,F,q)),O=Bh(C=>(F,q)=>ty(C,F,q)),L=Bh(C=>(F,q,me)=>Hv(C,F,q,me)),U=Bh(C=>(F,q,me)=>Gv(C,F,q,me)),M=Bh(C=>(F,q,me,rt)=>Ku(C,F,q,me,rt)),W={get parenthesizer(){return s()},get converters(){return l()},baseFactory:t,flags:e,createNodeArray:X,createNumericLiteral:se,createBigIntLiteral:V,createStringLiteral:fe,createStringLiteralFromNode:Ce,createRegularExpressionLiteral:_e,createLiteralLikeNode:K,createIdentifier:we,createTempVariable:Pe,createLoopVariable:le,createUniqueName:ot,getGeneratedNameForNode:Qe,createPrivateIdentifier:tt,createUniquePrivateName:qe,getGeneratedPrivateNameForNode:st,createToken:We,createSuper:gt,createThis:jt,createNull:It,createTrue:er,createFalse:ft,createModifier:mt,createModifiersFromModifierFlags:xr,createQualifiedName:dr,updateQualifiedName:rn,createComputedPropertyName:un,updateComputedPropertyName:Gr,createTypeParameterDeclaration:mr,updateTypeParameterDeclaration:Fn,createParameterDeclaration:ts,updateParameterDeclaration:ws,createDecorator:Es,updateDecorator:ii,createPropertySignature:Rt,updatePropertySignature:Rr,createPropertyDeclaration:Pr,updatePropertyDeclaration:Cn,createMethodSignature:Nn,updateMethodSignature:cs,createMethodDeclaration:qi,updateMethodDeclaration:en,createConstructorDeclaration:Fe,updateConstructorDeclaration:Pt,createGetAccessorDeclaration:Ne,updateGetAccessorDeclaration:kt,createSetAccessorDeclaration:pe,updateSetAccessorDeclaration:xe,createCallSignature:Ze,updateCallSignature:ct,createConstructSignature:it,updateConstructSignature:Kt,createIndexSignature:wr,updateIndexSignature:qr,createClassStaticBlockDeclaration:nn,updateClassStaticBlockDeclaration:Xn,createTemplateLiteralTypeSpan:qn,updateTemplateLiteralTypeSpan:ye,createKeywordTypeNode:wt,createTypePredicateNode:nr,updateTypePredicateNode:dt,createTypeReferenceNode:ne,updateTypeReferenceNode:$e,createFunctionTypeNode:ce,updateFunctionTypeNode:Be,createConstructorTypeNode:$t,updateConstructorTypeNode:Dr,createTypeQueryNode:Yi,updateTypeQueryNode:Zi,createTypeLiteralNode:hs,updateTypeLiteralNode:za,createArrayTypeNode:Xa,updateArrayTypeNode:Ia,createTupleTypeNode:Fs,updateTupleTypeNode:gs,createNamedTupleMember:vi,updateNamedTupleMember:Bo,createOptionalTypeNode:Ji,updateOptionalTypeNode:Rs,createRestTypeNode:Qr,updateRestTypeNode:js,createUnionTypeNode:Sl,updateUnionTypeNode:Nl,createIntersectionTypeNode:xl,updateIntersectionTypeNode:Ka,createConditionalTypeNode:ea,updateConditionalTypeNode:Ao,createInferTypeNode:kl,updateInferTypeNode:zu,createImportTypeNode:Lu,updateImportTypeNode:fc,createParenthesizedType:Kc,updateParenthesizedType:Fc,createThisTypeNode:Pc,createTypeOperatorNode:br,updateTypeOperatorNode:Cl,createIndexedAccessTypeNode:df,updateIndexedAccessTypeNode:Rf,createMappedTypeNode:be,updateMappedTypeNode:Ut,createLiteralTypeNode:tr,updateLiteralTypeNode:oe,createTemplateLiteralType:$_,updateTemplateLiteralType:Vl,createObjectBindingPattern:ht,updateObjectBindingPattern:Ft,createArrayBindingPattern:Or,updateArrayBindingPattern:ti,createBindingElement:si,updateBindingElement:Ws,createArrayLiteralExpression:jo,updateArrayLiteralExpression:Va,createObjectLiteralExpression:vo,updateObjectLiteralExpression:ka,createPropertyAccessExpression:e&4?(C,F)=>Pn(Ql(C,F),262144):Ql,updatePropertyAccessExpression:a_,createPropertyAccessChain:e&4?(C,F,q)=>Pn(Zo(C,F,q),262144):Zo,updatePropertyAccessChain:zo,createElementAccessExpression:q_,updateElementAccessExpression:wl,createElementAccessChain:Fp,updateElementAccessChain:De,createCallExpression:tn,updateCallExpression:ks,createCallChain:eo,updateCallChain:de,createNewExpression:bt,updateNewExpression:Yt,createTaggedTemplateExpression:Xt,updateTaggedTemplateExpression:Er,createTypeAssertion:ln,updateTypeAssertion:ri,createParenthesizedExpression:wi,updateParenthesizedExpression:ls,createFunctionExpression:da,updateFunctionExpression:bo,createArrowFunction:tc,updateArrowFunction:Dc,createDeleteExpression:o_,updateDeleteExpression:mp,createTypeOfExpression:Bl,updateTypeOfExpression:W_,createVoidExpression:mf,updateVoidExpression:hp,createAwaitExpression:Cd,updateAwaitExpression:Po,createPrefixUnaryExpression:wd,updatePrefixUnaryExpression:gp,createPostfixUnaryExpression:em,updatePostfixUnaryExpression:Dm,createBinaryExpression:G,updateBinaryExpression:ir,createConditionalExpression:gn,updateConditionalExpression:na,createTemplateExpression:ta,updateTemplateExpression:Le,createTemplateHead:Vr,createTemplateMiddle:fn,createTemplateTail:hi,createNoSubstitutionTemplateLiteral:Ts,createTemplateLiteralLikeNode:Jr,createYieldExpression:xn,updateYieldExpression:Nr,createSpreadElement:On,updateSpreadElement:Ys,createClassExpression:Nc,updateClassExpression:$l,createOmittedExpression:cg,createExpressionWithTypeArguments:Xy,updateExpressionWithTypeArguments:tm,createAsExpression:i2,updateAsExpression:Fv,createNonNullExpression:Ww,updateNonNullExpression:pk,createSatisfiesExpression:Hw,updateSatisfiesExpression:Qy,createNonNullChain:rm,updateNonNullChain:Rv,createMetaProperty:Yg,updateMetaProperty:Nm,createTemplateSpan:Bv,updateTemplateSpan:XT,createSemicolonClassElement:s2,createBlock:Yy,updateBlock:dk,createVariableStatement:QT,updateVariableStatement:YT,createEmptyStatement:ZT,createExpressionStatement:jv,updateExpressionStatement:Gw,createIfStatement:KT,updateIfStatement:eS,createDoStatement:Jv,updateDoStatement:a2,createWhileStatement:Uv,updateWhileStatement:mk,createForStatement:Zy,updateForStatement:Do,createForInStatement:tS,updateForInStatement:s3,createForOfStatement:m1,updateForOfStatement:Ky,createContinueStatement:lg,updateContinueStatement:ad,createBreakStatement:k_,updateBreakStatement:C_,createReturnStatement:w_,updateReturnStatement:o2,createWithStatement:c2,updateWithStatement:Xw,createSwitchStatement:l2,updateSwitchStatement:e0,createLabeledStatement:u2,updateLabeledStatement:hk,createThrowStatement:f2,updateThrowStatement:a3,createTryStatement:Qw,updateTryStatement:zv,createDebuggerStatement:rS,createVariableDeclaration:nt,updateVariableDeclaration:h1,createVariableDeclarationList:fh,updateVariableDeclarationList:Vv,createFunctionDeclaration:_2,updateFunctionDeclaration:$v,createClassDeclaration:gk,updateClassDeclaration:Oo,createInterfaceDeclaration:nm,updateInterfaceDeclaration:nS,createTypeAliasDeclaration:nu,updateTypeAliasDeclaration:Zg,createEnumDeclaration:p2,updateEnumDeclaration:im,createModuleDeclaration:d2,updateModuleDeclaration:Yu,createModuleBlock:r0,updateModuleBlock:Tu,createCaseBlock:yk,updateCaseBlock:o3,createNamespaceExportDeclaration:ys,updateNamespaceExportDeclaration:gi,createImportEqualsDeclaration:H_,updateImportEqualsDeclaration:iS,createImportDeclaration:n0,updateImportDeclaration:Kg,createImportClause:fg,updateImportClause:Xc,createAssertClause:m2,updateAssertClause:vk,createAssertEntry:h2,updateAssertEntry:bk,createImportTypeAssertionContainer:od,updateImportTypeAssertionContainer:Yw,createNamespaceImport:Zw,updateNamespaceImport:qv,createNamespaceExport:Tk,updateNamespaceExport:Sk,createNamedImports:Kw,updateNamedImports:g2,createImportSpecifier:xk,updateImportSpecifier:Rp,createExportAssignment:i0,updateExportAssignment:Im,createExportDeclaration:sm,updateExportDeclaration:eE,createNamedExports:_h,updateNamedExports:kk,createExportSpecifier:c_,updateExportSpecifier:s0,createMissingDeclaration:ph,createExternalModuleReference:dh,updateExternalModuleReference:a0,get createJSDocAllType(){return h(315)},get createJSDocUnknownType(){return h(316)},get createJSDocNonNullableType(){return w(318)},get updateJSDocNonNullableType(){return N(318)},get createJSDocNullableType(){return w(317)},get updateJSDocNullableType(){return N(317)},get createJSDocOptionalType(){return k(319)},get updateJSDocOptionalType(){return S(319)},get createJSDocVariadicType(){return k(321)},get updateJSDocVariadicType(){return S(321)},get createJSDocNamepathType(){return k(322)},get updateJSDocNamepathType(){return S(322)},createJSDocFunctionType:y1,updateJSDocFunctionType:tE,createJSDocTypeLiteral:v2,updateJSDocTypeLiteral:b2,createJSDocTypeExpression:rE,updateJSDocTypeExpression:c3,createJSDocSignature:nE,updateJSDocSignature:Rn,createJSDocTemplateTag:Wv,updateJSDocTemplateTag:_g,createJSDocTypedefTag:wn,updateJSDocTypedefTag:iE,createJSDocParameterTag:v1,updateJSDocParameterTag:pu,createJSDocPropertyTag:Ed,updateJSDocPropertyTag:Om,createJSDocCallbackTag:b1,updateJSDocCallbackTag:oS,createJSDocOverloadTag:am,updateJSDocOverloadTag:T1,createJSDocAugmentsTag:Il,updateJSDocAugmentsTag:jl,createJSDocImplementsTag:o0,updateJSDocImplementsTag:c0,createJSDocSeeTag:Zu,updateJSDocSeeTag:Ad,createJSDocNameReference:pg,updateJSDocNameReference:E_,createJSDocMemberName:cS,updateJSDocMemberName:T2,createJSDocLink:S2,updateJSDocLink:Lm,createJSDocLinkCode:ey,updateJSDocLinkCode:lS,createJSDocLinkPlain:S1,updateJSDocLinkPlain:ml,get createJSDocTypeTag(){return U(347)},get updateJSDocTypeTag(){return M(347)},get createJSDocReturnTag(){return U(345)},get updateJSDocReturnTag(){return M(345)},get createJSDocThisTag(){return U(346)},get updateJSDocThisTag(){return M(346)},get createJSDocAuthorTag(){return O(333)},get updateJSDocAuthorTag(){return L(333)},get createJSDocClassTag(){return O(335)},get updateJSDocClassTag(){return L(335)},get createJSDocPublicTag(){return O(336)},get updateJSDocPublicTag(){return L(336)},get createJSDocPrivateTag(){return O(337)},get updateJSDocPrivateTag(){return L(337)},get createJSDocProtectedTag(){return O(338)},get updateJSDocProtectedTag(){return L(338)},get createJSDocReadonlyTag(){return O(339)},get updateJSDocReadonlyTag(){return L(339)},get createJSDocOverrideTag(){return O(340)},get updateJSDocOverrideTag(){return L(340)},get createJSDocDeprecatedTag(){return O(334)},get updateJSDocDeprecatedTag(){return L(334)},get createJSDocThrowsTag(){return U(352)},get updateJSDocThrowsTag(){return M(352)},get createJSDocSatisfiesTag(){return U(353)},get updateJSDocSatisfiesTag(){return M(353)},createJSDocEnumTag:uS,updateJSDocEnumTag:ny,createJSDocUnknownTag:ry,updateJSDocUnknownTag:iu,createJSDocText:x2,updateJSDocText:l_,createJSDocComment:dg,updateJSDocComment:k2,createJsxElement:Xv,updateJsxElement:fS,createJsxSelfClosingElement:x1,updateJsxSelfClosingElement:wk,createJsxOpeningElement:Qv,updateJsxOpeningElement:l0,createJsxClosingElement:jp,updateJsxClosingElement:_S,createJsxFragment:yp,createJsxText:Yv,updateJsxText:sE,createJsxOpeningFragment:Fo,createJsxJsxClosingFragment:Zn,updateJsxFragment:iy,createJsxAttribute:G_,updateJsxAttribute:u_,createJsxAttributes:Ek,updateJsxAttributes:pS,createJsxSpreadAttribute:k1,updateJsxSpreadAttribute:aE,createJsxExpression:C1,updateJsxExpression:mh,createCaseClause:Mm,updateCaseClause:u0,createDefaultClause:Zv,updateDefaultClause:sy,createHeritageClause:hh,updateHeritageClause:Ak,createCatchClause:Ol,updateCatchClause:vp,createPropertyAssignment:mg,updatePropertyAssignment:A_,createShorthandPropertyAssignment:w1,updateShorthandPropertyAssignment:f0,createSpreadAssignment:Jp,updateSpreadAssignment:pc,createEnumMember:mS,updateEnumMember:hS,createSourceFile:_0,updateSourceFile:bS,createRedirectedSourceFile:Kv,createBundle:TS,updateBundle:E1,createUnparsedSource:X_,createUnparsedPrologue:l3,createUnparsedPrepend:p0,createUnparsedTextLike:cE,createUnparsedSyntheticReference:lE,createInputFiles:A,createSyntheticExpression:he,createSyntaxList:Me,createNotEmittedStatement:Sr,createPartiallyEmittedExpression:Qn,updatePartiallyEmittedExpression:Qi,createCommaListExpression:ms,updateCommaListExpression:Ja,createEndOfDeclarationMarker:Vu,createMergeDeclarationMarker:Q_,createSyntheticReferenceExpression:bp,updateSyntheticReferenceExpression:A1,cloneNode:Pd,get createComma(){return f(27)},get createAssignment(){return f(63)},get createLogicalOr(){return f(56)},get createLogicalAnd(){return f(55)},get createBitwiseOr(){return f(51)},get createBitwiseXor(){return f(52)},get createBitwiseAnd(){return f(50)},get createStrictEquality(){return f(36)},get createStrictInequality(){return f(37)},get createEquality(){return f(34)},get createInequality(){return f(35)},get createLessThan(){return f(29)},get createLessThanEquals(){return f(32)},get createGreaterThan(){return f(31)},get createGreaterThanEquals(){return f(33)},get createLeftShift(){return f(47)},get createRightShift(){return f(48)},get createUnsignedRightShift(){return f(49)},get createAdd(){return f(39)},get createSubtract(){return f(40)},get createMultiply(){return f(41)},get createDivide(){return f(43)},get createModulo(){return f(44)},get createExponent(){return f(42)},get createPrefixPlus(){return d(39)},get createPrefixMinus(){return d(40)},get createPrefixIncrement(){return d(45)},get createPrefixDecrement(){return d(46)},get createBitwiseNot(){return d(54)},get createLogicalNot(){return d(53)},get createPostfixIncrement(){return g(45)},get createPostfixDecrement(){return g(46)},createImmediatelyInvokedFunctionExpression:SS,createImmediatelyInvokedArrowFunction:Up,createVoidZero:hg,createExportDefault:D1,createExternalModuleExport:cd,createTypeCheck:xS,createMethodCall:rb,createGlobalMethodCall:Lo,createFunctionBindCall:Yl,createFunctionCallCall:FL,createFunctionApplyCall:rc,createArraySliceCall:uE,createArrayConcatCall:fE,createObjectDefinePropertyCall:ee,createObjectGetOwnPropertyDescriptorCall:Ee,createReflectGetCall:at,createReflectSetCall:Lt,createPropertyDescriptor:Br,createCallBinding:nc,createAssignmentTargetWrapper:to,inlineExpressions:Mo,getInternalName:Fm,getLocalName:gh,getExportName:d0,getDeclarationName:Dd,getNamespaceMemberName:N1,getExternalModuleOrNamespaceExportName:_E,restoreOuterExpressions:Ki,restoreEnclosingLabel:zi,createUseStrictPrologue:om,copyPrologue:kS,copyStandardPrologue:nb,copyCustomPrologue:f3,ensureUseStrict:zp,liftToBlock:pE,mergeLexicalEnvironment:k8,updateModifiers:C8};return Q(zte,C=>C(W)),W;function X(C,F){if(C===void 0||C===pt)C=[];else if(_T(C)){if(F===void 0||C.hasTrailingComma===F)return C.transformFlags===void 0&&bSe(C),R.attachNodeArrayDebugInfo(C),C;const rt=C.slice();return rt.pos=C.pos,rt.end=C.end,rt.hasTrailingComma=F,rt.transformFlags=C.transformFlags,R.attachNodeArrayDebugInfo(rt),rt}const q=C.length,me=q>=1&&q<=4?C.slice():C;return me.pos=-1,me.end=-1,me.hasTrailingComma=!!F,me.transformFlags=0,bSe(me),R.attachNodeArrayDebugInfo(me),me}function Z(C){return t.createBaseNode(C)}function ue(C){const F=Z(C);return F.symbol=void 0,F.localSymbol=void 0,F}function ie(C,F){return C!==F&&(C.typeArguments=F.typeArguments),n(C,F)}function se(C,F=0){const q=ue(8);return q.text=typeof C=="number"?C+"":C,q.numericLiteralFlags=F,F&384&&(q.transformFlags|=1024),q}function V(C){const F=Ke(9);return F.text=typeof C=="string"?C:AT(C)+"n",F.transformFlags|=4,F}function ve(C,F){const q=ue(10);return q.text=C,q.singleQuote=F,q}function fe(C,F,q){const me=ve(C,F);return me.hasExtendedUnicodeEscape=q,q&&(me.transformFlags|=1024),me}function Ce(C){const F=ve(Vd(C),void 0);return F.textSourceNode=C,F}function _e(C){const F=Ke(13);return F.text=C,F}function K(C,F){switch(C){case 8:return se(F,0);case 9:return V(F);case 10:return fe(F,void 0);case 11:return Yv(F,!1);case 12:return Yv(F,!0);case 13:return _e(F);case 14:return Jr(C,F,void 0,0)}}function ge(C){const F=t.createBaseIdentifierNode(79);return F.escapedText=C,F.jsDoc=void 0,F.flowNode=void 0,F.symbol=void 0,F}function Se(C,F,q,me){const rt=ge(Vc(C));return H5(rt,{flags:F,id:U5,prefix:q,suffix:me}),U5++,rt}function we(C,F,q){F===void 0&&C&&(F=ux(C)),F===79&&(F=void 0);const me=ge(Vc(C));return q&&(me.flags|=128),me.escapedText==="await"&&(me.transformFlags|=67108864),me.flags&128&&(me.transformFlags|=1024),me}function Pe(C,F,q,me){let rt=1;F&&(rt|=8);const cr=Se("",rt,q,me);return C&&C(cr),cr}function le(C){let F=2;return C&&(F|=8),Se("",F,void 0,void 0)}function ot(C,F=0,q,me){return R.assert(!(F&7),"Argument out of range: flags"),R.assert((F&48)!==32,"GeneratedIdentifierFlags.FileLevel cannot be set without also setting GeneratedIdentifierFlags.Optimistic"),Se(C,3|F,q,me)}function Qe(C,F=0,q,me){R.assert(!(F&7),"Argument out of range: flags");const rt=C?Ny(C)?zx(!1,q,C,me,ai):`generated@${Wo(C)}`:"";(q||me)&&(F|=16);const cr=Se(rt,4|F,q,me);return cr.original=C,cr}function Ge(C){const F=t.createBasePrivateIdentifierNode(80);return F.escapedText=C,F.transformFlags|=16777216,F}function tt(C){return Qs(C,"#")||R.fail("First character of private identifier must be #: "+C),Ge(Vc(C))}function Je(C,F,q,me){const rt=Ge(Vc(C));return H5(rt,{flags:F,id:U5,prefix:q,suffix:me}),U5++,rt}function qe(C,F,q){C&&!Qs(C,"#")&&R.fail("First character of private identifier must be #: "+C);const me=8|(C?3:1);return Je(C??"",me,F,q)}function st(C,F,q){const me=Ny(C)?zx(!0,F,C,q,ai):`#generated@${Wo(C)}`,cr=Je(me,4|(F||q?16:0),F,q);return cr.original=C,cr}function Ke(C){return t.createBaseTokenNode(C)}function We(C){R.assert(C>=0&&C<=162,"Invalid token"),R.assert(C<=14||C>=17,"Invalid token. Use 'createTemplateLiteralLikeNode' to create template literals."),R.assert(C<=8||C>=14,"Invalid token. Use 'createLiteralLikeNode' to create literals."),R.assert(C!==79,"Invalid token. Use 'createIdentifier' to create identifiers");const F=Ke(C);let q=0;switch(C){case 132:q=384;break;case 123:case 121:case 122:case 146:case 126:case 136:case 85:case 131:case 148:case 160:case 144:case 149:case 101:case 145:case 161:case 152:case 134:case 153:case 114:case 157:case 155:q=1;break;case 106:q=134218752,F.flowNode=void 0;break;case 124:q=1024;break;case 127:q=16777216;break;case 108:q=16384,F.flowNode=void 0;break}return q&&(F.transformFlags|=q),F}function gt(){return We(106)}function jt(){return We(108)}function It(){return We(104)}function er(){return We(110)}function ft(){return We(95)}function mt(C){return We(C)}function xr(C){const F=[];return C&1&&F.push(mt(93)),C&2&&F.push(mt(136)),C&1024&&F.push(mt(88)),C&2048&&F.push(mt(85)),C&4&&F.push(mt(123)),C&8&&F.push(mt(121)),C&16&&F.push(mt(122)),C&256&&F.push(mt(126)),C&32&&F.push(mt(124)),C&16384&&F.push(mt(161)),C&64&&F.push(mt(146)),C&128&&F.push(mt(127)),C&512&&F.push(mt(132)),C&32768&&F.push(mt(101)),C&65536&&F.push(mt(145)),F.length?F:void 0}function dr(C,F){const q=Z(163);return q.left=C,q.right=il(F),q.transformFlags|=jn(q.left)|GP(q.right),q.flowNode=void 0,q}function rn(C,F,q){return C.left!==F||C.right!==q?n(dr(F,q),C):C}function un(C){const F=Z(164);return F.expression=s().parenthesizeExpressionOfComputedPropertyName(C),F.transformFlags|=jn(F.expression)|1024|131072,F}function Gr(C,F){return C.expression!==F?n(un(F),C):C}function mr(C,F,q,me){const rt=ue(165);return rt.modifiers=ro(C),rt.name=il(F),rt.constraint=q,rt.default=me,rt.transformFlags=1,rt.expression=void 0,rt.jsDoc=void 0,rt}function Fn(C,F,q,me,rt){return C.modifiers!==F||C.name!==q||C.constraint!==me||C.default!==rt?n(mr(F,q,me,rt),C):C}function ts(C,F,q,me,rt,cr){var ci,Ps;const Ca=ue(166);return Ca.modifiers=ro(C),Ca.dotDotDotToken=F,Ca.name=il(q),Ca.questionToken=me,Ca.type=rt,Ca.initializer=O1(cr),Px(Ca.name)?Ca.transformFlags=1:Ca.transformFlags=fo(Ca.modifiers)|jn(Ca.dotDotDotToken)|e1(Ca.name)|jn(Ca.questionToken)|jn(Ca.initializer)|(((ci=Ca.questionToken)!=null?ci:Ca.type)?1:0)|(((Ps=Ca.dotDotDotToken)!=null?Ps:Ca.initializer)?1024:0)|(Qh(Ca.modifiers)&16476?8192:0),Ca.jsDoc=void 0,Ca}function ws(C,F,q,me,rt,cr,ci){return C.modifiers!==F||C.dotDotDotToken!==q||C.name!==me||C.questionToken!==rt||C.type!==cr||C.initializer!==ci?n(ts(F,q,me,rt,cr,ci),C):C}function Es(C){const F=Z(167);return F.expression=s().parenthesizeLeftSideOfAccess(C,!1),F.transformFlags|=jn(F.expression)|1|8192|33554432,F}function ii(C,F){return C.expression!==F?n(Es(F),C):C}function Rt(C,F,q,me){const rt=ue(168);return rt.modifiers=ro(C),rt.name=il(F),rt.type=me,rt.questionToken=q,rt.transformFlags=1,rt.initializer=void 0,rt.jsDoc=void 0,rt}function Rr(C,F,q,me,rt){return C.modifiers!==F||C.name!==q||C.questionToken!==me||C.type!==rt?rr(Rt(F,q,me,rt),C):C}function rr(C,F){return C!==F&&(C.initializer=F.initializer),n(C,F)}function Pr(C,F,q,me,rt){const cr=ue(169);cr.modifiers=ro(C),cr.name=il(F),cr.questionToken=q&&Tv(q)?q:void 0,cr.exclamationToken=q&&Z5(q)?q:void 0,cr.type=me,cr.initializer=O1(rt);const ci=cr.flags&16777216||Qh(cr.modifiers)&2;return cr.transformFlags=fo(cr.modifiers)|e1(cr.name)|jn(cr.initializer)|(ci||cr.questionToken||cr.exclamationToken||cr.type?1:0)|(ac(cr.name)||Qh(cr.modifiers)&32&&cr.initializer?8192:0)|16777216,cr.jsDoc=void 0,cr}function Cn(C,F,q,me,rt,cr){return C.modifiers!==F||C.name!==q||C.questionToken!==(me!==void 0&&Tv(me)?me:void 0)||C.exclamationToken!==(me!==void 0&&Z5(me)?me:void 0)||C.type!==rt||C.initializer!==cr?n(Pr(F,q,me,rt,cr),C):C}function Nn(C,F,q,me,rt,cr){const ci=ue(170);return ci.modifiers=ro(C),ci.name=il(F),ci.questionToken=q,ci.typeParameters=ro(me),ci.parameters=ro(rt),ci.type=cr,ci.transformFlags=1,ci.jsDoc=void 0,ci.locals=void 0,ci.nextContainer=void 0,ci.typeArguments=void 0,ci}function cs(C,F,q,me,rt,cr,ci){return C.modifiers!==F||C.name!==q||C.questionToken!==me||C.typeParameters!==rt||C.parameters!==cr||C.type!==ci?ie(Nn(F,q,me,rt,cr,ci),C):C}function qi(C,F,q,me,rt,cr,ci,Ps){const Ca=ue(171);if(Ca.modifiers=ro(C),Ca.asteriskToken=F,Ca.name=il(q),Ca.questionToken=me,Ca.exclamationToken=void 0,Ca.typeParameters=ro(rt),Ca.parameters=X(cr),Ca.type=ci,Ca.body=Ps,!Ca.body)Ca.transformFlags=1;else{const Tp=Qh(Ca.modifiers)&512,m0=!!Ca.asteriskToken,h0=Tp&&m0;Ca.transformFlags=fo(Ca.modifiers)|jn(Ca.asteriskToken)|e1(Ca.name)|jn(Ca.questionToken)|fo(Ca.typeParameters)|fo(Ca.parameters)|jn(Ca.type)|jn(Ca.body)&-67108865|(h0?128:Tp?256:m0?2048:0)|(Ca.questionToken||Ca.typeParameters||Ca.type?1:0)|1024}return Ca.typeArguments=void 0,Ca.jsDoc=void 0,Ca.locals=void 0,Ca.nextContainer=void 0,Ca.flowNode=void 0,Ca.endFlowNode=void 0,Ca.returnFlowNode=void 0,Ca}function en(C,F,q,me,rt,cr,ci,Ps,Ca){return C.modifiers!==F||C.asteriskToken!==q||C.name!==me||C.questionToken!==rt||C.typeParameters!==cr||C.parameters!==ci||C.type!==Ps||C.body!==Ca?Tr(qi(F,q,me,rt,cr,ci,Ps,Ca),C):C}function Tr(C,F){return C!==F&&(C.exclamationToken=F.exclamationToken),n(C,F)}function nn(C){const F=ue(172);return F.body=C,F.transformFlags=jn(C)|16777216,F.modifiers=void 0,F.jsDoc=void 0,F.locals=void 0,F.nextContainer=void 0,F.endFlowNode=void 0,F.returnFlowNode=void 0,F}function Xn(C,F){return C.body!==F?_i(nn(F),C):C}function _i(C,F){return C!==F&&(C.modifiers=F.modifiers),n(C,F)}function Fe(C,F,q){const me=ue(173);return me.modifiers=ro(C),me.parameters=X(F),me.body=q,me.transformFlags=fo(me.modifiers)|fo(me.parameters)|jn(me.body)&-67108865|1024,me.typeParameters=void 0,me.type=void 0,me.typeArguments=void 0,me.jsDoc=void 0,me.locals=void 0,me.nextContainer=void 0,me.endFlowNode=void 0,me.returnFlowNode=void 0,me}function Pt(C,F,q,me){return C.modifiers!==F||C.parameters!==q||C.body!==me?Ht(Fe(F,q,me),C):C}function Ht(C,F){return C!==F&&(C.typeParameters=F.typeParameters,C.type=F.type),ie(C,F)}function Ne(C,F,q,me,rt){const cr=ue(174);return cr.modifiers=ro(C),cr.name=il(F),cr.parameters=X(q),cr.type=me,cr.body=rt,cr.body?cr.transformFlags=fo(cr.modifiers)|e1(cr.name)|fo(cr.parameters)|jn(cr.type)|jn(cr.body)&-67108865|(cr.type?1:0):cr.transformFlags=1,cr.typeArguments=void 0,cr.typeParameters=void 0,cr.jsDoc=void 0,cr.locals=void 0,cr.nextContainer=void 0,cr.flowNode=void 0,cr.endFlowNode=void 0,cr.returnFlowNode=void 0,cr}function kt(C,F,q,me,rt,cr){return C.modifiers!==F||C.name!==q||C.parameters!==me||C.type!==rt||C.body!==cr?Te(Ne(F,q,me,rt,cr),C):C}function Te(C,F){return C!==F&&(C.typeParameters=F.typeParameters),ie(C,F)}function pe(C,F,q,me){const rt=ue(175);return rt.modifiers=ro(C),rt.name=il(F),rt.parameters=X(q),rt.body=me,rt.body?rt.transformFlags=fo(rt.modifiers)|e1(rt.name)|fo(rt.parameters)|jn(rt.body)&-67108865|(rt.type?1:0):rt.transformFlags=1,rt.typeArguments=void 0,rt.typeParameters=void 0,rt.type=void 0,rt.jsDoc=void 0,rt.locals=void 0,rt.nextContainer=void 0,rt.flowNode=void 0,rt.endFlowNode=void 0,rt.returnFlowNode=void 0,rt}function xe(C,F,q,me,rt){return C.modifiers!==F||C.name!==q||C.parameters!==me||C.body!==rt?Y(pe(F,q,me,rt),C):C}function Y(C,F){return C!==F&&(C.typeParameters=F.typeParameters,C.type=F.type),ie(C,F)}function Ze(C,F,q){const me=ue(176);return me.typeParameters=ro(C),me.parameters=ro(F),me.type=q,me.transformFlags=1,me.jsDoc=void 0,me.locals=void 0,me.nextContainer=void 0,me.typeArguments=void 0,me}function ct(C,F,q,me){return C.typeParameters!==F||C.parameters!==q||C.type!==me?ie(Ze(F,q,me),C):C}function it(C,F,q){const me=ue(177);return me.typeParameters=ro(C),me.parameters=ro(F),me.type=q,me.transformFlags=1,me.jsDoc=void 0,me.locals=void 0,me.nextContainer=void 0,me.typeArguments=void 0,me}function Kt(C,F,q,me){return C.typeParameters!==F||C.parameters!==q||C.type!==me?ie(it(F,q,me),C):C}function wr(C,F,q){const me=ue(178);return me.modifiers=ro(C),me.parameters=ro(F),me.type=q,me.transformFlags=1,me.jsDoc=void 0,me.locals=void 0,me.nextContainer=void 0,me.typeArguments=void 0,me}function qr(C,F,q,me){return C.parameters!==q||C.type!==me||C.modifiers!==F?ie(wr(F,q,me),C):C}function qn(C,F){const q=Z(201);return q.type=C,q.literal=F,q.transformFlags=1,q}function ye(C,F,q){return C.type!==F||C.literal!==q?n(qn(F,q),C):C}function wt(C){return We(C)}function nr(C,F,q){const me=Z(179);return me.assertsModifier=C,me.parameterName=il(F),me.type=q,me.transformFlags=1,me}function dt(C,F,q,me){return C.assertsModifier!==F||C.parameterName!==q||C.type!==me?n(nr(F,q,me),C):C}function ne(C,F){const q=Z(180);return q.typeName=il(C),q.typeArguments=F&&s().parenthesizeTypeArguments(X(F)),q.transformFlags=1,q}function $e(C,F,q){return C.typeName!==F||C.typeArguments!==q?n(ne(F,q),C):C}function ce(C,F,q){const me=ue(181);return me.typeParameters=ro(C),me.parameters=ro(F),me.type=q,me.transformFlags=1,me.modifiers=void 0,me.jsDoc=void 0,me.locals=void 0,me.nextContainer=void 0,me.typeArguments=void 0,me}function Be(C,F,q,me){return C.typeParameters!==F||C.parameters!==q||C.type!==me?te(ce(F,q,me),C):C}function te(C,F){return C!==F&&(C.modifiers=F.modifiers),ie(C,F)}function $t(...C){return C.length===4?At(...C):C.length===3?St(...C):R.fail("Incorrect number of arguments specified.")}function At(C,F,q,me){const rt=ue(182);return rt.modifiers=ro(C),rt.typeParameters=ro(F),rt.parameters=ro(q),rt.type=me,rt.transformFlags=1,rt.jsDoc=void 0,rt.locals=void 0,rt.nextContainer=void 0,rt.typeArguments=void 0,rt}function St(C,F,q){return At(void 0,C,F,q)}function Dr(...C){return C.length===5?yn(...C):C.length===4?Di(...C):R.fail("Incorrect number of arguments specified.")}function yn(C,F,q,me,rt){return C.modifiers!==F||C.typeParameters!==q||C.parameters!==me||C.type!==rt?ie($t(F,q,me,rt),C):C}function Di(C,F,q,me){return yn(C,C.modifiers,F,q,me)}function Yi(C,F){const q=Z(183);return q.exprName=C,q.typeArguments=F&&s().parenthesizeTypeArguments(F),q.transformFlags=1,q}function Zi(C,F,q){return C.exprName!==F||C.typeArguments!==q?n(Yi(F,q),C):C}function hs(C){const F=ue(184);return F.members=X(C),F.transformFlags=1,F}function za(C,F){return C.members!==F?n(hs(F),C):C}function Xa(C){const F=Z(185);return F.elementType=s().parenthesizeNonArrayTypeOfPostfixType(C),F.transformFlags=1,F}function Ia(C,F){return C.elementType!==F?n(Xa(F),C):C}function Fs(C){const F=Z(186);return F.elements=X(s().parenthesizeElementTypesOfTupleType(C)),F.transformFlags=1,F}function gs(C,F){return C.elements!==F?n(Fs(F),C):C}function vi(C,F,q,me){const rt=ue(199);return rt.dotDotDotToken=C,rt.name=F,rt.questionToken=q,rt.type=me,rt.transformFlags=1,rt.jsDoc=void 0,rt}function Bo(C,F,q,me,rt){return C.dotDotDotToken!==F||C.name!==q||C.questionToken!==me||C.type!==rt?n(vi(F,q,me,rt),C):C}function Ji(C){const F=Z(187);return F.type=s().parenthesizeTypeOfOptionalType(C),F.transformFlags=1,F}function Rs(C,F){return C.type!==F?n(Ji(F),C):C}function Qr(C){const F=Z(188);return F.type=C,F.transformFlags=1,F}function js(C,F){return C.type!==F?n(Qr(F),C):C}function Rl(C,F,q){const me=Z(C);return me.types=W.createNodeArray(q(F)),me.transformFlags=1,me}function jc(C,F,q){return C.types!==F?n(Rl(C.kind,F,q),C):C}function Sl(C){return Rl(189,C,s().parenthesizeConstituentTypesOfUnionType)}function Nl(C,F){return jc(C,F,s().parenthesizeConstituentTypesOfUnionType)}function xl(C){return Rl(190,C,s().parenthesizeConstituentTypesOfIntersectionType)}function Ka(C,F){return jc(C,F,s().parenthesizeConstituentTypesOfIntersectionType)}function ea(C,F,q,me){const rt=Z(191);return rt.checkType=s().parenthesizeCheckTypeOfConditionalType(C),rt.extendsType=s().parenthesizeExtendsTypeOfConditionalType(F),rt.trueType=q,rt.falseType=me,rt.transformFlags=1,rt.locals=void 0,rt.nextContainer=void 0,rt}function Ao(C,F,q,me,rt){return C.checkType!==F||C.extendsType!==q||C.trueType!==me||C.falseType!==rt?n(ea(F,q,me,rt),C):C}function kl(C){const F=Z(192);return F.typeParameter=C,F.transformFlags=1,F}function zu(C,F){return C.typeParameter!==F?n(kl(F),C):C}function $_(C,F){const q=Z(200);return q.head=C,q.templateSpans=X(F),q.transformFlags=1,q}function Vl(C,F,q){return C.head!==F||C.templateSpans!==q?n($_(F,q),C):C}function Lu(C,F,q,me,rt=!1){const cr=Z(202);return cr.argument=C,cr.assertions=F,cr.qualifier=q,cr.typeArguments=me&&s().parenthesizeTypeArguments(me),cr.isTypeOf=rt,cr.transformFlags=1,cr}function fc(C,F,q,me,rt,cr=C.isTypeOf){return C.argument!==F||C.assertions!==q||C.qualifier!==me||C.typeArguments!==rt||C.isTypeOf!==cr?n(Lu(F,q,me,rt,cr),C):C}function Kc(C){const F=Z(193);return F.type=C,F.transformFlags=1,F}function Fc(C,F){return C.type!==F?n(Kc(F),C):C}function Pc(){const C=Z(194);return C.transformFlags=1,C}function br(C,F){const q=Z(195);return q.operator=C,q.type=C===146?s().parenthesizeOperandOfReadonlyTypeOperator(F):s().parenthesizeOperandOfTypeOperator(F),q.transformFlags=1,q}function Cl(C,F){return C.type!==F?n(br(C.operator,F),C):C}function df(C,F){const q=Z(196);return q.objectType=s().parenthesizeNonArrayTypeOfPostfixType(C),q.indexType=F,q.transformFlags=1,q}function Rf(C,F,q){return C.objectType!==F||C.indexType!==q?n(df(F,q),C):C}function be(C,F,q,me,rt,cr){const ci=ue(197);return ci.readonlyToken=C,ci.typeParameter=F,ci.nameType=q,ci.questionToken=me,ci.type=rt,ci.members=cr&&X(cr),ci.transformFlags=1,ci.locals=void 0,ci.nextContainer=void 0,ci}function Ut(C,F,q,me,rt,cr,ci){return C.readonlyToken!==F||C.typeParameter!==q||C.nameType!==me||C.questionToken!==rt||C.type!==cr||C.members!==ci?n(be(F,q,me,rt,cr,ci),C):C}function tr(C){const F=Z(198);return F.literal=C,F.transformFlags=1,F}function oe(C,F){return C.literal!==F?n(tr(F),C):C}function ht(C){const F=Z(203);return F.elements=X(C),F.transformFlags|=fo(F.elements)|1024|524288,F.transformFlags&32768&&(F.transformFlags|=65664),F}function Ft(C,F){return C.elements!==F?n(ht(F),C):C}function Or(C){const F=Z(204);return F.elements=X(C),F.transformFlags|=fo(F.elements)|1024|524288,F}function ti(C,F){return C.elements!==F?n(Or(F),C):C}function si(C,F,q,me){const rt=ue(205);return rt.dotDotDotToken=C,rt.propertyName=il(F),rt.name=il(q),rt.initializer=O1(me),rt.transformFlags|=jn(rt.dotDotDotToken)|e1(rt.propertyName)|e1(rt.name)|jn(rt.initializer)|(rt.dotDotDotToken?32768:0)|1024,rt.flowNode=void 0,rt}function Ws(C,F,q,me,rt){return C.propertyName!==q||C.dotDotDotToken!==F||C.name!==me||C.initializer!==rt?n(si(F,q,me,rt),C):C}function jo(C,F){const q=Z(206),me=C&&Rc(C),rt=X(C,me&&yu(me)?!0:void 0);return q.elements=s().parenthesizeExpressionsOfCommaDelimitedList(rt),q.multiLine=F,q.transformFlags|=fo(q.elements),q}function Va(C,F){return C.elements!==F?n(jo(F,C.multiLine),C):C}function vo(C,F){const q=ue(207);return q.properties=X(C),q.multiLine=F,q.transformFlags|=fo(q.properties),q.jsDoc=void 0,q}function ka(C,F){return C.properties!==F?n(vo(F,C.multiLine),C):C}function Hc(C,F,q){const me=ue(208);return me.expression=C,me.questionDotToken=F,me.name=q,me.transformFlags=jn(me.expression)|jn(me.questionDotToken)|(Ye(me.name)?GP(me.name):jn(me.name)|536870912),me.jsDoc=void 0,me.flowNode=void 0,me}function Ql(C,F){const q=Hc(s().parenthesizeLeftSideOfAccess(C,!1),void 0,il(F));return ZP(C)&&(q.transformFlags|=384),q}function a_(C,F,q){return NB(C)?zo(C,F,C.questionDotToken,Oa(q,Ye)):C.expression!==F||C.name!==q?n(Ql(F,q),C):C}function Zo(C,F,q){const me=Hc(s().parenthesizeLeftSideOfAccess(C,!0),F,il(q));return me.flags|=32,me.transformFlags|=32,me}function zo(C,F,q,me){return R.assert(!!(C.flags&32),"Cannot update a PropertyAccessExpression using updatePropertyAccessChain. Use updatePropertyAccess instead."),C.expression!==F||C.questionDotToken!==q||C.name!==me?n(Zo(F,q,me),C):C}function Gc(C,F,q){const me=ue(209);return me.expression=C,me.questionDotToken=F,me.argumentExpression=q,me.transformFlags|=jn(me.expression)|jn(me.questionDotToken)|jn(me.argumentExpression),me.jsDoc=void 0,me.flowNode=void 0,me}function q_(C,F){const q=Gc(s().parenthesizeLeftSideOfAccess(C,!1),void 0,ib(F));return ZP(C)&&(q.transformFlags|=384),q}function wl(C,F,q){return rK(C)?De(C,F,C.questionDotToken,q):C.expression!==F||C.argumentExpression!==q?n(q_(F,q),C):C}function Fp(C,F,q){const me=Gc(s().parenthesizeLeftSideOfAccess(C,!0),F,ib(q));return me.flags|=32,me.transformFlags|=32,me}function De(C,F,q,me){return R.assert(!!(C.flags&32),"Cannot update a ElementAccessExpression using updateElementAccessChain. Use updateElementAccess instead."),C.expression!==F||C.questionDotToken!==q||C.argumentExpression!==me?n(Fp(F,q,me),C):C}function Vt(C,F,q,me){const rt=ue(210);return rt.expression=C,rt.questionDotToken=F,rt.typeArguments=q,rt.arguments=me,rt.transformFlags|=jn(rt.expression)|jn(rt.questionDotToken)|fo(rt.typeArguments)|fo(rt.arguments),rt.typeArguments&&(rt.transformFlags|=1),n_(rt.expression)&&(rt.transformFlags|=16384),rt}function tn(C,F,q){const me=Vt(s().parenthesizeLeftSideOfAccess(C,!1),void 0,ro(F),s().parenthesizeExpressionsOfCommaDelimitedList(X(q)));return KP(me.expression)&&(me.transformFlags|=8388608),me}function ks(C,F,q,me){return _x(C)?de(C,F,C.questionDotToken,q,me):C.expression!==F||C.typeArguments!==q||C.arguments!==me?n(tn(F,q,me),C):C}function eo(C,F,q,me){const rt=Vt(s().parenthesizeLeftSideOfAccess(C,!0),F,ro(q),s().parenthesizeExpressionsOfCommaDelimitedList(X(me)));return rt.flags|=32,rt.transformFlags|=32,rt}function de(C,F,q,me,rt){return R.assert(!!(C.flags&32),"Cannot update a CallExpression using updateCallChain. Use updateCall instead."),C.expression!==F||C.questionDotToken!==q||C.typeArguments!==me||C.arguments!==rt?n(eo(F,q,me,rt),C):C}function bt(C,F,q){const me=ue(211);return me.expression=s().parenthesizeExpressionOfNew(C),me.typeArguments=ro(F),me.arguments=q?s().parenthesizeExpressionsOfCommaDelimitedList(q):void 0,me.transformFlags|=jn(me.expression)|fo(me.typeArguments)|fo(me.arguments)|32,me.typeArguments&&(me.transformFlags|=1),me}function Yt(C,F,q,me){return C.expression!==F||C.typeArguments!==q||C.arguments!==me?n(bt(F,q,me),C):C}function Xt(C,F,q){const me=Z(212);return me.tag=s().parenthesizeLeftSideOfAccess(C,!1),me.typeArguments=ro(F),me.template=q,me.transformFlags|=jn(me.tag)|fo(me.typeArguments)|jn(me.template)|1024,me.typeArguments&&(me.transformFlags|=1),vee(me.template)&&(me.transformFlags|=128),me}function Er(C,F,q,me){return C.tag!==F||C.typeArguments!==q||C.template!==me?n(Xt(F,q,me),C):C}function ln(C,F){const q=Z(213);return q.expression=s().parenthesizeOperandOfPrefixUnary(F),q.type=C,q.transformFlags|=jn(q.expression)|jn(q.type)|1,q}function ri(C,F,q){return C.type!==F||C.expression!==q?n(ln(F,q),C):C}function wi(C){const F=Z(214);return F.expression=C,F.transformFlags=jn(F.expression),F.jsDoc=void 0,F}function ls(C,F){return C.expression!==F?n(wi(F),C):C}function da(C,F,q,me,rt,cr,ci){const Ps=ue(215);Ps.modifiers=ro(C),Ps.asteriskToken=F,Ps.name=il(q),Ps.typeParameters=ro(me),Ps.parameters=X(rt),Ps.type=cr,Ps.body=ci;const Ca=Qh(Ps.modifiers)&512,Tp=!!Ps.asteriskToken,m0=Ca&&Tp;return Ps.transformFlags=fo(Ps.modifiers)|jn(Ps.asteriskToken)|e1(Ps.name)|fo(Ps.typeParameters)|fo(Ps.parameters)|jn(Ps.type)|jn(Ps.body)&-67108865|(m0?128:Ca?256:Tp?2048:0)|(Ps.typeParameters||Ps.type?1:0)|4194304,Ps.typeArguments=void 0,Ps.jsDoc=void 0,Ps.locals=void 0,Ps.nextContainer=void 0,Ps.flowNode=void 0,Ps.endFlowNode=void 0,Ps.returnFlowNode=void 0,Ps}function bo(C,F,q,me,rt,cr,ci,Ps){return C.name!==me||C.modifiers!==F||C.asteriskToken!==q||C.typeParameters!==rt||C.parameters!==cr||C.type!==ci||C.body!==Ps?ie(da(F,q,me,rt,cr,ci,Ps),C):C}function tc(C,F,q,me,rt,cr){const ci=ue(216);ci.modifiers=ro(C),ci.typeParameters=ro(F),ci.parameters=X(q),ci.type=me,ci.equalsGreaterThanToken=rt??We(38),ci.body=s().parenthesizeConciseBodyOfArrowFunction(cr);const Ps=Qh(ci.modifiers)&512;return ci.transformFlags=fo(ci.modifiers)|fo(ci.typeParameters)|fo(ci.parameters)|jn(ci.type)|jn(ci.equalsGreaterThanToken)|jn(ci.body)&-67108865|(ci.typeParameters||ci.type?1:0)|(Ps?16640:0)|1024,ci.typeArguments=void 0,ci.jsDoc=void 0,ci.locals=void 0,ci.nextContainer=void 0,ci.flowNode=void 0,ci.endFlowNode=void 0,ci.returnFlowNode=void 0,ci}function Dc(C,F,q,me,rt,cr,ci){return C.modifiers!==F||C.typeParameters!==q||C.parameters!==me||C.type!==rt||C.equalsGreaterThanToken!==cr||C.body!==ci?ie(tc(F,q,me,rt,cr,ci),C):C}function o_(C){const F=Z(217);return F.expression=s().parenthesizeOperandOfPrefixUnary(C),F.transformFlags|=jn(F.expression),F}function mp(C,F){return C.expression!==F?n(o_(F),C):C}function Bl(C){const F=Z(218);return F.expression=s().parenthesizeOperandOfPrefixUnary(C),F.transformFlags|=jn(F.expression),F}function W_(C,F){return C.expression!==F?n(Bl(F),C):C}function mf(C){const F=Z(219);return F.expression=s().parenthesizeOperandOfPrefixUnary(C),F.transformFlags|=jn(F.expression),F}function hp(C,F){return C.expression!==F?n(mf(F),C):C}function Cd(C){const F=Z(220);return F.expression=s().parenthesizeOperandOfPrefixUnary(C),F.transformFlags|=jn(F.expression)|256|128|2097152,F}function Po(C,F){return C.expression!==F?n(Cd(F),C):C}function wd(C,F){const q=Z(221);return q.operator=C,q.operand=s().parenthesizeOperandOfPrefixUnary(F),q.transformFlags|=jn(q.operand),(C===45||C===46)&&Ye(q.operand)&&!al(q.operand)&&!kv(q.operand)&&(q.transformFlags|=268435456),q}function gp(C,F){return C.operand!==F?n(wd(C.operator,F),C):C}function em(C,F){const q=Z(222);return q.operator=F,q.operand=s().parenthesizeOperandOfPostfixUnary(C),q.transformFlags|=jn(q.operand),Ye(q.operand)&&!al(q.operand)&&!kv(q.operand)&&(q.transformFlags|=268435456),q}function Dm(C,F){return C.operand!==F?n(em(F,C.operator),C):C}function G(C,F,q){const me=ue(223),rt=w8(F),cr=rt.kind;return me.left=s().parenthesizeLeftSideOfBinary(cr,C),me.operatorToken=rt,me.right=s().parenthesizeRightSideOfBinary(cr,me.left,q),me.transformFlags|=jn(me.left)|jn(me.operatorToken)|jn(me.right),cr===60?me.transformFlags|=32:cr===63?cc(me.left)?me.transformFlags|=5248|lt(me.left):Nf(me.left)&&(me.transformFlags|=5120|lt(me.left)):cr===42||cr===67?me.transformFlags|=512:CP(cr)&&(me.transformFlags|=16),cr===101&&as(me.left)&&(me.transformFlags|=536870912),me.jsDoc=void 0,me}function lt(C){return hO(C)?65536:0}function ir(C,F,q,me){return C.left!==F||C.operatorToken!==q||C.right!==me?n(G(F,q,me),C):C}function gn(C,F,q,me,rt){const cr=Z(224);return cr.condition=s().parenthesizeConditionOfConditionalExpression(C),cr.questionToken=F??We(57),cr.whenTrue=s().parenthesizeBranchOfConditionalExpression(q),cr.colonToken=me??We(58),cr.whenFalse=s().parenthesizeBranchOfConditionalExpression(rt),cr.transformFlags|=jn(cr.condition)|jn(cr.questionToken)|jn(cr.whenTrue)|jn(cr.colonToken)|jn(cr.whenFalse),cr}function na(C,F,q,me,rt,cr){return C.condition!==F||C.questionToken!==q||C.whenTrue!==me||C.colonToken!==rt||C.whenFalse!==cr?n(gn(F,q,me,rt,cr),C):C}function ta(C,F){const q=Z(225);return q.head=C,q.templateSpans=X(F),q.transformFlags|=jn(q.head)|fo(q.templateSpans)|1024,q}function Le(C,F,q){return C.head!==F||C.templateSpans!==q?n(ta(F,q),C):C}function Xe(C,F,q,me=0){R.assert(!(me&-2049),"Unsupported template flags.");let rt;if(q!==void 0&&q!==F&&(rt=bQe(C,q),typeof rt=="object"))return R.fail("Invalid raw text");if(F===void 0){if(rt===void 0)return R.fail("Arguments 'text' and 'rawText' may not both be undefined.");F=rt}else rt!==void 0&&R.assert(F===rt,"Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'.");return F}function Jt(C){let F=1024;return C&&(F|=128),F}function Gt(C,F,q,me){const rt=Ke(C);return rt.text=F,rt.rawText=q,rt.templateFlags=me&2048,rt.transformFlags=Jt(rt.templateFlags),rt}function Lr(C,F,q,me){const rt=ue(C);return rt.text=F,rt.rawText=q,rt.templateFlags=me&2048,rt.transformFlags=Jt(rt.templateFlags),rt}function Jr(C,F,q,me){return C===14?Lr(C,F,q,me):Gt(C,F,q,me)}function Vr(C,F,q){return C=Xe(15,C,F,q),Jr(15,C,F,q)}function fn(C,F,q){return C=Xe(15,C,F,q),Jr(16,C,F,q)}function hi(C,F,q){return C=Xe(15,C,F,q),Jr(17,C,F,q)}function Ts(C,F,q){return C=Xe(15,C,F,q),Lr(14,C,F,q)}function xn(C,F){R.assert(!C||!!F,"A `YieldExpression` with an asteriskToken must have an expression.");const q=Z(226);return q.expression=F&&s().parenthesizeExpressionForDisallowedComma(F),q.asteriskToken=C,q.transformFlags|=jn(q.expression)|jn(q.asteriskToken)|1024|128|1048576,q}function Nr(C,F,q){return C.expression!==q||C.asteriskToken!==F?n(xn(F,q),C):C}function On(C){const F=Z(227);return F.expression=s().parenthesizeExpressionForDisallowedComma(C),F.transformFlags|=jn(F.expression)|1024|32768,F}function Ys(C,F){return C.expression!==F?n(On(F),C):C}function Nc(C,F,q,me,rt){const cr=ue(228);return cr.modifiers=ro(C),cr.name=il(F),cr.typeParameters=ro(q),cr.heritageClauses=ro(me),cr.members=X(rt),cr.transformFlags|=fo(cr.modifiers)|e1(cr.name)|fo(cr.typeParameters)|fo(cr.heritageClauses)|fo(cr.members)|(cr.typeParameters?1:0)|1024,cr.jsDoc=void 0,cr}function $l(C,F,q,me,rt,cr){return C.modifiers!==F||C.name!==q||C.typeParameters!==me||C.heritageClauses!==rt||C.members!==cr?n(Nc(F,q,me,rt,cr),C):C}function cg(){return Z(229)}function Xy(C,F){const q=Z(230);return q.expression=s().parenthesizeLeftSideOfAccess(C,!1),q.typeArguments=F&&s().parenthesizeTypeArguments(F),q.transformFlags|=jn(q.expression)|fo(q.typeArguments)|1024,q}function tm(C,F,q){return C.expression!==F||C.typeArguments!==q?n(Xy(F,q),C):C}function i2(C,F){const q=Z(231);return q.expression=C,q.type=F,q.transformFlags|=jn(q.expression)|jn(q.type)|1,q}function Fv(C,F,q){return C.expression!==F||C.type!==q?n(i2(F,q),C):C}function Ww(C){const F=Z(232);return F.expression=s().parenthesizeLeftSideOfAccess(C,!1),F.transformFlags|=jn(F.expression)|1,F}function pk(C,F){return OB(C)?Rv(C,F):C.expression!==F?n(Ww(F),C):C}function Hw(C,F){const q=Z(235);return q.expression=C,q.type=F,q.transformFlags|=jn(q.expression)|jn(q.type)|1,q}function Qy(C,F,q){return C.expression!==F||C.type!==q?n(Hw(F,q),C):C}function rm(C){const F=Z(232);return F.flags|=32,F.expression=s().parenthesizeLeftSideOfAccess(C,!0),F.transformFlags|=jn(F.expression)|1,F}function Rv(C,F){return R.assert(!!(C.flags&32),"Cannot update a NonNullExpression using updateNonNullChain. Use updateNonNullExpression instead."),C.expression!==F?n(rm(F),C):C}function Yg(C,F){const q=Z(233);switch(q.keywordToken=C,q.name=F,q.transformFlags|=jn(q.name),C){case 103:q.transformFlags|=1024;break;case 100:q.transformFlags|=4;break;default:return R.assertNever(C)}return q.flowNode=void 0,q}function Nm(C,F){return C.name!==F?n(Yg(C.keywordToken,F),C):C}function Bv(C,F){const q=Z(236);return q.expression=C,q.literal=F,q.transformFlags|=jn(q.expression)|jn(q.literal)|1024,q}function XT(C,F,q){return C.expression!==F||C.literal!==q?n(Bv(F,q),C):C}function s2(){const C=Z(237);return C.transformFlags|=1024,C}function Yy(C,F){const q=Z(238);return q.statements=X(C),q.multiLine=F,q.transformFlags|=fo(q.statements),q.jsDoc=void 0,q.locals=void 0,q.nextContainer=void 0,q}function dk(C,F){return C.statements!==F?n(Yy(F,C.multiLine),C):C}function QT(C,F){const q=Z(240);return q.modifiers=ro(C),q.declarationList=pa(F)?fh(F):F,q.transformFlags|=fo(q.modifiers)|jn(q.declarationList),Qh(q.modifiers)&2&&(q.transformFlags=1),q.jsDoc=void 0,q.flowNode=void 0,q}function YT(C,F,q){return C.modifiers!==F||C.declarationList!==q?n(QT(F,q),C):C}function ZT(){const C=Z(239);return C.jsDoc=void 0,C}function jv(C){const F=Z(241);return F.expression=s().parenthesizeExpressionOfExpressionStatement(C),F.transformFlags|=jn(F.expression),F.jsDoc=void 0,F.flowNode=void 0,F}function Gw(C,F){return C.expression!==F?n(jv(F),C):C}function KT(C,F,q){const me=Z(242);return me.expression=C,me.thenStatement=D_(F),me.elseStatement=D_(q),me.transformFlags|=jn(me.expression)|jn(me.thenStatement)|jn(me.elseStatement),me.jsDoc=void 0,me.flowNode=void 0,me}function eS(C,F,q,me){return C.expression!==F||C.thenStatement!==q||C.elseStatement!==me?n(KT(F,q,me),C):C}function Jv(C,F){const q=Z(243);return q.statement=D_(C),q.expression=F,q.transformFlags|=jn(q.statement)|jn(q.expression),q.jsDoc=void 0,q.flowNode=void 0,q}function a2(C,F,q){return C.statement!==F||C.expression!==q?n(Jv(F,q),C):C}function Uv(C,F){const q=Z(244);return q.expression=C,q.statement=D_(F),q.transformFlags|=jn(q.expression)|jn(q.statement),q.jsDoc=void 0,q.flowNode=void 0,q}function mk(C,F,q){return C.expression!==F||C.statement!==q?n(Uv(F,q),C):C}function Zy(C,F,q,me){const rt=Z(245);return rt.initializer=C,rt.condition=F,rt.incrementor=q,rt.statement=D_(me),rt.transformFlags|=jn(rt.initializer)|jn(rt.condition)|jn(rt.incrementor)|jn(rt.statement),rt.jsDoc=void 0,rt.locals=void 0,rt.nextContainer=void 0,rt.flowNode=void 0,rt}function Do(C,F,q,me,rt){return C.initializer!==F||C.condition!==q||C.incrementor!==me||C.statement!==rt?n(Zy(F,q,me,rt),C):C}function tS(C,F,q){const me=Z(246);return me.initializer=C,me.expression=F,me.statement=D_(q),me.transformFlags|=jn(me.initializer)|jn(me.expression)|jn(me.statement),me.jsDoc=void 0,me.locals=void 0,me.nextContainer=void 0,me.flowNode=void 0,me}function s3(C,F,q,me){return C.initializer!==F||C.expression!==q||C.statement!==me?n(tS(F,q,me),C):C}function m1(C,F,q,me){const rt=Z(247);return rt.awaitModifier=C,rt.initializer=F,rt.expression=s().parenthesizeExpressionForDisallowedComma(q),rt.statement=D_(me),rt.transformFlags|=jn(rt.awaitModifier)|jn(rt.initializer)|jn(rt.expression)|jn(rt.statement)|1024,C&&(rt.transformFlags|=128),rt.jsDoc=void 0,rt.locals=void 0,rt.nextContainer=void 0,rt.flowNode=void 0,rt}function Ky(C,F,q,me,rt){return C.awaitModifier!==F||C.initializer!==q||C.expression!==me||C.statement!==rt?n(m1(F,q,me,rt),C):C}function lg(C){const F=Z(248);return F.label=il(C),F.transformFlags|=jn(F.label)|4194304,F.jsDoc=void 0,F.flowNode=void 0,F}function ad(C,F){return C.label!==F?n(lg(F),C):C}function k_(C){const F=Z(249);return F.label=il(C),F.transformFlags|=jn(F.label)|4194304,F.jsDoc=void 0,F.flowNode=void 0,F}function C_(C,F){return C.label!==F?n(k_(F),C):C}function w_(C){const F=Z(250);return F.expression=C,F.transformFlags|=jn(F.expression)|128|4194304,F.jsDoc=void 0,F.flowNode=void 0,F}function o2(C,F){return C.expression!==F?n(w_(F),C):C}function c2(C,F){const q=Z(251);return q.expression=C,q.statement=D_(F),q.transformFlags|=jn(q.expression)|jn(q.statement),q.jsDoc=void 0,q.flowNode=void 0,q}function Xw(C,F,q){return C.expression!==F||C.statement!==q?n(c2(F,q),C):C}function l2(C,F){const q=Z(252);return q.expression=s().parenthesizeExpressionForDisallowedComma(C),q.caseBlock=F,q.transformFlags|=jn(q.expression)|jn(q.caseBlock),q.jsDoc=void 0,q.flowNode=void 0,q.possiblyExhaustive=!1,q}function e0(C,F,q){return C.expression!==F||C.caseBlock!==q?n(l2(F,q),C):C}function u2(C,F){const q=Z(253);return q.label=il(C),q.statement=D_(F),q.transformFlags|=jn(q.label)|jn(q.statement),q.jsDoc=void 0,q.flowNode=void 0,q}function hk(C,F,q){return C.label!==F||C.statement!==q?n(u2(F,q),C):C}function f2(C){const F=Z(254);return F.expression=C,F.transformFlags|=jn(F.expression),F.jsDoc=void 0,F.flowNode=void 0,F}function a3(C,F){return C.expression!==F?n(f2(F),C):C}function Qw(C,F,q){const me=Z(255);return me.tryBlock=C,me.catchClause=F,me.finallyBlock=q,me.transformFlags|=jn(me.tryBlock)|jn(me.catchClause)|jn(me.finallyBlock),me.jsDoc=void 0,me.flowNode=void 0,me}function zv(C,F,q,me){return C.tryBlock!==F||C.catchClause!==q||C.finallyBlock!==me?n(Qw(F,q,me),C):C}function rS(){const C=Z(256);return C.jsDoc=void 0,C.flowNode=void 0,C}function nt(C,F,q,me){var rt;const cr=ue(257);return cr.name=il(C),cr.exclamationToken=F,cr.type=q,cr.initializer=O1(me),cr.transformFlags|=e1(cr.name)|jn(cr.initializer)|(((rt=cr.exclamationToken)!=null?rt:cr.type)?1:0),cr.jsDoc=void 0,cr}function h1(C,F,q,me,rt){return C.name!==F||C.type!==me||C.exclamationToken!==q||C.initializer!==rt?n(nt(F,q,me,rt),C):C}function fh(C,F=0){const q=Z(258);return q.flags|=F&3,q.declarations=X(C),q.transformFlags|=fo(q.declarations)|4194304,F&3&&(q.transformFlags|=263168),q}function Vv(C,F){return C.declarations!==F?n(fh(F,C.flags),C):C}function _2(C,F,q,me,rt,cr,ci){const Ps=ue(259);if(Ps.modifiers=ro(C),Ps.asteriskToken=F,Ps.name=il(q),Ps.typeParameters=ro(me),Ps.parameters=X(rt),Ps.type=cr,Ps.body=ci,!Ps.body||Qh(Ps.modifiers)&2)Ps.transformFlags=1;else{const Ca=Qh(Ps.modifiers)&512,Tp=!!Ps.asteriskToken,m0=Ca&&Tp;Ps.transformFlags=fo(Ps.modifiers)|jn(Ps.asteriskToken)|e1(Ps.name)|fo(Ps.typeParameters)|fo(Ps.parameters)|jn(Ps.type)|jn(Ps.body)&-67108865|(m0?128:Ca?256:Tp?2048:0)|(Ps.typeParameters||Ps.type?1:0)|4194304}return Ps.typeArguments=void 0,Ps.jsDoc=void 0,Ps.locals=void 0,Ps.nextContainer=void 0,Ps.endFlowNode=void 0,Ps.returnFlowNode=void 0,Ps}function $v(C,F,q,me,rt,cr,ci,Ps){return C.modifiers!==F||C.asteriskToken!==q||C.name!==me||C.typeParameters!==rt||C.parameters!==cr||C.type!==ci||C.body!==Ps?t0(_2(F,q,me,rt,cr,ci,Ps),C):C}function t0(C,F){return C!==F&&C.modifiers===F.modifiers&&(C.modifiers=F.modifiers),ie(C,F)}function gk(C,F,q,me,rt){const cr=ue(260);return cr.modifiers=ro(C),cr.name=il(F),cr.typeParameters=ro(q),cr.heritageClauses=ro(me),cr.members=X(rt),Qh(cr.modifiers)&2?cr.transformFlags=1:(cr.transformFlags|=fo(cr.modifiers)|e1(cr.name)|fo(cr.typeParameters)|fo(cr.heritageClauses)|fo(cr.members)|(cr.typeParameters?1:0)|1024,cr.transformFlags&8192&&(cr.transformFlags|=1)),cr.jsDoc=void 0,cr}function Oo(C,F,q,me,rt,cr){return C.modifiers!==F||C.name!==q||C.typeParameters!==me||C.heritageClauses!==rt||C.members!==cr?n(gk(F,q,me,rt,cr),C):C}function nm(C,F,q,me,rt){const cr=ue(261);return cr.modifiers=ro(C),cr.name=il(F),cr.typeParameters=ro(q),cr.heritageClauses=ro(me),cr.members=X(rt),cr.transformFlags=1,cr.jsDoc=void 0,cr}function nS(C,F,q,me,rt,cr){return C.modifiers!==F||C.name!==q||C.typeParameters!==me||C.heritageClauses!==rt||C.members!==cr?n(nm(F,q,me,rt,cr),C):C}function nu(C,F,q,me){const rt=ue(262);return rt.modifiers=ro(C),rt.name=il(F),rt.typeParameters=ro(q),rt.type=me,rt.transformFlags=1,rt.jsDoc=void 0,rt.locals=void 0,rt.nextContainer=void 0,rt}function Zg(C,F,q,me,rt){return C.modifiers!==F||C.name!==q||C.typeParameters!==me||C.type!==rt?n(nu(F,q,me,rt),C):C}function p2(C,F,q){const me=ue(263);return me.modifiers=ro(C),me.name=il(F),me.members=X(q),me.transformFlags|=fo(me.modifiers)|jn(me.name)|fo(me.members)|1,me.transformFlags&=-67108865,me.jsDoc=void 0,me}function im(C,F,q,me){return C.modifiers!==F||C.name!==q||C.members!==me?n(p2(F,q,me),C):C}function d2(C,F,q,me=0){const rt=ue(264);return rt.modifiers=ro(C),rt.flags|=me&1044,rt.name=F,rt.body=q,Qh(rt.modifiers)&2?rt.transformFlags=1:rt.transformFlags|=fo(rt.modifiers)|jn(rt.name)|jn(rt.body)|1,rt.transformFlags&=-67108865,rt.jsDoc=void 0,rt.locals=void 0,rt.nextContainer=void 0,rt}function Yu(C,F,q,me){return C.modifiers!==F||C.name!==q||C.body!==me?n(d2(F,q,me,C.flags),C):C}function r0(C){const F=Z(265);return F.statements=X(C),F.transformFlags|=fo(F.statements),F.jsDoc=void 0,F}function Tu(C,F){return C.statements!==F?n(r0(F),C):C}function yk(C){const F=Z(266);return F.clauses=X(C),F.transformFlags|=fo(F.clauses),F.locals=void 0,F.nextContainer=void 0,F}function o3(C,F){return C.clauses!==F?n(yk(F),C):C}function ys(C){const F=ue(267);return F.name=il(C),F.transformFlags|=GP(F.name)|1,F.modifiers=void 0,F.jsDoc=void 0,F}function gi(C,F){return C.name!==F?ug(ys(F),C):C}function ug(C,F){return C!==F&&(C.modifiers=F.modifiers),n(C,F)}function H_(C,F,q,me){const rt=ue(268);return rt.modifiers=ro(C),rt.name=il(q),rt.isTypeOnly=F,rt.moduleReference=me,rt.transformFlags|=fo(rt.modifiers)|GP(rt.name)|jn(rt.moduleReference),ng(rt.moduleReference)||(rt.transformFlags|=1),rt.transformFlags&=-67108865,rt.jsDoc=void 0,rt}function iS(C,F,q,me,rt){return C.modifiers!==F||C.isTypeOnly!==q||C.name!==me||C.moduleReference!==rt?n(H_(F,q,me,rt),C):C}function n0(C,F,q,me){const rt=Z(269);return rt.modifiers=ro(C),rt.importClause=F,rt.moduleSpecifier=q,rt.assertClause=me,rt.transformFlags|=jn(rt.importClause)|jn(rt.moduleSpecifier),rt.transformFlags&=-67108865,rt.jsDoc=void 0,rt}function Kg(C,F,q,me,rt){return C.modifiers!==F||C.importClause!==q||C.moduleSpecifier!==me||C.assertClause!==rt?n(n0(F,q,me,rt),C):C}function fg(C,F,q){const me=ue(270);return me.isTypeOnly=C,me.name=F,me.namedBindings=q,me.transformFlags|=jn(me.name)|jn(me.namedBindings),C&&(me.transformFlags|=1),me.transformFlags&=-67108865,me}function Xc(C,F,q,me){return C.isTypeOnly!==F||C.name!==q||C.namedBindings!==me?n(fg(F,q,me),C):C}function m2(C,F){const q=Z(296);return q.elements=X(C),q.multiLine=F,q.transformFlags|=4,q}function vk(C,F,q){return C.elements!==F||C.multiLine!==q?n(m2(F,q),C):C}function h2(C,F){const q=Z(297);return q.name=C,q.value=F,q.transformFlags|=4,q}function bk(C,F,q){return C.name!==F||C.value!==q?n(h2(F,q),C):C}function od(C,F){const q=Z(298);return q.assertClause=C,q.multiLine=F,q}function Yw(C,F,q){return C.assertClause!==F||C.multiLine!==q?n(od(F,q),C):C}function Zw(C){const F=ue(271);return F.name=C,F.transformFlags|=jn(F.name),F.transformFlags&=-67108865,F}function qv(C,F){return C.name!==F?n(Zw(F),C):C}function Tk(C){const F=ue(277);return F.name=C,F.transformFlags|=jn(F.name)|4,F.transformFlags&=-67108865,F}function Sk(C,F){return C.name!==F?n(Tk(F),C):C}function Kw(C){const F=Z(272);return F.elements=X(C),F.transformFlags|=fo(F.elements),F.transformFlags&=-67108865,F}function g2(C,F){return C.elements!==F?n(Kw(F),C):C}function xk(C,F,q){const me=ue(273);return me.isTypeOnly=C,me.propertyName=F,me.name=q,me.transformFlags|=jn(me.propertyName)|jn(me.name),me.transformFlags&=-67108865,me}function Rp(C,F,q,me){return C.isTypeOnly!==F||C.propertyName!==q||C.name!==me?n(xk(F,q,me),C):C}function i0(C,F,q){const me=ue(274);return me.modifiers=ro(C),me.isExportEquals=F,me.expression=F?s().parenthesizeRightSideOfBinary(63,void 0,q):s().parenthesizeExpressionOfExportDefault(q),me.transformFlags|=fo(me.modifiers)|jn(me.expression),me.transformFlags&=-67108865,me.jsDoc=void 0,me}function Im(C,F,q){return C.modifiers!==F||C.expression!==q?n(i0(F,C.isExportEquals,q),C):C}function sm(C,F,q,me,rt){const cr=ue(275);return cr.modifiers=ro(C),cr.isTypeOnly=F,cr.exportClause=q,cr.moduleSpecifier=me,cr.assertClause=rt,cr.transformFlags|=fo(cr.modifiers)|jn(cr.exportClause)|jn(cr.moduleSpecifier),cr.transformFlags&=-67108865,cr.jsDoc=void 0,cr}function eE(C,F,q,me,rt,cr){return C.modifiers!==F||C.isTypeOnly!==q||C.exportClause!==me||C.moduleSpecifier!==rt||C.assertClause!==cr?y2(sm(F,q,me,rt,cr),C):C}function y2(C,F){return C!==F&&C.modifiers===F.modifiers&&(C.modifiers=F.modifiers),n(C,F)}function _h(C){const F=Z(276);return F.elements=X(C),F.transformFlags|=fo(F.elements),F.transformFlags&=-67108865,F}function kk(C,F){return C.elements!==F?n(_h(F),C):C}function c_(C,F,q){const me=Z(278);return me.isTypeOnly=C,me.propertyName=il(F),me.name=il(q),me.transformFlags|=jn(me.propertyName)|jn(me.name),me.transformFlags&=-67108865,me.jsDoc=void 0,me}function s0(C,F,q,me){return C.isTypeOnly!==F||C.propertyName!==q||C.name!==me?n(c_(F,q,me),C):C}function ph(){const C=ue(279);return C.jsDoc=void 0,C}function dh(C){const F=Z(280);return F.expression=C,F.transformFlags|=jn(F.expression),F.transformFlags&=-67108865,F}function a0(C,F){return C.expression!==F?n(dh(F),C):C}function sS(C){return Z(C)}function Ck(C,F,q=!1){const me=g1(C,q?F&&s().parenthesizeNonArrayTypeOfPostfixType(F):F);return me.postfix=q,me}function g1(C,F){const q=Z(C);return q.type=F,q}function aS(C,F,q){return F.type!==q?n(Ck(C,q,F.postfix),F):F}function _c(C,F,q){return F.type!==q?n(g1(C,q),F):F}function y1(C,F){const q=ue(320);return q.parameters=ro(C),q.type=F,q.transformFlags=fo(q.parameters)|(q.type?1:0),q.jsDoc=void 0,q.locals=void 0,q.nextContainer=void 0,q.typeArguments=void 0,q}function tE(C,F,q){return C.parameters!==F||C.type!==q?n(y1(F,q),C):C}function v2(C,F=!1){const q=ue(325);return q.jsDocPropertyTags=ro(C),q.isArrayType=F,q}function b2(C,F,q){return C.jsDocPropertyTags!==F||C.isArrayType!==q?n(v2(F,q),C):C}function rE(C){const F=Z(312);return F.type=C,F}function c3(C,F){return C.type!==F?n(rE(F),C):C}function nE(C,F,q){const me=ue(326);return me.typeParameters=ro(C),me.parameters=X(F),me.type=q,me.jsDoc=void 0,me.locals=void 0,me.nextContainer=void 0,me}function Rn(C,F,q,me){return C.typeParameters!==F||C.parameters!==q||C.type!==me?n(nE(F,q,me),C):C}function dl(C){const F=oJ(C.kind);return C.tagName.escapedText===Vc(F)?C.tagName:we(F)}function Bs(C,F,q){const me=Z(C);return me.tagName=F,me.comment=q,me}function Bp(C,F,q){const me=ue(C);return me.tagName=F,me.comment=q,me}function Wv(C,F,q,me){const rt=Bs(348,C??we("template"),me);return rt.constraint=F,rt.typeParameters=X(q),rt}function _g(C,F=dl(C),q,me,rt){return C.tagName!==F||C.constraint!==q||C.typeParameters!==me||C.comment!==rt?n(Wv(F,q,me,rt),C):C}function wn(C,F,q,me){const rt=Bp(349,C??we("typedef"),me);return rt.typeExpression=F,rt.fullName=q,rt.name=Dre(q),rt.locals=void 0,rt.nextContainer=void 0,rt}function iE(C,F=dl(C),q,me,rt){return C.tagName!==F||C.typeExpression!==q||C.fullName!==me||C.comment!==rt?n(wn(F,q,me,rt),C):C}function v1(C,F,q,me,rt,cr){const ci=Bp(344,C??we("param"),cr);return ci.typeExpression=me,ci.name=F,ci.isNameFirst=!!rt,ci.isBracketed=q,ci}function pu(C,F=dl(C),q,me,rt,cr,ci){return C.tagName!==F||C.name!==q||C.isBracketed!==me||C.typeExpression!==rt||C.isNameFirst!==cr||C.comment!==ci?n(v1(F,q,me,rt,cr,ci),C):C}function Ed(C,F,q,me,rt,cr){const ci=Bp(351,C??we("prop"),cr);return ci.typeExpression=me,ci.name=F,ci.isNameFirst=!!rt,ci.isBracketed=q,ci}function Om(C,F=dl(C),q,me,rt,cr,ci){return C.tagName!==F||C.name!==q||C.isBracketed!==me||C.typeExpression!==rt||C.isNameFirst!==cr||C.comment!==ci?n(Ed(F,q,me,rt,cr,ci),C):C}function b1(C,F,q,me){const rt=Bp(341,C??we("callback"),me);return rt.typeExpression=F,rt.fullName=q,rt.name=Dre(q),rt.locals=void 0,rt.nextContainer=void 0,rt}function oS(C,F=dl(C),q,me,rt){return C.tagName!==F||C.typeExpression!==q||C.fullName!==me||C.comment!==rt?n(b1(F,q,me,rt),C):C}function am(C,F,q){const me=Bs(342,C??we("overload"),q);return me.typeExpression=F,me}function T1(C,F=dl(C),q,me){return C.tagName!==F||C.typeExpression!==q||C.comment!==me?n(am(F,q,me),C):C}function Il(C,F,q){const me=Bs(331,C??we("augments"),q);return me.class=F,me}function jl(C,F=dl(C),q,me){return C.tagName!==F||C.class!==q||C.comment!==me?n(Il(F,q,me),C):C}function o0(C,F,q){const me=Bs(332,C??we("implements"),q);return me.class=F,me}function Zu(C,F,q){const me=Bs(350,C??we("see"),q);return me.name=F,me}function Ad(C,F,q,me){return C.tagName!==F||C.name!==q||C.comment!==me?n(Zu(F,q,me),C):C}function pg(C){const F=Z(313);return F.name=C,F}function E_(C,F){return C.name!==F?n(pg(F),C):C}function cS(C,F){const q=Z(314);return q.left=C,q.right=F,q.transformFlags|=jn(q.left)|jn(q.right),q}function T2(C,F,q){return C.left!==F||C.right!==q?n(cS(F,q),C):C}function S2(C,F){const q=Z(327);return q.name=C,q.text=F,q}function Lm(C,F,q){return C.name!==F?n(S2(F,q),C):C}function ey(C,F){const q=Z(328);return q.name=C,q.text=F,q}function lS(C,F,q){return C.name!==F?n(ey(F,q),C):C}function S1(C,F){const q=Z(329);return q.name=C,q.text=F,q}function ml(C,F,q){return C.name!==F?n(S1(F,q),C):C}function c0(C,F=dl(C),q,me){return C.tagName!==F||C.class!==q||C.comment!==me?n(o0(F,q,me),C):C}function ty(C,F,q){return Bs(C,F??we(oJ(C)),q)}function Hv(C,F,q=dl(F),me){return F.tagName!==q||F.comment!==me?n(ty(C,q,me),F):F}function Gv(C,F,q,me){const rt=Bs(C,F??we(oJ(C)),me);return rt.typeExpression=q,rt}function Ku(C,F,q=dl(F),me,rt){return F.tagName!==q||F.typeExpression!==me||F.comment!==rt?n(Gv(C,q,me,rt),F):F}function ry(C,F){return Bs(330,C,F)}function iu(C,F,q){return C.tagName!==F||C.comment!==q?n(ry(F,q),C):C}function uS(C,F,q){const me=Bp(343,C??we(oJ(343)),q);return me.typeExpression=F,me.locals=void 0,me.nextContainer=void 0,me}function ny(C,F=dl(C),q,me){return C.tagName!==F||C.typeExpression!==q||C.comment!==me?n(uS(F,q,me),C):C}function x2(C){const F=Z(324);return F.text=C,F}function l_(C,F){return C.text!==F?n(x2(F),C):C}function dg(C,F){const q=Z(323);return q.comment=C,q.tags=ro(F),q}function k2(C,F,q){return C.comment!==F||C.tags!==q?n(dg(F,q),C):C}function Xv(C,F,q){const me=Z(281);return me.openingElement=C,me.children=X(F),me.closingElement=q,me.transformFlags|=jn(me.openingElement)|fo(me.children)|jn(me.closingElement)|2,me}function fS(C,F,q,me){return C.openingElement!==F||C.children!==q||C.closingElement!==me?n(Xv(F,q,me),C):C}function x1(C,F,q){const me=Z(282);return me.tagName=C,me.typeArguments=ro(F),me.attributes=q,me.transformFlags|=jn(me.tagName)|fo(me.typeArguments)|jn(me.attributes)|2,me.typeArguments&&(me.transformFlags|=1),me}function wk(C,F,q,me){return C.tagName!==F||C.typeArguments!==q||C.attributes!==me?n(x1(F,q,me),C):C}function Qv(C,F,q){const me=Z(283);return me.tagName=C,me.typeArguments=ro(F),me.attributes=q,me.transformFlags|=jn(me.tagName)|fo(me.typeArguments)|jn(me.attributes)|2,F&&(me.transformFlags|=1),me}function l0(C,F,q,me){return C.tagName!==F||C.typeArguments!==q||C.attributes!==me?n(Qv(F,q,me),C):C}function jp(C){const F=Z(284);return F.tagName=C,F.transformFlags|=jn(F.tagName)|2,F}function _S(C,F){return C.tagName!==F?n(jp(F),C):C}function yp(C,F,q){const me=Z(285);return me.openingFragment=C,me.children=X(F),me.closingFragment=q,me.transformFlags|=jn(me.openingFragment)|fo(me.children)|jn(me.closingFragment)|2,me}function iy(C,F,q,me){return C.openingFragment!==F||C.children!==q||C.closingFragment!==me?n(yp(F,q,me),C):C}function Yv(C,F){const q=Z(11);return q.text=C,q.containsOnlyTriviaWhiteSpaces=!!F,q.transformFlags|=2,q}function sE(C,F,q){return C.text!==F||C.containsOnlyTriviaWhiteSpaces!==q?n(Yv(F,q),C):C}function Fo(){const C=Z(286);return C.transformFlags|=2,C}function Zn(){const C=Z(287);return C.transformFlags|=2,C}function G_(C,F){const q=ue(288);return q.name=C,q.initializer=F,q.transformFlags|=jn(q.name)|jn(q.initializer)|2,q}function u_(C,F,q){return C.name!==F||C.initializer!==q?n(G_(F,q),C):C}function Ek(C){const F=ue(289);return F.properties=X(C),F.transformFlags|=fo(F.properties)|2,F}function pS(C,F){return C.properties!==F?n(Ek(F),C):C}function k1(C){const F=Z(290);return F.expression=C,F.transformFlags|=jn(F.expression)|2,F}function aE(C,F){return C.expression!==F?n(k1(F),C):C}function C1(C,F){const q=Z(291);return q.dotDotDotToken=C,q.expression=F,q.transformFlags|=jn(q.dotDotDotToken)|jn(q.expression)|2,q}function mh(C,F){return C.expression!==F?n(C1(C.dotDotDotToken,F),C):C}function Mm(C,F){const q=Z(292);return q.expression=s().parenthesizeExpressionForDisallowedComma(C),q.statements=X(F),q.transformFlags|=jn(q.expression)|fo(q.statements),q.jsDoc=void 0,q}function u0(C,F,q){return C.expression!==F||C.statements!==q?n(Mm(F,q),C):C}function Zv(C){const F=Z(293);return F.statements=X(C),F.transformFlags=fo(F.statements),F}function sy(C,F){return C.statements!==F?n(Zv(F),C):C}function hh(C,F){const q=Z(294);switch(q.token=C,q.types=X(F),q.transformFlags|=fo(q.types),C){case 94:q.transformFlags|=1024;break;case 117:q.transformFlags|=1;break;default:return R.assertNever(C)}return q}function Ak(C,F){return C.types!==F?n(hh(C.token,F),C):C}function Ol(C,F){const q=Z(295);return q.variableDeclaration=E8(C),q.block=F,q.transformFlags|=jn(q.variableDeclaration)|jn(q.block)|(C?0:64),q.locals=void 0,q.nextContainer=void 0,q}function vp(C,F,q){return C.variableDeclaration!==F||C.block!==q?n(Ol(F,q),C):C}function mg(C,F){const q=ue(299);return q.name=il(C),q.initializer=s().parenthesizeExpressionForDisallowedComma(F),q.transformFlags|=e1(q.name)|jn(q.initializer),q.modifiers=void 0,q.questionToken=void 0,q.exclamationToken=void 0,q.jsDoc=void 0,q}function A_(C,F,q){return C.name!==F||C.initializer!==q?dS(mg(F,q),C):C}function dS(C,F){return C!==F&&(C.modifiers=F.modifiers,C.questionToken=F.questionToken,C.exclamationToken=F.exclamationToken),n(C,F)}function w1(C,F){const q=ue(300);return q.name=il(C),q.objectAssignmentInitializer=F&&s().parenthesizeExpressionForDisallowedComma(F),q.transformFlags|=GP(q.name)|jn(q.objectAssignmentInitializer)|1024,q.equalsToken=void 0,q.modifiers=void 0,q.questionToken=void 0,q.exclamationToken=void 0,q.jsDoc=void 0,q}function f0(C,F,q){return C.name!==F||C.objectAssignmentInitializer!==q?oE(w1(F,q),C):C}function oE(C,F){return C!==F&&(C.modifiers=F.modifiers,C.questionToken=F.questionToken,C.exclamationToken=F.exclamationToken,C.equalsToken=F.equalsToken),n(C,F)}function Jp(C){const F=ue(301);return F.expression=s().parenthesizeExpressionForDisallowedComma(C),F.transformFlags|=jn(F.expression)|128|65536,F.jsDoc=void 0,F}function pc(C,F){return C.expression!==F?n(Jp(F),C):C}function mS(C,F){const q=ue(302);return q.name=il(C),q.initializer=F&&s().parenthesizeExpressionForDisallowedComma(F),q.transformFlags|=jn(q.name)|jn(q.initializer)|1,q.jsDoc=void 0,q}function hS(C,F,q){return C.name!==F||C.initializer!==q?n(mS(F,q),C):C}function _0(C,F,q){const me=t.createBaseSourceFileNode(308);return me.statements=X(C),me.endOfFileToken=F,me.flags|=q,me.text="",me.fileName="",me.path="",me.resolvedPath="",me.originalFileName="",me.languageVersion=0,me.languageVariant=0,me.scriptKind=0,me.isDeclarationFile=!1,me.hasNoDefaultLib=!1,me.transformFlags|=fo(me.statements)|jn(me.endOfFileToken),me.locals=void 0,me.nextContainer=void 0,me.endFlowNode=void 0,me.nodeCount=0,me.identifierCount=0,me.symbolCount=0,me.parseDiagnostics=void 0,me.bindDiagnostics=void 0,me.bindSuggestionDiagnostics=void 0,me.lineMap=void 0,me.externalModuleIndicator=void 0,me.setExternalModuleIndicator=void 0,me.pragmas=void 0,me.checkJsDirective=void 0,me.referencedFiles=void 0,me.typeReferenceDirectives=void 0,me.libReferenceDirectives=void 0,me.amdDependencies=void 0,me.commentDirectives=void 0,me.identifiers=void 0,me.packageJsonLocations=void 0,me.packageJsonScope=void 0,me.imports=void 0,me.moduleAugmentations=void 0,me.ambientModuleNames=void 0,me.resolvedModules=void 0,me.classifiableNames=void 0,me.impliedNodeFormat=void 0,me}function Kv(C){const F=Object.create(C.redirectTarget);return Object.defineProperties(F,{id:{get(){return this.redirectInfo.redirectTarget.id},set(q){this.redirectInfo.redirectTarget.id=q}},symbol:{get(){return this.redirectInfo.redirectTarget.symbol},set(q){this.redirectInfo.redirectTarget.symbol=q}}}),F.redirectInfo=C,F}function Pk(C){const F=Kv(C.redirectInfo);return F.flags|=C.flags&-9,F.fileName=C.fileName,F.path=C.path,F.resolvedPath=C.resolvedPath,F.originalFileName=C.originalFileName,F.packageJsonLocations=C.packageJsonLocations,F.packageJsonScope=C.packageJsonScope,F.emitNode=void 0,F}function gS(C){const F=t.createBaseSourceFileNode(308);F.flags|=C.flags&-9;for(const q in C)if(!(mc(F,q)||!mc(C,q))){if(q==="emitNode"){F.emitNode=void 0;continue}F[q]=C[q]}return F}function yS(C){const F=C.redirectInfo?Pk(C):gS(C);return di(F,C),F}function vS(C,F,q,me,rt,cr,ci){const Ps=yS(C);return Ps.statements=X(F),Ps.isDeclarationFile=q,Ps.referencedFiles=me,Ps.typeReferenceDirectives=rt,Ps.hasNoDefaultLib=cr,Ps.libReferenceDirectives=ci,Ps.transformFlags=fo(Ps.statements)|jn(Ps.endOfFileToken),Ps}function bS(C,F,q=C.isDeclarationFile,me=C.referencedFiles,rt=C.typeReferenceDirectives,cr=C.hasNoDefaultLib,ci=C.libReferenceDirectives){return C.statements!==F||C.isDeclarationFile!==q||C.referencedFiles!==me||C.typeReferenceDirectives!==rt||C.hasNoDefaultLib!==cr||C.libReferenceDirectives!==ci?n(vS(C,F,q,me,rt,cr,ci),C):C}function TS(C,F=pt){const q=Z(309);return q.prepends=F,q.sourceFiles=C,q.syntheticFileReferences=void 0,q.syntheticTypeReferences=void 0,q.syntheticLibReferences=void 0,q.hasNoDefaultLib=void 0,q}function E1(C,F,q=pt){return C.sourceFiles!==F||C.prepends!==q?n(TS(F,q),C):C}function X_(C,F,q){const me=Z(310);return me.prologues=C,me.syntheticReferences=F,me.texts=q,me.fileName="",me.text="",me.referencedFiles=pt,me.libReferenceDirectives=pt,me.getLineAndCharacterOfPosition=rt=>zc(me,rt),me}function ay(C,F){const q=Z(C);return q.data=F,q}function l3(C){return ay(303,C)}function p0(C,F){const q=ay(304,C);return q.texts=F,q}function cE(C,F){return ay(F?306:305,C)}function lE(C){const F=Z(307);return F.data=C.data,F.section=C,F}function A(){const C=Z(311);return C.javascriptText="",C.declarationText="",C}function he(C,F=!1,q){const me=Z(234);return me.type=C,me.isSpread=F,me.tupleNameSource=q,me}function Me(C){const F=Z(354);return F._children=C,F}function Sr(C){const F=Z(355);return F.original=C,Et(F,C),F}function Qn(C,F){const q=Z(356);return q.expression=C,q.original=F,q.transformFlags|=jn(q.expression)|1,Et(q,F),q}function Qi(C,F){return C.expression!==F?n(Qn(F,C.original),C):C}function Li(C){if(Mc(C)&&!HA(C)&&!C.original&&!C.emitNode&&!C.id){if(sD(C))return C.elements;if($n(C)&&RSe(C.operatorToken))return[C.left,C.right]}return C}function ms(C){const F=Z(357);return F.elements=X(Ln(C,Li)),F.transformFlags|=fo(F.elements),F}function Ja(C,F){return C.elements!==F?n(ms(F),C):C}function Vu(C){const F=Z(359);return F.emitNode={},F.original=C,F}function Q_(C){const F=Z(358);return F.emitNode={},F.original=C,F}function bp(C,F){const q=Z(360);return q.expression=C,q.thisArg=F,q.transformFlags|=jn(q.expression)|jn(q.thisArg),q}function A1(C,F,q){return C.expression!==F||C.thisArg!==q?n(bp(F,q),C):C}function Y_(C){const F=ge(C.escapedText);return F.flags|=C.flags&-9,F.transformFlags=C.transformFlags,di(F,C),H5(F,{...C.emitNode.autoGenerate}),F}function eb(C){const F=ge(C.escapedText);F.flags|=C.flags&-9,F.jsDoc=C.jsDoc,F.flowNode=C.flowNode,F.symbol=C.symbol,F.transformFlags=C.transformFlags,di(F,C);const q=Lx(C);return q&&r1(F,q),F}function tb(C){const F=Ge(C.escapedText);return F.flags|=C.flags&-9,F.transformFlags=C.transformFlags,di(F,C),H5(F,{...C.emitNode.autoGenerate}),F}function P1(C){const F=Ge(C.escapedText);return F.flags|=C.flags&-9,F.transformFlags=C.transformFlags,di(F,C),F}function Pd(C){if(C===void 0)return C;if(bs(C))return yS(C);if(al(C))return Y_(C);if(Ye(C))return eb(C);if(PC(C))return tb(C);if(as(C))return P1(C);const F=h7(C.kind)?t.createBaseNode(C.kind):t.createBaseTokenNode(C.kind);F.flags|=C.flags&-9,F.transformFlags=C.transformFlags,di(F,C);for(const q in C)mc(F,q)||!mc(C,q)||(F[q]=C[q]);return F}function SS(C,F,q){return tn(da(void 0,void 0,void 0,void 0,F?[F]:[],void 0,Yy(C,!0)),void 0,q?[q]:[])}function Up(C,F,q){return tn(tc(void 0,void 0,F?[F]:[],void 0,void 0,Yy(C,!0)),void 0,q?[q]:[])}function hg(){return mf(se("0"))}function D1(C){return i0(void 0,!1,C)}function cd(C){return sm(void 0,!1,_h([c_(!1,void 0,C)]))}function xS(C,F){return F==="undefined"?W.createStrictEquality(C,hg()):W.createStrictEquality(Bl(C),fe(F))}function rb(C,F,q){return _x(C)?eo(Zo(C,void 0,F),void 0,void 0,q):tn(Ql(C,F),void 0,q)}function Yl(C,F,q){return rb(C,"bind",[F,...q])}function FL(C,F,q){return rb(C,"call",[F,...q])}function rc(C,F,q){return rb(C,"apply",[F,q])}function Lo(C,F,q){return rb(we(C),F,q)}function uE(C,F){return rb(C,"slice",F===void 0?[]:[ib(F)])}function fE(C,F){return rb(C,"concat",F)}function ee(C,F,q){return Lo("Object","defineProperty",[C,ib(F),q])}function Ee(C,F){return Lo("Object","getOwnPropertyDescriptor",[C,ib(F)])}function at(C,F,q){return Lo("Reflect","get",q?[C,F,q]:[C,F])}function Lt(C,F,q,me){return Lo("Reflect","set",me?[C,F,q,me]:[C,F,q])}function sr(C,F,q){return q?(C.push(mg(F,q)),!0):!1}function Br(C,F){const q=[];sr(q,"enumerable",ib(C.enumerable)),sr(q,"configurable",ib(C.configurable));let me=sr(q,"writable",ib(C.writable));me=sr(q,"value",C.value)||me;let rt=sr(q,"get",C.get);return rt=sr(q,"set",C.set)||rt,R.assert(!(me&&rt),"A PropertyDescriptor may not be both an accessor descriptor and a data descriptor."),vo(q,!F)}function pi(C,F){switch(C.kind){case 214:return ls(C,F);case 213:return ri(C,C.type,F);case 231:return Fv(C,F,C.type);case 235:return Qy(C,F,C.type);case 232:return pk(C,F);case 356:return Qi(C,F)}}function Gi(C){return j_(C)&&Mc(C)&&Mc(Wb(C))&&Mc(eg(C))&&!Oe(o4(C))&&!Oe(W5(C))}function Ki(C,F,q=15){return C&&KJ(C,q)&&!Gi(C)?pi(C,Ki(C.expression,F)):F}function zi(C,F,q){if(!F)return C;const me=hk(F,F.label,IT(F.statement)?zi(C,F.statement):C);return q&&q(F),me}function Hs(C,F){const q=xc(C);switch(q.kind){case 79:return F;case 108:case 8:case 9:case 10:return!1;case 206:return q.elements.length!==0;case 207:return q.properties.length>0;default:return!0}}function nc(C,F,q,me=!1){const rt=uf(C,15);let cr,ci;return n_(rt)?(cr=jt(),ci=rt):ZP(rt)?(cr=jt(),ci=q!==void 0&&q<2?Et(we("_super"),rt):rt):Wa(rt)&8192?(cr=hg(),ci=s().parenthesizeLeftSideOfAccess(rt,!1)):oi(rt)?Hs(rt.expression,me)?(cr=Pe(F),ci=Ql(Et(W.createAssignment(cr,rt.expression),rt.expression),rt.name),Et(ci,rt)):(cr=rt.expression,ci=rt):qc(rt)?Hs(rt.expression,me)?(cr=Pe(F),ci=q_(Et(W.createAssignment(cr,rt.expression),rt.expression),rt.argumentExpression),Et(ci,rt)):(cr=rt.expression,ci=rt):(cr=hg(),ci=s().parenthesizeLeftSideOfAccess(C,!1)),{target:ci,thisArg:cr}}function to(C,F){return Ql(wi(vo([pe(void 0,"value",[ts(void 0,void 0,C,void 0,void 0,void 0)],Yy([jv(F)]))])),"value")}function Mo(C){return C.length>10?ms(C):Cf(C,W.createComma)}function P_(C,F,q,me=0){const rt=ra(C);if(rt&&Ye(rt)&&!al(rt)){const cr=go(Et(Pd(rt),rt),rt.parent);return me|=Wa(rt),q||(me|=96),F||(me|=3072),me&&Pn(cr,me),cr}return Qe(C)}function Fm(C,F,q){return P_(C,F,q,98304)}function gh(C,F,q){return P_(C,F,q,32768)}function d0(C,F,q){return P_(C,F,q,16384)}function Dd(C,F,q){return P_(C,F,q)}function N1(C,F,q,me){const rt=Ql(C,Mc(F)?F:Pd(F));Et(rt,F);let cr=0;return me||(cr|=96),q||(cr|=3072),cr&&Pn(rt,cr),rt}function _E(C,F,q,me){return C&&Ti(F,1)?N1(C,P_(F),q,me):d0(F,q,me)}function kS(C,F,q,me){const rt=nb(C,F,0,q);return f3(C,F,rt,me)}function u3(C){return yo(C.expression)&&C.expression.text==="use strict"}function om(){return Lf(jv(fe("use strict")))}function nb(C,F,q=0,me){R.assert(F.length===0,"Prologue directives should be at the first statement in the target statements array");let rt=!1;const cr=C.length;for(;q<cr;){const ci=C[q];if(vm(ci))u3(ci)&&(rt=!0),F.push(ci);else break;q++}return me&&!rt&&F.push(om()),q}function f3(C,F,q,me,rt=nT){const cr=C.length;for(;q!==void 0&&q<cr;){const ci=C[q];if(Wa(ci)&2097152&&rt(ci))$r(F,me?yt(ci,me,Ks):ci);else break;q++}return q}function zp(C){return Ere(C)?C:Et(X([om(),...C]),C)}function pE(C){return R.assert(ut(C,Ibe),"Cannot lift nodes to a Block."),Fh(C)||Yy(C)}function I1(C,F,q){let me=q;for(;me<C.length&&F(C[me]);)me++;return me}function k8(C,F){if(!Oe(F))return C;const q=I1(C,vm,0),me=I1(C,tj,q),rt=I1(C,rj,me),cr=I1(F,vm,0),ci=I1(F,tj,cr),Ps=I1(F,rj,ci),Ca=I1(F,ej,Ps);R.assert(Ca===F.length,"Expected declarations to be valid standard or custom prologues");const Tp=_T(C)?C.slice():C;if(Ca>Ps&&Tp.splice(rt,0,...F.slice(Ps,Ca)),Ps>ci&&Tp.splice(me,0,...F.slice(ci,Ps)),ci>cr&&Tp.splice(q,0,...F.slice(cr,ci)),cr>0)if(q===0)Tp.splice(0,0,...F.slice(0,cr));else{const m0=new Map;for(let h0=0;h0<q;h0++){const g0=C[h0];m0.set(g0.expression.text,!0)}for(let h0=cr-1;h0>=0;h0--){const g0=F[h0];m0.has(g0.expression.text)||Tp.unshift(g0)}}return _T(C)?Et(X(Tp,C.hasTrailingComma),C):C}function C8(C,F){var q;let me;return typeof F=="number"?me=xr(F):me=F,bl(C)?Fn(C,me,C.name,C.constraint,C.default):ua(C)?ws(C,me,C.dotDotDotToken,C.name,C.questionToken,C.type,C.initializer):eD(C)?yn(C,me,C.typeParameters,C.parameters,C.type):Np(C)?Rr(C,me,C.name,C.questionToken,C.type):Pa(C)?Cn(C,me,C.name,(q=C.questionToken)!=null?q:C.exclamationToken,C.type,C.initializer):zg(C)?cs(C,me,C.name,C.questionToken,C.typeParameters,C.parameters,C.type):zl(C)?en(C,me,C.asteriskToken,C.name,C.questionToken,C.typeParameters,C.parameters,C.type,C.body):Al(C)?Pt(C,me,C.parameters,C.body):Hd(C)?kt(C,me,C.name,C.parameters,C.type,C.body):nd(C)?xe(C,me,C.name,C.parameters,C.body):iw(C)?qr(C,me,C.parameters,C.type):yc(C)?bo(C,me,C.asteriskToken,C.name,C.typeParameters,C.parameters,C.type,C.body):Ac(C)?Dc(C,me,C.typeParameters,C.parameters,C.type,C.equalsGreaterThanToken,C.body):If(C)?$l(C,me,C.name,C.typeParameters,C.heritageClauses,C.members):Xl(C)?YT(C,me,C.declarationList):ru(C)?$v(C,me,C.asteriskToken,C.name,C.typeParameters,C.parameters,C.type,C.body):vu(C)?Oo(C,me,C.name,C.typeParameters,C.heritageClauses,C.members):Yf(C)?nS(C,me,C.name,C.typeParameters,C.heritageClauses,C.members):sh(C)?Zg(C,me,C.name,C.typeParameters,C.type):Gb(C)?im(C,me,C.name,C.members):Pl(C)?Yu(C,me,C.name,C.body):Xu(C)?iS(C,me,C.isTypeOnly,C.name,C.moduleReference):Nu(C)?Kg(C,me,C.importClause,C.moduleSpecifier,C.assertClause):Tl(C)?Im(C,me,C.expression):Uu(C)?eE(C,me,C.isTypeOnly,C.exportClause,C.moduleSpecifier,C.assertClause):R.assertNever(C)}function ro(C){return C?X(C):void 0}function il(C){return typeof C=="string"?we(C):C}function ib(C){return typeof C=="string"?fe(C):typeof C=="number"?se(C):typeof C=="boolean"?C?er():ft():C}function O1(C){return C&&s().parenthesizeExpressionForDisallowedComma(C)}function w8(C){return typeof C=="number"?We(C):C}function D_(C){return C&&ure(C)?Et(di(ZT(),C),C):C}function E8(C){return typeof C=="string"||C&&!xs(C)?nt(C,void 0,void 0,void 0):C}}function yQe(e,t){return e!==t&&Et(e,t),e}function vQe(e,t){return e!==t&&(di(e,t),Et(e,t)),e}function oJ(e){switch(e){case 347:return"type";case 345:return"returns";case 346:return"this";case 343:return"enum";case 333:return"author";case 335:return"class";case 336:return"public";case 337:return"private";case 338:return"protected";case 339:return"readonly";case 340:return"override";case 348:return"template";case 349:return"typedef";case 344:return"param";case 351:return"prop";case 341:return"callback";case 342:return"overload";case 331:return"augments";case 332:return"implements";default:return R.fail(`Unsupported kind: ${R.formatSyntaxKind(e)}`)}}function bQe(e,t){switch(Uy||(Uy=q0(99,!1,0)),e){case 14:Uy.setText("`"+t+"`");break;case 15:Uy.setText("`"+t+"${");break;case 16:Uy.setText("}"+t+"${");break;case 17:Uy.setText("}"+t+"`");break}let n=Uy.scan();if(n===19&&(n=Uy.reScanTemplateToken(!1)),Uy.isUnterminated())return Uy.setText(void 0),Vte;let s;switch(n){case 14:case 15:case 16:case 17:s=Uy.getTokenValue();break}return s===void 0||Uy.scan()!==1?(Uy.setText(void 0),Vte):(Uy.setText(void 0),s)}function e1(e){return e&&Ye(e)?GP(e):jn(e)}function GP(e){return jn(e)&-67108865}function TQe(e,t){return t|e.transformFlags&134234112}function jn(e){if(!e)return 0;const t=e.transformFlags&~TSe(e.kind);return of(e)&&rl(e.name)?TQe(e.name,t):t}function fo(e){return e?e.transformFlags:0}function bSe(e){let t=0;for(const n of e)t|=jn(n);e.transformFlags=t}function TSe(e){if(e>=179&&e<=202)return-2;switch(e){case 210:case 211:case 206:return-2147450880;case 264:return-1941676032;case 166:return-2147483648;case 216:return-2072174592;case 215:case 259:return-1937940480;case 258:return-2146893824;case 260:case 228:return-2147344384;case 173:return-1937948672;case 169:return-2013249536;case 171:case 174:case 175:return-2005057536;case 131:case 148:case 160:case 144:case 152:case 149:case 134:case 153:case 114:case 165:case 168:case 170:case 176:case 177:case 178:case 261:case 262:return-2;case 207:return-2147278848;case 295:return-2147418112;case 203:case 204:return-2147450880;case 213:case 235:case 231:case 356:case 214:case 106:return-2147483648;case 208:case 209:return-2147483648;default:return-2147483648}}function J5(e){return e.flags|=8,e}function Bte(e,t,n){let s,l,f,d,g,h,k,S,w,N;ha(e)?(f="",d=e,g=e.length,h=t,k=n):(R.assert(t==="js"||t==="dts"),f=(t==="js"?e.javascriptPath:e.declarationPath)||"",h=t==="js"?e.javascriptMapPath:e.declarationMapPath,S=()=>t==="js"?e.javascriptText:e.declarationText,w=()=>t==="js"?e.javascriptMapText:e.declarationMapText,g=()=>S().length,e.buildInfo&&e.buildInfo.bundle&&(R.assert(n===void 0||typeof n=="boolean"),s=n,l=t==="js"?e.buildInfo.bundle.js:e.buildInfo.bundle.dts,N=e.oldFileOfCurrentEmit));const O=N?xQe(R.checkDefined(l)):SQe(l,s,g);return O.fileName=f,O.sourceMapPath=h,O.oldFileOfCurrentEmit=N,S&&w?(Object.defineProperty(O,"text",{get:S}),Object.defineProperty(O,"sourceMapText",{get:w})):(R.assert(!N),O.text=d??"",O.sourceMapText=k),O}function SQe(e,t,n){let s,l,f,d,g,h,k,S;for(const N of e?e.sections:pt)switch(N.kind){case"prologue":s=$r(s,Et(J.createUnparsedPrologue(N.data),N));break;case"emitHelpers":l=$r(l,Qte().get(N.data));break;case"no-default-lib":S=!0;break;case"reference":f=$r(f,{pos:-1,end:-1,fileName:N.data});break;case"type":d=$r(d,{pos:-1,end:-1,fileName:N.data});break;case"type-import":d=$r(d,{pos:-1,end:-1,fileName:N.data,resolutionMode:99});break;case"type-require":d=$r(d,{pos:-1,end:-1,fileName:N.data,resolutionMode:1});break;case"lib":g=$r(g,{pos:-1,end:-1,fileName:N.data});break;case"prepend":let O;for(const L of N.texts)(!t||L.kind!=="internal")&&(O=$r(O,Et(J.createUnparsedTextLike(L.data,L.kind==="internal"),L)));h=Oi(h,O),k=$r(k,J.createUnparsedPrepend(N.data,O??pt));break;case"internal":if(t){k||(k=[]);break}case"text":k=$r(k,Et(J.createUnparsedTextLike(N.data,N.kind==="internal"),N));break;default:R.assertNever(N)}if(!k){const N=J.createUnparsedTextLike(void 0,!1);zP(N,0,typeof n=="function"?n():n),k=[N]}const w=sg.createUnparsedSource(s??pt,void 0,k);return r4(s,w),r4(k,w),r4(h,w),w.hasNoDefaultLib=S,w.helpers=l,w.referencedFiles=f||pt,w.typeReferenceDirectives=d,w.libReferenceDirectives=g||pt,w}function xQe(e){let t,n;for(const l of e.sections)switch(l.kind){case"internal":case"text":t=$r(t,Et(J.createUnparsedTextLike(l.data,l.kind==="internal"),l));break;case"no-default-lib":case"reference":case"type":case"type-import":case"type-require":case"lib":n=$r(n,Et(J.createUnparsedSyntheticReference(l),l));break;case"prologue":case"emitHelpers":case"prepend":break;default:R.assertNever(l)}const s=J.createUnparsedSource(pt,n,t??pt);return r4(n,s),r4(t,s),s.helpers=qt(e.sources&&e.sources.helpers,l=>Qte().get(l)),s}function kQe(e,t,n,s,l,f){return ha(e)?Jte(void 0,e,n,s,void 0,t,l,f):jte(e,t,n,s,l,f)}function jte(e,t,n,s,l,f,d,g){const h=sg.createInputFiles();h.javascriptPath=t,h.javascriptMapPath=n,h.declarationPath=s,h.declarationMapPath=l,h.buildInfoPath=f;const k=new Map,S=L=>{if(L===void 0)return;let U=k.get(L);return U===void 0&&(U=e(L),k.set(L,U!==void 0?U:!1)),U!==!1?U:void 0},w=L=>{const U=S(L);return U!==void 0?U:`/* Input file ${L} was missing */\r
`};let N;return Object.defineProperties(h,{javascriptText:{get:()=>w(t)},javascriptMapText:{get:()=>S(n)},declarationText:{get:()=>w(R.checkDefined(s))},declarationMapText:{get:()=>S(l)},buildInfo:{get:()=>{var L,U;if(N===void 0&&f)if(d!=null&&d.getBuildInfo)N=(L=d.getBuildInfo(f,g.configFilePath))!=null?L:!1;else{const M=S(f);N=M!==void 0&&(U=nz(f,M))!=null?U:!1}return N||void 0}}}),h}function Jte(e,t,n,s,l,f,d,g,h,k,S){const w=sg.createInputFiles();return w.javascriptPath=e,w.javascriptText=t,w.javascriptMapPath=n,w.javascriptMapText=s,w.declarationPath=l,w.declarationText=f,w.declarationMapPath=d,w.declarationMapText=g,w.buildInfoPath=h,w.buildInfo=k,w.oldFileOfCurrentEmit=S,w}function CQe(e,t,n){return new(xSe||(xSe=Pu.getSourceMapSourceConstructor()))(e,t,n)}function di(e,t){if(e.original=t,t){const n=t.emitNode;n&&(e.emitNode=wQe(n,e.emitNode))}return e}function wQe(e,t){const{flags:n,internalFlags:s,leadingComments:l,trailingComments:f,commentRange:d,sourceMapRange:g,tokenSourceMapRanges:h,constantValue:k,helpers:S,startsOnNewLine:w,snippetElement:N}=e;if(t||(t={}),l&&(t.leadingComments=Oi(l.slice(),t.leadingComments)),f&&(t.trailingComments=Oi(f.slice(),t.trailingComments)),n&&(t.flags=n),s&&(t.internalFlags=s&-9),d&&(t.commentRange=d),g&&(t.sourceMapRange=g),h&&(t.tokenSourceMapRanges=EQe(h,t.tokenSourceMapRanges)),k!==void 0&&(t.constantValue=k),S)for(const O of S)t.helpers=$f(t.helpers,O);return w!==void 0&&(t.startsOnNewLine=w),N!==void 0&&(t.snippetElement=N),t}function EQe(e,t){t||(t=[]);for(const n in e)t[n]=e[n];return t}var U5,Ute,zte,Uy,Vte,XP,SSe,J,xSe,AQe=p({"src/compiler/factory/nodeFactory.ts"(){aa(),U5=0,Ute=(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))(Ute||{}),zte=[],Vte={},XP=gSe(),SSe={createBaseSourceFileNode:e=>J5(XP.createBaseSourceFileNode(e)),createBaseIdentifierNode:e=>J5(XP.createBaseIdentifierNode(e)),createBasePrivateIdentifierNode:e=>J5(XP.createBasePrivateIdentifierNode(e)),createBaseTokenNode:e=>J5(XP.createBaseTokenNode(e)),createBaseNode:e=>J5(XP.createBaseNode(e))},J=j5(4,SSe)}});function Qf(e){var t;if(e.emitNode)R.assert(!(e.emitNode.internalFlags&8),"Invalid attempt to mutate an immutable node.");else{if(HA(e)){if(e.kind===308)return e.emitNode={annotatedNodes:[e]};const n=(t=bn(qs(bn(e))))!=null?t:R.fail("Could not determine parsed source file.");Qf(n).annotatedNodes.push(e)}e.emitNode={}}return e.emitNode}function $te(e){var t,n;const s=(n=(t=bn(qs(e)))==null?void 0:t.emitNode)==null?void 0:n.annotatedNodes;if(s)for(const l of s)l.emitNode=void 0}function z5(e){const t=Qf(e);return t.flags|=3072,t.leadingComments=void 0,t.trailingComments=void 0,e}function Pn(e,t){return Qf(e).flags=t,e}function ih(e,t){const n=Qf(e);return n.flags=n.flags|t,e}function V5(e,t){return Qf(e).internalFlags=t,e}function ZC(e,t){const n=Qf(e);return n.internalFlags=n.internalFlags|t,e}function Wb(e){var t,n;return(n=(t=e.emitNode)==null?void 0:t.sourceMapRange)!=null?n:e}function $o(e,t){return Qf(e).sourceMapRange=t,e}function PQe(e,t){var n,s;return(s=(n=e.emitNode)==null?void 0:n.tokenSourceMapRanges)==null?void 0:s[t]}function kSe(e,t,n){var s;const l=Qf(e),f=(s=l.tokenSourceMapRanges)!=null?s:l.tokenSourceMapRanges=[];return f[t]=n,e}function $5(e){var t;return(t=e.emitNode)==null?void 0:t.startsOnNewLine}function qte(e,t){return Qf(e).startsOnNewLine=t,e}function eg(e){var t,n;return(n=(t=e.emitNode)==null?void 0:t.commentRange)!=null?n:e}function Du(e,t){return Qf(e).commentRange=t,e}function o4(e){var t;return(t=e.emitNode)==null?void 0:t.leadingComments}function DT(e,t){return Qf(e).leadingComments=t,e}function q5(e,t,n,s){return DT(e,$r(o4(e),{kind:t,pos:-1,end:-1,hasTrailingNewLine:s,text:n}))}function W5(e){var t;return(t=e.emitNode)==null?void 0:t.trailingComments}function c4(e,t){return Qf(e).trailingComments=t,e}function cJ(e,t,n,s){return c4(e,$r(W5(e),{kind:t,pos:-1,end:-1,hasTrailingNewLine:s,text:n}))}function CSe(e,t){DT(e,o4(t)),c4(e,W5(t));const n=Qf(t);return n.leadingComments=void 0,n.trailingComments=void 0,e}function wSe(e){var t;return(t=e.emitNode)==null?void 0:t.constantValue}function ESe(e,t){const n=Qf(e);return n.constantValue=t,e}function KC(e,t){const n=Qf(e);return n.helpers=$r(n.helpers,t),e}function t1(e,t){if(Oe(t)){const n=Qf(e);for(const s of t)n.helpers=$f(n.helpers,s)}return e}function DQe(e,t){var n;const s=(n=e.emitNode)==null?void 0:n.helpers;return s?$R(s,t):!1}function lJ(e){var t;return(t=e.emitNode)==null?void 0:t.helpers}function ASe(e,t,n){const s=e.emitNode,l=s&&s.helpers;if(!Oe(l))return;const f=Qf(t);let d=0;for(let g=0;g<l.length;g++){const h=l[g];n(h)?(d++,f.helpers=$f(f.helpers,h)):d>0&&(l[g-d]=h)}d>0&&(l.length-=d)}function Wte(e){var t;return(t=e.emitNode)==null?void 0:t.snippetElement}function Hte(e,t){const n=Qf(e);return n.snippetElement=t,e}function Gte(e){return Qf(e).internalFlags|=4,e}function PSe(e,t){const n=Qf(e);return n.typeNode=t,e}function DSe(e){var t;return(t=e.emitNode)==null?void 0:t.typeNode}function r1(e,t){return Qf(e).identifierTypeArguments=t,e}function Lx(e){var t;return(t=e.emitNode)==null?void 0:t.identifierTypeArguments}function H5(e,t){return Qf(e).autoGenerate=t,e}function NQe(e){var t;return(t=e.emitNode)==null?void 0:t.autoGenerate}function NSe(e,t){return Qf(e).generatedImportReference=t,e}function ISe(e){var t;return(t=e.emitNode)==null?void 0:t.generatedImportReference}var IQe=p({"src/compiler/factory/emitNode.ts"(){aa()}});function OSe(e){const t=e.factory,n=h_(()=>V5(t.createTrue(),8)),s=h_(()=>V5(t.createFalse(),8));return{getUnscopedHelperName:l,createDecorateHelper:f,createMetadataHelper:d,createParamHelper:g,createESDecorateHelper:U,createRunInitializersHelper:M,createAssignHelper:W,createAwaitHelper:X,createAsyncGeneratorHelper:Z,createAsyncDelegatorHelper:ue,createAsyncValuesHelper:ie,createRestHelper:se,createAwaiterHelper:V,createExtendsHelper:ve,createTemplateObjectHelper:fe,createSpreadArrayHelper:Ce,createPropKeyHelper:_e,createSetFunctionNameHelper:K,createValuesHelper:ge,createReadHelper:Se,createGeneratorHelper:we,createCreateBindingHelper:Pe,createImportStarHelper:le,createImportStarCallbackHelper:ot,createImportDefaultHelper:Qe,createExportStarHelper:Ge,createClassPrivateFieldGetHelper:tt,createClassPrivateFieldSetHelper:Je,createClassPrivateFieldInHelper:qe};function l(st){return Pn(t.createIdentifier(st),8196)}function f(st,Ke,We,gt){e.requestEmitHelper(uJ);const jt=[];return jt.push(t.createArrayLiteralExpression(st,!0)),jt.push(Ke),We&&(jt.push(We),gt&&jt.push(gt)),t.createCallExpression(l("__decorate"),void 0,jt)}function d(st,Ke){return e.requestEmitHelper(fJ),t.createCallExpression(l("__metadata"),void 0,[t.createStringLiteral(st),Ke])}function g(st,Ke,We){return e.requestEmitHelper(_J),Et(t.createCallExpression(l("__param"),void 0,[t.createNumericLiteral(Ke+""),st]),We)}function h(st){return t.createObjectLiteralExpression([t.createPropertyAssignment(t.createIdentifier("kind"),t.createStringLiteral("class")),t.createPropertyAssignment(t.createIdentifier("name"),st.name)])}function k(st){const Ke=st.computed?t.createElementAccessExpression(t.createIdentifier("obj"),st.name):t.createPropertyAccessExpression(t.createIdentifier("obj"),st.name);return t.createPropertyAssignment("get",t.createArrowFunction(void 0,void 0,[t.createParameterDeclaration(void 0,void 0,t.createIdentifier("obj"))],void 0,void 0,Ke))}function S(st){const Ke=st.computed?t.createElementAccessExpression(t.createIdentifier("obj"),st.name):t.createPropertyAccessExpression(t.createIdentifier("obj"),st.name);return t.createPropertyAssignment("set",t.createArrowFunction(void 0,void 0,[t.createParameterDeclaration(void 0,void 0,t.createIdentifier("obj")),t.createParameterDeclaration(void 0,void 0,t.createIdentifier("value"))],void 0,void 0,t.createBlock([t.createExpressionStatement(t.createAssignment(Ke,t.createIdentifier("value")))])))}function w(st){const Ke=st.computed?st.name:Ye(st.name)?t.createStringLiteralFromNode(st.name):st.name;return t.createPropertyAssignment("has",t.createArrowFunction(void 0,void 0,[t.createParameterDeclaration(void 0,void 0,t.createIdentifier("obj"))],void 0,void 0,t.createBinaryExpression(Ke,101,t.createIdentifier("obj"))))}function N(st,Ke){const We=[];return We.push(w(st)),Ke.get&&We.push(k(st)),Ke.set&&We.push(S(st)),t.createObjectLiteralExpression(We)}function O(st){return t.createObjectLiteralExpression([t.createPropertyAssignment(t.createIdentifier("kind"),t.createStringLiteral(st.kind)),t.createPropertyAssignment(t.createIdentifier("name"),st.name.computed?st.name.name:t.createStringLiteralFromNode(st.name.name)),t.createPropertyAssignment(t.createIdentifier("static"),st.static?t.createTrue():t.createFalse()),t.createPropertyAssignment(t.createIdentifier("private"),st.private?t.createTrue():t.createFalse()),t.createPropertyAssignment(t.createIdentifier("access"),N(st.name,st.access))])}function L(st){return st.kind==="class"?h(st):O(st)}function U(st,Ke,We,gt,jt,It){return e.requestEmitHelper(pJ),t.createCallExpression(l("__esDecorate"),void 0,[st??t.createNull(),Ke??t.createNull(),We,L(gt),jt,It])}function M(st,Ke,We){return e.requestEmitHelper(dJ),t.createCallExpression(l("__runInitializers"),void 0,We?[st,Ke,We]:[st,Ke])}function W(st){return Io(e.getCompilerOptions())>=2?t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("Object"),"assign"),void 0,st):(e.requestEmitHelper(mJ),t.createCallExpression(l("__assign"),void 0,st))}function X(st){return e.requestEmitHelper(ew),t.createCallExpression(l("__await"),void 0,[st])}function Z(st,Ke){return e.requestEmitHelper(ew),e.requestEmitHelper(hJ),(st.emitNode||(st.emitNode={})).flags|=1572864,t.createCallExpression(l("__asyncGenerator"),void 0,[Ke?t.createThis():t.createVoidZero(),t.createIdentifier("arguments"),st])}function ue(st){return e.requestEmitHelper(ew),e.requestEmitHelper(gJ),t.createCallExpression(l("__asyncDelegator"),void 0,[st])}function ie(st){return e.requestEmitHelper(yJ),t.createCallExpression(l("__asyncValues"),void 0,[st])}function se(st,Ke,We,gt){e.requestEmitHelper(vJ);const jt=[];let It=0;for(let er=0;er<Ke.length-1;er++){const ft=Pre(Ke[er]);if(ft)if(ac(ft)){R.assertIsDefined(We,"Encountered computed property name but 'computedTempVariables' argument was not provided.");const mt=We[It];It++,jt.push(t.createConditionalExpression(t.createTypeCheck(mt,"symbol"),void 0,mt,void 0,t.createAdd(mt,t.createStringLiteral(""))))}else jt.push(t.createStringLiteralFromNode(ft))}return t.createCallExpression(l("__rest"),void 0,[st,Et(t.createArrayLiteralExpression(jt),gt)])}function V(st,Ke,We,gt){e.requestEmitHelper(bJ);const jt=t.createFunctionExpression(void 0,t.createToken(41),void 0,void 0,[],void 0,gt);return(jt.emitNode||(jt.emitNode={})).flags|=1572864,t.createCallExpression(l("__awaiter"),void 0,[st?t.createThis():t.createVoidZero(),Ke?t.createIdentifier("arguments"):t.createVoidZero(),We?uO(t,We):t.createVoidZero(),jt])}function ve(st){return e.requestEmitHelper(TJ),t.createCallExpression(l("__extends"),void 0,[st,t.createUniqueName("_super",48)])}function fe(st,Ke){return e.requestEmitHelper(SJ),t.createCallExpression(l("__makeTemplateObject"),void 0,[st,Ke])}function Ce(st,Ke,We){return e.requestEmitHelper(kJ),t.createCallExpression(l("__spreadArray"),void 0,[st,Ke,We?n():s()])}function _e(st){return e.requestEmitHelper(CJ),t.createCallExpression(l("__propKey"),void 0,[st])}function K(st,Ke,We){return e.requestEmitHelper(wJ),e.factory.createCallExpression(l("__setFunctionName"),void 0,We?[st,Ke,e.factory.createStringLiteral(We)]:[st,Ke])}function ge(st){return e.requestEmitHelper(EJ),t.createCallExpression(l("__values"),void 0,[st])}function Se(st,Ke){return e.requestEmitHelper(xJ),t.createCallExpression(l("__read"),void 0,Ke!==void 0?[st,t.createNumericLiteral(Ke+"")]:[st])}function we(st){return e.requestEmitHelper(AJ),t.createCallExpression(l("__generator"),void 0,[t.createThis(),st])}function Pe(st,Ke,We){return e.requestEmitHelper(l4),t.createCallExpression(l("__createBinding"),void 0,[t.createIdentifier("exports"),st,Ke,...We?[We]:[]])}function le(st){return e.requestEmitHelper(G5),t.createCallExpression(l("__importStar"),void 0,[st])}function ot(){return e.requestEmitHelper(G5),l("__importStar")}function Qe(st){return e.requestEmitHelper(DJ),t.createCallExpression(l("__importDefault"),void 0,[st])}function Ge(st,Ke=t.createIdentifier("exports")){return e.requestEmitHelper(NJ),e.requestEmitHelper(l4),t.createCallExpression(l("__exportStar"),void 0,[st,Ke])}function tt(st,Ke,We,gt){e.requestEmitHelper(IJ);let jt;return gt?jt=[st,Ke,t.createStringLiteral(We),gt]:jt=[st,Ke,t.createStringLiteral(We)],t.createCallExpression(l("__classPrivateFieldGet"),void 0,jt)}function Je(st,Ke,We,gt,jt){e.requestEmitHelper(OJ);let It;return jt?It=[st,Ke,We,t.createStringLiteral(gt),jt]:It=[st,Ke,We,t.createStringLiteral(gt)],t.createCallExpression(l("__classPrivateFieldSet"),void 0,It)}function qe(st,Ke){return e.requestEmitHelper(LJ),t.createCallExpression(l("__classPrivateFieldIn"),void 0,[st,Ke])}}function LSe(e,t){return e===t||e.priority===t.priority?0:e.priority===void 0?1:t.priority===void 0?-1:Cc(e.priority,t.priority)}function Xte(e,...t){return n=>{let s="";for(let l=0;l<t.length;l++)s+=e[l],s+=n(t[l]);return s+=e[e.length-1],s}}function Qte(){return MSe||(MSe=tT([uJ,fJ,_J,pJ,dJ,mJ,ew,hJ,gJ,yJ,vJ,bJ,TJ,SJ,kJ,EJ,xJ,CJ,wJ,AJ,G5,DJ,NJ,IJ,OJ,LJ,l4,PJ],e=>e.name))}function QP(e,t){return Da(e)&&Ye(e.expression)&&(Wa(e.expression)&8192)!==0&&e.expression.escapedText===t}var Yte,uJ,fJ,_J,pJ,dJ,mJ,ew,hJ,gJ,yJ,vJ,bJ,TJ,SJ,xJ,kJ,CJ,wJ,EJ,AJ,l4,PJ,G5,DJ,NJ,IJ,OJ,LJ,MSe,X5,Q5,OQe=p({"src/compiler/factory/emitHelpers.ts"(){aa(),Yte=(e=>(e.Field="f",e.Method="m",e.Accessor="a",e))(Yte||{}),uJ={name:"typescript:decorate",importName:"__decorate",scoped:!1,priority:2,text:`
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
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;
return c > 3 && r && Object.defineProperty(target, key, r), r;
};`},fJ={name:"typescript:metadata",importName:"__metadata",scoped:!1,priority:3,text:`
var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};`},_J={name:"typescript:param",importName:"__param",scoped:!1,priority:4,text:`
var __param = (this && this.__param) || function (paramIndex, decorator) {
return function (target, key) { decorator(target, key, paramIndex); }
};`},pJ={name:"typescript:esDecorate",importName:"__esDecorate",scoped:!1,priority:2,text:`
var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
var _, done = false;
for (var i = decorators.length - 1; i >= 0; i--) {
var context = {};
for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];
for (var p in contextIn.access) context.access[p] = contextIn.access[p];
context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
if (kind === "accessor") {
if (result === void 0) continue;
if (result === null || typeof result !== "object") throw new TypeError("Object expected");
if (_ = accept(result.get)) descriptor.get = _;
if (_ = accept(result.set)) descriptor.set = _;
if (_ = accept(result.init)) initializers.push(_);
}
else if (_ = accept(result)) {
if (kind === "field") initializers.push(_);
else descriptor[key] = _;
}
}
if (target) Object.defineProperty(target, contextIn.name, descriptor);
done = true;
};`},dJ={name:"typescript:runInitializers",importName:"__runInitializers",scoped:!1,priority:2,text:`
var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) {
var useValue = arguments.length > 2;
for (var i = 0; i < initializers.length; i++) {
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
}
return useValue ? value : void 0;
};`},mJ={name:"typescript:assign",importName:"__assign",scoped:!1,priority:1,text:`
var __assign = (this && this.__assign) || function () {
__assign = Object.assign || function(t) {
for (var s, i = 1, n = arguments.length; i < n; i++) {
s = arguments[i];
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
t[p] = s[p];
}
return t;
};
return __assign.apply(this, arguments);
};`},ew={name:"typescript:await",importName:"__await",scoped:!1,text:`
var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }`},hJ={name:"typescript:asyncGenerator",importName:"__asyncGenerator",scoped:!1,dependencies:[ew],text:`
var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
var g = generator.apply(thisArg, _arguments || []), i, q = [];
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
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); }); }; }
function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }
function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
function fulfill(value) { resume("next", value); }
function reject(value) { resume("throw", value); }
function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }
};`},gJ={name:"typescript:asyncDelegator",importName:"__asyncDelegator",scoped:!1,dependencies:[ew],text:`
var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {
var i, p;
return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }
};`},yJ={name:"typescript:asyncValues",importName:"__asyncValues",scoped:!1,text:`
var __asyncValues = (this && this.__asyncValues) || function (o) {
if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
var m = o[Symbol.asyncIterator], i;
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);
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); }); }; }
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
};`},vJ={name:"typescript:rest",importName:"__rest",scoped:!1,text:`
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
};`},bJ={name:"typescript:awaiter",importName:"__awaiter",scoped:!1,priority:5,text:`
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};`},TJ={name:"typescript:extends",importName:"__extends",scoped:!1,priority:0,text:`
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();`},SJ={name:"typescript:makeTemplateObject",importName:"__makeTemplateObject",scoped:!1,priority:0,text:`
var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
return cooked;
};`},xJ={name:"typescript:read",importName:"__read",scoped:!1,text:`
var __read = (this && this.__read) || function (o, n) {
var m = typeof Symbol === "function" && o[Symbol.iterator];
if (!m) return o;
var i = m.call(o), r, ar = [], e;
try {
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
}
catch (error) { e = { error: error }; }
finally {
try {
if (r && !r.done && (m = i["return"])) m.call(i);
}
finally { if (e) throw e.error; }
}
return ar;
};`},kJ={name:"typescript:spreadArray",importName:"__spreadArray",scoped:!1,text:`
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
if (ar || !(i in from)) {
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
ar[i] = from[i];
}
}
return to.concat(ar || Array.prototype.slice.call(from));
};`},CJ={name:"typescript:propKey",importName:"__propKey",scoped:!1,text:`
var __propKey = (this && this.__propKey) || function (x) {
return typeof x === "symbol" ? x : "".concat(x);
};`},wJ={name:"typescript:setFunctionName",importName:"__setFunctionName",scoped:!1,text:`
var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) {
if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
};`},EJ={name:"typescript:values",importName:"__values",scoped:!1,text:`
var __values = (this && this.__values) || function(o) {
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
if (m) return m.call(o);
if (o && typeof o.length === "number") return {
next: function () {
if (o && i >= o.length) o = void 0;
return { value: o && o[i++], done: !o };
}
};
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
};`},AJ={name:"typescript:generator",importName:"__generator",scoped:!1,priority:6,text:`
var __generator = (this && this.__generator) || function (thisArg, body) {
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
function verb(n) { return function (v) { return step([n, v]); }; }
function step(op) {
if (f) throw new TypeError("Generator is already executing.");
while (g && (g = 0, op[0] && (_ = 0)), _) try {
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;
if (y = 0, t) op = [op[0] & 2, t.value];
switch (op[0]) {
case 0: case 1: t = op; break;
case 4: _.label++; return { value: op[1], done: false };
case 5: _.label++; y = op[1]; op = [0]; continue;
case 7: op = _.ops.pop(); _.trys.pop(); continue;
default:
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
if (t[2]) _.ops.pop();
_.trys.pop(); continue;
}
op = body.call(thisArg, _);
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
}
};`},l4={name:"typescript:commonjscreatebinding",importName:"__createBinding",scoped:!1,priority:1,text:`
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));`},PJ={name:"typescript:commonjscreatevalue",importName:"__setModuleDefault",scoped:!1,priority:1,text:`
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});`},G5={name:"typescript:commonjsimportstar",importName:"__importStar",scoped:!1,dependencies:[l4,PJ],priority:2,text:`
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};`},DJ={name:"typescript:commonjsimportdefault",importName:"__importDefault",scoped:!1,text:`
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};`},NJ={name:"typescript:export-star",importName:"__exportStar",scoped:!1,dependencies:[l4],priority:2,text:`
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};`},IJ={name:"typescript:classPrivateFieldGet",importName:"__classPrivateFieldGet",scoped:!1,text:`
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
};`},OJ={name:"typescript:classPrivateFieldSet",importName:"__classPrivateFieldSet",scoped:!1,text:`
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
if (kind === "m") throw new TypeError("Private method is not writable");
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
};`},LJ={name:"typescript:classPrivateFieldIn",importName:"__classPrivateFieldIn",scoped:!1,text:`
var __classPrivateFieldIn = (this && this.__classPrivateFieldIn) || function(state, receiver) {
if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object");
return typeof state === "function" ? receiver === state : state.has(receiver);
};`},X5={name:"typescript:async-super",scoped:!0,text:Xte`
const ${"_superIndex"} = name => super[name];`},Q5={name:"typescript:advanced-async-super",scoped:!0,text:Xte`
const ${"_superIndex"} = (function (geti, seti) {
const cache = Object.create(null);
return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });
})(name => super[name], (name, value) => super[name] = value);`}}});function Td(e){return e.kind===8}function MJ(e){return e.kind===9}function yo(e){return e.kind===10}function tw(e){return e.kind===11}function Zte(e){return e.kind===13}function rw(e){return e.kind===14}function u4(e){return e.kind===15}function FSe(e){return e.kind===16}function Kte(e){return e.kind===17}function FJ(e){return e.kind===25}function RSe(e){return e.kind===27}function ere(e){return e.kind===39}function tre(e){return e.kind===40}function Y5(e){return e.kind===41}function Z5(e){return e.kind===53}function Tv(e){return e.kind===57}function BSe(e){return e.kind===58}function RJ(e){return e.kind===28}function jSe(e){return e.kind===38}function Ye(e){return e.kind===79}function as(e){return e.kind===80}function BJ(e){return e.kind===93}function JSe(e){return e.kind===88}function YP(e){return e.kind===132}function USe(e){return e.kind===129}function rre(e){return e.kind===133}function zSe(e){return e.kind===146}function nw(e){return e.kind===124}function VSe(e){return e.kind===126}function $Se(e){return e.kind===161}function qSe(e){return e.kind===127}function ZP(e){return e.kind===106}function KP(e){return e.kind===100}function WSe(e){return e.kind===82}function T_(e){return e.kind===163}function ac(e){return e.kind===164}function bl(e){return e.kind===165}function ua(e){return e.kind===166}function Df(e){return e.kind===167}function Np(e){return e.kind===168}function Pa(e){return e.kind===169}function zg(e){return e.kind===170}function zl(e){return e.kind===171}function fl(e){return e.kind===172}function Al(e){return e.kind===173}function Hd(e){return e.kind===174}function nd(e){return e.kind===175}function f4(e){return e.kind===176}function K5(e){return e.kind===177}function iw(e){return e.kind===178}function jJ(e){return e.kind===179}function Gd(e){return e.kind===180}function Vg(e){return e.kind===181}function eD(e){return e.kind===182}function tD(e){return e.kind===183}function _p(e){return e.kind===184}function nre(e){return e.kind===185}function _4(e){return e.kind===186}function rD(e){return e.kind===199}function ire(e){return e.kind===187}function sre(e){return e.kind===188}function sw(e){return e.kind===189}function eO(e){return e.kind===190}function p4(e){return e.kind===191}function d4(e){return e.kind===192}function aw(e){return e.kind===193}function JJ(e){return e.kind===194}function ow(e){return e.kind===195}function cw(e){return e.kind===196}function nD(e){return e.kind===197}function Hb(e){return e.kind===198}function zy(e){return e.kind===202}function HSe(e){return e.kind===201}function LQe(e){return e.kind===200}function tg(e){return e.kind===203}function m4(e){return e.kind===204}function qo(e){return e.kind===205}function Nf(e){return e.kind===206}function cc(e){return e.kind===207}function oi(e){return e.kind===208}function qc(e){return e.kind===209}function Da(e){return e.kind===210}function NT(e){return e.kind===211}function Mx(e){return e.kind===212}function GSe(e){return e.kind===213}function j_(e){return e.kind===214}function yc(e){return e.kind===215}function Ac(e){return e.kind===216}function XSe(e){return e.kind===217}function h4(e){return e.kind===218}function lw(e){return e.kind===219}function g4(e){return e.kind===220}function Sv(e){return e.kind===221}function are(e){return e.kind===222}function $n(e){return e.kind===223}function y4(e){return e.kind===224}function UJ(e){return e.kind===225}function zJ(e){return e.kind===226}function $g(e){return e.kind===227}function If(e){return e.kind===228}function yu(e){return e.kind===229}function n1(e){return e.kind===230}function tO(e){return e.kind===231}function MQe(e){return e.kind===235}function uw(e){return e.kind===232}function iD(e){return e.kind===233}function FQe(e){return e.kind===234}function VJ(e){return e.kind===356}function sD(e){return e.kind===357}function aD(e){return e.kind===236}function QSe(e){return e.kind===237}function Fa(e){return e.kind===238}function Xl(e){return e.kind===240}function ore(e){return e.kind===239}function Gu(e){return e.kind===241}function Fx(e){return e.kind===242}function RQe(e){return e.kind===243}function BQe(e){return e.kind===244}function Rx(e){return e.kind===245}function cre(e){return e.kind===246}function rO(e){return e.kind===247}function jQe(e){return e.kind===248}function JQe(e){return e.kind===249}function Sm(e){return e.kind===250}function YSe(e){return e.kind===251}function nO(e){return e.kind===252}function IT(e){return e.kind===253}function lre(e){return e.kind===254}function iO(e){return e.kind===255}function UQe(e){return e.kind===256}function xs(e){return e.kind===257}function Of(e){return e.kind===258}function ru(e){return e.kind===259}function vu(e){return e.kind===260}function Yf(e){return e.kind===261}function sh(e){return e.kind===262}function Gb(e){return e.kind===263}function Pl(e){return e.kind===264}function ah(e){return e.kind===265}function sO(e){return e.kind===266}function aO(e){return e.kind===267}function Xu(e){return e.kind===268}function Nu(e){return e.kind===269}function rg(e){return e.kind===270}function ZSe(e){return e.kind===298}function $J(e){return e.kind===296}function KSe(e){return e.kind===297}function xv(e){return e.kind===271}function qg(e){return e.kind===277}function i1(e){return e.kind===272}function S_(e){return e.kind===273}function Tl(e){return e.kind===274}function Uu(e){return e.kind===275}function Xd(e){return e.kind===276}function i_(e){return e.kind===278}function zQe(e){return e.kind===279}function ure(e){return e.kind===355}function fw(e){return e.kind===360}function VQe(e){return e.kind===358}function $Qe(e){return e.kind===359}function ng(e){return e.kind===280}function s1(e){return e.kind===281}function _w(e){return e.kind===282}function Wg(e){return e.kind===283}function pw(e){return e.kind===284}function dw(e){return e.kind===285}function mw(e){return e.kind===286}function exe(e){return e.kind===287}function oh(e){return e.kind===288}function OT(e){return e.kind===289}function Bx(e){return e.kind===290}function oD(e){return e.kind===291}function cD(e){return e.kind===292}function oO(e){return e.kind===293}function J_(e){return e.kind===294}function v4(e){return e.kind===295}function Iu(e){return e.kind===299}function id(e){return e.kind===300}function hw(e){return e.kind===301}function LT(e){return e.kind===302}function txe(e){return e.kind===304}function bs(e){return e.kind===308}function fre(e){return e.kind===309}function jx(e){return e.kind===310}function Jx(e){return e.kind===312}function lD(e){return e.kind===313}function Xb(e){return e.kind===314}function rxe(e){return e.kind===327}function nxe(e){return e.kind===328}function qQe(e){return e.kind===329}function ixe(e){return e.kind===315}function sxe(e){return e.kind===316}function b4(e){return e.kind===317}function qJ(e){return e.kind===318}function _re(e){return e.kind===319}function T4(e){return e.kind===320}function WJ(e){return e.kind===321}function WQe(e){return e.kind===322}function ig(e){return e.kind===323}function uD(e){return e.kind===325}function MT(e){return e.kind===326}function S4(e){return e.kind===331}function HQe(e){return e.kind===333}function axe(e){return e.kind===335}function pre(e){return e.kind===341}function dre(e){return e.kind===336}function mre(e){return e.kind===337}function hre(e){return e.kind===338}function gre(e){return e.kind===339}function HJ(e){return e.kind===340}function fD(e){return e.kind===342}function yre(e){return e.kind===334}function GQe(e){return e.kind===350}function cO(e){return e.kind===343}function ch(e){return e.kind===344}function GJ(e){return e.kind===345}function oxe(e){return e.kind===346}function _D(e){return e.kind===347}function xm(e){return e.kind===348}function vre(e){return e.kind===349}function XQe(e){return e.kind===330}function cxe(e){return e.kind===351}function bre(e){return e.kind===332}function XJ(e){return e.kind===353}function QQe(e){return e.kind===352}function x4(e){return e.kind===354}var YQe=p({"src/compiler/factory/nodeTests.ts"(){aa()}});function lO(e){return e.createExportDeclaration(void 0,!1,e.createNamedExports([]),void 0)}function Ux(e,t,n,s){if(ac(n))return Et(e.createElementAccessExpression(t,n.expression),s);{const l=Et(Ny(n)?e.createPropertyAccessExpression(t,n):e.createElementAccessExpression(t,n),n);return ih(l,128),l}}function Tre(e,t){const n=sg.createIdentifier(e||"React");return go(n,qs(t)),n}function Sre(e,t,n){if(T_(t)){const s=Sre(e,t.left,n),l=e.createIdentifier(ai(t.right));return l.escapedText=t.right.escapedText,e.createPropertyAccessExpression(s,l)}else return Tre(ai(t),n)}function xre(e,t,n,s){return t?Sre(e,t,s):e.createPropertyAccessExpression(Tre(n,s),"createElement")}function ZQe(e,t,n,s){return t?Sre(e,t,s):e.createPropertyAccessExpression(Tre(n,s),"Fragment")}function lxe(e,t,n,s,l,f){const d=[n];if(s&&d.push(s),l&&l.length>0)if(s||d.push(e.createNull()),l.length>1)for(const g of l)Lf(g),d.push(g);else d.push(l[0]);return Et(e.createCallExpression(t,void 0,d),f)}function uxe(e,t,n,s,l,f,d){const h=[ZQe(e,n,s,f),e.createNull()];if(l&&l.length>0)if(l.length>1)for(const k of l)Lf(k),h.push(k);else h.push(l[0]);return Et(e.createCallExpression(xre(e,t,s,f),void 0,h),d)}function kre(e,t,n){if(Of(t)){const s=Uo(t.declarations),l=e.updateVariableDeclaration(s,s.name,void 0,void 0,n);return Et(e.createVariableStatement(void 0,e.updateVariableDeclarationList(t,[l])),t)}else{const s=Et(e.createAssignment(t,n),t);return Et(e.createExpressionStatement(s),t)}}function KQe(e,t,n){return Fa(t)?e.updateBlock(t,Et(e.createNodeArray([n,...t.statements]),t.statements)):e.createBlock(e.createNodeArray([t,n]),!0)}function uO(e,t){if(T_(t)){const n=uO(e,t.left),s=go(Et(e.cloneNode(t.right),t.right),t.right.parent);return Et(e.createPropertyAccessExpression(n,s),t)}else return go(Et(e.cloneNode(t),t),t.parent)}function Cre(e,t){return Ye(t)?e.createStringLiteralFromNode(t):ac(t)?go(Et(e.cloneNode(t.expression),t.expression),t.expression.parent):go(Et(e.cloneNode(t),t),t.parent)}function eYe(e,t,n,s,l){const{firstAccessor:f,getAccessor:d,setAccessor:g}=Dx(t,n);if(n===f)return Et(e.createObjectDefinePropertyCall(s,Cre(e,n.name),e.createPropertyDescriptor({enumerable:e.createFalse(),configurable:!0,get:d&&Et(di(e.createFunctionExpression(fx(d),void 0,void 0,void 0,d.parameters,void 0,d.body),d),d),set:g&&Et(di(e.createFunctionExpression(fx(g),void 0,void 0,void 0,g.parameters,void 0,g.body),g),g)},!l)),f)}function tYe(e,t,n){return di(Et(e.createAssignment(Ux(e,n,t.name,t.name),t.initializer),t),t)}function rYe(e,t,n){return di(Et(e.createAssignment(Ux(e,n,t.name,t.name),e.cloneNode(t.name)),t),t)}function nYe(e,t,n){return di(Et(e.createAssignment(Ux(e,n,t.name,t.name),di(Et(e.createFunctionExpression(fx(t),t.asteriskToken,void 0,void 0,t.parameters,void 0,t.body),t),t)),t),t)}function fxe(e,t,n,s){switch(n.name&&as(n.name)&&R.failBadSyntaxKind(n.name,"Private identifiers are not allowed in object literals."),n.kind){case 174:case 175:return eYe(e,t.properties,n,s,!!t.multiLine);case 299:return tYe(e,n,s);case 300:return rYe(e,n,s);case 171:return nYe(e,n,s)}}function QJ(e,t,n,s,l){const f=t.operator;R.assert(f===45||f===46,"Expected 'node' to be a pre- or post-increment or pre- or post-decrement expression");const d=e.createTempVariable(s);n=e.createAssignment(d,n),Et(n,t.operand);let g=Sv(t)?e.createPrefixUnaryExpression(f,d):e.createPostfixUnaryExpression(d,f);return Et(g,t),l&&(g=e.createAssignment(l,g),Et(g,t)),n=e.createComma(n,g),Et(n,t),are(t)&&(n=e.createComma(n,d),Et(n,t)),n}function wre(e){return(Wa(e)&65536)!==0}function kv(e){return(Wa(e)&32768)!==0}function YJ(e){return(Wa(e)&16384)!==0}function _xe(e){return yo(e.expression)&&e.expression.text==="use strict"}function Ere(e){for(const t of e)if(vm(t)){if(_xe(t))return t}else break}function pxe(e){const t=Ru(e);return t!==void 0&&vm(t)&&_xe(t)}function fO(e){return e.kind===223&&e.operatorToken.kind===27}function pD(e){return fO(e)||sD(e)}function dD(e){return j_(e)&&Mn(e)&&!!uT(e)}function ZJ(e){const t=cv(e);return R.assertIsDefined(t),t}function KJ(e,t=15){switch(e.kind){case 214:return t&16&&dD(e)?!1:(t&1)!==0;case 213:case 231:case 230:case 235:return(t&2)!==0;case 232:return(t&4)!==0;case 356:return(t&8)!==0}return!1}function uf(e,t=15){for(;KJ(e,t);)e=e.expression;return e}function dxe(e,t=15){let n=e.parent;for(;KJ(n,t);)n=n.parent,R.assert(n);return n}function iYe(e){return uf(e,6)}function Lf(e){return qte(e,!0)}function _O(e){const t=sl(e,bs),n=t&&t.emitNode;return n&&n.externalHelpersModuleName}function mxe(e){const t=sl(e,bs),n=t&&t.emitNode;return!!n&&(!!n.externalHelpersModuleName||!!n.externalHelpers)}function Are(e,t,n,s,l,f,d){if(s.importHelpers&&OC(n,s)){let g;const h=Hu(s);if(h>=5&&h<=99||n.impliedNodeFormat===99){const k=lJ(n);if(k){const S=[];for(const w of k)if(!w.scoped){const N=w.importName;N&&ip(S,N)}if(Oe(S)){S.sort(wf),g=e.createNamedImports(qt(S,O=>WB(n,O)?e.createImportSpecifier(!1,void 0,e.createIdentifier(O)):e.createImportSpecifier(!1,e.createIdentifier(O),t.getUnscopedHelperName(O))));const w=sl(n,bs),N=Qf(w);N.externalHelpers=!0}}}else{const k=hxe(e,n,s,l,f||d);k&&(g=e.createNamespaceImport(k))}if(g){const k=e.createImportDeclaration(void 0,e.createImportClause(!1,void 0,g),e.createStringLiteral(qb),void 0);return ZC(k,2),k}}}function hxe(e,t,n,s,l){if(n.importHelpers&&OC(t,n)){const f=_O(t);if(f)return f;const d=Hu(n);let g=(s||Zh(n)&&l)&&d!==4&&(d<5||t.impliedNodeFormat===1);if(!g){const h=lJ(t);if(h){for(const k of h)if(!k.scoped){g=!0;break}}}if(g){const h=sl(t,bs),k=Qf(h);return k.externalHelpersModuleName||(k.externalHelpersModuleName=e.createUniqueName(qb))}}}function k4(e,t,n){const s=j6(t);if(s&&!RC(t)&&!GB(t)){const l=s.name;return al(l)?l:e.createIdentifier(mT(n,l)||ai(l))}if(t.kind===269&&t.importClause||t.kind===275&&t.moduleSpecifier)return e.getGeneratedNameForNode(t)}function gw(e,t,n,s,l,f){const d=B6(t);if(d&&yo(d))return aYe(t,s,e,l,f)||sYe(e,d,n)||e.cloneNode(d)}function sYe(e,t,n){const s=n.renamedDependencies&&n.renamedDependencies.get(t.text);return s?e.createStringLiteral(s):void 0}function pO(e,t,n,s){if(t){if(t.moduleName)return e.createStringLiteral(t.moduleName);if(!t.isDeclarationFile&&Ec(s))return e.createStringLiteral(See(n,t.fileName))}}function aYe(e,t,n,s,l){return pO(n,s.getExternalModuleFileFromDeclaration(e),t,l)}function dO(e){if(g7(e))return e.initializer;if(Iu(e)){const t=e.initializer;return Xf(t,!0)?t.right:void 0}if(id(e))return e.objectAssignmentInitializer;if(Xf(e,!0))return e.right;if($g(e))return dO(e.expression)}function Cv(e){if(g7(e))return e.name;if(X0(e)){switch(e.kind){case 299:return Cv(e.initializer);case 300:return e.name;case 301:return Cv(e.expression)}return}return Xf(e,!0)?Cv(e.left):$g(e)?Cv(e.expression):e}function eU(e){switch(e.kind){case 166:case 205:return e.dotDotDotToken;case 227:case 301:return e}}function Pre(e){const t=tU(e);return R.assert(!!t||hw(e),"Invalid property name for binding element."),t}function tU(e){switch(e.kind){case 205:if(e.propertyName){const n=e.propertyName;return as(n)?R.failBadSyntaxKind(n):ac(n)&&gxe(n.expression)?n.expression:n}break;case 299:if(e.name){const n=e.name;return as(n)?R.failBadSyntaxKind(n):ac(n)&&gxe(n.expression)?n.expression:n}break;case 301:return e.name&&as(e.name)?R.failBadSyntaxKind(e.name):e.name}const t=Cv(e);if(t&&rl(t))return t}function gxe(e){const t=e.kind;return t===10||t===8}function C4(e){switch(e.kind){case 203:case 204:case 206:return e.elements;case 207:return e.properties}}function Dre(e){if(e){let t=e;for(;;){if(Ye(t)||!t.body)return Ye(t)?t:t.name;t=t.body}}}function oYe(e){const t=e.kind;return t===173||t===175}function yxe(e){const t=e.kind;return t===173||t===174||t===175}function Nre(e){const t=e.kind;return t===299||t===300||t===259||t===173||t===178||t===172||t===279||t===240||t===261||t===262||t===263||t===264||t===268||t===269||t===267||t===275||t===274}function vxe(e){const t=e.kind;return t===172||t===299||t===300||t===279||t===267}function bxe(e){return Tv(e)||Z5(e)}function Txe(e){return Ye(e)||JJ(e)}function Sxe(e){return zSe(e)||ere(e)||tre(e)}function xxe(e){return Tv(e)||ere(e)||tre(e)}function kxe(e){return Ye(e)||yo(e)}function cYe(e){const t=e.kind;return t===104||t===110||t===95||px(e)||Sv(e)}function lYe(e){return e===42}function uYe(e){return e===41||e===43||e===44}function fYe(e){return lYe(e)||uYe(e)}function _Ye(e){return e===39||e===40}function pYe(e){return _Ye(e)||fYe(e)}function dYe(e){return e===47||e===48||e===49}function mYe(e){return dYe(e)||pYe(e)}function hYe(e){return e===29||e===32||e===31||e===33||e===102||e===101}function gYe(e){return hYe(e)||mYe(e)}function yYe(e){return e===34||e===36||e===35||e===37}function vYe(e){return yYe(e)||gYe(e)}function bYe(e){return e===50||e===51||e===52}function TYe(e){return bYe(e)||vYe(e)}function SYe(e){return e===55||e===56}function xYe(e){return SYe(e)||TYe(e)}function kYe(e){return e===60||xYe(e)||Z0(e)}function CYe(e){return kYe(e)||e===27}function Cxe(e){return CYe(e.kind)}function rU(e,t,n,s,l,f){const d=new Nxe(e,t,n,s,l,f);return g;function g(h,k){const S={value:void 0},w=[sU.enter],N=[h],O=[void 0];let L=0;for(;w[L]!==sU.done;)L=w[L](d,L,w,N,O,S,k);return R.assertEqual(L,0),S.value}}function wxe(e){return e===93||e===88}function Ire(e){const t=e.kind;return wxe(t)}function wYe(e){const t=e.kind;return G0(t)&&!wxe(t)}function Exe(e,t){if(t!==void 0)return t.length===0?t:Et(e.createNodeArray([],t.hasTrailingComma),t)}function nU(e){var t;const n=e.emitNode.autoGenerate;if(n.flags&4){const s=n.id;let l=e,f=l.original;for(;f;){l=f;const d=(t=l.emitNode)==null?void 0:t.autoGenerate;if(Ny(l)&&(d===void 0||d.flags&4&&d.id!==s))break;f=l.original}return l}return e}function w4(e,t){return typeof e=="object"?zx(!1,e.prefix,e.node,e.suffix,t):typeof e=="string"?e.length>0&&e.charCodeAt(0)===35?e.slice(1):e:""}function EYe(e,t){return typeof e=="string"?e:AYe(e,R.checkDefined(t))}function AYe(e,t){return PC(e)?t(e).slice(1):al(e)?t(e):as(e)?e.escapedText.slice(1):ai(e)}function zx(e,t,n,s,l){return t=w4(t,l),s=w4(s,l),n=EYe(n,l),`${e?"#":""}${t}${n}${s}`}function Ore(e,t,n,s){return e.updatePropertyDeclaration(t,n,e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage"),void 0,void 0,s)}function Axe(e,t,n,s){return e.createGetAccessorDeclaration(n,s,[],void 0,e.createBlock([e.createReturnStatement(e.createPropertyAccessExpression(e.createThis(),e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage")))]))}function Pxe(e,t,n,s){return e.createSetAccessorDeclaration(n,s,[e.createParameterDeclaration(void 0,void 0,"value")],e.createBlock([e.createExpressionStatement(e.createAssignment(e.createPropertyAccessExpression(e.createThis(),e.getGeneratedPrivateNameForNode(t.name,void 0,"_accessor_storage")),e.createIdentifier("value")))]))}function iU(e){let t=e.expression;for(;;){if(t=uf(t),sD(t)){t=ko(t.elements);continue}if(fO(t)){t=t.right;continue}if(Xf(t,!0)&&al(t.left))return t;break}}function PYe(e){return j_(e)&&Mc(e)&&!e.emitNode}function mO(e,t){if(PYe(e))mO(e.expression,t);else if(fO(e))mO(e.left,t),mO(e.right,t);else if(sD(e))for(const n of e.elements)mO(n,t);else t.push(e)}function Dxe(e){const t=[];return mO(e,t),t}function hO(e){if(e.transformFlags&65536)return!0;if(e.transformFlags&128)for(const t of C4(e)){const n=Cv(t);if(n&&tP(n)&&(n.transformFlags&65536||n.transformFlags&128&&hO(n)))return!0}return!1}var sU,Nxe,DYe=p({"src/compiler/factory/utilities.ts"(){aa(),(e=>{function t(S,w,N,O,L,U,M){const W=w>0?L[w-1]:void 0;return R.assertEqual(N[w],t),L[w]=S.onEnter(O[w],W,M),N[w]=g(S,t),w}e.enter=t;function n(S,w,N,O,L,U,M){R.assertEqual(N[w],n),R.assertIsDefined(S.onLeft),N[w]=g(S,n);const W=S.onLeft(O[w].left,L[w],O[w]);return W?(k(w,O,W),h(w,N,O,L,W)):w}e.left=n;function s(S,w,N,O,L,U,M){return R.assertEqual(N[w],s),R.assertIsDefined(S.onOperator),N[w]=g(S,s),S.onOperator(O[w].operatorToken,L[w],O[w]),w}e.operator=s;function l(S,w,N,O,L,U,M){R.assertEqual(N[w],l),R.assertIsDefined(S.onRight),N[w]=g(S,l);const W=S.onRight(O[w].right,L[w],O[w]);return W?(k(w,O,W),h(w,N,O,L,W)):w}e.right=l;function f(S,w,N,O,L,U,M){R.assertEqual(N[w],f),N[w]=g(S,f);const W=S.onExit(O[w],L[w]);if(w>0){if(w--,S.foldState){const X=N[w]===f?"right":"left";L[w]=S.foldState(L[w],W,X)}}else U.value=W;return w}e.exit=f;function d(S,w,N,O,L,U,M){return R.assertEqual(N[w],d),w}e.done=d;function g(S,w){switch(w){case t:if(S.onLeft)return n;case n:if(S.onOperator)return s;case s:if(S.onRight)return l;case l:return f;case f:return d;case d:return d;default:R.fail("Invalid state")}}e.nextState=g;function h(S,w,N,O,L){return S++,w[S]=t,N[S]=L,O[S]=void 0,S}function k(S,w,N){if(R.shouldAssert(2))for(;S>=0;)R.assert(w[S]!==N,"Circular traversal detected."),S--}})(sU||(sU={})),Nxe=class{constructor(e,t,n,s,l,f){this.onEnter=e,this.onLeft=t,this.onOperator=n,this.onRight=s,this.onExit=l,this.foldState=f}}}});function Et(e,t){return t?Kh(e,t.pos,t.end):e}function Qd(e){const t=e.kind;return t===165||t===166||t===168||t===169||t===170||t===171||t===173||t===174||t===175||t===178||t===182||t===215||t===216||t===228||t===240||t===259||t===260||t===261||t===262||t===263||t===264||t===268||t===269||t===274||t===275}function yw(e){const t=e.kind;return t===166||t===169||t===171||t===174||t===175||t===228||t===260}var NYe=p({"src/compiler/factory/utilitiesPublic.ts"(){aa()}});function ur(e,t){return t&&e(t)}function rs(e,t,n){if(n){if(t)return t(n);for(const s of n){const l=e(s);if(l)return l}}}function Lre(e,t){return e.charCodeAt(t+1)===42&&e.charCodeAt(t+2)===42&&e.charCodeAt(t+3)!==47}function gO(e){return Q(e.statements,IYe)||OYe(e)}function IYe(e){return Qd(e)&&LYe(e,93)||Xu(e)&&ng(e.moduleReference)||Nu(e)||Tl(e)||Uu(e)?e:void 0}function OYe(e){return e.flags&4194304?Ixe(e):void 0}function Ixe(e){return MYe(e)?e:ca(e,Ixe)}function LYe(e,t){return Oe(e.modifiers,n=>n.kind===t)}function MYe(e){return iD(e)&&e.keywordToken===100&&e.name.escapedText==="meta"}function Oxe(e,t,n){return rs(t,n,e.typeParameters)||rs(t,n,e.parameters)||ur(t,e.type)}function Lxe(e,t,n){return rs(t,n,e.types)}function Mxe(e,t,n){return ur(t,e.type)}function Fxe(e,t,n){return rs(t,n,e.elements)}function Rxe(e,t,n){return ur(t,e.expression)||ur(t,e.questionDotToken)||rs(t,n,e.typeArguments)||rs(t,n,e.arguments)}function Bxe(e,t,n){return rs(t,n,e.statements)}function jxe(e,t,n){return ur(t,e.label)}function Jxe(e,t,n){return rs(t,n,e.modifiers)||ur(t,e.name)||rs(t,n,e.typeParameters)||rs(t,n,e.heritageClauses)||rs(t,n,e.members)}function Uxe(e,t,n){return rs(t,n,e.elements)}function zxe(e,t,n){return ur(t,e.propertyName)||ur(t,e.name)}function Vxe(e,t,n){return ur(t,e.tagName)||rs(t,n,e.typeArguments)||ur(t,e.attributes)}function E4(e,t,n){return ur(t,e.type)}function $xe(e,t,n){return ur(t,e.tagName)||(e.isNameFirst?ur(t,e.name)||ur(t,e.typeExpression):ur(t,e.typeExpression)||ur(t,e.name))||(typeof e.comment=="string"?void 0:rs(t,n,e.comment))}function A4(e,t,n){return ur(t,e.tagName)||ur(t,e.typeExpression)||(typeof e.comment=="string"?void 0:rs(t,n,e.comment))}function Mre(e,t,n){return ur(t,e.name)}function vw(e,t,n){return ur(t,e.tagName)||(typeof e.comment=="string"?void 0:rs(t,n,e.comment))}function FYe(e,t,n){return ur(t,e.expression)}function ca(e,t,n){if(e===void 0||e.kind<=162)return;const s=eke[e.kind];return s===void 0?void 0:s(e,t,n)}function yO(e,t,n){const s=qxe(e),l=[];for(;l.length<s.length;)l.push(e);for(;s.length!==0;){const f=s.pop(),d=l.pop();if(pa(f)){if(n){const g=n(f,d);if(g){if(g==="skip")continue;return g}}for(let g=f.length-1;g>=0;--g)s.push(f[g]),l.push(d)}else{const g=t(f,d);if(g){if(g==="skip")continue;return g}if(f.kind>=163)for(const h of qxe(f))s.push(h),l.push(f)}}}function qxe(e){const t=[];return ca(e,n,n),t;function n(s){t.unshift(s)}}function Wxe(e){e.externalModuleIndicator=gO(e)}function vO(e,t,n,s=!1,l){var f,d;(f=Hi)==null||f.push(Hi.Phase.Parse,"createSourceFile",{path:e},!0),Uc("beforeParse");let g;Qm.logStartParseSourceFile(e);const{languageVersion:h,setExternalModuleIndicator:k,impliedNodeFormat:S}=typeof n=="object"?n:{languageVersion:n};if(h===100)g=wv.parseSourceFile(e,t,h,void 0,s,6,La);else{const w=S===void 0?k:N=>(N.impliedNodeFormat=S,(k||Wxe)(N));g=wv.parseSourceFile(e,t,h,void 0,s,l,w)}return Qm.logStopParseSourceFile(),Uc("afterParse"),Qp("Parse","beforeParse","afterParse"),(d=Hi)==null||d.pop(),g}function bw(e,t){return wv.parseIsolatedEntityName(e,t)}function bO(e,t){return wv.parseJsonText(e,t)}function Fl(e){return e.externalModuleIndicator!==void 0}function Fre(e,t,n,s=!1){const l=aU.updateSourceFile(e,t,n,s);return l.flags|=e.flags&6291456,l}function Hxe(e,t,n){const s=wv.JSDocParser.parseIsolatedJSDocComment(e,t,n);return s&&s.jsDoc&&wv.fixupParentReferences(s.jsDoc),s}function RYe(e,t,n){return wv.JSDocParser.parseJSDocTypeExpressionForTests(e,t,n)}function s_(e){return cu(e,nJ)||Gl(e,".ts")&&nf(sf(e),".d.")}function BYe(e,t,n,s){if(e){if(e==="import")return 99;if(e==="require")return 1;s(t,n-t,v.resolution_mode_should_be_either_require_or_import)}}function Rre(e,t){const n=[];for(const s of Ng(t,0)||pt){const l=t.substring(s.pos,s.end);JYe(n,s,l)}e.pragmas=new Map;for(const s of n){if(e.pragmas.has(s.name)){const l=e.pragmas.get(s.name);l instanceof Array?l.push(s.args):e.pragmas.set(s.name,[l,s.args]);continue}e.pragmas.set(s.name,s.args)}}function Bre(e,t){e.checkJsDirective=void 0,e.referencedFiles=[],e.typeReferenceDirectives=[],e.libReferenceDirectives=[],e.amdDependencies=[],e.hasNoDefaultLib=!1,e.pragmas.forEach((n,s)=>{switch(s){case"reference":{const l=e.referencedFiles,f=e.typeReferenceDirectives,d=e.libReferenceDirectives;Q(RI(n),g=>{const{types:h,lib:k,path:S,["resolution-mode"]:w}=g.arguments;if(g.arguments["no-default-lib"])e.hasNoDefaultLib=!0;else if(h){const N=BYe(w,h.pos,h.end,t);f.push({pos:h.pos,end:h.end,fileName:h.value,...N?{resolutionMode:N}:{}})}else k?d.push({pos:k.pos,end:k.end,fileName:k.value}):S?l.push({pos:S.pos,end:S.end,fileName:S.value}):t(g.range.pos,g.range.end-g.range.pos,v.Invalid_reference_directive_syntax)});break}case"amd-dependency":{e.amdDependencies=qt(RI(n),l=>({name:l.arguments.name,path:l.arguments.path}));break}case"amd-module":{if(n instanceof Array)for(const l of n)e.moduleName&&t(l.range.pos,l.range.end-l.range.pos,v.An_AMD_module_cannot_have_multiple_name_assignments),e.moduleName=l.arguments.name;else e.moduleName=n.arguments.name;break}case"ts-nocheck":case"ts-check":{Q(RI(n),l=>{(!e.checkJsDirective||l.range.pos>e.checkJsDirective.pos)&&(e.checkJsDirective={enabled:s==="ts-check",end:l.range.end,pos:l.range.pos})});break}case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:R.fail("Unhandled pragma kind")}})}function jYe(e){if(oU.has(e))return oU.get(e);const t=new RegExp(`(\\s${e}\\s*=\\s*)(?:(?:'([^']*)')|(?:"([^"]*)"))`,"im");return oU.set(e,t),t}function JYe(e,t,n){const s=t.kind===2&&tke.exec(n);if(s){const f=s[1].toLowerCase(),d=HI[f];if(!d||!(d.kind&1))return;if(d.args){const g={};for(const h of d.args){const S=jYe(h.name).exec(n);if(!S&&!h.optional)return;if(S){const w=S[2]||S[3];if(h.captureSpan){const N=t.pos+S.index+S[1].length+1;g[h.name]={value:w,pos:N,end:N+w.length}}else g[h.name]=w}}e.push({name:f,args:{arguments:g,range:t}})}else e.push({name:f,args:{arguments:{},range:t}});return}const l=t.kind===2&&rke.exec(n);if(l)return Gxe(e,t,2,l);if(t.kind===3){const f=/@(\S+)(\s+.*)?$/gim;let d;for(;d=f.exec(n);)Gxe(e,t,4,d)}}function Gxe(e,t,n,s){if(!s)return;const l=s[1].toLowerCase(),f=HI[l];if(!f||!(f.kind&n))return;const d=s[2],g=UYe(f,d);g!=="fail"&&e.push({name:l,args:{arguments:g,range:t}})}function UYe(e,t){if(!t)return{};if(!e.args)return{};const n=sT(t).split(/\s+/),s={};for(let l=0;l<e.args.length;l++){const f=e.args[l];if(!n[l]&&!f.optional)return"fail";if(f.captureSpan)return R.fail("Capture spans not yet implemented for non-xml pragmas");s[f.name]=n[l]}return s}function Qb(e,t){return e.kind!==t.kind?!1:e.kind===79?e.escapedText===t.escapedText:e.kind===108?!0:e.name.escapedText===t.name.escapedText&&Qb(e.expression,t.expression)}var Xxe,Qxe,Yxe,Zxe,Kxe,jre,sg,eke,wv,aU,oU,tke,rke,zYe=p({"src/compiler/parser.ts"(){aa(),aa(),oT(),jre={createBaseSourceFileNode:e=>new(Kxe||(Kxe=Pu.getSourceFileConstructor()))(e,-1,-1),createBaseIdentifierNode:e=>new(Yxe||(Yxe=Pu.getIdentifierConstructor()))(e,-1,-1),createBasePrivateIdentifierNode:e=>new(Zxe||(Zxe=Pu.getPrivateIdentifierConstructor()))(e,-1,-1),createBaseTokenNode:e=>new(Qxe||(Qxe=Pu.getTokenConstructor()))(e,-1,-1),createBaseNode:e=>new(Xxe||(Xxe=Pu.getNodeConstructor()))(e,-1,-1)},sg=j5(1,jre),eke={[163]:function(t,n,s){return ur(n,t.left)||ur(n,t.right)},[165]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.name)||ur(n,t.constraint)||ur(n,t.default)||ur(n,t.expression)},[300]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.name)||ur(n,t.questionToken)||ur(n,t.exclamationToken)||ur(n,t.equalsToken)||ur(n,t.objectAssignmentInitializer)},[301]:function(t,n,s){return ur(n,t.expression)},[166]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.dotDotDotToken)||ur(n,t.name)||ur(n,t.questionToken)||ur(n,t.type)||ur(n,t.initializer)},[169]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.name)||ur(n,t.questionToken)||ur(n,t.exclamationToken)||ur(n,t.type)||ur(n,t.initializer)},[168]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.name)||ur(n,t.questionToken)||ur(n,t.type)||ur(n,t.initializer)},[299]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.name)||ur(n,t.questionToken)||ur(n,t.exclamationToken)||ur(n,t.initializer)},[257]:function(t,n,s){return ur(n,t.name)||ur(n,t.exclamationToken)||ur(n,t.type)||ur(n,t.initializer)},[205]:function(t,n,s){return ur(n,t.dotDotDotToken)||ur(n,t.propertyName)||ur(n,t.name)||ur(n,t.initializer)},[178]:function(t,n,s){return rs(n,s,t.modifiers)||rs(n,s,t.typeParameters)||rs(n,s,t.parameters)||ur(n,t.type)},[182]:function(t,n,s){return rs(n,s,t.modifiers)||rs(n,s,t.typeParameters)||rs(n,s,t.parameters)||ur(n,t.type)},[181]:function(t,n,s){return rs(n,s,t.modifiers)||rs(n,s,t.typeParameters)||rs(n,s,t.parameters)||ur(n,t.type)},[176]:Oxe,[177]:Oxe,[171]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.asteriskToken)||ur(n,t.name)||ur(n,t.questionToken)||ur(n,t.exclamationToken)||rs(n,s,t.typeParameters)||rs(n,s,t.parameters)||ur(n,t.type)||ur(n,t.body)},[170]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.name)||ur(n,t.questionToken)||rs(n,s,t.typeParameters)||rs(n,s,t.parameters)||ur(n,t.type)},[173]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.name)||rs(n,s,t.typeParameters)||rs(n,s,t.parameters)||ur(n,t.type)||ur(n,t.body)},[174]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.name)||rs(n,s,t.typeParameters)||rs(n,s,t.parameters)||ur(n,t.type)||ur(n,t.body)},[175]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.name)||rs(n,s,t.typeParameters)||rs(n,s,t.parameters)||ur(n,t.type)||ur(n,t.body)},[259]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.asteriskToken)||ur(n,t.name)||rs(n,s,t.typeParameters)||rs(n,s,t.parameters)||ur(n,t.type)||ur(n,t.body)},[215]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.asteriskToken)||ur(n,t.name)||rs(n,s,t.typeParameters)||rs(n,s,t.parameters)||ur(n,t.type)||ur(n,t.body)},[216]:function(t,n,s){return rs(n,s,t.modifiers)||rs(n,s,t.typeParameters)||rs(n,s,t.parameters)||ur(n,t.type)||ur(n,t.equalsGreaterThanToken)||ur(n,t.body)},[172]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.body)},[180]:function(t,n,s){return ur(n,t.typeName)||rs(n,s,t.typeArguments)},[179]:function(t,n,s){return ur(n,t.assertsModifier)||ur(n,t.parameterName)||ur(n,t.type)},[183]:function(t,n,s){return ur(n,t.exprName)||rs(n,s,t.typeArguments)},[184]:function(t,n,s){return rs(n,s,t.members)},[185]:function(t,n,s){return ur(n,t.elementType)},[186]:function(t,n,s){return rs(n,s,t.elements)},[189]:Lxe,[190]:Lxe,[191]:function(t,n,s){return ur(n,t.checkType)||ur(n,t.extendsType)||ur(n,t.trueType)||ur(n,t.falseType)},[192]:function(t,n,s){return ur(n,t.typeParameter)},[202]:function(t,n,s){return ur(n,t.argument)||ur(n,t.assertions)||ur(n,t.qualifier)||rs(n,s,t.typeArguments)},[298]:function(t,n,s){return ur(n,t.assertClause)},[193]:Mxe,[195]:Mxe,[196]:function(t,n,s){return ur(n,t.objectType)||ur(n,t.indexType)},[197]:function(t,n,s){return ur(n,t.readonlyToken)||ur(n,t.typeParameter)||ur(n,t.nameType)||ur(n,t.questionToken)||ur(n,t.type)||rs(n,s,t.members)},[198]:function(t,n,s){return ur(n,t.literal)},[199]:function(t,n,s){return ur(n,t.dotDotDotToken)||ur(n,t.name)||ur(n,t.questionToken)||ur(n,t.type)},[203]:Fxe,[204]:Fxe,[206]:function(t,n,s){return rs(n,s,t.elements)},[207]:function(t,n,s){return rs(n,s,t.properties)},[208]:function(t,n,s){return ur(n,t.expression)||ur(n,t.questionDotToken)||ur(n,t.name)},[209]:function(t,n,s){return ur(n,t.expression)||ur(n,t.questionDotToken)||ur(n,t.argumentExpression)},[210]:Rxe,[211]:Rxe,[212]:function(t,n,s){return ur(n,t.tag)||ur(n,t.questionDotToken)||rs(n,s,t.typeArguments)||ur(n,t.template)},[213]:function(t,n,s){return ur(n,t.type)||ur(n,t.expression)},[214]:function(t,n,s){return ur(n,t.expression)},[217]:function(t,n,s){return ur(n,t.expression)},[218]:function(t,n,s){return ur(n,t.expression)},[219]:function(t,n,s){return ur(n,t.expression)},[221]:function(t,n,s){return ur(n,t.operand)},[226]:function(t,n,s){return ur(n,t.asteriskToken)||ur(n,t.expression)},[220]:function(t,n,s){return ur(n,t.expression)},[222]:function(t,n,s){return ur(n,t.operand)},[223]:function(t,n,s){return ur(n,t.left)||ur(n,t.operatorToken)||ur(n,t.right)},[231]:function(t,n,s){return ur(n,t.expression)||ur(n,t.type)},[232]:function(t,n,s){return ur(n,t.expression)},[235]:function(t,n,s){return ur(n,t.expression)||ur(n,t.type)},[233]:function(t,n,s){return ur(n,t.name)},[224]:function(t,n,s){return ur(n,t.condition)||ur(n,t.questionToken)||ur(n,t.whenTrue)||ur(n,t.colonToken)||ur(n,t.whenFalse)},[227]:function(t,n,s){return ur(n,t.expression)},[238]:Bxe,[265]:Bxe,[308]:function(t,n,s){return rs(n,s,t.statements)||ur(n,t.endOfFileToken)},[240]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.declarationList)},[258]:function(t,n,s){return rs(n,s,t.declarations)},[241]:function(t,n,s){return ur(n,t.expression)},[242]:function(t,n,s){return ur(n,t.expression)||ur(n,t.thenStatement)||ur(n,t.elseStatement)},[243]:function(t,n,s){return ur(n,t.statement)||ur(n,t.expression)},[244]:function(t,n,s){return ur(n,t.expression)||ur(n,t.statement)},[245]:function(t,n,s){return ur(n,t.initializer)||ur(n,t.condition)||ur(n,t.incrementor)||ur(n,t.statement)},[246]:function(t,n,s){return ur(n,t.initializer)||ur(n,t.expression)||ur(n,t.statement)},[247]:function(t,n,s){return ur(n,t.awaitModifier)||ur(n,t.initializer)||ur(n,t.expression)||ur(n,t.statement)},[248]:jxe,[249]:jxe,[250]:function(t,n,s){return ur(n,t.expression)},[251]:function(t,n,s){return ur(n,t.expression)||ur(n,t.statement)},[252]:function(t,n,s){return ur(n,t.expression)||ur(n,t.caseBlock)},[266]:function(t,n,s){return rs(n,s,t.clauses)},[292]:function(t,n,s){return ur(n,t.expression)||rs(n,s,t.statements)},[293]:function(t,n,s){return rs(n,s,t.statements)},[253]:function(t,n,s){return ur(n,t.label)||ur(n,t.statement)},[254]:function(t,n,s){return ur(n,t.expression)},[255]:function(t,n,s){return ur(n,t.tryBlock)||ur(n,t.catchClause)||ur(n,t.finallyBlock)},[295]:function(t,n,s){return ur(n,t.variableDeclaration)||ur(n,t.block)},[167]:function(t,n,s){return ur(n,t.expression)},[260]:Jxe,[228]:Jxe,[261]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.name)||rs(n,s,t.typeParameters)||rs(n,s,t.heritageClauses)||rs(n,s,t.members)},[262]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.name)||rs(n,s,t.typeParameters)||ur(n,t.type)},[263]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.name)||rs(n,s,t.members)},[302]:function(t,n,s){return ur(n,t.name)||ur(n,t.initializer)},[264]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.name)||ur(n,t.body)},[268]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.name)||ur(n,t.moduleReference)},[269]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.importClause)||ur(n,t.moduleSpecifier)||ur(n,t.assertClause)},[270]:function(t,n,s){return ur(n,t.name)||ur(n,t.namedBindings)},[296]:function(t,n,s){return rs(n,s,t.elements)},[297]:function(t,n,s){return ur(n,t.name)||ur(n,t.value)},[267]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.name)},[271]:function(t,n,s){return ur(n,t.name)},[277]:function(t,n,s){return ur(n,t.name)},[272]:Uxe,[276]:Uxe,[275]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.exportClause)||ur(n,t.moduleSpecifier)||ur(n,t.assertClause)},[273]:zxe,[278]:zxe,[274]:function(t,n,s){return rs(n,s,t.modifiers)||ur(n,t.expression)},[225]:function(t,n,s){return ur(n,t.head)||rs(n,s,t.templateSpans)},[236]:function(t,n,s){return ur(n,t.expression)||ur(n,t.literal)},[200]:function(t,n,s){return ur(n,t.head)||rs(n,s,t.templateSpans)},[201]:function(t,n,s){return ur(n,t.type)||ur(n,t.literal)},[164]:function(t,n,s){return ur(n,t.expression)},[294]:function(t,n,s){return rs(n,s,t.types)},[230]:function(t,n,s){return ur(n,t.expression)||rs(n,s,t.typeArguments)},[280]:function(t,n,s){return ur(n,t.expression)},[279]:function(t,n,s){return rs(n,s,t.modifiers)},[357]:function(t,n,s){return rs(n,s,t.elements)},[281]:function(t,n,s){return ur(n,t.openingElement)||rs(n,s,t.children)||ur(n,t.closingElement)},[285]:function(t,n,s){return ur(n,t.openingFragment)||rs(n,s,t.children)||ur(n,t.closingFragment)},[282]:Vxe,[283]:Vxe,[289]:function(t,n,s){return rs(n,s,t.properties)},[288]:function(t,n,s){return ur(n,t.name)||ur(n,t.initializer)},[290]:function(t,n,s){return ur(n,t.expression)},[291]:function(t,n,s){return ur(n,t.dotDotDotToken)||ur(n,t.expression)},[284]:function(t,n,s){return ur(n,t.tagName)},[187]:E4,[188]:E4,[312]:E4,[318]:E4,[317]:E4,[319]:E4,[321]:E4,[320]:function(t,n,s){return rs(n,s,t.parameters)||ur(n,t.type)},[323]:function(t,n,s){return(typeof t.comment=="string"?void 0:rs(n,s,t.comment))||rs(n,s,t.tags)},[350]:function(t,n,s){return ur(n,t.tagName)||ur(n,t.name)||(typeof t.comment=="string"?void 0:rs(n,s,t.comment))},[313]:function(t,n,s){return ur(n,t.name)},[314]:function(t,n,s){return ur(n,t.left)||ur(n,t.right)},[344]:$xe,[351]:$xe,[333]:function(t,n,s){return ur(n,t.tagName)||(typeof t.comment=="string"?void 0:rs(n,s,t.comment))},[332]:function(t,n,s){return ur(n,t.tagName)||ur(n,t.class)||(typeof t.comment=="string"?void 0:rs(n,s,t.comment))},[331]:function(t,n,s){return ur(n,t.tagName)||ur(n,t.class)||(typeof t.comment=="string"?void 0:rs(n,s,t.comment))},[348]:function(t,n,s){return ur(n,t.tagName)||ur(n,t.constraint)||rs(n,s,t.typeParameters)||(typeof t.comment=="string"?void 0:rs(n,s,t.comment))},[349]:function(t,n,s){return ur(n,t.tagName)||(t.typeExpression&&t.typeExpression.kind===312?ur(n,t.typeExpression)||ur(n,t.fullName)||(typeof t.comment=="string"?void 0:rs(n,s,t.comment)):ur(n,t.fullName)||ur(n,t.typeExpression)||(typeof t.comment=="string"?void 0:rs(n,s,t.comment)))},[341]:function(t,n,s){return ur(n,t.tagName)||ur(n,t.fullName)||ur(n,t.typeExpression)||(typeof t.comment=="string"?void 0:rs(n,s,t.comment))},[345]:A4,[347]:A4,[346]:A4,[343]:A4,[353]:A4,[352]:A4,[342]:A4,[326]:function(t,n,s){return Q(t.typeParameters,n)||Q(t.parameters,n)||ur(n,t.type)},[327]:Mre,[328]:Mre,[329]:Mre,[325]:function(t,n,s){return Q(t.jsDocPropertyTags,n)},[330]:vw,[335]:vw,[336]:vw,[337]:vw,[338]:vw,[339]:vw,[334]:vw,[340]:vw,[356]:FYe},(e=>{var t=q0(99,!0),n=20480,s,l,f,d,g;function h(ee){return ft++,ee}var k={createBaseSourceFileNode:ee=>h(new g(ee,0,0)),createBaseIdentifierNode:ee=>h(new f(ee,0,0)),createBasePrivateIdentifierNode:ee=>h(new d(ee,0,0)),createBaseTokenNode:ee=>h(new l(ee,0,0)),createBaseNode:ee=>h(new s(ee,0,0))},S=j5(11,k),{createNodeArray:w,createNumericLiteral:N,createStringLiteral:O,createLiteralLikeNode:L,createIdentifier:U,createPrivateIdentifier:M,createToken:W,createArrayLiteralExpression:X,createObjectLiteralExpression:Z,createPropertyAccessExpression:ue,createPropertyAccessChain:ie,createElementAccessExpression:se,createElementAccessChain:V,createCallExpression:ve,createCallChain:fe,createNewExpression:Ce,createParenthesizedExpression:_e,createBlock:K,createVariableStatement:ge,createExpressionStatement:Se,createIfStatement:we,createWhileStatement:Pe,createForStatement:le,createForOfStatement:ot,createVariableDeclaration:Qe,createVariableDeclarationList:Ge}=S,tt,Je,qe,st,Ke,We,gt,jt,It,er,ft,mt,xr,dr,rn,un,Gr=!0,mr=!1;function Fn(ee,Ee,at,Lt,sr=!1,Br,pi){var Gi;if(Br=Wj(ee,Br),Br===6){const zi=ws(ee,Ee,at,Lt,sr);return kO(zi,(Gi=zi.statements[0])==null?void 0:Gi.expression,zi.parseDiagnostics,!1,void 0,void 0),zi.referencedFiles=pt,zi.typeReferenceDirectives=pt,zi.libReferenceDirectives=pt,zi.amdDependencies=pt,zi.hasNoDefaultLib=!1,zi.pragmas=XR,zi}Es(ee,Ee,at,Lt,Br);const Ki=Rt(at,sr,Br,pi||Wxe);return ii(),Ki}e.parseSourceFile=Fn;function ts(ee,Ee){Es("",ee,Ee,void 0,1),St();const at=Po(!0),Lt=te()===1&&!gt.length;return ii(),Lt?at:void 0}e.parseIsolatedEntityName=ts;function ws(ee,Ee,at=2,Lt,sr=!1){Es(ee,Ee,at,Lt,6),Je=un,St();const Br=ce();let pi,Gi;if(te()===1)pi=Pc([],Br,Br),Gi=Vl();else{let Hs;for(;te()!==1;){let Mo;switch(te()){case 22:Mo=T1();break;case 110:case 95:case 104:Mo=Vl();break;case 40:vi(()=>St()===8&&St()!==58)?Mo=Sk():Mo=jl();break;case 8:case 10:if(vi(()=>St()!==58)){Mo=ta();break}default:Mo=jl();break}Hs&&pa(Hs)?Hs.push(Mo):Hs?Hs=[Hs,Mo]:(Hs=Mo,te()!==1&&wt(v.Unexpected_token))}const nc=pa(Hs)?br(X(Hs),Br):R.checkDefined(Hs),to=Se(nc);br(to,Br),pi=Pc([to],Br),Gi=zu(1,v.Unexpected_token)}const Ki=cs(ee,2,6,!1,pi,Gi,Je,La);sr&&Nn(Ki),Ki.nodeCount=ft,Ki.identifierCount=xr,Ki.identifiers=mt,Ki.parseDiagnostics=HC(gt,Ki),jt&&(Ki.jsDocDiagnostics=HC(jt,Ki));const zi=Ki;return ii(),zi}e.parseJsonText=ws;function Es(ee,Ee,at,Lt,sr){switch(s=Pu.getNodeConstructor(),l=Pu.getTokenConstructor(),f=Pu.getIdentifierConstructor(),d=Pu.getPrivateIdentifierConstructor(),g=Pu.getSourceFileConstructor(),tt=Co(ee),qe=Ee,st=at,It=Lt,Ke=sr,We=T5(sr),gt=[],dr=0,mt=new Map,xr=0,ft=0,Je=0,Gr=!0,Ke){case 1:case 2:un=262144;break;case 6:un=67371008;break;default:un=0;break}mr=!1,t.setText(qe),t.setOnError($e),t.setScriptTarget(st),t.setLanguageVariant(We)}function ii(){t.clearCommentDirectives(),t.setText(""),t.setOnError(void 0),qe=void 0,st=void 0,It=void 0,Ke=void 0,We=void 0,Je=0,gt=void 0,jt=void 0,dr=0,mt=void 0,rn=void 0,Gr=!0}function Rt(ee,Ee,at,Lt){const sr=s_(tt);sr&&(un|=16777216),Je=un,St();const Br=de(0,jp);R.assert(te()===1);const pi=Pr(Vl()),Gi=cs(tt,ee,at,sr,Br,pi,Je,Lt);return Rre(Gi,qe),Bre(Gi,Ki),Gi.commentDirectives=t.getCommentDirectives(),Gi.nodeCount=ft,Gi.identifierCount=xr,Gi.identifiers=mt,Gi.parseDiagnostics=HC(gt,Gi),jt&&(Gi.jsDocDiagnostics=HC(jt,Gi)),Ee&&Nn(Gi),Gi;function Ki(zi,Hs,nc){gt.push(K6(tt,zi,Hs,nc))}}function Rr(ee,Ee){return Ee?Pr(ee):ee}let rr=!1;function Pr(ee){R.assert(!ee.jsDoc);const Ee=fr(HK(ee,qe),at=>fE.parseJSDocComment(ee,at.pos,at.end-at.pos));return Ee.length&&(ee.jsDoc=Ee),rr&&(rr=!1,ee.flags|=268435456),ee}function Cn(ee){const Ee=It,at=aU.createSyntaxCursor(ee);It={currentNode:Hs};const Lt=[],sr=gt;gt=[];let Br=0,pi=Ki(ee.statements,0);for(;pi!==-1;){const nc=ee.statements[Br],to=ee.statements[pi];Oi(Lt,ee.statements,Br,pi),Br=zi(ee.statements,pi);const Mo=ar(sr,Fm=>Fm.start>=nc.pos),P_=Mo>=0?ar(sr,Fm=>Fm.start>=to.pos,Mo):-1;Mo>=0&&Oi(gt,sr,Mo,P_>=0?P_:void 0),gs(()=>{const Fm=un;for(un|=32768,t.setTextPos(to.pos),St();te()!==1;){const gh=t.getStartPos(),d0=bt(0,jp);if(Lt.push(d0),gh===t.getStartPos()&&St(),Br>=0){const Dd=ee.statements[Br];if(d0.end===Dd.pos)break;d0.end>Dd.pos&&(Br=zi(ee.statements,Br+1))}}un=Fm},2),pi=Br>=0?Ki(ee.statements,Br):-1}if(Br>=0){const nc=ee.statements[Br];Oi(Lt,ee.statements,Br);const to=ar(sr,Mo=>Mo.start>=nc.pos);to>=0&&Oi(gt,sr,to)}return It=Ee,S.updateSourceFile(ee,Et(w(Lt),ee.statements));function Gi(nc){return!(nc.flags&32768)&&!!(nc.transformFlags&67108864)}function Ki(nc,to){for(let Mo=to;Mo<nc.length;Mo++)if(Gi(nc[Mo]))return Mo;return-1}function zi(nc,to){for(let Mo=to;Mo<nc.length;Mo++)if(!Gi(nc[Mo]))return Mo;return-1}function Hs(nc){const to=at.currentNode(nc);return Gr&&to&&Gi(to)&&(to.intersectsChange=!0),to}}function Nn(ee){bv(ee,!0)}e.fixupParentReferences=Nn;function cs(ee,Ee,at,Lt,sr,Br,pi,Gi){let Ki=S.createSourceFile(sr,Br,pi);return zP(Ki,0,qe.length),zi(Ki),!Lt&&Fl(Ki)&&Ki.transformFlags&67108864&&(Ki=Cn(Ki),zi(Ki)),Ki;function zi(Hs){Hs.text=qe,Hs.bindDiagnostics=[],Hs.bindSuggestionDiagnostics=void 0,Hs.languageVersion=Ee,Hs.fileName=ee,Hs.languageVariant=T5(at),Hs.isDeclarationFile=Lt,Hs.scriptKind=at,Gi(Hs),Hs.setExternalModuleIndicator=Gi}}function qi(ee,Ee){ee?un|=Ee:un&=~Ee}function en(ee){qi(ee,4096)}function Tr(ee){qi(ee,8192)}function nn(ee){qi(ee,16384)}function Xn(ee){qi(ee,32768)}function _i(ee,Ee){const at=ee&un;if(at){qi(!1,at);const Lt=Ee();return qi(!0,at),Lt}return Ee()}function Fe(ee,Ee){const at=ee&~un;if(at){qi(!0,at);const Lt=Ee();return qi(!1,at),Lt}return Ee()}function Pt(ee){return _i(4096,ee)}function Ht(ee){return Fe(4096,ee)}function Ne(ee){return _i(65536,ee)}function kt(ee){return Fe(65536,ee)}function Te(ee){return Fe(8192,ee)}function pe(ee){return Fe(16384,ee)}function xe(ee){return Fe(32768,ee)}function Y(ee){return _i(32768,ee)}function Ze(ee){return Fe(40960,ee)}function ct(ee){return _i(40960,ee)}function it(ee){return(un&ee)!==0}function Kt(){return it(8192)}function wr(){return it(4096)}function qr(){return it(65536)}function qn(){return it(16384)}function ye(){return it(32768)}function wt(ee,Ee){return dt(t.getTokenPos(),t.getTextPos(),ee,Ee)}function nr(ee,Ee,at,Lt){const sr=Rc(gt);let Br;return(!sr||ee!==sr.start)&&(Br=K6(tt,ee,Ee,at,Lt),gt.push(Br)),mr=!0,Br}function dt(ee,Ee,at,Lt){return nr(ee,Ee-ee,at,Lt)}function ne(ee,Ee,at){dt(ee.pos,ee.end,Ee,at)}function $e(ee,Ee){nr(t.getTextPos(),Ee,ee)}function ce(){return t.getStartPos()}function Be(){return t.hasPrecedingJSDocComment()}function te(){return er}function $t(){return er=t.scan()}function At(ee){return St(),ee()}function St(){return b_(er)&&(t.hasUnicodeEscape()||t.hasExtendedUnicodeEscape())&&dt(t.getTokenPos(),t.getTextPos(),v.Keywords_cannot_contain_escape_characters),$t()}function Dr(){return er=t.scanJsDocToken()}function yn(){return er=t.reScanGreaterToken()}function Di(){return er=t.reScanSlashToken()}function Yi(ee){return er=t.reScanTemplateToken(ee)}function Zi(){return er=t.reScanTemplateHeadOrNoSubstitutionTemplate()}function hs(){return er=t.reScanLessThanToken()}function za(){return er=t.reScanHashToken()}function Xa(){return er=t.scanJsxIdentifier()}function Ia(){return er=t.scanJsxToken()}function Fs(){return er=t.scanJsxAttributeValue()}function gs(ee,Ee){const at=er,Lt=gt.length,sr=mr,Br=un,pi=Ee!==0?t.lookAhead(ee):t.tryScan(ee);return R.assert(Br===un),(!pi||Ee!==0)&&(er=at,Ee!==2&&(gt.length=Lt),mr=sr),pi}function vi(ee){return gs(ee,1)}function Bo(ee){return gs(ee,0)}function Ji(){return te()===79?!0:te()>116}function Rs(){return te()===79?!0:te()===125&&Kt()||te()===133&&ye()?!1:te()>116}function Qr(ee,Ee,at=!0){return te()===ee?(at&&St(),!0):(Ee?wt(Ee):wt(v._0_expected,qa(ee)),!1)}const js=Object.keys(u7).filter(ee=>ee.length>2);function Rl(ee){var Ee;if(Mx(ee)){dt(wo(qe,ee.template.pos),ee.template.end,v.Module_declaration_names_may_only_use_or_quoted_strings);return}const at=Ye(ee)?ai(ee):void 0;if(!at||!Bd(at,st)){wt(v._0_expected,qa(26));return}const Lt=wo(qe,ee.pos);switch(at){case"const":case"let":case"var":dt(Lt,ee.end,v.Variable_declaration_not_allowed_at_this_location);return;case"declare":return;case"interface":jc(v.Interface_name_cannot_be_0,v.Interface_must_be_given_a_name,18);return;case"is":dt(Lt,t.getTextPos(),v.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return;case"module":case"namespace":jc(v.Namespace_name_cannot_be_0,v.Namespace_must_be_given_a_name,18);return;case"type":jc(v.Type_alias_name_cannot_be_0,v.Type_alias_must_be_given_a_name,63);return}const sr=(Ee=OA(at,js,Br=>Br))!=null?Ee:Sl(at);if(sr){dt(Lt,ee.end,v.Unknown_keyword_or_identifier_Did_you_mean_0,sr);return}te()!==0&&dt(Lt,ee.end,v.Unexpected_keyword_or_identifier)}function jc(ee,Ee,at){te()===at?wt(Ee):wt(ee,t.getTokenValue())}function Sl(ee){for(const Ee of js)if(ee.length>Ee.length+2&&Qs(ee,Ee))return`${Ee} ${ee.slice(Ee.length)}`}function Nl(ee,Ee,at){if(te()===59&&!t.hasPrecedingLineBreak()){wt(v.Decorators_must_precede_the_name_and_all_keywords_of_property_declarations);return}if(te()===20){wt(v.Cannot_start_a_function_call_in_a_type_annotation),St();return}if(Ee&&!fc()){at?wt(v._0_expected,qa(26)):wt(v.Expected_for_property_initializer);return}if(!Kc()){if(at){wt(v._0_expected,qa(26));return}Rl(ee)}}function xl(ee){return te()===ee?(Dr(),!0):(wt(v._0_expected,qa(ee)),!1)}function Ka(ee,Ee,at,Lt){if(te()===Ee){St();return}const sr=wt(v._0_expected,qa(Ee));at&&sr&&Eo(sr,K6(tt,Lt,1,v.The_parser_expected_to_find_a_1_to_match_the_0_token_here,qa(ee),qa(Ee)))}function ea(ee){return te()===ee?(St(),!0):!1}function Ao(ee){if(te()===ee)return Vl()}function kl(ee){if(te()===ee)return Lu()}function zu(ee,Ee,at){return Ao(ee)||Cl(ee,!1,Ee||v._0_expected,at||qa(ee))}function $_(ee){return kl(ee)||Cl(ee,!1,v._0_expected,qa(ee))}function Vl(){const ee=ce(),Ee=te();return St(),br(W(Ee),ee)}function Lu(){const ee=ce(),Ee=te();return Dr(),br(W(Ee),ee)}function fc(){return te()===26?!0:te()===19||te()===1||t.hasPrecedingLineBreak()}function Kc(){return fc()?(te()===26&&St(),!0):!1}function Fc(){return Kc()||Qr(26)}function Pc(ee,Ee,at,Lt){const sr=w(ee,Lt);return Kh(sr,Ee,at??t.getStartPos()),sr}function br(ee,Ee,at){return Kh(ee,Ee,at??t.getStartPos()),un&&(ee.flags|=un),mr&&(mr=!1,ee.flags|=131072),ee}function Cl(ee,Ee,at,Lt){Ee?nr(t.getStartPos(),0,at,Lt):at&&wt(at,Lt);const sr=ce(),Br=ee===79?U("",void 0):uv(ee)?S.createTemplateLiteralLikeNode(ee,"","",void 0):ee===8?N("",void 0):ee===10?O("",void 0):ee===279?S.createMissingDeclaration():W(ee);return br(Br,sr)}function df(ee){let Ee=mt.get(ee);return Ee===void 0&&mt.set(ee,Ee=ee),Ee}function Rf(ee,Ee,at){if(ee){xr++;const Gi=ce(),Ki=te(),zi=df(t.getTokenValue()),Hs=t.hasExtendedUnicodeEscape();return $t(),br(U(zi,Ki,Hs),Gi)}if(te()===80)return wt(at||v.Private_identifiers_are_not_allowed_outside_class_bodies),Rf(!0);if(te()===0&&t.tryScan(()=>t.reScanInvalidIdentifier()===79))return Rf(!0);xr++;const Lt=te()===1,sr=t.isReservedWord(),Br=t.getTokenText(),pi=sr?v.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:v.Identifier_expected;return Cl(79,Lt,Ee||pi,Br)}function be(ee){return Rf(Ji(),void 0,ee)}function Ut(ee,Ee){return Rf(Rs(),ee,Ee)}function tr(ee){return Rf(qf(te()),ee)}function oe(){return qf(te())||te()===10||te()===8}function ht(){return qf(te())||te()===10}function Ft(ee){if(te()===10||te()===8){const Ee=ta();return Ee.text=df(Ee.text),Ee}return ee&&te()===22?ti():te()===80?si():tr()}function Or(){return Ft(!0)}function ti(){const ee=ce();Qr(22);const Ee=Pt(Yu);return Qr(23),br(S.createComputedPropertyName(Ee),ee)}function si(){const ee=ce(),Ee=M(df(t.getTokenValue()));return St(),br(Ee,ee)}function Ws(ee){return te()===ee&&Bo(Va)}function jo(){return St(),t.hasPrecedingLineBreak()?!1:Ql()}function Va(){switch(te()){case 85:return St()===92;case 93:return St(),te()===88?vi(a_):te()===154?vi(ka):vo();case 88:return a_();case 124:case 137:case 151:return St(),Ql();default:return jo()}}function vo(){return te()===59||te()!==41&&te()!==128&&te()!==18&&Ql()}function ka(){return St(),vo()}function Hc(){return G0(te())&&Bo(Va)}function Ql(){return te()===22||te()===18||te()===41||te()===25||oe()}function a_(){return St(),te()===84||te()===98||te()===118||te()===59||te()===126&&vi(dg)||te()===132&&vi(k2)}function Zo(ee,Ee){if(Yt(ee))return!0;switch(ee){case 0:case 1:case 3:return!(te()===26&&Ee)&&wk();case 2:return te()===82||te()===88;case 4:return vi(YT);case 5:return vi(A_)||te()===26&&!Ee;case 6:return te()===22||oe();case 12:switch(te()){case 22:case 41:case 25:case 24:return!0;default:return oe()}case 18:return oe();case 9:return te()===22||te()===25||oe();case 24:return ht();case 7:return te()===18?vi(zo):Ee?Rs()&&!Fp():p2()&&!Fp();case 8:return pS();case 10:return te()===27||te()===25||pS();case 19:return te()===101||te()===85||Rs();case 15:switch(te()){case 27:case 24:return!0}case 11:return te()===25||im();case 16:return i2(!1);case 17:return i2(!0);case 20:case 21:return te()===27||e0();case 22:return ay();case 23:return qf(te());case 13:return qf(te())||te()===18;case 14:return!0}return R.fail("Non-exhaustive case in 'isListElement'.")}function zo(){if(R.assert(te()===18),St()===19){const ee=St();return ee===27||ee===18||ee===94||ee===117}return!0}function Gc(){return St(),Rs()}function q_(){return St(),qf(te())}function wl(){return St(),wve(te())}function Fp(){return te()===117||te()===94?vi(De):!1}function De(){return St(),im()}function Vt(){return St(),e0()}function tn(ee){if(te()===1)return!0;switch(ee){case 1:case 2:case 4:case 5:case 6:case 12:case 9:case 23:case 24:return te()===19;case 3:return te()===19||te()===82||te()===88;case 7:return te()===18||te()===94||te()===117;case 8:return ks();case 19:return te()===31||te()===20||te()===18||te()===94||te()===117;case 11:return te()===21||te()===26;case 15:case 21:case 10:return te()===23;case 17:case 16:case 18:return te()===21||te()===23;case 20:return te()!==27;case 22:return te()===18||te()===19;case 13:return te()===31||te()===43;case 14:return te()===29&&vi(Ja);default:return!1}}function ks(){return!!(fc()||bk(te())||te()===38)}function eo(){for(let ee=0;ee<25;ee++)if(dr&1<<ee&&(Zo(ee,!0)||tn(ee)))return!0;return!1}function de(ee,Ee){const at=dr;dr|=1<<ee;const Lt=[],sr=ce();for(;!tn(ee);){if(Zo(ee,!1)){Lt.push(bt(ee,Ee));continue}if(o_(ee))break}return dr=at,Pc(Lt,sr)}function bt(ee,Ee){const at=Yt(ee);return at?Xt(at):Ee()}function Yt(ee,Ee){var at;if(!It||!Er(ee)||mr)return;const Lt=It.currentNode(Ee??t.getStartPos());if(!(cl(Lt)||Lt.intersectsChange||E7(Lt)||(Lt.flags&50720768)!==un)&&ln(Lt,ee))return Z7(Lt)&&((at=Lt.jsDoc)!=null&&at.jsDocCache)&&(Lt.jsDoc.jsDocCache=void 0),Lt}function Xt(ee){return t.setTextPos(ee.end),St(),ee}function Er(ee){switch(ee){case 5:case 2:case 0:case 1:case 3:case 6:case 4:case 8:case 17:case 16:return!0}return!1}function ln(ee,Ee){switch(Ee){case 5:return ri(ee);case 2:return wi(ee);case 0:case 1:case 3:return ls(ee);case 6:return da(ee);case 4:return bo(ee);case 8:return tc(ee);case 17:case 16:return Dc(ee)}return!1}function ri(ee){if(ee)switch(ee.kind){case 173:case 178:case 174:case 175:case 169:case 237:return!0;case 171:const Ee=ee;return!(Ee.name.kind===79&&Ee.name.escapedText==="constructor")}return!1}function wi(ee){if(ee)switch(ee.kind){case 292:case 293:return!0}return!1}function ls(ee){if(ee)switch(ee.kind){case 259:case 240:case 238:case 242:case 241:case 254:case 250:case 252:case 249:case 248:case 246:case 247:case 245:case 244:case 251:case 239:case 255:case 253:case 243:case 256:case 269:case 268:case 275:case 274:case 264:case 260:case 261:case 263:case 262:return!0}return!1}function da(ee){return ee.kind===302}function bo(ee){if(ee)switch(ee.kind){case 177:case 170:case 178:case 168:case 176:return!0}return!1}function tc(ee){return ee.kind!==257?!1:ee.initializer===void 0}function Dc(ee){return ee.kind!==166?!1:ee.initializer===void 0}function o_(ee){return mp(ee),eo()?!0:(St(),!1)}function mp(ee){switch(ee){case 0:return te()===88?wt(v._0_expected,qa(93)):wt(v.Declaration_or_statement_expected);case 1:return wt(v.Declaration_or_statement_expected);case 2:return wt(v.case_or_default_expected);case 3:return wt(v.Statement_expected);case 18:case 4:return wt(v.Property_or_signature_expected);case 5:return wt(v.Unexpected_token_A_constructor_method_accessor_or_property_was_expected);case 6:return wt(v.Enum_member_expected);case 7:return wt(v.Expression_expected);case 8:return b_(te())?wt(v._0_is_not_allowed_as_a_variable_declaration_name,qa(te())):wt(v.Variable_declaration_expected);case 9:return wt(v.Property_destructuring_pattern_expected);case 10:return wt(v.Array_element_destructuring_pattern_expected);case 11:return wt(v.Argument_expression_expected);case 12:return wt(v.Property_assignment_expected);case 15:return wt(v.Expression_or_comma_expected);case 17:return wt(v.Parameter_declaration_expected);case 16:return b_(te())?wt(v._0_is_not_allowed_as_a_parameter_name,qa(te())):wt(v.Parameter_declaration_expected);case 19:return wt(v.Type_parameter_declaration_expected);case 20:return wt(v.Type_argument_expected);case 21:return wt(v.Type_expected);case 22:return wt(v.Unexpected_token_expected);case 23:return wt(v.Identifier_expected);case 13:return wt(v.Identifier_expected);case 14:return wt(v.Identifier_expected);case 24:return wt(v.Identifier_or_string_literal_expected);case 25:return R.fail("ParsingContext.Count used as a context");default:R.assertNever(ee)}}function Bl(ee,Ee,at){const Lt=dr;dr|=1<<ee;const sr=[],Br=ce();let pi=-1;for(;;){if(Zo(ee,!1)){const Gi=t.getStartPos(),Ki=bt(ee,Ee);if(!Ki){dr=Lt;return}if(sr.push(Ki),pi=t.getTokenPos(),ea(27))continue;if(pi=-1,tn(ee))break;Qr(27,W_(ee)),at&&te()===26&&!t.hasPrecedingLineBreak()&&St(),Gi===t.getStartPos()&&St();continue}if(tn(ee)||o_(ee))break}return dr=Lt,Pc(sr,Br,void 0,pi>=0)}function W_(ee){return ee===6?v.An_enum_member_name_must_be_followed_by_a_or:void 0}function mf(){const ee=Pc([],ce());return ee.isMissingList=!0,ee}function hp(ee){return!!ee.isMissingList}function Cd(ee,Ee,at,Lt){if(Qr(at)){const sr=Bl(ee,Ee);return Qr(Lt),sr}return mf()}function Po(ee,Ee){const at=ce();let Lt=ee?tr(Ee):Ut(Ee);for(;ea(24)&&te()!==29;)Lt=br(S.createQualifiedName(Lt,gp(ee,!1)),at);return Lt}function wd(ee,Ee){return br(S.createQualifiedName(ee,Ee),ee.pos)}function gp(ee,Ee){if(t.hasPrecedingLineBreak()&&qf(te())&&vi(l_))return Cl(79,!0,v.Identifier_expected);if(te()===80){const at=si();return Ee?at:Cl(79,!0,v.Identifier_expected)}return ee?tr():Ut()}function em(ee){const Ee=ce(),at=[];let Lt;do Lt=na(ee),at.push(Lt);while(Lt.literal.kind===16);return Pc(at,Ee)}function Dm(ee){const Ee=ce();return br(S.createTemplateExpression(Le(ee),em(ee)),Ee)}function G(){const ee=ce();return br(S.createTemplateLiteralType(Le(!1),lt()),ee)}function lt(){const ee=ce(),Ee=[];let at;do at=ir(),Ee.push(at);while(at.literal.kind===16);return Pc(Ee,ee)}function ir(){const ee=ce();return br(S.createTemplateLiteralTypeSpan(nu(),gn(!1)),ee)}function gn(ee){return te()===19?(Yi(ee),Xe()):zu(17,v._0_expected,qa(19))}function na(ee){const Ee=ce();return br(S.createTemplateSpan(Pt(Yu),gn(ee)),Ee)}function ta(){return Gt(te())}function Le(ee){ee&&Zi();const Ee=Gt(te());return R.assert(Ee.kind===15,"Template head has wrong token kind"),Ee}function Xe(){const ee=Gt(te());return R.assert(ee.kind===16||ee.kind===17,"Template fragment has wrong token kind"),ee}function Jt(ee){const Ee=ee===14||ee===17,at=t.getTokenText();return at.substring(1,at.length-(t.isUnterminated()?0:Ee?1:2))}function Gt(ee){const Ee=ce(),at=uv(ee)?S.createTemplateLiteralLikeNode(ee,t.getTokenValue(),Jt(ee),t.getTokenFlags()&2048):ee===8?N(t.getTokenValue(),t.getNumericLiteralFlags()):ee===10?O(t.getTokenValue(),void 0,t.hasExtendedUnicodeEscape()):KA(ee)?L(ee,t.getTokenValue()):R.fail();return t.hasExtendedUnicodeEscape()&&(at.hasExtendedUnicodeEscape=!0),t.isUnterminated()&&(at.isUnterminated=!0),St(),br(at,Ee)}function Lr(){return Po(!0,v.Type_expected)}function Jr(){if(!t.hasPrecedingLineBreak()&&hs()===29)return Cd(20,nu,29,31)}function Vr(){const ee=ce();return br(S.createTypeReferenceNode(Lr(),Jr()),ee)}function fn(ee){switch(ee.kind){case 180:return cl(ee.typeName);case 181:case 182:{const{parameters:Ee,type:at}=ee;return hp(Ee)||fn(at)}case 193:return fn(ee.type);default:return!1}}function hi(ee){return St(),br(S.createTypePredicateNode(void 0,ee,nu()),ee.pos)}function Ts(){const ee=ce();return St(),br(S.createThisTypeNode(),ee)}function xn(){const ee=ce();return St(),br(S.createJSDocAllType(),ee)}function Nr(){const ee=ce();return St(),br(S.createJSDocNonNullableType(l2(),!1),ee)}function On(){const ee=ce();return St(),te()===27||te()===19||te()===21||te()===31||te()===63||te()===51?br(S.createJSDocUnknownType(),ee):br(S.createJSDocNullableType(nu(),!1),ee)}function Ys(){const ee=ce(),Ee=Be();if(vi(Li)){St();const at=Nm(36),Lt=rm(58,!1);return Rr(br(S.createJSDocFunctionType(at,Lt),ee),Ee)}return br(S.createTypeReferenceNode(tr(),void 0),ee)}function Nc(){const ee=ce();let Ee;return(te()===108||te()===103)&&(Ee=tr(),Qr(58)),br(S.createParameterDeclaration(void 0,void 0,Ee,void 0,$l(),void 0),ee)}function $l(){t.setInJSDocType(!0);const ee=ce();if(ea(142)){const Lt=S.createJSDocNamepathType(void 0);e:for(;;)switch(te()){case 19:case 1:case 27:case 5:break e;default:Dr()}return t.setInJSDocType(!1),br(Lt,ee)}const Ee=ea(25);let at=Oo();return t.setInJSDocType(!1),Ee&&(at=br(S.createJSDocVariadicType(at),ee)),te()===63?(St(),br(S.createJSDocOptionalType(at),ee)):at}function cg(){const ee=ce();Qr(112);const Ee=Po(!0),at=t.hasPrecedingLineBreak()?void 0:X_();return br(S.createTypeQueryNode(Ee,at),ee)}function Xy(){const ee=ce(),Ee=pc(!1,!0),at=Ut();let Lt,sr;ea(94)&&(e0()||!im()?Lt=nu():sr=Im());const Br=ea(63)?nu():void 0,pi=S.createTypeParameterDeclaration(Ee,at,Lt,Br);return pi.expression=sr,br(pi,ee)}function tm(){if(te()===29)return Cd(19,Xy,29,31)}function i2(ee){return te()===25||pS()||G0(te())||te()===59||e0(!ee)}function Fv(ee){const Ee=k1(v.Private_identifiers_cannot_be_used_as_parameters);return w7(Ee)===0&&!Oe(ee)&&G0(te())&&St(),Ee}function Ww(){return Ji()||te()===22||te()===18}function pk(ee){return Qy(ee)}function Hw(ee){return Qy(ee,!1)}function Qy(ee,Ee=!0){const at=ce(),Lt=Be(),sr=ee?xe(()=>pc(!0)):Y(()=>pc(!0));if(te()===108){const Ki=S.createParameterDeclaration(sr,void 0,Rf(!0),void 0,Zg(),void 0),zi=Ru(sr);return zi&&ne(zi,v.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters),Rr(br(Ki,at),Lt)}const Br=Gr;Gr=!1;const pi=Ao(25);if(!Ee&&!Ww())return;const Gi=Rr(br(S.createParameterDeclaration(sr,pi,Fv(sr),Ao(57),Zg(),r0()),at),Lt);return Gr=Br,Gi}function rm(ee,Ee){if(Rv(ee,Ee))return Ne(Oo)}function Rv(ee,Ee){return ee===38?(Qr(ee),!0):ea(58)?!0:Ee&&te()===38?(wt(v._0_expected,qa(58)),St(),!0):!1}function Yg(ee,Ee){const at=Kt(),Lt=ye();Tr(!!(ee&1)),Xn(!!(ee&2));const sr=ee&32?Bl(17,Nc):Bl(16,()=>Ee?pk(Lt):Hw(Lt));return Tr(at),Xn(Lt),sr}function Nm(ee){if(!Qr(20))return mf();const Ee=Yg(ee,!0);return Qr(21),Ee}function Bv(){ea(27)||Fc()}function XT(ee){const Ee=ce(),at=Be();ee===177&&Qr(103);const Lt=tm(),sr=Nm(4),Br=rm(58,!0);Bv();const pi=ee===176?S.createCallSignature(Lt,sr,Br):S.createConstructSignature(Lt,sr,Br);return Rr(br(pi,Ee),at)}function s2(){return te()===22&&vi(Yy)}function Yy(){if(St(),te()===25||te()===23)return!0;if(G0(te())){if(St(),Rs())return!0}else if(Rs())St();else return!1;return te()===58||te()===27?!0:te()!==57?!1:(St(),te()===58||te()===27||te()===23)}function dk(ee,Ee,at){const Lt=Cd(16,()=>pk(!1),22,23),sr=Zg();Bv();const Br=S.createIndexSignature(at,Lt,sr);return Rr(br(Br,ee),Ee)}function QT(ee,Ee,at){const Lt=Or(),sr=Ao(57);let Br;if(te()===20||te()===29){const pi=tm(),Gi=Nm(4),Ki=rm(58,!0);Br=S.createMethodSignature(at,Lt,sr,pi,Gi,Ki)}else{const pi=Zg();Br=S.createPropertySignature(at,Lt,sr,pi),te()===63&&(Br.initializer=r0())}return Bv(),Rr(br(Br,ee),Ee)}function YT(){if(te()===20||te()===29||te()===137||te()===151)return!0;let ee=!1;for(;G0(te());)ee=!0,St();return te()===22?!0:(oe()&&(ee=!0,St()),ee?te()===20||te()===29||te()===57||te()===58||te()===27||fc():!1)}function ZT(){if(te()===20||te()===29)return XT(176);if(te()===103&&vi(jv))return XT(177);const ee=ce(),Ee=Be(),at=pc(!1);return Ws(137)?mg(ee,Ee,at,174,4):Ws(151)?mg(ee,Ee,at,175,4):s2()?dk(ee,Ee,at):QT(ee,Ee,at)}function jv(){return St(),te()===20||te()===29}function Gw(){return St()===24}function KT(){switch(St()){case 20:case 29:case 24:return!0}return!1}function eS(){const ee=ce();return br(S.createTypeLiteralNode(Jv()),ee)}function Jv(){let ee;return Qr(18)?(ee=de(4,ZT),Qr(19)):ee=mf(),ee}function a2(){return St(),te()===39||te()===40?St()===146:(te()===146&&St(),te()===22&&Gc()&&St()===101)}function Uv(){const ee=ce(),Ee=tr();Qr(101);const at=nu();return br(S.createTypeParameterDeclaration(void 0,Ee,at,void 0),ee)}function mk(){const ee=ce();Qr(18);let Ee;(te()===146||te()===39||te()===40)&&(Ee=Vl(),Ee.kind!==146&&Qr(146)),Qr(22);const at=Uv(),Lt=ea(128)?nu():void 0;Qr(23);let sr;(te()===57||te()===39||te()===40)&&(sr=Vl(),sr.kind!==57&&Qr(57));const Br=Zg();Fc();const pi=de(4,ZT);return Qr(19),br(S.createMappedTypeNode(Ee,at,Lt,sr,Br,pi),ee)}function Zy(){const ee=ce();if(ea(25))return br(S.createRestTypeNode(nu()),ee);const Ee=nu();if(b4(Ee)&&Ee.pos===Ee.type.pos){const at=S.createOptionalTypeNode(Ee.type);return Et(at,Ee),at.flags=Ee.flags,at}return Ee}function Do(){return St()===58||te()===57&&St()===58}function tS(){return te()===25?qf(St())&&Do():qf(te())&&Do()}function s3(){if(vi(tS)){const ee=ce(),Ee=Be(),at=Ao(25),Lt=tr(),sr=Ao(57);Qr(58);const Br=Zy(),pi=S.createNamedTupleMember(at,Lt,sr,Br);return Rr(br(pi,ee),Ee)}return Zy()}function m1(){const ee=ce();return br(S.createTupleTypeNode(Cd(21,s3,22,23)),ee)}function Ky(){const ee=ce();Qr(20);const Ee=nu();return Qr(21),br(S.createParenthesizedType(Ee),ee)}function lg(){let ee;if(te()===126){const Ee=ce();St();const at=br(W(126),Ee);ee=Pc([at],Ee)}return ee}function ad(){const ee=ce(),Ee=Be(),at=lg(),Lt=ea(103);R.assert(!at||Lt,"Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers.");const sr=tm(),Br=Nm(4),pi=rm(38,!1),Gi=Lt?S.createConstructorTypeNode(at,sr,Br,pi):S.createFunctionTypeNode(sr,Br,pi);return Rr(br(Gi,ee),Ee)}function k_(){const ee=Vl();return te()===24?void 0:ee}function C_(ee){const Ee=ce();ee&&St();let at=te()===110||te()===95||te()===104?Vl():Gt(te());return ee&&(at=br(S.createPrefixUnaryExpression(40,at),Ee)),br(S.createLiteralTypeNode(at),Ee)}function w_(){return St(),te()===100}function o2(){const ee=ce(),Ee=t.getTokenPos();Qr(18);const at=t.hasPrecedingLineBreak();Qr(130),Qr(58);const Lt=A1(!0);if(!Qr(19)){const sr=Rc(gt);sr&&sr.code===v._0_expected.code&&Eo(sr,K6(tt,Ee,1,v.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return br(S.createImportTypeAssertionContainer(Lt,at),ee)}function c2(){Je|=2097152;const ee=ce(),Ee=ea(112);Qr(100),Qr(20);const at=nu();let Lt;ea(27)&&(Lt=o2()),Qr(21);const sr=ea(24)?Lr():void 0,Br=Jr();return br(S.createImportTypeNode(at,Lt,sr,Br,Ee),ee)}function Xw(){return St(),te()===8||te()===9}function l2(){switch(te()){case 131:case 157:case 152:case 148:case 160:case 153:case 134:case 155:case 144:case 149:return Bo(k_)||Vr();case 66:t.reScanAsteriskEqualsToken();case 41:return xn();case 60:t.reScanQuestionToken();case 57:return On();case 98:return Ys();case 53:return Nr();case 14:case 10:case 8:case 9:case 110:case 95:case 104:return C_();case 40:return vi(Xw)?C_(!0):Vr();case 114:return Vl();case 108:{const ee=Ts();return te()===140&&!t.hasPrecedingLineBreak()?hi(ee):ee}case 112:return vi(w_)?c2():cg();case 18:return vi(a2)?mk():eS();case 22:return m1();case 20:return Ky();case 100:return c2();case 129:return vi(l_)?nS():Vr();case 15:return G();default:return Vr()}}function e0(ee){switch(te()){case 131:case 157:case 152:case 148:case 160:case 134:case 146:case 153:case 156:case 114:case 155:case 104:case 108:case 112:case 144:case 18:case 22:case 29:case 51:case 50:case 103:case 10:case 8:case 9:case 110:case 95:case 149:case 41:case 57:case 53:case 25:case 138:case 100:case 129:case 14:case 15:return!0;case 98:return!ee;case 40:return!ee&&vi(Xw);case 20:return!ee&&vi(u2);default:return Rs()}}function u2(){return St(),te()===21||i2(!1)||e0()}function hk(){const ee=ce();let Ee=l2();for(;!t.hasPrecedingLineBreak();)switch(te()){case 53:St(),Ee=br(S.createJSDocNonNullableType(Ee,!0),ee);break;case 57:if(vi(Vt))return Ee;St(),Ee=br(S.createJSDocNullableType(Ee,!0),ee);break;case 22:if(Qr(22),e0()){const at=nu();Qr(23),Ee=br(S.createIndexedAccessTypeNode(Ee,at),ee)}else Qr(23),Ee=br(S.createArrayTypeNode(Ee),ee);break;default:return Ee}return Ee}function f2(ee){const Ee=ce();return Qr(ee),br(S.createTypeOperatorNode(ee,rS()),Ee)}function a3(){if(ea(94)){const ee=kt(nu);if(qr()||te()!==57)return ee}}function Qw(){const ee=ce(),Ee=Ut(),at=Bo(a3),Lt=S.createTypeParameterDeclaration(void 0,Ee,at);return br(Lt,ee)}function zv(){const ee=ce();return Qr(138),br(S.createInferTypeNode(Qw()),ee)}function rS(){const ee=te();switch(ee){case 141:case 156:case 146:return f2(ee);case 138:return zv()}return Ne(hk)}function nt(ee){if($v()){const Ee=ad();let at;return Vg(Ee)?at=ee?v.Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:v.Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:at=ee?v.Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:v.Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type,ne(Ee,at),Ee}}function h1(ee,Ee,at){const Lt=ce(),sr=ee===51,Br=ea(ee);let pi=Br&&nt(sr)||Ee();if(te()===ee||Br){const Gi=[pi];for(;ea(ee);)Gi.push(nt(sr)||Ee());pi=br(at(Pc(Gi,Lt)),Lt)}return pi}function fh(){return h1(50,rS,S.createIntersectionTypeNode)}function Vv(){return h1(51,fh,S.createUnionTypeNode)}function _2(){return St(),te()===103}function $v(){return te()===29||te()===20&&vi(gk)?!0:te()===103||te()===126&&vi(_2)}function t0(){if(G0(te())&&pc(!1),Rs()||te()===108)return St(),!0;if(te()===22||te()===18){const ee=gt.length;return k1(),ee===gt.length}return!1}function gk(){return St(),!!(te()===21||te()===25||t0()&&(te()===58||te()===27||te()===57||te()===63||te()===21&&(St(),te()===38)))}function Oo(){const ee=ce(),Ee=Rs()&&Bo(nm),at=nu();return Ee?br(S.createTypePredicateNode(void 0,Ee,at),ee):at}function nm(){const ee=Ut();if(te()===140&&!t.hasPrecedingLineBreak())return St(),ee}function nS(){const ee=ce(),Ee=zu(129),at=te()===108?Ts():Ut(),Lt=ea(140)?nu():void 0;return br(S.createTypePredicateNode(Ee,at,Lt),ee)}function nu(){if(un&40960)return _i(40960,nu);if($v())return ad();const ee=ce(),Ee=Vv();if(!qr()&&!t.hasPrecedingLineBreak()&&ea(94)){const at=kt(nu);Qr(57);const Lt=Ne(nu);Qr(58);const sr=Ne(nu);return br(S.createConditionalTypeNode(Ee,at,Lt,sr),ee)}return Ee}function Zg(){return ea(58)?nu():void 0}function p2(){switch(te()){case 108:case 106:case 104:case 110:case 95:case 8:case 9:case 10:case 14:case 15:case 20:case 22:case 18:case 98:case 84:case 103:case 43:case 68:case 79:return!0;case 100:return vi(KT);default:return Rs()}}function im(){if(p2())return!0;switch(te()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 45:case 46:case 29:case 133:case 125:case 80:case 59:return!0;default:return Yw()?!0:Rs()}}function d2(){return te()!==18&&te()!==98&&te()!==84&&te()!==59&&im()}function Yu(){const ee=qn();ee&&nn(!1);const Ee=ce();let at=Tu(!0),Lt;for(;Lt=Ao(27);)at=qv(at,Lt,Tu(!0),Ee);return ee&&nn(!0),at}function r0(){return ea(63)?Tu(!0):void 0}function Tu(ee){if(yk())return ys();const Ee=ug(ee)||Kg(ee);if(Ee)return Ee;const at=ce(),Lt=h2(0);return Lt.kind===79&&te()===38?gi(at,Lt,ee,void 0):g_(Lt)&&Z0(yn())?qv(Lt,Vl(),Tu(ee),at):vk(Lt,at,ee)}function yk(){return te()===125?Kt()?!0:vi(Xv):!1}function o3(){return St(),!t.hasPrecedingLineBreak()&&Rs()}function ys(){const ee=ce();return St(),!t.hasPrecedingLineBreak()&&(te()===41||im())?br(S.createYieldExpression(Ao(41),Tu(!0)),ee):br(S.createYieldExpression(void 0,void 0),ee)}function gi(ee,Ee,at,Lt){R.assert(te()===38,"parseSimpleArrowFunctionExpression should only have been called if we had a =>");const sr=S.createParameterDeclaration(void 0,void 0,Ee,void 0,void 0,void 0);br(sr,Ee.pos);const Br=Pc([sr],sr.pos,sr.end),pi=zu(38),Gi=m2(!!Lt,at),Ki=S.createArrowFunction(Lt,void 0,Br,void 0,pi,Gi);return Pr(br(Ki,ee))}function ug(ee){const Ee=H_();if(Ee!==0)return Ee===1?Xc(!0,!0):Bo(()=>n0(ee))}function H_(){return te()===20||te()===29||te()===132?vi(iS):te()===38?1:0}function iS(){if(te()===132&&(St(),t.hasPrecedingLineBreak()||te()!==20&&te()!==29))return 0;const ee=te(),Ee=St();if(ee===20){if(Ee===21)switch(St()){case 38:case 58:case 18:return 1;default:return 0}if(Ee===22||Ee===18)return 2;if(Ee===25)return 1;if(G0(Ee)&&Ee!==132&&vi(Gc))return St()===128?0:1;if(!Rs()&&Ee!==108)return 0;switch(St()){case 58:return 1;case 57:return St(),te()===58||te()===27||te()===63||te()===21?1:0;case 27:case 63:case 21:return 2}return 0}else return R.assert(ee===29),!Rs()&&te()!==85?0:We===1?vi(()=>{ea(85);const Lt=St();if(Lt===94)switch(St()){case 63:case 31:case 43:return!1;default:return!0}else if(Lt===27||Lt===63)return!0;return!1})?1:0:2}function n0(ee){const Ee=t.getTokenPos();if(rn!=null&&rn.has(Ee))return;const at=Xc(!1,ee);return at||(rn||(rn=new Set)).add(Ee),at}function Kg(ee){if(te()===132&&vi(fg)===1){const Ee=ce(),at=mS(),Lt=h2(0);return gi(Ee,Lt,ee,at)}}function fg(){if(te()===132){if(St(),t.hasPrecedingLineBreak()||te()===38)return 0;const ee=h2(0);if(!t.hasPrecedingLineBreak()&&ee.kind===79&&te()===38)return 1}return 0}function Xc(ee,Ee){const at=ce(),Lt=Be(),sr=mS(),Br=Oe(sr,YP)?2:0,pi=tm();let Gi;if(Qr(20)){if(ee)Gi=Yg(Br,ee);else{const gh=Yg(Br,ee);if(!gh)return;Gi=gh}if(!Qr(21)&&!ee)return}else{if(!ee)return;Gi=mf()}const Ki=te()===58,zi=rm(58,!1);if(zi&&!ee&&fn(zi))return;let Hs=zi;for(;(Hs==null?void 0:Hs.kind)===193;)Hs=Hs.type;const nc=Hs&&T4(Hs);if(!ee&&te()!==38&&(nc||te()!==18))return;const to=te(),Mo=zu(38),P_=to===38||to===18?m2(Oe(sr,YP),Ee):Ut();if(!Ee&&Ki&&te()!==58)return;const Fm=S.createArrowFunction(sr,pi,Gi,zi,Mo,P_);return Rr(br(Fm,at),Lt)}function m2(ee,Ee){if(te()===18)return E_(ee?2:0);if(te()!==26&&te()!==98&&te()!==84&&wk()&&!d2())return E_(16|(ee?2:0));const at=Gr;Gr=!1;const Lt=ee?xe(()=>Tu(Ee)):Y(()=>Tu(Ee));return Gr=at,Lt}function vk(ee,Ee,at){const Lt=Ao(57);if(!Lt)return ee;let sr;return br(S.createConditionalExpression(ee,Lt,_i(n,()=>Tu(!1)),sr=zu(58),md(sr)?Tu(at):Cl(79,!1,v._0_expected,qa(58))),Ee)}function h2(ee){const Ee=ce(),at=Im();return od(ee,at,Ee)}function bk(ee){return ee===101||ee===162}function od(ee,Ee,at){for(;;){yn();const Lt=c5(te());if(!(te()===42?Lt>=ee:Lt>ee)||te()===101&&wr())break;if(te()===128||te()===150){if(t.hasPrecedingLineBreak())break;{const Br=te();St(),Ee=Br===150?Zw(Ee,nu()):Tk(Ee,nu())}}else Ee=qv(Ee,Vl(),h2(Lt),at)}return Ee}function Yw(){return wr()&&te()===101?!1:c5(te())>0}function Zw(ee,Ee){return br(S.createSatisfiesExpression(ee,Ee),ee.pos)}function qv(ee,Ee,at,Lt){return br(S.createBinaryExpression(ee,Ee,at),Lt)}function Tk(ee,Ee){return br(S.createAsExpression(ee,Ee),ee.pos)}function Sk(){const ee=ce();return br(S.createPrefixUnaryExpression(te(),At(sm)),ee)}function Kw(){const ee=ce();return br(S.createDeleteExpression(At(sm)),ee)}function g2(){const ee=ce();return br(S.createTypeOfExpression(At(sm)),ee)}function xk(){const ee=ce();return br(S.createVoidExpression(At(sm)),ee)}function Rp(){return te()===133?ye()?!0:vi(Xv):!1}function i0(){const ee=ce();return br(S.createAwaitExpression(At(sm)),ee)}function Im(){if(eE()){const at=ce(),Lt=y2();return te()===42?od(c5(te()),Lt,at):Lt}const ee=te(),Ee=sm();if(te()===42){const at=wo(qe,Ee.pos),{end:Lt}=Ee;Ee.kind===213?dt(at,Lt,v.A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses):dt(at,Lt,v.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,qa(ee))}return Ee}function sm(){switch(te()){case 39:case 40:case 54:case 53:return Sk();case 89:return Kw();case 112:return g2();case 114:return xk();case 29:return We===1?s0(!0,void 0,void 0,!0):rE();case 133:if(Rp())return i0();default:return y2()}}function eE(){switch(te()){case 39:case 40:case 54:case 53:case 89:case 112:case 114:case 133:return!1;case 29:if(We!==1)return!1;default:return!0}}function y2(){if(te()===45||te()===46){const Ee=ce();return br(S.createPrefixUnaryExpression(te(),At(_h)),Ee)}else if(We===1&&te()===29&&vi(wl))return s0(!0);const ee=_h();if(R.assert(g_(ee)),(te()===45||te()===46)&&!t.hasPrecedingLineBreak()){const Ee=te();return St(),br(S.createPostfixUnaryExpression(ee,Ee),ee.pos)}return ee}function _h(){const ee=ce();let Ee;return te()===100?vi(jv)?(Je|=2097152,Ee=Vl()):vi(Gw)?(St(),St(),Ee=br(S.createMetaProperty(100,tr()),ee),Je|=4194304):Ee=kk():Ee=te()===106?c_():kk(),wn(ee,Ee)}function kk(){const ee=ce(),Ee=Ed();return Bp(ee,Ee,!0)}function c_(){const ee=ce();let Ee=Vl();if(te()===29){const at=ce(),Lt=Bo(v1);Lt!==void 0&&(dt(at,ce(),v.super_may_not_use_type_arguments),Wv()||(Ee=S.createExpressionWithTypeArguments(Ee,Lt)))}return te()===20||te()===24||te()===22?Ee:(zu(24,v.super_must_be_followed_by_an_argument_list_or_member_access),br(ue(Ee,gp(!0,!0)),ee))}function s0(ee,Ee,at,Lt=!1){const sr=ce(),Br=Ck(ee);let pi;if(Br.kind===283){let Gi=a0(Br),Ki;const zi=Gi[Gi.length-1];if((zi==null?void 0:zi.kind)===281&&!Qb(zi.openingElement.tagName,zi.closingElement.tagName)&&Qb(Br.tagName,zi.closingElement.tagName)){const Hs=zi.children.end,nc=br(S.createJsxElement(zi.openingElement,zi.children,br(S.createJsxClosingElement(br(U(""),Hs,Hs)),Hs,Hs)),zi.openingElement.pos,Hs);Gi=Pc([...Gi.slice(0,Gi.length-1),nc],Gi.pos,Hs),Ki=zi.closingElement}else Ki=v2(Br,ee),Qb(Br.tagName,Ki.tagName)||(at&&Wg(at)&&Qb(Ki.tagName,at.tagName)?ne(Br.tagName,v.JSX_element_0_has_no_corresponding_closing_tag,oP(qe,Br.tagName)):ne(Ki.tagName,v.Expected_corresponding_JSX_closing_tag_for_0,oP(qe,Br.tagName)));pi=br(S.createJsxElement(Br,Gi,Ki),sr)}else Br.kind===286?pi=br(S.createJsxFragment(Br,a0(Br),b2(ee)),sr):(R.assert(Br.kind===282),pi=Br);if(!Lt&&ee&&te()===29){const Gi=typeof Ee>"u"?pi.pos:Ee,Ki=Bo(()=>s0(!0,Gi));if(Ki){const zi=Cl(27,!1);return zP(zi,Ki.pos,0),dt(wo(qe,Gi),Ki.end,v.JSX_expressions_must_have_one_parent_element),br(S.createBinaryExpression(pi,zi,Ki),sr)}}return pi}function ph(){const ee=ce(),Ee=S.createJsxText(t.getTokenValue(),er===12);return er=t.scanJsxToken(),br(Ee,ee)}function dh(ee,Ee){switch(Ee){case 1:if(mw(ee))ne(ee,v.JSX_fragment_has_no_corresponding_closing_tag);else{const at=ee.tagName,Lt=wo(qe,at.pos);dt(Lt,at.end,v.JSX_element_0_has_no_corresponding_closing_tag,oP(qe,ee.tagName))}return;case 30:case 7:return;case 11:case 12:return ph();case 18:return aS(!1);case 29:return s0(!1,void 0,ee);default:return R.assertNever(Ee)}}function a0(ee){const Ee=[],at=ce(),Lt=dr;for(dr|=1<<14;;){const sr=dh(ee,er=t.reScanJsxToken());if(!sr||(Ee.push(sr),Wg(ee)&&(sr==null?void 0:sr.kind)===281&&!Qb(sr.openingElement.tagName,sr.closingElement.tagName)&&Qb(ee.tagName,sr.closingElement.tagName)))break}return dr=Lt,Pc(Ee,at)}function sS(){const ee=ce();return br(S.createJsxAttributes(de(13,_c)),ee)}function Ck(ee){const Ee=ce();if(Qr(29),te()===31)return Ia(),br(S.createJsxOpeningFragment(),Ee);const at=g1(),Lt=un&262144?void 0:X_(),sr=sS();let Br;return te()===31?(Ia(),Br=S.createJsxOpeningElement(at,Lt,sr)):(Qr(43),Qr(31,void 0,!1)&&(ee?St():Ia()),Br=S.createJsxSelfClosingElement(at,Lt,sr)),br(Br,Ee)}function g1(){const ee=ce();Xa();let Ee=te()===108?Vl():tr();for(;ea(24);)Ee=br(ue(Ee,gp(!0,!1)),ee);return Ee}function aS(ee){const Ee=ce();if(!Qr(18))return;let at,Lt;return te()!==19&&(at=Ao(25),Lt=Yu()),ee?Qr(19):Qr(19,void 0,!1)&&Ia(),br(S.createJsxExpression(at,Lt),Ee)}function _c(){if(te()===18)return tE();Xa();const ee=ce();return br(S.createJsxAttribute(tr(),y1()),ee)}function y1(){if(te()===63){if(Fs()===10)return ta();if(te()===18)return aS(!0);if(te()===29)return s0(!0);wt(v.or_JSX_element_expected)}}function tE(){const ee=ce();Qr(18),Qr(25);const Ee=Yu();return Qr(19),br(S.createJsxSpreadAttribute(Ee),ee)}function v2(ee,Ee){const at=ce();Qr(30);const Lt=g1();return Qr(31,void 0,!1)&&(Ee||!Qb(ee.tagName,Lt)?St():Ia()),br(S.createJsxClosingElement(Lt),at)}function b2(ee){const Ee=ce();return Qr(30),Qr(31,v.Expected_corresponding_closing_tag_for_JSX_fragment,!1)&&(ee?St():Ia()),br(S.createJsxJsxClosingFragment(),Ee)}function rE(){R.assert(We!==1,"Type assertions should never be parsed in JSX; they should be parsed as comparisons or JSX elements/fragments.");const ee=ce();Qr(29);const Ee=nu();Qr(31);const at=sm();return br(S.createTypeAssertion(Ee,at),ee)}function c3(){return St(),qf(te())||te()===22||Wv()}function nE(){return te()===28&&vi(c3)}function Rn(ee){if(ee.flags&32)return!0;if(uw(ee)){let Ee=ee.expression;for(;uw(Ee)&&!(Ee.flags&32);)Ee=Ee.expression;if(Ee.flags&32){for(;uw(ee);)ee.flags|=32,ee=ee.expression;return!0}}return!1}function dl(ee,Ee,at){const Lt=gp(!0,!0),sr=at||Rn(Ee),Br=sr?ie(Ee,at,Lt):ue(Ee,Lt);if(sr&&as(Br.name)&&ne(Br.name,v.An_optional_chain_cannot_contain_private_identifiers),n1(Ee)&&Ee.typeArguments){const pi=Ee.typeArguments.pos-1,Gi=wo(qe,Ee.typeArguments.end)+1;dt(pi,Gi,v.An_instantiation_expression_cannot_be_followed_by_a_property_access)}return br(Br,ee)}function Bs(ee,Ee,at){let Lt;if(te()===23)Lt=Cl(79,!0,v.An_element_access_expression_should_take_an_argument);else{const Br=Pt(Yu);Zp(Br)&&(Br.text=df(Br.text)),Lt=Br}Qr(23);const sr=at||Rn(Ee)?V(Ee,at,Lt):se(Ee,Lt);return br(sr,ee)}function Bp(ee,Ee,at){for(;;){let Lt,sr=!1;if(at&&nE()?(Lt=zu(28),sr=qf(te())):sr=ea(24),sr){Ee=dl(ee,Ee,Lt);continue}if((Lt||!qn())&&ea(22)){Ee=Bs(ee,Ee,Lt);continue}if(Wv()){Ee=!Lt&&Ee.kind===230?_g(ee,Ee.expression,Lt,Ee.typeArguments):_g(ee,Ee,Lt,void 0);continue}if(!Lt){if(te()===53&&!t.hasPrecedingLineBreak()){St(),Ee=br(S.createNonNullExpression(Ee),ee);continue}const Br=Bo(v1);if(Br){Ee=br(S.createExpressionWithTypeArguments(Ee,Br),ee);continue}}return Ee}}function Wv(){return te()===14||te()===15}function _g(ee,Ee,at,Lt){const sr=S.createTaggedTemplateExpression(Ee,Lt,te()===14?(Zi(),ta()):Dm(!0));return(at||Ee.flags&32)&&(sr.flags|=32),sr.questionDotToken=at,br(sr,ee)}function wn(ee,Ee){for(;;){Ee=Bp(ee,Ee,!0);let at;const Lt=Ao(28);if(Lt&&(at=Bo(v1),Wv())){Ee=_g(ee,Ee,Lt,at);continue}if(at||te()===20){!Lt&&Ee.kind===230&&(at=Ee.typeArguments,Ee=Ee.expression);const sr=iE(),Br=Lt||Rn(Ee)?fe(Ee,Lt,at,sr):ve(Ee,at,sr);Ee=br(Br,ee);continue}if(Lt){const sr=Cl(79,!1,v.Identifier_expected);Ee=br(ie(Ee,Lt,sr),ee)}break}return Ee}function iE(){Qr(20);const ee=Bl(11,am);return Qr(21),ee}function v1(){if(un&262144||hs()!==29)return;St();const ee=Bl(20,nu);if(yn()===31)return St(),ee&&pu()?ee:void 0}function pu(){switch(te()){case 20:case 14:case 15:return!0;case 29:case 31:case 39:case 40:return!1}return t.hasPrecedingLineBreak()||Yw()||!im()}function Ed(){switch(te()){case 8:case 9:case 10:case 14:return ta();case 108:case 106:case 104:case 110:case 95:return Vl();case 20:return Om();case 22:return T1();case 18:return jl();case 132:if(!vi(k2))break;return o0();case 59:return _0();case 84:return Kv();case 98:return o0();case 103:return Ad();case 43:case 68:if(Di()===13)return ta();break;case 15:return Dm(!1);case 80:return si()}return Ut(v.Expression_expected)}function Om(){const ee=ce(),Ee=Be();Qr(20);const at=Pt(Yu);return Qr(21),Rr(br(_e(at),ee),Ee)}function b1(){const ee=ce();Qr(25);const Ee=Tu(!0);return br(S.createSpreadElement(Ee),ee)}function oS(){return te()===25?b1():te()===27?br(S.createOmittedExpression(),ce()):Tu(!0)}function am(){return _i(n,oS)}function T1(){const ee=ce(),Ee=t.getTokenPos(),at=Qr(22),Lt=t.hasPrecedingLineBreak(),sr=Bl(15,oS);return Ka(22,23,at,Ee),br(X(sr,Lt),ee)}function Il(){const ee=ce(),Ee=Be();if(Ao(25)){const Hs=Tu(!0);return Rr(br(S.createSpreadAssignment(Hs),ee),Ee)}const at=pc(!0);if(Ws(137))return mg(ee,Ee,at,174,0);if(Ws(151))return mg(ee,Ee,at,175,0);const Lt=Ao(41),sr=Rs(),Br=Or(),pi=Ao(57),Gi=Ao(53);if(Lt||te()===20||te()===29)return Ak(ee,Ee,at,Lt,Br,pi,Gi);let Ki;if(sr&&te()!==58){const Hs=Ao(63),nc=Hs?Pt(()=>Tu(!0)):void 0;Ki=S.createShorthandPropertyAssignment(Br,nc),Ki.equalsToken=Hs}else{Qr(58);const Hs=Pt(()=>Tu(!0));Ki=S.createPropertyAssignment(Br,Hs)}return Ki.modifiers=at,Ki.questionToken=pi,Ki.exclamationToken=Gi,Rr(br(Ki,ee),Ee)}function jl(){const ee=ce(),Ee=t.getTokenPos(),at=Qr(18),Lt=t.hasPrecedingLineBreak(),sr=Bl(12,Il,!0);return Ka(18,19,at,Ee),br(Z(sr,Lt),ee)}function o0(){const ee=qn();nn(!1);const Ee=ce(),at=Be(),Lt=pc(!1);Qr(98);const sr=Ao(41),Br=sr?1:0,pi=Oe(Lt,YP)?2:0,Gi=Br&&pi?Ze(Zu):Br?Te(Zu):pi?xe(Zu):Zu(),Ki=tm(),zi=Nm(Br|pi),Hs=rm(58,!1),nc=E_(Br|pi);nn(ee);const to=S.createFunctionExpression(Lt,sr,Gi,Ki,zi,Hs,nc);return Rr(br(to,Ee),at)}function Zu(){return Ji()?be():void 0}function Ad(){const ee=ce();if(Qr(103),ea(24)){const Br=tr();return br(S.createMetaProperty(103,Br),ee)}const Ee=ce();let at=Bp(Ee,Ed(),!1),Lt;at.kind===230&&(Lt=at.typeArguments,at=at.expression),te()===28&&wt(v.Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0,oP(qe,at));const sr=te()===20?iE():void 0;return br(Ce(at,Lt,sr),ee)}function pg(ee,Ee){const at=ce(),Lt=Be(),sr=t.getTokenPos(),Br=Qr(18,Ee);if(Br||ee){const pi=t.hasPrecedingLineBreak(),Gi=de(1,jp);Ka(18,19,Br,sr);const Ki=Rr(br(K(Gi,pi),at),Lt);return te()===63&&(wt(v.Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses),St()),Ki}else{const pi=mf();return Rr(br(K(pi,void 0),at),Lt)}}function E_(ee,Ee){const at=Kt();Tr(!!(ee&1));const Lt=ye();Xn(!!(ee&2));const sr=Gr;Gr=!1;const Br=qn();Br&&nn(!1);const pi=pg(!!(ee&16),Ee);return Br&&nn(!0),Gr=sr,Tr(at),Xn(Lt),pi}function cS(){const ee=ce(),Ee=Be();return Qr(26),Rr(br(S.createEmptyStatement(),ee),Ee)}function T2(){const ee=ce(),Ee=Be();Qr(99);const at=t.getTokenPos(),Lt=Qr(20),sr=Pt(Yu);Ka(20,21,Lt,at);const Br=jp(),pi=ea(91)?jp():void 0;return Rr(br(we(sr,Br,pi),ee),Ee)}function S2(){const ee=ce(),Ee=Be();Qr(90);const at=jp();Qr(115);const Lt=t.getTokenPos(),sr=Qr(20),Br=Pt(Yu);return Ka(20,21,sr,Lt),ea(26),Rr(br(S.createDoStatement(at,Br),ee),Ee)}function Lm(){const ee=ce(),Ee=Be();Qr(115);const at=t.getTokenPos(),Lt=Qr(20),sr=Pt(Yu);Ka(20,21,Lt,at);const Br=jp();return Rr(br(Pe(sr,Br),ee),Ee)}function ey(){const ee=ce(),Ee=Be();Qr(97);const at=Ao(133);Qr(20);let Lt;te()!==26&&(te()===113||te()===119||te()===85?Lt=mh(!0):Lt=Ht(Yu));let sr;if(at?Qr(162):ea(162)){const Br=Pt(()=>Tu(!0));Qr(21),sr=ot(at,Lt,Br,jp())}else if(ea(101)){const Br=Pt(Yu);Qr(21),sr=S.createForInStatement(Lt,Br,jp())}else{Qr(26);const Br=te()!==26&&te()!==21?Pt(Yu):void 0;Qr(26);const pi=te()!==21?Pt(Yu):void 0;Qr(21),sr=le(Lt,Br,pi,jp())}return Rr(br(sr,ee),Ee)}function lS(ee){const Ee=ce(),at=Be();Qr(ee===249?81:86);const Lt=fc()?void 0:Ut();Fc();const sr=ee===249?S.createBreakStatement(Lt):S.createContinueStatement(Lt);return Rr(br(sr,Ee),at)}function S1(){const ee=ce(),Ee=Be();Qr(105);const at=fc()?void 0:Pt(Yu);return Fc(),Rr(br(S.createReturnStatement(at),ee),Ee)}function ml(){const ee=ce(),Ee=Be();Qr(116);const at=t.getTokenPos(),Lt=Qr(20),sr=Pt(Yu);Ka(20,21,Lt,at);const Br=Fe(33554432,jp);return Rr(br(S.createWithStatement(sr,Br),ee),Ee)}function c0(){const ee=ce(),Ee=Be();Qr(82);const at=Pt(Yu);Qr(58);const Lt=de(3,jp);return Rr(br(S.createCaseClause(at,Lt),ee),Ee)}function ty(){const ee=ce();Qr(88),Qr(58);const Ee=de(3,jp);return br(S.createDefaultClause(Ee),ee)}function Hv(){return te()===82?c0():ty()}function Gv(){const ee=ce();Qr(18);const Ee=de(2,Hv);return Qr(19),br(S.createCaseBlock(Ee),ee)}function Ku(){const ee=ce(),Ee=Be();Qr(107),Qr(20);const at=Pt(Yu);Qr(21);const Lt=Gv();return Rr(br(S.createSwitchStatement(at,Lt),ee),Ee)}function ry(){const ee=ce(),Ee=Be();Qr(109);let at=t.hasPrecedingLineBreak()?void 0:Pt(Yu);return at===void 0&&(xr++,at=br(U(""),ce())),Kc()||Rl(at),Rr(br(S.createThrowStatement(at),ee),Ee)}function iu(){const ee=ce(),Ee=Be();Qr(111);const at=pg(!1),Lt=te()===83?uS():void 0;let sr;return(!Lt||te()===96)&&(Qr(96,v.catch_or_finally_expected),sr=pg(!1)),Rr(br(S.createTryStatement(at,Lt,sr),ee),Ee)}function uS(){const ee=ce();Qr(83);let Ee;ea(20)?(Ee=C1(),Qr(21)):Ee=void 0;const at=pg(!1);return br(S.createCatchClause(Ee,at),ee)}function ny(){const ee=ce(),Ee=Be();return Qr(87),Fc(),Rr(br(S.createDebuggerStatement(),ee),Ee)}function x2(){const ee=ce();let Ee=Be(),at;const Lt=te()===20,sr=Pt(Yu);return Ye(sr)&&ea(58)?at=S.createLabeledStatement(sr,jp()):(Kc()||Rl(sr),at=Se(sr),Lt&&(Ee=!1)),Rr(br(at,ee),Ee)}function l_(){return St(),qf(te())&&!t.hasPrecedingLineBreak()}function dg(){return St(),te()===84&&!t.hasPrecedingLineBreak()}function k2(){return St(),te()===98&&!t.hasPrecedingLineBreak()}function Xv(){return St(),(qf(te())||te()===8||te()===9||te()===10)&&!t.hasPrecedingLineBreak()}function fS(){for(;;)switch(te()){case 113:case 119:case 85:case 98:case 84:case 92:return!0;case 118:case 154:return o3();case 142:case 143:return sE();case 126:case 127:case 132:case 136:case 121:case 122:case 123:case 146:if(St(),t.hasPrecedingLineBreak())return!1;continue;case 159:return St(),te()===18||te()===79||te()===93;case 100:return St(),te()===10||te()===41||te()===18||qf(te());case 93:let ee=St();if(ee===154&&(ee=vi(St)),ee===63||ee===41||ee===18||ee===88||ee===128||ee===59)return!0;continue;case 124:St();continue;default:return!1}}function x1(){return vi(fS)}function wk(){switch(te()){case 59:case 26:case 18:case 113:case 119:case 98:case 84:case 92:case 99:case 90:case 115:case 97:case 86:case 81:case 105:case 116:case 107:case 109:case 111:case 87:case 83:case 96:return!0;case 100:return x1()||vi(KT);case 85:case 93:return x1();case 132:case 136:case 118:case 142:case 143:case 154:case 159:return!0;case 127:case 123:case 121:case 122:case 124:case 146:return x1()||!vi(l_);default:return im()}}function Qv(){return St(),Ji()||te()===18||te()===22}function l0(){return vi(Qv)}function jp(){switch(te()){case 26:return cS();case 18:return pg(!1);case 113:return u0(ce(),Be(),void 0);case 119:if(l0())return u0(ce(),Be(),void 0);break;case 98:return Zv(ce(),Be(),void 0);case 84:return Pk(ce(),Be(),void 0);case 99:return T2();case 90:return S2();case 115:return Lm();case 97:return ey();case 86:return lS(248);case 81:return lS(249);case 105:return S1();case 116:return ml();case 107:return Ku();case 109:return ry();case 111:case 83:case 96:return iu();case 87:return ny();case 59:return yp();case 132:case 118:case 154:case 142:case 143:case 136:case 85:case 92:case 93:case 100:case 121:case 122:case 123:case 126:case 127:case 124:case 146:case 159:if(x1())return yp();break}return x2()}function _S(ee){return ee.kind===136}function yp(){const ee=ce(),Ee=Be(),at=pc(!0);if(Oe(at,_S)){const sr=iy(ee);if(sr)return sr;for(const Br of at)Br.flags|=16777216;return Fe(16777216,()=>Yv(ee,Ee,at))}else return Yv(ee,Ee,at)}function iy(ee){return Fe(16777216,()=>{const Ee=Yt(dr,ee);if(Ee)return Xt(Ee)})}function Yv(ee,Ee,at){switch(te()){case 113:case 119:case 85:return u0(ee,Ee,at);case 98:return Zv(ee,Ee,at);case 84:return Pk(ee,Ee,at);case 118:return p0(ee,Ee,at);case 154:return cE(ee,Ee,at);case 92:return A(ee,Ee,at);case 159:case 142:case 143:return Qn(ee,Ee,at);case 100:return Q_(ee,Ee,at);case 93:switch(St(),te()){case 88:case 63:return rc(ee,Ee,at);case 128:return Vu(ee,Ee,at);default:return FL(ee,Ee,at)}default:if(at){const Lt=Cl(279,!0,v.Declaration_expected);return UP(Lt,ee),Lt.modifiers=at,Lt}return}}function sE(){return St(),!t.hasPrecedingLineBreak()&&(Rs()||te()===10)}function Fo(ee,Ee){if(te()!==18){if(ee&4){Bv();return}if(fc()){Fc();return}}return E_(ee,Ee)}function Zn(){const ee=ce();if(te()===27)return br(S.createOmittedExpression(),ee);const Ee=Ao(25),at=k1(),Lt=r0();return br(S.createBindingElement(Ee,void 0,at,Lt),ee)}function G_(){const ee=ce(),Ee=Ao(25),at=Ji();let Lt=Or(),sr;at&&te()!==58?(sr=Lt,Lt=void 0):(Qr(58),sr=k1());const Br=r0();return br(S.createBindingElement(Ee,Lt,sr,Br),ee)}function u_(){const ee=ce();Qr(18);const Ee=Bl(9,G_);return Qr(19),br(S.createObjectBindingPattern(Ee),ee)}function Ek(){const ee=ce();Qr(22);const Ee=Bl(10,Zn);return Qr(23),br(S.createArrayBindingPattern(Ee),ee)}function pS(){return te()===18||te()===22||te()===80||Ji()}function k1(ee){return te()===22?Ek():te()===18?u_():be(ee)}function aE(){return C1(!0)}function C1(ee){const Ee=ce(),at=Be(),Lt=k1(v.Private_identifiers_are_not_allowed_in_variable_declarations);let sr;ee&&Lt.kind===79&&te()===53&&!t.hasPrecedingLineBreak()&&(sr=Vl());const Br=Zg(),pi=bk(te())?void 0:r0(),Gi=Qe(Lt,sr,Br,pi);return Rr(br(Gi,Ee),at)}function mh(ee){const Ee=ce();let at=0;switch(te()){case 113:break;case 119:at|=1;break;case 85:at|=2;break;default:R.fail()}St();let Lt;if(te()===162&&vi(Mm))Lt=mf();else{const sr=wr();en(ee),Lt=Bl(8,ee?C1:aE),en(sr)}return br(Ge(Lt,at),Ee)}function Mm(){return Gc()&&St()===21}function u0(ee,Ee,at){const Lt=mh(!1);Fc();const sr=ge(at,Lt);return Rr(br(sr,ee),Ee)}function Zv(ee,Ee,at){const Lt=ye(),sr=Qh(at);Qr(98);const Br=Ao(41),pi=sr&1024?Zu():be(),Gi=Br?1:0,Ki=sr&512?2:0,zi=tm();sr&1&&Xn(!0);const Hs=Nm(Gi|Ki),nc=rm(58,!1),to=Fo(Gi|Ki,v.or_expected);Xn(Lt);const Mo=S.createFunctionDeclaration(at,Br,pi,zi,Hs,nc,to);return Rr(br(Mo,ee),Ee)}function sy(){if(te()===135)return Qr(135);if(te()===10&&vi(St)===20)return Bo(()=>{const ee=ta();return ee.text==="constructor"?ee:void 0})}function hh(ee,Ee,at){return Bo(()=>{if(sy()){const Lt=tm(),sr=Nm(0),Br=rm(58,!1),pi=Fo(0,v.or_expected),Gi=S.createConstructorDeclaration(at,sr,pi);return Gi.typeParameters=Lt,Gi.type=Br,Rr(br(Gi,ee),Ee)}})}function Ak(ee,Ee,at,Lt,sr,Br,pi,Gi){const Ki=Lt?1:0,zi=Oe(at,YP)?2:0,Hs=tm(),nc=Nm(Ki|zi),to=rm(58,!1),Mo=Fo(Ki|zi,Gi),P_=S.createMethodDeclaration(at,Lt,sr,Br,Hs,nc,to,Mo);return P_.exclamationToken=pi,Rr(br(P_,ee),Ee)}function Ol(ee,Ee,at,Lt,sr){const Br=!sr&&!t.hasPrecedingLineBreak()?Ao(53):void 0,pi=Zg(),Gi=_i(45056,r0);Nl(Lt,pi,Gi);const Ki=S.createPropertyDeclaration(at,Lt,sr||Br,pi,Gi);return Rr(br(Ki,ee),Ee)}function vp(ee,Ee,at){const Lt=Ao(41),sr=Or(),Br=Ao(57);return Lt||te()===20||te()===29?Ak(ee,Ee,at,Lt,sr,Br,void 0,v.or_expected):Ol(ee,Ee,at,sr,Br)}function mg(ee,Ee,at,Lt,sr){const Br=Or(),pi=tm(),Gi=Nm(0),Ki=rm(58,!1),zi=Fo(sr),Hs=Lt===174?S.createGetAccessorDeclaration(at,Br,Gi,Ki,zi):S.createSetAccessorDeclaration(at,Br,Gi,zi);return Hs.typeParameters=pi,nd(Hs)&&(Hs.type=Ki),Rr(br(Hs,ee),Ee)}function A_(){let ee;if(te()===59)return!0;for(;G0(te());){if(ee=te(),uK(ee))return!0;St()}if(te()===41||(oe()&&(ee=te(),St()),te()===22))return!0;if(ee!==void 0){if(!b_(ee)||ee===151||ee===137)return!0;switch(te()){case 20:case 29:case 53:case 58:case 63:case 57:return!0;default:return fc()}}return!1}function dS(ee,Ee,at){zu(124);const Lt=w1(),sr=Rr(br(S.createClassStaticBlockDeclaration(Lt),ee),Ee);return sr.modifiers=at,sr}function w1(){const ee=Kt(),Ee=ye();Tr(!1),Xn(!0);const at=pg(!1);return Tr(ee),Xn(Ee),at}function f0(){if(ye()&&te()===133){const ee=ce(),Ee=Ut(v.Expression_expected);St();const at=Bp(ee,Ee,!0);return wn(ee,at)}return _h()}function oE(){const ee=ce();if(!ea(59))return;const Ee=pe(f0);return br(S.createDecorator(Ee),ee)}function Jp(ee,Ee,at){const Lt=ce(),sr=te();if(te()===85&&Ee){if(!Bo(jo))return}else{if(at&&te()===124&&vi(ms))return;if(ee&&te()===124)return;if(!Hc())return}return br(W(sr),Lt)}function pc(ee,Ee,at){const Lt=ce();let sr,Br,pi,Gi=!1,Ki=!1,zi=!1;if(ee&&te()===59)for(;Br=oE();)sr=$r(sr,Br);for(;pi=Jp(Gi,Ee,at);)pi.kind===124&&(Gi=!0),sr=$r(sr,pi),Ki=!0;if(Ki&&ee&&te()===59)for(;Br=oE();)sr=$r(sr,Br),zi=!0;if(zi)for(;pi=Jp(Gi,Ee,at);)pi.kind===124&&(Gi=!0),sr=$r(sr,pi);return sr&&Pc(sr,Lt)}function mS(){let ee;if(te()===132){const Ee=ce();St();const at=br(W(132),Ee);ee=Pc([at],Ee)}return ee}function hS(){const ee=ce();if(te()===26)return St(),br(S.createSemicolonClassElement(),ee);const Ee=Be(),at=pc(!0,!0,!0);if(te()===124&&vi(ms))return dS(ee,Ee,at);if(Ws(137))return mg(ee,Ee,at,174,0);if(Ws(151))return mg(ee,Ee,at,175,0);if(te()===135||te()===10){const Lt=hh(ee,Ee,at);if(Lt)return Lt}if(s2())return dk(ee,Ee,at);if(qf(te())||te()===10||te()===8||te()===41||te()===22)if(Oe(at,_S)){for(const sr of at)sr.flags|=16777216;return Fe(16777216,()=>vp(ee,Ee,at))}else return vp(ee,Ee,at);if(at){const Lt=Cl(79,!0,v.Declaration_expected);return Ol(ee,Ee,at,Lt,void 0)}return R.fail("Should not have attempted to parse class member declaration.")}function _0(){const ee=ce(),Ee=Be(),at=pc(!0);if(te()===84)return gS(ee,Ee,at,228);const Lt=Cl(279,!0,v.Expression_expected);return UP(Lt,ee),Lt.modifiers=at,Lt}function Kv(){return gS(ce(),Be(),void 0,228)}function Pk(ee,Ee,at){return gS(ee,Ee,at,260)}function gS(ee,Ee,at,Lt){const sr=ye();Qr(84);const Br=yS(),pi=tm();Oe(at,BJ)&&Xn(!0);const Gi=bS();let Ki;Qr(18)?(Ki=l3(),Qr(19)):Ki=mf(),Xn(sr);const zi=Lt===260?S.createClassDeclaration(at,Br,pi,Gi,Ki):S.createClassExpression(at,Br,pi,Gi,Ki);return Rr(br(zi,ee),Ee)}function yS(){return Ji()&&!vS()?Rf(Ji()):void 0}function vS(){return te()===117&&vi(q_)}function bS(){if(ay())return de(22,TS)}function TS(){const ee=ce(),Ee=te();R.assert(Ee===94||Ee===117),St();const at=Bl(7,E1);return br(S.createHeritageClause(Ee,at),ee)}function E1(){const ee=ce(),Ee=_h();if(Ee.kind===230)return Ee;const at=X_();return br(S.createExpressionWithTypeArguments(Ee,at),ee)}function X_(){return te()===29?Cd(20,nu,29,31):void 0}function ay(){return te()===94||te()===117}function l3(){return de(5,hS)}function p0(ee,Ee,at){Qr(118);const Lt=Ut(),sr=tm(),Br=bS(),pi=Jv(),Gi=S.createInterfaceDeclaration(at,Lt,sr,Br,pi);return Rr(br(Gi,ee),Ee)}function cE(ee,Ee,at){Qr(154);const Lt=Ut(),sr=tm();Qr(63);const Br=te()===139&&Bo(k_)||nu();Fc();const pi=S.createTypeAliasDeclaration(at,Lt,sr,Br);return Rr(br(pi,ee),Ee)}function lE(){const ee=ce(),Ee=Be(),at=Or(),Lt=Pt(r0);return Rr(br(S.createEnumMember(at,Lt),ee),Ee)}function A(ee,Ee,at){Qr(92);const Lt=Ut();let sr;Qr(18)?(sr=ct(()=>Bl(6,lE)),Qr(19)):sr=mf();const Br=S.createEnumDeclaration(at,Lt,sr);return Rr(br(Br,ee),Ee)}function he(){const ee=ce();let Ee;return Qr(18)?(Ee=de(1,jp),Qr(19)):Ee=mf(),br(S.createModuleBlock(Ee),ee)}function Me(ee,Ee,at,Lt){const sr=Lt&16,Br=Ut(),pi=ea(24)?Me(ce(),!1,void 0,4|sr):he(),Gi=S.createModuleDeclaration(at,Br,pi,Lt);return Rr(br(Gi,ee),Ee)}function Sr(ee,Ee,at){let Lt=0,sr;te()===159?(sr=Ut(),Lt|=1024):(sr=ta(),sr.text=df(sr.text));let Br;te()===18?Br=he():Fc();const pi=S.createModuleDeclaration(at,sr,Br,Lt);return Rr(br(pi,ee),Ee)}function Qn(ee,Ee,at){let Lt=0;if(te()===159)return Sr(ee,Ee,at);if(ea(143))Lt|=16;else if(Qr(142),te()===10)return Sr(ee,Ee,at);return Me(ee,Ee,at,Lt)}function Qi(){return te()===147&&vi(Li)}function Li(){return St()===20}function ms(){return St()===18}function Ja(){return St()===43}function Vu(ee,Ee,at){Qr(128),Qr(143);const Lt=Ut();Fc();const sr=S.createNamespaceExportDeclaration(Lt);return sr.modifiers=at,Rr(br(sr,ee),Ee)}function Q_(ee,Ee,at){Qr(100);const Lt=t.getStartPos();let sr;Rs()&&(sr=Ut());let Br=!1;if(te()!==158&&(sr==null?void 0:sr.escapedText)==="type"&&(Rs()||Y_())&&(Br=!0,sr=Rs()?Ut():void 0),sr&&!eb())return tb(ee,Ee,at,sr,Br);let pi;(sr||te()===41||te()===18)&&(pi=P1(sr,Lt,Br),Qr(158));const Gi=Up();let Ki;te()===130&&!t.hasPrecedingLineBreak()&&(Ki=A1()),Fc();const zi=S.createImportDeclaration(at,pi,Gi,Ki);return Rr(br(zi,ee),Ee)}function bp(){const ee=ce(),Ee=qf(te())?tr():Gt(10);Qr(58);const at=Tu(!0);return br(S.createAssertEntry(Ee,at),ee)}function A1(ee){const Ee=ce();ee||Qr(130);const at=t.getTokenPos();if(Qr(18)){const Lt=t.hasPrecedingLineBreak(),sr=Bl(24,bp,!0);if(!Qr(19)){const Br=Rc(gt);Br&&Br.code===v._0_expected.code&&Eo(Br,K6(tt,at,1,v.The_parser_expected_to_find_a_1_to_match_the_0_token_here,"{","}"))}return br(S.createAssertClause(sr,Lt),Ee)}else{const Lt=Pc([],ce(),void 0,!1);return br(S.createAssertClause(Lt,!1),Ee)}}function Y_(){return te()===41||te()===18}function eb(){return te()===27||te()===158}function tb(ee,Ee,at,Lt,sr){Qr(63);const Br=Pd();Fc();const pi=S.createImportEqualsDeclaration(at,sr,Lt,Br);return Rr(br(pi,ee),Ee)}function P1(ee,Ee,at){let Lt;return(!ee||ea(27))&&(Lt=te()===41?hg():D1(272)),br(S.createImportClause(at,ee,Lt),Ee)}function Pd(){return Qi()?SS():Po(!1)}function SS(){const ee=ce();Qr(147),Qr(20);const Ee=Up();return Qr(21),br(S.createExternalModuleReference(Ee),ee)}function Up(){if(te()===10){const ee=ta();return ee.text=df(ee.text),ee}else return Yu()}function hg(){const ee=ce();Qr(41),Qr(128);const Ee=Ut();return br(S.createNamespaceImport(Ee),ee)}function D1(ee){const Ee=ce(),at=ee===272?S.createNamedImports(Cd(23,xS,18,19)):S.createNamedExports(Cd(23,cd,18,19));return br(at,Ee)}function cd(){const ee=Be();return Rr(rb(278),ee)}function xS(){return rb(273)}function rb(ee){const Ee=ce();let at=b_(te())&&!Rs(),Lt=t.getTokenPos(),sr=t.getTextPos(),Br=!1,pi,Gi=!0,Ki=tr();if(Ki.escapedText==="type")if(te()===128){const nc=tr();if(te()===128){const to=tr();qf(te())?(Br=!0,pi=nc,Ki=Hs(),Gi=!1):(pi=Ki,Ki=to,Gi=!1)}else qf(te())?(pi=Ki,Gi=!1,Ki=Hs()):(Br=!0,Ki=nc)}else qf(te())&&(Br=!0,Ki=Hs());Gi&&te()===128&&(pi=Ki,Qr(128),Ki=Hs()),ee===273&&at&&dt(Lt,sr,v.Identifier_expected);const zi=ee===273?S.createImportSpecifier(Br,pi,Ki):S.createExportSpecifier(Br,pi,Ki);return br(zi,Ee);function Hs(){return at=b_(te())&&!Rs(),Lt=t.getTokenPos(),sr=t.getTextPos(),tr()}}function Yl(ee){return br(S.createNamespaceExport(tr()),ee)}function FL(ee,Ee,at){const Lt=ye();Xn(!0);let sr,Br,pi;const Gi=ea(154),Ki=ce();ea(41)?(ea(128)&&(sr=Yl(Ki)),Qr(158),Br=Up()):(sr=D1(276),(te()===158||te()===10&&!t.hasPrecedingLineBreak())&&(Qr(158),Br=Up())),Br&&te()===130&&!t.hasPrecedingLineBreak()&&(pi=A1()),Fc(),Xn(Lt);const zi=S.createExportDeclaration(at,Gi,sr,Br,pi);return Rr(br(zi,ee),Ee)}function rc(ee,Ee,at){const Lt=ye();Xn(!0);let sr;ea(63)?sr=!0:Qr(88);const Br=Tu(!0);Fc(),Xn(Lt);const pi=S.createExportAssignment(at,sr,Br);return Rr(br(pi,ee),Ee)}let Lo;(ee=>{ee[ee.SourceElements=0]="SourceElements",ee[ee.BlockStatements=1]="BlockStatements",ee[ee.SwitchClauses=2]="SwitchClauses",ee[ee.SwitchClauseStatements=3]="SwitchClauseStatements",ee[ee.TypeMembers=4]="TypeMembers",ee[ee.ClassMembers=5]="ClassMembers",ee[ee.EnumMembers=6]="EnumMembers",ee[ee.HeritageClauseElement=7]="HeritageClauseElement",ee[ee.VariableDeclarations=8]="VariableDeclarations",ee[ee.ObjectBindingElements=9]="ObjectBindingElements",ee[ee.ArrayBindingElements=10]="ArrayBindingElements",ee[ee.ArgumentExpressions=11]="ArgumentExpressions",ee[ee.ObjectLiteralMembers=12]="ObjectLiteralMembers",ee[ee.JsxAttributes=13]="JsxAttributes",ee[ee.JsxChildren=14]="JsxChildren",ee[ee.ArrayLiteralMembers=15]="ArrayLiteralMembers",ee[ee.Parameters=16]="Parameters",ee[ee.JSDocParameters=17]="JSDocParameters",ee[ee.RestProperties=18]="RestProperties",ee[ee.TypeParameters=19]="TypeParameters",ee[ee.TypeArguments=20]="TypeArguments",ee[ee.TupleElementTypes=21]="TupleElementTypes",ee[ee.HeritageClauses=22]="HeritageClauses",ee[ee.ImportOrExportSpecifiers=23]="ImportOrExportSpecifiers",ee[ee.AssertEntries=24]="AssertEntries",ee[ee.Count=25]="Count"})(Lo||(Lo={}));let uE;(ee=>{ee[ee.False=0]="False",ee[ee.True=1]="True",ee[ee.Unknown=2]="Unknown"})(uE||(uE={}));let fE;(ee=>{function Ee(zi,Hs,nc){Es("file.js",zi,99,void 0,1),t.setText(zi,Hs,nc),er=t.scan();const to=at(),Mo=cs("file.js",99,1,!1,[],W(1),0,La),P_=HC(gt,Mo);return jt&&(Mo.jsDocDiagnostics=HC(jt,Mo)),ii(),to?{jsDocTypeExpression:to,diagnostics:P_}:void 0}ee.parseJSDocTypeExpressionForTests=Ee;function at(zi){const Hs=ce(),nc=(zi?ea:Qr)(18),to=Fe(8388608,$l);(!zi||nc)&&xl(19);const Mo=S.createJSDocTypeExpression(to);return Nn(Mo),br(Mo,Hs)}ee.parseJSDocTypeExpression=at;function Lt(){const zi=ce(),Hs=ea(18),nc=ce();let to=Po(!1);for(;te()===80;)za(),Dr(),to=br(S.createJSDocMemberName(to,Ut()),nc);Hs&&xl(19);const Mo=S.createJSDocNameReference(to);return Nn(Mo),br(Mo,zi)}ee.parseJSDocNameReference=Lt;function sr(zi,Hs,nc){Es("",zi,99,void 0,1);const to=Fe(8388608,()=>Ki(Hs,nc)),P_=HC(gt,{languageVariant:0,text:zi});return ii(),to?{jsDoc:to,diagnostics:P_}:void 0}ee.parseIsolatedJSDocComment=sr;function Br(zi,Hs,nc){const to=er,Mo=gt.length,P_=mr,Fm=Fe(8388608,()=>Ki(Hs,nc));return go(Fm,zi),un&262144&&(jt||(jt=[]),jt.push(...gt)),er=to,gt.length=Mo,mr=P_,Fm}ee.parseJSDocComment=Br;let pi;(zi=>{zi[zi.BeginningOfLine=0]="BeginningOfLine",zi[zi.SawAsterisk=1]="SawAsterisk",zi[zi.SavingComments=2]="SavingComments",zi[zi.SavingBackticks=3]="SavingBackticks"})(pi||(pi={}));let Gi;(zi=>{zi[zi.Property=1]="Property",zi[zi.Parameter=2]="Parameter",zi[zi.CallbackParameter=4]="CallbackParameter"})(Gi||(Gi={}));function Ki(zi=0,Hs){const nc=qe,to=Hs===void 0?nc.length:zi+Hs;if(Hs=to-zi,R.assert(zi>=0),R.assert(zi<=to),R.assert(to<=nc.length),!Lre(nc,zi))return;let Mo,P_,Fm,gh,d0,Dd=[];const N1=[];return t.scanRange(zi+3,Hs-5,()=>{let Yr=1,yi,li=zi-(nc.lastIndexOf(`
`,zi)+1)+4;function Ai(Qa){yi||(yi=li),Dd.push(Qa),li+=Qa.length}for(Dr();Dk(5););Dk(4)&&(Yr=0,li=0);e:for(;;){switch(te()){case 59:Yr===0||Yr===1?(kS(Dd),d0||(d0=ce()),ib(f3(li)),Yr=0,yi=void 0):Ai(t.getTokenText());break;case 4:Dd.push(t.getTokenText()),Yr=0,li=0;break;case 41:const Qa=t.getTokenText();Yr===1||Yr===2?(Yr=2,Ai(Qa)):(Yr=1,li+=Qa.length);break;case 5:const _o=t.getTokenText();Yr===2?Dd.push(_o):yi!==void 0&&li+_o.length>yi&&Dd.push(_o.slice(yi-li)),li+=_o.length;break;case 1:break e;case 18:Yr=2;const Sp=t.getStartPos(),cm=t.getTextPos()-1,oy=k8(cm);if(oy){gh||_E(Dd),N1.push(br(S.createJSDocText(Dd.join("")),gh??zi,Sp)),N1.push(oy),Dd=[],gh=t.getTextPos();break}default:Yr=2,Ai(t.getTokenText());break}Dr()}kS(Dd),N1.length&&Dd.length&&N1.push(br(S.createJSDocText(Dd.join("")),gh??zi,d0)),N1.length&&Mo&&R.assertIsDefined(d0,"having parsed tags implies that the end of the comment span should be set");const vs=Mo&&Pc(Mo,P_,Fm);return br(S.createJSDocComment(N1.length?Pc(N1,zi,d0):Dd.length?Dd.join(""):void 0,vs),zi,to)});function _E(Yr){for(;Yr.length&&(Yr[0]===`
`||Yr[0]==="\r");)Yr.shift()}function kS(Yr){for(;Yr.length&&Yr[Yr.length-1].trim()==="";)Yr.pop()}function u3(){for(;;){if(Dr(),te()===1)return!0;if(!(te()===5||te()===4))return!1}}function om(){if(!((te()===5||te()===4)&&vi(u3)))for(;te()===5||te()===4;)Dr()}function nb(){if((te()===5||te()===4)&&vi(u3))return"";let Yr=t.hasPrecedingLineBreak(),yi=!1,li="";for(;Yr&&te()===41||te()===5||te()===4;)li+=t.getTokenText(),te()===4?(Yr=!0,yi=!0,li=""):te()===41&&(Yr=!1),Dr();return yi?li:""}function f3(Yr){R.assert(te()===59);const yi=t.getTokenPos();Dr();const li=ob(void 0),Ai=nb();let vs;switch(li.escapedText){case"author":vs=cr(yi,li,Yr,Ai);break;case"implements":vs=Ps(yi,li,Yr,Ai);break;case"augments":case"extends":vs=Ca(yi,li,Yr,Ai);break;case"class":case"constructor":vs=g0(yi,S.createJSDocClassTag,li,Yr,Ai);break;case"public":vs=g0(yi,S.createJSDocPublicTag,li,Yr,Ai);break;case"private":vs=g0(yi,S.createJSDocPrivateTag,li,Yr,Ai);break;case"protected":vs=g0(yi,S.createJSDocProtectedTag,li,Yr,Ai);break;case"readonly":vs=g0(yi,S.createJSDocReadonlyTag,li,Yr,Ai);break;case"override":vs=g0(yi,S.createJSDocOverrideTag,li,Yr,Ai);break;case"deprecated":rr=!0,vs=g0(yi,S.createJSDocDeprecatedTag,li,Yr,Ai);break;case"this":vs=n_e(yi,li,Yr,Ai);break;case"enum":vs=i_e(yi,li,Yr,Ai);break;case"arg":case"argument":case"param":return E8(yi,li,2,Yr);case"return":case"returns":vs=F(yi,li,Yr,Ai);break;case"template":vs=L1(yi,li,Yr,Ai);break;case"type":vs=q(yi,li,Yr,Ai);break;case"typedef":vs=_3(yi,li,Yr,Ai);break;case"callback":vs=En(yi,li,Yr,Ai);break;case"overload":vs=sb(yi,li,Yr,Ai);break;case"satisfies":vs=Tp(yi,li,Yr,Ai);break;case"see":vs=me(yi,li,Yr,Ai);break;case"exception":case"throws":vs=rt(yi,li,Yr,Ai);break;default:vs=il(yi,li,Yr,Ai);break}return vs}function zp(Yr,yi,li,Ai){return Ai||(li+=yi-Yr),pE(li,Ai.slice(li))}function pE(Yr,yi){const li=ce();let Ai=[];const vs=[];let Qa,_o=0,Sp=!0,cm;function oy(cy){cm||(cm=Yr),Ai.push(cy),Yr+=cy.length}yi!==void 0&&(yi!==""&&oy(yi),_o=1);let gg=te();e:for(;;){switch(gg){case 4:_o=0,Ai.push(t.getTokenText()),Yr=0;break;case 59:if(_o===3||_o===2&&(!Sp||vi(I1))){Ai.push(t.getTokenText());break}t.setTextPos(t.getTextPos()-1);case 1:break e;case 5:if(_o===2||_o===3)oy(t.getTokenText());else{const C2=t.getTokenText();cm!==void 0&&Yr+C2.length>cm&&Ai.push(C2.slice(cm-Yr)),Yr+=C2.length}break;case 18:_o=2;const cy=t.getStartPos(),m3=t.getTextPos()-1,Bf=k8(m3);Bf?(vs.push(br(S.createJSDocText(Ai.join("")),Qa??li,cy)),vs.push(Bf),Ai=[],Qa=t.getTextPos()):oy(t.getTokenText());break;case 61:_o===3?_o=2:_o=3,oy(t.getTokenText());break;case 41:if(_o===0){_o=1,Yr+=1;break}default:_o!==3&&(_o=2),oy(t.getTokenText());break}Sp=te()===5,gg=Dr()}if(_E(Ai),kS(Ai),vs.length)return Ai.length&&vs.push(br(S.createJSDocText(Ai.join("")),Qa??li)),Pc(vs,li,t.getTextPos());if(Ai.length)return Ai.join("")}function I1(){const Yr=Dr();return Yr===5||Yr===4}function k8(Yr){const yi=Bo(C8);if(!yi)return;Dr(),om();const li=ce();let Ai=qf(te())?Po(!0):void 0;if(Ai)for(;te()===80;)za(),Dr(),Ai=br(S.createJSDocMemberName(Ai,Ut()),li);const vs=[];for(;te()!==19&&te()!==4&&te()!==1;)vs.push(t.getTokenText()),Dr();const Qa=yi==="link"?S.createJSDocLink:yi==="linkcode"?S.createJSDocLinkCode:S.createJSDocLinkPlain;return br(Qa(Ai,vs.join("")),Yr,t.getTextPos())}function C8(){if(nb(),te()===18&&Dr()===59&&qf(Dr())){const Yr=t.getTokenValue();if(ro(Yr))return Yr}}function ro(Yr){return Yr==="link"||Yr==="linkcode"||Yr==="linkplain"}function il(Yr,yi,li,Ai){return br(S.createJSDocUnknownTag(yi,zp(Yr,ce(),li,Ai)),Yr)}function ib(Yr){Yr&&(Mo?Mo.push(Yr):(Mo=[Yr],P_=Yr.pos),Fm=Yr.end)}function O1(){return nb(),te()===18?at():void 0}function w8(){const Yr=Dk(22);Yr&&om();const yi=Dk(61),li=BL();return yi&&$_(61),Yr&&(om(),Ao(63)&&Yu(),Qr(23)),{name:li,isBracketed:Yr}}function D_(Yr){switch(Yr.kind){case 149:return!0;case 185:return D_(Yr.elementType);default:return Gd(Yr)&&Ye(Yr.typeName)&&Yr.typeName.escapedText==="Object"&&!Yr.typeArguments}}function E8(Yr,yi,li,Ai){let vs=O1(),Qa=!vs;nb();const{name:_o,isBracketed:Sp}=w8(),cm=nb();Qa&&!vi(C8)&&(vs=O1());const oy=zp(Yr,ce(),Ai,cm),gg=li!==4&&C(vs,_o,li,Ai);gg&&(vs=gg,Qa=!0);const cy=li===1?S.createJSDocPropertyTag(yi,_o,Sp,vs,Qa,oy):S.createJSDocParameterTag(yi,_o,Sp,vs,Qa,oy);return br(cy,Yr)}function C(Yr,yi,li,Ai){if(Yr&&D_(Yr.type)){const vs=ce();let Qa,_o;for(;Qa=Bo(()=>CS(li,Ai,yi));)(Qa.kind===344||Qa.kind===351)&&(_o=$r(_o,Qa));if(_o){const Sp=br(S.createJSDocTypeLiteral(_o,Yr.type.kind===185),vs);return br(S.createJSDocTypeExpression(Sp),vs)}}}function F(Yr,yi,li,Ai){Oe(Mo,GJ)&&dt(yi.pos,t.getTokenPos(),v._0_tag_already_specified,yi.escapedText);const vs=O1();return br(S.createJSDocReturnTag(yi,vs,zp(Yr,ce(),li,Ai)),Yr)}function q(Yr,yi,li,Ai){Oe(Mo,_D)&&dt(yi.pos,t.getTokenPos(),v._0_tag_already_specified,yi.escapedText);const vs=at(!0),Qa=li!==void 0&&Ai!==void 0?zp(Yr,ce(),li,Ai):void 0;return br(S.createJSDocTypeTag(yi,vs,Qa),Yr)}function me(Yr,yi,li,Ai){const Qa=te()===22||vi(()=>Dr()===59&&qf(Dr())&&ro(t.getTokenValue()))?void 0:Lt(),_o=li!==void 0&&Ai!==void 0?zp(Yr,ce(),li,Ai):void 0;return br(S.createJSDocSeeTag(yi,Qa,_o),Yr)}function rt(Yr,yi,li,Ai){const vs=O1(),Qa=zp(Yr,ce(),li,Ai);return br(S.createJSDocThrowsTag(yi,vs,Qa),Yr)}function cr(Yr,yi,li,Ai){const vs=ce(),Qa=ci();let _o=t.getStartPos();const Sp=zp(Yr,_o,li,Ai);Sp||(_o=t.getStartPos());const cm=typeof Sp!="string"?Pc(Cr([br(Qa,vs,_o)],Sp),vs):Qa.text+Sp;return br(S.createJSDocAuthorTag(yi,cm),Yr)}function ci(){const Yr=[];let yi=!1,li=t.getToken();for(;li!==1&&li!==4;){if(li===29)yi=!0;else{if(li===59&&!yi)break;if(li===31&&yi){Yr.push(t.getTokenText()),t.setTextPos(t.getTokenPos()+1);break}}Yr.push(t.getTokenText()),li=Dr()}return S.createJSDocText(Yr.join(""))}function Ps(Yr,yi,li,Ai){const vs=m0();return br(S.createJSDocImplementsTag(yi,vs,zp(Yr,ce(),li,Ai)),Yr)}function Ca(Yr,yi,li,Ai){const vs=m0();return br(S.createJSDocAugmentsTag(yi,vs,zp(Yr,ce(),li,Ai)),Yr)}function Tp(Yr,yi,li,Ai){const vs=at(!1),Qa=li!==void 0&&Ai!==void 0?zp(Yr,ce(),li,Ai):void 0;return br(S.createJSDocSatisfiesTag(yi,vs,Qa),Yr)}function m0(){const Yr=ea(18),yi=ce(),li=h0(),Ai=X_(),vs=S.createExpressionWithTypeArguments(li,Ai),Qa=br(vs,yi);return Yr&&Qr(19),Qa}function h0(){const Yr=ce();let yi=ob();for(;ea(24);){const li=ob();yi=br(ue(yi,li),Yr)}return yi}function g0(Yr,yi,li,Ai,vs){return br(yi(li,zp(Yr,ce(),Ai,vs)),Yr)}function n_e(Yr,yi,li,Ai){const vs=at(!0);return om(),br(S.createJSDocThisTag(yi,vs,zp(Yr,ce(),li,Ai)),Yr)}function i_e(Yr,yi,li,Ai){const vs=at(!0);return om(),br(S.createJSDocEnumTag(yi,vs,zp(Yr,ce(),li,Ai)),Yr)}function _3(Yr,yi,li,Ai){var vs;let Qa=O1();nb();const _o=A8();om();let Sp=pE(li),cm;if(!Qa||D_(Qa.type)){let gg,cy,m3,Bf=!1;for(;gg=Bo(()=>dE(li));)if(Bf=!0,gg.kind===347)if(cy){const C2=wt(v.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);C2&&Eo(C2,K6(tt,0,0,v.The_tag_was_first_specified_here));break}else cy=gg;else m3=$r(m3,gg);if(Bf){const C2=Qa&&Qa.type.kind===185,P8=S.createJSDocTypeLiteral(m3,C2);Qa=cy&&cy.typeExpression&&!D_(cy.typeExpression.type)?cy.typeExpression:br(P8,Yr),cm=Qa.end}}cm=cm||Sp!==void 0?ce():((vs=_o??Qa)!=null?vs:yi).end,Sp||(Sp=zp(Yr,cm,li,Ai));const oy=S.createJSDocTypedefTag(yi,Qa,_o,Sp);return br(oy,Yr,cm)}function A8(Yr){const yi=t.getTokenPos();if(!qf(te()))return;const li=ob();if(ea(24)){const Ai=A8(!0),vs=S.createModuleDeclaration(void 0,li,Ai,Yr?4:void 0);return br(vs,yi)}return Yr&&(li.flags|=2048),li}function s_e(Yr){const yi=ce();let li,Ai;for(;li=Bo(()=>CS(4,Yr));)Ai=$r(Ai,li);return Pc(Ai||[],yi)}function p3(Yr,yi){const li=s_e(yi),Ai=Bo(()=>{if(Dk(59)){const vs=f3(yi);if(vs&&vs.kind===345)return vs}});return br(S.createJSDocSignature(void 0,li,Ai),Yr)}function En(Yr,yi,li,Ai){const vs=A8();om();let Qa=pE(li);const _o=p3(Yr,li);Qa||(Qa=zp(Yr,ce(),li,Ai));const Sp=Qa!==void 0?ce():_o.end;return br(S.createJSDocCallbackTag(yi,_o,vs,Qa),Yr,Sp)}function sb(Yr,yi,li,Ai){om();let vs=pE(li);const Qa=p3(Yr,li);vs||(vs=zp(Yr,ce(),li,Ai));const _o=vs!==void 0?ce():Qa.end;return br(S.createJSDocOverloadTag(yi,Qa,vs),Yr,_o)}function ab(Yr,yi){for(;!Ye(Yr)||!Ye(yi);)if(!Ye(Yr)&&!Ye(yi)&&Yr.right.escapedText===yi.right.escapedText)Yr=Yr.left,yi=yi.left;else return!1;return Yr.escapedText===yi.escapedText}function dE(Yr){return CS(1,Yr)}function CS(Yr,yi,li){let Ai=!0,vs=!1;for(;;)switch(Dr()){case 59:if(Ai){const Qa=RL(Yr,yi);return Qa&&(Qa.kind===344||Qa.kind===351)&&Yr!==4&&li&&(Ye(Qa.name)||!ab(li,Qa.name.left))?!1:Qa}vs=!1;break;case 4:Ai=!0,vs=!1;break;case 41:vs&&(Ai=!1),vs=!0;break;case 79:Ai=!1;break;case 1:return!1}}function RL(Yr,yi){R.assert(te()===59);const li=t.getStartPos();Dr();const Ai=ob();om();let vs;switch(Ai.escapedText){case"type":return Yr===1&&q(li,Ai);case"prop":case"property":vs=1;break;case"arg":case"argument":case"param":vs=6;break;default:return!1}return Yr&vs?E8(li,Ai,Yr,yi):!1}function d3(){const Yr=ce(),yi=Dk(22);yi&&om();const li=ob(v.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces);let Ai;if(yi&&(om(),Qr(63),Ai=Fe(8388608,$l),Qr(23)),!cl(li))return br(S.createTypeParameterDeclaration(void 0,li,void 0,Ai),Yr)}function bW(){const Yr=ce(),yi=[];do{om();const li=d3();li!==void 0&&yi.push(li),nb()}while(Dk(27));return Pc(yi,Yr)}function L1(Yr,yi,li,Ai){const vs=te()===18?at():void 0,Qa=bW();return br(S.createJSDocTemplateTag(yi,vs,Qa,zp(Yr,ce(),li,Ai)),Yr)}function Dk(Yr){return te()===Yr?(Dr(),!0):!1}function BL(){let Yr=ob();for(ea(22)&&Qr(23);ea(24);){const yi=ob();ea(22)&&Qr(23),Yr=wd(Yr,yi)}return Yr}function ob(Yr){if(!qf(te()))return Cl(79,!Yr,Yr||v.Identifier_expected);xr++;const yi=t.getTokenPos(),li=t.getTextPos(),Ai=te(),vs=df(t.getTokenValue()),Qa=br(U(vs,Ai),yi,li);return Dr(),Qa}}})(fE=e.JSDocParser||(e.JSDocParser={}))})(wv||(wv={})),(e=>{function t(O,L,U,M){if(M=M||R.shouldAssert(2),S(O,L,U,M),Hve(U))return O;if(O.statements.length===0)return wv.parseSourceFile(O.fileName,L,O.languageVersion,void 0,!0,O.scriptKind,O.setExternalModuleIndicator);const W=O;R.assert(!W.hasBeenIncrementallyParsed),W.hasBeenIncrementallyParsed=!0,wv.fixupParentReferences(W);const X=O.text,Z=w(O),ue=h(O,U);S(O,L,ue,M),R.assert(ue.span.start<=U.span.start),R.assert(Wu(ue.span)===Wu(U.span)),R.assert(Wu(WA(ue))===Wu(WA(U)));const ie=WA(ue).length-ue.span.length;g(W,ue.span.start,Wu(ue.span),Wu(WA(ue)),ie,X,L,M);const se=wv.parseSourceFile(O.fileName,L,O.languageVersion,Z,!0,O.scriptKind,O.setExternalModuleIndicator);return se.commentDirectives=n(O.commentDirectives,se.commentDirectives,ue.span.start,Wu(ue.span),ie,X,L,M),se.impliedNodeFormat=O.impliedNodeFormat,se}e.updateSourceFile=t;function n(O,L,U,M,W,X,Z,ue){if(!O)return L;let ie,se=!1;for(const ve of O){const{range:fe,type:Ce}=ve;if(fe.end<U)ie=$r(ie,ve);else if(fe.pos>M){V();const _e={range:{pos:fe.pos+W,end:fe.end+W},type:Ce};ie=$r(ie,_e),ue&&R.assert(X.substring(fe.pos,fe.end)===Z.substring(_e.range.pos,_e.range.end))}}return V(),ie;function V(){se||(se=!0,ie?L&&ie.push(...L):ie=L)}}function s(O,L,U,M,W,X){L?ue(O):Z(O);return;function Z(ie){let se="";if(X&&l(ie)&&(se=M.substring(ie.pos,ie.end)),ie._children&&(ie._children=void 0),Kh(ie,ie.pos+U,ie.end+U),X&&l(ie)&&R.assert(se===W.substring(ie.pos,ie.end)),ca(ie,Z,ue),Ep(ie))for(const V of ie.jsDoc)Z(V);d(ie,X)}function ue(ie){ie._children=void 0,Kh(ie,ie.pos+U,ie.end+U);for(const se of ie)Z(se)}}function l(O){switch(O.kind){case 10:case 8:case 79:return!0}return!1}function f(O,L,U,M,W){R.assert(O.end>=L,"Adjusting an element that was entirely before the change range"),R.assert(O.pos<=U,"Adjusting an element that was entirely after the change range"),R.assert(O.pos<=O.end);const X=Math.min(O.pos,M),Z=O.end>=U?O.end+W:Math.min(O.end,M);R.assert(X<=Z),O.parent&&(R.assertGreaterThanOrEqual(X,O.parent.pos),R.assertLessThanOrEqual(Z,O.parent.end)),Kh(O,X,Z)}function d(O,L){if(L){let U=O.pos;const M=W=>{R.assert(W.pos>=U),U=W.end};if(Ep(O))for(const W of O.jsDoc)M(W);ca(O,M),R.assert(U<=O.end)}}function g(O,L,U,M,W,X,Z,ue){ie(O);return;function ie(V){if(R.assert(V.pos<=V.end),V.pos>U){s(V,!1,W,X,Z,ue);return}const ve=V.end;if(ve>=L){if(V.intersectsChange=!0,V._children=void 0,f(V,L,U,M,W),ca(V,ie,se),Ep(V))for(const fe of V.jsDoc)ie(fe);d(V,ue);return}R.assert(ve<L)}function se(V){if(R.assert(V.pos<=V.end),V.pos>U){s(V,!0,W,X,Z,ue);return}const ve=V.end;if(ve>=L){V.intersectsChange=!0,V._children=void 0,f(V,L,U,M,W);for(const fe of V)ie(fe);return}R.assert(ve<L)}}function h(O,L){let M=L.span.start;for(let Z=0;M>0&&Z<=1;Z++){const ue=k(O,M);R.assert(ue.pos<=M);const ie=ue.pos;M=Math.max(0,ie-1)}const W=eu(M,Wu(L.span)),X=L.newLength+(L.span.start-M);return _7(W,X)}function k(O,L){let U=O,M;if(ca(O,X),M){const Z=W(M);Z.pos>U.pos&&(U=Z)}return U;function W(Z){for(;;){const ue=$ee(Z);if(ue)Z=ue;else return Z}}function X(Z){if(!cl(Z))if(Z.pos<=L){if(Z.pos>=U.pos&&(U=Z),L<Z.end)return ca(Z,X),!0;R.assert(Z.end<=L),M=Z}else return R.assert(Z.pos>L),!0}}function S(O,L,U,M){const W=O.text;if(U&&(R.assert(W.length-U.span.length+U.newLength===L.length),M||R.shouldAssert(3))){const X=W.substr(0,U.span.start),Z=L.substr(0,U.span.start);R.assert(X===Z);const ue=W.substring(Wu(U.span),W.length),ie=L.substring(Wu(WA(U)),L.length);R.assert(ue===ie)}}function w(O){let L=O.statements,U=0;R.assert(U<L.length);let M=L[U],W=-1;return{currentNode(Z){return Z!==W&&(M&&M.end===Z&&U<L.length-1&&(U++,M=L[U]),(!M||M.pos!==Z)&&X(Z)),W=Z,R.assert(!M||M.pos===Z),M}};function X(Z){L=void 0,U=-1,M=void 0,ca(O,ue,ie);return;function ue(se){return Z>=se.pos&&Z<se.end?(ca(se,ue,ie),!0):!1}function ie(se){if(Z>=se.pos&&Z<se.end)for(let V=0;V<se.length;V++){const ve=se[V];if(ve){if(ve.pos===Z)return L=se,U=V,M=ve,!0;if(ve.pos<Z&&Z<ve.end)return ca(ve,ue,ie),!0}}return!1}}}e.createSyntaxCursor=w;let N;(O=>{O[O.Value=-1]="Value"})(N||(N={}))})(aU||(aU={})),oU=new Map,tke=/^\/\/\/\s*<(\S+)\s.*?\/>/im,rke=/^\/\/\/?\s*@(\S+)\s*(.*)\s*$/im}});function cU(e){const t=new Map,n=new Map;return Q(e,s=>{t.set(s.name.toLowerCase(),s),s.shortName&&n.set(s.shortName,s.name)}),{optionsNameMap:t,shortOptionNames:n}}function P4(){return Ike||(Ike=cU(Vy))}function Jre(e){return nke(e,gc)}function nke(e,t){const n=ao(e.type.keys()),s=(e.deprecatedKeys?n.filter(l=>!e.deprecatedKeys.has(l)):n).map(l=>`'${l}'`).join(", ");return t(v.Argument_for_0_option_must_be_Colon_1,`--${e.name}`,s)}function lU(e,t,n){return wke(e,sT(t||""),n)}function ike(e,t="",n){if(t=sT(t),Qs(t,"-"))return;if(e.type==="listOrElement"&&!nf(t,","))return Vx(e,t,n);if(t==="")return[];const s=t.split(",");switch(e.element.type){case"number":return fr(s,l=>Vx(e.element,parseInt(l),n));case"string":return fr(s,l=>Vx(e.element,l||"",n));case"boolean":case"object":return R.fail(`List of ${e.element.type} is not yet supported.`);default:return fr(s,l=>lU(e.element,l,n))}}function ske(e){return e.name}function Ure(e,t,n,s){var l;if((l=t.alternateMode)!=null&&l.getOptionsNameMap().optionsNameMap.has(e.toLowerCase()))return n(t.alternateMode.diagnostic,e);const f=OA(e,t.optionDeclarations,ske);return f?n(t.unknownDidYouMeanDiagnostic,s||e,f.name):n(t.unknownOptionDiagnostic,s||e)}function zre(e,t,n){const s={};let l;const f=[],d=[];return g(t),{options:s,watchOptions:l,fileNames:f,errors:d};function g(k){let S=0;for(;S<k.length;){const w=k[S];if(S++,w.charCodeAt(0)===64)h(w.slice(1));else if(w.charCodeAt(0)===45){const N=w.slice(w.charCodeAt(1)===45?2:1),O=$re(e.getOptionsNameMap,N,!0);if(O)S=ake(k,S,e,O,s,d);else{const L=$re(FO.getOptionsNameMap,N,!0);L?S=ake(k,S,FO,L,l||(l={}),d):d.push(Ure(N,e,gc,w))}}else f.push(w)}}function h(k){const S=xO(k,n||(O=>Bu.readFile(O)));if(!ha(S)){d.push(S);return}const w=[];let N=0;for(;;){for(;N<S.length&&S.charCodeAt(N)<=32;)N++;if(N>=S.length)break;const O=N;if(S.charCodeAt(O)===34){for(N++;N<S.length&&S.charCodeAt(N)!==34;)N++;N<S.length?(w.push(S.substring(O+1,N)),N++):d.push(gc(v.Unterminated_quoted_string_in_response_file_0,k))}else{for(;S.charCodeAt(N)>32;)N++;w.push(S.substring(O,N))}}g(w)}}function ake(e,t,n,s,l,f){if(s.isTSConfigOnly){const d=e[t];d==="null"?(l[s.name]=void 0,t++):s.type==="boolean"?d==="false"?(l[s.name]=Vx(s,!1,f),t++):(d==="true"&&t++,f.push(gc(v.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line,s.name))):(f.push(gc(v.Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line,s.name)),d&&!Qs(d,"-")&&t++)}else if(!e[t]&&s.type!=="boolean"&&f.push(gc(n.optionTypeMismatchDiagnostic,s.name,mD(s))),e[t]!=="null")switch(s.type){case"number":l[s.name]=Vx(s,parseInt(e[t]),f),t++;break;case"boolean":const d=e[t];l[s.name]=Vx(s,d!=="false",f),(d==="false"||d==="true")&&t++;break;case"string":l[s.name]=Vx(s,e[t]||"",f),t++;break;case"list":const g=ike(s,e[t],f);l[s.name]=g||[],g&&t++;break;case"listOrElement":R.fail("listOrElement not supported here");break;default:l[s.name]=lU(s,e[t],f),t++;break}else l[s.name]=void 0,t++;return t}function VYe(e,t){return zre(MO,e,t)}function Vre(e,t){return $re(P4,e,t)}function $re(e,t,n=!1){t=t.toLowerCase();const{optionsNameMap:s,shortOptionNames:l}=e();if(n){const f=l.get(t);f!==void 0&&(t=f)}return s.get(t)}function oke(){return Lke||(Lke=cU(yU))}function $Ye(e){const{options:t,watchOptions:n,fileNames:s,errors:l}=zre(Fke,e),f=t;return s.length===0&&s.push("."),f.clean&&f.force&&l.push(gc(v.Options_0_and_1_cannot_be_combined,"clean","force")),f.clean&&f.verbose&&l.push(gc(v.Options_0_and_1_cannot_be_combined,"clean","verbose")),f.clean&&f.watch&&l.push(gc(v.Options_0_and_1_cannot_be_combined,"clean","watch")),f.watch&&f.dry&&l.push(gc(v.Options_0_and_1_cannot_be_combined,"watch","dry")),{buildOptions:f,watchOptions:n,projects:s,errors:l}}function qYe(e,...t){return gc.apply(void 0,arguments).messageText}function TO(e,t,n,s,l,f){const d=xO(e,k=>n.readFile(k));if(!ha(d)){n.onUnRecoverableConfigFileDiagnostic(d);return}const g=bO(e,d),h=n.getCurrentDirectory();return g.path=wc(e,h,qu(n.useCaseSensitiveFileNames)),g.resolvedPath=g.path,g.originalFileName=g.fileName,CO(g,n,oa($i(e),h),t,oa(e,h),void 0,f,s,l)}function SO(e,t){const n=xO(e,t);return ha(n)?qre(e,n):{config:{},error:n}}function qre(e,t){const n=bO(e,t);return{config:pke(n,n.parseDiagnostics,!1,void 0),error:n.parseDiagnostics.length?n.parseDiagnostics[0]:void 0}}function cke(e,t){const n=xO(e,t);return ha(n)?bO(e,n):{fileName:e,parseDiagnostics:[n]}}function xO(e,t){let n;try{n=t(e)}catch(s){return gc(v.Cannot_read_file_0_Colon_1,e,s.message)}return n===void 0?gc(v.Cannot_read_file_0,e):n}function uU(e){return tT(e,ske)}function lke(){return Rke||(Rke=cU(IO))}function uke(){return Bke||(Bke=uU(Vy))}function fke(){return jke||(jke=uU(IO))}function _ke(){return Jke||(Jke=uU(vU))}function WYe(){return dne===void 0&&(dne={name:void 0,type:"object",elementOptions:uU([{name:"compilerOptions",type:"object",elementOptions:uke(),extraKeyDiagnostics:MO},{name:"watchOptions",type:"object",elementOptions:fke(),extraKeyDiagnostics:FO},{name:"typeAcquisition",type:"object",elementOptions:_ke(),extraKeyDiagnostics:pne},RO,{name:"references",type:"list",element:{name:"references",type:"object"},category:v.Projects},{name:"files",type:"list",element:{name:"files",type:"string"},category:v.File_Management},{name:"include",type:"list",element:{name:"include",type:"string"},category:v.File_Management,defaultValueDescription:v.if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk},{name:"exclude",type:"list",element:{name:"exclude",type:"string"},category:v.File_Management,defaultValueDescription:v.node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified},PO])}),dne}function pke(e,t,n,s){var l;const f=(l=e.statements[0])==null?void 0:l.expression,d=n?WYe():void 0;if(f&&f.kind!==207){if(t.push(r_(e,f,v.The_root_value_of_a_0_file_must_be_an_object,sf(e.fileName)==="jsconfig.json"?"jsconfig.json":"tsconfig.json")),Nf(f)){const g=He(f.elements,cc);if(g)return kO(e,g,t,!0,d,s)}return{}}return kO(e,f,t,!0,d,s)}function dke(e,t){var n;return kO(e,(n=e.statements[0])==null?void 0:n.expression,t,!0,void 0,void 0)}function kO(e,t,n,s,l,f){if(!t)return s?{}:void 0;return k(t,l);function d(w){return l&&l.elementOptions===w}function g(w,N,O,L){const U=s?{}:void 0;for(const M of w.properties){if(M.kind!==299){n.push(r_(e,M,v.Property_assignment_expected));continue}M.questionToken&&n.push(r_(e,M.questionToken,v.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),S(M.name)||n.push(r_(e,M.name,v.String_literal_with_double_quotes_expected));const W=D7(M.name)?void 0:P6(M.name),X=W&&Ds(W),Z=X&&N?N.get(X):void 0;X&&O&&!Z&&(N?n.push(Ure(X,O,(ie,se,V)=>r_(e,M.name,ie,se,V))):n.push(r_(e,M.name,O.unknownOptionDiagnostic,X)));const ue=k(M.initializer,Z);if(typeof X<"u"&&(s&&(U[X]=ue),f&&(L||d(N)))){const ie=fU(Z,ue);L?ie&&f.onSetValidOptionKeyValueInParent(L,Z,ue):d(N)&&(ie?f.onSetValidOptionKeyValueInRoot(X,M.name,ue,M.initializer):Z||f.onSetUnknownOptionKeyValueInRoot(X,M.name,ue,M.initializer))}}return U}function h(w,N){if(!s){w.forEach(O=>k(O,N));return}return hr(w.map(O=>k(O,N)),O=>O!==void 0)}function k(w,N){let O;switch(w.kind){case 110:return U(N&&N.type!=="boolean"&&(N.type!=="listOrElement"||N.element.type!=="boolean")),L(!0);case 95:return U(N&&N.type!=="boolean"&&(N.type!=="listOrElement"||N.element.type!=="boolean")),L(!1);case 104:return U(N&&N.name==="extends"),L(null);case 10:S(w)||n.push(r_(e,w,v.String_literal_with_double_quotes_expected)),U(N&&ha(N.type)&&N.type!=="string"&&(N.type!=="listOrElement"||ha(N.element.type)&&N.element.type!=="string"));const M=w.text;if(N&&R.assert(N.type!=="listOrElement"||N.element.type==="string","Only string or array of string is handled for now"),N&&!ha(N.type)){const X=N;X.type.has(M.toLowerCase())||(n.push(nke(X,(Z,ue,ie)=>r_(e,w,Z,ue,ie))),O=!0)}return L(M);case 8:return U(N&&N.type!=="number"&&(N.type!=="listOrElement"||N.element.type!=="number")),L(Number(w.text));case 221:if(w.operator!==40||w.operand.kind!==8)break;return U(N&&N.type!=="number"&&(N.type!=="listOrElement"||N.element.type!=="number")),L(-Number(w.operand.text));case 207:U(N&&N.type!=="object"&&(N.type!=="listOrElement"||N.element.type!=="object"));const W=w;if(N){const{elementOptions:X,extraKeyDiagnostics:Z,name:ue}=N;return L(g(W,X,Z,ue))}else return L(g(W,void 0,void 0,void 0));case 206:return U(N&&N.type!=="list"&&N.type!=="listOrElement"),L(h(w.elements,N&&N.element))}N?U(!0):n.push(r_(e,w,v.Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal));return;function L(M){var W;if(!O){const X=(W=N==null?void 0:N.extraValidation)==null?void 0:W.call(N,M);if(X){n.push(r_(e,w,...X));return}}return M}function U(M){M&&(n.push(r_(e,w,v.Compiler_option_0_requires_a_value_of_type_1,N.name,mD(N))),O=!0)}}function S(w){return yo(w)&&hj(w,e)}}function mD(e){return e.type==="listOrElement"?`${mD(e.element)} or Array`:e.type==="list"?"Array":ha(e.type)?e.type:"string"}function fU(e,t){if(e){if(D4(t))return!0;if(e.type==="list")return pa(t);if(e.type==="listOrElement")return pa(t)||fU(e.element,t);const n=ha(e.type)?e.type:"string";return typeof t===n}return!1}function HYe(e,t,n){var s,l,f;const d=qu(n.useCaseSensitiveFileNames),g=qt(hr(e.fileNames,(l=(s=e.options.configFile)==null?void 0:s.configFileSpecs)!=null&&l.validatedIncludeSpecs?XYe(t,e.options.configFile.configFileSpecs.validatedIncludeSpecs,e.options.configFile.configFileSpecs.validatedExcludeSpecs,n):nT),w=>r7(oa(t,n.getCurrentDirectory()),oa(w,n.getCurrentDirectory()),d)),h=Gre(e.options,{configFilePath:oa(t,n.getCurrentDirectory()),useCaseSensitiveFileNames:n.useCaseSensitiveFileNames}),k=e.watchOptions&&QYe(e.watchOptions);return{compilerOptions:{...Wre(h),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:k&&Wre(k),references:qt(e.projectReferences,w=>({...w,path:w.originalPath?w.originalPath:"",originalPath:void 0})),files:H(g)?g:void 0,...(f=e.options.configFile)!=null&&f.configFileSpecs?{include:GYe(e.options.configFile.configFileSpecs.validatedIncludeSpecs),exclude:e.options.configFile.configFileSpecs.validatedExcludeSpecs}:{},compileOnSave:e.compileOnSave?!0:void 0}}function Wre(e){return{...ao(e.entries()).reduce((t,n)=>({...t,[n[0]]:n[1]}),{})}}function GYe(e){if(H(e)){if(H(e)!==1)return e;if(e[0]!==TU)return e}}function XYe(e,t,n,s){if(!t)return nT;const l=RP(e,n,t,s.useCaseSensitiveFileNames,s.getCurrentDirectory()),f=l.excludePattern&&vv(l.excludePattern,s.useCaseSensitiveFileNames),d=l.includeFilePattern&&vv(l.includeFilePattern,s.useCaseSensitiveFileNames);return d?f?g=>!(d.test(g)&&!f.test(g)):g=>!d.test(g):f?g=>f.test(g):nT}function mke(e){switch(e.type){case"string":case"number":case"boolean":case"object":return;case"list":case"listOrElement":return mke(e.element);default:return e.type}}function Hre(e,t){return cp(t,(n,s)=>{if(n===e)return s})}function Gre(e,t){return hke(e,P4(),t)}function QYe(e){return hke(e,lke())}function hke(e,{optionsNameMap:t},n){const s=new Map,l=n&&qu(n.useCaseSensitiveFileNames);for(const f in e)if(mc(e,f)){if(t.has(f)&&(t.get(f).category===v.Command_line_Options||t.get(f).category===v.Output_Formatting))continue;const d=e[f],g=t.get(f.toLowerCase());if(g){R.assert(g.type!=="listOrElement");const h=mke(g);h?g.type==="list"?s.set(f,d.map(k=>Hre(k,h))):s.set(f,Hre(d,h)):n&&g.isFilePath?s.set(f,r7(n.configFilePath,oa(d,$i(n.configFilePath)),l)):s.set(f,d)}}return s}function YYe(e,t){const n=gke(e);return l();function s(f){return Array(f+1).join(" ")}function l(){const f=[],d=s(2);return mU.forEach(g=>{if(!n.has(g.name))return;const h=n.get(g.name),k=nne(g);h!==k?f.push(`${d}${g.name}: ${h}`):mc(bU,g.name)&&f.push(`${d}${g.name}: ${k}`)}),f.join(t)+t}}function gke(e){const t=JR(e,bU);return Gre(t)}function ZYe(e,t,n){const s=gke(e);return d();function l(g){return Array(g+1).join(" ")}function f({category:g,name:h,isCommandLineOnly:k}){const S=[v.Command_line_Options,v.Editor_Support,v.Compiler_Diagnostics,v.Backwards_Compatibility,v.Watch_and_Build_Modes,v.Output_Formatting];return!k&&g!==void 0&&(!S.includes(g)||s.has(h))}function d(){const g=new Map;g.set(v.Projects,[]),g.set(v.Language_and_Environment,[]),g.set(v.Modules,[]),g.set(v.JavaScript_Support,[]),g.set(v.Emit,[]),g.set(v.Interop_Constraints,[]),g.set(v.Type_Checking,[]),g.set(v.Completeness,[]);for(const O of Vy)if(f(O)){let L=g.get(O.category);L||g.set(O.category,L=[]),L.push(O)}let h=0,k=0;const S=[];g.forEach((O,L)=>{S.length!==0&&S.push({value:""}),S.push({value:`/* ${uo(L)} */`});for(const U of O){let M;s.has(U.name)?M=`"${U.name}": ${JSON.stringify(s.get(U.name))}${(k+=1)===s.size?"":","}`:M=`// "${U.name}": ${JSON.stringify(nne(U))},`,S.push({value:M,description:`/* ${U.description&&uo(U.description)||U.name} */`}),h=Math.max(M.length,h)}});const w=l(2),N=[];N.push("{"),N.push(`${w}"compilerOptions": {`),N.push(`${w}${w}/* ${uo(v.Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file)} */`),N.push("");for(const O of S){const{value:L,description:U=""}=O;N.push(L&&`${w}${w}${L}${U&&l(h-L.length+2)+U}`)}if(t.length){N.push(`${w}},`),N.push(`${w}"files": [`);for(let O=0;O<t.length;O++)N.push(`${w}${w}${JSON.stringify(t[O])}${O===t.length-1?"":","}`);N.push(`${w}]`)}else N.push(`${w}}`);return N.push("}"),N.join(n)+n}}function Xre(e,t){const n={},s=P4().optionsNameMap;for(const l in e)mc(e,l)&&(n[l]=KYe(s.get(l.toLowerCase()),e[l],t));return n.configFilePath&&(n.configFilePath=t(n.configFilePath)),n}function KYe(e,t,n){if(e&&!D4(t)){if(e.type==="list"){const s=t;if(e.element.isFilePath&&s.length)return s.map(n)}else if(e.isFilePath)return n(t);R.assert(e.type!=="listOrElement")}return t}function eZe(e,t,n,s,l,f,d,g,h){return yke(e,void 0,t,n,s,h,l,f,d,g)}function CO(e,t,n,s,l,f,d,g,h){var k,S;(k=Hi)==null||k.push(Hi.Phase.Parse,"parseJsonSourceFileConfigFileContent",{path:e.fileName});const w=yke(void 0,e,t,n,s,h,l,f,d,g);return(S=Hi)==null||S.pop(),w}function Qre(e,t){t&&Object.defineProperty(e,"configFile",{enumerable:!1,writable:!1,value:t})}function D4(e){return e==null}function Yre(e,t){return $i(oa(e,t))}function yke(e,t,n,s,l={},f,d,g=[],h=[],k){R.assert(e===void 0&&t!==void 0||e!==void 0&&t===void 0);const S=[],w=Tke(e,t,n,s,d,g,S,k),{raw:N}=w,O=JR(l,w.options||{}),L=f&&w.watchOptions?JR(f,w.watchOptions):w.watchOptions||f;O.configFilePath=d&&ju(d);const U=W();t&&(t.configFileSpecs=U),Qre(O,t);const M=Co(d?Yre(d,s):s);return{options:O,watchOptions:L,fileNames:X(M),projectReferences:Z(M),typeAcquisition:w.typeAcquisition||pU(),raw:N,errors:S,wildcardDirectories:uZe(U,M,n.useCaseSensitiveFileNames),compileOnSave:!!N.compileOnSave};function W(){const ve=se("references",Pe=>typeof Pe=="object","object"),fe=ue(ie("files"));if(fe){const Pe=ve==="no-prop"||pa(ve)&&ve.length===0,le=mc(N,"extends");if(fe.length===0&&Pe&&!le)if(t){const ot=d||"tsconfig.json",Qe=v.The_files_list_in_config_file_0_is_empty,Ge=ze(I7(t,"files"),Je=>Je.initializer),tt=Ge?r_(t,Ge,Qe,ot):gc(Qe,ot);S.push(tt)}else V(v.The_files_list_in_config_file_0_is_empty,d||"tsconfig.json")}let Ce=ue(ie("include"));const _e=ie("exclude");let K=!1,ge=ue(_e);if(_e==="no-prop"&&N.compilerOptions){const Pe=N.compilerOptions.outDir,le=N.compilerOptions.declarationDir;(Pe||le)&&(ge=[Pe,le].filter(ot=>!!ot))}fe===void 0&&Ce===void 0&&(Ce=[TU],K=!0);let Se,we;return Ce&&(Se=Nke(Ce,S,!0,t,"include")),ge&&(we=Nke(ge,S,!1,t,"exclude")),{filesSpecs:fe,includeSpecs:Ce,excludeSpecs:ge,validatedFilesSpec:hr(fe,ha),validatedIncludeSpecs:Se,validatedExcludeSpecs:we,pathPatterns:void 0,isDefaultIncludeSpec:K}}function X(ve){const fe=AO(U,ve,O,n,h);return bke(fe,wO(N),g)&&S.push(vke(U,d)),fe}function Z(ve){let fe;const Ce=se("references",_e=>typeof _e=="object","object");if(pa(Ce))for(const _e of Ce)typeof _e.path!="string"?V(v.Compiler_option_0_requires_a_value_of_type_1,"reference.path","string"):(fe||(fe=[])).push({path:oa(_e.path,ve),originalPath:_e.path,prepend:_e.prepend,circular:_e.circular});return fe}function ue(ve){return pa(ve)?ve:void 0}function ie(ve){return se(ve,ha,"string")}function se(ve,fe,Ce){if(mc(N,ve)&&!D4(N[ve]))if(pa(N[ve])){const _e=N[ve];return!t&&!ut(_e,fe)&&S.push(gc(v.Compiler_option_0_requires_a_value_of_type_1,ve,Ce)),_e}else return V(v.Compiler_option_0_requires_a_value_of_type_1,ve,"Array"),"not-array";return"no-prop"}function V(ve,fe,Ce){t||S.push(gc(ve,fe,Ce))}}function tZe(e){return e.code===v.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2.code}function vke({includeSpecs:e,excludeSpecs:t},n){return gc(v.No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2,n||"tsconfig.json",JSON.stringify(e||[]),JSON.stringify(t||[]))}function bke(e,t,n){return e.length===0&&t&&(!n||n.length===0)}function wO(e){return!mc(e,"files")&&!mc(e,"references")}function Zre(e,t,n,s,l){const f=s.length;return bke(e,l)?s.push(vke(n,t)):Fi(s,d=>!tZe(d)),f!==s.length}function rZe(e){return!!e.options}function Tke(e,t,n,s,l,f,d,g){var h;s=ju(s);const k=oa(l||"",s);if(f.indexOf(k)>=0)return d.push(gc(v.Circularity_detected_while_resolving_configuration_Colon_0,[...f,k].join(" -> "))),{raw:e||dke(t,d)};const S=e?nZe(e,n,s,l,d):iZe(t,n,s,l,d);if((h=S.options)!=null&&h.paths&&(S.options.pathsBasePath=s),S.extendedConfigPath){f=f.concat([k]);const N={options:{}};ha(S.extendedConfigPath)?w(N,S.extendedConfigPath):S.extendedConfigPath.forEach(O=>w(N,O)),!S.raw.include&&N.include&&(S.raw.include=N.include),!S.raw.exclude&&N.exclude&&(S.raw.exclude=N.exclude),!S.raw.files&&N.files&&(S.raw.files=N.files),S.raw.compileOnSave===void 0&&N.compileOnSave&&(S.raw.compileOnSave=N.compileOnSave),t&&N.extendedSourceFiles&&(t.extendedSourceFiles=ao(N.extendedSourceFiles.keys())),S.options=MI(N.options,S.options),S.watchOptions=S.watchOptions&&N.watchOptions?MI(N.watchOptions,S.watchOptions):S.watchOptions||N.watchOptions}return S;function w(N,O){const L=sZe(t,O,n,f,d,g,N);if(L&&rZe(L)){const U=L.raw;let M;const W=X=>{U[X]&&(N[X]=qt(U[X],Z=>Jh(Z)?Z:_s(M||(M=jA($i(O),s,qu(n.useCaseSensitiveFileNames))),Z)))};W("include"),W("exclude"),W("files"),U.compileOnSave!==void 0&&(N.compileOnSave=U.compileOnSave),MI(N.options,L.options),N.watchOptions=N.watchOptions&&L.watchOptions?MI({},N.watchOptions,L.watchOptions):N.watchOptions||L.watchOptions}}}function nZe(e,t,n,s,l){mc(e,"excludes")&&l.push(gc(v.Unknown_option_excludes_Did_you_mean_exclude));const f=xke(e.compilerOptions,n,l,s),d=kke(e.typeAcquisition,n,l,s),g=lZe(e.watchOptions,n,l);e.compileOnSave=aZe(e,n,l);let h;if(e.extends||e.extends==="")if(!fU(RO,e.extends))l.push(gc(v.Compiler_option_0_requires_a_value_of_type_1,"extends",mD(RO)));else{const k=s?Yre(s,n):n;if(ha(e.extends))h=_U(e.extends,t,k,l,gc);else{h=[];for(const S of e.extends)ha(S)?h=$r(h,_U(S,t,k,l,gc)):l.push(gc(v.Compiler_option_0_requires_a_value_of_type_1,"extends",mD(RO.element)))}}return{raw:e,options:f,watchOptions:g,typeAcquisition:d,extendedConfigPath:h}}function iZe(e,t,n,s,l){const f=Ske(s);let d,g,h,k;const w=pke(e,l,!0,{onSetValidOptionKeyValueInParent(N,O,L){let U;switch(N){case"compilerOptions":U=f;break;case"watchOptions":U=g||(g={});break;case"typeAcquisition":U=d||(d=pU(s));break;default:R.fail("Unknown option")}U[O.name]=ene(O,n,L)},onSetValidOptionKeyValueInRoot(N,O,L,U){switch(N){case"extends":const M=s?Yre(s,n):n;if(ha(L))h=_U(L,t,M,l,(W,X)=>r_(e,U,W,X));else{h=[];for(let W=0;W<L.length;W++){const X=L[W];ha(X)&&(h=$r(h,_U(X,t,M,l,(Z,ue)=>r_(e,U.elements[W],Z,ue))))}}return}},onSetUnknownOptionKeyValueInRoot(N,O,L,U){N==="excludes"&&l.push(r_(e,O,v.Unknown_option_excludes_Did_you_mean_exclude)),He(mU,M=>M.name===N)&&(k=$r(k,O))}});return d||(d=pU(s)),k&&w&&w.compilerOptions===void 0&&l.push(r_(e,k[0],v._0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file,P6(k[0]))),{raw:w,options:f,watchOptions:g,typeAcquisition:d,extendedConfigPath:h}}function _U(e,t,n,s,l){if(e=ju(e),Jh(e)||Qs(e,"./")||Qs(e,"../")){let d=oa(e,n);if(!t.fileExists(d)&&!Ul(d,".json")&&(d=`${d}.json`,!t.fileExists(d))){s.push(l(v.File_0_not_found,e));return}return d}const f=nCe(e,_s(n,"tsconfig.json"),t);if(f.resolvedModule)return f.resolvedModule.resolvedFileName;e===""?s.push(l(v.Compiler_option_0_cannot_be_given_an_empty_string,"extends")):s.push(l(v.File_0_not_found,e))}function sZe(e,t,n,s,l,f,d){var g;const h=n.useCaseSensitiveFileNames?t:Fd(t);let k,S,w;if(f&&(k=f.get(h))?{extendedResult:S,extendedConfig:w}=k:(S=cke(t,N=>n.readFile(N)),S.parseDiagnostics.length||(w=Tke(void 0,S,n,$i(t),sf(t),s,l,f)),f&&f.set(h,{extendedResult:S,extendedConfig:w})),e&&(((g=d.extendedSourceFiles)!=null?g:d.extendedSourceFiles=new Set).add(S.fileName),S.extendedSourceFiles))for(const N of S.extendedSourceFiles)d.extendedSourceFiles.add(N);if(S.parseDiagnostics.length){l.push(...S.parseDiagnostics);return}return w}function aZe(e,t,n){if(!mc(e,PO.name))return!1;const s=EO(PO,e.compileOnSave,t,n);return typeof s=="boolean"&&s}function oZe(e,t,n){const s=[];return{options:xke(e,t,s,n),errors:s}}function cZe(e,t,n){const s=[];return{options:kke(e,t,s,n),errors:s}}function Ske(e){return e&&sf(e)==="jsconfig.json"?{allowJs:!0,maxNodeModuleJsDepth:2,allowSyntheticDefaultImports:!0,skipLibCheck:!0,noEmit:!0}:{}}function xke(e,t,n,s){const l=Ske(s);return Kre(uke(),e,t,l,MO,n),s&&(l.configFilePath=ju(s)),l}function pU(e){return{enable:!!e&&sf(e)==="jsconfig.json",include:[],exclude:[]}}function kke(e,t,n,s){const l=pU(s);return Kre(_ke(),e,t,l,pne,n),l}function lZe(e,t,n){return Kre(fke(),e,t,void 0,FO,n)}function Kre(e,t,n,s,l,f){if(t){for(const d in t){const g=e.get(d);g?(s||(s={}))[g.name]=EO(g,t[d],n,f):f.push(Ure(d,l,gc))}return s}}function EO(e,t,n,s){if(fU(e,t)){const l=e.type;if(l==="list"&&pa(t))return Eke(e,t,n,s);if(l==="listOrElement")return pa(t)?Eke(e,t,n,s):EO(e.element,t,n,s);if(!ha(e.type))return wke(e,t,s);const f=Vx(e,t,s);return D4(f)?f:Cke(e,n,f)}else s.push(gc(v.Compiler_option_0_requires_a_value_of_type_1,e.name,mD(e)))}function ene(e,t,n){if(!D4(n)){if(e.type==="listOrElement"&&!pa(n))return ene(e.element,t,n);if(e.type==="list"||e.type==="listOrElement"){const s=e;return s.element.isFilePath||!ha(s.element.type)?hr(qt(n,l=>ene(s.element,t,l)),l=>s.listPreserveFalsyValues?!0:!!l):n}else if(!ha(e.type))return e.type.get(ha(n)?n.toLowerCase():n);return Cke(e,t,n)}}function Cke(e,t,n){return e.isFilePath&&(n=oa(n,t),n===""&&(n=".")),n}function Vx(e,t,n){var s;if(D4(t))return;const l=(s=e.extraValidation)==null?void 0:s.call(e,t);if(!l)return t;n.push(gc(...l))}function wke(e,t,n){if(D4(t))return;const s=t.toLowerCase(),l=e.type.get(s);if(l!==void 0)return Vx(e,l,n);n.push(Jre(e))}function Eke(e,t,n,s){return hr(qt(t,l=>EO(e.element,l,n,s)),l=>e.listPreserveFalsyValues?!0:!!l)}function AO(e,t,n,s,l=pt){t=Co(t);const f=qu(s.useCaseSensitiveFileNames),d=new Map,g=new Map,h=new Map,{validatedFilesSpec:k,validatedIncludeSpecs:S,validatedExcludeSpecs:w}=e,N=BP(n,l),O=w5(n,N);if(k)for(const W of k){const X=oa(W,t);d.set(f(X),X)}let L;if(S&&S.length>0)for(const W of s.readDirectory(t,Vn(O),w,S,void 0)){if(Gl(W,".json")){if(!L){const ue=S.filter(se=>Ul(se,".json")),ie=qt(qj(ue,t,"files"),se=>`^${se}$`);L=ie?ie.map(se=>vv(se,s.useCaseSensitiveFileNames)):pt}if(ar(L,ue=>ue.test(W))!==-1){const ue=f(W);!d.has(ue)&&!h.has(ue)&&h.set(ue,W)}continue}if(_Ze(W,d,g,N,f))continue;pZe(W,g,N,f);const X=f(W);!d.has(X)&&!g.has(X)&&g.set(X,W)}const U=ao(d.values()),M=ao(g.values());return U.concat(M,ao(h.values()))}function Ake(e,t,n,s,l){const{validatedFilesSpec:f,validatedIncludeSpecs:d,validatedExcludeSpecs:g}=t;if(!H(d)||!H(g))return!1;n=Co(n);const h=qu(s);if(f){for(const k of f)if(h(oa(k,n))===e)return!1}return Dke(e,g,s,l,n)}function Pke(e){const t=Qs(e,"**/")?0:e.indexOf("/**/");return t===-1?!1:(Ul(e,"/..")?e.length:e.lastIndexOf("/../"))>t}function dU(e,t,n,s){return Dke(e,hr(t,l=>!Pke(l)),n,s)}function Dke(e,t,n,s,l){const f=FP(t,_s(Co(s),l),"exclude"),d=f&&vv(f,n);return d?d.test(e)?!0:!m6(e)&&d.test(Ef(e)):!1}function Nke(e,t,n,s,l){return e.filter(d=>{if(!ha(d))return!1;const g=tne(d,n);return g!==void 0&&t.push(f(...g)),g===void 0});function f(d,g){const h=aj(s,l,g);return h?r_(s,h,d,g):gc(d,g)}}function tne(e,t){if(R.assert(typeof e=="string"),t&&Uke.test(e))return[v.File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,e];if(Pke(e))return[v.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0,e]}function uZe({validatedIncludeSpecs:e,validatedExcludeSpecs:t},n,s){const l=FP(t,n,"exclude"),f=l&&new RegExp(l,s?"":"i"),d={};if(e!==void 0){const g=[];for(const h of e){const k=Co(_s(n,h));if(f&&f.test(k))continue;const S=fZe(k,s);if(S){const{key:w,flags:N}=S,O=d[w];(O===void 0||O<N)&&(d[w]=N,N===1&&g.push(w))}}for(const h in d)if(mc(d,h))for(const k of g)h!==k&&sv(k,h,n,!s)&&delete d[h]}return d}function fZe(e,t){const n=zke.exec(e);if(n){const s=e.indexOf("?"),l=e.indexOf("*"),f=e.lastIndexOf(hc);return{key:t?n[0]:Fd(n[0]),flags:s!==-1&&s<f||l!==-1&&l<f?1:0}}if(ete(e.substring(e.lastIndexOf(hc)+1)))return{key:cx(t?e:Fd(e)),flags:1}}function _Ze(e,t,n,s,l){const f=Q(s,d=>cu(e,d)?d:void 0);if(!f)return!1;for(const d of f){if(Gl(e,d))return!1;const g=l(ET(e,d));if(t.has(g)||n.has(g)){if(d===".d.ts"&&(Gl(e,".js")||Gl(e,".jsx")))continue;return!0}}return!1}function pZe(e,t,n,s){const l=Q(n,f=>cu(e,f)?f:void 0);if(l)for(let f=l.length-1;f>=0;f--){const d=l[f];if(Gl(e,d))return;const g=s(ET(e,d));t.delete(g)}}function dZe(e){const t={};for(const n in e)if(mc(e,n)){const s=Vre(n);s!==void 0&&(t[n]=rne(e[n],s))}return t}function rne(e,t){switch(t.type){case"object":return"";case"string":return"";case"number":return typeof e=="number"?e:"";case"boolean":return typeof e=="boolean"?e:"";case"listOrElement":if(!pa(e))return rne(e,t.element);case"list":const n=t.element;return pa(e)?e.map(s=>rne(s,n)):"";default:return cp(t.type,(s,l)=>{if(s===e)return l})}}function nne(e){switch(e.type){case"number":return 1;case"boolean":return!0;case"string":const t=e.defaultValueDescription;return e.isFilePath?`./${t&&typeof t=="string"?t:""}`:"";case"list":return[];case"listOrElement":return nne(e.element);case"object":return{};default:const n=jR(e.type.keys());return n!==void 0?n:R.fail("Expected 'option.type' to have entries.")}}var PO,ine,hD,sne,DO,NO,IO,OO,LO,ane,mU,Vy,one,cne,lne,hU,gU,une,fne,_ne,yU,vU,Ike,Oke,bU,MO,Lke,Mke,Fke,pne,Rke,FO,Bke,jke,Jke,RO,dne,TU,Uke,zke,mZe=p({"src/compiler/commandLineParser.ts"(){aa(),PO={name:"compileOnSave",type:"boolean",defaultValueDescription:!1},ine=new Map(Object.entries({preserve:1,"react-native":3,react:2,"react-jsx":4,"react-jsxdev":5})),hD=new Map(Ba(ine.entries(),([e,t])=>[""+t,e])),sne=[["es5","lib.es5.d.ts"],["es6","lib.es2015.d.ts"],["es2015","lib.es2015.d.ts"],["es7","lib.es2016.d.ts"],["es2016","lib.es2016.d.ts"],["es2017","lib.es2017.d.ts"],["es2018","lib.es2018.d.ts"],["es2019","lib.es2019.d.ts"],["es2020","lib.es2020.d.ts"],["es2021","lib.es2021.d.ts"],["es2022","lib.es2022.d.ts"],["es2023","lib.es2023.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"],["es2019.intl","lib.es2019.intl.d.ts"],["es2020.bigint","lib.es2020.bigint.d.ts"],["es2020.date","lib.es2020.date.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"],["es2020.number","lib.es2020.number.d.ts"],["es2021.promise","lib.es2021.promise.d.ts"],["es2021.string","lib.es2021.string.d.ts"],["es2021.weakref","lib.es2021.weakref.d.ts"],["es2021.intl","lib.es2021.intl.d.ts"],["es2022.array","lib.es2022.array.d.ts"],["es2022.error","lib.es2022.error.d.ts"],["es2022.intl","lib.es2022.intl.d.ts"],["es2022.object","lib.es2022.object.d.ts"],["es2022.sharedmemory","lib.es2022.sharedmemory.d.ts"],["es2022.string","lib.es2022.string.d.ts"],["es2022.regexp","lib.es2022.regexp.d.ts"],["es2023.array","lib.es2023.array.d.ts"],["esnext.array","lib.es2023.array.d.ts"],["esnext.symbol","lib.es2019.symbol.d.ts"],["esnext.asynciterable","lib.es2018.asynciterable.d.ts"],["esnext.intl","lib.esnext.intl.d.ts"],["esnext.bigint","lib.es2020.bigint.d.ts"],["esnext.string","lib.es2022.string.d.ts"],["esnext.promise","lib.es2021.promise.d.ts"],["esnext.weakref","lib.es2021.weakref.d.ts"],["decorators","lib.decorators.d.ts"],["decorators.legacy","lib.decorators.legacy.d.ts"]],DO=sne.map(e=>e[0]),NO=new Map(sne),IO=[{name:"watchFile",type:new Map(Object.entries({fixedpollinginterval:0,prioritypollinginterval:1,dynamicprioritypolling:2,fixedchunksizepolling:3,usefsevents:4,usefseventsonparentdirectory:5})),category:v.Watch_and_Build_Modes,description:v.Specify_how_the_TypeScript_watch_mode_works,defaultValueDescription:4},{name:"watchDirectory",type:new Map(Object.entries({usefsevents:0,fixedpollinginterval:1,dynamicprioritypolling:2,fixedchunksizepolling:3})),category:v.Watch_and_Build_Modes,description:v.Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality,defaultValueDescription:0},{name:"fallbackPolling",type:new Map(Object.entries({fixedinterval:0,priorityinterval:1,dynamicpriority:2,fixedchunksize:3})),category:v.Watch_and_Build_Modes,description:v.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers,defaultValueDescription:1},{name:"synchronousWatchDirectory",type:"boolean",category:v.Watch_and_Build_Modes,description:v.Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively,defaultValueDescription:!1},{name:"excludeDirectories",type:"list",element:{name:"excludeDirectory",type:"string",isFilePath:!0,extraValidation:tne},category:v.Watch_and_Build_Modes,description:v.Remove_a_list_of_directories_from_the_watch_process},{name:"excludeFiles",type:"list",element:{name:"excludeFile",type:"string",isFilePath:!0,extraValidation:tne},category:v.Watch_and_Build_Modes,description:v.Remove_a_list_of_files_from_the_watch_mode_s_processing}],OO=[{name:"help",shortName:"h",type:"boolean",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:v.Command_line_Options,description:v.Print_this_message,defaultValueDescription:!1},{name:"help",shortName:"?",type:"boolean",isCommandLineOnly:!0,category:v.Command_line_Options,defaultValueDescription:!1},{name:"watch",shortName:"w",type:"boolean",showInSimplifiedHelpView:!0,isCommandLineOnly:!0,category:v.Command_line_Options,description:v.Watch_input_files,defaultValueDescription:!1},{name:"preserveWatchOutput",type:"boolean",showInSimplifiedHelpView:!1,category:v.Output_Formatting,description:v.Disable_wiping_the_console_in_watch_mode,defaultValueDescription:!1},{name:"listFiles",type:"boolean",category:v.Compiler_Diagnostics,description:v.Print_all_of_the_files_read_during_the_compilation,defaultValueDescription:!1},{name:"explainFiles",type:"boolean",category:v.Compiler_Diagnostics,description:v.Print_files_read_during_the_compilation_including_why_it_was_included,defaultValueDescription:!1},{name:"listEmittedFiles",type:"boolean",category:v.Compiler_Diagnostics,description:v.Print_the_names_of_emitted_files_after_a_compilation,defaultValueDescription:!1},{name:"pretty",type:"boolean",showInSimplifiedHelpView:!0,category:v.Output_Formatting,description:v.Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read,defaultValueDescription:!0},{name:"traceResolution",type:"boolean",category:v.Compiler_Diagnostics,description:v.Log_paths_used_during_the_moduleResolution_process,defaultValueDescription:!1},{name:"diagnostics",type:"boolean",category:v.Compiler_Diagnostics,description:v.Output_compiler_performance_information_after_building,defaultValueDescription:!1},{name:"extendedDiagnostics",type:"boolean",category:v.Compiler_Diagnostics,description:v.Output_more_detailed_compiler_performance_information_after_building,defaultValueDescription:!1},{name:"generateCpuProfile",type:"string",isFilePath:!0,paramType:v.FILE_OR_DIRECTORY,category:v.Compiler_Diagnostics,description:v.Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging,defaultValueDescription:"profile.cpuprofile"},{name:"generateTrace",type:"string",isFilePath:!0,isCommandLineOnly:!0,paramType:v.DIRECTORY,category:v.Compiler_Diagnostics,description:v.Generates_an_event_trace_and_a_list_of_types},{name:"incremental",shortName:"i",type:"boolean",category:v.Projects,description:v.Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects,transpileOptionValue:void 0,defaultValueDescription:v.false_unless_composite_is_set},{name:"declaration",shortName:"d",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:v.Emit,transpileOptionValue:void 0,description:v.Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project,defaultValueDescription:v.false_unless_composite_is_set},{name:"declarationMap",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:v.Emit,transpileOptionValue:void 0,defaultValueDescription:!1,description:v.Create_sourcemaps_for_d_ts_files},{name:"emitDeclarationOnly",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:v.Emit,description:v.Only_output_d_ts_files_and_not_JavaScript_files,transpileOptionValue:void 0,defaultValueDescription:!1},{name:"sourceMap",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:v.Emit,defaultValueDescription:!1,description:v.Create_source_map_files_for_emitted_JavaScript_files},{name:"inlineSourceMap",type:"boolean",affectsBuildInfo:!0,category:v.Emit,description:v.Include_sourcemap_files_inside_the_emitted_JavaScript,defaultValueDescription:!1},{name:"assumeChangesOnlyAffectDirectDependencies",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:v.Watch_and_Build_Modes,description:v.Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it,defaultValueDescription:!1},{name:"locale",type:"string",category:v.Command_line_Options,isCommandLineOnly:!0,description:v.Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit,defaultValueDescription:v.Platform_specific}],LO={name:"target",shortName:"t",type:new Map(Object.entries({es3:0,es5:1,es6:2,es2015:2,es2016:3,es2017:4,es2018:5,es2019:6,es2020:7,es2021:8,es2022:9,esnext:99})),affectsSourceFile:!0,affectsModuleResolution:!0,affectsEmit:!0,affectsBuildInfo:!0,paramType:v.VERSION,showInSimplifiedHelpView:!0,category:v.Language_and_Environment,description:v.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations,defaultValueDescription:1},ane={name:"module",shortName:"m",type:new Map(Object.entries({none:0,commonjs:1,amd:2,system:4,umd:3,es6:5,es2015:5,es2020:6,es2022:7,esnext:99,node16:100,nodenext:199})),affectsModuleResolution:!0,affectsEmit:!0,affectsBuildInfo:!0,paramType:v.KIND,showInSimplifiedHelpView:!0,category:v.Modules,description:v.Specify_what_module_code_is_generated,defaultValueDescription:void 0},mU=[{name:"all",type:"boolean",showInSimplifiedHelpView:!0,category:v.Command_line_Options,description:v.Show_all_compiler_options,defaultValueDescription:!1},{name:"version",shortName:"v",type:"boolean",showInSimplifiedHelpView:!0,category:v.Command_line_Options,description:v.Print_the_compiler_s_version,defaultValueDescription:!1},{name:"init",type:"boolean",showInSimplifiedHelpView:!0,category:v.Command_line_Options,description:v.Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file,defaultValueDescription:!1},{name:"project",shortName:"p",type:"string",isFilePath:!0,showInSimplifiedHelpView:!0,category:v.Command_line_Options,paramType:v.FILE_OR_DIRECTORY,description:v.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:v.Command_line_Options,description:v.Build_one_or_more_projects_and_their_dependencies_if_out_of_date,defaultValueDescription:!1},{name:"showConfig",type:"boolean",showInSimplifiedHelpView:!0,category:v.Command_line_Options,isCommandLineOnly:!0,description:v.Print_the_final_configuration_instead_of_building,defaultValueDescription:!1},{name:"listFilesOnly",type:"boolean",category:v.Command_line_Options,isCommandLineOnly:!0,description:v.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing,defaultValueDescription:!1},LO,ane,{name:"lib",type:"list",element:{name:"lib",type:NO,defaultValueDescription:void 0},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:v.Language_and_Environment,description:v.Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment,transpileOptionValue:void 0},{name:"allowJs",type:"boolean",affectsModuleResolution:!0,showInSimplifiedHelpView:!0,category:v.JavaScript_Support,description:v.Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files,defaultValueDescription:!1},{name:"checkJs",type:"boolean",showInSimplifiedHelpView:!0,category:v.JavaScript_Support,description:v.Enable_error_reporting_in_type_checked_JavaScript_files,defaultValueDescription:!1},{name:"jsx",type:ine,affectsSourceFile:!0,affectsEmit:!0,affectsBuildInfo:!0,affectsModuleResolution:!0,paramType:v.KIND,showInSimplifiedHelpView:!0,category:v.Language_and_Environment,description:v.Specify_what_JSX_code_is_generated,defaultValueDescription:void 0},{name:"outFile",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:v.FILE,showInSimplifiedHelpView:!0,category:v.Emit,description:v.Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output,transpileOptionValue:void 0},{name:"outDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:v.DIRECTORY,showInSimplifiedHelpView:!0,category:v.Emit,description:v.Specify_an_output_folder_for_all_emitted_files},{name:"rootDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:v.LOCATION,category:v.Modules,description:v.Specify_the_root_folder_within_your_source_files,defaultValueDescription:v.Computed_from_the_list_of_input_files},{name:"composite",type:"boolean",affectsBuildInfo:!0,isTSConfigOnly:!0,category:v.Projects,transpileOptionValue:void 0,defaultValueDescription:!1,description:v.Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references},{name:"tsBuildInfoFile",type:"string",affectsEmit:!0,affectsBuildInfo:!0,isFilePath:!0,paramType:v.FILE,category:v.Projects,transpileOptionValue:void 0,defaultValueDescription:".tsbuildinfo",description:v.Specify_the_path_to_tsbuildinfo_incremental_compilation_file},{name:"removeComments",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:v.Emit,defaultValueDescription:!1,description:v.Disable_emitting_comments},{name:"noEmit",type:"boolean",showInSimplifiedHelpView:!0,category:v.Emit,description:v.Disable_emitting_files_from_a_compilation,transpileOptionValue:void 0,defaultValueDescription:!1},{name:"importHelpers",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:v.Emit,description:v.Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file,defaultValueDescription:!1},{name:"importsNotUsedAsValues",type:new Map(Object.entries({remove:0,preserve:1,error:2})),affectsEmit:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:v.Emit,description:v.Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types,defaultValueDescription:0},{name:"downlevelIteration",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:v.Emit,description:v.Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration,defaultValueDescription:!1},{name:"isolatedModules",type:"boolean",category:v.Interop_Constraints,description:v.Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports,transpileOptionValue:!0,defaultValueDescription:!1},{name:"verbatimModuleSyntax",type:"boolean",category:v.Interop_Constraints,description:v.Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting,defaultValueDescription:!1},{name:"strict",type:"boolean",affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:v.Type_Checking,description:v.Enable_all_strict_type_checking_options,defaultValueDescription:!1},{name:"noImplicitAny",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:v.Type_Checking,description:v.Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type,defaultValueDescription:v.false_unless_strict_is_set},{name:"strictNullChecks",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:v.Type_Checking,description:v.When_type_checking_take_into_account_null_and_undefined,defaultValueDescription:v.false_unless_strict_is_set},{name:"strictFunctionTypes",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:v.Type_Checking,description:v.When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible,defaultValueDescription:v.false_unless_strict_is_set},{name:"strictBindCallApply",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:v.Type_Checking,description:v.Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function,defaultValueDescription:v.false_unless_strict_is_set},{name:"strictPropertyInitialization",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:v.Type_Checking,description:v.Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor,defaultValueDescription:v.false_unless_strict_is_set},{name:"noImplicitThis",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:v.Type_Checking,description:v.Enable_error_reporting_when_this_is_given_the_type_any,defaultValueDescription:v.false_unless_strict_is_set},{name:"useUnknownInCatchVariables",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,strictFlag:!0,category:v.Type_Checking,description:v.Default_catch_clause_variables_as_unknown_instead_of_any,defaultValueDescription:!1},{name:"alwaysStrict",type:"boolean",affectsSourceFile:!0,affectsEmit:!0,affectsBuildInfo:!0,strictFlag:!0,category:v.Type_Checking,description:v.Ensure_use_strict_is_always_emitted,defaultValueDescription:v.false_unless_strict_is_set},{name:"noUnusedLocals",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:v.Type_Checking,description:v.Enable_error_reporting_when_local_variables_aren_t_read,defaultValueDescription:!1},{name:"noUnusedParameters",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:v.Type_Checking,description:v.Raise_an_error_when_a_function_parameter_isn_t_read,defaultValueDescription:!1},{name:"exactOptionalPropertyTypes",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:v.Type_Checking,description:v.Interpret_optional_property_types_as_written_rather_than_adding_undefined,defaultValueDescription:!1},{name:"noImplicitReturns",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:v.Type_Checking,description:v.Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function,defaultValueDescription:!1},{name:"noFallthroughCasesInSwitch",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:v.Type_Checking,description:v.Enable_error_reporting_for_fallthrough_cases_in_switch_statements,defaultValueDescription:!1},{name:"noUncheckedIndexedAccess",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:v.Type_Checking,description:v.Add_undefined_to_a_type_when_accessed_using_an_index,defaultValueDescription:!1},{name:"noImplicitOverride",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:v.Type_Checking,description:v.Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier,defaultValueDescription:!1},{name:"noPropertyAccessFromIndexSignature",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!1,category:v.Type_Checking,description:v.Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type,defaultValueDescription:!1},{name:"moduleResolution",type:new Map(Object.entries({node10:2,node:2,classic:1,node16:3,nodenext:99,bundler:100})),deprecatedKeys:new Set(["node"]),affectsModuleResolution:!0,paramType:v.STRATEGY,category:v.Modules,description:v.Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier,defaultValueDescription:v.module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node},{name:"baseUrl",type:"string",affectsModuleResolution:!0,isFilePath:!0,category:v.Modules,description:v.Specify_the_base_directory_to_resolve_non_relative_module_names},{name:"paths",type:"object",affectsModuleResolution:!0,isTSConfigOnly:!0,category:v.Modules,description:v.Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations,transpileOptionValue:void 0},{name:"rootDirs",type:"list",isTSConfigOnly:!0,element:{name:"rootDirs",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:v.Modules,description:v.Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules,transpileOptionValue:void 0,defaultValueDescription:v.Computed_from_the_list_of_input_files},{name:"typeRoots",type:"list",element:{name:"typeRoots",type:"string",isFilePath:!0},affectsModuleResolution:!0,category:v.Modules,description:v.Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types},{name:"types",type:"list",element:{name:"types",type:"string"},affectsProgramStructure:!0,showInSimplifiedHelpView:!0,category:v.Modules,description:v.Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file,transpileOptionValue:void 0},{name:"allowSyntheticDefaultImports",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:v.Interop_Constraints,description:v.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export,defaultValueDescription:v.module_system_or_esModuleInterop},{name:"esModuleInterop",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,showInSimplifiedHelpView:!0,category:v.Interop_Constraints,description:v.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility,defaultValueDescription:!1},{name:"preserveSymlinks",type:"boolean",category:v.Interop_Constraints,description:v.Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node,defaultValueDescription:!1},{name:"allowUmdGlobalAccess",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:v.Modules,description:v.Allow_accessing_UMD_globals_from_modules,defaultValueDescription:!1},{name:"moduleSuffixes",type:"list",element:{name:"suffix",type:"string"},listPreserveFalsyValues:!0,affectsModuleResolution:!0,category:v.Modules,description:v.List_of_file_name_suffixes_to_search_when_resolving_a_module},{name:"allowImportingTsExtensions",type:"boolean",affectsSemanticDiagnostics:!0,category:v.Modules,description:v.Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set,defaultValueDescription:!1,transpileOptionValue:void 0},{name:"resolvePackageJsonExports",type:"boolean",affectsModuleResolution:!0,category:v.Modules,description:v.Use_the_package_json_exports_field_when_resolving_package_imports,defaultValueDescription:v.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false},{name:"resolvePackageJsonImports",type:"boolean",affectsModuleResolution:!0,category:v.Modules,description:v.Use_the_package_json_imports_field_when_resolving_imports,defaultValueDescription:v.true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false},{name:"customConditions",type:"list",element:{name:"condition",type:"string"},affectsModuleResolution:!0,category:v.Modules,description:v.Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports},{name:"sourceRoot",type:"string",affectsEmit:!0,affectsBuildInfo:!0,paramType:v.LOCATION,category:v.Emit,description:v.Specify_the_root_path_for_debuggers_to_find_the_reference_source_code},{name:"mapRoot",type:"string",affectsEmit:!0,affectsBuildInfo:!0,paramType:v.LOCATION,category:v.Emit,description:v.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations},{name:"inlineSources",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:v.Emit,description:v.Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript,defaultValueDescription:!1},{name:"experimentalDecorators",type:"boolean",affectsEmit:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:v.Language_and_Environment,description:v.Enable_experimental_support_for_legacy_experimental_decorators,defaultValueDescription:!1},{name:"emitDecoratorMetadata",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:v.Language_and_Environment,description:v.Emit_design_type_metadata_for_decorated_declarations_in_source_files,defaultValueDescription:!1},{name:"jsxFactory",type:"string",category:v.Language_and_Environment,description:v.Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h,defaultValueDescription:"`React.createElement`"},{name:"jsxFragmentFactory",type:"string",category:v.Language_and_Environment,description:v.Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment,defaultValueDescription:"React.Fragment"},{name:"jsxImportSource",type:"string",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,affectsModuleResolution:!0,category:v.Language_and_Environment,description:v.Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk,defaultValueDescription:"react"},{name:"resolveJsonModule",type:"boolean",affectsModuleResolution:!0,category:v.Modules,description:v.Enable_importing_json_files,defaultValueDescription:!1},{name:"allowArbitraryExtensions",type:"boolean",affectsProgramStructure:!0,category:v.Modules,description:v.Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present,defaultValueDescription:!1},{name:"out",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!1,category:v.Backwards_Compatibility,paramType:v.FILE,transpileOptionValue:void 0,description:v.Deprecated_setting_Use_outFile_instead},{name:"reactNamespace",type:"string",affectsEmit:!0,affectsBuildInfo:!0,category:v.Language_and_Environment,description:v.Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit,defaultValueDescription:"`React`"},{name:"skipDefaultLibCheck",type:"boolean",affectsBuildInfo:!0,category:v.Completeness,description:v.Skip_type_checking_d_ts_files_that_are_included_with_TypeScript,defaultValueDescription:!1},{name:"charset",type:"string",category:v.Backwards_Compatibility,description:v.No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files,defaultValueDescription:"utf8"},{name:"emitBOM",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:v.Emit,description:v.Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files,defaultValueDescription:!1},{name:"newLine",type:new Map(Object.entries({crlf:0,lf:1})),affectsEmit:!0,affectsBuildInfo:!0,paramType:v.NEWLINE,category:v.Emit,description:v.Set_the_newline_character_for_emitting_files,defaultValueDescription:"lf"},{name:"noErrorTruncation",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:v.Output_Formatting,description:v.Disable_truncating_types_in_error_messages,defaultValueDescription:!1},{name:"noLib",type:"boolean",category:v.Language_and_Environment,affectsProgramStructure:!0,description:v.Disable_including_any_library_files_including_the_default_lib_d_ts,transpileOptionValue:!0,defaultValueDescription:!1},{name:"noResolve",type:"boolean",affectsModuleResolution:!0,category:v.Modules,description:v.Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project,transpileOptionValue:!0,defaultValueDescription:!1},{name:"stripInternal",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:v.Emit,description:v.Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments,defaultValueDescription:!1},{name:"disableSizeLimit",type:"boolean",affectsProgramStructure:!0,category:v.Editor_Support,description:v.Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server,defaultValueDescription:!1},{name:"disableSourceOfProjectReferenceRedirect",type:"boolean",isTSConfigOnly:!0,category:v.Projects,description:v.Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects,defaultValueDescription:!1},{name:"disableSolutionSearching",type:"boolean",isTSConfigOnly:!0,category:v.Projects,description:v.Opt_a_project_out_of_multi_project_reference_checking_when_editing,defaultValueDescription:!1},{name:"disableReferencedProjectLoad",type:"boolean",isTSConfigOnly:!0,category:v.Projects,description:v.Reduce_the_number_of_projects_loaded_automatically_by_TypeScript,defaultValueDescription:!1},{name:"noImplicitUseStrict",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:v.Backwards_Compatibility,description:v.Disable_adding_use_strict_directives_in_emitted_JavaScript_files,defaultValueDescription:!1},{name:"noEmitHelpers",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:v.Emit,description:v.Disable_generating_custom_helper_functions_like_extends_in_compiled_output,defaultValueDescription:!1},{name:"noEmitOnError",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:v.Emit,transpileOptionValue:void 0,description:v.Disable_emitting_files_if_any_type_checking_errors_are_reported,defaultValueDescription:!1},{name:"preserveConstEnums",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:v.Emit,description:v.Disable_erasing_const_enum_declarations_in_generated_code,defaultValueDescription:!1},{name:"declarationDir",type:"string",affectsEmit:!0,affectsBuildInfo:!0,affectsDeclarationPath:!0,isFilePath:!0,paramType:v.DIRECTORY,category:v.Emit,transpileOptionValue:void 0,description:v.Specify_the_output_directory_for_generated_declaration_files},{name:"skipLibCheck",type:"boolean",affectsBuildInfo:!0,category:v.Completeness,description:v.Skip_type_checking_all_d_ts_files,defaultValueDescription:!1},{name:"allowUnusedLabels",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:v.Type_Checking,description:v.Disable_error_reporting_for_unused_labels,defaultValueDescription:void 0},{name:"allowUnreachableCode",type:"boolean",affectsBindDiagnostics:!0,affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:v.Type_Checking,description:v.Disable_error_reporting_for_unreachable_code,defaultValueDescription:void 0},{name:"suppressExcessPropertyErrors",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:v.Backwards_Compatibility,description:v.Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals,defaultValueDescription:!1},{name:"suppressImplicitAnyIndexErrors",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:v.Backwards_Compatibility,description:v.Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures,defaultValueDescription:!1},{name:"forceConsistentCasingInFileNames",type:"boolean",affectsModuleResolution:!0,category:v.Interop_Constraints,description:v.Ensure_that_casing_is_correct_in_imports,defaultValueDescription:!0},{name:"maxNodeModuleJsDepth",type:"number",affectsModuleResolution:!0,category:v.JavaScript_Support,description:v.Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs,defaultValueDescription:0},{name:"noStrictGenericChecks",type:"boolean",affectsSemanticDiagnostics:!0,affectsBuildInfo:!0,category:v.Backwards_Compatibility,description:v.Disable_strict_checking_of_generic_signatures_in_function_types,defaultValueDescription:!1},{name:"useDefineForClassFields",type:"boolean",affectsSemanticDiagnostics:!0,affectsEmit:!0,affectsBuildInfo:!0,category:v.Language_and_Environment,description:v.Emit_ECMAScript_standard_compliant_class_fields,defaultValueDescription:v.true_for_ES2022_and_above_including_ESNext},{name:"preserveValueImports",type:"boolean",affectsEmit:!0,affectsBuildInfo:!0,category:v.Emit,description:v.Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed,defaultValueDescription:!1},{name:"keyofStringsOnly",type:"boolean",category:v.Backwards_Compatibility,description:v.Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option,defaultValueDescription:!1},{name:"plugins",type:"list",isTSConfigOnly:!0,element:{name:"plugin",type:"object"},description:v.Specify_a_list_of_language_service_plugins_to_include,category:v.Editor_Support},{name:"moduleDetection",type:new Map(Object.entries({auto:2,legacy:1,force:3})),affectsModuleResolution:!0,description:v.Control_what_method_is_used_to_detect_module_format_JS_files,category:v.Language_and_Environment,defaultValueDescription:v.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules},{name:"ignoreDeprecations",type:"string",defaultValueDescription:void 0}],Vy=[...OO,...mU],one=Vy.filter(e=>!!e.affectsSemanticDiagnostics),cne=Vy.filter(e=>!!e.affectsEmit),lne=Vy.filter(e=>!!e.affectsDeclarationPath),hU=Vy.filter(e=>!!e.affectsModuleResolution),gU=Vy.filter(e=>!!e.affectsSourceFile||!!e.affectsModuleResolution||!!e.affectsBindDiagnostics),une=Vy.filter(e=>!!e.affectsProgramStructure),fne=Vy.filter(e=>mc(e,"transpileOptionValue")),_ne=[{name:"verbose",shortName:"v",category:v.Command_line_Options,description:v.Enable_verbose_logging,type:"boolean",defaultValueDescription:!1},{name:"dry",shortName:"d",category:v.Command_line_Options,description:v.Show_what_would_be_built_or_deleted_if_specified_with_clean,type:"boolean",defaultValueDescription:!1},{name:"force",shortName:"f",category:v.Command_line_Options,description:v.Build_all_projects_including_those_that_appear_to_be_up_to_date,type:"boolean",defaultValueDescription:!1},{name:"clean",category:v.Command_line_Options,description:v.Delete_the_outputs_of_all_projects,type:"boolean",defaultValueDescription:!1}],yU=[...OO,..._ne],vU=[{name:"enable",type:"boolean",defaultValueDescription:!1},{name:"include",type:"list",element:{name:"include",type:"string"}},{name:"exclude",type:"list",element:{name:"exclude",type:"string"}},{name:"disableFilenameBasedTypeAcquisition",type:"boolean",defaultValueDescription:!1}],Oke={diagnostic:v.Compiler_option_0_may_only_be_used_with_build,getOptionsNameMap:oke},bU={module:1,target:3,strict:!0,esModuleInterop:!0,forceConsistentCasingInFileNames:!0,skipLibCheck:!0},MO={alternateMode:Oke,getOptionsNameMap:P4,optionDeclarations:Vy,unknownOptionDiagnostic:v.Unknown_compiler_option_0,unknownDidYouMeanDiagnostic:v.Unknown_compiler_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:v.Compiler_option_0_expects_an_argument},Mke={diagnostic:v.Compiler_option_0_may_not_be_used_with_build,getOptionsNameMap:P4},Fke={alternateMode:Mke,getOptionsNameMap:oke,optionDeclarations:yU,unknownOptionDiagnostic:v.Unknown_build_option_0,unknownDidYouMeanDiagnostic:v.Unknown_build_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:v.Build_option_0_requires_a_value_of_type_1},pne={optionDeclarations:vU,unknownOptionDiagnostic:v.Unknown_type_acquisition_option_0,unknownDidYouMeanDiagnostic:v.Unknown_type_acquisition_option_0_Did_you_mean_1},FO={getOptionsNameMap:lke,optionDeclarations:IO,unknownOptionDiagnostic:v.Unknown_watch_option_0,unknownDidYouMeanDiagnostic:v.Unknown_watch_option_0_Did_you_mean_1,optionTypeMismatchDiagnostic:v.Watch_option_0_requires_a_value_of_type_1},RO={name:"extends",type:"listOrElement",element:{name:"extends",type:"string"},category:v.File_Management},TU="**/*",Uke=/(^|\/)\*\*\/?$/,zke=/^[^*?]*(?=\/[^/]*[*?])/}});function Us(e){e.trace(Gee.apply(void 0,arguments))}function Ev(e,t){return!!e.traceResolution&&t.trace!==void 0}function N4(e,t){let n;if(t&&e){const s=e.contents.packageJsonContent;typeof s.name=="string"&&typeof s.version=="string"&&(n={name:s.name,subModuleName:t.path.slice(e.packageDirectory.length+hc.length),version:s.version})}return t&&{path:t.path,extension:t.ext,packageId:n,resolvedUsingTsExtension:t.resolvedUsingTsExtension}}function SU(e){return N4(void 0,e)}function Vke(e){if(e)return R.assert(e.packageId===void 0),{path:e.path,ext:e.extension,resolvedUsingTsExtension:e.resolvedUsingTsExtension}}function $ke(e){const t=[];return e&1&&t.push("TypeScript"),e&2&&t.push("JavaScript"),e&4&&t.push("Declaration"),e&8&&t.push("JSON"),t.join(", ")}function qke(e){if(e)return R.assert(Gj(e.extension)),{fileName:e.path,packageId:e.packageId}}function Wke(e,t,n,s,l,f,d,g){if(!d.resultFromCache&&!d.compilerOptions.preserveSymlinks&&t&&n&&!t.originalPath&&!wu(e)){const{resolvedFileName:h,originalPath:k}=Xke(t.path,d.host,d.traceEnabled);k&&(t={...t,path:h,originalPath:k})}return Hke(t,n,s,l,f,d.resultFromCache,g)}function Hke(e,t,n,s,l,f,d){return f?(f.failedLookupLocations=I4(f.failedLookupLocations,n),f.affectingLocations=I4(f.affectingLocations,s),f.resolutionDiagnostics=I4(f.resolutionDiagnostics,l),f):{resolvedModule:e&&{resolvedFileName:e.path,originalPath:e.originalPath===!0?void 0:e.originalPath,extension:e.extension,isExternalLibraryImport:t,packageId:e.packageId,resolvedUsingTsExtension:!!e.resolvedUsingTsExtension},failedLookupLocations:gD(n),affectingLocations:gD(s),resolutionDiagnostics:gD(l),node10Result:d}}function gD(e){return e.length?e:void 0}function I4(e,t){return t!=null&&t.length?e!=null&&e.length?(e.push(...t),e):t:e}function Gke(e,t,n,s){if(!mc(e,t)){s.traceEnabled&&Us(s.host,v.package_json_does_not_have_a_0_field,t);return}const l=e[t];if(typeof l!==n||l===null){s.traceEnabled&&Us(s.host,v.Expected_type_of_0_field_in_package_json_to_be_1_got_2,t,n,l===null?"null":typeof l);return}return l}function xU(e,t,n,s){const l=Gke(e,t,"string",s);if(l===void 0)return;if(!l){s.traceEnabled&&Us(s.host,v.package_json_had_a_falsy_0_field,t);return}const f=Co(_s(n,l));return s.traceEnabled&&Us(s.host,v.package_json_has_0_field_1_that_references_2,t,l,f),f}function hZe(e,t,n){return xU(e,"typings",t,n)||xU(e,"types",t,n)}function gZe(e,t,n){return xU(e,"tsconfig",t,n)}function yZe(e,t,n){return xU(e,"main",t,n)}function vZe(e,t){const n=Gke(e,"typesVersions","object",t);if(n!==void 0)return t.traceEnabled&&Us(t.host,v.package_json_has_a_typesVersions_field_with_version_specific_path_mappings),n}function bZe(e,t){const n=vZe(e,t);if(n===void 0)return;if(t.traceEnabled)for(const d in n)mc(n,d)&&!p6.tryParse(d)&&Us(t.host,v.package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range,d);const s=kU(n);if(!s){t.traceEnabled&&Us(t.host,v.package_json_does_not_have_a_typesVersions_entry_that_matches_version_0,P);return}const{version:l,paths:f}=s;if(typeof f!="object"){t.traceEnabled&&Us(t.host,v.Expected_type_of_0_field_in_package_json_to_be_1_got_2,`typesVersions['${l}']`,"object",typeof f);return}return s}function kU(e){Pne||(Pne=new Rd(I));for(const t in e){if(!mc(e,t))continue;const n=p6.tryParse(t);if(n!==void 0&&n.test(Pne))return{version:t,paths:e[t]}}}function BO(e,t){if(e.typeRoots)return e.typeRoots;let n;if(e.configFilePath?n=$i(e.configFilePath):t.getCurrentDirectory&&(n=t.getCurrentDirectory()),n!==void 0)return TZe(n,t)}function TZe(e,t){if(!t.directoryExists)return[_s(e,Dne)];let n;return Ay(Co(e),s=>{const l=_s(s,Dne);t.directoryExists(l)&&(n||(n=[])).push(l)}),n}function SZe(e,t,n){const s=typeof n.useCaseSensitiveFileNames=="function"?n.useCaseSensitiveFileNames():n.useCaseSensitiveFileNames;return lx(e,t,!s)===0}function Xke(e,t,n){const s=FZe(e,t,n),l=SZe(e,s,t);return{resolvedFileName:l?e:s,originalPath:l?void 0:e}}function mne(e,t,n,s,l,f,d){R.assert(typeof e=="string","Non-string value passed to `ts.resolveTypeReferenceDirective`, likely by a wrapping package working with an outdated `resolveTypeReferenceDirectives` signature. This is probably not a problem in TS itself.");const g=Ev(n,s);l&&(n=l.commandLine.options);const h=t?$i(t):void 0;let k=h?f==null?void 0:f.getFromDirectoryCache(e,d,h,l):void 0;if(!k&&h&&!wu(e)&&(k=f==null?void 0:f.getFromNonRelativeNameCache(e,d,h,l)),k)return g&&(Us(s,v.Resolving_type_reference_directive_0_containing_file_1,e,t),l&&Us(s,v.Using_compiler_options_of_project_reference_redirect_0,l.sourceFile.fileName),Us(s,v.Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1,e,h),ue(k)),k;const S=BO(n,s);g&&(t===void 0?S===void 0?Us(s,v.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set,e):Us(s,v.Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1,e,S):S===void 0?Us(s,v.Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set,e,t):Us(s,v.Resolving_type_reference_directive_0_containing_file_1_root_directory_2,e,t,S),l&&Us(s,v.Using_compiler_options_of_project_reference_redirect_0,l.sourceFile.fileName));const w=[],N=[];let O=hne(n);d===99&&(vl(n)===3||vl(n)===99)&&(O|=32);const L=O&8?O4(n,!!(O&32)):[],U=[],M={compilerOptions:n,host:s,traceEnabled:g,failedLookupLocations:w,affectingLocations:N,packageJsonInfoCache:f,features:O,conditions:L,requestContainingDirectory:h,reportDiagnostic:V=>void U.push(V),isConfigLookup:!1,candidateIsFromPackageJsonField:!1};let W=ie(),X=!0;W||(W=se(),X=!1);let Z;if(W){const{fileName:V,packageId:ve}=W;let fe=V,Ce;n.preserveSymlinks||({resolvedFileName:fe,originalPath:Ce}=Xke(V,s,g)),Z={primary:X,resolvedFileName:fe,originalPath:Ce,packageId:ve,isExternalLibraryImport:Tw(V)}}return k={resolvedTypeReferenceDirective:Z,failedLookupLocations:gD(w),affectingLocations:gD(N),resolutionDiagnostics:gD(U)},h&&(f==null||f.getOrCreateCacheForDirectory(h,l).set(e,d,k),wu(e)||f==null||f.getOrCreateCacheForNonRelativeName(e,d,l).set(h,k)),g&&ue(k),k;function ue(V){var ve;(ve=V.resolvedTypeReferenceDirective)!=null&&ve.resolvedFileName?V.resolvedTypeReferenceDirective.packageId?Us(s,v.Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3,e,V.resolvedTypeReferenceDirective.resolvedFileName,gx(V.resolvedTypeReferenceDirective.packageId),V.resolvedTypeReferenceDirective.primary):Us(s,v.Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2,e,V.resolvedTypeReferenceDirective.resolvedFileName,V.resolvedTypeReferenceDirective.primary):Us(s,v.Type_reference_directive_0_was_not_resolved,e)}function ie(){if(S&&S.length)return g&&Us(s,v.Resolving_with_primary_search_path_0,S.join(", ")),ze(S,V=>{const ve=_s(V,e),fe=$i(ve),Ce=th(fe,s);return!Ce&&g&&Us(s,v.Directory_0_does_not_exist_skipping_all_lookups_in_it,fe),qke(lCe(4,ve,!Ce,M))});g&&Us(s,v.Root_directory_cannot_be_determined_skipping_primary_search_paths)}function se(){const V=t&&$i(t);if(V!==void 0){g&&Us(s,v.Looking_up_in_node_modules_folder_initial_location_0,V);let ve;if(wu(e)){const{path:fe}=iCe(V,e);ve=AU(4,fe,!1,M,!0)}else{const fe=_Ce(4,e,V,M,void 0,void 0);ve=fe&&fe.value}return qke(ve)}else g&&Us(s,v.Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder)}}function hne(e){let t=0;switch(vl(e)){case 3:t=30;break;case 99:t=30;break;case 100:t=30;break}return e.resolvePackageJsonExports?t|=8:e.resolvePackageJsonExports===!1&&(t&=-9),e.resolvePackageJsonImports?t|=2:e.resolvePackageJsonImports===!1&&(t&=-3),t}function O4(e,t){const n=t||vl(e)===100?["import"]:["require"];return e.noDtsResolution||n.push("types"),vl(e)!==100&&n.push("node"),Cr(n,e.customConditions)}function xZe(e,t,n,s,l){const f=PU(l==null?void 0:l.getPackageJsonInfoCache(),s,n);return Ay(t,d=>{if(sf(d)!=="node_modules"){const g=_s(d,"node_modules"),h=_s(g,e);return Sw(h,!1,f)}})}function CU(e,t){if(e.types)return e.types;const n=[];if(t.directoryExists&&t.getDirectories){const s=BO(e,t);if(s){for(const l of s)if(t.directoryExists(l))for(const f of t.getDirectories(l)){const d=Co(f),g=_s(l,d,"package.json");if(!(t.fileExists(g)&&AP(g,t).typings===null)){const k=sf(d);k.charCodeAt(0)!==46&&n.push(k)}}}}return n}function gne(e){var t;if(e===null||typeof e!="object")return""+e;if(pa(e))return`[${(t=e.map(s=>gne(s)))==null?void 0:t.join(",")}]`;let n="{";for(const s in e)mc(e,s)&&(n+=`${s}: ${gne(e[s])}`);return n+"}"}function yne(e,t){return t.map(n=>gne(zj(e,n))).join("|")+(e.pathsBasePath?`|${e.pathsBasePath}`:void 0)}function vne(e){const t=new Map,n=new Map,s=new Map;let l=new Map;return e&&t.set(e,l),{getMapOfCacheRedirects:f,getOrCreateMapOfCacheRedirects:d,update:g,clear:k};function f(w){return w?h(w.commandLine.options,!1):l}function d(w){return w?h(w.commandLine.options,!0):l}function g(w){e!==w&&(e?l=h(w,!0):t.set(w,l),e=w)}function h(w,N){let O=t.get(w);if(O)return O;const L=S(w);if(O=s.get(L),!O){if(e){const U=S(e);U===L?O=l:s.has(U)||s.set(U,l)}N&&(O??(O=new Map)),O&&s.set(L,O)}return O&&t.set(w,O),O}function k(){const w=e&&n.get(e);l.clear(),t.clear(),n.clear(),s.clear(),e&&(w&&n.set(e,w),t.set(e,l))}function S(w){let N=n.get(w);return N||n.set(w,N=yne(w,hU)),N}}function kZe(e,t){let n;return{getPackageJsonInfo:s,setPackageJsonInfo:l,clear:f,entries:d,getInternalMap:g};function s(h){return n==null?void 0:n.get(wc(h,e,t))}function l(h,k){(n||(n=new Map)).set(wc(h,e,t),k)}function f(){n=void 0}function d(){const h=n==null?void 0:n.entries();return h?ao(h):[]}function g(){return n}}function Qke(e,t,n,s){const l=e.getOrCreateMapOfCacheRedirects(t);let f=l.get(n);return f||(f=s(),l.set(n,f)),f}function CZe(e,t,n){const s=vne(n);return{getFromDirectoryCache:g,getOrCreateCacheForDirectory:d,clear:l,update:f};function l(){s.clear()}function f(h){s.update(h)}function d(h,k){const S=wc(h,e,t);return Qke(s,k,S,()=>$x())}function g(h,k,S,w){var N,O;const L=wc(S,e,t);return(O=(N=s.getMapOfCacheRedirects(w))==null?void 0:N.get(L))==null?void 0:O.get(h,k)}}function yD(e,t){return t===void 0?e:`${t}|${e}`}function $x(){const e=new Map,t=new Map,n={get(l,f){return e.get(s(l,f))},set(l,f,d){return e.set(s(l,f),d),n},delete(l,f){return e.delete(s(l,f)),n},has(l,f){return e.has(s(l,f))},forEach(l){return e.forEach((f,d)=>{const[g,h]=t.get(d);return l(f,g,h)})},size(){return e.size}};return n;function s(l,f){const d=yD(l,f);return t.set(d,[l,f]),d}}function bne(e,t,n,s){R.assert(t.length===n.length);const l=$x();for(let f=0;f<t.length;++f){const d=t[f];l.set(s.getName(d),s.getMode(d,e),n[f])}return l}function wZe(e){return e.resolvedModule&&(e.resolvedModule.originalPath||e.resolvedModule.resolvedFileName)}function EZe(e){return e.resolvedTypeReferenceDirective&&(e.resolvedTypeReferenceDirective.originalPath||e.resolvedTypeReferenceDirective.resolvedFileName)}function AZe(e,t,n,s){const l=vne(n);return{getFromNonRelativeNameCache:g,getOrCreateCacheForNonRelativeName:h,clear:f,update:d};function f(){l.clear()}function d(S){l.update(S)}function g(S,w,N,O){var L,U;return R.assert(!wu(S)),(U=(L=l.getMapOfCacheRedirects(O))==null?void 0:L.get(yD(S,w)))==null?void 0:U.get(N)}function h(S,w,N){return R.assert(!wu(S)),Qke(l,N,yD(S,w),k)}function k(){const S=new Map;return{get:w,set:N};function w(L){return S.get(wc(L,e,t))}function N(L,U){const M=wc(L,e,t);if(S.has(M))return;S.set(M,U);const W=s(U),X=W&&O(M,W);let Z=M;for(;Z!==X;){const ue=$i(Z);if(ue===Z||S.has(ue))break;S.set(ue,U),Z=ue}}function O(L,U){const M=wc($i(U),e,t);let W=0;const X=Math.min(L.length,M.length);for(;W<X&&L.charCodeAt(W)===M.charCodeAt(W);)W++;if(W===L.length&&(M.length===W||M[W]===hc))return L;const Z=Ym(L);if(W<Z)return;const ue=L.lastIndexOf(hc,W-1);if(ue!==-1)return L.substr(0,Math.max(ue,Z))}}}function Yke(e,t,n,s,l){const f=CZe(e,t,n),d=AZe(e,t,n,l);return s??(s=kZe(e,t)),{...s,...f,...d,clear:g,update:k,getPackageJsonInfoCache:()=>s,clearAllExceptPackageJsonInfoCache:h};function g(){h(),s.clear()}function h(){f.clear(),d.clear()}function k(S){f.update(S),d.update(S)}}function wU(e,t,n){const s=Yke(e,t,n,void 0,wZe);return s.getOrCreateCacheForModuleName=(l,f,d)=>s.getOrCreateCacheForNonRelativeName(l,f,d),s}function EU(e,t,n,s){return Yke(e,t,n,s,EZe)}function PZe(e,t,n,s){const l=$i(t);return n.getFromDirectoryCache(e,s,l,void 0)}function vD(e,t,n,s,l,f,d){const g=Ev(n,s);f&&(n=f.commandLine.options),g&&(Us(s,v.Resolving_module_0_from_1,e,t),f&&Us(s,v.Using_compiler_options_of_project_reference_redirect_0,f.sourceFile.fileName));const h=$i(t);let k=l==null?void 0:l.getFromDirectoryCache(e,d,h,f);if(k)g&&Us(s,v.Resolution_for_module_0_was_found_in_cache_from_location_1,e,h);else{let S=n.moduleResolution;if(S===void 0){switch(Hu(n)){case 1:S=2;break;case 100:S=3;break;case 199:S=99;break;default:S=1;break}g&&Us(s,v.Module_resolution_kind_is_not_specified_using_0,WI[S])}else g&&Us(s,v.Explicitly_specified_module_resolution_kind_Colon_0,WI[S]);switch(Qm.logStartResolveModule(e),S){case 3:k=OZe(e,t,n,s,l,f,d);break;case 99:k=LZe(e,t,n,s,l,f,d);break;case 2:k=rCe(e,t,n,s,l,f);break;case 1:k=gCe(e,t,n,s,l,f);break;case 100:k=tCe(e,t,n,s,l,f);break;default:return R.fail(`Unexpected moduleResolution: ${S}`)}k&&k.resolvedModule&&Qm.logInfoEvent(`Module "${e}" resolved to "${k.resolvedModule.resolvedFileName}"`),Qm.logStopResolveModule(k&&k.resolvedModule?""+k.resolvedModule.resolvedFileName:"null"),l==null||l.getOrCreateCacheForDirectory(h,f).set(e,d,k),wu(e)||l==null||l.getOrCreateCacheForNonRelativeName(e,d,f).set(h,k)}return g&&(k.resolvedModule?k.resolvedModule.packageId?Us(s,v.Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2,e,k.resolvedModule.resolvedFileName,gx(k.resolvedModule.packageId)):Us(s,v.Module_name_0_was_successfully_resolved_to_1,e,k.resolvedModule.resolvedFileName):Us(s,v.Module_name_0_was_not_resolved,e)),k}function Zke(e,t,n,s,l){const f=DZe(e,t,s,l);return f?f.value:wu(t)?NZe(e,t,n,s,l):IZe(e,t,s,l)}function DZe(e,t,n,s){var l;const{baseUrl:f,paths:d,configFile:g}=s.compilerOptions;if(d&&!wp(t)){s.traceEnabled&&(f&&Us(s.host,v.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,f,t),Us(s.host,v.paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0,t));const h=Cee(s.compilerOptions,s.host),k=g!=null&&g.configFileSpecs?(l=g.configFileSpecs).pathPatterns||(l.pathPatterns=Hj(d)):void 0;return Ane(e,t,h,d,k,n,!1,s)}}function NZe(e,t,n,s,l){if(!l.compilerOptions.rootDirs)return;l.traceEnabled&&Us(l.host,v.rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0,t);const f=Co(_s(n,t));let d,g;for(const h of l.compilerOptions.rootDirs){let k=Co(h);Ul(k,hc)||(k+=hc);const S=Qs(f,k)&&(g===void 0||g.length<k.length);l.traceEnabled&&Us(l.host,v.Checking_if_0_is_the_longest_matching_prefix_for_1_2,k,f,S),S&&(g=k,d=h)}if(g){l.traceEnabled&&Us(l.host,v.Longest_matching_prefix_for_0_is_1,f,g);const h=f.substr(g.length);l.traceEnabled&&Us(l.host,v.Loading_0_from_the_root_dir_1_candidate_location_2,h,g,f);const k=s(e,f,!th(n,l.host),l);if(k)return k;l.traceEnabled&&Us(l.host,v.Trying_other_entries_in_rootDirs);for(const S of l.compilerOptions.rootDirs){if(S===d)continue;const w=_s(Co(S),h);l.traceEnabled&&Us(l.host,v.Loading_0_from_the_root_dir_1_candidate_location_2,h,S,w);const N=$i(w),O=s(e,w,!th(N,l.host),l);if(O)return O}l.traceEnabled&&Us(l.host,v.Module_resolution_using_rootDirs_has_failed)}}function IZe(e,t,n,s){const{baseUrl:l}=s.compilerOptions;if(!l)return;s.traceEnabled&&Us(s.host,v.baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1,l,t);const f=Co(_s(l,t));return s.traceEnabled&&Us(s.host,v.Resolving_module_name_0_relative_to_base_url_1_2,t,l,f),n(e,f,!th($i(f),s.host),s)}function Kke(e,t,n){const{resolvedModule:s,failedLookupLocations:l}=MZe(e,t,n);if(!s)throw new Error(`Could not resolve JS module '${e}' starting at '${t}'. Looked in: ${l==null?void 0:l.join(", ")}`);return s.resolvedFileName}function OZe(e,t,n,s,l,f,d){return eCe(30,e,t,n,s,l,f,d)}function LZe(e,t,n,s,l,f,d){return eCe(30,e,t,n,s,l,f,d)}function eCe(e,t,n,s,l,f,d,g){const h=$i(n),k=g===99?32:0;let S=s.noDtsResolution?3:7;return Ix(s)&&(S|=8),bD(e|k,t,h,s,l,f,S,!1,d)}function MZe(e,t,n){return bD(0,e,t,{moduleResolution:2,allowJs:!0},n,void 0,2,!1,void 0)}function tCe(e,t,n,s,l,f){const d=$i(t);let g=n.noDtsResolution?3:7;return Ix(n)&&(g|=8),bD(hne(n),e,d,n,s,l,g,!1,f)}function rCe(e,t,n,s,l,f,d){let g;return d?g=8:n.noDtsResolution?(g=3,Ix(n)&&(g|=8)):g=Ix(n)?15:7,bD(0,e,$i(t),n,s,l,g,!!d,f)}function nCe(e,t,n){return bD(30,e,$i(t),{moduleResolution:99},n,void 0,8,!0,void 0)}function bD(e,t,n,s,l,f,d,g,h){var k,S,w,N;const O=Ev(s,l),L=[],U=[],M=O4(s,!!(e&32)),W=[],X={compilerOptions:s,host:l,traceEnabled:O,failedLookupLocations:L,affectingLocations:U,packageJsonInfoCache:f,features:e,conditions:M,requestContainingDirectory:n,reportDiagnostic:se=>void W.push(se),isConfigLookup:g,candidateIsFromPackageJsonField:!1};O&&XC(vl(s))&&Us(l,v.Resolving_in_0_mode_with_conditions_1,e&32?"ESM":"CJS",M.map(se=>`'${se}'`).join(", "));let Z;if(vl(s)===2){const se=d&5,V=d&-6;Z=se&&ie(se,X)||V&&ie(V,X)||void 0}else Z=ie(d,X);let ue;if((k=Z==null?void 0:Z.value)!=null&&k.isExternalLibraryImport&&!g&&d&5&&e&8&&!wu(t)&&!kne(5,Z.value.resolved.extension)&&M.indexOf("import")>-1){FT(X,v.Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update);const se={...X,features:X.features&-9,failedLookupLocations:[],affectingLocations:[],reportDiagnostic:La},V=ie(d&5,se);(S=V==null?void 0:V.value)!=null&&S.isExternalLibraryImport&&(ue=V.value.resolved.path)}return Wke(t,(w=Z==null?void 0:Z.value)==null?void 0:w.resolved,(N=Z==null?void 0:Z.value)==null?void 0:N.isExternalLibraryImport,L,U,W,X,ue);function ie(se,V){const fe=Zke(se,t,n,(Ce,_e,K,ge)=>AU(Ce,_e,K,ge,!0),V);if(fe)return sd({resolved:fe,isExternalLibraryImport:Tw(fe.path)});if(wu(t)){const{path:Ce,parts:_e}=iCe(n,t),K=AU(se,Ce,!1,V,!0);return K&&sd({resolved:K,isExternalLibraryImport:xt(_e,"node_modules")})}else{let Ce;return e&2&&Qs(t,"#")&&(Ce=zZe(se,t,n,V,f,h)),!Ce&&e&4&&(Ce=UZe(se,t,n,V,f,h)),Ce||(O&&Us(l,v.Loading_module_0_from_node_modules_folder_target_file_types_Colon_1,t,$ke(se)),Ce=_Ce(se,t,n,V,f,h)),Ce&&{value:Ce.value&&{resolved:Ce.value,isExternalLibraryImport:!0}}}}}function iCe(e,t){const n=_s(e,t),s=t_(n),l=Rc(s);return{path:l==="."||l===".."?Ef(Co(n)):Co(n),parts:s}}function FZe(e,t,n){if(!t.realpath)return e;const s=Co(t.realpath(e));return n&&Us(t,v.Resolving_real_path_for_0_result_1,e,s),R.assert(t.fileExists(s),`${e} linked to nonexistent file ${s}`),s}function AU(e,t,n,s,l){if(s.traceEnabled&&Us(s.host,v.Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1,t,$ke(e)),!nv(t)){if(!n){const d=$i(t);th(d,s.host)||(s.traceEnabled&&Us(s.host,v.Directory_0_does_not_exist_skipping_all_lookups_in_it,d),n=!0)}const f=TD(e,t,n,s);if(f){const d=l?Tne(f.path):void 0,g=d?Sw(d,!1,s):void 0;return N4(g,f)}}if(n||th(t,s.host)||(s.traceEnabled&&Us(s.host,v.Directory_0_does_not_exist_skipping_all_lookups_in_it,t),n=!0),!(s.features&32))return lCe(e,t,n,s,l)}function Tw(e){return nf(e,a1)}function Tne(e){const t=Co(e),n=t.lastIndexOf(a1);if(n===-1)return;const s=n+a1.length;let l=sCe(t,s);return t.charCodeAt(s)===64&&(l=sCe(t,l)),t.slice(0,l)}function sCe(e,t){const n=e.indexOf(hc,t+1);return n===-1?t:n}function Sne(e,t,n,s){return SU(TD(e,t,n,s))}function TD(e,t,n,s){const l=aCe(e,t,n,s);if(l)return l;if(!(s.features&32)){const f=oCe(t,e,"",n,s);if(f)return f}}function aCe(e,t,n,s){if(sf(t).indexOf(".")===-1)return;let f=B_(t);f===t&&(f=t.substring(0,t.lastIndexOf(".")));const d=t.substring(f.length);return s.traceEnabled&&Us(s.host,v.File_name_0_has_a_1_extension_stripping_it,t,d),oCe(f,e,d,n,s)}function xne(e,t,n,s){return e&1&&cu(t,iJ)||e&4&&cu(t,nJ)?jO(t,n,s)!==void 0?{path:t,ext:Ij(t),resolvedUsingTsExtension:void 0}:void 0:s.isConfigLookup&&e===8&&Gl(t,".json")?jO(t,n,s)!==void 0?{path:t,ext:".json",resolvedUsingTsExtension:void 0}:void 0:aCe(e,t,n,s)}function oCe(e,t,n,s,l){if(!s){const d=$i(e);d&&(s=!th(d,l.host))}switch(n){case".mjs":case".mts":case".d.mts":return t&1&&f(".mts",n===".mts"||n===".d.mts")||t&4&&f(".d.mts",n===".mts"||n===".d.mts")||t&2&&f(".mjs")||void 0;case".cjs":case".cts":case".d.cts":return t&1&&f(".cts",n===".cts"||n===".d.cts")||t&4&&f(".d.cts",n===".cts"||n===".d.cts")||t&2&&f(".cjs")||void 0;case".json":return t&4&&f(".d.json.ts")||t&8&&f(".json")||void 0;case".tsx":case".jsx":return t&1&&(f(".tsx",n===".tsx")||f(".ts",n===".tsx"))||t&4&&f(".d.ts",n===".tsx")||t&2&&(f(".jsx")||f(".js"))||void 0;case".ts":case".d.ts":case".js":case"":return t&1&&(f(".ts",n===".ts"||n===".d.ts")||f(".tsx",n===".ts"||n===".d.ts"))||t&4&&f(".d.ts",n===".ts"||n===".d.ts")||t&2&&(f(".js")||f(".jsx"))||l.isConfigLookup&&f(".json")||void 0;default:return t&4&&!s_(e+n)&&f(`.d${n}.ts`)||void 0}function f(d,g){const h=jO(e+d,s,l);return h===void 0?void 0:{path:h,ext:d,resolvedUsingTsExtension:!l.candidateIsFromPackageJsonField&&g}}}function jO(e,t,n){var s,l;if(!((s=n.compilerOptions.moduleSuffixes)!=null&&s.length))return cCe(e,t,n);const f=(l=Jg(e))!=null?l:"",d=f?P5(e,f):e;return Q(n.compilerOptions.moduleSuffixes,g=>cCe(d+g+f,t,n))}function cCe(e,t,n){if(!t){if(n.host.fileExists(e))return n.traceEnabled&&Us(n.host,v.File_0_exists_use_it_as_a_name_resolution_result,e),e;n.traceEnabled&&Us(n.host,v.File_0_does_not_exist,e)}n.failedLookupLocations.push(e)}function lCe(e,t,n,s,l=!0){const f=l?Sw(t,n,s):void 0,d=f&&f.contents.packageJsonContent,g=f&&JO(f,s);return N4(f,NU(e,t,n,s,d,g))}function RZe(e,t,n,s,l){if(!l&&e.contents.resolvedEntrypoints!==void 0)return e.contents.resolvedEntrypoints;let f;const d=5|(l?2:0),g=hne(t),h=PU(s==null?void 0:s.getPackageJsonInfoCache(),n,t);h.conditions=O4(t),h.requestContainingDirectory=e.packageDirectory;const k=NU(d,e.packageDirectory,!1,h,e.contents.packageJsonContent,JO(e,h));if(f=$r(f,k==null?void 0:k.path),g&8&&e.contents.packageJsonContent.exports){const S=Ss([O4(t,!0),O4(t,!1)],Oc);for(const w of S){const N={...h,failedLookupLocations:[],conditions:w},O=BZe(e,e.contents.packageJsonContent.exports,N,d);if(O)for(const L of O)f=$f(f,L.path)}}return e.contents.resolvedEntrypoints=f||!1}function BZe(e,t,n,s){let l;if(pa(t))for(const d of t)f(d);else if(typeof t=="object"&&t!==null&&IU(t))for(const d in t)f(t[d]);else f(t);return l;function f(d){var g,h;if(typeof d=="string"&&Qs(d,"./")&&d.indexOf("*")===-1){const k=t_(d).slice(2);if(k.indexOf("..")>=0||k.indexOf(".")>=0||k.indexOf("node_modules")>=0)return!1;const S=_s(e.packageDirectory,d),w=oa(S,(h=(g=n.host).getCurrentDirectory)==null?void 0:h.call(g)),N=xne(s,w,!1,n);if(N)return l=$f(l,N,(O,L)=>O.path===L.path),!0}else if(Array.isArray(d)){for(const k of d)if(f(k))return!0}else if(typeof d=="object"&&d!==null)return Q(wy(d),k=>{if(k==="default"||xt(n.conditions,k)||UO(n.conditions,k))return f(d[k]),!0})}}function PU(e,t,n){return{host:t,compilerOptions:n,traceEnabled:Ev(n,t),failedLookupLocations:QR,affectingLocations:QR,packageJsonInfoCache:e,features:0,conditions:pt,requestContainingDirectory:void 0,reportDiagnostic:La,isConfigLookup:!1,candidateIsFromPackageJsonField:!1}}function DU(e,t){const n=t_(e);for(n.pop();n.length>0;){const s=Sw(cT(n),!1,t);if(s)return s;n.pop()}}function JO(e,t){return e.contents.versionPaths===void 0&&(e.contents.versionPaths=bZe(e.contents.packageJsonContent,t)||!1),e.contents.versionPaths||void 0}function Sw(e,t,n){var s,l,f;const{host:d,traceEnabled:g}=n,h=_s(e,"package.json");if(t){n.failedLookupLocations.push(h);return}const k=(s=n.packageJsonInfoCache)==null?void 0:s.getPackageJsonInfo(h);if(k!==void 0){if(typeof k!="boolean")return g&&Us(d,v.File_0_exists_according_to_earlier_cached_lookups,h),n.affectingLocations.push(h),k.packageDirectory===e?k:{packageDirectory:e,contents:k.contents};k&&g&&Us(d,v.File_0_does_not_exist_according_to_earlier_cached_lookups,h),n.failedLookupLocations.push(h);return}const S=th(e,d);if(S&&d.fileExists(h)){const w=AP(h,d);g&&Us(d,v.Found_package_json_at_0,h);const N={packageDirectory:e,contents:{packageJsonContent:w,versionPaths:void 0,resolvedEntrypoints:void 0}};return(l=n.packageJsonInfoCache)==null||l.setPackageJsonInfo(h,N),n.affectingLocations.push(h),N}else S&&g&&Us(d,v.File_0_does_not_exist,h),(f=n.packageJsonInfoCache)==null||f.setPackageJsonInfo(h,S),n.failedLookupLocations.push(h)}function NU(e,t,n,s,l,f){let d;l&&(s.isConfigLookup?d=gZe(l,t,s):d=e&4&&hZe(l,t,s)||e&7&&yZe(l,t,s)||void 0);const g=(N,O,L,U)=>{const M=jO(O,L,U);if(M){const ie=jZe(N,M);if(ie)return SU(ie);U.traceEnabled&&Us(U.host,v.File_0_has_an_unsupported_extension_so_skipping_it,M)}const W=N===4?5:N,X=U.features,Z=U.candidateIsFromPackageJsonField;U.candidateIsFromPackageJsonField=!0,(l==null?void 0:l.type)!=="module"&&(U.features&=-33);const ue=AU(W,O,L,U,!1);return U.features=X,U.candidateIsFromPackageJsonField=Z,ue},h=d?!th($i(d),s.host):void 0,k=n||!th(t,s.host),S=_s(t,s.isConfigLookup?"tsconfig":"index");if(f&&(!d||sv(t,d))){const N=Uh(t,d||S,!1);s.traceEnabled&&Us(s.host,v.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,f.version,I,N);const O=Ane(e,N,t,f.paths,void 0,g,h||k,s);if(O)return Vke(O.value)}const w=d&&Vke(g(e,d,h,s));if(w)return w;if(!(s.features&32))return TD(e,S,k,s)}function jZe(e,t,n){const s=Jg(t);return s!==void 0&&kne(e,s)?{path:t,ext:s,resolvedUsingTsExtension:n}:void 0}function kne(e,t){return e&2&&(t===".js"||t===".jsx"||t===".mjs"||t===".cjs")||e&1&&(t===".ts"||t===".tsx"||t===".mts"||t===".cts")||e&4&&(t===".d.ts"||t===".d.mts"||t===".d.cts")||e&8&&t===".json"||!1}function Cne(e){let t=e.indexOf(hc);return e[0]==="@"&&(t=e.indexOf(hc,t+1)),t===-1?{packageName:e,rest:""}:{packageName:e.slice(0,t),rest:e.slice(t+1)}}function IU(e){return ut(wy(e),t=>Qs(t,"."))}function JZe(e){return!Oe(wy(e),t=>Qs(t,"."))}function UZe(e,t,n,s,l,f){var d,g;const h=oa(_s(n,"dummy"),(g=(d=s.host).getCurrentDirectory)==null?void 0:g.call(d)),k=DU(h,s);if(!k||!k.contents.packageJsonContent.exports||typeof k.contents.packageJsonContent.name!="string")return;const S=t_(t),w=t_(k.contents.packageJsonContent.name);if(!ut(w,(M,W)=>S[W]===M))return;const N=S.slice(w.length),O=H(N)?`.${hc}${N.join(hc)}`:".",L=e&5,U=e&-6;return wne(k,L,O,s,l,f)||wne(k,U,O,s,l,f)}function wne(e,t,n,s,l,f){if(e.contents.packageJsonContent.exports){if(n==="."){let d;if(typeof e.contents.packageJsonContent.exports=="string"||Array.isArray(e.contents.packageJsonContent.exports)||typeof e.contents.packageJsonContent.exports=="object"&&JZe(e.contents.packageJsonContent.exports)?d=e.contents.packageJsonContent.exports:mc(e.contents.packageJsonContent.exports,".")&&(d=e.contents.packageJsonContent.exports["."]),d)return fCe(t,s,l,f,n,e,!1)(d,"",!1,".")}else if(IU(e.contents.packageJsonContent.exports)){if(typeof e.contents.packageJsonContent.exports!="object")return s.traceEnabled&&Us(s.host,v.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,n,e.packageDirectory),sd(void 0);const d=uCe(t,s,l,f,n,e.contents.packageJsonContent.exports,e,!1);if(d)return d}return s.traceEnabled&&Us(s.host,v.Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1,n,e.packageDirectory),sd(void 0)}}function zZe(e,t,n,s,l,f){var d,g;if(t==="#"||Qs(t,"#/"))return s.traceEnabled&&Us(s.host,v.Invalid_import_specifier_0_has_no_possible_resolutions,t),sd(void 0);const h=oa(_s(n,"dummy"),(g=(d=s.host).getCurrentDirectory)==null?void 0:g.call(d)),k=DU(h,s);if(!k)return s.traceEnabled&&Us(s.host,v.Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve,h),sd(void 0);if(!k.contents.packageJsonContent.imports)return s.traceEnabled&&Us(s.host,v.package_json_scope_0_has_no_imports_defined,k.packageDirectory),sd(void 0);const S=uCe(e,s,l,f,t,k.contents.packageJsonContent.imports,k,!0);return S||(s.traceEnabled&&Us(s.host,v.Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1,t,k.packageDirectory),sd(void 0))}function Ene(e,t){const n=e.indexOf("*"),s=t.indexOf("*"),l=n===-1?e.length:n+1,f=s===-1?t.length:s+1;return l>f?-1:f>l||n===-1?1:s===-1||e.length>t.length?-1:t.length>e.length?1:0}function uCe(e,t,n,s,l,f,d,g){const h=fCe(e,t,n,s,l,d,g);if(!Ul(l,hc)&&l.indexOf("*")===-1&&mc(f,l)){const w=f[l];return h(w,"",!1,l)}const k=sx(hr(wy(f),w=>w.indexOf("*")!==-1||Ul(w,"/")),Ene);for(const w of k)if(t.features&16&&S(w,l)){const N=f[w],O=w.indexOf("*"),L=l.substring(w.substring(0,O).length,l.length-(w.length-1-O));return h(N,L,!0,w)}else if(Ul(w,"*")&&Qs(l,w.substring(0,w.length-1))){const N=f[w],O=l.substring(w.length-1);return h(N,O,!0,w)}else if(Qs(l,w)){const N=f[w],O=l.substring(w.length);return h(N,O,!1,w)}function S(w,N){if(Ul(w,"*"))return!1;const O=w.indexOf("*");return O===-1?!1:Qs(N,w.substring(0,O))&&Ul(N,w.substring(O+1))}}function fCe(e,t,n,s,l,f,d){return g;function g(h,k,S,w){if(typeof h=="string"){if(!S&&k.length>0&&!Ul(h,"/"))return t.traceEnabled&&Us(t.host,v.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,f.packageDirectory,l),sd(void 0);if(!Qs(h,"./")){if(d&&!Qs(h,"../")&&!Qs(h,"/")&&!Jh(h)){const se=S?h.replace(/\*/g,k):h+k;FT(t,v.Using_0_subpath_1_with_target_2,"imports",w,se),FT(t,v.Resolving_module_0_from_1,se,f.packageDirectory+"/");const V=bD(t.features,se,f.packageDirectory+"/",t.compilerOptions,t.host,n,e,!1,s);return sd(V.resolvedModule?{path:V.resolvedModule.resolvedFileName,extension:V.resolvedModule.extension,packageId:V.resolvedModule.packageId,originalPath:V.resolvedModule.originalPath,resolvedUsingTsExtension:V.resolvedModule.resolvedUsingTsExtension}:void 0)}return t.traceEnabled&&Us(t.host,v.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,f.packageDirectory,l),sd(void 0)}const W=(wp(h)?t_(h).slice(1):t_(h)).slice(1);if(W.indexOf("..")>=0||W.indexOf(".")>=0||W.indexOf("node_modules")>=0)return t.traceEnabled&&Us(t.host,v.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,f.packageDirectory,l),sd(void 0);const X=_s(f.packageDirectory,h),Z=t_(k);if(Z.indexOf("..")>=0||Z.indexOf(".")>=0||Z.indexOf("node_modules")>=0)return t.traceEnabled&&Us(t.host,v.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,f.packageDirectory,l),sd(void 0);t.traceEnabled&&Us(t.host,v.Using_0_subpath_1_with_target_2,d?"imports":"exports",w,S?h.replace(/\*/g,k):h+k);const ue=N(S?X.replace(/\*/g,k):X+k),ie=U(ue,k,_s(f.packageDirectory,"package.json"),d);return ie||sd(N4(f,xne(e,ue,!1,t)))}else if(typeof h=="object"&&h!==null)if(Array.isArray(h)){if(!H(h))return t.traceEnabled&&Us(t.host,v.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,f.packageDirectory,l),sd(void 0);for(const M of h){const W=g(M,k,S,w);if(W)return W}}else{FT(t,v.Entering_conditional_exports);for(const M of wy(h))if(M==="default"||t.conditions.indexOf(M)>=0||UO(t.conditions,M)){FT(t,v.Matched_0_condition_1,d?"imports":"exports",M);const W=h[M],X=g(W,k,S,w);if(X)return FT(t,v.Resolved_under_condition_0,M),FT(t,v.Exiting_conditional_exports),X;FT(t,v.Failed_to_resolve_under_condition_0,M)}else FT(t,v.Saw_non_matching_condition_0,M);FT(t,v.Exiting_conditional_exports);return}else if(h===null)return t.traceEnabled&&Us(t.host,v.package_json_scope_0_explicitly_maps_specifier_1_to_null,f.packageDirectory,l),sd(void 0);return t.traceEnabled&&Us(t.host,v.package_json_scope_0_has_invalid_type_for_target_of_specifier_1,f.packageDirectory,l),sd(void 0);function N(M){var W,X;return M===void 0?M:oa(M,(X=(W=t.host).getCurrentDirectory)==null?void 0:X.call(W))}function O(M,W){return Ef(_s(M,W))}function L(){return t.host.useCaseSensitiveFileNames?typeof t.host.useCaseSensitiveFileNames=="boolean"?t.host.useCaseSensitiveFileNames:t.host.useCaseSensitiveFileNames():!0}function U(M,W,X,Z){var ue,ie,se,V;if(!t.isConfigLookup&&(t.compilerOptions.declarationDir||t.compilerOptions.outDir)&&M.indexOf("/node_modules/")===-1&&(!t.compilerOptions.configFile||sv(f.packageDirectory,N(t.compilerOptions.configFile.fileName),!L()))){const fe=Ub({useCaseSensitiveFileNames:L}),Ce=[];if(t.compilerOptions.rootDir||t.compilerOptions.composite&&t.compilerOptions.configFilePath){const _e=N(KO(t.compilerOptions,()=>[],((ie=(ue=t.host).getCurrentDirectory)==null?void 0:ie.call(ue))||"",fe));Ce.push(_e)}else if(t.requestContainingDirectory){const _e=N(_s(t.requestContainingDirectory,"index.ts")),K=N(KO(t.compilerOptions,()=>[_e,N(X)],((V=(se=t.host).getCurrentDirectory)==null?void 0:V.call(se))||"",fe));Ce.push(K);let ge=Ef(K);for(;ge&&ge.length>1;){const Se=t_(ge);Se.pop();const we=cT(Se);Ce.unshift(we),ge=Ef(we)}}Ce.length>1&&t.reportDiagnostic(gc(Z?v.The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:v.The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate,W===""?".":W,X));for(const _e of Ce){const K=ve(_e);for(const ge of K)if(sv(ge,M,!L())){const Se=M.slice(ge.length+1),we=_s(_e,Se),Pe=[".mjs",".cjs",".js",".json",".d.mts",".d.cts",".d.ts"];for(const le of Pe)if(Gl(we,le)){const ot=$2e(we);for(const Qe of ot){if(!kne(e,Qe))continue;const Ge=FZ(we,Qe,le,!L());if(t.host.fileExists(Ge))return sd(N4(f,xne(e,Ge,!1,t)))}}}}}return;function ve(fe){var Ce,_e;const K=t.compilerOptions.configFile?((_e=(Ce=t.host).getCurrentDirectory)==null?void 0:_e.call(Ce))||"":fe,ge=[];return t.compilerOptions.declarationDir&&ge.push(N(O(K,t.compilerOptions.declarationDir))),t.compilerOptions.outDir&&t.compilerOptions.outDir!==t.compilerOptions.declarationDir&&ge.push(N(O(K,t.compilerOptions.outDir))),ge}}}}function UO(e,t){if(e.indexOf("types")===-1||!Qs(t,"types@"))return!1;const n=p6.tryParse(t.substring(6));return n?n.test(I):!1}function _Ce(e,t,n,s,l,f){return pCe(e,t,n,s,!1,l,f)}function VZe(e,t,n){return pCe(4,e,t,n,!0,void 0,void 0)}function pCe(e,t,n,s,l,f,d){const g=s.features===0?void 0:s.features&32?99:1,h=e&5,k=e&-6;if(h){const w=S(h);if(w)return w}if(k&&!l)return S(k);function S(w){return Ay(ju(n),N=>{if(sf(N)!=="node_modules"){const O=hCe(f,t,g,N,d,s);return O||sd(dCe(w,t,N,s,l,f,d))}})}}function dCe(e,t,n,s,l,f,d){const g=_s(n,"node_modules"),h=th(g,s.host);if(!h&&s.traceEnabled&&Us(s.host,v.Directory_0_does_not_exist_skipping_all_lookups_in_it,g),!l){const k=mCe(e,t,g,h,s,f,d);if(k)return k}if(e&4){const k=_s(g,"@types");let S=h;return h&&!th(k,s.host)&&(s.traceEnabled&&Us(s.host,v.Directory_0_does_not_exist_skipping_all_lookups_in_it,k),S=!1),mCe(4,$Ze(t,s),k,S,s,f,d)}}function mCe(e,t,n,s,l,f,d){var g,h,k;const S=Co(_s(n,t)),{packageName:w,rest:N}=Cne(t),O=_s(n,w);let L,U=Sw(S,!s,l);if(N!==""&&U&&(!(l.features&8)||!mc((h=(g=L=Sw(O,!s,l))==null?void 0:g.contents.packageJsonContent)!=null?h:pt,"exports"))){const X=TD(e,S,!s,l);if(X)return SU(X);const Z=NU(e,S,!s,l,U.contents.packageJsonContent,JO(U,l));return N4(U,Z)}const M=(X,Z,ue,ie)=>{let se=TD(X,Z,ue,ie)||NU(X,Z,ue,ie,U&&U.contents.packageJsonContent,U&&JO(U,ie));return!se&&U&&(U.contents.packageJsonContent.exports===void 0||U.contents.packageJsonContent.exports===null)&&ie.features&32&&(se=TD(X,_s(Z,"index.js"),ue,ie)),N4(U,se)};if(N!==""&&(U=L??Sw(O,!s,l)),U&&U.contents.packageJsonContent.exports&&l.features&8)return(k=wne(U,e,_s(".",N),l,f,d))==null?void 0:k.value;const W=N!==""&&U?JO(U,l):void 0;if(W){l.traceEnabled&&Us(l.host,v.package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2,W.version,I,N);const X=s&&th(O,l.host),Z=Ane(e,N,O,W.paths,void 0,M,!X,l);if(Z)return Z.value}return M(e,S,!s,l)}function Ane(e,t,n,s,l,f,d,g){l||(l=Hj(s));const h=ate(l,t);if(h){const k=ha(h)?void 0:U1e(h,t),S=ha(h)?h:J1e(h);return g.traceEnabled&&Us(g.host,v.Module_name_0_matched_pattern_1,t,S),{value:Q(s[S],N=>{const O=k?N.replace("*",k):N,L=Co(_s(n,O));g.traceEnabled&&Us(g.host,v.Trying_substitution_0_candidate_module_location_Colon_1,N,O);const U=Jg(N);if(U!==void 0){const M=jO(L,d,g);if(M!==void 0)return SU({path:M,ext:U,resolvedUsingTsExtension:void 0})}return f(e,L,d||!th($i(L),g.host),g)})}}}function $Ze(e,t){const n=SD(e);return t.traceEnabled&&n!==e&&Us(t.host,v.Scoped_package_detected_looking_in_0,n),n}function OU(e){return`@types/${SD(e)}`}function SD(e){if(Qs(e,"@")){const t=e.replace(hc,MU);if(t!==e)return t.slice(1)}return e}function zO(e){const t=LA(e,"@types/");return t!==e?LU(t):e}function LU(e){return nf(e,MU)?"@"+e.replace(MU,hc):e}function hCe(e,t,n,s,l,f){const d=e&&e.getFromNonRelativeNameCache(t,n,s,l);if(d)return f.traceEnabled&&Us(f.host,v.Resolution_for_module_0_was_found_in_cache_from_location_1,t,s),f.resultFromCache=d,{value:d.resolvedModule&&{path:d.resolvedModule.resolvedFileName,originalPath:d.resolvedModule.originalPath||!0,extension:d.resolvedModule.extension,packageId:d.resolvedModule.packageId,resolvedUsingTsExtension:d.resolvedModule.resolvedUsingTsExtension}}}function gCe(e,t,n,s,l,f){const d=Ev(n,s),g=[],h=[],k=$i(t),S=[],w={compilerOptions:n,host:s,traceEnabled:d,failedLookupLocations:g,affectingLocations:h,packageJsonInfoCache:l,features:0,conditions:[],requestContainingDirectory:k,reportDiagnostic:L=>void S.push(L),isConfigLookup:!1,candidateIsFromPackageJsonField:!1},N=O(5)||O(2|(n.resolveJsonModule?8:0));return Wke(e,N&&N.value,(N==null?void 0:N.value)&&Tw(N.value.path),g,h,S,w);function O(L){const U=Zke(L,e,k,Sne,w);if(U)return{value:U};if(wu(e)){const M=Co(_s(k,e));return sd(Sne(L,M,!1,w))}else{const M=Ay(k,W=>{const X=hCe(l,e,void 0,W,f,w);if(X)return X;const Z=Co(_s(W,e));return sd(Sne(L,Z,!1,w))});if(M)return M;if(L&5)return VZe(e,k,w)}}}function xD(e,t){return!!e.allowImportingTsExtensions||t&&s_(t)}function yCe(e,t,n,s,l,f){const d=Ev(n,s);d&&Us(s,v.Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2,t,e,l);const g=[],h=[],k=[],S={compilerOptions:n,host:s,traceEnabled:d,failedLookupLocations:g,affectingLocations:h,packageJsonInfoCache:f,features:0,conditions:[],requestContainingDirectory:void 0,reportDiagnostic:N=>void k.push(N),isConfigLookup:!1,candidateIsFromPackageJsonField:!1},w=dCe(4,e,l,S,!1,void 0,void 0);return Hke(w,!0,g,h,k,S.resultFromCache)}function sd(e){return e!==void 0?{value:e}:void 0}function FT(e,t,...n){e.traceEnabled&&Us(e.host,t,...n)}var Pne,Dne,Nne,a1,MU,qZe=p({"src/compiler/moduleNameResolver.ts"(){aa(),Dne=_s("node_modules","@types"),Nne=(e=>(e[e.None=0]="None",e[e.Imports=2]="Imports",e[e.SelfName=4]="SelfName",e[e.Exports=8]="Exports",e[e.ExportsPatternTrailers=16]="ExportsPatternTrailers",e[e.AllFeatures=30]="AllFeatures",e[e.Node16Default=30]="Node16Default",e[e.NodeNextDefault=30]="NodeNextDefault",e[e.BundlerDefault=30]="BundlerDefault",e[e.EsmMode=32]="EsmMode",e))(Nne||{}),a1="/node_modules/",MU="__"}});function $y(e,t){return e.body&&!e.body.parent&&(go(e.body,e),bv(e.body,!1)),e.body?Ine(e.body,t):1}function Ine(e,t=new Map){const n=Wo(e);if(t.has(n))return t.get(n)||0;t.set(n,void 0);const s=WZe(e,t);return t.set(n,s),s}function WZe(e,t){switch(e.kind){case 261:case 262:return 0;case 263:if(yT(e))return 2;break;case 269:case 268:if(!Ti(e,1))return 0;break;case 275:const n=e;if(!n.moduleSpecifier&&n.exportClause&&n.exportClause.kind===276){let s=0;for(const l of n.exportClause.elements){const f=HZe(l,t);if(f>s&&(s=f),s===1)return s}return s}break;case 265:{let s=0;return ca(e,l=>{const f=Ine(l,t);switch(f){case 0:return;case 2:s=2;return;case 1:return s=1,!0;default:R.assertNever(f)}}),s}case 264:return $y(e,t);case 79:if(e.flags&2048)return 0}return 1}function HZe(e,t){const n=e.propertyName||e.name;let s=e.parent;for(;s;){if(Fa(s)||ah(s)||bs(s)){const l=s.statements;let f;for(const d of l)if(p7(d,n)){d.parent||(go(d,s),bv(d,!1));const g=Ine(d,t);if((f===void 0||g>f)&&(f=g),f===1)return f}if(f!==void 0)return f}s=s.parent}return 1}function qx(e){return R.attachFlowNodeDebugInfo(e),e}function vCe(e,t){Uc("beforeBind"),Qm.logStartBindFile(""+e.fileName),SCe(e,t),Qm.logStopBindFile(),Uc("afterBind"),Qp("Bind","beforeBind","afterBind")}function GZe(){var e,t,n,s,l,f,d,g,h,k,S,w,N,O,L,U,M,W,X,Z,ue,ie,se=!1,V=0,ve,fe,Ce={flags:1},_e={flags:1},K=nr();return Se;function ge(G,lt,ir,gn,na){return r_(bn(G)||e,G,lt,ir,gn,na)}function Se(G,lt){var ir,gn;e=G,t=lt,n=Io(t),ie=we(e,lt),fe=new Set,V=0,ve=Pu.getSymbolConstructor(),R.attachFlowNodeDebugInfo(Ce),R.attachFlowNodeDebugInfo(_e),e.locals||((ir=Hi)==null||ir.push(Hi.Phase.Bind,"bindSourceFile",{path:e.path},!0),Ft(e),(gn=Hi)==null||gn.pop(),e.symbolCount=V,e.classifiableNames=fe,xl()),e=void 0,t=void 0,n=void 0,s=void 0,l=void 0,f=void 0,d=void 0,g=void 0,h=void 0,k=!1,S=void 0,w=void 0,N=void 0,O=void 0,L=void 0,U=void 0,M=void 0,X=void 0,Z=!1,se=!1,ue=0}function we(G,lt){return bd(lt,"alwaysStrict")&&!G.isDeclarationFile?!0:!!G.externalModuleIndicator}function Pe(G,lt){return V++,new ve(G,lt)}function le(G,lt,ir){G.flags|=ir,lt.symbol=G,G.declarations=$f(G.declarations,lt),ir&1955&&!G.exports&&(G.exports=Ma()),ir&6240&&!G.members&&(G.members=Ma()),G.constEnumOnlyModule&&G.flags&304&&(G.constEnumOnlyModule=!1),ir&111551&&W7(G,lt)}function ot(G){if(G.kind===274)return G.isExportEquals?"export=":"default";const lt=ra(G);if(lt){if(Af(G)){const ir=Vd(lt);return Km(G)?"__global":`"${ir}"`}if(lt.kind===164){const ir=lt.expression;if(Zp(ir))return Vc(ir.text);if(kj(ir))return qa(ir.operator)+ir.operand.text;R.fail("Only computed properties with literal names have declaration names")}if(as(lt)){const ir=uu(G);if(!ir)return;const gn=ir.symbol;return s5(gn,lt.escapedText)}return zd(lt)?yP(lt):void 0}switch(G.kind){case 173:return"__constructor";case 181:case 176:case 326:return"__call";case 182:case 177:return"__new";case 178:return"__index";case 275:return"__export";case 308:return"export=";case 223:if(ll(G)===2)return"export=";R.fail("Unknown binary declaration kind");break;case 320:return J6(G)?"__new":"__call";case 166:return R.assert(G.parent.kind===320,"Impossible parameter parent kind",()=>`parent is: ${R.formatSyntaxKind(G.parent.kind)}, expected JSDocFunctionType`),"arg"+G.parent.parameters.indexOf(G)}}function Qe(G){return of(G)?uc(G.name):Ds(R.checkDefined(ot(G)))}function Ge(G,lt,ir,gn,na,ta,Le){R.assert(Le||!hv(ir));const Xe=Ti(ir,1024)||i_(ir)&&ir.name.escapedText==="default",Jt=Le?"__computed":Xe&&lt?"default":ot(ir);let Gt;if(Jt===void 0)Gt=Pe(0,"__missing");else if(Gt=G.get(Jt),gn&2885600&&fe.add(Jt),!Gt)G.set(Jt,Gt=Pe(0,Jt)),ta&&(Gt.isReplaceableByMethod=!0);else{if(ta&&!Gt.isReplaceableByMethod)return Gt;if(Gt.flags&na){if(Gt.isReplaceableByMethod)G.set(Jt,Gt=Pe(0,Jt));else if(!(gn&3&&Gt.flags&67108864)){of(ir)&&go(ir.name,ir);let Lr=Gt.flags&2?v.Cannot_redeclare_block_scoped_variable_0:v.Duplicate_identifier_0,Jr=!0;(Gt.flags&384||gn&384)&&(Lr=v.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations,Jr=!1);let Vr=!1;H(Gt.declarations)&&(Xe||Gt.declarations&&Gt.declarations.length&&ir.kind===274&&!ir.isExportEquals)&&(Lr=v.A_module_cannot_have_multiple_default_exports,Jr=!1,Vr=!0);const fn=[];sh(ir)&&cl(ir.type)&&Ti(ir,1)&&Gt.flags&2887656&&fn.push(ge(ir,v.Did_you_mean_0,`export type { ${Ds(ir.name.escapedText)} }`));const hi=ra(ir)||ir;Q(Gt.declarations,(xn,Nr)=>{const On=ra(xn)||xn,Ys=ge(On,Lr,Jr?Qe(xn):void 0);e.bindDiagnostics.push(Vr?Eo(Ys,ge(hi,Nr===0?v.Another_export_default_is_here:v.and_here)):Ys),Vr&&fn.push(ge(On,v.The_first_export_default_is_here))});const Ts=ge(hi,Lr,Jr?Qe(ir):void 0);e.bindDiagnostics.push(Eo(Ts,...fn)),Gt=Pe(0,Jt)}}}return le(Gt,ir,gn),Gt.parent?R.assert(Gt.parent===lt,"Existing symbol parent should match new one"):Gt.parent=lt,Gt}function tt(G,lt,ir){const gn=!!(H0(G)&1)||Je(G);if(lt&2097152)return G.kind===278||G.kind===268&&gn?Ge(l.symbol.exports,l.symbol,G,lt,ir):(R.assertNode(l,$h),Ge(l.locals,void 0,G,lt,ir));if(gd(G)&&R.assert(Mn(G)),!Af(G)&&(gn||l.flags&64)){if(!$h(l)||!l.locals||Ti(G,1024)&&!ot(G))return Ge(l.symbol.exports,l.symbol,G,lt,ir);const na=lt&111551?1048576:0,ta=Ge(l.locals,void 0,G,na,ir);return ta.exportSymbol=Ge(l.symbol.exports,l.symbol,G,lt,ir),G.localSymbol=ta,ta}else return R.assertNode(l,$h),Ge(l.locals,void 0,G,lt,ir)}function Je(G){if(G.parent&&Pl(G)&&(G=G.parent),!gd(G))return!1;if(!cO(G)&&G.fullName)return!0;const lt=ra(G);return lt?!!(g5(lt.parent)&&wi(lt.parent)||lf(lt.parent)&&H0(lt.parent)&1):!1}function qe(G,lt){const ir=l,gn=f,na=d;if(lt&1?(G.kind!==216&&(f=l),l=d=G,lt&32&&(l.locals=Ma(),Xa(l))):lt&2&&(d=G,lt&32&&(d.locals=void 0)),lt&4){const ta=S,Le=w,Xe=N,Jt=O,Gt=M,Lr=X,Jr=Z,Vr=lt&16&&!Ti(G,512)&&!G.asteriskToken&&!!Sx(G)||G.kind===172;Vr||(S=qx({flags:2}),lt&144&&(S.node=G)),O=Vr||G.kind===173||Mn(G)&&(G.kind===259||G.kind===215)?rn():void 0,M=void 0,w=void 0,N=void 0,X=void 0,Z=!1,gt(G),G.flags&=-2817,!(S.flags&1)&&lt&8&&md(G.body)&&(G.flags|=256,Z&&(G.flags|=512),G.endFlowNode=S),G.kind===308&&(G.flags|=ue,G.endFlowNode=S),O&&(Fn(O,S),S=Rt(O),(G.kind===173||G.kind===172||Mn(G)&&(G.kind===259||G.kind===215))&&(G.returnFlowNode=S)),Vr||(S=ta),w=Le,N=Xe,O=Jt,M=Gt,X=Lr,Z=Jr}else lt&64?(k=!1,gt(G),R.assertNotNode(G,Ye),G.flags=k?G.flags|128:G.flags&-129):gt(G);l=ir,f=gn,d=na}function st(G){Ke(G,lt=>lt.kind===259?Ft(lt):void 0),Ke(G,lt=>lt.kind!==259?Ft(lt):void 0)}function Ke(G,lt=Ft){G!==void 0&&Q(G,lt)}function We(G){ca(G,Ft,Ke)}function gt(G){const lt=se;if(se=!1,Dm(G)){We(G),Or(G),se=lt;return}switch(G.kind>=240&&G.kind<=256&&!t.allowUnreachableCode&&(G.flowNode=S),G.kind){case 244:Tr(G);break;case 243:nn(G);break;case 245:Xn(G);break;case 246:case 247:_i(G);break;case 242:Fe(G);break;case 250:case 254:Pt(G);break;case 249:case 248:kt(G);break;case 255:Te(G);break;case 252:pe(G);break;case 266:xe(G);break;case 292:Y(G);break;case 241:Ze(G);break;case 253:it(G);break;case 221:qn(G);break;case 222:ye(G);break;case 223:if(K0(G)){se=lt,wt(G);return}K(G);break;case 217:dt(G);break;case 224:ne(G);break;case 257:ce(G);break;case 208:case 209:hs(G);break;case 210:za(G);break;case 232:Zi(G);break;case 349:case 341:case 343:At(G);break;case 308:{st(G.statements),Ft(G.endOfFileToken);break}case 238:case 265:st(G.statements);break;case 205:Be(G);break;case 166:te(G);break;case 207:case 206:case 299:case 227:se=lt;default:We(G);break}Or(G),se=lt}function jt(G){switch(G.kind){case 79:case 80:case 108:case 208:case 209:return er(G);case 210:return ft(G);case 214:case 232:return jt(G.expression);case 223:return xr(G);case 221:return G.operator===53&&jt(G.operand);case 218:return jt(G.expression)}return!1}function It(G){return wP(G)||(oi(G)||uw(G)||j_(G))&&It(G.expression)||$n(G)&&G.operatorToken.kind===27&&It(G.right)||qc(G)&&(Zp(G.argumentExpression)||El(G.argumentExpression))&&It(G.expression)||Xf(G)&&It(G.left)}function er(G){return It(G)||cf(G)&&er(G.expression)}function ft(G){if(G.arguments){for(const lt of G.arguments)if(er(lt))return!0}return!!(G.expression.kind===208&&er(G.expression.expression))}function mt(G,lt){return h4(G)&&dr(G.expression)&&sc(lt)}function xr(G){switch(G.operatorToken.kind){case 63:case 75:case 76:case 77:return er(G.left);case 34:case 35:case 36:case 37:return dr(G.left)||dr(G.right)||mt(G.right,G.left)||mt(G.left,G.right);case 102:return dr(G.left);case 101:return jt(G.right);case 27:return jt(G.right)}return!1}function dr(G){switch(G.kind){case 214:return dr(G.expression);case 223:switch(G.operatorToken.kind){case 63:return dr(G.left);case 27:return dr(G.right)}}return er(G)}function rn(){return qx({flags:4,antecedents:void 0})}function un(){return qx({flags:8,antecedents:void 0})}function Gr(G,lt,ir){return qx({flags:1024,target:G,antecedents:lt,antecedent:ir})}function mr(G){G.flags|=G.flags&2048?4096:2048}function Fn(G,lt){!(lt.flags&1)&&!xt(G.antecedents,lt)&&((G.antecedents||(G.antecedents=[])).push(lt),mr(lt))}function ts(G,lt,ir){return lt.flags&1?lt:ir?(ir.kind===110&&G&64||ir.kind===95&&G&32)&&!IB(ir)&&!nK(ir.parent)?Ce:jt(ir)?(mr(lt),qx({flags:G,antecedent:lt,node:ir})):lt:G&32?lt:Ce}function ws(G,lt,ir,gn){return mr(G),qx({flags:128,antecedent:G,switchStatement:lt,clauseStart:ir,clauseEnd:gn})}function Es(G,lt,ir){mr(lt);const gn=qx({flags:G,antecedent:lt,node:ir});return M&&Fn(M,gn),gn}function ii(G,lt){return mr(G),qx({flags:512,antecedent:G,node:lt})}function Rt(G){const lt=G.antecedents;return lt?lt.length===1?lt[0]:G:Ce}function Rr(G){const lt=G.parent;switch(lt.kind){case 242:case 244:case 243:return lt.expression===G;case 245:case 224:return lt.condition===G}return!1}function rr(G){for(;;)if(G.kind===214)G=G.expression;else if(G.kind===221&&G.operator===53)G=G.operand;else return m5(G)}function Pr(G){return Lee(xc(G))}function Cn(G){for(;j_(G.parent)||Sv(G.parent)&&G.parent.operator===53;)G=G.parent;return!Rr(G)&&!rr(G.parent)&&!(cf(G.parent)&&G.parent.expression===G)}function Nn(G,lt,ir,gn){const na=L,ta=U;L=ir,U=gn,G(lt),L=na,U=ta}function cs(G,lt,ir){Nn(Ft,G,lt,ir),(!G||!Pr(G)&&!rr(G)&&!(cf(G)&&YA(G)))&&(Fn(lt,ts(32,S,G)),Fn(ir,ts(64,S,G)))}function qi(G,lt,ir){const gn=w,na=N;w=lt,N=ir,Ft(G),w=gn,N=na}function en(G,lt){let ir=X;for(;ir&&G.parent.kind===253;)ir.continueTarget=lt,ir=ir.next,G=G.parent;return lt}function Tr(G){const lt=en(G,un()),ir=rn(),gn=rn();Fn(lt,S),S=lt,cs(G.expression,ir,gn),S=Rt(ir),qi(G.statement,gn,lt),Fn(lt,S),S=Rt(gn)}function nn(G){const lt=un(),ir=en(G,rn()),gn=rn();Fn(lt,S),S=lt,qi(G.statement,gn,ir),Fn(ir,S),S=Rt(ir),cs(G.expression,lt,gn),S=Rt(gn)}function Xn(G){const lt=en(G,un()),ir=rn(),gn=rn();Ft(G.initializer),Fn(lt,S),S=lt,cs(G.condition,ir,gn),S=Rt(ir),qi(G.statement,gn,lt),Ft(G.incrementor),Fn(lt,S),S=Rt(gn)}function _i(G){const lt=en(G,un()),ir=rn();Ft(G.expression),Fn(lt,S),S=lt,G.kind===247&&Ft(G.awaitModifier),Fn(ir,S),Ft(G.initializer),G.initializer.kind!==258&&wr(G.initializer),qi(G.statement,ir,lt),Fn(lt,S),S=Rt(ir)}function Fe(G){const lt=rn(),ir=rn(),gn=rn();cs(G.expression,lt,ir),S=Rt(lt),Ft(G.thenStatement),Fn(gn,S),S=Rt(ir),Ft(G.elseStatement),Fn(gn,S),S=Rt(gn)}function Pt(G){Ft(G.expression),G.kind===250&&(Z=!0,O&&Fn(O,S)),S=Ce}function Ht(G){for(let lt=X;lt;lt=lt.next)if(lt.name===G)return lt}function Ne(G,lt,ir){const gn=G.kind===249?lt:ir;gn&&(Fn(gn,S),S=Ce)}function kt(G){if(Ft(G.label),G.label){const lt=Ht(G.label.escapedText);lt&&(lt.referenced=!0,Ne(G,lt.breakTarget,lt.continueTarget))}else Ne(G,w,N)}function Te(G){const lt=O,ir=M,gn=rn(),na=rn();let ta=rn();if(G.finallyBlock&&(O=na),Fn(ta,S),M=ta,Ft(G.tryBlock),Fn(gn,S),G.catchClause&&(S=Rt(ta),ta=rn(),Fn(ta,S),M=ta,Ft(G.catchClause),Fn(gn,S)),O=lt,M=ir,G.finallyBlock){const Le=rn();Le.antecedents=Cr(Cr(gn.antecedents,ta.antecedents),na.antecedents),S=Le,Ft(G.finallyBlock),S.flags&1?S=Ce:(O&&na.antecedents&&Fn(O,Gr(Le,na.antecedents,S)),M&&ta.antecedents&&Fn(M,Gr(Le,ta.antecedents,S)),S=gn.antecedents?Gr(Le,gn.antecedents,S):Ce)}else S=Rt(gn)}function pe(G){const lt=rn();Ft(G.expression);const ir=w,gn=W;w=lt,W=S,Ft(G.caseBlock),Fn(lt,S);const na=Q(G.caseBlock.clauses,ta=>ta.kind===293);G.possiblyExhaustive=!na&&!lt.antecedents,na||Fn(lt,ws(W,G,0,0)),w=ir,W=gn,S=Rt(lt)}function xe(G){const lt=G.clauses,ir=jt(G.parent.expression);let gn=Ce;for(let na=0;na<lt.length;na++){const ta=na;for(;!lt[na].statements.length&&na+1<lt.length;)Ft(lt[na]),na++;const Le=rn();Fn(Le,ir?ws(W,G.parent,ta,na+1):W),Fn(Le,gn),S=Rt(Le);const Xe=lt[na];Ft(Xe),gn=S,!(S.flags&1)&&na!==lt.length-1&&t.noFallthroughCasesInSwitch&&(Xe.fallthroughFlowNode=S)}}function Y(G){const lt=S;S=W,Ft(G.expression),S=lt,Ke(G.statements)}function Ze(G){Ft(G.expression),ct(G.expression)}function ct(G){if(G.kind===210){const lt=G;lt.expression.kind!==106&&wP(lt.expression)&&(S=ii(S,lt))}}function it(G){const lt=rn();X={next:X,name:G.label.escapedText,breakTarget:lt,continueTarget:void 0,referenced:!1},Ft(G.label),Ft(G.statement),!X.referenced&&!t.allowUnusedLabels&&tr(LTe(t),G.label,v.Unused_label),X=X.next,Fn(lt,S),S=Rt(lt)}function Kt(G){G.kind===223&&G.operatorToken.kind===63?wr(G.left):wr(G)}function wr(G){if(It(G))S=Es(16,S,G);else if(G.kind===206)for(const lt of G.elements)lt.kind===227?wr(lt.expression):Kt(lt);else if(G.kind===207)for(const lt of G.properties)lt.kind===299?Kt(lt.initializer):lt.kind===300?wr(lt.name):lt.kind===301&&wr(lt.expression)}function qr(G,lt,ir){const gn=rn();G.operatorToken.kind===55||G.operatorToken.kind===76?cs(G.left,gn,ir):cs(G.left,lt,gn),S=Rt(gn),Ft(G.operatorToken),CP(G.operatorToken.kind)?(Nn(Ft,G.right,lt,ir),wr(G.left),Fn(lt,ts(32,S,G)),Fn(ir,ts(64,S,G))):cs(G.right,lt,ir)}function qn(G){if(G.operator===53){const lt=L;L=U,U=lt,We(G),U=L,L=lt}else We(G),(G.operator===45||G.operator===46)&&wr(G.operand)}function ye(G){We(G),(G.operator===45||G.operator===46)&&wr(G.operand)}function wt(G){se?(se=!1,Ft(G.operatorToken),Ft(G.right),se=!0,Ft(G.left)):(se=!0,Ft(G.left),se=!1,Ft(G.operatorToken),Ft(G.right)),wr(G.left)}function nr(){return rU(G,lt,ir,gn,na,void 0);function G(Le,Xe){if(Xe){Xe.stackIndex++,go(Le,s);const Gt=ie;Ws(Le);const Lr=s;s=Le,Xe.skip=!1,Xe.inStrictModeStack[Xe.stackIndex]=Gt,Xe.parentStack[Xe.stackIndex]=Lr}else Xe={stackIndex:0,skip:!1,inStrictModeStack:[void 0],parentStack:[void 0]};const Jt=Le.operatorToken.kind;if(d5(Jt)||CP(Jt)){if(Cn(Le)){const Gt=rn();qr(Le,Gt,Gt),S=Rt(Gt)}else qr(Le,L,U);Xe.skip=!0}return Xe}function lt(Le,Xe,Jt){if(!Xe.skip){const Gt=ta(Le);return Jt.operatorToken.kind===27&&ct(Le),Gt}}function ir(Le,Xe,Jt){Xe.skip||Ft(Le)}function gn(Le,Xe,Jt){if(!Xe.skip){const Gt=ta(Le);return Jt.operatorToken.kind===27&&ct(Le),Gt}}function na(Le,Xe){if(!Xe.skip){const Lr=Le.operatorToken.kind;if(Z0(Lr)&&!Rg(Le)&&(wr(Le.left),Lr===63&&Le.left.kind===209)){const Jr=Le.left;dr(Jr.expression)&&(S=Es(256,S,Le))}}const Jt=Xe.inStrictModeStack[Xe.stackIndex],Gt=Xe.parentStack[Xe.stackIndex];Jt!==void 0&&(ie=Jt),Gt!==void 0&&(s=Gt),Xe.skip=!1,Xe.stackIndex--}function ta(Le){if(Le&&$n(Le)&&!K0(Le))return Le;Ft(Le)}}function dt(G){We(G),G.expression.kind===208&&wr(G.expression)}function ne(G){const lt=rn(),ir=rn(),gn=rn();cs(G.condition,lt,ir),S=Rt(lt),Ft(G.questionToken),Ft(G.whenTrue),Fn(gn,S),S=Rt(ir),Ft(G.colonToken),Ft(G.whenFalse),Fn(gn,S),S=Rt(gn)}function $e(G){const lt=yu(G)?void 0:G.name;if(xa(lt))for(const ir of lt.elements)$e(ir);else S=Es(16,S,G)}function ce(G){We(G),(G.initializer||k6(G.parent.parent))&&$e(G)}function Be(G){Ft(G.dotDotDotToken),Ft(G.propertyName),$t(G.initializer),Ft(G.name)}function te(G){Ke(G.modifiers),Ft(G.dotDotDotToken),Ft(G.questionToken),Ft(G.type),$t(G.initializer),Ft(G.name)}function $t(G){if(!G)return;const lt=S;if(Ft(G),lt===Ce||lt===S)return;const ir=rn();Fn(ir,lt),Fn(ir,S),S=Rt(ir)}function At(G){Ft(G.tagName),G.kind!==343&&G.fullName&&(go(G.fullName,G),bv(G.fullName,!1)),typeof G.comment!="string"&&Ke(G.comment)}function St(G){We(G);const lt=jb(G);lt&&lt.kind!==171&&le(lt.symbol,lt,32)}function Dr(G,lt,ir){Nn(Ft,G,lt,ir),(!cf(G)||YA(G))&&(Fn(lt,ts(32,S,G)),Fn(ir,ts(64,S,G)))}function yn(G){switch(G.kind){case 208:Ft(G.questionDotToken),Ft(G.name);break;case 209:Ft(G.questionDotToken),Ft(G.argumentExpression);break;case 210:Ft(G.questionDotToken),Ke(G.typeArguments),Ke(G.arguments);break}}function Di(G,lt,ir){const gn=QA(G)?rn():void 0;Dr(G.expression,gn||lt,ir),gn&&(S=Rt(gn)),Nn(yn,G,lt,ir),YA(G)&&(Fn(lt,ts(32,S,G)),Fn(ir,ts(64,S,G)))}function Yi(G){if(Cn(G)){const lt=rn();Di(G,lt,lt),S=Rt(lt)}else Di(G,L,U)}function Zi(G){cf(G)?Yi(G):We(G)}function hs(G){cf(G)?Yi(G):We(G)}function za(G){if(cf(G))Yi(G);else{const lt=xc(G.expression);lt.kind===215||lt.kind===216?(Ke(G.typeArguments),Ke(G.arguments),Ft(G.expression)):(We(G),G.expression.kind===106&&(S=ii(S,G)))}if(G.expression.kind===208){const lt=G.expression;Ye(lt.name)&&dr(lt.expression)&&dee(lt.name)&&(S=Es(256,S,G))}}function Xa(G){g&&(g.nextContainer=G),g=G}function Ia(G,lt,ir){switch(l.kind){case 264:return tt(G,lt,ir);case 308:return gs(G,lt,ir);case 228:case 260:return Fs(G,lt,ir);case 263:return Ge(l.symbol.exports,l.symbol,G,lt,ir);case 184:case 325:case 207:case 261:case 289:return Ge(l.symbol.members,l.symbol,G,lt,ir);case 181:case 182:case 176:case 177:case 326:case 178:case 171:case 170:case 173:case 174:case 175:case 259:case 215:case 216:case 320:case 172:case 262:case 197:return l.locals&&R.assertNode(l,$h),Ge(l.locals,void 0,G,lt,ir)}}function Fs(G,lt,ir){return ba(G)?Ge(l.symbol.exports,l.symbol,G,lt,ir):Ge(l.symbol.members,l.symbol,G,lt,ir)}function gs(G,lt,ir){return Fl(e)?tt(G,lt,ir):Ge(e.locals,void 0,G,lt,ir)}function vi(G){const lt=bs(G)?G:Pi(G.body,ah);return!!lt&&lt.statements.some(ir=>Uu(ir)||Tl(ir))}function Bo(G){G.flags&16777216&&!vi(G)?G.flags|=64:G.flags&=-65}function Ji(G){if(Bo(G),Af(G))if(Ti(G,1)&&Ut(G,v.export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible),FK(G))Rs(G);else{let lt;if(G.name.kind===10){const{text:gn}=G.name;lt=e4(gn),lt===void 0&&Ut(G.name,v.Pattern_0_can_have_at_most_one_Asterisk_character,gn)}const ir=Ia(G,512,110735);e.patternAmbientModules=$r(e.patternAmbientModules,lt&&!ha(lt)?{pattern:lt,symbol:ir}:void 0)}else{const lt=Rs(G);if(lt!==0){const{symbol:ir}=G;ir.constEnumOnlyModule=!(ir.flags&304)&&lt===2&&ir.constEnumOnlyModule!==!1}}}function Rs(G){const lt=$y(G),ir=lt!==0;return Ia(G,ir?512:1024,ir?110735:0),lt}function Qr(G){const lt=Pe(131072,ot(G));le(lt,G,131072);const ir=Pe(2048,"__type");le(ir,G,2048),ir.members=Ma(),ir.members.set(lt.escapedName,lt)}function js(G){return Sl(G,4096,"__object")}function Rl(G){return Sl(G,4096,"__jsxAttributes")}function jc(G,lt,ir){return Ia(G,lt,ir)}function Sl(G,lt,ir){const gn=Pe(lt,ir);return lt&106508&&(gn.parent=l.symbol),le(gn,G,lt),gn}function Nl(G,lt,ir){switch(d.kind){case 264:tt(G,lt,ir);break;case 308:if(lp(l)){tt(G,lt,ir);break}default:R.assertNode(d,$h),d.locals||(d.locals=Ma(),Xa(d)),Ge(d.locals,void 0,G,lt,ir)}}function xl(){if(!h)return;const G=l,lt=g,ir=d,gn=s,na=S;for(const ta of h){const Le=ta.parent.parent;l=kn(Le.parent,Jt=>!!(TCe(Jt)&1))||e,d=Hh(Le)||e,S=qx({flags:2}),s=ta,Ft(ta.typeExpression);const Xe=ra(ta);if((cO(ta)||!ta.fullName)&&Xe&&g5(Xe.parent)){const Jt=wi(Xe.parent);if(Jt){ln(e.symbol,Xe.parent,Jt,!!kn(Xe,Lr=>oi(Lr)&&Lr.name.escapedText==="prototype"),!1);const Gt=l;switch($7(Xe.parent)){case 1:case 2:lp(e)?l=e:l=void 0;break;case 4:l=Xe.parent.expression;break;case 3:l=Xe.parent.expression.name;break;case 5:l=RT(e,Xe.parent.expression)?e:oi(Xe.parent.expression)?Xe.parent.expression.name:Xe.parent.expression;break;case 0:return R.fail("Shouldn't have detected typedef or enum on non-assignment declaration")}l&&tt(ta,524288,788968),l=Gt}}else cO(ta)||!ta.fullName||ta.fullName.kind===79?(s=ta.parent,Nl(ta,524288,788968)):Ft(ta.fullName)}l=G,g=lt,d=ir,s=gn,S=na}function Ka(G){if(!e.parseDiagnostics.length&&!(G.flags&16777216)&&!(G.flags&8388608)&&!L2e(G)){const lt=Lb(G);if(lt===void 0)return;ie&&lt>=117&&lt<=125?e.bindDiagnostics.push(ge(G,ea(G),uc(G))):lt===133?Fl(e)&&cj(G)?e.bindDiagnostics.push(ge(G,v.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module,uc(G))):G.flags&32768&&e.bindDiagnostics.push(ge(G,v.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,uc(G))):lt===125&&G.flags&8192&&e.bindDiagnostics.push(ge(G,v.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here,uc(G)))}}function ea(G){return uu(G)?v.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:e.externalModuleIndicator?v.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:v.Identifier_expected_0_is_a_reserved_word_in_strict_mode}function Ao(G){G.escapedText==="#constructor"&&(e.parseDiagnostics.length||e.bindDiagnostics.push(ge(G,v.constructor_is_a_reserved_word,uc(G))))}function kl(G){ie&&g_(G.left)&&Z0(G.operatorToken.kind)&&Lu(G,G.left)}function zu(G){ie&&G.variableDeclaration&&Lu(G,G.variableDeclaration.name)}function $_(G){if(ie&&G.expression.kind===79){const lt=gT(e,G.expression);e.bindDiagnostics.push(gu(e,lt.start,lt.length,v.delete_cannot_be_called_on_an_identifier_in_strict_mode))}}function Vl(G){return Ye(G)&&(G.escapedText==="eval"||G.escapedText==="arguments")}function Lu(G,lt){if(lt&&lt.kind===79){const ir=lt;if(Vl(ir)){const gn=gT(e,lt);e.bindDiagnostics.push(gu(e,gn.start,gn.length,fc(G),ai(ir)))}}}function fc(G){return uu(G)?v.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:e.externalModuleIndicator?v.Invalid_use_of_0_Modules_are_automatically_in_strict_mode:v.Invalid_use_of_0_in_strict_mode}function Kc(G){ie&&Lu(G,G.name)}function Fc(G){return uu(G)?v.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:e.externalModuleIndicator?v.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:v.Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5}function Pc(G){if(n<2&&d.kind!==308&&d.kind!==264&&!T6(d)){const lt=gT(e,G);e.bindDiagnostics.push(gu(e,lt.start,lt.length,Fc(G)))}}function br(G){n<1&&ie&&G.numericLiteralFlags&32&&e.bindDiagnostics.push(ge(G,v.Octal_literals_are_not_allowed_in_strict_mode))}function Cl(G){ie&&Lu(G,G.operand)}function df(G){ie&&(G.operator===45||G.operator===46)&&Lu(G,G.operand)}function Rf(G){ie&&Ut(G,v.with_statements_are_not_allowed_in_strict_mode)}function be(G){ie&&Io(t)>=2&&(Nbe(G.statement)||Xl(G.statement))&&Ut(G.label,v.A_label_is_not_allowed_here)}function Ut(G,lt,ir,gn,na){const ta=Y0(e,G.pos);e.bindDiagnostics.push(gu(e,ta.start,ta.length,lt,ir,gn,na))}function tr(G,lt,ir){oe(G,lt,lt,ir)}function oe(G,lt,ir,gn){ht(G,{pos:yx(lt,e),end:ir.end},gn)}function ht(G,lt,ir){const gn=gu(e,lt.pos,lt.end-lt.pos,ir);G?e.bindDiagnostics.push(gn):e.bindSuggestionDiagnostics=$r(e.bindSuggestionDiagnostics,{...gn,category:2})}function Ft(G){if(!G)return;go(G,s),Hi&&(G.tracingPath=e.path);const lt=ie;if(Ws(G),G.kind>162){const ir=s;s=G;const gn=TCe(G);gn===0?gt(G):qe(G,gn),s=ir}else{const ir=s;G.kind===1&&(s=G),Or(G),s=ir}ie=lt}function Or(G){if(Ep(G))if(Mn(G))for(const lt of G.jsDoc)Ft(lt);else for(const lt of G.jsDoc)go(lt,G),bv(lt,!1)}function ti(G){if(!ie)for(const lt of G){if(!vm(lt))return;if(si(lt)){ie=!0;return}}}function si(G){const lt=mT(e,G.expression);return lt==='"use strict"'||lt==="'use strict'"}function Ws(G){switch(G.kind){case 79:if(G.flags&2048){let Le=G.parent;for(;Le&&!gd(Le);)Le=Le.parent;Nl(Le,524288,788968);break}case 108:return S&&(Dt(G)||s.kind===300)&&(G.flowNode=S),Ka(G);case 163:S&&pj(G)&&(G.flowNode=S);break;case 233:case 106:G.flowNode=S;break;case 80:return Ao(G);case 208:case 209:const lt=G;S&&It(lt)&&(lt.flowNode=S),x2e(lt)&&ks(lt),Mn(lt)&&e.commonJsModuleIndicator&&Fg(lt)&&!VO(d,"module")&&Ge(e.locals,void 0,lt.expression,134217729,111550);break;case 223:switch(ll(G)){case 1:q_(G);break;case 2:wl(G);break;case 3:bt(G.left,G);break;case 6:eo(G);break;case 4:De(G);break;case 5:const Le=G.left.expression;if(Mn(G)&&Ye(Le)){const Xe=VO(d,Le.escapedText);if(lj(Xe==null?void 0:Xe.valueDeclaration)){De(G);break}}Xt(G);break;case 0:break;default:R.fail("Unknown binary expression special property assignment kind")}return kl(G);case 295:return zu(G);case 217:return $_(G);case 8:return br(G);case 222:return Cl(G);case 221:return df(G);case 251:return Rf(G);case 253:return be(G);case 194:k=!0;return;case 179:break;case 165:return gp(G);case 166:return mf(G);case 257:return W_(G);case 205:return G.flowNode=S,W_(G);case 169:case 168:return jo(G);case 299:case 300:return Po(G,4,0);case 302:return Po(G,8,900095);case 176:case 177:case 178:return Ia(G,131072,0);case 171:case 170:return Po(G,8192|(G.questionToken?16777216:0),Ud(G)?0:103359);case 259:return hp(G);case 173:return Ia(G,16384,0);case 174:return Po(G,32768,46015);case 175:return Po(G,65536,78783);case 181:case 320:case 326:case 182:return Qr(G);case 184:case 325:case 197:return Va(G);case 335:return St(G);case 207:return js(G);case 215:case 216:return Cd(G);case 210:switch(ll(G)){case 7:return Yt(G);case 8:return Gc(G);case 9:return de(G);case 0:break;default:return R.fail("Unknown call expression assignment declaration kind")}Mn(G)&&o_(G);break;case 228:case 260:return ie=!0,mp(G);case 261:return Nl(G,64,788872);case 262:return Nl(G,524288,788968);case 263:return Bl(G);case 264:return Ji(G);case 289:return Rl(G);case 288:return jc(G,4,0);case 268:case 271:case 273:case 278:return Ia(G,2097152,2097152);case 267:return Ql(G);case 270:return Zo(G);case 275:return a_(G);case 274:return Hc(G);case 308:return ti(G.statements),vo();case 238:if(!T6(G.parent))return;case 265:return ti(G.statements);case 344:if(G.parent.kind===326)return mf(G);if(G.parent.kind!==325)break;case 351:const na=G,ta=na.isBracketed||na.typeExpression&&na.typeExpression.type.kind===319?16777220:4;return Ia(na,ta,0);case 349:case 341:case 343:return(h||(h=[])).push(G);case 342:return Ft(G.typeExpression)}}function jo(G){const lt=op(G),ir=lt?98304:4,gn=lt?13247:0;return Po(G,ir|(G.questionToken?16777216:0),gn)}function Va(G){return Sl(G,2048,"__type")}function vo(){if(Bo(e),Fl(e))ka();else if(hd(e)){ka();const G=e.symbol;Ge(e.symbol.exports,e.symbol,e,4,67108863),e.symbol=G}}function ka(){Sl(e,512,`"${B_(e.fileName)}"`)}function Hc(G){if(!l.symbol||!l.symbol.exports)Sl(G,111551,ot(G));else{const lt=V6(G)?2097152:4,ir=Ge(l.symbol.exports,l.symbol,G,lt,67108863);G.isExportEquals&&W7(ir,G)}}function Ql(G){Oe(G.modifiers)&&e.bindDiagnostics.push(ge(G,v.Modifiers_cannot_appear_here));const lt=bs(G.parent)?Fl(G.parent)?G.parent.isDeclarationFile?void 0:v.Global_module_exports_may_only_appear_in_declaration_files:v.Global_module_exports_may_only_appear_in_module_files:v.Global_module_exports_may_only_appear_at_top_level;lt?e.bindDiagnostics.push(ge(G,lt)):(e.symbol.globalExports=e.symbol.globalExports||Ma(),Ge(e.symbol.globalExports,e.symbol,G,2097152,2097152))}function a_(G){!l.symbol||!l.symbol.exports?Sl(G,8388608,ot(G)):G.exportClause?qg(G.exportClause)&&(go(G.exportClause,G),Ge(l.symbol.exports,l.symbol,G.exportClause,2097152,2097152)):Ge(l.symbol.exports,l.symbol,G,8388608,0)}function Zo(G){G.name&&Ia(G,2097152,2097152)}function zo(G){return e.externalModuleIndicator&&e.externalModuleIndicator!==!0?!1:(e.commonJsModuleIndicator||(e.commonJsModuleIndicator=G,e.externalModuleIndicator||ka()),!0)}function Gc(G){if(!zo(G))return;const lt=Dc(G.arguments[0],void 0,(ir,gn)=>(gn&&le(gn,ir,67110400),gn));lt&&Ge(lt.exports,lt,G,1048580,0)}function q_(G){if(!zo(G))return;const lt=Dc(G.left.expression,void 0,(ir,gn)=>(gn&&le(gn,ir,67110400),gn));if(lt){const gn=n5(G.right)&&(xx(G.left.expression)||Fg(G.left.expression))?2097152:1048580;go(G.left,G),Ge(lt.exports,lt,G.left,gn,0)}}function wl(G){if(!zo(G))return;const lt=U7(G.right);if(Ree(lt)||l===e&&RT(e,lt))return;if(cc(lt)&&ut(lt.properties,id)){Q(lt.properties,Fp);return}const ir=V6(G)?2097152:1049092,gn=Ge(e.symbol.exports,e.symbol,G,ir|67108864,0);W7(gn,G)}function Fp(G){Ge(e.symbol.exports,e.symbol,G,69206016,0)}function De(G){if(R.assert(Mn(G)),$n(G)&&oi(G.left)&&as(G.left.name)||oi(G)&&as(G.name))return;const ir=y_(G,!1,!1);switch(ir.kind){case 259:case 215:let gn=ir.symbol;if($n(ir.parent)&&ir.parent.operatorToken.kind===63){const Le=ir.parent.left;kx(Le)&&zb(Le.expression)&&(gn=tc(Le.expression.expression,f))}gn&&gn.valueDeclaration&&(gn.members=gn.members||Ma(),hv(G)?Vt(G,gn,gn.members):Ge(gn.members,gn,G,67108868,0),le(gn,gn.valueDeclaration,32));break;case 173:case 169:case 171:case 174:case 175:case 172:const na=ir.parent,ta=ba(ir)?na.symbol.exports:na.symbol.members;hv(G)?Vt(G,na.symbol,ta):Ge(ta,na.symbol,G,67108868,0,!0);break;case 308:if(hv(G))break;ir.commonJsModuleIndicator?Ge(ir.symbol.exports,ir.symbol,G,1048580,0):Ia(G,1,111550);break;default:R.failBadSyntaxKind(ir)}}function Vt(G,lt,ir){Ge(ir,lt,G,4,0,!0,!0),tn(G,lt)}function tn(G,lt){lt&&(lt.assignmentDeclarationMembers||(lt.assignmentDeclarationMembers=new Map)).set(Wo(G),G)}function ks(G){G.expression.kind===108?De(G):kx(G)&&G.parent.parent.kind===308&&(zb(G.expression)?bt(G,G.parent):Er(G))}function eo(G){go(G.left,G),go(G.right,G),ls(G.left.expression,G.left,!1,!0)}function de(G){const lt=tc(G.arguments[0].expression);lt&&lt.valueDeclaration&&le(lt,lt.valueDeclaration,32),ri(G,lt,!0)}function bt(G,lt){const ir=G.expression,gn=ir.expression;go(gn,ir),go(ir,G),go(G,lt),ls(gn,G,!0,!0)}function Yt(G){let lt=tc(G.arguments[0]);const ir=G.parent.parent.kind===308;lt=ln(lt,G.arguments[0],ir,!1,!1),ri(G,lt,!1)}function Xt(G){var lt;const ir=tc(G.left.expression,l)||tc(G.left.expression,d);if(!Mn(G)&&!k2e(ir))return;const gn=OP(G.left);if(!(Ye(gn)&&((lt=VO(l,gn.escapedText))==null?void 0:lt.flags)&2097152))if(go(G.left,G),go(G.right,G),Ye(G.left.expression)&&l===e&&RT(e,G.left.expression))q_(G);else if(hv(G)){Sl(G,67108868,"__computed");const na=ln(ir,G.left.expression,wi(G.left),!1,!1);tn(G,na)}else Er(Oa(G.left,FC))}function Er(G){R.assert(!Ye(G)),go(G.expression,G),ls(G.expression,G,!1,!1)}function ln(G,lt,ir,gn,na){return(G==null?void 0:G.flags)&2097152||(ir&&!gn&&(G=Dc(lt,G,(Xe,Jt,Gt)=>{if(Jt)return le(Jt,Xe,67110400),Jt;{const Lr=Gt?Gt.exports:e.jsGlobalAugmentations||(e.jsGlobalAugmentations=Ma());return Ge(Lr,Gt,Xe,67110400,110735)}})),na&&G&&G.valueDeclaration&&le(G,G.valueDeclaration,32)),G}function ri(G,lt,ir){if(!lt||!da(lt))return;const gn=ir?lt.members||(lt.members=Ma()):lt.exports||(lt.exports=Ma());let na=0,ta=0;Lc(LC(G))?(na=8192,ta=103359):Da(G)&&MC(G)&&(Oe(G.arguments[2].properties,Le=>{const Xe=ra(Le);return!!Xe&&Ye(Xe)&&ai(Xe)==="set"})&&(na|=65540,ta|=78783),Oe(G.arguments[2].properties,Le=>{const Xe=ra(Le);return!!Xe&&Ye(Xe)&&ai(Xe)==="get"})&&(na|=32772,ta|=46015)),na===0&&(na=4,ta=0),Ge(gn,lt,G,na|67108864,ta&-67108865)}function wi(G){return $n(G.parent)?bo(G.parent).parent.kind===308:G.parent.parent.kind===308}function ls(G,lt,ir,gn){let na=tc(G,l)||tc(G,d);const ta=wi(lt);na=ln(na,lt.expression,ta,ir,gn),ri(lt,na,ir)}function da(G){if(G.flags&1072)return!0;const lt=G.valueDeclaration;if(lt&&Da(lt))return!!LC(lt);let ir=lt?xs(lt)?lt.initializer:$n(lt)?lt.right:oi(lt)&&$n(lt.parent)?lt.parent.right:void 0:void 0;if(ir=ir&&U7(ir),ir){const gn=zb(xs(lt)?lt.name:$n(lt)?lt.left:lt);return!!Bb($n(ir)&&(ir.operatorToken.kind===56||ir.operatorToken.kind===60)?ir.right:ir,gn)}return!1}function bo(G){for(;$n(G.parent);)G=G.parent;return G.parent}function tc(G,lt=l){if(Ye(G))return VO(lt,G.escapedText);{const ir=tc(G.expression);return ir&&ir.exports&&ir.exports.get(Ry(G))}}function Dc(G,lt,ir){if(RT(e,G))return e.symbol;if(Ye(G))return ir(G,tc(G),lt);{const gn=Dc(G.expression,lt,ir),na=V7(G);return as(na)&&R.fail("unexpected PrivateIdentifier"),ir(na,gn&&gn.exports&&gn.exports.get(Ry(G)),gn)}}function o_(G){!e.commonJsModuleIndicator&&v_(G,!1)&&zo(G)}function mp(G){if(G.kind===260)Nl(G,32,899503);else{const na=G.name?G.name.escapedText:"__class";Sl(G,32,na),G.name&&fe.add(G.name.escapedText)}const{symbol:lt}=G,ir=Pe(4194308,"prototype"),gn=lt.exports.get(ir.escapedName);gn&&(G.name&&go(G.name,G),e.bindDiagnostics.push(ge(gn.declarations[0],v.Duplicate_identifier_0,yl(ir)))),lt.exports.set(ir.escapedName,ir),ir.parent=lt}function Bl(G){return yT(G)?Nl(G,128,899967):Nl(G,256,899327)}function W_(G){if(ie&&Lu(G,G.name),!xa(G.name)){const lt=G.kind===257?G:G.parent.parent;Mn(G)&&Uj(t)&&bT(lt)&&!uT(G)&&!(H0(G)&1)?Ia(G,2097152,2097152):OK(G)?Nl(G,2,111551):Ex(G)?Ia(G,1,111551):Ia(G,1,111550)}}function mf(G){if(!(G.kind===344&&l.kind!==326)&&(ie&&!(G.flags&16777216)&&Lu(G,G.name),xa(G.name)?Sl(G,1,"__"+G.parent.parameters.indexOf(G)):Ia(G,1,111551),sp(G,G.parent))){const lt=G.parent.parent;Ge(lt.symbol.members,lt.symbol,G,4|(G.questionToken?16777216:0),0)}}function hp(G){!e.isDeclarationFile&&!(G.flags&16777216)&&W6(G)&&(ue|=2048),Kc(G),ie?(Pc(G),Nl(G,16,110991)):Ia(G,16,110991)}function Cd(G){!e.isDeclarationFile&&!(G.flags&16777216)&&W6(G)&&(ue|=2048),S&&(G.flowNode=S),Kc(G);const lt=G.name?G.name.escapedText:"__function";return Sl(G,16,lt)}function Po(G,lt,ir){return!e.isDeclarationFile&&!(G.flags&16777216)&&W6(G)&&(ue|=2048),S&&sj(G)&&(G.flowNode=S),hv(G)?Sl(G,lt,"__computed"):Ia(G,lt,ir)}function wd(G){const lt=kn(G,ir=>ir.parent&&p4(ir.parent)&&ir.parent.extendsType===ir);return lt&&lt.parent}function gp(G){var lt,ir;if(xm(G.parent)){const gn=Tj(G.parent);gn?(R.assertNode(gn,$h),(lt=gn.locals)!=null||(gn.locals=Ma()),Ge(gn.locals,void 0,G,262144,526824)):Ia(G,262144,526824)}else if(G.parent.kind===192){const gn=wd(G.parent);gn?(R.assertNode(gn,$h),(ir=gn.locals)!=null||(gn.locals=Ma()),Ge(gn.locals,void 0,G,262144,526824)):Sl(G,262144,ot(G))}else Ia(G,262144,526824)}function em(G){const lt=$y(G);return lt===1||lt===2&&wT(t)}function Dm(G){if(!(S.flags&1))return!1;if(S===Ce&&(x7(G)&&G.kind!==239||G.kind===260||G.kind===264&&em(G))&&(S=_e,!t.allowUnreachableCode)){const ir=OTe(t)&&!(G.flags&16777216)&&(!Xl(G)||!!(ym(G.declarationList)&3)||G.declarationList.declarations.some(gn=>!!gn.initializer));XZe(G,(gn,na)=>oe(ir,gn,na,v.Unreachable_code_detected))}return!0}}function XZe(e,t){if(Ks(e)&&bCe(e)&&Fa(e.parent)){const{statements:n}=e.parent,s=ote(n,e);jr(s,bCe,(l,f)=>t(s[l],s[f-1]))}else t(e,e)}function bCe(e){return!ru(e)&&!QZe(e)&&!Gb(e)&&!(Xl(e)&&!(ym(e)&3)&&e.declarationList.declarations.some(t=>!t.initializer))}function QZe(e){switch(e.kind){case 261:case 262:return!0;case 264:return $y(e)!==1;case 263:return Ti(e,2048);default:return!1}}function RT(e,t){let n=0;const s=mY();for(s.enqueue(t);!s.isEmpty()&&n<100;){if(n++,t=s.dequeue(),xx(t)||Fg(t))return!0;if(Ye(t)){const l=VO(e,t.escapedText);if(l&&l.valueDeclaration&&xs(l.valueDeclaration)&&l.valueDeclaration.initializer){const f=l.valueDeclaration.initializer;s.enqueue(f),Xf(f,!0)&&(s.enqueue(f.left),s.enqueue(f.right))}}}return!1}function TCe(e){switch(e.kind){case 228:case 260:case 263:case 207:case 184:case 325:case 289:return 1;case 261:return 65;case 264:case 262:case 197:case 178:return 33;case 308:return 37;case 174:case 175:case 171:if(sj(e))return 173;case 173:case 259:case 170:case 176:case 326:case 320:case 181:case 177:case 182:case 172:return 45;case 215:case 216:return 61;case 265:return 4;case 169:return e.initializer?4:0;case 295:case 245:case 246:case 247:case 266:return 34;case 238:return Sa(e.parent)||fl(e.parent)?0:34}return 0}function VO(e,t){var n,s,l,f,d;const g=(s=(n=Pi(e,$h))==null?void 0:n.locals)==null?void 0:s.get(t);if(g)return(l=g.exportSymbol)!=null?l:g;if(bs(e)&&e.jsGlobalAugmentations&&e.jsGlobalAugmentations.has(t))return e.jsGlobalAugmentations.get(t);if(Vh(e))return(d=(f=e.symbol)==null?void 0:f.exports)==null?void 0:d.get(t)}var One,SCe,YZe=p({"src/compiler/binder.ts"(){aa(),oT(),One=(e=>(e[e.NonInstantiated=0]="NonInstantiated",e[e.Instantiated=1]="Instantiated",e[e.ConstEnumOnly=2]="ConstEnumOnly",e))(One||{}),SCe=GZe()}});function xCe(e,t,n,s,l,f,d,g,h,k){return S;function S(w=()=>!0){const N=[],O=[];return{walkType:fe=>{try{return L(fe),{visitedTypes:gC(N),visitedSymbols:gC(O)}}finally{ss(N),ss(O)}},walkSymbol:fe=>{try{return ve(fe),{visitedTypes:gC(N),visitedSymbols:gC(O)}}finally{ss(N),ss(O)}}};function L(fe){if(!(!fe||N[fe.id]||(N[fe.id]=fe,ve(fe.symbol)))){if(fe.flags&524288){const _e=fe,K=_e.objectFlags;K&4&&U(fe),K&32&&ue(fe),K&3&&se(fe),K&24&&V(_e)}fe.flags&262144&&M(fe),fe.flags&3145728&&W(fe),fe.flags&4194304&&X(fe),fe.flags&8388608&&Z(fe)}}function U(fe){L(fe.target),Q(k(fe),L)}function M(fe){L(g(fe))}function W(fe){Q(fe.types,L)}function X(fe){L(fe.type)}function Z(fe){L(fe.objectType),L(fe.indexType),L(fe.constraint)}function ue(fe){L(fe.typeParameter),L(fe.constraintType),L(fe.templateType),L(fe.modifiersType)}function ie(fe){const Ce=t(fe);Ce&&L(Ce.type),Q(fe.typeParameters,L);for(const _e of fe.parameters)ve(_e);L(e(fe)),L(n(fe))}function se(fe){V(fe),Q(fe.typeParameters,L),Q(s(fe),L),L(fe.thisType)}function V(fe){const Ce=l(fe);for(const _e of Ce.indexInfos)L(_e.keyType),L(_e.type);for(const _e of Ce.callSignatures)ie(_e);for(const _e of Ce.constructSignatures)ie(_e);for(const _e of Ce.properties)ve(_e)}function ve(fe){if(!fe)return!1;const Ce=Ha(fe);if(O[Ce])return!1;if(O[Ce]=fe,!w(fe))return!0;const _e=f(fe);return L(_e),fe.exports&&fe.exports.forEach(ve),Q(fe.declarations,K=>{if(K.type&&K.type.kind===183){const ge=K.type,Se=d(h(ge.exprName));ve(Se)}}),!1}}}var ZZe=p({"src/compiler/symbolWalker.ts"(){aa()}});function FU({importModuleSpecifierPreference:e,importModuleSpecifierEnding:t},n,s,l){const f=d();return{relativePreference:l!==void 0?wu(l)?0:1:e==="relative"?0:e==="non-relative"?1:e==="project-relative"?3:2,getAllowedEndingsInPreferredOrder:g=>{if((g??s.impliedNodeFormat)===99)return xD(n,s.fileName)?[3,2]:[2];if(vl(n)===1)return[1,2];switch(f){case 2:return[2,0,1];case 3:return[3,0,2,1];case 1:return[1,0,2];case 0:return[0,1,2];default:R.assertNever(f)}}};function d(){if(l!==void 0){if(QC(l))return 2;if(Ul(l,"/index"))return 1}return ste(t,s.impliedNodeFormat,n,s)}}function KZe(e,t,n,s,l,f,d={}){const g=kCe(e,t,n,s,l,FU({},e,t,f),{},d);if(g!==f)return g}function RU(e,t,n,s,l,f={}){return kCe(e,t,n,s,l,FU({},e,t),{},f)}function eKe(e,t,n,s,l,f={}){const d=Lne(t.path,s),g=ICe(t.path,n,s,l,f);return ze(g,h=>Mne(h,d,t,s,e,l,!0,f.overrideImportMode))}function kCe(e,t,n,s,l,f,d,g={}){const h=Lne(n,l),k=ICe(n,s,l,d,g);return ze(k,S=>Mne(S,h,t,l,e,d,void 0,g.overrideImportMode))||ACe(s,h,e,l,g.overrideImportMode||t.impliedNodeFormat,f)}function tKe(e,t,n,s,l={}){return CCe(e,t,n,s,l)[0]}function CCe(e,t,n,s,l={}){var f;const d=$B(e);if(!d)return pt;const g=(f=n.getModuleSpecifierCache)==null?void 0:f.call(n),h=g==null?void 0:g.get(t.path,d.path,s,l);return[h==null?void 0:h.moduleSpecifiers,d,h==null?void 0:h.modulePaths,g]}function wCe(e,t,n,s,l,f,d={}){return ECe(e,t,n,s,l,f,d).moduleSpecifiers}function ECe(e,t,n,s,l,f,d={}){let g=!1;const h=nKe(e,t);if(h)return{moduleSpecifiers:[h],computedWithoutCache:g};let[k,S,w,N]=CCe(e,s,l,f,d);if(k)return{moduleSpecifiers:k,computedWithoutCache:g};if(!S)return{moduleSpecifiers:pt,computedWithoutCache:g};g=!0,w||(w=OCe(s.path,S.originalFileName,l));const O=rKe(w,n,s,l,f,d);return N==null||N.set(s.path,S.path,f,d,w,O),{moduleSpecifiers:O,computedWithoutCache:g}}function rKe(e,t,n,s,l,f={}){const d=Lne(n.path,s),g=FU(l,t,n),h=Q(e,L=>Q(s.getFileIncludeReasons().get(wc(L.path,s.getCurrentDirectory(),d.getCanonicalFileName)),U=>{if(U.kind!==3||U.file!==n.path||n.impliedNodeFormat&&n.impliedNodeFormat!==Nie(n,U.index))return;const M=dz(n,U.index).text;return g.relativePreference!==1||!wp(M)?M:void 0}));if(h)return[h];const k=Oe(e,L=>L.isInNodeModules);let S,w,N,O;for(const L of e){const U=L.isInNodeModules?Mne(L,d,n,s,t,l,void 0,f.overrideImportMode):void 0;if(S=$r(S,U),U&&L.isRedirect)return S;if(!U){const M=ACe(L.path,d,t,s,f.overrideImportMode||n.impliedNodeFormat,g,L.isRedirect);if(!M)continue;L.isRedirect?N=$r(N,M):LZ(M)?w=$r(w,M):(!k||L.isInNodeModules)&&(O=$r(O,M))}}return w!=null&&w.length?w:N!=null&&N.length?N:S!=null&&S.length?S:R.checkDefined(O)}function Lne(e,t){const n=qu(t.useCaseSensitiveFileNames?t.useCaseSensitiveFileNames():!0),s=$i(e);return{getCanonicalFileName:n,importingSourceFileName:e,sourceDirectory:s}}function ACe(e,t,n,s,l,{getAllowedEndingsInPreferredOrder:f,relativePreference:d},g){const{baseUrl:h,paths:k,rootDirs:S}=n;if(g&&!k)return;const{sourceDirectory:w,getCanonicalFileName:N}=t,O=f(l),L=S&&iKe(S,e,w,N,O,n)||kD(lT(Uh(w,e,N)),O,n);if(!h&&!k||d===0)return g?void 0:L;const U=oa(Cee(n,s)||h,s.getCurrentDirectory()),M=RCe(e,U,N);if(!M)return g?void 0:L;const W=k&&LCe(M,k,O,s,n);if(g)return W;const X=W===void 0&&h!==void 0?kD(M,O,n):W;if(!X)return L;if(d===1&&!wp(X))return X;if(d===3&&!wp(X)){const Z=n.configFilePath?wc($i(n.configFilePath),s.getCurrentDirectory(),t.getCanonicalFileName):t.getCanonicalFileName(s.getCurrentDirectory()),ue=wc(e,Z,N),ie=Qs(w,Z),se=Qs(ue,Z);if(ie&&!se||!ie&&se)return X;const V=DCe(s,$i(ue));return DCe(s,w)!==V?X:L}return BCe(X)||$O(L)<$O(X)?L:X}function $O(e){let t=0;for(let n=Qs(e,"./")?2:0;n<e.length;n++)e.charCodeAt(n)===47&&t++;return t}function PCe(e,t){return iT(t.isRedirect,e.isRedirect)||A5(e.path,t.path)}function DCe(e,t){return e.getNearestAncestorDirectoryWithPackageJson?e.getNearestAncestorDirectoryWithPackageJson(t):!!Ay(t,n=>e.fileExists(_s(n,"package.json"))?!0:void 0)}function NCe(e,t,n,s,l){var f;const d=Ub(n),g=n.getCurrentDirectory(),h=n.isSourceOfProjectReferenceRedirect(t)?n.getProjectReferenceRedirect(t):void 0,k=wc(t,g,d),S=n.redirectTargetsMap.get(k)||pt,N=[...h?[h]:pt,t,...S].map(W=>oa(W,g));let O=!ut(N,VP);if(!s){const W=Q(N,X=>!(O&&VP(X))&&l(X,h===X));if(W)return W}const L=(f=n.getSymlinkCache)==null?void 0:f.call(n).getSymlinkedDirectoriesByRealpath(),U=oa(t,g);return L&&Ay($i(U),W=>{const X=L.get(Ef(wc(W,g,d)));if(X)return BZ(e,W,d)?!1:Q(N,Z=>{if(!BZ(Z,W,d))return;const ue=Uh(W,Z,d);for(const ie of X){const se=iv(ie,ue),V=l(se,Z===h);if(O=!0,V)return V}})})||(s?Q(N,W=>O&&VP(W)?void 0:l(W,W===h)):void 0)}function ICe(e,t,n,s,l={}){var f;const d=wc(t,n.getCurrentDirectory(),Ub(n)),g=(f=n.getModuleSpecifierCache)==null?void 0:f.call(n);if(g){const k=g.get(e,d,s,l);if(k!=null&&k.modulePaths)return k.modulePaths}const h=OCe(e,t,n);return g&&g.setModulePaths(e,d,s,l,h),h}function OCe(e,t,n){const s=Ub(n),l=new Map;NCe(e,t,n,!0,(d,g)=>{const h=Tw(d);l.set(d,{path:s(d),isRedirect:g,isInNodeModules:h})});const f=[];for(let d=$i(e);l.size!==0;){const g=Ef(d);let h;l.forEach(({path:S,isRedirect:w,isInNodeModules:N},O)=>{Qs(S,g)&&((h||(h=[])).push({path:O,isRedirect:w,isInNodeModules:N}),l.delete(O))}),h&&(h.length>1&&h.sort(PCe),f.push(...h));const k=$i(d);if(k===d)break;d=k}if(l.size){const d=ao(l.values());d.length>1&&d.sort(PCe),f.push(...d)}return f}function nKe(e,t){var n;const s=(n=e.declarations)==null?void 0:n.find(d=>MK(d)&&(!hT(d)||!wu(Vd(d.name))));if(s)return s.name.text;const f=fr(e.declarations,d=>{var g,h,k,S;if(!Pl(d))return;const w=U(d);if(!((g=w==null?void 0:w.parent)!=null&&g.parent&&ah(w.parent)&&Af(w.parent.parent)&&bs(w.parent.parent.parent)))return;const N=(S=(k=(h=w.parent.parent.symbol.exports)==null?void 0:h.get("export="))==null?void 0:k.valueDeclaration)==null?void 0:S.expression;if(!N)return;const O=t.getSymbolAtLocation(N);if(!O)return;if(((O==null?void 0:O.flags)&2097152?t.getAliasedSymbol(O):O)===d.symbol)return w.parent.parent;function U(M){for(;M.flags&4;)M=M.parent;return M}})[0];if(f)return f.name.text}function LCe(e,t,n,s,l){for(const d in t)for(const g of t[d]){const h=Co(g),k=h.indexOf("*"),S=n.map(w=>({ending:w,value:kD(e,[w],l)}));if(Jg(h)&&S.push({ending:void 0,value:e}),k!==-1){const w=h.substring(0,k),N=h.substring(k+1);for(const{ending:O,value:L}of S)if(L.length>=w.length+N.length&&Qs(L,w)&&Ul(L,N)&&f({ending:O,value:L})){const U=L.substring(w.length,L.length-N.length);return d.replace("*",U)}}else if(Oe(S,w=>w.ending!==0&&h===w.value)||Oe(S,w=>w.ending===0&&h===w.value&&f(w)))return d}function f({ending:d,value:g}){return d!==0||g===kD(e,[d],l,s)}}function BU(e,t,n,s,l,f,d=0){if(typeof l=="string"){const g=oa(_s(n,l),void 0),h=E5(t)?B_(t)+jU(t,e):void 0;switch(d){case 0:if(lx(t,g)===0||h&&lx(h,g)===0)return{moduleFileToTry:s};break;case 1:if(sv(g,t)){const N=Uh(g,t,!1);return{moduleFileToTry:oa(_s(_s(s,l),N),void 0)}}break;case 2:const k=g.indexOf("*"),S=g.slice(0,k),w=g.slice(k+1);if(Qs(t,S)&&Ul(t,w)){const N=t.slice(S.length,t.length-w.length);return{moduleFileToTry:s.replace("*",N)}}if(h&&Qs(h,S)&&Ul(h,w)){const N=h.slice(S.length,h.length-w.length);return{moduleFileToTry:s.replace("*",N)}}break}}else{if(Array.isArray(l))return Q(l,g=>BU(e,t,n,s,g,f));if(typeof l=="object"&&l!==null){if(IU(l))return Q(wy(l),g=>{const h=oa(_s(s,g),void 0),k=Ul(g,"/")?1:nf(g,"*")?2:0;return BU(e,t,n,h,l[g],f,k)});for(const g of wy(l))if(g==="default"||f.indexOf(g)>=0||UO(f,g)){const h=l[g],k=BU(e,t,n,s,h,f);if(k)return k}}}}function iKe(e,t,n,s,l,f){const d=MCe(t,e,s);if(d===void 0)return;const g=MCe(n,e,s),h=mn(g,S=>qt(d,w=>lT(Uh(S,w,s)))),k=hY(h,A5);if(k)return kD(k,l,f)}function Mne({path:e,isRedirect:t},{getCanonicalFileName:n,sourceDirectory:s},l,f,d,g,h,k){if(!f.fileExists||!f.readFile)return;const S=dte(e);if(!S)return;const N=FU(g,d,l).getAllowedEndingsInPreferredOrder();let O=e,L=!1;if(!h){let ue=S.packageRootIndex,ie;for(;;){const{moduleFileToTry:se,packageRootPath:V,blockedByExports:ve,verbatimFromExports:fe}=Z(ue);if(vl(d)!==1){if(ve)return;if(fe)return se}if(V){O=V,L=!0;break}if(ie||(ie=se),ue=e.indexOf(hc,ue+1),ue===-1){O=kD(ie,N,d,f);break}}}if(t&&!L)return;const U=f.getGlobalTypingsCacheLocation&&f.getGlobalTypingsCacheLocation(),M=n(O.substring(0,S.topLevelNodeModulesIndex));if(!(Qs(s,M)||U&&Qs(n(U),M)))return;const W=O.substring(S.topLevelPackageNameIndex+1),X=zO(W);return vl(d)===1&&X===W?void 0:X;function Z(ue){var ie,se;const V=e.substring(0,ue),ve=_s(V,"package.json");let fe=e,Ce=!1;const _e=(se=(ie=f.getPackageJsonInfoCache)==null?void 0:ie.call(f))==null?void 0:se.getPackageJsonInfo(ve);if(typeof _e=="object"||_e===void 0&&f.fileExists(ve)){const K=(_e==null?void 0:_e.contents.packageJsonContent)||JSON.parse(f.readFile(ve)),ge=k||l.impliedNodeFormat;if(Qee(d)){const Pe=V.substring(S.topLevelPackageNameIndex+1),le=zO(Pe),ot=O4(d,ge===99),Qe=K.exports?BU(d,e,V,le,K.exports,ot):void 0;if(Qe)return{...E5(Qe.moduleFileToTry)?{moduleFileToTry:B_(Qe.moduleFileToTry)+jU(Qe.moduleFileToTry,d)}:Qe,verbatimFromExports:!0};if(K.exports)return{moduleFileToTry:e,blockedByExports:!0}}const Se=K.typesVersions?kU(K.typesVersions):void 0;if(Se){const Pe=e.slice(V.length+1),le=LCe(Pe,Se.paths,N,f,d);le===void 0?Ce=!0:fe=_s(V,le)}const we=K.typings||K.types||K.main||"index.js";if(ha(we)&&!(Ce&&ate(Hj(Se.paths),we))){const Pe=wc(we,V,n);if(B_(Pe)===B_(n(fe)))return{packageRootPath:V,moduleFileToTry:fe}}}else{const K=n(fe.substring(S.packageRootIndex+1));if(K==="index.d.ts"||K==="index.js"||K==="index.ts"||K==="index.tsx")return{moduleFileToTry:fe,packageRootPath:V}}return{moduleFileToTry:fe}}}function sKe(e,t){if(!e.fileExists)return;const n=Vn(BP({allowJs:!0},[{extension:"node",isMixedContent:!1},{extension:"json",isMixedContent:!1,scriptKind:6}]));for(const s of n){const l=t+s;if(e.fileExists(l))return l}}function MCe(e,t,n){return fr(t,s=>{const l=RCe(e,s,n);return l!==void 0&&BCe(l)?void 0:l})}function kD(e,t,n,s){if(cu(e,[".json",".mjs",".cjs"]))return e;const l=B_(e);if(e===l)return e;if(cu(e,[".d.mts",".mts",".d.cts",".cts"]))return l+Fne(e,n);if(!cu(e,[".d.ts"])&&cu(e,[".ts"])&&nf(e,".d."))return FCe(e);switch(t[0]){case 0:const f=_6(l,"/index");return s&&f!==l&&sKe(s,f)?l:f;case 1:return l;case 2:return l+Fne(e,n);case 3:if(s_(e)){const d=t.findIndex(h=>h===0||h===1),g=t.indexOf(2);return d!==-1&&d<g?l:l+Fne(e,n)}return e;default:return R.assertNever(t[0])}}function FCe(e){const t=sf(e);if(!Ul(e,".ts")||!nf(t,".d.")||cu(t,[".d.ts"]))return;const n=P5(e,".ts"),s=n.substring(n.lastIndexOf("."));return n.substring(0,n.indexOf(".d."))+s}function Fne(e,t){var n;return(n=jU(e,t))!=null?n:R.fail(`Extension ${N5(e)} is unsupported:: FileName:: ${e}`)}function jU(e,t){const n=Jg(e);switch(n){case".ts":case".d.ts":return".js";case".tsx":return t.jsx===1?".jsx":".js";case".js":case".jsx":case".json":return n;case".d.mts":case".mts":case".mjs":return".mjs";case".d.cts":case".cts":case".cjs":return".cjs";default:return}}function RCe(e,t,n){const s=wC(t,e,t,n,!1);return Jh(s)?void 0:s}function BCe(e){return Qs(e,"..")}var jCe=p({"src/compiler/moduleSpecifiers.ts"(){aa()}}),BT={};T(BT,{countPathComponents:()=>$O,forEachFileNameOfModule:()=>NCe,getModuleSpecifier:()=>RU,getModuleSpecifiers:()=>wCe,getModuleSpecifiersWithCacheInfo:()=>ECe,getNodeModulesPackageName:()=>eKe,tryGetJSExtensionForFile:()=>jU,tryGetModuleSpecifiersFromCache:()=>tKe,tryGetRealFileNameForNonJsDeclarationFileName:()=>FCe,updateModuleSpecifier:()=>KZe});var Rne=p({"src/compiler/_namespaces/ts.moduleSpecifiers.ts"(){jCe()}});function aKe(){this.flags=0}function Wo(e){return e.id||(e.id=Une,Une++),e.id}function Ha(e){return e.id||(e.id=Jne,Jne++),e.id}function Bne(e,t){const n=$y(e);return n===1||t&&n===2}function JCe(e){var t=h_(()=>{var r=new Map;return e.getSourceFiles().forEach(c=>{c.resolvedModules&&c.resolvedModules.forEach(({resolvedModule:_})=>{_!=null&&_.packageId&&r.set(_.packageId.name,_.extension===".d.ts"||!!r.get(_.packageId.name))})}),r}),n=[],s=r=>{n.push(r)},l,f=new Set,d,g,h=Pu.getSymbolConstructor(),k=Pu.getTypeConstructor(),S=Pu.getSignatureConstructor(),w=0,N=0,O=0,L=0,U=0,M=0,W,X,Z=!1,ue=Ma(),ie=[1],se=e.getCompilerOptions(),V=Io(se),ve=Hu(se),fe=!!se.experimentalDecorators,Ce=C5(se),_e=GC(se),K=bd(se,"strictNullChecks"),ge=bd(se,"strictFunctionTypes"),Se=bd(se,"strictBindCallApply"),we=bd(se,"strictPropertyInitialization"),Pe=bd(se,"noImplicitAny"),le=bd(se,"noImplicitThis"),ot=bd(se,"useUnknownInCatchVariables"),Qe=!!se.keyofStringsOnly,Ge=se.suppressExcessPropertyErrors?0:8192,tt=se.exactOptionalPropertyTypes,Je=NTt(),qe=cCt(),st=Ja(),Ke=Ma(),We=Oo(4,"undefined");We.declarations=[];var gt=Oo(1536,"globalThis",8);gt.exports=Ke,gt.declarations=[],Ke.set(gt.escapedName,gt);var jt=Oo(4,"arguments"),It=Oo(4,"require"),er=se.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules",ft;const mt={getNodeCount:()=>Cf(e.getSourceFiles(),(r,c)=>r+c.nodeCount,0),getIdentifierCount:()=>Cf(e.getSourceFiles(),(r,c)=>r+c.identifierCount,0),getSymbolCount:()=>Cf(e.getSourceFiles(),(r,c)=>r+c.symbolCount,N),getTypeCount:()=>w,getInstantiationCount:()=>O,getRelationCacheSizes:()=>({assignable:k_.size,identity:w_.size,subtype:lg.size,strictSubtype:ad.size}),isUndefinedSymbol:r=>r===We,isArgumentsSymbol:r=>r===jt,isUnknownSymbol:r=>r===Tr,getMergedSymbol:Fo,getDiagnostics:tRe,getGlobalDiagnostics:wkt,getRecursionIdentity:x3,getUnmatchedProperties:Mpe,getTypeOfSymbolAtLocation:(r,c)=>{const _=qs(c);return _?wvt(r,_):Ne},getTypeOfSymbol:En,getSymbolsOfParameterPropertyDeclaration:(r,c)=>{const _=qs(r,ua);return _===void 0?R.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node."):(R.assert(sp(_,_.parent)),iS(_,Vc(c)))},getDeclaredTypeOfSymbol:Tc,getPropertiesOfType:Ho,getPropertyOfType:(r,c)=>Ra(r,Vc(c)),getPrivateIdentifierPropertyOfType:(r,c,_)=>{const m=qs(_);if(!m)return;const b=Vc(c),x=SH(b,m);return x?gde(r,x):void 0},getTypeOfPropertyOfType:(r,c)=>Yl(r,Vc(c)),getIndexInfoOfType:(r,c)=>vg(r,c===0?ye:wt),getIndexInfosOfType:gf,getIndexInfosOfIndexSymbol:I_e,getSignaturesOfType:ya,getIndexTypeOfType:(r,c)=>b0(r,c===0?ye:wt),getIndexType:r=>Sh(r),getBaseTypes:_o,getBaseTypeOfLiteralType:V1,getWidenedType:Z_,getTypeFromTypeNode:r=>{const c=qs(r,ps);return c?Bi(c):Ne},getParameterType:pm,getParameterIdentifierNameAtPosition:H2t,getPromisedTypeOfPromise:pN,getAwaitedType:r=>VS(r),getReturnTypeOfSignature:Xo,isNullableType:TH,getNullableType:ZW,getNonNullableType:w0,getNonOptionalType:wpe,getTypeArguments:Go,typeToTypeNode:st.typeToTypeNode,indexInfoToIndexSignatureDeclaration:st.indexInfoToIndexSignatureDeclaration,signatureToSignatureDeclaration:st.signatureToSignatureDeclaration,symbolToEntityName:st.symbolToEntityName,symbolToExpression:st.symbolToExpression,symbolToNode:st.symbolToNode,symbolToTypeParameterDeclarations:st.symbolToTypeParameterDeclarations,symbolToParameterDeclaration:st.symbolToParameterDeclaration,typeParameterToDeclaration:st.typeParameterToDeclaration,getSymbolsInScope:(r,c)=>{const _=qs(r);return _?Ekt(_,c):[]},getSymbolAtLocation:r=>{const c=qs(r);return c?Od(c,!0):void 0},getIndexInfosAtLocation:r=>{const c=qs(r);return c?Lkt(c):void 0},getShorthandAssignmentValueSymbol:r=>{const c=qs(r);return c?Mkt(c):void 0},getExportSpecifierLocalTargetSymbol:r=>{const c=qs(r,i_);return c?Fkt(c):void 0},getExportSymbolOfSymbol(r){return Fo(r.exportSymbol||r)},getTypeAtLocation:r=>{const c=qs(r);return c?Bk(c):Ne},getTypeOfAssignmentPattern:r=>{const c=qs(r,tP);return c&&QH(c)||Ne},getPropertySymbolOfDestructuringAssignment:r=>{const c=qs(r,Ye);return c?Rkt(c):void 0},signatureToString:(r,c,_,m)=>he(r,qs(c),_,m),typeToString:(r,c,_)=>Me(r,qs(c),_),symbolToString:(r,c,_,m)=>A(r,qs(c),_,m),typePredicateToString:(r,c,_)=>Vu(r,qs(c),_),writeSignature:(r,c,_,m,b)=>he(r,qs(c),_,m,b),writeType:(r,c,_,m)=>Me(r,qs(c),_,m),writeSymbol:(r,c,_,m,b)=>A(r,qs(c),_,m,b),writeTypePredicate:(r,c,_,m)=>Vu(r,qs(c),_,m),getAugmentedPropertiesOfType:hme,getRootSymbols:cRe,getSymbolOfExpando:DH,getContextualType:(r,c)=>{const _=qs(r,Dt);if(_)return c&4?dr(_,()=>e_(_,c)):e_(_,c)},getContextualTypeForObjectLiteralElement:r=>{const c=qs(r,X0);return c?ide(c,void 0):void 0},getContextualTypeForArgumentAtIndex:(r,c)=>{const _=qs(r,NC);return _&&nde(_,c)},getContextualTypeForJsxAttribute:r=>{const c=qs(r,JB);return c&&CLe(c,void 0)},isContextSensitive:Nd,getTypeOfPropertyOfContextualType:JS,getFullyQualifiedName:ey,getResolvedSignature:(r,c,_)=>rn(r,c,_,0),getResolvedSignatureForStringLiteralCompletions:(r,c,_)=>dr(c,()=>rn(r,_,void 0,32)),getResolvedSignatureForSignatureHelp:(r,c,_)=>xr(r,()=>rn(r,c,_,16)),getExpandedParameters:O5e,hasEffectiveRestParameter:Ch,containsArgumentsReference:A_e,getConstantValue:r=>{const c=qs(r,pRe);return c?gme(c):void 0},isValidPropertyAccess:(r,c)=>{const _=qs(r,Sbe);return!!_&&s2t(_,Vc(c))},isValidPropertyAccessForCompletions:(r,c,_)=>{const m=qs(r,oi);return!!m&&tMe(m,c,_)},getSignatureFromDeclaration:r=>{const c=qs(r,Sa);return c?Bm(c):void 0},isImplementationOfOverload:r=>{const c=qs(r,Sa);return c?fRe(c):void 0},getImmediateAliasedSymbol:cde,getAliasedSymbol:jl,getEmitResolver:a3,getExportsOfModule:x1,getExportsAndPropertiesOfModule:wk,forEachExportAndPropertyOfModule:Qv,getSymbolWalker:xCe(Xgt,ld,Xo,_o,um,En,Id,hf,Dp,Go),getAmbientModules:ZCt,getJsxIntrinsicTagNamesAt:Bbt,isOptionalParameter:r=>{const c=qs(r,ua);return c?L8(c):!1},tryGetMemberInModuleExports:(r,c)=>l0(Vc(r),c),tryGetMemberInModuleExportsAndProperties:(r,c)=>jp(Vc(r),c),tryFindAmbientModule:r=>E_e(r,!0),tryFindAmbientModuleWithoutAugmentations:r=>E_e(r,!1),getApparentType:Jf,getUnionType:bi,isTypeAssignableTo:io,createAnonymousType:pc,createSignature:yg,createSymbol:Oo,createIndexInfo:Th,getAnyType:()=>Fe,getStringType:()=>ye,getNumberType:()=>wt,createPromiseType:NM,createArrayType:yf,getElementTypeOfArrayType:Tpe,getBooleanType:()=>Be,getFalseType:r=>r?dt:ne,getTrueType:r=>r?$e:ce,getVoidType:()=>$t,getUndefinedType:()=>Ze,getNullType:()=>qr,getESSymbolType:()=>te,getNeverType:()=>At,getOptionalType:()=>wr,getPromiseType:()=>XL(!1),getPromiseLikeType:()=>gOe(!1),getAsyncIterableType:()=>{const r=PW(!1);if(r!==Ka)return r},isSymbolAccessible:E1,isArrayType:Wp,isTupleType:po,isArrayLikeType:db,isEmptyAnonymousObjectType:py,isTypeInvalidDueToUnionDiscriminant:Ngt,getExactOptionalProperties:r1t,getAllPossiblePropertiesOfTypes:Igt,getSuggestedSymbolForNonexistentProperty:bde,getSuggestionForNonexistentProperty:Tde,getSuggestedSymbolForNonexistentJSXAttribute:KLe,getSuggestedSymbolForNonexistentSymbol:(r,c,_)=>Sde(r,Vc(c),_),getSuggestionForNonexistentSymbol:(r,c,_)=>t2t(r,Vc(c),_),getSuggestedSymbolForNonexistentModule:kH,getSuggestionForNonexistentExport:r2t,getSuggestedSymbolForNonexistentClassMember:ZLe,getBaseConstraintOfType:jf,getDefaultFromTypeParameter:r=>r&&r.flags&262144?AS(r):void 0,resolveName(r,c,_,m){return Xc(c,Vc(r),_,void 0,void 0,!1,m)},getJsxNamespace:r=>Ds(u2(r)),getJsxFragmentFactory:r=>{const c=vme(r);return c&&Ds(Dp(c).escapedText)},getAccessibleSymbolChain:Kv,getTypePredicateOfSignature:ld,resolveExternalModuleName:r=>{const c=qs(r,Dt);return c&&Ku(c,c,!0)},resolveExternalModuleSymbol:l_,tryGetThisTypeAt:(r,c,_)=>{const m=qs(r);return m&&Zpe(m,c,_)},getTypeArgumentConstraint:r=>{const c=qs(r,ps);return c&&uSt(c)},getSuggestionDiagnostics:(r,c)=>{const _=qs(r,bs)||R.fail("Could not determine parsed source file.");if(jP(_,se,e))return pt;let m;try{return l=c,dme(_),R.assert(!!(gi(_).flags&1)),m=Oi(m,tS.getDiagnostics(_.fileName)),mFe(eRe(_),(b,x,D)=>{!E7(b)&&!KFe(x,!!(b.flags&16777216))&&(m||(m=[])).push({...D,category:2})}),m||pt}finally{l=void 0}},runWithCancellationToken:(r,c)=>{try{return l=r,c(mt)}finally{l=void 0}},getLocalTypeParametersOfClassOrInterfaceOrTypeAlias:L1,isDeclarationVisible:Pd,isPropertyAccessible:kde,getTypeOnlyAliasDeclaration:E_,getMemberOverrideModifierStatus:Uxt,isTypeParameterPossiblyReferenced:tM,typeHasCallOrConstructSignatures:YH};function xr(r,c){const _=kn(r,NC),m=_&&gi(_).resolvedSignature;_&&(gi(_).resolvedSignature=void 0);const b=c();return _&&(gi(_).resolvedSignature=m),b}function dr(r,c){const _=kn(r,NC);if(_){let b=r;do gi(b).skipDirectInference=!0,b=b.parent;while(b&&b!==_)}Z=!0;const m=xr(r,c);if(Z=!1,_){let b=r;do gi(b).skipDirectInference=void 0,b=b.parent;while(b&&b!==_)}return m}function rn(r,c,_,m){const b=qs(r,NC);ft=_;const x=b?L3(b,c,m):void 0;return ft=void 0,x}var un=new Map,Gr=new Map,mr=new Map,Fn=new Map,ts=new Map,ws=new Map,Es=new Map,ii=new Map,Rt=new Map,Rr=new Map,rr=new Map,Pr=new Map,Cn=new Map,Nn=new Map,cs=[],qi=new Map,en=new Set,Tr=Oo(4,"unknown"),nn=Oo(0,"__resolving__"),Xn=new Map,_i=new Map,Fe=Ol(1,"any"),Pt=Ol(1,"any",262144),Ht=Ol(1,"any"),Ne=Ol(1,"error"),kt=Ol(1,"unresolved"),Te=Ol(1,"any",65536),pe=Ol(1,"intrinsic"),xe=Ol(2,"unknown"),Y=Ol(2,"unknown"),Ze=Ol(32768,"undefined"),ct=K?Ze:Ol(32768,"undefined",65536),it=Ol(32768,"undefined"),Kt=tt?it:Ze,wr=Ol(32768,"undefined"),qr=Ol(65536,"null"),qn=K?qr:Ol(65536,"null",65536),ye=Ol(4,"string"),wt=Ol(8,"number"),nr=Ol(64,"bigint"),dt=Ol(512,"false"),ne=Ol(512,"false"),$e=Ol(512,"true"),ce=Ol(512,"true");$e.regularType=ce,$e.freshType=$e,ce.regularType=ce,ce.freshType=$e,dt.regularType=ne,dt.freshType=dt,ne.regularType=ne,ne.freshType=dt;var Be=bi([ne,ce]),te=Ol(4096,"symbol"),$t=Ol(16384,"void"),At=Ol(131072,"never"),St=Ol(131072,"never",262144),Dr=Ol(131072,"never"),yn=Ol(131072,"never"),Di=Ol(67108864,"object"),Yi=bi([ye,wt]),Zi=bi([ye,wt,te]),hs=Qe?ye:Zi,za=bi([wt,nr]),Xa=bi([ye,wt,Be,nr,qr,Ze]),Ia=DS(["",""],[wt]),Fs=eM(r=>r.flags&262144?P0t(r):r,()=>"(restrictive mapper)"),gs=eM(r=>r.flags&262144?Ht:r,()=>"(permissive mapper)"),vi=Ol(131072,"never"),Bo=eM(r=>r.flags&262144?vi:r,()=>"(unique literal mapper)"),Ji,Rs=eM(r=>(Ji&&(r===$_||r===Vl||r===Lu)&&Ji(!0),r),()=>"(unmeasurable reporter)"),Qr=eM(r=>(Ji&&(r===$_||r===Vl||r===Lu)&&Ji(!1),r),()=>"(unreliable reporter)"),js=pc(void 0,ue,pt,pt,pt),Rl=pc(void 0,ue,pt,pt,pt);Rl.objectFlags|=2048;var jc=Oo(2048,"__type");jc.members=Ma();var Sl=pc(jc,ue,pt,pt,pt),Nl=pc(void 0,ue,pt,pt,pt),xl=K?bi([Ze,qr,Nl]):xe,Ka=pc(void 0,ue,pt,pt,pt);Ka.instantiations=new Map;var ea=pc(void 0,ue,pt,pt,pt);ea.objectFlags|=262144;var Ao=pc(void 0,ue,pt,pt,pt),kl=pc(void 0,ue,pt,pt,pt),zu=pc(void 0,ue,pt,pt,pt),$_=A_(),Vl=A_();Vl.constraint=$_;var Lu=A_(),fc=A_(),Kc=A_();Kc.constraint=fc;var Fc=HL(1,"<<unresolved>>",0,Fe),Pc=yg(void 0,void 0,void 0,pt,Fe,void 0,0,0),br=yg(void 0,void 0,void 0,pt,Ne,void 0,0,0),Cl=yg(void 0,void 0,void 0,pt,Fe,void 0,0,0),df=yg(void 0,void 0,void 0,pt,St,void 0,0,0),Rf=Th(wt,ye,!0),be=new Map,Ut={get yieldType(){return R.fail("Not supported")},get returnType(){return R.fail("Not supported")},get nextType(){return R.fail("Not supported")}},tr=P0(Fe,Fe,Fe),oe=P0(Fe,Fe,xe),ht=P0(At,Fe,Ze),Ft={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:uyt,getGlobalIterableType:PW,getGlobalIterableIteratorType:fyt,getGlobalGeneratorType:_yt,resolveIterationType:VS,mustHaveANextMethodDiagnostic:v.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:v.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:v.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property},Or={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:pyt,getGlobalIterableType:J_e,getGlobalIterableIteratorType:dyt,getGlobalGeneratorType:myt,resolveIterationType:(r,c)=>r,mustHaveANextMethodDiagnostic:v.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:v.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:v.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property},ti,si=new Map,Ws=!1,jo,Va,vo,ka,Hc,Ql,a_,Zo,zo,Gc,q_,wl,Fp,De,Vt,tn,ks,eo,de,bt,Yt,Xt,Er,ln,ri,wi,ls,da,bo,tc,Dc,o_,mp,Bl,W_,mf,hp,Cd,Po,wd,gp,em,Dm,G,lt,ir,gn,na,ta,Le,Xe,Jt,Gt,Lr,Jr=new Map,Vr=0,fn=0,hi=0,Ts=!1,xn=0,Nr,On,Ys,Nc=[],$l=[],cg=[],Xy=0,tm=[],i2=[],Fv=0,Ww=qp(""),pk=Jm(0),Hw=MW({negative:!1,base10Value:"0"}),Qy=[],rm=[],Rv=[],Yg=0,Nm=10,Bv=[],XT=[],s2=[],Yy=[],dk=[],QT=[],YT=[],ZT=[],jv=[],Gw=[],KT=[],eS=[],Jv=[],a2=[],Uv=[],mk=[],Zy=[],Do=H6(),tS=H6(),s3=mg(),m1,Ky,lg=new Map,ad=new Map,k_=new Map,C_=new Map,w_=new Map,o2=new Map,c2=Ma();c2.set(We.escapedName,We);var Xw=[[".mts",".mjs"],[".ts",".js"],[".cts",".cjs"],[".mjs",".mjs"],[".js",".js"],[".cjs",".cjs"],[".tsx",se.jsx===1?".jsx":".js"],[".jsx",".jsx"],[".json",".json"]];return lCt(),mt;function l2(r){return r?Nn.get(r):void 0}function e0(r,c){return r&&Nn.set(r,c),c}function u2(r){if(r){const c=bn(r);if(c)if(mw(r)){if(c.localJsxFragmentNamespace)return c.localJsxFragmentNamespace;const _=c.pragmas.get("jsxfrag");if(_){const b=pa(_)?_[0]:_;if(c.localJsxFragmentFactory=bw(b.arguments.factory,V),yt(c.localJsxFragmentFactory,f2,ap),c.localJsxFragmentFactory)return c.localJsxFragmentNamespace=Dp(c.localJsxFragmentFactory).escapedText}const m=vme(r);if(m)return c.localJsxFragmentFactory=m,c.localJsxFragmentNamespace=Dp(m).escapedText}else{const _=hk(c);if(_)return c.localJsxNamespace=_}}return m1||(m1="React",se.jsxFactory?(Ky=bw(se.jsxFactory,V),yt(Ky,f2),Ky&&(m1=Dp(Ky).escapedText)):se.reactNamespace&&(m1=Vc(se.reactNamespace))),Ky||(Ky=J.createQualifiedName(J.createIdentifier(Ds(m1)),"createElement")),m1}function hk(r){if(r.localJsxNamespace)return r.localJsxNamespace;const c=r.pragmas.get("jsx");if(c){const _=pa(c)?c[0]:c;if(r.localJsxFactory=bw(_.arguments.factory,V),yt(r.localJsxFactory,f2,ap),r.localJsxFactory)return r.localJsxNamespace=Dp(r.localJsxFactory).escapedText}}function f2(r){return Kh(r,-1,-1),an(r,f2,qy)}function a3(r,c){return tRe(r,c),qe}function Qw(r,c,_,m,b,x){const D=r?ni(r,c,_,m,b,x):gc(c,_,m,b,x),j=Do.lookup(D);return j||(Do.add(D),D)}function zv(r,c,_,m,b,x,D){const j=nt(c,_,m,b,x,D);return j.skippedOn=r,j}function rS(r,c,_,m,b,x){return r?ni(r,c,_,m,b,x):gc(c,_,m,b,x)}function nt(r,c,_,m,b,x){const D=rS(r,c,_,m,b,x);return Do.add(D),D}function h1(r,c){r?Do.add(c):tS.add({...c,category:2})}function fh(r,c,_,m,b,x,D){if(c.pos<0||c.end<0){if(!r)return;const j=bn(c);h1(r,"message"in _?gu(j,0,0,_,m,b,x,D):$K(j,_));return}h1(r,"message"in _?ni(c,_,m,b,x,D):Ly(bn(c),c,_))}function Vv(r,c,_,m,b,x,D){const j=nt(r,_,m,b,x,D);if(c){const $=ni(r,v.Did_you_forget_to_use_await);Eo(j,$)}return j}function _2(r,c){const _=Array.isArray(r)?Q(r,ZZ):ZZ(r);return _&&Eo(c,ni(_,v.The_declaration_was_marked_as_deprecated_here)),tS.add(c),c}function $v(r){if(H(r.declarations)>1){const c=u_(r);if(c&&c.flags&64)return Oe(r.declarations,_=>!!(ym(_)&268435456))}return!!(bH(r)&268435456)}function t0(r,c,_){const m=ni(r,v._0_is_deprecated,_);return _2(c,m)}function gk(r,c,_,m){const b=_?ni(r,v.The_signature_0_of_1_is_deprecated,m,_):ni(r,v._0_is_deprecated,m);return _2(c,b)}function Oo(r,c,_){N++;const m=new h(r|33554432,c);return m.links=new $ne,m.links.checkFlags=_||0,m}function nm(r,c){const _=Oo(1,r);return _.links.type=c,_}function nS(r,c){const _=Oo(4,r);return _.links.type=c,_}function nu(r){let c=0;return r&2&&(c|=111551),r&1&&(c|=111550),r&4&&(c|=0),r&8&&(c|=900095),r&16&&(c|=110991),r&32&&(c|=899503),r&64&&(c|=788872),r&256&&(c|=899327),r&128&&(c|=899967),r&512&&(c|=110735),r&8192&&(c|=103359),r&32768&&(c|=46015),r&65536&&(c|=78783),r&262144&&(c|=526824),r&524288&&(c|=788968),r&2097152&&(c|=2097152),c}function Zg(r,c){c.mergeId||(c.mergeId=zne,zne++),Bv[c.mergeId]=r}function p2(r){const c=Oo(r.flags,r.escapedName);return c.declarations=r.declarations?r.declarations.slice():[],c.parent=r.parent,r.valueDeclaration&&(c.valueDeclaration=r.valueDeclaration),r.constEnumOnlyModule&&(c.constEnumOnlyModule=!0),r.members&&(c.members=new Map(r.members)),r.exports&&(c.exports=new Map(r.exports)),Zg(c,r),c}function im(r,c,_=!1){if(!(r.flags&nu(c.flags))||(c.flags|r.flags)&67108864){if(c===r)return r;if(!(r.flags&33554432)){const b=Il(r);if(b===Tr)return c;r=p2(b)}c.flags&512&&r.flags&512&&r.constEnumOnlyModule&&!c.constEnumOnlyModule&&(r.constEnumOnlyModule=!1),r.flags|=c.flags,c.valueDeclaration&&W7(r,c.valueDeclaration),Oi(r.declarations,c.declarations),c.members&&(r.members||(r.members=Ma()),Tu(r.members,c.members,_)),c.exports&&(r.exports||(r.exports=Ma()),Tu(r.exports,c.exports,_)),_||Zg(r,c)}else if(r.flags&1024)r!==gt&&nt(c.declarations&&ra(c.declarations[0]),v.Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity,A(r));else{const b=!!(r.flags&384||c.flags&384),x=!!(r.flags&2||c.flags&2),D=b?v.Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:x?v.Cannot_redeclare_block_scoped_variable_0:v.Duplicate_identifier_0,j=c.declarations&&bn(c.declarations[0]),$=r.declarations&&bn(r.declarations[0]),re=qB(j,se.checkJs),ae=qB($,se.checkJs),ke=A(c);if(j&&$&&ti&&!b&&j!==$){const je=lx(j.path,$.path)===-1?j:$,Re=je===j?$:j,Ct=ei(ti,`${je.path}|${Re.path}`,()=>({firstFile:je,secondFile:Re,conflictingSymbols:new Map})),Qt=ei(Ct.conflictingSymbols,ke,()=>({isBlockScoped:x,firstFileLocations:[],secondFileLocations:[]}));re||m(Qt.firstFileLocations,c),ae||m(Qt.secondFileLocations,r)}else re||d2(c,D,ke,r),ae||d2(r,D,ke,c)}return r;function m(b,x){if(x.declarations)for(const D of x.declarations)ip(b,D)}}function d2(r,c,_,m){Q(r.declarations,b=>{Yu(b,c,_,m.declarations)})}function Yu(r,c,_,m){const b=(Bb(r,!1)?nee(r):ra(r))||r,x=Qw(b,c,_);for(const D of m||pt){const j=(Bb(D,!1)?nee(D):ra(D))||D;if(j===b)continue;x.relatedInformation=x.relatedInformation||[];const $=ni(j,v._0_was_also_declared_here,_),re=ni(j,v.and_here);H(x.relatedInformation)>=5||Oe(x.relatedInformation,ae=>MP(ae,re)===0||MP(ae,$)===0)||Eo(x,H(x.relatedInformation)?re:$)}}function r0(r,c){if(!(r!=null&&r.size))return c;if(!(c!=null&&c.size))return r;const _=Ma();return Tu(_,r),Tu(_,c),_}function Tu(r,c,_=!1){c.forEach((m,b)=>{const x=r.get(b);r.set(b,x?im(x,m,_):Fo(m))})}function yk(r){var c,_,m;const b=r.parent;if(((c=b.symbol.declarations)==null?void 0:c[0])!==b){R.assert(b.symbol.declarations.length>1);return}if(Km(b))Tu(Ke,b.symbol.exports);else{const x=r.parent.parent.flags&16777216?void 0:v.Invalid_module_name_in_augmentation_module_0_cannot_be_found;let D=ry(r,r,x,!0);if(!D)return;if(D=l_(D),D.flags&1920)if(Oe(Va,j=>D===j.symbol)){const j=im(b.symbol,D,!0);vo||(vo=new Map),vo.set(r.text,j)}else{if((_=D.exports)!=null&&_.get("__export")&&((m=b.symbol.exports)!=null&&m.size)){const j=c_e(D,"resolvedExports");for(const[$,re]of ao(b.symbol.exports.entries()))j.has($)&&!D.exports.has($)&&im(j.get($),re)}im(D,b.symbol)}else nt(r,v.Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity,r.text)}}function o3(r,c,_){c.forEach((b,x)=>{const D=r.get(x);D?Q(D.declarations,m(Ds(x),_)):r.set(x,b)});function m(b,x){return D=>Do.add(ni(D,x,b))}}function ys(r){var c;if(r.flags&33554432)return r.links;const _=Ha(r);return(c=XT[_])!=null?c:XT[_]=new $ne}function gi(r){const c=Wo(r);return s2[c]||(s2[c]=new aKe)}function ug(r){return r.kind===308&&!lp(r)}function H_(r,c,_){if(_){const m=Fo(r.get(c));if(m&&(R.assert((ul(m)&1)===0,"Should never get an instantiated symbol here."),m.flags&_||m.flags&2097152&&Zu(m)&_))return m}}function iS(r,c){const _=r.parent,m=r.parent.parent,b=H_(_.locals,c,111551),x=H_(M1(m.symbol),c,111551);return b&&x?[b,x]:R.fail("There should exist two symbols, one as property declaration and one as parameter declaration")}function n0(r,c){const _=bn(r),m=bn(c),b=Hh(r);if(_!==m){if(ve&&(_.externalModuleIndicator||m.externalModuleIndicator)||!Ec(se)||E3(c)||r.flags&16777216||D(c,r))return!0;const $=e.getSourceFiles();return $.indexOf(_)<=$.indexOf(m)}if(r.pos<=c.pos&&!(Pa(r)&&L7(c.parent)&&!r.initializer&&!r.exclamationToken)){if(r.kind===205){const $=Jb(c,205);return $?kn($,qo)!==kn(r,qo)||r.pos<$.pos:n0(Jb(r,257),c)}else{if(r.kind===257)return!x(r,c);if(vu(r))return!kn(c,$=>ac($)&&$.parent.parent===r);if(Pa(r))return!j(r,c,!1);if(sp(r,r.parent))return!(Io(se)===99&&Ce&&uu(r)===uu(c)&&D(c,r))}return!0}if(c.parent.kind===278||c.parent.kind===274&&c.parent.isExportEquals||c.kind===274&&c.isExportEquals||c.flags&8388608||E3(c)||U9e(c))return!0;if(D(c,r))return Io(se)===99&&Ce&&uu(r)&&(Pa(r)||sp(r,r.parent))?!j(r,c,!0):!0;return!1;function x($,re){switch($.parent.parent.kind){case 240:case 245:case 247:if(_h(re,$,b))return!0;break}const ae=$.parent.parent;return k6(ae)&&_h(re,ae.expression,b)}function D($,re){return!!kn($,ae=>{if(ae===b)return"quit";if(Sa(ae))return!0;if(fl(ae))return re.pos<$.pos;const ke=Pi(ae.parent,Pa);if(ke&&ke.initializer===ae){if(ba(ae.parent)){if(re.kind===171)return!0;if(Pa(re)&&uu($)===uu(re)){const Re=re.name;if(Ye(Re)||as(Re)){const Ct=En(Zn(re)),Qt=hr(re.parent.members,fl);if(Hxt(Re,Ct,Qt,re.parent.pos,ae.pos))return!0}}}else if(!(re.kind===169&&!ba(re))||uu($)!==uu(re))return!0}return!1})}function j($,re,ae){return re.end>$.end?!1:kn(re,je=>{if(je===$)return"quit";switch(je.kind){case 216:return!0;case 169:return ae&&(Pa($)&&je.parent===$.parent||sp($,$.parent)&&je.parent===$.parent.parent)?"quit":!0;case 238:switch(je.parent.kind){case 174:case 171:case 175:return!0;default:return!1}default:return!1}})===void 0}}function Kg(r,c,_){const m=Io(se),b=c;if(ua(_)&&b.body&&r.valueDeclaration&&r.valueDeclaration.pos>=b.body.pos&&r.valueDeclaration.end<=b.body.end&&m>=2){const j=gi(b);return j.declarationRequiresScopeChange===void 0&&(j.declarationRequiresScopeChange=Q(b.parameters,x)||!1),!j.declarationRequiresScopeChange}return!1;function x(j){return D(j.name)||!!j.initializer&&D(j.initializer)}function D(j){switch(j.kind){case 216:case 215:case 259:case 173:return!1;case 171:case 174:case 175:case 299:return D(j.name);case 169:return tu(j)?m<99||!Ce:D(j.name);default:return nK(j)||cf(j)?m<7:qo(j)&&j.dotDotDotToken&&tg(j.parent)?m<4:ps(j)?!1:ca(j,D)||!1}}}function fg(r){return mx(r)&&Iy(r.type)||_D(r)&&Iy(r.typeExpression)}function Xc(r,c,_,m,b,x,D=!1,j=!0){return m2(r,c,_,m,b,x,D,j,H_)}function m2(r,c,_,m,b,x,D,j,$){var re,ae,ke;const je=r;let Re,Ct,Qt,sn,Zr,cn=!1;const Ir=r;let Wr,Un=!1;e:for(;r;){if(c==="const"&&fg(r))return;if($h(r)&&r.locals&&!ug(r)&&(Re=$(r.locals,c,_))){let Kr=!0;if(Sa(r)&&Ct&&Ct!==r.body?(_&Re.flags&788968&&Ct.kind!==323&&(Kr=Re.flags&262144?Ct===r.type||Ct.kind===166||Ct.kind===344||Ct.kind===345||Ct.kind===165:!1),_&Re.flags&3&&(Kg(Re,r,Ct)?Kr=!1:Re.flags&1&&(Kr=Ct.kind===166||Ct===r.type&&!!kn(Re.valueDeclaration,ua)))):r.kind===191&&(Kr=Ct===r.trueType),Kr)break e;Re=void 0}switch(cn=cn||h2(r,Ct),r.kind){case 308:if(!lp(r))break;Un=!0;case 264:const Kr=((re=Zn(r))==null?void 0:re.exports)||ue;if(r.kind===308||Pl(r)&&r.flags&16777216&&!Km(r)){if(Re=Kr.get("default")){const Ei=Q6(Re);if(Ei&&Re.flags&_&&Ei.escapedName===c)break e;Re=void 0}const xi=Kr.get(c);if(xi&&xi.flags===2097152&&(ol(xi,278)||ol(xi,277)))break}if(c!=="default"&&(Re=$(Kr,c,_&2623475)))if(bs(r)&&r.commonJsModuleIndicator&&!((ae=Re.declarations)!=null&&ae.some(gd)))Re=void 0;else break e;break;case 263:if(Re=$(((ke=Zn(r))==null?void 0:ke.exports)||ue,c,_&8)){m&&qd(se)&&!(r.flags&16777216)&&bn(r)!==bn(Re.valueDeclaration)&&nt(Ir,v.Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead,Ds(c),er,`${Ds(G_(r).escapedName)}.${Ds(c)}`);break e}break;case 169:if(!ba(r)){const xi=Zv(r.parent);xi&&xi.locals&&$(xi.locals,c,_&111551)&&(R.assertNode(r,Pa),sn=r)}break;case 260:case 228:case 261:if(Re=$(Zn(r).members||ue,c,_&788968)){if(!Yw(Re,r)){Re=void 0;break}if(Ct&&ba(Ct)){m&&nt(Ir,v.Static_members_cannot_reference_class_type_parameters);return}break e}if(If(r)&&_&32){const xi=r.name;if(xi&&c===xi.escapedText){Re=r.symbol;break e}}break;case 230:if(Ct===r.expression&&r.parent.token===94){const xi=r.parent.parent;if(Ri(xi)&&(Re=$(Zn(xi).members,c,_&788968))){m&&nt(Ir,v.Base_class_expressions_cannot_reference_class_type_parameters);return}}break;case 164:if(Wr=r.parent.parent,(Ri(Wr)||Wr.kind===261)&&(Re=$(Zn(Wr).members,c,_&788968))){m&&nt(Ir,v.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type);return}break;case 216:if(Io(se)>=2)break;case 171:case 173:case 174:case 175:case 259:if(_&3&&c==="arguments"){Re=jt;break e}break;case 215:if(_&3&&c==="arguments"){Re=jt;break e}if(_&16){const xi=r.name;if(xi&&c===xi.escapedText){Re=r.symbol;break e}}break;case 167:r.parent&&r.parent.kind===166&&(r=r.parent),r.parent&&(Eu(r.parent)||r.parent.kind===260)&&(r=r.parent);break;case 349:case 341:case 343:const dn=mP(r);dn&&(r=dn.parent);break;case 166:Ct&&(Ct===r.initializer||Ct===r.name&&xa(Ct))&&(Zr||(Zr=r));break;case 205:Ct&&(Ct===r.initializer||Ct===r.name&&xa(Ct))&&Ex(r)&&!Zr&&(Zr=r);break;case 192:if(_&262144){const xi=r.typeParameter.name;if(xi&&c===xi.escapedText){Re=r.typeParameter.symbol;break e}}break}bk(r)&&(Qt=r),Ct=r,r=xm(r)?Tj(r)||r.parent:(ch(r)||GJ(r))&&jb(r)||r.parent}if(x&&Re&&(!Qt||Re!==Qt.symbol)&&(Re.isReferenced|=_),!Re){if(Ct&&(R.assertNode(Ct,bs),Ct.commonJsModuleIndicator&&c==="exports"&&_&Ct.symbol.flags))return Ct.symbol;D||(Re=$(Ke,c,_))}if(!Re&&je&&Mn(je)&&je.parent&&v_(je.parent,!1))return It;function Ar(){return sn&&!(Ce&&Io(se)>=9)?(nt(Ir,Ir&&sn.type&&CB(sn.type,Ir.pos)?v.Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:v.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,uc(sn.name),od(b)),!0):!1}if(Re){if(m&&Ar())return}else{m&&s(()=>{if(!Ir||!Zw(Ir,c,b)&&!Ar()&&!qv(Ir)&&!Sk(Ir,c,_)&&!xk(Ir,c)&&!eE(Ir,c,_)&&!Rp(Ir,c,_)&&!Kw(Ir,c,_)){let Kr,dn;if(b&&(dn=Kbt(b),dn&&nt(Ir,m,od(b),dn)),!dn&&j&&Yg<Nm&&(Kr=Sde(je,c,_),(Kr==null?void 0:Kr.valueDeclaration)&&Af(Kr.valueDeclaration)&&Km(Kr.valueDeclaration)&&(Kr=void 0),Kr)){const Ei=A(Kr),Js=vde(je,Kr,!1),wa=_===1920||b&&typeof b!="string"&&Mc(b)?v.Cannot_find_namespace_0_Did_you_mean_1:Js?v.Could_not_find_name_0_Did_you_mean_1:v.Cannot_find_name_0_Did_you_mean_1,su=rS(Ir,wa,od(b),Ei);h1(!Js,su),Kr.valueDeclaration&&Eo(su,ni(Kr.valueDeclaration,v._0_is_declared_here,Ei))}!Kr&&!dn&&b&&nt(Ir,m,od(b)),Yg++}});return}return m&&s(()=>{if(Ir&&(_&2||(_&32||_&384)&&(_&111551)===111551)){const Kr=Mm(Re);(Kr.flags&2||Kr.flags&32||Kr.flags&384)&&y2(Kr,Ir)}if(Re&&Un&&(_&111551)===111551&&!(je.flags&8388608)){const Kr=Fo(Re);H(Kr.declarations)&&ut(Kr.declarations,dn=>aO(dn)||bs(dn)&&!!dn.symbol.globalExports)&&fh(!se.allowUmdGlobalAccess,Ir,v._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,Ds(c))}if(Re&&Zr&&!cn&&(_&111551)===111551){const Kr=Fo(TW(Re)),dn=Gh(Zr);Kr===Zn(Zr)?nt(Ir,v.Parameter_0_cannot_reference_itself,uc(Zr.name)):Kr.valueDeclaration&&Kr.valueDeclaration.pos>Zr.pos&&dn.parent.locals&&$(dn.parent.locals,Kr.escapedName,_)===Kr&&nt(Ir,v.Parameter_0_cannot_reference_identifier_1_declared_after_it,uc(Zr.name),uc(Ir))}if(Re&&Ir&&_&111551&&Re.flags&2097152&&!(Re.flags&111551)&&!YC(Ir)){const Kr=E_(Re,111551);if(Kr){const dn=Kr.kind===278||Kr.kind===275||Kr.kind===277?v._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:v._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type,xi=Ds(c);vk(nt(Ir,dn,xi),Kr,xi)}}}),Re}function vk(r,c,_){return c?Eo(r,ni(c,c.kind===278||c.kind===275||c.kind===277?v._0_was_exported_here:v._0_was_imported_here,_)):r}function h2(r,c){return r.kind!==216&&r.kind!==215?tD(r)||(Lc(r)||r.kind===169&&!ba(r))&&(!c||c!==r.name):c&&c===r.name?!1:r.asteriskToken||Ti(r,512)?!0:!Sx(r)}function bk(r){switch(r.kind){case 259:case 260:case 261:case 263:case 262:case 264:return!0;default:return!1}}function od(r){return ha(r)?Ds(r):uc(r)}function Yw(r,c){if(r.declarations){for(const _ of r.declarations)if(_.kind===165&&(xm(_.parent)?jC(_.parent):_.parent)===c)return!(xm(_.parent)&&He(_.parent.parent.tags,gd))}return!1}function Zw(r,c,_){if(!Ye(r)||r.escapedText!==c||rRe(r)||E3(r))return!1;const m=y_(r,!1,!1);let b=m;for(;b;){if(Ri(b.parent)){const x=Zn(b.parent);if(!x)break;const D=En(x);if(Ra(D,c))return nt(r,v.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,od(_),A(x)),!0;if(b===m&&!ba(b)){const j=Tc(x).thisType;if(Ra(j,c))return nt(r,v.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,od(_)),!0}}b=b.parent}return!1}function qv(r){const c=Tk(r);return c&&ml(c,64,!0)?(nt(r,v.Cannot_extend_an_interface_0_Did_you_mean_implements,lu(c)),!0):!1}function Tk(r){switch(r.kind){case 79:case 208:return r.parent?Tk(r.parent):void 0;case 230:if(El(r.expression))return r.expression;default:return}}function Sk(r,c,_){const m=1920|(Mn(r)?111551:0);if(_===m){const b=Il(Xc(r,c,788968&~m,void 0,void 0,!1)),x=r.parent;if(b){if(T_(x)){R.assert(x.left===r,"Should only be resolving left side of qualified name as a namespace");const D=x.right.escapedText;if(Ra(Tc(b),D))return nt(x,v.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,Ds(c),Ds(D)),!0}return nt(r,v._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,Ds(c)),!0}}return!1}function Kw(r,c,_){if(_&788584){const m=Il(Xc(r,c,111127,void 0,void 0,!1));if(m&&!(m.flags&1920))return nt(r,v._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,Ds(c)),!0}return!1}function g2(r){return r==="any"||r==="string"||r==="number"||r==="boolean"||r==="never"||r==="unknown"}function xk(r,c){return g2(c)&&r.parent.kind===278?(nt(r,v.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,c),!0):!1}function Rp(r,c,_){if(_&111551){if(g2(c))return i0(r)?nt(r,v.An_interface_cannot_extend_a_primitive_type_like_0_an_interface_can_only_extend_named_types_and_classes,Ds(c)):nt(r,v._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,Ds(c)),!0;const m=Il(Xc(r,c,788544,void 0,void 0,!1)),b=m&&Zu(m);if(m&&b!==void 0&&!(b&111551)){const x=Ds(c);return sm(c)?nt(r,v._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,x):Im(r,m)?nt(r,v._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0,x,x==="K"?"P":"K"):nt(r,v._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,x),!0}}return!1}function i0(r){const c=r.parent.parent,_=c.parent;if(c&&_){const m=J_(c)&&c.token===94,b=Yf(_);return m&&b}return!1}function Im(r,c){const _=kn(r.parent,m=>ac(m)||Np(m)?!1:_p(m)||"quit");if(_&&_.members.length===1){const m=Tc(c);return!!(m.flags&1048576)&&LM(m,384,!0)}return!1}function sm(r){switch(r){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return!0}return!1}function eE(r,c,_){if(_&111127){if(Il(Xc(r,c,1024,void 0,void 0,!1)))return nt(r,v.Cannot_use_namespace_0_as_a_value,Ds(c)),!0}else if(_&788544&&Il(Xc(r,c,1536,void 0,void 0,!1)))return nt(r,v.Cannot_use_namespace_0_as_a_type,Ds(c)),!0;return!1}function y2(r,c){var _;if(R.assert(!!(r.flags&2||r.flags&32||r.flags&384)),r.flags&67108881&&r.flags&32)return;const m=(_=r.declarations)==null?void 0:_.find(b=>OK(b)||Ri(b)||b.kind===263);if(m===void 0)return R.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");if(!(m.flags&16777216)&&!n0(m,c)){let b;const x=uc(ra(m));r.flags&2?b=nt(c,v.Block_scoped_variable_0_used_before_its_declaration,x):r.flags&32?b=nt(c,v.Class_0_used_before_its_declaration,x):r.flags&256?b=nt(c,v.Enum_0_used_before_its_declaration,x):(R.assert(!!(r.flags&128)),wT(se)&&(b=nt(c,v.Enum_0_used_before_its_declaration,x))),b&&Eo(b,ni(m,v._0_is_declared_here,x))}}function _h(r,c,_){return!!c&&!!kn(r,m=>m===c||(m===_||Sa(m)&&(!Sx(m)||W6(m))?"quit":!1))}function kk(r){switch(r.kind){case 268:return r;case 270:return r.parent;case 271:return r.parent.parent;case 273:return r.parent.parent.parent;default:return}}function c_(r){return r.declarations&&Bt(r.declarations,s0)}function s0(r){return r.kind===268||r.kind===267||r.kind===270&&!!r.name||r.kind===271||r.kind===277||r.kind===273||r.kind===278||r.kind===274&&V6(r)||$n(r)&&ll(r)===2&&V6(r)||$c(r)&&$n(r.parent)&&r.parent.left===r&&r.parent.operatorToken.kind===63&&ph(r.parent.right)||r.kind===300||r.kind===299&&ph(r.initializer)||r.kind===257&&bT(r)||r.kind===205&&bT(r.parent.parent)}function ph(r){return n5(r)||yc(r)&&Vm(r)}function dh(r,c){const _=v1(r);if(_){const b=OP(_.expression).arguments[0];return Ye(_.name)?Il(Ra(X5e(b),_.name.escapedText)):void 0}if(xs(r)||r.moduleReference.kind===280){const b=Ku(r,KK(r)||pP(r)),x=l_(b);return Ad(r,b,x,!1),x}const m=Lm(r.moduleReference,c);return a0(r,m),m}function a0(r,c){if(Ad(r,void 0,c,!1)&&!r.isTypeOnly){const _=E_(Zn(r)),m=_.kind===278||_.kind===275,b=m?v.An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:v.An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type,x=m?v._0_was_exported_here:v._0_was_imported_here,D=_.kind===275?"*":Ds(_.name.escapedText);Eo(nt(r.moduleReference,b),ni(_,x,D))}}function sS(r,c,_,m){const b=r.exports.get("export="),x=b?Ra(En(b),c,!0):r.exports.get(c),D=Il(x,m);return Ad(_,x,D,!1),D}function Ck(r){return Tl(r)&&!r.isExportEquals||Ti(r,1024)||i_(r)}function g1(r){return sc(r)?km(bn(r),r):void 0}function aS(r,c){return r===99&&c===1}function _c(r){return g1(r)===99&&Ul(r.text,".json")}function y1(r,c,_,m){const b=r&&g1(m);if(r&&b!==void 0){const x=aS(b,r.impliedNodeFormat);if(b===99||x)return x}if(!_e)return!1;if(!r||r.isDeclarationFile){const x=sS(c,"default",void 0,!0);return!(x&&Oe(x.declarations,Ck)||sS(c,Vc("__esModule"),void 0,_))}return Gf(r)?typeof r.externalModuleIndicator!="object"&&!sS(c,Vc("__esModule"),void 0,_):fS(c)}function tE(r,c){const _=Ku(r,r.parent.moduleSpecifier);if(_)return v2(_,r,c)}function v2(r,c,_){var m;let b;cP(r)?b=r:b=sS(r,"default",c,_);const x=(m=r.declarations)==null?void 0:m.find(bs),D=b2(c);if(!D)return b;const j=_c(D),$=y1(x,r,_,D);if(!b&&!$&&!j)if(fS(r)&&!_e){const re=ve>=5?"allowSyntheticDefaultImports":"esModuleInterop",ke=r.exports.get("export=").valueDeclaration,je=nt(c.name,v.Module_0_can_only_be_default_imported_using_the_1_flag,A(r),re);ke&&Eo(je,ni(ke,v.This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag,re))}else rg(c)?rE(r,c):Wv(r,r,c,AC(c)&&c.propertyName||c.name);else if($||j){const re=l_(r,_)||Il(r,_);return Ad(c,r,re,!1),re}return Ad(c,b,void 0,!1),b}function b2(r){switch(r.kind){case 270:return r.parent.moduleSpecifier;case 268:return ng(r.moduleReference)?r.moduleReference.expression:void 0;case 271:return r.parent.parent.moduleSpecifier;case 273:return r.parent.parent.parent.moduleSpecifier;case 278:return r.parent.parent.moduleSpecifier;default:return R.assertNever(r)}}function rE(r,c){var _,m,b;if((_=r.exports)!=null&&_.has(c.symbol.escapedName))nt(c.name,v.Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead,A(r),A(c.symbol));else{const x=nt(c.name,v.Module_0_has_no_default_export,A(r)),D=(m=r.exports)==null?void 0:m.get("__export");if(D){const j=(b=D.declarations)==null?void 0:b.find($=>{var re,ae;return!!(Uu($)&&$.moduleSpecifier&&((ae=(re=Ku($,$.moduleSpecifier))==null?void 0:re.exports)!=null&&ae.has("default")))});j&&Eo(x,ni(j,v.export_Asterisk_does_not_re_export_a_default))}}}function c3(r,c){const _=r.parent.parent.moduleSpecifier,m=Ku(r,_),b=k2(m,_,c,!1);return Ad(r,m,b,!1),b}function nE(r,c){const _=r.parent.moduleSpecifier,m=_&&Ku(r,_),b=_&&k2(m,_,c,!1);return Ad(r,m,b,!1),b}function Rn(r,c){if(r===Tr&&c===Tr)return Tr;if(r.flags&790504)return r;const _=Oo(r.flags|c.flags,r.escapedName);return R.assert(r.declarations||c.declarations),_.declarations=Ss(Cr(r.declarations,c.declarations),Db),_.parent=r.parent||c.parent,r.valueDeclaration&&(_.valueDeclaration=r.valueDeclaration),c.members&&(_.members=new Map(c.members)),r.exports&&(_.exports=new Map(r.exports)),_}function dl(r,c,_,m){var b;if(r.flags&1536){const x=yp(r).get(c.escapedText),D=Il(x,m),j=(b=ys(r).typeOnlyExportStarMap)==null?void 0:b.get(c.escapedText);return Ad(_,x,D,!1,j,c.escapedText),D}}function Bs(r,c){if(r.flags&3){const _=r.valueDeclaration.type;if(_)return Il(Ra(Bi(_),c))}}function Bp(r,c,_=!1){var m;const b=KK(r)||r.moduleSpecifier,x=Ku(r,b),D=!oi(c)&&c.propertyName||c.name;if(!Ye(D))return;const j=D.escapedText==="default"&&_e,$=k2(x,b,!1,j);if($&&D.escapedText){if(cP(x))return x;let re;x&&x.exports&&x.exports.get("export=")?re=Ra(En($),D.escapedText,!0):re=Bs($,D.escapedText),re=Il(re,_);let ae=dl($,D,c,_);if(ae===void 0&&D.escapedText==="default"){const je=(m=x.declarations)==null?void 0:m.find(bs);(_c(b)||y1(je,x,_,b))&&(ae=l_(x,_)||Il(x,_))}const ke=ae&&re&&ae!==re?Rn(re,ae):ae||re;return ke||Wv(x,$,r,D),ke}}function Wv(r,c,_,m){var b;const x=ey(r,_),D=uc(m),j=kH(m,c);if(j!==void 0){const $=A(j),re=nt(m,v._0_has_no_exported_member_named_1_Did_you_mean_2,x,D,$);j.valueDeclaration&&Eo(re,ni(j.valueDeclaration,v._0_is_declared_here,$))}else(b=r.exports)!=null&&b.has("default")?nt(m,v.Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead,x,D):_g(_,m,D,r,x)}function _g(r,c,_,m,b){var x,D;const j=(D=(x=Pi(m.valueDeclaration,$h))==null?void 0:x.locals)==null?void 0:D.get(c.escapedText),$=m.exports;if(j){const re=$==null?void 0:$.get("export=");if(re)mh(re,j)?wn(r,c,_,b):nt(c,v.Module_0_has_no_exported_member_1,b,_);else{const ae=$?He(w_e($),je=>!!mh(je,j)):void 0,ke=ae?nt(c,v.Module_0_declares_1_locally_but_it_is_exported_as_2,b,_,A(ae)):nt(c,v.Module_0_declares_1_locally_but_it_is_not_exported,b,_);j.declarations&&Eo(ke,...qt(j.declarations,(je,Re)=>ni(je,Re===0?v._0_is_declared_here:v.and_here,_)))}}else nt(c,v.Module_0_has_no_exported_member_1,b,_)}function wn(r,c,_,m){if(ve>=5){const b=Zh(se)?v._0_can_only_be_imported_by_using_a_default_import:v._0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;nt(c,b,_)}else if(Mn(r)){const b=Zh(se)?v._0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:v._0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;nt(c,b,_)}else{const b=Zh(se)?v._0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:v._0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import;nt(c,b,_,_,m)}}function iE(r,c){if(S_(r)&&ai(r.propertyName||r.name)==="default"){const D=b2(r),j=D&&Ku(r,D);if(j)return v2(j,r,c)}const _=qo(r)?Gh(r):r.parent.parent.parent,m=v1(_),b=Bp(_,m||r,c),x=r.propertyName||r.name;return m&&b&&Ye(x)?Il(Ra(En(b),x.escapedText),c):(Ad(r,void 0,b,!1),b)}function v1(r){if(xs(r)&&r.initializer&&oi(r.initializer))return r.initializer}function pu(r,c){if(Vh(r.parent)){const _=l_(r.parent.symbol,c);return Ad(r,void 0,_,!1),_}}function Ed(r,c,_){if(ai(r.propertyName||r.name)==="default"){const b=b2(r),x=b&&Ku(r,b);if(x)return v2(x,r,!!_)}const m=r.parent.parent.moduleSpecifier?Bp(r.parent.parent,r,_):ml(r.propertyName||r.name,c,!1,_);return Ad(r,void 0,m,!1),m}function Om(r,c){const _=Tl(r)?r.expression:r.right,m=b1(_,c);return Ad(r,void 0,m,!1),m}function b1(r,c){if(If(r))return Ll(r).symbol;if(!ap(r)&&!El(r))return;const _=ml(r,901119,!0,c);return _||(Ll(r),gi(r).resolvedSymbol)}function oS(r,c){if($n(r.parent)&&r.parent.left===r&&r.parent.operatorToken.kind===63)return b1(r.parent.right,c)}function am(r,c=!1){switch(r.kind){case 268:case 257:return dh(r,c);case 270:return tE(r,c);case 271:return c3(r,c);case 277:return nE(r,c);case 273:case 205:return iE(r,c);case 278:return Ed(r,901119,c);case 274:case 223:return Om(r,c);case 267:return pu(r,c);case 300:return ml(r.name,901119,!0,c);case 299:return b1(r.initializer,c);case 209:case 208:return oS(r,c);default:return R.fail()}}function T1(r,c=901119){return r?(r.flags&(2097152|c))===2097152||!!(r.flags&2097152&&r.flags&67108864):!1}function Il(r,c){return!c&&T1(r)?jl(r):r}function jl(r){R.assert((r.flags&2097152)!==0,"Should only get Alias here.");const c=ys(r);if(c.aliasTarget)c.aliasTarget===nn&&(c.aliasTarget=Tr);else{c.aliasTarget=nn;const _=c_(r);if(!_)return R.fail();const m=am(_);c.aliasTarget===nn?c.aliasTarget=m||Tr:nt(_,v.Circular_definition_of_import_alias_0,A(r))}return c.aliasTarget}function o0(r){if(ys(r).aliasTarget!==nn)return jl(r)}function Zu(r){let c=r.flags,_;for(;r.flags&2097152;){const m=jl(r);if(m===Tr)return 67108863;if(m===r||_!=null&&_.has(m))break;m.flags&2097152&&(_?_.add(m):_=new Set([r,m])),c|=m.flags,r=m}return c}function Ad(r,c,_,m,b,x){if(!r||oi(r))return!1;const D=Zn(r);if(pT(r)){const $=ys(D);return $.typeOnlyDeclaration=r,!0}if(b){const $=ys(D);return $.typeOnlyDeclaration=b,D.escapedName!==x&&($.typeOnlyExportStarName=x),!0}const j=ys(D);return pg(j,c,m)||pg(j,_,m)}function pg(r,c,_){var m,b,x;if(c&&(r.typeOnlyDeclaration===void 0||_&&r.typeOnlyDeclaration===!1)){const D=(b=(m=c.exports)==null?void 0:m.get("export="))!=null?b:c,j=D.declarations&&He(D.declarations,pT);r.typeOnlyDeclaration=(x=j??ys(D).typeOnlyDeclaration)!=null?x:!1}return!!r.typeOnlyDeclaration}function E_(r,c){if(!(r.flags&2097152))return;const _=ys(r);if(c===void 0)return _.typeOnlyDeclaration||void 0;if(_.typeOnlyDeclaration){const m=_.typeOnlyDeclaration.kind===275?Il(iy(_.typeOnlyDeclaration.symbol.parent).get(_.typeOnlyExportStarName||r.escapedName)):jl(_.typeOnlyDeclaration.symbol);return Zu(m)&c?_.typeOnlyDeclaration:void 0}}function cS(r){if(se.verbatimModuleSyntax)return;const c=Zn(r),_=jl(c);_&&(_===Tr||Zu(_)&111551&&!yN(_)&&!E_(c,111551))&&T2(c)}function T2(r){R.assert(!se.verbatimModuleSyntax);const c=ys(r);if(!c.referenced){c.referenced=!0;const _=c_(r);if(!_)return R.fail();F6(_)&&Zu(Il(r))&111551&&Ll(_.moduleReference)}}function S2(r){const c=ys(r);c.constEnumReferenced||(c.constEnumReferenced=!0)}function Lm(r,c){return r.kind===79&&EP(r)&&(r=r.parent),r.kind===79||r.parent.kind===163?ml(r,1920,!1,c):(R.assert(r.parent.kind===268),ml(r,901119,!1,c))}function ey(r,c){return r.parent?ey(r.parent,c)+"."+A(r):A(r,c,void 0,36)}function lS(r){for(;T_(r.parent);)r=r.parent;return r}function S1(r){let c=Dp(r),_=Xc(c,c.escapedText,111551,void 0,c,!0);if(_){for(;T_(c.parent);){const m=En(_);if(_=Ra(m,c.parent.right.escapedText),!_)return;c=c.parent}return _}}function ml(r,c,_,m,b){if(cl(r))return;const x=1920|(Mn(r)?c&111551:0);let D;if(r.kind===79){const j=c===x||Mc(r)?v.Cannot_find_namespace_0:J9e(Dp(r)),$=Mn(r)&&!Mc(r)?c0(r,c):void 0;if(D=Fo(Xc(b||r,r.escapedText,c,_||$?void 0:j,r,!0,!1)),!D)return Fo($)}else if(r.kind===163||r.kind===208){const j=r.kind===163?r.left:r.expression,$=r.kind===163?r.right:r.name;let re=ml(j,x,_,!1,b);if(!re||cl($))return;if(re===Tr)return re;if(re.valueDeclaration&&Mn(re.valueDeclaration)&&vl(se)!==100&&xs(re.valueDeclaration)&&re.valueDeclaration.initializer&&xMe(re.valueDeclaration.initializer)){const ae=re.valueDeclaration.initializer.arguments[0],ke=Ku(ae,ae);if(ke){const je=l_(ke);je&&(re=je)}}if(D=Fo(H_(yp(re),$.escapedText,c)),!D){if(!_){const ae=ey(re),ke=uc($),je=kH($,re);if(je){nt($,v._0_has_no_exported_member_named_1_Did_you_mean_2,ae,ke,A(je));return}const Re=T_(r)&&lS(r);if(ka&&c&788968&&Re&&!h4(Re.parent)&&S1(Re)){nt(Re,v._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,Ap(Re));return}if(c&1920&&T_(r.parent)){const Qt=Fo(H_(yp(re),$.escapedText,788968));if(Qt){nt(r.parent.right,v.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,A(Qt),Ds(r.parent.right.escapedText));return}}nt($,v.Namespace_0_has_no_exported_member_1,ae,ke)}return}}else throw R.assertNever(r,"Unknown entity name kind.");return R.assert((ul(D)&1)===0,"Should never get an instantiated symbol here."),!Mc(r)&&ap(r)&&(D.flags&2097152||r.parent.kind===274)&&Ad(fee(r),D,void 0,!0),D.flags&c||m?D:jl(D)}function c0(r,c){if(EW(r.parent)){const _=ty(r.parent);if(_)return Xc(_,r.escapedText,c,void 0,r,!0)}}function ty(r){if(kn(r,b=>C6(b)||b.flags&8388608?gd(b):"quit"))return;const _=jC(r);if(_&&Gu(_)&&q7(_.expression)){const b=Zn(_.expression.left);if(b)return Hv(b)}if(_&&yc(_)&&q7(_.parent)&&Gu(_.parent.parent)){const b=Zn(_.parent.left);if(b)return Hv(b)}if(_&&(Ud(_)||Iu(_))&&$n(_.parent.parent)&&ll(_.parent.parent)===6){const b=Zn(_.parent.parent.left);if(b)return Hv(b)}const m=z6(r);if(m&&Sa(m)){const b=Zn(m);return b&&b.valueDeclaration}}function Hv(r){const c=r.parent.valueDeclaration;return c?(dP(c)?LC(c):hx(c)?J7(c):void 0)||c:void 0}function Gv(r){const c=r.valueDeclaration;if(!c||!Mn(c)||r.flags&524288||Bb(c,!1))return;const _=xs(c)?J7(c):LC(c);if(_){const m=G_(_);if(m)return Ide(m,r)}}function Ku(r,c,_){const b=vl(se)===1?v.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:v.Cannot_find_module_0_or_its_corresponding_type_declarations;return ry(r,c,_?void 0:b)}function ry(r,c,_,m=!1){return sc(c)?iu(r,c.text,_,c,m):void 0}function iu(r,c,_,m,b=!1){var x,D,j,$,re,ae,ke,je,Re;if(Qs(c,"@types/")){const Kr=v.Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1,dn=LA(c,"@types/");nt(m,Kr,dn,c)}const Ct=E_e(c,!0);if(Ct)return Ct;const Qt=bn(r),sn=sc(r)?r:((x=kn(r,up))==null?void 0:x.arguments[0])||((D=kn(r,Nu))==null?void 0:D.moduleSpecifier)||((j=kn(r,Rb))==null?void 0:j.moduleReference.expression)||(($=kn(r,Uu))==null?void 0:$.moduleSpecifier)||((re=Pl(r)?r:r.parent&&Pl(r.parent)&&r.parent.name===r?r.parent:void 0)==null?void 0:re.name)||((ae=Fb(r)?r:void 0)==null?void 0:ae.argument.literal),Zr=sn&&sc(sn)?km(Qt,sn):Qt.impliedNodeFormat,cn=vl(se),Ir=E6(Qt,c,Zr),Wr=Ir&&jie(se,Ir,Qt),Un=Ir&&(!Wr||Wr===v.Module_0_was_resolved_to_1_but_jsx_is_not_set)&&e.getSourceFile(Ir.resolvedFileName);if(Un){if(Wr&&nt(m,Wr,c,Ir.resolvedFileName),Ir.resolvedUsingTsExtension&&s_(c)){const Kr=((ke=kn(r,Nu))==null?void 0:ke.importClause)||kn(r,jh(Xu,Uu));(Kr&&!Kr.isTypeOnly||kn(r,up))&&nt(m,v.A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead,Ar(R.checkDefined(Ij(c))))}else if(Ir.resolvedUsingTsExtension&&!xD(se,Qt.fileName)){const Kr=R.checkDefined(Ij(c));nt(m,v.An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled,Kr)}if(Un.symbol){if(Ir.isExternalLibraryImport&&!D5(Ir.extension)&&uS(!1,m,Qt,Zr,Ir,c),cn===3||cn===99){const Kr=Qt.impliedNodeFormat===1&&!kn(r,up)||!!kn(r,Xu),dn=kn(r,Ei=>zy(Ei)||Uu(Ei)||Nu(Ei)),xi=dn&&zy(dn)?(je=dn.assertions)==null?void 0:je.assertClause:dn==null?void 0:dn.assertClause;if(Kr&&Un.impliedNodeFormat===99&&!xw(xi))if(kn(r,Xu))nt(m,v.Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead,c);else{let Ei;const Js=Jg(Qt.fileName);if(Js===".ts"||Js===".js"||Js===".tsx"||Js===".jsx"){const wa=Qt.packageJsonScope,su=Js===".ts"?".mts":Js===".js"?".mjs":void 0;wa&&!wa.contents.packageJsonContent.type?su?Ei=sa(void 0,v.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1,su,_s(wa.packageDirectory,"package.json")):Ei=sa(void 0,v.To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0,_s(wa.packageDirectory,"package.json")):su?Ei=sa(void 0,v.To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module,su):Ei=sa(void 0,v.To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module)}Do.add(Ly(bn(m),m,sa(Ei,v.The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead,c)))}}return Fo(Un.symbol)}_&&nt(m,v.File_0_is_not_a_module,Un.fileName);return}if(Va){const Kr=yY(Va,dn=>dn.pattern,c);if(Kr){const dn=vo&&vo.get(c);return Fo(dn||Kr.symbol)}}if(Ir&&!D5(Ir.extension)&&Wr===void 0||Wr===v.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type){if(b){const Kr=v.Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented;nt(m,Kr,c,Ir.resolvedFileName)}else uS(Pe&&!!_,m,Qt,Zr,Ir,c);return}if(_){if(Ir){const Kr=e.getProjectReferenceRedirect(Ir.resolvedFileName);if(Kr){nt(m,v.Output_file_0_has_not_been_built_from_source_file_1,Kr,Ir.resolvedFileName);return}}if(Wr)nt(m,Wr,c,Ir.resolvedFileName);else{const Kr=wp(c)&&!m6(c),dn=cn===3||cn===99;if(!Ix(se)&&Gl(c,".json")&&cn!==1&&Bj(se))nt(m,v.Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension,c);else if(Zr===99&&dn&&Kr){const xi=oa(c,$i(Qt.path)),Ei=(Re=Xw.find(([Js,wa])=>e.fileExists(xi+Js)))==null?void 0:Re[1];Ei?nt(m,v.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0,c+Ei):nt(m,v.Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path)}else nt(m,_,c)}}return;function Ar(Kr){const dn=P5(c,Kr);if(Xee(ve)||Zr===99){const xi=s_(c)&&xD(se);return dn+(Kr===".mts"||Kr===".d.mts"?xi?".mts":".mjs":Kr===".cts"||Kr===".d.mts"?xi?".cts":".cjs":xi?".ts":".js")}return dn}}function uS(r,c,_,m,{packageId:b,resolvedFileName:x},D){var j,$;let re;if(!wu(D)&&b){const ae=($=(j=_.resolvedModules)==null?void 0:j.get(D,m))==null?void 0:$.node10Result;re=ae?sa(void 0,v.There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings,ae,ae.indexOf(a1+"@types/")>-1?`@types/${SD(b.name)}`:b.name):ny(b.name)?sa(void 0,v.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,b.name,SD(b.name)):x2(b.name)?sa(void 0,v.If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1,b.name,D):sa(void 0,v.Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0,D,SD(b.name))}fh(r,c,sa(re,v.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type,D,x))}function ny(r){return t().has(OU(r))}function x2(r){return!!t().get(r)}function l_(r,c){if(r!=null&&r.exports){const _=Il(r.exports.get("export="),c),m=dg(Fo(_),Fo(r));return Fo(m)||r}}function dg(r,c){if(!r||r===Tr||r===c||c.exports.size===1||r.flags&2097152)return r;const _=ys(r);if(_.cjsExportMerged)return _.cjsExportMerged;const m=r.flags&33554432?r:p2(r);return m.flags=m.flags|512,m.exports===void 0&&(m.exports=Ma()),c.exports.forEach((b,x)=>{x!=="export="&&m.exports.set(x,m.exports.has(x)?im(m.exports.get(x),b):b)}),ys(m).cjsExportMerged=m,_.cjsExportMerged=m}function k2(r,c,_,m){var b;const x=l_(r,_);if(!_&&x){if(!m&&!(x.flags&1539)&&!ol(x,308)){const j=ve>=5?"allowSyntheticDefaultImports":"esModuleInterop";return nt(c,v.This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export,j),x}const D=c.parent;if(Nu(D)&&j6(D)||up(D)){const j=up(D)?D.arguments[0]:D.moduleSpecifier,$=En(x),re=TMe($,x,r,j);if(re)return Xv(x,re,D);const ae=(b=r==null?void 0:r.declarations)==null?void 0:b.find(bs),ke=ae&&aS(g1(j),ae.impliedNodeFormat);if(Zh(se)||ke){let je=qL($,0);if((!je||!je.length)&&(je=qL($,1)),je&&je.length||Ra($,"default",!0)||ke){const Re=SMe($,x,r,j);return Xv(x,Re,D)}}}}return x}function Xv(r,c,_){const m=Oo(r.flags,r.escapedName);m.declarations=r.declarations?r.declarations.slice():[],m.parent=r.parent,m.links.target=r,m.links.originatingImport=_,r.valueDeclaration&&(m.valueDeclaration=r.valueDeclaration),r.constEnumOnlyModule&&(m.constEnumOnlyModule=!0),r.members&&(m.members=new Map(r.members)),r.exports&&(m.exports=new Map(r.exports));const b=um(c);return m.links.type=pc(m,b.members,pt,pt,b.indexInfos),m}function fS(r){return r.exports.get("export=")!==void 0}function x1(r){return w_e(iy(r))}function wk(r){const c=x1(r),_=l_(r);if(_!==r){const m=En(_);_S(m)&&Oi(c,Ho(m))}return c}function Qv(r,c){iy(r).forEach((b,x)=>{dS(x)||c(b,x)});const m=l_(r);if(m!==r){const b=En(m);_S(b)&&Dgt(b,(x,D)=>{c(x,D)})}}function l0(r,c){const _=iy(c);if(_)return _.get(r)}function jp(r,c){const _=l0(r,c);if(_)return _;const m=l_(c);if(m===c)return;const b=En(m);return _S(b)?Ra(b,r):void 0}function _S(r){return!(r.flags&134348796||Ci(r)&1||Wp(r)||po(r))}function yp(r){return r.flags&6256?c_e(r,"resolvedExports"):r.flags&1536?iy(r):r.exports||ue}function iy(r){const c=ys(r);if(!c.resolvedExports){const{exports:_,typeOnlyExportStarMap:m}=sE(r);c.resolvedExports=_,c.typeOnlyExportStarMap=m}return c.resolvedExports}function Yv(r,c,_,m){c&&c.forEach((b,x)=>{if(x==="default")return;const D=r.get(x);if(!D)r.set(x,b),_&&m&&_.set(x,{specifierText:lu(m.moduleSpecifier)});else if(_&&m&&D&&Il(D)!==Il(b)){const j=_.get(x);j.exportsWithDuplicate?j.exportsWithDuplicate.push(m):j.exportsWithDuplicate=[m]}})}function sE(r){const c=[];let _;const m=new Set;r=l_(r);const b=x(r)||ue;return _&&m.forEach(D=>_.delete(D)),{exports:b,typeOnlyExportStarMap:_};function x(D,j,$){if(!$&&(D!=null&&D.exports)&&D.exports.forEach((ke,je)=>m.add(je)),!(D&&D.exports&&ip(c,D)))return;const re=new Map(D.exports),ae=D.exports.get("__export");if(ae){const ke=Ma(),je=new Map;if(ae.declarations)for(const Re of ae.declarations){const Ct=Ku(Re,Re.moduleSpecifier),Qt=x(Ct,Re,$||Re.isTypeOnly);Yv(ke,Qt,je,Re)}je.forEach(({exportsWithDuplicate:Re},Ct)=>{if(!(Ct==="export="||!(Re&&Re.length)||re.has(Ct)))for(const Qt of Re)Do.add(ni(Qt,v.Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity,je.get(Ct).specifierText,Ds(Ct)))}),Yv(re,ke)}return j!=null&&j.isTypeOnly&&(_??(_=new Map),re.forEach((ke,je)=>_.set(je,j))),re}}function Fo(r){let c;return r&&r.mergeId&&(c=Bv[r.mergeId])?c:r}function Zn(r){return Fo(r.symbol&&TW(r.symbol))}function G_(r){return Vh(r)?Zn(r):void 0}function u_(r){return Fo(r.parent&&TW(r.parent))}function Ek(r,c){const _=bn(c),m=Wo(_),b=ys(r);let x;if(b.extendedContainersByFile&&(x=b.extendedContainersByFile.get(m)))return x;if(_&&_.imports){for(const j of _.imports){if(Mc(j))continue;const $=Ku(c,j,!0);!$||!C1($,r)||(x=$r(x,$))}if(H(x))return(b.extendedContainersByFile||(b.extendedContainersByFile=new Map)).set(m,x),x}if(b.extendedContainers)return b.extendedContainers;const D=e.getSourceFiles();for(const j of D){if(!Fl(j))continue;const $=Zn(j);C1($,r)&&(x=$r(x,$))}return b.extendedContainers=x||pt}function pS(r,c,_){const m=u_(r);if(m&&!(r.flags&262144)){const D=fr(m.declarations,x),j=c&&Ek(r,c),$=k1(m,_);if(c&&m.flags&_0(_)&&Kv(m,c,1920,!1))return $r(Cr(Cr([m],D),j),$);const re=!(m.flags&_0(_))&&m.flags&788968&&Tc(m).flags&524288&&_===111551?hS(c,ke=>cp(ke,je=>{if(je.flags&_0(_)&&En(je)===Tc(m))return je})):void 0;let ae=re?[re,...D,m]:[...D,m];return ae=$r(ae,$),ae=Oi(ae,j),ae}const b=fr(r.declarations,D=>{if(!Af(D)&&D.parent){if(p0(D.parent))return Zn(D.parent);if(ah(D.parent)&&D.parent.parent&&l_(Zn(D.parent.parent))===r)return Zn(D.parent.parent)}if(If(D)&&$n(D.parent)&&D.parent.operatorToken.kind===63&&$c(D.parent.left)&&El(D.parent.left.expression))return Fg(D.parent.left)||xx(D.parent.left.expression)?Zn(bn(D)):(Ll(D.parent.left.expression),gi(D.parent.left.expression).resolvedSymbol)});if(!H(b))return;return fr(b,D=>C1(D,r)?D:void 0);function x(D){return m&&aE(D,m)}}function k1(r,c){const _=!!H(r.declarations)&&Uo(r.declarations);if(c&111551&&_&&_.parent&&xs(_.parent)&&(cc(_)&&_===_.parent.initializer||_p(_)&&_===_.parent.type))return Zn(_.parent)}function aE(r,c){const _=ay(r),m=_&&_.exports&&_.exports.get("export=");return m&&mh(m,c)?_:void 0}function C1(r,c){if(r===u_(c))return c;const _=r.exports&&r.exports.get("export=");if(_&&mh(_,c))return r;const m=yp(r),b=m.get(c.escapedName);return b&&mh(b,c)?b:cp(m,x=>{if(mh(x,c))return x})}function mh(r,c){if(Fo(Il(Fo(r)))===Fo(Il(Fo(c))))return r}function Mm(r){return Fo(r&&(r.flags&1048576)!==0&&r.exportSymbol||r)}function u0(r,c){return!!(r.flags&111551||r.flags&2097152&&Zu(r)&111551&&(c||!E_(r)))}function Zv(r){const c=r.members;for(const _ of c)if(_.kind===173&&md(_.body))return _}function sy(r){var c;const _=new k(mt,r);return w++,_.id=w,(c=Hi)==null||c.recordType(_),_}function hh(r,c){const _=sy(r);return _.symbol=c,_}function Ak(r){return new k(mt,r)}function Ol(r,c,_=0){const m=sy(r);return m.intrinsicName=c,m.objectFlags=_,m}function vp(r,c){const _=hh(524288,c);return _.objectFlags=r,_.members=void 0,_.properties=void 0,_.callSignatures=void 0,_.constructSignatures=void 0,_.indexInfos=void 0,_}function mg(){return bi(ao(zU.keys(),qp))}function A_(r){return hh(262144,r)}function dS(r){return r.charCodeAt(0)===95&&r.charCodeAt(1)===95&&r.charCodeAt(2)!==95&&r.charCodeAt(2)!==64&&r.charCodeAt(2)!==35}function w1(r){let c;return r.forEach((_,m)=>{f0(_,m)&&(c||(c=[])).push(_)}),c||pt}function f0(r,c){return!dS(c)&&u0(r)}function oE(r){const c=w1(r),_=N_e(r);return _?Cr(c,[_]):c}function Jp(r,c,_,m,b){const x=r;return x.members=c,x.properties=pt,x.callSignatures=_,x.constructSignatures=m,x.indexInfos=b,c!==ue&&(x.properties=w1(c)),x}function pc(r,c,_,m,b){return Jp(vp(16,r),c,_,m,b)}function mS(r){if(r.constructSignatures.length===0)return r;if(r.objectTypeWithoutAbstractConstructSignatures)return r.objectTypeWithoutAbstractConstructSignatures;const c=hr(r.constructSignatures,m=>!(m.flags&4));if(r.constructSignatures===c)return r;const _=pc(r.symbol,r.members,r.callSignatures,Oe(c)?c:pt,r.indexInfos);return r.objectTypeWithoutAbstractConstructSignatures=_,_.objectTypeWithoutAbstractConstructSignatures=_,_}function hS(r,c){let _;for(let m=r;m;m=m.parent){if($h(m)&&m.locals&&!ug(m)&&(_=c(m.locals,void 0,!0,m)))return _;switch(m.kind){case 308:if(!lp(m))break;case 264:const b=Zn(m);if(_=c((b==null?void 0:b.exports)||ue,void 0,!0,m))return _;break;case 260:case 228:case 261:let x;if((Zn(m).members||ue).forEach((D,j)=>{D.flags&788968&&(x||(x=Ma())).set(j,D)}),x&&(_=c(x,void 0,!1,m)))return _;break}}return c(Ke,void 0,!0)}function _0(r){return r===111551?111551:1920}function Kv(r,c,_,m,b=new Map){if(!(r&&!gS(r)))return;const x=ys(r),D=x.accessibleChainCache||(x.accessibleChainCache=new Map),j=hS(c,(Zr,cn,Ir,Wr)=>Wr),$=`${m?0:1}|${j&&Wo(j)}|${_}`;if(D.has($))return D.get($);const re=Ha(r);let ae=b.get(re);ae||b.set(re,ae=[]);const ke=hS(c,je);return D.set($,ke),ke;function je(Zr,cn,Ir){if(!ip(ae,Zr))return;const Wr=Qt(Zr,cn,Ir);return ae.pop(),Wr}function Re(Zr,cn){return!Pk(Zr,c,cn)||!!Kv(Zr.parent,c,_0(cn),m,b)}function Ct(Zr,cn,Ir){return(r===(cn||Zr)||Fo(r)===Fo(cn||Zr))&&!Oe(Zr.declarations,p0)&&(Ir||Re(Fo(Zr),_))}function Qt(Zr,cn,Ir){return Ct(Zr.get(r.escapedName),void 0,cn)?[r]:cp(Zr,Un=>{if(Un.flags&2097152&&Un.escapedName!=="export="&&Un.escapedName!=="default"&&!(Mj(Un)&&c&&Fl(bn(c)))&&(!m||Oe(Un.declarations,Rb))&&(!Ir||!Oe(Un.declarations,v2e))&&(cn||!ol(Un,278))){const Ar=jl(Un),Kr=sn(Un,Ar,cn);if(Kr)return Kr}if(Un.escapedName===r.escapedName&&Un.exportSymbol&&Ct(Fo(Un.exportSymbol),void 0,cn))return[r]})||(Zr===Ke?sn(gt,gt,cn):void 0)}function sn(Zr,cn,Ir){if(Ct(Zr,cn,Ir))return[Zr];const Wr=yp(cn),Un=Wr&&je(Wr,!0);if(Un&&Re(Zr,_0(_)))return[Zr].concat(Un)}}function Pk(r,c,_){let m=!1;return hS(c,b=>{let x=Fo(b.get(r.escapedName));if(!x)return!1;if(x===r)return!0;const D=x.flags&2097152&&!ol(x,278);return x=D?jl(x):x,(D?Zu(x):x.flags)&_?(m=!0,!0):!1}),m}function gS(r){if(r.declarations&&r.declarations.length){for(const c of r.declarations)switch(c.kind){case 169:case 171:case 174:case 175:continue;default:return!1}return!0}return!1}function yS(r,c){return X_(r,c,788968,!1,!0).accessibility===0}function vS(r,c){return X_(r,c,111551,!1,!0).accessibility===0}function bS(r,c,_){return X_(r,c,_,!1,!1).accessibility===0}function TS(r,c,_,m,b,x){if(!H(r))return;let D,j=!1;for(const $ of r){const re=Kv($,c,m,!1);if(re){D=$;const je=cE(re[0],b);if(je)return je}if(x&&Oe($.declarations,p0)){if(b){j=!0;continue}return{accessibility:0}}const ae=pS($,c,m),ke=TS(ae,c,_,_===$?_0(m):m,b,x);if(ke)return ke}if(j)return{accessibility:0};if(D)return{accessibility:1,errorSymbolName:A(_,c,m),errorModuleName:D!==_?A(D,c,1920):void 0}}function E1(r,c,_,m){return X_(r,c,_,m,!0)}function X_(r,c,_,m,b){if(r&&c){const x=TS([r],c,r,_,m,b);if(x)return x;const D=Q(r.declarations,ay);if(D){const j=ay(c);if(D!==j)return{accessibility:2,errorSymbolName:A(r,c,_),errorModuleName:A(D),errorNode:Mn(c)?c:void 0}}return{accessibility:1,errorSymbolName:A(r,c,_)}}return{accessibility:0}}function ay(r){const c=kn(r,l3);return c&&Zn(c)}function l3(r){return Af(r)||r.kind===308&&lp(r)}function p0(r){return XB(r)||r.kind===308&&lp(r)}function cE(r,c){let _;if(!ut(hr(r.declarations,x=>x.kind!==79),m))return;return{accessibility:0,aliasesToMakeVisible:_};function m(x){var D,j;if(!Pd(x)){const $=kk(x);if($&&!Ti($,1)&&Pd($.parent))return b(x,$);if(xs(x)&&Xl(x.parent.parent)&&!Ti(x.parent.parent,1)&&Pd(x.parent.parent.parent))return b(x,x.parent.parent);if(QB(x)&&!Ti(x,1)&&Pd(x.parent))return b(x,x);if(qo(x)){if(r.flags&2097152&&Mn(x)&&((D=x.parent)!=null&&D.parent)&&xs(x.parent.parent)&&((j=x.parent.parent.parent)!=null&&j.parent)&&Xl(x.parent.parent.parent.parent)&&!Ti(x.parent.parent.parent.parent,1)&&x.parent.parent.parent.parent.parent&&Pd(x.parent.parent.parent.parent.parent))return b(x,x.parent.parent.parent.parent);if(r.flags&2){const re=kn(x,Xl);return Ti(re,1)?!0:Pd(re.parent)?b(x,re):!1}}return!1}return!0}function b(x,D){return c&&(gi(x).isVisible=!0,_=$f(_,D)),!0}}function lE(r,c){let _;r.parent.kind===183||r.parent.kind===230&&!Mg(r.parent)||r.parent.kind===164?_=1160127:r.kind===163||r.kind===208||r.parent.kind===268?_=1920:_=788968;const m=Dp(r),b=Xc(c,m.escapedText,_,void 0,void 0,!1);return b&&b.flags&262144&&_&788968?{accessibility:0}:!b&&Px(m)&&E1(Zn(y_(m,!1,!1)),m,_,!1).accessibility===0?{accessibility:0}:b&&cE(b,!0)||{accessibility:1,errorSymbolName:lu(m),errorNode:m}}function A(r,c,_,m=4,b){let x=70221824;m&2&&(x|=128),m&1&&(x|=512),m&8&&(x|=16384),m&32&&(x|=134217728),m&16&&(x|=1073741824);const D=m&4?st.symbolToNode:st.symbolToEntityName;return b?j(b).getText():sP(j);function j($){const re=D(r,_,c,x),ae=(c==null?void 0:c.kind)===308?Tie():VT(),ke=c&&bn(c);return ae.writeNode(4,re,ke,$),$}}function he(r,c,_=0,m,b){return b?x(b).getText():sP(x);function x(D){let j;_&262144?j=m===1?182:181:j=m===1?177:176;const $=st.signatureToSignatureDeclaration(r,j,c,Li(_)|70221824|512),re=t9(),ae=c&&bn(c);return re.writeNode(4,$,ae,Tee(D)),D}}function Me(r,c,_=1064960,m=_5("")){const b=se.noErrorTruncation||_&1,x=st.typeToTypeNode(r,c,Li(_)|70221824|(b?1:0));if(x===void 0)return R.fail("should always get typenode");const D=r!==kt?VT():bie(),j=c&&bn(c);D.writeNode(4,x,j,m);const $=m.getText(),re=b?eJ*2:F5*2;return re&&$&&$.length>=re?$.substr(0,re-3)+"...":$}function Sr(r,c){let _=Qi(r.symbol)?Me(r,r.symbol.valueDeclaration):Me(r),m=Qi(c.symbol)?Me(c,c.symbol.valueDeclaration):Me(c);return _===m&&(_=Qn(r),m=Qn(c)),[_,m]}function Qn(r){return Me(r,void 0,64)}function Qi(r){return r&&!!r.valueDeclaration&&Dt(r.valueDeclaration)&&!Nd(r.valueDeclaration)}function Li(r=0){return r&848330091}function ms(r){return!!r.symbol&&!!(r.symbol.flags&32)&&(r===Bf(r.symbol)||!!(r.flags&524288)&&!!(Ci(r)&16777216))}function Ja(){return{typeToTypeNode:(Tt,Ae,Sn,vn)=>c(Ae,Sn,vn,Wn=>m(Tt,Wn)),indexInfoToIndexSignatureDeclaration:(Tt,Ae,Sn,vn)=>c(Ae,Sn,vn,Wn=>ae(Tt,Wn,void 0)),signatureToSignatureDeclaration:(Tt,Ae,Sn,vn,Wn)=>c(Sn,vn,Wn,Kn=>ke(Tt,Ae,Kn)),symbolToEntityName:(Tt,Ae,Sn,vn,Wn)=>c(Sn,vn,Wn,Kn=>Js(Tt,Kn,Ae,!1)),symbolToExpression:(Tt,Ae,Sn,vn,Wn)=>c(Sn,vn,Wn,Kn=>wa(Tt,Kn,Ae)),symbolToTypeParameterDeclarations:(Tt,Ae,Sn,vn)=>c(Ae,Sn,vn,Wn=>Ir(Tt,Wn)),symbolToParameterDeclaration:(Tt,Ae,Sn,vn)=>c(Ae,Sn,vn,Wn=>Qt(Tt,Wn)),typeParameterToDeclaration:(Tt,Ae,Sn,vn)=>c(Ae,Sn,vn,Wn=>Ct(Tt,Wn)),symbolTableToDeclarationStatements:(Tt,Ae,Sn,vn,Wn)=>c(Ae,Sn,vn,Kn=>Uf(Tt,Kn,Wn)),symbolToNode:(Tt,Ae,Sn,vn,Wn)=>c(Sn,vn,Wn,Kn=>r(Tt,Kn,Ae))};function r(Tt,Ae,Sn){if(Ae.flags&1073741824){if(Tt.valueDeclaration){const Wn=ra(Tt.valueDeclaration);if(Wn&&ac(Wn))return Wn}const vn=ys(Tt).nameType;if(vn&&vn.flags&9216)return Ae.enclosingDeclaration=vn.symbol.valueDeclaration,J.createComputedPropertyName(wa(vn.symbol,Ae,Sn))}return wa(Tt,Ae,Sn)}function c(Tt,Ae,Sn,vn){R.assert(Tt===void 0||(Tt.flags&8)===0);const Wn=Sn!=null&&Sn.trackSymbol?Sn.moduleResolverHost:Ae&134217728?cKe(e):void 0,Kn={enclosingDeclaration:Tt,flags:Ae||0,tracker:void 0,encounteredError:!1,reportedDiagnostic:!1,visitedTypes:void 0,symbolDepth:void 0,inferTypeParameters:void 0,approximateLength:0};Kn.tracker=new HO(Kn,Sn,Wn);const ia=vn(Kn);return Kn.truncating&&Kn.flags&1&&Kn.tracker.reportTruncationError(),Kn.encounteredError?void 0:ia}function _(Tt){return Tt.truncating?Tt.truncating:Tt.truncating=Tt.approximateLength>(Tt.flags&1?eJ:F5)}function m(Tt,Ae){const Sn=Ae.flags,vn=b(Tt,Ae);return Ae.flags=Sn,vn}function b(Tt,Ae){var Sn,vn;l&&l.throwIfCancellationRequested&&l.throwIfCancellationRequested();const Wn=Ae.flags&8388608;if(Ae.flags&=-8388609,!Tt){if(!(Ae.flags&262144)){Ae.encounteredError=!0;return}return Ae.approximateLength+=3,J.createKeywordTypeNode(131)}if(Ae.flags&536870912||(Tt=fm(Tt)),Tt.flags&1)return Tt.aliasSymbol?J.createTypeReferenceNode(Kr(Tt.aliasSymbol),$(Tt.aliasTypeArguments,Ae)):Tt===kt?q5(J.createKeywordTypeNode(131),3,"unresolved"):(Ae.approximateLength+=3,J.createKeywordTypeNode(Tt===pe?139:131));if(Tt.flags&2)return J.createKeywordTypeNode(157);if(Tt.flags&4)return Ae.approximateLength+=6,J.createKeywordTypeNode(152);if(Tt.flags&8)return Ae.approximateLength+=6,J.createKeywordTypeNode(148);if(Tt.flags&64)return Ae.approximateLength+=6,J.createKeywordTypeNode(160);if(Tt.flags&16&&!Tt.aliasSymbol)return Ae.approximateLength+=7,J.createKeywordTypeNode(134);if(Tt.flags&1056){if(Tt.symbol.flags&8){const Mr=u_(Tt.symbol),In=dn(Mr,Ae,788968);if(Tc(Mr)===Tt)return In;const ki=yl(Tt.symbol);return Bd(ki,0)?pn(In,J.createTypeReferenceNode(ki,void 0)):zy(In)?(In.isTypeOf=!0,J.createIndexedAccessTypeNode(In,J.createLiteralTypeNode(J.createStringLiteral(ki)))):Gd(In)?J.createIndexedAccessTypeNode(J.createTypeQueryNode(In.typeName),J.createLiteralTypeNode(J.createStringLiteral(ki))):R.fail("Unhandled type node kind returned from `symbolToTypeNode`.")}return dn(Tt.symbol,Ae,788968)}if(Tt.flags&128)return Ae.approximateLength+=Tt.value.length+2,J.createLiteralTypeNode(Pn(J.createStringLiteral(Tt.value,!!(Ae.flags&268435456)),33554432));if(Tt.flags&256){const Mr=Tt.value;return Ae.approximateLength+=(""+Mr).length,J.createLiteralTypeNode(Mr<0?J.createPrefixUnaryExpression(40,J.createNumericLiteral(-Mr)):J.createNumericLiteral(Mr))}if(Tt.flags&2048)return Ae.approximateLength+=AT(Tt.value).length+1,J.createLiteralTypeNode(J.createBigIntLiteral(Tt.value));if(Tt.flags&512)return Ae.approximateLength+=Tt.intrinsicName.length,J.createLiteralTypeNode(Tt.intrinsicName==="true"?J.createTrue():J.createFalse());if(Tt.flags&8192){if(!(Ae.flags&1048576)){if(vS(Tt.symbol,Ae.enclosingDeclaration))return Ae.approximateLength+=6,dn(Tt.symbol,Ae,111551);Ae.tracker.reportInaccessibleUniqueSymbolError&&Ae.tracker.reportInaccessibleUniqueSymbolError()}return Ae.approximateLength+=13,J.createTypeOperatorNode(156,J.createKeywordTypeNode(153))}if(Tt.flags&16384)return Ae.approximateLength+=4,J.createKeywordTypeNode(114);if(Tt.flags&32768)return Ae.approximateLength+=9,J.createKeywordTypeNode(155);if(Tt.flags&65536)return Ae.approximateLength+=4,J.createLiteralTypeNode(J.createNull());if(Tt.flags&131072)return Ae.approximateLength+=5,J.createKeywordTypeNode(144);if(Tt.flags&4096)return Ae.approximateLength+=6,J.createKeywordTypeNode(153);if(Tt.flags&67108864)return Ae.approximateLength+=6,J.createKeywordTypeNode(149);if(qP(Tt))return Ae.flags&4194304&&(!Ae.encounteredError&&!(Ae.flags&32768)&&(Ae.encounteredError=!0),(vn=(Sn=Ae.tracker).reportInaccessibleThisError)==null||vn.call(Sn)),Ae.approximateLength+=4,J.createThisTypeNode();if(!Wn&&Tt.aliasSymbol&&(Ae.flags&16384||yS(Tt.aliasSymbol,Ae.enclosingDeclaration))){const Mr=$(Tt.aliasTypeArguments,Ae);return dS(Tt.aliasSymbol.escapedName)&&!(Tt.aliasSymbol.flags&32)?J.createTypeReferenceNode(J.createIdentifier(""),Mr):H(Mr)===1&&Tt.aliasSymbol===Zo.symbol?J.createArrayTypeNode(Mr[0]):dn(Tt.aliasSymbol,Ae,788968,Mr)}const Kn=Ci(Tt);if(Kn&4)return R.assert(!!(Tt.flags&524288)),Tt.node?yr(Tt,Xr):Xr(Tt);if(Tt.flags&262144||Kn&3){if(Tt.flags&262144&&xt(Ae.inferTypeParameters,Tt)){Ae.approximateLength+=yl(Tt.symbol).length+6;let In;const ki=hf(Tt);if(ki){const zn=eOe(Tt,!0);zn&&fy(ki,zn)||(Ae.approximateLength+=9,In=ki&&m(ki,Ae))}return J.createInferTypeNode(Re(Tt,Ae,In))}if(Ae.flags&4&&Tt.flags&262144&&!yS(Tt.symbol,Ae.enclosingDeclaration)){const In=Ei(Tt,Ae);return Ae.approximateLength+=ai(In).length,J.createTypeReferenceNode(J.createIdentifier(ai(In)),void 0)}if(Tt.symbol)return dn(Tt.symbol,Ae,788968);const Mr=(Tt===fc||Tt===Kc)&&X&&X.symbol?(Tt===Kc?"sub-":"super-")+yl(X.symbol):"?";return J.createTypeReferenceNode(J.createIdentifier(Mr),void 0)}if(Tt.flags&1048576&&Tt.origin&&(Tt=Tt.origin),Tt.flags&3145728){const Mr=Tt.flags&1048576?Q_(Tt.types):Tt.types;if(H(Mr)===1)return m(Mr[0],Ae);const In=$(Mr,Ae,!0);if(In&&In.length>0)return Tt.flags&1048576?J.createUnionTypeNode(In):J.createIntersectionTypeNode(In);!Ae.encounteredError&&!(Ae.flags&262144)&&(Ae.encounteredError=!0);return}if(Kn&48)return R.assert(!!(Tt.flags&524288)),Zt(Tt);if(Tt.flags&4194304){const Mr=Tt.type;Ae.approximateLength+=6;const In=m(Mr,Ae);return J.createTypeOperatorNode(141,In)}if(Tt.flags&134217728){const Mr=Tt.texts,In=Tt.types,ki=J.createTemplateHead(Mr[0]),zn=J.createNodeArray(qt(In,(Gs,Jo)=>J.createTemplateLiteralTypeSpan(m(Gs,Ae),(Jo<In.length-1?J.createTemplateMiddle:J.createTemplateTail)(Mr[Jo+1]))));return Ae.approximateLength+=2,J.createTemplateLiteralType(ki,zn)}if(Tt.flags&268435456){const Mr=m(Tt.type,Ae);return dn(Tt.symbol,Ae,788968,[Mr])}if(Tt.flags&8388608){const Mr=m(Tt.objectType,Ae),In=m(Tt.indexType,Ae);return Ae.approximateLength+=2,J.createIndexedAccessTypeNode(Mr,In)}if(Tt.flags&16777216)return yr(Tt,Mr=>ia(Mr));if(Tt.flags&33554432)return m(Tt.baseType,Ae);return R.fail("Should be unreachable.");function ia(Mr){const In=m(Mr.checkType,Ae);if(Ae.approximateLength+=15,Ae.flags&4&&Mr.root.isDistributive&&!(Mr.checkType.flags&262144)){const vc=A_(Oo(262144,"T")),Sc=Ei(vc,Ae),p_=J.createTypeReferenceNode(Sc);Ae.approximateLength+=37;const _t=Ok(Mr.root.checkType,vc,Mr.mapper),Mt=Ae.inferTypeParameters;Ae.inferTypeParameters=Mr.root.inferTypeParameters;const vr=m(Cs(Mr.root.extendsType,_t),Ae);Ae.inferTypeParameters=Mt;const _n=is(Cs(Bi(Mr.root.node.trueType),_t)),Bn=is(Cs(Bi(Mr.root.node.falseType),_t));return J.createConditionalTypeNode(In,J.createInferTypeNode(J.createTypeParameterDeclaration(void 0,J.cloneNode(p_.typeName))),J.createConditionalTypeNode(J.createTypeReferenceNode(J.cloneNode(Sc)),m(Mr.checkType,Ae),J.createConditionalTypeNode(p_,vr,_n,Bn),J.createKeywordTypeNode(144)),J.createKeywordTypeNode(144))}const ki=Ae.inferTypeParameters;Ae.inferTypeParameters=Mr.root.inferTypeParameters;const zn=m(Mr.extendsType,Ae);Ae.inferTypeParameters=ki;const Gs=is(ub(Mr)),Jo=is(fb(Mr));return J.createConditionalTypeNode(In,zn,Gs,Jo)}function is(Mr){var In,ki,zn;return Mr.flags&1048576?(In=Ae.visitedTypes)!=null&&In.has(vf(Mr))?(Ae.flags&131072||(Ae.encounteredError=!0,(zn=(ki=Ae.tracker)==null?void 0:ki.reportCyclicStructureError)==null||zn.call(ki)),x(Ae)):yr(Mr,Gs=>m(Gs,Ae)):m(Mr,Ae)}function Yn(Mr){return I8(Mr)&&!(h3(Mr).flags&262144)}function Nt(Mr){R.assert(!!(Mr.flags&524288));const In=Mr.declaration.readonlyToken?J.createToken(Mr.declaration.readonlyToken.kind):void 0,ki=Mr.declaration.questionToken?J.createToken(Mr.declaration.questionToken.kind):void 0;let zn,Gs;if(I8(Mr)){if(Yn(Mr)&&Ae.flags&4){const Mt=A_(Oo(262144,"T")),vr=Ei(Mt,Ae);Gs=J.createTypeReferenceNode(vr)}zn=J.createTypeOperatorNode(141,Gs||m(h3(Mr),Ae))}else zn=m(Rm(Mr),Ae);const Jo=Re(lm(Mr),Ae,zn),vc=Mr.declaration.nameType?m(y0(Mr),Ae):void 0,Sc=m(OS(uy(Mr),!!(vh(Mr)&4)),Ae),p_=J.createMappedTypeNode(In,Jo,vc,ki,Sc,void 0);Ae.approximateLength+=10;const _t=Pn(p_,1);if(Yn(Mr)&&Ae.flags&4){const Mt=Cs(hf(Bi(Mr.declaration.typeParameter.constraint.type))||xe,Mr.mapper);return J.createConditionalTypeNode(m(h3(Mr),Ae),J.createInferTypeNode(J.createTypeParameterDeclaration(void 0,J.cloneNode(Gs.typeName),Mt.flags&2?void 0:m(Mt,Ae))),_t,J.createKeywordTypeNode(144))}return _t}function Zt(Mr){var In,ki;const zn=Mr.id,Gs=Mr.symbol;if(Gs){const vc=ms(Mr)?788968:111551;if(Vm(Gs.valueDeclaration))return dn(Gs,Ae,vc);if(Gs.flags&32&&!Ca(Gs)&&!(Gs.valueDeclaration&&Ri(Gs.valueDeclaration)&&Ae.flags&2048&&(!vu(Gs.valueDeclaration)||E1(Gs,Ae.enclosingDeclaration,vc,!1).accessibility!==0))||Gs.flags&896||Jo())return dn(Gs,Ae,vc);if((In=Ae.visitedTypes)!=null&&In.has(zn)){const Sc=A1(Mr);return Sc?dn(Sc,Ae,788968):x(Ae)}else return yr(Mr,pr)}else{if(!!(Ci(Mr)&8388608)){const Sc=Mr;if(tD(Sc.node)){const p_=Ya(Ae,Sc.node);if(p_)return p_}return(ki=Ae.visitedTypes)!=null&&ki.has(zn)?x(Ae):yr(Mr,pr)}return pr(Mr)}function Jo(){var vc;const Sc=!!(Gs.flags&8192)&&Oe(Gs.declarations,_t=>ba(_t)),p_=!!(Gs.flags&16)&&(Gs.parent||Q(Gs.declarations,_t=>_t.parent.kind===308||_t.parent.kind===265));if(Sc||p_)return(!!(Ae.flags&4096)||((vc=Ae.visitedTypes)==null?void 0:vc.has(zn)))&&(!(Ae.flags&8)||vS(Gs,Ae.enclosingDeclaration))}}function yr(Mr,In){var ki,zn;const Gs=Mr.id,Jo=Ci(Mr)&16&&Mr.symbol&&Mr.symbol.flags&32,vc=Ci(Mr)&4&&Mr.node?"N"+Wo(Mr.node):Mr.flags&16777216?"N"+Wo(Mr.root.node):Mr.symbol?(Jo?"+":"")+Ha(Mr.symbol):void 0;Ae.visitedTypes||(Ae.visitedTypes=new Set),vc&&!Ae.symbolDepth&&(Ae.symbolDepth=new Map);const Sc=Ae.enclosingDeclaration&&gi(Ae.enclosingDeclaration),p_=`${vf(Mr)}|${Ae.flags}`;Sc&&(Sc.serializedTypes||(Sc.serializedTypes=new Map));const _t=(ki=Sc==null?void 0:Sc.serializedTypes)==null?void 0:ki.get(p_);if(_t)return _t.truncating&&(Ae.truncating=!0),Ae.approximateLength+=_t.addedLength,Hr(_t.node);let Mt;if(vc){if(Mt=Ae.symbolDepth.get(vc)||0,Mt>10)return x(Ae);Ae.symbolDepth.set(vc,Mt+1)}Ae.visitedTypes.add(Gs);const vr=Ae.approximateLength,_n=In(Mr),Bn=Ae.approximateLength-vr;return!Ae.reportedDiagnostic&&!Ae.encounteredError&&((zn=Sc==null?void 0:Sc.serializedTypes)==null||zn.set(p_,{node:_n,truncating:Ae.truncating,addedLength:Bn})),Ae.visitedTypes.delete(Gs),vc&&Ae.symbolDepth.set(vc,Mt),_n;function Hr(ui){return!Mc(ui)&&qs(ui)===ui?ui:Et(J.cloneNode(an(ui,Hr,qy,Hn)),ui)}function Hn(ui,ds,Zs,va,Ea){return ui&&ui.length===0?Et(J.createNodeArray(void 0,ui.hasTrailingComma),ui):hn(ui,ds,Zs,va,Ea)}}function pr(Mr){if($p(Mr)||Mr.containsError)return Nt(Mr);const In=um(Mr);if(!In.properties.length&&!In.indexInfos.length){if(!In.callSignatures.length&&!In.constructSignatures.length)return Ae.approximateLength+=2,Pn(J.createTypeLiteralNode(void 0),1);if(In.callSignatures.length===1&&!In.constructSignatures.length){const vc=In.callSignatures[0];return ke(vc,181,Ae)}if(In.constructSignatures.length===1&&!In.callSignatures.length){const vc=In.constructSignatures[0];return ke(vc,182,Ae)}}const ki=hr(In.constructSignatures,vc=>!!(vc.flags&4));if(Oe(ki)){const vc=qt(ki,PS);return In.callSignatures.length+(In.constructSignatures.length-ki.length)+In.indexInfos.length+(Ae.flags&2048?An(In.properties,p_=>!(p_.flags&4194304)):H(In.properties))&&vc.push(mS(In)),m(no(vc),Ae)}const zn=Ae.flags;Ae.flags|=4194304;const Gs=Wi(In);Ae.flags=zn;const Jo=J.createTypeLiteralNode(Gs);return Ae.approximateLength+=2,Pn(Jo,Ae.flags&1024?0:1),Jo}function Xr(Mr){let In=Go(Mr);if(Mr.target===Zo||Mr.target===zo){if(Ae.flags&2){const Gs=m(In[0],Ae);return J.createTypeReferenceNode(Mr.target===Zo?"Array":"ReadonlyArray",[Gs])}const ki=m(In[0],Ae),zn=J.createArrayTypeNode(ki);return Mr.target===Zo?zn:J.createTypeOperatorNode(146,zn)}else if(Mr.target.objectFlags&8){if(In=$s(In,(ki,zn)=>OS(ki,!!(Mr.target.elementFlags[zn]&2))),In.length>0){const ki=cb(Mr),zn=$(In.slice(0,ki),Ae);if(zn){if(Mr.target.labeledElementDeclarations)for(let Jo=0;Jo<zn.length;Jo++){const vc=Mr.target.elementFlags[Jo];zn[Jo]=J.createNamedTupleMember(vc&12?J.createToken(25):void 0,J.createIdentifier(Ds(IH(Mr.target.labeledElementDeclarations[Jo]))),vc&2?J.createToken(57):void 0,vc&4?J.createArrayTypeNode(zn[Jo]):zn[Jo])}else for(let Jo=0;Jo<Math.min(ki,zn.length);Jo++){const vc=Mr.target.elementFlags[Jo];zn[Jo]=vc&12?J.createRestTypeNode(vc&4?J.createArrayTypeNode(zn[Jo]):zn[Jo]):vc&2?J.createOptionalTypeNode(zn[Jo]):zn[Jo]}const Gs=Pn(J.createTupleTypeNode(zn),1);return Mr.target.readonly?J.createTypeOperatorNode(146,Gs):Gs}}if(Ae.encounteredError||Ae.flags&524288){const ki=Pn(J.createTupleTypeNode([]),1);return Mr.target.readonly?J.createTypeOperatorNode(146,ki):ki}Ae.encounteredError=!0;return}else{if(Ae.flags&2048&&Mr.symbol.valueDeclaration&&Ri(Mr.symbol.valueDeclaration)&&!vS(Mr.symbol,Ae.enclosingDeclaration))return Zt(Mr);{const ki=Mr.target.outerTypeParameters;let zn=0,Gs;if(ki){const p_=ki.length;for(;zn<p_;){const _t=zn,Mt=tOe(ki[zn]);do zn++;while(zn<p_&&tOe(ki[zn])===Mt);if(!uY(ki,In,_t,zn)){const vr=$(In.slice(_t,zn),Ae),_n=Ae.flags;Ae.flags|=16;const Bn=dn(Mt,Ae,788968,vr);Ae.flags=_n,Gs=Gs?pn(Gs,Bn):Bn}}}let Jo;if(In.length>0){const p_=(Mr.target.typeParameters||pt).length;Jo=$(In.slice(zn,p_),Ae)}const vc=Ae.flags;Ae.flags|=16;const Sc=dn(Mr.symbol,Ae,788968,Jo);return Ae.flags=vc,Gs?pn(Gs,Sc):Sc}}}function pn(Mr,In){if(zy(Mr)){let ki=Mr.typeArguments,zn=Mr.qualifier;zn&&(Ye(zn)?ki!==Lx(zn)&&(zn=r1(J.cloneNode(zn),ki)):ki!==Lx(zn.right)&&(zn=J.updateQualifiedName(zn,zn.left,r1(J.cloneNode(zn.right),ki)))),ki=In.typeArguments;const Gs=Ms(In);for(const Jo of Gs)zn=zn?J.createQualifiedName(zn,Jo):Jo;return J.updateImportTypeNode(Mr,Mr.argument,Mr.assertions,zn,ki,Mr.isTypeOf)}else{let ki=Mr.typeArguments,zn=Mr.typeName;Ye(zn)?ki!==Lx(zn)&&(zn=r1(J.cloneNode(zn),ki)):ki!==Lx(zn.right)&&(zn=J.updateQualifiedName(zn,zn.left,r1(J.cloneNode(zn.right),ki))),ki=In.typeArguments;const Gs=Ms(In);for(const Jo of Gs)zn=J.createQualifiedName(zn,Jo);return J.updateTypeReferenceNode(Mr,zn,ki)}}function Ms(Mr){let In=Mr.typeName;const ki=[];for(;!Ye(In);)ki.unshift(In.right),In=In.left;return ki.unshift(In),ki}function Wi(Mr){if(_(Ae))return[J.createPropertySignature(void 0,"...",void 0,void 0)];const In=[];for(const Gs of Mr.callSignatures)In.push(ke(Gs,176,Ae));for(const Gs of Mr.constructSignatures)Gs.flags&4||In.push(ke(Gs,177,Ae));for(const Gs of Mr.indexInfos)In.push(ae(Gs,Ae,Mr.objectFlags&1024?x(Ae):void 0));const ki=Mr.properties;if(!ki)return In;let zn=0;for(const Gs of ki){if(zn++,Ae.flags&2048){if(Gs.flags&4194304)continue;td(Gs)&24&&Ae.tracker.reportPrivateInBaseOfClassExpression&&Ae.tracker.reportPrivateInBaseOfClassExpression(Ds(Gs.escapedName))}if(_(Ae)&&zn+2<ki.length-1){In.push(J.createPropertySignature(void 0,`... ${ki.length-zn} more ...`,void 0,void 0)),j(ki[ki.length-1],Ae,In);break}j(Gs,Ae,In)}return In.length?In:void 0}}function x(Tt){return Tt.approximateLength+=3,Tt.flags&1?J.createKeywordTypeNode(131):J.createTypeReferenceNode(J.createIdentifier("..."),void 0)}function D(Tt,Ae){var Sn;return!!(ul(Tt)&8192)&&(xt(Ae.reverseMappedStack,Tt)||((Sn=Ae.reverseMappedStack)==null?void 0:Sn[0])&&!(Ci(ko(Ae.reverseMappedStack).links.propertyType)&16))}function j(Tt,Ae,Sn){var vn;const Wn=!!(ul(Tt)&8192),Kn=D(Tt,Ae)?Fe:sb(Tt),ia=Ae.enclosingDeclaration;if(Ae.enclosingDeclaration=void 0,Ae.tracker.canTrackSymbol&&D8(Tt.escapedName))if(Tt.declarations){const Zt=Uo(Tt.declarations);if(JL(Zt))if($n(Zt)){const yr=ra(Zt);yr&&qc(yr)&&g5(yr.argumentExpression)&&sn(yr.argumentExpression,ia,Ae)}else sn(Zt.name.expression,ia,Ae)}else Ae.tracker.reportNonSerializableProperty(A(Tt));Ae.enclosingDeclaration=Tt.valueDeclaration||((vn=Tt.declarations)==null?void 0:vn[0])||ia;const is=xp(Tt,Ae);Ae.enclosingDeclaration=ia,Ae.approximateLength+=yl(Tt).length+1;const Yn=Tt.flags&16777216?J.createToken(57):void 0;if(Tt.flags&8208&&!F1(Kn).length&&!dm(Tt)){const Zt=ya(Zl(Kn,yr=>!(yr.flags&32768)),0);for(const yr of Zt){const pr=ke(yr,170,Ae,{name:is,questionToken:Yn});Sn.push(Nt(pr))}}else{let Zt;D(Tt,Ae)?Zt=x(Ae):(Wn&&(Ae.reverseMappedStack||(Ae.reverseMappedStack=[]),Ae.reverseMappedStack.push(Tt)),Zt=Kn?Ns(Ae,Kn,Tt,ia):J.createKeywordTypeNode(131),Wn&&Ae.reverseMappedStack.pop());const yr=dm(Tt)?[J.createToken(146)]:void 0;yr&&(Ae.approximateLength+=9);const pr=J.createPropertySignature(yr,is,Yn,Zt);Sn.push(Nt(pr))}function Nt(Zt){var yr;if(Oe(Tt.declarations,pr=>pr.kind===351)){const pr=(yr=Tt.declarations)==null?void 0:yr.find(pn=>pn.kind===351),Xr=m7(pr.comment);Xr&&DT(Zt,[{kind:3,text:`*
* `+Xr.replace(/\n/g,`
* `)+`
`,pos:-1,end:-1,hasTrailingNewLine:!0}])}else Tt.valueDeclaration&&Du(Zt,Tt.valueDeclaration);return Zt}}function $(Tt,Ae,Sn){if(Oe(Tt)){if(_(Ae))if(Sn){if(Tt.length>2)return[m(Tt[0],Ae),J.createTypeReferenceNode(`... ${Tt.length-2} more ...`,void 0),m(Tt[Tt.length-1],Ae)]}else return[J.createTypeReferenceNode("...",void 0)];const Wn=!(Ae.flags&64)?D1e():void 0,Kn=[];let ia=0;for(const is of Tt){if(ia++,_(Ae)&&ia+2<Tt.length-1){Kn.push(J.createTypeReferenceNode(`... ${Tt.length-ia} more ...`,void 0));const Nt=m(Tt[Tt.length-1],Ae);Nt&&Kn.push(Nt);break}Ae.approximateLength+=2;const Yn=m(is,Ae);Yn&&(Kn.push(Yn),Wn&&HTe(Yn)&&Wn.add(Yn.typeName.escapedText,[is,Kn.length-1]))}if(Wn){const is=Ae.flags;Ae.flags|=64,Wn.forEach(Yn=>{if(!GTe(Yn,([Nt],[Zt])=>re(Nt,Zt)))for(const[Nt,Zt]of Yn)Kn[Zt]=m(Nt,Ae)}),Ae.flags=is}return Kn}}function re(Tt,Ae){return Tt===Ae||!!Tt.symbol&&Tt.symbol===Ae.symbol||!!Tt.aliasSymbol&&Tt.aliasSymbol===Ae.aliasSymbol}function ae(Tt,Ae,Sn){const vn=i2e(Tt)||"x",Wn=m(Tt.keyType,Ae),Kn=J.createParameterDeclaration(void 0,void 0,vn,void 0,Wn,void 0);return Sn||(Sn=m(Tt.type||Fe,Ae)),!Tt.type&&!(Ae.flags&2097152)&&(Ae.encounteredError=!0),Ae.approximateLength+=vn.length+4,J.createIndexSignature(Tt.isReadonly?[J.createToken(146)]:void 0,[Kn],Sn)}function ke(Tt,Ae,Sn,vn){var Wn,Kn,ia,is,Yn;const Nt=Sn.flags&256;Nt&&(Sn.flags&=-257),Sn.approximateLength+=3;let Zt,yr;Sn.flags&32&&Tt.target&&Tt.mapper&&Tt.target.typeParameters?yr=Tt.target.typeParameters.map(zn=>m(Cs(zn,Tt.mapper),Sn)):Zt=Tt.typeParameters&&Tt.typeParameters.map(zn=>Ct(zn,Sn));const pr=O5e(Tt,!0)[0];let Xr;if(Sn.enclosingDeclaration&&Tt.declaration&&Tt.declaration!==Sn.enclosingDeclaration&&!Mn(Tt.declaration)&&Oe(pr)){const zn=gi(Sn.enclosingDeclaration).fakeScopeForSignatureDeclaration?Sn.enclosingDeclaration:void 0;R.assertOptionalNode(zn,Fa);const Gs=(Wn=zn==null?void 0:zn.locals)!=null?Wn:Ma();let Jo;for(const vc of pr)Gs.has(vc.escapedName)||(Jo=$r(Jo,vc.escapedName),Gs.set(vc.escapedName,vc));if(Jo){let vc=function(){Q(Jo,Sc=>Gs.delete(Sc))};if(zn)Xr=vc;else{const Sc=sg.createBlock(pt);gi(Sc).fakeScopeForSignatureDeclaration=!0,Sc.locals=Gs;const p_=Sn.enclosingDeclaration;go(Sc,p_),Sn.enclosingDeclaration=Sc,Xr=()=>{Sn.enclosingDeclaration=p_,vc()}}}}const pn=(Oe(pr,zn=>zn!==pr[pr.length-1]&&!!(ul(zn)&32768))?Tt.parameters:pr).map(zn=>Qt(zn,Sn,Ae===173,vn==null?void 0:vn.privateSymbolVisitor,vn==null?void 0:vn.bundledImports)),Ms=Sn.flags&33554432?void 0:je(Tt,Sn);Ms&&pn.unshift(Ms);let Wi;const Mr=ld(Tt);if(Mr){const zn=Mr.kind===2||Mr.kind===3?J.createToken(129):void 0,Gs=Mr.kind===1||Mr.kind===3?Pn(J.createIdentifier(Mr.parameterName),33554432):J.createThisTypeNode(),Jo=Mr.type&&m(Mr.type,Sn);Wi=J.createTypePredicateNode(zn,Gs,Jo)}else{const zn=Xo(Tt);zn&&!(Nt&&rc(zn))?Wi=dc(Sn,zn,Tt,vn==null?void 0:vn.privateSymbolVisitor,vn==null?void 0:vn.bundledImports):Nt||(Wi=J.createKeywordTypeNode(131))}let In=vn==null?void 0:vn.modifiers;if(Ae===182&&Tt.flags&4){const zn=Qh(In);In=J.createModifiersFromModifierFlags(zn|256)}const ki=Ae===176?J.createCallSignature(Zt,pn,Wi):Ae===177?J.createConstructSignature(Zt,pn,Wi):Ae===170?J.createMethodSignature(In,(Kn=vn==null?void 0:vn.name)!=null?Kn:J.createIdentifier(""),vn==null?void 0:vn.questionToken,Zt,pn,Wi):Ae===171?J.createMethodDeclaration(In,void 0,(ia=vn==null?void 0:vn.name)!=null?ia:J.createIdentifier(""),void 0,Zt,pn,Wi,void 0):Ae===173?J.createConstructorDeclaration(In,pn,void 0):Ae===174?J.createGetAccessorDeclaration(In,(is=vn==null?void 0:vn.name)!=null?is:J.createIdentifier(""),pn,Wi,void 0):Ae===175?J.createSetAccessorDeclaration(In,(Yn=vn==null?void 0:vn.name)!=null?Yn:J.createIdentifier(""),pn,void 0):Ae===178?J.createIndexSignature(In,pn,Wi):Ae===320?J.createJSDocFunctionType(pn,Wi):Ae===181?J.createFunctionTypeNode(Zt,pn,Wi??J.createTypeReferenceNode(J.createIdentifier(""))):Ae===182?J.createConstructorTypeNode(In,Zt,pn,Wi??J.createTypeReferenceNode(J.createIdentifier(""))):Ae===259?J.createFunctionDeclaration(In,void 0,vn!=null&&vn.name?Oa(vn.name,Ye):J.createIdentifier(""),Zt,pn,Wi,void 0):Ae===215?J.createFunctionExpression(In,void 0,vn!=null&&vn.name?Oa(vn.name,Ye):J.createIdentifier(""),Zt,pn,Wi,J.createBlock([])):Ae===216?J.createArrowFunction(In,Zt,pn,Wi,void 0,J.createBlock([])):R.assertNever(Ae);return yr&&(ki.typeArguments=J.createNodeArray(yr)),Xr==null||Xr(),ki}function je(Tt,Ae){if(Tt.thisParameter)return Qt(Tt.thisParameter,Ae);if(Tt.declaration&&Mn(Tt.declaration)){const Sn=PB(Tt.declaration);if(Sn&&Sn.typeExpression)return J.createParameterDeclaration(void 0,void 0,"this",void 0,m(Bi(Sn.typeExpression),Ae))}}function Re(Tt,Ae,Sn){const vn=Ae.flags;Ae.flags&=-513;const Wn=J.createModifiersFromModifierFlags(ype(Tt)),Kn=Ei(Tt,Ae),ia=AS(Tt),is=ia&&m(ia,Ae);return Ae.flags=vn,J.createTypeParameterDeclaration(Wn,Kn,Sn,is)}function Ct(Tt,Ae,Sn=hf(Tt)){const vn=Sn&&m(Sn,Ae);return Re(Tt,Ae,vn)}function Qt(Tt,Ae,Sn,vn,Wn){let Kn=ol(Tt,166);!Kn&&!qh(Tt)&&(Kn=ol(Tt,344));let ia=En(Tt);Kn&&_Re(Kn)&&(ia=C0(ia));const is=Ns(Ae,ia,Tt,Ae.enclosingDeclaration,vn,Wn),Yn=!(Ae.flags&8192)&&Sn&&Kn&&Qd(Kn)?qt(fx(Kn),J.cloneNode):void 0,Zt=Kn&&Lg(Kn)||ul(Tt)&32768?J.createToken(25):void 0,yr=Kn&&Kn.name?Kn.name.kind===79?Pn(J.cloneNode(Kn.name),33554432):Kn.name.kind===163?Pn(J.cloneNode(Kn.name.right),33554432):Ms(Kn.name):yl(Tt),Xr=Kn&&L8(Kn)||ul(Tt)&16384?J.createToken(57):void 0,pn=J.createParameterDeclaration(Yn,Zt,yr,Xr,is,void 0);return Ae.approximateLength+=yl(Tt).length+3,pn;function Ms(Wi){return Mr(Wi);function Mr(In){Ae.tracker.canTrackSymbol&&ac(In)&&o_e(In)&&sn(In.expression,Ae.enclosingDeclaration,Ae);let ki=an(In,Mr,qy,void 0,Mr);return qo(ki)&&(ki=J.updateBindingElement(ki,ki.dotDotDotToken,ki.propertyName,ki.name,void 0)),Mc(ki)||(ki=J.cloneNode(ki)),Pn(ki,33554433)}}}function sn(Tt,Ae,Sn){if(!Sn.tracker.canTrackSymbol)return;const vn=Dp(Tt),Wn=Xc(vn,vn.escapedText,1160127,void 0,void 0,!0);Wn&&Sn.tracker.trackSymbol(Wn,Ae,111551)}function Zr(Tt,Ae,Sn,vn){return Ae.tracker.trackSymbol(Tt,Ae.enclosingDeclaration,Sn),cn(Tt,Ae,Sn,vn)}function cn(Tt,Ae,Sn,vn){let Wn;return!(Tt.flags&262144)&&(Ae.enclosingDeclaration||Ae.flags&64)&&!(Ae.flags&134217728)?(Wn=R.checkDefined(ia(Tt,Sn,!0)),R.assert(Wn&&Wn.length>0)):Wn=[Tt],Wn;function ia(is,Yn,Nt){let Zt=Kv(is,Ae.enclosingDeclaration,Yn,!!(Ae.flags&128)),yr;if(!Zt||Pk(Zt[0],Ae.enclosingDeclaration,Zt.length===1?Yn:_0(Yn))){const Xr=pS(Zt?Zt[0]:is,Ae.enclosingDeclaration,Yn);if(H(Xr)){yr=Xr.map(Wi=>Oe(Wi.declarations,p0)?Ar(Wi,Ae):void 0);const pn=Xr.map((Wi,Mr)=>Mr);pn.sort(pr);const Ms=pn.map(Wi=>Xr[Wi]);for(const Wi of Ms){const Mr=ia(Wi,_0(Yn),!1);if(Mr){if(Wi.exports&&Wi.exports.get("export=")&&mh(Wi.exports.get("export="),is)){Zt=Mr;break}Zt=Mr.concat(Zt||[C1(Wi,is)||is]);break}}}}if(Zt)return Zt;if(Nt||!(is.flags&6144))return!Nt&&!vn&&Q(is.declarations,p0)?void 0:[is];function pr(Xr,pn){const Ms=yr[Xr],Wi=yr[pn];if(Ms&&Wi){const Mr=wp(Wi);return wp(Ms)===Mr?$O(Ms)-$O(Wi):Mr?-1:1}return 0}}}function Ir(Tt,Ae){let Sn;return ME(Tt).flags&524384&&(Sn=J.createNodeArray(qt(L1(Tt),Wn=>Ct(Wn,Ae)))),Sn}function Wr(Tt,Ae,Sn){var vn;R.assert(Tt&&0<=Ae&&Ae<Tt.length);const Wn=Tt[Ae],Kn=Ha(Wn);if((vn=Sn.typeParameterSymbolList)!=null&&vn.has(Kn))return;(Sn.typeParameterSymbolList||(Sn.typeParameterSymbolList=new Set)).add(Kn);let ia;if(Sn.flags&512&&Ae<Tt.length-1){const is=Wn,Yn=Tt[Ae+1];if(ul(Yn)&1){const Nt=Dk(is.flags&2097152?jl(is):is);ia=$(qt(Nt,Zt=>_b(Zt,Yn.links.mapper)),Sn)}else ia=Ir(Wn,Sn)}return ia}function Un(Tt){return cw(Tt.objectType)?Un(Tt.objectType):Tt}function Ar(Tt,Ae,Sn){var vn;let Wn=ol(Tt,308);if(!Wn){const Zt=ze(Tt.declarations,yr=>aE(yr,Tt));Zt&&(Wn=ol(Zt,308))}if(Wn&&Wn.moduleName!==void 0)return Wn.moduleName;if(!Wn){if(Ae.tracker.trackReferencedAmbientModule){const Zt=hr(Tt.declarations,Af);if(H(Zt))for(const yr of Zt)Ae.tracker.trackReferencedAmbientModule(yr,Tt)}if(JU.test(Tt.escapedName))return Tt.escapedName.substring(1,Tt.escapedName.length-1)}if(!Ae.enclosingDeclaration||!Ae.tracker.moduleResolverHost)return JU.test(Tt.escapedName)?Tt.escapedName.substring(1,Tt.escapedName.length-1):bn(RK(Tt)).fileName;const Kn=bn(sl(Ae.enclosingDeclaration)),ia=Sn||(Kn==null?void 0:Kn.impliedNodeFormat),is=yD(Kn.path,ia),Yn=ys(Tt);let Nt=Yn.specifierCache&&Yn.specifierCache.get(is);if(!Nt){const Zt=!!Ec(se),{moduleResolverHost:yr}=Ae.tracker,pr=Zt?{...se,baseUrl:yr.getCommonSourceDirectory()}:se;Nt=Uo(wCe(Tt,mt,pr,Kn,yr,{importModuleSpecifierPreference:Zt?"non-relative":"project-relative",importModuleSpecifierEnding:Zt?"minimal":ia===99?"js":void 0},{overrideImportMode:Sn})),(vn=Yn.specifierCache)!=null||(Yn.specifierCache=new Map),Yn.specifierCache.set(is,Nt)}return Nt}function Kr(Tt){const Ae=J.createIdentifier(Ds(Tt.escapedName));return Tt.parent?J.createQualifiedName(Kr(Tt.parent),Ae):Ae}function dn(Tt,Ae,Sn,vn){var Wn,Kn,ia,is;const Yn=Zr(Tt,Ae,Sn,!(Ae.flags&16384)),Nt=Sn===111551;if(Oe(Yn[0].declarations,p0)){const pr=Yn.length>1?yr(Yn,Yn.length-1,1):void 0,Xr=vn||Wr(Yn,0,Ae),pn=bn(sl(Ae.enclosingDeclaration)),Ms=$B(Yn[0]);let Wi,Mr;if((vl(se)===3||vl(se)===99)&&(Ms==null?void 0:Ms.impliedNodeFormat)===99&&Ms.impliedNodeFormat!==(pn==null?void 0:pn.impliedNodeFormat)&&(Wi=Ar(Yn[0],Ae,99),Mr=J.createImportTypeAssertionContainer(J.createAssertClause(J.createNodeArray([J.createAssertEntry(J.createStringLiteral("resolution-mode"),J.createStringLiteral("import"))]))),(Kn=(Wn=Ae.tracker).reportImportTypeNodeResolutionModeOverride)==null||Kn.call(Wn)),Wi||(Wi=Ar(Yn[0],Ae)),!(Ae.flags&67108864)&&vl(se)!==1&&Wi.indexOf("/node_modules/")>=0){const ki=Wi;if(vl(se)===3||vl(se)===99){const zn=(pn==null?void 0:pn.impliedNodeFormat)===99?1:99;Wi=Ar(Yn[0],Ae,zn),Wi.indexOf("/node_modules/")>=0?Wi=ki:(Mr=J.createImportTypeAssertionContainer(J.createAssertClause(J.createNodeArray([J.createAssertEntry(J.createStringLiteral("resolution-mode"),J.createStringLiteral(zn===99?"import":"require"))]))),(is=(ia=Ae.tracker).reportImportTypeNodeResolutionModeOverride)==null||is.call(ia))}Mr||(Ae.encounteredError=!0,Ae.tracker.reportLikelyUnsafeImportRequiredError&&Ae.tracker.reportLikelyUnsafeImportRequiredError(ki))}const In=J.createLiteralTypeNode(J.createStringLiteral(Wi));if(Ae.tracker.trackExternalModuleSymbolOfImportTypeNode&&Ae.tracker.trackExternalModuleSymbolOfImportTypeNode(Yn[0]),Ae.approximateLength+=Wi.length+10,!pr||ap(pr)){if(pr){const ki=Ye(pr)?pr:pr.right;r1(ki,void 0)}return J.createImportTypeNode(In,Mr,pr,Xr,Nt)}else{const ki=Un(pr),zn=ki.objectType.typeName;return J.createIndexedAccessTypeNode(J.createImportTypeNode(In,Mr,zn,Xr,Nt),ki.indexType)}}const Zt=yr(Yn,Yn.length-1,0);if(cw(Zt))return Zt;if(Nt)return J.createTypeQueryNode(Zt);{const pr=Ye(Zt)?Zt:Zt.right,Xr=Lx(pr);return r1(pr,void 0),J.createTypeReferenceNode(Zt,Xr)}function yr(pr,Xr,pn){const Ms=Xr===pr.length-1?vn:Wr(pr,Xr,Ae),Wi=pr[Xr],Mr=pr[Xr-1];let In;if(Xr===0)Ae.flags|=16777216,In=P1(Wi,Ae),Ae.approximateLength+=(In?In.length:0)+1,Ae.flags^=16777216;else if(Mr&&yp(Mr)){const zn=yp(Mr);cp(zn,(Gs,Jo)=>{if(mh(Gs,Wi)&&!D8(Jo)&&Jo!=="export=")return In=Ds(Jo),!0})}if(In===void 0){const zn=ze(Wi.declarations,ra);if(zn&&ac(zn)&&ap(zn.expression)){const Gs=yr(pr,Xr-1,pn);return ap(Gs)?J.createIndexedAccessTypeNode(J.createParenthesizedType(J.createTypeQueryNode(Gs)),J.createTypeQueryNode(zn.expression)):Gs}In=P1(Wi,Ae)}if(Ae.approximateLength+=In.length+1,!(Ae.flags&16)&&Mr&&M1(Mr)&&M1(Mr).get(Wi.escapedName)&&mh(M1(Mr).get(Wi.escapedName),Wi)){const zn=yr(pr,Xr-1,pn);return cw(zn)?J.createIndexedAccessTypeNode(zn,J.createLiteralTypeNode(J.createStringLiteral(In))):J.createIndexedAccessTypeNode(J.createTypeReferenceNode(zn,Ms),J.createLiteralTypeNode(J.createStringLiteral(In)))}const ki=Pn(J.createIdentifier(In),33554432);if(Ms&&r1(ki,J.createNodeArray(Ms)),ki.symbol=Wi,Xr>pn){const zn=yr(pr,Xr-1,pn);return ap(zn)?J.createQualifiedName(zn,ki):R.fail("Impossible construct - an export of an indexed access cannot be reachable")}return ki}}function xi(Tt,Ae,Sn){const vn=Xc(Ae.enclosingDeclaration,Tt,788968,void 0,Tt,!1);return vn?!(vn.flags&262144&&vn===Sn.symbol):!1}function Ei(Tt,Ae){var Sn,vn;if(Ae.flags&4&&Ae.typeParameterNames){const Kn=Ae.typeParameterNames.get(vf(Tt));if(Kn)return Kn}let Wn=Js(Tt.symbol,Ae,788968,!0);if(!(Wn.kind&79))return J.createIdentifier("(Missing type parameter)");if(Ae.flags&4){const Kn=Wn.escapedText;let ia=((Sn=Ae.typeParameterNamesByTextNextNameCount)==null?void 0:Sn.get(Kn))||0,is=Kn;for(;(vn=Ae.typeParameterNamesByText)!=null&&vn.has(is)||xi(is,Ae,Tt);)ia++,is=`${Kn}_${ia}`;if(is!==Kn){const Yn=Lx(Wn);Wn=J.createIdentifier(is),r1(Wn,Yn)}(Ae.typeParameterNamesByTextNextNameCount||(Ae.typeParameterNamesByTextNextNameCount=new Map)).set(Kn,ia),(Ae.typeParameterNames||(Ae.typeParameterNames=new Map)).set(vf(Tt),Wn),(Ae.typeParameterNamesByText||(Ae.typeParameterNamesByText=new Set)).add(Kn)}return Wn}function Js(Tt,Ae,Sn,vn){const Wn=Zr(Tt,Ae,Sn);return vn&&Wn.length!==1&&!Ae.encounteredError&&!(Ae.flags&65536)&&(Ae.encounteredError=!0),Kn(Wn,Wn.length-1);function Kn(ia,is){const Yn=Wr(ia,is,Ae),Nt=ia[is];is===0&&(Ae.flags|=16777216);const Zt=P1(Nt,Ae);is===0&&(Ae.flags^=16777216);const yr=Pn(J.createIdentifier(Zt),33554432);return Yn&&r1(yr,J.createNodeArray(Yn)),yr.symbol=Nt,is>0?J.createQualifiedName(Kn(ia,is-1),yr):yr}}function wa(Tt,Ae,Sn){const vn=Zr(Tt,Ae,Sn);return Wn(vn,vn.length-1);function Wn(Kn,ia){const is=Wr(Kn,ia,Ae),Yn=Kn[ia];ia===0&&(Ae.flags|=16777216);let Nt=P1(Yn,Ae);ia===0&&(Ae.flags^=16777216);let Zt=Nt.charCodeAt(0);if(B7(Zt)&&Oe(Yn.declarations,p0))return J.createStringLiteral(Ar(Yn,Ae));if(ia===0||mte(Nt,V)){const yr=Pn(J.createIdentifier(Nt),33554432);return is&&r1(yr,J.createNodeArray(is)),yr.symbol=Yn,ia>0?J.createPropertyAccessExpression(Wn(Kn,ia-1),yr):yr}else{Zt===91&&(Nt=Nt.substring(1,Nt.length-1),Zt=Nt.charCodeAt(0));let yr;if(B7(Zt)&&!(Yn.flags&8)?yr=J.createStringLiteral($d(Nt).replace(/\\./g,pr=>pr.substring(1)),Zt===39):""+ +Nt===Nt&&(yr=J.createNumericLiteral(+Nt)),!yr){const pr=Pn(J.createIdentifier(Nt),33554432);is&&r1(pr,J.createNodeArray(is)),pr.symbol=Yn,yr=pr}return J.createElementAccessExpression(Wn(Kn,ia-1),yr)}}}function su(Tt){const Ae=ra(Tt);return!!Ae&&yo(Ae)}function Hp(Tt){const Ae=ra(Tt);return!!(Ae&&yo(Ae)&&(Ae.singleQuote||!Mc(Ae)&&Qs(lu(Ae,!1),"'")))}function xp(Tt,Ae){const Sn=!!H(Tt.declarations)&&ut(Tt.declarations,su),vn=!!H(Tt.declarations)&&ut(Tt.declarations,Hp),Wn=Ls(Tt,Ae,vn,Sn);if(Wn)return Wn;const Kn=Ds(Tt.escapedName);return Yj(Kn,Io(se),vn,Sn)}function Ls(Tt,Ae,Sn,vn){const Wn=ys(Tt).nameType;if(Wn){if(Wn.flags&384){const Kn=""+Wn.value;return!Bd(Kn,Io(se))&&(vn||!Ug(Kn))?J.createStringLiteral(Kn,!!Sn):Ug(Kn)&&Qs(Kn,"-")?J.createComputedPropertyName(J.createNumericLiteral(+Kn)):Yj(Kn,Io(se))}if(Wn.flags&8192)return J.createComputedPropertyName(wa(Wn.symbol,Ae,111551))}}function on(Tt){const Ae={...Tt};return Ae.typeParameterNames&&(Ae.typeParameterNames=new Map(Ae.typeParameterNames)),Ae.typeParameterNamesByText&&(Ae.typeParameterNamesByText=new Set(Ae.typeParameterNamesByText)),Ae.typeParameterSymbolList&&(Ae.typeParameterSymbolList=new Set(Ae.typeParameterSymbolList)),Ae.tracker=new HO(Ae,Ae.tracker.inner,Ae.tracker.moduleResolverHost),Ae}function Dn(Tt,Ae){return Tt.declarations&&He(Tt.declarations,Sn=>!!Ju(Sn)&&(!Ae||!!kn(Sn,vn=>vn===Ae)))}function As(Tt,Ae){return!(Ci(Ae)&4)||!Gd(Tt)||H(Tt.typeArguments)>=bh(Ae.target.typeParameters)}function fa(Tt){return gi(Tt).fakeScopeForSignatureDeclaration?Tt.parent:Tt}function Ns(Tt,Ae,Sn,vn,Wn,Kn){if(!Lo(Ae)&&vn){const Yn=Dn(Sn,fa(vn));if(Yn&&!Lc(Yn)&&!Hd(Yn)){const Nt=Ju(Yn);if(No(Nt,Yn,Ae)&&As(Nt,Ae)){const Zt=Ya(Tt,Nt,Wn,Kn);if(Zt)return Zt}}}const ia=Tt.flags;Ae.flags&8192&&Ae.symbol===Sn&&(!Tt.enclosingDeclaration||Oe(Sn.declarations,Yn=>bn(Yn)===bn(Tt.enclosingDeclaration)))&&(Tt.flags|=1048576);const is=m(Ae,Tt);return Tt.flags=ia,is}function No(Tt,Ae,Sn){const vn=Bi(Tt);return vn===Sn?!0:ua(Ae)&&Ae.questionToken?_d(Sn,524288)===vn:!1}function dc(Tt,Ae,Sn,vn,Wn){if(!Lo(Ae)&&Tt.enclosingDeclaration){const Kn=Sn.declaration&&bm(Sn.declaration),ia=fa(Tt.enclosingDeclaration);if(kn(Kn,is=>is===ia)&&Kn){const is=Bi(Kn);if((is.flags&262144&&is.isThisType?Cs(is,Sn.mapper):is)===Ae&&As(Kn,Ae)){const Nt=Ya(Tt,Kn,vn,Wn);if(Nt)return Nt}}}return m(Ae,Tt)}function el(Tt,Ae,Sn){let vn=!1;const Wn=Dp(Tt);if(Mn(Tt)&&(xx(Wn)||Fg(Wn.parent)||T_(Wn.parent)&&iee(Wn.parent.left)&&xx(Wn.parent.right)))return vn=!0,{introducesError:vn,node:Tt};const Kn=ml(Wn,67108863,!0,!0);if(Kn&&(E1(Kn,Ae.enclosingDeclaration,67108863,!1).accessibility!==0?vn=!0:(Ae.tracker.trackSymbol(Kn,Ae.enclosingDeclaration,67108863),Sn==null||Sn(Kn)),Ye(Tt))){const ia=Tc(Kn),is=Kn.flags&262144&&!yS(ia.symbol,Ae.enclosingDeclaration)?Ei(ia,Ae):J.cloneNode(Tt);return is.symbol=Kn,{introducesError:vn,node:Pn(di(is,Tt),33554432)}}return{introducesError:vn,node:Tt}}function Ya(Tt,Ae,Sn,vn){l&&l.throwIfCancellationRequested&&l.throwIfCancellationRequested();let Wn=!1;const Kn=bn(Ae),ia=yt(Ae,is,ps);if(Wn)return;return ia===Ae?Et(J.cloneNode(Ae),Ae):ia;function is(Yn){if(ixe(Yn)||Yn.kind===322)return J.createKeywordTypeNode(131);if(sxe(Yn))return J.createKeywordTypeNode(157);if(b4(Yn))return J.createUnionTypeNode([yt(Yn.type,is,ps),J.createLiteralTypeNode(J.createNull())]);if(_re(Yn))return J.createUnionTypeNode([yt(Yn.type,is,ps),J.createKeywordTypeNode(155)]);if(qJ(Yn))return yt(Yn.type,is);if(WJ(Yn))return J.createArrayTypeNode(yt(Yn.type,is,ps));if(uD(Yn))return J.createTypeLiteralNode(qt(Yn.jsDocPropertyTags,pr=>{const Xr=Ye(pr.name)?pr.name:pr.name.right,pn=Yl(Bi(Yn),Xr.escapedText),Ms=pn&&pr.typeExpression&&Bi(pr.typeExpression.type)!==pn?m(pn,Tt):void 0;return J.createPropertySignature(void 0,Xr,pr.isBracketed||pr.typeExpression&&_re(pr.typeExpression.type)?J.createToken(57):void 0,Ms||pr.typeExpression&&yt(pr.typeExpression.type,is,ps)||J.createKeywordTypeNode(131))}));if(Gd(Yn)&&Ye(Yn.typeName)&&Yn.typeName.escapedText==="")return di(J.createKeywordTypeNode(131),Yn);if((n1(Yn)||Gd(Yn))&&mj(Yn))return J.createTypeLiteralNode([J.createIndexSignature(void 0,[J.createParameterDeclaration(void 0,void 0,"x",void 0,yt(Yn.typeArguments[0],is,ps))],yt(Yn.typeArguments[1],is,ps))]);if(T4(Yn))if(J6(Yn)){let pr;return J.createConstructorTypeNode(void 0,hn(Yn.typeParameters,is,bl),fr(Yn.parameters,(Xr,pn)=>Xr.name&&Ye(Xr.name)&&Xr.name.escapedText==="new"?(pr=Xr.type,void 0):J.createParameterDeclaration(void 0,Nt(Xr),Zt(Xr,pn),Xr.questionToken,yt(Xr.type,is,ps),void 0)),yt(pr||Yn.type,is,ps)||J.createKeywordTypeNode(131))}else return J.createFunctionTypeNode(hn(Yn.typeParameters,is,bl),qt(Yn.parameters,(pr,Xr)=>J.createParameterDeclaration(void 0,Nt(pr),Zt(pr,Xr),pr.questionToken,yt(pr.type,is,ps),void 0)),yt(Yn.type,is,ps)||J.createKeywordTypeNode(131));if(Gd(Yn)&&R7(Yn)&&(!As(Yn,Bi(Yn))||cOe(Yn)||Tr===SE(Yn,788968,!0)))return di(m(Bi(Yn),Tt),Yn);if(Fb(Yn)){const pr=gi(Yn).resolvedSymbol;return R7(Yn)&&pr&&(!Yn.isTypeOf&&!(pr.flags&788968)||!(H(Yn.typeArguments)>=bh(L1(pr))))?di(m(Bi(Yn),Tt),Yn):J.updateImportTypeNode(Yn,J.updateLiteralTypeNode(Yn.argument,yr(Yn,Yn.argument.literal)),Yn.assertions,Yn.qualifier,hn(Yn.typeArguments,is,ps),Yn.isTypeOf)}if(ap(Yn)||El(Yn)){const{introducesError:pr,node:Xr}=el(Yn,Tt,Sn);if(Wn=Wn||pr,Xr!==Yn)return Xr}return Kn&&_4(Yn)&&zc(Kn,Yn.pos).line===zc(Kn,Yn.end).line&&Pn(Yn,1),an(Yn,is,qy);function Nt(pr){return pr.dotDotDotToken||(pr.type&&WJ(pr.type)?J.createToken(25):void 0)}function Zt(pr,Xr){return pr.name&&Ye(pr.name)&&pr.name.escapedText==="this"?"this":Nt(pr)?"args":`arg${Xr}`}function yr(pr,Xr){if(vn){if(Tt.tracker&&Tt.tracker.moduleResolverHost){const pn=bme(pr);if(pn){const Wi={getCanonicalFileName:qu(!!e.useCaseSensitiveFileNames),getCurrentDirectory:()=>Tt.tracker.moduleResolverHost.getCurrentDirectory(),getCommonSourceDirectory:()=>Tt.tracker.moduleResolverHost.getCommonSourceDirectory()},Mr=Aj(Wi,pn);return J.createStringLiteral(Mr)}}}else if(Tt.tracker&&Tt.tracker.trackExternalModuleSymbolOfImportTypeNode){const pn=ry(Xr,Xr,void 0);pn&&Tt.tracker.trackExternalModuleSymbolOfImportTypeNode(pn)}return Xr}}}function Uf(Tt,Ae,Sn){const vn=mm(J.createPropertyDeclaration,171,!0),Wn=mm((zt,Gn,Xi,Ni)=>J.createPropertySignature(zt,Gn,Xi,Ni),170,!1),Kn=Ae.enclosingDeclaration;let ia=[];const is=new Set,Yn=[],Nt=Ae;Ae={...Nt,usedSymbolNames:new Set(Nt.usedSymbolNames),remappedSymbolNames:new Map,tracker:void 0};const Zt={...Nt.tracker.inner,trackSymbol:(zt,Gn,Xi)=>{var Ni;if(E1(zt,Gn,Xi,!1).accessibility===0){const Ro=cn(zt,Ae,Xi);zt.flags&4||Sc(Ro[0])}else if((Ni=Nt.tracker.inner)!=null&&Ni.trackSymbol)return Nt.tracker.inner.trackSymbol(zt,Gn,Xi);return!1}};Ae.tracker=new HO(Ae,Zt,Nt.tracker.moduleResolverHost),cp(Tt,(zt,Gn)=>{const Xi=Ds(Gn);I_(zt,Xi)});let yr=!Sn;const pr=Tt.get("export=");return pr&&Tt.size>1&&pr.flags&2097152&&(Tt=Ma(),Tt.set("export=",pr)),Gs(Tt),In(ia);function Xr(zt){return!!zt&&zt.kind===79}function pn(zt){return Xl(zt)?hr(qt(zt.declarationList.declarations,ra),Xr):hr([ra(zt)],Xr)}function Ms(zt){const Gn=He(zt,Tl),Xi=ar(zt,Pl);let Ni=Xi!==-1?zt[Xi]:void 0;if(Ni&&Gn&&Gn.isExportEquals&&Ye(Gn.expression)&&Ye(Ni.name)&&ai(Ni.name)===ai(Gn.expression)&&Ni.body&&ah(Ni.body)){const Mi=hr(zt,Is=>!!(Pf(Is)&1)),Ro=Ni.name;let _a=Ni.body;if(H(Mi)&&(Ni=J.updateModuleDeclaration(Ni,Ni.modifiers,Ni.name,_a=J.updateModuleBlock(_a,J.createNodeArray([...Ni.body.statements,J.createExportDeclaration(void 0,!1,J.createNamedExports(qt(mn(Mi,Is=>pn(Is)),Is=>J.createExportSpecifier(!1,void 0,Is))),void 0)]))),zt=[...zt.slice(0,Xi),Ni,...zt.slice(Xi+1)]),!He(zt,Is=>Is!==Ni&&p7(Is,Ro))){ia=[];const Is=!Oe(_a.statements,To=>Ti(To,1)||Tl(To)||Uu(To));Q(_a.statements,To=>{_t(To,Is?1:0)}),zt=[...hr(zt,To=>To!==Ni&&To!==Gn),...ia]}}return zt}function Wi(zt){const Gn=hr(zt,Ni=>Uu(Ni)&&!Ni.moduleSpecifier&&!!Ni.exportClause&&Xd(Ni.exportClause));H(Gn)>1&&(zt=[...hr(zt,Mi=>!Uu(Mi)||!!Mi.moduleSpecifier||!Mi.exportClause),J.createExportDeclaration(void 0,!1,J.createNamedExports(mn(Gn,Mi=>Oa(Mi.exportClause,Xd).elements)),void 0)]);const Xi=hr(zt,Ni=>Uu(Ni)&&!!Ni.moduleSpecifier&&!!Ni.exportClause&&Xd(Ni.exportClause));if(H(Xi)>1){const Ni=IA(Xi,Mi=>yo(Mi.moduleSpecifier)?">"+Mi.moduleSpecifier.text:">");if(Ni.length!==Xi.length)for(const Mi of Ni)Mi.length>1&&(zt=[...hr(zt,Ro=>Mi.indexOf(Ro)===-1),J.createExportDeclaration(void 0,!1,J.createNamedExports(mn(Mi,Ro=>Oa(Ro.exportClause,Xd).elements)),Mi[0].moduleSpecifier)])}return zt}function Mr(zt){const Gn=ar(zt,Xi=>Uu(Xi)&&!Xi.moduleSpecifier&&!Xi.assertClause&&!!Xi.exportClause&&Xd(Xi.exportClause));if(Gn>=0){const Xi=zt[Gn],Ni=fr(Xi.exportClause.elements,Mi=>{if(!Mi.propertyName){const Ro=Vi(zt),_a=hr(Ro,Is=>p7(zt[Is],Mi.name));if(H(_a)&&ut(_a,Is=>O5(zt[Is]))){for(const Is of _a)zt[Is]=ki(zt[Is]);return}}return Mi});H(Ni)?zt[Gn]=J.updateExportDeclaration(Xi,Xi.modifiers,Xi.isTypeOnly,J.updateNamedExports(Xi.exportClause,Ni),Xi.moduleSpecifier,Xi.assertClause):Nb(zt,Gn)}return zt}function In(zt){return zt=Ms(zt),zt=Wi(zt),zt=Mr(zt),Kn&&(bs(Kn)&&lp(Kn)||Pl(Kn))&&(!Oe(zt,T7)||!Pbe(zt)&&Oe(zt,BB))&&zt.push(lO(J)),zt}function ki(zt){const Gn=(Pf(zt)|1)&-3;return J.updateModifiers(zt,Gn)}function zn(zt){const Gn=Pf(zt)&-2;return J.updateModifiers(zt,Gn)}function Gs(zt,Gn,Xi){Gn||Yn.push(new Map),zt.forEach(Ni=>{Jo(Ni,!1,!!Xi)}),Gn||(Yn[Yn.length-1].forEach(Ni=>{Jo(Ni,!0,!!Xi)}),Yn.pop())}function Jo(zt,Gn,Xi){const Ni=Fo(zt);if(is.has(Ha(Ni)))return;if(is.add(Ha(Ni)),!Gn||H(zt.declarations)&&Oe(zt.declarations,Ro=>!!kn(Ro,_a=>_a===Kn))){const Ro=Ae;Ae=on(Ae),vc(zt,Gn,Xi),Ae.reportedDiagnostic&&(Nt.reportedDiagnostic=Ae.reportedDiagnostic),Ae=Ro}}function vc(zt,Gn,Xi){var Ni,Mi,Ro,_a;const Is=Ds(zt.escapedName),To=zt.escapedName==="default";if(Gn&&!(Ae.flags&131072)&&JC(Is)&&!To){Ae.encounteredError=!0;return}let Qo=To&&!!(zt.flags&-113||zt.flags&16&&H(Ho(En(zt))))&&!(zt.flags&2097152),Jl=!Qo&&!Gn&&JC(Is)&&!To;(Qo||Jl)&&(Gn=!0);const du=(Gn?0:1)|(To&&!Qo?1024:0),kp=zt.flags&1536&&zt.flags&7&&zt.escapedName!=="export=",tf=kp&&ef(En(zt),zt);if((zt.flags&8208||tf)&&ui(En(zt),zt,I_(zt,Is),du),zt.flags&524288&&Mt(zt,Is,du),zt.flags&7&&zt.escapedName!=="export="&&!(zt.flags&4194304)&&!(zt.flags&32)&&!(zt.flags&8192)&&!tf)if(Xi)lc(zt)&&(Jl=!1,Qo=!1);else{const kc=En(zt),hl=I_(zt,Is);if(!(zt.flags&16)&&ef(kc,zt))ui(kc,zt,hl,du);else{const D0=zt.flags&2?P3(zt)?2:1:(Ni=zt.parent)!=null&&Ni.valueDeclaration&&bs((Mi=zt.parent)==null?void 0:Mi.valueDeclaration)?2:void 0,kg=Qo||!(zt.flags&4)?hl:BE(hl,zt);let Cg=zt.declarations&&He(zt.declarations,W1=>xs(W1));Cg&&Of(Cg.parent)&&Cg.parent.declarations.length===1&&(Cg=Cg.parent.parent);const Uk=(Ro=zt.declarations)==null?void 0:Ro.find(oi);if(Uk&&$n(Uk.parent)&&Ye(Uk.parent.right)&&((_a=kc.symbol)!=null&&_a.valueDeclaration)&&bs(kc.symbol.valueDeclaration)){const W1=hl===Uk.parent.right.escapedText?void 0:Uk.parent.right;_t(J.createExportDeclaration(void 0,!1,J.createNamedExports([J.createExportSpecifier(!1,W1,hl)])),0),Ae.tracker.trackSymbol(kc.symbol,Ae.enclosingDeclaration,111551)}else{const W1=Et(J.createVariableStatement(void 0,J.createVariableDeclarationList([J.createVariableDeclaration(kg,void 0,Ns(Ae,kc,zt,Kn,Sc,Sn))],D0)),Cg);_t(W1,kg!==hl?du&-2:du),kg!==hl&&!Gn&&(_t(J.createExportDeclaration(void 0,!1,J.createNamedExports([J.createExportSpecifier(!1,kg,hl)])),0),Jl=!1,Qo=!1)}}}if(zt.flags&384&&Hn(zt,Is,du),zt.flags&32&&(zt.flags&4&&zt.valueDeclaration&&$n(zt.valueDeclaration.parent)&&If(zt.valueDeclaration.parent.right)?mo(zt,I_(zt,Is),du):Ui(zt,I_(zt,Is),du)),(zt.flags&1536&&(!kp||Bn(zt))||tf)&&Hr(zt,Is,du),zt.flags&64&&!(zt.flags&32)&&vr(zt,Is,du),zt.flags&2097152&&mo(zt,I_(zt,Is),du),zt.flags&4&&zt.escapedName==="export="&&lc(zt),zt.flags&8388608&&zt.declarations)for(const kc of zt.declarations){const hl=Ku(kc,kc.moduleSpecifier);hl&&_t(J.createExportDeclaration(void 0,kc.isTypeOnly,void 0,J.createStringLiteral(Ar(hl,Ae))),0)}Qo?_t(J.createExportAssignment(void 0,!1,J.createIdentifier(I_(zt,Is))),0):Jl&&_t(J.createExportDeclaration(void 0,!1,J.createNamedExports([J.createExportSpecifier(!1,I_(zt,Is),Is)])),0)}function Sc(zt){if(Oe(zt.declarations,Ex))return;R.assertIsDefined(Yn[Yn.length-1]),BE(Ds(zt.escapedName),zt);const Gn=!!(zt.flags&2097152)&&!Oe(zt.declarations,Xi=>!!kn(Xi,Uu)||qg(Xi)||Xu(Xi)&&!ng(Xi.moduleReference));Yn[Gn?0:Yn.length-1].set(Ha(zt),zt)}function p_(zt){return bs(zt)&&(lp(zt)||hd(zt))||Af(zt)&&!Km(zt)}function _t(zt,Gn){if(Qd(zt)){let Xi=0;const Ni=Ae.enclosingDeclaration&&(gd(Ae.enclosingDeclaration)?bn(Ae.enclosingDeclaration):Ae.enclosingDeclaration);Gn&1&&Ni&&(p_(Ni)||Pl(Ni))&&O5(zt)&&(Xi|=1),yr&&!(Xi&1)&&(!Ni||!(Ni.flags&16777216))&&(Gb(zt)||Xl(zt)||ru(zt)||vu(zt)||Pl(zt))&&(Xi|=2),Gn&1024&&(vu(zt)||Yf(zt)||ru(zt))&&(Xi|=1024),Xi&&(zt=J.updateModifiers(zt,Xi|Pf(zt)))}ia.push(zt)}function Mt(zt,Gn,Xi){var Ni;const Mi=C2(zt),Ro=ys(zt).typeParameters,_a=qt(Ro,kp=>Ct(kp,Ae)),Is=(Ni=zt.declarations)==null?void 0:Ni.find(gd),To=m7(Is?Is.comment||Is.parent.comment:void 0),Qo=Ae.flags;Ae.flags|=8388608;const Jl=Ae.enclosingDeclaration;Ae.enclosingDeclaration=Is;const du=Is&&Is.typeExpression&&Jx(Is.typeExpression)&&Ya(Ae,Is.typeExpression.type,Sc,Sn)||m(Mi,Ae);_t(DT(J.createTypeAliasDeclaration(void 0,I_(zt,Gn),_a,du),To?[{kind:3,text:`*
* `+To.replace(/\n/g,`
* `)+`
`,pos:-1,end:-1,hasTrailingNewLine:!0}]:[]),Xi),Ae.flags=Qo,Ae.enclosingDeclaration=Jl}function vr(zt,Gn,Xi){const Ni=Bf(zt),Mi=L1(zt),Ro=qt(Mi,tf=>Ct(tf,Ae)),_a=_o(Ni),Is=H(_a)?no(_a):void 0,To=mn(Ho(Ni),tf=>xg(tf,Is)),Qo=yb(0,Ni,Is,176),Jl=yb(1,Ni,Is,177),du=Jk(Ni,Is),kp=H(_a)?[J.createHeritageClause(94,fr(_a,tf=>wh(tf,111551)))]:void 0;_t(J.createInterfaceDeclaration(void 0,I_(zt,Gn),Ro,kp,[...du,...Jl,...Qo,...To]),Xi)}function _n(zt){return zt.exports?hr(ao(zt.exports.values()),va):[]}function Bn(zt){return ut(_n(zt),Gn=>!(Zu(Il(Gn))&111551))}function Hr(zt,Gn,Xi){const Ni=_n(zt),Mi=FI(Ni,Is=>Is.parent&&Is.parent===zt?"real":"merged"),Ro=Mi.get("real")||pt,_a=Mi.get("merged")||pt;if(H(Ro)){const Is=I_(zt,Gn);Zs(Ro,Is,Xi,!!(zt.flags&67108880))}if(H(_a)){const Is=bn(Ae.enclosingDeclaration),To=I_(zt,Gn),Qo=J.createModuleBlock([J.createExportDeclaration(void 0,!1,J.createNamedExports(fr(hr(_a,Jl=>Jl.escapedName!=="export="),Jl=>{var du,kp;const tf=Ds(Jl.escapedName),kc=I_(Jl,tf),hl=Jl.declarations&&c_(Jl);if(Is&&(hl?Is!==bn(hl):!Oe(Jl.declarations,Cg=>bn(Cg)===Is))){(kp=(du=Ae.tracker)==null?void 0:du.reportNonlocalAugmentation)==null||kp.call(du,Is,zt,Jl);return}const D0=hl&&am(hl,!0);Sc(D0||Jl);const kg=D0?I_(D0,Ds(D0.escapedName)):kc;return J.createExportSpecifier(!1,tf===kg?void 0:kg,tf)})))]);_t(J.createModuleDeclaration(void 0,J.createIdentifier(To),Qo,16),0)}}function Hn(zt,Gn,Xi){_t(J.createEnumDeclaration(J.createModifiersFromModifierFlags(Vde(zt)?2048:0),I_(zt,Gn),qt(hr(Ho(En(zt)),Ni=>!!(Ni.flags&8)),Ni=>{const Mi=Ni.declarations&&Ni.declarations[0]&&LT(Ni.declarations[0])?gme(Ni.declarations[0]):void 0;return J.createEnumMember(Ds(Ni.escapedName),Mi===void 0?void 0:typeof Mi=="string"?J.createStringLiteral(Mi):J.createNumericLiteral(Mi))})),Xi)}function ui(zt,Gn,Xi,Ni){const Mi=ya(zt,0);for(const Ro of Mi){const _a=ke(Ro,259,Ae,{name:J.createIdentifier(Xi),privateSymbolVisitor:Sc,bundledImports:Sn});_t(Et(_a,ds(Ro)),Ni)}if(!(Gn.flags&1536&&Gn.exports&&Gn.exports.size)){const Ro=hr(Ho(zt),va);Zs(Ro,Xi,Ni,!0)}}function ds(zt){if(zt.declaration&&zt.declaration.parent){if($n(zt.declaration.parent)&&ll(zt.declaration.parent)===5)return zt.declaration.parent;if(xs(zt.declaration.parent)&&zt.declaration.parent.parent)return zt.declaration.parent.parent}return zt.declaration}function Zs(zt,Gn,Xi,Ni){if(H(zt)){const Ro=FI(zt,kc=>!H(kc.declarations)||Oe(kc.declarations,hl=>bn(hl)===bn(Ae.enclosingDeclaration))?"local":"remote").get("local")||pt;let _a=sg.createModuleDeclaration(void 0,J.createIdentifier(Gn),J.createModuleBlock([]),16);go(_a,Kn),_a.locals=Ma(zt),_a.symbol=zt[0].parent;const Is=ia;ia=[];const To=yr;yr=!1;const Qo={...Ae,enclosingDeclaration:_a},Jl=Ae;Ae=Qo,Gs(Ma(Ro),Ni,!0),Ae=Jl,yr=To;const du=ia;ia=Is;const kp=qt(du,kc=>Tl(kc)&&!kc.isExportEquals&&Ye(kc.expression)?J.createExportDeclaration(void 0,!1,J.createNamedExports([J.createExportSpecifier(!1,kc.expression,J.createIdentifier("default"))])):kc),tf=ut(kp,kc=>Ti(kc,1))?qt(kp,zn):kp;_a=J.updateModuleDeclaration(_a,_a.modifiers,_a.name,J.createModuleBlock(tf)),_t(_a,Xi)}}function va(zt){return!!(zt.flags&2887656)||!(zt.flags&4194304||zt.escapedName==="prototype"||zt.valueDeclaration&&ba(zt.valueDeclaration)&&Ri(zt.valueDeclaration.parent))}function Ea(zt){const Gn=fr(zt,Xi=>{const Ni=Ae.enclosingDeclaration;Ae.enclosingDeclaration=Xi;let Mi=Xi.expression;if(El(Mi)){if(Ye(Mi)&&ai(Mi)==="")return Ro(void 0);let _a;if({introducesError:_a,node:Mi}=el(Mi,Ae,Sc),_a)return Ro(void 0)}return Ro(J.createExpressionWithTypeArguments(Mi,qt(Xi.typeArguments,_a=>Ya(Ae,_a,Sc,Sn)||m(Bi(_a),Ae))));function Ro(_a){return Ae.enclosingDeclaration=Ni,_a}});if(Gn.length===zt.length)return Gn}function Ui(zt,Gn,Xi){var Ni,Mi;const Ro=(Ni=zt.declarations)==null?void 0:Ni.find(Ri),_a=Ae.enclosingDeclaration;Ae.enclosingDeclaration=Ro||_a;const Is=L1(zt),To=qt(Is,$m=>Ct($m,Ae)),Qo=Bf(zt),Jl=_o(Qo),du=Ro&&$6(Ro),kp=du&&Ea(du)||fr(vs(Qo),RE),tf=En(zt),kc=!!((Mi=tf.symbol)!=null&&Mi.valueDeclaration)&&Ri(tf.symbol.valueDeclaration),hl=kc?Ai(tf):Fe,D0=[...H(Jl)?[J.createHeritageClause(94,qt(Jl,$m=>q3($m,hl,Gn)))]:[],...H(kp)?[J.createHeritageClause(117,kp)]:[]],kg=$xt(Qo,Jl,Ho(Qo)),Cg=hr(kg,$m=>{const W3=$m.valueDeclaration;return!!W3&&!(of(W3)&&as(W3.name))}),W1=Oe(kg,$m=>{const W3=$m.valueDeclaration;return!!W3&&of(W3)&&as(W3.name)})?[J.createPropertyDeclaration(void 0,J.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:pt,Eme=mn(Cg,$m=>vn($m,!1,Jl[0])),Ame=mn(hr(Ho(tf),$m=>!($m.flags&4194304)&&$m.escapedName!=="prototype"&&!va($m)),$m=>vn($m,!0,hl)),awt=!kc&&!!zt.valueDeclaration&&Mn(zt.valueDeclaration)&&!Oe(ya(tf,1))?[J.createConstructorDeclaration(J.createModifiersFromModifierFlags(8),[],void 0)]:yb(1,tf,hl,173),owt=Jk(Qo,Jl[0]);Ae.enclosingDeclaration=_a,_t(Et(J.createClassDeclaration(void 0,Gn,To,D0,[...owt,...Ame,...awt,...Eme,...W1]),zt.declarations&&hr(zt.declarations,$m=>vu($m)||If($m))[0]),Xi)}function Aa(zt){return ze(zt,Gn=>{if(S_(Gn)||i_(Gn))return ai(Gn.propertyName||Gn.name);if($n(Gn)||Tl(Gn)){const Xi=Tl(Gn)?Gn.expression:Gn.right;if(oi(Xi))return ai(Xi.name)}if(s0(Gn)){const Xi=ra(Gn);if(Xi&&Ye(Xi))return ai(Xi)}})}function mo(zt,Gn,Xi){var Ni,Mi,Ro,_a,Is;const To=c_(zt);if(!To)return R.fail();const Qo=Fo(am(To,!0));if(!Qo)return;let Jl=cP(Qo)&&Aa(zt.declarations)||Ds(Qo.escapedName);Jl==="export="&&_e&&(Jl="default");const du=I_(Qo,Jl);switch(Sc(Qo),To.kind){case 205:if(((Mi=(Ni=To.parent)==null?void 0:Ni.parent)==null?void 0:Mi.kind)===257){const kc=Ar(Qo.parent||Qo,Ae),{propertyName:hl}=To;_t(J.createImportDeclaration(void 0,J.createImportClause(!1,void 0,J.createNamedImports([J.createImportSpecifier(!1,hl&&Ye(hl)?J.createIdentifier(ai(hl)):void 0,J.createIdentifier(Gn))])),J.createStringLiteral(kc),void 0),0);break}R.failBadSyntaxKind(((Ro=To.parent)==null?void 0:Ro.parent)||To,"Unhandled binding element grandparent kind in declaration serialization");break;case 300:((Is=(_a=To.parent)==null?void 0:_a.parent)==null?void 0:Is.kind)===223&&so(Ds(zt.escapedName),du);break;case 257:if(oi(To.initializer)){const kc=To.initializer,hl=J.createUniqueName(Gn),D0=Ar(Qo.parent||Qo,Ae);_t(J.createImportEqualsDeclaration(void 0,!1,hl,J.createExternalModuleReference(J.createStringLiteral(D0))),0),_t(J.createImportEqualsDeclaration(void 0,!1,J.createIdentifier(Gn),J.createQualifiedName(hl,kc.name)),Xi);break}case 268:if(Qo.escapedName==="export="&&Oe(Qo.declarations,kc=>bs(kc)&&hd(kc))){lc(zt);break}const kp=!(Qo.flags&512)&&!xs(To);_t(J.createImportEqualsDeclaration(void 0,!1,J.createIdentifier(Gn),kp?Js(Qo,Ae,67108863,!1):J.createExternalModuleReference(J.createStringLiteral(Ar(Qo,Ae)))),kp?Xi:0);break;case 267:_t(J.createNamespaceExportDeclaration(ai(To.name)),0);break;case 270:{const kc=Ar(Qo.parent||Qo,Ae),hl=Sn?J.createStringLiteral(kc):To.parent.moduleSpecifier;_t(J.createImportDeclaration(void 0,J.createImportClause(!1,J.createIdentifier(Gn),void 0),hl,To.parent.assertClause),0);break}case 271:{const kc=Ar(Qo.parent||Qo,Ae),hl=Sn?J.createStringLiteral(kc):To.parent.parent.moduleSpecifier;_t(J.createImportDeclaration(void 0,J.createImportClause(!1,void 0,J.createNamespaceImport(J.createIdentifier(Gn))),hl,To.parent.parent.assertClause),0);break}case 277:_t(J.createExportDeclaration(void 0,!1,J.createNamespaceExport(J.createIdentifier(Gn)),J.createStringLiteral(Ar(Qo,Ae))),0);break;case 273:{const kc=Ar(Qo.parent||Qo,Ae),hl=Sn?J.createStringLiteral(kc):To.parent.parent.parent.moduleSpecifier;_t(J.createImportDeclaration(void 0,J.createImportClause(!1,void 0,J.createNamedImports([J.createImportSpecifier(!1,Gn!==Jl?J.createIdentifier(Jl):void 0,J.createIdentifier(Gn))])),hl,To.parent.parent.parent.assertClause),0);break}case 278:const tf=To.parent.parent.moduleSpecifier;so(Ds(zt.escapedName),tf?Jl:du,tf&&sc(tf)?J.createStringLiteral(tf.text):void 0);break;case 274:lc(zt);break;case 223:case 208:case 209:zt.escapedName==="default"||zt.escapedName==="export="?lc(zt):so(Gn,du);break;default:return R.failBadSyntaxKind(To,"Unhandled alias declaration kind in symbol serializer!")}}function so(zt,Gn,Xi){_t(J.createExportDeclaration(void 0,!1,J.createNamedExports([J.createExportSpecifier(!1,zt!==Gn?Gn:void 0,zt)]),Xi),0)}function lc(zt){if(zt.flags&4194304)return!1;const Gn=Ds(zt.escapedName),Xi=Gn==="export=",Mi=Xi||Gn==="default",Ro=zt.declarations&&c_(zt),_a=Ro&&am(Ro,!0);if(_a&&H(_a.declarations)&&Oe(_a.declarations,Is=>bn(Is)===bn(Kn))){const Is=Ro&&(Tl(Ro)||$n(Ro)?_ee(Ro):M2e(Ro)),To=Is&&El(Is)?skt(Is):void 0,Qo=To&&ml(To,67108863,!0,!0,Kn);(Qo||_a)&&Sc(Qo||_a);const Jl=Ae.tracker.disableTrackSymbol;if(Ae.tracker.disableTrackSymbol=!0,Mi)ia.push(J.createExportAssignment(void 0,Xi,wa(_a,Ae,67108863)));else if(To===Is&&To)so(Gn,ai(To));else if(Is&&If(Is))so(Gn,I_(_a,yl(_a)));else{const du=BE(Gn,zt);_t(J.createImportEqualsDeclaration(void 0,!1,J.createIdentifier(du),Js(_a,Ae,67108863,!1)),0),so(Gn,du)}return Ae.tracker.disableTrackSymbol=Jl,!0}else{const Is=BE(Gn,zt),To=Z_(En(Fo(zt)));if(ef(To,zt))ui(To,zt,Is,Mi?0:1);else{const Qo=J.createVariableStatement(void 0,J.createVariableDeclarationList([J.createVariableDeclaration(Is,void 0,Ns(Ae,To,zt,Kn,Sc,Sn))],2));_t(Qo,_a&&_a.flags&4&&_a.escapedName==="export="?2:Gn===Is?1:0)}return Mi?(ia.push(J.createExportAssignment(void 0,Xi,J.createIdentifier(Is))),!0):Gn!==Is?(so(Gn,Is),!0):!1}}function ef(zt,Gn){const Xi=bn(Ae.enclosingDeclaration);return Ci(zt)&48&&!H(gf(zt))&&!ms(zt)&&!!(H(hr(Ho(zt),va))||H(ya(zt,0)))&&!H(ya(zt,1))&&!Dn(Gn,Kn)&&!(zt.symbol&&Oe(zt.symbol.declarations,Ni=>bn(Ni)!==Xi))&&!Oe(Ho(zt),Ni=>D8(Ni.escapedName))&&!Oe(Ho(zt),Ni=>Oe(Ni.declarations,Mi=>bn(Mi)!==Xi))&&ut(Ho(zt),Ni=>Bd(yl(Ni),V))}function mm(zt,Gn,Xi){return function(Mi,Ro,_a){var Is,To,Qo,Jl,du;const kp=td(Mi),tf=!!(kp&8);if(Ro&&Mi.flags&2887656)return[];if(Mi.flags&4194304||_a&&Ra(_a,Mi.escapedName)&&dm(Ra(_a,Mi.escapedName))===dm(Mi)&&(Mi.flags&16777216)===(Ra(_a,Mi.escapedName).flags&16777216)&&fy(En(Mi),Yl(_a,Mi.escapedName)))return[];const kc=kp&-513|(Ro?32:0),hl=xp(Mi,Ae),D0=(Is=Mi.declarations)==null?void 0:Is.find(jh(Pa,Mb,xs,Np,$n,oi));if(Mi.flags&98304&&Xi){const kg=[];if(Mi.flags&65536&&kg.push(Et(J.createSetAccessorDeclaration(J.createModifiersFromModifierFlags(kc),hl,[J.createParameterDeclaration(void 0,void 0,"arg",void 0,tf?void 0:Ns(Ae,En(Mi),Mi,Kn,Sc,Sn))],void 0),((To=Mi.declarations)==null?void 0:To.find(Q0))||D0)),Mi.flags&32768){const Cg=kp&8;kg.push(Et(J.createGetAccessorDeclaration(J.createModifiersFromModifierFlags(kc),hl,[],Cg?void 0:Ns(Ae,En(Mi),Mi,Kn,Sc,Sn),void 0),((Qo=Mi.declarations)==null?void 0:Qo.find(_v))||D0))}return kg}else if(Mi.flags&98311)return Et(zt(J.createModifiersFromModifierFlags((dm(Mi)?64:0)|kc),hl,Mi.flags&16777216?J.createToken(57):void 0,tf?void 0:Ns(Ae,p3(Mi),Mi,Kn,Sc,Sn),void 0),((Jl=Mi.declarations)==null?void 0:Jl.find(jh(Pa,xs)))||D0);if(Mi.flags&8208){const kg=En(Mi),Cg=ya(kg,0);if(kc&8)return Et(zt(J.createModifiersFromModifierFlags((dm(Mi)?64:0)|kc),hl,Mi.flags&16777216?J.createToken(57):void 0,void 0,void 0),((du=Mi.declarations)==null?void 0:du.find(Lc))||Cg[0]&&Cg[0].declaration||Mi.declarations&&Mi.declarations[0]);const Uk=[];for(const W1 of Cg){const Eme=ke(W1,Gn,Ae,{name:hl,questionToken:Mi.flags&16777216?J.createToken(57):void 0,modifiers:kc?J.createModifiersFromModifierFlags(kc):void 0}),Ame=W1.declaration&&q7(W1.declaration.parent)?W1.declaration.parent:W1.declaration;Uk.push(Et(Eme,Ame))}return Uk}return R.fail(`Unhandled class member kind! ${Mi.__debugFlags||Mi.flags}`)}}function xg(zt,Gn){return Wn(zt,!1,Gn)}function yb(zt,Gn,Xi,Ni){const Mi=ya(Gn,zt);if(zt===1){if(!Xi&&ut(Mi,Is=>H(Is.parameters)===0))return[];if(Xi){const Is=ya(Xi,1);if(!H(Is)&&ut(Mi,To=>H(To.parameters)===0))return[];if(Is.length===Mi.length){let To=!1;for(let Qo=0;Qo<Is.length;Qo++)if(!cM(Mi[Qo],Is[Qo],!1,!1,!0,V8)){To=!0;break}if(!To)return[]}}let _a=0;for(const Is of Mi)Is.declaration&&(_a|=$C(Is.declaration,24));if(_a)return[Et(J.createConstructorDeclaration(J.createModifiersFromModifierFlags(_a),[],void 0),Mi[0].declaration)]}const Ro=[];for(const _a of Mi){const Is=ke(_a,Ni,Ae);Ro.push(Et(Is,_a.declaration))}return Ro}function Jk(zt,Gn){const Xi=[];for(const Ni of gf(zt)){if(Gn){const Mi=vg(Gn,Ni.keyType);if(Mi&&fy(Ni.type,Mi.type))continue}Xi.push(ae(Ni,Ae,void 0))}return Xi}function q3(zt,Gn,Xi){const Ni=wh(zt,111551);if(Ni)return Ni;const Mi=BE(`${Xi}_base`),Ro=J.createVariableStatement(void 0,J.createVariableDeclarationList([J.createVariableDeclaration(Mi,void 0,m(Gn,Ae))],2));return _t(Ro,0),J.createExpressionWithTypeArguments(J.createIdentifier(Mi),void 0)}function wh(zt,Gn){let Xi,Ni;if(zt.target&&bS(zt.target.symbol,Kn,Gn)?(Xi=qt(Go(zt),Mi=>m(Mi,Ae)),Ni=wa(zt.target.symbol,Ae,788968)):zt.symbol&&bS(zt.symbol,Kn,Gn)&&(Ni=wa(zt.symbol,Ae,788968)),Ni)return J.createExpressionWithTypeArguments(Ni,Xi)}function RE(zt){const Gn=wh(zt,788968);if(Gn)return Gn;if(zt.symbol)return J.createExpressionWithTypeArguments(wa(zt.symbol,Ae,788968),void 0)}function BE(zt,Gn){var Xi,Ni;const Mi=Gn?Ha(Gn):void 0;if(Mi&&Ae.remappedSymbolNames.has(Mi))return Ae.remappedSymbolNames.get(Mi);Gn&&(zt=$S(Gn,zt));let Ro=0;const _a=zt;for(;(Xi=Ae.usedSymbolNames)!=null&&Xi.has(zt);)Ro++,zt=`${_a}_${Ro}`;return(Ni=Ae.usedSymbolNames)==null||Ni.add(zt),Mi&&Ae.remappedSymbolNames.set(Mi,zt),zt}function $S(zt,Gn){if(Gn==="default"||Gn==="__class"||Gn==="__function"){const Xi=Ae.flags;Ae.flags|=16777216;const Ni=P1(zt,Ae);Ae.flags=Xi,Gn=Ni.length>0&&B7(Ni.charCodeAt(0))?$d(Ni):Ni}return Gn==="default"?Gn="_default":Gn==="export="&&(Gn="_exports"),Gn=Bd(Gn,V)&&!JC(Gn)?Gn:"_"+Gn.replace(/[^a-zA-Z0-9]/g,"_"),Gn}function I_(zt,Gn){const Xi=Ha(zt);return Ae.remappedSymbolNames.has(Xi)?Ae.remappedSymbolNames.get(Xi):(Gn=$S(zt,Gn),Ae.remappedSymbolNames.set(Xi,Gn),Gn)}}}function Vu(r,c,_=16384,m){return m?b(m).getText():sP(b);function b(x){const D=J.createTypePredicateNode(r.kind===2||r.kind===3?J.createToken(129):void 0,r.kind===1||r.kind===3?J.createIdentifier(r.parameterName):J.createThisTypeNode(),r.type&&st.typeToTypeNode(r.type,c,Li(_)|70221824|512)),j=VT(),$=c&&bn(c);return j.writeNode(4,D,$,x),x}}function Q_(r){const c=[];let _=0;for(let m=0;m<r.length;m++){const b=r[m];if(_|=b.flags,!(b.flags&98304)){if(b.flags&1568){const x=b.flags&512?Be:P8(b);if(x.flags&1048576){const D=x.types.length;if(m+D<=r.length&&f_(r[m+D-1])===f_(x.types[D-1])){c.push(x),m+=D-1;continue}}}c.push(b)}}return _&65536&&c.push(qr),_&32768&&c.push(Ze),c||r}function bp(r){return r===8?"private":r===16?"protected":"public"}function A1(r){if(r.symbol&&r.symbol.flags&2048&&r.symbol.declarations){const c=e5(r.symbol.declarations[0].parent);if(sh(c))return Zn(c)}}function Y_(r){return r&&r.parent&&r.parent.kind===265&&hT(r.parent.parent)}function eb(r){return r.kind===308||Af(r)}function tb(r,c){const _=ys(r).nameType;if(_){if(_.flags&384){const m=""+_.value;return!Bd(m,Io(se))&&!Ug(m)?`"${UC(m,34)}"`:Ug(m)&&Qs(m,"-")?`[${m}]`:m}if(_.flags&8192)return`[${P1(_.symbol,c)}]`}}function P1(r,c){if(c&&r.escapedName==="default"&&!(c.flags&16384)&&(!(c.flags&16777216)||!r.declarations||c.enclosingDeclaration&&kn(r.declarations[0],eb)!==kn(c.enclosingDeclaration,eb)))return"default";if(r.declarations&&r.declarations.length){let m=ze(r.declarations,x=>ra(x)?x:void 0);const b=m&&ra(m);if(m&&b){if(Da(m)&&MC(m))return yl(r);if(ac(b)&&!(ul(r)&4096)){const x=ys(r).nameType;if(x&&x.flags&384){const D=tb(r,c);if(D!==void 0)return D}}return uc(b)}if(m||(m=r.declarations[0]),m.parent&&m.parent.kind===257)return uc(m.parent.name);switch(m.kind){case 228:case 215:case 216:return c&&!c.encounteredError&&!(c.flags&131072)&&(c.encounteredError=!0),m.kind===228?"(Anonymous class)":"(Anonymous function)"}}const _=tb(r,c);return _!==void 0?_:yl(r)}function Pd(r){if(r){const _=gi(r);return _.isVisible===void 0&&(_.isVisible=!!c()),_.isVisible}return!1;function c(){switch(r.kind){case 341:case 349:case 343:return!!(r.parent&&r.parent.parent&&r.parent.parent.parent&&bs(r.parent.parent.parent));case 205:return Pd(r.parent.parent);case 257:if(xa(r.name)&&!r.name.elements.length)return!1;case 264:case 260:case 261:case 262:case 259:case 263:case 268:if(hT(r))return!0;const _=xS(r);return!(H0(r)&1)&&!(r.kind!==268&&_.kind!==308&&_.flags&16777216)?ug(_):Pd(_);case 169:case 168:case 174:case 175:case 171:case 170:if(R_(r,24))return!1;case 173:case 177:case 176:case 178:case 166:case 265:case 181:case 182:case 184:case 180:case 185:case 186:case 189:case 190:case 193:case 199:return Pd(r.parent);case 270:case 271:case 273:return!1;case 165:case 308:case 267:return!0;case 274:return!1;default:return!1}}}function SS(r,c){let _;r.parent&&r.parent.kind===274?_=Xc(r,r.escapedText,2998271,void 0,r,!1):r.parent.kind===278&&(_=Ed(r.parent,2998271));let m,b;return _&&(b=new Set,b.add(Ha(_)),x(_.declarations)),m;function x(D){Q(D,j=>{const $=kk(j)||j;if(c?gi(j).isVisible=!0:(m=m||[],ip(m,$)),F6(j)){const re=j.moduleReference,ae=Dp(re),ke=Xc(j,ae.escapedText,901119,void 0,void 0,!1);ke&&b&&fi(b,Ha(ke))&&x(ke.declarations)}})}}function Up(r,c){const _=hg(r,c);if(_>=0){const{length:m}=Qy;for(let b=_;b<m;b++)rm[b]=!1;return!1}return Qy.push(r),rm.push(!0),Rv.push(c),!0}function hg(r,c){for(let _=Qy.length-1;_>=0;_--){if(D1(Qy[_],Rv[_]))return-1;if(Qy[_]===r&&Rv[_]===c)return _}return-1}function D1(r,c){switch(c){case 0:return!!ys(r).type;case 5:return!!gi(r).resolvedEnumType;case 2:return!!ys(r).declaredType;case 1:return!!r.resolvedBaseConstructorType;case 3:return!!r.resolvedReturnType;case 4:return!!r.immediateBaseConstraint;case 6:return!!r.resolvedTypeArguments;case 7:return!!r.baseTypesResolved;case 8:return!!ys(r).writeType;case 9:return gi(r).parameterInitializerContainsUndefined!==void 0}return R.assertNever(c)}function cd(){return Qy.pop(),Rv.pop(),rm.pop()}function xS(r){return kn(Gh(r),c=>{switch(c.kind){case 257:case 258:case 273:case 272:case 271:case 270:return!1;default:return!0}}).parent}function rb(r){const c=Tc(u_(r));return c.typeParameters?T0(c,qt(c.typeParameters,_=>Fe)):c}function Yl(r,c){const _=Ra(r,c);return _?En(_):void 0}function FL(r,c){var _;return Yl(r,c)||((_=gE(r,c))==null?void 0:_.type)||xe}function rc(r){return r&&(r.flags&1)!==0}function Lo(r){return r===Ne||!!(r.flags&1&&r.aliasSymbol)}function uE(r,c){if(c!==0)return Mo(r,!1,c);const _=Zn(r);return _&&ys(_).type||Mo(r,!1,c)}function fE(r,c,_){if(r=Zl(r,$=>!($.flags&98304)),r.flags&131072)return js;if(r.flags&1048576)return Ic(r,$=>fE($,c,_));let m=bi(qt(c,S0));const b=[],x=[];for(const $ of Ho(r)){const re=b3($,8576);!io(re,m)&&!(td($)&24)&&LW($)?b.push($):x.push(re)}if(N2(r)||lb(m)){if(x.length&&(m=bi([m,...x])),m.flags&131072)return r;const $=vyt();return $?TE($,[r,m]):Ne}const D=Ma();for(const $ of b)D.set($.escapedName,rpe($,!1));const j=pc(_,D,pt,pt,gf(r));return j.objectFlags|=4194304,j}function ee(r){return!!(r.flags&465829888)&&Qc(jf(r)||xe,32768)}function Ee(r){const c=my(r,ee)?Ic(r,_=>_.flags&465829888?v0(_):_):r;return _d(c,524288)}function at(r,c){const _=Lt(r);return _?gb(_,c):c}function Lt(r){const c=sr(r);if(c&&Y7(c)&&c.flowNode){const _=Br(r);if(_){const m=Et(sg.createStringLiteral(_),r),b=g_(c)?c:sg.createParenthesizedExpression(c),x=Et(sg.createElementAccessExpression(b,m),r);return go(m,x),go(x,r),b!==c&&go(b,x),x.flowNode=c.flowNode,x}}}function sr(r){const c=r.parent.parent;switch(c.kind){case 205:case 299:return Lt(c);case 206:return Lt(r.parent);case 257:return c.initializer;case 223:return c.right}}function Br(r){const c=r.parent;return r.kind===205&&c.kind===203?pi(r.propertyName||r.name):r.kind===299||r.kind===300?pi(r.name):""+c.elements.indexOf(r)}function pi(r){const c=S0(r);return c.flags&384?""+c.value:void 0}function Gi(r){const c=r.dotDotDotToken?64:0,_=uE(r.parent.parent,c);return _&&Ki(r,_)}function Ki(r,c){if(rc(c))return c;const _=r.parent;K&&r.flags&16777216&&Ex(r)?c=w0(c):K&&_.parent.initializer&&!(bf(K9e(_.parent.initializer))&65536)&&(c=_d(c,524288));let m;if(_.kind===203)if(r.dotDotDotToken){if(c=fm(c),c.flags&2||!TM(c))return nt(r,v.Rest_types_may_only_be_created_from_object_types),Ne;const b=[];for(const x of _.elements)x.dotDotDotToken||b.push(x.propertyName||x.name);m=fE(c,b,r.symbol)}else{const b=r.propertyName||r.name,x=S0(b),D=N_(c,x,32,b);m=at(r,D)}else{const b=q1(65|(r.dotDotDotToken?0:128),c,Ze,_),x=_.elements.indexOf(r);if(r.dotDotDotToken){const D=v0(c);m=bg(D,po)?Ic(D,j=>v3(j,x)):yf(b)}else if(db(c)){const D=Jm(x),j=32|(D3(r)?16:0),$=j1(c,D,j,r.name)||Ne;m=at(r,$)}else m=b}return r.initializer?Ju(y6(r))?K&&!(bf(lN(r,0))&16777216)?Ee(m):m:qde(r,bi([Ee(m),lN(r,0)],2)):m}function zi(r){const c=cv(r);if(c)return Bi(c)}function Hs(r){const c=xc(r,!0);return c.kind===104||c.kind===79&&Id(c)===We}function nc(r){const c=xc(r,!0);return c.kind===206&&c.elements.length===0}function to(r,c=!1,_=!0){return K&&_?C0(r,c):r}function Mo(r,c,_){if(xs(r)&&r.parent.parent.kind===246){const D=Sh(hde(zs(r.parent.parent.expression,_)));return D.flags&4456448?ROe(D):ye}if(xs(r)&&r.parent.parent.kind===247){const D=r.parent.parent;return VM(D)||Fe}if(xa(r.parent))return Gi(r);const m=Pa(r)&&!Xh(r)||Np(r)||cxe(r),b=c&&hte(r),x=D_(r);if(LK(r))return x?rc(x)||x===xe?x:Ne:ot?xe:Fe;if(x)return to(x,m,b);if((Pe||Mn(r))&&xs(r)&&!xa(r.name)&&!(H0(r)&1)&&!(r.flags&16777216)){if(!(ym(r)&2)&&(!r.initializer||Hs(r.initializer)))return Pt;if(r.initializer&&nc(r.initializer))return tn}if(ua(r)){const D=r.parent;if(D.kind===175&&mE(D)){const re=ol(Zn(r.parent),174);if(re){const ae=Bm(re),ke=kme(D);return ke&&r===ke?(R.assert(!ke.type),En(ae.thisParameter)):Xo(ae)}}const j=Wgt(D,r);if(j)return j;const $=r.symbol.escapedName==="this"?yLe(D):vLe(r);if($)return to($,!1,b)}if(hx(r)&&r.initializer){if(Mn(r)&&!ua(r)){const j=u3(r,Zn(r),J7(r));if(j)return j}const D=qde(r,lN(r,_));return to(D,m,b)}if(Pa(r)&&(Pe||Mn(r)))if(tu(r)){const D=hr(r.parent.members,fl),j=D.length?Dd(r.symbol,D):Pf(r)&2?GW(r.symbol):void 0;return j&&to(j,!0,b)}else{const D=Zv(r.parent),j=D?N1(r.symbol,D):Pf(r)&2?GW(r.symbol):void 0;return j&&to(j,!0,b)}if(oh(r))return $e;if(xa(r.name))return ro(r.name,!1,!0)}function P_(r){if(r.valueDeclaration&&$n(r.valueDeclaration)){const c=ys(r);return c.isConstructorDeclaredProperty===void 0&&(c.isConstructorDeclaredProperty=!1,c.isConstructorDeclaredProperty=!!gh(r)&&ut(r.declarations,_=>$n(_)&&dH(_)&&(_.left.kind!==209||Zp(_.left.argumentExpression))&&!om(void 0,_,r,_))),c.isConstructorDeclaredProperty}return!1}function Fm(r){const c=r.valueDeclaration;return c&&Pa(c)&&!Ju(c)&&!c.initializer&&(Pe||Mn(c))}function gh(r){if(r.declarations)for(const c of r.declarations){const _=y_(c,!1,!1);if(_&&(_.kind===173||Vm(_)))return _}}function d0(r){const c=bn(r.declarations[0]),_=Ds(r.escapedName),m=r.declarations.every(x=>Mn(x)&&$c(x)&&Fg(x.expression)),b=m?J.createPropertyAccessExpression(J.createPropertyAccessExpression(J.createIdentifier("module"),J.createIdentifier("exports")),_):J.createPropertyAccessExpression(J.createIdentifier("exports"),_);return m&&go(b.expression.expression,b.expression),go(b.expression,b),go(b,c),b.flowNode=c.endFlowNode,gb(b,Pt,Ze)}function Dd(r,c){const _=Qs(r.escapedName,"__#")?J.createPrivateIdentifier(r.escapedName.split("@")[1]):Ds(r.escapedName);for(const m of c){const b=J.createPropertyAccessExpression(J.createThis(),_);go(b.expression,b),go(b,m),b.flowNode=m.returnFlowNode;const x=_E(b,r);if(Pe&&(x===Pt||x===tn)&&nt(r.valueDeclaration,v.Member_0_implicitly_has_an_1_type,A(r),Me(x)),!bg(x,TH))return gN(x)}}function N1(r,c){const _=Qs(r.escapedName,"__#")?J.createPrivateIdentifier(r.escapedName.split("@")[1]):Ds(r.escapedName),m=J.createPropertyAccessExpression(J.createThis(),_);go(m.expression,m),go(m,c),m.flowNode=c.returnFlowNode;const b=_E(m,r);return Pe&&(b===Pt||b===tn)&&nt(r.valueDeclaration,v.Member_0_implicitly_has_an_1_type,A(r),Me(b)),bg(b,TH)?void 0:gN(b)}function _E(r,c){const _=(c==null?void 0:c.valueDeclaration)&&(!Fm(c)||Pf(c.valueDeclaration)&2)&&GW(c)||Ze;return gb(r,Pt,_)}function kS(r,c){const _=LC(r.valueDeclaration);if(_){const j=Mn(_)?uT(_):void 0;return j&&j.typeExpression?Bi(j.typeExpression):r.valueDeclaration&&u3(r.valueDeclaration,r,_)||F2(Ll(_))}let m,b=!1,x=!1;if(P_(r)&&(m=N1(r,gh(r))),!m){let j;if(r.declarations){let $;for(const re of r.declarations){const ae=$n(re)||Da(re)?re:$c(re)?$n(re.parent)?re.parent:re:void 0;if(!ae)continue;const ke=$c(ae)?$7(ae):ll(ae);(ke===4||$n(ae)&&dH(ae,ke))&&(zp(ae)?b=!0:x=!0),Da(ae)||($=om($,ae,r,re)),$||(j||(j=[])).push($n(ae)||Da(ae)?nb(r,c,ae,ke):At)}m=$}if(!m){if(!H(j))return Ne;let $=b&&r.declarations?pE(j,r.declarations):void 0;if(x){const ae=GW(r);ae&&(($||($=[])).push(ae),b=!0)}const re=Oe($,ae=>!!(ae.flags&-98305))?$:j;m=bi(re)}}const D=Z_(to(m,!1,x&&!b));return r.valueDeclaration&&Zl(D,j=>!!(j.flags&-98305))===At?(mb(r.valueDeclaration,Fe),Fe):D}function u3(r,c,_){var m,b;if(!Mn(r)||!_||!cc(_)||_.properties.length)return;const x=Ma();for(;$n(r)||oi(r);){const $=G_(r);(m=$==null?void 0:$.exports)!=null&&m.size&&Tu(x,$.exports),r=$n(r)?r.parent:r.parent.parent}const D=G_(r);(b=D==null?void 0:D.exports)!=null&&b.size&&Tu(x,D.exports);const j=pc(c,x,pt,pt,pt);return j.objectFlags|=4096,j}function om(r,c,_,m){var b;const x=Ju(c.parent);if(x){const D=Z_(Bi(x));if(r)!Lo(r)&&!Lo(D)&&!fy(r,D)&&bFe(void 0,r,m,D);else return D}if((b=_.parent)!=null&&b.valueDeclaration){const D=Ju(_.parent.valueDeclaration);if(D){const j=Ra(Bi(D),_.escapedName);if(j)return sb(j)}}return r}function nb(r,c,_,m){if(Da(_)){if(c)return En(c);const D=Ll(_.arguments[2]),j=Yl(D,"value");if(j)return j;const $=Yl(D,"get");if($){const ae=Rk($);if(ae)return Xo(ae)}const re=Yl(D,"set");if(re){const ae=Rk(re);if(ae)return Fde(ae)}return Fe}if(f3(_.left,_.right))return Fe;const b=m===1&&(oi(_.left)||qc(_.left))&&(Fg(_.left.expression)||Ye(_.left.expression)&&xx(_.left.expression)),x=c?En(c):b?f_(Ll(_.right)):F2(Ll(_.right));if(x.flags&524288&&m===2&&r.escapedName==="export="){const D=um(x),j=Ma();C7(D.members,j);const $=j.size;c&&!c.exports&&(c.exports=Ma()),(c||r).exports.forEach((ae,ke)=>{var je;const Re=j.get(ke);if(Re&&Re!==ae&&!(ae.flags&2097152))if(ae.flags&111551&&Re.flags&111551){if(ae.valueDeclaration&&Re.valueDeclaration&&bn(ae.valueDeclaration)!==bn(Re.valueDeclaration)){const Qt=Ds(ae.escapedName),sn=((je=Pi(Re.valueDeclaration,of))==null?void 0:je.name)||Re.valueDeclaration;Eo(nt(ae.valueDeclaration,v.Duplicate_identifier_0,Qt),ni(sn,v._0_was_also_declared_here,Qt)),Eo(nt(sn,v.Duplicate_identifier_0,Qt),ni(ae.valueDeclaration,v._0_was_also_declared_here,Qt))}const Ct=Oo(ae.flags|Re.flags,ke);Ct.links.type=bi([En(ae),En(Re)]),Ct.valueDeclaration=Re.valueDeclaration,Ct.declarations=Cr(Re.declarations,ae.declarations),j.set(ke,Ct)}else j.set(ke,im(ae,Re));else j.set(ke,ae)});const re=pc($!==j.size?void 0:D.symbol,j,D.callSignatures,D.constructSignatures,D.indexInfos);if($===j.size&&(x.aliasSymbol&&(re.aliasSymbol=x.aliasSymbol,re.aliasTypeArguments=x.aliasTypeArguments),Ci(x)&4)){re.aliasSymbol=x.symbol;const ae=Go(x);re.aliasTypeArguments=H(ae)?ae:void 0}return re.objectFlags|=Ci(x)&4096,re.symbol&&re.symbol.flags&32&&x===Bf(re.symbol)&&(re.objectFlags|=16777216),re}return QW(x)?(mb(_,Vt),Vt):x}function f3(r,c){return oi(r)&&r.expression.kind===108&&yO(c,_=>Mu(r,_))}function zp(r){const c=y_(r,!1,!1);return c.kind===173||c.kind===259||c.kind===215&&!q7(c.parent)}function pE(r,c){return R.assert(r.length===c.length),r.filter((_,m)=>{const b=c[m],x=$n(b)?b:$n(b.parent)?b.parent:void 0;return x&&zp(x)})}function I1(r,c,_){if(r.initializer){const m=xa(r.name)?ro(r.name,!0,!1):xe;return to(qde(r,lN(r,0,m)))}return xa(r.name)?ro(r.name,c,_):(_&&!w8(r)&&mb(r,Fe),c?Te:Fe)}function k8(r,c,_){const m=Ma();let b,x=131200;Q(r.elements,j=>{const $=j.propertyName||j.name;if(j.dotDotDotToken){b=Th(ye,Fe,!1);return}const re=S0($);if(!ly(re)){x|=512;return}const ae=yh(re),ke=4|(j.initializer?16777216:0),je=Oo(ke,ae);je.links.type=I1(j,c,_),je.links.bindingElement=j,m.set(je.escapedName,je)});const D=pc(void 0,m,pt,pt,b?[b]:pt);return D.objectFlags|=x,c&&(D.pattern=r,D.objectFlags|=131072),D}function C8(r,c,_){const m=r.elements,b=Rc(m),x=b&&b.kind===205&&b.dotDotDotToken?b:void 0;if(m.length===0||m.length===1&&x)return V>=2?bOe(Fe):Vt;const D=qt(m,ae=>yu(ae)?Fe:I1(ae,c,_)),j=kr(m,ae=>!(ae===x||yu(ae)||D3(ae)),m.length-1)+1,$=qt(m,(ae,ke)=>ae===x?4:ke>=j?2:1);let re=jm(D,$);return c&&(re=rOe(re),re.pattern=r,re.objectFlags|=131072),re}function ro(r,c=!1,_=!1){return r.kind===203?k8(r,c,_):C8(r,c,_)}function il(r,c){return O1(Mo(r,!0,0),r,c)}function ib(r){const c=G_(r),_=cyt(!1);return _&&c&&c===_}function O1(r,c,_){return r?(r.flags&4096&&ib(c.parent)&&(r=npe(c)),_&&rH(c,r),r.flags&8192&&(qo(c)||!c.type)&&r.symbol!==Zn(c)&&(r=te),Z_(r)):(r=ua(c)&&c.dotDotDotToken?Vt:Fe,_&&(w8(c)||mb(c,r)),r)}function w8(r){const c=Gh(r),_=c.kind===166?c.parent:c;return RM(_)}function D_(r){const c=Ju(r);if(c)return Bi(c)}function E8(r){let c=r.valueDeclaration;return c?(qo(c)&&(c=y6(c)),ua(c)?zW(c.parent):!1):!1}function C(r){const c=ys(r);if(!c.type){const _=F(r);return!c.type&&!E8(r)&&(c.type=_),_}return c.type}function F(r){if(r.flags&4194304)return rb(r);if(r===It)return Fe;if(r.flags&134217728&&r.valueDeclaration){const m=Zn(bn(r.valueDeclaration)),b=Oo(m.flags,"exports");b.declarations=m.declarations?m.declarations.slice():[],b.parent=r,b.links.target=m,m.valueDeclaration&&(b.valueDeclaration=m.valueDeclaration),m.members&&(b.members=new Map(m.members)),m.exports&&(b.exports=new Map(m.exports));const x=Ma();return x.set("exports",b),pc(r,x,pt,pt,pt)}R.assertIsDefined(r.valueDeclaration);const c=r.valueDeclaration;if(bs(c)&&hd(c))return c.statements.length?Z_(F2(zs(c.statements[0].expression))):js;if(Mb(c))return ci(r);if(!Up(r,0))return r.flags&512&&!(r.flags&67108864)?Tp(r):_3(r);let _;if(c.kind===274)_=O1(D_(c)||Ll(c.expression),c);else if($n(c)||Mn(c)&&(Da(c)||(oi(c)||yj(c))&&$n(c.parent)))_=kS(r);else if(oi(c)||qc(c)||Ye(c)||sc(c)||Td(c)||vu(c)||ru(c)||zl(c)&&!Ud(c)||zg(c)||bs(c)){if(r.flags&9136)return Tp(r);_=$n(c.parent)?kS(r):D_(c)||Fe}else if(Iu(c))_=D_(c)||WMe(c);else if(oh(c))_=D_(c)||ILe(c);else if(id(c))_=D_(c)||R3(c.name,0);else if(Ud(c))_=D_(c)||HMe(c,0);else if(ua(c)||Pa(c)||Np(c)||xs(c)||qo(c)||LB(c))_=il(c,!0);else if(Gb(c))_=Tp(r);else if(LT(c))_=h0(r);else return R.fail("Unhandled declaration kind! "+R.formatSyntaxKind(c.kind)+" for "+R.formatSymbol(r));return cd()?_:r.flags&512&&!(r.flags&67108864)?Tp(r):_3(r)}function q(r){if(r)switch(r.kind){case 174:return bm(r);case 175:return G2e(r);case 169:return R.assert(Xh(r)),Ju(r)}}function me(r){const c=q(r);return c&&Bi(c)}function rt(r){const c=kme(r);return c&&c.symbol}function cr(r){return A2(Bm(r))}function ci(r){const c=ys(r);if(!c.type){if(!Up(r,0))return Ne;const _=ol(r,174),m=ol(r,175),b=Pi(ol(r,169),op);let x=_&&Mn(_)&&zi(_)||me(_)||me(m)||me(b)||_&&_.body&&OH(_)||b&&b.initializer&&il(b,!0);x||(m&&!RM(m)?fh(Pe,m,v.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation,A(r)):_&&!RM(_)?fh(Pe,_,v.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation,A(r)):b&&!RM(b)&&fh(Pe,b,v.Member_0_implicitly_has_an_1_type,A(r),"any"),x=Fe),cd()||(q(_)?nt(_,v._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,A(r)):q(m)||q(b)?nt(m,v._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,A(r)):_&&Pe&&nt(_,v._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,A(r)),x=Fe),c.type=x}return c.type}function Ps(r){var c;const _=ys(r);if(!_.writeType){if(!Up(r,8))return Ne;const m=(c=ol(r,175))!=null?c:Pi(ol(r,169),op);let b=me(m);cd()||(q(m)&&nt(m,v._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,A(r)),b=Fe),_.writeType=b||ci(r)}return _.writeType}function Ca(r){const c=Ai(Bf(r));return c.flags&8650752?c:c.flags&2097152?He(c.types,_=>!!(_.flags&8650752)):void 0}function Tp(r){let c=ys(r);const _=c;if(!c.type){const m=r.valueDeclaration&&DH(r.valueDeclaration,!1);if(m){const b=Ide(r,m);b&&(r=b,c=b.links)}_.type=c.type=m0(r)}return c.type}function m0(r){const c=r.valueDeclaration;if(r.flags&1536&&cP(r))return Fe;if(c&&(c.kind===223||$c(c)&&c.parent.kind===223))return kS(r);if(r.flags&512&&c&&bs(c)&&c.commonJsModuleIndicator){const m=l_(r);if(m!==r){if(!Up(r,0))return Ne;const b=Fo(r.exports.get("export=")),x=kS(b,b===m?void 0:m);return cd()?x:_3(r)}}const _=vp(16,r);if(r.flags&32){const m=Ca(r);return m?no([_,m]):_}else return K&&r.flags&16777216?C0(_):_}function h0(r){const c=ys(r);return c.type||(c.type=k5e(r))}function g0(r){const c=ys(r);if(!c.type){const _=jl(r),m=r.declarations&&am(c_(r),!0),b=ze(m==null?void 0:m.declarations,x=>Tl(x)?D_(x):void 0);c.type=m!=null&&m.declarations&&GH(m.declarations)&&r.declarations.length?d0(m):GH(r.declarations)?Pt:b||(Zu(_)&111551?En(_):Ne)}return c.type}function n_e(r){const c=ys(r);return c.type||(c.type=Cs(En(c.target),c.mapper))}function i_e(r){const c=ys(r);return c.writeType||(c.writeType=Cs(p3(c.target),c.mapper))}function _3(r){const c=r.valueDeclaration;return Ju(c)?(nt(r.valueDeclaration,v._0_is_referenced_directly_or_indirectly_in_its_own_type_annotation,A(r)),Ne):(Pe&&(c.kind!==166||c.initializer)&&nt(r.valueDeclaration,v._0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer,A(r)),Fe)}function A8(r){const c=ys(r);return c.type||(R.assertIsDefined(c.deferralParent),R.assertIsDefined(c.deferralConstituents),c.type=c.deferralParent.flags&1048576?bi(c.deferralConstituents):no(c.deferralConstituents)),c.type}function s_e(r){const c=ys(r);return!c.writeType&&c.deferralWriteConstituents&&(R.assertIsDefined(c.deferralParent),R.assertIsDefined(c.deferralConstituents),c.writeType=c.deferralParent.flags&1048576?bi(c.deferralWriteConstituents):no(c.deferralWriteConstituents)),c.writeType}function p3(r){const c=ul(r);return r.flags&4?c&2?c&65536?s_e(r)||A8(r):r.links.writeType||r.links.type:En(r):r.flags&98304?c&1?i_e(r):Ps(r):En(r)}function En(r){const c=ul(r);return c&65536?A8(r):c&1?n_e(r):c&262144?Agt(r):c&8192?J1t(r):r.flags&7?C(r):r.flags&9136?Tp(r):r.flags&8?h0(r):r.flags&98304?ci(r):r.flags&2097152?g0(r):Ne}function sb(r){return OS(En(r),!!(r.flags&16777216))}function ab(r,c){return r!==void 0&&c!==void 0&&(Ci(r)&4)!==0&&r.target===c}function dE(r){return Ci(r)&4?r.target:r}function CS(r,c){return _(r);function _(m){if(Ci(m)&7){const b=dE(m);return b===c||Oe(_o(b),_)}else if(m.flags&2097152)return Oe(m.types,_);return!1}}function RL(r,c){for(const _ of c)r=$f(r,wS(Zn(_)));return r}function d3(r,c){for(;;){if(r=r.parent,r&&$n(r)){const _=ll(r);if(_===6||_===3){const m=Zn(r.left);m&&m.parent&&!kn(m.parent.valueDeclaration,b=>r===b)&&(r=m.parent.valueDeclaration)}}if(!r)return;switch(r.kind){case 260:case 228:case 261:case 176:case 177:case 170:case 181:case 182:case 320:case 259:case 171:case 215:case 216:case 262:case 348:case 349:case 343:case 341:case 197:case 191:{const m=d3(r,c);if(r.kind===197)return $r(m,wS(Zn(r.typeParameter)));if(r.kind===191)return Cr(m,HOe(r));const b=RL(m,lv(r)),x=c&&(r.kind===260||r.kind===228||r.kind===261||Vm(r))&&Bf(Zn(r)).thisType;return x?$r(b,x):b}case 344:const _=K7(r);_&&(r=_.valueDeclaration);break;case 323:{const m=d3(r,c);return r.tags?RL(m,mn(r.tags,b=>xm(b)?b.typeParameters:void 0)):m}}}}function bW(r){var c;const _=r.flags&32||r.flags&16?r.valueDeclaration:(c=r.declarations)==null?void 0:c.find(m=>{if(m.kind===261)return!0;if(m.kind!==257)return!1;const b=m.initializer;return!!b&&(b.kind===215||b.kind===216)});return R.assert(!!_,"Class was missing valueDeclaration -OR- non-class had no interface declarations"),d3(_)}function L1(r){if(!r.declarations)return;let c;for(const _ of r.declarations)(_.kind===261||_.kind===260||_.kind===228||Vm(_)||Q7(_))&&(c=RL(c,lv(_)));return c}function Dk(r){return Cr(bW(r),L1(r))}function BL(r){const c=ya(r,1);if(c.length===1){const _=c[0];if(!_.typeParameters&&_.parameters.length===1&&ff(_)){const m=PM(_.parameters[0]);return rc(m)||Tpe(m)===Fe}}return!1}function ob(r){if(ya(r,1).length>0)return!0;if(r.flags&8650752){const c=jf(r);return!!c&&BL(c)}return!1}function Yr(r){const c=Jy(r.symbol);return c&&eh(c)}function yi(r,c,_){const m=H(c),b=Mn(_);return hr(ya(r,1),x=>(b||m>=bh(x.typeParameters))&&m<=H(x.typeParameters))}function li(r,c,_){const m=yi(r,c,_),b=qt(c,Bi);return $s(m,x=>Oe(x.typeParameters)?F8(x,b,Mn(_)):x)}function Ai(r){if(!r.resolvedBaseConstructorType){const c=Jy(r.symbol),_=c&&eh(c),m=Yr(r);if(!m)return r.resolvedBaseConstructorType=Ze;if(!Up(r,1))return Ne;const b=zs(m.expression);if(_&&m!==_&&(R.assert(!_.typeArguments),zs(_.expression)),b.flags&2621440&&um(b),!cd())return nt(r.symbol.valueDeclaration,v._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,A(r.symbol)),r.resolvedBaseConstructorType=Ne;if(!(b.flags&1)&&b!==qn&&!ob(b)){const x=nt(m.expression,v.Type_0_is_not_a_constructor_function_type,Me(b));if(b.flags&262144){const D=y3(b);let j=xe;if(D){const $=ya(D,1);$[0]&&(j=Xo($[0]))}b.symbol.declarations&&Eo(x,ni(b.symbol.declarations[0],v.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,A(b.symbol),Me(j)))}return r.resolvedBaseConstructorType=Ne}r.resolvedBaseConstructorType=b}return r.resolvedBaseConstructorType}function vs(r){let c=pt;if(r.symbol.declarations)for(const _ of r.symbol.declarations){const m=$6(_);if(m)for(const b of m){const x=Bi(b);Lo(x)||(c===pt?c=[x]:c.push(x))}}return c}function Qa(r,c){nt(r,v.Type_0_recursively_references_itself_as_a_base_type,Me(c,void 0,2))}function _o(r){if(!r.baseTypesResolved){if(Up(r,7)&&(r.objectFlags&8?r.resolvedBaseTypes=[Sp(r)]:r.symbol.flags&96?(r.symbol.flags&32&&cm(r),r.symbol.flags&64&&cy(r)):R.fail("type must be class or interface"),!cd()&&r.symbol.declarations))for(const c of r.symbol.declarations)(c.kind===260||c.kind===261)&&Qa(c,r);r.baseTypesResolved=!0}return r.resolvedBaseTypes}function Sp(r){const c=$s(r.typeParameters,(_,m)=>r.elementFlags[m]&8?N_(_,wt):_);return yf(bi(c||pt),r.readonly)}function cm(r){r.resolvedBaseTypes=Kj;const c=Jf(Ai(r));if(!(c.flags&2621441))return r.resolvedBaseTypes=pt;const _=Yr(r);let m;const b=c.symbol?Tc(c.symbol):void 0;if(c.symbol&&c.symbol.flags&32&&oy(b))m=nOe(_,c.symbol);else if(c.flags&1)m=c;else{const D=li(c,_.typeArguments,_);if(!D.length)return nt(_.expression,v.No_base_constructor_has_the_specified_number_of_type_arguments),r.resolvedBaseTypes=pt;m=Xo(D[0])}if(Lo(m))return r.resolvedBaseTypes=pt;const x=fm(m);if(!gg(x)){const D=T_e(void 0,m),j=sa(D,v.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,Me(x));return Do.add(Ly(bn(_.expression),_.expression,j)),r.resolvedBaseTypes=pt}return r===x||CS(x,r)?(nt(r.symbol.valueDeclaration,v.Type_0_recursively_references_itself_as_a_base_type,Me(r,void 0,2)),r.resolvedBaseTypes=pt):(r.resolvedBaseTypes===Kj&&(r.members=void 0),r.resolvedBaseTypes=[x])}function oy(r){const c=r.outerTypeParameters;if(c){const _=c.length-1,m=Go(r);return c[_].symbol!==m[_].symbol}return!0}function gg(r){if(r.flags&262144){const c=jf(r);if(c)return gg(c)}return!!(r.flags&67633153&&!$p(r)||r.flags&2097152&&ut(r.types,gg))}function cy(r){if(r.resolvedBaseTypes=r.resolvedBaseTypes||pt,r.symbol.declarations){for(const c of r.symbol.declarations)if(c.kind===261&&gP(c))for(const _ of gP(c)){const m=fm(Bi(_));Lo(m)||(gg(m)?r!==m&&!CS(m,r)?r.resolvedBaseTypes===pt?r.resolvedBaseTypes=[m]:r.resolvedBaseTypes.push(m):Qa(c,r):nt(_,v.An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members))}}}function m3(r){if(!r.declarations)return!0;for(const c of r.declarations)if(c.kind===261){if(c.flags&128)return!1;const _=gP(c);if(_){for(const m of _)if(El(m.expression)){const b=ml(m.expression,788968,!0);if(!b||!(b.flags&64)||Bf(b).thisType)return!1}}}return!0}function Bf(r){let c=ys(r);const _=c;if(!c.declaredType){const m=r.flags&32?1:2,b=Ide(r,r.valueDeclaration&&F2t(r.valueDeclaration));b&&(r=b,c=b.links);const x=_.declaredType=c.declaredType=vp(m,r),D=bW(r),j=L1(r);(D||j||m===1||!m3(r))&&(x.objectFlags|=4,x.typeParameters=Cr(D,j),x.outerTypeParameters=D,x.localTypeParameters=j,x.instantiations=new Map,x.instantiations.set(ud(x.typeParameters),x),x.target=x,x.resolvedTypeArguments=x.typeParameters,x.thisType=A_(r),x.thisType.isThisType=!0,x.thisType.constraint=x)}return c.declaredType}function C2(r){var c;const _=ys(r);if(!_.declaredType){if(!Up(r,2))return Ne;const m=R.checkDefined((c=r.declarations)==null?void 0:c.find(Q7),"Type alias symbol with no valid declaration found"),b=gd(m)?m.typeExpression:m.type;let x=b?Bi(b):Ne;if(cd()){const D=L1(r);D&&(_.typeParameters=D,_.instantiations=new Map,_.instantiations.set(ud(D),x))}else x=Ne,m.kind===343?nt(m.typeExpression.type,v.Type_alias_0_circularly_references_itself,A(r)):nt(of(m)&&m.name||m,v.Type_alias_0_circularly_references_itself,A(r));_.declaredType=x}return _.declaredType}function P8(r){return r.flags&1056&&r.symbol.flags&8?Tc(u_(r.symbol)):r}function S5e(r){const c=ys(r);if(!c.declaredType){const _=[];if(r.declarations){for(const b of r.declarations)if(b.kind===263){for(const x of b.members)if(mE(x)){const D=Zn(x),j=eG(x),$=CE(j!==void 0?T0t(j,Ha(r),D):x5e(D));ys(D).declaredType=$,_.push(f_($))}}}const m=_.length?bi(_,1,r,void 0):x5e(r);m.flags&1048576&&(m.flags|=1024,m.symbol=r),c.declaredType=m}return c.declaredType}function x5e(r){const c=hh(32,r),_=hh(32,r);return c.regularType=c,c.freshType=_,_.regularType=c,_.freshType=_,c}function k5e(r){const c=ys(r);if(!c.declaredType){const _=S5e(u_(r));c.declaredType||(c.declaredType=_)}return c.declaredType}function wS(r){const c=ys(r);return c.declaredType||(c.declaredType=A_(r))}function agt(r){const c=ys(r);return c.declaredType||(c.declaredType=Tc(jl(r)))}function Tc(r){return C5e(r)||Ne}function C5e(r){if(r.flags&96)return Bf(r);if(r.flags&524288)return C2(r);if(r.flags&262144)return wS(r);if(r.flags&384)return S5e(r);if(r.flags&8)return k5e(r);if(r.flags&2097152)return agt(r)}function jL(r){switch(r.kind){case 131:case 157:case 152:case 148:case 160:case 134:case 153:case 149:case 114:case 155:case 144:case 198:return!0;case 185:return jL(r.elementType);case 180:return!r.typeArguments||r.typeArguments.every(jL)}return!1}function ogt(r){const c=v6(r);return!c||jL(c)}function w5e(r){const c=Ju(r);return c?jL(c):!pv(r)}function cgt(r){const c=bm(r),_=lv(r);return(r.kind===173||!!c&&jL(c))&&r.parameters.every(w5e)&&_.every(ogt)}function lgt(r){if(r.declarations&&r.declarations.length===1){const c=r.declarations[0];if(c)switch(c.kind){case 169:case 168:return w5e(c);case 171:case 170:case 173:case 174:case 175:return cgt(c)}}return!1}function E5e(r,c,_){const m=Ma();for(const b of r)m.set(b.escapedName,_&&lgt(b)?b:spe(b,c));return m}function A5e(r,c){for(const _ of c)!r.has(_.escapedName)&&!P5e(_)&&r.set(_.escapedName,_)}function P5e(r){return!!r.valueDeclaration&&Wf(r.valueDeclaration)&&ba(r.valueDeclaration)}function a_e(r){if(!r.declaredProperties){const c=r.symbol,_=M1(c);r.declaredProperties=w1(_),r.declaredCallSignatures=pt,r.declaredConstructSignatures=pt,r.declaredIndexInfos=pt,r.declaredCallSignatures=E2(_.get("__call")),r.declaredConstructSignatures=E2(_.get("__new")),r.declaredIndexInfos=K5e(c)}return r}function ly(r){return!!(r.flags&8576)}function o_e(r){if(!ac(r)&&!qc(r))return!1;const c=ac(r)?r.expression:r.argumentExpression;return El(c)&&ly(ac(r)?E0(r):Ll(c))}function D8(r){return r.charCodeAt(0)===95&&r.charCodeAt(1)===95&&r.charCodeAt(2)===64}function JL(r){const c=ra(r);return!!c&&o_e(c)}function mE(r){return!hv(r)||JL(r)}function ugt(r){return Cj(r)&&!o_e(r)}function yh(r){return r.flags&8192?r.escapedName:r.flags&384?Vc(""+r.value):R.fail()}function fgt(r,c,_){R.assert(!!(ul(r)&4096),"Expected a late-bound symbol."),r.flags|=_,ys(c.symbol).lateSymbol=r,r.declarations?c.symbol.isReplaceableByMethod||r.declarations.push(c):r.declarations=[c],_&111551&&(!r.valueDeclaration||r.valueDeclaration.kind!==c.kind)&&(r.valueDeclaration=c)}function D5e(r,c,_,m){R.assert(!!m.symbol,"The member is expected to have a symbol.");const b=gi(m);if(!b.resolvedSymbol){b.resolvedSymbol=m.symbol;const x=$n(m)?m.left:m.name,D=qc(x)?Ll(x.argumentExpression):E0(x);if(ly(D)){const j=yh(D),$=m.symbol.flags;let re=_.get(j);re||_.set(j,re=Oo(0,j,4096));const ae=c&&c.get(j);if(re.flags&nu($)||ae){const ke=ae?Cr(ae.declarations,re.declarations):re.declarations,je=!(D.flags&8192)&&Ds(j)||uc(x);Q(ke,Re=>nt(ra(Re)||Re,v.Property_0_was_also_declared_here,je)),nt(x||m,v.Duplicate_property_0,je),re=Oo(0,j,4096)}return re.links.nameType=D,fgt(re,m,$),re.parent?R.assert(re.parent===r,"Existing symbol parent should match new one"):re.parent=r,b.resolvedSymbol=re}}return b.resolvedSymbol}function c_e(r,c){const _=ys(r);if(!_[c]){const m=c==="resolvedExports",b=m?r.flags&1536?sE(r).exports:r.exports:r.members;_[c]=b||ue;const x=Ma();for(const j of r.declarations||pt){const $=c2e(j);if($)for(const re of $)m===tu(re)&&JL(re)&&D5e(r,b,x,re)}const D=r.assignmentDeclarationMembers;if(D){const j=ao(D.values());for(const $ of j){const re=ll($),ae=re===3||$n($)&&dH($,re)||re===9||re===6;m===!ae&&JL($)&&D5e(r,b,x,$)}}_[c]=r0(b,x)||ue}return _[c]}function M1(r){return r.flags&6256?c_e(r,"resolvedMembers"):r.members||ue}function TW(r){if(r.flags&106500&&r.escapedName==="__computed"){const c=ys(r);if(!c.lateSymbol&&Oe(r.declarations,JL)){const _=Fo(r.parent);Oe(r.declarations,tu)?yp(_):M1(_)}return c.lateSymbol||(c.lateSymbol=r)}return r}function Vp(r,c,_){if(Ci(r)&4){const m=r.target,b=Go(r);if(H(m.typeParameters)===H(b)){const x=T0(m,Cr(b,[c||m.thisType]));return _?Jf(x):x}}else if(r.flags&2097152){const m=$s(r.types,b=>Vp(b,c,_));return m!==r.types?no(m):r}return _?Jf(r):r}function N5e(r,c,_,m){let b,x,D,j,$;uY(_,m,0,_.length)?(x=c.symbol?M1(c.symbol):Ma(c.declaredProperties),D=c.declaredCallSignatures,j=c.declaredConstructSignatures,$=c.declaredIndexInfos):(b=__(_,m),x=E5e(c.declaredProperties,b,_.length===1),D=BW(c.declaredCallSignatures,b),j=BW(c.declaredConstructSignatures,b),$=KOe(c.declaredIndexInfos,b));const re=_o(c);if(re.length){c.symbol&&x===M1(c.symbol)&&(x=Ma(c.declaredProperties)),Jp(r,x,D,j,$);const ae=Rc(m);for(const ke of re){const je=ae?Vp(Cs(ke,b),ae):ke;A5e(x,Ho(je)),D=Cr(D,ya(je,0)),j=Cr(j,ya(je,1));const Re=je!==Fe?gf(je):[Th(ye,Fe,!1)];$=Cr($,hr(Re,Ct=>!S_e($,Ct.keyType)))}}Jp(r,x,D,j,$)}function _gt(r){N5e(r,a_e(r),pt,pt)}function pgt(r){const c=a_e(r.target),_=Cr(c.typeParameters,[c.thisType]),m=Go(r),b=m.length===_.length?m:Cr(m,[r]);N5e(r,c,_,b)}function yg(r,c,_,m,b,x,D,j){const $=new S(mt,j);return $.declaration=r,$.typeParameters=c,$.parameters=m,$.thisParameter=_,$.resolvedReturnType=b,$.resolvedTypePredicate=x,$.minArgumentCount=D,$.resolvedMinArgumentCount=void 0,$.target=void 0,$.mapper=void 0,$.compositeSignatures=void 0,$.compositeKind=void 0,$}function N8(r){const c=yg(r.declaration,r.typeParameters,r.thisParameter,r.parameters,void 0,void 0,r.minArgumentCount,r.flags&39);return c.target=r.target,c.mapper=r.mapper,c.compositeSignatures=r.compositeSignatures,c.compositeKind=r.compositeKind,c}function I5e(r,c){const _=N8(r);return _.compositeSignatures=c,_.compositeKind=1048576,_.target=void 0,_.mapper=void 0,_}function dgt(r,c){if((r.flags&24)===c)return r;r.optionalCallSignatureCache||(r.optionalCallSignatureCache={});const _=c===8?"inner":"outer";return r.optionalCallSignatureCache[_]||(r.optionalCallSignatureCache[_]=mgt(r,c))}function mgt(r,c){R.assert(c===8||c===16,"An optional call signature can either be for an inner call chain or an outer call chain, but not both.");const _=N8(r);return _.flags|=c,_}function O5e(r,c){if(ff(r)){const m=r.parameters.length-1,b=En(r.parameters[m]);if(po(b))return[_(b,m)];if(!c&&b.flags&1048576&&ut(b.types,po))return qt(b.types,x=>_(x,m))}return[r.parameters];function _(m,b){const x=Go(m),D=m.target.labeledElementDeclarations,j=qt(x,($,re)=>{const ke=!!D&&IH(D[re])||M3(r,b+re,m),je=m.target.elementFlags[re],Re=je&12?32768:je&2?16384:0,Ct=Oo(1,ke,Re);return Ct.links.type=je&4?yf($):$,Ct});return Cr(r.parameters.slice(0,b),j)}}function hgt(r){const c=Ai(r),_=ya(c,1),m=Jy(r.symbol),b=!!m&&Ti(m,256);if(_.length===0)return[yg(void 0,r.localTypeParameters,void 0,pt,r,void 0,0,b?4:0)];const x=Yr(r),D=Mn(x),j=GL(x),$=H(j),re=[];for(const ae of _){const ke=bh(ae.typeParameters),je=H(ae.typeParameters);if(D||$>=ke&&$<=je){const Re=je?SW(ae,R1(j,ae.typeParameters,ke,D)):N8(ae);Re.typeParameters=r.localTypeParameters,Re.resolvedReturnType=r,Re.flags=b?Re.flags|4:Re.flags&-5,re.push(Re)}}return re}function l_e(r,c,_,m,b){for(const x of r)if(cM(x,c,_,m,b,_?U0t:V8))return x}function ggt(r,c,_){if(c.typeParameters){if(_>0)return;for(let b=1;b<r.length;b++)if(!l_e(r[b],c,!1,!1,!1))return;return[c]}let m;for(let b=0;b<r.length;b++){const x=b===_?c:l_e(r[b],c,!0,!1,!0);if(!x)return;m=$f(m,x)}return m}function u_e(r){let c,_;for(let m=0;m<r.length;m++){if(r[m].length===0)return pt;r[m].length>1&&(_=_===void 0?m:-1);for(const b of r[m])if(!c||!l_e(c,b,!1,!1,!0)){const x=ggt(r,b,m);if(x){let D=b;if(x.length>1){let j=b.thisParameter;const $=Q(x,re=>re.thisParameter);if($){const re=no(fr(x,ae=>ae.thisParameter&&En(ae.thisParameter)));j=LS($,re)}D=I5e(b,x),D.thisParameter=j}(c||(c=[])).push(D)}}}if(!H(c)&&_!==-1){const m=r[_!==void 0?_:0];let b=m.slice();for(const x of r)if(x!==m){const D=x[0];if(R.assert(!!D,"getUnionSignatures bails early on empty signature lists and should not have empty lists on second pass"),b=D.typeParameters&&Oe(b,j=>!!j.typeParameters&&!L5e(D.typeParameters,j.typeParameters))?void 0:qt(b,j=>bgt(j,D)),!b)break}c=b}return c||pt}function L5e(r,c){if(H(r)!==H(c))return!1;if(!r||!c)return!0;const _=__(c,r);for(let m=0;m<r.length;m++){const b=r[m],x=c[m];if(b!==x&&!fy(y3(b)||xe,Cs(y3(x)||xe,_)))return!1}return!0}function ygt(r,c,_){if(!r||!c)return r||c;const m=no([En(r),Cs(En(c),_)]);return LS(r,m)}function vgt(r,c,_){const m=K_(r),b=K_(c),x=m>=b?r:c,D=x===r?c:r,j=x===r?m:b,$=Ch(r)||Ch(c),re=$&&!Ch(x),ae=new Array(j+(re?1:0));for(let ke=0;ke<j;ke++){let je=US(x,ke);x===c&&(je=Cs(je,_));let Re=US(D,ke)||xe;D===c&&(Re=Cs(Re,_));const Ct=no([je,Re]),Qt=$&&!re&&ke===j-1,sn=ke>=kh(x)&&ke>=kh(D),Zr=ke>=m?void 0:M3(r,ke),cn=ke>=b?void 0:M3(c,ke),Ir=Zr===cn?Zr:Zr?cn?void 0:Zr:cn,Wr=Oo(1|(sn&&!Qt?16777216:0),Ir||`arg${ke}`);Wr.links.type=Qt?yf(Ct):Ct,ae[ke]=Wr}if(re){const ke=Oo(1,"args");ke.links.type=yf(pm(D,j)),D===c&&(ke.links.type=Cs(ke.links.type,_)),ae[j]=ke}return ae}function bgt(r,c){const _=r.typeParameters||c.typeParameters;let m;r.typeParameters&&c.typeParameters&&(m=__(c.typeParameters,r.typeParameters));const b=r.declaration,x=vgt(r,c,m),D=ygt(r.thisParameter,c.thisParameter,m),j=Math.max(r.minArgumentCount,c.minArgumentCount),$=yg(b,_,D,x,void 0,void 0,j,(r.flags|c.flags)&39);return $.compositeKind=1048576,$.compositeSignatures=Cr(r.compositeKind!==2097152&&r.compositeSignatures||[r],[c]),m&&($.mapper=r.compositeKind!==2097152&&r.mapper&&r.compositeSignatures?pb(r.mapper,m):m),$}function M5e(r){const c=gf(r[0]);if(c){const _=[];for(const m of c){const b=m.keyType;ut(r,x=>!!vg(x,b))&&_.push(Th(b,bi(qt(r,x=>b0(x,b))),Oe(r,x=>vg(x,b).isReadonly)))}return _}return pt}function Tgt(r){const c=u_e(qt(r.types,b=>b===Hc?[br]:ya(b,0))),_=u_e(qt(r.types,b=>ya(b,1))),m=M5e(r.types);Jp(r,ue,c,_,m)}function UL(r,c){return r?c?no([r,c]):r:c}function F5e(r){const c=An(r,m=>ya(m,1).length>0),_=qt(r,BL);if(c>0&&c===An(_,m=>m)){const m=_.indexOf(!0);_[m]=!1}return _}function Sgt(r,c,_,m){const b=[];for(let x=0;x<c.length;x++)x===m?b.push(r):_[x]&&b.push(Xo(ya(c[x],1)[0]));return no(b)}function xgt(r){let c,_,m;const b=r.types,x=F5e(b),D=An(x,j=>j);for(let j=0;j<b.length;j++){const $=r.types[j];if(!x[j]){let re=ya($,1);re.length&&D>0&&(re=qt(re,ae=>{const ke=N8(ae);return ke.resolvedReturnType=Sgt(Xo(ae),b,x,j),ke})),_=R5e(_,re)}c=R5e(c,ya($,0)),m=Cf(gf($),(re,ae)=>B5e(re,ae,!1),m)}Jp(r,ue,c||pt,_||pt,m||pt)}function R5e(r,c){for(const _ of c)(!r||ut(r,m=>!cM(m,_,!1,!1,!1,V8)))&&(r=$r(r,_));return r}function B5e(r,c,_){if(r)for(let m=0;m<r.length;m++){const b=r[m];if(b.keyType===c.keyType)return r[m]=Th(b.keyType,_?bi([b.type,c.type]):no([b.type,c.type]),_?b.isReadonly||c.isReadonly:b.isReadonly&&c.isReadonly),r}return $r(r,c)}function kgt(r){if(r.target){Jp(r,ue,pt,pt,pt);const D=E5e(F1(r.target),r.mapper,!1),j=BW(ya(r.target,0),r.mapper),$=BW(ya(r.target,1),r.mapper),re=KOe(gf(r.target),r.mapper);Jp(r,D,j,$,re);return}const c=Fo(r.symbol);if(c.flags&2048){Jp(r,ue,pt,pt,pt);const D=M1(c),j=E2(D.get("__call")),$=E2(D.get("__new")),re=K5e(c);Jp(r,D,j,$,re);return}let _=ue,m;if(c.exports&&(_=yp(c),c===gt)){const D=new Map;_.forEach(j=>{var $;!(j.flags&418)&&!(j.flags&512&&(($=j.declarations)!=null&&$.length)&&ut(j.declarations,Af))&&D.set(j.escapedName,j)}),_=D}let b;if(Jp(r,_,pt,pt,pt),c.flags&32){const D=Bf(c),j=Ai(D);j.flags&11272192?(_=Ma(oE(_)),A5e(_,Ho(j))):j===Fe&&(b=Th(ye,Fe,!1))}const x=N_e(_);if(x?m=I_e(x):(b&&(m=$r(m,b)),c.flags&384&&(Tc(c).flags&32||Oe(r.properties,D=>!!(En(D).flags&296)))&&(m=$r(m,Rf))),Jp(r,_,pt,pt,m||pt),c.flags&8208&&(r.callSignatures=E2(c)),c.flags&32){const D=Bf(c);let j=c.members?E2(c.members.get("__constructor")):pt;c.flags&16&&(j=Oi(j.slice(),fr(r.callSignatures,$=>Vm($.declaration)?yg($.declaration,$.typeParameters,$.thisParameter,$.parameters,D,void 0,$.minArgumentCount,$.flags&39):void 0))),j.length||(j=hgt(D)),r.constructSignatures=j}}function Cgt(r,c,_){return Cs(r,__([c.indexType,c.objectType],[Jm(0),jm([_])]))}function wgt(r){const c=vg(r.source,ye),_=vh(r.mappedType),m=!(_&1),b=_&4?0:16777216,x=c?[Th(ye,iH(c.type,r.mappedType,r.constraintType),m&&c.isReadonly)]:pt,D=Ma();for(const j of Ho(r.source)){const $=8192|(m&&dm(j)?8:0),re=Oo(4|j.flags&b,j.escapedName,$);if(re.declarations=j.declarations,re.links.nameType=ys(j).nameType,re.links.propertyType=En(j),r.constraintType.type.flags&8388608&&r.constraintType.type.objectType.flags&262144&&r.constraintType.type.indexType.flags&262144){const ae=r.constraintType.type.objectType,ke=Cgt(r.mappedType,r.constraintType.type,ae);re.links.mappedType=ke,re.links.constraintType=Sh(ae)}else re.links.mappedType=r.mappedType,re.links.constraintType=r.constraintType;D.set(j.escapedName,re)}Jp(r,D,pt,pt,x)}function zL(r){if(r.flags&4194304){const c=Jf(r.type);return EE(c)?COe(c):Sh(c)}if(r.flags&16777216){if(r.root.isDistributive){const c=r.checkType,_=zL(c);if(_!==c)return lpe(r,Ok(r.root.checkType,_,r.mapper))}return r}if(r.flags&1048576)return Ic(r,zL,!0);if(r.flags&2097152){const c=r.types;return c.length===2&&c[0].flags&76&&c[1]===Sl?r:no($s(r.types,zL))}return r}function f_e(r){return ul(r)&4096}function __e(r,c,_,m){for(const b of Ho(r))m(b3(b,c));if(r.flags&1)m(ye);else for(const b of gf(r))(!_||b.keyType.flags&134217732)&&m(b.keyType)}function Egt(r){const c=Ma();let _;Jp(r,ue,pt,pt,pt);const m=lm(r),b=Rm(r),x=r.target||r,D=y0(x),j=!D||U5e(x),$=uy(x),re=Jf(h3(r)),ae=vh(r),ke=Qe?128:8576;I8(r)?__e(re,ke,Qe,je):BS(zL(b),je),Jp(r,c,pt,pt,_||pt);function je(Ct){const Qt=D?Cs(D,z8(r.mapper,m,Ct)):Ct;BS(Qt,sn=>Re(Ct,sn))}function Re(Ct,Qt){if(ly(Qt)){const sn=yh(Qt),Zr=c.get(sn);if(Zr)Zr.links.nameType=bi([Zr.links.nameType,Qt]),Zr.links.keyType=bi([Zr.links.keyType,Ct]);else{const cn=ly(Ct)?Ra(re,yh(Ct)):void 0,Ir=!!(ae&4||!(ae&8)&&cn&&cn.flags&16777216),Wr=!!(ae&1||!(ae&2)&&cn&&dm(cn)),Un=K&&!Ir&&cn&&cn.flags&16777216,Ar=cn?f_e(cn):0,Kr=Oo(4|(Ir?16777216:0),sn,Ar|262144|(Wr?8:0)|(Un?524288:0));Kr.links.mappedType=r,Kr.links.nameType=Qt,Kr.links.keyType=Ct,cn&&(Kr.links.syntheticOrigin=cn,Kr.declarations=j?cn.declarations:void 0),c.set(sn,Kr)}}else if(xW(Qt)||Qt.flags&33){const sn=Qt.flags&5?ye:Qt.flags&40?wt:Qt,Zr=Cs($,z8(r.mapper,m,Ct)),cn=Th(sn,Zr,!!(ae&1));_=B5e(_,cn,!0)}}}function Agt(r){if(!r.links.type){const c=r.links.mappedType;if(!Up(r,0))return c.containsError=!0,Ne;const _=uy(c.target||c),m=z8(c.mapper,lm(c),r.links.keyType),b=Cs(_,m);let x=K&&r.flags&16777216&&!Qc(b,49152)?C0(b,!0):r.links.checkFlags&524288?Epe(b):b;cd()||(nt(W,v.Type_of_property_0_circularly_references_itself_in_mapped_type_1,A(r),Me(c)),x=Ne),r.links.type=x}return r.links.type}function lm(r){return r.typeParameter||(r.typeParameter=wS(Zn(r.declaration.typeParameter)))}function Rm(r){return r.constraintType||(r.constraintType=hf(lm(r))||Ne)}function y0(r){return r.declaration.nameType?r.nameType||(r.nameType=Cs(Bi(r.declaration.nameType),r.mapper)):void 0}function uy(r){return r.templateType||(r.templateType=r.declaration.type?Cs(to(Bi(r.declaration.type),!0,!!(vh(r)&4)),r.mapper):Ne)}function j5e(r){return v6(r.declaration.typeParameter)}function I8(r){const c=j5e(r);return c.kind===195&&c.operator===141}function h3(r){if(!r.modifiersType)if(I8(r))r.modifiersType=Cs(Bi(j5e(r).type),r.mapper);else{const c=Z_e(r.declaration),_=Rm(c),m=_&&_.flags&262144?hf(_):_;r.modifiersType=m&&m.flags&4194304?Cs(m.type,r.mapper):xe}return r.modifiersType}function vh(r){const c=r.declaration;return(c.readonlyToken?c.readonlyToken.kind===40?2:1:0)|(c.questionToken?c.questionToken.kind===40?8:4:0)}function J5e(r){const c=vh(r);return c&8?-1:c&4?1:0}function p_e(r){const c=J5e(r),_=h3(r);return c||($p(_)?J5e(_):0)}function Pgt(r){return!!(Ci(r)&32&&vh(r)&4)}function $p(r){if(Ci(r)&32){const c=Rm(r);if(lb(c))return!0;const _=y0(r);if(_&&lb(Cs(_,L2(lm(r),c))))return!0}return!1}function U5e(r){const c=y0(r);return!!c&&io(c,lm(r))}function um(r){return r.members||(r.flags&524288?r.objectFlags&4?pgt(r):r.objectFlags&3?_gt(r):r.objectFlags&1024?wgt(r):r.objectFlags&16?kgt(r):r.objectFlags&32?Egt(r):R.fail("Unhandled object type "+R.formatObjectFlags(r.objectFlags)):r.flags&1048576?Tgt(r):r.flags&2097152?xgt(r):R.fail("Unhandled type "+R.formatTypeFlags(r.flags))),r}function F1(r){return r.flags&524288?um(r).properties:pt}function w2(r,c){if(r.flags&524288){const m=um(r).members.get(c);if(m&&u0(m))return m}}function VL(r){if(!r.resolvedProperties){const c=Ma();for(const _ of r.types){for(const m of Ho(_))if(!c.has(m.escapedName)){const b=b_e(r,m.escapedName);b&&c.set(m.escapedName,b)}if(r.flags&1048576&&gf(_).length===0)break}r.resolvedProperties=w1(c)}return r.resolvedProperties}function Ho(r){return r=g3(r),r.flags&3145728?VL(r):F1(r)}function Dgt(r,c){r=g3(r),r.flags&3670016&&um(r).members.forEach((_,m)=>{f0(_,m)&&c(_,m)})}function Ngt(r,c){return c.properties.some(m=>{const b=m.name&&S0(m.name),x=b&&ly(b)?yh(b):void 0,D=x===void 0?void 0:Yl(r,x);return!!D&&W8(D)&&!io(Bk(m),D)})}function Igt(r){const c=bi(r);if(!(c.flags&1048576))return hme(c);const _=Ma();for(const m of r)for(const{escapedName:b}of hme(m))if(!_.has(b)){const x=q5e(c,b);x&&_.set(b,x)}return ao(_.values())}function ES(r){return r.flags&262144?hf(r):r.flags&8388608?Ogt(r):r.flags&16777216?Mgt(r):jf(r)}function hf(r){return O8(r)?y3(r):void 0}function $L(r){var c;return!!(r.flags&262144&&Oe((c=r.symbol)==null?void 0:c.declarations,_=>Ti(_,2048))||EE(r)&&ar(Go(r),(_,m)=>!!(r.target.elementFlags[m]&8)&&$L(_))>=0||r.flags&8388608&&$L(r.objectType))}function Ogt(r){return O8(r)?Lgt(r):void 0}function d_e(r){const c=x0(r,!1);return c!==r?c:ES(r)}function Lgt(r){if(y_e(r))return IW(r.objectType,r.indexType);const c=d_e(r.indexType);if(c&&c!==r.indexType){const m=j1(r.objectType,c,r.accessFlags);if(m)return m}const _=d_e(r.objectType);if(_&&_!==r.objectType)return j1(_,r.indexType,r.accessFlags)}function m_e(r){if(!r.resolvedDefaultConstraint){const c=m0t(r),_=fb(r);r.resolvedDefaultConstraint=rc(c)?_:rc(_)?c:bi([c,_])}return r.resolvedDefaultConstraint}function z5e(r){if(r.root.isDistributive&&r.restrictiveInstantiation!==r){const c=x0(r.checkType,!1),_=c===r.checkType?ES(c):c;if(_&&_!==r.checkType){const m=lpe(r,Ok(r.root.checkType,_,r.mapper));if(!(m.flags&131072))return m}}}function V5e(r){return z5e(r)||m_e(r)}function Mgt(r){return O8(r)?V5e(r):void 0}function Fgt(r,c){let _,m=!1;for(const b of r)if(b.flags&465829888){let x=ES(b);for(;x&&x.flags&21233664;)x=ES(x);x&&(_=$r(_,x),c&&(_=$r(_,b)))}else(b.flags&469892092||py(b))&&(m=!0);if(_&&(c||m)){if(m)for(const b of r)(b.flags&469892092||py(b))&&(_=$r(_,b));return iM(no(_),!1)}}function jf(r){if(r.flags&464781312){const c=h_e(r);return c!==Ao&&c!==kl?c:void 0}return r.flags&4194304?hs:void 0}function v0(r){return jf(r)||r}function O8(r){return h_e(r)!==kl}function h_e(r){if(r.resolvedBaseConstraint)return r.resolvedBaseConstraint;const c=[];return r.resolvedBaseConstraint=Vp(_(r),r);function _(x){if(!x.immediateBaseConstraint){if(!Up(x,4))return kl;let D;const j=x3(x);if((c.length<10||c.length<50&&!xt(c,j))&&(c.push(j),D=b(x0(x,!1)),c.pop()),!cd()){if(x.flags&262144){const $=O_e(x);if($){const re=nt($,v.Type_parameter_0_has_a_circular_constraint,Me(x));W&&!wx($,W)&&!wx(W,$)&&Eo(re,ni(W,v.Circularity_originates_in_type_at_this_location))}}D=kl}x.immediateBaseConstraint=D||Ao}return x.immediateBaseConstraint}function m(x){const D=_(x);return D!==Ao&&D!==kl?D:void 0}function b(x){if(x.flags&262144){const D=y3(x);return x.isThisType||!D?D:m(D)}if(x.flags&3145728){const D=x.types,j=[];let $=!1;for(const re of D){const ae=m(re);ae?(ae!==re&&($=!0),j.push(ae)):$=!0}return $?x.flags&1048576&&j.length===D.length?bi(j):x.flags&2097152&&j.length?no(j):void 0:x}if(x.flags&4194304)return hs;if(x.flags&134217728){const D=x.types,j=fr(D,m);return j.length===D.length?DS(x.texts,j):ye}if(x.flags&268435456){const D=m(x.type);return D&&D!==x.type?Nk(x.symbol,D):ye}if(x.flags&8388608){if(y_e(x))return m(IW(x.objectType,x.indexType));const D=m(x.objectType),j=m(x.indexType),$=D&&j&&j1(D,j,x.accessFlags);return $&&m($)}if(x.flags&16777216){const D=V5e(x);return D&&m(D)}return x.flags&33554432?m(F_e(x)):x}}function Rgt(r){return r.resolvedApparentType||(r.resolvedApparentType=Vp(r,r,!0))}function g_e(r){if(r.default)r.default===zu&&(r.default=kl);else if(r.target){const c=g_e(r.target);r.default=c?Cs(c,r.mapper):Ao}else{r.default=zu;const c=r.symbol&&Q(r.symbol.declarations,m=>bl(m)&&m.default),_=c?Bi(c):Ao;r.default===zu&&(r.default=_)}return r.default}function AS(r){const c=g_e(r);return c!==Ao&&c!==kl?c:void 0}function Bgt(r){return g_e(r)!==kl}function $5e(r){return!!(r.symbol&&Q(r.symbol.declarations,c=>bl(c)&&c.default))}function jgt(r){return r.resolvedApparentType||(r.resolvedApparentType=Jgt(r))}function Jgt(r){const c=ape(r);if(c&&!r.declaration.nameType){const _=hf(c);if(_&&IS(_))return Cs(r,Ok(c,_,r.mapper))}return r}function y_e(r){let c;return!!(r.flags&8388608&&Ci(c=r.objectType)&32&&!$p(c)&&lb(r.indexType)&&!(vh(c)&8)&&!c.declaration.nameType)}function Jf(r){const c=r.flags&465829888?jf(r)||xe:r;return Ci(c)&32?jgt(c):c.flags&2097152?Rgt(c):c.flags&402653316?Gc:c.flags&296?q_:c.flags&2112?byt():c.flags&528?wl:c.flags&12288?hOe():c.flags&67108864?js:c.flags&4194304?hs:c.flags&2&&!K?js:c}function g3(r){return fm(Jf(fm(r)))}function q5e(r,c,_){var m,b,x;let D,j,$;const re=r.flags&1048576;let ae,ke=4,je=re?0:8,Re=!1;for(const Kr of r.types){const dn=Jf(Kr);if(!(Lo(dn)||dn.flags&131072)){const xi=Ra(dn,c,_),Ei=xi?td(xi):0;if(xi){if(xi.flags&106500&&(ae??(ae=re?0:16777216),re?ae|=xi.flags&16777216:ae&=xi.flags),!D)D=xi;else if(xi!==D)if((ME(xi)||xi)===(ME(D)||D)&&bpe(D,xi,(wa,su)=>wa===su?-1:0)===-1)Re=!!D.parent&&!!H(L1(D.parent));else{j||(j=new Map,j.set(Ha(D),D));const wa=Ha(xi);j.has(wa)||j.set(wa,xi)}re&&dm(xi)?je|=8:!re&&!dm(xi)&&(je&=-9),je|=(Ei&24?0:256)|(Ei&16?512:0)|(Ei&8?1024:0)|(Ei&32?2048:0),dde(xi)||(ke=2)}else if(re){const Js=!D8(c)&&gE(dn,c);Js?(je|=32|(Js.isReadonly?8:0),$=$r($,po(dn)?lM(dn)||Ze:Js.type)):hb(dn)&&!(Ci(dn)&2097152)?(je|=32,$=$r($,Ze)):je|=16}}}if(!D||re&&(j||je&48)&&je&1536&&!(j&&Ugt(j.values())))return;if(!j&&!(je&16)&&!$)if(Re){const Kr=(m=Pi(D,qh))==null?void 0:m.links,dn=LS(D,Kr==null?void 0:Kr.type);return dn.parent=(x=(b=D.valueDeclaration)==null?void 0:b.symbol)==null?void 0:x.parent,dn.links.containingType=r,dn.links.mapper=Kr==null?void 0:Kr.mapper,dn}else return D;const Ct=j?ao(j.values()):[D];let Qt,sn,Zr;const cn=[];let Ir,Wr,Un=!1;for(const Kr of Ct){Wr?Kr.valueDeclaration&&Kr.valueDeclaration!==Wr&&(Un=!0):Wr=Kr.valueDeclaration,Qt=Oi(Qt,Kr.declarations);const dn=En(Kr);sn||(sn=dn,Zr=ys(Kr).nameType);const xi=p3(Kr);Ir||xi!==dn?Ir=$r(Ir||cn.slice(),xi):dn!==sn&&(je|=64),(W8(dn)||xE(dn)||dn===vi)&&(je|=128),dn.flags&131072&&dn!==vi&&(je|=131072),cn.push(dn)}Oi(cn,$);const Ar=Oo(4|(ae??0),c,ke|je);return Ar.links.containingType=r,!Un&&Wr&&(Ar.valueDeclaration=Wr,Wr.symbol.parent&&(Ar.parent=Wr.symbol.parent)),Ar.declarations=Qt,Ar.links.nameType=Zr,cn.length>2?(Ar.links.checkFlags|=65536,Ar.links.deferralParent=r,Ar.links.deferralConstituents=cn,Ar.links.deferralWriteConstituents=Ir):(Ar.links.type=re?bi(cn):no(cn),Ir&&(Ar.links.writeType=re?bi(Ir):no(Ir))),Ar}function v_e(r,c,_){var m,b;let x=(m=r.propertyCacheWithoutObjectFunctionPropertyAugment)!=null&&m.get(c)||!_?(b=r.propertyCache)==null?void 0:b.get(c):void 0;return x||(x=q5e(r,c,_),x&&(_?r.propertyCacheWithoutObjectFunctionPropertyAugment||(r.propertyCacheWithoutObjectFunctionPropertyAugment=Ma()):r.propertyCache||(r.propertyCache=Ma())).set(c,x)),x}function Ugt(r){let c;for(const _ of r){if(!_.declarations)return;if(!c){c=new Set(_.declarations);continue}if(c.forEach(m=>{xt(_.declarations,m)||c.delete(m)}),c.size===0)return}return c}function b_e(r,c,_){const m=v_e(r,c,_);return m&&!(ul(m)&16)?m:void 0}function fm(r){return r.flags&1048576&&r.objectFlags&16777216?r.resolvedReducedType||(r.resolvedReducedType=zgt(r)):r.flags&2097152?(r.objectFlags&16777216||(r.objectFlags|=16777216|(Oe(VL(r),Vgt)?33554432:0)),r.objectFlags&33554432?At:r):r}function zgt(r){const c=$s(r.types,fm);if(c===r.types)return r;const _=bi(c);return _.flags&1048576&&(_.resolvedReducedType=_),_}function Vgt(r){return W5e(r)||H5e(r)}function W5e(r){return!(r.flags&16777216)&&(ul(r)&131264)===192&&!!(En(r).flags&131072)}function H5e(r){return!r.valueDeclaration&&!!(ul(r)&1024)}function T_e(r,c){if(c.flags&2097152&&Ci(c)&33554432){const _=He(VL(c),W5e);if(_)return sa(r,v.The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents,Me(c,void 0,536870912),A(_));const m=He(VL(c),H5e);if(m)return sa(r,v.The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some,Me(c,void 0,536870912),A(m))}return r}function Ra(r,c,_,m){if(r=g3(r),r.flags&524288){const b=um(r),x=b.members.get(c);if(x&&u0(x,m))return x;if(_)return;const D=b===ea?Hc:b.callSignatures.length?Ql:b.constructSignatures.length?a_:void 0;if(D){const j=w2(D,c);if(j)return j}return w2(ka,c)}if(r.flags&3145728)return b_e(r,c,_)}function qL(r,c){if(r.flags&3670016){const _=um(r);return c===0?_.callSignatures:_.constructSignatures}return pt}function ya(r,c){return qL(g3(r),c)}function S_e(r,c){return He(r,_=>_.keyType===c)}function x_e(r,c){let _,m,b;for(const x of r)x.keyType===ye?_=x:hE(c,x.keyType)&&(m?(b||(b=[m])).push(x):m=x);return b?Th(xe,no(qt(b,x=>x.type)),Cf(b,(x,D)=>x&&D.isReadonly,!0)):m||(_&&hE(c,ye)?_:void 0)}function hE(r,c){return io(r,c)||c===ye&&io(r,wt)||c===wt&&(r===Ia||!!(r.flags&128)&&Ug(r.value))}function k_e(r){return r.flags&3670016?um(r).indexInfos:pt}function gf(r){return k_e(g3(r))}function vg(r,c){return S_e(gf(r),c)}function b0(r,c){var _;return(_=vg(r,c))==null?void 0:_.type}function C_e(r,c){return gf(r).filter(_=>hE(c,_.keyType))}function WL(r,c){return x_e(gf(r),c)}function gE(r,c){return WL(r,D8(c)?te:qp(Ds(c)))}function G5e(r){var c;let _;for(const m of lv(r))_=$f(_,wS(m.symbol));return _!=null&&_.length?_:ru(r)?(c=M8(r))==null?void 0:c.typeParameters:void 0}function w_e(r){const c=[];return r.forEach((_,m)=>{dS(m)||c.push(_)}),c}function E_e(r,c){if(wu(r))return;const _=H_(Ke,'"'+r+'"',512);return _&&c?Fo(_):_}function L8(r){if(BC(r)||L5(r)||M5(r))return!0;if(r.initializer){const _=Bm(r.parent),m=r.parent.parameters.indexOf(r);return R.assert(m>=0),m>=kh(_,3)}const c=Sx(r.parent);return c?!r.type&&!r.dotDotDotToken&&r.parent.parameters.indexOf(r)>=c.arguments.length:!1}function $gt(r){return Pa(r)&&!Xh(r)&&r.questionToken}function HL(r,c,_,m){return{kind:r,parameterName:c,parameterIndex:_,type:m}}function bh(r){let c=0;if(r)for(let _=0;_<r.length;_++)$5e(r[_])||(c=_+1);return c}function R1(r,c,_,m){const b=H(c);if(!b)return[];const x=H(r);if(m||x>=_&&x<=b){const D=r?r.slice():[];for(let $=x;$<b;$++)D[$]=Ne;const j=zpe(m);for(let $=x;$<b;$++){let re=AS(c[$]);m&&re&&(fy(re,xe)||fy(re,js))&&(re=Fe),D[$]=re?Cs(re,__(c,D)):j}return D.length=c.length,D}return r&&r.slice()}function Bm(r){const c=gi(r);if(!c.resolvedSignature){const _=[];let m=0,b=0,x,D=!1;const j=Sx(r),$=J6(r);!j&&Mn(r)&&N2e(r)&&!nbe(r)&&!cv(r)&&(m|=32);for(let je=$?1:0;je<r.parameters.length;je++){const Re=r.parameters[je];let Ct=Re.symbol;const Qt=ch(Re)?Re.typeExpression&&Re.typeExpression.type:Re.type;Ct&&Ct.flags&4&&!xa(Re.name)&&(Ct=Xc(Re,Ct.escapedName,111551,void 0,void 0,!1)),je===0&&Ct.escapedName==="this"?(D=!0,x=Re.symbol):_.push(Ct),Qt&&Qt.kind===198&&(m|=2),L5(Re)||Re.initializer||Re.questionToken||Lg(Re)||j&&_.length>j.arguments.length&&!Qt||M5(Re)||(b=_.length)}if((r.kind===174||r.kind===175)&&mE(r)&&(!D||!x)){const je=r.kind===174?175:174,Re=ol(Zn(r),je);Re&&(x=rt(Re))}if(Mn(r)){const je=PB(r);je&&je.typeExpression&&(x=LS(Oo(1,"this"),Bi(je.typeExpression)))}const ae=r.kind===173?Bf(Fo(r.parent.symbol)):void 0,ke=ae?ae.localTypeParameters:G5e(r);(SK(r)||Mn(r)&&qgt(r,_))&&(m|=1),(eD(r)&&Ti(r,256)||Al(r)&&Ti(r.parent,256))&&(m|=4),c.resolvedSignature=yg(r,ke,x,_,void 0,void 0,b,m)}return c.resolvedSignature}function qgt(r,c){if(MT(r)||!A_e(r))return!1;const _=Rc(r.parameters),m=_?GA(_):fT(r).filter(ch),b=ze(m,D=>D.typeExpression&&WJ(D.typeExpression.type)?D.typeExpression.type:void 0),x=Oo(3,"args",32768);return b?x.links.type=yf(Bi(b.type)):(x.links.checkFlags|=65536,x.links.deferralParent=At,x.links.deferralConstituents=[Vt],x.links.deferralWriteConstituents=[Vt]),b&&c.pop(),c.push(x),!0}function M8(r){if(!(Mn(r)&&Lc(r)))return;const c=uT(r);return(c==null?void 0:c.typeExpression)&&Rk(Bi(c.typeExpression))}function Wgt(r,c){const _=M8(r);if(!_)return;const m=r.parameters.indexOf(c);return c.dotDotDotToken?sN(_,m):pm(_,m)}function Hgt(r){const c=M8(r);return c&&Xo(c)}function A_e(r){const c=gi(r);return c.containsArgumentsReference===void 0&&(c.flags&512?c.containsArgumentsReference=!0:c.containsArgumentsReference=_(r.body)),c.containsArgumentsReference;function _(m){if(!m)return!1;switch(m.kind){case 79:return m.escapedText===jt.escapedName&&HM(m)===jt;case 169:case 171:case 174:case 175:return m.name.kind===164&&_(m.name);case 208:case 209:return _(m.expression);case 299:return _(m.initializer);default:return!mee(m)&&!Mg(m)&&!!ca(m,_)}}}function E2(r){if(!r||!r.declarations)return pt;const c=[];for(let _=0;_<r.declarations.length;_++){const m=r.declarations[_];if(Sa(m)){if(_>0&&m.body){const b=r.declarations[_-1];if(m.parent===b.parent&&m.kind===b.kind&&m.pos===b.end)continue}if(Mn(m)&&m.jsDoc){let b=!1;for(const x of m.jsDoc)if(x.tags){for(const D of x.tags)if(fD(D)){const j=D.typeExpression;j.type===void 0&&!Al(m)&&mb(j,Fe),c.push(Bm(j)),b=!0}}if(b)continue}c.push(!n4(m)&&!Ud(m)&&M8(m)||Bm(m))}}return c}function X5e(r){const c=Ku(r,r);if(c){const _=l_(c);if(_)return En(_)}return Fe}function A2(r){if(r.thisParameter)return En(r.thisParameter)}function ld(r){if(!r.resolvedTypePredicate){if(r.target){const c=ld(r.target);r.resolvedTypePredicate=c?D0t(c,r.mapper):Fc}else if(r.compositeSignatures)r.resolvedTypePredicate=zyt(r.compositeSignatures,r.compositeKind)||Fc;else{const c=r.declaration&&bm(r.declaration);let _;if(!c){const m=M8(r.declaration);m&&r!==m&&(_=ld(m))}r.resolvedTypePredicate=c&&jJ(c)?Ggt(c,r):_||Fc}R.assert(!!r.resolvedTypePredicate)}return r.resolvedTypePredicate===Fc?void 0:r.resolvedTypePredicate}function Ggt(r,c){const _=r.parameterName,m=r.type&&Bi(r.type);return _.kind===194?HL(r.assertsModifier?2:0,void 0,void 0,m):HL(r.assertsModifier?3:1,_.escapedText,ar(c.parameters,b=>b.escapedName===_.escapedText),m)}function Q5e(r,c,_){return c!==2097152?bi(r,_):no(r)}function Xo(r){if(!r.resolvedReturnType){if(!Up(r,3))return Ne;let c=r.target?Cs(Xo(r.target),r.mapper):r.compositeSignatures?Cs(Q5e(qt(r.compositeSignatures,Xo),r.compositeKind,2),r.mapper):yE(r.declaration)||(cl(r.declaration.body)?Fe:OH(r.declaration));if(r.flags&8?c=A9e(c):r.flags&16&&(c=C0(c)),!cd()){if(r.declaration){const _=bm(r.declaration);if(_)nt(_,v.Return_type_annotation_circularly_references_itself);else if(Pe){const m=r.declaration,b=ra(m);b?nt(b,v._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,uc(b)):nt(m,v.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)}}c=Fe}r.resolvedReturnType=c}return r.resolvedReturnType}function yE(r){if(r.kind===173)return Bf(Fo(r.parent.symbol));if(MT(r)){const _=mP(r);if(_&&Al(_.parent))return Bf(Fo(_.parent.parent.symbol))}if(J6(r))return Bi(r.parameters[0].type);const c=bm(r);if(c)return Bi(c);if(r.kind===174&&mE(r)){const _=Mn(r)&&zi(r);if(_)return _;const m=ol(Zn(r),175),b=me(m);if(b)return b}return Hgt(r)}function P_e(r){return!r.resolvedReturnType&&hg(r,3)>=0}function Xgt(r){return Y5e(r)||Fe}function Y5e(r){if(ff(r)){const c=En(r.parameters[r.parameters.length-1]),_=po(c)?lM(c):c;return _&&b0(_,wt)}}function F8(r,c,_,m){const b=D_e(r,R1(c,r.typeParameters,bh(r.typeParameters),_));if(m){const x=sMe(Xo(b));if(x){const D=N8(x);D.typeParameters=m;const j=N8(b);return j.resolvedReturnType=PS(D),j}}return b}function D_e(r,c){const _=r.instantiations||(r.instantiations=new Map),m=ud(c);let b=_.get(m);return b||_.set(m,b=SW(r,c)),b}function SW(r,c){return wE(r,Qgt(r,c),!0)}function Qgt(r,c){return __(r.typeParameters,c)}function R8(r){return r.typeParameters?r.erasedSignatureCache||(r.erasedSignatureCache=Ygt(r)):r}function Ygt(r){return wE(r,e9e(r.typeParameters),!0)}function Zgt(r){return r.typeParameters?r.canonicalSignatureCache||(r.canonicalSignatureCache=Kgt(r)):r}function Kgt(r){return F8(r,qt(r.typeParameters,c=>c.target&&!hf(c.target)?c.target:c),Mn(r.declaration))}function eyt(r){const c=r.typeParameters;if(c){if(r.baseSignatureCache)return r.baseSignatureCache;const _=e9e(c),m=__(c,qt(c,x=>hf(x)||xe));let b=qt(c,x=>Cs(x,m)||xe);for(let x=0;x<c.length-1;x++)b=k0(b,m);return b=k0(b,_),r.baseSignatureCache=wE(r,__(c,b),!0)}return r}function PS(r){var c;if(!r.isolatedSignatureType){const _=(c=r.declaration)==null?void 0:c.kind,m=_===void 0||_===173||_===177||_===182,b=vp(16);b.members=ue,b.properties=pt,b.callSignatures=m?pt:[r],b.constructSignatures=m?[r]:pt,b.indexInfos=pt,r.isolatedSignatureType=b}return r.isolatedSignatureType}function Z5e(r){return r.members?N_e(r.members):void 0}function N_e(r){return r.get("__index")}function Th(r,c,_,m){return{keyType:r,type:c,isReadonly:_,declaration:m}}function K5e(r){const c=Z5e(r);return c?I_e(c):pt}function I_e(r){if(r.declarations){const c=[];for(const _ of r.declarations)if(_.parameters.length===1){const m=_.parameters[0];m.type&&BS(Bi(m.type),b=>{xW(b)&&!S_e(c,b)&&c.push(Th(b,_.type?Bi(_.type):Fe,R_(_,64),_))})}return c}return pt}function xW(r){return!!(r.flags&4108)||xE(r)||!!(r.flags&2097152)&&!T3(r)&&Oe(r.types,xW)}function O_e(r){return fr(hr(r.symbol&&r.symbol.declarations,bl),v6)[0]}function eOe(r,c){var _;let m;if((_=r.symbol)!=null&&_.declarations){for(const b of r.symbol.declarations)if(b.parent.kind===192){const[x=b.parent,D]=O2e(b.parent.parent);if(D.kind===180&&!c){const j=D,$=Qde(j);if($){const re=j.typeArguments.indexOf(x);if(re<$.length){const ae=hf($[re]);if(ae){const ke=ipe($,$.map((Re,Ct)=>()=>cSt(j,$,Ct))),je=Cs(ae,ke);je!==r&&(m=$r(m,je))}}}}else if(D.kind===166&&D.dotDotDotToken||D.kind===188||D.kind===199&&D.dotDotDotToken)m=$r(m,yf(xe));else if(D.kind===201)m=$r(m,ye);else if(D.kind===165&&D.parent.kind===197)m=$r(m,hs);else if(D.kind===197&&D.type&&xc(D.type)===b.parent&&D.parent.kind===191&&D.parent.extendsType===D&&D.parent.checkType.kind===197&&D.parent.checkType.type){const j=D.parent.checkType,$=Bi(j.type);m=$r(m,Cs($,L2(wS(Zn(j.typeParameter)),j.typeParameter.constraint?Bi(j.typeParameter.constraint):hs)))}}}return m&&no(m)}function y3(r){if(!r.constraint)if(r.target){const c=hf(r.target);r.constraint=c?Cs(c,r.mapper):Ao}else{const c=O_e(r);if(!c)r.constraint=eOe(r)||Ao;else{let _=Bi(c);_.flags&1&&!Lo(_)&&(_=c.parent.parent.kind===197?hs:xe),r.constraint=_}}return r.constraint===Ao?void 0:r.constraint}function tOe(r){const c=ol(r.symbol,165),_=xm(c.parent)?Tj(c.parent):c.parent;return _&&G_(_)}function ud(r){let c="";if(r){const _=r.length;let m=0;for(;m<_;){const b=r[m].id;let x=1;for(;m+x<_&&r[m+x].id===b+x;)x++;c.length&&(c+=","),c+=b,x>1&&(c+=":"+x),m+=x}}return c}function vE(r,c){return r?`@${Ha(r)}`+(c?`:${ud(c)}`:""):""}function kW(r,c){let _=0;for(const m of r)(c===void 0||!(m.flags&c))&&(_|=Ci(m));return _&458752}function bE(r,c){return Oe(c)&&r===Ka?xe:T0(r,c)}function T0(r,c){const _=ud(c);let m=r.instantiations.get(_);return m||(m=vp(4,r.symbol),r.instantiations.set(_,m),m.objectFlags|=c?kW(c):0,m.target=r,m.resolvedTypeArguments=c),m}function rOe(r){const c=hh(r.flags,r.symbol);return c.objectFlags=r.objectFlags,c.target=r.target,c.resolvedTypeArguments=r.resolvedTypeArguments,c}function L_e(r,c,_,m,b){if(!m){m=Ik(c);const D=kE(m);b=_?k0(D,_):D}const x=vp(4,r.symbol);return x.target=r,x.node=c,x.mapper=_,x.aliasSymbol=m,x.aliasTypeArguments=b,x}function Go(r){var c,_;if(!r.resolvedTypeArguments){if(!Up(r,6))return((c=r.target.localTypeParameters)==null?void 0:c.map(()=>Ne))||pt;const m=r.node,b=m?m.kind===180?Cr(r.target.outerTypeParameters,FH(m,r.target.localTypeParameters)):m.kind===185?[Bi(m.elementType)]:qt(m.elements,Bi):pt;cd()?r.resolvedTypeArguments=r.mapper?k0(b,r.mapper):b:(r.resolvedTypeArguments=((_=r.target.localTypeParameters)==null?void 0:_.map(()=>Ne))||pt,nt(r.node||W,r.target.symbol?v.Type_arguments_for_0_circularly_reference_themselves:v.Tuple_type_arguments_circularly_reference_themselves,r.target.symbol&&A(r.target.symbol)))}return r.resolvedTypeArguments}function cb(r){return H(r.target.typeParameters)}function nOe(r,c){const _=Tc(Fo(c)),m=_.localTypeParameters;if(m){const b=H(r.typeArguments),x=bh(m),D=Mn(r);if(!(!Pe&&D)&&(b<x||b>m.length)){const re=D&&n1(r)&&!S4(r.parent),ae=x===m.length?re?v.Expected_0_type_arguments_provide_these_with_an_extends_tag:v.Generic_type_0_requires_1_type_argument_s:re?v.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:v.Generic_type_0_requires_between_1_and_2_type_arguments,ke=Me(_,void 0,2);if(nt(r,ae,ke,x,m.length),!D)return Ne}if(r.kind===180&&SOe(r,H(r.typeArguments)!==m.length))return L_e(_,r,void 0);const $=Cr(_.outerTypeParameters,R1(GL(r),m,x,D));return T0(_,$)}return P2(r,c)?_:Ne}function TE(r,c,_,m){const b=Tc(r);if(b===pe&&WO.has(r.escapedName)&&c&&c.length===1)return Nk(r,c[0]);const x=ys(r),D=x.typeParameters,j=ud(c)+vE(_,m);let $=x.instantiations.get(j);return $||x.instantiations.set(j,$=n9e(b,__(D,R1(c,D,bh(D),Mn(r.valueDeclaration))),_,m)),$}function tyt(r,c){if(ul(c)&1048576){const b=GL(r),x=vE(c,b);let D=_i.get(x);return D||(D=Ol(1,"error"),D.aliasSymbol=c,D.aliasTypeArguments=b,_i.set(x,D)),D}const _=Tc(c),m=ys(c).typeParameters;if(m){const b=H(r.typeArguments),x=bh(m);if(b<x||b>m.length)return nt(r,x===m.length?v.Generic_type_0_requires_1_type_argument_s:v.Generic_type_0_requires_between_1_and_2_type_arguments,A(c),x,m.length),Ne;const D=Ik(r);let j=D&&(iOe(c)||!iOe(D))?D:void 0,$;if(j)$=kE(j);else if(zB(r)){const re=SE(r,2097152,!0);if(re&&re!==Tr){const ae=jl(re);ae&&ae.flags&524288&&(j=ae,$=GL(r)||(m?[]:void 0))}}return TE(c,GL(r),j,$)}return P2(r,c)?_:Ne}function iOe(r){var c;const _=(c=r.declarations)==null?void 0:c.find(Q7);return!!(_&&Pp(_))}function ryt(r){switch(r.kind){case 180:return r.typeName;case 230:const c=r.expression;if(El(c))return c}}function sOe(r){return r.parent?`${sOe(r.parent)}.${r.escapedName}`:r.escapedName}function CW(r){const _=(r.kind===163?r.right:r.kind===208?r.name:r).escapedText;if(_){const m=r.kind===163?CW(r.left):r.kind===208?CW(r.expression):void 0,b=m?`${sOe(m)}.${_}`:_;let x=Xn.get(b);return x||(Xn.set(b,x=Oo(524288,_,1048576)),x.parent=m,x.links.declaredType=kt),x}return Tr}function SE(r,c,_){const m=ryt(r);if(!m)return Tr;const b=ml(m,c,_);return b&&b!==Tr?b:_?Tr:CW(m)}function wW(r,c){if(c===Tr)return Ne;if(c=Gv(c)||c,c.flags&96)return nOe(r,c);if(c.flags&524288)return tyt(r,c);const _=C5e(c);if(_)return P2(r,c)?f_(_):Ne;if(c.flags&111551&&EW(r)){const m=nyt(r,c);return m||(SE(r,788968),En(c))}return Ne}function nyt(r,c){const _=gi(r);if(!_.resolvedJSDocType){const m=En(c);let b=m;if(c.valueDeclaration){const x=r.kind===202&&r.qualifier;m.symbol&&m.symbol!==c&&x&&(b=wW(r,m.symbol))}_.resolvedJSDocType=b}return _.resolvedJSDocType}function M_e(r,c){if(c.flags&3||c===r||r.flags&1)return r;const _=`${vf(r)}>${vf(c)}`,m=rr.get(_);if(m)return m;const b=sy(33554432);return b.baseType=r,b.constraint=c,rr.set(_,b),b}function F_e(r){return no([r.constraint,r.baseType])}function aOe(r){return r.kind===186&&r.elements.length===1}function oOe(r,c,_){return aOe(c)&&aOe(_)?oOe(r,c.elements[0],_.elements[0]):J1(Bi(c))===J1(r)?Bi(_):void 0}function iyt(r,c){let _,m=!0;for(;c&&!Ks(c)&&c.kind!==323;){const b=c.parent;if(b.kind===166&&(m=!m),(m||r.flags&8650752)&&b.kind===191&&c===b.trueType){const x=oOe(r,b.checkType,b.extendsType);x&&(_=$r(_,x))}else if(r.flags&262144&&b.kind===197&&c===b.type){const x=Bi(b);if(lm(x)===J1(r)){const D=ape(x);if(D){const j=hf(D);j&&bg(j,IS)&&(_=$r(_,bi([wt,Ia])))}}}c=b}return _?M_e(r,no(_)):r}function EW(r){return!!(r.flags&8388608)&&(r.kind===180||r.kind===202)}function P2(r,c){return r.typeArguments?(nt(r,v.Type_0_is_not_generic,c?A(c):r.typeName?uc(r.typeName):qO),!1):!0}function cOe(r){if(Ye(r.typeName)){const c=r.typeArguments;switch(r.typeName.escapedText){case"String":return P2(r),ye;case"Number":return P2(r),wt;case"Boolean":return P2(r),Be;case"Void":return P2(r),$t;case"Undefined":return P2(r),Ze;case"Null":return P2(r),qr;case"Function":case"function":return P2(r),Hc;case"array":return(!c||!c.length)&&!Pe?Vt:void 0;case"promise":return(!c||!c.length)&&!Pe?NM(Fe):void 0;case"Object":if(c&&c.length===2){if(mj(r)){const _=Bi(c[0]),m=Bi(c[1]),b=_===ye||_===wt?[Th(_,m,!1)]:pt;return pc(void 0,ue,pt,pt,b)}return Fe}return P2(r),Pe?void 0:Fe}}}function syt(r){const c=Bi(r.type);return K?ZW(c,65536):c}function R_e(r){const c=gi(r);if(!c.resolvedType){if(Iy(r)&&mx(r.parent))return c.resolvedSymbol=Tr,c.resolvedType=Ll(r.parent.expression);let _,m;const b=788968;EW(r)&&(m=cOe(r),m||(_=SE(r,b,!0),_===Tr?_=SE(r,b|111551):SE(r,b),m=wW(r,_))),m||(_=SE(r,b),m=wW(r,_)),c.resolvedSymbol=_,c.resolvedType=m}return c.resolvedType}function GL(r){return qt(r.typeArguments,Bi)}function lOe(r){const c=gi(r);if(!c.resolvedType){const _=CMe(r);c.resolvedType=f_(Z_(_))}return c.resolvedType}function uOe(r,c){function _(b){const x=b.declarations;if(x)for(const D of x)switch(D.kind){case 260:case 261:case 263:return D}}if(!r)return c?Ka:js;const m=Tc(r);return m.flags&524288?H(m.typeParameters)!==c?(nt(_(r),v.Global_type_0_must_have_1_type_parameter_s,yl(r),c),c?Ka:js):m:(nt(_(r),v.Global_type_0_must_be_a_class_or_interface_type,yl(r)),c?Ka:js)}function B_e(r,c){return B8(r,111551,c?v.Cannot_find_global_value_0:void 0)}function fOe(r,c){return B8(r,788968,c?v.Cannot_find_global_type_0:void 0)}function AW(r,c,_){const m=B8(r,788968,_?v.Cannot_find_global_type_0:void 0);if(m&&(Tc(m),H(ys(m).typeParameters)!==c)){const b=m.declarations&&He(m.declarations,sh);nt(b,v.Global_type_0_must_have_1_type_parameter_s,yl(m),c);return}return m}function B8(r,c,_){return Xc(void 0,r,c,_,r,!1,!1,!1)}function ql(r,c,_){const m=fOe(r,_);return m||_?uOe(m,c):void 0}function ayt(){return Xt||(Xt=ql("TypedPropertyDescriptor",1,!0)||Ka)}function oyt(){return hp||(hp=ql("TemplateStringsArray",0,!0)||js)}function _Oe(){return Cd||(Cd=ql("ImportMeta",0,!0)||js)}function pOe(){if(!Po){const r=Oo(0,"ImportMetaExpression"),c=_Oe(),_=Oo(4,"meta",8);_.parent=r,_.links.type=c;const m=Ma([_]);r.members=m,Po=pc(r,m,pt,pt,pt)}return Po}function dOe(r){return wd||(wd=ql("ImportCallOptions",0,r))||js}function mOe(r){return de||(de=B_e("Symbol",r))}function cyt(r){return bt||(bt=fOe("SymbolConstructor",r))}function hOe(){return Yt||(Yt=ql("Symbol",0,!1))||js}function XL(r){return Er||(Er=ql("Promise",1,r))||Ka}function gOe(r){return ln||(ln=ql("PromiseLike",1,r))||Ka}function j_e(r){return ri||(ri=B_e("Promise",r))}function lyt(r){return wi||(wi=ql("PromiseConstructorLike",0,r))||js}function PW(r){return mp||(mp=ql("AsyncIterable",1,r))||Ka}function uyt(r){return Bl||(Bl=ql("AsyncIterator",3,r))||Ka}function fyt(r){return W_||(W_=ql("AsyncIterableIterator",1,r))||Ka}function _yt(r){return mf||(mf=ql("AsyncGenerator",3,r))||Ka}function J_e(r){return ls||(ls=ql("Iterable",1,r))||Ka}function pyt(r){return da||(da=ql("Iterator",3,r))||Ka}function dyt(r){return bo||(bo=ql("IterableIterator",1,r))||Ka}function myt(r){return tc||(tc=ql("Generator",3,r))||Ka}function hyt(r){return Dc||(Dc=ql("IteratorYieldResult",1,r))||Ka}function gyt(r){return o_||(o_=ql("IteratorReturnResult",1,r))||Ka}function yOe(r,c=0){const _=B8(r,788968,void 0);return _&&uOe(_,c)}function yyt(){return gp||(gp=AW("Extract",2,!0)||Tr),gp===Tr?void 0:gp}function vyt(){return em||(em=AW("Omit",2,!0)||Tr),em===Tr?void 0:em}function U_e(r){return Dm||(Dm=AW("Awaited",1,r)||(r?Tr:void 0)),Dm===Tr?void 0:Dm}function byt(){return G||(G=ql("BigInt",0,!1))||js}function Tyt(r){var c;return(c=gn??(gn=ql("ClassDecoratorContext",1,r)))!=null?c:Ka}function Syt(r){var c;return(c=na??(na=ql("ClassMethodDecoratorContext",2,r)))!=null?c:Ka}function xyt(r){var c;return(c=ta??(ta=ql("ClassGetterDecoratorContext",2,r)))!=null?c:Ka}function kyt(r){var c;return(c=Le??(Le=ql("ClassSetterDecoratorContext",2,r)))!=null?c:Ka}function Cyt(r){var c;return(c=Xe??(Xe=ql("ClassAccessorDecoratorContext",2,r)))!=null?c:Ka}function wyt(r){var c;return(c=Jt??(Jt=ql("ClassAccessorDecoratorTarget",2,r)))!=null?c:Ka}function Eyt(r){var c;return(c=Gt??(Gt=ql("ClassAccessorDecoratorResult",2,r)))!=null?c:Ka}function Ayt(r){var c;return(c=Lr??(Lr=ql("ClassFieldDecoratorContext",2,r)))!=null?c:Ka}function Pyt(){return lt||(lt=B_e("NaN",!1))}function Dyt(){return ir||(ir=AW("Record",2,!0)||Tr),ir===Tr?void 0:ir}function j8(r,c){return r!==Ka?T0(r,c):js}function vOe(r){return j8(ayt(),[r])}function bOe(r){return j8(J_e(!0),[r])}function yf(r,c){return j8(c?zo:Zo,[r])}function z_e(r){switch(r.kind){case 187:return 2;case 188:return TOe(r);case 199:return r.questionToken?2:r.dotDotDotToken?TOe(r):1;default:return 1}}function TOe(r){return KL(r.type)?4:8}function Nyt(r){const c=Oyt(r.parent);if(KL(r))return c?zo:Zo;const m=qt(r.elements,z_e),b=Oe(r.elements,x=>x.kind!==199);return V_e(m,c,b?void 0:r.elements)}function SOe(r,c){return!!Ik(r)||xOe(r)&&(r.kind===185?B1(r.elementType):r.kind===186?Oe(r.elements,B1):c||Oe(r.typeArguments,B1))}function xOe(r){const c=r.parent;switch(c.kind){case 193:case 199:case 180:case 189:case 190:case 196:case 191:case 195:case 185:case 186:return xOe(c);case 262:return!0}return!1}function B1(r){switch(r.kind){case 180:return EW(r)||!!(SE(r,788968).flags&524288);case 183:return!0;case 195:return r.operator!==156&&B1(r.type);case 193:case 187:case 199:case 319:case 317:case 318:case 312:return B1(r.type);case 188:return r.type.kind!==185||B1(r.type.elementType);case 189:case 190:return Oe(r.types,B1);case 196:return B1(r.objectType)||B1(r.indexType);case 191:return B1(r.checkType)||B1(r.extendsType)||B1(r.trueType)||B1(r.falseType)}return!1}function Iyt(r){const c=gi(r);if(!c.resolvedType){const _=Nyt(r);if(_===Ka)c.resolvedType=js;else if(!(r.kind===186&&Oe(r.elements,m=>!!(z_e(m)&8)))&&SOe(r))c.resolvedType=r.kind===186&&r.elements.length===0?_:L_e(_,r,void 0);else{const m=r.kind===185?[Bi(r.elementType)]:qt(r.elements,Bi);c.resolvedType=$_e(_,m)}}return c.resolvedType}function Oyt(r){return ow(r)&&r.operator===146}function jm(r,c,_=!1,m){const b=V_e(c||qt(r,x=>1),_,m);return b===Ka?js:r.length?$_e(b,r):b}function V_e(r,c,_){if(r.length===1&&r[0]&4)return c?zo:Zo;const m=qt(r,x=>x&1?"#":x&2?"?":x&4?".":"*").join()+(c?"R":"")+(_&&_.length?","+qt(_,Wo).join(","):"");let b=un.get(m);return b||un.set(m,b=Lyt(r,c,_)),b}function Lyt(r,c,_){const m=r.length,b=An(r,ke=>!!(ke&9));let x;const D=[];let j=0;if(m){x=new Array(m);for(let ke=0;ke<m;ke++){const je=x[ke]=A_(),Re=r[ke];if(j|=Re,!(j&12)){const Ct=Oo(4|(Re&2?16777216:0),""+ke,c?8:0);Ct.links.tupleLabelDeclaration=_==null?void 0:_[ke],Ct.links.type=je,D.push(Ct)}}}const $=D.length,re=Oo(4,"length",c?8:0);if(j&12)re.links.type=wt;else{const ke=[];for(let je=b;je<=m;je++)ke.push(Jm(je));re.links.type=bi(ke)}D.push(re);const ae=vp(12);return ae.typeParameters=x,ae.outerTypeParameters=void 0,ae.localTypeParameters=x,ae.instantiations=new Map,ae.instantiations.set(ud(ae.typeParameters),ae),ae.target=ae,ae.resolvedTypeArguments=ae.typeParameters,ae.thisType=A_(),ae.thisType.isThisType=!0,ae.thisType.constraint=ae,ae.declaredProperties=D,ae.declaredCallSignatures=pt,ae.declaredConstructSignatures=pt,ae.declaredIndexInfos=pt,ae.elementFlags=r,ae.minLength=b,ae.fixedLength=$,ae.hasRestElement=!!(j&12),ae.combinedFlags=j,ae.readonly=c,ae.labeledElementDeclarations=_,ae}function $_e(r,c){return r.objectFlags&8?kOe(r,c):T0(r,c)}function kOe(r,c){var _,m,b;if(!(r.combinedFlags&14))return T0(r,c);if(r.combinedFlags&8){const Re=ar(c,(Ct,Qt)=>!!(r.elementFlags[Qt]&8&&Ct.flags&1179648));if(Re>=0)return YL(qt(c,(Ct,Qt)=>r.elementFlags[Qt]&8?Ct:xe))?Ic(c[Re],Ct=>kOe(r,_Y(c,Re,Ct))):Ne}const x=[],D=[];let j=[],$=-1,re=-1,ae=-1;for(let Re=0;Re<c.length;Re++){const Ct=c[Re],Qt=r.elementFlags[Re];if(Qt&8)if(Ct.flags&58982400||$p(Ct))je(Ct,8,(_=r.labeledElementDeclarations)==null?void 0:_[Re]);else if(po(Ct)){const sn=Go(Ct);if(sn.length+x.length>=1e4)return nt(W,Mg(W)?v.Type_produces_a_tuple_type_that_is_too_large_to_represent:v.Expression_produces_a_tuple_type_that_is_too_large_to_represent),Ne;Q(sn,(Zr,cn)=>{var Ir;return je(Zr,Ct.target.elementFlags[cn],(Ir=Ct.target.labeledElementDeclarations)==null?void 0:Ir[cn])})}else je(db(Ct)&&b0(Ct,wt)||Ne,4,(m=r.labeledElementDeclarations)==null?void 0:m[Re]);else je(Ct,Qt,(b=r.labeledElementDeclarations)==null?void 0:b[Re])}for(let Re=0;Re<$;Re++)D[Re]&2&&(D[Re]=1);re>=0&&re<ae&&(x[re]=bi($s(x.slice(re,ae+1),(Re,Ct)=>D[re+Ct]&8?N_(Re,wt):Re)),x.splice(re+1,ae-re),D.splice(re+1,ae-re),j==null||j.splice(re+1,ae-re));const ke=V_e(D,r.readonly,j);return ke===Ka?js:D.length?T0(ke,x):ke;function je(Re,Ct,Qt){Ct&1&&($=D.length),Ct&4&&re<0&&(re=D.length),Ct&6&&(ae=D.length),x.push(Ct&2?to(Re,!0):Re),D.push(Ct),j&&Qt?j.push(Qt):j=void 0}}function v3(r,c,_=0){const m=r.target,b=cb(r)-_;return c>m.fixedLength?T1t(r)||jm(pt):jm(Go(r).slice(c,b),m.elementFlags.slice(c,b),!1,m.labeledElementDeclarations&&m.labeledElementDeclarations.slice(c,b))}function COe(r){return bi($r(w1e(r.target.fixedLength,c=>qp(""+c)),Sh(r.target.readonly?zo:Zo)))}function Myt(r,c){const _=ar(r.elementFlags,m=>!(m&c));return _>=0?_:r.elementFlags.length}function QL(r,c){return r.elementFlags.length-kr(r.elementFlags,_=>!(_&c))-1}function Fyt(r){return to(Bi(r.type),!0)}function vf(r){return r.id}function D2(r,c){return rv(r,c,vf,Cc)>=0}function q_e(r,c){const _=rv(r,c,vf,Cc);return _<0?(r.splice(~_,0,c),!0):!1}function Ryt(r,c,_){const m=_.flags;if(m&1048576)return wOe(r,c|(Uyt(_)?1048576:0),_.types);if(!(m&131072))if(c|=m&205258751,m&465829888&&(c|=33554432),_===Ht&&(c|=8388608),!K&&m&98304)Ci(_)&65536||(c|=4194304);else{const b=r.length,x=b&&_.id>r[b-1].id?~b:rv(r,_,vf,Cc);x<0&&r.splice(~x,0,_)}return c}function wOe(r,c,_){for(const m of _)c=Ryt(r,c,m);return c}function Byt(r,c){var _;if(r.length<2)return r;const m=ud(r),b=Pr.get(m);if(b)return b;const x=c&&Oe(r,re=>!!(re.flags&524288)&&!$p(re)&&ppe(um(re))),D=r.length;let j=D,$=0;for(;j>0;){j--;const re=r[j];if(x||re.flags&469499904){if(re.flags&262144&&v0(re).flags&1048576){Um(re,bi(qt(r,je=>je===re?At:je)),ad)&&Nb(r,j);continue}const ae=re.flags&61603840?He(Ho(re),je=>_m(En(je))):void 0,ke=ae&&f_(En(ae));for(const je of r)if(re!==je){if($===1e5&&$/(D-j)*D>1e6){(_=Hi)==null||_.instant(Hi.Phase.CheckTypes,"removeSubtypes_DepthLimit",{typeIds:r.map(Ct=>Ct.id)}),nt(W,v.Expression_produces_a_union_type_that_is_too_complex_to_represent);return}if($++,ae&&je.flags&61603840){const Re=Yl(je,ae.escapedName);if(Re&&_m(Re)&&f_(Re)!==ke)continue}if(Um(re,je,ad)&&(!(Ci(dE(re))&1)||!(Ci(dE(je))&1)||M2(re,je))){Nb(r,j);break}}}}return Pr.set(m,r),r}function jyt(r,c,_){let m=r.length;for(;m>0;){m--;const b=r[m],x=b.flags;(x&402653312&&c&4||x&256&&c&8||x&2048&&c&64||x&8192&&c&4096||_&&x&32768&&c&16384||O2(b)&&D2(r,b.regularType))&&Nb(r,m)}}function Jyt(r){const c=hr(r,_=>!!(_.flags&134217728)&&xE(_));if(c.length){let _=r.length;for(;_>0;){_--;const m=r[_];m.flags&128&&Oe(c,b=>jpe(m,b))&&Nb(r,_)}}}function Uyt(r){return!!(r.flags&1048576&&(r.aliasSymbol||r.origin))}function EOe(r,c){for(const _ of c)if(_.flags&1048576){const m=_.origin;_.aliasSymbol||m&&!(m.flags&1048576)?ip(r,_):m&&m.flags&1048576&&EOe(r,m.types)}}function W_e(r,c){const _=Ak(r);return _.types=c,_}function bi(r,c=1,_,m,b){if(r.length===0)return At;if(r.length===1)return r[0];let x=[];const D=wOe(x,0,r);if(c!==0){if(D&3)return D&1?D&8388608?Ht:Fe:D&65536||D2(x,xe)?xe:Y;if(D&32768&&x.length>=2&&x[0]===Ze&&x[1]===it&&Nb(x,1),(D&402664352||D&16384&&D&32768)&&jyt(x,D,!!(c&2)),D&128&&D&134217728&&Jyt(x),c===2&&(x=Byt(x,!!(D&524288)),!x))return Ne;if(x.length===0)return D&65536?D&4194304?qr:qn:D&32768?D&4194304?Ze:ct:At}if(!b&&D&1048576){const $=[];EOe($,r);const re=[];for(const ke of x)Oe($,je=>D2(je.types,ke))||re.push(ke);if(!_&&$.length===1&&re.length===0)return $[0];if(Cf($,(ke,je)=>ke+je.types.length,0)+re.length===x.length){for(const ke of $)q_e(re,ke);b=W_e(1048576,re)}}const j=(D&36323363?0:32768)|(D&2097152?16777216:0);return G_e(x,j,_,m,b)}function zyt(r,c){let _;const m=[];for(const x of r){const D=ld(x);if(!D||D.kind===2||D.kind===3){if(c!==2097152)continue;return}if(_){if(!H_e(_,D))return}else _=D;m.push(D.type)}if(!_)return;const b=Q5e(m,c);return HL(_.kind,_.parameterName,_.parameterIndex,b)}function H_e(r,c){return r.kind===c.kind&&r.parameterIndex===c.parameterIndex}function G_e(r,c,_,m,b){if(r.length===0)return At;if(r.length===1)return r[0];const D=(b?b.flags&1048576?`|${ud(b.types)}`:b.flags&2097152?`&${ud(b.types)}`:`#${b.type.id}|${ud(r)}`:ud(r))+vE(_,m);let j=Gr.get(D);return j||(j=sy(1048576),j.objectFlags=c|kW(r,98304),j.types=r,j.origin=b,j.aliasSymbol=_,j.aliasTypeArguments=m,r.length===2&&r[0].flags&512&&r[1].flags&512&&(j.flags|=16,j.intrinsicName="boolean"),Gr.set(D,j)),j}function Vyt(r){const c=gi(r);if(!c.resolvedType){const _=Ik(r);c.resolvedType=bi(qt(r.types,Bi),1,_,kE(_))}return c.resolvedType}function $yt(r,c,_){const m=_.flags;return m&2097152?AOe(r,c,_.types):(py(_)?c&16777216||(c|=16777216,r.set(_.id.toString(),_)):(m&3?_===Ht&&(c|=8388608):(K||!(m&98304))&&(_===it&&(c|=262144,_=Ze),r.has(_.id.toString())||(_.flags&109472&&c&109472&&(c|=67108864),r.set(_.id.toString(),_))),c|=m&205258751),c)}function AOe(r,c,_){for(const m of _)c=$yt(r,c,f_(m));return c}function qyt(r,c){let _=r.length;for(;_>0;){_--;const m=r[_];(m.flags&4&&c&402653312||m.flags&8&&c&256||m.flags&64&&c&2048||m.flags&4096&&c&8192||m.flags&16384&&c&32768||py(m)&&c&470302716)&&Nb(r,_)}}function Wyt(r,c){for(const _ of r)if(!D2(_.types,c)){const m=c.flags&128?ye:c.flags&256?wt:c.flags&2048?nr:c.flags&8192?te:void 0;if(!m||!D2(_.types,m))return!1}return!0}function Hyt(r){let c=r.length;const _=hr(r,m=>!!(m.flags&128));for(;c>0;){c--;const m=r[c];if(m.flags&134217728){for(const b of _)if(U1(b,m)){Nb(r,c);break}else if(xE(m))return!0}}return!1}function POe(r,c){return ut(r,_=>!!(_.flags&1048576)&&Oe(_.types,m=>!!(m.flags&c)))}function DOe(r,c){for(let _=0;_<r.length;_++)r[_]=Zl(r[_],m=>!(m.flags&c))}function Gyt(r){let c;const _=ar(r,D=>!!(Ci(D)&32768));if(_<0)return!1;let m=_+1;for(;m<r.length;){const D=r[m];Ci(D)&32768?((c||(c=[r[_]])).push(D),Nb(r,m)):m++}if(!c)return!1;const b=[],x=[];for(const D of c)for(const j of D.types)q_e(b,j)&&Wyt(c,j)&&q_e(x,j);return r[_]=G_e(x,32768),!0}function Xyt(r,c,_){const m=sy(2097152);return m.objectFlags=kW(r,98304),m.types=r,m.aliasSymbol=c,m.aliasTypeArguments=_,m}function no(r,c,_,m){const b=new Map,x=AOe(b,0,r),D=ao(b.values());if(x&131072)return xt(D,St)?St:At;if(K&&x&98304&&x&84410368||x&67108864&&x&402783228||x&402653316&&x&67238776||x&296&&x&469891796||x&2112&&x&469889980||x&12288&&x&469879804||x&49152&&x&469842940||x&134217728&&x&128&&Hyt(D))return At;if(x&1)return x&8388608?Ht:Fe;if(!K&&x&98304)return x&16777216?At:x&32768?Ze:qr;if((x&4&&x&402653312||x&8&&x&256||x&64&&x&2048||x&4096&&x&8192||x&16384&&x&32768||x&16777216&&x&470302716)&&(m||qyt(D,x)),x&262144&&(D[D.indexOf(Ze)]=it),D.length===0)return xe;if(D.length===1)return D[0];const j=ud(D)+vE(c,_);let $=mr.get(j);if(!$){if(x&1048576)if(Gyt(D))$=no(D,c,_);else if(POe(D,32768)){const re=Oe(D,G8)?it:Ze;DOe(D,32768),$=bi([no(D),re],1,c,_)}else if(POe(D,65536))DOe(D,65536),$=bi([no(D),qr],1,c,_);else{if(!YL(D))return Ne;const re=Qyt(D),ae=Oe(re,ke=>!!(ke.flags&2097152))&&X_e(re)>X_e(D)?W_e(2097152,D):void 0;$=bi(re,1,c,_,ae)}else $=Xyt(D,c,_);mr.set(j,$)}return $}function NOe(r){return Cf(r,(c,_)=>_.flags&1048576?c*_.types.length:_.flags&131072?0:c,1)}function YL(r){var c;const _=NOe(r);return _>=1e5?((c=Hi)==null||c.instant(Hi.Phase.CheckTypes,"checkCrossProductUnion_DepthLimit",{typeIds:r.map(m=>m.id),size:_}),nt(W,v.Expression_produces_a_union_type_that_is_too_complex_to_represent),!1):!0}function Qyt(r){const c=NOe(r),_=[];for(let m=0;m<c;m++){const b=r.slice();let x=m;for(let j=r.length-1;j>=0;j--)if(r[j].flags&1048576){const $=r[j].types,re=$.length;b[j]=$[x%re],x=Math.floor(x/re)}const D=no(b);D.flags&131072||_.push(D)}return _}function IOe(r){return!(r.flags&3145728)||r.aliasSymbol?1:r.flags&1048576&&r.origin?IOe(r.origin):X_e(r.types)}function X_e(r){return Cf(r,(c,_)=>c+IOe(_),0)}function Yyt(r){const c=gi(r);if(!c.resolvedType){const _=Ik(r),m=qt(r.types,Bi),b=m.length===2&&!!(m[0].flags&76)&&m[1]===Sl;c.resolvedType=no(m,_,kE(_),b)}return c.resolvedType}function OOe(r,c){const _=sy(4194304);return _.type=r,_.stringsOnly=c,_}function Zyt(r){const c=Ak(4194304);return c.type=r,c}function LOe(r,c){return c?r.resolvedStringIndexType||(r.resolvedStringIndexType=OOe(r,!0)):r.resolvedIndexType||(r.resolvedIndexType=OOe(r,!1))}function Kyt(r,c,_){const m=lm(r),b=Rm(r),x=y0(r.target||r);if(!x&&!_)return b;const D=[];if(I8(r)){if(lb(b))return LOe(r,c);{const re=Jf(h3(r));__e(re,8576,c,$)}}else BS(zL(b),$);lb(b)&&BS(b,$);const j=_?Zl(bi(D),re=>!(re.flags&5)):bi(D);if(j.flags&1048576&&b.flags&1048576&&ud(j.types)===ud(b.types))return b;return j;function $(re){const ae=x?Cs(x,z8(r.mapper,m,re)):re;D.push(ae===ye?Yi:ae)}}function e0t(r){const c=lm(r);return _(y0(r)||c);function _(m){return m.flags&202375167?!0:m.flags&16777216?m.root.isDistributive&&m.checkType===c:m.flags&137363456?ut(m.types,_):m.flags&8388608?_(m.objectType)&&_(m.indexType):m.flags&33554432?_(m.baseType)&&_(m.constraint):m.flags&268435456?_(m.type):!1}}function S0(r){return as(r)?At:Ye(r)?qp(Ds(r.escapedText)):f_(ac(r)?E0(r):zs(r))}function b3(r,c,_){if(_||!(td(r)&24)){let m=ys(TW(r)).nameType;if(!m){const b=ra(r.valueDeclaration);m=r.escapedName==="default"?qp("default"):b&&S0(b)||(a5(r)?void 0:qp(yl(r)))}if(m&&m.flags&c)return m}return At}function MOe(r,c){return!!(r.flags&c||r.flags&2097152&&Oe(r.types,_=>MOe(_,c)))}function t0t(r,c,_){const m=_&&(Ci(r)&7||r.aliasSymbol)?Zyt(r):void 0,b=qt(Ho(r),D=>b3(D,c)),x=qt(gf(r),D=>D!==Rf&&MOe(D.keyType,c)?D.keyType===ye&&c&8?Yi:D.keyType:At);return bi(Cr(b,x),1,void 0,void 0,m)}function r0t(r){const c=B0t(r);return fm(c)!==c}function FOe(r){return!!(r.flags&58982400||EE(r)||$p(r)&&!e0t(r)||r.flags&1048576&&Oe(r.types,r0t)||r.flags&2097152&&Qc(r,465829888)&&Oe(r.types,py))}function Sh(r,c=Qe,_){return r=fm(r),FOe(r)?LOe(r,c):r.flags&1048576?no(qt(r.types,m=>Sh(m,c,_))):r.flags&2097152?bi(qt(r.types,m=>Sh(m,c,_))):Ci(r)&32?Kyt(r,c,_):r===Ht?Ht:r.flags&2?At:r.flags&131073?hs:t0t(r,(_?128:402653316)|(c?0:12584),c===Qe&&!_)}function ROe(r){if(Qe)return r;const c=yyt();return c?TE(c,[r,ye]):ye}function n0t(r){const c=ROe(Sh(r));return c.flags&131072?ye:c}function i0t(r){const c=gi(r);if(!c.resolvedType)switch(r.operator){case 141:c.resolvedType=Sh(Bi(r.type));break;case 156:c.resolvedType=r.type.kind===153?npe(e5(r.parent)):Ne;break;case 146:c.resolvedType=Bi(r.type);break;default:throw R.assertNever(r.operator)}return c.resolvedType}function s0t(r){const c=gi(r);return c.resolvedType||(c.resolvedType=DS([r.head.text,...qt(r.templateSpans,_=>_.literal.text)],qt(r.templateSpans,_=>Bi(_.type)))),c.resolvedType}function DS(r,c){const _=ar(c,re=>!!(re.flags&1179648));if(_>=0)return YL(c)?Ic(c[_],re=>DS(r,_Y(c,_,re))):Ne;if(xt(c,Ht))return Ht;const m=[],b=[];let x=r[0];if(!$(r,c))return ye;if(m.length===0)return qp(x);if(b.push(x),ut(b,re=>re==="")){if(ut(m,re=>!!(re.flags&4)))return ye;if(m.length===1&&xE(m[0]))return m[0]}const D=`${ud(m)}|${qt(b,re=>re.length).join(",")}|${b.join("")}`;let j=Rt.get(D);return j||Rt.set(D,j=o0t(b,m)),j;function $(re,ae){const ke=pa(re);for(let je=0;je<ae.length;je++){const Re=ae[je],Ct=ke?re[je+1]:re;if(Re.flags&101248){if(x+=a0t(Re)||"",x+=Ct,!ke)return!0}else if(Re.flags&134217728){if(x+=Re.texts[0],!$(Re.texts,Re.types))return!1;if(x+=Ct,!ke)return!0}else if(lb(Re)||NW(Re))m.push(Re),b.push(x),x=Ct;else if(Re.flags&2097152){if(!$(re[je+1],Re.types))return!1}else if(ke)return!1}return!0}}function a0t(r){return r.flags&128?r.value:r.flags&256?""+r.value:r.flags&2048?AT(r.value):r.flags&98816?r.intrinsicName:void 0}function o0t(r,c){const _=sy(134217728);return _.texts=r,_.types=c,_}function Nk(r,c){return c.flags&1179648?Ic(c,_=>Nk(r,_)):c.flags&128?qp(BOe(r,c.value)):c.flags&134217728?DS(...c0t(r,c.texts,c.types)):c.flags&268435456&&r===c.symbol?c:c.flags&268435461||lb(c)?jOe(r,c):NW(c)?jOe(r,DS(["",""],[c])):c}function BOe(r,c){switch(WO.get(r.escapedName)){case 0:return c.toUpperCase();case 1:return c.toLowerCase();case 2:return c.charAt(0).toUpperCase()+c.slice(1);case 3:return c.charAt(0).toLowerCase()+c.slice(1)}return c}function c0t(r,c,_){switch(WO.get(r.escapedName)){case 0:return[c.map(m=>m.toUpperCase()),_.map(m=>Nk(r,m))];case 1:return[c.map(m=>m.toLowerCase()),_.map(m=>Nk(r,m))];case 2:return[c[0]===""?c:[c[0].charAt(0).toUpperCase()+c[0].slice(1),...c.slice(1)],c[0]===""?[Nk(r,_[0]),..._.slice(1)]:_];case 3:return[c[0]===""?c:[c[0].charAt(0).toLowerCase()+c[0].slice(1),...c.slice(1)],c[0]===""?[Nk(r,_[0]),..._.slice(1)]:_]}return[c,_]}function jOe(r,c){const _=`${Ha(r)},${vf(c)}`;let m=Rr.get(_);return m||Rr.set(_,m=l0t(r,c)),m}function l0t(r,c){const _=hh(268435456,r);return _.type=c,_}function u0t(r,c,_,m,b){const x=sy(8388608);return x.objectType=r,x.indexType=c,x.accessFlags=_,x.aliasSymbol=m,x.aliasTypeArguments=b,x}function J8(r){if(Pe)return!1;if(Ci(r)&4096)return!0;if(r.flags&1048576)return ut(r.types,J8);if(r.flags&2097152)return Oe(r.types,J8);if(r.flags&465829888){const c=h_e(r);return c!==r&&J8(c)}return!1}function DW(r,c){return ly(r)?yh(r):c&&rl(c)?ST(c):void 0}function Q_e(r,c){if(c.flags&8208){const _=kn(r.parent,m=>!$c(m))||r.parent;return NC(_)?Oy(_)&&Ye(r)&&H9e(_,r):ut(c.declarations,m=>!Sa(m)||!!(ym(m)&268435456))}return!0}function JOe(r,c,_,m,b,x){var D;const j=b&&b.kind===209?b:void 0,$=b&&as(b)?void 0:DW(_,b);if($!==void 0){if(x&256)return JS(c,$)||Fe;const ae=Ra(c,$);if(ae){if(x&64&&b&&ae.declarations&&$v(ae)&&Q_e(b,ae)){const je=(D=j==null?void 0:j.argumentExpression)!=null?D:cw(b)?b.indexType:b;t0(je,ae.declarations,$)}if(j){if(CM(ae,j,eMe(j.expression,c.symbol)),JMe(j,ae,Cx(j))){nt(j.argumentExpression,v.Cannot_assign_to_0_because_it_is_a_read_only_property,A(ae));return}if(x&8&&(gi(b).resolvedSymbol=ae),HLe(j,ae))return Pt}const ke=En(ae);return j&&Cx(j)!==1?gb(j,ke):b&&cw(b)&&G8(ke)?bi([ke,Ze]):ke}if(bg(c,po)&&Ug($)){const ke=+$;if(b&&bg(c,je=>!je.target.hasRestElement)&&!(x&16)){const je=Y_e(b);if(po(c)){if(ke<0)return nt(je,v.A_tuple_type_cannot_be_indexed_with_a_negative_value),Ze;nt(je,v.Tuple_type_0_of_length_1_has_no_element_at_index_2,Me(c),cb(c),Ds($))}else nt(je,v.Property_0_does_not_exist_on_type_1,Ds($),Me(c))}if(ke>=0)return re(vg(c,wt)),Ic(c,je=>{const Re=lM(je)||Ze;return x&1?bi([Re,it]):Re})}}if(!(_.flags&98304)&&Su(_,402665900)){if(c.flags&131073)return c;const ae=WL(c,_)||vg(c,ye);if(ae){if(x&2&&ae.keyType!==wt){j&&nt(j,v.Type_0_cannot_be_used_to_index_type_1,Me(_),Me(r));return}if(b&&ae.keyType===ye&&!Su(_,12)){const ke=Y_e(b);return nt(ke,v.Type_0_cannot_be_used_as_an_index_type,Me(_)),x&1?bi([ae.type,it]):ae.type}return re(ae),x&1&&!(c.symbol&&c.symbol.flags&384&&_.symbol&&_.flags&1024&&u_(_.symbol)===c.symbol)?bi([ae.type,it]):ae.type}if(_.flags&131072)return At;if(J8(c))return Fe;if(j&&!zde(c)){if(hb(c)){if(Pe&&_.flags&384)return Do.add(ni(j,v.Property_0_does_not_exist_on_type_1,_.value,Me(c))),Ze;if(_.flags&12){const ke=qt(c.properties,je=>En(je));return bi($r(ke,Ze))}}if(c.symbol===gt&&$!==void 0&&gt.exports.has($)&&gt.exports.get($).flags&418)nt(j,v.Property_0_does_not_exist_on_type_1,Ds($),Me(c));else if(Pe&&!se.suppressImplicitAnyIndexErrors&&!(x&128))if($!==void 0&&YLe($,c)){const ke=Me(c);nt(j,v.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,$,ke,ke+"["+lu(j.argumentExpression)+"]")}else if(b0(c,wt))nt(j.argumentExpression,v.Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number);else{let ke;if($!==void 0&&(ke=Tde($,c)))ke!==void 0&&nt(j.argumentExpression,v.Property_0_does_not_exist_on_type_1_Did_you_mean_2,$,Me(c),ke);else{const je=n2t(c,j,_);if(je!==void 0)nt(j,v.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1,Me(c),je);else{let Re;if(_.flags&1024)Re=sa(void 0,v.Property_0_does_not_exist_on_type_1,"["+Me(_)+"]",Me(c));else if(_.flags&8192){const Ct=ey(_.symbol,j);Re=sa(void 0,v.Property_0_does_not_exist_on_type_1,"["+Ct+"]",Me(c))}else _.flags&128||_.flags&256?Re=sa(void 0,v.Property_0_does_not_exist_on_type_1,_.value,Me(c)):_.flags&12&&(Re=sa(void 0,v.No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1,Me(_),Me(c)));Re=sa(Re,v.Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1,Me(m),Me(c)),Do.add(Ly(bn(j),j,Re))}}}return}}if(J8(c))return Fe;if(b){const ae=Y_e(b);_.flags&384?nt(ae,v.Property_0_does_not_exist_on_type_1,""+_.value,Me(c)):_.flags&12?nt(ae,v.Type_0_has_no_matching_index_signature_for_type_1,Me(c),Me(_)):nt(ae,v.Type_0_cannot_be_used_as_an_index_type,Me(_))}if(rc(_))return _;return;function re(ae){ae&&ae.isReadonly&&j&&(Rg(j)||uee(j))&&nt(j,v.Index_signature_in_type_0_only_permits_reading,Me(c))}}function Y_e(r){return r.kind===209?r.argumentExpression:r.kind===196?r.indexType:r.kind===164?r.expression:r}function NW(r){return!!(r.flags&77)||xE(r)}function xE(r){return!!(r.flags&134217728)&&ut(r.types,NW)||!!(r.flags&268435456)&&NW(r.type)}function T3(r){return!!U8(r)}function N2(r){return!!(U8(r)&4194304)}function lb(r){return!!(U8(r)&8388608)}function U8(r){return r.flags&3145728?(r.objectFlags&2097152||(r.objectFlags|=2097152|Cf(r.types,(c,_)=>c|U8(_),0)),r.objectFlags&12582912):r.flags&33554432?(r.objectFlags&2097152||(r.objectFlags|=2097152|U8(r.baseType)|U8(r.constraint)),r.objectFlags&12582912):(r.flags&58982400||$p(r)||EE(r)?4194304:0)|(r.flags&465829888&&!xE(r)?8388608:0)}function x0(r,c){return r.flags&8388608?_0t(r,c):r.flags&16777216?p0t(r,c):r}function UOe(r,c,_){if(r.flags&1048576||r.flags&2097152&&!FOe(r)){const m=qt(r.types,b=>x0(N_(b,c),_));return r.flags&2097152||_?no(m):bi(m)}}function f0t(r,c,_){if(c.flags&1048576){const m=qt(c.types,b=>x0(N_(r,b),_));return _?no(m):bi(m)}}function _0t(r,c){const _=c?"simplifiedForWriting":"simplifiedForReading";if(r[_])return r[_]===kl?r:r[_];r[_]=kl;const m=x0(r.objectType,c),b=x0(r.indexType,c),x=f0t(m,b,c);if(x)return r[_]=x;if(!(b.flags&465829888)){const D=UOe(m,b,c);if(D)return r[_]=D}if(EE(m)&&b.flags&296){const D=w3(m,b.flags&8?0:m.target.fixedLength,0,c);if(D)return r[_]=D}return $p(m)&&(!y0(m)||U5e(m))?r[_]=Ic(IW(m,r.indexType),D=>x0(D,c)):r[_]=r}function p0t(r,c){const _=r.checkType,m=r.extendsType,b=ub(r),x=fb(r);if(x.flags&131072&&J1(b)===J1(_)){if(_.flags&1||io(NS(_),NS(m)))return x0(b,c);if(zOe(_,m))return At}else if(b.flags&131072&&J1(x)===J1(_)){if(!(_.flags&1)&&io(NS(_),NS(m)))return At;if(_.flags&1||zOe(_,m))return x0(x,c)}return r}function zOe(r,c){return!!(bi([UL(r,c),At]).flags&131072)}function IW(r,c){const _=__([lm(r)],[c]),m=pb(r.mapper,_);return Cs(uy(r.target||r),m)}function N_(r,c,_=0,m,b,x){return j1(r,c,_,m,b,x)||(m?Ne:xe)}function VOe(r,c){return bg(r,_=>{if(_.flags&384){const m=yh(_);if(Ug(m)){const b=+m;return b>=0&&b<c}}return!1})}function j1(r,c,_=0,m,b,x){if(r===Ht||c===Ht)return Ht;if(p9e(r)&&!(c.flags&98304)&&Su(c,12)&&(c=ye),se.noUncheckedIndexedAccess&&_&32&&(_|=1),lb(c)||(m&&m.kind!==196?EE(r)&&!VOe(c,r.target.fixedLength):N2(r)&&!(po(r)&&VOe(c,r.target.fixedLength)))){if(r.flags&3)return r;const j=_&1,$=r.id+","+c.id+","+j+vE(b,x);let re=ii.get($);return re||ii.set($,re=u0t(r,c,j,b,x)),re}const D=g3(r);if(c.flags&1048576&&!(c.flags&16)){const j=[];let $=!1;for(const re of c.types){const ae=JOe(r,D,re,c,m,_|($?128:0));if(ae)j.push(ae);else if(m)$=!0;else return}return $?void 0:_&4?no(j,b,x):bi(j,1,b,x)}return JOe(r,D,c,c,m,_|8|64)}function $Oe(r){const c=gi(r);if(!c.resolvedType){const _=Bi(r.objectType),m=Bi(r.indexType),b=Ik(r);c.resolvedType=N_(_,m,0,r,b,kE(b))}return c.resolvedType}function Z_e(r){const c=gi(r);if(!c.resolvedType){const _=vp(32,r.symbol);_.declaration=r,_.aliasSymbol=Ik(r),_.aliasTypeArguments=kE(_.aliasSymbol),c.resolvedType=_,Rm(_)}return c.resolvedType}function J1(r){return r.flags&33554432?J1(r.baseType):r.flags&8388608&&(r.objectType.flags&33554432||r.indexType.flags&33554432)?N_(J1(r.objectType),J1(r.indexType)):r}function d0t(r){const c=hf(r);return c&&(N2(c)||lb(c))?JW(r):r}function qOe(r){return _4(r)&&H(r.elements)>0&&!Oe(r.elements,c=>ire(c)||sre(c)||rD(c)&&!!(c.questionToken||c.dotDotDotToken))}function WOe(r,c){return T3(r)||c&&po(r)&&Oe(Go(r),T3)}function K_e(r,c,_,m){let b,x,D=0;for(;;){if(D===1e3){nt(W,v.Type_instantiation_is_excessively_deep_and_possibly_infinite),b=Ne;break}const $=qOe(r.node.checkType)&&qOe(r.node.extendsType)&&H(r.node.checkType.elements)===H(r.node.extendsType.elements),re=Cs(J1(r.checkType),c),ae=WOe(re,$),ke=Cs(r.extendsType,c);if(re===Ht||ke===Ht)return Ht;let je;if(r.inferTypeParameters){const Ct=$s(r.inferTypeParameters,d0t),Qt=Ct!==r.inferTypeParameters?__(r.inferTypeParameters,Ct):void 0,sn=X8(Ct,void 0,0);if(Qt){const cn=pb(c,Qt);for(const Ir of Ct)r.inferTypeParameters.indexOf(Ir)===-1&&(Ir.mapper=cn)}ae||dy(sn.inferences,re,Cs(ke,Qt),1536);const Zr=pb(Qt,sn.mapper);je=c?pb(Zr,c):Zr}const Re=je?Cs(r.extendsType,je):ke;if(!ae&&!WOe(Re,$)){if(!(Re.flags&3)&&(re.flags&1||!io(UW(re),UW(Re)))){re.flags&1&&(x||(x=[])).push(Cs(Bi(r.node.trueType),je||c));const Ct=Bi(r.node.falseType);if(Ct.flags&16777216){const Qt=Ct.root;if(Qt.node.parent===r.node&&(!Qt.isDistributive||Qt.checkType===r.checkType)){r=Qt;continue}if(j(Ct,c))continue}b=Cs(Ct,c);break}if(Re.flags&3||io(NS(re),NS(Re))){const Ct=Bi(r.node.trueType),Qt=je||c;if(j(Ct,Qt))continue;b=Cs(Ct,Qt);break}}b=sy(16777216),b.root=r,b.checkType=Cs(r.checkType,c),b.extendsType=Cs(r.extendsType,c),b.mapper=c,b.combinedMapper=je,b.aliasSymbol=_||r.aliasSymbol,b.aliasTypeArguments=_?m:k0(r.aliasTypeArguments,c);break}return x?bi($r(x,b)):b;function j($,re){if($.flags&16777216&&re){const ae=$.root;if(ae.outerTypeParameters){const ke=pb($.mapper,re),je=qt(ae.outerTypeParameters,Qt=>_b(Qt,ke)),Re=__(ae.outerTypeParameters,je),Ct=ae.isDistributive?_b(ae.checkType,Re):void 0;if(!Ct||Ct===ae.checkType||!(Ct.flags&1179648))return r=ae,c=Re,_=void 0,m=void 0,ae.aliasSymbol&&D++,!0}}return!1}}function ub(r){return r.resolvedTrueType||(r.resolvedTrueType=Cs(Bi(r.root.node.trueType),r.mapper))}function fb(r){return r.resolvedFalseType||(r.resolvedFalseType=Cs(Bi(r.root.node.falseType),r.mapper))}function m0t(r){return r.resolvedInferredTrueType||(r.resolvedInferredTrueType=r.combinedMapper?Cs(Bi(r.root.node.trueType),r.combinedMapper):ub(r))}function HOe(r){let c;return r.locals&&r.locals.forEach(_=>{_.flags&262144&&(c=$r(c,Tc(_)))}),c}function h0t(r){return r.isDistributive&&(tM(r.checkType,r.node.trueType)||tM(r.checkType,r.node.falseType))}function g0t(r){const c=gi(r);if(!c.resolvedType){const _=Bi(r.checkType),m=Ik(r),b=kE(m),x=d3(r,!0),D=b?x:hr(x,$=>tM($,r)),j={node:r,checkType:_,extendsType:Bi(r.extendsType),isDistributive:!!(_.flags&262144),inferTypeParameters:HOe(r),outerTypeParameters:D,instantiations:void 0,aliasSymbol:m,aliasTypeArguments:b};c.resolvedType=K_e(j,void 0),D&&(j.instantiations=new Map,j.instantiations.set(ud(D),c.resolvedType))}return c.resolvedType}function y0t(r){const c=gi(r);return c.resolvedType||(c.resolvedType=wS(Zn(r.typeParameter))),c.resolvedType}function GOe(r){return Ye(r)?[r]:$r(GOe(r.left),r.right)}function v0t(r){var c;const _=gi(r);if(!_.resolvedType){if(!Fb(r))return nt(r.argument,v.String_literal_expected),_.resolvedSymbol=Tr,_.resolvedType=Ne;const m=r.isTypeOf?111551:r.flags&8388608?900095:788968,b=Ku(r,r.argument.literal);if(!b)return _.resolvedSymbol=Tr,_.resolvedType=Ne;const x=!!((c=b.exports)!=null&&c.get("export=")),D=l_(b,!1);if(cl(r.qualifier))if(D.flags&m)_.resolvedType=XOe(r,_,D,m);else{const j=m===111551?v.Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:v.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0;nt(r,j,r.argument.literal.text),_.resolvedSymbol=Tr,_.resolvedType=Ne}else{const j=GOe(r.qualifier);let $=D,re;for(;re=j.shift();){const ae=j.length?1920:m,ke=Fo(Il($)),je=r.isTypeOf||Mn(r)&&x?Ra(En(ke),re.escapedText,!1,!0):void 0,Re=r.isTypeOf?void 0:H_(yp(ke),re.escapedText,ae),Ct=Re??je;if(!Ct)return nt(re,v.Namespace_0_has_no_exported_member_1,ey($),uc(re)),_.resolvedType=Ne;gi(re).resolvedSymbol=Ct,gi(re.parent).resolvedSymbol=Ct,$=Ct}_.resolvedType=XOe(r,_,$,m)}}return _.resolvedType}function XOe(r,c,_,m){const b=Il(_);return c.resolvedSymbol=b,m===111551?wMe(En(_),r):wW(r,b)}function QOe(r){const c=gi(r);if(!c.resolvedType){const _=Ik(r);if(M1(r.symbol).size===0&&!_)c.resolvedType=Sl;else{let m=vp(16,r.symbol);m.aliasSymbol=_,m.aliasTypeArguments=kE(_),uD(r)&&r.isArrayType&&(m=yf(m)),c.resolvedType=m}}return c.resolvedType}function Ik(r){let c=r.parent;for(;aw(c)||Jx(c)||ow(c)&&c.operator===146;)c=c.parent;return Q7(c)?Zn(c):void 0}function kE(r){return r?L1(r):void 0}function OW(r){return!!(r.flags&524288)&&!$p(r)}function epe(r){return _y(r)||!!(r.flags&474058748)}function tpe(r,c){if(!(r.flags&1048576))return r;if(ut(r.types,epe))return He(r.types,_y)||js;const _=He(r.types,x=>!epe(x));if(!_||He(r.types,x=>x!==_&&!epe(x)))return r;return b(_);function b(x){const D=Ma();for(const $ of Ho(x))if(!(td($)&24)){if(LW($)){const re=$.flags&65536&&!($.flags&32768),ke=Oo(16777220,$.escapedName,f_e($)|(c?8:0));ke.links.type=re?Ze:to(En($),!0),ke.declarations=$.declarations,ke.links.nameType=ys($).nameType,ke.links.syntheticOrigin=$,D.set($.escapedName,ke)}}const j=pc(x.symbol,D,pt,pt,gf(x));return j.objectFlags|=131200,j}}function I2(r,c,_,m,b){if(r.flags&1||c.flags&1)return Fe;if(r.flags&2||c.flags&2)return xe;if(r.flags&131072)return c;if(c.flags&131072)return r;if(r=tpe(r,b),r.flags&1048576)return YL([r,c])?Ic(r,re=>I2(re,c,_,m,b)):Ne;if(c=tpe(c,b),c.flags&1048576)return YL([r,c])?Ic(c,re=>I2(r,re,_,m,b)):Ne;if(c.flags&473960444)return r;if(N2(r)||N2(c)){if(_y(r))return c;if(r.flags&2097152){const re=r.types,ae=re[re.length-1];if(OW(ae)&&OW(c))return no(Cr(re.slice(0,re.length-1),[I2(ae,c,_,m,b)]))}return no([r,c])}const x=Ma(),D=new Set,j=r===js?gf(c):M5e([r,c]);for(const re of Ho(c))td(re)&24?D.add(re.escapedName):LW(re)&&x.set(re.escapedName,rpe(re,b));for(const re of Ho(r))if(!(D.has(re.escapedName)||!LW(re)))if(x.has(re.escapedName)){const ae=x.get(re.escapedName),ke=En(ae);if(ae.flags&16777216){const je=Cr(re.declarations,ae.declarations),Re=4|re.flags&16777216,Ct=Oo(Re,re.escapedName);Ct.links.type=bi([En(re),Epe(ke)],2),Ct.links.leftSpread=re,Ct.links.rightSpread=ae,Ct.declarations=je,Ct.links.nameType=ys(re).nameType,x.set(re.escapedName,Ct)}}else x.set(re.escapedName,rpe(re,b));const $=pc(_,x,pt,pt,$s(j,re=>b0t(re,b)));return $.objectFlags|=2228352|m,$}function LW(r){var c;return!Oe(r.declarations,Wf)&&(!(r.flags&106496)||!((c=r.declarations)!=null&&c.some(_=>Ri(_.parent))))}function rpe(r,c){const _=r.flags&65536&&!(r.flags&32768);if(!_&&c===dm(r))return r;const m=4|r.flags&16777216,b=Oo(m,r.escapedName,f_e(r)|(c?8:0));return b.links.type=_?Ze:En(r),b.declarations=r.declarations,b.links.nameType=ys(r).nameType,b.links.syntheticOrigin=r,b}function b0t(r,c){return r.isReadonly!==c?Th(r.keyType,r.type,c,r.declaration):r}function ZL(r,c,_,m){const b=hh(r,_);return b.value=c,b.regularType=m||b,b}function CE(r){if(r.flags&2976){if(!r.freshType){const c=ZL(r.flags,r.value,r.symbol,r);c.freshType=c,r.freshType=c}return r.freshType}return r}function f_(r){return r.flags&2976?r.regularType:r.flags&1048576?r.regularType||(r.regularType=Ic(r,f_)):r}function O2(r){return!!(r.flags&2976)&&r.freshType===r}function qp(r){let c;return Fn.get(r)||(Fn.set(r,c=ZL(128,r)),c)}function Jm(r){let c;return ts.get(r)||(ts.set(r,c=ZL(256,r)),c)}function MW(r){let c;const _=AT(r);return ws.get(_)||(ws.set(_,c=ZL(2048,r)),c)}function T0t(r,c,_){let m;const b=`${c}${typeof r=="string"?"@":"#"}${r}`,x=1024|(typeof r=="string"?128:256);return Es.get(b)||(Es.set(b,m=ZL(x,r,_)),m)}function S0t(r){if(r.literal.kind===104)return qr;const c=gi(r);return c.resolvedType||(c.resolvedType=f_(zs(r.literal))),c.resolvedType}function x0t(r){const c=hh(8192,r);return c.escapedName=`__@${c.symbol.escapedName}@${Ha(c.symbol)}`,c}function npe(r){if(f2e(r)){const c=ij(r)?G_(r.left):G_(r);if(c){const _=ys(c);return _.uniqueESSymbolType||(_.uniqueESSymbolType=x0t(c))}}return te}function k0t(r){const c=y_(r,!1,!1),_=c&&c.parent;if(_&&(Ri(_)||_.kind===261)&&!ba(c)&&(!Al(c)||wx(r,c.body)))return Bf(Zn(_)).thisType;if(_&&cc(_)&&$n(_.parent)&&ll(_.parent)===6)return Bf(G_(_.parent.left).parent).thisType;const m=r.flags&8388608?jb(r):void 0;return m&&yc(m)&&$n(m.parent)&&ll(m.parent)===3?Bf(G_(m.parent.left).parent).thisType:Vm(c)&&wx(r,c.body)?Bf(Zn(c)).thisType:(nt(r,v.A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface),Ne)}function FW(r){const c=gi(r);return c.resolvedType||(c.resolvedType=k0t(r)),c.resolvedType}function YOe(r){return Bi(KL(r.type)||r.type)}function KL(r){switch(r.kind){case 193:return KL(r.type);case 186:if(r.elements.length===1&&(r=r.elements[0],r.kind===188||r.kind===199&&r.dotDotDotToken))return KL(r.type);break;case 185:return r.elementType}}function C0t(r){const c=gi(r);return c.resolvedType||(c.resolvedType=r.dotDotDotToken?YOe(r):to(Bi(r.type),!0,!!r.questionToken))}function Bi(r){return iyt(ZOe(r),r)}function ZOe(r){switch(r.kind){case 131:case 315:case 316:return Fe;case 157:return xe;case 152:return ye;case 148:return wt;case 160:return nr;case 134:return Be;case 153:return te;case 114:return $t;case 155:return Ze;case 104:return qr;case 144:return At;case 149:return r.flags&262144&&!Pe?Fe:Di;case 139:return pe;case 194:case 108:return FW(r);case 198:return S0t(r);case 180:return R_e(r);case 179:return r.assertsModifier?$t:Be;case 230:return R_e(r);case 183:return lOe(r);case 185:case 186:return Iyt(r);case 187:return Fyt(r);case 189:return Vyt(r);case 190:return Yyt(r);case 317:return syt(r);case 319:return to(Bi(r.type));case 199:return C0t(r);case 193:case 318:case 312:return Bi(r.type);case 188:return YOe(r);case 321:return bkt(r);case 181:case 182:case 184:case 325:case 320:case 326:return QOe(r);case 195:return i0t(r);case 196:return $Oe(r);case 197:return Z_e(r);case 191:return g0t(r);case 192:return y0t(r);case 200:return s0t(r);case 202:return v0t(r);case 79:case 163:case 208:const c=Od(r);return c?Tc(c):Ne;default:return Ne}}function RW(r,c,_){if(r&&r.length)for(let m=0;m<r.length;m++){const b=r[m],x=_(b,c);if(b!==x){const D=m===0?[]:r.slice(0,m);for(D.push(x),m++;m<r.length;m++)D.push(_(r[m],c));return D}}return r}function k0(r,c){return RW(r,c,Cs)}function BW(r,c){return RW(r,c,wE)}function KOe(r,c){return RW(r,c,j0t)}function __(r,c){return r.length===1?L2(r[0],c?c[0]:Fe):w0t(r,c)}function _b(r,c){switch(c.kind){case 0:return r===c.source?c.target:r;case 1:{const m=c.sources,b=c.targets;for(let x=0;x<m.length;x++)if(r===m[x])return b?b[x]:Fe;return r}case 2:{const m=c.sources,b=c.targets;for(let x=0;x<m.length;x++)if(r===m[x])return b[x]();return r}case 3:return c.func(r);case 4:case 5:const _=_b(r,c.mapper1);return _!==r&&c.kind===4?Cs(_,c.mapper2):_b(_,c.mapper2)}}function L2(r,c){return R.attachDebugPrototypeIfDebug({kind:0,source:r,target:c})}function w0t(r,c){return R.attachDebugPrototypeIfDebug({kind:1,sources:r,targets:c})}function eM(r,c){return R.attachDebugPrototypeIfDebug({kind:3,func:r,debugInfo:R.isDebugging?c:void 0})}function ipe(r,c){return R.attachDebugPrototypeIfDebug({kind:2,sources:r,targets:c})}function jW(r,c,_){return R.attachDebugPrototypeIfDebug({kind:r,mapper1:c,mapper2:_})}function e9e(r){return __(r,void 0)}function E0t(r,c){const _=r.inferences.slice(c);return __(qt(_,m=>m.typeParameter),qt(_,()=>xe))}function pb(r,c){return r?jW(4,r,c):c}function A0t(r,c){return r?jW(5,r,c):c}function Ok(r,c,_){return _?jW(5,L2(r,c),_):L2(r,c)}function z8(r,c,_){return r?jW(5,r,L2(c,_)):L2(c,_)}function P0t(r){return!r.constraint&&!O_e(r)||r.constraint===Ao?r:r.restrictiveInstantiation||(r.restrictiveInstantiation=A_(r.symbol),r.restrictiveInstantiation.constraint=Ao,r.restrictiveInstantiation)}function JW(r){const c=A_(r.symbol);return c.target=r,c}function D0t(r,c){return HL(r.kind,r.parameterName,r.parameterIndex,Cs(r.type,c))}function wE(r,c,_){let m;if(r.typeParameters&&!_){m=qt(r.typeParameters,JW),c=pb(__(r.typeParameters,m),c);for(const x of m)x.mapper=c}const b=yg(r.declaration,m,r.thisParameter&&spe(r.thisParameter,c),RW(r.parameters,c,spe),void 0,void 0,r.minArgumentCount,r.flags&39);return b.target=r,b.mapper=c,b}function spe(r,c){const _=ys(r);if(_.type&&!MS(_.type))return r;ul(r)&1&&(r=_.target,c=pb(_.mapper,c));const m=Oo(r.flags,r.escapedName,1|ul(r)&53256);return m.declarations=r.declarations,m.parent=r.parent,m.links.target=r,m.links.mapper=c,r.valueDeclaration&&(m.valueDeclaration=r.valueDeclaration),_.nameType&&(m.links.nameType=_.nameType),m}function N0t(r,c,_,m){const b=r.objectFlags&4||r.objectFlags&8388608?r.node:r.symbol.declarations[0],x=gi(b),D=r.objectFlags&4?x.resolvedType:r.objectFlags&64?r.target:r;let j=x.outerTypeParameters;if(!j){let $=d3(b,!0);if(Vm(b)){const ae=G5e(b);$=Oi($,ae)}j=$||pt;const re=r.objectFlags&8388612?[b]:r.symbol.declarations;j=(D.objectFlags&8388612||D.symbol.flags&8192||D.symbol.flags&2048)&&!D.aliasTypeArguments?hr(j,ae=>Oe(re,ke=>tM(ae,ke))):j,x.outerTypeParameters=j}if(j.length){const $=pb(r.mapper,c),re=qt(j,Ct=>_b(Ct,$)),ae=_||r.aliasSymbol,ke=_?m:k0(r.aliasTypeArguments,c),je=ud(re)+vE(ae,ke);D.instantiations||(D.instantiations=new Map,D.instantiations.set(ud(j)+vE(D.aliasSymbol,D.aliasTypeArguments),D));let Re=D.instantiations.get(je);if(!Re){const Ct=__(j,re);Re=D.objectFlags&4?L_e(r.target,r.node,Ct,ae,ke):D.objectFlags&32?t9e(D,Ct,ae,ke):cpe(D,Ct,ae,ke),D.instantiations.set(je,Re)}return Re}return r}function I0t(r){return!(r.parent.kind===180&&r.parent.typeArguments&&r===r.parent.typeName||r.parent.kind===202&&r.parent.typeArguments&&r===r.parent.qualifier)}function tM(r,c){if(r.symbol&&r.symbol.declarations&&r.symbol.declarations.length===1){const m=r.symbol.declarations[0].parent;for(let b=c;b!==m;b=b.parent)if(!b||b.kind===238||b.kind===191&&ca(b.extendsType,_))return!0;return _(c)}return!0;function _(m){switch(m.kind){case 194:return!!r.isThisType;case 79:return!r.isThisType&&Mg(m)&&I0t(m)&&ZOe(m)===r;case 183:const b=m.exprName,x=Dp(b),D=Id(x),j=r.symbol.declarations[0];let $;if(j.kind===165)$=j.parent;else if(r.isThisType)$=j;else return!0;return D.declarations?Oe(D.declarations,re=>wx(re,$))||Oe(m.typeArguments,_):!0;case 171:case 170:return!m.type&&!!m.body||Oe(m.typeParameters,_)||Oe(m.parameters,_)||!!m.type&&_(m.type)}return!!ca(m,_)}}function ape(r){const c=Rm(r);if(c.flags&4194304){const _=J1(c.type);if(_.flags&262144)return _}}function t9e(r,c,_,m){const b=ape(r);if(b){const x=Cs(b,c);if(b!==x)return nLe(fm(x),D=>{if(D.flags&61603843&&D!==Ht&&!Lo(D)){if(!r.declaration.nameType){let j;if(Wp(D)||D.flags&1&&hg(b,4)<0&&(j=hf(b))&&bg(j,IS))return L0t(D,r,Ok(b,D,c));if(EE(D))return O0t(D,r,b,c);if(po(D))return M0t(D,r,Ok(b,D,c))}return cpe(r,Ok(b,D,c))}return D},_,m)}return Cs(Rm(r),c)===Ht?Ht:cpe(r,c,_,m)}function ope(r,c){return c&1?!0:c&2?!1:r}function O0t(r,c,_,m){const b=r.target.elementFlags,x=qt(Go(r),(j,$)=>{const re=b[$]&8?j:b[$]&4?yf(j):jm([j],[b[$]]);return t9e(c,Ok(_,re,m))}),D=ope(r.target.readonly,vh(c));return jm(x,qt(x,j=>8),D)}function L0t(r,c,_){const m=r9e(c,wt,!0,_);return Lo(m)?Ne:yf(m,ope(k3(r),vh(c)))}function M0t(r,c,_){const m=r.target.elementFlags,b=qt(Go(r),($,re)=>r9e(c,qp(""+re),!!(m[re]&2),_)),x=vh(c),D=x&4?qt(m,$=>$&1?2:$):x&8?qt(m,$=>$&2?1:$):m,j=ope(r.target.readonly,x);return xt(b,Ne)?Ne:jm(b,D,j,r.target.labeledElementDeclarations)}function r9e(r,c,_,m){const b=z8(m,lm(r),c),x=Cs(uy(r.target||r),b),D=vh(r);return K&&D&4&&!Qc(x,49152)?C0(x,!0):K&&D&8&&_?_d(x,524288):x}function cpe(r,c,_,m){const b=vp(r.objectFlags|64,r.symbol);if(r.objectFlags&32){b.declaration=r.declaration;const x=lm(r),D=JW(x);b.typeParameter=D,c=pb(L2(x,D),c),D.mapper=c}return r.objectFlags&8388608&&(b.node=r.node),b.target=r,b.mapper=c,b.aliasSymbol=_||r.aliasSymbol,b.aliasTypeArguments=_?m:k0(r.aliasTypeArguments,c),b.objectFlags|=b.aliasTypeArguments?kW(b.aliasTypeArguments):0,b}function lpe(r,c,_,m){const b=r.root;if(b.outerTypeParameters){const x=qt(b.outerTypeParameters,$=>_b($,c)),D=ud(x)+vE(_,m);let j=b.instantiations.get(D);if(!j){const $=__(b.outerTypeParameters,x),re=b.checkType,ae=b.isDistributive?_b(re,$):void 0;j=ae&&re!==ae&&ae.flags&1179648?nLe(fm(ae),ke=>K_e(b,Ok(re,ke,$)),_,m):K_e(b,$,_,m),b.instantiations.set(D,j)}return j}return r}function Cs(r,c){return r&&c?n9e(r,c,void 0,void 0):r}function n9e(r,c,_,m){var b;if(!MS(r))return r;if(U===100||L>=5e6)return(b=Hi)==null||b.instant(Hi.Phase.CheckTypes,"instantiateType_DepthLimit",{typeId:r.id,instantiationDepth:U,instantiationCount:L}),nt(W,v.Type_instantiation_is_excessively_deep_and_possibly_infinite),Ne;O++,L++,U++;const x=F0t(r,c,_,m);return U--,x}function F0t(r,c,_,m){const b=r.flags;if(b&262144)return _b(r,c);if(b&524288){const x=r.objectFlags;if(x&52){if(x&4&&!r.node){const D=r.resolvedTypeArguments,j=k0(D,c);return j!==D?$_e(r.target,j):r}return x&1024?R0t(r,c):N0t(r,c,_,m)}return r}if(b&3145728){const x=r.flags&1048576?r.origin:void 0,D=x&&x.flags&3145728?x.types:r.types,j=k0(D,c);if(j===D&&_===r.aliasSymbol)return r;const $=_||r.aliasSymbol,re=_?m:k0(r.aliasTypeArguments,c);return b&2097152||x&&x.flags&2097152?no(j,$,re):bi(j,1,$,re)}if(b&4194304)return Sh(Cs(r.type,c));if(b&134217728)return DS(r.texts,k0(r.types,c));if(b&268435456)return Nk(r.symbol,Cs(r.type,c));if(b&8388608){const x=_||r.aliasSymbol,D=_?m:k0(r.aliasTypeArguments,c);return N_(Cs(r.objectType,c),Cs(r.indexType,c),r.accessFlags,void 0,x,D)}if(b&16777216)return lpe(r,pb(r.mapper,c),_,m);if(b&33554432){const x=Cs(r.baseType,c),D=Cs(r.constraint,c);return x.flags&8650752&&T3(D)?M_e(x,D):D.flags&3||io(NS(x),NS(D))?x:x.flags&8650752?M_e(x,D):no([D,x])}return r}function R0t(r,c){const _=Cs(r.mappedType,c);if(!(Ci(_)&32))return r;const m=Cs(r.constraintType,c);if(!(m.flags&4194304))return r;const b=L9e(Cs(r.source,c),_,m);return b||r}function B0t(r){return r.flags&134479871?r:r.uniqueLiteralFilledInstantiation||(r.uniqueLiteralFilledInstantiation=Cs(r,Bo))}function UW(r){return r.flags&134479871?r:r.permissiveInstantiation||(r.permissiveInstantiation=Cs(r,gs))}function NS(r){return r.flags&134479871?r:(r.restrictiveInstantiation||(r.restrictiveInstantiation=Cs(r,Fs),r.restrictiveInstantiation.restrictiveInstantiation=r.restrictiveInstantiation),r.restrictiveInstantiation)}function j0t(r,c){return Th(r.keyType,Cs(r.type,c),r.isReadonly,r.declaration)}function Nd(r){switch(R.assert(r.kind!==171||Ud(r)),r.kind){case 215:case 216:case 171:case 259:return i9e(r);case 207:return Oe(r.properties,Nd);case 206:return Oe(r.elements,Nd);case 224:return Nd(r.whenTrue)||Nd(r.whenFalse);case 223:return(r.operatorToken.kind===56||r.operatorToken.kind===60)&&(Nd(r.left)||Nd(r.right));case 299:return Nd(r.initializer);case 214:return Nd(r.expression);case 289:return Oe(r.properties,Nd)||Wg(r.parent)&&Oe(r.parent.parent.children,Nd);case 288:{const{initializer:c}=r;return!!c&&Nd(c)}case 291:{const{expression:c}=r;return!!c&&Nd(c)}}return!1}function i9e(r){return Qj(r)||J0t(r)}function J0t(r){return!r.typeParameters&&!bm(r)&&!!r.body&&r.body.kind!==238&&Nd(r.body)}function zW(r){return(n4(r)||Ud(r))&&i9e(r)}function s9e(r){if(r.flags&524288){const c=um(r);if(c.constructSignatures.length||c.callSignatures.length){const _=vp(16,r.symbol);return _.members=c.members,_.properties=c.properties,_.callSignatures=pt,_.constructSignatures=pt,_.indexInfos=pt,_}}else if(r.flags&2097152)return no(qt(r.types,s9e));return r}function fy(r,c){return Um(r,c,w_)}function V8(r,c){return Um(r,c,w_)?-1:0}function upe(r,c){return Um(r,c,k_)?-1:0}function U0t(r,c){return Um(r,c,lg)?-1:0}function U1(r,c){return Um(r,c,lg)}function a9e(r,c){return Um(r,c,ad)}function io(r,c){return Um(r,c,k_)}function M2(r,c){return r.flags&1048576?ut(r.types,_=>M2(_,c)):c.flags&1048576?Oe(c.types,_=>M2(r,_)):r.flags&2097152?Oe(r.types,_=>M2(_,c)):r.flags&58982400?M2(jf(r)||xe,c):py(c)?!!(r.flags&67633152):c===ka?!!(r.flags&67633152)&&!py(r):c===Hc?!!(r.flags&524288)&&qpe(r):CS(r,dE(c))||Wp(c)&&!k3(c)&&M2(r,zo)}function VW(r,c){return Um(r,c,C_)}function rM(r,c){return VW(r,c)||VW(c,r)}function Kf(r,c,_,m,b,x){return fd(r,c,k_,_,m,b,x)}function z1(r,c,_,m,b,x){return fpe(r,c,k_,_,m,b,x,void 0)}function fpe(r,c,_,m,b,x,D,j){return Um(r,c,_)?!0:!m||!$8(b,r,c,_,x,D,j)?fd(r,c,_,m,x,D,j):!1}function o9e(r){return!!(r.flags&16777216||r.flags&2097152&&Oe(r.types,o9e))}function $8(r,c,_,m,b,x,D){if(!r||o9e(_))return!1;if(!fd(c,_,m,void 0)&&z0t(r,c,_,m,b,x,D))return!0;switch(r.kind){case 291:case 214:return $8(r.expression,c,_,m,b,x,D);case 223:switch(r.operatorToken.kind){case 63:case 27:return $8(r.right,c,_,m,b,x,D)}break;case 207:return Q0t(r,c,_,m,x,D);case 206:return G0t(r,c,_,m,x,D);case 289:return H0t(r,c,_,m,x,D);case 216:return V0t(r,c,_,m,x,D)}return!1}function z0t(r,c,_,m,b,x,D){const j=ya(c,0),$=ya(c,1);for(const re of[$,j])if(Oe(re,ae=>{const ke=Xo(ae);return!(ke.flags&131073)&&fd(ke,_,m,void 0)})){const ae=D||{};Kf(c,_,r,b,x,ae);const ke=ae.errors[ae.errors.length-1];return Eo(ke,ni(r,re===$?v.Did_you_mean_to_use_new_with_this_expression:v.Did_you_mean_to_call_this_expression)),!0}return!1}function V0t(r,c,_,m,b,x){if(Fa(r.body)||Oe(r.parameters,UB))return!1;const D=Rk(c);if(!D)return!1;const j=ya(_,0);if(!H(j))return!1;const $=r.body,re=Xo(D),ae=bi(qt(j,Xo));if(!fd(re,ae,m,void 0)){const ke=$&&$8($,re,ae,m,void 0,b,x);if(ke)return ke;const je=x||{};if(fd(re,ae,m,$,void 0,b,je),je.errors)return _.symbol&&H(_.symbol.declarations)&&Eo(je.errors[je.errors.length-1],ni(_.symbol.declarations[0],v.The_expected_type_comes_from_the_return_type_of_this_signature)),!(Au(r)&2)&&!Yl(re,"then")&&fd(NM(re),ae,m,void 0)&&Eo(je.errors[je.errors.length-1],ni(r,v.Did_you_mean_to_mark_this_function_as_async)),!0}return!1}function c9e(r,c,_){const m=j1(c,_);if(m)return m;if(c.flags&1048576){const b=h9e(r,c);if(b)return j1(b,_)}}function l9e(r,c){bM(r,c,!1);const _=R3(r,1);return tN(),_}function nM(r,c,_,m,b,x){let D=!1;for(const j of r){const{errorNode:$,innerExpression:re,nameType:ae,errorMessage:ke}=j;let je=c9e(c,_,ae);if(!je||je.flags&8388608)continue;let Re=j1(c,ae);if(!Re)continue;const Ct=DW(ae,void 0);if(!fd(Re,je,m,void 0)){const Qt=re&&$8(re,Re,je,m,void 0,b,x);if(D=!0,!Qt){const sn=x||{},Zr=re?l9e(re,Re):Re;if(tt&&qW(Zr,je)){const cn=ni($,v.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target,Me(Zr),Me(je));Do.add(cn),sn.errors=[cn]}else{const cn=!!(Ct&&(Ra(_,Ct)||Tr).flags&16777216),Ir=!!(Ct&&(Ra(c,Ct)||Tr).flags&16777216);je=OS(je,cn),Re=OS(Re,cn&&Ir),fd(Zr,je,m,$,ke,b,sn)&&Zr!==Re&&fd(Re,je,m,$,ke,b,sn)}if(sn.errors){const cn=sn.errors[sn.errors.length-1],Ir=ly(ae)?yh(ae):void 0,Wr=Ir!==void 0?Ra(_,Ir):void 0;let Un=!1;if(!Wr){const Ar=WL(_,ae);Ar&&Ar.declaration&&!bn(Ar.declaration).hasNoDefaultLib&&(Un=!0,Eo(cn,ni(Ar.declaration,v.The_expected_type_comes_from_this_index_signature)))}if(!Un&&(Wr&&H(Wr.declarations)||_.symbol&&H(_.symbol.declarations))){const Ar=Wr&&H(Wr.declarations)?Wr.declarations[0]:_.symbol.declarations[0];bn(Ar).hasNoDefaultLib||Eo(cn,ni(Ar,v.The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1,Ir&&!(ae.flags&8192)?Ds(Ir):Me(ae),Me(_)))}}}}}return D}function $0t(r,c,_,m,b,x){const D=Zl(_,YW),j=Zl(_,ae=>!YW(ae)),$=j!==At?sme(13,0,j,void 0):void 0;let re=!1;for(let ae=r.next();!ae.done;ae=r.next()){const{errorNode:ke,innerExpression:je,nameType:Re,errorMessage:Ct}=ae.value;let Qt=$;const sn=D!==At?c9e(c,D,Re):void 0;if(sn&&!(sn.flags&8388608)&&(Qt=$?bi([$,sn]):sn),!Qt)continue;let Zr=j1(c,Re);if(!Zr)continue;const cn=DW(Re,void 0);if(!fd(Zr,Qt,m,void 0)){const Ir=je&&$8(je,Zr,Qt,m,void 0,b,x);if(re=!0,!Ir){const Wr=x||{},Un=je?l9e(je,Zr):Zr;if(tt&&qW(Un,Qt)){const Ar=ni(ke,v.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target,Me(Un),Me(Qt));Do.add(Ar),Wr.errors=[Ar]}else{const Ar=!!(cn&&(Ra(D,cn)||Tr).flags&16777216),Kr=!!(cn&&(Ra(c,cn)||Tr).flags&16777216);Qt=OS(Qt,Ar),Zr=OS(Zr,Ar&&Kr),fd(Un,Qt,m,ke,Ct,b,Wr)&&Un!==Zr&&fd(Zr,Qt,m,ke,Ct,b,Wr)}}}}return re}function*q0t(r){if(H(r.properties))for(const c of r.properties)Bx(c)||lde(ai(c.name))||(yield{errorNode:c.name,innerExpression:c.initializer,nameType:qp(ai(c.name))})}function*W0t(r,c){if(!H(r.children))return;let _=0;for(let m=0;m<r.children.length;m++){const b=r.children[m],x=Jm(m-_),D=u9e(b,x,c);D?yield D:_++}}function u9e(r,c,_){switch(r.kind){case 291:return{errorNode:r,innerExpression:r.expression,nameType:c};case 11:if(r.containsOnlyTriviaWhiteSpaces)break;return{errorNode:r,innerExpression:void 0,nameType:c,errorMessage:_()};case 281:case 282:case 285:return{errorNode:r,innerExpression:r,nameType:c};default:return R.assertNever(r,"Found invalid jsx child")}}function H0t(r,c,_,m,b,x){let D=nM(q0t(r),c,_,m,b,x),j;if(Wg(r.parent)&&s1(r.parent.parent)){const re=r.parent.parent,ae=vH(DE(r)),ke=ae===void 0?"children":Ds(ae),je=qp(ke),Re=N_(_,je),Ct=l5(re.children);if(!H(Ct))return D;const Qt=H(Ct)>1;let sn,Zr;if(J_e(!1)!==Ka){const Ir=bOe(Fe);sn=Zl(Re,Wr=>io(Wr,Ir)),Zr=Zl(Re,Wr=>!io(Wr,Ir))}else sn=Zl(Re,YW),Zr=Zl(Re,Ir=>!YW(Ir));if(Qt){if(sn!==At){const Ir=jm(yH(re,0)),Wr=W0t(re,$);D=$0t(Wr,Ir,sn,m,b,x)||D}else if(!Um(N_(c,je),Re,m)){D=!0;const Ir=nt(re.openingElement.tagName,v.This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided,ke,Me(Re));x&&x.skipLogging&&(x.errors||(x.errors=[])).push(Ir)}}else if(Zr!==At){const Ir=Ct[0],Wr=u9e(Ir,je,$);Wr&&(D=nM(function*(){yield Wr}(),c,_,m,b,x)||D)}else if(!Um(N_(c,je),Re,m)){D=!0;const Ir=nt(re.openingElement.tagName,v.This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided,ke,Me(Re));x&&x.skipLogging&&(x.errors||(x.errors=[])).push(Ir)}}return D;function $(){if(!j){const re=lu(r.parent.tagName),ae=vH(DE(r)),ke=ae===void 0?"children":Ds(ae),je=N_(_,qp(ke)),Re=v._0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2;j={...Re,key:"!!ALREADY FORMATTED!!",message:Gee(void 0,Re,re,ke,Me(je))}}return j}}function*f9e(r,c){const _=H(r.elements);if(_)for(let m=0;m<_;m++){if(C3(c)&&!Ra(c,""+m))continue;const b=r.elements[m];if(yu(b))continue;const x=Jm(m);yield{errorNode:b,innerExpression:b,nameType:x}}}function G0t(r,c,_,m,b,x){if(_.flags&134479868)return!1;if(C3(c))return nM(f9e(r,_),c,_,m,b,x);bM(r,_,!1);const D=PLe(r,1,!0);return tN(),C3(D)?nM(f9e(r,_),D,_,m,b,x):!1}function*X0t(r){if(H(r.properties))for(const c of r.properties){if(hw(c))continue;const _=b3(Zn(c),8576);if(!(!_||_.flags&131072))switch(c.kind){case 175:case 174:case 171:case 300:yield{errorNode:c.name,innerExpression:void 0,nameType:_};break;case 299:yield{errorNode:c.name,innerExpression:c.initializer,nameType:_,errorMessage:D7(c.name)?v.Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:void 0};break;default:R.assertNever(c)}}}function Q0t(r,c,_,m,b,x){return _.flags&134479868?!1:nM(X0t(r),c,_,m,b,x)}function _9e(r,c,_,m,b){return fd(r,c,C_,_,m,b)}function Y0t(r,c,_){return _pe(r,c,_?4:0,!1,void 0,void 0,upe,void 0)!==0}function $W(r){if(!r.typeParameters&&(!r.thisParameter||rc(PM(r.thisParameter)))&&r.parameters.length===1&&ff(r)){const c=PM(r.parameters[0]);return!!((Wp(c)?Go(c)[0]:c).flags&131073&&Xo(r).flags&3)}return!1}function _pe(r,c,_,m,b,x,D,j){if(r===c||!(_&16&&$W(r))&&$W(c))return-1;if(_&16&&$W(r)&&!$W(c))return 0;const $=K_(c);if(!Ch(c)&&(_&8?Ch(r)||K_(r)>$:kh(r)>$))return 0;r.typeParameters&&r.typeParameters!==c.typeParameters&&(c=Zgt(c),r=aMe(r,c,void 0,D));const ae=K_(r),ke=oN(r),je=oN(c);(ke||je)&&Cs(ke||je,j);const Re=c.declaration?c.declaration.kind:0,Ct=!(_&3)&&ge&&Re!==171&&Re!==170&&Re!==173;let Qt=-1;const sn=A2(r);if(sn&&sn!==$t){const Ir=A2(c);if(Ir){const Wr=!Ct&&D(sn,Ir,!1)||D(Ir,sn,m);if(!Wr)return m&&b(v.The_this_types_of_each_signature_are_incompatible),0;Qt&=Wr}}const Zr=ke||je?Math.min(ae,$):Math.max(ae,$),cn=ke||je?Zr-1:-1;for(let Ir=0;Ir<Zr;Ir++){const Wr=Ir===cn?sN(r,Ir):US(r,Ir),Un=Ir===cn?sN(c,Ir):US(c,Ir);if(Wr&&Un){const Ar=_&3?void 0:Rk(w0(Wr)),Kr=_&3?void 0:Rk(w0(Un));let xi=Ar&&Kr&&!ld(Ar)&&!ld(Kr)&&(bf(Wr)&50331648)===(bf(Un)&50331648)?_pe(Kr,Ar,_&8|(Ct?2:1),m,b,x,D,j):!(_&3)&&!Ct&&D(Wr,Un,!1)||D(Un,Wr,m);if(xi&&_&8&&Ir>=kh(r)&&Ir<kh(c)&&D(Wr,Un,!1)&&(xi=0),!xi)return m&&b(v.Types_of_parameters_0_and_1_are_incompatible,Ds(M3(r,Ir)),Ds(M3(c,Ir))),0;Qt&=xi}}if(!(_&4)){const Ir=P_e(c)?Fe:c.declaration&&Vm(c.declaration)?Bf(Fo(c.declaration.symbol)):Xo(c);if(Ir===$t||Ir===Fe)return Qt;const Wr=P_e(r)?Fe:r.declaration&&Vm(r.declaration)?Bf(Fo(r.declaration.symbol)):Xo(r),Un=ld(c);if(Un){const Ar=ld(r);if(Ar)Qt&=Z0t(Ar,Un,m,b,D);else if(p2e(Un))return m&&b(v.Signature_0_must_be_a_type_predicate,he(r)),0}else Qt&=_&1&&D(Ir,Wr,!1)||D(Wr,Ir,m),!Qt&&m&&x&&x(Wr,Ir)}return Qt}function Z0t(r,c,_,m,b){if(r.kind!==c.kind)return _&&(m(v.A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard),m(v.Type_predicate_0_is_not_assignable_to_1,Vu(r),Vu(c))),0;if((r.kind===1||r.kind===3)&&r.parameterIndex!==c.parameterIndex)return _&&(m(v.Parameter_0_is_not_in_the_same_position_as_parameter_1,r.parameterName,c.parameterName),m(v.Type_predicate_0_is_not_assignable_to_1,Vu(r),Vu(c))),0;const x=r.type===c.type?-1:r.type&&c.type?b(r.type,c.type,_):0;return x===0&&_&&m(v.Type_predicate_0_is_not_assignable_to_1,Vu(r),Vu(c)),x}function K0t(r,c){const _=R8(r),m=R8(c),b=Xo(_),x=Xo(m);return x===$t||Um(x,b,k_)||Um(b,x,k_)?Y0t(_,m,!0):!1}function ppe(r){return r!==ea&&r.properties.length===0&&r.callSignatures.length===0&&r.constructSignatures.length===0&&r.indexInfos.length===0}function _y(r){return r.flags&524288?!$p(r)&&ppe(um(r)):r.flags&67108864?!0:r.flags&1048576?Oe(r.types,_y):r.flags&2097152?ut(r.types,_y):!1}function py(r){return!!(Ci(r)&16&&(r.members&&ppe(r)||r.symbol&&r.symbol.flags&2048&&M1(r.symbol).size===0))}function e1t(r){if(K&&r.flags&1048576){if(!(r.objectFlags&33554432)){const c=r.types;r.objectFlags|=33554432|(c.length>=3&&c[0].flags&32768&&c[1].flags&65536&&Oe(c,py)?67108864:0)}return!!(r.objectFlags&67108864)}return!1}function S3(r){return!!((r.flags&1048576?r.types[0]:r).flags&32768)}function p9e(r){return r.flags&524288&&!$p(r)&&Ho(r).length===0&&gf(r).length===1&&!!vg(r,ye)||r.flags&3145728&&ut(r.types,p9e)||!1}function dpe(r,c,_){const m=r.flags&8?u_(r):r,b=c.flags&8?u_(c):c;if(m===b)return!0;if(m.escapedName!==b.escapedName||!(m.flags&256)||!(b.flags&256))return!1;const x=Ha(m)+","+Ha(b),D=o2.get(x);if(D!==void 0&&!(!(D&4)&&D&2&&_))return!!(D&1);const j=En(b);for(const $ of Ho(En(m)))if($.flags&8){const re=Ra(j,$.escapedName);if(!re||!(re.flags&8))return _?(_(v.Property_0_is_missing_in_type_1,yl($),Me(Tc(b),void 0,64)),o2.set(x,6)):o2.set(x,2),!1}return o2.set(x,1),!0}function q8(r,c,_,m){const b=r.flags,x=c.flags;return x&1||b&131072||r===Ht||x&2&&!(_===ad&&b&1)?!0:x&131072?!1:!!(b&402653316&&x&4||b&128&&b&1024&&x&128&&!(x&1024)&&r.value===c.value||b&296&&x&8||b&256&&b&1024&&x&256&&!(x&1024)&&r.value===c.value||b&2112&&x&64||b&528&&x&16||b&12288&&x&4096||b&32&&x&32&&r.symbol.escapedName===c.symbol.escapedName&&dpe(r.symbol,c.symbol,m)||b&1024&&x&1024&&(b&1048576&&x&1048576&&dpe(r.symbol,c.symbol,m)||b&2944&&x&2944&&r.value===c.value&&dpe(r.symbol,c.symbol,m))||b&32768&&(!K&&!(x&3145728)||x&49152)||b&65536&&(!K&&!(x&3145728)||x&65536)||b&524288&&x&67108864&&!(_===ad&&py(r)&&!(Ci(r)&8192))||(_===k_||_===C_)&&(b&1||b&8&&(x&32||x&256&&x&1024)||b&256&&!(b&1024)&&(x&32||x&256&&x&1024&&r.value===c.value)||e1t(c)))}function Um(r,c,_){if(O2(r)&&(r=r.regularType),O2(c)&&(c=c.regularType),r===c)return!0;if(_!==w_){if(_===C_&&!(c.flags&131072)&&q8(c,r,_)||q8(r,c,_))return!0}else if(!((r.flags|c.flags)&61865984)){if(r.flags!==c.flags)return!1;if(r.flags&67358815)return!0}if(r.flags&524288&&c.flags&524288){const m=_.get(vpe(r,c,0,_,!1));if(m!==void 0)return!!(m&1)}return r.flags&469499904||c.flags&469499904?fd(r,c,_,void 0):!1}function d9e(r,c){return Ci(r)&2048&&lde(c.escapedName)}function iM(r,c){for(;;){const _=O2(r)?r.regularType:Ci(r)&4?r.node?T0(r.target,Go(r)):Spe(r)||r:r.flags&3145728?t1t(r,c):r.flags&33554432?c?r.baseType:F_e(r):r.flags&25165824?x0(r,c):r;if(_===r)return _;r=_}}function t1t(r,c){const _=fm(r);if(_!==r)return _;if(r.flags&2097152&&Oe(r.types,py)){const m=$s(r.types,b=>iM(b,c));if(m!==r.types)return no(m)}return r}function fd(r,c,_,m,b,x,D){var j;let $,re,ae,ke,je,Re=0,Ct=0,Qt=0,sn=0,Zr=!1,cn=0,Ir,Wr;R.assert(_!==w_||!m,"no error reporting in identity checking");const Un=Ls(r,c,3,!!m,b);if(Wr&&xi(),Zr){(j=Hi)==null||j.instant(Hi.Phase.CheckTypes,"checkTypeRelatedTo_DepthLimit",{sourceId:r.id,targetId:c.id,depth:Ct,targetDepth:Qt});const _t=nt(m||W,v.Excessive_stack_depth_comparing_types_0_and_1,Me(r),Me(c));D&&(D.errors||(D.errors=[])).push(_t)}else if($){if(x){const vr=x();vr&&(ATe(vr,$),$=vr)}let _t;if(b&&m&&!Un&&r.symbol){const vr=ys(r.symbol);if(vr.originatingImport&&!up(vr.originatingImport)&&fd(En(vr.target),c,_,void 0)){const Bn=ni(vr.originatingImport,v.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=$r(_t,Bn)}}const Mt=Ly(bn(m),m,$,_t);re&&Eo(Mt,...re),D&&(D.errors||(D.errors=[])).push(Mt),(!D||!D.skipLogging)&&Do.add(Mt)}return m&&D&&D.skipLogging&&Un===0&&R.assert(!!D.errors,"missed opportunity to interact with error."),Un!==0;function Ar(_t){$=_t.errorInfo,Ir=_t.lastSkippedInfo,Wr=_t.incompatibleStack,cn=_t.overrideNextErrorInfo,re=_t.relatedInfo}function Kr(){return{errorInfo:$,lastSkippedInfo:Ir,incompatibleStack:Wr==null?void 0:Wr.slice(),overrideNextErrorInfo:cn,relatedInfo:re==null?void 0:re.slice()}}function dn(_t,Mt,vr,_n,Bn){cn++,Ir=void 0,(Wr||(Wr=[])).push([_t,Mt,vr,_n,Bn])}function xi(){const _t=Wr||[];Wr=void 0;const Mt=Ir;if(Ir=void 0,_t.length===1){Ei(..._t[0]),Mt&&wa(void 0,...Mt);return}let vr="";const _n=[];for(;_t.length;){const[Bn,...Hr]=_t.pop();switch(Bn.code){case v.Types_of_property_0_are_incompatible.code:{vr.indexOf("new ")===0&&(vr=`(${vr})`);const Hn=""+Hr[0];vr.length===0?vr=`${Hn}`:Bd(Hn,Io(se))?vr=`${vr}.${Hn}`:Hn[0]==="["&&Hn[Hn.length-1]==="]"?vr=`${vr}${Hn}`:vr=`${vr}[${Hn}]`;break}case v.Call_signature_return_types_0_and_1_are_incompatible.code:case v.Construct_signature_return_types_0_and_1_are_incompatible.code:case v.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:case v.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code:{if(vr.length===0){let Hn=Bn;Bn.code===v.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?Hn=v.Call_signature_return_types_0_and_1_are_incompatible:Bn.code===v.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code&&(Hn=v.Construct_signature_return_types_0_and_1_are_incompatible),_n.unshift([Hn,Hr[0],Hr[1]])}else{const Hn=Bn.code===v.Construct_signature_return_types_0_and_1_are_incompatible.code||Bn.code===v.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"new ":"",ui=Bn.code===v.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code||Bn.code===v.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1.code?"":"...";vr=`${Hn}${vr}(${ui})`}break}case v.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target.code:{_n.unshift([v.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,Hr[0],Hr[1]]);break}case v.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target.code:{_n.unshift([v.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,Hr[0],Hr[1],Hr[2]]);break}default:return R.fail(`Unhandled Diagnostic: ${Bn.code}`)}}vr?Ei(vr[vr.length-1]===")"?v.The_types_returned_by_0_are_incompatible_between_these_types:v.The_types_of_0_are_incompatible_between_these_types,vr):_n.shift();for(const[Bn,...Hr]of _n){const Hn=Bn.elidedInCompatabilityPyramid;Bn.elidedInCompatabilityPyramid=!1,Ei(Bn,...Hr),Bn.elidedInCompatabilityPyramid=Hn}Mt&&wa(void 0,...Mt)}function Ei(_t,Mt,vr,_n,Bn){R.assert(!!m),Wr&&xi(),!_t.elidedInCompatabilityPyramid&&($=sa($,_t,Mt,vr,_n,Bn))}function Js(_t){R.assert(!!$),re?re.push(_t):re=[_t]}function wa(_t,Mt,vr){Wr&&xi();const[_n,Bn]=Sr(Mt,vr);let Hr=Mt,Hn=_n;if(W8(Mt)&&!mpe(vr)&&(Hr=V1(Mt),R.assert(!io(Hr,vr),"generalized source shouldn't be assignable"),Hn=Qn(Hr)),(vr.flags&8388608&&!(Mt.flags&8388608)?vr.objectType.flags:vr.flags)&262144&&vr!==fc&&vr!==Kc){const ds=jf(vr);let Zs;ds&&(io(Hr,ds)||(Zs=io(Mt,ds)))?Ei(v._0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2,Zs?_n:Hn,Bn,Me(ds)):($=void 0,Ei(v._0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1,Bn,Hn))}if(_t)_t===v.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1&&tt&&m9e(Mt,vr).length&&(_t=v.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties);else if(_===C_)_t=v.Type_0_is_not_comparable_to_type_1;else if(_n===Bn)_t=v.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated;else if(tt&&m9e(Mt,vr).length)_t=v.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties;else{if(Mt.flags&128&&vr.flags&1048576){const ds=i2t(Mt,vr);if(ds){Ei(v.Type_0_is_not_assignable_to_type_1_Did_you_mean_2,Hn,Bn,Me(ds));return}}_t=v.Type_0_is_not_assignable_to_type_1}Ei(_t,Hn,Bn)}function su(_t,Mt){const vr=Qi(_t.symbol)?Me(_t,_t.symbol.valueDeclaration):Me(_t),_n=Qi(Mt.symbol)?Me(Mt,Mt.symbol.valueDeclaration):Me(Mt);(Gc===_t&&ye===Mt||q_===_t&&wt===Mt||wl===_t&&Be===Mt||hOe()===_t&&te===Mt)&&Ei(v._0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible,_n,vr)}function Hp(_t,Mt,vr){return po(_t)?_t.target.readonly&&XW(Mt)?(vr&&Ei(v.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,Me(_t),Me(Mt)),!1):IS(Mt):k3(_t)&&XW(Mt)?(vr&&Ei(v.The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1,Me(_t),Me(Mt)),!1):po(Mt)?Wp(_t):!0}function xp(_t,Mt,vr){return Ls(_t,Mt,3,vr)}function Ls(_t,Mt,vr=3,_n=!1,Bn,Hr=0){if(_t.flags&524288&&Mt.flags&134348796)return _===C_&&!(Mt.flags&131072)&&q8(Mt,_t,_)||q8(_t,Mt,_,_n?Ei:void 0)?-1:(_n&&on(_t,Mt,_t,Mt,Bn),0);const Hn=iM(_t,!1);let ui=iM(Mt,!0);if(Hn===ui)return-1;if(_===w_)return Hn.flags!==ui.flags?0:Hn.flags&67358815?-1:(Dn(Hn,ui),vn(Hn,ui,!1,0,vr));if(Hn.flags&262144&&ES(Hn)===ui)return-1;if(Hn.flags&470302716&&ui.flags&1048576){const ds=ui.types,Zs=ds.length===2&&ds[0].flags&98304?ds[1]:ds.length===3&&ds[0].flags&98304&&ds[1].flags&98304?ds[2]:void 0;if(Zs&&!(Zs.flags&98304)&&(ui=iM(Zs,!0),Hn===ui))return-1}if(_===C_&&!(ui.flags&131072)&&q8(ui,Hn,_)||q8(Hn,ui,_,_n?Ei:void 0))return-1;if(Hn.flags&469499904||ui.flags&469499904){if(!(Hr&2)&&hb(Hn)&&Ci(Hn)&8192&&fa(Hn,ui,_n))return _n&&wa(Bn,Hn,Mt.aliasSymbol?Mt:ui),0;const Zs=(_!==C_||_m(Hn))&&!(Hr&2)&&Hn.flags&136970236&&Hn!==ka&&ui.flags&2621440&&g9e(ui)&&(Ho(Hn).length>0||YH(Hn)),va=!!(Ci(Hn)&2048);if(Zs&&!n1t(Hn,ui,va)){if(_n){const Aa=Me(_t.aliasSymbol?_t:Hn),mo=Me(Mt.aliasSymbol?Mt:ui),so=ya(Hn,0),lc=ya(Hn,1);so.length>0&&Ls(Xo(so[0]),ui,1,!1)||lc.length>0&&Ls(Xo(lc[0]),ui,1,!1)?Ei(v.Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it,Aa,mo):Ei(v.Type_0_has_no_properties_in_common_with_type_1,Aa,mo)}return 0}Dn(Hn,ui);const Ui=Hn.flags&1048576&&Hn.types.length<4&&!(ui.flags&1048576)||ui.flags&1048576&&ui.types.length<4&&!(Hn.flags&469499904)?No(Hn,ui,_n,Hr):vn(Hn,ui,_n,Hr,vr);if(Ui)return Ui}return _n&&on(_t,Mt,Hn,ui,Bn),0}function on(_t,Mt,vr,_n,Bn){var Hr,Hn;const ui=!!Spe(_t),ds=!!Spe(Mt);vr=_t.aliasSymbol||ui?_t:vr,_n=Mt.aliasSymbol||ds?Mt:_n;let Zs=cn>0;if(Zs&&cn--,vr.flags&524288&&_n.flags&524288){const va=$;Hp(vr,_n,!0),$!==va&&(Zs=!!$)}if(vr.flags&524288&&_n.flags&134348796)su(vr,_n);else if(vr.symbol&&vr.flags&524288&&ka===vr)Ei(v.The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead);else if(Ci(vr)&2048&&_n.flags&2097152){const va=_n.types,Ea=j2(Ip.IntrinsicAttributes,m),Ui=j2(Ip.IntrinsicClassAttributes,m);if(!Lo(Ea)&&!Lo(Ui)&&(xt(va,Ea)||xt(va,Ui)))return}else $=T_e($,Mt);if(!Bn&&Zs){Ir=[vr,_n];return}if(wa(Bn,vr,_n),vr.flags&262144&&((Hn=(Hr=vr.symbol)==null?void 0:Hr.declarations)!=null&&Hn[0])&&!ES(vr)){const va=JW(vr);if(va.constraint=Cs(_n,L2(vr,va)),O8(va)){const Ea=Me(_n,vr.symbol.declarations[0]);Js(ni(vr.symbol.declarations[0],v.This_type_parameter_might_need_an_extends_0_constraint,Ea))}}}function Dn(_t,Mt){if(Hi&&_t.flags&3145728&&Mt.flags&3145728){const vr=_t,_n=Mt;if(vr.objectFlags&_n.objectFlags&32768)return;const Bn=vr.types.length,Hr=_n.types.length;Bn*Hr>1e6&&Hi.instant(Hi.Phase.CheckTypes,"traceUnionsOrIntersectionsTooLarge_DepthLimit",{sourceId:_t.id,sourceSize:Bn,targetId:Mt.id,targetSize:Hr,pos:m==null?void 0:m.pos,end:m==null?void 0:m.end})}}function As(_t,Mt){return bi(Cf(_t,(_n,Bn)=>{var Hr;Bn=Jf(Bn);const Hn=Bn.flags&3145728?b_e(Bn,Mt):w2(Bn,Mt),ui=Hn&&En(Hn)||((Hr=gE(Bn,Mt))==null?void 0:Hr.type)||Ze;return $r(_n,ui)},void 0)||pt)}function fa(_t,Mt,vr){var _n;if(!xM(Mt)||!Pe&&Ci(Mt)&4096)return!1;const Bn=!!(Ci(_t)&2048);if((_===k_||_===C_)&&(K8(ka,Mt)||!Bn&&_y(Mt)))return!1;let Hr=Mt,Hn;Mt.flags&1048576&&(Hr=ERe(_t,Mt,Ls)||swt(Mt),Hn=Hr.flags&1048576?Hr.types:[Hr]);for(const ui of Ho(_t))if(Ns(ui,_t.symbol)&&!d9e(_t,ui)){if(!pde(Hr,ui.escapedName,Bn)){if(vr){const ds=Zl(Hr,xM);if(!m)return R.fail();if(OT(m)||Hf(m)||Hf(m.parent)){ui.valueDeclaration&&oh(ui.valueDeclaration)&&bn(m)===bn(ui.valueDeclaration.name)&&(m=ui.valueDeclaration.name);const Zs=A(ui),va=KLe(Zs,ds),Ea=va?A(va):void 0;Ea?Ei(v.Property_0_does_not_exist_on_type_1_Did_you_mean_2,Zs,Me(ds),Ea):Ei(v.Property_0_does_not_exist_on_type_1,Zs,Me(ds))}else{const Zs=((_n=_t.symbol)==null?void 0:_n.declarations)&&Ru(_t.symbol.declarations);let va;if(ui.valueDeclaration&&kn(ui.valueDeclaration,Ea=>Ea===Zs)&&bn(Zs)===bn(m)){const Ea=ui.valueDeclaration;R.assertNode(Ea,X0),m=Ea;const Ui=Ea.name;Ye(Ui)&&(va=Tde(Ui,ds))}va!==void 0?Ei(v.Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2,A(ui),Me(ds),va):Ei(v.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,A(ui),Me(ds))}}return!0}if(Hn&&!Ls(En(ui),As(Hn,ui.escapedName),3,vr))return vr&&dn(v.Types_of_property_0_are_incompatible,A(ui)),!0}return!1}function Ns(_t,Mt){return _t.valueDeclaration&&Mt.valueDeclaration&&_t.valueDeclaration.parent===Mt.valueDeclaration}function No(_t,Mt,vr,_n){if(_t.flags&1048576)return _===C_?Uf(_t,Mt,vr&&!(_t.flags&134348796),_n):Ae(_t,Mt,vr&&!(_t.flags&134348796),_n);if(Mt.flags&1048576)return el(uM(_t),Mt,vr&&!(_t.flags&134348796)&&!(Mt.flags&134348796));if(Mt.flags&2097152)return Ya(_t,Mt,vr,2);if(_===C_&&Mt.flags&134348796){const Bn=$s(_t.types,Hr=>Hr.flags&465829888?jf(Hr)||xe:Hr);if(Bn!==_t.types){if(_t=no(Bn),_t.flags&131072)return 0;if(!(_t.flags&2097152))return Ls(_t,Mt,1,!1)||Ls(Mt,_t,1,!1)}}return Uf(_t,Mt,!1,1)}function dc(_t,Mt){let vr=-1;const _n=_t.types;for(const Bn of _n){const Hr=el(Bn,Mt,!1);if(!Hr)return 0;vr&=Hr}return vr}function el(_t,Mt,vr){const _n=Mt.types;if(Mt.flags&1048576){if(D2(_n,_t))return-1;const Bn=q9e(Mt,_t);if(Bn){const Hr=Ls(_t,Bn,2,!1);if(Hr)return Hr}}for(const Bn of _n){const Hr=Ls(_t,Bn,2,!1);if(Hr)return Hr}if(vr){const Bn=h9e(_t,Mt,Ls);Bn&&Ls(_t,Bn,2,!0)}return 0}function Ya(_t,Mt,vr,_n){let Bn=-1;const Hr=Mt.types;for(const Hn of Hr){const ui=Ls(_t,Hn,2,vr,void 0,_n);if(!ui)return 0;Bn&=ui}return Bn}function Uf(_t,Mt,vr,_n){const Bn=_t.types;if(_t.flags&1048576&&D2(Bn,Mt))return-1;const Hr=Bn.length;for(let Hn=0;Hn<Hr;Hn++){const ui=Ls(Bn[Hn],Mt,1,vr&&Hn===Hr-1,void 0,_n);if(ui)return ui}return 0}function Tt(_t,Mt){return _t.flags&1048576&&Mt.flags&1048576&&!(_t.types[0].flags&32768)&&Mt.types[0].flags&32768?A3(Mt,-32769):Mt}function Ae(_t,Mt,vr,_n){let Bn=-1;const Hr=_t.types,Hn=Tt(_t,Mt);for(let ui=0;ui<Hr.length;ui++){const ds=Hr[ui];if(Hn.flags&1048576&&Hr.length>=Hn.types.length&&Hr.length%Hn.types.length===0){const va=Ls(ds,Hn.types[ui%Hn.types.length],3,!1,void 0,_n);if(va){Bn&=va;continue}}const Zs=Ls(ds,Mt,1,vr,void 0,_n);if(!Zs)return 0;Bn&=Zs}return Bn}function Sn(_t=pt,Mt=pt,vr=pt,_n,Bn){if(_t.length!==Mt.length&&_===w_)return 0;const Hr=_t.length<=Mt.length?_t.length:Mt.length;let Hn=-1;for(let ui=0;ui<Hr;ui++){const ds=ui<vr.length?vr[ui]:1,Zs=ds&7;if(Zs!==4){const va=_t[ui],Ea=Mt[ui];let Ui=-1;if(ds&8?Ui=_===w_?Ls(va,Ea,3,!1):V8(va,Ea):Zs===1?Ui=Ls(va,Ea,3,_n,void 0,Bn):Zs===2?Ui=Ls(Ea,va,3,_n,void 0,Bn):Zs===3?(Ui=Ls(Ea,va,3,!1),Ui||(Ui=Ls(va,Ea,3,_n,void 0,Bn))):(Ui=Ls(va,Ea,3,_n,void 0,Bn),Ui&&(Ui&=Ls(Ea,va,3,_n,void 0,Bn))),!Ui)return 0;Hn&=Ui}}return Hn}function vn(_t,Mt,vr,_n,Bn){var Hr,Hn,ui;if(Zr)return 0;const ds=vpe(_t,Mt,_n,_,!1),Zs=_.get(ds);if(Zs!==void 0&&!(vr&&Zs&2&&!(Zs&4))){if(Ji){const so=Zs&24;so&8&&Cs(_t,Qr),so&16&&Cs(_t,Rs)}return Zs&1?-1:0}if(!ae)ae=[],ke=[],je=[];else{const so=ds.startsWith("*")?vpe(_t,Mt,_n,_,!0):void 0;for(let lc=0;lc<Re;lc++)if(ds===ae[lc]||so&&so===ae[lc])return 3;if(Ct===100||Qt===100)return Zr=!0,0}const va=Re;ae[Re]=ds,Re++;const Ea=sn;Bn&1&&(ke[Ct]=_t,Ct++,!(sn&1)&&oM(_t,ke,Ct)&&(sn|=1)),Bn&2&&(je[Qt]=Mt,Qt++,!(sn&2)&&oM(Mt,je,Qt)&&(sn|=2));let Ui,Aa=0;Ji&&(Ui=Ji,Ji=so=>(Aa|=so?16:8,Ui(so)));let mo;if(sn===3?((Hr=Hi)==null||Hr.instant(Hi.Phase.CheckTypes,"recursiveTypeRelatedTo_DepthLimit",{sourceId:_t.id,sourceIdStack:ke.map(so=>so.id),targetId:Mt.id,targetIdStack:je.map(so=>so.id),depth:Ct,targetDepth:Qt}),mo=3):((Hn=Hi)==null||Hn.push(Hi.Phase.CheckTypes,"structuredTypeRelatedTo",{sourceId:_t.id,targetId:Mt.id}),mo=Wn(_t,Mt,vr,_n),(ui=Hi)==null||ui.pop()),Ji&&(Ji=Ui),Bn&1&&Ct--,Bn&2&&Qt--,sn=Ea,mo){if(mo===-1||Ct===0&&Qt===0){if(mo===-1||mo===3)for(let so=va;so<Re;so++)_.set(ae[so],1|Aa);Re=va}}else _.set(ds,(vr?4:0)|2|Aa),Re=va;return mo}function Wn(_t,Mt,vr,_n){const Bn=Kr();let Hr=Kn(_t,Mt,vr,_n,Bn);if(_!==w_){if(!Hr&&(_t.flags&2097152||_t.flags&262144&&Mt.flags&1048576)){const Hn=Fgt(_t.flags&2097152?_t.types:[_t],!!(Mt.flags&1048576));Hn&&bg(Hn,ui=>ui!==_t)&&(Hr=Ls(Hn,Mt,1,!1,void 0,_n))}Hr&&!(_n&2)&&Mt.flags&2097152&&!N2(Mt)&&_t.flags&2621440?(Hr&=pr(_t,Mt,vr,void 0,!1,0),Hr&&hb(_t)&&Ci(_t)&8192&&(Hr&=Jo(_t,Mt,!1,vr,0))):Hr&&OW(Mt)&&!IS(Mt)&&_t.flags&2097152&&Jf(_t).flags&3670016&&!Oe(_t.types,Hn=>Hn===Mt||!!(Ci(Hn)&262144))&&(Hr&=pr(_t,Mt,vr,void 0,!0,_n))}return Hr&&Ar(Bn),Hr}function Kn(_t,Mt,vr,_n,Bn){let Hr,Hn,ui=!1,ds=_t.flags;const Zs=Mt.flags;if(_===w_){if(ds&3145728){let Ui=dc(_t,Mt);return Ui&&(Ui&=dc(Mt,_t)),Ui}if(ds&4194304)return Ls(_t.type,Mt.type,3,!1);if(ds&8388608&&(Hr=Ls(_t.objectType,Mt.objectType,3,!1))&&(Hr&=Ls(_t.indexType,Mt.indexType,3,!1))||ds&16777216&&_t.root.isDistributive===Mt.root.isDistributive&&(Hr=Ls(_t.checkType,Mt.checkType,3,!1))&&(Hr&=Ls(_t.extendsType,Mt.extendsType,3,!1))&&(Hr&=Ls(ub(_t),ub(Mt),3,!1))&&(Hr&=Ls(fb(_t),fb(Mt),3,!1))||ds&33554432&&(Hr=Ls(_t.baseType,Mt.baseType,3,!1))&&(Hr&=Ls(_t.constraint,Mt.constraint,3,!1)))return Hr;if(!(ds&524288))return 0}else if(ds&3145728||Zs&3145728){if(Hr=No(_t,Mt,vr,_n))return Hr;if(!(ds&465829888||ds&524288&&Zs&1048576||ds&2097152&&Zs&467402752))return 0}if(ds&17301504&&_t.aliasSymbol&&_t.aliasTypeArguments&&_t.aliasSymbol===Mt.aliasSymbol&&!(WW(_t)||WW(Mt))){const Ui=y9e(_t.aliasSymbol);if(Ui===pt)return 1;const Aa=ys(_t.aliasSymbol).typeParameters,mo=bh(Aa),so=R1(_t.aliasTypeArguments,Aa,mo,Mn(_t.aliasSymbol.valueDeclaration)),lc=R1(Mt.aliasTypeArguments,Aa,mo,Mn(_t.aliasSymbol.valueDeclaration)),ef=Ea(so,lc,Ui,_n);if(ef!==void 0)return ef}if(C9e(_t)&&!_t.target.readonly&&(Hr=Ls(Go(_t)[0],Mt,1))||C9e(Mt)&&(Mt.target.readonly||XW(jf(_t)||_t))&&(Hr=Ls(_t,Go(Mt)[0],2)))return Hr;if(Zs&262144){if(Ci(_t)&32&&!_t.declaration.nameType&&Ls(Sh(Mt),Rm(_t),3)&&!(vh(_t)&4)){const Ui=uy(_t),Aa=N_(Mt,lm(_t));if(Hr=Ls(Ui,Aa,3,vr))return Hr}if(_===C_&&ds&262144){let Ui=hf(_t);if(Ui&&O8(_t))for(;Ui&&my(Ui,Aa=>!!(Aa.flags&262144));){if(Hr=Ls(Ui,Mt,1,!1))return Hr;Ui=hf(Ui)}return 0}}else if(Zs&4194304){const Ui=Mt.type;if(ds&4194304&&(Hr=Ls(Ui,_t.type,3,!1)))return Hr;if(po(Ui)){if(Hr=Ls(_t,COe(Ui),2,vr))return Hr}else{const Aa=d_e(Ui);if(Aa){if(Ls(_t,Sh(Aa,Mt.stringsOnly),2,vr)===-1)return-1}else if($p(Ui)){const mo=y0(Ui),so=Rm(Ui);let lc;if(mo&&I8(Ui)){const ef=Jf(h3(Ui)),mm=[];__e(ef,8576,!1,xg=>void mm.push(Cs(mo,z8(Ui.mapper,lm(Ui),xg)))),lc=bi([...mm,mo])}else lc=mo||so;if(Ls(_t,lc,2,vr)===-1)return-1}}}else if(Zs&8388608){if(ds&8388608){if((Hr=Ls(_t.objectType,Mt.objectType,3,vr))&&(Hr&=Ls(_t.indexType,Mt.indexType,3,vr)),Hr)return Hr;vr&&(Hn=$)}if(_===k_||_===C_){const Ui=Mt.objectType,Aa=Mt.indexType,mo=jf(Ui)||Ui,so=jf(Aa)||Aa;if(!N2(mo)&&!lb(so)){const lc=4|(mo!==Ui?2:0),ef=j1(mo,so,lc);if(ef){if(vr&&Hn&&Ar(Bn),Hr=Ls(_t,ef,2,vr,void 0,_n))return Hr;vr&&Hn&&$&&($=va([Hn])<=va([$])?Hn:$)}}}vr&&(Hn=void 0)}else if($p(Mt)&&_!==w_){const Ui=!!Mt.declaration.nameType,Aa=uy(Mt),mo=vh(Mt);if(!(mo&8)){if(!Ui&&Aa.flags&8388608&&Aa.objectType===_t&&Aa.indexType===lm(Mt))return-1;if(!$p(_t)){const so=Ui?y0(Mt):Rm(Mt),lc=Sh(_t,void 0,!0),ef=mo&4,mm=ef?UL(so,lc):void 0;if(ef?!(mm.flags&131072):Ls(so,lc,3)){const xg=uy(Mt),yb=lm(Mt),Jk=A3(xg,-98305);if(!Ui&&Jk.flags&8388608&&Jk.indexType===yb){if(Hr=Ls(_t,Jk.objectType,2,vr))return Hr}else{const q3=Ui?mm||so:mm?no([mm,yb]):yb,wh=N_(_t,q3);if(Hr=Ls(wh,xg,3,vr))return Hr}}Hn=$,Ar(Bn)}}}else if(Zs&16777216){if(oM(Mt,je,Qt,10))return 3;const Ui=Mt;if(!Ui.root.inferTypeParameters&&!h0t(Ui.root)){const Aa=!io(UW(Ui.checkType),UW(Ui.extendsType)),mo=!Aa&&io(NS(Ui.checkType),NS(Ui.extendsType));if((Hr=Aa?-1:Ls(_t,ub(Ui),2,!1,void 0,_n))&&(Hr&=mo?-1:Ls(_t,fb(Ui),2,!1,void 0,_n),Hr))return Hr}}else if(Zs&134217728){if(ds&134217728){if(_===C_)return V1t(_t,Mt)?0:-1;Cs(_t,Rs)}if(jpe(_t,Mt))return-1}else if(Mt.flags&268435456&&!(_t.flags&268435456)&&Bpe(_t,Mt))return-1;if(ds&8650752){if(!(ds&8388608&&Zs&8388608)){const Ui=ES(_t)||xe;if(Hr=Ls(Ui,Mt,1,!1,void 0,_n))return Hr;if(Hr=Ls(Vp(Ui,_t),Mt,1,vr&&Ui!==xe&&!(Zs&ds&262144),void 0,_n))return Hr;if(y_e(_t)){const Aa=ES(_t.indexType);if(Aa&&(Hr=Ls(N_(_t.objectType,Aa),Mt,1,vr)))return Hr}}}else if(ds&4194304){if(Hr=Ls(hs,Mt,1,vr))return Hr}else if(ds&134217728&&!(Zs&524288)){if(!(Zs&134217728)){const Ui=jf(_t);if(Ui&&Ui!==_t&&(Hr=Ls(Ui,Mt,1,vr)))return Hr}}else if(ds&268435456)if(Zs&268435456){if(_t.symbol!==Mt.symbol)return 0;if(Hr=Ls(_t.type,Mt.type,3,vr))return Hr}else{const Ui=jf(_t);if(Ui&&(Hr=Ls(Ui,Mt,1,vr)))return Hr}else if(ds&16777216){if(oM(_t,ke,Ct,10))return 3;if(Zs&16777216){const Aa=_t.root.inferTypeParameters;let mo=_t.extendsType,so;if(Aa){const lc=X8(Aa,void 0,0,xp);dy(lc.inferences,Mt.extendsType,mo,1536),mo=Cs(mo,lc.mapper),so=lc.mapper}if(fy(mo,Mt.extendsType)&&(Ls(_t.checkType,Mt.checkType,3)||Ls(Mt.checkType,_t.checkType,3))&&((Hr=Ls(Cs(ub(_t),so),ub(Mt),3,vr))&&(Hr&=Ls(fb(_t),fb(Mt),3,vr)),Hr))return Hr}else{const Aa=O8(_t)?z5e(_t):void 0;if(Aa&&(Hr=Ls(Aa,Mt,1,vr)))return Hr}const Ui=m_e(_t);if(Ui&&(Hr=Ls(Ui,Mt,1,vr)))return Hr}else{if(_!==lg&&_!==ad&&Pgt(Mt)&&_y(_t))return-1;if($p(Mt))return $p(_t)&&(Hr=ia(_t,Mt,vr))?Hr:0;const Ui=!!(ds&134348796);if(_!==w_)_t=Jf(_t),ds=_t.flags;else if($p(_t))return 0;if(Ci(_t)&4&&Ci(Mt)&4&&_t.target===Mt.target&&!po(_t)&&!(WW(_t)||WW(Mt))){if(QW(_t))return-1;const Aa=gpe(_t.target);if(Aa===pt)return 1;const mo=Ea(Go(_t),Go(Mt),Aa,_n);if(mo!==void 0)return mo}else{if(k3(Mt)?IS(_t):Wp(Mt)&&po(_t)&&!_t.target.readonly)return _!==w_?Ls(b0(_t,wt)||Fe,b0(Mt,wt)||Fe,3,vr):0;if((_===lg||_===ad)&&_y(Mt)&&Ci(Mt)&8192&&!_y(_t))return 0}if(ds&2621440&&Zs&524288){const Aa=vr&&$===Bn.errorInfo&&!Ui;if(Hr=pr(_t,Mt,Aa,void 0,!1,_n),Hr&&(Hr&=pn(_t,Mt,0,Aa,_n),Hr&&(Hr&=pn(_t,Mt,1,Aa,_n),Hr&&(Hr&=Jo(_t,Mt,Ui,Aa,_n)))),ui&&Hr)$=Hn||$||Bn.errorInfo;else if(Hr)return Hr}if(ds&2621440&&Zs&1048576){const Aa=A3(Mt,36175872);if(Aa.flags&1048576){const mo=is(_t,Aa);if(mo)return mo}}}return 0;function va(Ui){return Ui?Cf(Ui,(Aa,mo)=>Aa+1+va(mo.next),0):0}function Ea(Ui,Aa,mo,so){if(Hr=Sn(Ui,Aa,mo,vr,so))return Hr;if(Oe(mo,ef=>!!(ef&24))){Hn=void 0,Ar(Bn);return}const lc=Aa&&i1t(Aa,mo);if(ui=!lc,mo!==pt&&!lc){if(ui&&!(vr&&Oe(mo,ef=>(ef&7)===0)))return 0;Hn=$,Ar(Bn)}}}function ia(_t,Mt,vr){if(_===C_||(_===w_?vh(_t)===vh(Mt):p_e(_t)<=p_e(Mt))){let Bn;const Hr=Rm(Mt),Hn=Cs(Rm(_t),p_e(_t)<0?Qr:Rs);if(Bn=Ls(Hr,Hn,3,vr)){const ui=__([lm(_t)],[lm(Mt)]);if(Cs(y0(_t),ui)===Cs(y0(Mt),ui))return Bn&Ls(Cs(uy(_t),ui),uy(Mt),3,vr)}}return 0}function is(_t,Mt){var vr;const _n=Ho(_t),Bn=$9e(_n,Mt);if(!Bn)return 0;let Hr=1;for(const Ea of Bn)if(Hr*=gvt(sb(Ea)),Hr>25)return(vr=Hi)==null||vr.instant(Hi.Phase.CheckTypes,"typeRelatedToDiscriminatedType_DepthLimit",{sourceId:_t.id,targetId:Mt.id,numCombinations:Hr}),0;const Hn=new Array(Bn.length),ui=new Set;for(let Ea=0;Ea<Bn.length;Ea++){const Ui=Bn[Ea],Aa=sb(Ui);Hn[Ea]=Aa.flags&1048576?Aa.types:[Aa],ui.add(Ui.escapedName)}const ds=V1e(Hn),Zs=[];for(const Ea of ds){let Ui=!1;e:for(const Aa of Mt.types){for(let mo=0;mo<Bn.length;mo++){const so=Bn[mo],lc=Ra(Aa,so.escapedName);if(!lc)continue e;if(so===lc)continue;if(!Zt(_t,Mt,so,lc,mm=>Ea[mo],!1,0,K||_===C_))continue e}ip(Zs,Aa,Db),Ui=!0}if(!Ui)return 0}let va=-1;for(const Ea of Zs)if(va&=pr(_t,Ea,!1,ui,!1,0),va&&(va&=pn(_t,Ea,0,!1,0),va&&(va&=pn(_t,Ea,1,!1,0),va&&!(po(_t)&&po(Ea))&&(va&=Jo(_t,Ea,!1,!1,0)))),!va)return va;return va}function Yn(_t,Mt){if(!Mt||_t.length===0)return _t;let vr;for(let _n=0;_n<_t.length;_n++)Mt.has(_t[_n].escapedName)?vr||(vr=_t.slice(0,_n)):vr&&vr.push(_t[_n]);return vr||_t}function Nt(_t,Mt,vr,_n,Bn){const Hr=K&&!!(ul(Mt)&48),Hn=to(sb(Mt),!1,Hr),ui=vr(_t);return Ls(ui,Hn,3,_n,void 0,Bn)}function Zt(_t,Mt,vr,_n,Bn,Hr,Hn,ui){const ds=td(vr),Zs=td(_n);if(ds&8||Zs&8){if(vr.valueDeclaration!==_n.valueDeclaration)return Hr&&(ds&8&&Zs&8?Ei(v.Types_have_separate_declarations_of_a_private_property_0,A(_n)):Ei(v.Property_0_is_private_in_type_1_but_not_in_type_2,A(_n),Me(ds&8?_t:Mt),Me(ds&8?Mt:_t))),0}else if(Zs&16){if(!l1t(vr,_n))return Hr&&Ei(v.Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2,A(_n),Me(Lk(vr)||_t),Me(Lk(_n)||Mt)),0}else if(ds&16)return Hr&&Ei(v.Property_0_is_protected_in_type_1_but_public_in_type_2,A(_n),Me(_t),Me(Mt)),0;if(_===ad&&dm(vr)&&!dm(_n))return 0;const va=Nt(vr,_n,Bn,Hr,Hn);return va?!ui&&vr.flags&16777216&&_n.flags&106500&&!(_n.flags&16777216)?(Hr&&Ei(v.Property_0_is_optional_in_type_1_but_required_in_type_2,A(_n),Me(_t),Me(Mt)),0):va:(Hr&&dn(v.Types_of_property_0_are_incompatible,A(_n)),0)}function yr(_t,Mt,vr,_n){let Bn=!1;if(vr.valueDeclaration&&of(vr.valueDeclaration)&&as(vr.valueDeclaration.name)&&_t.symbol&&_t.symbol.flags&32){const Hn=vr.valueDeclaration.name.escapedText,ui=s5(_t.symbol,Hn);if(ui&&Ra(_t,ui)){const ds=J.getDeclarationName(_t.symbol.valueDeclaration),Zs=J.getDeclarationName(Mt.symbol.valueDeclaration);Ei(v.Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2,od(Hn),od(ds.escapedText===""?qO:ds),od(Zs.escapedText===""?qO:Zs));return}}const Hr=ao(Mpe(_t,Mt,_n,!1));if((!b||b.code!==v.Class_0_incorrectly_implements_interface_1.code&&b.code!==v.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code)&&(Bn=!0),Hr.length===1){const Hn=A(vr,void 0,0,20);Ei(v.Property_0_is_missing_in_type_1_but_required_in_type_2,Hn,...Sr(_t,Mt)),H(vr.declarations)&&Js(ni(vr.declarations[0],v._0_is_declared_here,Hn)),Bn&&$&&cn++}else Hp(_t,Mt,!1)&&(Hr.length>5?Ei(v.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more,Me(_t),Me(Mt),qt(Hr.slice(0,4),Hn=>A(Hn)).join(", "),Hr.length-4):Ei(v.Type_0_is_missing_the_following_properties_from_type_1_Colon_2,Me(_t),Me(Mt),qt(Hr,Hn=>A(Hn)).join(", ")),Bn&&$&&cn++)}function pr(_t,Mt,vr,_n,Bn,Hr){if(_===w_)return Xr(_t,Mt,_n);let Hn=-1;if(po(Mt)){if(IS(_t)){if(!Mt.target.readonly&&(k3(_t)||po(_t)&&_t.target.readonly))return 0;const Ea=cb(_t),Ui=cb(Mt),Aa=po(_t)?_t.target.combinedFlags&4:4,mo=Mt.target.combinedFlags&4,so=po(_t)?_t.target.minLength:0,lc=Mt.target.minLength;if(!Aa&&Ea<lc)return vr&&Ei(v.Source_has_0_element_s_but_target_requires_1,Ea,lc),0;if(!mo&&Ui<so)return vr&&Ei(v.Source_has_0_element_s_but_target_allows_only_1,so,Ui),0;if(!mo&&(Aa||Ui<Ea))return vr&&(so<lc?Ei(v.Target_requires_0_element_s_but_source_may_have_fewer,lc):Ei(v.Target_allows_only_0_element_s_but_source_may_have_more,Ui)),0;const ef=Go(_t),mm=Go(Mt),xg=Myt(Mt.target,11),yb=QL(Mt.target,11),Jk=Mt.target.hasRestElement;let q3=!!_n;for(let wh=0;wh<Ea;wh++){const RE=po(_t)?_t.target.elementFlags[wh]:4,BE=Ea-1-wh,$S=Jk&&wh>=xg?Ui-1-Math.min(BE,yb):wh,I_=Mt.target.elementFlags[$S];if(I_&8&&!(RE&8))return vr&&Ei(v.Source_provides_no_match_for_variadic_element_at_position_0_in_target,$S),0;if(RE&8&&!(I_&12))return vr&&Ei(v.Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target,wh,$S),0;if(I_&1&&!(RE&1))return vr&&Ei(v.Source_provides_no_match_for_required_element_at_position_0_in_target,$S),0;if(q3&&((RE&12||I_&12)&&(q3=!1),q3&&(_n!=null&&_n.has(""+wh))))continue;const zt=OS(ef[wh],!!(RE&I_&2)),Gn=mm[$S],Xi=RE&8&&I_&4?yf(Gn):OS(Gn,!!(I_&2)),Ni=Ls(zt,Xi,3,vr,void 0,Hr);if(!Ni)return vr&&(Ui>1||Ea>1)&&(Jk&&wh>=xg&&BE>=yb&&xg!==Ea-yb-1?dn(v.Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target,xg,Ea-yb-1,$S):dn(v.Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target,wh,$S)),0;Hn&=Ni}return Hn}if(Mt.target.combinedFlags&12)return 0}const ui=(_===lg||_===ad)&&!hb(_t)&&!QW(_t)&&!po(_t),ds=Fpe(_t,Mt,ui,!1);if(ds)return vr&&Ms(_t,Mt)&&yr(_t,Mt,ds,ui),0;if(hb(Mt)){for(const Ea of Yn(Ho(_t),_n))if(!w2(Mt,Ea.escapedName)&&!(En(Ea).flags&32768))return vr&&Ei(v.Property_0_does_not_exist_on_type_1,A(Ea),Me(Mt)),0}const Zs=Ho(Mt),va=po(_t)&&po(Mt);for(const Ea of Yn(Zs,_n)){const Ui=Ea.escapedName;if(!(Ea.flags&4194304)&&(!va||Ug(Ui)||Ui==="length")&&(!Bn||Ea.flags&16777216)){const Aa=Ra(_t,Ui);if(Aa&&Aa!==Ea){const mo=Zt(_t,Mt,Aa,Ea,sb,vr,Hr,_===C_);if(!mo)return 0;Hn&=mo}}}return Hn}function Xr(_t,Mt,vr){if(!(_t.flags&524288&&Mt.flags&524288))return 0;const _n=Yn(F1(_t),vr),Bn=Yn(F1(Mt),vr);if(_n.length!==Bn.length)return 0;let Hr=-1;for(const Hn of _n){const ui=w2(Mt,Hn.escapedName);if(!ui)return 0;const ds=bpe(Hn,ui,Ls);if(!ds)return 0;Hr&=ds}return Hr}function pn(_t,Mt,vr,_n,Bn){var Hr,Hn;if(_===w_)return ki(_t,Mt,vr);if(Mt===ea||_t===ea)return-1;const ui=_t.symbol&&Vm(_t.symbol.valueDeclaration),ds=Mt.symbol&&Vm(Mt.symbol.valueDeclaration),Zs=ya(_t,ui&&vr===1?0:vr),va=ya(Mt,ds&&vr===1?0:vr);if(vr===1&&Zs.length&&va.length){const so=!!(Zs[0].flags&4),lc=!!(va[0].flags&4);if(so&&!lc)return _n&&Ei(v.Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type),0;if(!p_(Zs[0],va[0],_n))return 0}let Ea=-1;const Ui=vr===1?Mr:Wi,Aa=Ci(_t),mo=Ci(Mt);if(Aa&64&&mo&64&&_t.symbol===Mt.symbol||Aa&4&&mo&4&&_t.target===Mt.target)for(let so=0;so<va.length;so++){const lc=In(Zs[so],va[so],!0,_n,Bn,Ui(Zs[so],va[so]));if(!lc)return 0;Ea&=lc}else if(Zs.length===1&&va.length===1){const so=_===C_||!!se.noStrictGenericChecks,lc=Uo(Zs),ef=Uo(va);if(Ea=In(lc,ef,so,_n,Bn,Ui(lc,ef)),!Ea&&_n&&vr===1&&Aa&mo&&(((Hr=ef.declaration)==null?void 0:Hr.kind)===173||((Hn=lc.declaration)==null?void 0:Hn.kind)===173)){const mm=xg=>he(xg,void 0,262144,vr);return Ei(v.Type_0_is_not_assignable_to_type_1,mm(lc),mm(ef)),Ei(v.Types_of_construct_signatures_are_incompatible),Ea}}else{e:for(const so of va){const lc=Kr();let ef=_n;for(const mm of Zs){const xg=In(mm,so,!0,ef,Bn,Ui(mm,so));if(xg){Ea&=xg,Ar(lc);continue e}ef=!1}return ef&&Ei(v.Type_0_provides_no_match_for_the_signature_1,Me(_t),he(so,void 0,void 0,vr)),0}}return Ea}function Ms(_t,Mt){const vr=qL(_t,0),_n=qL(_t,1),Bn=F1(_t);return(vr.length||_n.length)&&!Bn.length?!!(ya(Mt,0).length&&vr.length||ya(Mt,1).length&&_n.length):!0}function Wi(_t,Mt){return _t.parameters.length===0&&Mt.parameters.length===0?(vr,_n)=>dn(v.Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,Me(vr),Me(_n)):(vr,_n)=>dn(v.Call_signature_return_types_0_and_1_are_incompatible,Me(vr),Me(_n))}function Mr(_t,Mt){return _t.parameters.length===0&&Mt.parameters.length===0?(vr,_n)=>dn(v.Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1,Me(vr),Me(_n)):(vr,_n)=>dn(v.Construct_signature_return_types_0_and_1_are_incompatible,Me(vr),Me(_n))}function In(_t,Mt,vr,_n,Bn,Hr){const Hn=_===lg?16:_===ad?24:0;return _pe(vr?R8(_t):_t,vr?R8(Mt):Mt,Hn,_n,Ei,Hr,ui,Rs);function ui(ds,Zs,va){return Ls(ds,Zs,3,va,void 0,Bn)}}function ki(_t,Mt,vr){const _n=ya(_t,vr),Bn=ya(Mt,vr);if(_n.length!==Bn.length)return 0;let Hr=-1;for(let Hn=0;Hn<_n.length;Hn++){const ui=cM(_n[Hn],Bn[Hn],!1,!1,!1,Ls);if(!ui)return 0;Hr&=ui}return Hr}function zn(_t,Mt,vr,_n){let Bn=-1;const Hr=Mt.keyType,Hn=_t.flags&2097152?VL(_t):F1(_t);for(const ui of Hn)if(!d9e(_t,ui)&&hE(b3(ui,8576),Hr)){const ds=sb(ui),Zs=tt||ds.flags&32768||Hr===wt||!(ui.flags&16777216)?ds:_d(ds,524288),va=Ls(Zs,Mt.type,3,vr,void 0,_n);if(!va)return vr&&Ei(v.Property_0_is_incompatible_with_index_signature,A(ui)),0;Bn&=va}for(const ui of gf(_t))if(hE(ui.keyType,Hr)){const ds=Gs(ui,Mt,vr,_n);if(!ds)return 0;Bn&=ds}return Bn}function Gs(_t,Mt,vr,_n){const Bn=Ls(_t.type,Mt.type,3,vr,void 0,_n);return!Bn&&vr&&(_t.keyType===Mt.keyType?Ei(v._0_index_signatures_are_incompatible,Me(_t.keyType)):Ei(v._0_and_1_index_signatures_are_incompatible,Me(_t.keyType),Me(Mt.keyType))),Bn}function Jo(_t,Mt,vr,_n,Bn){if(_===w_)return Sc(_t,Mt);const Hr=gf(Mt),Hn=Oe(Hr,ds=>ds.keyType===ye);let ui=-1;for(const ds of Hr){const Zs=_!==ad&&!vr&&Hn&&ds.type.flags&1?-1:$p(_t)&&Hn?Ls(uy(_t),ds.type,3,_n):vc(_t,ds,_n,Bn);if(!Zs)return 0;ui&=Zs}return ui}function vc(_t,Mt,vr,_n){const Bn=WL(_t,Mt.keyType);return Bn?Gs(Bn,Mt,vr,_n):!(_n&1)&&(_!==ad||Ci(_t)&8192)&&eH(_t)?zn(_t,Mt,vr,_n):(vr&&Ei(v.Index_signature_for_type_0_is_missing_in_type_1,Me(Mt.keyType),Me(_t)),0)}function Sc(_t,Mt){const vr=gf(_t),_n=gf(Mt);if(vr.length!==_n.length)return 0;for(const Bn of _n){const Hr=vg(_t,Bn.keyType);if(!(Hr&&Ls(Hr.type,Bn.type,3)&&Hr.isReadonly===Bn.isReadonly))return 0}return-1}function p_(_t,Mt,vr){if(!_t.declaration||!Mt.declaration)return!0;const _n=$C(_t.declaration,24),Bn=$C(Mt.declaration,24);return Bn===8||Bn===16&&_n!==8||Bn!==16&&!_n?!0:(vr&&Ei(v.Cannot_assign_a_0_constructor_type_to_a_1_constructor_type,bp(_n),bp(Bn)),!1)}}function mpe(r){if(r.flags&16)return!1;if(r.flags&3145728)return!!Q(r.types,mpe);if(r.flags&465829888){const c=ES(r);if(c&&c!==r)return mpe(c)}return _m(r)||!!(r.flags&134217728)||!!(r.flags&268435456)}function m9e(r,c){return po(r)&&po(c)?pt:Ho(c).filter(_=>qW(Yl(r,_.escapedName),En(_)))}function qW(r,c){return!!r&&!!c&&Qc(r,32768)&&!!G8(c)}function r1t(r){return Ho(r).filter(c=>G8(En(c)))}function h9e(r,c,_=upe){return ERe(r,c,_,!0)||twt(r,c)||rwt(r,c)||nwt(r,c)||iwt(r,c)}function hpe(r,c,_,m,b){const x=r.types.map($=>{});for(const[$,re]of c){const ae=v_e(r,re);if(b&&ae&&ul(ae)&16)continue;let ke=0;for(const je of r.types){const Re=Yl(je,re);Re&&_($(),Re)?x[ke]=x[ke]===void 0?!0:x[ke]:x[ke]=!1,ke++}}const D=x.indexOf(!0);if(D===-1)return m;let j=x.indexOf(!0,D+1);for(;j!==-1;){if(!fy(r.types[D],r.types[j]))return m;j=x.indexOf(!0,j+1)}return r.types[D]}function g9e(r){if(r.flags&524288){const c=um(r);return c.callSignatures.length===0&&c.constructSignatures.length===0&&c.indexInfos.length===0&&c.properties.length>0&&ut(c.properties,_=>!!(_.flags&16777216))}return r.flags&2097152?ut(r.types,g9e):!1}function n1t(r,c,_){for(const m of Ho(r))if(pde(c,m.escapedName,_))return!0;return!1}function gpe(r){return r===Zo||r===zo||r.objectFlags&8?ie:v9e(r.symbol,r.typeParameters)}function y9e(r){return v9e(r,ys(r).typeParameters)}function v9e(r,c=pt){var _,m;const b=ys(r);if(!b.variances){(_=Hi)==null||_.push(Hi.Phase.CheckTypes,"getVariancesWorker",{arity:c.length,id:vf(Tc(r))}),b.variances=pt;const x=[];for(const D of c){const j=ype(D);let $=j&65536?j&32768?0:1:j&32768?2:void 0;if($===void 0){let re=!1,ae=!1;const ke=Ji;Ji=Ct=>Ct?ae=!0:re=!0;const je=sM(r,D,$_),Re=sM(r,D,Vl);$=(io(Re,je)?1:0)|(io(je,Re)?2:0),$===3&&io(sM(r,D,Lu),je)&&($=4),Ji=ke,(re||ae)&&(re&&($|=8),ae&&($|=16))}x.push($)}b.variances=x,(m=Hi)==null||m.pop({variances:x.map(R.formatVariance)})}return b.variances}function sM(r,c,_){const m=L2(c,_),b=Tc(r);if(Lo(b))return b;const x=r.flags&524288?TE(r,k0(ys(r).typeParameters,m)):T0(b,k0(b.typeParameters,m));return en.add(vf(x)),x}function WW(r){return en.has(vf(r))}function ype(r){var c;return Cf((c=r.symbol)==null?void 0:c.declarations,(_,m)=>_|Pf(m),0)&100352}function i1t(r,c){for(let _=0;_<c.length;_++)if((c[_]&7)===1&&r[_].flags&16384)return!0;return!1}function s1t(r){return r.flags&262144&&!hf(r)}function a1t(r){return!!(Ci(r)&4)&&!r.node}function HW(r){return a1t(r)&&Oe(Go(r),c=>!!(c.flags&262144)||HW(c))}function o1t(r,c,_,m){const b=[];let x="";const D=$(r,0),j=$(c,0);return`${x}${D},${j}${_}`;function $(re,ae=0){let ke=""+re.target.id;for(const je of Go(re)){if(je.flags&262144){if(m||s1t(je)){let Re=b.indexOf(je);Re<0&&(Re=b.length,b.push(je)),ke+="="+Re;continue}x="*"}else if(ae<4&&HW(je)){ke+="<"+$(je,ae+1)+">";continue}ke+="-"+je.id}return ke}}function vpe(r,c,_,m,b){if(m===w_&&r.id>c.id){const D=r;r=c,c=D}const x=_?":"+_:"";return HW(r)&&HW(c)?o1t(r,c,x,b):`${r.id},${c.id}${x}`}function aM(r,c){if(ul(r)&6){for(const _ of r.links.containingType.types){const m=Ra(_,r.escapedName),b=m&&aM(m,c);if(b)return b}return}return c(r)}function Lk(r){return r.parent&&r.parent.flags&32?Tc(u_(r)):void 0}function GW(r){const c=Lk(r),_=c&&_o(c)[0];return _&&Yl(_,r.escapedName)}function c1t(r,c){return aM(r,_=>{const m=Lk(_);return m?CS(m,c):!1})}function l1t(r,c){return!aM(c,_=>td(_)&16?!c1t(r,Lk(_)):!1)}function b9e(r,c,_){return aM(c,m=>td(m,_)&16?!CS(r,Lk(m)):!1)?void 0:r}function oM(r,c,_,m=3){if(_>=m){if(r.flags&2097152)return Oe(r.types,j=>oM(j,c,_,m));const b=x3(r);let x=0,D=0;for(let j=0;j<_;j++){const $=c[j];if($.flags&2097152?Oe($.types,re=>x3(re)===b):x3($)===b){if($.id>=D&&(x++,x>=m))return!0;D=$.id}}}return!1}function x3(r){if(r.flags&524288&&!Jpe(r)){if(Ci(r)&&r.node)return r.node;if(r.symbol&&!(Ci(r)&16&&r.symbol.flags&32))return r.symbol;if(po(r))return r.target}if(r.flags&262144)return r.symbol;if(r.flags&8388608){do r=r.objectType;while(r.flags&8388608);return r}return r.flags&16777216?r.root:r}function u1t(r,c){return bpe(r,c,V8)!==0}function bpe(r,c,_){if(r===c)return-1;const m=td(r)&24,b=td(c)&24;if(m!==b)return 0;if(m){if(ME(r)!==ME(c))return 0}else if((r.flags&16777216)!==(c.flags&16777216))return 0;return dm(r)!==dm(c)?0:_(En(r),En(c))}function f1t(r,c,_){const m=K_(r),b=K_(c),x=kh(r),D=kh(c),j=Ch(r),$=Ch(c);return!!(m===b&&x===D&&j===$||_&&x<=D)}function cM(r,c,_,m,b,x){if(r===c)return-1;if(!f1t(r,c,_)||H(r.typeParameters)!==H(c.typeParameters))return 0;if(c.typeParameters){const $=__(r.typeParameters,c.typeParameters);for(let re=0;re<c.typeParameters.length;re++){const ae=r.typeParameters[re],ke=c.typeParameters[re];if(!(ae===ke||x(Cs(y3(ae),$)||xe,y3(ke)||xe)&&x(Cs(AS(ae),$)||xe,AS(ke)||xe)))return 0}r=wE(r,$,!0)}let D=-1;if(!m){const $=A2(r);if($){const re=A2(c);if(re){const ae=x($,re);if(!ae)return 0;D&=ae}}}const j=K_(c);for(let $=0;$<j;$++){const re=pm(r,$),ae=pm(c,$),ke=x(ae,re);if(!ke)return 0;D&=ke}if(!b){const $=ld(r),re=ld(c);D&=$||re?_1t($,re,x):x(Xo(r),Xo(c))}return D}function _1t(r,c,_){return r&&c&&H_e(r,c)?r.type===c.type?-1:r.type&&c.type?_(r.type,c.type):0:0}function p1t(r){let c;for(const _ of r)if(!(_.flags&131072)){const m=V1(_);if(c??(c=m),m===_||m!==c)return!1}return!0}function T9e(r){return Cf(r,(c,_)=>c|(_.flags&1048576?T9e(_.types):_.flags),0)}function d1t(r){if(r.length===1)return r[0];const c=K?$s(r,m=>Zl(m,b=>!(b.flags&98304))):r,_=p1t(c)?bi(c):Cf(c,(m,b)=>U1(m,b)?b:m);return c===r?_:ZW(_,T9e(r)&98304)}function m1t(r){return Cf(r,(c,_)=>U1(_,c)?_:c)}function Wp(r){return!!(Ci(r)&4)&&(r.target===Zo||r.target===zo)}function k3(r){return!!(Ci(r)&4)&&r.target===zo}function IS(r){return Wp(r)||po(r)}function XW(r){return Wp(r)&&!k3(r)||po(r)&&!r.target.readonly}function Tpe(r){return Wp(r)?Go(r)[0]:void 0}function db(r){return Wp(r)||!(r.flags&98304)&&io(r,ks)}function Spe(r){if(!(Ci(r)&4)||!(Ci(r.target)&3))return;if(Ci(r)&33554432)return Ci(r)&67108864?r.cachedEquivalentBaseType:void 0;r.objectFlags|=33554432;const c=r.target;if(Ci(c)&1){const b=Yr(c);if(b&&b.expression.kind!==79&&b.expression.kind!==208)return}const _=_o(c);if(_.length!==1||M1(r.symbol).size)return;let m=H(c.typeParameters)?Cs(_[0],__(c.typeParameters,Go(r).slice(0,c.typeParameters.length))):_[0];return H(Go(r))>H(c.typeParameters)&&(m=Vp(m,ko(Go(r)))),r.objectFlags|=67108864,r.cachedEquivalentBaseType=m}function S9e(r){return K?r===Dr:r===ct}function QW(r){const c=Tpe(r);return!!c&&S9e(c)}function C3(r){return po(r)||!!Ra(r,"0")}function YW(r){return db(r)||C3(r)}function h1t(r,c){const _=Yl(r,""+c);if(_)return _;if(bg(r,po))return Ic(r,m=>{const b=m,x=lM(b);return x?se.noUncheckedIndexedAccess&&c>=b.target.fixedLength+QL(b.target,3)?bi([x,Ze]):x:Ze})}function g1t(r){return!(r.flags&240544)}function _m(r){return!!(r.flags&109472)}function x9e(r){const c=v0(r);return c.flags&2097152?Oe(c.types,_m):_m(c)}function y1t(r){return r.flags&2097152&&He(r.types,_m)||r}function W8(r){return r.flags&16?!0:r.flags&1048576?r.flags&1024?!0:ut(r.types,_m):_m(r)}function V1(r){return r.flags&1056?P8(r):r.flags&402653312?ye:r.flags&256?wt:r.flags&2048?nr:r.flags&512?Be:r.flags&1048576?v1t(r):r}function v1t(r){var c;const _=`B${vf(r)}`;return(c=l2(_))!=null?c:e0(_,Ic(r,V1))}function xpe(r){return r.flags&402653312?ye:r.flags&288?wt:r.flags&2048?nr:r.flags&512?Be:r.flags&1048576?Ic(r,xpe):r}function F2(r){return r.flags&1056&&O2(r)?P8(r):r.flags&128&&O2(r)?ye:r.flags&256&&O2(r)?wt:r.flags&2048&&O2(r)?nr:r.flags&512&&O2(r)?Be:r.flags&1048576?Ic(r,F2):r}function k9e(r){return r.flags&8192?te:r.flags&1048576?Ic(r,k9e):r}function kpe(r,c){return MH(r,c)||(r=k9e(F2(r))),f_(r)}function b1t(r,c,_){if(r&&_m(r)){const m=c?_?pN(c):c:void 0;r=kpe(r,m)}return r}function Cpe(r,c,_,m){if(r&&_m(r)){const b=c?J2(_,c,m):void 0;r=kpe(r,b)}return r}function po(r){return!!(Ci(r)&4&&r.target.objectFlags&8)}function EE(r){return po(r)&&!!(r.target.combinedFlags&8)}function C9e(r){return EE(r)&&r.target.elementFlags.length===1}function lM(r){return w3(r,r.target.fixedLength)}function T1t(r){const c=lM(r);return c&&yf(c)}function w3(r,c,_=0,m=!1,b=!1){const x=cb(r)-_;if(c<x){const D=Go(r),j=[];for(let $=c;$<x;$++){const re=D[$];j.push(r.target.elementFlags[$]&8?N_(re,wt):re)}return m?no(j):bi(j,b?0:1)}}function S1t(r,c){return cb(r)===cb(c)&&ut(r.target.elementFlags,(_,m)=>(_&12)===(c.target.elementFlags[m]&12))}function w9e({value:r}){return r.base10Value==="0"}function E9e(r){return Zl(r,c=>!!(bf(c)&4194304))}function x1t(r){return Ic(r,k1t)}function k1t(r){return r.flags&4?Ww:r.flags&8?pk:r.flags&64?Hw:r===ne||r===dt||r.flags&114691||r.flags&128&&r.value===""||r.flags&256&&r.value===0||r.flags&2048&&w9e(r)?r:At}function ZW(r,c){const _=c&~r.flags&98304;return _===0?r:bi(_===32768?[r,Ze]:_===65536?[r,qr]:[r,Ze,qr])}function C0(r,c=!1){R.assert(K);const _=c?Kt:Ze;return r===_||r.flags&1048576&&r.types[0]===_?r:bi([r,_])}function C1t(r){return eo||(eo=B8("NonNullable",524288,void 0)||Tr),eo!==Tr?TE(eo,[r]):no([r,js])}function w0(r){return K?RS(r,2097152):r}function A9e(r){return K?bi([r,wr]):r}function wpe(r){return K?oH(r,wr):r}function KW(r,c,_){return _?YA(c)?C0(r):A9e(r):r}function H8(r,c){return IB(c)?w0(r):cf(c)?wpe(r):r}function OS(r,c){return tt&&c?oH(r,it):r}function G8(r){return r===it||!!(r.flags&1048576)&&r.types[0]===it}function Epe(r){return tt?oH(r,it):_d(r,524288)}function w1t(r,c){return(r.flags&524)!==0&&(c.flags&28)!==0}function eH(r){const c=Ci(r);return r.flags&2097152?ut(r.types,eH):!!(r.symbol&&r.symbol.flags&7040&&!(r.symbol.flags&32)&&!YH(r))||!!(c&4194304)||!!(c&1024&&eH(r.source))}function LS(r,c){const _=Oo(r.flags,r.escapedName,ul(r)&8);_.declarations=r.declarations,_.parent=r.parent,_.links.type=c,_.links.target=r,r.valueDeclaration&&(_.valueDeclaration=r.valueDeclaration);const m=ys(r).nameType;return m&&(_.links.nameType=m),_}function E1t(r,c){const _=Ma();for(const m of F1(r)){const b=En(m),x=c(b);_.set(m.escapedName,x===b?m:LS(m,x))}return _}function uM(r){if(!(hb(r)&&Ci(r)&8192))return r;const c=r.regularType;if(c)return c;const _=r,m=E1t(r,uM),b=pc(_.symbol,m,_.callSignatures,_.constructSignatures,_.indexInfos);return b.flags=_.flags,b.objectFlags|=_.objectFlags&-8193,r.regularType=b,b}function P9e(r,c,_){return{parent:r,propertyName:c,siblings:_,resolvedProperties:void 0}}function D9e(r){if(!r.siblings){const c=[];for(const _ of D9e(r.parent))if(hb(_)){const m=w2(_,r.propertyName);m&&BS(En(m),b=>{c.push(b)})}r.siblings=c}return r.siblings}function A1t(r){if(!r.resolvedProperties){const c=new Map;for(const _ of D9e(r))if(hb(_)&&!(Ci(_)&2097152))for(const m of Ho(_))c.set(m.escapedName,m);r.resolvedProperties=ao(c.values())}return r.resolvedProperties}function P1t(r,c){if(!(r.flags&4))return r;const _=En(r),m=c&&P9e(c,r.escapedName,void 0),b=Ape(_,m);return b===_?r:LS(r,b)}function D1t(r){const c=qi.get(r.escapedName);if(c)return c;const _=LS(r,Kt);return _.flags|=16777216,qi.set(r.escapedName,_),_}function N1t(r,c){const _=Ma();for(const b of F1(r))_.set(b.escapedName,P1t(b,c));if(c)for(const b of A1t(c))_.has(b.escapedName)||_.set(b.escapedName,D1t(b));const m=pc(r.symbol,_,pt,pt,$s(gf(r),b=>Th(b.keyType,Z_(b.type),b.isReadonly)));return m.objectFlags|=Ci(r)&266240,m}function Z_(r){return Ape(r,void 0)}function Ape(r,c){if(Ci(r)&196608){if(c===void 0&&r.widened)return r.widened;let _;if(r.flags&98305)_=Fe;else if(hb(r))_=N1t(r,c);else if(r.flags&1048576){const m=c||P9e(void 0,void 0,r.types),b=$s(r.types,x=>x.flags&98304?x:Ape(x,m));_=bi(b,Oe(b,_y)?2:1)}else r.flags&2097152?_=no($s(r.types,Z_)):IS(r)&&(_=T0(r.target,$s(Go(r),Z_)));return _&&c===void 0&&(r.widened=_),_||r}return r}function tH(r){let c=!1;if(Ci(r)&65536){if(r.flags&1048576)if(Oe(r.types,_y))c=!0;else for(const _ of r.types)tH(_)&&(c=!0);if(IS(r))for(const _ of Go(r))tH(_)&&(c=!0);if(hb(r))for(const _ of F1(r)){const m=En(_);Ci(m)&65536&&(tH(m)||nt(_.valueDeclaration,v.Object_literal_s_property_0_implicitly_has_an_1_type,A(_),Me(Z_(m))),c=!0)}}return c}function mb(r,c,_){const m=Me(Z_(c));if(Mn(r)&&!I5(bn(r),se))return;let b;switch(r.kind){case 223:case 169:case 168:b=Pe?v.Member_0_implicitly_has_an_1_type:v.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 166:const x=r;if(Ye(x.name)){const D=Lb(x.name);if((f4(x.parent)||zg(x.parent)||Vg(x.parent))&&x.parent.parameters.indexOf(x)>-1&&(Xc(x,x.name.escapedText,788968,void 0,x.name.escapedText,!0)||D&&qee(D))){const j="arg"+x.parent.parameters.indexOf(x),$=uc(x.name)+(x.dotDotDotToken?"[]":"");fh(Pe,r,v.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1,j,$);return}}b=r.dotDotDotToken?Pe?v.Rest_parameter_0_implicitly_has_an_any_type:v.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:Pe?v.Parameter_0_implicitly_has_an_1_type:v.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage;break;case 205:if(b=v.Binding_element_0_implicitly_has_an_1_type,!Pe)return;break;case 320:nt(r,v.Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,m);return;case 326:Pe&&fD(r.parent)&&nt(r.parent.tagName,v.This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation,m);return;case 259:case 171:case 170:case 174:case 175:case 215:case 216:if(Pe&&!r.name){_===3?nt(r,v.Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation,m):nt(r,v.Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type,m);return}b=Pe?_===3?v._0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:v._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:v._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage;break;case 197:Pe&&nt(r,v.Mapped_object_type_implicitly_has_an_any_template_type);return;default:b=Pe?v.Variable_0_implicitly_has_an_1_type:v.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage}fh(Pe,r,b,uc(ra(r)),m)}function rH(r,c,_){s(()=>{Pe&&Ci(c)&65536&&(!_||!ade(r))&&(tH(c)||mb(r,c,_))})}function Ppe(r,c,_){const m=K_(r),b=K_(c),x=aN(r),D=aN(c),j=D?b-1:b,$=x?j:Math.min(m,j),re=A2(r);if(re){const ae=A2(c);ae&&_(re,ae)}for(let ae=0;ae<$;ae++)_(pm(r,ae),pm(c,ae));D&&_(sN(r,$),D)}function Dpe(r,c,_){const m=ld(r),b=ld(c);m&&b&&H_e(m,b)&&m.type&&b.type?_(m.type,b.type):_(Xo(r),Xo(c))}function X8(r,c,_,m){return Npe(r.map(Ipe),c,_,m||upe)}function I1t(r,c=0){return r&&Npe(qt(r.inferences,I9e),r.signature,r.flags|c,r.compareTypes)}function Npe(r,c,_,m){const b={inferences:r,signature:c,flags:_,compareTypes:m,mapper:Qr,nonFixingMapper:Qr};return b.mapper=O1t(b),b.nonFixingMapper=L1t(b),b}function O1t(r){return ipe(qt(r.inferences,c=>c.typeParameter),qt(r.inferences,(c,_)=>()=>(c.isFixed||(M1t(r),nH(r.inferences),c.isFixed=!0),Upe(r,_))))}function L1t(r){return ipe(qt(r.inferences,c=>c.typeParameter),qt(r.inferences,(c,_)=>()=>Upe(r,_)))}function nH(r){for(const c of r)c.isFixed||(c.inferredType=void 0)}function N9e(r,c,_){var m;((m=r.intraExpressionInferenceSites)!=null?m:r.intraExpressionInferenceSites=[]).push({node:c,type:_})}function M1t(r){if(r.intraExpressionInferenceSites){for(const{node:c,type:_}of r.intraExpressionInferenceSites){const m=c.kind===171?xLe(c,2):e_(c,2);m&&dy(r.inferences,_,m)}r.intraExpressionInferenceSites=void 0}}function Ipe(r){return{typeParameter:r,candidates:void 0,contraCandidates:void 0,inferredType:void 0,priority:void 0,topLevel:!0,isFixed:!1,impliedArity:void 0}}function I9e(r){return{typeParameter:r.typeParameter,candidates:r.candidates&&r.candidates.slice(),contraCandidates:r.contraCandidates&&r.contraCandidates.slice(),inferredType:r.inferredType,priority:r.priority,topLevel:r.topLevel,isFixed:r.isFixed,impliedArity:r.impliedArity}}function F1t(r){const c=hr(r.inferences,OE);return c.length?Npe(qt(c,I9e),r.signature,r.flags,r.compareTypes):void 0}function Ope(r){return r&&r.mapper}function MS(r){const c=Ci(r);if(c&524288)return!!(c&1048576);const _=!!(r.flags&465829888||r.flags&524288&&!O9e(r)&&(c&4&&(r.node||Q(Go(r),MS))||c&16&&r.symbol&&r.symbol.flags&14384&&r.symbol.declarations||c&12583968)||r.flags&3145728&&!(r.flags&1024)&&!O9e(r)&&Oe(r.types,MS));return r.flags&3899393&&(r.objectFlags|=524288|(_?1048576:0)),_}function O9e(r){if(r.aliasSymbol&&!r.aliasTypeArguments){const c=ol(r.aliasSymbol,262);return!!(c&&kn(c.parent,_=>_.kind===308?!0:_.kind===264?!1:"quit"))}return!1}function Q8(r,c,_=0){return!!(r===c||r.flags&3145728&&Oe(r.types,m=>Q8(m,c,_))||_<3&&r.flags&16777216&&(Q8(ub(r),c,_+1)||Q8(fb(r),c,_+1)))}function R1t(r,c){const _=ld(r);return _?!!_.type&&Q8(_.type,c):Q8(Xo(r),c)}function B1t(r){const c=Ma();BS(r,m=>{if(!(m.flags&128))return;const b=Vc(m.value),x=Oo(4,b);x.links.type=Fe,m.symbol&&(x.declarations=m.symbol.declarations,x.valueDeclaration=m.symbol.valueDeclaration),c.set(b,x)});const _=r.flags&4?[Th(ye,js,!1)]:pt;return pc(void 0,c,pt,pt,_)}function L9e(r,c,_){if(Ws)return;const m=r.id+","+c.id+","+_.id;if(si.has(m))return si.get(m);Ws=!0;const b=j1t(r,c,_);return Ws=!1,si.set(m,b),b}function Lpe(r){return!(Ci(r)&262144)||hb(r)&&Oe(Ho(r),c=>Lpe(En(c)))||po(r)&&Oe(Go(r),Lpe)}function j1t(r,c,_){if(!(vg(r,ye)||Ho(r).length!==0&&Lpe(r)))return;if(Wp(r))return yf(iH(Go(r)[0],c,_),k3(r));if(po(r)){const b=qt(Go(r),D=>iH(D,c,_)),x=vh(c)&4?$s(r.target.elementFlags,D=>D&2?1:D):r.target.elementFlags;return jm(b,x,r.target.readonly,r.target.labeledElementDeclarations)}const m=vp(1040,void 0);return m.source=r,m.mappedType=c,m.constraintType=_,m}function J1t(r){const c=ys(r);return c.type||(c.type=iH(r.links.propertyType,r.links.mappedType,r.links.constraintType)),c.type}function iH(r,c,_){const m=N_(_.type,lm(c)),b=uy(c),x=Ipe(m);return dy([x],r,b),M9e(x)||xe}function*Mpe(r,c,_,m){const b=Ho(c);for(const x of b)if(!P5e(x)&&(_||!(x.flags&16777216||ul(x)&48))){const D=Ra(r,x.escapedName);if(!D)yield x;else if(m){const j=En(x);if(j.flags&109472){const $=En(D);$.flags&1||f_($)===f_(j)||(yield x)}}}}function Fpe(r,c,_,m){return jR(Mpe(r,c,_,m))}function U1t(r,c){return!(c.target.combinedFlags&8)&&c.target.minLength>r.target.minLength||!c.target.hasRestElement&&(r.target.hasRestElement||c.target.fixedLength<r.target.fixedLength)}function z1t(r,c){return po(r)&&po(c)?U1t(r,c):!!Fpe(r,c,!1,!0)&&!!Fpe(c,r,!1,!1)}function M9e(r){return r.candidates?bi(r.candidates,2):r.contraCandidates?no(r.contraCandidates):void 0}function Rpe(r){return!!gi(r).skipDirectInference}function F9e(r){return!!(r.symbol&&Oe(r.symbol.declarations,Rpe))}function V1t(r,c){const _=r.texts[0],m=c.texts[0],b=r.texts[r.texts.length-1],x=c.texts[c.texts.length-1],D=Math.min(_.length,m.length),j=Math.min(b.length,x.length);return _.slice(0,D)!==m.slice(0,D)||b.slice(b.length-j)!==x.slice(x.length-j)}function R9e(r,c){if(r==="")return!1;const _=+r;return isFinite(_)&&(!c||""+_===r)}function $1t(r){return MW(fte(r))}function Bpe(r,c){if(c.flags&1)return!0;if(c.flags&134217732)return io(r,c);if(c.flags&268435456){const _=[];for(;c.flags&268435456;)_.unshift(c.symbol),c=c.type;return Cf(_,(b,x)=>Nk(x,b),r)===r&&Bpe(r,c)}return!1}function q1t(r,c){if(r===c||c.flags&5)return!0;if(r.flags&128){const _=r.value;return!!(c.flags&8&&R9e(_,!1)||c.flags&64&&Xj(_,!1)||c.flags&98816&&_===c.intrinsicName||c.flags&268435456&&Bpe(qp(_),c))}if(r.flags&134217728){const _=r.texts;return _.length===2&&_[0]===""&&_[1]===""&&io(r.types[0],c)}return io(r,c)}function B9e(r,c){return r.flags&128?j9e([r.value],pt,c):r.flags&134217728?Wt(r.texts,c.texts)?qt(r.types,W1t):j9e(r.texts,r.types,c):void 0}function jpe(r,c){const _=B9e(r,c);return!!_&&ut(_,(m,b)=>q1t(m,c.types[b]))}function W1t(r){return r.flags&402653317?r:DS(["",""],[r])}function j9e(r,c,_){const m=r.length-1,b=r[0],x=r[m],D=_.texts,j=D.length-1,$=D[0],re=D[j];if(m===0&&b.length<$.length+re.length||!b.startsWith($)||!x.endsWith(re))return;const ae=x.slice(0,x.length-re.length),ke=[];let je=0,Re=$.length;for(let sn=1;sn<j;sn++){const Zr=D[sn];if(Zr.length>0){let cn=je,Ir=Re;for(;Ir=Ct(cn).indexOf(Zr,Ir),!(Ir>=0);){if(cn++,cn===r.length)return;Ir=0}Qt(cn,Ir),Re+=Zr.length}else if(Re<Ct(je).length)Qt(je,Re+1);else if(je<m)Qt(je+1,0);else return}return Qt(m,Ct(m).length),ke;function Ct(sn){return sn<m?r[sn]:ae}function Qt(sn,Zr){const cn=sn===je?qp(Ct(sn).slice(Re,Zr)):DS([r[je].slice(Re),...r.slice(je+1,sn),Ct(sn).slice(0,Zr)],c.slice(je,sn));ke.push(cn),je=sn,Re=Zr}}function dy(r,c,_,m=0,b=!1){let x=!1,D,j=2048,$=!0,re,ae,ke,je=0;Re(c,_);function Re(on,Dn){if(MS(Dn)){if(on===Ht){const As=D;D=on,Re(Dn,Dn),D=As;return}if(on.aliasSymbol&&on.aliasSymbol===Dn.aliasSymbol){if(on.aliasTypeArguments){const As=ys(on.aliasSymbol).typeParameters,fa=bh(As),Ns=R1(on.aliasTypeArguments,As,fa,Mn(on.aliasSymbol.valueDeclaration)),No=R1(Dn.aliasTypeArguments,As,fa,Mn(on.aliasSymbol.valueDeclaration));Ir(Ns,No,y9e(on.aliasSymbol))}return}if(on===Dn&&on.flags&3145728){for(const As of on.types)Re(As,As);return}if(Dn.flags&1048576){const[As,fa]=cn(on.flags&1048576?on.types:[on],Dn.types,H1t),[Ns,No]=cn(As,fa,G1t);if(No.length===0)return;if(Dn=bi(No),Ns.length===0){Ct(on,Dn,1);return}on=bi(Ns)}else if(Dn.flags&2097152&&!ut(Dn.types,OW)){if(!(on.flags&1048576)){const[As,fa]=cn(on.flags&2097152?on.types:[on],Dn.types,fy);if(As.length===0||fa.length===0)return;on=no(As),Dn=no(fa)}}else Dn.flags&41943040&&(Dn=J1(Dn));if(Dn.flags&8650752){if(F9e(on))return;const As=Ar(Dn);if(As){if(Ci(on)&262144||on===Te)return;if(!As.isFixed){if((As.priority===void 0||m<As.priority)&&(As.candidates=void 0,As.contraCandidates=void 0,As.topLevel=!0,As.priority=m),m===As.priority){const Ns=D||on;b&&!x?xt(As.contraCandidates,Ns)||(As.contraCandidates=$r(As.contraCandidates,Ns),nH(r)):xt(As.candidates,Ns)||(As.candidates=$r(As.candidates,Ns),nH(r))}!(m&128)&&Dn.flags&262144&&As.topLevel&&!Q8(_,Dn)&&(As.topLevel=!1,nH(r))}j=Math.min(j,m);return}const fa=x0(Dn,!1);if(fa!==Dn)Re(on,fa);else if(Dn.flags&8388608){const Ns=x0(Dn.indexType,!1);if(Ns.flags&465829888){const No=UOe(x0(Dn.objectType,!1),Ns,!1);No&&No!==Dn&&Re(on,No)}}}if(Ci(on)&4&&Ci(Dn)&4&&(on.target===Dn.target||Wp(on)&&Wp(Dn))&&!(on.node&&Dn.node))Ir(Go(on),Go(Dn),gpe(on.target));else if(on.flags&4194304&&Dn.flags&4194304)Wr(on.type,Dn.type);else if((W8(on)||on.flags&4)&&Dn.flags&4194304){const As=B1t(on);Qt(As,Dn.type,256)}else if(on.flags&8388608&&Dn.flags&8388608)Re(on.objectType,Dn.objectType),Re(on.indexType,Dn.indexType);else if(on.flags&268435456&&Dn.flags&268435456)on.symbol===Dn.symbol&&Re(on.type,Dn.type);else if(on.flags&33554432)Re(on.baseType,Dn),Ct(F_e(on),Dn,4);else if(Dn.flags&16777216)Zr(on,Dn,Ei);else if(Dn.flags&3145728)dn(on,Dn.types,Dn.flags);else if(on.flags&1048576){const As=on.types;for(const fa of As)Re(fa,Dn)}else if(Dn.flags&134217728)Js(on,Dn);else{if(on=fm(on),!(m&512&&on.flags&467927040)){const As=Jf(on);if(As!==on&&$&&!(As.flags&2621440))return $=!1,Re(As,Dn);on=As}on.flags&2621440&&Zr(on,Dn,wa)}}}function Ct(on,Dn,As){const fa=m;m|=As,Re(on,Dn),m=fa}function Qt(on,Dn,As){const fa=m;m|=As,Wr(on,Dn),m=fa}function sn(on,Dn,As,fa){const Ns=m;m|=fa,dn(on,Dn,As),m=Ns}function Zr(on,Dn,As){const fa=on.id+","+Dn.id,Ns=re&&re.get(fa);if(Ns!==void 0){j=Math.min(j,Ns);return}(re||(re=new Map)).set(fa,-1);const No=j;j=2048;const dc=je,el=x3(on),Ya=x3(Dn);xt(ae,el)&&(je|=1),xt(ke,Ya)&&(je|=2),je!==3?((ae||(ae=[])).push(el),(ke||(ke=[])).push(Ya),As(on,Dn),ke.pop(),ae.pop()):j=-1,je=dc,re.set(fa,j),j=Math.min(j,No)}function cn(on,Dn,As){let fa,Ns;for(const No of Dn)for(const dc of on)As(dc,No)&&(Re(dc,No),fa=$f(fa,dc),Ns=$f(Ns,No));return[fa?hr(on,No=>!xt(fa,No)):on,Ns?hr(Dn,No=>!xt(Ns,No)):Dn]}function Ir(on,Dn,As){const fa=on.length<Dn.length?on.length:Dn.length;for(let Ns=0;Ns<fa;Ns++)Ns<As.length&&(As[Ns]&7)===2?Wr(on[Ns],Dn[Ns]):Re(on[Ns],Dn[Ns])}function Wr(on,Dn){b=!b,Re(on,Dn),b=!b}function Un(on,Dn){ge||m&1024?Wr(on,Dn):Re(on,Dn)}function Ar(on){if(on.flags&8650752){for(const Dn of r)if(on===Dn.typeParameter)return Dn}}function Kr(on){let Dn;for(const As of on){const fa=As.flags&2097152&&He(As.types,Ns=>!!Ar(Ns));if(!fa||Dn&&fa!==Dn)return;Dn=fa}return Dn}function dn(on,Dn,As){let fa=0;if(As&1048576){let Ns;const No=on.flags&1048576?on.types:[on],dc=new Array(No.length);let el=!1;for(const Ya of Dn)if(Ar(Ya))Ns=Ya,fa++;else for(let Uf=0;Uf<No.length;Uf++){const Tt=j;j=2048,Re(No[Uf],Ya),j===m&&(dc[Uf]=!0),el=el||j===-1,j=Math.min(j,Tt)}if(fa===0){const Ya=Kr(Dn);Ya&&Ct(on,Ya,1);return}if(fa===1&&!el){const Ya=mn(No,(Uf,Tt)=>dc[Tt]?void 0:Uf);if(Ya.length){Re(bi(Ya),Ns);return}}}else for(const Ns of Dn)Ar(Ns)?fa++:Re(on,Ns);if(As&2097152?fa===1:fa>0)for(const Ns of Dn)Ar(Ns)&&Ct(on,Ns,1)}function xi(on,Dn,As){if(As.flags&1048576){let fa=!1;for(const Ns of As.types)fa=xi(on,Dn,Ns)||fa;return fa}if(As.flags&4194304){const fa=Ar(As.type);if(fa&&!fa.isFixed&&!F9e(on)){const Ns=L9e(on,Dn,As);Ns&&Ct(Ns,fa.typeParameter,Ci(on)&262144?16:8)}return!0}if(As.flags&262144){Ct(Sh(on),As,32);const fa=ES(As);if(fa&&xi(on,Dn,fa))return!0;const Ns=qt(Ho(on),En),No=qt(gf(on),dc=>dc!==Rf?dc.type:At);return Re(bi(Cr(Ns,No)),uy(Dn)),!0}return!1}function Ei(on,Dn){if(on.flags&16777216)Re(on.checkType,Dn.checkType),Re(on.extendsType,Dn.extendsType),Re(ub(on),ub(Dn)),Re(fb(on),fb(Dn));else{const As=[ub(Dn),fb(Dn)];sn(on,As,Dn.flags,b?64:0)}}function Js(on,Dn){const As=B9e(on,Dn),fa=Dn.types;if(As||ut(Dn.texts,Ns=>Ns.length===0))for(let Ns=0;Ns<fa.length;Ns++){const No=As?As[Ns]:At,dc=fa[Ns];if(No.flags&128&&dc.flags&8650752){const el=Ar(dc),Ya=el?jf(el.typeParameter):void 0;if(Ya&&!rc(Ya)){const Uf=Ya.flags&1048576?Ya.types:[Ya];let Tt=Cf(Uf,(Ae,Sn)=>Ae|Sn.flags,0);if(!(Tt&4)){const Ae=No.value;Tt&296&&!R9e(Ae,!0)&&(Tt&=-297),Tt&2112&&!Xj(Ae,!0)&&(Tt&=-2113);const Sn=Cf(Uf,(vn,Wn)=>Wn.flags&Tt?vn.flags&4?vn:Wn.flags&4?No:vn.flags&134217728?vn:Wn.flags&134217728&&jpe(No,Wn)?No:vn.flags&268435456?vn:Wn.flags&268435456&&Ae===BOe(Wn.symbol,Ae)?No:vn.flags&128?vn:Wn.flags&128&&Wn.value===Ae?Wn:vn.flags&8?vn:Wn.flags&8?Jm(+Ae):vn.flags&32?vn:Wn.flags&32?Jm(+Ae):vn.flags&256?vn:Wn.flags&256&&Wn.value===+Ae?Wn:vn.flags&64?vn:Wn.flags&64?$1t(Ae):vn.flags&2048?vn:Wn.flags&2048&&AT(Wn.value)===Ae?Wn:vn.flags&16?vn:Wn.flags&16?Ae==="true"?$e:Ae==="false"?dt:Be:vn.flags&512?vn:Wn.flags&512&&Wn.intrinsicName===Ae?Wn:vn.flags&32768?vn:Wn.flags&32768&&Wn.intrinsicName===Ae?Wn:vn.flags&65536?vn:Wn.flags&65536&&Wn.intrinsicName===Ae?Wn:vn:vn,At);if(!(Sn.flags&131072)){Re(Sn,dc);continue}}}}Re(No,dc)}}function wa(on,Dn){var As,fa;if(Ci(on)&4&&Ci(Dn)&4&&(on.target===Dn.target||Wp(on)&&Wp(Dn))){Ir(Go(on),Go(Dn),gpe(on.target));return}if($p(on)&&$p(Dn)){Re(Rm(on),Rm(Dn)),Re(uy(on),uy(Dn));const Ns=y0(on),No=y0(Dn);Ns&&No&&Re(Ns,No)}if(Ci(Dn)&32&&!Dn.declaration.nameType){const Ns=Rm(Dn);if(xi(on,Dn,Ns))return}if(!z1t(on,Dn)){if(IS(on)){if(po(Dn)){const Ns=cb(on),No=cb(Dn),dc=Go(Dn),el=Dn.target.elementFlags;if(po(on)&&S1t(on,Dn)){for(let Tt=0;Tt<No;Tt++)Re(Go(on)[Tt],dc[Tt]);return}const Ya=po(on)?Math.min(on.target.fixedLength,Dn.target.fixedLength):0,Uf=Math.min(po(on)?QL(on.target,3):0,Dn.target.hasRestElement?QL(Dn.target,3):0);for(let Tt=0;Tt<Ya;Tt++)Re(Go(on)[Tt],dc[Tt]);if(!po(on)||Ns-Ya-Uf===1&&on.target.elementFlags[Ya]&4){const Tt=Go(on)[Ya];for(let Ae=Ya;Ae<No-Uf;Ae++)Re(el[Ae]&8?yf(Tt):Tt,dc[Ae])}else{const Tt=No-Ya-Uf;if(Tt===2){if(el[Ya]&el[Ya+1]&8){const Ae=Ar(dc[Ya]);Ae&&Ae.impliedArity!==void 0&&(Re(v3(on,Ya,Uf+Ns-Ae.impliedArity),dc[Ya]),Re(v3(on,Ya+Ae.impliedArity,Uf),dc[Ya+1]))}else if(el[Ya]&8&&el[Ya+1]&4){const Ae=(As=Ar(dc[Ya]))==null?void 0:As.typeParameter,Sn=Ae&&jf(Ae);if(Sn&&po(Sn)&&!Sn.target.hasRestElement){const vn=Sn.target.fixedLength;Re(v3(on,Ya,Ns-(Ya+vn)),dc[Ya]),Re(w3(on,Ya+vn,Uf),dc[Ya+1])}}else if(el[Ya]&4&&el[Ya+1]&8){const Ae=(fa=Ar(dc[Ya+1]))==null?void 0:fa.typeParameter,Sn=Ae&&jf(Ae);if(Sn&&po(Sn)&&!Sn.target.hasRestElement){const vn=Sn.target.fixedLength,Wn=Ns-QL(Dn.target,3),Kn=Wn-vn,ia=jm(Go(on).slice(Kn,Wn),on.target.elementFlags.slice(Kn,Wn),!1,on.target.labeledElementDeclarations&&on.target.labeledElementDeclarations.slice(Kn,Wn));Re(w3(on,Ya,Uf+vn),dc[Ya]),Re(ia,dc[Ya+1])}}}else if(Tt===1&&el[Ya]&8){const Ae=Dn.target.elementFlags[No-1]&2,Sn=v3(on,Ya,Uf);Ct(Sn,dc[Ya],Ae?2:0)}else if(Tt===1&&el[Ya]&4){const Ae=w3(on,Ya,Uf);Ae&&Re(Ae,dc[Ya])}}for(let Tt=0;Tt<Uf;Tt++)Re(Go(on)[Ns-Tt-1],dc[No-Tt-1]);return}if(Wp(Dn)){Ls(on,Dn);return}}su(on,Dn),Hp(on,Dn,0),Hp(on,Dn,1),Ls(on,Dn)}}function su(on,Dn){const As=F1(Dn);for(const fa of As){const Ns=Ra(on,fa.escapedName);Ns&&!Oe(Ns.declarations,Rpe)&&Re(En(Ns),En(fa))}}function Hp(on,Dn,As){const fa=ya(on,As),Ns=ya(Dn,As),No=fa.length,dc=Ns.length,el=No<dc?No:dc;for(let Ya=0;Ya<el;Ya++)xp(eyt(fa[No-el+Ya]),R8(Ns[dc-el+Ya]))}function xp(on,Dn){const As=x,fa=Dn.declaration?Dn.declaration.kind:0;x=x||fa===171||fa===170||fa===173,Ppe(on,Dn,Un),x=As,Dpe(on,Dn,Re)}function Ls(on,Dn){const As=Ci(on)&Ci(Dn)&32?8:0,fa=gf(Dn);if(eH(on))for(const Ns of fa){const No=[];for(const dc of Ho(on))if(hE(b3(dc,8576),Ns.keyType)){const el=En(dc);No.push(dc.flags&16777216?Epe(el):el)}for(const dc of gf(on))hE(dc.keyType,Ns.keyType)&&No.push(dc.type);No.length&&Ct(bi(No),Ns.type,As)}for(const Ns of fa){const No=WL(on,Ns.keyType);No&&Ct(No.type,Ns.type,As)}}}function H1t(r,c){return c===it?r===c:fy(r,c)||!!(c.flags&4&&r.flags&128||c.flags&8&&r.flags&256)}function G1t(r,c){return!!(r.flags&524288&&c.flags&524288&&r.symbol&&r.symbol===c.symbol||r.aliasSymbol&&r.aliasTypeArguments&&r.aliasSymbol===c.aliasSymbol)}function X1t(r){const c=hf(r);return!!c&&Qc(c.flags&16777216?m_e(c):c,406978556)}function hb(r){return!!(Ci(r)&128)}function Jpe(r){return!!(Ci(r)&16512)}function Q1t(r){if(r.length>1){const c=hr(r,Jpe);if(c.length){const _=bi(c,2);return Cr(hr(r,m=>!Jpe(m)),[_])}}return r}function Y1t(r){return r.priority&416?no(r.contraCandidates):m1t(r.contraCandidates)}function Z1t(r,c){const _=Q1t(r.candidates),m=X1t(r.typeParameter)||$L(r.typeParameter),b=!m&&r.topLevel&&(r.isFixed||!R1t(c,r.typeParameter)),x=m?$s(_,f_):b?$s(_,F2):_,D=r.priority&416?bi(x,2):d1t(x);return Z_(D)}function Upe(r,c){const _=r.inferences[c];if(!_.inferredType){let m;const b=r.signature;if(b){const D=_.candidates?Z1t(_,b):void 0;if(_.contraCandidates)m=D&&!(D.flags&131072)&&Oe(_.contraCandidates,$=>U1(D,$))&&ut(r.inferences,$=>$!==_&&hf($.typeParameter)!==_.typeParameter||ut($.candidates,re=>U1(re,D)))?D:Y1t(_);else if(D)m=D;else if(r.flags&1)m=St;else{const j=AS(_.typeParameter);j&&(m=Cs(j,A0t(E0t(r,c),r.nonFixingMapper)))}}else m=M9e(_);_.inferredType=m||zpe(!!(r.flags&2));const x=hf(_.typeParameter);if(x){const D=Cs(x,r.nonFixingMapper);(!m||!r.compareTypes(m,Vp(D,m)))&&(_.inferredType=m=D)}}return _.inferredType}function zpe(r){return r?Fe:xe}function Vpe(r){const c=[];for(let _=0;_<r.inferences.length;_++)c.push(Upe(r,_));return c}function J9e(r){switch(r.escapedText){case"document":case"console":return v.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom;case"$":return se.types?v.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:v.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 se.types?v.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:v.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 se.types?v.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:v.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 v.Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later;case"await":if(Da(r.parent))return v.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function;default:return r.parent.kind===300?v.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:v.Cannot_find_name_0}}function Id(r){const c=gi(r);return c.resolvedSymbol||(c.resolvedSymbol=!cl(r)&&Xc(r,r.escapedText,1160127,J9e(r),r,!zee(r),!1)||Tr),c.resolvedSymbol}function E3(r){return!!kn(r,c=>c.kind===183?!0:c.kind===79||c.kind===163?!1:"quit")}function U9e(r){return!!(r.flags&16777216||kn(r,c=>Yf(c)||_p(c)))}function sH(r,c,_,m){switch(r.kind){case 79:if(!VC(r)){const D=Id(r);return D!==Tr?`${m?Wo(m):"-1"}|${vf(c)}|${vf(_)}|${Ha(D)}`:void 0}case 108:return`0|${m?Wo(m):"-1"}|${vf(c)}|${vf(_)}`;case 232:case 214:return sH(r.expression,c,_,m);case 163:const b=sH(r.left,c,_,m);return b&&b+"."+r.right.escapedText;case 208:case 209:const x=FS(r);if(x!==void 0){const D=sH(r.expression,c,_,m);return D&&D+"."+x}break;case 203:case 204:case 259:case 215:case 216:case 171:return`${Wo(r)}#${vf(c)}`}}function Mu(r,c){switch(c.kind){case 214:case 232:return Mu(r,c.expression);case 223:return Xf(c)&&Mu(r,c.left)||$n(c)&&c.operatorToken.kind===27&&Mu(r,c.right)}switch(r.kind){case 233:return c.kind===233&&r.keywordToken===c.keywordToken&&r.name.escapedText===c.name.escapedText;case 79:case 80:return VC(r)?c.kind===108:c.kind===79&&Id(r)===Id(c)||(xs(c)||qo(c))&&Mm(Id(r))===Zn(c);case 108:return c.kind===108;case 106:return c.kind===106;case 232:case 214:return Mu(r.expression,c);case 208:case 209:const _=FS(r),m=$c(c)?FS(c):void 0;return _!==void 0&&m!==void 0&&m===_&&Mu(r.expression,c.expression);case 163:return $c(c)&&r.right.escapedText===FS(c)&&Mu(r.left,c.expression);case 223:return $n(r)&&r.operatorToken.kind===27&&Mu(r.right,c)}return!1}function FS(r){if(oi(r))return r.name.escapedText;if(qc(r))return K1t(r);if(qo(r)){const c=Br(r);return c?Vc(c):void 0}if(ua(r))return""+r.parent.parameters.indexOf(r)}function z9e(r){return r.flags&8192?r.escapedName:r.flags&384?Vc(""+r.value):void 0}function K1t(r){if(Zp(r.argumentExpression))return Vc(r.argumentExpression.text);if(El(r.argumentExpression)){const c=ml(r.argumentExpression,111551,!0);if(!c||!(P3(c)||c.flags&8))return;const _=c.valueDeclaration;if(_===void 0)return;const m=D_(_);if(m){const b=z9e(m);if(b!==void 0)return b}if(hx(_)&&n0(_,r.argumentExpression)){const b=j7(_);if(b)return z9e(Tf(b));if(LT(_))return P6(_.name)}}}function V9e(r,c){for(;$c(r);)if(r=r.expression,Mu(r,c))return!0;return!1}function Mk(r,c){for(;cf(r);)if(r=r.expression,Mu(r,c))return!0;return!1}function Y8(r,c){if(r&&r.flags&1048576){const _=v_e(r,c);if(_&&ul(_)&2)return _.links.isDiscriminantProperty===void 0&&(_.links.isDiscriminantProperty=(_.links.checkFlags&192)===192&&!T3(En(_))),!!_.links.isDiscriminantProperty}return!1}function $9e(r,c){let _;for(const m of r)if(Y8(c,m.escapedName)){if(_){_.push(m);continue}_=[m]}return _}function evt(r,c){const _=new Map;let m=0;for(const b of r)if(b.flags&61603840){const x=Yl(b,c);if(x){if(!W8(x))return;let D=!1;BS(x,j=>{const $=vf(f_(j)),re=_.get($);re?re!==xe&&(_.set($,xe),D=!0):_.set($,b)}),D||m++}}return m>=10&&m*2>=r.length?_:void 0}function fM(r){const c=r.types;if(!(c.length<10||Ci(r)&32768||An(c,_=>!!(_.flags&59506688))<10)){if(r.keyPropertyName===void 0){const _=Q(c,b=>b.flags&59506688?Q(Ho(b),x=>_m(En(x))?x.escapedName:void 0):void 0),m=_&&evt(c,_);r.keyPropertyName=m?_:"",r.constituentMap=m}return r.keyPropertyName.length?r.keyPropertyName:void 0}}function _M(r,c){var _;const m=(_=r.constituentMap)==null?void 0:_.get(vf(f_(c)));return m!==xe?m:void 0}function q9e(r,c){const _=fM(r),m=_&&Yl(c,_);return m&&_M(r,m)}function tvt(r,c){const _=fM(r),m=_&&He(c.properties,x=>x.symbol&&x.kind===299&&x.symbol.escapedName===_&&vM(x.initializer)),b=m&&FM(m.initializer);return b&&_M(r,b)}function W9e(r,c){return Mu(r,c)||V9e(r,c)}function H9e(r,c){if(r.arguments){for(const _ of r.arguments)if(W9e(c,_))return!0}return!!(r.expression.kind===208&&W9e(c,r.expression.expression))}function $pe(r){return(!r.id||r.id<0)&&(r.id=Vne,Vne++),r.id}function rvt(r,c){if(!(r.flags&1048576))return io(r,c);for(const _ of r.types)if(io(_,c))return!0;return!1}function nvt(r,c){var _;if(r===c)return r;if(c.flags&131072)return c;const m=`A${vf(r)},${vf(c)}`;return(_=l2(m))!=null?_:e0(m,ivt(r,c))}function ivt(r,c){const _=Zl(r,b=>rvt(c,b)),m=c.flags&512&&O2(c)?Ic(_,CE):_;return io(c,m)?m:r}function qpe(r){const c=um(r);return!!(c.callSignatures.length||c.constructSignatures.length||c.members.get("bind")&&U1(r,Hc))}function bf(r){r.flags&467927040&&(r=jf(r)||xe);const c=r.flags;if(c&268435460)return K?16317953:16776705;if(c&134217856){const _=c&128&&r.value==="";return K?_?12123649:7929345:_?12582401:16776705}if(c&40)return K?16317698:16776450;if(c&256){const _=r.value===0;return K?_?12123394:7929090:_?12582146:16776450}if(c&64)return K?16317188:16775940;if(c&2048){const _=w9e(r);return K?_?12122884:7928580:_?12581636:16775940}return c&16?K?16316168:16774920:c&528?K?r===dt||r===ne?12121864:7927560:r===dt||r===ne?12580616:16774920:c&524288?Ci(r)&16&&_y(r)?K?83427327:83886079:qpe(r)?K?7880640:16728e3:K?7888800:16736160:c&16384?9830144:c&32768?26607360:c&65536?42917664:c&12288?K?7925520:16772880:c&67108864?K?7888800:16736160:c&131072?0:c&1048576?Cf(r.types,(_,m)=>_|bf(m),0):c&2097152?svt(r):83886079}function svt(r){const c=Qc(r,134348796);let _=0,m=134217727;for(const b of r.types)if(!(c&&b.flags&524288)){const x=bf(b);_|=x,m&=x}return _&8256|m&134209471}function _d(r,c){return Zl(r,_=>(bf(_)&c)!==0)}function RS(r,c){const _=G9e(_d(K&&r.flags&2?xl:r,c));if(K)switch(c){case 524288:return Ic(_,m=>bf(m)&65536?no([m,bf(m)&131072&&!Qc(_,65536)?bi([js,qr]):js]):m);case 1048576:return Ic(_,m=>bf(m)&131072?no([m,bf(m)&65536&&!Qc(_,32768)?bi([js,Ze]):js]):m);case 2097152:case 4194304:return Ic(_,m=>bf(m)&262144?C1t(m):m)}return _}function G9e(r){return r===xl?xe:r}function Wpe(r,c){return c?bi([Ee(r),Tf(c)]):r}function X9e(r,c){var _;const m=S0(c);if(!ly(m))return Ne;const b=yh(m);return Yl(r,b)||Z8((_=gE(r,b))==null?void 0:_.type)||Ne}function Q9e(r,c){return bg(r,C3)&&h1t(r,c)||Z8(q1(65,r,Ze,void 0))||Ne}function Z8(r){return r&&(se.noUncheckedIndexedAccess?bi([r,it]):r)}function Y9e(r){return yf(q1(65,r,Ze,void 0)||Ne)}function avt(r){return r.parent.kind===206&&Hpe(r.parent)||r.parent.kind===299&&Hpe(r.parent.parent)?Wpe(pM(r),r.right):Tf(r.right)}function Hpe(r){return r.parent.kind===223&&r.parent.left===r||r.parent.kind===247&&r.parent.initializer===r}function ovt(r,c){return Q9e(pM(r),r.elements.indexOf(c))}function cvt(r){return Y9e(pM(r.parent))}function Z9e(r){return X9e(pM(r.parent),r.name)}function lvt(r){return Wpe(Z9e(r),r.objectAssignmentInitializer)}function pM(r){const{parent:c}=r;switch(c.kind){case 246:return ye;case 247:return VM(c)||Ne;case 223:return avt(c);case 217:return Ze;case 206:return ovt(c,r);case 227:return cvt(c);case 299:return Z9e(c);case 300:return lvt(c)}return Ne}function uvt(r){const c=r.parent,_=eLe(c.parent),m=c.kind===203?X9e(_,r.propertyName||r.name):r.dotDotDotToken?Y9e(_):Q9e(_,c.elements.indexOf(r));return Wpe(m,r.initializer)}function K9e(r){return gi(r).resolvedType||Tf(r)}function fvt(r){return r.initializer?K9e(r.initializer):r.parent.parent.kind===246?ye:r.parent.parent.kind===247&&VM(r.parent.parent)||Ne}function eLe(r){return r.kind===257?fvt(r):uvt(r)}function _vt(r){return r.kind===257&&r.initializer&&nc(r.initializer)||r.kind!==205&&r.parent.kind===223&&nc(r.parent.right)}function R2(r){switch(r.kind){case 214:return R2(r.expression);case 223:switch(r.operatorToken.kind){case 63:case 75:case 76:case 77:return R2(r.left);case 27:return R2(r.right)}}return r}function tLe(r){const{parent:c}=r;return c.kind===214||c.kind===223&&c.operatorToken.kind===63&&c.left===r||c.kind===223&&c.operatorToken.kind===27&&c.right===r?tLe(c):r}function pvt(r){return r.kind===292?f_(Tf(r.expression)):At}function aH(r){const c=gi(r);if(!c.switchTypes){c.switchTypes=[];for(const _ of r.caseBlock.clauses)c.switchTypes.push(pvt(_))}return c.switchTypes}function rLe(r){if(Oe(r.caseBlock.clauses,_=>_.kind===292&&!sc(_.expression)))return;const c=[];for(const _ of r.caseBlock.clauses){const m=_.kind===292?_.expression.text:void 0;c.push(m&&!xt(c,m)?m:void 0)}return c}function dvt(r,c){return r.flags&1048576?!Q(r.types,_=>!xt(c,_)):xt(c,r)}function K8(r,c){return r===c||c.flags&1048576&&mvt(r,c)}function mvt(r,c){if(r.flags&1048576){for(const _ of r.types)if(!D2(c.types,_))return!1;return!0}return r.flags&1056&&P8(r)===c?!0:D2(c.types,r)}function BS(r,c){return r.flags&1048576?Q(r.types,c):c(r)}function my(r,c){return r.flags&1048576?Oe(r.types,c):c(r)}function bg(r,c){return r.flags&1048576?ut(r.types,c):c(r)}function hvt(r,c){return r.flags&3145728?ut(r.types,c):c(r)}function Zl(r,c){if(r.flags&1048576){const _=r.types,m=hr(_,c);if(m===_)return r;const b=r.origin;let x;if(b&&b.flags&1048576){const D=b.types,j=hr(D,$=>!!($.flags&1048576)||c($));if(D.length-j.length===_.length-m.length){if(j.length===1)return j[0];x=W_e(1048576,j)}}return G_e(m,r.objectFlags&16809984,void 0,void 0,x)}return r.flags&131072||c(r)?r:At}function oH(r,c){return Zl(r,_=>_!==c)}function gvt(r){return r.flags&1048576?r.types.length:1}function Ic(r,c,_){if(r.flags&131072)return r;if(!(r.flags&1048576))return c(r);const m=r.origin,b=m&&m.flags&1048576?m.types:r.types;let x,D=!1;for(const j of b){const $=j.flags&1048576?Ic(j,c,_):c(j);D||(D=j!==$),$&&(x?x.push($):x=[$])}return D?x&&bi(x,_?0:1):r}function nLe(r,c,_,m){return r.flags&1048576&&_?bi(qt(r.types,c),1,_,m):Ic(r,c)}function A3(r,c){return Zl(r,_=>(_.flags&c)!==0)}function iLe(r,c){return Qc(r,134217804)&&Qc(c,402655616)?Ic(r,_=>_.flags&4?A3(c,402653316):xE(_)&&!Qc(c,402653188)?A3(c,128):_.flags&8?A3(c,264):_.flags&64?A3(c,2112):_):r}function AE(r){return r.flags===0}function jS(r){return r.flags===0?r.type:r}function PE(r,c){return c?{flags:0,type:r.flags&131072?St:r}:r}function yvt(r){const c=vp(256);return c.elementType=r,c}function Gpe(r){return cs[r.id]||(cs[r.id]=yvt(r))}function sLe(r,c){const _=uM(V1(FM(c)));return K8(_,r.elementType)?r:Gpe(bi([r.elementType,_]))}function vvt(r){return r.flags&131072?tn:yf(r.flags&1048576?bi(r.types,2):r)}function bvt(r){return r.finalArrayType||(r.finalArrayType=vvt(r.elementType))}function dM(r){return Ci(r)&256?bvt(r):r}function Tvt(r){return Ci(r)&256?r.elementType:At}function Svt(r){let c=!1;for(const _ of r)if(!(_.flags&131072)){if(!(Ci(_)&256))return!1;c=!0}return c}function aLe(r){const c=tLe(r),_=c.parent,m=oi(_)&&(_.name.escapedText==="length"||_.parent.kind===210&&Ye(_.name)&&dee(_.name)),b=_.kind===209&&_.expression===c&&_.parent.kind===223&&_.parent.operatorToken.kind===63&&_.parent.left===_&&!Rg(_.parent)&&Su(Tf(_.argumentExpression),296);return m||b}function xvt(r){return(xs(r)||Pa(r)||Np(r)||ua(r))&&!!(Ju(r)||Mn(r)&&pv(r)&&r.initializer&&n4(r.initializer)&&bm(r.initializer))}function cH(r,c){if(r=Il(r),r.flags&8752)return En(r);if(r.flags&7){if(ul(r)&262144){const m=r.links.syntheticOrigin;if(m&&cH(m))return En(r)}const _=r.valueDeclaration;if(_){if(xvt(_))return En(r);if(xs(_)&&_.parent.parent.kind===247){const m=_.parent.parent,b=mM(m.expression,void 0);if(b){const x=m.awaitModifier?15:13;return q1(x,b,Ze,void 0)}}c&&Eo(c,ni(_,v._0_needs_an_explicit_type_annotation,A(r)))}}}function mM(r,c){if(!(r.flags&33554432))switch(r.kind){case 79:const _=Mm(Id(r));return cH(_,c);case 108:return zvt(r);case 106:return Kpe(r);case 208:{const m=mM(r.expression,c);if(m){const b=r.name;let x;if(as(b)){if(!m.symbol)return;x=Ra(m,s5(m.symbol,b.escapedText))}else x=Ra(m,b.escapedText);return x&&cH(x,c)}return}case 214:return mM(r.expression,c)}}function lH(r){const c=gi(r);let _=c.effectsSignature;if(_===void 0){let m;r.parent.kind===241?m=mM(r.expression,void 0):r.expression.kind!==106&&(cf(r)?m=zm(H8(zs(r.expression),r.expression),r.expression):m=I3(r.expression));const b=ya(m&&Jf(m)||xe,0),x=b.length===1&&!b[0].typeParameters?b[0]:Oe(b,oLe)?L3(r):void 0;_=c.effectsSignature=x&&oLe(x)?x:br}return _===br?void 0:_}function oLe(r){return!!(ld(r)||r.declaration&&(yE(r.declaration)||xe).flags&131072)}function kvt(r,c){if(r.kind===1||r.kind===3)return c.arguments[r.parameterIndex];const _=xc(c.expression);return $c(_)?xc(_.expression):void 0}function Cvt(r){const c=kn(r,fK),_=bn(r),m=Y0(_,c.statements.pos);Do.add(gu(_,m.start,m.length,v.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis))}function hM(r){const c=uH(r,!1);return Nr=r,On=c,c}function gM(r){const c=xc(r,!0);return c.kind===95||c.kind===223&&(c.operatorToken.kind===55&&(gM(c.left)||gM(c.right))||c.operatorToken.kind===56&&gM(c.left)&&gM(c.right))}function uH(r,c){for(;;){if(r===Nr)return On;const _=r.flags;if(_&4096){if(!c){const m=$pe(r),b=Gw[m];return b!==void 0?b:Gw[m]=uH(r,!0)}c=!1}if(_&368)r=r.antecedent;else if(_&512){const m=lH(r.node);if(m){const b=ld(m);if(b&&b.kind===3&&!b.type){const x=r.node.arguments[b.parameterIndex];if(x&&gM(x))return!1}if(Xo(m).flags&131072)return!1}r=r.antecedent}else{if(_&4)return Oe(r.antecedents,m=>uH(m,!1));if(_&8){const m=r.antecedents;if(m===void 0||m.length===0)return!1;r=m[0]}else if(_&128){if(r.clauseStart===r.clauseEnd&&FMe(r.switchStatement))return!1;r=r.antecedent}else if(_&1024){Nr=void 0;const m=r.target,b=m.antecedents;m.antecedents=r.antecedents;const x=uH(r.antecedent,!1);return m.antecedents=b,x}else return!(_&1)}}}function fH(r,c){for(;;){const _=r.flags;if(_&4096){if(!c){const m=$pe(r),b=KT[m];return b!==void 0?b:KT[m]=fH(r,!0)}c=!1}if(_&496)r=r.antecedent;else if(_&512){if(r.node.expression.kind===106)return!0;r=r.antecedent}else{if(_&4)return ut(r.antecedents,m=>fH(m,!1));if(_&8)r=r.antecedents[0];else if(_&1024){const m=r.target,b=m.antecedents;m.antecedents=r.antecedents;const x=fH(r.antecedent,!1);return m.antecedents=b,x}else return!!(_&1)}}}function cLe(r){switch(r.kind){case 79:if(!VC(r)){const c=Id(r);return P3(c)||pte(c)&&!_H(c)}break;case 208:case 209:return cLe(r.expression)&&dm(gi(r).resolvedSymbol||Tr)}return!1}function gb(r,c,_=c,m,b=(x=>(x=Pi(r,Y7))==null?void 0:x.flowNode)()){let x,D=!1,j=0;if(Ts)return Ne;if(!b)return c;xn++;const $=hi,re=jS(je(b));hi=$;const ae=Ci(re)&256&&aLe(r)?tn:dM(re);if(ae===yn||r.parent&&r.parent.kind===232&&!(ae.flags&131072)&&_d(ae,2097152).flags&131072)return c;return ae===Y?xe:ae;function ke(){return D?x:(D=!0,x=sH(r,c,_,m))}function je(Nt){var Zt;if(j===2e3)return(Zt=Hi)==null||Zt.instant(Hi.Phase.CheckTypes,"getTypeAtFlowNode_DepthLimit",{flowId:Nt.id}),Ts=!0,Cvt(r),Ne;j++;let yr;for(;;){const pr=Nt.flags;if(pr&4096){for(let pn=$;pn<hi;pn++)if(ZT[pn]===Nt)return j--,jv[pn];yr=Nt}let Xr;if(pr&16){if(Xr=Ct(Nt),!Xr){Nt=Nt.antecedent;continue}}else if(pr&512){if(Xr=sn(Nt),!Xr){Nt=Nt.antecedent;continue}}else if(pr&96)Xr=cn(Nt);else if(pr&128)Xr=Ir(Nt);else if(pr&12){if(Nt.antecedents.length===1){Nt=Nt.antecedents[0];continue}Xr=pr&4?Wr(Nt):Un(Nt)}else if(pr&256){if(Xr=Zr(Nt),!Xr){Nt=Nt.antecedent;continue}}else if(pr&1024){const pn=Nt.target,Ms=pn.antecedents;pn.antecedents=Nt.antecedents,Xr=je(Nt.antecedent),pn.antecedents=Ms}else if(pr&2){const pn=Nt.node;if(pn&&pn!==m&&r.kind!==208&&r.kind!==209&&r.kind!==108){Nt=pn.flowNode;continue}Xr=_}else Xr=gN(c);return yr&&(ZT[hi]=yr,jv[hi]=Xr,hi++),j--,Xr}}function Re(Nt){const Zt=Nt.node;return Xpe(Zt.kind===257||Zt.kind===205?eLe(Zt):pM(Zt),r)}function Ct(Nt){const Zt=Nt.node;if(Mu(r,Zt)){if(!hM(Nt))return yn;if(Cx(Zt)===2){const yr=je(Nt.antecedent);return PE(V1(jS(yr)),AE(yr))}if(c===Pt||c===tn){if(_vt(Zt))return Gpe(At);const yr=F2(Re(Nt));return io(yr,c)?yr:Vt}return c.flags&1048576?nvt(c,Re(Nt)):c}if(V9e(r,Zt)){if(!hM(Nt))return yn;if(xs(Zt)&&(Mn(Zt)||My(Zt))){const yr=J7(Zt);if(yr&&(yr.kind===215||yr.kind===216))return je(Nt.antecedent)}return c}if(xs(Zt)&&Zt.parent.parent.kind===246&&(Mu(r,Zt.parent.parent.expression)||Mk(Zt.parent.parent.expression,r)))return hde(dM(jS(je(Nt.antecedent))))}function Qt(Nt,Zt){const yr=xc(Zt,!0);if(yr.kind===95)return yn;if(yr.kind===223){if(yr.operatorToken.kind===55)return Qt(Qt(Nt,yr.left),yr.right);if(yr.operatorToken.kind===56)return bi([Qt(Nt,yr.left),Qt(Nt,yr.right)])}return is(Nt,yr,!0)}function sn(Nt){const Zt=lH(Nt.node);if(Zt){const yr=ld(Zt);if(yr&&(yr.kind===2||yr.kind===3)){const pr=je(Nt.antecedent),Xr=dM(jS(pr)),pn=yr.type?ia(Xr,yr,Nt.node,!0):yr.kind===3&&yr.parameterIndex>=0&&yr.parameterIndex<Nt.node.arguments.length?Qt(Xr,Nt.node.arguments[yr.parameterIndex]):Xr;return pn===Xr?pr:PE(pn,AE(pr))}if(Xo(Zt).flags&131072)return yn}}function Zr(Nt){if(c===Pt||c===tn){const Zt=Nt.node,yr=Zt.kind===210?Zt.expression.expression:Zt.left.expression;if(Mu(r,R2(yr))){const pr=je(Nt.antecedent),Xr=jS(pr);if(Ci(Xr)&256){let pn=Xr;if(Zt.kind===210)for(const Ms of Zt.arguments)pn=sLe(pn,Ms);else{const Ms=FM(Zt.left.argumentExpression);Su(Ms,296)&&(pn=sLe(pn,Zt.right))}return pn===Xr?pr:PE(pn,AE(pr))}return pr}}}function cn(Nt){const Zt=je(Nt.antecedent),yr=jS(Zt);if(yr.flags&131072)return Zt;const pr=(Nt.flags&32)!==0,Xr=dM(yr),pn=is(Xr,Nt.node,pr);return pn===Xr?Zt:PE(pn,AE(Zt))}function Ir(Nt){const Zt=Nt.switchStatement.expression,yr=je(Nt.antecedent);let pr=jS(yr);if(Mu(r,Zt))pr=No(pr,Nt.switchStatement,Nt.clauseStart,Nt.clauseEnd);else if(Zt.kind===218&&Mu(r,Zt.expression))pr=Ya(pr,Nt.switchStatement,Nt.clauseStart,Nt.clauseEnd);else{K&&(Mk(Zt,r)?pr=Ns(pr,Nt.switchStatement,Nt.clauseStart,Nt.clauseEnd,pn=>!(pn.flags&163840)):Zt.kind===218&&Mk(Zt.expression,r)&&(pr=Ns(pr,Nt.switchStatement,Nt.clauseStart,Nt.clauseEnd,pn=>!(pn.flags&131072||pn.flags&128&&pn.value==="undefined"))));const Xr=dn(Zt,pr);Xr&&(pr=Js(pr,Xr,Nt.switchStatement,Nt.clauseStart,Nt.clauseEnd))}return PE(pr,AE(yr))}function Wr(Nt){const Zt=[];let yr=!1,pr=!1,Xr;for(const pn of Nt.antecedents){if(!Xr&&pn.flags&128&&pn.clauseStart===pn.clauseEnd){Xr=pn;continue}const Ms=je(pn),Wi=jS(Ms);if(Wi===c&&c===_)return Wi;ip(Zt,Wi),K8(Wi,c)||(yr=!0),AE(Ms)&&(pr=!0)}if(Xr){const pn=je(Xr),Ms=jS(pn);if(!(Ms.flags&131072)&&!xt(Zt,Ms)&&!FMe(Xr.switchStatement)){if(Ms===c&&c===_)return Ms;Zt.push(Ms),K8(Ms,c)||(yr=!0),AE(pn)&&(pr=!0)}}return PE(Ar(Zt,yr?2:1),pr)}function Un(Nt){const Zt=$pe(Nt),yr=Yy[Zt]||(Yy[Zt]=new Map),pr=ke();if(!pr)return c;const Xr=yr.get(pr);if(Xr)return Xr;for(let In=Vr;In<fn;In++)if(dk[In]===Nt&&QT[In]===pr&&YT[In].length)return PE(Ar(YT[In],1),!0);const pn=[];let Ms=!1,Wi;for(const In of Nt.antecedents){let ki;if(!Wi)ki=Wi=je(In);else{dk[fn]=Nt,QT[fn]=pr,YT[fn]=pn,fn++;const Gs=Ys;Ys=void 0,ki=je(In),Ys=Gs,fn--;const Jo=yr.get(pr);if(Jo)return Jo}const zn=jS(ki);if(ip(pn,zn),K8(zn,c)||(Ms=!0),zn===c)break}const Mr=Ar(pn,Ms?2:1);return AE(Wi)?PE(Mr,!0):(yr.set(pr,Mr),Mr)}function Ar(Nt,Zt){if(Svt(Nt))return Gpe(bi(qt(Nt,Tvt)));const yr=G9e(bi($s(Nt,dM),Zt));return yr!==c&&yr.flags&c.flags&1048576&&Wt(yr.types,c.types)?c:yr}function Kr(Nt){if(xa(r)||n4(r)||Ud(r)){if(Ye(Nt)){const yr=Id(Nt).valueDeclaration;if(yr&&(qo(yr)||ua(yr))&&r===yr.parent&&!yr.initializer&&!yr.dotDotDotToken)return yr}}else if($c(Nt)){if(Mu(r,Nt.expression))return Nt}else if(Ye(Nt)){const Zt=Id(Nt);if(P3(Zt)){const yr=Zt.valueDeclaration;if(xs(yr)&&!yr.type&&yr.initializer&&$c(yr.initializer)&&Mu(r,yr.initializer.expression))return yr.initializer;if(qo(yr)&&!yr.initializer){const pr=yr.parent.parent;if(xs(pr)&&!pr.type&&pr.initializer&&(Ye(pr.initializer)||$c(pr.initializer))&&Mu(r,pr.initializer))return yr}}}}function dn(Nt,Zt){const yr=c.flags&1048576?c:Zt;if(yr.flags&1048576){const pr=Kr(Nt);if(pr){const Xr=FS(pr);if(Xr&&Y8(yr,Xr))return pr}}}function xi(Nt,Zt,yr){const pr=FS(Zt);if(pr===void 0)return Nt;const Xr=cf(Zt),pn=K&&(Xr||eSe(Zt))&&Qc(Nt,98304);let Ms=Yl(pn?_d(Nt,2097152):Nt,pr);if(!Ms)return Nt;Ms=pn&&Xr?C0(Ms):Ms;const Wi=yr(Ms);return Zl(Nt,Mr=>{const In=FL(Mr,pr);return!(In.flags&131072)&&!(Wi.flags&131072)&&rM(Wi,In)})}function Ei(Nt,Zt,yr,pr,Xr){if((yr===36||yr===37)&&Nt.flags&1048576){const pn=fM(Nt);if(pn&&pn===FS(Zt)){const Ms=_M(Nt,Tf(pr));if(Ms)return yr===(Xr?36:37)?Ms:_m(Yl(Ms,pn)||xe)?oH(Nt,Ms):Nt}}return xi(Nt,Zt,pn=>Dn(pn,yr,pr,Xr))}function Js(Nt,Zt,yr,pr,Xr){if(pr<Xr&&Nt.flags&1048576&&fM(Nt)===FS(Zt)){const pn=aH(yr).slice(pr,Xr),Ms=bi(qt(pn,Wi=>_M(Nt,Wi)||xe));if(Ms!==xe)return Ms}return xi(Nt,Zt,pn=>No(pn,yr,pr,Xr))}function wa(Nt,Zt,yr){if(Mu(r,Zt))return RS(Nt,yr?4194304:8388608);K&&yr&&Mk(Zt,r)&&(Nt=RS(Nt,2097152));const pr=dn(Zt,Nt);return pr?xi(Nt,pr,Xr=>_d(Xr,yr?4194304:8388608)):Nt}function su(Nt,Zt,yr){const pr=Ra(Nt,Zt);return pr?!!(pr.flags&16777216)||yr:!!gE(Nt,Zt)||!yr}function Hp(Nt,Zt,yr){const pr=yh(Zt);if(my(Nt,pn=>su(pn,pr,!0)))return Zl(Nt,pn=>su(pn,pr,yr));if(yr){const pn=Dyt();if(pn)return no([Nt,TE(pn,[Zt,xe])])}return Nt}function xp(Nt,Zt,yr){switch(Zt.operatorToken.kind){case 63:case 75:case 76:case 77:return wa(is(Nt,Zt.right,yr),Zt.left,yr);case 34:case 35:case 36:case 37:const pr=Zt.operatorToken.kind,Xr=R2(Zt.left),pn=R2(Zt.right);if(Xr.kind===218&&sc(pn))return As(Nt,Xr,pr,pn,yr);if(pn.kind===218&&sc(Xr))return As(Nt,pn,pr,Xr,yr);if(Mu(r,Xr))return Dn(Nt,pr,pn,yr);if(Mu(r,pn))return Dn(Nt,pr,Xr,yr);K&&(Mk(Xr,r)?Nt=on(Nt,pr,pn,yr):Mk(pn,r)&&(Nt=on(Nt,pr,Xr,yr)));const Ms=dn(Xr,Nt);if(Ms)return Ei(Nt,Ms,pr,pn,yr);const Wi=dn(pn,Nt);if(Wi)return Ei(Nt,Wi,pr,Xr,yr);if(Uf(Xr))return Tt(Nt,pr,pn,yr);if(Uf(pn))return Tt(Nt,pr,Xr,yr);break;case 102:return Ae(Nt,Zt,yr);case 101:if(as(Zt.left))return Ls(Nt,Zt,yr);const Mr=R2(Zt.right),In=Tf(Zt.left);if(In.flags&8576){if(G8(Nt)&&$c(r)&&Mu(r.expression,Mr)&&FS(r)===yh(In))return _d(Nt,yr?524288:65536);if(Mu(r,Mr))return Hp(Nt,In,yr)}break;case 27:return is(Nt,Zt.right,yr);case 55:return yr?is(is(Nt,Zt.left,!0),Zt.right,!0):bi([is(Nt,Zt.left,!1),is(Nt,Zt.right,!1)]);case 56:return yr?bi([is(Nt,Zt.left,!0),is(Nt,Zt.right,!0)]):is(is(Nt,Zt.left,!1),Zt.right,!1)}return Nt}function Ls(Nt,Zt,yr){const pr=R2(Zt.right);if(!Mu(r,pr))return Nt;R.assertNode(Zt.left,as);const Xr=xH(Zt.left);if(Xr===void 0)return Nt;const pn=Xr.parent,Ms=tu(R.checkDefined(Xr.valueDeclaration,"should always have a declaration"))?En(pn):Tc(pn);return vn(Nt,Ms,yr,!0)}function on(Nt,Zt,yr,pr){const Xr=Zt===34||Zt===36,pn=Zt===34||Zt===35?98304:32768,Ms=Tf(yr);return Xr!==pr&&bg(Ms,Mr=>!!(Mr.flags&pn))||Xr===pr&&bg(Ms,Mr=>!(Mr.flags&(3|pn)))?RS(Nt,2097152):Nt}function Dn(Nt,Zt,yr,pr){if(Nt.flags&1)return Nt;(Zt===35||Zt===37)&&(pr=!pr);const Xr=Tf(yr),pn=Zt===34||Zt===35;if(Xr.flags&98304){if(!K)return Nt;const Ms=pn?pr?262144:2097152:Xr.flags&65536?pr?131072:1048576:pr?65536:524288;return RS(Nt,Ms)}if(pr){if(!pn&&(Nt.flags&2||my(Nt,py))){if(Xr.flags&201457660||py(Xr))return Xr;if(Xr.flags&524288)return Di}const Ms=Zl(Nt,Wi=>rM(Wi,Xr)||pn&&w1t(Wi,Xr));return iLe(Ms,Xr)}return _m(Xr)?Zl(Nt,Ms=>!(x9e(Ms)&&rM(Ms,Xr))):Nt}function As(Nt,Zt,yr,pr,Xr){(yr===35||yr===37)&&(Xr=!Xr);const pn=R2(Zt.expression);if(!Mu(r,pn)){K&&Mk(pn,r)&&Xr===(pr.text!=="undefined")&&(Nt=RS(Nt,2097152));const Ms=dn(pn,Nt);return Ms?xi(Nt,Ms,Wi=>fa(Wi,pr,Xr)):Nt}return fa(Nt,pr,Xr)}function fa(Nt,Zt,yr){return yr?dc(Nt,Zt.text):RS(Nt,zU.get(Zt.text)||32768)}function Ns(Nt,Zt,yr,pr,Xr){return yr!==pr&&ut(aH(Zt).slice(yr,pr),Xr)?_d(Nt,2097152):Nt}function No(Nt,Zt,yr,pr){const Xr=aH(Zt);if(!Xr.length)return Nt;const pn=Xr.slice(yr,pr),Ms=yr===pr||xt(pn,At);if(Nt.flags&2&&!Ms){let ki;for(let zn=0;zn<pn.length;zn+=1){const Gs=pn[zn];if(Gs.flags&201457660)ki!==void 0&&ki.push(Gs);else if(Gs.flags&524288)ki===void 0&&(ki=pn.slice(0,zn)),ki.push(Di);else return Nt}return bi(ki===void 0?pn:ki)}const Wi=bi(pn),Mr=Wi.flags&131072?At:iLe(Zl(Nt,ki=>rM(Wi,ki)),Wi);if(!Ms)return Mr;const In=Zl(Nt,ki=>!(x9e(ki)&&xt(Xr,f_(y1t(ki)))));return Mr.flags&131072?In:bi([Mr,In])}function dc(Nt,Zt){switch(Zt){case"string":return el(Nt,ye,1);case"number":return el(Nt,wt,2);case"bigint":return el(Nt,nr,4);case"boolean":return el(Nt,Be,8);case"symbol":return el(Nt,te,16);case"object":return Nt.flags&1?Nt:bi([el(Nt,Di,32),el(Nt,qr,131072)]);case"function":return Nt.flags&1?Nt:el(Nt,Hc,64);case"undefined":return el(Nt,Ze,65536)}return el(Nt,Di,128)}function el(Nt,Zt,yr){return Ic(Nt,pr=>Um(pr,Zt,ad)?bf(pr)&yr?pr:At:U1(Zt,pr)?Zt:bf(pr)&yr?no([pr,Zt]):At)}function Ya(Nt,Zt,yr,pr){const Xr=rLe(Zt);if(!Xr)return Nt;const pn=ar(Zt.caseBlock.clauses,Mr=>Mr.kind===293);if(yr===pr||pn>=yr&&pn<pr){const Mr=MMe(yr,pr,Xr);return Zl(Nt,In=>(bf(In)&Mr)===Mr)}const Wi=Xr.slice(yr,pr);return bi(qt(Wi,Mr=>Mr?dc(Nt,Mr):At))}function Uf(Nt){return(oi(Nt)&&ai(Nt.name)==="constructor"||qc(Nt)&&sc(Nt.argumentExpression)&&Nt.argumentExpression.text==="constructor")&&Mu(r,Nt.expression)}function Tt(Nt,Zt,yr,pr){if(pr?Zt!==34&&Zt!==36:Zt!==35&&Zt!==37)return Nt;const Xr=Tf(yr);if(!yme(Xr)&&!ob(Xr))return Nt;const pn=Ra(Xr,"prototype");if(!pn)return Nt;const Ms=En(pn),Wi=rc(Ms)?void 0:Ms;if(!Wi||Wi===ka||Wi===Hc)return Nt;if(rc(Nt))return Wi;return Zl(Nt,In=>Mr(In,Wi));function Mr(In,ki){return In.flags&524288&&Ci(In)&1||ki.flags&524288&&Ci(ki)&1?In.symbol===ki.symbol:U1(In,ki)}}function Ae(Nt,Zt,yr){const pr=R2(Zt.left);if(!Mu(r,pr))return yr&&K&&Mk(pr,r)?RS(Nt,2097152):Nt;const Xr=Tf(Zt.right);if(!M2(Xr,Hc))return Nt;const pn=Ic(Xr,Sn);return rc(Nt)&&(pn===ka||pn===Hc)||!yr&&!(pn.flags&524288&&!py(pn))?Nt:vn(Nt,pn,yr,!0)}function Sn(Nt){const Zt=Yl(Nt,"prototype");if(Zt&&!rc(Zt))return Zt;const yr=ya(Nt,1);return yr.length?bi(qt(yr,pr=>Xo(R8(pr)))):js}function vn(Nt,Zt,yr,pr){var Xr;const pn=Nt.flags&1048576?`N${vf(Nt)},${vf(Zt)},${(yr?1:0)|(pr?2:0)}`:void 0;return(Xr=l2(pn))!=null?Xr:e0(pn,Wn(Nt,Zt,yr,pr))}function Wn(Nt,Zt,yr,pr){if(!yr){if(pr)return Zl(Nt,Mr=>!M2(Mr,Zt));const Wi=vn(Nt,Zt,!0,!1);return Zl(Nt,Mr=>!K8(Mr,Wi))}if(Nt.flags&3)return Zt;const Xr=pr?M2:U1,pn=Nt.flags&1048576?fM(Nt):void 0,Ms=Ic(Zt,Wi=>{const Mr=pn&&Yl(Wi,pn),In=Mr&&_M(Nt,Mr),ki=Ic(In||Nt,pr?zn=>M2(zn,Wi)?zn:M2(Wi,zn)?Wi:At:zn=>a9e(zn,Wi)?zn:a9e(Wi,zn)?Wi:U1(zn,Wi)?zn:U1(Wi,zn)?Wi:At);return ki.flags&131072?Ic(Nt,zn=>Qc(zn,465829888)&&Xr(Wi,jf(zn)||xe)?no([zn,Wi]):At):ki});return Ms.flags&131072?U1(Zt,Nt)?Zt:io(Nt,Zt)?Nt:io(Zt,Nt)?Zt:no([Nt,Zt]):Ms}function Kn(Nt,Zt,yr){if(H9e(Zt,r)){const pr=yr||!_x(Zt)?lH(Zt):void 0,Xr=pr&&ld(pr);if(Xr&&(Xr.kind===0||Xr.kind===1))return ia(Nt,Xr,Zt,yr)}if(G8(Nt)&&$c(r)&&oi(Zt.expression)){const pr=Zt.expression;if(Mu(r.expression,R2(pr.expression))&&Ye(pr.name)&&pr.name.escapedText==="hasOwnProperty"&&Zt.arguments.length===1){const Xr=Zt.arguments[0];if(sc(Xr)&&FS(r)===Vc(Xr.text))return _d(Nt,yr?524288:65536)}}return Nt}function ia(Nt,Zt,yr,pr){if(Zt.type&&!(rc(Nt)&&(Zt.type===ka||Zt.type===Hc))){const Xr=kvt(Zt,yr);if(Xr){if(Mu(r,Xr))return vn(Nt,Zt.type,pr,!1);K&&pr&&Mk(Xr,r)&&!(bf(Zt.type)&65536)&&(Nt=RS(Nt,2097152));const pn=dn(Xr,Nt);if(pn)return xi(Nt,pn,Ms=>vn(Ms,Zt.type,pr,!1))}}return Nt}function is(Nt,Zt,yr){if(IB(Zt)||$n(Zt.parent)&&(Zt.parent.operatorToken.kind===60||Zt.parent.operatorToken.kind===77)&&Zt.parent.left===Zt)return Yn(Nt,Zt,yr);switch(Zt.kind){case 79:if(!Mu(r,Zt)&&M<5){const pr=Id(Zt);if(P3(pr)){const Xr=pr.valueDeclaration;if(Xr&&xs(Xr)&&!Xr.type&&Xr.initializer&&cLe(r)){M++;const pn=is(Nt,Xr.initializer,yr);return M--,pn}}}case 108:case 106:case 208:case 209:return wa(Nt,Zt,yr);case 210:return Kn(Nt,Zt,yr);case 214:case 232:return is(Nt,Zt.expression,yr);case 223:return xp(Nt,Zt,yr);case 221:if(Zt.operator===53)return is(Nt,Zt.operand,!yr);break}return Nt}function Yn(Nt,Zt,yr){if(Mu(r,Zt))return RS(Nt,yr?2097152:262144);const pr=dn(Zt,Nt);return pr?xi(Nt,pr,Xr=>_d(Xr,yr?2097152:262144)):Nt}}function wvt(r,c){if(r=Mm(r),(c.kind===79||c.kind===80)&&(EP(c)&&(c=c.parent),Fy(c)&&(!Rg(c)||IP(c)))){const _=Tf(c);if(Mm(gi(c).resolvedSymbol)===r)return _}return By(c)&&Q0(c.parent)&&q(c.parent)?Ps(c.parent.symbol):sb(r)}function eN(r){return kn(r.parent,c=>Sa(c)&&!Sx(c)||c.kind===265||c.kind===308||c.kind===169)}function _H(r){if(!r.valueDeclaration)return!1;const c=Gh(r.valueDeclaration).parent,_=gi(c);return _.flags&524288||(_.flags|=524288,Evt(c)||lLe(c)),r.isAssigned||!1}function Evt(r){return!!kn(r.parent,c=>(Sa(c)||v4(c))&&!!(gi(c).flags&524288))}function lLe(r){if(r.kind===79){if(Rg(r)){const c=Id(r);pte(c)&&(c.isAssigned=!0)}}else ca(r,lLe)}function P3(r){return r.flags&3&&(bH(r)&2)!==0}function Avt(r){const c=gi(r);if(c.parameterInitializerContainsUndefined===void 0){if(!Up(r,9))return _3(r.symbol),!0;const _=!!(bf(lN(r,0))&16777216);if(!cd())return _3(r.symbol),!0;c.parameterInitializerContainsUndefined=_}return c.parameterInitializerContainsUndefined}function Pvt(r,c){return K&&c.kind===166&&c.initializer&&bf(r)&16777216&&!Avt(c)?_d(r,524288):r}function Dvt(r,c){const _=c.parent;return _.kind===208||_.kind===163||_.kind===210&&_.expression===c||_.kind===209&&_.expression===c&&!(my(r,fLe)&&lb(Tf(_.argumentExpression)))}function uLe(r){return r.flags&2097152?Oe(r.types,uLe):!!(r.flags&465829888&&v0(r).flags&1146880)}function fLe(r){return r.flags&2097152?Oe(r.types,fLe):!!(r.flags&465829888&&!Qc(v0(r),98304))}function Nvt(r,c){const _=(Ye(r)||oi(r)||qc(r))&&!((Wg(r.parent)||_w(r.parent))&&r.parent.tagName===r)&&(c&&c&64?e_(r,8):e_(r,void 0));return _&&!T3(_)}function Xpe(r,c,_){return!(_&&_&2)&&my(r,uLe)&&(Dvt(r,c)||Nvt(c,_))?Ic(r,v0):r}function _Le(r){return!!kn(r,c=>{const _=c.parent;return _===void 0?"quit":Tl(_)?_.expression===c&&El(c):i_(_)?_.name===c||_.propertyName===c:!1})}function pH(r,c){if(!se.verbatimModuleSyntax&&T1(r,111551)&&!E3(c)&&!E_(r,111551)){const _=jl(r);Zu(_)&1160127&&(qd(se)||wT(se)&&_Le(c)||!yN(Mm(_))?T2(r):S2(r))}}function Ivt(r,c){var _;const m=En(r),b=r.valueDeclaration;if(b){if(qo(b)&&!b.initializer&&!b.dotDotDotToken&&b.parent.elements.length>=2){const x=b.parent.parent;if(x.kind===257&&ym(b)&2||x.kind===166){const D=gi(x);if(!(D.flags&16777216)){D.flags|=16777216;const j=uE(x,0),$=j&&Ic(j,v0);if(D.flags&=-16777217,$&&$.flags&1048576&&!(x.kind===166&&_H(r))){const re=b.parent,ae=gb(re,$,$,void 0,c.flowNode);return ae.flags&131072?At:Ki(b,ae)}}}}if(ua(b)&&!b.type&&!b.initializer&&!b.dotDotDotToken){const x=b.parent;if(x.parameters.length>=2&&zW(x)){const D=rN(x);if(D&&D.parameters.length===1&&ff(D)){const j=g3(Cs(En(D.parameters[0]),(_=Fk(x))==null?void 0:_.nonFixingMapper));if(j.flags&1048576&&bg(j,po)&&!_H(r)){const $=gb(x,j,j,void 0,c.flowNode),re=x.parameters.indexOf(b)-(xT(x)?1:0);return N_($,Jm(re))}}}}}return m}function Ovt(r,c){if(VC(r))return yM(r);const _=Id(r);if(_===Tr)return Ne;if(_===jt){if(XLe(r))return nt(r,v.arguments_cannot_be_referenced_in_property_initializers),Ne;const cn=Pp(r);return V<2&&(cn.kind===216?nt(r,v.The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression):Ti(cn,512)&&nt(r,v.The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method)),gi(cn).flags|=512,En(_)}Mvt(r)&&pH(_,r);const m=Mm(_),b=GFe(m,r);$v(b)&&Q_e(r,b)&&b.declarations&&t0(r,b.declarations,r.escapedText);let x=m.valueDeclaration;if(x&&m.flags&32){if(x.kind===260&&M6(fe,x)){let cn=uu(r);for(;cn!==void 0;){if(cn===x&&cn.name!==r){gi(x).flags|=1048576,gi(r).flags|=2097152;break}cn=uu(cn)}}else if(x.kind===228){let cn=y_(r,!1,!1);for(;cn.kind!==308;){if(cn.parent===x){(Pa(cn)&&ba(cn)||fl(cn))&&(gi(x).flags|=1048576,gi(r).flags|=2097152);break}cn=y_(cn,!1,!1)}}}Bvt(r,_);let D=Ivt(m,r);const j=Cx(r);if(j){if(!(m.flags&3)&&!(Mn(r)&&m.flags&512)){const cn=m.flags&384?v.Cannot_assign_to_0_because_it_is_an_enum:m.flags&32?v.Cannot_assign_to_0_because_it_is_a_class:m.flags&1536?v.Cannot_assign_to_0_because_it_is_a_namespace:m.flags&16?v.Cannot_assign_to_0_because_it_is_a_function:m.flags&2097152?v.Cannot_assign_to_0_because_it_is_an_import:v.Cannot_assign_to_0_because_it_is_not_a_variable;return nt(r,cn,A(_)),Ne}if(dm(m))return m.flags&3?nt(r,v.Cannot_assign_to_0_because_it_is_a_constant,A(_)):nt(r,v.Cannot_assign_to_0_because_it_is_a_read_only_property,A(_)),Ne}const $=m.flags&2097152;if(m.flags&3){if(j===1)return D}else if($)x=c_(_);else return D;if(!x)return D;D=Xpe(D,r,c);const re=Gh(x).kind===166,ae=eN(x);let ke=eN(r);const je=ke!==ae,Re=r.parent&&r.parent.parent&&hw(r.parent)&&Hpe(r.parent.parent),Ct=_.flags&134217728;for(;ke!==ae&&(ke.kind===215||ke.kind===216||sj(ke))&&(P3(m)&&D!==tn||re&&!_H(m));)ke=eN(ke);const Qt=re||$||je||Re||Ct||Lvt(r,x)||D!==Pt&&D!==tn&&(!K||(D.flags&16387)!==0||E3(r)||U9e(r)||r.parent.kind===278)||r.parent.kind===232||x.kind===257&&x.exclamationToken||x.flags&16777216,sn=Qt?re?Pvt(D,x):D:D===Pt||D===tn?Ze:C0(D),Zr=gb(r,D,sn,ke);if(!aLe(r)&&(D===Pt||D===tn)){if(Zr===Pt||Zr===tn)return Pe&&(nt(ra(x),v.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined,A(_),Me(Zr)),nt(r,v.Variable_0_implicitly_has_an_1_type,A(_),Me(Zr))),gN(Zr)}else if(!Qt&&!S3(D)&&S3(Zr))return nt(r,v.Variable_0_is_used_before_being_assigned,A(_)),D;return j?V1(Zr):Zr}function Lvt(r,c){if(qo(c)){const _=kn(r,qo);return _&&Gh(_)===Gh(c)}}function Mvt(r){var c;const _=r.parent;if(_){if(oi(_)&&_.expression===r||i_(_)&&_.isTypeOnly)return!1;const m=(c=_.parent)==null?void 0:c.parent;if(m&&Uu(m)&&m.isTypeOnly)return!1}return!0}function Fvt(r,c){return!!kn(r,_=>_===c?"quit":Sa(_)||_.parent&&Pa(_.parent)&&!tu(_.parent)&&_.parent.initializer===_)}function Rvt(r,c){return kn(r,_=>_===c?"quit":_===c.initializer||_===c.condition||_===c.incrementor||_===c.statement)}function Qpe(r){return kn(r,c=>!c||mee(c)?"quit":fv(c,!1))}function Bvt(r,c){if(V>=2||!(c.flags&34)||!c.valueDeclaration||bs(c.valueDeclaration)||c.valueDeclaration.parent.kind===295)return;const _=Hh(c.valueDeclaration),m=Fvt(r,_),b=Qpe(_);if(b){if(m){let x=!0;if(Rx(_)){const D=Jb(c.valueDeclaration,258);if(D&&D.parent===_){const j=Rvt(r.parent,_);if(j){const $=gi(j);$.flags|=8192;const re=$.capturedBlockScopeBindings||($.capturedBlockScopeBindings=[]);ip(re,c),j===_.initializer&&(x=!1)}}}x&&(gi(b).flags|=4096)}if(Rx(_)){const x=Jb(c.valueDeclaration,258);x&&x.parent===_&&Jvt(r,_)&&(gi(c.valueDeclaration).flags|=262144)}gi(c.valueDeclaration).flags|=32768}m&&(gi(c.valueDeclaration).flags|=16384)}function jvt(r,c){const _=gi(r);return!!_&&xt(_.capturedBlockScopeBindings,Zn(c))}function Jvt(r,c){let _=r;for(;_.parent.kind===214;)_=_.parent;let m=!1;if(Rg(_))m=!0;else if(_.parent.kind===221||_.parent.kind===222){const b=_.parent;m=b.operator===45||b.operator===46}return m?!!kn(_,b=>b===c?"quit":b===c.statement):!1}function Ype(r,c){if(gi(r).flags|=2,c.kind===169||c.kind===173){const _=c.parent;gi(_).flags|=4}else gi(c).flags|=4}function pLe(r){return N6(r)?r:Sa(r)?void 0:ca(r,pLe)}function dLe(r){const c=Zn(r),_=Tc(c);return Ai(_)===qn}function mLe(r,c,_){const m=c.parent;TT(m)&&!dLe(m)&&Y7(r)&&r.flowNode&&!fH(r.flowNode,!1)&&nt(r,_)}function Uvt(r,c){Pa(c)&&tu(c)&&fe&&c.initializer&&CB(c.initializer,r.pos)&&ed(c.parent)&&nt(r,v.Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class)}function yM(r){const c=E3(r);let _=y_(r,!0,!0),m=!1,b=!1;for(_.kind===173&&mLe(r,_,v.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class);;){if(_.kind===216&&(_=y_(_,!1,!b),m=!0),_.kind===164){_=y_(_,!m,!1),b=!0;continue}break}if(Uvt(r,_),b)nt(r,v.this_cannot_be_referenced_in_a_computed_property_name);else switch(_.kind){case 264:nt(r,v.this_cannot_be_referenced_in_a_module_or_namespace_body);break;case 263:nt(r,v.this_cannot_be_referenced_in_current_location);break;case 173:hLe(r,_)&&nt(r,v.this_cannot_be_referenced_in_constructor_arguments);break}!c&&m&&V<2&&Ype(r,_);const x=Zpe(r,!0,_);if(le){const D=En(gt);if(x===D&&m)nt(r,v.The_containing_arrow_function_captures_the_global_value_of_this);else if(!x){const j=nt(r,v.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation);if(!bs(_)){const $=Zpe(_);$&&$!==D&&Eo(j,ni(_,v.An_outer_value_of_this_is_shadowed_by_this_container))}}}return x||Fe}function Zpe(r,c=!0,_=y_(r,!1,!1)){const m=Mn(r);if(Sa(_)&&(!tde(r)||xT(_))){let b=cr(_)||m&&$vt(_);if(!b){const x=Vvt(_);if(m&&x){const D=zs(x).symbol;D&&D.members&&D.flags&16&&(b=Tc(D).thisType)}else Vm(_)&&(b=Tc(Fo(_.symbol)).thisType);b||(b=yLe(_))}if(b)return gb(r,b)}if(Ri(_.parent)){const b=Zn(_.parent),x=ba(_)?En(b):Tc(b).thisType;return gb(r,x)}if(bs(_))if(_.commonJsModuleIndicator){const b=Zn(_);return b&&En(b)}else{if(_.externalModuleIndicator)return Ze;if(c)return En(gt)}}function zvt(r){const c=y_(r,!1,!1);if(Sa(c)){const _=Bm(c);if(_.thisParameter)return cH(_.thisParameter)}if(Ri(c.parent)){const _=Zn(c.parent);return ba(c)?En(_):Tc(_).thisType}}function Vvt(r){if(r.kind===215&&$n(r.parent)&&ll(r.parent)===3)return r.parent.left.expression.expression;if(r.kind===171&&r.parent.kind===207&&$n(r.parent.parent)&&ll(r.parent.parent)===6)return r.parent.parent.left.expression;if(r.kind===215&&r.parent.kind===299&&r.parent.parent.kind===207&&$n(r.parent.parent.parent)&&ll(r.parent.parent.parent)===6)return r.parent.parent.parent.left.expression;if(r.kind===215&&Iu(r.parent)&&Ye(r.parent.name)&&(r.parent.name.escapedText==="value"||r.parent.name.escapedText==="get"||r.parent.name.escapedText==="set")&&cc(r.parent.parent)&&Da(r.parent.parent.parent)&&r.parent.parent.parent.arguments[2]===r.parent.parent&&ll(r.parent.parent.parent)===9)return r.parent.parent.parent.arguments[0].expression;if(zl(r)&&Ye(r.name)&&(r.name.escapedText==="value"||r.name.escapedText==="get"||r.name.escapedText==="set")&&cc(r.parent)&&Da(r.parent.parent)&&r.parent.parent.arguments[2]===r.parent&&ll(r.parent.parent)===9)return r.parent.parent.arguments[0].expression}function $vt(r){const c=cv(r);if(c&&c.kind===320){const m=c;if(m.parameters.length>0&&m.parameters[0].name&&m.parameters[0].name.escapedText==="this")return Bi(m.parameters[0].type)}const _=PB(r);if(_&&_.typeExpression)return Bi(_.typeExpression)}function hLe(r,c){return!!kn(r,_=>Lc(_)?"quit":_.kind===166&&_.parent===c)}function Kpe(r){const c=r.parent.kind===210&&r.parent.expression===r,_=O7(r,!0);let m=_,b=!1,x=!1;if(!c){for(;m&&m.kind===216;)Ti(m,512)&&(x=!0),m=O7(m,!0),b=V<2;m&&Ti(m,512)&&(x=!0)}let D=0;if(!m||!ae(m)){const ke=kn(r,je=>je===m?"quit":je.kind===164);return ke&&ke.kind===164?nt(r,v.super_cannot_be_referenced_in_a_computed_property_name):c?nt(r,v.Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors):!m||!m.parent||!(Ri(m.parent)||m.parent.kind===207)?nt(r,v.super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions):nt(r,v.super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class),Ne}if(!c&&_.kind===173&&mLe(r,m,v.super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class),ba(m)||c?(D=32,!c&&V>=2&&V<=8&&(Pa(m)||fl(m))&&n2e(r.parent,ke=>{(!bs(ke)||lp(ke))&&(gi(ke).flags|=8388608)})):D=16,gi(r).flags|=D,m.kind===171&&x&&(n_(r.parent)&&Rg(r.parent)?gi(m).flags|=256:gi(m).flags|=128),b&&Ype(r.parent,m),m.parent.kind===207)return V<2?(nt(r,v.super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher),Ne):Fe;const j=m.parent;if(!TT(j))return nt(r,v.super_can_only_be_referenced_in_a_derived_class),Ne;const $=Tc(Zn(j)),re=$&&_o($)[0];if(!re)return Ne;if(m.kind===173&&hLe(r,m))return nt(r,v.super_cannot_be_referenced_in_constructor_arguments),Ne;return D===32?Ai($):Vp(re,$.thisType);function ae(ke){return c?ke.kind===173:Ri(ke.parent)||ke.parent.kind===207?ba(ke)?ke.kind===171||ke.kind===170||ke.kind===174||ke.kind===175||ke.kind===169||ke.kind===172:ke.kind===171||ke.kind===170||ke.kind===174||ke.kind===175||ke.kind===169||ke.kind===168||ke.kind===173:!1}}function qvt(r){return(r.kind===171||r.kind===174||r.kind===175)&&r.parent.kind===207?r.parent:r.kind===215&&r.parent.kind===299?r.parent.parent:void 0}function gLe(r){return Ci(r)&4&&r.target===De?Go(r)[0]:void 0}function Wvt(r){return Ic(r,c=>c.flags&2097152?Q(c.types,gLe):gLe(c))}function yLe(r){if(r.kind===216)return;if(zW(r)){const _=rN(r);if(_){const m=_.thisParameter;if(m)return En(m)}}const c=Mn(r);if(le||c){const _=qvt(r);if(_){const b=B2(_,void 0);let x=_,D=b;for(;D;){const j=Wvt(D);if(j)return Cs(j,Ope(Fk(_)));if(x.parent.kind!==299)break;x=x.parent.parent,D=B2(x,void 0)}return Z_(b?w0(b):Ll(_))}const m=mv(r.parent);if(m.kind===223&&m.operatorToken.kind===63){const b=m.left;if($c(b)){const{expression:x}=b;if(c&&Ye(x)){const D=bn(m);if(D.commonJsModuleIndicator&&Id(x)===D.symbol)return}return Z_(Ll(x))}}}}function vLe(r){const c=r.parent;if(!zW(c))return;const _=Sx(c);if(_&&_.arguments){const b=Pde(_),x=c.parameters.indexOf(r);if(r.dotDotDotToken)return Ede(b,x,b.length,Fe,void 0,0);const D=gi(_),j=D.resolvedSignature;D.resolvedSignature=Pc;const $=x<b.length?F2(zs(b[x])):r.initializer?void 0:ct;return D.resolvedSignature=j,$}const m=rN(c);if(m){const b=c.parameters.indexOf(r)-(xT(c)?1:0);return r.dotDotDotToken&&Rc(c.parameters)===r?sN(m,b):US(m,b)}}function ede(r,c){const _=Ju(r)||(Mn(r)?Zj(r):void 0);if(_)return Bi(_);switch(r.kind){case 166:return vLe(r);case 205:return Hvt(r,c);case 169:if(ba(r))return Gvt(r,c)}}function Hvt(r,c){const _=r.parent.parent,m=r.propertyName||r.name,b=ede(_,c)||_.kind!==205&&_.initializer&&lN(_,r.dotDotDotToken?64:0);if(!b||xa(m)||D7(m))return;if(_.name.kind===204){const D=A6(r.parent.elements,r);return D<0?void 0:kLe(b,D)}const x=S0(m);if(ly(x)){const D=yh(x);return Yl(b,D)}}function Gvt(r,c){const _=Dt(r.parent)&&e_(r.parent,c);if(_)return JS(_,Zn(r).escapedName)}function Xvt(r,c){const _=r.parent;if(pv(_)&&r===_.initializer){const m=ede(_,c);if(m)return m;if(!(c&8)&&xa(_.name)&&_.name.elements.length>0)return ro(_.name,!0,!1)}}function Qvt(r,c){const _=Pp(r);if(_){let m=rde(_,c);if(m){const b=Au(_);if(b&1){const x=(b&2)!==0;m.flags&1048576&&(m=Zl(m,j=>!!J2(1,j,x)));const D=J2(1,m,(b&2)!==0);if(!D)return;m=D}if(b&2){const x=Ic(m,A0);return x&&bi([x,IMe(x)])}return m}}}function Yvt(r,c){const _=e_(r,c);if(_){const m=A0(_);return m&&bi([m,IMe(m)])}}function Zvt(r,c){const _=Pp(r);if(_){const m=Au(_);let b=rde(_,c);if(b){const x=(m&2)!==0;return!r.asteriskToken&&b.flags&1048576&&(b=Zl(b,D=>!!J2(1,D,x))),r.asteriskToken?b:J2(0,b,x)}}}function tde(r){let c=!1;for(;r.parent&&!Sa(r.parent);){if(ua(r.parent)&&(c||r.parent.initializer===r))return!0;qo(r.parent)&&r.parent.initializer===r&&(c=!0),r=r.parent}return!1}function bLe(r,c){const _=!!(Au(c)&2),m=rde(c,void 0);if(m)return J2(r,m,_)||void 0}function rde(r,c){const _=yE(r);if(_)return _;const m=ade(r);if(m&&!P_e(m))return Xo(m);const b=Sx(r);if(b)return e_(b,c)}function TLe(r,c){const m=Pde(r).indexOf(c);return m===-1?void 0:nde(r,m)}function nde(r,c){if(up(r))return c===0?ye:c===1?dOe(!1):Fe;const _=gi(r).resolvedSignature===Cl?Cl:L3(r);if(Hf(r)&&c===0)return gH(_,r);const m=_.parameters.length-1;return ff(_)&&c>=m?N_(En(_.parameters[m]),Jm(c-m),256):pm(_,c)}function Kvt(r){const c=jde(r);return c?PS(c):void 0}function ebt(r,c){if(r.parent.kind===212)return TLe(r.parent,c)}function tbt(r,c){const _=r.parent,{left:m,operatorToken:b,right:x}=_;switch(b.kind){case 63:case 76:case 75:case 77:return r===x?nbt(_):void 0;case 56:case 60:const D=e_(_,c);return r===x&&(D&&D.pattern||!D&&!S2e(_))?Tf(m):D;case 55:case 27:return r===x?e_(_,c):void 0;default:return}}function rbt(r){if(Vh(r)&&r.symbol)return r.symbol;if(Ye(r))return Id(r);if(oi(r)){const _=Tf(r.expression);return as(r.name)?c(_,r.name):Ra(_,r.name.escapedText)}if(qc(r)){const _=Ll(r.argumentExpression);if(!ly(_))return;const m=Tf(r.expression);return Ra(m,yh(_))}return;function c(_,m){const b=SH(m.escapedText,m);return b&&gde(_,b)}}function nbt(r){var c,_;const m=ll(r);switch(m){case 0:case 4:const b=rbt(r.left),x=b&&b.valueDeclaration;if(x&&(Pa(x)||Np(x))){const $=Ju(x);return $&&Cs(Bi($),ys(b).mapper)||(Pa(x)?x.initializer&&Tf(r.left):void 0)}return m===0?Tf(r.left):SLe(r);case 5:if(dH(r,m))return SLe(r);if(!Vh(r.left)||!r.left.symbol)return Tf(r.left);{const $=r.left.symbol.valueDeclaration;if(!$)return;const re=Oa(r.left,$c),ae=Ju($);if(ae)return Bi(ae);if(Ye(re.expression)){const ke=re.expression,je=Xc(ke,ke.escapedText,111551,void 0,ke.escapedText,!0);if(je){const Re=je.valueDeclaration&&Ju(je.valueDeclaration);if(Re){const Ct=Ry(re);if(Ct!==void 0)return JS(Bi(Re),Ct)}return}}return Mn($)?void 0:Tf(r.left)}case 1:case 6:case 3:case 2:let D;m!==2&&(D=Vh(r.left)?(c=r.left.symbol)==null?void 0:c.valueDeclaration:void 0),D||(D=(_=r.symbol)==null?void 0:_.valueDeclaration);const j=D&&Ju(D);return j?Bi(j):void 0;case 7:case 8:case 9:return R.fail("Does not apply");default:return R.assertNever(m)}}function dH(r,c=ll(r)){if(c===4)return!0;if(!Mn(r)||c!==5||!Ye(r.left.expression))return!1;const _=r.left.expression.escapedText,m=Xc(r.left,_,111551,void 0,void 0,!0,!0);return lj(m==null?void 0:m.valueDeclaration)}function SLe(r){if(!r.symbol)return Tf(r.left);if(r.symbol.valueDeclaration){const b=Ju(r.symbol.valueDeclaration);if(b){const x=Bi(b);if(x)return x}}const c=Oa(r.left,$c);if(!Ud(y_(c.expression,!1,!1)))return;const _=yM(c.expression),m=Ry(c);return m!==void 0&&JS(_,m)||void 0}function ibt(r){return!!(ul(r)&262144&&!r.links.type&&hg(r,0)>=0)}function JS(r,c,_){return Ic(r,m=>{var b;if($p(m)&&!m.declaration.nameType){const x=Rm(m),D=jf(x)||x,j=_||qp(Ds(c));if(io(j,D))return IW(m,j)}else if(m.flags&3670016){const x=Ra(m,c);if(x)return ibt(x)?void 0:En(x);if(po(m)&&Ug(c)&&+c>=0){const D=w3(m,m.target.fixedLength,0,!1,!0);if(D)return D}return(b=x_e(k_e(m),_||qp(Ds(c))))==null?void 0:b.type}},!0)}function xLe(r,c){if(R.assert(Ud(r)),!(r.flags&33554432))return ide(r,c)}function ide(r,c){const _=r.parent,m=Iu(r)&&ede(r,c);if(m)return m;const b=B2(_,c);if(b){if(mE(r)){const x=Zn(r);return JS(b,x.escapedName,ys(x).nameType)}if(r.name){const x=S0(r.name);return Ic(b,D=>{var j;return(j=x_e(k_e(D),x))==null?void 0:j.type},!0)}}}function kLe(r,c){return r&&(c>=0&&JS(r,""+c)||Ic(r,_=>po(_)?w3(_,0,0,!1,!0):ime(1,_,Ze,void 0,!1),!0))}function sbt(r,c){const _=r.parent;return r===_.whenTrue||r===_.whenFalse?e_(_,c):void 0}function abt(r,c,_){const m=B2(r.openingElement.tagName,_),b=vH(DE(r));if(!(m&&!rc(m)&&b&&b!==""))return;const x=l5(r.children),D=x.indexOf(c),j=JS(m,b);return j&&(x.length===1?j:Ic(j,$=>db($)?N_($,Jm(D)):$,!0))}function obt(r,c){const _=r.parent;return JB(_)?e_(r,c):s1(_)?abt(_,r,c):void 0}function CLe(r,c){if(oh(r)){const _=B2(r.parent,c);return!_||rc(_)?void 0:JS(_,r.name.escapedText)}else return e_(r.parent,c)}function vM(r){switch(r.kind){case 10:case 8:case 9:case 14:case 110:case 95:case 104:case 79:case 155:return!0;case 208:case 214:return vM(r.expression);case 291:return!r.expression||vM(r.expression)}return!1}function cbt(r,c){return tvt(c,r)||hpe(c,Cr(qt(hr(r.properties,_=>!!_.symbol&&_.kind===299&&vM(_.initializer)&&Y8(c,_.symbol.escapedName)),_=>[()=>FM(_.initializer),_.symbol.escapedName]),qt(hr(Ho(c),_=>{var m;return!!(_.flags&16777216)&&!!((m=r==null?void 0:r.symbol)!=null&&m.members)&&!r.symbol.members.has(_.escapedName)&&Y8(c,_.escapedName)}),_=>[()=>Ze,_.escapedName])),io,c)}function lbt(r,c){return hpe(c,Cr(qt(hr(r.properties,_=>!!_.symbol&&_.kind===288&&Y8(c,_.symbol.escapedName)&&(!_.initializer||vM(_.initializer))),_=>[_.initializer?()=>FM(_.initializer):()=>$e,_.symbol.escapedName]),qt(hr(Ho(c),_=>{var m;return!!(_.flags&16777216)&&!!((m=r==null?void 0:r.symbol)!=null&&m.members)&&!r.symbol.members.has(_.escapedName)&&Y8(c,_.escapedName)}),_=>[()=>Ze,_.escapedName])),io,c)}function B2(r,c){const _=Ud(r)?xLe(r,c):e_(r,c),m=mH(_,r,c);if(m&&!(c&&c&2&&m.flags&8650752)){const b=Ic(m,Jf,!0);return b.flags&1048576&&cc(r)?cbt(r,b):b.flags&1048576&&OT(r)?lbt(r,b):b}}function mH(r,c,_){if(r&&Qc(r,465829888)){const m=Fk(c);if(m&&_&1&&Oe(m.inferences,zTt))return hH(r,m.nonFixingMapper);if(m!=null&&m.returnMapper){const b=hH(r,m.returnMapper);return b.flags&1048576&&D2(b.types,ne)&&D2(b.types,ce)?Zl(b,x=>x!==ne&&x!==ce):b}}return r}function hH(r,c){return r.flags&465829888?Cs(r,c):r.flags&1048576?bi(qt(r.types,_=>hH(_,c)),0):r.flags&2097152?no(qt(r.types,_=>hH(_,c))):r}function e_(r,c){var _,m;if(r.flags&33554432)return;const b=ELe(r,!c);if(b>=0)return $l[b];const{parent:x}=r;switch(x.kind){case 257:case 166:case 169:case 168:case 205:return Xvt(r,c);case 216:case 250:return Qvt(r,c);case 226:return Zvt(x,c);case 220:return Yvt(x,c);case 210:case 211:return TLe(x,r);case 167:return Kvt(x);case 213:case 231:return Iy(x.type)?e_(x,c):Bi(x.type);case 223:return tbt(r,c);case 299:case 300:return ide(x,c);case 301:return e_(x.parent,c);case 206:{const D=x,j=B2(D,c),$=(m=(_=gi(D)).firstSpreadIndex)!=null?m:_.firstSpreadIndex=ar(D.elements,$g),re=A6(D.elements,r);return kLe(j,$<0||re<$?re:-1)}case 224:return sbt(r,c);case 236:return R.assert(x.parent.kind===225),ebt(x.parent,r);case 214:{if(Mn(x)){if(gte(x))return Bi(yte(x));const D=uT(x);if(D&&!Iy(D.typeExpression.type))return Bi(D.typeExpression.type)}return e_(x,c)}case 232:return e_(x,c);case 235:return Bi(x.type);case 274:return D_(x);case 291:return obt(x,c);case 288:case 290:return CLe(x,c);case 283:case 282:return _bt(x,c)}}function wLe(r){bM(r,e_(r,void 0),!0)}function bM(r,c,_){Nc[Xy]=r,$l[Xy]=c,cg[Xy]=_,Xy++}function tN(){Xy--}function ELe(r,c){for(let _=Xy-1;_>=0;_--)if(r===Nc[_]&&(c||!cg[_]))return _;return-1}function ubt(r,c){tm[Fv]=r,i2[Fv]=c,Fv++}function fbt(){Fv--}function Fk(r){for(let c=Fv-1;c>=0;c--)if(wx(r,tm[c]))return i2[c]}function _bt(r,c){if(Wg(r)&&c!==4){const _=ELe(r.parent,!c);if(_>=0)return $l[_]}return nde(r,0)}function gH(r,c){return lMe(c)!==0?pbt(r,c):hbt(r,c)}function pbt(r,c){let _=Rde(r,xe);_=ALe(c,DE(c),_);const m=j2(Ip.IntrinsicAttributes,c);return Lo(m)||(_=UL(m,_)),_}function dbt(r,c){if(r.compositeSignatures){const m=[];for(const b of r.compositeSignatures){const x=Xo(b);if(rc(x))return x;const D=Yl(x,c);if(!D)return;m.push(D)}return no(m)}const _=Xo(r);return rc(_)?_:Yl(_,c)}function mbt(r){if(N3(r.tagName)){const _=RLe(r),m=PH(r,_);return PS(m)}const c=Ll(r.tagName);if(c.flags&128){const _=FLe(c,r);if(!_)return Ne;const m=PH(r,_);return PS(m)}return c}function ALe(r,c,_){const m=Mbt(c);if(m){const b=Tc(m),x=mbt(r);if(m.flags&524288){const D=ys(m).typeParameters;if(H(D)>=2){const j=R1([x,_],D,2,Mn(r));return TE(m,j)}}if(H(b.typeParameters)>=2){const D=R1([x,_],b.typeParameters,2,Mn(r));return T0(b,D)}}return _}function hbt(r,c){const _=DE(c),m=Fbt(_);let b=m===void 0?Rde(r,xe):m===""?Xo(r):dbt(r,m);if(!b)return m&&H(c.attributes.properties)&&nt(c,v.JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property,Ds(m)),xe;if(b=ALe(c,_,b),rc(b))return b;{let x=b;const D=j2(Ip.IntrinsicClassAttributes,c);if(!Lo(D)){const $=L1(D.symbol),re=Xo(r);let ae;if($){const ke=R1([re],$,bh($),Mn(c));ae=Cs(D,__($,ke))}else ae=D;x=UL(ae,x)}const j=j2(Ip.IntrinsicAttributes,c);return Lo(j)||(x=UL(j,x)),x}}function gbt(r){return bd(se,"noImplicitAny")?Cf(r,(c,_)=>c===_||!c?c:L5e(c.typeParameters,_.typeParameters)?bbt(c,_):void 0):void 0}function ybt(r,c,_){if(!r||!c)return r||c;const m=bi([En(r),Cs(En(c),_)]);return LS(r,m)}function vbt(r,c,_){const m=K_(r),b=K_(c),x=m>=b?r:c,D=x===r?c:r,j=x===r?m:b,$=Ch(r)||Ch(c),re=$&&!Ch(x),ae=new Array(j+(re?1:0));for(let ke=0;ke<j;ke++){let je=US(x,ke);x===c&&(je=Cs(je,_));let Re=US(D,ke)||xe;D===c&&(Re=Cs(Re,_));const Ct=bi([je,Re]),Qt=$&&!re&&ke===j-1,sn=ke>=kh(x)&&ke>=kh(D),Zr=ke>=m?void 0:M3(r,ke),cn=ke>=b?void 0:M3(c,ke),Ir=Zr===cn?Zr:Zr?cn?void 0:Zr:cn,Wr=Oo(1|(sn&&!Qt?16777216:0),Ir||`arg${ke}`);Wr.links.type=Qt?yf(Ct):Ct,ae[ke]=Wr}if(re){const ke=Oo(1,"args");ke.links.type=yf(pm(D,j)),D===c&&(ke.links.type=Cs(ke.links.type,_)),ae[j]=ke}return ae}function bbt(r,c){const _=r.typeParameters||c.typeParameters;let m;r.typeParameters&&c.typeParameters&&(m=__(c.typeParameters,r.typeParameters));const b=r.declaration,x=vbt(r,c,m),D=ybt(r.thisParameter,c.thisParameter,m),j=Math.max(r.minArgumentCount,c.minArgumentCount),$=yg(b,_,D,x,void 0,void 0,j,(r.flags|c.flags)&39);return $.compositeKind=2097152,$.compositeSignatures=Cr(r.compositeKind===2097152&&r.compositeSignatures||[r],[c]),m&&($.mapper=r.compositeKind===2097152&&r.mapper&&r.compositeSignatures?pb(r.mapper,m):m),$}function sde(r,c){const _=ya(r,0),m=hr(_,b=>!Tbt(b,c));return m.length===1?m[0]:gbt(m)}function Tbt(r,c){let _=0;for(;_<c.parameters.length;_++){const m=c.parameters[_];if(m.initializer||m.questionToken||m.dotDotDotToken||M5(m))break}return c.parameters.length&&kT(c.parameters[0])&&_--,!Ch(r)&&K_(r)<_}function ade(r){return n4(r)||Ud(r)?rN(r):void 0}function rN(r){R.assert(r.kind!==171||Ud(r));const c=M8(r);if(c)return c;const _=B2(r,1);if(!_)return;if(!(_.flags&1048576))return sde(_,r);let m;const b=_.types;for(const x of b){const D=sde(x,r);if(D)if(!m)m=[D];else if(cM(m[0],D,!1,!0,!0,V8))m.push(D);else return}if(m)return m.length===1?m[0]:I5e(m[0],m)}function Sbt(r,c){V<2&&Kl(r,se.downlevelIteration?1536:1024);const _=zs(r.expression,c);return q1(33,_,Ze,r.expression)}function xbt(r){return r.isSpread?N_(r.type,wt):r.type}function D3(r){return r.kind===205&&!!r.initializer||r.kind===223&&r.operatorToken.kind===63}function PLe(r,c,_){const m=r.elements,b=m.length,x=[],D=[];wLe(r);const j=Rg(r),$=F3(r),re=B2(r,void 0),ae=!!re&&my(re,C3);let ke=!1;for(let je=0;je<b;je++){const Re=m[je];if(Re.kind===227){V<2&&Kl(Re,se.downlevelIteration?1536:1024);const Ct=zs(Re.expression,c,_);if(db(Ct))x.push(Ct),D.push(8);else if(j){const Qt=b0(Ct,wt)||ime(65,Ct,Ze,void 0,!1)||xe;x.push(Qt),D.push(4)}else x.push(q1(33,Ct,Ze,Re.expression)),D.push(4)}else if(tt&&Re.kind===229)ke=!0,x.push(Kt),D.push(2);else{const Ct=R3(Re,c,_);if(x.push(to(Ct,!0,ke)),D.push(ke?2:1),ae&&c&&c&2&&!(c&4)&&Nd(Re)){const Qt=Fk(r);R.assert(Qt),N9e(Qt,Re,Ct)}}}return tN(),j?jm(x,D):DLe(_||$||ae?jm(x,D,$):yf(x.length?bi($s(x,(je,Re)=>D[Re]&8?j1(je,wt)||Fe:je),2):K?Dr:ct,$))}function DLe(r){if(!(Ci(r)&4))return r;let c=r.literalType;return c||(c=r.literalType=rOe(r),c.objectFlags|=147456),c}function kbt(r){switch(r.kind){case 164:return Cbt(r);case 79:return Ug(r.escapedText);case 8:case 10:return Ug(r.text);default:return!1}}function Cbt(r){return Su(E0(r),296)}function E0(r){const c=gi(r.expression);if(!c.resolvedType){if((_p(r.parent.parent)||Ri(r.parent.parent)||Yf(r.parent.parent))&&$n(r.expression)&&r.expression.operatorToken.kind===101&&r.parent.kind!==174&&r.parent.kind!==175)return c.resolvedType=Ne;if(c.resolvedType=zs(r.expression),Pa(r.parent)&&!tu(r.parent)&&If(r.parent.parent)){const _=Hh(r.parent.parent),m=Qpe(_);m&&(gi(m).flags|=4096,gi(r).flags|=32768,gi(r.parent.parent).flags|=32768)}(c.resolvedType.flags&98304||!Su(c.resolvedType,402665900)&&!io(c.resolvedType,Zi))&&nt(r,v.A_computed_property_name_must_be_of_type_string_number_symbol_or_any)}return c.resolvedType}function wbt(r){var c;const _=(c=r.declarations)==null?void 0:c[0];return Ug(r.escapedName)||_&&of(_)&&kbt(_.name)}function NLe(r){var c;const _=(c=r.declarations)==null?void 0:c[0];return a5(r)||_&&of(_)&&ac(_.name)&&Su(E0(_.name),4096)}function ode(r,c,_,m){const b=[];for(let D=c;D<_.length;D++){const j=_[D];(m===ye&&!NLe(j)||m===wt&&wbt(j)||m===te&&NLe(j))&&b.push(En(_[D]))}const x=b.length?bi(b,2):Ze;return Th(m,x,F3(r))}function cde(r){R.assert((r.flags&2097152)!==0,"Should only get Alias here.");const c=ys(r);if(!c.immediateTarget){const _=c_(r);if(!_)return R.fail();c.immediateTarget=am(_,!0)}return c.immediateTarget}function Ebt(r,c){var _;const m=Rg(r);ACt(r,m);const b=K?Ma():void 0;let x=Ma(),D=[],j=js;wLe(r);const $=B2(r,void 0),re=$&&$.pattern&&($.pattern.kind===203||$.pattern.kind===207),ae=F3(r),ke=ae?8:0,je=Mn(r)&&!dj(r),Re=KZ(r),Ct=!$&&je&&!Re;let Qt=Ge,sn=!1,Zr=!1,cn=!1,Ir=!1;for(const Ar of r.properties)Ar.name&&ac(Ar.name)&&E0(Ar.name);let Wr=0;for(const Ar of r.properties){let Kr=Zn(Ar);const dn=Ar.name&&Ar.name.kind===164?E0(Ar.name):void 0;if(Ar.kind===299||Ar.kind===300||Ud(Ar)){let xi=Ar.kind===299?WMe(Ar,c):Ar.kind===300?R3(!m&&Ar.objectAssignmentInitializer?Ar.objectAssignmentInitializer:Ar.name,c):HMe(Ar,c);if(je){const wa=zi(Ar);wa?(Kf(xi,wa,Ar),xi=wa):Re&&Re.typeExpression&&Kf(xi,Bi(Re.typeExpression),Ar)}Qt|=Ci(xi)&458752;const Ei=dn&&ly(dn)?dn:void 0,Js=Ei?Oo(4|Kr.flags,yh(Ei),ke|4096):Oo(4|Kr.flags,Kr.escapedName,ke);if(Ei&&(Js.links.nameType=Ei),m)(Ar.kind===299&&D3(Ar.initializer)||Ar.kind===300&&Ar.objectAssignmentInitializer)&&(Js.flags|=16777216);else if(re&&!(Ci($)&512)){const wa=Ra($,Kr.escapedName);wa?Js.flags|=wa.flags&16777216:!se.suppressExcessPropertyErrors&&!vg($,ye)&&nt(Ar.name,v.Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1,A(Kr),Me($))}if(Js.declarations=Kr.declarations,Js.parent=Kr.parent,Kr.valueDeclaration&&(Js.valueDeclaration=Kr.valueDeclaration),Js.links.type=xi,Js.links.target=Kr,Kr=Js,b==null||b.set(Js.escapedName,Js),$&&c&&c&2&&!(c&4)&&(Ar.kind===299||Ar.kind===171)&&Nd(Ar)){const wa=Fk(r);R.assert(wa);const su=Ar.kind===299?Ar.initializer:Ar;N9e(wa,su,xi)}}else if(Ar.kind===301){V<2&&Kl(Ar,2),D.length>0&&(j=I2(j,Un(),r.symbol,Qt,ae),D=[],x=Ma(),Zr=!1,cn=!1,Ir=!1);const xi=fm(zs(Ar.expression));if(TM(xi)){const Ei=tpe(xi,ae);if(b&&OLe(Ei,b,Ar),Wr=D.length,Lo(j))continue;j=I2(j,Ei,r.symbol,Qt,ae)}else nt(Ar,v.Spread_types_may_only_be_created_from_object_types),j=Ne;continue}else R.assert(Ar.kind===174||Ar.kind===175),V3(Ar);dn&&!(dn.flags&8576)?io(dn,Zi)&&(io(dn,wt)?cn=!0:io(dn,te)?Ir=!0:Zr=!0,m&&(sn=!0)):x.set(Kr.escapedName,Kr),D.push(Kr)}if(tN(),re){const Ar=kn($.pattern.parent,dn=>dn.kind===257||dn.kind===223||dn.kind===166);if(kn(r,dn=>dn===Ar||dn.kind===301).kind!==301)for(const dn of Ho($))!x.get(dn.escapedName)&&!Ra(j,dn.escapedName)&&(dn.flags&16777216||nt(dn.valueDeclaration||((_=Pi(dn,qh))==null?void 0:_.links.bindingElement),v.Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value),x.set(dn.escapedName,dn),D.push(dn))}if(Lo(j))return Ne;if(j!==js)return D.length>0&&(j=I2(j,Un(),r.symbol,Qt,ae),D=[],x=Ma(),Zr=!1,cn=!1),Ic(j,Ar=>Ar===js?Un():Ar);return Un();function Un(){const Ar=[];Zr&&Ar.push(ode(r,Wr,D,ye)),cn&&Ar.push(ode(r,Wr,D,wt)),Ir&&Ar.push(ode(r,Wr,D,te));const Kr=pc(r.symbol,x,pt,pt,Ar);return Kr.objectFlags|=Qt|128|131072,Ct&&(Kr.objectFlags|=4096),sn&&(Kr.objectFlags|=512),m&&(Kr.pattern=r),Kr}}function TM(r){const c=E9e(Ic(r,v0));return!!(c.flags&126615553||c.flags&3145728&&ut(c.types,TM))}function Abt(r){_de(r)}function Pbt(r,c){return V3(r),SM(r)||Fe}function Dbt(r){_de(r.openingElement),N3(r.closingElement.tagName)?ude(r.closingElement):zs(r.closingElement.tagName),yH(r)}function Nbt(r,c){return V3(r),SM(r)||Fe}function Ibt(r){_de(r.openingFragment);const c=bn(r);return Yee(se)&&(se.jsxFactory||c.pragmas.has("jsx"))&&!se.jsxFragmentFactory&&!c.pragmas.has("jsxfrag")&&nt(r,se.jsxFactory?v.The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:v.An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments),yH(r),SM(r)||Fe}function lde(r){return nf(r,"-")}function N3(r){return r.kind===79&&bP(r.escapedText)}function ILe(r,c){return r.initializer?R3(r.initializer,c):$e}function Obt(r,c){const _=r.attributes,m=e_(_,0),b=K?Ma():void 0;let x=Ma(),D=Rl,j=!1,$,re=!1,ae=2048;const ke=vH(DE(r));for(const Ct of _.properties){const Qt=Ct.symbol;if(oh(Ct)){const sn=ILe(Ct,c);ae|=Ci(sn)&458752;const Zr=Oo(4|Qt.flags,Qt.escapedName);if(Zr.declarations=Qt.declarations,Zr.parent=Qt.parent,Qt.valueDeclaration&&(Zr.valueDeclaration=Qt.valueDeclaration),Zr.links.type=sn,Zr.links.target=Qt,x.set(Zr.escapedName,Zr),b==null||b.set(Zr.escapedName,Zr),Ct.name.escapedText===ke&&(re=!0),m){const cn=Ra(m,Qt.escapedName);cn&&cn.declarations&&$v(cn)&&t0(Ct.name,cn.declarations,Ct.name.escapedText)}}else{R.assert(Ct.kind===290),x.size>0&&(D=I2(D,Re(),_.symbol,ae,!1),x=Ma());const sn=fm(Ll(Ct.expression,c));rc(sn)&&(j=!0),TM(sn)?(D=I2(D,sn,_.symbol,ae,!1),b&&OLe(sn,b,Ct)):(nt(Ct.expression,v.Spread_types_may_only_be_created_from_object_types),$=$?no([$,sn]):sn)}}j||x.size>0&&(D=I2(D,Re(),_.symbol,ae,!1));const je=r.parent.kind===281?r.parent:void 0;if(je&&je.openingElement===r&&je.children.length>0){const Ct=yH(je,c);if(!j&&ke&&ke!==""){re&&nt(_,v._0_are_specified_twice_The_attribute_named_0_will_be_overwritten,Ds(ke));const Qt=B2(r.attributes,void 0),sn=Qt&&JS(Qt,ke),Zr=Oo(4,ke);Zr.links.type=Ct.length===1?Ct[0]:sn&&my(sn,C3)?jm(Ct):yf(bi(Ct)),Zr.valueDeclaration=J.createPropertySignature(void 0,Ds(ke),void 0,void 0),go(Zr.valueDeclaration,_),Zr.valueDeclaration.symbol=Zr;const cn=Ma();cn.set(ke,Zr),D=I2(D,pc(_.symbol,cn,pt,pt,pt),_.symbol,ae,!1)}}if(j)return Fe;if($&&D!==Rl)return no([$,D]);return $||(D===Rl?Re():D);function Re(){ae|=Ge;const Ct=pc(_.symbol,x,pt,pt,pt);return Ct.objectFlags|=ae|128|131072,Ct}}function yH(r,c){const _=[];for(const m of r.children)if(m.kind===11)m.containsOnlyTriviaWhiteSpaces||_.push(ye);else{if(m.kind===291&&!m.expression)continue;_.push(R3(m,c))}return _}function OLe(r,c,_){for(const m of Ho(r))if(!(m.flags&16777216)){const b=c.get(m.escapedName);if(b){const x=nt(b.valueDeclaration,v._0_is_specified_more_than_once_so_this_usage_will_be_overwritten,Ds(b.escapedName));Eo(x,ni(_,v.This_spread_always_overwrites_this_property))}}}function Lbt(r,c){return Obt(r.parent,c)}function j2(r,c){const _=DE(c),m=_&&yp(_),b=m&&H_(m,r,788968);return b?Tc(b):Ne}function ude(r){const c=gi(r);if(!c.resolvedSymbol){const _=j2(Ip.IntrinsicElements,r);if(Lo(_))return Pe&&nt(r,v.JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists,Ds(Ip.IntrinsicElements)),c.resolvedSymbol=Tr;{if(!Ye(r.tagName))return R.fail();const m=Ra(_,r.tagName.escapedText);return m?(c.jsxFlags|=1,c.resolvedSymbol=m):b0(_,ye)?(c.jsxFlags|=2,c.resolvedSymbol=_.symbol):(nt(r,v.Property_0_does_not_exist_on_type_1,ai(r.tagName),"JSX."+Ip.IntrinsicElements),c.resolvedSymbol=Tr)}}return c.resolvedSymbol}function fde(r){const c=r&&bn(r),_=c&&gi(c);if(_&&_.jsxImplicitImportContainer===!1)return;if(_&&_.jsxImplicitImportContainer)return _.jsxImplicitImportContainer;const m=$j(Vj(se,c),se);if(!m)return;const x=vl(se)===1?v.Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:v.Cannot_find_module_0_or_its_corresponding_type_declarations,D=iu(r,m,x,r),j=D&&D!==Tr?Fo(Il(D)):void 0;return _&&(_.jsxImplicitImportContainer=j||!1),j}function DE(r){const c=r&&gi(r);if(c&&c.jsxNamespace)return c.jsxNamespace;if(!c||c.jsxNamespace!==!1){let m=fde(r);if(!m||m===Tr){const b=u2(r);m=Xc(r,b,1920,void 0,b,!1)}if(m){const b=Il(H_(yp(Il(m)),Ip.JSX,1920));if(b&&b!==Tr)return c&&(c.jsxNamespace=b),b}c&&(c.jsxNamespace=!1)}const _=Il(B8(Ip.JSX,1920,void 0));if(_!==Tr)return _}function LLe(r,c){const _=c&&H_(c.exports,r,788968),m=_&&Tc(_),b=m&&Ho(m);if(b){if(b.length===0)return"";if(b.length===1)return b[0].escapedName;b.length>1&&_.declarations&&nt(_.declarations[0],v.The_global_type_JSX_0_may_not_have_more_than_one_property,Ds(r))}}function Mbt(r){return r&&H_(r.exports,Ip.LibraryManagedAttributes,788968)}function Fbt(r){return LLe(Ip.ElementAttributesPropertyNameContainer,r)}function vH(r){return LLe(Ip.ElementChildrenAttributeNameContainer,r)}function MLe(r,c){if(r.flags&4)return[Pc];if(r.flags&128){const b=FLe(r,c);return b?[PH(c,b)]:(nt(c,v.Property_0_does_not_exist_on_type_1,r.value,"JSX."+Ip.IntrinsicElements),pt)}const _=Jf(r);let m=ya(_,1);return m.length===0&&(m=ya(_,0)),m.length===0&&_.flags&1048576&&(m=u_e(qt(_.types,b=>MLe(b,c)))),m}function FLe(r,c){const _=j2(Ip.IntrinsicElements,c);if(!Lo(_)){const m=r.value,b=Ra(_,Vc(m));if(b)return En(b);const x=b0(_,ye);return x||void 0}return Fe}function Rbt(r,c,_){if(r===1){const b=jLe(_);b&&fd(c,b,k_,_.tagName,v.Its_return_type_0_is_not_a_valid_JSX_element,m)}else if(r===0){const b=BLe(_);b&&fd(c,b,k_,_.tagName,v.Its_instance_type_0_is_not_a_valid_JSX_element,m)}else{const b=jLe(_),x=BLe(_);if(!b||!x)return;const D=bi([b,x]);fd(c,D,k_,_.tagName,v.Its_element_type_0_is_not_a_valid_JSX_element,m)}function m(){const b=lu(_.tagName);return sa(void 0,v._0_cannot_be_used_as_a_JSX_component,b)}}function RLe(r){R.assert(N3(r.tagName));const c=gi(r);if(!c.resolvedJsxElementAttributesType){const _=ude(r);return c.jsxFlags&1?c.resolvedJsxElementAttributesType=En(_)||Ne:c.jsxFlags&2?c.resolvedJsxElementAttributesType=b0(j2(Ip.IntrinsicElements,r),ye)||Ne:c.resolvedJsxElementAttributesType=Ne}return c.resolvedJsxElementAttributesType}function BLe(r){const c=j2(Ip.ElementClass,r);if(!Lo(c))return c}function SM(r){return j2(Ip.Element,r)}function jLe(r){const c=SM(r);if(c)return bi([c,qr])}function Bbt(r){const c=j2(Ip.IntrinsicElements,r);return c?Ho(c):pt}function jbt(r){(se.jsx||0)===0&&nt(r,v.Cannot_use_JSX_unless_the_jsx_flag_is_provided),SM(r)===void 0&&Pe&&nt(r,v.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist)}function _de(r){const c=Hf(r);if(c&&PCt(r),jbt(r),!fde(r)){const _=Do&&se.jsx===2?v.Cannot_find_name_0:void 0,m=u2(r),b=c?r.tagName:r;let x;if(mw(r)&&m==="null"||(x=Xc(b,m,111551,_,m,!0)),x&&(x.isReferenced=67108863,!se.verbatimModuleSyntax&&x.flags&2097152&&!E_(x)&&T2(x)),mw(r)){const D=bn(r),j=hk(D);j&&Xc(b,j,111551,_,j,!0)}}if(c){const _=r,m=L3(_);NH(m,r),Rbt(lMe(_),Xo(m),_)}}function pde(r,c,_){if(r.flags&524288){if(w2(r,c)||gE(r,c)||D8(c)&&vg(r,ye)||_&&lde(c))return!0}else if(r.flags&3145728&&xM(r)){for(const m of r.types)if(pde(m,c,_))return!0}return!1}function xM(r){return!!(r.flags&524288&&!(Ci(r)&512)||r.flags&67108864||r.flags&1048576&&Oe(r.types,xM)||r.flags&2097152&&ut(r.types,xM))}function Jbt(r,c){if(NCt(r),r.expression){const _=zs(r.expression,c);return r.dotDotDotToken&&_!==Fe&&!Wp(_)&&nt(r,v.JSX_spread_child_must_be_an_array_type),_}else return Ne}function bH(r){return r.valueDeclaration?ym(r.valueDeclaration):0}function dde(r){if(r.flags&8192||ul(r)&4)return!0;if(Mn(r.valueDeclaration)){const c=r.valueDeclaration.parent;return c&&$n(c)&&ll(c)===3}}function mde(r,c,_,m,b,x=!0){const D=x?r.kind===163?r.right:r.kind===202?r:r.kind===205&&r.propertyName?r.propertyName:r.name:void 0;return JLe(r,c,_,m,b,D)}function JLe(r,c,_,m,b,x){const D=td(b,_);if(c){if(V<2&&ULe(b))return x&&nt(x,v.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword),!1;if(D&256)return x&&nt(x,v.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,A(b),Me(Lk(b))),!1}if(D&256&&ULe(b)&&(L7(r)||y2e(r)||tg(r.parent)&&lj(r.parent.parent))){const $=Jy(u_(b));if($&&Dkt(r))return x&&nt(x,v.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,A(b),Vd($.name)),!1}if(!(D&24))return!0;if(D&8){const $=Jy(u_(b));return mme(r,$)?!0:(x&&nt(x,v.Property_0_is_private_and_only_accessible_within_class_1,A(b),Me(Lk(b))),!1)}if(c)return!0;let j=nRe(r,$=>{const re=Tc(Zn($));return b9e(re,b,_)});return!j&&(j=Ubt(r),j=j&&b9e(j,b,_),D&32||!j)?(x&&nt(x,v.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,A(b),Me(Lk(b)||m)),!1):D&32?!0:(m.flags&262144&&(m=m.isThisType?hf(m):jf(m)),!m||!CS(m,j)?(x&&nt(x,v.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2,A(b),Me(j),Me(m)),!1):!0)}function Ubt(r){const c=zbt(r);let _=(c==null?void 0:c.type)&&Bi(c.type);if(_&&_.flags&262144&&(_=hf(_)),_&&Ci(_)&7)return dE(_)}function zbt(r){const c=y_(r,!1,!1);return c&&Sa(c)?xT(c):void 0}function ULe(r){return!!aM(r,c=>!(c.flags&8192))}function I3(r){return zm(zs(r),r)}function TH(r){return!!(bf(r)&50331648)}function hde(r){return TH(r)?w0(r):r}function Vbt(r,c){const _=El(r)?Ap(r):void 0;if(r.kind===104){nt(r,v.The_value_0_cannot_be_used_here,"null");return}if(_!==void 0&&_.length<100){if(Ye(r)&&_==="undefined"){nt(r,v.The_value_0_cannot_be_used_here,"undefined");return}nt(r,c&16777216?c&33554432?v._0_is_possibly_null_or_undefined:v._0_is_possibly_undefined:v._0_is_possibly_null,_)}else nt(r,c&16777216?c&33554432?v.Object_is_possibly_null_or_undefined:v.Object_is_possibly_undefined:v.Object_is_possibly_null)}function $bt(r,c){nt(r,c&16777216?c&33554432?v.Cannot_invoke_an_object_which_is_possibly_null_or_undefined:v.Cannot_invoke_an_object_which_is_possibly_undefined:v.Cannot_invoke_an_object_which_is_possibly_null)}function zLe(r,c,_){if(K&&r.flags&2){if(El(c)){const b=Ap(c);if(b.length<100)return nt(c,v._0_is_of_type_unknown,b),Ne}return nt(c,v.Object_is_of_type_unknown),Ne}const m=bf(r);if(m&50331648){_(c,m);const b=w0(r);return b.flags&229376?Ne:b}return r}function zm(r,c){return zLe(r,c,Vbt)}function VLe(r,c){const _=zm(r,c);if(_.flags&16384){if(El(c)){const m=Ap(c);if(Ye(c)&&m==="undefined")return nt(c,v.The_value_0_cannot_be_used_here,m),_;if(m.length<100)return nt(c,v._0_is_possibly_undefined,m),_}nt(c,v.Object_is_possibly_undefined)}return _}function $Le(r,c){return r.flags&32?qbt(r,c):yde(r,r.expression,I3(r.expression),r.name,c)}function qbt(r,c){const _=zs(r.expression),m=H8(_,r.expression);return KW(yde(r,r.expression,zm(m,r.expression),r.name,c),r,m!==_)}function qLe(r,c){const _=pj(r)&&Px(r.left)?zm(yM(r.left),r.left):I3(r.left);return yde(r,r.left,_,r.right,c)}function WLe(r){for(;r.parent.kind===214;)r=r.parent;return Oy(r.parent)&&r.parent.expression===r}function SH(r,c){for(let _=uu(c);_;_=uu(_)){const{symbol:m}=_,b=s5(m,r),x=m.members&&m.members.get(b)||m.exports&&m.exports.get(b);if(x)return x}}function Wbt(r){if(!uu(r))return Ur(r,v.Private_identifiers_are_not_allowed_outside_class_bodies);if(!cre(r.parent)){if(!Fy(r))return Ur(r,v.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression);const c=$n(r.parent)&&r.parent.operatorToken.kind===101;if(!xH(r)&&!c)return Ur(r,v.Cannot_find_name_0,ai(r))}return!1}function Hbt(r){Wbt(r);const c=xH(r);return c&&CM(c,void 0,!1),Fe}function xH(r){if(!Fy(r))return;const c=gi(r);return c.resolvedSymbol===void 0&&(c.resolvedSymbol=SH(r.escapedText,r)),c.resolvedSymbol}function gde(r,c){return Ra(r,c.escapedName)}function Gbt(r,c,_){let m;const b=Ho(r);b&&Q(b,D=>{const j=D.valueDeclaration;if(j&&of(j)&&as(j.name)&&j.name.escapedText===c.escapedText)return m=D,!0});const x=od(c);if(m){const D=R.checkDefined(m.valueDeclaration),j=R.checkDefined(uu(D));if(_!=null&&_.valueDeclaration){const $=_.valueDeclaration,re=uu($);if(R.assert(!!re),kn(re,ae=>j===ae)){const ae=nt(c,v.The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling,x,Me(r));return Eo(ae,ni($,v.The_shadowing_declaration_of_0_is_defined_here,x),ni(D,v.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here,x)),!0}}return nt(c,v.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,x,od(j.name||qO)),!0}return!1}function HLe(r,c){return(P_(c)||L7(r)&&Fm(c))&&y_(r,!0,!1)===gh(c)}function yde(r,c,_,m,b){const x=gi(c).resolvedSymbol,D=Cx(r),j=Jf(D!==0||WLe(r)?Z_(_):_),$=rc(j)||j===St;let re;if(as(m)){V<99&&(D!==0&&Kl(r,1048576),D!==1&&Kl(r,524288));const ke=SH(m.escapedText,m);if(D&&ke&&ke.valueDeclaration&&zl(ke.valueDeclaration)&&Ur(m,v.Cannot_assign_to_private_method_0_Private_methods_are_not_writable,ai(m)),$){if(ke)return Lo(j)?Ne:j;if(!uu(m))return Ur(m,v.Private_identifiers_are_not_allowed_outside_class_bodies),Fe}if(re=ke?gde(_,ke):void 0,!re&&Gbt(_,m,ke))return Ne;re&&re.flags&65536&&!(re.flags&32768)&&D!==1&&nt(r,v.Private_accessor_was_defined_without_a_getter)}else{if($)return Ye(c)&&x&&pH(x,r),Lo(j)?Ne:j;re=Ra(j,m.escapedText,!1,r.kind===163)}Ye(c)&&x&&(qd(se)||!(re&&(yN(re)||re.flags&8&&r.parent.kind===302))||wT(se)&&_Le(r))&&pH(x,r);let ae;if(re){$v(re)&&Q_e(r,re)&&re.declarations&&t0(m,re.declarations,m.escapedText),Xbt(re,r,m),CM(re,r,eMe(c,x)),gi(r).resolvedSymbol=re;const ke=IP(r);if(mde(r,c.kind===106,ke,j,re),JMe(r,re,D))return nt(m,v.Cannot_assign_to_0_because_it_is_a_read_only_property,ai(m)),Ne;ae=HLe(r,re)?Pt:ke?p3(re):En(re)}else{const ke=!as(m)&&(D===0||!N2(_)||qP(_))?gE(j,m.escapedText):void 0;if(!(ke&&ke.type)){const je=vde(r,_.symbol,!0);return!je&&J8(_)?Fe:_.symbol===gt?(gt.exports.has(m.escapedText)&&gt.exports.get(m.escapedText).flags&418?nt(m,v.Property_0_does_not_exist_on_type_1,Ds(m.escapedText),Me(_)):Pe&&nt(m,v.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,Me(_)),Fe):(m.escapedText&&!qv(r)&&QLe(m,qP(_)?j:_,je),Ne)}ke.isReadonly&&(Rg(r)||uee(r))&&nt(r,v.Index_signature_in_type_0_only_permits_reading,Me(j)),ae=se.noUncheckedIndexedAccess&&!Rg(r)?bi([ke.type,it]):ke.type,se.noPropertyAccessFromIndexSignature&&oi(r)&&nt(m,v.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0,Ds(m.escapedText)),ke.declaration&&ym(ke.declaration)&268435456&&t0(m,[ke.declaration],m.escapedText)}return GLe(r,re,ae,m,b)}function vde(r,c,_){const m=bn(r);if(m&&se.checkJs===void 0&&m.checkJsDirective===void 0&&(m.scriptKind===1||m.scriptKind===2)){const b=Q(c==null?void 0:c.declarations,bn);return!(m!==b&&b&&ug(b))&&!(_&&c&&c.flags&32)&&!(r&&_&&oi(r)&&r.expression.kind===108)}return!1}function GLe(r,c,_,m,b){const x=Cx(r);if(x===1)return OS(_,!!(c&&c.flags&16777216));if(c&&!(c.flags&98311)&&!(c.flags&8192&&_.flags&1048576)&&!GH(c.declarations))return _;if(_===Pt)return _E(r,c);_=Xpe(_,r,b);let D=!1;if(K&&we&&$c(r)&&r.expression.kind===108){const $=c&&c.valueDeclaration;if($&&VFe($)&&!ba($)){const re=eN(r);re.kind===173&&re.parent===$.parent&&!($.flags&16777216)&&(D=!0)}}else K&&c&&c.valueDeclaration&&oi(c.valueDeclaration)&&$7(c.valueDeclaration)&&eN(r)===eN(c.valueDeclaration)&&(D=!0);const j=gb(r,_,D?C0(_):_);return D&&!S3(_)&&S3(j)?(nt(m,v.Property_0_is_used_before_being_assigned,A(c)),_):x?V1(j):j}function Xbt(r,c,_){const{valueDeclaration:m}=r;if(!m||bn(c).isDeclarationFile)return;let b;const x=ai(_);XLe(c)&&!$gt(m)&&!($c(c)&&$c(c.expression))&&!n0(m,_)&&!(zl(m)&&H0(m)&32)&&(se.useDefineForClassFields||!Qbt(r))?b=nt(_,v.Property_0_is_used_before_its_initialization,x):m.kind===260&&c.parent.kind!==180&&!(m.flags&16777216)&&!n0(m,_)&&(b=nt(_,v.Class_0_used_before_its_declaration,x)),b&&Eo(b,ni(m,v._0_is_declared_here,x))}function XLe(r){return!!kn(r,c=>{switch(c.kind){case 169:return!0;case 299:case 171:case 174:case 175:case 301:case 164:case 236:case 291:case 288:case 289:case 290:case 283:case 230:case 294:return!1;case 216:case 241:return Fa(c.parent)&&fl(c.parent.parent)?!0:"quit";default:return Fy(c)?!1:"quit"}})}function Qbt(r){if(!(r.parent.flags&32))return!1;let c=En(r.parent);for(;;){if(c=c.symbol&&Ybt(c),!c)return!1;const _=Ra(c,r.escapedName);if(_&&_.valueDeclaration)return!0}}function Ybt(r){const c=_o(r);if(c.length!==0)return no(c)}function QLe(r,c,_){let m,b;if(!as(r)&&c.flags&1048576&&!(c.flags&134348796)){for(const D of c.types)if(!Ra(D,r.escapedText)&&!gE(D,r.escapedText)){m=sa(m,v.Property_0_does_not_exist_on_type_1,uc(r),Me(D));break}}if(YLe(r.escapedText,c)){const D=uc(r),j=Me(c);m=sa(m,v.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,D,j,j+"."+D)}else{const D=pN(c);if(D&&Ra(D,r.escapedText))m=sa(m,v.Property_0_does_not_exist_on_type_1,uc(r),Me(c)),b=ni(r,v.Did_you_forget_to_use_await);else{const j=uc(r),$=Me(c),re=e2t(j,c);if(re!==void 0)m=sa(m,v.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,j,$,re);else{const ae=bde(r,c);if(ae!==void 0){const ke=yl(ae),je=_?v.Property_0_may_not_exist_on_type_1_Did_you_mean_2:v.Property_0_does_not_exist_on_type_1_Did_you_mean_2;m=sa(m,je,j,$,ke),b=ae.valueDeclaration&&ni(ae.valueDeclaration,v._0_is_declared_here,ke)}else{const ke=Zbt(c)?v.Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:v.Property_0_does_not_exist_on_type_1;m=sa(T_e(m,c),ke,j,$)}}}}const x=Ly(bn(r),r,m);b&&Eo(x,b),h1(!_||m.code!==v.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,x)}function Zbt(r){return se.lib&&!se.lib.includes("dom")&&hvt(r,c=>c.symbol&&/^(EventTarget|Node|((HTML[a-zA-Z]*)?Element))$/.test(Ds(c.symbol.escapedName)))&&_y(r)}function YLe(r,c){const _=c.symbol&&Ra(En(c.symbol),r);return _!==void 0&&!!_.valueDeclaration&&ba(_.valueDeclaration)}function Kbt(r){const c=od(r),m=IK().get(c);return m&&C1e(m.keys())}function e2t(r,c){const _=Jf(c).symbol;if(!_)return;const m=yl(_),x=IK().get(m);if(x){for(const[D,j]of x)if(xt(j,r))return D}}function ZLe(r,c){return kM(r,Ho(c),106500)}function bde(r,c){let _=Ho(c);if(typeof r!="string"){const m=r.parent;oi(m)&&(_=hr(_,b=>tMe(m,c,b))),r=ai(r)}return kM(r,_,111551)}function KLe(r,c){const _=ha(r)?r:ai(r),m=Ho(c),b=_==="for"?He(m,x=>yl(x)==="htmlFor"):_==="class"?He(m,x=>yl(x)==="className"):void 0;return b??kM(_,m,111551)}function Tde(r,c){const _=bde(r,c);return _&&yl(_)}function Sde(r,c,_){return R.assert(c!==void 0,"outername should always be defined"),m2(r,c,_,void 0,c,!1,!1,!0,(b,x,D)=>{R.assertEqual(c,x,"name should equal outerName");const j=H_(b,x,D);if(j)return j;let $;return b===Ke?$=fr(["string","number","boolean","object","bigint","symbol"],ae=>b.has(ae.charAt(0).toUpperCase()+ae.slice(1))?Oo(524288,ae):void 0).concat(ao(b.values())):$=ao(b.values()),kM(Ds(x),$,D)})}function t2t(r,c,_){const m=Sde(r,c,_);return m&&yl(m)}function kH(r,c){return c.exports&&kM(ai(r),x1(c),2623475)}function r2t(r,c){const _=kH(r,c);return _&&yl(_)}function n2t(r,c,_){function m(D){const j=w2(r,D);if(j){const $=Rk(En(j));return!!$&&kh($)>=1&&io(_,pm($,0))}return!1}const b=Rg(c)?"set":"get";if(!m(b))return;let x=y5(c.expression);return x===void 0?x=b:x+="."+b,x}function i2t(r,c){const _=c.types.filter(m=>!!(m.flags&128));return OA(r.value,_,m=>m.value)}function kM(r,c,_){return OA(r,c,m);function m(b){const x=yl(b);if(!Qs(x,'"')){if(b.flags&_)return x;if(b.flags&2097152){const D=o0(b);if(D&&D.flags&_)return x}}}}function CM(r,c,_){const m=r&&r.flags&106500&&r.valueDeclaration;if(!m)return;const b=R_(m,8),x=r.valueDeclaration&&of(r.valueDeclaration)&&as(r.valueDeclaration.name);if(!(!b&&!x)&&!(c&&zee(c)&&!(r.flags&65536))){if(_){const D=kn(c,Lc);if(D&&D.symbol===r)return}(ul(r)&1?ys(r).target:r).isReferenced=67108863}}function eMe(r,c){return r.kind===108||!!c&&El(r)&&c===Id(Dp(r))}function s2t(r,c){switch(r.kind){case 208:return xde(r,r.expression.kind===106,c,Z_(zs(r.expression)));case 163:return xde(r,!1,c,Z_(zs(r.left)));case 202:return xde(r,!1,c,Bi(r))}}function tMe(r,c,_){return kde(r,r.kind===208&&r.expression.kind===106,!1,c,_)}function xde(r,c,_,m){if(rc(m))return!0;const b=Ra(m,_);return!!b&&kde(r,c,!1,m,b)}function kde(r,c,_,m,b){if(rc(m))return!0;if(b.valueDeclaration&&Wf(b.valueDeclaration)){const x=uu(b.valueDeclaration);return!cf(r)&&!!kn(r,D=>D===x)}return JLe(r,c,_,m,b)}function a2t(r){const c=r.initializer;if(c.kind===258){const _=c.declarations[0];if(_&&!xa(_.name))return Zn(_)}else if(c.kind===79)return Id(c)}function o2t(r){return gf(r).length===1&&!!vg(r,wt)}function c2t(r){const c=xc(r);if(c.kind===79){const _=Id(c);if(_.flags&3){let m=r,b=r.parent;for(;b;){if(b.kind===246&&m===b.statement&&a2t(b)===_&&o2t(Tf(b.expression)))return!0;m=b,b=b.parent}}}return!1}function l2t(r,c){return r.flags&32?u2t(r,c):rMe(r,I3(r.expression),c)}function u2t(r,c){const _=zs(r.expression),m=H8(_,r.expression);return KW(rMe(r,zm(m,r.expression),c),r,m!==_)}function rMe(r,c,_){const m=Cx(r)!==0||WLe(r)?Z_(c):c,b=r.argumentExpression,x=zs(b);if(Lo(m)||m===St)return m;if(zde(m)&&!sc(b))return nt(b,v.A_const_enum_member_can_only_be_accessed_using_a_string_literal),Ne;const D=c2t(b)?wt:x,j=Rg(r)?4|(N2(m)&&!qP(m)?2:0):32,$=j1(m,D,j,r)||Ne;return aFe(GLe(r,gi(r).resolvedSymbol,$,b,_),r)}function nMe(r){return Oy(r)||Mx(r)||Hf(r)}function NE(r){return nMe(r)&&Q(r.typeArguments,$a),r.kind===212?zs(r.template):Hf(r)?zs(r.attributes):r.kind!==167&&Q(r.arguments,c=>{zs(c)}),Pc}function xh(r){return NE(r),br}function f2t(r,c,_){let m,b,x=0,D,j=-1,$;R.assert(!c.length);for(const re of r){const ae=re.declaration&&Zn(re.declaration),ke=re.declaration&&re.declaration.parent;!b||ae===b?m&&ke===m?D=D+1:(m=ke,D=x):(D=x=c.length,m=ke),b=ae,jne(re)?(j++,$=j,x++):$=D,c.splice($,0,_?dgt(re,_):re)}}function CH(r){return!!r&&(r.kind===227||r.kind===234&&r.isSpread)}function wH(r){return ar(r,CH)}function iMe(r){return!!(r.flags&16384)}function _2t(r){return!!(r.flags&49155)}function EH(r,c,_,m=!1){let b,x=!1,D=K_(_),j=kh(_);if(r.kind===212)if(b=c.length,r.template.kind===225){const $=ko(r.template.templateSpans);x=cl($.literal)||!!$.literal.isUnterminated}else{const $=r.template;R.assert($.kind===14),x=!!$.isUnterminated}else if(r.kind===167)b=fMe(r,_);else if(Hf(r)){if(x=r.attributes.end===r.end,x)return!0;b=j===0?c.length:1,D=c.length===0?D:1,j=Math.min(j,1)}else if(r.arguments){b=m?c.length+1:c.length,x=r.arguments.end===r.end;const $=wH(c);if($>=0)return $>=kh(_)&&(Ch(_)||$<K_(_))}else return R.assert(r.kind===211),kh(_)===0;if(!Ch(_)&&b>D)return!1;if(x||b>=j)return!0;for(let $=b;$<j;$++){const re=pm(_,$);if(Zl(re,Mn(r)&&!K?_2t:iMe).flags&131072)return!1}return!0}function Cde(r,c){const _=H(r.typeParameters),m=bh(r.typeParameters);return!Oe(c)||c.length>=m&&c.length<=_}function Rk(r){return nN(r,0,!1)}function sMe(r){return nN(r,0,!1)||nN(r,1,!1)}function nN(r,c,_){if(r.flags&524288){const m=um(r);if(_||m.properties.length===0&&m.indexInfos.length===0){if(c===0&&m.callSignatures.length===1&&m.constructSignatures.length===0)return m.callSignatures[0];if(c===1&&m.constructSignatures.length===1&&m.callSignatures.length===0)return m.constructSignatures[0]}}}function aMe(r,c,_,m){const b=X8(r.typeParameters,r,0,m),x=aN(c),D=_&&(x&&x.flags&262144?_.nonFixingMapper:_.mapper),j=D?wE(c,D):c;return Ppe(j,r,($,re)=>{dy(b.inferences,$,re)}),_||Dpe(c,r,($,re)=>{dy(b.inferences,$,re,128)}),F8(r,Vpe(b),Mn(c.declaration))}function p2t(r,c,_,m){const b=gH(c,r),x=IE(r.attributes,b,m,_);return dy(m.inferences,x,b),Vpe(m)}function oMe(r){if(!r)return $t;const c=zs(r);return QA(r.parent)?w0(c):cf(r.parent)?wpe(c):c}function wde(r,c,_,m,b){if(Hf(r))return p2t(r,c,m,b);if(r.kind!==167){const $=ut(c.typeParameters,ae=>!!AS(ae)),re=e_(r,$?8:0);if(re){const ae=Xo(c);if(MS(ae)){const ke=Fk(r);if(!(!$&&e_(r,8)!==re)){const Qt=Ope(I1t(ke,1)),sn=Cs(re,Qt),Zr=Rk(sn),cn=Zr&&Zr.typeParameters?PS(D_e(Zr,Zr.typeParameters)):sn;dy(b.inferences,cn,ae,128)}const Re=X8(c.typeParameters,c,b.flags),Ct=Cs(re,ke&&ke.returnMapper);dy(Re.inferences,Ct,ae),b.returnMapper=Oe(Re.inferences,OE)?Ope(F1t(Re)):void 0}}}const x=oN(c),D=x?Math.min(K_(c)-1,_.length):_.length;if(x&&x.flags&262144){const $=He(b.inferences,re=>re.typeParameter===x);$&&($.impliedArity=ar(_,CH,D)<0?_.length-D:void 0)}const j=A2(c);if(j&&MS(j)){const $=uMe(r);dy(b.inferences,oMe($),j)}for(let $=0;$<D;$++){const re=_[$];if(re.kind!==229&&!(m&32&&Rpe(re))){const ae=pm(c,$);if(MS(ae)){const ke=IE(re,ae,b,m);dy(b.inferences,ke,ae)}}}if(x&&MS(x)){const $=Ede(_,D,_.length,x,b,m);dy(b.inferences,$,x)}return Vpe(b)}function cMe(r){return r.flags&1048576?Ic(r,cMe):r.flags&1||XW(jf(r)||r)?r:po(r)?jm(Go(r),r.target.elementFlags,!1,r.target.labeledElementDeclarations):jm([r],[8])}function Ede(r,c,_,m,b,x){if(c>=_-1){const ae=r[_-1];if(CH(ae))return cMe(ae.kind===234?ae.type:IE(ae.expression,m,b,x))}const D=[],j=[],$=[],re=$L(m);for(let ae=c;ae<_;ae++){const ke=r[ae];if(CH(ke)){const je=ke.kind===234?ke.type:zs(ke.expression);db(je)?(D.push(je),j.push(8)):(D.push(q1(33,je,Ze,ke.kind===227?ke.expression:ke)),j.push(4))}else{const je=N_(m,Jm(ae-c),256),Re=IE(ke,je,b,x),Ct=re||Qc(je,406978556);D.push(Ct?f_(Re):F2(Re)),j.push(1)}ke.kind===234&&ke.tupleNameSource&&$.push(ke.tupleNameSource)}return jm(D,j,re,H($)===H(D)?$:void 0)}function Ade(r,c,_,m){const b=Mn(r.declaration),x=r.typeParameters,D=R1(qt(c,Bi),x,bh(x),b);let j;for(let $=0;$<c.length;$++){R.assert(x[$]!==void 0,"Should not call checkTypeArguments with too many type arguments");const re=hf(x[$]);if(re){const ae=_&&m?()=>sa(void 0,v.Type_0_does_not_satisfy_the_constraint_1):void 0,ke=m||v.Type_0_does_not_satisfy_the_constraint_1;j||(j=__(x,D));const je=D[$];if(!Kf(je,Vp(Cs(re,j),je),_?c[$]:void 0,ke,ae))return}}return D}function lMe(r){if(N3(r.tagName))return 2;const c=Jf(zs(r.tagName));return H(ya(c,1))?0:H(ya(c,0))?1:2}function d2t(r,c,_,m,b,x,D){const j=gH(c,r),$=IE(r.attributes,j,void 0,m);return re()&&fpe($,j,_,b?r.tagName:void 0,r.attributes,void 0,x,D);function re(){var ae;if(fde(r))return!0;const ke=Wg(r)||_w(r)&&!N3(r.tagName)?zs(r.tagName):void 0;if(!ke)return!0;const je=ya(ke,0);if(!H(je))return!0;const Re=dRe(r);if(!Re)return!0;const Ct=ml(Re,111551,!0,!1,r);if(!Ct)return!0;const Qt=En(Ct),sn=ya(Qt,0);if(!H(sn))return!0;let Zr=!1,cn=0;for(const Wr of sn){const Un=pm(Wr,0),Ar=ya(Un,0);if(H(Ar))for(const Kr of Ar){if(Zr=!0,Ch(Kr))return!0;const dn=K_(Kr);dn>cn&&(cn=dn)}}if(!Zr)return!0;let Ir=1/0;for(const Wr of je){const Un=kh(Wr);Un<Ir&&(Ir=Un)}if(Ir<=cn)return!0;if(b){const Wr=ni(r.tagName,v.Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3,Ap(r.tagName),Ir,Ap(Re),cn),Un=(ae=Od(r.tagName))==null?void 0:ae.valueDeclaration;Un&&Eo(Wr,ni(Un,v._0_is_declared_here,Ap(r.tagName))),D&&D.skipLogging&&(D.errors||(D.errors=[])).push(Wr),D.skipLogging||Do.add(Wr)}return!1}}function wM(r,c,_,m,b,x,D){const j={errors:void 0,skipLogging:!0};if(Hf(r))return d2t(r,_,m,b,x,D,j)?void 0:(R.assert(!x||!!j.errors,"jsx should have errors when reporting errors"),j.errors||pt);const $=A2(_);if($&&$!==$t&&!(NT(r)||Da(r)&&n_(r.expression))){const Re=uMe(r),Ct=oMe(Re),Qt=x?Re||r:void 0,sn=v.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1;if(!fd(Ct,$,m,Qt,sn,D,j))return R.assert(!x||!!j.errors,"this parameter should have errors when reporting errors"),j.errors||pt}const re=v.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1,ae=oN(_),ke=ae?Math.min(K_(_)-1,c.length):c.length;for(let Re=0;Re<ke;Re++){const Ct=c[Re];if(Ct.kind!==229){const Qt=pm(_,Re),sn=IE(Ct,Qt,void 0,b),Zr=b&4?uM(sn):sn;if(!fpe(Zr,Qt,m,x?Ct:void 0,Ct,re,D,j))return R.assert(!x||!!j.errors,"parameter should have errors when reporting errors"),je(Ct,Zr,Qt),j.errors||pt}}if(ae){const Re=Ede(c,ke,c.length,ae,void 0,b),Ct=c.length-ke,Qt=x?Ct===0?r:Ct===1?c[ke]:Kh(EM(r,Re),c[ke].pos,c[c.length-1].end):void 0;if(!fd(Re,ae,m,Qt,re,void 0,j))return R.assert(!x||!!j.errors,"rest parameter should have errors when reporting errors"),je(Qt,Re,ae),j.errors||pt}return;function je(Re,Ct,Qt){if(Re&&x&&j.errors&&j.errors.length){if(_N(Qt))return;const sn=_N(Ct);sn&&Um(sn,Qt,m)&&Eo(j.errors[0],ni(Re,v.Did_you_forget_to_use_await))}}}function uMe(r){const c=r.kind===210?r.expression:r.kind===212?r.tag:void 0;if(c){const _=uf(c);if($c(_))return _.expression}}function EM(r,c,_,m){const b=sg.createSyntheticExpression(c,_,m);return Et(b,r),go(b,r),b}function Pde(r){if(r.kind===212){const m=r.template,b=[EM(m,oyt())];return m.kind===225&&Q(m.templateSpans,x=>{b.push(x.expression)}),b}if(r.kind===167)return m2t(r);if(Hf(r))return r.attributes.properties.length>0||Wg(r)&&r.parent.children.length>0?[r.attributes]:pt;const c=r.arguments||pt,_=wH(c);if(_>=0){const m=c.slice(0,_);for(let b=_;b<c.length;b++){const x=c[b],D=x.kind===227&&(fn?zs(x.expression):Ll(x.expression));D&&po(D)?Q(Go(D),(j,$)=>{var re;const ae=D.target.elementFlags[$],ke=EM(x,ae&4?yf(j):j,!!(ae&12),(re=D.target.labeledElementDeclarations)==null?void 0:re[$]);m.push(ke)}):m.push(x)}return m}return c}function m2t(r){const c=r.expression,_=jde(r);if(_){const m=[];for(const b of _.parameters){const x=En(b);m.push(EM(c,x))}return m}return R.fail()}function fMe(r,c){return se.experimentalDecorators?h2t(r,c):2}function h2t(r,c){switch(r.parent.kind){case 260:case 228:return 1;case 169:return Xh(r.parent)?3:2;case 171:case 174:case 175:return V===0||c.parameters.length<=2?2:3;case 166:return 3;default:return R.fail()}}function _Me(r,c){let _,m;const b=bn(r);if(oi(r.expression)){const x=gT(b,r.expression.name);_=x.start,m=c?x.length:r.end-_}else{const x=gT(b,r.expression);_=x.start,m=c?x.length:r.end-_}return{start:_,length:m,sourceFile:b}}function iN(r,c,_,m,b,x){if(Da(r)){const{sourceFile:D,start:j,length:$}=_Me(r);return"message"in c?gu(D,j,$,c,_,m,b,x):$K(D,c)}else return"message"in c?ni(r,c,_,m,b,x):Ly(bn(r),r,c)}function g2t(r){if(!Da(r)||!Ye(r.expression))return!1;const c=Xc(r.expression,r.expression.escapedText,111551,void 0,void 0,!1),_=c==null?void 0:c.valueDeclaration;if(!_||!ua(_)||!n4(_.parent)||!NT(_.parent.parent)||!Ye(_.parent.parent.expression))return!1;const m=j_e(!1);return m?Od(_.parent.parent.expression,!0)===m:!1}function pMe(r,c,_,m){var b;const x=wH(_);if(x>-1)return ni(_[x],v.A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter);let D=Number.POSITIVE_INFINITY,j=Number.NEGATIVE_INFINITY,$=Number.NEGATIVE_INFINITY,re=Number.POSITIVE_INFINITY,ae;for(const Qt of c){const sn=kh(Qt),Zr=K_(Qt);sn<D&&(D=sn,ae=Qt),j=Math.max(j,Zr),sn<_.length&&sn>$&&($=sn),_.length<Zr&&Zr<re&&(re=Zr)}const ke=Oe(c,Ch),je=ke?D:D<j?D+"-"+j:D,Re=!ke&&je===1&&_.length===0&&g2t(r);if(Re&&Mn(r))return iN(r,v.Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments);const Ct=Df(r)?ke?v.The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0:v.The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0:ke?v.Expected_at_least_0_arguments_but_got_1:Re?v.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:v.Expected_0_arguments_but_got_1;if(D<_.length&&_.length<j){if(m){let Qt=sa(void 0,v.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments,_.length,$,re);return Qt=sa(Qt,m),iN(r,Qt)}return iN(r,v.No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments,_.length,$,re)}else if(_.length<D){let Qt;if(m){let Zr=sa(void 0,Ct,je,_.length);Zr=sa(Zr,m),Qt=iN(r,Zr)}else Qt=iN(r,Ct,je,_.length);const sn=(b=ae==null?void 0:ae.declaration)==null?void 0:b.parameters[ae.thisParameter?_.length+1:_.length];if(sn){const Zr=ni(sn,xa(sn.name)?v.An_argument_matching_this_binding_pattern_was_not_provided:Lg(sn)?v.Arguments_for_the_rest_parameter_0_were_not_provided:v.An_argument_for_0_was_not_provided,sn.name?xa(sn.name)?void 0:ai(Dp(sn.name)):_.length);return Eo(Qt,Zr)}return Qt}else{const Qt=J.createNodeArray(_.slice(j)),sn=Uo(Qt).pos;let Zr=ko(Qt).end;if(Zr===sn&&Zr++,Kh(Qt,sn,Zr),m){let cn=sa(void 0,Ct,je,_.length);return cn=sa(cn,m),N7(bn(r),Qt,cn)}return D6(bn(r),Qt,Ct,je,_.length)}}function y2t(r,c,_,m){const b=_.length;if(c.length===1){const j=c[0],$=bh(j.typeParameters),re=H(j.typeParameters);if(m){let ae=sa(void 0,v.Expected_0_type_arguments_but_got_1,$<re?$+"-"+re:$,b);return ae=sa(ae,m),N7(bn(r),_,ae)}return D6(bn(r),_,v.Expected_0_type_arguments_but_got_1,$<re?$+"-"+re:$,b)}let x=-1/0,D=1/0;for(const j of c){const $=bh(j.typeParameters),re=H(j.typeParameters);$>b?D=Math.min(D,$):re<b&&(x=Math.max(x,re))}if(x!==-1/0&&D!==1/0){if(m){let j=sa(void 0,v.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments,b,x,D);return j=sa(j,m),N7(bn(r),_,j)}return D6(bn(r),_,v.No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments,b,x,D)}if(m){let j=sa(void 0,v.Expected_0_type_arguments_but_got_1,x===-1/0?D:x,b);return j=sa(j,m),N7(bn(r),_,j)}return D6(bn(r),_,v.Expected_0_type_arguments_but_got_1,x===-1/0?D:x,b)}function O3(r,c,_,m,b,x){const D=r.kind===212,j=r.kind===167,$=Hf(r),re=!Z&&!_;let ae;!j&&!N6(r)&&(ae=r.typeArguments,(D||$||r.expression.kind!==106)&&Q(ae,$a));const ke=_||[];if(f2t(c,ke,b),!ke.length)return re&&Do.add(iN(r,v.Call_target_does_not_contain_any_signatures)),xh(r);const je=Pde(r),Re=ke.length===1&&!ke[0].typeParameters;let Ct=!j&&!Re&&Oe(je,Nd)?4:0;Ct|=m&32;let Qt,sn,Zr,cn;const Ir=!!(m&16)&&r.kind===210&&r.arguments.hasTrailingComma;if(ke.length>1&&(cn=Un(ke,lg,Re,Ir)),cn||(cn=Un(ke,k_,Re,Ir)),cn)return cn;if(cn=v2t(r,ke,je,!!_,m),gi(r).resolvedSignature=cn,re)if(Qt)if(Qt.length===1||Qt.length>3){const Ar=Qt[Qt.length-1];let Kr;Qt.length>3&&(Kr=sa(Kr,v.The_last_overload_gave_the_following_error),Kr=sa(Kr,v.No_overload_matches_this_call)),x&&(Kr=sa(Kr,x));const dn=wM(r,je,Ar,k_,0,!0,()=>Kr);if(dn)for(const xi of dn)Ar.declaration&&Qt.length>3&&Eo(xi,ni(Ar.declaration,v.The_last_overload_is_declared_here)),Wr(Ar,xi),Do.add(xi);else R.fail("No error for last overload signature")}else{const Ar=[];let Kr=0,dn=Number.MAX_VALUE,xi=0,Ei=0;for(const xp of Qt){const on=wM(r,je,xp,k_,0,!0,()=>sa(void 0,v.Overload_0_of_1_2_gave_the_following_error,Ei+1,ke.length,he(xp)));on?(on.length<=dn&&(dn=on.length,xi=Ei),Kr=Math.max(Kr,on.length),Ar.push(on)):R.fail("No error for 3 or fewer overload signatures"),Ei++}const Js=Kr>1?Ar[xi]:Vn(Ar);R.assert(Js.length>0,"No errors reported for 3 or fewer overload signatures");let wa=sa(qt(Js,s2e),v.No_overload_matches_this_call);x&&(wa=sa(wa,x));const su=[...mn(Js,xp=>xp.relatedInformation)];let Hp;if(ut(Js,xp=>xp.start===Js[0].start&&xp.length===Js[0].length&&xp.file===Js[0].file)){const{file:xp,start:Ls,length:on}=Js[0];Hp={file:xp,start:Ls,length:on,code:wa.code,category:wa.category,messageText:wa,relatedInformation:su}}else Hp=Ly(bn(r),r,wa,su);Wr(Qt[0],Hp),Do.add(Hp)}else if(sn)Do.add(pMe(r,[sn],je,x));else if(Zr)Ade(Zr,r.typeArguments,!0,x);else{const Ar=hr(c,Kr=>Cde(Kr,ae));Ar.length===0?Do.add(y2t(r,c,ae,x)):Do.add(pMe(r,Ar,je,x))}return cn;function Wr(Ar,Kr){var dn,xi;const Ei=Qt,Js=sn,wa=Zr,su=((xi=(dn=Ar.declaration)==null?void 0:dn.symbol)==null?void 0:xi.declarations)||pt,xp=su.length>1?He(su,Ls=>Lc(Ls)&&md(Ls.body)):void 0;if(xp){const Ls=Bm(xp),on=!Ls.typeParameters;Un([Ls],k_,on)&&Eo(Kr,ni(xp,v.The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible))}Qt=Ei,sn=Js,Zr=wa}function Un(Ar,Kr,dn,xi=!1){if(Qt=void 0,sn=void 0,Zr=void 0,dn){const Ei=Ar[0];if(Oe(ae)||!EH(r,je,Ei,xi))return;if(wM(r,je,Ei,Kr,0,!1,void 0)){Qt=[Ei];return}return Ei}for(let Ei=0;Ei<Ar.length;Ei++){const Js=Ar[Ei];if(!Cde(Js,ae)||!EH(r,je,Js,xi))continue;let wa,su;if(Js.typeParameters){let Hp;if(Oe(ae)){if(Hp=Ade(Js,ae,!1),!Hp){Zr=Js;continue}}else su=X8(Js.typeParameters,Js,Mn(r)?2:0),Hp=wde(r,Js,je,Ct|8,su),Ct|=su.flags&4?8:0;if(wa=F8(Js,Hp,Mn(Js.declaration),su&&su.inferredTypeParameters),oN(Js)&&!EH(r,je,wa,xi)){sn=wa;continue}}else wa=Js;if(wM(r,je,wa,Kr,Ct,!1,void 0)){(Qt||(Qt=[])).push(wa);continue}if(Ct){if(Ct=m&32,su){const Hp=wde(r,Js,je,Ct,su);if(wa=F8(Js,Hp,Mn(Js.declaration),su.inferredTypeParameters),oN(Js)&&!EH(r,je,wa,xi)){sn=wa;continue}}if(wM(r,je,wa,Kr,Ct,!1,void 0)){(Qt||(Qt=[])).push(wa);continue}}return Ar[Ei]=wa,wa}}}function v2t(r,c,_,m,b){return R.assert(c.length>0),V3(r),m||c.length===1||c.some(x=>!!x.typeParameters)?S2t(r,c,_,b):b2t(c)}function b2t(r){const c=fr(r,$=>$.thisParameter);let _;c.length&&(_=dMe(c,c.map(PM)));const{min:m,max:b}=qTe(r,T2t),x=[];for(let $=0;$<b;$++){const re=fr(r,ae=>ff(ae)?$<ae.parameters.length-1?ae.parameters[$]:ko(ae.parameters):$<ae.parameters.length?ae.parameters[$]:void 0);R.assert(re.length!==0),x.push(dMe(re,fr(r,ae=>US(ae,$))))}const D=fr(r,$=>ff($)?ko($.parameters):void 0);let j=0;if(D.length!==0){const $=yf(bi(fr(r,Y5e),2));x.push(mMe(D,$)),j|=1}return r.some(jne)&&(j|=2),yg(r[0].declaration,void 0,_,x,no(r.map(Xo)),void 0,m,j)}function T2t(r){const c=r.parameters.length;return ff(r)?c-1:c}function dMe(r,c){return mMe(r,bi(c,2))}function mMe(r,c){return LS(Uo(r),c)}function S2t(r,c,_,m){const b=C2t(c,ft===void 0?_.length:ft),x=c[b],{typeParameters:D}=x;if(!D)return x;const j=nMe(r)?r.typeArguments:void 0,$=j?SW(x,x2t(j,D,Mn(r))):k2t(r,D,x,_,m);return c[b]=$,$}function x2t(r,c,_){const m=r.map(Bk);for(;m.length>c.length;)m.pop();for(;m.length<c.length;)m.push(AS(c[m.length])||hf(c[m.length])||zpe(_));return m}function k2t(r,c,_,m,b){const x=X8(c,_,Mn(r)?2:0),D=wde(r,_,m,b|4|8,x);return SW(_,D)}function C2t(r,c){let _=-1,m=-1;for(let b=0;b<r.length;b++){const x=r[b],D=K_(x);if(Ch(x)||D>=c)return b;D>m&&(m=D,_=b)}return _}function w2t(r,c,_){if(r.expression.kind===106){const $=Kpe(r.expression);if(rc($)){for(const re of r.arguments)zs(re);return Pc}if(!Lo($)){const re=eh(uu(r));if(re){const ae=li($,re.typeArguments,re);return O3(r,ae,c,_,0)}}return NE(r)}let m,b=zs(r.expression);if(_x(r)){const $=H8(b,r.expression);m=$===b?0:YA(r)?16:8,b=$}else m=0;if(b=zLe(b,r.expression,$bt),b===St)return df;const x=Jf(b);if(Lo(x))return xh(r);const D=ya(x,0),j=ya(x,1).length;if(AH(b,x,D.length,j))return!Lo(b)&&r.typeArguments&&nt(r,v.Untyped_function_calls_may_not_accept_type_arguments),NE(r);if(!D.length){if(j)nt(r,v.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,Me(b));else{let $;if(r.arguments.length===1){const re=bn(r).text;af(re.charCodeAt(wo(re,r.expression.end,!0)-1))&&($=ni(r.expression,v.Are_you_missing_a_semicolon))}Nde(r.expression,x,0,$)}return xh(r)}return _&8&&!r.typeArguments&&D.some(E2t)?(XMe(r,_),Cl):D.some($=>Mn($.declaration)&&!!YZ($.declaration))?(nt(r,v.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new,Me(b)),xh(r)):O3(r,D,c,_,m)}function E2t(r){return!!(r.typeParameters&&yme(Xo(r)))}function AH(r,c,_,m){return rc(r)||rc(c)&&!!(r.flags&262144)||!_&&!m&&!(c.flags&1048576)&&!(fm(c).flags&131072)&&io(r,Hc)}function A2t(r,c,_){if(r.arguments&&V<1){const D=wH(r.arguments);D>=0&&nt(r.arguments[D],v.Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher)}let m=I3(r.expression);if(m===St)return df;if(m=Jf(m),Lo(m))return xh(r);if(rc(m))return r.typeArguments&&nt(r,v.Untyped_function_calls_may_not_accept_type_arguments),NE(r);const b=ya(m,1);if(b.length){if(!P2t(r,b[0]))return xh(r);if(hMe(b,j=>!!(j.flags&4)))return nt(r,v.Cannot_create_an_instance_of_an_abstract_class),xh(r);const D=m.symbol&&Jy(m.symbol);return D&&Ti(D,256)?(nt(r,v.Cannot_create_an_instance_of_an_abstract_class),xh(r)):O3(r,b,c,_,0)}const x=ya(m,0);if(x.length){const D=O3(r,x,c,_,0);return Pe||(D.declaration&&!Vm(D.declaration)&&Xo(D)!==$t&&nt(r,v.Only_a_void_function_can_be_called_with_the_new_keyword),A2(D)===$t&&nt(r,v.A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void)),D}return Nde(r.expression,m,1),xh(r)}function hMe(r,c){return pa(r)?Oe(r,_=>hMe(_,c)):r.compositeKind===1048576?Oe(r.compositeSignatures,c):c(r)}function Dde(r,c){const _=_o(c);if(!H(_))return!1;const m=_[0];if(m.flags&2097152){const b=m.types,x=F5e(b);let D=0;for(const j of m.types){if(!x[D]&&Ci(j)&3&&(j.symbol===r||Dde(r,j)))return!0;D++}return!1}return m.symbol===r?!0:Dde(r,m)}function P2t(r,c){if(!c||!c.declaration)return!0;const _=c.declaration,m=$C(_,24);if(!m||_.kind!==173)return!0;const b=Jy(_.parent.symbol),x=Tc(_.parent.symbol);if(!mme(r,b)){const D=uu(r);if(D&&m&16){const j=Bk(D);if(Dde(_.parent.symbol,j))return!0}return m&8&&nt(r,v.Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration,Me(x)),m&16&&nt(r,v.Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration,Me(x)),!1}return!0}function gMe(r,c,_){let m;const b=_===0,x=VS(c),D=x&&ya(x,_).length>0;if(c.flags&1048576){const $=c.types;let re=!1;for(const ae of $)if(ya(ae,_).length!==0){if(re=!0,m)break}else if(m||(m=sa(m,b?v.Type_0_has_no_call_signatures:v.Type_0_has_no_construct_signatures,Me(ae)),m=sa(m,b?v.Not_all_constituents_of_type_0_are_callable:v.Not_all_constituents_of_type_0_are_constructable,Me(c))),re)break;re||(m=sa(void 0,b?v.No_constituent_of_type_0_is_callable:v.No_constituent_of_type_0_is_constructable,Me(c))),m||(m=sa(m,b?v.Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:v.Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other,Me(c)))}else m=sa(m,b?v.Type_0_has_no_call_signatures:v.Type_0_has_no_construct_signatures,Me(c));let j=b?v.This_expression_is_not_callable:v.This_expression_is_not_constructable;if(Da(r.parent)&&r.parent.arguments.length===0){const{resolvedSymbol:$}=gi(r);$&&$.flags&32768&&(j=v.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without)}return{messageChain:sa(m,j),relatedMessage:D?v.Did_you_forget_to_use_await:void 0}}function Nde(r,c,_,m){const{messageChain:b,relatedMessage:x}=gMe(r,c,_),D=Ly(bn(r),r,b);if(x&&Eo(D,ni(r,x)),Da(r.parent)){const{start:j,length:$}=_Me(r.parent,!0);D.start=j,D.length=$}Do.add(D),yMe(c,_,m?Eo(D,m):D)}function yMe(r,c,_){if(!r.symbol)return;const m=ys(r.symbol).originatingImport;if(m&&!up(m)){const b=ya(En(ys(r.symbol).target),c);if(!b||!b.length)return;Eo(_,ni(m,v.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 D2t(r,c,_){const m=zs(r.tag),b=Jf(m);if(Lo(b))return xh(r);const x=ya(b,0),D=ya(b,1).length;if(AH(m,b,x.length,D))return NE(r);if(!x.length){if(Nf(r.parent)){const j=ni(r.tag,v.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 Do.add(j),xh(r)}return Nde(r.tag,b,0),xh(r)}return O3(r,x,c,_,0)}function N2t(r){switch(r.parent.kind){case 260:case 228:return v.Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression;case 166:return v.Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression;case 169:return v.Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression;case 171:case 174:case 175:return v.Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression;default:return R.fail()}}function I2t(r,c,_){const m=zs(r.expression),b=Jf(m);if(Lo(b))return xh(r);const x=ya(b,0),D=ya(b,1).length;if(AH(m,b,x.length,D))return NE(r);if(L2t(r,x)&&!j_(r.expression)){const $=lu(r.expression,!1);return nt(r,v._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0,$),xh(r)}const j=N2t(r);if(!x.length){const $=gMe(r.expression,b,0),re=sa($.messageChain,j),ae=Ly(bn(r.expression),r.expression,re);return $.relatedMessage&&Eo(ae,ni(r.expression,$.relatedMessage)),Do.add(ae),yMe(b,0,ae),xh(r)}return O3(r,x,c,_,0,j)}function PH(r,c){const _=DE(r),m=_&&yp(_),b=m&&H_(m,Ip.Element,788968),x=b&&st.symbolToEntityName(b,788968,r),D=J.createFunctionTypeNode(void 0,[J.createParameterDeclaration(void 0,void 0,"props",void 0,st.typeToTypeNode(c,r))],x?J.createTypeReferenceNode(x,void 0):J.createKeywordTypeNode(131)),j=Oo(1,"props");return j.links.type=c,yg(D,void 0,void 0,[j],b?Tc(b):Ne,void 0,1,0)}function O2t(r,c,_){if(N3(r.tagName)){const D=RLe(r),j=PH(r,D);return z1(IE(r.attributes,gH(j,r),void 0,0),D,r.tagName,r.attributes),H(r.typeArguments)&&(Q(r.typeArguments,$a),Do.add(D6(bn(r),r.typeArguments,v.Expected_0_type_arguments_but_got_1,0,H(r.typeArguments)))),j}const m=zs(r.tagName),b=Jf(m);if(Lo(b))return xh(r);const x=MLe(m,r);return AH(m,b,x.length,0)?NE(r):x.length===0?(nt(r.tagName,v.JSX_element_type_0_does_not_have_any_construct_or_call_signatures,lu(r.tagName)),xh(r)):O3(r,x,c,_,0)}function L2t(r,c){return c.length&&ut(c,_=>_.minArgumentCount===0&&!ff(_)&&_.parameters.length<fMe(r,_))}function M2t(r,c,_){switch(r.kind){case 210:return w2t(r,c,_);case 211:return A2t(r,c,_);case 212:return D2t(r,c,_);case 167:return I2t(r,c,_);case 283:case 282:return O2t(r,c,_)}throw R.assertNever(r,"Branch in 'resolveSignature' should be unreachable.")}function L3(r,c,_){const m=gi(r),b=m.resolvedSignature;if(b&&b!==Cl&&!c)return b;m.resolvedSignature=Cl;const x=M2t(r,c,_||0);return x!==Cl&&(m.resolvedSignature=Vr===fn?x:b),x}function Vm(r){var c;if(!r||!Mn(r))return!1;const _=ru(r)||yc(r)?r:(xs(r)||Iu(r))&&r.initializer&&yc(r.initializer)?r.initializer:void 0;if(_){if(YZ(r))return!0;if(Iu(mv(_.parent)))return!1;const m=Zn(_);return!!((c=m==null?void 0:m.members)!=null&&c.size)}return!1}function Ide(r,c){var _,m;if(c){const b=ys(c);if(!b.inferredClassSymbol||!b.inferredClassSymbol.has(Ha(r))){const x=qh(r)?r:p2(r);return x.exports=x.exports||Ma(),x.members=x.members||Ma(),x.flags|=c.flags&32,(_=c.exports)!=null&&_.size&&Tu(x.exports,c.exports),(m=c.members)!=null&&m.size&&Tu(x.members,c.members),(b.inferredClassSymbol||(b.inferredClassSymbol=new Map)).set(Ha(x),x),x}return b.inferredClassSymbol.get(Ha(r))}}function F2t(r){var c;const _=r&&DH(r,!0),m=(c=_==null?void 0:_.exports)==null?void 0:c.get("prototype"),b=(m==null?void 0:m.valueDeclaration)&&R2t(m.valueDeclaration);return b?Zn(b):void 0}function DH(r,c){if(!r.parent)return;let _,m;if(xs(r.parent)&&r.parent.initializer===r){if(!Mn(r)&&!(My(r.parent)&&Lc(r)))return;_=r.parent.name,m=r.parent}else if($n(r.parent)){const b=r.parent,x=r.parent.operatorToken.kind;if(x===63&&(c||b.right===r))_=b.left,m=_;else if((x===56||x===60)&&(xs(b.parent)&&b.parent.initializer===b?(_=b.parent.name,m=b.parent):$n(b.parent)&&b.parent.operatorToken.kind===63&&(c||b.parent.right===b)&&(_=b.parent.left,m=_),!_||!FC(_)||!R6(_,b.left)))return}else c&&ru(r)&&(_=r.name,m=r);if(!(!m||!_||!c&&!Bb(r,zb(_))))return G_(m)}function R2t(r){if(!r.parent)return!1;let c=r.parent;for(;c&&c.kind===208;)c=c.parent;if(c&&$n(c)&&zb(c.left)&&c.operatorToken.kind===63){const _=see(c);return cc(_)&&_}}function B2t(r,c){var _,m,b;GM(r,r.typeArguments);const x=L3(r,void 0,c);if(x===Cl)return St;if(NH(x,r),r.expression.kind===106)return $t;if(r.kind===211){const j=x.declaration;if(j&&j.kind!==173&&j.kind!==177&&j.kind!==182&&!(MT(j)&&((m=(_=mP(j))==null?void 0:_.parent)==null?void 0:m.kind)===173)&&!J6(j)&&!Vm(j))return Pe&&nt(r,v.new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type),Fe}if(Mn(r)&&Uj(se)&&xMe(r))return X5e(r.arguments[0]);const D=Xo(x);if(D.flags&12288&&vMe(r))return npe(mv(r.parent));if(r.kind===210&&!r.questionDotToken&&r.parent.kind===241&&D.flags&16384&&ld(x)){if(!wP(r.expression))nt(r.expression,v.Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name);else if(!lH(r)){const j=nt(r.expression,v.Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation);mM(r.expression,j)}}if(Mn(r)){const j=DH(r,!1);if((b=j==null?void 0:j.exports)!=null&&b.size){const $=pc(j,j.exports,pt,pt,pt);return $.objectFlags|=4096,no([D,$])}}return D}function NH(r,c){if(r.declaration&&r.declaration.flags&268435456){const _=AM(c),m=y5(uj(c));gk(_,r.declaration,m,he(r))}}function AM(r){switch(r=xc(r),r.kind){case 210:case 167:case 211:return AM(r.expression);case 212:return AM(r.tag);case 283:case 282:return AM(r.tagName);case 209:return r.argumentExpression;case 208:return r.name;case 180:const c=r;return T_(c.typeName)?c.typeName.right:c;default:return r}}function vMe(r){if(!Da(r))return!1;let c=r.expression;if(oi(c)&&c.name.escapedText==="for"&&(c=c.expression),!Ye(c)||c.escapedText!=="Symbol")return!1;const _=mOe(!1);return _?_===Xc(c,"Symbol",111551,void 0,void 0,!1):!1}function j2t(r){if(ewt(r),r.arguments.length===0)return IM(r,Fe);const c=r.arguments[0],_=Ll(c),m=r.arguments.length>1?Ll(r.arguments[1]):void 0;for(let x=2;x<r.arguments.length;++x)Ll(r.arguments[x]);if((_.flags&32768||_.flags&65536||!io(_,ye))&&nt(c,v.Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0,Me(_)),m){const x=dOe(!0);x!==js&&Kf(m,ZW(x,32768),r.arguments[1])}const b=Ku(r,c);if(b){const x=k2(b,c,!0,!1);if(x)return IM(r,TMe(En(x),x,b,c)||SMe(En(x),x,b,c))}return IM(r,Fe)}function bMe(r,c,_){const m=Ma(),b=Oo(2097152,"default");return b.parent=c,b.links.nameType=qp("default"),b.links.aliasTarget=Il(r),m.set("default",b),pc(_,m,pt,pt,pt)}function TMe(r,c,_,m){if(_c(m)&&r&&!Lo(r)){const x=r;if(!x.defaultOnlyType){const D=bMe(c,_);x.defaultOnlyType=D}return x.defaultOnlyType}}function SMe(r,c,_,m){var b;if(_e&&r&&!Lo(r)){const x=r;if(!x.syntheticType){const D=(b=_.declarations)==null?void 0:b.find(bs);if(y1(D,_,!1,m)){const $=Oo(2048,"__type"),re=bMe(c,_,$);$.links.type=re,x.syntheticType=TM(r)?I2(r,re,$,0,!1):re}else x.syntheticType=r}return x.syntheticType}return r}function xMe(r){if(!v_(r,!0))return!1;if(!Ye(r.expression))return R.fail();const c=Xc(r.expression,r.expression.escapedText,111551,void 0,void 0,!0);if(c===It)return!0;if(c.flags&2097152)return!1;const _=c.flags&16?259:c.flags&3?257:0;if(_!==0){const m=ol(c,_);return!!m&&!!(m.flags&16777216)}return!1}function J2t(r){CCt(r)||GM(r,r.typeArguments),V<2&&Kl(r,262144);const c=L3(r);return NH(c,r),Xo(c)}function U2t(r){if(r.kind===213){const c=bn(r);c&&cu(c.fileName,[".cts",".mts"])&&Ur(r,v.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead)}return kMe(r,r.type,r.expression)}function Ode(r){switch(r.kind){case 10:case 14:case 8:case 9:case 110:case 95:case 206:case 207:case 225:return!0;case 214:return Ode(r.expression);case 221:const c=r.operator,_=r.operand;return c===40&&(_.kind===8||_.kind===9)||c===39&&_.kind===8;case 208:case 209:const m=xc(r.expression),b=El(m)?ml(m,111551,!0):void 0;return!!(b&&b.flags&384)}return!1}function kMe(r,c,_,m){let b=zs(_,m);if(Iy(c))return Ode(_)||nt(_,v.A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals),f_(b);$a(c),b=uM(V1(b));const x=Bi(c);return Lo(x)||s(()=>{const D=Z_(b);VW(x,D)||_9e(b,x,r,v.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)}),x}function z2t(r){const c=zs(r.expression),_=H8(c,r.expression);return KW(w0(_),r,_!==c)}function V2t(r){return r.flags&32?z2t(r):w0(zs(r.expression))}function CMe(r){gRe(r),Q(r.typeArguments,$a);const c=r.kind===230?zs(r.expression):Px(r.exprName)?yM(r.exprName):zs(r.exprName);return wMe(c,r)}function wMe(r,c){const _=c.typeArguments;if(r===St||Lo(r)||!Oe(_))return r;let m=!1,b;const x=j(r),D=m?b:r;return D&&Do.add(D6(bn(c),_,v.Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable,Me(D))),x;function j(re){let ae=!1,ke=!1;const je=Re(re);return m||(m=ke),ae&&!ke&&(b??(b=re)),je;function Re(Ct){if(Ct.flags&524288){const Qt=um(Ct),sn=$(Qt.callSignatures),Zr=$(Qt.constructSignatures);if(ae||(ae=Qt.callSignatures.length!==0||Qt.constructSignatures.length!==0),ke||(ke=sn.length!==0||Zr.length!==0),sn!==Qt.callSignatures||Zr!==Qt.constructSignatures){const cn=pc(void 0,Qt.members,sn,Zr,Qt.indexInfos);return cn.objectFlags|=8388608,cn.node=c,cn}}else if(Ct.flags&58982400){const Qt=jf(Ct);if(Qt){const sn=Re(Qt);if(sn!==Qt)return sn}}else{if(Ct.flags&1048576)return Ic(Ct,j);if(Ct.flags&2097152)return no($s(Ct.types,Re))}return Ct}}function $(re){const ae=hr(re,ke=>!!ke.typeParameters&&Cde(ke,_));return $s(ae,ke=>{const je=Ade(ke,_,!0);return je?F8(ke,je,Mn(ke.declaration)):ke})}}function $2t(r){return $a(r.type),Lde(r.expression,r.type)}function Lde(r,c,_){const m=zs(r,_),b=Bi(c);return Lo(b)?b:(z1(m,b,c,r,v.Type_0_does_not_satisfy_the_expected_type_1),m)}function q2t(r){return UCt(r),r.keywordToken===103?Mde(r):r.keywordToken===100?W2t(r):R.assertNever(r.keywordToken)}function EMe(r){switch(r.keywordToken){case 100:return pOe();case 103:const c=Mde(r);return Lo(c)?Ne:uTt(c);default:R.assertNever(r.keywordToken)}}function Mde(r){const c=g2e(r);if(c)if(c.kind===173){const _=Zn(c.parent);return En(_)}else{const _=Zn(c);return En(_)}else return nt(r,v.Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor,"new.target"),Ne}function W2t(r){ve===100||ve===199?bn(r).impliedNodeFormat!==99&&nt(r,v.The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output):ve<6&&ve!==4&&nt(r,v.The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext);const c=bn(r);return R.assert(!!(c.flags&4194304),"Containing file is missing import meta node flag."),r.name.escapedText==="meta"?_Oe():Ne}function PM(r){const c=En(r);if(K){const _=r.valueDeclaration;if(_&&pv(_))return C0(c)}return c}function IH(r){return R.assert(Ye(r.name)),r.name.escapedText}function M3(r,c,_){const m=r.parameters.length-(ff(r)?1:0);if(c<m)return r.parameters[c].escapedName;const b=r.parameters[m]||Tr,x=_||En(b);if(po(x)){const D=x.target.labeledElementDeclarations,j=c-m;return D&&IH(D[j])||b.escapedName+"_"+j}return b.escapedName}function H2t(r,c){var _;if(((_=r.declaration)==null?void 0:_.kind)===320)return;const m=r.parameters.length-(ff(r)?1:0);if(c<m){const D=r.parameters[c];return AMe(D)?[D.escapedName,!1]:void 0}const b=r.parameters[m]||Tr;if(!AMe(b))return;const x=En(b);if(po(x)){const D=x.target.labeledElementDeclarations,j=c-m,$=D==null?void 0:D[j],re=!!($!=null&&$.dotDotDotToken);return $?[IH($),re]:void 0}if(c===m)return[b.escapedName,!0]}function AMe(r){return r.valueDeclaration&&ua(r.valueDeclaration)&&Ye(r.valueDeclaration.name)}function PMe(r){return r.kind===199||ua(r)&&r.name&&Ye(r.name)}function G2t(r,c){const _=r.parameters.length-(ff(r)?1:0);if(c<_){const x=r.parameters[c].valueDeclaration;return x&&PMe(x)?x:void 0}const m=r.parameters[_]||Tr,b=En(m);if(po(b)){const x=b.target.labeledElementDeclarations,D=c-_;return x&&x[D]}return m.valueDeclaration&&PMe(m.valueDeclaration)?m.valueDeclaration:void 0}function pm(r,c){return US(r,c)||Fe}function US(r,c){const _=r.parameters.length-(ff(r)?1:0);if(c<_)return PM(r.parameters[c]);if(ff(r)){const m=En(r.parameters[_]),b=c-_;if(!po(m)||m.target.hasRestElement||b<m.target.fixedLength)return N_(m,Jm(b))}}function sN(r,c){const _=K_(r),m=kh(r),b=aN(r);if(b&&c>=_-1)return c===_-1?b:yf(N_(b,wt));const x=[],D=[],j=[];for(let $=c;$<_;$++){!b||$<_-1?(x.push(pm(r,$)),D.push($<m?1:2)):(x.push(b),D.push(8));const re=G2t(r,$);re&&j.push(re)}return jm(x,D,!1,H(j)===H(x)?j:void 0)}function K_(r){const c=r.parameters.length;if(ff(r)){const _=En(r.parameters[c-1]);if(po(_))return c+_.target.fixedLength-(_.target.hasRestElement?0:1)}return c}function kh(r,c){const _=c&1,m=c&2;if(m||r.resolvedMinArgumentCount===void 0){let b;if(ff(r)){const x=En(r.parameters[r.parameters.length-1]);if(po(x)){const D=ar(x.target.elementFlags,$=>!($&1)),j=D<0?x.target.fixedLength:D;j>0&&(b=r.parameters.length-1+j)}}if(b===void 0){if(!_&&r.flags&32)return 0;b=r.minArgumentCount}if(m)return b;for(let x=b-1;x>=0;x--){const D=pm(r,x);if(Zl(D,iMe).flags&131072)break;b=x}r.resolvedMinArgumentCount=b}return r.resolvedMinArgumentCount}function Ch(r){if(ff(r)){const c=En(r.parameters[r.parameters.length-1]);return!po(c)||c.target.hasRestElement}return!1}function aN(r){if(ff(r)){const c=En(r.parameters[r.parameters.length-1]);if(!po(c))return c;if(c.target.hasRestElement)return v3(c,c.target.fixedLength)}}function oN(r){const c=aN(r);return c&&!Wp(c)&&!rc(c)&&!(fm(c).flags&131072)?c:void 0}function Fde(r){return Rde(r,At)}function Rde(r,c){return r.parameters.length>0?pm(r,0):c}function X2t(r,c,_){const m=r.parameters.length-(ff(r)?1:0);for(let b=0;b<m;b++){const x=r.parameters[b].valueDeclaration;if(x.type){const D=Ju(x);D&&dy(_.inferences,Bi(D),pm(c,b))}}}function Q2t(r,c){if(c.typeParameters)if(!r.typeParameters)r.typeParameters=c.typeParameters;else return;if(c.thisParameter){const m=r.thisParameter;(!m||m.valueDeclaration&&!m.valueDeclaration.type)&&(m||(r.thisParameter=LS(c.thisParameter,void 0)),DM(r.thisParameter,En(c.thisParameter)))}const _=r.parameters.length-(ff(r)?1:0);for(let m=0;m<_;m++){const b=r.parameters[m];if(!Ju(b.valueDeclaration)){const x=US(c,m);DM(b,x)}}if(ff(r)){const m=ko(r.parameters);if(m.valueDeclaration?!Ju(m.valueDeclaration):ul(m)&65536){const b=sN(c,_);DM(m,b)}}}function Y2t(r){r.thisParameter&&DM(r.thisParameter);for(const c of r.parameters)DM(c)}function DM(r,c){const _=ys(r);if(_.type)c&&R.assertEqual(_.type,c,"Parameter symbol already has a cached type which differs from newly assigned type");else{const m=r.valueDeclaration;_.type=c||(m?il(m,!0):En(r)),m&&m.name.kind!==79&&(_.type===xe&&(_.type=ro(m.name)),DMe(m.name,_.type))}}function DMe(r,c){for(const _ of r.elements)if(!yu(_)){const m=Ki(_,c);_.name.kind===79?ys(Zn(_)).type=m:DMe(_.name,m)}}function Z2t(r){return bE(Tyt(!0),[r])}function K2t(r,c){return bE(Syt(!0),[r,c])}function eTt(r,c){return bE(xyt(!0),[r,c])}function tTt(r,c){return bE(kyt(!0),[r,c])}function rTt(r,c){return bE(Cyt(!0),[r,c])}function nTt(r,c){return bE(Ayt(!0),[r,c])}function iTt(r,c,_){const m=`${c?"p":"P"}${_?"s":"S"}${r.id}`;let b=Cn.get(m);if(!b){const x=Ma();x.set("name",nS("name",r)),x.set("private",nS("private",c?$e:dt)),x.set("static",nS("static",_?$e:dt)),b=pc(void 0,x,pt,pt,pt),Cn.set(m,b)}return b}function NMe(r,c,_){const m=tu(r),b=as(r.name),x=b?qp(ai(r.name)):S0(r.name),D=zl(r)?K2t(c,_):Hd(r)?eTt(c,_):nd(r)?tTt(c,_):op(r)?rTt(c,_):Pa(r)?nTt(c,_):R.failBadSyntaxKind(r),j=iTt(x,b,m);return no([D,j])}function sTt(r,c){return bE(wyt(!0),[r,c])}function aTt(r,c){return bE(Eyt(!0),[r,c])}function oTt(r,c){const _=nm("this",r),m=nm("value",c);return Zde(void 0,_,[m],c,void 0,1)}function Bde(r,c,_){const m=nm("target",r),b=nm("context",c),x=bi([_,$t]);return mN(void 0,void 0,[m,b],x)}function cTt(r){const{parent:c}=r,_=gi(c);if(!_.decoratorSignature)switch(_.decoratorSignature=Pc,c.kind){case 260:case 228:{const b=En(Zn(c)),x=Z2t(b);_.decoratorSignature=Bde(b,x,b);break}case 171:case 174:case 175:{const m=c;if(!Ri(m.parent))break;const b=zl(m)?PS(Bm(m)):Bk(m),x=tu(m)?En(Zn(m.parent)):Bf(Zn(m.parent)),D=Hd(m)?lFe(b):nd(m)?uFe(b):b,j=NMe(m,x,b),$=Hd(m)?lFe(b):nd(m)?uFe(b):b;_.decoratorSignature=Bde(D,j,$);break}case 169:{const m=c;if(!Ri(m.parent))break;const b=Bk(m),x=tu(m)?En(Zn(m.parent)):Bf(Zn(m.parent)),D=Xh(m)?sTt(x,b):Ze,j=NMe(m,x,b),$=Xh(m)?aTt(x,b):oTt(x,b);_.decoratorSignature=Bde(D,j,$);break}}return _.decoratorSignature===Pc?void 0:_.decoratorSignature}function lTt(r){const{parent:c}=r,_=gi(c);if(!_.decoratorSignature)switch(_.decoratorSignature=Pc,c.kind){case 260:case 228:{const b=En(Zn(c)),x=nm("target",b);_.decoratorSignature=mN(void 0,void 0,[x],bi([b,$t]));break}case 166:{const m=c;if(!Al(m.parent)&&!(zl(m.parent)||nd(m.parent)&&Ri(m.parent.parent))||xT(m.parent)===m)break;const b=xT(m.parent)?m.parent.parameters.indexOf(m)-1:m.parent.parameters.indexOf(m);R.assert(b>=0);const x=Al(m.parent)?En(Zn(m.parent.parent)):aRe(m.parent),D=Al(m.parent)?Ze:oRe(m.parent),j=Jm(b),$=nm("target",x),re=nm("propertyKey",D),ae=nm("parameterIndex",j);_.decoratorSignature=mN(void 0,void 0,[$,re,ae],$t);break}case 171:case 174:case 175:case 169:{const m=c;if(!Ri(m.parent))break;const b=aRe(m),x=nm("target",b),D=oRe(m),j=nm("propertyKey",D),$=Pa(m)?$t:vOe(Bk(m));if(V!==0&&(!Pa(c)||Xh(c))){const ae=vOe(Bk(m)),ke=nm("descriptor",ae);_.decoratorSignature=mN(void 0,void 0,[x,j,ke],bi([$,$t]))}else _.decoratorSignature=mN(void 0,void 0,[x,j],bi([$,$t]));break}}return _.decoratorSignature===Pc?void 0:_.decoratorSignature}function jde(r){return fe?lTt(r):cTt(r)}function NM(r){const c=XL(!0);return c!==Ka?(r=A0(B3(r))||xe,T0(c,[r])):xe}function IMe(r){const c=gOe(!0);return c!==Ka?(r=A0(B3(r))||xe,T0(c,[r])):xe}function IM(r,c){const _=NM(c);return _===xe?(nt(r,up(r)?v.A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:v.An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option),Ne):(j_e(!0)||nt(r,up(r)?v.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:v.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),_)}function uTt(r){const c=Oo(0,"NewTargetExpression"),_=Oo(4,"target",8);_.parent=c,_.links.type=r;const m=Ma([_]);return c.members=m,pc(c,m,pt,pt,pt)}function OH(r,c){if(!r.body)return Ne;const _=Au(r),m=(_&2)!==0,b=(_&1)!==0;let x,D,j,$=$t;if(r.body.kind!==238)x=Ll(r.body,c&&c&-9),m&&(x=B3(dN(x,!1,r,v.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)));else if(b){const re=BMe(r,c);re?re.length>0&&(x=bi(re,2)):$=At;const{yieldTypes:ae,nextTypes:ke}=fTt(r,c);D=Oe(ae)?bi(ae,2):void 0,j=Oe(ke)?no(ke):void 0}else{const re=BMe(r,c);if(!re)return _&2?IM(r,At):At;if(re.length===0)return _&2?IM(r,$t):$t;x=bi(re,2)}if(x||D||j){if(D&&rH(r,D,3),x&&rH(r,x,1),j&&rH(r,j,2),x&&_m(x)||D&&_m(D)||j&&_m(j)){const re=ade(r),ae=re?re===Bm(r)?b?void 0:x:mH(Xo(re),r,void 0):void 0;b?(D=Cpe(D,ae,0,m),x=Cpe(x,ae,1,m),j=Cpe(j,ae,2,m)):x=b1t(x,ae,m)}D&&(D=Z_(D)),x&&(x=Z_(x)),j&&(j=Z_(j))}return b?OMe(D||At,x||$,j||bLe(2,r)||xe,m):m?NM(x||$):x||$}function OMe(r,c,_,m){const b=m?Ft:Or,x=b.getGlobalGeneratorType(!1);if(r=b.resolveIterationType(r,void 0)||xe,c=b.resolveIterationType(c,void 0)||xe,_=b.resolveIterationType(_,void 0)||xe,x===Ka){const D=b.getGlobalIterableIteratorType(!1),j=D!==Ka?wFe(D,b):void 0,$=j?j.returnType:Fe,re=j?j.nextType:Ze;return io(c,$)&&io(re,_)?D!==Ka?j8(D,[r]):(b.getGlobalIterableIteratorType(!0),js):(b.getGlobalGeneratorType(!0),js)}return j8(x,[r,c,_])}function fTt(r,c){const _=[],m=[],b=(Au(r)&2)!==0;return o2e(r.body,x=>{const D=x.expression?zs(x.expression,c):ct;ip(_,LMe(x,D,Fe,b));let j;if(x.asteriskToken){const $=VH(D,b?19:17,x.expression);j=$&&$.nextType}else j=e_(x,void 0);j&&ip(m,j)}),{yieldTypes:_,nextTypes:m}}function LMe(r,c,_,m){const b=r.expression||r,x=r.asteriskToken?q1(m?19:17,c,_,b):c;return m?VS(x,b,r.asteriskToken?v.Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:v.Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):x}function MMe(r,c,_){let m=0;for(let b=0;b<_.length;b++){const x=b<r||b>=c?_[b]:void 0;m|=x!==void 0?zU.get(x)||32768:0}return m}function FMe(r){const c=gi(r);if(c.isExhaustive===void 0){c.isExhaustive=0;const _=_Tt(r);c.isExhaustive===0&&(c.isExhaustive=_)}else c.isExhaustive===0&&(c.isExhaustive=!1);return c.isExhaustive}function _Tt(r){if(r.expression.kind===218){const m=rLe(r);if(!m)return!1;const b=v0(Ll(r.expression.expression)),x=MMe(0,0,m);return b.flags&3?(556800&x)===556800:!my(b,D=>(bf(D)&x)===x)}const c=Ll(r.expression);if(!W8(c))return!1;const _=aH(r);return!_.length||Oe(_,g1t)?!1:dvt(Ic(c,f_),_)}function RMe(r){return r.endFlowNode&&hM(r.endFlowNode)}function BMe(r,c){const _=Au(r),m=[];let b=RMe(r),x=!1;if(bx(r.body,D=>{const j=D.expression;if(j){let $=Ll(j,c&&c&-9);_&2&&($=B3(dN($,!1,r,v.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member))),$.flags&131072&&(x=!0),ip(m,$)}else b=!0}),!(m.length===0&&!b&&(x||pTt(r))))return K&&m.length&&b&&!(Vm(r)&&m.some(D=>D.symbol===r.symbol))&&ip(m,Ze),m}function pTt(r){switch(r.kind){case 215:case 216:return!0;case 171:return r.parent.kind===207;default:return!1}}function Jde(r,c){s(_);return;function _(){const m=Au(r),b=c&&$H(c,m);if(b&&Qc(b,16385)||r.kind===170||cl(r.body)||r.body.kind!==238||!RMe(r))return;const x=r.flags&512,D=bm(r)||r;if(b&&b.flags&131072)nt(D,v.A_function_returning_never_cannot_have_a_reachable_end_point);else if(b&&!x)nt(D,v.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value);else if(b&&K&&!io(Ze,b))nt(D,v.Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined);else if(se.noImplicitReturns){if(!b){if(!x)return;const j=Xo(Bm(r));if(OFe(r,j))return}nt(D,v.Not_all_code_paths_return_a_value)}}}function jMe(r,c){if(R.assert(r.kind!==171||Ud(r)),V3(r),yc(r)&&J3(r,r.name),c&&c&4&&Nd(r)){if(!bm(r)&&!Qj(r)){const m=rN(r);if(m&&MS(Xo(m))){const b=gi(r);if(b.contextFreeType)return b.contextFreeType;const x=OH(r,c),D=yg(void 0,void 0,void 0,pt,x,void 0,0,0),j=pc(r.symbol,ue,[D],pt,pt);return j.objectFlags|=262144,b.contextFreeType=j}}return ea}return!tG(r)&&r.kind===215&&Sme(r),dTt(r,c),En(Zn(r))}function dTt(r,c){const _=gi(r);if(!(_.flags&64)){const m=rN(r);if(!(_.flags&64)){_.flags|=64;const b=Ru(ya(En(Zn(r)),0));if(!b)return;if(Nd(r))if(m){const x=Fk(r);let D;if(c&&c&2){X2t(b,m,x);const j=aN(m);j&&j.flags&262144&&(D=wE(m,x.nonFixingMapper))}D||(D=x?wE(m,x.mapper):m),Q2t(b,D)}else Y2t(b);if(m&&!yE(r)&&!b.resolvedReturnType){const x=OH(r,c);b.resolvedReturnType||(b.resolvedReturnType=x)}uN(r)}}}function mTt(r){R.assert(r.kind!==171||Ud(r));const c=Au(r),_=yE(r);if(Jde(r,_),r.body)if(bm(r)||Xo(Bm(r)),r.body.kind===238)$a(r.body);else{const m=zs(r.body),b=_&&$H(_,c);if(b)if((c&3)===2){const x=dN(m,!1,r.body,v.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);z1(x,b,r.body,r.body)}else z1(m,b,r.body,r.body)}}function LH(r,c,_,m=!1){if(!io(c,za)){const b=m&&_N(c);return Vv(r,!!b&&io(b,za),_),!1}return!0}function hTt(r){if(!Da(r)||!MC(r))return!1;const c=Ll(r.arguments[2]);if(Yl(c,"value")){const b=Ra(c,"writable"),x=b&&En(b);if(!x||x===dt||x===ne)return!0;if(b&&b.valueDeclaration&&Iu(b.valueDeclaration)){const D=b.valueDeclaration.initializer,j=zs(D);if(j===dt||j===ne)return!0}return!1}return!Ra(c,"set")}function dm(r){return!!(ul(r)&8||r.flags&4&&td(r)&64||r.flags&3&&bH(r)&2||r.flags&98304&&!(r.flags&65536)||r.flags&8||Oe(r.declarations,hTt))}function JMe(r,c,_){var m,b;if(_===0)return!1;if(dm(c)){if(c.flags&4&&$c(r)&&r.expression.kind===108){const x=Pp(r);if(!(x&&(x.kind===173||Vm(x))))return!0;if(c.valueDeclaration){const D=$n(c.valueDeclaration),j=x.parent===c.valueDeclaration.parent,$=x===c.valueDeclaration.parent,re=D&&((m=c.parent)==null?void 0:m.valueDeclaration)===x.parent,ae=D&&((b=c.parent)==null?void 0:b.valueDeclaration)===x;return!(j||$||re||ae)}}return!0}if($c(r)){const x=xc(r.expression);if(x.kind===79){const D=gi(x).resolvedSymbol;if(D.flags&2097152){const j=c_(D);return!!j&&j.kind===271}}}return!1}function cN(r,c,_){const m=uf(r,7);return m.kind!==79&&!$c(m)?(nt(r,c),!1):m.flags&32?(nt(r,_),!1):!0}function gTt(r){zs(r.expression);const c=xc(r.expression);if(!$c(c))return nt(c,v.The_operand_of_a_delete_operator_must_be_a_property_reference),Be;oi(c)&&as(c.name)&&nt(c,v.The_operand_of_a_delete_operator_cannot_be_a_private_identifier);const _=gi(c),m=Mm(_.resolvedSymbol);return m&&(dm(m)&&nt(c,v.The_operand_of_a_delete_operator_cannot_be_a_read_only_property),yTt(c,m)),Be}function yTt(r,c){const _=En(c);K&&!(_.flags&131075)&&!(tt?c.flags&16777216:bf(_)&16777216)&&nt(r,v.The_operand_of_a_delete_operator_must_be_optional)}function vTt(r){return zs(r.expression),s3}function bTt(r){return zs(r.expression),ct}function TTt(r){const c=oj(r);if(c&&fl(c))nt(r,v.Await_expression_cannot_be_used_inside_a_class_static_block);else if(!(r.flags&32768))if(cj(r)){const _=bn(r);if(!U2(_)){let m;if(!OC(_,se)){m??(m=Y0(_,r.pos));const b=gu(_,m.start,m.length,v.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);Do.add(b)}switch(ve){case 100:case 199:if(_.impliedNodeFormat===1){m??(m=Y0(_,r.pos)),Do.add(gu(_,m.start,m.length,v.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level));break}case 7:case 99:case 4:if(V>=4)break;default:m??(m=Y0(_,r.pos)),Do.add(gu(_,m.start,m.length,v.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher));break}}}else{const _=bn(r);if(!U2(_)){const m=Y0(_,r.pos),b=gu(_,m.start,m.length,v.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules);if(c&&c.kind!==173&&!(Au(c)&2)){const x=ni(c,v.Did_you_mean_to_mark_this_function_as_async);Eo(b,x)}Do.add(b)}}tde(r)&&nt(r,v.await_expressions_cannot_be_used_in_a_parameter_initializer)}function STt(r){s(()=>TTt(r));const c=zs(r.expression),_=dN(c,!0,r,v.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member);return _===c&&!Lo(_)&&!(c.flags&3)&&h1(!1,ni(r,v.await_has_no_effect_on_the_type_of_this_expression)),_}function xTt(r){const c=zs(r.operand);if(c===St)return St;switch(r.operand.kind){case 8:switch(r.operator){case 40:return CE(Jm(-r.operand.text));case 39:return CE(Jm(+r.operand.text))}break;case 9:if(r.operator===40)return CE(MW({negative:!0,base10Value:JP(r.operand.text)}))}switch(r.operator){case 39:case 40:case 54:return zm(c,r.operand),OM(c,12288)&&nt(r.operand,v.The_0_operator_cannot_be_applied_to_type_symbol,qa(r.operator)),r.operator===39?(OM(c,2112)&&nt(r.operand,v.Operator_0_cannot_be_applied_to_type_1,qa(r.operator),Me(V1(c))),wt):Ude(c);case 53:LE(r.operand);const _=bf(c)&12582912;return _===4194304?dt:_===8388608?$e:Be;case 45:case 46:return LH(r.operand,zm(c,r.operand),v.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&cN(r.operand,v.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,v.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),Ude(c)}return Ne}function kTt(r){const c=zs(r.operand);return c===St?St:(LH(r.operand,zm(c,r.operand),v.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type)&&cN(r.operand,v.The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access,v.The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access),Ude(c))}function Ude(r){return Qc(r,2112)?Su(r,3)||Qc(r,296)?za:nr:wt}function OM(r,c){if(Qc(r,c))return!0;const _=v0(r);return!!_&&Qc(_,c)}function Qc(r,c){if(r.flags&c)return!0;if(r.flags&3145728){const _=r.types;for(const m of _)if(Qc(m,c))return!0}return!1}function Su(r,c,_){return r.flags&c?!0:_&&r.flags&114691?!1:!!(c&296)&&io(r,wt)||!!(c&2112)&&io(r,nr)||!!(c&402653316)&&io(r,ye)||!!(c&528)&&io(r,Be)||!!(c&16384)&&io(r,$t)||!!(c&131072)&&io(r,At)||!!(c&65536)&&io(r,qr)||!!(c&32768)&&io(r,Ze)||!!(c&4096)&&io(r,te)||!!(c&67108864)&&io(r,Di)}function LM(r,c,_){return r.flags&1048576?ut(r.types,m=>LM(m,c,_)):Su(r,c,_)}function zde(r){return!!(Ci(r)&16)&&!!r.symbol&&Vde(r.symbol)}function Vde(r){return(r.flags&128)!==0}function CTt(r,c,_,m){return _===St||m===St?St:(!rc(_)&&LM(_,134348796)&&nt(r,v.The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter),rc(m)||YH(m)||U1(m,Hc)||nt(c,v.The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_Function_interface_type),Be)}function wTt(r){return my(r,c=>c===Nl||!!(c.flags&2097152)&&py(v0(c)))}function ETt(r,c,_,m){if(_===St||m===St)return St;if(as(r)){if(V<99&&Kl(r,2097152),!gi(r).resolvedSymbol&&uu(r)){const b=vde(r,m.symbol,!0);QLe(r,m,b)}}else Kf(zm(_,r),Zi,r);return Kf(zm(m,c),Di,c)&&wTt(m)&&nt(c,v.Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator,Me(m)),Be}function ATt(r,c,_){const m=r.properties;if(K&&m.length===0)return zm(c,r);for(let b=0;b<m.length;b++)UMe(r,c,b,m,_);return c}function UMe(r,c,_,m,b=!1){const x=r.properties,D=x[_];if(D.kind===299||D.kind===300){const j=D.name,$=S0(j);if(ly($)){const ke=yh($),je=Ra(c,ke);je&&(CM(je,D,b),mde(D,!1,!0,c,je))}const re=N_(c,$,32,j),ae=at(D,re);return zS(D.kind===300?D:D.initializer,ae)}else if(D.kind===301)if(_<x.length-1)nt(D,v.A_rest_element_must_be_last_in_a_destructuring_pattern);else{V<99&&Kl(D,4);const j=[];if(m)for(const re of m)hw(re)||j.push(re.name);const $=fE(c,j,c.symbol);return jk(m,v.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),zS(D.expression,$)}else nt(D,v.Property_assignment_expected)}function PTt(r,c,_){const m=r.elements;V<2&&se.downlevelIteration&&Kl(r,512);const b=q1(193,c,Ze,r)||Ne;let x=se.noUncheckedIndexedAccess?void 0:b;for(let D=0;D<m.length;D++){let j=b;r.elements[D].kind===227&&(j=x=x??(q1(65,c,Ze,r)||Ne)),zMe(r,c,D,j,_)}return c}function zMe(r,c,_,m,b){const x=r.elements,D=x[_];if(D.kind!==229){if(D.kind!==227){const j=Jm(_);if(db(c)){const $=32|(D3(D)?16:0),re=j1(c,j,$,EM(D,j))||Ne,ae=D3(D)?_d(re,524288):re,ke=at(D,ae);return zS(D,ke,b)}return zS(D,m,b)}if(_<x.length-1)nt(D,v.A_rest_element_must_be_last_in_a_destructuring_pattern);else{const j=D.expression;if(j.kind===223&&j.operatorToken.kind===63)nt(j.operatorToken,v.A_rest_element_cannot_have_an_initializer);else{jk(r.elements,v.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma);const $=bg(c,po)?Ic(c,re=>v3(re,_)):yf(m);return zS(j,$,b)}}}}function zS(r,c,_,m){let b;if(r.kind===300){const x=r;x.objectAssignmentInitializer&&(K&&!(bf(zs(x.objectAssignmentInitializer))&16777216)&&(c=_d(c,524288)),OTt(x.name,x.equalsToken,x.objectAssignmentInitializer,_)),b=r.name}else b=r;return b.kind===223&&b.operatorToken.kind===63&&(Je(b,_),b=b.left,K&&(c=_d(c,524288))),b.kind===207?ATt(b,c,m):b.kind===206?PTt(b,c,_):DTt(b,c,_)}function DTt(r,c,_){const m=zs(r,_),b=r.parent.kind===301?v.The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:v.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,x=r.parent.kind===301?v.The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:v.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access;return cN(r,b,x)&&z1(c,m,r,r),b6(r)&&Kl(r.parent,1048576),c}function MM(r){switch(r=xc(r),r.kind){case 79:case 10:case 13:case 212:case 225:case 14:case 8:case 9:case 110:case 95:case 104:case 155:case 215:case 228:case 216:case 206:case 207:case 218:case 232:case 282:case 281:return!0;case 224:return MM(r.whenTrue)&&MM(r.whenFalse);case 223:return Z0(r.operatorToken.kind)?!1:MM(r.left)&&MM(r.right);case 221:case 222:switch(r.operator){case 53:case 39:case 40:case 54:return!0}return!1;case 219:case 213:case 231:default:return!1}}function $de(r,c){return(c.flags&98304)!==0||VW(r,c)}function NTt(){const r=rU(c,_,m,b,x,D);return(je,Re)=>{const Ct=r(je,Re);return R.assertIsDefined(Ct),Ct};function c(je,Re,Ct){return Re?(Re.stackIndex++,Re.skip=!1,re(Re,void 0),ke(Re,void 0)):Re={checkMode:Ct,skip:!1,stackIndex:0,typeStack:[void 0,void 0]},Mn(je)&&LC(je)?(Re.skip=!0,ke(Re,zs(je.right,Ct)),Re):(ITt(je),je.operatorToken.kind===63&&(je.left.kind===207||je.left.kind===206)&&(Re.skip=!0,ke(Re,zS(je.left,zs(je.right,Ct),Ct,je.right.kind===108))),Re)}function _(je,Re,Ct){if(!Re.skip)return j(Re,je)}function m(je,Re,Ct){if(!Re.skip){const Qt=ae(Re);R.assertIsDefined(Qt),re(Re,Qt),ke(Re,void 0);const sn=je.kind;if(d5(sn)){let Zr=Ct.parent;for(;Zr.kind===214||m5(Zr);)Zr=Zr.parent;(sn===55||Fx(Zr))&&nme(Ct.left,Qt,Fx(Zr)?Zr.thenStatement:void 0),SFe(Qt,Ct.left)}}}function b(je,Re,Ct){if(!Re.skip)return j(Re,je)}function x(je,Re){let Ct;if(Re.skip)Ct=ae(Re);else{const Qt=$(Re);R.assertIsDefined(Qt);const sn=ae(Re);R.assertIsDefined(sn),Ct=VMe(je.left,je.operatorToken,je.right,Qt,sn,je)}return Re.skip=!1,re(Re,void 0),ke(Re,void 0),Re.stackIndex--,Ct}function D(je,Re,Ct){return ke(je,Re),je}function j(je,Re){if($n(Re))return Re;ke(je,zs(Re,je.checkMode))}function $(je){return je.typeStack[je.stackIndex]}function re(je,Re){je.typeStack[je.stackIndex]=Re}function ae(je){return je.typeStack[je.stackIndex+1]}function ke(je,Re){je.typeStack[je.stackIndex+1]=Re}}function ITt(r){const{left:c,operatorToken:_,right:m}=r;_.kind===60&&($n(c)&&(c.operatorToken.kind===56||c.operatorToken.kind===55)&&Ur(c,v._0_and_1_operations_cannot_be_mixed_without_parentheses,qa(c.operatorToken.kind),qa(_.kind)),$n(m)&&(m.operatorToken.kind===56||m.operatorToken.kind===55)&&Ur(m,v._0_and_1_operations_cannot_be_mixed_without_parentheses,qa(m.operatorToken.kind),qa(_.kind)))}function OTt(r,c,_,m,b){const x=c.kind;if(x===63&&(r.kind===207||r.kind===206))return zS(r,zs(_,m),m,_.kind===108);let D;d5(x)?D=LE(r,m):D=zs(r,m);const j=zs(_,m);return VMe(r,c,_,D,j,b)}function VMe(r,c,_,m,b,x){const D=c.kind;switch(D){case 41:case 42:case 66:case 67:case 43:case 68:case 44:case 69:case 40:case 65:case 47:case 70:case 48:case 71:case 49:case 72:case 51:case 74:case 52:case 78:case 50:case 73:if(m===St||b===St)return St;m=zm(m,r),b=zm(b,_);let Ir;if(m.flags&528&&b.flags&528&&(Ir=ke(c.kind))!==void 0)return nt(x||c,v.The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead,qa(c.kind),qa(Ir)),wt;{const Ar=LH(r,m,v.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0),Kr=LH(_,b,v.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type,!0);let dn;if(Su(m,3)&&Su(b,3)||!(Qc(m,2112)||Qc(b,2112)))dn=wt;else if(j(m,b)){switch(D){case 49:case 72:Qt();break;case 42:case 67:V<3&&nt(x,v.Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later)}dn=nr}else Qt(j),dn=Ne;return Ar&&Kr&&je(dn),dn}case 39:case 64:if(m===St||b===St)return St;!Su(m,402653316)&&!Su(b,402653316)&&(m=zm(m,r),b=zm(b,_));let Wr;return Su(m,296,!0)&&Su(b,296,!0)?Wr=wt:Su(m,2112,!0)&&Su(b,2112,!0)?Wr=nr:Su(m,402653316,!0)||Su(b,402653316,!0)?Wr=ye:(rc(m)||rc(b))&&(Wr=Lo(m)||Lo(b)?Ne:Fe),Wr&&!ae(D)?Wr:Wr?(D===64&&je(Wr),Wr):(Qt((Kr,dn)=>Su(Kr,402655727)&&Su(dn,402655727)),Fe);case 29:case 31:case 32:case 33:return ae(D)&&(m=xpe(zm(m,r)),b=xpe(zm(b,_)),Ct((Ar,Kr)=>{if(rc(Ar)||rc(Kr))return!0;const dn=io(Ar,za),xi=io(Kr,za);return dn&&xi||!dn&&!xi&&rM(Ar,Kr)})),Be;case 34:case 35:case 36:case 37:if(oK(r)||oK(_)){const Ar=D===34||D===36;nt(x,v.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value,Ar?"false":"true")}return Zr(x,D,r,_),Ct((Ar,Kr)=>$de(Ar,Kr)||$de(Kr,Ar)),Be;case 102:return CTt(r,_,m,b);case 101:return ETt(r,_,m,b);case 55:case 76:{const Ar=bf(m)&4194304?bi([x1t(K?m:V1(b)),b]):m;return D===76&&je(b),Ar}case 56:case 75:{const Ar=bf(m)&8388608?bi([w0(E9e(m)),b],2):m;return D===75&&je(b),Ar}case 60:case 77:{const Ar=bf(m)&262144?bi([w0(m),b],2):m;return D===77&&je(b),Ar}case 63:const Un=$n(r.parent)?ll(r.parent):0;return $(Un,b),Re(Un)?((!(b.flags&524288)||Un!==2&&Un!==6&&!_y(b)&&!qpe(b)&&!(Ci(b)&1))&&je(b),m):(je(b),b);case 27:if(!se.allowUnreachableCode&&MM(r)&&!re(r.parent)){const Ar=bn(r),Kr=Ar.text,dn=wo(Kr,r.pos);Ar.parseDiagnostics.some(Ei=>Ei.code!==v.JSX_expressions_must_have_one_parent_element.code?!1:WZ(Ei,dn))||nt(r,v.Left_side_of_comma_operator_is_unused_and_has_no_side_effects)}return b;default:return R.fail()}function j(Ir,Wr){return Su(Ir,2112)&&Su(Wr,2112)}function $(Ir,Wr){if(Ir===2)for(const Un of F1(Wr)){const Ar=En(Un);if(Ar.symbol&&Ar.symbol.flags&32){const Kr=Un.escapedName,dn=Xc(Un.valueDeclaration,Kr,788968,void 0,Kr,!1);dn!=null&&dn.declarations&&dn.declarations.some(vre)&&(d2(dn,v.Duplicate_identifier_0,Ds(Kr),Un),d2(Un,v.Duplicate_identifier_0,Ds(Kr),dn))}}}function re(Ir){return Ir.parent.kind===214&&Td(Ir.left)&&Ir.left.text==="0"&&(Da(Ir.parent.parent)&&Ir.parent.parent.expression===Ir.parent||Ir.parent.parent.kind===212)&&($c(Ir.right)||Ye(Ir.right)&&Ir.right.escapedText==="eval")}function ae(Ir){const Wr=OM(m,12288)?r:OM(b,12288)?_:void 0;return Wr?(nt(Wr,v.The_0_operator_cannot_be_applied_to_type_symbol,qa(Ir)),!1):!0}function ke(Ir){switch(Ir){case 51:case 74:return 56;case 52:case 78:return 37;case 50:case 73:return 55;default:return}}function je(Ir){Z0(D)&&s(Wr);function Wr(){if(cN(r,v.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,v.The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access)){let Un;if(tt&&oi(r)&&Qc(Ir,32768)){const Ar=Yl(Tf(r.expression),r.name.escapedText);qW(Ir,Ar)&&(Un=v.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target)}z1(Ir,m,r,_,Un)}}}function Re(Ir){var Wr;switch(Ir){case 2:return!0;case 1:case 5:case 6:case 3:case 4:const Un=G_(r),Ar=LC(_);return!!Ar&&cc(Ar)&&!!((Wr=Un==null?void 0:Un.exports)!=null&&Wr.size);default:return!1}}function Ct(Ir){return Ir(m,b)?!1:(Qt(Ir),!0)}function Qt(Ir){let Wr=!1;const Un=x||c;if(Ir){const Ei=A0(m),Js=A0(b);Wr=!(Ei===m&&Js===b)&&!!(Ei&&Js)&&Ir(Ei,Js)}let Ar=m,Kr=b;!Wr&&Ir&&([Ar,Kr]=LTt(m,b,Ir));const[dn,xi]=Sr(Ar,Kr);sn(Un,Wr,dn,xi)||Vv(Un,Wr,v.Operator_0_cannot_be_applied_to_types_1_and_2,qa(c.kind),dn,xi)}function sn(Ir,Wr,Un,Ar){switch(c.kind){case 36:case 34:case 37:case 35:return Vv(Ir,Wr,v.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap,Un,Ar);default:return}}function Zr(Ir,Wr,Un,Ar){const Kr=cn(xc(Un)),dn=cn(xc(Ar));if(Kr||dn){const xi=nt(Ir,v.This_condition_will_always_return_0,qa(Wr===36||Wr===34?95:110));if(Kr&&dn)return;const Ei=Wr===37||Wr===35?qa(53):"",Js=Kr?Ar:Un,wa=xc(Js);Eo(xi,ni(Js,v.Did_you_mean_0,`${Ei}Number.isNaN(${El(wa)?Ap(wa):"..."})`))}}function cn(Ir){if(Ye(Ir)&&Ir.escapedText==="NaN"){const Wr=Pyt();return!!Wr&&Wr===Id(Ir)}return!1}}function LTt(r,c,_){let m=r,b=c;const x=V1(r),D=V1(c);return _(x,D)||(m=x,b=D),[m,b]}function MTt(r){s(je);const c=Pp(r);if(!c)return Fe;const _=Au(c);if(!(_&1))return Fe;const m=(_&2)!==0;r.asteriskToken&&(m&&V<99&&Kl(r,26624),!m&&V<2&&se.downlevelIteration&&Kl(r,256));const b=yE(c),x=b&&IFe(b,m),D=x&&x.yieldType||Fe,j=x&&x.nextType||Fe,$=m?VS(j)||Fe:j,re=r.expression?zs(r.expression):ct,ae=LMe(r,re,$,m);if(b&&ae&&z1(ae,D,r.expression||r,r.expression),r.asteriskToken)return sme(m?19:17,1,re,r.expression)||Fe;if(b)return J2(2,b,m)||Fe;let ke=bLe(2,c);return ke||(ke=Fe,s(()=>{if(Pe&&!QTe(r)){const Re=e_(r,void 0);(!Re||rc(Re))&&nt(r,v.yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation)}})),ke;function je(){r.flags&8192||xu(r,v.A_yield_expression_is_only_allowed_in_a_generator_body),tde(r)&&nt(r,v.yield_expressions_cannot_be_used_in_a_parameter_initializer)}}function FTt(r,c){const _=LE(r.condition);nme(r.condition,_,r.whenTrue);const m=zs(r.whenTrue,c),b=zs(r.whenFalse,c);return bi([m,b],2)}function $Me(r){const c=r.parent;return j_(c)&&$Me(c)||qc(c)&&c.argumentExpression===r}function RTt(r){const c=[r.head.text],_=[];for(const m of r.templateSpans){const b=zs(m.expression);OM(b,12288)&&nt(m.expression,v.Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String),c.push(m.literal.text),_.push(io(b,Xa)?b:ye)}return F3(r)||$Me(r)||my(e_(r,void 0)||xe,BTt)?DS(c,_):ye}function BTt(r){return!!(r.flags&134217856||r.flags&58982400&&Qc(jf(r)||xe,402653316))}function jTt(r){return OT(r)&&!_w(r.parent)?r.parent.parent:r}function IE(r,c,_,m){const b=jTt(r);bM(b,c,!1),ubt(b,_);const x=zs(r,m|1|(_?2:0));_&&_.intraExpressionInferenceSites&&(_.intraExpressionInferenceSites=void 0);const D=Qc(x,2944)&&MH(x,mH(c,r,void 0))?f_(x):x;return fbt(),tN(),D}function Ll(r,c){if(c)return zs(r,c);const _=gi(r);if(!_.resolvedType){const m=Vr,b=Ys;Vr=fn,Ys=void 0,_.resolvedType=zs(r,c),Ys=b,Vr=m}return _.resolvedType}function qMe(r){return r=xc(r,!0),r.kind===213||r.kind===231||dD(r)}function lN(r,c,_){const m=j7(r);if(Mn(r)){const x=Zj(r);if(x)return Lde(m,x,c)}const b=Hde(m)||(_?IE(m,_,void 0,c||0):Ll(m,c));return ua(r)&&r.name.kind===204&&po(b)&&!b.target.hasRestElement&&cb(b)<r.name.elements.length?JTt(b,r.name):b}function JTt(r,c){const _=c.elements,m=Go(r).slice(),b=r.target.elementFlags.slice();for(let x=cb(r);x<_.length;x++){const D=_[x];(x<_.length-1||!(D.kind===205&&D.dotDotDotToken))&&(m.push(!yu(D)&&D3(D)?I1(D,!1,!1):Fe),b.push(2),!yu(D)&&!D3(D)&&mb(D,Fe))}return jm(m,b,r.target.readonly)}function qde(r,c){const _=ym(r)&2||KB(r)?c:F2(c);if(Mn(r)){if(S9e(_))return mb(r,Fe),Fe;if(QW(_))return mb(r,Vt),Vt}return _}function MH(r,c){if(c){if(c.flags&3145728){const _=c.types;return Oe(_,m=>MH(r,m))}if(c.flags&58982400){const _=jf(c)||xe;return Qc(_,4)&&Qc(r,128)||Qc(_,8)&&Qc(r,256)||Qc(_,64)&&Qc(r,2048)||Qc(_,4096)&&Qc(r,8192)||MH(r,_)}return!!(c.flags&406847616&&Qc(r,128)||c.flags&256&&Qc(r,256)||c.flags&2048&&Qc(r,2048)||c.flags&512&&Qc(r,512)||c.flags&8192&&Qc(r,8192))}return!1}function F3(r){const c=r.parent;return mx(c)&&Iy(c.type)||dD(c)&&Iy(ZJ(c))||Ode(r)&&UTt(r)||(j_(c)||Nf(c)||$g(c))&&F3(c)||(Iu(c)||id(c)||aD(c))&&F3(c.parent)}function UTt(r){const c=e_(r,0);return!!c&&my(c,$L)}function R3(r,c,_){const m=zs(r,c,_);return F3(r)||u2e(r)?f_(m):qMe(r)?m:kpe(m,mH(e_(r,void 0),r,void 0))}function WMe(r,c){return r.name.kind===164&&E0(r.name),R3(r.initializer,c)}function HMe(r,c){bRe(r),r.name.kind===164&&E0(r.name);const _=jMe(r,c);return GMe(r,_,c)}function GMe(r,c,_){if(_&&_&10){const m=nN(c,0,!0),b=nN(c,1,!0),x=m||b;if(x&&x.typeParameters){const D=B2(r,2);if(D){const j=nN(w0(D),m?0:1,!1);if(j&&!j.typeParameters){if(_&8)return XMe(r,_),ea;const $=Fk(r),re=$.signature&&Xo($.signature),ae=re&&sMe(re);if(ae&&!ae.typeParameters&&!ut($.inferences,OE)){const ke=qTt($,x.typeParameters),je=D_e(x,ke),Re=qt($.inferences,Ct=>Ipe(Ct.typeParameter));if(Ppe(je,j,(Ct,Qt)=>{dy(Re,Ct,Qt,0,!0)}),Oe(Re,OE)&&(Dpe(je,j,(Ct,Qt)=>{dy(Re,Ct,Qt)}),!VTt($.inferences,Re)))return $Tt($.inferences,Re),$.inferredTypeParameters=Cr($.inferredTypeParameters,ke),PS(je)}return PS(aMe(x,j,$))}}}}return c}function XMe(r,c){if(c&2){const _=Fk(r);_.flags|=4}}function OE(r){return!!(r.candidates||r.contraCandidates)}function zTt(r){return!!(r.candidates||r.contraCandidates||$5e(r.typeParameter))}function VTt(r,c){for(let _=0;_<r.length;_++)if(OE(r[_])&&OE(c[_]))return!0;return!1}function $Tt(r,c){for(let _=0;_<r.length;_++)!OE(r[_])&&OE(c[_])&&(r[_]=c[_])}function qTt(r,c){const _=[];let m,b;for(const x of c){const D=x.symbol.escapedName;if(Wde(r.inferredTypeParameters,D)||Wde(_,D)){const j=WTt(Cr(r.inferredTypeParameters,_),D),$=Oo(262144,j),re=A_($);re.target=x,m=$r(m,x),b=$r(b,re),_.push(re)}else _.push(x)}if(b){const x=__(m,b);for(const D of b)D.mapper=x}return _}function Wde(r,c){return Oe(r,_=>_.symbol.escapedName===c)}function WTt(r,c){let _=c.length;for(;_>1&&c.charCodeAt(_-1)>=48&&c.charCodeAt(_-1)<=57;)_--;const m=c.slice(0,_);for(let b=1;;b++){const x=m+b;if(!Wde(r,x))return x}}function QMe(r){const c=Rk(r);if(c&&!c.typeParameters)return Xo(c)}function HTt(r){const c=zs(r.expression),_=H8(c,r.expression),m=QMe(c);return m&&KW(m,r,_!==c)}function Tf(r){const c=Hde(r);if(c)return c;if(r.flags&134217728&&Ys){const b=Ys[Wo(r)];if(b)return b}const _=xn,m=zs(r);if(xn!==_){const b=Ys||(Ys=[]);b[Wo(r)]=m,XTe(r,r.flags|134217728)}return m}function Hde(r){let c=xc(r,!0);if(dD(c)){const _=ZJ(c);if(!Iy(_))return Bi(_)}if(c=xc(r),g4(c)){const _=Hde(c.expression);return _?VS(_):void 0}if(Da(c)&&c.expression.kind!==106&&!v_(c,!0)&&!vMe(c))return _x(c)?HTt(c):QMe(I3(c.expression));if(mx(c)&&!Iy(c.type))return Bi(c.type);if(px(r)||gbe(r))return zs(r)}function FM(r){const c=gi(r);if(c.contextFreeType)return c.contextFreeType;bM(r,Fe,!1);const _=c.contextFreeType=zs(r,4);return tN(),_}function zs(r,c,_){var m,b;(m=Hi)==null||m.push(Hi.Phase.Check,"checkExpression",{kind:r.kind,pos:r.pos,end:r.end,path:r.tracingPath});const x=W;W=r,L=0;const D=QTt(r,c,_),j=GMe(r,D,c);return zde(j)&&GTt(r,j),W=x,(b=Hi)==null||b.pop(),j}function GTt(r,c){r.parent.kind===208&&r.parent.expression===r||r.parent.kind===209&&r.parent.expression===r||(r.kind===79||r.kind===163)&&XH(r)||r.parent.kind===183&&r.parent.exprName===r||r.parent.kind===278||nt(r,v.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),qd(se)&&(R.assert(!!(c.symbol.flags&128)),c.symbol.valueDeclaration.flags&16777216&&nt(r,v.Cannot_access_ambient_const_enums_when_0_is_enabled,er))}function XTt(r,c){if(Ep(r)){if(gte(r))return Lde(r.expression,yte(r),c);if(dD(r)){const _=ZJ(r);return kMe(_,_,r.expression,c)}}return zs(r.expression,c)}function QTt(r,c,_){const m=r.kind;if(l)switch(m){case 228:case 215:case 216:l.throwIfCancellationRequested()}switch(m){case 79:return Ovt(r,c);case 80:return Hbt(r);case 108:return yM(r);case 106:return Kpe(r);case 104:return qn;case 14:case 10:return CE(qp(r.text));case 8:return wme(r),CE(Jm(+r.text));case 9:return QCt(r),CE(MW({negative:!1,base10Value:JP(r.text)}));case 110:return $e;case 95:return dt;case 225:return RTt(r);case 13:return Fp;case 206:return PLe(r,c,_);case 207:return Ebt(r,c);case 208:return $Le(r,c);case 163:return qLe(r,c);case 209:return l2t(r,c);case 210:if(r.expression.kind===100)return j2t(r);case 211:return B2t(r,c);case 212:return J2t(r);case 214:return XTt(r,c);case 228:return Fxt(r);case 215:case 216:return jMe(r,c);case 218:return vTt(r);case 213:case 231:return U2t(r);case 232:return V2t(r);case 230:return CMe(r);case 235:return $2t(r);case 233:return q2t(r);case 217:return gTt(r);case 219:return bTt(r);case 220:return STt(r);case 221:return xTt(r);case 222:return kTt(r);case 223:return Je(r,c);case 224:return FTt(r,c);case 227:return Sbt(r,c);case 229:return ct;case 226:return MTt(r);case 234:return xbt(r);case 291:return Jbt(r,c);case 281:return Nbt(r);case 282:return Pbt(r);case 285:return Ibt(r);case 289:return Lbt(r,c);case 283:R.fail("Shouldn't ever directly check a JsxOpeningElement")}return Ne}function YMe(r){Sg(r),r.expression&&xu(r.expression,v.Type_expected),$a(r.constraint),$a(r.default);const c=wS(Zn(r));jf(c),Bgt(c)||nt(r.default,v.Type_parameter_0_has_a_circular_default,Me(c));const _=hf(c),m=AS(c);_&&m&&Kf(m,Vp(Cs(_,L2(c,m)),m),r.default,v.Type_0_does_not_satisfy_the_constraint_1),V3(r),s(()=>U3(r.name,v.Type_parameter_name_cannot_be_0))}function YTt(r){var c,_;if(Yf(r.parent)||Ri(r.parent)||sh(r.parent)){const m=wS(Zn(r)),b=ype(m)&98304;if(b){const x=Zn(r.parent);if(sh(r.parent)&&!(Ci(Tc(x))&48))nt(r,v.Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types);else if(b===32768||b===65536){(c=Hi)==null||c.push(Hi.Phase.CheckTypes,"checkTypeParameterDeferred",{parent:vf(Tc(x)),id:vf(m)});const D=sM(x,m,b===65536?Kc:fc),j=sM(x,m,b===65536?fc:Kc),$=m;X=m,Kf(D,j,r,v.Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation),X=$,(_=Hi)==null||_.pop()}}}}function ZMe(r){Sg(r),zM(r);const c=Pp(r);Ti(r,16476)&&(c.kind===173&&md(c.body)||nt(r,v.A_parameter_property_is_only_allowed_in_a_constructor_implementation),c.kind===173&&Ye(r.name)&&r.name.escapedText==="constructor"&&nt(r.name,v.constructor_cannot_be_used_as_a_parameter_property_name)),!r.initializer&&hte(r)&&xa(r.name)&&c.body&&nt(r,v.A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature),r.name&&Ye(r.name)&&(r.name.escapedText==="this"||r.name.escapedText==="new")&&(c.parameters.indexOf(r)!==0&&nt(r,v.A_0_parameter_must_be_the_first_parameter,r.name.escapedText),(c.kind===173||c.kind===177||c.kind===182)&&nt(r,v.A_constructor_cannot_have_a_this_parameter),c.kind===216&&nt(r,v.An_arrow_function_cannot_have_a_this_parameter),(c.kind===174||c.kind===175)&&nt(r,v.get_and_set_accessors_cannot_declare_this_parameters)),r.dotDotDotToken&&!xa(r.name)&&!io(fm(En(r.symbol)),ks)&&nt(r,v.A_rest_parameter_must_be_of_an_array_type)}function ZTt(r){const c=KTt(r);if(!c){nt(r,v.A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods);return}const _=Bm(c),m=ld(_);if(!m)return;$a(r.type);const{parameterName:b}=r;if(m.kind===0||m.kind===2)FW(b);else if(m.parameterIndex>=0){if(ff(_)&&m.parameterIndex===_.parameters.length-1)nt(b,v.A_type_predicate_cannot_reference_a_rest_parameter);else if(m.type){const x=()=>sa(void 0,v.A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type);Kf(m.type,En(_.parameters[m.parameterIndex]),r.type,void 0,x)}}else if(b){let x=!1;for(const{name:D}of c.parameters)if(xa(D)&&KMe(D,b,m.parameterName)){x=!0;break}x||nt(r.parameterName,v.Cannot_find_parameter_0,m.parameterName)}}function KTt(r){switch(r.parent.kind){case 216:case 176:case 259:case 215:case 181:case 171:case 170:const c=r.parent;if(r===c.type)return c}}function KMe(r,c,_){for(const m of r.elements){if(yu(m))continue;const b=m.name;if(b.kind===79&&b.escapedText===_)return nt(c,v.A_type_predicate_cannot_reference_element_0_in_a_binding_pattern,_),!0;if((b.kind===204||b.kind===203)&&KMe(b,c,_))return!0}}function uN(r){r.kind===178?xCt(r):(r.kind===181||r.kind===259||r.kind===182||r.kind===176||r.kind===173||r.kind===177)&&tG(r);const c=Au(r);c&4||((c&3)===3&&V<99&&Kl(r,6144),(c&3)===2&&V<4&&Kl(r,64),c&3&&V<2&&Kl(r,128)),$M(lv(r)),Oxt(r),Q(r.parameters,ZMe),r.type&&$a(r.type),s(_);function _(){QSt(r);const m=bm(r);if(Pe&&!m)switch(r.kind){case 177:nt(r,v.Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break;case 176:nt(r,v.Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type);break}if(m){const b=Au(r);if((b&5)===1){const x=Bi(m);if(x===$t)nt(m,v.A_generator_cannot_have_a_void_type_annotation);else{const D=J2(0,x,(b&2)!==0)||Fe,j=J2(1,x,(b&2)!==0)||D,$=J2(2,x,(b&2)!==0)||xe,re=OMe(D,j,$,!!(b&2));Kf(re,x,m)}}else(b&3)===2&&DSt(r,m)}r.kind!==178&&r.kind!==320&&$1(r)}}function eSt(r){const c=new Map,_=new Map,m=new Map;for(const x of r.members)if(x.kind===173)for(const D of x.parameters)sp(D,x)&&!xa(D.name)&&b(c,D.name,D.name.escapedText,3);else{const D=ba(x),j=x.name;if(!j)continue;const $=as(j),re=$&&D?16:0,ae=$?m:D?_:c,ke=j&&ST(j);if(ke)switch(x.kind){case 174:b(ae,j,ke,1|re);break;case 175:b(ae,j,ke,2|re);break;case 169:b(ae,j,ke,3|re);break;case 171:b(ae,j,ke,8|re);break}}function b(x,D,j,$){const re=x.get(j);if(re)if((re&16)!==($&16))nt(D,v.Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name,lu(D));else{const ae=!!(re&8),ke=!!($&8);ae||ke?ae!==ke&&nt(D,v.Duplicate_identifier_0,lu(D)):re&$&-17?nt(D,v.Duplicate_identifier_0,lu(D)):x.set(j,re|$)}else x.set(j,$)}}function tSt(r){for(const c of r.members){const _=c.name;if(ba(c)&&_){const b=ST(_);switch(b){case"name":case"length":case"caller":case"arguments":case"prototype":const x=v.Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1,D=P1(Zn(r));nt(_,x,b,D);break}}}}function eFe(r){const c=new Map;for(const _ of r.members)if(_.kind===168){let m;const b=_.name;switch(b.kind){case 10:case 8:m=b.text;break;case 79:m=ai(b);break;default:continue}c.get(m)?(nt(ra(_.symbol.valueDeclaration),v.Duplicate_identifier_0,m),nt(_.name,v.Duplicate_identifier_0,m)):c.set(m,!0)}}function Gde(r){if(r.kind===261){const _=Zn(r);if(_.declarations&&_.declarations.length>0&&_.declarations[0]!==r)return}const c=Z5e(Zn(r));if(c!=null&&c.declarations){const _=new Map;for(const m of c.declarations)m.parameters.length===1&&m.parameters[0].type&&BS(Bi(m.parameters[0].type),b=>{const x=_.get(vf(b));x?x.declarations.push(m):_.set(vf(b),{type:b,declarations:[m]})});_.forEach(m=>{if(m.declarations.length>1)for(const b of m.declarations)nt(b,v.Duplicate_index_signature_for_type_0,Me(m.type))})}}function tFe(r){!Sg(r)&&!qCt(r)&&rG(r.name),zM(r),Xde(r),Ti(r,256)&&r.kind===169&&r.initializer&&nt(r,v.Property_0_cannot_have_an_initializer_because_it_is_marked_abstract,uc(r.name))}function rSt(r){return as(r.name)&&nt(r,v.Private_identifiers_are_not_allowed_outside_class_bodies),tFe(r)}function nSt(r){bRe(r)||rG(r.name),zl(r)&&r.asteriskToken&&Ye(r.name)&&ai(r.name)==="constructor"&&nt(r.name,v.Class_constructor_may_not_be_a_generator),dFe(r),Ti(r,256)&&r.kind===171&&r.body&&nt(r,v.Method_0_cannot_have_an_implementation_because_it_is_marked_abstract,uc(r.name)),as(r.name)&&!uu(r)&&nt(r,v.Private_identifiers_are_not_allowed_outside_class_bodies),Xde(r)}function Xde(r){if(as(r.name)&&V<99){for(let c=Hh(r);c;c=Hh(c))gi(c).flags|=4194304;if(If(r.parent)){const c=Qpe(r.parent);c&&(gi(r.name).flags|=32768,gi(c).flags|=4096)}}}function iSt(r){Sg(r),ca(r,$a)}function sSt(r){uN(r),VCt(r)||$Ct(r),$a(r.body);const c=Zn(r),_=ol(c,r.kind);if(r===_&&BH(c),cl(r.body))return;s(b);return;function m(x){return Wf(x)?!0:x.kind===169&&!ba(x)&&!!x.initializer}function b(){const x=r.parent;if(TT(x)){Ype(r.parent,x);const D=dLe(x),j=pLe(r.body);if(j){if(D&&nt(j,v.A_constructor_cannot_contain_a_super_call_when_its_class_extends_null),(Io(se)!==99||!Ce)&&(Oe(r.parent.members,m)||Oe(r.parameters,re=>Ti(re,16476))))if(!aSt(j,r.body))nt(j,v.A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers);else{let re;for(const ae of r.body.statements){if(Gu(ae)&&N6(uf(ae.expression))){re=ae;break}if(rFe(ae))break}re===void 0&&nt(r,v.A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers)}}else D||nt(r,v.Constructors_for_derived_classes_must_contain_a_super_call)}}}function aSt(r,c){const _=mv(r.parent);return Gu(_)&&_.parent===c}function rFe(r){return r.kind===106||r.kind===108?!0:h2e(r)?!1:!!ca(r,rFe)}function nFe(r){Ye(r.name)&&ai(r.name)==="constructor"&&nt(r.name,v.Class_constructor_may_not_be_an_accessor),s(c),$a(r.body),Xde(r);function c(){if(!tG(r)&&!ICt(r)&&rG(r.name),BM(r),uN(r),r.kind===174&&!(r.flags&16777216)&&md(r.body)&&r.flags&256&&(r.flags&512||nt(r.name,v.A_get_accessor_must_return_a_value)),r.name.kind===164&&E0(r.name),mE(r)){const m=Zn(r),b=ol(m,174),x=ol(m,175);if(b&&x&&!(FE(b)&1)){gi(b).flags|=1;const D=Pf(b),j=Pf(x);(D&256)!==(j&256)&&(nt(b.name,v.Accessors_must_both_be_abstract_or_non_abstract),nt(x.name,v.Accessors_must_both_be_abstract_or_non_abstract)),(D&16&&!(j&24)||D&8&&!(j&8))&&(nt(b.name,v.A_get_accessor_must_be_at_least_as_accessible_as_the_setter),nt(x.name,v.A_get_accessor_must_be_at_least_as_accessible_as_the_setter));const $=me(b),re=me(x);$&&re&&Kf($,re,b,v.The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type)}}const _=ci(Zn(r));r.kind===174&&Jde(r,_)}}function oSt(r){BM(r)}function cSt(r,c,_){return r.typeArguments&&_<r.typeArguments.length?Bi(r.typeArguments[_]):FH(r,c)[_]}function FH(r,c){return R1(qt(r.typeArguments,Bi),c,bh(c),Mn(r))}function iFe(r,c){let _,m,b=!0;for(let x=0;x<c.length;x++){const D=hf(c[x]);D&&(_||(_=FH(r,c),m=__(c,_)),b=b&&Kf(_[x],Cs(D,m),r.typeArguments[x],v.Type_0_does_not_satisfy_the_constraint_1))}return b}function lSt(r,c){if(!Lo(r))return c.flags&524288&&ys(c).typeParameters||(Ci(r)&4?r.target.localTypeParameters:void 0)}function Qde(r){const c=Bi(r);if(!Lo(c)){const _=gi(r).resolvedSymbol;if(_)return lSt(c,_)}}function Yde(r){if(GM(r,r.typeArguments),r.kind===180&&!Mn(r)&&!R7(r)&&r.typeArguments&&r.typeName.end!==r.typeArguments.pos){const c=bn(r);a2e(c,r.typeName.end)===24&&z2(r,wo(c.text,r.typeName.end),1,v.JSDoc_types_can_only_be_used_inside_documentation_comments)}Q(r.typeArguments,$a),sFe(r)}function sFe(r){const c=Bi(r);if(!Lo(c)){r.typeArguments&&s(()=>{const m=Qde(r);m&&iFe(r,m)});const _=gi(r).resolvedSymbol;_&&Oe(_.declarations,m=>i4(m)&&!!(m.flags&268435456))&&t0(AM(r),_.declarations,_.escapedName)}}function uSt(r){const c=Pi(r.parent,zB);if(!c)return;const _=Qde(c);if(!_)return;const m=hf(_[c.typeArguments.indexOf(r)]);return m&&Cs(m,__(_,FH(c,_)))}function fSt(r){lOe(r)}function _St(r){Q(r.members,$a),s(c);function c(){const _=QOe(r);qH(_,_.symbol),Gde(r),eFe(r)}}function pSt(r){$a(r.elementType)}function dSt(r){const c=r.elements;let _=!1,m=!1;const b=Oe(c,rD);for(const x of c){if(x.kind!==199&&b){Ur(x,v.Tuple_members_must_all_have_names_or_all_not_have_names);break}const D=z_e(x);if(D&8){const j=Bi(x.type);if(!db(j)){nt(x,v.A_rest_element_type_must_be_an_array_type);break}(Wp(j)||po(j)&&j.target.combinedFlags&4)&&(m=!0)}else if(D&4){if(m){Ur(x,v.A_rest_element_cannot_follow_another_rest_element);break}m=!0}else if(D&2){if(m){Ur(x,v.An_optional_element_cannot_follow_a_rest_element);break}_=!0}else if(_){Ur(x,v.A_required_element_cannot_follow_an_optional_element);break}}Q(r.elements,$a),Bi(r)}function mSt(r){Q(r.types,$a),Bi(r)}function aFe(r,c){if(!(r.flags&8388608))return r;const _=r.objectType,m=r.indexType;if(io(m,Sh(_,!1)))return c.kind===209&&Rg(c)&&Ci(_)&32&&vh(_)&1&&nt(c,v.Index_signature_in_type_0_only_permits_reading,Me(_)),r;const b=Jf(_);if(vg(b,wt)&&Su(m,296))return r;if(N2(_)){const x=DW(m,c);if(x){const D=BS(b,j=>Ra(j,x));if(D&&td(D)&24)return nt(c,v.Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter,Ds(x)),Ne}}return nt(c,v.Type_0_cannot_be_used_to_index_type_1,Me(m),Me(_)),Ne}function hSt(r){$a(r.objectType),$a(r.indexType),aFe($Oe(r),r)}function gSt(r){ySt(r),$a(r.typeParameter),$a(r.nameType),$a(r.type),r.type||mb(r,Fe);const c=Z_e(r),_=y0(c);if(_)Kf(_,hs,r.nameType);else{const m=Rm(c);Kf(m,hs,v6(r.typeParameter))}}function ySt(r){var c;if((c=r.members)!=null&&c.length)return Ur(r.members[0],v.A_mapped_type_may_not_declare_properties_or_methods)}function vSt(r){FW(r)}function bSt(r){LCt(r),$a(r.type)}function TSt(r){ca(r,$a)}function SSt(r){kn(r,_=>_.parent&&_.parent.kind===191&&_.parent.extendsType===_)||Ur(r,v.infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type),$a(r.typeParameter);const c=Zn(r.typeParameter);if(c.declarations&&c.declarations.length>1){const _=ys(c);if(!_.typeParametersChecked){_.typeParametersChecked=!0;const m=wS(c),b=Fbe(c,165);if(!FFe(b,[m],x=>[x])){const x=A(c);for(const D of b)nt(D.name,v.All_declarations_of_0_must_have_identical_constraints,x)}}}$1(r)}function xSt(r){for(const c of r.templateSpans){$a(c.type);const _=Bi(c.type);Kf(_,Xa,c.type)}Bi(r)}function kSt(r){$a(r.argument),r.assertions&&xw(r.assertions.assertClause,Ur)&&(f5()||Ur(r.assertions.assertClause,v.resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next),vl(se)!==3&&vl(se)!==99&&Ur(r.assertions.assertClause,v.resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext)),sFe(r)}function CSt(r){r.dotDotDotToken&&r.questionToken&&Ur(r,v.A_tuple_member_cannot_be_both_optional_and_rest),r.type.kind===187&&Ur(r.type,v.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type),r.type.kind===188&&Ur(r.type,v.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type),$a(r.type),Bi(r)}function RM(r){return(R_(r,8)||Wf(r))&&!!(r.flags&16777216)}function RH(r,c){let _=H0(r);return r.parent.kind!==261&&r.parent.kind!==260&&r.parent.kind!==228&&r.flags&16777216&&(!(_&2)&&!(ah(r.parent)&&Pl(r.parent.parent)&&Km(r.parent.parent))&&(_|=1),_|=2),_&c}function BH(r){s(()=>wSt(r))}function wSt(r){function c(Wr,Un){return Un!==void 0&&Un.parent===Wr[0].parent?Un:Wr[0]}function _(Wr,Un,Ar,Kr,dn){if((Kr^dn)!==0){const Ei=RH(c(Wr,Un),Ar);Q(Wr,Js=>{const wa=RH(Js,Ar)^Ei;wa&1?nt(ra(Js),v.Overload_signatures_must_all_be_exported_or_non_exported):wa&2?nt(ra(Js),v.Overload_signatures_must_all_be_ambient_or_non_ambient):wa&24?nt(ra(Js)||Js,v.Overload_signatures_must_all_be_public_private_or_protected):wa&256&&nt(ra(Js),v.Overload_signatures_must_all_be_abstract_or_non_abstract)})}}function m(Wr,Un,Ar,Kr){if(Ar!==Kr){const dn=BC(c(Wr,Un));Q(Wr,xi=>{BC(xi)!==dn&&nt(ra(xi),v.Overload_signatures_must_all_be_optional_or_required)})}}const b=283;let x=0,D=b,j=!1,$=!0,re=!1,ae,ke,je;const Re=r.declarations,Ct=(r.flags&16384)!==0;function Qt(Wr){if(Wr.name&&cl(Wr.name))return;let Un=!1;const Ar=ca(Wr.parent,dn=>{if(Un)return dn;Un=dn===Wr});if(Ar&&Ar.pos===Wr.end&&Ar.kind===Wr.kind){const dn=Ar.name||Ar,xi=Ar.name;if(Wr.name&&xi&&(as(Wr.name)&&as(xi)&&Wr.name.escapedText===xi.escapedText||ac(Wr.name)&&ac(xi)||zd(Wr.name)&&zd(xi)&&yP(Wr.name)===yP(xi))){if((Wr.kind===171||Wr.kind===170)&&ba(Wr)!==ba(Ar)){const Js=ba(Wr)?v.Function_overload_must_be_static:v.Function_overload_must_not_be_static;nt(dn,Js)}return}if(md(Ar.body)){nt(dn,v.Function_implementation_name_must_be_0,uc(Wr.name));return}}const Kr=Wr.name||Wr;Ct?nt(Kr,v.Constructor_implementation_is_missing):Ti(Wr,256)?nt(Kr,v.All_declarations_of_an_abstract_method_must_be_consecutive):nt(Kr,v.Function_implementation_is_missing_or_not_immediately_following_the_declaration)}let sn=!1,Zr=!1,cn=!1;const Ir=[];if(Re)for(const Wr of Re){const Un=Wr,Ar=Un.flags&16777216,Kr=Un.parent&&(Un.parent.kind===261||Un.parent.kind===184)||Ar;if(Kr&&(je=void 0),(Un.kind===260||Un.kind===228)&&!Ar&&(cn=!0),Un.kind===259||Un.kind===171||Un.kind===170||Un.kind===173){Ir.push(Un);const dn=RH(Un,b);x|=dn,D&=dn,j=j||BC(Un),$=$&&BC(Un);const xi=md(Un.body);xi&&ae?Ct?Zr=!0:sn=!0:(je==null?void 0:je.parent)===Un.parent&&je.end!==Un.pos&&Qt(je),xi?ae||(ae=Un):re=!0,je=Un,Kr||(ke=Un)}if(Mn(Wr)&&Sa(Wr)&&Wr.jsDoc){for(const dn of Wr.jsDoc)if(dn.tags)for(const xi of dn.tags)fD(xi)&&(re=!0)}}if(Zr&&Q(Ir,Wr=>{nt(Wr,v.Multiple_constructor_implementations_are_not_allowed)}),sn&&Q(Ir,Wr=>{nt(ra(Wr)||Wr,v.Duplicate_function_implementation)}),cn&&!Ct&&r.flags&16&&Re){const Wr=hr(Re,Un=>Un.kind===260).map(Un=>ni(Un,v.Consider_adding_a_declare_modifier_to_this_class));Q(Re,Un=>{const Ar=Un.kind===260?v.Class_declaration_cannot_implement_overload_list_for_0:Un.kind===259?v.Function_with_bodies_can_only_merge_with_classes_that_are_ambient:void 0;Ar&&Eo(nt(ra(Un)||Un,Ar,yl(r)),...Wr)})}if(ke&&!ke.body&&!Ti(ke,256)&&!ke.questionToken&&Qt(ke),re&&(Re&&(_(Re,ae,b,x,D),m(Re,ae,j,$)),ae)){const Wr=E2(r),Un=Bm(ae);for(const Ar of Wr)if(!K0t(Un,Ar)){const Kr=Ar.declaration&&MT(Ar.declaration)?Ar.declaration.parent.tagName:Ar.declaration;Eo(nt(Kr,v.This_overload_signature_is_not_compatible_with_its_implementation_signature),ni(ae,v.The_implementation_signature_is_declared_here));break}}}function fN(r){s(()=>ESt(r))}function ESt(r){let c=r.localSymbol;if(!c&&(c=Zn(r),!c.exportSymbol)||ol(c,r.kind)!==r)return;let _=0,m=0,b=0;for(const re of c.declarations){const ae=$(re),ke=RH(re,1025);ke&1?ke&1024?b|=ae:_|=ae:m|=ae}const x=_|m,D=_&m,j=b&x;if(D||j)for(const re of c.declarations){const ae=$(re),ke=ra(re);ae&j?nt(ke,v.Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead,uc(ke)):ae&D&&nt(ke,v.Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local,uc(ke))}function $(re){let ae=re;switch(ae.kind){case 261:case 262:case 349:case 341:case 343:return 2;case 264:return Af(ae)||$y(ae)!==0?5:4;case 260:case 263:case 302:return 3;case 308:return 7;case 274:case 223:const ke=ae,je=Tl(ke)?ke.expression:ke.right;if(!El(je))return 1;ae=je;case 268:case 271:case 270:let Re=0;const Ct=jl(Zn(ae));return Q(Ct.declarations,Qt=>{Re|=$(Qt)}),Re;case 257:case 205:case 259:case 273:case 79:return 1;case 170:case 168:return 2;default:return R.failBadSyntaxKind(ae)}}}function _N(r,c,_,m){const b=pN(r,c);return b&&VS(b,c,_,m)}function pN(r,c,_){if(rc(r))return;const m=r;if(m.promisedTypeOfPromise)return m.promisedTypeOfPromise;if(ab(r,XL(!1)))return m.promisedTypeOfPromise=Go(r)[0];if(LM(v0(r),134479868))return;const b=Yl(r,"then");if(rc(b))return;const x=b?ya(b,0):pt;if(x.length===0){c&&nt(c,v.A_promise_must_have_a_then_method);return}let D,j;for(const ae of x){const ke=A2(ae);ke&&ke!==$t&&!Um(r,ke,lg)?D=ke:j=$r(j,ae)}if(!j){R.assertIsDefined(D),_&&(_.value=D),c&&nt(c,v.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1,Me(r),Me(D));return}const $=_d(bi(qt(j,Fde)),2097152);if(rc($))return;const re=ya($,0);if(re.length===0){c&&nt(c,v.The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback);return}return m.promisedTypeOfPromise=bi(qt(re,Fde),2)}function dN(r,c,_,m,b){return(c?VS(r,_,m,b):A0(r,_,m,b))||Ne}function oFe(r){if(LM(v0(r),134479868))return!1;const c=Yl(r,"then");return!!c&&ya(_d(c,2097152),0).length>0}function jH(r){var c;if(r.flags&16777216){const _=U_e(!1);return!!_&&r.aliasSymbol===_&&((c=r.aliasTypeArguments)==null?void 0:c.length)===1}return!1}function B3(r){return r.flags&1048576?Ic(r,B3):jH(r)?r.aliasTypeArguments[0]:r}function cFe(r){if(rc(r)||jH(r))return!1;if(N2(r)){const c=jf(r);if(c?c.flags&3||_y(c)||my(c,oFe):Qc(r,8650752))return!0}return!1}function ASt(r){const c=U_e(!0);if(c)return TE(c,[B3(r)])}function PSt(r){if(cFe(r)){const c=ASt(r);if(c)return c}return R.assert(jH(r)||pN(r)===void 0,"type provided should not be a non-generic 'promise'-like."),r}function VS(r,c,_,m){const b=A0(r,c,_,m);return b&&PSt(b)}function A0(r,c,_,m){if(rc(r)||jH(r))return r;const b=r;if(b.awaitedTypeOfType)return b.awaitedTypeOfType;if(r.flags&1048576){if(Zy.lastIndexOf(r.id)>=0){c&&nt(c,v.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);return}const j=c?re=>A0(re,c,_,m):A0;Zy.push(r.id);const $=Ic(r,j);return Zy.pop(),b.awaitedTypeOfType=$}if(cFe(r))return b.awaitedTypeOfType=r;const x={value:void 0},D=pN(r,void 0,x);if(D){if(r.id===D.id||Zy.lastIndexOf(D.id)>=0){c&&nt(c,v.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method);return}Zy.push(r.id);const j=A0(D,c,_,m);return Zy.pop(),j?b.awaitedTypeOfType=j:void 0}if(oFe(r)){if(c){R.assertIsDefined(_);let j;x.value&&(j=sa(j,v.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1,Me(r),Me(x.value))),j=sa(j,_,m),Do.add(Ly(bn(c),c,j))}return}return b.awaitedTypeOfType=r}function DSt(r,c){const _=Bi(c);if(V>=2){if(Lo(_))return;const m=XL(!0);if(m!==Ka&&!ab(_,m)){nt(c,v.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0,Me(A0(_)||$t));return}}else{if(ISt(c),Lo(_))return;const m=M7(c);if(m===void 0){nt(c,v.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,Me(_));return}const b=ml(m,111551,!0),x=b?En(b):Ne;if(Lo(x)){m.kind===79&&m.escapedText==="Promise"&&dE(_)===XL(!1)?nt(c,v.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):nt(c,v.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,Ap(m));return}const D=lyt(!0);if(D===js){nt(c,v.Type_0_is_not_a_valid_async_function_return_type_in_ES5_SlashES3_because_it_does_not_refer_to_a_Promise_compatible_constructor_value,Ap(m));return}if(!Kf(x,D,c,v.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;const j=m&&Dp(m),$=H_(r.locals,j.escapedText,111551);if($){nt($.valueDeclaration,v.Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions,ai(j),Ap(m));return}}dN(_,!1,r,v.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)}function NSt(r){const c=L3(r);NH(c,r);const _=Xo(c);if(_.flags&1)return;const m=jde(r);if(!(m!=null&&m.resolvedReturnType))return;let b;const x=m.resolvedReturnType;switch(r.parent.kind){case 260:case 228:b=v.Decorator_function_return_type_0_is_not_assignable_to_type_1;break;case 169:if(!fe){b=v.Decorator_function_return_type_0_is_not_assignable_to_type_1;break}case 166:b=v.Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any;break;case 171:case 174:case 175:b=v.Decorator_function_return_type_0_is_not_assignable_to_type_1;break;default:return R.failBadSyntaxKind(r.parent)}Kf(_,x,r.expression,b)}function mN(r,c,_,m,b,x=_.length,D=0){const j=J.createFunctionTypeNode(void 0,pt,J.createKeywordTypeNode(131));return yg(j,r,c,_,m,b,x,D)}function Zde(r,c,_,m,b,x,D){const j=mN(r,c,_,m,b,x,D);return PS(j)}function lFe(r){return Zde(void 0,void 0,pt,r)}function uFe(r){const c=nm("value",r);return Zde(void 0,void 0,[c],$t)}function ISt(r){fFe(r&&M7(r),!1)}function fFe(r,c){if(!r)return;const _=Dp(r),m=(r.kind===79?788968:1920)|2097152,b=Xc(_,_.escapedText,m,void 0,void 0,!0);if(b&&b.flags&2097152){if(!se.verbatimModuleSyntax&&u0(b)&&!yN(jl(b))&&!E_(b))T2(b);else if(c&&qd(se)&&Hu(se)>=5&&!u0(b)&&!Oe(b.declarations,pT)){const x=nt(r,v.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled),D=He(b.declarations||pt,s0);D&&Eo(x,ni(D,v._0_was_imported_here,ai(_)))}}}function j3(r){const c=Kde(r);c&&ap(c)&&fFe(c,!0)}function Kde(r){if(r)switch(r.kind){case 190:case 189:return _Fe(r.types);case 191:return _Fe([r.trueType,r.falseType]);case 193:case 199:return Kde(r.type);case 180:return r.typeName}}function _Fe(r){let c;for(let _ of r){for(;_.kind===193||_.kind===199;)_=_.type;if(_.kind===144||!K&&(_.kind===198&&_.literal.kind===104||_.kind===155))continue;const m=Kde(_);if(!m)return;if(c){if(!Ye(c)||!Ye(m)||c.escapedText!==m.escapedText)return}else c=m}return c}function JH(r){const c=Ju(r);return Lg(r)?XK(c):c}function BM(r){if(!yw(r)||!ed(r)||!r.modifiers||!fj(fe,r,r.parent,r.parent.parent))return;const c=He(r.modifiers,Df);if(c){if(fe?(Kl(c,8),r.kind===166&&Kl(c,32)):V<99&&(Kl(c,8),vu(r)?r.name?RFe(r)&&Kl(c,8388608):Kl(c,8388608):If(r)||(as(r.name)&&(zl(r)||Mb(r)||op(r))&&Kl(c,8388608),ac(r.name)&&Kl(c,16777216))),se.emitDecoratorMetadata)switch(Kl(c,16),r.kind){case 260:const _=Bg(r);if(_)for(const D of _.parameters)j3(JH(D));break;case 174:case 175:const m=r.kind===174?175:174,b=ol(Zn(r),m);j3(q(r)||b&&q(b));break;case 171:for(const D of r.parameters)j3(JH(D));j3(bm(r));break;case 169:j3(Ju(r));break;case 166:j3(JH(r));const x=r.parent;for(const D of x.parameters)j3(JH(D));break}for(const _ of r.modifiers)Df(_)&&NSt(_)}}function OSt(r){s(c);function c(){dFe(r),Sme(r),J3(r,r.name)}}function LSt(r){r.typeExpression||nt(r.name,v.JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags),r.name&&U3(r.name,v.Type_alias_name_cannot_be_0),$a(r.typeExpression),$M(lv(r))}function MSt(r){$a(r.constraint);for(const c of r.typeParameters)$a(c)}function FSt(r){$a(r.typeExpression)}function RSt(r){$a(r.typeExpression);const c=z6(r);if(c){const _=tK(c,XJ);if(H(_)>1)for(let m=1;m<H(_);m++){const b=_[m].tagName;nt(b,v._0_tag_already_specified,ai(b))}}}function BSt(r){r.name&&WM(r.name,!0)}function jSt(r){$a(r.typeExpression)}function JSt(r){$a(r.typeExpression)}function USt(r){s(c),uN(r);function c(){!r.type&&!J6(r)&&mb(r,Fe)}}function zSt(r){const c=z6(r);(!c||!vu(c)&&!If(c))&&nt(c,v.JSDoc_0_is_not_attached_to_a_class,ai(r.tagName))}function VSt(r){const c=z6(r);if(!c||!vu(c)&&!If(c)){nt(c,v.JSDoc_0_is_not_attached_to_a_class,ai(r.tagName));return}const _=fT(c).filter(S4);R.assert(_.length>0),_.length>1&&nt(_[1],v.Class_declarations_cannot_have_more_than_one_augments_or_extends_tag);const m=pFe(r.class.expression),b=TT(c);if(b){const x=pFe(b.expression);x&&m.escapedText!==x.escapedText&&nt(m,v.JSDoc_0_1_does_not_match_the_extends_2_clause,ai(r.tagName),ai(m),ai(x))}}function $St(r){const c=jC(r);c&&Wf(c)&&nt(r,v.An_accessibility_modifier_cannot_be_used_with_a_private_identifier)}function pFe(r){switch(r.kind){case 79:return r;case 208:return r.name;default:return}}function dFe(r){var c;BM(r),uN(r);const _=Au(r);if(r.name&&r.name.kind===164&&E0(r.name),mE(r)){const x=Zn(r),D=r.localSymbol||x,j=(c=D.declarations)==null?void 0:c.find($=>$.kind===r.kind&&!($.flags&262144));r===j&&BH(D),x.parent&&BH(x)}const m=r.kind===170?void 0:r.body;if($a(m),Jde(r,yE(r)),s(b),Mn(r)){const x=uT(r);x&&x.typeExpression&&!sde(Bi(x.typeExpression),r)&&nt(x.typeExpression.type,v.The_type_of_a_function_declaration_must_match_the_function_s_signature)}function b(){bm(r)||(cl(m)&&!RM(r)&&mb(r,Fe),_&1&&md(m)&&Xo(Bm(r)))}}function $1(r){s(c);function c(){const _=bn(r);let m=Jr.get(_.path);m||(m=[],Jr.set(_.path,m)),m.push(r)}}function mFe(r,c){for(const _ of r)switch(_.kind){case 260:case 228:qSt(_,c),eme(_,c);break;case 308:case 264:case 238:case 266:case 245:case 246:case 247:yFe(_,c);break;case 173:case 215:case 259:case 216:case 171:case 174:case 175:_.body&&yFe(_,c),eme(_,c);break;case 170:case 176:case 177:case 181:case 182:case 262:case 261:eme(_,c);break;case 192:WSt(_,c);break;default:R.assertNever(_,"Node should not have been registered for unused identifiers check")}}function hFe(r,c,_){const m=ra(r)||r,b=i4(r)?v._0_is_declared_but_never_used:v._0_is_declared_but_its_value_is_never_read;_(r,0,ni(m,b,c))}function jM(r){return Ye(r)&&ai(r).charCodeAt(0)===95}function qSt(r,c){for(const _ of r.members)switch(_.kind){case 171:case 169:case 174:case 175:if(_.kind===175&&_.symbol.flags&32768)break;const m=Zn(_);!m.isReferenced&&(R_(_,8)||of(_)&&as(_.name))&&!(_.flags&16777216)&&c(_,0,ni(_.name,v._0_is_declared_but_its_value_is_never_read,A(m)));break;case 173:for(const b of _.parameters)!b.symbol.isReferenced&&Ti(b,8)&&c(b,0,ni(b.name,v.Property_0_is_declared_but_its_value_is_never_read,yl(b.symbol)));break;case 178:case 237:case 172:break;default:R.fail("Unexpected class member")}}function WSt(r,c){const{typeParameter:_}=r;tme(_)&&c(r,1,ni(r,v._0_is_declared_but_its_value_is_never_read,ai(_.name)))}function eme(r,c){const _=Zn(r).declarations;if(!_||ko(_)!==r)return;const m=lv(r),b=new Set;for(const x of m){if(!tme(x))continue;const D=ai(x.name),{parent:j}=x;if(j.kind!==192&&j.typeParameters.every(tme)){if(fi(b,j)){const $=bn(j),re=xm(j)?cte(j):lte($,j.typeParameters),ae=j.typeParameters.length===1,ke=ae?v._0_is_declared_but_its_value_is_never_read:v.All_type_parameters_are_unused,je=ae?D:void 0;c(x,1,gu($,re.pos,re.end-re.pos,ke,je))}}else c(x,1,ni(x,v._0_is_declared_but_its_value_is_never_read,D))}}function tme(r){return!(Fo(r.symbol).isReferenced&262144)&&!jM(r.name)}function JM(r,c,_,m){const b=String(m(c)),x=r.get(b);x?x[1].push(_):r.set(b,[c,[_]])}function gFe(r){return Pi(Gh(r),ua)}function HSt(r){return qo(r)?tg(r.parent)?!!(r.propertyName&&jM(r.name)):jM(r.name):Af(r)||(xs(r)&&k6(r.parent.parent)||vFe(r))&&jM(r.name)}function yFe(r,c){const _=new Map,m=new Map,b=new Map;r.locals.forEach(x=>{if(!(x.flags&262144?!(x.flags&3&&!(x.isReferenced&3)):x.isReferenced||x.exportSymbol)&&x.declarations){for(const D of x.declarations)if(!HSt(D))if(vFe(D))JM(_,XSt(D),D,Wo);else if(qo(D)&&tg(D.parent)){const j=ko(D.parent.elements);(D===j||!ko(D.parent.elements).dotDotDotToken)&&JM(m,D.parent,D,Wo)}else if(xs(D))JM(b,D.parent,D,Wo);else{const j=x.valueDeclaration&&gFe(x.valueDeclaration),$=x.valueDeclaration&&ra(x.valueDeclaration);j&&$?!sp(j,j.parent)&&!kT(j)&&!jM($)&&(qo(D)&&m4(D.parent)?JM(m,D.parent,D,Wo):c(j,1,ni($,v._0_is_declared_but_its_value_is_never_read,yl(x)))):hFe(D,yl(x),c)}}}),_.forEach(([x,D])=>{const j=x.parent;if((x.name?1:0)+(x.namedBindings?x.namedBindings.kind===271?1:x.namedBindings.elements.length:0)===D.length)c(j,0,D.length===1?ni(j,v._0_is_declared_but_its_value_is_never_read,ai(Uo(D).name)):ni(j,v.All_imports_in_import_declaration_are_unused));else for(const re of D)hFe(re,ai(re.name),c)}),m.forEach(([x,D])=>{const j=gFe(x.parent)?1:0;if(x.elements.length===D.length)D.length===1&&x.parent.kind===257&&x.parent.parent.kind===258?JM(b,x.parent.parent,x.parent,Wo):c(x,j,D.length===1?ni(x,v._0_is_declared_but_its_value_is_never_read,UM(Uo(D).name)):ni(x,v.All_destructured_elements_are_unused));else for(const $ of D)c($,j,ni($,v._0_is_declared_but_its_value_is_never_read,UM($.name)))}),b.forEach(([x,D])=>{if(x.declarations.length===D.length)c(x,0,D.length===1?ni(Uo(D).name,v._0_is_declared_but_its_value_is_never_read,UM(Uo(D).name)):ni(x.parent.kind===240?x.parent:x,v.All_variables_are_unused));else for(const j of D)c(j,0,ni(j,v._0_is_declared_but_its_value_is_never_read,UM(j.name)))})}function GSt(){var r;for(const c of mk)if(!((r=Zn(c))!=null&&r.isReferenced)){const _=y6(c);R.assert(Ex(_),"Only parameter declaration should be checked here");const m=ni(c.name,v._0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation,uc(c.name),uc(c.propertyName));_.type||Eo(m,gu(bn(_),_.end,1,v.We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here,uc(c.propertyName))),Do.add(m)}}function UM(r){switch(r.kind){case 79:return ai(r);case 204:case 203:return UM(Oa(Uo(r.elements),qo).name);default:return R.assertNever(r)}}function vFe(r){return r.kind===270||r.kind===273||r.kind===271}function XSt(r){return r.kind===270?r:r.kind===271?r.parent:r.parent.parent}function UH(r){if(r.kind===238&&hy(r),fK(r)){const c=Ts;Q(r.statements,$a),Ts=c}else Q(r.statements,$a);r.locals&&$1(r)}function QSt(r){V>=2||!SK(r)||r.flags&16777216||cl(r.body)||Q(r.parameters,c=>{c.name&&!xa(c.name)&&c.name.escapedText===jt.escapedName&&zv("noEmit",c,v.Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters)})}function hN(r,c,_){if((c==null?void 0:c.escapedText)!==_||r.kind===169||r.kind===168||r.kind===171||r.kind===170||r.kind===174||r.kind===175||r.kind===299||r.flags&16777216||(rg(r)||Xu(r)||S_(r))&&pT(r))return!1;const m=Gh(r);return!(ua(m)&&cl(m.parent.body))}function YSt(r){kn(r,c=>FE(c)&4?(r.kind!==79?nt(ra(r),v.Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference):nt(r,v.Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference),!0):!1)}function ZSt(r){kn(r,c=>FE(c)&8?(r.kind!==79?nt(ra(r),v.Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference):nt(r,v.Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference),!0):!1)}function KSt(r,c){if(ve>=5&&!(ve>=100&&bn(r).impliedNodeFormat===1)||!c||!hN(r,c,"require")&&!hN(r,c,"exports")||Pl(r)&&$y(r)!==1)return;const _=xS(r);_.kind===308&&lp(_)&&zv("noEmit",c,v.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module,uc(c),uc(c))}function ext(r,c){if(!c||V>=4||!hN(r,c,"Promise")||Pl(r)&&$y(r)!==1)return;const _=xS(r);_.kind===308&&lp(_)&&_.flags&2048&&zv("noEmit",c,v.Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions,uc(c),uc(c))}function txt(r,c){V<=8&&(hN(r,c,"WeakMap")||hN(r,c,"WeakSet"))&&a2.push(r)}function rxt(r){const c=Hh(r);FE(c)&4194304&&(R.assert(of(r)&&Ye(r.name)&&typeof r.name.escapedText=="string","The target of a WeakMap/WeakSet collision check should be an identifier"),zv("noEmit",r,v.Compiler_reserves_name_0_when_emitting_private_identifier_downlevel,r.name.escapedText))}function nxt(r,c){c&&V>=2&&V<=8&&hN(r,c,"Reflect")&&Uv.push(r)}function ixt(r){let c=!1;if(If(r)){for(const _ of r.members)if(FE(_)&8388608){c=!0;break}}else if(yc(r))FE(r)&8388608&&(c=!0);else{const _=Hh(r);_&&FE(_)&8388608&&(c=!0)}c&&(R.assert(of(r)&&Ye(r.name),"The target of a Reflect collision check should be an identifier"),zv("noEmit",r,v.Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers,uc(r.name),"Reflect"))}function J3(r,c){c&&(KSt(r,c),ext(r,c),txt(r,c),nxt(r,c),Ri(r)?(U3(c,v.Class_name_cannot_be_0),r.flags&16777216||Ixt(c)):Gb(r)&&U3(c,v.Enum_name_cannot_be_0))}function sxt(r){if(ym(r)&3||Ex(r)||r.kind===257&&!r.initializer)return;const c=Zn(r);if(c.flags&1){if(!Ye(r.name))return R.fail();const _=Xc(r,r.name.escapedText,3,void 0,void 0,!1);if(_&&_!==c&&_.flags&2&&bH(_)&3){const m=Jb(_.valueDeclaration,258),b=m.parent.kind===240&&m.parent.parent?m.parent.parent:void 0;if(!(b&&(b.kind===238&&Sa(b.parent)||b.kind===265||b.kind===264||b.kind===308))){const D=A(_);nt(r,v.Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1,D,D)}}}}function gN(r){return r===Pt?Fe:r===tn?Vt:r}function zM(r){var c;if(BM(r),qo(r)||$a(r.type),!r.name)return;if(r.name.kind===164&&(E0(r.name),hx(r)&&r.initializer&&Ll(r.initializer)),qo(r)){if(r.propertyName&&Ye(r.name)&&Ex(r)&&cl(Pp(r).body)){mk.push(r);return}tg(r.parent)&&r.dotDotDotToken&&V<5&&Kl(r,4),r.propertyName&&r.propertyName.kind===164&&E0(r.propertyName);const b=r.parent.parent,x=r.dotDotDotToken?64:0,D=uE(b,x),j=r.propertyName||r.name;if(D&&!xa(j)){const $=S0(j);if(ly($)){const re=yh($),ae=Ra(D,re);ae&&(CM(ae,void 0,!1),mde(r,!!b.initializer&&b.initializer.kind===106,!1,D,ae))}}}if(xa(r.name)&&(r.name.kind===204&&V<2&&se.downlevelIteration&&Kl(r,512),Q(r.name.elements,$a)),ua(r)&&r.initializer&&cl(Pp(r).body)){nt(r,v.A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation);return}if(xa(r.name)){const b=hx(r)&&r.initializer&&r.parent.parent.kind!==246,x=!Oe(r.name.elements,HR(yu));if(b||x){const D=il(r);if(b){const j=Ll(r.initializer);K&&x?VLe(j,r):z1(j,il(r),r,r.initializer)}x&&(m4(r.name)?q1(65,D,Ze,r):K&&VLe(D,r))}return}const _=Zn(r);if(_.flags&2097152&&(bT(r)||b2e(r))){WH(r);return}const m=gN(En(_));if(r===_.valueDeclaration){const b=hx(r)&&j7(r);b&&!(Mn(r)&&cc(b)&&(b.properties.length===0||zb(r.name))&&((c=_.exports)!=null&&c.size))&&r.parent.parent.kind!==246&&z1(Ll(b),m,r,b,void 0),_.declarations&&_.declarations.length>1&&Oe(_.declarations,x=>x!==r&&O6(x)&&!TFe(x,r))&&nt(r.name,v.All_declarations_of_0_must_have_identical_modifiers,uc(r.name))}else{const b=gN(il(r));!Lo(m)&&!Lo(b)&&!fy(m,b)&&!(_.flags&67108864)&&bFe(_.valueDeclaration,m,r,b),hx(r)&&r.initializer&&z1(Ll(r.initializer),b,r,r.initializer,void 0),_.valueDeclaration&&!TFe(r,_.valueDeclaration)&&nt(r.name,v.All_declarations_of_0_must_have_identical_modifiers,uc(r.name))}r.kind!==169&&r.kind!==168&&(fN(r),(r.kind===257||r.kind===205)&&sxt(r),J3(r,r.name))}function bFe(r,c,_,m){const b=ra(_),x=_.kind===169||_.kind===168?v.Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:v.Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2,D=uc(b),j=nt(b,x,D,Me(c),Me(m));r&&Eo(j,ni(r,v._0_was_also_declared_here,D))}function TFe(r,c){if(r.kind===166&&c.kind===257||r.kind===257&&c.kind===166)return!0;if(BC(r)!==BC(c))return!1;const _=888;return $C(r,_)===$C(c,_)}function rme(r){var c,_;(c=Hi)==null||c.push(Hi.Phase.Check,"checkVariableDeclaration",{kind:r.kind,pos:r.pos,end:r.end,path:r.tracingPath}),jCt(r),zM(r),(_=Hi)==null||_.pop()}function axt(r){return FCt(r),zM(r)}function oxt(r){!Sg(r)&&!Cme(r.declarationList)&&JCt(r),Q(r.declarationList.declarations,$a)}function cxt(r){hy(r),zs(r.expression)}function lxt(r){hy(r);const c=LE(r.expression);nme(r.expression,c,r.thenStatement),$a(r.thenStatement),r.thenStatement.kind===239&&nt(r.thenStatement,v.The_body_of_an_if_statement_cannot_be_the_empty_statement),$a(r.elseStatement)}function nme(r,c,_){if(!K)return;m(r,_);function m(x,D){for(x=xc(x),b(x,D);$n(x)&&(x.operatorToken.kind===56||x.operatorToken.kind===60);)x=xc(x.left),b(x,D)}function b(x,D){const j=m5(x)?xc(x.right):x;if(Fg(j))return;if(m5(j)){m(j,D);return}const $=j===x?c:LE(j),re=oi(j)&&qMe(j.expression);if(!(bf($)&4194304)||re)return;const ae=ya($,0),ke=!!_N($);if(ae.length===0&&!ke)return;const je=Ye(j)?j:oi(j)?j.name:void 0,Re=je&&Od(je);if(!Re&&!ke)return;Re&&$n(x.parent)&&fxt(x.parent,Re)||Re&&D&&uxt(x,D,je,Re)||(ke?Vv(j,!0,v.This_condition_will_always_return_true_since_this_0_is_always_defined,Qn($)):nt(j,v.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead))}}function uxt(r,c,_,m){return!!ca(c,function b(x){if(Ye(x)){const D=Od(x);if(D&&D===m){if(Ye(r)||Ye(_)&&$n(_.parent))return!0;let j=_.parent,$=x.parent;for(;j&&$;){if(Ye(j)&&Ye($)||j.kind===108&&$.kind===108)return Od(j)===Od($);if(oi(j)&&oi($)){if(Od(j.name)!==Od($.name))return!1;$=$.expression,j=j.expression}else if(Da(j)&&Da($))$=$.expression,j=j.expression;else return!1}}}return ca(x,b)})}function fxt(r,c){for(;$n(r)&&r.operatorToken.kind===55;){if(ca(r.right,function m(b){if(Ye(b)){const x=Od(b);if(x&&x===c)return!0}return ca(b,m)}))return!0;r=r.parent}return!1}function _xt(r){hy(r),$a(r.statement),LE(r.expression)}function pxt(r){hy(r),LE(r.expression),$a(r.statement)}function SFe(r,c){return r.flags&16384&&nt(c,v.An_expression_of_type_void_cannot_be_tested_for_truthiness),r}function LE(r,c){return SFe(zs(r,c),r)}function dxt(r){hy(r)||r.initializer&&r.initializer.kind===258&&Cme(r.initializer),r.initializer&&(r.initializer.kind===258?Q(r.initializer.declarations,rme):zs(r.initializer)),r.condition&&LE(r.condition),r.incrementor&&zs(r.incrementor),$a(r.statement),r.locals&&$1(r)}function mxt(r){vRe(r);const c=oj(r);if(r.awaitModifier?c&&fl(c)?Ur(r.awaitModifier,v.For_await_loops_cannot_be_used_inside_a_class_static_block):(Au(c)&6)===2&&V<99&&Kl(r,16384):se.downlevelIteration&&V<2&&Kl(r,256),r.initializer.kind===258)xFe(r);else{const _=r.initializer,m=VM(r);if(_.kind===206||_.kind===207)zS(_,m||Ne);else{const b=zs(_);cN(_,v.The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access,v.The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access),m&&z1(m,b,_,r.expression)}}$a(r.statement),r.locals&&$1(r)}function hxt(r){vRe(r);const c=hde(zs(r.expression));if(r.initializer.kind===258){const _=r.initializer.declarations[0];_&&xa(_.name)&&nt(_.name,v.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern),xFe(r)}else{const _=r.initializer,m=zs(_);_.kind===206||_.kind===207?nt(_,v.The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern):io(n0t(c),m)?cN(_,v.The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access,v.The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access):nt(_,v.The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any)}(c===At||!Su(c,126091264))&&nt(r.expression,v.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,Me(c)),$a(r.statement),r.locals&&$1(r)}function xFe(r){const c=r.initializer;if(c.declarations.length>=1){const _=c.declarations[0];rme(_)}}function VM(r){const c=r.awaitModifier?15:13;return q1(c,I3(r.expression),Ze,r.expression)}function q1(r,c,_,m){return rc(c)?c:ime(r,c,_,m,!0)||Fe}function ime(r,c,_,m,b){const x=(r&2)!==0;if(c===At){lme(m,c,x);return}const D=V>=2,j=!D&&se.downlevelIteration,$=se.noUncheckedIndexedAccess&&!!(r&128);if(D||j||x){const Ct=VH(c,r,D?m:void 0);if(b&&Ct){const Qt=r&8?v.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:r&32?v.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:r&64?v.Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:r&16?v.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;Qt&&Kf(_,Ct.nextType,m,Qt)}if(Ct||D)return $?Z8(Ct&&Ct.yieldType):Ct&&Ct.yieldType}let re=c,ae=!1,ke=!1;if(r&4){if(re.flags&1048576){const Ct=c.types,Qt=hr(Ct,sn=>!(sn.flags&402653316));Qt!==Ct&&(re=bi(Qt,2))}else re.flags&402653316&&(re=At);if(ke=re!==c,ke&&(V<1&&m&&(nt(m,v.Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher),ae=!0),re.flags&131072))return $?Z8(ye):ye}if(!db(re)){if(m&&!ae){const Ct=!!(r&4)&&!ke,[Qt,sn]=Re(Ct,j);Vv(m,sn&&!!_N(re),Qt,Me(re))}return ke?$?Z8(ye):ye:void 0}const je=b0(re,wt);if(ke&&je)return je.flags&402653316&&!se.noUncheckedIndexedAccess?ye:bi($?[je,ye,Ze]:[je,ye],2);return r&128?Z8(je):je;function Re(Ct,Qt){var sn;return Qt?Ct?[v.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:[v.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator,!0]:sme(r,0,c,void 0)?[v.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!1]:gxt((sn=c.symbol)==null?void 0:sn.escapedName)?[v.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher,!0]:Ct?[v.Type_0_is_not_an_array_type_or_a_string_type,!0]:[v.Type_0_is_not_an_array_type,!0]}}function gxt(r){switch(r){case"Float32Array":case"Float64Array":case"Int16Array":case"Int32Array":case"Int8Array":case"NodeList":case"Uint16Array":case"Uint32Array":case"Uint8Array":case"Uint8ClampedArray":return!0}return!1}function sme(r,c,_,m){if(rc(_))return;const b=VH(_,r,m);return b&&b[VCe(c)]}function P0(r=At,c=At,_=xe){if(r.flags&67359327&&c.flags&180227&&_.flags&180227){const m=ud([r,c,_]);let b=be.get(m);return b||(b={yieldType:r,returnType:c,nextType:_},be.set(m,b)),b}return{yieldType:r,returnType:c,nextType:_}}function kFe(r){let c,_,m;for(const b of r)if(!(b===void 0||b===Ut)){if(b===tr)return tr;c=$r(c,b.yieldType),_=$r(_,b.returnType),m=$r(m,b.nextType)}return c||_||m?P0(c&&bi(c),_&&bi(_),m&&no(m)):Ut}function zH(r,c){return r[c]}function Tg(r,c,_){return r[c]=_}function VH(r,c,_){var m,b;if(rc(r))return tr;if(!(r.flags&1048576)){const re=_?{errors:void 0}:void 0,ae=CFe(r,c,_,re);if(ae===Ut){if(_){const ke=lme(_,r,!!(c&2));re!=null&&re.errors&&Eo(ke,...re.errors)}return}else if((m=re==null?void 0:re.errors)!=null&&m.length)for(const ke of re.errors)Do.add(ke);return ae}const x=c&2?"iterationTypesOfAsyncIterable":"iterationTypesOfIterable",D=zH(r,x);if(D)return D===Ut?void 0:D;let j;for(const re of r.types){const ae=_?{errors:void 0}:void 0,ke=CFe(re,c,_,ae);if(ke===Ut){if(_){const je=lme(_,r,!!(c&2));ae!=null&&ae.errors&&Eo(je,...ae.errors)}Tg(r,x,Ut);return}else if((b=ae==null?void 0:ae.errors)!=null&&b.length)for(const je of ae.errors)Do.add(je);j=$r(j,ke)}const $=j?kFe(j):Ut;return Tg(r,x,$),$===Ut?void 0:$}function ame(r,c){if(r===Ut)return Ut;if(r===tr)return tr;const{yieldType:_,returnType:m,nextType:b}=r;return c&&U_e(!0),P0(VS(_,c)||Fe,VS(m,c)||Fe,b)}function CFe(r,c,_,m){if(rc(r))return tr;let b=!1;if(c&2){const x=ome(r,Ft)||EFe(r,Ft);if(x)if(x===Ut&&_)b=!0;else return c&8?ame(x,_):x}if(c&1){let x=ome(r,Or)||EFe(r,Or);if(x)if(x===Ut&&_)b=!0;else if(c&2){if(x!==Ut)return x=ame(x,_),b?x:Tg(r,"iterationTypesOfAsyncIterable",x)}else return x}if(c&2){const x=cme(r,Ft,_,m,b);if(x!==Ut)return x}if(c&1){let x=cme(r,Or,_,m,b);if(x!==Ut)return c&2?(x=ame(x,_),b?x:Tg(r,"iterationTypesOfAsyncIterable",x)):x}return Ut}function ome(r,c){return zH(r,c.iterableCacheKey)}function wFe(r,c){const _=ome(r,c)||cme(r,c,void 0,void 0,!1);return _===Ut?ht:_}function EFe(r,c){let _;if(ab(r,_=c.getGlobalIterableType(!1))||ab(r,_=c.getGlobalIterableIteratorType(!1))){const[m]=Go(r),{returnType:b,nextType:x}=wFe(_,c);return Tg(r,c.iterableCacheKey,P0(c.resolveIterationType(m,void 0)||m,c.resolveIterationType(b,void 0)||b,x))}if(ab(r,c.getGlobalGeneratorType(!1))){const[m,b,x]=Go(r);return Tg(r,c.iterableCacheKey,P0(c.resolveIterationType(m,void 0)||m,c.resolveIterationType(b,void 0)||b,x))}}function yxt(r){const c=mOe(!1),_=c&&Yl(En(c),Vc(r));return _&&ly(_)?yh(_):`__@${r}`}function cme(r,c,_,m,b){var x;const D=Ra(r,yxt(c.iteratorSymbolName)),j=D&&!(D.flags&16777216)?En(D):void 0;if(rc(j))return b?tr:Tg(r,c.iterableCacheKey,tr);const $=j?ya(j,0):void 0;if(!Oe($))return b?Ut:Tg(r,c.iterableCacheKey,Ut);const re=no(qt($,Xo)),ae=(x=AFe(re,c,_,m,b))!=null?x:Ut;return b?ae:Tg(r,c.iterableCacheKey,ae)}function lme(r,c,_){const m=_?v.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:v.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator,b=!!_N(c)||!_&&rO(r.parent)&&r.parent.expression===r&&PW(!1)!==Ka&&io(c,PW(!1));return Vv(r,b,m,Me(c))}function vxt(r,c,_,m){return AFe(r,c,_,m,!1)}function AFe(r,c,_,m,b){if(rc(r))return tr;let x=PFe(r,c)||bxt(r,c);return x===Ut&&_&&(x=void 0,b=!0),x??(x=NFe(r,c,_,m,b)),x===Ut?void 0:x}function PFe(r,c){return zH(r,c.iteratorCacheKey)}function bxt(r,c){const _=c.getGlobalIterableIteratorType(!1);if(ab(r,_)){const[m]=Go(r),b=PFe(_,c)||NFe(_,c,void 0,void 0,!1),{returnType:x,nextType:D}=b===Ut?ht:b;return Tg(r,c.iteratorCacheKey,P0(m,x,D))}if(ab(r,c.getGlobalIteratorType(!1))||ab(r,c.getGlobalGeneratorType(!1))){const[m,b,x]=Go(r);return Tg(r,c.iteratorCacheKey,P0(m,b,x))}}function DFe(r,c){const _=Yl(r,"done")||dt;return io(c===0?dt:$e,_)}function Txt(r){return DFe(r,0)}function Sxt(r){return DFe(r,1)}function xxt(r){if(rc(r))return tr;const c=zH(r,"iterationTypesOfIteratorResult");if(c)return c;if(ab(r,hyt(!1))){const D=Go(r)[0];return Tg(r,"iterationTypesOfIteratorResult",P0(D,void 0,void 0))}if(ab(r,gyt(!1))){const D=Go(r)[0];return Tg(r,"iterationTypesOfIteratorResult",P0(void 0,D,void 0))}const _=Zl(r,Txt),m=_!==At?Yl(_,"value"):void 0,b=Zl(r,Sxt),x=b!==At?Yl(b,"value"):void 0;return!m&&!x?Tg(r,"iterationTypesOfIteratorResult",Ut):Tg(r,"iterationTypesOfIteratorResult",P0(m,x||$t,void 0))}function ume(r,c,_,m,b){var x,D,j,$,re,ae;const ke=Ra(r,_);if(!ke&&_!=="next")return;const je=ke&&!(_==="next"&&ke.flags&16777216)?_==="next"?En(ke):_d(En(ke),2097152):void 0;if(rc(je))return _==="next"?tr:oe;const Re=je?ya(je,0):pt;if(Re.length===0){if(m){const Ar=_==="next"?c.mustHaveANextMethodDiagnostic:c.mustBeAMethodDiagnostic;b?((x=b.errors)!=null||(b.errors=[]),b.errors.push(ni(m,Ar,_))):nt(m,Ar,_)}return _==="next"?Ut:void 0}if(je!=null&&je.symbol&&Re.length===1){const Ar=c.getGlobalGeneratorType(!1),Kr=c.getGlobalIteratorType(!1),dn=((j=(D=Ar.symbol)==null?void 0:D.members)==null?void 0:j.get(_))===je.symbol,xi=!dn&&((re=($=Kr.symbol)==null?void 0:$.members)==null?void 0:re.get(_))===je.symbol;if(dn||xi){const Ei=dn?Ar:Kr,{mapper:Js}=je;return P0(_b(Ei.typeParameters[0],Js),_b(Ei.typeParameters[1],Js),_==="next"?_b(Ei.typeParameters[2],Js):void 0)}}let Ct,Qt;for(const Ar of Re)_!=="throw"&&Oe(Ar.parameters)&&(Ct=$r(Ct,pm(Ar,0))),Qt=$r(Qt,Xo(Ar));let sn,Zr;if(_!=="throw"){const Ar=Ct?bi(Ct):xe;if(_==="next")Zr=Ar;else if(_==="return"){const Kr=c.resolveIterationType(Ar,m)||Fe;sn=$r(sn,Kr)}}let cn;const Ir=Qt?no(Qt):At,Wr=c.resolveIterationType(Ir,m)||Fe,Un=xxt(Wr);return Un===Ut?(m&&(b?((ae=b.errors)!=null||(b.errors=[]),b.errors.push(ni(m,c.mustHaveAValueDiagnostic,_))):nt(m,c.mustHaveAValueDiagnostic,_)),cn=Fe,sn=$r(sn,Fe)):(cn=Un.yieldType,sn=$r(sn,Un.returnType)),P0(cn,bi(sn),Zr)}function NFe(r,c,_,m,b){const x=kFe([ume(r,c,"next",_,m),ume(r,c,"return",_,m),ume(r,c,"throw",_,m)]);return b?x:Tg(r,c.iteratorCacheKey,x)}function J2(r,c,_){if(rc(c))return;const m=IFe(c,_);return m&&m[VCe(r)]}function IFe(r,c){if(rc(r))return tr;const _=c?2:1,m=c?Ft:Or;return VH(r,_,void 0)||vxt(r,m,void 0,void 0)}function kxt(r){hy(r)||MCt(r)}function $H(r,c){const _=!!(c&1),m=!!(c&2);if(_){const b=J2(1,r,m);return b?m?A0(B3(b)):b:Ne}return m?A0(r)||Ne:r}function OFe(r,c){const _=$H(c,Au(r));return!!_&&Qc(_,16387)}function Cxt(r){var c;if(hy(r))return;const _=oj(r);if(_&&fl(_)){xu(r,v.A_return_statement_cannot_be_used_inside_a_class_static_block);return}if(!_){xu(r,v.A_return_statement_can_only_be_used_within_a_function_body);return}const m=Bm(_),b=Xo(m),x=Au(_);if(K||r.expression||b.flags&131072){const D=r.expression?Ll(r.expression):Ze;if(_.kind===175)r.expression&&nt(r,v.Setters_cannot_return_a_value);else if(_.kind===173)r.expression&&!z1(D,b,r,r.expression)&&nt(r,v.Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class);else if(yE(_)){const j=(c=$H(b,x))!=null?c:b,$=x&2?dN(D,!1,r,v.The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member):D;j&&z1($,j,r,r.expression)}}else _.kind!==173&&se.noImplicitReturns&&!OFe(_,b)&&nt(r,v.Not_all_code_paths_return_a_value)}function wxt(r){hy(r)||r.flags&32768&&xu(r,v.with_statements_are_not_allowed_in_an_async_function_block),zs(r.expression);const c=bn(r);if(!U2(c)){const _=Y0(c,r.pos).start,m=r.statement.pos;z2(c,_,m-_,v.The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any)}}function Ext(r){hy(r);let c,_=!1;const m=zs(r.expression);Q(r.caseBlock.clauses,b=>{b.kind===293&&!_&&(c===void 0?c=b:(Ur(b,v.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement),_=!0)),b.kind===292&&s(x(b)),Q(b.statements,$a),se.noFallthroughCasesInSwitch&&b.fallthroughFlowNode&&hM(b.fallthroughFlowNode)&&nt(b,v.Fallthrough_case_in_switch);function x(D){return()=>{const j=zs(D.expression);$de(m,j)||_9e(j,m,D.expression,void 0)}}}),r.caseBlock.locals&&$1(r.caseBlock)}function Axt(r){hy(r)||kn(r.parent,c=>Sa(c)?"quit":c.kind===253&&c.label.escapedText===r.label.escapedText?(Ur(r.label,v.Duplicate_label_0,lu(r.label)),!0):!1),$a(r.statement)}function Pxt(r){hy(r)||Ye(r.expression)&&!r.expression.escapedText&&YCt(r,v.Line_break_not_permitted_here),r.expression&&zs(r.expression)}function Dxt(r){hy(r),UH(r.tryBlock);const c=r.catchClause;if(c){if(c.variableDeclaration){const _=c.variableDeclaration;zM(_);const m=Ju(_);if(m){const b=Bi(m);b&&!(b.flags&3)&&xu(m,v.Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified)}else if(_.initializer)xu(_.initializer,v.Catch_clause_variable_cannot_have_an_initializer);else{const b=c.block.locals;b&&iP(c.locals,x=>{const D=b.get(x);D!=null&&D.valueDeclaration&&D.flags&2&&Ur(D.valueDeclaration,v.Cannot_redeclare_identifier_0_in_catch_clause,x)})}}UH(c.block)}r.finallyBlock&&UH(r.finallyBlock)}function qH(r,c,_){const m=gf(r);if(m.length===0)return;for(const x of F1(r))_&&x.flags&4194304||LFe(r,x,b3(x,8576,!0),sb(x));const b=c.valueDeclaration;if(b&&Ri(b)){for(const x of b.members)if(!ba(x)&&!mE(x)){const D=Zn(x);LFe(r,D,Tf(x.name.expression),sb(D))}}if(m.length>1)for(const x of m)Nxt(r,x)}function LFe(r,c,_,m){const b=c.valueDeclaration,x=ra(b);if(x&&as(x))return;const D=C_e(r,_),j=Ci(r)&2?ol(r.symbol,261):void 0,$=b&&b.kind===223||x&&x.kind===164?b:void 0,re=u_(c)===r.symbol?b:void 0;for(const ae of D){const ke=ae.declaration&&u_(Zn(ae.declaration))===r.symbol?ae.declaration:void 0,je=re||ke||(j&&!Oe(_o(r),Re=>!!w2(Re,c.escapedName)&&!!b0(Re,ae.keyType))?j:void 0);if(je&&!io(m,ae.type)){const Re=rS(je,v.Property_0_of_type_1_is_not_assignable_to_2_index_type_3,A(c),Me(m),Me(ae.keyType),Me(ae.type));$&&je!==$&&Eo(Re,ni($,v._0_is_declared_here,A(c))),Do.add(Re)}}}function Nxt(r,c){const _=c.declaration,m=C_e(r,c.keyType),b=Ci(r)&2?ol(r.symbol,261):void 0,x=_&&u_(Zn(_))===r.symbol?_:void 0;for(const D of m){if(D===c)continue;const j=D.declaration&&u_(Zn(D.declaration))===r.symbol?D.declaration:void 0,$=x||j||(b&&!Oe(_o(r),re=>!!vg(re,c.keyType)&&!!b0(re,D.keyType))?b:void 0);$&&!io(c.type,D.type)&&nt($,v._0_index_type_1_is_not_assignable_to_2_index_type_3,Me(c.keyType),Me(c.type),Me(D.keyType),Me(D.type))}}function U3(r,c){switch(r.escapedText){case"any":case"unknown":case"never":case"number":case"bigint":case"boolean":case"string":case"symbol":case"void":case"object":nt(r,c,r.escapedText)}}function Ixt(r){V>=1&&r.escapedText==="Object"&&(ve<5||bn(r).impliedNodeFormat===1)&&nt(r,v.Class_name_cannot_be_Object_when_targeting_ES5_with_module_0,_B[ve])}function Oxt(r){const c=hr(fT(r),ch);if(!H(c))return;const _=Mn(r),m=new Set,b=new Set;if(Q(r.parameters,({name:D},j)=>{Ye(D)&&m.add(D.escapedText),xa(D)&&b.add(j)}),A_e(r)){const D=c.length-1,j=c[D];_&&j&&Ye(j.name)&&j.typeExpression&&j.typeExpression.type&&!m.has(j.name.escapedText)&&!b.has(D)&&!Wp(Bi(j.typeExpression.type))&&nt(j.name,v.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type,ai(j.name))}else Q(c,({name:D,isNameFirst:j},$)=>{b.has($)||Ye(D)&&m.has(D.escapedText)||(T_(D)?_&&nt(D,v.Qualified_name_0_is_not_allowed_without_a_leading_param_object_1,Ap(D),Ap(D.left)):j||fh(_,D,v.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name,ai(D)))})}function $M(r){let c=!1;if(r)for(let m=0;m<r.length;m++){const b=r[m];YMe(b),s(_(b,m))}function _(m,b){return()=>{m.default?(c=!0,Lxt(m.default,r,b)):c&&nt(m,v.Required_type_parameters_may_not_follow_optional_type_parameters);for(let x=0;x<b;x++)r[x].symbol===m.symbol&&nt(m.name,v.Duplicate_identifier_0,uc(m.name))}}}function Lxt(r,c,_){m(r);function m(b){if(b.kind===180){const x=R_e(b);if(x.flags&262144)for(let D=_;D<c.length;D++)x.symbol===Zn(c[D])&&nt(b,v.Type_parameter_defaults_can_only_reference_previously_declared_type_parameters)}ca(b,m)}}function MFe(r){if(r.declarations&&r.declarations.length===1)return;const c=ys(r);if(!c.typeParametersChecked){c.typeParametersChecked=!0;const _=zxt(r);if(!_||_.length<=1)return;const m=Tc(r);if(!FFe(_,m.localTypeParameters,lv)){const b=A(r);for(const x of _)nt(x.name,v.All_declarations_of_0_must_have_identical_type_parameters,b)}}}function FFe(r,c,_){const m=H(c),b=bh(c);for(const x of r){const D=_(x),j=D.length;if(j<b||j>m)return!1;for(let $=0;$<j;$++){const re=D[$],ae=c[$];if(re.name.escapedText!==ae.symbol.escapedName)return!1;const ke=v6(re),je=ke&&Bi(ke),Re=hf(ae);if(je&&Re&&!fy(je,Re))return!1;const Ct=re.default&&Bi(re.default),Qt=AS(ae);if(Ct&&Qt&&!fy(Ct,Qt))return!1}}return!0}function RFe(r){var c;const _=!fe&&V<99&&vT(!1,r),m=V<=9,b=!Ce||V<9;if(_||m)for(const x of r.members){if(_&&YK(!1,x,r))return(c=Ru(ov(r)))!=null?c:r;if(m){if(fl(x))return x;if(ba(x)&&(Wf(x)||b&&QO(x)))return x}}}function Mxt(r){var c;if(r.name)return;const _=dxe(r);if(!pee(_))return;const m=!fe&&V<99;let b;m&&vT(!1,r)?b=(c=Ru(ov(r)))!=null?c:r:b=RFe(r),b&&(Kl(b,8388608),(Iu(_)||Pa(_)||qo(_))&&ac(_.name)&&Kl(b,16777216))}function Fxt(r){return BFe(r),V3(r),Mxt(r),En(Zn(r))}function Rxt(r){Q(r.members,$a),$1(r)}function Bxt(r){const c=He(r.modifiers,Df);fe&&c&&Oe(r.members,_=>tu(_)&&Wf(_))&&Ur(c,v.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator),!r.name&&!Ti(r,1024)&&xu(r,v.A_class_declaration_without_the_default_modifier_must_have_a_name),BFe(r),Q(r.members,$a),$1(r)}function BFe(r){bCt(r),BM(r),J3(r,r.name),$M(lv(r)),fN(r);const c=Zn(r),_=Tc(c),m=Vp(_),b=En(c);MFe(c),BH(c),eSt(r),!!(r.flags&16777216)||tSt(r);const D=eh(r);if(D){Q(D.typeArguments,$a),V<2&&Kl(D.parent,1);const re=TT(r);re&&re!==D&&zs(re.expression);const ae=_o(_);ae.length&&s(()=>{const ke=ae[0],je=Ai(_),Re=Jf(je);if(Jxt(Re,D),$a(D.expression),Oe(D.typeArguments)){Q(D.typeArguments,$a);for(const Qt of yi(Re,D.typeArguments,D))if(!iFe(D,Qt.typeParameters))break}const Ct=Vp(ke,_.thisType);if(Kf(m,Ct,void 0)?Kf(b,s9e(Re),r.name||r,v.Class_static_side_0_incorrectly_extends_base_class_static_side_1):UFe(r,m,Ct,v.Class_0_incorrectly_extends_base_class_1),je.flags&8650752&&(BL(b)?ya(je,1).some(sn=>sn.flags&4)&&!Ti(r,256)&&nt(r.name||r,v.A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract):nt(r.name||r,v.A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any)),!(Re.symbol&&Re.symbol.flags&32)&&!(je.flags&8650752)){const Qt=li(Re,D.typeArguments,D);Q(Qt,sn=>!Vm(sn.declaration)&&!fy(Xo(sn),ke))&&nt(D.expression,v.Base_constructors_must_all_have_the_same_return_type)}Vxt(_,ke)})}jxt(r,_,m,b);const j=$6(r);if(j)for(const re of j)(!El(re.expression)||cf(re.expression))&&nt(re.expression,v.A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments),Yde(re),s($(re));s(()=>{qH(_,c),qH(b,c,!0),Gde(r),Wxt(r)});function $(re){return()=>{const ae=fm(Bi(re));if(!Lo(ae))if(gg(ae)){const ke=ae.symbol&&ae.symbol.flags&32?v.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:v.Class_0_incorrectly_implements_interface_1,je=Vp(ae,_.thisType);Kf(m,je,void 0)||UFe(r,m,je,ke)}else nt(re,v.A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members)}}}function jxt(r,c,_,m){const x=eh(r)&&_o(c),D=x!=null&&x.length?Vp(Uo(x),c.thisType):void 0,j=Ai(c);for(const $ of r.members)Nee($)||(Al($)&&Q($.parameters,re=>{sp(re,$)&&jFe(r,m,j,D,c,_,re,!0)}),jFe(r,m,j,D,c,_,$,!1))}function jFe(r,c,_,m,b,x,D,j,$=!0){const re=D.name&&Od(D.name)||Od(D);return re?JFe(r,c,_,m,b,x,Dee(D),CT(D),ba(D),j,yl(re),$?D:void 0):0}function JFe(r,c,_,m,b,x,D,j,$,re,ae,ke){const je=Mn(r),Re=!!(r.flags&16777216);if(m&&(D||se.noImplicitOverride)){const Ct=Vc(ae),Qt=$?c:x,sn=$?_:m,Zr=Ra(Qt,Ct),cn=Ra(sn,Ct),Ir=Me(m);if(Zr&&!cn&&D){if(ke){const Wr=ZLe(ae,sn);Wr?nt(ke,je?v.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:v.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1,Ir,A(Wr)):nt(ke,je?v.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:v.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0,Ir)}return 2}else if(Zr&&(cn!=null&&cn.declarations)&&se.noImplicitOverride&&!Re){const Wr=Oe(cn.declarations,CT);if(D)return 0;if(Wr){if(j&&Wr)return ke&&nt(ke,v.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0,Ir),1}else{if(ke){const Un=re?je?v.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:v.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:je?v.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:v.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0;nt(ke,Un,Ir)}return 1}}}else if(D){if(ke){const Ct=Me(b);nt(ke,je?v.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:v.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class,Ct)}return 2}return 0}function UFe(r,c,_,m){let b=!1;for(const x of r.members){if(ba(x))continue;const D=x.name&&Od(x.name)||Od(x);if(D){const j=Ra(c,D.escapedName),$=Ra(_,D.escapedName);if(j&&$){const re=()=>sa(void 0,v.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2,A(D),Me(c),Me(_));Kf(En(j),En($),x.name||x,void 0,re)||(b=!0)}}}b||Kf(c,_,r.name||r,m)}function Jxt(r,c){const _=ya(r,1);if(_.length){const m=_[0].declaration;if(m&&R_(m,8)){const b=Jy(r.symbol);mme(c,b)||nt(c,v.Cannot_extend_a_class_0_Class_constructor_is_marked_as_private,ey(r.symbol))}}}function Uxt(r,c,_){if(!c.name)return 0;const m=Zn(r),b=Tc(m),x=Vp(b),D=En(m),$=eh(r)&&_o(b),re=$!=null&&$.length?Vp(Uo($),b.thisType):void 0,ae=Ai(b),ke=c.parent?Dee(c):Ti(c,16384);return JFe(r,D,ae,re,b,x,ke,CT(c),ba(c),!1,yl(_))}function ME(r){return ul(r)&1?r.links.target:r}function zxt(r){return hr(r.declarations,c=>c.kind===260||c.kind===261)}function Vxt(r,c){var _,m,b,x;const D=Ho(c);e:for(const j of D){const $=ME(j);if($.flags&4194304)continue;const re=w2(r,$.escapedName);if(!re)continue;const ae=ME(re),ke=td($);if(R.assert(!!ae,"derived should point to something, even if it is the base class' declaration."),ae===$){const je=Jy(r.symbol);if(ke&256&&(!je||!Ti(je,256))){for(const Re of _o(r)){if(Re===c)continue;const Ct=w2(Re,$.escapedName),Qt=Ct&&ME(Ct);if(Qt&&Qt!==$)continue e}je.kind===228?nt(je,v.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1,A(j),Me(c)):nt(je,v.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2,Me(r),A(j),Me(c))}}else{const je=td(ae);if(ke&8||je&8)continue;let Re;const Ct=$.flags&98308,Qt=ae.flags&98308;if(Ct&&Qt){if((ul($)&6?(_=$.declarations)!=null&&_.some(cn=>zFe(cn,ke)):(m=$.declarations)!=null&&m.every(cn=>zFe(cn,ke)))||ul($)&262144||ae.valueDeclaration&&$n(ae.valueDeclaration))continue;const sn=Ct!==4&&Qt===4;if(sn||Ct===4&&Qt!==4){const cn=sn?v._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:v._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor;nt(ra(ae.valueDeclaration)||ae.valueDeclaration,cn,A($),Me(c),Me(r))}else if(Ce){const cn=(b=ae.declarations)==null?void 0:b.find(Ir=>Ir.kind===169&&!Ir.initializer);if(cn&&!(ae.flags&33554432)&&!(ke&256)&&!(je&256)&&!((x=ae.declarations)!=null&&x.some(Ir=>!!(Ir.flags&16777216)))){const Ir=Zv(Jy(r.symbol)),Wr=cn.name;if(cn.exclamationToken||!Ir||!Ye(Wr)||!K||!$Fe(Wr,r,Ir)){const Un=v.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;nt(ra(ae.valueDeclaration)||ae.valueDeclaration,Un,A($),Me(c))}}}continue}else if(dde($)){if(dde(ae)||ae.flags&4)continue;R.assert(!!(ae.flags&98304)),Re=v.Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor}else $.flags&98304?Re=v.Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:Re=v.Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function;nt(ra(ae.valueDeclaration)||ae.valueDeclaration,Re,Me(c),A($),Me(r))}}}function zFe(r,c){return c&256&&(!Pa(r)||!r.initializer)||Yf(r.parent)}function $xt(r,c,_){if(!H(c))return _;const m=new Map;Q(_,b=>{m.set(b.escapedName,b)});for(const b of c){const x=Ho(Vp(b,r.thisType));for(const D of x){const j=m.get(D.escapedName);j&&D.parent===j.parent&&m.delete(D.escapedName)}}return ao(m.values())}function qxt(r,c){const _=_o(r);if(_.length<2)return!0;const m=new Map;Q(a_e(r).declaredProperties,x=>{m.set(x.escapedName,{prop:x,containingType:r})});let b=!0;for(const x of _){const D=Ho(Vp(x,r.thisType));for(const j of D){const $=m.get(j.escapedName);if(!$)m.set(j.escapedName,{prop:j,containingType:x});else if($.containingType!==r&&!u1t($.prop,j)){b=!1;const ae=Me($.containingType),ke=Me(x);let je=sa(void 0,v.Named_property_0_of_types_1_and_2_are_not_identical,A(j),ae,ke);je=sa(je,v.Interface_0_cannot_simultaneously_extend_types_1_and_2,Me(r),ae,ke),Do.add(Ly(bn(c),c,je))}}}return b}function Wxt(r){if(!K||!we||r.flags&16777216)return;const c=Zv(r);for(const _ of r.members)if(!(Pf(_)&2)&&!ba(_)&&VFe(_)){const m=_.name;if(Ye(m)||as(m)||ac(m)){const b=En(Zn(_));b.flags&3||S3(b)||(!c||!$Fe(m,b,c))&&nt(_.name,v.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor,uc(m))}}}function VFe(r){return r.kind===169&&!CT(r)&&!r.exclamationToken&&!r.initializer}function Hxt(r,c,_,m,b){for(const x of _)if(x.pos>=m&&x.pos<=b){const D=J.createPropertyAccessExpression(J.createThis(),r);go(D.expression,D),go(D,x),D.flowNode=x.returnFlowNode;const j=gb(D,c,C0(c));if(!S3(j))return!0}return!1}function $Fe(r,c,_){const m=ac(r)?J.createElementAccessExpression(J.createThis(),r.expression):J.createPropertyAccessExpression(J.createThis(),r);go(m.expression,m),go(m,_),m.flowNode=_.returnFlowNode;const b=gb(m,c,C0(c));return!S3(b)}function Gxt(r){Sg(r)||ECt(r),$M(r.typeParameters),s(()=>{U3(r.name,v.Interface_name_cannot_be_0),fN(r);const c=Zn(r);MFe(c);const _=ol(c,261);if(r===_){const m=Tc(c),b=Vp(m);if(qxt(m,r.name)){for(const x of _o(m))Kf(b,Vp(x,m.thisType),r.name,v.Interface_0_incorrectly_extends_interface_1);qH(m,c)}}eFe(r)}),Q(gP(r),c=>{(!El(c.expression)||cf(c.expression))&&nt(c.expression,v.An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments),Yde(c)}),Q(r.members,$a),s(()=>{Gde(r),$1(r)})}function Xxt(r){Sg(r),U3(r.name,v.Type_alias_name_cannot_be_0),fN(r),$M(r.typeParameters),r.type.kind===139?(!WO.has(r.name.escapedText)||H(r.typeParameters)!==1)&&nt(r.type,v.The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types):($a(r.type),$1(r))}function qFe(r){const c=gi(r);if(!(c.flags&1024)){c.flags|=1024;let _=0;for(const m of r.members){const b=Qxt(m,_);gi(m).enumMemberValue=b,_=typeof b=="number"?b+1:void 0}}}function Qxt(r,c){if(D7(r.name))nt(r.name,v.Computed_property_names_are_not_allowed_in_enums);else{const _=P6(r.name);Ug(_)&&!$P(_)&&nt(r.name,v.An_enum_member_cannot_have_a_numeric_name)}if(r.initializer)return Yxt(r);if(!(r.parent.flags&16777216&&!yT(r.parent))){if(c!==void 0)return c;nt(r.name,v.Enum_member_must_have_initializer)}}function Yxt(r){const c=yT(r.parent),_=r.initializer,m=z3(_,r);return m!==void 0?c&&typeof m=="number"&&!isFinite(m)&&nt(_,isNaN(m)?v.const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:v.const_enum_member_initializer_was_evaluated_to_a_non_finite_value):c?nt(_,v.const_enum_member_initializers_must_be_constant_expressions):r.parent.flags&16777216?nt(_,v.In_ambient_enum_declarations_member_initializer_must_be_constant_expression):Kf(zs(_),wt,_,v.Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values),m}function z3(r,c){switch(r.kind){case 221:const _=z3(r.operand,c);if(typeof _=="number")switch(r.operator){case 39:return _;case 40:return-_;case 54:return~_}break;case 223:const m=z3(r.left,c),b=z3(r.right,c);if(typeof m=="number"&&typeof b=="number")switch(r.operatorToken.kind){case 51:return m|b;case 50:return m&b;case 48:return m>>b;case 49:return m>>>b;case 47:return m<<b;case 52:return m^b;case 41:return m*b;case 43:return m/b;case 39:return m+b;case 40:return m-b;case 44:return m%b;case 42:return m**b}else if((typeof m=="string"||typeof m=="number")&&(typeof b=="string"||typeof b=="number")&&r.operatorToken.kind===39)return""+m+b;break;case 10:case 14:return r.text;case 225:return Zxt(r,c);case 8:return wme(r),+r.text;case 214:return z3(r.expression,c);case 79:if($P(r.escapedText))return+r.escapedText;case 208:if(El(r)){const D=ml(r,111551,!0);if(D){if(D.flags&8)return WFe(r,D,c);if(P3(D)){const j=D.valueDeclaration;if(j&&!j.type&&j.initializer&&j!==c&&n0(j,c))return z3(j.initializer,j)}}}break;case 209:const x=r.expression;if(El(x)&&sc(r.argumentExpression)){const D=ml(x,111551,!0);if(D&&D.flags&384){const j=Vc(r.argumentExpression.text),$=D.exports.get(j);if($)return WFe(r,$,c)}}break}}function WFe(r,c,_){const m=c.valueDeclaration;if(!m||m===_){nt(r,v.Property_0_is_used_before_being_assigned,A(c));return}return n0(m,_)?eG(m):(nt(r,v.A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums),0)}function Zxt(r,c){let _=r.head.text;for(const m of r.templateSpans){const b=z3(m.expression,c);if(b===void 0)return;_+=b,_+=m.literal.text}return _}function Kxt(r){s(()=>ekt(r))}function ekt(r){Sg(r),J3(r,r.name),fN(r),r.members.forEach(tkt),qFe(r);const c=Zn(r),_=ol(c,r.kind);if(r===_){if(c.declarations&&c.declarations.length>1){const b=yT(r);Q(c.declarations,x=>{Gb(x)&&yT(x)!==b&&nt(ra(x),v.Enum_declarations_must_all_be_const_or_non_const)})}let m=!1;Q(c.declarations,b=>{if(b.kind!==263)return!1;const x=b;if(!x.members.length)return!1;const D=x.members[0];D.initializer||(m?nt(D.name,v.In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element):m=!0)})}}function tkt(r){as(r.name)&&nt(r,v.An_enum_member_cannot_be_named_with_a_private_identifier),r.initializer&&zs(r.initializer)}function rkt(r){const c=r.declarations;if(c){for(const _ of c)if((_.kind===260||_.kind===259&&md(_.body))&&!(_.flags&16777216))return _}}function nkt(r,c){const _=Hh(r),m=Hh(c);return ug(_)?ug(m):ug(m)?!1:_===m}function ikt(r){r.body&&($a(r.body),Km(r)||$1(r)),s(c);function c(){var _,m;const b=Km(r),x=r.flags&16777216;b&&!x&&nt(r.name,v.Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context);const D=Af(r),j=D?v.An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:v.A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module;if(qM(r,j))return;Sg(r)||!x&&r.name.kind===10&&Ur(r.name,v.Only_ambient_modules_can_use_quoted_names),Ye(r.name)&&J3(r,r.name),fN(r);const $=Zn(r);if($.flags&512&&!x&&Bne(r,wT(se))){if(qd(se)&&!bn(r).externalModuleIndicator&&nt(r.name,v.Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement,er),((_=$.declarations)==null?void 0:_.length)>1){const re=rkt($);re&&(bn(r)!==bn(re)?nt(r.name,v.A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged):r.pos<re.pos&&nt(r.name,v.A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged));const ae=ol($,260);ae&&nkt(r,ae)&&(gi(r).flags|=2048)}if(se.verbatimModuleSyntax&&r.parent.kind===308&&(ve===1||r.parent.impliedNodeFormat===1)){const re=(m=r.modifiers)==null?void 0:m.find(ae=>ae.kind===93);re&&nt(re,v.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled)}}if(D)if(hT(r)){if((b||Zn(r).flags&33554432)&&r.body)for(const ae of r.body.statements)fme(ae,b)}else ug(r.parent)?b?nt(r.name,v.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):wu(Vd(r.name))&&nt(r.name,v.Ambient_module_declaration_cannot_specify_relative_module_name):b?nt(r.name,v.Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations):nt(r.name,v.Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces)}}function fme(r,c){switch(r.kind){case 240:for(const m of r.declarationList.declarations)fme(m,c);break;case 274:case 275:xu(r,v.Exports_and_export_assignments_are_not_permitted_in_module_augmentations);break;case 268:case 269:xu(r,v.Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module);break;case 205:case 257:const _=r.name;if(xa(_)){for(const m of _.elements)fme(m,c);break}case 260:case 263:case 259:case 261:case 264:case 262:if(c)return;break}}function skt(r){switch(r.kind){case 79:return r;case 163:do r=r.left;while(r.kind!==79);return r;case 208:do{if(Fg(r.expression)&&!as(r.name))return r.name;r=r.expression}while(r.kind!==79);return r}}function _me(r){const c=B6(r);if(!c||cl(c))return!1;if(!yo(c))return nt(c,v.String_literal_expected),!1;const _=r.parent.kind===265&&Af(r.parent.parent);if(r.parent.kind!==308&&!_)return nt(c,r.kind===275?v.Export_declarations_are_not_permitted_in_a_namespace:v.Import_declarations_in_a_namespace_cannot_reference_a_module),!1;if(_&&wu(c.text)&&!Y_(r))return nt(r,v.Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name),!1;if(!Xu(r)&&r.assertClause){let m=!1;for(const b of r.assertClause.elements)yo(b.value)||(m=!0,nt(b.value,v.Import_assertion_values_must_be_string_literal_expressions));return!m}return!0}function WH(r){var c,_,m,b,x;let D=Zn(r);const j=jl(D);if(j!==Tr){if(D=Fo(D.exportSymbol||D),Mn(r)&&!(j.flags&111551)&&!pT(r)){const ae=AC(r)?r.propertyName||r.name:of(r)?r.name:r;if(R.assert(r.kind!==277),r.kind===278){const ke=nt(ae,v.Types_cannot_appear_in_export_declarations_in_JavaScript_files),je=(_=(c=bn(r).symbol)==null?void 0:c.exports)==null?void 0:_.get((r.propertyName||r.name).escapedText);if(je===j){const Re=(m=je.declarations)==null?void 0:m.find(C6);Re&&Eo(ke,ni(Re,v._0_is_automatically_exported_here,Ds(je.escapedName)))}}else{R.assert(r.kind!==257);const ke=kn(r,jh(Nu,Xu)),je=(x=ke&&((b=H7(ke))==null?void 0:b.text))!=null?x:"...",Re=Ds(Ye(ae)?ae.escapedText:D.escapedName);nt(ae,v._0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation,Re,`import("${je}").${Re}`)}return}const $=Zu(j),re=(D.flags&1160127?111551:0)|(D.flags&788968?788968:0)|(D.flags&1920?1920:0);if($&re){const ae=r.kind===278?v.Export_declaration_conflicts_with_exported_declaration_of_0:v.Import_declaration_conflicts_with_local_declaration_of_0;nt(r,ae,A(D))}if(qd(se)&&!pT(r)&&!(r.flags&16777216)){const ae=E_(D),ke=!($&111551);if(ke||ae)switch(r.kind){case 270:case 273:case 268:{if(se.preserveValueImports||se.verbatimModuleSyntax){R.assertIsDefined(r.name,"An ImportClause with a symbol should have a name");const je=se.verbatimModuleSyntax&&F6(r)?v.An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled:ke?se.verbatimModuleSyntax?v._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:v._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:se.verbatimModuleSyntax?v._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:v._0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled,Re=ai(r.kind===273&&r.propertyName||r.name);vk(nt(r,je,Re),ke?void 0:ae,Re)}ke&&r.kind===268&&R_(r,1)&&nt(r,v.Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled,er);break}case 278:if(se.verbatimModuleSyntax||bn(ae)!==bn(r)){const je=ai(r.propertyName||r.name),Re=ke?nt(r,v.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type,er):nt(r,v._0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled,je,er);vk(Re,ke?void 0:ae,je);break}}se.verbatimModuleSyntax&&r.kind!==268&&!Mn(r)&&(ve===1||bn(r).impliedNodeFormat===1)&&nt(r,v.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled)}if(S_(r)){const ae=GFe(D,r);HFe(ae)&&ae.declarations&&t0(r,ae.declarations,ae.escapedName)}}}function HFe(r){return!!r.declarations&&ut(r.declarations,c=>!!(ym(c)&268435456))}function GFe(r,c){if(!(r.flags&2097152))return r;const _=jl(r);if(_===Tr)return _;for(;r.flags&2097152;){const m=cde(r);if(m){if(m===_)break;if(m.declarations&&H(m.declarations))if(HFe(m)){t0(c,m.declarations,m.escapedName);break}else{if(r===_)break;r=m}}else break}return _}function HH(r){J3(r,r.name),WH(r),r.kind===273&&ai(r.propertyName||r.name)==="default"&&Zh(se)&&ve!==4&&(ve<5||bn(r).impliedNodeFormat===1)&&Kl(r,131072)}function XFe(r){var c;if(r.assertClause){const _=Iie(r),m=xw(r.assertClause,_?Ur:void 0);if(_&&m)return f5()||Ur(r.assertClause,v.resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next),vl(se)!==3&&vl(se)!==99?Ur(r.assertClause,v.resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext):void 0;if((ve===199&&r.moduleSpecifier&&g1(r.moduleSpecifier))!==99&&ve!==99)return Ur(r.assertClause,ve===199?v.Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls:v.Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext);if(Nu(r)?(c=r.importClause)!=null&&c.isTypeOnly:r.isTypeOnly)return Ur(r.assertClause,v.Import_assertions_cannot_be_used_with_type_only_imports_or_exports);if(m)return Ur(r.assertClause,v.resolution_mode_can_only_be_set_for_type_only_imports)}}function akt(r){if(!qM(r,Mn(r)?v.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:v.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)){if(!Sg(r)&&Nj(r)&&xu(r,v.An_import_declaration_cannot_have_modifiers),_me(r)){const c=r.importClause;c&&!KCt(c)&&(c.name&&HH(c),c.namedBindings&&(c.namedBindings.kind===271?(HH(c.namedBindings),ve!==4&&(ve<5||bn(r).impliedNodeFormat===1)&&Zh(se)&&Kl(r,65536)):Ku(r,r.moduleSpecifier)&&Q(c.namedBindings.elements,HH)))}XFe(r)}}function okt(r){if(!qM(r,Mn(r)?v.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:v.An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)&&(Sg(r),F6(r)||_me(r)))if(HH(r),Ti(r,1)&&cS(r),r.moduleReference.kind!==280){const c=jl(Zn(r));if(c!==Tr){const _=Zu(c);if(_&111551){const m=Dp(r.moduleReference);ml(m,112575).flags&1920||nt(m,v.Module_0_is_hidden_by_a_local_declaration_with_the_same_name,uc(m))}_&788968&&U3(r.name,v.Import_name_cannot_be_0)}r.isTypeOnly&&Ur(r,v.An_import_alias_cannot_use_import_type)}else ve>=5&&bn(r).impliedNodeFormat===void 0&&!r.isTypeOnly&&!(r.flags&16777216)&&Ur(r,v.Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead)}function ckt(r){if(!qM(r,Mn(r)?v.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:v.An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module)){if(!Sg(r)&&tTe(r)&&xu(r,v.An_export_declaration_cannot_have_modifiers),r.moduleSpecifier&&r.exportClause&&Xd(r.exportClause)&&H(r.exportClause.elements)&&V===0&&Kl(r,4194304),lkt(r),!r.moduleSpecifier||_me(r))if(r.exportClause&&!qg(r.exportClause)){Q(r.exportClause.elements,mkt);const c=r.parent.kind===265&&Af(r.parent.parent),_=!c&&r.parent.kind===265&&!r.moduleSpecifier&&r.flags&16777216;r.parent.kind!==308&&!c&&!_&&nt(r,v.Export_declarations_are_not_permitted_in_a_namespace)}else{const c=Ku(r,r.moduleSpecifier);c&&fS(c)?nt(r.moduleSpecifier,v.Module_0_uses_export_and_cannot_be_used_with_export_Asterisk,A(c)):r.exportClause&&WH(r.exportClause),ve!==4&&(ve<5||bn(r).impliedNodeFormat===1)&&(r.exportClause?Zh(se)&&Kl(r,65536):Kl(r,32768))}XFe(r)}}function lkt(r){var c;return r.isTypeOnly&&((c=r.exportClause)==null?void 0:c.kind)===276?wRe(r.exportClause):!1}function qM(r,c){const _=r.parent.kind===308||r.parent.kind===265||r.parent.kind===264;return _||xu(r,c),!_}function ukt(r){return bj(r,c=>!!Zn(c).isReferenced)}function fkt(r){return bj(r,c=>!!ys(Zn(c)).constEnumReferenced)}function _kt(r){return Nu(r)&&r.importClause&&!r.importClause.isTypeOnly&&ukt(r.importClause)&&!KH(r.importClause,!0)&&!fkt(r.importClause)}function pkt(r){return Xu(r)&&ng(r.moduleReference)&&!r.isTypeOnly&&Zn(r).isReferenced&&!KH(r,!1)&&!ys(Zn(r)).constEnumReferenced}function dkt(r){for(const c of r.statements)(_kt(c)||pkt(c))&&nt(c,v.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error)}function mkt(r){if(WH(r),Wd(se)&&SS(r.propertyName||r.name,!0),r.parent.parent.moduleSpecifier)Zh(se)&&ve!==4&&(ve<5||bn(r).impliedNodeFormat===1)&&ai(r.propertyName||r.name)==="default"&&Kl(r,131072);else{const c=r.propertyName||r.name,_=Xc(c,c.escapedText,2998271,void 0,void 0,!0);if(_&&(_===We||_===gt||_.declarations&&ug(xS(_.declarations[0]))))nt(c,v.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,ai(c));else{!r.isTypeOnly&&!r.parent.parent.isTypeOnly&&cS(r);const m=_&&(_.flags&2097152?jl(_):_);(!m||Zu(m)&111551)&&Ll(r.propertyName||r.name)}}}function hkt(r){const c=r.isExportEquals?v.An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:v.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration;if(qM(r,c))return;const _=r.parent.kind===308?r.parent:r.parent.parent;if(_.kind===264&&!Af(_)){r.isExportEquals?nt(r,v.An_export_assignment_cannot_be_used_in_a_namespace):nt(r,v.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);return}!Sg(r)&&Nj(r)&&xu(r,v.An_export_assignment_cannot_have_modifiers);const m=Ju(r);m&&Kf(Ll(r.expression),Bi(m),r.expression);const b=!r.isExportEquals&&!(r.flags&16777216)&&se.verbatimModuleSyntax&&(ve===1||bn(r).impliedNodeFormat===1);if(r.expression.kind===79){const x=r.expression,D=Mm(ml(x,67108863,!0,!0,r));D?(pH(D,x),Zu(D)&111551?(Ll(x),!b&&!(r.flags&16777216)&&se.verbatimModuleSyntax&&E_(D,111551)&&nt(x,r.isExportEquals?v.An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:v.An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration,ai(x))):!b&&!(r.flags&16777216)&&se.verbatimModuleSyntax&&nt(x,r.isExportEquals?v.An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:v.An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type,ai(x))):Ll(x),Wd(se)&&SS(x,!0)}else Ll(r.expression);b&&nt(r,v.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled),QFe(_),r.flags&16777216&&!El(r.expression)&&Ur(r.expression,v.The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context),r.isExportEquals&&(ve>=5&&(r.flags&16777216&&bn(r).impliedNodeFormat===99||!(r.flags&16777216)&&bn(r).impliedNodeFormat!==1)?Ur(r,v.Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead):ve===4&&!(r.flags&16777216)&&Ur(r,v.Export_assignment_is_not_supported_when_module_flag_is_system))}function gkt(r){return cp(r.exports,(c,_)=>_!=="export=")}function QFe(r){const c=Zn(r),_=ys(c);if(!_.exportsChecked){const m=c.exports.get("export=");if(m&&gkt(c)){const x=c_(m)||m.valueDeclaration;x&&!Y_(x)&&!Mn(x)&&nt(x,v.An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements)}const b=iy(c);b&&b.forEach(({declarations:x,flags:D},j)=>{if(j==="__export"||D&1920)return;const $=An(x,WR($Ce,HR(Yf)));if(!(D&524288&&$<=2)&&$>1&&!GH(x))for(const re of x)UCe(re)&&Do.add(ni(re,v.Cannot_redeclare_exported_variable_0,Ds(j)))}),_.exportsChecked=!0}}function GH(r){return r&&r.length>1&&r.every(c=>Mn(c)&&$c(c)&&(xx(c.expression)||Fg(c.expression)))}function $a(r){if(r){const c=W;W=r,L=0,ykt(r),W=c}}function ykt(r){Z7(r)&&Q(r.jsDoc,({comment:_,tags:m})=>{YFe(_),Q(m,b=>{YFe(b.comment),Mn(r)&&$a(b)})});const c=r.kind;if(l)switch(c){case 264:case 260:case 261:case 259:l.throwIfCancellationRequested()}switch(c>=240&&c<=256&&Y7(r)&&r.flowNode&&!hM(r.flowNode)&&fh(se.allowUnreachableCode===!1,r,v.Unreachable_code_detected),c){case 165:return YMe(r);case 166:return ZMe(r);case 169:return tFe(r);case 168:return rSt(r);case 182:case 181:case 176:case 177:case 178:return uN(r);case 171:case 170:return nSt(r);case 172:return iSt(r);case 173:return sSt(r);case 174:case 175:return nFe(r);case 180:return Yde(r);case 179:return ZTt(r);case 183:return fSt(r);case 184:return _St(r);case 185:return pSt(r);case 186:return dSt(r);case 189:case 190:return mSt(r);case 193:case 187:case 188:return $a(r.type);case 194:return vSt(r);case 195:return bSt(r);case 191:return TSt(r);case 192:return SSt(r);case 200:return xSt(r);case 202:return kSt(r);case 199:return CSt(r);case 331:return VSt(r);case 332:return zSt(r);case 349:case 341:case 343:return LSt(r);case 348:return MSt(r);case 347:return FSt(r);case 327:case 328:case 329:return BSt(r);case 344:return jSt(r);case 351:return JSt(r);case 320:USt(r);case 318:case 317:case 315:case 316:case 325:ZFe(r),ca(r,$a);return;case 321:vkt(r);return;case 312:return $a(r.type);case 336:case 338:case 337:return $St(r);case 353:return RSt(r);case 196:return hSt(r);case 197:return gSt(r);case 259:return OSt(r);case 238:case 265:return UH(r);case 240:return oxt(r);case 241:return cxt(r);case 242:return lxt(r);case 243:return _xt(r);case 244:return pxt(r);case 245:return dxt(r);case 246:return hxt(r);case 247:return mxt(r);case 248:case 249:return kxt(r);case 250:return Cxt(r);case 251:return wxt(r);case 252:return Ext(r);case 253:return Axt(r);case 254:return Pxt(r);case 255:return Dxt(r);case 257:return rme(r);case 205:return axt(r);case 260:return Bxt(r);case 261:return Gxt(r);case 262:return Xxt(r);case 263:return Kxt(r);case 264:return ikt(r);case 269:return akt(r);case 268:return okt(r);case 275:return ckt(r);case 274:return hkt(r);case 239:case 256:hy(r);return;case 279:return oSt(r)}}function YFe(r){pa(r)&&Q(r,c=>{IC(c)&&$a(c)})}function ZFe(r){if(!Mn(r))if(qJ(r)||b4(r)){const c=qa(qJ(r)?53:57),_=r.postfix?v._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:v._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1,m=r.type,b=Bi(m);Ur(r,_,c,Me(b4(r)&&!(b===At||b===$t)?bi($r([b,Ze],r.postfix?void 0:qr)):b))}else Ur(r,v.JSDoc_types_can_only_be_used_inside_documentation_comments)}function vkt(r){ZFe(r),$a(r.type);const{parent:c}=r;if(ua(c)&&T4(c.parent)){ko(c.parent.parameters)!==c&&nt(r,v.A_rest_parameter_must_be_last_in_a_parameter_list);return}Jx(c)||nt(r,v.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);const _=r.parent.parent;if(!ch(_)){nt(r,v.JSDoc_may_only_appear_in_the_last_parameter_of_a_signature);return}const m=K7(_);if(!m)return;const b=jb(_);(!b||ko(b.parameters).symbol!==m)&&nt(r,v.A_rest_parameter_must_be_last_in_a_parameter_list)}function bkt(r){const c=Bi(r.type),{parent:_}=r,m=r.parent.parent;if(Jx(r.parent)&&ch(m)){const b=jb(m),x=pre(m.parent.parent);if(b||x){const D=Rc(x?m.parent.parent.typeExpression.parameters:b.parameters),j=K7(m);if(!D||j&&D.symbol===j&&Lg(D))return yf(c)}}return ua(_)&&T4(_.parent)?yf(c):to(c)}function V3(r){const c=bn(r),_=gi(c);_.flags&1?R.assert(!_.deferredNodes,"A type-checked file should have no deferred nodes."):(_.deferredNodes||(_.deferredNodes=new Set),_.deferredNodes.add(r))}function Tkt(r){const c=gi(r);c.deferredNodes&&c.deferredNodes.forEach(Skt),c.deferredNodes=void 0}function Skt(r){var c,_;(c=Hi)==null||c.push(Hi.Phase.Check,"checkDeferredNode",{kind:r.kind,pos:r.pos,end:r.end,path:r.tracingPath});const m=W;switch(W=r,L=0,r.kind){case 210:case 211:case 212:case 167:case 283:NE(r);break;case 215:case 216:case 171:case 170:mTt(r);break;case 174:case 175:nFe(r);break;case 228:Rxt(r);break;case 165:YTt(r);break;case 282:Abt(r);break;case 281:Dbt(r);break}W=m,(_=Hi)==null||_.pop()}function xkt(r){var c,_;(c=Hi)==null||c.push(Hi.Phase.Check,"checkSourceFile",{path:r.path},!0),Uc("beforeCheck"),kkt(r),Uc("afterCheck"),Qp("Check","beforeCheck","afterCheck"),(_=Hi)==null||_.pop()}function KFe(r,c){if(c)return!1;switch(r){case 0:return!!se.noUnusedLocals;case 1:return!!se.noUnusedParameters;default:return R.assertNever(r)}}function eRe(r){return Jr.get(r.path)||pt}function kkt(r){const c=gi(r);if(!(c.flags&1)){if(jP(r,se,e))return;GCt(r),ss(eS),ss(Jv),ss(a2),ss(Uv),ss(mk),Q(r.statements,$a),$a(r.endOfFileToken),Tkt(r),lp(r)&&$1(r),s(()=>{!r.isDeclarationFile&&(se.noUnusedLocals||se.noUnusedParameters)&&mFe(eRe(r),(_,m,b)=>{!E7(_)&&KFe(m,!!(_.flags&16777216))&&Do.add(b)}),r.isDeclarationFile||GSt()}),se.importsNotUsedAsValues===2&&!r.isDeclarationFile&&Fl(r)&&dkt(r),lp(r)&&QFe(r),eS.length&&(Q(eS,YSt),ss(eS)),Jv.length&&(Q(Jv,ZSt),ss(Jv)),a2.length&&(Q(a2,rxt),ss(a2)),Uv.length&&(Q(Uv,ixt),ss(Uv)),c.flags|=1}}function tRe(r,c){try{return l=c,Ckt(r)}finally{l=void 0}}function pme(){for(const r of n)r();n=[]}function dme(r){pme();const c=s;s=_=>_(),xkt(r),s=c}function Ckt(r){if(r){pme();const c=Do.getGlobalDiagnostics(),_=c.length;dme(r);const m=Do.getDiagnostics(r.fileName),b=Do.getGlobalDiagnostics();if(b!==c){const x=m_(c,b,MP);return Cr(x,m)}else if(_===0&&b.length>0)return Cr(b,m);return m}return Q(e.getSourceFiles(),dme),Do.getDiagnostics()}function wkt(){return pme(),Do.getGlobalDiagnostics()}function Ekt(r,c){if(r.flags&33554432)return[];const _=Ma();let m=!1;return b(),_.delete("this"),w_e(_);function b(){for(;r;){switch($h(r)&&r.locals&&!ug(r)&&D(r.locals,c),r.kind){case 308:if(!Fl(r))break;case 264:j(Zn(r).exports,c&2623475);break;case 263:D(Zn(r).exports,c&8);break;case 228:r.name&&x(r.symbol,c);case 260:case 261:m||D(M1(Zn(r)),c&788968);break;case 215:r.name&&x(r.symbol,c);break}_2e(r)&&x(jt,c),m=ba(r),r=r.parent}D(Ke,c)}function x($,re){if(NP($)&re){const ae=$.escapedName;_.has(ae)||_.set(ae,$)}}function D($,re){re&&$.forEach(ae=>{x(ae,re)})}function j($,re){re&&$.forEach(ae=>{!ol(ae,278)&&!ol(ae,277)&&x(ae,re)})}}function Akt(r){return r.kind===79&&i4(r.parent)&&ra(r.parent)===r}function rRe(r){for(;r.parent.kind===163;)r=r.parent;return r.parent.kind===180}function Pkt(r){for(;r.parent.kind===208;)r=r.parent;return r.parent.kind===230}function nRe(r,c){let _,m=uu(r);for(;m&&!(_=c(m));)m=uu(m);return _}function Dkt(r){return!!kn(r,c=>Al(c)&&md(c.body)||Pa(c)?!0:Ri(c)||Lc(c)?"quit":!1)}function mme(r,c){return!!nRe(r,_=>_===c)}function Nkt(r){for(;r.parent.kind===163;)r=r.parent;if(r.parent.kind===268)return r.parent.moduleReference===r?r.parent:void 0;if(r.parent.kind===274)return r.parent.expression===r?r.parent:void 0}function XH(r){return Nkt(r)!==void 0}function Ikt(r){switch(ll(r.parent.parent)){case 1:case 3:return G_(r.parent);case 4:case 2:case 5:return Zn(r.parent.parent)}}function Okt(r){let c=r.parent;for(;T_(c);)r=c,c=c.parent;if(c&&c.kind===202&&c.qualifier===r)return c}function iRe(r){if(By(r))return G_(r.parent);if(Mn(r)&&r.parent.kind===208&&r.parent===r.parent.parent.left&&!as(r)&&!Xb(r)){const c=Ikt(r);if(c)return c}if(r.parent.kind===274&&El(r)){const c=ml(r,2998271,!0);if(c&&c!==Tr)return c}else if(ap(r)&&XH(r)){const c=Jb(r,268);return R.assert(c!==void 0),Lm(r,!0)}if(ap(r)){const c=Okt(r);if(c){Bi(c);const _=gi(r).resolvedSymbol;return _===Tr?void 0:_}}for(;lTe(r);)r=r.parent;if(Pkt(r)){let c=0;r.parent.kind===230?(c=Mg(r)?788968:111551,h5(r.parent)&&(c|=111551)):c=1920,c|=2097152;const _=El(r)?ml(r,c):void 0;if(_)return _}if(r.parent.kind===344)return K7(r.parent);if(r.parent.kind===165&&r.parent.parent.kind===348){R.assert(!Mn(r));const c=P2e(r.parent);return c&&c.symbol}if(Fy(r)){if(cl(r))return;const c=kn(r,jh(IC,lD,Xb)),_=c?901119:111551;if(r.kind===79){if(_P(r)&&N3(r)){const b=ude(r.parent);return b===Tr?void 0:b}const m=ml(r,_,!1,!0,jb(r));if(!m&&c){const b=kn(r,jh(Ri,Yf));if(b)return WM(r,!1,Zn(b))}if(m&&c){const b=jC(r);if(b&&LT(b)&&b===m.valueDeclaration)return ml(r,_,!0,!0,bn(b))||m}return m}else{if(as(r))return xH(r);if(r.kind===208||r.kind===163){const m=gi(r);if(m.resolvedSymbol)return m.resolvedSymbol;if(r.kind===208){if($Le(r,0),!m.resolvedSymbol){const b=Ll(r.expression),x=C_e(b,S0(r.name));if(x.length&&b.members){const j=um(b).members.get("__index");if(x===gf(b))m.resolvedSymbol=j;else if(j){const $=ys(j),re=fr(x,ke=>ke.declaration),ae=qt(re,Wo).join(",");if($.filteredIndexSymbolCache||($.filteredIndexSymbolCache=new Map),$.filteredIndexSymbolCache.has(ae))m.resolvedSymbol=$.filteredIndexSymbolCache.get(ae);else{const ke=Oo(131072,"__index");ke.declarations=fr(x,je=>je.declaration),ke.parent=b.aliasSymbol?b.aliasSymbol:b.symbol?b.symbol:Od(ke.declarations[0].parent),$.filteredIndexSymbolCache.set(ae,ke),m.resolvedSymbol=$.filteredIndexSymbolCache.get(ae)}}}}}else qLe(r,0);return!m.resolvedSymbol&&c&&T_(r)?WM(r):m.resolvedSymbol}else if(Xb(r))return WM(r)}}else if(rRe(r)){const c=r.parent.kind===180?788968:1920,_=ml(r,c,!1,!0);return _&&_!==Tr?_:CW(r)}if(r.parent.kind===179)return ml(r,1)}function WM(r,c,_){if(ap(r)){let D=ml(r,901119,c,!0,jb(r));if(!D&&Ye(r)&&_&&(D=Fo(H_(yp(_),r.escapedText,901119))),D)return D}const m=Ye(r)?_:WM(r.left,c,_),b=Ye(r)?r.escapedText:r.right.escapedText;if(m){const x=m.flags&111551&&Ra(En(m),"prototype"),D=x?En(x):Tc(m);return Ra(D,b)}}function Od(r,c){if(bs(r))return Fl(r)?Fo(r.symbol):void 0;const{parent:_}=r,m=_.parent;if(!(r.flags&33554432)){if(zCe(r)){const b=Zn(_);return AC(r.parent)&&r.parent.propertyName===r?cde(b):b}else if(r5(r))return Zn(_.parent);if(r.kind===79){if(XH(r))return iRe(r);if(_.kind===205&&m.kind===203&&r===_.propertyName){const b=Bk(m),x=Ra(b,r.escapedText);if(x)return x}else if(iD(_)&&_.name===r)return _.keywordToken===103&&ai(r)==="target"?Mde(_).symbol:_.keywordToken===100&&ai(r)==="meta"?pOe().members.get("meta"):void 0}switch(r.kind){case 79:case 80:case 208:case 163:if(!VC(r))return iRe(r);case 108:const b=y_(r,!1,!1);if(Sa(b)){const j=Bm(b);if(j.thisParameter)return j.thisParameter}if(_j(r))return zs(r).symbol;case 194:return FW(r).symbol;case 106:return zs(r).symbol;case 135:const x=r.parent;return x&&x.kind===173?x.parent.symbol:void 0;case 10:case 14:if(Rb(r.parent.parent)&&pP(r.parent.parent)===r||(r.parent.kind===269||r.parent.kind===275)&&r.parent.moduleSpecifier===r||Mn(r)&&vl(se)!==100&&v_(r.parent,!1)||up(r.parent)||Hb(r.parent)&&Fb(r.parent.parent)&&r.parent.parent.argument===r.parent)return Ku(r,r,c);if(Da(_)&&MC(_)&&_.arguments[1]===r)return Zn(_);case 8:const D=qc(_)?_.argumentExpression===r?Tf(_.expression):void 0:Hb(_)&&cw(m)?Bi(m.objectType):void 0;return D&&Ra(D,Vc(r.text));case 88:case 98:case 38:case 84:return G_(r.parent);case 202:return Fb(r)?Od(r.argument.literal,c):void 0;case 93:return Tl(r.parent)?R.checkDefined(r.parent.symbol):void 0;case 100:case 103:return iD(r.parent)?EMe(r.parent).symbol:void 0;case 233:return zs(r).symbol;default:return}}}function Lkt(r){if(Ye(r)&&oi(r.parent)&&r.parent.name===r){const c=S0(r),_=Tf(r.parent.expression),m=_.flags&1048576?_.types:[_];return mn(m,b=>hr(gf(b),x=>hE(c,x.keyType)))}}function Mkt(r){if(r&&r.kind===300)return ml(r.name,2208703)}function Fkt(r){return i_(r)?r.parent.parent.moduleSpecifier?Bp(r.parent.parent,r):ml(r.propertyName||r.name,2998271):ml(r,2998271)}function Bk(r){if(bs(r)&&!Fl(r)||r.flags&33554432)return Ne;const c=Fee(r),_=c&&Bf(Zn(c.class));if(Mg(r)){const m=Bi(r);return _?Vp(m,_.thisType):m}if(Fy(r))return sRe(r);if(_&&!c.isImplements){const m=Ru(_o(_));return m?Vp(m,_.thisType):Ne}if(i4(r)){const m=Zn(r);return Tc(m)}if(Akt(r)){const m=Od(r);return m?Tc(m):Ne}if(lf(r)){const m=Zn(r);return m?En(m):Ne}if(zCe(r)){const m=Od(r);return m?En(m):Ne}if(xa(r))return Mo(r.parent,!0,0)||Ne;if(XH(r)){const m=Od(r);if(m){const b=Tc(m);return Lo(b)?En(m):b}}return iD(r.parent)&&r.parent.keywordToken===r.kind?EMe(r.parent):Ne}function QH(r){if(R.assert(r.kind===207||r.kind===206),r.parent.kind===247){const b=VM(r.parent);return zS(r,b||Ne)}if(r.parent.kind===223){const b=Tf(r.parent.right);return zS(r,b||Ne)}if(r.parent.kind===299){const b=Oa(r.parent.parent,cc),x=QH(b)||Ne,D=A6(b.properties,r.parent);return UMe(b,x,D)}const c=Oa(r.parent,Nf),_=QH(c)||Ne,m=q1(65,_,Ze,r.parent)||Ne;return zMe(c,_,c.elements.indexOf(r),m)}function Rkt(r){const c=QH(Oa(r.parent.parent,tP));return c&&Ra(c,r.escapedText)}function sRe(r){return EP(r)&&(r=r.parent),f_(Tf(r))}function aRe(r){const c=G_(r.parent);return ba(r)?En(c):Tc(c)}function oRe(r){const c=r.name;switch(c.kind){case 79:return qp(ai(c));case 8:case 10:return qp(c.text);case 164:const _=E0(c);return Su(_,12288)?_:ye;default:return R.fail("Unsupported property name.")}}function hme(r){r=Jf(r);const c=Ma(Ho(r)),_=ya(r,0).length?Ql:ya(r,1).length?a_:void 0;return _&&Q(Ho(_),m=>{c.has(m.escapedName)||c.set(m.escapedName,m)}),w1(c)}function YH(r){return ya(r,0).length!==0||ya(r,1).length!==0}function cRe(r){const c=Bkt(r);return c?mn(c,cRe):[r]}function Bkt(r){if(ul(r)&6)return fr(ys(r).containingType.types,c=>Ra(c,r.escapedName));if(r.flags&33554432){const{links:{leftSpread:c,rightSpread:_,syntheticOrigin:m}}=r;return c?[c,_]:m?[m]:ax(jkt(r))}}function jkt(r){let c,_=r;for(;_=ys(_).target;)c=_;return c}function Jkt(r){if(al(r))return!1;const c=qs(r,Ye);if(!c)return!1;const _=c.parent;return _?!((oi(_)||Iu(_))&&_.name===c)&&HM(c)===jt:!1}function Ukt(r){let c=Ku(r.parent,r);if(!c||cP(c))return!0;const _=fS(c);c=l_(c);const m=ys(c);return m.exportsSomeValue===void 0&&(m.exportsSomeValue=_?!!(c.flags&111551):cp(iy(c),b)),m.exportsSomeValue;function b(x){return x=Il(x),x&&!!(Zu(x)&111551)}}function zkt(r){return S7(r.parent)&&r===r.parent.name}function Vkt(r,c){var _;const m=qs(r,Ye);if(m){let b=HM(m,zkt(m));if(b){if(b.flags&1048576){const D=Fo(b.exportSymbol);if(!c&&D.flags&944&&!(D.flags&3))return;b=D}const x=u_(b);if(x){if(x.flags&512&&((_=x.valueDeclaration)==null?void 0:_.kind)===308){const D=x.valueDeclaration,j=bn(m);return D!==j?void 0:D}return kn(m.parent,D=>S7(D)&&Zn(D)===x)}}}}function $kt(r){const c=ISe(r);if(c)return c;const _=qs(r,Ye);if(_){const m=nCt(_);if(T1(m,111551)&&!E_(m,111551))return c_(m)}}function qkt(r){return r.valueDeclaration&&qo(r.valueDeclaration)&&y6(r.valueDeclaration).parent.kind===295}function lRe(r){if(r.flags&418&&r.valueDeclaration&&!bs(r.valueDeclaration)){const c=ys(r);if(c.isDeclarationWithCollidingName===void 0){const _=Hh(r.valueDeclaration);if($be(_)||qkt(r)){const m=gi(r.valueDeclaration);if(Xc(_.parent,r.escapedName,111551,void 0,void 0,!1))c.isDeclarationWithCollidingName=!0;else if(m.flags&16384){const b=m.flags&32768,x=fv(_,!1),D=_.kind===238&&fv(_.parent,!1);c.isDeclarationWithCollidingName=!e2e(_)&&(!b||!x&&!D)}else c.isDeclarationWithCollidingName=!1}}return c.isDeclarationWithCollidingName}return!1}function Wkt(r){if(!al(r)){const c=qs(r,Ye);if(c){const _=HM(c);if(_&&lRe(_))return _.valueDeclaration}}}function Hkt(r){const c=qs(r,lf);if(c){const _=Zn(c);if(_)return lRe(_)}return!1}function uRe(r){switch(R.assert(!se.verbatimModuleSyntax),r.kind){case 268:return ZH(Zn(r));case 270:case 271:case 273:case 278:const c=Zn(r);return!!c&&ZH(c)&&!E_(c,111551);case 275:const _=r.exportClause;return!!_&&(qg(_)||Oe(_.elements,uRe));case 274:return r.expression&&r.expression.kind===79?ZH(Zn(r)):!0}return!1}function Gkt(r){const c=qs(r,Xu);return c===void 0||c.parent.kind!==308||!F6(c)?!1:ZH(Zn(c))&&c.moduleReference&&!cl(c.moduleReference)}function ZH(r){var c;if(!r)return!1;const _=Mm(jl(r));return _===Tr?!0:!!(((c=Zu(_))!=null?c:-1)&111551)&&(wT(se)||!yN(_))}function yN(r){return Vde(r)||!!r.constEnumOnlyModule}function KH(r,c){if(R.assert(!se.verbatimModuleSyntax),s0(r)){const _=Zn(r),m=_&&ys(_);if(m!=null&&m.referenced)return!0;const b=ys(_).aliasTarget;if(b&&Pf(r)&1&&Zu(b)&111551&&(wT(se)||!yN(b)))return!0}return c?!!ca(r,_=>KH(_,c)):!1}function fRe(r){if(md(r.body)){if(_v(r)||Q0(r))return!1;const c=Zn(r),_=E2(c);return _.length>1||_.length===1&&_[0].declaration!==r}return!1}function _Re(r){return!!K&&!L8(r)&&!ch(r)&&!!r.initializer&&!Ti(r,16476)}function Xkt(r){return K&&L8(r)&&!r.initializer&&Ti(r,16476)}function Qkt(r){const c=qs(r,ru);if(!c)return!1;const _=Zn(c);return!_||!(_.flags&16)?!1:!!cp(yp(_),m=>m.flags&111551&&m.valueDeclaration&&oi(m.valueDeclaration))}function Ykt(r){const c=qs(r,ru);if(!c)return pt;const _=Zn(c);return _&&Ho(En(_))||pt}function FE(r){var c;const _=r.id||0;return _<0||_>=s2.length?0:((c=s2[_])==null?void 0:c.flags)||0}function eG(r){return qFe(r.parent),gi(r).enumMemberValue}function pRe(r){switch(r.kind){case 302:case 208:case 209:return!0}return!1}function gme(r){if(r.kind===302)return eG(r);const c=gi(r).resolvedSymbol;if(c&&c.flags&8){const _=c.valueDeclaration;if(yT(_.parent))return eG(_)}}function yme(r){return!!(r.flags&524288)&&ya(r,0).length>0}function Zkt(r,c){var _;const m=qs(r,ap);if(!m||c&&(c=qs(c),!c))return 0;let b=!1;if(T_(m)){const re=ml(Dp(m),111551,!0,!0,c);b=!!((_=re==null?void 0:re.declarations)!=null&&_.every(pT))}const x=ml(m,111551,!0,!0,c),D=x&&x.flags&2097152?jl(x):x;b||(b=!!(x&&E_(x,111551)));const j=ml(m,788968,!0,!1,c);if(D&&D===j){const re=j_e(!1);if(re&&D===re)return 9;const ae=En(D);if(ae&&ob(ae))return b?10:1}if(!j)return b?11:0;const $=Tc(j);return Lo($)?b?11:0:$.flags&3?11:Su($,245760)?2:Su($,528)?6:Su($,296)?3:Su($,2112)?4:Su($,402653316)?5:po($)?7:Su($,12288)?8:yme($)?10:Wp($)?7:11}function Kkt(r,c,_,m,b){const x=qs(r,l2e);if(!x)return J.createToken(131);const D=Zn(x);let j=D&&!(D.flags&133120)?F2(En(D)):Ne;return j.flags&8192&&j.symbol===D&&(_|=1048576),b&&(j=C0(j)),st.typeToTypeNode(j,c,_|1024,m)}function eCt(r,c,_,m){const b=qs(r,Sa);if(!b)return J.createToken(131);const x=Bm(b);return st.typeToTypeNode(Xo(x),c,_|1024,m)}function tCt(r,c,_,m){const b=qs(r,Dt);if(!b)return J.createToken(131);const x=Z_(sRe(b));return st.typeToTypeNode(x,c,_|1024,m)}function rCt(r){return Ke.has(Vc(r))}function HM(r,c){const _=gi(r).resolvedSymbol;if(_)return _;let m=r;if(c){const b=r.parent;lf(b)&&r===b.name&&(m=xS(b))}return Xc(m,r.escapedText,3257279,void 0,void 0,!0)}function nCt(r){const c=gi(r).resolvedSymbol;return c&&c!==Tr?c:Xc(r,r.escapedText,3257279,void 0,void 0,!0,void 0,void 0)}function iCt(r){if(!al(r)){const c=qs(r,Ye);if(c){const _=HM(c);if(_)return Mm(_).valueDeclaration}}}function sCt(r){return KB(r)||xs(r)&&My(r)?O2(En(Zn(r))):!1}function aCt(r,c,_){const m=r.flags&1056?st.symbolToExpression(r.symbol,111551,c,void 0,_):r===$e?J.createTrue():r===dt&&J.createFalse();if(m)return m;const b=r.value;return typeof b=="object"?J.createBigIntLiteral(b):typeof b=="number"?J.createNumericLiteral(b):J.createStringLiteral(b)}function oCt(r,c){const _=En(Zn(r));return aCt(_,r,c)}function dRe(r){return r?(u2(r),bn(r).localJsxFactory||Ky):Ky}function vme(r){if(r){const c=bn(r);if(c){if(c.localJsxFragmentFactory)return c.localJsxFragmentFactory;const _=c.pragmas.get("jsxfrag"),m=pa(_)?_[0]:_;if(m)return c.localJsxFragmentFactory=bw(m.arguments.factory,V),c.localJsxFragmentFactory}}if(se.jsxFragmentFactory)return bw(se.jsxFragmentFactory,V)}function cCt(){const r=e.getResolvedTypeReferenceDirectives();let c;return r&&(c=new Map,r.forEach(({resolvedTypeReferenceDirective:$},re,ae)=>{if(!($!=null&&$.resolvedFileName))return;const ke=e.getSourceFile($.resolvedFileName);ke&&j(ke,re,ae)})),{getReferencedExportContainer:Vkt,getReferencedImportDeclaration:$kt,getReferencedDeclarationWithCollidingName:Wkt,isDeclarationWithCollidingName:Hkt,isValueAliasDeclaration:$=>{const re=qs($);return re?uRe(re):!0},hasGlobalName:rCt,isReferencedAliasDeclaration:($,re)=>{const ae=qs($);return ae?KH(ae,re):!0},getNodeCheckFlags:$=>{const re=qs($);return re?FE(re):0},isTopLevelValueImportEqualsWithEntityName:Gkt,isDeclarationVisible:Pd,isImplementationOfOverload:fRe,isRequiredInitializedParameter:_Re,isOptionalUninitializedParameterProperty:Xkt,isExpandoFunctionDeclaration:Qkt,getPropertiesOfContainerFunction:Ykt,createTypeOfDeclaration:Kkt,createReturnTypeOfSignatureDeclaration:eCt,createTypeOfExpression:tCt,createLiteralConstValue:oCt,isSymbolAccessible:E1,isEntityNameVisible:lE,getConstantValue:$=>{const re=qs($,pRe);return re?gme(re):void 0},collectLinkedAliases:SS,getReferencedValueDeclaration:iCt,getTypeReferenceSerializationKind:Zkt,isOptionalParameter:L8,moduleExportsSomeValue:Ukt,isArgumentsLocalBinding:Jkt,getExternalModuleFileFromDeclaration:$=>{const re=qs($,r2e);return re&&bme(re)},getTypeReferenceDirectivesForEntityName:b,getTypeReferenceDirectivesForSymbol:x,isLiteralConstDeclaration:sCt,isLateBound:$=>{const re=qs($,lf),ae=re&&Zn(re);return!!(ae&&ul(ae)&4096)},getJsxFactoryEntity:dRe,getJsxFragmentFactoryEntity:vme,getAllAccessorDeclarations($){$=qs($,DB);const re=$.kind===175?174:175,ae=ol(Zn($),re),ke=ae&&ae.pos<$.pos?ae:$,je=ae&&ae.pos<$.pos?$:ae,Re=$.kind===175?$:ae,Ct=$.kind===174?$:ae;return{firstAccessor:ke,secondAccessor:je,setAccessor:Re,getAccessor:Ct}},getSymbolOfExternalModuleSpecifier:$=>ry($,$,void 0),isBindingCapturedByNode:($,re)=>{const ae=qs($),ke=qs(re);return!!ae&&!!ke&&(xs(ke)||qo(ke))&&jvt(ae,ke)},getDeclarationStatementsForSourceFile:($,re,ae,ke)=>{const je=qs($);R.assert(je&&je.kind===308,"Non-sourcefile node passed into getDeclarationsForSourceFile");const Re=Zn($);return Re?Re.exports?st.symbolTableToDeclarationStatements(Re.exports,$,re,ae,ke):[]:$.locals?st.symbolTableToDeclarationStatements($.locals,$,re,ae,ke):[]},isImportRequiredByAugmentation:_};function _($){const re=bn($);if(!re.symbol)return!1;const ae=bme($);if(!ae||ae===re)return!1;const ke=iy(re.symbol);for(const je of ao(ke.values()))if(je.mergeId){const Re=Fo(je);if(Re.declarations){for(const Ct of Re.declarations)if(bn(Ct)===ae)return!0}}return!1}function m($){return $.parent&&$.parent.kind===230&&$.parent.parent&&$.parent.parent.kind===294}function b($){if(!c)return;let re;$.parent.kind===164?re=1160127:(re=790504,($.kind===79&&E3($)||$.kind===208&&!m($))&&(re=1160127));const ae=ml($,re,!0);return ae&&ae!==Tr?x(ae,re):void 0}function x($,re){if(!c||!D($))return;let ae;for(const ke of $.declarations)if(ke.symbol&&ke.symbol.flags&re){const je=bn(ke),Re=c.get(je.path);if(Re)(ae||(ae=[])).push(Re);else return}return ae}function D($){if(!$.declarations)return!1;let re=$;for(;;){const ae=u_(re);if(ae)re=ae;else break}if(re.valueDeclaration&&re.valueDeclaration.kind===308&&re.flags&512)return!1;for(const ae of $.declarations){const ke=bn(ae);if(c.has(ke.path))return!0}return!1}function j($,re,ae){if(!c.has($.path)){c.set($.path,[re,ae]);for(const{fileName:ke,resolutionMode:je}of $.referencedFiles){const Re=oz(ke,$.fileName),Ct=e.getSourceFile(Re);Ct&&j(Ct,re,je||$.impliedNodeFormat)}}}}function bme(r){const c=r.kind===264?Pi(r.name,yo):B6(r),_=ry(c,c,void 0);if(_)return ol(_,308)}function lCt(){for(const c of e.getSourceFiles())vCe(c,se);ti=new Map;let r;for(const c of e.getSourceFiles())if(!c.redirectInfo){if(!lp(c)){const _=c.locals.get("globalThis");if(_!=null&&_.declarations)for(const m of _.declarations)Do.add(ni(m,v.Declaration_name_conflicts_with_built_in_global_identifier_0,"globalThis"));Tu(Ke,c.locals)}c.jsGlobalAugmentations&&Tu(Ke,c.jsGlobalAugmentations),c.patternAmbientModules&&c.patternAmbientModules.length&&(Va=Cr(Va,c.patternAmbientModules)),c.moduleAugmentations.length&&(r||(r=[])).push(c.moduleAugmentations),c.symbol&&c.symbol.globalExports&&c.symbol.globalExports.forEach((m,b)=>{Ke.has(b)||Ke.set(b,m)})}if(r)for(const c of r)for(const _ of c)Km(_.parent)&&yk(_);if(o3(Ke,c2,v.Declaration_name_conflicts_with_built_in_global_identifier_0),ys(We).type=ct,ys(jt).type=ql("IArguments",0,!0),ys(Tr).type=Ne,ys(gt).type=vp(16,gt),Zo=ql("Array",1,!0),ka=ql("Object",0,!0),Hc=ql("Function",0,!0),Ql=Se&&ql("CallableFunction",0,!0)||Hc,a_=Se&&ql("NewableFunction",0,!0)||Hc,Gc=ql("String",0,!0),q_=ql("Number",0,!0),wl=ql("Boolean",0,!0),Fp=ql("RegExp",0,!0),Vt=yf(Fe),tn=yf(Pt),tn===js&&(tn=pc(void 0,ue,pt,pt,pt)),zo=yOe("ReadonlyArray",1)||Zo,ks=zo?j8(zo,[Fe]):Vt,De=yOe("ThisType",1),r)for(const c of r)for(const _ of c)Km(_.parent)||yk(_);ti.forEach(({firstFile:c,secondFile:_,conflictingSymbols:m})=>{if(m.size<8)m.forEach(({isBlockScoped:b,firstFileLocations:x,secondFileLocations:D},j)=>{const $=b?v.Cannot_redeclare_block_scoped_variable_0:v.Duplicate_identifier_0;for(const re of x)Yu(re,$,j,D);for(const re of D)Yu(re,$,j,x)});else{const b=ao(m.keys()).join(", ");Do.add(Eo(ni(c,v.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,b),ni(_,v.Conflicts_are_in_this_file))),Do.add(Eo(ni(_,v.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,b),ni(c,v.Conflicts_are_in_this_file)))}}),ti=void 0}function Kl(r,c){if((d&c)!==c&&se.importHelpers){const _=bn(r);if(OC(_,se)&&!(r.flags&16777216)){const m=fCt(_,r);if(m!==Tr){const b=c&~d;for(let x=1;x<=16777216;x<<=1)if(b&x)for(const D of uCt(x)){if(f.has(D))continue;f.add(D);const j=H_(m.exports,Vc(D),111551);j?x&524288?Oe(E2(j),$=>K_($)>3)||nt(r,v.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,qb,D,4):x&1048576?Oe(E2(j),$=>K_($)>4)||nt(r,v.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,qb,D,5):x&1024&&(Oe(E2(j),$=>K_($)>2)||nt(r,v.This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0,qb,D,3)):nt(r,v.This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0,qb,D)}}d|=c}}}function uCt(r){switch(r){case 1:return["__extends"];case 2:return["__assign"];case 4:return["__rest"];case 8:return fe?["__decorate"]:["__esDecorate","__runInitializers"];case 16:return["__metadata"];case 32:return["__param"];case 64:return["__awaiter"];case 128:return["__generator"];case 256:return["__values"];case 512:return["__read"];case 1024:return["__spreadArray"];case 2048:return["__await"];case 4096:return["__asyncGenerator"];case 8192:return["__asyncDelegator"];case 16384:return["__asyncValues"];case 32768:return["__exportStar"];case 65536:return["__importStar"];case 131072:return["__importDefault"];case 262144:return["__makeTemplateObject"];case 524288:return["__classPrivateFieldGet"];case 1048576:return["__classPrivateFieldSet"];case 2097152:return["__classPrivateFieldIn"];case 4194304:return["__createBinding"];case 8388608:return["__setFunctionName"];case 16777216:return["__propKey"];default:return R.fail("Unrecognized helper")}}function fCt(r,c){return g||(g=iu(r,qb,v.This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found,c)||Tr),g}function Sg(r){const c=dCt(r)||_Ct(r);if(c!==void 0)return c;if(ua(r)&&kT(r))return xu(r,v.Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters);let _,m,b,x,D,j=0,$=!1,re=!1;for(const ae of r.modifiers)if(Df(ae)){if(fj(fe,r,r.parent,r.parent.parent)){if(fe&&(r.kind===174||r.kind===175)){const ke=Dx(r.parent.members,r);if(ed(ke.firstAccessor)&&r===ke.secondAccessor)return xu(r,v.Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name)}}else return r.kind===171&&!md(r.body)?xu(r,v.A_decorator_can_only_decorate_a_method_implementation_not_an_overload):xu(r,v.Decorators_are_not_valid_here);if(j&-132098)return Ur(ae,v.Decorators_are_not_valid_here);if(re&&j&126975){R.assertIsDefined(D);const ke=bn(ae);return U2(ke)?!1:(Eo(nt(ae,v.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export),ni(D,v.Decorator_used_before_export_here)),!0)}j|=131072,j&126975?j&1&&($=!0):re=!0,D??(D=ae)}else{if(ae.kind!==146){if(r.kind===168||r.kind===170)return Ur(ae,v._0_modifier_cannot_appear_on_a_type_member,qa(ae.kind));if(r.kind===178&&(ae.kind!==124||!Ri(r.parent)))return Ur(ae,v._0_modifier_cannot_appear_on_an_index_signature,qa(ae.kind))}if(ae.kind!==101&&ae.kind!==145&&ae.kind!==85&&r.kind===165)return Ur(ae,v._0_modifier_cannot_appear_on_a_type_parameter,qa(ae.kind));switch(ae.kind){case 85:if(r.kind!==263&&r.kind!==165)return Ur(r,v.A_class_member_cannot_have_the_0_keyword,qa(85));const ke=r.parent;if(r.kind===165&&!(Lc(ke)||Ri(ke)||Vg(ke)||eD(ke)||f4(ke)||K5(ke)||zg(ke)))return Ur(ae,v._0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class,qa(ae.kind));break;case 161:if(j&16384)return Ur(ae,v._0_modifier_already_seen,"override");if(j&2)return Ur(ae,v._0_modifier_cannot_be_used_with_1_modifier,"override","declare");if(j&64)return Ur(ae,v._0_modifier_must_precede_1_modifier,"override","readonly");if(j&128)return Ur(ae,v._0_modifier_must_precede_1_modifier,"override","accessor");if(j&512)return Ur(ae,v._0_modifier_must_precede_1_modifier,"override","async");j|=16384,x=ae;break;case 123:case 122:case 121:const je=bp(qC(ae.kind));if(j&28)return Ur(ae,v.Accessibility_modifier_already_seen);if(j&16384)return Ur(ae,v._0_modifier_must_precede_1_modifier,je,"override");if(j&32)return Ur(ae,v._0_modifier_must_precede_1_modifier,je,"static");if(j&128)return Ur(ae,v._0_modifier_must_precede_1_modifier,je,"accessor");if(j&64)return Ur(ae,v._0_modifier_must_precede_1_modifier,je,"readonly");if(j&512)return Ur(ae,v._0_modifier_must_precede_1_modifier,je,"async");if(r.parent.kind===265||r.parent.kind===308)return Ur(ae,v._0_modifier_cannot_appear_on_a_module_or_namespace_element,je);if(j&256)return ae.kind===121?Ur(ae,v._0_modifier_cannot_be_used_with_1_modifier,je,"abstract"):Ur(ae,v._0_modifier_must_precede_1_modifier,je,"abstract");if(Wf(r))return Ur(ae,v.An_accessibility_modifier_cannot_be_used_with_a_private_identifier);j|=qC(ae.kind);break;case 124:if(j&32)return Ur(ae,v._0_modifier_already_seen,"static");if(j&64)return Ur(ae,v._0_modifier_must_precede_1_modifier,"static","readonly");if(j&512)return Ur(ae,v._0_modifier_must_precede_1_modifier,"static","async");if(j&128)return Ur(ae,v._0_modifier_must_precede_1_modifier,"static","accessor");if(r.parent.kind===265||r.parent.kind===308)return Ur(ae,v._0_modifier_cannot_appear_on_a_module_or_namespace_element,"static");if(r.kind===166)return Ur(ae,v._0_modifier_cannot_appear_on_a_parameter,"static");if(j&256)return Ur(ae,v._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(j&16384)return Ur(ae,v._0_modifier_must_precede_1_modifier,"static","override");j|=32,_=ae;break;case 127:if(j&128)return Ur(ae,v._0_modifier_already_seen,"accessor");if(j&64)return Ur(ae,v._0_modifier_cannot_be_used_with_1_modifier,"accessor","readonly");if(j&2)return Ur(ae,v._0_modifier_cannot_be_used_with_1_modifier,"accessor","declare");if(r.kind!==169)return Ur(ae,v.accessor_modifier_can_only_appear_on_a_property_declaration);j|=128;break;case 146:if(j&64)return Ur(ae,v._0_modifier_already_seen,"readonly");if(r.kind!==169&&r.kind!==168&&r.kind!==178&&r.kind!==166)return Ur(ae,v.readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature);if(j&128)return Ur(ae,v._0_modifier_cannot_be_used_with_1_modifier,"readonly","accessor");j|=64;break;case 93:if(se.verbatimModuleSyntax&&!(r.flags&16777216)&&r.kind!==262&&r.kind!==261&&r.kind!==264&&r.parent.kind===308&&(ve===1||bn(r).impliedNodeFormat===1))return Ur(ae,v.A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);if(j&1)return Ur(ae,v._0_modifier_already_seen,"export");if(j&2)return Ur(ae,v._0_modifier_must_precede_1_modifier,"export","declare");if(j&256)return Ur(ae,v._0_modifier_must_precede_1_modifier,"export","abstract");if(j&512)return Ur(ae,v._0_modifier_must_precede_1_modifier,"export","async");if(Ri(r.parent))return Ur(ae,v._0_modifier_cannot_appear_on_class_elements_of_this_kind,"export");if(r.kind===166)return Ur(ae,v._0_modifier_cannot_appear_on_a_parameter,"export");j|=1;break;case 88:const Re=r.parent.kind===308?r.parent:r.parent.parent;if(Re.kind===264&&!Af(Re))return Ur(ae,v.A_default_export_can_only_be_used_in_an_ECMAScript_style_module);if(j&1){if($)return Ur(D,v.Decorators_are_not_valid_here)}else return Ur(ae,v._0_modifier_must_precede_1_modifier,"export","default");j|=1024;break;case 136:if(j&2)return Ur(ae,v._0_modifier_already_seen,"declare");if(j&512)return Ur(ae,v._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(j&16384)return Ur(ae,v._0_modifier_cannot_be_used_in_an_ambient_context,"override");if(Ri(r.parent)&&!Pa(r))return Ur(ae,v._0_modifier_cannot_appear_on_class_elements_of_this_kind,"declare");if(r.kind===166)return Ur(ae,v._0_modifier_cannot_appear_on_a_parameter,"declare");if(r.parent.flags&16777216&&r.parent.kind===265)return Ur(ae,v.A_declare_modifier_cannot_be_used_in_an_already_ambient_context);if(Wf(r))return Ur(ae,v._0_modifier_cannot_be_used_with_a_private_identifier,"declare");if(j&128)return Ur(ae,v._0_modifier_cannot_be_used_with_1_modifier,"declare","accessor");j|=2,m=ae;break;case 126:if(j&256)return Ur(ae,v._0_modifier_already_seen,"abstract");if(r.kind!==260&&r.kind!==182){if(r.kind!==171&&r.kind!==169&&r.kind!==174&&r.kind!==175)return Ur(ae,v.abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration);if(!(r.parent.kind===260&&Ti(r.parent,256)))return Ur(ae,v.Abstract_methods_can_only_appear_within_an_abstract_class);if(j&32)return Ur(ae,v._0_modifier_cannot_be_used_with_1_modifier,"static","abstract");if(j&8)return Ur(ae,v._0_modifier_cannot_be_used_with_1_modifier,"private","abstract");if(j&512&&b)return Ur(b,v._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");if(j&16384)return Ur(ae,v._0_modifier_must_precede_1_modifier,"abstract","override");if(j&128)return Ur(ae,v._0_modifier_must_precede_1_modifier,"abstract","accessor")}if(of(r)&&r.name.kind===80)return Ur(ae,v._0_modifier_cannot_be_used_with_a_private_identifier,"abstract");j|=256;break;case 132:if(j&512)return Ur(ae,v._0_modifier_already_seen,"async");if(j&2||r.parent.flags&16777216)return Ur(ae,v._0_modifier_cannot_be_used_in_an_ambient_context,"async");if(r.kind===166)return Ur(ae,v._0_modifier_cannot_appear_on_a_parameter,"async");if(j&256)return Ur(ae,v._0_modifier_cannot_be_used_with_1_modifier,"async","abstract");j|=512,b=ae;break;case 101:case 145:const Ct=ae.kind===101?32768:65536,Qt=ae.kind===101?"in":"out";if(r.kind!==165||!(Yf(r.parent)||Ri(r.parent)||sh(r.parent)))return Ur(ae,v._0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias,Qt);if(j&Ct)return Ur(ae,v._0_modifier_already_seen,Qt);if(Ct&32768&&j&65536)return Ur(ae,v._0_modifier_must_precede_1_modifier,"in","out");j|=Ct;break}}return r.kind===173?j&32?Ur(_,v._0_modifier_cannot_appear_on_a_constructor_declaration,"static"):j&16384?Ur(x,v._0_modifier_cannot_appear_on_a_constructor_declaration,"override"):j&512?Ur(b,v._0_modifier_cannot_appear_on_a_constructor_declaration,"async"):!1:(r.kind===269||r.kind===268)&&j&2?Ur(m,v.A_0_modifier_cannot_be_used_with_an_import_declaration,"declare"):r.kind===166&&j&16476&&xa(r.name)?Ur(r,v.A_parameter_property_may_not_be_declared_using_a_binding_pattern):r.kind===166&&j&16476&&r.dotDotDotToken?Ur(r,v.A_parameter_property_cannot_be_declared_using_a_rest_parameter):j&512?hCt(r,b):!1}function _Ct(r){if(!r.modifiers)return!1;const c=pCt(r);return c&&xu(c,v.Modifiers_cannot_appear_here)}function Tme(r,c){const _=He(r.modifiers,ja);return _&&_.kind!==c?_:void 0}function pCt(r){switch(r.kind){case 174:case 175:case 173:case 169:case 168:case 171:case 170:case 178:case 264:case 269:case 268:case 275:case 274:case 215:case 216:case 166:case 165:return;case 172:case 299:case 300:case 267:case 279:return He(r.modifiers,ja);default:if(r.parent.kind===265||r.parent.kind===308)return;switch(r.kind){case 259:return Tme(r,132);case 260:case 182:return Tme(r,126);case 228:case 261:case 240:case 262:return He(r.modifiers,ja);case 263:return Tme(r,85);default:R.assertNever(r)}}}function dCt(r){const c=mCt(r);return c&&xu(c,v.Decorators_are_not_valid_here)}function mCt(r){return Nre(r)?He(r.modifiers,Df):void 0}function hCt(r,c){switch(r.kind){case 171:case 259:case 215:case 216:return!1}return Ur(c,v._0_modifier_cannot_be_used_here,"async")}function jk(r,c=v.Trailing_comma_not_allowed){return r&&r.hasTrailingComma?z2(r[0],r.end-1,1,c):!1}function mRe(r,c){if(r&&r.length===0){const _=r.pos-1,m=wo(c.text,r.end)+1;return z2(c,_,m-_,v.Type_parameter_list_cannot_be_empty)}return!1}function gCt(r){let c=!1;const _=r.length;for(let m=0;m<_;m++){const b=r[m];if(b.dotDotDotToken){if(m!==_-1)return Ur(b.dotDotDotToken,v.A_rest_parameter_must_be_last_in_a_parameter_list);if(b.flags&16777216||jk(r,v.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),b.questionToken)return Ur(b.questionToken,v.A_rest_parameter_cannot_be_optional);if(b.initializer)return Ur(b.name,v.A_rest_parameter_cannot_have_an_initializer)}else if(L8(b)){if(c=!0,b.questionToken&&b.initializer)return Ur(b.name,v.Parameter_cannot_have_question_mark_and_initializer)}else if(c&&!b.initializer)return Ur(b.name,v.A_required_parameter_cannot_follow_an_optional_parameter)}}function yCt(r){return hr(r,c=>!!c.initializer||xa(c.name)||Lg(c))}function vCt(r){if(V>=3){const c=r.body&&Fa(r.body)&&Ere(r.body.statements);if(c){const _=yCt(r.parameters);if(H(_)){Q(_,b=>{Eo(nt(b,v.This_parameter_is_not_allowed_with_use_strict_directive),ni(c,v.use_strict_directive_used_here))});const m=_.map((b,x)=>x===0?ni(b,v.Non_simple_parameter_declared_here):ni(b,v.and_here));return Eo(nt(c,v.use_strict_directive_cannot_be_used_with_non_simple_parameter_list),...m),!0}}}return!1}function tG(r){const c=bn(r);return Sg(r)||mRe(r.typeParameters,c)||gCt(r.parameters)||TCt(r,c)||Lc(r)&&vCt(r)}function bCt(r){const c=bn(r);return wCt(r)||mRe(r.typeParameters,c)}function TCt(r,c){if(!Ac(r))return!1;r.typeParameters&&!(H(r.typeParameters)>1||r.typeParameters.hasTrailingComma||r.typeParameters[0].constraint)&&c&&cu(c.fileName,[".mts",".cts"])&&Ur(r.typeParameters[0],v.This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint);const{equalsGreaterThanToken:_}=r,m=zc(c,_.pos).line,b=zc(c,_.end).line;return m!==b&&Ur(_,v.Line_terminator_not_permitted_before_arrow)}function SCt(r){const c=r.parameters[0];if(r.parameters.length!==1)return Ur(c?c.name:r,v.An_index_signature_must_have_exactly_one_parameter);if(jk(r.parameters,v.An_index_signature_cannot_have_a_trailing_comma),c.dotDotDotToken)return Ur(c.dotDotDotToken,v.An_index_signature_cannot_have_a_rest_parameter);if(Nj(c))return Ur(c.name,v.An_index_signature_parameter_cannot_have_an_accessibility_modifier);if(c.questionToken)return Ur(c.questionToken,v.An_index_signature_parameter_cannot_have_a_question_mark);if(c.initializer)return Ur(c.name,v.An_index_signature_parameter_cannot_have_an_initializer);if(!c.type)return Ur(c.name,v.An_index_signature_parameter_must_have_a_type_annotation);const _=Bi(c.type);return my(_,m=>!!(m.flags&8576))||T3(_)?Ur(c.name,v.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead):bg(_,xW)?r.type?!1:Ur(r,v.An_index_signature_must_have_a_type_annotation):Ur(c.name,v.An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type)}function xCt(r){return Sg(r)||SCt(r)}function kCt(r,c){if(c&&c.length===0){const _=bn(r),m=c.pos-1,b=wo(_.text,c.end)+1;return z2(_,m,b-m,v.Type_argument_list_cannot_be_empty)}return!1}function GM(r,c){return jk(c)||kCt(r,c)}function CCt(r){return r.questionDotToken||r.flags&32?Ur(r.template,v.Tagged_template_expressions_are_not_permitted_in_an_optional_chain):!1}function hRe(r){const c=r.types;if(jk(c))return!0;if(c&&c.length===0){const _=qa(r.token);return z2(r,c.pos,0,v._0_list_cannot_be_empty,_)}return Oe(c,gRe)}function gRe(r){return n1(r)&&KP(r.expression)&&r.typeArguments?Ur(r,v.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments):GM(r,r.typeArguments)}function wCt(r){let c=!1,_=!1;if(!Sg(r)&&r.heritageClauses)for(const m of r.heritageClauses){if(m.token===94){if(c)return xu(m,v.extends_clause_already_seen);if(_)return xu(m,v.extends_clause_must_precede_implements_clause);if(m.types.length>1)return xu(m.types[1],v.Classes_can_only_extend_a_single_class);c=!0}else{if(R.assert(m.token===117),_)return xu(m,v.implements_clause_already_seen);_=!0}hRe(m)}}function ECt(r){let c=!1;if(r.heritageClauses)for(const _ of r.heritageClauses){if(_.token===94){if(c)return xu(_,v.extends_clause_already_seen);c=!0}else return R.assert(_.token===117),xu(_,v.Interface_declaration_cannot_have_implements_clause);hRe(_)}return!1}function rG(r){if(r.kind!==164)return!1;const c=r;return c.expression.kind===223&&c.expression.operatorToken.kind===27?Ur(c.expression,v.A_comma_expression_is_not_allowed_in_a_computed_property_name):!1}function Sme(r){if(r.asteriskToken){if(R.assert(r.kind===259||r.kind===215||r.kind===171),r.flags&16777216)return Ur(r.asteriskToken,v.Generators_are_not_allowed_in_an_ambient_context);if(!r.body)return Ur(r.asteriskToken,v.An_overload_signature_cannot_be_declared_as_a_generator)}}function xme(r,c){return!!r&&Ur(r,c)}function yRe(r,c){return!!r&&Ur(r,c)}function ACt(r,c){const _=new Map;for(const m of r.properties){if(m.kind===301){if(c){const D=xc(m.expression);if(Nf(D)||cc(D))return Ur(m.expression,v.A_rest_element_cannot_contain_a_binding_pattern)}continue}const b=m.name;if(b.kind===164&&rG(b),m.kind===300&&!c&&m.objectAssignmentInitializer&&Ur(m.equalsToken,v.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),b.kind===80&&Ur(b,v.Private_identifiers_are_not_allowed_outside_class_bodies),Qd(m)&&m.modifiers)for(const D of m.modifiers)ja(D)&&(D.kind!==132||m.kind!==171)&&Ur(D,v._0_modifier_cannot_be_used_here,lu(D));else if(vxe(m)&&m.modifiers)for(const D of m.modifiers)ja(D)&&Ur(D,v._0_modifier_cannot_be_used_here,lu(D));let x;switch(m.kind){case 300:case 299:yRe(m.exclamationToken,v.A_definite_assignment_assertion_is_not_permitted_in_this_context),xme(m.questionToken,v.An_object_member_cannot_be_declared_optional),b.kind===8&&wme(b),x=4;break;case 171:x=8;break;case 174:x=1;break;case 175:x=2;break;default:throw R.assertNever(m,"Unexpected syntax kind:"+m.kind)}if(!c){const D=ST(b);if(D===void 0)continue;const j=_.get(D);if(!j)_.set(D,x);else if(x&8&&j&8)Ur(b,v.Duplicate_identifier_0,lu(b));else if(x&4&&j&4)Ur(b,v.An_object_literal_cannot_have_multiple_properties_with_the_same_name,lu(b));else if(x&3&&j&3)if(j!==3&&x!==j)_.set(D,x|j);else return Ur(b,v.An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name);else return Ur(b,v.An_object_literal_cannot_have_property_and_accessor_with_the_same_name)}}}function PCt(r){DCt(r.tagName),GM(r,r.typeArguments);const c=new Map;for(const _ of r.attributes.properties){if(_.kind===290)continue;const{name:m,initializer:b}=_;if(!c.get(m.escapedText))c.set(m.escapedText,!0);else return Ur(m,v.JSX_elements_cannot_have_multiple_attributes_with_the_same_name);if(b&&b.kind===291&&!b.expression)return Ur(b,v.JSX_attributes_must_only_be_assigned_a_non_empty_expression)}}function DCt(r){if(oi(r)){let _=r;do{const b=c(_.name);if(b)return b;_=_.expression}while(oi(_));const m=c(_);if(m)return m}function c(_){if(Ye(_)&&ai(_).indexOf(":")!==-1)return Ur(_,v.JSX_property_access_expressions_cannot_include_JSX_namespace_names)}}function NCt(r){if(r.expression&&pD(r.expression))return Ur(r.expression,v.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array)}function vRe(r){if(hy(r))return!0;if(r.kind===247&&r.awaitModifier&&!(r.flags&32768)){const c=bn(r);if(cj(r)){if(!U2(c))switch(OC(c,se)||Do.add(ni(r.awaitModifier,v.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)),ve){case 100:case 199:if(c.impliedNodeFormat===1){Do.add(ni(r.awaitModifier,v.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level));break}case 7:case 99:case 4:if(V>=4)break;default:Do.add(ni(r.awaitModifier,v.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher));break}}else if(!U2(c)){const _=ni(r.awaitModifier,v.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules),m=Pp(r);if(m&&m.kind!==173){R.assert((Au(m)&2)===0,"Enclosing function should never be an async function.");const b=ni(m,v.Did_you_mean_to_mark_this_function_as_async);Eo(_,b)}return Do.add(_),!0}return!1}if(rO(r)&&!(r.flags&32768)&&Ye(r.initializer)&&r.initializer.escapedText==="async")return Ur(r.initializer,v.The_left_hand_side_of_a_for_of_statement_may_not_be_async),!1;if(r.initializer.kind===258){const c=r.initializer;if(!Cme(c)){const _=c.declarations;if(!_.length)return!1;if(_.length>1){const b=r.kind===246?v.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:v.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement;return xu(c.declarations[1],b)}const m=_[0];if(m.initializer){const b=r.kind===246?v.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:v.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer;return Ur(m.name,b)}if(m.type){const b=r.kind===246?v.The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:v.The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation;return Ur(m,b)}}}return!1}function ICt(r){if(!(r.flags&16777216)&&r.parent.kind!==184&&r.parent.kind!==261){if(V<1)return Ur(r.name,v.Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher);if(V<2&&as(r.name))return Ur(r.name,v.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(r.body===void 0&&!Ti(r,256))return z2(r,r.end-1,1,v._0_expected,"{")}if(r.body){if(Ti(r,256))return Ur(r,v.An_abstract_accessor_cannot_have_an_implementation);if(r.parent.kind===184||r.parent.kind===261)return Ur(r.body,v.An_implementation_cannot_be_declared_in_ambient_contexts)}if(r.typeParameters)return Ur(r.name,v.An_accessor_cannot_have_type_parameters);if(!OCt(r))return Ur(r.name,r.kind===174?v.A_get_accessor_cannot_have_parameters:v.A_set_accessor_must_have_exactly_one_parameter);if(r.kind===175){if(r.type)return Ur(r.name,v.A_set_accessor_cannot_have_a_return_type_annotation);const c=R.checkDefined(xP(r),"Return value does not match parameter count assertion.");if(c.dotDotDotToken)return Ur(c.dotDotDotToken,v.A_set_accessor_cannot_have_rest_parameter);if(c.questionToken)return Ur(c.questionToken,v.A_set_accessor_cannot_have_an_optional_parameter);if(c.initializer)return Ur(r.name,v.A_set_accessor_parameter_cannot_have_an_initializer)}return!1}function OCt(r){return kme(r)||r.parameters.length===(r.kind===174?0:1)}function kme(r){if(r.parameters.length===(r.kind===174?1:2))return xT(r)}function LCt(r){if(r.operator===156){if(r.type.kind!==153)return Ur(r.type,v._0_expected,qa(153));let c=e5(r.parent);if(Mn(c)&&Jx(c)){const _=jC(c);_&&(c=U6(_)||_)}switch(c.kind){case 257:const _=c;if(_.name.kind!==79)return Ur(r,v.unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name);if(!nj(_))return Ur(r,v.unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement);if(!(_.parent.flags&2))return Ur(c.name,v.A_variable_whose_type_is_a_unique_symbol_type_must_be_const);break;case 169:if(!ba(c)||!kP(c))return Ur(c.name,v.A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly);break;case 168:if(!Ti(c,64))return Ur(c.name,v.A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly);break;default:return Ur(r,v.unique_symbol_types_are_not_allowed_here)}}else if(r.operator===146&&r.type.kind!==185&&r.type.kind!==186)return xu(r,v.readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types,qa(153))}function $3(r,c){if(ugt(r))return Ur(r,c)}function bRe(r){if(tG(r))return!0;if(r.kind===171){if(r.parent.kind===207){if(r.modifiers&&!(r.modifiers.length===1&&Uo(r.modifiers).kind===132))return xu(r,v.Modifiers_cannot_appear_here);if(xme(r.questionToken,v.An_object_member_cannot_be_declared_optional))return!0;if(yRe(r.exclamationToken,v.A_definite_assignment_assertion_is_not_permitted_in_this_context))return!0;if(r.body===void 0)return z2(r,r.end-1,1,v._0_expected,"{")}if(Sme(r))return!0}if(Ri(r.parent)){if(V<2&&as(r.name))return Ur(r.name,v.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(r.flags&16777216)return $3(r.name,v.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(r.kind===171&&!r.body)return $3(r.name,v.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(r.parent.kind===261)return $3(r.name,v.A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type);if(r.parent.kind===184)return $3(r.name,v.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 MCt(r){let c=r;for(;c;){if(T6(c))return Ur(r,v.Jump_target_cannot_cross_function_boundary);switch(c.kind){case 253:if(r.label&&c.label.escapedText===r.label.escapedText)return r.kind===248&&!fv(c.statement,!0)?Ur(r,v.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement):!1;break;case 252:if(r.kind===249&&!r.label)return!1;break;default:if(fv(c,!1)&&!r.label)return!1;break}c=c.parent}if(r.label){const _=r.kind===249?v.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:v.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement;return Ur(r,_)}else{const _=r.kind===249?v.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:v.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement;return Ur(r,_)}}function FCt(r){if(r.dotDotDotToken){const c=r.parent.elements;if(r!==ko(c))return Ur(r,v.A_rest_element_must_be_last_in_a_destructuring_pattern);if(jk(c,v.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma),r.propertyName)return Ur(r.name,v.A_rest_element_cannot_have_a_property_name)}if(r.dotDotDotToken&&r.initializer)return z2(r,r.initializer.pos-1,1,v.A_rest_element_cannot_have_an_initializer)}function TRe(r){return Zp(r)||r.kind===221&&r.operator===40&&r.operand.kind===8}function RCt(r){return r.kind===9||r.kind===221&&r.operator===40&&r.operand.kind===9}function BCt(r){if((oi(r)||qc(r)&&TRe(r.argumentExpression))&&El(r.expression))return!!(Ll(r).flags&1056)}function SRe(r){const c=r.initializer;if(c){const _=!(TRe(c)||BCt(c)||c.kind===110||c.kind===95||RCt(c));if((KB(r)||xs(r)&&My(r))&&!r.type){if(_)return Ur(c,v.A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference)}else return Ur(c,v.Initializers_are_not_allowed_in_ambient_contexts)}}function jCt(r){if(r.parent.parent.kind!==246&&r.parent.parent.kind!==247){if(r.flags&16777216)SRe(r);else if(!r.initializer){if(xa(r.name)&&!xa(r.parent))return Ur(r,v.A_destructuring_declaration_must_have_an_initializer);if(My(r))return Ur(r,v.const_declarations_must_be_initialized)}}if(r.exclamationToken&&(r.parent.parent.kind!==240||!r.type||r.initializer||r.flags&16777216)){const _=r.initializer?v.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:r.type?v.A_definite_assignment_assertion_is_not_permitted_in_this_context:v.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return Ur(r.exclamationToken,_)}return(ve<5||bn(r).impliedNodeFormat===1)&&ve!==4&&!(r.parent.parent.flags&16777216)&&Ti(r.parent.parent,1)&&xRe(r.name),(lP(r)||My(r))&&kRe(r.name)}function xRe(r){if(r.kind===79){if(ai(r)==="__esModule")return zCt("noEmit",r,v.Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules)}else{const c=r.elements;for(const _ of c)if(!yu(_))return xRe(_.name)}return!1}function kRe(r){if(r.kind===79){if(r.escapedText==="let")return Ur(r,v.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations)}else{const c=r.elements;for(const _ of c)yu(_)||kRe(_.name)}return!1}function Cme(r){const c=r.declarations;return jk(r.declarations)?!0:r.declarations.length?!1:z2(r,c.pos,c.end-c.pos,v.Variable_declaration_list_cannot_be_empty)}function CRe(r){switch(r.kind){case 242:case 243:case 244:case 251:case 245:case 246:case 247:return!1;case 253:return CRe(r.parent)}return!0}function JCt(r){if(!CRe(r.parent)){if(lP(r.declarationList))return Ur(r,v.let_declarations_can_only_be_declared_inside_a_block);if(My(r.declarationList))return Ur(r,v.const_declarations_can_only_be_declared_inside_a_block)}}function UCt(r){const c=r.name.escapedText;switch(r.keywordToken){case 103:if(c!=="target")return Ur(r.name,v._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,r.name.escapedText,qa(r.keywordToken),"target");break;case 100:if(c!=="meta")return Ur(r.name,v._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2,r.name.escapedText,qa(r.keywordToken),"meta");break}}function U2(r){return r.parseDiagnostics.length>0}function xu(r,c,_,m,b){const x=bn(r);if(!U2(x)){const D=Y0(x,r.pos);return Do.add(gu(x,D.start,D.length,c,_,m,b)),!0}return!1}function z2(r,c,_,m,b,x,D){const j=bn(r);return U2(j)?!1:(Do.add(gu(j,c,_,m,b,x,D)),!0)}function zCt(r,c,_,m,b,x){const D=bn(c);return U2(D)?!1:(zv(r,c,_,m,b,x),!0)}function Ur(r,c,_,m,b){const x=bn(r);return U2(x)?!1:(Do.add(ni(r,c,_,m,b)),!0)}function VCt(r){const c=Mn(r)?Dj(r):void 0,_=r.typeParameters||c&&Ru(c);if(_){const m=_.pos===_.end?_.pos:wo(bn(r).text,_.pos);return z2(r,m,_.end-m,v.Type_parameters_cannot_appear_on_a_constructor_declaration)}}function $Ct(r){const c=r.type||bm(r);if(c)return Ur(c,v.Type_annotation_cannot_appear_on_a_constructor_declaration)}function qCt(r){if(ac(r.name)&&$n(r.name.expression)&&r.name.expression.operatorToken.kind===101)return Ur(r.parent.members[0],v.A_mapped_type_may_not_declare_properties_or_methods);if(Ri(r.parent)){if(yo(r.name)&&r.name.text==="constructor")return Ur(r.name,v.Classes_may_not_have_a_field_named_constructor);if($3(r.name,v.A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type))return!0;if(V<2&&as(r.name))return Ur(r.name,v.Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(V<2&&op(r))return Ur(r.name,v.Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher);if(op(r)&&xme(r.questionToken,v.An_accessor_property_cannot_be_declared_optional))return!0}else if(r.parent.kind===261){if($3(r.name,v.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(R.assertNode(r,Np),r.initializer)return Ur(r.initializer,v.An_interface_property_cannot_have_an_initializer)}else if(_p(r.parent)){if($3(r.name,v.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(R.assertNode(r,Np),r.initializer)return Ur(r.initializer,v.A_type_literal_property_cannot_have_an_initializer)}if(r.flags&16777216&&SRe(r),Pa(r)&&r.exclamationToken&&(!Ri(r.parent)||!r.type||r.initializer||r.flags&16777216||ba(r)||CT(r))){const c=r.initializer?v.Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:r.type?v.A_definite_assignment_assertion_is_not_permitted_in_this_context:v.Declarations_with_definite_assignment_assertions_must_also_have_type_annotations;return Ur(r.exclamationToken,c)}}function WCt(r){return r.kind===261||r.kind===262||r.kind===269||r.kind===268||r.kind===275||r.kind===274||r.kind===267||Ti(r,1027)?!1:xu(r,v.Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier)}function HCt(r){for(const c of r.statements)if((lf(c)||c.kind===240)&&WCt(c))return!0;return!1}function GCt(r){return!!(r.flags&16777216)&&HCt(r)}function hy(r){if(r.flags&16777216){if(!gi(r).hasReportedStatementInAmbientContext&&(Sa(r.parent)||Mb(r.parent)))return gi(r).hasReportedStatementInAmbientContext=xu(r,v.An_implementation_cannot_be_declared_in_ambient_contexts);if(r.parent.kind===238||r.parent.kind===265||r.parent.kind===308){const _=gi(r.parent);if(!_.hasReportedStatementInAmbientContext)return _.hasReportedStatementInAmbientContext=xu(r,v.Statements_are_not_allowed_in_ambient_contexts)}}return!1}function wme(r){if(r.numericLiteralFlags&32){let c;if(V>=1?c=v.Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher_Use_the_syntax_0:GK(r,198)?c=v.Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0:GK(r,302)&&(c=v.Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0),c){const _=Sv(r.parent)&&r.parent.operator===40,m=(_?"-":"")+"0o"+r.text;return Ur(_?r.parent:r,c,m)}}return XCt(r),!1}function XCt(r){const c=lu(r).indexOf(".")!==-1,_=r.numericLiteralFlags&16;c||_||+r.text<=9007199254740991||h1(!1,ni(r,v.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers))}function QCt(r){return!!(!(Hb(r.parent)||Sv(r.parent)&&Hb(r.parent.parent))&&V<7&&Ur(r,v.BigInt_literals_are_not_available_when_targeting_lower_than_ES2020))}function YCt(r,c,_,m,b){const x=bn(r);if(!U2(x)){const D=Y0(x,r.pos);return Do.add(gu(x,Wu(D),0,c,_,m,b)),!0}return!1}function ZCt(){return jo||(jo=[],Ke.forEach((r,c)=>{JU.test(c)&&jo.push(r)})),jo}function KCt(r){var c;return r.isTypeOnly&&r.name&&r.namedBindings?Ur(r,v.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both):r.isTypeOnly&&((c=r.namedBindings)==null?void 0:c.kind)===272?wRe(r.namedBindings):!1}function wRe(r){return!!Q(r.elements,c=>{if(c.isTypeOnly)return xu(c,c.kind===273?v.The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:v.The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement)})}function ewt(r){if(se.verbatimModuleSyntax&&ve===1)return Ur(r,v.ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled);if(ve===5)return Ur(r,v.Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext);if(r.typeArguments)return Ur(r,v.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments);const c=r.arguments;if(ve!==99&&ve!==199&&ve!==100&&(jk(c),c.length>1)){const m=c[1];return Ur(m,v.Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nodenext)}if(c.length===0||c.length>2)return Ur(r,v.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments);const _=He(c,$g);return _?Ur(_,v.Argument_of_dynamic_import_cannot_be_spread_element):!1}function twt(r,c){const _=Ci(r);if(_&20&&c.flags&1048576)return He(c.types,m=>{if(m.flags&524288){const b=_&Ci(m);if(b&4)return r.target===m.target;if(b&16)return!!r.aliasSymbol&&r.aliasSymbol===m.aliasSymbol}return!1})}function rwt(r,c){if(Ci(r)&128&&my(c,db))return He(c.types,_=>!db(_))}function nwt(r,c){let _=0;if(ya(r,_).length>0||(_=1,ya(r,_).length>0))return He(c.types,b=>ya(b,_).length>0)}function iwt(r,c){let _;if(!(r.flags&406978556)){let m=0;for(const b of c.types)if(!(b.flags&406978556)){const x=no([Sh(r),Sh(b)]);if(x.flags&4194304)return b;if(_m(x)||x.flags&1048576){const D=x.flags&1048576?An(x.types,_m):1;D>=m&&(_=b,m=D)}}}return _}function swt(r){if(Qc(r,67108864)){const c=Zl(r,_=>!(_.flags&134348796));if(!(c.flags&131072))return c}return r}function ERe(r,c,_,m){if(c.flags&1048576&&r.flags&2621440){const b=q9e(c,r);if(b)return b;const x=Ho(r);if(x){const D=$9e(x,c);if(D)return hpe(c,qt(D,j=>[()=>En(j),j.escapedName]),_,void 0,m)}}}}function oKe(e){return!Mb(e)}function UCe(e){return e.kind!==259&&e.kind!==171||!!e.body}function zCe(e){switch(e.parent.kind){case 273:case 278:return Ye(e);default:return By(e)}}function VCe(e){switch(e){case 0:return"yieldType";case 1:return"returnType";case 2:return"nextType"}}function ff(e){return!!(e.flags&1)}function jne(e){return!!(e.flags&2)}function cKe(e){return{getCommonSourceDirectory:e.getCommonSourceDirectory?()=>e.getCommonSourceDirectory():()=>"",getCurrentDirectory:()=>e.getCurrentDirectory(),getSymlinkCache:ho(e,e.getSymlinkCache),getPackageJsonInfoCache:()=>{var t;return(t=e.getPackageJsonInfoCache)==null?void 0:t.call(e)},useCaseSensitiveFileNames:ho(e,e.useCaseSensitiveFileNames),redirectTargetsMap:e.redirectTargetsMap,getProjectReferenceRedirect:t=>e.getProjectReferenceRedirect(t),isSourceOfProjectReferenceRedirect:t=>e.isSourceOfProjectReferenceRedirect(t),fileExists:t=>e.fileExists(t),getFileIncludeReasons:()=>e.getFileIncludeReasons(),readFile:e.readFile?t=>e.readFile(t):void 0}}var JU,qO,Jne,Une,zne,Vne,UU,zU,VU,$U,$Ce,WO,$ne,Ip,HO,lKe=p({"src/compiler/checker.ts"(){aa(),Rne(),oT(),JU=/^".+"$/,qO="(anonymous)",Jne=1,Une=1,zne=1,Vne=1,UU=(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.IsUndefined=16777216]="IsUndefined",e[e.IsNull=33554432]="IsNull",e[e.IsUndefinedOrNull=50331648]="IsUndefinedOrNull",e[e.All=134217727]="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.VoidFacts=9830144]="VoidFacts",e[e.UndefinedFacts=26607360]="UndefinedFacts",e[e.NullFacts=42917664]="NullFacts",e[e.EmptyObjectStrictFacts=83427327]="EmptyObjectStrictFacts",e[e.EmptyObjectFacts=83886079]="EmptyObjectFacts",e[e.UnknownFacts=83886079]="UnknownFacts",e[e.AllTypeofNE=556800]="AllTypeofNE",e[e.OrFactsMask=8256]="OrFactsMask",e[e.AndFactsMask=134209471]="AndFactsMask",e))(UU||{}),zU=new Map(Object.entries({string:256,number:512,bigint:1024,boolean:2048,symbol:4096,undefined:524288,object:8192,function:16384})),VU=(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.IsForStringLiteralArgumentCompletions=32]="IsForStringLiteralArgumentCompletions",e[e.RestBindingElement=64]="RestBindingElement",e))(VU||{}),$U=(e=>(e[e.None=0]="None",e[e.BivariantCallback=1]="BivariantCallback",e[e.StrictCallback=2]="StrictCallback",e[e.IgnoreReturnTypes=4]="IgnoreReturnTypes",e[e.StrictArity=8]="StrictArity",e[e.StrictTopSignature=16]="StrictTopSignature",e[e.Callback=3]="Callback",e))($U||{}),$Ce=WR(UCe,oKe),WO=new Map(Object.entries({Uppercase:0,Lowercase:1,Capitalize:2,Uncapitalize:3})),$ne=class{},(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"})(Ip||(Ip={})),HO=class{constructor(e,t,n){this.moduleResolverHost=void 0,this.inner=void 0,this.disableTrackSymbol=!1;for(var s;t instanceof HO;)t=t.inner;this.inner=t,this.moduleResolverHost=n,this.context=e,this.canTrackSymbol=!!((s=this.inner)!=null&&s.trackSymbol)}trackSymbol(e,t,n){var s;return(s=this.inner)!=null&&s.trackSymbol&&!this.disableTrackSymbol&&this.inner.trackSymbol(e,t,n)?(this.onDiagnosticReported(),!0):!1}reportInaccessibleThisError(){var e;(e=this.inner)!=null&&e.reportInaccessibleThisError&&(this.onDiagnosticReported(),this.inner.reportInaccessibleThisError())}reportPrivateInBaseOfClassExpression(e){var t;(t=this.inner)!=null&&t.reportPrivateInBaseOfClassExpression&&(this.onDiagnosticReported(),this.inner.reportPrivateInBaseOfClassExpression(e))}reportInaccessibleUniqueSymbolError(){var e;(e=this.inner)!=null&&e.reportInaccessibleUniqueSymbolError&&(this.onDiagnosticReported(),this.inner.reportInaccessibleUniqueSymbolError())}reportCyclicStructureError(){var e;(e=this.inner)!=null&&e.reportCyclicStructureError&&(this.onDiagnosticReported(),this.inner.reportCyclicStructureError())}reportLikelyUnsafeImportRequiredError(e){var t;(t=this.inner)!=null&&t.reportLikelyUnsafeImportRequiredError&&(this.onDiagnosticReported(),this.inner.reportLikelyUnsafeImportRequiredError(e))}reportTruncationError(){var e;(e=this.inner)!=null&&e.reportTruncationError&&(this.onDiagnosticReported(),this.inner.reportTruncationError())}trackReferencedAmbientModule(e,t){var n;(n=this.inner)!=null&&n.trackReferencedAmbientModule&&(this.onDiagnosticReported(),this.inner.trackReferencedAmbientModule(e,t))}trackExternalModuleSymbolOfImportTypeNode(e){var t;(t=this.inner)!=null&&t.trackExternalModuleSymbolOfImportTypeNode&&(this.onDiagnosticReported(),this.inner.trackExternalModuleSymbolOfImportTypeNode(e))}reportNonlocalAugmentation(e,t,n){var s;(s=this.inner)!=null&&s.reportNonlocalAugmentation&&(this.onDiagnosticReported(),this.inner.reportNonlocalAugmentation(e,t,n))}reportNonSerializableProperty(e){var t;(t=this.inner)!=null&&t.reportNonSerializableProperty&&(this.onDiagnosticReported(),this.inner.reportNonSerializableProperty(e))}reportImportTypeNodeResolutionModeOverride(){var e;(e=this.inner)!=null&&e.reportImportTypeNodeResolutionModeOverride&&(this.onDiagnosticReported(),this.inner.reportImportTypeNodeResolutionModeOverride())}onDiagnosticReported(){this.context.reportedDiagnostic=!0}}}});function yt(e,t,n,s){if(e===void 0)return e;const l=t(e);let f;if(l!==void 0)return pa(l)?f=(s||dKe)(l):f=l,R.assertNode(f,n),f}function hn(e,t,n,s,l){if(e===void 0)return e;const f=e.length;(s===void 0||s<0)&&(s=0),(l===void 0||l>f-s)&&(l=f-s);let d,g=-1,h=-1;s>0||l<f?d=e.hasTrailingComma&&s+l===f:(g=e.pos,h=e.end,d=e.hasTrailingComma);const k=qCe(e,t,n,s,l);if(k!==e){const S=J.createNodeArray(k,d);return Kh(S,g,h),S}return e}function qne(e,t,n,s,l){if(e===void 0)return e;const f=e.length;return(s===void 0||s<0)&&(s=0),(l===void 0||l>f-s)&&(l=f-s),qCe(e,t,n,s,l)}function qCe(e,t,n,s,l){let f;const d=e.length;(s>0||l<d)&&(f=[]);for(let g=0;g<l;g++){const h=e[g+s],k=h!==void 0?t?t(h):h:void 0;if((f!==void 0||k===void 0||k!==h)&&(f===void 0&&(f=e.slice(0,g),R.assertEachNode(f,n)),k))if(pa(k))for(const S of k)R.assertNode(S,n),f.push(S);else R.assertNode(k,n),f.push(k)}return f||(R.assertEachNode(e,n),e)}function qU(e,t,n,s,l,f=hn){return n.startLexicalEnvironment(),e=f(e,t,Ks,s),l&&(e=n.factory.ensureUseStrict(e)),J.mergeLexicalEnvironment(e,n.endLexicalEnvironment())}function Dl(e,t,n,s=hn){let l;return n.startLexicalEnvironment(),e&&(n.setLexicalEnvironmentFlags(1,!0),l=s(e,t,ua),n.getLexicalEnvironmentFlags()&2&&Io(n.getCompilerOptions())>=2&&(l=uKe(l,n)),n.setLexicalEnvironmentFlags(1,!1)),n.suspendLexicalEnvironment(),l}function uKe(e,t){let n;for(let s=0;s<e.length;s++){const l=e[s],f=fKe(l,t);(n||f!==l)&&(n||(n=e.slice(0,s)),n[s]=f)}return n?Et(t.factory.createNodeArray(n,e.hasTrailingComma),e):e}function fKe(e,t){return e.dotDotDotToken?e:xa(e.name)?_Ke(e,t):e.initializer?pKe(e,e.name,e.initializer,t):e}function _Ke(e,t){const{factory:n}=t;return t.addInitializationStatement(n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(e.name,void 0,e.type,e.initializer?n.createConditionalExpression(n.createStrictEquality(n.getGeneratedNameForNode(e),n.createVoidZero()),void 0,e.initializer,void 0,n.getGeneratedNameForNode(e)):n.getGeneratedNameForNode(e))]))),n.updateParameterDeclaration(e,e.modifiers,e.dotDotDotToken,n.getGeneratedNameForNode(e),e.questionToken,e.type,void 0)}function pKe(e,t,n,s){const l=s.factory;return s.addInitializationStatement(l.createIfStatement(l.createTypeCheck(l.cloneNode(t),"undefined"),Pn(Et(l.createBlock([l.createExpressionStatement(Pn(Et(l.createAssignment(Pn(l.cloneNode(t),96),Pn(n,96|Wa(n)|3072)),e),3072))]),e),3905))),l.updateParameterDeclaration(e,e.modifiers,e.dotDotDotToken,e.name,e.questionToken,e.type,void 0)}function Op(e,t,n,s=yt){n.resumeLexicalEnvironment();const l=s(e,t,jB),f=n.endLexicalEnvironment();if(Oe(f)){if(!l)return n.factory.createBlock(f);const d=n.factory.converters.convertToFunctionBlock(l),g=J.mergeLexicalEnvironment(d.statements,f);return n.factory.updateBlock(d,g)}return l}function Sd(e,t,n,s=yt){n.startBlockScope();const l=s(e,t,Ks,n.factory.liftToBlock);R.assert(l);const f=n.endBlockScope();return Oe(f)?Fa(l)?(f.push(...l.statements),n.factory.updateBlock(l,f)):(f.push(l),n.factory.createBlock(f)):l}function GO(e,t,n=t){if(n===t||e.length<=1)return hn(e,t,Dt);let s=0;const l=e.length;return hn(e,f=>{const d=s<l-1;return s++,d?n(f):t(f)},Dt)}function an(e,t,n,s=hn,l,f=yt){if(e===void 0)return;const d=WCe[e.kind];return d===void 0?e:d(e,t,n,s,f,l)}function dKe(e){return R.assert(e.length<=1,"Too many nodes written to output."),Fh(e)}var WCe,mKe=p({"src/compiler/visitorPublic.ts"(){aa(),WCe={[163]:function(t,n,s,l,f,d){return s.factory.updateQualifiedName(t,R.checkDefined(f(t.left,n,ap)),R.checkDefined(f(t.right,n,Ye)))},[164]:function(t,n,s,l,f,d){return s.factory.updateComputedPropertyName(t,R.checkDefined(f(t.expression,n,Dt)))},[165]:function(t,n,s,l,f,d){return s.factory.updateTypeParameterDeclaration(t,l(t.modifiers,n,ja),R.checkDefined(f(t.name,n,Ye)),f(t.constraint,n,ps),f(t.default,n,ps))},[166]:function(t,n,s,l,f,d){return s.factory.updateParameterDeclaration(t,l(t.modifiers,n,Bc),d?f(t.dotDotDotToken,d,FJ):t.dotDotDotToken,R.checkDefined(f(t.name,n,Og)),d?f(t.questionToken,d,Tv):t.questionToken,f(t.type,n,ps),f(t.initializer,n,Dt))},[167]:function(t,n,s,l,f,d){return s.factory.updateDecorator(t,R.checkDefined(f(t.expression,n,Dt)))},[168]:function(t,n,s,l,f,d){return s.factory.updatePropertySignature(t,l(t.modifiers,n,ja),R.checkDefined(f(t.name,n,rl)),d?f(t.questionToken,d,Tv):t.questionToken,f(t.type,n,ps))},[169]:function(t,n,s,l,f,d){var g,h;return s.factory.updatePropertyDeclaration(t,l(t.modifiers,n,Bc),R.checkDefined(f(t.name,n,rl)),d?f((g=t.questionToken)!=null?g:t.exclamationToken,d,bxe):(h=t.questionToken)!=null?h:t.exclamationToken,f(t.type,n,ps),f(t.initializer,n,Dt))},[170]:function(t,n,s,l,f,d){return s.factory.updateMethodSignature(t,l(t.modifiers,n,ja),R.checkDefined(f(t.name,n,rl)),d?f(t.questionToken,d,Tv):t.questionToken,l(t.typeParameters,n,bl),l(t.parameters,n,ua),f(t.type,n,ps))},[171]:function(t,n,s,l,f,d){return s.factory.updateMethodDeclaration(t,l(t.modifiers,n,Bc),d?f(t.asteriskToken,d,Y5):t.asteriskToken,R.checkDefined(f(t.name,n,rl)),d?f(t.questionToken,d,Tv):t.questionToken,l(t.typeParameters,n,bl),Dl(t.parameters,n,s,l),f(t.type,n,ps),Op(t.body,n,s,f))},[173]:function(t,n,s,l,f,d){return s.factory.updateConstructorDeclaration(t,l(t.modifiers,n,Bc),Dl(t.parameters,n,s,l),Op(t.body,n,s,f))},[174]:function(t,n,s,l,f,d){return s.factory.updateGetAccessorDeclaration(t,l(t.modifiers,n,Bc),R.checkDefined(f(t.name,n,rl)),Dl(t.parameters,n,s,l),f(t.type,n,ps),Op(t.body,n,s,f))},[175]:function(t,n,s,l,f,d){return s.factory.updateSetAccessorDeclaration(t,l(t.modifiers,n,Bc),R.checkDefined(f(t.name,n,rl)),Dl(t.parameters,n,s,l),Op(t.body,n,s,f))},[172]:function(t,n,s,l,f,d){return s.startLexicalEnvironment(),s.suspendLexicalEnvironment(),s.factory.updateClassStaticBlockDeclaration(t,Op(t.body,n,s,f))},[176]:function(t,n,s,l,f,d){return s.factory.updateCallSignature(t,l(t.typeParameters,n,bl),l(t.parameters,n,ua),f(t.type,n,ps))},[177]:function(t,n,s,l,f,d){return s.factory.updateConstructSignature(t,l(t.typeParameters,n,bl),l(t.parameters,n,ua),f(t.type,n,ps))},[178]:function(t,n,s,l,f,d){return s.factory.updateIndexSignature(t,l(t.modifiers,n,Bc),l(t.parameters,n,ua),R.checkDefined(f(t.type,n,ps)))},[179]:function(t,n,s,l,f,d){return s.factory.updateTypePredicateNode(t,f(t.assertsModifier,n,USe),R.checkDefined(f(t.parameterName,n,Txe)),f(t.type,n,ps))},[180]:function(t,n,s,l,f,d){return s.factory.updateTypeReferenceNode(t,R.checkDefined(f(t.typeName,n,ap)),l(t.typeArguments,n,ps))},[181]:function(t,n,s,l,f,d){return s.factory.updateFunctionTypeNode(t,l(t.typeParameters,n,bl),l(t.parameters,n,ua),R.checkDefined(f(t.type,n,ps)))},[182]:function(t,n,s,l,f,d){return s.factory.updateConstructorTypeNode(t,l(t.modifiers,n,ja),l(t.typeParameters,n,bl),l(t.parameters,n,ua),R.checkDefined(f(t.type,n,ps)))},[183]:function(t,n,s,l,f,d){return s.factory.updateTypeQueryNode(t,R.checkDefined(f(t.exprName,n,ap)),l(t.typeArguments,n,ps))},[184]:function(t,n,s,l,f,d){return s.factory.updateTypeLiteralNode(t,l(t.members,n,dx))},[185]:function(t,n,s,l,f,d){return s.factory.updateArrayTypeNode(t,R.checkDefined(f(t.elementType,n,ps)))},[186]:function(t,n,s,l,f,d){return s.factory.updateTupleTypeNode(t,l(t.elements,n,ps))},[187]:function(t,n,s,l,f,d){return s.factory.updateOptionalTypeNode(t,R.checkDefined(f(t.type,n,ps)))},[188]:function(t,n,s,l,f,d){return s.factory.updateRestTypeNode(t,R.checkDefined(f(t.type,n,ps)))},[189]:function(t,n,s,l,f,d){return s.factory.updateUnionTypeNode(t,l(t.types,n,ps))},[190]:function(t,n,s,l,f,d){return s.factory.updateIntersectionTypeNode(t,l(t.types,n,ps))},[191]:function(t,n,s,l,f,d){return s.factory.updateConditionalTypeNode(t,R.checkDefined(f(t.checkType,n,ps)),R.checkDefined(f(t.extendsType,n,ps)),R.checkDefined(f(t.trueType,n,ps)),R.checkDefined(f(t.falseType,n,ps)))},[192]:function(t,n,s,l,f,d){return s.factory.updateInferTypeNode(t,R.checkDefined(f(t.typeParameter,n,bl)))},[202]:function(t,n,s,l,f,d){return s.factory.updateImportTypeNode(t,R.checkDefined(f(t.argument,n,ps)),f(t.assertions,n,ZSe),f(t.qualifier,n,ap),l(t.typeArguments,n,ps),t.isTypeOf)},[298]:function(t,n,s,l,f,d){return s.factory.updateImportTypeAssertionContainer(t,R.checkDefined(f(t.assertClause,n,$J)),t.multiLine)},[199]:function(t,n,s,l,f,d){return s.factory.updateNamedTupleMember(t,d?f(t.dotDotDotToken,d,FJ):t.dotDotDotToken,R.checkDefined(f(t.name,n,Ye)),d?f(t.questionToken,d,Tv):t.questionToken,R.checkDefined(f(t.type,n,ps)))},[193]:function(t,n,s,l,f,d){return s.factory.updateParenthesizedType(t,R.checkDefined(f(t.type,n,ps)))},[195]:function(t,n,s,l,f,d){return s.factory.updateTypeOperatorNode(t,R.checkDefined(f(t.type,n,ps)))},[196]:function(t,n,s,l,f,d){return s.factory.updateIndexedAccessTypeNode(t,R.checkDefined(f(t.objectType,n,ps)),R.checkDefined(f(t.indexType,n,ps)))},[197]:function(t,n,s,l,f,d){return s.factory.updateMappedTypeNode(t,d?f(t.readonlyToken,d,Sxe):t.readonlyToken,R.checkDefined(f(t.typeParameter,n,bl)),f(t.nameType,n,ps),d?f(t.questionToken,d,xxe):t.questionToken,f(t.type,n,ps),l(t.members,n,dx))},[198]:function(t,n,s,l,f,d){return s.factory.updateLiteralTypeNode(t,R.checkDefined(f(t.literal,n,Ebe)))},[200]:function(t,n,s,l,f,d){return s.factory.updateTemplateLiteralType(t,R.checkDefined(f(t.head,n,u4)),l(t.templateSpans,n,HSe))},[201]:function(t,n,s,l,f,d){return s.factory.updateTemplateLiteralTypeSpan(t,R.checkDefined(f(t.type,n,ps)),R.checkDefined(f(t.literal,n,MB)))},[203]:function(t,n,s,l,f,d){return s.factory.updateObjectBindingPattern(t,l(t.elements,n,qo))},[204]:function(t,n,s,l,f,d){return s.factory.updateArrayBindingPattern(t,l(t.elements,n,RB))},[205]:function(t,n,s,l,f,d){return s.factory.updateBindingElement(t,d?f(t.dotDotDotToken,d,FJ):t.dotDotDotToken,f(t.propertyName,n,rl),R.checkDefined(f(t.name,n,Og)),f(t.initializer,n,Dt))},[206]:function(t,n,s,l,f,d){return s.factory.updateArrayLiteralExpression(t,l(t.elements,n,Dt))},[207]:function(t,n,s,l,f,d){return s.factory.updateObjectLiteralExpression(t,l(t.properties,n,X0))},[208]:function(t,n,s,l,f,d){return NB(t)?s.factory.updatePropertyAccessChain(t,R.checkDefined(f(t.expression,n,Dt)),d?f(t.questionDotToken,d,RJ):t.questionDotToken,R.checkDefined(f(t.name,n,Ny))):s.factory.updatePropertyAccessExpression(t,R.checkDefined(f(t.expression,n,Dt)),R.checkDefined(f(t.name,n,Ny)))},[209]:function(t,n,s,l,f,d){return rK(t)?s.factory.updateElementAccessChain(t,R.checkDefined(f(t.expression,n,Dt)),d?f(t.questionDotToken,d,RJ):t.questionDotToken,R.checkDefined(f(t.argumentExpression,n,Dt))):s.factory.updateElementAccessExpression(t,R.checkDefined(f(t.expression,n,Dt)),R.checkDefined(f(t.argumentExpression,n,Dt)))},[210]:function(t,n,s,l,f,d){return _x(t)?s.factory.updateCallChain(t,R.checkDefined(f(t.expression,n,Dt)),d?f(t.questionDotToken,d,RJ):t.questionDotToken,l(t.typeArguments,n,ps),l(t.arguments,n,Dt)):s.factory.updateCallExpression(t,R.checkDefined(f(t.expression,n,Dt)),l(t.typeArguments,n,ps),l(t.arguments,n,Dt))},[211]:function(t,n,s,l,f,d){return s.factory.updateNewExpression(t,R.checkDefined(f(t.expression,n,Dt)),l(t.typeArguments,n,ps),l(t.arguments,n,Dt))},[212]:function(t,n,s,l,f,d){return s.factory.updateTaggedTemplateExpression(t,R.checkDefined(f(t.tag,n,Dt)),l(t.typeArguments,n,ps),R.checkDefined(f(t.template,n,x6)))},[213]:function(t,n,s,l,f,d){return s.factory.updateTypeAssertion(t,R.checkDefined(f(t.type,n,ps)),R.checkDefined(f(t.expression,n,Dt)))},[214]:function(t,n,s,l,f,d){return s.factory.updateParenthesizedExpression(t,R.checkDefined(f(t.expression,n,Dt)))},[215]:function(t,n,s,l,f,d){return s.factory.updateFunctionExpression(t,l(t.modifiers,n,ja),d?f(t.asteriskToken,d,Y5):t.asteriskToken,f(t.name,n,Ye),l(t.typeParameters,n,bl),Dl(t.parameters,n,s,l),f(t.type,n,ps),Op(t.body,n,s,f))},[216]:function(t,n,s,l,f,d){return s.factory.updateArrowFunction(t,l(t.modifiers,n,ja),l(t.typeParameters,n,bl),Dl(t.parameters,n,s,l),f(t.type,n,ps),d?R.checkDefined(f(t.equalsGreaterThanToken,d,jSe)):t.equalsGreaterThanToken,Op(t.body,n,s,f))},[217]:function(t,n,s,l,f,d){return s.factory.updateDeleteExpression(t,R.checkDefined(f(t.expression,n,Dt)))},[218]:function(t,n,s,l,f,d){return s.factory.updateTypeOfExpression(t,R.checkDefined(f(t.expression,n,Dt)))},[219]:function(t,n,s,l,f,d){return s.factory.updateVoidExpression(t,R.checkDefined(f(t.expression,n,Dt)))},[220]:function(t,n,s,l,f,d){return s.factory.updateAwaitExpression(t,R.checkDefined(f(t.expression,n,Dt)))},[221]:function(t,n,s,l,f,d){return s.factory.updatePrefixUnaryExpression(t,R.checkDefined(f(t.operand,n,Dt)))},[222]:function(t,n,s,l,f,d){return s.factory.updatePostfixUnaryExpression(t,R.checkDefined(f(t.operand,n,Dt)))},[223]:function(t,n,s,l,f,d){return s.factory.updateBinaryExpression(t,R.checkDefined(f(t.left,n,Dt)),d?R.checkDefined(f(t.operatorToken,d,Cxe)):t.operatorToken,R.checkDefined(f(t.right,n,Dt)))},[224]:function(t,n,s,l,f,d){return s.factory.updateConditionalExpression(t,R.checkDefined(f(t.condition,n,Dt)),d?R.checkDefined(f(t.questionToken,d,Tv)):t.questionToken,R.checkDefined(f(t.whenTrue,n,Dt)),d?R.checkDefined(f(t.colonToken,d,BSe)):t.colonToken,R.checkDefined(f(t.whenFalse,n,Dt)))},[225]:function(t,n,s,l,f,d){return s.factory.updateTemplateExpression(t,R.checkDefined(f(t.head,n,u4)),l(t.templateSpans,n,aD))},[226]:function(t,n,s,l,f,d){return s.factory.updateYieldExpression(t,d?f(t.asteriskToken,d,Y5):t.asteriskToken,f(t.expression,n,Dt))},[227]:function(t,n,s,l,f,d){return s.factory.updateSpreadElement(t,R.checkDefined(f(t.expression,n,Dt)))},[228]:function(t,n,s,l,f,d){return s.factory.updateClassExpression(t,l(t.modifiers,n,Bc),f(t.name,n,Ye),l(t.typeParameters,n,bl),l(t.heritageClauses,n,J_),l(t.members,n,Eu))},[230]:function(t,n,s,l,f,d){return s.factory.updateExpressionWithTypeArguments(t,R.checkDefined(f(t.expression,n,Dt)),l(t.typeArguments,n,ps))},[231]:function(t,n,s,l,f,d){return s.factory.updateAsExpression(t,R.checkDefined(f(t.expression,n,Dt)),R.checkDefined(f(t.type,n,ps)))},[235]:function(t,n,s,l,f,d){return s.factory.updateSatisfiesExpression(t,R.checkDefined(f(t.expression,n,Dt)),R.checkDefined(f(t.type,n,ps)))},[232]:function(t,n,s,l,f,d){return cf(t)?s.factory.updateNonNullChain(t,R.checkDefined(f(t.expression,n,Dt))):s.factory.updateNonNullExpression(t,R.checkDefined(f(t.expression,n,Dt)))},[233]:function(t,n,s,l,f,d){return s.factory.updateMetaProperty(t,R.checkDefined(f(t.name,n,Ye)))},[236]:function(t,n,s,l,f,d){return s.factory.updateTemplateSpan(t,R.checkDefined(f(t.expression,n,Dt)),R.checkDefined(f(t.literal,n,MB)))},[238]:function(t,n,s,l,f,d){return s.factory.updateBlock(t,l(t.statements,n,Ks))},[240]:function(t,n,s,l,f,d){return s.factory.updateVariableStatement(t,l(t.modifiers,n,Bc),R.checkDefined(f(t.declarationList,n,Of)))},[241]:function(t,n,s,l,f,d){return s.factory.updateExpressionStatement(t,R.checkDefined(f(t.expression,n,Dt)))},[242]:function(t,n,s,l,f,d){return s.factory.updateIfStatement(t,R.checkDefined(f(t.expression,n,Dt)),R.checkDefined(f(t.thenStatement,n,Ks,s.factory.liftToBlock)),f(t.elseStatement,n,Ks,s.factory.liftToBlock))},[243]:function(t,n,s,l,f,d){return s.factory.updateDoStatement(t,Sd(t.statement,n,s,f),R.checkDefined(f(t.expression,n,Dt)))},[244]:function(t,n,s,l,f,d){return s.factory.updateWhileStatement(t,R.checkDefined(f(t.expression,n,Dt)),Sd(t.statement,n,s,f))},[245]:function(t,n,s,l,f,d){return s.factory.updateForStatement(t,f(t.initializer,n,Zm),f(t.condition,n,Dt),f(t.incrementor,n,Dt),Sd(t.statement,n,s,f))},[246]:function(t,n,s,l,f,d){return s.factory.updateForInStatement(t,R.checkDefined(f(t.initializer,n,Zm)),R.checkDefined(f(t.expression,n,Dt)),Sd(t.statement,n,s,f))},[247]:function(t,n,s,l,f,d){return s.factory.updateForOfStatement(t,d?f(t.awaitModifier,d,rre):t.awaitModifier,R.checkDefined(f(t.initializer,n,Zm)),R.checkDefined(f(t.expression,n,Dt)),Sd(t.statement,n,s,f))},[248]:function(t,n,s,l,f,d){return s.factory.updateContinueStatement(t,f(t.label,n,Ye))},[249]:function(t,n,s,l,f,d){return s.factory.updateBreakStatement(t,f(t.label,n,Ye))},[250]:function(t,n,s,l,f,d){return s.factory.updateReturnStatement(t,f(t.expression,n,Dt))},[251]:function(t,n,s,l,f,d){return s.factory.updateWithStatement(t,R.checkDefined(f(t.expression,n,Dt)),R.checkDefined(f(t.statement,n,Ks,s.factory.liftToBlock)))},[252]:function(t,n,s,l,f,d){return s.factory.updateSwitchStatement(t,R.checkDefined(f(t.expression,n,Dt)),R.checkDefined(f(t.caseBlock,n,sO)))},[253]:function(t,n,s,l,f,d){return s.factory.updateLabeledStatement(t,R.checkDefined(f(t.label,n,Ye)),R.checkDefined(f(t.statement,n,Ks,s.factory.liftToBlock)))},[254]:function(t,n,s,l,f,d){return s.factory.updateThrowStatement(t,R.checkDefined(f(t.expression,n,Dt)))},[255]:function(t,n,s,l,f,d){return s.factory.updateTryStatement(t,R.checkDefined(f(t.tryBlock,n,Fa)),f(t.catchClause,n,v4),f(t.finallyBlock,n,Fa))},[257]:function(t,n,s,l,f,d){return s.factory.updateVariableDeclaration(t,R.checkDefined(f(t.name,n,Og)),d?f(t.exclamationToken,d,Z5):t.exclamationToken,f(t.type,n,ps),f(t.initializer,n,Dt))},[258]:function(t,n,s,l,f,d){return s.factory.updateVariableDeclarationList(t,l(t.declarations,n,xs))},[259]:function(t,n,s,l,f,d){return s.factory.updateFunctionDeclaration(t,l(t.modifiers,n,ja),d?f(t.asteriskToken,d,Y5):t.asteriskToken,f(t.name,n,Ye),l(t.typeParameters,n,bl),Dl(t.parameters,n,s,l),f(t.type,n,ps),Op(t.body,n,s,f))},[260]:function(t,n,s,l,f,d){return s.factory.updateClassDeclaration(t,l(t.modifiers,n,Bc),f(t.name,n,Ye),l(t.typeParameters,n,bl),l(t.heritageClauses,n,J_),l(t.members,n,Eu))},[261]:function(t,n,s,l,f,d){return s.factory.updateInterfaceDeclaration(t,l(t.modifiers,n,Bc),R.checkDefined(f(t.name,n,Ye)),l(t.typeParameters,n,bl),l(t.heritageClauses,n,J_),l(t.members,n,dx))},[262]:function(t,n,s,l,f,d){return s.factory.updateTypeAliasDeclaration(t,l(t.modifiers,n,Bc),R.checkDefined(f(t.name,n,Ye)),l(t.typeParameters,n,bl),R.checkDefined(f(t.type,n,ps)))},[263]:function(t,n,s,l,f,d){return s.factory.updateEnumDeclaration(t,l(t.modifiers,n,Bc),R.checkDefined(f(t.name,n,Ye)),l(t.members,n,LT))},[264]:function(t,n,s,l,f,d){return s.factory.updateModuleDeclaration(t,l(t.modifiers,n,Bc),R.checkDefined(f(t.name,n,kxe)),f(t.body,n,Dbe))},[265]:function(t,n,s,l,f,d){return s.factory.updateModuleBlock(t,l(t.statements,n,Ks))},[266]:function(t,n,s,l,f,d){return s.factory.updateCaseBlock(t,l(t.clauses,n,vK))},[267]:function(t,n,s,l,f,d){return s.factory.updateNamespaceExportDeclaration(t,R.checkDefined(f(t.name,n,Ye)))},[268]:function(t,n,s,l,f,d){return s.factory.updateImportEqualsDeclaration(t,l(t.modifiers,n,Bc),t.isTypeOnly,R.checkDefined(f(t.name,n,Ye)),R.checkDefined(f(t.moduleReference,n,Obe)))},[269]:function(t,n,s,l,f,d){return s.factory.updateImportDeclaration(t,l(t.modifiers,n,Bc),f(t.importClause,n,rg),R.checkDefined(f(t.moduleSpecifier,n,Dt)),f(t.assertClause,n,$J))},[296]:function(t,n,s,l,f,d){return s.factory.updateAssertClause(t,l(t.elements,n,KSe),t.multiLine)},[297]:function(t,n,s,l,f,d){return s.factory.updateAssertEntry(t,R.checkDefined(f(t.name,n,hbe)),R.checkDefined(f(t.value,n,Dt)))},[270]:function(t,n,s,l,f,d){return s.factory.updateImportClause(t,t.isTypeOnly,f(t.name,n,Ye),f(t.namedBindings,n,hK))},[271]:function(t,n,s,l,f,d){return s.factory.updateNamespaceImport(t,R.checkDefined(f(t.name,n,Ye)))},[277]:function(t,n,s,l,f,d){return s.factory.updateNamespaceExport(t,R.checkDefined(f(t.name,n,Ye)))},[272]:function(t,n,s,l,f,d){return s.factory.updateNamedImports(t,l(t.elements,n,S_))},[273]:function(t,n,s,l,f,d){return s.factory.updateImportSpecifier(t,t.isTypeOnly,f(t.propertyName,n,Ye),R.checkDefined(f(t.name,n,Ye)))},[274]:function(t,n,s,l,f,d){return s.factory.updateExportAssignment(t,l(t.modifiers,n,Bc),R.checkDefined(f(t.expression,n,Dt)))},[275]:function(t,n,s,l,f,d){return s.factory.updateExportDeclaration(t,l(t.modifiers,n,Bc),t.isTypeOnly,f(t.exportClause,n,iK),f(t.moduleSpecifier,n,Dt),f(t.assertClause,n,$J))},[276]:function(t,n,s,l,f,d){return s.factory.updateNamedExports(t,l(t.elements,n,i_))},[278]:function(t,n,s,l,f,d){return s.factory.updateExportSpecifier(t,t.isTypeOnly,f(t.propertyName,n,Ye),R.checkDefined(f(t.name,n,Ye)))},[280]:function(t,n,s,l,f,d){return s.factory.updateExternalModuleReference(t,R.checkDefined(f(t.expression,n,Dt)))},[281]:function(t,n,s,l,f,d){return s.factory.updateJsxElement(t,R.checkDefined(f(t.openingElement,n,Wg)),l(t.children,n,k7),R.checkDefined(f(t.closingElement,n,pw)))},[282]:function(t,n,s,l,f,d){return s.factory.updateJsxSelfClosingElement(t,R.checkDefined(f(t.tagName,n,rP)),l(t.typeArguments,n,ps),R.checkDefined(f(t.attributes,n,OT)))},[283]:function(t,n,s,l,f,d){return s.factory.updateJsxOpeningElement(t,R.checkDefined(f(t.tagName,n,rP)),l(t.typeArguments,n,ps),R.checkDefined(f(t.attributes,n,OT)))},[284]:function(t,n,s,l,f,d){return s.factory.updateJsxClosingElement(t,R.checkDefined(f(t.tagName,n,rP)))},[285]:function(t,n,s,l,f,d){return s.factory.updateJsxFragment(t,R.checkDefined(f(t.openingFragment,n,mw)),l(t.children,n,k7),R.checkDefined(f(t.closingFragment,n,exe)))},[288]:function(t,n,s,l,f,d){return s.factory.updateJsxAttribute(t,R.checkDefined(f(t.name,n,Ye)),f(t.initializer,n,Lbe))},[289]:function(t,n,s,l,f,d){return s.factory.updateJsxAttributes(t,l(t.properties,n,JB))},[290]:function(t,n,s,l,f,d){return s.factory.updateJsxSpreadAttribute(t,R.checkDefined(f(t.expression,n,Dt)))},[291]:function(t,n,s,l,f,d){return s.factory.updateJsxExpression(t,f(t.expression,n,Dt))},[292]:function(t,n,s,l,f,d){return s.factory.updateCaseClause(t,R.checkDefined(f(t.expression,n,Dt)),l(t.statements,n,Ks))},[293]:function(t,n,s,l,f,d){return s.factory.updateDefaultClause(t,l(t.statements,n,Ks))},[294]:function(t,n,s,l,f,d){return s.factory.updateHeritageClause(t,l(t.types,n,n1))},[295]:function(t,n,s,l,f,d){return s.factory.updateCatchClause(t,f(t.variableDeclaration,n,xs),R.checkDefined(f(t.block,n,Fa)))},[299]:function(t,n,s,l,f,d){return s.factory.updatePropertyAssignment(t,R.checkDefined(f(t.name,n,rl)),R.checkDefined(f(t.initializer,n,Dt)))},[300]:function(t,n,s,l,f,d){return s.factory.updateShorthandPropertyAssignment(t,R.checkDefined(f(t.name,n,Ye)),f(t.objectAssignmentInitializer,n,Dt))},[301]:function(t,n,s,l,f,d){return s.factory.updateSpreadAssignment(t,R.checkDefined(f(t.expression,n,Dt)))},[302]:function(t,n,s,l,f,d){return s.factory.updateEnumMember(t,R.checkDefined(f(t.name,n,rl)),f(t.initializer,n,Dt))},[308]:function(t,n,s,l,f,d){return s.factory.updateSourceFile(t,qU(t.statements,n,s))},[356]:function(t,n,s,l,f,d){return s.factory.updatePartiallyEmittedExpression(t,R.checkDefined(f(t.expression,n,Dt)))},[357]:function(t,n,s,l,f,d){return s.factory.updateCommaListExpression(t,l(t.elements,n,Dt))}}}});function HCe(e,t,n,s,l){var{enter:f,exit:d}=l.extendedDiagnostics?KR("Source Map","beforeSourcemap","afterSourcemap"):eB,g=[],h=[],k=new Map,S,w=[],N,O=[],L="",U=0,M=0,W=0,X=0,Z=0,ue=0,ie=!1,se=0,V=0,ve=0,fe=0,Ce=0,_e=0,K=!1,ge=!1,Se=!1;return{getSources:()=>g,addSource:we,setSourceContent:Pe,addName:le,addMapping:Ge,appendSourceMap:tt,toJSON:We,toString:()=>JSON.stringify(We())};function we(jt){f();const It=wC(s,jt,e.getCurrentDirectory(),e.getCanonicalFileName,!0);let er=k.get(It);return er===void 0&&(er=h.length,h.push(It),g.push(jt),k.set(It,er)),d(),er}function Pe(jt,It){if(f(),It!==null){for(S||(S=[]);S.length<jt;)S.push(null);S[jt]=It}d()}function le(jt){f(),N||(N=new Map);let It=N.get(jt);return It===void 0&&(It=w.length,w.push(jt),N.set(jt,It)),d(),It}function ot(jt,It){return!K||se!==jt||V!==It}function Qe(jt,It,er){return jt!==void 0&&It!==void 0&&er!==void 0&&ve===jt&&(fe>It||fe===It&&Ce>er)}function Ge(jt,It,er,ft,mt,xr){R.assert(jt>=se,"generatedLine cannot backtrack"),R.assert(It>=0,"generatedCharacter cannot be negative"),R.assert(er===void 0||er>=0,"sourceIndex cannot be negative"),R.assert(ft===void 0||ft>=0,"sourceLine cannot be negative"),R.assert(mt===void 0||mt>=0,"sourceCharacter cannot be negative"),f(),(ot(jt,It)||Qe(er,ft,mt))&&(st(),se=jt,V=It,ge=!1,Se=!1,K=!0),er!==void 0&&ft!==void 0&&mt!==void 0&&(ve=er,fe=ft,Ce=mt,ge=!0,xr!==void 0&&(_e=xr,Se=!0)),d()}function tt(jt,It,er,ft,mt,xr){R.assert(jt>=se,"generatedLine cannot backtrack"),R.assert(It>=0,"generatedCharacter cannot be negative"),f();const dr=[];let rn;const un=Hne(er.mappings);for(const Gr of un){if(xr&&(Gr.generatedLine>xr.line||Gr.generatedLine===xr.line&&Gr.generatedCharacter>xr.character))break;if(mt&&(Gr.generatedLine<mt.line||mt.line===Gr.generatedLine&&Gr.generatedCharacter<mt.character))continue;let mr,Fn,ts,ws;if(Gr.sourceIndex!==void 0){if(mr=dr[Gr.sourceIndex],mr===void 0){const rr=er.sources[Gr.sourceIndex],Pr=er.sourceRoot?_s(er.sourceRoot,rr):rr,Cn=_s($i(ft),Pr);dr[Gr.sourceIndex]=mr=we(Cn),er.sourcesContent&&typeof er.sourcesContent[Gr.sourceIndex]=="string"&&Pe(mr,er.sourcesContent[Gr.sourceIndex])}Fn=Gr.sourceLine,ts=Gr.sourceCharacter,er.names&&Gr.nameIndex!==void 0&&(rn||(rn=[]),ws=rn[Gr.nameIndex],ws===void 0&&(rn[Gr.nameIndex]=ws=le(er.names[Gr.nameIndex])))}const Es=Gr.generatedLine-(mt?mt.line:0),ii=Es+jt,Rt=mt&&mt.line===Gr.generatedLine?Gr.generatedCharacter-mt.character:Gr.generatedCharacter,Rr=Es===0?Rt+It:Rt;Ge(ii,Rr,mr,Fn,ts,ws)}d()}function Je(){return!ie||U!==se||M!==V||W!==ve||X!==fe||Z!==Ce||ue!==_e}function qe(jt){O.push(jt),O.length>=1024&&Ke()}function st(){if(!(!K||!Je())){if(f(),U<se){do qe(59),U++;while(U<se);M=0}else R.assertEqual(U,se,"generatedLine cannot backtrack"),ie&&qe(44);gt(V-M),M=V,ge&&(gt(ve-W),W=ve,gt(fe-X),X=fe,gt(Ce-Z),Z=Ce,Se&&(gt(_e-ue),ue=_e)),ie=!0,d()}}function Ke(){O.length>0&&(L+=String.fromCharCode.apply(void 0,O),O.length=0)}function We(){return st(),Ke(),{version:3,file:t,sourceRoot:n,sources:h,names:w,mappings:L,sourcesContent:S}}function gt(jt){jt<0?jt=(-jt<<1)+1:jt=jt<<1;do{let It=jt&31;jt=jt>>5,jt>0&&(It=It|32),qe(yKe(It))}while(jt>0)}}function GCe(e,t){return{getLineCount:()=>t.length,getLineText:n=>e.substring(t[n],t[n+1])}}function XCe(e){for(let t=e.getLineCount()-1;t>=0;t--){const n=e.getLineText(t),s=WU.exec(n);if(s)return JI(s[1]);if(!n.match(HU))break}}function hKe(e){return typeof e=="string"||e===null}function QCe(e){return e!==null&&typeof e=="object"&&e.version===3&&typeof e.file=="string"&&typeof e.mappings=="string"&&pa(e.sources)&&ut(e.sources,ha)&&(e.sourceRoot===void 0||e.sourceRoot===null||typeof e.sourceRoot=="string")&&(e.sourcesContent===void 0||e.sourcesContent===null||pa(e.sourcesContent)&&ut(e.sourcesContent,hKe))&&(e.names===void 0||e.names===null||pa(e.names)&&ut(e.names,ha))}function Wne(e){try{const t=JSON.parse(e);if(QCe(t))return t}catch{}}function Hne(e){let t=!1,n=0,s=0,l=0,f=0,d=0,g=0,h=0,k;return{get pos(){return n},get error(){return k},get state(){return S(!0,!0)},next(){for(;!t&&n<e.length;){const W=e.charCodeAt(n);if(W===59){s++,l=0,n++;continue}if(W===44){n++;continue}let X=!1,Z=!1;if(l+=M(),L())return w();if(l<0)return O("Invalid generatedCharacter found");if(!U()){if(X=!0,f+=M(),L())return w();if(f<0)return O("Invalid sourceIndex found");if(U())return O("Unsupported Format: No entries after sourceIndex");if(d+=M(),L())return w();if(d<0)return O("Invalid sourceLine found");if(U())return O("Unsupported Format: No entries after sourceLine");if(g+=M(),L())return w();if(g<0)return O("Invalid sourceCharacter found");if(!U()){if(Z=!0,h+=M(),L())return w();if(h<0)return O("Invalid nameIndex found");if(!U())return O("Unsupported Error Format: Entries after nameIndex")}}return{value:S(X,Z),done:t}}return w()},[Symbol.iterator](){return this}};function S(W,X){return{generatedLine:s,generatedCharacter:l,sourceIndex:W?f:void 0,sourceLine:W?d:void 0,sourceCharacter:W?g:void 0,nameIndex:X?h:void 0}}function w(){return t=!0,{value:void 0,done:!0}}function N(W){k===void 0&&(k=W)}function O(W){return N(W),w()}function L(){return k!==void 0}function U(){return n===e.length||e.charCodeAt(n)===44||e.charCodeAt(n)===59}function M(){let W=!0,X=0,Z=0;for(;W;n++){if(n>=e.length)return N("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;const ue=vKe(e.charCodeAt(n));if(ue===-1)return N("Invalid character in VLQ"),-1;W=(ue&32)!==0,Z=Z|(ue&31)<<X,X+=5}return Z&1?(Z=Z>>1,Z=-Z):Z=Z>>1,Z}}function gKe(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}function YCe(e){return e.sourceIndex!==void 0&&e.sourceLine!==void 0&&e.sourceCharacter!==void 0}function yKe(e){return e>=0&&e<26?65+e:e>=26&&e<52?97+e-26:e>=52&&e<62?48+e-52:e===62?43:e===63?47:R.fail(`${e}: not a base64 value`)}function vKe(e){return e>=65&&e<=90?e-65:e>=97&&e<=122?e-97+26:e>=48&&e<=57?e-48+52:e===43?62:e===47?63:-1}function ZCe(e){return e.sourceIndex!==void 0&&e.sourcePosition!==void 0}function KCe(e,t){return e.generatedPosition===t.generatedPosition&&e.sourceIndex===t.sourceIndex&&e.sourcePosition===t.sourcePosition}function bKe(e,t){return R.assert(e.sourceIndex===t.sourceIndex),Cc(e.sourcePosition,t.sourcePosition)}function TKe(e,t){return Cc(e.generatedPosition,t.generatedPosition)}function SKe(e){return e.sourcePosition}function xKe(e){return e.generatedPosition}function ewe(e,t,n){const s=$i(n),l=t.sourceRoot?oa(t.sourceRoot,s):s,f=oa(t.file,s),d=e.getSourceFileLike(f),g=t.sources.map(X=>oa(X,l)),h=new Map(g.map((X,Z)=>[e.getCanonicalFileName(X),Z]));let k,S,w;return{getSourcePosition:W,getGeneratedPosition:M};function N(X){const Z=d!==void 0?a7(d,X.generatedLine,X.generatedCharacter,!0):-1;let ue,ie;if(YCe(X)){const se=e.getSourceFileLike(g[X.sourceIndex]);ue=t.sources[X.sourceIndex],ie=se!==void 0?a7(se,X.sourceLine,X.sourceCharacter,!0):-1}return{generatedPosition:Z,source:ue,sourceIndex:X.sourceIndex,sourcePosition:ie,nameIndex:X.nameIndex}}function O(){if(k===void 0){const X=Hne(t.mappings),Z=ao(X,N);X.error!==void 0?(e.log&&e.log(`Encountered error while decoding sourcemap: ${X.error}`),k=pt):k=Z}return k}function L(X){if(w===void 0){const Z=[];for(const ue of O()){if(!ZCe(ue))continue;let ie=Z[ue.sourceIndex];ie||(Z[ue.sourceIndex]=ie=[]),ie.push(ue)}w=Z.map(ue=>lo(ue,bKe,KCe))}return w[X]}function U(){if(S===void 0){const X=[];for(const Z of O())X.push(Z);S=lo(X,TKe,KCe)}return S}function M(X){const Z=h.get(e.getCanonicalFileName(X.fileName));if(Z===void 0)return X;const ue=L(Z);if(!Oe(ue))return X;let ie=hC(ue,X.pos,SKe,Cc);ie<0&&(ie=~ie);const se=ue[ie];return se===void 0||se.sourceIndex!==Z?X:{fileName:f,pos:se.generatedPosition}}function W(X){const Z=U();if(!Oe(Z))return X;let ue=hC(Z,X.pos,xKe,Cc);ue<0&&(ue=~ue);const ie=Z[ue];return ie===void 0||!ZCe(ie)?X:{fileName:g[ie.sourceIndex],pos:ie.sourcePosition}}}var Gne,WU,HU,GU,kKe=p({"src/compiler/sourcemap.ts"(){aa(),oT(),Gne=/\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,WU=/^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,HU=/^\s*(\/\/[@#] .*)?$/,GU={getSourcePosition:Zc,getGeneratedPosition:Zc}}});function _l(e){return e=sl(e),e?Wo(e):0}function CKe(e){return!e||!i1(e)?!1:Oe(e.elements,twe)}function twe(e){return e.propertyName!==void 0&&e.propertyName.escapedText==="default"}function Yd(e,t){return n;function n(l){return l.kind===308?t(l):s(l)}function s(l){return e.factory.createBundle(qt(l.sourceFiles,t),l.prepends)}}function rwe(e){return!!j6(e)}function XU(e){if(j6(e))return!0;const t=e.importClause&&e.importClause.namedBindings;if(!t||!i1(t))return!1;let n=0;for(const s of t.elements)twe(s)&&n++;return n>0&&n!==t.elements.length||!!(t.elements.length-n)&&RC(e)}function Xne(e){return!XU(e)&&(RC(e)||!!e.importClause&&i1(e.importClause.namedBindings)&&CKe(e.importClause.namedBindings))}function Qne(e,t,n,s){const l=[],f=dd(),d=[],g=new Map;let h,k=!1,S,w=!1,N=!1,O=!1;for(const M of t.statements)switch(M.kind){case 269:l.push(M),!N&&XU(M)&&(N=!0),!O&&Xne(M)&&(O=!0);break;case 268:M.moduleReference.kind===280&&l.push(M);break;case 275:if(M.moduleSpecifier)if(!M.exportClause)l.push(M),w=!0;else if(l.push(M),Xd(M.exportClause))U(M);else{const W=M.exportClause.name;g.get(ai(W))||(CD(d,_l(M),W),g.set(ai(W),!0),h=$r(h,W)),N=!0}else U(M);break;case 274:M.isExportEquals&&!S&&(S=M);break;case 240:if(Ti(M,1))for(const W of M.declarationList.declarations)h=nwe(W,g,h);break;case 259:if(Ti(M,1))if(Ti(M,1024))k||(CD(d,_l(M),e.factory.getDeclarationName(M)),k=!0);else{const W=M.name;g.get(ai(W))||(CD(d,_l(M),W),g.set(ai(W),!0),h=$r(h,W))}break;case 260:if(Ti(M,1))if(Ti(M,1024))k||(CD(d,_l(M),e.factory.getDeclarationName(M)),k=!0);else{const W=M.name;W&&!g.get(ai(W))&&(CD(d,_l(M),W),g.set(ai(W),!0),h=$r(h,W))}break}const L=Are(e.factory,e.getEmitHelperFactory(),t,s,w,N,O);return L&&l.unshift(L),{externalImports:l,exportSpecifiers:f,exportEquals:S,hasExportStarsToExportValues:w,exportedBindings:d,exportedNames:h,externalHelpersImportDeclaration:L};function U(M){for(const W of Oa(M.exportClause,Xd).elements)if(!g.get(ai(W.name))){const X=W.propertyName||W.name;M.moduleSpecifier||f.add(ai(X),W);const Z=n.getReferencedImportDeclaration(X)||n.getReferencedValueDeclaration(X);Z&&CD(d,_l(Z),W.name),g.set(ai(W.name),!0),h=$r(h,W.name)}}}function nwe(e,t,n){if(xa(e.name))for(const s of e.name.elements)yu(s)||(n=nwe(s,t,n));else if(!al(e.name)){const s=ai(e.name);t.get(s)||(t.set(s,!0),n=$r(n,e.name))}return n}function CD(e,t,n){let s=e[t];return s?s.push(n):e[t]=s=[n],s}function jT(e){return sc(e)||e.kind===8||b_(e.kind)||Ye(e)}function lh(e){return!Ye(e)&&jT(e)}function XO(e){return e>=64&&e<=78}function wD(e){switch(e){case 64:return 39;case 65:return 40;case 66:return 41;case 67:return 42;case 68:return 43;case 69:return 44;case 70:return 47;case 71:return 48;case 72:return 49;case 73:return 50;case 74:return 51;case 78:return 52;case 75:return 56;case 76:return 55;case 77:return 60}}function Yne(e){if(!Gu(e))return;const t=xc(e.expression);return N6(t)?t:void 0}function QU(e,t){for(let n=t;n<e.length;n+=1){const s=e[n];if(Yne(s))return n}return-1}function Zne(e,t,n){return hr(e.members,s=>EKe(s,t,n))}function wKe(e){return AKe(e)||fl(e)}function YU(e){return hr(e.members,wKe)}function EKe(e,t,n){return Pa(e)&&(!!e.initializer||!t)&&tu(e)===n}function AKe(e){return Pa(e)&&tu(e)}function QO(e){return e.kind===169&&e.initializer!==void 0}function iwe(e){return!ba(e)&&(S6(e)||op(e))&&as(e.name)}function Kne(e){let t;if(e){const n=e.parameters,s=n.length>0&&kT(n[0]),l=s?1:0,f=s?n.length-1:n.length;for(let d=0;d<f;d++){const g=n[d+l];(t||ed(g))&&(t||(t=new Array(f)),t[d]=ov(g))}}return t}function eie(e){const t=ov(e),n=Kne(Bg(e));if(!(!Oe(t)&&!Oe(n)))return{decorators:t,parameters:n}}function ZU(e,t,n){switch(e.kind){case 174:case 175:return n?PKe(e,t):swe(e);case 171:return swe(e);case 169:return DKe(e);default:return}}function PKe(e,t){if(!e.body)return;const{firstAccessor:n,secondAccessor:s,getAccessor:l,setAccessor:f}=Dx(t.members,e),d=ed(n)?n:s&&ed(s)?s:void 0;if(!d||e!==d)return;const g=ov(d),h=Kne(f);if(!(!Oe(g)&&!Oe(h)))return{decorators:g,parameters:h,getDecorators:l&&ov(l),setDecorators:f&&ov(f)}}function swe(e){if(!e.body)return;const t=ov(e),n=Kne(e);if(!(!Oe(t)&&!Oe(n)))return{decorators:t,parameters:n}}function DKe(e){const t=ov(e);if(Oe(t))return{decorators:t}}function awe(e,t){for(;e;){const n=t(e);if(n!==void 0)return n;e=e.previous}}function owe(e){return{data:e}}function tie(e,t){var n,s;return PC(t)?(n=e==null?void 0:e.generatedIdentifiers)==null?void 0:n.get(nU(t)):(s=e==null?void 0:e.identifiers)==null?void 0:s.get(t.escapedText)}function Wx(e,t,n){var s,l;PC(t)?((s=e.generatedIdentifiers)!=null||(e.generatedIdentifiers=new Map),e.generatedIdentifiers.set(nU(t),n)):((l=e.identifiers)!=null||(e.identifiers=new Map),e.identifiers.set(t.escapedText,n))}function cwe(e,t){return awe(e,n=>tie(n.privateEnv,t))}var NKe=p({"src/compiler/transformers/utilities.ts"(){aa()}});function Hx(e,t,n,s,l,f){let d=e,g;if(K0(e))for(g=e.right;uTe(e.left)||Ree(e.left);)if(K0(g))d=e=g,g=e.right;else return R.checkDefined(yt(g,t,Dt));let h;const k={context:n,level:s,downlevelIteration:!!n.getCompilerOptions().downlevelIteration,hoistTempVariables:!0,emitExpression:S,emitBindingOrAssignment:w,createArrayBindingOrAssignmentPattern:N=>jKe(n.factory,N),createObjectBindingOrAssignmentPattern:N=>UKe(n.factory,N),createArrayBindingOrAssignmentElement:VKe,visitor:t};if(g&&(g=yt(g,t,Dt),R.assert(g),Ye(g)&&rie(e,g.escapedText)||nie(e)?g=Gx(k,g,!1,d):l?g=Gx(k,g,!0,d):Mc(e)&&(d=g)),L4(k,e,g,d,K0(e)),g&&l){if(!Oe(h))return g;h.push(g)}return n.factory.inlineExpressions(h)||n.factory.createOmittedExpression();function S(N){h=$r(h,N)}function w(N,O,L,U){R.assertNode(N,f?Ye:Dt);const M=f?f(N,O,L):Et(n.factory.createAssignment(R.checkDefined(yt(N,t,Dt)),O),L);M.original=U,S(M)}}function rie(e,t){const n=Cv(e);return y7(n)?IKe(n,t):Ye(n)?n.escapedText===t:!1}function IKe(e,t){const n=C4(e);for(const s of n)if(rie(s,t))return!0;return!1}function nie(e){const t=tU(e);if(t&&ac(t)&&!px(t.expression))return!0;const n=Cv(e);return!!n&&y7(n)&&OKe(n)}function OKe(e){return!!Q(C4(e),nie)}function JT(e,t,n,s,l,f=!1,d){let g;const h=[],k=[],S={context:n,level:s,downlevelIteration:!!n.getCompilerOptions().downlevelIteration,hoistTempVariables:f,emitExpression:w,emitBindingOrAssignment:N,createArrayBindingOrAssignmentPattern:O=>BKe(n.factory,O),createObjectBindingOrAssignmentPattern:O=>JKe(n.factory,O),createArrayBindingOrAssignmentElement:O=>zKe(n.factory,O),visitor:t};if(xs(e)){let O=dO(e);O&&(Ye(O)&&rie(e,O.escapedText)||nie(e))&&(O=Gx(S,R.checkDefined(yt(O,S.visitor,Dt)),!1,O),e=n.factory.updateVariableDeclaration(e,e.name,void 0,void 0,O))}if(L4(S,e,l,e,d),g){const O=n.factory.createTempVariable(void 0);if(f){const L=n.factory.inlineExpressions(g);g=void 0,N(O,L,void 0,void 0)}else{n.hoistVariableDeclaration(O);const L=ko(h);L.pendingExpressions=$r(L.pendingExpressions,n.factory.createAssignment(O,L.value)),Oi(L.pendingExpressions,g),L.value=O}}for(const{pendingExpressions:O,name:L,value:U,location:M,original:W}of h){const X=n.factory.createVariableDeclaration(L,void 0,void 0,O?n.factory.inlineExpressions($r(O,U)):U);X.original=W,Et(X,M),k.push(X)}return k;function w(O){g=$r(g,O)}function N(O,L,U,M){R.assertNode(O,Og),g&&(L=n.factory.inlineExpressions($r(g,L)),g=void 0),h.push({pendingExpressions:g,name:O,value:L,location:U,original:M})}}function L4(e,t,n,s,l){const f=Cv(t);if(!l){const d=yt(dO(t),e.visitor,Dt);d?n?(n=FKe(e,n,d,s),!lh(d)&&y7(f)&&(n=Gx(e,n,!0,s))):n=d:n||(n=e.context.factory.createVoidZero())}_K(f)?LKe(e,t,f,n,s):pK(f)?MKe(e,t,f,n,s):e.emitBindingOrAssignment(f,n,s,t)}function LKe(e,t,n,s,l){const f=C4(n),d=f.length;if(d!==1){const k=!g7(t)||d!==0;s=Gx(e,s,k,l)}let g,h;for(let k=0;k<d;k++){const S=f[k];if(eU(S)){if(k===d-1){g&&(e.emitBindingOrAssignment(e.createObjectBindingOrAssignmentPattern(g),s,l,n),g=void 0);const w=e.context.getEmitHelperFactory().createRestHelper(s,f,h,n);L4(e,S,w,S)}}else{const w=Pre(S);if(e.level>=1&&!(S.transformFlags&98304)&&!(Cv(S).transformFlags&98304)&&!ac(w))g=$r(g,yt(S,e.visitor,Tbe));else{g&&(e.emitBindingOrAssignment(e.createObjectBindingOrAssignmentPattern(g),s,l,n),g=void 0);const N=RKe(e,s,w);ac(w)&&(h=$r(h,N.argumentExpression)),L4(e,S,N,S)}}}g&&e.emitBindingOrAssignment(e.createObjectBindingOrAssignmentPattern(g),s,l,n)}function MKe(e,t,n,s,l){const f=C4(n),d=f.length;if(e.level<1&&e.downlevelIteration)s=Gx(e,Et(e.context.getEmitHelperFactory().createReadHelper(s,d>0&&eU(f[d-1])?void 0:d),l),!1,l);else if(d!==1&&(e.level<1||d===0)||ut(f,yu)){const k=!g7(t)||d!==0;s=Gx(e,s,k,l)}let g,h;for(let k=0;k<d;k++){const S=f[k];if(e.level>=1)if(S.transformFlags&65536||e.hasTransformedPriorElement&&!lwe(S)){e.hasTransformedPriorElement=!0;const w=e.context.factory.createTempVariable(void 0);e.hoistTempVariables&&e.context.hoistVariableDeclaration(w),h=$r(h,[w,S]),g=$r(g,e.createArrayBindingOrAssignmentElement(w))}else g=$r(g,S);else{if(yu(S))continue;if(eU(S)){if(k===d-1){const w=e.context.factory.createArraySliceCall(s,k);L4(e,S,w,S)}}else{const w=e.context.factory.createElementAccessExpression(s,k);L4(e,S,w,S)}}}if(g&&e.emitBindingOrAssignment(e.createArrayBindingOrAssignmentPattern(g),s,l,n),h)for(const[k,S]of h)L4(e,S,k,S)}function lwe(e){const t=Cv(e);if(!t||yu(t))return!0;const n=tU(e);if(n&&!zd(n))return!1;const s=dO(e);return s&&!lh(s)?!1:y7(t)?ut(C4(t),lwe):Ye(t)}function FKe(e,t,n,s){return t=Gx(e,t,!0,s),e.context.factory.createConditionalExpression(e.context.factory.createTypeCheck(t,"undefined"),void 0,n,void 0,t)}function RKe(e,t,n){if(ac(n)){const s=Gx(e,R.checkDefined(yt(n.expression,e.visitor,Dt)),!1,n);return e.context.factory.createElementAccessExpression(t,s)}else if(Zp(n)){const s=J.cloneNode(n);return e.context.factory.createElementAccessExpression(t,s)}else{const s=e.context.factory.createIdentifier(ai(n));return e.context.factory.createPropertyAccessExpression(t,s)}}function Gx(e,t,n,s){if(Ye(t)&&n)return t;{const l=e.context.factory.createTempVariable(void 0);return e.hoistTempVariables?(e.context.hoistVariableDeclaration(l),e.emitExpression(Et(e.context.factory.createAssignment(l,t),s))):e.emitBindingOrAssignment(l,t,s,void 0),l}}function BKe(e,t){return R.assertEachNode(t,RB),e.createArrayBindingPattern(t)}function jKe(e,t){return R.assertEachNode(t,b7),e.createArrayLiteralExpression(qt(t,e.converters.convertToArrayAssignmentElement))}function JKe(e,t){return R.assertEachNode(t,qo),e.createObjectBindingPattern(t)}function UKe(e,t){return R.assertEachNode(t,v7),e.createObjectLiteralExpression(qt(t,e.converters.convertToObjectAssignmentElement))}function zKe(e,t){return e.createBindingElement(void 0,void 0,t)}function VKe(e){return e}var iie,$Ke=p({"src/compiler/transformers/destructuring.ts"(){aa(),iie=(e=>(e[e.All=0]="All",e[e.ObjectRest=1]="ObjectRest",e))(iie||{})}});function sie(e,t,n,s,l,f){const d=yt(t.tag,n,Dt);R.assert(d);const g=[void 0],h=[],k=[],S=t.template;if(f===0&&!vee(S))return an(t,n,e);if(rw(S))h.push(aie(S)),k.push(oie(S,s));else{h.push(aie(S.head)),k.push(oie(S.head,s));for(const N of S.templateSpans)h.push(aie(N.literal)),k.push(oie(N.literal,s)),g.push(R.checkDefined(yt(N.expression,n,Dt)))}const w=e.getEmitHelperFactory().createTemplateObjectHelper(J.createArrayLiteralExpression(h),J.createArrayLiteralExpression(k));if(Fl(s)){const N=J.createUniqueName("templateObject");l(N),g[0]=J.createLogicalOr(N,J.createAssignment(N,w))}else g[0]=w;return J.createCallExpression(d,void 0,g)}function aie(e){return e.templateFlags?J.createVoidZero():J.createStringLiteral(e.text)}function oie(e,t){let n=e.rawText;if(n===void 0){R.assertIsDefined(t,"Template literal node is missing 'rawText' and does not have a source file. Possibly bad transform."),n=mT(t,e);const s=e.kind===14||e.kind===17;n=n.substring(1,n.length-(s?1:2))}return n=n.replace(/\r\n?/g,`
`),Et(J.createStringLiteral(n),e)}var cie,qKe=p({"src/compiler/transformers/taggedTemplate.ts"(){aa(),cie=(e=>(e[e.LiftRestriction=0]="LiftRestriction",e[e.All=1]="All",e))(cie||{})}});function uwe(e){const{factory:t,getEmitHelperFactory:n,startLexicalEnvironment:s,resumeLexicalEnvironment:l,endLexicalEnvironment:f,hoistVariableDeclaration:d}=e,g=e.getEmitResolver(),h=e.getCompilerOptions(),k=Io(h),S=Hu(h),w=!!h.experimentalDecorators,N=h.emitDecoratorMetadata?pwe(e):void 0,O=e.onEmitNode,L=e.onSubstituteNode;e.onEmitNode=Lu,e.onSubstituteNode=fc,e.enableSubstitution(208),e.enableSubstitution(209);let U,M,W,X,Z,ue,ie,se;return V;function V(oe){return oe.kind===309?ve(oe):fe(oe)}function ve(oe){return t.createBundle(oe.sourceFiles.map(fe),fr(oe.prepends,ht=>ht.kind===311?Bte(ht,"js"):ht))}function fe(oe){if(oe.isDeclarationFile)return oe;U=oe;const ht=Ce(oe,gt);return t1(ht,e.readEmitHelpers()),U=void 0,ht}function Ce(oe,ht){const Ft=X,Or=Z,ti=ue;_e(oe);const si=ht(oe);return X!==Ft&&(Z=Or),X=Ft,ue=ti,si}function _e(oe){switch(oe.kind){case 308:case 266:case 265:case 238:X=oe,Z=void 0;break;case 260:case 259:if(Ti(oe,2))break;oe.name?Be(oe):R.assert(oe.kind===260||Ti(oe,1024));break}}function K(oe){return Ce(oe,ge)}function ge(oe){return oe.transformFlags&1?We(oe):oe}function Se(oe){return Ce(oe,we)}function we(oe){switch(oe.kind){case 269:case 268:case 274:case 275:return Pe(oe);default:return ge(oe)}}function Pe(oe){if(qs(oe)!==oe)return oe.transformFlags&1?an(oe,K,e):oe;switch(oe.kind){case 269:return Di(oe);case 268:return Ji(oe);case 274:return za(oe);case 275:return Xa(oe);default:R.fail("Unhandled ellided statement")}}function le(oe){return Ce(oe,ot)}function ot(oe){if(!(oe.kind===275||oe.kind===269||oe.kind===270||oe.kind===268&&oe.moduleReference.kind===280))return oe.transformFlags&1||Ti(oe,1)?We(oe):oe}function Qe(oe){return ht=>Ce(ht,Ft=>Ge(Ft,oe))}function Ge(oe,ht){switch(oe.kind){case 173:return cs(oe);case 169:return Nn(oe,ht);case 174:return Xn(oe,ht);case 175:return _i(oe,ht);case 171:return Tr(oe,ht);case 172:return an(oe,K,e);case 237:return oe;case 178:return;default:return R.failBadSyntaxKind(oe)}}function tt(oe){return ht=>Ce(ht,Ft=>Je(Ft,oe))}function Je(oe,ht){switch(oe.kind){case 299:case 300:case 301:return K(oe);case 174:return Xn(oe,ht);case 175:return _i(oe,ht);case 171:return Tr(oe,ht);default:return R.failBadSyntaxKind(oe)}}function qe(oe){return Df(oe)?void 0:K(oe)}function st(oe){return ja(oe)?void 0:K(oe)}function Ke(oe){if(!Df(oe)&&!(qC(oe.kind)&117086)&&!(M&&oe.kind===93))return oe}function We(oe){if(Ks(oe)&&Ti(oe,2))return t.createNotEmittedStatement(oe);switch(oe.kind){case 93:case 88:return M?void 0:oe;case 123:case 121:case 122:case 126:case 161:case 85:case 136:case 146:case 101:case 145:case 185:case 186:case 187:case 188:case 184:case 179:case 165:case 131:case 157:case 134:case 152:case 148:case 144:case 114:case 153:case 182:case 181:case 183:case 180:case 189:case 190:case 191:case 193:case 194:case 195:case 196:case 197:case 198:case 178:return;case 262:return t.createNotEmittedStatement(oe);case 267:return;case 261:return t.createNotEmittedStatement(oe);case 260:return mt(oe);case 228:return dr(oe);case 294:return rr(oe);case 230:return Pr(oe);case 207:return jt(oe);case 173:case 169:case 171:case 174:case 175:case 172:return R.fail("Class and object literal elements must be visited with their respective visitors");case 259:return Fe(oe);case 215:return Pt(oe);case 216:return Ht(oe);case 166:return Ne(oe);case 214:return xe(oe);case 213:case 231:return Y(oe);case 235:return ct(oe);case 210:return it(oe);case 211:return Kt(oe);case 212:return wr(oe);case 232:return Ze(oe);case 263:return wt(oe);case 240:return kt(oe);case 257:return pe(oe);case 264:return St(oe);case 268:return Ji(oe);case 282:return qr(oe);case 283:return qn(oe);default:return an(oe,K,e)}}function gt(oe){const ht=bd(h,"alwaysStrict")&&!(Fl(oe)&&S>=5)&&!hd(oe);return t.updateSourceFile(oe,qU(oe.statements,Se,e,0,ht))}function jt(oe){return t.updateObjectLiteralExpression(oe,hn(oe.properties,tt(oe),X0))}function It(oe){let ht=0;Oe(Zne(oe,!0,!0))&&(ht|=1);const Ft=eh(oe);return Ft&&uf(Ft.expression).kind!==104&&(ht|=64),vT(w,oe)&&(ht|=2),fP(w,oe)&&(ht|=4),Rs(oe)?ht|=8:Rl(oe)?ht|=32:js(oe)&&(ht|=16),ht}function er(oe){return!!(oe.transformFlags&8192)}function ft(oe){return ed(oe)||Oe(oe.typeParameters)||Oe(oe.heritageClauses,er)||Oe(oe.members,er)}function mt(oe){var ht;const Ft=It(oe),Or=k<=1&&!!(Ft&7);if(!ft(oe)&&!vT(w,oe)&&!Rs(oe))return t.updateClassDeclaration(oe,hn(oe.modifiers,Ke,ja),oe.name,void 0,hn(oe.heritageClauses,K,J_),hn(oe.members,Qe(oe),Eu));Or&&e.startLexicalEnvironment();const ti=Or||Ft&8||Ft&2&&w||Ft&1;let si=ti?hn(oe.modifiers,st,Bc):hn(oe.modifiers,K,Bc);Ft&2&&(si=un(si,oe));const jo=ti&&!oe.name||Ft&4||Ft&1?(ht=oe.name)!=null?ht:t.getGeneratedNameForNode(oe):oe.name,Va=t.updateClassDeclaration(oe,si,jo,void 0,hn(oe.heritageClauses,K,J_),rn(oe));let vo=Wa(oe);Ft&1&&(vo|=64),Pn(Va,vo);let ka;if(Or){const Hc=[Va],Ql=jee(wo(U.text,oe.members.end),19),a_=t.getInternalName(oe),Zo=t.createPartiallyEmittedExpression(a_);t4(Zo,Ql.end),Pn(Zo,3072);const zo=t.createReturnStatement(Zo);UP(zo,Ql.pos),Pn(zo,3840),Hc.push(zo),Wh(Hc,e.endLexicalEnvironment());const Gc=t.createImmediatelyInvokedArrowFunction(Hc);V5(Gc,1);const q_=Ft&16?t.createModifiersFromModifierFlags(1):void 0,wl=t.createVariableStatement(q_,t.createVariableDeclarationList([t.createVariableDeclaration(t.getLocalName(oe,!1,!1),void 0,void 0,Gc)],1));di(wl,oe),Du(wl,oe),$o(wl,yv(oe)),Lf(wl),ka=wl}else ka=Va;if(ti){if(Ft&8)return xr(ka,jc(oe));if(Ft&32)return xr(ka,t.createExportDefault(t.getLocalName(oe,!1,!0)));if(Ft&16&&!Or)return xr(ka,t.createExternalModuleExport(t.getLocalName(oe,!1,!0)))}return ka}function xr(oe,ht){return ih(oe,8388608),[oe,ht,t.createEndOfDeclarationMarker(oe)]}function dr(oe){let ht=hn(oe.modifiers,st,Bc);return vT(w,oe)&&(ht=un(ht,oe)),t.updateClassExpression(oe,ht,oe.name,void 0,hn(oe.heritageClauses,K,J_),rn(oe))}function rn(oe){const ht=hn(oe.members,Qe(oe),Eu);let Ft;const Or=Bg(oe),ti=Or&&hr(Or.parameters,si=>sp(si,Or));if(ti)for(const si of ti){const Ws=t.createPropertyDeclaration(void 0,si.name,void 0,void 0,void 0);di(Ws,si),Ft=$r(Ft,Ws)}return Ft?(Ft=Oi(Ft,ht),Et(t.createNodeArray(Ft),oe.members)):ht}function un(oe,ht){const Ft=mr(ht,ht);if(Oe(Ft)){const Or=[];Oi(Or,GR(oe,Ire)),Oi(Or,hr(oe,Df)),Oi(Or,Ft),Oi(Or,hr(q1e(oe,Ire),ja)),oe=Et(t.createNodeArray(Or),oe)}return oe}function Gr(oe,ht,Ft){if(Ri(Ft)&&YK(w,ht,Ft)){const Or=mr(ht,Ft);if(Oe(Or)){const ti=[];Oi(ti,hr(oe,Df)),Oi(ti,Or),Oi(ti,hr(oe,ja)),oe=Et(t.createNodeArray(ti),oe)}}return oe}function mr(oe,ht){if(w)return fwe?ts(oe,ht):Fn(oe,ht)}function Fn(oe,ht){if(N){let Ft;if(ws(oe)){const Or=n().createMetadataHelper("design:type",N.serializeTypeOfNode({currentLexicalScope:X,currentNameScope:ht},oe));Ft=$r(Ft,t.createDecorator(Or))}if(ii(oe)){const Or=n().createMetadataHelper("design:paramtypes",N.serializeParameterTypesOfNode({currentLexicalScope:X,currentNameScope:ht},oe,ht));Ft=$r(Ft,t.createDecorator(Or))}if(Es(oe)){const Or=n().createMetadataHelper("design:returntype",N.serializeReturnTypeOfNode({currentLexicalScope:X,currentNameScope:ht},oe));Ft=$r(Ft,t.createDecorator(Or))}return Ft}}function ts(oe,ht){if(N){let Ft;if(ws(oe)){const Or=t.createPropertyAssignment("type",t.createArrowFunction(void 0,void 0,[],void 0,t.createToken(38),N.serializeTypeOfNode({currentLexicalScope:X,currentNameScope:ht},oe)));Ft=$r(Ft,Or)}if(ii(oe)){const Or=t.createPropertyAssignment("paramTypes",t.createArrowFunction(void 0,void 0,[],void 0,t.createToken(38),N.serializeParameterTypesOfNode({currentLexicalScope:X,currentNameScope:ht},oe,ht)));Ft=$r(Ft,Or)}if(Es(oe)){const Or=t.createPropertyAssignment("returnType",t.createArrowFunction(void 0,void 0,[],void 0,t.createToken(38),N.serializeReturnTypeOfNode({currentLexicalScope:X,currentNameScope:ht},oe)));Ft=$r(Ft,Or)}if(Ft){const Or=n().createMetadataHelper("design:typeinfo",t.createObjectLiteralExpression(Ft,!0));return[t.createDecorator(Or)]}}}function ws(oe){const ht=oe.kind;return ht===171||ht===174||ht===175||ht===169}function Es(oe){return oe.kind===171}function ii(oe){switch(oe.kind){case 260:case 228:return Bg(oe)!==void 0;case 171:case 174:case 175:return!0}return!1}function Rt(oe,ht){const Ft=oe.name;return as(Ft)?t.createIdentifier(""):ac(Ft)?ht&&!lh(Ft.expression)?t.getGeneratedNameForNode(Ft):Ft.expression:Ye(Ft)?t.createStringLiteral(ai(Ft)):t.cloneNode(Ft)}function Rr(oe){const ht=oe.name;if(ac(ht)&&(!tu(oe)&&ue||ed(oe)&&w)){const Ft=yt(ht.expression,K,Dt);R.assert(Ft);const Or=jd(Ft);if(!lh(Or)){const ti=t.getGeneratedNameForNode(ht);return d(ti),t.updateComputedPropertyName(ht,t.createAssignment(ti,Ft))}}return R.checkDefined(yt(ht,K,rl))}function rr(oe){if(oe.token!==117)return an(oe,K,e)}function Pr(oe){return t.updateExpressionWithTypeArguments(oe,R.checkDefined(yt(oe.expression,K,g_)),void 0)}function Cn(oe){return!cl(oe.body)}function Nn(oe,ht){const Ft=oe.flags&16777216||Ti(oe,256);if(Ft&&!(w&&ed(oe)))return;let Or=Ri(ht)?Ft?hn(oe.modifiers,st,Bc):hn(oe.modifiers,K,Bc):hn(oe.modifiers,qe,Bc);return Or=Gr(Or,oe,ht),Ft?t.updatePropertyDeclaration(oe,Cr(Or,t.createModifiersFromModifierFlags(2)),R.checkDefined(yt(oe.name,K,rl)),void 0,void 0,void 0):t.updatePropertyDeclaration(oe,Or,Rr(oe),void 0,void 0,yt(oe.initializer,K,Dt))}function cs(oe){if(Cn(oe))return t.updateConstructorDeclaration(oe,void 0,Dl(oe.parameters,K,e),qi(oe.body,oe))}function qi(oe,ht){const Ft=ht&&hr(ht.parameters,vo=>sp(vo,ht));if(!Oe(Ft))return Op(oe,K,e);let Or=[];l();const ti=t.copyPrologue(oe.statements,Or,!1,K),si=QU(oe.statements,ti);si>=0&&Oi(Or,hn(oe.statements,K,Ks,ti,si+1-ti));const Ws=fr(Ft,en);si>=0?Oi(Or,Ws):Or=[...Or.slice(0,ti),...Ws,...Or.slice(ti)];const jo=si>=0?si+1:ti;Oi(Or,hn(oe.statements,K,Ks,jo)),Or=t.mergeLexicalEnvironment(Or,f());const Va=t.createBlock(Et(t.createNodeArray(Or),oe.statements),!0);return Et(Va,oe),di(Va,oe),Va}function en(oe){const ht=oe.name;if(!Ye(ht))return;const Ft=go(Et(t.cloneNode(ht),ht),ht.parent);Pn(Ft,3168);const Or=go(Et(t.cloneNode(ht),ht),ht.parent);return Pn(Or,3072),Lf(z5(Et(di(t.createExpressionStatement(t.createAssignment(Et(t.createPropertyAccessExpression(t.createThis(),Ft),oe.name),Or)),oe),$b(oe,-1))))}function Tr(oe,ht){if(!(oe.transformFlags&1))return oe;if(!Cn(oe))return;let Ft=Ri(ht)?hn(oe.modifiers,K,Bc):hn(oe.modifiers,qe,Bc);return Ft=Gr(Ft,oe,ht),t.updateMethodDeclaration(oe,Ft,oe.asteriskToken,Rr(oe),void 0,void 0,Dl(oe.parameters,K,e),void 0,Op(oe.body,K,e))}function nn(oe){return!(cl(oe.body)&&Ti(oe,256))}function Xn(oe,ht){if(!(oe.transformFlags&1))return oe;if(!nn(oe))return;let Ft=Ri(ht)?hn(oe.modifiers,K,Bc):hn(oe.modifiers,qe,Bc);return Ft=Gr(Ft,oe,ht),t.updateGetAccessorDeclaration(oe,Ft,Rr(oe),Dl(oe.parameters,K,e),void 0,Op(oe.body,K,e)||t.createBlock([]))}function _i(oe,ht){if(!(oe.transformFlags&1))return oe;if(!nn(oe))return;let Ft=Ri(ht)?hn(oe.modifiers,K,Bc):hn(oe.modifiers,qe,Bc);return Ft=Gr(Ft,oe,ht),t.updateSetAccessorDeclaration(oe,Ft,Rr(oe),Dl(oe.parameters,K,e),Op(oe.body,K,e)||t.createBlock([]))}function Fe(oe){if(!Cn(oe))return t.createNotEmittedStatement(oe);const ht=t.updateFunctionDeclaration(oe,hn(oe.modifiers,Ke,ja),oe.asteriskToken,oe.name,void 0,Dl(oe.parameters,K,e),void 0,Op(oe.body,K,e)||t.createBlock([]));if(Rs(oe)){const Ft=[ht];return Sl(Ft,oe),Ft}return ht}function Pt(oe){return Cn(oe)?t.updateFunctionExpression(oe,hn(oe.modifiers,Ke,ja),oe.asteriskToken,oe.name,void 0,Dl(oe.parameters,K,e),void 0,Op(oe.body,K,e)||t.createBlock([])):t.createOmittedExpression()}function Ht(oe){return t.updateArrowFunction(oe,hn(oe.modifiers,Ke,ja),void 0,Dl(oe.parameters,K,e),void 0,oe.equalsGreaterThanToken,Op(oe.body,K,e))}function Ne(oe){if(kT(oe))return;const ht=t.updateParameterDeclaration(oe,hn(oe.modifiers,Ft=>Df(Ft)?K(Ft):void 0,Bc),oe.dotDotDotToken,R.checkDefined(yt(oe.name,K,Og)),void 0,void 0,yt(oe.initializer,K,Dt));return ht!==oe&&(Du(ht,oe),Et(ht,rh(oe)),$o(ht,rh(oe)),Pn(ht.name,64)),ht}function kt(oe){if(Rs(oe)){const ht=DP(oe.declarationList);return ht.length===0?void 0:Et(t.createExpressionStatement(t.inlineExpressions(qt(ht,Te))),oe)}else return an(oe,K,e)}function Te(oe){const ht=oe.name;return xa(ht)?Hx(oe,K,e,0,!1,xl):Et(t.createAssignment(Ka(ht),R.checkDefined(yt(oe.initializer,K,Dt))),oe)}function pe(oe){const ht=t.updateVariableDeclaration(oe,R.checkDefined(yt(oe.name,K,Og)),void 0,void 0,yt(oe.initializer,K,Dt));return oe.type&&PSe(ht.name,oe.type),ht}function xe(oe){const ht=uf(oe.expression,-7);if(mx(ht)){const Ft=yt(oe.expression,K,Dt);return R.assert(Ft),t.createPartiallyEmittedExpression(Ft,oe)}return an(oe,K,e)}function Y(oe){const ht=yt(oe.expression,K,Dt);return R.assert(ht),t.createPartiallyEmittedExpression(ht,oe)}function Ze(oe){const ht=yt(oe.expression,K,g_);return R.assert(ht),t.createPartiallyEmittedExpression(ht,oe)}function ct(oe){const ht=yt(oe.expression,K,Dt);return R.assert(ht),t.createPartiallyEmittedExpression(ht,oe)}function it(oe){return t.updateCallExpression(oe,R.checkDefined(yt(oe.expression,K,Dt)),void 0,hn(oe.arguments,K,Dt))}function Kt(oe){return t.updateNewExpression(oe,R.checkDefined(yt(oe.expression,K,Dt)),void 0,hn(oe.arguments,K,Dt))}function wr(oe){return t.updateTaggedTemplateExpression(oe,R.checkDefined(yt(oe.tag,K,Dt)),void 0,R.checkDefined(yt(oe.template,K,x6)))}function qr(oe){return t.updateJsxSelfClosingElement(oe,R.checkDefined(yt(oe.tagName,K,rP)),void 0,R.checkDefined(yt(oe.attributes,K,OT)))}function qn(oe){return t.updateJsxOpeningElement(oe,R.checkDefined(yt(oe.tagName,K,rP)),void 0,R.checkDefined(yt(oe.attributes,K,OT)))}function ye(oe){return!yT(oe)||wT(h)}function wt(oe){if(!ye(oe))return t.createNotEmittedStatement(oe);const ht=[];let Ft=4;const Or=At(ht,oe);Or&&(S!==4||X!==U)&&(Ft|=1024);const ti=ea(oe),si=Ao(oe),Ws=Ti(oe,1)?t.getExternalModuleOrNamespaceExportName(W,oe,!1,!0):t.getLocalName(oe,!1,!0);let jo=t.createLogicalOr(Ws,t.createAssignment(Ws,t.createObjectLiteralExpression()));if(ce(oe)){const vo=t.getLocalName(oe,!1,!0);jo=t.createAssignment(vo,jo)}const Va=t.createExpressionStatement(t.createCallExpression(t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,ti)],void 0,nr(oe,si)),void 0,[jo]));return di(Va,oe),Or&&(DT(Va,void 0),c4(Va,void 0)),Et(Va,oe),ih(Va,Ft),ht.push(Va),ht.push(t.createEndOfDeclarationMarker(oe)),ht}function nr(oe,ht){const Ft=W;W=ht;const Or=[];s();const ti=qt(oe.members,dt);return Wh(Or,f()),Oi(Or,ti),W=Ft,t.createBlock(Et(t.createNodeArray(Or),oe.members),!0)}function dt(oe){const ht=Rt(oe,!1),Ft=ne(oe),Or=t.createAssignment(t.createElementAccessExpression(W,ht),Ft),ti=Ft.kind===10?Or:t.createAssignment(t.createElementAccessExpression(W,Or),ht);return Et(t.createExpressionStatement(Et(ti,oe)),oe)}function ne(oe){const ht=g.getConstantValue(oe);return ht!==void 0?typeof ht=="string"?t.createStringLiteral(ht):t.createNumericLiteral(ht):(kl(),oe.initializer?R.checkDefined(yt(oe.initializer,K,Dt)):t.createVoidZero())}function $e(oe){const ht=qs(oe,Pl);return ht?Bne(ht,wT(h)):!0}function ce(oe){return Rs(oe)||Qr(oe)&&S!==5&&S!==6&&S!==7&&S!==99&&S!==4}function Be(oe){Z||(Z=new Map);const ht=$t(oe);Z.has(ht)||Z.set(ht,oe)}function te(oe){if(Z){const ht=$t(oe);return Z.get(ht)===oe}return!0}function $t(oe){return R.assertNode(oe.name,Ye),oe.name.escapedText}function At(oe,ht){const Ft=t.createVariableStatement(hn(ht.modifiers,Ke,ja),t.createVariableDeclarationList([t.createVariableDeclaration(t.getLocalName(ht,!1,!0))],X.kind===308?0:1));if(di(Ft,ht),Be(ht),te(ht))return ht.kind===263?$o(Ft.declarationList,ht):$o(Ft,ht),Du(Ft,ht),ih(Ft,8390656),oe.push(Ft),!0;{const Or=t.createMergeDeclarationMarker(Ft);return Pn(Or,8391680),oe.push(Or),!1}}function St(oe){if(!$e(oe))return t.createNotEmittedStatement(oe);R.assertNode(oe.name,Ye,"A TypeScript namespace should have an Identifier name."),zu();const ht=[];let Ft=4;const Or=At(ht,oe);Or&&(S!==4||X!==U)&&(Ft|=1024);const ti=ea(oe),si=Ao(oe),Ws=Ti(oe,1)?t.getExternalModuleOrNamespaceExportName(W,oe,!1,!0):t.getLocalName(oe,!1,!0);let jo=t.createLogicalOr(Ws,t.createAssignment(Ws,t.createObjectLiteralExpression()));if(ce(oe)){const vo=t.getLocalName(oe,!1,!0);jo=t.createAssignment(vo,jo)}const Va=t.createExpressionStatement(t.createCallExpression(t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,ti)],void 0,Dr(oe,si)),void 0,[jo]));return di(Va,oe),Or&&(DT(Va,void 0),c4(Va,void 0)),Et(Va,oe),ih(Va,Ft),ht.push(Va),ht.push(t.createEndOfDeclarationMarker(oe)),ht}function Dr(oe,ht){const Ft=W,Or=M,ti=Z;W=ht,M=oe,Z=void 0;const si=[];s();let Ws,jo;if(oe.body)if(oe.body.kind===265)Ce(oe.body,vo=>Oi(si,hn(vo.statements,le,Ks))),Ws=oe.body.statements,jo=oe.body;else{const vo=St(oe.body);vo&&(pa(vo)?Oi(si,vo):si.push(vo));const ka=yn(oe).body;Ws=$b(ka.statements,-1)}Wh(si,f()),W=Ft,M=Or,Z=ti;const Va=t.createBlock(Et(t.createNodeArray(si),Ws),!0);return Et(Va,jo),(!oe.body||oe.body.kind!==265)&&Pn(Va,Wa(Va)|3072),Va}function yn(oe){if(oe.body.kind===264)return yn(oe.body)||oe.body}function Di(oe){if(!oe.importClause)return oe;if(oe.importClause.isTypeOnly)return;const ht=yt(oe.importClause,Yi,rg);return ht||h.importsNotUsedAsValues===1||h.importsNotUsedAsValues===2?t.updateImportDeclaration(oe,void 0,ht,oe.moduleSpecifier,oe.assertClause):void 0}function Yi(oe){R.assert(!oe.isTypeOnly);const ht=tr(oe)?oe.name:void 0,Ft=yt(oe.namedBindings,Zi,hK);return ht||Ft?t.updateImportClause(oe,!1,ht,Ft):void 0}function Zi(oe){if(oe.kind===271)return tr(oe)?oe:void 0;{const ht=h.verbatimModuleSyntax||h.preserveValueImports&&(h.importsNotUsedAsValues===1||h.importsNotUsedAsValues===2),Ft=hn(oe.elements,hs,S_);return ht||Oe(Ft)?t.updateNamedImports(oe,Ft):void 0}}function hs(oe){return!oe.isTypeOnly&&tr(oe)?oe:void 0}function za(oe){return h.verbatimModuleSyntax||g.isValueAliasDeclaration(oe)?an(oe,K,e):void 0}function Xa(oe){if(oe.isTypeOnly)return;if(!oe.exportClause||qg(oe.exportClause))return oe;const ht=h.verbatimModuleSyntax||!!oe.moduleSpecifier&&(h.importsNotUsedAsValues===1||h.importsNotUsedAsValues===2),Ft=yt(oe.exportClause,Or=>gs(Or,ht),iK);return Ft?t.updateExportDeclaration(oe,void 0,oe.isTypeOnly,Ft,oe.moduleSpecifier,oe.assertClause):void 0}function Ia(oe,ht){const Ft=hn(oe.elements,vi,i_);return ht||Oe(Ft)?t.updateNamedExports(oe,Ft):void 0}function Fs(oe){return t.updateNamespaceExport(oe,R.checkDefined(yt(oe.name,K,Ye)))}function gs(oe,ht){return qg(oe)?Fs(oe):Ia(oe,ht)}function vi(oe){return!oe.isTypeOnly&&(h.verbatimModuleSyntax||g.isValueAliasDeclaration(oe))?oe:void 0}function Bo(oe){return tr(oe)||!Fl(U)&&g.isTopLevelValueImportEqualsWithEntityName(oe)}function Ji(oe){if(oe.isTypeOnly)return;if(Rb(oe)){const Ft=tr(oe);return!Ft&&h.importsNotUsedAsValues===1?di(Et(t.createImportDeclaration(void 0,void 0,oe.moduleReference.expression,void 0),oe),oe):Ft?an(oe,K,e):void 0}if(!Bo(oe))return;const ht=uO(t,oe.moduleReference);return Pn(ht,7168),js(oe)||!Rs(oe)?di(Et(t.createVariableStatement(hn(oe.modifiers,Ke,ja),t.createVariableDeclarationList([di(t.createVariableDeclaration(oe.name,void 0,void 0,ht),oe)])),oe),oe):di(Nl(oe.name,ht,oe),oe)}function Rs(oe){return M!==void 0&&Ti(oe,1)}function Qr(oe){return M===void 0&&Ti(oe,1)}function js(oe){return Qr(oe)&&!Ti(oe,1024)}function Rl(oe){return Qr(oe)&&Ti(oe,1024)}function jc(oe){const ht=t.createAssignment(t.getExternalModuleOrNamespaceExportName(W,oe,!1,!0),t.getLocalName(oe));$o(ht,yd(oe.name?oe.name.pos:oe.pos,oe.end));const Ft=t.createExpressionStatement(ht);return $o(Ft,yd(-1,oe.end)),Ft}function Sl(oe,ht){oe.push(jc(ht))}function Nl(oe,ht,Ft){return Et(t.createExpressionStatement(t.createAssignment(t.getNamespaceMemberName(W,oe,!1,!0),ht)),Ft)}function xl(oe,ht,Ft){return Et(t.createAssignment(Ka(oe),ht),Ft)}function Ka(oe){return t.getNamespaceMemberName(W,oe,!1,!0)}function ea(oe){const ht=t.getGeneratedNameForNode(oe);return $o(ht,oe.name),ht}function Ao(oe){return t.getGeneratedNameForNode(oe)}function kl(){ie&8||(ie|=8,e.enableSubstitution(79))}function zu(){ie&2||(ie|=2,e.enableSubstitution(79),e.enableSubstitution(300),e.enableEmitNotification(264))}function $_(oe){return sl(oe).kind===264}function Vl(oe){return sl(oe).kind===263}function Lu(oe,ht,Ft){const Or=se,ti=U;bs(ht)&&(U=ht),ie&2&&$_(ht)&&(se|=2),ie&8&&Vl(ht)&&(se|=8),O(oe,ht,Ft),se=Or,U=ti}function fc(oe,ht){return ht=L(oe,ht),oe===1?Fc(ht):id(ht)?Kc(ht):ht}function Kc(oe){if(ie&2){const ht=oe.name,Ft=br(ht);if(Ft){if(oe.objectAssignmentInitializer){const Or=t.createAssignment(Ft,oe.objectAssignmentInitializer);return Et(t.createPropertyAssignment(ht,Or),oe)}return Et(t.createPropertyAssignment(ht,Ft),oe)}}return oe}function Fc(oe){switch(oe.kind){case 79:return Pc(oe);case 208:return Cl(oe);case 209:return df(oe)}return oe}function Pc(oe){return br(oe)||oe}function br(oe){if(ie&se&&!al(oe)&&!kv(oe)){const ht=g.getReferencedExportContainer(oe,!1);if(ht&&ht.kind!==308&&(se&2&&ht.kind===264||se&8&&ht.kind===263))return Et(t.createPropertyAccessExpression(t.getGeneratedNameForNode(ht),oe),oe)}}function Cl(oe){return be(oe)}function df(oe){return be(oe)}function Rf(oe){return oe.replace(/\*\//g,"*_/")}function be(oe){const ht=Ut(oe);if(ht!==void 0){ESe(oe,ht);const Ft=typeof ht=="string"?t.createStringLiteral(ht):t.createNumericLiteral(ht);if(!h.removeComments){const Or=sl(oe,$c);cJ(Ft,3,` ${Rf(lu(Or))} `)}return Ft}return oe}function Ut(oe){if(!qd(h))return oi(oe)||qc(oe)?g.getConstantValue(oe):void 0}function tr(oe){return h.verbatimModuleSyntax||Mn(oe)||(h.preserveValueImports?g.isValueAliasDeclaration(oe):g.isReferencedAliasDeclaration(oe))}}var fwe,WKe=p({"src/compiler/transformers/ts.ts"(){aa(),fwe=!1}});function _we(e){const{factory:t,getEmitHelperFactory:n,hoistVariableDeclaration:s,endLexicalEnvironment:l,startLexicalEnvironment:f,resumeLexicalEnvironment:d,addBlockScopedVariable:g}=e,h=e.getEmitResolver(),k=e.getCompilerOptions(),S=Io(k),w=C5(k),N=!!k.experimentalDecorators,O=!w,L=w&&S<9,U=O||L,M=S<9,W=S<99?-1:w?0:3,X=S<9,Z=X&&S>=2,ue=U||M||W===-1,ie=e.onSubstituteNode;e.onSubstituteNode=Pc;const se=e.onEmitNode;e.onEmitNode=Fc;let V=!1,ve,fe,Ce,_e,K;const ge=new Map;let Se,we,Pe=!1,le=!1;return Yd(e,ot);function ot(be){if(be.isDeclarationFile||(K=void 0,V=!!(Jd(be)&32),!ue&&!V))return be;const Ut=an(be,Ge,e);return t1(Ut,e.readEmitHelpers()),Ut}function Qe(be){switch(be.kind){case 127:return Nn()?void 0:be;default:return Pi(be,ja)}}function Ge(be){if(!(be.transformFlags&16777216)&&!(be.transformFlags&134234112))return be;switch(be.kind){case 127:return R.fail("Use `modifierVisitor` instead.");case 260:return ye(be);case 228:return nr(be,void 0);case 172:case 169:return R.fail("Use `classElementVisitor` instead.");case 299:return ft(be);case 240:return mt(be);case 257:return dr(be);case 166:return rn(be);case 205:return un(be);case 274:return Gr(be);case 80:return It(be);case 208:return Tr(be);case 209:return nn(be);case 221:case 222:return Xn(be,!1);case 223:return pe(be,!1);case 214:return Y(be,!1,void 0);case 210:return Ht(be);case 241:return Fe(be);case 212:return Ne(be);case 245:return _i(be);case 259:case 215:case 173:case 171:case 174:case 175:return ii(void 0,tt,be);default:return tt(be)}}function tt(be){return an(be,Ge,e)}function Je(be,Ut){switch(be.kind){case 356:return Ze(be,!1,Ut);case 214:return Y(be,!1,Ut);case 228:return nr(be,Ut);default:return Ge(be)}}function qe(be){switch(be.kind){case 221:case 222:return Xn(be,!0);case 223:return pe(be,!0);case 357:return xe(be,!0);case 214:return Y(be,!0,void 0);default:return Ge(be)}}function st(be){switch(be.kind){case 294:return an(be,st,e);case 230:return qr(be);default:return Ge(be)}}function Ke(be){switch(be.kind){case 207:case 206:return Kc(be);default:return Ge(be)}}function We(be){switch(be.kind){case 173:return ts(be);case 174:case 175:case 171:return ii(void 0,Es,be);case 169:return ii(void 0,cs,be);case 172:return ne(be);case 164:return Fn(be);case 237:return be;default:return Bc(be)?Qe(be):Ge(be)}}function gt(be){switch(be.kind){case 164:return Fn(be);default:return Ge(be)}}function jt(be){switch(be.kind){case 169:return Cn(be);case 174:case 175:return We(be);default:R.assertMissingNode(be,"Expected node to either be a PropertyDeclaration, GetAccessorDeclaration, or SetAccessorDeclaration");break}}function It(be){return!M||Ks(be.parent)?be:di(t.createIdentifier(""),be)}function er(be){const Ut=xl(be.left);if(Ut){const tr=yt(be.right,Ge,Dt);return di(n().createClassPrivateFieldInHelper(Ut.brandCheckIdentifier,tr),be)}return an(be,Ge,e)}function ft(be){if(Kp(be,Te)){const{referencedName:Ut,name:tr}=ct(be.name),oe=yt(be.initializer,ht=>Je(ht,Ut),Dt);return t.updatePropertyAssignment(be,tr,oe)}return an(be,Ge,e)}function mt(be){const Ut=_e;_e=[];const tr=an(be,Ge,e),oe=Oe(_e)?[tr,..._e]:tr;return _e=Ut,oe}function xr(be,Ut){const tr=sl(Ut,Ri);return tr&&!tr.name&&Ti(tr,1024)?t.createStringLiteral("default"):t.createStringLiteralFromNode(be)}function dr(be){if(Kp(be,Te)){const Ut=xr(be.name,be.initializer),tr=yt(be.name,Ge,Og),oe=yt(be.initializer,ht=>Je(ht,Ut),Dt);return t.updateVariableDeclaration(be,tr,void 0,void 0,oe)}return an(be,Ge,e)}function rn(be){if(Kp(be,Te)){const Ut=xr(be.name,be.initializer),tr=yt(be.name,Ge,Og),oe=yt(be.initializer,ht=>Je(ht,Ut),Dt);return t.updateParameterDeclaration(be,void 0,void 0,tr,void 0,void 0,oe)}return an(be,Ge,e)}function un(be){if(Kp(be,Te)){const Ut=xr(be.name,be.initializer),tr=yt(be.propertyName,Ge,rl),oe=yt(be.name,Ge,Og),ht=yt(be.initializer,Ft=>Je(Ft,Ut),Dt);return t.updateBindingElement(be,void 0,tr,oe,ht)}return an(be,Ge,e)}function Gr(be){if(Kp(be,Te)){const Ut=t.createStringLiteral(be.isExportEquals?"":"default"),tr=hn(be.modifiers,Qe,ja),oe=yt(be.expression,ht=>Je(ht,Ut),Dt);return t.updateExportAssignment(be,tr,oe)}return an(be,Ge,e)}function mr(be){return Oe(Ce)&&(j_(be)?(Ce.push(be.expression),be=t.updateParenthesizedExpression(be,t.inlineExpressions(Ce))):(Ce.push(be),be=t.inlineExpressions(Ce)),Ce=void 0),be}function Fn(be){const Ut=yt(be.expression,Ge,Dt);return t.updateComputedPropertyName(be,mr(Ut))}function ts(be){return Se?Be(be,Se):tt(be)}function ws(be){return!!(M||tu(be)&&Jd(be)&32)}function Es(be){if(R.assert(!ed(be)),!Wf(be)||!ws(be))return an(be,We,e);const Ut=xl(be.name);if(R.assert(Ut,"Undeclared private name for property declaration."),!Ut.isValid)return be;const tr=Rt(be);tr&&vi().push(t.createAssignment(tr,t.createFunctionExpression(hr(be.modifiers,oe=>ja(oe)&&!nw(oe)&&!qSe(oe)),be.asteriskToken,tr,void 0,Dl(be.parameters,Ge,e),void 0,Op(be.body,Ge,e))))}function ii(be,Ut,tr){const oe=we;we=be;const ht=Ut(tr);return we=oe,ht}function Rt(be){R.assert(as(be.name));const Ut=xl(be.name);if(R.assert(Ut,"Undeclared private name for property declaration."),Ut.kind==="m")return Ut.methodName;if(Ut.kind==="a"){if(_v(be))return Ut.getterName;if(Q0(be))return Ut.setterName}}function Rr(be){const Ut=eg(be),tr=Wb(be),oe=be.name;let ht=oe,Ft=oe;if(ac(oe)&&!lh(oe.expression)){const jo=iU(oe);if(jo)ht=t.updateComputedPropertyName(oe,yt(oe.expression,Ge,Dt)),Ft=t.updateComputedPropertyName(oe,jo.left);else{const Va=t.createTempVariable(s);$o(Va,oe.expression);const vo=yt(oe.expression,Ge,Dt),ka=t.createAssignment(Va,vo);$o(ka,oe.expression),ht=t.updateComputedPropertyName(oe,ka),Ft=t.updateComputedPropertyName(oe,Va)}}const Or=hn(be.modifiers,Qe,ja),ti=Ore(t,be,Or,be.initializer);di(ti,be),Pn(ti,3072),$o(ti,tr);const si=Axe(t,be,Or,ht);di(si,be),Du(si,Ut),$o(si,tr);const Ws=Pxe(t,be,Or,Ft);return di(Ws,be),Pn(Ws,3072),$o(Ws,tr),qne([ti,si,Ws],jt,Eu)}function rr(be){if(ws(be)){const Ut=xl(be.name);if(R.assert(Ut,"Undeclared private name for property declaration."),!Ut.isValid)return be;if(Ut.isStatic&&!M){const tr=At(be,t.createThis());if(tr)return t.createClassStaticBlockDeclaration(t.createBlock([tr],!0))}return}if(O&&!ba(be)&&(K!=null&&K.data)&&K.data.facts&16)return t.updatePropertyDeclaration(be,hn(be.modifiers,Ge,Bc),be.name,void 0,void 0,void 0);if(Kp(be,Te)){const{referencedName:Ut,name:tr}=ct(be.name);return t.updatePropertyDeclaration(be,hn(be.modifiers,Qe,ja),tr,void 0,void 0,yt(be.initializer,oe=>Je(oe,Ut),Dt))}return t.updatePropertyDeclaration(be,hn(be.modifiers,Qe,ja),yt(be.name,gt,rl),void 0,void 0,yt(be.initializer,Ge,Dt))}function Pr(be){if(U&&!op(be)){const Ut=za(be.name,!!be.initializer||w,Kp(be,Te));if(Ut&&vi().push(...Dxe(Ut)),ba(be)&&!M){const tr=At(be,t.createThis());if(tr){const oe=t.createClassStaticBlockDeclaration(t.createBlock([tr]));return di(oe,be),Du(oe,be),Du(tr,{pos:-1,end:-1}),DT(tr,void 0),c4(tr,void 0),oe}}return}return t.updatePropertyDeclaration(be,hn(be.modifiers,Qe,ja),yt(be.name,gt,rl),void 0,void 0,yt(be.initializer,Ge,Dt))}function Cn(be){return R.assert(!ed(be),"Decorators should already have been transformed and elided."),Wf(be)?rr(be):Pr(be)}function Nn(){return W===-1||W===3&&!!(K!=null&&K.data)&&!!(K.data.facts&16)}function cs(be){return op(be)&&(Nn()||tu(be)&&Jd(be)&32)?Rr(be):Cn(be)}function qi(be,Ut){return en(be,yt(Ut,Ge,Dt))}function en(be,Ut){switch(Du(Ut,$b(Ut,-1)),be.kind){case"a":return n().createClassPrivateFieldGetHelper(Ut,be.brandCheckIdentifier,be.kind,be.getterName);case"m":return n().createClassPrivateFieldGetHelper(Ut,be.brandCheckIdentifier,be.kind,be.methodName);case"f":return n().createClassPrivateFieldGetHelper(Ut,be.brandCheckIdentifier,be.kind,be.isStatic?be.variableName:void 0);case"untransformed":return R.fail("Access helpers should not be created for untransformed private elements");default:R.assertNever(be,"Unknown private element type")}}function Tr(be){if(as(be.name)){const Ut=xl(be.name);if(Ut)return Et(di(qi(Ut,be.expression),be),be)}if(Z&&n_(be)&&Ye(be.name)&&we&&(K!=null&&K.data)){const{classConstructor:Ut,superClassReference:tr,facts:oe}=K.data;if(oe&1)return hs(be);if(Ut&&tr){const ht=t.createReflectGetCall(tr,t.createStringLiteralFromNode(be.name),Ut);return di(ht,be.expression),Et(ht,be.expression),ht}}return an(be,Ge,e)}function nn(be){if(Z&&n_(be)&&we&&(K!=null&&K.data)){const{classConstructor:Ut,superClassReference:tr,facts:oe}=K.data;if(oe&1)return hs(be);if(Ut&&tr){const ht=t.createReflectGetCall(tr,yt(be.argumentExpression,Ge,Dt),Ut);return di(ht,be.expression),Et(ht,be.expression),ht}}return an(be,Ge,e)}function Xn(be,Ut){if(be.operator===45||be.operator===46){const tr=xc(be.operand);if(b6(tr)){let oe;if(oe=xl(tr.name)){const ht=yt(tr.expression,Ge,Dt),{readExpression:Ft,initializeExpression:Or}=Pt(ht);let ti=qi(oe,Ft);const si=Sv(be)||Ut?void 0:t.createTempVariable(s);return ti=QJ(t,be,ti,s,si),ti=it(oe,Or||Ft,ti,63),di(ti,be),Et(ti,be),si&&(ti=t.createComma(ti,si),Et(ti,be)),ti}}else if(Z&&n_(tr)&&we&&(K!=null&&K.data)){const{classConstructor:oe,superClassReference:ht,facts:Ft}=K.data;if(Ft&1){const Or=hs(tr);return Sv(be)?t.updatePrefixUnaryExpression(be,Or):t.updatePostfixUnaryExpression(be,Or)}if(oe&&ht){let Or,ti;if(oi(tr)?Ye(tr.name)&&(ti=Or=t.createStringLiteralFromNode(tr.name)):lh(tr.argumentExpression)?ti=Or=tr.argumentExpression:(ti=t.createTempVariable(s),Or=t.createAssignment(ti,yt(tr.argumentExpression,Ge,Dt))),Or&&ti){let si=t.createReflectGetCall(ht,ti,oe);Et(si,tr);const Ws=Ut?void 0:t.createTempVariable(s);return si=QJ(t,be,si,s,Ws),si=t.createReflectSetCall(ht,Or,si,oe),di(si,be),Et(si,be),Ws&&(si=t.createComma(si,Ws),Et(si,be)),si}}}}return an(be,Ge,e)}function _i(be){return t.updateForStatement(be,yt(be.initializer,qe,Zm),yt(be.condition,Ge,Dt),yt(be.incrementor,qe,Dt),Sd(be.statement,Ge,e))}function Fe(be){return t.updateExpressionStatement(be,yt(be.expression,qe,Dt))}function Pt(be){const Ut=Mc(be)?be:t.cloneNode(be);if(lh(be))return{readExpression:Ut,initializeExpression:void 0};const tr=t.createTempVariable(s),oe=t.createAssignment(tr,Ut);return{readExpression:tr,initializeExpression:oe}}function Ht(be){var Ut;if(b6(be.expression)&&xl(be.expression.name)){const{thisArg:tr,target:oe}=t.createCallBinding(be.expression,s,S);return _x(be)?t.updateCallChain(be,t.createPropertyAccessChain(yt(oe,Ge,Dt),be.questionDotToken,"call"),void 0,void 0,[yt(tr,Ge,Dt),...hn(be.arguments,Ge,Dt)]):t.updateCallExpression(be,t.createPropertyAccessExpression(yt(oe,Ge,Dt),"call"),void 0,[yt(tr,Ge,Dt),...hn(be.arguments,Ge,Dt)])}if(Z&&n_(be.expression)&&we&&((Ut=K==null?void 0:K.data)!=null&&Ut.classConstructor)){const tr=t.createFunctionCallCall(yt(be.expression,Ge,Dt),K.data.classConstructor,hn(be.arguments,Ge,Dt));return di(tr,be),Et(tr,be),tr}return an(be,Ge,e)}function Ne(be){var Ut;if(b6(be.tag)&&xl(be.tag.name)){const{thisArg:tr,target:oe}=t.createCallBinding(be.tag,s,S);return t.updateTaggedTemplateExpression(be,t.createCallExpression(t.createPropertyAccessExpression(yt(oe,Ge,Dt),"bind"),void 0,[yt(tr,Ge,Dt)]),void 0,yt(be.template,Ge,x6))}if(Z&&n_(be.tag)&&we&&((Ut=K==null?void 0:K.data)!=null&&Ut.classConstructor)){const tr=t.createFunctionBindCall(yt(be.tag,Ge,Dt),K.data.classConstructor,[]);return di(tr,be),Et(tr,be),t.updateTaggedTemplateExpression(be,tr,void 0,yt(be.template,Ge,x6))}return an(be,Ge,e)}function kt(be){if(K&&ge.set(sl(be),K),M){f();let Ut=ii(be,oe=>hn(oe,Ge,Ks),be.body.statements);Ut=t.mergeLexicalEnvironment(Ut,l());const tr=t.createImmediatelyInvokedArrowFunction(Ut);return di(tr,be),Et(tr,be),ih(tr,4),tr}}function Te(be){if(If(be)&&!be.name){const Ut=YU(be),tr=He(Ut,fl);if(tr){for(const ht of tr.body.statements)if(Gu(ht)&&QP(ht.expression,"___setFunctionName"))return!1}return(M||!!Jd(be))&&Oe(Ut,ht=>fl(ht)||Wf(ht)||U&&QO(ht))}return!1}function pe(be,Ut){if(K0(be)){const tr=Ce;Ce=void 0,be=t.updateBinaryExpression(be,yt(be.left,Ke,Dt),be.operatorToken,yt(be.right,Ge,Dt));const oe=Oe(Ce)?t.inlineExpressions(Hl([...Ce,be])):be;return Ce=tr,oe}if(Xf(be)){if(Kp(be,Te)){const tr=xr(be.left,be.right),oe=yt(be.left,Ge,Dt),ht=yt(be.right,Ft=>Je(Ft,tr),Dt);return t.updateBinaryExpression(be,oe,be.operatorToken,ht)}if(b6(be.left)){const tr=xl(be.left.name);if(tr)return Et(di(it(tr,be.left.expression,be.right,be.operatorToken.kind),be),be)}else if(Z&&n_(be.left)&&we&&(K!=null&&K.data)){const{classConstructor:tr,superClassReference:oe,facts:ht}=K.data;if(ht&1)return t.updateBinaryExpression(be,hs(be.left),be.operatorToken,yt(be.right,Ge,Dt));if(tr&&oe){let Ft=qc(be.left)?yt(be.left.argumentExpression,Ge,Dt):Ye(be.left.name)?t.createStringLiteralFromNode(be.left.name):void 0;if(Ft){let Or=yt(be.right,Ge,Dt);if(XO(be.operatorToken.kind)){let si=Ft;lh(Ft)||(si=t.createTempVariable(s),Ft=t.createAssignment(si,Ft));const Ws=t.createReflectGetCall(oe,si,tr);di(Ws,be.left),Et(Ws,be.left),Or=t.createBinaryExpression(Ws,wD(be.operatorToken.kind),Or),Et(Or,be)}const ti=Ut?void 0:t.createTempVariable(s);return ti&&(Or=t.createAssignment(ti,Or),Et(ti,be)),Or=t.createReflectSetCall(oe,Ft,Or,tr),di(Or,be),Et(Or,be),ti&&(Or=t.createComma(Or,ti),Et(Or,be)),Or}}}}return YKe(be)?er(be):an(be,Ge,e)}function xe(be,Ut){const tr=Ut?GO(be.elements,qe):GO(be.elements,Ge,qe);return t.updateCommaListExpression(be,tr)}function Y(be,Ut,tr){const oe=Ut?qe:tr?Ft=>Je(Ft,tr):Ge,ht=yt(be.expression,oe,Dt);return t.updateParenthesizedExpression(be,ht)}function Ze(be,Ut,tr){const oe=Ut?qe:tr?Ft=>Je(Ft,tr):Ge,ht=yt(be.expression,oe,Dt);return t.updatePartiallyEmittedExpression(be,ht)}function ct(be){if(zd(be)||as(be)){const Ft=t.createStringLiteralFromNode(be),Or=yt(be,Ge,rl);return{referencedName:Ft,name:Or}}if(zd(be.expression)&&!Ye(be.expression)){const Ft=t.createStringLiteralFromNode(be.expression),Or=yt(be,Ge,rl);return{referencedName:Ft,name:Or}}const Ut=t.createTempVariable(s),tr=n().createPropKeyHelper(yt(be.expression,Ge,Dt)),oe=t.createAssignment(Ut,tr),ht=t.updateComputedPropertyName(be,mr(oe));return{referencedName:Ut,name:ht}}function it(be,Ut,tr,oe){if(Ut=yt(Ut,Ge,Dt),tr=yt(tr,Ge,Dt),XO(oe)){const{readExpression:ht,initializeExpression:Ft}=Pt(Ut);Ut=Ft||ht,tr=t.createBinaryExpression(en(be,ht),wD(oe),tr)}switch(Du(Ut,$b(Ut,-1)),be.kind){case"a":return n().createClassPrivateFieldSetHelper(Ut,be.brandCheckIdentifier,tr,be.kind,be.setterName);case"m":return n().createClassPrivateFieldSetHelper(Ut,be.brandCheckIdentifier,tr,be.kind,void 0);case"f":return n().createClassPrivateFieldSetHelper(Ut,be.brandCheckIdentifier,tr,be.kind,be.isStatic?be.variableName:void 0);case"untransformed":return R.fail("Access helpers should not be created for untransformed private elements");default:R.assertNever(be,"Unknown private element type")}}function Kt(be){return hr(be.members,iwe)}function wr(be){let Ut=0;const tr=sl(be);vu(tr)&&vT(N,tr)&&(Ut|=1);let oe=!1,ht=!1,Ft=!1,Or=!1;for(const si of be.members)ba(si)?(si.name&&(as(si.name)||op(si))&&M&&(Ut|=2),(Pa(si)||fl(si))&&(X&&si.transformFlags&16384&&(Ut|=8,Ut&1||(Ut|=2)),Z&&si.transformFlags&134217728&&(Ut&1||(Ut|=6)))):CT(sl(si))||(op(si)?(Or=!0,Ft||(Ft=Wf(si))):Wf(si)?Ft=!0:Pa(si)&&(oe=!0,ht||(ht=!!si.initializer)));return(L&&oe||O&&ht||M&&Ft||M&&Or&&W===-1)&&(Ut|=16),Ut}function qr(be){var Ut;if((((Ut=K==null?void 0:K.data)==null?void 0:Ut.facts)||0)&4){const oe=t.createTempVariable(s,!0);return Fs().superClassReference=oe,t.updateExpressionWithTypeArguments(be,t.createAssignment(oe,yt(be.expression,Ge,Dt)),void 0)}return an(be,Ge,e)}function qn(be,Ut,tr){const oe=Se,ht=Ce,Ft=K;Se=be,Ce=void 0,Xa();const Or=Jd(be)&32;if(M||Or){const Ws=ra(be);Ws&&Ye(Ws)&&(gs().data.className=Ws)}if(M){const Ws=Kt(be);Oe(Ws)&&(gs().data.weakSetName=Sl("instances",Ws[0].name))}const ti=wr(be);ti&&(Fs().facts=ti),ti&8&&Yi();const si=tr(be,ti,Ut);return Ia(),R.assert(K===Ft),Se=oe,Ce=ht,si}function ye(be){return qn(be,void 0,wt)}function wt(be,Ut){var tr,oe;let ht;if(Ut&2){if(M&&((tr=be.emitNode)!=null&&tr.classThis))Fs().classConstructor=be.emitNode.classThis,ht=t.createAssignment(be.emitNode.classThis,t.getInternalName(be));else{const Va=t.createTempVariable(s,!0);Fs().classConstructor=t.cloneNode(Va),ht=t.createAssignment(Va,t.getInternalName(be))}(oe=be.emitNode)!=null&&oe.classThis&&(Fs().classThis=be.emitNode.classThis)}const Ft=hn(be.modifiers,Qe,ja),Or=hn(be.heritageClauses,st,J_),{members:ti,prologue:si}=$e(be),Ws=t.updateClassDeclaration(be,Ft,be.name,void 0,Or,ti),jo=[];if(si&&jo.push(t.createExpressionStatement(si)),jo.push(Ws),ht&&vi().unshift(ht),Oe(Ce)&&jo.push(t.createExpressionStatement(t.inlineExpressions(Ce))),O||M||Jd(be)&32){const Va=YU(be);Oe(Va)&&$t(jo,Va,t.getInternalName(be))}return jo}function nr(be,Ut){return qn(be,Ut,dt)}function dt(be,Ut,tr){var oe,ht,Ft,Or,ti,si;const Ws=!!(Ut&1),jo=YU(be),Va=h.getNodeCheckFlags(be)&1048576;let vo;function ka(){var wl;if(M&&((wl=be.emitNode)!=null&&wl.classThis))return Fs().classConstructor=be.emitNode.classThis;const Fp=h.getNodeCheckFlags(be),De=Fp&1048576,Vt=Fp&32768,tn=t.createTempVariable(Vt?g:s,!!De);return Fs().classConstructor=t.cloneNode(tn),tn}(oe=be.emitNode)!=null&&oe.classThis&&(Fs().classThis=be.emitNode.classThis),Ut&2&&(vo??(vo=ka()));const Hc=hn(be.modifiers,Qe,ja),Ql=hn(be.heritageClauses,st,J_),{members:a_,prologue:Zo}=$e(be);let zo=t.updateClassExpression(be,Hc,be.name,void 0,Ql,a_);const Gc=[];if(Zo&&Gc.push(Zo),(M||Jd(be)&32)&&Oe(jo,wl=>fl(wl)||Wf(wl)||U&&QO(wl))||Oe(Ce)||tr)if(Ws){if(R.assertIsDefined(_e,"Decorated classes transformed by TypeScript are expected to be within a variable declaration."),Oe(Ce)&&Oi(_e,qt(Ce,t.createExpressionStatement)),tr)if(M){const wl=n().createSetFunctionNameHelper((Ft=vo??((ht=be.emitNode)==null?void 0:ht.classThis))!=null?Ft:t.getInternalName(be),tr);_e.push(t.createExpressionStatement(wl))}else{const wl=n().createSetFunctionNameHelper(t.createThis(),tr);zo=t.updateClassExpression(zo,zo.modifiers,zo.name,zo.typeParameters,zo.heritageClauses,[t.createClassStaticBlockDeclaration(t.createBlock([t.createExpressionStatement(wl)])),...zo.members])}Oe(jo)&&$t(_e,jo,(ti=(Or=be.emitNode)==null?void 0:Or.classThis)!=null?ti:t.getInternalName(be)),vo?Gc.push(t.createAssignment(vo,zo)):M&&((si=be.emitNode)!=null&&si.classThis)?Gc.push(t.createAssignment(be.emitNode.classThis,zo)):Gc.push(zo)}else{if(vo??(vo=ka()),Va){Di();const wl=t.cloneNode(vo);wl.emitNode.autoGenerate.flags&=-9,fe[_l(be)]=wl}Gc.push(t.createAssignment(vo,zo)),Oi(Gc,Ce),tr&&Gc.push(n().createSetFunctionNameHelper(vo,tr)),Oi(Gc,St(jo,vo)),Gc.push(t.cloneNode(vo))}else Gc.push(zo);return Gc.length>1&&(ih(zo,131072),Gc.forEach(Lf)),t.inlineExpressions(Gc)}function ne(be){if(!M)return an(be,Ge,e)}function $e(be){const Ut=!!(Jd(be)&32);if(M||V){for(const Or of be.members)if(Wf(Or))if(ws(Or))jc(Or,Or.name,Bo);else{const ti=gs();Wx(ti,Or.name,{kind:"untransformed"})}if(M&&Oe(Kt(be))&&ce(),Nn()){for(const Or of be.members)if(op(Or)){const ti=t.getGeneratedPrivateNameForNode(Or.name,void 0,"_accessor_storage");if(M||Ut&&tu(Or))jc(Or,ti,Ji);else{const si=gs();Wx(si,ti,{kind:"untransformed"})}}}}let tr=hn(be.members,We,Eu),oe;Oe(tr,Al)||(oe=Be(void 0,be));let ht,Ft;if(!M&&Oe(Ce)){let Or=t.createExpressionStatement(t.inlineExpressions(Ce));if(Or.transformFlags&134234112){const si=t.createTempVariable(s),Ws=t.createArrowFunction(void 0,void 0,[],void 0,void 0,t.createBlock([Or]));ht=t.createAssignment(si,Ws),Or=t.createExpressionStatement(t.createCallExpression(si,void 0,[]))}const ti=t.createBlock([Or]);Ft=t.createClassStaticBlockDeclaration(ti),Ce=void 0}if(oe||Ft){let Or;Or=$r(Or,oe),Or=$r(Or,Ft),Or=Oi(Or,tr),tr=Et(t.createNodeArray(Or),be.members)}return{members:tr,prologue:ht}}function ce(){const{weakSetName:be}=gs().data;R.assert(be,"weakSetName should be set in private identifier environment"),vi().push(t.createAssignment(be,t.createNewExpression(t.createIdentifier("WeakSet"),void 0,[])))}function Be(be,Ut){if(be=yt(be,Ge,Al),!(K!=null&&K.data)||!(K.data.facts&16))return be;const tr=eh(Ut),oe=!!(tr&&uf(tr.expression).kind!==104),ht=Dl(be?be.parameters:void 0,Ge,e),Ft=te(Ut,be,oe);return Ft?be?(R.assert(ht),t.updateConstructorDeclaration(be,void 0,ht,Ft)):Lf(di(Et(t.createConstructorDeclaration(void 0,ht??[],Ft),be||Ut),be)):be}function te(be,Ut,tr){var oe,ht;const Ft=Zne(be,!1,!1);let Or=Ft;w||(Or=hr(Or,Zo=>!!Zo.initializer||as(Zo.name)||Xh(Zo)));const ti=Kt(be),si=Oe(Or)||Oe(ti);if(!Ut&&!si)return Op(void 0,Ge,e);d();const Ws=!Ut&&tr;let jo=0,Va=0,vo=-1,ka=[];(oe=Ut==null?void 0:Ut.body)!=null&&oe.statements&&(Va=t.copyPrologue(Ut.body.statements,ka,!1,Ge),vo=QU(Ut.body.statements,Va),vo>=0?(jo=vo+1,ka=[...ka.slice(0,Va),...hn(Ut.body.statements,Ge,Ks,Va,jo-Va),...ka.slice(Va)]):Va>=0&&(jo=Va)),Ws&&ka.push(t.createExpressionStatement(t.createCallExpression(t.createSuper(),void 0,[t.createSpreadElement(t.createIdentifier("arguments"))])));let Hc=0;if(Ut!=null&&Ut.body){for(let Zo=jo;Zo<Ut.body.statements.length;Zo++){const zo=Ut.body.statements[Zo];if(sp(sl(zo),Ut))Hc++;else break}Hc>0&&(jo+=Hc)}const Ql=t.createThis();if(Zi(ka,ti,Ql),Ut){const Zo=hr(Ft,Gc=>sp(sl(Gc),Ut)),zo=hr(Or,Gc=>!sp(sl(Gc),Ut));$t(ka,Zo,Ql),$t(ka,zo,Ql)}else $t(ka,Or,Ql);if(Ut&&Oi(ka,hn(Ut.body.statements,Ge,Ks,jo)),ka=t.mergeLexicalEnvironment(ka,l()),ka.length===0&&!Ut)return;const a_=Ut!=null&&Ut.body&&Ut.body.statements.length>=ka.length&&(ht=Ut.body.multiLine)!=null?ht:ka.length>0;return Et(t.createBlock(Et(t.createNodeArray(ka),Ut?Ut.body.statements:be.members),a_),Ut?Ut.body:void 0)}function $t(be,Ut,tr){for(const oe of Ut){if(ba(oe)&&!M)continue;const ht=At(oe,tr);ht&&be.push(ht)}}function At(be,Ut){const tr=fl(be)?kt(be):Dr(be,Ut);if(!tr)return;const oe=t.createExpressionStatement(tr);di(oe,be),ih(oe,Wa(be)&3072),Du(oe,be);const ht=sl(be);return ua(ht)?($o(oe,ht),z5(oe)):$o(oe,rh(be)),DT(tr,void 0),c4(tr,void 0),Xh(ht)&&ih(oe,3072),oe}function St(be,Ut){const tr=[];for(const oe of be){const ht=fl(oe)?kt(oe):Dr(oe,Ut);ht&&(Lf(ht),di(ht,oe),ih(ht,Wa(oe)&3072),$o(ht,rh(oe)),Du(ht,oe),tr.push(ht))}return tr}function Dr(be,Ut){var tr;const oe=we,ht=yn(be,Ut);return ht&&tu(be)&&((tr=K==null?void 0:K.data)!=null&&tr.facts)&&(di(ht,be),ih(ht,4),$o(ht,Wb(be.name)),ge.set(sl(be),K)),we=oe,ht}function yn(be,Ut){const tr=!w;let oe;Kp(be,Te)&&(zd(be.name)||as(be.name)?oe=t.createStringLiteralFromNode(be.name):zd(be.name.expression)&&!Ye(be.name.expression)?oe=t.createStringLiteralFromNode(be.name.expression):oe=t.getGeneratedNameForNode(be.name));const ht=Xh(be)?t.getGeneratedPrivateNameForNode(be.name):ac(be.name)&&!lh(be.name.expression)?t.updateComputedPropertyName(be.name,t.getGeneratedNameForNode(be.name)):be.name;tu(be)&&(we=be);const Ft=oe?si=>Je(si,oe):Ge;if(as(ht)&&ws(be)){const si=xl(ht);if(si)return si.kind==="f"?si.isStatic?HKe(si.variableName,yt(be.initializer,Ft,Dt)):GKe(Ut,yt(be.initializer,Ft,Dt),si.brandCheckIdentifier):void 0;R.fail("Undeclared private name for property declaration.")}if((as(ht)||tu(be))&&!be.initializer)return;const Or=sl(be);if(Ti(Or,256))return;let ti=yt(be.initializer,Ft,Dt);if(sp(Or,Or.parent)&&Ye(ht)){const si=t.cloneNode(ht);ti?(j_(ti)&&fO(ti.expression)&&QP(ti.expression.left,"___runInitializers")&&lw(ti.expression.right)&&Td(ti.expression.right.expression)&&(ti=ti.expression.left),ti=t.inlineExpressions([ti,si])):ti=si,Pn(ht,3168),$o(si,Or.name),Pn(si,3072)}else ti??(ti=t.createVoidZero());if(tr||as(ht)){const si=Ux(t,Ut,ht,ht);return ih(si,1024),t.createAssignment(si,ti)}else{const si=ac(ht)?ht.expression:Ye(ht)?t.createStringLiteral(Ds(ht.escapedText)):ht,Ws=t.createPropertyDescriptor({value:ti,configurable:!0,writable:!0,enumerable:!0});return t.createObjectDefinePropertyCall(Ut,si,Ws)}}function Di(){ve&1||(ve|=1,e.enableSubstitution(79),fe=[])}function Yi(){ve&2||(ve|=2,e.enableSubstitution(108),e.enableEmitNotification(259),e.enableEmitNotification(215),e.enableEmitNotification(173),e.enableEmitNotification(174),e.enableEmitNotification(175),e.enableEmitNotification(171),e.enableEmitNotification(169),e.enableEmitNotification(164))}function Zi(be,Ut,tr){if(!M||!Oe(Ut))return;const{weakSetName:oe}=gs().data;R.assert(oe,"weakSetName should be set in private identifier environment"),be.push(t.createExpressionStatement(XKe(tr,oe)))}function hs(be){return oi(be)?t.updatePropertyAccessExpression(be,t.createVoidZero(),be.name):t.updateElementAccessExpression(be,t.createVoidZero(),yt(be.argumentExpression,Ge,Dt))}function za(be,Ut,tr){if(ac(be)){const oe=iU(be);let ht=yt(be.expression,Ge,Dt);const Ft=jd(ht),Or=lh(Ft);if(!(!!oe||Xf(Ft)&&al(Ft.left))&&!Or&&Ut){const si=t.getGeneratedNameForNode(be);return h.getNodeCheckFlags(be)&32768?g(si):s(si),tr&&(ht=n().createPropKeyHelper(ht)),t.createAssignment(si,ht)}return Or||Ye(Ft)?void 0:ht}}function Xa(){K={previous:K,data:void 0}}function Ia(){K=K==null?void 0:K.previous}function Fs(){var be;return R.assert(K),(be=K.data)!=null?be:K.data={facts:0,classConstructor:void 0,classThis:void 0,superClassReference:void 0}}function gs(){var be;return R.assert(K),(be=K.privateEnv)!=null?be:K.privateEnv=owe({className:void 0,weakSetName:void 0})}function vi(){return Ce??(Ce=[])}function Bo(be,Ut,tr,oe,ht,Ft,Or){op(be)?Rl(be,Ut,tr,oe,ht,Ft):Pa(be)?Ji(be,Ut,tr,oe,ht,Ft):zl(be)?Rs(be,Ut,tr,oe,ht,Ft):Hd(be)?Qr(be,Ut,tr,oe,ht,Ft,Or):nd(be)&&js(be,Ut,tr,oe,ht,Ft,Or)}function Ji(be,Ut,tr,oe,ht,Ft,Or){var ti;if(ht){const si=R.checkDefined((ti=tr.classThis)!=null?ti:tr.classConstructor,"classConstructor should be set in private identifier environment"),Ws=Nl(Ut);Wx(oe,Ut,{kind:"f",isStatic:!0,brandCheckIdentifier:si,variableName:Ws,isValid:Ft})}else{const si=Nl(Ut);Wx(oe,Ut,{kind:"f",isStatic:!1,brandCheckIdentifier:si,isValid:Ft}),vi().push(t.createAssignment(si,t.createNewExpression(t.createIdentifier("WeakMap"),void 0,[])))}}function Rs(be,Ut,tr,oe,ht,Ft,Or){var ti;const si=Nl(Ut),Ws=ht?R.checkDefined((ti=tr.classThis)!=null?ti:tr.classConstructor,"classConstructor should be set in private identifier environment"):R.checkDefined(oe.data.weakSetName,"weakSetName should be set in private identifier environment");Wx(oe,Ut,{kind:"m",methodName:si,brandCheckIdentifier:Ws,isStatic:ht,isValid:Ft})}function Qr(be,Ut,tr,oe,ht,Ft,Or){var ti;const si=Nl(Ut,"_get"),Ws=ht?R.checkDefined((ti=tr.classThis)!=null?ti:tr.classConstructor,"classConstructor should be set in private identifier environment"):R.checkDefined(oe.data.weakSetName,"weakSetName should be set in private identifier environment");(Or==null?void 0:Or.kind)==="a"&&Or.isStatic===ht&&!Or.getterName?Or.getterName=si:Wx(oe,Ut,{kind:"a",getterName:si,setterName:void 0,brandCheckIdentifier:Ws,isStatic:ht,isValid:Ft})}function js(be,Ut,tr,oe,ht,Ft,Or){var ti;const si=Nl(Ut,"_set"),Ws=ht?R.checkDefined((ti=tr.classThis)!=null?ti:tr.classConstructor,"classConstructor should be set in private identifier environment"):R.checkDefined(oe.data.weakSetName,"weakSetName should be set in private identifier environment");(Or==null?void 0:Or.kind)==="a"&&Or.isStatic===ht&&!Or.setterName?Or.setterName=si:Wx(oe,Ut,{kind:"a",getterName:void 0,setterName:si,brandCheckIdentifier:Ws,isStatic:ht,isValid:Ft})}function Rl(be,Ut,tr,oe,ht,Ft,Or){var ti;const si=Nl(Ut,"_get"),Ws=Nl(Ut,"_set"),jo=ht?R.checkDefined((ti=tr.classThis)!=null?ti:tr.classConstructor,"classConstructor should be set in private identifier environment"):R.checkDefined(oe.data.weakSetName,"weakSetName should be set in private identifier environment");Wx(oe,Ut,{kind:"a",getterName:si,setterName:Ws,brandCheckIdentifier:jo,isStatic:ht,isValid:Ft})}function jc(be,Ut,tr){const oe=Fs(),ht=gs(),Ft=tie(ht,Ut),Or=tu(be),ti=!QKe(Ut)&&Ft===void 0;tr(be,Ut,oe,ht,Or,ti,Ft)}function Sl(be,Ut,tr){const{className:oe}=gs().data,ht=oe?{prefix:"_",node:oe,suffix:"_"}:"_",Ft=typeof be=="object"?t.getGeneratedNameForNode(be,24,ht,tr):typeof be=="string"?t.createUniqueName(be,16,ht,tr):t.createTempVariable(void 0,!0,ht,tr);return h.getNodeCheckFlags(Ut)&32768?g(Ft):s(Ft),Ft}function Nl(be,Ut){var tr;const oe=YB(be);return Sl((tr=oe==null?void 0:oe.substring(1))!=null?tr:be,be,Ut)}function xl(be){const Ut=cwe(K,be);return(Ut==null?void 0:Ut.kind)==="untransformed"?void 0:Ut}function Ka(be){const Ut=t.getGeneratedNameForNode(be),tr=xl(be.name);if(!tr)return an(be,Ge,e);let oe=be.expression;return(L7(be)||n_(be)||!jT(be.expression))&&(oe=t.createTempVariable(s,!0),vi().push(t.createBinaryExpression(oe,63,yt(be.expression,Ge,Dt)))),t.createAssignmentTargetWrapper(Ut,it(tr,oe,Ut,63))}function ea(be){if(cc(be)||Nf(be))return Kc(be);if(b6(be))return Ka(be);if(Z&&n_(be)&&we&&(K!=null&&K.data)){const{classConstructor:Ut,superClassReference:tr,facts:oe}=K.data;if(oe&1)return hs(be);if(Ut&&tr){const ht=qc(be)?yt(be.argumentExpression,Ge,Dt):Ye(be.name)?t.createStringLiteralFromNode(be.name):void 0;if(ht){const Ft=t.createTempVariable(void 0);return t.createAssignmentTargetWrapper(Ft,t.createReflectSetCall(tr,ht,Ft,Ut))}}}return an(be,Ge,e)}function Ao(be){if(Kp(be,Te)){const Ut=ea(be.left),tr=xr(be.left,be.right),oe=yt(be.right,ht=>Je(ht,tr),Dt);return t.updateBinaryExpression(be,Ut,be.operatorToken,oe)}if(Xf(be,!0)){const Ut=ea(be.left),tr=yt(be.right,Ge,Dt);return t.updateBinaryExpression(be,Ut,be.operatorToken,tr)}return ea(be)}function kl(be){if(g_(be.expression)){const Ut=ea(be.expression);return t.updateSpreadElement(be,Ut)}return an(be,Ge,e)}function zu(be){if(b7(be)){if($g(be))return kl(be);if(!yu(be))return Ao(be)}return an(be,Ge,e)}function $_(be){const Ut=yt(be.name,Ge,rl);if(Xf(be.initializer,!0)){const tr=Ao(be.initializer);return t.updatePropertyAssignment(be,Ut,tr)}if(g_(be.initializer)){const tr=ea(be.initializer);return t.updatePropertyAssignment(be,Ut,tr)}return an(be,Ge,e)}function Vl(be){if(Kp(be,Te)){const Ut=xr(be.name,be.objectAssignmentInitializer),tr=yt(be.objectAssignmentInitializer,oe=>Je(oe,Ut),Dt);return t.updateShorthandPropertyAssignment(be,be.name,tr)}return an(be,Ge,e)}function Lu(be){if(g_(be.expression)){const Ut=ea(be.expression);return t.updateSpreadAssignment(be,Ut)}return an(be,Ge,e)}function fc(be){return R.assertNode(be,v7),hw(be)?Lu(be):id(be)?Vl(be):Iu(be)?$_(be):an(be,Ge,e)}function Kc(be){return Nf(be)?t.updateArrayLiteralExpression(be,hn(be.elements,zu,Dt)):t.updateObjectLiteralExpression(be,hn(be.properties,fc,X0))}function Fc(be,Ut,tr){const oe=sl(Ut),ht=ge.get(oe);if(ht){const Ft=K,Or=le;K=ht,le=Pe,Pe=!fl(oe)||!(Jd(oe)&32),se(be,Ut,tr),Pe=le,le=Or,K=Ft;return}switch(Ut.kind){case 215:if(Ac(oe)||Wa(Ut)&524288)break;case 259:case 173:case 174:case 175:case 171:case 169:{const Ft=K,Or=le;K=void 0,le=Pe,Pe=!1,se(be,Ut,tr),Pe=le,le=Or,K=Ft;return}case 164:{const Ft=K,Or=Pe;K=K==null?void 0:K.previous,Pe=le,se(be,Ut,tr),Pe=Or,K=Ft;return}}se(be,Ut,tr)}function Pc(be,Ut){return Ut=ie(be,Ut),be===1?br(Ut):Ut}function br(be){switch(be.kind){case 79:return df(be);case 108:return Cl(be)}return be}function Cl(be){if(ve&2&&(K!=null&&K.data)){const{facts:Ut,classConstructor:tr,classThis:oe}=K.data;if(Ut&1&&N)return t.createParenthesizedExpression(t.createVoidZero());const ht=Pe?oe??tr:tr;if(ht)return Et(di(t.cloneNode(ht),be),be)}return be}function df(be){return Rf(be)||be}function Rf(be){if(ve&1&&h.getNodeCheckFlags(be)&2097152){const Ut=h.getReferencedValueDeclaration(be);if(Ut){const tr=fe[Ut.id];if(tr){const oe=t.cloneNode(tr);return $o(oe,be),Du(oe,be),oe}}}}}function HKe(e,t){return J.createAssignment(e,J.createObjectLiteralExpression([J.createPropertyAssignment("value",t||J.createVoidZero())]))}function GKe(e,t,n){return J.createCallExpression(J.createPropertyAccessExpression(n,"set"),void 0,[e,t||J.createVoidZero()])}function XKe(e,t){return J.createCallExpression(J.createPropertyAccessExpression(t,"add"),void 0,[e])}function QKe(e){return!PC(e)&&e.escapedText==="#constructor"}function YKe(e){return as(e.left)&&e.operatorToken.kind===101}var ZKe=p({"src/compiler/transformers/classFields.ts"(){aa()}});function pwe(e){const{hoistVariableDeclaration:t}=e,n=e.getEmitResolver(),s=e.getCompilerOptions(),l=Io(s),f=bd(s,"strictNullChecks");let d,g;return{serializeTypeNode:(fe,Ce)=>h(fe,L,Ce),serializeTypeOfNode:(fe,Ce)=>h(fe,S,Ce),serializeParameterTypesOfNode:(fe,Ce,_e)=>h(fe,w,Ce,_e),serializeReturnTypeOfNode:(fe,Ce)=>h(fe,O,Ce)};function h(fe,Ce,_e,K){const ge=d,Se=g;d=fe.currentLexicalScope,g=fe.currentNameScope;const we=K===void 0?Ce(_e):Ce(_e,K);return d=ge,g=Se,we}function k(fe){const Ce=n.getAllAccessorDeclarations(fe);return Ce.setAccessor&&W2e(Ce.setAccessor)||Ce.getAccessor&&bm(Ce.getAccessor)}function S(fe){switch(fe.kind){case 169:case 166:return L(fe.type);case 175:case 174:return L(k(fe));case 260:case 228:case 171:return J.createIdentifier("Function");default:return J.createVoidZero()}}function w(fe,Ce){const _e=Ri(fe)?Bg(fe):Sa(fe)&&md(fe.body)?fe:void 0,K=[];if(_e){const ge=N(_e,Ce),Se=ge.length;for(let we=0;we<Se;we++){const Pe=ge[we];we===0&&Ye(Pe.name)&&Pe.name.escapedText==="this"||(Pe.dotDotDotToken?K.push(L(XK(Pe.type))):K.push(S(Pe)))}}return J.createArrayLiteralExpression(K)}function N(fe,Ce){if(Ce&&fe.kind===174){const{setAccessor:_e}=Dx(Ce.members,fe);if(_e)return _e.parameters}return fe.parameters}function O(fe){return Sa(fe)&&fe.type?L(fe.type):W6(fe)?J.createIdentifier("Promise"):J.createVoidZero()}function L(fe){if(fe===void 0)return J.createIdentifier("Object");switch(fe=lee(fe),fe.kind){case 114:case 155:case 144:return J.createVoidZero();case 181:case 182:return J.createIdentifier("Function");case 185:case 186:return J.createIdentifier("Array");case 179:return fe.assertsModifier?J.createVoidZero():J.createIdentifier("Boolean");case 134:return J.createIdentifier("Boolean");case 200:case 152:return J.createIdentifier("String");case 149:return J.createIdentifier("Object");case 198:return U(fe.literal);case 148:return J.createIdentifier("Number");case 160:return ve("BigInt",7);case 153:return ve("Symbol",2);case 180:return X(fe);case 190:return M(fe.types,!0);case 189:return M(fe.types,!1);case 191:return M([fe.trueType,fe.falseType],!1);case 195:if(fe.operator===146)return L(fe.type);break;case 183:case 196:case 197:case 184:case 131:case 157:case 194:case 202:break;case 315:case 316:case 320:case 321:case 322:break;case 317:case 318:case 319:return L(fe.type);default:return R.failBadSyntaxKind(fe)}return J.createIdentifier("Object")}function U(fe){switch(fe.kind){case 10:case 14:return J.createIdentifier("String");case 221:{const Ce=fe.operand;switch(Ce.kind){case 8:case 9:return U(Ce);default:return R.failBadSyntaxKind(Ce)}}case 8:return J.createIdentifier("Number");case 9:return ve("BigInt",7);case 110:case 95:return J.createIdentifier("Boolean");case 104:return J.createVoidZero();default:return R.failBadSyntaxKind(fe)}}function M(fe,Ce){let _e;for(let K of fe){if(K=lee(K),K.kind===144){if(Ce)return J.createVoidZero();continue}if(K.kind===157){if(!Ce)return J.createIdentifier("Object");continue}if(K.kind===131)return J.createIdentifier("Object");if(!f&&(Hb(K)&&K.literal.kind===104||K.kind===155))continue;const ge=L(K);if(Ye(ge)&&ge.escapedText==="Object")return ge;if(_e){if(!W(_e,ge))return J.createIdentifier("Object")}else _e=ge}return _e??J.createVoidZero()}function W(fe,Ce){return al(fe)?al(Ce):Ye(fe)?Ye(Ce)&&fe.escapedText===Ce.escapedText:oi(fe)?oi(Ce)&&W(fe.expression,Ce.expression)&&W(fe.name,Ce.name):lw(fe)?lw(Ce)&&Td(fe.expression)&&fe.expression.text==="0"&&Td(Ce.expression)&&Ce.expression.text==="0":yo(fe)?yo(Ce)&&fe.text===Ce.text:h4(fe)?h4(Ce)&&W(fe.expression,Ce.expression):j_(fe)?j_(Ce)&&W(fe.expression,Ce.expression):y4(fe)?y4(Ce)&&W(fe.condition,Ce.condition)&&W(fe.whenTrue,Ce.whenTrue)&&W(fe.whenFalse,Ce.whenFalse):$n(fe)?$n(Ce)&&fe.operatorToken.kind===Ce.operatorToken.kind&&W(fe.left,Ce.left)&&W(fe.right,Ce.right):!1}function X(fe){const Ce=n.getTypeReferenceSerializationKind(fe.typeName,g??d);switch(Ce){case 0:if(kn(fe,ge=>ge.parent&&p4(ge.parent)&&(ge.parent.trueType===ge||ge.parent.falseType===ge)))return J.createIdentifier("Object");const _e=ue(fe.typeName),K=J.createTempVariable(t);return J.createConditionalExpression(J.createTypeCheck(J.createAssignment(K,_e),"function"),void 0,K,void 0,J.createIdentifier("Object"));case 1:return ie(fe.typeName);case 2:return J.createVoidZero();case 4:return ve("BigInt",7);case 6:return J.createIdentifier("Boolean");case 3:return J.createIdentifier("Number");case 5:return J.createIdentifier("String");case 7:return J.createIdentifier("Array");case 8:return ve("Symbol",2);case 10:return J.createIdentifier("Function");case 9:return J.createIdentifier("Promise");case 11:return J.createIdentifier("Object");default:return R.assertNever(Ce)}}function Z(fe,Ce){return J.createLogicalAnd(J.createStrictInequality(J.createTypeOfExpression(fe),J.createStringLiteral("undefined")),Ce)}function ue(fe){if(fe.kind===79){const K=ie(fe);return Z(K,K)}if(fe.left.kind===79)return Z(ie(fe.left),ie(fe));const Ce=ue(fe.left),_e=J.createTempVariable(t);return J.createLogicalAnd(J.createLogicalAnd(Ce.left,J.createStrictInequality(J.createAssignment(_e,Ce.right),J.createVoidZero())),J.createPropertyAccessExpression(_e,fe.right))}function ie(fe){switch(fe.kind){case 79:const Ce=go(Et(sg.cloneNode(fe),fe),fe.parent);return Ce.original=void 0,go(Ce,qs(d)),Ce;case 163:return se(fe)}}function se(fe){return J.createPropertyAccessExpression(ie(fe.left),fe.right)}function V(fe){return J.createConditionalExpression(J.createTypeCheck(J.createIdentifier(fe),"function"),void 0,J.createIdentifier(fe),void 0,J.createIdentifier("Object"))}function ve(fe,Ce){return l<Ce?V(fe):J.createIdentifier(fe)}}var KKe=p({"src/compiler/transformers/typeSerializer.ts"(){aa()}});function dwe(e){const{factory:t,getEmitHelperFactory:n,hoistVariableDeclaration:s}=e,l=e.getEmitResolver(),f=e.getCompilerOptions(),d=Io(f),g=e.onSubstituteNode;e.onSubstituteNode=gt;let h;return Yd(e,k);function k(ft){const mt=an(ft,w,e);return t1(mt,e.readEmitHelpers()),mt}function S(ft){return Df(ft)?void 0:ft}function w(ft){if(!(ft.transformFlags&33554432))return ft;switch(ft.kind){case 167:return;case 260:return N(ft);case 228:return Z(ft);case 173:return ue(ft);case 171:return se(ft);case 175:return ve(ft);case 174:return V(ft);case 169:return fe(ft);case 166:return Ce(ft);default:return an(ft,w,e)}}function N(ft){if(!(vT(!0,ft)||fP(!0,ft)))return an(ft,w,e);const mt=vT(!0,ft)?X(ft,ft.name):W(ft,ft.name);return mt.length>1&&(mt.push(t.createEndOfDeclarationMarker(ft)),Pn(mt[0],Wa(mt[0])|8388608)),Rh(mt)}function O(ft){return!!(ft.transformFlags&536870912)}function L(ft){return Oe(ft,O)}function U(ft){for(const mt of ft.members){if(!yw(mt))continue;const xr=ZU(mt,ft,!0);if(Oe(xr==null?void 0:xr.decorators,O)||Oe(xr==null?void 0:xr.parameters,L))return!0}return!1}function M(ft,mt){let xr=[];return ge(xr,ft,!1),ge(xr,ft,!0),U(ft)&&(mt=Et(t.createNodeArray([...mt,t.createClassStaticBlockDeclaration(t.createBlock(xr,!0))]),mt),xr=void 0),{decorationStatements:xr,members:mt}}function W(ft,mt){const xr=hn(ft.modifiers,S,ja),dr=hn(ft.heritageClauses,w,J_);let rn=hn(ft.members,w,Eu),un=[];({members:rn,decorationStatements:un}=M(ft,rn));const Gr=t.updateClassDeclaration(ft,xr,mt,void 0,dr,rn);return Oi([Gr],un)}function X(ft,mt){const xr=rh(ft),dr=st(ft),rn=d<=2?t.getInternalName(ft,!1,!0):t.getLocalName(ft,!1,!0),un=hn(ft.heritageClauses,w,J_);let Gr=hn(ft.members,w,Eu),mr=[];({members:Gr,decorationStatements:mr}=M(ft,Gr));const Fn=t.createClassExpression(void 0,mt&&al(mt)?void 0:mt,void 0,un,Gr);di(Fn,ft),Et(Fn,xr);const ts=t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(rn,void 0,void 0,dr?t.createAssignment(dr,Fn):Fn)],1));di(ts,ft),Et(ts,xr),Du(ts,ft);const ws=[ts];return Oi(ws,mr),ot(ws,ft),ws}function Z(ft){return t.updateClassExpression(ft,hn(ft.modifiers,S,ja),ft.name,void 0,hn(ft.heritageClauses,w,J_),hn(ft.members,w,Eu))}function ue(ft){return t.updateConstructorDeclaration(ft,hn(ft.modifiers,S,ja),hn(ft.parameters,w,ua),yt(ft.body,w,Fa))}function ie(ft,mt){return ft!==mt&&(Du(ft,mt),$o(ft,rh(mt))),ft}function se(ft){return ie(t.updateMethodDeclaration(ft,hn(ft.modifiers,S,ja),ft.asteriskToken,R.checkDefined(yt(ft.name,w,rl)),void 0,void 0,hn(ft.parameters,w,ua),void 0,yt(ft.body,w,Fa)),ft)}function V(ft){return ie(t.updateGetAccessorDeclaration(ft,hn(ft.modifiers,S,ja),R.checkDefined(yt(ft.name,w,rl)),hn(ft.parameters,w,ua),void 0,yt(ft.body,w,Fa)),ft)}function ve(ft){return ie(t.updateSetAccessorDeclaration(ft,hn(ft.modifiers,S,ja),R.checkDefined(yt(ft.name,w,rl)),hn(ft.parameters,w,ua),yt(ft.body,w,Fa)),ft)}function fe(ft){if(!(ft.flags&16777216||Ti(ft,2)))return ie(t.updatePropertyDeclaration(ft,hn(ft.modifiers,S,ja),R.checkDefined(yt(ft.name,w,rl)),void 0,void 0,yt(ft.initializer,w,Dt)),ft)}function Ce(ft){const mt=t.updateParameterDeclaration(ft,Exe(t,ft.modifiers),ft.dotDotDotToken,R.checkDefined(yt(ft.name,w,Og)),void 0,void 0,yt(ft.initializer,w,Dt));return mt!==ft&&(Du(mt,ft),Et(mt,rh(ft)),$o(mt,rh(ft)),Pn(mt.name,64)),mt}function _e(ft){return QP(ft.expression,"___metadata")}function K(ft){if(!ft)return;const{false:mt,true:xr}=P1e(ft.decorators,_e),dr=[];return Oi(dr,qt(mt,Ge)),Oi(dr,mn(ft.parameters,tt)),Oi(dr,qt(xr,Ge)),dr}function ge(ft,mt,xr){Oi(ft,qt(Pe(mt,xr),dr=>t.createExpressionStatement(dr)))}function Se(ft,mt,xr){return F7(!0,ft,xr)&&mt===ba(ft)}function we(ft,mt){return hr(ft.members,xr=>Se(xr,mt,ft))}function Pe(ft,mt){const xr=we(ft,mt);let dr;for(const rn of xr)dr=$r(dr,le(ft,rn));return dr}function le(ft,mt){const xr=ZU(mt,ft,!0),dr=K(xr);if(!dr)return;const rn=We(ft,mt),un=Je(mt,!Ti(mt,2)),Gr=d>0?Pa(mt)&&!Xh(mt)?t.createVoidZero():t.createNull():void 0,mr=n().createDecorateHelper(dr,rn,un,Gr);return Pn(mr,3072),$o(mr,rh(mt)),mr}function ot(ft,mt){const xr=Qe(mt);xr&&ft.push(di(t.createExpressionStatement(xr),mt))}function Qe(ft){const mt=eie(ft),xr=K(mt);if(!xr)return;const dr=h&&h[_l(ft)],rn=d<=2?t.getInternalName(ft,!1,!0):t.getLocalName(ft,!1,!0),un=n().createDecorateHelper(xr,rn),Gr=t.createAssignment(rn,dr?t.createAssignment(dr,un):un);return Pn(Gr,3072),$o(Gr,rh(ft)),Gr}function Ge(ft){return R.checkDefined(yt(ft.expression,w,Dt))}function tt(ft,mt){let xr;if(ft){xr=[];for(const dr of ft){const rn=n().createParamHelper(Ge(dr),mt);Et(rn,dr.expression),Pn(rn,3072),xr.push(rn)}}return xr}function Je(ft,mt){const xr=ft.name;return as(xr)?t.createIdentifier(""):ac(xr)?mt&&!lh(xr.expression)?t.getGeneratedNameForNode(xr):xr.expression:Ye(xr)?t.createStringLiteral(ai(xr)):t.cloneNode(xr)}function qe(){h||(e.enableSubstitution(79),h=[])}function st(ft){if(l.getNodeCheckFlags(ft)&1048576){qe();const mt=t.createUniqueName(ft.name&&!al(ft.name)?ai(ft.name):"default");return h[_l(ft)]=mt,s(mt),mt}}function Ke(ft){return t.createPropertyAccessExpression(t.getDeclarationName(ft),"prototype")}function We(ft,mt){return ba(mt)?t.getDeclarationName(ft):Ke(ft)}function gt(ft,mt){return mt=g(ft,mt),ft===1?jt(mt):mt}function jt(ft){switch(ft.kind){case 79:return It(ft)}return ft}function It(ft){var mt;return(mt=er(ft))!=null?mt:ft}function er(ft){if(h&&l.getNodeCheckFlags(ft)&2097152){const mt=l.getReferencedValueDeclaration(ft);if(mt){const xr=h[mt.id];if(xr){const dr=t.cloneNode(xr);return $o(dr,ft),Du(dr,ft),dr}}}}}var eet=p({"src/compiler/transformers/legacyDecorators.ts"(){aa()}});function mwe(e){const{factory:t,getEmitHelperFactory:n,startLexicalEnvironment:s,endLexicalEnvironment:l,hoistVariableDeclaration:f}=e;let d,g,h,k,S,w;return Yd(e,N);function N(ye){d=void 0,w=!1;const wt=an(ye,V,e);return t1(wt,e.readEmitHelpers()),w&&(ZC(wt,32),w=!1),wt}function O(){switch(g=void 0,h=void 0,k=void 0,d==null?void 0:d.kind){case"class":g=d.classInfo;break;case"class-element":g=d.next.classInfo,h=d.classThis,k=d.classSuper;break;case"name":const ye=d.next.next.next;(ye==null?void 0:ye.kind)==="class-element"&&(g=ye.next.classInfo,h=ye.classThis,k=ye.classSuper);break}}function L(ye){d={kind:"class",next:d,classInfo:ye,savedPendingExpressions:S},S=void 0,O()}function U(){R.assert((d==null?void 0:d.kind)==="class","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class' but got '${d==null?void 0:d.kind}' instead.`),S=d.savedPendingExpressions,d=d.next,O()}function M(ye){var wt,nr;R.assert((d==null?void 0:d.kind)==="class","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class' but got '${d==null?void 0:d.kind}' instead.`),d={kind:"class-element",next:d},(fl(ye)||Pa(ye)&&tu(ye))&&(d.classThis=(wt=d.next.classInfo)==null?void 0:wt.classThis,d.classSuper=(nr=d.next.classInfo)==null?void 0:nr.classSuper),O()}function W(){var ye;R.assert((d==null?void 0:d.kind)==="class-element","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class-element' but got '${d==null?void 0:d.kind}' instead.`),R.assert(((ye=d.next)==null?void 0:ye.kind)==="class","Incorrect value for top.next.kind.",()=>{var wt;return`Expected top.next.kind to be 'class' but got '${(wt=d.next)==null?void 0:wt.kind}' instead.`}),d=d.next,O()}function X(){R.assert((d==null?void 0:d.kind)==="class-element","Incorrect value for top.kind.",()=>`Expected top.kind to be 'class-element' but got '${d==null?void 0:d.kind}' instead.`),d={kind:"name",next:d},O()}function Z(){R.assert((d==null?void 0:d.kind)==="name","Incorrect value for top.kind.",()=>`Expected top.kind to be 'name' but got '${d==null?void 0:d.kind}' instead.`),d=d.next,O()}function ue(){(d==null?void 0:d.kind)==="other"?(R.assert(!S),d.depth++):(d={kind:"other",next:d,depth:0,savedPendingExpressions:S},S=void 0,O())}function ie(){R.assert((d==null?void 0:d.kind)==="other","Incorrect value for top.kind.",()=>`Expected top.kind to be 'other' but got '${d==null?void 0:d.kind}' instead.`),d.depth>0?(R.assert(!S),d.depth--):(S=d.savedPendingExpressions,d=d.next,O())}function se(ye){return!!(ye.transformFlags&33554432)||!!h&&!!(ye.transformFlags&16384)||!!h&&!!k&&!!(ye.transformFlags&134217728)}function V(ye){if(!se(ye))return ye;switch(ye.kind){case 167:return R.fail("Use `modifierVisitor` instead.");case 260:return Ge(ye);case 228:return tt(ye,void 0);case 173:case 169:case 172:return R.fail("Not supported outside of a class. Use 'classElementVisitor' instead.");case 166:return un(ye);case 223:return ts(ye,!1);case 299:return rr(ye);case 257:return Pr(ye);case 205:return Cn(ye);case 274:return Pt(ye);case 108:return ft(ye);case 245:return mr(ye);case 241:return Fn(ye);case 357:return Es(ye,!1);case 214:return Ht(ye,!1,void 0);case 356:return Ne(ye,!1,void 0);case 210:return mt(ye);case 212:return xr(ye);case 221:case 222:return ws(ye,!1);case 208:return dr(ye);case 209:return rn(ye);case 164:return Rr(ye);case 171:case 175:case 174:case 215:case 259:{ue();const wt=an(ye,ve,e);return ie(),wt}default:return an(ye,ve,e)}}function ve(ye){switch(ye.kind){case 167:return;default:return V(ye)}}function fe(ye){switch(ye.kind){case 167:return;default:return ye}}function Ce(ye){switch(ye.kind){case 173:return qe(ye);case 171:return We(ye);case 174:return gt(ye);case 175:return jt(ye);case 169:return er(ye);case 172:return It(ye);default:return V(ye)}}function _e(ye,wt){switch(ye.kind){case 356:return Ne(ye,!1,wt);case 214:return Ht(ye,!1,wt);case 228:return tt(ye,wt);default:return V(ye)}}function K(ye){switch(ye.kind){case 221:case 222:return ws(ye,!0);case 223:return ts(ye,!0);case 357:return Es(ye,!0);case 214:return Ht(ye,!0,void 0);default:return V(ye)}}function ge(ye){let wt=ye.name&&Ye(ye.name)&&!al(ye.name)?ai(ye.name):ye.name&&as(ye.name)&&!al(ye.name)?ai(ye.name).slice(1):ye.name&&yo(ye.name)&&Bd(ye.name.text,99)?ye.name.text:Ri(ye)?"class":"member";return _v(ye)&&(wt=`get_${wt}`),Q0(ye)&&(wt=`set_${wt}`),ye.name&&as(ye.name)&&(wt=`private_${wt}`),ba(ye)&&(wt=`static_${wt}`),"_"+wt}function Se(ye,wt){return t.createUniqueName(`${ge(ye)}_${wt}`,24)}function we(ye,wt){return t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(ye,void 0,void 0,wt)],1))}function Pe(ye){let wt,nr,dt=!1,ne=!1,$e=!1;for(const ce of ye.members)if(vbe(ce)&&F7(!1,ce,ye)&&(tu(ce)?nr??(nr=t.createUniqueName("_staticExtraInitializers",16)):wt??(wt=t.createUniqueName("_instanceExtraInitializers",16))),fl(ce)?dt=!0:Pa(ce)&&(tu(ce)?dt||(dt=!!ce.initializer||ed(ce)):ne||(ne=!jK(ce))),(Wf(ce)||op(ce))&&tu(ce)&&($e=!0),nr&&wt&&dt&&ne&&$e)break;return{class:ye,instanceExtraInitializersName:wt,staticExtraInitializersName:nr,hasStaticInitializers:dt,hasNonAmbientInstanceFields:ne,hasStaticPrivateClassElements:$e}}function le(ye){for(const wt of ye.members)if((fl(wt)||Pa(wt)&&tu(wt))&&wt.transformFlags&134217728)return!0;return!1}function ot(ye,wt){var nr,dt,ne,$e,ce;s();const Be=(nr=ye.name)!=null?nr:t.getGeneratedNameForNode(ye),te=Pe(ye),$t=[];let At,St,Dr,yn,Di=!1;const Yi=Te(eie(ye));if(Yi&&(te.classDecoratorsName=t.createUniqueName("_classDecorators",16),te.classDescriptorName=t.createUniqueName("_classDescriptor",16),te.classExtraInitializersName=t.createUniqueName("_classExtraInitializers",16),te.classThis=t.createUniqueName("_classThis",16),$t.push(we(te.classDecoratorsName,t.createArrayLiteralExpression(Yi)),we(te.classDescriptorName),we(te.classExtraInitializersName,t.createArrayLiteralExpression()),we(te.classThis)),te.hasStaticPrivateClassElements&&(Di=!0,w=!0)),Yi&&le(ye)){const gs=i5(ye.heritageClauses,94),vi=gs&&Ru(gs.types),Bo=vi&&yt(vi.expression,V,Dt);if(Bo){te.classSuper=t.createUniqueName("_classSuper",16);const Ji=uf(Bo),Rs=If(Ji)&&!Ji.name||yc(Ji)&&!Ji.name||Ac(Ji)?t.createComma(t.createNumericLiteral(0),Bo):Bo;$t.push(we(te.classSuper,Rs));const Qr=t.updateExpressionWithTypeArguments(vi,te.classSuper,void 0),js=t.updateHeritageClause(gs,[Qr]);yn=t.createNodeArray([js])}}else yn=hn(ye.heritageClauses,V,J_);const Zi=(dt=te.classThis)!=null?dt:t.createThis();if(!((ne=sl(ye,Ri))!=null&&ne.name)&&(Yi||!yo(wt)||!ZK(wt))){const gs=n().createSetFunctionNameHelper(t.createThis(),wt);At=$r(At,t.createExpressionStatement(gs))}L(te);let za=hn(ye.members,Ce,Eu);if(S){let gs;for(let vi of S){vi=yt(vi,function Ji(Rs){if(!(Rs.transformFlags&16384))return Rs;switch(Rs.kind){case 108:return gs||(gs=t.createUniqueName("_outerThis",16),$t.unshift(we(gs,t.createThis()))),gs;default:return an(Rs,Ji,e)}},Dt);const Bo=t.createExpressionStatement(vi);At=$r(At,Bo)}S=void 0}if(U(),te.instanceExtraInitializersName&&!Bg(ye)){const gs=Je(ye,te);if(gs){const vi=eh(ye),Bo=!!(vi&&uf(vi.expression).kind!==104),Ji=[];if(Bo){const Qr=t.createSpreadElement(t.createIdentifier("arguments")),js=t.createCallExpression(t.createSuper(),void 0,[Qr]);Ji.push(t.createExpressionStatement(js))}Oi(Ji,gs);const Rs=t.createBlock(Ji,!0);Dr=t.createConstructorDeclaration(void 0,[],Rs)}}if(te.staticExtraInitializersName&&$t.push(we(te.staticExtraInitializersName,t.createArrayLiteralExpression())),te.instanceExtraInitializersName&&$t.push(we(te.instanceExtraInitializersName,t.createArrayLiteralExpression())),te.memberInfos&&cp(te.memberInfos,(gs,vi)=>{ba(vi)&&($t.push(we(gs.memberDecoratorsName)),gs.memberInitializersName&&$t.push(we(gs.memberInitializersName,t.createArrayLiteralExpression())),gs.memberDescriptorName&&$t.push(we(gs.memberDescriptorName)))}),te.memberInfos&&cp(te.memberInfos,(gs,vi)=>{ba(vi)||($t.push(we(gs.memberDecoratorsName)),gs.memberInitializersName&&$t.push(we(gs.memberInitializersName,t.createArrayLiteralExpression())),gs.memberDescriptorName&&$t.push(we(gs.memberDescriptorName)))}),At=Oi(At,te.staticNonFieldDecorationStatements),At=Oi(At,te.nonStaticNonFieldDecorationStatements),At=Oi(At,te.staticFieldDecorationStatements),At=Oi(At,te.nonStaticFieldDecorationStatements),te.classDescriptorName&&te.classDecoratorsName&&te.classExtraInitializersName&&te.classThis){At??(At=[]);const gs=t.createPropertyAssignment("value",t.createThis()),vi=t.createObjectLiteralExpression([gs]),Bo=t.createAssignment(te.classDescriptorName,vi),Ji=t.createPropertyAccessExpression(t.createThis(),"name"),Rs=n().createESDecorateHelper(t.createNull(),Bo,te.classDecoratorsName,{kind:"class",name:Ji},t.createNull(),te.classExtraInitializersName),Qr=t.createExpressionStatement(Rs);$o(Qr,yv(ye)),At.push(Qr);const js=t.createPropertyAccessExpression(te.classDescriptorName,"value"),Rl=t.createAssignment(te.classThis,js),jc=t.createAssignment(Be,Rl);At.push(t.createExpressionStatement(jc))}if(te.staticExtraInitializersName){const gs=n().createRunInitializersHelper(Zi,te.staticExtraInitializersName),vi=t.createExpressionStatement(gs);$o(vi,($e=ye.name)!=null?$e:yv(ye)),At=$r(At,vi)}if(te.classExtraInitializersName){const gs=n().createRunInitializersHelper(Zi,te.classExtraInitializersName),vi=t.createExpressionStatement(gs);$o(vi,(ce=ye.name)!=null?ce:yv(ye)),St=$r(St,vi)}At&&St&&!te.hasStaticInitializers&&(Oi(At,St),St=void 0);let Xa=za;if(At){const gs=t.createBlock(At,!0),vi=t.createClassStaticBlockDeclaration(gs);Di&&V5(vi,32),Xa=[vi,...Xa]}if(Dr&&(Xa=[...Xa,Dr]),St){const gs=t.createBlock(St,!0),vi=t.createClassStaticBlockDeclaration(gs);Xa=[...Xa,vi]}Xa!==za&&(za=Et(t.createNodeArray(Xa),za));const Ia=l();let Fs;if(Yi){Fs=t.createClassExpression(void 0,void 0,void 0,yn,za);const gs=t.createVariableDeclaration(Be,void 0,void 0,Fs),vi=t.createVariableDeclarationList([gs]),Bo=te.classThis?t.createAssignment(Be,te.classThis):Be;$t.push(t.createVariableStatement(void 0,vi),t.createReturnStatement(Bo))}else Fs=t.createClassExpression(void 0,ye.name,void 0,yn,za),$t.push(t.createReturnStatement(Fs));if(Di){ZC(Fs,32);for(const gs of Fs.members)(Wf(gs)||op(gs))&&tu(gs)&&ZC(gs,32)}return di(Fs,ye),Qf(Fs).classThis=te.classThis,t.createImmediatelyInvokedArrowFunction(t.mergeLexicalEnvironment($t,Ia))}function Qe(ye){return vT(!1,ye)||fP(!1,ye)}function Ge(ye){var wt;if(Qe(ye))if(Ti(ye,1)&&Ti(ye,1024)){const nr=(wt=sl(ye,Ri))!=null?wt:ye,dt=nr.name?t.createStringLiteralFromNode(nr.name):t.createStringLiteral("default"),ne=ot(ye,dt),$e=t.createExportDefault(ne);return di($e,ye),Du($e,eg(ye)),$o($e,yv(ye)),$e}else{R.assertIsDefined(ye.name,"A class declaration that is not a default export must have a name.");const nr=ot(ye,t.createStringLiteralFromNode(ye.name)),dt=hn(ye.modifiers,fe,ja),ne=t.createVariableDeclaration(ye.name,void 0,void 0,nr),$e=t.createVariableDeclarationList([ne],1),ce=t.createVariableStatement(dt,$e);return di(ce,ye),Du(ce,eg(ye)),ce}else{const nr=hn(ye.modifiers,fe,ja),dt=hn(ye.heritageClauses,V,J_);L(void 0);const ne=hn(ye.members,Ce,Eu);return U(),t.updateClassDeclaration(ye,nr,ye.name,void 0,dt,ne)}}function tt(ye,wt){if(Qe(ye)){const nr=ye.name?t.createStringLiteralFromNode(ye.name):wt??t.createStringLiteral(""),dt=ot(ye,nr);return di(dt,ye),dt}else{const nr=hn(ye.modifiers,fe,ja),dt=hn(ye.heritageClauses,V,J_);L(void 0);const ne=hn(ye.members,Ce,Eu);return U(),t.updateClassExpression(ye,nr,ye.name,void 0,dt,ne)}}function Je(ye,wt){if(wt.instanceExtraInitializersName&&!wt.hasNonAmbientInstanceFields){const nr=[];return nr.push(t.createExpressionStatement(n().createRunInitializersHelper(t.createThis(),wt.instanceExtraInitializersName))),nr}}function qe(ye){M(ye);const wt=hn(ye.modifiers,fe,ja),nr=hn(ye.parameters,V,ua);let dt;if(ye.body&&g){const ne=Je(g.class,g);if(ne){const $e=[],ce=t.copyPrologue(ye.body.statements,$e,!1,V),Be=QU(ye.body.statements,ce);Be>=0?(Oi($e,hn(ye.body.statements,V,Ks,ce,Be+1-ce)),Oi($e,ne),Oi($e,hn(ye.body.statements,V,Ks,Be+1))):(Oi($e,ne),Oi($e,hn(ye.body.statements,V,Ks))),dt=t.createBlock($e,!0),di(dt,ye.body),Et(dt,ye.body)}}return dt??(dt=yt(ye.body,V,Fa)),W(),t.updateConstructorDeclaration(ye,wt,nr,dt)}function st(ye,wt){return ye!==wt&&(Du(ye,wt),$o(ye,yv(wt))),ye}function Ke(ye,wt,nr,dt){var ne,$e,ce,Be,te,$t,At,St;let Dr,yn,Di,Yi,Zi;if(!nr){const Xa=hn(ye.modifiers,fe,ja);return X(),wt?{referencedName:Dr,name:yn}=ii(ye.name):yn=Rt(ye.name),Z(),{modifiers:Xa,referencedName:Dr,name:yn,initializersName:Di,descriptorName:Zi,thisArg:Yi}}const hs=Te(ZU(ye,nr.class,!1)),za=hn(ye.modifiers,fe,ja);if(hs){const Xa=Se(ye,"decorators"),Ia=t.createArrayLiteralExpression(hs),Fs=t.createAssignment(Xa,Ia),gs={memberDecoratorsName:Xa};(ne=nr.memberInfos)!=null||(nr.memberInfos=new Map),nr.memberInfos.set(ye,gs),S??(S=[]),S.push(Fs);const vi=S6(ye)||op(ye)?ba(ye)?($e=nr.staticNonFieldDecorationStatements)!=null?$e:nr.staticNonFieldDecorationStatements=[]:(ce=nr.nonStaticNonFieldDecorationStatements)!=null?ce:nr.nonStaticNonFieldDecorationStatements=[]:Pa(ye)&&!op(ye)?ba(ye)?(Be=nr.staticFieldDecorationStatements)!=null?Be:nr.staticFieldDecorationStatements=[]:(te=nr.nonStaticFieldDecorationStatements)!=null?te:nr.nonStaticFieldDecorationStatements=[]:R.fail(),Bo=Hd(ye)?"getter":nd(ye)?"setter":zl(ye)?"method":op(ye)?"accessor":Pa(ye)?"field":R.fail();let Ji;if(Ye(ye.name)||as(ye.name))Ji={computed:!1,name:ye.name};else if(zd(ye.name))Ji={computed:!0,name:t.createStringLiteralFromNode(ye.name)};else{const js=ye.name.expression;zd(js)&&!Ye(js)?Ji={computed:!0,name:t.createStringLiteralFromNode(js)}:(X(),{referencedName:Dr,name:yn}=ii(ye.name),Ji={computed:!0,name:Dr},Z())}const Rs={kind:Bo,name:Ji,static:ba(ye),private:as(ye.name),access:{get:Pa(ye)||Hd(ye)||zl(ye),set:Pa(ye)||nd(ye)}},Qr=ba(ye)?($t=nr.staticExtraInitializersName)!=null?$t:nr.staticExtraInitializersName=t.createUniqueName("_staticExtraInitializers",16):(At=nr.instanceExtraInitializersName)!=null?At:nr.instanceExtraInitializersName=t.createUniqueName("_instanceExtraInitializers",16);if(S6(ye)){let js;Wf(ye)&&dt&&(js=dt(ye,hn(za,Sl=>Pi(Sl,YP),ja)),gs.memberDescriptorName=Zi=Se(ye,"descriptor"),js=t.createAssignment(Zi,js));const Rl=n().createESDecorateHelper(t.createThis(),js??t.createNull(),Xa,Rs,t.createNull(),Qr),jc=t.createExpressionStatement(Rl);$o(jc,yv(ye)),vi.push(jc)}else if(Pa(ye)){Di=(St=gs.memberInitializersName)!=null?St:gs.memberInitializersName=Se(ye,"initializers"),ba(ye)&&(Yi=nr.classThis);let js;Wf(ye)&&Xh(ye)&&dt&&(js=dt(ye,void 0),gs.memberDescriptorName=Zi=Se(ye,"descriptor"),js=t.createAssignment(Zi,js));const Rl=n().createESDecorateHelper(op(ye)?t.createThis():t.createNull(),js??t.createNull(),Xa,Rs,Di,Qr),jc=t.createExpressionStatement(Rl);$o(jc,yv(ye)),vi.push(jc)}}return yn===void 0&&(X(),wt?{referencedName:Dr,name:yn}=ii(ye.name):yn=Rt(ye.name),Z()),!Oe(za)&&(zl(ye)||Pa(ye))&&Pn(yn,1024),{modifiers:za,referencedName:Dr,name:yn,initializersName:Di,descriptorName:Zi,thisArg:Yi}}function We(ye){M(ye);const{modifiers:wt,name:nr,descriptorName:dt}=Ke(ye,!1,g,Y);if(dt)return W(),st(Kt(wt,nr,dt),ye);{const ne=hn(ye.parameters,V,ua),$e=yt(ye.body,V,Fa);return W(),st(t.updateMethodDeclaration(ye,wt,ye.asteriskToken,nr,void 0,void 0,ne,void 0,$e),ye)}}function gt(ye){M(ye);const{modifiers:wt,name:nr,descriptorName:dt}=Ke(ye,!1,g,Ze);if(dt)return W(),st(wr(wt,nr,dt),ye);{const ne=hn(ye.parameters,V,ua),$e=yt(ye.body,V,Fa);return W(),st(t.updateGetAccessorDeclaration(ye,wt,nr,ne,void 0,$e),ye)}}function jt(ye){M(ye);const{modifiers:wt,name:nr,descriptorName:dt}=Ke(ye,!1,g,ct);if(dt)return W(),st(qr(wt,nr,dt),ye);{const ne=hn(ye.parameters,V,ua),$e=yt(ye.body,V,Fa);return W(),st(t.updateSetAccessorDeclaration(ye,wt,nr,ne,$e),ye)}}function It(ye){M(ye),g&&(g.hasStaticInitializers=!0);const wt=an(ye,V,e);return W(),wt}function er(ye){M(ye),R.assert(!jK(ye),"Not yet implemented.");const wt=Kp(ye,Gr),{modifiers:nr,name:dt,referencedName:ne,initializersName:$e,descriptorName:ce,thisArg:Be}=Ke(ye,wt,g,Xh(ye)?it:void 0);s();let te=ne?yt(ye.initializer,At=>_e(At,ne),Dt):yt(ye.initializer,V,Dt);$e&&(te=n().createRunInitializersHelper(Be??t.createThis(),$e,te??t.createVoidZero())),!ba(ye)&&(g!=null&&g.instanceExtraInitializersName)&&!(g!=null&&g.hasInjectedInstanceInitializers)&&(g.hasInjectedInstanceInitializers=!0,te??(te=t.createVoidZero()),te=t.createParenthesizedExpression(t.createComma(n().createRunInitializersHelper(t.createThis(),g.instanceExtraInitializersName),te))),ba(ye)&&g&&te&&(g.hasStaticInitializers=!0);const $t=l();if(Oe($t)&&(te=t.createImmediatelyInvokedArrowFunction([...$t,t.createReturnStatement(te)])),W(),Xh(ye)&&ce){const At=eg(ye),St=Wb(ye),Dr=ye.name;let yn=Dr,Di=Dr;if(ac(Dr)&&!lh(Dr.expression)){const Xa=iU(Dr);if(Xa)yn=t.updateComputedPropertyName(Dr,yt(Dr.expression,V,Dt)),Di=t.updateComputedPropertyName(Dr,Xa.left);else{const Ia=t.createTempVariable(f);$o(Ia,Dr.expression);const Fs=yt(Dr.expression,V,Dt),gs=t.createAssignment(Ia,Fs);$o(gs,Dr.expression),yn=t.updateComputedPropertyName(Dr,gs),Di=t.updateComputedPropertyName(Dr,Ia)}}const Yi=hn(nr,Xa=>Xa.kind!==127?Xa:void 0,ja),Zi=Ore(t,ye,Yi,te);di(Zi,ye),Pn(Zi,3072),$o(Zi,St),$o(Zi.name,ye.name);const hs=wr(Yi,yn,ce);di(hs,ye),Du(hs,At),$o(hs,St);const za=qr(Yi,Di,ce);return di(za,ye),Pn(za,3072),$o(za,St),[Zi,hs,za]}return st(t.updatePropertyDeclaration(ye,nr,dt,void 0,void 0,te),ye)}function ft(ye){return h??ye}function mt(ye){if(n_(ye.expression)&&h){const wt=yt(ye.expression,V,Dt),nr=hn(ye.arguments,V,Dt),dt=t.createFunctionCallCall(wt,h,nr);return di(dt,ye),Et(dt,ye),dt}return an(ye,V,e)}function xr(ye){if(n_(ye.tag)&&h){const wt=yt(ye.tag,V,Dt),nr=t.createFunctionBindCall(wt,h,[]);di(nr,ye),Et(nr,ye);const dt=yt(ye.template,V,x6);return t.updateTaggedTemplateExpression(ye,nr,void 0,dt)}return an(ye,V,e)}function dr(ye){if(n_(ye)&&Ye(ye.name)&&h&&k){const wt=t.createStringLiteralFromNode(ye.name),nr=t.createReflectGetCall(k,wt,h);return di(nr,ye.expression),Et(nr,ye.expression),nr}return an(ye,V,e)}function rn(ye){if(n_(ye)&&h&&k){const wt=yt(ye.argumentExpression,V,Dt),nr=t.createReflectGetCall(k,wt,h);return di(nr,ye.expression),Et(nr,ye.expression),nr}return an(ye,V,e)}function un(ye){let wt;if(Kp(ye,Gr)){const nr=qn(ye.name,ye.initializer),dt=yt(ye.name,V,Og),ne=yt(ye.initializer,$e=>_e($e,nr),Dt);wt=t.updateParameterDeclaration(ye,void 0,void 0,dt,void 0,void 0,ne)}else wt=t.updateParameterDeclaration(ye,void 0,ye.dotDotDotToken,yt(ye.name,V,Og),void 0,void 0,yt(ye.initializer,V,Dt));return wt!==ye&&(Du(wt,ye),Et(wt,rh(ye)),$o(wt,rh(ye)),Pn(wt.name,64)),wt}function Gr(ye){return If(ye)&&!ye.name&&Qe(ye)}function mr(ye){return t.updateForStatement(ye,yt(ye.initializer,K,Zm),yt(ye.condition,V,Dt),yt(ye.incrementor,K,Dt),Sd(ye.statement,V,e))}function Fn(ye){return an(ye,K,e)}function ts(ye,wt){if(K0(ye)){const nr=Fe(ye.left),dt=yt(ye.right,V,Dt);return t.updateBinaryExpression(ye,nr,ye.operatorToken,dt)}if(Xf(ye)){if(Kp(ye,Gr)){const nr=qn(ye.left,ye.right),dt=yt(ye.left,V,Dt),ne=yt(ye.right,$e=>_e($e,nr),Dt);return t.updateBinaryExpression(ye,dt,ye.operatorToken,ne)}if(n_(ye.left)&&h&&k){let nr=qc(ye.left)?yt(ye.left.argumentExpression,V,Dt):Ye(ye.left.name)?t.createStringLiteralFromNode(ye.left.name):void 0;if(nr){let dt=yt(ye.right,V,Dt);if(XO(ye.operatorToken.kind)){let $e=nr;lh(nr)||($e=t.createTempVariable(f),nr=t.createAssignment($e,nr));const ce=t.createReflectGetCall(k,$e,h);di(ce,ye.left),Et(ce,ye.left),dt=t.createBinaryExpression(ce,wD(ye.operatorToken.kind),dt),Et(dt,ye)}const ne=wt?void 0:t.createTempVariable(f);return ne&&(dt=t.createAssignment(ne,dt),Et(ne,ye)),dt=t.createReflectSetCall(k,nr,dt,h),di(dt,ye),Et(dt,ye),ne&&(dt=t.createComma(dt,ne),Et(dt,ye)),dt}}}if(ye.operatorToken.kind===27){const nr=yt(ye.left,K,Dt),dt=yt(ye.right,wt?K:V,Dt);return t.updateBinaryExpression(ye,nr,ye.operatorToken,dt)}return an(ye,V,e)}function ws(ye,wt){if(ye.operator===45||ye.operator===46){const nr=xc(ye.operand);if(n_(nr)&&h&&k){let dt=qc(nr)?yt(nr.argumentExpression,V,Dt):Ye(nr.name)?t.createStringLiteralFromNode(nr.name):void 0;if(dt){let ne=dt;lh(dt)||(ne=t.createTempVariable(f),dt=t.createAssignment(ne,dt));let $e=t.createReflectGetCall(k,ne,h);di($e,ye),Et($e,ye);const ce=wt?void 0:t.createTempVariable(f);return $e=QJ(t,ye,$e,f,ce),$e=t.createReflectSetCall(k,dt,$e,h),di($e,ye),Et($e,ye),ce&&($e=t.createComma($e,ce),Et($e,ye)),$e}}}return an(ye,V,e)}function Es(ye,wt){const nr=wt?GO(ye.elements,K):GO(ye.elements,V,K);return t.updateCommaListExpression(ye,nr)}function ii(ye){if(zd(ye)||as(ye)){const $e=t.createStringLiteralFromNode(ye),ce=yt(ye,V,rl);return{referencedName:$e,name:ce}}if(zd(ye.expression)&&!Ye(ye.expression)){const $e=t.createStringLiteralFromNode(ye.expression),ce=yt(ye,V,rl);return{referencedName:$e,name:ce}}const wt=t.getGeneratedNameForNode(ye);f(wt);const nr=n().createPropKeyHelper(yt(ye.expression,V,Dt)),dt=t.createAssignment(wt,nr),ne=t.updateComputedPropertyName(ye,kt(dt));return{referencedName:wt,name:ne}}function Rt(ye){return ac(ye)?Rr(ye):yt(ye,V,rl)}function Rr(ye){let wt=yt(ye.expression,V,Dt);return lh(wt)||(wt=kt(wt)),t.updateComputedPropertyName(ye,wt)}function rr(ye){if(Kp(ye,Gr)){const{referencedName:wt,name:nr}=ii(ye.name),dt=yt(ye.initializer,ne=>_e(ne,wt),Dt);return t.updatePropertyAssignment(ye,nr,dt)}return an(ye,V,e)}function Pr(ye){if(Kp(ye,Gr)){const wt=qn(ye.name,ye.initializer),nr=yt(ye.name,V,Og),dt=yt(ye.initializer,ne=>_e(ne,wt),Dt);return t.updateVariableDeclaration(ye,nr,void 0,void 0,dt)}return an(ye,V,e)}function Cn(ye){if(Kp(ye,Gr)){const wt=qn(ye.name,ye.initializer),nr=yt(ye.propertyName,V,rl),dt=yt(ye.name,V,Og),ne=yt(ye.initializer,$e=>_e($e,wt),Dt);return t.updateBindingElement(ye,void 0,nr,dt,ne)}return an(ye,V,e)}function Nn(ye){if(cc(ye)||Nf(ye))return Fe(ye);if(n_(ye)&&h&&k){const wt=qc(ye)?yt(ye.argumentExpression,V,Dt):Ye(ye.name)?t.createStringLiteralFromNode(ye.name):void 0;if(wt){const nr=t.createTempVariable(void 0),dt=t.createAssignmentTargetWrapper(nr,t.createReflectSetCall(k,wt,nr,h));return di(dt,ye),Et(dt,ye),dt}}return an(ye,V,e)}function cs(ye){if(Xf(ye,!0)){const wt=Nn(ye.left);let nr;if(Kp(ye,Gr)){const dt=qn(ye.left,ye.right);nr=yt(ye.right,ne=>_e(ne,dt),Dt)}else nr=yt(ye.right,V,Dt);return t.updateBinaryExpression(ye,wt,ye.operatorToken,nr)}else return Nn(ye)}function qi(ye){if(g_(ye.expression)){const wt=Nn(ye.expression);return t.updateSpreadElement(ye,wt)}return an(ye,V,e)}function en(ye){return R.assertNode(ye,b7),$g(ye)?qi(ye):yu(ye)?an(ye,V,e):cs(ye)}function Tr(ye){const wt=yt(ye.name,V,rl);if(Xf(ye.initializer,!0)){const nr=cs(ye.initializer);return t.updatePropertyAssignment(ye,wt,nr)}if(g_(ye.initializer)){const nr=Nn(ye.initializer);return t.updatePropertyAssignment(ye,wt,nr)}return an(ye,V,e)}function nn(ye){if(Kp(ye,Gr)){const wt=qn(ye.name,ye.objectAssignmentInitializer),nr=yt(ye.name,V,Ye),dt=yt(ye.objectAssignmentInitializer,ne=>_e(ne,wt),Dt);return t.updateShorthandPropertyAssignment(ye,nr,dt)}return an(ye,V,e)}function Xn(ye){if(g_(ye.expression)){const wt=Nn(ye.expression);return t.updateSpreadAssignment(ye,wt)}return an(ye,V,e)}function _i(ye){return R.assertNode(ye,v7),hw(ye)?Xn(ye):id(ye)?nn(ye):Iu(ye)?Tr(ye):an(ye,V,e)}function Fe(ye){if(Nf(ye)){const wt=hn(ye.elements,en,Dt);return t.updateArrayLiteralExpression(ye,wt)}else{const wt=hn(ye.properties,_i,X0);return t.updateObjectLiteralExpression(ye,wt)}}function Pt(ye){if(Kp(ye,Gr)){const wt=t.createStringLiteral(ye.isExportEquals?"":"default"),nr=hn(ye.modifiers,fe,ja),dt=yt(ye.expression,ne=>_e(ne,wt),Dt);return t.updateExportAssignment(ye,nr,dt)}return an(ye,V,e)}function Ht(ye,wt,nr){const dt=wt?K:nr?$e=>_e($e,nr):V,ne=yt(ye.expression,dt,Dt);return t.updateParenthesizedExpression(ye,ne)}function Ne(ye,wt,nr){const dt=wt?K:nr?$e=>_e($e,nr):V,ne=yt(ye.expression,dt,Dt);return t.updatePartiallyEmittedExpression(ye,ne)}function kt(ye){return Oe(S)&&(j_(ye)?(S.push(ye.expression),ye=t.updateParenthesizedExpression(ye,t.inlineExpressions(S))):(S.push(ye),ye=t.inlineExpressions(S)),S=void 0),ye}function Te(ye){if(!ye)return;const wt=[];return Oi(wt,qt(ye.decorators,pe)),wt}function pe(ye){const wt=yt(ye.expression,V,Dt);return Pn(wt,3072),wt}function xe(ye,wt,nr,dt,ne,$e,ce){const Be=t.createFunctionExpression(nr,dt,void 0,void 0,$e,void 0,ce??t.createBlock([]));di(Be,ye),$o(Be,yv(ye)),Pn(Be,3072);const te=ne==="get"||ne==="set"?ne:void 0,$t=t.createStringLiteralFromNode(wt,void 0),At=n().createSetFunctionNameHelper(Be,$t,te),St=t.createPropertyAssignment(t.createIdentifier(ne),At);return di(St,ye),$o(St,yv(ye)),Pn(St,3072),St}function Y(ye,wt){return t.createObjectLiteralExpression([xe(ye,ye.name,wt,ye.asteriskToken,"value",hn(ye.parameters,V,ua),yt(ye.body,V,Fa))])}function Ze(ye,wt){return t.createObjectLiteralExpression([xe(ye,ye.name,wt,void 0,"get",[],yt(ye.body,V,Fa))])}function ct(ye,wt){return t.createObjectLiteralExpression([xe(ye,ye.name,wt,void 0,"set",hn(ye.parameters,V,ua),yt(ye.body,V,Fa))])}function it(ye,wt){return t.createObjectLiteralExpression([xe(ye,ye.name,wt,void 0,"get",[],t.createBlock([t.createReturnStatement(t.createPropertyAccessExpression(t.createThis(),t.getGeneratedPrivateNameForNode(ye.name)))])),xe(ye,ye.name,wt,void 0,"set",[t.createParameterDeclaration(void 0,void 0,"value")],t.createBlock([t.createExpressionStatement(t.createAssignment(t.createPropertyAccessExpression(t.createThis(),t.getGeneratedPrivateNameForNode(ye.name)),t.createIdentifier("value")))]))])}function Kt(ye,wt,nr){return ye=hn(ye,dt=>nw(dt)?dt:void 0,ja),t.createGetAccessorDeclaration(ye,wt,[],void 0,t.createBlock([t.createReturnStatement(t.createPropertyAccessExpression(nr,t.createIdentifier("value")))]))}function wr(ye,wt,nr){return ye=hn(ye,dt=>nw(dt)?dt:void 0,ja),t.createGetAccessorDeclaration(ye,wt,[],void 0,t.createBlock([t.createReturnStatement(t.createFunctionCallCall(t.createPropertyAccessExpression(nr,t.createIdentifier("get")),t.createThis(),[]))]))}function qr(ye,wt,nr){return ye=hn(ye,dt=>nw(dt)?dt:void 0,ja),t.createSetAccessorDeclaration(ye,wt,[t.createParameterDeclaration(void 0,void 0,"value")],t.createBlock([t.createReturnStatement(t.createFunctionCallCall(t.createPropertyAccessExpression(nr,t.createIdentifier("set")),t.createThis(),[t.createIdentifier("value")]))]))}function qn(ye,wt){const nr=sl(wt,Ri);return nr&&!nr.name&&Ti(nr,1024)?t.createStringLiteral("default"):t.createStringLiteralFromNode(ye)}}var tet=p({"src/compiler/transformers/esDecorators.ts"(){aa()}});function hwe(e){const{factory:t,getEmitHelperFactory:n,resumeLexicalEnvironment:s,endLexicalEnvironment:l,hoistVariableDeclaration:f}=e,d=e.getEmitResolver(),g=e.getCompilerOptions(),h=Io(g);let k,S=0,w,N,O;const L=[];let U=0;const M=e.onEmitNode,W=e.onSubstituteNode;return e.onEmitNode=un,e.onSubstituteNode=Gr,Yd(e,X);function X(Rt){if(Rt.isDeclarationFile)return Rt;Z(1,!1),Z(2,!BK(Rt,g));const Rr=an(Rt,fe,e);return t1(Rr,e.readEmitHelpers()),Rr}function Z(Rt,Rr){U=Rr?U|Rt:U&~Rt}function ue(Rt){return(U&Rt)!==0}function ie(){return!ue(1)}function se(){return ue(2)}function V(Rt,Rr,rr){const Pr=Rt&~U;if(Pr){Z(Pr,!0);const Cn=Rr(rr);return Z(Pr,!1),Cn}return Rr(rr)}function ve(Rt){return an(Rt,fe,e)}function fe(Rt){if(!(Rt.transformFlags&256))return Rt;switch(Rt.kind){case 132:return;case 220:return Pe(Rt);case 171:return V(3,ot,Rt);case 259:return V(3,tt,Rt);case 215:return V(3,Je,Rt);case 216:return V(1,qe,Rt);case 208:return N&&oi(Rt)&&Rt.expression.kind===106&&N.add(Rt.name.escapedText),an(Rt,fe,e);case 209:return N&&Rt.expression.kind===106&&(O=!0),an(Rt,fe,e);case 174:return V(3,Qe,Rt);case 175:return V(3,Ge,Rt);case 173:return V(3,le,Rt);case 260:case 228:return V(3,ve,Rt);default:return an(Rt,fe,e)}}function Ce(Rt){if(D2e(Rt))switch(Rt.kind){case 240:return K(Rt);case 245:return we(Rt);case 246:return ge(Rt);case 247:return Se(Rt);case 295:return _e(Rt);case 238:case 252:case 266:case 292:case 293:case 255:case 243:case 244:case 242:case 251:case 253:return an(Rt,Ce,e);default:return R.assertNever(Rt,"Unhandled node.")}return fe(Rt)}function _e(Rt){const Rr=new Set;st(Rt.variableDeclaration,Rr);let rr;if(Rr.forEach((Pr,Cn)=>{w.has(Cn)&&(rr||(rr=new Set(w)),rr.delete(Cn))}),rr){const Pr=w;w=rr;const Cn=an(Rt,Ce,e);return w=Pr,Cn}else return an(Rt,Ce,e)}function K(Rt){if(Ke(Rt.declarationList)){const Rr=We(Rt.declarationList,!1);return Rr?t.createExpressionStatement(Rr):void 0}return an(Rt,fe,e)}function ge(Rt){return t.updateForInStatement(Rt,Ke(Rt.initializer)?We(Rt.initializer,!0):R.checkDefined(yt(Rt.initializer,fe,Zm)),R.checkDefined(yt(Rt.expression,fe,Dt)),Sd(Rt.statement,Ce,e))}function Se(Rt){return t.updateForOfStatement(Rt,yt(Rt.awaitModifier,fe,rre),Ke(Rt.initializer)?We(Rt.initializer,!0):R.checkDefined(yt(Rt.initializer,fe,Zm)),R.checkDefined(yt(Rt.expression,fe,Dt)),Sd(Rt.statement,Ce,e))}function we(Rt){const Rr=Rt.initializer;return t.updateForStatement(Rt,Ke(Rr)?We(Rr,!1):yt(Rt.initializer,fe,Zm),yt(Rt.condition,fe,Dt),yt(Rt.incrementor,fe,Dt),Sd(Rt.statement,Ce,e))}function Pe(Rt){return ie()?an(Rt,fe,e):di(Et(t.createYieldExpression(void 0,yt(Rt.expression,fe,Dt)),Rt),Rt)}function le(Rt){return t.updateConstructorDeclaration(Rt,hn(Rt.modifiers,fe,ja),Dl(Rt.parameters,fe,e),ft(Rt))}function ot(Rt){return t.updateMethodDeclaration(Rt,hn(Rt.modifiers,fe,Bc),Rt.asteriskToken,Rt.name,void 0,void 0,Dl(Rt.parameters,fe,e),void 0,Au(Rt)&2?mt(Rt):ft(Rt))}function Qe(Rt){return t.updateGetAccessorDeclaration(Rt,hn(Rt.modifiers,fe,Bc),Rt.name,Dl(Rt.parameters,fe,e),void 0,ft(Rt))}function Ge(Rt){return t.updateSetAccessorDeclaration(Rt,hn(Rt.modifiers,fe,Bc),Rt.name,Dl(Rt.parameters,fe,e),ft(Rt))}function tt(Rt){return t.updateFunctionDeclaration(Rt,hn(Rt.modifiers,fe,Bc),Rt.asteriskToken,Rt.name,void 0,Dl(Rt.parameters,fe,e),void 0,Au(Rt)&2?mt(Rt):Op(Rt.body,fe,e))}function Je(Rt){return t.updateFunctionExpression(Rt,hn(Rt.modifiers,fe,ja),Rt.asteriskToken,Rt.name,void 0,Dl(Rt.parameters,fe,e),void 0,Au(Rt)&2?mt(Rt):Op(Rt.body,fe,e))}function qe(Rt){return t.updateArrowFunction(Rt,hn(Rt.modifiers,fe,ja),void 0,Dl(Rt.parameters,fe,e),void 0,Rt.equalsGreaterThanToken,Au(Rt)&2?mt(Rt):Op(Rt.body,fe,e))}function st({name:Rt},Rr){if(Ye(Rt))Rr.add(Rt.escapedText);else for(const rr of Rt.elements)yu(rr)||st(rr,Rr)}function Ke(Rt){return!!Rt&&Of(Rt)&&!(Rt.flags&3)&&Rt.declarations.some(er)}function We(Rt,Rr){gt(Rt);const rr=DP(Rt);return rr.length===0?Rr?yt(t.converters.convertToAssignmentElementTarget(Rt.declarations[0].name),fe,Dt):void 0:t.inlineExpressions(qt(rr,It))}function gt(Rt){Q(Rt.declarations,jt)}function jt({name:Rt}){if(Ye(Rt))f(Rt);else for(const Rr of Rt.elements)yu(Rr)||jt(Rr)}function It(Rt){const Rr=$o(t.createAssignment(t.converters.convertToAssignmentElementTarget(Rt.name),Rt.initializer),Rt);return R.checkDefined(yt(Rr,fe,Dt))}function er({name:Rt}){if(Ye(Rt))return w.has(Rt.escapedText);for(const Rr of Rt.elements)if(!yu(Rr)&&er(Rr))return!0;return!1}function ft(Rt){R.assertIsDefined(Rt.body);const Rr=N,rr=O;N=new Set,O=!1;let Pr=Op(Rt.body,fe,e);const Cn=sl(Rt,Lc);if(h>=2&&d.getNodeCheckFlags(Rt)&384&&(Au(Cn)&3)!==3){if(rn(),N.size){const cs=KU(t,d,Rt,N);L[Wo(cs)]=!0;const qi=Pr.statements.slice();Wh(qi,[cs]),Pr=t.updateBlock(Pr,qi)}O&&(d.getNodeCheckFlags(Rt)&256?KC(Pr,Q5):d.getNodeCheckFlags(Rt)&128&&KC(Pr,X5))}return N=Rr,O=rr,Pr}function mt(Rt){s();const rr=sl(Rt,Sa).type,Pr=h<2?dr(rr):void 0,Cn=Rt.kind===216,Nn=(d.getNodeCheckFlags(Rt)&512)!==0,cs=w;w=new Set;for(const nn of Rt.parameters)st(nn,w);const qi=N,en=O;Cn||(N=new Set,O=!1);let Tr;if(Cn){const nn=n().createAwaiterHelper(se(),Nn,Pr,xr(Rt.body)),Xn=l();if(Oe(Xn)){const _i=t.converters.convertToFunctionBlock(nn);Tr=t.updateBlock(_i,Et(t.createNodeArray(Cr(Xn,_i.statements)),_i.statements))}else Tr=nn}else{const nn=[],Xn=t.copyPrologue(Rt.body.statements,nn,!1,fe);nn.push(t.createReturnStatement(n().createAwaiterHelper(se(),Nn,Pr,xr(Rt.body,Xn)))),Wh(nn,l());const _i=h>=2&&d.getNodeCheckFlags(Rt)&384;if(_i&&(rn(),N.size)){const Pt=KU(t,d,Rt,N);L[Wo(Pt)]=!0,Wh(nn,[Pt])}const Fe=t.createBlock(nn,!0);Et(Fe,Rt.body),_i&&O&&(d.getNodeCheckFlags(Rt)&256?KC(Fe,Q5):d.getNodeCheckFlags(Rt)&128&&KC(Fe,X5)),Tr=Fe}return w=cs,Cn||(N=qi,O=en),Tr}function xr(Rt,Rr){return Fa(Rt)?t.updateBlock(Rt,hn(Rt.statements,Ce,Ks,Rr)):t.converters.convertToFunctionBlock(R.checkDefined(yt(Rt,Ce,jB)))}function dr(Rt){const Rr=Rt&&M7(Rt);if(Rr&&ap(Rr)){const rr=d.getTypeReferenceSerializationKind(Rr);if(rr===1||rr===0)return Rr}}function rn(){k&1||(k|=1,e.enableSubstitution(210),e.enableSubstitution(208),e.enableSubstitution(209),e.enableEmitNotification(260),e.enableEmitNotification(171),e.enableEmitNotification(174),e.enableEmitNotification(175),e.enableEmitNotification(173),e.enableEmitNotification(240))}function un(Rt,Rr,rr){if(k&1&&Es(Rr)){const Pr=d.getNodeCheckFlags(Rr)&384;if(Pr!==S){const Cn=S;S=Pr,M(Rt,Rr,rr),S=Cn;return}}else if(k&&L[Wo(Rr)]){const Pr=S;S=0,M(Rt,Rr,rr),S=Pr;return}M(Rt,Rr,rr)}function Gr(Rt,Rr){return Rr=W(Rt,Rr),Rt===1&&S?mr(Rr):Rr}function mr(Rt){switch(Rt.kind){case 208:return Fn(Rt);case 209:return ts(Rt);case 210:return ws(Rt)}return Rt}function Fn(Rt){return Rt.expression.kind===106?Et(t.createPropertyAccessExpression(t.createUniqueName("_super",48),Rt.name),Rt):Rt}function ts(Rt){return Rt.expression.kind===106?ii(Rt.argumentExpression,Rt):Rt}function ws(Rt){const Rr=Rt.expression;if(n_(Rr)){const rr=oi(Rr)?Fn(Rr):ts(Rr);return t.createCallExpression(t.createPropertyAccessExpression(rr,"call"),void 0,[t.createThis(),...Rt.arguments])}return Rt}function Es(Rt){const Rr=Rt.kind;return Rr===260||Rr===173||Rr===171||Rr===174||Rr===175}function ii(Rt,Rr){return S&256?Et(t.createPropertyAccessExpression(t.createCallExpression(t.createUniqueName("_superIndex",48),void 0,[Rt]),"value"),Rr):Et(t.createCallExpression(t.createUniqueName("_superIndex",48),void 0,[Rt]),Rr)}}function KU(e,t,n,s){const l=(t.getNodeCheckFlags(n)&256)!==0,f=[];return s.forEach((d,g)=>{const h=Ds(g),k=[];k.push(e.createPropertyAssignment("get",e.createArrowFunction(void 0,void 0,[],void 0,void 0,Pn(e.createPropertyAccessExpression(Pn(e.createSuper(),8),h),8)))),l&&k.push(e.createPropertyAssignment("set",e.createArrowFunction(void 0,void 0,[e.createParameterDeclaration(void 0,void 0,"v",void 0,void 0,void 0)],void 0,void 0,e.createAssignment(Pn(e.createPropertyAccessExpression(Pn(e.createSuper(),8),h),8),e.createIdentifier("v"))))),f.push(e.createPropertyAssignment(h,e.createObjectLiteralExpression(k)))}),e.createVariableStatement(void 0,e.createVariableDeclarationList([e.createVariableDeclaration(e.createUniqueName("_super",48),void 0,void 0,e.createCallExpression(e.createPropertyAccessExpression(e.createIdentifier("Object"),"create"),void 0,[e.createNull(),e.createObjectLiteralExpression(f,!0)]))],2))}var ret=p({"src/compiler/transformers/es2017.ts"(){aa()}});function gwe(e){const{factory:t,getEmitHelperFactory:n,resumeLexicalEnvironment:s,endLexicalEnvironment:l,hoistVariableDeclaration:f}=e,d=e.getEmitResolver(),g=e.getCompilerOptions(),h=Io(g),k=e.onEmitNode;e.onEmitNode=nn;const S=e.onSubstituteNode;e.onSubstituteNode=Xn;let w=!1,N,O,L,U=0,M=0,W,X,Z,ue;const ie=[];return Yd(e,Ce);function se(Te,pe){return M!==(M&~Te|pe)}function V(Te,pe){const xe=M;return M=(M&~Te|pe)&3,xe}function ve(Te){M=Te}function fe(Te){X=$r(X,t.createVariableDeclaration(Te))}function Ce(Te){if(Te.isDeclarationFile)return Te;W=Te;const pe=Ke(Te);return t1(pe,e.readEmitHelpers()),W=void 0,X=void 0,pe}function _e(Te){return Pe(Te,!1)}function K(Te){return Pe(Te,!0)}function ge(Te){if(Te.kind!==132)return Te}function Se(Te,pe,xe,Y){if(se(xe,Y)){const Ze=V(xe,Y),ct=Te(pe);return ve(Ze),ct}return Te(pe)}function we(Te){return an(Te,_e,e)}function Pe(Te,pe){if(!(Te.transformFlags&128))return Te;switch(Te.kind){case 220:return le(Te);case 226:return ot(Te);case 250:return Qe(Te);case 253:return Ge(Te);case 207:return Je(Te);case 223:return gt(Te,pe);case 357:return jt(Te,pe);case 295:return It(Te);case 240:return er(Te);case 257:return ft(Te);case 243:case 244:case 246:return Se(we,Te,0,2);case 247:return rn(Te,void 0);case 245:return Se(xr,Te,0,2);case 219:return dr(Te);case 173:return Se(ii,Te,2,1);case 171:return Se(rr,Te,2,1);case 174:return Se(Rt,Te,2,1);case 175:return Se(Rr,Te,2,1);case 259:return Se(Pr,Te,2,1);case 215:return Se(Nn,Te,2,1);case 216:return Se(Cn,Te,2,0);case 166:return ws(Te);case 241:return qe(Te);case 214:return st(Te,pe);case 212:return We(Te);case 208:return Z&&oi(Te)&&Te.expression.kind===106&&Z.add(Te.name.escapedText),an(Te,_e,e);case 209:return Z&&Te.expression.kind===106&&(ue=!0),an(Te,_e,e);case 260:case 228:return Se(we,Te,2,1);default:return an(Te,_e,e)}}function le(Te){return O&2&&O&1?di(Et(t.createYieldExpression(void 0,n().createAwaitHelper(yt(Te.expression,_e,Dt))),Te),Te):an(Te,_e,e)}function ot(Te){if(O&2&&O&1){if(Te.asteriskToken){const pe=yt(R.checkDefined(Te.expression),_e,Dt);return di(Et(t.createYieldExpression(void 0,n().createAwaitHelper(t.updateYieldExpression(Te,Te.asteriskToken,Et(n().createAsyncDelegatorHelper(Et(n().createAsyncValuesHelper(pe),pe)),pe)))),Te),Te)}return di(Et(t.createYieldExpression(void 0,mr(Te.expression?yt(Te.expression,_e,Dt):t.createVoidZero())),Te),Te)}return an(Te,_e,e)}function Qe(Te){return O&2&&O&1?t.updateReturnStatement(Te,mr(Te.expression?yt(Te.expression,_e,Dt):t.createVoidZero())):an(Te,_e,e)}function Ge(Te){if(O&2){const pe=QK(Te);return pe.kind===247&&pe.awaitModifier?rn(pe,Te):t.restoreEnclosingLabel(yt(pe,_e,Ks,t.liftToBlock),Te)}return an(Te,_e,e)}function tt(Te){let pe;const xe=[];for(const Y of Te)if(Y.kind===301){pe&&(xe.push(t.createObjectLiteralExpression(pe)),pe=void 0);const Ze=Y.expression;xe.push(yt(Ze,_e,Dt))}else pe=$r(pe,Y.kind===299?t.createPropertyAssignment(Y.name,yt(Y.initializer,_e,Dt)):yt(Y,_e,X0));return pe&&xe.push(t.createObjectLiteralExpression(pe)),xe}function Je(Te){if(Te.transformFlags&65536){const pe=tt(Te.properties);pe.length&&pe[0].kind!==207&&pe.unshift(t.createObjectLiteralExpression());let xe=pe[0];if(pe.length>1){for(let Y=1;Y<pe.length;Y++)xe=n().createAssignHelper([xe,pe[Y]]);return xe}else return n().createAssignHelper(pe)}return an(Te,_e,e)}function qe(Te){return an(Te,K,e)}function st(Te,pe){return an(Te,pe?K:_e,e)}function Ke(Te){const pe=V(2,BK(Te,g)?0:1);w=!1;const xe=an(Te,_e,e),Y=Cr(xe.statements,X&&[t.createVariableStatement(void 0,t.createVariableDeclarationList(X))]),Ze=t.updateSourceFile(xe,Et(t.createNodeArray(Y),Te.statements));return ve(pe),Ze}function We(Te){return sie(e,Te,_e,W,fe,0)}function gt(Te,pe){return K0(Te)&&hO(Te.left)?Hx(Te,_e,e,1,!pe):Te.operatorToken.kind===27?t.updateBinaryExpression(Te,yt(Te.left,K,Dt),Te.operatorToken,yt(Te.right,pe?K:_e,Dt)):an(Te,_e,e)}function jt(Te,pe){if(pe)return an(Te,K,e);let xe;for(let Ze=0;Ze<Te.elements.length;Ze++){const ct=Te.elements[Ze],it=yt(ct,Ze<Te.elements.length-1?K:_e,Dt);(xe||it!==ct)&&(xe||(xe=Te.elements.slice(0,Ze)),xe.push(it))}const Y=xe?Et(t.createNodeArray(xe),Te.elements):Te.elements;return t.updateCommaListExpression(Te,Y)}function It(Te){if(Te.variableDeclaration&&xa(Te.variableDeclaration.name)&&Te.variableDeclaration.name.transformFlags&65536){const pe=t.getGeneratedNameForNode(Te.variableDeclaration.name),xe=t.updateVariableDeclaration(Te.variableDeclaration,Te.variableDeclaration.name,void 0,void 0,pe),Y=JT(xe,_e,e,1);let Ze=yt(Te.block,_e,Fa);return Oe(Y)&&(Ze=t.updateBlock(Ze,[t.createVariableStatement(void 0,Y),...Ze.statements])),t.updateCatchClause(Te,t.updateVariableDeclaration(Te.variableDeclaration,pe,void 0,void 0,void 0),Ze)}return an(Te,_e,e)}function er(Te){if(Ti(Te,1)){const pe=w;w=!0;const xe=an(Te,_e,e);return w=pe,xe}return an(Te,_e,e)}function ft(Te){if(w){const pe=w;w=!1;const xe=mt(Te,!0);return w=pe,xe}return mt(Te,!1)}function mt(Te,pe){return xa(Te.name)&&Te.name.transformFlags&65536?JT(Te,_e,e,1,void 0,pe):an(Te,_e,e)}function xr(Te){return t.updateForStatement(Te,yt(Te.initializer,K,Zm),yt(Te.condition,_e,Dt),yt(Te.incrementor,K,Dt),Sd(Te.statement,_e,e))}function dr(Te){return an(Te,K,e)}function rn(Te,pe){const xe=V(0,2);(Te.initializer.transformFlags&65536||tP(Te.initializer)&&hO(Te.initializer))&&(Te=un(Te));const Y=Te.awaitModifier?Fn(Te,pe,xe):t.restoreEnclosingLabel(an(Te,_e,e),pe);return ve(xe),Y}function un(Te){const pe=xc(Te.initializer);if(Of(pe)||tP(pe)){let xe,Y;const Ze=t.createTempVariable(void 0),ct=[kre(t,pe,Ze)];return Fa(Te.statement)?(Oi(ct,Te.statement.statements),xe=Te.statement,Y=Te.statement.statements):Te.statement&&($r(ct,Te.statement),xe=Te.statement,Y=Te.statement),t.updateForOfStatement(Te,Te.awaitModifier,Et(t.createVariableDeclarationList([Et(t.createVariableDeclaration(Ze),Te.initializer)],1),Te.initializer),Te.expression,Et(t.createBlock(Et(t.createNodeArray(ct),Y),!0),xe))}return Te}function Gr(Te,pe,xe){const Y=t.createTempVariable(f),Ze=t.createAssignment(Y,pe),ct=t.createExpressionStatement(Ze);$o(ct,Te.expression);const it=t.createAssignment(xe,t.createFalse()),Kt=t.createExpressionStatement(it);$o(Kt,Te.expression);const wr=t.createAssignment(xe,t.createTrue()),qr=t.createExpressionStatement(wr);$o(Kt,Te.expression);const qn=[],ye=kre(t,Te.initializer,Y);qn.push(yt(ye,_e,Ks));let wt,nr;const dt=Sd(Te.statement,_e,e);Fa(dt)?(Oi(qn,dt.statements),wt=dt,nr=dt.statements):qn.push(dt);const ne=Pn(Et(t.createBlock(Et(t.createNodeArray(qn),nr),!0),wt),864);return t.createBlock([ct,Kt,t.createTryStatement(ne,void 0,t.createBlock([qr]))])}function mr(Te){return O&1?t.createYieldExpression(void 0,n().createAwaitHelper(Te)):t.createAwaitExpression(Te)}function Fn(Te,pe,xe){const Y=yt(Te.expression,_e,Dt),Ze=Ye(Y)?t.getGeneratedNameForNode(Y):t.createTempVariable(void 0),ct=Ye(Y)?t.getGeneratedNameForNode(Ze):t.createTempVariable(void 0),it=t.createTempVariable(void 0),Kt=t.createTempVariable(f),wr=t.createUniqueName("e"),qr=t.getGeneratedNameForNode(wr),qn=t.createTempVariable(void 0),ye=Et(n().createAsyncValuesHelper(Y),Te.expression),wt=t.createCallExpression(t.createPropertyAccessExpression(Ze,"next"),void 0,[]),nr=t.createPropertyAccessExpression(ct,"done"),dt=t.createPropertyAccessExpression(ct,"value"),ne=t.createFunctionCallCall(qn,Ze,[]);f(wr),f(qn);const $e=xe&2?t.inlineExpressions([t.createAssignment(wr,t.createVoidZero()),ye]):ye,ce=Pn(Et(t.createForStatement(Pn(Et(t.createVariableDeclarationList([t.createVariableDeclaration(it,void 0,void 0,t.createTrue()),Et(t.createVariableDeclaration(Ze,void 0,void 0,$e),Te.expression),t.createVariableDeclaration(ct)]),Te.expression),4194304),t.inlineExpressions([t.createAssignment(ct,mr(wt)),t.createAssignment(Kt,nr),t.createLogicalNot(Kt)]),void 0,Gr(Te,dt,it)),Te),512);return di(ce,Te),t.createTryStatement(t.createBlock([t.restoreEnclosingLabel(ce,pe)]),t.createCatchClause(t.createVariableDeclaration(qr),Pn(t.createBlock([t.createExpressionStatement(t.createAssignment(wr,t.createObjectLiteralExpression([t.createPropertyAssignment("error",qr)])))]),1)),t.createBlock([t.createTryStatement(t.createBlock([Pn(t.createIfStatement(t.createLogicalAnd(t.createLogicalAnd(t.createLogicalNot(it),t.createLogicalNot(Kt)),t.createAssignment(qn,t.createPropertyAccessExpression(Ze,"return"))),t.createExpressionStatement(mr(ne))),1)]),void 0,Pn(t.createBlock([Pn(t.createIfStatement(wr,t.createThrowStatement(t.createPropertyAccessExpression(wr,"error"))),1)]),1))]))}function ts(Te){return R.assertNode(Te,ua),ws(Te)}function ws(Te){return L!=null&&L.has(Te)?t.updateParameterDeclaration(Te,void 0,Te.dotDotDotToken,xa(Te.name)?t.getGeneratedNameForNode(Te):Te.name,void 0,void 0,void 0):Te.transformFlags&65536?t.updateParameterDeclaration(Te,void 0,Te.dotDotDotToken,t.getGeneratedNameForNode(Te),void 0,void 0,yt(Te.initializer,_e,Dt)):an(Te,_e,e)}function Es(Te){let pe;for(const xe of Te.parameters)pe?pe.add(xe):xe.transformFlags&65536&&(pe=new Set);return pe}function ii(Te){const pe=O,xe=L;O=Au(Te),L=Es(Te);const Y=t.updateConstructorDeclaration(Te,Te.modifiers,Dl(Te.parameters,ts,e),qi(Te));return O=pe,L=xe,Y}function Rt(Te){const pe=O,xe=L;O=Au(Te),L=Es(Te);const Y=t.updateGetAccessorDeclaration(Te,Te.modifiers,yt(Te.name,_e,rl),Dl(Te.parameters,ts,e),void 0,qi(Te));return O=pe,L=xe,Y}function Rr(Te){const pe=O,xe=L;O=Au(Te),L=Es(Te);const Y=t.updateSetAccessorDeclaration(Te,Te.modifiers,yt(Te.name,_e,rl),Dl(Te.parameters,ts,e),qi(Te));return O=pe,L=xe,Y}function rr(Te){const pe=O,xe=L;O=Au(Te),L=Es(Te);const Y=t.updateMethodDeclaration(Te,O&1?hn(Te.modifiers,ge,Bc):Te.modifiers,O&2?void 0:Te.asteriskToken,yt(Te.name,_e,rl),yt(void 0,_e,Tv),void 0,Dl(Te.parameters,ts,e),void 0,O&2&&O&1?cs(Te):qi(Te));return O=pe,L=xe,Y}function Pr(Te){const pe=O,xe=L;O=Au(Te),L=Es(Te);const Y=t.updateFunctionDeclaration(Te,O&1?hn(Te.modifiers,ge,ja):Te.modifiers,O&2?void 0:Te.asteriskToken,Te.name,void 0,Dl(Te.parameters,ts,e),void 0,O&2&&O&1?cs(Te):qi(Te));return O=pe,L=xe,Y}function Cn(Te){const pe=O,xe=L;O=Au(Te),L=Es(Te);const Y=t.updateArrowFunction(Te,Te.modifiers,void 0,Dl(Te.parameters,ts,e),void 0,Te.equalsGreaterThanToken,qi(Te));return O=pe,L=xe,Y}function Nn(Te){const pe=O,xe=L;O=Au(Te),L=Es(Te);const Y=t.updateFunctionExpression(Te,O&1?hn(Te.modifiers,ge,ja):Te.modifiers,O&2?void 0:Te.asteriskToken,Te.name,void 0,Dl(Te.parameters,ts,e),void 0,O&2&&O&1?cs(Te):qi(Te));return O=pe,L=xe,Y}function cs(Te){s();const pe=[],xe=t.copyPrologue(Te.body.statements,pe,!1,_e);en(pe,Te);const Y=Z,Ze=ue;Z=new Set,ue=!1;const ct=t.createReturnStatement(n().createAsyncGeneratorHelper(t.createFunctionExpression(void 0,t.createToken(41),Te.name&&t.getGeneratedNameForNode(Te.name),void 0,[],void 0,t.updateBlock(Te.body,qU(Te.body.statements,_e,e,xe))),!!(M&1))),it=h>=2&&d.getNodeCheckFlags(Te)&384;if(it){Tr();const wr=KU(t,d,Te,Z);ie[Wo(wr)]=!0,Wh(pe,[wr])}pe.push(ct),Wh(pe,l());const Kt=t.updateBlock(Te.body,pe);return it&&ue&&(d.getNodeCheckFlags(Te)&256?KC(Kt,Q5):d.getNodeCheckFlags(Te)&128&&KC(Kt,X5)),Z=Y,ue=Ze,Kt}function qi(Te){var pe;s();let xe=0;const Y=[],Ze=(pe=yt(Te.body,_e,jB))!=null?pe:t.createBlock([]);Fa(Ze)&&(xe=t.copyPrologue(Ze.statements,Y,!1,_e)),Oi(Y,en(void 0,Te));const ct=l();if(xe>0||Oe(Y)||Oe(ct)){const it=t.converters.convertToFunctionBlock(Ze,!0);return Wh(Y,ct),Oi(Y,it.statements.slice(xe)),t.updateBlock(it,Et(t.createNodeArray(Y),it.statements))}return Ze}function en(Te,pe){let xe=!1;for(const Y of pe.parameters)if(xe){if(xa(Y.name)){if(Y.name.elements.length>0){const Ze=JT(Y,_e,e,0,t.getGeneratedNameForNode(Y));if(Oe(Ze)){const ct=t.createVariableDeclarationList(Ze),it=t.createVariableStatement(void 0,ct);Pn(it,2097152),Te=$r(Te,it)}}else if(Y.initializer){const Ze=t.getGeneratedNameForNode(Y),ct=yt(Y.initializer,_e,Dt),it=t.createAssignment(Ze,ct),Kt=t.createExpressionStatement(it);Pn(Kt,2097152),Te=$r(Te,Kt)}}else if(Y.initializer){const Ze=t.cloneNode(Y.name);Et(Ze,Y.name),Pn(Ze,96);const ct=yt(Y.initializer,_e,Dt);ih(ct,3168);const it=t.createAssignment(Ze,ct);Et(it,Y),Pn(it,3072);const Kt=t.createBlock([t.createExpressionStatement(it)]);Et(Kt,Y),Pn(Kt,3905);const wr=t.createTypeCheck(t.cloneNode(Y.name),"undefined"),qr=t.createIfStatement(wr,Kt);Lf(qr),Et(qr,Y),Pn(qr,2101056),Te=$r(Te,qr)}}else if(Y.transformFlags&65536){xe=!0;const Ze=JT(Y,_e,e,1,t.getGeneratedNameForNode(Y),!1,!0);if(Oe(Ze)){const ct=t.createVariableDeclarationList(Ze),it=t.createVariableStatement(void 0,ct);Pn(it,2097152),Te=$r(Te,it)}}return Te}function Tr(){N&1||(N|=1,e.enableSubstitution(210),e.enableSubstitution(208),e.enableSubstitution(209),e.enableEmitNotification(260),e.enableEmitNotification(171),e.enableEmitNotification(174),e.enableEmitNotification(175),e.enableEmitNotification(173),e.enableEmitNotification(240))}function nn(Te,pe,xe){if(N&1&&Ne(pe)){const Y=d.getNodeCheckFlags(pe)&384;if(Y!==U){const Ze=U;U=Y,k(Te,pe,xe),U=Ze;return}}else if(N&&ie[Wo(pe)]){const Y=U;U=0,k(Te,pe,xe),U=Y;return}k(Te,pe,xe)}function Xn(Te,pe){return pe=S(Te,pe),Te===1&&U?_i(pe):pe}function _i(Te){switch(Te.kind){case 208:return Fe(Te);case 209:return Pt(Te);case 210:return Ht(Te)}return Te}function Fe(Te){return Te.expression.kind===106?Et(t.createPropertyAccessExpression(t.createUniqueName("_super",48),Te.name),Te):Te}function Pt(Te){return Te.expression.kind===106?kt(Te.argumentExpression,Te):Te}function Ht(Te){const pe=Te.expression;if(n_(pe)){const xe=oi(pe)?Fe(pe):Pt(pe);return t.createCallExpression(t.createPropertyAccessExpression(xe,"call"),void 0,[t.createThis(),...Te.arguments])}return Te}function Ne(Te){const pe=Te.kind;return pe===260||pe===173||pe===171||pe===174||pe===175}function kt(Te,pe){return U&256?Et(t.createPropertyAccessExpression(t.createCallExpression(t.createIdentifier("_superIndex"),void 0,[Te]),"value"),pe):Et(t.createCallExpression(t.createIdentifier("_superIndex"),void 0,[Te]),pe)}}var net=p({"src/compiler/transformers/es2018.ts"(){aa()}});function ywe(e){const t=e.factory;return Yd(e,n);function n(f){return f.isDeclarationFile?f:an(f,s,e)}function s(f){if(!(f.transformFlags&64))return f;switch(f.kind){case 295:return l(f);default:return an(f,s,e)}}function l(f){return f.variableDeclaration?an(f,s,e):t.updateCatchClause(f,t.createVariableDeclaration(t.createTempVariable(void 0)),yt(f.block,s,Fa))}}var iet=p({"src/compiler/transformers/es2019.ts"(){aa()}});function vwe(e){const{factory:t,hoistVariableDeclaration:n}=e;return Yd(e,s);function s(L){return L.isDeclarationFile?L:an(L,l,e)}function l(L){if(!(L.transformFlags&32))return L;switch(L.kind){case 210:{const U=h(L,!1);return R.assertNotNode(U,fw),U}case 208:case 209:if(cf(L)){const U=S(L,!1,!1);return R.assertNotNode(U,fw),U}return an(L,l,e);case 223:return L.operatorToken.kind===60?N(L):an(L,l,e);case 217:return O(L);default:return an(L,l,e)}}function f(L){R.assertNotNode(L,OB);const U=[L];for(;!L.questionDotToken&&!Mx(L);)L=Oa(jd(L.expression),cf),R.assertNotNode(L,OB),U.unshift(L);return{expression:L.expression,chain:U}}function d(L,U,M){const W=k(L.expression,U,M);return fw(W)?t.createSyntheticReferenceExpression(t.updateParenthesizedExpression(L,W.expression),W.thisArg):t.updateParenthesizedExpression(L,W)}function g(L,U,M){if(cf(L))return S(L,U,M);let W=yt(L.expression,l,Dt);R.assertNotNode(W,fw);let X;return U&&(jT(W)?X=W:(X=t.createTempVariable(n),W=t.createAssignment(X,W))),W=L.kind===208?t.updatePropertyAccessExpression(L,W,yt(L.name,l,Ye)):t.updateElementAccessExpression(L,W,yt(L.argumentExpression,l,Dt)),X?t.createSyntheticReferenceExpression(W,X):W}function h(L,U){if(cf(L))return S(L,U,!1);if(j_(L.expression)&&cf(xc(L.expression))){const M=d(L.expression,!0,!1),W=hn(L.arguments,l,Dt);return fw(M)?Et(t.createFunctionCallCall(M.expression,M.thisArg,W),L):t.updateCallExpression(L,M,void 0,W)}return an(L,l,e)}function k(L,U,M){switch(L.kind){case 214:return d(L,U,M);case 208:case 209:return g(L,U,M);case 210:return h(L,U);default:return yt(L,l,Dt)}}function S(L,U,M){const{expression:W,chain:X}=f(L),Z=k(jd(W),_x(X[0]),!1);let ue=fw(Z)?Z.thisArg:void 0,ie=fw(Z)?Z.expression:Z,se=t.restoreOuterExpressions(W,ie,8);jT(ie)||(ie=t.createTempVariable(n),se=t.createAssignment(ie,se));let V=ie,ve;for(let Ce=0;Ce<X.length;Ce++){const _e=X[Ce];switch(_e.kind){case 208:case 209:Ce===X.length-1&&U&&(jT(V)?ve=V:(ve=t.createTempVariable(n),V=t.createAssignment(ve,V))),V=_e.kind===208?t.createPropertyAccessExpression(V,yt(_e.name,l,Ye)):t.createElementAccessExpression(V,yt(_e.argumentExpression,l,Dt));break;case 210:Ce===0&&ue?(al(ue)||(ue=t.cloneNode(ue),ih(ue,3072)),V=t.createFunctionCallCall(V,ue.kind===106?t.createThis():ue,hn(_e.arguments,l,Dt))):V=t.createCallExpression(V,void 0,hn(_e.arguments,l,Dt));break}di(V,_e)}const fe=M?t.createConditionalExpression(w(se,ie,!0),void 0,t.createTrue(),void 0,t.createDeleteExpression(V)):t.createConditionalExpression(w(se,ie,!0),void 0,t.createVoidZero(),void 0,V);return Et(fe,L),ve?t.createSyntheticReferenceExpression(fe,ve):fe}function w(L,U,M){return t.createBinaryExpression(t.createBinaryExpression(L,t.createToken(M?36:37),t.createNull()),t.createToken(M?56:55),t.createBinaryExpression(U,t.createToken(M?36:37),t.createVoidZero()))}function N(L){let U=yt(L.left,l,Dt),M=U;return jT(U)||(M=t.createTempVariable(n),U=t.createAssignment(M,U)),Et(t.createConditionalExpression(w(U,M),void 0,M,void 0,yt(L.right,l,Dt)),L)}function O(L){return cf(xc(L.expression))?di(k(L.expression,!1,!0),L):t.updateDeleteExpression(L,yt(L.expression,l,Dt))}}var set=p({"src/compiler/transformers/es2020.ts"(){aa()}});function bwe(e){const{hoistVariableDeclaration:t,factory:n}=e;return Yd(e,s);function s(d){return d.isDeclarationFile?d:an(d,l,e)}function l(d){return d.transformFlags&16?Lee(d)?f(d):an(d,l,e):d}function f(d){const g=d.operatorToken,h=wD(g.kind);let k=xc(yt(d.left,l,g_)),S=k;const w=xc(yt(d.right,l,Dt));if($c(k)){const N=jT(k.expression),O=N?k.expression:n.createTempVariable(t),L=N?k.expression:n.createAssignment(O,k.expression);if(oi(k))S=n.createPropertyAccessExpression(O,k.name),k=n.createPropertyAccessExpression(L,k.name);else{const U=jT(k.argumentExpression),M=U?k.argumentExpression:n.createTempVariable(t);S=n.createElementAccessExpression(O,M),k=n.createElementAccessExpression(L,U?k.argumentExpression:n.createAssignment(M,k.argumentExpression))}}return n.createBinaryExpression(k,h,n.createParenthesizedExpression(n.createAssignment(S,w)))}}var aet=p({"src/compiler/transformers/es2021.ts"(){aa()}});function Twe(e){return Yd(e,t);function t(s){return s.isDeclarationFile?s:an(s,n,e)}function n(s){if(!(s.transformFlags&4))return s;switch(s.kind){default:return an(s,n,e)}}}var oet=p({"src/compiler/transformers/esnext.ts"(){aa()}});function Swe(e){const{factory:t,getEmitHelperFactory:n}=e,s=e.getCompilerOptions();let l,f;return Yd(e,w);function d(){if(f.filenameDeclaration)return f.filenameDeclaration.name;const We=t.createVariableDeclaration(t.createUniqueName("_jsxFileName",48),void 0,void 0,t.createStringLiteral(l.fileName));return f.filenameDeclaration=We,f.filenameDeclaration.name}function g(We){return s.jsx===5?"jsxDEV":We?"jsxs":"jsx"}function h(We){const gt=g(We);return S(gt)}function k(){return S("Fragment")}function S(We){var gt,jt;const It=We==="createElement"?f.importSpecifier:$j(f.importSpecifier,s),er=(jt=(gt=f.utilizedImplicitRuntimeImports)==null?void 0:gt.get(It))==null?void 0:jt.get(We);if(er)return er.name;f.utilizedImplicitRuntimeImports||(f.utilizedImplicitRuntimeImports=new Map);let ft=f.utilizedImplicitRuntimeImports.get(It);ft||(ft=new Map,f.utilizedImplicitRuntimeImports.set(It,ft));const mt=t.createUniqueName(`_${We}`,112),xr=t.createImportSpecifier(!1,t.createIdentifier(We),mt);return NSe(mt,xr),ft.set(We,xr),mt}function w(We){if(We.isDeclarationFile)return We;l=We,f={},f.importSpecifier=Vj(s,We);let gt=an(We,N,e);t1(gt,e.readEmitHelpers());let jt=gt.statements;if(f.filenameDeclaration&&(jt=dT(jt.slice(),t.createVariableStatement(void 0,t.createVariableDeclarationList([f.filenameDeclaration],2)))),f.utilizedImplicitRuntimeImports){for(const[It,er]of ao(f.utilizedImplicitRuntimeImports.entries()))if(Fl(We)){const ft=t.createImportDeclaration(void 0,t.createImportClause(!1,void 0,t.createNamedImports(ao(er.values()))),t.createStringLiteral(It),void 0);bv(ft,!1),jt=dT(jt.slice(),ft)}else if(lp(We)){const ft=t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(t.createObjectBindingPattern(ao(er.values(),mt=>t.createBindingElement(void 0,mt.propertyName,mt.name))),void 0,void 0,t.createCallExpression(t.createIdentifier("require"),void 0,[t.createStringLiteral(It)]))],2));bv(ft,!1),jt=dT(jt.slice(),ft)}}return jt!==gt.statements&&(gt=t.updateSourceFile(gt,jt)),f=void 0,gt}function N(We){return We.transformFlags&2?O(We):We}function O(We){switch(We.kind){case 281:return W(We,!1);case 282:return X(We,!1);case 285:return Z(We,!1);case 291:return Ke(We);default:return an(We,N,e)}}function L(We){switch(We.kind){case 11:return ot(We);case 291:return Ke(We);case 281:return W(We,!0);case 282:return X(We,!0);case 285:return Z(We,!0);default:return R.failBadSyntaxKind(We)}}function U(We){let gt=!1;for(const jt of We.attributes.properties)if(Bx(jt))gt=!0;else if(gt&&oh(jt)&&jt.name.escapedText==="key")return!0;return!1}function M(We){return f.importSpecifier===void 0||U(We)}function W(We,gt){return(M(We.openingElement)?ve:se)(We.openingElement,We.children,gt,We)}function X(We,gt){return(M(We)?ve:se)(We,void 0,gt,We)}function Z(We,gt){return(f.importSpecifier===void 0?Ce:fe)(We.openingFragment,We.children,gt,We)}function ue(We){const gt=ie(We);return gt&&t.createObjectLiteralExpression([gt])}function ie(We){const gt=l5(We);if(H(gt)===1&&!gt[0].dotDotDotToken){const It=L(gt[0]);return It&&t.createPropertyAssignment("children",It)}const jt=fr(We,L);return H(jt)?t.createPropertyAssignment("children",t.createArrayLiteralExpression(jt)):void 0}function se(We,gt,jt,It){const er=qe(We),ft=gt&&gt.length?ie(gt):void 0,mt=He(We.attributes.properties,rn=>!!rn.name&&Ye(rn.name)&&rn.name.escapedText==="key"),xr=mt?hr(We.attributes.properties,rn=>rn!==mt):We.attributes.properties,dr=H(xr)?K(xr,ft):t.createObjectLiteralExpression(ft?[ft]:pt);return V(er,dr,mt,gt||pt,jt,It)}function V(We,gt,jt,It,er,ft){var mt;const xr=l5(It),dr=H(xr)>1||!!((mt=xr[0])!=null&&mt.dotDotDotToken),rn=[We,gt];if(jt&&rn.push(le(jt.initializer)),s.jsx===5){const Gr=sl(l);if(Gr&&bs(Gr)){jt===void 0&&rn.push(t.createVoidZero()),rn.push(dr?t.createTrue():t.createFalse());const mr=zc(Gr,ft.pos);rn.push(t.createObjectLiteralExpression([t.createPropertyAssignment("fileName",d()),t.createPropertyAssignment("lineNumber",t.createNumericLiteral(mr.line+1)),t.createPropertyAssignment("columnNumber",t.createNumericLiteral(mr.character+1))])),rn.push(t.createThis())}}const un=Et(t.createCallExpression(h(dr),void 0,rn),ft);return er&&Lf(un),un}function ve(We,gt,jt,It){const er=qe(We),ft=We.attributes.properties,mt=H(ft)?K(ft):t.createNull(),xr=f.importSpecifier===void 0?xre(t,e.getEmitResolver().getJsxFactoryEntity(l),s.reactNamespace,We):S("createElement"),dr=lxe(t,xr,er,mt,fr(gt,L),It);return jt&&Lf(dr),dr}function fe(We,gt,jt,It){let er;if(gt&&gt.length){const ft=ue(gt);ft&&(er=ft)}return V(k(),er||t.createObjectLiteralExpression([]),void 0,gt,jt,It)}function Ce(We,gt,jt,It){const er=uxe(t,e.getEmitResolver().getJsxFactoryEntity(l),e.getEmitResolver().getJsxFragmentFactoryEntity(l),s.reactNamespace,fr(gt,L),We,It);return jt&&Lf(er),er}function _e(We){return t.createSpreadAssignment(R.checkDefined(yt(We.expression,N,Dt)))}function K(We,gt){const jt=Io(s);return jt&&jt>=5?t.createObjectLiteralExpression(ge(We,gt)):Se(We,gt)}function ge(We,gt){const jt=Vn(Xs(We,Bx,(It,er)=>qt(It,ft=>er?_e(ft):Pe(ft))));return gt&&jt.push(gt),jt}function Se(We,gt){const jt=Vn(Xs(We,Bx,(It,er)=>er?qt(It,we):t.createObjectLiteralExpression(qt(It,Pe))));return Bx(We[0])&&jt.unshift(t.createObjectLiteralExpression()),gt&&jt.push(t.createObjectLiteralExpression([gt])),Fh(jt)||n().createAssignHelper(jt)}function we(We){return R.checkDefined(yt(We.expression,N,Dt))}function Pe(We){const gt=st(We),jt=le(We.initializer);return t.createPropertyAssignment(gt,jt)}function le(We){if(We===void 0)return t.createTrue();if(We.kind===10){const gt=We.singleQuote!==void 0?We.singleQuote:!hj(We,l),jt=t.createStringLiteral(Je(We.text)||We.text,gt);return Et(jt,We)}return We.kind===291?We.expression===void 0?t.createTrue():R.checkDefined(yt(We.expression,N,Dt)):s1(We)?W(We,!1):_w(We)?X(We,!1):dw(We)?Z(We,!1):R.failBadSyntaxKind(We)}function ot(We){const gt=Qe(We.text);return gt===void 0?void 0:t.createStringLiteral(gt)}function Qe(We){let gt,jt=0,It=-1;for(let er=0;er<We.length;er++){const ft=We.charCodeAt(er);af(ft)?(jt!==-1&&It!==-1&&(gt=Ge(gt,We.substr(jt,It-jt+1))),jt=-1):zh(ft)||(It=er,jt===-1&&(jt=er))}return jt!==-1?Ge(gt,We.substr(jt)):gt}function Ge(We,gt){const jt=tt(gt);return We===void 0?jt:We+" "+jt}function tt(We){return We.replace(/&((#((\d+)|x([\da-fA-F]+)))|(\w+));/g,(gt,jt,It,er,ft,mt,xr)=>{if(ft)return qA(parseInt(ft,10));if(mt)return qA(parseInt(mt,16));{const dr=xwe.get(xr);return dr?qA(dr):gt}})}function Je(We){const gt=tt(We);return gt===We?void 0:gt}function qe(We){if(We.kind===281)return qe(We.openingElement);{const gt=We.tagName;return Ye(gt)&&bP(gt.escapedText)?t.createStringLiteral(ai(gt)):uO(t,gt)}}function st(We){const gt=We.name,jt=ai(gt);return/^[A-Za-z_]\w*$/.test(jt)?gt:t.createStringLiteral(jt)}function Ke(We){const gt=yt(We.expression,N,Dt);return We.dotDotDotToken?t.createSpreadElement(gt):gt}}var xwe,cet=p({"src/compiler/transformers/jsx.ts"(){aa(),xwe=new Map(Object.entries({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}))}});function kwe(e){const{factory:t,hoistVariableDeclaration:n}=e;return Yd(e,s);function s(h){return h.isDeclarationFile?h:an(h,l,e)}function l(h){if(!(h.transformFlags&512))return h;switch(h.kind){case 223:return f(h);default:return an(h,l,e)}}function f(h){switch(h.operatorToken.kind){case 67:return d(h);case 42:return g(h);default:return an(h,l,e)}}function d(h){let k,S;const w=yt(h.left,l,Dt),N=yt(h.right,l,Dt);if(qc(w)){const O=t.createTempVariable(n),L=t.createTempVariable(n);k=Et(t.createElementAccessExpression(Et(t.createAssignment(O,w.expression),w.expression),Et(t.createAssignment(L,w.argumentExpression),w.argumentExpression)),w),S=Et(t.createElementAccessExpression(O,L),w)}else if(oi(w)){const O=t.createTempVariable(n);k=Et(t.createPropertyAccessExpression(Et(t.createAssignment(O,w.expression),w.expression),w.name),w),S=Et(t.createPropertyAccessExpression(O,w.name),w)}else k=w,S=w;return Et(t.createAssignment(k,Et(t.createGlobalMethodCall("Math","pow",[S,N]),h)),h)}function g(h){const k=yt(h.left,l,Dt),S=yt(h.right,l,Dt);return Et(t.createGlobalMethodCall("Math","pow",[k,S]),h)}}var uet=p({"src/compiler/transformers/es2016.ts"(){aa()}});function Cwe(e,t){return{kind:e,expression:t}}function wwe(e){const{factory:t,getEmitHelperFactory:n,startLexicalEnvironment:s,resumeLexicalEnvironment:l,endLexicalEnvironment:f,hoistVariableDeclaration:d}=e,g=e.getCompilerOptions(),h=e.getEmitResolver(),k=e.onSubstituteNode,S=e.onEmitNode;e.onEmitNode=a_,e.onSubstituteNode=Gc;let w,N,O,L;function U(de){L=$r(L,t.createVariableDeclaration(de))}let M,W;return Yd(e,X);function X(de){if(de.isDeclarationFile)return de;w=de,N=de.text;const bt=ge(de);return t1(bt,e.readEmitHelpers()),w=void 0,N=void 0,L=void 0,O=0,bt}function Z(de,bt){const Yt=O;return O=(O&~de|bt)&32767,Yt}function ue(de,bt,Yt){O=(O&~bt|Yt)&-32768|de}function ie(de){return(O&8192)!==0&&de.kind===250&&!de.expression}function se(de){return de.transformFlags&4194304&&(Sm(de)||Fx(de)||YSe(de)||nO(de)||sO(de)||cD(de)||oO(de)||iO(de)||v4(de)||IT(de)||fv(de,!1)||Fa(de))}function V(de){return(de.transformFlags&1024)!==0||M!==void 0||O&8192&&se(de)||fv(de,!1)&&Di(de)||(Jd(de)&1)!==0}function ve(de){return V(de)?K(de,!1):de}function fe(de){return V(de)?K(de,!0):de}function Ce(de){if(V(de)){const bt=sl(de);if(Pa(bt)&&tu(bt)){const Yt=Z(32670,16449),Xt=K(de,!1);return ue(Yt,98304,0),Xt}return K(de,!1)}return de}function _e(de){return de.kind===106?Hc(!0):ve(de)}function K(de,bt){switch(de.kind){case 124:return;case 260:return Je(de);case 228:return qe(de);case 166:return rn(de);case 259:return Tr(de);case 216:return qi(de);case 215:return en(de);case 257:return ct(de);case 79:return Ge(de);case 258:return pe(de);case 252:return Se(de);case 266:return we(de);case 238:return _i(de,!1);case 249:case 248:return tt(de);case 253:return wr(de);case 243:case 244:return ye(de,void 0);case 245:return wt(de,void 0);case 246:return dt(de,void 0);case 247:return ne(de,void 0);case 241:return Fe(de);case 207:return $t(de);case 295:return Vl(de);case 300:return Fc(de);case 164:return Pc(de);case 206:return Cl(de);case 210:return df(de);case 211:return tr(de);case 214:return Pt(de,bt);case 223:return Ht(de,bt);case 357:return Ne(de,bt);case 14:case 15:case 16:case 17:return Ws(de);case 10:return jo(de);case 8:return Va(de);case 212:return vo(de);case 225:return ka(de);case 226:return br(de);case 227:return si(de);case 106:return Hc(!1);case 108:return ot(de);case 233:return Ql(de);case 171:return fc(de);case 174:case 175:return Kc(de);case 240:return Te(de);case 250:return le(de);case 219:return Qe(de);default:return an(de,ve,e)}}function ge(de){const bt=Z(8064,64),Yt=[],Xt=[];s();const Er=t.copyPrologue(de.statements,Yt,!1,ve);return Oi(Xt,hn(de.statements,ve,Ks,Er)),L&&Xt.push(t.createVariableStatement(void 0,t.createVariableDeclarationList(L))),t.mergeLexicalEnvironment(Yt,f()),Es(Yt,de),ue(bt,0,0),t.updateSourceFile(de,Et(t.createNodeArray(Cr(Yt,Xt)),de.statements))}function Se(de){if(M!==void 0){const bt=M.allowedNonLabeledJumps;M.allowedNonLabeledJumps|=2;const Yt=an(de,ve,e);return M.allowedNonLabeledJumps=bt,Yt}return an(de,ve,e)}function we(de){const bt=Z(7104,0),Yt=an(de,ve,e);return ue(bt,0,0),Yt}function Pe(de){return di(t.createReturnStatement(t.createUniqueName("_this",48)),de)}function le(de){return M?(M.nonLocalJumps|=8,ie(de)&&(de=Pe(de)),t.createReturnStatement(t.createObjectLiteralExpression([t.createPropertyAssignment(t.createIdentifier("value"),de.expression?R.checkDefined(yt(de.expression,ve,Dt)):t.createVoidZero())]))):ie(de)?Pe(de):an(de,ve,e)}function ot(de){return O&2&&!(O&16384)&&(O|=65536),M?O&2?(M.containsLexicalThis=!0,de):M.thisName||(M.thisName=t.createUniqueName("this")):de}function Qe(de){return an(de,fe,e)}function Ge(de){return M&&h.isArgumentsLocalBinding(de)?M.argumentsName||(M.argumentsName=t.createUniqueName("arguments")):de.flags&128?di(Et(t.createIdentifier(Ds(de.escapedText)),de),de):de}function tt(de){if(M){const bt=de.kind===249?2:4;if(!(de.label&&M.labels&&M.labels.get(ai(de.label))||!de.label&&M.allowedNonLabeledJumps&bt)){let Xt;const Er=de.label;Er?de.kind===249?(Xt=`break-${Er.escapedText}`,xl(M,!0,ai(Er),Xt)):(Xt=`continue-${Er.escapedText}`,xl(M,!1,ai(Er),Xt)):de.kind===249?(M.nonLocalJumps|=2,Xt="break"):(M.nonLocalJumps|=4,Xt="continue");let ln=t.createStringLiteral(Xt);if(M.loopOutParameters.length){const ri=M.loopOutParameters;let wi;for(let ls=0;ls<ri.length;ls++){const da=Rl(ri[ls],1);ls===0?wi=da:wi=t.createBinaryExpression(wi,27,da)}ln=t.createBinaryExpression(wi,27,ln)}return t.createReturnStatement(ln)}}return an(de,ve,e)}function Je(de){const bt=t.createVariableDeclaration(t.getLocalName(de,!0),void 0,void 0,st(de));di(bt,de);const Yt=[],Xt=t.createVariableStatement(void 0,t.createVariableDeclarationList([bt]));if(di(Xt,de),Et(Xt,de),Lf(Xt),Yt.push(Xt),Ti(de,1)){const ln=Ti(de,1024)?t.createExportDefault(t.getLocalName(de)):t.createExternalModuleExport(t.getLocalName(de));di(ln,Xt),Yt.push(ln)}const Er=Wa(de);return Er&8388608||(Yt.push(t.createEndOfDeclarationMarker(de)),Pn(Xt,Er|8388608)),Rh(Yt)}function qe(de){return st(de)}function st(de){de.name&&Zo();const bt=TT(de),Yt=t.createFunctionExpression(void 0,void 0,void 0,void 0,bt?[t.createParameterDeclaration(void 0,void 0,t.createUniqueName("_super",48))]:[],void 0,Ke(de,bt));Pn(Yt,Wa(de)&131072|1048576);const Xt=t.createPartiallyEmittedExpression(Yt);t4(Xt,de.end),Pn(Xt,3072);const Er=t.createPartiallyEmittedExpression(Xt);t4(Er,wo(N,de.pos)),Pn(Er,3072);const ln=t.createParenthesizedExpression(t.createCallExpression(Er,void 0,bt?[R.checkDefined(yt(bt.expression,ve,Dt))]:[]));return q5(ln,3,"* @class "),ln}function Ke(de,bt){const Yt=[],Xt=t.getInternalName(de),Er=xj(Xt)?t.getGeneratedNameForNode(Xt):Xt;s(),We(Yt,de,bt),gt(Yt,de,Er,bt),rr(Yt,de);const ln=jee(wo(N,de.members.end),19),ri=t.createPartiallyEmittedExpression(Er);t4(ri,ln.end),Pn(ri,3072);const wi=t.createReturnStatement(ri);UP(wi,ln.pos),Pn(wi,3840),Yt.push(wi),Wh(Yt,f());const ls=t.createBlock(Et(t.createNodeArray(Yt),de.members),!0);return Pn(ls,3072),ls}function We(de,bt,Yt){Yt&&de.push(Et(t.createExpressionStatement(n().createExtendsHelper(t.getInternalName(bt))),Yt))}function gt(de,bt,Yt,Xt){const Er=M;M=void 0;const ln=Z(32662,73),ri=Bg(bt),wi=eo(ri,Xt!==void 0),ls=t.createFunctionDeclaration(void 0,void 0,Yt,void 0,jt(ri,wi),void 0,er(ri,bt,Xt,wi));Et(ls,ri||bt),Xt&&Pn(ls,16),de.push(ls),ue(ln,98304,0),M=Er}function jt(de,bt){return Dl(de&&!bt?de.parameters:void 0,ve,e)||[]}function It(de,bt){const Yt=[];l(),t.mergeLexicalEnvironment(Yt,f()),bt&&Yt.push(t.createReturnStatement(dr()));const Xt=t.createNodeArray(Yt);Et(Xt,de.members);const Er=t.createBlock(Xt,!0);return Et(Er,de),Pn(Er,3072),Er}function er(de,bt,Yt,Xt){const Er=!!Yt&&uf(Yt.expression).kind!==104;if(!de)return It(bt,Er);const ln=[],ri=[];l();const wi=GR(de.body.statements,vm),{superCall:ls,superStatementIndex:da}=ft(de.body.statements,wi),bo=da===-1?wi.length:da+1;let tc=bo;Xt||(tc=t.copyStandardPrologue(de.body.statements,ln,tc,!1)),Xt||(tc=t.copyCustomPrologue(de.body.statements,ri,tc,ve,void 0));let Dc;if(Xt?Dc=dr():ls&&(Dc=be(ls)),Dc&&(O|=8192),Gr(ln,de),ws(ln,de,Xt),Oi(ri,hn(de.body.statements,ve,Ks,tc)),t.mergeLexicalEnvironment(ln,f()),Rr(ln,de,!1),Er||Dc)if(Dc&&bo===de.body.statements.length&&!(de.body.transformFlags&16384)){const mp=Oa(Oa(Dc,$n).left,Da),Bl=t.createReturnStatement(Dc);Du(Bl,eg(mp)),Pn(mp,3072),ri.push(Bl)}else da<=wi.length?Rt(ri,de,Dc||xr()):(Rt(ln,de,xr()),Dc&&ii(ri,Dc)),mt(de.body)||ri.push(t.createReturnStatement(t.createUniqueName("_this",48)));else Es(ln,de);const o_=t.createBlock(Et(t.createNodeArray([...wi,...ln,...da<=wi.length?pt:hn(de.body.statements,ve,Ks,wi.length,da-wi.length),...ri]),de.body.statements),!0);return Et(o_,de.body),o_}function ft(de,bt){for(let Yt=bt.length;Yt<de.length;Yt+=1){const Xt=Yne(de[Yt]);if(Xt)return{superCall:Xt,superStatementIndex:Yt}}return{superStatementIndex:-1}}function mt(de){if(de.kind===250)return!0;if(de.kind===242){const bt=de;if(bt.elseStatement)return mt(bt.thenStatement)&&mt(bt.elseStatement)}else if(de.kind===238){const bt=Rc(de.statements);if(bt&&mt(bt))return!0}return!1}function xr(){return Pn(t.createThis(),8)}function dr(){return t.createLogicalOr(t.createLogicalAnd(t.createStrictInequality(t.createUniqueName("_super",48),t.createNull()),t.createFunctionApplyCall(t.createUniqueName("_super",48),xr(),t.createIdentifier("arguments"))),xr())}function rn(de){if(!de.dotDotDotToken)return xa(de.name)?di(Et(t.createParameterDeclaration(void 0,void 0,t.getGeneratedNameForNode(de),void 0,void 0,void 0),de),de):de.initializer?di(Et(t.createParameterDeclaration(void 0,void 0,de.name,void 0,void 0,void 0),de),de):de}function un(de){return de.initializer!==void 0||xa(de.name)}function Gr(de,bt){if(!Oe(bt.parameters,un))return!1;let Yt=!1;for(const Xt of bt.parameters){const{name:Er,initializer:ln,dotDotDotToken:ri}=Xt;ri||(xa(Er)?Yt=mr(de,Xt,Er,ln)||Yt:ln&&(Fn(de,Xt,Er,ln),Yt=!0))}return Yt}function mr(de,bt,Yt,Xt){return Yt.elements.length>0?(dT(de,Pn(t.createVariableStatement(void 0,t.createVariableDeclarationList(JT(bt,ve,e,0,t.getGeneratedNameForNode(bt)))),2097152)),!0):Xt?(dT(de,Pn(t.createExpressionStatement(t.createAssignment(t.getGeneratedNameForNode(bt),R.checkDefined(yt(Xt,ve,Dt)))),2097152)),!0):!1}function Fn(de,bt,Yt,Xt){Xt=R.checkDefined(yt(Xt,ve,Dt));const Er=t.createIfStatement(t.createTypeCheck(t.cloneNode(Yt),"undefined"),Pn(Et(t.createBlock([t.createExpressionStatement(Pn(Et(t.createAssignment(Pn(go(Et(t.cloneNode(Yt),Yt),Yt.parent),96),Pn(Xt,96|Wa(Xt)|3072)),bt),3072))]),bt),3905));Lf(Er),Et(Er,bt),Pn(Er,2101056),dT(de,Er)}function ts(de,bt){return!!(de&&de.dotDotDotToken&&!bt)}function ws(de,bt,Yt){const Xt=[],Er=Rc(bt.parameters);if(!ts(Er,Yt))return!1;const ln=Er.name.kind===79?go(Et(t.cloneNode(Er.name),Er.name),Er.name.parent):t.createTempVariable(void 0);Pn(ln,96);const ri=Er.name.kind===79?t.cloneNode(Er.name):ln,wi=bt.parameters.length-1,ls=t.createLoopVariable();Xt.push(Pn(Et(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(ln,void 0,void 0,t.createArrayLiteralExpression([]))])),Er),2097152));const da=t.createForStatement(Et(t.createVariableDeclarationList([t.createVariableDeclaration(ls,void 0,void 0,t.createNumericLiteral(wi))]),Er),Et(t.createLessThan(ls,t.createPropertyAccessExpression(t.createIdentifier("arguments"),"length")),Er),Et(t.createPostfixIncrement(ls),Er),t.createBlock([Lf(Et(t.createExpressionStatement(t.createAssignment(t.createElementAccessExpression(ri,wi===0?ls:t.createSubtract(ls,t.createNumericLiteral(wi))),t.createElementAccessExpression(t.createIdentifier("arguments"),ls))),Er))]));return Pn(da,2097152),Lf(da),Xt.push(da),Er.name.kind!==79&&Xt.push(Pn(Et(t.createVariableStatement(void 0,t.createVariableDeclarationList(JT(Er,ve,e,0,ri))),Er),2097152)),PK(de,Xt),!0}function Es(de,bt){return O&65536&&bt.kind!==216?(Rt(de,bt,t.createThis()),!0):!1}function ii(de,bt){zo();const Yt=t.createExpressionStatement(t.createBinaryExpression(t.createThis(),63,bt));dT(de,Yt),Du(Yt,sl(bt).parent)}function Rt(de,bt,Yt){zo();const Xt=t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(t.createUniqueName("_this",48),void 0,void 0,Yt)]));Pn(Xt,2100224),$o(Xt,bt),dT(de,Xt)}function Rr(de,bt,Yt){if(O&32768){let Xt;switch(bt.kind){case 216:return de;case 171:case 174:case 175:Xt=t.createVoidZero();break;case 173:Xt=t.createPropertyAccessExpression(Pn(t.createThis(),8),"constructor");break;case 259:case 215:Xt=t.createConditionalExpression(t.createLogicalAnd(Pn(t.createThis(),8),t.createBinaryExpression(Pn(t.createThis(),8),102,t.getLocalName(bt))),void 0,t.createPropertyAccessExpression(Pn(t.createThis(),8),"constructor"),void 0,t.createVoidZero());break;default:return R.failBadSyntaxKind(bt)}const Er=t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(t.createUniqueName("_newTarget",48),void 0,void 0,Xt)]));Pn(Er,2100224),Yt&&(de=de.slice()),dT(de,Er)}return de}function rr(de,bt){for(const Yt of bt.members)switch(Yt.kind){case 237:de.push(Pr(Yt));break;case 171:de.push(Cn(ks(bt,Yt),Yt,bt));break;case 174:case 175:const Xt=Dx(bt.members,Yt);Yt===Xt.firstAccessor&&de.push(Nn(ks(bt,Yt),Xt,bt));break;case 173:case 172:break;default:R.failBadSyntaxKind(Yt,w&&w.fileName);break}}function Pr(de){return Et(t.createEmptyStatement(),de)}function Cn(de,bt,Yt){const Xt=eg(bt),Er=Wb(bt),ln=nn(bt,bt,void 0,Yt),ri=yt(bt.name,ve,rl);R.assert(ri);let wi;if(!as(ri)&&C5(e.getCompilerOptions())){const da=ac(ri)?ri.expression:Ye(ri)?t.createStringLiteral(Ds(ri.escapedText)):ri;wi=t.createObjectDefinePropertyCall(de,da,t.createPropertyDescriptor({value:ln,enumerable:!1,writable:!0,configurable:!0}))}else{const da=Ux(t,de,ri,bt.name);wi=t.createAssignment(da,ln)}Pn(ln,3072),$o(ln,Er);const ls=Et(t.createExpressionStatement(wi),bt);return di(ls,bt),Du(ls,Xt),Pn(ls,96),ls}function Nn(de,bt,Yt){const Xt=t.createExpressionStatement(cs(de,bt,Yt,!1));return Pn(Xt,3072),$o(Xt,Wb(bt.firstAccessor)),Xt}function cs(de,{firstAccessor:bt,getAccessor:Yt,setAccessor:Xt},Er,ln){const ri=go(Et(t.cloneNode(de),de),de.parent);Pn(ri,3136),$o(ri,bt.name);const wi=yt(bt.name,ve,rl);if(R.assert(wi),as(wi))return R.failBadSyntaxKind(wi,"Encountered unhandled private identifier while transforming ES2015.");const ls=Cre(t,wi);Pn(ls,3104),$o(ls,bt.name);const da=[];if(Yt){const tc=nn(Yt,void 0,void 0,Er);$o(tc,Wb(Yt)),Pn(tc,1024);const Dc=t.createPropertyAssignment("get",tc);Du(Dc,eg(Yt)),da.push(Dc)}if(Xt){const tc=nn(Xt,void 0,void 0,Er);$o(tc,Wb(Xt)),Pn(tc,1024);const Dc=t.createPropertyAssignment("set",tc);Du(Dc,eg(Xt)),da.push(Dc)}da.push(t.createPropertyAssignment("enumerable",Yt||Xt?t.createFalse():t.createTrue()),t.createPropertyAssignment("configurable",t.createTrue()));const bo=t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("Object"),"defineProperty"),void 0,[ri,ls,t.createObjectLiteralExpression(da,!0)]);return ln&&Lf(bo),bo}function qi(de){de.transformFlags&16384&&!(O&16384)&&(O|=65536);const bt=M;M=void 0;const Yt=Z(15232,66),Xt=t.createFunctionExpression(void 0,void 0,void 0,void 0,Dl(de.parameters,ve,e),void 0,Xn(de));return Et(Xt,de),di(Xt,de),Pn(Xt,16),ue(Yt,0,0),M=bt,Xt}function en(de){const bt=Wa(de)&524288?Z(32662,69):Z(32670,65),Yt=M;M=void 0;const Xt=Dl(de.parameters,ve,e),Er=Xn(de),ln=O&32768?t.getLocalName(de):de.name;return ue(bt,98304,0),M=Yt,t.updateFunctionExpression(de,void 0,de.asteriskToken,ln,void 0,Xt,void 0,Er)}function Tr(de){const bt=M;M=void 0;const Yt=Z(32670,65),Xt=Dl(de.parameters,ve,e),Er=Xn(de),ln=O&32768?t.getLocalName(de):de.name;return ue(Yt,98304,0),M=bt,t.updateFunctionDeclaration(de,hn(de.modifiers,ve,ja),de.asteriskToken,ln,void 0,Xt,void 0,Er)}function nn(de,bt,Yt,Xt){const Er=M;M=void 0;const ln=Xt&&Ri(Xt)&&!ba(de)?Z(32670,73):Z(32670,65),ri=Dl(de.parameters,ve,e),wi=Xn(de);return O&32768&&!Yt&&(de.kind===259||de.kind===215)&&(Yt=t.getGeneratedNameForNode(de)),ue(ln,98304,0),M=Er,di(Et(t.createFunctionExpression(void 0,de.asteriskToken,Yt,void 0,ri,void 0,wi),bt),de)}function Xn(de){let bt=!1,Yt=!1,Xt,Er;const ln=[],ri=[],wi=de.body;let ls;if(l(),Fa(wi)&&(ls=t.copyStandardPrologue(wi.statements,ln,0,!1),ls=t.copyCustomPrologue(wi.statements,ri,ls,ve,tj),ls=t.copyCustomPrologue(wi.statements,ri,ls,ve,rj)),bt=Gr(ri,de)||bt,bt=ws(ri,de,!1)||bt,Fa(wi))ls=t.copyCustomPrologue(wi.statements,ri,ls,ve),Xt=wi.statements,Oi(ri,hn(wi.statements,ve,Ks,ls)),!bt&&wi.multiLine&&(bt=!0);else{R.assert(de.kind===216),Xt=Oj(wi,-1);const bo=de.equalsGreaterThanToken;!Mc(bo)&&!Mc(wi)&&(v5(bo,wi,w)?Yt=!0:bt=!0);const tc=yt(wi,ve,Dt),Dc=t.createReturnStatement(tc);Et(Dc,wi),CSe(Dc,wi),Pn(Dc,2880),ri.push(Dc),Er=wi}if(t.mergeLexicalEnvironment(ln,f()),Rr(ln,de,!1),Es(ln,de),Oe(ln)&&(bt=!0),ri.unshift(...ln),Fa(wi)&&Oc(ri,wi.statements))return wi;const da=t.createBlock(Et(t.createNodeArray(ri),Xt),bt);return Et(da,de.body),!bt&&Yt&&Pn(da,1),Er&&kSe(da,19,Er),di(da,de.body),da}function _i(de,bt){if(bt)return an(de,ve,e);const Yt=O&256?Z(7104,512):Z(6976,128),Xt=an(de,ve,e);return ue(Yt,0,0),Xt}function Fe(de){return an(de,fe,e)}function Pt(de,bt){return an(de,bt?fe:ve,e)}function Ht(de,bt){return K0(de)?Hx(de,ve,e,0,!bt):de.operatorToken.kind===27?t.updateBinaryExpression(de,R.checkDefined(yt(de.left,fe,Dt)),de.operatorToken,R.checkDefined(yt(de.right,bt?fe:ve,Dt))):an(de,ve,e)}function Ne(de,bt){if(bt)return an(de,fe,e);let Yt;for(let Er=0;Er<de.elements.length;Er++){const ln=de.elements[Er],ri=yt(ln,Er<de.elements.length-1?fe:ve,Dt);(Yt||ri!==ln)&&(Yt||(Yt=de.elements.slice(0,Er)),R.assert(ri),Yt.push(ri))}const Xt=Yt?Et(t.createNodeArray(Yt),de.elements):de.elements;return t.updateCommaListExpression(de,Xt)}function kt(de){return de.declarationList.declarations.length===1&&!!de.declarationList.declarations[0].initializer&&!!(Jd(de.declarationList.declarations[0].initializer)&1)}function Te(de){const bt=Z(0,Ti(de,1)?32:0);let Yt;if(M&&!(de.declarationList.flags&3)&&!kt(de)){let Xt;for(const Er of de.declarationList.declarations)if(Zi(M,Er),Er.initializer){let ln;xa(Er.name)?ln=Hx(Er,ve,e,0):(ln=t.createBinaryExpression(Er.name,63,R.checkDefined(yt(Er.initializer,ve,Dt))),Et(ln,Er)),Xt=$r(Xt,ln)}Xt?Yt=Et(t.createExpressionStatement(t.inlineExpressions(Xt)),de):Yt=void 0}else Yt=an(de,ve,e);return ue(bt,0,0),Yt}function pe(de){if(de.flags&3||de.transformFlags&524288){de.flags&3&&Zo();const bt=hn(de.declarations,de.flags&1?Ze:ct,xs),Yt=t.createVariableDeclarationList(bt);return di(Yt,de),Et(Yt,de),Du(Yt,de),de.transformFlags&524288&&(xa(de.declarations[0].name)||xa(ko(de.declarations).name))&&$o(Yt,xe(bt)),Yt}return an(de,ve,e)}function xe(de){let bt=-1,Yt=-1;for(const Xt of de)bt=bt===-1?Xt.pos:Xt.pos===-1?bt:Math.min(bt,Xt.pos),Yt=Math.max(Yt,Xt.end);return yd(bt,Yt)}function Y(de){const bt=h.getNodeCheckFlags(de),Yt=bt&16384,Xt=bt&32768;return!((O&64)!==0||Yt&&Xt&&(O&512)!==0)&&(O&4096)===0&&(!h.isDeclarationWithCollidingName(de)||Xt&&!Yt&&(O&6144)===0)}function Ze(de){const bt=de.name;return xa(bt)?ct(de):!de.initializer&&Y(de)?t.updateVariableDeclaration(de,de.name,void 0,void 0,t.createVoidZero()):an(de,ve,e)}function ct(de){const bt=Z(32,0);let Yt;return xa(de.name)?Yt=JT(de,ve,e,0,void 0,(bt&32)!==0):Yt=an(de,ve,e),ue(bt,0,0),Yt}function it(de){M.labels.set(ai(de.label),!0)}function Kt(de){M.labels.set(ai(de.label),!1)}function wr(de){M&&!M.labels&&(M.labels=new Map);const bt=QK(de,M&&it);return fv(bt,!1)?qr(bt,de):t.restoreEnclosingLabel(R.checkDefined(yt(bt,ve,Ks,t.liftToBlock)),de,M&&Kt)}function qr(de,bt){switch(de.kind){case 243:case 244:return ye(de,bt);case 245:return wt(de,bt);case 246:return dt(de,bt);case 247:return ne(de,bt)}}function qn(de,bt,Yt,Xt,Er){const ln=Z(de,bt),ri=hs(Yt,Xt,ln,Er);return ue(ln,0,0),ri}function ye(de,bt){return qn(0,1280,de,bt)}function wt(de,bt){return qn(5056,3328,de,bt)}function nr(de){return t.updateForStatement(de,yt(de.initializer,fe,Zm),yt(de.condition,ve,Dt),yt(de.incrementor,fe,Dt),R.checkDefined(yt(de.statement,ve,Ks,t.liftToBlock)))}function dt(de,bt){return qn(3008,5376,de,bt)}function ne(de,bt){return qn(3008,5376,de,bt,g.downlevelIteration?te:Be)}function $e(de,bt,Yt){const Xt=[],Er=de.initializer;if(Of(Er)){de.initializer.flags&3&&Zo();const ln=Ru(Er.declarations);if(ln&&xa(ln.name)){const ri=JT(ln,ve,e,0,bt),wi=Et(t.createVariableDeclarationList(ri),de.initializer);di(wi,de.initializer),$o(wi,yd(ri[0].pos,ko(ri).end)),Xt.push(t.createVariableStatement(void 0,wi))}else Xt.push(Et(t.createVariableStatement(void 0,di(Et(t.createVariableDeclarationList([t.createVariableDeclaration(ln?ln.name:t.createTempVariable(void 0),void 0,void 0,bt)]),$b(Er,-1)),Er)),Oj(Er,-1)))}else{const ln=t.createAssignment(Er,bt);K0(ln)?Xt.push(t.createExpressionStatement(Ht(ln,!0))):(t4(ln,Er.end),Xt.push(Et(t.createExpressionStatement(R.checkDefined(yt(ln,ve,Dt))),Oj(Er,-1))))}if(Yt)return ce(Oi(Xt,Yt));{const ln=yt(de.statement,ve,Ks,t.liftToBlock);return R.assert(ln),Fa(ln)?t.updateBlock(ln,Et(t.createNodeArray(Cr(Xt,ln.statements)),ln.statements)):(Xt.push(ln),ce(Xt))}}function ce(de){return Pn(t.createBlock(t.createNodeArray(de),!0),864)}function Be(de,bt,Yt){const Xt=yt(de.expression,ve,Dt);R.assert(Xt);const Er=t.createLoopVariable(),ln=Ye(Xt)?t.getGeneratedNameForNode(Xt):t.createTempVariable(void 0);Pn(Xt,96|Wa(Xt));const ri=Et(t.createForStatement(Pn(Et(t.createVariableDeclarationList([Et(t.createVariableDeclaration(Er,void 0,void 0,t.createNumericLiteral(0)),$b(de.expression,-1)),Et(t.createVariableDeclaration(ln,void 0,void 0,Xt),de.expression)]),de.expression),4194304),Et(t.createLessThan(Er,t.createPropertyAccessExpression(ln,"length")),de.expression),Et(t.createPostfixIncrement(Er),de.expression),$e(de,t.createElementAccessExpression(ln,Er),Yt)),de);return Pn(ri,512),Et(ri,de),t.restoreEnclosingLabel(ri,bt,M&&Kt)}function te(de,bt,Yt,Xt){const Er=yt(de.expression,ve,Dt);R.assert(Er);const ln=Ye(Er)?t.getGeneratedNameForNode(Er):t.createTempVariable(void 0),ri=Ye(Er)?t.getGeneratedNameForNode(ln):t.createTempVariable(void 0),wi=t.createUniqueName("e"),ls=t.getGeneratedNameForNode(wi),da=t.createTempVariable(void 0),bo=Et(n().createValuesHelper(Er),de.expression),tc=t.createCallExpression(t.createPropertyAccessExpression(ln,"next"),void 0,[]);d(wi),d(da);const Dc=Xt&1024?t.inlineExpressions([t.createAssignment(wi,t.createVoidZero()),bo]):bo,o_=Pn(Et(t.createForStatement(Pn(Et(t.createVariableDeclarationList([Et(t.createVariableDeclaration(ln,void 0,void 0,Dc),de.expression),t.createVariableDeclaration(ri,void 0,void 0,tc)]),de.expression),4194304),t.createLogicalNot(t.createPropertyAccessExpression(ri,"done")),t.createAssignment(ri,tc),$e(de,t.createPropertyAccessExpression(ri,"value"),Yt)),de),512);return t.createTryStatement(t.createBlock([t.restoreEnclosingLabel(o_,bt,M&&Kt)]),t.createCatchClause(t.createVariableDeclaration(ls),Pn(t.createBlock([t.createExpressionStatement(t.createAssignment(wi,t.createObjectLiteralExpression([t.createPropertyAssignment("error",ls)])))]),1)),t.createBlock([t.createTryStatement(t.createBlock([Pn(t.createIfStatement(t.createLogicalAnd(t.createLogicalAnd(ri,t.createLogicalNot(t.createPropertyAccessExpression(ri,"done"))),t.createAssignment(da,t.createPropertyAccessExpression(ln,"return"))),t.createExpressionStatement(t.createFunctionCallCall(da,ln,[]))),1)]),void 0,Pn(t.createBlock([Pn(t.createIfStatement(wi,t.createThrowStatement(t.createPropertyAccessExpression(wi,"error"))),1)]),1))]))}function $t(de){const bt=de.properties;let Yt=-1,Xt=!1;for(let wi=0;wi<bt.length;wi++){const ls=bt[wi];if(ls.transformFlags&1048576&&O&4||(Xt=R.checkDefined(ls.name).kind===164)){Yt=wi;break}}if(Yt<0)return an(de,ve,e);const Er=t.createTempVariable(d),ln=[],ri=t.createAssignment(Er,Pn(t.createObjectLiteralExpression(hn(bt,ve,X0,0,Yt),de.multiLine),Xt?131072:0));return de.multiLine&&Lf(ri),ln.push(ri),Ao(ln,de,Er,Yt),ln.push(de.multiLine?Lf(go(Et(t.cloneNode(Er),Er),Er.parent)):Er),t.inlineExpressions(ln)}function At(de){return(h.getNodeCheckFlags(de)&8192)!==0}function St(de){return Rx(de)&&!!de.initializer&&At(de.initializer)}function Dr(de){return Rx(de)&&!!de.condition&&At(de.condition)}function yn(de){return Rx(de)&&!!de.incrementor&&At(de.incrementor)}function Di(de){return Yi(de)||St(de)}function Yi(de){return(h.getNodeCheckFlags(de)&4096)!==0}function Zi(de,bt){de.hoistedLocalVariables||(de.hoistedLocalVariables=[]),Yt(bt.name);function Yt(Xt){if(Xt.kind===79)de.hoistedLocalVariables.push(Xt);else for(const Er of Xt.elements)yu(Er)||Yt(Er.name)}}function hs(de,bt,Yt,Xt){if(!Di(de)){let bo;M&&(bo=M.allowedNonLabeledJumps,M.allowedNonLabeledJumps=6);const tc=Xt?Xt(de,bt,void 0,Yt):t.restoreEnclosingLabel(Rx(de)?nr(de):an(de,ve,e),bt,M&&Kt);return M&&(M.allowedNonLabeledJumps=bo),tc}const Er=Bo(de),ln=[],ri=M;M=Er;const wi=St(de)?Qr(de,Er):void 0,ls=Yi(de)?js(de,Er,ri):void 0;M=ri,wi&&ln.push(wi.functionDeclaration),ls&&ln.push(ls.functionDeclaration),Ji(ln,Er,ri),wi&&ln.push(Sl(wi.functionName,wi.containsYield));let da;if(ls)if(Xt)da=Xt(de,bt,ls.part,Yt);else{const bo=za(de,wi,t.createBlock(ls.part,!0));da=t.restoreEnclosingLabel(bo,bt,M&&Kt)}else{const bo=za(de,wi,R.checkDefined(yt(de.statement,ve,Ks,t.liftToBlock)));da=t.restoreEnclosingLabel(bo,bt,M&&Kt)}return ln.push(da),ln}function za(de,bt,Yt){switch(de.kind){case 245:return Xa(de,bt,Yt);case 246:return Fs(de,Yt);case 247:return Ia(de,Yt);case 243:return gs(de,Yt);case 244:return vi(de,Yt);default:return R.failBadSyntaxKind(de,"IterationStatement expected")}}function Xa(de,bt,Yt){const Xt=de.condition&&At(de.condition),Er=Xt||de.incrementor&&At(de.incrementor);return t.updateForStatement(de,yt(bt?bt.part:de.initializer,fe,Zm),yt(Xt?void 0:de.condition,ve,Dt),yt(Er?void 0:de.incrementor,fe,Dt),Yt)}function Ia(de,bt){return t.updateForOfStatement(de,void 0,R.checkDefined(yt(de.initializer,ve,Zm)),R.checkDefined(yt(de.expression,ve,Dt)),bt)}function Fs(de,bt){return t.updateForInStatement(de,R.checkDefined(yt(de.initializer,ve,Zm)),R.checkDefined(yt(de.expression,ve,Dt)),bt)}function gs(de,bt){return t.updateDoStatement(de,bt,R.checkDefined(yt(de.expression,ve,Dt)))}function vi(de,bt){return t.updateWhileStatement(de,R.checkDefined(yt(de.expression,ve,Dt)),bt)}function Bo(de){let bt;switch(de.kind){case 245:case 246:case 247:const ln=de.initializer;ln&&ln.kind===258&&(bt=ln);break}const Yt=[],Xt=[];if(bt&&ym(bt)&3){const ln=St(de)||Dr(de)||yn(de);for(const ri of bt.declarations)ea(de,ri,Yt,Xt,ln)}const Er={loopParameters:Yt,loopOutParameters:Xt};return M&&(M.argumentsName&&(Er.argumentsName=M.argumentsName),M.thisName&&(Er.thisName=M.thisName),M.hoistedLocalVariables&&(Er.hoistedLocalVariables=M.hoistedLocalVariables)),Er}function Ji(de,bt,Yt){let Xt;if(bt.argumentsName&&(Yt?Yt.argumentsName=bt.argumentsName:(Xt||(Xt=[])).push(t.createVariableDeclaration(bt.argumentsName,void 0,void 0,t.createIdentifier("arguments")))),bt.thisName&&(Yt?Yt.thisName=bt.thisName:(Xt||(Xt=[])).push(t.createVariableDeclaration(bt.thisName,void 0,void 0,t.createIdentifier("this")))),bt.hoistedLocalVariables)if(Yt)Yt.hoistedLocalVariables=bt.hoistedLocalVariables;else{Xt||(Xt=[]);for(const Er of bt.hoistedLocalVariables)Xt.push(t.createVariableDeclaration(Er))}if(bt.loopOutParameters.length){Xt||(Xt=[]);for(const Er of bt.loopOutParameters)Xt.push(t.createVariableDeclaration(Er.outParamName))}bt.conditionVariable&&(Xt||(Xt=[]),Xt.push(t.createVariableDeclaration(bt.conditionVariable,void 0,void 0,t.createFalse()))),Xt&&de.push(t.createVariableStatement(void 0,t.createVariableDeclarationList(Xt)))}function Rs(de){return t.createVariableDeclaration(de.originalName,void 0,void 0,de.outParamName)}function Qr(de,bt){const Yt=t.createUniqueName("_loop_init"),Xt=(de.initializer.transformFlags&1048576)!==0;let Er=0;bt.containsLexicalThis&&(Er|=16),Xt&&O&4&&(Er|=524288);const ln=[];ln.push(t.createVariableStatement(void 0,de.initializer)),jc(bt.loopOutParameters,2,1,ln);const ri=t.createVariableStatement(void 0,Pn(t.createVariableDeclarationList([t.createVariableDeclaration(Yt,void 0,void 0,Pn(t.createFunctionExpression(void 0,Xt?t.createToken(41):void 0,void 0,void 0,void 0,void 0,R.checkDefined(yt(t.createBlock(ln,!0),ve,Fa))),Er))]),4194304)),wi=t.createVariableDeclarationList(qt(bt.loopOutParameters,Rs));return{functionName:Yt,containsYield:Xt,functionDeclaration:ri,part:wi}}function js(de,bt,Yt){const Xt=t.createUniqueName("_loop");s();const Er=yt(de.statement,ve,Ks,t.liftToBlock),ln=f(),ri=[];(Dr(de)||yn(de))&&(bt.conditionVariable=t.createUniqueName("inc"),de.incrementor?ri.push(t.createIfStatement(bt.conditionVariable,t.createExpressionStatement(R.checkDefined(yt(de.incrementor,ve,Dt))),t.createExpressionStatement(t.createAssignment(bt.conditionVariable,t.createTrue())))):ri.push(t.createIfStatement(t.createLogicalNot(bt.conditionVariable),t.createExpressionStatement(t.createAssignment(bt.conditionVariable,t.createTrue())))),Dr(de)&&ri.push(t.createIfStatement(t.createPrefixUnaryExpression(53,R.checkDefined(yt(de.condition,ve,Dt))),R.checkDefined(yt(t.createBreakStatement(),ve,Ks))))),R.assert(Er),Fa(Er)?Oi(ri,Er.statements):ri.push(Er),jc(bt.loopOutParameters,1,1,ri),Wh(ri,ln);const wi=t.createBlock(ri,!0);Fa(Er)&&di(wi,Er);const ls=(de.statement.transformFlags&1048576)!==0;let da=1048576;bt.containsLexicalThis&&(da|=16),ls&&O&4&&(da|=524288);const bo=t.createVariableStatement(void 0,Pn(t.createVariableDeclarationList([t.createVariableDeclaration(Xt,void 0,void 0,Pn(t.createFunctionExpression(void 0,ls?t.createToken(41):void 0,void 0,void 0,bt.loopParameters,void 0,wi),da))]),4194304)),tc=Nl(Xt,bt,Yt,ls);return{functionName:Xt,containsYield:ls,functionDeclaration:bo,part:tc}}function Rl(de,bt){const Yt=bt===0?de.outParamName:de.originalName,Xt=bt===0?de.originalName:de.outParamName;return t.createBinaryExpression(Xt,63,Yt)}function jc(de,bt,Yt,Xt){for(const Er of de)Er.flags&bt&&Xt.push(t.createExpressionStatement(Rl(Er,Yt)))}function Sl(de,bt){const Yt=t.createCallExpression(de,void 0,[]),Xt=bt?t.createYieldExpression(t.createToken(41),Pn(Yt,16777216)):Yt;return t.createExpressionStatement(Xt)}function Nl(de,bt,Yt,Xt){const Er=[],ln=!(bt.nonLocalJumps&-5)&&!bt.labeledNonLocalBreaks&&!bt.labeledNonLocalContinues,ri=t.createCallExpression(de,void 0,qt(bt.loopParameters,ls=>ls.name)),wi=Xt?t.createYieldExpression(t.createToken(41),Pn(ri,16777216)):ri;if(ln)Er.push(t.createExpressionStatement(wi)),jc(bt.loopOutParameters,1,0,Er);else{const ls=t.createUniqueName("state"),da=t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(ls,void 0,void 0,wi)]));if(Er.push(da),jc(bt.loopOutParameters,1,0,Er),bt.nonLocalJumps&8){let bo;Yt?(Yt.nonLocalJumps|=8,bo=t.createReturnStatement(ls)):bo=t.createReturnStatement(t.createPropertyAccessExpression(ls,"value")),Er.push(t.createIfStatement(t.createTypeCheck(ls,"object"),bo))}if(bt.nonLocalJumps&2&&Er.push(t.createIfStatement(t.createStrictEquality(ls,t.createStringLiteral("break")),t.createBreakStatement())),bt.labeledNonLocalBreaks||bt.labeledNonLocalContinues){const bo=[];Ka(bt.labeledNonLocalBreaks,!0,ls,Yt,bo),Ka(bt.labeledNonLocalContinues,!1,ls,Yt,bo),Er.push(t.createSwitchStatement(ls,t.createCaseBlock(bo)))}}return Er}function xl(de,bt,Yt,Xt){bt?(de.labeledNonLocalBreaks||(de.labeledNonLocalBreaks=new Map),de.labeledNonLocalBreaks.set(Yt,Xt)):(de.labeledNonLocalContinues||(de.labeledNonLocalContinues=new Map),de.labeledNonLocalContinues.set(Yt,Xt))}function Ka(de,bt,Yt,Xt,Er){de&&de.forEach((ln,ri)=>{const wi=[];if(!Xt||Xt.labels&&Xt.labels.get(ri)){const ls=t.createIdentifier(ri);wi.push(bt?t.createBreakStatement(ls):t.createContinueStatement(ls))}else xl(Xt,bt,ri,ln),wi.push(t.createReturnStatement(Yt));Er.push(t.createCaseClause(t.createStringLiteral(ln),wi))})}function ea(de,bt,Yt,Xt,Er){const ln=bt.name;if(xa(ln))for(const ri of ln.elements)yu(ri)||ea(de,ri,Yt,Xt,Er);else{Yt.push(t.createParameterDeclaration(void 0,void 0,ln));const ri=h.getNodeCheckFlags(bt);if(ri&262144||Er){const wi=t.createUniqueName("out_"+ai(ln));let ls=0;ri&262144&&(ls|=1),Rx(de)&&(de.initializer&&h.isBindingCapturedByNode(de.initializer,bt)&&(ls|=2),(de.condition&&h.isBindingCapturedByNode(de.condition,bt)||de.incrementor&&h.isBindingCapturedByNode(de.incrementor,bt))&&(ls|=1)),Xt.push({flags:ls,originalName:ln,outParamName:wi})}}}function Ao(de,bt,Yt,Xt){const Er=bt.properties,ln=Er.length;for(let ri=Xt;ri<ln;ri++){const wi=Er[ri];switch(wi.kind){case 174:case 175:const ls=Dx(bt.properties,wi);wi===ls.firstAccessor&&de.push(cs(Yt,ls,bt,!!bt.multiLine));break;case 171:de.push($_(wi,Yt,bt,bt.multiLine));break;case 299:de.push(kl(wi,Yt,bt.multiLine));break;case 300:de.push(zu(wi,Yt,bt.multiLine));break;default:R.failBadSyntaxKind(bt);break}}}function kl(de,bt,Yt){const Xt=t.createAssignment(Ux(t,bt,R.checkDefined(yt(de.name,ve,rl))),R.checkDefined(yt(de.initializer,ve,Dt)));return Et(Xt,de),Yt&&Lf(Xt),Xt}function zu(de,bt,Yt){const Xt=t.createAssignment(Ux(t,bt,R.checkDefined(yt(de.name,ve,rl))),t.cloneNode(de.name));return Et(Xt,de),Yt&&Lf(Xt),Xt}function $_(de,bt,Yt,Xt){const Er=t.createAssignment(Ux(t,bt,R.checkDefined(yt(de.name,ve,rl))),nn(de,de,void 0,Yt));return Et(Er,de),Xt&&Lf(Er),Er}function Vl(de){const bt=Z(7104,0);let Yt;if(R.assert(!!de.variableDeclaration,"Catch clause variable should always be present when downleveling ES2015."),xa(de.variableDeclaration.name)){const Xt=t.createTempVariable(void 0),Er=t.createVariableDeclaration(Xt);Et(Er,de.variableDeclaration);const ln=JT(de.variableDeclaration,ve,e,0,Xt),ri=t.createVariableDeclarationList(ln);Et(ri,de.variableDeclaration);const wi=t.createVariableStatement(void 0,ri);Yt=t.updateCatchClause(de,Er,Lu(de.block,wi))}else Yt=an(de,ve,e);return ue(bt,0,0),Yt}function Lu(de,bt){const Yt=hn(de.statements,ve,Ks);return t.updateBlock(de,[bt,...Yt])}function fc(de){R.assert(!ac(de.name));const bt=nn(de,$b(de,-1),void 0,void 0);return Pn(bt,1024|Wa(bt)),Et(t.createPropertyAssignment(de.name,bt),de)}function Kc(de){R.assert(!ac(de.name));const bt=M;M=void 0;const Yt=Z(32670,65);let Xt;const Er=Dl(de.parameters,ve,e),ln=Xn(de);return de.kind===174?Xt=t.updateGetAccessorDeclaration(de,de.modifiers,de.name,Er,de.type,ln):Xt=t.updateSetAccessorDeclaration(de,de.modifiers,de.name,Er,ln),ue(Yt,98304,0),M=bt,Xt}function Fc(de){return Et(t.createPropertyAssignment(de.name,Ge(t.cloneNode(de.name))),de)}function Pc(de){return an(de,ve,e)}function br(de){return an(de,ve,e)}function Cl(de){return Oe(de.elements,$g)?oe(de.elements,!1,!!de.multiLine,!!de.elements.hasTrailingComma):an(de,ve,e)}function df(de){if(Jd(de)&1)return Rf(de);const bt=uf(de.expression);return bt.kind===106||n_(bt)||Oe(de.arguments,$g)?Ut(de,!0):t.updateCallExpression(de,R.checkDefined(yt(de.expression,_e,Dt)),void 0,hn(de.arguments,ve,Dt))}function Rf(de){const bt=Oa(Oa(uf(de.expression),Ac).body,Fa),Yt=hp=>Xl(hp)&&!!Uo(hp.declarationList.declarations).initializer,Xt=M;M=void 0;const Er=hn(bt.statements,Ce,Ks);M=Xt;const ln=hr(Er,Yt),ri=hr(Er,hp=>!Yt(hp)),ls=Oa(Uo(ln),Xl).declarationList.declarations[0],da=uf(ls.initializer);let bo=Pi(da,Xf);!bo&&$n(da)&&da.operatorToken.kind===27&&(bo=Pi(da.left,Xf));const tc=Oa(bo?uf(bo.right):da,Da),Dc=Oa(uf(tc.expression),yc),o_=Dc.body.statements;let mp=0,Bl=-1;const W_=[];if(bo){const hp=Pi(o_[mp],Gu);hp&&(W_.push(hp),mp++),W_.push(o_[mp]),mp++,W_.push(t.createExpressionStatement(t.createAssignment(bo.left,Oa(ls.name,Ye))))}for(;!Sm(V0(o_,Bl));)Bl--;Oi(W_,o_,mp,Bl),Bl<-1&&Oi(W_,o_,Bl+1);const mf=Pi(V0(o_,Bl),Sm);for(const hp of ri)Sm(hp)&&(mf!=null&&mf.expression)&&!Ye(mf.expression)?W_.push(mf):W_.push(hp);return Oi(W_,ln,1),t.restoreOuterExpressions(de.expression,t.restoreOuterExpressions(ls.initializer,t.restoreOuterExpressions(bo&&bo.right,t.updateCallExpression(tc,t.restoreOuterExpressions(tc.expression,t.updateFunctionExpression(Dc,void 0,void 0,void 0,void 0,Dc.parameters,void 0,t.updateBlock(Dc.body,W_))),void 0,tc.arguments))))}function be(de){return Ut(de,!1)}function Ut(de,bt){if(de.transformFlags&32768||de.expression.kind===106||n_(uf(de.expression))){const{target:Yt,thisArg:Xt}=t.createCallBinding(de.expression,d);de.expression.kind===106&&Pn(Xt,8);let Er;if(de.transformFlags&32768?Er=t.createFunctionApplyCall(R.checkDefined(yt(Yt,_e,Dt)),de.expression.kind===106?Xt:R.checkDefined(yt(Xt,ve,Dt)),oe(de.arguments,!0,!1,!1)):Er=Et(t.createFunctionCallCall(R.checkDefined(yt(Yt,_e,Dt)),de.expression.kind===106?Xt:R.checkDefined(yt(Xt,ve,Dt)),hn(de.arguments,ve,Dt)),de),de.expression.kind===106){const ln=t.createLogicalOr(Er,xr());Er=bt?t.createAssignment(t.createUniqueName("_this",48),ln):ln}return di(Er,de)}return an(de,ve,e)}function tr(de){if(Oe(de.arguments,$g)){const{target:bt,thisArg:Yt}=t.createCallBinding(t.createPropertyAccessExpression(de.expression,"bind"),d);return t.createNewExpression(t.createFunctionApplyCall(R.checkDefined(yt(bt,ve,Dt)),Yt,oe(t.createNodeArray([t.createVoidZero(),...de.arguments]),!0,!1,!1)),void 0,[])}return an(de,ve,e)}function oe(de,bt,Yt,Xt){const Er=de.length,ln=Vn(Xs(de,ht,(da,bo,tc,Dc)=>bo(da,Yt,Xt&&Dc===Er)));if(ln.length===1){const da=ln[0];if(bt&&!g.downlevelIteration||_te(da.expression)||QP(da.expression,"___spreadArray"))return da.expression}const ri=n(),wi=ln[0].kind!==0;let ls=wi?t.createArrayLiteralExpression():ln[0].expression;for(let da=wi?0:1;da<ln.length;da++){const bo=ln[da];ls=ri.createSpreadArrayHelper(ls,bo.expression,bo.kind===1&&!bt)}return ls}function ht(de){return $g(de)?Ft:ti}function Ft(de){return qt(de,Or)}function Or(de){R.assertNode(de,$g);let bt=yt(de.expression,ve,Dt);R.assert(bt);const Yt=QP(bt,"___read");let Xt=Yt||_te(bt)?2:1;return g.downlevelIteration&&Xt===1&&!Nf(bt)&&!Yt&&(bt=n().createReadHelper(bt,void 0),Xt=2),Cwe(Xt,bt)}function ti(de,bt,Yt){const Xt=t.createArrayLiteralExpression(hn(t.createNodeArray(de,Yt),ve,Dt),bt);return Cwe(0,Xt)}function si(de){return yt(de.expression,ve,Dt)}function Ws(de){return Et(t.createStringLiteral(de.text),de)}function jo(de){return de.hasExtendedUnicodeEscape?Et(t.createStringLiteral(de.text),de):de}function Va(de){return de.numericLiteralFlags&384?Et(t.createNumericLiteral(de.text),de):de}function vo(de){return sie(e,de,ve,w,U,1)}function ka(de){let bt=t.createStringLiteral(de.head.text);for(const Yt of de.templateSpans){const Xt=[R.checkDefined(yt(Yt.expression,ve,Dt))];Yt.literal.text.length>0&&Xt.push(t.createStringLiteral(Yt.literal.text)),bt=t.createCallExpression(t.createPropertyAccessExpression(bt,"concat"),void 0,Xt)}return Et(bt,de)}function Hc(de){return O&8&&!de?t.createPropertyAccessExpression(t.createUniqueName("_super",48),"prototype"):t.createUniqueName("_super",48)}function Ql(de){return de.keywordToken===103&&de.name.escapedText==="target"?(O|=32768,t.createUniqueName("_newTarget",48)):de}function a_(de,bt,Yt){if(W&1&&Sa(bt)){const Xt=Z(32670,Wa(bt)&16?81:65);S(de,bt,Yt),ue(Xt,0,0);return}S(de,bt,Yt)}function Zo(){W&2||(W|=2,e.enableSubstitution(79))}function zo(){W&1||(W|=1,e.enableSubstitution(108),e.enableEmitNotification(173),e.enableEmitNotification(171),e.enableEmitNotification(174),e.enableEmitNotification(175),e.enableEmitNotification(216),e.enableEmitNotification(215),e.enableEmitNotification(259))}function Gc(de,bt){return bt=k(de,bt),de===1?Fp(bt):Ye(bt)?q_(bt):bt}function q_(de){if(W&2&&!wre(de)){const bt=qs(de,Ye);if(bt&&wl(bt))return Et(t.getGeneratedNameForNode(bt),de)}return de}function wl(de){switch(de.parent.kind){case 205:case 260:case 263:case 257:return de.parent.name===de&&h.isDeclarationWithCollidingName(de.parent)}return!1}function Fp(de){switch(de.kind){case 79:return De(de);case 108:return tn(de)}return de}function De(de){if(W&2&&!wre(de)){const bt=h.getReferencedDeclarationWithCollidingName(de);if(bt&&!(Ri(bt)&&Vt(bt,de)))return Et(t.getGeneratedNameForNode(ra(bt)),de)}return de}function Vt(de,bt){let Yt=qs(bt);if(!Yt||Yt===de||Yt.end<=de.pos||Yt.pos>=de.end)return!1;const Xt=Hh(de);for(;Yt;){if(Yt===Xt||Yt===de)return!1;if(Eu(Yt)&&Yt.parent===de)return!0;Yt=Yt.parent}return!1}function tn(de){return W&1&&O&16?Et(t.createUniqueName("_this",48),de):de}function ks(de,bt){return ba(bt)?t.getInternalName(de):t.createPropertyAccessExpression(t.getInternalName(de),"prototype")}function eo(de,bt){if(!de||!bt||Oe(de.parameters))return!1;const Yt=Ru(de.body.statements);if(!Yt||!Mc(Yt)||Yt.kind!==241)return!1;const Xt=Yt.expression;if(!Mc(Xt)||Xt.kind!==210)return!1;const Er=Xt.expression;if(!Mc(Er)||Er.kind!==106)return!1;const ln=Fh(Xt.arguments);if(!ln||!Mc(ln)||ln.kind!==227)return!1;const ri=ln.expression;return Ye(ri)&&ri.escapedText==="arguments"}}var fet=p({"src/compiler/transformers/es2015.ts"(){aa()}});function Ewe(e){const{factory:t}=e,n=e.getCompilerOptions();let s,l;(n.jsx===1||n.jsx===3)&&(s=e.onEmitNode,e.onEmitNode=g,e.enableEmitNotification(283),e.enableEmitNotification(284),e.enableEmitNotification(282),l=[]);const f=e.onSubstituteNode;return e.onSubstituteNode=h,e.enableSubstitution(208),e.enableSubstitution(299),Yd(e,d);function d(N){return N}function g(N,O,L){switch(O.kind){case 283:case 284:case 282:const U=O.tagName;l[_l(U)]=!0;break}s(N,O,L)}function h(N,O){return O.id&&l&&l[O.id]?f(N,O):(O=f(N,O),oi(O)?k(O):Iu(O)?S(O):O)}function k(N){if(as(N.name))return N;const O=w(N.name);return O?Et(t.createElementAccessExpression(N.expression,O),N):N}function S(N){const O=Ye(N.name)&&w(N.name);return O?t.updatePropertyAssignment(N,O,N.initializer):N}function w(N){const O=Lb(N);if(O!==void 0&&O>=81&&O<=116)return Et(t.createStringLiteralFromNode(N),N)}}var _et=p({"src/compiler/transformers/es5.ts"(){aa()}});function pet(e){switch(e){case 2:return"return";case 3:return"break";case 4:return"yield";case 5:return"yield*";case 7:return"endfinally";default:return}}function Awe(e){const{factory:t,getEmitHelperFactory:n,resumeLexicalEnvironment:s,endLexicalEnvironment:l,hoistFunctionDeclaration:f,hoistVariableDeclaration:d}=e,g=e.getCompilerOptions(),h=Io(g),k=e.getEmitResolver(),S=e.onSubstituteNode;e.onSubstituteNode=ne;let w,N,O,L,U,M,W,X,Z,ue,ie=1,se,V,ve,fe,Ce=0,_e=0,K,ge,Se,we,Pe,le,ot,Qe;return Yd(e,Ge);function Ge(De){if(De.isDeclarationFile||!(De.transformFlags&2048))return De;const Vt=an(De,tt,e);return t1(Vt,e.readEmitHelpers()),Vt}function tt(De){const Vt=De.transformFlags;return L?Je(De):O?qe(De):Lc(De)&&De.asteriskToken?Ke(De):Vt&2048?an(De,tt,e):De}function Je(De){switch(De.kind){case 243:return Xn(De);case 244:return Fe(De);case 252:return wr(De);case 253:return qn(De);default:return qe(De)}}function qe(De){switch(De.kind){case 259:return We(De);case 215:return gt(De);case 174:case 175:return jt(De);case 240:return er(De);case 245:return Ht(De);case 246:return kt(De);case 249:return Y(De);case 248:return pe(De);case 250:return ct(De);default:return De.transformFlags&1048576?st(De):De.transformFlags&4196352?an(De,tt,e):De}}function st(De){switch(De.kind){case 223:return ft(De);case 357:return rn(De);case 224:return Gr(De);case 226:return mr(De);case 206:return Fn(De);case 207:return ws(De);case 209:return Es(De);case 210:return ii(De);case 211:return Rt(De);default:return an(De,tt,e)}}function Ke(De){switch(De.kind){case 259:return We(De);case 215:return gt(De);default:return R.failBadSyntaxKind(De)}}function We(De){if(De.asteriskToken)De=di(Et(t.createFunctionDeclaration(De.modifiers,void 0,De.name,void 0,Dl(De.parameters,tt,e),void 0,It(De.body)),De),De);else{const Vt=O,tn=L;O=!1,L=!1,De=an(De,tt,e),O=Vt,L=tn}if(O){f(De);return}else return De}function gt(De){if(De.asteriskToken)De=di(Et(t.createFunctionExpression(void 0,void 0,De.name,void 0,Dl(De.parameters,tt,e),void 0,It(De.body)),De),De);else{const Vt=O,tn=L;O=!1,L=!1,De=an(De,tt,e),O=Vt,L=tn}return De}function jt(De){const Vt=O,tn=L;return O=!1,L=!1,De=an(De,tt,e),O=Vt,L=tn,De}function It(De){const Vt=[],tn=O,ks=L,eo=U,de=M,bt=W,Yt=X,Xt=Z,Er=ue,ln=ie,ri=se,wi=V,ls=ve,da=fe;O=!0,L=!1,U=void 0,M=void 0,W=void 0,X=void 0,Z=void 0,ue=void 0,ie=1,se=void 0,V=void 0,ve=void 0,fe=t.createTempVariable(void 0),s();const bo=t.copyPrologue(De.statements,Vt,!1,tt);Rr(De.statements,bo);const tc=oe();return Wh(Vt,l()),Vt.push(t.createReturnStatement(tc)),O=tn,L=ks,U=eo,M=de,W=bt,X=Yt,Z=Xt,ue=Er,ie=ln,se=ri,V=wi,ve=ls,fe=da,Et(t.createBlock(Vt,De.multiLine),De)}function er(De){if(De.transformFlags&1048576){qi(De.declarationList);return}else{if(Wa(De)&2097152)return De;for(const tn of De.declarationList.declarations)d(tn.name);const Vt=DP(De.declarationList);return Vt.length===0?void 0:$o(t.createExpressionStatement(t.inlineExpressions(qt(Vt,en))),De)}}function ft(De){const Vt=hee(De);switch(Vt){case 0:return xr(De);case 1:return mt(De);default:return R.assertNever(Vt)}}function mt(De){const{left:Vt,right:tn}=De;if(nr(tn)){let ks;switch(Vt.kind){case 208:ks=t.updatePropertyAccessExpression(Vt,Be(R.checkDefined(yt(Vt.expression,tt,g_))),Vt.name);break;case 209:ks=t.updateElementAccessExpression(Vt,Be(R.checkDefined(yt(Vt.expression,tt,g_))),Be(R.checkDefined(yt(Vt.argumentExpression,tt,Dt))));break;default:ks=R.checkDefined(yt(Vt,tt,Dt));break}const eo=De.operatorToken.kind;return XO(eo)?Et(t.createAssignment(ks,Et(t.createBinaryExpression(Be(ks),wD(eo),R.checkDefined(yt(tn,tt,Dt))),De)),De):t.updateBinaryExpression(De,ks,De.operatorToken,R.checkDefined(yt(tn,tt,Dt)))}return an(De,tt,e)}function xr(De){return nr(De.right)?oTe(De.operatorToken.kind)?un(De):De.operatorToken.kind===27?dr(De):t.updateBinaryExpression(De,Be(R.checkDefined(yt(De.left,tt,Dt))),De.operatorToken,R.checkDefined(yt(De.right,tt,Dt))):an(De,tt,e)}function dr(De){let Vt=[];return tn(De.left),tn(De.right),t.inlineExpressions(Vt);function tn(ks){$n(ks)&&ks.operatorToken.kind===27?(tn(ks.left),tn(ks.right)):(nr(ks)&&Vt.length>0&&(tr(1,[t.createExpressionStatement(t.inlineExpressions(Vt))]),Vt=[]),Vt.push(R.checkDefined(yt(ks,tt,Dt))))}}function rn(De){let Vt=[];for(const tn of De.elements)$n(tn)&&tn.operatorToken.kind===27?Vt.push(dr(tn)):(nr(tn)&&Vt.length>0&&(tr(1,[t.createExpressionStatement(t.inlineExpressions(Vt))]),Vt=[]),Vt.push(R.checkDefined(yt(tn,tt,Dt))));return t.inlineExpressions(Vt)}function un(De){const Vt=$t(),tn=te();return Kc(tn,R.checkDefined(yt(De.left,tt,Dt)),De.left),De.operatorToken.kind===55?br(Vt,tn,De.left):Pc(Vt,tn,De.left),Kc(tn,R.checkDefined(yt(De.right,tt,Dt)),De.right),At(Vt),tn}function Gr(De){if(nr(De.whenTrue)||nr(De.whenFalse)){const Vt=$t(),tn=$t(),ks=te();return br(Vt,R.checkDefined(yt(De.condition,tt,Dt)),De.condition),Kc(ks,R.checkDefined(yt(De.whenTrue,tt,Dt)),De.whenTrue),Fc(tn),At(Vt),Kc(ks,R.checkDefined(yt(De.whenFalse,tt,Dt)),De.whenFalse),At(tn),ks}return an(De,tt,e)}function mr(De){const Vt=$t(),tn=yt(De.expression,tt,Dt);if(De.asteriskToken){const ks=Wa(De.expression)&16777216?tn:Et(n().createValuesHelper(tn),De);Cl(ks,De)}else df(tn,De);return At(Vt),Vl(De)}function Fn(De){return ts(De.elements,void 0,void 0,De.multiLine)}function ts(De,Vt,tn,ks){const eo=dt(De);let de;if(eo>0){de=te();const Xt=hn(De,tt,Dt,0,eo);Kc(de,t.createArrayLiteralExpression(Vt?[Vt,...Xt]:Xt)),Vt=void 0}const bt=Cf(De,Yt,[],eo);return de?t.createArrayConcatCall(de,[t.createArrayLiteralExpression(bt,ks)]):Et(t.createArrayLiteralExpression(Vt?[Vt,...bt]:bt,ks),tn);function Yt(Xt,Er){if(nr(Er)&&Xt.length>0){const ln=de!==void 0;de||(de=te()),Kc(de,ln?t.createArrayConcatCall(de,[t.createArrayLiteralExpression(Xt,ks)]):t.createArrayLiteralExpression(Vt?[Vt,...Xt]:Xt,ks)),Vt=void 0,Xt=[]}return Xt.push(R.checkDefined(yt(Er,tt,Dt))),Xt}}function ws(De){const Vt=De.properties,tn=De.multiLine,ks=dt(Vt),eo=te();Kc(eo,t.createObjectLiteralExpression(hn(Vt,tt,X0,0,ks),tn));const de=Cf(Vt,bt,[],ks);return de.push(tn?Lf(go(Et(t.cloneNode(eo),eo),eo.parent)):eo),t.inlineExpressions(de);function bt(Yt,Xt){nr(Xt)&&Yt.length>0&&(fc(t.createExpressionStatement(t.inlineExpressions(Yt))),Yt=[]);const Er=fxe(t,De,Xt,eo),ln=yt(Er,tt,Dt);return ln&&(tn&&Lf(ln),Yt.push(ln)),Yt}}function Es(De){return nr(De.argumentExpression)?t.updateElementAccessExpression(De,Be(R.checkDefined(yt(De.expression,tt,g_))),R.checkDefined(yt(De.argumentExpression,tt,Dt))):an(De,tt,e)}function ii(De){if(!up(De)&&Q(De.arguments,nr)){const{target:Vt,thisArg:tn}=t.createCallBinding(De.expression,d,h,!0);return di(Et(t.createFunctionApplyCall(Be(R.checkDefined(yt(Vt,tt,g_))),tn,ts(De.arguments)),De),De)}return an(De,tt,e)}function Rt(De){if(Q(De.arguments,nr)){const{target:Vt,thisArg:tn}=t.createCallBinding(t.createPropertyAccessExpression(De.expression,"bind"),d);return di(Et(t.createNewExpression(t.createFunctionApplyCall(Be(R.checkDefined(yt(Vt,tt,Dt))),tn,ts(De.arguments,t.createVoidZero())),void 0,[]),De),De)}return an(De,tt,e)}function Rr(De,Vt=0){const tn=De.length;for(let ks=Vt;ks<tn;ks++)Pr(De[ks])}function rr(De){Fa(De)?Rr(De.statements):Pr(De)}function Pr(De){const Vt=L;L||(L=nr(De)),Cn(De),L=Vt}function Cn(De){switch(De.kind){case 238:return Nn(De);case 241:return cs(De);case 242:return Tr(De);case 243:return nn(De);case 244:return _i(De);case 245:return Pt(De);case 246:return Ne(De);case 248:return Te(De);case 249:return xe(De);case 250:return Ze(De);case 251:return it(De);case 252:return Kt(De);case 253:return qr(De);case 254:return ye(De);case 255:return wt(De);default:return fc(yt(De,tt,Ks))}}function Nn(De){nr(De)?Rr(De.statements):fc(yt(De,tt,Ks))}function cs(De){fc(yt(De,tt,Ks))}function qi(De){for(const de of De.declarations){const bt=t.cloneNode(de.name);Du(bt,de.name),d(bt)}const Vt=DP(De),tn=Vt.length;let ks=0,eo=[];for(;ks<tn;){for(let de=ks;de<tn;de++){const bt=Vt[de];if(nr(bt.initializer)&&eo.length>0)break;eo.push(en(bt))}eo.length&&(fc(t.createExpressionStatement(t.inlineExpressions(eo))),ks+=eo.length,eo=[])}}function en(De){return $o(t.createAssignment($o(t.cloneNode(De.name),De.name),R.checkDefined(yt(De.initializer,tt,Dt))),De)}function Tr(De){if(nr(De))if(nr(De.thenStatement)||nr(De.elseStatement)){const Vt=$t(),tn=De.elseStatement?$t():void 0;br(De.elseStatement?tn:Vt,R.checkDefined(yt(De.expression,tt,Dt)),De.expression),rr(De.thenStatement),De.elseStatement&&(Fc(Vt),At(tn),rr(De.elseStatement)),At(Vt)}else fc(yt(De,tt,Ks));else fc(yt(De,tt,Ks))}function nn(De){if(nr(De)){const Vt=$t(),tn=$t();gs(Vt),At(tn),rr(De.statement),At(Vt),Pc(tn,R.checkDefined(yt(De.expression,tt,Dt))),vi()}else fc(yt(De,tt,Ks))}function Xn(De){return L?(Fs(),De=an(De,tt,e),vi(),De):an(De,tt,e)}function _i(De){if(nr(De)){const Vt=$t(),tn=gs(Vt);At(Vt),br(tn,R.checkDefined(yt(De.expression,tt,Dt))),rr(De.statement),Fc(Vt),vi()}else fc(yt(De,tt,Ks))}function Fe(De){return L?(Fs(),De=an(De,tt,e),vi(),De):an(De,tt,e)}function Pt(De){if(nr(De)){const Vt=$t(),tn=$t(),ks=gs(tn);if(De.initializer){const eo=De.initializer;Of(eo)?qi(eo):fc(Et(t.createExpressionStatement(R.checkDefined(yt(eo,tt,Dt))),eo))}At(Vt),De.condition&&br(ks,R.checkDefined(yt(De.condition,tt,Dt))),rr(De.statement),At(tn),De.incrementor&&fc(Et(t.createExpressionStatement(R.checkDefined(yt(De.incrementor,tt,Dt))),De.incrementor)),Fc(Vt),vi()}else fc(yt(De,tt,Ks))}function Ht(De){L&&Fs();const Vt=De.initializer;if(Vt&&Of(Vt)){for(const ks of Vt.declarations)d(ks.name);const tn=DP(Vt);De=t.updateForStatement(De,tn.length>0?t.inlineExpressions(qt(tn,en)):void 0,yt(De.condition,tt,Dt),yt(De.incrementor,tt,Dt),Sd(De.statement,tt,e))}else De=an(De,tt,e);return L&&vi(),De}function Ne(De){if(nr(De)){const Vt=te(),tn=te(),ks=te(),eo=t.createLoopVariable(),de=De.initializer;d(eo),Kc(Vt,R.checkDefined(yt(De.expression,tt,Dt))),Kc(tn,t.createArrayLiteralExpression()),fc(t.createForInStatement(ks,Vt,t.createExpressionStatement(t.createCallExpression(t.createPropertyAccessExpression(tn,"push"),void 0,[ks])))),Kc(eo,t.createNumericLiteral(0));const bt=$t(),Yt=$t(),Xt=gs(Yt);At(bt),br(Xt,t.createLessThan(eo,t.createPropertyAccessExpression(tn,"length"))),Kc(ks,t.createElementAccessExpression(tn,eo)),br(Yt,t.createBinaryExpression(ks,101,Vt));let Er;if(Of(de)){for(const ln of de.declarations)d(ln.name);Er=t.cloneNode(de.declarations[0].name)}else Er=R.checkDefined(yt(de,tt,Dt)),R.assert(g_(Er));Kc(Er,ks),rr(De.statement),At(Yt),fc(t.createExpressionStatement(t.createPostfixIncrement(eo))),Fc(bt),vi()}else fc(yt(De,tt,Ks))}function kt(De){L&&Fs();const Vt=De.initializer;if(Of(Vt)){for(const tn of Vt.declarations)d(tn.name);De=t.updateForInStatement(De,Vt.declarations[0].name,R.checkDefined(yt(De.expression,tt,Dt)),R.checkDefined(yt(De.statement,tt,Ks,t.liftToBlock)))}else De=an(De,tt,e);return L&&vi(),De}function Te(De){const Vt=ea(De.label?ai(De.label):void 0);Vt>0?Fc(Vt,De):fc(De)}function pe(De){if(L){const Vt=ea(De.label&&ai(De.label));if(Vt>0)return zu(Vt,De)}return an(De,tt,e)}function xe(De){const Vt=Ka(De.label?ai(De.label):void 0);Vt>0?Fc(Vt,De):fc(De)}function Y(De){if(L){const Vt=Ka(De.label&&ai(De.label));if(Vt>0)return zu(Vt,De)}return an(De,tt,e)}function Ze(De){Rf(yt(De.expression,tt,Dt),De)}function ct(De){return $_(yt(De.expression,tt,Dt),De)}function it(De){nr(De)?(Yi(Be(R.checkDefined(yt(De.expression,tt,Dt)))),rr(De.statement),Zi()):fc(yt(De,tt,Ks))}function Kt(De){if(nr(De.caseBlock)){const Vt=De.caseBlock,tn=Vt.clauses.length,ks=Ji(),eo=Be(R.checkDefined(yt(De.expression,tt,Dt))),de=[];let bt=-1;for(let Er=0;Er<tn;Er++){const ln=Vt.clauses[Er];de.push($t()),ln.kind===293&&bt===-1&&(bt=Er)}let Yt=0,Xt=[];for(;Yt<tn;){let Er=0;for(let ln=Yt;ln<tn;ln++){const ri=Vt.clauses[ln];if(ri.kind===292){if(nr(ri.expression)&&Xt.length>0)break;Xt.push(t.createCaseClause(R.checkDefined(yt(ri.expression,tt,Dt)),[zu(de[ln],ri.expression)]))}else Er++}Xt.length&&(fc(t.createSwitchStatement(eo,t.createCaseBlock(Xt))),Yt+=Xt.length,Xt=[]),Er>0&&(Yt+=Er,Er=0)}bt>=0?Fc(de[bt]):Fc(ks);for(let Er=0;Er<tn;Er++)At(de[Er]),Rr(Vt.clauses[Er].statements);Rs()}else fc(yt(De,tt,Ks))}function wr(De){return L&&Bo(),De=an(De,tt,e),L&&Rs(),De}function qr(De){nr(De)?(js(ai(De.label)),rr(De.statement),Rl()):fc(yt(De,tt,Ks))}function qn(De){return L&&Qr(ai(De.label)),De=an(De,tt,e),L&&Rl(),De}function ye(De){var Vt;be(R.checkDefined(yt((Vt=De.expression)!=null?Vt:t.createVoidZero(),tt,Dt)),De)}function wt(De){nr(De)?(hs(),rr(De.tryBlock),De.catchClause&&(za(De.catchClause.variableDeclaration),rr(De.catchClause.block)),De.finallyBlock&&(Xa(),rr(De.finallyBlock)),Ia()):fc(an(De,tt,e))}function nr(De){return!!De&&(De.transformFlags&1048576)!==0}function dt(De){const Vt=De.length;for(let tn=0;tn<Vt;tn++)if(nr(De[tn]))return tn;return-1}function ne(De,Vt){return Vt=S(De,Vt),De===1?$e(Vt):Vt}function $e(De){return Ye(De)?ce(De):De}function ce(De){if(!al(De)&&w&&w.has(ai(De))){const Vt=sl(De);if(Ye(Vt)&&Vt.parent){const tn=k.getReferencedValueDeclaration(Vt);if(tn){const ks=N[_l(tn)];if(ks){const eo=go(Et(t.cloneNode(ks),ks),ks.parent);return $o(eo,De),Du(eo,De),eo}}}}return De}function Be(De){if(al(De)||Wa(De)&8192)return De;const Vt=t.createTempVariable(d);return Kc(Vt,De,De),Vt}function te(De){const Vt=De?t.createUniqueName(De):t.createTempVariable(void 0);return d(Vt),Vt}function $t(){Z||(Z=[]);const De=ie;return ie++,Z[De]=-1,De}function At(De){R.assert(Z!==void 0,"No labels were defined."),Z[De]=se?se.length:0}function St(De){U||(U=[],W=[],M=[],X=[]);const Vt=W.length;return W[Vt]=0,M[Vt]=se?se.length:0,U[Vt]=De,X.push(De),Vt}function Dr(){const De=yn();if(De===void 0)return R.fail("beginBlock was never called.");const Vt=W.length;return W[Vt]=1,M[Vt]=se?se.length:0,U[Vt]=De,X.pop(),De}function yn(){return Rc(X)}function Di(){const De=yn();return De&&De.kind}function Yi(De){const Vt=$t(),tn=$t();At(Vt),St({kind:1,expression:De,startLabel:Vt,endLabel:tn})}function Zi(){R.assert(Di()===1);const De=Dr();At(De.endLabel)}function hs(){const De=$t(),Vt=$t();return At(De),St({kind:0,state:0,startLabel:De,endLabel:Vt}),Lu(),Vt}function za(De){R.assert(Di()===0);let Vt;if(al(De.name))Vt=De.name,d(De.name);else{const de=ai(De.name);Vt=te(de),w||(w=new Map,N=[],e.enableSubstitution(79)),w.set(de,!0),N[_l(De)]=Vt}const tn=yn();R.assert(tn.state<1);const ks=tn.endLabel;Fc(ks);const eo=$t();At(eo),tn.state=1,tn.catchVariable=Vt,tn.catchLabel=eo,Kc(Vt,t.createCallExpression(t.createPropertyAccessExpression(fe,"sent"),void 0,[])),Lu()}function Xa(){R.assert(Di()===0);const De=yn();R.assert(De.state<2);const Vt=De.endLabel;Fc(Vt);const tn=$t();At(tn),De.state=2,De.finallyLabel=tn}function Ia(){R.assert(Di()===0);const De=Dr();De.state<2?Fc(De.endLabel):Ut(),At(De.endLabel),Lu(),De.state=3}function Fs(){St({kind:3,isScript:!0,breakLabel:-1,continueLabel:-1})}function gs(De){const Vt=$t();return St({kind:3,isScript:!1,breakLabel:Vt,continueLabel:De}),Vt}function vi(){R.assert(Di()===3);const De=Dr(),Vt=De.breakLabel;De.isScript||At(Vt)}function Bo(){St({kind:2,isScript:!0,breakLabel:-1})}function Ji(){const De=$t();return St({kind:2,isScript:!1,breakLabel:De}),De}function Rs(){R.assert(Di()===2);const De=Dr(),Vt=De.breakLabel;De.isScript||At(Vt)}function Qr(De){St({kind:4,isScript:!0,labelText:De,breakLabel:-1})}function js(De){const Vt=$t();St({kind:4,isScript:!1,labelText:De,breakLabel:Vt})}function Rl(){R.assert(Di()===4);const De=Dr();De.isScript||At(De.breakLabel)}function jc(De){return De.kind===2||De.kind===3}function Sl(De){return De.kind===4}function Nl(De){return De.kind===3}function xl(De,Vt){for(let tn=Vt;tn>=0;tn--){const ks=X[tn];if(Sl(ks)){if(ks.labelText===De)return!0}else break}return!1}function Ka(De){if(X)if(De)for(let Vt=X.length-1;Vt>=0;Vt--){const tn=X[Vt];if(Sl(tn)&&tn.labelText===De)return tn.breakLabel;if(jc(tn)&&xl(De,Vt-1))return tn.breakLabel}else for(let Vt=X.length-1;Vt>=0;Vt--){const tn=X[Vt];if(jc(tn))return tn.breakLabel}return 0}function ea(De){if(X)if(De)for(let Vt=X.length-1;Vt>=0;Vt--){const tn=X[Vt];if(Nl(tn)&&xl(De,Vt-1))return tn.continueLabel}else for(let Vt=X.length-1;Vt>=0;Vt--){const tn=X[Vt];if(Nl(tn))return tn.continueLabel}return 0}function Ao(De){if(De!==void 0&&De>0){ue===void 0&&(ue=[]);const Vt=t.createNumericLiteral(-1);return ue[De]===void 0?ue[De]=[Vt]:ue[De].push(Vt),Vt}return t.createOmittedExpression()}function kl(De){const Vt=t.createNumericLiteral(De);return cJ(Vt,3,pet(De)),Vt}function zu(De,Vt){return R.assertLessThan(0,De,"Invalid label"),Et(t.createReturnStatement(t.createArrayLiteralExpression([kl(3),Ao(De)])),Vt)}function $_(De,Vt){return Et(t.createReturnStatement(t.createArrayLiteralExpression(De?[kl(2),De]:[kl(2)])),Vt)}function Vl(De){return Et(t.createCallExpression(t.createPropertyAccessExpression(fe,"sent"),void 0,[]),De)}function Lu(){tr(0)}function fc(De){De?tr(1,[De]):Lu()}function Kc(De,Vt,tn){tr(2,[De,Vt],tn)}function Fc(De,Vt){tr(3,[De],Vt)}function Pc(De,Vt,tn){tr(4,[De,Vt],tn)}function br(De,Vt,tn){tr(5,[De,Vt],tn)}function Cl(De,Vt){tr(7,[De],Vt)}function df(De,Vt){tr(6,[De],Vt)}function Rf(De,Vt){tr(8,[De],Vt)}function be(De,Vt){tr(9,[De],Vt)}function Ut(){tr(10)}function tr(De,Vt,tn){se===void 0&&(se=[],V=[],ve=[]),Z===void 0&&At($t());const ks=se.length;se[ks]=De,V[ks]=Vt,ve[ks]=tn}function oe(){Ce=0,_e=0,K=void 0,ge=!1,Se=!1,we=void 0,Pe=void 0,le=void 0,ot=void 0,Qe=void 0;const De=ht();return n().createGeneratorHelper(Pn(t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,fe)],void 0,t.createBlock(De,De.length>0)),1048576))}function ht(){if(se){for(let De=0;De<se.length;De++)vo(De);Or(se.length)}else Or(0);if(we){const De=t.createPropertyAccessExpression(fe,"label"),Vt=t.createSwitchStatement(De,t.createCaseBlock(we));return[Lf(Vt)]}return Pe||[]}function Ft(){Pe&&(si(!ge),ge=!1,Se=!1,_e++)}function Or(De){ti(De)&&(Ws(De),Qe=void 0,a_(void 0,void 0)),Pe&&we&&si(!1),jo()}function ti(De){if(!Se)return!0;if(!Z||!ue)return!1;for(let Vt=0;Vt<Z.length;Vt++)if(Z[Vt]===De&&ue[Vt])return!0;return!1}function si(De){if(we||(we=[]),Pe){if(Qe)for(let Vt=Qe.length-1;Vt>=0;Vt--){const tn=Qe[Vt];Pe=[t.createWithStatement(tn.expression,t.createBlock(Pe))]}if(ot){const{startLabel:Vt,catchLabel:tn,finallyLabel:ks,endLabel:eo}=ot;Pe.unshift(t.createExpressionStatement(t.createCallExpression(t.createPropertyAccessExpression(t.createPropertyAccessExpression(fe,"trys"),"push"),void 0,[t.createArrayLiteralExpression([Ao(Vt),Ao(tn),Ao(ks),Ao(eo)])]))),ot=void 0}De&&Pe.push(t.createExpressionStatement(t.createAssignment(t.createPropertyAccessExpression(fe,"label"),t.createNumericLiteral(_e+1))))}we.push(t.createCaseClause(t.createNumericLiteral(_e),Pe||[])),Pe=void 0}function Ws(De){if(Z)for(let Vt=0;Vt<Z.length;Vt++)Z[Vt]===De&&(Ft(),K===void 0&&(K=[]),K[_e]===void 0?K[_e]=[Vt]:K[_e].push(Vt))}function jo(){if(ue!==void 0&&K!==void 0)for(let De=0;De<K.length;De++){const Vt=K[De];if(Vt!==void 0)for(const tn of Vt){const ks=ue[tn];if(ks!==void 0)for(const eo of ks)eo.text=String(De)}}}function Va(De){if(U)for(;Ce<W.length&&M[Ce]<=De;Ce++){const Vt=U[Ce],tn=W[Ce];switch(Vt.kind){case 0:tn===0?(le||(le=[]),Pe||(Pe=[]),le.push(ot),ot=Vt):tn===1&&(ot=le.pop());break;case 1:tn===0?(Qe||(Qe=[]),Qe.push(Vt)):tn===1&&Qe.pop();break}}}function vo(De){if(Ws(De),Va(De),ge)return;ge=!1,Se=!1;const Vt=se[De];if(Vt===0)return;if(Vt===10)return Fp();const tn=V[De];if(Vt===1)return ka(tn[0]);const ks=ve[De];switch(Vt){case 2:return Hc(tn[0],tn[1],ks);case 3:return Zo(tn[0],ks);case 4:return zo(tn[0],tn[1],ks);case 5:return Gc(tn[0],tn[1],ks);case 6:return q_(tn[0],ks);case 7:return wl(tn[0],ks);case 8:return a_(tn[0],ks);case 9:return Ql(tn[0],ks)}}function ka(De){De&&(Pe?Pe.push(De):Pe=[De])}function Hc(De,Vt,tn){ka(Et(t.createExpressionStatement(t.createAssignment(De,Vt)),tn))}function Ql(De,Vt){ge=!0,Se=!0,ka(Et(t.createThrowStatement(De),Vt))}function a_(De,Vt){ge=!0,Se=!0,ka(Pn(Et(t.createReturnStatement(t.createArrayLiteralExpression(De?[kl(2),De]:[kl(2)])),Vt),768))}function Zo(De,Vt){ge=!0,ka(Pn(Et(t.createReturnStatement(t.createArrayLiteralExpression([kl(3),Ao(De)])),Vt),768))}function zo(De,Vt,tn){ka(Pn(t.createIfStatement(Vt,Pn(Et(t.createReturnStatement(t.createArrayLiteralExpression([kl(3),Ao(De)])),tn),768)),1))}function Gc(De,Vt,tn){ka(Pn(t.createIfStatement(t.createLogicalNot(Vt),Pn(Et(t.createReturnStatement(t.createArrayLiteralExpression([kl(3),Ao(De)])),tn),768)),1))}function q_(De,Vt){ge=!0,ka(Pn(Et(t.createReturnStatement(t.createArrayLiteralExpression(De?[kl(4),De]:[kl(4)])),Vt),768))}function wl(De,Vt){ge=!0,ka(Pn(Et(t.createReturnStatement(t.createArrayLiteralExpression([kl(5),De])),Vt),768))}function Fp(){ge=!0,ka(t.createReturnStatement(t.createArrayLiteralExpression([kl(7)])))}}var det=p({"src/compiler/transformers/generators.ts"(){aa()}});function lie(e){function t(pe){switch(pe){case 2:return V;case 3:return ve;default:return se}}const{factory:n,getEmitHelperFactory:s,startLexicalEnvironment:l,endLexicalEnvironment:f,hoistVariableDeclaration:d}=e,g=e.getCompilerOptions(),h=e.getEmitResolver(),k=e.getEmitHost(),S=Io(g),w=Hu(g),N=e.onSubstituteNode,O=e.onEmitNode;e.onSubstituteNode=Xn,e.onEmitNode=nn,e.enableSubstitution(210),e.enableSubstitution(212),e.enableSubstitution(79),e.enableSubstitution(223),e.enableSubstitution(300),e.enableEmitNotification(308);const L=[],U=[];let M,W;const X=[];let Z;return Yd(e,ue);function ue(pe){if(pe.isDeclarationFile||!(OC(pe,g)||pe.transformFlags&8388608||hd(pe)&&Bj(g)&&Ec(g)))return pe;M=pe,W=Qne(e,pe,h,g),L[_l(pe)]=W;const Y=t(w)(pe);return M=void 0,W=void 0,Z=!1,Y}function ie(){return!!(!W.exportEquals&&Fl(M))}function se(pe){l();const xe=[],Y=bd(g,"alwaysStrict")||!g.noImplicitUseStrict&&Fl(M),Ze=n.copyPrologue(pe.statements,xe,Y&&!hd(pe),ge);if(ie()&&$r(xe,cs()),H(W.exportedNames))for(let Kt=0;Kt<W.exportedNames.length;Kt+=50)$r(xe,n.createExpressionStatement(Cf(W.exportedNames.slice(Kt,Kt+50),(wr,qr)=>n.createAssignment(n.createPropertyAccessExpression(n.createIdentifier("exports"),n.createIdentifier(ai(qr))),wr),n.createVoidZero())));$r(xe,yt(W.externalHelpersImportDeclaration,ge,Ks)),Oi(xe,hn(pe.statements,ge,Ks,Ze)),K(xe,!1),Wh(xe,f());const ct=n.updateSourceFile(pe,Et(n.createNodeArray(xe),pe.statements));return t1(ct,e.readEmitHelpers()),ct}function V(pe){const xe=n.createIdentifier("define"),Y=pO(n,pe,k,g),Ze=hd(pe)&&pe,{aliasedModuleNames:ct,unaliasedModuleNames:it,importAliasNames:Kt}=fe(pe,!0),wr=n.updateSourceFile(pe,Et(n.createNodeArray([n.createExpressionStatement(n.createCallExpression(xe,void 0,[...Y?[Y]:[],n.createArrayLiteralExpression(Ze?pt:[n.createStringLiteral("require"),n.createStringLiteral("exports"),...ct,...it]),Ze?Ze.statements.length?Ze.statements[0].expression:n.createObjectLiteralExpression():n.createFunctionExpression(void 0,void 0,void 0,void 0,[n.createParameterDeclaration(void 0,void 0,"require"),n.createParameterDeclaration(void 0,void 0,"exports"),...Kt],void 0,_e(pe))]))]),pe.statements));return t1(wr,e.readEmitHelpers()),wr}function ve(pe){const{aliasedModuleNames:xe,unaliasedModuleNames:Y,importAliasNames:Ze}=fe(pe,!1),ct=pO(n,pe,k,g),it=n.createFunctionExpression(void 0,void 0,void 0,void 0,[n.createParameterDeclaration(void 0,void 0,"factory")],void 0,Et(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")]))]),Pn(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,[...ct?[ct]:[],n.createArrayLiteralExpression([n.createStringLiteral("require"),n.createStringLiteral("exports"),...xe,...Y]),n.createIdentifier("factory")]))])))],!0),void 0)),Kt=n.updateSourceFile(pe,Et(n.createNodeArray([n.createExpressionStatement(n.createCallExpression(it,void 0,[n.createFunctionExpression(void 0,void 0,void 0,void 0,[n.createParameterDeclaration(void 0,void 0,"require"),n.createParameterDeclaration(void 0,void 0,"exports"),...Ze],void 0,_e(pe))]))]),pe.statements));return t1(Kt,e.readEmitHelpers()),Kt}function fe(pe,xe){const Y=[],Ze=[],ct=[];for(const it of pe.amdDependencies)it.name?(Y.push(n.createStringLiteral(it.path)),ct.push(n.createParameterDeclaration(void 0,void 0,it.name))):Ze.push(n.createStringLiteral(it.path));for(const it of W.externalImports){const Kt=gw(n,it,M,k,h,g),wr=k4(n,it,M);Kt&&(xe&&wr?(Pn(wr,8),Y.push(Kt),ct.push(n.createParameterDeclaration(void 0,void 0,wr))):Ze.push(Kt))}return{aliasedModuleNames:Y,unaliasedModuleNames:Ze,importAliasNames:ct}}function Ce(pe){if(Xu(pe)||Uu(pe)||!gw(n,pe,M,k,h,g))return;const xe=k4(n,pe,M),Y=It(pe,xe);if(Y!==xe)return n.createExpressionStatement(n.createAssignment(xe,Y))}function _e(pe){l();const xe=[],Y=n.copyPrologue(pe.statements,xe,!g.noImplicitUseStrict,ge);ie()&&$r(xe,cs()),H(W.exportedNames)&&$r(xe,n.createExpressionStatement(Cf(W.exportedNames,(ct,it)=>n.createAssignment(n.createPropertyAccessExpression(n.createIdentifier("exports"),n.createIdentifier(ai(it))),ct),n.createVoidZero()))),$r(xe,yt(W.externalHelpersImportDeclaration,ge,Ks)),w===2&&Oi(xe,fr(W.externalImports,Ce)),Oi(xe,hn(pe.statements,ge,Ks,Y)),K(xe,!0),Wh(xe,f());const Ze=n.createBlock(xe,!0);return Z&&KC(Ze,Pwe),Ze}function K(pe,xe){if(W.exportEquals){const Y=yt(W.exportEquals.expression,we,Dt);if(Y)if(xe){const Ze=n.createReturnStatement(Y);Et(Ze,W.exportEquals),Pn(Ze,3840),pe.push(Ze)}else{const Ze=n.createExpressionStatement(n.createAssignment(n.createPropertyAccessExpression(n.createIdentifier("module"),"exports"),Y));Et(Ze,W.exportEquals),Pn(Ze,3072),pe.push(Ze)}}}function ge(pe){switch(pe.kind){case 269:return er(pe);case 268:return mt(pe);case 275:return xr(pe);case 274:return dr(pe);case 240:return Gr(pe);case 259:return rn(pe);case 260:return un(pe);case 358:return ts(pe);case 359:return Es(pe);default:return we(pe)}}function Se(pe,xe){if(!(pe.transformFlags&276828160))return pe;switch(pe.kind){case 245:return Qe(pe);case 241:return Ge(pe);case 214:return tt(pe,xe);case 356:return Je(pe,xe);case 210:if(up(pe)&&M.impliedNodeFormat===void 0)return st(pe);break;case 223:if(K0(pe))return ot(pe,xe);break;case 221:case 222:return qe(pe,xe)}return an(pe,we,e)}function we(pe){return Se(pe,!1)}function Pe(pe){return Se(pe,!0)}function le(pe){if(cc(pe))for(const xe of pe.properties)switch(xe.kind){case 299:if(le(xe.initializer))return!0;break;case 300:if(le(xe.name))return!0;break;case 301:if(le(xe.expression))return!0;break;case 171:case 174:case 175:return!1;default:R.assertNever(xe,"Unhandled object member kind")}else if(Nf(pe)){for(const xe of pe.elements)if($g(xe)){if(le(xe.expression))return!0}else if(le(xe))return!0}else if(Ye(pe))return H(Te(pe))>(YJ(pe)?1:0);return!1}function ot(pe,xe){return le(pe.left)?Hx(pe,we,e,0,!xe,mr):an(pe,we,e)}function Qe(pe){return n.updateForStatement(pe,yt(pe.initializer,Pe,Zm),yt(pe.condition,we,Dt),yt(pe.incrementor,Pe,Dt),Sd(pe.statement,we,e))}function Ge(pe){return n.updateExpressionStatement(pe,yt(pe.expression,Pe,Dt))}function tt(pe,xe){return n.updateParenthesizedExpression(pe,yt(pe.expression,xe?Pe:we,Dt))}function Je(pe,xe){return n.updatePartiallyEmittedExpression(pe,yt(pe.expression,xe?Pe:we,Dt))}function qe(pe,xe){if((pe.operator===45||pe.operator===46)&&Ye(pe.operand)&&!al(pe.operand)&&!kv(pe.operand)&&!b5(pe.operand)){const Y=Te(pe.operand);if(Y){let Ze,ct=yt(pe.operand,we,Dt);Sv(pe)?ct=n.updatePrefixUnaryExpression(pe,ct):(ct=n.updatePostfixUnaryExpression(pe,ct),xe||(Ze=n.createTempVariable(d),ct=n.createAssignment(Ze,ct),Et(ct,pe)),ct=n.createComma(ct,n.cloneNode(pe.operand)),Et(ct,pe));for(const it of Y)X[Wo(ct)]=!0,ct=en(it,ct),Et(ct,pe);return Ze&&(X[Wo(ct)]=!0,ct=n.createComma(ct,Ze),Et(ct,pe)),ct}}return an(pe,we,e)}function st(pe){if(w===0&&S>=7)return an(pe,we,e);const xe=gw(n,pe,M,k,h,g),Y=yt(Ru(pe.arguments),we,Dt),Ze=xe&&(!Y||!yo(Y)||Y.text!==xe.text)?xe:Y,ct=!!(pe.transformFlags&16384);switch(g.module){case 2:return We(Ze,ct);case 3:return Ke(Ze??n.createVoidZero(),ct);case 1:default:return gt(Ze)}}function Ke(pe,xe){if(Z=!0,jT(pe)){const Y=al(pe)?pe:yo(pe)?n.createStringLiteralFromNode(pe):Pn(Et(n.cloneNode(pe),pe),3072);return n.createConditionalExpression(n.createIdentifier("__syncRequire"),void 0,gt(pe),void 0,We(Y,xe))}else{const Y=n.createTempVariable(d);return n.createComma(n.createAssignment(Y,pe),n.createConditionalExpression(n.createIdentifier("__syncRequire"),void 0,gt(Y,!0),void 0,We(Y,xe)))}}function We(pe,xe){const Y=n.createUniqueName("resolve"),Ze=n.createUniqueName("reject"),ct=[n.createParameterDeclaration(void 0,void 0,Y),n.createParameterDeclaration(void 0,void 0,Ze)],it=n.createBlock([n.createExpressionStatement(n.createCallExpression(n.createIdentifier("require"),void 0,[n.createArrayLiteralExpression([pe||n.createOmittedExpression()]),Y,Ze]))]);let Kt;S>=2?Kt=n.createArrowFunction(void 0,void 0,ct,void 0,void 0,it):(Kt=n.createFunctionExpression(void 0,void 0,void 0,void 0,ct,void 0,it),xe&&Pn(Kt,16));const wr=n.createNewExpression(n.createIdentifier("Promise"),void 0,[Kt]);return Zh(g)?n.createCallExpression(n.createPropertyAccessExpression(wr,n.createIdentifier("then")),void 0,[s().createImportStarCallbackHelper()]):wr}function gt(pe,xe){const Y=pe&&!lh(pe)&&!xe,Ze=n.createCallExpression(n.createPropertyAccessExpression(n.createIdentifier("Promise"),"resolve"),void 0,Y?S>=2?[n.createTemplateExpression(n.createTemplateHead(""),[n.createTemplateSpan(pe,n.createTemplateTail(""))])]:[n.createCallExpression(n.createPropertyAccessExpression(n.createStringLiteral(""),"concat"),void 0,[pe])]:[]);let ct=n.createCallExpression(n.createIdentifier("require"),void 0,Y?[n.createIdentifier("s")]:pe?[pe]:[]);Zh(g)&&(ct=s().createImportStarHelper(ct));const it=Y?[n.createParameterDeclaration(void 0,void 0,"s")]:[];let Kt;return S>=2?Kt=n.createArrowFunction(void 0,void 0,it,void 0,void 0,ct):Kt=n.createFunctionExpression(void 0,void 0,void 0,void 0,it,void 0,n.createBlock([n.createReturnStatement(ct)])),n.createCallExpression(n.createPropertyAccessExpression(Ze,"then"),void 0,[Kt])}function jt(pe,xe){return!Zh(g)||Jd(pe)&2?xe:rwe(pe)?s().createImportStarHelper(xe):xe}function It(pe,xe){return!Zh(g)||Jd(pe)&2?xe:XU(pe)?s().createImportStarHelper(xe):Xne(pe)?s().createImportDefaultHelper(xe):xe}function er(pe){let xe;const Y=j6(pe);if(w!==2)if(pe.importClause){const Ze=[];Y&&!RC(pe)?Ze.push(n.createVariableDeclaration(n.cloneNode(Y.name),void 0,void 0,It(pe,ft(pe)))):(Ze.push(n.createVariableDeclaration(n.getGeneratedNameForNode(pe),void 0,void 0,It(pe,ft(pe)))),Y&&RC(pe)&&Ze.push(n.createVariableDeclaration(n.cloneNode(Y.name),void 0,void 0,n.getGeneratedNameForNode(pe)))),xe=$r(xe,di(Et(n.createVariableStatement(void 0,n.createVariableDeclarationList(Ze,S>=2?2:0)),pe),pe))}else return di(Et(n.createExpressionStatement(ft(pe)),pe),pe);else Y&&RC(pe)&&(xe=$r(xe,n.createVariableStatement(void 0,n.createVariableDeclarationList([di(Et(n.createVariableDeclaration(n.cloneNode(Y.name),void 0,void 0,n.getGeneratedNameForNode(pe)),pe),pe)],S>=2?2:0))));if(ws(pe)){const Ze=_l(pe);U[Ze]=ii(U[Ze],pe)}else xe=ii(xe,pe);return Rh(xe)}function ft(pe){const xe=gw(n,pe,M,k,h,g),Y=[];return xe&&Y.push(xe),n.createCallExpression(n.createIdentifier("require"),void 0,Y)}function mt(pe){R.assert(Rb(pe),"import= for internal module references should be handled in an earlier transformer.");let xe;if(w!==2?Ti(pe,1)?xe=$r(xe,di(Et(n.createExpressionStatement(en(pe.name,ft(pe))),pe),pe)):xe=$r(xe,di(Et(n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(n.cloneNode(pe.name),void 0,void 0,ft(pe))],S>=2?2:0)),pe),pe)):Ti(pe,1)&&(xe=$r(xe,di(Et(n.createExpressionStatement(en(n.getExportName(pe),n.getLocalName(pe))),pe),pe))),ws(pe)){const Y=_l(pe);U[Y]=Rt(U[Y],pe)}else xe=Rt(xe,pe);return Rh(xe)}function xr(pe){if(!pe.moduleSpecifier)return;const xe=n.getGeneratedNameForNode(pe);if(pe.exportClause&&Xd(pe.exportClause)){const Y=[];w!==2&&Y.push(di(Et(n.createVariableStatement(void 0,n.createVariableDeclarationList([n.createVariableDeclaration(xe,void 0,void 0,ft(pe))])),pe),pe));for(const Ze of pe.exportClause.elements)if(S===0)Y.push(di(Et(n.createExpressionStatement(s().createCreateBindingHelper(xe,n.createStringLiteralFromNode(Ze.propertyName||Ze.name),Ze.propertyName?n.createStringLiteralFromNode(Ze.name):void 0)),Ze),Ze));else{const ct=!!Zh(g)&&!(Jd(pe)&2)&&ai(Ze.propertyName||Ze.name)==="default",it=n.createPropertyAccessExpression(ct?s().createImportDefaultHelper(xe):xe,Ze.propertyName||Ze.name);Y.push(di(Et(n.createExpressionStatement(en(n.getExportName(Ze),it,void 0,!0)),Ze),Ze))}return Rh(Y)}else if(pe.exportClause){const Y=[];return Y.push(di(Et(n.createExpressionStatement(en(n.cloneNode(pe.exportClause.name),jt(pe,w!==2?ft(pe):GB(pe)?xe:n.createIdentifier(ai(pe.exportClause.name))))),pe),pe)),Rh(Y)}else return di(Et(n.createExpressionStatement(s().createExportStarHelper(w!==2?ft(pe):xe)),pe),pe)}function dr(pe){if(pe.isExportEquals)return;let xe;const Y=pe.original;if(Y&&ws(Y)){const Ze=_l(pe);U[Ze]=Nn(U[Ze],n.createIdentifier("default"),yt(pe.expression,we,Dt),pe,!0)}else xe=Nn(xe,n.createIdentifier("default"),yt(pe.expression,we,Dt),pe,!0);return Rh(xe)}function rn(pe){let xe;if(Ti(pe,1)?xe=$r(xe,di(Et(n.createFunctionDeclaration(hn(pe.modifiers,Tr,ja),pe.asteriskToken,n.getDeclarationName(pe,!0,!0),void 0,hn(pe.parameters,we,ua),void 0,an(pe.body,we,e)),pe),pe)):xe=$r(xe,an(pe,we,e)),ws(pe)){const Y=_l(pe);U[Y]=Pr(U[Y],pe)}else xe=Pr(xe,pe);return Rh(xe)}function un(pe){let xe;if(Ti(pe,1)?xe=$r(xe,di(Et(n.createClassDeclaration(hn(pe.modifiers,Tr,Bc),n.getDeclarationName(pe,!0,!0),void 0,hn(pe.heritageClauses,we,J_),hn(pe.members,we,Eu)),pe),pe)):xe=$r(xe,an(pe,we,e)),ws(pe)){const Y=_l(pe);U[Y]=Pr(U[Y],pe)}else xe=Pr(xe,pe);return Rh(xe)}function Gr(pe){let xe,Y,Ze;if(Ti(pe,1)){let ct,it=!1;for(const Kt of pe.declarationList.declarations)if(Ye(Kt.name)&&kv(Kt.name))if(ct||(ct=hn(pe.modifiers,Tr,ja)),Kt.initializer){const wr=n.updateVariableDeclaration(Kt,Kt.name,void 0,void 0,en(Kt.name,yt(Kt.initializer,we,Dt)));Y=$r(Y,wr)}else Y=$r(Y,Kt);else if(Kt.initializer)if(!xa(Kt.name)&&(Ac(Kt.initializer)||yc(Kt.initializer)||If(Kt.initializer))){const wr=n.createAssignment(Et(n.createPropertyAccessExpression(n.createIdentifier("exports"),Kt.name),Kt.name),n.createIdentifier(Vd(Kt.name))),qr=n.createVariableDeclaration(Kt.name,Kt.exclamationToken,Kt.type,yt(Kt.initializer,we,Dt));Y=$r(Y,qr),Ze=$r(Ze,wr),it=!0}else Ze=$r(Ze,Fn(Kt));if(Y&&(xe=$r(xe,n.updateVariableStatement(pe,ct,n.updateVariableDeclarationList(pe.declarationList,Y)))),Ze){const Kt=di(Et(n.createExpressionStatement(n.inlineExpressions(Ze)),pe),pe);it&&z5(Kt),xe=$r(xe,Kt)}}else xe=$r(xe,an(pe,we,e));if(ws(pe)){const ct=_l(pe);U[ct]=Rr(U[ct],pe)}else xe=Rr(xe,pe);return Rh(xe)}function mr(pe,xe,Y){const Ze=Te(pe);if(Ze){let ct=YJ(pe)?xe:n.createAssignment(pe,xe);for(const it of Ze)Pn(ct,8),ct=en(it,ct,Y);return ct}return n.createAssignment(pe,xe)}function Fn(pe){return xa(pe.name)?Hx(yt(pe,we,Uee),we,e,0,!1,mr):n.createAssignment(Et(n.createPropertyAccessExpression(n.createIdentifier("exports"),pe.name),pe.name),pe.initializer?yt(pe.initializer,we,Dt):n.createVoidZero())}function ts(pe){if(ws(pe)&&pe.original.kind===240){const xe=_l(pe);U[xe]=Rr(U[xe],pe.original)}return pe}function ws(pe){return(Wa(pe)&8388608)!==0}function Es(pe){const xe=_l(pe),Y=U[xe];return Y?(delete U[xe],$r(Y,pe)):pe}function ii(pe,xe){if(W.exportEquals)return pe;const Y=xe.importClause;if(!Y)return pe;Y.name&&(pe=Cn(pe,Y));const Ze=Y.namedBindings;if(Ze)switch(Ze.kind){case 271:pe=Cn(pe,Ze);break;case 272:for(const ct of Ze.elements)pe=Cn(pe,ct,!0);break}return pe}function Rt(pe,xe){return W.exportEquals?pe:Cn(pe,xe)}function Rr(pe,xe){if(W.exportEquals)return pe;for(const Y of xe.declarationList.declarations)pe=rr(pe,Y);return pe}function rr(pe,xe){if(W.exportEquals)return pe;if(xa(xe.name))for(const Y of xe.name.elements)yu(Y)||(pe=rr(pe,Y));else al(xe.name)||(pe=Cn(pe,xe));return pe}function Pr(pe,xe){if(W.exportEquals)return pe;if(Ti(xe,1)){const Y=Ti(xe,1024)?n.createIdentifier("default"):n.getDeclarationName(xe);pe=Nn(pe,Y,n.getLocalName(xe),xe)}return xe.name&&(pe=Cn(pe,xe)),pe}function Cn(pe,xe,Y){const Ze=n.getDeclarationName(xe),ct=W.exportSpecifiers.get(ai(Ze));if(ct)for(const it of ct)pe=Nn(pe,it.name,Ze,it.name,void 0,Y);return pe}function Nn(pe,xe,Y,Ze,ct,it){return pe=$r(pe,qi(xe,Y,Ze,ct,it)),pe}function cs(){let pe;return S===0?pe=n.createExpressionStatement(en(n.createIdentifier("__esModule"),n.createTrue())):pe=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())])])),Pn(pe,2097152),pe}function qi(pe,xe,Y,Ze,ct){const it=Et(n.createExpressionStatement(en(pe,xe,void 0,ct)),Y);return Lf(it),Ze||Pn(it,3072),it}function en(pe,xe,Y,Ze){return Et(Ze&&S!==0?n.createCallExpression(n.createPropertyAccessExpression(n.createIdentifier("Object"),"defineProperty"),void 0,[n.createIdentifier("exports"),n.createStringLiteralFromNode(pe),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(xe)])))])]):n.createAssignment(n.createPropertyAccessExpression(n.createIdentifier("exports"),n.cloneNode(pe)),xe),Y)}function Tr(pe){switch(pe.kind){case 93:case 88:return}return pe}function nn(pe,xe,Y){xe.kind===308?(M=xe,W=L[_l(M)],O(pe,xe,Y),M=void 0,W=void 0):O(pe,xe,Y)}function Xn(pe,xe){return xe=N(pe,xe),xe.id&&X[xe.id]?xe:pe===1?Fe(xe):id(xe)?_i(xe):xe}function _i(pe){const xe=pe.name,Y=Ne(xe);if(Y!==xe){if(pe.objectAssignmentInitializer){const Ze=n.createAssignment(Y,pe.objectAssignmentInitializer);return Et(n.createPropertyAssignment(xe,Ze),pe)}return Et(n.createPropertyAssignment(xe,Y),pe)}return pe}function Fe(pe){switch(pe.kind){case 79:return Ne(pe);case 210:return Pt(pe);case 212:return Ht(pe);case 223:return kt(pe)}return pe}function Pt(pe){if(Ye(pe.expression)){const xe=Ne(pe.expression);if(X[Wo(xe)]=!0,!Ye(xe)&&!(Wa(pe.expression)&8192))return ZC(n.updateCallExpression(pe,xe,void 0,pe.arguments),16)}return pe}function Ht(pe){if(Ye(pe.tag)){const xe=Ne(pe.tag);if(X[Wo(xe)]=!0,!Ye(xe)&&!(Wa(pe.tag)&8192))return ZC(n.updateTaggedTemplateExpression(pe,xe,void 0,pe.template),16)}return pe}function Ne(pe){var xe,Y;if(Wa(pe)&8192){const Ze=_O(M);return Ze?n.createPropertyAccessExpression(Ze,pe):pe}else if(!(al(pe)&&!(pe.emitNode.autoGenerate.flags&64))&&!kv(pe)){const Ze=h.getReferencedExportContainer(pe,YJ(pe));if(Ze&&Ze.kind===308)return Et(n.createPropertyAccessExpression(n.createIdentifier("exports"),n.cloneNode(pe)),pe);const ct=h.getReferencedImportDeclaration(pe);if(ct){if(rg(ct))return Et(n.createPropertyAccessExpression(n.getGeneratedNameForNode(ct.parent),n.createIdentifier("default")),pe);if(S_(ct)){const it=ct.propertyName||ct.name;return Et(n.createPropertyAccessExpression(n.getGeneratedNameForNode(((Y=(xe=ct.parent)==null?void 0:xe.parent)==null?void 0:Y.parent)||ct),n.cloneNode(it)),pe)}}}return pe}function kt(pe){if(Z0(pe.operatorToken.kind)&&Ye(pe.left)&&!al(pe.left)&&!kv(pe.left)&&!b5(pe.left)){const xe=Te(pe.left);if(xe){let Y=pe;for(const Ze of xe)X[Wo(Y)]=!0,Y=en(Ze,Y,pe);return Y}}return pe}function Te(pe){if(!al(pe)){const xe=h.getReferencedImportDeclaration(pe)||h.getReferencedValueDeclaration(pe);if(xe)return W&&W.exportedBindings[_l(xe)]}}}var Pwe,met=p({"src/compiler/transformers/module/module.ts"(){aa(),Pwe={name:"typescript:dynamicimport-sync-require",scoped:!0,text:`
var __syncRequire = typeof module === "object" && typeof module.exports === "object";`}}});function Dwe(e){const{factory:t,startLexicalEnvironment:n,endLexicalEnvironment:s,hoistVariableDeclaration:l}=e,f=e.getCompilerOptions(),d=e.getEmitResolver(),g=e.getEmitHost(),h=e.onSubstituteNode,k=e.onEmitNode;e.onSubstituteNode=ct,e.onEmitNode=Ze,e.enableSubstitution(79),e.enableSubstitution(300),e.enableSubstitution(223),e.enableSubstitution(233),e.enableEmitNotification(308);const S=[],w=[],N=[],O=[],L=[];let U,M,W,X,Z,ue,ie;return Yd(e,se);function se(ne){if(ne.isDeclarationFile||!(OC(ne,f)||ne.transformFlags&8388608))return ne;const $e=_l(ne);U=ne,ue=ne,M=S[$e]=Qne(e,ne,d,f),W=t.createUniqueName("exports"),N[$e]=W,X=L[$e]=t.createUniqueName("context");const ce=V(M.externalImports),Be=ve(ne,ce),te=t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,W),t.createParameterDeclaration(void 0,void 0,X)],void 0,Be),$t=pO(t,ne,g,f),At=t.createArrayLiteralExpression(qt(ce,Dr=>Dr.name)),St=Pn(t.updateSourceFile(ne,Et(t.createNodeArray([t.createExpressionStatement(t.createCallExpression(t.createPropertyAccessExpression(t.createIdentifier("System"),"register"),void 0,$t?[$t,At,te]:[At,te]))]),ne.statements)),2048);return Ec(f)||ASe(St,Be,Dr=>!Dr.scoped),ie&&(O[$e]=ie,ie=void 0),U=void 0,M=void 0,W=void 0,X=void 0,Z=void 0,ue=void 0,St}function V(ne){const $e=new Map,ce=[];for(const Be of ne){const te=gw(t,Be,U,g,d,f);if(te){const $t=te.text,At=$e.get($t);At!==void 0?ce[At].externalImports.push(Be):($e.set($t,ce.length),ce.push({name:te,externalImports:[Be]}))}}return ce}function ve(ne,$e){const ce=[];n();const Be=bd(f,"alwaysStrict")||!f.noImplicitUseStrict&&Fl(U),te=t.copyPrologue(ne.statements,ce,Be,K);ce.push(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration("__moduleName",void 0,void 0,t.createLogicalAnd(X,t.createPropertyAccessExpression(X,"id")))]))),yt(M.externalHelpersImportDeclaration,K,Ks);const $t=hn(ne.statements,K,Ks,te);Oi(ce,Z),Wh(ce,s());const At=fe(ce),St=ne.transformFlags&2097152?t.createModifiersFromModifierFlags(512):void 0,Dr=t.createObjectLiteralExpression([t.createPropertyAssignment("setters",_e(At,$e)),t.createPropertyAssignment("execute",t.createFunctionExpression(St,void 0,void 0,void 0,[],void 0,t.createBlock($t,!0)))],!0);return ce.push(t.createReturnStatement(Dr)),t.createBlock(ce,!0)}function fe(ne){if(!M.hasExportStarsToExportValues)return;if(!M.exportedNames&&M.exportSpecifiers.size===0){let te=!1;for(const $t of M.externalImports)if($t.kind===275&&$t.exportClause){te=!0;break}if(!te){const $t=Ce(void 0);return ne.push($t),$t.name}}const $e=[];if(M.exportedNames)for(const te of M.exportedNames)te.escapedText!=="default"&&$e.push(t.createPropertyAssignment(t.createStringLiteralFromNode(te),t.createTrue()));const ce=t.createUniqueName("exportedNames");ne.push(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(ce,void 0,void 0,t.createObjectLiteralExpression($e,!0))])));const Be=Ce(ce);return ne.push(Be),Be.name}function Ce(ne){const $e=t.createUniqueName("exportStar"),ce=t.createIdentifier("m"),Be=t.createIdentifier("n"),te=t.createIdentifier("exports");let $t=t.createStrictInequality(Be,t.createStringLiteral("default"));return ne&&($t=t.createLogicalAnd($t,t.createLogicalNot(t.createCallExpression(t.createPropertyAccessExpression(ne,"hasOwnProperty"),void 0,[Be])))),t.createFunctionDeclaration(void 0,void 0,$e,void 0,[t.createParameterDeclaration(void 0,void 0,ce)],void 0,t.createBlock([t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(te,void 0,void 0,t.createObjectLiteralExpression([]))])),t.createForInStatement(t.createVariableDeclarationList([t.createVariableDeclaration(Be)]),ce,t.createBlock([Pn(t.createIfStatement($t,t.createExpressionStatement(t.createAssignment(t.createElementAccessExpression(te,Be),t.createElementAccessExpression(ce,Be)))),1)])),t.createExpressionStatement(t.createCallExpression(W,void 0,[te]))],!0))}function _e(ne,$e){const ce=[];for(const Be of $e){const te=Q(Be.externalImports,St=>k4(t,St,U)),$t=te?t.getGeneratedNameForNode(te):t.createUniqueName(""),At=[];for(const St of Be.externalImports){const Dr=k4(t,St,U);switch(St.kind){case 269:if(!St.importClause)break;case 268:R.assert(Dr!==void 0),At.push(t.createExpressionStatement(t.createAssignment(Dr,$t))),Ti(St,1)&&At.push(t.createExpressionStatement(t.createCallExpression(W,void 0,[t.createStringLiteral(ai(Dr)),$t])));break;case 275:if(R.assert(Dr!==void 0),St.exportClause)if(Xd(St.exportClause)){const yn=[];for(const Di of St.exportClause.elements)yn.push(t.createPropertyAssignment(t.createStringLiteral(ai(Di.name)),t.createElementAccessExpression($t,t.createStringLiteral(ai(Di.propertyName||Di.name)))));At.push(t.createExpressionStatement(t.createCallExpression(W,void 0,[t.createObjectLiteralExpression(yn,!0)])))}else At.push(t.createExpressionStatement(t.createCallExpression(W,void 0,[t.createStringLiteral(ai(St.exportClause.name)),$t])));else At.push(t.createExpressionStatement(t.createCallExpression(ne,void 0,[$t])));break}}ce.push(t.createFunctionExpression(void 0,void 0,void 0,void 0,[t.createParameterDeclaration(void 0,void 0,$t)],void 0,t.createBlock(At,!0)))}return t.createArrayLiteralExpression(ce,!0)}function K(ne){switch(ne.kind){case 269:return ge(ne);case 268:return we(ne);case 275:return Se(ne);case 274:return Pe(ne);default:return mr(ne)}}function ge(ne){let $e;if(ne.importClause&&l(k4(t,ne,U)),gt(ne)){const ce=_l(ne);w[ce]=It(w[ce],ne)}else $e=It($e,ne);return Rh($e)}function Se(ne){R.assertIsDefined(ne)}function we(ne){R.assert(Rb(ne),"import= for internal module references should be handled in an earlier transformer.");let $e;if(l(k4(t,ne,U)),gt(ne)){const ce=_l(ne);w[ce]=er(w[ce],ne)}else $e=er($e,ne);return Rh($e)}function Pe(ne){if(ne.isExportEquals)return;const $e=yt(ne.expression,_i,Dt),ce=ne.original;if(ce&&gt(ce)){const Be=_l(ne);w[Be]=rn(w[Be],t.createIdentifier("default"),$e,!0)}else return un(t.createIdentifier("default"),$e,!0)}function le(ne){if(Ti(ne,1)?Z=$r(Z,t.updateFunctionDeclaration(ne,hn(ne.modifiers,Y,Bc),ne.asteriskToken,t.getDeclarationName(ne,!0,!0),void 0,hn(ne.parameters,_i,ua),void 0,yt(ne.body,_i,Fa))):Z=$r(Z,an(ne,_i,e)),gt(ne)){const $e=_l(ne);w[$e]=xr(w[$e],ne)}else Z=xr(Z,ne)}function ot(ne){let $e;const ce=t.getLocalName(ne);if(l(ce),$e=$r($e,Et(t.createExpressionStatement(t.createAssignment(ce,Et(t.createClassExpression(hn(ne.modifiers,Y,Bc),ne.name,void 0,hn(ne.heritageClauses,_i,J_),hn(ne.members,_i,Eu)),ne))),ne)),gt(ne)){const Be=_l(ne);w[Be]=xr(w[Be],ne)}else $e=xr($e,ne);return Rh($e)}function Qe(ne){if(!tt(ne.declarationList))return yt(ne,_i,Ks);let $e;const ce=Ti(ne,1),Be=gt(ne);for(const $t of ne.declarationList.declarations)$t.initializer?$e=$r($e,Je($t,ce&&!Be)):Ge($t);let te;if($e&&(te=$r(te,Et(t.createExpressionStatement(t.inlineExpressions($e)),ne))),Be){const $t=_l(ne);w[$t]=ft(w[$t],ne,ce)}else te=ft(te,ne,!1);return Rh(te)}function Ge(ne){if(xa(ne.name))for(const $e of ne.name.elements)yu($e)||Ge($e);else l(t.cloneNode(ne.name))}function tt(ne){return(Wa(ne)&4194304)===0&&(ue.kind===308||(sl(ne).flags&3)===0)}function Je(ne,$e){const ce=$e?qe:st;return xa(ne.name)?Hx(ne,_i,e,0,!1,ce):ne.initializer?ce(ne.name,yt(ne.initializer,_i,Dt)):ne.name}function qe(ne,$e,ce){return Ke(ne,$e,ce,!0)}function st(ne,$e,ce){return Ke(ne,$e,ce,!1)}function Ke(ne,$e,ce,Be){return l(t.cloneNode(ne)),Be?Gr(ne,nr(Et(t.createAssignment(ne,$e),ce))):nr(Et(t.createAssignment(ne,$e),ce))}function We(ne){if(gt(ne)&&ne.original.kind===240){const $e=_l(ne),ce=Ti(ne.original,1);w[$e]=ft(w[$e],ne.original,ce)}return ne}function gt(ne){return(Wa(ne)&8388608)!==0}function jt(ne){const $e=_l(ne),ce=w[$e];if(ce)return delete w[$e],$r(ce,ne);{const Be=sl(ne);if(S7(Be))return $r(dr(ce,Be),ne)}return ne}function It(ne,$e){if(M.exportEquals)return ne;const ce=$e.importClause;if(!ce)return ne;ce.name&&(ne=dr(ne,ce));const Be=ce.namedBindings;if(Be)switch(Be.kind){case 271:ne=dr(ne,Be);break;case 272:for(const te of Be.elements)ne=dr(ne,te);break}return ne}function er(ne,$e){return M.exportEquals?ne:dr(ne,$e)}function ft(ne,$e,ce){if(M.exportEquals)return ne;for(const Be of $e.declarationList.declarations)(Be.initializer||ce)&&(ne=mt(ne,Be,ce));return ne}function mt(ne,$e,ce){if(M.exportEquals)return ne;if(xa($e.name))for(const Be of $e.name.elements)yu(Be)||(ne=mt(ne,Be,ce));else if(!al($e.name)){let Be;ce&&(ne=rn(ne,$e.name,t.getLocalName($e)),Be=ai($e.name)),ne=dr(ne,$e,Be)}return ne}function xr(ne,$e){if(M.exportEquals)return ne;let ce;if(Ti($e,1)){const Be=Ti($e,1024)?t.createStringLiteral("default"):$e.name;ne=rn(ne,Be,t.getLocalName($e)),ce=Vd(Be)}return $e.name&&(ne=dr(ne,$e,ce)),ne}function dr(ne,$e,ce){if(M.exportEquals)return ne;const Be=t.getDeclarationName($e),te=M.exportSpecifiers.get(ai(Be));if(te)for(const $t of te)$t.name.escapedText!==ce&&(ne=rn(ne,$t.name,Be));return ne}function rn(ne,$e,ce,Be){return ne=$r(ne,un($e,ce,Be)),ne}function un(ne,$e,ce){const Be=t.createExpressionStatement(Gr(ne,$e));return Lf(Be),ce||Pn(Be,3072),Be}function Gr(ne,$e){const ce=Ye(ne)?t.createStringLiteralFromNode(ne):ne;return Pn($e,Wa($e)|3072),Du(t.createCallExpression(W,void 0,[ce,$e]),$e)}function mr(ne){switch(ne.kind){case 240:return Qe(ne);case 259:return le(ne);case 260:return ot(ne);case 245:return Fn(ne,!0);case 246:return ts(ne);case 247:return ws(ne);case 243:return Rt(ne);case 244:return Rr(ne);case 253:return rr(ne);case 251:return Pr(ne);case 252:return Cn(ne);case 266:return Nn(ne);case 292:return cs(ne);case 293:return qi(ne);case 255:return en(ne);case 295:return Tr(ne);case 238:return nn(ne);case 358:return We(ne);case 359:return jt(ne);default:return _i(ne)}}function Fn(ne,$e){const ce=ue;return ue=ne,ne=t.updateForStatement(ne,yt(ne.initializer,$e?ii:Fe,Zm),yt(ne.condition,_i,Dt),yt(ne.incrementor,Fe,Dt),Sd(ne.statement,$e?mr:_i,e)),ue=ce,ne}function ts(ne){const $e=ue;return ue=ne,ne=t.updateForInStatement(ne,ii(ne.initializer),yt(ne.expression,_i,Dt),Sd(ne.statement,mr,e)),ue=$e,ne}function ws(ne){const $e=ue;return ue=ne,ne=t.updateForOfStatement(ne,ne.awaitModifier,ii(ne.initializer),yt(ne.expression,_i,Dt),Sd(ne.statement,mr,e)),ue=$e,ne}function Es(ne){return Of(ne)&&tt(ne)}function ii(ne){if(Es(ne)){let $e;for(const ce of ne.declarations)$e=$r($e,Je(ce,!1)),ce.initializer||Ge(ce);return $e?t.inlineExpressions($e):t.createOmittedExpression()}else return yt(ne,Fe,Zm)}function Rt(ne){return t.updateDoStatement(ne,Sd(ne.statement,mr,e),yt(ne.expression,_i,Dt))}function Rr(ne){return t.updateWhileStatement(ne,yt(ne.expression,_i,Dt),Sd(ne.statement,mr,e))}function rr(ne){return t.updateLabeledStatement(ne,ne.label,R.checkDefined(yt(ne.statement,mr,Ks,t.liftToBlock)))}function Pr(ne){return t.updateWithStatement(ne,yt(ne.expression,_i,Dt),R.checkDefined(yt(ne.statement,mr,Ks,t.liftToBlock)))}function Cn(ne){return t.updateSwitchStatement(ne,yt(ne.expression,_i,Dt),R.checkDefined(yt(ne.caseBlock,mr,sO)))}function Nn(ne){const $e=ue;return ue=ne,ne=t.updateCaseBlock(ne,hn(ne.clauses,mr,vK)),ue=$e,ne}function cs(ne){return t.updateCaseClause(ne,yt(ne.expression,_i,Dt),hn(ne.statements,mr,Ks))}function qi(ne){return an(ne,mr,e)}function en(ne){return an(ne,mr,e)}function Tr(ne){const $e=ue;return ue=ne,ne=t.updateCatchClause(ne,ne.variableDeclaration,R.checkDefined(yt(ne.block,mr,Fa))),ue=$e,ne}function nn(ne){const $e=ue;return ue=ne,ne=an(ne,mr,e),ue=$e,ne}function Xn(ne,$e){if(!(ne.transformFlags&276828160))return ne;switch(ne.kind){case 245:return Fn(ne,!1);case 241:return Pt(ne);case 214:return Ht(ne,$e);case 356:return Ne(ne,$e);case 223:if(K0(ne))return Te(ne,$e);break;case 210:if(up(ne))return kt(ne);break;case 221:case 222:return xe(ne,$e)}return an(ne,_i,e)}function _i(ne){return Xn(ne,!1)}function Fe(ne){return Xn(ne,!0)}function Pt(ne){return t.updateExpressionStatement(ne,yt(ne.expression,Fe,Dt))}function Ht(ne,$e){return t.updateParenthesizedExpression(ne,yt(ne.expression,$e?Fe:_i,Dt))}function Ne(ne,$e){return t.updatePartiallyEmittedExpression(ne,yt(ne.expression,$e?Fe:_i,Dt))}function kt(ne){const $e=gw(t,ne,U,g,d,f),ce=yt(Ru(ne.arguments),_i,Dt),Be=$e&&(!ce||!yo(ce)||ce.text!==$e.text)?$e:ce;return t.createCallExpression(t.createPropertyAccessExpression(X,t.createIdentifier("import")),void 0,Be?[Be]:[])}function Te(ne,$e){return pe(ne.left)?Hx(ne,_i,e,0,!$e):an(ne,_i,e)}function pe(ne){if(Xf(ne,!0))return pe(ne.left);if($g(ne))return pe(ne.expression);if(cc(ne))return Oe(ne.properties,pe);if(Nf(ne))return Oe(ne.elements,pe);if(id(ne))return pe(ne.name);if(Iu(ne))return pe(ne.initializer);if(Ye(ne)){const $e=d.getReferencedExportContainer(ne);return $e!==void 0&&$e.kind===308}else return!1}function xe(ne,$e){if((ne.operator===45||ne.operator===46)&&Ye(ne.operand)&&!al(ne.operand)&&!kv(ne.operand)&&!b5(ne.operand)){const ce=wt(ne.operand);if(ce){let Be,te=yt(ne.operand,_i,Dt);Sv(ne)?te=t.updatePrefixUnaryExpression(ne,te):(te=t.updatePostfixUnaryExpression(ne,te),$e||(Be=t.createTempVariable(l),te=t.createAssignment(Be,te),Et(te,ne)),te=t.createComma(te,t.cloneNode(ne.operand)),Et(te,ne));for(const $t of ce)te=Gr($t,nr(te));return Be&&(te=t.createComma(te,Be),Et(te,ne)),te}}return an(ne,_i,e)}function Y(ne){switch(ne.kind){case 93:case 88:return}return ne}function Ze(ne,$e,ce){if($e.kind===308){const Be=_l($e);U=$e,M=S[Be],W=N[Be],ie=O[Be],X=L[Be],ie&&delete O[Be],k(ne,$e,ce),U=void 0,M=void 0,W=void 0,X=void 0,ie=void 0}else k(ne,$e,ce)}function ct(ne,$e){return $e=h(ne,$e),dt($e)?$e:ne===1?wr($e):ne===4?it($e):$e}function it(ne){switch(ne.kind){case 300:return Kt(ne)}return ne}function Kt(ne){var $e,ce;const Be=ne.name;if(!al(Be)&&!kv(Be)){const te=d.getReferencedImportDeclaration(Be);if(te){if(rg(te))return Et(t.createPropertyAssignment(t.cloneNode(Be),t.createPropertyAccessExpression(t.getGeneratedNameForNode(te.parent),t.createIdentifier("default"))),ne);if(S_(te))return Et(t.createPropertyAssignment(t.cloneNode(Be),t.createPropertyAccessExpression(t.getGeneratedNameForNode(((ce=($e=te.parent)==null?void 0:$e.parent)==null?void 0:ce.parent)||te),t.cloneNode(te.propertyName||te.name))),ne)}}return ne}function wr(ne){switch(ne.kind){case 79:return qr(ne);case 223:return qn(ne);case 233:return ye(ne)}return ne}function qr(ne){var $e,ce;if(Wa(ne)&8192){const Be=_O(U);return Be?t.createPropertyAccessExpression(Be,ne):ne}if(!al(ne)&&!kv(ne)){const Be=d.getReferencedImportDeclaration(ne);if(Be){if(rg(Be))return Et(t.createPropertyAccessExpression(t.getGeneratedNameForNode(Be.parent),t.createIdentifier("default")),ne);if(S_(Be))return Et(t.createPropertyAccessExpression(t.getGeneratedNameForNode(((ce=($e=Be.parent)==null?void 0:$e.parent)==null?void 0:ce.parent)||Be),t.cloneNode(Be.propertyName||Be.name)),ne)}}return ne}function qn(ne){if(Z0(ne.operatorToken.kind)&&Ye(ne.left)&&!al(ne.left)&&!kv(ne.left)&&!b5(ne.left)){const $e=wt(ne.left);if($e){let ce=ne;for(const Be of $e)ce=Gr(Be,nr(ce));return ce}}return ne}function ye(ne){return I6(ne)?t.createPropertyAccessExpression(X,t.createIdentifier("meta")):ne}function wt(ne){let $e;if(!al(ne)){const ce=d.getReferencedImportDeclaration(ne)||d.getReferencedValueDeclaration(ne);if(ce){const Be=d.getReferencedExportContainer(ne,!1);Be&&Be.kind===308&&($e=$r($e,t.getDeclarationName(ce))),$e=Oi($e,M&&M.exportedBindings[_l(ce)])}}return $e}function nr(ne){return ie===void 0&&(ie=[]),ie[Wo(ne)]=!0,ne}function dt(ne){return ie&&ne.id&&ie[ne.id]}}var het=p({"src/compiler/transformers/module/system.ts"(){aa()}});function uie(e){const{factory:t,getEmitHelperFactory:n}=e,s=e.getEmitHost(),l=e.getEmitResolver(),f=e.getCompilerOptions(),d=Io(f),g=e.onEmitNode,h=e.onSubstituteNode;e.onEmitNode=ue,e.onSubstituteNode=ie,e.enableEmitNotification(308),e.enableSubstitution(79);let k,S,w;return Yd(e,N);function N(V){if(V.isDeclarationFile)return V;if(Fl(V)||qd(f)){S=V,w=void 0;let ve=O(V);return S=void 0,w&&(ve=t.updateSourceFile(ve,Et(t.createNodeArray(PK(ve.statements.slice(),w)),ve.statements))),!Fl(V)||Oe(ve.statements,T7)?ve:t.updateSourceFile(ve,Et(t.createNodeArray([...ve.statements,lO(t)]),ve.statements))}return V}function O(V){const ve=Are(t,n(),V,f);if(ve){const fe=[],Ce=t.copyPrologue(V.statements,fe);return $r(fe,ve),Oi(fe,hn(V.statements,L,Ks,Ce)),t.updateSourceFile(V,Et(t.createNodeArray(fe),V.statements))}else return an(V,L,e)}function L(V){switch(V.kind){case 268:return Hu(f)>=100?M(V):void 0;case 274:return X(V);case 275:return Z(V)}return V}function U(V){const ve=gw(t,V,R.checkDefined(S),s,l,f),fe=[];if(ve&&fe.push(ve),!w){const _e=t.createUniqueName("_createRequire",48),K=t.createImportDeclaration(void 0,t.createImportClause(!1,void 0,t.createNamedImports([t.createImportSpecifier(!1,t.createIdentifier("createRequire"),_e)])),t.createStringLiteral("module")),ge=t.createUniqueName("__require",48),Se=t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(ge,void 0,void 0,t.createCallExpression(t.cloneNode(_e),void 0,[t.createPropertyAccessExpression(t.createMetaProperty(100,t.createIdentifier("meta")),t.createIdentifier("url"))]))],d>=2?2:0));w=[K,Se]}const Ce=w[1].declarationList.declarations[0].name;return R.assertNode(Ce,Ye),t.createCallExpression(t.cloneNode(Ce),void 0,fe)}function M(V){R.assert(Rb(V),"import= for internal module references should be handled in an earlier transformer.");let ve;return ve=$r(ve,di(Et(t.createVariableStatement(void 0,t.createVariableDeclarationList([t.createVariableDeclaration(t.cloneNode(V.name),void 0,void 0,U(V))],d>=2?2:0)),V),V)),ve=W(ve,V),Rh(ve)}function W(V,ve){return Ti(ve,1)&&(V=$r(V,t.createExportDeclaration(void 0,ve.isTypeOnly,t.createNamedExports([t.createExportSpecifier(!1,void 0,ai(ve.name))])))),V}function X(V){return V.isExportEquals?void 0:V}function Z(V){if(f.module!==void 0&&f.module>5||!V.exportClause||!qg(V.exportClause)||!V.moduleSpecifier)return V;const ve=V.exportClause.name,fe=t.getGeneratedNameForNode(ve),Ce=t.createImportDeclaration(void 0,t.createImportClause(!1,void 0,t.createNamespaceImport(fe)),V.moduleSpecifier,V.assertClause);di(Ce,V.exportClause);const _e=GB(V)?t.createExportDefault(fe):t.createExportDeclaration(void 0,!1,t.createNamedExports([t.createExportSpecifier(!1,fe,ve)]));return di(_e,V),[Ce,_e]}function ue(V,ve,fe){bs(ve)?((Fl(ve)||qd(f))&&f.importHelpers&&(k=new Map),g(V,ve,fe),k=void 0):g(V,ve,fe)}function ie(V,ve){return ve=h(V,ve),k&&Ye(ve)&&Wa(ve)&8192?se(ve):ve}function se(V){const ve=ai(V);let fe=k.get(ve);return fe||k.set(ve,fe=t.createUniqueName(ve,48)),fe}}var get=p({"src/compiler/transformers/module/esnextAnd2015.ts"(){aa()}});function Nwe(e){const t=e.onSubstituteNode,n=e.onEmitNode,s=uie(e),l=e.onSubstituteNode,f=e.onEmitNode;e.onSubstituteNode=t,e.onEmitNode=n;const d=lie(e),g=e.onSubstituteNode,h=e.onEmitNode;e.onSubstituteNode=S,e.onEmitNode=w,e.enableSubstitution(308),e.enableEmitNotification(308);let k;return L;function S(M,W){return bs(W)?(k=W,t(M,W)):k?k.impliedNodeFormat===99?l(M,W):g(M,W):t(M,W)}function w(M,W,X){return bs(W)&&(k=W),k?k.impliedNodeFormat===99?f(M,W,X):h(M,W,X):n(M,W,X)}function N(M){return M.impliedNodeFormat===99?s:d}function O(M){if(M.isDeclarationFile)return M;k=M;const W=N(M)(M);return k=void 0,R.assert(bs(W)),W}function L(M){return M.kind===308?O(M):U(M)}function U(M){return e.factory.createBundle(qt(M.sourceFiles,O),M.prepends)}}var yet=p({"src/compiler/transformers/module/node.ts"(){aa()}});function ez(e){return xs(e)||Pa(e)||Np(e)||qo(e)||Q0(e)||_v(e)||K5(e)||f4(e)||zl(e)||zg(e)||ru(e)||ua(e)||bl(e)||n1(e)||Xu(e)||sh(e)||Al(e)||iw(e)||oi(e)||gd(e)}function Iwe(e){if(Q0(e)||_v(e))return t;return zg(e)||zl(e)?s:o1(e);function t(f){const d=n(f);return d!==void 0?{diagnosticMessage:d,errorNode:e,typeName:e.name}:void 0}function n(f){return ba(e)?f.errorModuleName?f.accessibility===2?v.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:v.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:v.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:e.parent.kind===260?f.errorModuleName?f.accessibility===2?v.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:v.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:v.Public_property_0_of_exported_class_has_or_is_using_private_name_1:f.errorModuleName?v.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:v.Property_0_of_exported_interface_has_or_is_using_private_name_1}function s(f){const d=l(f);return d!==void 0?{diagnosticMessage:d,errorNode:e,typeName:e.name}:void 0}function l(f){return ba(e)?f.errorModuleName?f.accessibility===2?v.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:v.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:v.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:e.parent.kind===260?f.errorModuleName?f.accessibility===2?v.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:v.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:v.Public_method_0_of_exported_class_has_or_is_using_private_name_1:f.errorModuleName?v.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:v.Method_0_of_exported_interface_has_or_is_using_private_name_1}}function o1(e){if(xs(e)||Pa(e)||Np(e)||oi(e)||qo(e)||Al(e))return n;return Q0(e)||_v(e)?s:K5(e)||f4(e)||zl(e)||zg(e)||ru(e)||iw(e)?l:ua(e)?sp(e,e.parent)&&Ti(e.parent,8)?n:f:bl(e)?g:n1(e)?h:Xu(e)?k:sh(e)||gd(e)?S:R.assertNever(e,`Attempted to set a declaration diagnostic context for unhandled node kind: ${R.formatSyntaxKind(e.kind)}`);function t(w){if(e.kind===257||e.kind===205)return w.errorModuleName?w.accessibility===2?v.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:v.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:v.Exported_variable_0_has_or_is_using_private_name_1;if(e.kind===169||e.kind===208||e.kind===168||e.kind===166&&Ti(e.parent,8))return ba(e)?w.errorModuleName?w.accessibility===2?v.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:v.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:v.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:e.parent.kind===260||e.kind===166?w.errorModuleName?w.accessibility===2?v.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:v.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:v.Public_property_0_of_exported_class_has_or_is_using_private_name_1:w.errorModuleName?v.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:v.Property_0_of_exported_interface_has_or_is_using_private_name_1}function n(w){const N=t(w);return N!==void 0?{diagnosticMessage:N,errorNode:e,typeName:e.name}:void 0}function s(w){let N;return e.kind===175?ba(e)?N=w.errorModuleName?v.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:v.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:N=w.errorModuleName?v.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:v.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:ba(e)?N=w.errorModuleName?w.accessibility===2?v.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:v.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:v.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:N=w.errorModuleName?w.accessibility===2?v.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:v.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:v.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1,{diagnosticMessage:N,errorNode:e.name,typeName:e.name}}function l(w){let N;switch(e.kind){case 177:N=w.errorModuleName?v.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:v.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 176:N=w.errorModuleName?v.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:v.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 178:N=w.errorModuleName?v.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:v.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 171:case 170:ba(e)?N=w.errorModuleName?w.accessibility===2?v.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:v.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:v.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:e.parent.kind===260?N=w.errorModuleName?w.accessibility===2?v.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:v.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:v.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:N=w.errorModuleName?v.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:v.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;break;case 259:N=w.errorModuleName?w.accessibility===2?v.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:v.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:v.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return R.fail("This is unknown kind for signature: "+e.kind)}return{diagnosticMessage:N,errorNode:e.name||e}}function f(w){const N=d(w);return N!==void 0?{diagnosticMessage:N,errorNode:e,typeName:e.name}:void 0}function d(w){switch(e.parent.kind){case 173:return w.errorModuleName?w.accessibility===2?v.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:v.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:v.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 177:case 182:return w.errorModuleName?v.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:v.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 176:return w.errorModuleName?v.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:v.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 178:return w.errorModuleName?v.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:v.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 171:case 170:return ba(e.parent)?w.errorModuleName?w.accessibility===2?v.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:v.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:v.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:e.parent.parent.kind===260?w.errorModuleName?w.accessibility===2?v.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:v.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:v.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:w.errorModuleName?v.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:v.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;case 259:case 181:return w.errorModuleName?w.accessibility===2?v.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:v.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:v.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 175:case 174:return w.errorModuleName?w.accessibility===2?v.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:v.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:v.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return R.fail(`Unknown parent for parameter: ${R.formatSyntaxKind(e.parent.kind)}`)}}function g(){let w;switch(e.parent.kind){case 260:w=v.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 261:w=v.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 197:w=v.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 182:case 177:w=v.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 176:w=v.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 171:case 170:ba(e.parent)?w=v.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:e.parent.parent.kind===260?w=v.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:w=v.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 181:case 259:w=v.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 192:w=v.Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1;break;case 262:w=v.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return R.fail("This is unknown parent for type parameter: "+e.parent.kind)}return{diagnosticMessage:w,errorNode:e,typeName:e.name}}function h(){let w;return vu(e.parent.parent)?w=J_(e.parent)&&e.parent.token===117?v.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:e.parent.parent.name?v.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:v.extends_clause_of_exported_class_has_or_is_using_private_name_0:w=v.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1,{diagnosticMessage:w,errorNode:e,typeName:ra(e.parent.parent)}}function k(){return{diagnosticMessage:v.Import_declaration_0_is_using_private_name_1,errorNode:e,typeName:e.name}}function S(w){return{diagnosticMessage:w.errorModuleName?v.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:v.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:gd(e)?R.checkDefined(e.typeExpression):e.type,typeName:gd(e)?ra(e):e.name}}}var vet=p({"src/compiler/transformers/declarations/diagnostics.ts"(){aa()}});function Owe(e,t,n){const s=e.getCompilerOptions();return ZO(t,e,J,s,n?[n]:hr(e.getSourceFiles(),eee),[_ie],!1).diagnostics}function Lwe(e,t){const n=t.text.substring(e.pos,e.end);return nf(n,"@internal")}function fie(e,t){const n=qs(e);if(n&&n.kind===166){const l=n.parent.parameters.indexOf(n),f=l>0?n.parent.parameters[l-1]:void 0,d=t.text,g=f?Cr(Ib(d,wo(d,f.end+1,!1,!0)),Ng(d,e.pos)):Ib(d,wo(d,e.pos,!1,!0));return g&&g.length&&Lwe(ko(g),t)}const s=n&&WK(n,t);return!!Q(s,l=>Lwe(l,t))}function _ie(e){const t=()=>R.fail("Diagnostic emitted without context");let n=t,s=!0,l=!1,f=!1,d=!1,g=!1,h,k,S,w,N,O;const{factory:L}=e,U=e.getEmitHost(),M={trackSymbol:we,reportInaccessibleThisError:Ge,reportInaccessibleUniqueSymbolError:ot,reportCyclicStructureError:Qe,reportPrivateInBaseOfClassExpression:Pe,reportLikelyUnsafeImportRequiredError:tt,reportTruncationError:Je,moduleResolverHost:U,trackReferencedAmbientModule:K,trackExternalModuleSymbolOfImportTypeNode:Se,reportNonlocalAugmentation:qe,reportNonSerializableProperty:st,reportImportTypeNodeResolutionModeOverride:Ke};let W,X,Z,ue,ie,se;const V=e.getEmitResolver(),ve=e.getCompilerOptions(),{noResolve:fe,stripInternal:Ce}=ve;return gt;function _e(Y){if(Y){k=k||new Set;for(const Ze of Y)k.add(Ze)}}function K(Y,Ze){const ct=V.getTypeReferenceDirectivesForSymbol(Ze,67108863);if(H(ct))return _e(ct);const it=bn(Y);ue.set(_l(it),it)}function ge(Y){if(Y.accessibility===0){if(Y&&Y.aliasesToMakeVisible)if(!S)S=Y.aliasesToMakeVisible;else for(const Ze of Y.aliasesToMakeVisible)ip(S,Ze)}else{const Ze=n(Y);if(Ze)return Ze.typeName?e.addDiagnostic(ni(Y.errorNode||Ze.errorNode,Ze.diagnosticMessage,lu(Ze.typeName),Y.errorSymbolName,Y.errorModuleName)):e.addDiagnostic(ni(Y.errorNode||Ze.errorNode,Ze.diagnosticMessage,Y.errorSymbolName,Y.errorModuleName)),!0}return!1}function Se(Y){l||(O||(O=[])).push(Y)}function we(Y,Ze,ct){if(Y.flags&262144)return!1;const it=ge(V.isSymbolAccessible(Y,Ze,ct,!0));return _e(V.getTypeReferenceDirectivesForSymbol(Y,ct)),it}function Pe(Y){(W||X)&&e.addDiagnostic(ni(W||X,v.Property_0_of_exported_class_expression_may_not_be_private_or_protected,Y))}function le(){return W?uc(W):X&&ra(X)?uc(ra(X)):X&&Tl(X)?X.isExportEquals?"export=":"default":"(Missing)"}function ot(){(W||X)&&e.addDiagnostic(ni(W||X,v.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,le(),"unique symbol"))}function Qe(){(W||X)&&e.addDiagnostic(ni(W||X,v.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary,le()))}function Ge(){(W||X)&&e.addDiagnostic(ni(W||X,v.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,le(),"this"))}function tt(Y){(W||X)&&e.addDiagnostic(ni(W||X,v.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary,le(),Y))}function Je(){(W||X)&&e.addDiagnostic(ni(W||X,v.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed))}function qe(Y,Ze,ct){var it;const Kt=(it=Ze.declarations)==null?void 0:it.find(qr=>bn(qr)===Y),wr=hr(ct.declarations,qr=>bn(qr)!==Y);if(Kt&&wr)for(const qr of wr)e.addDiagnostic(Eo(ni(qr,v.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized),ni(Kt,v.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file)))}function st(Y){(W||X)&&e.addDiagnostic(ni(W||X,v.The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized,Y))}function Ke(){!f5()&&(W||X)&&e.addDiagnostic(ni(W||X,v.The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_feature_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next))}function We(Y,Ze){const ct=n;n=Kt=>Kt.errorNode&&ez(Kt.errorNode)?o1(Kt.errorNode)(Kt):{diagnosticMessage:Kt.errorModuleName?v.Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:v.Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit,errorNode:Kt.errorNode||Y};const it=V.getDeclarationStatementsForSourceFile(Y,UT,M,Ze);return n=ct,it}function gt(Y){if(Y.kind===308&&Y.isDeclarationFile)return Y;if(Y.kind===309){l=!0,ue=new Map,ie=new Map;let nr=!1;const dt=L.createBundle(qt(Y.sourceFiles,ce=>{if(ce.isDeclarationFile)return;if(nr=nr||ce.hasNoDefaultLib,Z=ce,h=ce,S=void 0,N=!1,w=new Map,n=t,d=!1,g=!1,jt(ce,ue),It(ce,ie),lp(ce)||hd(ce)){f=!1,s=!1;const te=Gf(ce)?L.createNodeArray(We(ce,!0)):hn(ce.statements,qi,Ks);return L.updateSourceFile(ce,[L.createModuleDeclaration([L.createModifier(136)],L.createStringLiteral(Aj(e.getEmitHost(),ce)),L.createModuleBlock(Et(L.createNodeArray(Cn(te)),ce.statements)))],!0,[],[],!1,[])}s=!0;const Be=Gf(ce)?L.createNodeArray(We(ce)):hn(ce.statements,qi,Ks);return L.updateSourceFile(ce,Cn(Be),!0,[],[],!1,[])}),fr(Y.prepends,ce=>{if(ce.kind===311){const Be=Bte(ce,"dts",Ce);return nr=nr||!!Be.hasNoDefaultLib,jt(Be,ue),_e(qt(Be.typeReferenceDirectives,te=>[te.fileName,te.resolutionMode])),It(Be,ie),Be}return ce}));dt.syntheticFileReferences=[],dt.syntheticTypeReferences=qn(),dt.syntheticLibReferences=qr(),dt.hasNoDefaultLib=nr;const ne=$i(ju(PD(Y,U,!0).declarationFilePath)),$e=wt(dt.syntheticFileReferences,ne);return ue.forEach($e),dt}s=!0,d=!1,g=!1,h=Y,Z=Y,n=t,l=!1,f=!1,N=!1,S=void 0,w=new Map,k=void 0,ue=jt(Z,new Map),ie=It(Z,new Map);const Ze=[],ct=$i(ju(PD(Y,U,!0).declarationFilePath)),it=wt(Ze,ct);let Kt;if(Gf(Z))Kt=L.createNodeArray(We(Y)),ue.forEach(it),se=hr(Kt,vx);else{const nr=hn(Y.statements,qi,Ks);Kt=Et(L.createNodeArray(Cn(nr)),Y.statements),ue.forEach(it),se=hr(Kt,vx),Fl(Y)&&(!f||d&&!g)&&(Kt=Et(L.createNodeArray([...Kt,lO(L)]),Kt))}const wr=L.updateSourceFile(Y,Kt,!0,Ze,qn(),Y.hasNoDefaultLib,qr());return wr.exportedModulesFromDeclarationEmit=O,wr;function qr(){return ao(ie.keys(),nr=>({fileName:nr,pos:-1,end:-1}))}function qn(){return k?fr(ao(k.keys()),ye):[]}function ye([nr,dt]){if(se){for(const ne of se)if(Xu(ne)&&ng(ne.moduleReference)){const $e=ne.moduleReference.expression;if(sc($e)&&$e.text===nr)return}else if(Nu(ne)&&yo(ne.moduleSpecifier)&&ne.moduleSpecifier.text===nr)return}return{fileName:nr,pos:-1,end:-1,...dt?{resolutionMode:dt}:void 0}}function wt(nr,dt){return ne=>{let $e;if(ne.isDeclarationFile)$e=ne.fileName;else{if(l&&xt(Y.sourceFiles,ne))return;const ce=PD(ne,U,!0);$e=ce.declarationFilePath||ce.jsFilePath||ne.fileName}if($e){const ce=RU(ve,Z,wc(dt,U.getCurrentDirectory(),U.getCanonicalFileName),wc($e,U.getCurrentDirectory(),U.getCanonicalFileName),U);if(!wp(ce)){_e([[ce,void 0]]);return}let Be=wC(dt,$e,U.getCurrentDirectory(),U.getCanonicalFileName,!1);if(Qs(Be,"./")&&m6(Be)&&(Be=Be.substring(2)),Qs(Be,"node_modules/")||Tw(Be))return;nr.push({pos:-1,end:-1,fileName:Be})}}}}function jt(Y,Ze){return fe||!jx(Y)&&Gf(Y)||Q(Y.referencedFiles,ct=>{const it=U.getSourceFileFromReference(Y,ct);it&&Ze.set(_l(it),it)}),Ze}function It(Y,Ze){return Q(Y.libReferenceDirectives,ct=>{U.getLibFileFromReference(ct)&&Ze.set(Fd(ct.fileName),!0)}),Ze}function er(Y){if(Y.kind===79)return Y;return Y.kind===204?L.updateArrayBindingPattern(Y,hn(Y.elements,Ze,RB)):L.updateObjectBindingPattern(Y,hn(Y.elements,Ze,qo));function Ze(ct){return ct.kind===229?ct:ct.propertyName&&Ye(ct.propertyName)&&Ye(ct.name)&&!ct.symbol.isReferenced&&!xj(ct.propertyName)?L.updateBindingElement(ct,ct.dotDotDotToken,void 0,ct.propertyName,mt(ct)?ct.initializer:void 0):L.updateBindingElement(ct,ct.dotDotDotToken,ct.propertyName,er(ct.name),mt(ct)?ct.initializer:void 0)}}function ft(Y,Ze,ct){let it;N||(it=n,n=o1(Y));const Kt=L.updateParameterDeclaration(Y,Tet(Y,Ze),Y.dotDotDotToken,er(Y.name),V.isOptionalParameter(Y)?Y.questionToken||L.createToken(57):void 0,dr(Y,ct||Y.type,!0),xr(Y));return N||(n=it),Kt}function mt(Y){return xet(Y)&&V.isLiteralConstDeclaration(qs(Y))}function xr(Y){if(mt(Y))return V.createLiteralConstValue(qs(Y),M)}function dr(Y,Ze,ct){if(!ct&&R_(Y,8)||mt(Y))return;const it=Y.kind===166&&(V.isRequiredInitializedParameter(Y)||V.isOptionalUninitializedParameterProperty(Y));if(Ze&&!it)return yt(Ze,Nn,ps);if(!qs(Y))return Ze?yt(Ze,Nn,ps):L.createKeywordTypeNode(131);if(Y.kind===175)return L.createKeywordTypeNode(131);W=Y.name;let Kt;if(N||(Kt=n,n=o1(Y)),Y.kind===257||Y.kind===205)return wr(V.createTypeOfDeclaration(Y,h,UT,M));if(Y.kind===166||Y.kind===169||Y.kind===168)return Np(Y)||!Y.initializer?wr(V.createTypeOfDeclaration(Y,h,UT,M,it)):wr(V.createTypeOfDeclaration(Y,h,UT,M,it)||V.createTypeOfExpression(Y.initializer,h,UT,M));return wr(V.createReturnTypeOfSignatureDeclaration(Y,h,UT,M));function wr(qr){return W=void 0,N||(n=Kt),qr||L.createKeywordTypeNode(131)}}function rn(Y){switch(Y=qs(Y),Y.kind){case 259:case 264:case 261:case 260:case 262:case 263:return!V.isDeclarationVisible(Y);case 257:return!Gr(Y);case 268:case 269:case 275:case 274:return!1;case 172:return!0}return!1}function un(Y){var Ze;if(Y.body)return!0;const ct=(Ze=Y.symbol.declarations)==null?void 0:Ze.filter(it=>ru(it)&&!it.body);return!ct||ct.indexOf(Y)===ct.length-1}function Gr(Y){return yu(Y)?!1:xa(Y.name)?Oe(Y.name.elements,Gr):V.isDeclarationVisible(Y)}function mr(Y,Ze,ct){if(R_(Y,8))return L.createNodeArray();const it=qt(Ze,Kt=>ft(Kt,ct));return it?L.createNodeArray(it,Ze.hasTrailingComma):L.createNodeArray()}function Fn(Y,Ze){let ct;if(!Ze){const it=xT(Y);it&&(ct=[ft(it)])}if(nd(Y)){let it;if(!Ze){const Kt=xP(Y);if(Kt){const wr=pe(Y,V.getAllAccessorDeclarations(Y));it=ft(Kt,void 0,wr)}}it||(it=L.createParameterDeclaration(void 0,void 0,"value")),ct=$r(ct,it)}return L.createNodeArray(ct||pt)}function ts(Y,Ze){return R_(Y,8)?void 0:hn(Ze,Nn,bl)}function ws(Y){return bs(Y)||sh(Y)||Pl(Y)||vu(Y)||Yf(Y)||Sa(Y)||iw(Y)||nD(Y)}function Es(Y,Ze){const ct=V.isEntityNameVisible(Y,Ze);ge(ct),_e(V.getTypeReferenceDirectivesForEntityName(Y))}function ii(Y,Ze){return Ep(Y)&&Ep(Ze)&&(Y.jsDoc=Ze.jsDoc),Du(Y,eg(Ze))}function Rt(Y,Ze){if(Ze){if(f=f||Y.kind!==264&&Y.kind!==202,sc(Ze))if(l){const ct=U2e(e.getEmitHost(),V,Y);if(ct)return L.createStringLiteral(ct)}else{const ct=V.getSymbolOfExternalModuleSpecifier(Ze);ct&&(O||(O=[])).push(ct)}return Ze}}function Rr(Y){if(V.isDeclarationVisible(Y))if(Y.moduleReference.kind===280){const Ze=pP(Y);return L.updateImportEqualsDeclaration(Y,Y.modifiers,Y.isTypeOnly,Y.name,L.updateExternalModuleReference(Y.moduleReference,Rt(Y,Ze)))}else{const Ze=n;return n=o1(Y),Es(Y.moduleReference,h),n=Ze,Y}}function rr(Y){if(!Y.importClause)return L.updateImportDeclaration(Y,Y.modifiers,Y.importClause,Rt(Y,Y.moduleSpecifier),Pr(Y.assertClause));const Ze=Y.importClause&&Y.importClause.name&&V.isDeclarationVisible(Y.importClause)?Y.importClause.name:void 0;if(!Y.importClause.namedBindings)return Ze&&L.updateImportDeclaration(Y,Y.modifiers,L.updateImportClause(Y.importClause,Y.importClause.isTypeOnly,Ze,void 0),Rt(Y,Y.moduleSpecifier),Pr(Y.assertClause));if(Y.importClause.namedBindings.kind===271){const it=V.isDeclarationVisible(Y.importClause.namedBindings)?Y.importClause.namedBindings:void 0;return Ze||it?L.updateImportDeclaration(Y,Y.modifiers,L.updateImportClause(Y.importClause,Y.importClause.isTypeOnly,Ze,it),Rt(Y,Y.moduleSpecifier),Pr(Y.assertClause)):void 0}const ct=fr(Y.importClause.namedBindings.elements,it=>V.isDeclarationVisible(it)?it:void 0);if(ct&&ct.length||Ze)return L.updateImportDeclaration(Y,Y.modifiers,L.updateImportClause(Y.importClause,Y.importClause.isTypeOnly,Ze,ct&&ct.length?L.updateNamedImports(Y.importClause.namedBindings,ct):void 0),Rt(Y,Y.moduleSpecifier),Pr(Y.assertClause));if(V.isImportRequiredByAugmentation(Y))return L.updateImportDeclaration(Y,Y.modifiers,void 0,Rt(Y,Y.moduleSpecifier),Pr(Y.assertClause))}function Pr(Y){if(xw(Y)!==void 0)return f5()||e.addDiagnostic(ni(Y,v.resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next)),Y}function Cn(Y){for(;H(S);){const ct=S.shift();if(!QB(ct))return R.fail(`Late replaced statement was found which is not handled by the declaration transformer!: ${R.formatSyntaxKind(ct.kind)}`);const it=s;s=ct.parent&&bs(ct.parent)&&!(Fl(ct.parent)&&l);const Kt=Tr(ct);s=it,w.set(_l(ct),Kt)}return hn(Y,Ze,Ks);function Ze(ct){if(QB(ct)){const it=_l(ct);if(w.has(it)){const Kt=w.get(it);return w.delete(it),Kt&&((pa(Kt)?Oe(Kt,BB):BB(Kt))&&(d=!0),bs(ct.parent)&&(pa(Kt)?Oe(Kt,T7):T7(Kt))&&(f=!0)),Kt}}return ct}}function Nn(Y){if(Pt(Y)||lf(Y)&&(rn(Y)||hv(Y)&&!V.isLateBound(qs(Y)))||Sa(Y)&&V.isImplementationOfOverload(Y)||QSe(Y))return;let Ze;ws(Y)&&(Ze=h,h=Y);const ct=n,it=ez(Y),Kt=N;let wr=(Y.kind===184||Y.kind===197)&&Y.parent.kind!==262;if((zl(Y)||zg(Y))&&R_(Y,8))return Y.symbol&&Y.symbol.declarations&&Y.symbol.declarations[0]!==Y?void 0:qr(L.createPropertyDeclaration(kt(Y),Y.name,void 0,void 0,void 0));if(it&&!N&&(n=o1(Y)),tD(Y)&&Es(Y.exprName,h),wr&&(N=!0),Cet(Y))switch(Y.kind){case 230:{(ap(Y.expression)||El(Y.expression))&&Es(Y.expression,h);const qn=an(Y,Nn,e);return qr(L.updateExpressionWithTypeArguments(qn,qn.expression,qn.typeArguments))}case 180:{Es(Y.typeName,h);const qn=an(Y,Nn,e);return qr(L.updateTypeReferenceNode(qn,qn.typeName,qn.typeArguments))}case 177:return qr(L.updateConstructSignature(Y,ts(Y,Y.typeParameters),mr(Y,Y.parameters),dr(Y,Y.type)));case 173:{const qn=L.createConstructorDeclaration(kt(Y),mr(Y,Y.parameters,0),void 0);return qr(qn)}case 171:{if(as(Y.name))return qr(void 0);const qn=L.createMethodDeclaration(kt(Y),void 0,Y.name,Y.questionToken,ts(Y,Y.typeParameters),mr(Y,Y.parameters),dr(Y,Y.type),void 0);return qr(qn)}case 174:{if(as(Y.name))return qr(void 0);const qn=pe(Y,V.getAllAccessorDeclarations(Y));return qr(L.updateGetAccessorDeclaration(Y,kt(Y),Y.name,Fn(Y,R_(Y,8)),dr(Y,qn),void 0))}case 175:return as(Y.name)?qr(void 0):qr(L.updateSetAccessorDeclaration(Y,kt(Y),Y.name,Fn(Y,R_(Y,8)),void 0));case 169:return as(Y.name)?qr(void 0):qr(L.updatePropertyDeclaration(Y,kt(Y),Y.name,Y.questionToken,dr(Y,Y.type),xr(Y)));case 168:return as(Y.name)?qr(void 0):qr(L.updatePropertySignature(Y,kt(Y),Y.name,Y.questionToken,dr(Y,Y.type)));case 170:return as(Y.name)?qr(void 0):qr(L.updateMethodSignature(Y,kt(Y),Y.name,Y.questionToken,ts(Y,Y.typeParameters),mr(Y,Y.parameters),dr(Y,Y.type)));case 176:return qr(L.updateCallSignature(Y,ts(Y,Y.typeParameters),mr(Y,Y.parameters),dr(Y,Y.type)));case 178:return qr(L.updateIndexSignature(Y,kt(Y),mr(Y,Y.parameters),yt(Y.type,Nn,ps)||L.createKeywordTypeNode(131)));case 257:return xa(Y.name)?Xn(Y.name):(wr=!0,N=!0,qr(L.updateVariableDeclaration(Y,Y.name,void 0,dr(Y,Y.type),xr(Y))));case 165:return cs(Y)&&(Y.default||Y.constraint)?qr(L.updateTypeParameterDeclaration(Y,Y.modifiers,Y.name,void 0,void 0)):qr(an(Y,Nn,e));case 191:{const qn=yt(Y.checkType,Nn,ps),ye=yt(Y.extendsType,Nn,ps),wt=h;h=Y.trueType;const nr=yt(Y.trueType,Nn,ps);h=wt;const dt=yt(Y.falseType,Nn,ps);return R.assert(qn),R.assert(ye),R.assert(nr),R.assert(dt),qr(L.updateConditionalTypeNode(Y,qn,ye,nr,dt))}case 181:return qr(L.updateFunctionTypeNode(Y,hn(Y.typeParameters,Nn,bl),mr(Y,Y.parameters),R.checkDefined(yt(Y.type,Nn,ps))));case 182:return qr(L.updateConstructorTypeNode(Y,kt(Y),hn(Y.typeParameters,Nn,bl),mr(Y,Y.parameters),R.checkDefined(yt(Y.type,Nn,ps))));case 202:return Fb(Y)?qr(L.updateImportTypeNode(Y,L.updateLiteralTypeNode(Y.argument,Rt(Y,Y.argument.literal)),Y.assertions,Y.qualifier,hn(Y.typeArguments,Nn,ps),Y.isTypeOf)):qr(Y);default:R.assertNever(Y,`Attempted to process unhandled node kind: ${R.formatSyntaxKind(Y.kind)}`)}return _4(Y)&&zc(Z,Y.pos).line===zc(Z,Y.end).line&&Pn(Y,1),qr(an(Y,Nn,e));function qr(qn){return qn&&it&&hv(Y)&&Fe(Y),ws(Y)&&(h=Ze),it&&!N&&(n=ct),wr&&(N=Kt),qn===Y?qn:qn&&di(ii(qn,Y),Y)}}function cs(Y){return Y.parent.kind===171&&R_(Y.parent,8)}function qi(Y){if(!ket(Y)||Pt(Y))return;switch(Y.kind){case 275:return bs(Y.parent)&&(f=!0),g=!0,L.updateExportDeclaration(Y,Y.modifiers,Y.isTypeOnly,Y.exportClause,Rt(Y,Y.moduleSpecifier),xw(Y.assertClause)?Y.assertClause:void 0);case 274:{if(bs(Y.parent)&&(f=!0),g=!0,Y.expression.kind===79)return Y;{const ct=L.createUniqueName("_default",16);n=()=>({diagnosticMessage:v.Default_export_of_the_module_has_or_is_using_private_name_0,errorNode:Y}),X=Y;const it=L.createVariableDeclaration(ct,void 0,V.createTypeOfExpression(Y.expression,Y,UT,M),void 0);X=void 0;const Kt=L.createVariableStatement(s?[L.createModifier(136)]:[],L.createVariableDeclarationList([it],2));return ii(Kt,Y),z5(Y),[Kt,L.updateExportAssignment(Y,Y.modifiers,ct)]}}}const Ze=Tr(Y);return w.set(_l(Y),Ze),Y}function en(Y){if(Xu(Y)||R_(Y,1024)||!Qd(Y))return Y;const Ze=L.createModifiersFromModifierFlags(Pf(Y)&258046);return L.updateModifiers(Y,Ze)}function Tr(Y){if(S)for(;$R(S,Y););if(Pt(Y))return;switch(Y.kind){case 268:return Rr(Y);case 269:return rr(Y)}if(lf(Y)&&rn(Y)||Sa(Y)&&V.isImplementationOfOverload(Y))return;let Ze;ws(Y)&&(Ze=h,h=Y);const ct=ez(Y),it=n;ct&&(n=o1(Y));const Kt=s;switch(Y.kind){case 262:{s=!1;const qr=wr(L.updateTypeAliasDeclaration(Y,kt(Y),Y.name,hn(Y.typeParameters,Nn,bl),R.checkDefined(yt(Y.type,Nn,ps))));return s=Kt,qr}case 261:return wr(L.updateInterfaceDeclaration(Y,kt(Y),Y.name,ts(Y,Y.typeParameters),xe(Y.heritageClauses),hn(Y.members,Nn,dx)));case 259:{const qr=wr(L.updateFunctionDeclaration(Y,kt(Y),void 0,Y.name,ts(Y,Y.typeParameters),mr(Y,Y.parameters),dr(Y,Y.type),void 0));if(qr&&V.isExpandoFunctionDeclaration(Y)&&un(Y)){const qn=V.getPropertiesOfContainerFunction(Y),ye=sg.createModuleDeclaration(void 0,qr.name||L.createIdentifier("_default"),L.createModuleBlock([]),16);go(ye,h),ye.locals=Ma(qn),ye.symbol=qn[0].parent;const wt=[];let nr=fr(qn,te=>{if(!te.valueDeclaration||!oi(te.valueDeclaration))return;n=o1(te.valueDeclaration);const $t=V.createTypeOfDeclaration(te.valueDeclaration,ye,UT,M);n=it;const At=Ds(te.escapedName),St=JC(At),Dr=St?L.getGeneratedNameForNode(te.valueDeclaration):L.createIdentifier(At);St&&wt.push([Dr,At]);const yn=L.createVariableDeclaration(Dr,void 0,$t,void 0);return L.createVariableStatement(St?void 0:[L.createToken(93)],L.createVariableDeclarationList([yn]))});wt.length?nr.push(L.createExportDeclaration(void 0,!1,L.createNamedExports(qt(wt,([te,$t])=>L.createExportSpecifier(!1,te,$t))))):nr=fr(nr,te=>L.updateModifiers(te,0));const dt=L.createModuleDeclaration(kt(Y),Y.name,L.createModuleBlock(nr),16);if(!R_(qr,1024))return[qr,dt];const ne=L.createModifiersFromModifierFlags(Pf(qr)&-1026|2),$e=L.updateFunctionDeclaration(qr,ne,void 0,qr.name,qr.typeParameters,qr.parameters,qr.type,void 0),ce=L.updateModuleDeclaration(dt,ne,dt.name,dt.body),Be=L.createExportAssignment(void 0,!1,dt.name);return bs(Y.parent)&&(f=!0),g=!0,[$e,ce,Be]}else return qr}case 264:{s=!1;const qr=Y.body;if(qr&&qr.kind===265){const qn=d,ye=g;g=!1,d=!1;const wt=hn(qr.statements,qi,Ks);let nr=Cn(wt);Y.flags&16777216&&(d=!1),!Km(Y)&&!Ne(nr)&&!g&&(d?nr=L.createNodeArray([...nr,lO(L)]):nr=hn(nr,en,Ks));const dt=L.updateModuleBlock(qr,nr);s=Kt,d=qn,g=ye;const ne=kt(Y);return wr(L.updateModuleDeclaration(Y,ne,hT(Y)?Rt(Y,Y.name):Y.name,dt))}else{s=Kt;const qn=kt(Y);s=!1,yt(qr,qi);const ye=_l(qr),wt=w.get(ye);return w.delete(ye),wr(L.updateModuleDeclaration(Y,qn,Y.name,wt))}}case 260:{W=Y.name,X=Y;const qr=L.createNodeArray(kt(Y)),qn=ts(Y,Y.typeParameters),ye=Bg(Y);let wt;if(ye){const Be=n;wt=Hl(mn(ye.parameters,te=>{if(!Ti(te,16476)||Pt(te))return;if(n=o1(te),te.name.kind===79)return ii(L.createPropertyDeclaration(kt(te),te.name,te.questionToken,dr(te,te.type),xr(te)),te);return $t(te.name);function $t(At){let St;for(const Dr of At.elements)yu(Dr)||(xa(Dr.name)&&(St=Cr(St,$t(Dr.name))),St=St||[],St.push(L.createPropertyDeclaration(kt(te),Dr.name,void 0,dr(Dr,void 0),void 0)));return St}})),n=Be}const dt=Oe(Y.members,Be=>!!Be.name&&as(Be.name))?[L.createPropertyDeclaration(void 0,L.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:void 0,ne=Cr(Cr(dt,wt),hn(Y.members,Nn,Eu)),$e=L.createNodeArray(ne),ce=eh(Y);if(ce&&!El(ce.expression)&&ce.expression.kind!==104){const Be=Y.name?Ds(Y.name.escapedText):"default",te=L.createUniqueName(`${Be}_base`,16);n=()=>({diagnosticMessage:v.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,errorNode:ce,typeName:Y.name});const $t=L.createVariableDeclaration(te,void 0,V.createTypeOfExpression(ce.expression,Y,UT,M),void 0),At=L.createVariableStatement(s?[L.createModifier(136)]:[],L.createVariableDeclarationList([$t],2)),St=L.createNodeArray(qt(Y.heritageClauses,Dr=>{if(Dr.token===94){const yn=n;n=o1(Dr.types[0]);const Di=L.updateHeritageClause(Dr,qt(Dr.types,Yi=>L.updateExpressionWithTypeArguments(Yi,te,hn(Yi.typeArguments,Nn,ps))));return n=yn,Di}return L.updateHeritageClause(Dr,hn(L.createNodeArray(hr(Dr.types,yn=>El(yn.expression)||yn.expression.kind===104)),Nn,n1))}));return[At,wr(L.updateClassDeclaration(Y,qr,Y.name,qn,St,$e))]}else{const Be=xe(Y.heritageClauses);return wr(L.updateClassDeclaration(Y,qr,Y.name,qn,Be,$e))}}case 240:return wr(nn(Y));case 263:return wr(L.updateEnumDeclaration(Y,L.createNodeArray(kt(Y)),Y.name,L.createNodeArray(fr(Y.members,qr=>{if(Pt(qr))return;const qn=V.getConstantValue(qr);return ii(L.updateEnumMember(qr,qr.name,qn!==void 0?typeof qn=="string"?L.createStringLiteral(qn):L.createNumericLiteral(qn):void 0),qr)}))))}return R.assertNever(Y,`Unhandled top-level node in declaration emit: ${R.formatSyntaxKind(Y.kind)}`);function wr(qr){return ws(Y)&&(h=Ze),ct&&(n=it),Y.kind===264&&(s=Kt),qr===Y?qr:(X=void 0,W=void 0,qr&&di(ii(qr,Y),Y))}}function nn(Y){if(!Q(Y.declarationList.declarations,Gr))return;const Ze=hn(Y.declarationList.declarations,Nn,xs);if(H(Ze))return L.updateVariableStatement(Y,L.createNodeArray(kt(Y)),L.updateVariableDeclarationList(Y.declarationList,Ze))}function Xn(Y){return Vn(fr(Y.elements,Ze=>_i(Ze)))}function _i(Y){if(Y.kind!==229&&Y.name)return Gr(Y)?xa(Y.name)?Xn(Y.name):L.createVariableDeclaration(Y.name,void 0,dr(Y,void 0),void 0):void 0}function Fe(Y){let Ze;N||(Ze=n,n=Iwe(Y)),W=Y.name,R.assert(V.isLateBound(qs(Y)));const it=Y.name.expression;Es(it,h),N||(n=Ze),W=void 0}function Pt(Y){return!!Ce&&!!Y&&fie(Y,Z)}function Ht(Y){return Tl(Y)||Uu(Y)}function Ne(Y){return Oe(Y,Ht)}function kt(Y){const Ze=Pf(Y),ct=Te(Y);return Ze===ct?qne(Y.modifiers,it=>Pi(it,ja),ja):L.createModifiersFromModifierFlags(ct)}function Te(Y){let Ze=241147,ct=s&&!bet(Y)?2:0;const it=Y.parent.kind===308;return(!it||l&&it&&Fl(Y.parent))&&(Ze^=2,ct=0),Mwe(Y,Ze,ct)}function pe(Y,Ze){let ct=pie(Y);return!ct&&Y!==Ze.firstAccessor&&(ct=pie(Ze.firstAccessor),n=o1(Ze.firstAccessor)),!ct&&Ze.secondAccessor&&Y!==Ze.secondAccessor&&(ct=pie(Ze.secondAccessor),n=o1(Ze.secondAccessor)),ct}function xe(Y){return L.createNodeArray(hr(qt(Y,Ze=>L.updateHeritageClause(Ze,hn(L.createNodeArray(hr(Ze.types,ct=>El(ct.expression)||Ze.token===94&&ct.expression.kind===104)),Nn,n1))),Ze=>Ze.types&&!!Ze.types.length))}}function bet(e){return e.kind===261}function Tet(e,t,n){return J.createModifiersFromModifierFlags(Mwe(e,t,n))}function Mwe(e,t=258043,n=0){let s=Pf(e)&t|n;return s&1024&&!(s&1)&&(s^=1),s&1024&&s&2&&(s^=2),s}function pie(e){if(e)return e.kind===174?e.type:e.parameters.length>0?e.parameters[0].type:void 0}function xet(e){switch(e.kind){case 169:case 168:return!R_(e,8);case 166:case 257:return!0}return!1}function ket(e){switch(e.kind){case 259:case 264:case 268:case 261:case 260:case 262:case 263:case 240:case 269:case 275:case 274:return!0}return!1}function Cet(e){switch(e.kind){case 177:case 173:case 171:case 174:case 175:case 169:case 168:case 170:case 176:case 178:case 257:case 165:case 230:case 180:case 191:case 181:case 182:case 202:return!0}return!1}var UT,wet=p({"src/compiler/transformers/declarations.ts"(){aa(),Rne(),UT=531469}});function Eet(e){switch(e){case 99:case 7:case 6:case 5:return uie;case 4:return Dwe;case 100:case 199:return Nwe;default:return lie}}function die(e,t,n){return{scriptTransformers:Aet(e,t,n),declarationTransformers:Pet(t)}}function Aet(e,t,n){if(n)return pt;const s=Io(e),l=Hu(e),f=C5(e),d=[];return Oi(d,t&&qt(t.before,Rwe)),d.push(uwe),e.experimentalDecorators?d.push(dwe):(s<99||!f)&&d.push(mwe),d.push(_we),Yee(e)&&d.push(Swe),s<99&&d.push(Twe),s<8&&d.push(bwe),s<7&&d.push(vwe),s<6&&d.push(ywe),s<5&&d.push(gwe),s<4&&d.push(hwe),s<3&&d.push(kwe),s<2&&(d.push(wwe),d.push(Awe)),d.push(Eet(l)),s<1&&d.push(Ewe),Oi(d,t&&qt(t.after,Rwe)),d}function Pet(e){const t=[];return t.push(_ie),Oi(t,e&&qt(e.afterDeclarations,Net)),t}function Det(e){return t=>fre(t)?e.transformBundle(t):e.transformSourceFile(t)}function Fwe(e,t){return n=>{const s=e(n);return typeof s=="function"?t(n,s):Det(s)}}function Rwe(e){return Fwe(e,Yd)}function Net(e){return Fwe(e,(t,n)=>n)}function ED(e,t){return t}function YO(e,t,n){n(e,t)}function ZO(e,t,n,s,l,f,d){var g,h;const k=new Array(361);let S,w,N,O=0,L=[],U=[],M=[],W=[],X=0,Z=!1,ue=[],ie=0,se,V,ve=ED,fe=YO,Ce=0;const _e=[],K={factory:n,getCompilerOptions:()=>s,getEmitResolver:()=>e,getEmitHost:()=>t,getEmitHelperFactory:h_(()=>OSe(K)),startLexicalEnvironment:We,suspendLexicalEnvironment:gt,resumeLexicalEnvironment:jt,endLexicalEnvironment:It,setLexicalEnvironmentFlags:er,getLexicalEnvironmentFlags:ft,hoistVariableDeclaration:qe,hoistFunctionDeclaration:st,addInitializationStatement:Ke,startBlockScope:mt,endBlockScope:xr,addBlockScopedVariable:dr,requestEmitHelper:rn,readEmitHelpers:un,enableSubstitution:le,enableEmitNotification:Ge,isSubstitutionEnabled:ot,isEmitNotificationEnabled:tt,get onSubstituteNode(){return ve},set onSubstituteNode(mr){R.assert(Ce<1,"Cannot modify transformation hooks after initialization has completed."),R.assert(mr!==void 0,"Value must not be 'undefined'"),ve=mr},get onEmitNode(){return fe},set onEmitNode(mr){R.assert(Ce<1,"Cannot modify transformation hooks after initialization has completed."),R.assert(mr!==void 0,"Value must not be 'undefined'"),fe=mr},addDiagnostic(mr){_e.push(mr)}};for(const mr of l)$te(bn(qs(mr)));Uc("beforeTransform");const ge=f.map(mr=>mr(K)),Se=mr=>{for(const Fn of ge)mr=Fn(mr);return mr};Ce=1;const we=[];for(const mr of l)(g=Hi)==null||g.push(Hi.Phase.Emit,"transformNodes",mr.kind===308?{path:mr.path}:{kind:mr.kind,pos:mr.pos,end:mr.end}),we.push((d?Se:Pe)(mr)),(h=Hi)==null||h.pop();return Ce=2,Uc("afterTransform"),Qp("transformTime","beforeTransform","afterTransform"),{transformed:we,substituteNode:Qe,emitNodeWithNotification:Je,isEmitNotificationEnabled:tt,dispose:Gr,diagnostics:_e};function Pe(mr){return mr&&(!bs(mr)||!mr.isDeclarationFile)?Se(mr):mr}function le(mr){R.assert(Ce<2,"Cannot modify the transformation context after transformation has completed."),k[mr]|=1}function ot(mr){return(k[mr.kind]&1)!==0&&(Wa(mr)&8)===0}function Qe(mr,Fn){return R.assert(Ce<3,"Cannot substitute a node after the result is disposed."),Fn&&ot(Fn)&&ve(mr,Fn)||Fn}function Ge(mr){R.assert(Ce<2,"Cannot modify the transformation context after transformation has completed."),k[mr]|=2}function tt(mr){return(k[mr.kind]&2)!==0||(Wa(mr)&4)!==0}function Je(mr,Fn,ts){R.assert(Ce<3,"Cannot invoke TransformationResult callbacks after the result is disposed."),Fn&&(tt(Fn)?fe(mr,Fn,ts):ts(mr,Fn))}function qe(mr){R.assert(Ce>0,"Cannot modify the lexical environment during initialization."),R.assert(Ce<2,"Cannot modify the lexical environment after transformation has completed.");const Fn=Pn(n.createVariableDeclaration(mr),128);S?S.push(Fn):S=[Fn],O&1&&(O|=2)}function st(mr){R.assert(Ce>0,"Cannot modify the lexical environment during initialization."),R.assert(Ce<2,"Cannot modify the lexical environment after transformation has completed."),Pn(mr,2097152),w?w.push(mr):w=[mr]}function Ke(mr){R.assert(Ce>0,"Cannot modify the lexical environment during initialization."),R.assert(Ce<2,"Cannot modify the lexical environment after transformation has completed."),Pn(mr,2097152),N?N.push(mr):N=[mr]}function We(){R.assert(Ce>0,"Cannot modify the lexical environment during initialization."),R.assert(Ce<2,"Cannot modify the lexical environment after transformation has completed."),R.assert(!Z,"Lexical environment is suspended."),L[X]=S,U[X]=w,M[X]=N,W[X]=O,X++,S=void 0,w=void 0,N=void 0,O=0}function gt(){R.assert(Ce>0,"Cannot modify the lexical environment during initialization."),R.assert(Ce<2,"Cannot modify the lexical environment after transformation has completed."),R.assert(!Z,"Lexical environment is already suspended."),Z=!0}function jt(){R.assert(Ce>0,"Cannot modify the lexical environment during initialization."),R.assert(Ce<2,"Cannot modify the lexical environment after transformation has completed."),R.assert(Z,"Lexical environment is not suspended."),Z=!1}function It(){R.assert(Ce>0,"Cannot modify the lexical environment during initialization."),R.assert(Ce<2,"Cannot modify the lexical environment after transformation has completed."),R.assert(!Z,"Lexical environment is suspended.");let mr;if(S||w||N){if(w&&(mr=[...w]),S){const Fn=n.createVariableStatement(void 0,n.createVariableDeclarationList(S));Pn(Fn,2097152),mr?mr.push(Fn):mr=[Fn]}N&&(mr?mr=[...mr,...N]:mr=[...N])}return X--,S=L[X],w=U[X],N=M[X],O=W[X],X===0&&(L=[],U=[],M=[],W=[]),mr}function er(mr,Fn){O=Fn?O|mr:O&~mr}function ft(){return O}function mt(){R.assert(Ce>0,"Cannot start a block scope during initialization."),R.assert(Ce<2,"Cannot start a block scope after transformation has completed."),ue[ie]=se,ie++,se=void 0}function xr(){R.assert(Ce>0,"Cannot end a block scope during initialization."),R.assert(Ce<2,"Cannot end a block scope after transformation has completed.");const mr=Oe(se)?[n.createVariableStatement(void 0,n.createVariableDeclarationList(se.map(Fn=>n.createVariableDeclaration(Fn)),1))]:void 0;return ie--,se=ue[ie],ie===0&&(ue=[]),mr}function dr(mr){R.assert(ie>0,"Cannot add a block scoped variable outside of an iteration body."),(se||(se=[])).push(mr)}function rn(mr){if(R.assert(Ce>0,"Cannot modify the transformation context during initialization."),R.assert(Ce<2,"Cannot modify the transformation context after transformation has completed."),R.assert(!mr.scoped,"Cannot request a scoped emit helper."),mr.dependencies)for(const Fn of mr.dependencies)rn(Fn);V=$r(V,mr)}function un(){R.assert(Ce>0,"Cannot modify the transformation context during initialization."),R.assert(Ce<2,"Cannot modify the transformation context after transformation has completed.");const mr=V;return V=void 0,mr}function Gr(){if(Ce<3){for(const mr of l)$te(bn(qs(mr)));S=void 0,L=void 0,w=void 0,U=void 0,ve=void 0,fe=void 0,V=void 0,Ce=3}}}var mie,qy,Iet=p({"src/compiler/transformer.ts"(){aa(),oT(),mie={scriptTransformers:pt,declarationTransformers:pt},qy={factory:J,getCompilerOptions:()=>({}),getEmitResolver:ga,getEmitHost:ga,getEmitHelperFactory:ga,startLexicalEnvironment:La,resumeLexicalEnvironment:La,suspendLexicalEnvironment:La,endLexicalEnvironment:Pb,setLexicalEnvironmentFlags:La,getLexicalEnvironmentFlags:()=>0,hoistVariableDeclaration:La,hoistFunctionDeclaration:La,addInitializationStatement:La,startBlockScope:La,endBlockScope:Pb,addBlockScopedVariable:La,requestEmitHelper:La,readEmitHelpers:ga,enableSubstitution:La,enableEmitNotification:La,isSubstitutionEnabled:ga,isEmitNotificationEnabled:ga,onSubstituteNode:ED,onEmitNode:YO,addDiagnostic:La}}});function Bwe(e){return Gl(e,".tsbuildinfo")}function hie(e,t,n,s=!1,l,f){const d=pa(n)?n:wee(e,n,s),g=e.getCompilerOptions();if(Ec(g)){const h=e.getPrependNodes();if(d.length||h.length){const k=J.createBundle(d,h),S=t(PD(k,e,s),k);if(S)return S}}else{if(!l)for(const h of d){const k=t(PD(h,e,s),h);if(k)return k}if(f){const h=c1(g);if(h)return t({buildInfoPath:h},void 0)}}}function c1(e){const t=e.configFilePath;if(!x5(e))return;if(e.tsBuildInfoFile)return e.tsBuildInfoFile;const n=Ec(e);let s;if(n)s=B_(n);else{if(!t)return;const l=B_(t);s=e.outDir?e.rootDir?iv(e.outDir,Uh(e.rootDir,l,!0)):_s(e.outDir,sf(l)):l}return s+".tsbuildinfo"}function AD(e,t){const n=Ec(e),s=e.emitDeclarationOnly?void 0:n,l=s&&jwe(s,e),f=t||Wd(e)?B_(n)+".d.ts":void 0,d=f&&Jj(e)?f+".map":void 0,g=c1(e);return{jsFilePath:s,sourceMapFilePath:l,declarationFilePath:f,declarationMapPath:d,buildInfoPath:g}}function PD(e,t,n){const s=t.getCompilerOptions();if(e.kind===309)return AD(s,n);{const l=z2e(e.fileName,t,gie(e.fileName,s)),f=hd(e),d=f&&lx(e.fileName,l,t.getCurrentDirectory(),!t.useCaseSensitiveFileNames())===0,g=s.emitDeclarationOnly||d?void 0:l,h=!g||hd(e)?void 0:jwe(g,s),k=n||Wd(s)&&!f?V2e(e.fileName,t):void 0,S=k&&Jj(s)?k+".map":void 0;return{jsFilePath:g,sourceMapFilePath:h,declarationFilePath:k,declarationMapPath:S,buildInfoPath:void 0}}}function jwe(e,t){return t.sourceMap&&!t.inlineSourceMap?e+".map":void 0}function gie(e,t){return Gl(e,".json")?".json":t.jsx===1&&cu(e,[".jsx",".tsx"])?".jsx":cu(e,[".mts",".mjs"])?".mjs":cu(e,[".cts",".cjs"])?".cjs":".js"}function Jwe(e,t,n,s,l){return s?iv(s,Uh(l?l():ND(t,n),e,n)):e}function DD(e,t,n,s){return ET(Jwe(e,t,n,t.options.declarationDir||t.options.outDir,s),kee(e))}function Uwe(e,t,n,s){if(t.options.emitDeclarationOnly)return;const l=Gl(e,".json"),f=ET(Jwe(e,t,n,t.options.outDir,s),gie(e,t.options));return!l||lx(e,f,R.checkDefined(t.options.configFilePath),n)!==0?f:void 0}function zwe(){let e;return{addOutput:t,getOutputs:n};function t(s){s&&(e||(e=[])).push(s)}function n(){return e||pt}}function Vwe(e,t){const{jsFilePath:n,sourceMapFilePath:s,declarationFilePath:l,declarationMapPath:f,buildInfoPath:d}=AD(e.options,!1);t(n),t(s),t(l),t(f),t(d)}function $we(e,t,n,s,l){if(s_(t))return;const f=Uwe(t,e,n,l);if(s(f),!Gl(t,".json")&&(f&&e.options.sourceMap&&s(`${f}.map`),Wd(e.options))){const d=DD(t,e,n,l);s(d),e.options.declarationMap&&s(`${d}.map`)}}function KO(e,t,n,s,l){let f;return e.rootDir?(f=oa(e.rootDir,n),l==null||l(e.rootDir)):e.composite&&e.configFilePath?(f=$i(ju(e.configFilePath)),l==null||l(f)):f=Kwe(t(),n,s),f&&f[f.length-1]!==hc&&(f+=hc),f}function ND({options:e,fileNames:t},n){return KO(e,()=>hr(t,s=>!(e.noEmitForJsFiles&&cu(s,HP))&&!s_(s)),$i(ju(R.checkDefined(e.configFilePath))),qu(!n))}function tz(e,t){const{addOutput:n,getOutputs:s}=zwe();if(Ec(e.options))Vwe(e,n);else{const l=h_(()=>ND(e,t));for(const f of e.fileNames)$we(e,f,t,n,l);n(c1(e.options))}return s()}function Oet(e,t,n){t=Co(t),R.assert(xt(e.fileNames,t),"Expected fileName to be present in command line");const{addOutput:s,getOutputs:l}=zwe();return Ec(e.options)?Vwe(e,s):$we(e,t,n,s),l()}function yie(e,t){if(Ec(e.options)){const{jsFilePath:l,declarationFilePath:f}=AD(e.options,!1);return R.checkDefined(l||f,`project ${e.options.configFilePath} expected to have at least one output`)}const n=h_(()=>ND(e,t));for(const l of e.fileNames){if(s_(l))continue;const f=Uwe(l,e,t,n);if(f)return f;if(!Gl(l,".json")&&Wd(e.options))return DD(l,e,t,n)}const s=c1(e.options);return s||R.fail(`project ${e.options.configFilePath} expected to have at least one output`)}function rz(e,t,n,{scriptTransformers:s,declarationTransformers:l},f,d,g){var h=t.getCompilerOptions(),k=h.sourceMap||h.inlineSourceMap||Jj(h)?[]:void 0,S=h.listEmittedFiles?[]:void 0,w=H6(),N=Vb(h),O=_5(N),{enter:L,exit:U}=KR("printTime","beforePrint","afterPrint"),M,W=!1;return L(),hie(t,X,wee(t,n,g),g,d,!n),U(),{emitSkipped:W,diagnostics:w.getDiagnostics(),emittedFiles:S,sourceMaps:k};function X({jsFilePath:K,sourceMapFilePath:ge,declarationFilePath:Se,declarationMapPath:we,buildInfoPath:Pe},le){var ot,Qe,Ge,tt,Je,qe;let st;Pe&&le&&fre(le)&&(st=$i(oa(Pe,t.getCurrentDirectory())),M={commonSourceDirectory:Ke(t.getCommonSourceDirectory()),sourceFiles:le.sourceFiles.map(We=>Ke(oa(We.fileName,t.getCurrentDirectory())))}),(ot=Hi)==null||ot.push(Hi.Phase.Emit,"emitJsFileOrBundle",{jsFilePath:K}),ue(le,K,ge,Ke),(Qe=Hi)==null||Qe.pop(),(Ge=Hi)==null||Ge.push(Hi.Phase.Emit,"emitDeclarationFileOrBundle",{declarationFilePath:Se}),ie(le,Se,we,Ke),(tt=Hi)==null||tt.pop(),(Je=Hi)==null||Je.push(Hi.Phase.Emit,"emitBuildInfo",{buildInfoPath:Pe}),Z(M,Pe),(qe=Hi)==null||qe.pop(),!W&&S&&(f||(K&&S.push(K),ge&&S.push(ge),Pe&&S.push(Pe)),f!==0&&(Se&&S.push(Se),we&&S.push(we)));function Ke(We){return lT(Uh(st,We,t.getCanonicalFileName))}}function Z(K,ge){if(!ge||n||W)return;if(t.isEmitBlocked(ge)){W=!0;return}const Se=t.getBuildInfo(K)||e9(void 0,K);TP(t,w,ge,qwe(Se),!1,void 0,{buildInfo:Se})}function ue(K,ge,Se,we){if(!K||f||!ge)return;if(t.isEmitBlocked(ge)||h.noEmit){W=!0;return}const Pe=ZO(e,t,J,h,[K],s,!1),le={removeComments:h.removeComments,newLine:h.newLine,noEmitHelpers:h.noEmitHelpers,module:h.module,target:h.target,sourceMap:h.sourceMap,inlineSourceMap:h.inlineSourceMap,inlineSources:h.inlineSources,extendedDiagnostics:h.extendedDiagnostics,writeBundleFileInfo:!!M,relativeToBuildInfo:we},ot=zT(le,{hasGlobalName:e.hasGlobalName,onEmitNode:Pe.emitNodeWithNotification,isEmitNotificationEnabled:Pe.isEmitNotificationEnabled,substituteNode:Pe.substituteNode});R.assert(Pe.transformed.length===1,"Should only see one output from the transform"),V(ge,Se,Pe,ot,h),Pe.dispose(),M&&(M.js=ot.bundleFileInfo)}function ie(K,ge,Se,we){if(!K||f===0)return;if(!ge){(f||h.emitDeclarationOnly)&&(W=!0);return}const Pe=bs(K)?[K]:K.sourceFiles,le=g?Pe:hr(Pe,eee),ot=Ec(h)?[J.createBundle(le,bs(K)?void 0:K.prepends)]:le;f&&!Wd(h)&&le.forEach(se);const Qe=ZO(e,t,J,h,ot,l,!1);if(H(Qe.diagnostics))for(const qe of Qe.diagnostics)w.add(qe);const Ge={removeComments:h.removeComments,newLine:h.newLine,noEmitHelpers:!0,module:h.module,target:h.target,sourceMap:!g&&h.declarationMap,inlineSourceMap:h.inlineSourceMap,extendedDiagnostics:h.extendedDiagnostics,onlyPrintJsDocStyle:!0,writeBundleFileInfo:!!M,recordInternalSection:!!M,relativeToBuildInfo:we},tt=zT(Ge,{hasGlobalName:e.hasGlobalName,onEmitNode:Qe.emitNodeWithNotification,isEmitNotificationEnabled:Qe.isEmitNotificationEnabled,substituteNode:Qe.substituteNode}),Je=!!Qe.diagnostics&&!!Qe.diagnostics.length||!!t.isEmitBlocked(ge)||!!h.noEmit;W=W||Je,(!Je||g)&&(R.assert(Qe.transformed.length===1,"Should only see one output from the decl transform"),V(ge,Se,Qe,tt,{sourceMap:Ge.sourceMap,sourceRoot:h.sourceRoot,mapRoot:h.mapRoot,extendedDiagnostics:h.extendedDiagnostics})),Qe.dispose(),M&&(M.dts=tt.bundleFileInfo)}function se(K){if(Tl(K)){K.expression.kind===79&&e.collectLinkedAliases(K.expression,!0);return}else if(i_(K)){e.collectLinkedAliases(K.propertyName||K.name,!0);return}ca(K,se)}function V(K,ge,Se,we,Pe){const le=Se.transformed[0],ot=le.kind===309?le:void 0,Qe=le.kind===308?le:void 0,Ge=ot?ot.sourceFiles:[Qe];let tt;ve(Pe,le)&&(tt=HCe(t,sf(ju(K)),fe(Pe),Ce(Pe,K,Qe),Pe)),ot?we.writeBundle(ot,O,tt):we.writeFile(Qe,O,tt);let Je;if(tt){k&&k.push({inputSourceFileNames:tt.getSources(),sourceMap:tt.toJSON()});const st=_e(Pe,tt,K,ge,Qe);if(st&&(O.isAtStartOfLine()||O.rawWrite(N),Je=O.getTextPos(),O.writeComment(`//# sourceMappingURL=${st}`)),ge){const Ke=tt.toString();TP(t,w,ge,Ke,!1,Ge),we.bundleFileInfo&&(we.bundleFileInfo.mapHash=Qx(Ke,t))}}else O.writeLine();const qe=O.getText();TP(t,w,K,qe,!!h.emitBOM,Ge,{sourceMapUrlPos:Je,diagnostics:Se.diagnostics}),we.bundleFileInfo&&(we.bundleFileInfo.hash=Qx(qe,t)),O.clear()}function ve(K,ge){return(K.sourceMap||K.inlineSourceMap)&&(ge.kind!==308||!Gl(ge.fileName,".json"))}function fe(K){const ge=ju(K.sourceRoot||"");return ge&&Ef(ge)}function Ce(K,ge,Se){if(K.sourceRoot)return t.getCommonSourceDirectory();if(K.mapRoot){let we=ju(K.mapRoot);return Se&&(we=$i(Pj(Se.fileName,t,we))),Ym(we)===0&&(we=_s(t.getCommonSourceDirectory(),we)),we}return $i(Co(ge))}function _e(K,ge,Se,we,Pe){if(K.inlineSourceMap){const ot=ge.toString();return`data:application/json;base64,${_Te(Bu,ot)}`}const le=sf(ju(R.checkDefined(we)));if(K.mapRoot){let ot=ju(K.mapRoot);return Pe&&(ot=$i(Pj(Pe.fileName,t,ot))),Ym(ot)===0?(ot=_s(t.getCommonSourceDirectory(),ot),encodeURI(wC($i(Co(Se)),_s(ot,le),t.getCurrentDirectory(),t.getCanonicalFileName,!0))):encodeURI(_s(ot,le))}return encodeURI(le)}}function e9(e,t){return{bundle:t,program:e,version:I}}function qwe(e){return JSON.stringify(e)}function nz(e,t){return Bee(e,t)}function Let(e,t,n){var s;const l=R.checkDefined(e.js),f=((s=l.sources)==null?void 0:s.prologues)&&tT(l.sources.prologues,d=>d.file);return e.sourceFiles.map((d,g)=>{var h,k;const S=f==null?void 0:f.get(g),w=S==null?void 0:S.directives.map(L=>{const U=Et(J.createStringLiteral(L.expression.text),L.expression),M=Et(J.createExpressionStatement(U),L);return go(U,M),M}),N=J.createToken(1),O=J.createSourceFile(w??[],N,0);return O.fileName=Uh(n.getCurrentDirectory(),oa(d,t),!n.useCaseSensitiveFileNames()),O.text=(h=S==null?void 0:S.text)!=null?h:"",zP(O,0,(k=S==null?void 0:S.text.length)!=null?k:0),r4(O.statements,O),zP(N,O.end,0),go(N,O),O})}function Wwe(e,t,n,s){var l,f;(l=Hi)==null||l.push(Hi.Phase.Emit,"emitUsingBuildInfo",{},!0),zI.mark("beforeEmit");const d=Met(e,t,n,s);return zI.mark("afterEmit"),zI.measure("Emit","beforeEmit","afterEmit"),(f=Hi)==null||f.pop(),d}function Met(e,t,n,s){const{buildInfoPath:l,jsFilePath:f,sourceMapFilePath:d,declarationFilePath:g,declarationMapPath:h}=AD(e.options,!1),k=t.getBuildInfo(l,e.options.configFilePath);if(!k||!k.bundle||!k.bundle.js||g&&!k.bundle.dts)return l;const S=t.readFile(R.checkDefined(f));if(!S||Qx(S,t)!==k.bundle.js.hash)return f;const w=d&&t.readFile(d);if(d&&!w||e.options.inlineSourceMap)return d||"inline sourcemap decoding";if(d&&Qx(w,t)!==k.bundle.js.mapHash)return d;const N=g&&t.readFile(g);if(g&&!N||g&&Qx(N,t)!==k.bundle.dts.hash)return g;const O=h&&t.readFile(h);if(h&&!O||e.options.inlineSourceMap)return h||"inline sourcemap decoding";if(h&&Qx(O,t)!==k.bundle.dts.mapHash)return h;const L=$i(oa(l,t.getCurrentDirectory())),U=Jte(f,S,d,w,g,N,h,O,l,k,!0),M=[],W=Bie(e.projectReferences,n,se=>t.readFile(se),t),X=Let(k.bundle,L,t);let Z,ue;const ie={getPrependNodes:h_(()=>[...W,U]),getCanonicalFileName:t.getCanonicalFileName,getCommonSourceDirectory:()=>oa(k.bundle.commonSourceDirectory,L),getCompilerOptions:()=>e.options,getCurrentDirectory:()=>t.getCurrentDirectory(),getSourceFile:Pb,getSourceFileByPath:Pb,getSourceFiles:()=>X,getLibFileFromReference:ga,isSourceFileFromExternalLibrary:rT,getResolvedProjectReferenceToRedirect:Pb,getProjectReferenceRedirect:Pb,isSourceOfProjectReferenceRedirect:rT,writeFile:(se,V,ve,fe,Ce,_e)=>{switch(se){case f:if(S===V)return;break;case d:if(w===V)return;break;case l:break;case g:if(N===V)return;Z=V,ue=_e;break;case h:if(O===V)return;break;default:R.fail(`Unexpected path: ${se}`)}M.push({name:se,text:V,writeByteOrderMark:ve,data:_e})},isEmitBlocked:rT,readFile:se=>t.readFile(se),fileExists:se=>t.fileExists(se),useCaseSensitiveFileNames:()=>t.useCaseSensitiveFileNames(),getBuildInfo:se=>{const V=k.program;V&&Z!==void 0&&e.options.composite&&(V.outSignature=Qx(Z,t,ue));const{js:ve,dts:fe,sourceFiles:Ce}=k.bundle;return se.js.sources=ve.sources,fe&&(se.dts.sources=fe.sources),se.sourceFiles=Ce,e9(V,se)},getSourceFileFromReference:Pb,redirectTargetsMap:dd(),getFileIncludeReasons:ga,createHash:ho(t,t.createHash)};return rz(iz,ie,void 0,die(e.options,s)),M}function zT(e={},t={}){var{hasGlobalName:n,onEmitNode:s=YO,isEmitNotificationEnabled:l,substituteNode:f=ED,onBeforeEmitNode:d,onAfterEmitNode:g,onBeforeEmitNodeArray:h,onAfterEmitNodeArray:k,onBeforeEmitToken:S,onAfterEmitToken:w}=t,N=!!e.extendedDiagnostics,O=Vb(e),L=Hu(e),U=new Map,M,W,X,Z,ue,ie,se,V,ve,fe,Ce,_e,K,ge,Se,we=e.preserveSourceNewlines,Pe,le,ot,Qe=c3,Ge,tt=e.writeBundleFileInfo?{sections:[]}:void 0,Je=tt?R.checkDefined(e.relativeToBuildInfo):void 0,qe=e.recordInternalSection,st=0,Ke="text",We=!0,gt,jt,It=-1,er,ft=-1,mt=-1,xr=-1,dr=-1,rn,un,Gr=!1,mr=!!e.removeComments,Fn,ts,{enter:ws,exit:Es}=uve(N,"commentTime","beforeComment","afterComment"),ii=J.parenthesizer,Rt={select:A=>A===0?ii.parenthesizeLeadingTypeArgument:void 0},Rr=Bl();return Ze(),{printNode:rr,printList:Pr,printFile:Nn,printBundle:Cn,writeNode:qi,writeList:en,writeFile:Ne,writeBundle:Pt,bundleFileInfo:tt};function rr(A,he,Me){switch(A){case 0:R.assert(bs(he),"Expected a SourceFile node.");break;case 2:R.assert(Ye(he),"Expected an Identifier node.");break;case 1:R.assert(Dt(he),"Expected an Expression node.");break}switch(he.kind){case 308:return Nn(he);case 309:return Cn(he);case 310:return cs(he)}return qi(A,he,Me,kt()),Te()}function Pr(A,he,Me){return en(A,he,Me,kt()),Te()}function Cn(A){return Pt(A,kt(),void 0),Te()}function Nn(A){return Ne(A,kt(),void 0),Te()}function cs(A){return Ht(A,kt()),Te()}function qi(A,he,Me,Sr){const Qn=le;Y(Sr,void 0),pe(A,he,Me),Ze(),le=Qn}function en(A,he,Me,Sr){const Qn=le;Y(Sr,void 0),Me&&xe(Me),_c(void 0,he,A),Ze(),le=Qn}function Tr(){return le.getTextPosWithWriteLine?le.getTextPosWithWriteLine():le.getTextPos()}function nn(A,he,Me){const Sr=Rc(tt.sections);Sr&&Sr.kind===Me?Sr.end=he:tt.sections.push({pos:A,end:he,kind:Me})}function Xn(A){if(qe&&tt&&M&&(lf(A)||Xl(A))&&fie(A,M)&&Ke!=="internal"){const he=Ke;return Fe(le.getTextPos()),st=Tr(),Ke="internal",he}}function _i(A){A&&(Fe(le.getTextPos()),st=Tr(),Ke=A)}function Fe(A){return st<A?(nn(st,A,Ke),!0):!1}function Pt(A,he,Me){Ge=!1;const Sr=le;Y(he,Me),g2(A),Sk(A),Dr(A),vk(A);for(const Qn of A.prepends){pu();const Qi=le.getTextPos(),Li=tt&&tt.sections;if(Li&&(tt.sections=[]),pe(4,Qn,void 0),tt){const ms=tt.sections;tt.sections=Li,Qn.oldFileOfCurrentEmit?tt.sections.push(...ms):(ms.forEach(Ja=>R.assert(STe(Ja))),tt.sections.push({pos:Qi,end:le.getTextPos(),kind:"prepend",data:Je(Qn.fileName),texts:ms}))}}st=Tr();for(const Qn of A.sourceFiles)pe(0,Qn,Qn);if(tt&&A.sourceFiles.length){const Qn=le.getTextPos();if(Fe(Qn)){const Qi=Kw(A);Qi&&(tt.sources||(tt.sources={}),tt.sources.prologues=Qi);const Li=St(A);Li&&(tt.sources||(tt.sources={}),tt.sources.helpers=Li)}}Ze(),le=Sr}function Ht(A,he){const Me=le;Y(he,void 0),pe(4,A,void 0),Ze(),le=Me}function Ne(A,he,Me){Ge=!0;const Sr=le;Y(he,Me),g2(A),Sk(A),pe(0,A,A),Ze(),le=Sr}function kt(){return ot||(ot=_5(O))}function Te(){const A=ot.getText();return ot.clear(),A}function pe(A,he,Me){Me&&xe(Me),wt(A,he,void 0)}function xe(A){M=A,rn=void 0,un=void 0,A&&p0(A)}function Y(A,he){A&&e.omitTrailingSemicolon&&(A=Tee(A)),le=A,gt=he,We=!le||!gt}function Ze(){W=[],X=[],Z=[],ue=new Set,ie=[],se=new Map,V=[],ve=0,fe=[],Ce=0,_e=[],K=void 0,ge=[],Se=void 0,M=void 0,rn=void 0,un=void 0,Y(void 0,void 0)}function ct(){return rn||(rn=Py(R.checkDefined(M)))}function it(A,he){if(A===void 0)return;const Me=Xn(A);wt(4,A,he),_i(Me)}function Kt(A){A!==void 0&&wt(2,A,void 0)}function wr(A,he){A!==void 0&&wt(1,A,he)}function qr(A){wt(yo(A)?6:4,A)}function qn(A){we&&Jd(A)&4&&(we=!1)}function ye(A){we=A}function wt(A,he,Me){ts=Me,ne(0,A,he)(A,he),ts=void 0}function nr(A){return!mr&&!bs(A)}function dt(A){return!We&&!bs(A)&&!dj(A)&&!jx(A)&&!txe(A)}function ne(A,he,Me){switch(A){case 0:if(s!==YO&&(!l||l(Me)))return ce;case 1:if(f!==ED&&(Fn=f(he,Me)||Me)!==Me)return ts&&(Fn=ts(Fn)),At;case 2:if(nr(Me))return G_;case 3:if(dt(Me))return vS;case 4:return Be;default:return R.assertNever(A)}}function $e(A,he,Me){return ne(A+1,he,Me)}function ce(A,he){const Me=$e(0,A,he);s(A,he,Me)}function Be(A,he){if(d==null||d(he),we){const Me=we;qn(he),te(A,he),ye(Me)}else te(A,he);g==null||g(he),ts=void 0}function te(A,he,Me=!0){if(Me){const Sr=Wte(he);if(Sr)return Ia(A,he,Sr)}if(A===0)return m2(Oa(he,bs));if(A===2)return vi(Oa(he,Ye));if(A===6)return Yi(Oa(he,yo),!0);if(A===3)return $t(Oa(he,bl));if(A===5)return R.assertNode(he,ore),ta(!0);if(A===4){switch(he.kind){case 15:case 16:case 17:return Yi(he,!1);case 79:return vi(he);case 80:return Bo(he);case 163:return Ji(he);case 164:return Qr(he);case 165:return js(he);case 166:return Rl(he);case 167:return jc(he);case 168:return Sl(he);case 169:return Nl(he);case 170:return xl(he);case 171:return Ka(he);case 172:return ea(he);case 173:return Ao(he);case 174:case 175:return kl(he);case 176:return zu(he);case 177:return $_(he);case 178:return Vl(he);case 179:return Kc(he);case 180:return Fc(he);case 181:return Pc(he);case 182:return be(he);case 183:return Ut(he);case 184:return tr(he);case 185:return oe(he);case 186:return Ft(he);case 187:return ti(he);case 189:return si(he);case 190:return Ws(he);case 191:return jo(he);case 192:return Va(he);case 193:return vo(he);case 230:return wd(he);case 194:return ka();case 195:return Hc(he);case 196:return Ql(he);case 197:return a_(he);case 198:return Zo(he);case 199:return Or(he);case 200:return zo(he);case 201:return Lu(he);case 202:return Gc(he);case 203:return q_(he);case 204:return wl(he);case 205:return Fp(he);case 236:return lt(he);case 237:return fc();case 238:return ir(he);case 240:return na(he);case 239:return ta(!1);case 241:return Le(he);case 242:return Xe(he);case 243:return Gt(he);case 244:return Lr(he);case 245:return Jr(he);case 246:return Vr(he);case 247:return fn(he);case 248:return Ts(he);case 249:return xn(he);case 250:return cg(he);case 251:return Xy(he);case 252:return tm(he);case 253:return i2(he);case 254:return Fv(he);case 255:return Ww(he);case 256:return pk(he);case 257:return Hw(he);case 258:return Qy(he);case 259:return rm(he);case 260:return dk(he);case 261:return YT(he);case 262:return ZT(he);case 263:return jv(he);case 264:return Gw(he);case 265:return KT(he);case 266:return eS(he);case 267:return ad(he);case 268:return Jv(he);case 269:return Uv(he);case 270:return mk(he);case 271:return Zy(he);case 277:return k_(he);case 272:return Do(he);case 273:return tS(he);case 274:return s3(he);case 275:return m1(he);case 276:return C_(he);case 278:return w_(he);case 296:return Ky(he);case 297:return lg(he);case 279:return;case 280:return Xw(he);case 11:return f2(he);case 283:case 286:return hk(he);case 284:case 287:return a3(he);case 288:return zv(he);case 289:return Qw(he);case 290:return rS(he);case 291:return Vv(he);case 292:return $v(he);case 293:return t0(he);case 294:return Oo(he);case 295:return nm(he);case 299:return nS(he);case 300:return nu(he);case 301:return Zg(he);case 302:return p2(he);case 303:return hs(he);case 310:case 304:return Zi(he);case 305:case 306:return za(he);case 307:return Xa(he);case 308:return m2(he);case 309:return R.fail("Bundles should be printed using printBundle");case 311:return R.fail("InputFiles should not be printed");case 312:return Xc(he);case 313:return r0(he);case 315:return Rn("*");case 316:return Rn("?");case 317:return Cl(he);case 318:return df(he);case 319:return Rf(he);case 320:return br(he);case 188:case 321:return ht(he);case 322:return;case 323:return im(he);case 325:return H_(he);case 326:return iS(he);case 330:case 335:case 340:return ug(he);case 331:case 332:return Tu(he);case 333:case 334:return;case 336:case 337:case 338:case 339:return;case 341:return ys(he);case 342:return gi(he);case 344:case 351:return n0(he);case 343:case 345:case 346:case 347:case 352:case 353:return d2(he);case 348:return yk(he);case 349:return o3(he);case 350:return Yu(he);case 355:case 359:case 358:return}if(Dt(he)&&(A=1,f!==ED)){const Sr=f(A,he)||he;Sr!==he&&(he=Sr,ts&&(he=ts(he)))}}if(A===1)switch(he.kind){case 8:case 9:return Di(he);case 10:case 13:case 14:return Yi(he,!1);case 79:return vi(he);case 80:return Bo(he);case 206:return De(he);case 207:return Vt(he);case 208:return tn(he);case 209:return eo(he);case 210:return de(he);case 211:return bt(he);case 212:return Yt(he);case 213:return Xt(he);case 214:return Er(he);case 215:return ln(he);case 216:return ri(he);case 217:return ls(he);case 218:return da(he);case 219:return bo(he);case 220:return tc(he);case 221:return Dc(he);case 222:return mp(he);case 223:return Rr(he);case 224:return W_(he);case 225:return mf(he);case 226:return hp(he);case 227:return Cd(he);case 228:return Po(he);case 229:return;case 231:return gp(he);case 232:return em(he);case 230:return wd(he);case 235:return Dm(he);case 233:return G(he);case 234:return R.fail("SyntheticExpression should never be printed.");case 279:return;case 281:return l2(he);case 282:return e0(he);case 285:return u2(he);case 354:return R.fail("SyntaxList should not be printed");case 355:return;case 356:return Yw(he);case 357:return Zw(he);case 358:case 359:return;case 360:return R.fail("SyntheticReferenceExpression should not be printed")}if(b_(he.kind))return oS(he,Bs);if(aK(he.kind))return oS(he,Rn);R.fail(`Unhandled SyntaxKind: ${R.formatSyntaxKind(he.kind)}.`)}function $t(A){it(A.name),wn(),Bs("in"),wn(),it(A.constraint)}function At(A,he){const Me=$e(1,A,he);R.assertIsDefined(Fn),he=Fn,Fn=void 0,Me(A,he)}function St(A){let he;if(L===0||e.noEmitHelpers)return;const Me=new Map;for(const Sr of A.sourceFiles){const Qn=_O(Sr)!==void 0,Qi=yn(Sr);if(Qi)for(const Li of Qi)!Li.scoped&&!Qn&&!Me.get(Li.name)&&(Me.set(Li.name,!0),(he||(he=[])).push(Li.name))}return he}function Dr(A){let he=!1;const Me=A.kind===309?A:void 0;if(Me&&L===0)return;const Sr=Me?Me.prepends.length:0,Qn=Me?Me.sourceFiles.length+Sr:1;for(let Qi=0;Qi<Qn;Qi++){const Li=Me?Qi<Sr?Me.prepends[Qi]:Me.sourceFiles[Qi-Sr]:A,ms=bs(Li)?Li:jx(Li)?void 0:M,Ja=e.noEmitHelpers||!!ms&&mxe(ms),Vu=(bs(Li)||jx(Li))&&!Ge,Q_=jx(Li)?Li.helpers:yn(Li);if(Q_)for(const bp of Q_){if(bp.scoped){if(Me)continue}else{if(Ja)continue;if(Vu){if(U.get(bp.name))continue;U.set(bp.name,!0)}}const A1=Tr();typeof bp.text=="string"?Il(bp.text):Il(bp.text(jp)),tt&&tt.sections.push({pos:A1,end:le.getTextPos(),kind:"emitHelpers",data:bp.name}),he=!0}}return he}function yn(A){const he=lJ(A);return he&&U0(he,LSe)}function Di(A){Yi(A,!1)}function Yi(A,he){const Me=ml(A,e.neverAsciiEscape,he);(e.sourceMap||e.inlineSourceMap)&&(A.kind===10||uv(A.kind))?b2(Me):rE(Me)}function Zi(A){for(const he of A.texts)pu(),it(he)}function hs(A){le.rawWrite(A.parent.text.substring(A.pos,A.end))}function za(A){const he=Tr();hs(A),tt&&nn(he,le.getTextPos(),A.kind===305?"text":"internal")}function Xa(A){const he=Tr();if(hs(A),tt){const Me=pY(A.section);Me.pos=he,Me.end=le.getTextPos(),tt.sections.push(Me)}}function Ia(A,he,Me){switch(Me.kind){case 1:Fs(A,he,Me);break;case 0:gs(A,he,Me);break}}function Fs(A,he,Me){v1(`\${${Me.order}:`),te(A,he,!1),v1("}")}function gs(A,he,Me){R.assert(he.kind===239,`A tab stop cannot be attached to a node of kind ${R.formatSyntaxKind(he.kind)}.`),R.assert(A!==5,"A tab stop cannot be attached to an embedded statement."),v1(`$${Me.order}`)}function vi(A){(A.symbol?nE:Qe)(S1(A,!1),A.symbol),_c(A,Lx(A),53776)}function Bo(A){Qe(S1(A,!1))}function Ji(A){Rs(A.left),Rn("."),it(A.right)}function Rs(A){A.kind===79?wr(A):it(A)}function Qr(A){const he=ve,Me=Se;Ku(),Rn("["),wr(A.expression,ii.parenthesizeExpressionOfComputedPropertyName),Rn("]"),Gv(he,Me)}function js(A){i0(A,A.modifiers),it(A.name),A.constraint&&(wn(),Bs("extends"),wn(),it(A.constraint)),A.default&&(wn(),Bp("="),wn(),it(A.default))}function Rl(A){Rp(A,A.modifiers,!0),it(A.dotDotDotToken),xk(A.name,Wv),it(A.questionToken),A.parent&&A.parent.kind===320&&!A.name?it(A.type):Im(A.type),sm(A.initializer,A.type?A.type.end:A.questionToken?A.questionToken.end:A.name?A.name.end:A.modifiers?A.modifiers.end:A.pos,A,ii.parenthesizeExpressionForDisallowedComma)}function jc(A){Rn("@"),wr(A.expression,ii.parenthesizeLeftSideOfAccess)}function Sl(A){i0(A,A.modifiers),xk(A.name,iE),it(A.questionToken),Im(A.type),dl()}function Nl(A){Rp(A,A.modifiers,!0),it(A.name),it(A.questionToken),it(A.exclamationToken),Im(A.type),sm(A.initializer,A.type?A.type.end:A.questionToken?A.questionToken.end:A.name.end,A),dl()}function xl(A){c0(A),i0(A,A.modifiers),it(A.name),it(A.questionToken),dh(A,A.typeParameters),a0(A,A.parameters),Im(A.type),dl(),ty(A)}function Ka(A){Rp(A,A.modifiers,!0),it(A.asteriskToken),it(A.name),it(A.questionToken),Yg(A,Nm)}function ea(A){Bs("static"),XT(A.body)}function Ao(A){Rp(A,A.modifiers,!1),Bs("constructor"),Yg(A,Nm)}function kl(A){const he=Rp(A,A.modifiers,!0),Me=A.kind===174?137:151;Nr(Me,he,Bs,A),wn(),it(A.name),Yg(A,Nm)}function zu(A){c0(A),dh(A,A.typeParameters),a0(A,A.parameters),Im(A.type),dl(),ty(A)}function $_(A){c0(A),Bs("new"),wn(),dh(A,A.typeParameters),a0(A,A.parameters),Im(A.type),dl(),ty(A)}function Vl(A){Rp(A,A.modifiers,!1),g1(A,A.parameters),Im(A.type),dl()}function Lu(A){it(A.type),it(A.literal)}function fc(){dl()}function Kc(A){A.assertsModifier&&(it(A.assertsModifier),wn()),it(A.parameterName),A.type&&(wn(),Bs("is"),wn(),it(A.type))}function Fc(A){it(A.typeName),ph(A,A.typeArguments)}function Pc(A){c0(A),dh(A,A.typeParameters),Ck(A,A.parameters),wn(),Rn("=>"),wn(),it(A.type),ty(A)}function br(A){Bs("function"),a0(A,A.parameters),Rn(":"),it(A.type)}function Cl(A){Rn("?"),it(A.type)}function df(A){Rn("!"),it(A.type)}function Rf(A){it(A.type),Rn("=")}function be(A){c0(A),i0(A,A.modifiers),Bs("new"),wn(),dh(A,A.typeParameters),a0(A,A.parameters),wn(),Rn("=>"),wn(),it(A.type),ty(A)}function Ut(A){Bs("typeof"),wn(),it(A.exprName),ph(A,A.typeArguments)}function tr(A){Gv(0,void 0),Rn("{");const he=Wa(A)&1?768:32897;_c(A,A.members,he|524288),Rn("}"),Ku()}function oe(A){it(A.elementType,ii.parenthesizeNonArrayTypeOfPostfixType),Rn("["),Rn("]")}function ht(A){Rn("..."),it(A.type)}function Ft(A){Nr(22,A.pos,Rn,A);const he=Wa(A)&1?528:657;_c(A,A.elements,he|524288,ii.parenthesizeElementTypeOfTupleType),Nr(23,A.elements.end,Rn,A)}function Or(A){it(A.dotDotDotToken),it(A.name),it(A.questionToken),Nr(58,A.name.end,Rn,A),wn(),it(A.type)}function ti(A){it(A.type,ii.parenthesizeTypeOfOptionalType),Rn("?")}function si(A){_c(A,A.types,516,ii.parenthesizeConstituentTypeOfUnionType)}function Ws(A){_c(A,A.types,520,ii.parenthesizeConstituentTypeOfIntersectionType)}function jo(A){it(A.checkType,ii.parenthesizeCheckTypeOfConditionalType),wn(),Bs("extends"),wn(),it(A.extendsType,ii.parenthesizeExtendsTypeOfConditionalType),wn(),Rn("?"),wn(),it(A.trueType),wn(),Rn(":"),wn(),it(A.falseType)}function Va(A){Bs("infer"),wn(),it(A.typeParameter)}function vo(A){Rn("("),it(A.type),Rn(")")}function ka(){Bs("this")}function Hc(A){am(A.operator,Bs),wn();const he=A.operator===146?ii.parenthesizeOperandOfReadonlyTypeOperator:ii.parenthesizeOperandOfTypeOperator;it(A.type,he)}function Ql(A){it(A.objectType,ii.parenthesizeNonArrayTypeOfPostfixType),Rn("["),it(A.indexType),Rn("]")}function a_(A){const he=Wa(A);Rn("{"),he&1?wn():(pu(),Ed()),A.readonlyToken&&(it(A.readonlyToken),A.readonlyToken.kind!==146&&Bs("readonly"),wn()),Rn("["),wt(3,A.typeParameter),A.nameType&&(wn(),Bs("as"),wn(),it(A.nameType)),Rn("]"),A.questionToken&&(it(A.questionToken),A.questionToken.kind!==57&&Rn("?")),Rn(":"),wn(),it(A.type),dl(),he&1?wn():(pu(),Om()),_c(A,A.members,2),Rn("}")}function Zo(A){wr(A.literal)}function zo(A){it(A.head),_c(A,A.templateSpans,262144)}function Gc(A){if(A.isTypeOf&&(Bs("typeof"),wn()),Bs("import"),Rn("("),it(A.argument),A.assertions){Rn(","),wn(),Rn("{"),wn(),Bs("assert"),Rn(":"),wn();const he=A.assertions.assertClause.elements;_c(A.assertions.assertClause,he,526226),wn(),Rn("}")}Rn(")"),A.qualifier&&(Rn("."),it(A.qualifier)),ph(A,A.typeArguments)}function q_(A){Rn("{"),_c(A,A.elements,525136),Rn("}")}function wl(A){Rn("["),_c(A,A.elements,524880),Rn("]")}function Fp(A){it(A.dotDotDotToken),A.propertyName&&(it(A.propertyName),Rn(":"),wn()),it(A.name),sm(A.initializer,A.name.end,A,ii.parenthesizeExpressionForDisallowedComma)}function De(A){const he=A.elements,Me=A.multiLine?65536:0;y1(A,he,8914|Me,ii.parenthesizeExpressionForDisallowedComma)}function Vt(A){Gv(0,void 0),Q(A.properties,uS);const he=Wa(A)&131072;he&&Ed();const Me=A.multiLine?65536:0,Sr=M&&M.languageVersion>=1&&!hd(M)?64:0;_c(A,A.properties,526226|Sr|Me),he&&Om(),Ku()}function tn(A){wr(A.expression,ii.parenthesizeLeftSideOfAccess);const he=A.questionDotToken||Kh(J.createToken(24),A.expression.end,A.name.pos),Me=Lm(A,A.expression,he),Sr=Lm(A,he,A.name);jl(Me,!1),he.kind!==28&&ks(A.expression)&&!le.hasTrailingComment()&&!le.hasTrailingWhitespace()&&Rn("."),A.questionDotToken?it(he):Nr(he.kind,A.expression.end,Rn,A),jl(Sr,!1),it(A.name),o0(Me,Sr)}function ks(A){if(A=jd(A),Td(A)){const he=ml(A,!0,!1);return!A.numericLiteralFlags&&!nf(he,qa(24))}else if($c(A)){const he=wSe(A);return typeof he=="number"&&isFinite(he)&&Math.floor(he)===he}}function eo(A){wr(A.expression,ii.parenthesizeLeftSideOfAccess),it(A.questionDotToken),Nr(22,A.expression.end,Rn,A),wr(A.argumentExpression),Nr(23,A.argumentExpression.end,Rn,A)}function de(A){const he=Jd(A)&16;he&&(Rn("("),b2("0"),Rn(","),wn()),wr(A.expression,ii.parenthesizeLeftSideOfAccess),he&&Rn(")"),it(A.questionDotToken),ph(A,A.typeArguments),y1(A,A.arguments,2576,ii.parenthesizeExpressionForDisallowedComma)}function bt(A){Nr(103,A.pos,Bs,A),wn(),wr(A.expression,ii.parenthesizeExpressionOfNew),ph(A,A.typeArguments),y1(A,A.arguments,18960,ii.parenthesizeExpressionForDisallowedComma)}function Yt(A){const he=Jd(A)&16;he&&(Rn("("),b2("0"),Rn(","),wn()),wr(A.tag,ii.parenthesizeLeftSideOfAccess),he&&Rn(")"),ph(A,A.typeArguments),wn(),wr(A.template)}function Xt(A){Rn("<"),it(A.type),Rn(">"),wr(A.expression,ii.parenthesizeOperandOfPrefixUnary)}function Er(A){const he=Nr(20,A.pos,Rn,A),Me=cS(A.expression,A);wr(A.expression,void 0),T2(A.expression,A),o0(Me),Nr(21,A.expression?A.expression.end:he,Rn,A)}function ln(A){ny(A.name),Rv(A)}function ri(A){i0(A,A.modifiers),Yg(A,wi)}function wi(A){dh(A,A.typeParameters),Ck(A,A.parameters),Im(A.type),wn(),it(A.equalsGreaterThanToken)}function ls(A){Nr(89,A.pos,Bs,A),wn(),wr(A.expression,ii.parenthesizeOperandOfPrefixUnary)}function da(A){Nr(112,A.pos,Bs,A),wn(),wr(A.expression,ii.parenthesizeOperandOfPrefixUnary)}function bo(A){Nr(114,A.pos,Bs,A),wn(),wr(A.expression,ii.parenthesizeOperandOfPrefixUnary)}function tc(A){Nr(133,A.pos,Bs,A),wn(),wr(A.expression,ii.parenthesizeOperandOfPrefixUnary)}function Dc(A){am(A.operator,Bp),o_(A)&&wn(),wr(A.operand,ii.parenthesizeOperandOfPrefixUnary)}function o_(A){const he=A.operand;return he.kind===221&&(A.operator===39&&(he.operator===39||he.operator===45)||A.operator===40&&(he.operator===40||he.operator===46))}function mp(A){wr(A.operand,ii.parenthesizeOperandOfPostfixUnary),am(A.operator,Bp)}function Bl(){return rU(A,he,Me,Sr,Qn,void 0);function A(Li,ms){if(ms){ms.stackIndex++,ms.preserveSourceNewlinesStack[ms.stackIndex]=we,ms.containerPosStack[ms.stackIndex]=mt,ms.containerEndStack[ms.stackIndex]=xr,ms.declarationListContainerEndStack[ms.stackIndex]=dr;const Ja=ms.shouldEmitCommentsStack[ms.stackIndex]=nr(Li),Vu=ms.shouldEmitSourceMapsStack[ms.stackIndex]=dt(Li);d==null||d(Li),Ja&&u_(Li),Vu&&bS(Li),qn(Li)}else ms={stackIndex:0,preserveSourceNewlinesStack:[void 0],containerPosStack:[-1],containerEndStack:[-1],declarationListContainerEndStack:[-1],shouldEmitCommentsStack:[!1],shouldEmitSourceMapsStack:[!1]};return ms}function he(Li,ms,Ja){return Qi(Li,Ja,"left")}function Me(Li,ms,Ja){const Vu=Li.kind!==27,Q_=Lm(Ja,Ja.left,Li),bp=Lm(Ja,Li,Ja.right);jl(Q_,Vu),A_(Li.pos),oS(Li,Li.kind===101?Bs:Bp),f0(Li.end,!0),jl(bp,!0)}function Sr(Li,ms,Ja){return Qi(Li,Ja,"right")}function Qn(Li,ms){const Ja=Lm(Li,Li.left,Li.operatorToken),Vu=Lm(Li,Li.operatorToken,Li.right);if(o0(Ja,Vu),ms.stackIndex>0){const Q_=ms.preserveSourceNewlinesStack[ms.stackIndex],bp=ms.containerPosStack[ms.stackIndex],A1=ms.containerEndStack[ms.stackIndex],Y_=ms.declarationListContainerEndStack[ms.stackIndex],eb=ms.shouldEmitCommentsStack[ms.stackIndex],tb=ms.shouldEmitSourceMapsStack[ms.stackIndex];ye(Q_),tb&&TS(Li),eb&&Ek(Li,bp,A1,Y_),g==null||g(Li),ms.stackIndex--}}function Qi(Li,ms,Ja){const Vu=Ja==="left"?ii.getParenthesizeLeftSideOfBinaryForOperator(ms.operatorToken.kind):ii.getParenthesizeRightSideOfBinaryForOperator(ms.operatorToken.kind);let Q_=ne(0,1,Li);if(Q_===At&&(R.assertIsDefined(Fn),Li=Vu(Oa(Fn,Dt)),Q_=$e(1,1,Li),Fn=void 0),(Q_===G_||Q_===vS||Q_===Be)&&$n(Li))return Li;ts=Vu,Q_(1,Li)}}function W_(A){const he=Lm(A,A.condition,A.questionToken),Me=Lm(A,A.questionToken,A.whenTrue),Sr=Lm(A,A.whenTrue,A.colonToken),Qn=Lm(A,A.colonToken,A.whenFalse);wr(A.condition,ii.parenthesizeConditionOfConditionalExpression),jl(he,!0),it(A.questionToken),jl(Me,!0),wr(A.whenTrue,ii.parenthesizeBranchOfConditionalExpression),o0(he,Me),jl(Sr,!0),it(A.colonToken),jl(Qn,!0),wr(A.whenFalse,ii.parenthesizeBranchOfConditionalExpression),o0(Sr,Qn)}function mf(A){it(A.head),_c(A,A.templateSpans,262144)}function hp(A){Nr(125,A.pos,Bs,A),it(A.asteriskToken),_h(A.expression&&Nc(A.expression),$l)}function Cd(A){Nr(25,A.pos,Rn,A),wr(A.expression,ii.parenthesizeExpressionForDisallowedComma)}function Po(A){ny(A.name),QT(A)}function wd(A){wr(A.expression,ii.parenthesizeLeftSideOfAccess),ph(A,A.typeArguments)}function gp(A){wr(A.expression,void 0),A.type&&(wn(),Bs("as"),wn(),it(A.type))}function em(A){wr(A.expression,ii.parenthesizeLeftSideOfAccess),Bp("!")}function Dm(A){wr(A.expression,void 0),A.type&&(wn(),Bs("satisfies"),wn(),it(A.type))}function G(A){b1(A.keywordToken,A.pos,Rn),Rn("."),it(A.name)}function lt(A){wr(A.expression),it(A.literal)}function ir(A){gn(A,!A.multiLine&&ey(A))}function gn(A,he){Nr(18,A.pos,Rn,A);const Me=he||Wa(A)&1?768:129;_c(A,A.statements,Me),Nr(19,A.statements.end,Rn,A,!!(Me&1))}function na(A){Rp(A,A.modifiers,!1),it(A.declarationList),dl()}function ta(A){A?Rn(";"):dl()}function Le(A){wr(A.expression,ii.parenthesizeExpressionOfExpressionStatement),(!M||!hd(M)||Mc(A.expression))&&dl()}function Xe(A){const he=Nr(99,A.pos,Bs,A);wn(),Nr(20,he,Rn,A),wr(A.expression),Nr(21,A.expression.end,Rn,A),c_(A,A.thenStatement),A.elseStatement&&(T1(A,A.thenStatement,A.elseStatement),Nr(91,A.thenStatement.end,Bs,A),A.elseStatement.kind===242?(wn(),it(A.elseStatement)):c_(A,A.elseStatement))}function Jt(A,he){const Me=Nr(115,he,Bs,A);wn(),Nr(20,Me,Rn,A),wr(A.expression),Nr(21,A.expression.end,Rn,A)}function Gt(A){Nr(90,A.pos,Bs,A),c_(A,A.statement),Fa(A.statement)&&!we?wn():T1(A,A.statement,A.expression),Jt(A,A.statement.end),dl()}function Lr(A){Jt(A,A.pos),c_(A,A.statement)}function Jr(A){const he=Nr(97,A.pos,Bs,A);wn();let Me=Nr(20,he,Rn,A);hi(A.initializer),Me=Nr(26,A.initializer?A.initializer.end:Me,Rn,A),_h(A.condition),Me=Nr(26,A.condition?A.condition.end:Me,Rn,A),_h(A.incrementor),Nr(21,A.incrementor?A.incrementor.end:Me,Rn,A),c_(A,A.statement)}function Vr(A){const he=Nr(97,A.pos,Bs,A);wn(),Nr(20,he,Rn,A),hi(A.initializer),wn(),Nr(101,A.initializer.end,Bs,A),wn(),wr(A.expression),Nr(21,A.expression.end,Rn,A),c_(A,A.statement)}function fn(A){const he=Nr(97,A.pos,Bs,A);wn(),kk(A.awaitModifier),Nr(20,he,Rn,A),hi(A.initializer),wn(),Nr(162,A.initializer.end,Bs,A),wn(),wr(A.expression),Nr(21,A.expression.end,Rn,A),c_(A,A.statement)}function hi(A){A!==void 0&&(A.kind===258?it(A):wr(A))}function Ts(A){Nr(86,A.pos,Bs,A),y2(A.label),dl()}function xn(A){Nr(81,A.pos,Bs,A),y2(A.label),dl()}function Nr(A,he,Me,Sr,Qn){const Qi=qs(Sr),Li=Qi&&Qi.kind===Sr.kind,ms=he;if(Li&&M&&(he=wo(M.text,he)),Li&&Sr.pos!==ms){const Ja=Qn&&M&&!vd(ms,he,M);Ja&&Ed(),A_(ms),Ja&&Om()}if(he=am(A,Me,he),Li&&Sr.end!==he){const Ja=Sr.kind===291;f0(he,!Ja,Ja)}return he}function On(A){return A.kind===2||!!A.hasTrailingNewLine}function Ys(A){return M?Oe(Ng(M.text,A.pos),On)||Oe(o4(A),On)?!0:VJ(A)?A.pos!==A.expression.pos&&Oe(Ib(M.text,A.expression.pos),On)?!0:Ys(A.expression):!1:!1}function Nc(A){if(!mr&&VJ(A)&&Ys(A)){const he=qs(A);if(he&&j_(he)){const Me=J.createParenthesizedExpression(A.expression);return di(Me,A),Et(Me,he),Me}return J.createParenthesizedExpression(A)}return A}function $l(A){return Nc(ii.parenthesizeExpressionForDisallowedComma(A))}function cg(A){Nr(105,A.pos,Bs,A),_h(A.expression&&Nc(A.expression),Nc),dl()}function Xy(A){const he=Nr(116,A.pos,Bs,A);wn(),Nr(20,he,Rn,A),wr(A.expression),Nr(21,A.expression.end,Rn,A),c_(A,A.statement)}function tm(A){const he=Nr(107,A.pos,Bs,A);wn(),Nr(20,he,Rn,A),wr(A.expression),Nr(21,A.expression.end,Rn,A),wn(),it(A.caseBlock)}function i2(A){it(A.label),Nr(58,A.label.end,Rn,A),wn(),it(A.statement)}function Fv(A){Nr(109,A.pos,Bs,A),_h(Nc(A.expression),Nc),dl()}function Ww(A){Nr(111,A.pos,Bs,A),wn(),it(A.tryBlock),A.catchClause&&(T1(A,A.tryBlock,A.catchClause),it(A.catchClause)),A.finallyBlock&&(T1(A,A.catchClause||A.tryBlock,A.finallyBlock),Nr(96,(A.catchClause||A.tryBlock).end,Bs,A),wn(),it(A.finallyBlock))}function pk(A){b1(87,A.pos,Bs),dl()}function Hw(A){var he,Me,Sr,Qn,Qi;it(A.name),it(A.exclamationToken),Im(A.type),sm(A.initializer,(Qi=(Qn=(he=A.type)==null?void 0:he.end)!=null?Qn:(Sr=(Me=A.name.emitNode)==null?void 0:Me.typeNode)==null?void 0:Sr.end)!=null?Qi:A.name.end,A,ii.parenthesizeExpressionForDisallowedComma)}function Qy(A){Bs(lP(A)?"let":My(A)?"const":"var"),wn(),_c(A,A.declarations,528)}function rm(A){Rv(A)}function Rv(A){Rp(A,A.modifiers,!1),Bs("function"),it(A.asteriskToken),wn(),Kt(A.name),Yg(A,Nm)}function Yg(A,he){const Me=A.body;if(Me)if(Fa(Me)){const Sr=Wa(A)&131072;Sr&&Ed(),c0(A),Q(A.parameters,iu),iu(A.body),he(A),XT(Me),ty(A),Sr&&Om()}else he(A),wn(),wr(Me,ii.parenthesizeConciseBodyOfArrowFunction);else he(A),dl()}function Nm(A){dh(A,A.typeParameters),a0(A,A.parameters),Im(A.type)}function Bv(A){if(Wa(A)&1)return!0;if(A.multiLine||!Mc(A)&&M&&!Nx(A,M)||Zu(A,Ru(A.statements),2)||pg(A,Rc(A.statements),2,A.statements))return!1;let he;for(const Me of A.statements){if(Ad(he,Me,2)>0)return!1;he=Me}return!0}function XT(A){d==null||d(A),wn(),Rn("{"),Ed();const he=Bv(A)?s2:Yy;u0(A,A.statements,he),Om(),b1(19,A.statements.end,Rn,A),g==null||g(A)}function s2(A){Yy(A,!0)}function Yy(A,he){const Me=qv(A.statements),Sr=le.getTextPos();Dr(A),Me===0&&Sr===le.getTextPos()&&he?(Om(),_c(A,A.statements,768),Ed()):_c(A,A.statements,1,void 0,Me)}function dk(A){QT(A)}function QT(A){Gv(0,void 0),Q(A.members,uS),Rp(A,A.modifiers,!0),Nr(84,rh(A).pos,Bs,A),A.name&&(wn(),Kt(A.name));const he=Wa(A)&131072;he&&Ed(),dh(A,A.typeParameters),_c(A,A.heritageClauses,0),wn(),Rn("{"),_c(A,A.members,129),Rn("}"),he&&Om(),Ku()}function YT(A){Gv(0,void 0),Rp(A,A.modifiers,!1),Bs("interface"),wn(),it(A.name),dh(A,A.typeParameters),_c(A,A.heritageClauses,512),wn(),Rn("{"),_c(A,A.members,129),Rn("}"),Ku()}function ZT(A){Rp(A,A.modifiers,!1),Bs("type"),wn(),it(A.name),dh(A,A.typeParameters),wn(),Rn("="),wn(),it(A.type),dl()}function jv(A){Rp(A,A.modifiers,!1),Bs("enum"),wn(),it(A.name),wn(),Rn("{"),_c(A,A.members,145),Rn("}")}function Gw(A){Rp(A,A.modifiers,!1),~A.flags&1024&&(Bs(A.flags&16?"namespace":"module"),wn()),it(A.name);let he=A.body;if(!he)return dl();for(;he&&Pl(he);)Rn("."),it(he.name),he=he.body;wn(),it(he)}function KT(A){c0(A),Q(A.statements,iu),gn(A,ey(A)),ty(A)}function eS(A){Nr(18,A.pos,Rn,A),_c(A,A.clauses,129),Nr(19,A.clauses.end,Rn,A,!0)}function Jv(A){Rp(A,A.modifiers,!1),Nr(100,A.modifiers?A.modifiers.end:A.pos,Bs,A),wn(),A.isTypeOnly&&(Nr(154,A.pos,Bs,A),wn()),it(A.name),wn(),Nr(63,A.name.end,Rn,A),wn(),a2(A.moduleReference),dl()}function a2(A){A.kind===79?wr(A):it(A)}function Uv(A){Rp(A,A.modifiers,!1),Nr(100,A.modifiers?A.modifiers.end:A.pos,Bs,A),wn(),A.importClause&&(it(A.importClause),wn(),Nr(158,A.importClause.end,Bs,A),wn()),wr(A.moduleSpecifier),A.assertClause&&y2(A.assertClause),dl()}function mk(A){A.isTypeOnly&&(Nr(154,A.pos,Bs,A),wn()),it(A.name),A.name&&A.namedBindings&&(Nr(27,A.name.end,Rn,A),wn()),it(A.namedBindings)}function Zy(A){const he=Nr(41,A.pos,Rn,A);wn(),Nr(128,he,Bs,A),wn(),it(A.name)}function Do(A){o2(A)}function tS(A){c2(A)}function s3(A){const he=Nr(93,A.pos,Bs,A);wn(),A.isExportEquals?Nr(63,he,Bp,A):Nr(88,he,Bs,A),wn(),wr(A.expression,A.isExportEquals?ii.getParenthesizeRightSideOfBinaryForOperator(63):ii.parenthesizeExpressionOfExportDefault),dl()}function m1(A){Rp(A,A.modifiers,!1);let he=Nr(93,A.pos,Bs,A);if(wn(),A.isTypeOnly&&(he=Nr(154,he,Bs,A),wn()),A.exportClause?it(A.exportClause):he=Nr(41,he,Rn,A),A.moduleSpecifier){wn();const Me=A.exportClause?A.exportClause.end:he;Nr(158,Me,Bs,A),wn(),wr(A.moduleSpecifier)}A.assertClause&&y2(A.assertClause),dl()}function Ky(A){Nr(130,A.pos,Bs,A),wn();const he=A.elements;_c(A,he,526226)}function lg(A){it(A.name),Rn(":"),wn();const he=A.value;if(!(Wa(he)&1024)){const Me=eg(he);f0(Me.pos)}it(he)}function ad(A){let he=Nr(93,A.pos,Bs,A);wn(),he=Nr(128,he,Bs,A),wn(),he=Nr(143,he,Bs,A),wn(),it(A.name),dl()}function k_(A){const he=Nr(41,A.pos,Rn,A);wn(),Nr(128,he,Bs,A),wn(),it(A.name)}function C_(A){o2(A)}function w_(A){c2(A)}function o2(A){Rn("{"),_c(A,A.elements,525136),Rn("}")}function c2(A){A.isTypeOnly&&(Bs("type"),wn()),A.propertyName&&(it(A.propertyName),wn(),Nr(128,A.propertyName.end,Bs,A),wn()),it(A.name)}function Xw(A){Bs("require"),Rn("("),wr(A.expression),Rn(")")}function l2(A){it(A.openingElement),_c(A,A.children,262144),it(A.closingElement)}function e0(A){Rn("<"),_2(A.tagName),ph(A,A.typeArguments),wn(),it(A.attributes),Rn("/>")}function u2(A){it(A.openingFragment),_c(A,A.children,262144),it(A.closingFragment)}function hk(A){if(Rn("<"),Wg(A)){const he=cS(A.tagName,A);_2(A.tagName),ph(A,A.typeArguments),A.attributes.properties&&A.attributes.properties.length>0&&wn(),it(A.attributes),T2(A.attributes,A),o0(he)}Rn(">")}function f2(A){le.writeLiteral(A.text)}function a3(A){Rn("</"),pw(A)&&_2(A.tagName),Rn(">")}function Qw(A){_c(A,A.properties,262656)}function zv(A){it(A.name),eE("=",Rn,A.initializer,qr)}function rS(A){Rn("{..."),wr(A.expression),Rn("}")}function nt(A){let he=!1;return l7((M==null?void 0:M.text)||"",A+1,()=>he=!0),he}function h1(A){let he=!1;return c7((M==null?void 0:M.text)||"",A+1,()=>he=!0),he}function fh(A){return nt(A)||h1(A)}function Vv(A){var he;if(A.expression||!mr&&!Mc(A)&&fh(A.pos)){const Me=M&&!Mc(A)&&zc(M,A.pos).line!==zc(M,A.end).line;Me&&le.increaseIndent();const Sr=Nr(18,A.pos,Rn,A);it(A.dotDotDotToken),wr(A.expression),Nr(19,((he=A.expression)==null?void 0:he.end)||Sr,Rn,A),Me&&le.decreaseIndent()}}function _2(A){A.kind===79?wr(A):it(A)}function $v(A){Nr(82,A.pos,Bs,A),wn(),wr(A.expression,ii.parenthesizeExpressionForDisallowedComma),gk(A,A.statements,A.expression.end)}function t0(A){const he=Nr(88,A.pos,Bs,A);gk(A,A.statements,he)}function gk(A,he,Me){const Sr=he.length===1&&(!M||Mc(A)||Mc(he[0])||Lj(A,he[0],M));let Qn=163969;Sr?(b1(58,Me,Rn,A),wn(),Qn&=-130):Nr(58,Me,Rn,A),_c(A,he,Qn)}function Oo(A){wn(),am(A.token,Bs),wn(),_c(A,A.types,528)}function nm(A){const he=Nr(83,A.pos,Bs,A);wn(),A.variableDeclaration&&(Nr(20,he,Rn,A),it(A.variableDeclaration),Nr(21,A.variableDeclaration.end,Rn,A),wn()),it(A.block)}function nS(A){it(A.name),Rn(":"),wn();const he=A.initializer;if(!(Wa(he)&1024)){const Me=eg(he);f0(Me.pos)}wr(he,ii.parenthesizeExpressionForDisallowedComma)}function nu(A){it(A.name),A.objectAssignmentInitializer&&(wn(),Rn("="),wn(),wr(A.objectAssignmentInitializer,ii.parenthesizeExpressionForDisallowedComma))}function Zg(A){A.expression&&(Nr(25,A.pos,Rn,A),wr(A.expression,ii.parenthesizeExpressionForDisallowedComma))}function p2(A){it(A.name),sm(A.initializer,A.name.end,A,ii.parenthesizeExpressionForDisallowedComma)}function im(A){if(Qe("/**"),A.comment){const he=m7(A.comment);if(he){const Me=he.split(/\r\n?|\n/g);for(const Sr of Me)pu(),wn(),Rn("*"),wn(),Qe(Sr)}}A.tags&&(A.tags.length===1&&A.tags[0].kind===347&&!A.comment?(wn(),it(A.tags[0])):_c(A,A.tags,33)),wn(),Qe("*/")}function d2(A){Kg(A.tagName),Xc(A.typeExpression),fg(A.comment)}function Yu(A){Kg(A.tagName),it(A.name),fg(A.comment)}function r0(A){wn(),Rn("{"),it(A.name),Rn("}")}function Tu(A){Kg(A.tagName),wn(),Rn("{"),it(A.class),Rn("}"),fg(A.comment)}function yk(A){Kg(A.tagName),Xc(A.constraint),wn(),_c(A,A.typeParameters,528),fg(A.comment)}function o3(A){Kg(A.tagName),A.typeExpression&&(A.typeExpression.kind===312?Xc(A.typeExpression):(wn(),Rn("{"),Qe("Object"),A.typeExpression.isArrayType&&(Rn("["),Rn("]")),Rn("}"))),A.fullName&&(wn(),it(A.fullName)),fg(A.comment),A.typeExpression&&A.typeExpression.kind===325&&H_(A.typeExpression)}function ys(A){Kg(A.tagName),A.name&&(wn(),it(A.name)),fg(A.comment),iS(A.typeExpression)}function gi(A){fg(A.comment),iS(A.typeExpression)}function ug(A){Kg(A.tagName),fg(A.comment)}function H_(A){_c(A,J.createNodeArray(A.jsDocPropertyTags),33)}function iS(A){A.typeParameters&&_c(A,J.createNodeArray(A.typeParameters),33),A.parameters&&_c(A,J.createNodeArray(A.parameters),33),A.type&&(pu(),wn(),Rn("*"),wn(),it(A.type))}function n0(A){Kg(A.tagName),Xc(A.typeExpression),wn(),A.isBracketed&&Rn("["),it(A.name),A.isBracketed&&Rn("]"),fg(A.comment)}function Kg(A){Rn("@"),it(A)}function fg(A){const he=m7(A);he&&(wn(),Qe(he))}function Xc(A){A&&(wn(),Rn("{"),it(A.type),Rn("}"))}function m2(A){pu();const he=A.statements;if(he.length===0||!vm(he[0])||Mc(he[0])){u0(A,he,od);return}od(A)}function vk(A){bk(!!A.hasNoDefaultLib,A.syntheticFileReferences||[],A.syntheticTypeReferences||[],A.syntheticLibReferences||[]);for(const he of A.prepends)if(jx(he)&&he.syntheticReferences)for(const Me of he.syntheticReferences)it(Me),pu()}function h2(A){A.isDeclarationFile&&bk(A.hasNoDefaultLib,A.referencedFiles,A.typeReferenceDirectives,A.libReferenceDirectives)}function bk(A,he,Me,Sr){if(A){const Qn=le.getTextPos();_g('/// <reference no-default-lib="true"/>'),tt&&tt.sections.push({pos:Qn,end:le.getTextPos(),kind:"no-default-lib"}),pu()}if(M&&M.moduleName&&(_g(`/// <amd-module name="${M.moduleName}" />`),pu()),M&&M.amdDependencies)for(const Qn of M.amdDependencies)Qn.name?_g(`/// <amd-dependency name="${Qn.name}" path="${Qn.path}" />`):_g(`/// <amd-dependency path="${Qn.path}" />`),pu();for(const Qn of he){const Qi=le.getTextPos();_g(`/// <reference path="${Qn.fileName}" />`),tt&&tt.sections.push({pos:Qi,end:le.getTextPos(),kind:"reference",data:Qn.fileName}),pu()}for(const Qn of Me){const Qi=le.getTextPos(),Li=Qn.resolutionMode&&Qn.resolutionMode!==(M==null?void 0:M.impliedNodeFormat)?`resolution-mode="${Qn.resolutionMode===99?"import":"require"}"`:"";_g(`/// <reference types="${Qn.fileName}" ${Li}/>`),tt&&tt.sections.push({pos:Qi,end:le.getTextPos(),kind:Qn.resolutionMode?Qn.resolutionMode===99?"type-import":"type-require":"type",data:Qn.fileName}),pu()}for(const Qn of Sr){const Qi=le.getTextPos();_g(`/// <reference lib="${Qn.fileName}" />`),tt&&tt.sections.push({pos:Qi,end:le.getTextPos(),kind:"lib",data:Qn.fileName}),pu()}}function od(A){const he=A.statements;c0(A),Q(A.statements,iu),Dr(A);const Me=ar(he,Sr=>!vm(Sr));h2(A),_c(A,he,1,void 0,Me===-1?he.length:Me),ty(A)}function Yw(A){const he=Wa(A);!(he&1024)&&A.pos!==A.expression.pos&&f0(A.expression.pos),wr(A.expression),!(he&2048)&&A.end!==A.expression.end&&A_(A.expression.end)}function Zw(A){y1(A,A.elements,528,void 0)}function qv(A,he,Me,Sr){let Qn=!!he;for(let Qi=0;Qi<A.length;Qi++){const Li=A[Qi];if(vm(Li)){if(Me?!Me.has(Li.expression.text):!0){Qn&&(Qn=!1,xe(he)),pu();const Ja=le.getTextPos();it(Li),Sr&&tt&&tt.sections.push({pos:Ja,end:le.getTextPos(),kind:"prologue",data:Li.expression.text}),Me&&Me.add(Li.expression.text)}}else return Qi}return A.length}function Tk(A,he){for(const Me of A)if(!he.has(Me.data)){pu();const Sr=le.getTextPos();it(Me),tt&&tt.sections.push({pos:Sr,end:le.getTextPos(),kind:"prologue",data:Me.data}),he&&he.add(Me.data)}}function Sk(A){if(bs(A))qv(A.statements,A);else{const he=new Set;for(const Me of A.prepends)Tk(Me.prologues,he);for(const Me of A.sourceFiles)qv(Me.statements,Me,he,!0);xe(void 0)}}function Kw(A){const he=new Set;let Me;for(let Sr=0;Sr<A.sourceFiles.length;Sr++){const Qn=A.sourceFiles[Sr];let Qi,Li=0;for(const ms of Qn.statements){if(!vm(ms))break;he.has(ms.expression.text)||(he.add(ms.expression.text),(Qi||(Qi=[])).push({pos:ms.pos,end:ms.end,expression:{pos:ms.expression.pos,end:ms.expression.end,text:ms.expression.text}}),Li=Li<ms.end?ms.end:Li)}Qi&&(Me||(Me=[])).push({file:Sr,text:Qn.text.substring(0,Li),directives:Qi})}return Me}function g2(A){if(bs(A)||jx(A)){const he=SB(A.text);if(he)return _g(he),pu(),!0}else{for(const he of A.prepends)if(R.assertNode(he,jx),g2(he))return!0;for(const he of A.sourceFiles)if(g2(he))return!0}}function xk(A,he){if(!A)return;const Me=Qe;Qe=he,it(A),Qe=Me}function Rp(A,he,Me){if(he!=null&&he.length){if(ut(he,ja))return i0(A,he);if(ut(he,Df))return Me?s0(A,he):A.pos;h==null||h(he);let Sr,Qn,Qi=0,Li=0,ms;for(;Qi<he.length;){for(;Li<he.length;){if(ms=he[Li],Qn=Df(ms)?"decorators":"modifiers",Sr===void 0)Sr=Qn;else if(Qn!==Sr)break;Li++}const Ja={pos:-1,end:-1};Qi===0&&(Ja.pos=he.pos),Li===he.length-1&&(Ja.end=he.end),(Sr==="modifiers"||Me)&&v2(it,A,he,Sr==="modifiers"?2359808:2146305,void 0,Qi,Li-Qi,!1,Ja),Qi=Li,Sr=Qn,Li++}if(k==null||k(he),ms&&!nh(ms.end))return ms.end}return A.pos}function i0(A,he){_c(A,he,2359808);const Me=Rc(he);return Me&&!nh(Me.end)?Me.end:A.pos}function Im(A){A&&(Rn(":"),wn(),it(A))}function sm(A,he,Me,Sr){A&&(wn(),Nr(63,he,Bp,Me),wn(),wr(A,Sr))}function eE(A,he,Me,Sr){Me&&(he(A),Sr(Me))}function y2(A){A&&(wn(),it(A))}function _h(A,he){A&&(wn(),wr(A,he))}function kk(A){A&&(it(A),wn())}function c_(A,he){Fa(he)||Wa(A)&1?(wn(),it(he)):(pu(),Ed(),ore(he)?wt(5,he):it(he),Om())}function s0(A,he){_c(A,he,2146305);const Me=Rc(he);return Me&&!nh(Me.end)?Me.end:A.pos}function ph(A,he){_c(A,he,53776,Rt)}function dh(A,he){if(Sa(A)&&A.typeArguments)return ph(A,A.typeArguments);_c(A,he,53776)}function a0(A,he){_c(A,he,2576)}function sS(A,he){const Me=Fh(he);return Me&&Me.pos===A.pos&&Ac(A)&&!A.type&&!Oe(A.modifiers)&&!Oe(A.typeParameters)&&!Oe(Me.modifiers)&&!Me.dotDotDotToken&&!Me.questionToken&&!Me.type&&!Me.initializer&&Ye(Me.name)}function Ck(A,he){sS(A,he)?_c(A,he,528):a0(A,he)}function g1(A,he){_c(A,he,8848)}function aS(A){switch(A&60){case 0:break;case 16:Rn(",");break;case 4:wn(),Rn("|");break;case 32:wn(),Rn("*"),wn();break;case 8:wn(),Rn("&");break}}function _c(A,he,Me,Sr,Qn,Qi){tE(it,A,he,Me|(A&&Wa(A)&2?65536:0),Sr,Qn,Qi)}function y1(A,he,Me,Sr,Qn,Qi){tE(wr,A,he,Me,Sr,Qn,Qi)}function tE(A,he,Me,Sr,Qn,Qi=0,Li=Me?Me.length-Qi:0){if(Me===void 0&&Sr&16384)return;const Ja=Me===void 0||Qi>=Me.length||Li===0;if(Ja&&Sr&32768){h==null||h(Me),k==null||k(Me);return}Sr&15360&&(Rn(Ret(Sr)),Ja&&Me&&f0(Me.pos,!0)),h==null||h(Me),Ja?Sr&1&&!(we&&(!he||M&&Nx(he,M)))?pu():Sr&256&&!(Sr&524288)&&wn():v2(A,he,Me,Sr,Qn,Qi,Li,Me.hasTrailingComma,Me),k==null||k(Me),Sr&15360&&(Ja&&Me&&A_(Me.end),Rn(Bet(Sr)))}function v2(A,he,Me,Sr,Qn,Qi,Li,ms,Ja){const Vu=(Sr&262144)===0;let Q_=Vu;const bp=Zu(he,Me[Qi],Sr);bp?(pu(bp),Q_=!1):Sr&256&&wn(),Sr&128&&Ed();const A1=zet(A,Qn);let Y_,eb,tb=!1;for(let hg=0;hg<Li;hg++){const D1=Me[Qi+hg];if(Sr&32)pu(),aS(Sr);else if(Y_){Sr&60&&Y_.end!==(he?he.end:-1)&&(Wa(Y_)&2048||A_(Y_.end)),aS(Sr),_i(eb);const cd=Ad(Y_,D1,Sr);cd>0?(Sr&131||(Ed(),tb=!0),pu(cd),Q_=!1):Y_&&Sr&512&&wn()}if(eb=Xn(D1),Q_){const cd=eg(D1);f0(cd.pos)}else Q_=Vu;Pe=D1.pos,A1(D1,A,Qn,hg),tb&&(Om(),tb=!1),Y_=D1}const P1=Y_?Wa(Y_):0,Pd=mr||!!(P1&2048),SS=ms&&Sr&64&&Sr&16;SS&&(Y_&&!Pd?Nr(27,Y_.end,Rn,Y_):Rn(",")),Y_&&(he?he.end:-1)!==Y_.end&&Sr&60&&!Pd&&A_(SS&&(Ja!=null&&Ja.end)?Ja.end:Y_.end),Sr&128&&Om(),_i(eb);const Up=pg(he,Me[Qi+Li-1],Sr,Ja);Up?pu(Up):Sr&2097408&&wn()}function b2(A){le.writeLiteral(A)}function rE(A){le.writeStringLiteral(A)}function c3(A){le.write(A)}function nE(A,he){le.writeSymbol(A,he)}function Rn(A){le.writePunctuation(A)}function dl(){le.writeTrailingSemicolon(";")}function Bs(A){le.writeKeyword(A)}function Bp(A){le.writeOperator(A)}function Wv(A){le.writeParameter(A)}function _g(A){le.writeComment(A)}function wn(){le.writeSpace(" ")}function iE(A){le.writeProperty(A)}function v1(A){le.nonEscapingWrite?le.nonEscapingWrite(A):le.write(A)}function pu(A=1){for(let he=0;he<A;he++)le.writeLine(he>0)}function Ed(){le.increaseIndent()}function Om(){le.decreaseIndent()}function b1(A,he,Me,Sr){return We?am(A,Me,he):l3(Sr,A,Me,he,am)}function oS(A,he){S&&S(A),he(qa(A.kind)),w&&w(A)}function am(A,he,Me){const Sr=qa(A);return he(Sr),Me<0?Me:Me+Sr.length}function T1(A,he,Me){if(Wa(A)&1)wn();else if(we){const Sr=Lm(A,he,Me);Sr?pu(Sr):wn()}else pu()}function Il(A){const he=A.split(/\r\n?|\n/g),Me=Mbe(he);for(const Sr of he){const Qn=Me?Sr.slice(Me):Sr;Qn.length&&(pu(),Qe(Qn))}}function jl(A,he){A?(Ed(),pu(A)):he&&wn()}function o0(A,he){A&&Om(),he&&Om()}function Zu(A,he,Me){if(Me&2||we){if(Me&65536)return 1;if(he===void 0)return!A||M&&Nx(A,M)?0:1;if(he.pos===Pe||he.kind===11)return 0;if(M&&A&&!nh(A.pos)&&!Mc(he)&&(!he.parent||sl(he.parent)===sl(A)))return we?E_(Sr=>gTe(he.pos,A.pos,M,Sr)):Lj(A,he,M)?0:1;if(S2(he,Me))return 1}return Me&1?1:0}function Ad(A,he,Me){if(Me&2||we){if(A===void 0||he===void 0||he.kind===11)return 0;if(M&&!Mc(A)&&!Mc(he))return we&&sy(A,he)?E_(Sr=>Jee(A,he,M,Sr)):!we&&Zv(A,he)?v5(A,he,M)?0:1:Me&65536?1:0;if(S2(A,Me)||S2(he,Me))return 1}else if($5(he))return 1;return Me&1?1:0}function pg(A,he,Me,Sr){if(Me&2||we){if(Me&65536)return 1;if(he===void 0)return!A||M&&Nx(A,M)?0:1;if(M&&A&&!nh(A.pos)&&!Mc(he)&&(!he.parent||he.parent===A)){if(we){const Qn=Sr&&!nh(Sr.end)?Sr.end:he.end;return E_(Qi=>yTe(Qn,A.end,M,Qi))}return dTe(A,he,M)?0:1}if(S2(he,Me))return 1}return Me&1&&!(Me&131072)?1:0}function E_(A){R.assert(!!we);const he=A(!0);return he===0?A(!1):he}function cS(A,he){const Me=we&&Zu(he,A,0);return Me&&jl(Me,!1),!!Me}function T2(A,he){const Me=we&&pg(he,A,0,void 0);Me&&pu(Me)}function S2(A,he){if(Mc(A)){const Me=$5(A);return Me===void 0?(he&65536)!==0:Me}return(he&65536)!==0}function Lm(A,he,Me){return Wa(A)&262144?0:(A=lS(A),he=lS(he),Me=lS(Me),$5(Me)?1:M&&!Mc(A)&&!Mc(he)&&!Mc(Me)?we?E_(Sr=>Jee(he,Me,M,Sr)):v5(he,Me,M)?0:1:0)}function ey(A){return A.statements.length===0&&(!M||v5(A,A,M))}function lS(A){for(;A.kind===214&&Mc(A);)A=A.expression;return A}function S1(A,he){if(al(A)||PC(A))return x2(A);if(yo(A)&&A.textSourceNode)return S1(A.textSourceNode,he);const Me=M,Sr=!!Me&&!!A.parent&&!Mc(A);if(Ny(A)){if(!Sr||bn(A)!==sl(Me))return ai(A)}else if(R.assertNode(A,px),!Sr)return A.text;return mT(Me,A,he)}function ml(A,he,Me){if(A.kind===10&&A.textSourceNode){const Qn=A.textSourceNode;if(Ye(Qn)||as(Qn)||Td(Qn)){const Qi=Td(Qn)?Qn.text:S1(Qn);return Me?`"${bee(Qi)}"`:he||Wa(A)&33554432?`"${UC(Qi)}"`:`"${u5(Qi)}"`}else return ml(Qn,he,Me)}const Sr=(he?1:0)|(Me?2:0)|(e.terminateUnterminatedLiterals?4:0)|(e.target&&e.target===99?8:0);return Qbe(A,M,Sr)}function c0(A){A&&Wa(A)&1048576||(fe.push(Ce),Ce=0,ie.push(se),se=void 0,_e.push(K))}function ty(A){A&&Wa(A)&1048576||(Ce=fe.pop(),se=ie.pop(),K=_e.pop())}function Hv(A){(!K||K===Rc(_e))&&(K=new Set),K.add(A)}function Gv(A,he){V.push(ve),ve=A,ge.push(K),Se=he}function Ku(){ve=V.pop(),Se=ge.pop()}function ry(A){(!Se||Se===Rc(ge))&&(Se=new Set),Se.add(A)}function iu(A){if(A)switch(A.kind){case 238:Q(A.statements,iu);break;case 253:case 251:case 243:case 244:iu(A.statement);break;case 242:iu(A.thenStatement),iu(A.elseStatement);break;case 245:case 247:case 246:iu(A.initializer),iu(A.statement);break;case 252:iu(A.caseBlock);break;case 266:Q(A.clauses,iu);break;case 292:case 293:Q(A.statements,iu);break;case 255:iu(A.tryBlock),iu(A.catchClause),iu(A.finallyBlock);break;case 295:iu(A.variableDeclaration),iu(A.block);break;case 240:iu(A.declarationList);break;case 258:Q(A.declarations,iu);break;case 257:case 166:case 205:case 260:ny(A.name);break;case 259:ny(A.name),Wa(A)&1048576&&(Q(A.parameters,iu),iu(A.body));break;case 203:case 204:Q(A.elements,iu);break;case 269:iu(A.importClause);break;case 270:ny(A.name),iu(A.namedBindings);break;case 271:ny(A.name);break;case 277:ny(A.name);break;case 272:Q(A.elements,iu);break;case 273:ny(A.propertyName||A.name);break}}function uS(A){if(A)switch(A.kind){case 299:case 300:case 169:case 171:case 174:case 175:ny(A.name);break}}function ny(A){A&&(al(A)||PC(A)?x2(A):xa(A)&&iu(A))}function x2(A){const he=A.emitNode.autoGenerate;if((he.flags&7)===4)return l_(nU(A),as(A),he.flags,he.prefix,he.suffix);{const Me=he.id;return Z[Me]||(Z[Me]=Zn(A))}}function l_(A,he,Me,Sr,Qn){const Qi=Wo(A),Li=he?X:W;return Li[Qi]||(Li[Qi]=Fo(A,he,Me??0,w4(Sr,x2),w4(Qn)))}function dg(A,he){return Xv(A)&&!k2(A,he)&&!ue.has(A)}function k2(A,he){return he?!!(Se!=null&&Se.has(A)):!!(K!=null&&K.has(A))}function Xv(A,he){return M?WB(M,A,n):!0}function fS(A,he){for(let Me=he;Me&&wx(Me,he);Me=Me.nextContainer)if($h(Me)&&Me.locals){const Sr=Me.locals.get(Vc(A));if(Sr&&Sr.flags&3257279)return!1}return!0}function x1(A){var he;switch(A){case"":return Ce;case"#":return ve;default:return(he=se==null?void 0:se.get(A))!=null?he:0}}function wk(A,he){switch(A){case"":Ce=he;break;case"#":ve=he;break;default:se??(se=new Map),se.set(A,he);break}}function Qv(A,he,Me,Sr,Qn){Sr.length>0&&Sr.charCodeAt(0)===35&&(Sr=Sr.slice(1));const Qi=zx(Me,Sr,"",Qn);let Li=x1(Qi);if(A&&!(Li&A)){const Ja=zx(Me,Sr,A===268435456?"_i":"_n",Qn);if(dg(Ja,Me))return Li|=A,Me?ry(Ja):he&&Hv(Ja),wk(Qi,Li),Ja}for(;;){const ms=Li&268435455;if(Li++,ms!==8&&ms!==13){const Ja=ms<26?"_"+String.fromCharCode(97+ms):"_"+(ms-26),Vu=zx(Me,Sr,Ja,Qn);if(dg(Vu,Me))return Me?ry(Vu):he&&Hv(Vu),wk(Qi,Li),Vu}}}function l0(A,he=dg,Me,Sr,Qn,Qi,Li){if(A.length>0&&A.charCodeAt(0)===35&&(A=A.slice(1)),Qi.length>0&&Qi.charCodeAt(0)===35&&(Qi=Qi.slice(1)),Me){const Ja=zx(Qn,Qi,A,Li);if(he(Ja,Qn))return Qn?ry(Ja):Sr?Hv(Ja):ue.add(Ja),Ja}A.charCodeAt(A.length-1)!==95&&(A+="_");let ms=1;for(;;){const Ja=zx(Qn,Qi,A+ms,Li);if(he(Ja,Qn))return Qn?ry(Ja):Sr?Hv(Ja):ue.add(Ja),Ja;ms++}}function jp(A){return l0(A,Xv,!0,!1,!1,"","")}function _S(A){const he=S1(A.name);return fS(he,Pi(A,$h))?he:l0(he,dg,!1,!1,!1,"","")}function yp(A){const he=B6(A),Me=yo(he)?Zbe(he.text):"module";return l0(Me,dg,!1,!1,!1,"","")}function iy(){return l0("default",dg,!1,!1,!1,"","")}function Yv(){return l0("class",dg,!1,!1,!1,"","")}function sE(A,he,Me,Sr){return Ye(A.name)?l_(A.name,he):Qv(0,!1,he,Me,Sr)}function Fo(A,he,Me,Sr,Qn){switch(A.kind){case 79:case 80:return l0(S1(A),dg,!!(Me&16),!!(Me&8),he,Sr,Qn);case 264:case 263:return R.assert(!Sr&&!Qn&&!he),_S(A);case 269:case 275:return R.assert(!Sr&&!Qn&&!he),yp(A);case 259:case 260:{R.assert(!Sr&&!Qn&&!he);const Qi=A.name;return Qi&&!al(Qi)?Fo(Qi,!1,Me,Sr,Qn):iy()}case 274:return R.assert(!Sr&&!Qn&&!he),iy();case 228:return R.assert(!Sr&&!Qn&&!he),Yv();case 171:case 174:case 175:return sE(A,he,Sr,Qn);case 164:return Qv(0,!0,he,Sr,Qn);default:return Qv(0,!1,he,Sr,Qn)}}function Zn(A){const he=A.emitNode.autoGenerate,Me=w4(he.prefix,x2),Sr=w4(he.suffix);switch(he.flags&7){case 1:return Qv(0,!!(he.flags&8),as(A),Me,Sr);case 2:return R.assertNode(A,Ye),Qv(268435456,!!(he.flags&8),!1,Me,Sr);case 3:return l0(ai(A),he.flags&32?Xv:dg,!!(he.flags&16),!!(he.flags&8),as(A),Me,Sr)}return R.fail(`Unsupported GeneratedIdentifierKind: ${R.formatEnum(he.flags&7,aB,!0)}.`)}function G_(A,he){const Me=$e(2,A,he),Sr=mt,Qn=xr,Qi=dr;u_(he),Me(A,he),Ek(he,Sr,Qn,Qi)}function u_(A){const he=Wa(A),Me=eg(A);pS(A,he,Me.pos,Me.end),he&4096&&(mr=!0)}function Ek(A,he,Me,Sr){const Qn=Wa(A),Qi=eg(A);Qn&4096&&(mr=!1),k1(A,Qn,Qi.pos,Qi.end,he,Me,Sr);const Li=DSe(A);Li&&k1(A,Qn,Li.pos,Li.end,he,Me,Sr)}function pS(A,he,Me,Sr){ws(),Gr=!1;const Qn=Me<0||(he&1024)!==0||A.kind===11,Qi=Sr<0||(he&2048)!==0||A.kind===11;(Me>0||Sr>0)&&Me!==Sr&&(Qn||hh(Me,A.kind!==355),(!Qn||Me>=0&&he&1024)&&(mt=Me),(!Qi||Sr>=0&&he&2048)&&(xr=Sr,A.kind===258&&(dr=Sr))),Q(o4(A),aE),Es()}function k1(A,he,Me,Sr,Qn,Qi,Li){ws();const ms=Sr<0||(he&2048)!==0||A.kind===11;Q(W5(A),C1),(Me>0||Sr>0)&&Me!==Sr&&(mt=Qn,xr=Qi,dr=Li,!ms&&A.kind!==355&&dS(Sr)),Es()}function aE(A){(A.hasLeadingNewline||A.kind===2)&&le.writeLine(),mh(A),A.hasTrailingNewLine||A.kind===2?le.writeLine():le.writeSpace(" ")}function C1(A){le.isAtStartOfLine()||le.writeSpace(" "),mh(A),A.hasTrailingNewLine&&le.writeLine()}function mh(A){const he=Mm(A),Me=A.kind===3?s7(he):void 0;X6(he,Me,le,0,he.length,O)}function Mm(A){return A.kind===3?`/*${A.text}*/`:`//${A.text}`}function u0(A,he,Me){ws();const{pos:Sr,end:Qn}=he,Qi=Wa(A),Li=Sr<0||(Qi&1024)!==0,ms=mr||Qn<0||(Qi&2048)!==0;Li||Kv(he),Es(),Qi&4096&&!mr?(mr=!0,Me(A),mr=!1):Me(A),ws(),ms||(hh(he.end,!0),Gr&&!le.isAtStartOfLine()&&le.writeLine()),Es()}function Zv(A,he){return A=sl(A),A.parent&&A.parent===sl(he).parent}function sy(A,he){if(he.pos<A.end)return!1;A=sl(A),he=sl(he);const Me=A.parent;if(!Me||Me!==he.parent)return!1;const Sr=YTe(A),Qn=Sr==null?void 0:Sr.indexOf(A);return Qn!==void 0&&Qn>-1&&Sr.indexOf(he)===Qn+1}function hh(A,he){Gr=!1,he?A===0&&(M!=null&&M.isDeclarationFile)?pc(A,Ol):pc(A,mg):A===0&&pc(A,Ak)}function Ak(A,he,Me,Sr,Qn){gS(A,he)&&mg(A,he,Me,Sr,Qn)}function Ol(A,he,Me,Sr,Qn){gS(A,he)||mg(A,he,Me,Sr,Qn)}function vp(A,he){return e.onlyPrintJsDocStyle?Lre(A,he)||HB(A,he):!0}function mg(A,he,Me,Sr,Qn){!M||!vp(M.text,A)||(Gr||(Y2e(ct(),le,Qn,A),Gr=!0),X_(A),X6(M.text,ct(),le,A,he,O),X_(he),Sr?le.writeLine():Me===3&&le.writeSpace(" "))}function A_(A){mr||A===-1||hh(A,!0)}function dS(A){mS(A,w1)}function w1(A,he,Me,Sr){!M||!vp(M.text,A)||(le.isAtStartOfLine()||le.writeSpace(" "),X_(A),X6(M.text,ct(),le,A,he,O),X_(he),Sr&&le.writeLine())}function f0(A,he,Me){mr||(ws(),mS(A,he?w1:Me?oE:Jp),Es())}function oE(A,he,Me){M&&(X_(A),X6(M.text,ct(),le,A,he,O),X_(he),Me===2&&le.writeLine())}function Jp(A,he,Me,Sr){M&&(X_(A),X6(M.text,ct(),le,A,he,O),X_(he),Sr?le.writeLine():le.writeSpace(" "))}function pc(A,he){M&&(mt===-1||A!==mt)&&(hS(A)?_0(he):c7(M.text,A,he,A))}function mS(A,he){M&&(xr===-1||A!==xr&&A!==dr)&&l7(M.text,A,he)}function hS(A){return un!==void 0&&ko(un).nodePos===A}function _0(A){if(!M)return;const he=ko(un).detachedCommentEndPos;un.length-1?un.pop():un=void 0,c7(M.text,he,A,he)}function Kv(A){const he=M&&K2e(M.text,ct(),le,Pk,A,O,mr);he&&(un?un.push(he):un=[he])}function Pk(A,he,Me,Sr,Qn,Qi){!M||!vp(M.text,Sr)||(X_(Sr),X6(A,he,Me,Sr,Qn,Qi),X_(Qn))}function gS(A,he){return!!M&&DK(M.text,A,he)}function yS(A){return A.parsedSourceMap===void 0&&A.sourceMapText!==void 0&&(A.parsedSourceMap=Wne(A.sourceMapText)||!1),A.parsedSourceMap||void 0}function vS(A,he){const Me=$e(3,A,he);bS(he),Me(A,he),TS(he)}function bS(A){const he=Wa(A),Me=Wb(A);if(sK(A)){R.assertIsDefined(A.parent,"UnparsedNodes must have parent pointers");const Sr=yS(A.parent);Sr&&gt&&gt.appendSourceMap(le.getLine(),le.getColumn(),Sr,A.parent.sourceMapPath,A.parent.getLineAndCharacterOfPosition(A.pos),A.parent.getLineAndCharacterOfPosition(A.end))}else{const Sr=Me.source||jt;A.kind!==355&&!(he&32)&&Me.pos>=0&&ay(Me.source||jt,E1(Sr,Me.pos)),he&128&&(We=!0)}}function TS(A){const he=Wa(A),Me=Wb(A);sK(A)||(he&128&&(We=!1),A.kind!==355&&!(he&64)&&Me.end>=0&&ay(Me.source||jt,Me.end))}function E1(A,he){return A.skipTrivia?A.skipTrivia(he):wo(A.text,he)}function X_(A){if(We||nh(A)||lE(jt))return;const{line:he,character:Me}=zc(jt,A);gt.addMapping(le.getLine(),le.getColumn(),It,he,Me,void 0)}function ay(A,he){if(A!==jt){const Me=jt,Sr=It;p0(A),X_(he),cE(Me,Sr)}else X_(he)}function l3(A,he,Me,Sr,Qn){if(We||A&&dj(A))return Qn(he,Me,Sr);const Qi=A&&A.emitNode,Li=Qi&&Qi.flags||0,ms=Qi&&Qi.tokenSourceMapRanges&&Qi.tokenSourceMapRanges[he],Ja=ms&&ms.source||jt;return Sr=E1(Ja,ms?ms.pos:Sr),!(Li&256)&&Sr>=0&&ay(Ja,Sr),Sr=Qn(he,Me,Sr),ms&&(Sr=ms.end),!(Li&512)&&Sr>=0&&ay(Ja,Sr),Sr}function p0(A){if(!We){if(jt=A,A===er){It=ft;return}lE(A)||(It=gt.addSource(A.fileName),e.inlineSources&&gt.setSourceContent(It,A.text),er=A,ft=It)}}function cE(A,he){jt=A,It=he}function lE(A){return Gl(A.fileName,".json")}}function Fet(){const e=[];return e[1024]=["{","}"],e[2048]=["(",")"],e[4096]=["<",">"],e[8192]=["[","]"],e}function Ret(e){return vie[e&15360][0]}function Bet(e){return vie[e&15360][1]}function jet(e,t,n,s){t(e)}function Jet(e,t,n,s){t(e,n.select(s))}function Uet(e,t,n,s){t(e,n)}function zet(e,t){return e.length===1?jet:typeof t=="object"?Jet:Uet}var vie,iz,bie,VT,Tie,t9,Vet=p({"src/compiler/emitter.ts"(){aa(),aa(),oT(),vie=Fet(),iz={hasGlobalName:ga,getReferencedExportContainer:ga,getReferencedImportDeclaration:ga,getReferencedDeclarationWithCollidingName:ga,isDeclarationWithCollidingName:ga,isValueAliasDeclaration:ga,isReferencedAliasDeclaration:ga,isTopLevelValueImportEqualsWithEntityName:ga,getNodeCheckFlags:ga,isDeclarationVisible:ga,isLateBound:e=>!1,collectLinkedAliases:ga,isImplementationOfOverload:ga,isRequiredInitializedParameter:ga,isOptionalUninitializedParameterProperty:ga,isExpandoFunctionDeclaration:ga,getPropertiesOfContainerFunction:ga,createTypeOfDeclaration:ga,createReturnTypeOfSignatureDeclaration:ga,createTypeOfExpression:ga,createLiteralConstValue:ga,isSymbolAccessible:ga,isEntityNameVisible:ga,getConstantValue:ga,getReferencedValueDeclaration:ga,getTypeReferenceSerializationKind:ga,isOptionalParameter:ga,moduleExportsSomeValue:ga,isArgumentsLocalBinding:ga,getExternalModuleFileFromDeclaration:ga,getTypeReferenceDirectivesForEntityName:ga,getTypeReferenceDirectivesForSymbol:ga,isLiteralConstDeclaration:ga,getJsxFactoryEntity:ga,getJsxFragmentFactoryEntity:ga,getAllAccessorDeclarations:ga,getSymbolOfExternalModuleSpecifier:ga,isBindingCapturedByNode:ga,getDeclarationStatementsForSourceFile:ga,isImportRequiredByAugmentation:ga},bie=h_(()=>zT({})),VT=h_(()=>zT({removeComments:!0})),Tie=h_(()=>zT({removeComments:!0,neverAsciiEscape:!0})),t9=h_(()=>zT({removeComments:!0,omitTrailingSemicolon:!0}))}});function Hwe(e,t,n){if(!e.getDirectories||!e.readDirectory)return;const s=new Map,l=qu(n);return{useCaseSensitiveFileNames:n,fileExists:O,readFile:(V,ve)=>e.readFile(V,ve),directoryExists:e.directoryExists&&L,getDirectories:M,readDirectory:W,createDirectory:e.createDirectory&&U,writeFile:e.writeFile&&N,addOrDeleteFileOrDirectory:Z,addOrDeleteFile:ue,clearCache:se,realpath:e.realpath&&X};function f(V){return wc(V,t,l)}function d(V){return s.get(Ef(V))}function g(V){const ve=d($i(V));return ve&&(ve.sortedAndCanonicalizedFiles||(ve.sortedAndCanonicalizedFiles=ve.files.map(l).sort(),ve.sortedAndCanonicalizedDirectories=ve.directories.map(l).sort()),ve)}function h(V){return sf(Co(V))}function k(V,ve){var fe;if(!e.realpath||Ef(f(e.realpath(V)))===ve){const Ce={files:qt(e.readDirectory(V,void 0,void 0,["*.*"]),h)||[],directories:e.getDirectories(V)||[]};return s.set(Ef(ve),Ce),Ce}if((fe=e.directoryExists)!=null&&fe.call(e,V))return s.set(ve,!1),!1}function S(V,ve){ve=Ef(ve);const fe=d(ve);if(fe)return fe;try{return k(V,ve)}catch{R.assert(!s.has(Ef(ve)));return}}function w(V,ve){return rv(V,ve,Zc,wf)>=0}function N(V,ve,fe){const Ce=f(V),_e=g(Ce);return _e&&ie(_e,h(V),!0),e.writeFile(V,ve,fe)}function O(V){const ve=f(V),fe=g(ve);return fe&&w(fe.sortedAndCanonicalizedFiles,l(h(V)))||e.fileExists(V)}function L(V){const ve=f(V);return s.has(Ef(ve))||e.directoryExists(V)}function U(V){const ve=f(V),fe=g(ve);if(fe){const Ce=h(V),_e=l(Ce),K=fe.sortedAndCanonicalizedDirectories;la(K,_e,wf)&&fe.directories.push(Ce)}e.createDirectory(V)}function M(V){const ve=f(V),fe=S(V,ve);return fe?fe.directories.slice():e.getDirectories(V)}function W(V,ve,fe,Ce,_e){const K=f(V),ge=S(V,K);let Se;if(ge!==void 0)return nte(V,ve,fe,Ce,n,t,_e,we,X);return e.readDirectory(V,ve,fe,Ce,_e);function we(le){const ot=f(le);if(ot===K)return ge||Pe(le,ot);const Qe=S(le,ot);return Qe!==void 0?Qe||Pe(le,ot):aJ}function Pe(le,ot){if(Se&&ot===K)return Se;const Qe={files:qt(e.readDirectory(le,void 0,void 0,["*.*"]),h)||pt,directories:e.getDirectories(le)||pt};return ot===K&&(Se=Qe),Qe}}function X(V){return e.realpath?e.realpath(V):V}function Z(V,ve){if(d(ve)!==void 0){se();return}const Ce=g(ve);if(!Ce)return;if(!e.directoryExists){se();return}const _e=h(V),K={fileExists:e.fileExists(ve),directoryExists:e.directoryExists(ve)};return K.directoryExists||w(Ce.sortedAndCanonicalizedDirectories,l(_e))?se():ie(Ce,_e,K.fileExists),K}function ue(V,ve,fe){if(fe===1)return;const Ce=g(ve);Ce&&ie(Ce,h(V),fe===0)}function ie(V,ve,fe){const Ce=V.sortedAndCanonicalizedFiles,_e=l(ve);if(fe)la(Ce,_e,wf)&&V.files.push(ve);else{const K=rv(Ce,_e,Zc,wf);if(K>=0){Ce.splice(K,1);const ge=V.files.findIndex(Se=>l(Se)===_e);V.files.splice(ge,1)}}}function se(){s.clear()}}function Sie(e,t,n,s,l){var f;const d=tT(((f=t==null?void 0:t.configFile)==null?void 0:f.extendedSourceFiles)||pt,l);n.forEach((g,h)=>{d.has(h)||(g.projects.delete(e),g.close())}),d.forEach((g,h)=>{const k=n.get(h);k?k.projects.add(e):n.set(h,{projects:new Set([e]),watcher:s(g,h),close:()=>{const S=n.get(h);!S||S.projects.size!==0||(S.watcher.close(),n.delete(h))}})})}function Gwe(e,t){t.forEach(n=>{n.projects.delete(e)&&n.close()})}function xie(e,t,n){e.delete(t)&&e.forEach(({extendedResult:s},l)=>{var f;(f=s.extendedSourceFiles)!=null&&f.some(d=>n(d)===t)&&xie(e,l,n)})}function $et(e,t,n){const s=new Map(e);Z6(t,s,{createNewValue:n,onDeleteValue:Yh})}function Xwe(e,t,n){const s=e.getMissingFilePaths(),l=tT(s,Zc,nT);Z6(t,l,{createNewValue:n,onDeleteValue:Yh})}function sz(e,t,n){Z6(e,t,{createNewValue:s,onDeleteValue:ag,onExistingValue:l});function s(f,d){return{watcher:n(f,d),flags:d}}function l(f,d,g){f.flags!==d&&(f.watcher.close(),e.set(g,s(g,d)))}}function az({watchedDirPath:e,fileOrDirectory:t,fileOrDirectoryPath:n,configFileName:s,options:l,program:f,extraFileExtensions:d,currentDirectory:g,useCaseSensitiveFileNames:h,writeLog:k,toPath:S}){const w=rse(n);if(!w)return k(`Project: ${s} Detected ignored path: ${t}`),!0;if(n=w,n===e)return!1;if(m6(n)&&!zTe(t,l,d))return k(`Project: ${s} Detected file add/remove of non supported extension: ${t}`),!0;if(Ake(t,l.configFile.configFileSpecs,oa($i(s),g),h,g))return k(`Project: ${s} Detected excluded file: ${t}`),!0;if(!f||Ec(l)||l.outDir)return!1;if(s_(n)){if(l.declarationDir)return!1}else if(!cu(n,HP))return!1;const N=B_(n),O=pa(f)?void 0:qet(f)?f.getProgramOrUndefined():f,L=!O&&!pa(f)?f:void 0;if(U(N+".ts")||U(N+".tsx"))return k(`Project: ${s} Detected output file: ${t}`),!0;return!1;function U(M){return O?!!O.getSourceFileByPath(M):L?L.getState().fileInfos.has(M):!!He(f,W=>S(W)===M)}}function qet(e){return!!e.getState}function Qwe(e,t){return e?e.isEmittedFile(t):!1}function Ywe(e,t,n,s){gve(t===2?n:La);const l={watchFile:(U,M,W,X)=>e.watchFile(U,M,W,X),watchDirectory:(U,M,W,X)=>e.watchDirectory(U,M,(W&1)!==0,X)},f=t!==0?{watchFile:O("watchFile"),watchDirectory:O("watchDirectory")}:void 0,d=t===2?{watchFile:w,watchDirectory:N}:f||l,g=t===2?S:f9;return{watchFile:h("watchFile"),watchDirectory:h("watchDirectory")};function h(U){return(M,W,X,Z,ue,ie)=>{var se;return dU(M,U==="watchFile"?Z==null?void 0:Z.excludeFiles:Z==null?void 0:Z.excludeDirectories,k(),((se=e.getCurrentDirectory)==null?void 0:se.call(e))||"")?g(M,X,Z,ue,ie):d[U].call(void 0,M,W,X,Z,ue,ie)}}function k(){return typeof e.useCaseSensitiveFileNames=="boolean"?e.useCaseSensitiveFileNames:e.useCaseSensitiveFileNames()}function S(U,M,W,X,Z){return n(`ExcludeWatcher:: Added:: ${L(U,M,W,X,Z,s)}`),{close:()=>n(`ExcludeWatcher:: Close:: ${L(U,M,W,X,Z,s)}`)}}function w(U,M,W,X,Z,ue){n(`FileWatcher:: Added:: ${L(U,W,X,Z,ue,s)}`);const ie=f.watchFile(U,M,W,X,Z,ue);return{close:()=>{n(`FileWatcher:: Close:: ${L(U,W,X,Z,ue,s)}`),ie.close()}}}function N(U,M,W,X,Z,ue){const ie=`DirectoryWatcher:: Added:: ${L(U,W,X,Z,ue,s)}`;n(ie);const se=Jc(),V=f.watchDirectory(U,M,W,X,Z,ue),ve=Jc()-se;return n(`Elapsed:: ${ve}ms ${ie}`),{close:()=>{const fe=`DirectoryWatcher:: Close:: ${L(U,W,X,Z,ue,s)}`;n(fe);const Ce=Jc();V.close();const _e=Jc()-Ce;n(`Elapsed:: ${_e}ms ${fe}`)}}}function O(U){return(M,W,X,Z,ue,ie)=>l[U].call(void 0,M,(...se)=>{const V=`${U==="watchFile"?"FileWatcher":"DirectoryWatcher"}:: Triggered with ${se[0]} ${se[1]!==void 0?se[1]:""}:: ${L(M,X,Z,ue,ie,s)}`;n(V);const ve=Jc();W.call(void 0,...se);const fe=Jc()-ve;n(`Elapsed:: ${fe}ms ${V}`)},X,Z,ue,ie)}function L(U,M,W,X,Z,ue){return`WatchInfo: ${U} ${M} ${JSON.stringify(W)} ${ue?ue(X,Z):Z===void 0?X:`${X} ${Z}`}`}}function r9(e){const t=e==null?void 0:e.fallbackPolling;return{watchFile:t!==void 0?t:1}}function ag(e){e.watcher.close()}var kie,Cie,Wet=p({"src/compiler/watchUtilities.ts"(){aa(),aa(),kie=(e=>(e[e.None=0]="None",e[e.Partial=1]="Partial",e[e.Full=2]="Full",e))(kie||{}),Cie=(e=>(e[e.None=0]="None",e[e.TriggerOnly=1]="TriggerOnly",e[e.Verbose=2]="Verbose",e))(Cie||{})}});function Zwe(e,t,n="tsconfig.json"){return Ay(e,s=>{const l=_s(s,n);return t(l)?l:void 0})}function oz(e,t){const n=$i(t),s=Jh(e)?e:_s(n,e);return Co(s)}function Kwe(e,t,n){let s;return Q(e,f=>{const d=t7(f,t);if(d.pop(),!s){s=d;return}const g=Math.min(s.length,d.length);for(let h=0;h<g;h++)if(n(s[h])!==n(d[h])){if(h===0)return!0;s.length=h;break}d.length<s.length&&(s.length=d.length)})?"":s?cT(s):t}function eEe(e,t){return Aie(e,t)}function wie(e,t,n){return(s,l,f)=>{let d;try{Uc("beforeIORead"),d=e(s,t().charset),Uc("afterIORead"),Qp("I/O Read","beforeIORead","afterIORead")}catch(g){f&&f(g.message),d=""}return d!==void 0?vO(s,d,l,n):void 0}}function Eie(e,t,n){return(s,l,f,d)=>{try{Uc("beforeIOWrite"),Aee(s,l,f,e,t,n),Uc("afterIOWrite"),Qp("I/O Write","beforeIOWrite","afterIOWrite")}catch(g){d&&d(g.message)}}}function Aie(e,t,n=Bu){const s=new Map,l=qu(n.useCaseSensitiveFileNames);function f(S){return s.has(S)?!0:(k.directoryExists||n.directoryExists)(S)?(s.set(S,!0),!0):!1}function d(){return $i(Co(n.getExecutingFilePath()))}const g=Vb(e),h=n.realpath&&(S=>n.realpath(S)),k={getSourceFile:wie(S=>k.readFile(S),()=>e,t),getDefaultLibLocation:d,getDefaultLibFileName:S=>_s(d(),kB(S)),writeFile:Eie((S,w,N)=>n.writeFile(S,w,N),S=>(k.createDirectory||n.createDirectory)(S),S=>f(S)),getCurrentDirectory:h_(()=>n.getCurrentDirectory()),useCaseSensitiveFileNames:()=>n.useCaseSensitiveFileNames,getCanonicalFileName:l,getNewLine:()=>g,fileExists:S=>n.fileExists(S),readFile:S=>n.readFile(S),trace:S=>n.write(S+g),directoryExists:S=>n.directoryExists(S),getEnvironmentVariable:S=>n.getEnvironmentVariable?n.getEnvironmentVariable(S):"",getDirectories:S=>n.getDirectories(S),realpath:h,readDirectory:(S,w,N,O,L)=>n.readDirectory(S,w,N,O,L),createDirectory:S=>n.createDirectory(S),createHash:ho(n,n.createHash)};return k}function n9(e,t,n){const s=e.readFile,l=e.fileExists,f=e.directoryExists,d=e.createDirectory,g=e.writeFile,h=new Map,k=new Map,S=new Map,w=new Map,N=U=>{const M=t(U),W=h.get(M);return W!==void 0?W!==!1?W:void 0:O(M,U)},O=(U,M)=>{const W=s.call(e,M);return h.set(U,W!==void 0?W:!1),W};e.readFile=U=>{const M=t(U),W=h.get(M);return W!==void 0?W!==!1?W:void 0:!Gl(U,".json")&&!Bwe(U)?s.call(e,U):O(M,U)};const L=n?(U,M,W,X)=>{const Z=t(U),ue=typeof M=="object"?M.impliedNodeFormat:void 0,ie=w.get(ue),se=ie==null?void 0:ie.get(Z);if(se)return se;const V=n(U,M,W,X);return V&&(s_(U)||Gl(U,".json"))&&w.set(ue,(ie||new Map).set(Z,V)),V}:void 0;return e.fileExists=U=>{const M=t(U),W=k.get(M);if(W!==void 0)return W;const X=l.call(e,U);return k.set(M,!!X),X},g&&(e.writeFile=(U,M,...W)=>{const X=t(U);k.delete(X);const Z=h.get(X);Z!==void 0&&Z!==M?(h.delete(X),w.forEach(ue=>ue.delete(X))):L&&w.forEach(ue=>{const ie=ue.get(X);ie&&ie.text!==M&&ue.delete(X)}),g.call(e,U,M,...W)}),f&&(e.directoryExists=U=>{const M=t(U),W=S.get(M);if(W!==void 0)return W;const X=f.call(e,U);return S.set(M,!!X),X},d&&(e.createDirectory=U=>{const M=t(U);S.delete(M),d.call(e,U)})),{originalReadFile:s,originalFileExists:l,originalDirectoryExists:f,originalCreateDirectory:d,originalWriteFile:g,getSourceFileWithCache:L,readFileWithCache:N}}function Het(e,t,n){let s;return s=Oi(s,e.getConfigFileParsingDiagnostics()),s=Oi(s,e.getOptionsDiagnostics(n)),s=Oi(s,e.getSyntacticDiagnostics(t,n)),s=Oi(s,e.getGlobalDiagnostics(n)),s=Oi(s,e.getSemanticDiagnostics(t,n)),Wd(e.getCompilerOptions())&&(s=Oi(s,e.getDeclarationDiagnostics(t,n))),g6(s||pt)}function Get(e,t){let n="";for(const s of e)n+=Pie(s,t);return n}function Pie(e,t){const n=`${tB(e)} TS${e.code}: ${Av(e.messageText,t.getNewLine())}${t.getNewLine()}`;if(e.file){const{line:s,character:l}=zc(e.file,e.start),f=e.file.fileName;return`${jA(f,t.getCurrentDirectory(),g=>t.getCanonicalFileName(g))}(${s+1},${l+1}): `+n}return n}function tEe(e){switch(e){case 1:return"\x1B[91m";case 0:return"\x1B[93m";case 2:return R.fail("Should never get an Info diagnostic on the command line.");case 3:return"\x1B[94m"}}function $T(e,t){return t+e+Uie}function rEe(e,t,n,s,l,f){const{line:d,character:g}=zc(e,t),{line:h,character:k}=zc(e,t+n),S=zc(e,e.text.length).line,w=h-d>=4;let N=(h+1+"").length;w&&(N=Math.max(zie.length,N));let O="";for(let L=d;L<=h;L++){O+=f.getNewLine(),w&&d+1<L&&L<h-1&&(O+=s+$T(bC(zie,N),mz)+hz+f.getNewLine(),L=h-1);const U=a7(e,L,0),M=L<S?a7(e,L+1,0):e.text.length;let W=e.text.slice(U,M);if(W=JI(W),W=W.replace(/\t/g," "),O+=s+$T(bC(L+1+"",N),mz)+hz,O+=W+f.getNewLine(),O+=s+$T(bC("",N),mz)+hz,O+=l,L===d){const X=L===h?k:void 0;O+=W.slice(0,g).replace(/\S/g," "),O+=W.slice(g,X).replace(/./g,"~")}else L===h?O+=W.slice(0,k).replace(/./g,"~"):O+=W.replace(/./g,"~");O+=Uie}return O}function Die(e,t,n,s=$T){const{line:l,character:f}=zc(e,t),d=n?jA(e.fileName,n.getCurrentDirectory(),h=>n.getCanonicalFileName(h)):e.fileName;let g="";return g+=s(d,"\x1B[96m"),g+=":",g+=s(`${l+1}`,"\x1B[93m"),g+=":",g+=s(`${f+1}`,"\x1B[93m"),g}function nEe(e,t){let n="";for(const s of e){if(s.file){const{file:l,start:f}=s;n+=Die(l,f,t),n+=" - "}if(n+=$T(tB(s),tEe(s.category)),n+=$T(` TS${s.code}: `,"\x1B[90m"),n+=Av(s.messageText,t.getNewLine()),s.file&&(n+=t.getNewLine(),n+=rEe(s.file,s.start,s.length,"",tEe(s.category),t)),s.relatedInformation){n+=t.getNewLine();for(const{file:l,start:f,length:d,messageText:g}of s.relatedInformation)l&&(n+=t.getNewLine(),n+=aEe+Die(l,f,t),n+=rEe(l,f,d,Vie,"\x1B[96m",t)),n+=t.getNewLine(),n+=Vie+Av(g,t.getNewLine())}n+=t.getNewLine()}return n}function Av(e,t,n=0){if(ha(e))return e;if(e===void 0)return"";let s="";if(n){s+=t;for(let l=0;l<n;l++)s+=" "}if(s+=e.messageText,n++,e.next)for(const l of e.next)s+=Av(l,t,n);return s}function i9(e,t){return(ha(e)?t:e.resolutionMode)||t}function Nie(e,t){if(e.impliedNodeFormat!==void 0)return km(e,dz(e,t))}function Iie(e){var t;return Uu(e)?e.isTypeOnly:!!((t=e.importClause)!=null&&t.isTypeOnly)}function km(e,t){var n,s;if(e.impliedNodeFormat===void 0)return;if((Nu(t.parent)||Uu(t.parent))&&Iie(t.parent)){const d=xw(t.parent.assertClause);if(d)return d}if(t.parent.parent&&zy(t.parent.parent)){const f=xw((n=t.parent.parent.assertions)==null?void 0:n.assertClause);if(f)return f}if(e.impliedNodeFormat!==99)return up(mv(t.parent))?99:1;const l=(s=mv(t.parent))==null?void 0:s.parent;return l&&Xu(l)?1:99}function xw(e,t){if(!e)return;if(H(e.elements)!==1){t==null||t(e,v.Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require);return}const n=e.elements[0];if(sc(n.name)){if(n.name.text!=="resolution-mode"){t==null||t(n.name,v.resolution_mode_is_the_only_valid_key_for_type_import_assertions);return}if(sc(n.value)){if(n.value.text!=="import"&&n.value.text!=="require"){t==null||t(n.value,v.resolution_mode_should_be_either_require_or_import);return}return n.value.text==="import"?99:1}}}function Oie(e){return e.text}function Lie(e,t,n,s,l){return{nameAndMode:LD,resolve:(f,d)=>vD(f,e,n,s,l,t,d)}}function cz(e){return ha(e)?e:Fd(e.fileName)}function lz(e,t,n,s,l){return{nameAndMode:o9,resolve:(f,d)=>mne(f,e,n,s,t,l,d)}}function s9(e,t,n,s,l,f,d,g){if(e.length===0)return pt;const h=[],k=new Map,S=g(t,n,s,f,d);for(const w of e){const N=S.nameAndMode.getName(w),O=S.nameAndMode.getMode(w,l),L=yD(N,O);let U=k.get(L);U||k.set(L,U=S.resolve(N,O)),h.push(U)}return h}function iEe(e,t){return a9(void 0,e,(n,s)=>n&&t(n,s))}function a9(e,t,n,s){let l;return f(e,t,void 0);function f(d,g,h){if(s){const k=s(d,h);if(k)return k}return Q(g,(k,S)=>{if(k&&(l!=null&&l.has(k.sourceFile.path)))return;const w=n(k,h,S);return w||!k?w:((l||(l=new Set)).add(k.sourceFile.path),f(k.commandLine.projectReferences,k.references,k))})}}function Yb(e){switch(e==null?void 0:e.kind){case 3:case 4:case 5:case 7:return!0;default:return!1}}function M4(e){return e.pos!==void 0}function ID(e,t){var n,s,l,f,d,g;const h=R.checkDefined(e(t.file)),{kind:k,index:S}=t;let w,N,O,L;switch(k){case 3:const U=dz(h,S);if(O=(l=(s=(n=h.resolvedModules)==null?void 0:n.get(U.text,Nie(h,S)))==null?void 0:s.resolvedModule)==null?void 0:l.packageId,U.pos===-1)return{file:h,packageId:O,text:U.text};w=wo(h.text,U.pos),N=U.end;break;case 4:({pos:w,end:N}=h.referencedFiles[S]);break;case 5:({pos:w,end:N,resolutionMode:L}=h.typeReferenceDirectives[S]),O=(g=(d=(f=h.resolvedTypeReferenceDirectiveNames)==null?void 0:f.get(Fd(h.typeReferenceDirectives[S].fileName),L||h.impliedNodeFormat))==null?void 0:d.resolvedTypeReferenceDirective)==null?void 0:g.packageId;break;case 7:({pos:w,end:N}=h.libReferenceDirectives[S]);break;default:return R.assertNever(k)}return{file:h,pos:w,end:N,packageId:O}}function Mie(e,t,n,s,l,f,d,g,h){if(!e||d!=null&&d()||!Oc(e.getRootFileNames(),t))return!1;let k;if(!Oc(e.getProjectReferences(),h,O)||e.getSourceFiles().some(w)||e.getMissingFilePaths().some(l))return!1;const S=e.getCompilerOptions();if(!Vee(S,n))return!1;if(S.configFile&&n.configFile)return S.configFile.text===n.configFile.text;return!0;function w(U){return!N(U)||f(U.path)}function N(U){return U.version===s(U.resolvedPath,U.fileName)}function O(U,M,W){return EK(U,M)&&L(e.getResolvedProjectReferences()[W],U)}function L(U,M){if(U){if(xt(k,U))return!0;const X=OD(M),Z=g(X);return!Z||U.commandLine.options.configFile!==Z.options.configFile||!Oc(U.commandLine.fileNames,Z.fileNames)?!1:((k||(k=[])).push(U),!Q(U.references,(ue,ie)=>!L(ue,U.commandLine.projectReferences[ie])))}const W=OD(M);return!g(W)}}function Xx(e){return e.options.configFile?[...e.options.configFile.parseDiagnostics,...e.errors]:e.errors}function uz(e,t,n,s){const l=Fie(e,t,n,s);return typeof l=="object"?l.impliedNodeFormat:l}function Fie(e,t,n,s){switch(vl(s)){case 3:case 99:return cu(e,[".d.mts",".mts",".mjs"])?99:cu(e,[".d.cts",".cts",".cjs"])?1:cu(e,[".d.ts",".ts",".tsx",".js",".jsx"])?l():void 0;default:return}function l(){const f=PU(t,n,s),d=[];f.failedLookupLocations=d,f.affectingLocations=d;const g=DU(e,f);return{impliedNodeFormat:(g==null?void 0:g.contents.packageJsonContent.type)==="module"?99:1,packageJsonLocations:d,packageJsonScope:g}}}function Xet(e,t){return e?w6(e.getCompilerOptions(),t,gU):!1}function Qet(e,t,n,s,l,f){return{rootNames:e,options:t,host:n,oldProgram:s,configFileParsingDiagnostics:l,typeScriptVersion:f}}function fz(e,t,n,s,l){var f,d,g,h,k,S,w,N,O,L,U,M,W,X,Z,ue;const ie=pa(e)?Qet(e,t,n,s,l):e,{rootNames:se,options:V,configFileParsingDiagnostics:ve,projectReferences:fe,typeScriptVersion:Ce}=ie;let{oldProgram:_e}=ie;const K=h_(()=>wd("ignoreDeprecations",v.Invalid_value_for_ignoreDeprecations));let ge,Se,we,Pe,le,ot,Qe;const Ge=new Map;let tt=dd();const Je={},qe={};let st=$x(),Ke,We,gt;const jt=typeof V.maxNodeModuleJsDepth=="number"?V.maxNodeModuleJsDepth:0;let It=0;const er=new Map,ft=new Map;(f=Hi)==null||f.push(Hi.Phase.Program,"createProgram",{configFilePath:V.configFilePath,rootDir:V.rootDir},!0),Uc("beforeProgram");const mt=ie.host||eEe(V),xr=pz(mt);let dr=V.noLib;const rn=h_(()=>mt.getDefaultLibFileName(V)),un=mt.getDefaultLibLocation?mt.getDefaultLibLocation():$i(rn()),Gr=H6(),mr=mt.getCurrentDirectory(),Fn=BP(V),ts=w5(V,Fn),ws=new Map;let Es,ii,Rt;const Rr=mt.hasInvalidatedResolutions||rT;mt.resolveModuleNameLiterals?(Rt=mt.resolveModuleNameLiterals.bind(mt),ii=(d=mt.getModuleResolutionCache)==null?void 0:d.call(mt)):mt.resolveModuleNames?(Rt=(Le,Xe,Jt,Gt,Lr,Jr)=>mt.resolveModuleNames(Le.map(Oie),Xe,Jr==null?void 0:Jr.map(Oie),Jt,Gt,Lr).map(Vr=>Vr?Vr.extension!==void 0?{resolvedModule:Vr}:{resolvedModule:{...Vr,extension:N5(Vr.resolvedFileName)}}:$ie),ii=(g=mt.getModuleResolutionCache)==null?void 0:g.call(mt)):(ii=wU(mr,de,V),Rt=(Le,Xe,Jt,Gt,Lr)=>s9(Le,Xe,Jt,Gt,Lr,mt,ii,Lie));let rr;if(mt.resolveTypeReferenceDirectiveReferences)rr=mt.resolveTypeReferenceDirectiveReferences.bind(mt);else if(mt.resolveTypeReferenceDirectives)rr=(Le,Xe,Jt,Gt,Lr)=>mt.resolveTypeReferenceDirectives(Le.map(cz),Xe,Jt,Gt,Lr==null?void 0:Lr.impliedNodeFormat).map(Jr=>({resolvedTypeReferenceDirective:Jr}));else{const Le=EU(mr,de,void 0,ii==null?void 0:ii.getPackageJsonInfoCache());rr=(Xe,Jt,Gt,Lr,Jr)=>s9(Xe,Jt,Gt,Lr,Jr,mt,Le,lz)}const Pr=new Map;let Cn=new Map,Nn=dd(),cs=!1;const qi=new Map;let en;const Tr=mt.useCaseSensitiveFileNames()?new Map:void 0;let nn,Xn,_i,Fe;const Pt=!!((h=mt.useSourceOfProjectReferenceRedirect)!=null&&h.call(mt))&&!V.disableSourceOfProjectReferenceRedirect,{onProgramCreateComplete:Ht,fileExists:Ne,directoryExists:kt}=Yet({compilerHost:mt,getSymlinkCache:ta,useSourceOfProjectReferenceRedirect:Pt,toPath:wt,getResolvedProjectReferences:St,getSourceOfProjectReferenceRedirect:Gc,forEachResolvedProjectReference:zo}),Te=mt.readFile.bind(mt);(k=Hi)==null||k.push(Hi.Phase.Program,"shouldProgramCreateNewSourceFiles",{hasOldProgram:!!_e});const pe=Xet(_e,V);(S=Hi)==null||S.pop();let xe;if((w=Hi)==null||w.push(Hi.Phase.Program,"tryReuseStructureFromOldProgram",{}),xe=Be(),(N=Hi)==null||N.pop(),xe!==2){if(ge=[],Se=[],fe&&(nn||(nn=fe.map(Xt)),se.length&&(nn==null||nn.forEach((Le,Xe)=>{if(!Le)return;const Jt=Ec(Le.commandLine.options);if(Pt){if(Jt||Hu(Le.commandLine.options)===0)for(const Gt of Le.commandLine.fileNames)Or(Gt,{kind:1,index:Xe})}else if(Jt)Or(ET(Jt,".d.ts"),{kind:2,index:Xe});else if(Hu(Le.commandLine.options)===0){const Gt=h_(()=>ND(Le.commandLine,!mt.useCaseSensitiveFileNames()));for(const Lr of Le.commandLine.fileNames)!s_(Lr)&&!Gl(Lr,".json")&&Or(DD(Lr,Le.commandLine,!mt.useCaseSensitiveFileNames(),Gt),{kind:2,index:Xe})}}))),(O=Hi)==null||O.push(Hi.Phase.Program,"processRootFiles",{count:se.length}),Q(se,(Le,Xe)=>Cl(Le,!1,!1,{kind:0,index:Xe})),(L=Hi)==null||L.pop(),We??(We=se.length?CU(V,mt):pt),gt=$x(),We.length){(U=Hi)==null||U.push(Hi.Phase.Program,"processTypeReferences",{count:We.length});const Le=V.configFilePath?$i(V.configFilePath):mt.getCurrentDirectory(),Xe=_s(Le,gz),Jt=$e(We,Xe);for(let Gt=0;Gt<We.length;Gt++)gt.set(We[Gt],void 0,Jt[Gt]),Vt(We[Gt],void 0,Jt[Gt],{kind:8,typeReference:We[Gt],packageId:(W=(M=Jt[Gt])==null?void 0:M.resolvedTypeReferenceDirective)==null?void 0:W.packageId});(X=Hi)==null||X.pop()}if(se.length&&!dr){const Le=rn();!V.lib&&Le?Cl(Le,!0,!1,{kind:6}):Q(V.lib,(Xe,Jt)=>{Cl(ks(Xe),!0,!1,{kind:6,index:Jt})})}en=ao(ji(qi.entries(),([Le,Xe])=>Xe===void 0?Le:void 0)),we=U0(ge,qn).concat(Se),ge=void 0,Se=void 0}if(R.assert(!!en),_e&&mt.onReleaseOldSourceFile){const Le=_e.getSourceFiles();for(const Xe of Le){const Jt=Fs(Xe.resolvedPath);(pe||!Jt||Jt.impliedNodeFormat!==Xe.impliedNodeFormat||Xe.resolvedPath===Xe.path&&Jt.resolvedPath!==Xe.path)&&mt.onReleaseOldSourceFile(Xe,_e.getCompilerOptions(),!!Fs(Xe.path))}mt.getParsedCommandLine||_e.forEachResolvedProjectReference(Xe=>{wl(Xe.sourceFile.path)||mt.onReleaseOldSourceFile(Xe.sourceFile,_e.getCompilerOptions(),!1)})}_e&&mt.onReleaseParsedCommandLine&&a9(_e.getProjectReferences(),_e.getResolvedProjectReferences(),(Le,Xe,Jt)=>{const Gt=(Xe==null?void 0:Xe.commandLine.projectReferences[Jt])||_e.getProjectReferences()[Jt],Lr=OD(Gt);Xn!=null&&Xn.has(wt(Lr))||mt.onReleaseParsedCommandLine(Lr,Le,_e.getCompilerOptions())}),_e=void 0;const Y={getRootFileNames:()=>se,getSourceFile:Ia,getSourceFileByPath:Fs,getSourceFiles:()=>we,getMissingFilePaths:()=>en,getModuleResolutionCache:()=>ii,getFilesByNameMap:()=>qi,getCompilerOptions:()=>V,getSyntacticDiagnostics:vi,getOptionsDiagnostics:Kc,getGlobalDiagnostics:Pc,getSemanticDiagnostics:Bo,getCachedSemanticDiagnostics:Ji,getSuggestionDiagnostics:Ao,getDeclarationDiagnostics:js,getBindAndCheckDiagnostics:Rs,getProgramDiagnostics:Qr,getTypeChecker:Zi,getClassifiableNames:dt,getCommonSourceDirectory:nr,emit:hs,getCurrentDirectory:()=>mr,getNodeCount:()=>Zi().getNodeCount(),getIdentifierCount:()=>Zi().getIdentifierCount(),getSymbolCount:()=>Zi().getSymbolCount(),getTypeCount:()=>Zi().getTypeCount(),getInstantiationCount:()=>Zi().getInstantiationCount(),getRelationCacheSizes:()=>Zi().getRelationCacheSizes(),getFileProcessingDiagnostics:()=>Ke,getResolvedTypeReferenceDirectives:()=>st,getAutomaticTypeDirectiveNames:()=>We,getAutomaticTypeDirectiveResolutions:()=>gt,isSourceFileFromExternalLibrary:Di,isSourceFileDefaultLibrary:Yi,getSourceFileFromReference:oe,getLibFileFromReference:tr,sourceFileToPackageName:Cn,redirectTargetsMap:Nn,usesUriStyleNodeCoreModules:cs,isEmittedFile:gn,getConfigFileParsingDiagnostics:br,getProjectReferences:Dr,getResolvedProjectReferences:St,getProjectReferenceRedirect:Hc,getResolvedProjectReferenceToRedirect:Zo,getResolvedProjectReferenceByPath:wl,forEachResolvedProjectReference:zo,isSourceOfProjectReferenceRedirect:q_,emitBuildInfo:At,fileExists:Ne,readFile:Te,directoryExists:kt,getSymlinkCache:ta,realpath:(Z=mt.realpath)==null?void 0:Z.bind(mt),useCaseSensitiveFileNames:()=>mt.useCaseSensitiveFileNames(),getCanonicalFileName:de,getFileIncludeReasons:()=>tt,structureIsReused:xe,writeFile:$t};return Ht(),Ke==null||Ke.forEach(Le=>{switch(Le.kind){case 1:return Gr.add(da(Le.file&&Fs(Le.file),Le.fileProcessingReason,Le.diagnostic,Le.args||pt));case 0:const{file:Xe,pos:Jt,end:Gt}=ID(Fs,Le.reason);return Gr.add(gu(Xe,R.checkDefined(Jt),R.checkDefined(Gt)-Jt,Le.diagnostic,...Le.args||pt));case 2:return Le.diagnostics.forEach(Lr=>Gr.add(Lr));default:R.assertNever(Le)}}),Er(),Uc("afterProgram"),Qp("Program","beforeProgram","afterProgram"),(ue=Hi)==null||ue.pop(),Y;function Ze(Le){var Xe;(Xe=Le.resolutionDiagnostics)!=null&&Xe.length&&(Ke??(Ke=[])).push({kind:2,diagnostics:Le.resolutionDiagnostics})}function ct(Le,Xe,Jt,Gt){if(mt.resolveModuleNameLiterals||!mt.resolveModuleNames)return Ze(Jt);if(!ii||wu(Xe))return;const Lr=oa(Le.originalFileName,mr),Jr=$i(Lr),Vr=wr(Le),fn=ii.getFromNonRelativeNameCache(Xe,Gt,Jr,Vr);fn&&Ze(fn)}function it(Le,Xe,Jt){var Gt,Lr;if(!Le.length)return pt;const Jr=oa(Xe.originalFileName,mr),Vr=wr(Xe);(Gt=Hi)==null||Gt.push(Hi.Phase.Program,"resolveModuleNamesWorker",{containingFileName:Jr}),Uc("beforeResolveModule");const fn=Rt(Le,Jr,Vr,V,Xe,Jt);return Uc("afterResolveModule"),Qp("ResolveModule","beforeResolveModule","afterResolveModule"),(Lr=Hi)==null||Lr.pop(),fn}function Kt(Le,Xe,Jt){var Gt,Lr;if(!Le.length)return[];const Jr=ha(Xe)?void 0:Xe,Vr=ha(Xe)?Xe:oa(Xe.originalFileName,mr),fn=Jr&&wr(Jr);(Gt=Hi)==null||Gt.push(Hi.Phase.Program,"resolveTypeReferenceDirectiveNamesWorker",{containingFileName:Vr}),Uc("beforeResolveTypeReference");const hi=rr(Le,Vr,fn,V,Jr,Jt);return Uc("afterResolveTypeReference"),Qp("ResolveTypeReference","beforeResolveTypeReference","afterResolveTypeReference"),(Lr=Hi)==null||Lr.pop(),hi}function wr(Le){const Xe=Zo(Le.originalFileName);if(Xe||!s_(Le.originalFileName))return Xe;const Jt=qr(Le.path);if(Jt)return Jt;if(!mt.realpath||!V.preserveSymlinks||!nf(Le.originalFileName,a1))return;const Gt=wt(mt.realpath(Le.originalFileName));return Gt===Le.path?void 0:qr(Gt)}function qr(Le){const Xe=Gc(Le);if(ha(Xe))return Zo(Xe);if(Xe)return zo(Jt=>{const Gt=Ec(Jt.commandLine.options);if(Gt)return wt(Gt)===Le?Jt:void 0})}function qn(Le,Xe){return Cc(ye(Le),ye(Xe))}function ye(Le){if(sv(un,Le.fileName,!1)){const Xe=sf(Le.fileName);if(Xe==="lib.d.ts"||Xe==="lib.es6.d.ts")return 0;const Jt=_6(LA(Xe,"lib."),".d.ts"),Gt=DO.indexOf(Jt);if(Gt!==-1)return Gt+1}return DO.length+2}function wt(Le){return wc(Le,mr,de)}function nr(){if(le===void 0){const Le=hr(we,Xe=>zC(Xe,Y));le=KO(V,()=>fr(Le,Xe=>Xe.isDeclarationFile?void 0:Xe.fileName),mr,de,Xe=>Yt(Le,Xe))}return le}function dt(){var Le;if(!Qe){Zi(),Qe=new Set;for(const Xe of we)(Le=Xe.classifiableNames)==null||Le.forEach(Jt=>Qe.add(Jt))}return Qe}function ne(Le,Xe){var Jt;if(xe===0&&!Xe.ambientModuleNames.length)return it(Le,Xe,void 0);const Gt=_e&&_e.getSourceFile(Xe.fileName);if(Gt!==Xe&&Xe.resolvedModules){const Nr=[];for(const On of Le){const Ys=Xe.resolvedModules.get(On.text,km(Xe,On));Nr.push(Ys)}return Nr}let Lr,Jr,Vr;const fn=$ie;for(let Nr=0;Nr<Le.length;Nr++){const On=Le[Nr];if(Xe===Gt&&!Rr(Gt.path)){const Nc=km(Xe,On),$l=(Jt=Gt.resolvedModules)==null?void 0:Jt.get(On.text,Nc);if($l!=null&&$l.resolvedModule){Ev(V,mt)&&Us(mt,$l.resolvedModule.packageId?v.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:v.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2,On.text,oa(Xe.originalFileName,mr),$l.resolvedModule.resolvedFileName,$l.resolvedModule.packageId&&gx($l.resolvedModule.packageId)),(Jr??(Jr=new Array(Le.length)))[Nr]=$l,(Vr??(Vr=[])).push(On);continue}}let Ys=!1;xt(Xe.ambientModuleNames,On.text)?(Ys=!0,Ev(V,mt)&&Us(mt,v.Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1,On.text,oa(Xe.originalFileName,mr))):Ys=xn(On),Ys?(Jr||(Jr=new Array(Le.length)))[Nr]=fn:(Lr??(Lr=[])).push(On)}const hi=Lr&&Lr.length?it(Lr,Xe,Vr):pt;if(!Jr)return R.assert(hi.length===Le.length),hi;let Ts=0;for(let Nr=0;Nr<Jr.length;Nr++)Jr[Nr]||(Jr[Nr]=hi[Ts],Ts++);return R.assert(Ts===hi.length),Jr;function xn(Nr){const On=E6(Gt,Nr.text,km(Xe,Nr)),Ys=On&&_e.getSourceFile(On.resolvedFileName);if(On&&Ys)return!1;const Nc=Ge.get(Nr.text);return Nc?(Ev(V,mt)&&Us(mt,v.Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified,Nr.text,Nc),!0):!1}}function $e(Le,Xe){var Jt;if(xe===0)return Kt(Le,Xe,void 0);const Gt=ha(Xe)?void 0:_e&&_e.getSourceFile(Xe.fileName);if(!ha(Xe)&&Gt!==Xe&&Xe.resolvedTypeReferenceDirectiveNames){const Nr=[];for(const On of Le){const Ys=Xe.resolvedTypeReferenceDirectiveNames.get(cz(On),i9(On,Xe.impliedNodeFormat));Nr.push(Ys)}return Nr}let Lr,Jr,Vr;const fn=ha(Xe)?void 0:Xe,hi=ha(Xe)?!Rr(wt(Xe)):Xe===Gt&&!Rr(Gt.path);for(let Nr=0;Nr<Le.length;Nr++){const On=Le[Nr];if(hi){const Ys=cz(On),Nc=i9(On,fn==null?void 0:fn.impliedNodeFormat),$l=(Jt=ha(Xe)?_e==null?void 0:_e.getAutomaticTypeDirectiveResolutions():Gt==null?void 0:Gt.resolvedTypeReferenceDirectiveNames)==null?void 0:Jt.get(Ys,Nc);if($l!=null&&$l.resolvedTypeReferenceDirective){Ev(V,mt)&&Us(mt,$l.resolvedTypeReferenceDirective.packageId?v.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:v.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2,Ys,ha(Xe)?Xe:oa(Xe.originalFileName,mr),$l.resolvedTypeReferenceDirective.resolvedFileName,$l.resolvedTypeReferenceDirective.packageId&&gx($l.resolvedTypeReferenceDirective.packageId)),(Jr??(Jr=new Array(Le.length)))[Nr]=$l,(Vr??(Vr=[])).push(On);continue}}(Lr??(Lr=[])).push(On)}if(!Lr)return Jr||pt;const Ts=Kt(Lr,Xe,Vr);if(!Jr)return R.assert(Ts.length===Le.length),Ts;let xn=0;for(let Nr=0;Nr<Jr.length;Nr++)Jr[Nr]||(Jr[Nr]=Ts[xn],xn++);return R.assert(xn===Ts.length),Jr}function ce(){return!a9(_e.getProjectReferences(),_e.getResolvedProjectReferences(),(Le,Xe,Jt)=>{const Gt=(Xe?Xe.commandLine.projectReferences:fe)[Jt],Lr=Xt(Gt);return Le?!Lr||Lr.sourceFile!==Le.sourceFile||!Oc(Le.commandLine.fileNames,Lr.commandLine.fileNames):Lr!==void 0},(Le,Xe)=>{const Jt=Xe?wl(Xe.sourceFile.path).commandLine.projectReferences:fe;return!Oc(Le,Jt,EK)})}function Be(){var Le;if(!_e)return 0;const Xe=_e.getCompilerOptions();if(wK(Xe,V))return 0;const Jt=_e.getRootFileNames();if(!Oc(Jt,se)||!ce())return 0;fe&&(nn=fe.map(Xt));const Gt=[],Lr=[];if(xe=2,_e.getMissingFilePaths().some(xn=>mt.fileExists(xn)))return 0;const Jr=_e.getSourceFiles();let Vr;(xn=>{xn[xn.Exists=0]="Exists",xn[xn.Modified=1]="Modified"})(Vr||(Vr={}));const fn=new Map;for(const xn of Jr){const Nr=jo(xn.fileName,ii,mt,V);let On=mt.getSourceFileByPath?mt.getSourceFileByPath(xn.fileName,xn.resolvedPath,Nr,void 0,pe||Nr.impliedNodeFormat!==xn.impliedNodeFormat):mt.getSourceFile(xn.fileName,Nr,void 0,pe||Nr.impliedNodeFormat!==xn.impliedNodeFormat);if(!On)return 0;On.packageJsonLocations=(Le=Nr.packageJsonLocations)!=null&&Le.length?Nr.packageJsonLocations:void 0,On.packageJsonScope=Nr.packageJsonScope,R.assert(!On.redirectInfo,"Host should not return a redirect source file from `getSourceFile`");let Ys;if(xn.redirectInfo){if(On!==xn.redirectInfo.unredirected)return 0;Ys=!1,On=xn}else if(_e.redirectTargetsMap.has(xn.path)){if(On!==xn)return 0;Ys=!1}else Ys=On!==xn;On.path=xn.path,On.originalFileName=xn.originalFileName,On.resolvedPath=xn.resolvedPath,On.fileName=xn.fileName;const Nc=_e.sourceFileToPackageName.get(xn.path);if(Nc!==void 0){const $l=fn.get(Nc),cg=Ys?1:0;if($l!==void 0&&cg===1||$l===1)return 0;fn.set(Nc,cg)}Ys?(xn.impliedNodeFormat!==On.impliedNodeFormat?xe=1:Oc(xn.libReferenceDirectives,On.libReferenceDirectives,df)?xn.hasNoDefaultLib!==On.hasNoDefaultLib?xe=1:Oc(xn.referencedFiles,On.referencedFiles,df)?(Ut(On),Oc(xn.imports,On.imports,Rf)&&Oc(xn.moduleAugmentations,On.moduleAugmentations,Rf)?(xn.flags&6291456)!==(On.flags&6291456)?xe=1:Oc(xn.typeReferenceDirectives,On.typeReferenceDirectives,df)||(xe=1):xe=1):xe=1:xe=1,Lr.push({oldFile:xn,newFile:On})):Rr(xn.path)&&(xe=1,Lr.push({oldFile:xn,newFile:On})),Gt.push(On)}if(xe!==2)return xe;const hi=Lr.map(xn=>xn.oldFile);for(const xn of Jr)if(!xt(hi,xn))for(const Nr of xn.ambientModuleNames)Ge.set(Nr,xn.fileName);for(const{oldFile:xn,newFile:Nr}of Lr){const On=sEe(Nr),Ys=ne(On,Nr);AK(On,Nr,Ys,xn.resolvedModules,zbe,LD)?(xe=1,Nr.resolvedModules=bne(Nr,On,Ys,LD)):Nr.resolvedModules=xn.resolvedModules;const $l=Nr.typeReferenceDirectives,cg=$e($l,Nr);AK($l,Nr,cg,xn.resolvedTypeReferenceDirectiveNames,Vbe,o9)?(xe=1,Nr.resolvedTypeReferenceDirectiveNames=bne(Nr,$l,cg,o9)):Nr.resolvedTypeReferenceDirectiveNames=xn.resolvedTypeReferenceDirectiveNames}if(xe!==2)return xe;if(Bbe(Xe,V))return 1;if(mt.hasChangedAutomaticTypeDirectiveNames){if(mt.hasChangedAutomaticTypeDirectiveNames())return 1}else if(We=CU(V,mt),!Oc(_e.getAutomaticTypeDirectiveNames(),We))return 1;en=_e.getMissingFilePaths(),R.assert(Gt.length===_e.getSourceFiles().length);for(const xn of Gt)qi.set(xn.path,xn);return _e.getFilesByNameMap().forEach((xn,Nr)=>{if(!xn){qi.set(Nr,xn);return}if(xn.path===Nr){_e.isSourceFileFromExternalLibrary(xn)&&ft.set(xn.path,!0);return}qi.set(Nr,qi.get(xn.path))}),we=Gt,tt=_e.getFileIncludeReasons(),Ke=_e.getFileProcessingDiagnostics(),st=_e.getResolvedTypeReferenceDirectives(),We=_e.getAutomaticTypeDirectiveNames(),gt=_e.getAutomaticTypeDirectiveResolutions(),Cn=_e.sourceFileToPackageName,Nn=_e.redirectTargetsMap,cs=_e.usesUriStyleNodeCoreModules,2}function te(Le){return{getPrependNodes:yn,getCanonicalFileName:de,getCommonSourceDirectory:Y.getCommonSourceDirectory,getCompilerOptions:Y.getCompilerOptions,getCurrentDirectory:()=>mr,getSourceFile:Y.getSourceFile,getSourceFileByPath:Y.getSourceFileByPath,getSourceFiles:Y.getSourceFiles,getLibFileFromReference:Y.getLibFileFromReference,isSourceFileFromExternalLibrary:Di,getResolvedProjectReferenceToRedirect:Zo,getProjectReferenceRedirect:Hc,isSourceOfProjectReferenceRedirect:q_,getSymlinkCache:ta,writeFile:Le||$t,isEmitBlocked:za,readFile:Xe=>mt.readFile(Xe),fileExists:Xe=>{const Jt=wt(Xe);return Fs(Jt)?!0:xt(en,Jt)?!1:mt.fileExists(Xe)},useCaseSensitiveFileNames:()=>mt.useCaseSensitiveFileNames(),getBuildInfo:Xe=>{var Jt;return(Jt=Y.getBuildInfo)==null?void 0:Jt.call(Y,Xe)},getSourceFileFromReference:(Xe,Jt)=>Y.getSourceFileFromReference(Xe,Jt),redirectTargetsMap:Nn,getFileIncludeReasons:Y.getFileIncludeReasons,createHash:ho(mt,mt.createHash)}}function $t(Le,Xe,Jt,Gt,Lr,Jr){mt.writeFile(Le,Xe,Jt,Gt,Lr,Jr)}function At(Le){var Xe,Jt;R.assert(!Ec(V)),(Xe=Hi)==null||Xe.push(Hi.Phase.Emit,"emitBuildInfo",{},!0),Uc("beforeEmit");const Gt=rz(iz,te(Le),void 0,mie,!1,!0);return Uc("afterEmit"),Qp("Emit","beforeEmit","afterEmit"),(Jt=Hi)==null||Jt.pop(),Gt}function St(){return nn}function Dr(){return fe}function yn(){return Bie(fe,(Le,Xe)=>{var Jt;return(Jt=nn[Xe])==null?void 0:Jt.commandLine},Le=>{const Xe=wt(Le),Jt=Fs(Xe);return Jt?Jt.text:qi.has(Xe)?void 0:mt.readFile(Xe)},mt)}function Di(Le){return!!ft.get(Le.path)}function Yi(Le){if(!Le.isDeclarationFile)return!1;if(Le.hasNoDefaultLib)return!0;if(!V.noLib)return!1;const Xe=mt.useCaseSensitiveFileNames()?vC:yC;return V.lib?Oe(V.lib,Jt=>Xe(Le.fileName,ks(Jt))):Xe(Le.fileName,rn())}function Zi(){return ot||(ot=JCe(Y))}function hs(Le,Xe,Jt,Gt,Lr,Jr){var Vr,fn;(Vr=Hi)==null||Vr.push(Hi.Phase.Emit,"emit",{path:Le==null?void 0:Le.path},!0);const hi=jc(()=>Xa(Y,Le,Xe,Jt,Gt,Lr,Jr));return(fn=Hi)==null||fn.pop(),hi}function za(Le){return ws.has(wt(Le))}function Xa(Le,Xe,Jt,Gt,Lr,Jr,Vr){if(!Vr){const Ts=Rie(Le,Xe,Jt,Gt);if(Ts)return Ts}const fn=Zi().getEmitResolver(Ec(V)?void 0:Xe,Gt);Uc("beforeEmit");const hi=rz(fn,te(Jt),Xe,die(V,Jr,Lr),Lr,!1,Vr);return Uc("afterEmit"),Qp("Emit","beforeEmit","afterEmit"),hi}function Ia(Le){return Fs(wt(Le))}function Fs(Le){return qi.get(Le)||void 0}function gs(Le,Xe,Jt){return g6(Le?Xe(Le,Jt):mn(Y.getSourceFiles(),Gt=>(Jt&&Jt.throwIfCancellationRequested(),Xe(Gt,Jt))))}function vi(Le,Xe){return gs(Le,Rl,Xe)}function Bo(Le,Xe){return gs(Le,Sl,Xe)}function Ji(Le){var Xe;return Le?(Xe=Je.perFile)==null?void 0:Xe.get(Le.path):Je.allDiagnostics}function Rs(Le,Xe){return Nl(Le,Xe)}function Qr(Le){var Xe;if(jP(Le,V,Y))return pt;const Jt=Gr.getDiagnostics(Le.fileName);return(Xe=Le.commentDirectives)!=null&&Xe.length?ea(Le,Le.commentDirectives,Jt).diagnostics:Jt}function js(Le,Xe){const Jt=Y.getCompilerOptions();return!Le||Ec(Jt)?$_(Le,Xe):gs(Le,fc,Xe)}function Rl(Le){return Gf(Le)?(Le.additionalSyntacticDiagnostics||(Le.additionalSyntacticDiagnostics=zu(Le)),Cr(Le.additionalSyntacticDiagnostics,Le.parseDiagnostics)):Le.parseDiagnostics}function jc(Le){try{return Le()}catch(Xe){throw Xe instanceof RA&&(ot=void 0),Xe}}function Sl(Le,Xe){return Cr(_z(Nl(Le,Xe),V),Qr(Le))}function Nl(Le,Xe){return Lu(Le,Xe,Je,xl)}function xl(Le,Xe){return jc(()=>{if(jP(Le,V,Y))return pt;const Jt=Zi();R.assert(!!Le.bindDiagnostics);const Lr=(Le.scriptKind===1||Le.scriptKind===2)&&I5(Le,V),Jr=qB(Le,V.checkJs),fn=!(!!Le.checkJsDirective&&Le.checkJsDirective.enabled===!1)&&(Le.scriptKind===3||Le.scriptKind===4||Le.scriptKind===5||Jr||Lr||Le.scriptKind===7);let hi=fn?Le.bindDiagnostics:pt,Ts=fn?Jt.getDiagnostics(Le,Xe):pt;return Jr&&(hi=hr(hi,xn=>yz.has(xn.code)),Ts=hr(Ts,xn=>yz.has(xn.code))),Ka(Le,fn&&!Jr,hi,Ts,Lr?Le.jsDocDiagnostics:void 0)})}function Ka(Le,Xe,...Jt){var Gt;const Lr=Vn(Jt);if(!Xe||!((Gt=Le.commentDirectives)!=null&&Gt.length))return Lr;const{diagnostics:Jr,directives:Vr}=ea(Le,Le.commentDirectives,Lr);for(const fn of Vr.getUnusedExpectations())Jr.push(qK(Le,fn.range,v.Unused_ts_expect_error_directive));return Jr}function ea(Le,Xe,Jt){const Gt=Xbe(Le,Xe);return{diagnostics:Jt.filter(Jr=>kl(Jr,Gt)===-1),directives:Gt}}function Ao(Le,Xe){return jc(()=>Zi().getSuggestionDiagnostics(Le,Xe))}function kl(Le,Xe){const{file:Jt,start:Gt}=Le;if(!Jt)return-1;const Lr=Py(Jt);let Jr=o7(Lr,Gt).line-1;for(;Jr>=0;){if(Xe.markUsed(Jr))return Jr;const Vr=Jt.text.slice(Lr[Jr],Lr[Jr+1]).trim();if(Vr!==""&&!/^(\s*)\/\/(.*)$/.test(Vr))return-1;Jr--}return-1}function zu(Le){return jc(()=>{const Xe=[];return Jt(Le,Le),yO(Le,Jt,Gt),Xe;function Jt(fn,hi){switch(hi.kind){case 166:case 169:case 171:if(hi.questionToken===fn)return Xe.push(Vr(fn,v.The_0_modifier_can_only_be_used_in_TypeScript_files,"?")),"skip";case 170:case 173:case 174:case 175:case 215:case 259:case 216:case 257:if(hi.type===fn)return Xe.push(Vr(fn,v.Type_annotations_can_only_be_used_in_TypeScript_files)),"skip"}switch(fn.kind){case 270:if(fn.isTypeOnly)return Xe.push(Vr(hi,v._0_declarations_can_only_be_used_in_TypeScript_files,"import type")),"skip";break;case 275:if(fn.isTypeOnly)return Xe.push(Vr(fn,v._0_declarations_can_only_be_used_in_TypeScript_files,"export type")),"skip";break;case 273:case 278:if(fn.isTypeOnly)return Xe.push(Vr(fn,v._0_declarations_can_only_be_used_in_TypeScript_files,S_(fn)?"import...type":"export...type")),"skip";break;case 268:return Xe.push(Vr(fn,v.import_can_only_be_used_in_TypeScript_files)),"skip";case 274:if(fn.isExportEquals)return Xe.push(Vr(fn,v.export_can_only_be_used_in_TypeScript_files)),"skip";break;case 294:if(fn.token===117)return Xe.push(Vr(fn,v.implements_clauses_can_only_be_used_in_TypeScript_files)),"skip";break;case 261:const xn=qa(118);return R.assertIsDefined(xn),Xe.push(Vr(fn,v._0_declarations_can_only_be_used_in_TypeScript_files,xn)),"skip";case 264:const Nr=fn.flags&16?qa(143):qa(142);return R.assertIsDefined(Nr),Xe.push(Vr(fn,v._0_declarations_can_only_be_used_in_TypeScript_files,Nr)),"skip";case 262:return Xe.push(Vr(fn,v.Type_aliases_can_only_be_used_in_TypeScript_files)),"skip";case 263:const On=R.checkDefined(qa(92));return Xe.push(Vr(fn,v._0_declarations_can_only_be_used_in_TypeScript_files,On)),"skip";case 232:return Xe.push(Vr(fn,v.Non_null_assertions_can_only_be_used_in_TypeScript_files)),"skip";case 231:return Xe.push(Vr(fn.type,v.Type_assertion_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 235:return Xe.push(Vr(fn.type,v.Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files)),"skip";case 213:R.fail()}}function Gt(fn,hi){if(Nre(hi)){const Ts=He(hi.modifiers,Df);Ts&&Xe.push(Vr(Ts,v.Decorators_are_not_valid_here))}else if(yw(hi)&&hi.modifiers){const Ts=ar(hi.modifiers,Df);if(Ts>=0){if(ua(hi)&&!V.experimentalDecorators)Xe.push(Vr(hi.modifiers[Ts],v.Decorators_are_not_valid_here));else if(vu(hi)){const xn=ar(hi.modifiers,BJ);if(xn>=0){const Nr=ar(hi.modifiers,JSe);if(Ts>xn&&Nr>=0&&Ts<Nr)Xe.push(Vr(hi.modifiers[Ts],v.Decorators_are_not_valid_here));else if(xn>=0&&Ts<xn){const On=ar(hi.modifiers,Df,xn);On>=0&&Xe.push(Eo(Vr(hi.modifiers[On],v.Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export),Vr(hi.modifiers[Ts],v.Decorator_used_before_export_here)))}}}}}switch(hi.kind){case 260:case 228:case 171:case 173:case 174:case 175:case 215:case 259:case 216:if(fn===hi.typeParameters)return Xe.push(Jr(fn,v.Type_parameter_declarations_can_only_be_used_in_TypeScript_files)),"skip";case 240:if(fn===hi.modifiers)return Lr(hi.modifiers,hi.kind===240),"skip";break;case 169:if(fn===hi.modifiers){for(const Ts of fn)ja(Ts)&&Ts.kind!==124&&Ts.kind!==127&&Xe.push(Vr(Ts,v.The_0_modifier_can_only_be_used_in_TypeScript_files,qa(Ts.kind)));return"skip"}break;case 166:if(fn===hi.modifiers&&Oe(fn,ja))return Xe.push(Jr(fn,v.Parameter_modifiers_can_only_be_used_in_TypeScript_files)),"skip";break;case 210:case 211:case 230:case 282:case 283:case 212:if(fn===hi.typeArguments)return Xe.push(Jr(fn,v.Type_arguments_can_only_be_used_in_TypeScript_files)),"skip";break}}function Lr(fn,hi){for(const Ts of fn)switch(Ts.kind){case 85:if(hi)continue;case 123:case 121:case 122:case 146:case 136:case 126:case 161:case 101:case 145:Xe.push(Vr(Ts,v.The_0_modifier_can_only_be_used_in_TypeScript_files,qa(Ts.kind)));break;case 124:case 93:case 88:case 127:}}function Jr(fn,hi,Ts,xn,Nr){const On=fn.pos;return gu(Le,On,fn.end-On,hi,Ts,xn,Nr)}function Vr(fn,hi,Ts,xn,Nr){return r_(Le,fn,hi,Ts,xn,Nr)}})}function $_(Le,Xe){return Lu(Le,Xe,qe,Vl)}function Vl(Le,Xe){return jc(()=>{const Jt=Zi().getEmitResolver(Le,Xe);return Owe(te(La),Jt,Le)||pt})}function Lu(Le,Xe,Jt,Gt){var Lr;const Jr=Le?(Lr=Jt.perFile)==null?void 0:Lr.get(Le.path):Jt.allDiagnostics;if(Jr)return Jr;const Vr=Gt(Le,Xe);return Le?(Jt.perFile||(Jt.perFile=new Map)).set(Le.path,Vr):Jt.allDiagnostics=Vr,Vr}function fc(Le,Xe){return Le.isDeclarationFile?[]:$_(Le,Xe)}function Kc(){return g6(Cr(Gr.getGlobalDiagnostics(),Fc()))}function Fc(){if(!V.configFile)return pt;let Le=Gr.getDiagnostics(V.configFile.fileName);return zo(Xe=>{Le=Cr(Le,Gr.getDiagnostics(Xe.sourceFile.fileName))}),Le}function Pc(){return se.length?g6(Zi().getGlobalDiagnostics().slice()):pt}function br(){return ve||pt}function Cl(Le,Xe,Jt,Gt){Ft(Co(Le),Xe,Jt,void 0,Gt)}function df(Le,Xe){return Le.fileName===Xe.fileName}function Rf(Le,Xe){return Le.kind===79?Xe.kind===79&&Le.escapedText===Xe.escapedText:Xe.kind===10&&Le.text===Xe.text}function be(Le,Xe){const Jt=J.createStringLiteral(Le),Gt=J.createImportDeclaration(void 0,void 0,Jt,void 0);return ZC(Gt,2),go(Jt,Gt),go(Gt,Xe),Jt.flags&=-9,Gt.flags&=-9,Jt}function Ut(Le){if(Le.imports)return;const Xe=Gf(Le),Jt=Fl(Le);let Gt,Lr,Jr;if((qd(V)||Jt)&&!Le.isDeclarationFile){V.importHelpers&&(Gt=[be(qb,Le)]);const xn=$j(Vj(V,Le),V);xn&&(Gt||(Gt=[])).push(be(xn,Le))}for(const xn of Le.statements)fn(xn,!1);const Vr=Xe&&Uj(V);(Le.flags&2097152||Vr)&&hi(Le),Le.imports=Gt||pt,Le.moduleAugmentations=Lr||pt,Le.ambientModuleNames=Jr||pt;return;function fn(xn,Nr){if(P7(xn)){const On=B6(xn);On&&yo(On)&&On.text&&(!Nr||!wu(On.text))&&(bv(xn,!1),Gt=$r(Gt,On),!cs&&It===0&&!Le.isDeclarationFile&&(cs=Qs(On.text,"node:")))}else if(Pl(xn)&&Af(xn)&&(Nr||Ti(xn,2)||Le.isDeclarationFile)){xn.name.parent=xn;const On=Vd(xn.name);if(Jt||Nr&&!wu(On))(Lr||(Lr=[])).push(xn.name);else if(!Nr){Le.isDeclarationFile&&(Jr||(Jr=[])).push(On);const Ys=xn.body;if(Ys)for(const Nc of Ys.statements)fn(Nc,!0)}}}function hi(xn){const Nr=/import|require/g;for(;Nr.exec(xn.text)!==null;){const On=Ts(xn,Nr.lastIndex);Vr&&v_(On,!0)||up(On)&&On.arguments.length>=1&&sc(On.arguments[0])?(bv(On,!1),Gt=$r(Gt,On.arguments[0])):Fb(On)&&(bv(On,!1),Gt=$r(Gt,On.argument.literal))}}function Ts(xn,Nr){let On=xn;const Ys=Nc=>{if(Nc.pos<=Nr&&(Nr<Nc.end||Nr===Nc.end&&Nc.kind===1))return Nc};for(;;){const Nc=Xe&&Ep(On)&&Q(On.jsDoc,Ys)||ca(On,Ys);if(!Nc)return On;On=Nc}}}function tr(Le){const Xe=Fd(Le.fileName),Jt=NO.get(Xe);if(Jt)return Ia(ks(Jt))}function oe(Le,Xe){return ht(oz(Xe.fileName,Le.fileName),Ia)}function ht(Le,Xe,Jt,Gt){if(m6(Le)){const Lr=mt.getCanonicalFileName(Le);if(!V.allowNonTsExtensions&&!Q(Vn(ts),Vr=>Gl(Lr,Vr))){Jt&&(QC(Lr)?Jt(v.File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option,Le):Jt(v.File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1,Le,"'"+Vn(Fn).join("', '")+"'"));return}const Jr=Xe(Le);if(Jt)if(Jr)Yb(Gt)&&Lr===mt.getCanonicalFileName(Fs(Gt.file).fileName)&&Jt(v.A_file_cannot_have_a_reference_to_itself);else{const Vr=Hc(Le);Vr?Jt(v.Output_file_0_has_not_been_built_from_source_file_1,Vr,Le):Jt(v.File_0_not_found,Le)}return Jr}else{const Lr=V.allowNonTsExtensions&&Xe(Le);if(Lr)return Lr;if(Jt&&V.allowNonTsExtensions){Jt(v.File_0_not_found,Le);return}const Jr=Q(Fn[0],Vr=>Xe(Le+Vr));return Jt&&!Jr&&Jt(v.Could_not_resolve_the_path_0_with_the_extensions_Colon_1,Le,"'"+Vn(Fn).join("', '")+"'"),Jr}}function Ft(Le,Xe,Jt,Gt,Lr){ht(Le,Jr=>Ws(Jr,Xe,Jt,Lr,Gt),(Jr,...Vr)=>bo(void 0,Lr,Jr,Vr),Lr)}function Or(Le,Xe){return Ft(Le,!1,!1,void 0,Xe)}function ti(Le,Xe,Jt){!Yb(Jt)&&Oe(tt.get(Xe.path),Yb)?bo(Xe,Jt,v.Already_included_file_name_0_differs_from_file_name_1_only_in_casing,[Xe.fileName,Le]):bo(Xe,Jt,v.File_name_0_differs_from_already_included_file_name_1_only_in_casing,[Le,Xe.fileName])}function si(Le,Xe,Jt,Gt,Lr,Jr,Vr){var fn;const hi=sg.createRedirectedSourceFile({redirectTarget:Le,unredirected:Xe});return hi.fileName=Jt,hi.path=Gt,hi.resolvedPath=Lr,hi.originalFileName=Jr,hi.packageJsonLocations=(fn=Vr.packageJsonLocations)!=null&&fn.length?Vr.packageJsonLocations:void 0,hi.packageJsonScope=Vr.packageJsonScope,ft.set(Gt,It>0),hi}function Ws(Le,Xe,Jt,Gt,Lr){var Jr,Vr;(Jr=Hi)==null||Jr.push(Hi.Phase.Program,"findSourceFile",{fileName:Le,isDefaultLib:Xe||void 0,fileIncludeKind:oB[Gt.kind]});const fn=Va(Le,Xe,Jt,Gt,Lr);return(Vr=Hi)==null||Vr.pop(),fn}function jo(Le,Xe,Jt,Gt){const Lr=Fie(oa(Le,mr),Xe==null?void 0:Xe.getPackageJsonInfoCache(),Jt,Gt),Jr=Io(Gt),Vr=S5(Gt);return typeof Lr=="object"?{...Lr,languageVersion:Jr,setExternalModuleIndicator:Vr}:{languageVersion:Jr,impliedNodeFormat:Lr,setExternalModuleIndicator:Vr}}function Va(Le,Xe,Jt,Gt,Lr){var Jr,Vr;const fn=wt(Le);if(Pt){let On=Gc(fn);if(!On&&mt.realpath&&V.preserveSymlinks&&s_(Le)&&nf(Le,a1)){const Ys=wt(mt.realpath(Le));Ys!==fn&&(On=Gc(Ys))}if(On){const Ys=ha(On)?Ws(On,Xe,Jt,Gt,Lr):void 0;return Ys&&ka(Ys,fn,void 0),Ys}}const hi=Le;if(qi.has(fn)){const On=qi.get(fn);if(vo(On||void 0,Gt),On&&V.forceConsistentCasingInFileNames!==!1){const Ys=On.fileName;wt(Ys)!==wt(Le)&&(Le=Hc(Le)||Le);const $l=MZ(Ys,mr),cg=MZ(Le,mr);$l!==cg&&ti(Le,On,Gt)}return On&&ft.get(On.path)&&It===0?(ft.set(On.path,!1),V.noResolve||(Fp(On,Xe),De(On)),V.noLib||eo(On),er.set(On.path,!1),bt(On)):On&&er.get(On.path)&&It<jt&&(er.set(On.path,!1),bt(On)),On||void 0}let Ts;if(Yb(Gt)&&!Pt){const On=Ql(Le);if(On){if(Ec(On.commandLine.options))return;const Ys=a_(On,Le);Le=Ys,Ts=wt(Ys)}}const xn=jo(Le,ii,mt,V),Nr=mt.getSourceFile(Le,xn,On=>bo(void 0,Gt,v.Cannot_read_file_0_Colon_1,[Le,On]),pe||((Jr=_e==null?void 0:_e.getSourceFileByPath(wt(Le)))==null?void 0:Jr.impliedNodeFormat)!==xn.impliedNodeFormat);if(Lr){const On=gx(Lr),Ys=Pr.get(On);if(Ys){const Nc=si(Ys,Nr,Le,fn,wt(Le),hi,xn);return Nn.add(Ys.path,Le),ka(Nc,fn,Ts),vo(Nc,Gt),Cn.set(fn,VB(Lr)),Se.push(Nc),Nc}else Nr&&(Pr.set(On,Nr),Cn.set(fn,VB(Lr)))}if(ka(Nr,fn,Ts),Nr){if(ft.set(fn,It>0),Nr.fileName=Le,Nr.path=fn,Nr.resolvedPath=wt(Le),Nr.originalFileName=hi,Nr.packageJsonLocations=(Vr=xn.packageJsonLocations)!=null&&Vr.length?xn.packageJsonLocations:void 0,Nr.packageJsonScope=xn.packageJsonScope,vo(Nr,Gt),mt.useCaseSensitiveFileNames()){const On=Fd(fn),Ys=Tr.get(On);Ys?ti(Le,Ys,Gt):Tr.set(On,Nr)}dr=dr||Nr.hasNoDefaultLib&&!Jt,V.noResolve||(Fp(Nr,Xe),De(Nr)),V.noLib||eo(Nr),bt(Nr),Xe?ge.push(Nr):Se.push(Nr)}return Nr}function vo(Le,Xe){Le&&tt.add(Le.path,Xe)}function ka(Le,Xe,Jt){Jt?(qi.set(Jt,Le),qi.set(Xe,Le||!1)):qi.set(Xe,Le)}function Hc(Le){const Xe=Ql(Le);return Xe&&a_(Xe,Le)}function Ql(Le){if(!(!nn||!nn.length||s_(Le)||Gl(Le,".json")))return Zo(Le)}function a_(Le,Xe){const Jt=Ec(Le.commandLine.options);return Jt?ET(Jt,".d.ts"):DD(Xe,Le.commandLine,!mt.useCaseSensitiveFileNames())}function Zo(Le){_i===void 0&&(_i=new Map,zo(Jt=>{wt(V.configFilePath)!==Jt.sourceFile.path&&Jt.commandLine.fileNames.forEach(Gt=>_i.set(wt(Gt),Jt.sourceFile.path))}));const Xe=_i.get(wt(Le));return Xe&&wl(Xe)}function zo(Le){return iEe(nn,Le)}function Gc(Le){if(s_(Le))return Fe===void 0&&(Fe=new Map,zo(Xe=>{const Jt=Ec(Xe.commandLine.options);if(Jt){const Gt=ET(Jt,".d.ts");Fe.set(wt(Gt),!0)}else{const Gt=h_(()=>ND(Xe.commandLine,!mt.useCaseSensitiveFileNames()));Q(Xe.commandLine.fileNames,Lr=>{if(!s_(Lr)&&!Gl(Lr,".json")){const Jr=DD(Lr,Xe.commandLine,!mt.useCaseSensitiveFileNames(),Gt);Fe.set(wt(Jr),Lr)}})}})),Fe.get(Le)}function q_(Le){return Pt&&!!Zo(Le)}function wl(Le){if(Xn)return Xn.get(Le)||void 0}function Fp(Le,Xe){Q(Le.referencedFiles,(Jt,Gt)=>{Ft(oz(Jt.fileName,Le.fileName),Xe,!1,void 0,{kind:4,file:Le.path,index:Gt})})}function De(Le){const Xe=Le.typeReferenceDirectives;if(!Xe.length){Le.resolvedTypeReferenceDirectiveNames=void 0;return}const Jt=$e(Xe,Le);for(let Gt=0;Gt<Xe.length;Gt++){const Lr=Le.typeReferenceDirectives[Gt],Jr=Jt[Gt],Vr=Fd(Lr.fileName);Ube(Le,Vr,Jr,i9(Lr,Le.impliedNodeFormat));const fn=Lr.resolutionMode||Le.impliedNodeFormat;fn&&vl(V)!==3&&vl(V)!==99&&(Ke??(Ke=[])).push({kind:2,diagnostics:[qK(Le,Lr,v.resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext)]}),Vt(Vr,fn,Jr,{kind:5,file:Le.path,index:Gt})}}function Vt(Le,Xe,Jt,Gt){var Lr,Jr;(Lr=Hi)==null||Lr.push(Hi.Phase.Program,"processTypeReferenceDirective",{directive:Le,hasResolved:!!Jt.resolvedTypeReferenceDirective,refKind:Gt.kind,refPath:Yb(Gt)?Gt.file:void 0}),tn(Le,Xe,Jt,Gt),(Jr=Hi)==null||Jr.pop()}function tn(Le,Xe,Jt,Gt){var Lr;Ze(Jt);const Jr=(Lr=st.get(Le,Xe))==null?void 0:Lr.resolvedTypeReferenceDirective;if(Jr&&Jr.primary)return;let Vr=!0;const{resolvedTypeReferenceDirective:fn}=Jt;if(fn){if(fn.isExternalLibraryImport&&It++,fn.primary)Ft(fn.resolvedFileName,!1,!1,fn.packageId,Gt);else if(Jr){if(fn.resolvedFileName!==Jr.resolvedFileName){const hi=mt.readFile(fn.resolvedFileName),Ts=Ia(Jr.resolvedFileName);hi!==Ts.text&&bo(Ts,Gt,v.Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict,[Le,fn.resolvedFileName,Jr.resolvedFileName])}Vr=!1}else Ft(fn.resolvedFileName,!1,!1,fn.packageId,Gt);fn.isExternalLibraryImport&&It--}else bo(void 0,Gt,v.Cannot_find_type_definition_file_for_0,[Le]);Vr&&st.set(Le,Xe,Jt)}function ks(Le){const Xe=Le.split(".");let Jt=Xe[1],Gt=2;for(;Xe[Gt]&&Xe[Gt]!=="d";)Jt+=(Gt===2?"/":"-")+Xe[Gt],Gt++;const Lr=_s(mr,`__lib_node_modules_lookup_${Le}__.ts`),Jr=vD("@typescript/lib-"+Jt,Lr,{moduleResolution:2},mt,ii);return Jr!=null&&Jr.resolvedModule?Jr.resolvedModule.resolvedFileName:_s(un,Le)}function eo(Le){Q(Le.libReferenceDirectives,(Xe,Jt)=>{const Gt=Fd(Xe.fileName),Lr=NO.get(Gt);if(Lr)Cl(ks(Lr),!0,!0,{kind:7,file:Le.path,index:Jt});else{const Jr=_6(LA(Gt,"lib."),".d.ts"),Vr=OA(Jr,DO,Zc),fn=Vr?v.Cannot_find_lib_definition_for_0_Did_you_mean_1:v.Cannot_find_lib_definition_for_0;(Ke||(Ke=[])).push({kind:0,reason:{kind:7,file:Le.path,index:Jt},diagnostic:fn,args:[Gt,Vr]})}})}function de(Le){return mt.getCanonicalFileName(Le)}function bt(Le){var Xe;if(Ut(Le),Le.imports.length||Le.moduleAugmentations.length){const Jt=sEe(Le),Gt=ne(Jt,Le);R.assert(Gt.length===Jt.length);const Lr=(Pt?(Xe=wr(Le))==null?void 0:Xe.commandLine.options:void 0)||V;for(let Jr=0;Jr<Jt.length;Jr++){const Vr=Gt[Jr].resolvedModule,fn=Jt[Jr].text,hi=km(Le,Jt[Jr]);if(Jbe(Le,fn,Gt[Jr],hi),ct(Le,fn,Gt[Jr],hi),!Vr)continue;const Ts=Vr.isExternalLibraryImport,xn=!D5(Vr.extension),Nr=Ts&&xn,On=Vr.resolvedFileName;Ts&&It++;const Ys=Nr&&It>jt,Nc=On&&!jie(Lr,Vr,Le)&&!Lr.noResolve&&Jr<Le.imports.length&&!Ys&&!(xn&&!k5(Lr))&&(Mn(Le.imports[Jr])||!(Le.imports[Jr].flags&8388608));Ys?er.set(Le.path,!0):Nc&&Ws(On,!1,!1,{kind:3,file:Le.path,index:Jr},Vr.packageId),Ts&&It--}}else Le.resolvedModules=void 0}function Yt(Le,Xe){let Jt=!0;const Gt=mt.getCanonicalFileName(oa(Xe,mr));for(const Lr of Le)Lr.isDeclarationFile||mt.getCanonicalFileName(oa(Lr.fileName,mr)).indexOf(Gt)!==0&&(tc(Lr,v.File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files,[Lr.fileName,Xe]),Jt=!1);return Jt}function Xt(Le){Xn||(Xn=new Map);const Xe=OD(Le),Jt=wt(Xe),Gt=Xn.get(Jt);if(Gt!==void 0)return Gt||void 0;let Lr,Jr;if(mt.getParsedCommandLine){if(Lr=mt.getParsedCommandLine(Xe),!Lr){ka(void 0,Jt,void 0),Xn.set(Jt,!1);return}Jr=R.checkDefined(Lr.options.configFile),R.assert(!Jr.path||Jr.path===Jt),ka(Jr,Jt,void 0)}else{const fn=oa($i(Xe),mt.getCurrentDirectory());if(Jr=mt.getSourceFile(Xe,100),ka(Jr,Jt,void 0),Jr===void 0){Xn.set(Jt,!1);return}Lr=CO(Jr,xr,fn,void 0,Xe)}Jr.fileName=Xe,Jr.path=Jt,Jr.resolvedPath=Jt,Jr.originalFileName=Xe;const Vr={commandLine:Lr,sourceFile:Jr};return Xn.set(Jt,Vr),Lr.projectReferences&&(Vr.references=Lr.projectReferences.map(Xt)),Vr}function Er(){V.strictPropertyInitialization&&!bd(V,"strictNullChecks")&&Po(v.Option_0_cannot_be_specified_without_specifying_option_1,"strictPropertyInitialization","strictNullChecks"),V.exactOptionalPropertyTypes&&!bd(V,"strictNullChecks")&&Po(v.Option_0_cannot_be_specified_without_specifying_option_1,"exactOptionalPropertyTypes","strictNullChecks"),(V.isolatedModules||V.verbatimModuleSyntax)&&(V.out&&Po(v.Option_0_cannot_be_specified_with_option_1,"out",V.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules"),V.outFile&&Po(v.Option_0_cannot_be_specified_with_option_1,"outFile",V.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules")),V.inlineSourceMap&&(V.sourceMap&&Po(v.Option_0_cannot_be_specified_with_option_1,"sourceMap","inlineSourceMap"),V.mapRoot&&Po(v.Option_0_cannot_be_specified_with_option_1,"mapRoot","inlineSourceMap")),V.composite&&(V.declaration===!1&&Po(v.Composite_projects_may_not_disable_declaration_emit,"declaration"),V.incremental===!1&&Po(v.Composite_projects_may_not_disable_incremental_compilation,"declaration"));const Le=Ec(V);if(V.tsBuildInfoFile?x5(V)||Po(v.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"tsBuildInfoFile","incremental","composite"):V.incremental&&!Le&&!V.configFilePath&&Gr.add(gc(v.Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified)),wi(),o_(),V.composite){const Vr=new Set(se.map(wt));for(const fn of we)zC(fn,Y)&&!Vr.has(fn.path)&&tc(fn,v.File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern,[fn.fileName,V.configFilePath||""])}if(V.paths){for(const Vr in V.paths)if(mc(V.paths,Vr))if(Zee(Vr)||Bl(!0,Vr,v.Pattern_0_can_have_at_most_one_Asterisk_character,Vr),pa(V.paths[Vr])){const fn=V.paths[Vr].length;fn===0&&Bl(!1,Vr,v.Substitutions_for_pattern_0_shouldn_t_be_an_empty_array,Vr);for(let hi=0;hi<fn;hi++){const Ts=V.paths[Vr][hi],xn=typeof Ts;xn==="string"?(Zee(Ts)||mp(Vr,hi,v.Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character,Ts,Vr),!V.baseUrl&&!wp(Ts)&&!BA(Ts)&&mp(Vr,hi,v.Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash)):mp(Vr,hi,v.Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2,Ts,Vr,xn)}}else Bl(!1,Vr,v.Substitutions_for_pattern_0_should_be_an_array,Vr)}!V.sourceMap&&!V.inlineSourceMap&&(V.inlineSources&&Po(v.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"inlineSources"),V.sourceRoot&&Po(v.Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided,"sourceRoot")),V.out&&V.outFile&&Po(v.Option_0_cannot_be_specified_with_option_1,"out","outFile"),V.mapRoot&&!(V.sourceMap||V.declarationMap)&&Po(v.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"mapRoot","sourceMap","declarationMap"),V.declarationDir&&(Wd(V)||Po(v.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"declarationDir","declaration","composite"),Le&&Po(v.Option_0_cannot_be_specified_with_option_1,"declarationDir",V.out?"out":"outFile")),V.declarationMap&&!Wd(V)&&Po(v.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"declarationMap","declaration","composite"),V.lib&&V.noLib&&Po(v.Option_0_cannot_be_specified_with_option_1,"lib","noLib"),V.noImplicitUseStrict&&bd(V,"alwaysStrict")&&Po(v.Option_0_cannot_be_specified_with_option_1,"noImplicitUseStrict","alwaysStrict");const Xe=Io(V),Jt=He(we,Vr=>Fl(Vr)&&!Vr.isDeclarationFile);if(V.isolatedModules||V.verbatimModuleSyntax)V.module===0&&Xe<2&&V.isolatedModules&&Po(v.Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher,"isolatedModules","target"),V.preserveConstEnums===!1&&Po(v.Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled,V.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules","preserveConstEnums");else if(Jt&&Xe<2&&V.module===0){const Vr=gT(Jt,typeof Jt.externalModuleIndicator=="boolean"?Jt:Jt.externalModuleIndicator);Gr.add(gu(Jt,Vr.start,Vr.length,v.Cannot_use_imports_exports_or_module_augmentations_when_module_is_none))}if(Le&&!V.emitDeclarationOnly){if(V.module&&!(V.module===2||V.module===4))Po(v.Only_amd_and_system_modules_are_supported_alongside_0,V.out?"out":"outFile","module");else if(V.module===void 0&&Jt){const Vr=gT(Jt,typeof Jt.externalModuleIndicator=="boolean"?Jt:Jt.externalModuleIndicator);Gr.add(gu(Jt,Vr.start,Vr.length,v.Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system,V.out?"out":"outFile"))}}if(Ix(V)&&(vl(V)===1?Po(v.Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic,"resolveJsonModule"):Bj(V)||Po(v.Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext,"resolveJsonModule","module")),V.outDir||V.rootDir||V.sourceRoot||V.mapRoot){const Vr=nr();V.outDir&&Vr===""&&we.some(fn=>Ym(fn.fileName)>1)&&Po(v.Cannot_find_the_common_subdirectory_path_for_the_input_files,"outDir")}V.useDefineForClassFields&&Xe===0&&Po(v.Option_0_cannot_be_specified_when_option_target_is_ES3,"useDefineForClassFields"),V.checkJs&&!k5(V)&&Gr.add(gc(v.Option_0_cannot_be_specified_without_specifying_option_1,"checkJs","allowJs")),V.emitDeclarationOnly&&(Wd(V)||Po(v.Option_0_cannot_be_specified_without_specifying_option_1_or_option_2,"emitDeclarationOnly","declaration","composite"),V.noEmit&&Po(v.Option_0_cannot_be_specified_with_option_1,"emitDeclarationOnly","noEmit")),V.emitDecoratorMetadata&&!V.experimentalDecorators&&Po(v.Option_0_cannot_be_specified_without_specifying_option_1,"emitDecoratorMetadata","experimentalDecorators"),V.jsxFactory?(V.reactNamespace&&Po(v.Option_0_cannot_be_specified_with_option_1,"reactNamespace","jsxFactory"),(V.jsx===4||V.jsx===5)&&Po(v.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFactory",hD.get(""+V.jsx)),bw(V.jsxFactory,Xe)||wd("jsxFactory",v.Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name,V.jsxFactory)):V.reactNamespace&&!Bd(V.reactNamespace,Xe)&&wd("reactNamespace",v.Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier,V.reactNamespace),V.jsxFragmentFactory&&(V.jsxFactory||Po(v.Option_0_cannot_be_specified_without_specifying_option_1,"jsxFragmentFactory","jsxFactory"),(V.jsx===4||V.jsx===5)&&Po(v.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxFragmentFactory",hD.get(""+V.jsx)),bw(V.jsxFragmentFactory,Xe)||wd("jsxFragmentFactory",v.Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name,V.jsxFragmentFactory)),V.reactNamespace&&(V.jsx===4||V.jsx===5)&&Po(v.Option_0_cannot_be_specified_when_option_jsx_is_1,"reactNamespace",hD.get(""+V.jsx)),V.jsxImportSource&&V.jsx===2&&Po(v.Option_0_cannot_be_specified_when_option_jsx_is_1,"jsxImportSource",hD.get(""+V.jsx)),V.preserveValueImports&&Hu(V)<5&&Po(v.Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later,"preserveValueImports");const Gt=Hu(V);V.verbatimModuleSyntax&&((Gt===2||Gt===3||Gt===4)&&Po(v.Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System,"verbatimModuleSyntax"),V.preserveValueImports&&lt("preserveValueImports","verbatimModuleSyntax"),V.importsNotUsedAsValues&&lt("importsNotUsedAsValues","verbatimModuleSyntax")),V.allowImportingTsExtensions&&!(V.noEmit||V.emitDeclarationOnly)&&wd("allowImportingTsExtensions",v.Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set);const Lr=vl(V);if(V.resolvePackageJsonExports&&!XC(Lr)&&Po(v.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"resolvePackageJsonExports"),V.resolvePackageJsonImports&&!XC(Lr)&&Po(v.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"resolvePackageJsonImports"),V.customConditions&&!XC(Lr)&&Po(v.Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler,"customConditions"),Lr===100&&!Xee(Gt)&&wd("moduleResolution",v.Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later,"bundler"),!V.noEmit&&!V.suppressOutputPathCheck){const Vr=te(),fn=new Set;hie(Vr,hi=>{V.emitDeclarationOnly||Jr(hi.jsFilePath,fn),Jr(hi.declarationFilePath,fn)})}function Jr(Vr,fn){if(Vr){const hi=wt(Vr);if(qi.has(hi)){let xn;V.configFilePath||(xn=sa(void 0,v.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)),xn=sa(xn,v.Cannot_write_file_0_because_it_would_overwrite_input_file,Vr),ir(Vr,Fj(xn))}const Ts=mt.useCaseSensitiveFileNames()?hi:Fd(hi);fn.has(Ts)?ir(Vr,gc(v.Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files,Vr)):fn.add(Ts)}}}function ln(){const Le=V.ignoreDeprecations;if(Le){if(Le==="5.0")return new Rd(Le);K()}return Rd.zero}function ri(Le,Xe,Jt,Gt){const Lr=new Rd(Le),Jr=new Rd(Xe),Vr=new Rd(Ce||P),fn=ln(),hi=Jr.compareTo(Vr)!==1,Ts=!hi&&fn.compareTo(Lr)===-1;(hi||Ts)&&Gt((xn,Nr,On)=>{hi?Nr===void 0?Jt(xn,Nr,On,v.Option_0_has_been_removed_Please_remove_it_from_your_configuration,xn):Jt(xn,Nr,On,v.Option_0_1_has_been_removed_Please_remove_it_from_your_configuration,xn,Nr):Nr===void 0?Jt(xn,Nr,On,v.Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error,xn,Xe,Le):Jt(xn,Nr,On,v.Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error,xn,Nr,Xe,Le)})}function wi(){function Le(Xe,Jt,Gt,Lr,Jr,Vr,fn,hi){if(Gt){const Ts=sa(void 0,v.Use_0_instead,Gt),xn=sa(Ts,Lr,Jr,Vr,fn,hi);em(!Jt,Xe,void 0,xn)}else em(!Jt,Xe,void 0,Lr,Jr,Vr,fn,hi)}ri("5.0","5.5",Le,Xe=>{V.target===0&&Xe("target","ES3"),V.noImplicitUseStrict&&Xe("noImplicitUseStrict"),V.keyofStringsOnly&&Xe("keyofStringsOnly"),V.suppressExcessPropertyErrors&&Xe("suppressExcessPropertyErrors"),V.suppressImplicitAnyIndexErrors&&Xe("suppressImplicitAnyIndexErrors"),V.noStrictGenericChecks&&Xe("noStrictGenericChecks"),V.charset&&Xe("charset"),V.out&&Xe("out",void 0,"outFile"),V.importsNotUsedAsValues&&Xe("importsNotUsedAsValues",void 0,"verbatimModuleSyntax"),V.preserveValueImports&&Xe("preserveValueImports",void 0,"verbatimModuleSyntax")})}function ls(Le,Xe,Jt){function Gt(Lr,Jr,Vr,fn,hi,Ts,xn,Nr){gp(Xe,Jt,fn,hi,Ts,xn,Nr)}ri("5.0","5.5",Gt,Lr=>{Le.prepend&&Lr("prepend")})}function da(Le,Xe,Jt,Gt){var Lr;let Jr,Vr,fn=Yb(Xe)?Xe:void 0;Le&&((Lr=tt.get(Le.path))==null||Lr.forEach(On)),Xe&&On(Xe),fn&&(Jr==null?void 0:Jr.length)===1&&(Jr=void 0);const hi=fn&&ID(Fs,fn),Ts=Jr&&sa(Jr,v.The_file_is_in_the_program_because_Colon),xn=Le&&sse(Le),Nr=sa(xn?Ts?[Ts,...xn]:xn:Ts,Jt,...Gt||pt);return hi&&M4(hi)?ZB(hi.file,hi.pos,hi.end-hi.pos,Nr,Vr):Fj(Nr,Vr);function On(Ys){(Jr||(Jr=[])).push(cse(Y,Ys)),!fn&&Yb(Ys)?fn=Ys:fn!==Ys&&(Vr=$r(Vr,Dc(Ys))),Ys===Xe&&(Xe=void 0)}}function bo(Le,Xe,Jt,Gt){(Ke||(Ke=[])).push({kind:1,file:Le&&Le.path,fileProcessingReason:Xe,diagnostic:Jt,args:Gt})}function tc(Le,Xe,Jt){Gr.add(da(Le,void 0,Xe,Jt))}function Dc(Le){if(Yb(Le)){const Gt=ID(Fs,Le);let Lr;switch(Le.kind){case 3:Lr=v.File_is_included_via_import_here;break;case 4:Lr=v.File_is_included_via_reference_here;break;case 5:Lr=v.File_is_included_via_type_library_reference_here;break;case 7:Lr=v.File_is_included_via_library_reference_here;break;default:R.assertNever(Le)}return M4(Gt)?gu(Gt.file,Gt.pos,Gt.end-Gt.pos,Lr):void 0}if(!V.configFile)return;let Xe,Jt;switch(Le.kind){case 0:if(!V.configFile.configFileSpecs)return;const Gt=oa(se[Le.index],mr),Lr=ase(Y,Gt);if(Lr){Xe=aj(V.configFile,"files",Lr),Jt=v.File_is_matched_by_files_list_specified_here;break}const Jr=ose(Y,Gt);if(!Jr||!ha(Jr))return;Xe=aj(V.configFile,"include",Jr),Jt=v.File_is_matched_by_include_pattern_specified_here;break;case 1:case 2:const Vr=R.checkDefined(nn==null?void 0:nn[Le.index]),fn=a9(fe,nn,(On,Ys,Nc)=>On===Vr?{sourceFile:(Ys==null?void 0:Ys.sourceFile)||V.configFile,index:Nc}:void 0);if(!fn)return;const{sourceFile:hi,index:Ts}=fn,xn=ze(I7(hi,"references"),On=>Nf(On.initializer)?On.initializer:void 0);return xn&&xn.elements.length>Ts?r_(hi,xn.elements[Ts],Le.kind===2?v.File_is_output_from_referenced_project_specified_here:v.File_is_source_from_referenced_project_specified_here):void 0;case 8:if(!V.types)return;Xe=Cd("types",Le.typeReference),Jt=v.File_is_entry_point_of_type_library_specified_here;break;case 6:if(Le.index!==void 0){Xe=Cd("lib",V.lib[Le.index]),Jt=v.File_is_library_specified_here;break}const Nr=cp(LO.type,(On,Ys)=>On===Io(V)?Ys:void 0);Xe=Nr?hp("target",Nr):void 0,Jt=v.File_is_default_library_for_target_specified_here;break;default:R.assertNever(Le)}return Xe&&r_(V.configFile,Xe,Jt)}function o_(){const Le=V.suppressOutputPathCheck?void 0:c1(V);a9(fe,nn,(Xe,Jt,Gt)=>{const Lr=(Jt?Jt.commandLine.projectReferences:fe)[Gt],Jr=Jt&&Jt.sourceFile;if(ls(Lr,Jr,Gt),!Xe){gp(Jr,Gt,v.File_0_not_found,Lr.path);return}const Vr=Xe.commandLine.options;if((!Vr.composite||Vr.noEmit)&&(Jt?Jt.commandLine.fileNames:se).length&&(Vr.composite||gp(Jr,Gt,v.Referenced_project_0_must_have_setting_composite_Colon_true,Lr.path),Vr.noEmit&&gp(Jr,Gt,v.Referenced_project_0_may_not_disable_emit,Lr.path)),Lr.prepend){const fn=Ec(Vr);fn?mt.fileExists(fn)||gp(Jr,Gt,v.Output_file_0_from_project_1_does_not_exist,fn,Lr.path):gp(Jr,Gt,v.Cannot_prepend_project_0_because_it_does_not_have_outFile_set,Lr.path)}!Jt&&Le&&Le===c1(Vr)&&(gp(Jr,Gt,v.Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1,Le,Lr.path),ws.set(wt(Le),!0))})}function mp(Le,Xe,Jt,Gt,Lr,Jr){let Vr=!0;const fn=mf();for(const hi of fn)if(cc(hi.initializer))for(const Ts of L6(hi.initializer,Le)){const xn=Ts.initializer;Nf(xn)&&xn.elements.length>Xe&&(Gr.add(r_(V.configFile,xn.elements[Xe],Jt,Gt,Lr,Jr)),Vr=!1)}Vr&&Gr.add(gc(Jt,Gt,Lr,Jr))}function Bl(Le,Xe,Jt,Gt){let Lr=!0;const Jr=mf();for(const Vr of Jr)cc(Vr.initializer)&&G(Vr.initializer,Le,Xe,void 0,Jt,Gt)&&(Lr=!1);Lr&&Gr.add(gc(Jt,Gt))}function W_(Le){const Xe=Dm();return Xe&&L6(Xe,Le)}function mf(){return W_("paths")||pt}function hp(Le,Xe){const Jt=W_(Le);return Jt&&ze(Jt,Gt=>yo(Gt.initializer)&&Gt.initializer.text===Xe?Gt.initializer:void 0)}function Cd(Le,Xe){const Jt=Dm();return Jt&&d2e(Jt,Le,Xe)}function Po(Le,Xe,Jt,Gt){em(!0,Xe,Jt,Le,Xe,Jt,Gt)}function wd(Le,Xe,Jt,Gt){em(!1,Le,void 0,Xe,Jt,Gt)}function gp(Le,Xe,Jt,Gt,Lr,Jr,Vr){const fn=ze(I7(Le||V.configFile,"references"),hi=>Nf(hi.initializer)?hi.initializer:void 0);fn&&fn.elements.length>Xe?Gr.add(r_(Le||V.configFile,fn.elements[Xe],Jt,Gt,Lr,Jr,Vr)):Gr.add(gc(Jt,Gt,Lr,Jr,Vr))}function em(Le,Xe,Jt,Gt,Lr,Jr,Vr,fn){const hi=Dm();(!hi||!G(hi,Le,Xe,Jt,Gt,Lr,Jr,Vr,fn))&&("messageText"in Gt?Gr.add(Fj(Gt)):Gr.add(gc(Gt,Lr,Jr,Vr,fn)))}function Dm(){if(Es===void 0){Es=!1;const Le=uP(V.configFile);if(Le){for(const Xe of L6(Le,"compilerOptions"))if(cc(Xe.initializer)){Es=Xe.initializer;break}}}return Es||void 0}function G(Le,Xe,Jt,Gt,Lr,Jr,Vr,fn,hi){const Ts=L6(Le,Jt,Gt);for(const xn of Ts)"messageText"in Lr?Gr.add(Ly(V.configFile,Xe?xn.name:xn.initializer,Lr)):Gr.add(r_(V.configFile,Xe?xn.name:xn.initializer,Lr,Jr,Vr,fn,hi));return!!Ts.length}function lt(Le,Xe){const Jt=Dm();Jt?G(Jt,!0,Le,void 0,v.Option_0_is_redundant_and_cannot_be_specified_with_option_1,Le,Xe):Po(v.Option_0_is_redundant_and_cannot_be_specified_with_option_1,Le,Xe)}function ir(Le,Xe){ws.set(wt(Le),!0),Gr.add(Xe)}function gn(Le){if(V.noEmit)return!1;const Xe=wt(Le);if(Fs(Xe))return!1;const Jt=Ec(V);if(Jt)return na(Xe,Jt)||na(Xe,B_(Jt)+".d.ts");if(V.declarationDir&&sv(V.declarationDir,Xe,mr,!mt.useCaseSensitiveFileNames()))return!0;if(V.outDir)return sv(V.outDir,Xe,mr,!mt.useCaseSensitiveFileNames());if(cu(Xe,HP)||s_(Xe)){const Gt=B_(Xe);return!!Fs(Gt+".ts")||!!Fs(Gt+".tsx")}return!1}function na(Le,Xe){return lx(Le,Xe,mr,!mt.useCaseSensitiveFileNames())===0}function ta(){return mt.getSymlinkCache?mt.getSymlinkCache():(Pe||(Pe=BTe(mr,de)),we&&gt&&!Pe.hasProcessedResolutions()&&Pe.setSymlinksFromResolutions(we,gt),Pe)}}function Yet(e){let t;const n=e.compilerHost.fileExists,s=e.compilerHost.directoryExists,l=e.compilerHost.getDirectories,f=e.compilerHost.realpath;if(!e.useSourceOfProjectReferenceRedirect)return{onProgramCreateComplete:La,fileExists:h};e.compilerHost.fileExists=h;let d;return s&&(d=e.compilerHost.directoryExists=O=>s.call(e.compilerHost,O)?(w(O),!0):e.getResolvedProjectReferences()?(t||(t=new Set,e.forEachResolvedProjectReference(L=>{const U=Ec(L.commandLine.options);if(U)t.add($i(e.toPath(U)));else{const M=L.commandLine.options.declarationDir||L.commandLine.options.outDir;M&&t.add(e.toPath(M))}})),N(O,!1)):!1),l&&(e.compilerHost.getDirectories=O=>!e.getResolvedProjectReferences()||s&&s.call(e.compilerHost,O)?l.call(e.compilerHost,O):[]),f&&(e.compilerHost.realpath=O=>{var L;return((L=e.getSymlinkCache().getSymlinkedFiles())==null?void 0:L.get(e.toPath(O)))||f.call(e.compilerHost,O)}),{onProgramCreateComplete:g,fileExists:h,directoryExists:d};function g(){e.compilerHost.fileExists=n,e.compilerHost.directoryExists=s,e.compilerHost.getDirectories=l}function h(O){return n.call(e.compilerHost,O)?!0:!e.getResolvedProjectReferences()||!s_(O)?!1:N(O,!0)}function k(O){const L=e.getSourceOfProjectReferenceRedirect(e.toPath(O));return L!==void 0?ha(L)?n.call(e.compilerHost,L):!0:void 0}function S(O){const L=e.toPath(O),U=`${L}${hc}`;return iP(t,M=>L===M||Qs(M,U)||Qs(L,`${M}/`))}function w(O){var L;if(!e.getResolvedProjectReferences()||VP(O)||!f||!nf(O,a1))return;const U=e.getSymlinkCache(),M=Ef(e.toPath(O));if((L=U.getSymlinkedDirectories())!=null&&L.has(M))return;const W=Co(f.call(e.compilerHost,O));let X;if(W===O||(X=Ef(e.toPath(W)))===M){U.setSymlinkedDirectory(M,!1);return}U.setSymlinkedDirectory(O,{real:Ef(W),realPath:X})}function N(O,L){var U;const M=L?ie=>k(ie):ie=>S(ie),W=M(O);if(W!==void 0)return W;const X=e.getSymlinkCache(),Z=X.getSymlinkedDirectories();if(!Z)return!1;const ue=e.toPath(O);return nf(ue,a1)?L&&((U=X.getSymlinkedFiles())!=null&&U.has(ue))?!0:Ue(Z.entries(),([ie,se])=>{if(!se||!Qs(ue,ie))return;const V=M(ue.replace(ie,se.realPath));if(L&&V){const ve=oa(O,e.compilerHost.getCurrentDirectory());X.setSymlinkedFile(ue,`${se.real}${ve.replace(new RegExp(ie,"i"),"")}`)}return V})||!1:!1}}function Rie(e,t,n,s){const l=e.getCompilerOptions();if(l.noEmit)return e.getSemanticDiagnostics(t,s),t||Ec(l)?vz:e.emitBuildInfo(n,s);if(!l.noEmitOnError)return;let f=[...e.getOptionsDiagnostics(s),...e.getSyntacticDiagnostics(t,s),...e.getGlobalDiagnostics(s),...e.getSemanticDiagnostics(t,s)];if(f.length===0&&Wd(e.getCompilerOptions())&&(f=e.getDeclarationDiagnostics(void 0,s)),!f.length)return;let d;if(!t&&!Ec(l)){const g=e.emitBuildInfo(n,s);g.diagnostics&&(f=[...f,...g.diagnostics]),d=g.emittedFiles}return{diagnostics:f,sourceMaps:void 0,emittedFiles:d,emitSkipped:!0}}function _z(e,t){return hr(e,n=>!n.skippedOn||!t[n.skippedOn])}function pz(e,t=e){return{fileExists:n=>t.fileExists(n),readDirectory(n,s,l,f,d){return R.assertIsDefined(t.readDirectory,"'CompilerHost.readDirectory' must be implemented to correctly process 'projectReferences'"),t.readDirectory(n,s,l,f,d)},readFile:n=>t.readFile(n),useCaseSensitiveFileNames:e.useCaseSensitiveFileNames(),getCurrentDirectory:()=>e.getCurrentDirectory(),onUnRecoverableConfigFileDiagnostic:e.onUnRecoverableConfigFileDiagnostic||Pb,trace:e.trace?n=>e.trace(n):void 0}}function Bie(e,t,n,s){if(!e)return pt;let l;for(let f=0;f<e.length;f++){const d=e[f],g=t(d,f);if(d.prepend&&g&&g.options){if(!Ec(g.options))continue;const{jsFilePath:k,sourceMapFilePath:S,declarationFilePath:w,declarationMapPath:N,buildInfoPath:O}=AD(g.options,!0),L=jte(n,k,S,w,N,O,s,g.options);(l||(l=[])).push(L)}}return l||pt}function OD(e){return mse(e.path)}function jie(e,{extension:t},{isDeclarationFile:n}){switch(t){case".ts":case".d.ts":case".mts":case".d.mts":case".cts":case".d.cts":return;case".tsx":return s();case".jsx":return s()||l();case".js":case".mjs":case".cjs":return l();case".json":return f();default:return d()}function s(){return e.jsx?void 0:v.Module_0_was_resolved_to_1_but_jsx_is_not_set}function l(){return k5(e)||!bd(e,"noImplicitAny")?void 0:v.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type}function f(){return Ix(e)?void 0:v.Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used}function d(){return n||e.allowArbitraryExtensions?void 0:v.Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set}}function sEe({imports:e,moduleAugmentations:t}){const n=e.map(s=>s);for(const s of t)s.kind===10&&n.push(s);return n}function dz({imports:e,moduleAugmentations:t},n){if(n<e.length)return e[n];let s=e.length;for(const l of t)if(l.kind===10){if(n===s)return l;s++}R.fail("should never ask for module name at index higher than possible module name")}var Jie,mz,hz,Uie,zie,aEe,Vie,$ie,LD,o9,gz,yz,vz,Zet=p({"src/compiler/program.ts"(){aa(),aa(),oT(),Jie=(e=>(e.Grey="\x1B[90m",e.Red="\x1B[91m",e.Yellow="\x1B[93m",e.Blue="\x1B[94m",e.Cyan="\x1B[96m",e))(Jie||{}),mz="\x1B[7m",hz=" ",Uie="\x1B[0m",zie="...",aEe=" ",Vie=" ",$ie={resolvedModule:void 0,resolvedTypeReferenceDirective:void 0},LD={getName:Oie,getMode:(e,t)=>km(t,e)},o9={getName:cz,getMode:(e,t)=>i9(e,t==null?void 0:t.impliedNodeFormat)},gz="__inferred type names__.ts",yz=new Set([v.Cannot_redeclare_block_scoped_variable_0.code,v.A_module_cannot_have_multiple_default_exports.code,v.Another_export_default_is_here.code,v.The_first_export_default_is_here.code,v.Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module.code,v.Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode.code,v.Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here.code,v.constructor_is_a_reserved_word.code,v.delete_cannot_be_called_on_an_identifier_in_strict_mode.code,v.Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode.code,v.Invalid_use_of_0_Modules_are_automatically_in_strict_mode.code,v.Invalid_use_of_0_in_strict_mode.code,v.A_label_is_not_allowed_here.code,v.Octal_literals_are_not_allowed_in_strict_mode.code,v.with_statements_are_not_allowed_in_strict_mode.code,v.A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement.code,v.A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement.code,v.A_class_declaration_without_the_default_modifier_must_have_a_name.code,v.A_class_member_cannot_have_the_0_keyword.code,v.A_comma_expression_is_not_allowed_in_a_computed_property_name.code,v.A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement.code,v.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,v.A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement.code,v.A_default_clause_cannot_appear_more_than_once_in_a_switch_statement.code,v.A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration.code,v.A_definite_assignment_assertion_is_not_permitted_in_this_context.code,v.A_destructuring_declaration_must_have_an_initializer.code,v.A_get_accessor_cannot_have_parameters.code,v.A_rest_element_cannot_contain_a_binding_pattern.code,v.A_rest_element_cannot_have_a_property_name.code,v.A_rest_element_cannot_have_an_initializer.code,v.A_rest_element_must_be_last_in_a_destructuring_pattern.code,v.A_rest_parameter_cannot_have_an_initializer.code,v.A_rest_parameter_must_be_last_in_a_parameter_list.code,v.A_rest_parameter_or_binding_pattern_may_not_have_a_trailing_comma.code,v.A_return_statement_cannot_be_used_inside_a_class_static_block.code,v.A_set_accessor_cannot_have_rest_parameter.code,v.A_set_accessor_must_have_exactly_one_parameter.code,v.An_export_declaration_can_only_be_used_at_the_top_level_of_a_module.code,v.An_export_declaration_cannot_have_modifiers.code,v.An_import_declaration_can_only_be_used_at_the_top_level_of_a_module.code,v.An_import_declaration_cannot_have_modifiers.code,v.An_object_member_cannot_be_declared_optional.code,v.Argument_of_dynamic_import_cannot_be_spread_element.code,v.Cannot_assign_to_private_method_0_Private_methods_are_not_writable.code,v.Cannot_redeclare_identifier_0_in_catch_clause.code,v.Catch_clause_variable_cannot_have_an_initializer.code,v.Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator.code,v.Classes_can_only_extend_a_single_class.code,v.Classes_may_not_have_a_field_named_constructor.code,v.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,v.Duplicate_label_0.code,v.Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments.code,v.For_await_loops_cannot_be_used_inside_a_class_static_block.code,v.JSX_attributes_must_only_be_assigned_a_non_empty_expression.code,v.JSX_elements_cannot_have_multiple_attributes_with_the_same_name.code,v.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array.code,v.JSX_property_access_expressions_cannot_include_JSX_namespace_names.code,v.Jump_target_cannot_cross_function_boundary.code,v.Line_terminator_not_permitted_before_arrow.code,v.Modifiers_cannot_appear_here.code,v.Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement.code,v.Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement.code,v.Private_identifiers_are_not_allowed_outside_class_bodies.code,v.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression.code,v.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier.code,v.Tagged_template_expressions_are_not_permitted_in_an_optional_chain.code,v.The_left_hand_side_of_a_for_of_statement_may_not_be_async.code,v.The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer.code,v.The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer.code,v.Trailing_comma_not_allowed.code,v.Variable_declaration_list_cannot_be_empty.code,v._0_and_1_operations_cannot_be_mixed_without_parentheses.code,v._0_expected.code,v._0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2.code,v._0_list_cannot_be_empty.code,v._0_modifier_already_seen.code,v._0_modifier_cannot_appear_on_a_constructor_declaration.code,v._0_modifier_cannot_appear_on_a_module_or_namespace_element.code,v._0_modifier_cannot_appear_on_a_parameter.code,v._0_modifier_cannot_appear_on_class_elements_of_this_kind.code,v._0_modifier_cannot_be_used_here.code,v._0_modifier_must_precede_1_modifier.code,v.const_declarations_can_only_be_declared_inside_a_block.code,v.const_declarations_must_be_initialized.code,v.extends_clause_already_seen.code,v.let_declarations_can_only_be_declared_inside_a_block.code,v.let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations.code,v.Class_constructor_may_not_be_a_generator.code,v.Class_constructor_may_not_be_an_accessor.code,v.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code]),vz={diagnostics:pt,sourceMaps:void 0,emittedFiles:void 0,emitSkipped:!0}}}),Ket=p({"src/compiler/builderStatePublic.ts"(){}});function oEe(e,t,n,s,l,f){const d=[],{emitSkipped:g,diagnostics:h}=e.emit(t,k,s,n,l,f);return{outputFiles:d,emitSkipped:g,diagnostics:h};function k(S,w,N){d.push({name:S,writeByteOrderMark:N,text:w})}}var og,ett=p({"src/compiler/builderState.ts"(){aa(),(e=>{function t(){function _e(K,ge,Se){const we={getKeys:Pe=>ge.get(Pe),getValues:Pe=>K.get(Pe),keys:()=>K.keys(),deleteKey:Pe=>{(Se||(Se=new Set)).add(Pe);const le=K.get(Pe);return le?(le.forEach(ot=>s(ge,ot,Pe)),K.delete(Pe),!0):!1},set:(Pe,le)=>{Se==null||Se.delete(Pe);const ot=K.get(Pe);return K.set(Pe,le),ot==null||ot.forEach(Qe=>{le.has(Qe)||s(ge,Qe,Pe)}),le.forEach(Qe=>{ot!=null&&ot.has(Qe)||n(ge,Qe,Pe)}),we}};return we}return _e(new Map,new Map,void 0)}e.createManyToManyPathMap=t;function n(_e,K,ge){let Se=_e.get(K);Se||(Se=new Set,_e.set(K,Se)),Se.add(ge)}function s(_e,K,ge){const Se=_e.get(K);return Se!=null&&Se.delete(ge)?(Se.size||_e.delete(K),!0):!1}function l(_e){return fr(_e.declarations,K=>{var ge;return(ge=bn(K))==null?void 0:ge.resolvedPath})}function f(_e,K){const ge=_e.getSymbolAtLocation(K);return ge&&l(ge)}function d(_e,K,ge,Se){return wc(_e.getProjectReferenceRedirect(K)||K,ge,Se)}function g(_e,K,ge){let Se;if(K.imports&&K.imports.length>0){const ot=_e.getTypeChecker();for(const Qe of K.imports){const Ge=f(ot,Qe);Ge==null||Ge.forEach(le)}}const we=$i(K.resolvedPath);if(K.referencedFiles&&K.referencedFiles.length>0)for(const ot of K.referencedFiles){const Qe=d(_e,ot.fileName,we,ge);le(Qe)}if(K.resolvedTypeReferenceDirectiveNames&&K.resolvedTypeReferenceDirectiveNames.forEach(({resolvedTypeReferenceDirective:ot})=>{if(!ot)return;const Qe=ot.resolvedFileName,Ge=d(_e,Qe,we,ge);le(Ge)}),K.moduleAugmentations.length){const ot=_e.getTypeChecker();for(const Qe of K.moduleAugmentations){if(!yo(Qe))continue;const Ge=ot.getSymbolAtLocation(Qe);Ge&&Pe(Ge)}}for(const ot of _e.getTypeChecker().getAmbientModules())ot.declarations&&ot.declarations.length>1&&Pe(ot);return Se;function Pe(ot){if(ot.declarations)for(const Qe of ot.declarations){const Ge=bn(Qe);Ge&&Ge!==K&&le(Ge.resolvedPath)}}function le(ot){(Se||(Se=new Set)).add(ot)}}function h(_e,K){return K&&!K.referencedMap==!_e}e.canReuseOldState=h;function k(_e,K,ge){var Se,we,Pe;const le=new Map,ot=_e.getCompilerOptions(),Qe=Ec(ot),Ge=ot.module!==0&&!Qe?t():void 0,tt=Ge?t():void 0,Je=h(Ge,K);_e.getTypeChecker();for(const qe of _e.getSourceFiles()){const st=R.checkDefined(qe.version,"Program intended to be used with Builder should have source files with versions set"),Ke=Je?(Se=K.oldSignatures)==null?void 0:Se.get(qe.resolvedPath):void 0,We=Ke===void 0?Je?(we=K.fileInfos.get(qe.resolvedPath))==null?void 0:we.signature:void 0:Ke||void 0;if(Ge){const gt=g(_e,qe,_e.getCanonicalFileName);if(gt&&Ge.set(qe.resolvedPath,gt),Je){const jt=(Pe=K.oldExportedModulesMap)==null?void 0:Pe.get(qe.resolvedPath),It=jt===void 0?K.exportedModulesMap.getValues(qe.resolvedPath):jt||void 0;It&&tt.set(qe.resolvedPath,It)}}le.set(qe.resolvedPath,{version:st,signature:We,affectsGlobalScope:Qe?void 0:V(qe)||void 0,impliedFormat:qe.impliedNodeFormat})}return{fileInfos:le,referencedMap:Ge,exportedModulesMap:tt,useFileVersionAsSignature:!ge&&!Je}}e.create=k;function S(_e){_e.allFilesExcludingDefaultLibraryFile=void 0,_e.allFileNames=void 0}e.releaseCache=S;function w(_e,K,ge,Se,we){var Pe,le;const ot=N(_e,K,ge,Se,we);return(Pe=_e.oldSignatures)==null||Pe.clear(),(le=_e.oldExportedModulesMap)==null||le.clear(),ot}e.getFilesAffectedBy=w;function N(_e,K,ge,Se,we){const Pe=K.getSourceFileByPath(ge);return Pe?U(_e,K,Pe,Se,we)?(_e.referencedMap?Ce:fe)(_e,K,Pe,Se,we):[Pe]:pt}e.getFilesAffectedByWithOldState=N;function O(_e,K,ge){_e.fileInfos.get(ge).signature=K,(_e.hasCalledUpdateShapeSignature||(_e.hasCalledUpdateShapeSignature=new Set)).add(ge)}e.updateSignatureOfFile=O;function L(_e,K,ge,Se,we){_e.emit(K,(Pe,le,ot,Qe,Ge,tt)=>{R.assert(s_(Pe),`File extension for signature expected to be dts: Got:: ${Pe}`),we(Gie(_e,K,le,Se,tt),Ge)},ge,!0,void 0,!0)}e.computeDtsSignature=L;function U(_e,K,ge,Se,we,Pe=_e.useFileVersionAsSignature){var le;if((le=_e.hasCalledUpdateShapeSignature)!=null&&le.has(ge.resolvedPath))return!1;const ot=_e.fileInfos.get(ge.resolvedPath),Qe=ot.signature;let Ge;if(!ge.isDeclarationFile&&!Pe&&L(K,ge,Se,we,(tt,Je)=>{Ge=tt,Ge!==Qe&&M(_e,ge,Je[0].exportedModulesFromDeclarationEmit)}),Ge===void 0&&(Ge=ge.version,_e.exportedModulesMap&&Ge!==Qe)){(_e.oldExportedModulesMap||(_e.oldExportedModulesMap=new Map)).set(ge.resolvedPath,_e.exportedModulesMap.getValues(ge.resolvedPath)||!1);const tt=_e.referencedMap?_e.referencedMap.getValues(ge.resolvedPath):void 0;tt?_e.exportedModulesMap.set(ge.resolvedPath,tt):_e.exportedModulesMap.deleteKey(ge.resolvedPath)}return(_e.oldSignatures||(_e.oldSignatures=new Map)).set(ge.resolvedPath,Qe||!1),(_e.hasCalledUpdateShapeSignature||(_e.hasCalledUpdateShapeSignature=new Set)).add(ge.resolvedPath),ot.signature=Ge,Ge!==Qe}e.updateShapeSignature=U;function M(_e,K,ge){if(!_e.exportedModulesMap)return;(_e.oldExportedModulesMap||(_e.oldExportedModulesMap=new Map)).set(K.resolvedPath,_e.exportedModulesMap.getValues(K.resolvedPath)||!1);const Se=W(ge);Se?_e.exportedModulesMap.set(K.resolvedPath,Se):_e.exportedModulesMap.deleteKey(K.resolvedPath)}e.updateExportedModules=M;function W(_e){let K;return _e==null||_e.forEach(ge=>l(ge).forEach(Se=>(K??(K=new Set)).add(Se))),K}e.getExportedModules=W;function X(_e,K,ge){const Se=K.getCompilerOptions();if(Ec(Se)||!_e.referencedMap||V(ge))return Z(_e,K);const we=new Set,Pe=[ge.resolvedPath];for(;Pe.length;){const le=Pe.pop();if(!we.has(le)){we.add(le);const ot=_e.referencedMap.getValues(le);if(ot)for(const Qe of ot.keys())Pe.push(Qe)}}return ao(ji(we.keys(),le=>{var ot,Qe;return(Qe=(ot=K.getSourceFileByPath(le))==null?void 0:ot.fileName)!=null?Qe:le}))}e.getAllDependencies=X;function Z(_e,K){if(!_e.allFileNames){const ge=K.getSourceFiles();_e.allFileNames=ge===pt?pt:ge.map(Se=>Se.fileName)}return _e.allFileNames}function ue(_e,K){const ge=_e.referencedMap.getKeys(K);return ge?ao(ge.keys()):[]}e.getReferencedByPaths=ue;function ie(_e){for(const K of _e.statements)if(!XB(K))return!1;return!0}function se(_e){return Oe(_e.moduleAugmentations,K=>Km(K.parent))}function V(_e){return se(_e)||!lp(_e)&&!hd(_e)&&!ie(_e)}function ve(_e,K,ge){if(_e.allFilesExcludingDefaultLibraryFile)return _e.allFilesExcludingDefaultLibraryFile;let Se;ge&&we(ge);for(const Pe of K.getSourceFiles())Pe!==ge&&we(Pe);return _e.allFilesExcludingDefaultLibraryFile=Se||pt,_e.allFilesExcludingDefaultLibraryFile;function we(Pe){K.isSourceFileDefaultLibrary(Pe)||(Se||(Se=[])).push(Pe)}}e.getAllFilesExcludingDefaultLibraryFile=ve;function fe(_e,K,ge){const Se=K.getCompilerOptions();return Se&&Ec(Se)?[ge]:ve(_e,K,ge)}function Ce(_e,K,ge,Se,we){if(V(ge))return ve(_e,K,ge);const Pe=K.getCompilerOptions();if(Pe&&(qd(Pe)||Ec(Pe)))return[ge];const le=new Map;le.set(ge.resolvedPath,ge);const ot=ue(_e,ge.resolvedPath);for(;ot.length>0;){const Qe=ot.pop();if(!le.has(Qe)){const Ge=K.getSourceFileByPath(Qe);le.set(Qe,Ge),Ge&&U(_e,K,Ge,Se,we)&&ot.push(...ue(_e,Ge.resolvedPath))}}return ao(ji(le.values(),Qe=>Qe))}})(og||(og={}))}});function Pv(e){let t=1;return e.sourceMap&&(t=t|2),e.inlineSourceMap&&(t=t|4),Wd(e)&&(t=t|8),e.declarationMap&&(t=t|16),e.emitDeclarationOnly&&(t=t&24),t}function F4(e,t){const n=t&&(z0(t)?t:Pv(t)),s=z0(e)?e:Pv(e);if(n===s)return 0;if(!n||!s)return s;const l=n^s;let f=0;return l&7&&(f=s&7),l&24&&(f=f|s&24),f}function ttt(e,t){return e===t||e!==void 0&&t!==void 0&&e.size===t.size&&!iP(e,n=>!t.has(n))}function rtt(e,t){var n,s;const l=og.create(e,t,!1);l.program=e;const f=e.getCompilerOptions();l.compilerOptions=f;const d=Ec(f);d?f.composite&&(t!=null&&t.outSignature)&&d===Ec(t==null?void 0:t.compilerOptions)&&(l.outSignature=t.outSignature&&lEe(f,t.compilerOptions,t.outSignature)):l.semanticDiagnosticsPerFile=new Map,l.changedFilesSet=new Set,l.latestChangedDtsFile=f.composite?t==null?void 0:t.latestChangedDtsFile:void 0;const g=og.canReuseOldState(l.referencedMap,t),h=g?t.compilerOptions:void 0,k=g&&t.semanticDiagnosticsPerFile&&!!l.semanticDiagnosticsPerFile&&!MTe(f,h),S=f.composite&&(t==null?void 0:t.emitSignatures)&&!d&&!RTe(f,t.compilerOptions);g?((n=t.changedFilesSet)==null||n.forEach(U=>l.changedFilesSet.add(U)),!d&&((s=t.affectedFilesPendingEmit)!=null&&s.size)&&(l.affectedFilesPendingEmit=new Map(t.affectedFilesPendingEmit),l.seenAffectedFiles=new Set),l.programEmitPending=t.programEmitPending):l.buildInfoEmitPending=!0;const w=l.referencedMap,N=g?t.referencedMap:void 0,O=k&&!f.skipLibCheck==!h.skipLibCheck,L=O&&!f.skipDefaultLibCheck==!h.skipDefaultLibCheck;if(l.fileInfos.forEach((U,M)=>{var W;let X,Z;if(!g||!(X=t.fileInfos.get(M))||X.version!==U.version||X.impliedFormat!==U.impliedFormat||!ttt(Z=w&&w.getValues(M),N&&N.getValues(M))||Z&&iP(Z,ue=>!l.fileInfos.has(ue)&&t.fileInfos.has(ue)))cEe(l,M);else if(k){const ue=e.getSourceFileByPath(M);if(ue.isDeclarationFile&&!O||ue.hasNoDefaultLib&&!L)return;const ie=t.semanticDiagnosticsPerFile.get(M);ie&&(l.semanticDiagnosticsPerFile.set(M,t.hasReusableDiagnostic?ntt(ie,e):ie),l.semanticDiagnosticsFromOldState||(l.semanticDiagnosticsFromOldState=new Set),l.semanticDiagnosticsFromOldState.add(M))}if(S){const ue=t.emitSignatures.get(M);ue&&((W=l.emitSignatures)!=null?W:l.emitSignatures=new Map).set(M,lEe(f,t.compilerOptions,ue))}}),g&&cp(t.fileInfos,(U,M)=>l.fileInfos.has(M)?!1:d||U.affectsGlobalScope?!0:(l.buildInfoEmitPending=!0,!1)))og.getAllFilesExcludingDefaultLibraryFile(l,e,void 0).forEach(U=>cEe(l,U.resolvedPath));else if(h){const U=FTe(f,h)?Pv(f):F4(f,h);U!==0&&(d?l.programEmitPending=l.programEmitPending?l.programEmitPending|U:U:(e.getSourceFiles().forEach(M=>{l.changedFilesSet.has(M.resolvedPath)||Qie(l,M.resolvedPath,U)}),R.assert(!l.seenAffectedFiles||!l.seenAffectedFiles.size),l.seenAffectedFiles=l.seenAffectedFiles||new Set,l.buildInfoEmitPending=!0))}return d&&!l.changedFilesSet.size&&(g&&(l.bundle=t.bundle),Oe(e.getProjectReferences(),U=>!!U.prepend)&&(l.programEmitPending=Pv(f))),l}function cEe(e,t){e.changedFilesSet.add(t),e.buildInfoEmitPending=!0,e.programEmitPending=void 0}function lEe(e,t,n){return!!e.declarationMap==!!t.declarationMap?n:ha(n)?[n]:n[0]}function ntt(e,t){if(!e.length)return pt;let n;return e.map(l=>{const f=uEe(l,t,s);f.reportsUnnecessary=l.reportsUnnecessary,f.reportsDeprecated=l.reportDeprecated,f.source=l.source,f.skippedOn=l.skippedOn;const{relatedInformation:d}=l;return f.relatedInformation=d?d.length?d.map(g=>uEe(g,t,s)):[]:void 0,f});function s(l){return n??(n=$i(oa(c1(t.getCompilerOptions()),t.getCurrentDirectory()))),wc(l,n,t.getCanonicalFileName)}}function uEe(e,t,n){const{file:s}=e;return{...e,file:s?t.getSourceFileByPath(n(s)):void 0}}function itt(e){og.releaseCache(e),e.program=void 0}function stt(e){const t=Ec(e.compilerOptions);return R.assert(!e.changedFilesSet.size||t),{affectedFilesPendingEmit:e.affectedFilesPendingEmit&&new Map(e.affectedFilesPendingEmit),seenEmittedFiles:e.seenEmittedFiles&&new Map(e.seenEmittedFiles),programEmitPending:e.programEmitPending,emitSignatures:e.emitSignatures&&new Map(e.emitSignatures),outSignature:e.outSignature,latestChangedDtsFile:e.latestChangedDtsFile,hasChangedEmitSignature:e.hasChangedEmitSignature,changedFilesSet:t?new Set(e.changedFilesSet):void 0}}function att(e,t){e.affectedFilesPendingEmit=t.affectedFilesPendingEmit,e.seenEmittedFiles=t.seenEmittedFiles,e.programEmitPending=t.programEmitPending,e.emitSignatures=t.emitSignatures,e.outSignature=t.outSignature,e.latestChangedDtsFile=t.latestChangedDtsFile,e.hasChangedEmitSignature=t.hasChangedEmitSignature,t.changedFilesSet&&(e.changedFilesSet=t.changedFilesSet)}function fEe(e,t){R.assert(!t||!e.affectedFiles||e.affectedFiles[e.affectedFilesIndex-1]!==t||!e.semanticDiagnosticsPerFile.has(t.resolvedPath))}function _Ee(e,t,n){for(var s,l;;){const{affectedFiles:f}=e;if(f){const k=e.seenAffectedFiles;let S=e.affectedFilesIndex;for(;S<f.length;){const w=f[S];if(!k.has(w.resolvedPath))return e.affectedFilesIndex=S,Qie(e,w.resolvedPath,Pv(e.compilerOptions)),ltt(e,w,t,n),w;S++}e.changedFilesSet.delete(e.currentChangedFilePath),e.currentChangedFilePath=void 0,(s=e.oldSignatures)==null||s.clear(),(l=e.oldExportedModulesMap)==null||l.clear(),e.affectedFiles=void 0}const d=e.changedFilesSet.keys().next();if(d.done)return;const g=R.checkDefined(e.program),h=g.getCompilerOptions();if(Ec(h))return R.assert(!e.semanticDiagnosticsPerFile),g;e.affectedFiles=og.getFilesAffectedByWithOldState(e,g,d.value,t,n),e.currentChangedFilePath=d.value,e.affectedFilesIndex=0,e.seenAffectedFiles||(e.seenAffectedFiles=new Set)}}function ott(e,t){var n;if((n=e.affectedFilesPendingEmit)!=null&&n.size){if(!t)return e.affectedFilesPendingEmit=void 0;e.affectedFilesPendingEmit.forEach((s,l)=>{const f=s&7;f?e.affectedFilesPendingEmit.set(l,f):e.affectedFilesPendingEmit.delete(l)})}}function ctt(e,t){var n;if((n=e.affectedFilesPendingEmit)!=null&&n.size)return cp(e.affectedFilesPendingEmit,(s,l)=>{var f;const d=e.program.getSourceFileByPath(l);if(!d||!zC(d,e.program)){e.affectedFilesPendingEmit.delete(l);return}const g=(f=e.seenEmittedFiles)==null?void 0:f.get(d.resolvedPath);let h=F4(s,g);if(t&&(h=h&24),h)return{affectedFile:d,emitKind:h}})}function pEe(e){if(!e.cleanedDiagnosticsOfLibFiles){e.cleanedDiagnosticsOfLibFiles=!0;const t=R.checkDefined(e.program),n=t.getCompilerOptions();Q(t.getSourceFiles(),s=>t.isSourceFileDefaultLibrary(s)&&!jP(s,n,t)&&qie(e,s.resolvedPath))}}function ltt(e,t,n,s){if(qie(e,t.resolvedPath),e.allFilesExcludingDefaultLibraryFile===e.affectedFiles){pEe(e),og.updateShapeSignature(e,R.checkDefined(e.program),t,n,s);return}e.compilerOptions.assumeChangesOnlyAffectDirectDependencies||utt(e,t,n,s)}function bz(e,t,n,s){if(qie(e,t),!e.changedFilesSet.has(t)){const l=R.checkDefined(e.program),f=l.getSourceFileByPath(t);f&&(og.updateShapeSignature(e,l,f,n,s,!0),Wd(e.compilerOptions)&&Qie(e,t,e.compilerOptions.declarationMap?24:8))}}function qie(e,t){return e.semanticDiagnosticsFromOldState?(e.semanticDiagnosticsFromOldState.delete(t),e.semanticDiagnosticsPerFile.delete(t),!e.semanticDiagnosticsFromOldState.size):!0}function dEe(e,t){const n=R.checkDefined(e.oldSignatures).get(t)||void 0;return R.checkDefined(e.fileInfos.get(t)).signature!==n}function Wie(e,t,n,s){var l;return(l=e.fileInfos.get(t))!=null&&l.affectsGlobalScope?(og.getAllFilesExcludingDefaultLibraryFile(e,e.program,void 0).forEach(f=>bz(e,f.resolvedPath,n,s)),pEe(e),!0):!1}function utt(e,t,n,s){var l;if(!e.exportedModulesMap||!e.changedFilesSet.has(t.resolvedPath)||!dEe(e,t.resolvedPath))return;if(qd(e.compilerOptions)){const d=new Map;d.set(t.resolvedPath,!0);const g=og.getReferencedByPaths(e,t.resolvedPath);for(;g.length>0;){const h=g.pop();if(!d.has(h)){if(d.set(h,!0),Wie(e,h,n,s))return;if(bz(e,h,n,s),dEe(e,h)){const k=R.checkDefined(e.program).getSourceFileByPath(h);g.push(...og.getReferencedByPaths(e,k.resolvedPath))}}}}const f=new Set;(l=e.exportedModulesMap.getKeys(t.resolvedPath))==null||l.forEach(d=>{if(Wie(e,d,n,s))return!0;const g=e.referencedMap.getKeys(d);return g&&iP(g,h=>mEe(e,h,f,n,s))})}function mEe(e,t,n,s,l){var f,d;if(fi(n,t)){if(Wie(e,t,s,l))return!0;bz(e,t,s,l),(f=e.exportedModulesMap.getKeys(t))==null||f.forEach(g=>mEe(e,g,n,s,l)),(d=e.referencedMap.getKeys(t))==null||d.forEach(g=>!n.has(g)&&bz(e,g,s,l))}}function Hie(e,t,n){return Cr(ftt(e,t,n),R.checkDefined(e.program).getProgramDiagnostics(t))}function ftt(e,t,n){const s=t.resolvedPath;if(e.semanticDiagnosticsPerFile){const f=e.semanticDiagnosticsPerFile.get(s);if(f)return _z(f,e.compilerOptions)}const l=R.checkDefined(e.program).getBindAndCheckDiagnostics(t,n);return e.semanticDiagnosticsPerFile&&e.semanticDiagnosticsPerFile.set(s,l),_z(l,e.compilerOptions)}function hEe(e){return!!Ec(e.options||{})}function _tt(e,t){var n,s,l;const f=R.checkDefined(e.program).getCurrentDirectory(),d=$i(oa(c1(e.compilerOptions),f)),g=e.latestChangedDtsFile?ie(e.latestChangedDtsFile):void 0,h=[],k=new Map,S=[];if(Ec(e.compilerOptions)){const _e=ao(e.fileInfos.entries(),([le,ot])=>{const Qe=V(le);return fe(le,Qe),ot.impliedFormat?{version:ot.version,impliedFormat:ot.impliedFormat,signature:void 0,affectsGlobalScope:void 0}:ot.version}),K={fileNames:h,fileInfos:_e,root:S,options:Ce(e.compilerOptions),outSignature:e.outSignature,latestChangedDtsFile:g,pendingEmit:e.programEmitPending?e.programEmitPending===Pv(e.compilerOptions)?!1:e.programEmitPending:void 0},{js:ge,dts:Se,commonSourceDirectory:we,sourceFiles:Pe}=t;return e.bundle=t={commonSourceDirectory:we,sourceFiles:Pe,js:ge||(e.compilerOptions.emitDeclarationOnly||(n=e.bundle)==null?void 0:n.js),dts:Se||(Wd(e.compilerOptions)?(s=e.bundle)==null?void 0:s.dts:void 0)},e9(K,t)}let w,N,O;const L=ao(e.fileInfos.entries(),([_e,K])=>{var ge,Se;const we=V(_e);fe(_e,we),R.assert(h[we-1]===se(_e));const Pe=(ge=e.oldSignatures)==null?void 0:ge.get(_e),le=Pe!==void 0?Pe||void 0:K.signature;if(e.compilerOptions.composite){const ot=e.program.getSourceFileByPath(_e);if(!hd(ot)&&zC(ot,e.program)){const Qe=(Se=e.emitSignatures)==null?void 0:Se.get(_e);Qe!==le&&(O||(O=[])).push(Qe===void 0?we:[we,!ha(Qe)&&Qe[0]===le?pt:Qe])}}return K.version===le?K.affectsGlobalScope||K.impliedFormat?{version:K.version,signature:void 0,affectsGlobalScope:K.affectsGlobalScope,impliedFormat:K.impliedFormat}:K.version:le!==void 0?Pe===void 0?K:{version:K.version,signature:le,affectsGlobalScope:K.affectsGlobalScope,impliedFormat:K.impliedFormat}:{version:K.version,signature:!1,affectsGlobalScope:K.affectsGlobalScope,impliedFormat:K.impliedFormat}});let U;e.referencedMap&&(U=ao(e.referencedMap.keys()).sort(wf).map(_e=>[V(_e),ve(e.referencedMap.getValues(_e))]));let M;e.exportedModulesMap&&(M=fr(ao(e.exportedModulesMap.keys()).sort(wf),_e=>{var K;const ge=(K=e.oldExportedModulesMap)==null?void 0:K.get(_e);if(ge===void 0)return[V(_e),ve(e.exportedModulesMap.getValues(_e))];if(ge)return[V(_e),ve(ge)]}));let W;if(e.semanticDiagnosticsPerFile)for(const _e of ao(e.semanticDiagnosticsPerFile.keys()).sort(wf)){const K=e.semanticDiagnosticsPerFile.get(_e);(W||(W=[])).push(K.length?[V(_e),dtt(K,se)]:V(_e))}let X;if((l=e.affectedFilesPendingEmit)!=null&&l.size){const _e=Pv(e.compilerOptions),K=new Set;for(const ge of ao(e.affectedFilesPendingEmit.keys()).sort(wf))if(fi(K,ge)){const Se=e.program.getSourceFileByPath(ge);if(!Se||!zC(Se,e.program))continue;const we=V(ge),Pe=e.affectedFilesPendingEmit.get(ge);(X||(X=[])).push(Pe===_e?we:Pe===8?[we]:[we,Pe])}}let Z;if(e.changedFilesSet.size)for(const _e of ao(e.changedFilesSet.keys()).sort(wf))(Z||(Z=[])).push(V(_e));const ue={fileNames:h,fileInfos:L,root:S,options:Ce(e.compilerOptions),fileIdsList:w,referencedMap:U,exportedModulesMap:M,semanticDiagnosticsPerFile:W,affectedFilesPendingEmit:X,changeFileSet:Z,emitSignatures:O,latestChangedDtsFile:g};return e9(ue,t);function ie(_e){return se(oa(_e,f))}function se(_e){return lT(Uh(d,_e,e.program.getCanonicalFileName))}function V(_e){let K=k.get(_e);return K===void 0&&(h.push(se(_e)),k.set(_e,K=h.length)),K}function ve(_e){const K=ao(_e.keys(),V).sort(Cc),ge=K.join();let Se=N==null?void 0:N.get(ge);return Se===void 0&&((w||(w=[])).push(K),(N||(N=new Map)).set(ge,Se=w.length)),Se}function fe(_e,K){const ge=e.program.getSourceFile(_e);if(!e.program.getFileIncludeReasons().get(ge.path).some(le=>le.kind===0))return;if(!S.length)return S.push(K);const Se=S[S.length-1],we=pa(Se);if(we&&Se[1]===K-1)return Se[1]=K;if(we||S.length===1||Se!==K-1)return S.push(K);const Pe=S[S.length-2];return!z0(Pe)||Pe!==Se-1?S.push(K):(S[S.length-2]=[Pe,K],S.length=S.length-1)}function Ce(_e){let K;const{optionsNameMap:ge}=P4();for(const Se of wy(_e).sort(wf)){const we=ge.get(Se.toLowerCase());we!=null&&we.affectsBuildInfo&&((K||(K={}))[Se]=ptt(we,_e[Se],ie))}return K}}function ptt(e,t,n){if(e){if(R.assert(e.type!=="listOrElement"),e.type==="list"){const s=t;if(e.element.isFilePath&&s.length)return s.map(n)}else if(e.isFilePath)return n(t)}return t}function dtt(e,t){return R.assert(!!e.length),e.map(n=>{const s=gEe(n,t);s.reportsUnnecessary=n.reportsUnnecessary,s.reportDeprecated=n.reportsDeprecated,s.source=n.source,s.skippedOn=n.skippedOn;const{relatedInformation:l}=n;return s.relatedInformation=l?l.length?l.map(f=>gEe(f,t)):[]:void 0,s})}function gEe(e,t){const{file:n}=e;return{...e,file:n?t(n.resolvedPath):void 0}}function Tz(e,t,n,s,l,f){let d,g,h;return e===void 0?(R.assert(t===void 0),d=n,h=s,R.assert(!!h),g=h.getProgram()):pa(e)?(h=s,g=fz({rootNames:e,options:t,host:n,oldProgram:h&&h.getProgramOrUndefined(),configFileParsingDiagnostics:l,projectReferences:f}),d=n):(g=e,d=t,h=n,l=s),{host:d,newProgram:g,oldProgram:h,configFileParsingDiagnostics:l||pt}}function yEe(e,t){return(t==null?void 0:t.sourceMapUrlPos)!==void 0?e.substring(0,t.sourceMapUrlPos):e}function Gie(e,t,n,s,l){var f,d;n=yEe(n,l);let g;return(f=l==null?void 0:l.diagnostics)!=null&&f.length&&(n+=l.diagnostics.map(S=>`${k(S)}${qI[S.category]}${S.code}: ${h(S.messageText)}`).join(`
`)),((d=s.createHash)!=null?d:GI)(n);function h(S){return ha(S)?S:S===void 0?"":S.next?S.messageText+S.next.map(h).join(`
`):S.messageText}function k(S){return S.file.resolvedPath===t.resolvedPath?`(${S.start},${S.length})`:(g===void 0&&(g=$i(t.resolvedPath)),`${lT(Uh(g,S.file.resolvedPath,e.getCanonicalFileName))}(${S.start},${S.length})`)}}function Qx(e,t,n){var s;return((s=t.createHash)!=null?s:GI)(yEe(e,n))}function Xie(e,{newProgram:t,host:n,oldProgram:s,configFileParsingDiagnostics:l}){let f=s&&s.getState();if(f&&t===f.program&&l===t.getConfigFileParsingDiagnostics())return t=void 0,f=void 0,s;const d=rtt(t,f);t.getBuildInfo=U=>_tt(d,U),t=void 0,s=void 0,f=void 0;const g=()=>d,h=Zie(g,l);return h.getState=g,h.saveEmitState=()=>stt(d),h.restoreEmitState=U=>att(d,U),h.hasChangedEmitSignature=()=>!!d.hasChangedEmitSignature,h.getAllDependencies=U=>og.getAllDependencies(d,R.checkDefined(d.program),U),h.getSemanticDiagnostics=L,h.emit=N,h.releaseProgram=()=>itt(d),e===0?h.getSemanticDiagnosticsOfNextAffectedFile=O:e===1?(h.getSemanticDiagnosticsOfNextAffectedFile=O,h.emitNextAffectedFile=S,h.emitBuildInfo=k):ga(),h;function k(U,M){if(d.buildInfoEmitPending){const W=R.checkDefined(d.program).emitBuildInfo(U||ho(n,n.writeFile),M);return d.buildInfoEmitPending=!1,W}return vz}function S(U,M,W,X){var Z,ue,ie,se,V;let ve=_Ee(d,M,n);const fe=Pv(d.compilerOptions);let Ce=W?fe&24:fe;if(!ve)if(Ec(d.compilerOptions)){if(!d.programEmitPending||(Ce=d.programEmitPending,W&&(Ce=Ce&24),!Ce))return;ve=d.program}else{const ge=ctt(d,W);if(!ge){if(!d.buildInfoEmitPending)return;const Se=d.program,we=Se.emitBuildInfo(U||ho(n,n.writeFile),M);return d.buildInfoEmitPending=!1,{result:we,affected:Se}}({affectedFile:ve,emitKind:Ce}=ge)}let _e;Ce&7&&(_e=0),Ce&24&&(_e=_e===void 0?1:void 0),ve===d.program&&(d.programEmitPending=d.changedFilesSet.size?F4(fe,Ce):d.programEmitPending?F4(d.programEmitPending,Ce):void 0);const K=d.program.emit(ve===d.program?void 0:ve,w(U,X),M,_e,X);if(ve!==d.program){const ge=ve;d.seenAffectedFiles.add(ge.resolvedPath),d.affectedFilesIndex!==void 0&&d.affectedFilesIndex++,d.buildInfoEmitPending=!0;const Se=((Z=d.seenEmittedFiles)==null?void 0:Z.get(ge.resolvedPath))||0;((ue=d.seenEmittedFiles)!=null?ue:d.seenEmittedFiles=new Map).set(ge.resolvedPath,Ce|Se);const we=((ie=d.affectedFilesPendingEmit)==null?void 0:ie.get(ge.resolvedPath))||fe,Pe=F4(we,Ce|Se);Pe?((se=d.affectedFilesPendingEmit)!=null?se:d.affectedFilesPendingEmit=new Map).set(ge.resolvedPath,Pe):(V=d.affectedFilesPendingEmit)==null||V.delete(ge.resolvedPath)}else d.changedFilesSet.clear();return{result:K,affected:ve}}function w(U,M){return Wd(d.compilerOptions)?(W,X,Z,ue,ie,se)=>{var V,ve,fe,Ce,_e,K,ge;if(s_(W))if(Ec(d.compilerOptions)){if(d.compilerOptions.composite){const we=Se(d.outSignature,void 0);if(!we)return;d.outSignature=we}}else{R.assert((ie==null?void 0:ie.length)===1);let we;if(!M){const Pe=ie[0],le=d.fileInfos.get(Pe.resolvedPath);if(le.signature===Pe.version){const ot=Gie(d.program,Pe,X,n,se);(V=se==null?void 0:se.diagnostics)!=null&&V.length||(we=ot),ot!==Pe.version&&(n.storeFilesChangingSignatureDuringEmit&&((ve=d.filesChangingSignature)!=null?ve:d.filesChangingSignature=new Set).add(Pe.resolvedPath),d.exportedModulesMap&&og.updateExportedModules(d,Pe,Pe.exportedModulesFromDeclarationEmit),d.affectedFiles?(((fe=d.oldSignatures)==null?void 0:fe.get(Pe.resolvedPath))===void 0&&((Ce=d.oldSignatures)!=null?Ce:d.oldSignatures=new Map).set(Pe.resolvedPath,le.signature||!1),le.signature=ot):(le.signature=ot,(_e=d.oldExportedModulesMap)==null||_e.clear()))}}if(d.compilerOptions.composite){const Pe=ie[0].resolvedPath;if(we=Se((K=d.emitSignatures)==null?void 0:K.get(Pe),we),!we)return;((ge=d.emitSignatures)!=null?ge:d.emitSignatures=new Map).set(Pe,we)}}U?U(W,X,Z,ue,ie,se):n.writeFile?n.writeFile(W,X,Z,ue,ie,se):d.program.writeFile(W,X,Z,ue,ie,se);function Se(we,Pe){const le=!we||ha(we)?we:we[0];if(Pe??(Pe=Qx(X,n,se)),Pe===le){if(we===le)return;se?se.differsOnlyInMap=!0:se={differsOnlyInMap:!0}}else d.hasChangedEmitSignature=!0,d.latestChangedDtsFile=W;return Pe}}:U||ho(n,n.writeFile)}function N(U,M,W,X,Z){e===1&&fEe(d,U);const ue=Rie(h,U,M,W);if(ue)return ue;if(!U)if(e===1){let ie=[],se=!1,V,ve=[],fe;for(;fe=S(M,W,X,Z);)se=se||fe.result.emitSkipped,V=Oi(V,fe.result.diagnostics),ve=Oi(ve,fe.result.emittedFiles),ie=Oi(ie,fe.result.sourceMaps);return{emitSkipped:se,diagnostics:V||pt,emittedFiles:ve,sourceMaps:ie}}else ott(d,X);return R.checkDefined(d.program).emit(U,w(M,Z),W,X,Z)}function O(U,M){for(;;){const W=_Ee(d,U,n);let X;if(W)if(W!==d.program){const Z=W;if((!M||!M(Z))&&(X=Hie(d,Z,U)),d.seenAffectedFiles.add(Z.resolvedPath),d.affectedFilesIndex++,d.buildInfoEmitPending=!0,!X)continue}else X=d.program.getSemanticDiagnostics(void 0,U),d.changedFilesSet.clear(),d.programEmitPending=Pv(d.compilerOptions);else return;return{result:X,affected:W}}}function L(U,M){fEe(d,U);const W=R.checkDefined(d.program).getCompilerOptions();if(Ec(W))return R.assert(!d.semanticDiagnosticsPerFile),R.checkDefined(d.program).getSemanticDiagnostics(U,M);if(U)return Hie(d,U,M);for(;O(M););let X;for(const Z of R.checkDefined(d.program).getSourceFiles())X=Oi(X,Hie(d,Z,M));return X||pt}}function Qie(e,t,n){var s,l;const f=((s=e.affectedFilesPendingEmit)==null?void 0:s.get(t))||0;((l=e.affectedFilesPendingEmit)!=null?l:e.affectedFilesPendingEmit=new Map).set(t,f|n)}function vEe(e){return ha(e)?{version:e,signature:e,affectsGlobalScope:void 0,impliedFormat:void 0}:ha(e.signature)?e:{version:e.version,signature:e.signature===!1?void 0:e.version,affectsGlobalScope:e.affectsGlobalScope,impliedFormat:e.impliedFormat}}function bEe(e,t){return z0(e)?t:e[1]||8}function TEe(e,t){return e||Pv(t||{})}function SEe(e,t,n){var s,l,f,d;const g=e.program,h=$i(oa(t,n.getCurrentDirectory())),k=qu(n.useCaseSensitiveFileNames());let S;const w=(s=g.fileNames)==null?void 0:s.map(L);let N;const O=g.latestChangedDtsFile?U(g.latestChangedDtsFile):void 0;if(hEe(g)){const Z=new Map;g.fileInfos.forEach((ue,ie)=>{const se=M(ie+1);Z.set(se,ha(ue)?{version:ue,signature:void 0,affectsGlobalScope:void 0,impliedFormat:void 0}:ue)}),S={fileInfos:Z,compilerOptions:g.options?Xre(g.options,U):{},latestChangedDtsFile:O,outSignature:g.outSignature,programEmitPending:g.pendingEmit===void 0?void 0:TEe(g.pendingEmit,g.options),bundle:e.bundle}}else{N=(l=g.fileIdsList)==null?void 0:l.map(se=>new Set(se.map(M)));const Z=new Map,ue=(f=g.options)!=null&&f.composite&&!Ec(g.options)?new Map:void 0;g.fileInfos.forEach((se,V)=>{const ve=M(V+1),fe=vEe(se);Z.set(ve,fe),ue&&fe.signature&&ue.set(ve,fe.signature)}),(d=g.emitSignatures)==null||d.forEach(se=>{if(z0(se))ue.delete(M(se));else{const V=M(se[0]);ue.set(V,!ha(se[1])&&!se[1].length?[ue.get(V)]:se[1])}});const ie=g.affectedFilesPendingEmit?Pv(g.options||{}):void 0;S={fileInfos:Z,compilerOptions:g.options?Xre(g.options,U):{},referencedMap:X(g.referencedMap),exportedModulesMap:X(g.exportedModulesMap),semanticDiagnosticsPerFile:g.semanticDiagnosticsPerFile&&tT(g.semanticDiagnosticsPerFile,se=>M(z0(se)?se:se[0]),se=>z0(se)?pt:se[1]),hasReusableDiagnostic:!0,affectedFilesPendingEmit:g.affectedFilesPendingEmit&&tT(g.affectedFilesPendingEmit,se=>M(z0(se)?se:se[0]),se=>bEe(se,ie)),changedFilesSet:new Set(qt(g.changeFileSet,M)),latestChangedDtsFile:O,emitSignatures:ue!=null&&ue.size?ue:void 0}}return{getState:()=>S,saveEmitState:La,restoreEmitState:La,getProgram:ga,getProgramOrUndefined:Pb,releaseProgram:La,getCompilerOptions:()=>S.compilerOptions,getSourceFile:ga,getSourceFiles:ga,getOptionsDiagnostics:ga,getGlobalDiagnostics:ga,getConfigFileParsingDiagnostics:ga,getSyntacticDiagnostics:ga,getDeclarationDiagnostics:ga,getSemanticDiagnostics:ga,emit:ga,getAllDependencies:ga,getCurrentDirectory:ga,emitNextAffectedFile:ga,getSemanticDiagnosticsOfNextAffectedFile:ga,emitBuildInfo:ga,close:La,hasChangedEmitSignature:rT};function L(Z){return wc(Z,h,k)}function U(Z){return oa(Z,h)}function M(Z){return w[Z-1]}function W(Z){return N[Z-1]}function X(Z){if(!Z)return;const ue=og.createManyToManyPathMap();return Z.forEach(([ie,se])=>ue.set(M(ie),W(se))),ue}}function Yie(e,t,n){const s=$i(oa(t,n.getCurrentDirectory())),l=qu(n.useCaseSensitiveFileNames()),f=new Map;let d=0;const g=[];return e.fileInfos.forEach((h,k)=>{const S=wc(e.fileNames[k],s,l),w=ha(h)?h:h.version;if(f.set(S,w),d<e.root.length){const N=e.root[d],O=k+1;pa(N)?N[0]<=O&&O<=N[1]&&(g.push(S),N[1]===O&&d++):N===O&&(g.push(S),d++)}}),{fileInfos:f,roots:g}}function Zie(e,t){return{getState:ga,saveEmitState:La,restoreEmitState:La,getProgram:n,getProgramOrUndefined:()=>e().program,releaseProgram:()=>e().program=void 0,getCompilerOptions:()=>e().compilerOptions,getSourceFile:s=>n().getSourceFile(s),getSourceFiles:()=>n().getSourceFiles(),getOptionsDiagnostics:s=>n().getOptionsDiagnostics(s),getGlobalDiagnostics:s=>n().getGlobalDiagnostics(s),getConfigFileParsingDiagnostics:()=>t,getSyntacticDiagnostics:(s,l)=>n().getSyntacticDiagnostics(s,l),getDeclarationDiagnostics:(s,l)=>n().getDeclarationDiagnostics(s,l),getSemanticDiagnostics:(s,l)=>n().getSemanticDiagnostics(s,l),emit:(s,l,f,d,g)=>n().emit(s,l,f,d,g),emitBuildInfo:(s,l)=>n().emitBuildInfo(s,l),getAllDependencies:ga,getCurrentDirectory:()=>n().getCurrentDirectory(),close:La};function n(){return R.checkDefined(e().program)}}var Kie,ese,mtt=p({"src/compiler/builder.ts"(){aa(),aa(),Kie=(e=>(e[e.None=0]="None",e[e.Js=1]="Js",e[e.JsMap=2]="JsMap",e[e.JsInlineMap=4]="JsInlineMap",e[e.Dts=8]="Dts",e[e.DtsMap=16]="DtsMap",e[e.AllJs=7]="AllJs",e[e.AllDts=24]="AllDts",e[e.All=31]="All",e))(Kie||{}),ese=(e=>(e[e.SemanticDiagnosticsBuilderProgram=0]="SemanticDiagnosticsBuilderProgram",e[e.EmitAndSemanticDiagnosticsBuilderProgram=1]="EmitAndSemanticDiagnosticsBuilderProgram",e))(ese||{})}});function htt(e,t,n,s,l,f){return Xie(0,Tz(e,t,n,s,l,f))}function tse(e,t,n,s,l,f){return Xie(1,Tz(e,t,n,s,l,f))}function gtt(e,t,n,s,l,f){const{newProgram:d,configFileParsingDiagnostics:g}=Tz(e,t,n,s,l,f);return Zie(()=>({program:d,compilerOptions:d.getCompilerOptions()}),g)}var ytt=p({"src/compiler/builderPublic.ts"(){aa()}});function rse(e){return Ul(e,"/node_modules/.staging")?_6(e,"/.staging"):Oe(KI,t=>nf(e,t))?void 0:e}function c9(e){const t=Ym(e);if(e.length===t)return!1;let n=e.indexOf(hc,t);if(n===-1)return!1;let s=e.substring(t,n+1);const l=t>1||e.charCodeAt(0)!==47;if(l&&e.search(/[a-zA-Z]:/)!==0&&s.search(/[a-zA-Z]\$\//)===0){if(n=e.indexOf(hc,n+1),n===-1)return!1;s=e.substring(t+s.length,n+1)}if(l&&s.search(/users\//i)!==0)return!0;for(let f=n+1,d=2;d>0;d--)if(f=e.indexOf(hc,f)+1,f===0)return!1;return!0}function xEe(e,t,n){let s,l,f;const d=dd(),g=new Set,h=new Set,k=new Map,S=new Map;let w=!1,N,O,L,U,M;const W=h_(()=>e.getCurrentDirectory()),X=e.getCachedDirectoryStructureHost(),Z=new Map,ue=wU(W(),e.getCanonicalFileName,e.getCompilationSettings()),ie=new Map,se=EU(W(),e.getCanonicalFileName,e.getCompilationSettings(),ue.getPackageJsonInfoCache()),V=[".ts",".tsx",".js",".jsx",".json"],ve=new Map,fe=new Map,Ce=new Map,_e=t&&cx(oa(t,W())),K=_e&&e.toPath(_e),ge=K!==void 0?K.split(hc).length:0,Se=new Map;return{getModuleResolutionCache:()=>ue,startRecordingFilesWithChangedResolutions:Qe,finishRecordingFilesWithChangedResolutions:Ge,startCachingPerDirectoryResolution:qe,finishCachingPerDirectoryResolution:st,resolveModuleNameLiterals:It,resolveTypeReferenceDirectiveReferences:jt,resolveSingleModuleNameWithoutWatching:er,removeResolutionsFromProjectReferenceRedirects:Rr,removeResolutionsOfFile:rr,hasChangedAutomaticTypeDirectiveNames:()=>w,invalidateResolutionOfFile:Cn,invalidateResolutionsOfFailedLookupLocations:qi,setFilesWithInvalidatedNonRelativeUnresolvedImports:Nn,createHasInvalidatedResolutions:Je,isFileWithInvalidatedNonRelativeUnresolvedImports:tt,updateTypeRootsWatch:Pt,closeTypeRootsWatch:Xn,clear:ot};function we(Ne){return Ne.resolvedModule}function Pe(Ne){return Ne.resolvedTypeReferenceDirective}function le(Ne,kt){return Ne===void 0||kt.length<=Ne.length?!1:Qs(kt,Ne)&&kt[Ne.length]===hc}function ot(){rd(fe,ag),rd(Ce,ag),ve.clear(),d.clear(),Xn(),Z.clear(),ie.clear(),k.clear(),g.clear(),h.clear(),L=void 0,U=void 0,M=void 0,O=void 0,N=void 0,ue.clear(),se.clear(),ue.update(e.getCompilationSettings()),se.update(e.getCompilationSettings()),S.clear(),w=!1}function Qe(){s=[]}function Ge(){const Ne=s;return s=void 0,Ne}function tt(Ne){if(!f)return!1;const kt=f.get(Ne);return!!kt&&!!kt.length}function Je(Ne){qi();const kt=l;return l=void 0,Te=>Ne(Te)||!!(kt!=null&&kt.has(Te))||tt(Te)}function qe(){ue.clearAllExceptPackageJsonInfoCache(),se.clearAllExceptPackageJsonInfoCache(),d.forEach(Fn),d.clear()}function st(Ne,kt){f=void 0,d.forEach(Fn),d.clear(),Ne!==kt&&(Ne==null||Ne.getSourceFiles().forEach(Te=>{var pe,xe,Y;const Ze=lp(Te)&&(xe=(pe=Te.packageJsonLocations)==null?void 0:pe.length)!=null?xe:0,ct=(Y=S.get(Te.path))!=null?Y:pt;for(let it=ct.length;it<Ze;it++)mr(Te.packageJsonLocations[it],!1);if(ct.length>Ze)for(let it=Ze;it<ct.length;it++)Ce.get(ct[it]).files--;Ze?S.set(Te.path,Te.packageJsonLocations):S.delete(Te.path)}),S.forEach((Te,pe)=>{Ne!=null&&Ne.getSourceFileByPath(pe)||(Te.forEach(xe=>Ce.get(xe).files--),S.delete(pe))})),fe.forEach((Te,pe)=>{Te.refCount===0&&(fe.delete(pe),Te.watcher.close())}),Ce.forEach((Te,pe)=>{Te.files===0&&Te.resolutions===0&&(Ce.delete(pe),Te.watcher.close())}),w=!1}function Ke(Ne,kt,Te,pe,xe){var Y;const Ze=((Y=e.getCompilerHost)==null?void 0:Y.call(e))||e,ct=vD(Ne,kt,Te,Ze,ue,pe,xe);if(!e.getGlobalCache)return ct;const it=e.getGlobalCache();if(it!==void 0&&!wu(Ne)&&!(ct.resolvedModule&&Gj(ct.resolvedModule.extension))){const{resolvedModule:Kt,failedLookupLocations:wr,affectingLocations:qr,resolutionDiagnostics:qn}=yCe(R.checkDefined(e.globalCacheResolutionModuleName)(Ne),e.projectName,Te,Ze,it,ue);if(Kt)return ct.resolvedModule=Kt,ct.failedLookupLocations=I4(ct.failedLookupLocations,wr),ct.affectingLocations=I4(ct.affectingLocations,qr),ct.resolutionDiagnostics=I4(ct.resolutionDiagnostics,qn),ct}return ct}function We(Ne,kt,Te){return{nameAndMode:LD,resolve:(pe,xe)=>Ke(pe,Ne,Te,kt,xe)}}function gt({entries:Ne,containingFile:kt,containingSourceFile:Te,redirectedReference:pe,options:xe,perFileCache:Y,reusedNames:Ze,loader:ct,getResolutionWithResolvedFileName:it,shouldRetryResolution:Kt,logChanges:wr}){var qr;const qn=e.toPath(kt),ye=Y.get(qn)||Y.set(qn,$x()).get(qn),wt=[],nr=wr&&tt(qn),dt=e.getCurrentProgram(),ne=dt&&dt.getResolvedProjectReferenceToRedirect(kt),$e=ne?!pe||pe.sourceFile.path!==ne.sourceFile.path:!!pe,ce=$x();for(const te of Ne){const $t=ct.nameAndMode.getName(te),At=ct.nameAndMode.getMode(te,Te);let St=ye.get($t,At);if(!ce.has($t,At)&&$e||!St||St.isInvalidated||nr&&!wu($t)&&Kt(St)){const Dr=St;St=ct.resolve($t,At),e.onDiscoveredSymlink&&vtt(St)&&e.onDiscoveredSymlink(),ye.set($t,At,St),rn($t,St,qn,it),Dr&&ws(Dr,qn,it),wr&&s&&!Be(Dr,St)&&(s.push(qn),wr=!1)}else{const Dr=((qr=e.getCompilerHost)==null?void 0:qr.call(e))||e;if(Ev(xe,Dr)&&!ce.has($t,At)){const yn=it(St);Us(Dr,Y===Z?yn!=null&&yn.resolvedFileName?yn.packageId?v.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:v.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:v.Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:yn!=null&&yn.resolvedFileName?yn.packageId?v.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:v.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:v.Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved,$t,kt,yn==null?void 0:yn.resolvedFileName,(yn==null?void 0:yn.packageId)&&gx(yn.packageId))}}R.assert(St!==void 0&&!St.isInvalidated),ce.set($t,At,!0),wt.push(St)}return Ze==null||Ze.forEach(te=>ce.set(ct.nameAndMode.getName(te),ct.nameAndMode.getMode(te,Te),!0)),ye.size()!==ce.size()&&ye.forEach((te,$t,At)=>{ce.has($t,At)||(ws(te,qn,it),ye.delete($t,At))}),wt;function Be(te,$t){if(te===$t)return!0;if(!te||!$t)return!1;const At=it(te),St=it($t);return At===St?!0:!At||!St?!1:At.resolvedFileName===St.resolvedFileName}}function jt(Ne,kt,Te,pe,xe,Y){var Ze;return gt({entries:Ne,containingFile:kt,containingSourceFile:xe,redirectedReference:Te,options:pe,reusedNames:Y,perFileCache:ie,loader:lz(kt,Te,pe,((Ze=e.getCompilerHost)==null?void 0:Ze.call(e))||e,se),getResolutionWithResolvedFileName:Pe,shouldRetryResolution:ct=>ct.resolvedTypeReferenceDirective===void 0})}function It(Ne,kt,Te,pe,xe,Y){return gt({entries:Ne,containingFile:kt,containingSourceFile:xe,redirectedReference:Te,options:pe,reusedNames:Y,perFileCache:Z,loader:We(kt,Te,pe),getResolutionWithResolvedFileName:we,shouldRetryResolution:Ze=>!Ze.resolvedModule||!D5(Ze.resolvedModule.extension),logChanges:n})}function er(Ne,kt){const Te=e.toPath(kt),pe=Z.get(Te),xe=pe==null?void 0:pe.get(Ne,void 0);return xe&&!xe.isInvalidated?xe:Ke(Ne,kt,e.getCompilationSettings())}function ft(Ne){return Ul(Ne,"/node_modules/@types")}function mt(Ne,kt){if(le(K,kt)){Ne=Jh(Ne)?Co(Ne):oa(Ne,W());const Te=kt.split(hc),pe=Ne.split(hc);return R.assert(pe.length===Te.length,`FailedLookup: ${Ne} failedLookupLocationPath: ${kt}`),Te.length>ge+1?{dir:pe.slice(0,ge+1).join(hc),dirPath:Te.slice(0,ge+1).join(hc)}:{dir:_e,dirPath:K,nonRecursive:!1}}return xr($i(oa(Ne,W())),$i(kt))}function xr(Ne,kt){for(;Tw(kt);)Ne=$i(Ne),kt=$i(kt);if(yB(kt))return c9($i(kt))?{dir:Ne,dirPath:kt}:void 0;let Te=!0,pe,xe;if(K!==void 0)for(;!le(kt,K);){const Y=$i(kt);if(Y===kt)break;Te=!1,pe=kt,xe=Ne,kt=Y,Ne=$i(Ne)}return c9(kt)?{dir:xe||Ne,dirPath:pe||kt,nonRecursive:Te}:void 0}function dr(Ne){return cu(Ne,V)}function rn(Ne,kt,Te,pe){var xe,Y;if(kt.refCount)kt.refCount++,R.assertIsDefined(kt.files);else{kt.refCount=1,R.assert(!((xe=kt.files)!=null&&xe.size)),wu(Ne)?un(kt):d.add(Ne,kt);const Ze=pe(kt);if(Ze&&Ze.resolvedFileName){const ct=e.toPath(Ze.resolvedFileName);let it=k.get(ct);it||k.set(ct,it=new Set),it.add(kt)}}((Y=kt.files)!=null?Y:kt.files=new Set).add(Te)}function un(Ne){R.assert(!!Ne.refCount);const{failedLookupLocations:kt,affectingLocations:Te}=Ne;if(!(kt!=null&&kt.length)&&!(Te!=null&&Te.length))return;kt!=null&&kt.length&&g.add(Ne);let pe=!1;if(kt){for(const xe of kt){const Y=e.toPath(xe),Ze=mt(xe,Y);if(Ze){const{dir:ct,dirPath:it,nonRecursive:Kt}=Ze;if(!dr(Y)){const wr=ve.get(Y)||0;ve.set(Y,wr+1)}it===K?(R.assert(!Kt),pe=!0):ts(ct,it,Kt)}}pe&&ts(_e,K,!0)}Gr(Ne,!(kt!=null&&kt.length))}function Gr(Ne,kt){R.assert(!!Ne.refCount);const{affectingLocations:Te}=Ne;if(Te!=null&&Te.length){kt&&h.add(Ne);for(const pe of Te)mr(pe,!0)}}function mr(Ne,kt){const Te=Ce.get(Ne);if(Te){kt?Te.resolutions++:Te.files++;return}let pe=Ne;if(e.realpath&&(pe=e.realpath(Ne),Ne!==pe)){const ct=Ce.get(pe);if(ct){kt?ct.resolutions++:ct.files++,ct.paths.add(Ne),Ce.set(Ne,ct);return}}const xe=new Set;xe.add(pe);let Y=c9(e.toPath(pe))?e.watchAffectingFileLocation(pe,(ct,it)=>{X==null||X.addOrDeleteFile(ct,e.toPath(pe),it);const Kt=ue.getPackageJsonInfoCache().getInternalMap();xe.forEach(wr=>{Ze.resolutions&&(O??(O=new Set)).add(wr),Ze.files&&(N??(N=new Set)).add(wr),Kt==null||Kt.delete(e.toPath(wr))}),e.scheduleInvalidateResolutionsOfFailedLookupLocations()}):R4;const Ze={watcher:Y!==R4?{close:()=>{Y.close(),Y=R4}}:Y,resolutions:kt?1:0,files:kt?0:1,paths:xe};Ce.set(pe,Ze),Ne!==pe&&(Ce.set(Ne,Ze),xe.add(Ne))}function Fn(Ne,kt){const Te=e.getCurrentProgram();!Te||!Te.getTypeChecker().tryFindAmbientModuleWithoutAugmentations(kt)?Ne.forEach(un):Ne.forEach(pe=>Gr(pe,!0))}function ts(Ne,kt,Te){const pe=fe.get(kt);pe?(R.assert(!!Te==!!pe.nonRecursive),pe.refCount++):fe.set(kt,{watcher:ii(Ne,kt,Te),refCount:1,nonRecursive:Te})}function ws(Ne,kt,Te){if(R.checkDefined(Ne.files).delete(kt),Ne.refCount--,Ne.refCount)return;const pe=Te(Ne);if(pe&&pe.resolvedFileName){const Ze=e.toPath(pe.resolvedFileName),ct=k.get(Ze);ct!=null&&ct.delete(Ne)&&!ct.size&&k.delete(Ze)}const{failedLookupLocations:xe,affectingLocations:Y}=Ne;if(g.delete(Ne)){let Ze=!1;for(const ct of xe){const it=e.toPath(ct),Kt=mt(ct,it);if(Kt){const{dirPath:wr}=Kt,qr=ve.get(it);qr&&(qr===1?ve.delete(it):(R.assert(qr>1),ve.set(it,qr-1))),wr===K?Ze=!0:Es(wr)}}Ze&&Es(K)}else Y!=null&&Y.length&&h.delete(Ne);if(Y)for(const Ze of Y){const ct=Ce.get(Ze);ct.resolutions--}}function Es(Ne){const kt=fe.get(Ne);kt.refCount--}function ii(Ne,kt,Te){return e.watchDirectoryOfFailedLookupLocation(Ne,pe=>{const xe=e.toPath(pe);X&&X.addOrDeleteFileOrDirectory(pe,xe),cs(xe,kt===xe)},Te?0:1)}function Rt(Ne,kt,Te){const pe=Ne.get(kt);pe&&(pe.forEach(xe=>ws(xe,kt,Te)),Ne.delete(kt))}function Rr(Ne){if(!Gl(Ne,".json"))return;const kt=e.getCurrentProgram();if(!kt)return;const Te=kt.getResolvedProjectReferenceByPath(Ne);Te&&Te.commandLine.fileNames.forEach(pe=>rr(e.toPath(pe)))}function rr(Ne){Rt(Z,Ne,we),Rt(ie,Ne,Pe)}function Pr(Ne,kt){if(!Ne)return!1;let Te=!1;return Ne.forEach(pe=>{if(!(pe.isInvalidated||!kt(pe))){pe.isInvalidated=Te=!0;for(const xe of R.checkDefined(pe.files))(l??(l=new Set)).add(xe),w=w||Ul(xe,gz)}}),Te}function Cn(Ne){rr(Ne);const kt=w;Pr(k.get(Ne),nT)&&w&&!kt&&e.onChangedAutomaticTypeDirectiveNames()}function Nn(Ne){R.assert(f===Ne||f===void 0),f=Ne}function cs(Ne,kt){if(kt)(M||(M=new Set)).add(Ne);else{const Te=rse(Ne);if(!Te||(Ne=Te,e.fileIsOpen(Ne)))return!1;const pe=$i(Ne);if(ft(Ne)||yB(Ne)||ft(pe)||yB(pe))(L||(L=new Set)).add(Ne),(U||(U=new Set)).add(Ne);else{if(!dr(Ne)&&!ve.has(Ne)||Qwe(e.getCurrentProgram(),Ne))return!1;(L||(L=new Set)).add(Ne);const xe=Tne(Ne);xe&&(U||(U=new Set)).add(xe)}}e.scheduleInvalidateResolutionsOfFailedLookupLocations()}function qi(){var Ne;let kt=!1;if(N&&((Ne=e.getCurrentProgram())==null||Ne.getSourceFiles().forEach(pe=>{Oe(pe.packageJsonLocations,xe=>N.has(xe))&&((l??(l=new Set)).add(pe.path),kt=!0)}),N=void 0),!L&&!U&&!M&&!O)return kt;kt=Pr(g,en)||kt;const Te=ue.getPackageJsonInfoCache().getInternalMap();return Te&&(L||U||M)&&Te.forEach((pe,xe)=>Tr(xe)?Te.delete(xe):void 0),L=void 0,U=void 0,M=void 0,kt=Pr(h,nn)||kt,O=void 0,kt}function en(Ne){var kt;return nn(Ne)?!0:!L&&!U&&!M?!1:(kt=Ne.failedLookupLocations)==null?void 0:kt.some(Te=>Tr(e.toPath(Te)))}function Tr(Ne){return(L==null?void 0:L.has(Ne))||Ue((U==null?void 0:U.keys())||[],kt=>Qs(Ne,kt)?!0:void 0)||Ue((M==null?void 0:M.keys())||[],kt=>le(kt,Ne)?!0:void 0)}function nn(Ne){var kt;return!!O&&((kt=Ne.affectingLocations)==null?void 0:kt.some(Te=>O.has(Te)))}function Xn(){rd(Se,Yh)}function _i(Ne,kt){if(le(K,kt))return K;const Te=xr(Ne,kt);return Te&&fe.has(Te.dirPath)?Te.dirPath:void 0}function Fe(Ne,kt){return e.watchTypeRootsDirectory(kt,Te=>{const pe=e.toPath(Te);X&&X.addOrDeleteFileOrDirectory(Te,pe),w=!0,e.onChangedAutomaticTypeDirectiveNames();const xe=_i(kt,Ne);xe&&cs(pe,xe===pe)},1)}function Pt(){const Ne=e.getCompilationSettings();if(Ne.types){Xn();return}const kt=BO(Ne,{directoryExists:Ht,getCurrentDirectory:W});kt?Z6(Se,tT(kt,Te=>e.toPath(Te)),{createNewValue:Fe,onDeleteValue:Yh}):Xn()}function Ht(Ne){const kt=$i($i(Ne)),Te=e.toPath(kt);return Te===K||c9(Te)}}function vtt(e){var t,n;return!!((t=e.resolvedModule)!=null&&t.originalPath||(n=e.resolvedTypeReferenceDirective)!=null&&n.originalPath)}var btt=p({"src/compiler/resolutionCache.ts"(){aa(),aa()}});function l9(e,t){const n=e===Bu&&pse?pse:{getCurrentDirectory:()=>e.getCurrentDirectory(),getNewLine:()=>e.newLine,getCanonicalFileName:qu(e.useCaseSensitiveFileNames)};if(!t)return l=>e.write(Pie(l,n));const s=new Array(1);return l=>{s[0]=l,e.write(nEe(s,n)+n.getNewLine()),s[0]=void 0}}function kEe(e,t,n){return e.clearScreen&&!n.preserveWatchOutput&&!n.extendedDiagnostics&&!n.diagnostics&&xt(Ez,t.code)?(e.clearScreen(),!0):!1}function Ttt(e,t){return xt(Ez,e.code)?t+t:t}function u9(e){return e.now?e.now().toLocaleTimeString("en-US",{timeZone:"UTC"}).replace(" "," "):new Date().toLocaleTimeString()}function CEe(e,t){return t?(n,s,l)=>{kEe(e,n,l);let f=`[${$T(u9(e),"\x1B[90m")}] `;f+=`${Av(n.messageText,e.newLine)}${s+s}`,e.write(f)}:(n,s,l)=>{let f="";kEe(e,n,l)||(f+=s),f+=`${u9(e)} - `,f+=`${Av(n.messageText,e.newLine)}${Ttt(n,s)}`,e.write(f)}}function Stt(e,t,n,s,l,f){const d=l;d.onUnRecoverableConfigFileDiagnostic=h=>IEe(l,f,h);const g=TO(e,t,d,n,s);return d.onUnRecoverableConfigFileDiagnostic=void 0,g}function Sz(e){return An(e,t=>t.category===1)}function xz(e){return hr(e,n=>n.category===1).map(n=>{if(n.file!==void 0)return`${n.file.fileName}`}).map(n=>{if(n===void 0)return;const s=He(e,l=>l.file!==void 0&&l.file.fileName===n);if(s!==void 0){const{line:l}=zc(s.file,s.start);return{fileName:n,line:l+1}}})}function nse(e){return e===1?v.Found_1_error_Watching_for_file_changes:v.Found_0_errors_Watching_for_file_changes}function wEe(e,t){const n=$T(":"+e.line,"\x1B[90m");return BA(e.fileName)&&BA(t)?Uh(t,e.fileName,!1)+n:e.fileName+n}function EEe(e,t,n,s){if(e===0)return"";const l=t.filter(k=>k!==void 0),f=l.map(k=>`${k.fileName}:${k.line}`).filter((k,S,w)=>w.indexOf(k)===S),d=l[0]&&wEe(l[0],s.getCurrentDirectory()),g=e===1?gc(t[0]!==void 0?v.Found_1_error_in_1:v.Found_1_error,e,d):gc(f.length===0?v.Found_0_errors:f.length===1?v.Found_0_errors_in_the_same_file_starting_at_Colon_1:v.Found_0_errors_in_1_files,e,f.length===1?d:f.length),h=f.length>1?xtt(l,s):"";return`${n}${Av(g.messageText,n)}${n}${n}${h}`}function xtt(e,t){const n=e.filter((w,N,O)=>N===O.findIndex(L=>(L==null?void 0:L.fileName)===(w==null?void 0:w.fileName)));if(n.length===0)return"";const s=w=>Math.log(w)*Math.LOG10E+1,l=n.map(w=>[w,An(e,N=>N.fileName===w.fileName)]),f=l.reduce((w,N)=>Math.max(w,N[1]||0),0),d=v.Errors_Files.message,g=d.split(" ")[0].length,h=Math.max(g,s(f)),k=Math.max(s(f)-g,0);let S="";return S+=" ".repeat(k)+d+`
`,l.forEach(w=>{const[N,O]=w,L=Math.log(O)*Math.LOG10E+1|0,U=L<h?" ".repeat(h-L):"",M=wEe(N,t.getCurrentDirectory());S+=`${U}${O} ${M}
`}),S}function AEe(e){return!!e.getState}function ise(e,t){const n=e.getCompilerOptions();n.explainFiles?PEe(AEe(e)?e.getProgram():e,t):(n.listFiles||n.listFilesOnly)&&Q(e.getSourceFiles(),s=>{t(s.fileName)})}function PEe(e,t){var n,s;const l=e.getFileIncludeReasons(),f=d=>jA(d,e.getCurrentDirectory(),e.getCanonicalFileName);for(const d of e.getSourceFiles())t(`${kw(d,f)}`),(n=l.get(d.path))==null||n.forEach(g=>t(` ${cse(e,g,f).messageText}`)),(s=sse(d,f))==null||s.forEach(g=>t(` ${g.messageText}`))}function sse(e,t){var n;let s;if(e.path!==e.resolvedPath&&(s??(s=[])).push(sa(void 0,v.File_is_output_of_project_reference_source_0,kw(e.originalFileName,t))),e.redirectInfo&&(s??(s=[])).push(sa(void 0,v.File_redirects_to_file_0,kw(e.redirectInfo.redirectTarget,t))),lp(e))switch(e.impliedNodeFormat){case 99:e.packageJsonScope&&(s??(s=[])).push(sa(void 0,v.File_is_ECMAScript_module_because_0_has_field_type_with_value_module,kw(ko(e.packageJsonLocations),t)));break;case 1:e.packageJsonScope?(s??(s=[])).push(sa(void 0,e.packageJsonScope.contents.packageJsonContent.type?v.File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module:v.File_is_CommonJS_module_because_0_does_not_have_field_type,kw(ko(e.packageJsonLocations),t))):(n=e.packageJsonLocations)!=null&&n.length&&(s??(s=[])).push(sa(void 0,v.File_is_CommonJS_module_because_package_json_was_not_found));break}return s}function ase(e,t){var n;const s=e.getCompilerOptions().configFile;if(!((n=s==null?void 0:s.configFileSpecs)!=null&&n.validatedFilesSpec))return;const l=e.getCanonicalFileName(t),f=$i(oa(s.fileName,e.getCurrentDirectory()));return He(s.configFileSpecs.validatedFilesSpec,d=>e.getCanonicalFileName(oa(d,f))===l)}function ose(e,t){var n,s;const l=e.getCompilerOptions().configFile;if(!((n=l==null?void 0:l.configFileSpecs)!=null&&n.validatedIncludeSpecs))return;if(l.configFileSpecs.isDefaultIncludeSpec)return!0;const f=Gl(t,".json"),d=$i(oa(l.fileName,e.getCurrentDirectory())),g=e.useCaseSensitiveFileNames();return He((s=l==null?void 0:l.configFileSpecs)==null?void 0:s.validatedIncludeSpecs,h=>{if(f&&!Ul(h,".json"))return!1;const k=tte(h,d,"files");return!!k&&vv(`(${k})$`,g).test(t)})}function cse(e,t,n){var s,l;const f=e.getCompilerOptions();if(Yb(t)){const d=ID(k=>e.getSourceFileByPath(k),t),g=M4(d)?d.file.text.substring(d.pos,d.end):`"${d.text}"`;let h;switch(R.assert(M4(d)||t.kind===3,"Only synthetic references are imports"),t.kind){case 3:M4(d)?h=d.packageId?v.Imported_via_0_from_file_1_with_packageId_2:v.Imported_via_0_from_file_1:d.text===qb?h=d.packageId?v.Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:v.Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:h=d.packageId?v.Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:v.Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions;break;case 4:R.assert(!d.packageId),h=v.Referenced_via_0_from_file_1;break;case 5:h=d.packageId?v.Type_library_referenced_via_0_from_file_1_with_packageId_2:v.Type_library_referenced_via_0_from_file_1;break;case 7:R.assert(!d.packageId),h=v.Library_referenced_via_0_from_file_1;break;default:R.assertNever(t)}return sa(void 0,h,g,kw(d.file,n),d.packageId&&gx(d.packageId))}switch(t.kind){case 0:if(!((s=f.configFile)!=null&&s.configFileSpecs))return sa(void 0,v.Root_file_specified_for_compilation);const d=oa(e.getRootFileNames()[t.index],e.getCurrentDirectory());if(ase(e,d))return sa(void 0,v.Part_of_files_list_in_tsconfig_json);const h=ose(e,d);return ha(h)?sa(void 0,v.Matched_by_include_pattern_0_in_1,h,kw(f.configFile,n)):sa(void 0,h?v.Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:v.Root_file_specified_for_compilation);case 1:case 2:const k=t.kind===2,S=R.checkDefined((l=e.getResolvedProjectReferences())==null?void 0:l[t.index]);return sa(void 0,Ec(f)?k?v.Output_from_referenced_project_0_included_because_1_specified:v.Source_from_referenced_project_0_included_because_1_specified:k?v.Output_from_referenced_project_0_included_because_module_is_specified_as_none:v.Source_from_referenced_project_0_included_because_module_is_specified_as_none,kw(S.sourceFile.fileName,n),f.outFile?"--outFile":"--out");case 8:return sa(void 0,f.types?t.packageId?v.Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:v.Entry_point_of_type_library_0_specified_in_compilerOptions:t.packageId?v.Entry_point_for_implicit_type_library_0_with_packageId_1:v.Entry_point_for_implicit_type_library_0,t.typeReference,t.packageId&&gx(t.packageId));case 6:if(t.index!==void 0)return sa(void 0,v.Library_0_specified_in_compilerOptions,f.lib[t.index]);const w=cp(LO.type,(N,O)=>N===Io(f)?O:void 0);return sa(void 0,w?v.Default_library_for_target_0:v.Default_library,w);default:R.assertNever(t)}}function kw(e,t){const n=ha(e)?e:e.fileName;return t?t(n):n}function kz(e,t,n,s,l,f,d,g){const h=!!e.getCompilerOptions().listFilesOnly,k=e.getConfigFileParsingDiagnostics().slice(),S=k.length;Oi(k,e.getSyntacticDiagnostics(void 0,f)),k.length===S&&(Oi(k,e.getOptionsDiagnostics(f)),h||(Oi(k,e.getGlobalDiagnostics(f)),k.length===S&&Oi(k,e.getSemanticDiagnostics(void 0,f))));const w=h?{emitSkipped:!0,diagnostics:pt}:e.emit(void 0,l,f,d,g),{emittedFiles:N,diagnostics:O}=w;Oi(k,O);const L=g6(k);if(L.forEach(t),n){const U=e.getCurrentDirectory();Q(N,M=>{const W=oa(M,U);n(`TSFILE: ${W}`)}),ise(e,n)}return s&&s(Sz(L),xz(L)),{emitResult:w,diagnostics:L}}function DEe(e,t,n,s,l,f,d,g){const{emitResult:h,diagnostics:k}=kz(e,t,n,s,l,f,d,g);return h.emitSkipped&&k.length>0?1:k.length>0?2:0}function lse(e=Bu,t){return{onWatchStatusChange:t||CEe(e),watchFile:ho(e,e.watchFile)||f9,watchDirectory:ho(e,e.watchDirectory)||f9,setTimeout:ho(e,e.setTimeout)||La,clearTimeout:ho(e,e.clearTimeout)||La}}function use(e,t){const n=e.trace?t.extendedDiagnostics?2:t.diagnostics?1:0:0,s=n!==0?f=>e.trace(f):La,l=Ywe(e,n,s);return l.writeLog=s,l}function fse(e,t,n=e){const s=e.useCaseSensitiveFileNames(),l={getSourceFile:wie((f,d)=>d?e.readFile(f,d):l.readFile(f),t,void 0),getDefaultLibLocation:ho(e,e.getDefaultLibLocation),getDefaultLibFileName:f=>e.getDefaultLibFileName(f),writeFile:Eie((f,d,g)=>e.writeFile(f,d,g),f=>e.createDirectory(f),f=>e.directoryExists(f)),getCurrentDirectory:h_(()=>e.getCurrentDirectory()),useCaseSensitiveFileNames:()=>s,getCanonicalFileName:qu(s),getNewLine:()=>Vb(t()),fileExists:f=>e.fileExists(f),readFile:f=>e.readFile(f),trace:ho(e,e.trace),directoryExists:ho(n,n.directoryExists),getDirectories:ho(n,n.getDirectories),realpath:ho(e,e.realpath),getEnvironmentVariable:ho(e,e.getEnvironmentVariable)||(()=>""),createHash:ho(e,e.createHash),readDirectory:ho(e,e.readDirectory),storeFilesChangingSignatureDuringEmit:e.storeFilesChangingSignatureDuringEmit};return l}function Cz(e,t){if(t.match(Gne)){let n=t.length,s=n;for(let l=n-1;l>=0;l--){const f=t.charCodeAt(l);switch(f){case 10:l&&t.charCodeAt(l-1)===13&&l--;case 13:break;default:if(f<127||!af(f)){s=l;continue}break}const d=t.substring(s,n);if(d.match(WU)){t=t.substring(0,s);break}else if(!d.match(HU))break;n=s}}return(e.createHash||GI)(t)}function wz(e){const t=e.getSourceFile;e.getSourceFile=(...n)=>{const s=t.call(e,...n);return s&&(s.version=Cz(e,s.text)),s}}function _se(e,t){const n=h_(()=>$i(Co(e.getExecutingFilePath())));return{useCaseSensitiveFileNames:()=>e.useCaseSensitiveFileNames,getNewLine:()=>e.newLine,getCurrentDirectory:h_(()=>e.getCurrentDirectory()),getDefaultLibLocation:n,getDefaultLibFileName:s=>_s(n(),kB(s)),fileExists:s=>e.fileExists(s),readFile:(s,l)=>e.readFile(s,l),directoryExists:s=>e.directoryExists(s),getDirectories:s=>e.getDirectories(s),readDirectory:(s,l,f,d,g)=>e.readDirectory(s,l,f,d,g),realpath:ho(e,e.realpath),getEnvironmentVariable:ho(e,e.getEnvironmentVariable),trace:s=>e.write(s+e.newLine),createDirectory:s=>e.createDirectory(s),writeFile:(s,l,f)=>e.writeFile(s,l,f),createHash:ho(e,e.createHash),createProgram:t||tse,storeFilesChangingSignatureDuringEmit:e.storeFilesChangingSignatureDuringEmit,now:ho(e,e.now)}}function NEe(e=Bu,t,n,s){const l=d=>e.write(d+e.newLine),f=_se(e,t);return dY(f,lse(e,s)),f.afterProgramCreate=d=>{const g=d.getCompilerOptions(),h=Vb(g);kz(d,n,l,k=>f.onWatchStatusChange(gc(nse(k),k),h,g,k))},f}function IEe(e,t,n){t(n),e.exit(1)}function OEe({configFileName:e,optionsToExtend:t,watchOptionsToExtend:n,extraFileExtensions:s,system:l,createProgram:f,reportDiagnostic:d,reportWatchStatus:g}){const h=d||l9(l),k=NEe(l,f,h,g);return k.onUnRecoverableConfigFileDiagnostic=S=>IEe(l,h,S),k.configFileName=e,k.optionsToExtend=t,k.watchOptionsToExtend=n,k.extraFileExtensions=s,k}function LEe({rootFiles:e,options:t,watchOptions:n,projectReferences:s,system:l,createProgram:f,reportDiagnostic:d,reportWatchStatus:g}){const h=NEe(l,f,d||l9(l),g);return h.rootFiles=e,h.options=t,h.watchOptions=n,h.projectReferences=s,h}function ktt(e){const t=e.system||Bu,n=e.host||(e.host=dse(e.options,t)),s=MEe(e),l=DEe(s,e.reportDiagnostic||l9(t),f=>n.trace&&n.trace(f),e.reportErrorSummary||e.options.pretty?(f,d)=>t.write(EEe(f,d,t.newLine,n)):void 0);return e.afterProgramEmitAndDiagnostics&&e.afterProgramEmitAndDiagnostics(s),l}var pse,Ez,R4,f9,xd,Ctt=p({"src/compiler/watch.ts"(){aa(),pse=Bu?{getCurrentDirectory:()=>Bu.getCurrentDirectory(),getNewLine:()=>Bu.newLine,getCanonicalFileName:qu(Bu.useCaseSensitiveFileNames)}:void 0,Ez=[v.Starting_compilation_in_watch_mode.code,v.File_change_detected_Starting_incremental_compilation.code],R4={close:La},f9=()=>R4,xd={ConfigFile:"Config file",ExtendedConfigFile:"Extended config file",SourceFile:"Source file",MissingFile:"Missing file",WildcardDirectory:"Wild card directory",FailedLookupLocations:"Failed Lookup Locations",AffectingFileLocation:"File location affecting resolution",TypeRoots:"Type roots",ConfigFileOfReferencedProject:"Config file of referened project",ExtendedConfigOfReferencedProject:"Extended config file of referenced project",WildcardDirectoryOfReferencedProject:"Wild card directory of referenced project",PackageJson:"package.json file",ClosedScriptInfo:"Closed Script info",ConfigFileForInferredRoot:"Config file for the inferred project root",NodeModules:"node_modules for closed script infos and package.jsons affecting module specifier cache",MissingSourceMapFile:"Missing source map file",NoopConfigFileForInferredRoot:"Noop Config file for the inferred project root",MissingGeneratedFile:"Missing generated file",NodeModulesForModuleSpecifierCache:"node_modules for module specifier cache invalidation"}}});function Az(e,t){const n=c1(e);if(!n)return;let s;if(t.getBuildInfo)s=t.getBuildInfo(n,e.configFilePath);else{const l=t.readFile(n);if(!l)return;s=nz(n,l)}if(!(!s||s.version!==I||!s.program))return SEe(s,n,t)}function dse(e,t=Bu){const n=Aie(e,void 0,t);return n.createHash=ho(t,t.createHash),n.storeFilesChangingSignatureDuringEmit=t.storeFilesChangingSignatureDuringEmit,wz(n),n9(n,s=>wc(s,n.getCurrentDirectory(),n.getCanonicalFileName)),n}function MEe({rootNames:e,options:t,configFileParsingDiagnostics:n,projectReferences:s,host:l,createProgram:f}){l=l||dse(t),f=f||tse;const d=Az(t,l);return f(e,t,l,d,n,s)}function wtt(e,t,n,s,l,f,d,g){return pa(e)?LEe({rootFiles:e,options:t,watchOptions:g,projectReferences:d,system:n,createProgram:s,reportDiagnostic:l,reportWatchStatus:f}):OEe({configFileName:e,optionsToExtend:t,watchOptionsToExtend:d,extraFileExtensions:g,system:n,createProgram:s,reportDiagnostic:l,reportWatchStatus:f})}function Ett(e){let t,n,s,l,f,d,g,h,k=e.extendedConfigCache,S=!1;const w=new Map;let N,O=!1;const L=e.useCaseSensitiveFileNames(),U=e.getCurrentDirectory(),{configFileName:M,optionsToExtend:W={},watchOptionsToExtend:X,extraFileExtensions:Z,createProgram:ue}=e;let{rootFiles:ie,options:se,watchOptions:V,projectReferences:ve}=e,fe,Ce,_e=!1,K=!1;const ge=M===void 0?void 0:Hwe(e,U,L),Se=ge||e,we=pz(e,Se);let Pe=xr();M&&e.configFileParsingResult&&(nn(e.configFileParsingResult),Pe=xr()),Es(v.Starting_compilation_in_watch_mode),M&&!e.configFileParsingResult&&(Pe=Vb(W),R.assert(!ie),Tr(),Pe=xr()),R.assert(se),R.assert(ie);const{watchFile:le,watchDirectory:ot,writeLog:Qe}=use(e,se),Ge=qu(L);Qe(`Current directory: ${U} CaseSensitiveFileNames: ${L}`);let tt;M&&(tt=le(M,Cn,2e3,V,xd.ConfigFile));const Je=fse(e,()=>se,Se);wz(Je);const qe=Je.getSourceFile;Je.getSourceFile=(ct,...it)=>mr(ct,dr(ct),...it),Je.getSourceFileByPath=mr,Je.getNewLine=()=>Pe,Je.fileExists=Gr,Je.onReleaseOldSourceFile=ws,Je.onReleaseParsedCommandLine=Fe,Je.toPath=dr,Je.getCompilationSettings=()=>se,Je.useSourceOfProjectReferenceRedirect=ho(e,e.useSourceOfProjectReferenceRedirect),Je.watchDirectoryOfFailedLookupLocation=(ct,it,Kt)=>ot(ct,it,Kt,V,xd.FailedLookupLocations),Je.watchAffectingFileLocation=(ct,it)=>le(ct,it,2e3,V,xd.AffectingFileLocation),Je.watchTypeRootsDirectory=(ct,it,Kt)=>ot(ct,it,Kt,V,xd.TypeRoots),Je.getCachedDirectoryStructureHost=()=>ge,Je.scheduleInvalidateResolutionsOfFailedLookupLocations=Rr,Je.onInvalidatedResolution=Pr,Je.onChangedAutomaticTypeDirectiveNames=Pr,Je.fileIsOpen=rT,Je.getCurrentProgram=It,Je.writeLog=Qe,Je.getParsedCommandLine=Xn;const st=xEe(Je,M?$i(oa(M,U)):U,!1);Je.resolveModuleNameLiterals=ho(e,e.resolveModuleNameLiterals),Je.resolveModuleNames=ho(e,e.resolveModuleNames),!Je.resolveModuleNameLiterals&&!Je.resolveModuleNames&&(Je.resolveModuleNameLiterals=st.resolveModuleNameLiterals.bind(st)),Je.resolveTypeReferenceDirectiveReferences=ho(e,e.resolveTypeReferenceDirectiveReferences),Je.resolveTypeReferenceDirectives=ho(e,e.resolveTypeReferenceDirectives),!Je.resolveTypeReferenceDirectiveReferences&&!Je.resolveTypeReferenceDirectives&&(Je.resolveTypeReferenceDirectiveReferences=st.resolveTypeReferenceDirectiveReferences.bind(st)),Je.getModuleResolutionCache=e.resolveModuleNameLiterals||e.resolveModuleNames?ho(e,e.getModuleResolutionCache):()=>st.getModuleResolutionCache();const We=!!e.resolveModuleNameLiterals||!!e.resolveTypeReferenceDirectiveReferences||!!e.resolveModuleNames||!!e.resolveTypeReferenceDirectives?ho(e,e.hasInvalidatedResolutions)||nT:rT;return t=Az(se,Je),er(),pe(),M&&Y(dr(M),se,V,xd.ExtendedConfigFile),M?{getCurrentProgram:jt,getProgram:cs,close:gt}:{getCurrentProgram:jt,getProgram:cs,updateRootFileNames:mt,close:gt};function gt(){Rt(),st.clear(),rd(w,ct=>{ct&&ct.fileWatcher&&(ct.fileWatcher.close(),ct.fileWatcher=void 0)}),tt&&(tt.close(),tt=void 0),k==null||k.clear(),k=void 0,h&&(rd(h,ag),h=void 0),l&&(rd(l,ag),l=void 0),s&&(rd(s,Yh),s=void 0),g&&(rd(g,ct=>{var it;(it=ct.watcher)==null||it.close(),ct.watcher=void 0,ct.watchedDirectories&&rd(ct.watchedDirectories,ag),ct.watchedDirectories=void 0}),g=void 0)}function jt(){return t}function It(){return t&&t.getProgramOrUndefined()}function er(){Qe("Synchronizing program"),R.assert(se),R.assert(ie),Rt();const ct=jt();O&&(Pe=xr(),ct&&wK(ct.getCompilerOptions(),se)&&st.clear());const it=st.createHasInvalidatedResolutions(We),{originalReadFile:Kt,originalFileExists:wr,originalDirectoryExists:qr,originalCreateDirectory:qn,originalWriteFile:ye,readFileWithCache:wt}=n9(Je,dr);return Mie(It(),ie,se,nr=>ts(nr,wt),nr=>Je.fileExists(nr),it,ii,Xn,ve)?K&&(S&&Es(v.File_change_detected_Starting_incremental_compilation),t=ue(void 0,void 0,Je,t,Ce,ve),K=!1):(S&&Es(v.File_change_detected_Starting_incremental_compilation),ft(it)),S=!1,e.afterProgramCreate&&ct!==t&&e.afterProgramCreate(t),Je.readFile=Kt,Je.fileExists=wr,Je.directoryExists=qr,Je.createDirectory=qn,Je.writeFile=ye,t}function ft(ct){Qe("CreatingProgramWith::"),Qe(` roots: ${JSON.stringify(ie)}`),Qe(` options: ${JSON.stringify(se)}`),ve&&Qe(` projectReferences: ${JSON.stringify(ve)}`);const it=O||!It();O=!1,K=!1,st.startCachingPerDirectoryResolution(),Je.hasInvalidatedResolutions=ct,Je.hasChangedAutomaticTypeDirectiveNames=ii;const Kt=It();if(t=ue(ie,se,Je,t,Ce,ve),st.finishCachingPerDirectoryResolution(t.getProgram(),Kt),Xwe(t.getProgram(),s||(s=new Map),kt),it&&st.updateTypeRootsWatch(),N){for(const wr of N)s.has(wr)||w.delete(wr);N=void 0}}function mt(ct){R.assert(!M,"Cannot update root file names with config file watch mode"),ie=ct,Pr()}function xr(){return Vb(se||W)}function dr(ct){return wc(ct,U,Ge)}function rn(ct){return typeof ct=="boolean"}function un(ct){return typeof ct.version=="boolean"}function Gr(ct){const it=dr(ct);return rn(w.get(it))?!1:Se.fileExists(ct)}function mr(ct,it,Kt,wr,qr){const qn=w.get(it);if(!rn(qn)){if(qn===void 0||qr||un(qn)){const ye=qe(ct,Kt,wr);if(qn)ye?(qn.sourceFile=ye,qn.version=ye.version,qn.fileWatcher||(qn.fileWatcher=Pt(it,ct,Ht,250,V,xd.SourceFile))):(qn.fileWatcher&&qn.fileWatcher.close(),w.set(it,!1));else if(ye){const wt=Pt(it,ct,Ht,250,V,xd.SourceFile);w.set(it,{sourceFile:ye,version:ye.version,fileWatcher:wt})}else w.set(it,!1);return ye}return qn.sourceFile}}function Fn(ct){const it=w.get(ct);it!==void 0&&(rn(it)?w.set(ct,{version:!1}):it.version=!1)}function ts(ct,it){const Kt=w.get(ct);if(!Kt)return;if(Kt.version)return Kt.version;const wr=it(ct);return wr!==void 0?Cz(Je,wr):void 0}function ws(ct,it,Kt){const wr=w.get(ct.resolvedPath);wr!==void 0&&(rn(wr)?(N||(N=[])).push(ct.path):wr.sourceFile===ct&&(wr.fileWatcher&&wr.fileWatcher.close(),w.delete(ct.resolvedPath),Kt||st.removeResolutionsOfFile(ct.path)))}function Es(ct){e.onWatchStatusChange&&e.onWatchStatusChange(gc(ct),Pe,se||W)}function ii(){return st.hasChangedAutomaticTypeDirectiveNames()}function Rt(){return d?(e.clearTimeout(d),d=void 0,!0):!1}function Rr(){if(!e.setTimeout||!e.clearTimeout)return st.invalidateResolutionsOfFailedLookupLocations();const ct=Rt();Qe(`Scheduling invalidateFailedLookup${ct?", Cancelled earlier one":""}`),d=e.setTimeout(rr,250)}function rr(){d=void 0,st.invalidateResolutionsOfFailedLookupLocations()&&Pr()}function Pr(){!e.setTimeout||!e.clearTimeout||(f&&e.clearTimeout(f),Qe("Scheduling update"),f=e.setTimeout(Nn,250))}function Cn(){R.assert(!!M),n=2,Pr()}function Nn(){f=void 0,S=!0,cs()}function cs(){switch(n){case 1:Qm.logStartUpdateProgram("PartialConfigReload"),qi();break;case 2:Qm.logStartUpdateProgram("FullConfigReload"),en();break;default:Qm.logStartUpdateProgram("SynchronizeProgram"),er();break}return Qm.logStopUpdateProgram("Done"),jt()}function qi(){Qe("Reloading new file names and options"),R.assert(se),R.assert(M),n=0,ie=AO(se.configFile.configFileSpecs,oa($i(M),U),se,we,Z),Zre(ie,oa(M,U),se.configFile.configFileSpecs,Ce,_e)&&(K=!0),er()}function en(){R.assert(M),Qe(`Reloading config file: ${M}`),n=0,ge&&ge.clearCache(),Tr(),O=!0,er(),pe(),Y(dr(M),se,V,xd.ExtendedConfigFile)}function Tr(){R.assert(M),nn(TO(M,W,we,k||(k=new Map),X,Z))}function nn(ct){ie=ct.fileNames,se=ct.options,V=ct.watchOptions,ve=ct.projectReferences,fe=ct.wildcardDirectories,Ce=Xx(ct).slice(),_e=wO(ct.raw),K=!0}function Xn(ct){const it=dr(ct);let Kt=g==null?void 0:g.get(it);if(Kt){if(!Kt.reloadLevel)return Kt.parsedCommandLine;if(Kt.parsedCommandLine&&Kt.reloadLevel===1&&!e.getParsedCommandLine){Qe("Reloading new file names and options"),R.assert(se);const qr=AO(Kt.parsedCommandLine.options.configFile.configFileSpecs,oa($i(ct),U),se,we);return Kt.parsedCommandLine={...Kt.parsedCommandLine,fileNames:qr},Kt.reloadLevel=void 0,Kt.parsedCommandLine}}Qe(`Loading config file: ${ct}`);const wr=e.getParsedCommandLine?e.getParsedCommandLine(ct):_i(ct);return Kt?(Kt.parsedCommandLine=wr,Kt.reloadLevel=void 0):(g||(g=new Map)).set(it,Kt={parsedCommandLine:wr}),Ze(ct,it,Kt),wr}function _i(ct){const it=we.onUnRecoverableConfigFileDiagnostic;we.onUnRecoverableConfigFileDiagnostic=La;const Kt=TO(ct,void 0,we,k||(k=new Map),X);return we.onUnRecoverableConfigFileDiagnostic=it,Kt}function Fe(ct){var it;const Kt=dr(ct),wr=g==null?void 0:g.get(Kt);wr&&(g.delete(Kt),wr.watchedDirectories&&rd(wr.watchedDirectories,ag),(it=wr.watcher)==null||it.close(),Gwe(Kt,h))}function Pt(ct,it,Kt,wr,qr,qn){return le(it,(ye,wt)=>Kt(ye,wt,ct),wr,qr,qn)}function Ht(ct,it,Kt){Ne(ct,Kt,it),it===2&&w.has(Kt)&&st.invalidateResolutionOfFile(Kt),Fn(Kt),Pr()}function Ne(ct,it,Kt){ge&&ge.addOrDeleteFile(ct,it,Kt)}function kt(ct){return g!=null&&g.has(ct)?R4:Pt(ct,ct,Te,500,V,xd.MissingFile)}function Te(ct,it,Kt){Ne(ct,Kt,it),it===0&&s.has(Kt)&&(s.get(Kt).close(),s.delete(Kt),Fn(Kt),Pr())}function pe(){fe?sz(l||(l=new Map),new Map(Object.entries(fe)),xe):l&&rd(l,ag)}function xe(ct,it){return ot(ct,Kt=>{R.assert(M),R.assert(se);const wr=dr(Kt);ge&&ge.addOrDeleteFileOrDirectory(Kt,wr),Fn(wr),!az({watchedDirPath:dr(ct),fileOrDirectory:Kt,fileOrDirectoryPath:wr,configFileName:M,extraFileExtensions:Z,options:se,program:jt()||ie,currentDirectory:U,useCaseSensitiveFileNames:L,writeLog:Qe,toPath:dr})&&n!==2&&(n=1,Pr())},it,V,xd.WildcardDirectory)}function Y(ct,it,Kt,wr){Sie(ct,it,h||(h=new Map),(qr,qn)=>le(qr,(ye,wt)=>{var nr;Ne(qr,qn,wt),k&&xie(k,qn,dr);const dt=(nr=h.get(qn))==null?void 0:nr.projects;dt!=null&&dt.size&&dt.forEach(ne=>{if(M&&dr(M)===ne)n=2;else{const $e=g==null?void 0:g.get(ne);$e&&($e.reloadLevel=2),st.removeResolutionsFromProjectReferenceRedirects(ne)}Pr()})},2e3,Kt,wr),dr)}function Ze(ct,it,Kt){var wr,qr,qn,ye,wt;Kt.watcher||(Kt.watcher=le(ct,(nr,dt)=>{Ne(ct,it,dt);const ne=g==null?void 0:g.get(it);ne&&(ne.reloadLevel=2),st.removeResolutionsFromProjectReferenceRedirects(it),Pr()},2e3,((wr=Kt.parsedCommandLine)==null?void 0:wr.watchOptions)||V,xd.ConfigFileOfReferencedProject)),(qr=Kt.parsedCommandLine)!=null&&qr.wildcardDirectories?sz(Kt.watchedDirectories||(Kt.watchedDirectories=new Map),new Map(Object.entries((qn=Kt.parsedCommandLine)==null?void 0:qn.wildcardDirectories)),(nr,dt)=>{var ne;return ot(nr,$e=>{const ce=dr($e);ge&&ge.addOrDeleteFileOrDirectory($e,ce),Fn(ce);const Be=g==null?void 0:g.get(it);Be!=null&&Be.parsedCommandLine&&(az({watchedDirPath:dr(nr),fileOrDirectory:$e,fileOrDirectoryPath:ce,configFileName:ct,options:Be.parsedCommandLine.options,program:Be.parsedCommandLine.fileNames,currentDirectory:U,useCaseSensitiveFileNames:L,writeLog:Qe,toPath:dr})||Be.reloadLevel!==2&&(Be.reloadLevel=1,Pr()))},dt,((ne=Kt.parsedCommandLine)==null?void 0:ne.watchOptions)||V,xd.WildcardDirectoryOfReferencedProject)}):Kt.watchedDirectories&&(rd(Kt.watchedDirectories,ag),Kt.watchedDirectories=void 0),Y(it,(ye=Kt.parsedCommandLine)==null?void 0:ye.options,((wt=Kt.parsedCommandLine)==null?void 0:wt.watchOptions)||V,xd.ExtendedConfigOfReferencedProject)}}var Att=p({"src/compiler/watchPublic.ts"(){aa(),aa()}});function mse(e){return Gl(e,".json")?e:_s(e,"tsconfig.json")}var hse,Ptt=p({"src/compiler/tsbuild.ts"(){aa(),hse=(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.ErrorReadingFile=5]="ErrorReadingFile",e[e.OutOfDateWithSelf=6]="OutOfDateWithSelf",e[e.OutOfDateWithUpstream=7]="OutOfDateWithUpstream",e[e.OutOfDateBuildInfo=8]="OutOfDateBuildInfo",e[e.OutOfDateOptions=9]="OutOfDateOptions",e[e.OutOfDateRoots=10]="OutOfDateRoots",e[e.UpstreamOutOfDate=11]="UpstreamOutOfDate",e[e.UpstreamBlocked=12]="UpstreamBlocked",e[e.ComputingUpstream=13]="ComputingUpstream",e[e.TsVersionOutputOfDate=14]="TsVersionOutputOfDate",e[e.UpToDateWithInputFileText=15]="UpToDateWithInputFileText",e[e.ContainerOnly=16]="ContainerOnly",e[e.ForceBuild=17]="ForceBuild",e))(hse||{})}});function Dtt(e,t,n){const s=e.get(t);let l;return s||(l=n(),e.set(t,l)),s||l}function gse(e,t){return Dtt(e,t,()=>new Map)}function _9(e){return e.now?e.now():new Date}function Cw(e){return!!e&&!!e.buildOrder}function Pz(e){return Cw(e)?e.buildOrder:e}function FEe(e,t){return n=>{let s=t?`[${$T(u9(e),"\x1B[90m")}] `:`${u9(e)} - `;s+=`${Av(n.messageText,e.newLine)}${e.newLine+e.newLine}`,e.write(s)}}function REe(e,t,n,s){const l=_se(e,t);return l.getModifiedTime=e.getModifiedTime?f=>e.getModifiedTime(f):Pb,l.setModifiedTime=e.setModifiedTime?(f,d)=>e.setModifiedTime(f,d):La,l.deleteFile=e.deleteFile?f=>e.deleteFile(f):La,l.reportDiagnostic=n||l9(e),l.reportSolutionBuilderStatus=s||FEe(e),l.now=ho(e,e.now),l}function Ntt(e=Bu,t,n,s,l){const f=REe(e,t,n,s);return f.reportErrorSummary=l,f}function Itt(e=Bu,t,n,s,l){const f=REe(e,t,n,s),d=lse(e,l);return dY(f,d),f}function Ott(e){const t={};return OO.forEach(n=>{mc(e,n.name)&&(t[n.name]=e[n.name])}),t}function Ltt(e,t,n){return a6e(!1,e,t,n)}function Mtt(e,t,n,s){return a6e(!0,e,t,n,s)}function Ftt(e,t,n,s,l){const f=t,d=t,g=Ott(s),h=fse(f,()=>L.projectCompilerOptions);wz(h),h.getParsedCommandLine=U=>Yx(L,U,Cm(L,U)),h.resolveModuleNameLiterals=ho(f,f.resolveModuleNameLiterals),h.resolveTypeReferenceDirectiveReferences=ho(f,f.resolveTypeReferenceDirectiveReferences),h.resolveModuleNames=ho(f,f.resolveModuleNames),h.resolveTypeReferenceDirectives=ho(f,f.resolveTypeReferenceDirectives),h.getModuleResolutionCache=ho(f,f.getModuleResolutionCache);let k,S;!h.resolveModuleNameLiterals&&!h.resolveModuleNames&&(k=wU(h.getCurrentDirectory(),h.getCanonicalFileName),h.resolveModuleNameLiterals=(U,M,W,X,Z)=>s9(U,M,W,X,Z,f,k,Lie),h.getModuleResolutionCache=()=>k),!h.resolveTypeReferenceDirectiveReferences&&!h.resolveTypeReferenceDirectives&&(S=EU(h.getCurrentDirectory(),h.getCanonicalFileName,void 0,k==null?void 0:k.getPackageJsonInfoCache()),h.resolveTypeReferenceDirectiveReferences=(U,M,W,X,Z)=>s9(U,M,W,X,Z,f,S,lz)),h.getBuildInfo=(U,M)=>YEe(L,U,Cm(L,M),void 0);const{watchFile:w,watchDirectory:N,writeLog:O}=use(d,s),L={host:f,hostWithWatch:d,parseConfigFileHost:pz(f),write:ho(f,f.trace),options:s,baseCompilerOptions:g,rootNames:n,baseWatchOptions:l,resolvedConfigFilePaths:new Map,configFileCache:new Map,projectStatus:new Map,extendedConfigCache:new Map,buildInfoCache:new Map,outputTimeStamps:new Map,builderPrograms:new Map,diagnostics:new Map,projectPendingBuild:new Map,projectErrorsReported:new Map,compilerHost:h,moduleResolutionCache:k,typeReferenceDirectiveResolutionCache:S,buildOrder:void 0,readFileWithCache:U=>f.readFile(U),projectCompilerOptions:g,cache:void 0,allProjectBuildPending:!0,needsSummary:!0,watchAllProjectsPending:e,watch:e,allWatchedWildcardDirectories:new Map,allWatchedInputFiles:new Map,allWatchedConfigFiles:new Map,allWatchedExtendedConfigFiles:new Map,allWatchedPackageJsonFiles:new Map,filesWatched:new Map,lastCachedPackageJsonLookups:new Map,timerToBuildInvalidatedProject:void 0,reportFileChangeDetected:!1,watchFile:w,watchDirectory:N,writeLog:O};return L}function U_(e,t){return wc(t,e.compilerHost.getCurrentDirectory(),e.compilerHost.getCanonicalFileName)}function Cm(e,t){const{resolvedConfigFilePaths:n}=e,s=n.get(t);if(s!==void 0)return s;const l=U_(e,t);return n.set(t,l),l}function BEe(e){return!!e.options}function Rtt(e,t){const n=e.configFileCache.get(t);return n&&BEe(n)?n:void 0}function Yx(e,t,n){const{configFileCache:s}=e,l=s.get(n);if(l)return BEe(l)?l:void 0;Uc("SolutionBuilder::beforeConfigFileParsing");let f;const{parseConfigFileHost:d,baseCompilerOptions:g,baseWatchOptions:h,extendedConfigCache:k,host:S}=e;let w;return S.getParsedCommandLine?(w=S.getParsedCommandLine(t),w||(f=gc(v.File_0_not_found,t))):(d.onUnRecoverableConfigFileDiagnostic=N=>f=N,w=TO(t,g,d,k,h),d.onUnRecoverableConfigFileDiagnostic=La),s.set(n,w||f),Uc("SolutionBuilder::afterConfigFileParsing"),Qp("SolutionBuilder::Config file parsing","SolutionBuilder::beforeConfigFileParsing","SolutionBuilder::afterConfigFileParsing"),w}function B4(e,t){return mse(iv(e.compilerHost.getCurrentDirectory(),t))}function jEe(e,t){const n=new Map,s=new Map,l=[];let f,d;for(const h of t)g(h);return d?{buildOrder:f||pt,circularDiagnostics:d}:f||pt;function g(h,k){const S=Cm(e,h);if(s.has(S))return;if(n.has(S)){k||(d||(d=[])).push(gc(v.Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0,l.join(`\r
`)));return}n.set(S,!0),l.push(h);const w=Yx(e,h,S);if(w&&w.projectReferences)for(const N of w.projectReferences){const O=B4(e,N.path);g(O,k||N.circular)}l.pop(),s.set(S,!0),(f||(f=[])).push(h)}}function p9(e){return e.buildOrder||Btt(e)}function Btt(e){const t=jEe(e,e.rootNames.map(l=>B4(e,l)));e.resolvedConfigFilePaths.clear();const n=new Map(Pz(t).map(l=>[Cm(e,l),!0])),s={onDeleteValue:La};return jy(e.configFileCache,n,s),jy(e.projectStatus,n,s),jy(e.builderPrograms,n,s),jy(e.diagnostics,n,s),jy(e.projectPendingBuild,n,s),jy(e.projectErrorsReported,n,s),jy(e.buildInfoCache,n,s),jy(e.outputTimeStamps,n,s),e.watch&&(jy(e.allWatchedConfigFiles,n,{onDeleteValue:Yh}),e.allWatchedExtendedConfigFiles.forEach(l=>{l.projects.forEach(f=>{n.has(f)||l.projects.delete(f)}),l.close()}),jy(e.allWatchedWildcardDirectories,n,{onDeleteValue:l=>l.forEach(ag)}),jy(e.allWatchedInputFiles,n,{onDeleteValue:l=>l.forEach(Yh)}),jy(e.allWatchedPackageJsonFiles,n,{onDeleteValue:l=>l.forEach(Yh)})),e.buildOrder=t}function JEe(e,t,n){const s=t&&B4(e,t),l=p9(e);if(Cw(l))return l;if(s){const d=Cm(e,s);if(ar(l,h=>Cm(e,h)===d)===-1)return}const f=s?jEe(e,[s]):l;return R.assert(!Cw(f)),R.assert(!n||s!==void 0),R.assert(!n||f[f.length-1]===s),n?f.slice(0,f.length-1):f}function UEe(e){e.cache&&yse(e);const{compilerHost:t,host:n}=e,s=e.readFileWithCache,l=t.getSourceFile,{originalReadFile:f,originalFileExists:d,originalDirectoryExists:g,originalCreateDirectory:h,originalWriteFile:k,getSourceFileWithCache:S,readFileWithCache:w}=n9(n,N=>U_(e,N),(...N)=>l.call(t,...N));e.readFileWithCache=w,t.getSourceFile=S,e.cache={originalReadFile:f,originalFileExists:d,originalDirectoryExists:g,originalCreateDirectory:h,originalWriteFile:k,originalReadFileWithCache:s,originalGetSourceFile:l}}function yse(e){if(!e.cache)return;const{cache:t,host:n,compilerHost:s,extendedConfigCache:l,moduleResolutionCache:f,typeReferenceDirectiveResolutionCache:d}=e;n.readFile=t.originalReadFile,n.fileExists=t.originalFileExists,n.directoryExists=t.originalDirectoryExists,n.createDirectory=t.originalCreateDirectory,n.writeFile=t.originalWriteFile,s.getSourceFile=t.originalGetSourceFile,e.readFileWithCache=t.originalReadFileWithCache,l.clear(),f==null||f.clear(),d==null||d.clear(),e.cache=void 0}function zEe(e,t){e.projectStatus.delete(t),e.diagnostics.delete(t)}function VEe({projectPendingBuild:e},t,n){const s=e.get(t);(s===void 0||s<n)&&e.set(t,n)}function $Ee(e,t){if(!e.allProjectBuildPending)return;e.allProjectBuildPending=!1,e.options.watch&&Dse(e,v.Starting_compilation_in_watch_mode),UEe(e),Pz(p9(e)).forEach(s=>e.projectPendingBuild.set(Cm(e,s),0)),t&&t.throwIfCancellationRequested()}function qEe(e,t){return e.projectPendingBuild.delete(t),e.diagnostics.has(t)?1:0}function jtt(e,t,n,s,l){let f=!0;return{kind:2,project:t,projectPath:n,buildOrder:l,getCompilerOptions:()=>s.options,getCurrentDirectory:()=>e.compilerHost.getCurrentDirectory(),updateOutputFileStatmps:()=>{KEe(e,s,n),f=!1},done:()=>(f&&KEe(e,s,n),Uc("SolutionBuilder::Timestamps only updates"),qEe(e,n))}}function WEe(e,t,n,s,l,f,d){let g=e===0?0:4,h,k,S;return e===0?{kind:e,project:n,projectPath:s,buildOrder:d,getCompilerOptions:()=>f.options,getCurrentDirectory:()=>t.compilerHost.getCurrentDirectory(),getBuilderProgram:()=>N(Zc),getProgram:()=>N(V=>V.getProgramOrUndefined()),getSourceFile:V=>N(ve=>ve.getSourceFile(V)),getSourceFiles:()=>O(V=>V.getSourceFiles()),getOptionsDiagnostics:V=>O(ve=>ve.getOptionsDiagnostics(V)),getGlobalDiagnostics:V=>O(ve=>ve.getGlobalDiagnostics(V)),getConfigFileParsingDiagnostics:()=>O(V=>V.getConfigFileParsingDiagnostics()),getSyntacticDiagnostics:(V,ve)=>O(fe=>fe.getSyntacticDiagnostics(V,ve)),getAllDependencies:V=>O(ve=>ve.getAllDependencies(V)),getSemanticDiagnostics:(V,ve)=>O(fe=>fe.getSemanticDiagnostics(V,ve)),getSemanticDiagnosticsOfNextAffectedFile:(V,ve)=>N(fe=>fe.getSemanticDiagnosticsOfNextAffectedFile&&fe.getSemanticDiagnosticsOfNextAffectedFile(V,ve)),emit:(V,ve,fe,Ce,_e)=>{if(V||Ce)return N(K=>{var ge,Se;return K.emit(V,ve,fe,Ce,_e||((Se=(ge=t.host).getCustomTransformers)==null?void 0:Se.call(ge,n)))});if(se(2,fe),g===5)return Z(ve,fe);if(g===3)return X(ve,fe,_e)},done:w}:{kind:e,project:n,projectPath:s,buildOrder:d,getCompilerOptions:()=>f.options,getCurrentDirectory:()=>t.compilerHost.getCurrentDirectory(),emit:(V,ve)=>g!==4?S:ie(V,ve),done:w};function w(V,ve,fe){return se(8,V,ve,fe),Uc(e===0?"SolutionBuilder::Projects built":"SolutionBuilder::Bundles updated"),qEe(t,s)}function N(V){return se(0),h&&V(h)}function O(V){return N(V)||pt}function L(){var V,ve;if(R.assert(h===void 0),t.options.dry){Mf(t,v.A_non_dry_build_would_build_project_0,n),k=1,g=7;return}if(t.options.verbose&&Mf(t,v.Building_project_0,n),f.fileNames.length===0){j4(t,s,Xx(f)),k=0,g=7;return}const{host:fe,compilerHost:Ce}=t;t.projectCompilerOptions=f.options,(V=t.moduleResolutionCache)==null||V.update(f.options),(ve=t.typeReferenceDirectiveResolutionCache)==null||ve.update(f.options),h=fe.createProgram(f.fileNames,f.options,Ce,Utt(t,s,f),Xx(f),f.projectReferences),t.watch&&(t.lastCachedPackageJsonLookups.set(s,t.moduleResolutionCache&&qt(t.moduleResolutionCache.getPackageJsonInfoCache().entries(),([_e,K])=>[t.host.realpath&&K?U_(t,t.host.realpath(_e)):_e,K])),t.builderPrograms.set(s,h)),g++}function U(V,ve,fe){V.length?{buildResult:k,step:g}=Tse(t,s,h,f,V,ve,fe):g++}function M(V){R.assertIsDefined(h),U([...h.getConfigFileParsingDiagnostics(),...h.getOptionsDiagnostics(V),...h.getGlobalDiagnostics(V),...h.getSyntacticDiagnostics(void 0,V)],8,"Syntactic")}function W(V){U(R.checkDefined(h).getSemanticDiagnostics(void 0,V),16,"Semantic")}function X(V,ve,fe){var Ce,_e,K;R.assertIsDefined(h),R.assert(g===3);const ge=h.saveEmitState();let Se;const we=gt=>(Se||(Se=[])).push(gt),Pe=[],{emitResult:le}=kz(h,we,void 0,void 0,(gt,jt,It,er,ft,mt)=>Pe.push({name:gt,text:jt,writeByteOrderMark:It,data:mt}),ve,!1,fe||((_e=(Ce=t.host).getCustomTransformers)==null?void 0:_e.call(Ce,n)));if(Se)return h.restoreEmitState(ge),{buildResult:k,step:g}=Tse(t,s,h,f,Se,32,"Declaration file"),{emitSkipped:!0,diagnostics:le.diagnostics};const{host:ot,compilerHost:Qe}=t,Ge=(K=h.hasChangedEmitSignature)!=null&&K.call(h)?0:2,tt=H6(),Je=new Map,qe=h.getCompilerOptions(),st=x5(qe);let Ke,We;return Pe.forEach(({name:gt,text:jt,writeByteOrderMark:It,data:er})=>{const ft=U_(t,gt);Je.set(U_(t,gt),gt),er!=null&&er.buildInfo&&xse(t,er.buildInfo,s,qe,Ge);const mt=er!=null&&er.differsOnlyInMap?CC(t.host,gt):void 0;TP(V?{writeFile:V}:Qe,tt,gt,jt,It),er!=null&&er.differsOnlyInMap?t.host.setModifiedTime(gt,mt):!st&&t.watch&&(Ke||(Ke=Sse(t,s))).set(ft,We||(We=_9(t.host)))}),ue(tt,Je,Pe.length?Pe[0].name:yie(f,!ot.useCaseSensitiveFileNames()),Ge),le}function Z(V,ve){R.assertIsDefined(h),R.assert(g===5);const fe=h.emitBuildInfo((Ce,_e,K,ge,Se,we)=>{we!=null&&we.buildInfo&&xse(t,we.buildInfo,s,h.getCompilerOptions(),2),V?V(Ce,_e,K,ge,Se,we):t.compilerHost.writeFile(Ce,_e,K,ge,Se,we)},ve);return fe.diagnostics.length&&(m9(t,fe.diagnostics),t.diagnostics.set(s,[...t.diagnostics.get(s),...fe.diagnostics]),k=64&k),fe.emittedFiles&&t.write&&fe.emittedFiles.forEach(Ce=>XEe(t,f,Ce)),bse(t,h,f),g=7,fe}function ue(V,ve,fe,Ce){const _e=V.getDiagnostics();return _e.length?({buildResult:k,step:g}=Tse(t,s,h,f,_e,64,"Emit"),_e):(t.write&&ve.forEach(K=>XEe(t,f,K)),ZEe(t,f,s,v.Updating_unchanged_output_timestamps_of_project_0,ve),t.diagnostics.delete(s),t.projectStatus.set(s,{type:1,oldestOutputFileName:fe}),bse(t,h,f),g=7,k=Ce,_e)}function ie(V,ve){var fe,Ce,_e,K;if(R.assert(e===1),t.options.dry){Mf(t,v.A_non_dry_build_would_update_output_of_project_0,n),k=1,g=7;return}t.options.verbose&&Mf(t,v.Updating_output_of_project_0,n);const{compilerHost:ge}=t;t.projectCompilerOptions=f.options,(Ce=(fe=t.host).beforeEmitBundle)==null||Ce.call(fe,f);const Se=Wwe(f,ge,Ge=>{const tt=B4(t,Ge.path);return Yx(t,tt,Cm(t,tt))},ve||((K=(_e=t.host).getCustomTransformers)==null?void 0:K.call(_e,n)));if(ha(Se))return Mf(t,v.Cannot_update_output_of_project_0_because_there_was_error_reading_file_1,n,bu(t,Se)),g=6,S=WEe(0,t,n,s,l,f,d);R.assert(!!Se.length);const we=H6(),Pe=new Map;let le=2;const ot=t.buildInfoCache.get(s).buildInfo||void 0;return Se.forEach(({name:Ge,text:tt,writeByteOrderMark:Je,data:qe})=>{var st,Ke;Pe.set(U_(t,Ge),Ge),qe!=null&&qe.buildInfo&&(((st=qe.buildInfo.program)==null?void 0:st.outSignature)!==((Ke=ot==null?void 0:ot.program)==null?void 0:Ke.outSignature)&&(le&=-3),xse(t,qe.buildInfo,s,f.options,le)),TP(V?{writeFile:V}:ge,we,Ge,tt,Je)}),{emitSkipped:!1,diagnostics:ue(we,Pe,Se[0].name,le)}}function se(V,ve,fe,Ce){for(;g<=V&&g<8;){const _e=g;switch(g){case 0:L();break;case 1:M(ve);break;case 2:W(ve);break;case 3:X(fe,ve,Ce);break;case 5:Z(fe,ve);break;case 4:ie(fe,Ce);break;case 6:R.checkDefined(S).done(ve,fe,Ce),g=8;break;case 7:qtt(t,n,s,l,f,d,R.checkDefined(k)),g++;break}R.assert(g>_e)}}}function Jtt({options:e},t,n){return t.type!==3||e.force?!0:n.fileNames.length===0||!!Xx(n).length||!x5(n.options)}function HEe(e,t,n){if(!e.projectPendingBuild.size||Cw(t))return;const{options:s,projectPendingBuild:l}=e;for(let f=0;f<t.length;f++){const d=t[f],g=Cm(e,d),h=e.projectPendingBuild.get(g);if(h===void 0)continue;n&&(n=!1,l6e(e,t));const k=Yx(e,d,g);if(!k){o6e(e,g),l.delete(g);continue}h===2?(n6e(e,d,g,k),i6e(e,g,k),s6e(e,d,g,k),Ase(e,d,g,k),Pse(e,d,g,k)):h===1&&(k.fileNames=AO(k.options.configFile.configFileSpecs,$i(d),k.options,e.parseConfigFileHost),Zre(k.fileNames,d,k.options.configFile.configFileSpecs,k.errors,wO(k.raw)),Ase(e,d,g,k),Pse(e,d,g,k));const S=wse(e,k,g);if(!s.force){if(S.type===1){Iz(e,d,S),j4(e,g,Xx(k)),l.delete(g),s.dry&&Mf(e,v.Project_0_is_up_to_date,d);continue}if(S.type===2||S.type===15)return j4(e,g,Xx(k)),{kind:2,status:S,project:d,projectPath:g,projectIndex:f,config:k}}if(S.type===12){Iz(e,d,S),j4(e,g,Xx(k)),l.delete(g),s.verbose&&Mf(e,S.upstreamProjectBlocked?v.Skipping_build_of_project_0_because_its_dependency_1_was_not_built:v.Skipping_build_of_project_0_because_its_dependency_1_has_errors,d,S.upstreamProjectName);continue}if(S.type===16){Iz(e,d,S),j4(e,g,Xx(k)),l.delete(g);continue}return{kind:Jtt(e,S,k)?0:1,status:S,project:d,projectPath:g,projectIndex:f,config:k}}}function GEe(e,t,n){return Iz(e,t.project,t.status),t.kind!==2?WEe(t.kind,e,t.project,t.projectPath,t.projectIndex,t.config,n):jtt(e,t.project,t.projectPath,t.config,n)}function vse(e,t,n){const s=HEe(e,t,n);return s&&GEe(e,s,t)}function XEe({write:e},t,n){e&&t.options.listEmittedFiles&&e(`TSFILE: ${n}`)}function Utt({options:e,builderPrograms:t,compilerHost:n},s,l){if(e.force)return;const f=t.get(s);return f||Az(l.options,n)}function bse(e,t,n){t?(e.write&&ise(t,e.write),e.host.afterProgramEmitAndDiagnostics&&e.host.afterProgramEmitAndDiagnostics(t),t.releaseProgram()):e.host.afterEmitBundle&&e.host.afterEmitBundle(n),e.projectCompilerOptions=e.baseCompilerOptions}function Tse(e,t,n,s,l,f,d){const g=n&&!Ec(n.getCompilerOptions());return j4(e,t,l),e.projectStatus.set(t,{type:0,reason:`${d} errors`}),g?{buildResult:f,step:5}:(bse(e,n,s),{buildResult:f,step:7})}function Dz(e){return!!e.watcher}function QEe(e,t){const n=U_(e,t),s=e.filesWatched.get(n);if(e.watch&&s){if(!Dz(s))return s;if(s.modifiedTime)return s.modifiedTime}const l=CC(e.host,t);return e.watch&&(s?s.modifiedTime=l:e.filesWatched.set(n,l)),l}function Nz(e,t,n,s,l,f,d){const g=U_(e,t),h=e.filesWatched.get(g);if(h&&Dz(h))h.callbacks.push(n);else{const k=e.watchFile(t,(S,w,N)=>{const O=R.checkDefined(e.filesWatched.get(g));R.assert(Dz(O)),O.modifiedTime=N,O.callbacks.forEach(L=>L(S,w,N))},s,l,f,d);e.filesWatched.set(g,{callbacks:[n],watcher:k,modifiedTime:h})}return{close:()=>{const k=R.checkDefined(e.filesWatched.get(g));R.assert(Dz(k)),k.callbacks.length===1?(e.filesWatched.delete(g),ag(k)):jI(k.callbacks,n)}}}function Sse(e,t){if(!e.watch)return;let n=e.outputTimeStamps.get(t);return n||e.outputTimeStamps.set(t,n=new Map),n}function xse(e,t,n,s,l){const f=c1(s),d=kse(e,f,n),g=_9(e.host);d?(d.buildInfo=t,d.modifiedTime=g,l&2||(d.latestChangedDtsTime=g)):e.buildInfoCache.set(n,{path:U_(e,f),buildInfo:t,modifiedTime:g,latestChangedDtsTime:l&2?void 0:g})}function kse(e,t,n){const s=U_(e,t),l=e.buildInfoCache.get(n);return(l==null?void 0:l.path)===s?l:void 0}function YEe(e,t,n,s){const l=U_(e,t),f=e.buildInfoCache.get(n);if(f!==void 0&&f.path===l)return f.buildInfo||void 0;const d=e.readFileWithCache(t),g=d?nz(t,d):void 0;return e.buildInfoCache.set(n,{path:l,buildInfo:g||!1,modifiedTime:s||Ey}),g}function Cse(e,t,n,s){const l=QEe(e,t);if(n<l)return{type:6,outOfDateOutputFileName:s,newerInputFileName:t}}function ztt(e,t,n){var s,l;if(!t.fileNames.length&&!wO(t.raw))return{type:16};let f;const d=!!e.options.force;if(t.projectReferences){e.projectStatus.set(n,{type:13});for(const fe of t.projectReferences){const Ce=OD(fe),_e=Cm(e,Ce),K=Yx(e,Ce,_e),ge=wse(e,K,_e);if(!(ge.type===13||ge.type===16)){if(ge.type===0||ge.type===12)return{type:12,upstreamProjectName:fe.path,upstreamProjectBlocked:ge.type===12};if(ge.type!==1)return{type:11,upstreamProjectName:fe.path};d||(f||(f=[])).push({ref:fe,refStatus:ge,resolvedRefPath:_e,resolvedConfig:K})}}}if(d)return{type:17};const{host:g}=e,h=c1(t.options);let k,S=f6e,w,N,O;if(h){const fe=kse(e,h,n);if(w=(fe==null?void 0:fe.modifiedTime)||CC(g,h),w===Ey)return fe||e.buildInfoCache.set(n,{path:U_(e,h),buildInfo:!1,modifiedTime:w}),{type:4,missingOutputFileName:h};const Ce=YEe(e,h,n,w);if(!Ce)return{type:5,fileName:h};if((Ce.bundle||Ce.program)&&Ce.version!==I)return{type:14,version:Ce.version};if(Ce.program){if((s=Ce.program.changeFileSet)!=null&&s.length||(t.options.noEmit?Oe(Ce.program.semanticDiagnosticsPerFile,pa):(l=Ce.program.affectedFilesPendingEmit)!=null&&l.length))return{type:8,buildInfoFile:h};if(!t.options.noEmit&&F4(t.options,Ce.program.options||{}))return{type:9,buildInfoFile:h};N=Ce.program}S=w,k=h}let L,U=u6e,M=!1;const W=new Set;for(const fe of t.fileNames){const Ce=QEe(e,fe);if(Ce===Ey)return{type:0,reason:`${fe} does not exist`};if(w&&w<Ce){let _e,K;if(N){O||(O=Yie(N,h,g)),_e=O.fileInfos.get(U_(e,fe));const ge=_e?e.readFileWithCache(fe):void 0;K=ge!==void 0?Cz(g,ge):void 0,_e&&_e===K&&(M=!0)}if(!_e||_e!==K)return{type:6,outOfDateOutputFileName:h,newerInputFileName:fe}}Ce>U&&(L=fe,U=Ce),N&&W.add(U_(e,fe))}if(N){O||(O=Yie(N,h,g));for(const fe of O.roots)if(!W.has(fe))return{type:10,buildInfoFile:h,inputFile:fe}}if(!h){const fe=tz(t,!g.useCaseSensitiveFileNames()),Ce=Sse(e,n);for(const _e of fe){const K=U_(e,_e);let ge=Ce==null?void 0:Ce.get(K);if(ge||(ge=CC(e.host,_e),Ce==null||Ce.set(K,ge)),ge===Ey)return{type:4,missingOutputFileName:_e};if(ge<U)return{type:6,outOfDateOutputFileName:_e,newerInputFileName:L};ge<S&&(S=ge,k=_e)}}const X=e.buildInfoCache.get(n);let Z=!1,ue=!1,ie;if(f)for(const{ref:fe,refStatus:Ce,resolvedConfig:_e,resolvedRefPath:K}of f){if(ue=ue||!!fe.prepend,Ce.newestInputFileTime&&Ce.newestInputFileTime<=S)continue;if(X&&Vtt(e,X,K))return{type:7,outOfDateOutputFileName:h,newerProjectName:fe.path};const ge=$tt(e,_e.options,K);if(ge&&ge<=S){Z=!0,ie=fe.path;continue}return R.assert(k!==void 0,"Should have an oldest output filename here"),{type:7,outOfDateOutputFileName:k,newerProjectName:fe.path}}const se=Cse(e,t.options.configFilePath,S,k);if(se)return se;const V=Q(t.options.configFile.extendedSourceFiles||pt,fe=>Cse(e,fe,S,k));if(V)return V;const ve=Q(e.lastCachedPackageJsonLookups.get(n)||pt,([fe])=>Cse(e,fe,S,k));return ve||(ue&&Z?{type:3,outOfDateOutputFileName:k,newerProjectName:ie}:{type:Z?2:M?15:1,newestInputFileTime:U,newestInputFileName:L,oldestOutputFileName:k})}function Vtt(e,t,n){return e.buildInfoCache.get(n).path===t.path}function wse(e,t,n){if(t===void 0)return{type:0,reason:"File deleted mid-build"};const s=e.projectStatus.get(n);if(s!==void 0)return s;Uc("SolutionBuilder::beforeUpToDateCheck");const l=ztt(e,t,n);return Uc("SolutionBuilder::afterUpToDateCheck"),Qp("SolutionBuilder::Up-to-date check","SolutionBuilder::beforeUpToDateCheck","SolutionBuilder::afterUpToDateCheck"),e.projectStatus.set(n,l),l}function ZEe(e,t,n,s,l){if(t.options.noEmit)return;let f;const d=c1(t.options);if(d){l!=null&&l.has(U_(e,d))||(e.options.verbose&&Mf(e,s,t.options.configFilePath),e.host.setModifiedTime(d,f=_9(e.host)),kse(e,d,n).modifiedTime=f),e.outputTimeStamps.delete(n);return}const{host:g}=e,h=tz(t,!g.useCaseSensitiveFileNames()),k=Sse(e,n),S=k?new Set:void 0;if(!l||h.length!==l.size){let w=!!e.options.verbose;for(const N of h){const O=U_(e,N);l!=null&&l.has(O)||(w&&(w=!1,Mf(e,s,t.options.configFilePath)),g.setModifiedTime(N,f||(f=_9(e.host))),k&&(k.set(O,f),S.add(O)))}}k==null||k.forEach((w,N)=>{!(l!=null&&l.has(N))&&!S.has(N)&&k.delete(N)})}function $tt(e,t,n){if(!t.composite)return;const s=R.checkDefined(e.buildInfoCache.get(n));if(s.latestChangedDtsTime!==void 0)return s.latestChangedDtsTime||void 0;const l=s.buildInfo&&s.buildInfo.program&&s.buildInfo.program.latestChangedDtsFile?e.host.getModifiedTime(oa(s.buildInfo.program.latestChangedDtsFile,$i(s.path))):void 0;return s.latestChangedDtsTime=l||!1,l}function KEe(e,t,n){if(e.options.dry)return Mf(e,v.A_non_dry_build_would_update_timestamps_for_output_of_project_0,t.options.configFilePath);ZEe(e,t,n,v.Updating_output_timestamps_of_project_0),e.projectStatus.set(n,{type:1,oldestOutputFileName:yie(t,!e.host.useCaseSensitiveFileNames())})}function qtt(e,t,n,s,l,f,d){if(!(d&124)&&l.options.composite)for(let g=s+1;g<f.length;g++){const h=f[g],k=Cm(e,h);if(e.projectPendingBuild.has(k))continue;const S=Yx(e,h,k);if(!(!S||!S.projectReferences))for(const w of S.projectReferences){const N=B4(e,w.path);if(Cm(e,N)!==n)continue;const O=e.projectStatus.get(k);if(O)switch(O.type){case 1:if(d&2){w.prepend?e.projectStatus.set(k,{type:3,outOfDateOutputFileName:O.oldestOutputFileName,newerProjectName:t}):O.type=2;break}case 15:case 2:case 3:d&2||e.projectStatus.set(k,{type:7,outOfDateOutputFileName:O.type===3?O.outOfDateOutputFileName:O.oldestOutputFileName,newerProjectName:t});break;case 12:Cm(e,B4(e,O.upstreamProjectName))===n&&zEe(e,k);break}VEe(e,k,0);break}}}function e6e(e,t,n,s,l,f){Uc("SolutionBuilder::beforeBuild");const d=Wtt(e,t,n,s,l,f);return Uc("SolutionBuilder::afterBuild"),Qp("SolutionBuilder::Build","SolutionBuilder::beforeBuild","SolutionBuilder::afterBuild"),d}function Wtt(e,t,n,s,l,f){const d=JEe(e,t,f);if(!d)return 3;$Ee(e,n);let g=!0,h=0;for(;;){const k=vse(e,d,g);if(!k)break;g=!1,k.done(n,s,l==null?void 0:l(k.project)),e.diagnostics.has(k.projectPath)||h++}return yse(e),c6e(e,d),Qtt(e,d),Cw(d)?4:d.some(k=>e.diagnostics.has(Cm(e,k)))?h?2:1:0}function t6e(e,t,n){Uc("SolutionBuilder::beforeClean");const s=Htt(e,t,n);return Uc("SolutionBuilder::afterClean"),Qp("SolutionBuilder::Clean","SolutionBuilder::beforeClean","SolutionBuilder::afterClean"),s}function Htt(e,t,n){const s=JEe(e,t,n);if(!s)return 3;if(Cw(s))return m9(e,s.circularDiagnostics),4;const{options:l,host:f}=e,d=l.dry?[]:void 0;for(const g of s){const h=Cm(e,g),k=Yx(e,g,h);if(k===void 0){o6e(e,h);continue}const S=tz(k,!f.useCaseSensitiveFileNames());if(!S.length)continue;const w=new Set(k.fileNames.map(N=>U_(e,N)));for(const N of S)w.has(U_(e,N))||f.fileExists(N)&&(d?d.push(N):(f.deleteFile(N),Ese(e,h,0)))}return d&&Mf(e,v.A_non_dry_build_would_delete_the_following_files_Colon_0,d.map(g=>`\r
* ${g}`).join("")),0}function Ese(e,t,n){e.host.getParsedCommandLine&&n===1&&(n=2),n===2&&(e.configFileCache.delete(t),e.buildOrder=void 0),e.needsSummary=!0,zEe(e,t),VEe(e,t,n),UEe(e)}function d9(e,t,n){e.reportFileChangeDetected=!0,Ese(e,t,n),r6e(e,250,!0)}function r6e(e,t,n){const{hostWithWatch:s}=e;!s.setTimeout||!s.clearTimeout||(e.timerToBuildInvalidatedProject&&s.clearTimeout(e.timerToBuildInvalidatedProject),e.timerToBuildInvalidatedProject=s.setTimeout(Gtt,t,e,n))}function Gtt(e,t){Uc("SolutionBuilder::beforeBuild");const n=Xtt(e,t);Uc("SolutionBuilder::afterBuild"),Qp("SolutionBuilder::Build","SolutionBuilder::beforeBuild","SolutionBuilder::afterBuild"),n&&c6e(e,n)}function Xtt(e,t){e.timerToBuildInvalidatedProject=void 0,e.reportFileChangeDetected&&(e.reportFileChangeDetected=!1,e.projectErrorsReported.clear(),Dse(e,v.File_change_detected_Starting_incremental_compilation));let n=0;const s=p9(e),l=vse(e,s,!1);if(l)for(l.done(),n++;e.projectPendingBuild.size;){if(e.timerToBuildInvalidatedProject)return;const f=HEe(e,s,!1);if(!f)break;if(f.kind!==2&&(t||n===5)){r6e(e,100,!1);return}GEe(e,f,s).done(),f.kind!==2&&n++}return yse(e),s}function n6e(e,t,n,s){!e.watch||e.allWatchedConfigFiles.has(n)||e.allWatchedConfigFiles.set(n,Nz(e,t,()=>d9(e,n,2),2e3,s==null?void 0:s.watchOptions,xd.ConfigFile,t))}function i6e(e,t,n){Sie(t,n==null?void 0:n.options,e.allWatchedExtendedConfigFiles,(s,l)=>Nz(e,s,()=>{var f;return(f=e.allWatchedExtendedConfigFiles.get(l))==null?void 0:f.projects.forEach(d=>d9(e,d,2))},2e3,n==null?void 0:n.watchOptions,xd.ExtendedConfigFile),s=>U_(e,s))}function s6e(e,t,n,s){e.watch&&sz(gse(e.allWatchedWildcardDirectories,n),new Map(Object.entries(s.wildcardDirectories)),(l,f)=>e.watchDirectory(l,d=>{var g;az({watchedDirPath:U_(e,l),fileOrDirectory:d,fileOrDirectoryPath:U_(e,d),configFileName:t,currentDirectory:e.compilerHost.getCurrentDirectory(),options:s.options,program:e.builderPrograms.get(n)||((g=Rtt(e,n))==null?void 0:g.fileNames),useCaseSensitiveFileNames:e.parseConfigFileHost.useCaseSensitiveFileNames,writeLog:h=>e.writeLog(h),toPath:h=>U_(e,h)})||d9(e,n,1)},f,s==null?void 0:s.watchOptions,xd.WildcardDirectory,t))}function Ase(e,t,n,s){e.watch&&Z6(gse(e.allWatchedInputFiles,n),tT(s.fileNames,l=>U_(e,l)),{createNewValue:(l,f)=>Nz(e,f,()=>d9(e,n,0),250,s==null?void 0:s.watchOptions,xd.SourceFile,t),onDeleteValue:Yh})}function Pse(e,t,n,s){!e.watch||!e.lastCachedPackageJsonLookups||Z6(gse(e.allWatchedPackageJsonFiles,n),new Map(e.lastCachedPackageJsonLookups.get(n)),{createNewValue:(l,f)=>Nz(e,l,()=>d9(e,n,0),2e3,s==null?void 0:s.watchOptions,xd.PackageJson,t),onDeleteValue:Yh})}function Qtt(e,t){if(e.watchAllProjectsPending){Uc("SolutionBuilder::beforeWatcherCreation"),e.watchAllProjectsPending=!1;for(const n of Pz(t)){const s=Cm(e,n),l=Yx(e,n,s);n6e(e,n,s,l),i6e(e,s,l),l&&(s6e(e,n,s,l),Ase(e,n,s,l),Pse(e,n,s,l))}Uc("SolutionBuilder::afterWatcherCreation"),Qp("SolutionBuilder::Watcher creation","SolutionBuilder::beforeWatcherCreation","SolutionBuilder::afterWatcherCreation")}}function Ytt(e){rd(e.allWatchedConfigFiles,Yh),rd(e.allWatchedExtendedConfigFiles,ag),rd(e.allWatchedWildcardDirectories,t=>rd(t,ag)),rd(e.allWatchedInputFiles,t=>rd(t,Yh)),rd(e.allWatchedPackageJsonFiles,t=>rd(t,Yh))}function a6e(e,t,n,s,l){const f=Ftt(e,t,n,s,l);return{build:(d,g,h,k)=>e6e(f,d,g,h,k),clean:d=>t6e(f,d),buildReferences:(d,g,h,k)=>e6e(f,d,g,h,k,!0),cleanReferences:d=>t6e(f,d,!0),getNextInvalidatedProject:d=>($Ee(f,d),vse(f,p9(f),!1)),getBuildOrder:()=>p9(f),getUpToDateStatusOfProject:d=>{const g=B4(f,d),h=Cm(f,g);return wse(f,Yx(f,g,h),h)},invalidateProject:(d,g)=>Ese(f,d,g||0),close:()=>Ytt(f)}}function bu(e,t){return jA(t,e.compilerHost.getCurrentDirectory(),e.compilerHost.getCanonicalFileName)}function Mf(e,t,...n){e.host.reportSolutionBuilderStatus(gc(t,...n))}function Dse(e,t,...n){var s,l;(l=(s=e.hostWithWatch).onWatchStatusChange)==null||l.call(s,gc(t,...n),e.host.getNewLine(),e.baseCompilerOptions)}function m9({host:e},t){t.forEach(n=>e.reportDiagnostic(n))}function j4(e,t,n){m9(e,n),e.projectErrorsReported.set(t,!0),n.length&&e.diagnostics.set(t,n)}function o6e(e,t){j4(e,t,[e.configFileCache.get(t)])}function c6e(e,t){if(!e.needsSummary)return;e.needsSummary=!1;const n=e.watch||!!e.host.reportErrorSummary,{diagnostics:s}=e;let l=0,f=[];Cw(t)?(l6e(e,t.buildOrder),m9(e,t.circularDiagnostics),n&&(l+=Sz(t.circularDiagnostics)),n&&(f=[...f,...xz(t.circularDiagnostics)])):(t.forEach(d=>{const g=Cm(e,d);e.projectErrorsReported.has(g)||m9(e,s.get(g)||pt)}),n&&s.forEach(d=>l+=Sz(d)),n&&s.forEach(d=>[...f,...xz(d)])),e.watch?Dse(e,nse(l),l):e.host.reportErrorSummary&&e.host.reportErrorSummary(l,f)}function l6e(e,t){e.options.verbose&&Mf(e,v.Projects_in_this_build_Colon_0,t.map(n=>`\r
* `+bu(e,n)).join(""))}function Ztt(e,t,n){switch(n.type){case 6:return Mf(e,v.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,bu(e,t),bu(e,n.outOfDateOutputFileName),bu(e,n.newerInputFileName));case 7:return Mf(e,v.Project_0_is_out_of_date_because_output_1_is_older_than_input_2,bu(e,t),bu(e,n.outOfDateOutputFileName),bu(e,n.newerProjectName));case 4:return Mf(e,v.Project_0_is_out_of_date_because_output_file_1_does_not_exist,bu(e,t),bu(e,n.missingOutputFileName));case 5:return Mf(e,v.Project_0_is_out_of_date_because_there_was_error_reading_file_1,bu(e,t),bu(e,n.fileName));case 8:return Mf(e,v.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted,bu(e,t),bu(e,n.buildInfoFile));case 9:return Mf(e,v.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions,bu(e,t),bu(e,n.buildInfoFile));case 10:return Mf(e,v.Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more,bu(e,t),bu(e,n.buildInfoFile),bu(e,n.inputFile));case 1:if(n.newestInputFileTime!==void 0)return Mf(e,v.Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2,bu(e,t),bu(e,n.newestInputFileName||""),bu(e,n.oldestOutputFileName||""));break;case 3:return Mf(e,v.Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed,bu(e,t),bu(e,n.newerProjectName));case 2:return Mf(e,v.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,bu(e,t));case 15:return Mf(e,v.Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files,bu(e,t));case 11:return Mf(e,v.Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date,bu(e,t),bu(e,n.upstreamProjectName));case 12:return Mf(e,n.upstreamProjectBlocked?v.Project_0_can_t_be_built_because_its_dependency_1_was_not_built:v.Project_0_can_t_be_built_because_its_dependency_1_has_errors,bu(e,t),bu(e,n.upstreamProjectName));case 0:return Mf(e,v.Failed_to_parse_file_0_Colon_1,bu(e,t),n.reason);case 14:return Mf(e,v.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,bu(e,t),n.version,I);case 17:return Mf(e,v.Project_0_is_being_forcibly_rebuilt,bu(e,t))}}function Iz(e,t,n){e.options.verbose&&Ztt(e,t,n)}var u6e,f6e,Nse,Ktt=p({"src/compiler/tsbuildPublic.ts"(){aa(),aa(),oT(),u6e=new Date(-864e13),f6e=new Date(864e13),Nse=(e=>(e[e.Build=0]="Build",e[e.UpdateBundle=1]="UpdateBundle",e[e.UpdateOutputFileStamps=2]="UpdateOutputFileStamps",e))(Nse||{})}}),aa=p({"src/compiler/_namespaces/ts.ts"(){z(),DHe(),NHe(),UHe(),$He(),qHe(),rGe(),pve(),pGe(),TGe(),SGe(),EGe(),GGe(),pQe(),dQe(),mQe(),hQe(),AQe(),IQe(),OQe(),YQe(),DYe(),NYe(),zYe(),mZe(),qZe(),YZe(),ZZe(),lKe(),mKe(),kKe(),NKe(),$Ke(),qKe(),WKe(),ZKe(),KKe(),eet(),tet(),ret(),net(),iet(),set(),aet(),oet(),cet(),uet(),fet(),_et(),det(),met(),het(),get(),yet(),vet(),wet(),Iet(),Vet(),Wet(),Zet(),Ket(),ett(),mtt(),ytt(),btt(),Ctt(),Att(),Ptt(),Ktt(),Rne(),oT()}});function _6e(e,t){return new Rd(LI(t,`ts${P}`)||LI(t,"latest")).compareTo(e.version)<=0}function p6e(e){return Fse.has(e)?"node":e}function ert(e,t){const n=SO(t,s=>e.readFile(s));return new Map(Object.entries(n.config))}function trt(e,t){var n;const s=SO(t,l=>e.readFile(l));if((n=s.config)!=null&&n.simpleMap)return new Map(Object.entries(s.config.simpleMap))}function rrt(e,t,n,s,l,f,d,g,h,k){if(!d||!d.enable)return{cachedTypingPaths:[],newTypingNames:[],filesToWatch:[]};const S=new Map;n=fr(n,ue=>{const ie=Co(ue);if(QC(ie))return ie});const w=[];d.include&&W(d.include,"Explicitly included types");const N=d.exclude||[];if(!k.types){const ue=new Set(n.map($i));ue.add(s),ue.forEach(ie=>{X(ie,"bower.json","bower_components",w),X(ie,"package.json","node_modules",w)})}if(d.disableFilenameBasedTypeAcquisition||Z(n),g){const ue=Ss(g.map(p6e),vC,wf);W(ue,"Inferred typings from unresolved imports")}f.forEach((ue,ie)=>{const se=h.get(ie);S.has(ie)&&S.get(ie)===void 0&&se!==void 0&&_6e(ue,se)&&S.set(ie,ue.typingLocation)});for(const ue of N)S.delete(ue)&&t&&t(`Typing for ${ue} is in exclude list, will be ignored.`);const O=[],L=[];S.forEach((ue,ie)=>{ue!==void 0?L.push(ue):O.push(ie)});const U={cachedTypingPaths:L,newTypingNames:O,filesToWatch:w};return t&&t(`Result: ${JSON.stringify(U)}`),U;function M(ue){S.has(ue)||S.set(ue,void 0)}function W(ue,ie){t&&t(`${ie}: ${JSON.stringify(ue)}`),Q(ue,M)}function X(ue,ie,se,V){const ve=_s(ue,ie);let fe,Ce;e.fileExists(ve)&&(V.push(ve),fe=SO(ve,Se=>e.readFile(Se)).config,Ce=mn([fe.dependencies,fe.devDependencies,fe.optionalDependencies,fe.peerDependencies],wy),W(Ce,`Typing names in '${ve}' dependencies`));const _e=_s(ue,se);if(V.push(_e),!e.directoryExists(_e))return;const K=[],ge=Ce?Ce.map(Se=>_s(_e,Se,ie)):e.readDirectory(_e,[".json"],void 0,void 0,3).filter(Se=>{if(sf(Se)!==ie)return!1;const we=t_(Co(Se)),Pe=we[we.length-3][0]==="@";return Pe&&Fd(we[we.length-4])===se||!Pe&&Fd(we[we.length-3])===se});t&&t(`Searching for typing names in ${_e}; all files: ${JSON.stringify(ge)}`);for(const Se of ge){const we=Co(Se),le=SO(we,Qe=>e.readFile(Qe)).config;if(!le.name)continue;const ot=le.types||le.typings;if(ot){const Qe=oa(ot,$i(we));e.fileExists(Qe)?(t&&t(` Package '${le.name}' provides its own types.`),S.set(le.name,Qe)):t&&t(` Package '${le.name}' provides its own types but they are missing.`)}else K.push(le.name)}W(K," Found package names")}function Z(ue){const ie=fr(ue,V=>{if(!QC(V))return;const ve=B_(Fd(sf(V))),fe=j1e(ve);return l.get(fe)});ie.length&&W(ie,"Inferred typings from file names"),Oe(ue,V=>Gl(V,".jsx"))&&(t&&t("Inferred 'react' typings due to presence of '.jsx' extension"),M("react"))}}function nrt(e){return Ise(e,!0)}function Ise(e,t){if(!e)return 1;if(e.length>Bse)return 2;if(e.charCodeAt(0)===46)return 3;if(e.charCodeAt(0)===95)return 4;if(t){const n=/^@([^/]+)\/([^/]+)$/.exec(e);if(n){const s=Ise(n[1],!1);if(s!==0)return{name:n[1],isScopeName:!0,result:s};const l=Ise(n[2],!1);return l!==0?{name:n[2],isScopeName:!1,result:l}:0}}return encodeURIComponent(e)!==e?5:0}function irt(e,t){return typeof e=="object"?d6e(t,e.result,e.name,e.isScopeName):d6e(t,e,t,!1)}function d6e(e,t,n,s){const l=s?"Scope":"Package";switch(t){case 1:return`'${e}':: ${l} name '${n}' cannot be empty`;case 2:return`'${e}':: ${l} name '${n}' should be less than ${Bse} characters`;case 3:return`'${e}':: ${l} name '${n}' cannot start with '.'`;case 4:return`'${e}':: ${l} name '${n}' cannot start with '_'`;case 5:return`'${e}':: ${l} name '${n}' contains non URI safe characters`;case 0:return R.fail();default:throw R.assertNever(t)}}var Ose,Lse,Mse,Fse,Rse,Bse,srt=p({"src/jsTyping/jsTyping.ts"(){Oz(),Ose=["assert","assert/strict","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","https","http2","inspector","module","net","os","path","perf_hooks","process","punycode","querystring","readline","repl","stream","stream/promises","string_decoder","timers","timers/promises","tls","trace_events","tty","url","util","util/types","v8","vm","wasi","worker_threads","zlib"],Lse=Ose.map(e=>`node:${e}`),Mse=[...Ose,...Lse],Fse=new Set(Mse),Rse=(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",e))(Rse||{}),Bse=214}}),Zx={};T(Zx,{NameValidationResult:()=>Rse,discoverTypings:()=>rrt,isTypingUpToDate:()=>_6e,loadSafeList:()=>ert,loadTypesMap:()=>trt,nodeCoreModuleList:()=>Mse,nodeCoreModules:()=>Fse,nonRelativeModuleNameForTypingCache:()=>p6e,prefixedNodeCoreModuleList:()=>Lse,renderPackageNameValidationFailure:()=>irt,validatePackageName:()=>nrt});var art=p({"src/jsTyping/_namespaces/ts.JsTyping.ts"(){srt()}});function ort(e){return Bu.args.indexOf(e)>=0}function crt(e){const t=Bu.args.indexOf(e);return t>=0&&t<Bu.args.length-1?Bu.args[t+1]:void 0}function lrt(){const e=new Date;return`${bC(e.getHours().toString(),2,"0")}:${bC(e.getMinutes().toString(),2,"0")}:${bC(e.getSeconds().toString(),2,"0")}.${bC(e.getMilliseconds().toString(),3,"0")}`}var m6e,h6e,g6e,y6e,v6e,b6e,T6e,jse,urt=p({"src/jsTyping/shared.ts"(){Oz(),m6e="action::set",h6e="action::invalidate",g6e="action::packageInstalled",y6e="event::typesRegistry",v6e="event::beginInstallTypes",b6e="event::endInstallTypes",T6e="event::initializationFailed",(e=>{e.GlobalCacheLocation="--globalTypingsCacheLocation",e.LogFile="--logFile",e.EnableTelemetry="--enableTelemetry",e.TypingSafeListLocation="--typingSafeListLocation",e.TypesMapLocation="--typesMapLocation",e.NpmLocation="--npmLocation",e.ValidateDefaultNpmLocation="--validateDefaultNpmLocation"})(jse||(jse={}))}}),frt=p({"src/jsTyping/types.ts"(){}}),S6e={};T(S6e,{ActionInvalidate:()=>h6e,ActionPackageInstalled:()=>g6e,ActionSet:()=>m6e,Arguments:()=>jse,EventBeginInstallTypes:()=>v6e,EventEndInstallTypes:()=>b6e,EventInitializationFailed:()=>T6e,EventTypesRegistry:()=>y6e,findArgument:()=>crt,hasArgument:()=>ort,nowString:()=>lrt});var _rt=p({"src/jsTyping/_namespaces/ts.server.ts"(){urt(),frt()}}),Oz=p({"src/jsTyping/_namespaces/ts.ts"(){aa(),art(),_rt()}});function x6e(e){return{indentSize:4,tabSize:4,newLineCharacter:e||`
`,convertTabsToSpaces:!0,indentStyle:2,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:"ignore",trimTrailingWhitespace:!0}}var Jse,Use,zse,Vse,uh,$se,qse,Wse,Hse,Gse,Xse,Qse,k6e,h9,Yse,Zse,Kse,eae,tae,rae,nae,iae,sae,prt=p({"src/services/types.ts"(){(e=>{class t{constructor(l){this.text=l}getText(l,f){return l===0&&f===this.text.length?this.text:this.text.substring(l,f)}getLength(){return this.text.length}getChangeRange(){}}function n(s){return new t(s)}e.fromString=n})(Jse||(Jse={})),Use=(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))(Use||{}),zse=(e=>(e[e.Off=0]="Off",e[e.On=1]="On",e[e.Auto=2]="Auto",e))(zse||{}),Vse=(e=>(e[e.Semantic=0]="Semantic",e[e.PartialSemantic=1]="PartialSemantic",e[e.Syntactic=2]="Syntactic",e))(Vse||{}),uh={},$se=(e=>(e.Original="original",e.TwentyTwenty="2020",e))($se||{}),qse=(e=>(e.All="All",e.SortAndCombine="SortAndCombine",e.RemoveUnused="RemoveUnused",e))(qse||{}),Wse=(e=>(e[e.Invoked=1]="Invoked",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions",e))(Wse||{}),Hse=(e=>(e.Type="Type",e.Parameter="Parameter",e.Enum="Enum",e))(Hse||{}),Gse=(e=>(e.none="none",e.definition="definition",e.reference="reference",e.writtenReference="writtenReference",e))(Gse||{}),Xse=(e=>(e[e.None=0]="None",e[e.Block=1]="Block",e[e.Smart=2]="Smart",e))(Xse||{}),Qse=(e=>(e.Ignore="ignore",e.Insert="insert",e.Remove="remove",e))(Qse||{}),k6e=x6e(`
`),h9=(e=>(e[e.aliasName=0]="aliasName",e[e.className=1]="className",e[e.enumName=2]="enumName",e[e.fieldName=3]="fieldName",e[e.interfaceName=4]="interfaceName",e[e.keyword=5]="keyword",e[e.lineBreak=6]="lineBreak",e[e.numericLiteral=7]="numericLiteral",e[e.stringLiteral=8]="stringLiteral",e[e.localName=9]="localName",e[e.methodName=10]="methodName",e[e.moduleName=11]="moduleName",e[e.operator=12]="operator",e[e.parameterName=13]="parameterName",e[e.propertyName=14]="propertyName",e[e.punctuation=15]="punctuation",e[e.space=16]="space",e[e.text=17]="text",e[e.typeParameterName=18]="typeParameterName",e[e.enumMemberName=19]="enumMemberName",e[e.functionName=20]="functionName",e[e.regularExpressionLiteral=21]="regularExpressionLiteral",e[e.link=22]="link",e[e.linkName=23]="linkName",e[e.linkText=24]="linkText",e))(h9||{}),Yse=(e=>(e[e.None=0]="None",e[e.MayIncludeAutoImports=1]="MayIncludeAutoImports",e[e.IsImportStatementCompletion=2]="IsImportStatementCompletion",e[e.IsContinuation=4]="IsContinuation",e[e.ResolvedModuleSpecifiers=8]="ResolvedModuleSpecifiers",e[e.ResolvedModuleSpecifiersBeyondLimit=16]="ResolvedModuleSpecifiersBeyondLimit",e[e.MayIncludeMethodSnippets=32]="MayIncludeMethodSnippets",e))(Yse||{}),Zse=(e=>(e.Comment="comment",e.Region="region",e.Code="code",e.Imports="imports",e))(Zse||{}),Kse=(e=>(e[e.JavaScript=0]="JavaScript",e[e.SourceMap=1]="SourceMap",e[e.Declaration=2]="Declaration",e))(Kse||{}),eae=(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))(eae||{}),tae=(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))(tae||{}),rae=(e=>(e.unknown="",e.warning="warning",e.keyword="keyword",e.scriptElement="script",e.moduleElement="module",e.classElement="class",e.localClassElement="local class",e.interfaceElement="interface",e.typeElement="type",e.enumElement="enum",e.enumMemberElement="enum member",e.variableElement="var",e.localVariableElement="local var",e.functionElement="function",e.localFunctionElement="local function",e.memberFunctionElement="method",e.memberGetAccessorElement="getter",e.memberSetAccessorElement="setter",e.memberVariableElement="property",e.memberAccessorVariableElement="accessor",e.constructorImplementationElement="constructor",e.callSignatureElement="call",e.indexSignatureElement="index",e.constructSignatureElement="construct",e.parameterElement="parameter",e.typeParameterElement="type parameter",e.primitiveType="primitive type",e.label="label",e.alias="alias",e.constElement="const",e.letElement="let",e.directory="directory",e.externalModuleName="external module name",e.jsxAttribute="JSX attribute",e.string="string",e.link="link",e.linkName="link name",e.linkText="link text",e))(rae||{}),nae=(e=>(e.none="",e.publicMemberModifier="public",e.privateMemberModifier="private",e.protectedMemberModifier="protected",e.exportedModifier="export",e.ambientModifier="declare",e.staticModifier="static",e.abstractModifier="abstract",e.optionalModifier="optional",e.deprecatedModifier="deprecated",e.dtsModifier=".d.ts",e.tsModifier=".ts",e.tsxModifier=".tsx",e.jsModifier=".js",e.jsxModifier=".jsx",e.jsonModifier=".json",e.dmtsModifier=".d.mts",e.mtsModifier=".mts",e.mjsModifier=".mjs",e.dctsModifier=".d.cts",e.ctsModifier=".cts",e.cjsModifier=".cjs",e))(nae||{}),iae=(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))(iae||{}),sae=(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))(sae||{})}});function g9(e){switch(e.kind){case 257:return Mn(e)&&KZ(e)?7:1;case 166:case 205:case 169:case 168:case 299:case 300:case 171:case 170:case 173:case 174:case 175:case 259:case 215:case 216:case 295:case 288:return 1;case 165:case 261:case 262:case 184:return 2;case 349:return e.name===void 0?3:2;case 302:case 260:return 3;case 264:return Af(e)||$y(e)===1?5:4;case 263:case 272:case 273:case 268:case 269:case 274:case 275:return 7;case 308:return 5}return 7}function Kx(e){e=gae(e);const t=e.parent;return e.kind===308?1:Tl(t)||i_(t)||ng(t)||S_(t)||rg(t)||Xu(t)&&e===t.name?7:Lz(e)?drt(e):By(e)?g9(t):ap(e)&&kn(e,jh(lD,IC,Xb))?7:yrt(e)?2:mrt(e)?4:bl(t)?(R.assert(xm(t.parent)),2):Hb(t)?3:1}function drt(e){const t=e.kind===163?e:T_(e.parent)&&e.parent.right===e?e.parent:void 0;return t&&t.parent.kind===268?7:4}function Lz(e){for(;e.parent.kind===163;)e=e.parent;return F6(e.parent)&&e.parent.moduleReference===e}function mrt(e){return hrt(e)||grt(e)}function hrt(e){let t=e,n=!0;if(t.parent.kind===163){for(;t.parent&&t.parent.kind===163;)t=t.parent;n=t.right===e}return t.parent.kind===180&&!n}function grt(e){let t=e,n=!0;if(t.parent.kind===208){for(;t.parent&&t.parent.kind===208;)t=t.parent;n=t.name===e}if(!n&&t.parent.kind===230&&t.parent.parent.kind===294){const s=t.parent.parent.parent;return s.kind===260&&t.parent.parent.token===117||s.kind===261&&t.parent.parent.token===94}return!1}function yrt(e){switch(EP(e)&&(e=e.parent),e.kind){case 108:return!Fy(e);case 194:return!0}switch(e.parent.kind){case 180:return!0;case 202:return!e.parent.isTypeOf;case 230:return Mg(e.parent)}return!1}function aae(e,t=!1,n=!1){return FD(e,Da,Mz,t,n)}function MD(e,t=!1,n=!1){return FD(e,NT,Mz,t,n)}function oae(e,t=!1,n=!1){return FD(e,Oy,Mz,t,n)}function C6e(e,t=!1,n=!1){return FD(e,Mx,vrt,t,n)}function w6e(e,t=!1,n=!1){return FD(e,Df,Mz,t,n)}function E6e(e,t=!1,n=!1){return FD(e,Hf,brt,t,n)}function Mz(e){return e.expression}function vrt(e){return e.tag}function brt(e){return e.tagName}function FD(e,t,n,s,l){let f=s?A6e(e):Fz(e);return l&&(f=uf(f)),!!f&&!!f.parent&&t(f.parent)&&n(f.parent)===f}function Fz(e){return J4(e)?e.parent:e}function A6e(e){return J4(e)||fae(e)?e.parent:e}function Rz(e,t){for(;e;){if(e.kind===253&&e.label.escapedText===t)return e.label;e=e.parent}}function y9(e,t){return oi(e.expression)?e.expression.name.text===t:!1}function v9(e){var t;return Ye(e)&&((t=Pi(e.parent,ZA))==null?void 0:t.label)===e}function cae(e){var t;return Ye(e)&&((t=Pi(e.parent,IT))==null?void 0:t.label)===e}function lae(e){return cae(e)||v9(e)}function uae(e){var t;return((t=Pi(e.parent,nP))==null?void 0:t.tagName)===e}function P6e(e){var t;return((t=Pi(e.parent,T_))==null?void 0:t.right)===e}function J4(e){var t;return((t=Pi(e.parent,oi))==null?void 0:t.name)===e}function fae(e){var t;return((t=Pi(e.parent,qc))==null?void 0:t.argumentExpression)===e}function _ae(e){var t;return((t=Pi(e.parent,Pl))==null?void 0:t.name)===e}function pae(e){var t;return Ye(e)&&((t=Pi(e.parent,Sa))==null?void 0:t.name)===e}function Bz(e){switch(e.parent.kind){case 169:case 168:case 299:case 302:case 171:case 170:case 174:case 175:case 264:return ra(e.parent)===e;case 209:return e.parent.argumentExpression===e;case 164:return!0;case 198:return e.parent.parent.kind===196;default:return!1}}function D6e(e){return Rb(e.parent.parent)&&pP(e.parent.parent)===e}function ek(e){for(gd(e)&&(e=e.parent.parent);;){if(e=e.parent,!e)return;switch(e.kind){case 308:case 171:case 170:case 259:case 215:case 174:case 175:case 260:case 261:case 263:case 264:return e}}}function qT(e){switch(e.kind){case 308:return Fl(e)?"module":"script";case 264:return"module";case 260:case 228:return"class";case 261:return"interface";case 262:case 341:case 349:return"type";case 263:return"enum";case 257:return t(e);case 205:return t(Gh(e));case 216:case 259:case 215:return"function";case 174:return"getter";case 175:return"setter";case 171:case 170:return"method";case 299:const{initializer:n}=e;return Sa(n)?"method":"property";case 169:case 168:case 300:case 301:return"property";case 178:return"index";case 177:return"construct";case 176:return"call";case 173:case 172:return"constructor";case 165:return"type parameter";case 302:return"enum member";case 166:return Ti(e,16476)?"property":"parameter";case 268:case 273:case 278:case 271:case 277:return"alias";case 223:const s=ll(e),{right:l}=e;switch(s){case 7:case 8:case 9:case 0:return"";case 1:case 2:const d=qT(l);return d===""?"const":d;case 3:return yc(l)?"method":"property";case 4:return"property";case 5:return yc(l)?"method":"property";case 6:return"local class";default:return""}case 79:return rg(e.parent)?"alias":"";case 274:const f=qT(e.expression);return f===""?"const":f;default:return""}function t(n){return My(n)?"const":lP(n)?"let":"var"}}function U4(e){switch(e.kind){case 108:return!0;case 79:return Pee(e)&&e.parent.kind===166;default:return!1}}function kd(e,t){const n=Py(t),s=t.getLineAndCharacterOfPosition(e).line;return n[s]}function pp(e,t){return dae(e.pos,e.end,t)}function N6e(e,t){return T9(e,t.pos)&&T9(e,t.end)}function b9(e,t){return e.pos<=t&&t<=e.end}function T9(e,t){return e.pos<t&&t<e.end}function dae(e,t,n){return e<=n.pos&&t>=n.end}function S9(e,t,n){return e.pos<=t&&e.end>=n}function RD(e,t,n){return jz(e.pos,e.end,t,n)}function mae(e,t,n,s){return jz(e.getStart(t),e.end,n,s)}function jz(e,t,n,s){const l=Math.max(e,n),f=Math.min(t,s);return l<f}function hae(e,t,n){return R.assert(e.pos<=t),t<e.end||!Zd(e,n)}function Zd(e,t){if(e===void 0||cl(e))return!1;switch(e.kind){case 260:case 261:case 263:case 207:case 203:case 184:case 238:case 265:case 266:case 272:case 276:return Jz(e,19,t);case 295:return Zd(e.block,t);case 211:if(!e.arguments)return!0;case 210:case 214:case 193:return Jz(e,21,t);case 181:case 182:return Zd(e.type,t);case 173:case 174:case 175:case 259:case 215:case 171:case 170:case 177:case 176:case 216:return e.body?Zd(e.body,t):e.type?Zd(e.type,t):x9(e,21,t);case 264:return!!e.body&&Zd(e.body,t);case 242:return e.elseStatement?Zd(e.elseStatement,t):Zd(e.thenStatement,t);case 241:return Zd(e.expression,t)||x9(e,26,t);case 206:case 204:case 209:case 164:case 186:return Jz(e,23,t);case 178:return e.type?Zd(e.type,t):x9(e,23,t);case 292:case 293:return!1;case 245:case 246:case 247:case 244:return Zd(e.statement,t);case 243:return x9(e,115,t)?Jz(e,21,t):Zd(e.statement,t);case 183:return Zd(e.exprName,t);case 218:case 217:case 219:case 226:case 227:return Zd(e.expression,t);case 212:return Zd(e.template,t);case 225:const s=Rc(e.templateSpans);return Zd(s,t);case 236:return md(e.literal);case 275:case 269:return md(e.moduleSpecifier);case 221:return Zd(e.operand,t);case 223:return Zd(e.right,t);case 224:return Zd(e.whenFalse,t);default:return!0}}function Jz(e,t,n){const s=e.getChildren(n);if(s.length){const l=ko(s);if(l.kind===t)return!0;if(l.kind===26&&s.length!==1)return s[s.length-2].kind===t}return!1}function I6e(e){const t=Uz(e);if(!t)return;const n=t.getChildren();return{listItemIndex:A6(n,e),list:t}}function x9(e,t,n){return!!Yo(e,t,n)}function Yo(e,t,n){return He(e.getChildren(n),s=>s.kind===t)}function Uz(e){const t=He(e.parent.getChildren(),n=>x4(n)&&pp(n,e));return R.assert(!t||xt(t.getChildren(),e)),t}function O6e(e){return e.kind===88}function Trt(e){return e.kind===84}function Srt(e){return e.kind===98}function xrt(e){if(of(e))return e.name;if(vu(e)){const t=e.modifiers&&He(e.modifiers,O6e);if(t)return t}if(If(e)){const t=He(e.getChildren(),Trt);if(t)return t}}function krt(e){if(of(e))return e.name;if(ru(e)){const t=He(e.modifiers,O6e);if(t)return t}if(yc(e)){const t=He(e.getChildren(),Srt);if(t)return t}}function Crt(e){let t;return kn(e,n=>(ps(n)&&(t=n),!T_(n.parent)&&!ps(n.parent)&&!dx(n.parent))),t}function zz(e,t){if(e.flags&8388608)return;const n=oV(e,t);if(n)return n;const s=Crt(e);return s&&t.getTypeAtLocation(s)}function wrt(e,t){if(!t)switch(e.kind){case 260:case 228:return xrt(e);case 259:case 215:return krt(e);case 173:return e}if(of(e))return e.name}function L6e(e,t){if(e.importClause){if(e.importClause.name&&e.importClause.namedBindings)return;if(e.importClause.name)return e.importClause.name;if(e.importClause.namedBindings){if(i1(e.importClause.namedBindings)){const n=Fh(e.importClause.namedBindings.elements);return n?n.name:void 0}else if(xv(e.importClause.namedBindings))return e.importClause.namedBindings.name}}if(!t)return e.moduleSpecifier}function M6e(e,t){if(e.exportClause){if(Xd(e.exportClause))return Fh(e.exportClause.elements)?e.exportClause.elements[0].name:void 0;if(qg(e.exportClause))return e.exportClause.name}if(!t)return e.moduleSpecifier}function Ert(e){if(e.types.length===1)return e.types[0].expression}function F6e(e,t){const{parent:n}=e;if(ja(e)&&(t||e.kind!==88)?Qd(n)&&xt(n.modifiers,e):e.kind===84?vu(n)||If(e):e.kind===98?ru(n)||yc(e):e.kind===118?Yf(n):e.kind===92?Gb(n):e.kind===154?sh(n):e.kind===143||e.kind===142?Pl(n):e.kind===100?Xu(n):e.kind===137?Hd(n):e.kind===151&&nd(n)){const s=wrt(n,t);if(s)return s}if((e.kind===113||e.kind===85||e.kind===119)&&Of(n)&&n.declarations.length===1){const s=n.declarations[0];if(Ye(s.name))return s.name}if(e.kind===154){if(rg(n)&&n.isTypeOnly){const s=L6e(n.parent,t);if(s)return s}if(Uu(n)&&n.isTypeOnly){const s=M6e(n,t);if(s)return s}}if(e.kind===128){if(S_(n)&&n.propertyName||i_(n)&&n.propertyName||xv(n)||qg(n))return n.name;if(Uu(n)&&n.exportClause&&qg(n.exportClause))return n.exportClause.name}if(e.kind===100&&Nu(n)){const s=L6e(n,t);if(s)return s}if(e.kind===93){if(Uu(n)){const s=M6e(n,t);if(s)return s}if(Tl(n))return uf(n.expression)}if(e.kind===147&&ng(n))return n.expression;if(e.kind===158&&(Nu(n)||Uu(n))&&n.moduleSpecifier)return n.moduleSpecifier;if((e.kind===94||e.kind===117)&&J_(n)&&n.token===e.kind){const s=Ert(n);if(s)return s}if(e.kind===94){if(bl(n)&&n.constraint&&Gd(n.constraint))return n.constraint.typeName;if(p4(n)&&Gd(n.extendsType))return n.extendsType.typeName}if(e.kind===138&&d4(n))return n.typeParameter.name;if(e.kind===101&&bl(n)&&nD(n.parent))return n.name;if(e.kind===141&&ow(n)&&n.operator===141&&Gd(n.type))return n.type.typeName;if(e.kind===146&&ow(n)&&n.operator===146&&nre(n.type)&&Gd(n.type.elementType))return n.type.elementType.typeName;if(!t){if((e.kind===103&&NT(n)||e.kind===114&&lw(n)||e.kind===112&&h4(n)||e.kind===133&&g4(n)||e.kind===125&&zJ(n)||e.kind===89&&XSe(n))&&n.expression)return uf(n.expression);if((e.kind===101||e.kind===102)&&$n(n)&&n.operatorToken===e)return uf(n.right);if(e.kind===128&&tO(n)&&Gd(n.type))return n.type.typeName;if(e.kind===101&&cre(n)||e.kind===162&&rO(n))return uf(n.expression)}return e}function gae(e){return F6e(e,!1)}function Vz(e){return F6e(e,!0)}function Lp(e,t){return BD(e,t,n=>zd(n)||b_(n.kind)||as(n))}function BD(e,t,n){return R6e(e,t,!1,n,!1)}function Os(e,t){return R6e(e,t,!0,void 0,!1)}function R6e(e,t,n,s,l){let f=e,d;e:for(;;){const h=f.getChildren(e),k=hC(h,t,(S,w)=>w,(S,w)=>{const N=h[S].getEnd();if(N<t)return-1;const O=n?h[S].getFullStart():h[S].getStart(e,!0);return O>t?1:g(h[S],O,N)?h[S-1]&&g(h[S-1])?1:0:s&&O===t&&h[S-1]&&h[S-1].getEnd()===t&&g(h[S-1])?1:-1});if(d)return d;if(k>=0&&h[k]){f=h[k];continue e}return f}function g(h,k,S){if(S??(S=h.getEnd()),S<t||(k??(k=n?h.getFullStart():h.getStart(e,!0)),k>t))return!1;if(t<S||t===S&&(h.kind===1||l))return!0;if(s&&S===t){const w=fu(t,e,h);if(w&&s(w))return d=w,!0}return!1}}function B6e(e,t){let n=Os(e,t);for(;k9(n);){const s=tk(n,n.parent,e);if(!s)return;n=s}return n}function $z(e,t){const n=Os(e,t);return EC(n)&&t>n.getStart(e)&&t<n.getEnd()?n:fu(t,e)}function tk(e,t,n){return s(t);function s(l){return EC(l)&&l.pos===e.end?l:ze(l.getChildren(n),f=>(f.pos<=e.pos&&f.end>e.end||f.pos===e.end)&&xae(f,n)?s(f):void 0)}}function fu(e,t,n,s){const l=f(n||t);return R.assert(!(l&&k9(l))),l;function f(d){if(j6e(d)&&d.kind!==1)return d;const g=d.getChildren(t),h=hC(g,e,(S,w)=>w,(S,w)=>e<g[S].end?!g[S-1]||e>=g[S-1].end?0:1:-1);if(h>=0&&g[h]){const S=g[h];if(e<S.end)if(S.getStart(t,!s)>=e||!xae(S,t)||k9(S)){const O=vae(g,h,t,d.kind);return O&&yae(O,t)}else return f(S)}R.assert(n!==void 0||d.kind===308||d.kind===1||bK(d));const k=vae(g,g.length,t,d.kind);return k&&yae(k,t)}}function j6e(e){return EC(e)&&!k9(e)}function yae(e,t){if(j6e(e))return e;const n=e.getChildren(t);if(n.length===0)return e;const s=vae(n,n.length,t,e.kind);return s&&yae(s,t)}function vae(e,t,n,s){for(let l=t-1;l>=0;l--){const f=e[l];if(k9(f))l===0&&(s===11||s===282)&&R.fail("`JsxText` tokens should not be the first child of `JsxElement | JsxSelfClosingElement`");else if(xae(e[l],n))return e[l]}}function rk(e,t,n=fu(t,e)){if(n&&lK(n)){const s=n.getStart(e),l=n.getEnd();if(s<t&&t<l)return!0;if(t===l)return!!n.isUnterminated}return!1}function J6e(e,t){const n=Os(e,t);return n?!!(n.kind===11||n.kind===29&&n.parent.kind===11||n.kind===29&&n.parent.kind===291||n&&n.kind===19&&n.parent.kind===291||n.kind===29&&n.parent.kind===284):!1}function k9(e){return tw(e)&&e.containsOnlyTriviaWhiteSpaces}function bae(e,t){const n=Os(e,t);return uv(n.kind)&&t>n.getStart(e)}function U6e(e,t){const n=Os(e,t);return!!(tw(n)||n.kind===18&&oD(n.parent)&&s1(n.parent.parent)||n.kind===29&&Hf(n.parent)&&s1(n.parent.parent))}function qz(e,t){function n(s){for(;s;)if(s.kind>=282&&s.kind<=291||s.kind===11||s.kind===29||s.kind===31||s.kind===79||s.kind===19||s.kind===18||s.kind===43)s=s.parent;else if(s.kind===281){if(t>s.getStart(e))return!0;s=s.parent}else return!1;return!1}return n(Os(e,t))}function Wz(e,t,n){const s=qa(e.kind),l=qa(t),f=e.getFullStart(),d=n.text.lastIndexOf(l,f);if(d===-1)return;if(n.text.lastIndexOf(s,f-1)<d){const k=fu(d+1,n);if(k&&k.kind===t)return k}const g=e.kind;let h=0;for(;;){const k=fu(e.getFullStart(),n);if(!k)return;if(e=k,e.kind===t){if(h===0)return e;h--}else e.kind===g&&h++}}function z6e(e,t,n){return t?e.getNonNullableType():n?e.getNonOptionalType():e}function C9(e,t,n){const s=Sae(e,t);return s!==void 0&&(Mg(s.called)||Tae(s.called,s.nTypeArguments,n).length!==0||C9(s.called,t,n))}function Tae(e,t,n){let s=n.getTypeAtLocation(e);return cf(e.parent)&&(s=z6e(s,QA(e.parent),!0)),(NT(e.parent)?s.getConstructSignatures():s.getCallSignatures()).filter(f=>!!f.typeParameters&&f.typeParameters.length>=t)}function Sae(e,t){if(t.text.lastIndexOf("<",e?e.pos:t.text.length)===-1)return;let n=e,s=0,l=0;for(;n;){switch(n.kind){case 29:if(n=fu(n.getFullStart(),t),n&&n.kind===28&&(n=fu(n.getFullStart(),t)),!n||!Ye(n))return;if(!s)return By(n)?void 0:{called:n,nTypeArguments:l};s--;break;case 49:s=3;break;case 48:s=2;break;case 31:s++;break;case 19:if(n=Wz(n,18,t),!n)return;break;case 21:if(n=Wz(n,20,t),!n)return;break;case 23:if(n=Wz(n,22,t),!n)return;break;case 27:l++;break;case 38:case 79:case 10:case 8:case 9:case 110:case 95:case 112:case 94:case 141:case 24:case 51:case 57:case 58:break;default:if(ps(n))break;return}n=fu(n.getFullStart(),t)}}function l1(e,t,n){return _u.getRangeOfEnclosingComment(e,t,void 0,n)}function V6e(e,t){const n=Os(e,t);return!!kn(n,ig)}function xae(e,t){return e.kind===1?!!e.jsDoc:e.getWidth(t)!==0}function jD(e,t=0){const n=[],s=lf(e)?GZ(e)&~t:0;return s&8&&n.push("private"),s&16&&n.push("protected"),s&4&&n.push("public"),(s&32||fl(e))&&n.push("static"),s&256&&n.push("abstract"),s&1&&n.push("export"),s&8192&&n.push("deprecated"),e.flags&16777216&&n.push("declare"),e.kind===274&&n.push("export"),n.length>0?n.join(","):""}function $6e(e){if(e.kind===180||e.kind===210)return e.typeArguments;if(Sa(e)||e.kind===260||e.kind===261)return e.typeParameters}function Hz(e){return e===2||e===3}function kae(e){return!!(e===10||e===13||uv(e))}function q6e(e){if(!e.isIntersection())return!1;const{types:t,checker:n}=e;return t.length===2&&t[0].flags&4&&n.isEmptyAnonymousObjectType(t[1])}function W6e(e){return 18<=e&&e<=78}function w9(e,t,n){return uv(e.kind)&&e.getStart(n)<t&&t<e.end||!!e.isUnterminated&&t===e.end}function Cae(e){switch(e){case 123:case 121:case 122:return!0}return!1}function H6e(e){const t=pY(e);return Qre(t,e&&e.configFile),t}function u1(e){return!!((e.kind===206||e.kind===207)&&(e.parent.kind===223&&e.parent.left===e&&e.parent.operatorToken.kind===63||e.parent.kind===247&&e.parent.initializer===e||u1(e.parent.kind===299?e.parent.parent:e.parent)))}function G6e(e,t){return Q6e(e,t,!0)}function X6e(e,t){return Q6e(e,t,!1)}function Q6e(e,t,n){const s=l1(e,t,void 0);return!!s&&n===N4e.test(e.text.substring(s.pos,s.end))}function wae(e){if(e)switch(e.kind){case 10:case 14:return Eae(e);default:return Zf(e)}}function Zf(e,t,n){return eu(e.getStart(t),(n||e).getEnd())}function Eae(e){if(!e.isUnterminated)return eu(e.getStart()+1,e.getEnd()-1)}function Aae(e,t){return yd(e.getStart(t),e.end)}function Dv(e){return eu(e.pos,e.end)}function Gz(e){return yd(e.start,e.start+e.length)}function Xz(e,t,n){return E9(hu(e,t),n)}function E9(e,t){return{span:e,newText:t}}function JD(e){return xt(xV,e)}function Pae(e){return e.kind===154}function Qz(e){return Pae(e)||Ye(e)&&e.text==="type"}function A9(e){return!!(e.flags&1536)&&e.name.charCodeAt(0)===34}function z4(){const e=[];return t=>{const n=Wo(t);return!e[n]&&(e[n]=!0)}}function Yz(e){return e.getText(0,e.getLength())}function P9(e,t){let n="";for(let s=0;s<t;s++)n+=e;return n}function Dae(e){return e.isTypeParameter()&&e.getConstraint()||e}function D9(e){return e.kind===164?Zp(e.expression)?e.expression.text:void 0:as(e)?ai(e):Vd(e)}function Y6e(e){return e.getSourceFiles().some(t=>!t.isDeclarationFile&&!e.isSourceFileFromExternalLibrary(t)&&!!(t.externalModuleIndicator||t.commonJsModuleIndicator))}function Z6e(e){return e.getSourceFiles().some(t=>!t.isDeclarationFile&&!e.isSourceFileFromExternalLibrary(t)&&!!t.externalModuleIndicator)}function Nae(e){return!!e.module||Io(e)>=2||!!e.noEmit}function ww(e,t){return{fileExists:n=>e.fileExists(n),getCurrentDirectory:()=>t.getCurrentDirectory(),readFile:ho(t,t.readFile),useCaseSensitiveFileNames:ho(t,t.useCaseSensitiveFileNames),getSymlinkCache:ho(t,t.getSymlinkCache)||e.getSymlinkCache,getModuleSpecifierCache:ho(t,t.getModuleSpecifierCache),getPackageJsonInfoCache:()=>{var n;return(n=e.getModuleResolutionCache())==null?void 0:n.getPackageJsonInfoCache()},getGlobalTypingsCacheLocation:ho(t,t.getGlobalTypingsCacheLocation),redirectTargetsMap:e.redirectTargetsMap,getProjectReferenceRedirect:n=>e.getProjectReferenceRedirect(n),isSourceOfProjectReferenceRedirect:n=>e.isSourceOfProjectReferenceRedirect(n),getNearestAncestorDirectoryWithPackageJson:ho(t,t.getNearestAncestorDirectoryWithPackageJson),getFileIncludeReasons:()=>e.getFileIncludeReasons()}}function Iae(e,t){return{...ww(e,t),getCommonSourceDirectory:()=>e.getCommonSourceDirectory()}}function Zz(e){return e===2||e>=3&&e<=99||e===100}function K6e(e,t,n,s){return e||t&&t.length?f1(e,t,n,s):void 0}function f1(e,t,n,s,l){return J.createImportDeclaration(void 0,e||t?J.createImportClause(!!l,e,t&&t.length?J.createNamedImports(t):void 0):void 0,typeof n=="string"?Kz(n,s):n,void 0)}function Kz(e,t){return J.createStringLiteral(e,t===0)}function Oae(e,t){return hj(e,t)?1:0}function wm(e,t){if(t.quotePreference&&t.quotePreference!=="auto")return t.quotePreference==="single"?0:1;{const n=e.imports&&He(e.imports,s=>yo(s)&&!Mc(s.parent));return n?Oae(n,e):1}}function e4e(e){switch(e){case 0:return"'";case 1:return'"';default:return R.assertNever(e)}}function eV(e){const t=tV(e);return t===void 0?void 0:Ds(t)}function tV(e){return e.escapedName!=="default"?e.escapedName:ze(e.declarations,t=>{const n=ra(t);return n&&n.kind===79?n.escapedText:void 0})}function rV(e){return sc(e)&&(ng(e.parent)||Nu(e.parent)||v_(e.parent,!1)&&e.parent.arguments[0]===e||up(e.parent)&&e.parent.arguments[0]===e)}function N9(e){return qo(e)&&tg(e.parent)&&Ye(e.name)&&!e.propertyName}function nV(e,t){const n=e.getTypeAtLocation(t.parent);return n&&e.getPropertyOfType(n,t.name.text)}function I9(e,t,n){if(e)for(;e.parent;){if(bs(e.parent)||!Art(n,e.parent,t))return e;e=e.parent}}function Art(e,t,n){return WZ(e,t.getStart(n))&&t.getEnd()<=Wu(e)}function V4(e,t){return Qd(e)?He(e.modifiers,n=>n.kind===t):void 0}function iV(e,t,n,s,l){const d=(pa(n)?n[0]:n).kind===240?ree:vx,g=hr(t.statements,d);let h=pa(n)?Kd.detectImportDeclarationSorting(n,l):3;const k=Kd.getOrganizeImportsComparer(l,h===2),S=pa(n)?U0(n,(w,N)=>Kd.compareImportsOrRequireStatements(w,N,k)):[n];if(!g.length)e.insertNodesAtTopOfFile(t,S,s);else if(g&&(h=Kd.detectImportDeclarationSorting(g,l))){const w=Kd.getOrganizeImportsComparer(l,h===2);for(const N of S){const O=Kd.getImportDeclarationInsertionIndex(g,N,w);if(O===0){const L=g[0]===t.statements[0]?{leadingTriviaOption:Jn.LeadingTriviaOption.Exclude}:{};e.insertNodeBefore(t,g[0],N,!1,L)}else{const L=g[O-1];e.insertNodeAfter(t,L,N)}}}else{const w=Rc(g);w?e.insertNodesAfter(t,w,S):e.insertNodesAtTopOfFile(t,S,s)}}function Lae(e,t){return R.assert(e.isTypeOnly),Oa(e.getChildAt(0,t),Pae)}function $4(e,t){return!!e&&!!t&&e.start===t.start&&e.length===t.length}function Prt(e,t){return e.fileName===t.fileName&&$4(e.textSpan,t.textSpan)}function Mae(e,t){if(e){for(let n=0;n<e.length;n++)if(e.indexOf(e[n])===n){const s=t(e[n],n);if(s)return s}}}function t4e(e,t,n){for(let s=t;s<n;s++)if(!Dy(e.charCodeAt(s)))return!1;return!0}function O9(e,t,n){const s=t.tryGetSourcePosition(e);return s&&(!n||n(Co(s.fileName))?s:void 0)}function Fae(e,t,n){const{fileName:s,textSpan:l}=e,f=O9({fileName:s,pos:l.start},t,n);if(!f)return;const d=O9({fileName:s,pos:l.start+l.length},t,n),g=d?d.pos-f.pos:l.length;return{fileName:f.fileName,textSpan:{start:f.pos,length:g},originalFileName:e.fileName,originalTextSpan:e.textSpan,contextSpan:r4e(e,t,n),originalContextSpan:e.contextSpan}}function r4e(e,t,n){const s=e.contextSpan&&O9({fileName:e.fileName,pos:e.contextSpan.start},t,n),l=e.contextSpan&&O9({fileName:e.fileName,pos:e.contextSpan.start+e.contextSpan.length},t,n);return s&&l?{start:s.pos,length:l.pos-s.pos}:void 0}function Rae(e){const t=e.declarations?Ru(e.declarations):void 0;return!!kn(t,n=>ua(n)?!0:qo(n)||tg(n)||m4(n)?!1:"quit")}function Drt(){const e=F5*10;let t,n,s,l;S();const f=w=>g(w,17);return{displayParts:()=>{const w=t.length&&t[t.length-1].text;return l>e&&w&&w!=="..."&&(Dy(w.charCodeAt(w.length-1))||t.push(x_(" ",16)),t.push(x_("...",15))),t},writeKeyword:w=>g(w,5),writeOperator:w=>g(w,12),writePunctuation:w=>g(w,15),writeTrailingSemicolon:w=>g(w,15),writeSpace:w=>g(w,16),writeStringLiteral:w=>g(w,8),writeParameter:w=>g(w,13),writeProperty:w=>g(w,14),writeLiteral:w=>g(w,8),writeSymbol:h,writeLine:k,write:f,writeComment:f,getText:()=>"",getTextPos:()=>0,getColumn:()=>0,getLine:()=>0,isAtStartOfLine:()=>!1,hasTrailingWhitespace:()=>!1,hasTrailingComment:()=>!1,rawWrite:ga,getIndent:()=>s,increaseIndent:()=>{s++},decreaseIndent:()=>{s--},clear:S};function d(){if(!(l>e)&&n){const w=Ej(s);w&&(l+=w.length,t.push(x_(w,16))),n=!1}}function g(w,N){l>e||(d(),l+=w.length,t.push(x_(w,N)))}function h(w,N){l>e||(d(),l+=w.length,t.push(n4e(w,N)))}function k(){l>e||(l+=1,t.push(q4()),n=!0)}function S(){t=[],n=!0,s=0,l=0}}function n4e(e,t){return x_(e,n(t));function n(s){const l=s.flags;return l&3?Rae(s)?13:9:l&4||l&32768||l&65536?14:l&8?19:l&16?20:l&32?1:l&64?4:l&384?2:l&1536?11:l&8192?10:l&262144?18:l&524288||l&2097152?0:17}}function x_(e,t){return{text:e,kind:h9[t]}}function nl(){return x_(" ",16)}function z_(e){return x_(qa(e),5)}function _f(e){return x_(qa(e),15)}function UD(e){return x_(qa(e),12)}function i4e(e){return x_(e,13)}function s4e(e){return x_(e,14)}function Bae(e){const t=ux(e);return t===void 0?Mp(e):z_(t)}function Mp(e){return x_(e,17)}function a4e(e){return x_(e,0)}function o4e(e){return x_(e,18)}function sV(e){return x_(e,24)}function c4e(e,t){return{text:e,kind:h9[23],target:{fileName:bn(t).fileName,textSpan:Zf(t)}}}function jae(e){return x_(e,22)}function l4e(e,t){var n;const s=rxe(e)?"link":nxe(e)?"linkcode":"linkplain",l=[jae(`{@${s} `)];if(!e.name)e.text&&l.push(sV(e.text));else{const f=t==null?void 0:t.getSymbolAtLocation(e.name),d=Irt(e.text),g=lu(e.name)+e.text.slice(0,d),h=Nrt(e.text.slice(d)),k=(f==null?void 0:f.valueDeclaration)||((n=f==null?void 0:f.declarations)==null?void 0:n[0]);k?(l.push(c4e(g,k)),h&&l.push(sV(h))):l.push(sV(g+(d?"":" ")+h))}return l.push(jae("}")),l}function Nrt(e){let t=0;if(e.charCodeAt(t++)===124){for(;t<e.length&&e.charCodeAt(t)===32;)t++;return e.slice(t)}return e}function Irt(e){let t=e.indexOf("://");if(t===0){for(;t<e.length&&e.charCodeAt(t)!==124;)t++;return t}if(e.indexOf("()")===0)return 2;if(e.charAt(0)==="<"){let n=0,s=0;for(;s<e.length;)if(e[s]==="<"&&n++,e[s]===">"&&n--,s++,!n)return s}return 0}function Zb(e,t){var n;return(t==null?void 0:t.newLineCharacter)||((n=e.getNewLine)==null?void 0:n.call(e))||I4e}function q4(){return x_(`
`,6)}function Nv(e){try{return e(kV),kV.displayParts()}finally{kV.clear()}}function L9(e,t,n,s=0){return Nv(l=>{e.writeType(t,n,s|1024|16384,l)})}function zD(e,t,n,s,l=0){return Nv(f=>{e.writeSymbol(t,n,s,l|8,f)})}function Jae(e,t,n,s=0){return s|=25632,Nv(l=>{e.writeSignature(t,n,s,void 0,l)})}function Ort(e,t){const n=t.getSourceFile();return Nv(s=>{t9().writeNode(4,e,n,s)})}function u4e(e){return!!e.parent&&AC(e.parent)&&e.parent.propertyName===e}function Uae(e,t){return Wj(e,t.getScriptKind&&t.getScriptKind(e))}function f4e(e,t){let n=e;for(;Lrt(n)||qh(n)&&n.links.target;)qh(n)&&n.links.target?n=n.links.target:n=fp(n,t);return n}function Lrt(e){return(e.flags&2097152)!==0}function _4e(e,t){return Ha(fp(e,t))}function p4e(e,t){for(;Dy(e.charCodeAt(t));)t+=1;return t}function zae(e,t){for(;t>-1&&zh(e.charCodeAt(t));)t-=1;return t+1}function pl(e,t=!0){const n=e&&d4e(e);return n&&!t&&V_(n),n}function M9(e,t,n){let s=n(e);return s?di(s,e):s=d4e(e,n),s&&!t&&V_(s),s}function d4e(e,t){const n=t?f=>M9(f,!0,t):pl,l=an(e,n,qy,t?f=>f&&Vae(f,!0,t):f=>f&&WT(f),n);if(l===e){const f=yo(e)?di(J.createStringLiteralFromNode(e),e):Td(e)?di(J.createNumericLiteral(e.text,e.numericLiteralFlags),e):J.cloneNode(e);return Et(f,e)}return l.parent=void 0,l}function WT(e,t=!0){return e&&J.createNodeArray(e.map(n=>pl(n,t)),e.hasTrailingComma)}function Vae(e,t,n){return J.createNodeArray(e.map(s=>M9(s,t,n)),e.hasTrailingComma)}function V_(e){aV(e),m4e(e)}function aV(e){$ae(e,1024,Frt)}function m4e(e){$ae(e,2048,$ee)}function nk(e,t){const n=e.getSourceFile(),s=n.text;Mrt(e,s)?W4(e,t,n):R9(e,t,n),VD(e,t,n)}function Mrt(e,t){const n=e.getFullStart(),s=e.getStart();for(let l=n;l<s;l++)if(t.charCodeAt(l)===10)return!0;return!1}function $ae(e,t,n){ih(e,t);const s=n(e);s&&$ae(s,t,n)}function Frt(e){return e.forEachChild(t=>t)}function ik(e,t){let n=e;for(let s=1;!WB(t,n);s++)n=`${e}_${s}`;return n}function F9(e,t,n,s){let l=0,f=-1;for(const{fileName:d,textChanges:g}of e){R.assert(d===t);for(const h of g){const{span:k,newText:S}=h,w=Rrt(S,UC(n));if(w!==-1&&(f=k.start+l+w,!s))return f;l+=S.length-k.length}}return R.assert(s),R.assert(f>=0),f}function W4(e,t,n,s,l){c7(n.text,e.pos,qae(t,n,s,l,q5))}function VD(e,t,n,s,l){l7(n.text,e.end,qae(t,n,s,l,cJ))}function R9(e,t,n,s,l){l7(n.text,e.pos,qae(t,n,s,l,q5))}function qae(e,t,n,s,l){return(f,d,g,h)=>{g===3?(f+=2,d-=2):f+=2,l(e,n||g,t.text.slice(f,d),s!==void 0?s:h)}}function Rrt(e,t){if(Qs(e,t))return 0;let n=e.indexOf(" "+t);return n===-1&&(n=e.indexOf("."+t)),n===-1&&(n=e.indexOf('"'+t)),n===-1?-1:n+1}function Wae(e){return $n(e)&&e.operatorToken.kind===27||cc(e)||tO(e)&&cc(e.expression)}function oV(e,t,n){const s=mv(e.parent);switch(s.kind){case 211:return t.getContextualType(s,n);case 223:{const{left:l,operatorToken:f,right:d}=s;return cV(f.kind)?t.getTypeAtLocation(e===d?l:d):t.getContextualType(e,n)}case 292:return Gae(s,t);default:return t.getContextualType(e,n)}}function $D(e,t,n){const s=wm(e,t),l=JSON.stringify(n);return s===0?`'${$d(l).replace(/'/g,"\\'").replace(/\\"/g,'"')}'`:l}function cV(e){switch(e){case 36:case 34:case 37:case 35:return!0;default:return!1}}function h4e(e){switch(e.kind){case 10:case 14:case 225:case 212:return!0;default:return!1}}function Hae(e){return!!e.getStringIndexType()||!!e.getNumberIndexType()}function Gae(e,t){return t.getTypeAtLocation(e.parent.parent.expression)}function qD(e,t,n,s){const l=n.getTypeChecker();let f=!0;const d=()=>f=!1,g=l.typeToTypeNode(e,t,1,{trackSymbol:(h,k,S)=>(f=f&&l.isSymbolAccessible(h,k,S,!1).accessibility===0,!f),reportInaccessibleThisError:d,reportPrivateInBaseOfClassExpression:d,reportInaccessibleUniqueSymbolError:d,moduleResolverHost:Iae(n,s)});return f?g:void 0}function Xae(e){return e===176||e===177||e===178||e===168||e===170}function g4e(e){return e===259||e===173||e===171||e===174||e===175}function y4e(e){return e===264}function lV(e){return e===240||e===241||e===243||e===248||e===249||e===250||e===254||e===256||e===169||e===262||e===269||e===268||e===275||e===267||e===274}function Brt(e,t){const n=e.getLastToken(t);if(n&&n.kind===26)return!1;if(Xae(e.kind)){if(n&&n.kind===27)return!1}else if(y4e(e.kind)){const g=ko(e.getChildren(t));if(g&&ah(g))return!1}else if(g4e(e.kind)){const g=ko(e.getChildren(t));if(g&&Tx(g))return!1}else if(!lV(e.kind))return!1;if(e.kind===243)return!0;const s=kn(e,g=>!g.parent),l=tk(e,s,t);if(!l||l.kind===19)return!0;const f=t.getLineAndCharacterOfPosition(e.getEnd()).line,d=t.getLineAndCharacterOfPosition(l.getStart(t)).line;return f!==d}function uV(e,t,n){const s=kn(t,l=>l.end!==e?"quit":aoe(l.kind));return!!s&&Brt(s,n)}function fV(e){let t=0,n=0;const s=5;return ca(e,function l(f){if(lV(f.kind)){const d=f.getLastToken(e);(d==null?void 0:d.kind)===26?t++:n++}else if(Xae(f.kind)){const d=f.getLastToken(e);if((d==null?void 0:d.kind)===26)t++;else if(d&&d.kind!==27){const g=zc(e,d.getStart(e)).line,h=zc(e,Y0(e,d.end).start).line;g!==h&&n++}}return t+n>=s?!0:ca(f,l)}),t===0&&n<=1?!0:t/n>1/s}function _V(e,t){return hV(e,e.getDirectories,t)||[]}function Qae(e,t,n,s,l){return hV(e,e.readDirectory,t,n,s,l)||pt}function pV(e,t){return hV(e,e.fileExists,t)}function dV(e,t){return mV(()=>th(t,e))||!1}function mV(e){try{return e()}catch{return}}function hV(e,t,...n){return mV(()=>t&&t.apply(e,n))}function Yae(e,t,n){const s=[];return Ay(e,l=>{if(l===n)return!0;const f=_s(l,"package.json");pV(t,f)&&s.push(f)}),s}function v4e(e,t){let n;return Ay(e,s=>{if(s==="node_modules"||(n=Zwe(s,l=>pV(t,l),"package.json"),n))return!0}),n}function b4e(e,t){if(!t.fileExists)return[];const n=[];return Ay($i(e),s=>{const l=_s(s,"package.json");if(t.fileExists(l)){const f=T4e(l,t);f&&n.push(f)}}),n}function T4e(e,t){if(!t.readFile)return;const n=["dependencies","devDependencies","optionalDependencies","peerDependencies"],s=t.readFile(e)||"",l=jrt(s),f={};if(l)for(const h of n){const k=l[h];if(!k)continue;const S=new Map;for(const w in k)S.set(w,k[w]);f[h]=S}const d=[[1,f.dependencies],[2,f.devDependencies],[8,f.optionalDependencies],[4,f.peerDependencies]];return{...f,parseable:!!l,fileName:e,get:g,has(h,k){return!!g(h,k)}};function g(h,k=15){for(const[S,w]of d)if(w&&k&S){const N=w.get(h);if(N!==void 0)return N}}}function WD(e,t,n){const s=(n.getPackageJsonsVisibleToFile&&n.getPackageJsonsVisibleToFile(e.fileName)||b4e(e.fileName,n)).filter(L=>L.parseable);let l,f,d;return{allowsImportingAmbientModule:h,allowsImportingSourceFile:k,allowsImportingSpecifier:S};function g(L){const U=O(L);for(const M of s)if(M.has(U)||M.has(OU(U)))return!0;return!1}function h(L,U){if(!s.length||!L.valueDeclaration)return!0;if(!f)f=new Map;else{const ue=f.get(L);if(ue!==void 0)return ue}const M=$d(L.getName());if(w(M))return f.set(L,!0),!0;const W=L.valueDeclaration.getSourceFile(),X=N(W.fileName,U);if(typeof X>"u")return f.set(L,!0),!0;const Z=g(X)||g(M);return f.set(L,Z),Z}function k(L,U){if(!s.length)return!0;if(!d)d=new Map;else{const X=d.get(L);if(X!==void 0)return X}const M=N(L.fileName,U);if(!M)return d.set(L,!0),!0;const W=g(M);return d.set(L,W),W}function S(L){return!s.length||w(L)||wp(L)||Jh(L)?!0:g(L)}function w(L){return!!(Gf(e)&&Zx.nodeCoreModules.has(L)&&(l===void 0&&(l=gV(e)),l))}function N(L,U){if(!nf(L,"node_modules"))return;const M=BT.getNodeModulesPackageName(n.getCompilationSettings(),e,L,U,t);if(M&&!wp(M)&&!Jh(M))return O(M)}function O(L){const U=t_(zO(L)).slice(1);return Qs(U[0],"@")?`${U[0]}/${U[1]}`:U[0]}}function jrt(e){try{return JSON.parse(e)}catch{return}}function gV(e){return Oe(e.imports,({text:t})=>Zx.nodeCoreModules.has(t))}function S4e(e){return xt(t_(e),"node_modules")}function Zae(e){return e.file!==void 0&&e.start!==void 0&&e.length!==void 0}function x4e(e,t){const n=Zf(e),s=hC(t,n,Zc,UR);if(s>=0){const l=t[s];return R.assertEqual(l.file,e.getSourceFile(),"Diagnostics proided to 'findDiagnosticForNode' must be from a single SourceFile"),Oa(l,Zae)}}function k4e(e,t){var n;let s=hC(t,e.start,d=>d.start,Cc);for(s<0&&(s=~s);((n=t[s-1])==null?void 0:n.start)===e.start;)s--;const l=[],f=Wu(e);for(;;){const d=Pi(t[s],Zae);if(!d||d.start>f)break;Vve(e,d)&&l.push(d),s++}return l}function Ew({startPosition:e,endPosition:t}){return eu(e,t===void 0?e:t)}function Kae(e,t){const n=Os(e,t.start);return kn(n,l=>l.getStart(e)<t.start||l.getEnd()>Wu(t)?"quit":Dt(l)&&$4(t,Zf(l,e)))}function C4e(e,t,n=Zc){return e?pa(e)?n(qt(e,t)):t(e,0):void 0}function eoe(e){return pa(e)?Uo(e):e}function w4e(e,t){if(E4e(e)){const n=A4e(e);if(n)return n;const s=Ff.moduleSymbolToValidIdentifier(toe(e),t,!1),l=Ff.moduleSymbolToValidIdentifier(toe(e),t,!0);return s===l?s:[s,l]}return e.name}function yV(e,t,n){return E4e(e)?A4e(e)||Ff.moduleSymbolToValidIdentifier(toe(e),t,!!n):e.name}function E4e(e){return!(e.flags&33554432)&&(e.escapedName==="export="||e.escapedName==="default")}function A4e(e){return ze(e.declarations,t=>{var n,s;return Tl(t)?(n=Pi(uf(t.expression),Ye))==null?void 0:n.text:(s=Pi(ra(t),Ye))==null?void 0:s.text})}function toe(e){var t;return R.checkDefined(e.parent,`Symbol parent was undefined. Flags: ${R.formatSymbolFlags(e.flags)}. Declarations: ${(t=e.declarations)==null?void 0:t.map(n=>{const s=R.formatSyntaxKind(n.kind),l=Mn(n),{expression:f}=n;return(l?"[JS]":"")+s+(f?` (expression: ${R.formatSyntaxKind(f.kind)})`:"")}).join(", ")}.`)}function P4e(e,t,n){const s=t.length;if(s+n>e.length)return!1;for(let l=0;l<s;l++)if(t.charCodeAt(l)!==e.charCodeAt(l+n))return!1;return!0}function roe(e){return e.charCodeAt(0)===95}function Jrt(e){return!D4e(e)}function D4e(e){const t=e.getSourceFile();return!t.externalModuleIndicator&&!t.commonJsModuleIndicator?!1:Mn(e)||!kn(e,n=>Pl(n)&&Km(n))}function vV(e){return!!(GZ(e)&8192)}function bV(e,t){const n=ze(e.imports,s=>{if(Zx.nodeCoreModules.has(s.text))return Qs(s.text,"node:")});return n??t.usesUriStyleNodeCoreModules}function B9(e){return e===`
`?1:0}function Aw(e){return pa(e)?jg(uo(e[0]),e.slice(1)):uo(e)}function TV({options:e},t){const n=!e.semicolons||e.semicolons==="ignore",s=e.semicolons==="remove"||n&&!fV(t);return{...e,semicolons:s?"remove":"ignore"}}function noe(e){return e===2||e===3}function HD(e,t){return e.isSourceFileFromExternalLibrary(t)||e.isSourceFileDefaultLibrary(t)}function SV(e,t){const n=new Set,s=new Set,l=new Set;for(const g of t)if(!oO(g)){const h=xc(g.expression);if(px(h))switch(h.kind){case 14:case 10:n.add(h.text);break;case 8:s.add(parseInt(h.text));break;case 9:const k=WTe(Ul(h.text,"n")?h.text.slice(0,-1):h.text);k&&l.add(AT(k));break}else{const k=e.getSymbolAtLocation(g.expression);if(k&&k.valueDeclaration&&LT(k.valueDeclaration)){const S=e.getConstantValue(k.valueDeclaration);S!==void 0&&f(S)}}}return{addValue:f,hasValue:d};function f(g){switch(typeof g){case"string":n.add(g);break;case"number":s.add(g)}}function d(g){switch(typeof g){case"string":return n.has(g);case"number":return s.has(g);case"object":return l.has(AT(g))}}}var pf,ioe,N4e,xV,soe,kV,I4e,CV,aoe,Urt=p({"src/services/utilities.ts"(){Si(),pf=q0(99,!0),ioe=(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))(ioe||{}),N4e=/^\/\/\/\s*</,xV=[131,129,160,134,95,138,141,144,104,148,149,146,152,153,110,114,155,156,157],soe=(e=>(e[e.Single=0]="Single",e[e.Double=1]="Double",e))(soe||{}),kV=Drt(),I4e=`
`,CV="anonymous function",aoe=jh(Xae,g4e,y4e,lV)}});function O4e(e){let t=1;const n=dd(),s=new Map,l=new Map;let f;const d={isUsableByFile:O=>O===f,isEmpty:()=>!n.size,clear:()=>{n.clear(),s.clear(),f=void 0},add:(O,L,U,M,W,X,Z,ue)=>{O!==f&&(d.clear(),f=O);let ie;if(W){const Pe=dte(W.fileName);if(Pe){const{topLevelNodeModulesIndex:le,topLevelPackageNameIndex:ot,packageRootIndex:Qe}=Pe;if(ie=LU(zO(W.fileName.substring(ot+1,Qe))),Qs(O,W.path.substring(0,le))){const Ge=l.get(ie),tt=W.fileName.substring(0,ot+1);if(Ge){const Je=Ge.indexOf(a1);le>Je&&l.set(ie,tt)}else l.set(ie,tt)}}}const V=X===1&&Q6(L)||L,ve=X===0||A9(V)?Ds(U):w4e(V,void 0),fe=typeof ve=="string"?ve:ve[0],Ce=typeof ve=="string"?void 0:ve[1],_e=$d(M.name),K=t++,ge=fp(L,ue),Se=L.flags&33554432?void 0:L,we=M.flags&33554432?void 0:M;(!Se||!we)&&s.set(K,[L,M]),n.add(h(fe,L,wu(_e)?void 0:_e,ue),{id:K,symbolTableKey:U,symbolName:fe,capitalizedSymbolName:Ce,moduleName:_e,moduleFile:W,moduleFileName:W==null?void 0:W.fileName,packageName:ie,exportKind:X,targetFlags:ge.flags,isFromPackageJson:Z,symbol:Se,moduleSymbol:we})},get:(O,L)=>{if(O!==f)return;const U=n.get(L);return U==null?void 0:U.map(g)},search:(O,L,U,M)=>{if(O===f)return cp(n,(W,X)=>{const{symbolName:Z,ambientModuleName:ue}=k(X),ie=L&&W[0].capitalizedSymbolName||Z;if(U(ie,W[0].targetFlags)){const V=W.map(g).filter((ve,fe)=>N(ve,W[fe].packageName));if(V.length){const ve=M(V,ie,!!ue,X);if(ve!==void 0)return ve}}})},releaseSymbols:()=>{s.clear()},onFileChanged:(O,L,U)=>S(O)&&S(L)?!1:f&&f!==L.path||U&&gV(O)!==gV(L)||!Oc(O.moduleAugmentations,L.moduleAugmentations)||!w(O,L)?(d.clear(),!0):(f=L.path,!1)};return R.isDebugging&&Object.defineProperty(d,"__cache",{get:()=>n}),d;function g(O){if(O.symbol&&O.moduleSymbol)return O;const{id:L,exportKind:U,targetFlags:M,isFromPackageJson:W,moduleFileName:X}=O,[Z,ue]=s.get(L)||pt;if(Z&&ue)return{symbol:Z,moduleSymbol:ue,moduleFileName:X,exportKind:U,targetFlags:M,isFromPackageJson:W};const ie=(W?e.getPackageJsonAutoImportProvider():e.getCurrentProgram()).getTypeChecker(),se=O.moduleSymbol||ue||R.checkDefined(O.moduleFile?ie.getMergedSymbol(O.moduleFile.symbol):ie.tryFindAmbientModule(O.moduleName)),V=O.symbol||Z||R.checkDefined(U===2?ie.resolveExternalModuleSymbol(se):ie.tryGetMemberInModuleExportsAndProperties(Ds(O.symbolTableKey),se),`Could not find symbol '${O.symbolName}' by key '${O.symbolTableKey}' in module ${se.name}`);return s.set(L,[V,se]),{symbol:V,moduleSymbol:se,moduleFileName:X,exportKind:U,targetFlags:M,isFromPackageJson:W}}function h(O,L,U,M){const W=U||"";return`${O}|${Ha(fp(L,M))}|${W}`}function k(O){const L=O.substring(0,O.indexOf("|")),U=O.substring(O.lastIndexOf("|")+1);return{symbolName:L,ambientModuleName:U===""?void 0:U}}function S(O){return!O.commonJsModuleIndicator&&!O.externalModuleIndicator&&!O.moduleAugmentations&&!O.ambientModuleNames}function w(O,L){if(!Oc(O.ambientModuleNames,L.ambientModuleNames))return!1;let U=-1,M=-1;for(const W of L.ambientModuleNames){const X=Z=>MK(Z)&&Z.name.text===W;if(U=ar(O.statements,X,U+1),M=ar(L.statements,X,M+1),O.statements[U]!==L.statements[M])return!1}return!0}function N(O,L){if(!L||!O.moduleFileName)return!0;const U=e.getGlobalTypingsCacheLocation();if(U&&Qs(O.moduleFileName,U))return!0;const M=l.get(L);return!M||Qs(O.moduleFileName,M)}}function ooe(e,t,n,s,l,f,d){var g;if(t===n)return!1;const h=d==null?void 0:d.get(t.path,n.path,s,{});if((h==null?void 0:h.isBlockedByPackageJsonDependencies)!==void 0)return!h.isBlockedByPackageJsonDependencies;const k=Ub(f),S=(g=f.getGlobalTypingsCacheLocation)==null?void 0:g.call(f),w=!!BT.forEachFileNameOfModule(t.fileName,n.fileName,f,!1,N=>{const O=e.getSourceFile(N);return(O===n||!O)&&zrt(t.fileName,N,k,S)});if(l){const N=w&&l.allowsImportingSourceFile(n,f);return d==null||d.setBlockedByPackageJsonDependencies(t.path,n.path,s,{},!N),N}return w}function zrt(e,t,n,s){const l=Ay(t,d=>sf(d)==="node_modules"?d:void 0),f=l&&$i(n(l));return f===void 0||Qs(n(e),f)||!!s&&Qs(n(s),f)}function coe(e,t,n,s,l){var f,d;const g=p5(t),h=n.autoImportFileExcludePatterns&&fr(n.autoImportFileExcludePatterns,S=>{const w=tte(S,"","exclude");return w?vv(w,g):void 0});L4e(e.getTypeChecker(),e.getSourceFiles(),h,(S,w)=>l(S,w,e,!1));const k=s&&((f=t.getPackageJsonAutoImportProvider)==null?void 0:f.call(t));if(k){const S=Jc(),w=e.getTypeChecker();L4e(k.getTypeChecker(),k.getSourceFiles(),h,(N,O)=>{(O&&!e.getSourceFile(O.fileName)||!O&&!w.resolveName(N.name,void 0,1536,!1))&&l(N,O,k,!0)}),(d=t.log)==null||d.call(t,`forEachExternalModuleToImportFrom autoImportProvider: ${Jc()-S}`)}}function L4e(e,t,n,s){var l;const f=n&&(d=>n.some(g=>g.test(d)));for(const d of e.getAmbientModules())!nf(d.name,"*")&&!(n&&((l=d.declarations)!=null&&l.every(g=>f(g.getSourceFile().fileName))))&&s(d,void 0);for(const d of t)lp(d)&&!(f!=null&&f(d.fileName))&&s(e.getMergedSymbol(d.symbol),d)}function j9(e,t,n,s,l){var f,d,g,h,k;const S=Jc();(f=t.getPackageJsonAutoImportProvider)==null||f.call(t);const w=((d=t.getCachedExportInfoMap)==null?void 0:d.call(t))||O4e({getCurrentProgram:()=>n,getPackageJsonAutoImportProvider:()=>{var L;return(L=t.getPackageJsonAutoImportProvider)==null?void 0:L.call(t)},getGlobalTypingsCacheLocation:()=>{var L;return(L=t.getGlobalTypingsCacheLocation)==null?void 0:L.call(t)}});if(w.isUsableByFile(e.path))return(g=t.log)==null||g.call(t,"getExportInfoMap: cache hit"),w;(h=t.log)==null||h.call(t,"getExportInfoMap: cache miss or empty; calculating new results");const N=n.getCompilerOptions();let O=0;try{coe(n,t,s,!0,(L,U,M,W)=>{++O%100===0&&(l==null||l.throwIfCancellationRequested());const X=new Map,Z=M.getTypeChecker(),ue=wV(L,Z,N);ue&&M4e(ue.symbol,Z)&&w.add(e.path,ue.symbol,ue.exportKind===1?"default":"export=",L,U,ue.exportKind,W,Z),Z.forEachExportAndPropertyOfModule(L,(ie,se)=>{ie!==(ue==null?void 0:ue.symbol)&&M4e(ie,Z)&&Tm(X,se)&&w.add(e.path,ie,se,L,U,0,W,Z)})})}catch(L){throw w.clear(),L}return(k=t.log)==null||k.call(t,`getExportInfoMap: done in ${Jc()-S} ms`),w}function wV(e,t,n){const s=Vrt(e,t);if(!s)return;const{symbol:l,exportKind:f}=s,d=EV(l,t,n);return d&&{symbol:l,exportKind:f,...d}}function M4e(e,t){return!t.isUndefinedSymbol(e)&&!t.isUnknownSymbol(e)&&!a5(e)&&!R2e(e)}function Vrt(e,t){const n=t.resolveExternalModuleSymbol(e);if(n!==e)return{symbol:n,exportKind:2};const s=t.tryGetMemberInModuleExports("default",e);if(s)return{symbol:s,exportKind:1}}function EV(e,t,n){const s=Q6(e);if(s)return{resolvedSymbol:s,name:s.name};const l=$rt(e);if(l!==void 0)return{resolvedSymbol:e,name:l};if(e.flags&2097152){const f=t.getImmediateAliasedSymbol(e);if(f&&f.parent)return EV(f,t,n)}return e.escapedName!=="default"&&e.escapedName!=="export="?{resolvedSymbol:e,name:e.getName()}:{resolvedSymbol:e,name:yV(e,n.target)}}function $rt(e){return e.declarations&&ze(e.declarations,t=>{var n;if(Tl(t))return(n=Pi(uf(t.expression),Ye))==null?void 0:n.text;if(i_(t))return R.assert(t.name.text==="default","Expected the specifier to be a default export"),t.propertyName&&t.propertyName.text})}var loe,uoe,qrt=p({"src/services/exportInfoMap.ts"(){Si(),loe=(e=>(e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.Namespace=2]="Namespace",e[e.CommonJS=3]="CommonJS",e))(loe||{}),uoe=(e=>(e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.ExportEquals=2]="ExportEquals",e[e.UMD=3]="UMD",e))(uoe||{})}});function F4e(){const e=q0(99,!1);function t(s,l,f){return Grt(n(s,l,f),s)}function n(s,l,f){let d=0,g=0;const h=[],{prefix:k,pushTemplate:S}=Yrt(l);s=k+s;const w=k.length;S&&h.push(15),e.setText(s);let N=0;const O=[];let L=0;do{d=e.scan(),q6(d)||(U(),g=d);const M=e.getTextPos();if(Hrt(e.getTokenPos(),M,w,ent(d),O),M>=s.length){const W=Wrt(e,d,Rc(h));W!==void 0&&(N=W)}}while(d!==1);function U(){switch(d){case 43:case 68:!z4e[g]&&e.reScanSlashToken()===13&&(d=13);break;case 29:g===79&&L++;break;case 31:L>0&&L--;break;case 131:case 152:case 148:case 134:case 153:L>0&&!f&&(d=79);break;case 15:h.push(d);break;case 18:h.length>0&&h.push(d);break;case 19:if(h.length>0){const M=Rc(h);M===15?(d=e.reScanTemplateToken(!1),d===17?h.pop():R.assertEqual(d,16,"Should have been a template middle.")):(R.assertEqual(M,18,"Should have been an open brace"),h.pop())}break;default:if(!b_(d))break;(g===24||b_(g)&&b_(d)&&!Qrt(g,d))&&(d=79)}}return{endOfLineState:N,spans:O}}return{getClassificationsForLine:t,getEncodedLexicalClassifications:n}}function Wrt(e,t,n){switch(t){case 10:{if(!e.isUnterminated())return;const s=e.getTokenText(),l=s.length-1;let f=0;for(;s.charCodeAt(l-f)===92;)f++;return f&1?s.charCodeAt(0)===34?3:2:void 0}case 3:return e.isUnterminated()?1:void 0;default:if(uv(t)){if(!e.isUnterminated())return;switch(t){case 17:return 5;case 14:return 4;default:return R.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+t)}}return n===15?6:void 0}}function Hrt(e,t,n,s,l){if(s===8)return;e===0&&n>0&&(e+=n);const f=t-e;f>0&&l.push(e-n,f,s)}function Grt(e,t){const n=[],s=e.spans;let l=0;for(let d=0;d<s.length;d+=3){const g=s[d],h=s[d+1],k=s[d+2];if(l>=0){const S=g-l;S>0&&n.push({length:S,classification:4})}n.push({length:h,classification:Xrt(k)}),l=g+h}const f=t.length-l;return f>0&&n.push({length:f,classification:4}),{entries:n,finalLexState:e.endOfLineState}}function Xrt(e){switch(e){case 1:return 3;case 3:return 1;case 4:return 6;case 25:return 7;case 5:return 2;case 6:return 8;case 8:return 4;case 10:return 0;case 2:case 11:case 12:case 13:case 14:case 15:case 16:case 9:case 17:return 5;default:return}}function Qrt(e,t){if(!Cae(e))return!0;switch(t){case 137:case 151:case 135:case 124:case 127:return!0;default:return!1}}function Yrt(e){switch(e){case 3:return{prefix:`"\\
`};case 2:return{prefix:`'\\
`};case 1:return{prefix:`/*
`};case 4:return{prefix:"`\n"};case 5:return{prefix:`}
`,pushTemplate:!0};case 6:return{prefix:"",pushTemplate:!0};case 0:return{prefix:""};default:return R.assertNever(e)}}function Zrt(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 128:case 150:case 34:case 35:case 36:case 37:case 50:case 52:case 51:case 55:case 56:case 74:case 73:case 78:case 70:case 71:case 72:case 64:case 65:case 66:case 68:case 69:case 63:case 27:case 60:case 75:case 76:case 77:return!0;default:return!1}}function Krt(e){switch(e){case 39:case 40:case 54:case 53:case 45:case 46:return!0;default:return!1}}function ent(e){if(b_(e))return 3;if(Zrt(e)||Krt(e))return 5;if(e>=18&&e<=78)return 10;switch(e){case 8:return 4;case 9:return 25;case 10:return 6;case 13:return 7;case 7:case 3:case 2:return 1;case 5:case 4:return 8;case 79:default:return uv(e)?6:2}}function R4e(e,t,n,s,l){return J4e(foe(e,t,n,s,l))}function B4e(e,t){switch(t){case 264:case 260:case 261:case 259:case 228:case 215:case 216:e.throwIfCancellationRequested()}}function foe(e,t,n,s,l){const f=[];return n.forEachChild(function g(h){if(!(!h||!wB(l,h.pos,h.getFullWidth()))){if(B4e(t,h.kind),Ye(h)&&!cl(h)&&s.has(h.escapedText)){const k=e.getSymbolAtLocation(h),S=k&&j4e(k,Kx(h),e);S&&d(h.getStart(n),h.getEnd(),S)}h.forEachChild(g)}}),{spans:f,endOfLineState:0};function d(g,h,k){const S=h-g;R.assert(S>0,`Classification had non-positive length of ${S}`),f.push(g),f.push(S),f.push(k)}}function j4e(e,t,n){const s=e.getFlags();if(s&2885600)return s&32?11:s&384?12:s&524288?16:s&1536?t&4||t&1&&tnt(e)?14:void 0:s&2097152?j4e(n.getAliasedSymbol(e),t,n):t&2?s&64?13:s&262144?15:void 0:void 0}function tnt(e){return Oe(e.declarations,t=>Pl(t)&&$y(t)===1)}function rnt(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 J4e(e){R.assert(e.spans.length%3===0);const t=e.spans,n=[];for(let s=0;s<t.length;s+=3)n.push({textSpan:hu(t[s],t[s+1]),classificationType:rnt(t[s+2])});return n}function U4e(e,t,n){return J4e(_oe(e,t,n))}function _oe(e,t,n){const s=n.start,l=n.length,f=q0(99,!1,t.languageVariant,t.text),d=q0(99,!1,t.languageVariant,t.text),g=[];return ue(t),{spans:g,endOfLineState:0};function h(ie,se,V){g.push(ie),g.push(se),g.push(V)}function k(ie){for(f.setTextPos(ie.pos);;){const se=f.getTextPos();if(!Eve(t.text,se))return se;const V=f.scan(),ve=f.getTextPos(),fe=ve-se;if(!q6(V))return se;switch(V){case 4:case 5:continue;case 2:case 3:S(ie,V,se,fe),f.setTextPos(ve);continue;case 7:const Ce=t.text,_e=Ce.charCodeAt(se);if(_e===60||_e===62){h(se,fe,1);continue}R.assert(_e===124||_e===61),U(Ce,se,ve);break;case 6:break;default:R.assertNever(V)}}}function S(ie,se,V,ve){if(se===3){const fe=Hxe(t.text,V,ve);if(fe&&fe.jsDoc){go(fe.jsDoc,ie),N(fe.jsDoc);return}}else if(se===2&&O(V,ve))return;w(V,ve)}function w(ie,se){h(ie,se,1)}function N(ie){var se,V,ve,fe,Ce,_e,K,ge;let Se=ie.pos;if(ie.tags)for(const Pe of ie.tags){Pe.pos!==Se&&w(Se,Pe.pos-Se),h(Pe.pos,1,10),h(Pe.tagName.pos,Pe.tagName.end-Pe.tagName.pos,18),Se=Pe.tagName.end;let le=Pe.tagName.end;switch(Pe.kind){case 344:const ot=Pe;we(ot),le=ot.isNameFirst&&((se=ot.typeExpression)==null?void 0:se.end)||ot.name.end;break;case 351:const Qe=Pe;le=Qe.isNameFirst&&((V=Qe.typeExpression)==null?void 0:V.end)||Qe.name.end;break;case 348:L(Pe),Se=Pe.end,le=Pe.typeParameters.end;break;case 349:const Ge=Pe;le=((ve=Ge.typeExpression)==null?void 0:ve.kind)===312&&((fe=Ge.fullName)==null?void 0:fe.end)||((Ce=Ge.typeExpression)==null?void 0:Ce.end)||le;break;case 341:le=Pe.typeExpression.end;break;case 347:ue(Pe.typeExpression),Se=Pe.end,le=Pe.typeExpression.end;break;case 346:case 343:le=Pe.typeExpression.end;break;case 345:ue(Pe.typeExpression),Se=Pe.end,le=((_e=Pe.typeExpression)==null?void 0:_e.end)||le;break;case 350:le=((K=Pe.name)==null?void 0:K.end)||le;break;case 331:case 332:le=Pe.class.end;break;case 352:ue(Pe.typeExpression),Se=Pe.end,le=((ge=Pe.typeExpression)==null?void 0:ge.end)||le;break}typeof Pe.comment=="object"?w(Pe.comment.pos,Pe.comment.end-Pe.comment.pos):typeof Pe.comment=="string"&&w(le,Pe.end-le)}Se!==ie.end&&w(Se,ie.end-Se);return;function we(Pe){Pe.isNameFirst&&(w(Se,Pe.name.pos-Se),h(Pe.name.pos,Pe.name.end-Pe.name.pos,17),Se=Pe.name.end),Pe.typeExpression&&(w(Se,Pe.typeExpression.pos-Se),ue(Pe.typeExpression),Se=Pe.typeExpression.end),Pe.isNameFirst||(w(Se,Pe.name.pos-Se),h(Pe.name.pos,Pe.name.end-Pe.name.pos,17),Se=Pe.name.end)}}function O(ie,se){const V=/^(\/\/\/\s*)(<)(?:(\S+)((?:[^/]|\/[^>])*)(\/>)?)?/im,ve=/(\s)(\S+)(\s*)(=)(\s*)('[^']+'|"[^"]+")/img,fe=t.text.substr(ie,se),Ce=V.exec(fe);if(!Ce||!Ce[3]||!(Ce[3]in HI))return!1;let _e=ie;w(_e,Ce[1].length),_e+=Ce[1].length,h(_e,Ce[2].length,10),_e+=Ce[2].length,h(_e,Ce[3].length,21),_e+=Ce[3].length;const K=Ce[4];let ge=_e;for(;;){const we=ve.exec(K);if(!we)break;const Pe=_e+we.index+we[1].length;Pe>ge&&(w(ge,Pe-ge),ge=Pe),h(ge,we[2].length,22),ge+=we[2].length,we[3].length&&(w(ge,we[3].length),ge+=we[3].length),h(ge,we[4].length,5),ge+=we[4].length,we[5].length&&(w(ge,we[5].length),ge+=we[5].length),h(ge,we[6].length,24),ge+=we[6].length}_e+=Ce[4].length,_e>ge&&w(ge,_e-ge),Ce[5]&&(h(_e,Ce[5].length,10),_e+=Ce[5].length);const Se=ie+se;return _e<Se&&w(_e,Se-_e),!0}function L(ie){for(const se of ie.getChildren())ue(se)}function U(ie,se,V){let ve;for(ve=se;ve<V&&!af(ie.charCodeAt(ve));ve++);for(h(se,ve-se,1),d.setTextPos(ve);d.getTextPos()<V;)M()}function M(){const ie=d.getTextPos(),se=d.scan(),V=d.getTextPos(),ve=Z(se);ve&&h(ie,V-ie,ve)}function W(ie){if(ig(ie)||cl(ie))return!0;const se=X(ie);if(!EC(ie)&&ie.kind!==11&&se===void 0)return!1;const V=ie.kind===11?ie.pos:k(ie),ve=ie.end-V;if(R.assert(ve>=0),ve>0){const fe=se||Z(ie.kind,ie);fe&&h(V,ve,fe)}return!0}function X(ie){switch(ie.parent&&ie.parent.kind){case 283:if(ie.parent.tagName===ie)return 19;break;case 284:if(ie.parent.tagName===ie)return 20;break;case 282:if(ie.parent.tagName===ie)return 21;break;case 288:if(ie.parent.name===ie)return 22;break}}function Z(ie,se){if(b_(ie))return 3;if((ie===29||ie===31)&&se&&$6e(se.parent))return 10;if(W6e(ie)){if(se){const V=se.parent;if(ie===63&&(V.kind===257||V.kind===169||V.kind===166||V.kind===288)||V.kind===223||V.kind===221||V.kind===222||V.kind===224)return 5}return 10}else{if(ie===8)return 4;if(ie===9)return 25;if(ie===10)return se&&se.parent.kind===288?24:6;if(ie===13)return 6;if(uv(ie))return 6;if(ie===11)return 23;if(ie===79){if(se){switch(se.parent.kind){case 260:return se.parent.name===se?11:void 0;case 165:return se.parent.name===se?15:void 0;case 261:return se.parent.name===se?13:void 0;case 263:return se.parent.name===se?12:void 0;case 264:return se.parent.name===se?14:void 0;case 166:return se.parent.name===se?Px(se)?3:17:void 0}if(Iy(se.parent))return 3}return 2}}}function ue(ie){if(ie&&EB(s,l,ie.pos,ie.getFullWidth())){B4e(e,ie.kind);for(const se of ie.getChildren(t))W(se)||ue(se)}}}var z4e,nnt=p({"src/services/classifier.ts"(){Si(),z4e=A1e([79,10,8,9,13,108,45,46,21,23,19,110,95],e=>e,()=>!0)}}),AV,int=p({"src/services/documentHighlights.ts"(){Si(),(e=>{function t(_e,K,ge,Se,we){const Pe=Lp(ge,Se);if(Pe.parent&&(Wg(Pe.parent)&&Pe.parent.tagName===Pe||pw(Pe.parent))){const{openingElement:le,closingElement:ot}=Pe.parent.parent,Qe=[le,ot].map(({tagName:Ge})=>n(Ge,ge));return[{fileName:ge.fileName,highlightSpans:Qe}]}return s(Se,Pe,_e,K,we)||l(Pe,ge)}e.getDocumentHighlights=t;function n(_e,K){return{fileName:K.fileName,textSpan:Zf(_e,K),kind:"none"}}function s(_e,K,ge,Se,we){const Pe=new Set(we.map(Ge=>Ge.fileName)),le=Wc.getReferenceEntriesForNode(_e,K,ge,we,Se,void 0,Pe);if(!le)return;const ot=FI(le.map(Wc.toHighlightSpan),Ge=>Ge.fileName,Ge=>Ge.span),Qe=qu(ge.useCaseSensitiveFileNames());return ao(ji(ot.entries(),([Ge,tt])=>{if(!Pe.has(Ge)){if(!ge.redirectTargetsMap.has(wc(Ge,ge.getCurrentDirectory(),Qe)))return;const Je=ge.getSourceFile(Ge);Ge=He(we,st=>!!st.redirectInfo&&st.redirectInfo.redirectTarget===Je).fileName,R.assert(Pe.has(Ge))}return{fileName:Ge,highlightSpans:tt}}))}function l(_e,K){const ge=f(_e,K);return ge&&[{fileName:K.fileName,highlightSpans:ge}]}function f(_e,K){switch(_e.kind){case 99:case 91:return Fx(_e.parent)?ve(_e.parent,K):void 0;case 105:return Se(_e.parent,Sm,ue);case 109:return Se(_e.parent,lre,Z);case 111:case 83:case 96:const Pe=_e.kind===83?_e.parent.parent:_e.parent;return Se(Pe,iO,X);case 107:return Se(_e.parent,nO,W);case 82:case 88:return oO(_e.parent)||cD(_e.parent)?Se(_e.parent.parent.parent,nO,W):void 0;case 81:case 86:return Se(_e.parent,ZA,M);case 97:case 115:case 90:return Se(_e.parent,le=>fv(le,!0),U);case 135:return ge(Al,[135]);case 137:case 151:return ge(Mb,[137,151]);case 133:return Se(_e.parent,g4,ie);case 132:return we(ie(_e));case 125:return we(se(_e));case 101:return;default:return G0(_e.kind)&&(lf(_e.parent)||Xl(_e.parent))?we(N(_e.kind,_e.parent)):void 0}function ge(Pe,le){return Se(_e.parent,Pe,ot=>{var Qe;return fr((Qe=Pi(ot,Vh))==null?void 0:Qe.symbol.declarations,Ge=>Pe(Ge)?He(Ge.getChildren(K),tt=>xt(le,tt.kind)):void 0)})}function Se(Pe,le,ot){return le(Pe)?we(ot(Pe,K)):void 0}function we(Pe){return Pe&&Pe.map(le=>n(le,K))}}function d(_e){return lre(_e)?[_e]:iO(_e)?Cr(_e.catchClause?d(_e.catchClause):_e.tryBlock&&d(_e.tryBlock),_e.finallyBlock&&d(_e.finallyBlock)):Sa(_e)?void 0:k(_e,d)}function g(_e){let K=_e;for(;K.parent;){const ge=K.parent;if(Tx(ge)||ge.kind===308)return ge;if(iO(ge)&&ge.tryBlock===K&&ge.catchClause)return K;K=ge}}function h(_e){return ZA(_e)?[_e]:Sa(_e)?void 0:k(_e,h)}function k(_e,K){const ge=[];return _e.forEachChild(Se=>{const we=K(Se);we!==void 0&&ge.push(...RI(we))}),ge}function S(_e,K){const ge=w(K);return!!ge&&ge===_e}function w(_e){return kn(_e,K=>{switch(K.kind){case 252:if(_e.kind===248)return!1;case 245:case 246:case 247:case 244:case 243:return!_e.label||Ce(K,_e.label.escapedText);default:return Sa(K)&&"quit"}})}function N(_e,K){return fr(O(K,qC(_e)),ge=>V4(ge,_e))}function O(_e,K){const ge=_e.parent;switch(ge.kind){case 265:case 308:case 238:case 292:case 293:return K&256&&vu(_e)?[..._e.members,_e]:ge.statements;case 173:case 171:case 259:return[...ge.parameters,...Ri(ge.parent)?ge.parent.members:[]];case 260:case 228:case 261:case 184:const Se=ge.members;if(K&92){const we=He(ge.members,Al);if(we)return[...Se,...we.parameters]}else if(K&256)return[...Se,ge];return Se;case 207:return;default:R.assertNever(ge,"Invalid container kind.")}}function L(_e,K,...ge){return K&&xt(ge,K.kind)?(_e.push(K),!0):!1}function U(_e){const K=[];if(L(K,_e.getFirstToken(),97,115,90)&&_e.kind===243){const ge=_e.getChildren();for(let Se=ge.length-1;Se>=0&&!L(K,ge[Se],115);Se--);}return Q(h(_e.statement),ge=>{S(_e,ge)&&L(K,ge.getFirstToken(),81,86)}),K}function M(_e){const K=w(_e);if(K)switch(K.kind){case 245:case 246:case 247:case 243:case 244:return U(K);case 252:return W(K)}}function W(_e){const K=[];return L(K,_e.getFirstToken(),107),Q(_e.caseBlock.clauses,ge=>{L(K,ge.getFirstToken(),82,88),Q(h(ge),Se=>{S(_e,Se)&&L(K,Se.getFirstToken(),81)})}),K}function X(_e,K){const ge=[];if(L(ge,_e.getFirstToken(),111),_e.catchClause&&L(ge,_e.catchClause.getFirstToken(),83),_e.finallyBlock){const Se=Yo(_e,96,K);L(ge,Se,96)}return ge}function Z(_e,K){const ge=g(_e);if(!ge)return;const Se=[];return Q(d(ge),we=>{Se.push(Yo(we,109,K))}),Tx(ge)&&bx(ge,we=>{Se.push(Yo(we,105,K))}),Se}function ue(_e,K){const ge=Pp(_e);if(!ge)return;const Se=[];return bx(Oa(ge.body,Fa),we=>{Se.push(Yo(we,105,K))}),Q(d(ge.body),we=>{Se.push(Yo(we,109,K))}),Se}function ie(_e){const K=Pp(_e);if(!K)return;const ge=[];return K.modifiers&&K.modifiers.forEach(Se=>{L(ge,Se,132)}),ca(K,Se=>{V(Se,we=>{g4(we)&&L(ge,we.getFirstToken(),133)})}),ge}function se(_e){const K=Pp(_e);if(!K)return;const ge=[];return ca(K,Se=>{V(Se,we=>{zJ(we)&&L(ge,we.getFirstToken(),125)})}),ge}function V(_e,K){K(_e),!Sa(_e)&&!Ri(_e)&&!Yf(_e)&&!Pl(_e)&&!sh(_e)&&!ps(_e)&&ca(_e,ge=>V(ge,K))}function ve(_e,K){const ge=fe(_e,K),Se=[];for(let we=0;we<ge.length;we++){if(ge[we].kind===91&&we<ge.length-1){const Pe=ge[we],le=ge[we+1];let ot=!0;for(let Qe=le.getStart(K)-1;Qe>=Pe.end;Qe--)if(!zh(K.text.charCodeAt(Qe))){ot=!1;break}if(ot){Se.push({fileName:K.fileName,textSpan:eu(Pe.getStart(),le.end),kind:"reference"}),we++;continue}}Se.push(n(ge[we],K))}return Se}function fe(_e,K){const ge=[];for(;Fx(_e.parent)&&_e.parent.elseStatement===_e;)_e=_e.parent;for(;;){const Se=_e.getChildren(K);L(ge,Se[0],99);for(let we=Se.length-1;we>=0&&!L(ge,Se[we],91);we--);if(!_e.elseStatement||!Fx(_e.elseStatement))break;_e=_e.elseStatement}return ge}function Ce(_e,K){return!!kn(_e.parent,ge=>IT(ge)?ge.label.escapedText===K:"quit")}})(AV||(AV={}))}});function PV(e){return!!e.sourceFile}function poe(e,t){return V4e(e,t)}function V4e(e,t="",n){const s=new Map,l=qu(!!e);function f(){const M=ao(s.keys()).filter(W=>W&&W.charAt(0)==="_").map(W=>{const X=s.get(W),Z=[];return X.forEach((ue,ie)=>{PV(ue)?Z.push({name:ie,scriptKind:ue.sourceFile.scriptKind,refCount:ue.languageServiceRefCount}):ue.forEach((se,V)=>Z.push({name:ie,scriptKind:V,refCount:se.languageServiceRefCount}))}),Z.sort((ue,ie)=>ie.refCount-ue.refCount),{bucket:W,sourceFiles:Z}});return JSON.stringify(M,void 0,2)}function d(M){return typeof M.getCompilationSettings=="function"?M.getCompilationSettings():M}function g(M,W,X,Z,ue,ie){const se=wc(M,t,l),V=DV(d(W));return h(M,se,W,V,X,Z,ue,ie)}function h(M,W,X,Z,ue,ie,se,V){return N(M,W,X,Z,ue,ie,!0,se,V)}function k(M,W,X,Z,ue,ie){const se=wc(M,t,l),V=DV(d(W));return S(M,se,W,V,X,Z,ue,ie)}function S(M,W,X,Z,ue,ie,se,V){return N(M,W,d(X),Z,ue,ie,!1,se,V)}function w(M,W){const X=PV(M)?M:M.get(R.checkDefined(W,"If there are more than one scriptKind's for same document the scriptKind should be provided"));return R.assert(W===void 0||!X||X.sourceFile.scriptKind===W,`Script kind should match provided ScriptKind:${W} and sourceFile.scriptKind: ${X==null?void 0:X.sourceFile.scriptKind}, !entry: ${!X}`),X}function N(M,W,X,Z,ue,ie,se,V,ve){var fe,Ce,_e,K;V=Wj(M,V);const ge=d(X),Se=X===ge?void 0:X,we=V===6?100:Io(ge),Pe=typeof ve=="object"?ve:{languageVersion:we,impliedNodeFormat:Se&&uz(W,(K=(_e=(Ce=(fe=Se.getCompilerHost)==null?void 0:fe.call(Se))==null?void 0:Ce.getModuleResolutionCache)==null?void 0:_e.call(Ce))==null?void 0:K.getPackageJsonInfoCache(),Se,ge),setExternalModuleIndicator:S5(ge)};Pe.languageVersion=we;const le=s.size,ot=$4e(Z,Pe.impliedNodeFormat),Qe=ei(s,ot,()=>new Map);if(Hi){s.size>le&&Hi.instant(Hi.Phase.Session,"createdDocumentRegistryBucket",{configFilePath:ge.configFilePath,key:ot});const qe=!s_(W)&&cp(s,(st,Ke)=>Ke!==ot&&st.has(W)&&Ke);qe&&Hi.instant(Hi.Phase.Session,"documentRegistryBucketOverlap",{path:W,key1:qe,key2:ot})}const Ge=Qe.get(W);let tt=Ge&&w(Ge,V);if(!tt&&n){const qe=n.getDocument(ot,W);qe&&(R.assert(se),tt={sourceFile:qe,languageServiceRefCount:0},Je())}if(tt)tt.sourceFile.version!==ie&&(tt.sourceFile=joe(tt.sourceFile,ue,ie,ue.getChangeRange(tt.sourceFile.scriptSnapshot)),n&&n.setDocument(ot,W,tt.sourceFile)),se&&tt.languageServiceRefCount++;else{const qe=zV(M,ue,Pe,ie,!1,V);n&&n.setDocument(ot,W,qe),tt={sourceFile:qe,languageServiceRefCount:1},Je()}return R.assert(tt.languageServiceRefCount!==0),tt.sourceFile;function Je(){if(!Ge)Qe.set(W,tt);else if(PV(Ge)){const qe=new Map;qe.set(Ge.sourceFile.scriptKind,Ge),qe.set(V,tt),Qe.set(W,qe)}else Ge.set(V,tt)}}function O(M,W,X,Z){const ue=wc(M,t,l),ie=DV(W);return L(ue,ie,X,Z)}function L(M,W,X,Z){const ue=R.checkDefined(s.get($4e(W,Z))),ie=ue.get(M),se=w(ie,X);se.languageServiceRefCount--,R.assert(se.languageServiceRefCount>=0),se.languageServiceRefCount===0&&(PV(ie)?ue.delete(M):(ie.delete(X),ie.size===1&&ue.set(M,Ue(ie.values(),Zc))))}function U(M,W){return ao(s.entries(),([X,Z])=>{const ue=Z.get(M),ie=ue&&w(ue,W);return[X,ie&&ie.languageServiceRefCount]})}return{acquireDocument:g,acquireDocumentWithKey:h,updateDocument:k,updateDocumentWithKey:S,releaseDocument:O,releaseDocumentWithKey:L,getLanguageServiceRefCounts:U,reportStats:f,getKeyForCompilationSettings:DV}}function DV(e){return yne(e,gU)}function $4e(e,t){return t?`${e}|${t}`:e}var snt=p({"src/services/documentRegistry.ts"(){Si()}});function q4e(e,t,n,s,l,f,d){const g=p5(s),h=qu(g),k=doe(t,n,h,d),S=doe(n,t,h,d);return Jn.ChangeTracker.with({host:s,formatContext:l,preferences:f},w=>{ont(e,w,k,t,n,s.getCurrentDirectory(),g),cnt(e,w,k,S,s,h)})}function doe(e,t,n,s){const l=n(e);return d=>{const g=s&&s.tryGetSourcePosition({fileName:d,pos:0}),h=f(g?g.fileName:d);return g?h===void 0?void 0:ant(g.fileName,h,d,n):h};function f(d){if(n(d)===l)return t;const g=Kee(d,l,n);return g===void 0?void 0:t+"/"+g}}function ant(e,t,n,s){const l=r7(e,t,s);return moe($i(n),l)}function ont(e,t,n,s,l,f,d){const{configFile:g}=e.getCompilerOptions();if(!g)return;const h=$i(g.fileName),k=uP(g);if(!k)return;hoe(k,(O,L)=>{switch(L){case"files":case"include":case"exclude":{if(S(O)||L!=="include"||!Nf(O.initializer))return;const M=fr(O.initializer.elements,X=>yo(X)?X.text:void 0);if(M.length===0)return;const W=RP(h,[],M,d,f);vv(R.checkDefined(W.includeFilePattern),d).test(s)&&!vv(R.checkDefined(W.includeFilePattern),d).test(l)&&t.insertNodeAfter(g,ko(O.initializer.elements),J.createStringLiteral(N(l)));return}case"compilerOptions":hoe(O.initializer,(U,M)=>{const W=Vre(M);R.assert((W==null?void 0:W.type)!=="listOrElement"),W&&(W.isFilePath||W.type==="list"&&W.element.isFilePath)?S(U):M==="paths"&&hoe(U.initializer,X=>{if(Nf(X.initializer))for(const Z of X.initializer.elements)w(Z)})});return}});function S(O){const L=Nf(O.initializer)?O.initializer.elements:[O.initializer];let U=!1;for(const M of L)U=w(M)||U;return U}function w(O){if(!yo(O))return!1;const L=moe(h,O.text),U=n(L);return U!==void 0?(t.replaceRangeWithText(g,H4e(O,g),N(U)),!0):!1}function N(O){return Uh(h,O,!d)}}function cnt(e,t,n,s,l,f){const d=e.getSourceFiles();for(const g of d){const h=n(g.fileName),k=h??g.fileName,S=$i(k),w=s(g.fileName),N=w||g.fileName,O=$i(N),L=h!==void 0||w!==void 0;fnt(g,t,U=>{if(!wp(U))return;const M=moe(O,U),W=n(M);return W===void 0?void 0:lT(Uh(S,W,f))},U=>{const M=e.getTypeChecker().getSymbolAtLocation(U);if(M!=null&&M.declarations&&M.declarations.some(X=>Af(X)))return;const W=w!==void 0?W4e(U,vD(U.text,N,e.getCompilerOptions(),l),n,d):unt(M,U,g,e,l,n);return W!==void 0&&(W.updated||L&&wp(U.text))?BT.updateModuleSpecifier(e.getCompilerOptions(),g,f(k),W.newFileName,ww(e,l),U.text):void 0})}}function lnt(e,t){return Co(_s(e,t))}function moe(e,t){return lT(lnt(e,t))}function unt(e,t,n,s,l,f){var d;if(e){const g=He(e.declarations,bs).fileName,h=f(g);return h===void 0?{newFileName:g,updated:!1}:{newFileName:h,updated:!0}}else{const g=km(n,t),h=l.resolveModuleNameLiterals||!l.resolveModuleNames?(d=n.resolvedModules)==null?void 0:d.get(t.text,g):l.getResolvedModuleWithFailedLookupLocationsFromCache&&l.getResolvedModuleWithFailedLookupLocationsFromCache(t.text,n.fileName,g);return W4e(t,h,f,s.getSourceFiles())}}function W4e(e,t,n,s){if(!t)return;if(t.resolvedModule){const h=g(t.resolvedModule.resolvedFileName);if(h)return h}const l=Q(t.failedLookupLocations,f)||wp(e.text)&&Q(t.failedLookupLocations,d);if(l)return l;return t.resolvedModule&&{newFileName:t.resolvedModule.resolvedFileName,updated:!1};function f(h){const k=n(h);return k&&He(s,S=>S.fileName===k)?d(h):void 0}function d(h){return Ul(h,"/package.json")?void 0:g(h)}function g(h){const k=n(h);return k&&{newFileName:k,updated:!0}}}function fnt(e,t,n,s){for(const l of e.referencedFiles||pt){const f=n(l.fileName);f!==void 0&&f!==e.text.slice(l.pos,l.end)&&t.replaceRangeWithText(e,l,f)}for(const l of e.imports){const f=s(l);f!==void 0&&f!==l.text&&t.replaceRangeWithText(e,H4e(l,e),f)}}function H4e(e,t){return yd(e.getStart(t)+1,e.end-1)}function hoe(e,t){if(cc(e))for(const n of e.properties)Iu(n)&&yo(n.name)&&t(n,n.name.text)}var _nt=p({"src/services/getEditsForFileRename.ts"(){Si()}});function J9(e,t){return{kind:e,isCaseSensitive:t}}function G4e(e){const t=new Map,n=e.trim().split(".").map(s=>hnt(s.trim()));if(!n.some(s=>!s.subWordTextChunks.length))return{getFullMatch:(s,l)=>pnt(s,l,n,t),getMatchForLastSegmentOfPattern:s=>goe(s,ko(n),t),patternContainsDots:n.length>1}}function pnt(e,t,n,s){if(!goe(t,ko(n),s)||n.length-1>e.length)return;let f;for(let d=n.length-2,g=e.length-1;d>=0;d-=1,g-=1)f=Y4e(f,goe(e[g],n[d],s));return f}function X4e(e,t){let n=t.get(e);return n||t.set(e,n=t3e(e)),n}function Q4e(e,t,n){const s=gnt(e,t.textLowerCase);if(s===0)return J9(t.text.length===e.length?0:1,Qs(e,t.text));if(t.isLowerCase){if(s===-1)return;const l=X4e(e,n);for(const f of l)if(yoe(e,f,t.text,!0))return J9(2,yoe(e,f,t.text,!1));if(t.text.length<e.length&&Pw(e.charCodeAt(s)))return J9(2,!1)}else{if(e.indexOf(t.text)>0)return J9(2,!0);if(t.characterSpans.length>0){const l=X4e(e,n),f=Z4e(e,l,t,!1)?!0:Z4e(e,l,t,!0)?!1:void 0;if(f!==void 0)return J9(3,f)}}}function goe(e,t,n){if(NV(t.totalTextChunk.text,f=>f!==32&&f!==42)){const f=Q4e(e,t.totalTextChunk,n);if(f)return f}const s=t.subWordTextChunks;let l;for(const f of s)l=Y4e(l,Q4e(e,f,n));return l}function Y4e(e,t){return hY([e,t],dnt)}function dnt(e,t){return e===void 0?1:t===void 0?-1:Cc(e.kind,t.kind)||iT(!e.isCaseSensitive,!t.isCaseSensitive)}function yoe(e,t,n,s,l={start:0,length:n.length}){return l.length<=t.length&&i3e(0,l.length,f=>mnt(n.charCodeAt(l.start+f),e.charCodeAt(t.start+f),s))}function mnt(e,t,n){return n?voe(e)===voe(t):e===t}function Z4e(e,t,n,s){const l=n.characterSpans;let f=0,d=0;for(;;){if(d===l.length)return!0;if(f===t.length)return!1;let g=t[f],h=!1;for(;d<l.length;d++){const k=l[d];if(h&&(!Pw(n.text.charCodeAt(l[d-1].start))||!Pw(n.text.charCodeAt(l[d].start)))||!yoe(e,g,n.text,s,k))break;h=!0,g=hu(g.start+k.length,g.length-k.length)}f++}}function hnt(e){return{totalTextChunk:Toe(e),subWordTextChunks:vnt(e)}}function Pw(e){if(e>=65&&e<=90)return!0;if(e<127||!vB(e,99))return!1;const t=String.fromCharCode(e);return t===t.toUpperCase()}function K4e(e){if(e>=97&&e<=122)return!0;if(e<127||!vB(e,99))return!1;const t=String.fromCharCode(e);return t===t.toLowerCase()}function gnt(e,t){const n=e.length-t.length;for(let s=0;s<=n;s++)if(NV(t,(l,f)=>voe(e.charCodeAt(f+s))===l))return s;return-1}function voe(e){return e>=65&&e<=90?97+(e-65):e<127?e:String.fromCharCode(e).toLowerCase().charCodeAt(0)}function boe(e){return e>=48&&e<=57}function ynt(e){return Pw(e)||K4e(e)||boe(e)||e===95||e===36}function vnt(e){const t=[];let n=0,s=0;for(let l=0;l<e.length;l++){const f=e.charCodeAt(l);ynt(f)?(s===0&&(n=l),s++):s>0&&(t.push(Toe(e.substr(n,s))),s=0)}return s>0&&t.push(Toe(e.substr(n,s))),t}function Toe(e){const t=e.toLowerCase();return{text:e,textLowerCase:t,isLowerCase:e===t,characterSpans:e3e(e)}}function e3e(e){return r3e(e,!1)}function t3e(e){return r3e(e,!0)}function r3e(e,t){const n=[];let s=0;for(let l=1;l<e.length;l++){const f=boe(e.charCodeAt(l-1)),d=boe(e.charCodeAt(l)),g=Tnt(e,t,l),h=t&&bnt(e,l,s);(Soe(e.charCodeAt(l-1))||Soe(e.charCodeAt(l))||f!==d||g||h)&&(n3e(e,s,l)||n.push(hu(s,l-s)),s=l)}return n3e(e,s,e.length)||n.push(hu(s,e.length-s)),n}function Soe(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 n3e(e,t,n){return NV(e,s=>Soe(s)&&s!==95,t,n)}function bnt(e,t,n){return t!==n&&t+1<e.length&&Pw(e.charCodeAt(t))&&K4e(e.charCodeAt(t+1))&&NV(e,Pw,n,t)}function Tnt(e,t,n){const s=Pw(e.charCodeAt(n-1));return Pw(e.charCodeAt(n))&&(!t||!s)}function i3e(e,t,n){for(let s=e;s<t;s++)if(!n(s))return!1;return!0}function NV(e,t,n=0,s=e.length){return i3e(n,s,l=>t(e.charCodeAt(l),l))}var IV,Snt=p({"src/services/patternMatcher.ts"(){Si(),IV=(e=>(e[e.exact=0]="exact",e[e.prefix=1]="prefix",e[e.substring=2]="substring",e[e.camelCase=3]="camelCase",e))(IV||{})}});function s3e(e,t=!0,n=!1){const s={languageVersion:1,pragmas:void 0,checkJsDirective:void 0,referencedFiles:[],typeReferenceDirectives:[],libReferenceDirectives:[],amdDependencies:[],hasNoDefaultLib:void 0,moduleName:void 0},l=[];let f,d,g,h=0,k=!1;function S(){return d=g,g=pf.scan(),g===18?h++:g===19&&h--,g}function w(){const ie=pf.getTokenValue(),se=pf.getTokenPos();return{fileName:ie,pos:se,end:se+ie.length}}function N(){f||(f=[]),f.push({ref:w(),depth:h})}function O(){l.push(w()),L()}function L(){h===0&&(k=!0)}function U(){let ie=pf.getToken();return ie===136?(ie=S(),ie===142&&(ie=S(),ie===10&&N()),!0):!1}function M(){if(d===24)return!1;let ie=pf.getToken();if(ie===100){if(ie=S(),ie===20){if(ie=S(),ie===10||ie===14)return O(),!0}else{if(ie===10)return O(),!0;if(ie===154&&pf.lookAhead(()=>{const V=pf.scan();return V!==158&&(V===41||V===18||V===79||b_(V))})&&(ie=S()),ie===79||b_(ie))if(ie=S(),ie===158){if(ie=S(),ie===10)return O(),!0}else if(ie===63){if(X(!0))return!0}else if(ie===27)ie=S();else return!0;if(ie===18){for(ie=S();ie!==19&&ie!==1;)ie=S();ie===19&&(ie=S(),ie===158&&(ie=S(),ie===10&&O()))}else ie===41&&(ie=S(),ie===128&&(ie=S(),(ie===79||b_(ie))&&(ie=S(),ie===158&&(ie=S(),ie===10&&O()))))}return!0}return!1}function W(){let ie=pf.getToken();if(ie===93){if(L(),ie=S(),ie===154&&pf.lookAhead(()=>{const V=pf.scan();return V===41||V===18})&&(ie=S()),ie===18){for(ie=S();ie!==19&&ie!==1;)ie=S();ie===19&&(ie=S(),ie===158&&(ie=S(),ie===10&&O()))}else if(ie===41)ie=S(),ie===158&&(ie=S(),ie===10&&O());else if(ie===100&&(ie=S(),ie===154&&pf.lookAhead(()=>{const V=pf.scan();return V===79||b_(V)})&&(ie=S()),(ie===79||b_(ie))&&(ie=S(),ie===63&&X(!0))))return!0;return!0}return!1}function X(ie,se=!1){let V=ie?S():pf.getToken();return V===147?(V=S(),V===20&&(V=S(),(V===10||se&&V===14)&&O()),!0):!1}function Z(){let ie=pf.getToken();if(ie===79&&pf.getTokenValue()==="define"){if(ie=S(),ie!==20)return!0;if(ie=S(),ie===10||ie===14)if(ie=S(),ie===27)ie=S();else return!0;if(ie!==22)return!0;for(ie=S();ie!==23&&ie!==1;)(ie===10||ie===14)&&O(),ie=S();return!0}return!1}function ue(){for(pf.setText(e),S();pf.getToken()!==1;){if(pf.getToken()===15){const ie=[pf.getToken()];e:for(;H(ie);){const se=pf.scan();switch(se){case 1:break e;case 100:M();break;case 15:ie.push(se);break;case 18:H(ie)&&ie.push(se);break;case 19:H(ie)&&(Rc(ie)===15?pf.reScanTemplateToken(!1)===17&&ie.pop():ie.pop());break}}S()}U()||M()||W()||n&&(X(!1,!0)||Z())||S()}pf.setText(void 0)}if(t&&ue(),Rre(s,e),Bre(s,La),k){if(f)for(const ie of f)l.push(ie.ref);return{referencedFiles:s.referencedFiles,typeReferenceDirectives:s.typeReferenceDirectives,libReferenceDirectives:s.libReferenceDirectives,importedFiles:l,isLibFile:!!s.hasNoDefaultLib,ambientExternalModules:void 0}}else{let ie;if(f)for(const se of f)se.depth===0?(ie||(ie=[]),ie.push(se.ref.fileName)):l.push(se.ref);return{referencedFiles:s.referencedFiles,typeReferenceDirectives:s.typeReferenceDirectives,libReferenceDirectives:s.libReferenceDirectives,importedFiles:l,isLibFile:!!s.hasNoDefaultLib,ambientExternalModules:ie}}}var xnt=p({"src/services/preProcess.ts"(){Si()}});function a3e(e){const t=qu(e.useCaseSensitiveFileNames()),n=e.getCurrentDirectory(),s=new Map,l=new Map;return{tryGetSourcePosition:g,tryGetGeneratedPosition:h,toLineColumnOffset:N,clearCache:O};function f(L){return wc(L,n,t)}function d(L,U){const M=f(L),W=l.get(M);if(W)return W;let X;if(e.getDocumentPositionMapper)X=e.getDocumentPositionMapper(L,U);else if(e.readFile){const Z=w(L);X=Z&&o3e({getSourceFileLike:w,getCanonicalFileName:t,log:ue=>e.log(ue)},L,GCe(Z.text,Py(Z)),ue=>!e.fileExists||e.fileExists(ue)?e.readFile(ue):void 0)}return l.set(M,X||GU),X||GU}function g(L){if(!s_(L.fileName)||!k(L.fileName))return;const M=d(L.fileName).getSourcePosition(L);return!M||M===L?void 0:g(M)||M}function h(L){if(s_(L.fileName))return;const U=k(L.fileName);if(!U)return;const M=e.getProgram();if(M.isSourceOfProjectReferenceRedirect(U.fileName))return;const W=M.getCompilerOptions(),X=Ec(W),Z=X?B_(X)+".d.ts":xee(L.fileName,M.getCompilerOptions(),n,M.getCommonSourceDirectory(),t);if(Z===void 0)return;const ue=d(Z,L.fileName).getGeneratedPosition(L);return ue===L?void 0:ue}function k(L){const U=e.getProgram();if(!U)return;const M=f(L),W=U.getSourceFileByPath(M);return W&&W.resolvedPath===M?W:void 0}function S(L){const U=f(L),M=s.get(U);if(M!==void 0)return M||void 0;if(!e.readFile||e.fileExists&&!e.fileExists(U)){s.set(U,!1);return}const W=e.readFile(U),X=W?knt(W):!1;return s.set(U,X),X||void 0}function w(L){return e.getSourceFileLike?e.getSourceFileLike(L):k(L)||S(L)}function N(L,U){return w(L).getLineAndCharacterOfPosition(U)}function O(){s.clear(),l.clear()}}function o3e(e,t,n,s){let l=XCe(n);if(l){const g=l3e.exec(l);if(g){if(g[1]){const h=g[1];return c3e(e,pTe(Bu,h),t)}l=void 0}}const f=[];l&&f.push(l),f.push(t+".map");const d=l&&oa(l,$i(t));for(const g of f){const h=oa(g,$i(t)),k=s(h,d);if(ha(k))return c3e(e,k,h);if(k!==void 0)return k||void 0}}function c3e(e,t,n){const s=Wne(t);if(!(!s||!s.sources||!s.file||!s.mappings)&&!(s.sourcesContent&&s.sourcesContent.some(ha)))return ewe(e,s,n)}function knt(e,t){return{text:e,lineMap:t,getLineAndCharacterOfPosition(n){return o7(Py(this),n)}}}var l3e,Cnt=p({"src/services/sourcemaps.ts"(){Si(),Si(),l3e=/^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/}});function xoe(e,t,n){t.getSemanticDiagnostics(e,n);const s=[],l=t.getTypeChecker();!(e.impliedNodeFormat===1||cu(e.fileName,[".cts",".cjs"]))&&e.commonJsModuleIndicator&&(Z6e(t)||Nae(t.getCompilerOptions()))&&wnt(e)&&s.push(ni(Dnt(e.commonJsModuleIndicator),v.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module));const d=Gf(e);if(LV.clear(),g(e),GC(t.getCompilerOptions()))for(const h of e.imports){const k=G7(h),S=Ent(k);if(!S)continue;const w=E6(e,h.text,km(e,h)),N=w&&t.getSourceFile(w.resolvedFileName);N&&N.externalModuleIndicator&&N.externalModuleIndicator!==!0&&Tl(N.externalModuleIndicator)&&N.externalModuleIndicator.isExportEquals&&s.push(ni(S,v.Import_may_be_converted_to_a_default_import))}return Oi(s,e.bindSuggestionDiagnostics),Oi(s,t.getSuggestionDiagnostics(e,n)),s.sort((h,k)=>h.start-k.start);function g(h){if(d)Int(h,l)&&s.push(ni(xs(h.parent)?h.parent.name:h,v.This_constructor_function_may_be_converted_to_a_class_declaration));else{if(Xl(h)&&h.parent===e&&h.declarationList.flags&2&&h.declarationList.declarations.length===1){const k=h.declarationList.declarations[0].initializer;k&&v_(k,!0)&&s.push(ni(k,v.require_call_may_be_converted_to_an_import))}Ff.parameterShouldGetTypeFromJSDoc(h)&&s.push(ni(h.name||h,v.JSDoc_types_may_be_moved_to_TypeScript_types))}woe(h)&&Ant(h,l,s),h.forEachChild(g)}}function wnt(e){return e.statements.some(t=>{switch(t.kind){case 240:return t.declarationList.declarations.some(n=>!!n.initializer&&v_(u3e(n.initializer),!0));case 241:{const{expression:n}=t;if(!$n(n))return v_(n,!0);const s=ll(n);return s===1||s===2}default:return!1}})}function u3e(e){return oi(e)?u3e(e.expression):e}function Ent(e){switch(e.kind){case 269:const{importClause:t,moduleSpecifier:n}=e;return t&&!t.name&&t.namedBindings&&t.namedBindings.kind===271&&yo(n)?t.namedBindings.name:void 0;case 268:return e.name;default:return}}function Ant(e,t,n){Pnt(e,t)&&!LV.has(d3e(e))&&n.push(ni(!e.name&&xs(e.parent)&&Ye(e.parent.name)?e.parent.name:e,v.This_may_be_converted_to_an_async_function))}function Pnt(e,t){return!W6(e)&&e.body&&Fa(e.body)&&Nnt(e.body,t)&&koe(e,t)}function koe(e,t){const n=t.getSignatureFromDeclaration(e),s=n?t.getReturnTypeOfSignature(n):void 0;return!!s&&!!t.getPromisedTypeOfPromise(s)}function Dnt(e){return $n(e)?e.left:e}function Nnt(e,t){return!!bx(e,n=>OV(n,t))}function OV(e,t){return Sm(e)&&!!e.expression&&Coe(e.expression,t)}function Coe(e,t){if(!f3e(e)||!_3e(e)||!e.arguments.every(s=>p3e(s,t)))return!1;let n=e.expression.expression;for(;f3e(n)||oi(n);)if(Da(n)){if(!_3e(n)||!n.arguments.every(s=>p3e(s,t)))return!1;n=n.expression.expression}else n=n.expression;return!0}function f3e(e){return Da(e)&&(y9(e,"then")||y9(e,"catch")||y9(e,"finally"))}function _3e(e){const t=e.expression.name.text,n=t==="then"?2:t==="catch"||t==="finally"?1:0;return e.arguments.length>n?!1:e.arguments.length<n?!0:n===1||Oe(e.arguments,s=>s.kind===104||Ye(s)&&s.text==="undefined")}function p3e(e,t){switch(e.kind){case 259:case 215:if(Au(e)&1)return!1;case 216:LV.set(d3e(e),!0);case 104:return!0;case 79:case 208:{const s=t.getSymbolAtLocation(e);return s?t.isUndefinedSymbol(s)||Oe(fp(s,t).declarations,l=>Sa(l)||pv(l)&&!!l.initializer&&Sa(l.initializer)):!1}default:return!1}}function d3e(e){return`${e.pos.toString()}:${e.end.toString()}`}function Int(e,t){var n,s,l,f;if(yc(e)){if(xs(e.parent)&&((n=e.symbol.members)!=null&&n.size))return!0;const d=t.getSymbolOfExpando(e,!1);return!!(d&&((s=d.exports)!=null&&s.size||(l=d.members)!=null&&l.size))}return ru(e)?!!((f=e.symbol.members)!=null&&f.size):!1}function woe(e){switch(e.kind){case 259:case 171:case 215:case 216:return!0;default:return!1}}var LV,Ont=p({"src/services/suggestionDiagnostics.ts"(){Si(),LV=new Map}});function m3e(e,t){const n=[],s=t.compilerOptions?Eoe(t.compilerOptions,n):{},l=UV();for(const N in l)mc(l,N)&&s[N]===void 0&&(s[N]=l[N]);for(const N of fne)s.verbatimModuleSyntax&&h3e.has(N.name)||(s[N.name]=N.transpileOptionValue);s.suppressOutputPathCheck=!0,s.allowNonTsExtensions=!0;const f=Vb(s),d={getSourceFile:N=>N===Co(g)?h:void 0,writeFile:(N,O)=>{Gl(N,".map")?(R.assertEqual(S,void 0,"Unexpected multiple source map outputs, file:",N),S=O):(R.assertEqual(k,void 0,"Unexpected multiple outputs, file:",N),k=O)},getDefaultLibFileName:()=>"lib.d.ts",useCaseSensitiveFileNames:()=>!1,getCanonicalFileName:N=>N,getCurrentDirectory:()=>"",getNewLine:()=>f,fileExists:N=>N===g,readFile:()=>"",directoryExists:()=>!0,getDirectories:()=>[]},g=t.fileName||(t.compilerOptions&&t.compilerOptions.jsx?"module.tsx":"module.ts"),h=vO(g,e,{languageVersion:Io(s),impliedNodeFormat:uz(wc(g,"",d.getCanonicalFileName),void 0,d,s),setExternalModuleIndicator:S5(s)});t.moduleName&&(h.moduleName=t.moduleName),t.renamedDependencies&&(h.renamedDependencies=new Map(Object.entries(t.renamedDependencies)));let k,S;const w=fz([g],s,d);return t.reportDiagnostics&&(Oi(n,w.getSyntacticDiagnostics(h)),Oi(n,w.getOptionsDiagnostics())),w.emit(void 0,void 0,void 0,void 0,t.transformers),k===void 0?R.fail("Output generation failed"):{outputText:k,diagnostics:n,sourceMapText:S}}function Lnt(e,t,n,s,l){const f=m3e(e,{compilerOptions:t,fileName:n,reportDiagnostics:!!s,moduleName:l});return Oi(s,f.diagnostics),f.outputText}function Eoe(e,t){Aoe=Aoe||hr(Vy,n=>typeof n.type=="object"&&!cp(n.type,s=>typeof s!="number")),e=H6e(e);for(const n of Aoe){if(!mc(e,n.name))continue;const s=e[n.name];ha(s)?e[n.name]=lU(n,s,t):cp(n.type,l=>l===s)||t.push(Jre(n))}return e}var h3e,Aoe,Mnt=p({"src/services/transpile.ts"(){Si(),h3e=new Set(["isolatedModules","preserveValueImports","importsNotUsedAsValues"])}});function g3e(e,t,n,s,l,f){const d=G4e(s);if(!d)return pt;const g=[];for(const h of e)n.throwIfCancellationRequested(),!(f&&h.isDeclarationFile)&&h.getNamedDeclarations().forEach((k,S)=>{Fnt(d,S,k,t,h.fileName,g)});return g.sort(Jnt),(l===void 0?g:g.slice(0,l)).map(Unt)}function Fnt(e,t,n,s,l,f){const d=e.getMatchForLastSegmentOfPattern(t);if(d){for(const g of n)if(Rnt(g,s))if(e.patternContainsDots){const h=e.getFullMatch(jnt(g),t);h&&f.push({name:t,fileName:l,matchKind:h.kind,isCaseSensitive:h.isCaseSensitive,declaration:g})}else f.push({name:t,fileName:l,matchKind:d.kind,isCaseSensitive:d.isCaseSensitive,declaration:g})}}function Rnt(e,t){switch(e.kind){case 270:case 273:case 268:const n=t.getSymbolAtLocation(e.name),s=t.getAliasedSymbol(n);return n.escapedName!==s.escapedName;default:return!0}}function Bnt(e,t){const n=ra(e);return!!n&&(y3e(n,t)||n.kind===164&&Poe(n.expression,t))}function Poe(e,t){return y3e(e,t)||oi(e)&&(t.push(e.name.text),!0)&&Poe(e.expression,t)}function y3e(e,t){return zd(e)&&(t.push(Vd(e)),!0)}function jnt(e){const t=[],n=ra(e);if(n&&n.kind===164&&!Poe(n.expression,t))return pt;t.shift();let s=ek(e);for(;s;){if(!Bnt(s,t))return pt;s=ek(s)}return t.reverse()}function Jnt(e,t){return Cc(e.matchKind,t.matchKind)||BI(e.name,t.name)}function Unt(e){const t=e.declaration,n=ek(t),s=n&&ra(n);return{name:e.name,kind:qT(t),kindModifiers:jD(t),matchKind:IV[e.matchKind],isCaseSensitive:e.isCaseSensitive,fileName:e.fileName,textSpan:Zf(t),containerName:s?s.text:"",containerKind:s?qT(n):""}}var znt=p({"src/services/navigateTo.ts"(){Si()}}),v3e={};T(v3e,{getNavigateToItems:()=>g3e});var b3e=p({"src/services/_namespaces/ts.NavigateTo.ts"(){znt()}});function T3e(e,t){BV=t,GD=e;try{return qt(Hnt(C3e(e)),Gnt)}finally{x3e()}}function S3e(e,t){BV=t,GD=e;try{return L3e(C3e(e))}finally{x3e()}}function x3e(){GD=void 0,BV=void 0,XD=[],Wy=void 0,jV=[]}function U9(e){return H4(e.getText(GD))}function MV(e){return e.node.kind}function k3e(e,t){e.children?e.children.push(t):e.children=[t]}function C3e(e){R.assert(!XD.length);const t={node:e,name:void 0,additionalNodes:void 0,parent:void 0,children:void 0,indent:0};Wy=t;for(const n of e.statements)sk(n);return Iv(),R.assert(!Wy&&!XD.length),t}function Kb(e,t){k3e(Wy,Doe(e,t))}function Doe(e,t){return{node:e,name:t||(lf(e)||Dt(e)?ra(e):void 0),additionalNodes:void 0,parent:Wy,children:void 0,indent:Wy.indent+1}}function w3e(e){Dw||(Dw=new Map),Dw.set(e,!0)}function E3e(e){for(let t=0;t<e;t++)Iv()}function A3e(e,t){const n=[];for(;!zd(t);){const s=V7(t),l=Ry(t);t=t.expression,!(l==="prototype"||as(s))&&n.push(s)}n.push(t);for(let s=n.length-1;s>0;s--){const l=n[s];e2(e,l)}return[n.length-1,n[0]]}function e2(e,t){const n=Doe(e,t);k3e(Wy,n),XD.push(Wy),Boe.push(Dw),Dw=void 0,Wy=n}function Iv(){Wy.children&&(FV(Wy.children,Wy),Ooe(Wy.children)),Wy=XD.pop(),Dw=Boe.pop()}function Ov(e,t,n){e2(e,n),sk(t),Iv()}function P3e(e){e.initializer&&Qnt(e.initializer)?(e2(e),ca(e.initializer,sk),Iv()):Ov(e,e.initializer)}function Noe(e){return!hv(e)||e.kind!==223&&oi(e.name.expression)&&Ye(e.name.expression.expression)&&ai(e.name.expression.expression)==="Symbol"}function sk(e){if(BV.throwIfCancellationRequested(),!(!e||EC(e)))switch(e.kind){case 173:const t=e;Ov(t,t.body);for(const d of t.parameters)sp(d,t)&&Kb(d);break;case 171:case 174:case 175:case 170:Noe(e)&&Ov(e,e.body);break;case 169:Noe(e)&&P3e(e);break;case 168:Noe(e)&&Kb(e);break;case 270:const n=e;n.name&&Kb(n.name);const{namedBindings:s}=n;if(s)if(s.kind===271)Kb(s);else for(const d of s.elements)Kb(d);break;case 300:Ov(e,e.name);break;case 301:const{expression:l}=e;Ye(l)?Kb(e,l):Kb(e);break;case 205:case 299:case 257:{const d=e;xa(d.name)?sk(d.name):P3e(d);break}case 259:const f=e.name;f&&Ye(f)&&w3e(f.text),Ov(e,e.body);break;case 216:case 215:Ov(e,e.body);break;case 263:e2(e);for(const d of e.members)Xnt(d)||Kb(d);Iv();break;case 260:case 228:case 261:e2(e);for(const d of e.members)sk(d);Iv();break;case 264:Ov(e,F3e(e).body);break;case 274:{const d=e.expression,g=cc(d)||Da(d)?d:Ac(d)||yc(d)?d.body:void 0;g?(e2(e),sk(g),Iv()):Kb(e);break}case 278:case 268:case 178:case 176:case 177:case 262:Kb(e);break;case 210:case 223:{const d=ll(e);switch(d){case 1:case 2:Ov(e,e.right);return;case 6:case 3:{const g=e,h=g.left,k=d===3?h.expression:h;let S=0,w;Ye(k.expression)?(w3e(k.expression.text),w=k.expression):[S,w]=A3e(g,k.expression),d===6?cc(g.right)&&g.right.properties.length>0&&(e2(g,w),ca(g.right,sk),Iv()):yc(g.right)||Ac(g.right)?Ov(e,g.right,w):(e2(g,w),Ov(e,g.right,h.name),Iv()),E3e(S);return}case 7:case 9:{const g=e,h=d===7?g.arguments[0]:g.arguments[0].expression,k=g.arguments[1],[S,w]=A3e(e,h);e2(e,w),e2(e,Et(J.createIdentifier(k.text),k)),sk(e.arguments[2]),Iv(),Iv(),E3e(S);return}case 5:{const g=e,h=g.left,k=h.expression;if(Ye(k)&&Ry(h)!=="prototype"&&Dw&&Dw.has(k.text)){yc(g.right)||Ac(g.right)?Ov(e,g.right,k):kx(h)&&(e2(g,k),Ov(g.left,g.right,V7(h)),Iv());return}break}case 4:case 0:case 8:break;default:R.assertNever(d)}}default:Ep(e)&&Q(e.jsDoc,d=>{Q(d.tags,g=>{gd(g)&&Kb(g)})}),ca(e,sk)}}function FV(e,t){const n=new Map;Fi(e,(s,l)=>{const f=s.name||ra(s.node),d=f&&U9(f);if(!d)return!0;const g=n.get(d);if(!g)return n.set(d,s),!0;if(g instanceof Array){for(const h of g)if(D3e(h,s,l,t))return!1;return g.push(s),!0}else{const h=g;return D3e(h,s,l,t)?!1:(n.set(d,[h,s]),!0)}})}function Vnt(e,t,n,s){function l(g){return yc(g)||ru(g)||xs(g)}const f=$n(t.node)||Da(t.node)?ll(t.node):0,d=$n(e.node)||Da(e.node)?ll(e.node):0;if(G4[f]&&G4[d]||l(e.node)&&G4[f]||l(t.node)&&G4[d]||vu(e.node)&&Ioe(e.node)&&G4[f]||vu(t.node)&&G4[d]||vu(e.node)&&Ioe(e.node)&&l(t.node)||vu(t.node)&&l(e.node)&&Ioe(e.node)){let g=e.additionalNodes&&Rc(e.additionalNodes)||e.node;if(!vu(e.node)&&!vu(t.node)||l(e.node)||l(t.node)){const k=l(e.node)?e.node:l(t.node)?t.node:void 0;if(k!==void 0){const S=Et(J.createConstructorDeclaration(void 0,[],void 0),k),w=Doe(S);w.indent=e.indent+1,w.children=e.node===k?e.children:t.children,e.children=e.node===k?Cr([w],t.children||[t]):Cr(e.children||[{...e}],[w])}else(e.children||t.children)&&(e.children=Cr(e.children||[{...e}],t.children||[t]),e.children&&(FV(e.children,e),Ooe(e.children)));g=e.node=Et(J.createClassDeclaration(void 0,e.name||J.createIdentifier("__class__"),void 0,void 0,[]),e.node)}else e.children=Cr(e.children,t.children),e.children&&FV(e.children,e);const h=t.node;return s.children[n-1].node.end===g.end?Et(g,{pos:g.pos,end:h.end}):(e.additionalNodes||(e.additionalNodes=[]),e.additionalNodes.push(Et(J.createClassDeclaration(void 0,e.name||J.createIdentifier("__class__"),void 0,void 0,[]),t.node))),!0}return f!==0}function D3e(e,t,n,s){return Vnt(e,t,n,s)?!0:$nt(e.node,t.node,s)?(qnt(e,t),!0):!1}function $nt(e,t,n){if(e.kind!==t.kind||e.parent!==t.parent&&!(N3e(e,n)&&N3e(t,n)))return!1;switch(e.kind){case 169:case 171:case 174:case 175:return ba(e)===ba(t);case 264:return I3e(e,t)&&Foe(e)===Foe(t);default:return!0}}function Ioe(e){return!!(e.flags&8)}function N3e(e,t){const n=ah(e.parent)?e.parent.parent:e.parent;return n===t.node||xt(t.additionalNodes,n)}function I3e(e,t){return!e.body||!t.body?e.body===t.body:e.body.kind===t.body.kind&&(e.body.kind!==264||I3e(e.body,t.body))}function qnt(e,t){e.additionalNodes=e.additionalNodes||[],e.additionalNodes.push(t.node),t.additionalNodes&&e.additionalNodes.push(...t.additionalNodes),e.children=Cr(e.children,t.children),e.children&&(FV(e.children,e),Ooe(e.children))}function Ooe(e){e.sort(Wnt)}function Wnt(e,t){return BI(O3e(e.node),O3e(t.node))||Cc(MV(e),MV(t))}function O3e(e){if(e.kind===264)return M3e(e);const t=ra(e);if(t&&rl(t)){const n=ST(t);return n&&Ds(n)}switch(e.kind){case 215:case 216:case 228:return B3e(e);default:return}}function Loe(e,t){if(e.kind===264)return H4(M3e(e));if(t){const n=Ye(t)?t.text:qc(t)?`[${U9(t.argumentExpression)}]`:U9(t);if(n.length>0)return H4(n)}switch(e.kind){case 308:const n=e;return Fl(n)?`"${UC(sf(B_(Co(n.fileName))))}"`:"<global>";case 274:return Tl(e)&&e.isExportEquals?"export=":"default";case 216:case 259:case 215:case 260:case 228:return gv(e)&1024?"default":B3e(e);case 173:return"constructor";case 177:return"new()";case 176:return"()";case 178:return"[]";default:return"<unknown>"}}function Hnt(e){const t=[];function n(l){if(s(l)&&(t.push(l),l.children))for(const f of l.children)n(f)}return n(e),t;function s(l){if(l.children)return!0;switch(MV(l)){case 260:case 228:case 263:case 261:case 264:case 308:case 262:case 349:case 341:return!0;case 216:case 259:case 215:return f(l);default:return!1}function f(d){if(!d.node.body)return!1;switch(MV(d.parent)){case 265:case 308:case 171:case 173:return!0;default:return!1}}}}function L3e(e){return{text:Loe(e.node,e.name),kind:qT(e.node),kindModifiers:R3e(e.node),spans:Moe(e),nameSpan:e.name&&Roe(e.name),childItems:qt(e.children,L3e)}}function Gnt(e){return{text:Loe(e.node,e.name),kind:qT(e.node),kindModifiers:R3e(e.node),spans:Moe(e),childItems:qt(e.children,t)||jV,indent:e.indent,bolded:!1,grayed:!1};function t(n){return{text:Loe(n.node,n.name),kind:qT(n.node),kindModifiers:jD(n.node),spans:Moe(n),childItems:jV,indent:0,bolded:!1,grayed:!1}}}function Moe(e){const t=[Roe(e.node)];if(e.additionalNodes)for(const n of e.additionalNodes)t.push(Roe(n));return t}function M3e(e){return Af(e)?lu(e.name):Foe(e)}function Foe(e){const t=[Vd(e.name)];for(;e.body&&e.body.kind===264;)e=e.body,t.push(Vd(e.name));return t.join(".")}function F3e(e){return e.body&&Pl(e.body)?F3e(e.body):e}function Xnt(e){return!e.name||e.name.kind===164}function Roe(e){return e.kind===308?Dv(e):Zf(e,GD)}function R3e(e){return e.parent&&e.parent.kind===257&&(e=e.parent),jD(e)}function B3e(e){const{parent:t}=e;if(e.name&&w7(e.name)>0)return H4(uc(e.name));if(xs(t))return H4(uc(t.name));if($n(t)&&t.operatorToken.kind===63)return U9(t.left).replace(J3e,"");if(Iu(t))return U9(t.name);if(gv(e)&1024)return"default";if(Ri(e))return"<class>";if(Da(t)){let n=j3e(t.expression);if(n!==void 0){if(n=H4(n),n.length>RV)return`${n} callback`;const s=H4(fr(t.arguments,l=>sc(l)?l.getText(GD):void 0).join(", "));return`${n}(${s}) callback`}}return"<function>"}function j3e(e){if(Ye(e))return e.text;if(oi(e)){const t=j3e(e.expression),n=e.name.text;return t===void 0?n:`${t}.${n}`}else return}function Qnt(e){switch(e.kind){case 216:case 215:case 228:return!0;default:return!1}}function H4(e){return e=e.length>RV?e.substring(0,RV)+"...":e,e.replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}var J3e,RV,BV,GD,XD,Wy,Boe,Dw,jV,G4,Ynt=p({"src/services/navigationBar.ts"(){Si(),J3e=/\s+/g,RV=150,XD=[],Boe=[],jV=[],G4={[5]:!0,[3]:!0,[7]:!0,[9]:!0,[0]:!1,[1]:!1,[2]:!1,[8]:!1,[6]:!0,[4]:!1}}}),U3e={};T(U3e,{getNavigationBarItems:()=>T3e,getNavigationTree:()=>S3e});var z3e=p({"src/services/_namespaces/ts.NavigationBar.ts"(){Ynt()}});function V3e(e,t,n,s){const l=h7(e)?new $V(e,t,n):e===79?new WV(79,t,n):e===80?new HV(80,t,n):new zoe(e,t,n);return l.parent=s,l.flags=s.flags&50720768,l}function Znt(e,t){if(!h7(e.kind))return pt;const n=[];if(bK(e))return e.forEachChild(d=>{n.push(d)}),n;pf.setText((t||e.getSourceFile()).text);let s=e.pos;const l=d=>{z9(n,s,d.pos,e),n.push(d),s=d.end},f=d=>{z9(n,s,d.pos,e),n.push(Knt(d,e)),s=d.end};return Q(e.jsDoc,l),s=e.pos,e.forEachChild(l,f),z9(n,s,e.end,e),pf.setText(void 0),n}function z9(e,t,n,s){for(pf.setTextPos(t);t<n;){const l=pf.scan(),f=pf.getTextPos();if(f<=n){if(l===79){if(KTe(s))continue;R.fail(`Did not expect ${R.formatSyntaxKind(s.kind)} to have an Identifier in its trivia`)}e.push(V3e(l,t,f,s))}if(t=f,l===1)break}}function Knt(e,t){const n=V3e(354,e.pos,e.end,t);n._children=[];let s=e.pos;for(const l of e)z9(n._children,s,l.pos,t),n._children.push(l),s=l.end;return z9(n._children,s,e.end,t),n}function $3e(e){return fT(e).some(t=>t.tagName.text==="inheritDoc"||t.tagName.text==="inheritdoc")}function JV(e,t){if(!e)return pt;let n=r2.getJsDocTagsFromDeclarations(e,t);if(t&&(n.length===0||e.some($3e))){const s=new Set;for(const l of e){const f=q3e(t,l,d=>{var g;if(!s.has(d))return s.add(d),l.kind===174||l.kind===175?d.getContextualJsDocTags(l,t):((g=d.declarations)==null?void 0:g.length)===1?d.getJsDocTags():void 0});f&&(n=[...f,...n])}}return n}function V9(e,t){if(!e)return pt;let n=r2.getJsDocCommentsFromDeclarations(e,t);if(t&&(n.length===0||e.some($3e))){const s=new Set;for(const l of e){const f=q3e(t,l,d=>{if(!s.has(d))return s.add(d),l.kind===174||l.kind===175?d.getContextualDocumentationComment(l,t):d.getDocumentationComment(t)});f&&(n=n.length===0?f.slice():f.concat(q4(),n))}}return n}function q3e(e,t,n){var s;const l=((s=t.parent)==null?void 0:s.kind)===173?t.parent.parent:t.parent;if(!l)return;const f=tu(t);return ze(hP(l),d=>{const g=e.getTypeAtLocation(d),h=f&&g.symbol?e.getTypeOfSymbol(g.symbol):g,k=e.getPropertyOfType(h,t.symbol.name);return k?n(k):void 0})}function eit(){return{getNodeConstructor:()=>$V,getTokenConstructor:()=>zoe,getIdentifierConstructor:()=>WV,getPrivateIdentifierConstructor:()=>HV,getSourceFileConstructor:()=>eAe,getSymbolConstructor:()=>Y3e,getTypeConstructor:()=>Z3e,getSignatureConstructor:()=>K3e,getSourceMapSourceConstructor:()=>tAe}}function $9(e){let t=!0;for(const s in e)if(mc(e,s)&&!W3e(s)){t=!1;break}if(t)return e;const n={};for(const s in e)if(mc(e,s)){const l=W3e(s)?s:s.charAt(0).toLowerCase()+s.substr(1);n[l]=e[s]}return n}function W3e(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function H3e(e){return e?qt(e,t=>t.text).join(""):""}function UV(){return{target:1,jsx:1}}function G3e(){return Ff.getSupportedErrorCodes()}function X3e(e,t,n){e.version=n,e.scriptSnapshot=t}function zV(e,t,n,s,l,f){const d=vO(e,Yz(t),n,l,f);return X3e(d,t,s),d}function joe(e,t,n,s,l){if(s&&n!==e.version){let d;const g=s.span.start!==0?e.text.substr(0,s.span.start):"",h=Wu(s.span)!==e.text.length?e.text.substr(Wu(s.span)):"";if(s.newLength===0)d=g&&h?g+h:g||h;else{const S=t.getText(s.span.start,s.span.start+s.newLength);d=g&&h?g+S+h:g?g+S:S+h}const k=Fre(e,d,s,l);return X3e(k,t,n),k.nameTable=void 0,e!==k&&e.scriptSnapshot&&(e.scriptSnapshot.dispose&&e.scriptSnapshot.dispose(),e.scriptSnapshot=void 0),k}const f={languageVersion:e.languageVersion,impliedNodeFormat:e.impliedNodeFormat,setExternalModuleIndicator:e.setExternalModuleIndicator};return zV(e.fileName,t,f,n,!0,e.scriptKind)}function Q3e(e,t=poe(e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames(),e.getCurrentDirectory()),n){var s;let l;n===void 0?l=0:typeof n=="boolean"?l=n?2:0:l=n;const f=new rAe(e);let d,g,h=0;const k=e.getCancellationToken?new iAe(e.getCancellationToken()):nAe,S=e.getCurrentDirectory();wTe((s=e.getLocalizedDiagnosticMessages)==null?void 0:s.bind(e));function w(dt){e.log&&e.log(dt)}const N=p5(e),O=qu(N),L=a3e({useCaseSensitiveFileNames:()=>N,getCurrentDirectory:()=>S,getProgram:W,fileExists:ho(e,e.fileExists),readFile:ho(e,e.readFile),getDocumentPositionMapper:ho(e,e.getDocumentPositionMapper),getSourceFileLike:ho(e,e.getSourceFileLike),log:w});function U(dt){const ne=d.getSourceFile(dt);if(!ne){const $e=new Error(`Could not find source file: '${dt}'.`);throw $e.ProgramFiles=d.getSourceFiles().map(ce=>ce.fileName),$e}return ne}function M(){var dt,ne,$e;if(R.assert(l!==2),e.getProjectVersion){const Ji=e.getProjectVersion();if(Ji){if(g===Ji&&!((dt=e.hasChangedAutomaticTypeDirectiveNames)!=null&&dt.call(e)))return;g=Ji}}const ce=e.getTypeRootsVersion?e.getTypeRootsVersion():0;h!==ce&&(w("TypeRoots version has changed; provide new program"),d=void 0,h=ce);const Be=e.getScriptFileNames().slice(),te=e.getCompilationSettings()||UV(),$t=e.hasInvalidatedResolutions||rT,At=ho(e,e.hasChangedAutomaticTypeDirectiveNames),St=(ne=e.getProjectReferences)==null?void 0:ne.call(e);let Dr,yn={getSourceFile:vi,getSourceFileByPath:Bo,getCancellationToken:()=>k,getCanonicalFileName:O,useCaseSensitiveFileNames:()=>N,getNewLine:()=>Vb(te),getDefaultLibFileName:Ji=>e.getDefaultLibFileName(Ji),writeFile:La,getCurrentDirectory:()=>S,fileExists:Ji=>e.fileExists(Ji),readFile:Ji=>e.readFile&&e.readFile(Ji),getSymlinkCache:ho(e,e.getSymlinkCache),realpath:ho(e,e.realpath),directoryExists:Ji=>th(Ji,e),getDirectories:Ji=>e.getDirectories?e.getDirectories(Ji):[],readDirectory:(Ji,Rs,Qr,js,Rl)=>(R.checkDefined(e.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),e.readDirectory(Ji,Rs,Qr,js,Rl)),onReleaseOldSourceFile:gs,onReleaseParsedCommandLine:Fs,hasInvalidatedResolutions:$t,hasChangedAutomaticTypeDirectiveNames:At,trace:ho(e,e.trace),resolveModuleNames:ho(e,e.resolveModuleNames),getModuleResolutionCache:ho(e,e.getModuleResolutionCache),createHash:ho(e,e.createHash),resolveTypeReferenceDirectives:ho(e,e.resolveTypeReferenceDirectives),resolveModuleNameLiterals:ho(e,e.resolveModuleNameLiterals),resolveTypeReferenceDirectiveReferences:ho(e,e.resolveTypeReferenceDirectiveReferences),useSourceOfProjectReferenceRedirect:ho(e,e.useSourceOfProjectReferenceRedirect),getParsedCommandLine:Xa};const Di=yn.getSourceFile,{getSourceFileWithCache:Yi}=n9(yn,Ji=>wc(Ji,S,O),(...Ji)=>Di.call(yn,...Ji));yn.getSourceFile=Yi,($e=e.setCompilerHost)==null||$e.call(e,yn);const Zi={useCaseSensitiveFileNames:N,fileExists:Ji=>yn.fileExists(Ji),readFile:Ji=>yn.readFile(Ji),readDirectory:(...Ji)=>yn.readDirectory(...Ji),trace:yn.trace,getCurrentDirectory:yn.getCurrentDirectory,onUnRecoverableConfigFileDiagnostic:La},hs=t.getKeyForCompilationSettings(te);if(Mie(d,Be,te,(Ji,Rs)=>e.getScriptVersion(Rs),Ji=>yn.fileExists(Ji),$t,At,Xa,St))return;d=fz({rootNames:Be,options:te,host:yn,oldProgram:d,projectReferences:St}),yn=void 0,Dr=void 0,L.clearCache(),d.getTypeChecker();return;function Xa(Ji){const Rs=wc(Ji,S,O),Qr=Dr==null?void 0:Dr.get(Rs);if(Qr!==void 0)return Qr||void 0;const js=e.getParsedCommandLine?e.getParsedCommandLine(Ji):Ia(Ji);return(Dr||(Dr=new Map)).set(Rs,js||!1),js}function Ia(Ji){const Rs=vi(Ji,100);if(Rs)return Rs.path=wc(Ji,S,O),Rs.resolvedPath=Rs.path,Rs.originalFileName=Rs.fileName,CO(Rs,Zi,oa($i(Ji),S),void 0,oa(Ji,S))}function Fs(Ji,Rs,Qr){var js;e.getParsedCommandLine?(js=e.onReleaseParsedCommandLine)==null||js.call(e,Ji,Rs,Qr):Rs&&gs(Rs.sourceFile,Qr)}function gs(Ji,Rs){const Qr=t.getKeyForCompilationSettings(Rs);t.releaseDocumentWithKey(Ji.resolvedPath,Qr,Ji.scriptKind,Ji.impliedNodeFormat)}function vi(Ji,Rs,Qr,js){return Bo(Ji,wc(Ji,S,O),Rs,Qr,js)}function Bo(Ji,Rs,Qr,js,Rl){R.assert(yn,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");const jc=e.getScriptSnapshot(Ji);if(!jc)return;const Sl=Uae(Ji,e),Nl=e.getScriptVersion(Ji);if(!Rl){const xl=d&&d.getSourceFileByPath(Rs);if(xl){if(Sl===xl.scriptKind)return t.updateDocumentWithKey(Ji,Rs,e,hs,jc,Nl,Sl,Qr);t.releaseDocumentWithKey(xl.resolvedPath,t.getKeyForCompilationSettings(d.getCompilerOptions()),xl.scriptKind,xl.impliedNodeFormat)}}return t.acquireDocumentWithKey(Ji,Rs,e,hs,jc,Nl,Sl,Qr)}}function W(){if(l===2){R.assert(d===void 0);return}return M(),d}function X(){var dt;return(dt=e.getPackageJsonAutoImportProvider)==null?void 0:dt.call(e)}function Z(dt,ne){const $e=d.getTypeChecker(),ce=Be();if(!ce)return!1;for(const $t of dt)for(const At of $t.references){const St=te(At);if(R.assertIsDefined(St),ne.has(At)||Wc.isDeclarationOfSymbol(St,ce)){ne.add(At),At.isDefinition=!0;const Dr=Fae(At,L,ho(e,e.fileExists));Dr&&ne.add(Dr)}else At.isDefinition=!1}return!0;function Be(){for(const $t of dt)for(const At of $t.references){if(ne.has(At)){const Dr=te(At);return R.assertIsDefined(Dr),$e.getSymbolAtLocation(Dr)}const St=Fae(At,L,ho(e,e.fileExists));if(St&&ne.has(St)){const Dr=te(St);if(Dr)return $e.getSymbolAtLocation(Dr)}}}function te($t){const At=d.getSourceFile($t.fileName);if(!At)return;const St=Lp(At,$t.textSpan.start);return Wc.Core.getAdjustedNode(St,{use:Wc.FindReferencesUse.References})}}function ue(){d=void 0}function ie(){if(d){const dt=t.getKeyForCompilationSettings(d.getCompilerOptions());Q(d.getSourceFiles(),ne=>t.releaseDocumentWithKey(ne.resolvedPath,dt,ne.scriptKind,ne.impliedNodeFormat)),d=void 0}e=void 0}function se(dt){return M(),d.getSyntacticDiagnostics(U(dt),k).slice()}function V(dt){M();const ne=U(dt),$e=d.getSemanticDiagnostics(ne,k);if(!Wd(d.getCompilerOptions()))return $e.slice();const ce=d.getDeclarationDiagnostics(ne,k);return[...$e,...ce]}function ve(dt){return M(),xoe(U(dt),d,k)}function fe(){return M(),[...d.getOptionsDiagnostics(k),...d.getGlobalDiagnostics(k)]}function Ce(dt,ne,$e=uh,ce){const Be={...$e,includeCompletionsForModuleExports:$e.includeCompletionsForModuleExports||$e.includeExternalModuleExports,includeCompletionsWithInsertText:$e.includeCompletionsWithInsertText||$e.includeInsertTextCompletions};return M(),Bw.getCompletionsAtPosition(e,d,w,U(dt),ne,Be,$e.triggerCharacter,$e.triggerKind,k,ce&&_u.getFormatContext(ce,e),$e.includeSymbol)}function _e(dt,ne,$e,ce,Be,te=uh,$t){return M(),Bw.getCompletionEntryDetails(d,w,U(dt),ne,{name:$e,source:Be,data:$t},e,ce&&_u.getFormatContext(ce,e),te,k)}function K(dt,ne,$e,ce,Be=uh){return M(),Bw.getCompletionEntrySymbol(d,w,U(dt),ne,{name:$e,source:ce},e,Be)}function ge(dt,ne){M();const $e=U(dt),ce=Lp($e,ne);if(ce===$e)return;const Be=d.getTypeChecker(),te=Se(ce),$t=iit(te,Be);if(!$t||Be.isUnknownSymbol($t)){const Di=we($e,te,ne)?Be.getTypeAtLocation(te):void 0;return Di&&{kind:"",kindModifiers:"",textSpan:Zf(te,$e),displayParts:Be.runWithCancellationToken(k,Yi=>L9(Yi,Di,ek(te))),documentation:Di.symbol?Di.symbol.getDocumentationComment(Be):void 0,tags:Di.symbol?Di.symbol.getJsDocTags(Be):void 0}}const{symbolKind:At,displayParts:St,documentation:Dr,tags:yn}=Be.runWithCancellationToken(k,Di=>p1.getSymbolDisplayPartsDocumentationAndSymbolKind(Di,$t,$e,ek(te),te));return{kind:At,kindModifiers:p1.getSymbolModifiers(Be,$t),textSpan:Zf(te,$e),displayParts:St,documentation:Dr,tags:yn}}function Se(dt){return NT(dt.parent)&&dt.pos===dt.parent.pos?dt.parent.expression:rD(dt.parent)&&dt.pos===dt.parent.pos||I6(dt.parent)&&dt.parent.name===dt?dt.parent:dt}function we(dt,ne,$e){switch(ne.kind){case 79:return!lae(ne)&&!uae(ne)&&!Iy(ne.parent);case 208:case 163:return!l1(dt,$e);case 108:case 194:case 106:case 199:return!0;case 233:return I6(ne);default:return!1}}function Pe(dt,ne,$e,ce){return M(),a8.getDefinitionAtPosition(d,U(dt),ne,$e,ce)}function le(dt,ne){return M(),a8.getDefinitionAndBoundSpan(d,U(dt),ne)}function ot(dt,ne){return M(),a8.getTypeDefinitionAtPosition(d.getTypeChecker(),U(dt),ne)}function Qe(dt,ne){return M(),Wc.getImplementationsAtPosition(d,k,d.getSourceFiles(),U(dt),ne)}function Ge(dt,ne){return mn(tt(dt,ne,[dt]),$e=>$e.highlightSpans.map(ce=>({fileName:$e.fileName,textSpan:ce.textSpan,isWriteAccess:ce.kind==="writtenReference",...ce.isInString&&{isInString:!0},...ce.contextSpan&&{contextSpan:ce.contextSpan}})))}function tt(dt,ne,$e){const ce=Co(dt);R.assert($e.some($t=>Co($t)===ce)),M();const Be=fr($e,$t=>d.getSourceFile($t)),te=U(dt);return AV.getDocumentHighlights(d,k,te,ne,Be)}function Je(dt,ne,$e,ce,Be){M();const te=U(dt),$t=Vz(Lp(te,ne));if(cW.nodeIsEligibleForRename($t))if(Ye($t)&&(Wg($t.parent)||pw($t.parent))&&bP($t.escapedText)){const{openingElement:At,closingElement:St}=$t.parent.parent;return[At,St].map(Dr=>{const yn=Zf(Dr.tagName,te);return{fileName:te.fileName,textSpan:yn,...Wc.toContextSpan(yn,te,Dr.parent)}})}else return st($t,ne,{findInStrings:$e,findInComments:ce,providePrefixAndSuffixTextForRename:Be,use:Wc.FindReferencesUse.Rename},(At,St,Dr)=>Wc.toRenameLocation(At,St,Dr,Be||!1))}function qe(dt,ne){return M(),st(Lp(U(dt),ne),ne,{use:Wc.FindReferencesUse.References},Wc.toReferenceEntry)}function st(dt,ne,$e,ce){M();const Be=$e&&$e.use===Wc.FindReferencesUse.Rename?d.getSourceFiles().filter(te=>!d.isSourceFileDefaultLibrary(te)):d.getSourceFiles();return Wc.findReferenceOrRenameEntries(d,k,Be,dt,ne,$e,ce)}function Ke(dt,ne){return M(),Wc.findReferencedSymbols(d,k,d.getSourceFiles(),U(dt),ne)}function We(dt){return M(),Wc.Core.getReferencesForFileName(dt,d,d.getSourceFiles()).map(Wc.toReferenceEntry)}function gt(dt,ne,$e,ce=!1){M();const Be=$e?[U($e)]:d.getSourceFiles();return g3e(Be,d.getTypeChecker(),k,dt,ne,ce)}function jt(dt,ne,$e){M();const ce=U(dt),Be=e.getCustomTransformers&&e.getCustomTransformers();return oEe(d,ce,!!ne,k,Be,$e)}function It(dt,ne,{triggerReason:$e}=uh){M();const ce=U(dt);return AL.getSignatureHelpItems(d,ce,ne,$e,k)}function er(dt){return f.getCurrentSourceFile(dt)}function ft(dt,ne,$e){const ce=f.getCurrentSourceFile(dt),Be=Lp(ce,ne);if(Be===ce)return;switch(Be.kind){case 208:case 163:case 10:case 95:case 110:case 104:case 106:case 108:case 194:case 79:break;default:return}let te=Be;for(;;)if(J4(te)||P6e(te))te=te.parent;else if(_ae(te))if(te.parent.parent.kind===264&&te.parent.parent.body===te.parent)te=te.parent.parent.name;else break;else break;return eu(te.getStart(),Be.getEnd())}function mt(dt,ne){const $e=f.getCurrentSourceFile(dt);return Qoe.spanInSourceFileAtLocation($e,ne)}function xr(dt){return T3e(f.getCurrentSourceFile(dt),k)}function dr(dt){return S3e(f.getCurrentSourceFile(dt),k)}function rn(dt,ne,$e){return M(),($e||"original")==="2020"?ZV.v2020.getSemanticClassifications(d,k,U(dt),ne):R4e(d.getTypeChecker(),k,U(dt),d.getClassifiableNames(),ne)}function un(dt,ne,$e){return M(),($e||"original")==="original"?foe(d.getTypeChecker(),k,U(dt),d.getClassifiableNames(),ne):ZV.v2020.getEncodedSemanticClassifications(d,k,U(dt),ne)}function Gr(dt,ne){return U4e(k,f.getCurrentSourceFile(dt),ne)}function mr(dt,ne){return _oe(k,f.getCurrentSourceFile(dt),ne)}function Fn(dt){const ne=f.getCurrentSourceFile(dt);return Xue.collectElements(ne,k)}const ts=new Map(Object.entries({[18]:19,[20]:21,[22]:23,[31]:29}));ts.forEach((dt,ne)=>ts.set(dt.toString(),Number(ne)));function ws(dt,ne){const $e=f.getCurrentSourceFile(dt),ce=BD($e,ne),Be=ce.getStart($e)===ne?ts.get(ce.kind.toString()):void 0,te=Be&&Yo(ce.parent,Be,$e);return te?[Zf(ce,$e),Zf(te,$e)].sort(($t,At)=>$t.start-At.start):pt}function Es(dt,ne,$e){let ce=Jc();const Be=$9($e),te=f.getCurrentSourceFile(dt);w("getIndentationAtPosition: getCurrentSourceFile: "+(Jc()-ce)),ce=Jc();const $t=_u.SmartIndenter.getIndentation(ne,te,Be);return w("getIndentationAtPosition: computeIndentation : "+(Jc()-ce)),$t}function ii(dt,ne,$e,ce){const Be=f.getCurrentSourceFile(dt);return _u.formatSelection(ne,$e,Be,_u.getFormatContext($9(ce),e))}function Rt(dt,ne){return _u.formatDocument(f.getCurrentSourceFile(dt),_u.getFormatContext($9(ne),e))}function Rr(dt,ne,$e,ce){const Be=f.getCurrentSourceFile(dt),te=_u.getFormatContext($9(ce),e);if(!l1(Be,ne))switch($e){case"{":return _u.formatOnOpeningCurly(ne,Be,te);case"}":return _u.formatOnClosingCurly(ne,Be,te);case";":return _u.formatOnSemicolon(ne,Be,te);case`
`:return _u.formatOnEnter(ne,Be,te)}return[]}function rr(dt,ne,$e,ce,Be,te=uh){M();const $t=U(dt),At=eu(ne,$e),St=_u.getFormatContext(Be,e);return mn(Ss(ce,Db,Cc),Dr=>(k.throwIfCancellationRequested(),Ff.getFixes({errorCode:Dr,sourceFile:$t,span:At,program:d,host:e,cancellationToken:k,formatContext:St,preferences:te})))}function Pr(dt,ne,$e,ce=uh){M(),R.assert(dt.type==="file");const Be=U(dt.fileName),te=_u.getFormatContext($e,e);return Ff.getAllFixes({fixId:ne,sourceFile:Be,program:d,host:e,cancellationToken:k,formatContext:te,preferences:ce})}function Cn(dt,ne,$e=uh){var ce;M(),R.assert(dt.type==="file");const Be=U(dt.fileName),te=_u.getFormatContext(ne,e),$t=(ce=dt.mode)!=null?ce:dt.skipDestructiveCodeActions?"SortAndCombine":"All";return Kd.organizeImports(Be,te,e,d,$e,$t)}function Nn(dt,ne,$e,ce=uh){return q4e(W(),dt,ne,e,_u.getFormatContext($e,e),ce,L)}function cs(dt,ne){const $e=typeof dt=="string"?ne:dt;return pa($e)?Promise.all($e.map(ce=>qi(ce))):qi($e)}function qi(dt){const ne=$e=>wc($e,S,O);return R.assertEqual(dt.type,"install package"),e.installPackage?e.installPackage({fileName:ne(dt.file),packageName:dt.packageName}):Promise.reject("Host does not implement `installPackage`")}function en(dt,ne,$e,ce){const Be=ce?_u.getFormatContext(ce,e).options:void 0;return r2.getDocCommentTemplateAtPosition(Zb(e,Be),f.getCurrentSourceFile(dt),ne,$e)}function Tr(dt,ne,$e){if($e===60)return!1;const ce=f.getCurrentSourceFile(dt);if(rk(ce,ne))return!1;if(J6e(ce,ne))return $e===123;if(bae(ce,ne))return!1;switch($e){case 39:case 34:case 96:return!l1(ce,ne)}return!0}function nn(dt,ne){const $e=f.getCurrentSourceFile(dt),ce=fu(ne,$e);if(!ce)return;const Be=ce.kind===31&&Wg(ce.parent)?ce.parent.parent:tw(ce)&&s1(ce.parent)?ce.parent:void 0;if(Be&&Ne(Be))return{newText:`</${Be.openingElement.tagName.getText($e)}>`};const te=ce.kind===31&&mw(ce.parent)?ce.parent.parent:tw(ce)&&dw(ce.parent)?ce.parent:void 0;if(te&&kt(te))return{newText:"</>"}}function Xn(dt,ne){return{lineStarts:dt.getLineStarts(),firstLine:dt.getLineAndCharacterOfPosition(ne.pos).line,lastLine:dt.getLineAndCharacterOfPosition(ne.end).line}}function _i(dt,ne,$e){const ce=f.getCurrentSourceFile(dt),Be=[],{lineStarts:te,firstLine:$t,lastLine:At}=Xn(ce,ne);let St=$e||!1,Dr=Number.MAX_VALUE;const yn=new Map,Di=new RegExp(/\S/),Yi=qz(ce,te[$t]),Zi=Yi?"{/*":"//";for(let hs=$t;hs<=At;hs++){const za=ce.text.substring(te[hs],ce.getLineEndOfPosition(te[hs])),Xa=Di.exec(za);Xa&&(Dr=Math.min(Dr,Xa.index),yn.set(hs.toString(),Xa.index),za.substr(Xa.index,Zi.length)!==Zi&&(St=$e===void 0||$e))}for(let hs=$t;hs<=At;hs++){if($t!==At&&te[hs]===ne.end)continue;const za=yn.get(hs.toString());za!==void 0&&(Yi?Be.push.apply(Be,Fe(dt,{pos:te[hs]+Dr,end:ce.getLineEndOfPosition(te[hs])},St,Yi)):St?Be.push({newText:Zi,span:{length:0,start:te[hs]+Dr}}):ce.text.substr(te[hs]+za,Zi.length)===Zi&&Be.push({newText:"",span:{length:Zi.length,start:te[hs]+za}}))}return Be}function Fe(dt,ne,$e,ce){var Be;const te=f.getCurrentSourceFile(dt),$t=[],{text:At}=te;let St=!1,Dr=$e||!1;const yn=[];let{pos:Di}=ne;const Yi=ce!==void 0?ce:qz(te,Di),Zi=Yi?"{/*":"/*",hs=Yi?"*/}":"*/",za=Yi?"\\{\\/\\*":"\\/\\*",Xa=Yi?"\\*\\/\\}":"\\*\\/";for(;Di<=ne.end;){const Ia=At.substr(Di,Zi.length)===Zi?Zi.length:0,Fs=l1(te,Di+Ia);if(Fs)Yi&&(Fs.pos--,Fs.end++),yn.push(Fs.pos),Fs.kind===3&&yn.push(Fs.end),St=!0,Di=Fs.end+1;else{const gs=At.substring(Di,ne.end).search(`(${za})|(${Xa})`);Dr=$e!==void 0?$e:Dr||!t4e(At,Di,gs===-1?ne.end:Di+gs),Di=gs===-1?ne.end+1:Di+gs+hs.length}}if(Dr||!St){((Be=l1(te,ne.pos))==null?void 0:Be.kind)!==2&&la(yn,ne.pos,Cc),la(yn,ne.end,Cc);const Ia=yn[0];At.substr(Ia,Zi.length)!==Zi&&$t.push({newText:Zi,span:{length:0,start:Ia}});for(let Fs=1;Fs<yn.length-1;Fs++)At.substr(yn[Fs]-hs.length,hs.length)!==hs&&$t.push({newText:hs,span:{length:0,start:yn[Fs]}}),At.substr(yn[Fs],Zi.length)!==Zi&&$t.push({newText:Zi,span:{length:0,start:yn[Fs]}});$t.length%2!==0&&$t.push({newText:hs,span:{length:0,start:yn[yn.length-1]}})}else for(const Ia of yn){const Fs=Ia-hs.length>0?Ia-hs.length:0,gs=At.substr(Fs,hs.length)===hs?hs.length:0;$t.push({newText:"",span:{length:Zi.length,start:Ia-gs}})}return $t}function Pt(dt,ne){const $e=f.getCurrentSourceFile(dt),{firstLine:ce,lastLine:Be}=Xn($e,ne);return ce===Be&&ne.pos!==ne.end?Fe(dt,ne,!0):_i(dt,ne,!0)}function Ht(dt,ne){const $e=f.getCurrentSourceFile(dt),ce=[],{pos:Be}=ne;let{end:te}=ne;Be===te&&(te+=qz($e,Be)?2:1);for(let $t=Be;$t<=te;$t++){const At=l1($e,$t);if(At){switch(At.kind){case 2:ce.push.apply(ce,_i(dt,{end:At.end,pos:At.pos+1},!1));break;case 3:ce.push.apply(ce,Fe(dt,{end:At.end,pos:At.pos+1},!1))}$t=At.end+1}}return ce}function Ne({openingElement:dt,closingElement:ne,parent:$e}){return!Qb(dt.tagName,ne.tagName)||s1($e)&&Qb(dt.tagName,$e.openingElement.tagName)&&Ne($e)}function kt({closingFragment:dt,parent:ne}){return!!(dt.flags&131072)||dw(ne)&&kt(ne)}function Te(dt,ne,$e){const ce=f.getCurrentSourceFile(dt),Be=_u.getRangeOfEnclosingComment(ce,ne);return Be&&(!$e||Be.kind===3)?Dv(Be):void 0}function pe(dt,ne){M();const $e=U(dt);k.throwIfCancellationRequested();const ce=$e.text,Be=[];if(ne.length>0&&!St($e.fileName)){const Dr=$t();let yn;for(;yn=Dr.exec(ce);){k.throwIfCancellationRequested();const Di=3;R.assert(yn.length===ne.length+Di);const Yi=yn[1],Zi=yn.index+Yi.length;if(!l1($e,Zi))continue;let hs;for(let Xa=0;Xa<ne.length;Xa++)yn[Xa+Di]&&(hs=ne[Xa]);if(hs===void 0)return R.fail();if(At(ce.charCodeAt(Zi+hs.text.length)))continue;const za=yn[2];Be.push({descriptor:hs,message:za,position:Zi})}}return Be;function te(Dr){return Dr.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function $t(){const Dr=/(?:\/\/+\s*)/.source,yn=/(?:\/\*+\s*)/.source,Yi="("+/(?:^(?:\s|\*)*)/.source+"|"+Dr+"|"+yn+")",Zi="(?:"+qt(ne,Fs=>"("+te(Fs.text)+")").join("|")+")",hs=/(?:$|\*\/)/.source,za=/(?:.*?)/.source,Xa="("+Zi+za+")",Ia=Yi+Xa+hs;return new RegExp(Ia,"gim")}function At(Dr){return Dr>=97&&Dr<=122||Dr>=65&&Dr<=90||Dr>=48&&Dr<=57}function St(Dr){return nf(Dr,"/node_modules/")}}function xe(dt,ne,$e){return M(),cW.getRenameInfo(d,U(dt),ne,$e||{})}function Y(dt,ne,$e,ce,Be,te){const[$t,At]=typeof ne=="number"?[ne,void 0]:[ne.pos,ne.end];return{file:dt,startPosition:$t,endPosition:At,program:W(),host:e,formatContext:_u.getFormatContext(ce,e),cancellationToken:k,preferences:$e,triggerReason:Be,kind:te}}function Ze(dt,ne,$e){return{file:dt,program:W(),host:e,span:ne,preferences:$e,cancellationToken:k}}function ct(dt,ne){return wfe.getSmartSelectionRange(ne,f.getCurrentSourceFile(dt))}function it(dt,ne,$e=uh,ce,Be){M();const te=U(dt);return m8.getApplicableRefactors(Y(te,ne,$e,uh,ce,Be))}function Kt(dt,ne,$e,ce,Be,te=uh){M();const $t=U(dt);return m8.getEditsForRefactor(Y($t,$e,te,ne),ce,Be)}function wr(dt,ne){return ne===0?{line:0,character:0}:L.toLineColumnOffset(dt,ne)}function qr(dt,ne){M();const $e=Iw.resolveCallHierarchyDeclaration(d,Lp(U(dt),ne));return $e&&C4e($e,ce=>Iw.createCallHierarchyItem(d,ce))}function qn(dt,ne){M();const $e=U(dt),ce=eoe(Iw.resolveCallHierarchyDeclaration(d,ne===0?$e:Lp($e,ne)));return ce?Iw.getIncomingCalls(d,ce,k):[]}function ye(dt,ne){M();const $e=U(dt),ce=eoe(Iw.resolveCallHierarchyDeclaration(d,ne===0?$e:Lp($e,ne)));return ce?Iw.getOutgoingCalls(d,ce):[]}function wt(dt,ne,$e=uh){M();const ce=U(dt);return Bue.provideInlayHints(Ze(ce,ne,$e))}const nr={dispose:ie,cleanupSemanticCache:ue,getSyntacticDiagnostics:se,getSemanticDiagnostics:V,getSuggestionDiagnostics:ve,getCompilerOptionsDiagnostics:fe,getSyntacticClassifications:Gr,getSemanticClassifications:rn,getEncodedSyntacticClassifications:mr,getEncodedSemanticClassifications:un,getCompletionsAtPosition:Ce,getCompletionEntryDetails:_e,getCompletionEntrySymbol:K,getSignatureHelpItems:It,getQuickInfoAtPosition:ge,getDefinitionAtPosition:Pe,getDefinitionAndBoundSpan:le,getImplementationAtPosition:Qe,getTypeDefinitionAtPosition:ot,getReferencesAtPosition:qe,findReferences:Ke,getFileReferences:We,getOccurrencesAtPosition:Ge,getDocumentHighlights:tt,getNameOrDottedNameSpan:ft,getBreakpointStatementAtPosition:mt,getNavigateToItems:gt,getRenameInfo:xe,getSmartSelectionRange:ct,findRenameLocations:Je,getNavigationBarItems:xr,getNavigationTree:dr,getOutliningSpans:Fn,getTodoComments:pe,getBraceMatchingAtPosition:ws,getIndentationAtPosition:Es,getFormattingEditsForRange:ii,getFormattingEditsForDocument:Rt,getFormattingEditsAfterKeystroke:Rr,getDocCommentTemplateAtPosition:en,isValidBraceCompletionAtPosition:Tr,getJsxClosingTagAtPosition:nn,getSpanOfEnclosingComment:Te,getCodeFixesAtPosition:rr,getCombinedCodeFix:Pr,applyCodeActionCommand:cs,organizeImports:Cn,getEditsForFileRename:Nn,getEmitOutput:jt,getNonBoundSourceFile:er,getProgram:W,getCurrentProgram:()=>d,getAutoImportProvider:X,updateIsDefinitionOfReferencedSymbols:Z,getApplicableRefactors:it,getEditsForRefactor:Kt,toLineColumnOffset:wr,getSourceMapper:()=>L,clearSourceMapperCache:()=>L.clearCache(),prepareCallHierarchy:qr,provideCallHierarchyIncomingCalls:qn,provideCallHierarchyOutgoingCalls:ye,toggleLineComment:_i,toggleMultilineComment:Fe,commentSelection:Pt,uncommentSelection:Ht,provideInlayHints:wt,getSupportedCodeFixes:G3e};switch(l){case 0:break;case 1:$oe.forEach(dt=>nr[dt]=()=>{throw new Error(`LanguageService Operation: ${dt} not allowed in LanguageServiceMode.PartialSemantic`)});break;case 2:sAe.forEach(dt=>nr[dt]=()=>{throw new Error(`LanguageService Operation: ${dt} not allowed in LanguageServiceMode.Syntactic`)});break;default:R.assertNever(l)}return nr}function Joe(e){return e.nameTable||tit(e),e.nameTable}function tit(e){const t=e.nameTable=new Map;e.forEachChild(function n(s){if(Ye(s)&&!uae(s)&&s.escapedText||Zp(s)&&rit(s)){const l=yP(s);t.set(l,t.get(l)===void 0?s.pos:-1)}else if(as(s)){const l=s.escapedText;t.set(l,t.get(l)===void 0?s.pos:-1)}if(ca(s,n),Ep(s))for(const l of s.jsDoc)ca(l,n)})}function rit(e){return By(e)||e.parent.kind===280||sit(e)||r5(e)}function q9(e){const t=nit(e);return t&&(cc(t.parent)||OT(t.parent))?t:void 0}function nit(e){switch(e.kind){case 10:case 14:case 8:if(e.parent.kind===164)return TK(e.parent.parent)?e.parent.parent:void 0;case 79:return TK(e.parent)&&(e.parent.parent.kind===207||e.parent.parent.kind===289)&&e.parent.name===e?e.parent:void 0}}function iit(e,t){const n=q9(e);if(n){const s=t.getContextualType(n.parent),l=s&&VV(n,t,s,!1);if(l&&l.length===1)return Uo(l)}return t.getSymbolAtLocation(e)}function VV(e,t,n,s){const l=D9(e.name);if(!l)return pt;if(!n.isUnion()){const d=n.getProperty(l);return d?[d]:pt}const f=fr(n.types,d=>(cc(e.parent)||OT(e.parent))&&t.isTypeInvalidDueToUnionDiscriminant(d,e.parent)?void 0:d.getProperty(l));if(s&&(f.length===0||f.length===n.types.length)){const d=n.getProperty(l);if(d)return[d]}return f.length===0?fr(n.types,d=>d.getProperty(l)):f}function sit(e){return e&&e.parent&&e.parent.kind===209&&e.parent.argumentExpression===e}function ait(e){if(Bu)return _s($i(Co(Bu.getExecutingFilePath())),kB(e));throw new Error("getDefaultLibFilePath is only supported when consumed as a node module. ")}var Uoe,$V,qV,Y3e,zoe,WV,HV,Z3e,K3e,eAe,tAe,rAe,nAe,iAe,Voe,$oe,sAe,oit=p({"src/services/services.ts"(){Si(),Si(),b3e(),z3e(),Uoe="0.8",$V=class{constructor(e,t,n){this.pos=t,this.end=n,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=e}assertHasRealPosition(e){R.assert(!nh(this.pos)&&!nh(this.end),e||"Node must have a real position for this operation")}getSourceFile(){return bn(this)}getStart(e,t){return this.assertHasRealPosition(),yx(this,e,t)}getFullStart(){return this.assertHasRealPosition(),this.pos}getEnd(){return this.assertHasRealPosition(),this.end}getWidth(e){return this.assertHasRealPosition(),this.getEnd()-this.getStart(e)}getFullWidth(){return this.assertHasRealPosition(),this.end-this.pos}getLeadingTriviaWidth(e){return this.assertHasRealPosition(),this.getStart(e)-this.pos}getFullText(e){return this.assertHasRealPosition(),(e||this.getSourceFile()).text.substring(this.pos,this.end)}getText(e){return this.assertHasRealPosition(),e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())}getChildCount(e){return this.getChildren(e).length}getChildAt(e,t){return this.getChildren(t)[e]}getChildren(e){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=Znt(this,e))}getFirstToken(e){this.assertHasRealPosition();const t=this.getChildren(e);if(!t.length)return;const n=He(t,s=>s.kind<312||s.kind>353);return n.kind<163?n:n.getFirstToken(e)}getLastToken(e){this.assertHasRealPosition();const t=this.getChildren(e),n=Rc(t);if(n)return n.kind<163?n:n.getLastToken(e)}forEachChild(e,t){return ca(this,e,t)}},qV=class{constructor(e,t){this.pos=e,this.end=t,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0}getSourceFile(){return bn(this)}getStart(e,t){return yx(this,e,t)}getFullStart(){return this.pos}getEnd(){return this.end}getWidth(e){return this.getEnd()-this.getStart(e)}getFullWidth(){return this.end-this.pos}getLeadingTriviaWidth(e){return this.getStart(e)-this.pos}getFullText(e){return(e||this.getSourceFile()).text.substring(this.pos,this.end)}getText(e){return e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())}getChildCount(){return this.getChildren().length}getChildAt(e){return this.getChildren()[e]}getChildren(){return this.kind===1&&this.jsDoc||pt}getFirstToken(){}getLastToken(){}forEachChild(){}},Y3e=class{constructor(e,t){this.id=0,this.mergeId=0,this.flags=e,this.escapedName=t}getFlags(){return this.flags}get name(){return yl(this)}getEscapedName(){return this.escapedName}getName(){return this.name}getDeclarations(){return this.declarations}getDocumentationComment(e){if(!this.documentationComment)if(this.documentationComment=pt,!this.declarations&&qh(this)&&this.links.target&&qh(this.links.target)&&this.links.target.links.tupleLabelDeclaration){const t=this.links.target.links.tupleLabelDeclaration;this.documentationComment=V9([t],e)}else this.documentationComment=V9(this.declarations,e);return this.documentationComment}getContextualDocumentationComment(e,t){if(e){if(_v(e)&&(this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=V9(hr(this.declarations,_v),t)),H(this.contextualGetAccessorDocumentationComment)))return this.contextualGetAccessorDocumentationComment;if(Q0(e)&&(this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=V9(hr(this.declarations,Q0),t)),H(this.contextualSetAccessorDocumentationComment)))return this.contextualSetAccessorDocumentationComment}return this.getDocumentationComment(t)}getJsDocTags(e){return this.tags===void 0&&(this.tags=JV(this.declarations,e)),this.tags}getContextualJsDocTags(e,t){if(e){if(_v(e)&&(this.contextualGetAccessorTags||(this.contextualGetAccessorTags=JV(hr(this.declarations,_v),t)),H(this.contextualGetAccessorTags)))return this.contextualGetAccessorTags;if(Q0(e)&&(this.contextualSetAccessorTags||(this.contextualSetAccessorTags=JV(hr(this.declarations,Q0),t)),H(this.contextualSetAccessorTags)))return this.contextualSetAccessorTags}return this.getJsDocTags(t)}},zoe=class extends qV{constructor(e,t,n){super(t,n),this.kind=e}},WV=class extends qV{constructor(e,t,n){super(t,n),this.kind=79}get text(){return ai(this)}},WV.prototype.kind=79,HV=class extends qV{constructor(e,t,n){super(t,n),this.kind=80}get text(){return ai(this)}},HV.prototype.kind=80,Z3e=class{constructor(e,t){this.checker=e,this.flags=t}getFlags(){return this.flags}getSymbol(){return this.symbol}getProperties(){return this.checker.getPropertiesOfType(this)}getProperty(e){return this.checker.getPropertyOfType(this,e)}getApparentProperties(){return this.checker.getAugmentedPropertiesOfType(this)}getCallSignatures(){return this.checker.getSignaturesOfType(this,0)}getConstructSignatures(){return this.checker.getSignaturesOfType(this,1)}getStringIndexType(){return this.checker.getIndexTypeOfType(this,0)}getNumberIndexType(){return this.checker.getIndexTypeOfType(this,1)}getBaseTypes(){return this.isClassOrInterface()?this.checker.getBaseTypes(this):void 0}isNullableType(){return this.checker.isNullableType(this)}getNonNullableType(){return this.checker.getNonNullableType(this)}getNonOptionalType(){return this.checker.getNonOptionalType(this)}getConstraint(){return this.checker.getBaseConstraintOfType(this)}getDefault(){return this.checker.getDefaultFromTypeParameter(this)}isUnion(){return!!(this.flags&1048576)}isIntersection(){return!!(this.flags&2097152)}isUnionOrIntersection(){return!!(this.flags&3145728)}isLiteral(){return!!(this.flags&2432)}isStringLiteral(){return!!(this.flags&128)}isNumberLiteral(){return!!(this.flags&256)}isTypeParameter(){return!!(this.flags&262144)}isClassOrInterface(){return!!(Ci(this)&3)}isClass(){return!!(Ci(this)&1)}isIndexType(){return!!(this.flags&4194304)}get typeArguments(){if(Ci(this)&4)return this.checker.getTypeArguments(this)}},K3e=class{constructor(e,t){this.checker=e,this.flags=t}getDeclaration(){return this.declaration}getTypeParameters(){return this.typeParameters}getParameters(){return this.parameters}getReturnType(){return this.checker.getReturnTypeOfSignature(this)}getTypeParameterAtPosition(e){const t=this.checker.getParameterType(this,e);if(t.isIndexType()&&qP(t.type)){const n=t.type.getConstraint();if(n)return this.checker.getIndexType(n)}return t}getDocumentationComment(){return this.documentationComment||(this.documentationComment=V9(ax(this.declaration),this.checker))}getJsDocTags(){return this.jsDocTags||(this.jsDocTags=JV(ax(this.declaration),this.checker))}},eAe=class extends $V{constructor(e,t,n){super(e,t,n),this.kind=308}update(e,t){return Fre(this,e,t)}getLineAndCharacterOfPosition(e){return zc(this,e)}getLineStarts(){return Py(this)}getPositionOfLineAndCharacter(e,t,n){return UZ(Py(this),e,t,this.text,n)}getLineEndOfPosition(e){const{line:t}=this.getLineAndCharacterOfPosition(e),n=this.getLineStarts();let s;t+1>=n.length&&(s=this.getEnd()),s||(s=n[t+1]-1);const l=this.getFullText();return l[s]===`
`&&l[s-1]==="\r"?s-1:s}getNamedDeclarations(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations}computeNamedDeclarations(){const e=dd();return this.forEachChild(l),e;function t(f){const d=s(f);d&&e.add(d,f)}function n(f){let d=e.get(f);return d||e.set(f,d=[]),d}function s(f){const d=XZ(f);return d&&(ac(d)&&oi(d.expression)?d.expression.name.text:rl(d)?D9(d):void 0)}function l(f){switch(f.kind){case 259:case 215:case 171:case 170:const d=f,g=s(d);if(g){const S=n(g),w=Rc(S);w&&d.parent===w.parent&&d.symbol===w.symbol?d.body&&!w.body&&(S[S.length-1]=d):S.push(d)}ca(f,l);break;case 260:case 228:case 261:case 262:case 263:case 264:case 268:case 278:case 273:case 270:case 271:case 174:case 175:case 184:t(f),ca(f,l);break;case 166:if(!Ti(f,16476))break;case 257:case 205:{const S=f;if(xa(S.name)){ca(S.name,l);break}S.initializer&&l(S.initializer)}case 302:case 169:case 168:t(f);break;case 275:const h=f;h.exportClause&&(Xd(h.exportClause)?Q(h.exportClause.elements,l):l(h.exportClause.name));break;case 269:const k=f.importClause;k&&(k.name&&t(k.name),k.namedBindings&&(k.namedBindings.kind===271?t(k.namedBindings):Q(k.namedBindings.elements,l)));break;case 223:ll(f)!==0&&t(f);default:ca(f,l)}}}},tAe=class{constructor(e,t,n){this.fileName=e,this.text=t,this.skipTrivia=n}getLineAndCharacterOfPosition(e){return zc(this,e)}},rAe=class{constructor(e){this.host=e}getCurrentSourceFile(e){var t,n,s,l,f,d,g,h;const k=this.host.getScriptSnapshot(e);if(!k)throw new Error("Could not find file: '"+e+"'.");const S=Uae(e,this.host),w=this.host.getScriptVersion(e);let N;if(this.currentFileName!==e){const O={languageVersion:99,impliedNodeFormat:uz(wc(e,this.host.getCurrentDirectory(),((s=(n=(t=this.host).getCompilerHost)==null?void 0:n.call(t))==null?void 0:s.getCanonicalFileName)||Ub(this.host)),(h=(g=(d=(f=(l=this.host).getCompilerHost)==null?void 0:f.call(l))==null?void 0:d.getModuleResolutionCache)==null?void 0:g.call(d))==null?void 0:h.getPackageJsonInfoCache(),this.host,this.host.getCompilationSettings()),setExternalModuleIndicator:S5(this.host.getCompilationSettings())};N=zV(e,k,O,w,!0,S)}else if(this.currentFileVersion!==w){const O=k.getChangeRange(this.currentFileScriptSnapshot);N=joe(this.currentSourceFile,k,w,O)}return N&&(this.currentFileVersion=w,this.currentFileName=e,this.currentFileScriptSnapshot=k,this.currentSourceFile=N),this.currentSourceFile}},nAe={isCancellationRequested:rT,throwIfCancellationRequested:La},iAe=class{constructor(e){this.cancellationToken=e}isCancellationRequested(){return this.cancellationToken.isCancellationRequested()}throwIfCancellationRequested(){var e;if(this.isCancellationRequested())throw(e=Hi)==null||e.instant(Hi.Phase.Session,"cancellationThrown",{kind:"CancellationTokenObject"}),new RA}},Voe=class{constructor(e,t=20){this.hostCancellationToken=e,this.throttleWaitMilliseconds=t,this.lastCancellationCheckTime=0}isCancellationRequested(){const e=Jc();return Math.abs(e-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds?(this.lastCancellationCheckTime=e,this.hostCancellationToken.isCancellationRequested()):!1}throwIfCancellationRequested(){var e;if(this.isCancellationRequested())throw(e=Hi)==null||e.instant(Hi.Phase.Session,"cancellationThrown",{kind:"ThrottledCancellationToken"}),new RA}},$oe=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints","getSupportedCodeFixes"],sAe=[...$oe,"getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getOccurrencesAtPosition","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],kTe(eit())}});function cit(e,t,n){const s=[];n=Eoe(n,s);const l=pa(e)?e:[e],f=ZO(void 0,void 0,J,n,l,t,!0);return f.diagnostics=Cr(f.diagnostics,s),f}var lit=p({"src/services/transform.ts"(){Si()}});function GV(e,t){e&&e.log("*INTERNAL ERROR* - Exception in typescript services: "+t.message)}function uit(e,t,n,s){let l;s&&(e.log(t),l=Jc());const f=n();if(s){const d=Jc();if(e.log(`${t} completed in ${d-l} msec`),ha(f)){let g=f;g.length>128&&(g=g.substring(0,128)+"..."),e.log(` result.length=${g.length}, result='${JSON.stringify(g)}'`)}}return f}function qoe(e,t,n,s){return aAe(e,t,!0,n,s)}function aAe(e,t,n,s,l){try{const f=uit(e,t,s,l);return n?JSON.stringify({result:f}):f}catch(f){return f instanceof RA?JSON.stringify({canceled:!0}):(GV(e,f),f.description=t,JSON.stringify({error:f}))}}function Woe(e,t){return e.map(n=>fit(n,t))}function fit(e,t){return{message:Av(e.messageText,t),start:e.start,length:e.length,category:tB(e),code:e.code,reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated}}function Hoe(e){return{spans:e.spans.join(","),endOfLineState:e.endOfLineState}}var XV,oAe,Goe,Xoe,QV,cAe,lAe,uAe,fAe,_it=p({"src/services/shims.ts"(){Si(),XV=function(){return this}(),oAe=class{constructor(e){this.scriptSnapshotShim=e}getText(e,t){return this.scriptSnapshotShim.getText(e,t)}getLength(){return this.scriptSnapshotShim.getLength()}getChangeRange(e){const t=e,n=this.scriptSnapshotShim.getChangeRange(t.scriptSnapshotShim);if(n===null)return null;const s=JSON.parse(n);return _7(hu(s.span.start,s.span.length),s.newLength)}dispose(){"dispose"in this.scriptSnapshotShim&&this.scriptSnapshotShim.dispose()}},Goe=class{constructor(e){this.shimHost=e,this.loggingEnabled=!1,this.tracingEnabled=!1,"getModuleResolutionsForFile"in this.shimHost&&(this.resolveModuleNames=(t,n)=>{const s=JSON.parse(this.shimHost.getModuleResolutionsForFile(n));return qt(t,l=>{const f=LI(s,l);return f?{resolvedFileName:f,extension:N5(f),isExternalLibraryImport:!1}:void 0})}),"directoryExists"in this.shimHost&&(this.directoryExists=t=>this.shimHost.directoryExists(t)),"getTypeReferenceDirectiveResolutionsForFile"in this.shimHost&&(this.resolveTypeReferenceDirectives=(t,n)=>{const s=JSON.parse(this.shimHost.getTypeReferenceDirectiveResolutionsForFile(n));return qt(t,l=>LI(s,ha(l)?l:Fd(l.fileName)))})}log(e){this.loggingEnabled&&this.shimHost.log(e)}trace(e){this.tracingEnabled&&this.shimHost.trace(e)}error(e){this.shimHost.error(e)}getProjectVersion(){if(this.shimHost.getProjectVersion)return this.shimHost.getProjectVersion()}getTypeRootsVersion(){return this.shimHost.getTypeRootsVersion?this.shimHost.getTypeRootsVersion():0}useCaseSensitiveFileNames(){return this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():!1}getCompilationSettings(){const e=this.shimHost.getCompilationSettings();if(e===null||e==="")throw Error("LanguageServiceShimHostAdapter.getCompilationSettings: empty compilationSettings");const t=JSON.parse(e);return t.allowNonTsExtensions=!0,t}getScriptFileNames(){const e=this.shimHost.getScriptFileNames();return JSON.parse(e)}getScriptSnapshot(e){const t=this.shimHost.getScriptSnapshot(e);return t&&new oAe(t)}getScriptKind(e){return"getScriptKind"in this.shimHost?this.shimHost.getScriptKind(e):0}getScriptVersion(e){return this.shimHost.getScriptVersion(e)}getLocalizedDiagnosticMessages(){const e=this.shimHost.getLocalizedDiagnosticMessages();if(e===null||e==="")return null;try{return JSON.parse(e)}catch(t){return this.log(t.description||"diagnosticMessages.generated.json has invalid JSON format"),null}}getCancellationToken(){const e=this.shimHost.getCancellationToken();return new Voe(e)}getCurrentDirectory(){return this.shimHost.getCurrentDirectory()}getDirectories(e){return JSON.parse(this.shimHost.getDirectories(e))}getDefaultLibFileName(e){return this.shimHost.getDefaultLibFileName(JSON.stringify(e))}readDirectory(e,t,n,s,l){const f=RP(e,n,s,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(e,JSON.stringify(t),JSON.stringify(f.basePaths),f.excludePattern,f.includeFilePattern,f.includeDirectoryPattern,l))}readFile(e,t){return this.shimHost.readFile(e,t)}fileExists(e){return this.shimHost.fileExists(e)}},Xoe=class{constructor(e){this.shimHost=e,this.useCaseSensitiveFileNames=this.shimHost.useCaseSensitiveFileNames?this.shimHost.useCaseSensitiveFileNames():!1,"directoryExists"in this.shimHost?this.directoryExists=t=>this.shimHost.directoryExists(t):this.directoryExists=void 0,"realpath"in this.shimHost?this.realpath=t=>this.shimHost.realpath(t):this.realpath=void 0}readDirectory(e,t,n,s,l){const f=RP(e,n,s,this.shimHost.useCaseSensitiveFileNames(),this.shimHost.getCurrentDirectory());return JSON.parse(this.shimHost.readDirectory(e,JSON.stringify(t),JSON.stringify(f.basePaths),f.excludePattern,f.includeFilePattern,f.includeDirectoryPattern,l))}fileExists(e){return this.shimHost.fileExists(e)}readFile(e){return this.shimHost.readFile(e)}getDirectories(e){return JSON.parse(this.shimHost.getDirectories(e))}},QV=class{constructor(e){this.factory=e,e.registerShim(this)}dispose(e){this.factory.unregisterShim(this)}},cAe=class extends QV{constructor(e,t,n){super(e),this.host=t,this.languageService=n,this.logPerformance=!1,this.logger=this.host}forwardJSONCall(e,t){return qoe(this.logger,e,t,this.logPerformance)}dispose(e){this.logger.log("dispose()"),this.languageService.dispose(),this.languageService=null,XV&&XV.CollectGarbage&&(XV.CollectGarbage(),this.logger.log("CollectGarbage()")),this.logger=null,super.dispose(e)}refresh(e){this.forwardJSONCall(`refresh(${e})`,()=>null)}cleanupSemanticCache(){this.forwardJSONCall("cleanupSemanticCache()",()=>(this.languageService.cleanupSemanticCache(),null))}realizeDiagnostics(e){const t=Zb(this.host,void 0);return Woe(e,t)}getSyntacticClassifications(e,t,n){return this.forwardJSONCall(`getSyntacticClassifications('${e}', ${t}, ${n})`,()=>this.languageService.getSyntacticClassifications(e,hu(t,n)))}getSemanticClassifications(e,t,n){return this.forwardJSONCall(`getSemanticClassifications('${e}', ${t}, ${n})`,()=>this.languageService.getSemanticClassifications(e,hu(t,n)))}getEncodedSyntacticClassifications(e,t,n){return this.forwardJSONCall(`getEncodedSyntacticClassifications('${e}', ${t}, ${n})`,()=>Hoe(this.languageService.getEncodedSyntacticClassifications(e,hu(t,n))))}getEncodedSemanticClassifications(e,t,n){return this.forwardJSONCall(`getEncodedSemanticClassifications('${e}', ${t}, ${n})`,()=>Hoe(this.languageService.getEncodedSemanticClassifications(e,hu(t,n))))}getSyntacticDiagnostics(e){return this.forwardJSONCall(`getSyntacticDiagnostics('${e}')`,()=>{const t=this.languageService.getSyntacticDiagnostics(e);return this.realizeDiagnostics(t)})}getSemanticDiagnostics(e){return this.forwardJSONCall(`getSemanticDiagnostics('${e}')`,()=>{const t=this.languageService.getSemanticDiagnostics(e);return this.realizeDiagnostics(t)})}getSuggestionDiagnostics(e){return this.forwardJSONCall(`getSuggestionDiagnostics('${e}')`,()=>this.realizeDiagnostics(this.languageService.getSuggestionDiagnostics(e)))}getCompilerOptionsDiagnostics(){return this.forwardJSONCall("getCompilerOptionsDiagnostics()",()=>{const e=this.languageService.getCompilerOptionsDiagnostics();return this.realizeDiagnostics(e)})}getQuickInfoAtPosition(e,t){return this.forwardJSONCall(`getQuickInfoAtPosition('${e}', ${t})`,()=>this.languageService.getQuickInfoAtPosition(e,t))}getNameOrDottedNameSpan(e,t,n){return this.forwardJSONCall(`getNameOrDottedNameSpan('${e}', ${t}, ${n})`,()=>this.languageService.getNameOrDottedNameSpan(e,t,n))}getBreakpointStatementAtPosition(e,t){return this.forwardJSONCall(`getBreakpointStatementAtPosition('${e}', ${t})`,()=>this.languageService.getBreakpointStatementAtPosition(e,t))}getSignatureHelpItems(e,t,n){return this.forwardJSONCall(`getSignatureHelpItems('${e}', ${t})`,()=>this.languageService.getSignatureHelpItems(e,t,n))}getDefinitionAtPosition(e,t){return this.forwardJSONCall(`getDefinitionAtPosition('${e}', ${t})`,()=>this.languageService.getDefinitionAtPosition(e,t))}getDefinitionAndBoundSpan(e,t){return this.forwardJSONCall(`getDefinitionAndBoundSpan('${e}', ${t})`,()=>this.languageService.getDefinitionAndBoundSpan(e,t))}getTypeDefinitionAtPosition(e,t){return this.forwardJSONCall(`getTypeDefinitionAtPosition('${e}', ${t})`,()=>this.languageService.getTypeDefinitionAtPosition(e,t))}getImplementationAtPosition(e,t){return this.forwardJSONCall(`getImplementationAtPosition('${e}', ${t})`,()=>this.languageService.getImplementationAtPosition(e,t))}getRenameInfo(e,t,n){return this.forwardJSONCall(`getRenameInfo('${e}', ${t})`,()=>this.languageService.getRenameInfo(e,t,n))}getSmartSelectionRange(e,t){return this.forwardJSONCall(`getSmartSelectionRange('${e}', ${t})`,()=>this.languageService.getSmartSelectionRange(e,t))}findRenameLocations(e,t,n,s,l){return this.forwardJSONCall(`findRenameLocations('${e}', ${t}, ${n}, ${s}, ${l})`,()=>this.languageService.findRenameLocations(e,t,n,s,l))}getBraceMatchingAtPosition(e,t){return this.forwardJSONCall(`getBraceMatchingAtPosition('${e}', ${t})`,()=>this.languageService.getBraceMatchingAtPosition(e,t))}isValidBraceCompletionAtPosition(e,t,n){return this.forwardJSONCall(`isValidBraceCompletionAtPosition('${e}', ${t}, ${n})`,()=>this.languageService.isValidBraceCompletionAtPosition(e,t,n))}getSpanOfEnclosingComment(e,t,n){return this.forwardJSONCall(`getSpanOfEnclosingComment('${e}', ${t})`,()=>this.languageService.getSpanOfEnclosingComment(e,t,n))}getIndentationAtPosition(e,t,n){return this.forwardJSONCall(`getIndentationAtPosition('${e}', ${t})`,()=>{const s=JSON.parse(n);return this.languageService.getIndentationAtPosition(e,t,s)})}getReferencesAtPosition(e,t){return this.forwardJSONCall(`getReferencesAtPosition('${e}', ${t})`,()=>this.languageService.getReferencesAtPosition(e,t))}findReferences(e,t){return this.forwardJSONCall(`findReferences('${e}', ${t})`,()=>this.languageService.findReferences(e,t))}getFileReferences(e){return this.forwardJSONCall(`getFileReferences('${e})`,()=>this.languageService.getFileReferences(e))}getOccurrencesAtPosition(e,t){return this.forwardJSONCall(`getOccurrencesAtPosition('${e}', ${t})`,()=>this.languageService.getOccurrencesAtPosition(e,t))}getDocumentHighlights(e,t,n){return this.forwardJSONCall(`getDocumentHighlights('${e}', ${t})`,()=>{const s=this.languageService.getDocumentHighlights(e,t,JSON.parse(n)),l=Fd(ju(e));return hr(s,f=>Fd(ju(f.fileName))===l)})}getCompletionsAtPosition(e,t,n,s){return this.forwardJSONCall(`getCompletionsAtPosition('${e}', ${t}, ${n}, ${s})`,()=>this.languageService.getCompletionsAtPosition(e,t,n,s))}getCompletionEntryDetails(e,t,n,s,l,f,d){return this.forwardJSONCall(`getCompletionEntryDetails('${e}', ${t}, '${n}')`,()=>{const g=s===void 0?void 0:JSON.parse(s);return this.languageService.getCompletionEntryDetails(e,t,n,g,l,f,d)})}getFormattingEditsForRange(e,t,n,s){return this.forwardJSONCall(`getFormattingEditsForRange('${e}', ${t}, ${n})`,()=>{const l=JSON.parse(s);return this.languageService.getFormattingEditsForRange(e,t,n,l)})}getFormattingEditsForDocument(e,t){return this.forwardJSONCall(`getFormattingEditsForDocument('${e}')`,()=>{const n=JSON.parse(t);return this.languageService.getFormattingEditsForDocument(e,n)})}getFormattingEditsAfterKeystroke(e,t,n,s){return this.forwardJSONCall(`getFormattingEditsAfterKeystroke('${e}', ${t}, '${n}')`,()=>{const l=JSON.parse(s);return this.languageService.getFormattingEditsAfterKeystroke(e,t,n,l)})}getDocCommentTemplateAtPosition(e,t,n,s){return this.forwardJSONCall(`getDocCommentTemplateAtPosition('${e}', ${t})`,()=>this.languageService.getDocCommentTemplateAtPosition(e,t,n,s))}getNavigateToItems(e,t,n){return this.forwardJSONCall(`getNavigateToItems('${e}', ${t}, ${n})`,()=>this.languageService.getNavigateToItems(e,t,n))}getNavigationBarItems(e){return this.forwardJSONCall(`getNavigationBarItems('${e}')`,()=>this.languageService.getNavigationBarItems(e))}getNavigationTree(e){return this.forwardJSONCall(`getNavigationTree('${e}')`,()=>this.languageService.getNavigationTree(e))}getOutliningSpans(e){return this.forwardJSONCall(`getOutliningSpans('${e}')`,()=>this.languageService.getOutliningSpans(e))}getTodoComments(e,t){return this.forwardJSONCall(`getTodoComments('${e}')`,()=>this.languageService.getTodoComments(e,JSON.parse(t)))}prepareCallHierarchy(e,t){return this.forwardJSONCall(`prepareCallHierarchy('${e}', ${t})`,()=>this.languageService.prepareCallHierarchy(e,t))}provideCallHierarchyIncomingCalls(e,t){return this.forwardJSONCall(`provideCallHierarchyIncomingCalls('${e}', ${t})`,()=>this.languageService.provideCallHierarchyIncomingCalls(e,t))}provideCallHierarchyOutgoingCalls(e,t){return this.forwardJSONCall(`provideCallHierarchyOutgoingCalls('${e}', ${t})`,()=>this.languageService.provideCallHierarchyOutgoingCalls(e,t))}provideInlayHints(e,t,n){return this.forwardJSONCall(`provideInlayHints('${e}', '${JSON.stringify(t)}', ${JSON.stringify(n)})`,()=>this.languageService.provideInlayHints(e,t,n))}getEmitOutput(e){return this.forwardJSONCall(`getEmitOutput('${e}')`,()=>{const{diagnostics:t,...n}=this.languageService.getEmitOutput(e);return{...n,diagnostics:this.realizeDiagnostics(t)}})}getEmitOutputObject(e){return aAe(this.logger,`getEmitOutput('${e}')`,!1,()=>this.languageService.getEmitOutput(e),this.logPerformance)}toggleLineComment(e,t){return this.forwardJSONCall(`toggleLineComment('${e}', '${JSON.stringify(t)}')`,()=>this.languageService.toggleLineComment(e,t))}toggleMultilineComment(e,t){return this.forwardJSONCall(`toggleMultilineComment('${e}', '${JSON.stringify(t)}')`,()=>this.languageService.toggleMultilineComment(e,t))}commentSelection(e,t){return this.forwardJSONCall(`commentSelection('${e}', '${JSON.stringify(t)}')`,()=>this.languageService.commentSelection(e,t))}uncommentSelection(e,t){return this.forwardJSONCall(`uncommentSelection('${e}', '${JSON.stringify(t)}')`,()=>this.languageService.uncommentSelection(e,t))}},lAe=class extends QV{constructor(e,t){super(e),this.logger=t,this.logPerformance=!1,this.classifier=F4e()}getEncodedLexicalClassifications(e,t,n=!1){return qoe(this.logger,"getEncodedLexicalClassifications",()=>Hoe(this.classifier.getEncodedLexicalClassifications(e,t,n)),this.logPerformance)}getClassificationsForLine(e,t,n=!1){const s=this.classifier.getClassificationsForLine(e,t,n);let l="";for(const f of s.entries)l+=f.length+`
`,l+=f.classification+`
`;return l+=s.finalLexState,l}},uAe=class extends QV{constructor(e,t,n){super(e),this.logger=t,this.host=n,this.logPerformance=!1}forwardJSONCall(e,t){return qoe(this.logger,e,t,this.logPerformance)}resolveModuleName(e,t,n){return this.forwardJSONCall(`resolveModuleName('${e}')`,()=>{const s=JSON.parse(n),l=vD(t,ju(e),s,this.host);let f=l.resolvedModule?l.resolvedModule.resolvedFileName:void 0;return l.resolvedModule&&l.resolvedModule.extension!==".ts"&&l.resolvedModule.extension!==".tsx"&&l.resolvedModule.extension!==".d.ts"&&(f=void 0),{resolvedFileName:f,failedLookupLocations:l.failedLookupLocations,affectingLocations:l.affectingLocations}})}resolveTypeReferenceDirective(e,t,n){return this.forwardJSONCall(`resolveTypeReferenceDirective(${e})`,()=>{const s=JSON.parse(n),l=mne(t,ju(e),s,this.host);return{resolvedFileName:l.resolvedTypeReferenceDirective?l.resolvedTypeReferenceDirective.resolvedFileName:void 0,primary:l.resolvedTypeReferenceDirective?l.resolvedTypeReferenceDirective.primary:!0,failedLookupLocations:l.failedLookupLocations}})}getPreProcessedFileInfo(e,t){return this.forwardJSONCall(`getPreProcessedFileInfo('${e}')`,()=>{const n=s3e(Yz(t),!0,!0);return{referencedFiles:this.convertFileReferences(n.referencedFiles),importedFiles:this.convertFileReferences(n.importedFiles),ambientExternalModules:n.ambientExternalModules,isLibFile:n.isLibFile,typeReferenceDirectives:this.convertFileReferences(n.typeReferenceDirectives),libReferenceDirectives:this.convertFileReferences(n.libReferenceDirectives)}})}getAutomaticTypeDirectiveNames(e){return this.forwardJSONCall(`getAutomaticTypeDirectiveNames('${e}')`,()=>{const t=JSON.parse(e);return CU(t,this.host)})}convertFileReferences(e){if(!e)return;const t=[];for(const n of e)t.push({path:ju(n.fileName),position:n.pos,length:n.end-n.pos});return t}getTSConfigFileInfo(e,t){return this.forwardJSONCall(`getTSConfigFileInfo('${e}')`,()=>{const n=bO(e,Yz(t)),s=ju(e),l=CO(n,this.host,$i(s),{},s);return{options:l.options,typeAcquisition:l.typeAcquisition,files:l.fileNames,raw:l.raw,errors:Woe([...n.parseDiagnostics,...l.errors],`\r
`)}})}getDefaultCompilationSettings(){return this.forwardJSONCall("getDefaultCompilationSettings()",()=>UV())}discoverTypings(e){const t=qu(!1);return this.forwardJSONCall("discoverTypings()",()=>{const n=JSON.parse(e);return this.safeList===void 0&&(this.safeList=Zx.loadSafeList(this.host,wc(n.safeListPath,n.safeListPath,t))),Zx.discoverTypings(this.host,s=>this.logger.log(s),n.fileNames,wc(n.projectRootPath,n.projectRootPath,t),this.safeList,n.packageNameToTypingLocation,n.typeAcquisition,n.unresolvedImports,n.typesRegistry,uh)})}},fAe=class{constructor(){this._shims=[]}getServicesVersion(){return Uoe}createLanguageServiceShim(e){try{this.documentRegistry===void 0&&(this.documentRegistry=poe(e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames(),e.getCurrentDirectory()));const t=new Goe(e),n=Q3e(t,this.documentRegistry,!1);return new cAe(this,e,n)}catch(t){throw GV(e,t),t}}createClassifierShim(e){try{return new lAe(this,e)}catch(t){throw GV(e,t),t}}createCoreServicesShim(e){try{const t=new Xoe(e);return new uAe(this,e,t)}catch(t){throw GV(e,t),t}}close(){ss(this._shims),this.documentRegistry=void 0}registerShim(e){this._shims.push(e)}unregisterShim(e){for(let t=0;t<this._shims.length;t++)if(this._shims[t]===e){delete this._shims[t];return}throw new Error("Invalid operation")}}}});function pit(e,t){if(e.isDeclarationFile)return;let n=Os(e,t);const s=e.getLineAndCharacterOfPosition(t).line;if(e.getLineAndCharacterOfPosition(n.getStart(e)).line>s){const w=fu(n.pos,e);if(!w||e.getLineAndCharacterOfPosition(w.getEnd()).line!==s)return;n=w}if(n.flags&16777216)return;return S(n);function l(w,N){const O=yw(w)?Bt(w.modifiers,Df):void 0,L=O?wo(e.text,O.end):w.getStart(e);return eu(L,(N||w).getEnd())}function f(w,N){return l(w,tk(N,N.parent,e))}function d(w,N){return w&&s===e.getLineAndCharacterOfPosition(w.getStart(e)).line?S(w):S(N)}function g(w,N,O){if(w){const L=w.indexOf(N);if(L>=0){let U=L,M=L+1;for(;U>0&&O(w[U-1]);)U--;for(;M<w.length&&O(w[M]);)M++;return eu(wo(e.text,w[U].pos),w[M-1].end)}}return l(N)}function h(w){return S(fu(w.pos,e))}function k(w){return S(tk(w,w.parent,e))}function S(w){if(w){const{parent:le}=w;switch(w.kind){case 240:return O(w.declarationList.declarations[0]);case 257:case 169:case 168:return O(w);case 166:return U(w);case 259:case 171:case 170:case 174:case 175:case 173:case 215:case 216:return W(w);case 238:if(Tx(w))return X(w);case 265:return Z(w);case 295:return Z(w.block);case 241:return l(w.expression);case 250:return l(w.getChildAt(0),w.expression);case 244:return f(w,w.expression);case 243:return S(w.statement);case 256:return l(w.getChildAt(0));case 242:return f(w,w.expression);case 253:return S(w.statement);case 249:case 248:return l(w.getChildAt(0),w.label);case 245:return ie(w);case 246:return f(w,w.expression);case 247:return ue(w);case 252:return f(w,w.expression);case 292:case 293:return S(w.statements[0]);case 255:return Z(w.tryBlock);case 254:return l(w,w.expression);case 274:return l(w,w.expression);case 268:return l(w,w.moduleReference);case 269:return l(w,w.moduleSpecifier);case 275:return l(w,w.moduleSpecifier);case 264:if($y(w)!==1)return;case 260:case 263:case 302:case 205:return l(w);case 251:return S(w.statement);case 167:return g(le.modifiers,w,Df);case 203:case 204:return se(w);case 261:case 262:return;case 26:case 1:return d(fu(w.pos,e));case 27:return h(w);case 18:return ve(w);case 19:return fe(w);case 23:return Ce(w);case 20:return _e(w);case 21:return K(w);case 58:return ge(w);case 31:case 29:return Se(w);case 115:return we(w);case 91:case 83:case 96:return k(w);case 162:return Pe(w);default:if(u1(w))return V(w);if((w.kind===79||w.kind===227||w.kind===299||w.kind===300)&&u1(le))return l(w);if(w.kind===223){const{left:ot,operatorToken:Qe}=w;if(u1(ot))return V(ot);if(Qe.kind===63&&u1(w.parent))return l(w);if(Qe.kind===27)return S(ot)}if(Fy(w))switch(le.kind){case 243:return h(w);case 167:return S(w.parent);case 245:case 247:return l(w);case 223:if(w.parent.operatorToken.kind===27)return l(w);break;case 216:if(w.parent.body===w)return l(w);break}switch(w.parent.kind){case 299:if(w.parent.name===w&&!u1(w.parent.parent))return S(w.parent.initializer);break;case 213:if(w.parent.type===w)return k(w.parent.type);break;case 257:case 166:{const{initializer:ot,type:Qe}=w.parent;if(ot===w||Qe===w||Z0(w.kind))return h(w);break}case 223:{const{left:ot}=w.parent;if(u1(ot)&&w!==ot)return h(w);break}default:if(Sa(w.parent)&&w.parent.type===w)return h(w)}return S(w.parent)}}function N(le){return Of(le.parent)&&le.parent.declarations[0]===le?l(fu(le.pos,e,le.parent),le):l(le)}function O(le){if(le.parent.parent.kind===246)return S(le.parent.parent);const ot=le.parent;if(xa(le.name))return se(le.name);if(hx(le)&&le.initializer||Ti(le,1)||ot.parent.kind===247)return N(le);if(Of(le.parent)&&le.parent.declarations[0]!==le)return S(fu(le.pos,e,le.parent))}function L(le){return!!le.initializer||le.dotDotDotToken!==void 0||Ti(le,12)}function U(le){if(xa(le.name))return se(le.name);if(L(le))return l(le);{const ot=le.parent,Qe=ot.parameters.indexOf(le);return R.assert(Qe!==-1),Qe!==0?U(ot.parameters[Qe-1]):S(ot.body)}}function M(le){return Ti(le,1)||le.parent.kind===260&&le.kind!==173}function W(le){if(le.body)return M(le)?l(le):S(le.body)}function X(le){const ot=le.statements.length?le.statements[0]:le.getLastToken();return M(le.parent)?d(le.parent,ot):S(ot)}function Z(le){switch(le.parent.kind){case 264:if($y(le.parent)!==1)return;case 244:case 242:case 246:return d(le.parent,le.statements[0]);case 245:case 247:return d(fu(le.pos,e,le.parent),le.statements[0])}return S(le.statements[0])}function ue(le){if(le.initializer.kind===258){const ot=le.initializer;if(ot.declarations.length>0)return S(ot.declarations[0])}else return S(le.initializer)}function ie(le){if(le.initializer)return ue(le);if(le.condition)return l(le.condition);if(le.incrementor)return l(le.incrementor)}function se(le){const ot=Q(le.elements,Qe=>Qe.kind!==229?Qe:void 0);return ot?S(ot):le.parent.kind===205?l(le.parent):N(le.parent)}function V(le){R.assert(le.kind!==204&&le.kind!==203);const ot=le.kind===206?le.elements:le.properties,Qe=Q(ot,Ge=>Ge.kind!==229?Ge:void 0);return Qe?S(Qe):l(le.parent.kind===223?le.parent:le)}function ve(le){switch(le.parent.kind){case 263:const ot=le.parent;return d(fu(le.pos,e,le.parent),ot.members.length?ot.members[0]:ot.getLastToken(e));case 260:const Qe=le.parent;return d(fu(le.pos,e,le.parent),Qe.members.length?Qe.members[0]:Qe.getLastToken(e));case 266:return d(le.parent.parent,le.parent.clauses[0])}return S(le.parent)}function fe(le){switch(le.parent.kind){case 265:if($y(le.parent.parent)!==1)return;case 263:case 260:return l(le);case 238:if(Tx(le.parent))return l(le);case 295:return S(Rc(le.parent.statements));case 266:const ot=le.parent,Qe=Rc(ot.clauses);return Qe?S(Rc(Qe.statements)):void 0;case 203:const Ge=le.parent;return S(Rc(Ge.elements)||Ge);default:if(u1(le.parent)){const tt=le.parent;return l(Rc(tt.properties)||tt)}return S(le.parent)}}function Ce(le){switch(le.parent.kind){case 204:const ot=le.parent;return l(Rc(ot.elements)||ot);default:if(u1(le.parent)){const Qe=le.parent;return l(Rc(Qe.elements)||Qe)}return S(le.parent)}}function _e(le){return le.parent.kind===243||le.parent.kind===210||le.parent.kind===211?h(le):le.parent.kind===214?k(le):S(le.parent)}function K(le){switch(le.parent.kind){case 215:case 259:case 216:case 171:case 170:case 174:case 175:case 173:case 244:case 243:case 245:case 247:case 210:case 211:case 214:return h(le);default:return S(le.parent)}}function ge(le){return Sa(le.parent)||le.parent.kind===299||le.parent.kind===166?h(le):S(le.parent)}function Se(le){return le.parent.kind===213?k(le):S(le.parent)}function we(le){return le.parent.kind===243?f(le,le.parent.expression):S(le.parent)}function Pe(le){return le.parent.kind===247?k(le):S(le.parent)}}}var dit=p({"src/services/breakpoints.ts"(){Si()}}),Qoe={};T(Qoe,{spanInSourceFileAtLocation:()=>pit});var mit=p({"src/services/_namespaces/ts.BreakpointResolver.ts"(){dit()}});function hit(e){return(yc(e)||If(e))&&of(e)}function QD(e){return(yc(e)||Ac(e)||If(e))&&xs(e.parent)&&e===e.parent.initializer&&Ye(e.parent.name)&&!!(ym(e.parent)&2)}function _Ae(e){return bs(e)||Pl(e)||ru(e)||yc(e)||vu(e)||If(e)||fl(e)||zl(e)||zg(e)||Hd(e)||nd(e)}function Nw(e){return bs(e)||Pl(e)&&Ye(e.name)||ru(e)||vu(e)||fl(e)||zl(e)||zg(e)||Hd(e)||nd(e)||hit(e)||QD(e)}function pAe(e){return bs(e)?e:of(e)?e.name:QD(e)?e.parent.name:R.checkDefined(e.modifiers&&He(e.modifiers,dAe))}function dAe(e){return e.kind===88}function mAe(e,t){const n=pAe(t);return n&&e.getSymbolAtLocation(n)}function git(e,t){if(bs(t))return{text:t.fileName,pos:0,end:0};if((ru(t)||vu(t))&&!of(t)){const l=t.modifiers&&He(t.modifiers,dAe);if(l)return{text:"default",pos:l.getStart(),end:l.getEnd()}}if(fl(t)){const l=t.getSourceFile(),f=wo(l.text,rh(t).pos),d=f+6,g=e.getTypeChecker(),h=g.getSymbolAtLocation(t.parent);return{text:`${h?`${g.symbolToString(h,t.parent)} `:""}static {}`,pos:f,end:d}}const n=QD(t)?t.parent.name:R.checkDefined(ra(t),"Expected call hierarchy item to have a name");let s=Ye(n)?ai(n):Zp(n)?n.text:ac(n)&&Zp(n.expression)?n.expression.text:void 0;if(s===void 0){const l=e.getTypeChecker(),f=l.getSymbolAtLocation(n);f&&(s=l.symbolToString(f,t))}if(s===void 0){const l=t9();s=sP(f=>l.writeNode(4,t,t.getSourceFile(),f))}return{text:s,pos:n.getStart(),end:n.getEnd()}}function yit(e){var t,n;if(QD(e))return ah(e.parent.parent.parent.parent)&&Ye(e.parent.parent.parent.parent.parent.name)?e.parent.parent.parent.parent.parent.name.getText():void 0;switch(e.kind){case 174:case 175:case 171:return e.parent.kind===207?(t=QZ(e.parent))==null?void 0:t.getText():(n=ra(e.parent))==null?void 0:n.getText();case 259:case 260:case 264:if(ah(e.parent)&&Ye(e.parent.parent.name))return e.parent.parent.name.getText()}}function hAe(e,t){if(t.body)return t;if(Al(t))return Bg(t.parent);if(ru(t)||zl(t)){const n=mAe(e,t);return n&&n.valueDeclaration&&Lc(n.valueDeclaration)&&n.valueDeclaration.body?n.valueDeclaration:void 0}return t}function gAe(e,t){const n=mAe(e,t);let s;if(n&&n.declarations){const l=Vi(n.declarations),f=qt(n.declarations,h=>({file:h.getSourceFile().fileName,pos:h.pos}));l.sort((h,k)=>wf(f[h].file,f[k].file)||f[h].pos-f[k].pos);const d=qt(l,h=>n.declarations[h]);let g;for(const h of d)Nw(h)&&((!g||g.parent!==h.parent||g.end!==h.pos)&&(s=$r(s,h)),g=h)}return s}function YV(e,t){var n,s,l;return fl(t)?t:Lc(t)?(s=(n=hAe(e,t))!=null?n:gAe(e,t))!=null?s:t:(l=gAe(e,t))!=null?l:t}function yAe(e,t){const n=e.getTypeChecker();let s=!1;for(;;){if(Nw(t))return YV(n,t);if(_Ae(t)){const l=kn(t,Nw);return l&&YV(n,l)}if(By(t)){if(Nw(t.parent))return YV(n,t.parent);if(_Ae(t.parent)){const l=kn(t.parent,Nw);return l&&YV(n,l)}return xs(t.parent)&&t.parent.initializer&&QD(t.parent.initializer)?t.parent.initializer:void 0}if(Al(t))return Nw(t.parent)?t.parent:void 0;if(t.kind===124&&fl(t.parent)){t=t.parent;continue}if(xs(t)&&t.initializer&&QD(t.initializer))return t.initializer;if(!s){let l=n.getSymbolAtLocation(t);if(l&&(l.flags&2097152&&(l=n.getAliasedSymbol(l)),l.valueDeclaration)){s=!0,t=l.valueDeclaration;continue}}return}}function Yoe(e,t){const n=t.getSourceFile(),s=git(e,t),l=yit(t),f=qT(t),d=jD(t),g=eu(wo(n.text,t.getFullStart(),!1,!0),t.getEnd()),h=eu(s.pos,s.end);return{file:n.fileName,kind:f,kindModifiers:d,name:s.text,containerName:l,span:g,selectionSpan:h}}function vit(e){return e!==void 0}function bit(e){if(e.kind===Wc.EntryKind.Node){const{node:t}=e;if(oae(t,!0,!0)||C6e(t,!0,!0)||w6e(t,!0,!0)||E6e(t,!0,!0)||J4(t)||fae(t)){const n=t.getSourceFile();return{declaration:kn(t,Nw)||n,range:Aae(t,n)}}}}function vAe(e){return Wo(e.declaration)}function Tit(e,t){return{from:e,fromSpans:t}}function Sit(e,t){return Tit(Yoe(e,t[0].declaration),qt(t,n=>Dv(n.range)))}function xit(e,t,n){if(bs(t)||Pl(t)||fl(t))return[];const s=pAe(t),l=hr(Wc.findReferenceOrRenameEntries(e,n,e.getSourceFiles(),s,0,{use:Wc.FindReferencesUse.References},bit),vit);return l?IA(l,vAe,f=>Sit(e,f)):[]}function kit(e,t){function n(l){const f=Mx(l)?l.tag:Hf(l)?l.tagName:$c(l)||fl(l)?l:l.expression,d=yAe(e,f);if(d){const g=Aae(f,l.getSourceFile());if(pa(d))for(const h of d)t.push({declaration:h,range:g});else t.push({declaration:d,range:g})}}function s(l){if(l&&!(l.flags&16777216)){if(Nw(l)){if(Ri(l))for(const f of l.members)f.name&&ac(f.name)&&s(f.name.expression);return}switch(l.kind){case 79:case 268:case 269:case 275:case 261:case 262:return;case 172:n(l);return;case 213:case 231:s(l.expression);return;case 257:case 166:s(l.name),s(l.initializer);return;case 210:n(l),s(l.expression),Q(l.arguments,s);return;case 211:n(l),s(l.expression),Q(l.arguments,s);return;case 212:n(l),s(l.tag),s(l.template);return;case 283:case 282:n(l),s(l.tagName),s(l.attributes);return;case 167:n(l),s(l.expression);return;case 208:case 209:n(l),ca(l,s);break;case 235:s(l.expression);return}Mg(l)||ca(l,s)}}return s}function Cit(e,t){Q(e.statements,t)}function wit(e,t){!Ti(e,2)&&e.body&&ah(e.body)&&Q(e.body.statements,t)}function Eit(e,t,n){const s=hAe(e,t);s&&(Q(s.parameters,n),n(s.body))}function Ait(e,t){t(e.body)}function Pit(e,t){Q(e.modifiers,t);const n=TT(e);n&&t(n.expression);for(const s of e.members)Qd(s)&&Q(s.modifiers,t),Pa(s)?t(s.initializer):Al(s)&&s.body?(Q(s.parameters,t),t(s.body)):fl(s)&&t(s)}function Dit(e,t){const n=[],s=kit(e,n);switch(t.kind){case 308:Cit(t,s);break;case 264:wit(t,s);break;case 259:case 215:case 216:case 171:case 174:case 175:Eit(e.getTypeChecker(),t,s);break;case 260:case 228:Pit(t,s);break;case 172:Ait(t,s);break;default:R.assertNever(t)}return n}function Nit(e,t){return{to:e,fromSpans:t}}function Iit(e,t){return Nit(Yoe(e,t[0].declaration),qt(t,n=>Dv(n.range)))}function Oit(e,t){return t.flags&16777216||zg(t)?[]:IA(Dit(e,t),vAe,n=>Iit(e,n))}var Lit=p({"src/services/callHierarchy.ts"(){Si()}}),Iw={};T(Iw,{createCallHierarchyItem:()=>Yoe,getIncomingCalls:()=>xit,getOutgoingCalls:()=>Oit,resolveCallHierarchyDeclaration:()=>yAe});var Mit=p({"src/services/_namespaces/ts.CallHierarchy.ts"(){Lit()}});function Fit(e,t,n,s){const l=bAe(e,t,n,s);R.assert(l.spans.length%3===0);const f=l.spans,d=[];for(let g=0;g<f.length;g+=3)d.push({textSpan:hu(f[g],f[g+1]),classificationType:f[g+2]});return d}function bAe(e,t,n,s){return{spans:Rit(e,n,s,t),endOfLineState:0}}function Rit(e,t,n,s){const l=[];return e&&t&&Bit(e,t,n,(d,g,h)=>{l.push(d.getStart(t),d.getWidth(t),(g+1<<8)+h)},s),l}function Bit(e,t,n,s,l){const f=e.getTypeChecker();let d=!1;function g(h){switch(h.kind){case 264:case 260:case 261:case 259:case 228:case 215:case 216:l.throwIfCancellationRequested()}if(!h||!wB(n,h.pos,h.getFullWidth())||h.getFullWidth()===0)return;const k=d;if((s1(h)||_w(h))&&(d=!0),oD(h)&&(d=!1),Ye(h)&&!d&&!zit(h)&&!$P(h.escapedText)){let S=f.getSymbolAtLocation(h);if(S){S.flags&2097152&&(S=f.getAliasedSymbol(S));let w=jit(S,Kx(h));if(w!==void 0){let N=0;h.parent&&(qo(h.parent)||tce.get(h.parent.kind)===w)&&h.parent.name===h&&(N=1),w===6&&SAe(h)&&(w=9),w=Jit(f,h,w);const O=S.valueDeclaration;if(O){const L=H0(O),U=ym(O);L&32&&(N|=2),L&512&&(N|=4),w!==0&&w!==2&&(L&64||U&2||S.getFlags()&8)&&(N|=8),(w===7||w===10)&&Uit(O,t)&&(N|=32),e.isSourceFileDefaultLibrary(O.getSourceFile())&&(N|=16)}else S.declarations&&S.declarations.some(L=>e.isSourceFileDefaultLibrary(L.getSourceFile()))&&(N|=16);s(h,w,N)}}}ca(h,g),d=k}g(t)}function jit(e,t){const n=e.getFlags();if(n&32)return 0;if(n&384)return 1;if(n&524288)return 5;if(n&64){if(t&2)return 2}else if(n&262144)return 4;let s=e.valueDeclaration||e.declarations&&e.declarations[0];return s&&qo(s)&&(s=TAe(s)),s&&tce.get(s.kind)}function Jit(e,t,n){if(n===7||n===9||n===6){const s=e.getTypeAtLocation(t);if(s){const l=f=>f(s)||s.isUnion()&&s.types.some(f);if(n!==6&&l(f=>f.getConstructSignatures().length>0))return 0;if(l(f=>f.getCallSignatures().length>0)&&!l(f=>f.getProperties().length>0)||Vit(t))return n===9?11:10}}return n}function Uit(e,t){return qo(e)&&(e=TAe(e)),xs(e)?(!bs(e.parent.parent.parent)||v4(e.parent))&&e.getSourceFile()===t:ru(e)?!bs(e.parent)&&e.getSourceFile()===t:!1}function TAe(e){for(;;)if(qo(e.parent.parent))e=e.parent.parent;else return e.parent.parent}function zit(e){const t=e.parent;return t&&(rg(t)||S_(t)||xv(t))}function Vit(e){for(;SAe(e);)e=e.parent;return Da(e.parent)&&e.parent.expression===e}function SAe(e){return T_(e.parent)&&e.parent.right===e||oi(e.parent)&&e.parent.name===e}var Zoe,Koe,ece,tce,$it=p({"src/services/classifier2020.ts"(){Si(),Zoe=(e=>(e[e.typeOffset=8]="typeOffset",e[e.modifierMask=255]="modifierMask",e))(Zoe||{}),Koe=(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",e))(Koe||{}),ece=(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",e))(ece||{}),tce=new Map([[257,7],[166,6],[169,9],[264,3],[263,1],[302,8],[260,0],[171,11],[259,10],[215,10],[170,11],[174,9],[175,9],[168,9],[261,2],[262,5],[165,4],[299,9],[300,9]])}}),xAe={};T(xAe,{TokenEncodingConsts:()=>Zoe,TokenModifier:()=>ece,TokenType:()=>Koe,getEncodedSemanticClassifications:()=>bAe,getSemanticClassifications:()=>Fit});var qit=p({"src/services/_namespaces/ts.classifier.v2020.ts"(){$it()}}),ZV={};T(ZV,{v2020:()=>xAe});var Wit=p({"src/services/_namespaces/ts.classifier.ts"(){qit()}});function Em(e,t,n){return nce(e,Aw(n),t,void 0,void 0)}function Na(e,t,n,s,l,f){return nce(e,Aw(n),t,s,Aw(l),f)}function rce(e,t,n,s,l,f){return nce(e,Aw(n),t,s,l&&Aw(l),f)}function nce(e,t,n,s,l,f){return{fixName:e,description:t,changes:n,fixId:s,fixAllDescription:l,commands:f?[f]:void 0}}function Ua(e){for(const t of e.errorCodes)KV.add(String(t),e);if(e.fixIds)for(const t of e.fixIds)R.assert(!e$.has(t)),e$.set(t,e)}function Hit(){return ao(KV.keys())}function Git(e,t){const{errorCodes:n}=e;let s=0;for(const f of t)if(xt(n,f.code)&&s++,s>1)break;const l=s<2;return({fixId:f,fixAllDescription:d,...g})=>l?g:{...g,fixId:f,fixAllDescription:d}}function Xit(e){const t=CAe(e),n=KV.get(String(e.errorCode));return mn(n,s=>qt(s.getCodeActions(e),Git(s,t)))}function Qit(e){return e$.get(Oa(e.fixId,ha)).getAllCodeActions(e)}function Ow(e,t){return{changes:e,commands:t}}function kAe(e,t){return{fileName:e,textChanges:t}}function oc(e,t,n){const s=[],l=Jn.ChangeTracker.with(e,f=>Lw(e,t,d=>n(f,d,s)));return Ow(l,s.length===0?void 0:s)}function Lw(e,t,n){for(const s of CAe(e))xt(t,s.code)&&n(s)}function CAe({program:e,sourceFile:t,cancellationToken:n}){return[...e.getSemanticDiagnostics(t,n),...e.getSyntacticDiagnostics(t,n),...xoe(t,e,n)]}var KV,e$,Yit=p({"src/services/codeFixProvider.ts"(){Si(),KV=dd(),e$=new Map}});function wAe(e,t,n){const s=tO(n)?J.createAsExpression(n.expression,J.createKeywordTypeNode(157)):J.createTypeAssertion(J.createKeywordTypeNode(157),n.expression);e.replaceNode(t,n.expression,s)}function EAe(e,t){if(!Mn(e))return kn(Os(e,t),n=>tO(n)||GSe(n))}var t$,ice,Zit=p({"src/services/codefixes/addConvertToUnknownForNonOverlappingTypes.ts"(){Si(),Ga(),t$="addConvertToUnknownForNonOverlappingTypes",ice=[v.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],Ua({errorCodes:ice,getCodeActions:function(t){const n=EAe(t.sourceFile,t.span.start);if(n===void 0)return;const s=Jn.ChangeTracker.with(t,l=>wAe(l,t.sourceFile,n));return[Na(t$,s,v.Add_unknown_conversion_for_non_overlapping_types,t$,v.Add_unknown_to_all_conversions_of_non_overlapping_types)]},fixIds:[t$],getAllCodeActions:e=>oc(e,ice,(t,n)=>{const s=EAe(n.file,n.start);s&&wAe(t,n.file,s)})})}}),Kit=p({"src/services/codefixes/addEmptyExportDeclaration.ts"(){Si(),Ga(),Ua({errorCodes:[v.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,v.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(t){const{sourceFile:n}=t,s=Jn.ChangeTracker.with(t,l=>{const f=J.createExportDeclaration(void 0,!1,J.createNamedExports([]),void 0);l.insertNodeAtEndOfScope(n,n,f)});return[Em("addEmptyExportDeclaration",s,v.Add_export_to_make_this_file_into_a_module)]}})}});function AAe(e,t,n,s){const l=n(f=>est(f,e.sourceFile,t,s));return Na(r$,l,v.Add_async_modifier_to_containing_function,r$,v.Add_all_missing_async_modifiers)}function est(e,t,n,s){if(s&&s.has(Wo(n)))return;s==null||s.add(Wo(n));const l=J.updateModifiers(pl(n,!0),J.createNodeArray(J.createModifiersFromModifierFlags(gv(n)|512)));e.replaceNode(t,n,l)}function PAe(e,t){if(!t)return;const n=Os(e,t.start);return kn(n,l=>l.getStart(e)<t.start||l.getEnd()>Wu(t)?"quit":(Ac(l)||zl(l)||yc(l)||ru(l))&&$4(t,Zf(l,e)))}function tst(e,t){return({start:n,length:s,relatedInformation:l,code:f})=>z0(n)&&z0(s)&&$4({start:n,length:s},e)&&f===t&&!!l&&Oe(l,d=>d.code===v.Did_you_mean_to_mark_this_function_as_async.code)}var r$,sce,rst=p({"src/services/codefixes/addMissingAsync.ts"(){Si(),Ga(),r$="addMissingAsync",sce=[v.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,v.Type_0_is_not_assignable_to_type_1.code,v.Type_0_is_not_comparable_to_type_1.code],Ua({fixIds:[r$],errorCodes:sce,getCodeActions:function(t){const{sourceFile:n,errorCode:s,cancellationToken:l,program:f,span:d}=t,g=He(f.getTypeChecker().getDiagnostics(n,l),tst(d,s)),h=g&&g.relatedInformation&&He(g.relatedInformation,w=>w.code===v.Did_you_mean_to_mark_this_function_as_async.code),k=PAe(n,h);return k?[AAe(t,k,w=>Jn.ChangeTracker.with(t,w))]:void 0},getAllCodeActions:e=>{const{sourceFile:t}=e,n=new Set;return oc(e,sce,(s,l)=>{const f=l.relatedInformation&&He(l.relatedInformation,h=>h.code===v.Did_you_mean_to_mark_this_function_as_async.code),d=PAe(t,f);return d?AAe(e,d,h=>(h(s),[]),n):void 0})}})}});function DAe(e,t,n,s,l){const f=Kae(e,n);return f&&nst(e,t,n,s,l)&&OAe(f)?f:void 0}function NAe(e,t,n,s,l,f){const{sourceFile:d,program:g,cancellationToken:h}=e,k=ist(t,d,h,g,s);if(k){const S=l(w=>{Q(k.initializers,({expression:N})=>ace(w,n,d,s,N,f)),f&&k.needsSecondPassForFixAll&&ace(w,n,d,s,t,f)});return Em("addMissingAwaitToInitializer",S,k.initializers.length===1?[v.Add_await_to_initializer_for_0,k.initializers[0].declarationSymbol.name]:v.Add_await_to_initializers)}}function IAe(e,t,n,s,l,f){const d=l(g=>ace(g,n,e.sourceFile,s,t,f));return Na(n$,d,v.Add_await,n$,v.Fix_all_expressions_possibly_missing_await)}function nst(e,t,n,s,l){const d=l.getTypeChecker().getDiagnostics(e,s);return Oe(d,({start:g,length:h,relatedInformation:k,code:S})=>z0(g)&&z0(h)&&$4({start:g,length:h},n)&&S===t&&!!k&&Oe(k,w=>w.code===v.Did_you_forget_to_use_await.code))}function ist(e,t,n,s,l){const f=sst(e,l);if(!f)return;let d=f.isCompleteFix,g;for(const h of f.identifiers){const k=l.getSymbolAtLocation(h);if(!k)continue;const S=Pi(k.valueDeclaration,xs),w=S&&Pi(S.name,Ye),N=Jb(S,240);if(!S||!N||S.type||!S.initializer||N.getSourceFile()!==t||Ti(N,1)||!w||!OAe(S.initializer)){d=!1;continue}const O=s.getSemanticDiagnostics(t,n);if(Wc.Core.eachSymbolReferenceInFile(w,l,t,U=>h!==U&&!ast(U,O,t,l))){d=!1;continue}(g||(g=[])).push({expression:S.initializer,declarationSymbol:k})}return g&&{initializers:g,needsSecondPassForFixAll:!d}}function sst(e,t){if(oi(e.parent)&&Ye(e.parent.expression))return{identifiers:[e.parent.expression],isCompleteFix:!0};if(Ye(e))return{identifiers:[e],isCompleteFix:!0};if($n(e)){let n,s=!0;for(const l of[e.left,e.right]){const f=t.getTypeAtLocation(l);if(t.getPromisedTypeOfPromise(f)){if(!Ye(l)){s=!1;continue}(n||(n=[])).push(l)}}return n&&{identifiers:n,isCompleteFix:s}}}function ast(e,t,n,s){const l=oi(e.parent)?e.parent.name:$n(e.parent)?e.parent:e,f=He(t,d=>d.start===l.getStart(n)&&d.start+d.length===l.getEnd());return f&&xt(i$,f.code)||s.getTypeAtLocation(l).flags&1}function OAe(e){return e.kind&32768||!!kn(e,t=>t.parent&&Ac(t.parent)&&t.parent.body===t||Fa(t)&&(t.parent.kind===259||t.parent.kind===215||t.parent.kind===216||t.parent.kind===171))}function ace(e,t,n,s,l,f){if(rO(l.parent)&&!l.parent.awaitModifier){const d=s.getTypeAtLocation(l),g=s.getAsyncIterableType();if(g&&s.isTypeAssignableTo(d,g)){const h=l.parent;e.replaceNode(n,h,J.updateForOfStatement(h,J.createToken(133),h.initializer,h.expression,h.statement));return}}if($n(l))for(const d of[l.left,l.right]){if(f&&Ye(d)){const k=s.getSymbolAtLocation(d);if(k&&f.has(Ha(k)))continue}const g=s.getTypeAtLocation(d),h=s.getPromisedTypeOfPromise(g)?J.createAwaitExpression(d):d;e.replaceNode(n,d,h)}else if(t===oce&&oi(l.parent)){if(f&&Ye(l.parent.expression)){const d=s.getSymbolAtLocation(l.parent.expression);if(d&&f.has(Ha(d)))return}e.replaceNode(n,l.parent.expression,J.createParenthesizedExpression(J.createAwaitExpression(l.parent.expression))),LAe(e,l.parent.expression,n)}else if(xt(cce,t)&&Oy(l.parent)){if(f&&Ye(l)){const d=s.getSymbolAtLocation(l);if(d&&f.has(Ha(d)))return}e.replaceNode(n,l,J.createParenthesizedExpression(J.createAwaitExpression(l))),LAe(e,l,n)}else{if(f&&xs(l.parent)&&Ye(l.parent.name)){const d=s.getSymbolAtLocation(l.parent.name);if(d&&!fi(f,Ha(d)))return}e.replaceNode(n,l,J.createAwaitExpression(l))}}function LAe(e,t,n){const s=fu(t.pos,n);s&&uV(s.end,s.parent,n)&&e.insertText(n,t.getStart(n),";")}var n$,oce,cce,i$,ost=p({"src/services/codefixes/addMissingAwait.ts"(){Si(),Ga(),n$="addMissingAwait",oce=v.Property_0_does_not_exist_on_type_1.code,cce=[v.This_expression_is_not_callable.code,v.This_expression_is_not_constructable.code],i$=[v.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,v.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,v.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,v.Operator_0_cannot_be_applied_to_type_1.code,v.Operator_0_cannot_be_applied_to_types_1_and_2.code,v.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap.code,v.This_condition_will_always_return_true_since_this_0_is_always_defined.code,v.Type_0_is_not_an_array_type.code,v.Type_0_is_not_an_array_type_or_a_string_type.code,v.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher.code,v.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,v.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,v.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,v.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,v.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,oce,...cce],Ua({fixIds:[n$],errorCodes:i$,getCodeActions:function(t){const{sourceFile:n,errorCode:s,span:l,cancellationToken:f,program:d}=t,g=DAe(n,s,l,f,d);if(!g)return;const h=t.program.getTypeChecker(),k=S=>Jn.ChangeTracker.with(t,S);return Hl([NAe(t,g,s,h,k),IAe(t,g,s,h,k)])},getAllCodeActions:e=>{const{sourceFile:t,program:n,cancellationToken:s}=e,l=e.program.getTypeChecker(),f=new Set;return oc(e,i$,(d,g)=>{const h=DAe(t,g.code,g,s,n);if(!h)return;const k=S=>(S(d),[]);return NAe(e,h,g.code,l,k,f)||IAe(e,h,g.code,l,k,f)})}})}});function MAe(e,t,n,s,l){const f=Os(t,n),d=kn(f,k=>k6(k.parent)?k.parent.initializer===k:cst(k)?!1:"quit");if(d)return s$(e,d,t,l);const g=f.parent;if($n(g)&&g.operatorToken.kind===63&&Gu(g.parent))return s$(e,f,t,l);if(Nf(g)){const k=s.getTypeChecker();return ut(g.elements,S=>lst(S,k))?s$(e,g,t,l):void 0}const h=kn(f,k=>Gu(k.parent)?!0:ust(k)?!1:"quit");if(h){const k=s.getTypeChecker();return FAe(h,k)?s$(e,h,t,l):void 0}}function s$(e,t,n,s){(!s||fi(s,t))&&e.insertModifierBefore(n,85,t)}function cst(e){switch(e.kind){case 79:case 206:case 207:case 299:case 300:return!0;default:return!1}}function lst(e,t){const n=Ye(e)?e:Xf(e,!0)&&Ye(e.left)?e.left:void 0;return!!n&&!t.getSymbolAtLocation(n)}function ust(e){switch(e.kind){case 79:case 223:case 27:return!0;default:return!1}}function FAe(e,t){return $n(e)?e.operatorToken.kind===27?ut([e.left,e.right],n=>FAe(n,t)):e.operatorToken.kind===63&&Ye(e.left)&&!t.getSymbolAtLocation(e.left):!1}var a$,lce,fst=p({"src/services/codefixes/addMissingConst.ts"(){Si(),Ga(),a$="addMissingConst",lce=[v.Cannot_find_name_0.code,v.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code],Ua({errorCodes:lce,getCodeActions:function(t){const n=Jn.ChangeTracker.with(t,s=>MAe(s,t.sourceFile,t.span.start,t.program));if(n.length>0)return[Na(a$,n,v.Add_const_to_unresolved_variable,a$,v.Add_const_to_all_unresolved_variables)]},fixIds:[a$],getAllCodeActions:e=>{const t=new Set;return oc(e,lce,(n,s)=>MAe(n,s.file,s.start,e.program,t))}})}});function RAe(e,t,n,s){const l=Os(t,n);if(!Ye(l))return;const f=l.parent;f.kind===169&&(!s||fi(s,f))&&e.insertModifierBefore(t,136,f)}var o$,uce,_st=p({"src/services/codefixes/addMissingDeclareProperty.ts"(){Si(),Ga(),o$="addMissingDeclareProperty",uce=[v.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],Ua({errorCodes:uce,getCodeActions:function(t){const n=Jn.ChangeTracker.with(t,s=>RAe(s,t.sourceFile,t.span.start));if(n.length>0)return[Na(o$,n,v.Prefix_with_declare,o$,v.Prefix_all_incorrect_property_declarations_with_declare)]},fixIds:[o$],getAllCodeActions:e=>{const t=new Set;return oc(e,uce,(n,s)=>RAe(n,s.file,s.start,t))}})}});function BAe(e,t,n){const s=Os(t,n),l=kn(s,Df);R.assert(!!l,"Expected position to be owned by a decorator.");const f=J.createCallExpression(l.expression,void 0,void 0);e.replaceNode(t,l.expression,f)}var c$,fce,pst=p({"src/services/codefixes/addMissingInvocationForDecorator.ts"(){Si(),Ga(),c$="addMissingInvocationForDecorator",fce=[v._0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0.code],Ua({errorCodes:fce,getCodeActions:function(t){const n=Jn.ChangeTracker.with(t,s=>BAe(s,t.sourceFile,t.span.start));return[Na(c$,n,v.Call_decorator_expression,c$,v.Add_to_all_uncalled_decorators)]},fixIds:[c$],getAllCodeActions:e=>oc(e,fce,(t,n)=>BAe(t,n.file,n.start))})}});function jAe(e,t,n){const s=Os(t,n),l=s.parent;if(!ua(l))return R.fail("Tried to add a parameter name to a non-parameter: "+R.formatSyntaxKind(s.kind));const f=l.parent.parameters.indexOf(l);R.assert(!l.type,"Tried to add a parameter name to a parameter that already had one."),R.assert(f>-1,"Parameter not found in parent parameter list.");const d=J.createTypeReferenceNode(l.name,void 0),g=J.createParameterDeclaration(l.modifiers,l.dotDotDotToken,"arg"+f,l.questionToken,l.dotDotDotToken?J.createArrayTypeNode(d):d,l.initializer);e.replaceNode(t,l,g)}var l$,_ce,dst=p({"src/services/codefixes/addNameToNamelessParameter.ts"(){Si(),Ga(),l$="addNameToNamelessParameter",_ce=[v.Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1.code],Ua({errorCodes:_ce,getCodeActions:function(t){const n=Jn.ChangeTracker.with(t,s=>jAe(s,t.sourceFile,t.span.start));return[Na(l$,n,v.Add_parameter_name,l$,v.Add_names_to_all_parameters_without_names)]},fixIds:[l$],getAllCodeActions:e=>oc(e,_ce,(t,n)=>jAe(t,n.file,n.start))})}});function mst(e,t,n){var s,l;const f=JAe(Kae(e,t),n);if(!f)return pt;const{source:d,target:g}=f,h=hst(d,g,n)?n.getTypeAtLocation(g.expression):n.getTypeAtLocation(g);return(l=(s=h.symbol)==null?void 0:s.declarations)!=null&&l.some(k=>bn(k).fileName.match(/\.d\.ts$/))?pt:n.getExactOptionalProperties(h)}function hst(e,t,n){return oi(t)&&!!n.getExactOptionalProperties(n.getTypeAtLocation(t.expression)).length&&n.getTypeAtLocation(e)===n.getUndefinedType()}function JAe(e,t){var n;if(e){if($n(e.parent)&&e.parent.operatorToken.kind===63)return{source:e.parent.right,target:e.parent.left};if(xs(e.parent)&&e.parent.initializer)return{source:e.parent.initializer,target:e.parent.name};if(Da(e.parent)){const s=t.getSymbolAtLocation(e.parent.expression);if(!(s!=null&&s.valueDeclaration)||!DC(s.valueDeclaration.kind)||!Dt(e))return;const l=e.parent.arguments.indexOf(e);if(l===-1)return;const f=s.valueDeclaration.parameters[l].name;if(Ye(f))return{source:e,target:f}}else if(Iu(e.parent)&&Ye(e.parent.name)||id(e.parent)){const s=JAe(e.parent.parent,t);if(!s)return;const l=t.getPropertyOfType(t.getTypeAtLocation(s.target),e.parent.name.text),f=(n=l==null?void 0:l.declarations)==null?void 0:n[0];return f?{source:Iu(e.parent)?e.parent.initializer:e.parent.name,target:f}:void 0}}else return}function gst(e,t){for(const n of t){const s=n.valueDeclaration;if(s&&(Np(s)||Pa(s))&&s.type){const l=J.createUnionTypeNode([...s.type.kind===189?s.type.types:[s.type],J.createTypeReferenceNode("undefined")]);e.replaceNode(s.getSourceFile(),s.type,l)}}}var pce,UAe,yst=p({"src/services/codefixes/addOptionalPropertyUndefined.ts"(){Si(),Ga(),pce="addOptionalPropertyUndefined",UAe=[v.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target.code,v.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,v.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code],Ua({errorCodes:UAe,getCodeActions(e){const t=e.program.getTypeChecker(),n=mst(e.sourceFile,e.span,t);if(!n.length)return;const s=Jn.ChangeTracker.with(e,l=>gst(l,n));return[Em(pce,s,v.Add_undefined_to_optional_property_type)]},fixIds:[pce]})}});function zAe(e,t){const n=Os(e,t);return Pi(ua(n.parent)?n.parent.parent:n.parent,VAe)}function VAe(e){return vst(e)&&$Ae(e)}function $Ae(e){return Lc(e)?e.parameters.some($Ae)||!e.type&&!!d7(e):!e.type&&!!cv(e)}function qAe(e,t,n){if(Lc(n)&&(d7(n)||n.parameters.some(s=>!!cv(s)))){if(!n.typeParameters){const l=Dj(n);l.length&&e.insertTypeParameters(t,n,l)}const s=Ac(n)&&!Yo(n,20,t);s&&e.insertNodeBefore(t,Uo(n.parameters),J.createToken(20));for(const l of n.parameters)if(!l.type){const f=cv(l);f&&e.tryInsertTypeAnnotation(t,l,yt(f,t2,ps))}if(s&&e.insertNodeAfter(t,ko(n.parameters),J.createToken(21)),!n.type){const l=d7(n);l&&e.tryInsertTypeAnnotation(t,n,yt(l,t2,ps))}}else{const s=R.checkDefined(cv(n),"A JSDocType for this declaration should exist");R.assert(!n.type,"The JSDocType decl should have a type"),e.tryInsertTypeAnnotation(t,n,yt(s,t2,ps))}}function vst(e){return Lc(e)||e.kind===257||e.kind===168||e.kind===169}function t2(e){switch(e.kind){case 315:case 316:return J.createTypeReferenceNode("any",pt);case 319:return Tst(e);case 318:return t2(e.type);case 317:return Sst(e);case 321:return xst(e);case 320:return kst(e);case 180:return wst(e);case 325:return bst(e);default:const t=an(e,t2,qy);return Pn(t,1),t}}function bst(e){const t=J.createTypeLiteralNode(qt(e.jsDocPropertyTags,n=>J.createPropertySignature(void 0,Ye(n.name)?n.name:n.name.right,L5(n)?J.createToken(57):void 0,n.typeExpression&&yt(n.typeExpression.type,t2,ps)||J.createKeywordTypeNode(131))));return Pn(t,1),t}function Tst(e){return J.createUnionTypeNode([yt(e.type,t2,ps),J.createTypeReferenceNode("undefined",pt)])}function Sst(e){return J.createUnionTypeNode([yt(e.type,t2,ps),J.createTypeReferenceNode("null",pt)])}function xst(e){return J.createArrayTypeNode(yt(e.type,t2,ps))}function kst(e){var t;return J.createFunctionTypeNode(pt,e.parameters.map(Cst),(t=e.type)!=null?t:J.createKeywordTypeNode(131))}function Cst(e){const t=e.parent.parameters.indexOf(e),n=e.type.kind===321&&t===e.parent.parameters.length-1,s=e.name||(n?"rest":"arg"+t),l=n?J.createToken(25):e.dotDotDotToken;return J.createParameterDeclaration(e.modifiers,l,s,e.questionToken,yt(e.type,t2,ps),e.initializer)}function wst(e){let t=e.typeName,n=e.typeArguments;if(Ye(e.typeName)){if(mj(e))return Est(e);let s=e.typeName.text;switch(e.typeName.text){case"String":case"Boolean":case"Object":case"Number":s=s.toLowerCase();break;case"array":case"date":case"promise":s=s[0].toUpperCase()+s.slice(1);break}t=J.createIdentifier(s),(s==="Array"||s==="Promise")&&!e.typeArguments?n=J.createNodeArray([J.createTypeReferenceNode("any",pt)]):n=hn(e.typeArguments,t2,ps)}return J.createTypeReferenceNode(t,n)}function Est(e){const t=J.createParameterDeclaration(void 0,void 0,e.typeArguments[0].kind===148?"n":"s",void 0,J.createTypeReferenceNode(e.typeArguments[0].kind===148?"number":"string",[]),void 0),n=J.createTypeLiteralNode([J.createIndexSignature(void 0,[t],e.typeArguments[1])]);return Pn(n,1),n}var u$,dce,Ast=p({"src/services/codefixes/annotateWithTypeFromJSDoc.ts"(){Si(),Ga(),u$="annotateWithTypeFromJSDoc",dce=[v.JSDoc_types_may_be_moved_to_TypeScript_types.code],Ua({errorCodes:dce,getCodeActions(e){const t=zAe(e.sourceFile,e.span.start);if(!t)return;const n=Jn.ChangeTracker.with(e,s=>qAe(s,e.sourceFile,t));return[Na(u$,n,v.Annotate_with_type_from_JSDoc,u$,v.Annotate_everything_with_types_from_JSDoc)]},fixIds:[u$],getAllCodeActions:e=>oc(e,dce,(t,n)=>{const s=zAe(n.file,n.start);s&&qAe(t,n.file,s)})})}});function WAe(e,t,n,s,l,f){const d=s.getSymbolAtLocation(Os(t,n));if(!d||!d.valueDeclaration||!(d.flags&19))return;const g=d.valueDeclaration;if(ru(g)||yc(g))e.replaceNode(t,g,S(g));else if(xs(g)){const w=k(g);if(!w)return;const N=g.parent.parent;Of(g.parent)&&g.parent.declarations.length>1?(e.delete(t,g),e.insertNodeAfter(t,N,w)):e.replaceNode(t,N,w)}function h(w){const N=[];return w.exports&&w.exports.forEach(U=>{if(U.name==="prototype"&&U.declarations){const M=U.declarations[0];if(U.declarations.length===1&&oi(M)&&$n(M.parent)&&M.parent.operatorToken.kind===63&&cc(M.parent.right)){const W=M.parent.right;L(W.symbol,void 0,N)}}else L(U,[J.createToken(124)],N)}),w.members&&w.members.forEach((U,M)=>{var W,X,Z,ue;if(M==="constructor"&&U.valueDeclaration){const ie=(ue=(Z=(X=(W=w.exports)==null?void 0:W.get("prototype"))==null?void 0:X.declarations)==null?void 0:Z[0])==null?void 0:ue.parent;ie&&$n(ie)&&cc(ie.right)&&Oe(ie.right.properties,_$)||e.delete(t,U.valueDeclaration.parent);return}L(U,void 0,N)}),N;function O(U,M){return $c(U)?oi(U)&&_$(U)?!0:Sa(M):ut(U.properties,W=>!!(zl(W)||DB(W)||Iu(W)&&yc(W.initializer)&&W.name||_$(W)))}function L(U,M,W){if(!(U.flags&8192)&&!(U.flags&4096))return;const X=U.valueDeclaration,Z=X.parent,ue=Z.right;if(!O(X,ue)||Oe(W,fe=>{const Ce=ra(fe);return!!(Ce&&Ye(Ce)&&ai(Ce)===yl(U))}))return;const ie=Z.parent&&Z.parent.kind===241?Z.parent:Z;if(e.delete(t,ie),!ue){W.push(J.createPropertyDeclaration(M,U.name,void 0,void 0,void 0));return}if($c(X)&&(yc(ue)||Ac(ue))){const fe=wm(t,l),Ce=Pst(X,f,fe);Ce&&se(W,ue,Ce);return}else if(cc(ue)){Q(ue.properties,fe=>{(zl(fe)||DB(fe))&&W.push(fe),Iu(fe)&&yc(fe.initializer)&&se(W,fe.initializer,fe.name),_$(fe)});return}else{if(Gf(t)||!oi(X))return;const fe=J.createPropertyDeclaration(M,X.name,void 0,void 0,ue);W4(Z.parent,fe,t),W.push(fe);return}function se(fe,Ce,_e){return yc(Ce)?V(fe,Ce,_e):ve(fe,Ce,_e)}function V(fe,Ce,_e){const K=Cr(M,f$(Ce,132)),ge=J.createMethodDeclaration(K,void 0,_e,void 0,void 0,Ce.parameters,void 0,Ce.body);W4(Z,ge,t),fe.push(ge)}function ve(fe,Ce,_e){const K=Ce.body;let ge;K.kind===238?ge=K:ge=J.createBlock([J.createReturnStatement(K)]);const Se=Cr(M,f$(Ce,132)),we=J.createMethodDeclaration(Se,void 0,_e,void 0,void 0,Ce.parameters,void 0,ge);W4(Z,we,t),fe.push(we)}}}function k(w){const N=w.initializer;if(!N||!yc(N)||!Ye(w.name))return;const O=h(w.symbol);N.body&&O.unshift(J.createConstructorDeclaration(void 0,N.parameters,N.body));const L=f$(w.parent.parent,93);return J.createClassDeclaration(L,w.name,void 0,void 0,O)}function S(w){const N=h(d);w.body&&N.unshift(J.createConstructorDeclaration(void 0,w.parameters,w.body));const O=f$(w,93);return J.createClassDeclaration(O,w.name,void 0,void 0,N)}}function f$(e,t){return Qd(e)?hr(e.modifiers,n=>n.kind===t):void 0}function _$(e){return e.name?!!(Ye(e.name)&&e.name.text==="constructor"):!1}function Pst(e,t,n){if(oi(e))return e.name;const s=e.argumentExpression;if(Td(s))return s;if(sc(s))return Bd(s.text,Io(t))?J.createIdentifier(s.text):rw(s)?J.createStringLiteral(s.text,n===0):s}var p$,mce,Dst=p({"src/services/codefixes/convertFunctionToEs6Class.ts"(){Si(),Ga(),p$="convertFunctionToEs6Class",mce=[v.This_constructor_function_may_be_converted_to_a_class_declaration.code],Ua({errorCodes:mce,getCodeActions(e){const t=Jn.ChangeTracker.with(e,n=>WAe(n,e.sourceFile,e.span.start,e.program.getTypeChecker(),e.preferences,e.program.getCompilerOptions()));return[Na(p$,t,v.Convert_function_to_an_ES2015_class,p$,v.Convert_all_constructor_functions_to_classes)]},fixIds:[p$],getAllCodeActions:e=>oc(e,mce,(t,n)=>WAe(t,n.file,n.start,e.program.getTypeChecker(),e.preferences,e.program.getCompilerOptions()))})}});function HAe(e,t,n,s){const l=Os(t,n);let f;if(Ye(l)&&xs(l.parent)&&l.parent.initializer&&Lc(l.parent.initializer)?f=l.parent.initializer:f=Pi(Pp(Os(t,n)),woe),!f)return;const d=new Map,g=Mn(f),h=Ist(f,s),k=Ost(f,s,d);if(!koe(k,s))return;const S=k.body&&Fa(k.body)?Nst(k.body,s):pt,w={checker:s,synthNamesMap:d,setOfExpressionsToReturn:h,isInJSFile:g};if(!S.length)return;const N=wo(t.text,rh(f).pos);e.insertModifierAt(t,N,132,{suffix:" "});for(const O of S)if(ca(O,function L(U){if(Da(U)){const M=Mw(U,U,w,!1);if(ak())return!0;e.replaceNodeWithNodes(t,O,M)}else if(!Sa(U)&&(ca(U,L),ak()))return!0}),ak())return}function Nst(e,t){const n=[];return bx(e,s=>{OV(s,t)&&n.push(s)}),n}function Ist(e,t){if(!e.body)return new Set;const n=new Set;return ca(e.body,function s(l){YD(l,t,"then")?(n.add(Wo(l)),Q(l.arguments,s)):YD(l,t,"catch")||YD(l,t,"finally")?(n.add(Wo(l)),ca(l,s)):XAe(l,t)?n.add(Wo(l)):ca(l,s)}),n}function YD(e,t,n){if(!Da(e))return!1;const l=y9(e,n)&&t.getTypeAtLocation(e);return!!(l&&t.getPromisedTypeOfPromise(l))}function GAe(e,t){return(Ci(e)&4)!==0&&e.target===t}function d$(e,t,n){if(e.expression.name.escapedText==="finally")return;const s=n.getTypeAtLocation(e.expression.expression);if(GAe(s,n.getPromiseType())||GAe(s,n.getPromiseLikeType()))if(e.expression.name.escapedText==="then"){if(t===V0(e.arguments,0))return V0(e.typeArguments,0);if(t===V0(e.arguments,1))return V0(e.typeArguments,1)}else return V0(e.typeArguments,0)}function XAe(e,t){return Dt(e)?!!t.getPromisedTypeOfPromise(t.getTypeAtLocation(e)):!1}function Ost(e,t,n){const s=new Map,l=dd();return ca(e,function f(d){if(!Ye(d)){ca(d,f);return}const g=t.getSymbolAtLocation(d);if(g){const h=t.getTypeAtLocation(d),k=tPe(h,t),S=Ha(g).toString();if(k&&!ua(d.parent)&&!Lc(d.parent)&&!n.has(S)){const w=Ru(k.parameters),N=(w==null?void 0:w.valueDeclaration)&&ua(w.valueDeclaration)&&Pi(w.valueDeclaration.name,Ye)||J.createUniqueName("result",16),O=QAe(N,l);n.set(S,O),l.add(N.text,g)}else if(d.parent&&(ua(d.parent)||xs(d.parent)||qo(d.parent))){const w=d.text,N=l.get(w);if(N&&N.some(O=>O!==g)){const O=QAe(d,l);s.set(S,O.identifier),n.set(S,O),l.add(w,g)}else{const O=pl(d);n.set(S,X4(O)),l.add(w,g)}}}}),M9(e,!0,f=>{if(qo(f)&&Ye(f.name)&&tg(f.parent)){const d=t.getSymbolAtLocation(f.name),g=d&&s.get(String(Ha(d)));if(g&&g.text!==(f.name||f.propertyName).getText())return J.createBindingElement(f.dotDotDotToken,f.propertyName||f.name,g,f.initializer)}else if(Ye(f)){const d=t.getSymbolAtLocation(f),g=d&&s.get(String(Ha(d)));if(g)return J.createIdentifier(g.text)}})}function QAe(e,t){const n=(t.get(e.text)||pt).length,s=n===0?e:J.createIdentifier(e.text+"_"+n);return X4(s)}function ak(){return!H9}function Lv(){return H9=!1,pt}function Mw(e,t,n,s,l){if(YD(t,n.checker,"then"))return Fst(t,V0(t.arguments,0),V0(t.arguments,1),n,s,l);if(YD(t,n.checker,"catch"))return KAe(t,V0(t.arguments,0),n,s,l);if(YD(t,n.checker,"finally"))return Mst(t,V0(t.arguments,0),n,s,l);if(oi(t))return Mw(e,t.expression,n,s,l);const f=n.checker.getTypeAtLocation(t);return f&&n.checker.getPromisedTypeOfPromise(f)?(R.assertNode(sl(t).parent,oi),Rst(e,t,n,s,l)):Lv()}function m$({checker:e},t){if(t.kind===104)return!0;if(Ye(t)&&!al(t)&&ai(t)==="undefined"){const n=e.getSymbolAtLocation(t);return!n||e.isUndefinedSymbol(n)}return!1}function Lst(e){const t=J.createUniqueName(e.identifier.text,16);return X4(t)}function YAe(e,t,n){let s;return n&&!KD(e,t)&&(ZD(n)?(s=n,t.synthNamesMap.forEach((l,f)=>{if(l.identifier.text===n.identifier.text){const d=Lst(n);t.synthNamesMap.set(f,d)}})):s=X4(J.createUniqueName("result",16),n.types),vce(s)),s}function ZAe(e,t,n,s,l){const f=[];let d;if(s&&!KD(e,t)){d=pl(vce(s));const g=s.types,h=t.checker.getUnionType(g,2),k=t.isInJSFile?void 0:t.checker.typeToTypeNode(h,void 0,void 0),S=[J.createVariableDeclaration(d,void 0,k)],w=J.createVariableStatement(void 0,J.createVariableDeclarationList(S,1));f.push(w)}return f.push(n),l&&d&&Jst(l)&&f.push(J.createVariableStatement(void 0,J.createVariableDeclarationList([J.createVariableDeclaration(pl(sPe(l)),void 0,void 0,d)],2))),f}function Mst(e,t,n,s,l){if(!t||m$(n,t))return Mw(e,e.expression.expression,n,s,l);const f=YAe(e,n,l),d=Mw(e,e.expression.expression,n,!0,f);if(ak())return Lv();const g=gce(t,s,void 0,void 0,e,n);if(ak())return Lv();const h=J.createBlock(d),k=J.createBlock(g),S=J.createTryStatement(h,void 0,k);return ZAe(e,n,S,f,l)}function KAe(e,t,n,s,l){if(!t||m$(n,t))return Mw(e,e.expression.expression,n,s,l);const f=nPe(t,n),d=YAe(e,n,l),g=Mw(e,e.expression.expression,n,!0,d);if(ak())return Lv();const h=gce(t,s,d,f,e,n);if(ak())return Lv();const k=J.createBlock(g),S=J.createCatchClause(f&&pl(W9(f)),J.createBlock(h)),w=J.createTryStatement(k,S,void 0);return ZAe(e,n,w,d,l)}function Fst(e,t,n,s,l,f){if(!t||m$(s,t))return KAe(e,n,s,l,f);if(n&&!m$(s,n))return Lv();const d=nPe(t,s),g=Mw(e.expression.expression,e.expression.expression,s,!0,d);if(ak())return Lv();const h=gce(t,l,f,d,e,s);return ak()?Lv():Cr(g,h)}function Rst(e,t,n,s,l){if(KD(e,n)){let f=pl(t);return s&&(f=J.createAwaitExpression(f)),[J.createReturnStatement(f)]}return h$(l,J.createAwaitExpression(t),void 0)}function h$(e,t,n){return!e||iPe(e)?[J.createExpressionStatement(t)]:ZD(e)&&e.hasBeenDeclared?[J.createExpressionStatement(J.createAssignment(pl(yce(e)),t))]:[J.createVariableStatement(void 0,J.createVariableDeclarationList([J.createVariableDeclaration(pl(W9(e)),void 0,n,t)],2))]}function hce(e,t){if(t&&e){const n=J.createUniqueName("result",16);return[...h$(X4(n),e,t),J.createReturnStatement(n)]}return[J.createReturnStatement(e)]}function gce(e,t,n,s,l,f){var d;switch(e.kind){case 104:break;case 208:case 79:if(!s)break;const g=J.createCallExpression(pl(e),void 0,ZD(s)?[yce(s)]:[]);if(KD(l,f))return hce(g,d$(l,e,f.checker));const h=f.checker.getTypeAtLocation(e),k=f.checker.getSignaturesOfType(h,0);if(!k.length)return Lv();const S=k[0].getReturnType(),w=h$(n,J.createAwaitExpression(g),d$(l,e,f.checker));return n&&n.types.push(f.checker.getAwaitedType(S)||S),w;case 215:case 216:{const N=e.body,O=(d=tPe(f.checker.getTypeAtLocation(e),f.checker))==null?void 0:d.getReturnType();if(Fa(N)){let L=[],U=!1;for(const M of N.statements)if(Sm(M))if(U=!0,OV(M,f.checker))L=L.concat(rPe(f,M,t,n));else{const W=O&&M.expression?ePe(f.checker,O,M.expression):M.expression;L.push(...hce(W,d$(l,e,f.checker)))}else{if(t&&bx(M,nT))return Lv();L.push(M)}return KD(l,f)?L.map(M=>pl(M)):Bst(L,n,f,U)}else{const L=Coe(N,f.checker)?rPe(f,J.createReturnStatement(N),t,n):pt;if(L.length>0)return L;if(O){const U=ePe(f.checker,O,N);if(KD(l,f))return hce(U,d$(l,e,f.checker));{const M=h$(n,U,void 0);return n&&n.types.push(f.checker.getAwaitedType(O)||O),M}}else return Lv()}}default:return Lv()}return pt}function ePe(e,t,n){const s=pl(n);return e.getPromisedTypeOfPromise(t)?J.createAwaitExpression(s):s}function tPe(e,t){const n=t.getSignaturesOfType(e,0);return Rc(n)}function Bst(e,t,n,s){const l=[];for(const f of e)if(Sm(f)){if(f.expression){const d=XAe(f.expression,n.checker)?J.createAwaitExpression(f.expression):f.expression;t===void 0?l.push(J.createExpressionStatement(d)):ZD(t)&&t.hasBeenDeclared?l.push(J.createExpressionStatement(J.createAssignment(yce(t),d))):l.push(J.createVariableStatement(void 0,J.createVariableDeclarationList([J.createVariableDeclaration(W9(t),void 0,void 0,d)],2)))}}else l.push(pl(f));return!s&&t!==void 0&&l.push(J.createVariableStatement(void 0,J.createVariableDeclarationList([J.createVariableDeclaration(W9(t),void 0,void 0,J.createIdentifier("undefined"))],2))),l}function rPe(e,t,n,s){let l=[];return ca(t,function f(d){if(Da(d)){const g=Mw(d,d,e,n,s);if(l=l.concat(g),l.length>0)return}else Sa(d)||ca(d,f)}),l}function nPe(e,t){const n=[];let s;if(Lc(e)){if(e.parameters.length>0){const h=e.parameters[0].name;s=l(h)}}else Ye(e)?s=f(e):oi(e)&&Ye(e.name)&&(s=f(e.name));if(!s||"identifier"in s&&s.identifier.text==="undefined")return;return s;function l(h){if(Ye(h))return f(h);const k=mn(h.elements,S=>yu(S)?[]:[l(S.name)]);return jst(h,k)}function f(h){const k=g(h),S=d(k);return S&&t.synthNamesMap.get(Ha(S).toString())||X4(h,n)}function d(h){var k,S;return(S=(k=Pi(h,Vh))==null?void 0:k.symbol)!=null?S:t.checker.getSymbolAtLocation(h)}function g(h){return h.original?h.original:h}}function iPe(e){return e?ZD(e)?!e.identifier.text:ut(e.elements,iPe):!0}function X4(e,t=[]){return{kind:0,identifier:e,types:t,hasBeenDeclared:!1,hasBeenReferenced:!1}}function jst(e,t=pt,n=[]){return{kind:1,bindingPattern:e,elements:t,types:n}}function yce(e){return e.hasBeenReferenced=!0,e.identifier}function W9(e){return ZD(e)?vce(e):sPe(e)}function sPe(e){for(const t of e.elements)W9(t);return e.bindingPattern}function vce(e){return e.hasBeenDeclared=!0,e.identifier}function ZD(e){return e.kind===0}function Jst(e){return e.kind===1}function KD(e,t){return!!e.original&&t.setOfExpressionsToReturn.has(Wo(e.original))}var g$,bce,H9,Ust=p({"src/services/codefixes/convertToAsyncFunction.ts"(){Si(),Ga(),g$="convertToAsyncFunction",bce=[v.This_may_be_converted_to_an_async_function.code],H9=!0,Ua({errorCodes:bce,getCodeActions(e){H9=!0;const t=Jn.ChangeTracker.with(e,n=>HAe(n,e.sourceFile,e.span.start,e.program.getTypeChecker()));return H9?[Na(g$,t,v.Convert_to_async_function,g$,v.Convert_all_to_async_functions)]:[]},fixIds:[g$],getAllCodeActions:e=>oc(e,bce,(t,n)=>HAe(t,n.file,n.start,e.program.getTypeChecker()))})}});function zst(e,t,n,s){for(const l of e.imports){const f=E6(e,l.text,km(e,l));if(!f||f.resolvedFileName!==t.fileName)continue;const d=G7(l);switch(d.kind){case 268:n.replaceNode(e,d,f1(d.name,void 0,l,s));break;case 210:v_(d,!1)&&n.replaceNode(e,d,J.createPropertyAccessExpression(pl(d),"default"));break}}}function Vst(e,t,n,s,l){const f={original:rat(e),additional:new Set},d=$st(e,t,f);qst(e,d,n);let g=!1,h;for(const k of hr(e.statements,Xl)){const S=oPe(e,k,n,t,f,s,l);S&&C7(S,h??(h=new Map))}for(const k of hr(e.statements,S=>!Xl(S))){const S=Wst(e,k,t,n,f,s,d,h,l);g=g||S}return h==null||h.forEach((k,S)=>{n.replaceNode(e,S,k)}),g}function $st(e,t,n){const s=new Map;return aPe(e,l=>{const{text:f}=l.name;!s.has(f)&&(xj(l.name)||t.resolveName(f,l,111551,!0))&&s.set(f,y$(`_${f}`,n))}),s}function qst(e,t,n){aPe(e,(s,l)=>{if(l)return;const{text:f}=s.name;n.replaceNode(e,s,J.createIdentifier(t.get(f)||f))})}function aPe(e,t){e.forEachChild(function n(s){if(oi(s)&&RT(e,s.expression)&&Ye(s.name)){const{parent:l}=s;t(s,$n(l)&&l.left===s&&l.operatorToken.kind===63)}s.forEachChild(n)})}function Wst(e,t,n,s,l,f,d,g,h){switch(t.kind){case 240:return oPe(e,t,s,n,l,f,h),!1;case 241:{const{expression:k}=t;switch(k.kind){case 210:return v_(k,!0)&&s.replaceNode(e,t,f1(void 0,void 0,k.arguments[0],h)),!1;case 223:{const{operatorToken:S}=k;return S.kind===63&&Gst(e,n,k,s,d,g)}}}default:return!1}}function oPe(e,t,n,s,l,f,d){const{declarationList:g}=t;let h=!1;const k=qt(g.declarations,S=>{const{name:w,initializer:N}=S;if(N){if(RT(e,N))return h=!0,Q4([]);if(v_(N,!0))return h=!0,eat(w,N.arguments[0],s,l,f,d);if(oi(N)&&v_(N.expression,!0))return h=!0,Hst(w,N.name.text,N.expression.arguments[0],l,d)}return Q4([J.createVariableStatement(void 0,J.createVariableDeclarationList([S],g.flags))])});if(h){n.replaceNodeWithNodes(e,t,mn(k,w=>w.newImports));let S;return Q(k,w=>{w.useSitesToUnqualify&&C7(w.useSitesToUnqualify,S??(S=new Map))}),S}}function Hst(e,t,n,s,l){switch(e.kind){case 203:case 204:{const f=y$(t,s);return Q4([fPe(f,t,n,l),v$(void 0,e,J.createIdentifier(f))])}case 79:return Q4([fPe(e.text,t,n,l)]);default:return R.assertNever(e,`Convert to ES module got invalid syntax form ${e.kind}`)}}function Gst(e,t,n,s,l,f){const{left:d,right:g}=n;if(!oi(d))return!1;if(RT(e,d))if(RT(e,g))s.delete(e,n.parent);else{const h=cc(g)?Xst(g,f):v_(g,!0)?Yst(g.arguments[0],t):void 0;return h?(s.replaceNodeWithNodes(e,n.parent,h[0]),h[1]):(s.replaceRangeWithText(e,yd(d.getStart(e),g.pos),"export default"),!0)}else RT(e,d.expression)&&Qst(e,n,s,l);return!1}function Xst(e,t){const n=Fr(e.properties,s=>{switch(s.kind){case 174:case 175:case 300:case 301:return;case 299:return Ye(s.name)?Kst(s.name.text,s.initializer,t):void 0;case 171:return Ye(s.name)?uPe(s.name.text,[J.createToken(93)],s,t):void 0;default:R.assertNever(s,`Convert to ES6 got invalid prop kind ${s.kind}`)}});return n&&[n,!1]}function Qst(e,t,n,s){const{text:l}=t.left.name,f=s.get(l);if(f!==void 0){const d=[v$(void 0,f,t.right),xce([J.createExportSpecifier(!1,f,l)])];n.replaceNodeWithNodes(e,t.parent,d)}else Zst(t,e,n)}function Yst(e,t){const n=e.text,s=t.getSymbolAtLocation(e),l=s?s.exports:XR;return l.has("export=")?[[Tce(n)],!0]:l.has("default")?l.size>1?[[cPe(n),Tce(n)],!0]:[[Tce(n)],!0]:[[cPe(n)],!1]}function cPe(e){return xce(void 0,e)}function Tce(e){return xce([J.createExportSpecifier(!1,void 0,"default")],e)}function Zst({left:e,right:t,parent:n},s,l){const f=e.name.text;if((yc(t)||Ac(t)||If(t))&&(!t.name||t.name.text===f)){l.replaceRange(s,{pos:e.getStart(s),end:t.getStart(s)},J.createToken(93),{suffix:" "}),t.name||l.insertName(s,t,f);const d=Yo(n,26,s);d&&l.delete(s,d)}else l.replaceNodeRangeWithNodes(s,e.expression,Yo(e,24,s),[J.createToken(93),J.createToken(85)],{joiner:" ",suffix:" "})}function Kst(e,t,n){const s=[J.createToken(93)];switch(t.kind){case 215:{const{name:f}=t;if(f&&f.text!==e)return l()}case 216:return uPe(e,s,t,n);case 228:return iat(e,s,t,n);default:return l()}function l(){return v$(s,J.createIdentifier(e),Sce(t,n))}}function Sce(e,t){if(!t||!Oe(ao(t.keys()),s=>pp(e,s)))return e;return pa(e)?Vae(e,!0,n):M9(e,!0,n);function n(s){if(s.kind===208){const l=t.get(s);return t.delete(s),l}}}function eat(e,t,n,s,l,f){switch(e.kind){case 203:{const d=Fr(e.elements,g=>g.dotDotDotToken||g.initializer||g.propertyName&&!Ye(g.propertyName)||!Ye(g.name)?void 0:_Pe(g.propertyName&&g.propertyName.text,g.name.text));if(d)return Q4([f1(void 0,d,t,f)])}case 204:{const d=y$(Lce(t.text,l),s);return Q4([f1(J.createIdentifier(d),void 0,t,f),v$(void 0,pl(e),J.createIdentifier(d))])}case 79:return tat(e,t,n,s,f);default:return R.assertNever(e,`Convert to ES module got invalid name kind ${e.kind}`)}}function tat(e,t,n,s,l){const f=n.getSymbolAtLocation(e),d=new Map;let g=!1,h;for(const S of s.original.get(e.text)){if(n.getSymbolAtLocation(S)!==f||S===e)continue;const{parent:w}=S;if(oi(w)){const{name:{text:N}}=w;if(N==="default"){g=!0;const O=S.getText();(h??(h=new Map)).set(w,J.createIdentifier(O))}else{R.assert(w.expression===S,"Didn't expect expression === use");let O=d.get(N);O===void 0&&(O=y$(N,s),d.set(N,O)),(h??(h=new Map)).set(w,J.createIdentifier(O))}}else g=!0}const k=d.size===0?void 0:ao(Ba(d.entries(),([S,w])=>J.createImportSpecifier(!1,S===w?void 0:J.createIdentifier(S),J.createIdentifier(w))));return k||(g=!0),Q4([f1(g?pl(e):void 0,k,t,l)],h)}function y$(e,t){for(;t.original.has(e)||t.additional.has(e);)e=`_${e}`;return t.additional.add(e),e}function rat(e){const t=dd();return lPe(e,n=>t.add(n.text,n)),t}function lPe(e,t){Ye(e)&&nat(e)&&t(e),e.forEachChild(n=>lPe(n,t))}function nat(e){const{parent:t}=e;switch(t.kind){case 208:return t.name!==e;case 205:return t.propertyName!==e;case 273:return t.propertyName!==e;default:return!0}}function uPe(e,t,n,s){return J.createFunctionDeclaration(Cr(t,WT(n.modifiers)),pl(n.asteriskToken),e,WT(n.typeParameters),WT(n.parameters),pl(n.type),J.converters.convertToFunctionBlock(Sce(n.body,s)))}function iat(e,t,n,s){return J.createClassDeclaration(Cr(t,WT(n.modifiers)),e,WT(n.typeParameters),WT(n.heritageClauses),Sce(n.members,s))}function fPe(e,t,n,s){return t==="default"?f1(J.createIdentifier(e),void 0,n,s):f1(void 0,[_Pe(t,e)],n,s)}function _Pe(e,t){return J.createImportSpecifier(!1,e!==void 0&&e!==t?J.createIdentifier(e):void 0,J.createIdentifier(t))}function v$(e,t,n){return J.createVariableStatement(e,J.createVariableDeclarationList([J.createVariableDeclaration(t,void 0,void 0,n)],2))}function xce(e,t){return J.createExportDeclaration(void 0,!1,e&&J.createNamedExports(e),t===void 0?void 0:J.createStringLiteral(t))}function Q4(e,t){return{newImports:e,useSitesToUnqualify:t}}var sat=p({"src/services/codefixes/convertToEsModule.ts"(){Si(),Ga(),Ua({errorCodes:[v.File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module.code],getCodeActions(e){const{sourceFile:t,program:n,preferences:s}=e,l=Jn.ChangeTracker.with(e,f=>{if(Vst(t,n.getTypeChecker(),f,Io(n.getCompilerOptions()),wm(t,s)))for(const g of n.getSourceFiles())zst(g,t,f,wm(g,s))});return[Em("convertToEsModule",l,v.Convert_to_ES_module)]}})}});function pPe(e,t){const n=kn(Os(e,t),T_);return R.assert(!!n,"Expected position to be owned by a qualified name."),Ye(n.left)?n:void 0}function dPe(e,t,n){const s=n.right.text,l=J.createIndexedAccessTypeNode(J.createTypeReferenceNode(n.left,void 0),J.createLiteralTypeNode(J.createStringLiteral(s)));e.replaceNode(t,n,l)}var b$,kce,aat=p({"src/services/codefixes/correctQualifiedNameToIndexedAccessType.ts"(){Si(),Ga(),b$="correctQualifiedNameToIndexedAccessType",kce=[v.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],Ua({errorCodes:kce,getCodeActions(e){const t=pPe(e.sourceFile,e.span.start);if(!t)return;const n=Jn.ChangeTracker.with(e,l=>dPe(l,e.sourceFile,t)),s=`${t.left.text}["${t.right.text}"]`;return[Na(b$,n,[v.Rewrite_as_the_indexed_access_type_0,s],b$,v.Rewrite_all_as_indexed_access_types)]},fixIds:[b$],getAllCodeActions:e=>oc(e,kce,(t,n)=>{const s=pPe(n.file,n.start);s&&dPe(t,n.file,s)})})}});function mPe(e,t){return Pi(Os(t,e.start).parent,i_)}function hPe(e,t,n){if(!t)return;const s=t.parent,l=s.parent,f=oat(t,n);if(f.length===s.elements.length)e.insertModifierBefore(n.sourceFile,154,s);else{const d=J.updateExportDeclaration(l,l.modifiers,!1,J.updateNamedExports(s,hr(s.elements,h=>!xt(f,h))),l.moduleSpecifier,void 0),g=J.createExportDeclaration(void 0,!0,J.createNamedExports(f),l.moduleSpecifier,void 0);e.replaceNode(n.sourceFile,l,d,{leadingTriviaOption:Jn.LeadingTriviaOption.IncludeAll,trailingTriviaOption:Jn.TrailingTriviaOption.Exclude}),e.insertNodeAfter(n.sourceFile,l,g)}}function oat(e,t){const n=e.parent;if(n.elements.length===1)return n.elements;const s=k4e(Zf(n),t.program.getSemanticDiagnostics(t.sourceFile,t.cancellationToken));return hr(n.elements,l=>{var f;return l===e||((f=x4e(l,s))==null?void 0:f.code)===T$[0]})}var T$,S$,cat=p({"src/services/codefixes/convertToTypeOnlyExport.ts"(){Si(),Ga(),T$=[v.Re_exporting_a_type_when_0_is_enabled_requires_using_export_type.code],S$="convertToTypeOnlyExport",Ua({errorCodes:T$,getCodeActions:function(t){const n=Jn.ChangeTracker.with(t,s=>hPe(s,mPe(t.span,t.sourceFile),t));if(n.length)return[Na(S$,n,v.Convert_to_type_only_export,S$,v.Convert_all_re_exported_types_to_type_only_exports)]},fixIds:[S$],getAllCodeActions:function(t){const n=new Map;return oc(t,T$,(s,l)=>{const f=mPe(l,t.sourceFile);f&&Tm(n,Wo(f.parent.parent))&&hPe(s,f,t)})}})}});function gPe(e,t){const{parent:n}=Os(e,t);return S_(n)||Nu(n)&&n.importClause?n:void 0}function yPe(e,t,n){if(S_(n))e.replaceNode(t,n,J.updateImportSpecifier(n,!0,n.propertyName,n.name));else{const s=n.importClause;if(s.name&&s.namedBindings)e.replaceNodeWithNodes(t,n,[J.createImportDeclaration(WT(n.modifiers,!0),J.createImportClause(!0,pl(s.name,!0),void 0),pl(n.moduleSpecifier,!0),pl(n.assertClause,!0)),J.createImportDeclaration(WT(n.modifiers,!0),J.createImportClause(!0,void 0,pl(s.namedBindings,!0)),pl(n.moduleSpecifier,!0),pl(n.assertClause,!0))]);else{const l=J.updateImportDeclaration(n,n.modifiers,J.updateImportClause(s,!0,s.name,s.namedBindings),n.moduleSpecifier,n.assertClause);e.replaceNode(t,n,l)}}}var Cce,x$,lat=p({"src/services/codefixes/convertToTypeOnlyImport.ts"(){Si(),Ga(),Cce=[v.This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error.code,v._0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled.code],x$="convertToTypeOnlyImport",Ua({errorCodes:Cce,getCodeActions:function(t){const n=gPe(t.sourceFile,t.span.start);if(n){const s=Jn.ChangeTracker.with(t,l=>yPe(l,t.sourceFile,n));return[Na(x$,s,v.Convert_to_type_only_import,x$,v.Convert_all_imports_not_used_as_a_value_to_type_only_imports)]}},fixIds:[x$],getAllCodeActions:function(t){return oc(t,Cce,(n,s)=>{const l=gPe(s.file,s.start);l&&yPe(n,s.file,l)})}})}});function vPe(e,t){const n=Os(e,t);if(Ye(n)){const s=Oa(n.parent.parent,Np),l=n.getText(e);return{container:Oa(s.parent,_p),typeNode:s.type,constraint:l,name:l==="K"?"P":"K"}}}function bPe(e,t,{container:n,typeNode:s,constraint:l,name:f}){e.replaceNode(t,n,J.createMappedTypeNode(void 0,J.createTypeParameterDeclaration(void 0,f,J.createTypeReferenceNode(l)),void 0,void 0,s,void 0))}var k$,wce,uat=p({"src/services/codefixes/convertLiteralTypeToMappedType.ts"(){Si(),Ga(),k$="convertLiteralTypeToMappedType",wce=[v._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0.code],Ua({errorCodes:wce,getCodeActions:function(t){const{sourceFile:n,span:s}=t,l=vPe(n,s.start);if(!l)return;const{name:f,constraint:d}=l,g=Jn.ChangeTracker.with(t,h=>bPe(h,n,l));return[Na(k$,g,[v.Convert_0_to_1_in_0,d,f],k$,v.Convert_all_type_literals_to_mapped_type)]},fixIds:[k$],getAllCodeActions:e=>oc(e,wce,(t,n)=>{const s=vPe(n.file,n.start);s&&bPe(t,n.file,s)})})}});function TPe(e,t){return R.checkDefined(uu(Os(e,t)),"There should be a containing class")}function SPe(e){return!e.valueDeclaration||!(Pf(e.valueDeclaration)&8)}function xPe(e,t,n,s,l,f){const d=e.program.getTypeChecker(),g=fat(s,d),h=d.getTypeAtLocation(t),S=d.getPropertiesOfType(h).filter(WR(SPe,M=>!g.has(M.escapedName))),w=d.getTypeAtLocation(s),N=He(s.members,M=>Al(M));w.getNumberIndexType()||L(h,1),w.getStringIndexType()||L(h,0);const O=ok(n,e.program,f,e.host);Ile(s,S,n,e,f,O,M=>U(n,s,M)),O.writeFixes(l);function L(M,W){const X=d.getIndexInfoOfType(M,W);X&&U(n,s,d.indexInfoToIndexSignatureDeclaration(X,s,void 0,Fw(e)))}function U(M,W,X){N?l.insertNodeAfter(M,N,X):l.insertMemberAtStart(M,W,X)}}function fat(e,t){const n=eh(e);if(!n)return Ma();const s=t.getTypeAtLocation(n),l=t.getPropertiesOfType(s);return Ma(l.filter(SPe))}var Ece,C$,_at=p({"src/services/codefixes/fixClassIncorrectlyImplementsInterface.ts"(){Si(),Ga(),Ece=[v.Class_0_incorrectly_implements_interface_1.code,v.Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass.code],C$="fixClassIncorrectlyImplementsInterface",Ua({errorCodes:Ece,getCodeActions(e){const{sourceFile:t,span:n}=e,s=TPe(t,n.start);return fr($6(s),l=>{const f=Jn.ChangeTracker.with(e,d=>xPe(e,l,t,s,d,e.preferences));return f.length===0?void 0:Na(C$,f,[v.Implement_interface_0,l.getText(t)],C$,v.Implement_all_unimplemented_interfaces)})},fixIds:[C$],getAllCodeActions(e){const t=new Map;return oc(e,Ece,(n,s)=>{const l=TPe(s.file,s.start);if(Tm(t,Wo(l)))for(const f of $6(l))xPe(e,f,s.file,l,n,e.preferences)})}})}});function ok(e,t,n,s,l){return kPe(e,t,!1,n,s,l)}function kPe(e,t,n,s,l,f){const d=t.getCompilerOptions(),g=[],h=[],k=new Map,S=new Map;return{addImportFromDiagnostic:w,addImportFromExportedSymbol:N,writeFixes:L,hasFixes:U};function w(M,W){const X=DPe(W,M.code,M.start,n);!X||!X.length||O(Uo(X))}function N(M,W){const X=R.checkDefined(M.parent),Z=yV(M,Io(d)),ue=t.getTypeChecker(),ie=ue.getMergedSymbol(fp(M,ue)),se=EPe(e,ie,Z,X,!1,t,l,s,f),V=E$(e,t),ve=CPe(e,R.checkDefined(se),t,void 0,!!W,V,l,s);ve&&O({fix:ve,symbolName:Z,errorIdentifierText:void 0})}function O(M){var W,X;const{fix:Z,symbolName:ue}=M;switch(Z.kind){case 0:g.push(Z);break;case 1:h.push(Z);break;case 2:{const{importClauseOrBindingPattern:ve,importKind:fe,addAsTypeOnly:Ce}=Z,_e=String(Wo(ve));let K=k.get(_e);if(K||k.set(_e,K={importClauseOrBindingPattern:ve,defaultImport:void 0,namedImports:new Map}),fe===0){const ge=K==null?void 0:K.namedImports.get(ue);K.namedImports.set(ue,ie(ge,Ce))}else R.assert(K.defaultImport===void 0||K.defaultImport.name===ue,"(Add to Existing) Default import should be missing or match symbolName"),K.defaultImport={name:ue,addAsTypeOnly:ie((W=K.defaultImport)==null?void 0:W.addAsTypeOnly,Ce)};break}case 3:{const{moduleSpecifier:ve,importKind:fe,useRequire:Ce,addAsTypeOnly:_e}=Z,K=se(ve,fe,Ce,_e);switch(R.assert(K.useRequire===Ce,"(Add new) Tried to add an `import` and a `require` for the same module"),fe){case 1:R.assert(K.defaultImport===void 0||K.defaultImport.name===ue,"(Add new) Default import should be missing or match symbolName"),K.defaultImport={name:ue,addAsTypeOnly:ie((X=K.defaultImport)==null?void 0:X.addAsTypeOnly,_e)};break;case 0:const ge=(K.namedImports||(K.namedImports=new Map)).get(ue);K.namedImports.set(ue,ie(ge,_e));break;case 3:case 2:R.assert(K.namespaceLikeImport===void 0||K.namespaceLikeImport.name===ue,"Namespacelike import shoudl be missing or match symbolName"),K.namespaceLikeImport={importKind:fe,name:ue,addAsTypeOnly:_e};break}break}case 4:break;default:R.assertNever(Z,`fix wasn't never - got kind ${Z.kind}`)}function ie(ve,fe){return Math.max(ve??0,fe)}function se(ve,fe,Ce,_e){const K=V(ve,!0),ge=V(ve,!1),Se=S.get(K),we=S.get(ge),Pe={defaultImport:void 0,namedImports:void 0,namespaceLikeImport:void 0,useRequire:Ce};return fe===1&&_e===2?Se||(S.set(K,Pe),Pe):_e===1&&(Se||we)?Se||we:we||(S.set(ge,Pe),Pe)}function V(ve,fe){return`${fe?1:0}|${ve}`}}function L(M){const W=wm(e,s);for(const Z of g)Ice(M,e,Z);for(const Z of h)RPe(M,e,Z,W);k.forEach(({importClauseOrBindingPattern:Z,defaultImport:ue,namedImports:ie})=>{FPe(M,e,Z,ue,ao(ie.entries(),([se,V])=>({addAsTypeOnly:V,name:se})),d,s)});let X;S.forEach(({useRequire:Z,defaultImport:ue,namedImports:ie,namespaceLikeImport:se},V)=>{const ve=V.slice(2),Ce=(Z?JPe:jPe)(ve,W,ue,ie&&ao(ie.entries(),([_e,K])=>({addAsTypeOnly:K,name:_e})),se,d);X=Mh(X,Ce)}),X&&iV(M,e,X,!0,s)}function U(){return g.length>0||h.length>0||k.size>0||S.size>0}}function pat(e,t,n,s){const l=WD(e,s,n),f=APe(t.getTypeChecker(),e,t.getCompilerOptions());return{getModuleSpecifierForBestExportInfo:d};function d(g,h,k,S){const{fixes:w,computedWithoutCacheCount:N}=w$(g,h,k,!1,t,e,n,s,f,S),O=NPe(w,e,t,l,n);return O&&{...O,computedWithoutCacheCount:N}}}function dat(e,t,n,s,l,f,d,g,h,k,S,w){const N=g.getCompilerOptions();let O;n?(O=j9(s,d,g,S,w).get(s.path,n),R.assertIsDefined(O,"Some exportInfo should match the specified exportMapKey")):(O=LZ($d(t.name))?[hat(e,l,t,g,d)]:EPe(s,e,l,t,f,g,d,S,w),R.assertIsDefined(O,"Some exportInfo should match the specified symbol / moduleSymbol"));const L=E$(s,g),U=YC(Os(s,k)),M=R.checkDefined(CPe(s,O,g,k,U,L,d,S));return{moduleSpecifier:M.moduleSpecifier,codeAction:wPe(Nce({host:d,formatContext:h,preferences:S},s,l,M,!1,N,S))}}function mat(e,t,n,s,l,f){const d=n.getCompilerOptions(),g=fY(Dce(e,n.getTypeChecker(),t,d)),h=LPe(e,t,g,n),k=g!==t.text;return h&&wPe(Nce({host:s,formatContext:l,preferences:f},e,g,h,k,d,f))}function CPe(e,t,n,s,l,f,d,g){const h=WD(e,g,d);return NPe(w$(t,s,l,f,n,e,d,g).fixes,e,n,h,d)}function wPe({description:e,changes:t,commands:n}){return{description:e,changes:t,commands:n}}function EPe(e,t,n,s,l,f,d,g,h){const k=PPe(f,d);return j9(e,d,f,g,h).search(e.path,l,S=>S===n,S=>{if(fp(S[0].symbol,k(S[0].isFromPackageJson))===t&&S.some(w=>w.moduleSymbol===s||w.symbol.parent===s))return S})}function hat(e,t,n,s,l){var f,d;const g=s.getCompilerOptions(),h=S(s.getTypeChecker(),!1);if(h)return h;const k=(d=(f=l.getPackageJsonAutoImportProvider)==null?void 0:f.call(l))==null?void 0:d.getTypeChecker();return R.checkDefined(k&&S(k,!0),"Could not find symbol in specified module for code actions");function S(w,N){const O=wV(n,w,g);if(O&&fp(O.symbol,w)===e)return{symbol:O.symbol,moduleSymbol:n,moduleFileName:void 0,exportKind:O.exportKind,targetFlags:fp(e,w).flags,isFromPackageJson:N};const L=w.tryGetMemberInModuleExportsAndProperties(t,n);if(L&&fp(L,w)===e)return{symbol:L,moduleSymbol:n,moduleFileName:void 0,exportKind:0,targetFlags:fp(e,w).flags,isFromPackageJson:N}}}function w$(e,t,n,s,l,f,d,g,h=APe(l.getTypeChecker(),f,l.getCompilerOptions()),k){const S=l.getTypeChecker(),w=mn(e,h.getImportsForExportInfo),N=t!==void 0&&gat(w,t),O=vat(w,n,S,l.getCompilerOptions());if(O)return{computedWithoutCacheCount:0,fixes:[...N?[N]:pt,O]};const{fixes:L,computedWithoutCacheCount:U=0}=Tat(e,w,l,f,t,n,s,d,g,k);return{computedWithoutCacheCount:U,fixes:[...N?[N]:pt,...L]}}function gat(e,t){return ze(e,({declaration:n,importKind:s})=>{var l;if(s!==0)return;const f=yat(n),d=f&&((l=H7(n))==null?void 0:l.text);if(d)return{kind:0,namespacePrefix:f,usagePosition:t,moduleSpecifier:d}})}function yat(e){var t,n,s;switch(e.kind){case 257:return(t=Pi(e.name,Ye))==null?void 0:t.text;case 268:return e.name.text;case 269:return(s=Pi((n=e.importClause)==null?void 0:n.namedBindings,xv))==null?void 0:s.name.text;default:return R.assertNever(e)}}function Ace(e,t,n,s,l,f){return e?t&&f.importsNotUsedAsValues===2||jj(f)&&(!(s&111551)||l.getTypeOnlyAliasDeclaration(n))?2:1:4}function vat(e,t,n,s){return ze(e,({declaration:l,importKind:f,symbol:d,targetFlags:g})=>{if(f===3||f===2||l.kind===268)return;if(l.kind===257)return(f===0||f===1)&&l.name.kind===203?{kind:2,importClauseOrBindingPattern:l.name,importKind:f,moduleSpecifier:l.initializer.arguments[0].text,addAsTypeOnly:4}:void 0;const{importClause:h}=l;if(!h||!sc(l.moduleSpecifier))return;const{name:k,namedBindings:S}=h;if(h.isTypeOnly&&!(f===0&&S))return;const w=Ace(t,!1,d,g,n,s);if(!(f===1&&(k||w===2&&S))&&!(f===0&&(S==null?void 0:S.kind)===271))return{kind:2,importClauseOrBindingPattern:h,importKind:f,moduleSpecifier:l.moduleSpecifier.text,addAsTypeOnly:w}})}function APe(e,t,n){let s;for(const l of t.imports){const f=G7(l);if(tee(f.parent)){const d=e.resolveExternalModuleName(l);d&&(s||(s=dd())).add(Ha(d),f.parent)}else if(f.kind===269||f.kind===268){const d=e.getSymbolAtLocation(l);d&&(s||(s=dd())).add(Ha(d),f)}}return{getImportsForExportInfo:({moduleSymbol:l,exportKind:f,targetFlags:d,symbol:g})=>{if(!(d&111551)&&Gf(t))return pt;const h=s==null?void 0:s.get(Ha(l));if(!h)return pt;const k=Pce(t,f,n);return h.map(S=>({declaration:S,importKind:k,symbol:g,targetFlags:d}))}}}function E$(e,t){if(!Gf(e))return!1;if(e.commonJsModuleIndicator&&!e.externalModuleIndicator)return!0;if(e.externalModuleIndicator&&!e.commonJsModuleIndicator)return!1;const n=t.getCompilerOptions();if(n.configFile)return Hu(n)<5;for(const s of t.getSourceFiles())if(!(s===e||!Gf(s)||t.isSourceFileFromExternalLibrary(s))){if(s.commonJsModuleIndicator&&!s.externalModuleIndicator)return!0;if(s.externalModuleIndicator&&!s.commonJsModuleIndicator)return!1}return!0}function PPe(e,t){return Bh(n=>n?t.getPackageJsonAutoImportProvider().getTypeChecker():e.getTypeChecker())}function bat(e,t,n,s,l,f,d,g,h){const k=Gf(t),S=e.getCompilerOptions(),w=ww(e,d),N=PPe(e,d),O=vl(S),L=Zz(O),U=h?X=>({moduleSpecifiers:BT.tryGetModuleSpecifiersFromCache(X,t,w,g),computedWithoutCache:!1}):(X,Z)=>BT.getModuleSpecifiersWithCacheInfo(X,Z,S,t,w,g);let M=0;const W=mn(f,(X,Z)=>{const ue=N(X.isFromPackageJson),{computedWithoutCache:ie,moduleSpecifiers:se}=U(X.moduleSymbol,ue),V=!!(X.targetFlags&111551),ve=Ace(s,!0,X.symbol,X.targetFlags,ue,S);return M+=ie?1:0,fr(se,fe=>{var Ce;if(L&&Tw(fe))return;if(!V&&k&&n!==void 0)return{kind:1,moduleSpecifier:fe,usagePosition:n,exportInfo:X,isReExport:Z>0};const _e=Pce(t,X.exportKind,S);let K;if(n!==void 0&&_e===3&&X.exportKind===0){const ge=ue.resolveExternalModuleSymbol(X.moduleSymbol);let Se;ge!==X.moduleSymbol&&(Se=(Ce=EV(ge,ue,S))==null?void 0:Ce.name),Se||(Se=Oce(X.moduleSymbol,Io(S),!1)),K={namespacePrefix:Se,usagePosition:n}}return{kind:3,moduleSpecifier:fe,importKind:_e,useRequire:l,addAsTypeOnly:ve,exportInfo:X,isReExport:Z>0,qualification:K}})});return{computedWithoutCacheCount:M,fixes:W}}function Tat(e,t,n,s,l,f,d,g,h,k){const S=ze(t,w=>Sat(w,f,d,n.getTypeChecker(),n.getCompilerOptions()));return S?{fixes:[S]}:bat(n,s,l,f,d,e,g,h,k)}function Sat({declaration:e,importKind:t,symbol:n,targetFlags:s},l,f,d,g){var h;const k=(h=H7(e))==null?void 0:h.text;if(k){const S=f?4:Ace(l,!0,n,s,d,g);return{kind:3,moduleSpecifier:k,importKind:t,addAsTypeOnly:S,useRequire:f}}}function DPe(e,t,n,s){const l=Os(e.sourceFile,n);let f;if(t===v._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code)f=wat(e,l);else if(Ye(l))if(t===v._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code){const g=fY(Dce(e.sourceFile,e.program.getTypeChecker(),l,e.program.getCompilerOptions())),h=LPe(e.sourceFile,l,g,e.program);return h&&[{fix:h,symbolName:g,errorIdentifierText:l.text}]}else f=Pat(e,l,s);else return;const d=WD(e.sourceFile,e.preferences,e.host);return f&&xat(f,e.sourceFile,e.program,d,e.host)}function xat(e,t,n,s,l){const f=d=>wc(d,l.getCurrentDirectory(),Ub(l));return sx(e,(d,g)=>iT(!!d.isJsxNamespaceFix,!!g.isJsxNamespaceFix)||Cc(d.fix.kind,g.fix.kind)||IPe(d.fix,g.fix,t,n,s.allowsImportingSpecifier,f))}function NPe(e,t,n,s,l){if(Oe(e))return e[0].kind===0||e[0].kind===2?e[0]:e.reduce((f,d)=>IPe(d,f,t,n,s.allowsImportingSpecifier,g=>wc(g,l.getCurrentDirectory(),Ub(l)))===-1?d:f)}function IPe(e,t,n,s,l,f){return e.kind!==0&&t.kind!==0?iT(l(t.moduleSpecifier),l(e.moduleSpecifier))||Cat(e.moduleSpecifier,t.moduleSpecifier,n,s)||iT(OPe(e,n,s.getCompilerOptions(),f),OPe(t,n,s.getCompilerOptions(),f))||A5(e.moduleSpecifier,t.moduleSpecifier):0}function OPe(e,t,n,s){var l;if(e.isReExport&&((l=e.exportInfo)!=null&&l.moduleFileName)&&vl(n)===2&&kat(e.exportInfo.moduleFileName)){const f=s($i(e.exportInfo.moduleFileName));return Qs(t.path,f)}return!1}function kat(e){return sf(e,[".js",".jsx",".d.ts",".ts",".tsx"],!0)==="index"}function Cat(e,t,n,s){return Qs(e,"node:")&&!Qs(t,"node:")?bV(n,s)?-1:1:Qs(t,"node:")&&!Qs(e,"node:")?bV(n,s)?1:-1:0}function wat({sourceFile:e,program:t,host:n,preferences:s},l){const f=t.getTypeChecker(),d=Eat(l,f);if(!d)return;const g=f.getAliasedSymbol(d),h=d.name,k=[{symbol:d,moduleSymbol:g,moduleFileName:void 0,exportKind:3,targetFlags:g.flags,isFromPackageJson:!1}],S=E$(e,t);return w$(k,void 0,!1,S,t,e,n,s).fixes.map(N=>{var O;return{fix:N,symbolName:h,errorIdentifierText:(O=Pi(l,Ye))==null?void 0:O.text}})}function Eat(e,t){const n=Ye(e)?t.getSymbolAtLocation(e):void 0;if(Mj(n))return n;const{parent:s}=e;if(Hf(s)&&s.tagName===e||mw(s)){const l=t.resolveName(t.getJsxNamespace(s),Hf(s)?e:s,111551,!1);if(Mj(l))return l}}function Pce(e,t,n,s){if(n.verbatimModuleSyntax&&(Hu(n)===1||e.impliedNodeFormat===1))return 3;switch(t){case 0:return 0;case 1:return 1;case 2:return Iat(e,n,!!s);case 3:return Aat(e,n,!!s);default:return R.assertNever(t)}}function Aat(e,t,n){if(GC(t))return 1;const s=Hu(t);switch(s){case 2:case 1:case 3:return Mn(e)&&(Fl(e)||n)?2:3;case 4:case 5:case 6:case 7:case 99:case 0:return 2;case 100:case 199:return e.impliedNodeFormat===99?2:3;default:return R.assertNever(s,`Unexpected moduleKind ${s}`)}}function Pat({sourceFile:e,program:t,cancellationToken:n,host:s,preferences:l},f,d){const g=t.getTypeChecker(),h=t.getCompilerOptions();return mn(Dce(e,g,f,h),k=>{if(k==="default")return;const S=YC(f),w=E$(e,t),N=Nat(k,_P(f),Kx(f),n,e,t,d,s,l);return ao(gr(N.values(),O=>w$(O,f.getStart(e),S,w,t,e,s,l).fixes),O=>({fix:O,symbolName:k,errorIdentifierText:f.text,isJsxNamespaceFix:k!==f.text}))})}function LPe(e,t,n,s){const l=s.getTypeChecker(),f=l.resolveName(n,t,111551,!0);if(!f)return;const d=l.getTypeOnlyAliasDeclaration(f);if(!(!d||bn(d)!==e))return{kind:4,typeOnlyAliasDeclaration:d}}function Dce(e,t,n,s){const l=n.parent;if((Hf(l)||pw(l))&&l.tagName===n&&noe(s.jsx)){const f=t.getJsxNamespace(e);if(Dat(f,n,t))return!bP(n.text)&&!t.resolveName(n.text,n,111551,!1)?[n.text,f]:[f]}return[n.text]}function Dat(e,t,n){if(bP(t.text))return!0;const s=n.resolveName(e,t,111551,!0);return!s||Oe(s.declarations,pT)&&!(s.flags&111551)}function Nat(e,t,n,s,l,f,d,g,h){var k;const S=dd(),w=WD(l,h,g),N=(k=g.getModuleSpecifierCache)==null?void 0:k.call(g),O=Bh(U=>ww(U?g.getPackageJsonAutoImportProvider():f,g));function L(U,M,W,X,Z,ue){const ie=O(ue);if(M&&ooe(Z,l,M,h,w,ie,N)||!M&&w.allowsImportingAmbientModule(U,ie)){const se=Z.getTypeChecker();S.add(_4e(W,se).toString(),{symbol:W,moduleSymbol:U,moduleFileName:M==null?void 0:M.fileName,exportKind:X,targetFlags:fp(W,se).flags,isFromPackageJson:ue})}}return coe(f,g,h,d,(U,M,W,X)=>{const Z=W.getTypeChecker();s.throwIfCancellationRequested();const ue=W.getCompilerOptions(),ie=wV(U,Z,ue);ie&&(ie.name===e||Oce(U,Io(ue),t)===e)&&zPe(ie.resolvedSymbol,n)&&L(U,M,ie.symbol,ie.exportKind,W,X);const se=Z.tryGetMemberInModuleExportsAndProperties(e,U);se&&zPe(se,n)&&L(U,M,se,0,W,X)}),S}function Iat(e,t,n){const s=GC(t),l=Mn(e);if(!l&&Hu(t)>=5)return s?1:2;if(l)return Fl(e)||n?s?1:2:3;for(const f of e.statements)if(Xu(f)&&!cl(f.moduleReference))return 3;return s?1:3}function Nce(e,t,n,s,l,f,d){let g;const h=Jn.ChangeTracker.with(e,k=>{g=Oat(k,t,n,s,l,f,d)});return Na(Mce,h,g,Fce,v.Add_all_missing_imports)}function Oat(e,t,n,s,l,f,d){const g=wm(t,d);switch(s.kind){case 0:return Ice(e,t,s),[v.Change_0_to_1,n,`${s.namespacePrefix}.${n}`];case 1:return RPe(e,t,s,g),[v.Change_0_to_1,n,BPe(s.moduleSpecifier,g)+n];case 2:{const{importClauseOrBindingPattern:h,importKind:k,addAsTypeOnly:S,moduleSpecifier:w}=s;FPe(e,t,h,k===1?{name:n,addAsTypeOnly:S}:void 0,k===0?[{name:n,addAsTypeOnly:S}]:pt,f,d);const N=$d(w);return l?[v.Import_0_from_1,n,N]:[v.Update_import_from_0,N]}case 3:{const{importKind:h,moduleSpecifier:k,addAsTypeOnly:S,useRequire:w,qualification:N}=s,O=w?JPe:jPe,L=h===1?{name:n,addAsTypeOnly:S}:void 0,U=h===0?[{name:n,addAsTypeOnly:S}]:void 0,M=h===2||h===3?{importKind:h,name:(N==null?void 0:N.namespacePrefix)||n,addAsTypeOnly:S}:void 0;return iV(e,t,O(k,g,L,U,M,f),!0,d),N&&Ice(e,t,N),l?[v.Import_0_from_1,n,k]:[v.Add_import_from_0,k]}case 4:{const{typeOnlyAliasDeclaration:h}=s,k=Lat(e,h,f,t,d);return k.kind===273?[v.Remove_type_from_import_of_0_from_1,n,MPe(k.parent.parent)]:[v.Remove_type_from_import_declaration_from_0,MPe(k)]}default:return R.assertNever(s,`Unexpected fix kind ${s.kind}`)}}function MPe(e){var t,n;return e.kind===268?((n=Pi((t=Pi(e.moduleReference,ng))==null?void 0:t.expression,sc))==null?void 0:n.text)||e.moduleReference.getText():Oa(e.parent.moduleSpecifier,yo).text}function Lat(e,t,n,s,l){const f=jj(n);switch(t.kind){case 273:if(t.isTypeOnly){const g=Kd.detectImportSpecifierSorting(t.parent.elements,l);if(t.parent.elements.length>1&&g){e.delete(s,t);const h=J.updateImportSpecifier(t,!1,t.propertyName,t.name),k=Kd.getOrganizeImportsComparer(l,g===2),S=Kd.getImportSpecifierInsertionIndex(t.parent.elements,h,k);e.insertImportSpecifierAtIndex(s,h,t.parent,S)}else e.deleteRange(s,t.getFirstToken());return t}else return R.assert(t.parent.parent.isTypeOnly),d(t.parent.parent),t.parent.parent;case 270:return d(t),t;case 271:return d(t.parent),t.parent;case 268:return e.deleteRange(s,t.getChildAt(1)),t;default:R.failBadSyntaxKind(t)}function d(g){if(e.delete(s,Lae(g,s)),f){const h=Pi(g.namedBindings,i1);if(h&&h.elements.length>1){Kd.detectImportSpecifierSorting(h.elements,l)&&t.kind===273&&h.elements.indexOf(t)!==0&&(e.delete(s,t),e.insertImportSpecifierAtIndex(s,t,h,0));for(const k of h.elements)k!==t&&!k.isTypeOnly&&e.insertModifierBefore(s,154,k)}}}}function FPe(e,t,n,s,l,f,d){var g;if(n.kind===203){s&&w(n,s.name,"default");for(const N of l)w(n,N.name,void 0);return}const h=n.isTypeOnly&&Oe([s,...l],N=>(N==null?void 0:N.addAsTypeOnly)===4),k=n.namedBindings&&((g=Pi(n.namedBindings,i1))==null?void 0:g.elements),S=h&&jj(f);if(s&&(R.assert(!n.name,"Cannot add a default import to an import clause that already has one"),e.insertNodeAt(t,n.getStart(t),J.createIdentifier(s.name),{suffix:", "})),l.length){let N;if(typeof d.organizeImportsIgnoreCase=="boolean")N=d.organizeImportsIgnoreCase;else if(k){const M=Kd.detectImportSpecifierSorting(k,d);M!==3&&(N=M===2)}N===void 0&&(N=Kd.detectSorting(t,d)===2);const O=Kd.getOrganizeImportsComparer(d,N),L=U0(l.map(M=>J.createImportSpecifier((!n.isTypeOnly||h)&&G9(M),void 0,J.createIdentifier(M.name))),(M,W)=>Kd.compareImportOrExportSpecifiers(M,W,O)),U=(k==null?void 0:k.length)&&Kd.detectImportSpecifierSorting(k,d);if(U&&!(N&&U===1))for(const M of L){const W=S&&!M.isTypeOnly?0:Kd.getImportSpecifierInsertionIndex(k,M,O);e.insertImportSpecifierAtIndex(t,M,n.namedBindings,W)}else if(k!=null&&k.length)for(const M of L)e.insertNodeInListAfter(t,ko(k),M,k);else if(L.length){const M=J.createNamedImports(L);n.namedBindings?e.replaceNode(t,n.namedBindings,M):e.insertNodeAfter(t,R.checkDefined(n.name,"Import clause must have either named imports or a default import"),M)}}if(h&&(e.delete(t,Lae(n,t)),S&&k))for(const N of k)e.insertModifierBefore(t,154,N);function w(N,O,L){const U=J.createBindingElement(void 0,L,O);N.elements.length?e.insertNodeInListAfter(t,ko(N.elements),U):e.replaceNode(t,N,J.createObjectBindingPattern([U]))}}function Ice(e,t,{namespacePrefix:n,usagePosition:s}){e.insertText(t,s,n+".")}function RPe(e,t,{moduleSpecifier:n,usagePosition:s},l){e.insertText(t,s,BPe(n,l))}function BPe(e,t){const n=e4e(t);return`import(${n}${e}${n}).`}function G9({addAsTypeOnly:e}){return e===2}function jPe(e,t,n,s,l,f){const d=Kz(e,t);let g;if(n!==void 0||s!=null&&s.length){const h=(!n||G9(n))&&ut(s,G9)||f.verbatimModuleSyntax&&(n==null?void 0:n.addAsTypeOnly)!==4&&!Oe(s,k=>k.addAsTypeOnly===4);g=Mh(g,f1(n&&J.createIdentifier(n.name),s==null?void 0:s.map(({addAsTypeOnly:k,name:S})=>J.createImportSpecifier(!h&&k===2,void 0,J.createIdentifier(S))),e,t,h))}if(l){const h=l.importKind===3?J.createImportEqualsDeclaration(void 0,G9(l),J.createIdentifier(l.name),J.createExternalModuleReference(d)):J.createImportDeclaration(void 0,J.createImportClause(G9(l),void 0,J.createNamespaceImport(J.createIdentifier(l.name))),d,void 0);g=Mh(g,h)}return R.checkDefined(g)}function JPe(e,t,n,s,l){const f=Kz(e,t);let d;if(n||s!=null&&s.length){const g=(s==null?void 0:s.map(({name:k})=>J.createBindingElement(void 0,void 0,k)))||[];n&&g.unshift(J.createBindingElement(void 0,"default",n.name));const h=UPe(J.createObjectBindingPattern(g),f);d=Mh(d,h)}if(l){const g=UPe(l.name,f);d=Mh(d,g)}return R.checkDefined(d)}function UPe(e,t){return J.createVariableStatement(void 0,J.createVariableDeclarationList([J.createVariableDeclaration(typeof e=="string"?J.createIdentifier(e):e,void 0,void 0,J.createCallExpression(J.createIdentifier("require"),void 0,[t]))],2))}function zPe({declarations:e},t){return Oe(e,n=>!!(g9(n)&t))}function Oce(e,t,n){return Lce(B_($d(e.name)),t,n)}function Lce(e,t,n){const s=sf(_6(e,"/index"));let l="",f=!0;const d=s.charCodeAt(0);Ig(d,t)?(l+=String.fromCharCode(d),n&&(l=l.toUpperCase())):f=!1;for(let g=1;g<s.length;g++){const h=s.charCodeAt(g),k=Ob(h,t);if(k){let S=String.fromCharCode(h);f||(S=S.toUpperCase()),l+=S}f=k}return JC(l)?`_${l}`:l||"_"}var Mce,Fce,Rce,Mat=p({"src/services/codefixes/importFixes.ts"(){Si(),Ga(),Mce="import",Fce="fixMissingImport",Rce=[v.Cannot_find_name_0.code,v.Cannot_find_name_0_Did_you_mean_1.code,v.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,v.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,v.Cannot_find_namespace_0.code,v._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead.code,v._0_only_refers_to_a_type_but_is_being_used_as_a_value_here.code,v.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code,v._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type.code],Ua({errorCodes:Rce,getCodeActions(e){const{errorCode:t,preferences:n,sourceFile:s,span:l,program:f}=e,d=DPe(e,t,l.start,!0);if(d)return d.map(({fix:g,symbolName:h,errorIdentifierText:k})=>Nce(e,s,h,g,h!==k,f.getCompilerOptions(),n))},fixIds:[Fce],getAllCodeActions:e=>{const{sourceFile:t,program:n,preferences:s,host:l,cancellationToken:f}=e,d=kPe(t,n,!0,s,l,f);return Lw(e,Rce,g=>d.addImportFromDiagnostic(g,e)),Ow(Jn.ChangeTracker.with(e,d.writeFixes))}})}});function VPe(e,t,n){const s=He(e.getSemanticDiagnostics(t),d=>d.start===n.start&&d.length===n.length);if(s===void 0||s.relatedInformation===void 0)return;const l=He(s.relatedInformation,d=>d.code===v.This_type_parameter_might_need_an_extends_0_constraint.code);if(l===void 0||l.file===void 0||l.start===void 0||l.length===void 0)return;let f=jle(l.file,hu(l.start,l.length));if(f!==void 0&&(Ye(f)&&bl(f.parent)&&(f=f.parent),bl(f))){if(nD(f.parent))return;const d=Os(t,n.start),g=e.getTypeChecker();return{constraint:Rat(g,d)||Fat(l.messageText),declaration:f,token:d}}}function $Pe(e,t,n,s,l,f){const{declaration:d,constraint:g}=f,h=t.getTypeChecker();if(ha(g))e.insertText(l,d.name.end,` extends ${g}`);else{const k=Io(t.getCompilerOptions()),S=Fw({program:t,host:s}),w=ok(l,t,n,s),N=uq(h,w,g,void 0,k,void 0,S);N&&(e.replaceNode(l,d,J.updateTypeParameterDeclaration(d,void 0,d.name,N,d.default)),w.writeFixes(e))}}function Fat(e){const[t,n]=Av(e,`
`,0).match(/`extends (.*)`/)||[];return n}function Rat(e,t){return ps(t.parent)?e.getTypeArgumentConstraint(t.parent):(Dt(t)?e.getContextualType(t):void 0)||e.getTypeAtLocation(t)}var A$,Bce,Bat=p({"src/services/codefixes/fixAddMissingConstraint.ts"(){Si(),Ga(),A$="addMissingConstraint",Bce=[v.Type_0_is_not_comparable_to_type_1.code,v.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,v.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,v.Type_0_is_not_assignable_to_type_1.code,v.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties.code,v.Property_0_is_incompatible_with_index_signature.code,v.Property_0_in_type_1_is_not_assignable_to_type_2.code,v.Type_0_does_not_satisfy_the_constraint_1.code],Ua({errorCodes:Bce,getCodeActions(e){const{sourceFile:t,span:n,program:s,preferences:l,host:f}=e,d=VPe(s,t,n);if(d===void 0)return;const g=Jn.ChangeTracker.with(e,h=>$Pe(h,s,l,f,t,d));return[Na(A$,g,v.Add_extends_constraint,A$,v.Add_extends_constraint_to_all_type_parameters)]},fixIds:[A$],getAllCodeActions:e=>{const{program:t,preferences:n,host:s}=e,l=new Map;return Ow(Jn.ChangeTracker.with(e,f=>{Lw(e,Bce,d=>{const g=VPe(t,d.file,hu(d.start,d.length));if(g&&Tm(l,Wo(g.declaration)))return $Pe(f,t,n,s,d.file,g)})}))}})}});function qPe(e,t,n,s){switch(n){case v.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code:case v.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:case v.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code:case v.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code:case v.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code:return jat(e,t.sourceFile,s);case v.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code:case v.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code:case v.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code:case v.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code:return Jat(e,t.sourceFile,s);default:R.fail("Unexpected error code: "+n)}}function jat(e,t,n){const s=HPe(t,n);if(Gf(t)){e.addJSDocTags(t,s,[J.createJSDocOverrideTag(J.createIdentifier("override"))]);return}const l=s.modifiers||pt,f=He(l,nw),d=He(l,VSe),g=He(l,w=>Cae(w.kind)),h=Bt(l,Df),k=d?d.end:f?f.end:g?g.end:h?wo(t.text,h.end):s.getStart(t),S=g||f||d?{prefix:" "}:{suffix:" "};e.insertModifierAt(t,k,161,S)}function Jat(e,t,n){const s=HPe(t,n);if(Gf(t)){e.filterJSDocTags(t,s,HR(HJ));return}const l=He(s.modifiers,$Se);R.assertIsDefined(l),e.deleteModifier(t,l)}function WPe(e){switch(e.kind){case 173:case 169:case 171:case 174:case 175:return!0;case 166:return sp(e,e.parent);default:return!1}}function HPe(e,t){const n=Os(e,t),s=kn(n,l=>Ri(l)?"quit":WPe(l));return R.assert(s&&WPe(s)),s}var jce,Y4,e8,Jce,Uce,Uat=p({"src/services/codefixes/fixOverrideModifier.ts"(){Si(),Ga(),jce="fixOverrideModifier",Y4="fixAddOverrideModifier",e8="fixRemoveOverrideModifier",Jce=[v.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code,v.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code,v.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code,v.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code,v.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code,v.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,v.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code,v.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code,v.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code],Uce={[v.This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:v.Add_override_modifier,fixId:Y4,fixAllDescriptions:v.Add_all_missing_override_modifiers},[v.This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:v.Add_override_modifier,fixId:Y4,fixAllDescriptions:v.Add_all_missing_override_modifiers},[v.This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class.code]:{descriptions:v.Remove_override_modifier,fixId:e8,fixAllDescriptions:v.Remove_all_unnecessary_override_modifiers},[v.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class.code]:{descriptions:v.Remove_override_modifier,fixId:e8,fixAllDescriptions:v.Remove_override_modifier},[v.This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0.code]:{descriptions:v.Add_override_modifier,fixId:Y4,fixAllDescriptions:v.Add_all_missing_override_modifiers},[v.This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0.code]:{descriptions:v.Add_override_modifier,fixId:Y4,fixAllDescriptions:v.Add_all_missing_override_modifiers},[v.This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0.code]:{descriptions:v.Add_override_modifier,fixId:Y4,fixAllDescriptions:v.Remove_all_unnecessary_override_modifiers},[v.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0.code]:{descriptions:v.Remove_override_modifier,fixId:e8,fixAllDescriptions:v.Remove_all_unnecessary_override_modifiers},[v.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0.code]:{descriptions:v.Remove_override_modifier,fixId:e8,fixAllDescriptions:v.Remove_all_unnecessary_override_modifiers}},Ua({errorCodes:Jce,getCodeActions:function(t){const{errorCode:n,span:s}=t,l=Uce[n];if(!l)return pt;const{descriptions:f,fixId:d,fixAllDescriptions:g}=l,h=Jn.ChangeTracker.with(t,k=>qPe(k,t,n,s.start));return[rce(jce,h,f,d,g)]},fixIds:[jce,Y4,e8],getAllCodeActions:e=>oc(e,Jce,(t,n)=>{const{code:s,start:l}=n,f=Uce[s];!f||f.fixId!==e.fixId||qPe(t,e,s,l)})})}});function GPe(e,t,n,s){const l=wm(t,s),f=J.createStringLiteral(n.name.text,l===0);e.replaceNode(t,n,NB(n)?J.createElementAccessChain(n.expression,n.questionDotToken,f):J.createElementAccessExpression(n.expression,f))}function XPe(e,t){return Oa(Os(e,t).parent,oi)}var P$,zce,zat=p({"src/services/codefixes/fixNoPropertyAccessFromIndexSignature.ts"(){Si(),Ga(),P$="fixNoPropertyAccessFromIndexSignature",zce=[v.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0.code],Ua({errorCodes:zce,fixIds:[P$],getCodeActions(e){const{sourceFile:t,span:n,preferences:s}=e,l=XPe(t,n.start),f=Jn.ChangeTracker.with(e,d=>GPe(d,e.sourceFile,l,s));return[Na(P$,f,[v.Use_element_access_for_0,l.name.text],P$,v.Use_element_access_for_all_undeclared_properties)]},getAllCodeActions:e=>oc(e,zce,(t,n)=>GPe(t,n.file,XPe(n.file,n.start),e.preferences))})}});function QPe(e,t,n,s){const l=Os(t,n);if(!U4(l))return;const f=y_(l,!1,!1);if(!(!ru(f)&&!yc(f))&&!bs(y_(f,!1,!1))){const d=R.checkDefined(Yo(f,98,t)),{name:g}=f,h=R.checkDefined(f.body);return yc(f)?g&&Wc.Core.isSymbolReferencedInFile(g,s,t,h)?void 0:(e.delete(t,d),g&&e.delete(t,g),e.insertText(t,h.pos," =>"),[v.Convert_function_expression_0_to_arrow_function,g?g.text:CV]):(e.replaceNode(t,d,J.createToken(85)),e.insertText(t,g.end," = "),e.insertText(t,h.pos," =>"),[v.Convert_function_declaration_0_to_arrow_function,g.text])}}var D$,Vce,Vat=p({"src/services/codefixes/fixImplicitThis.ts"(){Si(),Ga(),D$="fixImplicitThis",Vce=[v.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code],Ua({errorCodes:Vce,getCodeActions:function(t){const{sourceFile:n,program:s,span:l}=t;let f;const d=Jn.ChangeTracker.with(t,g=>{f=QPe(g,n,l.start,s.getTypeChecker())});return f?[Na(D$,d,f,D$,v.Fix_all_implicit_this_errors)]:pt},fixIds:[D$],getAllCodeActions:e=>oc(e,Vce,(t,n)=>{QPe(t,n.file,n.start,e.program.getTypeChecker())})})}});function YPe(e,t,n){var s;const l=Os(e,t);if(Ye(l)){const f=kn(l,Nu);if(f===void 0)return;const d=yo(f.moduleSpecifier)?f.moduleSpecifier.text:void 0;if(d===void 0)return;const g=E6(e,d,void 0);if(g===void 0)return;const h=n.getSourceFile(g.resolvedFileName);if(h===void 0||HD(n,h))return;const k=h.symbol,S=(s=Pi(k.valueDeclaration,$h))==null?void 0:s.locals;if(S===void 0)return;const w=S.get(l.escapedText);if(w===void 0)return;const N=qat(w);return N===void 0?void 0:{exportName:{node:l,isTypeOnly:i4(N)},node:N,moduleSourceFile:h,moduleSpecifier:d}}}function $at(e,t,{exportName:n,node:s,moduleSourceFile:l}){const f=N$(l,n.isTypeOnly);f?ZPe(e,t,l,f,[n]):O5(s)?e.insertExportModifier(l,s):KPe(e,t,l,[n])}function $ce(e,t,n,s,l){H(s)&&(l?ZPe(e,t,n,l,s):KPe(e,t,n,s))}function N$(e,t){const n=s=>Uu(s)&&(t&&s.isTypeOnly||!s.isTypeOnly);return Bt(e.statements,n)}function ZPe(e,t,n,s,l){const f=s.exportClause&&Xd(s.exportClause)?s.exportClause.elements:J.createNodeArray([]),d=!s.isTypeOnly&&!!(qd(t.getCompilerOptions())||He(f,g=>g.isTypeOnly));e.replaceNode(n,s,J.updateExportDeclaration(s,s.modifiers,s.isTypeOnly,J.createNamedExports(J.createNodeArray([...f,...eDe(l,d)],f.hasTrailingComma)),s.moduleSpecifier,s.assertClause))}function KPe(e,t,n,s){e.insertNodeAtEndOfScope(n,n,J.createExportDeclaration(void 0,!1,J.createNamedExports(eDe(s,qd(t.getCompilerOptions()))),void 0,void 0))}function eDe(e,t){return J.createNodeArray(qt(e,n=>J.createExportSpecifier(t&&n.isTypeOnly,void 0,n.node)))}function qat(e){if(e.valueDeclaration===void 0)return Ru(e.declarations);const t=e.valueDeclaration,n=xs(t)?Pi(t.parent.parent,Xl):void 0;return n&&H(n.declarationList.declarations)===1?n:t}var I$,qce,Wat=p({"src/services/codefixes/fixImportNonExportedMember.ts"(){Si(),Ga(),I$="fixImportNonExportedMember",qce=[v.Module_0_declares_1_locally_but_it_is_not_exported.code],Ua({errorCodes:qce,fixIds:[I$],getCodeActions(e){const{sourceFile:t,span:n,program:s}=e,l=YPe(t,n.start,s);if(l===void 0)return;const f=Jn.ChangeTracker.with(e,d=>$at(d,s,l));return[Na(I$,f,[v.Export_0_from_module_1,l.exportName.node.text,l.moduleSpecifier],I$,v.Export_all_referenced_locals)]},getAllCodeActions(e){const{program:t}=e;return Ow(Jn.ChangeTracker.with(e,n=>{const s=new Map;Lw(e,qce,l=>{const f=YPe(l.file,l.start,t);if(f===void 0)return;const{exportName:d,node:g,moduleSourceFile:h}=f;if(N$(h,d.isTypeOnly)===void 0&&O5(g))n.insertExportModifier(h,g);else{const k=s.get(h)||{typeOnlyExports:[],exports:[]};d.isTypeOnly?k.typeOnlyExports.push(d):k.exports.push(d),s.set(h,k)}}),s.forEach((l,f)=>{const d=N$(f,!0);d&&d.isTypeOnly?($ce(n,t,f,l.typeOnlyExports,d),$ce(n,t,f,l.exports,N$(f,!1))):$ce(n,t,f,[...l.exports,...l.typeOnlyExports],d)})}))}})}});function Hat(e,t){const n=Os(e,t);return kn(n,s=>s.kind===199)}function Gat(e,t,n){if(!n)return;let s=n.type,l=!1,f=!1;for(;s.kind===187||s.kind===188||s.kind===193;)s.kind===187?l=!0:s.kind===188&&(f=!0),s=s.type;const d=J.updateNamedTupleMember(n,n.dotDotDotToken||(f?J.createToken(25):void 0),n.name,n.questionToken||(l?J.createToken(57):void 0),s);d!==n&&e.replaceNode(t,n,d)}var O$,tDe,Xat=p({"src/services/codefixes/fixIncorrectNamedTupleSyntax.ts"(){Si(),Ga(),O$="fixIncorrectNamedTupleSyntax",tDe=[v.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,v.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code],Ua({errorCodes:tDe,getCodeActions:function(t){const{sourceFile:n,span:s}=t,l=Hat(n,s.start),f=Jn.ChangeTracker.with(t,d=>Gat(d,n,l));return[Na(O$,f,v.Move_labeled_tuple_element_modifiers_to_labels,O$,v.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[O$]})}});function rDe(e,t,n,s){const l=Os(e,t),f=l.parent;if((s===v.No_overload_matches_this_call.code||s===v.Type_0_is_not_assignable_to_type_1.code)&&!oh(f))return;const d=n.program.getTypeChecker();let g;if(oi(f)&&f.name===l){R.assert(Ny(l),"Expected an identifier for spelling (property access)");let h=d.getTypeAtLocation(f.expression);f.flags&32&&(h=d.getNonNullableType(h)),g=d.getSuggestedSymbolForNonexistentProperty(l,h)}else if($n(f)&&f.operatorToken.kind===101&&f.left===l&&as(l)){const h=d.getTypeAtLocation(f.right);g=d.getSuggestedSymbolForNonexistentProperty(l,h)}else if(T_(f)&&f.right===l){const h=d.getSymbolAtLocation(f.left);h&&h.flags&1536&&(g=d.getSuggestedSymbolForNonexistentModule(f.right,h))}else if(S_(f)&&f.name===l){R.assertNode(l,Ye,"Expected an identifier for spelling (import)");const h=kn(l,Nu),k=Yat(e,n,h);k&&k.symbol&&(g=d.getSuggestedSymbolForNonexistentModule(l,k.symbol))}else if(oh(f)&&f.name===l){R.assertNode(l,Ye,"Expected an identifier for JSX attribute");const h=kn(l,Hf),k=d.getContextualTypeForArgumentAtIndex(h,0);g=d.getSuggestedSymbolForNonexistentJSXAttribute(l,k)}else if(Ti(f,16384)&&Eu(f)&&f.name===l){const h=kn(l,Ri),k=h?eh(h):void 0,S=k?d.getTypeAtLocation(k):void 0;S&&(g=d.getSuggestedSymbolForNonexistentClassMember(lu(l),S))}else{const h=Kx(l),k=lu(l);R.assert(k!==void 0,"name should be defined"),g=d.getSuggestedSymbolForNonexistentSymbol(l,k,Qat(h))}return g===void 0?void 0:{node:l,suggestedSymbol:g}}function nDe(e,t,n,s,l){const f=yl(s);if(!Bd(f,l)&&oi(n.parent)){const d=s.valueDeclaration;d&&of(d)&&as(d.name)?e.replaceNode(t,n,J.createIdentifier(f)):e.replaceNode(t,n.parent,J.createElementAccessExpression(n.parent.expression,J.createStringLiteral(f)))}else e.replaceNode(t,n,J.createIdentifier(f))}function Qat(e){let t=0;return e&4&&(t|=1920),e&2&&(t|=788968),e&1&&(t|=111551),t}function Yat(e,t,n){if(!n||!sc(n.moduleSpecifier))return;const s=E6(e,n.moduleSpecifier.text,km(e,n.moduleSpecifier));if(s)return t.program.getSourceFile(s.resolvedFileName)}var Wce,Hce,Zat=p({"src/services/codefixes/fixSpelling.ts"(){Si(),Ga(),Wce="fixSpelling",Hce=[v.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,v.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,v.Cannot_find_name_0_Did_you_mean_1.code,v.Could_not_find_name_0_Did_you_mean_1.code,v.Cannot_find_namespace_0_Did_you_mean_1.code,v.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,v.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,v._0_has_no_exported_member_named_1_Did_you_mean_2.code,v.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,v.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,v.No_overload_matches_this_call.code,v.Type_0_is_not_assignable_to_type_1.code],Ua({errorCodes:Hce,getCodeActions(e){const{sourceFile:t,errorCode:n}=e,s=rDe(t,e.span.start,e,n);if(!s)return;const{node:l,suggestedSymbol:f}=s,d=Io(e.host.getCompilationSettings()),g=Jn.ChangeTracker.with(e,h=>nDe(h,t,l,f,d));return[Na("spelling",g,[v.Change_spelling_to_0,yl(f)],Wce,v.Fix_all_detected_spelling_errors)]},fixIds:[Wce],getAllCodeActions:e=>oc(e,Hce,(t,n)=>{const s=rDe(n.file,n.start,e,n.code),l=Io(e.host.getCompilationSettings());s&&nDe(t,e.sourceFile,s.node,s.suggestedSymbol,l)})})}});function iDe(e,t,n){const s=e.createSymbol(4,t.escapedText);s.links.type=e.getTypeAtLocation(n);const l=Ma([s]);return e.createAnonymousType(void 0,l,[],[],[])}function Gce(e,t,n,s){if(!t.body||!Fa(t.body)||H(t.body.statements)!==1)return;const l=Uo(t.body.statements);if(Gu(l)&&Xce(e,t,e.getTypeAtLocation(l.expression),n,s))return{declaration:t,kind:0,expression:l.expression,statement:l,commentSource:l.expression};if(IT(l)&&Gu(l.statement)){const f=J.createObjectLiteralExpression([J.createPropertyAssignment(l.label,l.statement.expression)]),d=iDe(e,l.label,l.statement.expression);if(Xce(e,t,d,n,s))return Ac(t)?{declaration:t,kind:1,expression:f,statement:l,commentSource:l.statement.expression}:{declaration:t,kind:0,expression:f,statement:l,commentSource:l.statement.expression}}else if(Fa(l)&&H(l.statements)===1){const f=Uo(l.statements);if(IT(f)&&Gu(f.statement)){const d=J.createObjectLiteralExpression([J.createPropertyAssignment(f.label,f.statement.expression)]),g=iDe(e,f.label,f.statement.expression);if(Xce(e,t,g,n,s))return{declaration:t,kind:0,expression:d,statement:l,commentSource:f}}}}function Xce(e,t,n,s,l){if(l){const f=e.getSignatureFromDeclaration(t);if(f){Ti(t,512)&&(n=e.createPromiseType(n));const d=e.createSignature(t,f.typeParameters,f.thisParameter,f.parameters,n,void 0,f.minArgumentCount,f.flags);n=e.createAnonymousType(void 0,Ma(),[d],[],[])}else n=e.getAnyType()}return e.isTypeAssignableTo(n,s)}function sDe(e,t,n,s){const l=Os(t,n);if(!l.parent)return;const f=kn(l.parent,Lc);switch(s){case v.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code:return!f||!f.body||!f.type||!pp(f.type,l)?void 0:Gce(e,f,e.getTypeFromTypeNode(f.type),!1);case v.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:if(!f||!Da(f.parent)||!f.body)return;const d=f.parent.arguments.indexOf(f),g=e.getContextualTypeForArgumentAtIndex(f.parent,d);return g?Gce(e,f,g,!0):void 0;case v.Type_0_is_not_assignable_to_type_1.code:if(!By(l)||!O6(l.parent)&&!oh(l.parent))return;const h=Kat(l.parent);return!h||!Lc(h)||!h.body?void 0:Gce(e,h,e.getTypeAtLocation(l.parent),!0)}}function Kat(e){switch(e.kind){case 257:case 166:case 205:case 169:case 299:return e.initializer;case 288:return e.initializer&&(oD(e.initializer)?e.initializer.expression:void 0);case 300:case 168:case 302:case 351:case 344:return}}function aDe(e,t,n,s){V_(n);const l=fV(t);e.replaceNode(t,s,J.createReturnStatement(n),{leadingTriviaOption:Jn.LeadingTriviaOption.Exclude,trailingTriviaOption:Jn.TrailingTriviaOption.Exclude,suffix:l?";":void 0})}function oDe(e,t,n,s,l,f){const d=f||Wae(s)?J.createParenthesizedExpression(s):s;V_(l),nk(l,d),e.replaceNode(t,n.body,d)}function cDe(e,t,n,s){e.replaceNode(t,n.body,J.createParenthesizedExpression(s))}function eot(e,t,n){const s=Jn.ChangeTracker.with(e,l=>aDe(l,e.sourceFile,t,n));return Na(L$,s,v.Add_a_return_statement,M$,v.Add_all_missing_return_statement)}function tot(e,t,n,s){const l=Jn.ChangeTracker.with(e,f=>oDe(f,e.sourceFile,t,n,s,!1));return Na(L$,l,v.Remove_braces_from_arrow_function_body,F$,v.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)}function rot(e,t,n){const s=Jn.ChangeTracker.with(e,l=>cDe(l,e.sourceFile,t,n));return Na(L$,s,v.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,R$,v.Wrap_all_object_literal_with_parentheses)}var L$,M$,F$,R$,Qce,not=p({"src/services/codefixes/returnValueCorrect.ts"(){Si(),Ga(),L$="returnValueCorrect",M$="fixAddReturnStatement",F$="fixRemoveBracesFromArrowFunctionBody",R$="fixWrapTheBlockWithParen",Qce=[v.A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value.code,v.Type_0_is_not_assignable_to_type_1.code,v.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code],Ua({errorCodes:Qce,fixIds:[M$,F$,R$],getCodeActions:function(t){const{program:n,sourceFile:s,span:{start:l},errorCode:f}=t,d=sDe(n.getTypeChecker(),s,l,f);if(d)return d.kind===0?$r([eot(t,d.expression,d.statement)],Ac(d.declaration)?tot(t,d.declaration,d.expression,d.commentSource):void 0):[rot(t,d.declaration,d.expression)]},getAllCodeActions:e=>oc(e,Qce,(t,n)=>{const s=sDe(e.program.getTypeChecker(),n.file,n.start,n.code);if(s)switch(e.fixId){case M$:aDe(t,n.file,s.expression,s.statement);break;case F$:if(!Ac(s.declaration))return;oDe(t,n.file,s.declaration,s.expression,s.commentSource,!1);break;case R$:if(!Ac(s.declaration))return;cDe(t,n.file,s.declaration,s.expression);break;default:R.fail(JSON.stringify(e.fixId))}})})}});function lDe(e,t,n,s,l){var f;const d=Os(e,t),g=d.parent;if(n===v.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code){if(!(d.kind===18&&cc(g)&&Da(g.parent)))return;const O=ar(g.parent.arguments,W=>W===g);if(O<0)return;const L=s.getResolvedSignature(g.parent);if(!(L&&L.declaration&&L.parameters[O]))return;const U=L.parameters[O].valueDeclaration;if(!(U&&ua(U)&&Ye(U.name)))return;const M=ao(s.getUnmatchedProperties(s.getTypeAtLocation(g),s.getParameterType(L,O),!1,!1));return H(M)?{kind:3,token:U.name,properties:M,parentDeclaration:g}:void 0}if(!Ny(d))return;if(Ye(d)&&pv(g)&&g.initializer&&cc(g.initializer)){const O=ao(s.getUnmatchedProperties(s.getTypeAtLocation(g.initializer),s.getTypeAtLocation(d),!1,!1));return H(O)?{kind:3,token:d,properties:O,parentDeclaration:g.initializer}:void 0}if(Ye(d)&&Hf(d.parent)){const O=Io(l.getCompilerOptions()),L=uot(s,O,d.parent);return H(L)?{kind:4,token:d,attributes:L,parentDeclaration:d.parent}:void 0}if(Ye(d)){const O=(f=s.getContextualType(d))==null?void 0:f.getNonNullableType();if(O&&Ci(O)&16){const L=Ru(s.getSignaturesOfType(O,0));return L===void 0?void 0:{kind:5,token:d,signature:L,sourceFile:e,parentDeclaration:bDe(d)}}if(Da(g)&&g.expression===d)return{kind:2,token:d,call:g,sourceFile:e,modifierFlags:0,parentDeclaration:bDe(d)}}if(!oi(g))return;const h=Dae(s.getTypeAtLocation(g.expression)),k=h.symbol;if(!k||!k.declarations)return;if(Ye(d)&&Da(g.parent)){const O=He(k.declarations,Pl),L=O==null?void 0:O.getSourceFile();if(O&&L&&!HD(l,L))return{kind:2,token:d,call:g.parent,sourceFile:e,modifierFlags:1,parentDeclaration:O};const U=He(k.declarations,bs);if(e.commonJsModuleIndicator)return;if(U&&!HD(l,U))return{kind:2,token:d,call:g.parent,sourceFile:U,modifierFlags:1,parentDeclaration:U}}const S=He(k.declarations,Ri);if(!S&&as(d))return;const w=S||He(k.declarations,O=>Yf(O)||_p(O));if(w&&!HD(l,w.getSourceFile())){const O=!_p(w)&&(h.target||h)!==s.getDeclaredTypeOfSymbol(k);if(O&&(as(d)||Yf(w)))return;const L=w.getSourceFile(),U=_p(w)?0:(O?32:0)|(roe(d.text)?8:0),M=Gf(L),W=Pi(g.parent,Da);return{kind:0,token:d,call:W,modifierFlags:U,parentDeclaration:w,declSourceFile:L,isJSFile:M}}const N=He(k.declarations,Gb);if(N&&!(h.flags&1056)&&!as(d)&&!HD(l,N.getSourceFile()))return{kind:1,token:d,parentDeclaration:N}}function iot(e,t){return t.isJSFile?ax(sot(e,t)):aot(e,t)}function sot(e,{parentDeclaration:t,declSourceFile:n,modifierFlags:s,token:l}){if(Yf(t)||_p(t))return;const f=Jn.ChangeTracker.with(e,g=>uDe(g,n,t,l,!!(s&32)));if(f.length===0)return;const d=s&32?v.Initialize_static_property_0:as(l)?v.Declare_a_private_field_named_0:v.Initialize_property_0_in_the_constructor;return Na(_1,f,[d,l.text],_1,v.Add_all_missing_members)}function uDe(e,t,n,s,l){const f=s.text;if(l){if(n.kind===228)return;const d=n.name.getText(),g=fDe(J.createIdentifier(d),f);e.insertNodeAfter(t,n,g)}else if(as(s)){const d=J.createPropertyDeclaration(void 0,f,void 0,void 0,void 0),g=dDe(n);g?e.insertNodeAfter(t,g,d):e.insertMemberAtStart(t,n,d)}else{const d=Bg(n);if(!d)return;const g=fDe(J.createThis(),f);e.insertNodeAtConstructorEnd(t,d,g)}}function fDe(e,t){return J.createExpressionStatement(J.createAssignment(J.createPropertyAccessExpression(e,t),ck()))}function aot(e,{parentDeclaration:t,declSourceFile:n,modifierFlags:s,token:l}){const f=l.text,d=s&32,g=_De(e.program.getTypeChecker(),t,l),h=S=>Jn.ChangeTracker.with(e,w=>pDe(w,n,t,f,g,S)),k=[Na(_1,h(s&32),[d?v.Declare_static_property_0:v.Declare_property_0,f],_1,v.Add_all_missing_members)];return d||as(l)||(s&8&&k.unshift(Em(_1,h(8),[v.Declare_private_property_0,f])),k.push(oot(e,n,t,l.text,g))),k}function _De(e,t,n){let s;if(n.parent.parent.kind===223){const l=n.parent.parent,f=n.parent===l.left?l.right:l.left,d=e.getWidenedType(e.getBaseTypeOfLiteralType(e.getTypeAtLocation(f)));s=e.typeToTypeNode(d,t,1)}else{const l=e.getContextualType(n.parent);s=l?e.typeToTypeNode(l,void 0,1):void 0}return s||J.createKeywordTypeNode(131)}function pDe(e,t,n,s,l,f){const d=f?J.createNodeArray(J.createModifiersFromModifierFlags(f)):void 0,g=Ri(n)?J.createPropertyDeclaration(d,s,void 0,l,void 0):J.createPropertySignature(void 0,s,void 0,l),h=dDe(n);h?e.insertNodeAfter(t,h,g):e.insertMemberAtStart(t,n,g)}function dDe(e){let t;for(const n of e.members){if(!Pa(n))break;t=n}return t}function oot(e,t,n,s,l){const f=J.createKeywordTypeNode(152),d=J.createParameterDeclaration(void 0,void 0,"x",void 0,f,void 0),g=J.createIndexSignature(void 0,[d],l),h=Jn.ChangeTracker.with(e,k=>k.insertMemberAtStart(t,n,g));return Em(_1,h,[v.Add_index_signature_for_property_0,s])}function cot(e,t){const{parentDeclaration:n,declSourceFile:s,modifierFlags:l,token:f,call:d}=t;if(d===void 0||as(f))return;const g=f.text,h=S=>Jn.ChangeTracker.with(e,w=>mDe(e,w,d,f,S,n,s)),k=[Na(_1,h(l&32),[l&32?v.Declare_static_method_0:v.Declare_method_0,g],_1,v.Add_all_missing_members)];return l&8&&k.unshift(Em(_1,h(8),[v.Declare_private_method_0,g])),k}function mDe(e,t,n,s,l,f,d){const g=ok(d,e.program,e.preferences,e.host),h=Ri(f)?171:170,k=Ole(h,e,g,n,s,l,f),S=fot(f,n);S?t.insertNodeAfter(d,S,k):t.insertMemberAtStart(d,f,k),g.writeFixes(t)}function hDe(e,t,{token:n,parentDeclaration:s}){const l=Oe(s.members,d=>{const g=t.getTypeAtLocation(d);return!!(g&&g.flags&402653316)}),f=J.createEnumMember(n,l?J.createStringLiteral(n.text):void 0);e.replaceNode(s.getSourceFile(),s,J.updateEnumDeclaration(s,s.modifiers,s.name,Cr(s.members,ax(f))),{leadingTriviaOption:Jn.LeadingTriviaOption.IncludeAll,trailingTriviaOption:Jn.TrailingTriviaOption.Exclude})}function gDe(e,t,n){const s=wm(t.sourceFile,t.preferences),l=ok(t.sourceFile,t.program,t.preferences,t.host),f=n.kind===2?Ole(259,t,l,n.call,ai(n.token),n.modifierFlags,n.parentDeclaration):lq(259,t,s,n.signature,tL(v.Function_not_implemented.message,s),n.token,void 0,void 0,void 0,l);f===void 0&&R.fail("fixMissingFunctionDeclaration codefix got unexpected error."),Sm(n.parentDeclaration)?e.insertNodeBefore(n.sourceFile,n.parentDeclaration,f,!0):e.insertNodeAtEndOfScope(n.sourceFile,n.parentDeclaration,f),l.writeFixes(e)}function yDe(e,t,n){const s=ok(t.sourceFile,t.program,t.preferences,t.host),l=wm(t.sourceFile,t.preferences),f=t.program.getTypeChecker(),d=n.parentDeclaration.attributes,g=Oe(d.properties,Bx),h=qt(n.attributes,w=>{const N=B$(t,f,s,l,f.getTypeOfSymbol(w),n.parentDeclaration),O=J.createIdentifier(w.name),L=J.createJsxAttribute(O,J.createJsxExpression(void 0,N));return go(O,L),L}),k=J.createJsxAttributes(g?[...h,...d.properties]:[...d.properties,...h]),S={prefix:d.pos===d.end?" ":void 0};e.replaceNode(t.sourceFile,d,k,S),s.writeFixes(e)}function vDe(e,t,n){const s=ok(t.sourceFile,t.program,t.preferences,t.host),l=wm(t.sourceFile,t.preferences),f=Io(t.program.getCompilerOptions()),d=t.program.getTypeChecker(),g=qt(n.properties,k=>{const S=B$(t,d,s,l,d.getTypeOfSymbol(k),n.parentDeclaration);return J.createPropertyAssignment(_ot(k,f,l,d),S)}),h={leadingTriviaOption:Jn.LeadingTriviaOption.Exclude,trailingTriviaOption:Jn.TrailingTriviaOption.Exclude,indentation:n.indentation};e.replaceNode(t.sourceFile,n.parentDeclaration,J.createObjectLiteralExpression([...n.parentDeclaration.properties,...g],!0),h),s.writeFixes(e)}function B$(e,t,n,s,l,f){if(l.flags&3)return ck();if(l.flags&134217732)return J.createStringLiteral("",s===0);if(l.flags&8)return J.createNumericLiteral(0);if(l.flags&64)return J.createBigIntLiteral("0n");if(l.flags&16)return J.createFalse();if(l.flags&1056){const d=l.symbol.exports?jR(l.symbol.exports.values()):l.symbol,g=t.symbolToExpression(l.symbol.parent?l.symbol.parent:l.symbol,111551,void 0,void 0);return d===void 0||g===void 0?J.createNumericLiteral(0):J.createPropertyAccessExpression(g,t.symbolToString(d))}if(l.flags&256)return J.createNumericLiteral(l.value);if(l.flags&2048)return J.createBigIntLiteral(l.value);if(l.flags&128)return J.createStringLiteral(l.value,s===0);if(l.flags&512)return l===t.getFalseType()||l===t.getFalseType(!0)?J.createFalse():J.createTrue();if(l.flags&65536)return J.createNull();if(l.flags&1048576){const d=ze(l.types,g=>B$(e,t,n,s,g,f));return d??ck()}if(t.isArrayLikeType(l))return J.createArrayLiteralExpression();if(lot(l)){const d=qt(t.getPropertiesOfType(l),g=>{const h=B$(e,t,n,s,t.getTypeOfSymbol(g),f);return J.createPropertyAssignment(g.name,h)});return J.createObjectLiteralExpression(d,!0)}if(Ci(l)&16){if(He(l.symbol.declarations||pt,jh(Vg,zg,zl))===void 0)return ck();const g=t.getSignaturesOfType(l,0);if(g===void 0)return ck();const h=lq(215,e,s,g[0],tL(v.Function_not_implemented.message,s),void 0,void 0,void 0,f,n);return h??ck()}if(Ci(l)&1){const d=Jy(l.symbol);if(d===void 0||CT(d))return ck();const g=Bg(d);return g&&H(g.parameters)?ck():J.createNewExpression(J.createIdentifier(l.symbol.name),void 0,void 0)}return ck()}function ck(){return J.createIdentifier("undefined")}function lot(e){return e.flags&524288&&(Ci(e)&128||e.symbol&&Pi(Fh(e.symbol.declarations),_p))}function uot(e,t,n){const s=e.getContextualType(n.attributes);if(s===void 0)return pt;const l=s.getProperties();if(!H(l))return pt;const f=new Set;for(const d of n.attributes.properties)if(oh(d)&&f.add(d.name.escapedText),Bx(d)){const g=e.getTypeAtLocation(d.expression);for(const h of g.getProperties())f.add(h.escapedName)}return hr(l,d=>Bd(d.name,t,1)&&!(d.flags&16777216||ul(d)&48||f.has(d.escapedName)))}function fot(e,t){if(_p(e))return;const n=kn(t,s=>zl(s)||Al(s));return n&&n.parent===e?n:void 0}function _ot(e,t,n,s){if(qh(e)){const l=s.symbolToNode(e,111551,void 0,1073741824);if(l&&ac(l))return l}return Yj(e.name,t,n===0)}function bDe(e){if(kn(e,oD)){const t=kn(e.parent,Sm);if(t)return t}return bn(e)}var _1,X9,Q9,Y9,Yce,pot=p({"src/services/codefixes/fixAddMissingMember.ts"(){Si(),Ga(),_1="fixMissingMember",X9="fixMissingProperties",Q9="fixMissingAttributes",Y9="fixMissingFunctionDeclaration",Yce=[v.Property_0_does_not_exist_on_type_1.code,v.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,v.Property_0_is_missing_in_type_1_but_required_in_type_2.code,v.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,v.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code,v.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,v.Cannot_find_name_0.code],Ua({errorCodes:Yce,getCodeActions(e){const t=e.program.getTypeChecker(),n=lDe(e.sourceFile,e.span.start,e.errorCode,t,e.program);if(n){if(n.kind===3){const s=Jn.ChangeTracker.with(e,l=>vDe(l,e,n));return[Na(X9,s,v.Add_missing_properties,X9,v.Add_all_missing_properties)]}if(n.kind===4){const s=Jn.ChangeTracker.with(e,l=>yDe(l,e,n));return[Na(Q9,s,v.Add_missing_attributes,Q9,v.Add_all_missing_attributes)]}if(n.kind===2||n.kind===5){const s=Jn.ChangeTracker.with(e,l=>gDe(l,e,n));return[Na(Y9,s,[v.Add_missing_function_declaration_0,n.token.text],Y9,v.Add_all_missing_function_declarations)]}if(n.kind===1){const s=Jn.ChangeTracker.with(e,l=>hDe(l,e.program.getTypeChecker(),n));return[Na(_1,s,[v.Add_missing_enum_member_0,n.token.text],_1,v.Add_all_missing_members)]}return Cr(cot(e,n),iot(e,n))}},fixIds:[_1,Y9,X9,Q9],getAllCodeActions:e=>{const{program:t,fixId:n}=e,s=t.getTypeChecker(),l=new Map,f=new Map;return Ow(Jn.ChangeTracker.with(e,d=>{Lw(e,Yce,g=>{const h=lDe(g.file,g.start,g.code,s,e.program);if(!(!h||!Tm(l,Wo(h.parentDeclaration)+"#"+h.token.text))){if(n===Y9&&(h.kind===2||h.kind===5))gDe(d,e,h);else if(n===X9&&h.kind===3)vDe(d,e,h);else if(n===Q9&&h.kind===4)yDe(d,e,h);else if(h.kind===1&&hDe(d,s,h),h.kind===0){const{parentDeclaration:k,token:S}=h,w=ei(f,k,()=>[]);w.some(N=>N.token.text===S.text)||w.push(h)}}}),f.forEach((g,h)=>{const k=_p(h)?void 0:Ule(h,s);for(const S of g){if(k!=null&&k.some(W=>{const X=f.get(W);return!!X&&X.some(({token:Z})=>Z.text===S.token.text)}))continue;const{parentDeclaration:w,declSourceFile:N,modifierFlags:O,token:L,call:U,isJSFile:M}=S;if(U&&!as(L))mDe(e,d,U,L,O&32,w,N);else if(M&&!Yf(w)&&!_p(w))uDe(d,N,w,L,!!(O&32));else{const W=_De(s,w,L);pDe(d,N,w,L.text,W,O&32)}}})}))}})}});function TDe(e,t,n){const s=Oa(dot(t,n),Da),l=J.createNewExpression(s.expression,s.typeArguments,s.arguments);e.replaceNode(t,s,l)}function dot(e,t){let n=Os(e,t.start);const s=Wu(t);for(;n.end<s;)n=n.parent;return n}var j$,Zce,mot=p({"src/services/codefixes/fixAddMissingNewOperator.ts"(){Si(),Ga(),j$="addMissingNewOperator",Zce=[v.Value_of_type_0_is_not_callable_Did_you_mean_to_include_new.code],Ua({errorCodes:Zce,getCodeActions(e){const{sourceFile:t,span:n}=e,s=Jn.ChangeTracker.with(e,l=>TDe(l,t,n));return[Na(j$,s,v.Add_missing_new_operator_to_call,j$,v.Add_missing_new_operator_to_all_calls)]},fixIds:[j$],getAllCodeActions:e=>oc(e,Zce,(t,n)=>TDe(t,e.sourceFile,n))})}});function SDe(e,t){return{type:"install package",file:e,packageName:t}}function xDe(e,t){const n=Pi(Os(e,t),yo);if(!n)return;const s=n.text,{packageName:l}=Cne(s);return wu(l)?void 0:l}function kDe(e,t,n){var s;return n===Kce?Zx.nodeCoreModules.has(e)?"@types/node":void 0:(s=t.isKnownTypesPackageName)!=null&&s.call(t,e)?OU(e):void 0}var CDe,J$,Kce,ele,hot=p({"src/services/codefixes/fixCannotFindModule.ts"(){Si(),Ga(),CDe="fixCannotFindModule",J$="installTypesPackage",Kce=v.Cannot_find_module_0_or_its_corresponding_type_declarations.code,ele=[Kce,v.Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type.code],Ua({errorCodes:ele,getCodeActions:function(t){const{host:n,sourceFile:s,span:{start:l}}=t,f=xDe(s,l);if(f===void 0)return;const d=kDe(f,n,t.errorCode);return d===void 0?[]:[Na(CDe,[],[v.Install_0,d],J$,v.Install_all_missing_types_packages,SDe(s.fileName,d))]},fixIds:[J$],getAllCodeActions:e=>oc(e,ele,(t,n,s)=>{const l=xDe(n.file,n.start);if(l!==void 0)switch(e.fixId){case J$:{const f=kDe(l,e.host,n.code);f&&s.push(SDe(n.file.fileName,f));break}default:R.fail(`Bad fixId: ${e.fixId}`)}})})}});function wDe(e,t){const n=Os(e,t);return Oa(n.parent,Ri)}function EDe(e,t,n,s,l){const f=eh(e),d=n.program.getTypeChecker(),g=d.getTypeAtLocation(f),h=d.getPropertiesOfType(g).filter(got),k=ok(t,n.program,l,n.host);Ile(e,h,t,n,l,k,S=>s.insertMemberAtStart(t,e,S)),k.writeFixes(s)}function got(e){const t=gv(Uo(e.getDeclarations()));return!(t&8)&&!!(t&256)}var tle,U$,yot=p({"src/services/codefixes/fixClassDoesntImplementInheritedAbstractMember.ts"(){Si(),Ga(),tle=[v.Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2.code,v.Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1.code],U$="fixClassDoesntImplementInheritedAbstractMember",Ua({errorCodes:tle,getCodeActions:function(t){const{sourceFile:n,span:s}=t,l=Jn.ChangeTracker.with(t,f=>EDe(wDe(n,s.start),n,t,f,t.preferences));return l.length===0?void 0:[Na(U$,l,v.Implement_inherited_abstract_class,U$,v.Implement_all_inherited_abstract_classes)]},fixIds:[U$],getAllCodeActions:function(t){const n=new Map;return oc(t,tle,(s,l)=>{const f=wDe(l.file,l.start);Tm(n,Wo(f))&&EDe(f,t.sourceFile,t,s,t.preferences)})}})}});function ADe(e,t,n,s){e.insertNodeAtConstructorStart(t,n,s),e.delete(t,s)}function PDe(e,t){const n=Os(e,t);if(n.kind!==108)return;const s=Pp(n),l=DDe(s.body);return l&&!l.expression.arguments.some(f=>oi(f)&&f.expression===n)?{constructor:s,superCall:l}:void 0}function DDe(e){return Gu(e)&&N6(e.expression)?e:Sa(e)?void 0:ca(e,DDe)}var z$,rle,vot=p({"src/services/codefixes/fixClassSuperMustPrecedeThisAccess.ts"(){Si(),Ga(),z$="classSuperMustPrecedeThisAccess",rle=[v.super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class.code],Ua({errorCodes:rle,getCodeActions(e){const{sourceFile:t,span:n}=e,s=PDe(t,n.start);if(!s)return;const{constructor:l,superCall:f}=s,d=Jn.ChangeTracker.with(e,g=>ADe(g,t,l,f));return[Na(z$,d,v.Make_super_call_the_first_statement_in_the_constructor,z$,v.Make_all_super_calls_the_first_statement_in_their_constructor)]},fixIds:[z$],getAllCodeActions(e){const{sourceFile:t}=e,n=new Map;return oc(e,rle,(s,l)=>{const f=PDe(l.file,l.start);if(!f)return;const{constructor:d,superCall:g}=f;Tm(n,Wo(d.parent))&&ADe(s,t,d,g)})}})}});function NDe(e,t){const n=Os(e,t);return R.assert(Al(n.parent),"token should be at the constructor declaration"),n.parent}function IDe(e,t,n){const s=J.createExpressionStatement(J.createCallExpression(J.createSuper(),void 0,pt));e.insertNodeAtConstructorStart(t,n,s)}var V$,nle,bot=p({"src/services/codefixes/fixConstructorForDerivedNeedSuperCall.ts"(){Si(),Ga(),V$="constructorForDerivedNeedSuperCall",nle=[v.Constructors_for_derived_classes_must_contain_a_super_call.code],Ua({errorCodes:nle,getCodeActions(e){const{sourceFile:t,span:n}=e,s=NDe(t,n.start),l=Jn.ChangeTracker.with(e,f=>IDe(f,t,s));return[Na(V$,l,v.Add_missing_super_call,V$,v.Add_all_missing_super_calls)]},fixIds:[V$],getAllCodeActions:e=>oc(e,nle,(t,n)=>IDe(t,e.sourceFile,NDe(n.file,n.start)))})}});function ODe(e,t){Rle(e,t,"jsx",J.createStringLiteral("react"))}var ile,sle,Tot=p({"src/services/codefixes/fixEnableJsxFlag.ts"(){Si(),Ga(),ile="fixEnableJsxFlag",sle=[v.Cannot_use_JSX_unless_the_jsx_flag_is_provided.code],Ua({errorCodes:sle,getCodeActions:function(t){const{configFile:n}=t.program.getCompilerOptions();if(n===void 0)return;const s=Jn.ChangeTracker.with(t,l=>ODe(l,n));return[Em(ile,s,v.Enable_the_jsx_flag_in_your_configuration_file)]},fixIds:[ile],getAllCodeActions:e=>oc(e,sle,t=>{const{configFile:n}=e.program.getCompilerOptions();n!==void 0&&ODe(t,n)})})}});function LDe(e,t,n){const s=He(e.getSemanticDiagnostics(t),d=>d.start===n.start&&d.length===n.length);if(s===void 0||s.relatedInformation===void 0)return;const l=He(s.relatedInformation,d=>d.code===v.Did_you_mean_0.code);if(l===void 0||l.file===void 0||l.start===void 0||l.length===void 0)return;const f=jle(l.file,hu(l.start,l.length));if(f!==void 0&&Dt(f)&&$n(f.parent))return{suggestion:Sot(l.messageText),expression:f.parent,arg:f}}function MDe(e,t,n,s){const l=J.createCallExpression(J.createPropertyAccessExpression(J.createIdentifier("Number"),J.createIdentifier("isNaN")),void 0,[n]),f=s.operatorToken.kind;e.replaceNode(t,s,f===37||f===35?J.createPrefixUnaryExpression(53,l):l)}function Sot(e){const[t,n]=Av(e,`
`,0).match(/\'(.*)\'/)||[];return n}var $$,ale,xot=p({"src/services/codefixes/fixNaNEquality.ts"(){Si(),Ga(),$$="fixNaNEquality",ale=[v.This_condition_will_always_return_0.code],Ua({errorCodes:ale,getCodeActions(e){const{sourceFile:t,span:n,program:s}=e,l=LDe(s,t,n);if(l===void 0)return;const{suggestion:f,expression:d,arg:g}=l,h=Jn.ChangeTracker.with(e,k=>MDe(k,t,g,d));return[Na($$,h,[v.Use_0,f],$$,v.Use_Number_isNaN_in_all_conditions)]},fixIds:[$$],getAllCodeActions:e=>oc(e,ale,(t,n)=>{const s=LDe(e.program,n.file,hu(n.start,n.length));s&&MDe(t,n.file,s.arg,s.expression)})})}}),kot=p({"src/services/codefixes/fixModuleAndTargetOptions.ts"(){Si(),Ga(),Ua({errorCodes:[v.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code,v.Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher.code],getCodeActions:function(t){const n=t.program.getCompilerOptions(),{configFile:s}=n;if(s===void 0)return;const l=[],f=Hu(n);if(f>=5&&f<99){const k=Jn.ChangeTracker.with(t,S=>{Rle(S,s,"module",J.createStringLiteral("esnext"))});l.push(Em("fixModuleOption",k,[v.Set_the_module_option_in_your_configuration_file_to_0,"esnext"]))}const g=Io(n);if(g<4||g>99){const k=Jn.ChangeTracker.with(t,S=>{if(!uP(s))return;const N=[["target",J.createStringLiteral("es2017")]];f===1&&N.push(["module",J.createStringLiteral("commonjs")]),Fle(S,s,N)});l.push(Em("fixTargetOption",k,[v.Set_the_target_option_in_your_configuration_file_to_0,"es2017"]))}return l.length?l:void 0}})}});function FDe(e,t,n){e.replaceNode(t,n,J.createPropertyAssignment(n.name,n.objectAssignmentInitializer))}function RDe(e,t){return Oa(Os(e,t).parent,id)}var q$,ole,Cot=p({"src/services/codefixes/fixPropertyAssignment.ts"(){Si(),Ga(),q$="fixPropertyAssignment",ole=[v.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],Ua({errorCodes:ole,fixIds:[q$],getCodeActions(e){const{sourceFile:t,span:n}=e,s=RDe(t,n.start),l=Jn.ChangeTracker.with(e,f=>FDe(f,e.sourceFile,s));return[Na(q$,l,[v.Change_0_to_1,"=",":"],q$,[v.Switch_each_misused_0_to_1,"=",":"])]},getAllCodeActions:e=>oc(e,ole,(t,n)=>FDe(t,n.file,RDe(n.file,n.start)))})}});function BDe(e,t){const n=Os(e,t),s=uu(n).heritageClauses,l=s[0].getFirstToken();return l.kind===94?{extendsToken:l,heritageClauses:s}:void 0}function jDe(e,t,n,s){if(e.replaceNode(t,n,J.createToken(117)),s.length===2&&s[0].token===94&&s[1].token===117){const l=s[1].getFirstToken(),f=l.getFullStart();e.replaceRange(t,{pos:f,end:f},J.createToken(27));const d=t.text;let g=l.end;for(;g<d.length&&zh(d.charCodeAt(g));)g++;e.deleteRange(t,{pos:l.getStart(),end:g})}}var W$,cle,wot=p({"src/services/codefixes/fixExtendsInterfaceBecomesImplements.ts"(){Si(),Ga(),W$="extendsInterfaceBecomesImplements",cle=[v.Cannot_extend_an_interface_0_Did_you_mean_implements.code],Ua({errorCodes:cle,getCodeActions(e){const{sourceFile:t}=e,n=BDe(t,e.span.start);if(!n)return;const{extendsToken:s,heritageClauses:l}=n,f=Jn.ChangeTracker.with(e,d=>jDe(d,t,s,l));return[Na(W$,f,v.Change_extends_to_implements,W$,v.Change_all_extended_interfaces_to_implements)]},fixIds:[W$],getAllCodeActions:e=>oc(e,cle,(t,n)=>{const s=BDe(n.file,n.start);s&&jDe(t,n.file,s.extendsToken,s.heritageClauses)})})}});function JDe(e,t,n){const s=Os(e,t);if(Ye(s)||as(s))return{node:s,className:n===lle?uu(s).name.text:void 0}}function UDe(e,t,{node:n,className:s}){V_(n),e.replaceNode(t,n,J.createPropertyAccessExpression(s?J.createIdentifier(s):J.createThis(),n))}var H$,lle,ule,Eot=p({"src/services/codefixes/fixForgottenThisPropertyAccess.ts"(){Si(),Ga(),H$="forgottenThisPropertyAccess",lle=v.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,ule=[v.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,v.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression.code,lle],Ua({errorCodes:ule,getCodeActions(e){const{sourceFile:t}=e,n=JDe(t,e.span.start,e.errorCode);if(!n)return;const s=Jn.ChangeTracker.with(e,l=>UDe(l,t,n));return[Na(H$,s,[v.Add_0_to_unresolved_variable,n.className||"this"],H$,v.Add_qualifier_to_all_unresolved_variables_matching_a_member_name)]},fixIds:[H$],getAllCodeActions:e=>oc(e,ule,(t,n)=>{const s=JDe(n.file,n.start,n.code);s&&UDe(t,e.sourceFile,s)})})}});function Aot(e){return mc(ple,e)}function fle(e,t,n,s,l){const f=n.getText()[s];if(!Aot(f))return;const d=l?ple[f]:`{${$D(n,t,f)}}`;e.replaceRangeWithText(n,{pos:s,end:s+1},d)}var G$,Z9,_le,ple,Pot=p({"src/services/codefixes/fixInvalidJsxCharacters.ts"(){Si(),Ga(),G$="fixInvalidJsxCharacters_expression",Z9="fixInvalidJsxCharacters_htmlEntity",_le=[v.Unexpected_token_Did_you_mean_or_gt.code,v.Unexpected_token_Did_you_mean_or_rbrace.code],Ua({errorCodes:_le,fixIds:[G$,Z9],getCodeActions(e){const{sourceFile:t,preferences:n,span:s}=e,l=Jn.ChangeTracker.with(e,d=>fle(d,n,t,s.start,!1)),f=Jn.ChangeTracker.with(e,d=>fle(d,n,t,s.start,!0));return[Na(G$,l,v.Wrap_invalid_character_in_an_expression_container,G$,v.Wrap_all_invalid_characters_in_an_expression_container),Na(Z9,f,v.Convert_invalid_character_to_its_html_entity_code,Z9,v.Convert_all_invalid_characters_to_HTML_entity_code)]},getAllCodeActions(e){return oc(e,_le,(t,n)=>fle(t,e.preferences,n.file,n.start,e.fixId===Z9))}}),ple={">":"&gt;","}":"&rbrace;"}}});function Dot(e,{name:t,jsDocHost:n,jsDocParameterTag:s}){const l=Jn.ChangeTracker.with(e,f=>f.filterJSDocTags(e.sourceFile,n,d=>d!==s));return Na(K9,l,[v.Delete_unused_param_tag_0,t.getText(e.sourceFile)],K9,v.Delete_all_unused_param_tags)}function Not(e,{name:t,jsDocHost:n,signature:s,jsDocParameterTag:l}){if(!H(s.parameters))return;const f=e.sourceFile,d=fT(s),g=new Set;for(const w of d)ch(w)&&Ye(w.name)&&g.add(w.name.escapedText);const h=ze(s.parameters,w=>Ye(w.name)&&!g.has(w.name.escapedText)?w.name.getText(f):void 0);if(h===void 0)return;const k=J.updateJSDocParameterTag(l,l.tagName,J.createIdentifier(h),l.isBracketed,l.typeExpression,l.isNameFirst,l.comment),S=Jn.ChangeTracker.with(e,w=>w.replaceJSDocComment(f,n,qt(d,N=>N===l?k:N)));return Em(dle,S,[v.Rename_param_tag_name_0_to_1,t.getText(f),h])}function zDe(e,t){const n=Os(e,t);if(n.parent&&ch(n.parent)&&Ye(n.parent.name)){const s=n.parent,l=jC(s),f=jb(s);if(l&&f)return{jsDocHost:l,signature:f,name:n.parent.name,jsDocParameterTag:s}}}var K9,dle,mle,Iot=p({"src/services/codefixes/fixUnmatchedParameter.ts"(){Si(),Ga(),K9="deleteUnmatchedParameter",dle="renameUnmatchedParameter",mle=[v.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name.code],Ua({fixIds:[K9,dle],errorCodes:mle,getCodeActions:function(t){const{sourceFile:n,span:s}=t,l=[],f=zDe(n,s.start);if(f)return $r(l,Dot(t,f)),$r(l,Not(t,f)),l},getAllCodeActions:function(t){const n=new Map;return Ow(Jn.ChangeTracker.with(t,s=>{Lw(t,mle,({file:l,start:f})=>{const d=zDe(l,f);d&&n.set(d.signature,$r(n.get(d.signature),d.jsDocParameterTag))}),n.forEach((l,f)=>{if(t.fixId===K9){const d=new Set(l);s.filterJSDocTags(f.getSourceFile(),f,g=>!d.has(g))}})}))}})}});function Oot(e,t,n){const s=Pi(Os(e,n),Ye);if(!s||s.parent.kind!==180)return;const f=t.getTypeChecker().getSymbolAtLocation(s);return He((f==null?void 0:f.declarations)||pt,jh(rg,S_,Xu))}function Lot(e,t,n,s){if(n.kind===268){e.insertModifierBefore(t,154,n.name);return}const l=n.kind===270?n:n.parent.parent;if(l.name&&l.namedBindings)return;const f=s.getTypeChecker();bj(l,g=>{if(fp(g.symbol,f).flags&111551)return!0})||e.insertModifierBefore(t,154,l)}function Mot(e,t,n,s){m8.doChangeNamedToNamespaceOrDefault(t,s,e,n.parent)}var X$,VDe,Fot=p({"src/services/codefixes/fixUnreferenceableDecoratorMetadata.ts"(){Si(),Ga(),X$="fixUnreferenceableDecoratorMetadata",VDe=[v.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled.code],Ua({errorCodes:VDe,getCodeActions:e=>{const t=Oot(e.sourceFile,e.program,e.span.start);if(!t)return;const n=Jn.ChangeTracker.with(e,f=>t.kind===273&&Mot(f,e.sourceFile,t,e.program)),s=Jn.ChangeTracker.with(e,f=>Lot(f,e.sourceFile,t,e.program));let l;return n.length&&(l=$r(l,Em(X$,n,v.Convert_named_imports_to_namespace_import))),s.length&&(l=$r(l,Em(X$,s,v.Convert_to_type_only_import))),l},fixIds:[X$]})}});function $De(e,t,n){e.replaceNode(t,n.parent,J.createKeywordTypeNode(157))}function t8(e,t){return Na(r8,e,t,Z$,v.Delete_all_unused_declarations)}function qDe(e,t,n){e.delete(t,R.checkDefined(Oa(n.parent,zK).typeParameters,"The type parameter to delete should exist"))}function hle(e){return e.kind===100||e.kind===79&&(e.parent.kind===273||e.parent.kind===270)}function WDe(e){return e.kind===100?Pi(e.parent,Nu):void 0}function HDe(e,t){return Of(t.parent)&&Uo(t.parent.getChildren(e))===t}function GDe(e,t,n){e.delete(t,n.parent.kind===240?n.parent:n)}function Rot(e,t,n){Q(n.elements,s=>e.delete(t,s))}function XDe(e,t,n,s){t!==v.Property_0_is_declared_but_its_value_is_never_read.code&&(s.kind===138&&(s=Oa(s.parent,d4).typeParameter.name),Ye(s)&&Bot(s)&&(e.replaceNode(n,s,J.createIdentifier(`_${s.text}`)),ua(s.parent)&&GA(s.parent).forEach(l=>{Ye(l.name)&&e.replaceNode(n,l.name,J.createIdentifier(`_${l.name.text}`))})))}function Bot(e){switch(e.parent.kind){case 166:case 165:return!0;case 257:switch(e.parent.parent.parent.kind){case 247:case 246:return!0}}return!1}function Q$(e,t,n,s,l,f,d,g){jot(t,n,e,s,l,f,d,g),Ye(t)&&Wc.Core.eachSymbolReferenceInFile(t,s,e,h=>{oi(h.parent)&&h.parent.name===h&&(h=h.parent),!g&&Vot(h)&&n.delete(e,h.parent.parent)})}function jot(e,t,n,s,l,f,d,g){const{parent:h}=e;if(ua(h))Jot(t,n,h,s,l,f,d,g);else if(!(g&&Ye(e)&&Wc.Core.isSymbolReferencedInFile(e,s,n))){const k=rg(h)?e:ac(h)?h.parent:h;R.assert(k!==n,"should not delete whole source file"),t.delete(n,k)}}function Jot(e,t,n,s,l,f,d,g=!1){if(Uot(s,t,n,l,f,d,g))if(n.modifiers&&n.modifiers.length>0&&(!Ye(n.name)||Wc.Core.isSymbolReferencedInFile(n.name,s,t)))for(const h of n.modifiers)ja(h)&&e.deleteModifier(t,h);else!n.initializer&&QDe(n,s,l)&&e.delete(t,n)}function QDe(e,t,n){const s=e.parent.parameters.indexOf(e);return!Wc.Core.someSignatureUsage(e.parent,n,t,(l,f)=>!f||f.arguments.length>s)}function Uot(e,t,n,s,l,f,d){const{parent:g}=n;switch(g.kind){case 171:case 173:const h=g.parameters.indexOf(n),k=zl(g)?g.name:g,S=Wc.Core.getReferencedSymbolsForNode(g.pos,k,l,s,f);if(S){for(const w of S)for(const N of w.references)if(N.kind===Wc.EntryKind.Node){const O=ZP(N.node)&&Da(N.node.parent)&&N.node.parent.arguments.length>h,L=oi(N.node.parent)&&ZP(N.node.parent.expression)&&Da(N.node.parent.parent)&&N.node.parent.parent.arguments.length>h,U=(zl(N.node.parent)||zg(N.node.parent))&&N.node.parent!==n.parent&&N.node.parent.parameters.length>h;if(O||L||U)return!1}}return!0;case 259:return g.name&&zot(e,t,g.name)?YDe(g,n,d):!0;case 215:case 216:return YDe(g,n,d);case 175:return!1;case 174:return!0;default:return R.failBadSyntaxKind(g)}}function zot(e,t,n){return!!Wc.Core.eachSymbolReferenceInFile(n,e,t,s=>Ye(s)&&Da(s.parent)&&s.parent.arguments.indexOf(s)>=0)}function YDe(e,t,n){const s=e.parameters,l=s.indexOf(t);return R.assert(l!==-1,"The parameter should already be in the list"),n?s.slice(l+1).every(f=>Ye(f.name)&&!f.symbol.isReferenced):l===s.length-1}function Vot(e){return($n(e.parent)&&e.parent.left===e||(are(e.parent)||Sv(e.parent))&&e.parent.operand===e)&&Gu(e.parent.parent)}var r8,Y$,Z$,eL,K$,gle,$ot=p({"src/services/codefixes/fixUnusedIdentifier.ts"(){Si(),Ga(),r8="unusedIdentifier",Y$="unusedIdentifier_prefix",Z$="unusedIdentifier_delete",eL="unusedIdentifier_deleteImports",K$="unusedIdentifier_infer",gle=[v._0_is_declared_but_its_value_is_never_read.code,v._0_is_declared_but_never_used.code,v.Property_0_is_declared_but_its_value_is_never_read.code,v.All_imports_in_import_declaration_are_unused.code,v.All_destructured_elements_are_unused.code,v.All_variables_are_unused.code,v.All_type_parameters_are_unused.code],Ua({errorCodes:gle,getCodeActions(e){const{errorCode:t,sourceFile:n,program:s,cancellationToken:l}=e,f=s.getTypeChecker(),d=s.getSourceFiles(),g=Os(n,e.span.start);if(xm(g))return[t8(Jn.ChangeTracker.with(e,w=>w.delete(n,g)),v.Remove_template_tag)];if(g.kind===29){const w=Jn.ChangeTracker.with(e,N=>qDe(N,n,g));return[t8(w,v.Remove_type_parameters)]}const h=WDe(g);if(h){const w=Jn.ChangeTracker.with(e,N=>N.delete(n,h));return[Na(r8,w,[v.Remove_import_from_0,bTe(h)],eL,v.Delete_all_unused_imports)]}else if(hle(g)){const w=Jn.ChangeTracker.with(e,N=>Q$(n,g,N,f,d,s,l,!1));if(w.length)return[Na(r8,w,[v.Remove_unused_declaration_for_Colon_0,g.getText(n)],eL,v.Delete_all_unused_imports)]}if(tg(g.parent)||m4(g.parent)){if(ua(g.parent.parent)){const w=g.parent.elements,N=[w.length>1?v.Remove_unused_declarations_for_Colon_0:v.Remove_unused_declaration_for_Colon_0,qt(w,O=>O.getText(n)).join(", ")];return[t8(Jn.ChangeTracker.with(e,O=>Rot(O,n,g.parent)),N)]}return[t8(Jn.ChangeTracker.with(e,w=>w.delete(n,g.parent.parent)),v.Remove_unused_destructuring_declaration)]}if(HDe(n,g))return[t8(Jn.ChangeTracker.with(e,w=>GDe(w,n,g.parent)),v.Remove_variable_statement)];const k=[];if(g.kind===138){const w=Jn.ChangeTracker.with(e,O=>$De(O,n,g)),N=Oa(g.parent,d4).typeParameter.name.text;k.push(Na(r8,w,[v.Replace_infer_0_with_unknown,N],K$,v.Replace_all_unused_infer_with_unknown))}else{const w=Jn.ChangeTracker.with(e,N=>Q$(n,g,N,f,d,s,l,!1));if(w.length){const N=ac(g.parent)?g.parent:g;k.push(t8(w,[v.Remove_unused_declaration_for_Colon_0,N.getText(n)]))}}const S=Jn.ChangeTracker.with(e,w=>XDe(w,t,n,g));return S.length&&k.push(Na(r8,S,[v.Prefix_0_with_an_underscore,g.getText(n)],Y$,v.Prefix_all_unused_declarations_with_where_possible)),k},fixIds:[Y$,Z$,eL,K$],getAllCodeActions:e=>{const{sourceFile:t,program:n,cancellationToken:s}=e,l=n.getTypeChecker(),f=n.getSourceFiles();return oc(e,gle,(d,g)=>{const h=Os(t,g.start);switch(e.fixId){case Y$:XDe(d,g.code,t,h);break;case eL:{const k=WDe(h);k?d.delete(t,k):hle(h)&&Q$(t,h,d,l,f,n,s,!0);break}case Z$:{if(h.kind===138||hle(h))break;if(xm(h))d.delete(t,h);else if(h.kind===29)qDe(d,t,h);else if(tg(h.parent)){if(h.parent.parent.initializer)break;(!ua(h.parent.parent)||QDe(h.parent.parent,l,f))&&d.delete(t,h.parent.parent)}else{if(m4(h.parent.parent)&&h.parent.parent.parent.initializer)break;HDe(t,h)?GDe(d,t,h.parent):Q$(t,h,d,l,f,n,s,!0)}break}case K$:h.kind===138&&$De(d,t,h);break;default:R.fail(JSON.stringify(e.fixId))}})}})}});function ZDe(e,t,n,s,l){const f=Os(t,n),d=kn(f,Ks);if(d.getStart(t)!==f.getStart(t)){const h=JSON.stringify({statementKind:R.formatSyntaxKind(d.kind),tokenKind:R.formatSyntaxKind(f.kind),errorCode:l,start:n,length:s});R.fail("Token and statement should start at the same point. "+h)}const g=(Fa(d.parent)?d.parent:d).parent;if(!Fa(d.parent)||d===Uo(d.parent.statements))switch(g.kind){case 242:if(g.elseStatement){if(Fa(d.parent))break;e.replaceNode(t,d,J.createBlock(pt));return}case 244:case 245:e.delete(t,g);return}if(Fa(d.parent)){const h=n+s,k=R.checkDefined(qot(ote(d.parent.statements,d),S=>S.pos<h),"Some statement should be last");e.deleteNodeRange(t,d,k)}else e.delete(t,d)}function qot(e,t){let n;for(const s of e){if(!t(s))break;n=s}return n}var eq,yle,Wot=p({"src/services/codefixes/fixUnreachableCode.ts"(){Si(),Ga(),eq="fixUnreachableCode",yle=[v.Unreachable_code_detected.code],Ua({errorCodes:yle,getCodeActions(e){if(e.program.getSyntacticDiagnostics(e.sourceFile,e.cancellationToken).length)return;const n=Jn.ChangeTracker.with(e,s=>ZDe(s,e.sourceFile,e.span.start,e.span.length,e.errorCode));return[Na(eq,n,v.Remove_unreachable_code,eq,v.Remove_all_unreachable_code)]},fixIds:[eq],getAllCodeActions:e=>oc(e,yle,(t,n)=>ZDe(t,n.file,n.start,n.length,n.code))})}});function KDe(e,t,n){const s=Os(t,n),l=Oa(s.parent,IT),f=s.getStart(t),d=l.statement.getStart(t),g=vd(f,d,t)?d:wo(t.text,Yo(l,58,t).end,!0);e.deleteRange(t,{pos:f,end:g})}var tq,vle,Hot=p({"src/services/codefixes/fixUnusedLabel.ts"(){Si(),Ga(),tq="fixUnusedLabel",vle=[v.Unused_label.code],Ua({errorCodes:vle,getCodeActions(e){const t=Jn.ChangeTracker.with(e,n=>KDe(n,e.sourceFile,e.span.start));return[Na(tq,t,v.Remove_unused_label,tq,v.Remove_all_unused_labels)]},fixIds:[tq],getAllCodeActions:e=>oc(e,vle,(t,n)=>KDe(t,n.file,n.start))})}});function e8e(e,t,n,s,l){e.replaceNode(t,n,l.typeToTypeNode(s,n,void 0))}function t8e(e,t,n){const s=kn(Os(e,t),Got),l=s&&s.type;return l&&{typeNode:l,type:Xot(n,l)}}function Got(e){switch(e.kind){case 231:case 176:case 177:case 259:case 174:case 178:case 197:case 171:case 170:case 166:case 169:case 168:case 175:case 262:case 213:case 257:return!0;default:return!1}}function Xot(e,t){if(b4(t)){const n=e.getTypeFromTypeNode(t.type);return n===e.getNeverType()||n===e.getVoidType()?n:e.getUnionType($r([n,e.getUndefinedType()],t.postfix?void 0:e.getNullType()))}return e.getTypeFromTypeNode(t)}var ble,rq,Tle,Qot=p({"src/services/codefixes/fixJSDocTypes.ts"(){Si(),Ga(),ble="fixJSDocTypes_plain",rq="fixJSDocTypes_nullable",Tle=[v.JSDoc_types_can_only_be_used_inside_documentation_comments.code,v._0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1.code,v._0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1.code],Ua({errorCodes:Tle,getCodeActions(e){const{sourceFile:t}=e,n=e.program.getTypeChecker(),s=t8e(t,e.span.start,n);if(!s)return;const{typeNode:l,type:f}=s,d=l.getText(t),g=[h(f,ble,v.Change_all_jsdoc_style_types_to_TypeScript)];return l.kind===317&&g.push(h(f,rq,v.Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types)),g;function h(k,S,w){const N=Jn.ChangeTracker.with(e,O=>e8e(O,t,l,k,n));return Na("jdocTypes",N,[v.Change_0_to_1,d,n.typeToString(k)],S,w)}},fixIds:[ble,rq],getAllCodeActions(e){const{fixId:t,program:n,sourceFile:s}=e,l=n.getTypeChecker();return oc(e,Tle,(f,d)=>{const g=t8e(d.file,d.start,l);if(!g)return;const{typeNode:h,type:k}=g,S=h.kind===317&&t===rq?l.getNullableType(k,32768):k;e8e(f,s,h,S,l)})}})}});function r8e(e,t,n){e.replaceNodeWithText(t,n,`${n.text}()`)}function n8e(e,t){const n=Os(e,t);if(oi(n.parent)){let s=n.parent;for(;oi(s.parent);)s=s.parent;return s.name}if(Ye(n))return n}var nq,Sle,Yot=p({"src/services/codefixes/fixMissingCallParentheses.ts"(){Si(),Ga(),nq="fixMissingCallParentheses",Sle=[v.This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead.code],Ua({errorCodes:Sle,fixIds:[nq],getCodeActions(e){const{sourceFile:t,span:n}=e,s=n8e(t,n.start);if(!s)return;const l=Jn.ChangeTracker.with(e,f=>r8e(f,e.sourceFile,s));return[Na(nq,l,v.Add_missing_call_parentheses,nq,v.Add_all_missing_call_parentheses)]},getAllCodeActions:e=>oc(e,Sle,(t,n)=>{const s=n8e(n.file,n.start);s&&r8e(t,n.file,s)})})}});function Zot(e){if(e.type)return e.type;if(xs(e.parent)&&e.parent.type&&Vg(e.parent.type))return e.parent.type.type}function i8e(e,t){const n=Os(e,t),s=Pp(n);if(!s)return;let l;switch(s.kind){case 171:l=s.name;break;case 259:case 215:l=Yo(s,98,e);break;case 216:const f=s.typeParameters?29:20;l=Yo(s,f,e)||Uo(s.parameters);break;default:return}return l&&{insertBefore:l,returnType:Zot(s)}}function s8e(e,t,{insertBefore:n,returnType:s}){if(s){const l=M7(s);(!l||l.kind!==79||l.text!=="Promise")&&e.replaceNode(t,s,J.createTypeReferenceNode("Promise",J.createNodeArray([s])))}e.insertModifierBefore(t,132,n)}var iq,xle,Kot=p({"src/services/codefixes/fixAwaitInSyncFunction.ts"(){Si(),Ga(),iq="fixAwaitInSyncFunction",xle=[v.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,v.for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules.code,v.Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function.code],Ua({errorCodes:xle,getCodeActions(e){const{sourceFile:t,span:n}=e,s=i8e(t,n.start);if(!s)return;const l=Jn.ChangeTracker.with(e,f=>s8e(f,t,s));return[Na(iq,l,v.Add_async_modifier_to_containing_function,iq,v.Add_all_missing_async_modifiers)]},fixIds:[iq],getAllCodeActions:function(t){const n=new Map;return oc(t,xle,(s,l)=>{const f=i8e(l.file,l.start);!f||!Tm(n,Wo(f.insertBefore))||s8e(s,t.sourceFile,f)})}})}});function a8e(e,t,n,s,l){let f,d;if(s===v._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code)f=t,d=t+n;else if(s===v._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code){const g=l.program.getTypeChecker(),h=Os(e,t).parent;R.assert(Mb(h),"error span of fixPropertyOverrideAccessor should only be on an accessor");const k=h.parent;R.assert(Ri(k),"erroneous accessors should only be inside classes");const S=Fh(Ule(k,g));if(!S)return[];const w=Ds(P6(h.name)),N=g.getPropertyOfType(g.getTypeAtLocation(S),w);if(!N||!N.valueDeclaration)return[];f=N.valueDeclaration.pos,d=N.valueDeclaration.end,e=bn(N.valueDeclaration)}else R.fail("fixPropertyOverrideAccessor codefix got unexpected error code "+s);return T8e(e,l.program,f,d,l,v.Generate_get_and_set_accessors.message)}var kle,sq,ect=p({"src/services/codefixes/fixPropertyOverrideAccessor.ts"(){Si(),Ga(),kle=[v._0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property.code,v._0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor.code],sq="fixPropertyOverrideAccessor",Ua({errorCodes:kle,getCodeActions(e){const t=a8e(e.sourceFile,e.span.start,e.span.length,e.errorCode,e);if(t)return[Na(sq,t,v.Generate_get_and_set_accessors,sq,v.Generate_get_and_set_accessors_for_all_overriding_properties)]},fixIds:[sq],getAllCodeActions:e=>oc(e,kle,(t,n)=>{const s=a8e(n.file,n.start,n.length,n.code,e);if(s)for(const l of s)t.pushRaw(e.sourceFile,l)})})}});function tct(e,t){switch(e){case v.Parameter_0_implicitly_has_an_1_type.code:case v.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return nd(Pp(t))?v.Infer_type_of_0_from_usage:v.Infer_parameter_types_from_usage;case v.Rest_parameter_0_implicitly_has_an_any_type.code:case v.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return v.Infer_parameter_types_from_usage;case v.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:return v.Infer_this_type_of_0_from_usage;default:return v.Infer_type_of_0_from_usage}}function rct(e){switch(e){case v.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code:return v.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code;case v.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return v.Variable_0_implicitly_has_an_1_type.code;case v.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return v.Parameter_0_implicitly_has_an_1_type.code;case v.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code:return v.Rest_parameter_0_implicitly_has_an_any_type.code;case v.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code:return v.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code;case v._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code:return v._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code;case v.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code:return v.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code;case v.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code:return v.Member_0_implicitly_has_an_1_type.code}return e}function o8e(e,t,n,s,l,f,d,g,h){if(!eP(n.kind)&&n.kind!==79&&n.kind!==25&&n.kind!==108)return;const{parent:k}=n,S=ok(t,l,h,g);switch(s=rct(s),s){case v.Member_0_implicitly_has_an_1_type.code:case v.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code:if(xs(k)&&d(k)||Pa(k)||Np(k))return c8e(e,S,t,k,l,g,f),S.writeFixes(e),k;if(oi(k)){const O=n8(k.name,l,f),L=qD(O,k,l,g);if(L){const U=J.createJSDocTypeTag(void 0,J.createJSDocTypeExpression(L),void 0);e.addJSDocTags(t,Oa(k.parent.parent,Gu),[U])}return S.writeFixes(e),k}return;case v.Variable_0_implicitly_has_an_1_type.code:{const O=l.getTypeChecker().getSymbolAtLocation(n);return O&&O.valueDeclaration&&xs(O.valueDeclaration)&&d(O.valueDeclaration)?(c8e(e,S,bn(O.valueDeclaration),O.valueDeclaration,l,g,f),S.writeFixes(e),O.valueDeclaration):void 0}}const w=Pp(n);if(w===void 0)return;let N;switch(s){case v.Parameter_0_implicitly_has_an_1_type.code:if(nd(w)){l8e(e,S,t,w,l,g,f),N=w;break}case v.Rest_parameter_0_implicitly_has_an_any_type.code:if(d(w)){const O=Oa(k,ua);nct(e,S,t,O,w,l,g,f),N=O}break;case v.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code:case v._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code:Hd(w)&&Ye(w.name)&&(aq(e,S,t,w,n8(w.name,l,f),l,g),N=w);break;case v.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code:nd(w)&&(l8e(e,S,t,w,l,g,f),N=w);break;case v.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code:Jn.isThisTypeAnnotatable(w)&&d(w)&&(ict(e,t,w,l,g,f),N=w);break;default:return R.fail(String(s))}return S.writeFixes(e),N}function c8e(e,t,n,s,l,f,d){Ye(s.name)&&aq(e,t,n,s,n8(s.name,l,d),l,f)}function nct(e,t,n,s,l,f,d,g){if(!Ye(s.name))return;const h=oct(l,n,f,g);if(R.assert(l.parameters.length===h.length,"Parameter count and inference count should match"),Mn(l))u8e(e,n,h,f,d);else{const k=Ac(l)&&!Yo(l,20,n);k&&e.insertNodeBefore(n,Uo(l.parameters),J.createToken(20));for(const{declaration:S,type:w}of h)S&&!S.type&&!S.initializer&&aq(e,t,n,S,w,f,d);k&&e.insertNodeAfter(n,ko(l.parameters),J.createToken(21))}}function ict(e,t,n,s,l,f){const d=f8e(n,t,s,f);if(!d||!d.length)return;const g=wle(s,d,f).thisParameter(),h=qD(g,n,s,l);h&&(Mn(n)?sct(e,t,n,h):e.tryInsertThisTypeAnnotation(t,n,h))}function sct(e,t,n,s){e.addJSDocTags(t,n,[J.createJSDocThisTag(void 0,J.createJSDocTypeExpression(s))])}function l8e(e,t,n,s,l,f,d){const g=Ru(s.parameters);if(g&&Ye(s.name)&&Ye(g.name)){let h=n8(s.name,l,d);h===l.getTypeChecker().getAnyType()&&(h=n8(g.name,l,d)),Mn(s)?u8e(e,n,[{declaration:g,type:h}],l,f):aq(e,t,n,g,h,l,f)}}function aq(e,t,n,s,l,f,d){const g=qD(l,s,f,d);if(g)if(Mn(n)&&s.kind!==168){const h=xs(s)?Pi(s.parent.parent,Xl):s;if(!h)return;const k=J.createJSDocTypeExpression(g),S=Hd(s)?J.createJSDocReturnTag(void 0,k,void 0):J.createJSDocTypeTag(void 0,k,void 0);e.addJSDocTags(n,h,[S])}else act(g,s,n,e,t,Io(f.getCompilerOptions()))||e.tryInsertTypeAnnotation(n,s,g)}function act(e,t,n,s,l,f){const d=lk(e,f);return d&&s.tryInsertTypeAnnotation(n,t,d.typeNode)?(Q(d.symbols,g=>l.addImportFromExportedSymbol(g,!0)),!0):!1}function u8e(e,t,n,s,l){const f=n.length&&n[0].declaration.parent;if(!f)return;const d=fr(n,g=>{const h=g.declaration;if(h.initializer||cv(h)||!Ye(h.name))return;const k=g.type&&qD(g.type,h,s,l);if(k){const S=J.cloneNode(h.name);return Pn(S,7168),{name:J.cloneNode(h.name),param:h,isOptional:!!g.isOptional,typeNode:k}}});if(d.length)if(Ac(f)||yc(f)){const g=Ac(f)&&!Yo(f,20,t);g&&e.insertNodeBefore(t,Uo(f.parameters),J.createToken(20)),Q(d,({typeNode:h,param:k})=>{const S=J.createJSDocTypeTag(void 0,J.createJSDocTypeExpression(h)),w=J.createJSDocComment(void 0,[S]);e.insertNodeAt(t,k.getStart(t),w,{suffix:" "})}),g&&e.insertNodeAfter(t,ko(f.parameters),J.createToken(21))}else{const g=qt(d,({name:h,typeNode:k,isOptional:S})=>J.createJSDocParameterTag(void 0,h,!!S,J.createJSDocTypeExpression(k),!1,void 0));e.addJSDocTags(t,f,g)}}function Cle(e,t,n){return fr(Wc.getReferenceEntriesForNode(-1,e,t,t.getSourceFiles(),n),s=>s.kind!==Wc.EntryKind.Span?Pi(s.node,Ye):void 0)}function n8(e,t,n){const s=Cle(e,t,n);return wle(t,s,n).single()}function oct(e,t,n,s){const l=f8e(e,t,n,s);return l&&wle(n,l,s).parameters(e)||e.parameters.map(f=>({declaration:f,type:Ye(f.name)?n8(f.name,n,s):n.getTypeChecker().getAnyType()}))}function f8e(e,t,n,s){let l;switch(e.kind){case 173:l=Yo(e,135,t);break;case 216:case 215:const f=e.parent;l=(xs(f)||Pa(f))&&Ye(f.name)?f.name:e.name;break;case 259:case 171:case 170:l=e.name;break}if(l)return Cle(l,n,s)}function wle(e,t,n){const s=e.getTypeChecker(),l={string:()=>s.getStringType(),number:()=>s.getNumberType(),Array:Je=>s.createArrayType(Je),Promise:Je=>s.createPromiseType(Je)},f=[s.getStringType(),s.getNumberType(),s.createArrayType(s.getAnyType()),s.createPromiseType(s.getAnyType())];return{single:h,parameters:k,thisParameter:S};function d(){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 g(Je){const qe=new Map;for(const Ke of Je)Ke.properties&&Ke.properties.forEach((We,gt)=>{qe.has(gt)||qe.set(gt,[]),qe.get(gt).push(We)});const st=new Map;return qe.forEach((Ke,We)=>{st.set(We,g(Ke))}),{isNumber:Je.some(Ke=>Ke.isNumber),isString:Je.some(Ke=>Ke.isString),isNumberOrString:Je.some(Ke=>Ke.isNumberOrString),candidateTypes:mn(Je,Ke=>Ke.candidateTypes),properties:st,calls:mn(Je,Ke=>Ke.calls),constructs:mn(Je,Ke=>Ke.constructs),numberIndex:Q(Je,Ke=>Ke.numberIndex),stringIndex:Q(Je,Ke=>Ke.stringIndex),candidateThisTypes:mn(Je,Ke=>Ke.candidateThisTypes),inferredTypes:void 0}}function h(){return fe(w(t))}function k(Je){if(t.length===0||!Je.parameters)return;const qe=d();for(const Ke of t)n.throwIfCancellationRequested(),N(Ke,qe);const st=[...qe.constructs||[],...qe.calls||[]];return Je.parameters.map((Ke,We)=>{const gt=[],jt=Lg(Ke);let It=!1;for(const ft of st)if(ft.argumentTypes.length<=We)It=Mn(Je),gt.push(s.getUndefinedType());else if(jt)for(let mt=We;mt<ft.argumentTypes.length;mt++)gt.push(s.getBaseTypeOfLiteralType(ft.argumentTypes[mt]));else gt.push(s.getBaseTypeOfLiteralType(ft.argumentTypes[We]));if(Ye(Ke.name)){const ft=w(Cle(Ke.name,e,n));gt.push(...jt?fr(ft,s.getElementTypeOfArrayType):ft)}const er=fe(gt);return{type:jt?s.createArrayType(er):er,isOptional:It&&!jt,declaration:Ke}})}function S(){const Je=d();for(const qe of t)n.throwIfCancellationRequested(),N(qe,Je);return fe(Je.candidateThisTypes||pt)}function w(Je){const qe=d();for(const st of Je)n.throwIfCancellationRequested(),N(st,qe);return _e(qe)}function N(Je,qe){for(;EP(Je);)Je=Je.parent;switch(Je.parent.kind){case 241:L(Je,qe);break;case 222:qe.isNumber=!0;break;case 221:U(Je.parent,qe);break;case 223:M(Je,Je.parent,qe);break;case 292:case 293:W(Je.parent,qe);break;case 210:case 211:Je.parent.expression===Je?X(Je.parent,qe):O(Je,qe);break;case 208:Z(Je.parent,qe);break;case 209:ue(Je.parent,Je,qe);break;case 299:case 300:ie(Je.parent,qe);break;case 169:se(Je.parent,qe);break;case 257:{const{name:st,initializer:Ke}=Je.parent;if(Je===st){Ke&&Ge(qe,s.getTypeAtLocation(Ke));break}}default:return O(Je,qe)}}function O(Je,qe){Fy(Je)&&Ge(qe,s.getContextualType(Je))}function L(Je,qe){Ge(qe,Da(Je)?s.getVoidType():s.getAnyType())}function U(Je,qe){switch(Je.operator){case 45:case 46:case 40:case 54:qe.isNumber=!0;break;case 39:qe.isNumberOrString=!0;break}}function M(Je,qe,st){switch(qe.operatorToken.kind){case 42:case 41:case 43:case 44:case 47:case 48:case 49:case 50:case 51:case 52:case 65:case 67:case 66:case 68:case 69:case 73:case 74:case 78:case 70:case 72:case 71:case 40:case 29:case 32:case 31:case 33:const Ke=s.getTypeAtLocation(qe.left===Je?qe.right:qe.left);Ke.flags&1056?Ge(st,Ke):st.isNumber=!0;break;case 64:case 39:const We=s.getTypeAtLocation(qe.left===Je?qe.right:qe.left);We.flags&1056?Ge(st,We):We.flags&296?st.isNumber=!0:We.flags&402653316?st.isString=!0:We.flags&1||(st.isNumberOrString=!0);break;case 63:case 34:case 36:case 37:case 35:Ge(st,s.getTypeAtLocation(qe.left===Je?qe.right:qe.left));break;case 101:Je===qe.left&&(st.isString=!0);break;case 56:case 60:Je===qe.left&&(Je.parent.parent.kind===257||Xf(Je.parent.parent,!0))&&Ge(st,s.getTypeAtLocation(qe.right));break}}function W(Je,qe){Ge(qe,s.getTypeAtLocation(Je.parent.parent.expression))}function X(Je,qe){const st={argumentTypes:[],return_:d()};if(Je.arguments)for(const Ke of Je.arguments)st.argumentTypes.push(s.getTypeAtLocation(Ke));N(Je,st.return_),Je.kind===210?(qe.calls||(qe.calls=[])).push(st):(qe.constructs||(qe.constructs=[])).push(st)}function Z(Je,qe){const st=Vc(Je.name.text);qe.properties||(qe.properties=new Map);const Ke=qe.properties.get(st)||d();N(Je,Ke),qe.properties.set(st,Ke)}function ue(Je,qe,st){if(qe===Je.argumentExpression){st.isNumberOrString=!0;return}else{const Ke=s.getTypeAtLocation(Je.argumentExpression),We=d();N(Je,We),Ke.flags&296?st.numberIndex=We:st.stringIndex=We}}function ie(Je,qe){const st=xs(Je.parent.parent)?Je.parent.parent:Je.parent;tt(qe,s.getTypeAtLocation(st))}function se(Je,qe){tt(qe,s.getTypeAtLocation(Je.parent))}function V(Je,qe){const st=[];for(const Ke of Je)for(const{high:We,low:gt}of qe)We(Ke)&&(R.assert(!gt(Ke),"Priority can't have both low and high"),st.push(gt));return Je.filter(Ke=>st.every(We=>!We(Ke)))}function ve(Je){return fe(_e(Je))}function fe(Je){if(!Je.length)return s.getAnyType();const qe=s.getUnionType([s.getStringType(),s.getNumberType()]);let Ke=V(Je,[{high:gt=>gt===s.getStringType()||gt===s.getNumberType(),low:gt=>gt===qe},{high:gt=>!(gt.flags&16385),low:gt=>!!(gt.flags&16385)},{high:gt=>!(gt.flags&114689)&&!(Ci(gt)&16),low:gt=>!!(Ci(gt)&16)}]);const We=Ke.filter(gt=>Ci(gt)&16);return We.length&&(Ke=Ke.filter(gt=>!(Ci(gt)&16)),Ke.push(Ce(We))),s.getWidenedType(s.getUnionType(Ke.map(s.getBaseTypeOfLiteralType),2))}function Ce(Je){if(Je.length===1)return Je[0];const qe=[],st=[],Ke=[],We=[];let gt=!1,jt=!1;const It=dd();for(const mt of Je){for(const rn of s.getPropertiesOfType(mt))It.add(rn.name,rn.valueDeclaration?s.getTypeOfSymbolAtLocation(rn,rn.valueDeclaration):s.getAnyType());qe.push(...s.getSignaturesOfType(mt,0)),st.push(...s.getSignaturesOfType(mt,1));const xr=s.getIndexInfoOfType(mt,0);xr&&(Ke.push(xr.type),gt=gt||xr.isReadonly);const dr=s.getIndexInfoOfType(mt,1);dr&&(We.push(dr.type),jt=jt||dr.isReadonly)}const er=or(It,(mt,xr)=>{const dr=xr.length<Je.length?16777216:0,rn=s.createSymbol(4|dr,mt);return rn.links.type=s.getUnionType(xr),[mt,rn]}),ft=[];return Ke.length&&ft.push(s.createIndexInfo(s.getStringType(),s.getUnionType(Ke),gt)),We.length&&ft.push(s.createIndexInfo(s.getNumberType(),s.getUnionType(We),jt)),s.createAnonymousType(Je[0].symbol,er,qe,st,ft)}function _e(Je){var qe,st,Ke;const We=[];Je.isNumber&&We.push(s.getNumberType()),Je.isString&&We.push(s.getStringType()),Je.isNumberOrString&&We.push(s.getUnionType([s.getStringType(),s.getNumberType()])),Je.numberIndex&&We.push(s.createArrayType(ve(Je.numberIndex))),((qe=Je.properties)!=null&&qe.size||(st=Je.constructs)!=null&&st.length||Je.stringIndex)&&We.push(K(Je));const gt=(Je.candidateTypes||[]).map(It=>s.getBaseTypeOfLiteralType(It)),jt=(Ke=Je.calls)!=null&&Ke.length?K(Je):void 0;return jt&&gt?We.push(s.getUnionType([jt,...gt],2)):(jt&&We.push(jt),H(gt)&&We.push(...gt)),We.push(...ge(Je)),We}function K(Je){const qe=new Map;Je.properties&&Je.properties.forEach((gt,jt)=>{const It=s.createSymbol(4,jt);It.links.type=ve(gt),qe.set(jt,It)});const st=Je.calls?[Qe(Je.calls)]:[],Ke=Je.constructs?[Qe(Je.constructs)]:[],We=Je.stringIndex?[s.createIndexInfo(s.getStringType(),ve(Je.stringIndex),!1)]:[];return s.createAnonymousType(void 0,qe,st,Ke,We)}function ge(Je){if(!Je.properties||!Je.properties.size)return[];const qe=f.filter(st=>Se(st,Je));return 0<qe.length&&qe.length<3?qe.map(st=>we(st,Je)):[]}function Se(Je,qe){return qe.properties?!cp(qe.properties,(st,Ke)=>{const We=s.getTypeOfPropertyOfType(Je,Ke);return We?st.calls?!s.getSignaturesOfType(We,0).length||!s.isTypeAssignableTo(We,ot(st.calls)):!s.isTypeAssignableTo(We,ve(st)):!0}):!1}function we(Je,qe){if(!(Ci(Je)&4)||!qe.properties)return Je;const st=Je.target,Ke=Fh(st.typeParameters);if(!Ke)return Je;const We=[];return qe.properties.forEach((gt,jt)=>{const It=s.getTypeOfPropertyOfType(st,jt);R.assert(!!It,"generic should have all the properties of its reference."),We.push(...Pe(It,ve(gt),Ke))}),l[Je.symbol.escapedName](fe(We))}function Pe(Je,qe,st){if(Je===st)return[qe];if(Je.flags&3145728)return mn(Je.types,gt=>Pe(gt,qe,st));if(Ci(Je)&4&&Ci(qe)&4){const gt=s.getTypeArguments(Je),jt=s.getTypeArguments(qe),It=[];if(gt&&jt)for(let er=0;er<gt.length;er++)jt[er]&&It.push(...Pe(gt[er],jt[er],st));return It}const Ke=s.getSignaturesOfType(Je,0),We=s.getSignaturesOfType(qe,0);return Ke.length===1&&We.length===1?le(Ke[0],We[0],st):[]}function le(Je,qe,st){var Ke;const We=[];for(let It=0;It<Je.parameters.length;It++){const er=Je.parameters[It],ft=qe.parameters[It],mt=Je.declaration&&Lg(Je.declaration.parameters[It]);if(!ft)break;let xr=er.valueDeclaration?s.getTypeOfSymbolAtLocation(er,er.valueDeclaration):s.getAnyType();const dr=mt&&s.getElementTypeOfArrayType(xr);dr&&(xr=dr);const rn=((Ke=Pi(ft,qh))==null?void 0:Ke.links.type)||(ft.valueDeclaration?s.getTypeOfSymbolAtLocation(ft,ft.valueDeclaration):s.getAnyType());We.push(...Pe(xr,rn,st))}const gt=s.getReturnTypeOfSignature(Je),jt=s.getReturnTypeOfSignature(qe);return We.push(...Pe(gt,jt,st)),We}function ot(Je){return s.createAnonymousType(void 0,Ma(),[Qe(Je)],pt,pt)}function Qe(Je){const qe=[],st=Math.max(...Je.map(We=>We.argumentTypes.length));for(let We=0;We<st;We++){const gt=s.createSymbol(1,Vc(`arg${We}`));gt.links.type=fe(Je.map(jt=>jt.argumentTypes[We]||s.getUndefinedType())),Je.some(jt=>jt.argumentTypes[We]===void 0)&&(gt.flags|=16777216),qe.push(gt)}const Ke=ve(g(Je.map(We=>We.return_)));return s.createSignature(void 0,void 0,void 0,qe,Ke,void 0,st,0)}function Ge(Je,qe){qe&&!(qe.flags&1)&&!(qe.flags&131072)&&(Je.candidateTypes||(Je.candidateTypes=[])).push(qe)}function tt(Je,qe){qe&&!(qe.flags&1)&&!(qe.flags&131072)&&(Je.candidateThisTypes||(Je.candidateThisTypes=[])).push(qe)}}var oq,Ele,cct=p({"src/services/codefixes/inferFromUsage.ts"(){Si(),Ga(),oq="inferFromUsage",Ele=[v.Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined.code,v.Variable_0_implicitly_has_an_1_type.code,v.Parameter_0_implicitly_has_an_1_type.code,v.Rest_parameter_0_implicitly_has_an_any_type.code,v.Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation.code,v._0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type.code,v.Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation.code,v.Member_0_implicitly_has_an_1_type.code,v.Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage.code,v.Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,v.Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,v.Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage.code,v.Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage.code,v._0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage.code,v.Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage.code,v.Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage.code,v.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code],Ua({errorCodes:Ele,getCodeActions(e){const{sourceFile:t,program:n,span:{start:s},errorCode:l,cancellationToken:f,host:d,preferences:g}=e,h=Os(t,s);let k;const S=Jn.ChangeTracker.with(e,N=>{k=o8e(N,t,h,l,n,f,nT,d,g)}),w=k&&ra(k);return!w||S.length===0?void 0:[Na(oq,S,[tct(l,h),lu(w)],oq,v.Infer_all_types_from_usage)]},fixIds:[oq],getAllCodeActions(e){const{sourceFile:t,program:n,cancellationToken:s,host:l,preferences:f}=e,d=z4();return oc(e,Ele,(g,h)=>{o8e(g,t,Os(h.file,h.start),h.code,n,s,d,l,f)})}})}});function _8e(e,t,n){if(Mn(e))return;const s=Os(e,n),l=kn(s,Lc),f=l==null?void 0:l.type;if(!f)return;const d=t.getTypeFromTypeNode(f),g=t.getAwaitedType(d)||t.getVoidType(),h=t.typeToTypeNode(g,f,void 0);if(h)return{returnTypeNode:f,returnType:d,promisedTypeNode:h,promisedType:g}}function p8e(e,t,n,s){e.replaceNode(t,n,J.createTypeReferenceNode("Promise",[s]))}var cq,Ale,lct=p({"src/services/codefixes/fixReturnTypeInAsyncFunction.ts"(){Si(),Ga(),cq="fixReturnTypeInAsyncFunction",Ale=[v.The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_write_Promise_0.code],Ua({errorCodes:Ale,fixIds:[cq],getCodeActions:function(t){const{sourceFile:n,program:s,span:l}=t,f=s.getTypeChecker(),d=_8e(n,s.getTypeChecker(),l.start);if(!d)return;const{returnTypeNode:g,returnType:h,promisedTypeNode:k,promisedType:S}=d,w=Jn.ChangeTracker.with(t,N=>p8e(N,n,g,k));return[Na(cq,w,[v.Replace_0_with_Promise_1,f.typeToString(h),f.typeToString(S)],cq,v.Fix_all_incorrect_return_type_of_an_async_functions)]},getAllCodeActions:e=>oc(e,Ale,(t,n)=>{const s=_8e(n.file,e.program.getTypeChecker(),n.start);s&&p8e(t,n.file,s.returnTypeNode,s.promisedTypeNode)})})}});function d8e(e,t,n,s){const{line:l}=zc(t,n);(!s||fi(s,l))&&e.insertCommentBeforeLine(t,l,n," @ts-ignore")}var Ple,Dle,Nle,uct=p({"src/services/codefixes/disableJsDiagnostics.ts"(){Si(),Ga(),Ple="disableJsDiagnostics",Dle="disableJsDiagnostics",Nle=fr(Object.keys(v),e=>{const t=v[e];return t.category===1?t.code:void 0}),Ua({errorCodes:Nle,getCodeActions:function(t){const{sourceFile:n,program:s,span:l,host:f,formatContext:d}=t;if(!Mn(n)||!I5(n,s.getCompilerOptions()))return;const g=n.checkJsDirective?"":Zb(f,d.options),h=[Em(Ple,[kAe(n.fileName,[E9(n.checkJsDirective?eu(n.checkJsDirective.pos,n.checkJsDirective.end):hu(0,0),`// @ts-nocheck${g}`)])],v.Disable_checking_for_this_file)];return Jn.isValidLocationToAddComment(n,l.start)&&h.unshift(Na(Ple,Jn.ChangeTracker.with(t,k=>d8e(k,n,l.start)),v.Ignore_this_error_message,Dle,v.Add_ts_ignore_to_all_error_messages)),h},fixIds:[Dle],getAllCodeActions:e=>{const t=new Set;return oc(e,Nle,(n,s)=>{Jn.isValidLocationToAddComment(s.file,s.start)&&d8e(n,s.file,s.start,t)})}})}});function Ile(e,t,n,s,l,f,d){const g=e.symbol.members;for(const h of t)g.has(h.escapedName)||m8e(h,e,n,s,l,f,d,void 0)}function Fw(e){return{trackSymbol:()=>!1,moduleResolverHost:Iae(e.program,e.host)}}function m8e(e,t,n,s,l,f,d,g,h=3,k=!1){var S;const w=e.getDeclarations(),N=w==null?void 0:w[0],O=s.program.getTypeChecker(),L=Io(s.program.getCompilerOptions()),U=(S=N==null?void 0:N.kind)!=null?S:168,M=pl(ra(N),!1),W=N?Pf(N):0;let X=W&4?4:W&16?16:0;N&&op(N)&&(X|=128);const Z=fe(),ue=O.getWidenedType(O.getTypeOfSymbolAtLocation(e,t)),ie=!!(e.flags&16777216),se=!!(t.flags&16777216)||k,V=wm(n,l);switch(U){case 168:case 169:const Se=V===0?268435456:void 0;let we=O.typeToTypeNode(ue,t,Se,Fw(s));if(f){const le=lk(we,L);le&&(we=le.typeNode,Rw(f,le.symbols))}d(J.createPropertyDeclaration(Z,N?_e(M):e.getName(),ie&&h&2?J.createToken(57):void 0,we,void 0));break;case 174:case 175:{R.assertIsDefined(w);let le=O.typeToTypeNode(ue,t,void 0,Fw(s));const ot=Dx(w,N),Qe=ot.secondAccessor?[ot.firstAccessor,ot.secondAccessor]:[ot.firstAccessor];if(f){const Ge=lk(le,L);Ge&&(le=Ge.typeNode,Rw(f,Ge.symbols))}for(const Ge of Qe)if(Hd(Ge))d(J.createGetAccessorDeclaration(Z,_e(M),pt,ge(le),K(g,V,se)));else{R.assertNode(Ge,nd,"The counterpart to a getter should be a setter");const tt=xP(Ge),Je=tt&&Ye(tt.name)?ai(tt.name):void 0;d(J.createSetAccessorDeclaration(Z,_e(M),Lle(1,[Je],[ge(le)],1,!1),K(g,V,se)))}break}case 170:case 171:R.assertIsDefined(w);const Pe=ue.isUnion()?mn(ue.types,le=>le.getCallSignatures()):ue.getCallSignatures();if(!Oe(Pe))break;if(w.length===1){R.assert(Pe.length===1,"One declaration implies one signature");const le=Pe[0];ve(V,le,Z,_e(M),K(g,V,se));break}for(const le of Pe)ve(V,le,Z,_e(M));if(!se)if(w.length>Pe.length){const le=O.getSignatureFromDeclaration(w[w.length-1]);ve(V,le,Z,_e(M),K(g,V))}else R.assert(w.length===Pe.length,"Declarations and signatures should match count"),d(pct(O,s,t,Pe,_e(M),ie&&!!(h&1),Z,V,g));break}function ve(Se,we,Pe,le,ot){const Qe=lq(171,s,Se,we,ot,le,Pe,ie&&!!(h&1),t,f);Qe&&d(Qe)}function fe(){let Se;return X&&(Se=Mh(Se,J.createModifiersFromModifierFlags(X))),Ce()&&(Se=$r(Se,J.createToken(161))),Se&&J.createNodeArray(Se)}function Ce(){return!!(s.program.getCompilerOptions().noImplicitOverride&&N&&CT(N))}function _e(Se){return Ye(Se)&&Se.escapedText==="constructor"?J.createComputedPropertyName(J.createStringLiteral(ai(Se),V===0)):pl(Se,!1)}function K(Se,we,Pe){return Pe?void 0:pl(Se,!1)||Mle(we)}function ge(Se){return pl(Se,!1)}}function lq(e,t,n,s,l,f,d,g,h,k){const S=t.program,w=S.getTypeChecker(),N=Io(S.getCompilerOptions()),O=Mn(h),L=524545|(n===0?268435456:0),U=w.signatureToSignatureDeclaration(s,e,h,L,Fw(t));if(!U)return;let M=O?void 0:U.typeParameters,W=U.parameters,X=O?void 0:U.type;if(k){if(M){const se=$s(M,V=>{let ve=V.constraint,fe=V.default;if(ve){const Ce=lk(ve,N);Ce&&(ve=Ce.typeNode,Rw(k,Ce.symbols))}if(fe){const Ce=lk(fe,N);Ce&&(fe=Ce.typeNode,Rw(k,Ce.symbols))}return J.updateTypeParameterDeclaration(V,V.modifiers,V.name,ve,fe)});M!==se&&(M=Et(J.createNodeArray(se,M.hasTrailingComma),M))}const ie=$s(W,se=>{let V=O?void 0:se.type;if(V){const ve=lk(V,N);ve&&(V=ve.typeNode,Rw(k,ve.symbols))}return J.updateParameterDeclaration(se,se.modifiers,se.dotDotDotToken,se.name,O?void 0:se.questionToken,V,se.initializer)});if(W!==ie&&(W=Et(J.createNodeArray(ie,W.hasTrailingComma),W)),X){const se=lk(X,N);se&&(X=se.typeNode,Rw(k,se.symbols))}}const Z=g?J.createToken(57):void 0,ue=U.asteriskToken;if(yc(U))return J.updateFunctionExpression(U,d,U.asteriskToken,Pi(f,Ye),M,W,X,l??U.body);if(Ac(U))return J.updateArrowFunction(U,d,M,W,X,U.equalsGreaterThanToken,l??U.body);if(zl(U))return J.updateMethodDeclaration(U,d,ue,f??J.createIdentifier(""),Z,M,W,X,l);if(ru(U))return J.updateFunctionDeclaration(U,d,U.asteriskToken,Pi(f,Ye),M,W,X,l??U.body)}function Ole(e,t,n,s,l,f,d){const g=wm(t.sourceFile,t.preferences),h=Io(t.program.getCompilerOptions()),k=Fw(t),S=t.program.getTypeChecker(),w=Mn(d),{typeArguments:N,arguments:O,parent:L}=s,U=w?void 0:S.getContextualType(s),M=qt(O,fe=>Ye(fe)?fe.text:oi(fe)&&Ye(fe.name)?fe.name.text:void 0),W=w?[]:qt(O,fe=>S.getTypeAtLocation(fe)),{argumentTypeNodes:X,argumentTypeParameters:Z}=y8e(S,n,W,d,h,void 0,k),ue=f?J.createNodeArray(J.createModifiersFromModifierFlags(f)):void 0,ie=zJ(L)?J.createToken(41):void 0,se=w?void 0:fct(S,Z,N),V=Lle(O.length,M,X,void 0,w),ve=w||U===void 0?void 0:S.typeToTypeNode(U,d,void 0,k);switch(e){case 171:return J.createMethodDeclaration(ue,ie,l,void 0,se,V,ve,Mle(g));case 170:return J.createMethodSignature(ue,l,void 0,se,V,ve===void 0?J.createKeywordTypeNode(157):ve);case 259:return J.createFunctionDeclaration(ue,ie,l,se,V,ve,tL(v.Function_not_implemented.message,g));default:R.fail("Unexpected kind")}}function fct(e,t,n){const s=new Set(t.map(f=>f[0])),l=new Map(t);if(n){const f=n.filter(g=>!t.some(h=>{var k;return e.getTypeAtLocation(g)===((k=h[1])==null?void 0:k.argumentType)})),d=s.size+f.length;for(let g=0;s.size<d;g+=1)s.add(h8e(g))}return ao(s.values(),f=>{var d;return J.createTypeParameterDeclaration(void 0,f,(d=l.get(f))==null?void 0:d.constraint)})}function h8e(e){return 84+e<=90?String.fromCharCode(84+e):`T${e}`}function uq(e,t,n,s,l,f,d){let g=e.typeToTypeNode(n,s,f,d);if(g&&zy(g)){const h=lk(g,l);h&&(Rw(t,h.symbols),g=h.typeNode)}return pl(g)}function g8e(e){return e.isUnionOrIntersection()?e.types.some(g8e):e.flags&262144}function y8e(e,t,n,s,l,f,d){const g=[],h=new Map;for(let k=0;k<n.length;k+=1){const S=n[k];if(S.isUnionOrIntersection()&&S.types.some(g8e)){const U=h8e(k);g.push(J.createTypeReferenceNode(U)),h.set(U,void 0);continue}const w=e.getBaseTypeOfLiteralType(S),N=uq(e,t,w,s,l,f,d);if(!N)continue;g.push(N);const O=v8e(S),L=S.isTypeParameter()&&S.constraint&&!_ct(S.constraint)?uq(e,t,S.constraint,s,l,f,d):void 0;O&&h.set(O,{argumentType:S,constraint:L})}return{argumentTypeNodes:g,argumentTypeParameters:ao(h.entries())}}function _ct(e){return e.flags&524288&&e.objectFlags===16}function v8e(e){var t;if(e.flags&3145728)for(const n of e.types){const s=v8e(n);if(s)return s}return e.flags&262144?(t=e.getSymbol())==null?void 0:t.getName():void 0}function Lle(e,t,n,s,l){const f=[],d=new Map;for(let g=0;g<e;g++){const h=(t==null?void 0:t[g])||`arg${g}`,k=d.get(h);d.set(h,(k||0)+1);const S=J.createParameterDeclaration(void 0,void 0,h+(k||""),s!==void 0&&g>=s?J.createToken(57):void 0,l?void 0:(n==null?void 0:n[g])||J.createKeywordTypeNode(157),void 0);f.push(S)}return f}function pct(e,t,n,s,l,f,d,g,h){let k=s[0],S=s[0].minArgumentCount,w=!1;for(const U of s)S=Math.min(U.minArgumentCount,S),ff(U)&&(w=!0),U.parameters.length>=k.parameters.length&&(!ff(U)||ff(k))&&(k=U);const N=k.parameters.length-(ff(k)?1:0),O=k.parameters.map(U=>U.name),L=Lle(N,O,void 0,S,!1);if(w){const U=J.createParameterDeclaration(void 0,J.createToken(25),O[N]||"rest",N>=S?J.createToken(57):void 0,J.createArrayTypeNode(J.createKeywordTypeNode(157)),void 0);L.push(U)}return mct(d,l,f,void 0,L,dct(s,e,t,n),g,h)}function dct(e,t,n,s){if(H(e)){const l=t.getUnionType(qt(e,t.getReturnTypeOfSignature));return t.typeToTypeNode(l,s,1,Fw(n))}}function mct(e,t,n,s,l,f,d,g){return J.createMethodDeclaration(e,void 0,t,n?J.createToken(57):void 0,s,l,f,g||Mle(d))}function Mle(e){return tL(v.Method_not_implemented.message,e)}function tL(e,t){return J.createBlock([J.createThrowStatement(J.createNewExpression(J.createIdentifier("Error"),void 0,[J.createStringLiteral(e,t===0)]))],!0)}function Fle(e,t,n){const s=uP(t);if(!s)return;const l=Ble(s,"compilerOptions");if(l===void 0){e.insertNodeAtObjectStart(t,s,fq("compilerOptions",J.createObjectLiteralExpression(n.map(([d,g])=>fq(d,g)),!0)));return}const f=l.initializer;if(cc(f))for(const[d,g]of n){const h=Ble(f,d);h===void 0?e.insertNodeAtObjectStart(t,f,fq(d,g)):e.replaceNode(t,h.initializer,g)}}function Rle(e,t,n,s){Fle(e,t,[[n,s]])}function fq(e,t){return J.createPropertyAssignment(J.createStringLiteral(e),t)}function Ble(e,t){return He(e.properties,n=>Iu(n)&&!!n.name&&yo(n.name)&&n.name.text===t)}function lk(e,t){let n;const s=yt(e,l,ps);if(n&&s)return{typeNode:s,symbols:n};function l(f){if(Fb(f)&&f.qualifier){const d=Dp(f.qualifier),g=yV(d.symbol,t),h=g!==d.text?b8e(f.qualifier,J.createIdentifier(g)):f.qualifier;n=$r(n,d.symbol);const k=hn(f.typeArguments,l,ps);return J.createTypeReferenceNode(h,k)}return an(f,l,qy)}}function b8e(e,t){return e.kind===79?t:J.createQualifiedName(b8e(e.left,t),e.right)}function Rw(e,t){t.forEach(n=>e.addImportFromExportedSymbol(n,!0))}function jle(e,t){const n=Wu(t);let s=Os(e,t.start);for(;s.end<n;)s=s.parent;return s}var Jle,hct=p({"src/services/codefixes/helpers.ts"(){Si(),Jle=(e=>(e[e.Method=1]="Method",e[e.Property=2]="Property",e[e.All=3]="All",e))(Jle||{})}});function T8e(e,t,n,s,l,f){const d=k8e(e,t,n,s);if(!d||m8.isRefactorErrorInfo(d))return;const g=Jn.ChangeTracker.fromContext(l),{isStatic:h,isReadonly:k,fieldName:S,accessorName:w,originalName:N,type:O,container:L,declaration:U}=d;V_(S),V_(w),V_(U),V_(L);let M,W;if(Ri(L)){const Z=Pf(U);if(Gf(e)){const ue=J.createModifiersFromModifierFlags(Z);M=ue,W=ue}else M=J.createModifiersFromModifierFlags(vct(Z)),W=J.createModifiersFromModifierFlags(bct(Z));yw(U)&&(W=Cr(ov(U),W))}Cct(g,e,U,O,S,W);const X=Tct(S,w,O,M,h,L);if(V_(X),C8e(g,e,X,U,L),k){const Z=Bg(L);Z&&wct(g,e,Z,S.text,N)}else{const Z=Sct(S,w,O,M,h,L);V_(Z),C8e(g,e,Z,U,L)}return g.getChanges()}function gct(e){return Ye(e)||yo(e)}function yct(e){return sp(e,e.parent)||Pa(e)||Iu(e)}function S8e(e,t){return Ye(t)?J.createIdentifier(e):J.createStringLiteral(e)}function x8e(e,t,n){const s=t?n.name:J.createThis();return Ye(e)?J.createPropertyAccessExpression(s,e):J.createElementAccessExpression(s,J.createStringLiteralFromNode(e))}function vct(e){return e&=-65,e&=-9,e&16||(e|=4),e}function bct(e){return e&=-5,e&=-17,e|=8,e}function k8e(e,t,n,s,l=!0){const f=Os(e,n),d=n===s&&l,g=kn(f.parent,yct),h=124;if(!g||!(mae(g.name,e,n,s)||d))return{error:uo(v.Could_not_find_property_for_which_to_generate_accessor)};if(!gct(g.name))return{error:uo(v.Name_is_not_valid)};if((Pf(g)&126975|h)!==h)return{error:uo(v.Can_only_convert_property_with_modifier)};const k=g.name.text,S=roe(k),w=S8e(S?k:ik(`_${k}`,e),g.name),N=S8e(S?ik(k.substring(1),e):k,g.name);return{isStatic:tu(g),isReadonly:kP(g),type:Ect(g,t),container:g.kind===166?g.parent.parent:g.parent,originalName:g.name.text,declaration:g,fieldName:w,accessorName:N,renameAccessor:S}}function Tct(e,t,n,s,l,f){return J.createGetAccessorDeclaration(s,t,[],n,J.createBlock([J.createReturnStatement(x8e(e,l,f))],!0))}function Sct(e,t,n,s,l,f){return J.createSetAccessorDeclaration(s,t,[J.createParameterDeclaration(void 0,void 0,J.createIdentifier("value"),void 0,n)],J.createBlock([J.createExpressionStatement(J.createAssignment(x8e(e,l,f),J.createIdentifier("value")))],!0))}function xct(e,t,n,s,l,f){const d=J.updatePropertyDeclaration(n,f,l,n.questionToken||n.exclamationToken,s,n.initializer);e.replaceNode(t,n,d)}function kct(e,t,n,s){let l=J.updatePropertyAssignment(n,s,n.initializer);(l.modifiers||l.questionToken||l.exclamationToken)&&(l===n&&(l=J.cloneNode(l)),l.modifiers=void 0,l.questionToken=void 0,l.exclamationToken=void 0),e.replacePropertyAssignment(t,n,l)}function Cct(e,t,n,s,l,f){Pa(n)?xct(e,t,n,s,l,f):Iu(n)?kct(e,t,n,l):e.replaceNode(t,n,J.updateParameterDeclaration(n,f,n.dotDotDotToken,Oa(l,Ye),n.questionToken,n.type,n.initializer))}function C8e(e,t,n,s,l){sp(s,s.parent)?e.insertMemberAtStart(t,l,n):Iu(s)?e.insertNodeAfterComma(t,s,n):e.insertNodeAfter(t,s,n)}function wct(e,t,n,s,l){n.body&&n.body.forEachChild(function f(d){qc(d)&&d.expression.kind===108&&yo(d.argumentExpression)&&d.argumentExpression.text===l&&IP(d)&&e.replaceNode(t,d.argumentExpression,J.createStringLiteral(s)),oi(d)&&d.expression.kind===108&&d.name.text===l&&IP(d)&&e.replaceNode(t,d.name,J.createIdentifier(s)),!Sa(d)&&!Ri(d)&&d.forEachChild(f)})}function Ect(e,t){const n=H2e(e);if(Pa(e)&&n&&e.questionToken){const s=t.getTypeChecker(),l=s.getTypeFromTypeNode(n);if(!s.isTypeAssignableTo(s.getUndefinedType(),l)){const f=sw(n)?n.types:[n];return J.createUnionTypeNode([...f,J.createKeywordTypeNode(155)])}}return n}function Ule(e,t){const n=[];for(;e;){const s=TT(e),l=s&&t.getSymbolAtLocation(s.expression);if(!l)break;const f=l.flags&2097152?t.getAliasedSymbol(l):l,d=f.declarations&&He(f.declarations,Ri);if(!d)break;n.push(d),e=d}return n}var Act=p({"src/services/codefixes/generateAccessors.ts"(){Si()}});function Pct(e,t){const n=bn(t),s=j6(t),l=e.program.getCompilerOptions(),f=[];return f.push(w8e(e,n,t,f1(s.name,void 0,t.moduleSpecifier,wm(n,e.preferences)))),Hu(l)===1&&f.push(w8e(e,n,t,J.createImportEqualsDeclaration(void 0,!1,s.name,J.createExternalModuleReference(t.moduleSpecifier)))),f}function w8e(e,t,n,s){const l=Jn.ChangeTracker.with(e,f=>f.replaceNode(t,n,s));return Em(zle,l,[v.Replace_import_with_0,l[0].textChanges[0].newText])}function Dct(e){const t=e.sourceFile,n=v.This_expression_is_not_callable.code===e.errorCode?210:211,s=kn(Os(t,e.span.start),f=>f.kind===n);if(!s)return[];const l=s.expression;return E8e(e,l)}function Nct(e){const t=e.sourceFile,n=kn(Os(t,e.span.start),s=>s.getStart()===e.span.start&&s.getEnd()===e.span.start+e.span.length);return n?E8e(e,n):[]}function E8e(e,t){const n=e.program.getTypeChecker().getTypeAtLocation(t);if(!(n.symbol&&qh(n.symbol)&&n.symbol.links.originatingImport))return[];const s=[],l=n.symbol.links.originatingImport;if(up(l)||Oi(s,Pct(e,l)),Dt(t)&&!(of(t.parent)&&t.parent.name===t)){const f=e.sourceFile,d=Jn.ChangeTracker.with(e,g=>g.replaceNode(f,t,J.createPropertyAccessExpression(t,"default"),{}));s.push(Em(zle,d,v.Use_synthetic_default_member))}return s}var zle,Ict=p({"src/services/codefixes/fixInvalidImportSyntax.ts"(){Si(),Ga(),zle="invalidImportSyntax",Ua({errorCodes:[v.This_expression_is_not_callable.code,v.This_expression_is_not_constructable.code],getCodeActions:Dct}),Ua({errorCodes:[v.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,v.Type_0_does_not_satisfy_the_constraint_1.code,v.Type_0_is_not_assignable_to_type_1.code,v.Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated.code,v.Type_predicate_0_is_not_assignable_to_1.code,v.Property_0_of_type_1_is_not_assignable_to_2_index_type_3.code,v._0_index_type_1_is_not_assignable_to_2_index_type_3.code,v.Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2.code,v.Property_0_in_type_1_is_not_assignable_to_type_2.code,v.Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property.code,v.The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1.code],getCodeActions:Nct})}});function A8e(e,t){const n=Os(e,t);if(Ye(n)&&Pa(n.parent)){const s=Ju(n.parent);if(s)return{type:s,prop:n.parent,isJs:Mn(n.parent)}}}function Oct(e,t){if(t.isJs)return;const n=Jn.ChangeTracker.with(e,s=>P8e(s,e.sourceFile,t.prop));return Na(_q,n,[v.Add_definite_assignment_assertion_to_property_0,t.prop.getText()],pq,v.Add_definite_assignment_assertions_to_all_uninitialized_properties)}function P8e(e,t,n){V_(n);const s=J.updatePropertyDeclaration(n,n.modifiers,n.name,J.createToken(53),n.type,n.initializer);e.replaceNode(t,n,s)}function Lct(e,t){const n=Jn.ChangeTracker.with(e,s=>D8e(s,e.sourceFile,t));return Na(_q,n,[v.Add_undefined_type_to_property_0,t.prop.name.getText()],dq,v.Add_undefined_type_to_all_uninitialized_properties)}function D8e(e,t,n){const s=J.createKeywordTypeNode(155),l=sw(n.type)?n.type.types.concat(s):[n.type,s],f=J.createUnionTypeNode(l);n.isJs?e.addJSDocTags(t,n.prop,[J.createJSDocTypeTag(void 0,J.createJSDocTypeExpression(f))]):e.replaceNode(t,n.type,f)}function Mct(e,t){if(t.isJs)return;const n=e.program.getTypeChecker(),s=I8e(n,t.prop);if(!s)return;const l=Jn.ChangeTracker.with(e,f=>N8e(f,e.sourceFile,t.prop,s));return Na(_q,l,[v.Add_initializer_to_property_0,t.prop.name.getText()],mq,v.Add_initializers_to_all_uninitialized_properties)}function N8e(e,t,n,s){V_(n);const l=J.updatePropertyDeclaration(n,n.modifiers,n.name,n.questionToken,n.type,s);e.replaceNode(t,n,l)}function I8e(e,t){return O8e(e,e.getTypeFromTypeNode(t.type))}function O8e(e,t){if(t.flags&512)return t===e.getFalseType()||t===e.getFalseType(!0)?J.createFalse():J.createTrue();if(t.isStringLiteral())return J.createStringLiteral(t.value);if(t.isNumberLiteral())return J.createNumericLiteral(t.value);if(t.flags&2048)return J.createBigIntLiteral(t.value);if(t.isUnion())return ze(t.types,n=>O8e(e,n));if(t.isClass()){const n=Jy(t.symbol);if(!n||Ti(n,256))return;const s=Bg(n);return s&&s.parameters.length?void 0:J.createNewExpression(J.createIdentifier(t.symbol.name),void 0,void 0)}else if(e.isArrayLikeType(t))return J.createArrayLiteralExpression()}var _q,pq,dq,mq,Vle,Fct=p({"src/services/codefixes/fixStrictClassInitialization.ts"(){Si(),Ga(),_q="strictClassInitialization",pq="addMissingPropertyDefiniteAssignmentAssertions",dq="addMissingPropertyUndefinedType",mq="addMissingPropertyInitializer",Vle=[v.Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor.code],Ua({errorCodes:Vle,getCodeActions:function(t){const n=A8e(t.sourceFile,t.span.start);if(!n)return;const s=[];return $r(s,Lct(t,n)),$r(s,Oct(t,n)),$r(s,Mct(t,n)),s},fixIds:[pq,dq,mq],getAllCodeActions:e=>oc(e,Vle,(t,n)=>{const s=A8e(n.file,n.start);if(s)switch(e.fixId){case pq:P8e(t,n.file,s.prop);break;case dq:D8e(t,n.file,s);break;case mq:const l=e.program.getTypeChecker(),f=I8e(l,s.prop);if(!f)return;N8e(t,n.file,s.prop,f);break;default:R.fail(JSON.stringify(e.fixId))}})})}});function L8e(e,t,n){const{allowSyntheticDefaults:s,defaultImportName:l,namedImports:f,statement:d,required:g}=n;e.replaceNode(t,d,l&&!s?J.createImportEqualsDeclaration(void 0,!1,l,J.createExternalModuleReference(g)):J.createImportDeclaration(void 0,J.createImportClause(!1,l,f),g,void 0))}function M8e(e,t,n){const{parent:s}=Os(e,n);if(!v_(s,!0))throw R.failBadSyntaxKind(s);const l=Oa(s.parent,xs),f=Pi(l.name,Ye),d=tg(l.name)?Rct(l.name):void 0;if(f||d)return{allowSyntheticDefaults:GC(t.getCompilerOptions()),defaultImportName:f,namedImports:d,statement:Oa(l.parent.parent,Xl),required:Uo(s.arguments)}}function Rct(e){const t=[];for(const n of e.elements){if(!Ye(n.name)||n.initializer)return;t.push(J.createImportSpecifier(!1,Pi(n.propertyName,Ye),n.name))}if(t.length)return J.createNamedImports(t)}var hq,$le,Bct=p({"src/services/codefixes/requireInTs.ts"(){Si(),Ga(),hq="requireInTs",$le=[v.require_call_may_be_converted_to_an_import.code],Ua({errorCodes:$le,getCodeActions(e){const t=M8e(e.sourceFile,e.program,e.span.start);if(!t)return;const n=Jn.ChangeTracker.with(e,s=>L8e(s,e.sourceFile,t));return[Na(hq,n,v.Convert_require_to_import,hq,v.Convert_all_require_to_import)]},fixIds:[hq],getAllCodeActions:e=>oc(e,$le,(t,n)=>{const s=M8e(n.file,e.program,n.start);s&&L8e(t,e.sourceFile,s)})})}});function F8e(e,t){const n=Os(e,t);if(!Ye(n))return;const{parent:s}=n;if(Xu(s)&&ng(s.moduleReference))return{importNode:s,name:n,moduleSpecifier:s.moduleReference.expression};if(xv(s)){const l=s.parent.parent;return{importNode:l,name:n,moduleSpecifier:l.moduleSpecifier}}}function R8e(e,t,n,s){e.replaceNode(t,n.importNode,f1(n.name,void 0,n.moduleSpecifier,wm(t,s)))}var gq,qle,jct=p({"src/services/codefixes/useDefaultImport.ts"(){Si(),Ga(),gq="useDefaultImport",qle=[v.Import_may_be_converted_to_a_default_import.code],Ua({errorCodes:qle,getCodeActions(e){const{sourceFile:t,span:{start:n}}=e,s=F8e(t,n);if(!s)return;const l=Jn.ChangeTracker.with(e,f=>R8e(f,t,s,e.preferences));return[Na(gq,l,v.Convert_to_default_import,gq,v.Convert_all_to_default_imports)]},fixIds:[gq],getAllCodeActions:e=>oc(e,qle,(t,n)=>{const s=F8e(n.file,n.start);s&&R8e(t,n.file,s,e.preferences)})})}});function B8e(e,t,n){const s=Pi(Os(t,n.start),Td);if(!s)return;const l=s.getText(t)+"n";e.replaceNode(t,s,J.createBigIntLiteral(l))}var yq,Wle,Jct=p({"src/services/codefixes/useBigintLiteral.ts"(){Si(),Ga(),yq="useBigintLiteral",Wle=[v.Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers.code],Ua({errorCodes:Wle,getCodeActions:function(t){const n=Jn.ChangeTracker.with(t,s=>B8e(s,t.sourceFile,t.span));if(n.length>0)return[Na(yq,n,v.Convert_to_a_bigint_numeric_literal,yq,v.Convert_all_to_bigint_numeric_literals)]},fixIds:[yq],getAllCodeActions:e=>oc(e,Wle,(t,n)=>B8e(t,n.file,n))})}});function j8e(e,t){const n=Os(e,t);return R.assert(n.kind===100,"This token should be an ImportKeyword"),R.assert(n.parent.kind===202,"Token parent should be an ImportType"),n.parent}function J8e(e,t,n){const s=J.updateImportTypeNode(n,n.argument,n.assertions,n.qualifier,n.typeArguments,!0);e.replaceNode(t,n,s)}var U8e,vq,Hle,Uct=p({"src/services/codefixes/fixAddModuleReferTypeMissingTypeof.ts"(){Si(),Ga(),U8e="fixAddModuleReferTypeMissingTypeof",vq=U8e,Hle=[v.Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0.code],Ua({errorCodes:Hle,getCodeActions:function(t){const{sourceFile:n,span:s}=t,l=j8e(n,s.start),f=Jn.ChangeTracker.with(t,d=>J8e(d,n,l));return[Na(vq,f,v.Add_missing_typeof,vq,v.Add_missing_typeof)]},fixIds:[vq],getAllCodeActions:e=>oc(e,Hle,(t,n)=>J8e(t,e.sourceFile,j8e(n.file,n.start)))})}});function z8e(e,t){let l=Os(e,t).parent.parent;if(!(!$n(l)&&(l=l.parent,!$n(l)))&&cl(l.operatorToken))return l}function V8e(e,t,n){const s=zct(n);s&&e.replaceNode(t,n,J.createJsxFragment(J.createJsxOpeningFragment(),s,J.createJsxJsxClosingFragment()))}function zct(e){const t=[];let n=e;for(;;)if($n(n)&&cl(n.operatorToken)&&n.operatorToken.kind===27){if(t.push(n.left),k7(n.right))return t.push(n.right),t;if($n(n.right)){n=n.right;continue}else return}else return}var bq,Gle,Vct=p({"src/services/codefixes/wrapJsxInFragment.ts"(){Si(),Ga(),bq="wrapJsxInFragment",Gle=[v.JSX_expressions_must_have_one_parent_element.code],Ua({errorCodes:Gle,getCodeActions:function(t){const{sourceFile:n,span:s}=t,l=z8e(n,s.start);if(!l)return;const f=Jn.ChangeTracker.with(t,d=>V8e(d,n,l));return[Na(bq,f,v.Wrap_in_JSX_fragment,bq,v.Wrap_all_unparented_JSX_in_JSX_fragment)]},fixIds:[bq],getAllCodeActions:e=>oc(e,Gle,(t,n)=>{const s=z8e(e.sourceFile,n.start);s&&V8e(t,e.sourceFile,s)})})}});function $8e(e,t){const n=Os(e,t),s=Pi(n.parent.parent,iw);if(!s)return;const l=Yf(s.parent)?s.parent:Pi(s.parent.parent,sh);if(l)return{indexSignature:s,container:l}}function $ct(e,t){return J.createTypeAliasDeclaration(e.modifiers,e.name,e.typeParameters,t)}function q8e(e,t,{indexSignature:n,container:s}){const f=(Yf(s)?s.members:s.type.members).filter(S=>!iw(S)),d=Uo(n.parameters),g=J.createTypeParameterDeclaration(void 0,Oa(d.name,Ye),d.type),h=J.createMappedTypeNode(kP(n)?J.createModifier(146):void 0,g,void 0,n.questionToken,n.type,void 0),k=J.createIntersectionTypeNode([...hP(s),h,...f.length?[J.createTypeLiteralNode(f)]:pt]);e.replaceNode(t,s,$ct(s,k))}var Tq,Xle,qct=p({"src/services/codefixes/convertToMappedObjectType.ts"(){Si(),Ga(),Tq="fixConvertToMappedObjectType",Xle=[v.An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead.code],Ua({errorCodes:Xle,getCodeActions:function(t){const{sourceFile:n,span:s}=t,l=$8e(n,s.start);if(!l)return;const f=Jn.ChangeTracker.with(t,g=>q8e(g,n,l)),d=ai(l.container.name);return[Na(Tq,f,[v.Convert_0_to_mapped_object_type,d],Tq,[v.Convert_0_to_mapped_object_type,d])]},fixIds:[Tq],getAllCodeActions:e=>oc(e,Xle,(t,n)=>{const s=$8e(n.file,n.start);s&&q8e(t,n.file,s)})})}}),Qle,W8e,Wct=p({"src/services/codefixes/removeAccidentalCallParentheses.ts"(){Si(),Ga(),Qle="removeAccidentalCallParentheses",W8e=[v.This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without.code],Ua({errorCodes:W8e,getCodeActions(e){const t=kn(Os(e.sourceFile,e.span.start),Da);if(!t)return;const n=Jn.ChangeTracker.with(e,s=>{s.deleteRange(e.sourceFile,{pos:t.expression.end,end:t.end})});return[Em(Qle,n,v.Remove_parentheses)]},fixIds:[Qle]})}});function H8e(e,t,n){const s=Pi(Os(t,n.start),g=>g.kind===133),l=s&&Pi(s.parent,g4);if(!l)return;let f=l;if(j_(l.parent)){const g=LP(l.expression,!1);if(Ye(g)){const h=fu(l.parent.pos,t);h&&h.kind!==103&&(f=l.parent)}}e.replaceNode(t,f,l.expression)}var Sq,Yle,Hct=p({"src/services/codefixes/removeUnnecessaryAwait.ts"(){Si(),Ga(),Sq="removeUnnecessaryAwait",Yle=[v.await_has_no_effect_on_the_type_of_this_expression.code],Ua({errorCodes:Yle,getCodeActions:function(t){const n=Jn.ChangeTracker.with(t,s=>H8e(s,t.sourceFile,t.span));if(n.length>0)return[Na(Sq,n,v.Remove_unnecessary_await,Sq,v.Remove_all_unnecessary_uses_of_await)]},fixIds:[Sq],getAllCodeActions:e=>oc(e,Yle,(t,n)=>H8e(t,n.file,n))})}});function G8e(e,t){return kn(Os(e,t.start),Nu)}function X8e(e,t,n){if(!t)return;const s=R.checkDefined(t.importClause);e.replaceNode(n.sourceFile,t,J.updateImportDeclaration(t,t.modifiers,J.updateImportClause(s,s.isTypeOnly,s.name,void 0),t.moduleSpecifier,t.assertClause)),e.insertNodeAfter(n.sourceFile,t,J.createImportDeclaration(void 0,J.updateImportClause(s,s.isTypeOnly,void 0,s.namedBindings),t.moduleSpecifier,t.assertClause))}var Zle,xq,Gct=p({"src/services/codefixes/splitTypeOnlyImport.ts"(){Si(),Ga(),Zle=[v.A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both.code],xq="splitTypeOnlyImport",Ua({errorCodes:Zle,fixIds:[xq],getCodeActions:function(t){const n=Jn.ChangeTracker.with(t,s=>X8e(s,G8e(t.sourceFile,t.span),t));if(n.length)return[Na(xq,n,v.Split_into_two_separate_import_declarations,xq,v.Split_all_invalid_type_only_imports)]},getAllCodeActions:e=>oc(e,Zle,(t,n)=>{X8e(t,G8e(e.sourceFile,n),e)})})}});function Q8e(e,t,n){var s;const f=n.getTypeChecker().getSymbolAtLocation(Os(e,t));if(f===void 0)return;const d=Pi((s=f==null?void 0:f.valueDeclaration)==null?void 0:s.parent,Of);if(d===void 0)return;const g=Yo(d,85,e);if(g!==void 0)return{symbol:f,token:g}}function Y8e(e,t,n){e.replaceNode(t,n,J.createToken(119))}var kq,Kle,Xct=p({"src/services/codefixes/convertConstToLet.ts"(){Si(),Ga(),kq="fixConvertConstToLet",Kle=[v.Cannot_assign_to_0_because_it_is_a_constant.code],Ua({errorCodes:Kle,getCodeActions:function(t){const{sourceFile:n,span:s,program:l}=t,f=Q8e(n,s.start,l);if(f===void 0)return;const d=Jn.ChangeTracker.with(t,g=>Y8e(g,n,f.token));return[rce(kq,d,v.Convert_const_to_let,kq,v.Convert_all_const_to_let)]},getAllCodeActions:e=>{const{program:t}=e,n=new Map;return Ow(Jn.ChangeTracker.with(e,s=>{Lw(e,Kle,l=>{const f=Q8e(l.file,l.start,t);if(f&&Tm(n,Ha(f.symbol)))return Y8e(s,l.file,f.token)})}))},fixIds:[kq]})}});function Z8e(e,t,n){const s=Os(e,t);return s.kind===26&&s.parent&&(cc(s.parent)||Nf(s.parent))?{node:s}:void 0}function K8e(e,t,{node:n}){const s=J.createToken(27);e.replaceNode(t,n,s)}var Cq,eNe,eue,Qct=p({"src/services/codefixes/fixExpectedComma.ts"(){Si(),Ga(),Cq="fixExpectedComma",eNe=v._0_expected.code,eue=[eNe],Ua({errorCodes:eue,getCodeActions(e){const{sourceFile:t}=e,n=Z8e(t,e.span.start,e.errorCode);if(!n)return;const s=Jn.ChangeTracker.with(e,l=>K8e(l,t,n));return[Na(Cq,s,[v.Change_0_to_1,";",","],Cq,[v.Change_0_to_1,";",","])]},fixIds:[Cq],getAllCodeActions:e=>oc(e,eue,(t,n)=>{const s=Z8e(n.file,n.start,n.code);s&&K8e(t,e.sourceFile,s)})})}});function tNe(e,t,n,s,l){const f=Os(t,n.start);if(!Ye(f)||!Da(f.parent)||f.parent.expression!==f||f.parent.arguments.length!==0)return;const d=s.getTypeChecker(),g=d.getSymbolAtLocation(f),h=g==null?void 0:g.valueDeclaration;if(!h||!ua(h)||!NT(h.parent.parent)||l!=null&&l.has(h))return;l==null||l.add(h);const k=Yct(h.parent.parent);if(Oe(k)){const S=k[0],w=!sw(S)&&!aw(S)&&aw(J.createUnionTypeNode([S,J.createKeywordTypeNode(114)]).types[0]);w&&e.insertText(t,S.pos,"("),e.insertText(t,S.end,w?") | void":" | void")}else{const S=d.getResolvedSignature(f.parent),w=S==null?void 0:S.parameters[0],N=w&&d.getTypeOfSymbolAtLocation(w,h.parent.parent);Mn(h)?(!N||N.flags&3)&&(e.insertText(t,h.parent.parent.end,")"),e.insertText(t,wo(t.text,h.parent.parent.pos),"/** @type {Promise<void>} */(")):(!N||N.flags&2)&&e.insertText(t,h.parent.parent.expression.end,"<void>")}}function Yct(e){var t;if(Mn(e)){if(j_(e.parent)){const n=(t=uT(e.parent))==null?void 0:t.typeExpression.type;if(n&&Gd(n)&&Ye(n.typeName)&&ai(n.typeName)==="Promise")return n.typeArguments}}else return e.typeArguments}var rNe,tue,rue,Zct=p({"src/services/codefixes/fixAddVoidToPromise.ts"(){Si(),Ga(),rNe="addVoidToPromise",tue="addVoidToPromise",rue=[v.Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments.code,v.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code],Ua({errorCodes:rue,fixIds:[tue],getCodeActions(e){const t=Jn.ChangeTracker.with(e,n=>tNe(n,e.sourceFile,e.span,e.program));if(t.length>0)return[Na(rNe,t,v.Add_void_to_Promise_resolved_without_a_value,tue,v.Add_void_to_all_Promises_resolved_without_a_value)]},getAllCodeActions(e){return oc(e,rue,(t,n)=>tNe(t,n.file,n,e.program,new Set))}})}}),Ff={};T(Ff,{PreserveOptionalFlags:()=>Jle,addNewNodeForMemberSymbol:()=>m8e,codeFixAll:()=>oc,createCodeFixAction:()=>Na,createCodeFixActionMaybeFixAll:()=>rce,createCodeFixActionWithoutFixAll:()=>Em,createCombinedCodeActions:()=>Ow,createFileTextChanges:()=>kAe,createImportAdder:()=>ok,createImportSpecifierResolver:()=>pat,createJsonPropertyAssignment:()=>fq,createMissingMemberNodes:()=>Ile,createSignatureDeclarationFromCallExpression:()=>Ole,createSignatureDeclarationFromSignature:()=>lq,createStubbedBody:()=>tL,eachDiagnostic:()=>Lw,findAncestorMatchingSpan:()=>jle,findJsonProperty:()=>Ble,generateAccessorFromProperty:()=>T8e,getAccessorConvertiblePropertyAtPosition:()=>k8e,getAllFixes:()=>Qit,getAllSupers:()=>Ule,getArgumentTypesAndTypeParameters:()=>y8e,getFixes:()=>Xit,getImportCompletionAction:()=>dat,getImportKind:()=>Pce,getNoopSymbolTrackerWithResolver:()=>Fw,getPromoteTypeOnlyCompletionAction:()=>mat,getSupportedErrorCodes:()=>Hit,importFixName:()=>Mce,importSymbols:()=>Rw,moduleSpecifierToValidIdentifier:()=>Lce,moduleSymbolToValidIdentifier:()=>Oce,parameterShouldGetTypeFromJSDoc:()=>VAe,registerCodeFix:()=>Ua,setJsonCompilerOptionValue:()=>Rle,setJsonCompilerOptionValues:()=>Fle,tryGetAutoImportableReferenceFromTypeNode:()=>lk,typeToAutoImportableTypeNode:()=>uq});var Ga=p({"src/services/_namespaces/ts.codefix.ts"(){Yit(),Zit(),Kit(),rst(),ost(),fst(),_st(),pst(),dst(),yst(),Ast(),Dst(),Ust(),sat(),aat(),cat(),lat(),uat(),_at(),Mat(),Bat(),Uat(),zat(),Vat(),Wat(),Xat(),Zat(),not(),pot(),mot(),hot(),yot(),vot(),bot(),Tot(),xot(),kot(),Cot(),wot(),Eot(),Pot(),Iot(),Fot(),$ot(),Wot(),Hot(),Qot(),Yot(),Kot(),ect(),cct(),lct(),uct(),hct(),Act(),Ict(),Fct(),Bct(),jct(),Jct(),Uct(),Vct(),qct(),Wct(),Hct(),Gct(),Xct(),Qct(),Zct()}});function Kct(e){return!!(e.kind&1)}function elt(e){return!!(e.kind&2)}function rL(e){return!!(e&&e.kind&4)}function Z4(e){return!!(e&&e.kind===32)}function tlt(e){return rL(e)||Z4(e)||nue(e)}function rlt(e){return(rL(e)||Z4(e))&&!!e.isFromPackageJson}function nlt(e){return!!(e.kind&8)}function ilt(e){return!!(e.kind&16)}function nNe(e){return!!(e&&e.kind&64)}function iNe(e){return!!(e&&e.kind&128)}function slt(e){return!!(e&&e.kind&256)}function nue(e){return!!(e&&e.kind&512)}function sNe(e,t,n,s,l,f,d,g,h){var k,S,w;const N=Jc(),O=d||XC(vl(s.getCompilerOptions()));let L=!1,U=0,M=0,W=0,X=0;const Z=h({tryResolve:ie,skippedAny:()=>L,resolvedAny:()=>M>0,resolvedBeyondLimit:()=>M>Lq}),ue=X?` (${(W/X*100).toFixed(1)}% hit rate)`:"";return(k=t.log)==null||k.call(t,`${e}: resolved ${M} module specifiers, plus ${U} ambient and ${W} from cache${ue}`),(S=t.log)==null||S.call(t,`${e}: response is ${L?"incomplete":"complete"}`),(w=t.log)==null||w.call(t,`${e}: ${Jc()-N}`),Z;function ie(se,V){if(V){const _e=n.getModuleSpecifierForBestExportInfo(se,l,g);return _e&&U++,_e||"failed"}const ve=O||f.allowIncompleteCompletions&&M<Lq,fe=!ve&&f.allowIncompleteCompletions&&X<due,Ce=ve||fe?n.getModuleSpecifierForBestExportInfo(se,l,g,fe):void 0;return(!ve&&!fe||fe&&!Ce)&&(L=!0),M+=(Ce==null?void 0:Ce.computedWithoutCacheCount)||0,W+=se.length-((Ce==null?void 0:Ce.computedWithoutCacheCount)||0),fe&&X++,Ce||(O?"failed":"skipped")}}function alt(e,t,n,s,l,f,d,g,h,k,S=!1){var w;const{previousToken:N}=Aq(l,s);if(d&&!rk(s,l,N)&&!Jlt(s,d,N,l))return;if(d===" ")return f.includeCompletionsForImportStatements&&f.includeCompletionsWithInsertText?{isGlobalCompletion:!0,isMemberCompletion:!1,isNewIdentifierLocation:!0,isIncomplete:!0,entries:[]}:void 0;const O=t.getCompilerOptions(),L=f.allowIncompleteCompletions?(w=e.getIncompleteCompletionsCache)==null?void 0:w.call(e):void 0;if(L&&g===3&&N&&Ye(N)){const W=olt(L,s,N,t,e,f,h,l);if(W)return W}else L==null||L.clear();const U=Mq.getStringLiteralCompletions(s,l,N,O,e,t,n,f,S);if(U)return U;if(N&&ZA(N.parent)&&(N.kind===81||N.kind===86||N.kind===79))return Clt(N.parent);const M=mNe(t,n,s,O,l,f,void 0,e,k,h);if(M)switch(M.kind){case 0:const W=flt(s,e,t,O,n,M,f,k,l,S);return W!=null&&W.isIncomplete&&(L==null||L.set(W)),W;case 1:return iue(r2.getJSDocTagNameCompletions());case 2:return iue(r2.getJSDocTagCompletions());case 3:return iue(r2.getJSDocParameterNameCompletions(M.tag));case 4:return llt(M.keywordCompletions,M.isNewIdentifierLocation);default:return R.assertNever(M)}}function nL(e,t){var n,s;let l=BI(e.sortText,t.sortText);return l===0&&(l=BI(e.name,t.name)),l===0&&((n=e.data)!=null&&n.moduleSpecifier)&&((s=t.data)!=null&&s.moduleSpecifier)&&(l=A5(e.data.moduleSpecifier,t.data.moduleSpecifier)),l===0?-1:l}function aNe(e){return!!(e!=null&&e.moduleSpecifier)}function olt(e,t,n,s,l,f,d,g){const h=e.get();if(!h)return;const k=Lp(t,g),S=n.text.toLowerCase(),w=j9(t,l,s,f,d),N=sNe("continuePreviousIncompleteResponse",l,Ff.createImportSpecifierResolver(t,s,l,f),s,n.getStart(),f,!1,YC(n),O=>{const L=fr(h.entries,U=>{var M;if(!U.hasAction||!U.source||!U.data||aNe(U.data))return U;if(!ANe(U.name,S))return;const{origin:W}=R.checkDefined(hNe(U.name,U.data,s,l)),X=w.get(t.path,U.data.exportMapKey),Z=X&&O.tryResolve(X,!wu($d(W.moduleSymbol.name)));if(Z==="skipped")return U;if(!Z||Z==="failed"){(M=l.log)==null||M.call(l,`Unexpected failure resolving auto import for '${U.name}' from '${U.source}'`);return}const ue={...W,kind:32,moduleSpecifier:Z.moduleSpecifier};return U.data=_Ne(ue),U.source=oue(ue),U.sourceDisplay=[Mp(ue.moduleSpecifier)],U});return O.skippedAny()||(h.isIncomplete=void 0),L});return h.entries=N,h.flags=(h.flags||0)|4,h.optionalReplacementSpan=cNe(k),h}function iue(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:e}}function clt(e){return{name:qa(e),kind:"keyword",kindModifiers:"",sortText:Qu.GlobalsOrKeywords}}function llt(e,t){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:t,entries:e.slice()}}function oNe(e,t,n){return{kind:4,keywordCompletions:gNe(e,t),isNewIdentifierLocation:n}}function ult(e){switch(e){case 154:return 8;default:R.fail("Unknown mapping from SyntaxKind to KeywordCompletionFilters")}}function cNe(e){return(e==null?void 0:e.kind)===79?Zf(e):void 0}function flt(e,t,n,s,l,f,d,g,h,k){const{symbols:S,contextToken:w,completionKind:N,isInSnippetScope:O,isNewIdentifierLocation:L,location:U,propertyAccessToConvert:M,keywordFilters:W,symbolToOriginInfoMap:X,recommendedCompletion:Z,isJsxInitializer:ue,isTypeOnlyLocation:ie,isJsxIdentifierExpected:se,isRightOfOpenTag:V,isRightOfDotOrQuestionDot:ve,importStatementCompletion:fe,insideJsDocTagTypeExpression:Ce,symbolToSortTextMap:_e,hasUnresolvedAutoImports:K}=f;let ge=f.literals;const Se=n.getTypeChecker();if(T5(e.scriptKind)===1){const Ge=plt(U,e);if(Ge)return Ge}const we=kn(w,cD);if(we&&(WSe(w)||wx(w,we.expression))){const Ge=SV(Se,we.parent.clauses);ge=ge.filter(tt=>!Ge.hasValue(tt)),S.forEach((tt,Je)=>{if(tt.valueDeclaration&&LT(tt.valueDeclaration)){const qe=Se.getConstantValue(tt.valueDeclaration);qe!==void 0&&Ge.hasValue(qe)&&(X[Je]={kind:256})}})}const Pe=Za(),le=lNe(e,s);if(le&&!L&&(!S||S.length===0)&&W===0)return;const ot=cue(S,Pe,void 0,w,U,h,e,t,n,Io(s),l,N,d,s,g,ie,M,se,ue,fe,Z,X,_e,se,V,k);if(W!==0)for(const Ge of gNe(W,!Ce&&Gf(e)))(ie&&JD(ux(Ge.name))||!ot.has(Ge.name))&&(ot.add(Ge.name),la(Pe,Ge,nL,!0));for(const Ge of Mlt(w,h))ot.has(Ge.name)||(ot.add(Ge.name),la(Pe,Ge,nL,!0));for(const Ge of ge){const tt=mlt(e,d,Ge);ot.add(tt.name),la(Pe,tt,nL,!0)}le||dlt(e,U.pos,ot,Io(s),Pe);let Qe;if(d.includeCompletionsWithInsertText&&w&&!V&&!ve&&(Qe=kn(w,sO))){const Ge=uNe(Qe,e,d,s,t,n,g);Ge&&Pe.push(Ge.entry)}return{flags:f.flags,isGlobalCompletion:O,isIncomplete:d.allowIncompleteCompletions&&K?!0:void 0,isMemberCompletion:_lt(N),isNewIdentifierLocation:L,optionalReplacementSpan:cNe(U),entries:Pe}}function lNe(e,t){return!Gf(e)||!!I5(e,t)}function uNe(e,t,n,s,l,f,d){const g=e.clauses,h=f.getTypeChecker(),k=h.getTypeAtLocation(e.parent.expression);if(k&&k.isUnion()&&ut(k.types,S=>S.isLiteral())){const S=SV(h,g),w=Io(s),N=wm(t,n),O=Ff.createImportAdder(t,f,n,l),L=[];for(const ie of k.types)if(ie.flags&1024){R.assert(ie.symbol,"An enum member type should have a symbol"),R.assert(ie.symbol.parent,"An enum member type should have a parent symbol (the enum symbol)");const se=ie.symbol.valueDeclaration&&h.getConstantValue(ie.symbol.valueDeclaration);if(se!==void 0){if(S.hasValue(se))continue;S.addValue(se)}const V=Ff.typeToAutoImportableTypeNode(h,O,ie,e,w);if(!V)return;const ve=wq(V,w,N);if(!ve)return;L.push(ve)}else if(!S.hasValue(ie.value))switch(typeof ie.value){case"object":L.push(ie.value.negative?J.createPrefixUnaryExpression(40,J.createBigIntLiteral({negative:!1,base10Value:ie.value.base10Value})):J.createBigIntLiteral(ie.value));break;case"number":L.push(ie.value<0?J.createPrefixUnaryExpression(40,J.createNumericLiteral(-ie.value)):J.createNumericLiteral(ie.value));break;case"string":L.push(J.createStringLiteral(ie.value,N===0));break}if(L.length===0)return;const U=qt(L,ie=>J.createCaseClause(ie,[])),M=Zb(l,d==null?void 0:d.options),W=aue({removeComments:!0,module:s.module,target:s.target,newLine:B9(M)}),X=d?ie=>W.printAndFormatNode(4,ie,t,d):ie=>W.printNode(4,ie,t),Z=qt(U,(ie,se)=>n.includeCompletionsWithSnippetText?`${X(ie)}$${se+1}`:`${X(ie)}`).join(M);return{entry:{name:`${W.printNode(4,U[0],t)} ...`,kind:"",sortText:Qu.GlobalsOrKeywords,insertText:Z,hasAction:O.hasFixes()||void 0,source:"SwitchCases/",isSnippet:n.includeCompletionsWithSnippetText?!0:void 0},importAdder:O}}}function wq(e,t,n){switch(e.kind){case 180:const s=e.typeName;return Eq(s,t,n);case 196:const l=wq(e.objectType,t,n),f=wq(e.indexType,t,n);return l&&f&&J.createElementAccessExpression(l,f);case 198:const d=e.literal;switch(d.kind){case 10:return J.createStringLiteral(d.text,n===0);case 8:return J.createNumericLiteral(d.text,d.numericLiteralFlags)}return;case 193:const g=wq(e.type,t,n);return g&&(Ye(g)?g:J.createParenthesizedExpression(g));case 183:return Eq(e.exprName,t,n);case 202:R.fail("We should not get an import type after calling 'codefix.typeToAutoImportableTypeNode'.")}}function Eq(e,t,n){if(Ye(e))return e;const s=Ds(e.right.escapedText);return mte(s,t)?J.createPropertyAccessExpression(Eq(e.left,t,n),s):J.createElementAccessExpression(Eq(e.left,t,n),J.createStringLiteral(s,n===0))}function _lt(e){switch(e){case 0:case 3:case 2:return!0;default:return!1}}function plt(e,t){const n=kn(e,s=>{switch(s.kind){case 284:return!0;case 43:case 31:case 79:case 208:return!1;default:return"quit"}});if(n){const s=!!Yo(n,31,t),d=n.parent.openingElement.tagName.getText(t)+(s?"":">"),g=Zf(n.tagName),h={name:d,kind:"class",kindModifiers:void 0,sortText:Qu.LocationPriority};return{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:!1,optionalReplacementSpan:g,entries:[h]}}}function dlt(e,t,n,s,l){Joe(e).forEach((f,d)=>{if(f===t)return;const g=Ds(d);!n.has(g)&&Bd(g,s)&&(n.add(g),la(l,{name:g,kind:"warning",kindModifiers:"",sortText:Qu.JavascriptIdentifiers,isFromUncheckedFile:!0},nL))})}function sue(e,t,n){return typeof n=="object"?AT(n)+"n":ha(n)?$D(e,t,n):JSON.stringify(n)}function mlt(e,t,n){return{name:sue(e,t,n),kind:"string",kindModifiers:"",sortText:Qu.LocationPriority}}function hlt(e,t,n,s,l,f,d,g,h,k,S,w,N,O,L,U,M,W,X,Z,ue,ie,se,V){let ve,fe=wae(n),Ce,_e,K=oue(w),ge,Se,we;const Pe=h.getTypeChecker(),le=w&&ilt(w),ot=w&&elt(w)||S;if(w&&Kct(w))ve=S?`this${le?"?.":""}[${pNe(d,X,k)}]`:`this${le?"?.":"."}${k}`;else if((ot||le)&&O){ve=ot?S?`[${pNe(d,X,k)}]`:`[${k}]`:k,(le||O.questionDotToken)&&(ve=`?.${ve}`);const Qe=Yo(O,24,d)||Yo(O,28,d);if(!Qe)return;const Ge=Qs(k,O.name.text)?O.name.end:Qe.end;fe=eu(Qe.getStart(d),Ge)}if(L&&(ve===void 0&&(ve=k),ve=`{${ve}}`,typeof L!="boolean"&&(fe=Zf(L,d))),w&&nlt(w)&&O){ve===void 0&&(ve=k);const Qe=fu(O.pos,d);let Ge="";Qe&&uV(Qe.end,Qe.parent,d)&&(Ge=";"),Ge+=`(await ${O.expression.getText()})`,ve=S?`${Ge}${ve}`:`${Ge}${le?"?.":"."}${ve}`;const Je=Pi(O.parent,g4)?O.parent:O.expression;fe=eu(Je.getStart(d),O.end)}if(Z4(w)&&(ge=[Mp(w.moduleSpecifier)],U&&({insertText:ve,replacementSpan:fe}=xlt(k,U,w,M,d,W,X),_e=X.includeCompletionsWithSnippetText?!0:void 0)),(w==null?void 0:w.kind)===64&&(Se=!0),X.includeCompletionsWithClassMemberSnippets&&X.includeCompletionsWithInsertText&&Z===3&&glt(e,l,d)){let Qe;({insertText:ve,isSnippet:_e,importAdder:Qe,replacementSpan:fe}=fNe(g,h,W,X,k,e,l,f,s,ue)),t=Qu.ClassMemberSnippets,Qe!=null&&Qe.hasFixes()&&(Se=!0,K="ClassMemberSnippet/")}if(w&&iNe(w)&&({insertText:ve,isSnippet:_e,labelDetails:we}=w,X.useLabelDetailsInCompletionEntries||(k=k+we.detail,we=void 0),K="ObjectLiteralMethodSnippet/",t=Qu.SortBelow(t)),ie&&!se&&X.includeCompletionsWithSnippetText&&X.jsxAttributeCompletionStyle&&X.jsxAttributeCompletionStyle!=="none"&&!(oh(l.parent)&&l.parent.initializer)){let Qe=X.jsxAttributeCompletionStyle==="braces";const Ge=Pe.getTypeOfSymbolAtLocation(e,l);X.jsxAttributeCompletionStyle==="auto"&&!(Ge.flags&528)&&!(Ge.flags&1048576&&He(Ge.types,tt=>!!(tt.flags&528)))&&(Ge.flags&402653316||Ge.flags&1048576&&ut(Ge.types,tt=>!!(tt.flags&402686084||q6e(tt)))?(ve=`${Ox(k)}=${$D(d,X,"$1")}`,_e=!0):Qe=!0),Qe&&(ve=`${Ox(k)}={$1}`,_e=!0)}if(!(ve!==void 0&&!X.includeCompletionsWithInsertText))return(rL(w)||Z4(w))&&(Ce=_Ne(w),Se=!U),{name:k,kind:p1.getSymbolKind(Pe,e,l),kindModifiers:p1.getSymbolModifiers(Pe,e),sortText:t,source:K,hasAction:Se?!0:void 0,isRecommended:klt(e,N,Pe)||void 0,insertText:ve,replacementSpan:fe,sourceDisplay:ge,labelDetails:we,isSnippet:_e,isPackageJsonImport:rlt(w)||void 0,isImportStatementCompletion:!!U||void 0,data:Ce,...V?{symbol:e}:void 0}}function glt(e,t,n){if(Mn(t))return!1;const s=106500;return!!(e.flags&s)&&(Ri(t)||t.parent&&t.parent.parent&&Eu(t.parent)&&t===t.parent.name&&t.parent.getLastToken(n)===t.parent.name&&Ri(t.parent.parent)||t.parent&&x4(t)&&Ri(t.parent))}function fNe(e,t,n,s,l,f,d,g,h,k){const S=kn(d,Ri);if(!S)return{insertText:l};let w,N,O=l;const L=t.getTypeChecker(),U=d.getSourceFile(),M=aue({removeComments:!0,module:n.module,target:n.target,omitTrailingSemicolon:!1,newLine:B9(Zb(e,k==null?void 0:k.options))}),W=Ff.createImportAdder(U,t,s,e);let X;if(s.includeCompletionsWithSnippetText){w=!0;const ve=J.createEmptyStatement();X=J.createBlock([ve],!0),Hte(ve,{kind:0,order:0})}else X=J.createBlock([],!0);let Z=0;const{modifiers:ue,span:ie}=ylt(h,U,g),se=!!(ue&256),V=[];return Ff.addNewNodeForMemberSymbol(f,S,U,{program:t,host:e},s,W,ve=>{let fe=0;se&&(fe|=256),Eu(ve)&&L.getMemberOverrideModifierStatus(S,ve,f)===1&&(fe|=16384),V.length||(Z=ve.modifierFlagsCache|fe|ue),ve=J.updateModifiers(ve,Z),V.push(ve)},X,Ff.PreserveOptionalFlags.Property,se),V.length&&(N=ie,k?O=M.printAndFormatSnippetList(131073,J.createNodeArray(V),U,k):O=M.printSnippetList(131073,J.createNodeArray(V),U)),{insertText:O,isSnippet:w,importAdder:W,replacementSpan:N}}function ylt(e,t,n){if(!e||zc(t,n).line>zc(t,e.getEnd()).line)return{modifiers:0};let s=0,l,f;return(f=vlt(e))&&(s|=qC(f),l=Zf(e)),Pa(e.parent)&&(s|=Qh(e.parent.modifiers)&126975,l=Zf(e.parent)),{modifiers:s,span:l}}function vlt(e){if(ja(e))return e.kind;if(Ye(e)){const t=Lb(e);if(t&&G0(t))return t}}function blt(e,t,n,s,l,f,d,g){const h=d.includeCompletionsWithSnippetText||void 0;let k=t;const S=n.getSourceFile(),w=Tlt(e,n,S,s,l,d);if(!w)return;const N=aue({removeComments:!0,module:f.module,target:f.target,omitTrailingSemicolon:!1,newLine:B9(Zb(l,g==null?void 0:g.options))});g?k=N.printAndFormatSnippetList(80,J.createNodeArray([w],!0),S,g):k=N.printSnippetList(80,J.createNodeArray([w],!0),S);const O=zT({removeComments:!0,module:f.module,target:f.target,omitTrailingSemicolon:!0}),L=J.createMethodSignature(void 0,"",w.questionToken,w.typeParameters,w.parameters,w.type),U={detail:O.printNode(4,L,S)};return{isSnippet:h,insertText:k,labelDetails:U}}function Tlt(e,t,n,s,l,f){const d=e.getDeclarations();if(!(d&&d.length))return;const g=s.getTypeChecker(),h=d[0],k=pl(ra(h),!1),S=g.getWidenedType(g.getTypeOfSymbolAtLocation(e,t)),N=33554432|(wm(n,f)===0?268435456:0);switch(h.kind){case 168:case 169:case 170:case 171:{let O=S.flags&1048576&&S.types.length<10?g.getUnionType(S.types,2):S;if(O.flags&1048576){const X=hr(O.types,Z=>g.getSignaturesOfType(Z,0).length>0);if(X.length===1)O=X[0];else return}if(g.getSignaturesOfType(O,0).length!==1)return;const U=g.typeToTypeNode(O,t,N,Ff.getNoopSymbolTrackerWithResolver({program:s,host:l}));if(!U||!Vg(U))return;let M;if(f.includeCompletionsWithSnippetText){const X=J.createEmptyStatement();M=J.createBlock([X],!0),Hte(X,{kind:0,order:0})}else M=J.createBlock([],!0);const W=U.parameters.map(X=>J.createParameterDeclaration(void 0,X.dotDotDotToken,X.name,void 0,void 0,X.initializer));return J.createMethodDeclaration(void 0,void 0,k,void 0,void 0,W,void 0,M)}default:return}}function aue(e){let t;const n=Jn.createWriter(Vb(e)),s=zT(e,n),l={...n,write:N=>f(N,()=>n.write(N)),nonEscapingWrite:n.write,writeLiteral:N=>f(N,()=>n.writeLiteral(N)),writeStringLiteral:N=>f(N,()=>n.writeStringLiteral(N)),writeSymbol:(N,O)=>f(N,()=>n.writeSymbol(N,O)),writeParameter:N=>f(N,()=>n.writeParameter(N)),writeComment:N=>f(N,()=>n.writeComment(N)),writeProperty:N=>f(N,()=>n.writeProperty(N))};return{printSnippetList:d,printAndFormatSnippetList:h,printNode:k,printAndFormatNode:w};function f(N,O){const L=Ox(N);if(L!==N){const U=n.getTextPos();O();const M=n.getTextPos();t=$r(t||(t=[]),{newText:L,span:{start:U,length:M-U}})}else O()}function d(N,O,L){const U=g(N,O,L);return t?Jn.applyChanges(U,t):U}function g(N,O,L){return t=void 0,l.clear(),s.writeList(N,O,L,l),l.getText()}function h(N,O,L,U){const M={text:g(N,O,L),getLineAndCharacterOfPosition(ue){return zc(this,ue)}},W=TV(U,L),X=mn(O,ue=>{const ie=Jn.assignPositionsToNode(ue);return _u.formatNodeGivenIndentation(ie,M,L.languageVariant,0,0,{...U,options:W})}),Z=t?U0(Cr(X,t),(ue,ie)=>UR(ue.span,ie.span)):X;return Jn.applyChanges(M.text,Z)}function k(N,O,L){const U=S(N,O,L);return t?Jn.applyChanges(U,t):U}function S(N,O,L){return t=void 0,l.clear(),s.writeNode(N,O,L,l),l.getText()}function w(N,O,L,U){const M={text:S(N,O,L),getLineAndCharacterOfPosition(ie){return zc(this,ie)}},W=TV(U,L),X=Jn.assignPositionsToNode(O),Z=_u.formatNodeGivenIndentation(X,M,L.languageVariant,0,0,{...U,options:W}),ue=t?U0(Cr(Z,t),(ie,se)=>UR(ie.span,se.span)):Z;return Jn.applyChanges(M.text,ue)}}function _Ne(e){const t=e.fileName?void 0:$d(e.moduleSymbol.name),n=e.isFromPackageJson?!0:void 0;return Z4(e)?{exportName:e.exportName,exportMapKey:e.exportMapKey,moduleSpecifier:e.moduleSpecifier,ambientModuleName:t,fileName:e.fileName,isPackageJsonImport:n}:{exportName:e.exportName,exportMapKey:e.exportMapKey,fileName:e.fileName,ambientModuleName:e.fileName?void 0:$d(e.moduleSymbol.name),isPackageJsonImport:e.isFromPackageJson?!0:void 0}}function Slt(e,t,n){const s=e.exportName==="default",l=!!e.isPackageJsonImport;return aNe(e)?{kind:32,exportName:e.exportName,exportMapKey:e.exportMapKey,moduleSpecifier:e.moduleSpecifier,symbolName:t,fileName:e.fileName,moduleSymbol:n,isDefaultExport:s,isFromPackageJson:l}:{kind:4,exportName:e.exportName,exportMapKey:e.exportMapKey,symbolName:t,fileName:e.fileName,moduleSymbol:n,isDefaultExport:s,isFromPackageJson:l}}function xlt(e,t,n,s,l,f,d){const g=t.replacementSpan,h=$D(l,d,Ox(n.moduleSpecifier)),k=n.isDefaultExport?1:n.exportName==="export="?2:0,S=d.includeCompletionsWithSnippetText?"$1":"",w=Ff.getImportKind(l,k,f,!0),N=t.couldBeTypeOnlyImportSpecifier,O=t.isTopLevelTypeOnly?` ${qa(154)} `:" ",L=N?`${qa(154)} `:"",U=s?";":"";switch(w){case 3:return{replacementSpan:g,insertText:`import${O}${Ox(e)}${S} = require(${h})${U}`};case 1:return{replacementSpan:g,insertText:`import${O}${Ox(e)}${S} from ${h}${U}`};case 2:return{replacementSpan:g,insertText:`import${O}* as ${Ox(e)} from ${h}${U}`};case 0:return{replacementSpan:g,insertText:`import${O}{ ${L}${Ox(e)}${S} } from ${h}${U}`}}}function pNe(e,t,n){return/^\d+$/.test(n)?n:$D(e,t,n)}function klt(e,t,n){return e===t||!!(e.flags&1048576)&&n.getExportSymbolOfSymbol(e)===t}function oue(e){if(rL(e))return $d(e.moduleSymbol.name);if(Z4(e))return e.moduleSpecifier;if((e==null?void 0:e.kind)===1)return"ThisProperty/";if((e==null?void 0:e.kind)===64)return"TypeOnlyAlias/"}function cue(e,t,n,s,l,f,d,g,h,k,S,w,N,O,L,U,M,W,X,Z,ue,ie,se,V,ve,fe=!1){var Ce;const _e=Jc(),K=qlt(l),ge=fV(d),Se=h.getTypeChecker(),we=new Map;for(let le=0;le<e.length;le++){const ot=e[le],Qe=ie==null?void 0:ie[le],Ge=Pq(ot,k,Qe,w,!!W);if(!Ge||we.get(Ge.name)&&(!Qe||!iNe(Qe))||w===1&&se&&!Pe(ot,se))continue;const{name:tt,needsConvertPropertyAccess:Je}=Ge,qe=(Ce=se==null?void 0:se[Ha(ot)])!=null?Ce:Qu.LocationPriority,st=Hlt(ot,Se)?Qu.Deprecated(qe):qe,Ke=hlt(ot,st,n,s,l,f,d,g,h,tt,Je,Qe,ue,M,X,Z,ge,O,N,w,L,V,ve,fe);if(!Ke)continue;const We=(!Qe||nNe(Qe))&&!(ot.parent===void 0&&!Oe(ot.declarations,gt=>gt.getSourceFile()===l.getSourceFile()));we.set(tt,We),la(t,Ke,nL,!0)}return S("getCompletionsAtPosition: getCompletionEntriesFromSymbols: "+(Jc()-_e)),{has:le=>we.has(le),add:le=>we.set(le,!0)};function Pe(le,ot){let Qe=le.flags;if(!bs(l)){if(Tl(l.parent))return!0;if(K&&le.valueDeclaration===K)return!1;const Ge=fp(le,Se);if(d.externalModuleIndicator&&!O.allowUmdGlobalAccess&&ot[Ha(le)]===Qu.GlobalsOrKeywords&&(ot[Ha(Ge)]===Qu.AutoImportSuggestions||ot[Ha(Ge)]===Qu.LocationPriority))return!1;if(Qe|=NP(Ge),Lz(l))return!!(Qe&1920);if(U)return pue(le,Se)}return!!(Qe&111551)}}function Clt(e){const t=wlt(e);if(t.length)return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:t}}function wlt(e){const t=[],n=new Map;let s=e;for(;s&&!Sa(s);){if(IT(s)){const l=s.label.text;n.has(l)||(n.set(l,!0),t.push({name:l,kindModifiers:"",kind:"label",sortText:Qu.LocationPriority}))}s=s.parent}return t}function dNe(e,t,n,s,l,f,d){if(l.source==="SwitchCases/")return{type:"cases"};if(l.data){const Z=hNe(l.name,l.data,e,f);if(Z){const{contextToken:ue,previousToken:ie}=Aq(s,n);return{type:"symbol",symbol:Z.symbol,location:Lp(n,s),previousToken:ie,contextToken:ue,isJsxInitializer:!1,isTypeOnlyLocation:!1,origin:Z.origin}}}const g=e.getCompilerOptions(),h=mNe(e,t,n,g,s,{includeCompletionsForModuleExports:!0,includeCompletionsWithInsertText:!0},l,f,void 0);if(!h)return{type:"none"};if(h.kind!==0)return{type:"request",request:h};const{symbols:k,literals:S,location:w,completionKind:N,symbolToOriginInfoMap:O,contextToken:L,previousToken:U,isJsxInitializer:M,isTypeOnlyLocation:W}=h,X=He(S,Z=>sue(n,d,Z)===l.name);return X!==void 0?{type:"literal",literal:X}:ze(k,(Z,ue)=>{const ie=O[ue],se=Pq(Z,Io(g),ie,N,h.isJsxIdentifierExpected);return se&&se.name===l.name&&(l.source==="ClassMemberSnippet/"&&Z.flags&106500||l.source==="ObjectLiteralMethodSnippet/"&&Z.flags&8196||oue(ie)===l.source)?{type:"symbol",symbol:Z,location:w,origin:ie,contextToken:L,previousToken:U,isJsxInitializer:M,isTypeOnlyLocation:W}:void 0})||{type:"none"}}function Elt(e,t,n,s,l,f,d,g,h){const k=e.getTypeChecker(),S=e.getCompilerOptions(),{name:w,source:N,data:O}=l,{previousToken:L,contextToken:U}=Aq(s,n);if(rk(n,s,L))return Mq.getStringLiteralCompletionDetails(w,n,s,L,k,S,f,h,g);const M=dNe(e,t,n,s,l,f,g);switch(M.type){case"request":{const{request:W}=M;switch(W.kind){case 1:return r2.getJSDocTagNameCompletionDetails(w);case 2:return r2.getJSDocTagCompletionDetails(w);case 3:return r2.getJSDocParameterNameCompletionDetails(w);case 4:return Oe(W.keywordCompletions,X=>X.name===w)?lue(w,"keyword",5):void 0;default:return R.assertNever(W)}}case"symbol":{const{symbol:W,location:X,contextToken:Z,origin:ue,previousToken:ie}=M,{codeActions:se,sourceDisplay:V}=Alt(w,X,Z,ue,W,e,f,S,n,s,ie,d,g,O,N,h),ve=nue(ue)?ue.symbolName:W.name;return uue(W,ve,k,n,X,h,se,V)}case"literal":{const{literal:W}=M;return lue(sue(n,g,W),"string",typeof W=="string"?8:7)}case"cases":{const{entry:W,importAdder:X}=uNe(U.parent,n,g,e.getCompilerOptions(),f,e,void 0);if(X.hasFixes()){const Z=Jn.ChangeTracker.with({host:f,formatContext:d,preferences:g},X.writeFixes);return{name:W.name,kind:"",kindModifiers:"",displayParts:[],sourceDisplay:void 0,codeActions:[{changes:Z,description:Aw([v.Includes_imports_of_types_referenced_by_0,w])}]}}return{name:W.name,kind:"",kindModifiers:"",displayParts:[],sourceDisplay:void 0}}case"none":return yue().some(W=>W.name===w)?lue(w,"keyword",5):void 0;default:R.assertNever(M)}}function lue(e,t,n){return iL(e,"",t,[x_(e,n)])}function uue(e,t,n,s,l,f,d,g){const{displayParts:h,documentation:k,symbolKind:S,tags:w}=n.runWithCancellationToken(f,N=>p1.getSymbolDisplayPartsDocumentationAndSymbolKind(N,e,s,l,l,7));return iL(t,p1.getSymbolModifiers(n,e),S,h,k,w,d,g)}function iL(e,t,n,s,l,f,d,g){return{name:e,kindModifiers:t,kind:n,displayParts:s,documentation:l,tags:f,codeActions:d,source:g,sourceDisplay:g}}function Alt(e,t,n,s,l,f,d,g,h,k,S,w,N,O,L,U){if(O!=null&&O.moduleSpecifier&&S&&kNe(n||S).replacementSpan)return{codeActions:void 0,sourceDisplay:[Mp(O.moduleSpecifier)]};if(L==="ClassMemberSnippet/"){const{importAdder:se}=fNe(d,f,g,N,e,l,t,k,n,w);if(se)return{sourceDisplay:void 0,codeActions:[{changes:Jn.ChangeTracker.with({host:d,formatContext:w,preferences:N},se.writeFixes),description:Aw([v.Includes_imports_of_types_referenced_by_0,e])}]}}if(nNe(s)){const se=Ff.getPromoteTypeOnlyCompletionAction(h,s.declaration.name,f,d,w,N);return R.assertIsDefined(se,"Expected to have a code action for promoting type-only alias"),{codeActions:[se],sourceDisplay:void 0}}if(!s||!(rL(s)||Z4(s)))return{codeActions:void 0,sourceDisplay:void 0};const M=s.isFromPackageJson?d.getPackageJsonAutoImportProvider().getTypeChecker():f.getTypeChecker(),{moduleSymbol:W}=s,X=M.getMergedSymbol(fp(l.exportSymbol||l,M)),Z=(n==null?void 0:n.kind)===29&&Hf(n.parent),{moduleSpecifier:ue,codeAction:ie}=Ff.getImportCompletionAction(X,W,O==null?void 0:O.exportMapKey,h,e,Z,d,f,w,S&&Ye(S)?S.getStart(h):k,N,U);return R.assert(!(O!=null&&O.moduleSpecifier)||ue===O.moduleSpecifier),{sourceDisplay:[Mp(ue)],codeActions:[ie]}}function Plt(e,t,n,s,l,f,d){const g=dNe(e,t,n,s,l,f,d);return g.type==="symbol"?g.symbol:void 0}function Dlt(e,t,n){return ze(t&&(t.isUnion()?t.types:[t]),s=>{const l=s&&s.symbol;return l&&l.flags&424&&!vTe(l)?fue(l,e,n):void 0})}function Nlt(e,t,n,s){const{parent:l}=e;switch(e.kind){case 79:return oV(e,s);case 63:switch(l.kind){case 257:return s.getContextualType(l.initializer);case 223:return s.getTypeAtLocation(l.left);case 288:return s.getContextualTypeForJsxAttribute(l);default:return}case 103:return s.getContextualType(l);case 82:const f=Pi(l,cD);return f?Gae(f,s):void 0;case 18:return oD(l)&&!s1(l.parent)&&!dw(l.parent)?s.getContextualTypeForJsxAttribute(l.parent):void 0;default:const d=AL.getArgumentInfoForCompletions(e,t,n);return d?s.getContextualTypeForArgumentAtIndex(d.invocation,d.argumentIndex+(e.kind===27?1:0)):cV(e.kind)&&$n(l)&&cV(l.operatorToken.kind)?s.getTypeAtLocation(l.left):s.getContextualType(e)}}function fue(e,t,n){const s=n.getAccessibleSymbolChain(e,t,67108863,!1);return s?Uo(s):e.parent&&(Ilt(e.parent)?e:fue(e.parent,t,n))}function Ilt(e){var t;return!!((t=e.declarations)!=null&&t.some(n=>n.kind===308))}function mNe(e,t,n,s,l,f,d,g,h,k){const S=e.getTypeChecker(),w=lNe(n,s);let N=Jc(),O=Os(n,l);t("getCompletionData: Get current token: "+(Jc()-N)),N=Jc();const L=l1(n,l,O);t("getCompletionData: Is inside comment: "+(Jc()-N));let U=!1,M=!1;if(L){if(V6e(n,l)){if(n.text.charCodeAt(l-1)===64)return{kind:1};{const Be=kd(l,n);if(!/[^\*|\s(/)]/.test(n.text.substring(Be,l)))return{kind:2}}}const ce=Flt(O,l);if(ce){if(ce.tagName.pos<=l&&l<=ce.tagName.end)return{kind:1};const Be=xr(ce);if(Be&&(O=Os(n,l),(!O||!By(O)&&(O.parent.kind!==351||O.parent.name!==O))&&(U=$e(Be))),!U&&ch(ce)&&(cl(ce.name)||ce.name.pos<=l&&l<=ce.name.end))return{kind:3,tag:ce}}if(!U){t("Returning an empty list because completion was inside a regular comment or plain text part of a JsDoc comment.");return}}N=Jc();const W=!U&&Gf(n),X=Aq(l,n),Z=X.previousToken;let ue=X.contextToken;t("getCompletionData: Get previous token: "+(Jc()-N));let ie=O,se,V=!1,ve=!1,fe=!1,Ce=!1,_e=!1,K=!1,ge,Se=Lp(n,l),we=0,Pe=!1,le=0;if(ue){const ce=kNe(ue);if(ce.keywordCompletion){if(ce.isKeywordOnlyCompletion)return{kind:4,keywordCompletions:[clt(ce.keywordCompletion)],isNewIdentifierLocation:ce.isNewIdentifierLocation};we=ult(ce.keywordCompletion)}if(ce.replacementSpan&&f.includeCompletionsForImportStatements&&f.includeCompletionsWithInsertText&&(le|=2,ge=ce,Pe=ce.isNewIdentifierLocation),!ce.replacementSpan&&Tr(ue))return t("Returning an empty list because completion was requested in an invalid position."),we?oNe(we,W,Xn()):void 0;let Be=ue.parent;if(ue.kind===24||ue.kind===28)switch(V=ue.kind===24,ve=ue.kind===28,Be.kind){case 208:se=Be,ie=se.expression;const te=OP(se);if(cl(te)||(Da(ie)||Sa(ie))&&ie.end===ue.pos&&ie.getChildCount(n)&&ko(ie.getChildren(n)).kind!==21)return;break;case 163:ie=Be.left;break;case 264:ie=Be.name;break;case 202:ie=Be;break;case 233:ie=Be.getFirstToken(n),R.assert(ie.kind===100||ie.kind===103);break;default:return}else if(!ge){if(Be&&Be.kind===208&&(ue=Be,Be=Be.parent),O.parent===Se)switch(O.kind){case 31:(O.parent.kind===281||O.parent.kind===283)&&(Se=O);break;case 43:O.parent.kind===282&&(Se=O);break}switch(Be.kind){case 284:ue.kind===43&&(Ce=!0,Se=ue);break;case 223:if(!xNe(Be))break;case 282:case 281:case 283:K=!0,ue.kind===29&&(fe=!0,Se=ue);break;case 291:case 290:(Z.kind===19||Z.kind===79&&Z.parent.kind===288)&&(K=!0);break;case 288:if(Be.initializer===Z&&Z.end<l){K=!0;break}switch(Z.kind){case 63:_e=!0;break;case 79:K=!0,Be!==Z.parent&&!Be.initializer&&Yo(Be,63,n)&&(_e=Z)}break}}}const ot=Jc();let Qe=5,Ge=!1,tt=!1,Je=[],qe;const st=[],Ke=[],We=new Map,gt=Rr(),jt=Bh(ce=>ww(ce?g.getPackageJsonAutoImportProvider():e,g));if(V||ve)dr();else if(fe)Je=S.getJsxIntrinsicTagNamesAt(Se),R.assertEachIsDefined(Je,"getJsxIntrinsicTagNames() should all be defined"),mr(),Qe=1,we=0;else if(Ce){const ce=ue.parent.parent.openingElement.tagName,Be=S.getSymbolAtLocation(ce);Be&&(Je=[Be]),Qe=1,we=0}else if(!mr())return we?oNe(we,W,Pe):void 0;t("getCompletionData: Semantic work: "+(Jc()-ot));const It=Z&&Nlt(Z,l,n,S),er=fr(It&&(It.isUnion()?It.types:[It]),ce=>ce.isLiteral()&&!(ce.flags&1024)?ce.value:void 0),ft=Z&&It&&Dlt(Z,It,S);return{kind:0,symbols:Je,completionKind:Qe,isInSnippetScope:M,propertyAccessToConvert:se,isNewIdentifierLocation:Pe,location:Se,keywordFilters:we,literals:er,symbolToOriginInfoMap:st,recommendedCompletion:ft,previousToken:Z,contextToken:ue,isJsxInitializer:_e,insideJsDocTagTypeExpression:U,symbolToSortTextMap:Ke,isTypeOnlyLocation:gt,isJsxIdentifierExpected:K,isRightOfOpenTag:fe,isRightOfDotOrQuestionDot:V||ve,importStatementCompletion:ge,hasUnresolvedAutoImports:tt,flags:le};function mt(ce){switch(ce.kind){case 344:case 351:case 345:case 347:case 349:case 352:case 353:return!0;case 348:return!!ce.constraint;default:return!1}}function xr(ce){if(mt(ce)){const Be=xm(ce)?ce.constraint:ce.typeExpression;return Be&&Be.kind===312?Be:void 0}if(S4(ce)||bre(ce))return ce.class}function dr(){Qe=2;const ce=Fb(ie),Be=U||ce&&!ie.isTypeOf||Mg(ie.parent)||C9(ue,n,S),te=Lz(ie);if(ap(ie)||ce||oi(ie)){const $t=Pl(ie.parent);$t&&(Pe=!0);let At=S.getSymbolAtLocation(ie);if(At&&(At=fp(At,S),At.flags&1920)){const St=S.getExportsOfModule(At);R.assertEachIsDefined(St,"getExportsOfModule() should all be defined");const Dr=Yi=>S.isValidPropertyAccess(ce?ie:ie.parent,Yi.name),yn=Yi=>pue(Yi,S),Di=$t?Yi=>{var Zi;return!!(Yi.flags&1920)&&!((Zi=Yi.declarations)!=null&&Zi.every(hs=>hs.parent===ie.parent))}:te?Yi=>yn(Yi)||Dr(Yi):Be?yn:Dr;for(const Yi of St)Di(Yi)&&Je.push(Yi);if(!Be&&At.declarations&&At.declarations.some(Yi=>Yi.kind!==308&&Yi.kind!==264&&Yi.kind!==263)){let Yi=S.getTypeOfSymbolAtLocation(At,ie).getNonOptionalType(),Zi=!1;if(Yi.isNullableType()){const hs=V&&!ve&&f.includeAutomaticOptionalChainCompletions!==!1;(hs||ve)&&(Yi=Yi.getNonNullableType(),hs&&(Zi=!0))}rn(Yi,!!(ie.flags&32768),Zi)}return}}if(!Be){S.tryGetThisTypeAt(ie,!1);let $t=S.getTypeAtLocation(ie).getNonOptionalType(),At=!1;if($t.isNullableType()){const St=V&&!ve&&f.includeAutomaticOptionalChainCompletions!==!1;(St||ve)&&($t=$t.getNonNullableType(),St&&(At=!0))}rn($t,!!(ie.flags&32768),At)}}function rn(ce,Be,te){Pe=!!ce.getStringIndexType(),ve&&Oe(ce.getCallSignatures())&&(Pe=!0);const $t=ie.kind===202?ie:ie.parent;if(w)for(const At of ce.getApparentProperties())S.isValidPropertyAccessForCompletions($t,ce,At)&&un(At,!1,te);else Je.push(...hr(Iq(ce,S),At=>S.isValidPropertyAccessForCompletions($t,ce,At)));if(Be&&f.includeCompletionsWithInsertText){const At=S.getPromisedTypeOfPromise(ce);if(At)for(const St of At.getApparentProperties())S.isValidPropertyAccessForCompletions($t,At,St)&&un(St,!0,te)}}function un(ce,Be,te){var $t;const At=ze(ce.declarations,Di=>Pi(ra(Di),ac));if(At){const Di=Gr(At.expression),Yi=Di&&S.getSymbolAtLocation(Di),Zi=Yi&&fue(Yi,ue,S);if(Zi&&Tm(We,Ha(Zi))){const hs=Je.length;Je.push(Zi);const za=Zi.parent;if(!za||!A9(za)||S.tryGetMemberInModuleExportsAndProperties(Zi.name,za)!==Zi)st[hs]={kind:yn(2)};else{const Xa=wu($d(za.name))?($t=$B(za))==null?void 0:$t.fileName:void 0,{moduleSpecifier:Ia}=(qe||(qe=Ff.createImportSpecifierResolver(n,e,g,f))).getModuleSpecifierForBestExportInfo([{exportKind:0,moduleFileName:Xa,isFromPackageJson:!1,moduleSymbol:za,symbol:Zi,targetFlags:fp(Zi,S).flags}],l,YC(Se))||{};if(Ia){const Fs={kind:yn(6),moduleSymbol:za,isDefaultExport:!1,symbolName:Zi.name,exportName:Zi.name,fileName:Xa,moduleSpecifier:Ia};st[hs]=Fs}}}else f.includeCompletionsWithInsertText&&(Dr(ce),St(ce),Je.push(ce))}else Dr(ce),St(ce),Je.push(ce);function St(Di){zlt(Di)&&(Ke[Ha(Di)]=Qu.LocalDeclarationPriority)}function Dr(Di){f.includeCompletionsWithInsertText&&(Be&&Tm(We,Ha(Di))?st[Je.length]={kind:yn(8)}:te&&(st[Je.length]={kind:16}))}function yn(Di){return te?Di|16:Di}}function Gr(ce){return Ye(ce)?ce:oi(ce)?Gr(ce.expression):void 0}function mr(){return(Fe()||Pt()||ws()||Ht()||Ne()||Fn()||kt()||ts()||(Es(),1))===1}function Fn(){return pe(ue)?(Qe=5,Pe=!0,we=4,1):0}function ts(){const ce=Y(ue),Be=ce&&S.getContextualType(ce.attributes);if(!Be)return 0;const te=ce&&S.getContextualType(ce.attributes,4);return Je=Cr(Je,ne(Nq(Be,te,ce.attributes,S),ce.attributes.properties)),ye(),Qe=3,Pe=!1,1}function ws(){return ge?(Pe=!0,Cn(),1):0}function Es(){we=xe(ue)?5:1,Qe=1,Pe=Xn(),Z!==ue&&R.assert(!!Z,"Expected 'contextToken' to be defined when different from 'previousToken'.");const ce=Z!==ue?Z.getStart():l,Be=en(ue,ce,n)||n;M=Rt(Be);const te=(gt?0:111551)|788968|1920|2097152,$t=Z&&!YC(Z);Je=Cr(Je,S.getSymbolsInScope(Be,te)),R.assertEachIsDefined(Je,"getSymbolsInScope() should all be defined");for(let At=0;At<Je.length;At++){const St=Je[At];if(!S.isArgumentsSymbol(St)&&!Oe(St.declarations,Dr=>Dr.getSourceFile()===n)&&(Ke[Ha(St)]=Qu.GlobalsOrKeywords),$t&&!(St.flags&111551)){const Dr=St.declarations&&He(St.declarations,cK);if(Dr){const yn={kind:64,declaration:Dr};st[At]=yn}}}if(f.includeCompletionsWithInsertText&&Be.kind!==308){const At=S.tryGetThisTypeAt(Be,!1,Ri(Be.parent)?Be:void 0);if(At&&!Ult(At,n,S))for(const St of Iq(At,S))st[Je.length]={kind:1},Je.push(St),Ke[Ha(St)]=Qu.SuggestedClassMembers}Cn(),gt&&(we=ue&&mx(ue.parent)?6:7)}function ii(){return ge?!0:Ge||!f.includeCompletionsForModuleExports?!1:n.externalModuleIndicator||n.commonJsModuleIndicator||Nae(e.getCompilerOptions())?!0:Y6e(e)}function Rt(ce){switch(ce.kind){case 308:case 225:case 291:case 238:return!0;default:return Ks(ce)}}function Rr(){return U||!!ge&&pT(Se.parent)||!rr(ue)&&(C9(ue,n,S)||Mg(Se)||Pr(ue))}function rr(ce){return ce&&(ce.kind===112&&(ce.parent.kind===183||h4(ce.parent))||ce.kind===129&&ce.parent.kind===179)}function Pr(ce){if(ce){const Be=ce.parent.kind;switch(ce.kind){case 58:return Be===169||Be===168||Be===166||Be===257||DC(Be);case 63:return Be===262;case 128:return Be===231;case 29:return Be===180||Be===213;case 94:return Be===165;case 150:return Be===235}}return!1}function Cn(){var ce,Be;if(!ii()||(R.assert(!(d!=null&&d.data),"Should not run 'collectAutoImports' when faster path is available via `data`"),d&&!d.source))return;le|=1;const $t=Z===ue&&ge?"":Z&&Ye(Z)?Z.text.toLowerCase():"",At=(ce=g.getModuleSpecifierCache)==null?void 0:ce.call(g),St=j9(n,g,e,f,k),Dr=(Be=g.getPackageJsonAutoImportProvider)==null?void 0:Be.call(g),yn=d?void 0:WD(n,f,g);sNe("collectAutoImports",g,qe||(qe=Ff.createImportSpecifierResolver(n,e,g,f)),e,l,f,!!ge,YC(Se),Yi=>{St.search(n.path,fe,(Zi,hs)=>{if(!Bd(Zi,Io(g.getCompilationSettings()))||!d&&JC(Zi)||!gt&&!ge&&!(hs&111551)||gt&&!(hs&790504))return!1;const za=Zi.charCodeAt(0);return fe&&(za<65||za>90)?!1:d?!0:ANe(Zi,$t)},(Zi,hs,za,Xa)=>{if(d&&!Oe(Zi,Ji=>d.source===$d(Ji.moduleSymbol.name))||(Zi=hr(Zi,Di),!Zi.length))return;const Ia=Yi.tryResolve(Zi,za)||{};if(Ia==="failed")return;let Fs=Zi[0],gs;Ia!=="skipped"&&({exportInfo:Fs=Zi[0],moduleSpecifier:gs}=Ia);const vi=Fs.exportKind===1,Bo=vi&&Q6(Fs.symbol)||Fs.symbol;Nn(Bo,{kind:gs?32:4,moduleSpecifier:gs,symbolName:hs,exportMapKey:Xa,exportName:Fs.exportKind===2?"export=":Fs.symbol.name,fileName:Fs.moduleFileName,isDefaultExport:vi,moduleSymbol:Fs.moduleSymbol,isFromPackageJson:Fs.isFromPackageJson})}),tt=Yi.skippedAny(),le|=Yi.resolvedAny()?8:0,le|=Yi.resolvedBeyondLimit()?16:0});function Di(Yi){const Zi=Pi(Yi.moduleSymbol.valueDeclaration,bs);if(!Zi){const hs=$d(Yi.moduleSymbol.name);return Zx.nodeCoreModules.has(hs)&&Qs(hs,"node:")!==bV(n,e)?!1:yn?yn.allowsImportingAmbientModule(Yi.moduleSymbol,jt(Yi.isFromPackageJson)):!0}return ooe(Yi.isFromPackageJson?Dr:e,n,Zi,f,yn,jt(Yi.isFromPackageJson),At)}}function Nn(ce,Be){const te=Ha(ce);Ke[te]!==Qu.GlobalsOrKeywords&&(st[Je.length]=Be,Ke[te]=ge?Qu.LocationPriority:Qu.AutoImportSuggestions,Je.push(ce))}function cs(ce,Be){Mn(Se)||ce.forEach(te=>{if(!qi(te))return;const $t=Pq(te,Io(s),void 0,0,!1);if(!$t)return;const{name:At}=$t,St=blt(te,At,Be,e,g,s,f,h);if(!St)return;const Dr={kind:128,...St};le|=32,st[Je.length]=Dr,Je.push(te)})}function qi(ce){return!!(ce.flags&8196)}function en(ce,Be,te){let $t=ce;for(;$t&&!hae($t,Be,te);)$t=$t.parent;return $t}function Tr(ce){const Be=Jc(),te=_i(ce)||Ze(ce)||Kt(ce)||nn(ce)||MJ(ce);return t("getCompletionsAtPosition: isCompletionListBlocker: "+(Jc()-Be)),te}function nn(ce){if(ce.kind===11)return!0;if(ce.kind===31&&ce.parent){if(Se===ce.parent&&(Se.kind===283||Se.kind===282))return!1;if(ce.parent.kind===283)return Se.parent.kind!==283;if(ce.parent.kind===284||ce.parent.kind===282)return!!ce.parent.parent&&ce.parent.parent.kind===281}return!1}function Xn(){if(ue){const ce=ue.parent.kind,Be=Dq(ue);switch(Be){case 27:return ce===210||ce===173||ce===211||ce===206||ce===223||ce===181||ce===207;case 20:return ce===210||ce===173||ce===211||ce===214||ce===193;case 22:return ce===206||ce===178||ce===164;case 142:case 143:case 100:return!0;case 24:return ce===264;case 18:return ce===260||ce===207;case 63:return ce===257||ce===223;case 15:return ce===225;case 16:return ce===236;case 132:return ce===171||ce===300;case 41:return ce===171}if(sL(Be))return!0}return!1}function _i(ce){return(Zte(ce)||lK(ce))&&(T9(ce,l)||l===ce.end&&(!!ce.isUnterminated||Zte(ce)))}function Fe(){const ce=jlt(ue);if(!ce)return 0;const te=(eO(ce.parent)?ce.parent:void 0)||ce,$t=SNe(te,S);if(!$t)return 0;const At=S.getTypeFromTypeNode(te),St=Iq($t,S),Dr=Iq(At,S),yn=new Set;return Dr.forEach(Di=>yn.add(Di.escapedName)),Je=Cr(Je,hr(St,Di=>!yn.has(Di.escapedName))),Qe=0,Pe=!0,1}function Pt(){const ce=Je.length,Be=Olt(ue);if(!Be)return 0;Qe=0;let te,$t;if(Be.kind===207){const At=Vlt(Be,S);if(At===void 0)return Be.flags&33554432?2:(Ge=!0,0);const St=S.getContextualType(Be,4),Dr=(St||At).getStringIndexType(),yn=(St||At).getNumberIndexType();if(Pe=!!Dr||!!yn,te=Nq(At,St,Be,S),$t=Be.properties,te.length===0&&!yn)return Ge=!0,0}else{R.assert(Be.kind===203),Pe=!1;const At=Gh(Be.parent);if(!O6(At))return R.fail("Root declaration is not variable-like.");let St=pv(At)||!!Ju(At)||At.parent.parent.kind===247;if(!St&&At.kind===166&&(Dt(At.parent)?St=!!S.getContextualType(At.parent):(At.parent.kind===171||At.parent.kind===175)&&(St=Dt(At.parent.parent)&&!!S.getContextualType(At.parent.parent))),St){const Dr=S.getTypeAtLocation(Be);if(!Dr)return 2;te=S.getPropertiesOfType(Dr).filter(yn=>S.isPropertyAccessible(Be,!1,!1,Dr,yn)),$t=Be.elements}}if(te&&te.length>0){const At=qr(te,R.checkDefined($t));Je=Cr(Je,At),ye(),Be.kind===207&&f.includeCompletionsWithObjectLiteralMethodSnippets&&f.includeCompletionsWithInsertText&&(nr(ce),cs(At,Be))}return 1}function Ht(){if(!ue)return 0;const ce=ue.kind===18||ue.kind===27?Pi(ue.parent,Wee):Qz(ue)?Pi(ue.parent.parent,Wee):void 0;if(!ce)return 0;Qz(ue)||(we=8);const{moduleSpecifier:Be}=ce.kind===272?ce.parent.parent:ce.parent;if(!Be)return Pe=!0,ce.kind===272?2:0;const te=S.getSymbolAtLocation(Be);if(!te)return Pe=!0,2;Qe=3,Pe=!1;const $t=S.getExportsAndPropertiesOfModule(te),At=new Set(ce.elements.filter(Dr=>!$e(Dr)).map(Dr=>(Dr.propertyName||Dr.name).escapedText)),St=$t.filter(Dr=>Dr.escapedName!=="default"&&!At.has(Dr.escapedName));return Je=Cr(Je,St),St.length||(we=0),1}function Ne(){var ce;const Be=ue&&(ue.kind===18||ue.kind===27)?Pi(ue.parent,Xd):void 0;if(!Be)return 0;const te=kn(Be,jh(bs,Pl));return Qe=5,Pe=!1,(ce=te.locals)==null||ce.forEach(($t,At)=>{var St,Dr;Je.push($t),(Dr=(St=te.symbol)==null?void 0:St.exports)!=null&&Dr.has(At)&&(Ke[Ha($t)]=Qu.OptionalMember)}),1}function kt(){const ce=Blt(n,ue,Se,l);if(!ce)return 0;if(Qe=3,Pe=!0,we=ue.kind===41?0:Ri(ce)?2:3,!Ri(ce))return 1;const Be=ue.kind===26?ue.parent.parent:ue.parent;let te=Eu(Be)?Pf(Be):0;if(ue.kind===79&&!$e(ue))switch(ue.getText()){case"private":te=te|8;break;case"static":te=te|32;break;case"override":te=te|16384;break}if(fl(Be)&&(te|=32),!(te&8)){const $t=Ri(ce)&&te&16384?ax(eh(ce)):hP(ce),At=mn($t,St=>{const Dr=S.getTypeAtLocation(St);return te&32?(Dr==null?void 0:Dr.symbol)&&S.getPropertiesOfType(S.getTypeOfSymbolAtLocation(Dr.symbol,ce)):Dr&&S.getPropertiesOfType(Dr)});Je=Cr(Je,dt(At,ce.members,te)),Q(Je,(St,Dr)=>{const yn=St==null?void 0:St.valueDeclaration;if(yn&&Eu(yn)&&yn.name&&ac(yn.name)){const Di={kind:512,symbolName:S.symbolToString(St)};st[Dr]=Di}})}return 1}function Te(ce){return!!ce.parent&&ua(ce.parent)&&Al(ce.parent.parent)&&(eP(ce.kind)||By(ce))}function pe(ce){if(ce){const Be=ce.parent;switch(ce.kind){case 20:case 27:return Al(ce.parent)?ce.parent:void 0;default:if(Te(ce))return Be.parent}}}function xe(ce){if(ce){let Be;const te=kn(ce.parent,$t=>Ri($t)?"quit":Lc($t)&&Be===$t.body?!0:(Be=$t,!1));return te&&te}}function Y(ce){if(ce){const Be=ce.parent;switch(ce.kind){case 31:case 30:case 43:case 79:case 208:case 289:case 288:case 290:if(Be&&(Be.kind===282||Be.kind===283)){if(ce.kind===31){const te=fu(ce.pos,n,void 0);if(!Be.typeArguments||te&&te.kind===43)break}return Be}else if(Be.kind===288)return Be.parent.parent;break;case 10:if(Be&&(Be.kind===288||Be.kind===290))return Be.parent.parent;break;case 19:if(Be&&Be.kind===291&&Be.parent&&Be.parent.kind===288)return Be.parent.parent.parent;if(Be&&Be.kind===290)return Be.parent.parent;break}}}function Ze(ce){const Be=ce.parent,te=Be.kind;switch(ce.kind){case 27:return te===257||wr(ce)||te===240||te===263||it(te)||te===261||te===204||te===262||Ri(Be)&&!!Be.typeParameters&&Be.typeParameters.end>=ce.pos;case 24:return te===204;case 58:return te===205;case 22:return te===204;case 20:return te===295||it(te);case 18:return te===263;case 29:return te===260||te===228||te===261||te===262||DC(te);case 124:return te===169&&!Ri(Be.parent);case 25:return te===166||!!Be.parent&&Be.parent.kind===204;case 123:case 121:case 122:return te===166&&!Al(Be.parent);case 128:return te===273||te===278||te===271;case 137:case 151:return!Oq(ce);case 79:if(te===273&&ce===Be.name&&ce.text==="type")return!1;break;case 84:case 92:case 118:case 98:case 113:case 100:case 119:case 85:case 138:return!0;case 154:return te!==273;case 41:return Sa(ce.parent)&&!zl(ce.parent)}if(sL(Dq(ce))&&Oq(ce)||Te(ce)&&(!Ye(ce)||eP(Dq(ce))||$e(ce)))return!1;switch(Dq(ce)){case 126:case 84:case 85:case 136:case 92:case 98:case 118:case 119:case 121:case 122:case 123:case 124:case 113:return!0;case 132:return Pa(ce.parent)}if(kn(ce.parent,Ri)&&ce===Z&&ct(ce,l))return!1;const At=Jb(ce.parent,169);if(At&&ce!==Z&&Ri(Z.parent.parent)&&l<=Z.end){if(ct(ce,Z.end))return!1;if(ce.kind!==63&&(QO(At)||UB(At)))return!0}return By(ce)&&!id(ce.parent)&&!oh(ce.parent)&&!(Ri(ce.parent)&&(ce!==Z||l>Z.end))}function ct(ce,Be){return ce.kind!==63&&(ce.kind===26||!vd(ce.end,Be,n))}function it(ce){return DC(ce)&&ce!==173}function Kt(ce){if(ce.kind===8){const Be=ce.getFullText();return Be.charAt(Be.length-1)==="."}return!1}function wr(ce){return ce.parent.kind===258&&!C9(ce,n,S)}function qr(ce,Be){if(Be.length===0)return ce;const te=new Set,$t=new Set;for(const St of Be){if(St.kind!==299&&St.kind!==300&&St.kind!==205&&St.kind!==171&&St.kind!==174&&St.kind!==175&&St.kind!==301||$e(St))continue;let Dr;if(hw(St))qn(St,te);else if(qo(St)&&St.propertyName)St.propertyName.kind===79&&(Dr=St.propertyName.escapedText);else{const yn=ra(St);Dr=yn&&zd(yn)?yP(yn):void 0}Dr!==void 0&&$t.add(Dr)}const At=ce.filter(St=>!$t.has(St.escapedName));return wt(te,At),At}function qn(ce,Be){const te=ce.expression,$t=S.getSymbolAtLocation(te),At=$t&&S.getTypeOfSymbolAtLocation($t,te),St=At&&At.properties;St&&St.forEach(Dr=>{Be.add(Dr.name)})}function ye(){Je.forEach(ce=>{var Be;if(ce.flags&16777216){const te=Ha(ce);Ke[te]=(Be=Ke[te])!=null?Be:Qu.OptionalMember}})}function wt(ce,Be){if(ce.size!==0)for(const te of Be)ce.has(te.name)&&(Ke[Ha(te)]=Qu.MemberDeclaredBySpreadAssignment)}function nr(ce){var Be;for(let te=ce;te<Je.length;te++){const $t=Je[te],At=Ha($t),St=st==null?void 0:st[te],Dr=Io(s),yn=Pq($t,Dr,St,0,!1);if(yn){const Di=(Be=Ke[At])!=null?Be:Qu.LocationPriority,{name:Yi}=yn;Ke[At]=Qu.ObjectLiteralProperty(Di,Yi)}}}function dt(ce,Be,te){const $t=new Set;for(const At of Be){if(At.kind!==169&&At.kind!==171&&At.kind!==174&&At.kind!==175||$e(At)||R_(At,8)||ba(At)!==!!(te&32))continue;const St=ST(At.name);St&&$t.add(St)}return ce.filter(At=>!$t.has(At.escapedName)&&!!At.declarations&&!(td(At)&8)&&!(At.valueDeclaration&&Wf(At.valueDeclaration)))}function ne(ce,Be){const te=new Set,$t=new Set;for(const St of Be)$e(St)||(St.kind===288?te.add(St.name.escapedText):Bx(St)&&qn(St,$t));const At=ce.filter(St=>!te.has(St.escapedName));return wt($t,At),At}function $e(ce){return ce.getStart(n)<=l&&l<=ce.getEnd()}}function Olt(e){if(e){const{parent:t}=e;switch(e.kind){case 18:case 27:if(cc(t)||tg(t))return t;break;case 41:return zl(t)?Pi(t.parent,cc):void 0;case 79:return e.text==="async"&&id(e.parent)?e.parent.parent:void 0}}}function Aq(e,t){const n=fu(e,t);return n&&e<=n.end&&(Ny(n)||b_(n.kind))?{contextToken:fu(n.getFullStart(),t,void 0),previousToken:n}:{contextToken:n,previousToken:n}}function hNe(e,t,n,s){const l=t.isPackageJsonImport?s.getPackageJsonAutoImportProvider():n,f=l.getTypeChecker(),d=t.ambientModuleName?f.tryFindAmbientModule(t.ambientModuleName):t.fileName?f.getMergedSymbol(R.checkDefined(l.getSourceFile(t.fileName)).symbol):void 0;if(!d)return;let g=t.exportName==="export="?f.resolveExternalModuleSymbol(d):f.tryGetMemberInModuleExportsAndProperties(t.exportName,d);return g?(g=t.exportName==="default"&&Q6(g)||g,{symbol:g,origin:Slt(t,e,d)}):void 0}function Pq(e,t,n,s,l){if(slt(n))return;const f=tlt(n)?n.symbolName:e.name;if(f===void 0||e.flags&1536&&B7(f.charCodeAt(0))||a5(e))return;const d={name:f,needsConvertPropertyAccess:!1};if(Bd(f,t,l?1:0)||e.valueDeclaration&&Wf(e.valueDeclaration))return d;switch(s){case 3:return nue(n)?{name:n.symbolName,needsConvertPropertyAccess:!1}:void 0;case 0:return{name:JSON.stringify(f),needsConvertPropertyAccess:!1};case 2:case 1:return f.charCodeAt(0)===32?void 0:{name:f,needsConvertPropertyAccess:!0};case 5:case 4:return d;default:R.assertNever(s)}}function gNe(e,t){if(!t)return yNe(e);const n=e+8+1;return aL[n]||(aL[n]=yNe(e).filter(s=>!Llt(ux(s.name))))}function yNe(e){return aL[e]||(aL[e]=yue().filter(t=>{const n=ux(t.name);switch(e){case 0:return!1;case 1:return bNe(n)||n===136||n===142||n===154||n===143||n===126||JD(n)&&n!==155;case 5:return bNe(n);case 2:return sL(n);case 3:return vNe(n);case 4:return eP(n);case 6:return JD(n)||n===85;case 7:return JD(n);case 8:return n===154;default:return R.assertNever(e)}}))}function Llt(e){switch(e){case 126:case 131:case 160:case 134:case 136:case 92:case 159:case 117:case 138:case 118:case 140:case 141:case 142:case 143:case 144:case 148:case 149:case 161:case 121:case 122:case 123:case 146:case 152:case 153:case 154:case 156:case 157:return!0;default:return!1}}function vNe(e){return e===146}function sL(e){switch(e){case 126:case 127:case 135:case 137:case 151:case 132:case 136:case 161:return!0;default:return uK(e)}}function bNe(e){return e===132||e===133||e===128||e===150||e===154||!Sj(e)&&!sL(e)}function Dq(e){var t;return Ye(e)?(t=Lb(e))!=null?t:0:e.kind}function Mlt(e,t){const n=[];if(e){const s=e.getSourceFile(),l=e.parent,f=s.getLineAndCharacterOfPosition(e.end).line,d=s.getLineAndCharacterOfPosition(t).line;(Nu(l)||Uu(l)&&l.moduleSpecifier)&&e===l.moduleSpecifier&&f===d&&n.push({name:qa(130),kind:"keyword",kindModifiers:"",sortText:Qu.GlobalsOrKeywords})}return n}function Flt(e,t){return kn(e,n=>nP(n)&&b9(n,t)?!0:ig(n)?"quit":!1)}function Nq(e,t,n,s){const l=t&&t!==e,f=l&&!(t.flags&3)?s.getUnionType([e,t]):e,d=Rlt(f,n,s);return f.isClass()&&TNe(d)?[]:l?hr(d,g):d;function g(h){return H(h.declarations)?Oe(h.declarations,k=>k.parent!==n):!0}}function Rlt(e,t,n){return e.isUnion()?n.getAllPossiblePropertiesOfTypes(hr(e.types,s=>!(s.flags&134348796||n.isArrayLikeType(s)||n.isTypeInvalidDueToUnionDiscriminant(s,t)||n.typeHasCallOrConstructSignatures(s)||s.isClass()&&TNe(s.getApparentProperties())))):e.getApparentProperties()}function TNe(e){return Oe(e,t=>!!(td(t)&24))}function Iq(e,t){return e.isUnion()?R.checkEachDefined(t.getAllPossiblePropertiesOfTypes(e.types),"getAllPossiblePropertiesOfTypes() should all be defined"):R.checkEachDefined(e.getApparentProperties(),"getApparentProperties() should all be defined")}function Blt(e,t,n,s){var l;switch(n.kind){case 354:return Pi(n.parent,WC);case 1:const f=Pi(Rc(Oa(n.parent,bs).statements),WC);if(f&&!Yo(f,19,e))return f;break;case 79:{if(Lb(n)||Pa(n.parent)&&n.parent.initializer===n)return;if(Oq(n))return kn(n,WC)}}if(t){if(n.kind===135||Ye(t)&&Pa(t.parent)&&Ri(n))return kn(t,Ri);switch(t.kind){case 63:return;case 26:case 19:return Oq(n)&&n.parent.name===n?n.parent.parent:Pi(n,WC);case 18:case 27:return Pi(t.parent,WC);default:if(WC(n)){if(zc(e,t.getEnd()).line!==zc(e,s).line)return n;const f=Ri(t.parent.parent)?sL:vNe;return f(t.kind)||t.kind===41||Ye(t)&&f((l=Lb(t))!=null?l:0)?t.parent.parent:void 0}return}}}function jlt(e){if(!e)return;const t=e.parent;switch(e.kind){case 18:if(_p(t))return t;break;case 26:case 27:case 79:if(t.kind===168&&_p(t.parent))return t.parent;break}}function SNe(e,t){if(!e)return;if(ps(e)&&zB(e.parent))return t.getTypeArgumentConstraint(e);const n=SNe(e.parent,t);if(n)switch(e.kind){case 168:return t.getTypeOfPropertyOfContextualType(n,e.symbol.escapedName);case 190:case 184:case 189:return n}}function Oq(e){return e.parent&&FB(e.parent)&&WC(e.parent.parent)}function Jlt(e,t,n,s){switch(t){case".":case"@":return!0;case'"':case"'":case"`":return!!n&&h4e(n)&&s===n.getStart(e)+1;case"#":return!!n&&as(n)&&!!uu(n);case"<":return!!n&&n.kind===29&&(!$n(n.parent)||xNe(n.parent));case"/":return!!n&&(sc(n)?!!X7(n):n.kind===43&&pw(n.parent));case" ":return!!n&&KP(n)&&n.parent.kind===308;default:return R.assertNever(t)}}function xNe({left:e}){return cl(e)}function Ult(e,t,n){const s=n.resolveName("self",void 0,111551,!1);if(s&&n.getTypeOfSymbolAtLocation(s,t)===e)return!0;const l=n.resolveName("global",void 0,111551,!1);if(l&&n.getTypeOfSymbolAtLocation(l,t)===e)return!0;const f=n.resolveName("globalThis",void 0,111551,!1);return!!(f&&n.getTypeOfSymbolAtLocation(f,t)===e)}function zlt(e){return!!(e.valueDeclaration&&Pf(e.valueDeclaration)&32&&Ri(e.valueDeclaration.parent))}function Vlt(e,t){const n=t.getContextualType(e);if(n)return n;const s=mv(e.parent);if($n(s)&&s.operatorToken.kind===63&&e===s.left)return t.getTypeAtLocation(s);if(Dt(s))return t.getContextualType(s)}function kNe(e){var t,n,s;let l,f=!1;const d=g();return{isKeywordOnlyCompletion:f,keywordCompletion:l,isNewIdentifierLocation:!!(d||l===154),isTopLevelTypeOnly:!!((n=(t=Pi(d,Nu))==null?void 0:t.importClause)!=null&&n.isTypeOnly)||!!((s=Pi(d,Xu))!=null&&s.isTypeOnly),couldBeTypeOnlyImportSpecifier:!!d&&wNe(d,e),replacementSpan:$lt(d)};function g(){const h=e.parent;if(Xu(h))return l=e.kind===154?void 0:154,_ue(h.moduleReference)?h:void 0;if(wNe(h,e)&&ENe(h.parent))return h;if(i1(h)||xv(h)){if(!h.parent.isTypeOnly&&(e.kind===18||e.kind===100||e.kind===27)&&(l=154),ENe(h))if(e.kind===19||e.kind===79)f=!0,l=158;else return h.parent.parent;return}if(KP(e)&&bs(h))return l=154,e;if(KP(e)&&Nu(h))return l=154,_ue(h.moduleSpecifier)?h:void 0}}function $lt(e){var t,n,s;if(!e)return;const l=(t=kn(e,jh(Nu,Xu)))!=null?t:e,f=l.getSourceFile();if(Nx(l,f))return Zf(l,f);R.assert(l.kind!==100&&l.kind!==273);const d=l.kind===269?(s=CNe((n=l.importClause)==null?void 0:n.namedBindings))!=null?s:l.moduleSpecifier:l.moduleReference,g={pos:l.getFirstToken().getStart(),end:d.pos};if(Nx(g,f))return Dv(g)}function CNe(e){var t;return He((t=Pi(e,i1))==null?void 0:t.elements,n=>{var s;return!n.propertyName&&JC(n.name.text)&&((s=fu(n.name.pos,e.getSourceFile(),e))==null?void 0:s.kind)!==27})}function wNe(e,t){return S_(e)&&(e.isTypeOnly||t===e.name&&Qz(t))}function ENe(e){if(!_ue(e.parent.parent.moduleSpecifier)||e.parent.name)return!1;if(i1(e)){const t=CNe(e);return(t?e.elements.indexOf(t):e.elements.length)<2}return!0}function _ue(e){var t;return cl(e)?!0:!((t=Pi(ng(e)?e.expression:e,sc))!=null&&t.text)}function qlt(e){return kn(e,n=>Tx(n)||Wlt(n)||xa(n)?"quit":xs(n))}function Wlt(e){return e.parent&&Ac(e.parent)&&e.parent.body===e}function pue(e,t,n=new Map){return s(e)||s(fp(e.exportSymbol||e,t));function s(l){return!!(l.flags&788968)||t.isUnknownSymbol(l)||!!(l.flags&1536)&&Tm(n,Ha(l))&&t.getExportsOfModule(l).some(f=>pue(f,t,n))}}function Hlt(e,t){const n=fp(e,t).declarations;return!!H(n)&&ut(n,vV)}function ANe(e,t){if(t.length===0)return!0;let n=!1,s,l=0;const f=e.length;for(let d=0;d<f;d++){const g=e.charCodeAt(d),h=t.charCodeAt(l);if((g===h||g===Glt(h))&&(n||(n=s===void 0||97<=s&&s<=122&&65<=g&&g<=90||s===95&&g!==95),n&&l++,l===t.length))return!0;s=g}return!1}function Glt(e){return 97<=e&&e<=122?e-32:e}var Lq,due,Qu,mue,hue,gue,aL,yue,Xlt=p({"src/services/completions.ts"(){Si(),kue(),Lq=100,due=1e3,Qu={LocalDeclarationPriority:"10",LocationPriority:"11",OptionalMember:"12",MemberDeclaredBySpreadAssignment:"13",SuggestedClassMembers:"14",GlobalsOrKeywords:"15",AutoImportSuggestions:"16",ClassMemberSnippets:"17",JavascriptIdentifiers:"18",Deprecated(e){return"z"+e},ObjectLiteralProperty(e,t){return`${e}\0${t}\0`},SortBelow(e){return e+"1"}},mue=(e=>(e.ThisProperty="ThisProperty/",e.ClassMemberSnippet="ClassMemberSnippet/",e.TypeOnlyAlias="TypeOnlyAlias/",e.ObjectLiteralMethodSnippet="ObjectLiteralMethodSnippet/",e.SwitchCases="SwitchCases/",e))(mue||{}),hue=(e=>(e[e.ThisType=1]="ThisType",e[e.SymbolMember=2]="SymbolMember",e[e.Export=4]="Export",e[e.Promise=8]="Promise",e[e.Nullable=16]="Nullable",e[e.ResolvedExport=32]="ResolvedExport",e[e.TypeOnlyAlias=64]="TypeOnlyAlias",e[e.ObjectLiteralMethod=128]="ObjectLiteralMethod",e[e.Ignore=256]="Ignore",e[e.ComputedPropertyName=512]="ComputedPropertyName",e[e.SymbolMemberNoExport=2]="SymbolMemberNoExport",e[e.SymbolMemberExport=6]="SymbolMemberExport",e))(hue||{}),gue=(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",e))(gue||{}),aL=[],yue=h_(()=>{const e=[];for(let t=81;t<=162;t++)e.push({name:qa(t),kind:"keyword",kindModifiers:"",sortText:Qu.GlobalsOrKeywords});return e})}});function vue(){const e=new Map;function t(n){const s=e.get(n.name);(!s||xue[s.kind]<xue[n.kind])&&e.set(n.name,n)}return{add:t,has:e.has.bind(e),values:e.values.bind(e)}}function Qlt(e,t,n,s,l,f,d,g,h){if(G6e(e,t)){const k=_ut(e,t,s,l);return k&&PNe(k)}if(rk(e,t,n)){if(!n||!sc(n))return;const k=NNe(e,n,t,f.getTypeChecker(),s,l,g);return Ylt(k,n,e,l,f,d,s,g,t,h)}}function Ylt(e,t,n,s,l,f,d,g,h,k){if(e===void 0)return;const S=Eae(t);switch(e.kind){case 0:return PNe(e.paths);case 1:{const w=Za();return cue(e.symbols,w,t,t,n,h,n,s,l,99,f,4,g,d,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,k),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:e.hasIndexSignature,optionalReplacementSpan:S,entries:w}}case 2:{const w=e.types.map(N=>({name:N.value,kindModifiers:"",kind:"string",sortText:Qu.LocationPriority,replacementSpan:wae(t)}));return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:e.isNewIdentifier,optionalReplacementSpan:S,entries:w}}default:return R.assertNever(e)}}function Zlt(e,t,n,s,l,f,d,g,h){if(!s||!sc(s))return;const k=NNe(t,s,n,l,f,d,h);return k&&Klt(e,s,k,t,l,g)}function Klt(e,t,n,s,l,f){switch(n.kind){case 0:{const d=He(n.paths,g=>g.name===e);return d&&iL(e,DNe(d.extension),d.kind,[Mp(e)])}case 1:{const d=He(n.symbols,g=>g.name===e);return d&&uue(d,d.name,l,s,t,f)}case 2:return He(n.types,d=>d.value===e)?iL(e,"","string",[Mp(e)]):void 0;default:return R.assertNever(n)}}function PNe(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!0,entries:e.map(({name:l,kind:f,span:d,extension:g})=>({name:l,kind:f,kindModifiers:DNe(g),sortText:Qu.LocationPriority,replacementSpan:d}))}}function DNe(e){switch(e){case".d.ts":return".d.ts";case".js":return".js";case".json":return".json";case".jsx":return".jsx";case".ts":return".ts";case".tsx":return".tsx";case".d.mts":return".d.mts";case".mjs":return".mjs";case".mts":return".mts";case".d.cts":return".d.cts";case".cjs":return".cjs";case".cts":return".cts";case".tsbuildinfo":return R.fail("Extension .tsbuildinfo is unsupported.");case void 0:return"";default:return R.assertNever(e)}}function NNe(e,t,n,s,l,f,d){const g=INe(t.parent);switch(g.kind){case 198:{const N=INe(g.parent);switch(N.kind){case 230:case 180:{const U=kn(g,M=>M.parent===N);return U?{kind:2,types:oL(s.getTypeArgumentConstraint(U)),isNewIdentifier:!1}:void 0}case 196:const{indexType:O,objectType:L}=N;return b9(O,n)?ONe(s.getTypeFromTypeNode(L)):void 0;case 202:return{kind:0,paths:MNe(e,t,l,f,s,d)};case 189:{if(!Gd(N.parent))return;const U=eut(N,g);return{kind:2,types:oL(s.getTypeArgumentConstraint(N)).filter(W=>!xt(U,W.value)),isNewIdentifier:!1}}default:return}}case 299:return cc(g.parent)&&g.name===t?rut(s,g.parent):h()||h(0);case 209:{const{expression:N,argumentExpression:O}=g;return t===xc(O)?ONe(s.getTypeAtLocation(N)):void 0}case 210:case 211:case 288:if(!hut(t)&&!up(g)){const N=AL.getArgumentInfoForCompletions(g.kind===288?g.parent:t,n,e);return N&&tut(N.invocation,t,N,s)||h()}case 269:case 275:case 280:return{kind:0,paths:MNe(e,t,l,f,s,d)};case 292:const k=SV(s,g.parent.clauses),S=h();return S?{kind:2,types:S.types.filter(N=>!k.hasValue(N.value)),isNewIdentifier:!1}:void 0;default:return h()||h(0)}function h(k=4){const S=oL(oV(t,s,k));if(S.length)return{kind:2,types:S,isNewIdentifier:!1}}}function INe(e){switch(e.kind){case 193:return e5(e);case 214:return mv(e);default:return e}}function eut(e,t){return fr(e.types,n=>n!==t&&Hb(n)&&yo(n.literal)?n.literal.text:void 0)}function tut(e,t,n,s){let l=!1;const f=new Map,d=[],g=Hf(e)?R.checkDefined(kn(t.parent,oh)):t;s.getResolvedSignatureForStringLiteralCompletions(e,g,d);const h=mn(d,k=>{if(!ff(k)&&n.argumentCount>k.parameters.length)return;let S=k.getTypeParameterAtPosition(n.argumentIndex);if(Hf(e)){const w=s.getTypeOfPropertyOfType(S,g.name.text);w&&(S=w)}return l=l||!!(S.flags&4),oL(S,f)});return H(h)?{kind:2,types:h,isNewIdentifier:l}:void 0}function ONe(e){return e&&{kind:1,symbols:hr(e.getApparentProperties(),t=>!(t.valueDeclaration&&Wf(t.valueDeclaration))),hasIndexSignature:Hae(e)}}function rut(e,t){const n=e.getContextualType(t);if(!n)return;const s=e.getContextualType(t,4);return{kind:1,symbols:Nq(n,s,t,e),hasIndexSignature:Hae(n)}}function oL(e,t=new Map){return e?(e=Dae(e),e.isUnion()?mn(e.types,n=>oL(n,t)):e.isStringLiteral()&&!(e.flags&1024)&&Tm(t,e.value)?[e]:pt):pt}function K4(e,t,n){return{name:e,kind:t,extension:n}}function bue(e){return K4(e,"directory",void 0)}function LNe(e,t,n){const s=dut(e,t),l=e.length===0?void 0:hu(t,e.length);return n.map(({name:f,kind:d,extension:g})=>Math.max(f.indexOf(hc),f.indexOf(n7))!==-1?{name:f,kind:d,extension:g,span:l}:{name:f,kind:d,extension:g,span:s})}function MNe(e,t,n,s,l,f){return LNe(t.text,t.getStart(e)+1,nut(e,t,n,s,l,f))}function nut(e,t,n,s,l,f){const d=ju(t.text),g=sc(t)?km(e,t):void 0,h=e.path,k=$i(h),S=Tue(n,1,e,l,f,g);return mut(d)||!n.baseUrl&&(Jh(d)||Sve(d))?iut(d,k,n,s,h,S):cut(d,k,g,n,s,S,l)}function Tue(e,t,n,s,l,f){return{extensionsToSearch:Vn(sut(e,s)),referenceKind:t,importingSourceFile:n,endingPreference:l==null?void 0:l.importModuleSpecifierEnding,resolutionMode:f}}function iut(e,t,n,s,l,f){return n.rootDirs?out(n.rootDirs,e,t,f,n,s,l):ao(i8(e,t,f,s,!1,l).values())}function sut(e,t){const n=t?fr(t.getAmbientModules(),f=>{const d=f.name.slice(1,-1);if(!(!d.startsWith("*.")||d.includes("/")))return d.slice(1)}):[],s=[...BP(e),n],l=vl(e);return Zz(l)?w5(e,s):s}function aut(e,t,n,s){e=e.map(f=>Co(Jh(f)?f:_s(t,f)));const l=ze(e,f=>sv(f,n,t,s)?n.substr(f.length):void 0);return Ss([...e.map(f=>_s(f,l)),n],vC,wf)}function out(e,t,n,s,l,f,d){const g=l.project||f.getCurrentDirectory(),h=!(f.useCaseSensitiveFileNames&&f.useCaseSensitiveFileNames()),k=aut(e,g,n,h);return mn(k,S=>ao(i8(t,S,s,f,!0,d).values()))}function i8(e,t,n,s,l,f,d=vue()){var g;e===void 0&&(e=""),e=ju(e),nv(e)||(e=$i(e)),e===""&&(e="."+hc),e=Ef(e);const h=iv(t,e),k=nv(h)?h:$i(h);if(!l){const O=v4e(k,s);if(O){const U=AP(O,s).typesVersions;if(typeof U=="object"){const M=(g=kU(U))==null?void 0:g.paths;if(M){const W=$i(O),X=h.slice(Ef(W).length);if(RNe(d,X,W,n,s,M))return d}}}}const S=!(s.useCaseSensitiveFileNames&&s.useCaseSensitiveFileNames());if(!dV(s,k))return d;const w=Qae(s,k,n.extensionsToSearch,void 0,["./*"]);if(w)for(let O of w){if(O=Co(O),f&&lx(O,f,t,S)===0)continue;const{name:L,extension:U}=FNe(sf(O),s.getCompilationSettings(),n);d.add(K4(L,"script",U))}const N=_V(s,k);if(N)for(const O of N){const L=sf(Co(O));L!=="@types"&&d.add(bue(L))}return d}function FNe(e,t,n){const s=BT.tryGetRealFileNameForNonJsDeclarationFileName(e);if(s)return{name:s,extension:Jg(s)};if(n.referenceKind===0)return{name:e,extension:Jg(e)};const l=ste(n.endingPreference,n.resolutionMode,t,n.importingSourceFile);if(l===3){if(cu(e,iJ))return{name:e,extension:Jg(e)};const d=BT.tryGetJSExtensionForFile(e,t);return d?{name:ET(e,d),extension:d}:{name:e,extension:Jg(e)}}if((l===0||l===1)&&cu(e,[".js",".jsx",".ts",".tsx",".d.ts"]))return{name:B_(e),extension:Jg(e)};const f=BT.tryGetJSExtensionForFile(e,t);return f?{name:ET(e,f),extension:f}:{name:e,extension:Jg(e)}}function RNe(e,t,n,s,l,f){const d=h=>f[h],g=(h,k)=>{const S=e4(h),w=e4(k),N=typeof S=="object"?S.prefix.length:h.length,O=typeof w=="object"?w.prefix.length:k.length;return Cc(O,N)};return BNe(e,t,n,s,l,wy(f),d,g)}function BNe(e,t,n,s,l,f,d,g){let h=[],k;for(const S of f){if(S===".")continue;const w=S.replace(/^\.\//,""),N=d(S);if(N){const O=e4(w);if(!O)continue;const L=typeof O=="object"&&qR(O,t);L&&(k===void 0||g(S,k)===-1)&&(k=S,h=h.filter(M=>!M.matchedPattern)),(typeof O=="string"||k===void 0||g(S,k)!==1)&&h.push({matchedPattern:L,results:lut(w,N,t,n,s,l).map(({name:M,kind:W,extension:X})=>K4(M,W,X))})}}return h.forEach(S=>S.results.forEach(w=>e.add(w))),k!==void 0}function cut(e,t,n,s,l,f,d){const{baseUrl:g,paths:h}=s,k=vue(),S=vl(s);if(g){const N=s.project||l.getCurrentDirectory(),O=Co(_s(N,g));i8(e,O,f,l,!1,void 0,k),h&&RNe(k,e,O,f,l,h)}const w=JNe(e);for(const N of fut(e,w,d))k.add(K4(N,"external module name",void 0));if(VNe(l,s,t,w,f,k),Zz(S)){let N=!1;if(w===void 0)for(const O of put(l,t)){const L=K4(O,"external module name",void 0);k.has(L.name)||(N=!0,k.add(L))}if(!N){let O=L=>{const U=_s(L,"node_modules");dV(l,U)&&i8(e,U,f,l,!1,void 0,k)};if(w&&Qee(s)){const L=O;O=U=>{const M=t_(e);M.shift();let W=M.shift();if(!W)return L(U);if(Qs(W,"@")){const ue=M.shift();if(!ue)return L(U);W=_s(W,ue)}const X=_s(U,"node_modules",W),Z=_s(X,"package.json");if(pV(l,Z)){const ie=AP(Z,l).exports;if(ie){if(typeof ie!="object"||ie===null)return;const se=wy(ie),V=M.join("/")+(M.length&&nv(e)?"/":""),ve=n===99?["node","import","types"]:["node","require","types"];BNe(k,V,X,f,l,se,fe=>ax(jNe(ie[fe],ve)),Ene);return}}return L(U)}}Ay(t,O)}}return ao(k.values())}function jNe(e,t){if(typeof e=="string")return e;if(e&&typeof e=="object"&&!pa(e)){for(const n in e)if(n==="default"||t.indexOf(n)>-1||UO(t,n)){const s=e[n];return jNe(s,t)}}}function JNe(e){return Sue(e)?nv(e)?e:$i(e):void 0}function lut(e,t,n,s,l,f){if(!Ul(e,"*"))return nf(e,"*")?pt:h(e,"script");const d=e.slice(0,e.length-1),g=vY(n,d);if(g===void 0)return e[e.length-2]==="/"?h(d,"directory"):mn(t,S=>{var w;return(w=UNe("",s,S,l,f))==null?void 0:w.map(({name:N,...O})=>({name:d+N,...O}))});return mn(t,k=>UNe(g,s,k,l,f));function h(k,S){return Qs(k,n)?[{name:cx(k),kind:S,extension:void 0}]:pt}}function UNe(e,t,n,s,l){if(!l.readDirectory)return;const f=e4(n);if(f===void 0||ha(f))return;const d=iv(f.prefix),g=nv(f.prefix)?d:$i(d),h=nv(f.prefix)?"":sf(d),k=Sue(e),S=k?nv(e)?e:$i(e):void 0,w=k?_s(g,h+S):g,N=Co(f.suffix),O=Co(_s(t,w)),L=k?O:Ef(O)+h,U=N?"**/*"+N:"./*",M=fr(Qae(l,O,s.extensionsToSearch,void 0,[U]),Z=>{const ue=X(Z);if(ue){if(Sue(ue))return bue(t_(zNe(ue))[1]);const{name:ie,extension:se}=FNe(ue,l.getCompilationSettings(),s);return K4(ie,"script",se)}}),W=N?pt:fr(_V(l,O),Z=>Z==="node_modules"?void 0:bue(Z));return[...M,...W];function X(Z){const ue=uut(Co(Z),L,N);return ue===void 0?void 0:zNe(ue)}}function uut(e,t,n){return Qs(e,t)&&Ul(e,n)?e.slice(t.length,e.length-n.length):void 0}function zNe(e){return e[0]===hc?e.slice(1):e}function fut(e,t,n){const l=n.getAmbientModules().map(f=>$d(f.name)).filter(f=>Qs(f,e)&&f.indexOf("*")<0);if(t!==void 0){const f=Ef(t);return l.map(d=>LA(d,f))}return l}function _ut(e,t,n,s){const l=Os(e,t),f=Ng(e.text,l.pos),d=f&&He(f,L=>t>=L.pos&&t<=L.end);if(!d)return;const g=e.text.slice(d.pos,t),h=$Ne.exec(g);if(!h)return;const[,k,S,w]=h,N=$i(e.path),O=S==="path"?i8(w,N,Tue(n,0,e),s,!0,e.path):S==="types"?VNe(s,n,N,JNe(w),Tue(n,1,e)):R.fail();return LNe(w,d.pos+k.length,ao(O.values()))}function VNe(e,t,n,s,l,f=vue()){const d=new Map,g=mV(()=>BO(t,e))||pt;for(const k of g)h(k);for(const k of Yae(n,e)){const S=_s($i(k),"node_modules/@types");h(S)}return f;function h(k){if(dV(e,k))for(const S of _V(e,k)){const w=LU(S);if(!(t.types&&!xt(t.types,w)))if(s===void 0)d.has(w)||(f.add(K4(w,"external module name",void 0)),d.set(w,!0));else{const N=_s(k,S),O=Kee(s,w,Ub(e));O!==void 0&&i8(O,N,l,e,!1,void 0,f)}}}}function put(e,t){if(!e.readFile||!e.fileExists)return pt;const n=[];for(const s of Yae(t,e)){const l=AP(s,e);for(const f of qNe){const d=l[f];if(d)for(const g in d)mc(d,g)&&!Qs(g,"@types/")&&n.push(g)}}return n}function dut(e,t){const n=Math.max(e.lastIndexOf(hc),e.lastIndexOf(n7)),s=n!==-1?n+1:0,l=e.length-s;return l===0||Bd(e.substr(s,l),99)?void 0:hu(t+s,l)}function mut(e){if(e&&e.length>=2&&e.charCodeAt(0)===46){const t=e.length>=3&&e.charCodeAt(1)===46?2:1,n=e.charCodeAt(t);return n===47||n===92}return!1}function Sue(e){return nf(e,hc)}function hut(e){return Da(e.parent)&&Ru(e.parent.arguments)===e&&Ye(e.parent.expression)&&e.parent.expression.escapedText==="require"}var xue,$Ne,qNe,gut=p({"src/services/stringCompletions.ts"(){Si(),kue(),xue={directory:0,script:1,["external module name"]:2},$Ne=/^(\/\/\/\s*<reference\s+(path|types)\s*=\s*(?:'|"))([^\3"]*)$/,qNe=["dependencies","devDependencies","peerDependencies","optionalDependencies"]}}),Mq={};T(Mq,{getStringLiteralCompletionDetails:()=>Zlt,getStringLiteralCompletions:()=>Qlt});var yut=p({"src/services/_namespaces/ts.Completions.StringCompletions.ts"(){gut()}}),Bw={};T(Bw,{CompletionKind:()=>gue,CompletionSource:()=>mue,SortText:()=>Qu,StringCompletions:()=>Mq,SymbolOriginInfoKind:()=>hue,createCompletionDetails:()=>iL,createCompletionDetailsForSymbol:()=>uue,getCompletionEntriesFromSymbols:()=>cue,getCompletionEntryDetails:()=>Elt,getCompletionEntrySymbol:()=>Plt,getCompletionsAtPosition:()=>alt,getPropertiesForObjectExpression:()=>Nq,moduleSpecifierResolutionCacheAttemptLimit:()=>due,moduleSpecifierResolutionLimit:()=>Lq});var kue=p({"src/services/_namespaces/ts.Completions.ts"(){Xlt(),yut()}});function Cue(e,t,n,s){const l=Sut(e,n,s);return(f,d,g)=>{const{directImports:h,indirectUsers:k}=vut(e,t,l,d,n,s);return{indirectUsers:k,...but(h,f,d.exportKind,n,g)}}}function vut(e,t,n,{exportingModuleSymbol:s,exportKind:l},f,d){const g=z4(),h=z4(),k=[],S=!!s.globalExports,w=S?void 0:[];return O(s),{directImports:k,indirectUsers:N()};function N(){if(S)return e;if(s.declarations)for(const Z of s.declarations)hT(Z)&&t.has(Z.getSourceFile().fileName)&&W(Z);return w.map(bn)}function O(Z){const ue=X(Z);if(ue){for(const ie of ue)if(g(ie))switch(d&&d.throwIfCancellationRequested(),ie.kind){case 210:if(up(ie)){L(ie);break}if(!S){const V=ie.parent;if(l===2&&V.kind===257){const{name:ve}=V;if(ve.kind===79){k.push(ve);break}}}break;case 79:break;case 268:M(ie,ie.name,Ti(ie,1),!1);break;case 269:k.push(ie);const se=ie.importClause&&ie.importClause.namedBindings;se&&se.kind===271?M(ie,se.name,!1,!0):!S&&RC(ie)&&W(cL(ie));break;case 275:ie.exportClause?ie.exportClause.kind===277?W(cL(ie),!0):k.push(ie):O(Eut(ie,f));break;case 202:!S&&ie.isTypeOf&&!ie.qualifier&&U(ie)&&W(ie.getSourceFile(),!0),k.push(ie);break;default:R.failBadSyntaxKind(ie,"Unexpected import kind.")}}}function L(Z){const ue=kn(Z,Fq)||Z.getSourceFile();W(ue,!!U(Z,!0))}function U(Z,ue=!1){return kn(Z,ie=>ue&&Fq(ie)?"quit":Qd(ie)&&Oe(ie.modifiers,BJ))}function M(Z,ue,ie,se){if(l===2)se||k.push(Z);else if(!S){const V=cL(Z);R.assert(V.kind===308||V.kind===264),ie||Tut(V,ue,f)?W(V,!0):W(V)}}function W(Z,ue=!1){if(R.assert(!S),!h(Z)||(w.push(Z),!ue))return;const se=f.getMergedSymbol(Z.symbol);if(!se)return;R.assert(!!(se.flags&1536));const V=X(se);if(V)for(const ve of V)zy(ve)||W(cL(ve),!0)}function X(Z){return n.get(Ha(Z).toString())}}function but(e,t,n,s,l){const f=[],d=[];function g(N,O){f.push([N,O])}if(e)for(const N of e)h(N);return{importSearches:f,singleReferences:d};function h(N){if(N.kind===268){Eue(N)&&k(N.name);return}if(N.kind===79){k(N);return}if(N.kind===202){if(N.qualifier){const U=Dp(N.qualifier);U.escapedText===yl(t)&&d.push(U)}else n===2&&d.push(N.argument.literal);return}if(N.moduleSpecifier.kind!==10)return;if(N.kind===275){N.exportClause&&Xd(N.exportClause)&&S(N.exportClause);return}const{name:O,namedBindings:L}=N.importClause||{name:void 0,namedBindings:void 0};if(L)switch(L.kind){case 271:k(L.name);break;case 272:(n===0||n===1)&&S(L);break;default:R.assertNever(L)}if(O&&(n===1||n===2)&&(!l||O.escapedText===tV(t))){const U=s.getSymbolAtLocation(O);g(O,U)}}function k(N){n===2&&(!l||w(N.escapedText))&&g(N,s.getSymbolAtLocation(N))}function S(N){if(N)for(const O of N.elements){const{name:L,propertyName:U}=O;if(w((U||L).escapedText))if(U)d.push(U),(!l||L.escapedText===t.escapedName)&&g(L,s.getSymbolAtLocation(L));else{const M=O.kind===278&&O.propertyName?s.getExportSpecifierLocalTargetSymbol(O):s.getSymbolAtLocation(L);g(L,M)}}}function w(N){return N===t.escapedName||n!==0&&N==="default"}}function Tut(e,t,n){const s=n.getSymbolAtLocation(t);return!!HNe(e,l=>{if(!Uu(l))return;const{exportClause:f,moduleSpecifier:d}=l;return!d&&f&&Xd(f)&&f.elements.some(g=>n.getExportSpecifierLocalTargetSymbol(g)===s)})}function WNe(e,t,n){var s;const l=[],f=e.getTypeChecker();for(const d of t){const g=n.valueDeclaration;if((g==null?void 0:g.kind)===308){for(const h of d.referencedFiles)e.getSourceFileFromReference(d,h)===g&&l.push({kind:"reference",referencingFile:d,ref:h});for(const h of d.typeReferenceDirectives){const k=(s=e.getResolvedTypeReferenceDirectives().get(h.fileName,h.resolutionMode||d.impliedNodeFormat))==null?void 0:s.resolvedTypeReferenceDirective;k!==void 0&&k.resolvedFileName===g.fileName&&l.push({kind:"reference",referencingFile:d,ref:h})}}GNe(d,(h,k)=>{f.getSymbolAtLocation(k)===n&&l.push({kind:"import",literal:k})})}return l}function Sut(e,t,n){const s=new Map;for(const l of e)n&&n.throwIfCancellationRequested(),GNe(l,(f,d)=>{const g=t.getSymbolAtLocation(d);if(g){const h=Ha(g).toString();let k=s.get(h);k||s.set(h,k=[]),k.push(f)}});return s}function HNe(e,t){return Q(e.kind===308?e.statements:e.body.statements,n=>t(n)||Fq(n)&&Q(n.body&&n.body.statements,t))}function GNe(e,t){if(e.externalModuleIndicator||e.imports!==void 0)for(const n of e.imports)t(G7(n),n);else HNe(e,n=>{switch(n.kind){case 275:case 269:{const s=n;s.moduleSpecifier&&yo(s.moduleSpecifier)&&t(s,s.moduleSpecifier);break}case 268:{const s=n;Eue(s)&&t(s,s.moduleReference.expression);break}}})}function XNe(e,t,n,s){return s?l():l()||f();function l(){var h;const{parent:k}=e,S=k.parent;if(t.exportSymbol)return k.kind===208?(h=t.declarations)!=null&&h.some(O=>O===k)&&$n(S)?N(S,!1):void 0:d(t.exportSymbol,g(k));{const O=kut(k,e);if(O&&Ti(O,1))return Xu(O)&&O.moduleReference===e?s?void 0:{kind:0,symbol:n.getSymbolAtLocation(O.name)}:d(t,g(O));if(qg(k))return d(t,0);if(Tl(k))return w(k);if(Tl(S))return w(S);if($n(k))return N(k,!0);if($n(S))return N(S,!0);if(vre(k)||pre(k))return d(t,0)}function w(O){if(!O.symbol.parent)return;const L=O.isExportEquals?2:1;return{kind:1,symbol:t,exportInfo:{exportingModuleSymbol:O.symbol.parent,exportKind:L}}}function N(O,L){let U;switch(ll(O)){case 1:U=0;break;case 2:U=2;break;default:return}const M=L?n.getSymbolAtLocation(TTe(Oa(O.left,$c))):t;return M&&d(M,U)}}function f(){if(!Cut(e))return;let k=n.getImmediateAliasedSymbol(t);if(!k||(k=wut(k,n),k.escapedName==="export="&&(k=xut(k,n),k===void 0)))return;const S=tV(k);if(S===void 0||S==="default"||S===t.escapedName)return{kind:0,symbol:k}}function d(h,k){const S=wue(h,k,n);return S&&{kind:1,symbol:h,exportInfo:S}}function g(h){return Ti(h,1024)?1:0}}function xut(e,t){var n,s;if(e.flags&2097152)return t.getImmediateAliasedSymbol(e);const l=R.checkDefined(e.valueDeclaration);if(Tl(l))return(n=Pi(l.expression,Vh))==null?void 0:n.symbol;if($n(l))return(s=Pi(l.right,Vh))==null?void 0:s.symbol;if(bs(l))return l.symbol}function kut(e,t){const n=xs(e)?e:qo(e)?y6(e):void 0;return n?e.name!==t||v4(n.parent)?void 0:Xl(n.parent.parent)?n.parent.parent:void 0:e}function Cut(e){const{parent:t}=e;switch(t.kind){case 268:return t.name===e&&Eue(t);case 273:return!t.propertyName;case 270:case 271:return R.assert(t.name===e),!0;case 205:return Mn(e)&&bT(t.parent.parent);default:return!1}}function wue(e,t,n){const s=e.parent;if(!s)return;const l=n.getMergedSymbol(s);return A9(l)?{exportingModuleSymbol:l,exportKind:t}:void 0}function wut(e,t){if(e.declarations)for(const n of e.declarations){if(i_(n)&&!n.propertyName&&!n.parent.parent.moduleSpecifier)return t.getExportSpecifierLocalTargetSymbol(n)||e;if(oi(n)&&Fg(n.expression)&&!as(n.name))return t.getSymbolAtLocation(n);if(id(n)&&$n(n.parent.parent)&&ll(n.parent.parent)===2)return t.getExportSpecifierLocalTargetSymbol(n.name)}return e}function Eut(e,t){return t.getMergedSymbol(cL(e).symbol)}function cL(e){if(e.kind===210)return e.getSourceFile();const{parent:t}=e;return t.kind===308?t:(R.assert(t.kind===265),Oa(t.parent,Fq))}function Fq(e){return e.kind===264&&e.name.kind===10}function Eue(e){return e.moduleReference.kind===280&&e.moduleReference.expression.kind===10}var Aue,Pue,Aut=p({"src/services/importTracker.ts"(){Si(),Aue=(e=>(e[e.Named=0]="Named",e[e.Default=1]="Default",e[e.ExportEquals=2]="ExportEquals",e))(Aue||{}),Pue=(e=>(e[e.Import=0]="Import",e[e.Export=1]="Export",e))(Pue||{})}});function Hg(e,t=1){return{kind:t,node:e.name||e,context:Put(e)}}function QNe(e){return e&&e.kind===void 0}function Put(e){if(lf(e))return HT(e);if(e.parent){if(!lf(e.parent)&&!Tl(e.parent)){if(Mn(e)){const n=$n(e.parent)?e.parent:$c(e.parent)&&$n(e.parent.parent)&&e.parent.parent.left===e.parent?e.parent.parent:void 0;if(n&&ll(n)!==0)return HT(n)}if(Wg(e.parent)||pw(e.parent))return e.parent.parent;if(_w(e.parent)||IT(e.parent)||ZA(e.parent))return e.parent;if(sc(e)){const n=X7(e);if(n){const s=kn(n,l=>lf(l)||Ks(l)||nP(l));return lf(s)?HT(s):s}}const t=kn(e,ac);return t?HT(t.parent):void 0}if(e.parent.name===e||Al(e.parent)||Tl(e.parent)||(AC(e.parent)||qo(e.parent))&&e.parent.propertyName===e||e.kind===88&&Ti(e.parent,1025))return HT(e.parent)}}function HT(e){if(e)switch(e.kind){case 257:return!Of(e.parent)||e.parent.declarations.length!==1?e:Xl(e.parent.parent)?e.parent.parent:k6(e.parent.parent)?HT(e.parent.parent):e.parent;case 205:return HT(e.parent.parent);case 273:return e.parent.parent.parent;case 278:case 271:return e.parent.parent;case 270:case 277:return e.parent;case 223:return Gu(e.parent)?e.parent:e;case 247:case 246:return{start:e.initializer,end:e.expression};case 299:case 300:return u1(e.parent)?HT(kn(e.parent,t=>$n(t)||k6(t))):e;default:return e}}function Due(e,t,n){if(!n)return;const s=QNe(n)?uL(n.start,t,n.end):uL(n,t);return s.start!==e.start||s.length!==e.length?{contextSpan:s}:void 0}function Dut(e,t,n,s,l){const f=Lp(s,l),d={use:1},g=uk.getReferencedSymbolsForNode(l,f,e,n,t,d),h=e.getTypeChecker(),k=uk.getAdjustedNode(f,d),S=Nut(k)?h.getSymbolAtLocation(k):void 0;return!g||!g.length?void 0:fr(g,({definition:w,references:N})=>w&&{definition:h.runWithCancellationToken(t,O=>Lut(w,O,f)),references:N.map(O=>Fut(O,S))})}function Nut(e){return e.kind===88||!!t5(e)||r5(e)||e.kind===135&&Al(e.parent)}function Iut(e,t,n,s,l){const f=Lp(s,l);let d;const g=YNe(e,t,n,f,l);if(f.parent.kind===208||f.parent.kind===205||f.parent.kind===209||f.kind===106)d=g&&[...g];else if(g){const k=mY(g),S=new Map;for(;!k.isEmpty();){const w=k.dequeue();if(!Tm(S,Wo(w.node)))continue;d=$r(d,w);const N=YNe(e,t,n,w.node,w.node.pos);N&&k.enqueue(...N)}}const h=e.getTypeChecker();return qt(d,k=>But(k,h))}function YNe(e,t,n,s,l){if(s.kind===308)return;const f=e.getTypeChecker();if(s.parent.kind===300){const d=[];return uk.getReferenceEntriesForShorthandPropertyAssignment(s,f,g=>d.push(Hg(g))),d}else if(s.kind===106||n_(s.parent)){const d=f.getSymbolAtLocation(s);return d.valueDeclaration&&[Hg(d.valueDeclaration)]}else return ZNe(l,s,e,n,t,{implementations:!0,use:1})}function Out(e,t,n,s,l,f,d){return qt(KNe(uk.getReferencedSymbolsForNode(l,s,e,n,t,f)),g=>d(g,s,e.getTypeChecker()))}function ZNe(e,t,n,s,l,f={},d=new Set(s.map(g=>g.fileName))){return KNe(uk.getReferencedSymbolsForNode(e,t,n,s,l,f,d))}function KNe(e){return e&&mn(e,t=>t.references)}function Lut(e,t,n){const s=(()=>{switch(e.type){case 0:{const{symbol:S}=e,{displayParts:w,kind:N}=eIe(S,t,n),O=w.map(M=>M.text).join(""),L=S.declarations&&Ru(S.declarations),U=L?ra(L)||L:n;return{...lL(U),name:O,kind:N,displayParts:w,context:HT(L)}}case 1:{const{node:S}=e;return{...lL(S),name:S.text,kind:"label",displayParts:[x_(S.text,17)]}}case 2:{const{node:S}=e,w=qa(S.kind);return{...lL(S),name:w,kind:"keyword",displayParts:[{text:w,kind:"keyword"}]}}case 3:{const{node:S}=e,w=t.getSymbolAtLocation(S),N=w&&p1.getSymbolDisplayPartsDocumentationAndSymbolKind(t,w,S.getSourceFile(),ek(S),S).displayParts||[Mp("this")];return{...lL(S),name:"this",kind:"var",displayParts:N}}case 4:{const{node:S}=e;return{...lL(S),name:S.text,kind:"var",displayParts:[x_(lu(S),8)]}}case 5:return{textSpan:Dv(e.reference),sourceFile:e.file,name:e.reference.fileName,kind:"string",displayParts:[x_(`"${e.reference.fileName}"`,8)]};default:return R.assertNever(e)}})(),{sourceFile:l,textSpan:f,name:d,kind:g,displayParts:h,context:k}=s;return{containerKind:"",containerName:"",fileName:l.fileName,kind:g,name:d,textSpan:f,displayParts:h,...Due(f,l,k)}}function lL(e){const t=e.getSourceFile();return{sourceFile:t,textSpan:uL(ac(e)?e.expression:e,t)}}function eIe(e,t,n){const s=uk.getIntersectingMeaningFromDeclarations(n,e),l=e.declarations&&Ru(e.declarations)||n,{displayParts:f,symbolKind:d}=p1.getSymbolDisplayPartsDocumentationAndSymbolKind(t,e,l.getSourceFile(),l,l,s);return{displayParts:f,kind:d}}function Mut(e,t,n,s){return{...Rq(e),...s&&Rut(e,t,n)}}function Fut(e,t){const n=tIe(e);return t?{...n,isDefinition:e.kind!==0&&nIe(e.node,t)}:n}function tIe(e){const t=Rq(e);if(e.kind===0)return{...t,isWriteAccess:!1};const{kind:n,node:s}=e;return{...t,isWriteAccess:rIe(s),isInString:n===2?!0:void 0}}function Rq(e){if(e.kind===0)return{textSpan:e.textSpan,fileName:e.fileName};{const t=e.node.getSourceFile(),n=uL(e.node,t);return{textSpan:n,fileName:t.fileName,...Due(n,t,e.context)}}}function Rut(e,t,n){if(e.kind!==0&&Ye(t)){const{node:s,kind:l}=e,f=s.parent,d=t.text,g=id(f);if(g||N9(f)&&f.name===s&&f.dotDotDotToken===void 0){const h={prefixText:d+": "},k={suffixText:": "+d};if(l===3)return h;if(l===4)return k;if(g){const S=f.parent;return cc(S)&&$n(S.parent)&&Fg(S.parent.left)?h:k}else return h}else if(S_(f)&&!f.propertyName){const h=i_(t.parent)?n.getExportSpecifierLocalTargetSymbol(t.parent):n.getSymbolAtLocation(t);return xt(h.declarations,f)?{prefixText:d+" as "}:uh}else if(i_(f)&&!f.propertyName)return t===e.node||n.getSymbolAtLocation(t)===n.getSymbolAtLocation(e.node)?{prefixText:d+" as "}:{suffixText:" as "+d}}return uh}function But(e,t){const n=Rq(e);if(e.kind!==0){const{node:s}=e;return{...n,...jut(s,t)}}else return{...n,kind:"",displayParts:[]}}function jut(e,t){const n=t.getSymbolAtLocation(lf(e)&&e.name?e.name:e);return n?eIe(n,t,e):e.kind===207?{kind:"interface",displayParts:[_f(20),Mp("object literal"),_f(21)]}:e.kind===228?{kind:"local class",displayParts:[_f(20),Mp("anonymous local class"),_f(21)]}:{kind:qT(e),displayParts:[]}}function Jut(e){const t=Rq(e);if(e.kind===0)return{fileName:t.fileName,span:{textSpan:t.textSpan,kind:"reference"}};const n=rIe(e.node),s={textSpan:t.textSpan,kind:n?"writtenReference":"reference",isInString:e.kind===2?!0:void 0,...t.contextSpan&&{contextSpan:t.contextSpan}};return{fileName:t.fileName,span:s}}function uL(e,t,n){let s=e.getStart(t),l=(n||e).getEnd();return sc(e)&&l-s>2&&(R.assert(n===void 0),s+=1,l-=1),eu(s,l)}function Nue(e){return e.kind===0?e.textSpan:uL(e.node,e.node.getSourceFile())}function rIe(e){const t=t5(e);return!!t&&Uut(t)||e.kind===88||IP(e)}function nIe(e,t){var n;if(!t)return!1;const s=t5(e)||(e.kind===88?e.parent:r5(e)||e.kind===135&&Al(e.parent)?e.parent.parent:void 0),l=s&&$n(s)?s.left:void 0;return!!(s&&((n=t.declarations)!=null&&n.some(f=>f===s||f===l)))}function Uut(e){if(e.flags&16777216)return!0;switch(e.kind){case 223:case 205:case 260:case 228:case 88:case 263:case 302:case 278:case 270:case 268:case 273:case 261:case 341:case 349:case 288:case 264:case 267:case 271:case 277:case 166:case 300:case 262:case 165:return!0;case 299:return!u1(e.parent);case 259:case 215:case 173:case 171:case 174:case 175:return!!e.body;case 257:case 169:return!!e.initializer||v4(e.parent);case 170:case 168:case 351:case 344:return!1;default:return R.failBadSyntaxKind(e)}}var Iue,Oue,Lue,uk,zut=p({"src/services/findAllReferences.ts"(){Si(),iIe(),Iue=(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",e))(Iue||{}),Oue=(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",e))(Oue||{}),Lue=(e=>(e[e.Other=0]="Other",e[e.References=1]="References",e[e.Rename=2]="Rename",e))(Lue||{}),(e=>{function t(Fe,Pt,Ht,Ne,kt,Te={},pe=new Set(Ne.map(xe=>xe.fileName))){var xe,Y,Ze;if(Pt=n(Pt,Te),bs(Pt)){const ye=a8.getReferenceAtPosition(Pt,Fe,Ht);if(!(ye!=null&&ye.file))return;const wt=Ht.getTypeChecker().getMergedSymbol(ye.file.symbol);if(wt)return k(Ht,wt,!1,Ne,pe);const nr=Ht.getFileIncludeReasons();return nr?[{definition:{type:5,reference:ye.reference,file:Pt},references:l(ye.file,nr,Ht)||pt}]:void 0}if(!Te.implementations){const ye=w(Pt,Ne,kt);if(ye)return ye}const ct=Ht.getTypeChecker(),it=ct.getSymbolAtLocation(Al(Pt)&&Pt.parent.name||Pt);if(!it){if(!Te.implementations&&sc(Pt)){if(rV(Pt)){const ye=Ht.getFileIncludeReasons(),wt=(Ze=(Y=(xe=Pt.getSourceFile().resolvedModules)==null?void 0:xe.get(Pt.text,km(Pt.getSourceFile(),Pt)))==null?void 0:Y.resolvedModule)==null?void 0:Ze.resolvedFileName,nr=wt?Ht.getSourceFile(wt):void 0;if(nr)return[{definition:{type:4,node:Pt},references:l(nr,ye,Ht)||pt}]}return Rt(Pt,Ne,ct,kt)}return}if(it.escapedName==="export=")return k(Ht,it.parent,!1,Ne,pe);const Kt=d(it,Ht,Ne,kt,Te,pe);if(Kt&&!(it.flags&33554432))return Kt;const wr=f(Pt,it,ct),qr=wr&&d(wr,Ht,Ne,kt,Te,pe),qn=N(it,Pt,Ne,pe,ct,kt,Te);return g(Ht,Kt,qn,qr)}e.getReferencedSymbolsForNode=t;function n(Fe,Pt){return Pt.use===1?Fe=gae(Fe):Pt.use===2&&(Fe=Vz(Fe)),Fe}e.getAdjustedNode=n;function s(Fe,Pt,Ht,Ne=new Set(Ht.map(kt=>kt.fileName))){var kt,Te;const pe=(kt=Pt.getSourceFile(Fe))==null?void 0:kt.symbol;if(pe)return((Te=k(Pt,pe,!1,Ht,Ne)[0])==null?void 0:Te.references)||pt;const xe=Pt.getFileIncludeReasons(),Y=Pt.getSourceFile(Fe);return Y&&xe&&l(Y,xe,Pt)||pt}e.getReferencesForFileName=s;function l(Fe,Pt,Ht){let Ne;const kt=Pt.get(Fe.path)||pt;for(const Te of kt)if(Yb(Te)){const pe=Ht.getSourceFileByPath(Te.file),xe=ID(Ht.getSourceFileByPath,Te);M4(xe)&&(Ne=$r(Ne,{kind:0,fileName:pe.fileName,textSpan:Dv(xe)}))}return Ne}function f(Fe,Pt,Ht){if(Fe.parent&&aO(Fe.parent)){const Ne=Ht.getAliasedSymbol(Pt),kt=Ht.getMergedSymbol(Ne);if(Ne!==kt)return kt}}function d(Fe,Pt,Ht,Ne,kt,Te){const pe=Fe.flags&1536&&Fe.declarations&&He(Fe.declarations,bs);if(!pe)return;const xe=Fe.exports.get("export="),Y=k(Pt,Fe,!!xe,Ht,Te);if(!xe||!Te.has(pe.fileName))return Y;const Ze=Pt.getTypeChecker();return Fe=fp(xe,Ze),g(Pt,Y,N(Fe,void 0,Ht,Te,Ze,Ne,kt))}function g(Fe,...Pt){let Ht;for(const Ne of Pt)if(!(!Ne||!Ne.length)){if(!Ht){Ht=Ne;continue}for(const kt of Ne){if(!kt.definition||kt.definition.type!==0){Ht.push(kt);continue}const Te=kt.definition.symbol,pe=ar(Ht,Y=>!!Y.definition&&Y.definition.type===0&&Y.definition.symbol===Te);if(pe===-1){Ht.push(kt);continue}const xe=Ht[pe];Ht[pe]={definition:xe.definition,references:xe.references.concat(kt.references).sort((Y,Ze)=>{const ct=h(Fe,Y),it=h(Fe,Ze);if(ct!==it)return Cc(ct,it);const Kt=Nue(Y),wr=Nue(Ze);return Kt.start!==wr.start?Cc(Kt.start,wr.start):Cc(Kt.length,wr.length)})}}}return Ht}function h(Fe,Pt){const Ht=Pt.kind===0?Fe.getSourceFile(Pt.fileName):Pt.node.getSourceFile();return Fe.getSourceFiles().indexOf(Ht)}function k(Fe,Pt,Ht,Ne,kt){R.assert(!!Pt.valueDeclaration);const Te=fr(WNe(Fe,Ne,Pt),xe=>{if(xe.kind==="import"){const Y=xe.literal.parent;if(Hb(Y)){const Ze=Oa(Y.parent,zy);if(Ht&&!Ze.qualifier)return}return Hg(xe.literal)}else return{kind:0,fileName:xe.referencingFile.fileName,textSpan:Dv(xe.ref)}});if(Pt.declarations)for(const xe of Pt.declarations)switch(xe.kind){case 308:break;case 264:kt.has(xe.getSourceFile().fileName)&&Te.push(Hg(xe.name));break;default:R.assert(!!(Pt.flags&33554432),"Expected a module symbol to be declared by a SourceFile or ModuleDeclaration.")}const pe=Pt.exports.get("export=");if(pe!=null&&pe.declarations)for(const xe of pe.declarations){const Y=xe.getSourceFile();if(kt.has(Y.fileName)){const Ze=$n(xe)&&oi(xe.left)?xe.left.expression:Tl(xe)?R.checkDefined(Yo(xe,93,Y)):ra(xe)||xe;Te.push(Hg(Ze))}}return Te.length?[{definition:{type:0,symbol:Pt},references:Te}]:pt}function S(Fe){return Fe.kind===146&&ow(Fe.parent)&&Fe.parent.operator===146}function w(Fe,Pt,Ht){if(JD(Fe.kind))return Fe.kind===114&&lw(Fe.parent)||Fe.kind===146&&!S(Fe)?void 0:Qe(Pt,Fe.kind,Ht,Fe.kind===146?S:void 0);if(I6(Fe.parent)&&Fe.parent.name===Fe)return ot(Pt,Ht);if(nw(Fe)&&fl(Fe.parent))return[{definition:{type:2,node:Fe},references:[Hg(Fe)]}];if(v9(Fe)){const Ne=Rz(Fe.parent,Fe.text);return Ne&&Pe(Ne.parent,Ne)}else if(cae(Fe))return Pe(Fe.parent,Fe);if(U4(Fe))return ii(Fe,Pt,Ht);if(Fe.kind===106)return ws(Fe)}function N(Fe,Pt,Ht,Ne,kt,Te,pe){const xe=Pt&&U(Fe,Pt,kt,!_i(pe))||Fe,Y=Pt?cs(Pt,xe):7,Ze=[],ct=new X(Ht,Ne,Pt?L(Pt):0,kt,Te,Y,pe,Ze),it=!_i(pe)||!xe.declarations?void 0:He(xe.declarations,i_);if(it)st(it.name,xe,it,ct.createSearch(Pt,Fe,void 0),ct,!0,!0);else if(Pt&&Pt.kind===88&&xe.escapedName==="default"&&xe.parent)It(Pt,xe,ct),Z(Pt,xe,{exportingModuleSymbol:xe.parent,exportKind:1},ct);else{const Kt=ct.createSearch(Pt,xe,void 0,{allSearchSymbols:Pt?Rr(xe,Pt,kt,pe.use===2,!!pe.providePrefixAndSuffixTextForRename,!!pe.implementations):[xe]});O(xe,ct,Kt)}return Ze}function O(Fe,Pt,Ht){const Ne=fe(Fe);if(Ne)tt(Ne,Ne.getSourceFile(),Ht,Pt,!(bs(Ne)&&!xt(Pt.sourceFiles,Ne)));else for(const kt of Pt.sourceFiles)Pt.cancellationToken.throwIfCancellationRequested(),V(kt,Ht,Pt)}function L(Fe){switch(Fe.kind){case 173:case 135:return 1;case 79:if(Ri(Fe.parent))return R.assert(Fe.parent.name===Fe),2;default:return 0}}function U(Fe,Pt,Ht,Ne){const{parent:kt}=Pt;return i_(kt)&&Ne?Ke(Pt,Fe,kt,Ht):ze(Fe.declarations,Te=>{if(!Te.parent){if(Fe.flags&33554432)return;R.fail(`Unexpected symbol at ${R.formatSyntaxKind(Pt.kind)}: ${R.formatSymbol(Fe)}`)}return _p(Te.parent)&&sw(Te.parent.parent)?Ht.getPropertyOfType(Ht.getTypeFromTypeNode(Te.parent.parent),Fe.name):void 0})}let M;(Fe=>{Fe[Fe.None=0]="None",Fe[Fe.Constructor=1]="Constructor",Fe[Fe.Class=2]="Class"})(M||(M={}));function W(Fe){if(!(Fe.flags&33555968))return;const Pt=Fe.declarations&&He(Fe.declarations,Ht=>!bs(Ht)&&!Pl(Ht));return Pt&&Pt.symbol}class X{constructor(Pt,Ht,Ne,kt,Te,pe,xe,Y){this.sourceFiles=Pt,this.sourceFilesSet=Ht,this.specialSearchKind=Ne,this.checker=kt,this.cancellationToken=Te,this.searchMeaning=pe,this.options=xe,this.result=Y,this.inheritsFromCache=new Map,this.markSeenContainingTypeReference=z4(),this.markSeenReExportRHS=z4(),this.symbolIdToReferences=[],this.sourceFileToSeenSymbols=[]}includesSourceFile(Pt){return this.sourceFilesSet.has(Pt.fileName)}getImportSearches(Pt,Ht){return this.importTracker||(this.importTracker=Cue(this.sourceFiles,this.sourceFilesSet,this.checker,this.cancellationToken)),this.importTracker(Pt,Ht,this.options.use===2)}createSearch(Pt,Ht,Ne,kt={}){const{text:Te=$d(yl(Q6(Ht)||W(Ht)||Ht)),allSearchSymbols:pe=[Ht]}=kt,xe=Vc(Te),Y=this.options.implementations&&Pt?Xn(Pt,Ht,this.checker):void 0;return{symbol:Ht,comingFrom:Ne,text:Te,escapedText:xe,parents:Y,allSearchSymbols:pe,includes:Ze=>xt(pe,Ze)}}referenceAdder(Pt){const Ht=Ha(Pt);let Ne=this.symbolIdToReferences[Ht];return Ne||(Ne=this.symbolIdToReferences[Ht]=[],this.result.push({definition:{type:0,symbol:Pt},references:Ne})),(kt,Te)=>Ne.push(Hg(kt,Te))}addStringOrCommentReference(Pt,Ht){this.result.push({definition:void 0,references:[{kind:0,fileName:Pt,textSpan:Ht}]})}markSearchedSymbols(Pt,Ht){const Ne=Wo(Pt),kt=this.sourceFileToSeenSymbols[Ne]||(this.sourceFileToSeenSymbols[Ne]=new Set);let Te=!1;for(const pe of Ht)Te=fi(kt,Ha(pe))||Te;return Te}}function Z(Fe,Pt,Ht,Ne){const{importSearches:kt,singleReferences:Te,indirectUsers:pe}=Ne.getImportSearches(Pt,Ht);if(Te.length){const xe=Ne.referenceAdder(Pt);for(const Y of Te)ie(Y,Ne)&&xe(Y)}for(const[xe,Y]of kt)Ge(xe.getSourceFile(),Ne.createSearch(xe,Y,1),Ne);if(pe.length){let xe;switch(Ht.exportKind){case 0:xe=Ne.createSearch(Fe,Pt,1);break;case 1:xe=Ne.options.use===2?void 0:Ne.createSearch(Fe,Pt,1,{text:"default"});break}if(xe)for(const Y of pe)V(Y,xe,Ne)}}function ue(Fe,Pt,Ht,Ne,kt,Te,pe,xe){const Y=Cue(Fe,new Set(Fe.map(Kt=>Kt.fileName)),Pt,Ht),{importSearches:Ze,indirectUsers:ct,singleReferences:it}=Y(Ne,{exportKind:pe?1:0,exportingModuleSymbol:kt},!1);for(const[Kt]of Ze)xe(Kt);for(const Kt of it)Ye(Kt)&&zy(Kt.parent)&&xe(Kt);for(const Kt of ct)for(const wr of Se(Kt,pe?"default":Te)){const qr=Pt.getSymbolAtLocation(wr),qn=Oe(qr==null?void 0:qr.declarations,ye=>!!Pi(ye,Tl));Ye(wr)&&!AC(wr.parent)&&(qr===Ne||qn)&&xe(wr)}}e.eachExportReference=ue;function ie(Fe,Pt){return Je(Fe,Pt)?Pt.options.use!==2?!0:Ye(Fe)?!(AC(Fe.parent)&&Fe.escapedText==="default"):!1:!1}function se(Fe,Pt){if(Fe.declarations)for(const Ht of Fe.declarations){const Ne=Ht.getSourceFile();Ge(Ne,Pt.createSearch(Ht,Fe,0),Pt,Pt.includesSourceFile(Ne))}}function V(Fe,Pt,Ht){Joe(Fe).get(Pt.escapedText)!==void 0&&Ge(Fe,Pt,Ht)}function ve(Fe,Pt){return u1(Fe.parent.parent)?Pt.getPropertySymbolOfDestructuringAssignment(Fe):void 0}function fe(Fe){const{declarations:Pt,flags:Ht,parent:Ne,valueDeclaration:kt}=Fe;if(kt&&(kt.kind===215||kt.kind===228))return kt;if(!Pt)return;if(Ht&8196){const xe=He(Pt,Y=>R_(Y,8)||Wf(Y));return xe?Jb(xe,260):void 0}if(Pt.some(N9))return;const Te=Ne&&!(Fe.flags&262144);if(Te&&!(A9(Ne)&&!Ne.globalExports))return;let pe;for(const xe of Pt){const Y=ek(xe);if(pe&&pe!==Y||!Y||Y.kind===308&&!lp(Y))return;if(pe=Y,yc(pe)){let Ze;for(;Ze=cee(pe);)pe=Ze}}return Te?pe.getSourceFile():pe}function Ce(Fe,Pt,Ht,Ne=Ht){return _e(Fe,Pt,Ht,()=>!0,Ne)||!1}e.isSymbolReferencedInFile=Ce;function _e(Fe,Pt,Ht,Ne,kt=Ht){const Te=sp(Fe.parent,Fe.parent.parent)?Uo(Pt.getSymbolsOfParameterPropertyDeclaration(Fe.parent,Fe.text)):Pt.getSymbolAtLocation(Fe);if(Te)for(const pe of Se(Ht,Te.name,kt)){if(!Ye(pe)||pe===Fe||pe.escapedText!==Fe.escapedText)continue;const xe=Pt.getSymbolAtLocation(pe);if(xe===Te||Pt.getShorthandAssignmentValueSymbol(pe.parent)===Te||i_(pe.parent)&&Ke(pe,xe,pe.parent,Pt)===Te){const Y=Ne(pe);if(Y)return Y}}}e.eachSymbolReferenceInFile=_e;function K(Fe,Pt){return hr(Se(Pt,Fe),kt=>!!t5(kt)).reduce((kt,Te)=>{const pe=Ne(Te);return!Oe(kt.declarationNames)||pe===kt.depth?(kt.declarationNames.push(Te),kt.depth=pe):pe<kt.depth&&(kt.declarationNames=[Te],kt.depth=pe),kt},{depth:1/0,declarationNames:[]}).declarationNames;function Ne(kt){let Te=0;for(;kt;)kt=ek(kt),Te++;return Te}}e.getTopMostDeclarationNamesInFile=K;function ge(Fe,Pt,Ht,Ne){if(!Fe.name||!Ye(Fe.name))return!1;const kt=R.checkDefined(Ht.getSymbolAtLocation(Fe.name));for(const Te of Pt)for(const pe of Se(Te,kt.name)){if(!Ye(pe)||pe===Fe.name||pe.escapedText!==Fe.name.escapedText)continue;const xe=Fz(pe),Y=Da(xe.parent)&&xe.parent.expression===xe?xe.parent:void 0,Ze=Ht.getSymbolAtLocation(pe);if(Ze&&Ht.getRootSymbols(Ze).some(ct=>ct===kt)&&Ne(pe,Y))return!0}return!1}e.someSignatureUsage=ge;function Se(Fe,Pt,Ht=Fe){return we(Fe,Pt,Ht).map(Ne=>Lp(Fe,Ne))}function we(Fe,Pt,Ht=Fe){const Ne=[];if(!Pt||!Pt.length)return Ne;const kt=Fe.text,Te=kt.length,pe=Pt.length;let xe=kt.indexOf(Pt,Ht.pos);for(;xe>=0&&!(xe>Ht.end);){const Y=xe+pe;(xe===0||!Ob(kt.charCodeAt(xe-1),99))&&(Y===Te||!Ob(kt.charCodeAt(Y),99))&&Ne.push(xe),xe=kt.indexOf(Pt,xe+pe+1)}return Ne}function Pe(Fe,Pt){const Ht=Fe.getSourceFile(),Ne=Pt.text,kt=fr(Se(Ht,Ne,Fe),Te=>Te===Pt||v9(Te)&&Rz(Te,Ne)===Pt?Hg(Te):void 0);return[{definition:{type:1,node:Pt},references:kt}]}function le(Fe,Pt){switch(Fe.kind){case 80:if(Xb(Fe.parent))return!0;case 79:return Fe.text.length===Pt.length;case 14:case 10:{const Ht=Fe;return(Bz(Ht)||_ae(Fe)||D6e(Fe)||Da(Fe.parent)&&MC(Fe.parent)&&Fe.parent.arguments[1]===Fe)&&Ht.text.length===Pt.length}case 8:return Bz(Fe)&&Fe.text.length===Pt.length;case 88:return Pt.length===7;default:return!1}}function ot(Fe,Pt){const Ht=mn(Fe,Ne=>(Pt.throwIfCancellationRequested(),fr(Se(Ne,"meta",Ne),kt=>{const Te=kt.parent;if(I6(Te))return Hg(Te)})));return Ht.length?[{definition:{type:2,node:Ht[0].node},references:Ht}]:void 0}function Qe(Fe,Pt,Ht,Ne){const kt=mn(Fe,Te=>(Ht.throwIfCancellationRequested(),fr(Se(Te,qa(Pt),Te),pe=>{if(pe.kind===Pt&&(!Ne||Ne(pe)))return Hg(pe)})));return kt.length?[{definition:{type:2,node:kt[0].node},references:kt}]:void 0}function Ge(Fe,Pt,Ht,Ne=!0){return Ht.cancellationToken.throwIfCancellationRequested(),tt(Fe,Fe,Pt,Ht,Ne)}function tt(Fe,Pt,Ht,Ne,kt){if(Ne.markSearchedSymbols(Pt,Ht.allSearchSymbols))for(const Te of we(Pt,Ht.text,Fe))qe(Pt,Te,Ht,Ne,kt)}function Je(Fe,Pt){return!!(Kx(Fe)&Pt.searchMeaning)}function qe(Fe,Pt,Ht,Ne,kt){const Te=Lp(Fe,Pt);if(!le(Te,Ht.text)){!Ne.options.implementations&&(Ne.options.findInStrings&&rk(Fe,Pt)||Ne.options.findInComments&&X6e(Fe,Pt))&&Ne.addStringOrCommentReference(Fe.fileName,hu(Pt,Ht.text.length));return}if(!Je(Te,Ne))return;let pe=Ne.checker.getSymbolAtLocation(Te);if(!pe)return;const xe=Te.parent;if(S_(xe)&&xe.propertyName===Te)return;if(i_(xe)){R.assert(Te.kind===79),st(Te,pe,xe,Ht,Ne,kt);return}const Y=Nn(Ht,pe,Te,Ne);if(!Y){jt(pe,Ht,Ne);return}switch(Ne.specialSearchKind){case 0:kt&&It(Te,Y,Ne);break;case 1:er(Te,Fe,Ht,Ne);break;case 2:ft(Te,Ht,Ne);break;default:R.assertNever(Ne.specialSearchKind)}Mn(Te)&&qo(Te.parent)&&bT(Te.parent.parent.parent)&&(pe=Te.parent.symbol,!pe)||gt(Te,pe,Ht,Ne)}function st(Fe,Pt,Ht,Ne,kt,Te,pe){R.assert(!pe||!!kt.options.providePrefixAndSuffixTextForRename,"If alwaysGetReferences is true, then prefix/suffix text must be enabled");const{parent:xe,propertyName:Y,name:Ze}=Ht,ct=xe.parent,it=Ke(Fe,Pt,Ht,kt.checker);if(!pe&&!Ne.includes(it))return;if(Y?Fe===Y?(ct.moduleSpecifier||Kt(),Te&&kt.options.use!==2&&kt.markSeenReExportRHS(Ze)&&It(Ze,R.checkDefined(Ht.symbol),kt)):kt.markSeenReExportRHS(Fe)&&Kt():kt.options.use===2&&Ze.escapedText==="default"||Kt(),!_i(kt.options)||pe){const qr=Fe.escapedText==="default"||Ht.name.escapedText==="default"?1:0,qn=R.checkDefined(Ht.symbol),ye=wue(qn,qr,kt.checker);ye&&Z(Fe,qn,ye,kt)}if(Ne.comingFrom!==1&&ct.moduleSpecifier&&!Y&&!_i(kt.options)){const wr=kt.checker.getExportSpecifierLocalTargetSymbol(Ht);wr&&se(wr,kt)}function Kt(){Te&&It(Fe,it,kt)}}function Ke(Fe,Pt,Ht,Ne){return We(Fe,Ht)&&Ne.getExportSpecifierLocalTargetSymbol(Ht)||Pt}function We(Fe,Pt){const{parent:Ht,propertyName:Ne,name:kt}=Pt;return R.assert(Ne===Fe||kt===Fe),Ne?Ne===Fe:!Ht.parent.moduleSpecifier}function gt(Fe,Pt,Ht,Ne){const kt=XNe(Fe,Pt,Ne.checker,Ht.comingFrom===1);if(!kt)return;const{symbol:Te}=kt;kt.kind===0?_i(Ne.options)||se(Te,Ne):Z(Fe,Te,kt.exportInfo,Ne)}function jt({flags:Fe,valueDeclaration:Pt},Ht,Ne){const kt=Ne.checker.getShorthandAssignmentValueSymbol(Pt),Te=Pt&&ra(Pt);!(Fe&33554432)&&Te&&Ht.includes(kt)&&It(Te,kt,Ne)}function It(Fe,Pt,Ht){const{kind:Ne,symbol:kt}="kind"in Pt?Pt:{kind:void 0,symbol:Pt};if(Ht.options.use===2&&Fe.kind===88)return;const Te=Ht.referenceAdder(kt);Ht.options.implementations?Gr(Fe,Te,Ht):Te(Fe,Ne)}function er(Fe,Pt,Ht,Ne){MD(Fe)&&It(Fe,Ht.symbol,Ne);const kt=()=>Ne.referenceAdder(Ht.symbol);if(Ri(Fe.parent))R.assert(Fe.kind===88||Fe.parent.name===Fe),mt(Ht.symbol,Pt,kt());else{const Te=nn(Fe);Te&&(dr(Te,kt()),un(Te,Ne))}}function ft(Fe,Pt,Ht){It(Fe,Pt.symbol,Ht);const Ne=Fe.parent;if(Ht.options.use===2||!Ri(Ne))return;R.assert(Ne.name===Fe);const kt=Ht.referenceAdder(Pt.symbol);for(const Te of Ne.members)S6(Te)&&ba(Te)&&Te.body&&Te.body.forEachChild(function pe(xe){xe.kind===108?kt(xe):!Sa(xe)&&!Ri(xe)&&xe.forEachChild(pe)})}function mt(Fe,Pt,Ht){const Ne=xr(Fe);if(Ne&&Ne.declarations)for(const kt of Ne.declarations){const Te=Yo(kt,135,Pt);R.assert(kt.kind===173&&!!Te),Ht(Te)}Fe.exports&&Fe.exports.forEach(kt=>{const Te=kt.valueDeclaration;if(Te&&Te.kind===171){const pe=Te.body;pe&&Tr(pe,108,xe=>{MD(xe)&&Ht(xe)})}})}function xr(Fe){return Fe.members&&Fe.members.get("__constructor")}function dr(Fe,Pt){const Ht=xr(Fe.symbol);if(Ht&&Ht.declarations)for(const Ne of Ht.declarations){R.assert(Ne.kind===173);const kt=Ne.body;kt&&Tr(kt,106,Te=>{aae(Te)&&Pt(Te)})}}function rn(Fe){return!!xr(Fe.symbol)}function un(Fe,Pt){if(rn(Fe))return;const Ht=Fe.symbol,Ne=Pt.createSearch(void 0,Ht,void 0);O(Ht,Pt,Ne)}function Gr(Fe,Pt,Ht){if(By(Fe)&&qi(Fe.parent)){Pt(Fe);return}if(Fe.kind!==79)return;Fe.parent.kind===300&&en(Fe,Ht.checker,Pt);const Ne=mr(Fe);if(Ne){Pt(Ne);return}const kt=kn(Fe,xe=>!T_(xe.parent)&&!ps(xe.parent)&&!dx(xe.parent)),Te=kt.parent;if(UB(Te)&&Te.type===kt&&Ht.markSeenContainingTypeReference(Te))if(pv(Te))pe(Te.initializer);else if(Sa(Te)&&Te.body){const xe=Te.body;xe.kind===238?bx(xe,Y=>{Y.expression&&pe(Y.expression)}):pe(xe)}else mx(Te)&&pe(Te.expression);function pe(xe){Fn(xe)&&Pt(xe)}}function mr(Fe){return Ye(Fe)||oi(Fe)?mr(Fe.parent):n1(Fe)?Pi(Fe.parent.parent,Ri):void 0}function Fn(Fe){switch(Fe.kind){case 214:return Fn(Fe.expression);case 216:case 215:case 207:case 228:case 206:return!0;default:return!1}}function ts(Fe,Pt,Ht,Ne){if(Fe===Pt)return!0;const kt=Ha(Fe)+","+Ha(Pt),Te=Ht.get(kt);if(Te!==void 0)return Te;Ht.set(kt,!1);const pe=!!Fe.declarations&&Fe.declarations.some(xe=>hP(xe).some(Y=>{const Ze=Ne.getTypeAtLocation(Y);return!!Ze&&!!Ze.symbol&&ts(Ze.symbol,Pt,Ht,Ne)}));return Ht.set(kt,pe),pe}function ws(Fe){let Pt=O7(Fe,!1);if(!Pt)return;let Ht=32;switch(Pt.kind){case 169:case 168:case 171:case 170:case 173:case 174:case 175:Ht&=gv(Pt),Pt=Pt.parent;break;default:return}const Ne=Pt.getSourceFile(),kt=fr(Se(Ne,"super",Pt),Te=>{if(Te.kind!==106)return;const pe=O7(Te,!1);return pe&&ba(pe)===!!Ht&&pe.parent.symbol===Pt.symbol?Hg(Te):void 0});return[{definition:{type:0,symbol:Pt.symbol},references:kt}]}function Es(Fe){return Fe.kind===79&&Fe.parent.kind===166&&Fe.parent.name===Fe}function ii(Fe,Pt,Ht){let Ne=y_(Fe,!1,!1),kt=32;switch(Ne.kind){case 171:case 170:if(Ud(Ne)){kt&=gv(Ne),Ne=Ne.parent;break}case 169:case 168:case 173:case 174:case 175:kt&=gv(Ne),Ne=Ne.parent;break;case 308:if(Fl(Ne)||Es(Fe))return;case 259:case 215:break;default:return}const Te=mn(Ne.kind===308?Pt:[Ne.getSourceFile()],xe=>(Ht.throwIfCancellationRequested(),Se(xe,"this",bs(Ne)?xe:Ne).filter(Y=>{if(!U4(Y))return!1;const Ze=y_(Y,!1,!1);if(!Vh(Ze))return!1;switch(Ne.kind){case 215:case 259:return Ne.symbol===Ze.symbol;case 171:case 170:return Ud(Ne)&&Ne.symbol===Ze.symbol;case 228:case 260:case 207:return Ze.parent&&Vh(Ze.parent)&&Ne.symbol===Ze.parent.symbol&&ba(Ze)===!!kt;case 308:return Ze.kind===308&&!Fl(Ze)&&!Es(Y)}}))).map(xe=>Hg(xe));return[{definition:{type:3,node:ze(Te,xe=>ua(xe.node.parent)?xe.node:void 0)||Fe},references:Te}]}function Rt(Fe,Pt,Ht,Ne){const kt=zz(Fe,Ht),Te=mn(Pt,pe=>(Ne.throwIfCancellationRequested(),fr(Se(pe,Fe.text),xe=>{if(sc(xe)&&xe.text===Fe.text)if(kt){const Y=zz(xe,Ht);if(kt!==Ht.getStringType()&&kt===Y)return Hg(xe,2)}else return rw(xe)&&!Nx(xe,pe)?void 0:Hg(xe,2)})));return[{definition:{type:4,node:Fe},references:Te}]}function Rr(Fe,Pt,Ht,Ne,kt,Te){const pe=[];return rr(Fe,Pt,Ht,Ne,!(Ne&&kt),(xe,Y,Ze)=>{Ze&&Cn(Fe)!==Cn(Ze)&&(Ze=void 0),pe.push(Ze||Y||xe)},()=>!Te),pe}function rr(Fe,Pt,Ht,Ne,kt,Te,pe){const xe=q9(Pt);if(xe){const qr=Ht.getShorthandAssignmentValueSymbol(Pt.parent);if(qr&&Ne)return Te(qr,void 0,void 0,3);const qn=Ht.getContextualType(xe.parent),ye=qn&&ze(VV(xe,Ht,qn,!0),ne=>Kt(ne,4));if(ye)return ye;const wt=ve(Pt,Ht),nr=wt&&Te(wt,void 0,void 0,4);if(nr)return nr;const dt=qr&&Te(qr,void 0,void 0,3);if(dt)return dt}const Y=f(Pt,Fe,Ht);if(Y){const qr=Te(Y,void 0,void 0,1);if(qr)return qr}const Ze=Kt(Fe);if(Ze)return Ze;if(Fe.valueDeclaration&&sp(Fe.valueDeclaration,Fe.valueDeclaration.parent)){const qr=Ht.getSymbolsOfParameterPropertyDeclaration(Oa(Fe.valueDeclaration,ua),Fe.name);return R.assert(qr.length===2&&!!(qr[0].flags&1)&&!!(qr[1].flags&4)),Kt(Fe.flags&1?qr[1]:qr[0])}const ct=ol(Fe,278);if(!Ne||ct&&!ct.propertyName){const qr=ct&&Ht.getExportSpecifierLocalTargetSymbol(ct);if(qr){const qn=Te(qr,void 0,void 0,1);if(qn)return qn}}if(!Ne){let qr;return kt?qr=N9(Pt.parent)?nV(Ht,Pt.parent):void 0:qr=wr(Fe,Ht),qr&&Kt(qr,4)}if(R.assert(Ne),kt){const qr=wr(Fe,Ht);return qr&&Kt(qr,4)}function Kt(qr,qn){return ze(Ht.getRootSymbols(qr),ye=>Te(qr,ye,void 0,qn)||(ye.parent&&ye.parent.flags&96&&pe(ye)?Pr(ye.parent,ye.name,Ht,wt=>Te(qr,ye,wt,qn)):void 0))}function wr(qr,qn){const ye=ol(qr,205);if(ye&&N9(ye))return nV(qn,ye)}}function Pr(Fe,Pt,Ht,Ne){const kt=new Map;return Te(Fe);function Te(pe){if(!(!(pe.flags&96)||!Tm(kt,Ha(pe))))return ze(pe.declarations,xe=>ze(hP(xe),Y=>{const Ze=Ht.getTypeAtLocation(Y),ct=Ze&&Ze.symbol&&Ht.getPropertyOfType(Ze,Pt);return Ze&&ct&&(ze(Ht.getRootSymbols(ct),Ne)||Te(Ze.symbol))}))}}function Cn(Fe){return Fe.valueDeclaration?!!(Pf(Fe.valueDeclaration)&32):!1}function Nn(Fe,Pt,Ht,Ne){const{checker:kt}=Ne;return rr(Pt,Ht,kt,!1,Ne.options.use!==2||!!Ne.options.providePrefixAndSuffixTextForRename,(Te,pe,xe,Y)=>(xe&&Cn(Pt)!==Cn(xe)&&(xe=void 0),Fe.includes(xe||pe||Te)?{symbol:pe&&!(ul(Te)&6)?pe:Te,kind:Y}:void 0),Te=>!(Fe.parents&&!Fe.parents.some(pe=>ts(Te.parent,pe,Ne.inheritsFromCache,kt))))}function cs(Fe,Pt){let Ht=Kx(Fe);const{declarations:Ne}=Pt;if(Ne){let kt;do{kt=Ht;for(const Te of Ne){const pe=g9(Te);pe&Ht&&(Ht|=pe)}}while(Ht!==kt)}return Ht}e.getIntersectingMeaningFromDeclarations=cs;function qi(Fe){return Fe.flags&16777216?!(Yf(Fe)||sh(Fe)):O6(Fe)?pv(Fe):Lc(Fe)?!!Fe.body:Ri(Fe)||S7(Fe)}function en(Fe,Pt,Ht){const Ne=Pt.getSymbolAtLocation(Fe),kt=Pt.getShorthandAssignmentValueSymbol(Ne.valueDeclaration);if(kt)for(const Te of kt.getDeclarations())g9(Te)&1&&Ht(Te)}e.getReferenceEntriesForShorthandPropertyAssignment=en;function Tr(Fe,Pt,Ht){ca(Fe,Ne=>{Ne.kind===Pt&&Ht(Ne),Tr(Ne,Pt,Ht)})}function nn(Fe){return Mee(Fz(Fe).parent)}function Xn(Fe,Pt,Ht){const Ne=J4(Fe)?Fe.parent:void 0,kt=Ne&&Ht.getTypeAtLocation(Ne.expression),Te=fr(kt&&(kt.isUnionOrIntersection()?kt.types:kt.symbol===Pt.parent?void 0:[kt]),pe=>pe.symbol&&pe.symbol.flags&96?pe.symbol:void 0);return Te.length===0?void 0:Te}function _i(Fe){return Fe.use===2&&Fe.providePrefixAndSuffixTextForRename}})(uk||(uk={}))}}),Wc={};T(Wc,{Core:()=>uk,DefinitionKind:()=>Iue,EntryKind:()=>Oue,ExportKind:()=>Aue,FindReferencesUse:()=>Lue,ImportExport:()=>Pue,createImportTracker:()=>Cue,findModuleReferences:()=>WNe,findReferenceOrRenameEntries:()=>Out,findReferencedSymbols:()=>Dut,getContextNode:()=>HT,getExportInfo:()=>wue,getImplementationsAtPosition:()=>Iut,getImportOrExportSymbol:()=>XNe,getReferenceEntriesForNode:()=>ZNe,getTextSpanOfEntry:()=>Nue,isContextWithStartAndEndNode:()=>QNe,isDeclarationOfSymbol:()=>nIe,nodeEntry:()=>Hg,toContextSpan:()=>Due,toHighlightSpan:()=>Jut,toReferenceEntry:()=>tIe,toRenameLocation:()=>Mut});var iIe=p({"src/services/_namespaces/ts.FindAllReferences.ts"(){Aut(),zut()}});function sIe(e,t,n,s,l){var f,d;const g=oIe(t,n,e),h=g&&[Yut(g.reference.fileName,g.fileName,g.unverified)]||pt;if(g!=null&&g.file)return h;const k=Lp(t,n);if(k===t)return;const{parent:S}=k,w=e.getTypeChecker();if(k.kind===161||Ye(k)&&HJ(S)&&S.tagName===k)return $ut(w,k)||pt;if(v9(k)){const M=Rz(k.parent,k.text);return M?[Fue(w,M,"label",k.text,void 0)]:void 0}if(k.kind===105){const M=kn(k.parent,W=>fl(W)?"quit":Lc(W));return M?[fL(w,M)]:void 0}if(k.kind===133){const M=kn(k,X=>Lc(X));return M&&Oe(M.modifiers,X=>X.kind===132)?[fL(w,M)]:void 0}if(k.kind===125){const M=kn(k,X=>Lc(X));return M&&M.asteriskToken?[fL(w,M)]:void 0}if(nw(k)&&fl(k.parent)){const M=k.parent.parent,{symbol:W,failedAliasResolution:X}=Bq(M,w,l),Z=hr(M.members,fl),ue=W?w.symbolToString(W,M):"",ie=k.getSourceFile();return qt(Z,se=>{let{pos:V}=rh(se);return V=wo(ie.text,V),Fue(w,se,"constructor","static {}",ue,!1,X,{start:V,length:6})})}let{symbol:N,failedAliasResolution:O}=Bq(k,w,l),L=k;if(s&&O){const M=Q([k,...(N==null?void 0:N.declarations)||pt],X=>kn(X,t2e)),W=M&&H7(M);W&&({symbol:N,failedAliasResolution:O}=Bq(W,w,l),L=W)}if(!N&&rV(L)){const M=(d=(f=t.resolvedModules)==null?void 0:f.get(L.text,km(t,L)))==null?void 0:d.resolvedModule;if(M)return[{name:L.text,fileName:M.resolvedFileName,containerName:void 0,containerKind:void 0,kind:"script",textSpan:hu(0,0),failedAliasResolution:O,isAmbient:s_(M.resolvedFileName),unverified:L!==k}]}if(!N)return Cr(h,Gut(k,w));if(s&&ut(N.declarations,M=>M.getSourceFile().fileName===t.fileName))return;const U=Kut(w,k);if(U&&!(Hf(k.parent)&&eft(U))){const M=fL(w,U,O);if(w.getRootSymbols(N).some(W=>Vut(W,U)))return[M];{const W=e3(w,N,k,O,U)||pt;return k.kind===106?[M,...W]:[...W,M]}}if(k.parent.kind===300){const M=w.getShorthandAssignmentValueSymbol(N.valueDeclaration),W=M!=null&&M.declarations?M.declarations.map(X=>s8(X,w,M,k,!1,O)):pt;return Cr(W,aIe(w,k)||pt)}if(rl(k)&&qo(S)&&tg(S.parent)&&k===(S.propertyName||S.name)){const M=D9(k),W=w.getTypeAtLocation(S.parent);return M===void 0?pt:mn(W.isUnion()?W.types:[W],X=>{const Z=X.getProperty(M);return Z&&e3(w,Z,k)})}return Cr(h,aIe(w,k)||e3(w,N,k,O))}function Vut(e,t){var n;return e===t.symbol||e===t.symbol.parent||Xf(t.parent)||!NC(t.parent)&&e===((n=Pi(t.parent,Vh))==null?void 0:n.symbol)}function aIe(e,t){const n=q9(t);if(n){const s=n&&e.getContextualType(n.parent);if(s)return mn(VV(n,e,s,!1),l=>e3(e,l,t))}}function $ut(e,t){const n=kn(t,Eu);if(!(n&&n.name))return;const s=kn(n,Ri);if(!s)return;const l=eh(s);if(!l)return;const f=xc(l.expression),d=If(f)?f.symbol:e.getSymbolAtLocation(f);if(!d)return;const g=Ds(P6(n.name)),h=tu(n)?e.getPropertyOfType(e.getTypeOfSymbol(d),g):e.getPropertyOfType(e.getDeclaredTypeOfSymbol(d),g);if(h)return e3(e,h,t)}function oIe(e,t,n){var s,l,f,d;const g=t3(e.referencedFiles,t);if(g){const S=n.getSourceFileFromReference(e,g);return S&&{reference:g,fileName:S.fileName,file:S,unverified:!1}}const h=t3(e.typeReferenceDirectives,t);if(h){const S=(s=n.getResolvedTypeReferenceDirectives().get(h.fileName,h.resolutionMode||e.impliedNodeFormat))==null?void 0:s.resolvedTypeReferenceDirective,w=S&&n.getSourceFile(S.resolvedFileName);return w&&{reference:h,fileName:w.fileName,file:w,unverified:!1}}const k=t3(e.libReferenceDirectives,t);if(k){const S=n.getLibFileFromReference(k);return S&&{reference:k,fileName:S.fileName,file:S,unverified:!1}}if((l=e.resolvedModules)!=null&&l.size()){const S=BD(e,t);if(rV(S)&&wu(S.text)&&e.resolvedModules.has(S.text,km(e,S))){const w=(d=(f=e.resolvedModules.get(S.text,km(e,S)))==null?void 0:f.resolvedModule)==null?void 0:d.resolvedFileName,N=w||iv($i(e.fileName),S.text);return{file:n.getSourceFile(N),fileName:N,reference:{pos:S.getStart(),end:S.getEnd(),fileName:S.text},unverified:!w}}}}function qut(e,t,n){const s=Lp(t,n);if(s===t)return;if(I6(s.parent)&&s.parent.name===s)return Mue(e.getTypeAtLocation(s.parent),e,s.parent,!1);const{symbol:l,failedAliasResolution:f}=Bq(s,e,!1);if(!l)return;const d=e.getTypeOfSymbolAtLocation(l,s),g=Wut(l,d,e),h=g&&Mue(g,e,s,f),k=h&&h.length!==0?h:Mue(d,e,s,f);return k.length?k:!(l.flags&111551)&&l.flags&788968?e3(e,fp(l,e),s,f):void 0}function Mue(e,t,n,s){return mn(e.isUnion()&&!(e.flags&32)?e.types:[e],l=>l.symbol&&e3(t,l.symbol,n,s))}function Wut(e,t,n){if(t.symbol===e||e.valueDeclaration&&t.symbol&&xs(e.valueDeclaration)&&e.valueDeclaration.initializer===t.symbol.valueDeclaration){const s=t.getCallSignatures();if(s.length===1)return n.getReturnTypeOfSignature(Uo(s))}}function Hut(e,t,n){const s=sIe(e,t,n);if(!s||s.length===0)return;const l=t3(t.referencedFiles,n)||t3(t.typeReferenceDirectives,n)||t3(t.libReferenceDirectives,n);if(l)return{definitions:s,textSpan:Dv(l)};const f=Lp(t,n),d=hu(f.getStart(),f.getWidth());return{definitions:s,textSpan:d}}function Gut(e,t){return fr(t.getIndexInfosAtLocation(e),n=>n.declaration&&fL(t,n.declaration))}function Bq(e,t,n){const s=t.getSymbolAtLocation(e);let l=!1;if(s!=null&&s.declarations&&s.flags&2097152&&!n&&Xut(e,s.declarations[0])){const f=t.getAliasedSymbol(s);if(f.declarations)return{symbol:f};l=!0}return{symbol:s,failedAliasResolution:l}}function Xut(e,t){return e.kind!==79?!1:e.parent===t?!0:t.kind!==271}function Qut(e){if(!dP(e))return!1;const t=kn(e,n=>Xf(n)?!0:dP(n)?!1:"quit");return!!t&&ll(t)===5}function e3(e,t,n,s,l){const f=hr(t.declarations,w=>w!==l),d=hr(f,w=>!Qut(w)),g=Oe(d)?d:f;return h()||k()||qt(g,w=>s8(w,e,t,n,!1,s));function h(){if(t.flags&32&&!(t.flags&19)&&(MD(n)||n.kind===135)){const w=He(f,Ri)||R.fail("Expected declaration to have at least one class-like declaration");return S(w.members,!0)}}function k(){return oae(n)||pae(n)?S(f,!1):void 0}function S(w,N){if(!w)return;const O=w.filter(N?Al:Sa),L=O.filter(U=>!!U.body);return O.length?L.length!==0?L.map(U=>s8(U,e,t,n)):[s8(ko(O),e,t,n,!1,s)]:void 0}}function s8(e,t,n,s,l,f){const d=t.symbolToString(n),g=p1.getSymbolKind(t,n,s),h=n.parent?t.symbolToString(n.parent,s):"";return Fue(t,e,g,d,h,l,f)}function Fue(e,t,n,s,l,f,d,g){const h=t.getSourceFile();if(!g){const k=ra(t)||t;g=Zf(k,h)}return{fileName:h.fileName,textSpan:g,kind:n,name:s,containerKind:void 0,containerName:l,...Wc.toContextSpan(g,h,Wc.getContextNode(t)),isLocal:!Rue(e,t),isAmbient:!!(t.flags&16777216),unverified:f,failedAliasResolution:d}}function Rue(e,t){if(e.isDeclarationVisible(t))return!0;if(!t.parent)return!1;if(pv(t.parent)&&t.parent.initializer===t)return Rue(e,t.parent);switch(t.kind){case 169:case 174:case 175:case 171:if(R_(t,8))return!1;case 173:case 299:case 300:case 207:case 228:case 216:case 215:return Rue(e,t.parent);default:return!1}}function fL(e,t,n){return s8(t,e,t.symbol,t,!1,n)}function t3(e,t){return He(e,n=>CB(n,t))}function Yut(e,t,n){return{fileName:t,textSpan:eu(0,0),kind:"script",name:e,containerName:void 0,containerKind:void 0,unverified:n}}function Zut(e){const t=kn(e,s=>!J4(s)),n=t==null?void 0:t.parent;return n&&NC(n)&&uj(n)===t?n:void 0}function Kut(e,t){const n=Zut(t),s=n&&e.getResolvedSignature(n);return Pi(s&&s.declaration,l=>Sa(l)&&!Vg(l))}function eft(e){switch(e.kind){case 173:case 182:case 177:return!0;default:return!1}}var tft=p({"src/services/goToDefinition.ts"(){Si()}}),a8={};T(a8,{createDefinitionInfo:()=>s8,findReferenceInPosition:()=>t3,getDefinitionAndBoundSpan:()=>Hut,getDefinitionAtPosition:()=>sIe,getReferenceAtPosition:()=>oIe,getTypeDefinitionAtPosition:()=>qut});var rft=p({"src/services/_namespaces/ts.GoToDefinition.ts"(){tft()}});function nft(e){return e.includeInlayParameterNameHints==="literals"||e.includeInlayParameterNameHints==="all"}function ift(e){return e.includeInlayParameterNameHints==="literals"}function sft(e){const{file:t,program:n,span:s,cancellationToken:l,preferences:f}=e,d=t.text,g=n.getCompilerOptions(),h=n.getTypeChecker(),k=[];return S(t),k;function S(Se){if(!(!Se||Se.getFullWidth()===0)){switch(Se.kind){case 264:case 260:case 261:case 259:case 228:case 215:case 171:case 216:l.throwIfCancellationRequested()}if(wB(s,Se.pos,Se.getFullWidth())&&!(ps(Se)&&!n1(Se)))return f.includeInlayVariableTypeHints&&xs(Se)||f.includeInlayPropertyDeclarationTypeHints&&Pa(Se)?W(Se):f.includeInlayEnumMemberValueHints&&LT(Se)?U(Se):nft(f)&&(Da(Se)||NT(Se))?X(Se):(f.includeInlayFunctionParameterTypeHints&&Lc(Se)&&Qj(Se)&&ve(Se),f.includeInlayFunctionLikeReturnTypeHints&&w(Se)&&se(Se)),ca(Se,S)}}function w(Se){return Ac(Se)||yc(Se)||ru(Se)||zl(Se)||Hd(Se)}function N(Se,we,Pe){k.push({text:`${Pe?"...":""}${Ce(Se,jq)}:`,position:we,kind:"Parameter",whitespaceAfter:!0})}function O(Se,we){k.push({text:`: ${Ce(Se,jq)}`,position:we,kind:"Type",whitespaceBefore:!0})}function L(Se,we){k.push({text:`= ${Ce(Se,jq)}`,position:we,kind:"Enum",whitespaceBefore:!0})}function U(Se){if(Se.initializer)return;const we=h.getConstantValue(Se);we!==void 0&&L(we.toString(),Se.end)}function M(Se){return Se.symbol&&Se.symbol.flags&1536}function W(Se){if(!Se.initializer||xa(Se.name)||xs(Se)&&!ge(Se)||Ju(Se))return;const Pe=h.getTypeAtLocation(Se);if(M(Pe))return;const le=_e(Pe);if(le){if(f.includeInlayVariableTypeHintsWhenTypeMatchesName===!1&&yC(Se.name.getText(),le))return;O(le,Se.name.end)}}function X(Se){const we=Se.arguments;if(!we||!we.length)return;const Pe=[],le=h.getResolvedSignatureForSignatureHelp(Se,Pe);if(!(!le||!Pe.length))for(let ot=0;ot<we.length;++ot){const Qe=we[ot],Ge=xc(Qe);if(ift(f)&&!ie(Ge))continue;const tt=h.getParameterIdentifierNameAtPosition(le,ot);if(tt){const[Je,qe]=tt;if(!(f.includeInlayParameterNameHintsWhenArgumentMatchesName||!Z(Ge,Je))&&!qe)continue;const Ke=Ds(Je);if(ue(Ge,Ke))continue;N(Ke,Qe.getStart(),qe)}}}function Z(Se,we){return Ye(Se)?Se.text===we:oi(Se)?Se.name.text===we:!1}function ue(Se,we){if(!Bd(we,g.target,T5(t.scriptKind)))return!1;const Pe=Ng(d,Se.pos);if(!(Pe!=null&&Pe.length))return!1;const le=cIe(we);return Oe(Pe,ot=>le.test(d.substring(ot.pos,ot.end)))}function ie(Se){switch(Se.kind){case 221:{const we=Se.operand;return px(we)||Ye(we)&&$P(we.escapedText)}case 110:case 95:case 104:case 14:case 225:return!0;case 79:{const we=Se.escapedText;return K(we)||$P(we)}}return px(Se)}function se(Se){if(Ac(Se)&&!Yo(Se,20,t)||bm(Se)||!Se.body)return;const Pe=h.getSignatureFromDeclaration(Se);if(!Pe)return;const le=h.getReturnTypeOfSignature(Pe);if(M(le))return;const ot=_e(le);ot&&O(ot,V(Se))}function V(Se){const we=Yo(Se,21,t);return we?we.end:Se.parameters.end}function ve(Se){const we=h.getSignatureFromDeclaration(Se);if(we)for(let Pe=0;Pe<Se.parameters.length&&Pe<we.parameters.length;++Pe){const le=Se.parameters[Pe];if(!ge(le)||Ju(le))continue;const Qe=fe(we.parameters[Pe]);Qe&&O(Qe,le.questionToken?le.questionToken.end:le.name.end)}}function fe(Se){const we=Se.valueDeclaration;if(!we||!ua(we))return;const Pe=h.getTypeOfSymbolAtLocation(Se,we);if(!M(Pe))return _e(Pe)}function Ce(Se,we){return Se.length>we?Se.substr(0,we-3)+"...":Se}function _e(Se){const Pe=VT();return sP(le=>{const ot=h.typeToTypeNode(Se,void 0,71286784);R.assertIsDefined(ot,"should always get typenode"),Pe.writeNode(4,ot,t,le)})}function K(Se){return Se==="undefined"}function ge(Se){if((Ex(Se)||xs(Se)&&My(Se))&&Se.initializer){const we=xc(Se.initializer);return!(ie(we)||NT(we)||cc(we)||mx(we))}return!0}}var jq,cIe,aft=p({"src/services/inlayHints.ts"(){Si(),jq=30,cIe=e=>new RegExp(`^\\s?/\\*\\*?\\s?${e}\\s?\\*\\/\\s?$`)}}),Bue={};T(Bue,{provideInlayHints:()=>sft});var oft=p({"src/services/_namespaces/ts.InlayHints.ts"(){aft()}});function cft(e,t){const n=[];return Mae(e,s=>{for(const l of uft(s)){const f=ig(l)&&l.tags&&He(l.tags,g=>g.kind===330&&(g.tagName.escapedText==="inheritDoc"||g.tagName.escapedText==="inheritdoc"));if(l.comment===void 0&&!f||ig(l)&&s.kind!==349&&s.kind!==341&&l.tags&&l.tags.some(g=>g.kind===349||g.kind===341)&&!l.tags.some(g=>g.kind===344||g.kind===345))continue;let d=l.comment?jw(l.comment,t):[];f&&f.comment&&(d=d.concat(jw(f.comment,t))),xt(n,d,lft)||n.push(d)}}),Vn(vt(n,[q4()]))}function lft(e,t){return Wt(e,t,(n,s)=>n.kind===s.kind&&n.text===s.text)}function uft(e){switch(e.kind){case 344:case 351:return[e];case 341:case 349:return[e,e.parent];default:return oee(e)}}function fft(e,t){const n=[];return Mae(e,s=>{const l=fT(s);if(!(l.some(f=>f.kind===349||f.kind===341)&&!l.some(f=>f.kind===344||f.kind===345)))for(const f of l)n.push({name:f.tagName.text,text:_ft(f,t)})}),n}function jw(e,t){return typeof e=="string"?[Mp(e)]:mn(e,n=>n.kind===324?[Mp(n.text)]:l4e(n,t))}function _ft(e,t){const{comment:n,kind:s}=e,l=pft(s);switch(s){case 352:const g=e.typeExpression;return g?f(g):n===void 0?void 0:jw(n,t);case 332:return f(e.class);case 331:return f(e.class);case 348:const h=e,k=[];if(h.constraint&&k.push(Mp(h.constraint.getText())),H(h.typeParameters)){H(k)&&k.push(nl());const w=h.typeParameters[h.typeParameters.length-1];Q(h.typeParameters,N=>{k.push(l(N.getText())),w!==N&&k.push(_f(27),nl())})}return n&&k.push(nl(),...jw(n,t)),k;case 347:case 353:return f(e.typeExpression);case 349:case 341:case 351:case 344:case 350:const{name:S}=e;return S?f(S):n===void 0?void 0:jw(n,t);default:return n===void 0?void 0:jw(n,t)}function f(g){return d(g.getText())}function d(g){return n?g.match(/^https?$/)?[Mp(g),...jw(n,t)]:[l(g),nl(),...jw(n,t)]:[Mp(g)]}}function pft(e){switch(e){case 344:return i4e;case 351:return s4e;case 348:return o4e;case 349:case 341:return a4e;default:return Mp}}function dft(){return uIe||(uIe=qt(Jue,e=>({name:e,kind:"keyword",kindModifiers:"",sortText:Bw.SortText.LocationPriority})))}function mft(){return fIe||(fIe=qt(Jue,e=>({name:`@${e}`,kind:"keyword",kindModifiers:"",sortText:Bw.SortText.LocationPriority})))}function lIe(e){return{name:e,kind:"",kindModifiers:"",displayParts:[Mp(e)],documentation:pt,tags:void 0,codeActions:void 0}}function hft(e){if(!Ye(e.name))return pt;const t=e.name.text,n=e.parent,s=n.parent;return Sa(s)?fr(s.parameters,l=>{if(!Ye(l.name))return;const f=l.name.text;if(!(n.tags.some(d=>d!==e&&ch(d)&&Ye(d.name)&&d.name.escapedText===f)||t!==void 0&&!Qs(f,t)))return{name:f,kind:"parameter",kindModifiers:"",sortText:Bw.SortText.LocationPriority}}):[]}function gft(e){return{name:e,kind:"parameter",kindModifiers:"",displayParts:[Mp(e)],documentation:pt,tags:void 0,codeActions:void 0}}function yft(e,t,n,s){const l=Os(t,n),f=kn(l,ig);if(f&&(f.comment!==void 0||H(f.tags)))return;const d=l.getStart(t);if(!f&&d<n)return;const g=Sft(l,s);if(!g)return;const{commentOwner:h,parameters:k,hasReturn:S}=g,w=Ep(h)&&h.jsDoc?h.jsDoc:void 0,N=Rc(w);if(h.getStart(t)<n||N&&f&&N!==f)return;const O=vft(t,n),L=QC(t.fileName),U=(k?bft(k||[],L,O,e):"")+(S?Tft(O,e):""),M="/**",W=" */",X=(w||[]).some(Z=>!!Z.tags);if(U&&!X){const Z=M+e+O+" * ",ue=d===n?e+O:"";return{newText:Z+e+U+O+W+ue,caretOffset:Z.length}}return{newText:M+W,caretOffset:3}}function vft(e,t){const{text:n}=e,s=kd(t,e);let l=s;for(;l<=t&&zh(n.charCodeAt(l));l++);return n.slice(s,l)}function bft(e,t,n,s){return e.map(({name:l,dotDotDotToken:f},d)=>{const g=l.kind===79?l.text:"param"+d;return`${n} * @param ${t?f?"{...any} ":"{any} ":""}${g}${s}`}).join("")}function Tft(e,t){return`${e} * @returns${t}`}function Sft(e,t){return jbe(e,n=>jue(n,t))}function jue(e,t){switch(e.kind){case 259:case 215:case 171:case 173:case 170:case 216:const n=e;return{commentOwner:e,parameters:n.parameters,hasReturn:_L(n,t)};case 299:return jue(e.initializer,t);case 260:case 261:case 263:case 302:case 262:return{commentOwner:e};case 168:{const l=e;return l.type&&Vg(l.type)?{commentOwner:e,parameters:l.type.parameters,hasReturn:_L(l.type,t)}:{commentOwner:e}}case 240:{const f=e.declarationList.declarations,d=f.length===1&&f[0].initializer?xft(f[0].initializer):void 0;return d?{commentOwner:e,parameters:d.parameters,hasReturn:_L(d,t)}:{commentOwner:e}}case 308:return"quit";case 264:return e.parent.kind===264?void 0:{commentOwner:e};case 241:return jue(e.expression,t);case 223:{const l=e;return ll(l)===0?"quit":Sa(l.right)?{commentOwner:e,parameters:l.right.parameters,hasReturn:_L(l.right,t)}:{commentOwner:e}}case 169:const s=e.initializer;if(s&&(yc(s)||Ac(s)))return{commentOwner:e,parameters:s.parameters,hasReturn:_L(s,t)}}}function _L(e,t){return!!(t!=null&&t.generateReturnInDocTemplate)&&(Vg(e)||Ac(e)&&Dt(e.body)||Lc(e)&&e.body&&Fa(e.body)&&!!bx(e.body,n=>n))}function xft(e){for(;e.kind===214;)e=e.expression;switch(e.kind){case 215:case 216:return e;case 228:return He(e.members,Al)}}var Jue,uIe,fIe,_Ie,kft=p({"src/services/jsDoc.ts"(){Si(),Jue=["abstract","access","alias","argument","async","augments","author","borrows","callback","class","classdesc","constant","constructor","constructs","copyright","default","deprecated","description","emits","enum","event","example","exports","extends","external","field","file","fileoverview","fires","function","generator","global","hideconstructor","host","ignore","implements","inheritdoc","inner","instance","interface","kind","lends","license","link","linkcode","linkplain","listens","member","memberof","method","mixes","module","name","namespace","overload","override","package","param","private","prop","property","protected","public","readonly","requires","returns","satisfies","see","since","static","summary","template","this","throws","todo","tutorial","type","typedef","var","variation","version","virtual","yields"],_Ie=lIe}}),r2={};T(r2,{getDocCommentTemplateAtPosition:()=>yft,getJSDocParameterNameCompletionDetails:()=>gft,getJSDocParameterNameCompletions:()=>hft,getJSDocTagCompletionDetails:()=>lIe,getJSDocTagCompletions:()=>mft,getJSDocTagNameCompletionDetails:()=>_Ie,getJSDocTagNameCompletions:()=>dft,getJsDocCommentsFromDeclarations:()=>cft,getJsDocTagsFromDeclarations:()=>fft});var Cft=p({"src/services/_namespaces/ts.JsDoc.ts"(){kft()}});function wft(e,t,n,s,l,f){const d=Jn.ChangeTracker.fromContext({host:n,formatContext:t,preferences:l}),g=f==="SortAndCombine"||f==="All",h=g,k=f==="RemoveUnused"||f==="All",S=Uue(e,e.statements.filter(Nu)),w=Vft(l,g?()=>mIe(S,l)===2:void 0),N=L=>(k&&(L=Aft(L,e,s)),h&&(L=pIe(L,w,e)),g&&(L=U0(L,(U,M)=>Wue(U,M,w))),L);if(S.forEach(L=>O(L,N)),f!=="RemoveUnused"){const L=e.statements.filter(Uu);O(L,U=>zue(U,w))}for(const L of e.statements.filter(Af)){if(!L.body)continue;if(Uue(e,L.body.statements.filter(Nu)).forEach(M=>O(M,N)),f!=="RemoveUnused"){const M=L.body.statements.filter(Uu);O(M,W=>zue(W,w))}}return d.getChanges();function O(L,U){if(H(L)===0)return;aV(L[0]);const M=h?IA(L,Z=>pL(Z.moduleSpecifier)):[L],W=g?U0(M,(Z,ue)=>$ue(Z[0].moduleSpecifier,ue[0].moduleSpecifier,w)):M,X=mn(W,Z=>pL(Z[0].moduleSpecifier)?U(Z):Z);if(X.length===0)d.deleteNodes(e,L,{leadingTriviaOption:Jn.LeadingTriviaOption.Exclude,trailingTriviaOption:Jn.TrailingTriviaOption.Include},!0);else{const Z={leadingTriviaOption:Jn.LeadingTriviaOption.Exclude,trailingTriviaOption:Jn.TrailingTriviaOption.Include,suffix:Zb(n,t.options)};d.replaceNodeWithNodes(e,L[0],X,Z);const ue=d.nodeHasTrailingComment(e,L[0],Z);d.deleteNodes(e,L.slice(1),{trailingTriviaOption:Jn.TrailingTriviaOption.Include},ue)}}}function Uue(e,t){const n=q0(e.languageVersion,!1,e.languageVariant),s=[];let l=0;for(const f of t)s[l]&&Eft(e,f,n)&&l++,s[l]||(s[l]=[]),s[l].push(f);return s}function Eft(e,t,n){const s=t.getFullStart(),l=t.getStart();n.setText(e.text,s,l-s);let f=0;for(;n.getTokenPos()<l;)if(n.scan()===4&&(f++,f>=2))return!0;return!1}function Aft(e,t,n){const s=n.getTypeChecker(),l=n.getCompilerOptions(),f=s.getJsxNamespace(t),d=s.getJsxFragmentFactory(t),g=!!(t.transformFlags&2),h=[];for(const S of e){const{importClause:w,moduleSpecifier:N}=S;if(!w){h.push(S);continue}let{name:O,namedBindings:L}=w;if(O&&!k(O)&&(O=void 0),L)if(xv(L))k(L.name)||(L=void 0);else{const U=L.elements.filter(M=>k(M.name));U.length<L.elements.length&&(L=U.length?J.updateNamedImports(L,U):void 0)}O||L?h.push(o8(S,O,L)):Pft(t,N)&&(t.isDeclarationFile?h.push(J.createImportDeclaration(S.modifiers,void 0,N,void 0)):h.push(S))}return h;function k(S){return g&&(S.text===f||d&&S.text===d)&&noe(l.jsx)||Wc.Core.isSymbolReferencedInFile(S,s,t)}}function Pft(e,t){const n=yo(t)&&t.text;return ha(n)&&Oe(e.moduleAugmentations,s=>yo(s)&&s.text===n)}function pL(e){return e!==void 0&&sc(e)?e.text:void 0}function Dft(e,t,n){const s=Jq(t);return pIe(e,s,n)}function pIe(e,t,n){if(e.length===0)return e;const{importWithoutClause:s,typeOnlyImports:l,regularImports:f}=Nft(e),d=[];s&&d.push(s);for(const g of[f,l]){const h=g===l,{defaultImports:k,namespaceImports:S,namedImports:w}=g;if(!h&&k.length===1&&S.length===1&&w.length===0){const ue=k[0];d.push(o8(ue,ue.importClause.name,S[0].importClause.namedBindings));continue}const N=U0(S,(ue,ie)=>t(ue.importClause.namedBindings.name.text,ie.importClause.namedBindings.name.text));for(const ue of N)d.push(o8(ue,void 0,ue.importClause.namedBindings));const O=Ru(k),L=Ru(w),U=O??L;if(!U)continue;let M;const W=[];if(k.length===1)M=k[0].importClause.name;else for(const ue of k)W.push(J.createImportSpecifier(!1,J.createIdentifier("default"),ue.importClause.name));W.push(...jft(w));const X=J.createNodeArray(dIe(W,t),L==null?void 0:L.importClause.namedBindings.elements.hasTrailingComma),Z=X.length===0?M?void 0:J.createNamedImports(pt):L?J.updateNamedImports(L.importClause.namedBindings,X):J.createNamedImports(X);n&&Z&&(L!=null&&L.importClause.namedBindings)&&!Nx(L.importClause.namedBindings,n)&&Pn(Z,2),h&&M&&Z?(d.push(o8(U,M,void 0)),d.push(o8(L??U,void 0,Z))):d.push(o8(U,M,Z))}return d}function Nft(e){let t;const n={defaultImports:[],namespaceImports:[],namedImports:[]},s={defaultImports:[],namespaceImports:[],namedImports:[]};for(const l of e){if(l.importClause===void 0){t=t||l;continue}const f=l.importClause.isTypeOnly?n:s,{name:d,namedBindings:g}=l.importClause;d&&f.defaultImports.push(l),g&&(xv(g)?f.namespaceImports.push(l):f.namedImports.push(l))}return{importWithoutClause:t,typeOnlyImports:n,regularImports:s}}function Ift(e,t){const n=Jq(t);return zue(e,n)}function zue(e,t){if(e.length===0)return e;const{exportWithoutClause:n,namedExports:s,typeOnlyExports:l}=d(e),f=[];n&&f.push(n);for(const g of[s,l]){if(g.length===0)continue;const h=[];h.push(...mn(g,w=>w.exportClause&&Xd(w.exportClause)?w.exportClause.elements:pt));const k=dIe(h,t),S=g[0];f.push(J.updateExportDeclaration(S,S.modifiers,S.isTypeOnly,S.exportClause&&(Xd(S.exportClause)?J.updateNamedExports(S.exportClause,k):J.updateNamespaceExport(S.exportClause,S.exportClause.name)),S.moduleSpecifier,S.assertClause))}return f;function d(g){let h;const k=[],S=[];for(const w of g)w.exportClause===void 0?h=h||w:w.isTypeOnly?S.push(w):k.push(w);return{exportWithoutClause:h,namedExports:k,typeOnlyExports:S}}}function o8(e,t,n){return J.updateImportDeclaration(e,e.modifiers,J.updateImportClause(e.importClause,e.importClause.isTypeOnly,t,n),e.moduleSpecifier,e.assertClause)}function dIe(e,t){return U0(e,(n,s)=>Vue(n,s,t))}function Vue(e,t,n){return iT(e.isTypeOnly,t.isTypeOnly)||n(e.name.text,t.name.text)}function Oft(e,t,n){const s=Jq(!!n);return $ue(e,t,s)}function $ue(e,t,n){const s=e===void 0?void 0:pL(e),l=t===void 0?void 0:pL(t);return iT(s===void 0,l===void 0)||iT(wu(s),wu(l))||n(s,l)}function que(e){var t;switch(e.kind){case 268:return(t=Pi(e.moduleReference,ng))==null?void 0:t.expression;case 269:return e.moduleSpecifier;case 240:return e.declarationList.declarations[0].initializer.arguments[0]}}function Lft(e,t){return mIe(Uue(e,e.statements.filter(Nu)),t)}function mIe(e,t){const n=Jw(t,!1),s=Jw(t,!0);let l=3,f=!1;for(const d of e){if(d.length>1){const h=Yc(d,k=>{var S,w;return(w=(S=Pi(k.moduleSpecifier,yo))==null?void 0:S.text)!=null?w:""},n,s);if(h&&(l&=h,f=!0),!l)return l}const g=He(d,h=>{var k,S;return((S=Pi((k=h.importClause)==null?void 0:k.namedBindings,i1))==null?void 0:S.elements.length)>1});if(g){const h=Hue(g.importClause.namedBindings.elements,t);if(h&&(l&=h,f=!0),!l)return l}if(l!==3)return l}return f?0:l}function Mft(e,t){const n=Jw(t,!1),s=Jw(t,!0);return Yc(e,l=>pL(que(l))||"",n,s)}function Fft(e,t,n){const s=rv(e,t,Zc,(l,f)=>Wue(l,f,n));return s<0?~s:s}function Rft(e,t,n){const s=rv(e,t,Zc,(l,f)=>Vue(l,f,n));return s<0?~s:s}function Wue(e,t,n){return $ue(que(e),que(t),n)||Bft(e,t)}function Bft(e,t){return Cc(hIe(e),hIe(t))}function hIe(e){var t;switch(e.kind){case 269:return e.importClause?e.importClause.isTypeOnly?1:((t=e.importClause.namedBindings)==null?void 0:t.kind)===271?2:e.importClause.name?3:4:0;case 268:return 5;case 240:return 6}}function jft(e){return mn(e,t=>qt(Jft(t),n=>n.name&&n.propertyName&&n.name.escapedText===n.propertyName.escapedText?J.updateImportSpecifier(n,n.isTypeOnly,void 0,n.name):n))}function Jft(e){var t;return(t=e.importClause)!=null&&t.namedBindings&&i1(e.importClause.namedBindings)?e.importClause.namedBindings.elements:void 0}function Jq(e){return e?L1e:wf}function Uft(e,t){var n,s,l;const f=zft(t),d=(n=t.organizeImportsCaseFirst)!=null?n:!1,g=(s=t.organizeImportsNumericCollation)!=null?s:!1,h=(l=t.organizeImportsAccentCollation)!=null?l:!0,k=e?h?"accent":"base":h?"variant":"case";return new Intl.Collator(f,{usage:"sort",caseFirst:d||"false",sensitivity:k,numeric:g}).compare}function zft(e){let t=e.organizeImportsLocale;t==="auto"&&(t=M1e()),t===void 0&&(t="en");const n=Intl.Collator.supportedLocalesOf(t);return n.length?n[0]:"en"}function Jw(e,t){var n;return((n=e.organizeImportsCollation)!=null?n:"ordinal")==="unicode"?Uft(t,e):Jq(t)}function Vft(e,t){var n;const s=typeof e.organizeImportsIgnoreCase=="boolean"?e.organizeImportsIgnoreCase:(n=t==null?void 0:t())!=null?n:!1;return Jw(e,s)}var gIe,Hue,$ft=p({"src/services/organizeImports.ts"(){Si(),gIe=class{has([e,t]){return this._lastPreferences!==t||!this._cache?!1:this._cache.has(e)}get([e,t]){if(!(this._lastPreferences!==t||!this._cache))return this._cache.get(e)}set([e,t],n){var s;this._lastPreferences!==t&&(this._lastPreferences=t,this._cache=void 0),(s=this._cache)!=null||(this._cache=new WeakMap),this._cache.set(e,n)}},Hue=I1e((e,t)=>{if(!ic(e,(l,f)=>iT(l.isTypeOnly,f.isTypeOnly)))return 0;const n=Jw(t,!1),s=Jw(t,!0);return Yc(e,l=>l.name.text,n,s)},new gIe)}}),Kd={};T(Kd,{coalesceExports:()=>Ift,coalesceImports:()=>Dft,compareImportOrExportSpecifiers:()=>Vue,compareImportsOrRequireStatements:()=>Wue,compareModuleSpecifiers:()=>Oft,detectImportDeclarationSorting:()=>Mft,detectImportSpecifierSorting:()=>Hue,detectSorting:()=>Lft,getImportDeclarationInsertionIndex:()=>Fft,getImportSpecifierInsertionIndex:()=>Rft,getOrganizeImportsComparer:()=>Jw,organizeImports:()=>wft});var qft=p({"src/services/_namespaces/ts.OrganizeImports.ts"(){$ft()}});function Wft(e,t){const n=[];return Hft(e,t,n),Gft(e,n),n.sort((s,l)=>s.textSpan.start-l.textSpan.start)}function Hft(e,t,n){let s=40,l=0;const f=[...e.statements,e.endOfFileToken],d=f.length;for(;l<d;){for(;l<d&&!vx(f[l]);)g(f[l]),l++;if(l===d)break;const h=l;for(;l<d&&vx(f[l]);)g(f[l]),l++;const k=l-1;k!==h&&n.push(dL(Yo(f[h],100,e).getStart(e),f[k].getEnd(),"imports"))}function g(h){var k;if(s===0)return;t.throwIfCancellationRequested(),(lf(h)||Xl(h)||Sm(h)||Oy(h)||h.kind===1)&&vIe(h,e,t,n),Sa(h)&&$n(h.parent)&&oi(h.parent.left)&&vIe(h.parent.left,e,t,n),(Fa(h)||ah(h))&&Gue(h.statements.end,e,t,n),(Ri(h)||Yf(h))&&Gue(h.members.end,e,t,n);const S=Xft(h,e);S&&n.push(S),s--,Da(h)?(s++,g(h.expression),s--,h.arguments.forEach(g),(k=h.typeArguments)==null||k.forEach(g)):Fx(h)&&h.elseStatement&&Fx(h.elseStatement)?(g(h.expression),g(h.thenStatement),s++,g(h.elseStatement),s--):h.forEachChild(g),s++}}function Gft(e,t){const n=[],s=e.getLineStarts();for(const l of s){const f=e.getLineEndOfPosition(l),d=e.text.substring(l,f),g=yIe(d);if(!(!g||l1(e,l)))if(g[1]){const h=n.pop();h&&(h.textSpan.length=f-h.textSpan.start,h.hintSpan.length=f-h.textSpan.start,t.push(h))}else{const h=eu(e.text.indexOf("//",l),f);n.push(fk(h,"region",h,!1,g[2]||"#region"))}}}function yIe(e){return e=MA(e),Qs(e,"//")?(e=sT(e.slice(2)),bIe.exec(e)):null}function Gue(e,t,n,s){const l=Ng(t.text,e);if(!l)return;let f=-1,d=-1,g=0;const h=t.getFullText();for(const{kind:S,pos:w,end:N}of l)switch(n.throwIfCancellationRequested(),S){case 2:const O=h.slice(w,N);if(yIe(O)){k(),g=0;break}g===0&&(f=w),d=N,g++;break;case 3:k(),s.push(dL(w,N,"comment")),g=0;break;default:R.assertNever(S)}k();function k(){g>1&&s.push(dL(f,d,"comment"))}}function vIe(e,t,n,s){tw(e)||Gue(e.pos,t,n,s)}function dL(e,t,n){return fk(eu(e,t),n)}function Xft(e,t){switch(e.kind){case 238:if(Sa(e.parent))return Qft(e.parent,e,t);switch(e.parent.kind){case 243:case 246:case 247:case 245:case 242:case 244:case 251:case 295:return S(e.parent);case 255:const O=e.parent;if(O.tryBlock===e)return S(e.parent);if(O.finallyBlock===e){const L=Yo(O,96,t);if(L)return S(L)}default:return fk(Zf(e,t),"code")}case 265:return S(e.parent);case 260:case 228:case 261:case 263:case 266:case 184:case 203:return S(e);case 186:return S(e,!1,!_4(e.parent),22);case 292:case 293:return w(e.statements);case 207:return k(e);case 206:return k(e,22);case 281:return f(e);case 285:return d(e);case 282:case 283:return g(e.attributes);case 225:case 14:return h(e);case 204:return S(e,!1,!qo(e.parent),22);case 216:return l(e);case 210:return s(e);case 214:return N(e);case 272:case 276:case 296:return n(e)}function n(O){if(!O.elements.length)return;const L=Yo(O,18,t),U=Yo(O,19,t);if(!(!L||!U||vd(L.pos,U.pos,t)))return Uq(L,U,O,t,!1,!1)}function s(O){if(!O.arguments.length)return;const L=Yo(O,20,t),U=Yo(O,21,t);if(!(!L||!U||vd(L.pos,U.pos,t)))return Uq(L,U,O,t,!1,!0)}function l(O){if(Fa(O.body)||j_(O.body)||vd(O.body.getFullStart(),O.body.getEnd(),t))return;const L=eu(O.body.getFullStart(),O.body.getEnd());return fk(L,"code",Zf(O))}function f(O){const L=eu(O.openingElement.getStart(t),O.closingElement.getEnd()),U=O.openingElement.tagName.getText(t),M="<"+U+">...</"+U+">";return fk(L,"code",L,!1,M)}function d(O){const L=eu(O.openingFragment.getStart(t),O.closingFragment.getEnd());return fk(L,"code",L,!1,"<>...</>")}function g(O){if(O.properties.length!==0)return dL(O.getStart(t),O.getEnd(),"code")}function h(O){if(!(O.kind===14&&O.text.length===0))return dL(O.getStart(t),O.getEnd(),"code")}function k(O,L=18){return S(O,!1,!Nf(O.parent)&&!Da(O.parent),L)}function S(O,L=!1,U=!0,M=18,W=M===18?19:23){const X=Yo(e,M,t),Z=Yo(e,W,t);return X&&Z&&Uq(X,Z,O,t,L,U)}function w(O){return O.length?fk(Dv(O),"code"):void 0}function N(O){if(vd(O.getStart(),O.getEnd(),t))return;const L=eu(O.getStart(),O.getEnd());return fk(L,"code",Zf(O))}}function Qft(e,t,n){const s=Yft(e,t,n),l=Yo(t,19,n);return s&&l&&Uq(s,l,e,n,e.kind!==216)}function Uq(e,t,n,s,l=!1,f=!0){const d=eu(f?e.getFullStart():e.getStart(s),t.getEnd());return fk(d,"code",Zf(n,s),l)}function fk(e,t,n=e,s=!1,l="..."){return{textSpan:e,kind:t,hintSpan:n,bannerText:l,autoCollapse:s}}function Yft(e,t,n){if(hTe(e.parameters,n)){const s=Yo(e,20,n);if(s)return s}return Yo(t,18,n)}var bIe,Zft=p({"src/services/outliningElementsCollector.ts"(){Si(),bIe=/^#(end)?region(?:\s+(.*))?(?:\r)?$/}}),Xue={};T(Xue,{collectElements:()=>Wft});var Kft=p({"src/services/_namespaces/ts.OutliningElementsCollector.ts"(){Zft()}});function Hy(e,t){zq.set(e,t)}function e_t(e){return ao(gr(zq.values(),t=>{var n;return e.cancellationToken&&e.cancellationToken.isCancellationRequested()||!((n=t.kinds)!=null&&n.some(s=>Mv(s,e.kind)))?void 0:t.getAvailableActions(e)}))}function t_t(e,t,n){const s=zq.get(t);return s&&s.getEditsForAction(e,n)}var zq,r_t=p({"src/services/refactorProvider.ts"(){Si(),Xg(),zq=new Map}});function TIe(e,t=!0){const{file:n,program:s}=e,l=Ew(e),f=Os(n,l.start),d=f.parent&&gv(f.parent)&1&&t?f.parent:I9(f,n,l);if(!d||!bs(d.parent)&&!(ah(d.parent)&&Af(d.parent.parent)))return{error:uo(v.Could_not_find_export_statement)};const g=s.getTypeChecker(),h=c_t(d.parent,g),k=gv(d)||(Tl(d)&&!d.isExportEquals?1025:0),S=!!(k&1024);if(!(k&1)||!S&&h.exports.has("default"))return{error:uo(v.This_file_already_has_a_default_export)};const w=N=>Ye(N)&&g.getSymbolAtLocation(N)?void 0:{error:uo(v.Can_only_convert_named_export)};switch(d.kind){case 259:case 260:case 261:case 263:case 262:case 264:{const N=d;return N.name?w(N.name)||{exportNode:N,exportName:N.name,wasDefault:S,exportingModuleSymbol:h}:void 0}case 240:{const N=d;if(!(N.declarationList.flags&2)||N.declarationList.declarations.length!==1)return;const O=Uo(N.declarationList.declarations);return O.initializer?(R.assert(!S,"Can't have a default flag here"),w(O.name)||{exportNode:N,exportName:O.name,wasDefault:S,exportingModuleSymbol:h}):void 0}case 274:{const N=d;return N.isExportEquals?void 0:w(N.expression)||{exportNode:N,exportName:N.expression,wasDefault:S,exportingModuleSymbol:h}}default:return}}function n_t(e,t,n,s,l){i_t(e,n,s,t.getTypeChecker()),s_t(t,n,s,l)}function i_t(e,{wasDefault:t,exportNode:n,exportName:s},l,f){if(t)if(Tl(n)&&!n.isExportEquals){const d=n.expression,g=SIe(d.text,d.text);l.replaceNode(e,n,J.createExportDeclaration(void 0,!1,J.createNamedExports([g])))}else l.delete(e,R.checkDefined(V4(n,88),"Should find a default keyword in modifier list"));else{const d=R.checkDefined(V4(n,93),"Should find an export keyword in modifier list");switch(n.kind){case 259:case 260:case 261:l.insertNodeAfter(e,d,J.createToken(88));break;case 240:const g=Uo(n.declarationList.declarations);if(!Wc.Core.isSymbolReferencedInFile(s,f,e)&&!g.type){l.replaceNode(e,n,J.createExportDefault(R.checkDefined(g.initializer,"Initializer was previously known to be present")));break}case 263:case 262:case 264:l.deleteModifier(e,d),l.insertNodeAfter(e,n,J.createExportDefault(J.createIdentifier(s.text)));break;default:R.fail(`Unexpected exportNode kind ${n.kind}`)}}}function s_t(e,{wasDefault:t,exportName:n,exportingModuleSymbol:s},l,f){const d=e.getTypeChecker(),g=R.checkDefined(d.getSymbolAtLocation(n),"Export name should resolve to a symbol");Wc.Core.eachExportReference(e.getSourceFiles(),d,f,g,s,n.text,t,h=>{if(n===h)return;const k=h.getSourceFile();t?a_t(k,h,l,n.text):o_t(k,h,l)})}function a_t(e,t,n,s){const{parent:l}=t;switch(l.kind){case 208:n.replaceNode(e,t,J.createIdentifier(s));break;case 273:case 278:{const d=l;n.replaceNode(e,d,Que(s,d.name.text));break}case 270:{const d=l;R.assert(d.name===t,"Import clause name should match provided ref");const g=Que(s,t.text),{namedBindings:h}=d;if(!h)n.replaceNode(e,t,J.createNamedImports([g]));else if(h.kind===271){n.deleteRange(e,{pos:t.getStart(e),end:h.getStart(e)});const k=yo(d.parent.moduleSpecifier)?Oae(d.parent.moduleSpecifier,e):1,S=f1(void 0,[Que(s,t.text)],d.parent.moduleSpecifier,k);n.insertNodeAfter(e,d.parent,S)}else n.delete(e,t),n.insertNodeAtEndOfList(e,h.elements,g);break}case 202:const f=l;n.replaceNode(e,l,J.createImportTypeNode(f.argument,f.assertions,J.createIdentifier(s),f.typeArguments,f.isTypeOf));break;default:R.failBadSyntaxKind(l)}}function o_t(e,t,n){const s=t.parent;switch(s.kind){case 208:n.replaceNode(e,t,J.createIdentifier("default"));break;case 273:{const l=J.createIdentifier(s.name.text);s.parent.elements.length===1?n.replaceNode(e,s.parent,l):(n.delete(e,s),n.insertNodeBefore(e,s.parent,l));break}case 278:{n.replaceNode(e,s,SIe("default",s.name.text));break}default:R.assertNever(s,`Unexpected parent kind ${s.kind}`)}}function Que(e,t){return J.createImportSpecifier(!1,e===t?void 0:J.createIdentifier(e),J.createIdentifier(t))}function SIe(e,t){return J.createExportSpecifier(!1,e===t?void 0:J.createIdentifier(e),J.createIdentifier(t))}function c_t(e,t){if(bs(e))return e.symbol;const n=e.parent.symbol;return n.valueDeclaration&&hT(n.valueDeclaration)?t.getMergedSymbol(n):n}var Vq,mL,hL,l_t=p({"src/services/refactors/convertExport.ts"(){Si(),Xg(),Vq="Convert export",mL={name:"Convert default export to named export",description:v.Convert_default_export_to_named_export.message,kind:"refactor.rewrite.export.named"},hL={name:"Convert named export to default export",description:v.Convert_named_export_to_default_export.message,kind:"refactor.rewrite.export.default"},Hy(Vq,{kinds:[mL.kind,hL.kind],getAvailableActions:function(t){const n=TIe(t,t.triggerReason==="invoked");if(!n)return pt;if(!Gg(n)){const s=n.wasDefault?mL:hL;return[{name:Vq,description:s.description,actions:[s]}]}return t.preferences.provideRefactorNotApplicableReason?[{name:Vq,description:v.Convert_default_export_to_named_export.message,actions:[{...mL,notApplicableReason:n.error},{...hL,notApplicableReason:n.error}]}]:pt},getEditsForAction:function(t,n){R.assert(n===mL.name||n===hL.name,"Unexpected action name");const s=TIe(t);return R.assert(s&&!Gg(s),"Expected applicable refactor info"),{edits:Jn.ChangeTracker.with(t,f=>n_t(t.file,t.program,s,f,t.cancellationToken)),renameFilename:void 0,renameLocation:void 0}}})}});function xIe(e,t=!0){const{file:n}=e,s=Ew(e),l=Os(n,s.start),f=t?kn(l,Nu):I9(l,n,s);if(!f||!Nu(f))return{error:"Selection is not an import declaration."};const d=s.start+s.length,g=tk(f,f.parent,n);if(g&&d>g.getStart())return;const{importClause:h}=f;return h?h.namedBindings?h.namedBindings.kind===271?{convertTo:0,import:h.namedBindings}:kIe(e.program,h)?{convertTo:1,import:h.namedBindings}:{convertTo:2,import:h.namedBindings}:{error:uo(v.Could_not_find_namespace_import_or_named_imports)}:{error:uo(v.Could_not_find_import_clause)}}function kIe(e,t){return GC(e.getCompilerOptions())&&p_t(t.parent.moduleSpecifier,e.getTypeChecker())}function u_t(e,t,n,s){const l=t.getTypeChecker();s.convertTo===0?f_t(e,l,n,s.import,GC(t.getCompilerOptions())):wIe(e,t,n,s.import,s.convertTo===1)}function f_t(e,t,n,s,l){let f=!1;const d=[],g=new Map;Wc.Core.eachSymbolReferenceInFile(s.name,t,e,w=>{if(!xbe(w.parent))f=!0;else{const N=CIe(w.parent).text;t.resolveName(N,w,67108863,!0)&&g.set(N,!0),R.assert(__t(w.parent)===w,"Parent expression should match id"),d.push(w.parent)}});const h=new Map;for(const w of d){const N=CIe(w).text;let O=h.get(N);O===void 0&&h.set(N,O=g.has(N)?ik(N,e):N),n.replaceNode(e,w,J.createIdentifier(O))}const k=[];h.forEach((w,N)=>{k.push(J.createImportSpecifier(!1,w===N?void 0:J.createIdentifier(N),J.createIdentifier(w)))});const S=s.parent.parent;f&&!l?n.insertNodeAfter(e,S,Yue(S,void 0,k)):n.replaceNode(e,S,Yue(S,f?J.createIdentifier(s.name.text):void 0,k))}function CIe(e){return oi(e)?e.name:e.right}function __t(e){return oi(e)?e.expression:e.left}function wIe(e,t,n,s,l=kIe(t,s.parent)){const f=t.getTypeChecker(),d=s.parent.parent,{moduleSpecifier:g}=d,h=new Set;s.elements.forEach(L=>{const U=f.getSymbolAtLocation(L.name);U&&h.add(U)});const k=g&&yo(g)?Ff.moduleSpecifierToValidIdentifier(g.text,99):"module";function S(L){return!!Wc.Core.eachSymbolReferenceInFile(L.name,f,e,U=>{const M=f.resolveName(k,U,67108863,!0);return M?h.has(M)?i_(U.parent):!0:!1})}const N=s.elements.some(S)?ik(k,e):k,O=new Set;for(const L of s.elements){const U=(L.propertyName||L.name).text;Wc.Core.eachSymbolReferenceInFile(L.name,f,e,M=>{const W=J.createPropertyAccessExpression(J.createIdentifier(N),U);id(M.parent)?n.replaceNode(e,M.parent,J.createPropertyAssignment(M.text,W)):i_(M.parent)?O.add(L):n.replaceNode(e,M,W)})}if(n.replaceNode(e,s,l?J.createIdentifier(N):J.createNamespaceImport(J.createIdentifier(N))),O.size){const L=ao(O.values(),U=>J.createImportSpecifier(U.isTypeOnly,U.propertyName&&J.createIdentifier(U.propertyName.text),J.createIdentifier(U.name.text)));n.insertNodeAfter(e,s.parent.parent,Yue(d,void 0,L))}}function p_t(e,t){const n=t.resolveExternalModuleName(e);if(!n)return!1;const s=t.resolveExternalModuleSymbol(n);return n!==s}function Yue(e,t,n){return J.createImportDeclaration(void 0,J.createImportClause(!1,t,n&&n.length?J.createNamedImports(n):void 0),e.moduleSpecifier,void 0)}var $q,gL,d_t=p({"src/services/refactors/convertImport.ts"(){Si(),Xg(),$q="Convert import",gL={[0]:{name:"Convert namespace import to named imports",description:v.Convert_namespace_import_to_named_imports.message,kind:"refactor.rewrite.import.named"},[2]:{name:"Convert named imports to namespace import",description:v.Convert_named_imports_to_namespace_import.message,kind:"refactor.rewrite.import.namespace"},[1]:{name:"Convert named imports to default import",description:v.Convert_named_imports_to_default_import.message,kind:"refactor.rewrite.import.default"}},Hy($q,{kinds:gC(gL).map(e=>e.kind),getAvailableActions:function(t){const n=xIe(t,t.triggerReason==="invoked");if(!n)return pt;if(!Gg(n)){const s=gL[n.convertTo];return[{name:$q,description:s.description,actions:[s]}]}return t.preferences.provideRefactorNotApplicableReason?gC(gL).map(s=>({name:$q,description:s.description,actions:[{...s,notApplicableReason:n.error}]})):pt},getEditsForAction:function(t,n){R.assert(Oe(gC(gL),f=>f.name===n),"Unexpected action name");const s=xIe(t);return R.assert(s&&!Gg(s),"Expected applicable refactor info"),{edits:Jn.ChangeTracker.with(t,f=>u_t(t.file,t.program,f,s)),renameFilename:void 0,renameLocation:void 0}}})}});function EIe(e,t=!0){const{file:n,startPosition:s}=e,l=Gf(n),f=Os(n,s),d=Gz(Ew(e)),g=d.pos===d.end&&t,h=kn(f,O=>O.parent&&ps(O)&&!n2(d,O.parent,n)&&(g||mae(f,n,d.pos,d.end)));if(!h||!ps(h))return{error:uo(v.Selection_is_not_a_valid_type_node)};const k=e.program.getTypeChecker(),S=v_t(h,l);if(S===void 0)return{error:uo(v.No_type_could_be_extracted_from_this_type_node)};const w=m_t(k,h,S,n);if(!w)return{error:uo(v.No_type_could_be_extracted_from_this_type_node)};const N=Zue(k,h);return{isJS:l,selection:h,enclosingNode:S,typeParameters:w,typeElements:N}}function Zue(e,t){if(t)if(eO(t)){const n=[],s=new Map;for(const l of t.types){const f=Zue(e,l);if(!f||!f.every(d=>d.name&&Tm(s,D9(d.name))))return;Oi(n,f)}return n}else{if(aw(t))return Zue(e,t.type);if(_p(t))return t.members}}function n2(e,t,n){return S9(e,wo(n.text,t.pos),t.end)}function m_t(e,t,n,s){const l=[];return f(t)?void 0:l;function f(d){if(Gd(d)){if(Ye(d.typeName)){const g=d.typeName,h=e.resolveName(g.text,g,262144,!0);for(const k of(h==null?void 0:h.declarations)||pt)if(bl(k)&&k.getSourceFile()===s){if(k.name.escapedText===g.escapedText&&n2(k,t,s))return!0;if(n2(n,k,s)&&!n2(t,k,s)){ip(l,k);break}}}}else if(d4(d)){const g=kn(d,h=>p4(h)&&n2(h.extendsType,d,s));if(!g||!n2(t,g,s))return!0}else if(jJ(d)||JJ(d)){const g=kn(d.parent,Sa);if(g&&g.type&&n2(g.type,d,s)&&!n2(t,g,s))return!0}else if(tD(d)){if(Ye(d.exprName)){const g=e.resolveName(d.exprName.text,d.exprName,111551,!1);if(g!=null&&g.valueDeclaration&&n2(n,g.valueDeclaration,s)&&!n2(t,g.valueDeclaration,s))return!0}else if(Px(d.exprName.left)&&!n2(t,d.parent,s))return!0}return s&&_4(d)&&zc(s,d.pos).line===zc(s,d.end).line&&Pn(d,1),ca(d,f)}}function h_t(e,t,n,s){const{enclosingNode:l,selection:f,typeParameters:d}=s,g=J.createTypeAliasDeclaration(void 0,n,d.map(h=>J.updateTypeParameterDeclaration(h,h.modifiers,h.name,h.constraint,void 0)),f);e.insertNodeBefore(t,l,Gte(g),!0),e.replaceNode(t,f,J.createTypeReferenceNode(n,d.map(h=>J.createTypeReferenceNode(h.name,void 0))),{leadingTriviaOption:Jn.LeadingTriviaOption.Exclude,trailingTriviaOption:Jn.TrailingTriviaOption.ExcludeWhitespace})}function g_t(e,t,n,s){var l;const{enclosingNode:f,selection:d,typeParameters:g,typeElements:h}=s,k=J.createInterfaceDeclaration(void 0,n,g,void 0,h);Et(k,(l=h[0])==null?void 0:l.parent),e.insertNodeBefore(t,f,Gte(k),!0),e.replaceNode(t,d,J.createTypeReferenceNode(n,g.map(S=>J.createTypeReferenceNode(S.name,void 0))),{leadingTriviaOption:Jn.LeadingTriviaOption.Exclude,trailingTriviaOption:Jn.TrailingTriviaOption.ExcludeWhitespace})}function y_t(e,t,n,s,l){var f;const{enclosingNode:d,selection:g,typeParameters:h}=l;Pn(g,7168);const k=J.createJSDocTypedefTag(J.createIdentifier("typedef"),J.createJSDocTypeExpression(g),J.createIdentifier(s)),S=[];Q(h,N=>{const O=v6(N),L=J.createTypeParameterDeclaration(void 0,N.name),U=J.createJSDocTemplateTag(J.createIdentifier("template"),O&&Oa(O,Jx),[L]);S.push(U)});const w=J.createJSDocComment(void 0,J.createNodeArray(Cr(S,[k])));if(ig(d)){const N=d.getStart(n),O=Zb(t.host,(f=t.formatContext)==null?void 0:f.options);e.insertNodeAt(n,d.getStart(n),w,{suffix:O+O+n.text.slice(zae(n.text,N-1),N)})}else e.insertNodeBefore(n,d,w,!0);e.replaceNode(n,g,J.createTypeReferenceNode(s,h.map(N=>J.createTypeReferenceNode(N.name,void 0))))}function v_t(e,t){return kn(e,Ks)||(t?kn(e,ig):void 0)}var qq,yL,vL,bL,b_t=p({"src/services/refactors/extractType.ts"(){Si(),Xg(),qq="Extract type",yL={name:"Extract to type alias",description:uo(v.Extract_to_type_alias),kind:"refactor.extract.type"},vL={name:"Extract to interface",description:uo(v.Extract_to_interface),kind:"refactor.extract.interface"},bL={name:"Extract to typedef",description:uo(v.Extract_to_typedef),kind:"refactor.extract.typedef"},Hy(qq,{kinds:[yL.kind,vL.kind,bL.kind],getAvailableActions:function(t){const n=EIe(t,t.triggerReason==="invoked");return n?Gg(n)?t.preferences.provideRefactorNotApplicableReason?[{name:qq,description:uo(v.Extract_type),actions:[{...bL,notApplicableReason:n.error},{...yL,notApplicableReason:n.error},{...vL,notApplicableReason:n.error}]}]:pt:[{name:qq,description:uo(v.Extract_type),actions:n.isJS?[bL]:$r([yL],n.typeElements&&vL)}]:pt},getEditsForAction:function(t,n){const{file:s}=t,l=EIe(t);R.assert(l&&!Gg(l),"Expected to find a range to extract");const f=ik("NewType",s),d=Jn.ChangeTracker.with(t,k=>{switch(n){case yL.name:return R.assert(!l.isJS,"Invalid actionName/JS combo"),h_t(k,s,f,l);case bL.name:return R.assert(l.isJS,"Invalid actionName/JS combo"),y_t(k,t,s,f,l);case vL.name:return R.assert(!l.isJS&&!!l.typeElements,"Invalid actionName/JS combo"),g_t(k,s,f,l);default:R.fail("Unexpected action name")}}),g=s.fileName,h=F9(d,g,f,!1);return{edits:d,renameFilename:g,renameLocation:h}}})}});function Gg(e){return e.error!==void 0}function Mv(e,t){return t?e.substr(0,t.length)===t:!0}var T_t=p({"src/services/refactors/helpers.ts"(){}});function S_t(e){const{file:t}=e,n=Gz(Ew(e)),{statements:s}=t,l=ar(s,g=>g.end>n.pos);if(l===-1)return;const f=s[l];if(of(f)&&f.name&&pp(f.name,n))return{toMove:[s[l]],afterLast:s[l+1]};if(n.pos>f.getStart(t))return;const d=ar(s,g=>g.end>n.end,l);if(!(d!==-1&&(d===0||s[d].getStart(t)<n.end)))return{toMove:s.slice(l,d===-1?s.length:d),afterLast:d===-1?void 0:s[d]}}function x_t(e,t,n,s,l,f){const d=t.getTypeChecker(),g=J_t(e,n.all,d),h=$i(e.fileName),k=N5(e.fileName),S=_s(h,B_t(j_t(g.oldFileImportsFromNewFile,g.movedSymbols),k,h,l))+k;s.createNewFile(e,S,E_t(e,g,s,n,t,l,S,f)),w_t(t,s,e.fileName,S,Ub(l))}function AIe(e){const t=S_t(e);if(t===void 0)return;const n=[],s=[],{toMove:l,afterLast:f}=t;return jr(l,k_t,(d,g)=>{for(let h=d;h<g;h++)n.push(l[h]);s.push({first:l[d],afterLast:f})}),n.length===0?void 0:{all:n,ranges:s}}function k_t(e){return!C_t(e)&&!vm(e)}function C_t(e){switch(e.kind){case 269:return!0;case 268:return!Ti(e,1);case 240:return e.declarationList.declarations.every(t=>!!t.initializer&&v_(t.initializer,!0));default:return!1}}function w_t(e,t,n,s,l){const f=e.getCompilerOptions().configFile;if(!f)return;const d=Co(_s(n,"..",s)),g=r7(f.fileName,d,l),h=f.statements[0]&&Pi(f.statements[0].expression,cc),k=h&&He(h.properties,S=>Iu(S)&&yo(S.name)&&S.name.text==="files");k&&Nf(k.initializer)&&t.insertNodeInListAfter(f,ko(k.initializer.elements),J.createStringLiteral(g),k.initializer.elements)}function E_t(e,t,n,s,l,f,d,g){const h=l.getTypeChecker(),k=GR(e.statements,vm);if(e.externalModuleIndicator===void 0&&e.commonJsModuleIndicator===void 0&&t.oldImportsNeededByNewFile.size()===0)return PIe(e,s.ranges,n),[...k,...s.all];const S=!!e.externalModuleIndicator,w=wm(e,g),N=O_t(e,t.oldFileImportsFromNewFile,d,l,f,S,w);N&&iV(n,e,N,!0,g),A_t(e,s.all,n,t.unusedImportsFromOldFile,h),PIe(e,s.ranges,n),P_t(n,l,f,e,t.movedSymbols,d);const O=R_t(e,t.oldImportsNeededByNewFile,t.newFileImportsFromOldFile,n,h,l,f,S,w),L=L_t(e,s.all,t.oldFileImportsFromNewFile,S);return O.length&&L.length?[...k,...O,4,...L]:[...k,...O,...L]}function PIe(e,t,n){for(const{first:s,afterLast:l}of t)n.deleteNodeRangeExcludingEnd(e,s,l)}function A_t(e,t,n,s,l){for(const f of e.statements)xt(t,f)||Kue(f,d=>OIe(e,d,n,g=>s.has(l.getSymbolAtLocation(g))))}function P_t(e,t,n,s,l,f){const d=t.getTypeChecker();for(const g of t.getSourceFiles())if(g!==s)for(const h of g.statements)Kue(h,k=>{if(d.getSymbolAtLocation(DIe(k))!==s.symbol)return;const S=U=>{const M=qo(U.parent)?nV(d,U.parent):fp(d.getSymbolAtLocation(U),d);return!!M&&l.has(M)};OIe(g,k,e,S);const w=iv($i(s.path),f),N=RU(t.getCompilerOptions(),g,g.path,w,ww(t,n)),O=FIe(k,J.createStringLiteral(N),S);O&&e.insertNodeAfter(g,h,O);const L=D_t(k);L&&N_t(e,g,d,l,N,L,k)})}function D_t(e){switch(e.kind){case 269:return e.importClause&&e.importClause.namedBindings&&e.importClause.namedBindings.kind===271?e.importClause.namedBindings.name:void 0;case 268:return e.name;case 257:return Pi(e.name,Ye);default:return R.assertNever(e,`Unexpected node kind ${e.kind}`)}}function N_t(e,t,n,s,l,f,d){const g=Ff.moduleSpecifierToValidIdentifier(l,99);let h=!1;const k=[];if(Wc.Core.eachSymbolReferenceInFile(f,n,t,S=>{oi(S.parent)&&(h=h||!!n.resolveName(g,S,67108863,!0),s.has(n.getSymbolAtLocation(S.parent.name))&&k.push(S))}),k.length){const S=h?ik(g,t):g;for(const w of k)e.replaceNode(t,w,J.createIdentifier(S));e.insertNodeAfter(t,d,I_t(d,g,l))}}function I_t(e,t,n){const s=J.createIdentifier(t),l=J.createStringLiteral(n);switch(e.kind){case 269:return J.createImportDeclaration(void 0,J.createImportClause(!1,void 0,J.createNamespaceImport(s)),l,void 0);case 268:return J.createImportEqualsDeclaration(void 0,!1,s,J.createExternalModuleReference(l));case 257:return J.createVariableDeclaration(s,void 0,void 0,efe(l));default:return R.assertNever(e,`Unexpected node kind ${e.kind}`)}}function DIe(e){return e.kind===269?e.moduleSpecifier:e.kind===268?e.moduleReference.expression:e.initializer.arguments[0]}function Kue(e,t){if(Nu(e))yo(e.moduleSpecifier)&&t(e);else if(Xu(e))ng(e.moduleReference)&&sc(e.moduleReference.expression)&&t(e);else if(Xl(e))for(const n of e.declarationList.declarations)n.initializer&&v_(n.initializer,!0)&&t(n)}function O_t(e,t,n,s,l,f,d){let g;const h=[];return t.forEach(k=>{k.escapedName==="default"?g=J.createIdentifier(eV(k)):h.push(k.name)}),NIe(e,g,h,n,s,l,f,d)}function NIe(e,t,n,s,l,f,d,g){const h=iv($i(e.path),s),k=RU(l.getCompilerOptions(),e,e.path,h,ww(l,f));if(d){const S=n.map(w=>J.createImportSpecifier(!1,void 0,J.createIdentifier(w)));return K6e(t,S,k,g)}else{R.assert(!t,"No default import should exist");const S=n.map(w=>J.createBindingElement(void 0,void 0,w));return S.length?IIe(J.createObjectBindingPattern(S),void 0,efe(J.createStringLiteral(k))):void 0}}function IIe(e,t,n,s=2){return J.createVariableStatement(void 0,J.createVariableDeclarationList([J.createVariableDeclaration(e,void 0,t,n)],s))}function efe(e){return J.createCallExpression(J.createIdentifier("require"),void 0,[e])}function L_t(e,t,n,s){return mn(t,l=>{if($_t(l)&&!VIe(e,l,s)&&JIe(l,f=>{var d;return n.has(R.checkDefined((d=Pi(f,Vh))==null?void 0:d.symbol))})){const f=H_t(l,s);if(f)return f}return l})}function OIe(e,t,n,s){switch(t.kind){case 269:M_t(e,t,n,s);break;case 268:s(t.name)&&n.delete(e,t);break;case 257:F_t(e,t,n,s);break;default:R.assertNever(t,`Unexpected import decl kind ${t.kind}`)}}function M_t(e,t,n,s){if(!t.importClause)return;const{name:l,namedBindings:f}=t.importClause,d=!l||s(l),g=!f||(f.kind===271?s(f.name):f.elements.length!==0&&f.elements.every(h=>s(h.name)));if(d&&g)n.delete(e,t);else if(l&&d&&n.delete(e,l),f){if(g)n.replaceNode(e,t.importClause,J.updateImportClause(t.importClause,t.importClause.isTypeOnly,l,void 0));else if(f.kind===272)for(const h of f.elements)s(h.name)&&n.delete(e,h)}}function F_t(e,t,n,s){const{name:l}=t;switch(l.kind){case 79:s(l)&&(t.initializer&&v_(t.initializer,!0)?n.delete(e,Of(t.parent)&&H(t.parent.declarations)===1?t.parent.parent:t):n.delete(e,l));break;case 204:break;case 203:if(l.elements.every(f=>Ye(f.name)&&s(f.name)))n.delete(e,Of(t.parent)&&t.parent.declarations.length===1?t.parent.parent:t);else for(const f of l.elements)Ye(f.name)&&s(f.name)&&n.delete(e,f.name);break}}function R_t(e,t,n,s,l,f,d,g,h){const k=[];for(const O of e.statements)Kue(O,L=>{$r(k,FIe(L,DIe(L),U=>t.has(l.getSymbolAtLocation(U))))});let S;const w=[],N=z4();return n.forEach(O=>{if(O.declarations)for(const L of O.declarations){if(!BIe(L))continue;const U=q_t(L);if(!U)continue;const M=zIe(L);N(M)&&W_t(e,M,U,s,g),Ti(L,1024)?S=U:w.push(U.text)}}),$r(k,NIe(e,S,w,sf(e.fileName),f,d,g,h)),k}function B_t(e,t,n,s){let l=e;for(let f=1;;f++){const d=_s(n,l+t);if(!s.fileExists(d))return l;l=`${e}.${f}`}}function j_t(e,t){return e.forEachEntry(eV)||t.forEachEntry(eV)||"newFile"}function J_t(e,t,n){const s=new l8,l=new l8,f=new l8,d=He(t,w=>!!(w.transformFlags&2)),g=S(d);g&&l.add(g);for(const w of t)JIe(w,N=>{s.add(R.checkDefined(Gu(N)?n.getSymbolAtLocation(N.expression.left):N.symbol,"Need a symbol here"))});for(const w of t)RIe(w,n,N=>{if(N.declarations)for(const O of N.declarations)LIe(O)?l.add(N):BIe(O)&&V_t(O)===e&&!s.has(N)&&f.add(N)});const h=l.clone(),k=new l8;for(const w of e.statements)xt(t,w)||(g&&w.transformFlags&2&&h.delete(g),RIe(w,n,N=>{s.has(N)&&k.add(N),h.delete(N)}));return{movedSymbols:s,newFileImportsFromOldFile:f,oldFileImportsFromNewFile:k,oldImportsNeededByNewFile:l,unusedImportsFromOldFile:h};function S(w){if(w===void 0)return;const N=n.getJsxNamespace(w),O=n.resolveName(N,w,1920,!0);return O&&Oe(O.declarations,LIe)?O:void 0}}function LIe(e){switch(e.kind){case 268:case 273:case 270:case 271:return!0;case 257:return MIe(e);case 205:return xs(e.parent.parent)&&MIe(e.parent.parent);default:return!1}}function MIe(e){return bs(e.parent.parent.parent)&&!!e.initializer&&v_(e.initializer,!0)}function FIe(e,t,n){switch(e.kind){case 269:{const s=e.importClause;if(!s)return;const l=s.name&&n(s.name)?s.name:void 0,f=s.namedBindings&&U_t(s.namedBindings,n);return l||f?J.createImportDeclaration(void 0,J.createImportClause(s.isTypeOnly,l,f),t,void 0):void 0}case 268:return n(e.name)?e:void 0;case 257:{const s=z_t(e.name,n);return s?IIe(s,e.type,efe(t),e.parent.flags):void 0}default:return R.assertNever(e,`Unexpected import kind ${e.kind}`)}}function U_t(e,t){if(e.kind===271)return t(e.name)?e:void 0;{const n=e.elements.filter(s=>t(s.name));return n.length?J.createNamedImports(n):void 0}}function z_t(e,t){switch(e.kind){case 79:return t(e)?e:void 0;case 204:return e;case 203:{const n=e.elements.filter(s=>s.propertyName||!Ye(s.name)||t(s.name));return n.length?J.createObjectBindingPattern(n):void 0}}}function RIe(e,t,n){e.forEachChild(function s(l){if(Ye(l)&&!By(l)){const f=t.getSymbolAtLocation(l);f&&n(f)}else l.forEachChild(s)})}function BIe(e){return jIe(e)&&bs(e.parent)||xs(e)&&bs(e.parent.parent.parent)}function V_t(e){return xs(e)?e.parent.parent.parent:e.parent}function $_t(e){return R.assert(bs(e.parent),"Node parent should be a SourceFile"),jIe(e)||Xl(e)}function jIe(e){switch(e.kind){case 259:case 260:case 264:case 263:case 262:case 261:case 268:return!0;default:return!1}}function JIe(e,t){switch(e.kind){case 259:case 260:case 264:case 263:case 262:case 261:case 268:return t(e);case 240:return ze(e.declarationList.declarations,n=>UIe(n.name,t));case 241:{const{expression:n}=e;return $n(n)&&ll(n)===1?t(e):void 0}}}function UIe(e,t){switch(e.kind){case 79:return t(Oa(e.parent,n=>xs(n)||qo(n)));case 204:case 203:return ze(e.elements,n=>yu(n)?void 0:UIe(n.name,t));default:return R.assertNever(e,`Unexpected name kind ${e.kind}`)}}function q_t(e){return Gu(e)?Pi(e.expression.left.name,Ye):Pi(e.name,Ye)}function zIe(e){switch(e.kind){case 257:return e.parent.parent;case 205:return zIe(Oa(e.parent.parent,t=>xs(t)||qo(t)));default:return e}}function W_t(e,t,n,s,l){if(!VIe(e,t,l,n))if(l)Gu(t)||s.insertExportModifier(e,t);else{const f=tfe(t);f.length!==0&&s.insertNodesAfter(e,t,f.map($Ie))}}function VIe(e,t,n,s){var l;return n?!Gu(t)&&Ti(t,1)||!!(s&&((l=e.symbol.exports)!=null&&l.has(s.escapedText))):!!e.symbol&&!!e.symbol.exports&&tfe(t).some(f=>e.symbol.exports.has(Vc(f)))}function H_t(e,t){return t?[G_t(e)]:X_t(e)}function G_t(e){const t=Qd(e)?Cr([J.createModifier(93)],fx(e)):void 0;switch(e.kind){case 259:return J.updateFunctionDeclaration(e,t,e.asteriskToken,e.name,e.typeParameters,e.parameters,e.type,e.body);case 260:const n=yw(e)?ov(e):void 0;return J.updateClassDeclaration(e,Cr(n,t),e.name,e.typeParameters,e.heritageClauses,e.members);case 240:return J.updateVariableStatement(e,t,e.declarationList);case 264:return J.updateModuleDeclaration(e,t,e.name,e.body);case 263:return J.updateEnumDeclaration(e,t,e.name,e.members);case 262:return J.updateTypeAliasDeclaration(e,t,e.name,e.typeParameters,e.type);case 261:return J.updateInterfaceDeclaration(e,t,e.name,e.typeParameters,e.heritageClauses,e.members);case 268:return J.updateImportEqualsDeclaration(e,t,e.isTypeOnly,e.name,e.moduleReference);case 241:return R.fail();default:return R.assertNever(e,`Unexpected declaration kind ${e.kind}`)}}function X_t(e){return[e,...tfe(e).map($Ie)]}function tfe(e){switch(e.kind){case 259:case 260:return[e.name.text];case 240:return fr(e.declarationList.declarations,t=>Ye(t.name)?t.name.text:void 0);case 264:case 263:case 262:case 261:case 268:return pt;case 241:return R.fail("Can't export an ExpressionStatement");default:return R.assertNever(e,`Unexpected decl kind ${e.kind}`)}}function $Ie(e){return J.createExpressionStatement(J.createBinaryExpression(J.createPropertyAccessExpression(J.createIdentifier("exports"),J.createIdentifier(e)),63,J.createIdentifier(e)))}var c8,Wq,Hq,l8,Q_t=p({"src/services/refactors/moveToNewFile.ts"(){jCe(),Si(),Xg(),c8="Move to a new file",Wq=uo(v.Move_to_a_new_file),Hq={name:c8,description:Wq,kind:"refactor.move.newFile"},Hy(c8,{kinds:[Hq.kind],getAvailableActions:function(t){const n=AIe(t);return t.preferences.allowTextChangesInNewFiles&&n?[{name:c8,description:Wq,actions:[Hq]}]:t.preferences.provideRefactorNotApplicableReason?[{name:c8,description:Wq,actions:[{...Hq,notApplicableReason:uo(v.Selection_is_not_a_valid_statement_or_statements)}]}]:pt},getEditsForAction:function(t,n){R.assert(n===c8,"Wrong refactor invoked");const s=R.checkDefined(AIe(t));return{edits:Jn.ChangeTracker.with(t,f=>x_t(t.file,t.program,s,f,t.host,t.preferences)),renameFilename:void 0,renameLocation:void 0}}}),l8=class{constructor(){this.map=new Map}add(e){this.map.set(String(Ha(e)),e)}has(e){return this.map.has(String(Ha(e)))}delete(e){this.map.delete(String(Ha(e)))}forEach(e){this.map.forEach(e)}forEachEntry(e){return cp(this.map,e)}clone(){const e=new l8;return C7(this.map,e.map),e}size(){return this.map.size}}}});function Y_t(e){const{file:t,startPosition:n,program:s}=e;return WIe(t,n,s)?[{name:Gq,description:rfe,actions:[nfe]}]:pt}function Z_t(e){const{file:t,startPosition:n,program:s}=e,l=WIe(t,n,s);if(!l)return;const f=s.getTypeChecker(),d=l[l.length-1];let g=d;switch(d.kind){case 170:{g=J.updateMethodSignature(d,d.modifiers,d.name,d.questionToken,d.typeParameters,k(l),d.type);break}case 171:{g=J.updateMethodDeclaration(d,d.modifiers,d.asteriskToken,d.name,d.questionToken,d.typeParameters,k(l),d.type,d.body);break}case 176:{g=J.updateCallSignature(d,d.typeParameters,k(l),d.type);break}case 173:{g=J.updateConstructorDeclaration(d,d.modifiers,k(l),d.body);break}case 177:{g=J.updateConstructSignature(d,d.typeParameters,k(l),d.type);break}case 259:{g=J.updateFunctionDeclaration(d,d.modifiers,d.asteriskToken,d.name,d.typeParameters,k(l),d.type,d.body);break}default:return R.failBadSyntaxKind(d,"Unhandled signature kind in overload list conversion refactoring")}if(g===d)return;return{renameFilename:void 0,renameLocation:void 0,edits:Jn.ChangeTracker.with(e,N=>{N.replaceNodeRange(t,l[0],l[l.length-1],g)})};function k(N){const O=N[N.length-1];return Lc(O)&&O.body&&(N=N.slice(0,N.length-1)),J.createNodeArray([J.createParameterDeclaration(void 0,J.createToken(25),"args",void 0,J.createUnionTypeNode(qt(N,S)))])}function S(N){const O=qt(N.parameters,w);return Pn(J.createTupleTypeNode(O),Oe(O,L=>!!H(o4(L)))?0:1)}function w(N){R.assert(Ye(N.name));const O=Et(J.createNamedTupleMember(N.dotDotDotToken,N.name,N.questionToken,N.type||J.createKeywordTypeNode(131)),N),L=N.symbol&&N.symbol.getDocumentationComment(f);if(L){const U=H3e(L);U.length&&DT(O,[{text:`*
${U.split(`
`).map(M=>` * ${M}`).join(`
`)}
`,kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}])}return O}}function qIe(e){switch(e.kind){case 170:case 171:case 176:case 173:case 177:case 259:return!0}return!1}function WIe(e,t,n){const s=Os(e,t),l=kn(s,qIe);if(!l||Lc(l)&&l.body&&b9(l.body,t))return;const f=n.getTypeChecker(),d=l.symbol;if(!d)return;const g=d.declarations;if(H(g)<=1||!ut(g,N=>bn(N)===e)||!qIe(g[0]))return;const h=g[0].kind;if(!ut(g,N=>N.kind===h))return;const k=g;if(Oe(k,N=>!!N.typeParameters||Oe(N.parameters,O=>!!O.modifiers||!Ye(O.name))))return;const S=fr(k,N=>f.getSignatureFromDeclaration(N));if(H(S)!==H(g))return;const w=f.getReturnTypeOfSignature(S[0]);if(ut(S,N=>f.getReturnTypeOfSignature(N)===w))return k}var Gq,rfe,nfe,K_t=p({"src/services/refactors/convertOverloadListToSingleSignature.ts"(){Si(),Xg(),Gq="Convert overload list to single signature",rfe=v.Convert_overload_list_to_single_signature.message,nfe={name:Gq,description:rfe,kind:"refactor.rewrite.function.overloadList"},Hy(Gq,{kinds:[nfe.kind],getEditsForAction:Z_t,getAvailableActions:Y_t})}});function ept(e){const{file:t,startPosition:n,triggerReason:s}=e,l=HIe(t,n,s==="invoked");return l?Gg(l)?e.preferences.provideRefactorNotApplicableReason?[{name:Xq,description:ife,actions:[{...TL,notApplicableReason:l.error},{...u8,notApplicableReason:l.error}]}]:pt:[{name:Xq,description:ife,actions:[l.addBraces?TL:u8]}]:pt}function tpt(e,t){const{file:n,startPosition:s}=e,l=HIe(n,s);R.assert(l&&!Gg(l),"Expected applicable refactor info");const{expression:f,returnStatement:d,func:g}=l;let h;if(t===TL.name){const S=J.createReturnStatement(f);h=J.createBlock([S],!0),W4(f,S,n,3,!0)}else if(t===u8.name&&d){const S=f||J.createVoidZero();h=Wae(S)?J.createParenthesizedExpression(S):S,R9(d,h,n,3,!1),W4(d,h,n,3,!1),VD(d,h,n,3,!1)}else R.fail("invalid action");return{renameFilename:void 0,renameLocation:void 0,edits:Jn.ChangeTracker.with(e,S=>{S.replaceNode(n,g.body,h)})}}function HIe(e,t,n=!0,s){const l=Os(e,t),f=Pp(l);if(!f)return{error:uo(v.Could_not_find_a_containing_arrow_function)};if(!Ac(f))return{error:uo(v.Containing_function_is_not_an_arrow_function)};if(!(!pp(f,l)||pp(f.body,l)&&!n)){if(Mv(TL.kind,s)&&Dt(f.body))return{func:f,addBraces:!0,expression:f.body};if(Mv(u8.kind,s)&&Fa(f.body)&&f.body.statements.length===1){const d=Uo(f.body.statements);if(Sm(d))return{func:f,addBraces:!1,expression:d.expression,returnStatement:d}}}}var Xq,ife,TL,u8,rpt=p({"src/services/refactors/addOrRemoveBracesToArrowFunction.ts"(){Si(),Xg(),Xq="Add or remove braces in an arrow function",ife=v.Add_or_remove_braces_in_an_arrow_function.message,TL={name:"Add braces to arrow function",description:v.Add_braces_to_arrow_function.message,kind:"refactor.rewrite.arrow.braces.add"},u8={name:"Remove braces from arrow function",description:v.Remove_braces_from_arrow_function.message,kind:"refactor.rewrite.arrow.braces.remove"},Hy(Xq,{kinds:[u8.kind],getEditsForAction:tpt,getAvailableActions:ept})}}),npt={},ipt=p({"src/services/_namespaces/ts.refactor.addOrRemoveBracesToArrowFunction.ts"(){K_t(),rpt()}});function spt(e){const{file:t,startPosition:n,program:s,kind:l}=e,f=XIe(t,n,s);if(!f)return pt;const{selectedVariableDeclaration:d,func:g}=f,h=[],k=[];if(Mv(_8.kind,l)){const S=d||Ac(g)&&xs(g.parent)?void 0:uo(v.Could_not_convert_to_named_function);S?k.push({..._8,notApplicableReason:S}):h.push(_8)}if(Mv(f8.kind,l)){const S=!d&&Ac(g)?void 0:uo(v.Could_not_convert_to_anonymous_function);S?k.push({...f8,notApplicableReason:S}):h.push(f8)}if(Mv(p8.kind,l)){const S=yc(g)?void 0:uo(v.Could_not_convert_to_arrow_function);S?k.push({...p8,notApplicableReason:S}):h.push(p8)}return[{name:sfe,description:ZIe,actions:h.length===0&&e.preferences.provideRefactorNotApplicableReason?k:h}]}function apt(e,t){const{file:n,startPosition:s,program:l}=e,f=XIe(n,s,l);if(!f)return;const{func:d}=f,g=[];switch(t){case f8.name:g.push(...upt(e,d));break;case _8.name:const h=lpt(d);if(!h)return;g.push(...fpt(e,d,h));break;case p8.name:if(!yc(d))return;g.push(..._pt(e,d));break;default:return R.fail("invalid action")}return{renameFilename:void 0,renameLocation:void 0,edits:g}}function GIe(e){let t=!1;return e.forEachChild(function n(s){if(U4(s)){t=!0;return}!Ri(s)&&!ru(s)&&!yc(s)&&ca(s,n)}),t}function XIe(e,t,n){const s=Os(e,t),l=n.getTypeChecker(),f=cpt(e,l,s.parent);if(f&&!GIe(f.body)&&!l.containsArgumentsReference(f))return{selectedVariableDeclaration:!0,func:f};const d=Pp(s);if(d&&(yc(d)||Ac(d))&&!pp(d.body,s)&&!GIe(d.body)&&!l.containsArgumentsReference(d))return yc(d)&&YIe(e,l,d)?void 0:{selectedVariableDeclaration:!1,func:d}}function opt(e){return xs(e)||Of(e)&&e.declarations.length===1}function cpt(e,t,n){if(!opt(n))return;const l=(xs(n)?n:Uo(n.declarations)).initializer;if(l&&(Ac(l)||yc(l)&&!YIe(e,t,l)))return l}function QIe(e){if(Dt(e)){const t=J.createReturnStatement(e),n=e.getSourceFile();return Et(t,e),V_(t),R9(e,t,n,void 0,!0),J.createBlock([t],!0)}else return e}function lpt(e){const t=e.parent;if(!xs(t)||!nj(t))return;const n=t.parent,s=n.parent;if(!(!Of(n)||!Xl(s)||!Ye(t.name)))return{variableDeclaration:t,variableDeclarationList:n,statement:s,name:t.name}}function upt(e,t){const{file:n}=e,s=QIe(t.body),l=J.createFunctionExpression(t.modifiers,t.asteriskToken,void 0,t.typeParameters,t.parameters,t.type,s);return Jn.ChangeTracker.with(e,f=>f.replaceNode(n,t,l))}function fpt(e,t,n){const{file:s}=e,l=QIe(t.body),{variableDeclaration:f,variableDeclarationList:d,statement:g,name:h}=n;aV(g);const k=H0(f)&1|Pf(t),S=J.createModifiersFromModifierFlags(k),w=J.createFunctionDeclaration(H(S)?S:void 0,t.asteriskToken,h,t.typeParameters,t.parameters,t.type,l);return d.declarations.length===1?Jn.ChangeTracker.with(e,N=>N.replaceNode(s,g,w)):Jn.ChangeTracker.with(e,N=>{N.delete(s,f),N.insertNodeAfter(s,g,w)})}function _pt(e,t){const{file:n}=e,l=t.body.statements[0];let f;ppt(t.body,l)?(f=l.expression,V_(f),nk(l,f)):f=t.body;const d=J.createArrowFunction(t.modifiers,t.typeParameters,t.parameters,t.type,J.createToken(38),f);return Jn.ChangeTracker.with(e,g=>g.replaceNode(n,t,d))}function ppt(e,t){return e.statements.length===1&&Sm(t)&&!!t.expression}function YIe(e,t,n){return!!n.name&&Wc.Core.isSymbolReferencedInFile(n.name,t,e)}var sfe,ZIe,f8,_8,p8,dpt=p({"src/services/refactors/convertArrowFunctionOrFunctionExpression.ts"(){Si(),Xg(),sfe="Convert arrow function or function expression",ZIe=uo(v.Convert_arrow_function_or_function_expression),f8={name:"Convert to anonymous function",description:uo(v.Convert_to_anonymous_function),kind:"refactor.rewrite.function.anonymous"},_8={name:"Convert to named function",description:uo(v.Convert_to_named_function),kind:"refactor.rewrite.function.named"},p8={name:"Convert to arrow function",description:uo(v.Convert_to_arrow_function),kind:"refactor.rewrite.function.arrow"},Hy(sfe,{kinds:[f8.kind,_8.kind,p8.kind],getEditsForAction:apt,getAvailableActions:spt})}}),mpt={},hpt=p({"src/services/_namespaces/ts.refactor.convertArrowFunctionOrFunctionExpression.ts"(){dpt()}});function gpt(e){const{file:t,startPosition:n}=e;return Gf(t)||!t7e(t,n,e.program.getTypeChecker())?pt:[{name:xL,description:lfe,actions:[ufe]}]}function ypt(e,t){R.assert(t===xL,"Unexpected action name");const{file:n,startPosition:s,program:l,cancellationToken:f,host:d}=e,g=t7e(n,s,l.getTypeChecker());if(!g||!f)return;const h=bpt(g,l,f);return h.valid?{renameFilename:void 0,renameLocation:void 0,edits:Jn.ChangeTracker.with(e,S=>vpt(n,l,d,S,g,h))}:{edits:[]}}function vpt(e,t,n,s,l,f){const d=f.signature,g=qt(s7e(l,t,n),S=>pl(S));if(d){const S=qt(s7e(d,t,n),w=>pl(w));k(d,S)}k(l,g);const h=lo(f.functionCalls,(S,w)=>Cc(S.pos,w.pos));for(const S of h)if(S.arguments&&S.arguments.length){const w=pl(Dpt(l,S.arguments),!0);s.replaceNodeRange(bn(S),Uo(S.arguments),ko(S.arguments),w,{leadingTriviaOption:Jn.LeadingTriviaOption.IncludeAll,trailingTriviaOption:Jn.TrailingTriviaOption.Include})}function k(S,w){s.replaceNodeRangeWithNodes(e,Uo(S.parameters),ko(S.parameters),w,{joiner:", ",indentation:0,leadingTriviaOption:Jn.LeadingTriviaOption.IncludeAll,trailingTriviaOption:Jn.TrailingTriviaOption.Include})}}function bpt(e,t,n){const s=Ipt(e),l=Al(e)?Npt(e):[],f=Ss([...s,...l],Db),d=t.getTypeChecker(),g=mn(f,w=>Wc.getReferenceEntriesForNode(-1,w,t,t.getSourceFiles(),n)),h=k(g);return ut(h.declarations,w=>xt(f,w))||(h.valid=!1),h;function k(w){const N={accessExpressions:[],typeUsages:[]},O={functionCalls:[],declarations:[],classReferences:N,valid:!0},L=qt(s,S),U=qt(l,S),M=Al(e),W=qt(s,X=>afe(X,d));for(const X of w){if(X.kind===Wc.EntryKind.Span){O.valid=!1;continue}if(xt(W,S(X.node))){if(kpt(X.node.parent)){O.signature=X.node.parent;continue}const ue=e7e(X);if(ue){O.functionCalls.push(ue);continue}}const Z=afe(X.node,d);if(Z&&xt(W,Z)){const ue=ofe(X);if(ue){O.declarations.push(ue);continue}}if(xt(L,S(X.node))||MD(X.node)){if(KIe(X))continue;const ie=ofe(X);if(ie){O.declarations.push(ie);continue}const se=e7e(X);if(se){O.functionCalls.push(se);continue}}if(M&&xt(U,S(X.node))){if(KIe(X))continue;const ie=ofe(X);if(ie){O.declarations.push(ie);continue}const se=Tpt(X);if(se){N.accessExpressions.push(se);continue}if(vu(e.parent)){const V=Spt(X);if(V){N.typeUsages.push(V);continue}}}O.valid=!1}return O}function S(w){const N=d.getSymbolAtLocation(w);return N&&f4e(N,d)}}function afe(e,t){const n=q9(e);if(n){const s=t.getContextualTypeForObjectLiteralElement(n),l=s==null?void 0:s.getSymbol();if(l&&!(ul(l)&6))return l}}function KIe(e){const t=e.node;if(S_(t.parent)||rg(t.parent)||Xu(t.parent)||xv(t.parent)||i_(t.parent)||Tl(t.parent))return t}function ofe(e){if(lf(e.node.parent))return e.node}function e7e(e){if(e.node.parent){const t=e.node,n=t.parent;switch(n.kind){case 210:case 211:const s=Pi(n,Oy);if(s&&s.expression===t)return s;break;case 208:const l=Pi(n,oi);if(l&&l.parent&&l.name===t){const d=Pi(l.parent,Oy);if(d&&d.expression===l)return d}break;case 209:const f=Pi(n,qc);if(f&&f.parent&&f.argumentExpression===t){const d=Pi(f.parent,Oy);if(d&&d.expression===f)return d}break}}}function Tpt(e){if(e.node.parent){const t=e.node,n=t.parent;switch(n.kind){case 208:const s=Pi(n,oi);if(s&&s.expression===t)return s;break;case 209:const l=Pi(n,qc);if(l&&l.expression===t)return l;break}}}function Spt(e){const t=e.node;if(Kx(t)===2||h5(t.parent))return t}function t7e(e,t,n){const s=BD(e,t),l=m2e(s);if(!xpt(s)&&l&&Cpt(l,n)&&pp(l,s)&&!(l.body&&pp(l.body,s)))return l}function xpt(e){const t=kn(e,C6);if(t){const n=kn(t,s=>!C6(s));return!!n&&Lc(n)}return!1}function kpt(e){return zg(e)&&(Yf(e.parent)||_p(e.parent))}function Cpt(e,t){var n;if(!wpt(e.parameters,t))return!1;switch(e.kind){case 259:return r7e(e)&&SL(e,t);case 171:if(cc(e.parent)){const s=afe(e.name,t);return((n=s==null?void 0:s.declarations)==null?void 0:n.length)===1&&SL(e,t)}return SL(e,t);case 173:return vu(e.parent)?r7e(e.parent)&&SL(e,t):n7e(e.parent.parent)&&SL(e,t);case 215:case 216:return n7e(e.parent)}return!1}function SL(e,t){return!!e.body&&!t.isImplementationOfOverload(e)}function r7e(e){return e.name?!0:!!V4(e,88)}function wpt(e,t){return Apt(e)>=a7e&&ut(e,n=>Ept(n,t))}function Ept(e,t){if(Lg(e)){const n=t.getTypeAtLocation(e);if(!t.isArrayType(n)&&!t.isTupleType(n))return!1}return!e.modifiers&&Ye(e.name)}function n7e(e){return xs(e)&&My(e)&&Ye(e.name)&&!e.type}function cfe(e){return e.length>0&&U4(e[0].name)}function Apt(e){return cfe(e)?e.length-1:e.length}function i7e(e){return cfe(e)&&(e=J.createNodeArray(e.slice(1),e.hasTrailingComma)),e}function Ppt(e,t){return Ye(t)&&Vd(t)===e?J.createShorthandPropertyAssignment(e):J.createPropertyAssignment(e,t)}function Dpt(e,t){const n=i7e(e.parameters),s=Lg(ko(n)),l=s?t.slice(0,n.length-1):t,f=qt(l,(g,h)=>{const k=Qq(n[h]),S=Ppt(k,g);return V_(S.name),Iu(S)&&V_(S.initializer),nk(g,S),S});if(s&&t.length>=n.length){const g=t.slice(n.length-1),h=J.createPropertyAssignment(Qq(ko(n)),J.createArrayLiteralExpression(g));f.push(h)}return J.createObjectLiteralExpression(f,!1)}function s7e(e,t,n){const s=t.getTypeChecker(),l=i7e(e.parameters),f=qt(l,S),d=J.createObjectBindingPattern(f),g=w(l);let h;ut(l,L)&&(h=J.createObjectLiteralExpression());const k=J.createParameterDeclaration(void 0,void 0,d,void 0,g,h);if(cfe(e.parameters)){const U=e.parameters[0],M=J.createParameterDeclaration(void 0,void 0,U.name,void 0,U.type);return V_(M.name),nk(U.name,M.name),U.type&&(V_(M.type),nk(U.type,M.type)),J.createNodeArray([M,k])}return J.createNodeArray([k]);function S(U){const M=J.createBindingElement(void 0,void 0,Qq(U),Lg(U)&&L(U)?J.createArrayLiteralExpression():U.initializer);return V_(M),U.initializer&&M.initializer&&nk(U.initializer,M.initializer),M}function w(U){const M=qt(U,N);return ih(J.createTypeLiteralNode(M),1)}function N(U){let M=U.type;!M&&(U.initializer||Lg(U))&&(M=O(U));const W=J.createPropertySignature(void 0,Qq(U),L(U)?J.createToken(57):U.questionToken,M);return V_(W),nk(U.name,W.name),U.type&&W.type&&nk(U.type,W.type),W}function O(U){const M=s.getTypeAtLocation(U);return qD(M,U,t,n)}function L(U){if(Lg(U)){const M=s.getTypeAtLocation(U);return!s.isTupleType(M)}return s.isOptionalParameter(U)}}function Qq(e){return Vd(e.name)}function Npt(e){switch(e.parent.kind){case 260:const t=e.parent;return t.name?[t.name]:[R.checkDefined(V4(t,88),"Nameless class declaration should be a default export")];case 228:const s=e.parent,l=e.parent.parent,f=s.name;return f?[f,l.name]:[l.name]}}function Ipt(e){switch(e.kind){case 259:return e.name?[e.name]:[R.checkDefined(V4(e,88),"Nameless function declaration should be a default export")];case 171:return[e.name];case 173:const n=R.checkDefined(Yo(e,135,e.getSourceFile()),"Constructor declaration should have constructor keyword");return e.parent.kind===228?[e.parent.parent.name,n]:[n];case 216:return[e.parent.name];case 215:return e.name?[e.name,e.parent.name]:[e.parent.name];default:return R.assertNever(e,`Unexpected function declaration kind ${e.kind}`)}}var xL,a7e,lfe,ufe,Opt=p({"src/services/refactors/convertParamsToDestructuredObject.ts"(){Si(),Xg(),xL="Convert parameters to destructured object",a7e=1,lfe=uo(v.Convert_parameters_to_destructured_object),ufe={name:xL,description:lfe,kind:"refactor.rewrite.parameters.toDestructured"},Hy(xL,{kinds:[ufe.kind],getEditsForAction:ypt,getAvailableActions:gpt})}}),Lpt={},Mpt=p({"src/services/_namespaces/ts.refactor.convertParamsToDestructuredObject.ts"(){Opt()}});function Fpt(e){const{file:t,startPosition:n}=e,s=o7e(t,n),l=ffe(s),f={name:Yq,description:Zq,actions:[]};return $n(l)&&_fe(l).isValidConcatenation?(f.actions.push(Kq),[f]):e.preferences.provideRefactorNotApplicableReason?(f.actions.push({...Kq,notApplicableReason:uo(v.Can_only_convert_string_concatenation)}),[f]):pt}function o7e(e,t){const n=Os(e,t),s=ffe(n);return!_fe(s).isValidConcatenation&&j_(s.parent)&&$n(s.parent.parent)?s.parent.parent:n}function Rpt(e,t){const{file:n,startPosition:s}=e,l=o7e(n,s);switch(t){case Zq:return{edits:Bpt(e,l)};default:return R.fail("invalid action")}}function Bpt(e,t){const n=ffe(t),s=e.file,l=Upt(_fe(n),s),f=Ib(s.text,n.end);if(f){const d=f[f.length-1],g={pos:f[0].pos,end:d.end};return Jn.ChangeTracker.with(e,h=>{h.deleteRange(s,g),h.replaceNode(s,n,l)})}else return Jn.ChangeTracker.with(e,d=>d.replaceNode(s,n,l))}function jpt(e){return e.operatorToken.kind!==63}function ffe(e){return kn(e.parent,n=>{switch(n.kind){case 208:case 209:return!1;case 225:case 223:return!($n(n.parent)&&jpt(n.parent));default:return"quit"}})||e}function _fe(e){const t=d=>{if(!$n(d))return{nodes:[d],operators:[],validOperators:!0,hasString:yo(d)||rw(d)};const{nodes:g,operators:h,hasString:k,validOperators:S}=t(d.left);if(!(k||yo(d.right)||UJ(d.right)))return{nodes:[d],operators:[],hasString:!1,validOperators:!0};const w=d.operatorToken.kind===39,N=S&&w;return g.push(d.right),h.push(d.operatorToken),{nodes:g,operators:h,hasString:!0,validOperators:N}},{nodes:n,operators:s,validOperators:l,hasString:f}=t(e);return{nodes:n,operators:s,isValidConcatenation:l&&f}}function Jpt(e){return e.replace(/\\.|[$`]/g,t=>t[0]==="\\"?t:"\\"+t)}function c7e(e){const t=u4(e)||FSe(e)?-2:-1;return lu(e).slice(1,t)}function l7e(e,t){const n=[];let s="",l="";for(;e<t.length;){const f=t[e];if(sc(f))s+=f.text,l+=Jpt(lu(f).slice(1,-1)),n.push(e),e++;else if(UJ(f)){s+=f.head.text,l+=c7e(f.head);break}else break}return[e,s,l,n]}function Upt({nodes:e,operators:t},n){const s=f7e(t,n),l=_7e(e,n,s),[f,d,g,h]=l7e(0,e);if(f===e.length){const w=J.createNoSubstitutionTemplateLiteral(d,g);return l(h,w),w}const k=[],S=J.createTemplateHead(d,g);l(h,S);for(let w=f;w<e.length;w++){const N=zpt(e[w]);s(w,N);const[O,L,U,M]=l7e(w+1,e);w=O-1;const W=w===e.length-1;if(UJ(N)){const X=qt(N.templateSpans,(Z,ue)=>{u7e(Z);const ie=ue===N.templateSpans.length-1,se=Z.literal.text+(ie?L:""),V=c7e(Z.literal)+(ie?U:"");return J.createTemplateSpan(Z.expression,W&&ie?J.createTemplateTail(se,V):J.createTemplateMiddle(se,V))});k.push(...X)}else{const X=W?J.createTemplateTail(L,U):J.createTemplateMiddle(L,U);l(M,X),k.push(J.createTemplateSpan(N,X))}}return J.createTemplateExpression(S,k)}function u7e(e){const t=e.getSourceFile();VD(e,e.expression,t,3,!1),R9(e.expression,e.expression,t,3,!1)}function zpt(e){return j_(e)&&(u7e(e),e=e.expression),e}var Yq,Zq,Kq,f7e,_7e,Vpt=p({"src/services/refactors/convertStringOrTemplateLiteral.ts"(){Si(),Xg(),Yq="Convert to template string",Zq=uo(v.Convert_to_template_string),Kq={name:Yq,description:Zq,kind:"refactor.rewrite.string"},Hy(Yq,{kinds:[Kq.kind],getEditsForAction:Rpt,getAvailableActions:Fpt}),f7e=(e,t)=>(n,s)=>{n<e.length&&VD(e[n],s,t,3,!1)},_7e=(e,t,n)=>(s,l)=>{for(;s.length>0;){const f=s.shift();VD(e[f],l,t,3,!1),n(f,l)}}}}),$pt={},qpt=p({"src/services/_namespaces/ts.refactor.convertStringOrTemplateLiteral.ts"(){Vpt()}});function Wpt(e){const t=p7e(e,e.triggerReason==="invoked");return t?Gg(t)?e.preferences.provideRefactorNotApplicableReason?[{name:kL,description:rW,actions:[{...nW,notApplicableReason:t.error}]}]:pt:[{name:kL,description:rW,actions:[nW]}]:pt}function Hpt(e,t){const n=p7e(e);return R.assert(n&&!Gg(n),"Expected applicable refactor info"),{edits:Jn.ChangeTracker.with(e,l=>tdt(e.file,e.program.getTypeChecker(),l,n)),renameFilename:void 0,renameLocation:void 0}}function eW(e){return $n(e)||y4(e)}function Gpt(e){return Gu(e)||Sm(e)||Xl(e)}function tW(e){return eW(e)||Gpt(e)}function p7e(e,t=!0){const{file:n,program:s}=e,l=Ew(e),f=l.length===0;if(f&&!t)return;const d=Os(n,l.start),g=$z(n,l.start+l.length),h=eu(d.pos,g&&g.end>=d.pos?g.getEnd():d.getEnd()),k=f?Kpt(d):Zpt(d,h),S=k&&tW(k)?edt(k):void 0;if(!S)return{error:uo(v.Could_not_find_convertible_access_expression)};const w=s.getTypeChecker();return y4(S)?Xpt(S,w):Qpt(S)}function Xpt(e,t){const n=e.condition,s=dfe(e.whenTrue);if(!s||t.isNullableType(t.getTypeAtLocation(s)))return{error:uo(v.Could_not_find_convertible_access_expression)};if((oi(n)||Ye(n))&&pfe(n,s.expression))return{finalExpression:s,occurrences:[n],expression:e};if($n(n)){const l=d7e(s.expression,n);return l?{finalExpression:s,occurrences:l,expression:e}:{error:uo(v.Could_not_find_matching_access_expressions)}}}function Qpt(e){if(e.operatorToken.kind!==55)return{error:uo(v.Can_only_convert_logical_AND_access_chains)};const t=dfe(e.right);if(!t)return{error:uo(v.Could_not_find_convertible_access_expression)};const n=d7e(t.expression,e.left);return n?{finalExpression:t,occurrences:n,expression:e}:{error:uo(v.Could_not_find_matching_access_expressions)}}function d7e(e,t){const n=[];for(;$n(t)&&t.operatorToken.kind===55;){const l=pfe(xc(e),xc(t.right));if(!l)break;n.push(l),e=l,t=t.left}const s=pfe(e,t);return s&&n.push(s),n.length>0?n:void 0}function pfe(e,t){if(!(!Ye(t)&&!oi(t)&&!qc(t)))return Ypt(e,t)?t:void 0}function Ypt(e,t){for(;(Da(e)||oi(e)||qc(e))&&d8(e)!==d8(t);)e=e.expression;for(;oi(e)&&oi(t)||qc(e)&&qc(t);){if(d8(e)!==d8(t))return!1;e=e.expression,t=t.expression}return Ye(e)&&Ye(t)&&e.getText()===t.getText()}function d8(e){if(Ye(e)||Zp(e))return e.getText();if(oi(e))return d8(e.name);if(qc(e))return d8(e.argumentExpression)}function Zpt(e,t){for(;e.parent;){if(tW(e)&&t.length!==0&&e.end>=t.start+t.length)return e;e=e.parent}}function Kpt(e){for(;e.parent;){if(tW(e)&&!tW(e.parent))return e;e=e.parent}}function edt(e){if(eW(e))return e;if(Xl(e)){const t=U6(e),n=t==null?void 0:t.initializer;return n&&eW(n)?n:void 0}return e.expression&&eW(e.expression)?e.expression:void 0}function dfe(e){if(e=xc(e),$n(e))return dfe(e.left);if((oi(e)||qc(e)||Da(e))&&!cf(e))return e}function m7e(e,t,n){if(oi(t)||qc(t)||Da(t)){const s=m7e(e,t.expression,n),l=n.length>0?n[n.length-1]:void 0,f=(l==null?void 0:l.getText())===t.expression.getText();if(f&&n.pop(),Da(t))return f?J.createCallChain(s,J.createToken(28),t.typeArguments,t.arguments):J.createCallChain(s,t.questionDotToken,t.typeArguments,t.arguments);if(oi(t))return f?J.createPropertyAccessChain(s,J.createToken(28),t.name):J.createPropertyAccessChain(s,t.questionDotToken,t.name);if(qc(t))return f?J.createElementAccessChain(s,J.createToken(28),t.argumentExpression):J.createElementAccessChain(s,t.questionDotToken,t.argumentExpression)}return t}function tdt(e,t,n,s,l){const{finalExpression:f,occurrences:d,expression:g}=s,h=d[d.length-1],k=m7e(t,f,d);k&&(oi(k)||qc(k)||Da(k))&&($n(g)?n.replaceNodeRange(e,h,f,k):y4(g)&&n.replaceNode(e,g,J.createBinaryExpression(k,J.createToken(60),g.whenFalse)))}var kL,rW,nW,rdt=p({"src/services/refactors/convertToOptionalChainExpression.ts"(){Si(),Xg(),kL="Convert to optional chain expression",rW=uo(v.Convert_to_optional_chain_expression),nW={name:kL,description:rW,kind:"refactor.rewrite.expression.optionalChain"},Hy(kL,{kinds:[nW.kind],getEditsForAction:Hpt,getAvailableActions:Wpt})}}),ndt={},idt=p({"src/services/_namespaces/ts.refactor.convertToOptionalChainExpression.ts"(){rdt()}});function h7e(e){const t=e.kind,n=mfe(e.file,Ew(e),e.triggerReason==="invoked"),s=n.targetRange;if(s===void 0){if(!n.errors||n.errors.length===0||!e.preferences.provideRefactorNotApplicableReason)return pt;const L=[];return Mv(Vw.kind,t)&&L.push({name:Uw,description:Vw.description,actions:[{...Vw,notApplicableReason:O(n.errors)}]}),Mv(zw.kind,t)&&L.push({name:Uw,description:zw.description,actions:[{...zw,notApplicableReason:O(n.errors)}]}),L}const l=udt(s,e);if(l===void 0)return pt;const f=[],d=new Map;let g;const h=[],k=new Map;let S,w=0;for(const{functionExtraction:L,constantExtraction:U}of l){if(Mv(Vw.kind,t)){const M=L.description;L.errors.length===0?d.has(M)||(d.set(M,!0),f.push({description:M,name:`function_scope_${w}`,kind:Vw.kind})):g||(g={description:M,name:`function_scope_${w}`,notApplicableReason:O(L.errors),kind:Vw.kind})}if(Mv(zw.kind,t)){const M=U.description;U.errors.length===0?k.has(M)||(k.set(M,!0),h.push({description:M,name:`constant_scope_${w}`,kind:zw.kind})):S||(S={description:M,name:`constant_scope_${w}`,notApplicableReason:O(U.errors),kind:zw.kind})}w++}const N=[];return f.length?N.push({name:Uw,description:uo(v.Extract_function),actions:f}):e.preferences.provideRefactorNotApplicableReason&&g&&N.push({name:Uw,description:uo(v.Extract_function),actions:[g]}),h.length?N.push({name:Uw,description:uo(v.Extract_constant),actions:h}):e.preferences.provideRefactorNotApplicableReason&&S&&N.push({name:Uw,description:uo(v.Extract_constant),actions:[S]}),N.length?N:pt;function O(L){let U=L[0].messageText;return typeof U!="string"&&(U=U.messageText),U}}function g7e(e,t){const s=mfe(e.file,Ew(e)).targetRange,l=/^function_scope_(\d+)$/.exec(t);if(l){const d=+l[1];return R.assert(isFinite(d),"Expected to parse a finite number from the function scope index"),cdt(s,e,d)}const f=/^constant_scope_(\d+)$/.exec(t);if(f){const d=+f[1];return R.assert(isFinite(d),"Expected to parse a finite number from the constant scope index"),ldt(s,e,d)}R.fail("Unrecognized action name")}function mfe(e,t,n=!0){const{length:s}=t;if(s===0&&!n)return{errors:[gu(e,t.start,s,Ou.cannotExtractEmpty)]};const l=s===0&&n,f=B6e(e,t.start),d=$z(e,Wu(t)),g=f&&d&&n?sdt(f,d,e):t,h=l?Ddt(f):I9(f,e,g),k=l?h:I9(d,e,g);let S=0,w;if(!h||!k)return{errors:[gu(e,t.start,s,Ou.cannotExtractRange)]};if(h.flags&8388608)return{errors:[gu(e,t.start,s,Ou.cannotExtractJSDoc)]};if(h.parent!==k.parent)return{errors:[gu(e,t.start,s,Ou.cannotExtractRange)]};if(h!==k){if(!v7e(h.parent))return{errors:[gu(e,t.start,s,Ou.cannotExtractRange)]};const X=[];for(const Z of h.parent.statements){if(Z===h||X.length){const ue=W(Z);if(ue)return{errors:ue};X.push(Z)}if(Z===k)break}return X.length?{targetRange:{range:X,facts:S,thisNode:w}}:{errors:[gu(e,t.start,s,Ou.cannotExtractRange)]}}if(Sm(h)&&!h.expression)return{errors:[gu(e,t.start,s,Ou.cannotExtractRange)]};const N=L(h),O=U(N)||W(N);if(O)return{errors:O};return{targetRange:{range:adt(N),facts:S,thisNode:w}};function L(X){if(Sm(X)){if(X.expression)return X.expression}else if(Xl(X)||Of(X)){const Z=Xl(X)?X.declarationList.declarations:X.declarations;let ue=0,ie;for(const se of Z)se.initializer&&(ue++,ie=se.initializer);if(ue===1)return ie}else if(xs(X)&&X.initializer)return X.initializer;return X}function U(X){if(Ye(Gu(X)?X.expression:X))return[ni(X,Ou.cannotExtractIdentifier)]}function M(X,Z){let ue=X;for(;ue!==Z;){if(ue.kind===169){ba(ue)&&(S|=32);break}else if(ue.kind===166){Pp(ue).kind===173&&(S|=32);break}else ue.kind===171&&ba(ue)&&(S|=32);ue=ue.parent}}function W(X){let Z;if((fe=>{fe[fe.None=0]="None",fe[fe.Break=1]="Break",fe[fe.Continue=2]="Continue",fe[fe.Return=4]="Return"})(Z||(Z={})),R.assert(X.pos<=X.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (1)"),R.assert(!nh(X.pos),"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (2)"),!Ks(X)&&!(Fy(X)&&y7e(X))&&!bfe(X))return[ni(X,Ou.statementOrExpressionExpected)];if(X.flags&16777216)return[ni(X,Ou.cannotExtractAmbientBlock)];const ue=uu(X);ue&&M(X,ue);let ie,se=4,V;if(ve(X),S&8){const fe=y_(X,!1,!1);(fe.kind===259||fe.kind===171&&fe.parent.kind===207||fe.kind===215)&&(S|=16)}return ie;function ve(fe){if(ie)return!0;if(lf(fe)){const _e=fe.kind===257?fe.parent.parent:fe;if(Ti(_e,1))return(ie||(ie=[])).push(ni(fe,Ou.cannotExtractExportedEntity)),!0}switch(fe.kind){case 269:return(ie||(ie=[])).push(ni(fe,Ou.cannotExtractImport)),!0;case 274:return(ie||(ie=[])).push(ni(fe,Ou.cannotExtractExportedEntity)),!0;case 106:if(fe.parent.kind===210){const _e=uu(fe);if(_e===void 0||_e.pos<t.start||_e.end>=t.start+t.length)return(ie||(ie=[])).push(ni(fe,Ou.cannotExtractSuper)),!0}else S|=8,w=fe;break;case 216:ca(fe,function _e(K){if(U4(K))S|=8,w=fe;else{if(Ri(K)||Sa(K)&&!Ac(K))return!1;ca(K,_e)}});case 260:case 259:bs(fe.parent)&&fe.parent.externalModuleIndicator===void 0&&(ie||(ie=[])).push(ni(fe,Ou.functionWillNotBeVisibleInTheNewScope));case 228:case 215:case 171:case 173:case 174:case 175:return!1}const Ce=se;switch(fe.kind){case 242:se&=-5;break;case 255:se=0;break;case 238:fe.parent&&fe.parent.kind===255&&fe.parent.finallyBlock===fe&&(se=4);break;case 293:case 292:se|=1;break;default:fv(fe,!1)&&(se|=3);break}switch(fe.kind){case 194:case 108:S|=8,w=fe;break;case 253:{const _e=fe.label;(V||(V=[])).push(_e.escapedText),ca(fe,ve),V.pop();break}case 249:case 248:{const _e=fe.label;_e?xt(V,_e.escapedText)||(ie||(ie=[])).push(ni(fe,Ou.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):se&(fe.kind===249?1:2)||(ie||(ie=[])).push(ni(fe,Ou.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break}case 220:S|=4;break;case 226:S|=2;break;case 250:se&4?S|=1:(ie||(ie=[])).push(ni(fe,Ou.cannotExtractRangeContainingConditionalReturnStatement));break;default:ca(fe,ve);break}se=Ce}}}function sdt(e,t,n){const s=e.getStart(n);let l=t.getEnd();return n.text.charCodeAt(l)===59&&l++,{start:s,length:l-s}}function adt(e){if(Ks(e))return[e];if(Fy(e))return Gu(e.parent)?[e.parent]:e;if(bfe(e))return e}function hfe(e){return Ac(e)?mK(e.body):Lc(e)||bs(e)||ah(e)||Ri(e)}function odt(e){let t=Gy(e.range)?Uo(e.range):e.range;if(e.facts&8&&!(e.facts&16)){const s=uu(t);if(s){const l=kn(t,Lc);return l?[l,s]:[s]}}const n=[];for(;;)if(t=t.parent,t.kind===166&&(t=kn(t,s=>Lc(s)).parent),hfe(t)&&(n.push(t),t.kind===308))return n}function cdt(e,t,n){const{scopes:s,readsAndWrites:{target:l,usagesPerScope:f,functionErrorsPerScope:d,exposedVariableDeclarations:g}}=gfe(e,t);return R.assert(!d[n].length,"The extraction went missing? How?"),t.cancellationToken.throwIfCancellationRequested(),hdt(l,s[n],f[n],g,e,t)}function ldt(e,t,n){const{scopes:s,readsAndWrites:{target:l,usagesPerScope:f,constantErrorsPerScope:d,exposedVariableDeclarations:g}}=gfe(e,t);R.assert(!d[n].length,"The extraction went missing? How?"),R.assert(g.length===0,"Extract constant accepted a range containing a variable declaration?"),t.cancellationToken.throwIfCancellationRequested();const h=Dt(l)?l:l.statements[0].expression;return gdt(h,s[n],f[n],e.facts,t)}function udt(e,t){const{scopes:n,readsAndWrites:{functionErrorsPerScope:s,constantErrorsPerScope:l}}=gfe(e,t);return n.map((d,g)=>{const h=fdt(d),k=_dt(d),S=Lc(d)?pdt(d):Ri(d)?ddt(d):mdt(d);let w,N;return S===1?(w=jg(uo(v.Extract_to_0_in_1_scope),[h,"global"]),N=jg(uo(v.Extract_to_0_in_1_scope),[k,"global"])):S===0?(w=jg(uo(v.Extract_to_0_in_1_scope),[h,"module"]),N=jg(uo(v.Extract_to_0_in_1_scope),[k,"module"])):(w=jg(uo(v.Extract_to_0_in_1),[h,S]),N=jg(uo(v.Extract_to_0_in_1),[k,S])),g===0&&!Ri(d)&&(N=jg(uo(v.Extract_to_0_in_enclosing_scope),[k])),{functionExtraction:{description:w,errors:s[g]},constantExtraction:{description:N,errors:l[g]}}})}function gfe(e,t){const{file:n}=t,s=odt(e),l=Adt(e,n),f=Pdt(e,s,l,n,t.program.getTypeChecker(),t.cancellationToken);return{scopes:s,readsAndWrites:f}}function fdt(e){return Lc(e)?"inner function":Ri(e)?"method":"function"}function _dt(e){return Ri(e)?"readonly field":"constant"}function pdt(e){switch(e.kind){case 173:return"constructor";case 215:case 259:return e.name?`function '${e.name.text}'`:CV;case 216:return"arrow function";case 171:return`method '${e.name.getText()}'`;case 174:return`'get ${e.name.getText()}'`;case 175:return`'set ${e.name.getText()}'`;default:throw R.assertNever(e,`Unexpected scope kind ${e.kind}`)}}function ddt(e){return e.kind===260?e.name?`class '${e.name.text}'`:"anonymous class declaration":e.name?`class expression '${e.name.text}'`:"anonymous class expression"}function mdt(e){return e.kind===265?`namespace '${e.parent.name.getText()}'`:e.externalModuleIndicator?0:1}function hdt(e,t,{usages:n,typeParameterUsages:s,substitutions:l},f,d,g){const h=g.program.getTypeChecker(),k=Io(g.program.getCompilerOptions()),S=Ff.createImportAdder(g.file,g.program,g.preferences,g.host),w=t.getSourceFile(),N=ik(Ri(t)?"newMethod":"newFunction",w),O=Mn(t),L=J.createIdentifier(N);let U;const M=[],W=[];let X;n.forEach((Je,qe)=>{let st;if(!O){let We=h.getTypeOfSymbolAtLocation(Je.symbol,Je.node);We=h.getBaseTypeOfLiteralType(We),st=Ff.typeToAutoImportableTypeNode(h,S,We,t,k,1)}const Ke=J.createParameterDeclaration(void 0,void 0,qe,void 0,st);M.push(Ke),Je.usage===2&&(X||(X=[])).push(Je),W.push(J.createIdentifier(qe))});const ue=ao(s.values(),Je=>({type:Je,declaration:vdt(Je)})).sort(bdt),ie=ue.length===0?void 0:ue.map(Je=>Je.declaration),se=ie!==void 0?ie.map(Je=>J.createTypeReferenceNode(Je.name,void 0)):void 0;if(Dt(e)&&!O){const Je=h.getContextualType(e);U=h.typeToTypeNode(Je,t,1)}const{body:V,returnValueProperty:ve}=Sdt(e,f,X,l,!!(d.facts&1));V_(V);let fe;const Ce=!!(d.facts&16);if(Ri(t)){const Je=O?[]:[J.createModifier(121)];d.facts&32&&Je.push(J.createModifier(124)),d.facts&4&&Je.push(J.createModifier(132)),fe=J.createMethodDeclaration(Je.length?Je:void 0,d.facts&2?J.createToken(41):void 0,L,void 0,ie,M,U,V)}else Ce&&M.unshift(J.createParameterDeclaration(void 0,void 0,"this",void 0,h.typeToTypeNode(h.getTypeAtLocation(d.thisNode),t,1),void 0)),fe=J.createFunctionDeclaration(d.facts&4?[J.createToken(132)]:void 0,d.facts&2?J.createToken(41):void 0,L,ie,M,U,V);const _e=Jn.ChangeTracker.fromContext(g),K=(Gy(d.range)?ko(d.range):d.range).end,ge=Cdt(K,t);ge?_e.insertNodeBefore(g.file,ge,fe,!0):_e.insertNodeAtEndOfScope(g.file,t,fe),S.writeFixes(_e);const Se=[],we=Tdt(t,d,N);Ce&&W.unshift(J.createIdentifier("this"));let Pe=J.createCallExpression(Ce?J.createPropertyAccessExpression(we,"call"):we,se,W);if(d.facts&2&&(Pe=J.createYieldExpression(J.createToken(41),Pe)),d.facts&4&&(Pe=J.createAwaitExpression(Pe)),vfe(e)&&(Pe=J.createJsxExpression(void 0,Pe)),f.length&&!X)if(R.assert(!ve,"Expected no returnValueProperty"),R.assert(!(d.facts&1),"Expected RangeFacts.HasReturn flag to be unset"),f.length===1){const Je=f[0];Se.push(J.createVariableStatement(void 0,J.createVariableDeclarationList([J.createVariableDeclaration(pl(Je.name),void 0,pl(Je.type),Pe)],Je.parent.flags)))}else{const Je=[],qe=[];let st=f[0].parent.flags,Ke=!1;for(const gt of f){Je.push(J.createBindingElement(void 0,void 0,pl(gt.name)));const jt=h.typeToTypeNode(h.getBaseTypeOfLiteralType(h.getTypeAtLocation(gt)),t,1);qe.push(J.createPropertySignature(void 0,gt.symbol.name,void 0,jt)),Ke=Ke||gt.type!==void 0,st=st&gt.parent.flags}const We=Ke?J.createTypeLiteralNode(qe):void 0;We&&Pn(We,1),Se.push(J.createVariableStatement(void 0,J.createVariableDeclarationList([J.createVariableDeclaration(J.createObjectBindingPattern(Je),void 0,We,Pe)],st)))}else if(f.length||X){if(f.length)for(const qe of f){let st=qe.parent.flags;st&2&&(st=st&-3|1),Se.push(J.createVariableStatement(void 0,J.createVariableDeclarationList([J.createVariableDeclaration(qe.symbol.name,void 0,tt(qe.type))],st)))}ve&&Se.push(J.createVariableStatement(void 0,J.createVariableDeclarationList([J.createVariableDeclaration(ve,void 0,tt(U))],1)));const Je=yfe(f,X);ve&&Je.unshift(J.createShorthandPropertyAssignment(ve)),Je.length===1?(R.assert(!ve,"Shouldn't have returnValueProperty here"),Se.push(J.createExpressionStatement(J.createAssignment(Je[0].name,Pe))),d.facts&1&&Se.push(J.createReturnStatement())):(Se.push(J.createExpressionStatement(J.createAssignment(J.createObjectLiteralExpression(Je),Pe))),ve&&Se.push(J.createReturnStatement(J.createIdentifier(ve))))}else d.facts&1?Se.push(J.createReturnStatement(Pe)):Gy(d.range)?Se.push(J.createExpressionStatement(Pe)):Se.push(Pe);Gy(d.range)?_e.replaceNodeRangeWithNodes(g.file,Uo(d.range),ko(d.range),Se):_e.replaceNodeWithNodes(g.file,d.range,Se);const le=_e.getChanges(),Qe=(Gy(d.range)?Uo(d.range):d.range).getSourceFile().fileName,Ge=F9(le,Qe,N,!1);return{renameFilename:Qe,renameLocation:Ge,edits:le};function tt(Je){if(Je===void 0)return;const qe=pl(Je);let st=qe;for(;aw(st);)st=st.type;return sw(st)&&He(st.types,Ke=>Ke.kind===155)?qe:J.createUnionTypeNode([qe,J.createKeywordTypeNode(155)])}}function gdt(e,t,{substitutions:n},s,l){const f=l.program.getTypeChecker(),d=t.getSourceFile(),g=oi(e)&&!Ri(t)&&!f.resolveName(e.name.text,e,111551,!1)&&!as(e.name)&&!Lb(e.name)?e.name.text:ik(Ri(t)?"newProperty":"newLocal",d),h=Mn(t);let k=h||!f.isContextSensitive(e)?void 0:f.typeToTypeNode(f.getContextualType(e),t,1),S=xdt(xc(e),n);({variableType:k,initializer:S}=U(k,S)),V_(S);const w=Jn.ChangeTracker.fromContext(l);if(Ri(t)){R.assert(!h,"Cannot extract to a JS class");const M=[];M.push(J.createModifier(121)),s&32&&M.push(J.createModifier(124)),M.push(J.createModifier(146));const W=J.createPropertyDeclaration(M,g,void 0,k,S);let X=J.createPropertyAccessExpression(s&32?J.createIdentifier(t.name.getText()):J.createThis(),J.createIdentifier(g));vfe(e)&&(X=J.createJsxExpression(void 0,X));const Z=e.pos,ue=wdt(Z,t);w.insertNodeBefore(l.file,ue,W,!0),w.replaceNode(l.file,e,X)}else{const M=J.createVariableDeclaration(g,void 0,k,S),W=ydt(e,t);if(W){w.insertNodeBefore(l.file,W,M);const X=J.createIdentifier(g);w.replaceNode(l.file,e,X)}else if(e.parent.kind===241&&t===kn(e,hfe)){const X=J.createVariableStatement(void 0,J.createVariableDeclarationList([M],2));w.replaceNode(l.file,e.parent,X)}else{const X=J.createVariableStatement(void 0,J.createVariableDeclarationList([M],2)),Z=Edt(e,t);if(Z.pos===0?w.insertNodeAtTopOfFile(l.file,X,!1):w.insertNodeBefore(l.file,Z,X,!1),e.parent.kind===241)w.delete(l.file,e.parent);else{let ue=J.createIdentifier(g);vfe(e)&&(ue=J.createJsxExpression(void 0,ue)),w.replaceNode(l.file,e,ue)}}}const N=w.getChanges(),O=e.getSourceFile().fileName,L=F9(N,O,g,!0);return{renameFilename:O,renameLocation:L,edits:N};function U(M,W){if(M===void 0)return{variableType:M,initializer:W};if(!yc(W)&&!Ac(W)||W.typeParameters)return{variableType:M,initializer:W};const X=f.getTypeAtLocation(e),Z=Fh(f.getSignaturesOfType(X,0));if(!Z)return{variableType:M,initializer:W};if(Z.getTypeParameters())return{variableType:M,initializer:W};const ue=[];let ie=!1;for(const se of W.parameters)if(se.type)ue.push(se);else{const V=f.getTypeAtLocation(se);V===f.getAnyType()&&(ie=!0),ue.push(J.updateParameterDeclaration(se,se.modifiers,se.dotDotDotToken,se.name,se.questionToken,se.type||f.typeToTypeNode(V,t,1),se.initializer))}if(ie)return{variableType:M,initializer:W};if(M=void 0,Ac(W))W=J.updateArrowFunction(W,Qd(e)?fx(e):void 0,W.typeParameters,ue,W.type||f.typeToTypeNode(Z.getReturnType(),t,1),W.equalsGreaterThanToken,W.body);else{if(Z&&Z.thisParameter){const se=Ru(ue);if(!se||Ye(se.name)&&se.name.escapedText!=="this"){const V=f.getTypeOfSymbolAtLocation(Z.thisParameter,e);ue.splice(0,0,J.createParameterDeclaration(void 0,void 0,"this",void 0,f.typeToTypeNode(V,t,1)))}}W=J.updateFunctionExpression(W,Qd(e)?fx(e):void 0,W.asteriskToken,W.name,W.typeParameters,ue,W.type||f.typeToTypeNode(Z.getReturnType(),t,1),W.body)}return{variableType:M,initializer:W}}}function ydt(e,t){let n;for(;e!==void 0&&e!==t;){if(xs(e)&&e.initializer===n&&Of(e.parent)&&e.parent.declarations.length>1)return e;n=e,e=e.parent}}function vdt(e){let t;const n=e.symbol;if(n&&n.declarations)for(const s of n.declarations)(t===void 0||s.pos<t.pos)&&(t=s);return t}function bdt({type:e,declaration:t},{type:n,declaration:s}){return R1e(t,s,"pos",Cc)||wf(e.symbol?e.symbol.getName():"",n.symbol?n.symbol.getName():"")||Cc(e.id,n.id)}function Tdt(e,t,n){const s=J.createIdentifier(n);if(Ri(e)){const l=t.facts&32?J.createIdentifier(e.name.text):J.createThis();return J.createPropertyAccessExpression(l,s)}else return s}function Sdt(e,t,n,s,l){const f=n!==void 0||t.length>0;if(Fa(e)&&!f&&s.size===0)return{body:J.createBlock(e.statements,!0),returnValueProperty:void 0};let d,g=!1;const h=J.createNodeArray(Fa(e)?e.statements.slice(0):[Ks(e)?e:J.createReturnStatement(xc(e))]);if(f||s.size){const S=hn(h,k,Ks).slice();if(f&&!l&&Ks(e)){const w=yfe(t,n);w.length===1?S.push(J.createReturnStatement(w[0].name)):S.push(J.createReturnStatement(J.createObjectLiteralExpression(w)))}return{body:J.createBlock(S,!0),returnValueProperty:d}}else return{body:J.createBlock(h,!0),returnValueProperty:void 0};function k(S){if(!g&&Sm(S)&&f){const w=yfe(t,n);return S.expression&&(d||(d="__return"),w.unshift(J.createPropertyAssignment(d,yt(S.expression,k,Dt)))),w.length===1?J.createReturnStatement(w[0].name):J.createReturnStatement(J.createObjectLiteralExpression(w))}else{const w=g;g=g||Lc(S)||Ri(S);const N=s.get(Wo(S).toString()),O=N?pl(N):an(S,k,qy);return g=w,O}}}function xdt(e,t){return t.size?n(e):e;function n(s){const l=t.get(Wo(s).toString());return l?pl(l):an(s,n,qy)}}function kdt(e){if(Lc(e)){const t=e.body;if(Fa(t))return t.statements}else{if(ah(e)||bs(e))return e.statements;if(Ri(e))return e.members}return pt}function Cdt(e,t){return He(kdt(t),n=>n.pos>=e&&Lc(n)&&!Al(n))}function wdt(e,t){const n=t.members;R.assert(n.length>0,"Found no members");let s,l=!0;for(const f of n){if(f.pos>e)return s||n[0];if(l&&!Pa(f)){if(s!==void 0)return f;l=!1}s=f}return s===void 0?R.fail():s}function Edt(e,t){R.assert(!Ri(t));let n;for(let s=e;s!==t;s=s.parent)hfe(s)&&(n=s);for(let s=(n||e).parent;;s=s.parent){if(v7e(s)){let l;for(const f of s.statements){if(f.pos>e.pos)break;l=f}return!l&&cD(s)?(R.assert(nO(s.parent.parent),"Grandparent isn't a switch statement"),s.parent.parent):R.checkDefined(l,"prevStatement failed to get set")}R.assert(s!==t,"Didn't encounter a block-like before encountering scope")}}function yfe(e,t){const n=qt(e,l=>J.createShorthandPropertyAssignment(l.symbol.name)),s=qt(t,l=>J.createShorthandPropertyAssignment(l.symbol.name));return n===void 0?s:s===void 0?n:n.concat(s)}function Gy(e){return pa(e)}function Adt(e,t){return Gy(e.range)?{pos:Uo(e.range).getStart(t),end:ko(e.range).getEnd()}:e.range}function Pdt(e,t,n,s,l,f){const d=new Map,g=[],h=[],k=[],S=[],w=[],N=new Map,O=[];let L;const U=Gy(e.range)?e.range.length===1&&Gu(e.range[0])?e.range[0].expression:void 0:e.range;let M;if(U===void 0){const ge=e.range,Se=Uo(ge).getStart(),we=ko(ge).end;M=gu(s,Se,we-Se,Ou.expressionExpected)}else l.getTypeAtLocation(U).flags&147456&&(M=ni(U,Ou.uselessConstantType));for(const ge of t){g.push({usages:new Map,typeParameterUsages:new Map,substitutions:new Map}),h.push(new Map),k.push([]);const Se=[];M&&Se.push(M),Ri(ge)&&Mn(ge)&&Se.push(ni(ge,Ou.cannotExtractToJSClass)),Ac(ge)&&!Fa(ge.body)&&Se.push(ni(ge,Ou.cannotExtractToExpressionArrowFunction)),S.push(Se)}const W=new Map,X=Gy(e.range)?J.createBlock(e.range):e.range,Z=Gy(e.range)?Uo(e.range):e.range,ue=ie(Z);if(V(X),ue&&!Gy(e.range)&&!oh(e.range)){const ge=l.getContextualType(e.range);se(ge)}if(d.size>0){const ge=new Map;let Se=0;for(let we=Z;we!==void 0&&Se<t.length;we=we.parent)if(we===t[Se]&&(ge.forEach((Pe,le)=>{g[Se].typeParameterUsages.set(le,Pe)}),Se++),UK(we))for(const Pe of lv(we)){const le=l.getTypeAtLocation(Pe);d.has(le.id.toString())&&ge.set(le.id.toString(),le)}R.assert(Se===t.length,"Should have iterated all scopes")}if(w.length){const ge=JK(t[0],t[0].parent)?t[0]:Hh(t[0]);ca(ge,Ce)}for(let ge=0;ge<t.length;ge++){const Se=g[ge];if(ge>0&&(Se.usages.size>0||Se.typeParameterUsages.size>0)){const le=Gy(e.range)?e.range[0]:e.range;S[ge].push(ni(le,Ou.cannotAccessVariablesFromNestedScopes))}e.facts&16&&Ri(t[ge])&&k[ge].push(ni(e.thisNode,Ou.cannotExtractFunctionsContainingThisToMethod));let we=!1,Pe;if(g[ge].usages.forEach(le=>{le.usage===2&&(we=!0,le.symbol.flags&106500&&le.symbol.valueDeclaration&&R_(le.symbol.valueDeclaration,64)&&(Pe=le.symbol.valueDeclaration))}),R.assert(Gy(e.range)||O.length===0,"No variable declarations expected if something was extracted"),we&&!Gy(e.range)){const le=ni(e.range,Ou.cannotWriteInExpression);k[ge].push(le),S[ge].push(le)}else if(Pe&&ge>0){const le=ni(Pe,Ou.cannotExtractReadonlyPropertyInitializerOutsideConstructor);k[ge].push(le),S[ge].push(le)}else if(L){const le=ni(L,Ou.cannotExtractExportedEntity);k[ge].push(le),S[ge].push(le)}}return{target:X,usagesPerScope:g,functionErrorsPerScope:k,constantErrorsPerScope:S,exposedVariableDeclarations:O};function ie(ge){return!!kn(ge,Se=>UK(Se)&&lv(Se).length!==0)}function se(ge){const Se=l.getSymbolWalker(()=>(f.throwIfCancellationRequested(),!0)),{visitedTypes:we}=Se.walkType(ge);for(const Pe of we)Pe.isTypeParameter()&&d.set(Pe.id.toString(),Pe)}function V(ge,Se=1){if(ue){const we=l.getTypeAtLocation(ge);se(we)}if(lf(ge)&&ge.symbol&&w.push(ge),Xf(ge))V(ge.left,2),V(ge.right);else if(wbe(ge))V(ge.operand,2);else if(oi(ge)||qc(ge))ca(ge,V);else if(Ye(ge)){if(!ge.parent||T_(ge.parent)&&ge!==ge.parent.left||oi(ge.parent)&&ge!==ge.parent.expression)return;ve(ge,Se,Mg(ge))}else ca(ge,V)}function ve(ge,Se,we){const Pe=fe(ge,Se,we);if(Pe)for(let le=0;le<t.length;le++){const ot=h[le].get(Pe);ot&&g[le].substitutions.set(Wo(ge).toString(),ot)}}function fe(ge,Se,we){const Pe=_e(ge);if(!Pe)return;const le=Ha(Pe).toString(),ot=W.get(le);if(ot&&ot>=Se)return le;if(W.set(le,Se),ot){for(const tt of g)tt.usages.get(ge.text)&&tt.usages.set(ge.text,{usage:Se,symbol:Pe,node:ge});return le}const Qe=Pe.getDeclarations(),Ge=Qe&&He(Qe,tt=>tt.getSourceFile()===s);if(Ge&&!S9(n,Ge.getStart(),Ge.end)){if(e.facts&2&&Se===2){const tt=ni(ge,Ou.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators);for(const Je of k)Je.push(tt);for(const Je of S)Je.push(tt)}for(let tt=0;tt<t.length;tt++){const Je=t[tt];if(l.resolveName(Pe.name,Je,Pe.flags,!1)!==Pe&&!h[tt].has(le)){const st=K(Pe.exportSymbol||Pe,Je,we);if(st)h[tt].set(le,st);else if(we){if(!(Pe.flags&262144)){const Ke=ni(ge,Ou.typeWillNotBeVisibleInTheNewScope);k[tt].push(Ke),S[tt].push(Ke)}}else g[tt].usages.set(ge.text,{usage:Se,symbol:Pe,node:ge})}}return le}}function Ce(ge){if(ge===e.range||Gy(e.range)&&e.range.indexOf(ge)>=0)return;const Se=Ye(ge)?_e(ge):l.getSymbolAtLocation(ge);if(Se){const we=He(w,Pe=>Pe.symbol===Se);if(we)if(xs(we)){const Pe=we.symbol.id.toString();N.has(Pe)||(O.push(we),N.set(Pe,!0))}else L=L||we}ca(ge,Ce)}function _e(ge){return ge.parent&&id(ge.parent)&&ge.parent.name===ge?l.getShorthandAssignmentValueSymbol(ge.parent):l.getSymbolAtLocation(ge)}function K(ge,Se,we){if(!ge)return;const Pe=ge.getDeclarations();if(Pe&&Pe.some(ot=>ot.parent===Se))return J.createIdentifier(ge.name);const le=K(ge.parent,Se,we);if(le!==void 0)return we?J.createQualifiedName(le,J.createIdentifier(ge.name)):J.createPropertyAccessExpression(le,ge.name)}}function Ddt(e){return kn(e,t=>t.parent&&y7e(t)&&!$n(t.parent))}function y7e(e){const{parent:t}=e;switch(t.kind){case 302:return!1}switch(e.kind){case 10:return t.kind!==269&&t.kind!==273;case 227:case 203:case 205:return!1;case 79:return t.kind!==205&&t.kind!==273&&t.kind!==278}return!0}function v7e(e){switch(e.kind){case 238:case 308:case 265:case 292:return!0;default:return!1}}function vfe(e){return bfe(e)||(s1(e)||_w(e)||dw(e))&&(s1(e.parent)||dw(e.parent))}function bfe(e){return yo(e)&&e.parent&&oh(e.parent)}var Uw,zw,Vw,Ou,Tfe,Ndt=p({"src/services/refactors/extractSymbol.ts"(){Si(),Xg(),Uw="Extract Symbol",zw={name:"Extract Constant",description:uo(v.Extract_constant),kind:"refactor.extract.constant"},Vw={name:"Extract Function",description:uo(v.Extract_function),kind:"refactor.extract.function"},Hy(Uw,{kinds:[zw.kind,Vw.kind],getEditsForAction:g7e,getAvailableActions:h7e}),(e=>{function t(n){return{message:n,code:0,category:3,key:n}}e.cannotExtractRange=t("Cannot extract range."),e.cannotExtractImport=t("Cannot extract import statement."),e.cannotExtractSuper=t("Cannot extract super call."),e.cannotExtractJSDoc=t("Cannot extract JSDoc."),e.cannotExtractEmpty=t("Cannot extract empty range."),e.expressionExpected=t("expression expected."),e.uselessConstantType=t("No reason to extract constant of type."),e.statementOrExpressionExpected=t("Statement or expression expected."),e.cannotExtractRangeContainingConditionalBreakOrContinueStatements=t("Cannot extract range containing conditional break or continue statements."),e.cannotExtractRangeContainingConditionalReturnStatement=t("Cannot extract range containing conditional return statement."),e.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange=t("Cannot extract range containing labeled break or continue with target outside of the range."),e.cannotExtractRangeThatContainsWritesToReferencesLocatedOutsideOfTheTargetRangeInGenerators=t("Cannot extract range containing writes to references located outside of the target range in generators."),e.typeWillNotBeVisibleInTheNewScope=t("Type will not visible in the new scope."),e.functionWillNotBeVisibleInTheNewScope=t("Function will not visible in the new scope."),e.cannotExtractIdentifier=t("Select more than a single identifier."),e.cannotExtractExportedEntity=t("Cannot extract exported declaration"),e.cannotWriteInExpression=t("Cannot write back side-effects when extracting an expression"),e.cannotExtractReadonlyPropertyInitializerOutsideConstructor=t("Cannot move initialization of read-only class property outside of the constructor"),e.cannotExtractAmbientBlock=t("Cannot extract code from ambient contexts"),e.cannotAccessVariablesFromNestedScopes=t("Cannot access variables from nested scopes"),e.cannotExtractToJSClass=t("Cannot extract constant to a class scope in JS"),e.cannotExtractToExpressionArrowFunction=t("Cannot extract constant to an arrow function without a block"),e.cannotExtractFunctionsContainingThisToMethod=t("Cannot extract functions containing this to method")})(Ou||(Ou={})),Tfe=(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.UsesThisInFunction=16]="UsesThisInFunction",e[e.InStaticRegion=32]="InStaticRegion",e))(Tfe||{})}}),b7e={};T(b7e,{Messages:()=>Ou,RangeFacts:()=>Tfe,getRangeToExtract:()=>mfe,getRefactorActionsToExtractSymbol:()=>h7e,getRefactorEditsToExtractSymbol:()=>g7e});var Idt=p({"src/services/_namespaces/ts.refactor.extractSymbol.ts"(){Ndt()}}),CL,iW,sW,Odt=p({"src/services/refactors/generateGetAccessorAndSetAccessor.ts"(){Si(),Xg(),CL="Generate 'get' and 'set' accessors",iW=v.Generate_get_and_set_accessors.message,sW={name:CL,description:iW,kind:"refactor.rewrite.property.generateAccessors"},Hy(CL,{kinds:[sW.kind],getEditsForAction:function(t,n){if(!t.endPosition)return;const s=Ff.getAccessorConvertiblePropertyAtPosition(t.file,t.program,t.startPosition,t.endPosition);R.assert(s&&!Gg(s),"Expected applicable refactor info");const l=Ff.generateAccessorFromProperty(t.file,t.program,t.startPosition,t.endPosition,t,n);if(!l)return;const f=t.file.fileName,d=s.renameAccessor?s.accessorName:s.fieldName,h=(Ye(d)?0:-1)+F9(l,f,d.text,ua(s.declaration));return{renameFilename:f,renameLocation:h,edits:l}},getAvailableActions(e){if(!e.endPosition)return pt;const t=Ff.getAccessorConvertiblePropertyAtPosition(e.file,e.program,e.startPosition,e.endPosition,e.triggerReason==="invoked");return t?Gg(t)?e.preferences.provideRefactorNotApplicableReason?[{name:CL,description:iW,actions:[{...sW,notApplicableReason:t.error}]}]:pt:[{name:CL,description:iW,actions:[sW]}]:pt}})}}),Ldt={},Mdt=p({"src/services/_namespaces/ts.refactor.generateGetAccessorAndSetAccessor.ts"(){Odt()}});function Fdt(e){const t=T7e(e);if(t&&!Gg(t))return{renameFilename:void 0,renameLocation:void 0,edits:Jn.ChangeTracker.with(e,s=>Bdt(e.file,s,t.declaration,t.returnTypeNode))}}function Rdt(e){const t=T7e(e);return t?Gg(t)?e.preferences.provideRefactorNotApplicableReason?[{name:wL,description:aW,actions:[{...EL,notApplicableReason:t.error}]}]:pt:[{name:wL,description:aW,actions:[EL]}]:pt}function Bdt(e,t,n,s){const l=Yo(n,21,e),f=Ac(n)&&l===void 0,d=f?Uo(n.parameters):l;d&&(f&&(t.insertNodeBefore(e,d,J.createToken(20)),t.insertNodeAfter(e,d,J.createToken(21))),t.insertNodeAt(e,d.end,s,{prefix:": "}))}function T7e(e){if(Mn(e.file)||!Mv(EL.kind,e.kind))return;const t=Os(e.file,e.startPosition),n=kn(t,d=>Fa(d)||d.parent&&Ac(d.parent)&&(d.kind===38||d.parent.body===d)?"quit":jdt(d));if(!n||!n.body||n.type)return{error:uo(v.Return_type_must_be_inferred_from_a_function)};const s=e.program.getTypeChecker(),l=Jdt(s,n);if(!l)return{error:uo(v.Could_not_determine_function_return_type)};const f=s.typeToTypeNode(l,n,1);if(f)return{declaration:n,returnTypeNode:f}}function jdt(e){switch(e.kind){case 259:case 215:case 216:case 171:return!0;default:return!1}}function Jdt(e,t){if(e.isImplementationOfOverload(t)){const s=e.getTypeAtLocation(t).getCallSignatures();if(s.length>1)return e.getUnionType(fr(s,l=>l.getReturnType()))}const n=e.getSignatureFromDeclaration(t);if(n)return e.getReturnTypeOfSignature(n)}var wL,aW,EL,Udt=p({"src/services/refactors/inferFunctionReturnType.ts"(){Si(),Xg(),wL="Infer function return type",aW=v.Infer_function_return_type.message,EL={name:wL,description:aW,kind:"refactor.rewrite.function.returnType"},Hy(wL,{kinds:[EL.kind],getEditsForAction:Fdt,getAvailableActions:Rdt})}}),zdt={},Vdt=p({"src/services/_namespaces/ts.refactor.inferFunctionReturnType.ts"(){Udt()}}),m8={};T(m8,{addOrRemoveBracesToArrowFunction:()=>npt,convertArrowFunctionOrFunctionExpression:()=>mpt,convertParamsToDestructuredObject:()=>Lpt,convertStringOrTemplateLiteral:()=>$pt,convertToOptionalChainExpression:()=>ndt,doChangeNamedToNamespaceOrDefault:()=>wIe,extractSymbol:()=>b7e,generateGetAccessorAndSetAccessor:()=>Ldt,getApplicableRefactors:()=>e_t,getEditsForRefactor:()=>t_t,inferFunctionReturnType:()=>zdt,isRefactorErrorInfo:()=>Gg,refactorKindBeginsWith:()=>Mv,registerRefactor:()=>Hy});var Xg=p({"src/services/_namespaces/ts.refactor.ts"(){r_t(),l_t(),d_t(),b_t(),T_t(),Q_t(),ipt(),hpt(),Mpt(),qpt(),idt(),Idt(),Mdt(),Vdt()}});function $dt(e,t,n,s){const l=Vz(Lp(t,n));if(x7e(l)){const f=qdt(l,e.getTypeChecker(),t,e,s);if(f)return f}return oW(v.You_cannot_rename_this_element)}function qdt(e,t,n,s,l){const f=t.getSymbolAtLocation(e);if(!f){if(sc(e)){const N=zz(e,t);if(N&&(N.flags&128||N.flags&1048576&&ut(N.types,O=>!!(O.flags&128))))return Sfe(e.text,e.text,"string","",e,n)}else if(lae(e)){const N=lu(e);return Sfe(N,N,"label","",e,n)}return}const{declarations:d}=f;if(!d||d.length===0)return;if(d.some(N=>Wdt(s,N)))return oW(v.You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library);if(Ye(e)&&e.escapedText==="default"&&f.parent&&f.parent.flags&1536)return;if(sc(e)&&X7(e))return l.allowRenameOfImportPath?Gdt(e,n,f):void 0;const g=Hdt(n,f,t,l);if(g)return oW(g);const h=p1.getSymbolKind(t,f,e),k=u4e(e)||Zp(e)&&e.parent.kind===164?$d(Vd(e)):void 0,S=k||t.symbolToString(f),w=k||t.getFullyQualifiedName(f);return Sfe(S,w,h,p1.getSymbolModifiers(t,f),e,n)}function Wdt(e,t){const n=t.getSourceFile();return e.isSourceFileDefaultLibrary(n)&&Gl(n.fileName,".d.ts")}function Hdt(e,t,n,s){if(!s.providePrefixAndSuffixTextForRename&&t.flags&2097152){const d=t.declarations&&He(t.declarations,g=>S_(g));d&&!d.propertyName&&(t=n.getAliasedSymbol(t))}const{declarations:l}=t;if(!l)return;const f=S7e(e.path);if(f===void 0)return Oe(l,d=>S4e(d.getSourceFile().path))?v.You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder:void 0;for(const d of l){const g=S7e(d.getSourceFile().path);if(g){const h=Math.min(f.length,g.length);for(let k=0;k<=h;k++)if(wf(f[k],g[k])!==0)return v.You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder}}}function S7e(e){const t=t_(e),n=t.lastIndexOf("node_modules");if(n!==-1)return t.slice(0,n+2)}function Gdt(e,t,n){if(!wu(e.text))return oW(v.You_cannot_rename_a_module_via_a_global_import);const s=n.declarations&&He(n.declarations,bs);if(!s)return;const l=Ul(e.text,"/index")||Ul(e.text,"/index.js")?void 0:B1e(B_(s.fileName),"/index"),f=l===void 0?s.fileName:l,d=l===void 0?"module":"directory",g=e.text.lastIndexOf("/")+1,h=hu(e.getStart(t)+1+g,e.text.length-g);return{canRename:!0,fileToRename:f,kind:d,displayName:f,fullDisplayName:f,kindModifiers:"",triggerSpan:h}}function Sfe(e,t,n,s,l,f){return{canRename:!0,fileToRename:void 0,kind:n,displayName:e,fullDisplayName:t,kindModifiers:s,triggerSpan:Xdt(l,f)}}function oW(e){return{canRename:!1,localizedErrorMessage:uo(e)}}function Xdt(e,t){let n=e.getStart(t),s=e.getWidth(t);return sc(e)&&(n+=1,s-=2),hu(n,s)}function x7e(e){switch(e.kind){case 79:case 80:case 10:case 14:case 108:return!0;case 8:return Bz(e);default:return!1}}var Qdt=p({"src/services/rename.ts"(){Si()}}),cW={};T(cW,{getRenameInfo:()=>$dt,nodeIsEligibleForRename:()=>x7e});var Ydt=p({"src/services/_namespaces/ts.Rename.ts"(){Qdt()}});function Zdt(e,t,n,s,l){const f=e.getTypeChecker(),d=$z(t,n);if(!d)return;const g=!!s&&s.kind==="characterTyped";if(g&&(rk(t,n,d)||l1(t,n)))return;const h=!!s&&s.kind==="invoked",k=pmt(d,n,t,f,h);if(!k)return;l.throwIfCancellationRequested();const S=Kdt(k,f,t,d,g);return l.throwIfCancellationRequested(),S?f.runWithCancellationToken(l,w=>S.kind===0?D7e(S.candidates,S.resolvedSignature,k,t,w):mmt(S.symbol,k,t,w)):Gf(t)?tmt(k,e,l):void 0}function Kdt({invocation:e,argumentCount:t},n,s,l,f){switch(e.kind){case 0:{if(f&&!emt(l,e.node,s))return;const d=[],g=n.getResolvedSignatureForSignatureHelp(e.node,d,t);return d.length===0?void 0:{kind:0,candidates:d,resolvedSignature:g}}case 1:{const{called:d}=e;if(f&&!k7e(l,s,Ye(d)?d.parent:d))return;const g=Tae(d,t,n);if(g.length!==0)return{kind:0,candidates:g,resolvedSignature:Uo(g)};const h=n.getSymbolAtLocation(d);return h&&{kind:1,symbol:h}}case 2:return{kind:0,candidates:[e.signature],resolvedSignature:e.signature};default:return R.assertNever(e)}}function emt(e,t,n){if(!Oy(t))return!1;const s=t.getChildren(n);switch(e.kind){case 20:return xt(s,e);case 27:{const l=Uz(e);return!!l&&xt(s,l)}case 29:return k7e(e,n,t.expression);default:return!1}}function tmt(e,t,n){if(e.invocation.kind===2)return;const s=A7e(e.invocation),l=oi(s)?s.name.text:void 0,f=t.getTypeChecker();return l===void 0?void 0:ze(t.getSourceFiles(),d=>ze(d.getNamedDeclarations().get(l),g=>{const h=g.symbol&&f.getTypeOfSymbolAtLocation(g.symbol,g),k=h&&h.getCallSignatures();if(k&&k.length)return f.runWithCancellationToken(n,S=>D7e(k,k[0],e,d,S,!0))}))}function k7e(e,t,n){const s=e.getFullStart();let l=e.parent;for(;l;){const f=fu(s,t,l,!0);if(f)return pp(n,f);l=l.parent}return R.fail("Could not find preceding token")}function rmt(e,t,n){const s=w7e(e,t,n);return!s||s.isTypeParameterList||s.invocation.kind!==0?void 0:{invocation:s.invocation.node,argumentCount:s.argumentCount,argumentIndex:s.argumentIndex}}function C7e(e,t,n){const s=nmt(e,n);if(!s)return;const{list:l,argumentIndex:f}=s,d=lmt(l,rk(n,t,e));f!==0&&R.assertLessThan(f,d);const g=fmt(l,n);return{list:l,argumentIndex:f,argumentCount:d,argumentsSpan:g}}function nmt(e,t){if(e.kind===29||e.kind===20)return{list:dmt(e.parent,e,t),argumentIndex:0};{const n=Uz(e);return n&&{list:n,argumentIndex:cmt(n,e)}}}function w7e(e,t,n){const{parent:s}=e;if(Oy(s)){const l=s,f=C7e(e,t,n);if(!f)return;const{list:d,argumentIndex:g,argumentCount:h,argumentsSpan:k}=f;return{isTypeParameterList:!!s.typeArguments&&s.typeArguments.pos===d.pos,invocation:{kind:0,node:l},argumentsSpan:k,argumentIndex:g,argumentCount:h}}else{if(rw(e)&&Mx(s))return w9(e,t,n)?kfe(s,0,n):void 0;if(u4(e)&&s.parent.kind===212){const l=s,f=l.parent;R.assert(l.kind===225);const d=w9(e,t,n)?0:1;return kfe(f,d,n)}else if(aD(s)&&Mx(s.parent.parent)){const l=s,f=s.parent.parent;if(Kte(e)&&!w9(e,t,n))return;const d=l.parent.templateSpans.indexOf(l),g=umt(d,e,t,n);return kfe(f,g,n)}else if(Hf(s)){const l=s.attributes.pos,f=wo(n.text,s.attributes.end,!1);return{isTypeParameterList:!1,invocation:{kind:0,node:s},argumentsSpan:hu(l,f-l),argumentIndex:0,argumentCount:1}}else{const l=Sae(e,n);if(l){const{called:f,nTypeArguments:d}=l,g={kind:1,called:f},h=eu(f.getStart(n),e.end);return{isTypeParameterList:!0,invocation:g,argumentsSpan:h,argumentIndex:d,argumentCount:d+1}}return}}}function imt(e,t,n,s){return smt(e,t,n,s)||w7e(e,t,n)}function E7e(e){return $n(e.parent)?E7e(e.parent):e}function xfe(e){return $n(e.left)?xfe(e.left)+1:2}function smt(e,t,n,s){const l=amt(e,n,t,s);if(!l)return;const{contextualType:f,argumentIndex:d,argumentCount:g,argumentsSpan:h}=l,k=f.getNonNullableType(),S=k.symbol;if(S===void 0)return;const w=Rc(k.getCallSignatures());return w===void 0?void 0:{isTypeParameterList:!1,invocation:{kind:2,signature:w,node:e,symbol:omt(S)},argumentsSpan:h,argumentIndex:d,argumentCount:g}}function amt(e,t,n,s){if(e.kind!==20&&e.kind!==27)return;const{parent:l}=e;switch(l.kind){case 214:case 171:case 215:case 216:const f=C7e(e,n,t);if(!f)return;const{argumentIndex:d,argumentCount:g,argumentsSpan:h}=f,k=zl(l)?s.getContextualTypeForObjectLiteralElement(l):s.getContextualType(l);return k&&{contextualType:k,argumentIndex:d,argumentCount:g,argumentsSpan:h};case 223:{const S=E7e(l),w=s.getContextualType(S),N=e.kind===20?0:xfe(l)-1,O=xfe(S);return w&&{contextualType:w,argumentIndex:N,argumentCount:O,argumentsSpan:Zf(l)}}default:return}}function omt(e){return e.name==="__type"&&ze(e.declarations,t=>{var n;return Vg(t)?(n=Pi(t.parent,Vh))==null?void 0:n.symbol:void 0})||e}function cmt(e,t){let n=0;for(const s of e.getChildren()){if(s===t)break;s.kind!==27&&n++}return n}function lmt(e,t){const n=e.getChildren();let s=An(n,l=>l.kind!==27);return!t&&n.length>0&&ko(n).kind===27&&s++,s}function umt(e,t,n,s){return R.assert(n>=t.getStart(),"Assumed 'position' could not occur before node."),dbe(t)?w9(t,n,s)?0:e+2:e+1}function kfe(e,t,n){const s=rw(e.template)?1:e.template.templateSpans.length+1;return t!==0&&R.assertLessThan(t,s),{isTypeParameterList:!1,invocation:{kind:0,node:e},argumentsSpan:_mt(e,n),argumentIndex:t,argumentCount:s}}function fmt(e,t){const n=e.getFullStart(),s=wo(t.text,e.getEnd(),!1);return hu(n,s-n)}function _mt(e,t){const n=e.template,s=n.getStart();let l=n.getEnd();return n.kind===225&&ko(n.templateSpans).literal.getFullWidth()===0&&(l=wo(t.text,l,!1)),hu(s,l-s)}function pmt(e,t,n,s,l){for(let f=e;!bs(f)&&(l||!Fa(f));f=f.parent){R.assert(pp(f.parent,f),"Not a subspan",()=>`Child: ${R.formatSyntaxKind(f.kind)}, parent: ${R.formatSyntaxKind(f.parent.kind)}`);const d=imt(f,t,n,s);if(d)return d}}function dmt(e,t,n){const s=e.getChildren(n),l=s.indexOf(t);return R.assert(l>=0&&s.length>l+1),s[l+1]}function A7e(e){return e.kind===0?uj(e.node):e.called}function P7e(e){return e.kind===0?e.node:e.kind===1?e.called:e.node}function D7e(e,t,{isTypeParameterList:n,argumentCount:s,argumentsSpan:l,invocation:f,argumentIndex:d},g,h,k){var S;const w=P7e(f),N=f.kind===2?f.symbol:h.getSymbolAtLocation(A7e(f))||k&&((S=t.declaration)==null?void 0:S.symbol),O=N?zD(h,N,k?g:void 0,void 0):pt,L=qt(e,Z=>gmt(Z,O,n,h,w,g));d!==0&&R.assertLessThan(d,s);let U=0,M=0;for(let Z=0;Z<L.length;Z++){const ue=L[Z];if(e[Z]===t&&(U=M,ue.length>1)){let ie=0;for(const se of ue){if(se.isVariadic||se.parameters.length>=s){U=M+ie;break}ie++}}M+=ue.length}R.assert(U!==-1);const W={items:Tn(L,Zc),applicableSpan:l,selectedItemIndex:U,argumentIndex:d,argumentCount:s},X=W.items[U];if(X.isVariadic){const Z=ar(X.parameters,ue=>!!ue.isRest);-1<Z&&Z<X.parameters.length-1?W.argumentIndex=X.parameters.length:W.argumentIndex=Math.min(W.argumentIndex,X.parameters.length-1)}return W}function mmt(e,{argumentCount:t,argumentsSpan:n,invocation:s,argumentIndex:l},f,d){const g=d.getLocalTypeParametersOfClassOrInterfaceOrTypeAlias(e);return g?{items:[hmt(e,g,d,P7e(s),f)],applicableSpan:n,selectedItemIndex:0,argumentIndex:l,argumentCount:t}:void 0}function hmt(e,t,n,s,l){const f=zD(n,e),d=VT(),g=t.map(w=>N7e(w,n,s,l,d)),h=e.getDocumentationComment(n),k=e.getJsDocTags(n);return{isVariadic:!1,prefixDisplayParts:[...f,_f(29)],suffixDisplayParts:[_f(31)],separatorDisplayParts:Cfe,parameters:g,documentation:h,tags:k}}function gmt(e,t,n,s,l,f){const d=(n?vmt:bmt)(e,s,l,f);return qt(d,({isVariadic:g,parameters:h,prefix:k,suffix:S})=>{const w=[...t,...k],N=[...S,...ymt(e,l,s)],O=e.getDocumentationComment(s),L=e.getJsDocTags();return{isVariadic:g,prefixDisplayParts:w,suffixDisplayParts:N,separatorDisplayParts:Cfe,parameters:h,documentation:O,tags:L}})}function ymt(e,t,n){return Nv(s=>{s.writePunctuation(":"),s.writeSpace(" ");const l=n.getTypePredicateOfSignature(e);l?n.writeTypePredicate(l,t,void 0,s):n.writeType(n.getReturnTypeOfSignature(e),t,void 0,s)})}function vmt(e,t,n,s){const l=(e.target||e).typeParameters,f=VT(),d=(l||pt).map(h=>N7e(h,t,n,s,f)),g=e.thisParameter?[t.symbolToParameterDeclaration(e.thisParameter,n,h8)]:[];return t.getExpandedParameters(e).map(h=>{const k=J.createNodeArray([...g,...qt(h,w=>t.symbolToParameterDeclaration(w,n,h8))]),S=Nv(w=>{f.writeList(2576,k,s,w)});return{isVariadic:!1,parameters:d,prefix:[_f(29)],suffix:[_f(31),...S]}})}function bmt(e,t,n,s){const l=VT(),f=Nv(h=>{if(e.typeParameters&&e.typeParameters.length){const k=J.createNodeArray(e.typeParameters.map(S=>t.typeParameterToDeclaration(S,n,h8)));l.writeList(53776,k,s,h)}}),d=t.getExpandedParameters(e),g=t.hasEffectiveRestParameter(e)?d.length===1?h=>!0:h=>{var k;return!!(h.length&&((k=Pi(h[h.length-1],qh))==null?void 0:k.links.checkFlags)&32768)}:h=>!1;return d.map(h=>({isVariadic:g(h),parameters:h.map(k=>Tmt(k,t,n,s,l)),prefix:[...f,_f(20)],suffix:[_f(21)]}))}function Tmt(e,t,n,s,l){const f=Nv(h=>{const k=t.symbolToParameterDeclaration(e,n,h8);l.writeNode(4,k,s,h)}),d=t.isOptionalParameter(e.valueDeclaration),g=qh(e)&&!!(e.links.checkFlags&32768);return{name:e.name,documentation:e.getDocumentationComment(t),displayParts:f,isOptional:d,isRest:g}}function N7e(e,t,n,s,l){const f=Nv(d=>{const g=t.typeParameterToDeclaration(e,n,h8);l.writeNode(4,g,s,d)});return{name:e.symbol.name,documentation:e.symbol.getDocumentationComment(t),displayParts:f,isOptional:!1,isRest:!1}}var h8,Cfe,Smt=p({"src/services/signatureHelp.ts"(){Si(),h8=70246400,Cfe=[_f(27),nl()]}}),AL={};T(AL,{getArgumentInfoForCompletions:()=>rmt,getSignatureHelpItems:()=>Zdt});var xmt=p({"src/services/_namespaces/ts.SignatureHelp.ts"(){Smt()}});function kmt(e,t){var n,s;let l={textSpan:eu(t.getFullStart(),t.getEnd())},f=t;e:for(;;){const h=wmt(f);if(!h.length)break;for(let k=0;k<h.length;k++){const S=h[k-1],w=h[k],N=h[k+1];if(yx(w,t,!0)>e)break e;const O=Fh(Ib(t.text,w.end));if(O&&O.kind===2&&g(O.pos,O.end),Cmt(t,e,w)){if(mK(w)&&Lc(f)&&!vd(w.getStart(t),w.getEnd(),t)&&d(w.getStart(t),w.getEnd()),Fa(w)||aD(w)||u4(w)||Kte(w)||S&&u4(S)||Of(w)&&Xl(f)||x4(w)&&Of(f)||xs(w)&&x4(f)&&h.length===1||Jx(w)||MT(w)||uD(w)){f=w;break}if(aD(f)&&N&&MB(N)){const W=w.getFullStart()-2,X=N.getStart()+1;d(W,X)}const L=x4(w)&&Emt(S)&&Amt(N)&&!vd(S.getStart(),N.getStart(),t);let U=L?S.getEnd():w.getStart();const M=L?N.getStart():Pmt(t,w);if(Ep(w)&&((n=w.jsDoc)!=null&&n.length)&&d(Uo(w.jsDoc).getStart(),M),x4(w)){const W=w.getChildren()[0];W&&Ep(W)&&((s=W.jsDoc)!=null&&s.length)&&W.getStart()!==w.pos&&(U=Math.min(U,Uo(W.jsDoc).getStart()))}d(U,M),(yo(w)||x6(w))&&d(U+1,M-1),f=w;break}if(k===h.length-1)break e}}return l;function d(h,k){if(h!==k){const S=eu(h,k);(!l||!$4(S,l.textSpan)&&qve(S,e))&&(l={textSpan:S,...l&&{parent:l}})}}function g(h,k){d(h,k);let S=h;for(;t.text.charCodeAt(S)===47;)S++;d(S,k)}}function Cmt(e,t,n){return R.assert(n.pos<=t),t<n.end?!0:n.getEnd()===t?Lp(e,t).pos<n.end:!1}function wmt(e){var t;if(bs(e))return g8(e.getChildAt(0).getChildren(),I7e);if(nD(e)){const[n,...s]=e.getChildren(),l=R.checkDefined(s.pop());R.assertEqual(n.kind,18),R.assertEqual(l.kind,19);const f=g8(s,g=>g===e.readonlyToken||g.kind===146||g===e.questionToken||g.kind===57),d=g8(f,({kind:g})=>g===22||g===165||g===23);return[n,y8(lW(d,({kind:g})=>g===58)),l]}if(Np(e)){const n=g8(e.getChildren(),d=>d===e.name||xt(e.modifiers,d)),s=((t=n[0])==null?void 0:t.kind)===323?n[0]:void 0,l=s?n.slice(1):n,f=lW(l,({kind:d})=>d===58);return s?[s,y8(f)]:f}if(ua(e)){const n=g8(e.getChildren(),l=>l===e.dotDotDotToken||l===e.name),s=g8(n,l=>l===n[0]||l===e.questionToken);return lW(s,({kind:l})=>l===63)}return qo(e)?lW(e.getChildren(),({kind:n})=>n===63):e.getChildren()}function g8(e,t){const n=[];let s;for(const l of e)t(l)?(s=s||[],s.push(l)):(s&&(n.push(y8(s)),s=void 0),n.push(l));return s&&n.push(y8(s)),n}function lW(e,t,n=!0){if(e.length<2)return e;const s=ar(e,t);if(s===-1)return e;const l=e.slice(0,s),f=e[s],d=ko(e),g=n&&d.kind===26,h=e.slice(s+1,g?e.length-1:void 0),k=Hl([l.length?y8(l):void 0,f,h.length?y8(h):void 0]);return g?k.concat(d):k}function y8(e){return R.assertGreaterThanOrEqual(e.length,1),Kh(sg.createSyntaxList(e),e[0].pos,ko(e).end)}function Emt(e){const t=e&&e.kind;return t===18||t===22||t===20||t===283}function Amt(e){const t=e&&e.kind;return t===19||t===23||t===21||t===284}function Pmt(e,t){switch(t.kind){case 344:case 341:case 351:case 349:case 346:return e.getLineEndOfPosition(t.getStart());default:return t.getEnd()}}var I7e,Dmt=p({"src/services/smartSelection.ts"(){Si(),I7e=jh(Nu,Xu)}}),wfe={};T(wfe,{getSmartSelectionRange:()=>kmt});var Nmt=p({"src/services/_namespaces/ts.SmartSelectionRange.ts"(){Dmt()}});function O7e(e,t,n){const s=L7e(e,t,n);if(s!=="")return s;const l=NP(t);return l&32?ol(t,228)?"local class":"class":l&384?"enum":l&524288?"type":l&64?"interface":l&262144?"type parameter":l&8?"enum member":l&2097152?"alias":l&1536?"module":s}function L7e(e,t,n){const s=e.getRootSymbols(t);if(s.length===1&&Uo(s).flags&8192&&e.getTypeOfSymbolAtLocation(t,n).getNonNullableType().getCallSignatures().length!==0)return"method";if(e.isUndefinedSymbol(t))return"var";if(e.isArgumentsSymbol(t))return"local var";if(n.kind===108&&Dt(n)||VC(n))return"parameter";const l=NP(t);if(l&3)return Rae(t)?"parameter":t.valueDeclaration&&My(t.valueDeclaration)?"const":Q(t.declarations,lP)?"let":R7e(t)?"local var":"var";if(l&16)return R7e(t)?"local function":"function";if(l&32768)return"getter";if(l&65536)return"setter";if(l&8192)return"method";if(l&16384)return"constructor";if(l&131072)return"index";if(l&4){if(l&33554432&&t.links.checkFlags&6){const f=Q(e.getRootSymbols(t),d=>{if(d.getFlags()&98311)return"property"});return f||(e.getTypeOfSymbolAtLocation(t,n).getCallSignatures().length?"method":"property")}return"property"}return""}function M7e(e){if(e.declarations&&e.declarations.length){const[t,...n]=e.declarations,s=H(n)&&vV(t)&&Oe(n,f=>!vV(f))?8192:0,l=jD(t,s);if(l)return l.split(",")}return[]}function Imt(e,t){if(!t)return"";const n=new Set(M7e(t));if(t.flags&2097152){const s=e.getAliasedSymbol(t);s!==t&&Q(M7e(s),l=>{n.add(l)})}return t.flags&16777216&&n.add("optional"),n.size>0?ao(n.values()).join(","):""}function F7e(e,t,n,s,l,f=Kx(l),d){var g;const h=[];let k=[],S=[];const w=NP(t);let N=f&1?L7e(e,t,l):"",O=!1;const L=l.kind===108&&_j(l)||VC(l);let U,M,W,X=!1;if(l.kind===108&&!L)return{displayParts:[z_(108)],documentation:[],symbolKind:"primitive type",tags:void 0};if(N!==""||w&32||w&2097152){if(N==="getter"||N==="setter"){const Se=He(t.declarations,we=>we.name===l);if(Se)switch(Se.kind){case 174:N="getter";break;case 175:N="setter";break;case 169:N="accessor";break;default:R.assertNever(Se)}else N="property"}let K;if(U=L?e.getTypeAtLocation(l):e.getTypeOfSymbolAtLocation(t,l),l.parent&&l.parent.kind===208){const Se=l.parent.name;(Se===l||Se&&Se.getFullWidth()===0)&&(l=l.parent)}let ge;if(Oy(l)?ge=l:(aae(l)||MD(l)||l.parent&&(Hf(l.parent)||Mx(l.parent))&&Sa(t.valueDeclaration))&&(ge=l.parent),ge){K=e.getResolvedSignature(ge);const Se=ge.kind===211||Da(ge)&&ge.expression.kind===106,we=Se?U.getConstructSignatures():U.getCallSignatures();if(K&&!xt(we,K.target)&&!xt(we,K)&&(K=we.length?we[0]:void 0),K){switch(Se&&w&32?(N="constructor",ve(U.symbol,N)):w&2097152?(N="alias",fe(N),h.push(nl()),Se&&(K.flags&4&&(h.push(z_(126)),h.push(nl())),h.push(z_(103)),h.push(nl())),V(t)):ve(t,N),N){case"JSX attribute":case"property":case"var":case"const":case"let":case"parameter":case"local var":h.push(_f(58)),h.push(nl()),!(Ci(U)&16)&&U.symbol&&(Oi(h,zD(e,U.symbol,s,void 0,5)),h.push(q4())),Se&&(K.flags&4&&(h.push(z_(126)),h.push(nl())),h.push(z_(103)),h.push(nl())),Ce(K,we,262144);break;default:Ce(K,we)}O=!0,X=we.length>1}}else if(pae(l)&&!(w&98304)||l.kind===135&&l.parent.kind===173){const Se=l.parent;if(t.declarations&&He(t.declarations,Pe=>Pe===(l.kind===135?Se.parent:Se))){const Pe=Se.kind===173?U.getNonNullableType().getConstructSignatures():U.getNonNullableType().getCallSignatures();e.isImplementationOfOverload(Se)?K=Pe[0]:K=e.getSignatureFromDeclaration(Se),Se.kind===173?(N="constructor",ve(U.symbol,N)):ve(Se.kind===176&&!(U.symbol.flags&2048||U.symbol.flags&4096)?U.symbol:t,N),K&&Ce(K,Pe),O=!0,X=Pe.length>1}}}if(w&32&&!O&&!L&&(ie(),ol(t,228)?fe("local class"):h.push(z_(84)),h.push(nl()),V(t),_e(t,n)),w&64&&f&2&&(ue(),h.push(z_(118)),h.push(nl()),V(t),_e(t,n)),w&524288&&f&2&&(ue(),h.push(z_(154)),h.push(nl()),V(t),_e(t,n),h.push(nl()),h.push(UD(63)),h.push(nl()),Oi(h,L9(e,Iy(l.parent)?e.getTypeAtLocation(l.parent):e.getDeclaredTypeOfSymbol(t),s,8388608))),w&384&&(ue(),Oe(t.declarations,K=>Gb(K)&&yT(K))&&(h.push(z_(85)),h.push(nl())),h.push(z_(92)),h.push(nl()),V(t)),w&1536&&!L){ue();const K=ol(t,264),ge=K&&K.name&&K.name.kind===79;h.push(z_(ge?143:142)),h.push(nl()),V(t)}if(w&262144&&f&2)if(ue(),h.push(_f(20)),h.push(Mp("type parameter")),h.push(_f(21)),h.push(nl()),V(t),t.parent)se(),V(t.parent,s),_e(t.parent,s);else{const K=ol(t,165);if(K===void 0)return R.fail();const ge=K.parent;if(ge)if(Sa(ge)){se();const Se=e.getSignatureFromDeclaration(ge);ge.kind===177?(h.push(z_(103)),h.push(nl())):ge.kind!==176&&ge.name&&V(ge.symbol),Oi(h,Jae(e,Se,n,32))}else sh(ge)&&(se(),h.push(z_(154)),h.push(nl()),V(ge.symbol),_e(ge.symbol,n))}if(w&8){N="enum member",ve(t,"enum member");const K=(g=t.declarations)==null?void 0:g[0];if((K==null?void 0:K.kind)===302){const ge=e.getConstantValue(K);ge!==void 0&&(h.push(nl()),h.push(UD(63)),h.push(nl()),h.push(x_(Ybe(ge),typeof ge=="number"?7:8)))}}if(t.flags&2097152){if(ue(),!O){const K=e.getAliasedSymbol(t);if(K!==t&&K.declarations&&K.declarations.length>0){const ge=K.declarations[0],Se=ra(ge);if(Se){const we=XB(ge)&&Ti(ge,2),Pe=t.name!=="default"&&!we,le=F7e(e,K,bn(ge),ge,Se,f,Pe?t:K);h.push(...le.displayParts),h.push(q4()),M=le.documentation,W=le.tags}else M=K.getContextualDocumentationComment(ge,e),W=K.getJsDocTags(e)}}if(t.declarations)switch(t.declarations[0].kind){case 267:h.push(z_(93)),h.push(nl()),h.push(z_(143));break;case 274:h.push(z_(93)),h.push(nl()),h.push(z_(t.declarations[0].isExportEquals?63:88));break;case 278:h.push(z_(93));break;default:h.push(z_(100))}h.push(nl()),V(t),Q(t.declarations,K=>{if(K.kind===268){const ge=K;if(Rb(ge))h.push(nl()),h.push(UD(63)),h.push(nl()),h.push(z_(147)),h.push(_f(20)),h.push(x_(lu(pP(ge)),8)),h.push(_f(21));else{const Se=e.getSymbolAtLocation(ge.moduleReference);Se&&(h.push(nl()),h.push(UD(63)),h.push(nl()),V(Se,s))}return!0}})}if(!O)if(N!==""){if(U){if(L?(ue(),h.push(z_(108))):ve(t,N),N==="property"||N==="accessor"||N==="getter"||N==="setter"||N==="JSX attribute"||w&3||N==="local var"||N==="index"||L){if(h.push(_f(58)),h.push(nl()),U.symbol&&U.symbol.flags&262144&&N!=="index"){const K=Nv(ge=>{const Se=e.typeParameterToDeclaration(U,s,Efe);Z().writeNode(4,Se,bn(qs(s)),ge)});Oi(h,K)}else Oi(h,L9(e,U,s));if(qh(t)&&t.links.target&&qh(t.links.target)&&t.links.target.links.tupleLabelDeclaration){const K=t.links.target.links.tupleLabelDeclaration;R.assertNode(K.name,Ye),h.push(nl()),h.push(_f(20)),h.push(Mp(ai(K.name))),h.push(_f(21))}}else if(w&16||w&8192||w&16384||w&131072||w&98304||N==="method"){const K=U.getNonNullableType().getCallSignatures();K.length&&(Ce(K[0],K),X=K.length>1)}}}else N=O7e(e,t,l);if(k.length===0&&!X&&(k=t.getContextualDocumentationComment(s,e)),k.length===0&&w&4&&t.parent&&t.declarations&&Q(t.parent.declarations,K=>K.kind===308))for(const K of t.declarations){if(!K.parent||K.parent.kind!==223)continue;const ge=e.getSymbolAtLocation(K.parent.right);if(ge&&(k=ge.getDocumentationComment(e),S=ge.getJsDocTags(e),k.length>0))break}if(k.length===0&&Ye(l)&&t.valueDeclaration&&qo(t.valueDeclaration)){const K=t.valueDeclaration,ge=K.parent;if(Ye(K.name)&&tg(ge)){const Se=Vd(K.name),we=e.getTypeAtLocation(ge);k=ze(we.isUnion()?we.types:[we],Pe=>{const le=Pe.getProperty(Se);return le?le.getDocumentationComment(e):void 0})||pt}}return S.length===0&&!X&&(S=t.getContextualJsDocTags(s,e)),k.length===0&&M&&(k=M),S.length===0&&W&&(S=W),{displayParts:h,documentation:k,symbolKind:N,tags:S.length===0?void 0:S};function Z(){return VT()}function ue(){h.length&&h.push(q4()),ie()}function ie(){d&&(fe("alias"),h.push(nl()))}function se(){h.push(nl()),h.push(z_(101)),h.push(nl())}function V(K,ge){let Se;d&&K===t&&(K=d),N==="index"&&(Se=e.getIndexInfosOfIndexSymbol(K));let we=[];K.flags&131072&&Se?(K.parent&&(we=zD(e,K.parent)),we.push(_f(22)),Se.forEach((Pe,le)=>{we.push(...L9(e,Pe.keyType)),le!==Se.length-1&&(we.push(nl()),we.push(_f(51)),we.push(nl()))}),we.push(_f(23))):we=zD(e,K,ge||n,void 0,7),Oi(h,we),t.flags&16777216&&h.push(_f(57))}function ve(K,ge){ue(),ge&&(fe(ge),K&&!Oe(K.declarations,Se=>Ac(Se)||(yc(Se)||If(Se))&&!Se.name)&&(h.push(nl()),V(K)))}function fe(K){switch(K){case"var":case"function":case"let":case"const":case"constructor":h.push(Bae(K));return;default:h.push(_f(20)),h.push(Bae(K)),h.push(_f(21));return}}function Ce(K,ge,Se=0){Oi(h,Jae(e,K,s,Se|32)),ge.length>1&&(h.push(nl()),h.push(_f(20)),h.push(UD(39)),h.push(x_((ge.length-1).toString(),7)),h.push(nl()),h.push(Mp(ge.length===2?"overload":"overloads")),h.push(_f(21))),k=K.getDocumentationComment(e),S=K.getJsDocTags(),ge.length>1&&k.length===0&&S.length===0&&(k=ge[0].getDocumentationComment(e),S=ge[0].getJsDocTags().filter(we=>we.name!=="deprecated"))}function _e(K,ge){const Se=Nv(we=>{const Pe=e.symbolToTypeParameterDeclarations(K,ge,Efe);Z().writeList(53776,Pe,bn(qs(ge)),we)});Oi(h,Se)}}function R7e(e){return e.parent?!1:Q(e.declarations,t=>{if(t.kind===215)return!0;if(t.kind!==257&&t.kind!==259)return!1;for(let n=t.parent;!Tx(n);n=n.parent)if(n.kind===308||n.kind===265)return!1;return!0})}var Efe,Omt=p({"src/services/symbolDisplay.ts"(){Si(),Efe=70246400}}),p1={};T(p1,{getSymbolDisplayPartsDocumentationAndSymbolKind:()=>F7e,getSymbolKind:()=>O7e,getSymbolModifiers:()=>Imt});var Lmt=p({"src/services/_namespaces/ts.SymbolDisplay.ts"(){Omt()}});function B7e(e){const t=e.__pos;return R.assert(typeof t=="number"),t}function Afe(e,t){R.assert(typeof t=="number"),e.__pos=t}function j7e(e){const t=e.__end;return R.assert(typeof t=="number"),t}function Pfe(e,t){R.assert(typeof t=="number"),e.__end=t}function J7e(e,t){return wo(e,t,!1,!0)}function Mmt(e,t){let n=t;for(;n<e.length;){const s=e.charCodeAt(n);if(zh(s)){n++;continue}return s===47}return!1}function v8(e,t,n,s){return{pos:_k(e,t,s),end:$w(e,n,s)}}function _k(e,t,n,s=!1){var l,f;const{leadingTriviaOption:d}=n;if(d===0)return t.getStart(e);if(d===3){const O=t.getStart(e),L=kd(O,e);return b9(t,L)?L:O}if(d===2){const O=HK(t,e.text);if(O!=null&&O.length)return kd(O[0].pos,e)}const g=t.getFullStart(),h=t.getStart(e);if(g===h)return h;const k=kd(g,e);if(kd(h,e)===k)return d===1?g:h;if(s){const O=((l=Ng(e.text,g))==null?void 0:l[0])||((f=Ib(e.text,g))==null?void 0:f[0]);if(O)return wo(e.text,O.end,!0,!0)}const w=g>0?1:0;let N=dv(SP(e,k)+w,e);return N=J7e(e.text,N),dv(SP(e,N),e)}function Dfe(e,t,n){const{end:s}=t,{trailingTriviaOption:l}=n;if(l===2){const f=Ib(e.text,s);if(f){const d=SP(e,t.end);for(const g of f){if(g.kind===2||SP(e,g.pos)>d)break;if(SP(e,g.end)>d)return wo(e.text,g.end,!0,!0)}}}}function $w(e,t,n){var s;const{end:l}=t,{trailingTriviaOption:f}=n;if(f===0)return l;if(f===1){const h=Cr(Ib(e.text,l),Ng(e.text,l)),k=(s=h==null?void 0:h[h.length-1])==null?void 0:s.end;return k||l}const d=Dfe(e,t,n);if(d)return d;const g=wo(e.text,l,!0);return g!==l&&(f===2||af(e.text.charCodeAt(g-1)))?g:l}function uW(e,t){return!!t&&!!e.parent&&(t.kind===27||t.kind===26&&e.parent.kind===207)}function Fmt(e){return yc(e)||ru(e)}function Rmt(e){if(e.kind!==216)return e;const t=e.parent.kind===169?e.parent:e.parent.parent;return t.jsDoc=e.jsDoc,t}function Bmt(e,t){if(e.kind===t.kind)switch(e.kind){case 344:{const n=e,s=t;return Ye(n.name)&&Ye(s.name)&&n.name.escapedText===s.name.escapedText?J.createJSDocParameterTag(void 0,s.name,!1,s.typeExpression,s.isNameFirst,n.comment):void 0}case 345:return J.createJSDocReturnTag(void 0,t.typeExpression,e.comment);case 347:return J.createJSDocTypeTag(void 0,t.typeExpression,e.comment)}}function Nfe(e,t){return wo(e.text,_k(e,t,{leadingTriviaOption:1}),!1,!0)}function jmt(e,t,n,s){const l=Nfe(e,s);if(n===void 0||vd($w(e,t,{}),l,e))return l;const f=fu(s.getStart(e),e);if(uW(t,f)){const d=fu(t.getStart(e),e);if(uW(n,d)){const g=wo(e.text,f.getEnd(),!0,!0);if(vd(d.getStart(e),f.getStart(e),e))return af(e.text.charCodeAt(g-1))?g-1:g;if(af(e.text.charCodeAt(g)))return g}}return l}function Jmt(e,t){const n=Yo(e,18,t),s=Yo(e,19,t);return[n==null?void 0:n.end,s==null?void 0:s.end]}function fW(e){return cc(e)?e.properties:e.members}function Umt(e,t,n,s){return PL.newFileChangesWorker(void 0,t,e,n,s)}function Ife(e,t){for(let n=t.length-1;n>=0;n--){const{span:s,newText:l}=t[n];e=`${e.substring(0,s.start)}${l}${e.substring(Wu(s))}`}return e}function zmt(e){return wo(e,0)===e.length}function _W(e){const t=an(e,_W,V7e,Vmt,_W),n=Mc(t)?t:Object.create(t);return Kh(n,B7e(e),j7e(e)),n}function Vmt(e,t,n,s,l){const f=hn(e,t,n,s,l);if(!f)return f;R.assert(e);const d=f===e?J.createNodeArray(f.slice(0)):f;return Kh(d,B7e(e),j7e(e)),d}function U7e(e){let t=0;const n=_5(e),s=le=>{le&&Afe(le,t)},l=le=>{le&&Pfe(le,t)},f=le=>{le&&Afe(le,t)},d=le=>{le&&Pfe(le,t)},g=le=>{le&&Afe(le,t)},h=le=>{le&&Pfe(le,t)};function k(le,ot){if(ot||!zmt(le)){t=n.getTextPos();let Qe=0;for(;Dy(le.charCodeAt(le.length-Qe-1));)Qe++;t-=Qe}}function S(le){n.write(le),k(le,!1)}function w(le){n.writeComment(le)}function N(le){n.writeKeyword(le),k(le,!1)}function O(le){n.writeOperator(le),k(le,!1)}function L(le){n.writePunctuation(le),k(le,!1)}function U(le){n.writeTrailingSemicolon(le),k(le,!1)}function M(le){n.writeParameter(le),k(le,!1)}function W(le){n.writeProperty(le),k(le,!1)}function X(le){n.writeSpace(le),k(le,!1)}function Z(le){n.writeStringLiteral(le),k(le,!1)}function ue(le,ot){n.writeSymbol(le,ot),k(le,!1)}function ie(le){n.writeLine(le)}function se(){n.increaseIndent()}function V(){n.decreaseIndent()}function ve(){return n.getText()}function fe(le){n.rawWrite(le),k(le,!1)}function Ce(le){n.writeLiteral(le),k(le,!0)}function _e(){return n.getTextPos()}function K(){return n.getLine()}function ge(){return n.getColumn()}function Se(){return n.getIndent()}function we(){return n.isAtStartOfLine()}function Pe(){n.clear(),t=0}return{onBeforeEmitNode:s,onAfterEmitNode:l,onBeforeEmitNodeArray:f,onAfterEmitNodeArray:d,onBeforeEmitToken:g,onAfterEmitToken:h,write:S,writeComment:w,writeKeyword:N,writeOperator:O,writePunctuation:L,writeTrailingSemicolon:U,writeParameter:M,writeProperty:W,writeSpace:X,writeStringLiteral:Z,writeSymbol:ue,writeLine:ie,increaseIndent:se,decreaseIndent:V,getText:ve,rawWrite:fe,writeLiteral:Ce,getTextPos:_e,getLine:K,getColumn:ge,getIndent:Se,isAtStartOfLine:we,hasTrailingComment:()=>n.hasTrailingComment(),hasTrailingWhitespace:()=>n.hasTrailingWhitespace(),clear:Pe}}function $mt(e){let t;for(const k of e.statements)if(vm(k))t=k;else break;let n=0;const s=e.text;if(t)return n=t.end,h(),n;const l=SB(s);l!==void 0&&(n=l.length,h());const f=Ng(s,n);if(!f)return n;let d,g;for(const k of f){if(k.kind===3){if(HB(s,k.pos)){d={range:k,pinnedOrTripleSlash:!0};continue}}else if(DK(s,k.pos,k.end)){d={range:k,pinnedOrTripleSlash:!0};continue}if(d){if(d.pinnedOrTripleSlash)break;const S=e.getLineAndCharacterOfPosition(k.pos).line,w=e.getLineAndCharacterOfPosition(d.range.end).line;if(S>=w+2)break}if(e.statements.length){g===void 0&&(g=e.getLineAndCharacterOfPosition(e.statements[0].getStart()).line);const S=e.getLineAndCharacterOfPosition(k.end).line;if(g<S+2)break}d={range:k,pinnedOrTripleSlash:!1}}return d&&(n=d.range.end,h()),n;function h(){if(n<s.length){const k=s.charCodeAt(n);af(k)&&(n++,n<s.length&&k===13&&s.charCodeAt(n)===10&&n++)}}}function z7e(e,t){return!l1(e,t)&&!rk(e,t)&&!bae(e,t)&&!U6e(e,t)}function qmt(e,t){return(Np(e)||Pa(e))&&FB(t)&&t.name.kind===164||x7(e)&&x7(t)}function Qg(e,t,n,s={leadingTriviaOption:1}){const l=_k(t,n,s),f=$w(t,n,s);e.deleteRange(t,{pos:l,end:f})}function b8(e,t,n,s){const l=R.checkDefined(_u.SmartIndenter.getContainingList(s,n)),f=A6(l,s);if(R.assert(f!==-1),l.length===1){Qg(e,n,s);return}R.assert(!t.has(s),"Deleting a node twice"),t.add(s),e.deleteRange(n,{pos:Nfe(n,s),end:f===l.length-1?$w(n,s,{}):jmt(n,s,l[f-1],l[f+1])})}var Ofe,Lfe,r3,pW,PL,V7e,Mfe,Wmt=p({"src/services/textChanges.ts"(){Si(),Ofe=(e=>(e[e.Exclude=0]="Exclude",e[e.IncludeAll=1]="IncludeAll",e[e.JSDoc=2]="JSDoc",e[e.StartLine=3]="StartLine",e))(Ofe||{}),Lfe=(e=>(e[e.Exclude=0]="Exclude",e[e.ExcludeWhitespace=1]="ExcludeWhitespace",e[e.Include=2]="Include",e))(Lfe||{}),r3={leadingTriviaOption:0,trailingTriviaOption:0},pW=class{constructor(e,t){this.newLineCharacter=e,this.formatContext=t,this.changes=[],this.newFiles=[],this.classesWithNodesInsertedAtStart=new Map,this.deletedNodes=[]}static fromContext(e){return new pW(Zb(e.host,e.formatContext.options),e.formatContext)}static with(e,t){const n=pW.fromContext(e);return t(n),n.getChanges()}pushRaw(e,t){R.assertEqual(e.fileName,t.fileName);for(const n of t.textChanges)this.changes.push({kind:3,sourceFile:e,text:n.newText,range:Gz(n.span)})}deleteRange(e,t){this.changes.push({kind:0,sourceFile:e,range:t})}delete(e,t){this.deletedNodes.push({sourceFile:e,node:t})}deleteNode(e,t,n={leadingTriviaOption:1}){this.deleteRange(e,v8(e,t,t,n))}deleteNodes(e,t,n={leadingTriviaOption:1},s){for(const l of t){const f=_k(e,l,n,s),d=$w(e,l,n);this.deleteRange(e,{pos:f,end:d}),s=!!Dfe(e,l,n)}}deleteModifier(e,t){this.deleteRange(e,{pos:t.getStart(e),end:wo(e.text,t.end,!0)})}deleteNodeRange(e,t,n,s={leadingTriviaOption:1}){const l=_k(e,t,s),f=$w(e,n,s);this.deleteRange(e,{pos:l,end:f})}deleteNodeRangeExcludingEnd(e,t,n,s={leadingTriviaOption:1}){const l=_k(e,t,s),f=n===void 0?e.text.length:_k(e,n,s);this.deleteRange(e,{pos:l,end:f})}replaceRange(e,t,n,s={}){this.changes.push({kind:1,sourceFile:e,range:t,options:s,node:n})}replaceNode(e,t,n,s=r3){this.replaceRange(e,v8(e,t,t,s),n,s)}replaceNodeRange(e,t,n,s,l=r3){this.replaceRange(e,v8(e,t,n,l),s,l)}replaceRangeWithNodes(e,t,n,s={}){this.changes.push({kind:2,sourceFile:e,range:t,options:s,nodes:n})}replaceNodeWithNodes(e,t,n,s=r3){this.replaceRangeWithNodes(e,v8(e,t,t,s),n,s)}replaceNodeWithText(e,t,n){this.replaceRangeWithText(e,v8(e,t,t,r3),n)}replaceNodeRangeWithNodes(e,t,n,s,l=r3){this.replaceRangeWithNodes(e,v8(e,t,n,l),s,l)}nodeHasTrailingComment(e,t,n=r3){return!!Dfe(e,t,n)}nextCommaToken(e,t){const n=tk(t,t.parent,e);return n&&n.kind===27?n:void 0}replacePropertyAssignment(e,t,n){const s=this.nextCommaToken(e,t)?"":","+this.newLineCharacter;this.replaceNode(e,t,n,{suffix:s})}insertNodeAt(e,t,n,s={}){this.replaceRange(e,yd(t),n,s)}insertNodesAt(e,t,n,s={}){this.replaceRangeWithNodes(e,yd(t),n,s)}insertNodeAtTopOfFile(e,t,n){this.insertAtTopOfFile(e,t,n)}insertNodesAtTopOfFile(e,t,n){this.insertAtTopOfFile(e,t,n)}insertAtTopOfFile(e,t,n){const s=$mt(e),l={prefix:s===0?void 0:this.newLineCharacter,suffix:(af(e.text.charCodeAt(s))?"":this.newLineCharacter)+(n?this.newLineCharacter:"")};pa(t)?this.insertNodesAt(e,s,t,l):this.insertNodeAt(e,s,t,l)}insertFirstParameter(e,t,n){const s=Ru(t);s?this.insertNodeBefore(e,s,n):this.insertNodeAt(e,t.pos,n)}insertNodeBefore(e,t,n,s=!1,l={}){this.insertNodeAt(e,_k(e,t,l),n,this.getOptionsForInsertNodeBefore(t,n,s))}insertModifierAt(e,t,n,s={}){this.insertNodeAt(e,t,J.createToken(n),s)}insertModifierBefore(e,t,n){return this.insertModifierAt(e,n.getStart(e),t,{suffix:" "})}insertCommentBeforeLine(e,t,n,s){const l=dv(t,e),f=p4e(e.text,l),d=z7e(e,f),g=BD(e,d?f:n),h=e.text.slice(l,f),k=`${d?"":this.newLineCharacter}//${s}${this.newLineCharacter}${h}`;this.insertText(e,g.getStart(e),k)}insertJsdocCommentBefore(e,t,n){const s=t.getStart(e);if(t.jsDoc)for(const d of t.jsDoc)this.deleteRange(e,{pos:kd(d.getStart(e),e),end:$w(e,d,{})});const l=zae(e.text,s-1),f=e.text.slice(l,s);this.insertNodeAt(e,s,n,{suffix:this.newLineCharacter+f})}createJSDocText(e,t){const n=mn(t.jsDoc,l=>ha(l.comment)?J.createJSDocText(l.comment):l.comment),s=Fh(t.jsDoc);return s&&vd(s.pos,s.end,e)&&H(n)===0?void 0:J.createNodeArray(vt(n,J.createJSDocText(`
`)))}replaceJSDocComment(e,t,n){this.insertJsdocCommentBefore(e,Rmt(t),J.createJSDocComment(this.createJSDocText(e,t),J.createNodeArray(n)))}addJSDocTags(e,t,n){const s=Tn(t.jsDoc,f=>f.tags),l=n.filter(f=>!s.some((d,g)=>{const h=Bmt(d,f);return h&&(s[g]=h),!!h}));this.replaceJSDocComment(e,t,[...s,...l])}filterJSDocTags(e,t,n){this.replaceJSDocComment(e,t,hr(Tn(t.jsDoc,s=>s.tags),n))}replaceRangeWithText(e,t,n){this.changes.push({kind:3,sourceFile:e,range:t,text:n})}insertText(e,t,n){this.replaceRangeWithText(e,yd(t),n)}tryInsertTypeAnnotation(e,t,n){var s;let l;if(Sa(t)){if(l=Yo(t,21,e),!l){if(!Ac(t))return!1;l=Uo(t.parameters)}}else l=(s=t.kind===257?t.exclamationToken:t.questionToken)!=null?s:t.name;return this.insertNodeAt(e,l.end,n,{prefix:": "}),!0}tryInsertThisTypeAnnotation(e,t,n){const s=Yo(t,20,e).getStart(e)+1,l=t.parameters.length?", ":"";this.insertNodeAt(e,s,n,{prefix:"this: ",suffix:l})}insertTypeParameters(e,t,n){const s=(Yo(t,20,e)||Uo(t.parameters)).getStart(e);this.insertNodesAt(e,s,n,{prefix:"<",suffix:">",joiner:", "})}getOptionsForInsertNodeBefore(e,t,n){return Ks(e)||Eu(e)?{suffix:n?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:xs(e)?{suffix:", "}:ua(e)?ua(t)?{suffix:", "}:{}:yo(e)&&Nu(e.parent)||i1(e)?{suffix:", "}:S_(e)?{suffix:","+(n?this.newLineCharacter:" ")}:R.failBadSyntaxKind(e)}insertNodeAtConstructorStart(e,t,n){const s=Ru(t.body.statements);!s||!t.body.multiLine?this.replaceConstructorBody(e,t,[n,...t.body.statements]):this.insertNodeBefore(e,s,n)}insertNodeAtConstructorStartAfterSuperCall(e,t,n){const s=He(t.body.statements,l=>Gu(l)&&N6(l.expression));!s||!t.body.multiLine?this.replaceConstructorBody(e,t,[...t.body.statements,n]):this.insertNodeAfter(e,s,n)}insertNodeAtConstructorEnd(e,t,n){const s=Rc(t.body.statements);!s||!t.body.multiLine?this.replaceConstructorBody(e,t,[...t.body.statements,n]):this.insertNodeAfter(e,s,n)}replaceConstructorBody(e,t,n){this.replaceNode(e,t.body,J.createBlock(n,!0))}insertNodeAtEndOfScope(e,t,n){const s=_k(e,t.getLastToken(),{});this.insertNodeAt(e,s,n,{prefix:af(e.text.charCodeAt(t.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})}insertMemberAtStart(e,t,n){this.insertNodeAtStartWorker(e,t,n)}insertNodeAtObjectStart(e,t,n){this.insertNodeAtStartWorker(e,t,n)}insertNodeAtStartWorker(e,t,n){var s;const l=(s=this.guessIndentationFromExistingMembers(e,t))!=null?s:this.computeIndentationForNewMember(e,t);this.insertNodeAt(e,fW(t).pos,n,this.getInsertNodeAtStartInsertOptions(e,t,l))}guessIndentationFromExistingMembers(e,t){let n,s=t;for(const l of fW(t)){if(Lj(s,l,e))return;const f=l.getStart(e),d=_u.SmartIndenter.findFirstNonWhitespaceColumn(kd(f,e),f,e,this.formatContext.options);if(n===void 0)n=d;else if(d!==n)return;s=l}return n}computeIndentationForNewMember(e,t){var n;const s=t.getStart(e);return _u.SmartIndenter.findFirstNonWhitespaceColumn(kd(s,e),s,e,this.formatContext.options)+((n=this.formatContext.options.indentSize)!=null?n:4)}getInsertNodeAtStartInsertOptions(e,t,n){const l=fW(t).length===0,f=Tm(this.classesWithNodesInsertedAtStart,Wo(t),{node:t,sourceFile:e}),d=cc(t)&&(!hd(e)||!l),g=cc(t)&&hd(e)&&l&&!f;return{indentation:n,prefix:(g?",":"")+this.newLineCharacter,suffix:d?",":Yf(t)&&l?";":""}}insertNodeAfterComma(e,t,n){const s=this.insertNodeAfterWorker(e,this.nextCommaToken(e,t)||t,n);this.insertNodeAt(e,s,n,this.getInsertNodeAfterOptions(e,t))}insertNodeAfter(e,t,n){const s=this.insertNodeAfterWorker(e,t,n);this.insertNodeAt(e,s,n,this.getInsertNodeAfterOptions(e,t))}insertNodeAtEndOfList(e,t,n){this.insertNodeAt(e,t.end,n,{prefix:", "})}insertNodesAfter(e,t,n){const s=this.insertNodeAfterWorker(e,t,Uo(n));this.insertNodesAt(e,s,n,this.getInsertNodeAfterOptions(e,t))}insertNodeAfterWorker(e,t,n){return qmt(t,n)&&e.text.charCodeAt(t.end-1)!==59&&this.replaceRange(e,yd(t.end),J.createToken(26)),$w(e,t,{})}getInsertNodeAfterOptions(e,t){const n=this.getInsertNodeAfterOptionsWorker(t);return{...n,prefix:t.end===e.end&&Ks(t)?n.prefix?`
${n.prefix}`:`
`:n.prefix}}getInsertNodeAfterOptionsWorker(e){switch(e.kind){case 260:case 264:return{prefix:this.newLineCharacter,suffix:this.newLineCharacter};case 257:case 10:case 79:return{prefix:", "};case 299:return{suffix:","+this.newLineCharacter};case 93:return{prefix:" "};case 166:return{};default:return R.assert(Ks(e)||FB(e)),{suffix:this.newLineCharacter}}}insertName(e,t,n){if(R.assert(!t.name),t.kind===216){const s=Yo(t,38,e),l=Yo(t,20,e);l?(this.insertNodesAt(e,l.getStart(e),[J.createToken(98),J.createIdentifier(n)],{joiner:" "}),Qg(this,e,s)):(this.insertText(e,Uo(t.parameters).getStart(e),`function ${n}(`),this.replaceRange(e,s,J.createToken(21))),t.body.kind!==238&&(this.insertNodesAt(e,t.body.getStart(e),[J.createToken(18),J.createToken(105)],{joiner:" ",suffix:" "}),this.insertNodesAt(e,t.body.end,[J.createToken(26),J.createToken(19)],{joiner:" "}))}else{const s=Yo(t,t.kind===215?98:84,e).end;this.insertNodeAt(e,s,J.createIdentifier(n),{prefix:" "})}}insertExportModifier(e,t){this.insertText(e,t.getStart(e),"export ")}insertImportSpecifierAtIndex(e,t,n,s){const l=n.elements[s-1];l?this.insertNodeInListAfter(e,l,t):this.insertNodeBefore(e,n.elements[0],t,!vd(n.elements[0].getStart(),n.parent.parent.getStart(),e))}insertNodeInListAfter(e,t,n,s=_u.SmartIndenter.getContainingList(t,e)){if(!s){R.fail("node is not a list element");return}const l=A6(s,t);if(l<0)return;const f=t.getEnd();if(l!==s.length-1){const d=Os(e,t.end);if(d&&uW(t,d)){const g=s[l+1],h=J7e(e.text,g.getFullStart()),k=`${qa(d.kind)}${e.text.substring(d.end,h)}`;this.insertNodesAt(e,h,[n],{suffix:k})}}else{const d=t.getStart(e),g=kd(d,e);let h,k=!1;if(s.length===1)h=27;else{const S=fu(t.pos,e);h=uW(t,S)?S.kind:27,k=kd(s[l-1].getStart(e),e)!==g}if(Mmt(e.text,t.end)&&(k=!0),k){this.replaceRange(e,yd(f),J.createToken(h));const S=_u.SmartIndenter.findFirstNonWhitespaceColumn(g,d,e,this.formatContext.options);let w=wo(e.text,f,!0,!1);for(;w!==f&&af(e.text.charCodeAt(w-1));)w--;this.replaceRange(e,yd(w),n,{indentation:S,prefix:this.newLineCharacter})}else this.replaceRange(e,yd(f),n,{prefix:`${qa(h)} `})}}parenthesizeExpression(e,t){this.replaceRange(e,cte(t),J.createParenthesizedExpression(t))}finishClassesWithNodesInsertedAtStart(){this.classesWithNodesInsertedAtStart.forEach(({node:e,sourceFile:t})=>{const[n,s]=Jmt(e,t);if(n!==void 0&&s!==void 0){const l=fW(e).length===0,f=vd(n,s,t);l&&f&&n!==s-1&&this.deleteRange(t,yd(n,s-1)),f&&this.insertText(t,s-1,this.newLineCharacter)}})}finishDeleteDeclarations(){const e=new Set;for(const{sourceFile:t,node:n}of this.deletedNodes)this.deletedNodes.some(s=>s.sourceFile===t&&N6e(s.node,n))||(pa(n)?this.deleteRange(t,lte(t,n)):Mfe.deleteDeclaration(this,e,t,n));e.forEach(t=>{const n=t.getSourceFile(),s=_u.SmartIndenter.getContainingList(t,n);if(t!==ko(s))return;const l=kr(s,f=>!e.has(f),s.length-2);l!==-1&&this.deleteRange(n,{pos:s[l].end,end:Nfe(n,s[l+1])})})}getChanges(e){this.finishDeleteDeclarations(),this.finishClassesWithNodesInsertedAtStart();const t=PL.getTextChangesFromChanges(this.changes,this.newLineCharacter,this.formatContext,e);for(const{oldFile:n,fileName:s,statements:l}of this.newFiles)t.push(PL.newFileChanges(n,s,l,this.newLineCharacter,this.formatContext));return t}createNewFile(e,t,n){this.newFiles.push({oldFile:e,fileName:t,statements:n})}},(e=>{function t(g,h,k,S){return fr(IA(g,w=>w.sourceFile.path),w=>{const N=w[0].sourceFile,O=U0(w,(U,M)=>U.range.pos-M.range.pos||U.range.end-M.range.end);for(let U=0;U<O.length-1;U++)R.assert(O[U].range.end<=O[U+1].range.pos,"Changes overlap",()=>`${JSON.stringify(O[U].range)} and ${JSON.stringify(O[U+1].range)}`);const L=fr(O,U=>{const M=Dv(U.range),W=l(U,N,h,k,S);if(!(M.length===W.length&&P4e(N.text,W,M.start)))return E9(M,W)});return L.length>0?{fileName:N.fileName,textChanges:L}:void 0})}e.getTextChangesFromChanges=t;function n(g,h,k,S,w){const N=s(g,ite(h),k,S,w);return{fileName:h,textChanges:[E9(hu(0,0),N)],isNewFile:!0}}e.newFileChanges=n;function s(g,h,k,S,w){const N=k.map(U=>U===4?"":d(U,g,S).text).join(S),O=vO("any file name",N,99,!0,h),L=_u.formatDocument(O,w);return Ife(N,L)+S}e.newFileChangesWorker=s;function l(g,h,k,S,w){var N;if(g.kind===0)return"";if(g.kind===3)return g.text;const{options:O={},range:{pos:L}}=g,U=X=>f(X,h,L,O,k,S,w),M=g.kind===2?g.nodes.map(X=>_6(U(X),k)).join(((N=g.options)==null?void 0:N.joiner)||k):U(g.node),W=O.indentation!==void 0||kd(L,h)===L?M:M.replace(/^\s+/,"");return(O.prefix||"")+W+(!O.suffix||Ul(W,O.suffix)?"":O.suffix)}function f(g,h,k,{indentation:S,prefix:w,delta:N},O,L,U){const{node:M,text:W}=d(g,h,O);U&&U(M,W);const X=TV(L,h),Z=S!==void 0?S:_u.SmartIndenter.getIndentation(k,h,X,w===O||kd(k,h)===k);N===void 0&&(N=_u.SmartIndenter.shouldIndentChildNode(X,g)&&X.indentSize||0);const ue={text:W,getLineAndCharacterOfPosition(se){return zc(this,se)}},ie=_u.formatNodeGivenIndentation(M,ue,h.languageVariant,Z,N,{...L,options:X});return Ife(W,ie)}function d(g,h,k){const S=U7e(k),w=B9(k);return zT({newLine:w,neverAsciiEscape:!0,preserveSourceNewlines:!0,terminateUnterminatedLiterals:!0},S).writeNode(4,g,h,S),{text:S.getText(),node:_W(g)}}e.getNonformattedText=d})(PL||(PL={})),V7e={...qy,factory:j5(qy.factory.flags|1,qy.factory.baseFactory)},(e=>{function t(f,d,g,h){switch(h.kind){case 166:{const O=h.parent;Ac(O)&&O.parameters.length===1&&!Yo(O,20,g)?f.replaceNodeWithText(g,h,"()"):b8(f,d,g,h);break}case 269:case 268:const k=g.imports.length&&h===Uo(g.imports).parent||h===He(g.statements,vx);Qg(f,g,h,{leadingTriviaOption:k?0:Ep(h)?2:3});break;case 205:const S=h.parent;S.kind===204&&h!==ko(S.elements)?Qg(f,g,h):b8(f,d,g,h);break;case 257:l(f,d,g,h);break;case 165:b8(f,d,g,h);break;case 273:const N=h.parent;N.elements.length===1?s(f,g,N):b8(f,d,g,h);break;case 271:s(f,g,h);break;case 26:Qg(f,g,h,{trailingTriviaOption:0});break;case 98:Qg(f,g,h,{leadingTriviaOption:0});break;case 260:case 259:Qg(f,g,h,{leadingTriviaOption:Ep(h)?2:3});break;default:h.parent?rg(h.parent)&&h.parent.name===h?n(f,g,h.parent):Da(h.parent)&&xt(h.parent.arguments,h)?b8(f,d,g,h):Qg(f,g,h):Qg(f,g,h)}}e.deleteDeclaration=t;function n(f,d,g){if(!g.namedBindings)Qg(f,d,g.parent);else{const h=g.name.getStart(d),k=Os(d,g.name.end);if(k&&k.kind===27){const S=wo(d.text,k.end,!1,!0);f.deleteRange(d,{pos:h,end:S})}else Qg(f,d,g.name)}}function s(f,d,g){if(g.parent.name){const h=R.checkDefined(Os(d,g.pos-1));f.deleteRange(d,{pos:h.getStart(d),end:g.end})}else{const h=Jb(g,269);Qg(f,d,h)}}function l(f,d,g,h){const{parent:k}=h;if(k.kind===295){f.deleteNodeRange(g,Yo(k,20,g),Yo(k,21,g));return}if(k.declarations.length!==1){b8(f,d,g,h);return}const S=k.parent;switch(S.kind){case 247:case 246:f.replaceNode(g,h,J.createObjectLiteralExpression());break;case 245:Qg(f,g,k);break;case 240:Qg(f,g,S,{leadingTriviaOption:Ep(S)?2:3});break;default:R.assertNever(S)}}})(Mfe||(Mfe={}))}}),Jn={};T(Jn,{ChangeTracker:()=>pW,LeadingTriviaOption:()=>Ofe,TrailingTriviaOption:()=>Lfe,applyChanges:()=>Ife,assignPositionsToNode:()=>_W,createWriter:()=>U7e,deleteNode:()=>Qg,getNewFileText:()=>Umt,isThisTypeAnnotatable:()=>Fmt,isValidLocationToAddComment:()=>z7e});var Hmt=p({"src/services/_namespaces/ts.textChanges.ts"(){Wmt()}}),Ffe,Rfe,Gmt=p({"src/services/formatting/formattingContext.ts"(){Si(),Ffe=(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",e))(Ffe||{}),Rfe=class{constructor(e,t,n){this.sourceFile=e,this.formattingRequestKind=t,this.options=n}updateContext(e,t,n,s,l){this.currentTokenSpan=R.checkDefined(e),this.currentTokenParent=R.checkDefined(t),this.nextTokenSpan=R.checkDefined(n),this.nextTokenParent=R.checkDefined(s),this.contextNode=R.checkDefined(l),this.contextNodeAllOnSameLine=void 0,this.nextNodeAllOnSameLine=void 0,this.tokensAreOnSameLine=void 0,this.contextNodeBlockIsOnOneLine=void 0,this.nextNodeBlockIsOnOneLine=void 0}ContextNodeAllOnSameLine(){return this.contextNodeAllOnSameLine===void 0&&(this.contextNodeAllOnSameLine=this.NodeIsOnOneLine(this.contextNode)),this.contextNodeAllOnSameLine}NextNodeAllOnSameLine(){return this.nextNodeAllOnSameLine===void 0&&(this.nextNodeAllOnSameLine=this.NodeIsOnOneLine(this.nextTokenParent)),this.nextNodeAllOnSameLine}TokensAreOnSameLine(){if(this.tokensAreOnSameLine===void 0){const e=this.sourceFile.getLineAndCharacterOfPosition(this.currentTokenSpan.pos).line,t=this.sourceFile.getLineAndCharacterOfPosition(this.nextTokenSpan.pos).line;this.tokensAreOnSameLine=e===t}return this.tokensAreOnSameLine}ContextNodeBlockIsOnOneLine(){return this.contextNodeBlockIsOnOneLine===void 0&&(this.contextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.contextNode)),this.contextNodeBlockIsOnOneLine}NextNodeBlockIsOnOneLine(){return this.nextNodeBlockIsOnOneLine===void 0&&(this.nextNodeBlockIsOnOneLine=this.BlockIsOnOneLine(this.nextTokenParent)),this.nextNodeBlockIsOnOneLine}NodeIsOnOneLine(e){const t=this.sourceFile.getLineAndCharacterOfPosition(e.getStart(this.sourceFile)).line,n=this.sourceFile.getLineAndCharacterOfPosition(e.getEnd()).line;return t===n}BlockIsOnOneLine(e){const t=Yo(e,18,this.sourceFile),n=Yo(e,19,this.sourceFile);if(t&&n){const s=this.sourceFile.getLineAndCharacterOfPosition(t.getEnd()).line,l=this.sourceFile.getLineAndCharacterOfPosition(n.getStart(this.sourceFile)).line;return s===l}return!1}}}});function Bfe(e,t,n,s,l){const f=t===1?q7e:$7e;f.setText(e),f.setTextPos(n);let d=!0,g,h,k,S,w;const N=l({advance:O,readTokenInfo:ie,readEOFTokenRange:V,isOnToken:ve,isOnEOF:fe,getCurrentLeadingTrivia:()=>g,lastTrailingTriviaWasNewLine:()=>d,skipToEndOf:_e,skipToStartOf:K,getStartPos:()=>{var ge;return(ge=w==null?void 0:w.token.pos)!=null?ge:f.getTokenPos()}});return w=void 0,f.setText(void 0),N;function O(){w=void 0,f.getStartPos()!==n?d=!!h&&ko(h).kind===4:f.scan(),g=void 0,h=void 0;let Se=f.getStartPos();for(;Se<s;){const we=f.getToken();if(!q6(we))break;f.scan();const Pe={pos:Se,end:f.getStartPos(),kind:we};Se=f.getStartPos(),g=$r(g,Pe)}k=f.getStartPos()}function L(ge){switch(ge.kind){case 33:case 71:case 72:case 49:case 48:return!0}return!1}function U(ge){if(ge.parent)switch(ge.parent.kind){case 288:case 283:case 284:case 282:return b_(ge.kind)||ge.kind===79}return!1}function M(ge){return tw(ge)||s1(ge)&&(w==null?void 0:w.token.kind)===11}function W(ge){return ge.kind===13}function X(ge){return ge.kind===16||ge.kind===17}function Z(ge){return ge.parent&&oh(ge.parent)&&ge.parent.initializer===ge}function ue(ge){return ge===43||ge===68}function ie(ge){R.assert(ve());const Se=L(ge)?1:W(ge)?2:X(ge)?3:U(ge)?4:M(ge)?5:Z(ge)?6:0;if(w&&Se===S)return Ce(w,ge);f.getStartPos()!==k&&(R.assert(w!==void 0),f.setTextPos(k),f.scan());let we=se(ge,Se);const Pe=gW(f.getStartPos(),f.getTextPos(),we);for(h&&(h=void 0);f.getStartPos()<s&&(we=f.scan(),!!q6(we));){const le=gW(f.getStartPos(),f.getTextPos(),we);if(h||(h=[]),h.push(le),we===4){f.scan();break}}return w={leadingTrivia:g,trailingTrivia:h,token:Pe},Ce(w,ge)}function se(ge,Se){const we=f.getToken();switch(S=0,Se){case 1:if(we===31){S=1;const Pe=f.reScanGreaterToken();return R.assert(ge.kind===Pe),Pe}break;case 2:if(ue(we)){S=2;const Pe=f.reScanSlashToken();return R.assert(ge.kind===Pe),Pe}break;case 3:if(we===19)return S=3,f.reScanTemplateToken(!1);break;case 4:return S=4,f.scanJsxIdentifier();case 5:return S=5,f.reScanJsxToken(!1);case 6:return S=6,f.reScanJsxAttributeValue();case 0:break;default:R.assertNever(Se)}return we}function V(){return R.assert(fe()),gW(f.getStartPos(),f.getTextPos(),1)}function ve(){const ge=w?w.token.kind:f.getToken();return ge!==1&&!q6(ge)}function fe(){return(w?w.token.kind:f.getToken())===1}function Ce(ge,Se){return EC(Se)&&ge.token.kind!==Se.kind&&(ge.token.kind=Se.kind),ge}function _e(ge){f.setTextPos(ge.end),k=f.getStartPos(),S=void 0,w=void 0,d=!1,g=void 0,h=void 0}function K(ge){f.setTextPos(ge.pos),k=f.getStartPos(),S=void 0,w=void 0,d=!1,g=void 0,h=void 0}}var $7e,q7e,Xmt=p({"src/services/formatting/formattingScanner.ts"(){Si(),x8(),$7e=q0(99,!1,0),q7e=q0(99,!1,1)}}),DL,jfe,Jfe,Qmt=p({"src/services/formatting/rule.ts"(){Si(),DL=pt,jfe=(e=>(e[e.None=0]="None",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",e))(jfe||{}),Jfe=(e=>(e[e.None=0]="None",e[e.CanDeleteNewLines=1]="CanDeleteNewLines",e))(Jfe||{})}});function W7e(){const e=[];for(let se=0;se<=162;se++)se!==1&&e.push(se);function t(...se){return{tokens:e.filter(V=>!se.some(ve=>ve===V)),isSpecific:!1}}const n={tokens:e,isSpecific:!1},s=n3([...e,3]),l=n3([...e,1]),f=G7e(81,162),d=G7e(29,78),g=[101,102,162,128,140,150],h=[45,46,54,53],k=[8,9,79,20,22,18,108,103],S=[79,20,108,103],w=[79,21,23,103],N=[79,20,108,103],O=[79,21,23,103],L=[2,3],U=[79,...xV],M=s,W=n3([79,3,84,93,100]),X=n3([21,3,90,111,96,91]),Z=[mi("IgnoreBeforeComment",n,L,DL,1),mi("IgnoreAfterLineComment",2,n,DL,1),mi("NotSpaceBeforeColon",n,58,[os,NL,Y7e],16),mi("SpaceAfterColon",58,n,[os,NL],4),mi("NoSpaceBeforeQuestionMark",n,57,[os,NL,Y7e],16),mi("SpaceAfterQuestionMarkInConditionalOperator",57,n,[os,Zmt],4),mi("NoSpaceAfterQuestionMark",57,n,[os],16),mi("NoSpaceBeforeDot",n,[24,28],[os,xht],16),mi("NoSpaceAfterDot",[24,28],n,[os],16),mi("NoSpaceBetweenImportParenInImportType",100,20,[os,lht],16),mi("NoSpaceAfterUnaryPrefixOperator",h,k,[os,NL],16),mi("NoSpaceAfterUnaryPreincrementOperator",45,S,[os],16),mi("NoSpaceAfterUnaryPredecrementOperator",46,N,[os],16),mi("NoSpaceBeforeUnaryPostincrementOperator",w,45,[os,_5e],16),mi("NoSpaceBeforeUnaryPostdecrementOperator",O,46,[os,_5e],16),mi("SpaceAfterPostincrementWhenFollowedByAdd",45,39,[os,d1],4),mi("SpaceAfterAddWhenFollowedByUnaryPlus",39,39,[os,d1],4),mi("SpaceAfterAddWhenFollowedByPreincrement",39,45,[os,d1],4),mi("SpaceAfterPostdecrementWhenFollowedBySubtract",46,40,[os,d1],4),mi("SpaceAfterSubtractWhenFollowedByUnaryMinus",40,40,[os,d1],4),mi("SpaceAfterSubtractWhenFollowedByPredecrement",40,46,[os,d1],4),mi("NoSpaceAfterCloseBrace",19,[27,26],[os],16),mi("NewLineBeforeCloseBraceInBlockContext",s,19,[K7e],8),mi("SpaceAfterCloseBrace",19,t(21),[os,tht],4),mi("SpaceBetweenCloseBraceAndElse",19,91,[os],4),mi("SpaceBetweenCloseBraceAndWhile",19,115,[os],4),mi("NoSpaceBetweenEmptyBraceBrackets",18,19,[os,s5e],16),mi("SpaceAfterConditionalClosingParen",21,22,[IL],4),mi("NoSpaceBetweenFunctionKeywordAndStar",98,41,[r5e],16),mi("SpaceAfterStarInGeneratorDeclaration",41,79,[r5e],4),mi("SpaceAfterFunctionInFuncDecl",98,n,[GT],4),mi("NewLineAfterOpenBraceInBlockContext",18,n,[K7e],8),mi("SpaceAfterGetSetInMember",[137,151],79,[GT],4),mi("NoSpaceBetweenYieldKeywordAndStar",125,41,[os,f5e],16),mi("SpaceBetweenYieldOrYieldStarAndOperand",[125,41],n,[os,f5e],4),mi("NoSpaceBetweenReturnAndSemicolon",105,26,[os],16),mi("SpaceAfterCertainKeywords",[113,109,103,89,105,112,133],n,[os],4),mi("SpaceAfterLetConstInVariableDeclaration",[119,85],n,[os,pht],4),mi("NoSpaceBeforeOpenParenInFuncCall",n,20,[os,iht,sht],16),mi("SpaceBeforeBinaryKeywordOperator",n,g,[os,d1],4),mi("SpaceAfterBinaryKeywordOperator",g,n,[os,d1],4),mi("SpaceAfterVoidOperator",114,n,[os,yht],4),mi("SpaceBetweenAsyncAndOpenParen",132,20,[cht,os],4),mi("SpaceBetweenAsyncAndFunctionKeyword",132,[98,79],[os],4),mi("NoSpaceBetweenTagAndTemplateString",[79,21],[14,15],[os],16),mi("SpaceBeforeJsxAttribute",n,79,[uht,os],4),mi("SpaceBeforeSlashInJsxOpeningElement",n,43,[c5e,os],4),mi("NoSpaceBeforeGreaterThanTokenInJsxOpeningElement",43,31,[c5e,os],16),mi("NoSpaceBeforeEqualInJsxAttribute",n,63,[o5e,os],16),mi("NoSpaceAfterEqualInJsxAttribute",63,n,[o5e,os],16),mi("NoSpaceAfterModuleImport",[142,147],20,[os],16),mi("SpaceAfterCertainTypeScriptKeywords",[126,127,84,136,88,92,93,94,137,117,100,118,142,143,121,123,122,146,151,124,154,158,141,138],n,[os],4),mi("SpaceBeforeCertainTypeScriptKeywords",n,[94,117,158],[os],4),mi("SpaceAfterModuleName",10,18,[dht],4),mi("SpaceBeforeArrow",n,38,[os],4),mi("SpaceAfterArrow",38,n,[os],4),mi("NoSpaceAfterEllipsis",25,79,[os],16),mi("NoSpaceAfterOptionalParameters",57,[21,27],[os,NL],16),mi("NoSpaceBetweenEmptyInterfaceBraceBrackets",18,19,[os,mht],16),mi("NoSpaceBeforeOpenAngularBracket",U,29,[os,OL],16),mi("NoSpaceBetweenCloseParenAndAngularBracket",21,29,[os,OL],16),mi("NoSpaceAfterOpenAngularBracket",29,n,[os,OL],16),mi("NoSpaceBeforeCloseAngularBracket",n,31,[os,OL],16),mi("NoSpaceAfterCloseAngularBracket",31,[20,22,31,27],[os,OL,eht,ght],16),mi("SpaceBeforeAt",[21,79],59,[os],4),mi("NoSpaceAfterAt",59,n,[os],16),mi("SpaceAfterDecorator",n,[126,79,93,88,84,124,123,121,122,137,151,22,41],[_ht],4),mi("NoSpaceBeforeNonNullAssertionOperator",n,53,[os,vht],16),mi("NoSpaceAfterNewKeywordOnConstructorSignature",103,20,[os,hht],16),mi("SpaceLessThanAndNonJSXTypeAnnotation",29,29,[os],4)],ue=[mi("SpaceAfterConstructor",135,20,[dp("insertSpaceAfterConstructor"),os],4),mi("NoSpaceAfterConstructor",135,20,[Am("insertSpaceAfterConstructor"),os],16),mi("SpaceAfterComma",27,n,[dp("insertSpaceAfterCommaDelimiter"),os,Hfe,aht,oht],4),mi("NoSpaceAfterComma",27,n,[Am("insertSpaceAfterCommaDelimiter"),os,Hfe],16),mi("SpaceAfterAnonymousFunctionKeyword",[98,41],20,[dp("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),GT],4),mi("NoSpaceAfterAnonymousFunctionKeyword",[98,41],20,[Am("insertSpaceAfterFunctionKeywordForAnonymousFunctions"),GT],16),mi("SpaceAfterKeywordInControl",f,20,[dp("insertSpaceAfterKeywordsInControlFlowStatements"),IL],4),mi("NoSpaceAfterKeywordInControl",f,20,[Am("insertSpaceAfterKeywordsInControlFlowStatements"),IL],16),mi("SpaceAfterOpenParen",20,n,[dp("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),os],4),mi("SpaceBeforeCloseParen",n,21,[dp("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),os],4),mi("SpaceBetweenOpenParens",20,20,[dp("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),os],4),mi("NoSpaceBetweenParens",20,21,[os],16),mi("NoSpaceAfterOpenParen",20,n,[Am("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),os],16),mi("NoSpaceBeforeCloseParen",n,21,[Am("insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis"),os],16),mi("SpaceAfterOpenBracket",22,n,[dp("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),os],4),mi("SpaceBeforeCloseBracket",n,23,[dp("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),os],4),mi("NoSpaceBetweenBrackets",22,23,[os],16),mi("NoSpaceAfterOpenBracket",22,n,[Am("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),os],16),mi("NoSpaceBeforeCloseBracket",n,23,[Am("insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets"),os],16),mi("SpaceAfterOpenBrace",18,n,[Q7e("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),Z7e],4),mi("SpaceBeforeCloseBrace",n,19,[Q7e("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),Z7e],4),mi("NoSpaceBetweenEmptyBraceBrackets",18,19,[os,s5e],16),mi("NoSpaceAfterOpenBrace",18,n,[Ufe("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),os],16),mi("NoSpaceBeforeCloseBrace",n,19,[Ufe("insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces"),os],16),mi("SpaceBetweenEmptyBraceBrackets",18,19,[dp("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces")],4),mi("NoSpaceBetweenEmptyBraceBrackets",18,19,[Ufe("insertSpaceAfterOpeningAndBeforeClosingEmptyBraces"),os],16),mi("SpaceAfterTemplateHeadAndMiddle",[15,16],n,[dp("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),a5e],4,1),mi("SpaceBeforeTemplateMiddleAndTail",n,[16,17],[dp("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),os],4),mi("NoSpaceAfterTemplateHeadAndMiddle",[15,16],n,[Am("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),a5e],16,1),mi("NoSpaceBeforeTemplateMiddleAndTail",n,[16,17],[Am("insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces"),os],16),mi("SpaceAfterOpenBraceInJsxExpression",18,n,[dp("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),os,mW],4),mi("SpaceBeforeCloseBraceInJsxExpression",n,19,[dp("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),os,mW],4),mi("NoSpaceAfterOpenBraceInJsxExpression",18,n,[Am("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),os,mW],16),mi("NoSpaceBeforeCloseBraceInJsxExpression",n,19,[Am("insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces"),os,mW],16),mi("SpaceAfterSemicolonInFor",26,n,[dp("insertSpaceAfterSemicolonInForStatements"),os,Vfe],4),mi("NoSpaceAfterSemicolonInFor",26,n,[Am("insertSpaceAfterSemicolonInForStatements"),os,Vfe],16),mi("SpaceBeforeBinaryOperator",n,d,[dp("insertSpaceBeforeAndAfterBinaryOperators"),os,d1],4),mi("SpaceAfterBinaryOperator",d,n,[dp("insertSpaceBeforeAndAfterBinaryOperators"),os,d1],4),mi("NoSpaceBeforeBinaryOperator",n,d,[Am("insertSpaceBeforeAndAfterBinaryOperators"),os,d1],16),mi("NoSpaceAfterBinaryOperator",d,n,[Am("insertSpaceBeforeAndAfterBinaryOperators"),os,d1],16),mi("SpaceBeforeOpenParenInFuncDecl",n,20,[dp("insertSpaceBeforeFunctionParenthesis"),os,GT],4),mi("NoSpaceBeforeOpenParenInFuncDecl",n,20,[Am("insertSpaceBeforeFunctionParenthesis"),os,GT],16),mi("NewLineBeforeOpenBraceInControl",X,18,[dp("placeOpenBraceOnNewLineForControlBlocks"),IL,Wfe],8,1),mi("NewLineBeforeOpenBraceInFunction",M,18,[dp("placeOpenBraceOnNewLineForFunctions"),GT,Wfe],8,1),mi("NewLineBeforeOpenBraceInTypeScriptDeclWithBlock",W,18,[dp("placeOpenBraceOnNewLineForFunctions"),n5e,Wfe],8,1),mi("SpaceAfterTypeAssertion",31,n,[dp("insertSpaceAfterTypeAssertion"),os,Xfe],4),mi("NoSpaceAfterTypeAssertion",31,n,[Am("insertSpaceAfterTypeAssertion"),os,Xfe],16),mi("SpaceBeforeTypeAnnotation",n,[57,58],[dp("insertSpaceBeforeTypeAnnotation"),os,$fe],4),mi("NoSpaceBeforeTypeAnnotation",n,[57,58],[Am("insertSpaceBeforeTypeAnnotation"),os,$fe],16),mi("NoOptionalSemicolon",26,l,[X7e("semicolons","remove"),Tht],32),mi("OptionalSemicolon",n,l,[X7e("semicolons","insert"),Sht],64)],ie=[mi("NoSpaceBeforeSemicolon",n,26,[os],16),mi("SpaceBeforeOpenBraceInControl",X,18,[zfe("placeOpenBraceOnNewLineForControlBlocks"),IL,Gfe,qfe],4,1),mi("SpaceBeforeOpenBraceInFunction",M,18,[zfe("placeOpenBraceOnNewLineForFunctions"),GT,dW,Gfe,qfe],4,1),mi("SpaceBeforeOpenBraceInTypeScriptDeclWithBlock",W,18,[zfe("placeOpenBraceOnNewLineForFunctions"),n5e,Gfe,qfe],4,1),mi("NoSpaceBeforeComma",n,27,[os],16),mi("NoSpaceBeforeOpenBracket",t(132,82),22,[os],16),mi("NoSpaceAfterCloseBracket",23,n,[os,fht],16),mi("SpaceAfterSemicolon",26,n,[os],4),mi("SpaceBetweenForAndAwaitKeyword",97,133,[os],4),mi("SpaceBetweenStatements",[21,90,91,82],n,[os,Hfe,Ymt],4),mi("SpaceAfterTryCatchFinally",[111,83,96],18,[os],4)];return[...Z,...ue,...ie]}function mi(e,t,n,s,l,f=0){return{leftTokenRange:H7e(t),rightTokenRange:H7e(n),rule:{debugName:e,context:s,action:l,flags:f}}}function n3(e){return{tokens:e,isSpecific:!0}}function H7e(e){return typeof e=="number"?n3([e]):pa(e)?n3(e):e}function G7e(e,t,n=[]){const s=[];for(let l=e;l<=t;l++)xt(n,l)||s.push(l);return n3(s)}function X7e(e,t){return n=>n.options&&n.options[e]===t}function dp(e){return t=>t.options&&mc(t.options,e)&&!!t.options[e]}function Ufe(e){return t=>t.options&&mc(t.options,e)&&!t.options[e]}function Am(e){return t=>!t.options||!mc(t.options,e)||!t.options[e]}function zfe(e){return t=>!t.options||!mc(t.options,e)||!t.options[e]||t.TokensAreOnSameLine()}function Q7e(e){return t=>!t.options||!mc(t.options,e)||!!t.options[e]}function Vfe(e){return e.contextNode.kind===245}function Ymt(e){return!Vfe(e)}function d1(e){switch(e.contextNode.kind){case 223:return e.contextNode.operatorToken.kind!==27;case 224:case 191:case 231:case 278:case 273:case 179:case 189:case 190:case 235:return!0;case 205:case 262:case 268:case 274:case 257:case 166:case 302:case 169:case 168:return e.currentTokenSpan.kind===63||e.nextTokenSpan.kind===63;case 246:case 165:return e.currentTokenSpan.kind===101||e.nextTokenSpan.kind===101||e.currentTokenSpan.kind===63||e.nextTokenSpan.kind===63;case 247:return e.currentTokenSpan.kind===162||e.nextTokenSpan.kind===162}return!1}function NL(e){return!d1(e)}function Y7e(e){return!$fe(e)}function $fe(e){const t=e.contextNode.kind;return t===169||t===168||t===166||t===257||DC(t)}function Zmt(e){return e.contextNode.kind===224||e.contextNode.kind===191}function qfe(e){return e.TokensAreOnSameLine()||dW(e)}function Z7e(e){return e.contextNode.kind===203||e.contextNode.kind===197||Kmt(e)}function Wfe(e){return dW(e)&&!(e.NextNodeAllOnSameLine()||e.NextNodeBlockIsOnOneLine())}function K7e(e){return e5e(e)&&!(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}function Kmt(e){return e5e(e)&&(e.ContextNodeAllOnSameLine()||e.ContextNodeBlockIsOnOneLine())}function e5e(e){return t5e(e.contextNode)}function dW(e){return t5e(e.nextTokenParent)}function t5e(e){if(i5e(e))return!0;switch(e.kind){case 238:case 266:case 207:case 265:return!0}return!1}function GT(e){switch(e.contextNode.kind){case 259:case 171:case 170:case 174:case 175:case 176:case 215:case 173:case 216:case 261:return!0}return!1}function eht(e){return!GT(e)}function r5e(e){return e.contextNode.kind===259||e.contextNode.kind===215}function n5e(e){return i5e(e.contextNode)}function i5e(e){switch(e.kind){case 260:case 228:case 261:case 263:case 184:case 264:case 275:case 276:case 269:case 272:return!0}return!1}function tht(e){switch(e.currentTokenParent.kind){case 260:case 264:case 263:case 295:case 265:case 252:return!0;case 238:{const t=e.currentTokenParent.parent;if(!t||t.kind!==216&&t.kind!==215)return!0}}return!1}function IL(e){switch(e.contextNode.kind){case 242:case 252:case 245:case 246:case 247:case 244:case 255:case 243:case 251:case 295:return!0;default:return!1}}function s5e(e){return e.contextNode.kind===207}function rht(e){return e.contextNode.kind===210}function nht(e){return e.contextNode.kind===211}function iht(e){return rht(e)||nht(e)}function sht(e){return e.currentTokenSpan.kind!==27}function aht(e){return e.nextTokenSpan.kind!==23}function oht(e){return e.nextTokenSpan.kind!==21}function cht(e){return e.contextNode.kind===216}function lht(e){return e.contextNode.kind===202}function os(e){return e.TokensAreOnSameLine()&&e.contextNode.kind!==11}function a5e(e){return e.contextNode.kind!==11}function Hfe(e){return e.contextNode.kind!==281&&e.contextNode.kind!==285}function mW(e){return e.contextNode.kind===291||e.contextNode.kind===290}function uht(e){return e.nextTokenParent.kind===288}function o5e(e){return e.contextNode.kind===288}function c5e(e){return e.contextNode.kind===282}function fht(e){return!GT(e)&&!dW(e)}function _ht(e){return e.TokensAreOnSameLine()&&ed(e.contextNode)&&l5e(e.currentTokenParent)&&!l5e(e.nextTokenParent)}function l5e(e){for(;e&&Dt(e);)e=e.parent;return e&&e.kind===167}function pht(e){return e.currentTokenParent.kind===258&&e.currentTokenParent.getStart(e.sourceFile)===e.currentTokenSpan.pos}function Gfe(e){return e.formattingRequestKind!==2}function dht(e){return e.contextNode.kind===264}function mht(e){return e.contextNode.kind===184}function hht(e){return e.contextNode.kind===177}function u5e(e,t){if(e.kind!==29&&e.kind!==31)return!1;switch(t.kind){case 180:case 213:case 262:case 260:case 228:case 261:case 259:case 215:case 216:case 171:case 170:case 176:case 177:case 210:case 211:case 230:return!0;default:return!1}}function OL(e){return u5e(e.currentTokenSpan,e.currentTokenParent)||u5e(e.nextTokenSpan,e.nextTokenParent)}function Xfe(e){return e.contextNode.kind===213}function ght(e){return!Xfe(e)}function yht(e){return e.currentTokenSpan.kind===114&&e.currentTokenParent.kind===219}function f5e(e){return e.contextNode.kind===226&&e.contextNode.expression!==void 0}function vht(e){return e.contextNode.kind===232}function _5e(e){return!bht(e)}function bht(e){switch(e.contextNode.kind){case 242:case 245:case 246:case 247:case 243:case 244:return!0;default:return!1}}function Tht(e){let t=e.nextTokenSpan.kind,n=e.nextTokenSpan.pos;if(q6(t)){const f=e.nextTokenParent===e.currentTokenParent?tk(e.currentTokenParent,kn(e.currentTokenParent,d=>!d.parent),e.sourceFile):e.nextTokenParent.getFirstToken(e.sourceFile);if(!f)return!0;t=f.kind,n=f.getStart(e.sourceFile)}const s=e.sourceFile.getLineAndCharacterOfPosition(e.currentTokenSpan.pos).line,l=e.sourceFile.getLineAndCharacterOfPosition(n).line;return s===l?t===19||t===1:t===237||t===26?!1:e.contextNode.kind===261||e.contextNode.kind===262?!Np(e.currentTokenParent)||!!e.currentTokenParent.type||t!==20:Pa(e.currentTokenParent)?!e.currentTokenParent.initializer:e.currentTokenParent.kind!==245&&e.currentTokenParent.kind!==239&&e.currentTokenParent.kind!==237&&t!==22&&t!==20&&t!==39&&t!==40&&t!==43&&t!==13&&t!==27&&t!==225&&t!==15&&t!==14&&t!==24}function Sht(e){return uV(e.currentTokenSpan.end,e.currentTokenParent,e.sourceFile)}function xht(e){return!oi(e.contextNode)||!Td(e.contextNode.expression)||e.contextNode.expression.getText().indexOf(".")!==-1}var kht=p({"src/services/formatting/rules.ts"(){Si(),x8()}});function Cht(e,t){return{options:e,getRules:wht(),host:t}}function wht(){return Qfe===void 0&&(Qfe=Aht(W7e())),Qfe}function Eht(e){let t=0;return e&1&&(t|=28),e&2&&(t|=96),e&28&&(t|=28),e&96&&(t|=96),t}function Aht(e){const t=Pht(e);return n=>{const s=t[p5e(n.currentTokenSpan.kind,n.nextTokenSpan.kind)];if(s){const l=[];let f=0;for(const d of s){const g=~Eht(f);d.action&g&&ut(d.context,h=>h(n))&&(l.push(d),f|=d.action)}if(l.length)return l}}}function Pht(e){const t=new Array(hW*hW),n=new Array(t.length);for(const s of e){const l=s.leftTokenRange.isSpecific&&s.rightTokenRange.isSpecific;for(const f of s.leftTokenRange.tokens)for(const d of s.rightTokenRange.tokens){const g=p5e(f,d);let h=t[g];h===void 0&&(h=t[g]=[]),Dht(h,s.rule,l,n,g)}}return t}function p5e(e,t){return R.assert(e<=162&&t<=162,"Must compute formatting context from tokens"),e*hW+t}function Dht(e,t,n,s,l){const f=t.action&3?n?0:i3.StopRulesAny:t.context!==DL?n?i3.ContextRulesSpecific:i3.ContextRulesAny:n?i3.NoContextRulesSpecific:i3.NoContextRulesAny,d=s[l]||0;e.splice(Nht(d,f),0,t),s[l]=Iht(d,f)}function Nht(e,t){let n=0;for(let s=0;s<=t;s+=qw)n+=e&LL,e>>=qw;return n}function Iht(e,t){const n=(e>>t&LL)+1;return R.assert((n&LL)===n,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),e&~(LL<<t)|n<<t}var Qfe,qw,LL,hW,i3,Oht=p({"src/services/formatting/rulesMap.ts"(){Si(),x8(),qw=5,LL=31,hW=162+1,i3=(e=>(e[e.StopRulesSpecific=0]="StopRulesSpecific",e[e.StopRulesAny=qw*1]="StopRulesAny",e[e.ContextRulesSpecific=qw*2]="ContextRulesSpecific",e[e.ContextRulesAny=qw*3]="ContextRulesAny",e[e.NoContextRulesSpecific=qw*4]="NoContextRulesSpecific",e[e.NoContextRulesAny=qw*5]="NoContextRulesAny",e))(i3||{})}});function gW(e,t,n){const s={pos:e,end:t,kind:n};return R.isDebugging&&Object.defineProperty(s,"__debugKind",{get:()=>R.formatSyntaxKind(n)}),s}function Lht(e,t,n){const s=t.getLineAndCharacterOfPosition(e).line;if(s===0)return[];let l=A7(s,t);for(;zh(t.text.charCodeAt(l));)l--;af(t.text.charCodeAt(l))&&l--;const f={pos:dv(s-1,t),end:l+1};return ML(f,t,n,2)}function Mht(e,t,n){const s=Yfe(e,26,t);return d5e(Zfe(s),t,n,3)}function Fht(e,t,n){const s=Yfe(e,18,t);if(!s)return[];const l=s.parent,f=Zfe(l),d={pos:kd(f.getStart(t),t),end:e};return ML(d,t,n,4)}function Rht(e,t,n){const s=Yfe(e,19,t);return d5e(Zfe(s),t,n,5)}function Bht(e,t){const n={pos:0,end:e.text.length};return ML(n,e,t,0)}function jht(e,t,n,s){const l={pos:kd(e,n),end:t};return ML(l,n,s,1)}function Yfe(e,t,n){const s=fu(e,n);return s&&s.kind===t&&e===s.getEnd()?s:void 0}function Zfe(e){let t=e;for(;t&&t.parent&&t.parent.end===e.end&&!Jht(t.parent,t);)t=t.parent;return t}function Jht(e,t){switch(e.kind){case 260:case 261:return pp(e.members,t);case 264:const n=e.body;return!!n&&n.kind===265&&pp(n.statements,t);case 308:case 238:case 265:return pp(e.statements,t);case 295:return pp(e.block.statements,t)}return!1}function Uht(e,t){return n(t);function n(s){const l=ca(s,f=>dae(f.getStart(t),f.end,e)&&f);if(l){const f=n(l);if(f)return f}return s}}function zht(e,t){if(!e.length)return l;const n=e.filter(f=>RD(t,f.start,f.start+f.length)).sort((f,d)=>f.start-d.start);if(!n.length)return l;let s=0;return f=>{for(;;){if(s>=n.length)return!1;const d=n[s];if(f.end<=d.start)return!1;if(jz(f.pos,f.end,d.start,d.start+d.length))return!0;s++}};function l(){return!1}}function Vht(e,t,n){const s=e.getStart(n);if(s===t.pos&&e.end===t.end)return s;const l=fu(t.pos,n);return!l||l.end>=t.pos?e.pos:l.end}function $ht(e,t,n){let s=-1,l;for(;e;){const f=n.getLineAndCharacterOfPosition(e.getStart(n)).line;if(s!==-1&&f!==s)break;if(Pm.shouldIndentChildNode(t,e,l,n))return t.indentSize;s=f,l=e,e=e.parent}return 0}function qht(e,t,n,s,l,f){const d={pos:e.pos,end:e.end};return Bfe(t.text,n,d.pos,d.end,g=>m5e(d,e,s,l,g,f,1,h=>!1,t))}function d5e(e,t,n,s){if(!e)return[];const l={pos:kd(e.getStart(t),t),end:e.end};return ML(l,t,n,s)}function ML(e,t,n,s){const l=Uht(e,t);return Bfe(t.text,t.languageVariant,Vht(l,e,t),e.end,f=>m5e(e,l,Pm.getIndentationForNode(l,e,t,n.options),$ht(l,n.options,t),f,n,s,zht(t.parseDiagnostics,e),t))}function m5e(e,t,n,s,l,{options:f,getRules:d,host:g},h,k,S){var w;const N=new Rfe(S,h,f);let O,L,U,M,W,X=-1;const Z=[];if(l.advance(),l.isOnToken()){const Ke=S.getLineAndCharacterOfPosition(t.getStart(S)).line;let We=Ke;ed(t)&&(We=S.getLineAndCharacterOfPosition(NK(t,S)).line),ve(t,t,Ke,We,n,s)}if(!l.isOnToken()){const Ke=Pm.nodeWillIndentChild(f,t,void 0,S,!1)?n+f.indentSize:n,We=l.getCurrentLeadingTrivia();We&&(fe(We,Ke,!1,gt=>_e(gt,S.getLineAndCharacterOfPosition(gt.pos),t,t,void 0)),f.trimTrailingWhitespace!==!1&&Qe(We))}if(L&&l.getStartPos()>=e.end){const Ke=l.isOnEOF()?l.readEOFTokenRange():l.isOnToken()?l.readTokenInfo(t).token:void 0;if(Ke&&Ke.pos===O){const We=((w=fu(Ke.end,S,t))==null?void 0:w.parent)||U;K(Ke,S.getLineAndCharacterOfPosition(Ke.pos).line,We,L,M,U,We,void 0)}}return Z;function ue(Ke,We,gt,jt,It){if(RD(jt,Ke,We)||S9(jt,Ke,We)){if(It!==-1)return It}else{const er=S.getLineAndCharacterOfPosition(Ke).line,ft=kd(Ke,S),mt=Pm.findFirstNonWhitespaceColumn(ft,Ke,S,f);if(er!==gt||Ke===mt){const xr=Pm.getBaseIndentation(f);return xr>mt?xr:mt}}return-1}function ie(Ke,We,gt,jt,It,er){const ft=Pm.shouldIndentChildNode(f,Ke)?f.indentSize:0;return er===We?{indentation:We===W?X:It.getIndentation(),delta:Math.min(f.indentSize,It.getDelta(Ke)+ft)}:gt===-1?Ke.kind===20&&We===W?{indentation:X,delta:It.getDelta(Ke)}:Pm.childStartsOnTheSameLineWithElseInIfStatement(jt,Ke,We,S)||Pm.childIsUnindentedBranchOfConditionalExpression(jt,Ke,We,S)||Pm.argumentStartsOnSameLineAsPreviousArgument(jt,Ke,We,S)?{indentation:It.getIndentation(),delta:ft}:{indentation:It.getIndentation()+It.getDelta(Ke),delta:ft}:{indentation:gt,delta:ft}}function se(Ke){if(Qd(Ke)){const We=He(Ke.modifiers,ja,ar(Ke.modifiers,Df));if(We)return We.kind}switch(Ke.kind){case 260:return 84;case 261:return 118;case 259:return 98;case 263:return 263;case 174:return 137;case 175:return 151;case 171:if(Ke.asteriskToken)return 41;case 169:case 166:const We=ra(Ke);if(We)return We.kind}}function V(Ke,We,gt,jt){return{getIndentationForComment:(ft,mt,xr)=>{switch(ft){case 19:case 23:case 21:return gt+er(xr)}return mt!==-1?mt:gt},getIndentationForToken:(ft,mt,xr,dr)=>!dr&&It(ft,mt,xr)?gt+er(xr):gt,getIndentation:()=>gt,getDelta:er,recomputeIndentation:(ft,mt)=>{Pm.shouldIndentChildNode(f,mt,Ke,S)&&(gt+=ft?f.indentSize:-f.indentSize,jt=Pm.shouldIndentChildNode(f,Ke)?f.indentSize:0)}};function It(ft,mt,xr){switch(mt){case 18:case 19:case 21:case 91:case 115:case 59:return!1;case 43:case 31:switch(xr.kind){case 283:case 284:case 282:return!1}break;case 22:case 23:if(xr.kind!==197)return!1;break}return We!==ft&&!(ed(Ke)&&mt===se(Ke))}function er(ft){return Pm.nodeWillIndentChild(f,Ke,ft,S,!0)?jt:0}}function ve(Ke,We,gt,jt,It,er){if(!RD(e,Ke.getStart(S),Ke.getEnd()))return;const ft=V(Ke,gt,It,er);let mt=We;for(ca(Ke,un=>{xr(un,-1,Ke,ft,gt,jt,!1)},un=>{dr(un,Ke,gt,ft)});l.isOnToken()&&l.getStartPos()<e.end;){const un=l.readTokenInfo(Ke);if(un.token.end>Math.min(Ke.end,e.end))break;rn(un,Ke,ft,Ke)}function xr(un,Gr,mr,Fn,ts,ws,Es,ii){if(R.assert(!Mc(un)),cl(un)||qbe(mr,un))return Gr;const Rt=un.getStart(S),Rr=S.getLineAndCharacterOfPosition(Rt).line;let rr=Rr;ed(un)&&(rr=S.getLineAndCharacterOfPosition(NK(un,S)).line);let Pr=-1;if(Es&&pp(e,mr)&&(Pr=ue(Rt,un.end,ts,e,Gr),Pr!==-1&&(Gr=Pr)),!RD(e,un.pos,un.end))return un.end<e.pos&&l.skipToEndOf(un),Gr;if(un.getFullWidth()===0)return Gr;for(;l.isOnToken()&&l.getStartPos()<e.end;){const cs=l.readTokenInfo(Ke);if(cs.token.end>e.end)return Gr;if(cs.token.end>Rt){cs.token.pos>Rt&&l.skipToStartOf(un);break}rn(cs,Ke,Fn,Ke)}if(!l.isOnToken()||l.getStartPos()>=e.end)return Gr;if(EC(un)){const cs=l.readTokenInfo(un);if(un.kind!==11)return R.assert(cs.token.end===un.end,"Token end is child end"),rn(cs,Ke,Fn,un),Gr}const Cn=un.kind===167?Rr:ws,Nn=ie(un,Rr,Pr,Ke,Fn,Cn);return ve(un,mt,Rr,rr,Nn.indentation,Nn.delta),mt=Ke,ii&&mr.kind===206&&Gr===-1&&(Gr=Nn.indentation),Gr}function dr(un,Gr,mr,Fn){R.assert(_T(un)),R.assert(!Mc(un));const ts=Wht(Gr,un);let ws=Fn,Es=mr;if(!RD(e,un.pos,un.end)){un.end<e.pos&&l.skipToEndOf(un);return}if(ts!==0)for(;l.isOnToken()&&l.getStartPos()<e.end;){const Rr=l.readTokenInfo(Gr);if(Rr.token.end>un.pos)break;if(Rr.token.kind===ts){Es=S.getLineAndCharacterOfPosition(Rr.token.pos).line,rn(Rr,Gr,Fn,Gr);let rr;if(X!==-1)rr=X;else{const Pr=kd(Rr.token.pos,S);rr=Pm.findFirstNonWhitespaceColumn(Pr,Rr.token.pos,S,f)}ws=V(Gr,mr,rr,f.indentSize)}else rn(Rr,Gr,Fn,Gr)}let ii=-1;for(let Rr=0;Rr<un.length;Rr++){const rr=un[Rr];ii=xr(rr,ii,Ke,ws,Es,Es,!0,Rr===0)}const Rt=Hht(ts);if(Rt!==0&&l.isOnToken()&&l.getStartPos()<e.end){let Rr=l.readTokenInfo(Gr);Rr.token.kind===27&&(rn(Rr,Gr,ws,Gr),Rr=l.isOnToken()?l.readTokenInfo(Gr):void 0),Rr&&Rr.token.kind===Rt&&pp(Gr,Rr.token)&&rn(Rr,Gr,ws,Gr,!0)}}function rn(un,Gr,mr,Fn,ts){R.assert(pp(Gr,un.token));const ws=l.lastTrailingTriviaWasNewLine();let Es=!1;un.leadingTrivia&&Ce(un.leadingTrivia,Gr,mt,mr);let ii=0;const Rt=pp(e,un.token),Rr=S.getLineAndCharacterOfPosition(un.token.pos);if(Rt){const rr=k(un.token),Pr=L;if(ii=_e(un.token,Rr,Gr,mt,mr),!rr)if(ii===0){const Cn=Pr&&S.getLineAndCharacterOfPosition(Pr.end).line;Es=ws&&Rr.line!==Cn}else Es=ii===1}if(un.trailingTrivia&&(O=ko(un.trailingTrivia).end,Ce(un.trailingTrivia,Gr,mt,mr)),Es){const rr=Rt&&!k(un.token)?mr.getIndentationForToken(Rr.line,un.token.kind,Fn,!!ts):-1;let Pr=!0;if(un.leadingTrivia){const Cn=mr.getIndentationForComment(un.token.kind,rr,Fn);Pr=fe(un.leadingTrivia,Cn,Pr,Nn=>ge(Nn.pos,Cn,!1))}rr!==-1&&Pr&&(ge(un.token.pos,rr,ii===1),W=Rr.line,X=rr)}l.advance(),mt=Gr}}function fe(Ke,We,gt,jt){for(const It of Ke){const er=pp(e,It);switch(It.kind){case 3:er&&Pe(It,We,!gt),gt=!1;break;case 2:gt&&er&&jt(It),gt=!1;break;case 4:gt=!0;break}}return gt}function Ce(Ke,We,gt,jt){for(const It of Ke)if(Hz(It.kind)&&pp(e,It)){const er=S.getLineAndCharacterOfPosition(It.pos);_e(It,er,We,gt,jt)}}function _e(Ke,We,gt,jt,It){const er=k(Ke);let ft=0;if(!er)if(L)ft=K(Ke,We.line,gt,L,M,U,jt,It);else{const mt=S.getLineAndCharacterOfPosition(e.pos);le(mt.line,We.line)}return L=Ke,O=Ke.end,U=gt,M=We.line,ft}function K(Ke,We,gt,jt,It,er,ft,mt){N.updateContext(jt,er,Ke,gt,ft);const xr=d(N);let dr=N.options.trimTrailingWhitespace!==!1,rn=0;return xr?Ie(xr,un=>{if(rn=st(un,jt,It,Ke,We),mt)switch(rn){case 2:gt.getStart(S)===Ke.pos&&mt.recomputeIndentation(!1,ft);break;case 1:gt.getStart(S)===Ke.pos&&mt.recomputeIndentation(!0,ft);break;default:R.assert(rn===0)}dr=dr&&!(un.action&16)&&un.flags!==1}):dr=dr&&Ke.kind!==1,We!==It&&dr&&le(It,We,jt),rn}function ge(Ke,We,gt){const jt=Kfe(We,f);if(gt)Je(Ke,0,jt);else{const It=S.getLineAndCharacterOfPosition(Ke),er=dv(It.line,S);(We!==Se(er,It.character)||we(jt,er))&&Je(er,It.character,jt)}}function Se(Ke,We){let gt=0;for(let jt=0;jt<We;jt++)S.text.charCodeAt(Ke+jt)===9?gt+=f.tabSize-gt%f.tabSize:gt++;return gt}function we(Ke,We){return Ke!==S.text.substr(We,Ke.length)}function Pe(Ke,We,gt,jt=!0){let It=S.getLineAndCharacterOfPosition(Ke.pos).line;const er=S.getLineAndCharacterOfPosition(Ke.end).line;if(It===er){gt||ge(Ke.pos,We,!1);return}const ft=[];let mt=Ke.pos;for(let Gr=It;Gr<er;Gr++){const mr=A7(Gr,S);ft.push({pos:mt,end:mr}),mt=dv(Gr+1,S)}if(jt&&ft.push({pos:mt,end:Ke.end}),ft.length===0)return;const xr=dv(It,S),dr=Pm.findFirstNonWhitespaceCharacterAndColumn(xr,ft[0].pos,S,f);let rn=0;gt&&(rn=1,It++);const un=We-dr.column;for(let Gr=rn;Gr<ft.length;Gr++,It++){const mr=dv(It,S),Fn=Gr===0?dr:Pm.findFirstNonWhitespaceCharacterAndColumn(ft[Gr].pos,ft[Gr].end,S,f),ts=Fn.column+un;if(ts>0){const ws=Kfe(ts,f);Je(mr,Fn.character,ws)}else tt(mr,Fn.character)}}function le(Ke,We,gt){for(let jt=Ke;jt<We;jt++){const It=dv(jt,S),er=A7(jt,S);if(gt&&(Hz(gt.kind)||kae(gt.kind))&&gt.pos<=er&&gt.end>er)continue;const ft=ot(It,er);ft!==-1&&(R.assert(ft===It||!zh(S.text.charCodeAt(ft-1))),tt(ft,er+1-ft))}}function ot(Ke,We){let gt=We;for(;gt>=Ke&&zh(S.text.charCodeAt(gt));)gt--;return gt!==We?gt+1:-1}function Qe(Ke){let We=L?L.end:e.pos;for(const gt of Ke)Hz(gt.kind)&&(We<gt.pos&&Ge(We,gt.pos-1,L),We=gt.end+1);We<e.end&&Ge(We,e.end,L)}function Ge(Ke,We,gt){const jt=S.getLineAndCharacterOfPosition(Ke).line,It=S.getLineAndCharacterOfPosition(We).line;le(jt,It+1,gt)}function tt(Ke,We){We&&Z.push(Xz(Ke,We,""))}function Je(Ke,We,gt){(We||gt)&&Z.push(Xz(Ke,We,gt))}function qe(Ke,We){We&&Z.push(Xz(Ke,0,We))}function st(Ke,We,gt,jt,It){const er=It!==gt;switch(Ke.action){case 1:return 0;case 16:if(We.end!==jt.pos)return tt(We.end,jt.pos-We.end),er?2:0;break;case 32:tt(We.pos,We.end-We.pos);break;case 8:if(Ke.flags!==1&&gt!==It)return 0;if(It-gt!==1)return Je(We.end,jt.pos-We.end,Zb(g,f)),er?0:1;break;case 4:if(Ke.flags!==1&&gt!==It)return 0;if(jt.pos-We.end!==1||S.text.charCodeAt(We.end)!==32)return Je(We.end,jt.pos-We.end," "),er?2:0;break;case 64:qe(We.end,";")}return 0}}function h5e(e,t,n,s=Os(e,t)){const l=kn(s,ig);if(l&&(s=l.parent),s.getStart(e)<=t&&t<s.getEnd())return;n=n===null?void 0:n===void 0?fu(t,e):n;const d=n&&Ib(e.text,n.end),g=WK(s,e),h=Cr(d,g);return h&&He(h,k=>T9(k,t)||t===k.end&&(k.kind===2||t===e.getFullWidth()))}function Wht(e,t){switch(e.kind){case 173:case 259:case 215:case 171:case 170:case 216:case 176:case 177:case 181:case 182:case 174:case 175:if(e.typeParameters===t)return 29;if(e.parameters===t)return 20;break;case 210:case 211:if(e.typeArguments===t)return 29;if(e.arguments===t)return 20;break;case 260:case 228:case 261:case 262:if(e.typeParameters===t)return 29;break;case 180:case 212:case 183:case 230:case 202:if(e.typeArguments===t)return 29;break;case 184:return 18}return 0}function Hht(e){switch(e){case 20:return 21;case 29:return 31;case 18:return 19}return 0}function Kfe(e,t){if((!yW||yW.tabSize!==t.tabSize||yW.indentSize!==t.indentSize)&&(yW={tabSize:t.tabSize,indentSize:t.indentSize},T8=S8=void 0),t.convertTabsToSpaces){let s;const l=Math.floor(e/t.indentSize),f=e%t.indentSize;return S8||(S8=[]),S8[l]===void 0?(s=P9(" ",t.indentSize*l),S8[l]=s):s=S8[l],f?s+P9(" ",f):s}else{const s=Math.floor(e/t.tabSize),l=e-s*t.tabSize;let f;return T8||(T8=[]),T8[s]===void 0?T8[s]=f=P9(" ",s):f=T8[s],l?f+P9(" ",l):f}}var yW,T8,S8,Ght=p({"src/services/formatting/formatting.ts"(){Si(),x8()}}),Pm,Xht=p({"src/services/formatting/smartIndenter.ts"(){Si(),x8(),(e=>{let t;(le=>{le[le.Unknown=-1]="Unknown"})(t||(t={}));function n(le,ot,Qe,Ge=!1){if(le>ot.text.length)return g(Qe);if(Qe.indentStyle===0)return 0;const tt=fu(le,ot,void 0,!0),Je=h5e(ot,le,tt||null);if(Je&&Je.kind===3)return s(ot,le,Qe,Je);if(!tt)return g(Qe);if(kae(tt.kind)&&tt.getStart(ot)<=le&&le<tt.end)return 0;const st=ot.getLineAndCharacterOfPosition(le).line,Ke=Os(ot,le),We=Ke.kind===18&&Ke.parent.kind===207;if(Qe.indentStyle===1||We)return l(ot,le,Qe);if(tt.kind===27&&tt.parent.kind!==223){const jt=S(tt,ot,Qe);if(jt!==-1)return jt}const gt=ue(le,tt.parent,ot);if(gt&&!pp(gt,tt)){const It=[215,216].indexOf(Ke.parent.kind)!==-1?0:Qe.indentSize;return V(gt,ot,Qe)+It}return f(ot,le,tt,st,Ge,Qe)}e.getIndentation=n;function s(le,ot,Qe,Ge){const tt=zc(le,ot).line-1,Je=zc(le,Ge.pos).line;if(R.assert(Je>=0),tt<=Je)return K(dv(Je,le),ot,le,Qe);const qe=dv(tt,le),{column:st,character:Ke}=_e(qe,ot,le,Qe);return st===0?st:le.text.charCodeAt(qe+Ke)===42?st-1:st}function l(le,ot,Qe){let Ge=ot;for(;Ge>0;){const Je=le.text.charCodeAt(Ge);if(!Dy(Je))break;Ge--}const tt=kd(Ge,le);return K(tt,Ge,le,Qe)}function f(le,ot,Qe,Ge,tt,Je){let qe,st=Qe;for(;st;){if(hae(st,ot,le)&&we(Je,st,qe,le,!0)){const We=L(st,le),gt=O(Qe,st,Ge,le),jt=gt!==0?tt&&gt===2?Je.indentSize:0:Ge!==We.line?Je.indentSize:0;return h(st,We,void 0,jt,le,!0,Je)}const Ke=ve(st,le,Je,!0);if(Ke!==-1)return Ke;qe=st,st=st.parent}return g(Je)}function d(le,ot,Qe,Ge){const tt=Qe.getLineAndCharacterOfPosition(le.getStart(Qe));return h(le,tt,ot,0,Qe,!1,Ge)}e.getIndentationForNode=d;function g(le){return le.baseIndentSize||0}e.getBaseIndentation=g;function h(le,ot,Qe,Ge,tt,Je,qe){var st;let Ke=le.parent;for(;Ke;){let We=!0;if(Qe){const er=le.getStart(tt);We=er<Qe.pos||er>Qe.end}const gt=k(Ke,le,tt),jt=gt.line===ot.line||M(Ke,le,ot.line,tt);if(We){const er=(st=Z(le,tt))==null?void 0:st[0],ft=!!er&&L(er,tt).line>gt.line;let mt=ve(le,tt,qe,ft);if(mt!==-1||(mt=w(le,Ke,ot,jt,tt,qe),mt!==-1))return mt+Ge}we(qe,Ke,le,tt,Je)&&!jt&&(Ge+=qe.indentSize);const It=U(Ke,le,ot.line,tt);le=Ke,Ke=le.parent,ot=It?tt.getLineAndCharacterOfPosition(le.getStart(tt)):gt}return Ge+g(qe)}function k(le,ot,Qe){const Ge=Z(ot,Qe),tt=Ge?Ge.pos:le.getStart(Qe);return Qe.getLineAndCharacterOfPosition(tt)}function S(le,ot,Qe){const Ge=I6e(le);return Ge&&Ge.listItemIndex>0?fe(Ge.list.getChildren(),Ge.listItemIndex-1,ot,Qe):-1}function w(le,ot,Qe,Ge,tt,Je){return(lf(le)||x7(le))&&(ot.kind===308||!Ge)?Ce(Qe,tt,Je):-1}let N;(le=>{le[le.Unknown=0]="Unknown",le[le.OpenBrace=1]="OpenBrace",le[le.CloseBrace=2]="CloseBrace"})(N||(N={}));function O(le,ot,Qe,Ge){const tt=tk(le,ot,Ge);if(!tt)return 0;if(tt.kind===18)return 1;if(tt.kind===19){const Je=L(tt,Ge).line;return Qe===Je?2:0}return 0}function L(le,ot){return ot.getLineAndCharacterOfPosition(le.getStart(ot))}function U(le,ot,Qe,Ge){if(!(Da(le)&&xt(le.arguments,ot)))return!1;const tt=le.expression.getEnd();return zc(Ge,tt).line===Qe}e.isArgumentAndStartLineOverlapsExpressionBeingCalled=U;function M(le,ot,Qe,Ge){if(le.kind===242&&le.elseStatement===ot){const tt=Yo(le,91,Ge);return R.assert(tt!==void 0),L(tt,Ge).line===Qe}return!1}e.childStartsOnTheSameLineWithElseInIfStatement=M;function W(le,ot,Qe,Ge){if(y4(le)&&(ot===le.whenTrue||ot===le.whenFalse)){const tt=zc(Ge,le.condition.end).line;if(ot===le.whenTrue)return Qe===tt;{const Je=L(le.whenTrue,Ge).line,qe=zc(Ge,le.whenTrue.end).line;return tt===Je&&qe===Qe}}return!1}e.childIsUnindentedBranchOfConditionalExpression=W;function X(le,ot,Qe,Ge){if(Oy(le)){if(!le.arguments)return!1;const tt=He(le.arguments,Ke=>Ke.pos===ot.pos);if(!tt)return!1;const Je=le.arguments.indexOf(tt);if(Je===0)return!1;const qe=le.arguments[Je-1],st=zc(Ge,qe.getEnd()).line;if(Qe===st)return!0}return!1}e.argumentStartsOnSameLineAsPreviousArgument=X;function Z(le,ot){return le.parent&&ie(le.getStart(ot),le.getEnd(),le.parent,ot)}e.getContainingList=Z;function ue(le,ot,Qe){return ot&&ie(le,le,ot,Qe)}function ie(le,ot,Qe,Ge){switch(Qe.kind){case 180:return tt(Qe.typeArguments);case 207:return tt(Qe.properties);case 206:return tt(Qe.elements);case 184:return tt(Qe.members);case 259:case 215:case 216:case 171:case 170:case 176:case 173:case 182:case 177:return tt(Qe.typeParameters)||tt(Qe.parameters);case 174:return tt(Qe.parameters);case 260:case 228:case 261:case 262:case 348:return tt(Qe.typeParameters);case 211:case 210:return tt(Qe.typeArguments)||tt(Qe.arguments);case 258:return tt(Qe.declarations);case 272:case 276:return tt(Qe.elements);case 203:case 204:return tt(Qe.elements)}function tt(Je){return Je&&S9(se(Qe,Je,Ge),le,ot)?Je:void 0}}function se(le,ot,Qe){const Ge=le.getChildren(Qe);for(let tt=1;tt<Ge.length-1;tt++)if(Ge[tt].pos===ot.pos&&Ge[tt].end===ot.end)return{pos:Ge[tt-1].end,end:Ge[tt+1].getStart(Qe)};return ot}function V(le,ot,Qe){return le?Ce(ot.getLineAndCharacterOfPosition(le.pos),ot,Qe):-1}function ve(le,ot,Qe,Ge){if(le.parent&&le.parent.kind===258)return-1;const tt=Z(le,ot);if(tt){const Je=tt.indexOf(le);if(Je!==-1){const qe=fe(tt,Je,ot,Qe);if(qe!==-1)return qe}return V(tt,ot,Qe)+(Ge?Qe.indentSize:0)}return-1}function fe(le,ot,Qe,Ge){R.assert(ot>=0&&ot<le.length);const tt=le[ot];let Je=L(tt,Qe);for(let qe=ot-1;qe>=0;qe--){if(le[qe].kind===27)continue;if(Qe.getLineAndCharacterOfPosition(le[qe].end).line!==Je.line)return Ce(Je,Qe,Ge);Je=L(le[qe],Qe)}return-1}function Ce(le,ot,Qe){const Ge=ot.getPositionOfLineAndCharacter(le.line,0);return K(Ge,Ge+le.character,ot,Qe)}function _e(le,ot,Qe,Ge){let tt=0,Je=0;for(let qe=le;qe<ot;qe++){const st=Qe.text.charCodeAt(qe);if(!zh(st))break;st===9?Je+=Ge.tabSize+Je%Ge.tabSize:Je++,tt++}return{column:Je,character:tt}}e.findFirstNonWhitespaceCharacterAndColumn=_e;function K(le,ot,Qe,Ge){return _e(le,ot,Qe,Ge).column}e.findFirstNonWhitespaceColumn=K;function ge(le,ot,Qe,Ge,tt){const Je=Qe?Qe.kind:0;switch(ot.kind){case 241:case 260:case 228:case 261:case 263:case 262:case 206:case 238:case 265:case 207:case 184:case 197:case 186:case 266:case 293:case 292:case 214:case 208:case 210:case 211:case 240:case 274:case 250:case 224:case 204:case 203:case 283:case 286:case 282:case 291:case 170:case 176:case 177:case 166:case 181:case 182:case 193:case 212:case 220:case 276:case 272:case 278:case 273:case 169:return!0;case 257:case 299:case 223:if(!le.indentMultiLineObjectLiteralBeginningOnBlankLine&&Ge&&Je===207)return Pe(Ge,Qe);if(ot.kind===223&&Ge&&Qe&&Je===281){const qe=Ge.getLineAndCharacterOfPosition(wo(Ge.text,ot.pos)).line,st=Ge.getLineAndCharacterOfPosition(wo(Ge.text,Qe.pos)).line;return qe!==st}if(ot.kind!==223)return!0;break;case 243:case 244:case 246:case 247:case 245:case 242:case 259:case 215:case 171:case 173:case 174:case 175:return Je!==238;case 216:return Ge&&Je===214?Pe(Ge,Qe):Je!==238;case 275:return Je!==276;case 269:return Je!==270||!!Qe.namedBindings&&Qe.namedBindings.kind!==272;case 281:return Je!==284;case 285:return Je!==287;case 190:case 189:if(Je===184||Je===186)return!1;break}return tt}e.nodeWillIndentChild=ge;function Se(le,ot){switch(le){case 250:case 254:case 248:case 249:return ot.kind!==238;default:return!1}}function we(le,ot,Qe,Ge,tt=!1){return ge(le,ot,Qe,Ge,!1)&&!(tt&&Qe&&Se(Qe.kind,ot))}e.shouldIndentChildNode=we;function Pe(le,ot){const Qe=wo(le.text,ot.pos),Ge=le.getLineAndCharacterOfPosition(Qe).line,tt=le.getLineAndCharacterOfPosition(ot.end).line;return Ge===tt}})(Pm||(Pm={}))}}),_u={};T(_u,{FormattingContext:()=>Rfe,FormattingRequestKind:()=>Ffe,RuleAction:()=>jfe,RuleFlags:()=>Jfe,SmartIndenter:()=>Pm,anyContext:()=>DL,createTextRangeWithKind:()=>gW,formatDocument:()=>Bht,formatNodeGivenIndentation:()=>qht,formatOnClosingCurly:()=>Rht,formatOnEnter:()=>Lht,formatOnOpeningCurly:()=>Fht,formatOnSemicolon:()=>Mht,formatSelection:()=>jht,getAllRules:()=>W7e,getFormatContext:()=>Cht,getFormattingScanner:()=>Bfe,getIndentationString:()=>Kfe,getRangeOfEnclosingComment:()=>h5e});var x8=p({"src/services/_namespaces/ts.formatting.ts"(){Gmt(),Xmt(),Qmt(),kht(),Oht(),Ght(),Xht()}}),Si=p({"src/services/_namespaces/ts.ts"(){aa(),Oz(),prt(),Urt(),qrt(),nnt(),int(),snt(),_nt(),Snt(),xnt(),Cnt(),Ont(),Mnt(),oit(),lit(),_it(),mit(),Mit(),Wit(),Ga(),kue(),iIe(),rft(),oft(),Cft(),b3e(),z3e(),qft(),Kft(),Xg(),Ydt(),xmt(),Nmt(),Lmt(),Hmt(),x8()}});function Qht(){return t_e??(t_e=new Rd(I))}function g5e(e,t,n,s,l){let f=t?"DeprecationError: ":"DeprecationWarning: ";return f+=`'${e}' `,f+=s?`has been deprecated since v${s}`:"is deprecated",f+=t?" and can no longer be used.":n?` and will no longer be usable after v${n}.`:".",f+=l?` ${jg(l,[e],0)}`:"",f}function Yht(e,t,n,s){const l=g5e(e,!0,t,n,s);return()=>{throw new TypeError(l)}}function Zht(e,t,n,s){let l=!1;return()=>{y5e&&!l&&(R.log.warn(g5e(e,!1,t,n,s)),l=!0)}}function Kht(e,t={}){var n,s;const l=typeof t.typeScriptVersion=="string"?new Rd(t.typeScriptVersion):(n=t.typeScriptVersion)!=null?n:Qht(),f=typeof t.errorAfter=="string"?new Rd(t.errorAfter):t.errorAfter,d=typeof t.warnAfter=="string"?new Rd(t.warnAfter):t.warnAfter,g=typeof t.since=="string"?new Rd(t.since):(s=t.since)!=null?s:d,h=t.error||f&&l.compareTo(f)>=0,k=!d||l.compareTo(d)>=0;return h?Yht(e,f,g,t.message):k?Zht(e,f,g,t.message):La}function egt(e,t){return function(){return e(),t.apply(this,arguments)}}function e_e(e,t){var n;const s=Kht((n=t==null?void 0:t.name)!=null?n:R.getFunctionName(e),t);return egt(s,e)}var y5e,t_e,v5e=p({"src/deprecatedCompat/deprecate.ts"(){vW(),y5e=!0}});function r_e(e,t,n,s){if(Object.defineProperty(f,"name",{...Object.getOwnPropertyDescriptor(f,"name"),value:e}),s)for(const d of Object.keys(s)){const g=+d;!isNaN(g)&&mc(t,`${g}`)&&(t[g]=e_e(t[g],{...s[g],name:e}))}const l=tgt(t,n);return f;function f(...d){const g=l(d),h=g!==void 0?t[g]:void 0;if(typeof h=="function")return h(...d);throw new TypeError("Invalid arguments")}}function tgt(e,t){return n=>{for(let s=0;mc(e,`${s}`)&&mc(t,`${s}`);s++){const l=t[s];if(l(n))return s}}}function rgt(e){return{overload:t=>({bind:n=>({finish:()=>r_e(e,t,n),deprecate:s=>({finish:()=>r_e(e,t,n,s)})})})}}var ngt=p({"src/deprecatedCompat/deprecations.ts"(){vW(),v5e()}}),igt=p({"src/deprecatedCompat/5.0/identifierProperties.ts"(){vW(),v5e(),xTe(e=>{const t=e.getIdentifierConstructor();mc(t.prototype,"originalKeywordKind")||Object.defineProperty(t.prototype,"originalKeywordKind",{get:e_e(function(){return Lb(this)},{name:"originalKeywordKind",since:"5.0",warnAfter:"5.1",errorAfter:"5.2",message:"Use 'identifierToKeywordKind(identifier)' instead."})}),mc(t.prototype,"isInJSDocNamespace")||Object.defineProperty(t.prototype,"isInJSDocNamespace",{get:e_e(function(){return this.flags&2048?!0:void 0},{name:"isInJSDocNamespace",since:"5.0",warnAfter:"5.1",errorAfter:"5.2",message:"Use '.parent' or the surrounding context to determine this instead."})})})}}),vW=p({"src/deprecatedCompat/_namespaces/ts.ts"(){aa(),ngt(),igt()}}),b5e={};T(b5e,{ANONYMOUS:()=>CV,AccessFlags:()=>KY,AssertionLevel:()=>xY,AssignmentDeclarationKind:()=>oZ,AssignmentKind:()=>Ste,Associativity:()=>kte,BreakpointResolver:()=>Qoe,BuilderFileEmit:()=>Kie,BuilderProgramKind:()=>ese,BuilderState:()=>og,BundleFileSectionKind:()=>wZ,CallHierarchy:()=>Iw,CharacterCodes:()=>vZ,CheckFlags:()=>GY,CheckMode:()=>VU,ClassificationType:()=>sae,ClassificationTypeNames:()=>iae,CommentDirectiveType:()=>IY,Comparison:()=>B,CompletionInfoFlags:()=>Yse,CompletionTriggerKind:()=>Wse,Completions:()=>Bw,ConfigFileProgramReloadLevel:()=>kie,ContextFlags:()=>jY,CoreServicesShimHostAdapter:()=>Xoe,Debug:()=>R,DiagnosticCategory:()=>qI,Diagnostics:()=>v,DocumentHighlights:()=>AV,ElementFlags:()=>ZY,EmitFlags:()=>mB,EmitHint:()=>xZ,EmitOnly:()=>LY,EndOfLineState:()=>eae,EnumKind:()=>HY,ExitStatus:()=>FY,ExportKind:()=>uoe,Extension:()=>bZ,ExternalEmitHelpers:()=>SZ,FileIncludeKind:()=>oB,FilePreprocessingDiagnosticsKind:()=>OY,FileSystemEntryKind:()=>IZ,FileWatcherEventKind:()=>DZ,FindAllReferences:()=>Wc,FlattenLevel:()=>iie,FlowFlags:()=>$I,ForegroundColorEscapeSequences:()=>Jie,FunctionFlags:()=>xte,GeneratedIdentifierFlags:()=>aB,GetLiteralTextFlags:()=>vte,GoToDefinition:()=>a8,HighlightSpanKind:()=>Gse,ImportKind:()=>loe,ImportsNotUsedAsValues:()=>pZ,IndentStyle:()=>Xse,IndexKind:()=>rZ,InferenceFlags:()=>sZ,InferencePriority:()=>iZ,InlayHintKind:()=>Hse,InlayHints:()=>Bue,InternalEmitFlags:()=>TZ,InternalSymbolName:()=>XY,InvalidatedProjectKind:()=>Nse,JsDoc:()=>r2,JsTyping:()=>Zx,JsxEmit:()=>_Z,JsxFlags:()=>DY,JsxReferenceKind:()=>eZ,LanguageServiceMode:()=>Vse,LanguageServiceShimHostAdapter:()=>Goe,LanguageVariant:()=>gZ,LexicalEnvironmentFlags:()=>CZ,ListFormat:()=>EZ,LogLevel:()=>CY,MemberOverrideStatus:()=>RY,ModifierFlags:()=>iB,ModuleDetectionKind:()=>cZ,ModuleInstanceState:()=>One,ModuleKind:()=>_B,ModuleResolutionKind:()=>WI,ModuleSpecifierEnding:()=>Mte,NavigateTo:()=>v3e,NavigationBar:()=>U3e,NewLineKind:()=>dZ,NodeBuilderFlags:()=>JY,NodeCheckFlags:()=>QY,NodeFactoryFlags:()=>Ute,NodeFlags:()=>nB,NodeResolutionFeatures:()=>Nne,ObjectFlags:()=>uB,OperationCanceledException:()=>RA,OperatorPrecedence:()=>Cte,OrganizeImports:()=>Kd,OrganizeImportsMode:()=>qse,OuterExpressionKinds:()=>kZ,OutliningElementsCollector:()=>Xue,OutliningSpanKind:()=>Zse,OutputFileType:()=>Kse,PackageJsonAutoImportPreference:()=>zse,PackageJsonDependencyGroup:()=>Use,PatternMatchKind:()=>IV,PollingInterval:()=>hB,PollingWatchKind:()=>fZ,PragmaKindFlags:()=>AZ,PrivateIdentifierKind:()=>Yte,ProcessLevel:()=>cie,QuotePreference:()=>soe,RelationComparisonResult:()=>sB,Rename:()=>cW,ScriptElementKind:()=>rae,ScriptElementKindModifier:()=>nae,ScriptKind:()=>mZ,ScriptSnapshot:()=>Jse,ScriptTarget:()=>hZ,SemanticClassificationFormat:()=>$se,SemanticMeaning:()=>ioe,SemicolonPreference:()=>Qse,SignatureCheckMode:()=>$U,SignatureFlags:()=>fB,SignatureHelp:()=>AL,SignatureKind:()=>tZ,SmartSelectionRange:()=>wfe,SnippetKind:()=>dB,SortKind:()=>TY,StructureIsReused:()=>MY,SymbolAccessibility:()=>VY,SymbolDisplay:()=>p1,SymbolDisplayPartKind:()=>h9,SymbolFlags:()=>cB,SymbolFormatFlags:()=>zY,SyntaxKind:()=>rB,SyntheticSymbolKind:()=>$Y,Ternary:()=>aZ,ThrottledCancellationToken:()=>Voe,TokenClass:()=>tae,TokenFlags:()=>NY,TransformFlags:()=>pB,TypeFacts:()=>UU,TypeFlags:()=>lB,TypeFormatFlags:()=>UY,TypeMapKind:()=>nZ,TypePredicateKind:()=>qY,TypeReferenceSerializationKind:()=>WY,TypeScriptServicesFactory:()=>fAe,UnionReduction:()=>BY,UpToDateStatusType:()=>hse,VarianceFlags:()=>YY,Version:()=>Rd,VersionRange:()=>p6,WatchDirectoryFlags:()=>yZ,WatchDirectoryKind:()=>uZ,WatchFileKind:()=>lZ,WatchLogLevel:()=>Cie,WatchType:()=>xd,accessPrivateIdentifier:()=>cwe,addEmitFlags:()=>ih,addEmitHelper:()=>KC,addEmitHelpers:()=>t1,addInternalEmitFlags:()=>ZC,addNodeFactoryPatcher:()=>gQe,addObjectAllocatorPatcher:()=>xTe,addRange:()=>Oi,addRelatedInfo:()=>Eo,addSyntheticLeadingComment:()=>q5,addSyntheticTrailingComment:()=>cJ,addToSeen:()=>Tm,advancedAsyncSuperHelper:()=>Q5,affectsDeclarationPathOptionDeclarations:()=>lne,affectsEmitOptionDeclarations:()=>cne,allKeysStartWithDot:()=>IU,altDirectorySeparator:()=>n7,and:()=>WR,append:()=>$r,appendIfUnique:()=>$f,arrayFrom:()=>ao,arrayIsEqualTo:()=>Oc,arrayIsHomogeneous:()=>GTe,arrayIsSorted:()=>ic,arrayOf:()=>w1e,arrayReverseIterator:()=>yHe,arrayToMap:()=>tT,arrayToMultiMap:()=>FI,arrayToNumericMap:()=>A1e,arraysEqual:()=>Wt,assertType:()=>EHe,assign:()=>MI,assignHelper:()=>mJ,asyncDelegator:()=>gJ,asyncGeneratorHelper:()=>hJ,asyncSuperHelper:()=>X5,asyncValues:()=>yJ,attachFileToDiagnostics:()=>HC,awaitHelper:()=>ew,awaiterHelper:()=>bJ,base64decode:()=>pTe,base64encode:()=>_Te,binarySearch:()=>rv,binarySearchKey:()=>hC,bindSourceFile:()=>vCe,breakIntoCharacterSpans:()=>e3e,breakIntoWordSpans:()=>t3e,buildLinkParts:()=>l4e,buildOpts:()=>yU,buildOverload:()=>rgt,bundlerModuleNameResolver:()=>tCe,canBeConvertedToAsync:()=>woe,canHaveDecorators:()=>yw,canHaveExportModifier:()=>O5,canHaveFlowNode:()=>Y7,canHaveIllegalDecorators:()=>Nre,canHaveIllegalModifiers:()=>vxe,canHaveIllegalType:()=>oYe,canHaveIllegalTypeParameters:()=>yxe,canHaveJSDoc:()=>Z7,canHaveLocals:()=>$h,canHaveModifiers:()=>Qd,canHaveSymbol:()=>Vh,canJsonReportNoInputFiles:()=>wO,canProduceDiagnostics:()=>ez,canUsePropertyAccess:()=>mte,canWatchDirectoryOrFile:()=>c9,cartesianProduct:()=>V1e,cast:()=>Oa,chainBundle:()=>Yd,chainDiagnosticMessages:()=>sa,changeAnyExtension:()=>FZ,changeCompilerHostLikeToUseCache:()=>n9,changeExtension:()=>ET,changesAffectModuleResolution:()=>wK,changesAffectingProgramStructure:()=>Bbe,childIsDecorated:()=>fP,classElementOrClassElementParameterIsDecorated:()=>YK,classOrConstructorParameterIsDecorated:()=>vT,classPrivateFieldGetHelper:()=>IJ,classPrivateFieldInHelper:()=>LJ,classPrivateFieldSetHelper:()=>OJ,classicNameResolver:()=>gCe,classifier:()=>ZV,cleanExtendedConfigCache:()=>xie,clear:()=>ss,clearMap:()=>rd,clearSharedExtendedConfigFileWatcher:()=>Gwe,climbPastPropertyAccess:()=>Fz,climbPastPropertyOrElementAccess:()=>A6e,clone:()=>pY,cloneCompilerOptions:()=>H6e,closeFileWatcher:()=>Yh,closeFileWatcherOf:()=>ag,codefix:()=>Ff,collapseTextChangeRangesAcrossMultipleVersions:()=>DGe,collectExternalModuleInfo:()=>Qne,combine:()=>Mh,combinePaths:()=>_s,commentPragmas:()=>HI,commonOptionsWithBuild:()=>OO,commonPackageFolders:()=>Ate,compact:()=>Hl,compareBooleans:()=>iT,compareDataObjects:()=>Vee,compareDiagnostics:()=>MP,compareDiagnosticsSkipRelatedInformation:()=>Rj,compareEmitHelpers:()=>LSe,compareNumberOfDirectorySeparators:()=>A5,comparePaths:()=>lx,comparePathsCaseInsensitive:()=>bGe,comparePathsCaseSensitive:()=>vGe,comparePatternKeys:()=>Ene,compareProperties:()=>R1e,compareStringsCaseInsensitive:()=>zR,compareStringsCaseInsensitiveEslintCompatible:()=>L1e,compareStringsCaseSensitive:()=>wf,compareStringsCaseSensitiveUI:()=>BI,compareTextSpans:()=>UR,compareValues:()=>Cc,compileOnSaveCommandLineOption:()=>PO,compilerOptionsAffectDeclarationPath:()=>RTe,compilerOptionsAffectEmit:()=>FTe,compilerOptionsAffectSemanticDiagnostics:()=>MTe,compilerOptionsDidYouMeanDiagnostics:()=>MO,compilerOptionsIndicateEsModules:()=>Nae,compose:()=>kHe,computeCommonSourceDirectoryOfFilenames:()=>Kwe,computeLineAndCharacterOfPosition:()=>o7,computeLineOfPosition:()=>UA,computeLineStarts:()=>s7,computePositionOfLineAndCharacter:()=>UZ,computeSignature:()=>Qx,computeSignatureWithDiagnostics:()=>Gie,computeSuggestionDiagnostics:()=>xoe,concatenate:()=>Cr,concatenateDiagnosticMessageChains:()=>ATe,consumesNodeCoreModules:()=>gV,contains:()=>xt,containsIgnoredPath:()=>VP,containsObjectRestOrSpread:()=>hO,containsParseError:()=>E7,containsPath:()=>sv,convertCompilerOptionsForTelemetry:()=>dZe,convertCompilerOptionsFromJson:()=>oZe,convertJsonOption:()=>EO,convertToBase64:()=>fTe,convertToObject:()=>dke,convertToObjectWorker:()=>kO,convertToOptionsWithAbsolutePaths:()=>Xre,convertToRelativePath:()=>jA,convertToTSConfig:()=>HYe,convertTypeAcquisitionFromJson:()=>cZe,copyComments:()=>nk,copyEntries:()=>C7,copyLeadingComments:()=>W4,copyProperties:()=>dY,copyTrailingAsLeadingComments:()=>R9,copyTrailingComments:()=>VD,couldStartTrivia:()=>Eve,countWhere:()=>An,createAbstractBuilder:()=>gtt,createAccessorPropertyBackingField:()=>Ore,createAccessorPropertyGetRedirector:()=>Axe,createAccessorPropertySetRedirector:()=>Pxe,createBaseNodeFactory:()=>gSe,createBinaryExpressionTrampoline:()=>rU,createBindingHelper:()=>l4,createBuildInfo:()=>e9,createBuilderProgram:()=>Xie,createBuilderProgramUsingProgramBuildInfo:()=>SEe,createBuilderStatusReporter:()=>FEe,createCacheWithRedirects:()=>vne,createCacheableExportInfoMap:()=>O4e,createCachedDirectoryStructureHost:()=>Hwe,createClassifier:()=>F4e,createCommentDirectivesMap:()=>Xbe,createCompilerDiagnostic:()=>gc,createCompilerDiagnosticForInvalidCustomType:()=>Jre,createCompilerDiagnosticFromMessageChain:()=>Fj,createCompilerHost:()=>eEe,createCompilerHostFromProgramHost:()=>fse,createCompilerHostWorker:()=>Aie,createDetachedDiagnostic:()=>K6,createDiagnosticCollection:()=>H6,createDiagnosticForFileFromMessageChain:()=>$K,createDiagnosticForNode:()=>ni,createDiagnosticForNodeArray:()=>D6,createDiagnosticForNodeArrayFromMessageChain:()=>N7,createDiagnosticForNodeFromMessageChain:()=>Ly,createDiagnosticForNodeInSourceFile:()=>r_,createDiagnosticForRange:()=>qK,createDiagnosticMessageChainFromDiagnostic:()=>s2e,createDiagnosticReporter:()=>l9,createDocumentPositionMapper:()=>ewe,createDocumentRegistry:()=>poe,createDocumentRegistryInternal:()=>V4e,createEmitAndSemanticDiagnosticsBuilderProgram:()=>tse,createEmitHelperFactory:()=>OSe,createEmptyExports:()=>lO,createExpressionForJsxElement:()=>lxe,createExpressionForJsxFragment:()=>uxe,createExpressionForObjectLiteralElementLike:()=>fxe,createExpressionForPropertyName:()=>Cre,createExpressionFromEntityName:()=>uO,createExternalHelpersImportDeclarationIfNeeded:()=>Are,createFileDiagnostic:()=>gu,createFileDiagnosticFromMessageChain:()=>ZB,createForOfBindingStatement:()=>kre,createGetCanonicalFileName:()=>qu,createGetSourceFile:()=>wie,createGetSymbolAccessibilityDiagnosticForNode:()=>o1,createGetSymbolAccessibilityDiagnosticForNodeName:()=>Iwe,createGetSymbolWalker:()=>xCe,createIncrementalCompilerHost:()=>dse,createIncrementalProgram:()=>MEe,createInputFiles:()=>kQe,createInputFilesWithFilePaths:()=>jte,createInputFilesWithFileTexts:()=>Jte,createJsxFactoryExpression:()=>xre,createLanguageService:()=>Q3e,createLanguageServiceSourceFile:()=>zV,createMemberAccessForPropertyName:()=>Ux,createModeAwareCache:()=>$x,createModeAwareCacheKey:()=>yD,createModuleResolutionCache:()=>wU,createModuleResolutionLoader:()=>Lie,createModuleSpecifierResolutionHost:()=>ww,createMultiMap:()=>dd,createNodeConverters:()=>vSe,createNodeFactory:()=>j5,createOptionNameMap:()=>cU,createOverload:()=>r_e,createPackageJsonImportFilter:()=>WD,createPackageJsonInfo:()=>T4e,createParenthesizerRules:()=>ySe,createPatternMatcher:()=>G4e,createPrependNodes:()=>Bie,createPrinter:()=>zT,createPrinterWithDefaults:()=>bie,createPrinterWithRemoveComments:()=>VT,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>Tie,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>t9,createProgram:()=>fz,createProgramHost:()=>_se,createPropertyNameNodeForIdentifierOrLiteral:()=>Yj,createQueue:()=>mY,createRange:()=>yd,createRedirectedBuilderProgram:()=>Zie,createResolutionCache:()=>xEe,createRuntimeTypeSerializer:()=>pwe,createScanner:()=>q0,createSemanticDiagnosticsBuilderProgram:()=>htt,createSet:()=>SHe,createSolutionBuilder:()=>Ltt,createSolutionBuilderHost:()=>Ntt,createSolutionBuilderWithWatch:()=>Mtt,createSolutionBuilderWithWatchHost:()=>Itt,createSortedArray:()=>Za,createSourceFile:()=>vO,createSourceMapGenerator:()=>HCe,createSourceMapSource:()=>CQe,createSuperAccessVariableStatement:()=>KU,createSymbolTable:()=>Ma,createSymlinkCache:()=>BTe,createSystemWatchFunctions:()=>bve,createTextChange:()=>E9,createTextChangeFromStartLength:()=>Xz,createTextChangeRange:()=>_7,createTextRangeFromNode:()=>Aae,createTextRangeFromSpan:()=>Gz,createTextSpan:()=>hu,createTextSpanFromBounds:()=>eu,createTextSpanFromNode:()=>Zf,createTextSpanFromRange:()=>Dv,createTextSpanFromStringLiteralLikeContent:()=>Eae,createTextWriter:()=>_5,createTokenRange:()=>jee,createTypeChecker:()=>JCe,createTypeReferenceDirectiveResolutionCache:()=>EU,createTypeReferenceResolutionLoader:()=>lz,createUnderscoreEscapedMultiMap:()=>D1e,createUnparsedSourceFile:()=>Bte,createWatchCompilerHost:()=>wtt,createWatchCompilerHostOfConfigFile:()=>OEe,createWatchCompilerHostOfFilesAndCompilerOptions:()=>LEe,createWatchFactory:()=>use,createWatchHost:()=>lse,createWatchProgram:()=>Ett,createWatchStatusReporter:()=>CEe,createWriteFileMeasuringIO:()=>Eie,declarationNameToString:()=>uc,decodeMappings:()=>Hne,decodedTextSpanIntersectsWith:()=>EB,decorateHelper:()=>uJ,deduplicate:()=>Ss,defaultIncludeSpec:()=>TU,defaultInitCompilerOptions:()=>bU,defaultMaximumTruncationLength:()=>F5,detectSortCaseSensitivity:()=>Yc,diagnosticCategoryName:()=>tB,diagnosticToString:()=>Aw,directoryProbablyExists:()=>th,directorySeparator:()=>hc,displayPart:()=>x_,displayPartsToString:()=>H3e,disposeEmitNodes:()=>$te,documentSpansEqual:()=>Prt,dumpTracingLegend:()=>_ve,elementAt:()=>V0,elideNodes:()=>Exe,emitComments:()=>Z2e,emitDetachedComments:()=>K2e,emitFiles:()=>rz,emitFilesAndReportErrors:()=>kz,emitFilesAndReportErrorsAndGetExitStatus:()=>DEe,emitModuleKindIsNonNodeESM:()=>Xee,emitNewLineBeforeLeadingCommentOfPosition:()=>Y2e,emitNewLineBeforeLeadingComments:()=>X2e,emitNewLineBeforeLeadingCommentsOfPosition:()=>Q2e,emitSkippedWithNoDiagnostics:()=>vz,emitUsingBuildInfo:()=>Wwe,emptyArray:()=>pt,emptyFileSystemEntries:()=>aJ,emptyMap:()=>XR,emptyOptions:()=>uh,emptySet:()=>W1e,endsWith:()=>Ul,ensurePathIsNonModuleName:()=>lT,ensureScriptKind:()=>Wj,ensureTrailingDirectorySeparator:()=>Ef,entityNameToString:()=>Ap,enumerateInsertsAndDeletes:()=>z1e,equalOwnProperties:()=>E1e,equateStringsCaseInsensitive:()=>yC,equateStringsCaseSensitive:()=>vC,equateValues:()=>Db,esDecorateHelper:()=>pJ,escapeJsxAttributeString:()=>bee,escapeLeadingUnderscores:()=>Vc,escapeNonAsciiString:()=>u5,escapeSnippetText:()=>Ox,escapeString:()=>UC,every:()=>ut,expandPreOrPostfixIncrementOrDecrementExpression:()=>QJ,explainFiles:()=>PEe,explainIfFileIsRedirectAndImpliedFormat:()=>sse,exportAssignmentIsAlias:()=>V6,exportStarHelper:()=>NJ,expressionResultIsUnused:()=>QTe,extend:()=>JR,extendsHelper:()=>TJ,extensionFromPath:()=>N5,extensionIsTS:()=>Gj,externalHelpersModuleNameText:()=>qb,factory:()=>J,fileExtensionIs:()=>Gl,fileExtensionIsOneOf:()=>cu,fileIncludeReasonToDiagnostics:()=>cse,filter:()=>hr,filterMutate:()=>Fi,filterSemanticDiagnostics:()=>_z,find:()=>He,findAncestor:()=>kn,findBestPatternMatch:()=>yY,findChildOfKind:()=>Yo,findComputedPropertyNameCacheAssignment:()=>iU,findConfigFile:()=>Zwe,findContainingList:()=>Uz,findDiagnosticForNode:()=>x4e,findFirstNonJsxWhitespaceToken:()=>B6e,findIndex:()=>ar,findLast:()=>Bt,findLastIndex:()=>kr,findListItemInfo:()=>I6e,findMap:()=>Ot,findModifier:()=>V4,findNextToken:()=>tk,findPackageJson:()=>v4e,findPackageJsons:()=>Yae,findPrecedingMatchingToken:()=>Wz,findPrecedingToken:()=>fu,findSuperStatementIndex:()=>QU,findTokenOnLeftOfPosition:()=>$z,findUseStrictPrologue:()=>Ere,first:()=>Uo,firstDefined:()=>ze,firstDefinedIterator:()=>Ue,firstIterator:()=>C1e,firstOrOnly:()=>eoe,firstOrUndefined:()=>Ru,firstOrUndefinedIterator:()=>jR,fixupCompilerOptions:()=>Eoe,flatMap:()=>mn,flatMapIterator:()=>gr,flatMapToMutable:()=>Tn,flatten:()=>Vn,flattenCommaList:()=>Dxe,flattenDestructuringAssignment:()=>Hx,flattenDestructuringBinding:()=>JT,flattenDiagnosticMessageText:()=>Av,forEach:()=>Q,forEachAncestor:()=>jbe,forEachAncestorDirectory:()=>Ay,forEachChild:()=>ca,forEachChildRecursively:()=>yO,forEachEmittedFile:()=>hie,forEachEnclosingBlockScopeContainer:()=>n2e,forEachEntry:()=>cp,forEachExternalModuleToImportFrom:()=>coe,forEachImportClauseDeclaration:()=>bj,forEachKey:()=>iP,forEachLeadingCommentRange:()=>c7,forEachNameInAccessChainWalkingLeft:()=>UXe,forEachResolvedProjectReference:()=>iEe,forEachReturnStatement:()=>bx,forEachRight:()=>Ie,forEachTrailingCommentRange:()=>l7,forEachUnique:()=>Mae,forEachYieldExpression:()=>o2e,forSomeAncestorDirectory:()=>JXe,formatColorAndReset:()=>$T,formatDiagnostic:()=>Pie,formatDiagnostics:()=>Get,formatDiagnosticsWithColorAndContext:()=>nEe,formatGeneratedName:()=>zx,formatGeneratedNamePart:()=>w4,formatLocation:()=>Die,formatMessage:()=>Gee,formatStringFromArgs:()=>jg,formatting:()=>_u,fullTripleSlashAMDReferencePathRegEx:()=>Tte,fullTripleSlashReferencePathRegEx:()=>bte,generateDjb2Hash:()=>GI,generateTSConfig:()=>ZYe,generatorHelper:()=>AJ,getAdjustedReferenceLocation:()=>gae,getAdjustedRenameLocation:()=>Vz,getAliasDeclarationFromName:()=>fee,getAllAccessorDeclarations:()=>Dx,getAllDecoratorsOfClass:()=>eie,getAllDecoratorsOfClassElement:()=>ZU,getAllJSDocTags:()=>tK,getAllJSDocTagsOfKind:()=>jGe,getAllKeys:()=>vHe,getAllProjectOutputs:()=>tz,getAllSuperTypeNodes:()=>hP,getAllUnscopedEmitHelpers:()=>Qte,getAllowJSCompilerOption:()=>k5,getAllowSyntheticDefaultImports:()=>GC,getAncestor:()=>Jb,getAnyExtensionFromPath:()=>gB,getAreDeclarationMapsEnabled:()=>Jj,getAssignedExpandoInitializer:()=>LC,getAssignedName:()=>QZ,getAssignmentDeclarationKind:()=>ll,getAssignmentDeclarationPropertyAccessKind:()=>$7,getAssignmentTargetKind:()=>Cx,getAutomaticTypeDirectiveNames:()=>CU,getBaseFileName:()=>sf,getBinaryOperatorPrecedence:()=>c5,getBuildInfo:()=>nz,getBuildInfoFileVersionMap:()=>Yie,getBuildInfoText:()=>qwe,getBuildOrderFromAnyBuildOrder:()=>Pz,getBuilderCreationParameters:()=>Tz,getBuilderFileEmit:()=>Pv,getCheckFlags:()=>ul,getClassExtendsHeritageElement:()=>TT,getClassLikeDeclarationOfSymbol:()=>Jy,getCombinedLocalAndExportSymbolFlags:()=>NP,getCombinedModifierFlags:()=>H0,getCombinedNodeFlags:()=>ym,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>GZ,getCommentRange:()=>eg,getCommonSourceDirectory:()=>KO,getCommonSourceDirectoryOfConfig:()=>ND,getCompilerOptionValue:()=>zj,getCompilerOptionsDiffValue:()=>YYe,getConditions:()=>O4,getConfigFileParsingDiagnostics:()=>Xx,getConstantValue:()=>wSe,getContainerNode:()=>ek,getContainingClass:()=>uu,getContainingClassStaticBlock:()=>lXe,getContainingFunction:()=>Pp,getContainingFunctionDeclaration:()=>m2e,getContainingFunctionOrClassStaticBlock:()=>oj,getContainingNodeArray:()=>YTe,getContainingObjectLiteralElement:()=>q9,getContextualTypeFromParent:()=>oV,getContextualTypeFromParentOrAncestorTypeNode:()=>zz,getCurrentTime:()=>_9,getDeclarationDiagnostics:()=>Owe,getDeclarationEmitExtensionForPath:()=>kee,getDeclarationEmitOutputFilePath:()=>V2e,getDeclarationEmitOutputFilePathWorker:()=>xee,getDeclarationFromName:()=>t5,getDeclarationModifierFlagsFromSymbol:()=>td,getDeclarationOfKind:()=>ol,getDeclarationsOfKind:()=>Fbe,getDeclaredExpandoInitializer:()=>J7,getDecorators:()=>ov,getDefaultCompilerOptions:()=>UV,getDefaultExportInfoWorker:()=>EV,getDefaultFormatCodeSettings:()=>x6e,getDefaultLibFileName:()=>kB,getDefaultLibFilePath:()=>ait,getDefaultLikeExportInfo:()=>wV,getDiagnosticText:()=>qYe,getDiagnosticsWithinSpan:()=>k4e,getDirectoryPath:()=>$i,getDocumentPositionMapper:()=>o3e,getESModuleInterop:()=>Zh,getEditsForFileRename:()=>q4e,getEffectiveBaseTypeNode:()=>eh,getEffectiveConstraintOfTypeParameter:()=>v6,getEffectiveContainerForJSDocTemplateTag:()=>Tj,getEffectiveImplementsTypeNodes:()=>$6,getEffectiveInitializer:()=>j7,getEffectiveJSDocHost:()=>z6,getEffectiveModifierFlags:()=>Pf,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>nTe,getEffectiveModifierFlagsNoCache:()=>sTe,getEffectiveReturnTypeNode:()=>bm,getEffectiveSetAccessorTypeAnnotationNode:()=>G2e,getEffectiveTypeAnnotationNode:()=>Ju,getEffectiveTypeParameterDeclarations:()=>lv,getEffectiveTypeRoots:()=>BO,getElementOrPropertyAccessArgumentExpressionOrName:()=>vj,getElementOrPropertyAccessName:()=>Ry,getElementsOfBindingOrAssignmentPattern:()=>C4,getEmitDeclarations:()=>Wd,getEmitFlags:()=>Wa,getEmitHelpers:()=>lJ,getEmitModuleDetectionKind:()=>ITe,getEmitModuleKind:()=>Hu,getEmitModuleResolutionKind:()=>vl,getEmitScriptTarget:()=>Io,getEnclosingBlockScopeContainer:()=>Hh,getEncodedSemanticClassifications:()=>foe,getEncodedSyntacticClassifications:()=>_oe,getEndLinePosition:()=>A7,getEntityNameFromTypeNode:()=>M7,getEntrypointsFromPackageJsonInfo:()=>RZe,getErrorCountForSummary:()=>Sz,getErrorSpanForNode:()=>gT,getErrorSummaryText:()=>EEe,getEscapedTextOfIdentifierOrLiteral:()=>yP,getExpandoInitializer:()=>Bb,getExportAssignmentExpression:()=>_ee,getExportInfoMap:()=>j9,getExportNeedsImportStarHelper:()=>rwe,getExpressionAssociativity:()=>hee,getExpressionPrecedence:()=>wj,getExternalHelpersModuleName:()=>_O,getExternalModuleImportEqualsDeclarationExpression:()=>pP,getExternalModuleName:()=>B6,getExternalModuleNameFromDeclaration:()=>U2e,getExternalModuleNameFromPath:()=>See,getExternalModuleNameLiteral:()=>gw,getExternalModuleRequireArgument:()=>KK,getFallbackOptions:()=>r9,getFileEmitOutput:()=>oEe,getFileMatcherPatterns:()=>RP,getFileNamesFromConfigSpecs:()=>AO,getFileWatcherEventKind:()=>hve,getFilesInErrorForSummary:()=>xz,getFirstConstructorWithBody:()=>Bg,getFirstIdentifier:()=>Dp,getFirstNonSpaceCharacterPosition:()=>p4e,getFirstProjectOutput:()=>yie,getFixableErrorSpanExpression:()=>Kae,getFormatCodeSettingsForWriting:()=>TV,getFullWidth:()=>w7,getFunctionFlags:()=>Au,getHeritageClause:()=>i5,getHostSignatureFromJSDoc:()=>jb,getIdentifierAutoGenerate:()=>NQe,getIdentifierGeneratedImportReference:()=>ISe,getIdentifierTypeArguments:()=>Lx,getImmediatelyInvokedFunctionExpression:()=>Sx,getImpliedNodeFormatForFile:()=>uz,getImpliedNodeFormatForFileWorker:()=>Fie,getImportNeedsImportDefaultHelper:()=>Xne,getImportNeedsImportStarHelper:()=>XU,getIndentSize:()=>G6,getIndentString:()=>Ej,getInitializedVariables:()=>DP,getInitializerOfBinaryExpression:()=>see,getInitializerOfBindingOrAssignmentElement:()=>dO,getInterfaceBaseTypeNodes:()=>gP,getInternalEmitFlags:()=>Jd,getInvokedExpression:()=>uj,getIsolatedModules:()=>qd,getJSDocAugmentsTag:()=>ibe,getJSDocClassTag:()=>YZ,getJSDocCommentRanges:()=>HK,getJSDocCommentsAndTags:()=>oee,getJSDocDeprecatedTag:()=>ZZ,getJSDocDeprecatedTagNoCache:()=>fbe,getJSDocEnumTag:()=>KZ,getJSDocHost:()=>jC,getJSDocImplementsTags:()=>sbe,getJSDocOverrideTagNoCache:()=>ube,getJSDocParameterTags:()=>GA,getJSDocParameterTagsNoCache:()=>Kve,getJSDocPrivateTag:()=>LGe,getJSDocPrivateTagNoCache:()=>obe,getJSDocProtectedTag:()=>MGe,getJSDocProtectedTagNoCache:()=>cbe,getJSDocPublicTag:()=>OGe,getJSDocPublicTagNoCache:()=>abe,getJSDocReadonlyTag:()=>FGe,getJSDocReadonlyTagNoCache:()=>lbe,getJSDocReturnTag:()=>_be,getJSDocReturnType:()=>d7,getJSDocRoot:()=>mP,getJSDocSatisfiesExpressionType:()=>yte,getJSDocSatisfiesTag:()=>eK,getJSDocTags:()=>fT,getJSDocTagsNoCache:()=>BGe,getJSDocTemplateTag:()=>RGe,getJSDocThisTag:()=>PB,getJSDocType:()=>cv,getJSDocTypeAliasName:()=>Dre,getJSDocTypeAssertionType:()=>ZJ,getJSDocTypeParameterDeclarations:()=>Dj,getJSDocTypeParameterTags:()=>tbe,getJSDocTypeParameterTagsNoCache:()=>rbe,getJSDocTypeTag:()=>uT,getJSXImplicitImportBase:()=>Vj,getJSXRuntimeImport:()=>$j,getJSXTransformEnabled:()=>Yee,getKeyForCompilerOptions:()=>yne,getLanguageVariant:()=>T5,getLastChild:()=>$ee,getLeadingCommentRanges:()=>Ng,getLeadingCommentRangesOfNode:()=>WK,getLeftmostAccessExpression:()=>OP,getLeftmostExpression:()=>LP,getLineAndCharacterOfPosition:()=>zc,getLineInfo:()=>GCe,getLineOfLocalPosition:()=>SP,getLineOfLocalPositionFromLineMap:()=>Ax,getLineStartPositionForPosition:()=>kd,getLineStarts:()=>Py,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>yTe,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>gTe,getLinesBetweenPositions:()=>zA,getLinesBetweenRangeEndAndRangeStart:()=>Jee,getLinesBetweenRangeEndPositions:()=>FXe,getLiteralText:()=>Qbe,getLocalNameForExternalImport:()=>k4,getLocalSymbolForExportDefault:()=>Q6,getLocaleSpecificMessage:()=>uo,getLocaleTimeString:()=>u9,getMappedContextSpan:()=>r4e,getMappedDocumentSpan:()=>Fae,getMappedLocation:()=>O9,getMatchedFileSpec:()=>ase,getMatchedIncludeSpec:()=>ose,getMeaningFromDeclaration:()=>g9,getMeaningFromLocation:()=>Kx,getMembersOfDeclaration:()=>c2e,getModeForFileReference:()=>i9,getModeForResolutionAtIndex:()=>Nie,getModeForUsageLocation:()=>km,getModifiedTime:()=>CC,getModifiers:()=>fx,getModuleInstanceState:()=>$y,getModuleNameStringLiteralAt:()=>dz,getModuleSpecifierEndingPreference:()=>ste,getModuleSpecifierResolverHost:()=>Iae,getNameForExportedSymbol:()=>yV,getNameFromIndexInfo:()=>i2e,getNameFromPropertyName:()=>D9,getNameOfAccessExpression:()=>TTe,getNameOfCompilerOptionValue:()=>Hre,getNameOfDeclaration:()=>ra,getNameOfExpando:()=>nee,getNameOfJSDocTypedef:()=>Yve,getNameOrArgument:()=>V7,getNameTable:()=>Joe,getNamesForExportedSymbol:()=>w4e,getNamespaceDeclarationNode:()=>j6,getNewLineCharacter:()=>Vb,getNewLineKind:()=>B9,getNewLineOrDefaultFromHost:()=>Zb,getNewTargetContainer:()=>g2e,getNextJSDocCommentLocation:()=>cee,getNodeForGeneratedName:()=>nU,getNodeId:()=>Wo,getNodeKind:()=>qT,getNodeModifiers:()=>jD,getNodeModulePathParts:()=>dte,getNonAssignedNameOfDeclaration:()=>XZ,getNonAssignmentOperatorForCompoundAssignment:()=>wD,getNonAugmentationDeclaration:()=>RK,getNonDecoratorTokenPosOfNode:()=>NK,getNormalizedAbsolutePath:()=>oa,getNormalizedAbsolutePathWithoutRoot:()=>MZ,getNormalizedPathComponents:()=>t7,getObjectFlags:()=>Ci,getOperator:()=>yee,getOperatorAssociativity:()=>gee,getOperatorPrecedence:()=>o5,getOptionFromName:()=>Vre,getOptionsNameMap:()=>P4,getOrCreateEmitNode:()=>Qf,getOrCreateExternalHelpersModuleNameIfNeeded:()=>hxe,getOrUpdate:()=>ei,getOriginalNode:()=>sl,getOriginalNodeId:()=>_l,getOriginalSourceFile:()=>xXe,getOutputDeclarationFileName:()=>DD,getOutputExtension:()=>gie,getOutputFileNames:()=>Oet,getOutputPathsFor:()=>PD,getOutputPathsForBundle:()=>AD,getOwnEmitOutputFilePath:()=>z2e,getOwnKeys:()=>wy,getOwnValues:()=>gC,getPackageJsonInfo:()=>Sw,getPackageJsonTypesVersionsPaths:()=>kU,getPackageJsonsVisibleToFile:()=>b4e,getPackageNameFromTypesPackageName:()=>zO,getPackageScopeForPath:()=>DU,getParameterSymbolFromJSDoc:()=>K7,getParameterTypeNode:()=>_Qe,getParentNodeInSpan:()=>I9,getParseTreeNode:()=>qs,getParsedCommandLineOfConfigFile:()=>TO,getPathComponents:()=>t_,getPathComponentsRelativeTo:()=>jZ,getPathFromPathComponents:()=>cT,getPathUpdater:()=>doe,getPathsBasePath:()=>Cee,getPatternFromSpec:()=>tte,getPendingEmitKind:()=>F4,getPositionOfLineAndCharacter:()=>a7,getPossibleGenericSignatures:()=>Tae,getPossibleOriginalInputExtensionForExtension:()=>$2e,getPossibleTypeArgumentsInfo:()=>Sae,getPreEmitDiagnostics:()=>Het,getPrecedingNonSpaceCharacterPosition:()=>zae,getPrivateIdentifier:()=>tie,getProperties:()=>Zne,getProperty:()=>LI,getPropertyArrayElementValue:()=>d2e,getPropertyAssignment:()=>L6,getPropertyAssignmentAliasLikeExpression:()=>M2e,getPropertyNameForPropertyNameNode:()=>ST,getPropertyNameForUniqueESSymbol:()=>TXe,getPropertyNameOfBindingOrAssignmentElement:()=>Pre,getPropertySymbolFromBindingElement:()=>nV,getPropertySymbolsFromContextualType:()=>VV,getQuoteFromPreference:()=>e4e,getQuotePreference:()=>wm,getRangesWhere:()=>jr,getRefactorContextSpan:()=>Ew,getReferencedFileLocation:()=>ID,getRegexFromPattern:()=>vv,getRegularExpressionForWildcard:()=>FP,getRegularExpressionsForWildcards:()=>qj,getRelativePathFromDirectory:()=>Uh,getRelativePathFromFile:()=>r7,getRelativePathToDirectoryOrUrl:()=>wC,getRenameLocation:()=>F9,getReplacementSpanForContextToken:()=>wae,getResolutionDiagnostic:()=>jie,getResolutionModeOverrideForClause:()=>xw,getResolveJsonModule:()=>Ix,getResolvePackageJsonExports:()=>Qee,getResolvePackageJsonImports:()=>ZXe,getResolvedExternalModuleName:()=>Aj,getResolvedModule:()=>E6,getResolvedTypeReferenceDirective:()=>QGe,getRestIndicatorOfBindingOrAssignmentElement:()=>eU,getRestParameterElementType:()=>XK,getRightMostAssignedExpression:()=>U7,getRootDeclaration:()=>Gh,getRootLength:()=>Ym,getScriptKind:()=>Uae,getScriptKindFromFileName:()=>ite,getScriptTargetFeatures:()=>IK,getSelectedEffectiveModifierFlags:()=>$C,getSelectedSyntacticModifierFlags:()=>rTe,getSemanticClassifications:()=>R4e,getSemanticJsxChildren:()=>l5,getSetAccessorTypeAnnotationNode:()=>W2e,getSetAccessorValueParameter:()=>xP,getSetExternalModuleIndicator:()=>S5,getShebang:()=>SB,getSingleInitializerOfVariableStatementOrPropertyDeclaration:()=>aee,getSingleVariableOfVariableStatement:()=>U6,getSnapshotText:()=>Yz,getSnippetElement:()=>Wte,getSourceFileOfModule:()=>$B,getSourceFileOfNode:()=>bn,getSourceFilePathInNewDir:()=>Pj,getSourceFilePathInNewDirWorker:()=>Eee,getSourceFileVersionAsHashFromText:()=>Cz,getSourceFilesToEmit:()=>wee,getSourceMapRange:()=>Wb,getSourceMapper:()=>a3e,getSourceTextOfNodeFromSourceFile:()=>mT,getSpanOfTokenAtPosition:()=>Y0,getSpellingSuggestion:()=>OA,getStartPositionOfLine:()=>dv,getStartPositionOfRange:()=>PP,getStartsOnNewLine:()=>$5,getStaticPropertiesAndClassStaticBlock:()=>YU,getStrictOptionValue:()=>bd,getStringComparer:()=>VR,getSuperCallFromStatement:()=>Yne,getSuperContainer:()=>O7,getSupportedCodeFixes:()=>G3e,getSupportedExtensions:()=>BP,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>w5,getSwitchedType:()=>Gae,getSymbolId:()=>Ha,getSymbolNameForPrivateIdentifier:()=>s5,getSymbolTarget:()=>f4e,getSyntacticClassifications:()=>U4e,getSyntacticModifierFlags:()=>gv,getSyntacticModifierFlagsNoCache:()=>Oee,getSynthesizedDeepClone:()=>pl,getSynthesizedDeepCloneWithReplacements:()=>M9,getSynthesizedDeepClones:()=>WT,getSynthesizedDeepClonesWithReplacements:()=>Vae,getSyntheticLeadingComments:()=>o4,getSyntheticTrailingComments:()=>W5,getTargetLabel:()=>Rz,getTargetOfBindingOrAssignmentElement:()=>Cv,getTemporaryModuleResolutionState:()=>PU,getTextOfConstantValue:()=>Ybe,getTextOfIdentifierOrLiteral:()=>Vd,getTextOfJSDocComment:()=>m7,getTextOfNode:()=>lu,getTextOfNodeFromSourceText:()=>oP,getTextOfPropertyName:()=>P6,getThisContainer:()=>y_,getThisParameter:()=>xT,getTokenAtPosition:()=>Os,getTokenPosOfNode:()=>yx,getTokenSourceMapRange:()=>PQe,getTouchingPropertyName:()=>Lp,getTouchingToken:()=>BD,getTrailingCommentRanges:()=>Ib,getTrailingSemicolonDeferringWriter:()=>Tee,getTransformFlagsSubtreeExclusions:()=>TSe,getTransformers:()=>die,getTsBuildInfoEmitOutputFilePath:()=>c1,getTsConfigObjectLiteralExpression:()=>uP,getTsConfigPropArray:()=>I7,getTsConfigPropArrayElementValue:()=>aj,getTypeAnnotationNode:()=>H2e,getTypeArgumentOrTypeParameterList:()=>$6e,getTypeKeywordOfTypeOnlyImport:()=>Lae,getTypeNode:()=>DSe,getTypeNodeIfAccessible:()=>qD,getTypeParameterFromJsDoc:()=>P2e,getTypeParameterOwner:()=>NGe,getTypesPackageName:()=>OU,getUILocale:()=>M1e,getUniqueName:()=>ik,getUniqueSymbolId:()=>_4e,getUseDefineForClassFields:()=>C5,getWatchErrorSummaryDiagnosticMessage:()=>nse,getWatchFactory:()=>Ywe,group:()=>IA,groupBy:()=>P1e,guessIndentation:()=>Mbe,handleNoEmitOptions:()=>Rie,hasAbstractModifier:()=>CT,hasAccessorModifier:()=>Xh,hasAmbientModifier:()=>Nee,hasChangesInResolutions:()=>AK,hasChildOfKind:()=>x9,hasContextSensitiveParameters:()=>Qj,hasDecorators:()=>ed,hasDocComment:()=>V6e,hasDynamicName:()=>hv,hasEffectiveModifier:()=>R_,hasEffectiveModifiers:()=>Nj,hasEffectiveReadonlyModifier:()=>kP,hasExtension:()=>m6,hasIndexSignature:()=>Hae,hasInitializer:()=>pv,hasInvalidEscape:()=>vee,hasJSDocNodes:()=>Ep,hasJSDocParameterTags:()=>nbe,hasJSFileExtension:()=>QC,hasJsonModuleEmitEnabled:()=>Bj,hasOnlyExpressionInitializer:()=>hx,hasOverrideModifier:()=>Dee,hasPossibleExternalModuleReference:()=>r2e,hasProperty:()=>mc,hasPropertyAccessExpressionWithName:()=>y9,hasQuestionToken:()=>BC,hasRecordedExternalHelpers:()=>mxe,hasRestParameter:()=>SK,hasScopeMarker:()=>Pbe,hasStaticModifier:()=>tu,hasSyntacticModifier:()=>Ti,hasSyntacticModifiers:()=>tTe,hasTSFileExtension:()=>E5,hasTabstop:()=>KTe,hasTrailingDirectorySeparator:()=>nv,hasType:()=>UB,hasTypeArguments:()=>gXe,hasZeroOrOneAsteriskCharacter:()=>Zee,helperString:()=>Xte,hostGetCanonicalFileName:()=>Ub,hostUsesCaseSensitiveFileNames:()=>p5,idText:()=>ai,identifierIsThisKeyword:()=>Pee,identifierToKeywordKind:()=>Lb,identity:()=>Zc,identitySourceMapConsumer:()=>GU,ignoreSourceNewlines:()=>Gte,ignoredPaths:()=>KI,importDefaultHelper:()=>DJ,importFromModuleSpecifier:()=>G7,importNameElisionDisabled:()=>jj,importStarHelper:()=>G5,indexOfAnyCharCode:()=>_r,indexOfNode:()=>A6,indicesOf:()=>Vi,inferredTypesContainingFile:()=>gz,insertImports:()=>iV,insertLeadingStatement:()=>KQe,insertSorted:()=>la,insertStatementAfterCustomPrologue:()=>dT,insertStatementAfterStandardPrologue:()=>eXe,insertStatementsAfterCustomPrologue:()=>PK,insertStatementsAfterStandardPrologue:()=>Wh,intersperse:()=>vt,introducesArgumentsExoticObject:()=>_2e,inverseJsxOptionMap:()=>hD,isAbstractConstructorSymbol:()=>vTe,isAbstractModifier:()=>VSe,isAccessExpression:()=>$c,isAccessibilityModifier:()=>Cae,isAccessor:()=>Mb,isAccessorModifier:()=>qSe,isAliasSymbolDeclaration:()=>yXe,isAliasableExpression:()=>n5,isAmbientModule:()=>Af,isAmbientPropertyDeclaration:()=>jK,isAnonymousFunctionDefinition:()=>vP,isAnyDirectorySeparator:()=>OZ,isAnyImportOrBareOrAccessedRequire:()=>t2e,isAnyImportOrReExport:()=>P7,isAnyImportSyntax:()=>vx,isAnySupportedFileExtension:()=>oQe,isApplicableVersionedTypesKey:()=>UO,isArgumentExpressionOfElementAccess:()=>fae,isArray:()=>pa,isArrayBindingElement:()=>RB,isArrayBindingOrAssignmentElement:()=>b7,isArrayBindingOrAssignmentPattern:()=>pK,isArrayBindingPattern:()=>m4,isArrayLiteralExpression:()=>Nf,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>u1,isArrayTypeNode:()=>nre,isArrowFunction:()=>Ac,isAsExpression:()=>tO,isAssertClause:()=>$J,isAssertEntry:()=>KSe,isAssertionExpression:()=>mx,isAssertionKey:()=>hbe,isAssertsKeyword:()=>USe,isAssignmentDeclaration:()=>dP,isAssignmentExpression:()=>Xf,isAssignmentOperator:()=>Z0,isAssignmentPattern:()=>tP,isAssignmentTarget:()=>Rg,isAsteriskToken:()=>Y5,isAsyncFunction:()=>W6,isAsyncModifier:()=>YP,isAutoAccessorPropertyDeclaration:()=>op,isAwaitExpression:()=>g4,isAwaitKeyword:()=>rre,isBigIntLiteral:()=>MJ,isBinaryExpression:()=>$n,isBinaryOperatorToken:()=>Cxe,isBindableObjectDefinePropertyCall:()=>MC,isBindableStaticAccessExpression:()=>kx,isBindableStaticElementAccessExpression:()=>yj,isBindableStaticNameExpression:()=>FC,isBindingElement:()=>qo,isBindingElementOfBareOrAccessedRequire:()=>b2e,isBindingName:()=>Og,isBindingOrAssignmentElement:()=>Tbe,isBindingOrAssignmentPattern:()=>y7,isBindingPattern:()=>xa,isBlock:()=>Fa,isBlockOrCatchScoped:()=>OK,isBlockScope:()=>JK,isBlockScopedContainerTopLevel:()=>e2e,isBooleanLiteral:()=>gbe,isBreakOrContinueStatement:()=>ZA,isBreakStatement:()=>JQe,isBuildInfoFile:()=>Bwe,isBuilderProgram:()=>AEe,isBundle:()=>fre,isBundleFileTextLike:()=>STe,isCallChain:()=>_x,isCallExpression:()=>Da,isCallExpressionTarget:()=>aae,isCallLikeExpression:()=>NC,isCallOrNewExpression:()=>Oy,isCallOrNewExpressionTarget:()=>oae,isCallSignatureDeclaration:()=>f4,isCallToHelper:()=>QP,isCaseBlock:()=>sO,isCaseClause:()=>cD,isCaseKeyword:()=>WSe,isCaseOrDefaultClause:()=>vK,isCatchClause:()=>v4,isCatchClauseVariableDeclaration:()=>ZTe,isCatchClauseVariableDeclarationOrBindingElement:()=>LK,isCheckJsEnabledForFile:()=>I5,isChildOfNodeWithKind:()=>GK,isCircularBuildOrder:()=>Cw,isClassDeclaration:()=>vu,isClassElement:()=>Eu,isClassExpression:()=>If,isClassLike:()=>Ri,isClassMemberModifier:()=>uK,isClassOrTypeElement:()=>FB,isClassStaticBlockDeclaration:()=>fl,isCollapsedRange:()=>MXe,isColonToken:()=>BSe,isCommaExpression:()=>fO,isCommaListExpression:()=>sD,isCommaSequence:()=>pD,isCommaToken:()=>RSe,isComment:()=>Hz,isCommonJsExportPropertyAssignment:()=>ij,isCommonJsExportedExpression:()=>u2e,isCompoundAssignment:()=>XO,isComputedNonLiteralName:()=>D7,isComputedPropertyName:()=>ac,isConciseBody:()=>jB,isConditionalExpression:()=>y4,isConditionalTypeNode:()=>p4,isConstTypeReference:()=>Iy,isConstructSignatureDeclaration:()=>K5,isConstructorDeclaration:()=>Al,isConstructorTypeNode:()=>eD,isContextualKeyword:()=>Sj,isContinueStatement:()=>jQe,isCustomPrologue:()=>ej,isDebuggerStatement:()=>UQe,isDeclaration:()=>lf,isDeclarationBindingElement:()=>g7,isDeclarationFileName:()=>s_,isDeclarationName:()=>By,isDeclarationNameOfEnumOrNamespace:()=>b5,isDeclarationReadonly:()=>KB,isDeclarationStatement:()=>Nbe,isDeclarationWithTypeParameterChildren:()=>zK,isDeclarationWithTypeParameters:()=>UK,isDecorator:()=>Df,isDecoratorTarget:()=>w6e,isDefaultClause:()=>oO,isDefaultImport:()=>RC,isDefaultModifier:()=>JSe,isDefaultedExpandoInitializer:()=>S2e,isDeleteExpression:()=>XSe,isDeleteTarget:()=>uee,isDeprecatedDeclaration:()=>vV,isDestructuringAssignment:()=>K0,isDiagnosticWithLocation:()=>Zae,isDiskPathRoot:()=>dGe,isDoStatement:()=>RQe,isDotDotDotToken:()=>FJ,isDottedName:()=>wP,isDynamicName:()=>Cj,isESSymbolIdentifier:()=>SXe,isEffectiveExternalModule:()=>OC,isEffectiveModuleDeclaration:()=>Kbe,isEffectiveStrictModeSourceFile:()=>BK,isElementAccessChain:()=>rK,isElementAccessExpression:()=>qc,isEmittedFileOfProgram:()=>Qwe,isEmptyArrayLiteral:()=>uTe,isEmptyBindingElement:()=>Xve,isEmptyBindingPattern:()=>Gve,isEmptyObjectLiteral:()=>Ree,isEmptyStatement:()=>ore,isEmptyStringLiteral:()=>ZK,isEndOfDeclarationMarker:()=>$Qe,isEntityName:()=>ap,isEntityNameExpression:()=>El,isEnumConst:()=>yT,isEnumDeclaration:()=>Gb,isEnumMember:()=>LT,isEqualityOperatorKind:()=>cV,isEqualsGreaterThanToken:()=>jSe,isExclamationToken:()=>Z5,isExcludedFile:()=>Ake,isExclusivelyTypeOnlyImportOrExport:()=>Iie,isExportAssignment:()=>Tl,isExportDeclaration:()=>Uu,isExportModifier:()=>BJ,isExportName:()=>YJ,isExportNamespaceAsDefaultDeclaration:()=>GB,isExportOrDefaultModifier:()=>Ire,isExportSpecifier:()=>i_,isExportsIdentifier:()=>xx,isExportsOrModuleExportsOrAlias:()=>RT,isExpression:()=>Dt,isExpressionNode:()=>Fy,isExpressionOfExternalModuleImportEqualsDeclaration:()=>D6e,isExpressionOfOptionalChainRoot:()=>IB,isExpressionStatement:()=>Gu,isExpressionWithTypeArguments:()=>n1,isExpressionWithTypeArgumentsInClassExtendsClause:()=>h5,isExternalModule:()=>Fl,isExternalModuleAugmentation:()=>hT,isExternalModuleImportEqualsDeclaration:()=>Rb,isExternalModuleIndicator:()=>T7,isExternalModuleNameRelative:()=>wu,isExternalModuleReference:()=>ng,isExternalModuleSymbol:()=>A9,isExternalOrCommonJsModule:()=>lp,isFileLevelUniqueName:()=>WB,isFileProbablyExternalModule:()=>gO,isFirstDeclarationOfSymbolParameter:()=>Rae,isFixablePromiseHandler:()=>Coe,isForInOrOfStatement:()=>k6,isForInStatement:()=>cre,isForInitializer:()=>Zm,isForOfStatement:()=>rO,isForStatement:()=>Rx,isFunctionBlock:()=>Tx,isFunctionBody:()=>mK,isFunctionDeclaration:()=>ru,isFunctionExpression:()=>yc,isFunctionExpressionOrArrowFunction:()=>n4,isFunctionLike:()=>Sa,isFunctionLikeDeclaration:()=>Lc,isFunctionLikeKind:()=>DC,isFunctionLikeOrClassStaticBlockDeclaration:()=>T6,isFunctionOrConstructorTypeNode:()=>bbe,isFunctionOrModuleBlock:()=>fK,isFunctionSymbol:()=>k2e,isFunctionTypeNode:()=>Vg,isFutureReservedKeyword:()=>vXe,isGeneratedIdentifier:()=>al,isGeneratedPrivateIdentifier:()=>PC,isGetAccessor:()=>_v,isGetAccessorDeclaration:()=>Hd,isGetOrSetAccessorDeclaration:()=>DB,isGlobalDeclaration:()=>Jrt,isGlobalScopeAugmentation:()=>Km,isGrammarError:()=>qbe,isHeritageClause:()=>J_,isHoistedFunction:()=>tj,isHoistedVariableStatement:()=>rj,isIdentifier:()=>Ye,isIdentifierANonContextualKeyword:()=>xj,isIdentifierName:()=>L2e,isIdentifierOrThisTypeNode:()=>Txe,isIdentifierPart:()=>Ob,isIdentifierStart:()=>Ig,isIdentifierText:()=>Bd,isIdentifierTypePredicate:()=>p2e,isIdentifierTypeReference:()=>HTe,isIfStatement:()=>Fx,isIgnoredFileFromWildCardWatching:()=>az,isImplicitGlob:()=>ete,isImportCall:()=>up,isImportClause:()=>rg,isImportDeclaration:()=>Nu,isImportEqualsDeclaration:()=>Xu,isImportKeyword:()=>KP,isImportMeta:()=>I6,isImportOrExportSpecifier:()=>AC,isImportOrExportSpecifierName:()=>u4e,isImportSpecifier:()=>S_,isImportTypeAssertionContainer:()=>ZSe,isImportTypeNode:()=>zy,isImportableFile:()=>ooe,isInComment:()=>l1,isInExpressionContext:()=>_j,isInJSDoc:()=>R7,isInJSFile:()=>Mn,isInJSXText:()=>U6e,isInJsonFile:()=>dj,isInNonReferenceComment:()=>X6e,isInReferenceComment:()=>G6e,isInRightSideOfInternalImportEqualsDeclaration:()=>Lz,isInString:()=>rk,isInTemplateString:()=>bae,isInTopLevelContext:()=>cj,isIncrementalCompilation:()=>x5,isIndexSignatureDeclaration:()=>iw,isIndexedAccessTypeNode:()=>cw,isInferTypeNode:()=>d4,isInfinityOrNaNString:()=>$P,isInitializedProperty:()=>QO,isInitializedVariable:()=>Uee,isInsideJsxElement:()=>qz,isInsideJsxElementOrAttribute:()=>J6e,isInsideNodeModules:()=>S4e,isInsideTemplateLiteral:()=>w9,isInstantiatedModule:()=>Bne,isInterfaceDeclaration:()=>Yf,isInternalDeclaration:()=>fie,isInternalModuleImportEqualsDeclaration:()=>F6,isInternalName:()=>wre,isIntersectionTypeNode:()=>eO,isIntrinsicJsxName:()=>bP,isIterationStatement:()=>fv,isJSDoc:()=>ig,isJSDocAllType:()=>ixe,isJSDocAugmentsTag:()=>S4,isJSDocAuthorTag:()=>HQe,isJSDocCallbackTag:()=>pre,isJSDocClassTag:()=>axe,isJSDocCommentContainingNode:()=>bK,isJSDocConstructSignature:()=>J6,isJSDocDeprecatedTag:()=>yre,isJSDocEnumTag:()=>cO,isJSDocFunctionType:()=>T4,isJSDocImplementsTag:()=>bre,isJSDocIndexSignature:()=>mj,isJSDocLikeText:()=>Lre,isJSDocLink:()=>rxe,isJSDocLinkCode:()=>nxe,isJSDocLinkLike:()=>IC,isJSDocLinkPlain:()=>qQe,isJSDocMemberName:()=>Xb,isJSDocNameReference:()=>lD,isJSDocNamepathType:()=>WQe,isJSDocNamespaceBody:()=>qGe,isJSDocNode:()=>C6,isJSDocNonNullableType:()=>qJ,isJSDocNullableType:()=>b4,isJSDocOptionalParameter:()=>M5,isJSDocOptionalType:()=>_re,isJSDocOverloadTag:()=>fD,isJSDocOverrideTag:()=>HJ,isJSDocParameterTag:()=>ch,isJSDocPrivateTag:()=>mre,isJSDocPropertyLikeTag:()=>LB,isJSDocPropertyTag:()=>cxe,isJSDocProtectedTag:()=>hre,isJSDocPublicTag:()=>dre,isJSDocReadonlyTag:()=>gre,isJSDocReturnTag:()=>GJ,isJSDocSatisfiesExpression:()=>gte,isJSDocSatisfiesTag:()=>XJ,isJSDocSeeTag:()=>GQe,isJSDocSignature:()=>MT,isJSDocTag:()=>nP,isJSDocTemplateTag:()=>xm,isJSDocThisTag:()=>oxe,isJSDocThrowsTag:()=>QQe,isJSDocTypeAlias:()=>gd,isJSDocTypeAssertion:()=>dD,isJSDocTypeExpression:()=>Jx,isJSDocTypeLiteral:()=>uD,isJSDocTypeTag:()=>_D,isJSDocTypedefTag:()=>vre,isJSDocUnknownTag:()=>XQe,isJSDocUnknownType:()=>sxe,isJSDocVariadicType:()=>WJ,isJSXTagName:()=>_P,isJsonEqual:()=>ute,isJsonSourceFile:()=>hd,isJsxAttribute:()=>oh,isJsxAttributeLike:()=>JB,isJsxAttributes:()=>OT,isJsxChild:()=>k7,isJsxClosingElement:()=>pw,isJsxClosingFragment:()=>exe,isJsxElement:()=>s1,isJsxExpression:()=>oD,isJsxFragment:()=>dw,isJsxOpeningElement:()=>Wg,isJsxOpeningFragment:()=>mw,isJsxOpeningLikeElement:()=>Hf,isJsxOpeningLikeElementTagName:()=>E6e,isJsxSelfClosingElement:()=>_w,isJsxSpreadAttribute:()=>Bx,isJsxTagNameExpression:()=>rP,isJsxText:()=>tw,isJumpStatementTarget:()=>v9,isKeyword:()=>b_,isKnownSymbol:()=>a5,isLabelName:()=>lae,isLabelOfLabeledStatement:()=>cae,isLabeledStatement:()=>IT,isLateVisibilityPaintedStatement:()=>QB,isLeftHandSideExpression:()=>g_,isLeftHandSideOfAssignment:()=>NXe,isLet:()=>lP,isLineBreak:()=>af,isLiteralComputedPropertyDeclarationName:()=>r5,isLiteralExpression:()=>px,isLiteralExpressionOfObject:()=>oK,isLiteralImportTypeNode:()=>Fb,isLiteralKind:()=>KA,isLiteralLikeAccess:()=>gj,isLiteralLikeElementAccess:()=>z7,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>Bz,isLiteralTypeLikeExpression:()=>cYe,isLiteralTypeLiteral:()=>Ebe,isLiteralTypeNode:()=>Hb,isLocalName:()=>kv,isLogicalOperator:()=>oTe,isLogicalOrCoalescingAssignmentExpression:()=>Lee,isLogicalOrCoalescingAssignmentOperator:()=>CP,isLogicalOrCoalescingBinaryExpression:()=>m5,isLogicalOrCoalescingBinaryOperator:()=>d5,isMappedTypeNode:()=>nD,isMemberName:()=>Ny,isMergeDeclarationMarker:()=>VQe,isMetaProperty:()=>iD,isMethodDeclaration:()=>zl,isMethodOrAccessor:()=>S6,isMethodSignature:()=>zg,isMinusToken:()=>tre,isMissingDeclaration:()=>zQe,isModifier:()=>ja,isModifierKind:()=>G0,isModifierLike:()=>Bc,isModuleAugmentationExternal:()=>FK,isModuleBlock:()=>ah,isModuleBody:()=>Dbe,isModuleDeclaration:()=>Pl,isModuleExportsAccessExpression:()=>Fg,isModuleIdentifier:()=>iee,isModuleName:()=>kxe,isModuleOrEnumDeclaration:()=>S7,isModuleReference:()=>Obe,isModuleSpecifierLike:()=>rV,isModuleWithStringLiteralName:()=>XB,isNameOfFunctionDeclaration:()=>pae,isNameOfModuleDeclaration:()=>_ae,isNamedClassElement:()=>vbe,isNamedDeclaration:()=>of,isNamedEvaluation:()=>Kp,isNamedEvaluationSource:()=>pee,isNamedExportBindings:()=>iK,isNamedExports:()=>Xd,isNamedImportBindings:()=>hK,isNamedImports:()=>i1,isNamedImportsOrExports:()=>Wee,isNamedTupleMember:()=>rD,isNamespaceBody:()=>$Ge,isNamespaceExport:()=>qg,isNamespaceExportDeclaration:()=>aO,isNamespaceImport:()=>xv,isNamespaceReexportDeclaration:()=>v2e,isNewExpression:()=>NT,isNewExpressionTarget:()=>MD,isNightly:()=>f5,isNoSubstitutionTemplateLiteral:()=>rw,isNode:()=>UGe,isNodeArray:()=>_T,isNodeArrayMultiLine:()=>hTe,isNodeDescendantOf:()=>wx,isNodeKind:()=>h7,isNodeLikeSystem:()=>bY,isNodeModulesDirectory:()=>yB,isNodeWithPossibleHoistedDeclaration:()=>D2e,isNonContextualKeyword:()=>F2e,isNonExportDefaultModifier:()=>wYe,isNonGlobalAmbientModule:()=>MK,isNonGlobalDeclaration:()=>D4e,isNonNullAccess:()=>eSe,isNonNullChain:()=>OB,isNonNullExpression:()=>uw,isNonStaticMethodOrAccessorWithPrivateName:()=>iwe,isNotEmittedOrPartiallyEmittedNode:()=>VGe,isNotEmittedStatement:()=>ure,isNullishCoalesce:()=>nK,isNumber:()=>z0,isNumericLiteral:()=>Td,isNumericLiteralName:()=>Ug,isObjectBindingElementWithoutPropertyName:()=>N9,isObjectBindingOrAssignmentElement:()=>v7,isObjectBindingOrAssignmentPattern:()=>_K,isObjectBindingPattern:()=>tg,isObjectLiteralElement:()=>TK,isObjectLiteralElementLike:()=>X0,isObjectLiteralExpression:()=>cc,isObjectLiteralMethod:()=>Ud,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>sj,isObjectTypeDeclaration:()=>WC,isOctalDigit:()=>zZ,isOmittedExpression:()=>yu,isOptionalChain:()=>cf,isOptionalChainRoot:()=>QA,isOptionalDeclaration:()=>hte,isOptionalJSDocPropertyLikeTag:()=>L5,isOptionalTypeNode:()=>ire,isOuterExpression:()=>KJ,isOutermostOptionalChain:()=>YA,isOverrideModifier:()=>$Se,isPackedArrayLiteral:()=>_te,isParameter:()=>ua,isParameterDeclaration:()=>Ex,isParameterOrCatchClauseVariable:()=>pte,isParameterPropertyDeclaration:()=>sp,isParameterPropertyModifier:()=>eP,isParenthesizedExpression:()=>j_,isParenthesizedTypeNode:()=>aw,isParseTreeNode:()=>HA,isPartOfTypeNode:()=>Mg,isPartOfTypeQuery:()=>pj,isPartiallyEmittedExpression:()=>VJ,isPatternMatch:()=>qR,isPinnedComment:()=>HB,isPlainJsFile:()=>qB,isPlusToken:()=>ere,isPossiblyTypeArgumentPosition:()=>C9,isPostfixUnaryExpression:()=>are,isPrefixUnaryExpression:()=>Sv,isPrivateIdentifier:()=>as,isPrivateIdentifierClassElementDeclaration:()=>Wf,isPrivateIdentifierPropertyAccessExpression:()=>b6,isPrivateIdentifierSymbol:()=>R2e,isProgramBundleEmitBuildInfo:()=>hEe,isProgramUptoDate:()=>Mie,isPrologueDirective:()=>vm,isPropertyAccessChain:()=>NB,isPropertyAccessEntityNameExpression:()=>g5,isPropertyAccessExpression:()=>oi,isPropertyAccessOrQualifiedName:()=>xbe,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>Sbe,isPropertyAssignment:()=>Iu,isPropertyDeclaration:()=>Pa,isPropertyName:()=>rl,isPropertyNameLiteral:()=>zd,isPropertySignature:()=>Np,isProtoSetter:()=>B2e,isPrototypeAccess:()=>zb,isPrototypePropertyAssignment:()=>q7,isPunctuation:()=>W6e,isPushOrUnshiftIdentifier:()=>dee,isQualifiedName:()=>T_,isQuestionDotToken:()=>RJ,isQuestionOrExclamationToken:()=>bxe,isQuestionOrPlusOrMinusToken:()=>xxe,isQuestionToken:()=>Tv,isRawSourceMap:()=>QCe,isReadonlyKeyword:()=>zSe,isReadonlyKeywordOrPlusOrMinusToken:()=>Sxe,isRecognizedTripleSlashComment:()=>DK,isReferenceFileLocation:()=>M4,isReferencedFile:()=>Yb,isRegularExpressionLiteral:()=>Zte,isRequireCall:()=>v_,isRequireVariableStatement:()=>ree,isRestParameter:()=>Lg,isRestTypeNode:()=>sre,isReturnStatement:()=>Sm,isReturnStatementWithFixablePromiseHandler:()=>OV,isRightSideOfAccessExpression:()=>cTe,isRightSideOfPropertyAccess:()=>J4,isRightSideOfQualifiedName:()=>P6e,isRightSideOfQualifiedNameOrPropertyAccess:()=>EP,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>lTe,isRootedDiskPath:()=>Jh,isSameEntityName:()=>R6,isSatisfiesExpression:()=>MQe,isScopeMarker:()=>Abe,isSemicolonClassElement:()=>QSe,isSetAccessor:()=>Q0,isSetAccessorDeclaration:()=>nd,isShebangTrivia:()=>VZ,isShorthandAmbientModuleSymbol:()=>cP,isShorthandPropertyAssignment:()=>id,isSignedNumericLiteral:()=>kj,isSimpleCopiableExpression:()=>jT,isSimpleInlineableExpression:()=>lh,isSingleOrDoubleQuote:()=>B7,isSourceFile:()=>bs,isSourceFileFromLibrary:()=>HD,isSourceFileJS:()=>Gf,isSourceFileNotJS:()=>fXe,isSourceFileNotJson:()=>eee,isSourceMapping:()=>YCe,isSpecialPropertyDeclaration:()=>x2e,isSpreadAssignment:()=>hw,isSpreadElement:()=>$g,isStatement:()=>Ks,isStatementButNotDeclaration:()=>x7,isStatementOrBlock:()=>Ibe,isStatementWithLocals:()=>$be,isStatic:()=>ba,isStaticModifier:()=>nw,isString:()=>ha,isStringAKeyword:()=>bXe,isStringANonContextualKeyword:()=>JC,isStringAndEmptyAnonymousObjectIntersection:()=>q6e,isStringDoubleQuoted:()=>hj,isStringLiteral:()=>yo,isStringLiteralLike:()=>sc,isStringLiteralOrJsxExpression:()=>Lbe,isStringLiteralOrTemplate:()=>h4e,isStringOrNumericLiteralLike:()=>Zp,isStringOrRegularExpressionOrTemplateLiteral:()=>kae,isStringTextContainingNode:()=>lK,isSuperCall:()=>N6,isSuperKeyword:()=>ZP,isSuperOrSuperProperty:()=>uXe,isSuperProperty:()=>n_,isSupportedSourceFileName:()=>zTe,isSwitchStatement:()=>nO,isSyntaxList:()=>x4,isSyntheticExpression:()=>FQe,isSyntheticReference:()=>fw,isTagName:()=>uae,isTaggedTemplateExpression:()=>Mx,isTaggedTemplateTag:()=>C6e,isTemplateExpression:()=>UJ,isTemplateHead:()=>u4,isTemplateLiteral:()=>x6,isTemplateLiteralKind:()=>uv,isTemplateLiteralToken:()=>dbe,isTemplateLiteralTypeNode:()=>LQe,isTemplateLiteralTypeSpan:()=>HSe,isTemplateMiddle:()=>FSe,isTemplateMiddleOrTemplateTail:()=>MB,isTemplateSpan:()=>aD,isTemplateTail:()=>Kte,isTextWhiteSpaceLike:()=>t4e,isThis:()=>U4,isThisContainerOrFunctionBlock:()=>h2e,isThisIdentifier:()=>Px,isThisInTypeQuery:()=>VC,isThisInitializedDeclaration:()=>lj,isThisInitializedObjectBindingExpression:()=>y2e,isThisProperty:()=>L7,isThisTypeNode:()=>JJ,isThisTypeParameter:()=>qP,isThisTypePredicate:()=>cXe,isThrowStatement:()=>lre,isToken:()=>EC,isTokenKind:()=>aK,isTraceEnabled:()=>Ev,isTransientSymbol:()=>qh,isTrivia:()=>q6,isTryStatement:()=>iO,isTupleTypeNode:()=>_4,isTypeAlias:()=>Q7,isTypeAliasDeclaration:()=>sh,isTypeAssertionExpression:()=>GSe,isTypeDeclaration:()=>i4,isTypeElement:()=>dx,isTypeKeyword:()=>JD,isTypeKeywordToken:()=>Pae,isTypeKeywordTokenOrIdentifier:()=>Qz,isTypeLiteralNode:()=>_p,isTypeNode:()=>ps,isTypeNodeKind:()=>qee,isTypeOfExpression:()=>h4,isTypeOnlyExportDeclaration:()=>mbe,isTypeOnlyImportDeclaration:()=>cK,isTypeOnlyImportOrExportDeclaration:()=>pT,isTypeOperatorNode:()=>ow,isTypeParameterDeclaration:()=>bl,isTypePredicateNode:()=>jJ,isTypeQueryNode:()=>tD,isTypeReferenceNode:()=>Gd,isTypeReferenceType:()=>zB,isUMDExportSymbol:()=>Mj,isUnaryExpression:()=>dK,isUnaryExpressionWithWrite:()=>wbe,isUnicodeIdentifierStart:()=>vB,isUnionTypeNode:()=>sw,isUnparsedNode:()=>sK,isUnparsedPrepend:()=>txe,isUnparsedSource:()=>jx,isUnparsedTextLike:()=>pbe,isUrl:()=>Sve,isValidBigIntString:()=>Xj,isValidESSymbolDeclaration:()=>f2e,isValidTypeOnlyAliasUseSite:()=>YC,isValueSignatureDeclaration:()=>N2e,isVarConst:()=>My,isVariableDeclaration:()=>xs,isVariableDeclarationInVariableStatement:()=>nj,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>bT,isVariableDeclarationInitializedToRequire:()=>tee,isVariableDeclarationList:()=>Of,isVariableLike:()=>O6,isVariableLikeOrAccessor:()=>l2e,isVariableStatement:()=>Xl,isVoidExpression:()=>lw,isWatchSet:()=>BXe,isWhileStatement:()=>BQe,isWhiteSpaceLike:()=>Dy,isWhiteSpaceSingleLine:()=>zh,isWithStatement:()=>YSe,isWriteAccess:()=>IP,isWriteOnlyAccess:()=>zee,isYieldExpression:()=>zJ,jsxModeNeedsExplicitImport:()=>noe,keywordPart:()=>z_,last:()=>ko,lastOrUndefined:()=>Rc,length:()=>H,libMap:()=>NO,libs:()=>DO,lineBreakPart:()=>q4,linkNamePart:()=>c4e,linkPart:()=>jae,linkTextPart:()=>sV,listFiles:()=>ise,loadModuleFromGlobalCache:()=>yCe,loadWithModeAwareCache:()=>s9,makeIdentifierFromModuleName:()=>Zbe,makeImport:()=>f1,makeImportIfNecessary:()=>K6e,makeStringLiteral:()=>Kz,mangleScopedPackageName:()=>SD,map:()=>qt,mapAllOrFail:()=>Fr,mapDefined:()=>fr,mapDefinedEntries:()=>lr,mapDefinedIterator:()=>ji,mapEntries:()=>or,mapIterator:()=>Ba,mapOneOrMany:()=>C4e,mapToDisplayParts:()=>Nv,matchFiles:()=>nte,matchPatternOrExact:()=>ate,matchedText:()=>U1e,matchesExclude:()=>dU,maybeBind:()=>ho,maybeSetLocalizedDiagnosticMessages:()=>wTe,memoize:()=>h_,memoizeCached:()=>I1e,memoizeOne:()=>Bh,memoizeWeak:()=>xHe,metadataHelper:()=>fJ,min:()=>hY,minAndMax:()=>qTe,missingFileModifiedTime:()=>Ey,modifierToFlag:()=>qC,modifiersToFlags:()=>Qh,moduleOptionDeclaration:()=>ane,moduleResolutionIsEqualTo:()=>zbe,moduleResolutionNameAndModeGetter:()=>LD,moduleResolutionOptionDeclarations:()=>hU,moduleResolutionSupportsPackageJsonExportsAndImports:()=>XC,moduleResolutionUsesNodeModules:()=>Zz,moduleSpecifiers:()=>BT,moveEmitHelpers:()=>ASe,moveRangeEnd:()=>Oj,moveRangePastDecorators:()=>yv,moveRangePastModifiers:()=>rh,moveRangePos:()=>$b,moveSyntheticComments:()=>CSe,mutateMap:()=>Z6,mutateMapSkippingNewValues:()=>jy,needsParentheses:()=>Wae,needsScopeMarker:()=>BB,newCaseClauseTracker:()=>SV,newPrivateEnvironment:()=>owe,noEmitNotification:()=>YO,noEmitSubstitution:()=>ED,noTransformers:()=>mie,noTruncationMaximumTruncationLength:()=>eJ,nodeCanBeDecorated:()=>fj,nodeHasName:()=>p7,nodeIsDecorated:()=>M6,nodeIsMissing:()=>cl,nodeIsPresent:()=>md,nodeIsSynthesized:()=>Mc,nodeModuleNameResolver:()=>rCe,nodeModulesPathPart:()=>a1,nodeNextJsonConfigResolver:()=>nCe,nodeOrChildIsDecorated:()=>F7,nodeOverlapsWithStartEnd:()=>mae,nodePosToString:()=>KGe,nodeSeenTracker:()=>z4,nodeStartsNewLexicalEnvironment:()=>mee,nodeToDisplayParts:()=>Ort,noop:()=>La,noopFileWatcher:()=>R4,noopPush:()=>QR,normalizePath:()=>Co,normalizeSlashes:()=>ju,not:()=>HR,notImplemented:()=>ga,notImplementedResolver:()=>iz,nullNodeConverters:()=>Rte,nullParenthesizerRules:()=>Fte,nullTransformationContext:()=>qy,objectAllocator:()=>Pu,operatorPart:()=>UD,optionDeclarations:()=>Vy,optionMapToObject:()=>Wre,optionsAffectingProgramStructure:()=>une,optionsForBuild:()=>_ne,optionsForWatch:()=>IO,optionsHaveChanges:()=>w6,optionsHaveModuleResolutionChanges:()=>Rbe,or:()=>jh,orderedRemoveItem:()=>$R,orderedRemoveItemAt:()=>Nb,outFile:()=>Ec,packageIdToPackageName:()=>VB,packageIdToString:()=>gx,padLeft:()=>bC,padRight:()=>AHe,paramHelper:()=>_J,parameterIsThisKeyword:()=>kT,parameterNamePart:()=>i4e,parseBaseNodeFactory:()=>jre,parseBigInt:()=>WTe,parseBuildCommand:()=>$Ye,parseCommandLine:()=>VYe,parseCommandLineWorker:()=>zre,parseConfigFileTextToJson:()=>qre,parseConfigFileWithSystem:()=>Stt,parseConfigHostFromCompilerHostLike:()=>pz,parseCustomTypeOption:()=>lU,parseIsolatedEntityName:()=>bw,parseIsolatedJSDocComment:()=>Hxe,parseJSDocTypeExpressionForTests:()=>RYe,parseJsonConfigFileContent:()=>eZe,parseJsonSourceFileConfigFileContent:()=>CO,parseJsonText:()=>bO,parseListTypeOption:()=>ike,parseNodeFactory:()=>sg,parseNodeModuleFromPath:()=>Tne,parsePackageName:()=>Cne,parsePseudoBigInt:()=>JP,parseValidBigInt:()=>fte,patchWriteFileEnsuringDirectory:()=>Tve,pathContainsNodeModules:()=>Tw,pathIsAbsolute:()=>BA,pathIsBareSpecifier:()=>LZ,pathIsRelative:()=>wp,patternText:()=>J1e,perfLogger:()=>Qm,performIncrementalCompilation:()=>ktt,performance:()=>zI,plainJSErrors:()=>yz,positionBelongsToNode:()=>hae,positionIsASICandidate:()=>uV,positionIsSynthesized:()=>nh,positionsAreOnSameLine:()=>vd,preProcessFile:()=>s3e,probablyUsesSemicolons:()=>fV,processCommentPragmas:()=>Rre,processPragmasIntoFields:()=>Bre,processTaggedTemplateExpression:()=>sie,programContainsEsModules:()=>Z6e,programContainsModules:()=>Y6e,projectReferenceIsEqualTo:()=>EK,propKeyHelper:()=>CJ,propertyNamePart:()=>s4e,pseudoBigIntToString:()=>AT,punctuationPart:()=>_f,pushIfUnique:()=>ip,quote:()=>$D,quotePreferenceFromString:()=>Oae,rangeContainsPosition:()=>b9,rangeContainsPositionExclusive:()=>T9,rangeContainsRange:()=>pp,rangeContainsRangeExclusive:()=>N6e,rangeContainsStartEnd:()=>S9,rangeEndIsOnSameLineAsRangeStart:()=>v5,rangeEndPositionsAreOnSameLine:()=>dTe,rangeEquals:()=>uY,rangeIsOnSingleLine:()=>Nx,rangeOfNode:()=>cte,rangeOfTypeParameters:()=>lte,rangeOverlapsWithStartEnd:()=>RD,rangeStartIsOnSameLineAsRangeEnd:()=>mTe,rangeStartPositionsAreOnSameLine:()=>Lj,readBuilderProgram:()=>Az,readConfigFile:()=>SO,readHelper:()=>xJ,readJson:()=>AP,readJsonConfigFile:()=>cke,readJsonOrUndefined:()=>Bee,realizeDiagnostics:()=>Woe,reduceEachLeadingCommentRange:()=>Ave,reduceEachTrailingCommentRange:()=>Pve,reduceLeft:()=>Cf,reduceLeftIterator:()=>et,reducePathComponents:()=>ox,refactor:()=>m8,regExpEscape:()=>tQe,relativeComplement:()=>m_,removeAllComments:()=>z5,removeEmitHelper:()=>DQe,removeExtension:()=>P5,removeFileExtension:()=>B_,removeIgnoredPath:()=>rse,removeMinAndVersionNumbers:()=>j1e,removeOptionality:()=>z6e,removePrefix:()=>LA,removeSuffix:()=>_6,removeTrailingDirectorySeparator:()=>cx,repeatString:()=>P9,replaceElement:()=>_Y,resolutionExtensionIsTSOrJson:()=>D5,resolveConfigFileProjectName:()=>mse,resolveJSModule:()=>Kke,resolveModuleName:()=>vD,resolveModuleNameFromCache:()=>PZe,resolvePackageNameToPackageJson:()=>xZe,resolvePath:()=>iv,resolveProjectReferencePath:()=>OD,resolveTripleslashReference:()=>oz,resolveTypeReferenceDirective:()=>mne,resolvingEmptyArray:()=>Kj,restHelper:()=>vJ,returnFalse:()=>rT,returnNoopFileWatcher:()=>f9,returnTrue:()=>nT,returnUndefined:()=>Pb,returnsPromise:()=>koe,runInitializersHelper:()=>dJ,sameFlatMap:()=>Ln,sameMap:()=>$s,sameMapping:()=>gKe,scanShebangTrivia:()=>$Z,scanTokenAtPosition:()=>a2e,scanner:()=>pf,screenStartingMessageCodes:()=>Ez,semanticDiagnosticsOptionDeclarations:()=>one,serializeCompilerOptions:()=>Gre,server:()=>S6e,servicesVersion:()=>Uoe,setCommentRange:()=>Du,setConfigFileInOptions:()=>Qre,setConstantValue:()=>ESe,setEachParent:()=>r4,setEmitFlags:()=>Pn,setFunctionNameHelper:()=>wJ,setGetSourceFileAsHashVersioned:()=>wz,setIdentifierAutoGenerate:()=>H5,setIdentifierGeneratedImportReference:()=>NSe,setIdentifierTypeArguments:()=>r1,setInternalEmitFlags:()=>V5,setLocalizedDiagnosticMessages:()=>CTe,setModuleDefaultHelper:()=>PJ,setNodeFlags:()=>XTe,setObjectAllocator:()=>kTe,setOriginalNode:()=>di,setParent:()=>go,setParentRecursive:()=>bv,setPrivateIdentifier:()=>Wx,setResolvedModule:()=>Jbe,setResolvedTypeReferenceDirective:()=>Ube,setSnippetElement:()=>Hte,setSourceMapRange:()=>$o,setStackTraceLimit:()=>nGe,setStartsOnNewLine:()=>qte,setSyntheticLeadingComments:()=>DT,setSyntheticTrailingComments:()=>c4,setSys:()=>_Ge,setSysLog:()=>gve,setTextRange:()=>Et,setTextRangeEnd:()=>t4,setTextRangePos:()=>UP,setTextRangePosEnd:()=>Kh,setTextRangePosWidth:()=>zP,setTokenSourceMapRange:()=>kSe,setTypeNode:()=>PSe,setUILocale:()=>F1e,setValueDeclaration:()=>W7,shouldAllowImportingTsExtension:()=>xD,shouldPreserveConstEnums:()=>wT,shouldResolveJsRequire:()=>Uj,shouldUseUriStyleNodeCoreModules:()=>bV,showModuleSpecifier:()=>bTe,signatureHasLiteralTypes:()=>jne,signatureHasRestParameter:()=>ff,signatureToDisplayParts:()=>Jae,single:()=>fY,singleElementArray:()=>ax,singleIterator:()=>fs,singleOrMany:()=>Rh,singleOrUndefined:()=>Fh,skipAlias:()=>fp,skipAssertions:()=>iYe,skipConstraint:()=>Dae,skipOuterExpressions:()=>uf,skipParentheses:()=>xc,skipPartiallyEmittedExpressions:()=>jd,skipTrivia:()=>wo,skipTypeChecking:()=>jP,skipTypeParentheses:()=>lee,skipWhile:()=>q1e,sliceAfter:()=>ote,some:()=>Oe,sort:()=>sx,sortAndDeduplicate:()=>lo,sortAndDeduplicateDiagnostics:()=>g6,sourceFileAffectingCompilerOptions:()=>gU,sourceFileMayBeEmitted:()=>zC,sourceMapCommentRegExp:()=>WU,sourceMapCommentRegExpDontCareLineStart:()=>Gne,spacePart:()=>nl,spanMap:()=>Xs,spreadArrayHelper:()=>kJ,stableSort:()=>U0,startEndContainsRange:()=>dae,startEndOverlapsWithStartEnd:()=>jz,startOnNewLine:()=>Lf,startTracing:()=>fve,startsWith:()=>Qs,startsWithDirectory:()=>BZ,startsWithUnderscore:()=>roe,startsWithUseStrict:()=>pxe,stringContains:()=>nf,stringContainsAt:()=>P4e,stringToToken:()=>ux,stripQuotes:()=>$d,supportedDeclarationExtensions:()=>nJ,supportedJSExtensions:()=>Lte,supportedJSExtensionsFlat:()=>HP,supportedLocaleDirectories:()=>kK,supportedTSExtensions:()=>a4,supportedTSExtensionsFlat:()=>Ote,supportedTSImplementationExtensions:()=>iJ,suppressLeadingAndTrailingTrivia:()=>V_,suppressLeadingTrivia:()=>aV,suppressTrailingTrivia:()=>m4e,symbolEscapedNameNoDefault:()=>tV,symbolName:()=>yl,symbolNameNoDefault:()=>eV,symbolPart:()=>n4e,symbolToDisplayParts:()=>zD,syntaxMayBeASICandidate:()=>aoe,syntaxRequiresTrailingSemicolonOrASI:()=>lV,sys:()=>Bu,sysLog:()=>XI,tagNamesAreEquivalent:()=>Qb,takeWhile:()=>GR,targetOptionDeclaration:()=>LO,templateObjectHelper:()=>SJ,testFormatSettings:()=>k6e,textChangeRangeIsUnchanged:()=>Hve,textChangeRangeNewSpan:()=>WA,textChanges:()=>Jn,textOrKeywordPart:()=>Bae,textPart:()=>Mp,textRangeContainsPositionInclusive:()=>CB,textSpanContainsPosition:()=>WZ,textSpanContainsTextSpan:()=>Vve,textSpanEnd:()=>Wu,textSpanIntersection:()=>Wve,textSpanIntersectsWith:()=>wB,textSpanIntersectsWithPosition:()=>qve,textSpanIntersectsWithTextSpan:()=>PGe,textSpanIsEmpty:()=>zve,textSpanOverlap:()=>$ve,textSpanOverlapsWith:()=>AGe,textSpansEqual:()=>$4,textToKeywordObj:()=>u7,timestamp:()=>Jc,toArray:()=>RI,toBuilderFileEmit:()=>bEe,toBuilderStateFileInfoForMultiEmit:()=>vEe,toEditorSettings:()=>$9,toFileNameLowerCase:()=>Fd,toLowerCase:()=>N1e,toPath:()=>wc,toProgramEmitPending:()=>TEe,tokenIsIdentifierOrKeyword:()=>qf,tokenIsIdentifierOrKeywordOrGreaterThan:()=>wve,tokenToString:()=>qa,trace:()=>Us,tracing:()=>Hi,tracingEnabled:()=>VI,transform:()=>cit,transformClassFields:()=>_we,transformDeclarations:()=>_ie,transformECMAScriptModule:()=>uie,transformES2015:()=>wwe,transformES2016:()=>kwe,transformES2017:()=>hwe,transformES2018:()=>gwe,transformES2019:()=>ywe,transformES2020:()=>vwe,transformES2021:()=>bwe,transformES5:()=>Ewe,transformESDecorators:()=>mwe,transformESNext:()=>Twe,transformGenerators:()=>Awe,transformJsx:()=>Swe,transformLegacyDecorators:()=>dwe,transformModule:()=>lie,transformNodeModule:()=>Nwe,transformNodes:()=>ZO,transformSystemModule:()=>Dwe,transformTypeScript:()=>uwe,transpile:()=>Lnt,transpileModule:()=>m3e,transpileOptionValueCompilerOptions:()=>fne,trimString:()=>sT,trimStringEnd:()=>JI,trimStringStart:()=>MA,tryAddToSet:()=>fi,tryAndIgnoreErrors:()=>mV,tryCast:()=>Pi,tryDirectoryExists:()=>dV,tryExtractTSExtension:()=>Ij,tryFileExists:()=>pV,tryGetClassExtendingExpressionWithTypeArguments:()=>Mee,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>Fee,tryGetDirectories:()=>_V,tryGetExtensionFromPath:()=>Jg,tryGetImportFromModuleSpecifier:()=>X7,tryGetJSDocSatisfiesTypeNode:()=>Zj,tryGetModuleNameFromFile:()=>pO,tryGetModuleSpecifierFromDeclaration:()=>H7,tryGetNativePerformanceHooks:()=>ove,tryGetPropertyAccessOrIdentifierToString:()=>y5,tryGetPropertyNameOfBindingOrAssignmentElement:()=>tU,tryGetSourceMappingURL:()=>XCe,tryGetTextOfPropertyName:()=>YB,tryIOAndConsumeErrors:()=>hV,tryParsePattern:()=>e4,tryParsePatterns:()=>Hj,tryParseRawSourceMap:()=>Wne,tryReadDirectory:()=>Qae,tryReadFile:()=>xO,tryRemoveDirectoryPrefix:()=>Kee,tryRemoveExtension:()=>$Te,tryRemovePrefix:()=>vY,tryRemoveSuffix:()=>B1e,typeAcquisitionDeclarations:()=>vU,typeAliasNamePart:()=>a4e,typeDirectiveIsEqualTo:()=>Vbe,typeKeywords:()=>xV,typeParameterNamePart:()=>o4e,typeReferenceResolutionNameAndModeGetter:()=>o9,typeToDisplayParts:()=>L9,unchangedPollThresholds:()=>ZI,unchangedTextChangeRange:()=>xK,unescapeLeadingUnderscores:()=>Ds,unmangleScopedPackageName:()=>LU,unorderedRemoveItem:()=>jI,unorderedRemoveItemAt:()=>gY,unreachableCodeIsError:()=>OTe,unusedLabelIsError:()=>LTe,unwrapInnermostStatementOfLabel:()=>QK,updateErrorForNoInputFiles:()=>Zre,updateLanguageServiceSourceFile:()=>joe,updateMissingFilePathsWatch:()=>Xwe,updatePackageJsonWatch:()=>$et,updateResolutionField:()=>I4,updateSharedExtendedConfigFileWatcher:()=>Sie,updateSourceFile:()=>Fre,updateWatchingWildcardDirectories:()=>sz,usesExtensionsOnImports:()=>UTe,usingSingleLineStringWriter:()=>sP,utf16EncodeAsString:()=>qA,validateLocaleAndSetLanguage:()=>IGe,valuesHelper:()=>EJ,version:()=>I,versionMajorMinor:()=>P,visitArray:()=>qne,visitCommaListElements:()=>GO,visitEachChild:()=>an,visitFunctionBody:()=>Op,visitIterationBody:()=>Sd,visitLexicalEnvironment:()=>qU,visitNode:()=>yt,visitNodes:()=>hn,visitParameterList:()=>Dl,walkUpBindingElementsAndPatterns:()=>y6,walkUpLexicalEnvironments:()=>awe,walkUpOuterExpressions:()=>dxe,walkUpParenthesizedExpressions:()=>mv,walkUpParenthesizedTypes:()=>e5,walkUpParenthesizedTypesAndGetParentAndChild:()=>O2e,whitespaceOrMapCommentRegExp:()=>HU,writeCommentRange:()=>X6,writeFile:()=>TP,writeFileEnsuringDirectories:()=>Aee,zipToModeAwareCache:()=>bne,zipWith:()=>Ve});var T5e=p({"src/typescript/_namespaces/ts.ts"(){aa(),Oz(),Si(),vW()}}),sgt=y({"src/typescript/typescript.ts"(e,t){T5e(),T5e(),typeof console<"u"&&(R.loggingHost={log(n,s){switch(n){case 1:return console.error(s);case 2:return console.warn(s);case 3:return console.log(s);case 4:return console.log(s)}}}),t.exports=b5e}});return sgt()})();o.exports&&(o.exports=i)}(iRt)),WX}if(typeof Nhe<"u")try{nRt.registerTS(oRt())}catch{}const OBt=Object.freeze(Object.defineProperty({__proto__:null,MagicString:_C,babelParse:c6,compileScript:_He,compileStyle:GWe,compileStyleAsync:XWe,compileTemplate:q0e,extractIdentifiers:Sb,generateCodeFrame:yA,inferRuntimeType:L0,invalidateTypeCache:aHe,isInDestructureAssignment:EA,isStaticProperty:AA,parse:A0e,parseCache:CX,registerTS:sHe,resolveTypeElements:Eh,rewriteDefault:eHe,rewriteDefaultAST:oY,shouldTransformRef:xR,transformRef:ZWe,transformRefAST:pI,version:hHe,walk:gHe,walkIdentifiers:EI},Symbol.toStringTag,{value:"Module"}));export{Cu as $,nBt as A,BUe as B,SRt as C,aBt as D,jUe as E,iBt as F,GRt as G,mRt as H,XRt as I,j4t as J,WRt as K,QRt as L,HRt as M,IG as N,ZUe as O,IRt as P,rze as Q,sBt as R,uRt as S,oze as T,nze as U,MRt as V,YRt as W,wBe as X,eBt as Y,Vf as Z,oBt as _,yUe as a,_C as a$,hRt as a0,G2 as a1,tl as a2,rX as a3,by as a4,Q1 as a5,iEt as a6,xEt as a7,ERt as a8,YX as a9,BRt as aA,kEt as aB,tUe as aC,FRt as aD,ARt as aE,ZEt as aF,bUe as aG,fRt as aH,pRt as aI,fwt as aJ,kRt as aK,VRt as aL,CA as aM,Ywt as aN,zRt as aO,gRt as aP,yRt as aQ,rBt as aR,zE as aS,$Rt as aT,tBt as aU,V4t as aV,ORt as aW,xR as aX,ZWe as aY,OBt as aZ,u6t as a_,QX as aa,KEt as ab,PRt as ac,eze as ad,fEt as ae,bRt as af,xRt as ag,LRt as ah,Gp as ai,URt as aj,dRt as ak,RUe as al,DRt as am,jRt as an,i6 as ao,$N as ap,NRt as aq,TEt as ar,CRt as as,JRt as at,wRt as au,BBe as av,ARe as aw,lRt as ax,mu as ay,RRt as az,hI as b,c6 as b0,Sb as b1,EI as b2,AA as b3,EA as b4,gHe as b5,cBt as b6,Nhe as b7,ec as c,TRt as d,qRt as e,KRt as f,rQ as g,z6t as h,Cp as i,ZRt as j,Wm as k,aQ as l,ky as m,nye as n,FUe as o,tx as p,XX as q,gF as r,wUe as s,Hm as t,iC as u,xwt as v,NG as w,_Rt as x,Zwt as y,vRt as z};